@luigi-project/core 2.21.4-dev.202504280906 → 2.21.4-dev.202504290034
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fd_fiori.css +6 -6
- package/fd_horizon.css +6 -6
- package/luigi.css +7 -7
- package/luigi.js +12 -12
- package/luigi.js.map +1 -1
- package/luigi_core.css +1 -1
- package/luigi_horizon.css +7 -7
- package/luigi_theme_vars.js +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var nk=Object.defineProperty;var ik=(i,e,t)=>e in i?nk(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Fn=(i,e,t)=>ik(i,typeof e!="symbol"?e+"":e,t);function Ue(){}function lk(i,e){for(const t in e)i[t]=e[t];return i}function rk(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function Y_(i){return i()}function jf(){return Object.create(null)}function Qe(i){i.forEach(Y_)}function ki(i){return typeof i=="function"}function Dt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ts;function tt(i,e){return i===e?!0:(ts||(ts=document.createElement("a")),ts.href=e,i===ts.href)}function ak(i){return Object.keys(i).length===0}function zo(i,...e){if(i==null){for(const n of e)n(void 0);return Ue}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function hl(i){let e;return zo(i,t=>e=t)(),e}function Si(i,e,t){i.$$.on_destroy.push(zo(e,t))}function hs(i,e,t,n){if(i){const l=Q_(i,e,t,n);return i[0](l)}}function Q_(i,e,t,n){return i[1]&&n?lk(t.ctx.slice(),i[1](n(e))):t.ctx}function gs(i,e,t,n){return i[2],e.dirty}function _s(i,e,t,n,l,r){if(l){const a=Q_(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 Z_(i){return i&&ki(i.destroy)?i.destroy:Ue}const wl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function w(i,e){i.appendChild(e)}function L(i,e,t){i.insertBefore(e,t||null)}function T(i){i.parentNode&&i.parentNode.removeChild(i)}function ht(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function sk(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Te(i){return document.createTextNode(i)}function W(){return Te(" ")}function we(){return Te("")}function x(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function St(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ot(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 ok(i){return Array.from(i.childNodes)}function Ae(i,e){e=""+e,i.data!==e&&(i.data=e)}function Jf(i,e){i.value=e??""}function ni(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,"")}function Zt(i,e,t){i.classList.toggle(e,!!t)}function uk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(i,{detail:e,bubbles:t,cancelable:n})}class Cr{constructor(e=!1){Fn(this,"is_svg",!1);Fn(this,"e");Fn(this,"n");Fn(this,"t");Fn(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=sk(t.nodeName):this.e=k(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)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}let Xr;function ji(i){Xr=i}function kl(){if(!Xr)throw new Error("Function called outside component initialization");return Xr}function Yn(i){kl().$$.before_update.push(i)}function rn(i){kl().$$.on_mount.push(i)}function ea(i){kl().$$.after_update.push(i)}function ta(i){kl().$$.on_destroy.push(i)}function Xt(){const i=kl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=uk(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Yr(i,e){return kl().$$.context.set(i,e),e}function Pt(i){return kl().$$.context.get(i)}function Ki(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const _r=[],Ye=[];let mr=[];const Fo=[],fk=Promise.resolve();let Uo=!1;function ck(){Uo||(Uo=!0,fk.then(Go))}function Bo(i){mr.push(i)}function Ct(i){Fo.push(i)}const Vo=new Set;let dr=0;function Go(){if(dr!==0)return;const i=Xr;do{try{for(;dr<_r.length;){const e=_r[dr];dr++,ji(e),dk(e.$$)}}catch(e){throw _r.length=0,dr=0,e}for(ji(null),_r.length=0,dr=0;Ye.length;)Ye.pop()();for(let e=0;e<mr.length;e+=1){const t=mr[e];Vo.has(t)||(Vo.add(t),t())}mr.length=0}while(_r.length);for(;Fo.length;)Fo.pop()();Uo=!1,Vo.clear(),ji(i)}function dk(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Bo)}}function hk(i){const e=[],t=[];mr.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),mr=e}const is=new Set;let ql;function be(){ql={r:0,c:[],p:ql}}function ve(){ql.r||Qe(ql.c),ql=ql.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),ql.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&&(be(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),ve())}):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(rk(i)){const l=kl();if(i.then(r=>{ji(l),n(e.then,1,e.value,r),ji(null)},r=>{if(ji(l),n(e.catch,2,e.error,r),ji(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 X_(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 Ve(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function yt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Be(i){i&&i.c()}function Me(i,e,t){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),Bo(()=>{const r=i.$$.on_mount.map(Y_).filter(ki);i.$$.on_destroy?i.$$.on_destroy.push(...r):Qe(r),i.$$.on_mount=[]}),l.forEach(Bo)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(hk(t.after_update),Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function gk(i,e){i.$$.dirty[0]===-1&&(_r.push(i),ck(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Mt(i,e,t,n,l,r,a=null,o=[-1]){const c=Xr;ji(i);const h=i.$$={fragment:null,ctx:[],props:r,update:Ue,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&&gk(i,g)),p}):[],h.update(),d=!0,Qe(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=ok(e.target);h.fragment&&h.fragment.l(g),g.forEach(T)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Me(i,e.target,e.anchor),Go()}ji(c)}class Ft{constructor(){Fn(this,"$$");Fn(this,"$$set")}$destroy(){Fe(this,1),this.$destroy=Ue}$on(e,t){if(!ki(t))return Ue;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&&!ak(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const _k="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(_k);class pk{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),ie.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ie.getConfigValueFromObject(e,t);return ie.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const as=new pk;class mk{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ss=new mk;class bk{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 Jn=new bk;let vk=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()=>{xk.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=bn.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),Ji.getLuigiContainer().appendChild(n)}getConfigValue(e){return ie.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ie.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(ie.isFunction(l))try{return await as.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return wi.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),gn.unload(),Bn.removeAllEventListeners();const e=Ji.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&&ie.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&&ie.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(){Jn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ee.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ee.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ee.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const os=new vk;let wk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&gn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&gn.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:()=>ci.getStorageKey(),getStorageType:()=>ci.getStorageType(),getAuthData:()=>ci.getAuthData(),setAuthData:e=>ci.setAuthData(e),removeAuthData:()=>ci.removeAuthData(),setNewlyAuthorized:()=>{ci.setNewlyAuthorized(),gn.resetExpirationChecks()}}}};const $_=new wk,hn={desktopMinWidth:600},kk=[{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"}],Sk={cssSelector:"[luigi-app-root]"},Ck={cssSelector:"[luigi-app-loading-indicator]"};let yk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(Sk.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ee.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ee.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ee.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const x_=new yk;class Pk{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Ln extends Pk{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=ie.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(ie.isFunction(n)){const l=ie.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(ie.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 Ik{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Ln().navigate(e,t,n,l,r)}navigateToIntent(e,t){return new Ln().navigateToIntent(e,t)}openAsModal(e,t,n){return new Ln().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Ln().openAsSplitView(e,t)}openAsDrawer(e,t){return new Ln().openAsDrawer(e,t)}fromContext(e){return new Ln().fromContext(e)}fromClosestContext(){return new Ln().fromClosestContext()}fromVirtualTreeRoot(){return new Ln().fromVirtualTreeRoot()}fromParent(){return new Ln().fromParent()}getCurrentRoute(){return new Ln().getCurrentRoute()}withParams(e){return new Ln().withParams(e)}pathExists(e){return new Ln().pathExists(e)}hasBack(){return new Ln().hasBack()}goBack(e){return new Ln().goBack(e)}}const ep=new Ik,Nk={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"}}},Tk=Nk;class Lk{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Tk,this.listeners={}}_init(){bn.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(ie.isFunction(e)){const t=ie.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"),ie.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("{"+Sr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const tp=new Lk;class Ak{sendToAll(e){const t=ss.convertCustomMessageUserToInternal(e);Ee.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ee.sendMessageToIframe(n,t))}send(e,t){const n=ss.convertCustomMessageUserToInternal(t);Ee.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ee.sendMessageToIframe(l,n))}}const Ek=new Ak,hr=[];function Rk(i,e){return{subscribe:vr(i,e).subscribe}}function vr(i,e=Ue){let t;const n=new Set;function l(o){if(Dt(i,o)&&(i=o,t)){const c=!hr.length;for(const h of n)h[1](),hr.push(h,i);if(c){for(let h=0;h<hr.length;h+=2)hr[h][0](hr[h+1]);hr.length=0}}}function r(o){l(o(i))}function a(o,c=Ue){const h=[o,c];return n.add(h),n.size===1&&(t=e(l,r)||Ue),o(i),()=>{n.delete(h),n.size===0&&t&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class Dk{initial(){this.responsiveNavSetting=te.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ae.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<hn.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<hn.desktopMinWidth&&this.previousWindowWidth>=hn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>hn.desktopMinWidth&&this.previousWindowWidth>=hn.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(ae.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ae.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 vi=new Dk;let Vk=class{constructor(){this.documentTitle=vr()}hideAppLoadingIndicator(){const e=document.querySelector(Ck.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ie.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(ie.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 hl(this.documentTitle)}collapseLeftSideNav(e){vi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Ln().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const np=new Vk;let Ok=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 ip=new Ok;let Mk=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){ie.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&&$r.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")};bn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const lp=new Mk;let Fk=class{constructor(){this.featureToggleList=vr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||hl(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=hl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}hl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...hl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ie.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return hl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):hl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const rp=new Fk;let Uk=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(!ie.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(!ie.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 ap=new Uk,te=os,wi=$_,Ji=x_,sp=ep,Et=tp,na=np,Bk=ip,Ho=lp,Ko=rp,gl=ap;window.Luigi=os;window.Luigi.auth=()=>$_;window.Luigi.elements=()=>x_;window.Luigi.navigation=()=>ep;window.Luigi.i18n=()=>tp;window.Luigi.customMessages=()=>Ek;window.Luigi.ux=()=>np;window.Luigi.globalSearch=()=>ip;window.Luigi.theming=()=>lp;window.Luigi.featureToggles=()=>rp;window.Luigi.routing=()=>ap;class Hk{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ie.isElementVisible)}setActiveIframeToPrevious(e){const t=Ee.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ee.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!ie.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=ae.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:Et.getCurrentLocale()})};Ee.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=ae.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:Et.getCurrentLocale()})};Ee.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:(Ee.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ae.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||ie.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=Ee.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Ee.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ee.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=Ee.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):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(),Ee.hideElementChildren(n)):Ee.removeElementChildren(n),l.viewUrl){ie.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ee.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ee.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ee.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(N=>{Ee.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:N[I.userSettingsGroup]},internal:Ee.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ee.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ee.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ee.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const fi=new Hk;class Wk{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=ae.getAllViewGroupSettings();if(!l)return;const r=Ee.getIframeContainer(),a=Ee.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=Ee.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const gr=new Wk;class qk{async getNavigationPath(e,t=""){try{const n=ie.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Jn.hasRootNode()&&(l=Jn.getRootNode().node),!l){const g=await e;ie.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),Jn.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(Jn.hasChildren(e)){let r=Jn.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 Jn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Jn.hasChildren(e)?qt.getChildrenFromCache(e):await qt.getChildren(e)}getChildrenFromCache(e){let t=Jn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ae.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=ae.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=Sr.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=ie.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ie.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 ek=Object.defineProperty;var tk=(i,e,t)=>e in i?ek(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Un=(i,e,t)=>tk(i,typeof e!="symbol"?e+"":e,t);function Ue(){}function nk(i,e){for(const t in e)i[t]=e[t];return i}function ik(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function J_(i){return i()}function Jf(){return Object.create(null)}function Qe(i){i.forEach(J_)}function ki(i){return typeof i=="function"}function Dt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ts;function tt(i,e){return i===e?!0:(ts||(ts=document.createElement("a")),ts.href=e,i===ts.href)}function lk(i){return Object.keys(i).length===0}function zo(i,...e){if(i==null){for(const n of e)n(void 0);return Ue}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function hl(i){let e;return zo(i,t=>e=t)(),e}function Si(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?nk(t.ctx.slice(),i[1](n(e))):t.ctx}function gs(i,e,t,n){return i[2],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 Hn(i){return i??""}function Y_(i){return i&&ki(i.destroy)?i.destroy:Ue}const wl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function w(i,e){i.appendChild(e)}function L(i,e,t){i.insertBefore(e,t||null)}function T(i){i.parentNode&&i.parentNode.removeChild(i)}function ht(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function rk(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Te(i){return document.createTextNode(i)}function W(){return Te(" ")}function ke(){return Te("")}function ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function St(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Vt(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 ak(i){return Array.from(i.childNodes)}function Ae(i,e){e=""+e,i.data!==e&&(i.data=e)}function jf(i,e){i.value=e??""}function Bn(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,"")}function Zt(i,e,t){i.classList.toggle(e,!!t)}function sk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){return new CustomEvent(i,{detail:e,bubbles:t,cancelable:n})}class Cr{constructor(e=!1){Un(this,"is_svg",!1);Un(this,"e");Un(this,"n");Un(this,"t");Un(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=rk(t.nodeName):this.e=k(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)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}let Xr;function Ji(i){Xr=i}function kl(){if(!Xr)throw new Error("Function called outside component initialization");return Xr}function Zn(i){kl().$$.before_update.push(i)}function rn(i){kl().$$.on_mount.push(i)}function ea(i){kl().$$.after_update.push(i)}function ta(i){kl().$$.on_destroy.push(i)}function Xt(){const i=kl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=sk(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Yr(i,e){return kl().$$.context.set(i,e),e}function Pt(i){return kl().$$.context.get(i)}function Ki(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const _r=[],Ye=[];let mr=[];const Fo=[],ok=Promise.resolve();let Uo=!1;function uk(){Uo||(Uo=!0,ok.then(Go))}function Bo(i){mr.push(i)}function Ct(i){Fo.push(i)}const Vo=new Set;let dr=0;function Go(){if(dr!==0)return;const i=Xr;do{try{for(;dr<_r.length;){const e=_r[dr];dr++,Ji(e),fk(e.$$)}}catch(e){throw _r.length=0,dr=0,e}for(Ji(null),_r.length=0,dr=0;Ye.length;)Ye.pop()();for(let e=0;e<mr.length;e+=1){const t=mr[e];Vo.has(t)||(Vo.add(t),t())}mr.length=0}while(_r.length);for(;Fo.length;)Fo.pop()();Uo=!1,Vo.clear(),Ji(i)}function fk(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Bo)}}function ck(i){const e=[],t=[];mr.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),mr=e}const is=new Set;let ql;function be(){ql={r:0,c:[],p:ql}}function ve(){ql.r||Qe(ql.c),ql=ql.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),ql.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&&(be(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),ve())}):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(ik(i)){const l=kl();if(i.then(r=>{Ji(l),n(e.then,1,e.value,r),Ji(null)},r=>{if(Ji(l),n(e.catch,2,e.error,r),Ji(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 Q_(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 Ve(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function yt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Be(i){i&&i.c()}function Me(i,e,t){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),Bo(()=>{const r=i.$$.on_mount.map(J_).filter(ki);i.$$.on_destroy?i.$$.on_destroy.push(...r):Qe(r),i.$$.on_mount=[]}),l.forEach(Bo)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(ck(t.after_update),Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function dk(i,e){i.$$.dirty[0]===-1&&(_r.push(i),uk(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Ot(i,e,t,n,l,r,a=null,o=[-1]){const c=Xr;Ji(i);const h=i.$$={fragment:null,ctx:[],props:r,update:Ue,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&&dk(i,g)),p}):[],h.update(),d=!0,Qe(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=ak(e.target);h.fragment&&h.fragment.l(g),g.forEach(T)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Me(i,e.target,e.anchor),Go()}Ji(c)}class Mt{constructor(){Un(this,"$$");Un(this,"$$set")}$destroy(){Fe(this,1),this.$destroy=Ue}$on(e,t){if(!ki(t))return Ue;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&&!lk(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const hk="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(hk);class gk{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),ie.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ie.getConfigValueFromObject(e,t);return ie.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const as=new gk;class _k{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ss=new _k;class pk{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 Qn=new pk;let mk=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()=>{Xk.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=bn.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),ji.getLuigiContainer().appendChild(n)}getConfigValue(e){return ie.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ie.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(ie.isFunction(l))try{return await as.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return wi.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),gn.unload(),Wn.removeAllEventListeners();const e=ji.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&&ie.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&&ie.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(){Qn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ee.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ee.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ee.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const os=new mk;let bk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&gn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&gn.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:()=>di.getStorageKey(),getStorageType:()=>di.getStorageType(),getAuthData:()=>di.getAuthData(),setAuthData:e=>di.setAuthData(e),removeAuthData:()=>di.removeAuthData(),setNewlyAuthorized:()=>{di.setNewlyAuthorized(),gn.resetExpirationChecks()}}}};const Z_=new bk,hn={desktopMinWidth:600},vk=[{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"}],wk={cssSelector:"[luigi-app-root]"},kk={cssSelector:"[luigi-app-loading-indicator]"};let Sk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(wk.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ee.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ee.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ee.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const X_=new Sk;class Ck{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Tn extends Ck{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=ie.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(ie.isFunction(n)){const l=ie.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(ie.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 yk{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 $_=new yk,Pk={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"}}},Ik=Pk;class Nk{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Ik,this.listeners={}}_init(){bn.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(ie.isFunction(e)){const t=ie.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"),ie.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("{"+Sr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const x_=new Nk;class Tk{sendToAll(e){const t=ss.convertCustomMessageUserToInternal(e);Ee.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ee.sendMessageToIframe(n,t))}send(e,t){const n=ss.convertCustomMessageUserToInternal(t);Ee.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ee.sendMessageToIframe(l,n))}}const Lk=new Tk,hr=[];function Ak(i,e){return{subscribe:vr(i,e).subscribe}}function vr(i,e=Ue){let t;const n=new Set;function l(o){if(Dt(i,o)&&(i=o,t)){const c=!hr.length;for(const h of n)h[1](),hr.push(h,i);if(c){for(let h=0;h<hr.length;h+=2)hr[h][0](hr[h+1]);hr.length=0}}}function r(o){l(o(i))}function a(o,c=Ue){const h=[o,c];return n.add(h),n.size===1&&(t=e(l,r)||Ue),o(i),()=>{n.delete(h),n.size===0&&t&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class Ek{initial(){this.responsiveNavSetting=te.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(le.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<hn.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<hn.desktopMinWidth&&this.previousWindowWidth>=hn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>hn.desktopMinWidth&&this.previousWindowWidth>=hn.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(le.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(le.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 vi=new Ek;let Rk=class{constructor(){this.documentTitle=vr()}hideAppLoadingIndicator(){const e=document.querySelector(kk.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ie.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(ie.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 hl(this.documentTitle)}collapseLeftSideNav(e){vi.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 ep=new Rk;let Dk=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 tp=new Dk;let Vk=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){ie.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&&$r.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")};bn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const np=new Vk;let Ok=class{constructor(){this.featureToggleList=vr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||hl(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=hl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}hl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...hl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ie.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return hl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):hl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const ip=new Ok;let Mk=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(!ie.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(!ie.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 lp=new Mk,te=os,wi=Z_,ji=X_,rp=$_,Et=x_,na=ep,Fk=tp,Ho=np,Ko=ip,gl=lp;window.Luigi=os;window.Luigi.auth=()=>Z_;window.Luigi.elements=()=>X_;window.Luigi.navigation=()=>$_;window.Luigi.i18n=()=>x_;window.Luigi.customMessages=()=>Lk;window.Luigi.ux=()=>ep;window.Luigi.globalSearch=()=>tp;window.Luigi.theming=()=>np;window.Luigi.featureToggles=()=>ip;window.Luigi.routing=()=>lp;class Uk{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ie.isElementVisible)}setActiveIframeToPrevious(e){const t=Ee.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ee.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!ie.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=le.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:Et.getCurrentLocale()})};Ee.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=le.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:Et.getCurrentLocale()})};Ee.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:(Ee.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):le.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||ie.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=Ee.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Ee.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ee.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=Ee.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):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(),Ee.hideElementChildren(n)):Ee.removeElementChildren(n),l.viewUrl){ie.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ee.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ee.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ee.getVisibleIframes().forEach(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(I=>{Ee.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:I[N.userSettingsGroup]},internal:Ee.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Ee.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:Ee.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)}))}),Ee.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const ci=new Uk;class Bk{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=le.getAllViewGroupSettings();if(!l)return;const r=Ee.getIframeContainer(),a=Ee.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=Ee.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const gr=new Bk;class Hk{async getNavigationPath(e,t=""){try{const n=ie.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Qn.hasRootNode()&&(l=Qn.getRootNode().node),!l){const g=await e;ie.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),Qn.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(Qn.hasChildren(e)){let r=Qn.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 Qn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Qn.hasChildren(e)?qt.getChildrenFromCache(e):await qt.getChildren(e)}getChildrenFromCache(e){let t=Qn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>le.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=le.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=Sr.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=ie.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ie.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(
|
|
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(Qn.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)?le.groupNodesBy(n,"category",!0):{children:le.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,le.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&&le.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:le.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&&(ie.isFunction(e.onNodeActivation)||ie.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const qt=new Hk,ml={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},Wk={externalLink:{sameWindow:!1}};class wr{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 qk extends wr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=ap({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 zk extends wr{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,31 +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
|
|
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 ap=i=>{const e=i.use;if(e){if(e==="grid")return new zk(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new qk(i)}else return new wr(i);return new wr(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]})},Gk=i=>Object.entries(i).reduce((e,t)=>(e[Qf(t[0])]=Qf(t[1]),e),{}),Qf=(i="")=>String(i).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/"),Kk="500px",Jk="0px";class jk{constructor(){Un(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?Gk(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=le.findViewGroup(n._luigi_node);if(p){const b=le.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");ie.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)||Kk;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 wr,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=ap(e.compound.renderer):l=new wr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||Jk})}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 zl=new jk;var Qr=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
|
-
*/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,I=8,N=16,V=32,E=64,H=128,D=256,O=512,G=30,J="...",Q=800,ce=16,Y=1,ee=2,q=3,le=1/0,ue=9007199254740991,ne=17976931348623157e292,Pe=NaN,se=4294967295,re=se-1,ke=se>>>1,je=[["ary",H],["bind",C],["bindKey",y],["curry",I],["curryRight",N],["flip",O],["partial",V],["partialRight",E],["rearg",D]],ye="[object Arguments]",Le="[object Array]",ze="[object AsyncFunction]",Xe="[object Boolean]",De="[object Date]",nt="[object DOMException]",lt="[object Error]",gt="[object Function]",ge="[object GeneratorFunction]",Ze="[object Map]",Ht="[object Number]",En="[object Null]",on="[object Object]",an="[object Promise]",Ie="[object Proxy]",ut="[object RegExp]",rt="[object Set]",un="[object String]",Gt="[object Symbol]",Hn="[object Undefined]",Kt="[object WeakMap]",jt="[object WeakSet]",li="[object ArrayBuffer]",$t="[object DataView]",vn="[object Float32Array]",Ci="[object Float64Array]",yi="[object Int8Array]",wn="[object Int16Array]",Pi="[object Int32Array]",Ii="[object Uint8Array]",Ni="[object Uint8ClampedArray]",Ti="[object Uint16Array]",Li="[object Uint32Array]",Sl=/\b__p \+= '';/g,Cl=/\b(__p \+=) '' \+/g,yl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ai=/&(?:amp|lt|gt|quot|#39);/g,Yi=/[&<>"']/g,Qi=RegExp(Ai.source),di=RegExp(Yi.source),Pl=/<%-([\s\S]+?)%>/g,Il=/<%([\s\S]+?)%>/g,Zi=/<%=([\s\S]+?)%>/g,Nl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tl=/^\w*$/,Ll=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ei=/[\\^$.*+?()[\]{}|]/g,Al=RegExp(Ei.source),ri=/^\s+/,Ri=/\s/,hi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Di=/\{\n\/\* \[wrapped with (.+)\] \*/,gi=/,? & /,Xi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$i=/[()=,{}\[\]\/\s]/,K=/\\(\\)?/g,Se=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Je=/\w*$/,it=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,pt=/^\[object .+?Constructor\]$/,Wt=/^0o[0-7]+$/i,zt=/^(?:0|[1-9]\d*)$/,Rn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Wn=/($^)/,El=/['\n\r\u2028\u2029\\]/g,Vi="\\ud800-\\udfff",Kl="\\u0300-\\u036f",yr="\\ufe20-\\ufe2f",wt="\\u20d0-\\u20ff",X=Kl+yr+wt,Vt="\\u2700-\\u27bf",yn="a-z\\xdf-\\xf6\\xf8-\\xff",_i="\\xac\\xb1\\xd7\\xf7",xi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sn="\\u2000-\\u206f",jl=" \\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",Pr="A-Z\\xc0-\\xd6\\xd8-\\xde",ia="\\ufe0e\\ufe0f",el=_i+xi+sn+jl,Ir="['’]",ms="["+Vi+"]",la="["+el+"]",Jl="["+X+"]",Yl="\\d+",bs="["+Vt+"]",ra="["+yn+"]",aa="[^"+Vi+el+Yl+Vt+yn+Pr+"]",Ql="\\ud83c[\\udffb-\\udfff]",vs="(?:"+Jl+"|"+Ql+")",Nr="[^"+Vi+"]",Tr="(?:\\ud83c[\\udde6-\\uddff]){2}",Zl="[\\ud800-\\udbff][\\udc00-\\udfff]",tl="["+Pr+"]",sa="\\u200d",oa="(?:"+ra+"|"+aa+")",ws="(?:"+tl+"|"+aa+")",ua="(?:"+Ir+"(?:d|ll|m|re|s|t|ve))?",fa="(?:"+Ir+"(?:D|LL|M|RE|S|T|VE))?",ca=vs+"?",da="["+ia+"]?",ks="(?:"+sa+"(?:"+[Nr,Tr,Zl].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,Tr,Zl].join("|")+")"+ha,Ps="(?:"+[Nr+Jl+"?",Jl,Tr,Zl,ms].join("|")+")",Is=RegExp(Ir,"g"),Ns=RegExp(Jl,"g"),Lr=RegExp(Ql+"(?="+Ql+")|"+Ps+ha,"g"),Ts=RegExp([tl+"?"+ra+"+"+ua+"(?="+[la,tl,"$"].join("|")+")",ws+"+"+fa+"(?="+[la,tl+oa,"$"].join("|")+")",tl+"?"+oa+"+"+ua,tl+"+"+fa,Cs,Ss,Yl,ys].join("|"),"g"),B=RegExp("["+sa+Vi+X+ia+"]"),fe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Re=["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,Ne={};Ne[vn]=Ne[Ci]=Ne[yi]=Ne[wn]=Ne[Pi]=Ne[Ii]=Ne[Ni]=Ne[Ti]=Ne[Li]=!0,Ne[ye]=Ne[Le]=Ne[li]=Ne[Xe]=Ne[$t]=Ne[De]=Ne[lt]=Ne[gt]=Ne[Ze]=Ne[Ht]=Ne[on]=Ne[ut]=Ne[rt]=Ne[un]=Ne[Kt]=!1;var de={};de[ye]=de[Le]=de[li]=de[$t]=de[Xe]=de[De]=de[vn]=de[Ci]=de[yi]=de[wn]=de[Pi]=de[Ze]=de[Ht]=de[on]=de[ut]=de[rt]=de[un]=de[Gt]=de[Ii]=de[Ni]=de[Ti]=de[Li]=!0,de[lt]=de[gt]=de[Kt]=!1;var He={À:"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"},It={"&":"&","<":"<",">":">",'"':""","'":"'"},Jt={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ar={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nl=parseFloat,Er=parseInt,Oi=typeof Qr=="object"&&Qr&&Qr.Object===Object&&Qr,Rr=typeof self=="object"&&self&&self.Object===Object&&self,We=Oi||Rr||Function("return this")(),Lt=e&&!e.nodeType&&e,Nt=Lt&&!0&&i&&!i.nodeType&&i,fn=Nt&&Nt.exports===Lt,Pn=fn&&Oi.process,xt=function(){try{var Z=Nt&&Nt.require&&Nt.require("util").types;return Z||Pn&&Pn.binding&&Pn.binding("util")}catch{}}(),il=xt&&xt.isArrayBuffer,Xl=xt&&xt.isDate,Rl=xt&&xt.isMap,Ls=xt&&xt.isRegExp,$l=xt&&xt.isSet,ga=xt&&xt.isTypedArray;function _n(Z,he,oe){switch(oe.length){case 0:return Z.call(he);case 1:return Z.call(he,oe[0]);case 2:return Z.call(he,oe[0],oe[1]);case 3:return Z.call(he,oe[0],oe[1],oe[2])}return Z.apply(he,oe)}function Dl(Z,he,oe,qe){for(var at=-1,Tt=Z==null?0:Z.length;++at<Tt;){var cn=Z[at];he(qe,cn,oe(cn),Z)}return qe}function Ut(Z,he){for(var oe=-1,qe=Z==null?0:Z.length;++oe<qe&&he(Z[oe],oe,Z)!==!1;);return Z}function Qn(Z,he){for(var oe=Z==null?0:Z.length;oe--&&he(Z[oe],oe,Z)!==!1;);return Z}function _a(Z,he){for(var oe=-1,qe=Z==null?0:Z.length;++oe<qe;)if(!he(Z[oe],oe,Z))return!1;return!0}function ll(Z,he){for(var oe=-1,qe=Z==null?0:Z.length,at=0,Tt=[];++oe<qe;){var cn=Z[oe];he(cn,oe,Z)&&(Tt[at++]=cn)}return Tt}function pa(Z,he){var oe=Z==null?0:Z.length;return!!oe&&xl(Z,he,0)>-1}function As(Z,he,oe){for(var qe=-1,at=Z==null?0:Z.length;++qe<at;)if(oe(he,Z[qe]))return!0;return!1}function Yt(Z,he){for(var oe=-1,qe=Z==null?0:Z.length,at=Array(qe);++oe<qe;)at[oe]=he(Z[oe],oe,Z);return at}function rl(Z,he){for(var oe=-1,qe=he.length,at=Z.length;++oe<qe;)Z[at+oe]=he[oe];return Z}function Es(Z,he,oe,qe){var at=-1,Tt=Z==null?0:Z.length;for(qe&&Tt&&(oe=Z[++at]);++at<Tt;)oe=he(oe,Z[at],at,Z);return oe}function Np(Z,he,oe,qe){var at=Z==null?0:Z.length;for(qe&&at&&(oe=Z[--at]);at--;)oe=he(oe,Z[at],at,Z);return oe}function Rs(Z,he){for(var oe=-1,qe=Z==null?0:Z.length;++oe<qe;)if(he(Z[oe],oe,Z))return!0;return!1}var Tp=Ds("length");function Lp(Z){return Z.split("")}function Ap(Z){return Z.match(Xi)||[]}function Jo(Z,he,oe){var qe;return oe(Z,function(at,Tt,cn){if(he(at,Tt,cn))return qe=Tt,!1}),qe}function ma(Z,he,oe,qe){for(var at=Z.length,Tt=oe+(qe?1:-1);qe?Tt--:++Tt<at;)if(he(Z[Tt],Tt,Z))return Tt;return-1}function xl(Z,he,oe){return he===he?qp(Z,he,oe):ma(Z,Yo,oe)}function Ep(Z,he,oe,qe){for(var at=oe-1,Tt=Z.length;++at<Tt;)if(qe(Z[at],he))return at;return-1}function Yo(Z){return Z!==Z}function Qo(Z,he){var oe=Z==null?0:Z.length;return oe?Os(Z,he)/oe:Pe}function Ds(Z){return function(he){return he==null?t:he[Z]}}function Vs(Z){return function(he){return Z==null?t:Z[he]}}function Zo(Z,he,oe,qe,at){return at(Z,function(Tt,cn,Bt){oe=qe?(qe=!1,Tt):he(oe,Tt,cn,Bt)}),oe}function Rp(Z,he){var oe=Z.length;for(Z.sort(he);oe--;)Z[oe]=Z[oe].value;return Z}function Os(Z,he){for(var oe,qe=-1,at=Z.length;++qe<at;){var Tt=he(Z[qe]);Tt!==t&&(oe=oe===t?Tt:oe+Tt)}return oe}function Ms(Z,he){for(var oe=-1,qe=Array(Z);++oe<Z;)qe[oe]=he(oe);return qe}function Dp(Z,he){return Yt(he,function(oe){return[oe,Z[oe]]})}function Xo(Z){return Z&&Z.slice(0,tu(Z)+1).replace(ri,"")}function qn(Z){return function(he){return Z(he)}}function Fs(Z,he){return Yt(he,function(oe){return Z[oe]})}function Dr(Z,he){return Z.has(he)}function $o(Z,he){for(var oe=-1,qe=Z.length;++oe<qe&&xl(he,Z[oe],0)>-1;);return oe}function xo(Z,he){for(var oe=Z.length;oe--&&xl(he,Z[oe],0)>-1;);return oe}function Vp(Z,he){for(var oe=Z.length,qe=0;oe--;)Z[oe]===he&&++qe;return qe}var Op=Vs(He),Mp=Vs(It);function Fp(Z){return"\\"+Ar[Z]}function Up(Z,he){return Z==null?t:Z[he]}function er(Z){return B.test(Z)}function Bp(Z){return fe.test(Z)}function Hp(Z){for(var he,oe=[];!(he=Z.next()).done;)oe.push(he.value);return oe}function Us(Z){var he=-1,oe=Array(Z.size);return Z.forEach(function(qe,at){oe[++he]=[at,qe]}),oe}function eu(Z,he){return function(oe){return Z(he(oe))}}function al(Z,he){for(var oe=-1,qe=Z.length,at=0,Tt=[];++oe<qe;){var cn=Z[oe];(cn===he||cn===d)&&(Z[oe]=d,Tt[at++]=oe)}return Tt}function ba(Z){var he=-1,oe=Array(Z.size);return Z.forEach(function(qe){oe[++he]=qe}),oe}function Wp(Z){var he=-1,oe=Array(Z.size);return Z.forEach(function(qe){oe[++he]=[qe,qe]}),oe}function qp(Z,he,oe){for(var qe=oe-1,at=Z.length;++qe<at;)if(Z[qe]===he)return qe;return-1}function zp(Z,he,oe){for(var qe=oe+1;qe--;)if(Z[qe]===he)return qe;return qe}function tr(Z){return er(Z)?Kp(Z):Tp(Z)}function ai(Z){return er(Z)?jp(Z):Lp(Z)}function tu(Z){for(var he=Z.length;he--&&Ri.test(Z.charAt(he)););return he}var Gp=Vs(Jt);function Kp(Z){for(var he=Lr.lastIndex=0;Lr.test(Z);)++he;return he}function jp(Z){return Z.match(Lr)||[]}function Jp(Z){return Z.match(Ts)||[]}var Yp=function Z(he){he=he==null?We:nr.defaults(We.Object(),he,nr.pick(We,Re));var oe=he.Array,qe=he.Date,at=he.Error,Tt=he.Function,cn=he.Math,Bt=he.Object,Bs=he.RegExp,Qp=he.String,Zn=he.TypeError,va=oe.prototype,Zp=Tt.prototype,ir=Bt.prototype,wa=he["__core-js_shared__"],ka=Zp.toString,Rt=ir.hasOwnProperty,Xp=0,nu=function(){var s=/[^.]+$/.exec(wa&&wa.keys&&wa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Sa=ir.toString,$p=ka.call(Bt),xp=We._,em=Bs("^"+ka.call(Rt).replace(Ei,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ca=fn?he.Buffer:t,sl=he.Symbol,ya=he.Uint8Array,iu=Ca?Ca.allocUnsafe:t,Pa=eu(Bt.getPrototypeOf,Bt),lu=Bt.create,ru=ir.propertyIsEnumerable,Ia=va.splice,au=sl?sl.isConcatSpreadable:t,Vr=sl?sl.iterator:t,Vl=sl?sl.toStringTag:t,Na=function(){try{var s=Bl(Bt,"defineProperty");return s({},"",{}),s}catch{}}(),tm=he.clearTimeout!==We.clearTimeout&&he.clearTimeout,nm=qe&&qe.now!==We.Date.now&&qe.now,im=he.setTimeout!==We.setTimeout&&he.setTimeout,Ta=cn.ceil,La=cn.floor,Hs=Bt.getOwnPropertySymbols,lm=Ca?Ca.isBuffer:t,su=he.isFinite,rm=va.join,am=eu(Bt.keys,Bt),dn=cn.max,kn=cn.min,sm=qe.now,om=he.parseInt,ou=cn.random,um=va.reverse,Ws=Bl(he,"DataView"),Or=Bl(he,"Map"),qs=Bl(he,"Promise"),lr=Bl(he,"Set"),Mr=Bl(he,"WeakMap"),Fr=Bl(Bt,"create"),Aa=Mr&&new Mr,rr={},fm=Hl(Ws),cm=Hl(Or),dm=Hl(qs),hm=Hl(lr),gm=Hl(Mr),Ea=sl?sl.prototype:t,Ur=Ea?Ea.valueOf:t,uu=Ea?Ea.toString:t;function M(s){if(en(s)&&!st(s)&&!(s instanceof bt)){if(s instanceof Xn)return s;if(Rt.call(s,"__wrapped__"))return cf(s)}return new Xn(s)}var ar=function(){function s(){}return function(u){if(!Qt(u))return{};if(lu)return lu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Ra(){}function Xn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:Pl,evaluate:Il,interpolate:Zi,variable:"",imports:{_:M}},M.prototype=Ra.prototype,M.prototype.constructor=M,Xn.prototype=ar(Ra.prototype),Xn.prototype.constructor=Xn;function bt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=se,this.__views__=[]}function _m(){var s=new bt(this.__wrapped__);return s.__actions__=Dn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Dn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Dn(this.__views__),s}function pm(){if(this.__filtered__){var s=new bt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function mm(){var s=this.__wrapped__.value(),u=this.__dir__,_=st(s),S=u<0,A=_?s.length:0,F=L1(0,A,this.__views__),z=F.start,j=F.end,$=j-z,_e=S?j:z-1,pe=this.__iteratees__,Ce=pe.length,Oe=0,Ke=kn($,this.__takeCount__);if(!_||!S&&A==$&&Ke==$)return Du(s,this.__actions__);var xe=[];e:for(;$--&&Oe<Ke;){_e+=u;for(var ct=-1,et=s[_e];++ct<Ce;){var mt=pe[ct],kt=mt.iteratee,Kn=mt.type,Tn=kt(et);if(Kn==ee)et=Tn;else if(!Tn){if(Kn==Y)continue e;break e}}xe[Oe++]=et}return xe}bt.prototype=ar(Ra.prototype),bt.prototype.constructor=bt;function Ol(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function bm(){this.__data__=Fr?Fr(null):{},this.size=0}function vm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function wm(s){var u=this.__data__;if(Fr){var _=u[s];return _===c?t:_}return Rt.call(u,s)?u[s]:t}function km(s){var u=this.__data__;return Fr?u[s]!==t:Rt.call(u,s)}function Sm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Fr&&u===t?c:u,this}Ol.prototype.clear=bm,Ol.prototype.delete=vm,Ol.prototype.get=wm,Ol.prototype.has=km,Ol.prototype.set=Sm;function Mi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function Cm(){this.__data__=[],this.size=0}function ym(s){var u=this.__data__,_=Da(u,s);if(_<0)return!1;var S=u.length-1;return _==S?u.pop():Ia.call(u,_,1),--this.size,!0}function Pm(s){var u=this.__data__,_=Da(u,s);return _<0?t:u[_][1]}function Im(s){return Da(this.__data__,s)>-1}function Nm(s,u){var _=this.__data__,S=Da(_,s);return S<0?(++this.size,_.push([s,u])):_[S][1]=u,this}Mi.prototype.clear=Cm,Mi.prototype.delete=ym,Mi.prototype.get=Pm,Mi.prototype.has=Im,Mi.prototype.set=Nm;function Fi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function Tm(){this.size=0,this.__data__={hash:new Ol,map:new(Or||Mi),string:new Ol}}function Lm(s){var u=Ka(this,s).delete(s);return this.size-=u?1:0,u}function Am(s){return Ka(this,s).get(s)}function Em(s){return Ka(this,s).has(s)}function Rm(s,u){var _=Ka(this,s),S=_.size;return _.set(s,u),this.size+=_.size==S?0:1,this}Fi.prototype.clear=Tm,Fi.prototype.delete=Lm,Fi.prototype.get=Am,Fi.prototype.has=Em,Fi.prototype.set=Rm;function Ml(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Fi;++u<_;)this.add(s[u])}function Dm(s){return this.__data__.set(s,c),this}function Vm(s){return this.__data__.has(s)}Ml.prototype.add=Ml.prototype.push=Dm,Ml.prototype.has=Vm;function si(s){var u=this.__data__=new Mi(s);this.size=u.size}function Om(){this.__data__=new Mi,this.size=0}function Mm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Fm(s){return this.__data__.get(s)}function Um(s){return this.__data__.has(s)}function Bm(s,u){var _=this.__data__;if(_ instanceof Mi){var S=_.__data__;if(!Or||S.length<l-1)return S.push([s,u]),this.size=++_.size,this;_=this.__data__=new Fi(S)}return _.set(s,u),this.size=_.size,this}si.prototype.clear=Om,si.prototype.delete=Mm,si.prototype.get=Fm,si.prototype.has=Um,si.prototype.set=Bm;function fu(s,u){var _=st(s),S=!_&&Wl(s),A=!_&&!S&&dl(s),F=!_&&!S&&!A&&fr(s),z=_||S||A||F,j=z?Ms(s.length,Qp):[],$=j.length;for(var _e in s)(u||Rt.call(s,_e))&&!(z&&(_e=="length"||A&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Wi(_e,$)))&&j.push(_e);return j}function cu(s){var u=s.length;return u?s[xs(0,u-1)]:t}function Hm(s,u){return ja(Dn(s),Fl(u,0,s.length))}function Wm(s){return ja(Dn(s))}function zs(s,u,_){(_!==t&&!oi(s[u],_)||_===t&&!(u in s))&&Ui(s,u,_)}function Br(s,u,_){var S=s[u];(!(Rt.call(s,u)&&oi(S,_))||_===t&&!(u in s))&&Ui(s,u,_)}function Da(s,u){for(var _=s.length;_--;)if(oi(s[_][0],u))return _;return-1}function qm(s,u,_,S){return ol(s,function(A,F,z){u(S,A,_(A),z)}),S}function du(s,u){return s&&mi(u,pn(u),s)}function zm(s,u){return s&&mi(u,On(u),s)}function Ui(s,u,_){u=="__proto__"&&Na?Na(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Gs(s,u){for(var _=-1,S=u.length,A=oe(S),F=s==null;++_<S;)A[_]=F?t:Po(s,u[_]);return A}function Fl(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function $n(s,u,_,S,A,F){var z,j=u&g,$=u&p,_e=u&b;if(_&&(z=A?_(s,S,A,F):_(s)),z!==t)return z;if(!Qt(s))return s;var pe=st(s);if(pe){if(z=E1(s),!j)return Dn(s,z)}else{var Ce=Sn(s),Oe=Ce==gt||Ce==ge;if(dl(s))return Mu(s,j);if(Ce==on||Ce==ye||Oe&&!A){if(z=$||Oe?{}:tf(s),!j)return $?w1(s,zm(z,s)):v1(s,du(z,s))}else{if(!de[Ce])return A?s:{};z=R1(s,Ce,j)}}F||(F=new si);var Ke=F.get(s);if(Ke)return Ke;F.set(s,z),Ef(s)?s.forEach(function(et){z.add($n(et,u,_,et,s,F))}):Lf(s)&&s.forEach(function(et,mt){z.set(mt,$n(et,u,_,mt,s,F))});var xe=_e?$?fo:uo:$?On:pn,ct=pe?t:xe(s);return Ut(ct||s,function(et,mt){ct&&(mt=et,et=s[mt]),Br(z,mt,$n(et,u,_,mt,s,F))}),z}function Gm(s){var u=pn(s);return function(_){return hu(_,s,u)}}function hu(s,u,_){var S=_.length;if(s==null)return!S;for(s=Bt(s);S--;){var A=_[S],F=u[A],z=s[A];if(z===t&&!(A in s)||!F(z))return!1}return!0}function gu(s,u,_){if(typeof s!="function")throw new Zn(a);return jr(function(){s.apply(t,_)},u)}function Hr(s,u,_,S){var A=-1,F=pa,z=!0,j=s.length,$=[],_e=u.length;if(!j)return $;_&&(u=Yt(u,qn(_))),S?(F=As,z=!1):u.length>=l&&(F=Dr,z=!1,u=new Ml(u));e:for(;++A<j;){var pe=s[A],Ce=_==null?pe:_(pe);if(pe=S||pe!==0?pe:0,z&&Ce===Ce){for(var Oe=_e;Oe--;)if(u[Oe]===Ce)continue e;$.push(pe)}else F(u,Ce,S)||$.push(pe)}return $}var ol=Wu(pi),_u=Wu(js,!0);function Km(s,u){var _=!0;return ol(s,function(S,A,F){return _=!!u(S,A,F),_}),_}function Va(s,u,_){for(var S=-1,A=s.length;++S<A;){var F=s[S],z=u(F);if(z!=null&&(j===t?z===z&&!Gn(z):_(z,j)))var j=z,$=F}return $}function jm(s,u,_,S){var A=s.length;for(_=ft(_),_<0&&(_=-_>A?0:A+_),S=S===t||S>A?A:ft(S),S<0&&(S+=A),S=_>S?0:Df(S);_<S;)s[_++]=u;return s}function pu(s,u){var _=[];return ol(s,function(S,A,F){u(S,A,F)&&_.push(S)}),_}function mn(s,u,_,S,A){var F=-1,z=s.length;for(_||(_=V1),A||(A=[]);++F<z;){var j=s[F];u>0&&_(j)?u>1?mn(j,u-1,_,S,A):rl(A,j):S||(A[A.length]=j)}return A}var Ks=qu(),mu=qu(!0);function pi(s,u){return s&&Ks(s,u,pn)}function js(s,u){return s&&mu(s,u,pn)}function Oa(s,u){return ll(u,function(_){return qi(s[_])})}function Ul(s,u){u=fl(u,s);for(var _=0,S=u.length;s!=null&&_<S;)s=s[bi(u[_++])];return _&&_==S?s:t}function bu(s,u,_){var S=u(s);return st(s)?S:rl(S,_(s))}function In(s){return s==null?s===t?Hn:En:Vl&&Vl in Bt(s)?T1(s):W1(s)}function Js(s,u){return s>u}function Jm(s,u){return s!=null&&Rt.call(s,u)}function Ym(s,u){return s!=null&&u in Bt(s)}function Qm(s,u,_){return s>=kn(u,_)&&s<dn(u,_)}function Ys(s,u,_){for(var S=_?As:pa,A=s[0].length,F=s.length,z=F,j=oe(F),$=1/0,_e=[];z--;){var pe=s[z];z&&u&&(pe=Yt(pe,qn(u))),$=kn(pe.length,$),j[z]=!_&&(u||A>=120&&pe.length>=120)?new Ml(z&&pe):t}pe=s[0];var Ce=-1,Oe=j[0];e:for(;++Ce<A&&_e.length<$;){var Ke=pe[Ce],xe=u?u(Ke):Ke;if(Ke=_||Ke!==0?Ke:0,!(Oe?Dr(Oe,xe):S(_e,xe,_))){for(z=F;--z;){var ct=j[z];if(!(ct?Dr(ct,xe):S(s[z],xe,_)))continue e}Oe&&Oe.push(xe),_e.push(Ke)}}return _e}function Zm(s,u,_,S){return pi(s,function(A,F,z){u(S,_(A),F,z)}),S}function Wr(s,u,_){u=fl(u,s),s=af(s,u);var S=s==null?s:s[bi(ei(u))];return S==null?t:_n(S,s,_)}function vu(s){return en(s)&&In(s)==ye}function Xm(s){return en(s)&&In(s)==li}function $m(s){return en(s)&&In(s)==De}function qr(s,u,_,S,A){return s===u?!0:s==null||u==null||!en(s)&&!en(u)?s!==s&&u!==u:xm(s,u,_,S,qr,A)}function xm(s,u,_,S,A,F){var z=st(s),j=st(u),$=z?Le:Sn(s),_e=j?Le:Sn(u);$=$==ye?on:$,_e=_e==ye?on:_e;var pe=$==on,Ce=_e==on,Oe=$==_e;if(Oe&&dl(s)){if(!dl(u))return!1;z=!0,pe=!1}if(Oe&&!pe)return F||(F=new si),z||fr(s)?$u(s,u,_,S,A,F):I1(s,u,$,_,S,A,F);if(!(_&m)){var Ke=pe&&Rt.call(s,"__wrapped__"),xe=Ce&&Rt.call(u,"__wrapped__");if(Ke||xe){var ct=Ke?s.value():s,et=xe?u.value():u;return F||(F=new si),A(ct,et,_,S,F)}}return Oe?(F||(F=new si),N1(s,u,_,S,A,F)):!1}function e1(s){return en(s)&&Sn(s)==Ze}function Qs(s,u,_,S){var A=_.length,F=A,z=!S;if(s==null)return!F;for(s=Bt(s);A--;){var j=_[A];if(z&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++A<F;){j=_[A];var $=j[0],_e=s[$],pe=j[1];if(z&&j[2]){if(_e===t&&!($ in s))return!1}else{var Ce=new si;if(S)var Oe=S(_e,pe,$,s,u,Ce);if(!(Oe===t?qr(pe,_e,m|v,S,Ce):Oe))return!1}}return!0}function wu(s){if(!Qt(s)||M1(s))return!1;var u=qi(s)?em:pt;return u.test(Hl(s))}function t1(s){return en(s)&&In(s)==ut}function n1(s){return en(s)&&Sn(s)==rt}function i1(s){return en(s)&&$a(s.length)&&!!Ne[In(s)]}function ku(s){return typeof s=="function"?s:s==null?Mn:typeof s=="object"?st(s)?yu(s[0],s[1]):Cu(s):Gf(s)}function Zs(s){if(!Kr(s))return am(s);var u=[];for(var _ in Bt(s))Rt.call(s,_)&&_!="constructor"&&u.push(_);return u}function l1(s){if(!Qt(s))return H1(s);var u=Kr(s),_=[];for(var S in s)S=="constructor"&&(u||!Rt.call(s,S))||_.push(S);return _}function Xs(s,u){return s<u}function Su(s,u){var _=-1,S=Vn(s)?oe(s.length):[];return ol(s,function(A,F,z){S[++_]=u(A,F,z)}),S}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(bi(s),u):function(_){var S=Po(_,s);return S===t&&S===u?Io(_,s):qr(u,S,m|v)}}function Ma(s,u,_,S,A){s!==u&&Ks(u,function(F,z){if(A||(A=new si),Qt(F))r1(s,u,z,_,Ma,S,A);else{var j=S?S(mo(s,z),F,z+"",s,u,A):t;j===t&&(j=F),zs(s,z,j)}},On)}function r1(s,u,_,S,A,F,z){var j=mo(s,_),$=mo(u,_),_e=z.get($);if(_e){zs(s,_,_e);return}var pe=F?F(j,$,_+"",s,u,z):t,Ce=pe===t;if(Ce){var Oe=st($),Ke=!Oe&&dl($),xe=!Oe&&!Ke&&fr($);pe=$,Oe||Ke||xe?st(j)?pe=j:tn(j)?pe=Dn(j):Ke?(Ce=!1,pe=Mu($,!0)):xe?(Ce=!1,pe=Fu($,!0)):pe=[]:Jr($)||Wl($)?(pe=j,Wl(j)?pe=Vf(j):(!Qt(j)||qi(j))&&(pe=tf($))):Ce=!1}Ce&&(z.set($,pe),A(pe,$,S,F,z),z.delete($)),zs(s,_,pe)}function Pu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Wi(u,_)?s[u]:t}function Iu(s,u,_){u.length?u=Yt(u,function(F){return st(F)?function(z){return Ul(z,F.length===1?F[0]:F)}:F}):u=[Mn];var S=-1;u=Yt(u,qn($e()));var A=Su(s,function(F,z,j){var $=Yt(u,function(_e){return _e(F)});return{criteria:$,index:++S,value:F}});return Rp(A,function(F,z){return b1(F,z,_)})}function a1(s,u){return Nu(s,u,function(_,S){return Io(s,S)})}function Nu(s,u,_){for(var S=-1,A=u.length,F={};++S<A;){var z=u[S],j=Ul(s,z);_(j,z)&&zr(F,fl(z,s),j)}return F}function s1(s){return function(u){return Ul(u,s)}}function $s(s,u,_,S){var A=S?Ep:xl,F=-1,z=u.length,j=s;for(s===u&&(u=Dn(u)),_&&(j=Yt(s,qn(_)));++F<z;)for(var $=0,_e=u[F],pe=_?_(_e):_e;($=A(j,pe,$,S))>-1;)j!==s&&Ia.call(j,$,1),Ia.call(s,$,1);return s}function Tu(s,u){for(var _=s?u.length:0,S=_-1;_--;){var A=u[_];if(_==S||A!==F){var F=A;Wi(A)?Ia.call(s,A,1):no(s,A)}}return s}function xs(s,u){return s+La(ou()*(u-s+1))}function o1(s,u,_,S){for(var A=-1,F=dn(Ta((u-s)/(_||1)),0),z=oe(F);F--;)z[S?F:++A]=s,s+=_;return z}function eo(s,u){var _="";if(!s||u<1||u>ue)return _;do u%2&&(_+=s),u=La(u/2),u&&(s+=s);while(u);return _}function dt(s,u){return bo(rf(s,u,Mn),s+"")}function u1(s){return cu(cr(s))}function f1(s,u){var _=cr(s);return ja(_,Fl(u,0,_.length))}function zr(s,u,_,S){if(!Qt(s))return s;u=fl(u,s);for(var A=-1,F=u.length,z=F-1,j=s;j!=null&&++A<F;){var $=bi(u[A]),_e=_;if($==="__proto__"||$==="constructor"||$==="prototype")return s;if(A!=z){var pe=j[$];_e=S?S(pe,$,j):t,_e===t&&(_e=Qt(pe)?pe:Wi(u[A+1])?[]:{})}Br(j,$,_e),j=j[$]}return s}var Lu=Aa?function(s,u){return Aa.set(s,u),s}:Mn,c1=Na?function(s,u){return Na(s,"toString",{configurable:!0,enumerable:!1,value:To(u),writable:!0})}:Mn;function d1(s){return ja(cr(s))}function xn(s,u,_){var S=-1,A=s.length;u<0&&(u=-u>A?0:A+u),_=_>A?A:_,_<0&&(_+=A),A=u>_?0:_-u>>>0,u>>>=0;for(var F=oe(A);++S<A;)F[S]=s[S+u];return F}function h1(s,u){var _;return ol(s,function(S,A,F){return _=u(S,A,F),!_}),!!_}function Fa(s,u,_){var S=0,A=s==null?S:s.length;if(typeof u=="number"&&u===u&&A<=ke){for(;S<A;){var F=S+A>>>1,z=s[F];z!==null&&!Gn(z)&&(_?z<=u:z<u)?S=F+1:A=F}return A}return to(s,u,Mn,_)}function to(s,u,_,S){var A=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var z=u!==u,j=u===null,$=Gn(u),_e=u===t;A<F;){var pe=La((A+F)/2),Ce=_(s[pe]),Oe=Ce!==t,Ke=Ce===null,xe=Ce===Ce,ct=Gn(Ce);if(z)var et=S||xe;else _e?et=xe&&(S||Oe):j?et=xe&&Oe&&(S||!Ke):$?et=xe&&Oe&&!Ke&&(S||!ct):Ke||ct?et=!1:et=S?Ce<=u:Ce<u;et?A=pe+1:F=pe}return kn(F,re)}function Au(s,u){for(var _=-1,S=s.length,A=0,F=[];++_<S;){var z=s[_],j=u?u(z):z;if(!_||!oi(j,$)){var $=j;F[A++]=z===0?0:z}}return F}function Eu(s){return typeof s=="number"?s:Gn(s)?Pe:+s}function zn(s){if(typeof s=="string")return s;if(st(s))return Yt(s,zn)+"";if(Gn(s))return uu?uu.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function ul(s,u,_){var S=-1,A=pa,F=s.length,z=!0,j=[],$=j;if(_)z=!1,A=As;else if(F>=l){var _e=u?null:y1(s);if(_e)return ba(_e);z=!1,A=Dr,$=new Ml}else $=u?[]:j;e:for(;++S<F;){var pe=s[S],Ce=u?u(pe):pe;if(pe=_||pe!==0?pe:0,z&&Ce===Ce){for(var Oe=$.length;Oe--;)if($[Oe]===Ce)continue e;u&&$.push(Ce),j.push(pe)}else A($,Ce,_)||($!==j&&$.push(Ce),j.push(pe))}return j}function no(s,u){return u=fl(u,s),s=af(s,u),s==null||delete s[bi(ei(u))]}function Ru(s,u,_,S){return zr(s,u,_(Ul(s,u)),S)}function Ua(s,u,_,S){for(var A=s.length,F=S?A:-1;(S?F--:++F<A)&&u(s[F],F,s););return _?xn(s,S?0:F,S?F+1:A):xn(s,S?F+1:0,S?A:F)}function Du(s,u){var _=s;return _ instanceof bt&&(_=_.value()),Es(u,function(S,A){return A.func.apply(A.thisArg,rl([S],A.args))},_)}function io(s,u,_){var S=s.length;if(S<2)return S?ul(s[0]):[];for(var A=-1,F=oe(S);++A<S;)for(var z=s[A],j=-1;++j<S;)j!=A&&(F[A]=Hr(F[A]||z,s[j],u,_));return ul(mn(F,1),u,_)}function Vu(s,u,_){for(var S=-1,A=s.length,F=u.length,z={};++S<A;){var j=S<F?u[S]:t;_(z,s[S],j)}return z}function lo(s){return tn(s)?s:[]}function ro(s){return typeof s=="function"?s:Mn}function fl(s,u){return st(s)?s:_o(s,u)?[s]:ff(At(s))}var g1=dt;function cl(s,u,_){var S=s.length;return _=_===t?S:_,!u&&_>=S?s:xn(s,u,_)}var Ou=tm||function(s){return We.clearTimeout(s)};function Mu(s,u){if(u)return s.slice();var _=s.length,S=iu?iu(_):new s.constructor(_);return s.copy(S),S}function ao(s){var u=new s.constructor(s.byteLength);return new ya(u).set(new ya(s)),u}function _1(s,u){var _=u?ao(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function p1(s){var u=new s.constructor(s.source,Je.exec(s));return u.lastIndex=s.lastIndex,u}function m1(s){return Ur?Bt(Ur.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,S=s===null,A=s===s,F=Gn(s),z=u!==t,j=u===null,$=u===u,_e=Gn(u);if(!j&&!_e&&!F&&s>u||F&&z&&$&&!j&&!_e||S&&z&&$||!_&&$||!A)return 1;if(!S&&!F&&!_e&&s<u||_e&&_&&A&&!S&&!F||j&&_&&A||!z&&A||!$)return-1}return 0}function b1(s,u,_){for(var S=-1,A=s.criteria,F=u.criteria,z=A.length,j=_.length;++S<z;){var $=Uu(A[S],F[S]);if($){if(S>=j)return $;var _e=_[S];return $*(_e=="desc"?-1:1)}}return s.index-u.index}function Bu(s,u,_,S){for(var A=-1,F=s.length,z=_.length,j=-1,$=u.length,_e=dn(F-z,0),pe=oe($+_e),Ce=!S;++j<$;)pe[j]=u[j];for(;++A<z;)(Ce||A<F)&&(pe[_[A]]=s[A]);for(;_e--;)pe[j++]=s[A++];return pe}function Hu(s,u,_,S){for(var A=-1,F=s.length,z=-1,j=_.length,$=-1,_e=u.length,pe=dn(F-j,0),Ce=oe(pe+_e),Oe=!S;++A<pe;)Ce[A]=s[A];for(var Ke=A;++$<_e;)Ce[Ke+$]=u[$];for(;++z<j;)(Oe||A<F)&&(Ce[Ke+_[z]]=s[A++]);return Ce}function Dn(s,u){var _=-1,S=s.length;for(u||(u=oe(S));++_<S;)u[_]=s[_];return u}function mi(s,u,_,S){var A=!_;_||(_={});for(var F=-1,z=u.length;++F<z;){var j=u[F],$=S?S(_[j],s[j],j,_,s):t;$===t&&($=s[j]),A?Ui(_,j,$):Br(_,j,$)}return _}function v1(s,u){return mi(s,go(s),u)}function w1(s,u){return mi(s,xu(s),u)}function Ba(s,u){return function(_,S){var A=st(_)?Dl:qm,F=u?u():{};return A(_,s,$e(S,2),F)}}function sr(s){return dt(function(u,_){var S=-1,A=_.length,F=A>1?_[A-1]:t,z=A>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(A--,F):t,z&&Nn(_[0],_[1],z)&&(F=A<3?t:F,A=1),u=Bt(u);++S<A;){var j=_[S];j&&s(u,j,S,F)}return u})}function Wu(s,u){return function(_,S){if(_==null)return _;if(!Vn(_))return s(_,S);for(var A=_.length,F=u?A:-1,z=Bt(_);(u?F--:++F<A)&&S(z[F],F,z)!==!1;);return _}}function qu(s){return function(u,_,S){for(var A=-1,F=Bt(u),z=S(u),j=z.length;j--;){var $=z[s?j:++A];if(_(F[$],$,F)===!1)break}return u}}function k1(s,u,_){var S=u&C,A=Gr(s);function F(){var z=this&&this!==We&&this instanceof F?A:s;return z.apply(S?_:this,arguments)}return F}function zu(s){return function(u){u=At(u);var _=er(u)?ai(u):t,S=_?_[0]:u.charAt(0),A=_?cl(_,1).join(""):u.slice(1);return S[s]()+A}}function or(s){return function(u){return Es(qf(Wf(u).replace(Is,"")),s,"")}}function Gr(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 _=ar(s.prototype),S=s.apply(_,u);return Qt(S)?S:_}}function S1(s,u,_){var S=Gr(s);function A(){for(var F=arguments.length,z=oe(F),j=F,$=ur(A);j--;)z[j]=arguments[j];var _e=F<3&&z[0]!==$&&z[F-1]!==$?[]:al(z,$);if(F-=_e.length,F<_)return Yu(s,u,Ha,A.placeholder,t,z,_e,t,t,_-F);var pe=this&&this!==We&&this instanceof A?S:s;return _n(pe,this,z)}return A}function Gu(s){return function(u,_,S){var A=Bt(u);if(!Vn(u)){var F=$e(_,3);u=pn(u),_=function(j){return F(A[j],j,A)}}var z=s(u,_,S);return z>-1?A[F?u[z]:z]:t}}function Ku(s){return Hi(function(u){var _=u.length,S=_,A=Xn.prototype.thru;for(s&&u.reverse();S--;){var F=u[S];if(typeof F!="function")throw new Zn(a);if(A&&!z&&Ga(F)=="wrapper")var z=new Xn([],!0)}for(S=z?S:_;++S<_;){F=u[S];var j=Ga(F),$=j=="wrapper"?co(F):t;$&&po($[0])&&$[1]==(H|I|V|D)&&!$[4].length&&$[9]==1?z=z[Ga($[0])].apply(z,$[3]):z=F.length==1&&po(F)?z[j]():z.thru(F)}return function(){var _e=arguments,pe=_e[0];if(z&&_e.length==1&&st(pe))return z.plant(pe).value();for(var Ce=0,Oe=_?u[Ce].apply(this,_e):pe;++Ce<_;)Oe=u[Ce].call(this,Oe);return Oe}})}function Ha(s,u,_,S,A,F,z,j,$,_e){var pe=u&H,Ce=u&C,Oe=u&y,Ke=u&(I|N),xe=u&O,ct=Oe?t:Gr(s);function et(){for(var mt=arguments.length,kt=oe(mt),Kn=mt;Kn--;)kt[Kn]=arguments[Kn];if(Ke)var Tn=ur(et),jn=Vp(kt,Tn);if(S&&(kt=Bu(kt,S,A,Ke)),F&&(kt=Hu(kt,F,z,Ke)),mt-=jn,Ke&&mt<_e){var nn=al(kt,Tn);return Yu(s,u,Ha,et.placeholder,_,kt,nn,j,$,_e-mt)}var ui=Ce?_:this,Gi=Oe?ui[s]:s;return mt=kt.length,j?kt=q1(kt,j):xe&&mt>1&&kt.reverse(),pe&&$<mt&&(kt.length=$),this&&this!==We&&this instanceof et&&(Gi=ct||Gr(Gi)),Gi.apply(ui,kt)}return et}function ju(s,u){return function(_,S){return Zm(_,s,u(S),{})}}function Wa(s,u){return function(_,S){var A;if(_===t&&S===t)return u;if(_!==t&&(A=_),S!==t){if(A===t)return S;typeof _=="string"||typeof S=="string"?(_=zn(_),S=zn(S)):(_=Eu(_),S=Eu(S)),A=s(_,S)}return A}}function so(s){return Hi(function(u){return u=Yt(u,qn($e())),dt(function(_){var S=this;return s(u,function(A){return _n(A,S,_)})})})}function qa(s,u){u=u===t?" ":zn(u);var _=u.length;if(_<2)return _?eo(u,s):u;var S=eo(u,Ta(s/tr(u)));return er(u)?cl(ai(S),0,s).join(""):S.slice(0,s)}function C1(s,u,_,S){var A=u&C,F=Gr(s);function z(){for(var j=-1,$=arguments.length,_e=-1,pe=S.length,Ce=oe(pe+$),Oe=this&&this!==We&&this instanceof z?F:s;++_e<pe;)Ce[_e]=S[_e];for(;$--;)Ce[_e++]=arguments[++j];return _n(Oe,A?_:this,Ce)}return z}function Ju(s){return function(u,_,S){return S&&typeof S!="number"&&Nn(u,_,S)&&(_=S=t),u=zi(u),_===t?(_=u,u=0):_=zi(_),S=S===t?u<_?1:-1:zi(S),o1(u,_,S,s)}}function za(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=ti(u),_=ti(_)),s(u,_)}}function Yu(s,u,_,S,A,F,z,j,$,_e){var pe=u&I,Ce=pe?z:t,Oe=pe?t:z,Ke=pe?F:t,xe=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=-4);var ct=[s,u,A,Ke,Ce,xe,Oe,j,$,_e],et=_.apply(t,ct);return po(s)&&sf(et,ct),et.placeholder=S,of(et,s,u)}function oo(s){var u=cn[s];return function(_,S){if(_=ti(_),S=S==null?0:kn(ft(S),292),S&&su(_)){var A=(At(_)+"e").split("e"),F=u(A[0]+"e"+(+A[1]+S));return A=(At(F)+"e").split("e"),+(A[0]+"e"+(+A[1]-S))}return u(_)}}var y1=lr&&1/ba(new lr([,-0]))[1]==le?function(s){return new lr(s)}:Eo;function Qu(s){return function(u){var _=Sn(u);return _==Ze?Us(u):_==rt?Wp(u):Dp(u,s(u))}}function Bi(s,u,_,S,A,F,z,j){var $=u&y;if(!$&&typeof s!="function")throw new Zn(a);var _e=S?S.length:0;if(_e||(u&=-97,S=A=t),z=z===t?z:dn(ft(z),0),j=j===t?j:ft(j),_e-=A?A.length:0,u&E){var pe=S,Ce=A;S=A=t}var Oe=$?t:co(s),Ke=[s,u,_,S,A,pe,Ce,F,z,j];if(Oe&&B1(Ke,Oe),s=Ke[0],u=Ke[1],_=Ke[2],S=Ke[3],A=Ke[4],j=Ke[9]=Ke[9]===t?$?0:s.length:dn(Ke[9]-_e,0),!j&&u&(I|N)&&(u&=-25),!u||u==C)var xe=k1(s,u,_);else u==I||u==N?xe=S1(s,u,j):(u==V||u==(C|V))&&!A.length?xe=C1(s,u,_,S):xe=Ha.apply(t,Ke);var ct=Oe?Lu:sf;return of(ct(xe,Ke),s,u)}function Zu(s,u,_,S){return s===t||oi(s,ir[_])&&!Rt.call(S,_)?u:s}function Xu(s,u,_,S,A,F){return Qt(s)&&Qt(u)&&(F.set(u,s),Ma(s,u,t,Xu,F),F.delete(u)),s}function P1(s){return Jr(s)?t:s}function $u(s,u,_,S,A,F){var z=_&m,j=s.length,$=u.length;if(j!=$&&!(z&&$>j))return!1;var _e=F.get(s),pe=F.get(u);if(_e&&pe)return _e==u&&pe==s;var Ce=-1,Oe=!0,Ke=_&v?new Ml:t;for(F.set(s,u),F.set(u,s);++Ce<j;){var xe=s[Ce],ct=u[Ce];if(S)var et=z?S(ct,xe,Ce,u,s,F):S(xe,ct,Ce,s,u,F);if(et!==t){if(et)continue;Oe=!1;break}if(Ke){if(!Rs(u,function(mt,kt){if(!Dr(Ke,kt)&&(xe===mt||A(xe,mt,_,S,F)))return Ke.push(kt)})){Oe=!1;break}}else if(!(xe===ct||A(xe,ct,_,S,F))){Oe=!1;break}}return F.delete(s),F.delete(u),Oe}function I1(s,u,_,S,A,F,z){switch(_){case $t:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case li:return!(s.byteLength!=u.byteLength||!F(new ya(s),new ya(u)));case Xe:case De:case Ht:return oi(+s,+u);case lt:return s.name==u.name&&s.message==u.message;case ut:case un:return s==u+"";case Ze:var j=Us;case rt:var $=S&m;if(j||(j=ba),s.size!=u.size&&!$)return!1;var _e=z.get(s);if(_e)return _e==u;S|=v,z.set(s,u);var pe=$u(j(s),j(u),S,A,F,z);return z.delete(s),pe;case Gt:if(Ur)return Ur.call(s)==Ur.call(u)}return!1}function N1(s,u,_,S,A,F){var z=_&m,j=uo(s),$=j.length,_e=uo(u),pe=_e.length;if($!=pe&&!z)return!1;for(var Ce=$;Ce--;){var Oe=j[Ce];if(!(z?Oe in u:Rt.call(u,Oe)))return!1}var Ke=F.get(s),xe=F.get(u);if(Ke&&xe)return Ke==u&&xe==s;var ct=!0;F.set(s,u),F.set(u,s);for(var et=z;++Ce<$;){Oe=j[Ce];var mt=s[Oe],kt=u[Oe];if(S)var Kn=z?S(kt,mt,Oe,u,s,F):S(mt,kt,Oe,s,u,F);if(!(Kn===t?mt===kt||A(mt,kt,_,S,F):Kn)){ct=!1;break}et||(et=Oe=="constructor")}if(ct&&!et){var Tn=s.constructor,jn=u.constructor;Tn!=jn&&"constructor"in s&&"constructor"in u&&!(typeof Tn=="function"&&Tn instanceof Tn&&typeof jn=="function"&&jn instanceof jn)&&(ct=!1)}return F.delete(s),F.delete(u),ct}function Hi(s){return bo(rf(s,t,gf),s+"")}function uo(s){return bu(s,pn,go)}function fo(s){return bu(s,On,xu)}var co=Aa?function(s){return Aa.get(s)}:Eo;function Ga(s){for(var u=s.name+"",_=rr[u],S=Rt.call(rr,u)?_.length:0;S--;){var A=_[S],F=A.func;if(F==null||F==s)return A.name}return u}function ur(s){var u=Rt.call(M,"placeholder")?M:s;return u.placeholder}function $e(){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 O1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ho(s){for(var u=pn(s),_=u.length;_--;){var S=u[_],A=s[S];u[_]=[S,A,nf(A)]}return u}function Bl(s,u){var _=Up(s,u);return wu(_)?_:t}function T1(s){var u=Rt.call(s,Vl),_=s[Vl];try{s[Vl]=t;var S=!0}catch{}var A=Sa.call(s);return S&&(u?s[Vl]=_:delete s[Vl]),A}var go=Hs?function(s){return s==null?[]:(s=Bt(s),ll(Hs(s),function(u){return ru.call(s,u)}))}:Ro,xu=Hs?function(s){for(var u=[];s;)rl(u,go(s)),s=Pa(s);return u}:Ro,Sn=In;(Ws&&Sn(new Ws(new ArrayBuffer(1)))!=$t||Or&&Sn(new Or)!=Ze||qs&&Sn(qs.resolve())!=an||lr&&Sn(new lr)!=rt||Mr&&Sn(new Mr)!=Kt)&&(Sn=function(s){var u=In(s),_=u==on?s.constructor:t,S=_?Hl(_):"";if(S)switch(S){case fm:return $t;case cm:return Ze;case dm:return an;case hm:return rt;case gm:return Kt}return u});function L1(s,u,_){for(var S=-1,A=_.length;++S<A;){var F=_[S],z=F.size;switch(F.type){case"drop":s+=z;break;case"dropRight":u-=z;break;case"take":u=kn(u,s+z);break;case"takeRight":s=dn(s,u-z);break}}return{start:s,end:u}}function A1(s){var u=s.match(Di);return u?u[1].split(gi):[]}function ef(s,u,_){u=fl(u,s);for(var S=-1,A=u.length,F=!1;++S<A;){var z=bi(u[S]);if(!(F=s!=null&&_(s,z)))break;s=s[z]}return F||++S!=A?F:(A=s==null?0:s.length,!!A&&$a(A)&&Wi(z,A)&&(st(s)||Wl(s)))}function E1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&Rt.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function tf(s){return typeof s.constructor=="function"&&!Kr(s)?ar(Pa(s)):{}}function R1(s,u,_){var S=s.constructor;switch(u){case li:return ao(s);case Xe:case De:return new S(+s);case $t:return _1(s,_);case vn:case Ci:case yi:case wn:case Pi:case Ii:case Ni:case Ti:case Li:return Fu(s,_);case Ze:return new S;case Ht:case un:return new S(s);case ut:return p1(s);case rt:return new S;case Gt:return m1(s)}}function D1(s,u){var _=u.length;if(!_)return s;var S=_-1;return u[S]=(_>1?"& ":"")+u[S],u=u.join(_>2?", ":" "),s.replace(hi,`{
|
|
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,E=64,H=128,D=256,O=512,z=30,Y="...",Z=800,fe=16,Q=1,G=2,K=3,ae=1/0,ce=9007199254740991,ne=17976931348623157e292,Pe=NaN,se=4294967295,re=se-1,we=se>>>1,Je=[["ary",H],["bind",C],["bindKey",y],["curry",N],["curryRight",I],["flip",O],["partial",V],["partialRight",E],["rearg",D]],ye="[object Arguments]",Le="[object Array]",ze="[object AsyncFunction]",Xe="[object Boolean]",De="[object Date]",nt="[object DOMException]",rt="[object Error]",gt="[object Function]",ge="[object GeneratorFunction]",Ze="[object Map]",Ht="[object Number]",An="[object Null]",on="[object Object]",an="[object Promise]",Ie="[object Proxy]",ut="[object RegExp]",it="[object Set]",un="[object String]",Gt="[object Symbol]",qn="[object Undefined]",Kt="[object WeakMap]",Jt="[object WeakSet]",ri="[object ArrayBuffer]",$t="[object DataView]",vn="[object Float32Array]",Ci="[object Float64Array]",yi="[object Int8Array]",wn="[object Int16Array]",Pi="[object Int32Array]",Ii="[object Uint8Array]",Ni="[object Uint8ClampedArray]",Ti="[object Uint16Array]",Li="[object Uint32Array]",Sl=/\b__p \+= '';/g,Cl=/\b(__p \+=) '' \+/g,yl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ai=/&(?:amp|lt|gt|quot|#39);/g,Yi=/[&<>"']/g,Qi=RegExp(Ai.source),hi=RegExp(Yi.source),Pl=/<%-([\s\S]+?)%>/g,Il=/<%([\s\S]+?)%>/g,Zi=/<%=([\s\S]+?)%>/g,Nl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tl=/^\w*$/,Ll=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ei=/[\\^$.*+?()[\]{}|]/g,Al=RegExp(Ei.source),ai=/^\s+/,Ri=/\s/,gi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Di=/\{\n\/\* \[wrapped with (.+)\] \*/,_i=/,? & /,Xi=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$i=/[()=,{}\[\]\/\s]/,J=/\\(\\)?/g,Se=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,je=/\w*$/,lt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,pt=/^\[object .+?Constructor\]$/,Wt=/^0o[0-7]+$/i,zt=/^(?:0|[1-9]\d*)$/,En=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zn=/($^)/,El=/['\n\r\u2028\u2029\\]/g,Vi="\\ud800-\\udfff",Kl="\\u0300-\\u036f",yr="\\ufe20-\\ufe2f",wt="\\u20d0-\\u20ff",xi=Kl+yr+wt,$="\\u2700-\\u27bf",Ft="a-z\\xdf-\\xf6\\xf8-\\xff",Rn="\\xac\\xb1\\xd7\\xf7",Dn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",sn="\\u2000-\\u206f",Jl=" \\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",Pr="A-Z\\xc0-\\xd6\\xd8-\\xde",ia="\\ufe0e\\ufe0f",el=Rn+Dn+sn+Jl,Ir="['’]",ms="["+Vi+"]",la="["+el+"]",jl="["+xi+"]",Yl="\\d+",bs="["+$+"]",ra="["+Ft+"]",aa="[^"+Vi+el+Yl+$+Ft+Pr+"]",Ql="\\ud83c[\\udffb-\\udfff]",vs="(?:"+jl+"|"+Ql+")",Nr="[^"+Vi+"]",Tr="(?:\\ud83c[\\udde6-\\uddff]){2}",Zl="[\\ud800-\\udbff][\\udc00-\\udfff]",tl="["+Pr+"]",sa="\\u200d",oa="(?:"+ra+"|"+aa+")",ws="(?:"+tl+"|"+aa+")",ua="(?:"+Ir+"(?:d|ll|m|re|s|t|ve))?",fa="(?:"+Ir+"(?:D|LL|M|RE|S|T|VE))?",ca=vs+"?",da="["+ia+"]?",ks="(?:"+sa+"(?:"+[Nr,Tr,Zl].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,Tr,Zl].join("|")+")"+ha,Ps="(?:"+[Nr+jl+"?",jl,Tr,Zl,ms].join("|")+")",Is=RegExp(Ir,"g"),Ns=RegExp(jl,"g"),Lr=RegExp(Ql+"(?="+Ql+")|"+Ps+ha,"g"),Ts=RegExp([tl+"?"+ra+"+"+ua+"(?="+[la,tl,"$"].join("|")+")",ws+"+"+fa+"(?="+[la,tl+oa,"$"].join("|")+")",tl+"?"+oa+"+"+ua,tl+"+"+fa,Cs,Ss,Yl,ys].join("|"),"g"),B=RegExp("["+sa+Vi+xi+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 ]/,Re=["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,Ne={};Ne[vn]=Ne[Ci]=Ne[yi]=Ne[wn]=Ne[Pi]=Ne[Ii]=Ne[Ni]=Ne[Ti]=Ne[Li]=!0,Ne[ye]=Ne[Le]=Ne[ri]=Ne[Xe]=Ne[$t]=Ne[De]=Ne[rt]=Ne[gt]=Ne[Ze]=Ne[Ht]=Ne[on]=Ne[ut]=Ne[it]=Ne[un]=Ne[Kt]=!1;var de={};de[ye]=de[Le]=de[ri]=de[$t]=de[Xe]=de[De]=de[vn]=de[Ci]=de[yi]=de[wn]=de[Pi]=de[Ze]=de[Ht]=de[on]=de[ut]=de[it]=de[un]=de[Gt]=de[Ii]=de[Ni]=de[Ti]=de[Li]=!0,de[rt]=de[gt]=de[Kt]=!1;var He={À:"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"},It={"&":"&","<":"<",">":">",'"':""","'":"'"},jt={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ar={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nl=parseFloat,Er=parseInt,Oi=typeof Qr=="object"&&Qr&&Qr.Object===Object&&Qr,Rr=typeof self=="object"&&self&&self.Object===Object&&self,We=Oi||Rr||Function("return this")(),Lt=e&&!e.nodeType&&e,Nt=Lt&&!0&&i&&!i.nodeType&&i,fn=Nt&&Nt.exports===Lt,yn=fn&&Oi.process,xt=function(){try{var X=Nt&&Nt.require&&Nt.require("util").types;return X||yn&&yn.binding&&yn.binding("util")}catch{}}(),il=xt&&xt.isArrayBuffer,Xl=xt&&xt.isDate,Rl=xt&&xt.isMap,Ls=xt&&xt.isRegExp,$l=xt&&xt.isSet,ga=xt&&xt.isTypedArray;function _n(X,he,oe){switch(oe.length){case 0:return X.call(he);case 1:return X.call(he,oe[0]);case 2:return X.call(he,oe[0],oe[1]);case 3:return X.call(he,oe[0],oe[1],oe[2])}return X.apply(he,oe)}function Dl(X,he,oe,qe){for(var at=-1,Tt=X==null?0:X.length;++at<Tt;){var cn=X[at];he(qe,cn,oe(cn),X)}return qe}function Ut(X,he){for(var oe=-1,qe=X==null?0:X.length;++oe<qe&&he(X[oe],oe,X)!==!1;);return X}function Xn(X,he){for(var oe=X==null?0:X.length;oe--&&he(X[oe],oe,X)!==!1;);return X}function _a(X,he){for(var oe=-1,qe=X==null?0:X.length;++oe<qe;)if(!he(X[oe],oe,X))return!1;return!0}function ll(X,he){for(var oe=-1,qe=X==null?0:X.length,at=0,Tt=[];++oe<qe;){var cn=X[oe];he(cn,oe,X)&&(Tt[at++]=cn)}return Tt}function pa(X,he){var oe=X==null?0:X.length;return!!oe&&xl(X,he,0)>-1}function As(X,he,oe){for(var qe=-1,at=X==null?0:X.length;++qe<at;)if(oe(he,X[qe]))return!0;return!1}function Yt(X,he){for(var oe=-1,qe=X==null?0:X.length,at=Array(qe);++oe<qe;)at[oe]=he(X[oe],oe,X);return at}function rl(X,he){for(var oe=-1,qe=he.length,at=X.length;++oe<qe;)X[at+oe]=he[oe];return X}function Es(X,he,oe,qe){var at=-1,Tt=X==null?0:X.length;for(qe&&Tt&&(oe=X[++at]);++at<Tt;)oe=he(oe,X[at],at,X);return oe}function Pp(X,he,oe,qe){var at=X==null?0:X.length;for(qe&&at&&(oe=X[--at]);at--;)oe=he(oe,X[at],at,X);return oe}function Rs(X,he){for(var oe=-1,qe=X==null?0:X.length;++oe<qe;)if(he(X[oe],oe,X))return!0;return!1}var Ip=Ds("length");function Np(X){return X.split("")}function Tp(X){return X.match(Xi)||[]}function jo(X,he,oe){var qe;return oe(X,function(at,Tt,cn){if(he(at,Tt,cn))return qe=Tt,!1}),qe}function ma(X,he,oe,qe){for(var at=X.length,Tt=oe+(qe?1:-1);qe?Tt--:++Tt<at;)if(he(X[Tt],Tt,X))return Tt;return-1}function xl(X,he,oe){return he===he?Hp(X,he,oe):ma(X,Yo,oe)}function Lp(X,he,oe,qe){for(var at=oe-1,Tt=X.length;++at<Tt;)if(qe(X[at],he))return at;return-1}function Yo(X){return X!==X}function Qo(X,he){var oe=X==null?0:X.length;return oe?Os(X,he)/oe:Pe}function Ds(X){return function(he){return he==null?t:he[X]}}function Vs(X){return function(he){return X==null?t:X[he]}}function Zo(X,he,oe,qe,at){return at(X,function(Tt,cn,Bt){oe=qe?(qe=!1,Tt):he(oe,Tt,cn,Bt)}),oe}function Ap(X,he){var oe=X.length;for(X.sort(he);oe--;)X[oe]=X[oe].value;return X}function Os(X,he){for(var oe,qe=-1,at=X.length;++qe<at;){var Tt=he(X[qe]);Tt!==t&&(oe=oe===t?Tt:oe+Tt)}return oe}function Ms(X,he){for(var oe=-1,qe=Array(X);++oe<X;)qe[oe]=he(oe);return qe}function Ep(X,he){return Yt(he,function(oe){return[oe,X[oe]]})}function Xo(X){return X&&X.slice(0,tu(X)+1).replace(ai,"")}function Gn(X){return function(he){return X(he)}}function Fs(X,he){return Yt(he,function(oe){return X[oe]})}function Dr(X,he){return X.has(he)}function $o(X,he){for(var oe=-1,qe=X.length;++oe<qe&&xl(he,X[oe],0)>-1;);return oe}function xo(X,he){for(var oe=X.length;oe--&&xl(he,X[oe],0)>-1;);return oe}function Rp(X,he){for(var oe=X.length,qe=0;oe--;)X[oe]===he&&++qe;return qe}var Dp=Vs(He),Vp=Vs(It);function Op(X){return"\\"+Ar[X]}function Mp(X,he){return X==null?t:X[he]}function er(X){return B.test(X)}function Fp(X){return ue.test(X)}function Up(X){for(var he,oe=[];!(he=X.next()).done;)oe.push(he.value);return oe}function Us(X){var he=-1,oe=Array(X.size);return X.forEach(function(qe,at){oe[++he]=[at,qe]}),oe}function eu(X,he){return function(oe){return X(he(oe))}}function al(X,he){for(var oe=-1,qe=X.length,at=0,Tt=[];++oe<qe;){var cn=X[oe];(cn===he||cn===d)&&(X[oe]=d,Tt[at++]=oe)}return Tt}function ba(X){var he=-1,oe=Array(X.size);return X.forEach(function(qe){oe[++he]=qe}),oe}function Bp(X){var he=-1,oe=Array(X.size);return X.forEach(function(qe){oe[++he]=[qe,qe]}),oe}function Hp(X,he,oe){for(var qe=oe-1,at=X.length;++qe<at;)if(X[qe]===he)return qe;return-1}function Wp(X,he,oe){for(var qe=oe+1;qe--;)if(X[qe]===he)return qe;return qe}function tr(X){return er(X)?zp(X):Ip(X)}function si(X){return er(X)?Gp(X):Np(X)}function tu(X){for(var he=X.length;he--&&Ri.test(X.charAt(he)););return he}var qp=Vs(jt);function zp(X){for(var he=Lr.lastIndex=0;Lr.test(X);)++he;return he}function Gp(X){return X.match(Lr)||[]}function Kp(X){return X.match(Ts)||[]}var Jp=function X(he){he=he==null?We:nr.defaults(We.Object(),he,nr.pick(We,Re));var oe=he.Array,qe=he.Date,at=he.Error,Tt=he.Function,cn=he.Math,Bt=he.Object,Bs=he.RegExp,jp=he.String,$n=he.TypeError,va=oe.prototype,Yp=Tt.prototype,ir=Bt.prototype,wa=he["__core-js_shared__"],ka=Yp.toString,Rt=ir.hasOwnProperty,Qp=0,nu=function(){var s=/[^.]+$/.exec(wa&&wa.keys&&wa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),Sa=ir.toString,Zp=ka.call(Bt),Xp=We._,$p=Bs("^"+ka.call(Rt).replace(Ei,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ca=fn?he.Buffer:t,sl=he.Symbol,ya=he.Uint8Array,iu=Ca?Ca.allocUnsafe:t,Pa=eu(Bt.getPrototypeOf,Bt),lu=Bt.create,ru=ir.propertyIsEnumerable,Ia=va.splice,au=sl?sl.isConcatSpreadable:t,Vr=sl?sl.iterator:t,Vl=sl?sl.toStringTag:t,Na=function(){try{var s=Bl(Bt,"defineProperty");return s({},"",{}),s}catch{}}(),xp=he.clearTimeout!==We.clearTimeout&&he.clearTimeout,em=qe&&qe.now!==We.Date.now&&qe.now,tm=he.setTimeout!==We.setTimeout&&he.setTimeout,Ta=cn.ceil,La=cn.floor,Hs=Bt.getOwnPropertySymbols,nm=Ca?Ca.isBuffer:t,su=he.isFinite,im=va.join,lm=eu(Bt.keys,Bt),dn=cn.max,kn=cn.min,rm=qe.now,am=he.parseInt,ou=cn.random,sm=va.reverse,Ws=Bl(he,"DataView"),Or=Bl(he,"Map"),qs=Bl(he,"Promise"),lr=Bl(he,"Set"),Mr=Bl(he,"WeakMap"),Fr=Bl(Bt,"create"),Aa=Mr&&new Mr,rr={},om=Hl(Ws),um=Hl(Or),fm=Hl(qs),cm=Hl(lr),dm=Hl(Mr),Ea=sl?sl.prototype:t,Ur=Ea?Ea.valueOf:t,uu=Ea?Ea.toString:t;function M(s){if(en(s)&&!st(s)&&!(s instanceof bt)){if(s instanceof xn)return s;if(Rt.call(s,"__wrapped__"))return cf(s)}return new xn(s)}var ar=function(){function s(){}return function(u){if(!Qt(u))return{};if(lu)return lu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Ra(){}function xn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:Pl,evaluate:Il,interpolate:Zi,variable:"",imports:{_:M}},M.prototype=Ra.prototype,M.prototype.constructor=M,xn.prototype=ar(Ra.prototype),xn.prototype.constructor=xn;function bt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=se,this.__views__=[]}function hm(){var s=new bt(this.__wrapped__);return s.__actions__=Vn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Vn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Vn(this.__views__),s}function gm(){if(this.__filtered__){var s=new bt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function _m(){var s=this.__wrapped__.value(),u=this.__dir__,_=st(s),S=u<0,A=_?s.length:0,F=N1(0,A,this.__views__),q=F.start,j=F.end,x=j-q,_e=S?j:q-1,pe=this.__iteratees__,Ce=pe.length,Oe=0,Ke=kn(x,this.__takeCount__);if(!_||!S&&A==x&&Ke==x)return Du(s,this.__actions__);var xe=[];e:for(;x--&&Oe<Ke;){_e+=u;for(var ct=-1,et=s[_e];++ct<Ce;){var mt=pe[ct],kt=mt.iteratee,jn=mt.type,Nn=kt(et);if(jn==G)et=Nn;else if(!Nn){if(jn==Q)continue e;break e}}xe[Oe++]=et}return xe}bt.prototype=ar(Ra.prototype),bt.prototype.constructor=bt;function Ol(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function pm(){this.__data__=Fr?Fr(null):{},this.size=0}function mm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function bm(s){var u=this.__data__;if(Fr){var _=u[s];return _===c?t:_}return Rt.call(u,s)?u[s]:t}function vm(s){var u=this.__data__;return Fr?u[s]!==t:Rt.call(u,s)}function wm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Fr&&u===t?c:u,this}Ol.prototype.clear=pm,Ol.prototype.delete=mm,Ol.prototype.get=bm,Ol.prototype.has=vm,Ol.prototype.set=wm;function Mi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function km(){this.__data__=[],this.size=0}function Sm(s){var u=this.__data__,_=Da(u,s);if(_<0)return!1;var S=u.length-1;return _==S?u.pop():Ia.call(u,_,1),--this.size,!0}function Cm(s){var u=this.__data__,_=Da(u,s);return _<0?t:u[_][1]}function ym(s){return Da(this.__data__,s)>-1}function Pm(s,u){var _=this.__data__,S=Da(_,s);return S<0?(++this.size,_.push([s,u])):_[S][1]=u,this}Mi.prototype.clear=km,Mi.prototype.delete=Sm,Mi.prototype.get=Cm,Mi.prototype.has=ym,Mi.prototype.set=Pm;function Fi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function Im(){this.size=0,this.__data__={hash:new Ol,map:new(Or||Mi),string:new Ol}}function Nm(s){var u=Ka(this,s).delete(s);return this.size-=u?1:0,u}function Tm(s){return Ka(this,s).get(s)}function Lm(s){return Ka(this,s).has(s)}function Am(s,u){var _=Ka(this,s),S=_.size;return _.set(s,u),this.size+=_.size==S?0:1,this}Fi.prototype.clear=Im,Fi.prototype.delete=Nm,Fi.prototype.get=Tm,Fi.prototype.has=Lm,Fi.prototype.set=Am;function Ml(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Fi;++u<_;)this.add(s[u])}function Em(s){return this.__data__.set(s,c),this}function Rm(s){return this.__data__.has(s)}Ml.prototype.add=Ml.prototype.push=Em,Ml.prototype.has=Rm;function oi(s){var u=this.__data__=new Mi(s);this.size=u.size}function Dm(){this.__data__=new Mi,this.size=0}function Vm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Om(s){return this.__data__.get(s)}function Mm(s){return this.__data__.has(s)}function Fm(s,u){var _=this.__data__;if(_ instanceof Mi){var S=_.__data__;if(!Or||S.length<l-1)return S.push([s,u]),this.size=++_.size,this;_=this.__data__=new Fi(S)}return _.set(s,u),this.size=_.size,this}oi.prototype.clear=Dm,oi.prototype.delete=Vm,oi.prototype.get=Om,oi.prototype.has=Mm,oi.prototype.set=Fm;function fu(s,u){var _=st(s),S=!_&&Wl(s),A=!_&&!S&&dl(s),F=!_&&!S&&!A&&fr(s),q=_||S||A||F,j=q?Ms(s.length,jp):[],x=j.length;for(var _e in s)(u||Rt.call(s,_e))&&!(q&&(_e=="length"||A&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Wi(_e,x)))&&j.push(_e);return j}function cu(s){var u=s.length;return u?s[xs(0,u-1)]:t}function Um(s,u){return Ja(Vn(s),Fl(u,0,s.length))}function Bm(s){return Ja(Vn(s))}function zs(s,u,_){(_!==t&&!ui(s[u],_)||_===t&&!(u in s))&&Ui(s,u,_)}function Br(s,u,_){var S=s[u];(!(Rt.call(s,u)&&ui(S,_))||_===t&&!(u in s))&&Ui(s,u,_)}function Da(s,u){for(var _=s.length;_--;)if(ui(s[_][0],u))return _;return-1}function Hm(s,u,_,S){return ol(s,function(A,F,q){u(S,A,_(A),q)}),S}function du(s,u){return s&&mi(u,pn(u),s)}function Wm(s,u){return s&&mi(u,Mn(u),s)}function Ui(s,u,_){u=="__proto__"&&Na?Na(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Gs(s,u){for(var _=-1,S=u.length,A=oe(S),F=s==null;++_<S;)A[_]=F?t:Po(s,u[_]);return A}function Fl(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function ei(s,u,_,S,A,F){var q,j=u&g,x=u&p,_e=u&b;if(_&&(q=A?_(s,S,A,F):_(s)),q!==t)return q;if(!Qt(s))return s;var pe=st(s);if(pe){if(q=L1(s),!j)return Vn(s,q)}else{var Ce=Sn(s),Oe=Ce==gt||Ce==ge;if(dl(s))return Mu(s,j);if(Ce==on||Ce==ye||Oe&&!A){if(q=x||Oe?{}:tf(s),!j)return x?b1(s,Wm(q,s)):m1(s,du(q,s))}else{if(!de[Ce])return A?s:{};q=A1(s,Ce,j)}}F||(F=new oi);var Ke=F.get(s);if(Ke)return Ke;F.set(s,q),Ef(s)?s.forEach(function(et){q.add(ei(et,u,_,et,s,F))}):Lf(s)&&s.forEach(function(et,mt){q.set(mt,ei(et,u,_,mt,s,F))});var xe=_e?x?fo:uo:x?Mn:pn,ct=pe?t:xe(s);return Ut(ct||s,function(et,mt){ct&&(mt=et,et=s[mt]),Br(q,mt,ei(et,u,_,mt,s,F))}),q}function qm(s){var u=pn(s);return function(_){return hu(_,s,u)}}function hu(s,u,_){var S=_.length;if(s==null)return!S;for(s=Bt(s);S--;){var A=_[S],F=u[A],q=s[A];if(q===t&&!(A in s)||!F(q))return!1}return!0}function gu(s,u,_){if(typeof s!="function")throw new $n(a);return Jr(function(){s.apply(t,_)},u)}function Hr(s,u,_,S){var A=-1,F=pa,q=!0,j=s.length,x=[],_e=u.length;if(!j)return x;_&&(u=Yt(u,Gn(_))),S?(F=As,q=!1):u.length>=l&&(F=Dr,q=!1,u=new Ml(u));e:for(;++A<j;){var pe=s[A],Ce=_==null?pe:_(pe);if(pe=S||pe!==0?pe:0,q&&Ce===Ce){for(var Oe=_e;Oe--;)if(u[Oe]===Ce)continue e;x.push(pe)}else F(u,Ce,S)||x.push(pe)}return x}var ol=Wu(pi),_u=Wu(Js,!0);function zm(s,u){var _=!0;return ol(s,function(S,A,F){return _=!!u(S,A,F),_}),_}function Va(s,u,_){for(var S=-1,A=s.length;++S<A;){var F=s[S],q=u(F);if(q!=null&&(j===t?q===q&&!Jn(q):_(q,j)))var j=q,x=F}return x}function Gm(s,u,_,S){var A=s.length;for(_=ft(_),_<0&&(_=-_>A?0:A+_),S=S===t||S>A?A:ft(S),S<0&&(S+=A),S=_>S?0:Df(S);_<S;)s[_++]=u;return s}function pu(s,u){var _=[];return ol(s,function(S,A,F){u(S,A,F)&&_.push(S)}),_}function mn(s,u,_,S,A){var F=-1,q=s.length;for(_||(_=R1),A||(A=[]);++F<q;){var j=s[F];u>0&&_(j)?u>1?mn(j,u-1,_,S,A):rl(A,j):S||(A[A.length]=j)}return A}var Ks=qu(),mu=qu(!0);function pi(s,u){return s&&Ks(s,u,pn)}function Js(s,u){return s&&mu(s,u,pn)}function Oa(s,u){return ll(u,function(_){return qi(s[_])})}function Ul(s,u){u=fl(u,s);for(var _=0,S=u.length;s!=null&&_<S;)s=s[bi(u[_++])];return _&&_==S?s:t}function bu(s,u,_){var S=u(s);return st(s)?S:rl(S,_(s))}function Pn(s){return s==null?s===t?qn:An:Vl&&Vl in Bt(s)?I1(s):B1(s)}function js(s,u){return s>u}function Km(s,u){return s!=null&&Rt.call(s,u)}function Jm(s,u){return s!=null&&u in Bt(s)}function jm(s,u,_){return s>=kn(u,_)&&s<dn(u,_)}function Ys(s,u,_){for(var S=_?As:pa,A=s[0].length,F=s.length,q=F,j=oe(F),x=1/0,_e=[];q--;){var pe=s[q];q&&u&&(pe=Yt(pe,Gn(u))),x=kn(pe.length,x),j[q]=!_&&(u||A>=120&&pe.length>=120)?new Ml(q&&pe):t}pe=s[0];var Ce=-1,Oe=j[0];e:for(;++Ce<A&&_e.length<x;){var Ke=pe[Ce],xe=u?u(Ke):Ke;if(Ke=_||Ke!==0?Ke:0,!(Oe?Dr(Oe,xe):S(_e,xe,_))){for(q=F;--q;){var ct=j[q];if(!(ct?Dr(ct,xe):S(s[q],xe,_)))continue e}Oe&&Oe.push(xe),_e.push(Ke)}}return _e}function Ym(s,u,_,S){return pi(s,function(A,F,q){u(S,_(A),F,q)}),S}function Wr(s,u,_){u=fl(u,s),s=af(s,u);var S=s==null?s:s[bi(ni(u))];return S==null?t:_n(S,s,_)}function vu(s){return en(s)&&Pn(s)==ye}function Qm(s){return en(s)&&Pn(s)==ri}function Zm(s){return en(s)&&Pn(s)==De}function qr(s,u,_,S,A){return s===u?!0:s==null||u==null||!en(s)&&!en(u)?s!==s&&u!==u:Xm(s,u,_,S,qr,A)}function Xm(s,u,_,S,A,F){var q=st(s),j=st(u),x=q?Le:Sn(s),_e=j?Le:Sn(u);x=x==ye?on:x,_e=_e==ye?on:_e;var pe=x==on,Ce=_e==on,Oe=x==_e;if(Oe&&dl(s)){if(!dl(u))return!1;q=!0,pe=!1}if(Oe&&!pe)return F||(F=new oi),q||fr(s)?$u(s,u,_,S,A,F):y1(s,u,x,_,S,A,F);if(!(_&m)){var Ke=pe&&Rt.call(s,"__wrapped__"),xe=Ce&&Rt.call(u,"__wrapped__");if(Ke||xe){var ct=Ke?s.value():s,et=xe?u.value():u;return F||(F=new oi),A(ct,et,_,S,F)}}return Oe?(F||(F=new oi),P1(s,u,_,S,A,F)):!1}function $m(s){return en(s)&&Sn(s)==Ze}function Qs(s,u,_,S){var A=_.length,F=A,q=!S;if(s==null)return!F;for(s=Bt(s);A--;){var j=_[A];if(q&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++A<F;){j=_[A];var x=j[0],_e=s[x],pe=j[1];if(q&&j[2]){if(_e===t&&!(x in s))return!1}else{var Ce=new oi;if(S)var Oe=S(_e,pe,x,s,u,Ce);if(!(Oe===t?qr(pe,_e,m|v,S,Ce):Oe))return!1}}return!0}function wu(s){if(!Qt(s)||V1(s))return!1;var u=qi(s)?$p:pt;return u.test(Hl(s))}function xm(s){return en(s)&&Pn(s)==ut}function e1(s){return en(s)&&Sn(s)==it}function t1(s){return en(s)&&$a(s.length)&&!!Ne[Pn(s)]}function ku(s){return typeof s=="function"?s:s==null?Fn:typeof s=="object"?st(s)?yu(s[0],s[1]):Cu(s):Gf(s)}function Zs(s){if(!Kr(s))return lm(s);var u=[];for(var _ in Bt(s))Rt.call(s,_)&&_!="constructor"&&u.push(_);return u}function n1(s){if(!Qt(s))return U1(s);var u=Kr(s),_=[];for(var S in s)S=="constructor"&&(u||!Rt.call(s,S))||_.push(S);return _}function Xs(s,u){return s<u}function Su(s,u){var _=-1,S=On(s)?oe(s.length):[];return ol(s,function(A,F,q){S[++_]=u(A,F,q)}),S}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(bi(s),u):function(_){var S=Po(_,s);return S===t&&S===u?Io(_,s):qr(u,S,m|v)}}function Ma(s,u,_,S,A){s!==u&&Ks(u,function(F,q){if(A||(A=new oi),Qt(F))i1(s,u,q,_,Ma,S,A);else{var j=S?S(mo(s,q),F,q+"",s,u,A):t;j===t&&(j=F),zs(s,q,j)}},Mn)}function i1(s,u,_,S,A,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,Ce=pe===t;if(Ce){var Oe=st(x),Ke=!Oe&&dl(x),xe=!Oe&&!Ke&&fr(x);pe=x,Oe||Ke||xe?st(j)?pe=j:tn(j)?pe=Vn(j):Ke?(Ce=!1,pe=Mu(x,!0)):xe?(Ce=!1,pe=Fu(x,!0)):pe=[]:jr(x)||Wl(x)?(pe=j,Wl(j)?pe=Vf(j):(!Qt(j)||qi(j))&&(pe=tf(x))):Ce=!1}Ce&&(q.set(x,pe),A(pe,x,S,F,q),q.delete(x)),zs(s,_,pe)}function Pu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Wi(u,_)?s[u]:t}function Iu(s,u,_){u.length?u=Yt(u,function(F){return st(F)?function(q){return Ul(q,F.length===1?F[0]:F)}:F}):u=[Fn];var S=-1;u=Yt(u,Gn($e()));var A=Su(s,function(F,q,j){var x=Yt(u,function(_e){return _e(F)});return{criteria:x,index:++S,value:F}});return Ap(A,function(F,q){return p1(F,q,_)})}function l1(s,u){return Nu(s,u,function(_,S){return Io(s,S)})}function Nu(s,u,_){for(var S=-1,A=u.length,F={};++S<A;){var q=u[S],j=Ul(s,q);_(j,q)&&zr(F,fl(q,s),j)}return F}function r1(s){return function(u){return Ul(u,s)}}function $s(s,u,_,S){var A=S?Lp:xl,F=-1,q=u.length,j=s;for(s===u&&(u=Vn(u)),_&&(j=Yt(s,Gn(_)));++F<q;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=A(j,pe,x,S))>-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,S=_-1;_--;){var A=u[_];if(_==S||A!==F){var F=A;Wi(A)?Ia.call(s,A,1):no(s,A)}}return s}function xs(s,u){return s+La(ou()*(u-s+1))}function a1(s,u,_,S){for(var A=-1,F=dn(Ta((u-s)/(_||1)),0),q=oe(F);F--;)q[S?F:++A]=s,s+=_;return q}function eo(s,u){var _="";if(!s||u<1||u>ce)return _;do u%2&&(_+=s),u=La(u/2),u&&(s+=s);while(u);return _}function dt(s,u){return bo(rf(s,u,Fn),s+"")}function s1(s){return cu(cr(s))}function o1(s,u){var _=cr(s);return Ja(_,Fl(u,0,_.length))}function zr(s,u,_,S){if(!Qt(s))return s;u=fl(u,s);for(var A=-1,F=u.length,q=F-1,j=s;j!=null&&++A<F;){var x=bi(u[A]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(A!=q){var pe=j[x];_e=S?S(pe,x,j):t,_e===t&&(_e=Qt(pe)?pe:Wi(u[A+1])?[]:{})}Br(j,x,_e),j=j[x]}return s}var Lu=Aa?function(s,u){return Aa.set(s,u),s}:Fn,u1=Na?function(s,u){return Na(s,"toString",{configurable:!0,enumerable:!1,value:To(u),writable:!0})}:Fn;function f1(s){return Ja(cr(s))}function ti(s,u,_){var S=-1,A=s.length;u<0&&(u=-u>A?0:A+u),_=_>A?A:_,_<0&&(_+=A),A=u>_?0:_-u>>>0,u>>>=0;for(var F=oe(A);++S<A;)F[S]=s[S+u];return F}function c1(s,u){var _;return ol(s,function(S,A,F){return _=u(S,A,F),!_}),!!_}function Fa(s,u,_){var S=0,A=s==null?S:s.length;if(typeof u=="number"&&u===u&&A<=we){for(;S<A;){var F=S+A>>>1,q=s[F];q!==null&&!Jn(q)&&(_?q<=u:q<u)?S=F+1:A=F}return A}return to(s,u,Fn,_)}function to(s,u,_,S){var A=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,j=u===null,x=Jn(u),_e=u===t;A<F;){var pe=La((A+F)/2),Ce=_(s[pe]),Oe=Ce!==t,Ke=Ce===null,xe=Ce===Ce,ct=Jn(Ce);if(q)var et=S||xe;else _e?et=xe&&(S||Oe):j?et=xe&&Oe&&(S||!Ke):x?et=xe&&Oe&&!Ke&&(S||!ct):Ke||ct?et=!1:et=S?Ce<=u:Ce<u;et?A=pe+1:F=pe}return kn(F,re)}function Au(s,u){for(var _=-1,S=s.length,A=0,F=[];++_<S;){var q=s[_],j=u?u(q):q;if(!_||!ui(j,x)){var x=j;F[A++]=q===0?0:q}}return F}function Eu(s){return typeof s=="number"?s:Jn(s)?Pe:+s}function Kn(s){if(typeof s=="string")return s;if(st(s))return Yt(s,Kn)+"";if(Jn(s))return uu?uu.call(s):"";var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function ul(s,u,_){var S=-1,A=pa,F=s.length,q=!0,j=[],x=j;if(_)q=!1,A=As;else if(F>=l){var _e=u?null:S1(s);if(_e)return ba(_e);q=!1,A=Dr,x=new Ml}else x=u?[]:j;e:for(;++S<F;){var pe=s[S],Ce=u?u(pe):pe;if(pe=_||pe!==0?pe:0,q&&Ce===Ce){for(var Oe=x.length;Oe--;)if(x[Oe]===Ce)continue e;u&&x.push(Ce),j.push(pe)}else A(x,Ce,_)||(x!==j&&x.push(Ce),j.push(pe))}return j}function no(s,u){return u=fl(u,s),s=af(s,u),s==null||delete s[bi(ni(u))]}function Ru(s,u,_,S){return zr(s,u,_(Ul(s,u)),S)}function Ua(s,u,_,S){for(var A=s.length,F=S?A:-1;(S?F--:++F<A)&&u(s[F],F,s););return _?ti(s,S?0:F,S?F+1:A):ti(s,S?F+1:0,S?A:F)}function Du(s,u){var _=s;return _ instanceof bt&&(_=_.value()),Es(u,function(S,A){return A.func.apply(A.thisArg,rl([S],A.args))},_)}function io(s,u,_){var S=s.length;if(S<2)return S?ul(s[0]):[];for(var A=-1,F=oe(S);++A<S;)for(var q=s[A],j=-1;++j<S;)j!=A&&(F[A]=Hr(F[A]||q,s[j],u,_));return ul(mn(F,1),u,_)}function Vu(s,u,_){for(var S=-1,A=s.length,F=u.length,q={};++S<A;){var j=S<F?u[S]:t;_(q,s[S],j)}return q}function lo(s){return tn(s)?s:[]}function ro(s){return typeof s=="function"?s:Fn}function fl(s,u){return st(s)?s:_o(s,u)?[s]:ff(At(s))}var d1=dt;function cl(s,u,_){var S=s.length;return _=_===t?S:_,!u&&_>=S?s:ti(s,u,_)}var Ou=xp||function(s){return We.clearTimeout(s)};function Mu(s,u){if(u)return s.slice();var _=s.length,S=iu?iu(_):new s.constructor(_);return s.copy(S),S}function ao(s){var u=new s.constructor(s.byteLength);return new ya(u).set(new ya(s)),u}function h1(s,u){var _=u?ao(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function g1(s){var u=new s.constructor(s.source,je.exec(s));return u.lastIndex=s.lastIndex,u}function _1(s){return Ur?Bt(Ur.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,S=s===null,A=s===s,F=Jn(s),q=u!==t,j=u===null,x=u===u,_e=Jn(u);if(!j&&!_e&&!F&&s>u||F&&q&&x&&!j&&!_e||S&&q&&x||!_&&x||!A)return 1;if(!S&&!F&&!_e&&s<u||_e&&_&&A&&!S&&!F||j&&_&&A||!q&&A||!x)return-1}return 0}function p1(s,u,_){for(var S=-1,A=s.criteria,F=u.criteria,q=A.length,j=_.length;++S<q;){var x=Uu(A[S],F[S]);if(x){if(S>=j)return x;var _e=_[S];return x*(_e=="desc"?-1:1)}}return s.index-u.index}function Bu(s,u,_,S){for(var A=-1,F=s.length,q=_.length,j=-1,x=u.length,_e=dn(F-q,0),pe=oe(x+_e),Ce=!S;++j<x;)pe[j]=u[j];for(;++A<q;)(Ce||A<F)&&(pe[_[A]]=s[A]);for(;_e--;)pe[j++]=s[A++];return pe}function Hu(s,u,_,S){for(var A=-1,F=s.length,q=-1,j=_.length,x=-1,_e=u.length,pe=dn(F-j,0),Ce=oe(pe+_e),Oe=!S;++A<pe;)Ce[A]=s[A];for(var Ke=A;++x<_e;)Ce[Ke+x]=u[x];for(;++q<j;)(Oe||A<F)&&(Ce[Ke+_[q]]=s[A++]);return Ce}function Vn(s,u){var _=-1,S=s.length;for(u||(u=oe(S));++_<S;)u[_]=s[_];return u}function mi(s,u,_,S){var A=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var j=u[F],x=S?S(_[j],s[j],j,_,s):t;x===t&&(x=s[j]),A?Ui(_,j,x):Br(_,j,x)}return _}function m1(s,u){return mi(s,go(s),u)}function b1(s,u){return mi(s,xu(s),u)}function Ba(s,u){return function(_,S){var A=st(_)?Dl:Hm,F=u?u():{};return A(_,s,$e(S,2),F)}}function sr(s){return dt(function(u,_){var S=-1,A=_.length,F=A>1?_[A-1]:t,q=A>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(A--,F):t,q&&In(_[0],_[1],q)&&(F=A<3?t:F,A=1),u=Bt(u);++S<A;){var j=_[S];j&&s(u,j,S,F)}return u})}function Wu(s,u){return function(_,S){if(_==null)return _;if(!On(_))return s(_,S);for(var A=_.length,F=u?A:-1,q=Bt(_);(u?F--:++F<A)&&S(q[F],F,q)!==!1;);return _}}function qu(s){return function(u,_,S){for(var A=-1,F=Bt(u),q=S(u),j=q.length;j--;){var x=q[s?j:++A];if(_(F[x],x,F)===!1)break}return u}}function v1(s,u,_){var S=u&C,A=Gr(s);function F(){var q=this&&this!==We&&this instanceof F?A:s;return q.apply(S?_:this,arguments)}return F}function zu(s){return function(u){u=At(u);var _=er(u)?si(u):t,S=_?_[0]:u.charAt(0),A=_?cl(_,1).join(""):u.slice(1);return S[s]()+A}}function or(s){return function(u){return Es(qf(Wf(u).replace(Is,"")),s,"")}}function Gr(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 _=ar(s.prototype),S=s.apply(_,u);return Qt(S)?S:_}}function w1(s,u,_){var S=Gr(s);function A(){for(var F=arguments.length,q=oe(F),j=F,x=ur(A);j--;)q[j]=arguments[j];var _e=F<3&&q[0]!==x&&q[F-1]!==x?[]:al(q,x);if(F-=_e.length,F<_)return Yu(s,u,Ha,A.placeholder,t,q,_e,t,t,_-F);var pe=this&&this!==We&&this instanceof A?S:s;return _n(pe,this,q)}return A}function Gu(s){return function(u,_,S){var A=Bt(u);if(!On(u)){var F=$e(_,3);u=pn(u),_=function(j){return F(A[j],j,A)}}var q=s(u,_,S);return q>-1?A[F?u[q]:q]:t}}function Ku(s){return Hi(function(u){var _=u.length,S=_,A=xn.prototype.thru;for(s&&u.reverse();S--;){var F=u[S];if(typeof F!="function")throw new $n(a);if(A&&!q&&Ga(F)=="wrapper")var q=new xn([],!0)}for(S=q?S:_;++S<_;){F=u[S];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&&st(pe))return q.plant(pe).value();for(var Ce=0,Oe=_?u[Ce].apply(this,_e):pe;++Ce<_;)Oe=u[Ce].call(this,Oe);return Oe}})}function Ha(s,u,_,S,A,F,q,j,x,_e){var pe=u&H,Ce=u&C,Oe=u&y,Ke=u&(N|I),xe=u&O,ct=Oe?t:Gr(s);function et(){for(var mt=arguments.length,kt=oe(mt),jn=mt;jn--;)kt[jn]=arguments[jn];if(Ke)var Nn=ur(et),Yn=Rp(kt,Nn);if(S&&(kt=Bu(kt,S,A,Ke)),F&&(kt=Hu(kt,F,q,Ke)),mt-=Yn,Ke&&mt<_e){var nn=al(kt,Nn);return Yu(s,u,Ha,et.placeholder,_,kt,nn,j,x,_e-mt)}var fi=Ce?_:this,Gi=Oe?fi[s]:s;return mt=kt.length,j?kt=H1(kt,j):xe&&mt>1&&kt.reverse(),pe&&x<mt&&(kt.length=x),this&&this!==We&&this instanceof et&&(Gi=ct||Gr(Gi)),Gi.apply(fi,kt)}return et}function Ju(s,u){return function(_,S){return Ym(_,s,u(S),{})}}function Wa(s,u){return function(_,S){var A;if(_===t&&S===t)return u;if(_!==t&&(A=_),S!==t){if(A===t)return S;typeof _=="string"||typeof S=="string"?(_=Kn(_),S=Kn(S)):(_=Eu(_),S=Eu(S)),A=s(_,S)}return A}}function so(s){return Hi(function(u){return u=Yt(u,Gn($e())),dt(function(_){var S=this;return s(u,function(A){return _n(A,S,_)})})})}function qa(s,u){u=u===t?" ":Kn(u);var _=u.length;if(_<2)return _?eo(u,s):u;var S=eo(u,Ta(s/tr(u)));return er(u)?cl(si(S),0,s).join(""):S.slice(0,s)}function k1(s,u,_,S){var A=u&C,F=Gr(s);function q(){for(var j=-1,x=arguments.length,_e=-1,pe=S.length,Ce=oe(pe+x),Oe=this&&this!==We&&this instanceof q?F:s;++_e<pe;)Ce[_e]=S[_e];for(;x--;)Ce[_e++]=arguments[++j];return _n(Oe,A?_:this,Ce)}return q}function ju(s){return function(u,_,S){return S&&typeof S!="number"&&In(u,_,S)&&(_=S=t),u=zi(u),_===t?(_=u,u=0):_=zi(_),S=S===t?u<_?1:-1:zi(S),a1(u,_,S,s)}}function za(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=ii(u),_=ii(_)),s(u,_)}}function Yu(s,u,_,S,A,F,q,j,x,_e){var pe=u&N,Ce=pe?q:t,Oe=pe?t:q,Ke=pe?F:t,xe=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=-4);var ct=[s,u,A,Ke,Ce,xe,Oe,j,x,_e],et=_.apply(t,ct);return po(s)&&sf(et,ct),et.placeholder=S,of(et,s,u)}function oo(s){var u=cn[s];return function(_,S){if(_=ii(_),S=S==null?0:kn(ft(S),292),S&&su(_)){var A=(At(_)+"e").split("e"),F=u(A[0]+"e"+(+A[1]+S));return A=(At(F)+"e").split("e"),+(A[0]+"e"+(+A[1]-S))}return u(_)}}var S1=lr&&1/ba(new lr([,-0]))[1]==ae?function(s){return new lr(s)}:Eo;function Qu(s){return function(u){var _=Sn(u);return _==Ze?Us(u):_==it?Bp(u):Ep(u,s(u))}}function Bi(s,u,_,S,A,F,q,j){var x=u&y;if(!x&&typeof s!="function")throw new $n(a);var _e=S?S.length:0;if(_e||(u&=-97,S=A=t),q=q===t?q:dn(ft(q),0),j=j===t?j:ft(j),_e-=A?A.length:0,u&E){var pe=S,Ce=A;S=A=t}var Oe=x?t:co(s),Ke=[s,u,_,S,A,pe,Ce,F,q,j];if(Oe&&F1(Ke,Oe),s=Ke[0],u=Ke[1],_=Ke[2],S=Ke[3],A=Ke[4],j=Ke[9]=Ke[9]===t?x?0:s.length:dn(Ke[9]-_e,0),!j&&u&(N|I)&&(u&=-25),!u||u==C)var xe=v1(s,u,_);else u==N||u==I?xe=w1(s,u,j):(u==V||u==(C|V))&&!A.length?xe=k1(s,u,_,S):xe=Ha.apply(t,Ke);var ct=Oe?Lu:sf;return of(ct(xe,Ke),s,u)}function Zu(s,u,_,S){return s===t||ui(s,ir[_])&&!Rt.call(S,_)?u:s}function Xu(s,u,_,S,A,F){return Qt(s)&&Qt(u)&&(F.set(u,s),Ma(s,u,t,Xu,F),F.delete(u)),s}function C1(s){return jr(s)?t:s}function $u(s,u,_,S,A,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 Ce=-1,Oe=!0,Ke=_&v?new Ml:t;for(F.set(s,u),F.set(u,s);++Ce<j;){var xe=s[Ce],ct=u[Ce];if(S)var et=q?S(ct,xe,Ce,u,s,F):S(xe,ct,Ce,s,u,F);if(et!==t){if(et)continue;Oe=!1;break}if(Ke){if(!Rs(u,function(mt,kt){if(!Dr(Ke,kt)&&(xe===mt||A(xe,mt,_,S,F)))return Ke.push(kt)})){Oe=!1;break}}else if(!(xe===ct||A(xe,ct,_,S,F))){Oe=!1;break}}return F.delete(s),F.delete(u),Oe}function y1(s,u,_,S,A,F,q){switch(_){case $t:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case ri:return!(s.byteLength!=u.byteLength||!F(new ya(s),new ya(u)));case Xe:case De:case Ht:return ui(+s,+u);case rt:return s.name==u.name&&s.message==u.message;case ut:case un:return s==u+"";case Ze:var j=Us;case it:var x=S&m;if(j||(j=ba),s.size!=u.size&&!x)return!1;var _e=q.get(s);if(_e)return _e==u;S|=v,q.set(s,u);var pe=$u(j(s),j(u),S,A,F,q);return q.delete(s),pe;case Gt:if(Ur)return Ur.call(s)==Ur.call(u)}return!1}function P1(s,u,_,S,A,F){var q=_&m,j=uo(s),x=j.length,_e=uo(u),pe=_e.length;if(x!=pe&&!q)return!1;for(var Ce=x;Ce--;){var Oe=j[Ce];if(!(q?Oe in u:Rt.call(u,Oe)))return!1}var Ke=F.get(s),xe=F.get(u);if(Ke&&xe)return Ke==u&&xe==s;var ct=!0;F.set(s,u),F.set(u,s);for(var et=q;++Ce<x;){Oe=j[Ce];var mt=s[Oe],kt=u[Oe];if(S)var jn=q?S(kt,mt,Oe,u,s,F):S(mt,kt,Oe,s,u,F);if(!(jn===t?mt===kt||A(mt,kt,_,S,F):jn)){ct=!1;break}et||(et=Oe=="constructor")}if(ct&&!et){var Nn=s.constructor,Yn=u.constructor;Nn!=Yn&&"constructor"in s&&"constructor"in u&&!(typeof Nn=="function"&&Nn instanceof Nn&&typeof Yn=="function"&&Yn instanceof Yn)&&(ct=!1)}return F.delete(s),F.delete(u),ct}function Hi(s){return bo(rf(s,t,gf),s+"")}function uo(s){return bu(s,pn,go)}function fo(s){return bu(s,Mn,xu)}var co=Aa?function(s){return Aa.get(s)}:Eo;function Ga(s){for(var u=s.name+"",_=rr[u],S=Rt.call(rr,u)?_.length:0;S--;){var A=_[S],F=A.func;if(F==null||F==s)return A.name}return u}function ur(s){var u=Rt.call(M,"placeholder")?M:s;return u.placeholder}function $e(){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 D1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ho(s){for(var u=pn(s),_=u.length;_--;){var S=u[_],A=s[S];u[_]=[S,A,nf(A)]}return u}function Bl(s,u){var _=Mp(s,u);return wu(_)?_:t}function I1(s){var u=Rt.call(s,Vl),_=s[Vl];try{s[Vl]=t;var S=!0}catch{}var A=Sa.call(s);return S&&(u?s[Vl]=_:delete s[Vl]),A}var go=Hs?function(s){return s==null?[]:(s=Bt(s),ll(Hs(s),function(u){return ru.call(s,u)}))}:Ro,xu=Hs?function(s){for(var u=[];s;)rl(u,go(s)),s=Pa(s);return u}:Ro,Sn=Pn;(Ws&&Sn(new Ws(new ArrayBuffer(1)))!=$t||Or&&Sn(new Or)!=Ze||qs&&Sn(qs.resolve())!=an||lr&&Sn(new lr)!=it||Mr&&Sn(new Mr)!=Kt)&&(Sn=function(s){var u=Pn(s),_=u==on?s.constructor:t,S=_?Hl(_):"";if(S)switch(S){case om:return $t;case um:return Ze;case fm:return an;case cm:return it;case dm:return Kt}return u});function N1(s,u,_){for(var S=-1,A=_.length;++S<A;){var F=_[S],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=kn(u,s+q);break;case"takeRight":s=dn(s,u-q);break}}return{start:s,end:u}}function T1(s){var u=s.match(Di);return u?u[1].split(_i):[]}function ef(s,u,_){u=fl(u,s);for(var S=-1,A=u.length,F=!1;++S<A;){var q=bi(u[S]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++S!=A?F:(A=s==null?0:s.length,!!A&&$a(A)&&Wi(q,A)&&(st(s)||Wl(s)))}function L1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&Rt.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function tf(s){return typeof s.constructor=="function"&&!Kr(s)?ar(Pa(s)):{}}function A1(s,u,_){var S=s.constructor;switch(u){case ri:return ao(s);case Xe:case De:return new S(+s);case $t:return h1(s,_);case vn:case Ci:case yi:case wn:case Pi:case Ii:case Ni:case Ti:case Li:return Fu(s,_);case Ze:return new S;case Ht:case un:return new S(s);case ut:return g1(s);case it:return new S;case Gt:return _1(s)}}function E1(s,u){var _=u.length;if(!_)return s;var S=_-1;return u[S]=(_>1?"& ":"")+u[S],u=u.join(_>2?", ":" "),s.replace(gi,`{
|
|
34
34
|
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function V1(s){return st(s)||Wl(s)||!!(au&&s&&s[au])}function Wi(s,u){var _=typeof s;return u=u??ue,!!u&&(_=="number"||_!="symbol"&&zt.test(s))&&s>-1&&s%1==0&&s<u}function Nn(s,u,_){if(!Qt(_))return!1;var S=typeof u;return(S=="number"?Vn(_)&&Wi(u,_.length):S=="string"&&u in _)?oi(_[u],s):!1}function _o(s,u){if(st(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Gn(s)?!0:Tl.test(s)||!Nl.test(s)||u!=null&&s in Bt(u)}function O1(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 bt.prototype))return!1;if(s===_)return!0;var S=co(_);return!!S&&s===S[0]}function M1(s){return!!nu&&nu in s}var F1=wa?qi:Do;function Kr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||ir;return s===_}function nf(s){return s===s&&!Qt(s)}function lf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Bt(_))}}function U1(s){var u=Za(s,function(S){return _.size===h&&_.clear(),S}),_=u.cache;return u}function B1(s,u){var _=s[1],S=u[1],A=_|S,F=A<(C|y|H),z=S==H&&_==I||S==H&&_==D&&s[7].length<=u[8]||S==(H|D)&&u[7].length<=u[8]&&_==I;if(!(F||z))return s;S&C&&(s[2]=u[2],A|=_&C?0:P);var j=u[3];if(j){var $=s[3];s[3]=$?Bu($,j,u[4]):j,s[4]=$?al(s[3],d):u[4]}return j=u[5],j&&($=s[5],s[5]=$?Hu($,j,u[6]):j,s[6]=$?al(s[5],d):u[6]),j=u[7],j&&(s[7]=j),S&H&&(s[8]=s[8]==null?u[8]:kn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=A,s}function H1(s){var u=[];if(s!=null)for(var _ in Bt(s))u.push(_);return u}function W1(s){return Sa.call(s)}function rf(s,u,_){return u=dn(u===t?s.length-1:u,0),function(){for(var S=arguments,A=-1,F=dn(S.length-u,0),z=oe(F);++A<F;)z[A]=S[u+A];A=-1;for(var j=oe(u+1);++A<u;)j[A]=S[A];return j[u]=_(z),_n(s,this,j)}}function af(s,u){return u.length<2?s:Ul(s,xn(u,0,-1))}function q1(s,u){for(var _=s.length,S=kn(u.length,_),A=Dn(s);S--;){var F=u[S];s[S]=Wi(F,_)?A[F]:t}return s}function mo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var sf=uf(Lu),jr=im||function(s,u){return We.setTimeout(s,u)},bo=uf(c1);function of(s,u,_){var S=u+"";return bo(s,D1(S,z1(A1(S),_)))}function uf(s){var u=0,_=0;return function(){var S=sm(),A=ce-(S-_);if(_=S,A>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function ja(s,u){var _=-1,S=s.length,A=S-1;for(u=u===t?S:u;++_<u;){var F=xs(_,A),z=s[F];s[F]=s[_],s[_]=z}return s.length=u,s}var ff=U1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Ll,function(_,S,A,F){u.push(A?F.replace(K,"$1"):S||_)}),u});function bi(s){if(typeof s=="string"||Gn(s))return s;var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function Hl(s){if(s!=null){try{return ka.call(s)}catch{}try{return s+""}catch{}}return""}function z1(s,u){return Ut(je,function(_){var S="_."+_[0];u&_[1]&&!pa(s,S)&&s.push(S)}),s.sort()}function cf(s){if(s instanceof bt)return s.clone();var u=new Xn(s.__wrapped__,s.__chain__);return u.__actions__=Dn(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function G1(s,u,_){(_?Nn(s,u,_):u===t)?u=1:u=dn(ft(u),0);var S=s==null?0:s.length;if(!S||u<1)return[];for(var A=0,F=0,z=oe(Ta(S/u));A<S;)z[F++]=xn(s,A,A+=u);return z}function K1(s){for(var u=-1,_=s==null?0:s.length,S=0,A=[];++u<_;){var F=s[u];F&&(A[S++]=F)}return A}function j1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],S=s;S--;)u[S-1]=arguments[S];return rl(st(_)?Dn(_):[_],mn(u,1))}var J1=dt(function(s,u){return tn(s)?Hr(s,mn(u,1,tn,!0)):[]}),Y1=dt(function(s,u){var _=ei(u);return tn(_)&&(_=t),tn(s)?Hr(s,mn(u,1,tn,!0),$e(_,2)):[]}),Q1=dt(function(s,u){var _=ei(u);return tn(_)&&(_=t),tn(s)?Hr(s,mn(u,1,tn,!0),t,_):[]});function Z1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),xn(s,u<0?0:u,S)):[]}function X1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),u=S-u,xn(s,0,u<0?0:u)):[]}function $1(s,u){return s&&s.length?Ua(s,$e(u,3),!0,!0):[]}function x1(s,u){return s&&s.length?Ua(s,$e(u,3),!0):[]}function eb(s,u,_,S){var A=s==null?0:s.length;return A?(_&&typeof _!="number"&&Nn(s,u,_)&&(_=0,S=A),jm(s,u,_,S)):[]}function df(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ft(_);return A<0&&(A=dn(S+A,0)),ma(s,$e(u,3),A)}function hf(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=S-1;return _!==t&&(A=ft(_),A=_<0?dn(S+A,0):kn(A,S-1)),ma(s,$e(u,3),A,!0)}function gf(s){var u=s==null?0:s.length;return u?mn(s,1):[]}function tb(s){var u=s==null?0:s.length;return u?mn(s,le):[]}function nb(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:ft(u),mn(s,u)):[]}function ib(s){for(var u=-1,_=s==null?0:s.length,S={};++u<_;){var A=s[u];S[A[0]]=A[1]}return S}function _f(s){return s&&s.length?s[0]:t}function lb(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ft(_);return A<0&&(A=dn(S+A,0)),xl(s,u,A)}function rb(s){var u=s==null?0:s.length;return u?xn(s,0,-1):[]}var ab=dt(function(s){var u=Yt(s,lo);return u.length&&u[0]===s[0]?Ys(u):[]}),sb=dt(function(s){var u=ei(s),_=Yt(s,lo);return u===ei(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Ys(_,$e(u,2)):[]}),ob=dt(function(s){var u=ei(s),_=Yt(s,lo);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Ys(_,t,u):[]});function ub(s,u){return s==null?"":rm.call(s,u)}function ei(s){var u=s==null?0:s.length;return u?s[u-1]:t}function fb(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=S;return _!==t&&(A=ft(_),A=A<0?dn(S+A,0):kn(A,S-1)),u===u?zp(s,u,A):ma(s,Yo,A,!0)}function cb(s,u){return s&&s.length?Pu(s,ft(u)):t}var db=dt(pf);function pf(s,u){return s&&s.length&&u&&u.length?$s(s,u):s}function hb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,$e(_,2)):s}function gb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,t,_):s}var _b=Hi(function(s,u){var _=s==null?0:s.length,S=Gs(s,u);return Tu(s,Yt(u,function(A){return Wi(A,_)?+A:A}).sort(Uu)),S});function pb(s,u){var _=[];if(!(s&&s.length))return _;var S=-1,A=[],F=s.length;for(u=$e(u,3);++S<F;){var z=s[S];u(z,S,s)&&(_.push(z),A.push(S))}return Tu(s,A),_}function vo(s){return s==null?s:um.call(s)}function mb(s,u,_){var S=s==null?0:s.length;return S?(_&&typeof _!="number"&&Nn(s,u,_)?(u=0,_=S):(u=u==null?0:ft(u),_=_===t?S:ft(_)),xn(s,u,_)):[]}function bb(s,u){return Fa(s,u)}function vb(s,u,_){return to(s,u,$e(_,2))}function wb(s,u){var _=s==null?0:s.length;if(_){var S=Fa(s,u);if(S<_&&oi(s[S],u))return S}return-1}function kb(s,u){return Fa(s,u,!0)}function Sb(s,u,_){return to(s,u,$e(_,2),!0)}function Cb(s,u){var _=s==null?0:s.length;if(_){var S=Fa(s,u,!0)-1;if(oi(s[S],u))return S}return-1}function yb(s){return s&&s.length?Au(s):[]}function Pb(s,u){return s&&s.length?Au(s,$e(u,2)):[]}function Ib(s){var u=s==null?0:s.length;return u?xn(s,1,u):[]}function Nb(s,u,_){return s&&s.length?(u=_||u===t?1:ft(u),xn(s,0,u<0?0:u)):[]}function Tb(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),u=S-u,xn(s,u<0?0:u,S)):[]}function Lb(s,u){return s&&s.length?Ua(s,$e(u,3),!1,!0):[]}function Ab(s,u){return s&&s.length?Ua(s,$e(u,3)):[]}var Eb=dt(function(s){return ul(mn(s,1,tn,!0))}),Rb=dt(function(s){var u=ei(s);return tn(u)&&(u=t),ul(mn(s,1,tn,!0),$e(u,2))}),Db=dt(function(s){var u=ei(s);return u=typeof u=="function"?u:t,ul(mn(s,1,tn,!0),t,u)});function Vb(s){return s&&s.length?ul(s):[]}function Ob(s,u){return s&&s.length?ul(s,$e(u,2)):[]}function Mb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ul(s,t,u):[]}function wo(s){if(!(s&&s.length))return[];var u=0;return s=ll(s,function(_){if(tn(_))return u=dn(_.length,u),!0}),Ms(u,function(_){return Yt(s,Ds(_))})}function mf(s,u){if(!(s&&s.length))return[];var _=wo(s);return u==null?_:Yt(_,function(S){return _n(u,t,S)})}var Fb=dt(function(s,u){return tn(s)?Hr(s,u):[]}),Ub=dt(function(s){return io(ll(s,tn))}),Bb=dt(function(s){var u=ei(s);return tn(u)&&(u=t),io(ll(s,tn),$e(u,2))}),Hb=dt(function(s){var u=ei(s);return u=typeof u=="function"?u:t,io(ll(s,tn),t,u)}),Wb=dt(wo);function qb(s,u){return Vu(s||[],u||[],Br)}function zb(s,u){return Vu(s||[],u||[],zr)}var Gb=dt(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 Kb(s,u){return u(s),s}function Ja(s,u){return u(s)}var jb=Hi(function(s){var u=s.length,_=u?s[0]:0,S=this.__wrapped__,A=function(F){return Gs(F,s)};return u>1||this.__actions__.length||!(S instanceof bt)||!Wi(_)?this.thru(A):(S=S.slice(_,+_+(u?1:0)),S.__actions__.push({func:Ja,args:[A],thisArg:t}),new Xn(S,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function Jb(){return bf(this)}function Yb(){return new Xn(this.value(),this.__chain__)}function Qb(){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 Zb(){return this}function Xb(s){for(var u,_=this;_ instanceof Ra;){var S=cf(_);S.__index__=0,S.__values__=t,u?A.__wrapped__=S:u=S;var A=S;_=_.__wrapped__}return A.__wrapped__=s,u}function $b(){var s=this.__wrapped__;if(s instanceof bt){var u=s;return this.__actions__.length&&(u=new bt(this)),u=u.reverse(),u.__actions__.push({func:Ja,args:[vo],thisArg:t}),new Xn(u,this.__chain__)}return this.thru(vo)}function xb(){return Du(this.__wrapped__,this.__actions__)}var ev=Ba(function(s,u,_){Rt.call(s,_)?++s[_]:Ui(s,_,1)});function tv(s,u,_){var S=st(s)?_a:Km;return _&&Nn(s,u,_)&&(u=t),S(s,$e(u,3))}function nv(s,u){var _=st(s)?ll:pu;return _(s,$e(u,3))}var iv=Gu(df),lv=Gu(hf);function rv(s,u){return mn(Ya(s,u),1)}function av(s,u){return mn(Ya(s,u),le)}function sv(s,u,_){return _=_===t?1:ft(_),mn(Ya(s,u),_)}function vf(s,u){var _=st(s)?Ut:ol;return _(s,$e(u,3))}function wf(s,u){var _=st(s)?Qn:_u;return _(s,$e(u,3))}var ov=Ba(function(s,u,_){Rt.call(s,_)?s[_].push(u):Ui(s,_,[u])});function uv(s,u,_,S){s=Vn(s)?s:cr(s),_=_&&!S?ft(_):0;var A=s.length;return _<0&&(_=dn(A+_,0)),xa(s)?_<=A&&s.indexOf(u,_)>-1:!!A&&xl(s,u,_)>-1}var fv=dt(function(s,u,_){var S=-1,A=typeof u=="function",F=Vn(s)?oe(s.length):[];return ol(s,function(z){F[++S]=A?_n(u,z,_):Wr(z,u,_)}),F}),cv=Ba(function(s,u,_){Ui(s,_,u)});function Ya(s,u){var _=st(s)?Yt:Su;return _(s,$e(u,3))}function dv(s,u,_,S){return s==null?[]:(st(u)||(u=u==null?[]:[u]),_=S?t:_,st(_)||(_=_==null?[]:[_]),Iu(s,u,_))}var hv=Ba(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function gv(s,u,_){var S=st(s)?Es:Zo,A=arguments.length<3;return S(s,$e(u,4),_,A,ol)}function _v(s,u,_){var S=st(s)?Np:Zo,A=arguments.length<3;return S(s,$e(u,4),_,A,_u)}function pv(s,u){var _=st(s)?ll:pu;return _(s,Xa($e(u,3)))}function mv(s){var u=st(s)?cu:u1;return u(s)}function bv(s,u,_){(_?Nn(s,u,_):u===t)?u=1:u=ft(u);var S=st(s)?Hm:f1;return S(s,u)}function vv(s){var u=st(s)?Wm:d1;return u(s)}function wv(s){if(s==null)return 0;if(Vn(s))return xa(s)?tr(s):s.length;var u=Sn(s);return u==Ze||u==rt?s.size:Zs(s).length}function kv(s,u,_){var S=st(s)?Rs:h1;return _&&Nn(s,u,_)&&(u=t),S(s,$e(u,3))}var Sv=dt(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Nn(s,u[0],u[1])?u=[]:_>2&&Nn(u[0],u[1],u[2])&&(u=[u[0]]),Iu(s,mn(u,1),[])}),Qa=nm||function(){return We.Date.now()};function Cv(s,u){if(typeof u!="function")throw new Zn(a);return s=ft(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,Bi(s,H,t,t,t,t,u)}function Sf(s,u){var _;if(typeof u!="function")throw new Zn(a);return s=ft(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var ko=dt(function(s,u,_){var S=C;if(_.length){var A=al(_,ur(ko));S|=V}return Bi(s,S,u,_,A)}),Cf=dt(function(s,u,_){var S=C|y;if(_.length){var A=al(_,ur(Cf));S|=V}return Bi(u,S,s,_,A)});function yf(s,u,_){u=_?t:u;var S=Bi(s,I,t,t,t,t,t,u);return S.placeholder=yf.placeholder,S}function Pf(s,u,_){u=_?t:u;var S=Bi(s,N,t,t,t,t,t,u);return S.placeholder=Pf.placeholder,S}function If(s,u,_){var S,A,F,z,j,$,_e=0,pe=!1,Ce=!1,Oe=!0;if(typeof s!="function")throw new Zn(a);u=ti(u)||0,Qt(_)&&(pe=!!_.leading,Ce="maxWait"in _,F=Ce?dn(ti(_.maxWait)||0,u):F,Oe="trailing"in _?!!_.trailing:Oe);function Ke(nn){var ui=S,Gi=A;return S=A=t,_e=nn,z=s.apply(Gi,ui),z}function xe(nn){return _e=nn,j=jr(mt,u),pe?Ke(nn):z}function ct(nn){var ui=nn-$,Gi=nn-_e,Kf=u-ui;return Ce?kn(Kf,F-Gi):Kf}function et(nn){var ui=nn-$,Gi=nn-_e;return $===t||ui>=u||ui<0||Ce&&Gi>=F}function mt(){var nn=Qa();if(et(nn))return kt(nn);j=jr(mt,ct(nn))}function kt(nn){return j=t,Oe&&S?Ke(nn):(S=A=t,z)}function Kn(){j!==t&&Ou(j),_e=0,S=$=A=j=t}function Tn(){return j===t?z:kt(Qa())}function jn(){var nn=Qa(),ui=et(nn);if(S=arguments,A=this,$=nn,ui){if(j===t)return xe($);if(Ce)return Ou(j),j=jr(mt,u),Ke($)}return j===t&&(j=jr(mt,u)),z}return jn.cancel=Kn,jn.flush=Tn,jn}var yv=dt(function(s,u){return gu(s,1,u)}),Pv=dt(function(s,u,_){return gu(s,ti(u)||0,_)});function Iv(s){return Bi(s,O)}function Za(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Zn(a);var _=function(){var S=arguments,A=u?u.apply(this,S):S[0],F=_.cache;if(F.has(A))return F.get(A);var z=s.apply(this,S);return _.cache=F.set(A,z)||F,z};return _.cache=new(Za.Cache||Fi),_}Za.Cache=Fi;function Xa(s){if(typeof s!="function")throw new Zn(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 Nv(s){return Sf(2,s)}var Tv=g1(function(s,u){u=u.length==1&&st(u[0])?Yt(u[0],qn($e())):Yt(mn(u,1),qn($e()));var _=u.length;return dt(function(S){for(var A=-1,F=kn(S.length,_);++A<F;)S[A]=u[A].call(this,S[A]);return _n(s,this,S)})}),So=dt(function(s,u){var _=al(u,ur(So));return Bi(s,V,t,u,_)}),Nf=dt(function(s,u){var _=al(u,ur(Nf));return Bi(s,E,t,u,_)}),Lv=Hi(function(s,u){return Bi(s,D,t,t,t,u)});function Av(s,u){if(typeof s!="function")throw new Zn(a);return u=u===t?u:ft(u),dt(s,u)}function Ev(s,u){if(typeof s!="function")throw new Zn(a);return u=u==null?0:dn(ft(u),0),dt(function(_){var S=_[u],A=cl(_,0,u);return S&&rl(A,S),_n(s,this,A)})}function Rv(s,u,_){var S=!0,A=!0;if(typeof s!="function")throw new Zn(a);return Qt(_)&&(S="leading"in _?!!_.leading:S,A="trailing"in _?!!_.trailing:A),If(s,u,{leading:S,maxWait:u,trailing:A})}function Dv(s){return kf(s,1)}function Vv(s,u){return So(ro(u),s)}function Ov(){if(!arguments.length)return[];var s=arguments[0];return st(s)?s:[s]}function Mv(s){return $n(s,b)}function Fv(s,u){return u=typeof u=="function"?u:t,$n(s,b,u)}function Uv(s){return $n(s,g|b)}function Bv(s,u){return u=typeof u=="function"?u:t,$n(s,g|b,u)}function Hv(s,u){return u==null||hu(s,u,pn(u))}function oi(s,u){return s===u||s!==s&&u!==u}var Wv=za(Js),qv=za(function(s,u){return s>=u}),Wl=vu(function(){return arguments}())?vu:function(s){return en(s)&&Rt.call(s,"callee")&&!ru.call(s,"callee")},st=oe.isArray,zv=il?qn(il):Xm;function Vn(s){return s!=null&&$a(s.length)&&!qi(s)}function tn(s){return en(s)&&Vn(s)}function Gv(s){return s===!0||s===!1||en(s)&&In(s)==Xe}var dl=lm||Do,Kv=Xl?qn(Xl):$m;function jv(s){return en(s)&&s.nodeType===1&&!Jr(s)}function Jv(s){if(s==null)return!0;if(Vn(s)&&(st(s)||typeof s=="string"||typeof s.splice=="function"||dl(s)||fr(s)||Wl(s)))return!s.length;var u=Sn(s);if(u==Ze||u==rt)return!s.size;if(Kr(s))return!Zs(s).length;for(var _ in s)if(Rt.call(s,_))return!1;return!0}function Yv(s,u){return qr(s,u)}function Qv(s,u,_){_=typeof _=="function"?_:t;var S=_?_(s,u):t;return S===t?qr(s,u,t,_):!!S}function Co(s){if(!en(s))return!1;var u=In(s);return u==lt||u==nt||typeof s.message=="string"&&typeof s.name=="string"&&!Jr(s)}function Zv(s){return typeof s=="number"&&su(s)}function qi(s){if(!Qt(s))return!1;var u=In(s);return u==gt||u==ge||u==ze||u==Ie}function Tf(s){return typeof s=="number"&&s==ft(s)}function $a(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=ue}function Qt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function en(s){return s!=null&&typeof s=="object"}var Lf=Rl?qn(Rl):e1;function Xv(s,u){return s===u||Qs(s,u,ho(u))}function $v(s,u,_){return _=typeof _=="function"?_:t,Qs(s,u,ho(u),_)}function xv(s){return Af(s)&&s!=+s}function e0(s){if(F1(s))throw new at(r);return wu(s)}function t0(s){return s===null}function n0(s){return s==null}function Af(s){return typeof s=="number"||en(s)&&In(s)==Ht}function Jr(s){if(!en(s)||In(s)!=on)return!1;var u=Pa(s);if(u===null)return!0;var _=Rt.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ka.call(_)==$p}var yo=Ls?qn(Ls):t1;function i0(s){return Tf(s)&&s>=-9007199254740991&&s<=ue}var Ef=$l?qn($l):n1;function xa(s){return typeof s=="string"||!st(s)&&en(s)&&In(s)==un}function Gn(s){return typeof s=="symbol"||en(s)&&In(s)==Gt}var fr=ga?qn(ga):i1;function l0(s){return s===t}function r0(s){return en(s)&&Sn(s)==Kt}function a0(s){return en(s)&&In(s)==jt}var s0=za(Xs),o0=za(function(s,u){return s<=u});function Rf(s){if(!s)return[];if(Vn(s))return xa(s)?ai(s):Dn(s);if(Vr&&s[Vr])return Hp(s[Vr]());var u=Sn(s),_=u==Ze?Us:u==rt?ba:cr;return _(s)}function zi(s){if(!s)return s===0?s:0;if(s=ti(s),s===le||s===-1/0){var u=s<0?-1:1;return u*ne}return s===s?s:0}function ft(s){var u=zi(s),_=u%1;return u===u?_?u-_:u:0}function Df(s){return s?Fl(ft(s),0,se):0}function ti(s){if(typeof s=="number")return s;if(Gn(s))return Pe;if(Qt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Qt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Xo(s);var _=vt.test(s);return _||Wt.test(s)?Er(s.slice(2),_?2:8):it.test(s)?Pe:+s}function Vf(s){return mi(s,On(s))}function u0(s){return s?Fl(ft(s),-9007199254740991,ue):s===0?s:0}function At(s){return s==null?"":zn(s)}var f0=sr(function(s,u){if(Kr(u)||Vn(u)){mi(u,pn(u),s);return}for(var _ in u)Rt.call(u,_)&&Br(s,_,u[_])}),Of=sr(function(s,u){mi(u,On(u),s)}),es=sr(function(s,u,_,S){mi(u,On(u),s,S)}),c0=sr(function(s,u,_,S){mi(u,pn(u),s,S)}),d0=Hi(Gs);function h0(s,u){var _=ar(s);return u==null?_:du(_,u)}var g0=dt(function(s,u){s=Bt(s);var _=-1,S=u.length,A=S>2?u[2]:t;for(A&&Nn(u[0],u[1],A)&&(S=1);++_<S;)for(var F=u[_],z=On(F),j=-1,$=z.length;++j<$;){var _e=z[j],pe=s[_e];(pe===t||oi(pe,ir[_e])&&!Rt.call(s,_e))&&(s[_e]=F[_e])}return s}),_0=dt(function(s){return s.push(t,Xu),_n(Mf,t,s)});function p0(s,u){return Jo(s,$e(u,3),pi)}function m0(s,u){return Jo(s,$e(u,3),js)}function b0(s,u){return s==null?s:Ks(s,$e(u,3),On)}function v0(s,u){return s==null?s:mu(s,$e(u,3),On)}function w0(s,u){return s&&pi(s,$e(u,3))}function k0(s,u){return s&&js(s,$e(u,3))}function S0(s){return s==null?[]:Oa(s,pn(s))}function C0(s){return s==null?[]:Oa(s,On(s))}function Po(s,u,_){var S=s==null?t:Ul(s,u);return S===t?_:S}function y0(s,u){return s!=null&&ef(s,u,Jm)}function Io(s,u){return s!=null&&ef(s,u,Ym)}var P0=ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),s[u]=_},To(Mn)),I0=ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),Rt.call(s,u)?s[u].push(_):s[u]=[_]},$e),N0=dt(Wr);function pn(s){return Vn(s)?fu(s):Zs(s)}function On(s){return Vn(s)?fu(s,!0):l1(s)}function T0(s,u){var _={};return u=$e(u,3),pi(s,function(S,A,F){Ui(_,u(S,A,F),S)}),_}function L0(s,u){var _={};return u=$e(u,3),pi(s,function(S,A,F){Ui(_,A,u(S,A,F))}),_}var A0=sr(function(s,u,_){Ma(s,u,_)}),Mf=sr(function(s,u,_,S){Ma(s,u,_,S)}),E0=Hi(function(s,u){var _={};if(s==null)return _;var S=!1;u=Yt(u,function(F){return F=fl(F,s),S||(S=F.length>1),F}),mi(s,fo(s),_),S&&(_=$n(_,g|p|b,P1));for(var A=u.length;A--;)no(_,u[A]);return _});function R0(s,u){return Ff(s,Xa($e(u)))}var D0=Hi(function(s,u){return s==null?{}:a1(s,u)});function Ff(s,u){if(s==null)return{};var _=Yt(fo(s),function(S){return[S]});return u=$e(u),Nu(s,_,function(S,A){return u(S,A[0])})}function V0(s,u,_){u=fl(u,s);var S=-1,A=u.length;for(A||(A=1,s=t);++S<A;){var F=s==null?t:s[bi(u[S])];F===t&&(S=A,F=_),s=qi(F)?F.call(s):F}return s}function O0(s,u,_){return s==null?s:zr(s,u,_)}function M0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:zr(s,u,_,S)}var Uf=Qu(pn),Bf=Qu(On);function F0(s,u,_){var S=st(s),A=S||dl(s)||fr(s);if(u=$e(u,4),_==null){var F=s&&s.constructor;A?_=S?new F:[]:Qt(s)?_=qi(F)?ar(Pa(s)):{}:_={}}return(A?Ut:pi)(s,function(z,j,$){return u(_,z,j,$)}),_}function U0(s,u){return s==null?!0:no(s,u)}function B0(s,u,_){return s==null?s:Ru(s,u,ro(_))}function H0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:Ru(s,u,ro(_),S)}function cr(s){return s==null?[]:Fs(s,pn(s))}function W0(s){return s==null?[]:Fs(s,On(s))}function q0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=ti(_),_=_===_?_:0),u!==t&&(u=ti(u),u=u===u?u:0),Fl(ti(s),u,_)}function z0(s,u,_){return u=zi(u),_===t?(_=u,u=0):_=zi(_),s=ti(s),Qm(s,u,_)}function G0(s,u,_){if(_&&typeof _!="boolean"&&Nn(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=zi(s),u===t?(u=s,s=0):u=zi(u)),s>u){var S=s;s=u,u=S}if(_||s%1||u%1){var A=ou();return kn(s+A*(u-s+nl("1e-"+((A+"").length-1))),u)}return xs(s,u)}var K0=or(function(s,u,_){return u=u.toLowerCase(),s+(_?Hf(u):u)});function Hf(s){return No(At(s).toLowerCase())}function Wf(s){return s=At(s),s&&s.replace(Rn,Op).replace(Ns,"")}function j0(s,u,_){s=At(s),u=zn(u);var S=s.length;_=_===t?S:Fl(ft(_),0,S);var A=_;return _-=u.length,_>=0&&s.slice(_,A)==u}function J0(s){return s=At(s),s&&di.test(s)?s.replace(Yi,Mp):s}function Y0(s){return s=At(s),s&&Al.test(s)?s.replace(Ei,"\\$&"):s}var Q0=or(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),Z0=or(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),X0=zu("toLowerCase");function $0(s,u,_){s=At(s),u=ft(u);var S=u?tr(s):0;if(!u||S>=u)return s;var A=(u-S)/2;return qa(La(A),_)+s+qa(Ta(A),_)}function x0(s,u,_){s=At(s),u=ft(u);var S=u?tr(s):0;return u&&S<u?s+qa(u-S,_):s}function ew(s,u,_){s=At(s),u=ft(u);var S=u?tr(s):0;return u&&S<u?qa(u-S,_)+s:s}function tw(s,u,_){return _||u==null?u=0:u&&(u=+u),om(At(s).replace(ri,""),u||0)}function nw(s,u,_){return(_?Nn(s,u,_):u===t)?u=1:u=ft(u),eo(At(s),u)}function iw(){var s=arguments,u=At(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var lw=or(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function rw(s,u,_){return _&&typeof _!="number"&&Nn(s,u,_)&&(u=_=t),_=_===t?se:_>>>0,_?(s=At(s),s&&(typeof u=="string"||u!=null&&!yo(u))&&(u=zn(u),!u&&er(s))?cl(ai(s),0,_):s.split(u,_)):[]}var aw=or(function(s,u,_){return s+(_?" ":"")+No(u)});function sw(s,u,_){return s=At(s),_=_==null?0:Fl(ft(_),0,s.length),u=zn(u),s.slice(_,_+u.length)==u}function ow(s,u,_){var S=M.templateSettings;_&&Nn(s,u,_)&&(u=t),s=At(s),u=es({},u,S,Zu);var A=es({},u.imports,S.imports,Zu),F=pn(A),z=Fs(A,F),j,$,_e=0,pe=u.interpolate||Wn,Ce="__p += '",Oe=Bs((u.escape||Wn).source+"|"+pe.source+"|"+(pe===Zi?Se:Wn).source+"|"+(u.evaluate||Wn).source+"|$","g"),Ke="//# sourceURL="+(Rt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ge+"]")+`
|
|
36
|
-
`;s.replace(Oe,function(et,mt,kt,
|
|
35
|
+
`)}function R1(s){return st(s)||Wl(s)||!!(au&&s&&s[au])}function Wi(s,u){var _=typeof s;return u=u??ce,!!u&&(_=="number"||_!="symbol"&&zt.test(s))&&s>-1&&s%1==0&&s<u}function In(s,u,_){if(!Qt(_))return!1;var S=typeof u;return(S=="number"?On(_)&&Wi(u,_.length):S=="string"&&u in _)?ui(_[u],s):!1}function _o(s,u){if(st(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Jn(s)?!0:Tl.test(s)||!Nl.test(s)||u!=null&&s in Bt(u)}function D1(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 bt.prototype))return!1;if(s===_)return!0;var S=co(_);return!!S&&s===S[0]}function V1(s){return!!nu&&nu in s}var O1=wa?qi:Do;function Kr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||ir;return s===_}function nf(s){return s===s&&!Qt(s)}function lf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Bt(_))}}function M1(s){var u=Za(s,function(S){return _.size===h&&_.clear(),S}),_=u.cache;return u}function F1(s,u){var _=s[1],S=u[1],A=_|S,F=A<(C|y|H),q=S==H&&_==N||S==H&&_==D&&s[7].length<=u[8]||S==(H|D)&&u[7].length<=u[8]&&_==N;if(!(F||q))return s;S&C&&(s[2]=u[2],A|=_&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?al(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?al(s[5],d):u[6]),j=u[7],j&&(s[7]=j),S&H&&(s[8]=s[8]==null?u[8]:kn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=A,s}function U1(s){var u=[];if(s!=null)for(var _ in Bt(s))u.push(_);return u}function B1(s){return Sa.call(s)}function rf(s,u,_){return u=dn(u===t?s.length-1:u,0),function(){for(var S=arguments,A=-1,F=dn(S.length-u,0),q=oe(F);++A<F;)q[A]=S[u+A];A=-1;for(var j=oe(u+1);++A<u;)j[A]=S[A];return j[u]=_(q),_n(s,this,j)}}function af(s,u){return u.length<2?s:Ul(s,ti(u,0,-1))}function H1(s,u){for(var _=s.length,S=kn(u.length,_),A=Vn(s);S--;){var F=u[S];s[S]=Wi(F,_)?A[F]:t}return s}function mo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var sf=uf(Lu),Jr=tm||function(s,u){return We.setTimeout(s,u)},bo=uf(u1);function of(s,u,_){var S=u+"";return bo(s,E1(S,W1(T1(S),_)))}function uf(s){var u=0,_=0;return function(){var S=rm(),A=fe-(S-_);if(_=S,A>0){if(++u>=Z)return arguments[0]}else u=0;return s.apply(t,arguments)}}function Ja(s,u){var _=-1,S=s.length,A=S-1;for(u=u===t?S:u;++_<u;){var F=xs(_,A),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var ff=M1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Ll,function(_,S,A,F){u.push(A?F.replace(J,"$1"):S||_)}),u});function bi(s){if(typeof s=="string"||Jn(s))return s;var u=s+"";return u=="0"&&1/s==-1/0?"-0":u}function Hl(s){if(s!=null){try{return ka.call(s)}catch{}try{return s+""}catch{}}return""}function W1(s,u){return Ut(Je,function(_){var S="_."+_[0];u&_[1]&&!pa(s,S)&&s.push(S)}),s.sort()}function cf(s){if(s instanceof bt)return s.clone();var u=new xn(s.__wrapped__,s.__chain__);return u.__actions__=Vn(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function q1(s,u,_){(_?In(s,u,_):u===t)?u=1:u=dn(ft(u),0);var S=s==null?0:s.length;if(!S||u<1)return[];for(var A=0,F=0,q=oe(Ta(S/u));A<S;)q[F++]=ti(s,A,A+=u);return q}function z1(s){for(var u=-1,_=s==null?0:s.length,S=0,A=[];++u<_;){var F=s[u];F&&(A[S++]=F)}return A}function G1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],S=s;S--;)u[S-1]=arguments[S];return rl(st(_)?Vn(_):[_],mn(u,1))}var K1=dt(function(s,u){return tn(s)?Hr(s,mn(u,1,tn,!0)):[]}),J1=dt(function(s,u){var _=ni(u);return tn(_)&&(_=t),tn(s)?Hr(s,mn(u,1,tn,!0),$e(_,2)):[]}),j1=dt(function(s,u){var _=ni(u);return tn(_)&&(_=t),tn(s)?Hr(s,mn(u,1,tn,!0),t,_):[]});function Y1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),ti(s,u<0?0:u,S)):[]}function Q1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),u=S-u,ti(s,0,u<0?0:u)):[]}function Z1(s,u){return s&&s.length?Ua(s,$e(u,3),!0,!0):[]}function X1(s,u){return s&&s.length?Ua(s,$e(u,3),!0):[]}function $1(s,u,_,S){var A=s==null?0:s.length;return A?(_&&typeof _!="number"&&In(s,u,_)&&(_=0,S=A),Gm(s,u,_,S)):[]}function df(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ft(_);return A<0&&(A=dn(S+A,0)),ma(s,$e(u,3),A)}function hf(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=S-1;return _!==t&&(A=ft(_),A=_<0?dn(S+A,0):kn(A,S-1)),ma(s,$e(u,3),A,!0)}function gf(s){var u=s==null?0:s.length;return u?mn(s,1):[]}function x1(s){var u=s==null?0:s.length;return u?mn(s,ae):[]}function eb(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:ft(u),mn(s,u)):[]}function tb(s){for(var u=-1,_=s==null?0:s.length,S={};++u<_;){var A=s[u];S[A[0]]=A[1]}return S}function _f(s){return s&&s.length?s[0]:t}function nb(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=_==null?0:ft(_);return A<0&&(A=dn(S+A,0)),xl(s,u,A)}function ib(s){var u=s==null?0:s.length;return u?ti(s,0,-1):[]}var lb=dt(function(s){var u=Yt(s,lo);return u.length&&u[0]===s[0]?Ys(u):[]}),rb=dt(function(s){var u=ni(s),_=Yt(s,lo);return u===ni(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Ys(_,$e(u,2)):[]}),ab=dt(function(s){var u=ni(s),_=Yt(s,lo);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Ys(_,t,u):[]});function sb(s,u){return s==null?"":im.call(s,u)}function ni(s){var u=s==null?0:s.length;return u?s[u-1]:t}function ob(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var A=S;return _!==t&&(A=ft(_),A=A<0?dn(S+A,0):kn(A,S-1)),u===u?Wp(s,u,A):ma(s,Yo,A,!0)}function ub(s,u){return s&&s.length?Pu(s,ft(u)):t}var fb=dt(pf);function pf(s,u){return s&&s.length&&u&&u.length?$s(s,u):s}function cb(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,$e(_,2)):s}function db(s,u,_){return s&&s.length&&u&&u.length?$s(s,u,t,_):s}var hb=Hi(function(s,u){var _=s==null?0:s.length,S=Gs(s,u);return Tu(s,Yt(u,function(A){return Wi(A,_)?+A:A}).sort(Uu)),S});function gb(s,u){var _=[];if(!(s&&s.length))return _;var S=-1,A=[],F=s.length;for(u=$e(u,3);++S<F;){var q=s[S];u(q,S,s)&&(_.push(q),A.push(S))}return Tu(s,A),_}function vo(s){return s==null?s:sm.call(s)}function _b(s,u,_){var S=s==null?0:s.length;return S?(_&&typeof _!="number"&&In(s,u,_)?(u=0,_=S):(u=u==null?0:ft(u),_=_===t?S:ft(_)),ti(s,u,_)):[]}function pb(s,u){return Fa(s,u)}function mb(s,u,_){return to(s,u,$e(_,2))}function bb(s,u){var _=s==null?0:s.length;if(_){var S=Fa(s,u);if(S<_&&ui(s[S],u))return S}return-1}function vb(s,u){return Fa(s,u,!0)}function wb(s,u,_){return to(s,u,$e(_,2),!0)}function kb(s,u){var _=s==null?0:s.length;if(_){var S=Fa(s,u,!0)-1;if(ui(s[S],u))return S}return-1}function Sb(s){return s&&s.length?Au(s):[]}function Cb(s,u){return s&&s.length?Au(s,$e(u,2)):[]}function yb(s){var u=s==null?0:s.length;return u?ti(s,1,u):[]}function Pb(s,u,_){return s&&s.length?(u=_||u===t?1:ft(u),ti(s,0,u<0?0:u)):[]}function Ib(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:ft(u),u=S-u,ti(s,u<0?0:u,S)):[]}function Nb(s,u){return s&&s.length?Ua(s,$e(u,3),!1,!0):[]}function Tb(s,u){return s&&s.length?Ua(s,$e(u,3)):[]}var Lb=dt(function(s){return ul(mn(s,1,tn,!0))}),Ab=dt(function(s){var u=ni(s);return tn(u)&&(u=t),ul(mn(s,1,tn,!0),$e(u,2))}),Eb=dt(function(s){var u=ni(s);return u=typeof u=="function"?u:t,ul(mn(s,1,tn,!0),t,u)});function Rb(s){return s&&s.length?ul(s):[]}function Db(s,u){return s&&s.length?ul(s,$e(u,2)):[]}function Vb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ul(s,t,u):[]}function wo(s){if(!(s&&s.length))return[];var u=0;return s=ll(s,function(_){if(tn(_))return u=dn(_.length,u),!0}),Ms(u,function(_){return Yt(s,Ds(_))})}function mf(s,u){if(!(s&&s.length))return[];var _=wo(s);return u==null?_:Yt(_,function(S){return _n(u,t,S)})}var Ob=dt(function(s,u){return tn(s)?Hr(s,u):[]}),Mb=dt(function(s){return io(ll(s,tn))}),Fb=dt(function(s){var u=ni(s);return tn(u)&&(u=t),io(ll(s,tn),$e(u,2))}),Ub=dt(function(s){var u=ni(s);return u=typeof u=="function"?u:t,io(ll(s,tn),t,u)}),Bb=dt(wo);function Hb(s,u){return Vu(s||[],u||[],Br)}function Wb(s,u){return Vu(s||[],u||[],zr)}var qb=dt(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 zb(s,u){return u(s),s}function ja(s,u){return u(s)}var Gb=Hi(function(s){var u=s.length,_=u?s[0]:0,S=this.__wrapped__,A=function(F){return Gs(F,s)};return u>1||this.__actions__.length||!(S instanceof bt)||!Wi(_)?this.thru(A):(S=S.slice(_,+_+(u?1:0)),S.__actions__.push({func:ja,args:[A],thisArg:t}),new xn(S,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function Kb(){return bf(this)}function Jb(){return new xn(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 Yb(){return this}function Qb(s){for(var u,_=this;_ instanceof Ra;){var S=cf(_);S.__index__=0,S.__values__=t,u?A.__wrapped__=S:u=S;var A=S;_=_.__wrapped__}return A.__wrapped__=s,u}function Zb(){var s=this.__wrapped__;if(s instanceof bt){var u=s;return this.__actions__.length&&(u=new bt(this)),u=u.reverse(),u.__actions__.push({func:ja,args:[vo],thisArg:t}),new xn(u,this.__chain__)}return this.thru(vo)}function Xb(){return Du(this.__wrapped__,this.__actions__)}var $b=Ba(function(s,u,_){Rt.call(s,_)?++s[_]:Ui(s,_,1)});function xb(s,u,_){var S=st(s)?_a:zm;return _&&In(s,u,_)&&(u=t),S(s,$e(u,3))}function ev(s,u){var _=st(s)?ll:pu;return _(s,$e(u,3))}var tv=Gu(df),nv=Gu(hf);function iv(s,u){return mn(Ya(s,u),1)}function lv(s,u){return mn(Ya(s,u),ae)}function rv(s,u,_){return _=_===t?1:ft(_),mn(Ya(s,u),_)}function vf(s,u){var _=st(s)?Ut:ol;return _(s,$e(u,3))}function wf(s,u){var _=st(s)?Xn:_u;return _(s,$e(u,3))}var av=Ba(function(s,u,_){Rt.call(s,_)?s[_].push(u):Ui(s,_,[u])});function sv(s,u,_,S){s=On(s)?s:cr(s),_=_&&!S?ft(_):0;var A=s.length;return _<0&&(_=dn(A+_,0)),xa(s)?_<=A&&s.indexOf(u,_)>-1:!!A&&xl(s,u,_)>-1}var ov=dt(function(s,u,_){var S=-1,A=typeof u=="function",F=On(s)?oe(s.length):[];return ol(s,function(q){F[++S]=A?_n(u,q,_):Wr(q,u,_)}),F}),uv=Ba(function(s,u,_){Ui(s,_,u)});function Ya(s,u){var _=st(s)?Yt:Su;return _(s,$e(u,3))}function fv(s,u,_,S){return s==null?[]:(st(u)||(u=u==null?[]:[u]),_=S?t:_,st(_)||(_=_==null?[]:[_]),Iu(s,u,_))}var cv=Ba(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function dv(s,u,_){var S=st(s)?Es:Zo,A=arguments.length<3;return S(s,$e(u,4),_,A,ol)}function hv(s,u,_){var S=st(s)?Pp:Zo,A=arguments.length<3;return S(s,$e(u,4),_,A,_u)}function gv(s,u){var _=st(s)?ll:pu;return _(s,Xa($e(u,3)))}function _v(s){var u=st(s)?cu:s1;return u(s)}function pv(s,u,_){(_?In(s,u,_):u===t)?u=1:u=ft(u);var S=st(s)?Um:o1;return S(s,u)}function mv(s){var u=st(s)?Bm:f1;return u(s)}function bv(s){if(s==null)return 0;if(On(s))return xa(s)?tr(s):s.length;var u=Sn(s);return u==Ze||u==it?s.size:Zs(s).length}function vv(s,u,_){var S=st(s)?Rs:c1;return _&&In(s,u,_)&&(u=t),S(s,$e(u,3))}var wv=dt(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,mn(u,1),[])}),Qa=em||function(){return We.Date.now()};function kv(s,u){if(typeof u!="function")throw new $n(a);return s=ft(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,Bi(s,H,t,t,t,t,u)}function Sf(s,u){var _;if(typeof u!="function")throw new $n(a);return s=ft(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var ko=dt(function(s,u,_){var S=C;if(_.length){var A=al(_,ur(ko));S|=V}return Bi(s,S,u,_,A)}),Cf=dt(function(s,u,_){var S=C|y;if(_.length){var A=al(_,ur(Cf));S|=V}return Bi(u,S,s,_,A)});function yf(s,u,_){u=_?t:u;var S=Bi(s,N,t,t,t,t,t,u);return S.placeholder=yf.placeholder,S}function Pf(s,u,_){u=_?t:u;var S=Bi(s,I,t,t,t,t,t,u);return S.placeholder=Pf.placeholder,S}function If(s,u,_){var S,A,F,q,j,x,_e=0,pe=!1,Ce=!1,Oe=!0;if(typeof s!="function")throw new $n(a);u=ii(u)||0,Qt(_)&&(pe=!!_.leading,Ce="maxWait"in _,F=Ce?dn(ii(_.maxWait)||0,u):F,Oe="trailing"in _?!!_.trailing:Oe);function Ke(nn){var fi=S,Gi=A;return S=A=t,_e=nn,q=s.apply(Gi,fi),q}function xe(nn){return _e=nn,j=Jr(mt,u),pe?Ke(nn):q}function ct(nn){var fi=nn-x,Gi=nn-_e,Kf=u-fi;return Ce?kn(Kf,F-Gi):Kf}function et(nn){var fi=nn-x,Gi=nn-_e;return x===t||fi>=u||fi<0||Ce&&Gi>=F}function mt(){var nn=Qa();if(et(nn))return kt(nn);j=Jr(mt,ct(nn))}function kt(nn){return j=t,Oe&&S?Ke(nn):(S=A=t,q)}function jn(){j!==t&&Ou(j),_e=0,S=x=A=j=t}function Nn(){return j===t?q:kt(Qa())}function Yn(){var nn=Qa(),fi=et(nn);if(S=arguments,A=this,x=nn,fi){if(j===t)return xe(x);if(Ce)return Ou(j),j=Jr(mt,u),Ke(x)}return j===t&&(j=Jr(mt,u)),q}return Yn.cancel=jn,Yn.flush=Nn,Yn}var Sv=dt(function(s,u){return gu(s,1,u)}),Cv=dt(function(s,u,_){return gu(s,ii(u)||0,_)});function yv(s){return Bi(s,O)}function Za(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new $n(a);var _=function(){var S=arguments,A=u?u.apply(this,S):S[0],F=_.cache;if(F.has(A))return F.get(A);var q=s.apply(this,S);return _.cache=F.set(A,q)||F,q};return _.cache=new(Za.Cache||Fi),_}Za.Cache=Fi;function Xa(s){if(typeof s!="function")throw new $n(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 Pv(s){return Sf(2,s)}var Iv=d1(function(s,u){u=u.length==1&&st(u[0])?Yt(u[0],Gn($e())):Yt(mn(u,1),Gn($e()));var _=u.length;return dt(function(S){for(var A=-1,F=kn(S.length,_);++A<F;)S[A]=u[A].call(this,S[A]);return _n(s,this,S)})}),So=dt(function(s,u){var _=al(u,ur(So));return Bi(s,V,t,u,_)}),Nf=dt(function(s,u){var _=al(u,ur(Nf));return Bi(s,E,t,u,_)}),Nv=Hi(function(s,u){return Bi(s,D,t,t,t,u)});function Tv(s,u){if(typeof s!="function")throw new $n(a);return u=u===t?u:ft(u),dt(s,u)}function Lv(s,u){if(typeof s!="function")throw new $n(a);return u=u==null?0:dn(ft(u),0),dt(function(_){var S=_[u],A=cl(_,0,u);return S&&rl(A,S),_n(s,this,A)})}function Av(s,u,_){var S=!0,A=!0;if(typeof s!="function")throw new $n(a);return Qt(_)&&(S="leading"in _?!!_.leading:S,A="trailing"in _?!!_.trailing:A),If(s,u,{leading:S,maxWait:u,trailing:A})}function Ev(s){return kf(s,1)}function Rv(s,u){return So(ro(u),s)}function Dv(){if(!arguments.length)return[];var s=arguments[0];return st(s)?s:[s]}function Vv(s){return ei(s,b)}function Ov(s,u){return u=typeof u=="function"?u:t,ei(s,b,u)}function Mv(s){return ei(s,g|b)}function Fv(s,u){return u=typeof u=="function"?u:t,ei(s,g|b,u)}function Uv(s,u){return u==null||hu(s,u,pn(u))}function ui(s,u){return s===u||s!==s&&u!==u}var Bv=za(js),Hv=za(function(s,u){return s>=u}),Wl=vu(function(){return arguments}())?vu:function(s){return en(s)&&Rt.call(s,"callee")&&!ru.call(s,"callee")},st=oe.isArray,Wv=il?Gn(il):Qm;function On(s){return s!=null&&$a(s.length)&&!qi(s)}function tn(s){return en(s)&&On(s)}function qv(s){return s===!0||s===!1||en(s)&&Pn(s)==Xe}var dl=nm||Do,zv=Xl?Gn(Xl):Zm;function Gv(s){return en(s)&&s.nodeType===1&&!jr(s)}function Kv(s){if(s==null)return!0;if(On(s)&&(st(s)||typeof s=="string"||typeof s.splice=="function"||dl(s)||fr(s)||Wl(s)))return!s.length;var u=Sn(s);if(u==Ze||u==it)return!s.size;if(Kr(s))return!Zs(s).length;for(var _ in s)if(Rt.call(s,_))return!1;return!0}function Jv(s,u){return qr(s,u)}function jv(s,u,_){_=typeof _=="function"?_:t;var S=_?_(s,u):t;return S===t?qr(s,u,t,_):!!S}function Co(s){if(!en(s))return!1;var u=Pn(s);return u==rt||u==nt||typeof s.message=="string"&&typeof s.name=="string"&&!jr(s)}function Yv(s){return typeof s=="number"&&su(s)}function qi(s){if(!Qt(s))return!1;var u=Pn(s);return u==gt||u==ge||u==ze||u==Ie}function Tf(s){return typeof s=="number"&&s==ft(s)}function $a(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=ce}function Qt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function en(s){return s!=null&&typeof s=="object"}var Lf=Rl?Gn(Rl):$m;function Qv(s,u){return s===u||Qs(s,u,ho(u))}function Zv(s,u,_){return _=typeof _=="function"?_:t,Qs(s,u,ho(u),_)}function Xv(s){return Af(s)&&s!=+s}function $v(s){if(O1(s))throw new at(r);return wu(s)}function xv(s){return s===null}function e0(s){return s==null}function Af(s){return typeof s=="number"||en(s)&&Pn(s)==Ht}function jr(s){if(!en(s)||Pn(s)!=on)return!1;var u=Pa(s);if(u===null)return!0;var _=Rt.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ka.call(_)==Zp}var yo=Ls?Gn(Ls):xm;function t0(s){return Tf(s)&&s>=-9007199254740991&&s<=ce}var Ef=$l?Gn($l):e1;function xa(s){return typeof s=="string"||!st(s)&&en(s)&&Pn(s)==un}function Jn(s){return typeof s=="symbol"||en(s)&&Pn(s)==Gt}var fr=ga?Gn(ga):t1;function n0(s){return s===t}function i0(s){return en(s)&&Sn(s)==Kt}function l0(s){return en(s)&&Pn(s)==Jt}var r0=za(Xs),a0=za(function(s,u){return s<=u});function Rf(s){if(!s)return[];if(On(s))return xa(s)?si(s):Vn(s);if(Vr&&s[Vr])return Up(s[Vr]());var u=Sn(s),_=u==Ze?Us:u==it?ba:cr;return _(s)}function zi(s){if(!s)return s===0?s:0;if(s=ii(s),s===ae||s===-1/0){var u=s<0?-1:1;return u*ne}return s===s?s:0}function ft(s){var u=zi(s),_=u%1;return u===u?_?u-_:u:0}function Df(s){return s?Fl(ft(s),0,se):0}function ii(s){if(typeof s=="number")return s;if(Jn(s))return Pe;if(Qt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Qt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Xo(s);var _=vt.test(s);return _||Wt.test(s)?Er(s.slice(2),_?2:8):lt.test(s)?Pe:+s}function Vf(s){return mi(s,Mn(s))}function s0(s){return s?Fl(ft(s),-9007199254740991,ce):s===0?s:0}function At(s){return s==null?"":Kn(s)}var o0=sr(function(s,u){if(Kr(u)||On(u)){mi(u,pn(u),s);return}for(var _ in u)Rt.call(u,_)&&Br(s,_,u[_])}),Of=sr(function(s,u){mi(u,Mn(u),s)}),es=sr(function(s,u,_,S){mi(u,Mn(u),s,S)}),u0=sr(function(s,u,_,S){mi(u,pn(u),s,S)}),f0=Hi(Gs);function c0(s,u){var _=ar(s);return u==null?_:du(_,u)}var d0=dt(function(s,u){s=Bt(s);var _=-1,S=u.length,A=S>2?u[2]:t;for(A&&In(u[0],u[1],A)&&(S=1);++_<S;)for(var F=u[_],q=Mn(F),j=-1,x=q.length;++j<x;){var _e=q[j],pe=s[_e];(pe===t||ui(pe,ir[_e])&&!Rt.call(s,_e))&&(s[_e]=F[_e])}return s}),h0=dt(function(s){return s.push(t,Xu),_n(Mf,t,s)});function g0(s,u){return jo(s,$e(u,3),pi)}function _0(s,u){return jo(s,$e(u,3),Js)}function p0(s,u){return s==null?s:Ks(s,$e(u,3),Mn)}function m0(s,u){return s==null?s:mu(s,$e(u,3),Mn)}function b0(s,u){return s&&pi(s,$e(u,3))}function v0(s,u){return s&&Js(s,$e(u,3))}function w0(s){return s==null?[]:Oa(s,pn(s))}function k0(s){return s==null?[]:Oa(s,Mn(s))}function Po(s,u,_){var S=s==null?t:Ul(s,u);return S===t?_:S}function S0(s,u){return s!=null&&ef(s,u,Km)}function Io(s,u){return s!=null&&ef(s,u,Jm)}var C0=Ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),s[u]=_},To(Fn)),y0=Ju(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=Sa.call(u)),Rt.call(s,u)?s[u].push(_):s[u]=[_]},$e),P0=dt(Wr);function pn(s){return On(s)?fu(s):Zs(s)}function Mn(s){return On(s)?fu(s,!0):n1(s)}function I0(s,u){var _={};return u=$e(u,3),pi(s,function(S,A,F){Ui(_,u(S,A,F),S)}),_}function N0(s,u){var _={};return u=$e(u,3),pi(s,function(S,A,F){Ui(_,A,u(S,A,F))}),_}var T0=sr(function(s,u,_){Ma(s,u,_)}),Mf=sr(function(s,u,_,S){Ma(s,u,_,S)}),L0=Hi(function(s,u){var _={};if(s==null)return _;var S=!1;u=Yt(u,function(F){return F=fl(F,s),S||(S=F.length>1),F}),mi(s,fo(s),_),S&&(_=ei(_,g|p|b,C1));for(var A=u.length;A--;)no(_,u[A]);return _});function A0(s,u){return Ff(s,Xa($e(u)))}var E0=Hi(function(s,u){return s==null?{}:l1(s,u)});function Ff(s,u){if(s==null)return{};var _=Yt(fo(s),function(S){return[S]});return u=$e(u),Nu(s,_,function(S,A){return u(S,A[0])})}function R0(s,u,_){u=fl(u,s);var S=-1,A=u.length;for(A||(A=1,s=t);++S<A;){var F=s==null?t:s[bi(u[S])];F===t&&(S=A,F=_),s=qi(F)?F.call(s):F}return s}function D0(s,u,_){return s==null?s:zr(s,u,_)}function V0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:zr(s,u,_,S)}var Uf=Qu(pn),Bf=Qu(Mn);function O0(s,u,_){var S=st(s),A=S||dl(s)||fr(s);if(u=$e(u,4),_==null){var F=s&&s.constructor;A?_=S?new F:[]:Qt(s)?_=qi(F)?ar(Pa(s)):{}:_={}}return(A?Ut:pi)(s,function(q,j,x){return u(_,q,j,x)}),_}function M0(s,u){return s==null?!0:no(s,u)}function F0(s,u,_){return s==null?s:Ru(s,u,ro(_))}function U0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:Ru(s,u,ro(_),S)}function cr(s){return s==null?[]:Fs(s,pn(s))}function B0(s){return s==null?[]:Fs(s,Mn(s))}function H0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=ii(_),_=_===_?_:0),u!==t&&(u=ii(u),u=u===u?u:0),Fl(ii(s),u,_)}function W0(s,u,_){return u=zi(u),_===t?(_=u,u=0):_=zi(_),s=ii(s),jm(s,u,_)}function q0(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=zi(s),u===t?(u=s,s=0):u=zi(u)),s>u){var S=s;s=u,u=S}if(_||s%1||u%1){var A=ou();return kn(s+A*(u-s+nl("1e-"+((A+"").length-1))),u)}return xs(s,u)}var z0=or(function(s,u,_){return u=u.toLowerCase(),s+(_?Hf(u):u)});function Hf(s){return No(At(s).toLowerCase())}function Wf(s){return s=At(s),s&&s.replace(En,Dp).replace(Ns,"")}function G0(s,u,_){s=At(s),u=Kn(u);var S=s.length;_=_===t?S:Fl(ft(_),0,S);var A=_;return _-=u.length,_>=0&&s.slice(_,A)==u}function K0(s){return s=At(s),s&&hi.test(s)?s.replace(Yi,Vp):s}function J0(s){return s=At(s),s&&Al.test(s)?s.replace(Ei,"\\$&"):s}var j0=or(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),Y0=or(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),Q0=zu("toLowerCase");function Z0(s,u,_){s=At(s),u=ft(u);var S=u?tr(s):0;if(!u||S>=u)return s;var A=(u-S)/2;return qa(La(A),_)+s+qa(Ta(A),_)}function X0(s,u,_){s=At(s),u=ft(u);var S=u?tr(s):0;return u&&S<u?s+qa(u-S,_):s}function $0(s,u,_){s=At(s),u=ft(u);var S=u?tr(s):0;return u&&S<u?qa(u-S,_)+s:s}function x0(s,u,_){return _||u==null?u=0:u&&(u=+u),am(At(s).replace(ai,""),u||0)}function ew(s,u,_){return(_?In(s,u,_):u===t)?u=1:u=ft(u),eo(At(s),u)}function tw(){var s=arguments,u=At(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var nw=or(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function iw(s,u,_){return _&&typeof _!="number"&&In(s,u,_)&&(u=_=t),_=_===t?se:_>>>0,_?(s=At(s),s&&(typeof u=="string"||u!=null&&!yo(u))&&(u=Kn(u),!u&&er(s))?cl(si(s),0,_):s.split(u,_)):[]}var lw=or(function(s,u,_){return s+(_?" ":"")+No(u)});function rw(s,u,_){return s=At(s),_=_==null?0:Fl(ft(_),0,s.length),u=Kn(u),s.slice(_,_+u.length)==u}function aw(s,u,_){var S=M.templateSettings;_&&In(s,u,_)&&(u=t),s=At(s),u=es({},u,S,Zu);var A=es({},u.imports,S.imports,Zu),F=pn(A),q=Fs(A,F),j,x,_e=0,pe=u.interpolate||zn,Ce="__p += '",Oe=Bs((u.escape||zn).source+"|"+pe.source+"|"+(pe===Zi?Se:zn).source+"|"+(u.evaluate||zn).source+"|$","g"),Ke="//# sourceURL="+(Rt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ge+"]")+`
|
|
36
|
+
`;s.replace(Oe,function(et,mt,kt,jn,Nn,Yn){return kt||(kt=jn),Ce+=s.slice(_e,Yn).replace(El,Op),mt&&(j=!0,Ce+=`' +
|
|
37
37
|
__e(`+mt+`) +
|
|
38
|
-
'`),
|
|
39
|
-
`+
|
|
38
|
+
'`),Nn&&(x=!0,Ce+=`';
|
|
39
|
+
`+Nn+`;
|
|
40
40
|
__p += '`),kt&&(Ce+=`' +
|
|
41
41
|
((__t = (`+kt+`)) == null ? '' : __t) +
|
|
42
|
-
'`),_e=
|
|
42
|
+
'`),_e=Yn+et.length,et}),Ce+=`';
|
|
43
43
|
`;var xe=Rt.call(u,"variable")&&u.variable;if(!xe)Ce=`with (obj) {
|
|
44
44
|
`+Ce+`
|
|
45
45
|
}
|
|
46
|
-
`;else if($i.test(xe))throw new at(o);Ce=(
|
|
46
|
+
`;else if($i.test(xe))throw new at(o);Ce=(x?Ce.replace(Sl,""):Ce).replace(Cl,"$1").replace(yl,"$1;"),Ce="function("+(xe||"obj")+`) {
|
|
47
47
|
`+(xe?"":`obj || (obj = {});
|
|
48
|
-
`)+"var __t, __p = ''"+(j?", __e = _.escape":"")+(
|
|
48
|
+
`)+"var __t, __p = ''"+(j?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
|
50
50
|
`:`;
|
|
51
51
|
`)+Ce+`return __p
|
|
52
|
-
}`;var ct=zf(function(){return Tt(F,Ke+"return "+Ce).apply(t,z)});if(ct.source=Ce,Co(ct))throw ct;return ct}function uw(s){return At(s).toLowerCase()}function fw(s){return At(s).toUpperCase()}function cw(s,u,_){if(s=At(s),s&&(_||u===t))return Xo(s);if(!s||!(u=zn(u)))return s;var S=ai(s),A=ai(u),F=$o(S,A),z=xo(S,A)+1;return cl(S,F,z).join("")}function dw(s,u,_){if(s=At(s),s&&(_||u===t))return s.slice(0,tu(s)+1);if(!s||!(u=zn(u)))return s;var S=ai(s),A=xo(S,ai(u))+1;return cl(S,0,A).join("")}function hw(s,u,_){if(s=At(s),s&&(_||u===t))return s.replace(ri,"");if(!s||!(u=zn(u)))return s;var S=ai(s),A=$o(S,ai(u));return cl(S,A).join("")}function gw(s,u){var _=G,S=J;if(Qt(u)){var A="separator"in u?u.separator:A;_="length"in u?ft(u.length):_,S="omission"in u?zn(u.omission):S}s=At(s);var F=s.length;if(er(s)){var z=ai(s);F=z.length}if(_>=F)return s;var j=_-tr(S);if(j<1)return S;var $=z?cl(z,0,j).join(""):s.slice(0,j);if(A===t)return $+S;if(z&&(j+=$.length-j),yo(A)){if(s.slice(j).search(A)){var _e,pe=$;for(A.global||(A=Bs(A.source,At(Je.exec(A))+"g")),A.lastIndex=0;_e=A.exec(pe);)var Ce=_e.index;$=$.slice(0,Ce===t?j:Ce)}}else if(s.indexOf(zn(A),j)!=j){var Oe=$.lastIndexOf(A);Oe>-1&&($=$.slice(0,Oe))}return $+S}function _w(s){return s=At(s),s&&Qi.test(s)?s.replace(Ai,Gp):s}var pw=or(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=At(s),u=_?t:u,u===t?Bp(s)?Jp(s):Ap(s):s.match(u)||[]}var zf=dt(function(s,u){try{return _n(s,t,u)}catch(_){return Co(_)?_:new at(_)}}),mw=Hi(function(s,u){return Ut(u,function(_){_=bi(_),Ui(s,_,ko(s[_],s))}),s});function bw(s){var u=s==null?0:s.length,_=$e();return s=u?Yt(s,function(S){if(typeof S[1]!="function")throw new Zn(a);return[_(S[0]),S[1]]}):[],dt(function(S){for(var A=-1;++A<u;){var F=s[A];if(_n(F[0],this,S))return _n(F[1],this,S)}})}function vw(s){return Gm($n(s,g))}function To(s){return function(){return s}}function ww(s,u){return s==null||s!==s?u:s}var kw=Ku(),Sw=Ku(!0);function Mn(s){return s}function Lo(s){return ku(typeof s=="function"?s:$n(s,g))}function Cw(s){return Cu($n(s,g))}function yw(s,u){return yu(s,$n(u,g))}var Pw=dt(function(s,u){return function(_){return Wr(_,s,u)}}),Iw=dt(function(s,u){return function(_){return Wr(s,_,u)}});function Ao(s,u,_){var S=pn(u),A=Oa(u,S);_==null&&!(Qt(u)&&(A.length||!S.length))&&(_=u,u=s,s=this,A=Oa(u,pn(u)));var F=!(Qt(_)&&"chain"in _)||!!_.chain,z=qi(s);return Ut(A,function(j){var $=u[j];s[j]=$,z&&(s.prototype[j]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),Ce=pe.__actions__=Dn(this.__actions__);return Ce.push({func:$,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return $.apply(s,rl([this.value()],arguments))})}),s}function Nw(){return We._===this&&(We._=xp),this}function Eo(){}function Tw(s){return s=ft(s),dt(function(u){return Pu(u,s)})}var Lw=so(Yt),Aw=so(_a),Ew=so(Rs);function Gf(s){return _o(s)?Ds(bi(s)):s1(s)}function Rw(s){return function(u){return s==null?t:Ul(s,u)}}var Dw=Ju(),Vw=Ju(!0);function Ro(){return[]}function Do(){return!1}function Ow(){return{}}function Mw(){return""}function Fw(){return!0}function Uw(s,u){if(s=ft(s),s<1||s>ue)return[];var _=se,S=kn(s,se);u=$e(u),s-=se;for(var A=Ms(S,u);++_<s;)u(_);return A}function Bw(s){return st(s)?Yt(s,bi):Gn(s)?[s]:Dn(ff(At(s)))}function Hw(s){var u=++Xp;return At(s)+u}var Ww=Wa(function(s,u){return s+u},0),qw=oo("ceil"),zw=Wa(function(s,u){return s/u},1),Gw=oo("floor");function Kw(s){return s&&s.length?Va(s,Mn,Js):t}function jw(s,u){return s&&s.length?Va(s,$e(u,2),Js):t}function Jw(s){return Qo(s,Mn)}function Yw(s,u){return Qo(s,$e(u,2))}function Qw(s){return s&&s.length?Va(s,Mn,Xs):t}function Zw(s,u){return s&&s.length?Va(s,$e(u,2),Xs):t}var Xw=Wa(function(s,u){return s*u},1),$w=oo("round"),xw=Wa(function(s,u){return s-u},0);function ek(s){return s&&s.length?Os(s,Mn):0}function tk(s,u){return s&&s.length?Os(s,$e(u,2)):0}return M.after=Cv,M.ary=kf,M.assign=f0,M.assignIn=Of,M.assignInWith=es,M.assignWith=c0,M.at=d0,M.before=Sf,M.bind=ko,M.bindAll=mw,M.bindKey=Cf,M.castArray=Ov,M.chain=bf,M.chunk=G1,M.compact=K1,M.concat=j1,M.cond=bw,M.conforms=vw,M.constant=To,M.countBy=ev,M.create=h0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=g0,M.defaultsDeep=_0,M.defer=yv,M.delay=Pv,M.difference=J1,M.differenceBy=Y1,M.differenceWith=Q1,M.drop=Z1,M.dropRight=X1,M.dropRightWhile=$1,M.dropWhile=x1,M.fill=eb,M.filter=nv,M.flatMap=rv,M.flatMapDeep=av,M.flatMapDepth=sv,M.flatten=gf,M.flattenDeep=tb,M.flattenDepth=nb,M.flip=Iv,M.flow=kw,M.flowRight=Sw,M.fromPairs=ib,M.functions=S0,M.functionsIn=C0,M.groupBy=ov,M.initial=rb,M.intersection=ab,M.intersectionBy=sb,M.intersectionWith=ob,M.invert=P0,M.invertBy=I0,M.invokeMap=fv,M.iteratee=Lo,M.keyBy=cv,M.keys=pn,M.keysIn=On,M.map=Ya,M.mapKeys=T0,M.mapValues=L0,M.matches=Cw,M.matchesProperty=yw,M.memoize=Za,M.merge=A0,M.mergeWith=Mf,M.method=Pw,M.methodOf=Iw,M.mixin=Ao,M.negate=Xa,M.nthArg=Tw,M.omit=E0,M.omitBy=R0,M.once=Nv,M.orderBy=dv,M.over=Lw,M.overArgs=Tv,M.overEvery=Aw,M.overSome=Ew,M.partial=So,M.partialRight=Nf,M.partition=hv,M.pick=D0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Rw,M.pull=db,M.pullAll=pf,M.pullAllBy=hb,M.pullAllWith=gb,M.pullAt=_b,M.range=Dw,M.rangeRight=Vw,M.rearg=Lv,M.reject=pv,M.remove=pb,M.rest=Av,M.reverse=vo,M.sampleSize=bv,M.set=O0,M.setWith=M0,M.shuffle=vv,M.slice=mb,M.sortBy=Sv,M.sortedUniq=yb,M.sortedUniqBy=Pb,M.split=rw,M.spread=Ev,M.tail=Ib,M.take=Nb,M.takeRight=Tb,M.takeRightWhile=Lb,M.takeWhile=Ab,M.tap=Kb,M.throttle=Rv,M.thru=Ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Bw,M.toPlainObject=Vf,M.transform=F0,M.unary=Dv,M.union=Eb,M.unionBy=Rb,M.unionWith=Db,M.uniq=Vb,M.uniqBy=Ob,M.uniqWith=Mb,M.unset=U0,M.unzip=wo,M.unzipWith=mf,M.update=B0,M.updateWith=H0,M.values=cr,M.valuesIn=W0,M.without=Fb,M.words=qf,M.wrap=Vv,M.xor=Ub,M.xorBy=Bb,M.xorWith=Hb,M.zip=Wb,M.zipObject=qb,M.zipObjectDeep=zb,M.zipWith=Gb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Ww,M.attempt=zf,M.camelCase=K0,M.capitalize=Hf,M.ceil=qw,M.clamp=q0,M.clone=Mv,M.cloneDeep=Uv,M.cloneDeepWith=Bv,M.cloneWith=Fv,M.conformsTo=Hv,M.deburr=Wf,M.defaultTo=ww,M.divide=zw,M.endsWith=j0,M.eq=oi,M.escape=J0,M.escapeRegExp=Y0,M.every=tv,M.find=iv,M.findIndex=df,M.findKey=p0,M.findLast=lv,M.findLastIndex=hf,M.findLastKey=m0,M.floor=Gw,M.forEach=vf,M.forEachRight=wf,M.forIn=b0,M.forInRight=v0,M.forOwn=w0,M.forOwnRight=k0,M.get=Po,M.gt=Wv,M.gte=qv,M.has=y0,M.hasIn=Io,M.head=_f,M.identity=Mn,M.includes=uv,M.indexOf=lb,M.inRange=z0,M.invoke=N0,M.isArguments=Wl,M.isArray=st,M.isArrayBuffer=zv,M.isArrayLike=Vn,M.isArrayLikeObject=tn,M.isBoolean=Gv,M.isBuffer=dl,M.isDate=Kv,M.isElement=jv,M.isEmpty=Jv,M.isEqual=Yv,M.isEqualWith=Qv,M.isError=Co,M.isFinite=Zv,M.isFunction=qi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Xv,M.isMatchWith=$v,M.isNaN=xv,M.isNative=e0,M.isNil=n0,M.isNull=t0,M.isNumber=Af,M.isObject=Qt,M.isObjectLike=en,M.isPlainObject=Jr,M.isRegExp=yo,M.isSafeInteger=i0,M.isSet=Ef,M.isString=xa,M.isSymbol=Gn,M.isTypedArray=fr,M.isUndefined=l0,M.isWeakMap=r0,M.isWeakSet=a0,M.join=ub,M.kebabCase=Q0,M.last=ei,M.lastIndexOf=fb,M.lowerCase=Z0,M.lowerFirst=X0,M.lt=s0,M.lte=o0,M.max=Kw,M.maxBy=jw,M.mean=Jw,M.meanBy=Yw,M.min=Qw,M.minBy=Zw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Ow,M.stubString=Mw,M.stubTrue=Fw,M.multiply=Xw,M.nth=cb,M.noConflict=Nw,M.noop=Eo,M.now=Qa,M.pad=$0,M.padEnd=x0,M.padStart=ew,M.parseInt=tw,M.random=G0,M.reduce=gv,M.reduceRight=_v,M.repeat=nw,M.replace=iw,M.result=V0,M.round=$w,M.runInContext=Z,M.sample=mv,M.size=wv,M.snakeCase=lw,M.some=kv,M.sortedIndex=bb,M.sortedIndexBy=vb,M.sortedIndexOf=wb,M.sortedLastIndex=kb,M.sortedLastIndexBy=Sb,M.sortedLastIndexOf=Cb,M.startCase=aw,M.startsWith=sw,M.subtract=xw,M.sum=ek,M.sumBy=tk,M.template=ow,M.times=Uw,M.toFinite=zi,M.toInteger=ft,M.toLength=Df,M.toLower=uw,M.toNumber=ti,M.toSafeInteger=u0,M.toString=At,M.toUpper=fw,M.trim=cw,M.trimEnd=dw,M.trimStart=hw,M.truncate=gw,M.unescape=_w,M.uniqueId=Hw,M.upperCase=pw,M.upperFirst=No,M.each=vf,M.eachRight=wf,M.first=_f,Ao(M,function(){var s={};return pi(M,function(u,_){Rt.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ut(["drop","take"],function(s,u){bt.prototype[s]=function(_){_=_===t?1:dn(ft(_),0);var S=this.__filtered__&&!u?new bt(this):this.clone();return S.__filtered__?S.__takeCount__=kn(_,S.__takeCount__):S.__views__.push({size:kn(_,se),type:s+(S.__dir__<0?"Right":"")}),S},bt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ut(["filter","map","takeWhile"],function(s,u){var _=u+1,S=_==Y||_==q;bt.prototype[s]=function(A){var F=this.clone();return F.__iteratees__.push({iteratee:$e(A,3),type:_}),F.__filtered__=F.__filtered__||S,F}}),Ut(["head","last"],function(s,u){var _="take"+(u?"Right":"");bt.prototype[s]=function(){return this[_](1).value()[0]}}),Ut(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");bt.prototype[s]=function(){return this.__filtered__?new bt(this):this[_](1)}}),bt.prototype.compact=function(){return this.filter(Mn)},bt.prototype.find=function(s){return this.filter(s).head()},bt.prototype.findLast=function(s){return this.reverse().find(s)},bt.prototype.invokeMap=dt(function(s,u){return typeof s=="function"?new bt(this):this.map(function(_){return Wr(_,s,u)})}),bt.prototype.reject=function(s){return this.filter(Xa($e(s)))},bt.prototype.slice=function(s,u){s=ft(s);var _=this;return _.__filtered__&&(s>0||u<0)?new bt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ft(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},bt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},bt.prototype.toArray=function(){return this.take(se)},pi(bt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),S=/^(?:head|last)$/.test(u),A=M[S?"take"+(u=="last"?"Right":""):u],F=S||/^find/.test(u);A&&(M.prototype[u]=function(){var z=this.__wrapped__,j=S?[1]:arguments,$=z instanceof bt,_e=j[0],pe=$||st(z),Ce=function(mt){var kt=A.apply(M,rl([mt],j));return S&&Oe?kt[0]:kt};pe&&_&&typeof _e=="function"&&_e.length!=1&&($=pe=!1);var Oe=this.__chain__,Ke=!!this.__actions__.length,xe=F&&!Oe,ct=$&&!Ke;if(!F&&pe){z=ct?z:new bt(this);var et=s.apply(z,j);return et.__actions__.push({func:Ja,args:[Ce],thisArg:t}),new Xn(et,Oe)}return xe&&ct?s.apply(this,j):(et=this.thru(Ce),xe?S?et.value()[0]:et.value():et)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(s){var u=va[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",S=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var A=arguments;if(S&&!this.__chain__){var F=this.value();return u.apply(st(F)?F:[],A)}return this[_](function(z){return u.apply(st(z)?z:[],A)})}}),pi(bt.prototype,function(s,u){var _=M[u];if(_){var S=_.name+"";Rt.call(rr,S)||(rr[S]=[]),rr[S].push({name:u,func:_})}}),rr[Ha(t,y).name]=[{name:"wrapper",func:t}],bt.prototype.clone=_m,bt.prototype.reverse=pm,bt.prototype.value=mm,M.prototype.at=jb,M.prototype.chain=Jb,M.prototype.commit=Yb,M.prototype.next=Qb,M.prototype.plant=Xb,M.prototype.reverse=$b,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=xb,M.prototype.first=M.prototype.head,Vr&&(M.prototype[Vr]=Zb),M},nr=Yp();Nt?((Nt.exports=nr)._=nr,Lt._=nr):We._=nr}).call(Qr)})(us,us.exports);var kr=us.exports;class Zk{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=ie.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 qt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await qt.shouldPreventNavigation(n)||ie.trimLeadingSlash(this.getWindowPath())===ie.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")?ie.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ie.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ie.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ie.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?ie.trimLeadingSlash(window.location.pathname)+window.location.search:ie.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 qt.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 qt.getChildren(h,d));if(n.isExistingRoute){const h=ie.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ie.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await qt.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?ie.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await qt.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=ae.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let I=!1,N=P;for(;N;){if(N.tabNav===!0){I=!0;break}else if(N.tabNav===!1){I=!1;break}else if(ie.isObject(N.tabNav)){if(N.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in N.tabNav&&N.children)if(N.tabNav.hideTabNavAutomatically===!0&&N.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}N=ae.getParentNode(N,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=ae.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=ae.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:I};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let G=document.getElementsByClassName("iframeContainer")[0];if(G&&(I?G.classList.add("iframeContainerTabNav"):G.classList.contains("iframeContainerTabNav")&&G.classList.remove("iframeContainerTabNav")),d.compound)fi.switchActiveIframe(n,void 0,!1),G&&G.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)fi.switchActiveIframe(n,void 0,!1),G&&G.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Q=document.querySelector(".wcContainer");if(Q&&(Q.configChangedRequest=!1),G&&(G.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await fi.navigateIframe(l,t,n);else{const ce=t.get(),Y=await t.prepareInternalData(l);Ee.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(Y),withoutSync:!0})}}const J=document.querySelector(".lui-tab-header");J&&J.dispatchEvent(new Event("lui_ctx_update")),qt.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 qt.extractDataFromPath(e);sp.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)){Jn.deleteNodesRecursively(c);break}}else r=!1}}else Jn.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(ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(n)){const r=Ee.getIframeContainer(),a=fi.getActiveIframe(r);a&&a.vg&&fi.canCache(a.vg)?(fi.switchActiveIframe(Ee.getIframeContainer(),void 0,!1),setTimeout(()=>{fi.switchActiveIframe(Ee.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=me.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ee.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ie.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={...zk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ie.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:zl.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&&zl.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&&kr.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=>ae.checkVisibleForFeatureToggles(a))),zl.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 ot=new Zk;class Xk{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=Ee.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ie.getPathWithoutHash(t):"",l=await qt.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){zl.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(ie.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(ie.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ie.computePxFromPercent(t.rightContentHeight,100-e))+Ee.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:ie.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,ie.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ee.getIframeContainer().style.marginBottom="",_t.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ee.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ee.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ee.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const _t=new Xk;class $k{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{na.hideAppLoadingIndicator()},0)}}const xk=new $k;class e2{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 ci=new e2;class t2{constructor(){return this._userInfoStore=vr({}),this._loggedInStore=vr(!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=_l.parseUrlAuthErrors()||{};if(await _l.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ie.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=_l.getStoredAuthData();if(!t||!_l.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await wi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ie.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ie.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(hl(this._userInfoStore))),ie.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&ci.isNewlyAuthorized()&&await wi.handleAuthEvent("onAuthSuccessful",e,t),ci.removeNewlyAuthorized(),ie.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ie.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ci.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=_l.getStoredAuthData(),t=async l=>{await wi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ci.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);ie.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ie.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=ie.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!ie.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(ie.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await wi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const gn=new t2;class n2{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(ie.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 $r=new n2;class i2{getStoredAuthData(){return ci.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&e.accessTokenExpirationDate>Number(new Date)}parseUrlAuthErrors(){const e=ie.getUrlParameter("error"),t=ie.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await wi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const _l=new i2;class l2{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),a=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),c=new RegExp(`<${n[l]} >`,"g"),h=new RegExp(`</${n[l]}[/]>`,"g"),d=new RegExp(`</${n[l]} [/]>`,"g"),g=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"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,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((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 Sr=new l2;class r2{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=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.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=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.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 kk.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ie.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(ie.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ee.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=$r.hasDecorators()?$r.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:ie.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(ie.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=[...Ee.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ee.specialIframeTypes.filter(n=>Ee.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Ko.getActiveFeatureToggleList(),currentLocale:Et.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new r2;class a2{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=kr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),kr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ee.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ee.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Ji.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 ie=new a2;class s2{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 ie.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(wi.isAuthorizationEnabled()){const r=_l.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];ie.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),ie.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ie.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?"":Et.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await qt.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 qt.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||"/";ot.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?Et.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Et.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 qt.extractDataFromPath(e);return!!await qt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:kr.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=>{kr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Et.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ie.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&&Ee.getLocation(e.viewUrl)===Ee.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:ae.prepareForTests(e.pathSegment,e.label)}}const ae=new s2;class o2{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?ot.getHashPath():ot.getModifiedPathname();e(l)}}),Bn.addEventListener("popstate",n=>{const l=t?ot.getHashPath(location.href):ot.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:ot.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ie.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=ie.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ie.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=Et.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ie.replaceVars(e,t.pathParams,":",!1),e=ie.replaceVars(e,t.context,n),e=ie.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];gl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,gl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[Sr.sanitizeParam(n[0])]=Sr.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 gl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=gl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(ie.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&&gl.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:Et.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 o2;class u2{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 bn=new u2;class f2{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 f2;class c2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ee.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ee.sendMessageToIframe(a,r))}}const d2=new c2;class h2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ie.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ee.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const pr=new h2,Zr=38,br=40,bl=13,Gl=27,xr=32,g2=36,_2=35;class up{constructor(e,t){Fn(this,"dispatch");Fn(this,"search");Fn(this,"isCustomSearchRenderer");Fn(this,"isCustomSearchResultItemRenderer");Fn(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=ie.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=ie.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=Et.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Et.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?ie.isFunction(this.search.searchProvider.onEnter)&&e===bl?this.search.searchProvider.onEnter():ie.isFunction(this.search.searchProvider.onEscape)&&e===Gl?this.search.searchProvider.onEscape():e===br?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.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===br&&(o=r!==null?r:t[0]),e===Zr&&(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&&ie.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):ie.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Gl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===bl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Zr||t===br?this.calcSearchResultItemSelected(t):ie.isFunction(this.search.searchProvider.onEscape)&&t===Gl&&(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?ot.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&&ie.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=k("div"),t=k("div"),n=k("span"),r=W(),a=k("p"),c=W(),h=k("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){L(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=x(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&&T(e),p=!1,b()}}}function p2(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xf(Zf(i,t,l));return{c(){e=k("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){L(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=Ve(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:Ue,o:Ue,d(l){l&&T(e),ht(n,l),i[5](null)}}}function m2(i,e,t){const n=Xt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=Pt("getUnsavedChangesModalPromise"),c=Pt("handleNavigation");Yn(()=>{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=Sr.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)}),rn(()=>{});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){Ye[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class b2 extends Ft{constructor(e){super(),Mt(this,e,m2,p2,Dt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=k("i"),f(e,"class",t=Un(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(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&&T(e)}}}function xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=k("div"),t=k("button"),l=Te(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=x(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&T(e),r=!1,a()}}}function v2(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,I=i[0].buttonDismiss+"",N,V,E,H,D,O=i[0].type&&$f(i),G=i[0].buttonConfirm!==!1&&xf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),O&&O.c(),a=W(),o=k("h2"),h=Te(c),d=W(),g=k("div"),b=W(),m=k("footer"),v=k("div"),G&&G.c(),C=W(),y=k("div"),P=k("button"),N=Te(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(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(J,Q){L(J,e,Q),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),G&&G.m(v,null),w(v,C),w(v,y),w(y,P),w(P,N),H||(D=[x(window,"keydown",i[1]),x(P,"click",i[5])],H=!0)},p(J,[Q]){J[0].type?O?O.p(J,Q):(O=$f(J),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Q&1&&c!==(c=J[0].header+"")&&Ae(h,c),Q&1&&p!==(p=J[0].body+"")&&(g.innerHTML=p),J[0].buttonConfirm!==!1?G?G.p(J,Q):(G=xf(J),G.c(),G.m(v,C)):G&&(G.d(1),G=null),Q&1&&I!==(I=J[0].buttonDismiss+"")&&Ae(N,I),Q&1&&V!==(V="fd-button "+(J[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Q&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+J[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Ue,o:Ue,d(J){J&&T(e),O&&O.d(),G&&G.d(),H=!1,Qe(D)}}}function w2(i,e,t){const n=Xt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),rn(()=>{const d={icon:r[l.type],header:Et.getTranslation("luigi.confirmationModal.header"),body:Et.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")};t(0,l={...l,body:Sr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ee.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 ae.renderIconClassName(d)}function o(d){d.keyCode===Gl&&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 k2 extends Ft{constructor(e){super(),Mt(this,e,w2,v2,Dt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function S2(i){let e,t,n;const l=i[5].default,r=hs(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&_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&&T(e),r&&r.d(a)}}}function C2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Xt();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=[...Ee.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return rn(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Bn.addEventListener("message",v=>{const C=Ee.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ee.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ee.enableA11yOfInactiveIframe()))}))}),Yn(()=>{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 vl extends Ft{constructor(e){super(),Mt(this,e,C2,S2,Dt,{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 vl({props:{disable:i[2]}});let v=i[0].title&&tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=k("div"),v&&v.c(),a=W(),o=k("div"),c=k("div"),h=k("button"),d=k("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[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1ogav75")},m(C,y){L(C,e,y),Me(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=x(h,"click",i[12]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=tc(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&67&&g!==(g=C[0].closebtn_data_testid&&C[6]?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&&T(e),Fe(t),v&&v.d(),b=!1,m()}}}function tc(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&T(e)}}}function nc(i){let e;const t=i[11].default,n=hs(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&_s(n,t,l,l[10],e?gs(t,l[10],r,null):ps(l[10]),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=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","fd-page spinnerContainer fade-out svelte-1ogav75"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function y2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[6]||i[5]&&i[0].header)&&ec(i),C=i[5]&&nc(i),y=i[4]&&ic();return{c(){e=k("div"),t=k("div"),v&&v.c(),n=W(),l=k("div"),C&&C.c(),r=W(),a=k("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-1ogav75"),f(a,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1ogav75"),f(t,"class",d="fd-dialog__content "+(i[5]?i[0].backdrop?`drawer drawer-dialog__content ${i[3]?"btp-drawer__backdrop":"drawer__backdrop"}`:"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1ogav75"),f(t,"data-testid",g=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Un(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":`drawer-dialog ${i[3]?"btp-drawer-dialog":"drawer-dialog"}`)+" svelte-1ogav75"),f(e,"style",b=i[6]?"z-index:1001":"")},m(P,I){L(P,e,I),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,[I]){P[6]||P[5]&&P[0].header?v?(v.p(P,I),I&97&&R(v,1)):(v=ec(P),v.c(),R(v,1),v.m(t,n)):v&&(be(),U(v,1,1,()=>{v=null}),ve()),P[5]?C?(C.p(P,I),I&32&&R(C,1)):(C=nc(P),C.c(),R(C,1),C.m(l,r)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),(!m||I&32&&o!==(o="iframeModalCtn "+(P[5]?"_drawer":"_modal")+" svelte-1ogav75"))&&f(a,"class",o),(!m||I&34&&c!==(c=P[5]?void 0:P[1]))&&f(a,"modal-container-index",c),P[4]?y||(y=ic(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&43&&d!==(d="fd-dialog__content "+(P[5]?P[0].backdrop?`drawer drawer-dialog__content ${P[3]?"btp-drawer__backdrop":"drawer__backdrop"}`:"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1ogav75"))&&f(t,"class",d),(!m||I&64&&g!==(g=P[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||I&105&&p!==(p=Un(P[6]||P[5]&&P[0].backdrop?"fd-dialog fd-dialog--active":`drawer-dialog ${P[3]?"btp-drawer-dialog":"drawer-dialog"}`)+" svelte-1ogav75"))&&f(e,"class",p),(!m||I&64&&b!==(b=P[6]?"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&&T(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function P2(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=Xt();let g,p,b,m,v=!1,C=!1,y=!1,P=!1,I=!1,N=!0,V,E=Pt("store");const H=q=>ae.getNodeLabel(q),D=async q=>{const le=q&&q.length?ie.getPathWithoutHash(q):"",ue=me.parseParams(le.split("?")[1]);m=me.getNodeParams(ue);const ne=await qt.extractDataFromPath(q);g=ne.nodeObject,t(5,I=r.isDrawer||typeof g.drawer=="object"),V=I?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),I?(t(6,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=H(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=H(g),r),t(0,r._liveLabel=!0,r)),b=ne.pathData,t(8,a=!0)},O=async q=>{if(!(v||C))if(a)if(g.webcomponent)t(4,y=!1),I?await Q():await G(),zl.renderWebComponent(g.viewUrl,document.querySelector(V),{context:b.context,clientPermissions:g.clientPermissions||{},pathParams:b.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(V),modalWCData:{...b,nodeParams:m}}),C=!0;else{const le=await J(g.viewUrl,{context:b.context,pathParams:b.pathParams,nodeParams:m});d("iframeCreated",{modalIframe:le,modalIframeData:{...b,nodeParams:m}}),v=!0}else await D(q)},G=async()=>{let q,le;const ue=document.querySelector(".lui-modal-index-"+c),{size:ne,width:Pe,height:se}=r,re=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ue.classList.remove("lui-modal-fullscreen"),Pe&&Pe.match(re)&&se&&se.match(re))q=se,le=Pe;else switch(ne){case"fullscreen":q="100vh",le="100vw",ue.classList.add("lui-modal-fullscreen");break;case"m":q="80%",le="60%";break;case"s":q="80%",le="40%";break;default:q="80%",le="80%"}ue.setAttribute("style",`width:${le};height:${q};`)},J=async(q,le)=>{I?await Q():await G(),q&&(q=me.substituteViewUrl(q,le));const ue=await Ee.createIframe(q,void 0,g,"modal",le);return document.querySelector(V).appendChild(ue),ue};async function Q(q){let le="";const ue=document.getElementsByClassName("drawer"),ne=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?le="width:75%;":r.size==="m"?le="width:50%;":r.size==="s"?le="width:25%;":r.size==="xs"&&(le="width:15.5%;")),r.backdrop?ue[0].setAttribute("style",le):(ne[0].setAttribute("style",le),ue[0].setAttribute("style","width:100%"))}ea(()=>{O(o)});const ce=async q=>{q.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),q.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),q.data.msg==="luigi.get-context"&&(P=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&Y()),q.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),q.data.msg==="luigi.navigation.updateModalSettings"&&((q.data.updatedModalSettings.title||q.data.updatedModalSettings.title==="")&&t(0,r.title=q.data.updatedModalSettings.title,r),(q.data.updatedModalSettings.size||q.data.updatedModalSettings.width||q.data.updatedModalSettings.height)&&(t(0,r.size=q.data.updatedModalSettings.size,r),t(0,r.height=q.data.updatedModalSettings.height,r),t(0,r.width=q.data.updatedModalSettings.width,r),await G()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&ot.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},q.data.addHistoryEntry))};rn(()=>{bn.doOnStoreChange(E,()=>{r._liveLabel&&g&&t(0,r.title=H(g),r)},["navigation.viewgroupdata"]),t(3,p=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1)),Bn.addEventListener("message",ce),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var q;!P&&!g.webcomponent&&((q=g.loadingIndicator)==null?void 0:q.enabled)!==!1&&t(4,y=!0)},250)}),ta(()=>{Bn.removeEventListener("message",ce),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function Y(){let q;N?q=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):q=document.querySelector(".drawer .spinnerContainer"),q&&q.classList.contains("fade-out")&&(q.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ee=()=>d("close",{activeDrawer:!1});return i.$$set=q=>{"settings"in q&&t(0,r=q.settings),"isDataPrepared"in q&&t(8,a=q.isDataPrepared),"nodepath"in q&&t(9,o=q.nodepath),"modalIndex"in q&&t(1,c=q.modalIndex),"disableBackdrop"in q&&t(2,h=q.disableBackdrop),"$$scope"in q&&t(10,l=q.$$scope)},[r,c,h,p,y,I,N,d,a,o,l,n,ee]}class fp extends Ft{constructor(e){super(),Mt(this,e,P2,y2,Dt,{settings:0,isDataPrepared:8,nodepath:9,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=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=oc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function oc(i){let e,t,n=Ve(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=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Ve(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&&T(e),ht(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?N2:I2}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function I2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=k("div"),n=Te(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){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ae(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function N2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Jf(e,i[0][i[1][0]][i[27]]),l||(r=x(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&&T(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 I(){return i[19](i[28])}let N=v&&cc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),a=k("span"),c=Te(o),d=W(),g=k("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=k("div"),N&&N.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){L(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),N&&N.m(m,null),C||(y=[x(r,"keydown",P),x(n,"click",Ot(I))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(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?N?N.p(i,E):(N=cc(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(V){V&&T(e),N&&N.d(),C=!1,Qe(y)}}}function cc(i){let e,t=Ve(i[28].options),n=[];for(let l=0;l<t.length;l+=1)n[l]=dc(ac(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r[0]&4634){t=Ve(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&&T(e),ht(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=k("li"),t=k("span"),l=Te(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"),Zt(e,"is-selected",i[4]===i[33]),Zt(e,"is-focus",i[4]===i[33])},m(d,g){L(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[x(e,"click",h),x(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Ae(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&Zt(e,"is-selected",i[4]===i[33]),g[0]&16&&Zt(e,"is-focus",i[4]===i[33])},d(d){d&&T(e),o=!1,Qe(c)}}}function hc(i){let e,t,n,l=Ve(i[28].options),r=[];for(let a=0;a<l.length;a+=1)r[a]=gc(rc(i,l,a));return{c(){e=k("div"),t=k("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){L(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=Ve(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&&T(e),ht(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=k("button"),n=Te(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){L(p,e,b),w(e,n),w(e,l),h||(d=x(e,"click",g),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Ae(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&T(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=k("label"),t=k("span"),n=k("input"),a=W(),o=k("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){L(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=x(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&&T(e),h=!1,d()}}}function pc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=x(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&&T(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),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&pc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Te(l),a=Te(":"),o=W(),c=k("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),I&&I.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(N,V){L(N,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),I&&I.m(c,null),w(e,m)},p(N,V){V[0]&34&&l!==(l=N[5](N[28].label)+"")&&Ae(r,l),N[28].type==="string"?v?v.p(N,V):(v=uc(N),v.c(),v.m(c,h)):v&&(v.d(1),v=null),N[28].type==="enum"&&(N[28].style===void 0||N[28].style==="list")?C?C.p(N,V):(C=fc(N),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=N[28].type==="enum"&&N[28].style==="button"&&Array.isArray(N[28].options)),g?y?y.p(N,V):(y=hc(N),y.c(),y.m(c,p)):y&&(y.d(1),y=null),N[28].type==="boolean"&&(!N[28].style||N[28].style==="switch")?P?P.p(N,V):(P=_c(N),P.c(),P.m(c,b)):P&&(P.d(1),P=null),N[28].type==="boolean"&&N[28].style==="checkbox"?I?I.p(N,V):(I=pc(N),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(N){N&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),I&&I.d()}}}function T2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&sc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[x(window,"click",i[7]),x(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:Ue,o:Ue,d(r){r&&T(e),l&&l.d(),t=!1,Qe(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function L2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Xt();let o=Pt("getTranslation");Si(i,o,Y=>t(5,n=Y));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Y){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(ee=>{m(ee,!1)})}function b(Y,ee){let q=ls(Y.target,".fd-popover__control",20),le=q.getAttribute("aria-expanded")==="true";(ee||ee===void 0)&&(p(),m(q,!le))}function m(Y,ee){const q=Y.querySelector(".lui-activate-dropdown"),le=Y.parentNode.querySelector(".fd-popover__body"),ue=Y.parentNode.querySelector(".fd-select__control");Y.setAttribute("aria-expanded",ee),le.setAttribute("aria-hidden",!ee),ue.setAttribute("aria-expanded",ee),q.setAttribute("aria-expanded",ee),t(14,h=ee)}function v(Y,ee,q){t(4,c=q),t(0,r[l[0]][Y]=ee.value||ee,r)}function C(Y,ee){document.querySelectorAll(".enum-buttons-container-"+Y+" button").forEach(q=>{const le=q.getAttribute("id"),ue=`lui-us-enum_button_${Y}_option`;le===ue?q.classList.add("fd-button--emphasized"):q.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Y]=ee.value||ee,r)}function y(Y,ee){let q;if(Array.isArray(ee)){for(let le=0;le<ee.length;le++)if(ie.isObject(ee[le])){if(ee[le].value&&ee[le].value===Y){q=ee[le].label,t(4,c=le);break}}else{q=Y,t(4,c=ee.indexOf(Y));break}return n(q)}}function P(Y){return n(ie.isObject(Y)?Y.label:Y)}function I(Y,ee,q){return ie.isObject(q)?`${Y}_${ee}_${q.value}`:`${Y}_${ee}_${q}`}function N(Y,ee,q,le){let ue=ls(Y.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${q}`).children;let Pe=-1;if([...ne].forEach((se,re)=>{se.classList.contains("is-focus")&&(Pe=re)}),h){if(Y.keyCode===Zr&&Y.altKey&&(ue.click(),ue.focus()),Y.keyCode===br&&!Y.altKey){if(Pe===-1){Pe=0,ne.item(Pe).classList.add("is-focus");return}Pe<le.options.length-1&&(ne.item(Pe).classList.remove("is-focus"),Pe+=1,ne.item(Pe).classList.add("is-focus"))}if(Y.keyCode===Zr&&!Y.altKey){if(Pe===-1){Pe=Pe.length-1,ne.item(Pe).classList.add("is-focus");return}Pe>0&&Pe<le.options.length&&(ne.item(Pe).classList.remove("is-focus"),Pe-=1,ne.item(Pe).classList.add("is-focus"))}(Y.keyCode===bl||Y.keyCode===xr)&&v(ee,le.options[Pe],Pe)}else ue.focus(),Y.keyCode===br&&Y.altKey&&ue.click(),Y.keyCode===br&&!Y.altKey&&Pe<le.options.length-1&&v(ee,le.options[Pe+1],Pe+1),Y.keyCode===Zr&&!Y.altKey&&Pe>0&&Pe<le.options.length&&v(ee,le.options[Pe-1],Pe-1)}function V(Y){if(h){let ee=ls(Y.target,".fd-popover",20);ee.blur(),(Y.keyCode===xr||Y.keyCode===bl)&&(Y.target.click(),p(),setTimeout(()=>{ee.focus()},0))}}y();function E(Y){r[l[0]][Y]=this.value,t(0,r)}const H=(Y,ee,q,le)=>N(le,Y,ee,q),D=Y=>b(event,Y.isEditable),O=(Y,ee,q)=>v(Y,ee,q),G=Y=>V(Y),J=(Y,ee)=>C(Y,ee);function Q(Y){r[l[0]][Y]=this.checked,t(0,r)}function ce(Y){r[l[0]][Y]=this.checked,t(0,r)}return i.$$set=Y=>{"userSettingGroup"in Y&&t(1,l=Y.userSettingGroup),"storedUserSettingData"in Y&&t(0,r=Y.storedUserSettingData),"isComboOpen"in Y&&t(14,h=Y.isComboOpen)},[r,l,N,V,c,n,o,p,b,v,C,y,P,I,h,d,g,E,H,D,O,G,J,Q,ce]}class A2 extends Ft{constructor(e){super(),Mt(this,e,L2,T2,Dt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:bc}=wl;function vc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[37]=t,n}function wc(i,e,t){const n=i.slice();return n[38]=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[38][1])),e?R2:E2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){o&&(T(t),T(n)),a.d(o)}}}function E2(i){let e,t,n,l,r,a=i[38][1].initials&&Sc(i);return{c(){e=k("span"),l=W(),a&&a.c(),r=we(),f(e,"class",t=Un(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-572zjn"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ni(e,"background-image","url('"+i[38][1].icon+"')"),ni(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=Un(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-572zjn")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&ni(e,"background-image","url('"+o[38][1].icon+"')"),o[38][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&&(T(e),T(l),T(r)),a&&a.d(o)}}}function R2(i){let e,t,n,l;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Un(i[18](i[38][1].icon))+" svelte-572zjn"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-572zjn")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Un(r[18](r[38][1].icon))+" svelte-572zjn")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-572zjn")&&f(e,"class",l)},d(r){r&&T(e)}}}function Sc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class",l=Un(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-572zjn"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Ae(n,t),o[0]&2&&l!==(l=Un(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-572zjn")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function Cc(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,h,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",g,p,b,m,v=i[38][1].icon&&kc(i);function C(){return i[21](i[38])}function y(...P){return i[22](i[37],...P)}return{c(){e=k("li"),t=k("a"),v&&v.c(),n=W(),l=k("div"),r=k("div"),o=Te(a),c=W(),h=k("div"),g=Te(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-572zjn"),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,I){L(P,e,I),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=[x(e,"click",St(C)),x(e,"keydown",y)],b=!0)},p(P,I){i=P,i[38][1].icon?v?v.p(i,I):(v=kc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),I[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ae(g,d)},d(P){P&&T(e),v&&v.d(),b=!1,Qe(m)}}}function yc(i){let e,t=Ve(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=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Ve(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&&T(e),ht(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 A2({props:o}),Ye.push(()=>yt(e,"closeDropDown",r)),Ye.push(()=>yt(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Be(e.$$.fragment)},m(c,h){Me(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],Ct(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],Ct(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function D2(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])+"",I,N,V,E,H,D,O,G,J,Q,ce,Y,ee,q=i[10](i[5])+"",le,ue,ne,Pe,se=i[10](i[6])+"",re,ke,je,ye,Le=Ve(Object.entries(i[1])),ze=[];for(let De=0;De<Le.length;De+=1)ze[De]=yc(vc(i,Le,De));let Xe=i[11]&&Pc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("div"),o=k("h2"),h=Te(c),d=W(),g=k("div"),p=k("ul");for(let De=0;De<ze.length;De+=1)ze[De].c();b=W(),m=k("div"),v=k("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=k("h2"),I=Te(P),N=W(),V=k("div"),E=k("div"),Xe&&Xe.c(),H=W(),D=k("div"),O=W(),G=k("div"),J=W(),Q=k("footer"),ce=k("div"),Y=k("div"),ee=k("button"),le=Te(q),ue=W(),ne=k("div"),Pe=k("button"),re=Te(se),f(o,"class","fd-title fd-title--h5 svelte-572zjn"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header lui-us-group-header svelte-572zjn"),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-572zjn"),f(r,"class","fd-side-nav svelte-572zjn"),f(l,"class","lui-usersettings-left-nav svelte-572zjn"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-572zjn"),f(y,"class","fd-title fd-title--h5 svelte-572zjn"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-572zjn"),f(E,"class","usersettingseditor mf-wrapper svelte-572zjn"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-572zjn"),f(G,"class","wcUserSettingsCtn wc-wrapper svelte-572zjn"),f(V,"class","lui-usersettings-content svelte-572zjn"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-572zjn"),f(ee,"data-testid","lui-us-saveBtn"),f(ee,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Y,"class","fd-bar__element"),f(Pe,"data-testid","lui-us-dismissBtn"),f(Pe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ne,"class","fd-bar__element"),f(ce,"class","fd-bar__right"),f(Q,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-572zjn"),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-572zjn"),f(e,"tabindex","0")},m(De,nt){L(De,e,nt),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 lt=0;lt<ze.length;lt+=1)ze[lt]&&ze[lt].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,I),w(n,N),w(n,V),w(V,E),Xe&&Xe.m(E,null),w(V,H),w(V,D),w(V,O),w(V,G),w(t,J),w(t,Q),w(Q,ce),w(ce,Y),w(Y,ee),w(ee,le),w(ce,ue),w(ce,ne),w(ne,Pe),w(Pe,re),ke=!0,je||(ye=[x(bc,"resize",i[20]),x(bc,"keydown",i[3]),x(v,"click",i[17]),x(ee,"click",i[25]),x(Pe,"click",i[26])],je=!0)},p(De,nt){if((!ke||nt[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),nt[0]&803846){Le=Ve(Object.entries(De[1]));let lt;for(lt=0;lt<Le.length;lt+=1){const gt=vc(De,Le,lt);ze[lt]?ze[lt].p(gt,nt):(ze[lt]=yc(gt),ze[lt].c(),ze[lt].m(p,null))}for(;lt<ze.length;lt+=1)ze[lt].d(1);ze.length=Le.length}(!ke||nt[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(I,P),De[11]?Xe?(Xe.p(De,nt),nt[0]&2048&&R(Xe,1)):(Xe=Pc(De),Xe.c(),R(Xe,1),Xe.m(E,null)):Xe&&(be(),U(Xe,1,1,()=>{Xe=null}),ve()),(!ke||nt[0]&1056)&&q!==(q=De[10](De[5])+"")&&Ae(le,q),(!ke||nt[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(re,se)},i(De){ke||(R(Xe),ke=!0)},o(De){U(Xe),ke=!1},d(De){De&&T(e),ht(ze,De),Xe&&Xe.d(),je=!1,Qe(ye)}}}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 V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function O2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function M2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function cp(i,e,t){if(i&&t>0)return i.matches(e)?i:cp(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 F2(i,e,t){let n,{userSettingGroups:l}=e;const r=Xt();let a,{storedUserSettings:o={}}=e,c={},h=Pt("getTranslation");Si(i,h,se=>t(10,n=se));let d=ml.userSettingsDialog.dialogHeader,g=ml.userSettingsDialog.saveBtn,p=ml.userSettingsDialog.dismissBtn,b={},m,v,C,y;ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),rn(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),re=se||te.getConfigValue("settings.userSettings.userSettingsDialog");re&&(t(4,d=re.dialogHeader?re.dialogHeader:d),t(5,g=re.saveBtn?re.saveBtn:g),t(6,p=re.dismissBtn?re.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Bn.addEventListener("message",ke=>{const je=Ee.getValidMessageSource(ke);if(!je||ke.data.msg!=="custom")return;je._ready=!0;const ye=ss.convertCustomMessageInternalToUser(ke.data);if(ye.id==="luigi.updateUserSettings"){const ze=pr.findActiveCustomUserSettingsIframe(ke.source);if(ze){let Xe=ze.getAttribute("userSettingsGroup");t(0,o[Xe]=ye.data,o)}}ye.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&D()}),te.readUserSettings().then(ke=>{c=JSON.parse(JSON.stringify(ke)),ke===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),ke)),I([m,l[0][m]])}).catch(ke=>{ke&&ke.message&&console.error(ke.message),ke&&ke.closeDialog&&r("close")}),Ee.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!ie.isObject(se.settings))for(let re in se.settings){let ke=se.settings[re];ke.type==="enum"?Array.isArray(ke.options)||console.error(`There is no options array for '${re}' defined in the Luigi userSettings config.`):ke.type===void 0&&console.error(`There is no data type defined for '${re}' in the Luigi userSettings config.`)}}function I(se,re){t(11,a=se);let ke=se[0],je=se[1];if(P(je),re?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Le=>{Le.classList.remove("is-selected")}),cp(re.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<hn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()),je.viewUrl){if(pr.hideUserSettingsIframe(),je.webcomponent){N({...je},ke);return}if(b.hasOwnProperty(ke))pr.getUserSettingsIframesInDom().forEach(ye=>{ye.userSettingsGroup===ke&&(ye.style.display="block")});else{const ye=$r.hasDecorators()?$r.applyDecorators(je.viewUrl):je.viewUrl;let Le=pr.createIframe(ye,ke);b[ke]=Le}O2()}else M2()}function N(se,re){const ke=document.querySelector(".wcUserSettingsCtn");if(!ke)return;ke.innerHTML="";const je={};ke.eventBus={listeners:je,onPublishEvent:De=>{t(0,o[re]=De.detail,o)}};const ye={...se.context,userSettingsdata:o[re]},Le=se.eventListeners,ze=se.webcomponent,Xe=se.label;zl.renderWebComponent(se.viewUrl,ke,ie.isObject(ye)?{context:ye}:{},ie.isObject(ze)?{eventListeners:Le,webcomponent:ze}:{},Xe?Xe.replace(/ /g,"").toLowerCase():null),V2()}const V=se=>{t(0,o=se.detail.userSettings)};function E(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function H(){D()}function D(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()}function O(se){return ae.renderIconClassName(se)}function G(se){return ae.isOpenUIiconName(se.icon)}let J;const Q=()=>{const se=window.innerWidth>=hn.desktopMinWidth&&J<hn.desktopMinWidth;if(window.innerWidth<hn.desktopMinWidth&&J>=hn.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"),!J){let ke=document.querySelector(".confirm-button");window.innerWidth<hn.desktopMinWidth?ke.style.display="none":ke.style.display="block"}J=window.innerWidth};function ce(se,re){let ke=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===bl||se.keyCode===xr)&&ke[re].click(),se.keyCode===_2&&ke[Object.keys(l).length-1].focus(),se.keyCode===g2&&ke[0].focus()}function Y(se){se.keyCode===Gl&&C?y():se.keyCode===Gl&&!C&&r("close")}const ee=se=>I(se,event),q=(se,re)=>ce(re,[se]);function le(se){y=se,t(9,y)}function ue(se){C=se,t(8,C)}const ne=()=>E(),Pe=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,ce,Y,d,g,p,v,C,y,n,a,r,h,I,V,E,D,O,G,Q,ee,q,le,ue,ne,Pe]}class U2 extends Ft{constructor(e){super(),Mt(this,e,F2,D2,Dt,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:B2}=wl;function H2(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function W2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=k("h1"),a=Te(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){L(h,e,d),w(e,t),L(h,n,d),L(h,l,d),w(l,a),o||(c=x(t,"click",Ot(St(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ae(a,r)},d(h){h&&(T(e),T(n),T(l)),o=!1,c()}}}function Tc(i){let e,t,n,l,r,a,o,c;return{c(){e=k("div"),t=W(),n=k("div"),l=k("div"),r=W(),a=k("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){L(h,e,d),L(h,t,d),L(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[x(a,"click",Ot(St(i[3]))),x(n,"mousedown",Ot(i[6]))],o=!0)},p:Ue,d(h){h&&(T(e),T(t),T(n)),o=!1,Qe(c)}}}function q2(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?W2:H2}let p=g(i),b=p(i),m=!i[0]&&Tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),b.c(),a=W(),m&&m.c(),o=we(),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){L(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=x(B2,"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&&(T(e),T(a),T(o)),Fe(t),b.d(),m&&m.d(v),h=!1,d()}}}function z2(i,e,t){const n=Xt();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,I=!1,N=Pt("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:q=>{q&&Object.getOwnPropertyNames(q).forEach(le=>{le==="splitViewSettings"?t(1,C=q.splitViewSettings):le==="lastNode"?r=q.lastNode:le==="pathData"?a=q.pathData:le==="nodeParams"?o=q.nodeParams:le==="collapsed"?t(0,v=q.collapsed):le==="isDataPrepared"?t(8,y=q.isDataPrepared):le==="currentNode"?c=q.currentNode:le==="splitViewIframe"?d=q.splitViewIframe:le==="splitViewIframeData"?g=q.splitViewIframeData:le==="splitViewWC"?p=q.splitViewWC:le==="splitViewWCData"&&(b=q.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:N}),E=async()=>{y?v||_t.createAndSetView(V()):await _t.prepareSplitViewData(V(),m)},H=()=>{l.split=_t.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=_t.getDragger()},D=()=>{const q=_t.getDraggerBackdrop();q&&(q.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${_t.splitViewValues.top}px`),l.split.style.top=`${_t.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(q){if(Ee.getValidMessageSource(q)&&(q.data.msg==="luigi.navigation.splitview.close"&&_t.close(V()),q.data.msg==="luigi.navigation.splitview.collapse"&&G(),q.data.msg==="luigi.navigation.splitview.expand"&&J(),q.data.msg==="luigi.navigation.splitview.resize")){const le=parseInt(q.data.data);if(_t.calculateAndSetSplitViewValues(le,_t.internalValues),v)return;D(),_t.sendMessageToClients("resize.ok",_t.splitViewValues.percent)}}rn(()=>{Q(),h=O.bind(this),Bn.addEventListener("message",h)}),ea(()=>{E(),I!==y&&!v&&(I=y,D())}),ta(()=>{window.removeEventListener("message",h)});function G(){_t.collapse(V())}async function J(){await _t.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const q=ie.getShellbarHeight();_t.internalValues.innerHeight=ie.getInnerHeight(),_t.internalValues.rightContentHeight=_t.internalValues.innerHeight-q,_t.internalValues.thresholdBottom=30,_t.internalValues.thresholdTop=q+30,_t.calculateAndSetSplitViewValues(_t.splitViewValues.percent,_t.internalValues),v||D()}function ce(q){let le=q.y,ue={};const ne=function(je){const ye=le-je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||ye===0)return;const ze=Le-ye,Xe=_t.internalValues.innerHeight-ze,De=_t.enforceTresholds(ze,Xe);ze<De.top||Xe<De.bottom||(ue=De,le=je.y,l.draggable.style.top=`${ue.top}px`)},Pe=function(){if(se(),!ue.top||!ue.bottom||ue.top==_t.internalValues.m_pos_prev){_t.getDraggerBackdrop().style.display="none";return}_t.internalValues.m_pos_prev=ue.top,_t.splitViewValues=ue,D(),_t.sendMessageToClients("resize.ok",ue.percent)},se=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",ne)},re=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",ne)};H(),se(),re(),_t.getDraggerBackdrop().style.display="block"}const Y=q=>{let le=_t.getDraggerButton();le&&(le.style.display=q?"block":"none"),le=_t.getCollapsedDraggerButton(),le&&(le.style.display=q?"block":"none")},ee=q=>{Y(!q.detail||q.detail.backdropActive!==!0)};return i.$$set=q=>{"nodepath"in q&&t(9,m=q.nodepath),"collapsed"in q&&t(0,v=q.collapsed),"splitViewSettings"in q&&t(1,C=q.splitViewSettings),"isDataPrepared"in q&&t(8,y=q.isDataPrepared),"disableBackdrop"in q&&t(2,P=q.disableBackdrop)},[v,C,P,G,J,Q,ce,ee,y,m]}class dp extends Ft{constructor(e){super(),Mt(this,e,z2,q2,Dt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Lc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:j2,then:K2,catch:G2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=we(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&rs(t,n)||X_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function G2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function K2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(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&&T(e),t&&t.d(n)}}}function Ac(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Te(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){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ae(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function j2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function J2(i){let e,t=i[0]&&i[0].badgeCounter&&Lc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function Y2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class An extends Ft{constructor(e){super(),Mt(this,e,Y2,J2,Dt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Te(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){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ae(l,n)},d(r){r&&T(e)}}}function Q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ec(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}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 ii extends Ft{constructor(e){super(),Mt(this,e,Z2,Q2,Dt,{node:0})}}function X2(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,I=hs(P,i,i[3],null);return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),c=k("span"),d=W(),g=k("ul"),I&&I.c(),p=W(),b=k("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(N,V){L(N,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),I&&I.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[x(n,"click",Ot(St(i[2]))),x(n,"keyup",i[5])],C=!0)},p(N,V){(!v||V&2)&&r!==(r=N[1].title+"")&&Ae(a,r),(!v||V&2&&h!==(h=N[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",N[0]),I&&I.p&&(!v||V&8)&&_s(I,P,N,N[3],v?gs(P,N[3],V,null):ps(N[3]),null),(!v||V&2&&m!==(m=N[1].uid))&&f(g,"navgroupid",m)},i(N){v||(R(I,N),v=!0)},o(N){U(I,N),v=!1},d(N){N&&T(e),I&&I.d(N),C=!1,Qe(y)}}}function $2(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 x2(i){let e,t,n,l;const r=[$2,X2],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=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),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&&T(n),a[e].d(c)}}}function eS(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),ae.storeExpandedState(r.uid,a),r.isSingleEntry||ae.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 tS extends Ft{constructor(e){super(),Mt(this,e,eS,x2,Dt,{navGroup:1,expanded:0})}}const{window:ns}=wl;function Rc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Dc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[94]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Bc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[101]=e[t],n}function nS(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=k("div"),g&&g.c(),t=W(),n=k("nav"),l=k("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-56m9cq"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-56m9cq"),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-56m9cq")},m(m,v){L(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=x(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&&(be(),U(p,1,1,()=>{p=null}),ve()),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-56m9cq"))&&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-56m9cq"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&T(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function iS(i){let e,t,n,l,r=i[12]&&bd(i),a=i[0]&&i[5].length>1&&Sd(i);return{c(){e=k("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[23]?"is-compact":"")+" "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-56m9cq"),f(e,"role","navigation"),ni(e,"width","var(--luigi__left-sidenav--width)"),ni(e,"height","100%")},m(o,c){L(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&&(be(),U(a,1,1,()=>{a=null}),ve()),(!l||c[0]&8388686&&n!==(n="fd-navigation fd-navigation--vertical "+(o[23]?"is-compact":"")+" "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-56m9cq"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&T(e),r&&r.d(),a&&a.d()}}}function Wc(i){let e,t=!i[12].renderer&&qc(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-56m9cq")},m(n,l){L(n,e,l),t&&t.m(e,null),i[63](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&&T(e),t&&t.d(),i[63](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=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-56m9cq"),f(n,"class","fd-nested-list__link svelte-56m9cq"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-56m9cq"),f(e,"class","fd-nested-list svelte-56m9cq")},m(p,b){L(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)+"")&&Ae(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&&T(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?rS:lS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function lS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-nested-list__icon sap-icon svelte-56m9cq")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!tt(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&&T(e)}}}function rS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-56m9cq"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function Gc(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-56m9cq"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=x(e,"click",St(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Kc(i){let e,t,n,l,r=Ve(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=k("div"),t=k("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-56m9cq"),f(e,"class","lui-fd-side-nav-wrapper svelte-56m9cq")},m(c,h){L(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=Ve(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(be(),d=r.length;d<a.length;d+=1)o(d);ve()}(!l||h[0]&8388608&&n!==(n=Un(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-56m9cq"))&&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&&T(e),ht(a,c)}}}function aS(i){let e,t,n,l;const r=[uS,oS],a=[];function o(c,h){return c[98].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),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&&T(n),a[e].d(c)}}}function sS(i){let e,t,n=Ve(i[98]),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=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=Ve(a[98]);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(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function oS(i){let e,t,n=i[27](i[97])+"",l,r,a,o,c,h,d=i[10]&&i[98].metaInfo.icon&&jc(i),g=Ve(i[98]),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=k("li"),d&&d.c(),t=W(),l=Te(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=we(),f(e,"class","fd-nested-list__group-header lui-category svelte-56m9cq"),f(e,"title",r=i[35](i[98],i[27](i[97]))),f(e,"data-testid",a=i[34](i[98].metaInfo,i[97])),f(e,"id","category_list_level1_"+i[100])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(m,v);L(m,c,v),h=!0},p(m,v){if(m[10]&&m[98].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[97])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[98],m[27](m[97]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[98].metaInfo,m[97])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[98]);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(be(),C=g.length;C<p.length;C+=1)b(C);ve()}},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&&(T(e),T(o),T(c)),d&&d.d(),ht(p,m)}}}function uS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H,D,O,G,J,Q,ce;function Y(ye,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!ye[32](ye[98].metaInfo.icon)),l?mS:pS}let ee=Y(i,[-1,-1,-1,-1]),q=ee(i);function le(){return i[66](i[98])}function ue(){return i[67](i[98])}function ne(...ye){return i[68](i[98],...ye)}let Pe=Ve(i[98]),se=[];for(let ye=0;ye<Pe.length;ye+=1)se[ye]=id(Oc(i,Pe,ye));const re=ye=>U(se[ye],1,1,()=>{se[ye]=null});let ke=i[98].metaInfo&&i[98].metaInfo.label===i[8]&&ld(i);function je(){return i[73](i[98])}return{c(){e=k("li"),t=k("div"),n=k("a"),q.c(),r=W(),a=k("span"),c=Te(o),m=W(),v=k("button"),C=k("i"),V=W(),E=k("ul");for(let ye=0;ye<se.length;ye+=1)se[ye].c();D=W(),ke&&ke.c(),O=W(),f(a,"class","fd-nested-list__title svelte-56m9cq"),f(n,"title",h=i[35](i[98],i[27](i[97]))),f(n,"class",d="fd-nested-list__link "+(ln(i[98],i[9])?"is-expanded":"")+" svelte-56m9cq"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[100]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=ln(i[98],i[9])),f(C,"class",y=ln(i[98],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-56m9cq"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=ln(i[98],i[9])),f(v,"title",I=i[41](i[98],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",N=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-56m9cq"),f(E,"aria-hidden",H=!ln(i[98],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",G=i[34](i[98].metaInfo,i[97])),Zt(e,"lui-item-expanded",ln(i[98],i[9]))},m(ye,Le){L(ye,e,Le),w(e,t),w(t,n),q.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 ze=0;ze<se.length;ze+=1)se[ze]&&se[ze].m(E,null);w(e,D),ke&&ke.m(e,null),w(e,O),J=!0,Q||(ce=[x(n,"click",St(le)),x(v,"click",St(ue)),x(t,"keypress",ne),x(e,"click",Ot(je))],Q=!0)},p(ye,Le){if(i=ye,ee===(ee=Y(i,Le))&&q?q.p(i,Le):(q.d(1),q=ee(i),q&&(q.c(),q.m(n,r))),(!J||Le[0]&134225920)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!J||Le[0]&134225920&&h!==(h=i[35](i[98],i[27](i[97]))))&&f(n,"title",h),(!J||Le[0]&8704&&d!==(d="fd-nested-list__link "+(ln(i[98],i[9])?"is-expanded":"")+" svelte-56m9cq"))&&f(n,"class",d),(!J||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!J||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!J||Le[0]&8704&&b!==(b=ln(i[98],i[9])))&&f(n,"aria-expanded",b),(!J||Le[0]&8704&&y!==(y=ln(i[98],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!J||Le[0]&8704&&P!==(P=ln(i[98],i[9])))&&f(v,"aria-expanded",P),(!J||Le[0]&8704&&I!==(I=i[41](i[98],i[9])))&&f(v,"title",I),(!J||Le[0]&64&&N!==(N=i[6]?"0":"-1"))&&f(t,"tabindex",N),Le[0]&1090592896|Le[1]&532){Pe=Ve(i[98]);let ze;for(ze=0;ze<Pe.length;ze+=1){const Xe=Oc(i,Pe,ze);se[ze]?(se[ze].p(Xe,Le),R(se[ze],1)):(se[ze]=id(Xe),se[ze].c(),R(se[ze],1),se[ze].m(E,null))}for(be(),ze=Pe.length;ze<se.length;ze+=1)re(ze);ve()}(!J||Le[0]&8704&&H!==(H=!ln(i[98],i[9])))&&f(E,"aria-hidden",H),i[98].metaInfo&&i[98].metaInfo.label===i[8]?ke?(ke.p(i,Le),Le[0]&8448&&R(ke,1)):(ke=ld(i),ke.c(),R(ke,1),ke.m(e,O)):ke&&(be(),U(ke,1,1,()=>{ke=null}),ve()),(!J||Le[0]&8192&&G!==(G=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",G),(!J||Le[0]&8704)&&Zt(e,"lui-item-expanded",ln(i[98],i[9]))},i(ye){if(!J){for(let Le=0;Le<Pe.length;Le+=1)R(se[Le]);R(ke),J=!0}},o(ye){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(ke),J=!1},d(ye){ye&&T(e),q.d(),ht(se,ye),ke&&ke.d(),Q=!1,Qe(ce)}}}function jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[98].metaInfo.icon)),e?cS:fS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-nested-list__icon sap-icon svelte-56m9cq")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function cS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[98].metaInfo.icon?i[31](i[98].metaInfo.icon):"")+" svelte-56m9cq"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[98].metaInfo.icon?n[31](n[98].metaInfo.icon):"")+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function Jc(i){let e,t,n=i[101].label&&Yc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Yc(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I;function N(Q,ce){return Q[101].icon?hS:dS}let V=N(i),E=V(i),H=i[101].statusBadge&&Qc(i),D=i[101].externalLink&&i[101].externalLink.url&&Zc(),O=i[101].badgeCounter&&Xc(i);function G(...Q){return i[74](i[101],...Q)}function J(...Q){return i[75](i[101],...Q)}return{c(){e=k("li"),t=k("a"),E.c(),n=W(),l=k("span"),a=Te(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[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"),f(t,"href",g=i[33](i[101])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=ae.getTestId(i[101])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[101],i[30](i[101]))),f(e,"aria-labelledby","category_list_level1_"+i[100])},m(Q,ce){L(Q,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||(I=[x(t,"click",G),x(t,"keyup",function(){ki(i[24]?void 0:J)&&(i[24]?void 0:J).apply(this,arguments)})],P=!0)},p(Q,ce){i=Q,V===(V=N(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[101])+"")&&Ae(a,r),i[101].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&&(be(),U(H,1,1,()=>{H=null}),ve()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"))&&f(l,"class",c),i[101].externalLink&&i[101].externalLink.url?D||(D=Zc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[101].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&&(be(),U(O,1,1,()=>{O=null}),ve()),(!y||ce[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"))&&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=ae.getTestId(i[101])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[101],i[30](i[101]))))&&f(e,"title",C)},i(Q){y||(R(H),R(O),y=!0)},o(Q){U(H),U(O),y=!1},d(Q){Q&&T(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Qe(I)}}}function dS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=k("i"),n=W(),l=k("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ae(a,r)},d(o){o&&(T(e),T(n),T(l))}}}function hS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?_S:gS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-nested-list__icon sap-icon svelte-56m9cq")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function _S(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-56m9cq")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function Qc(i){let e,t;return e=new ii({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Zc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Xc(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function $c(i){let e,t,n=!i[101].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function pS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-nested-list__icon sap-icon svelte-56m9cq")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function mS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-56m9cq"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e,t,n=i[101].label&&ed(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ed(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ii({props:{node:i[101]}});let N=i[101].externalLink&&i[101].externalLink.url&&td(),V=i[101].badgeCounter&&nd(i);function E(...D){return i[69](i[101],...D)}function H(...D){return i[70](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),h=W(),N&&N.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=ae.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[100])},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[x(t,"click",E),x(t,"keyup",function(){ki(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[101])+"")&&Ae(r,l);const G={};O[0]&8192&&(G.node=i[101]),o.$set(G),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?N||(N=td(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[101].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&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"))&&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=ae.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&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&&T(e),Fe(o),N&&N.d(),V&&V.d(),P=!1,Qe(I)}}}function td(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function nd(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function id(i){let e,t,n=!i[101].hideFromNav&&xc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function ld(i){let e,t,n,l=i[27](i[97])+"",r,a,o,c,h=Ve(i[98]),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=k("div"),t=k("div"),n=k("h5"),r=Te(l),a=W(),o=k("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-56m9cq"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-56m9cq"),f(t,"class","lui-flyout-sublist__wrapper svelte-56m9cq"),f(e,"class","lui-flyout-sublist svelte-56m9cq")},m(p,b){L(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[97])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[98]);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(be(),m=h.length;m<d.length;m+=1)g(m);ve()}},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&&T(e),ht(d,p)}}}function rd(i){let e,t,n=i[101].label&&ad(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ad(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ii({props:{node:i[101]}});let N=i[101].externalLink&&i[101].externalLink.url&&sd(),V=i[101].badgeCounter&&od(i);function E(...D){return i[71](i[101],...D)}function H(...D){return i[72](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(o.$$.fragment),h=W(),N&&N.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=ae.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[x(t,"click",E),x(t,"keyup",function(){ki(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[101])+"")&&Ae(r,l);const G={};O[0]&8192&&(G.node=i[101]),o.$set(G),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?N||(N=sd(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[101].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&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"))&&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=ae.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&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&&T(e),Fe(o),N&&N.d(),V&&V.d(),P=!1,Qe(I)}}}function sd(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function od(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ud(i){let e,t,n=!i[101].hideFromNav&&rd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function fd(i){let e,t,n=i[101].label&&cd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function cd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(Q,ce){return Q[101].icon?vS:bS}let E=V(i),H=E(i);c=new ii({props:{node:i[101]}});let D=i[101].externalLink&&i[101].externalLink.url&&dd(),O=i[101].badgeCounter&&hd(i);function G(...Q){return i[64](i[101],...Q)}function J(...Q){return i[65](i[101],...Q)}return{c(){e=k("li"),t=k("a"),H.c(),n=W(),l=k("span"),a=Te(r),o=W(),Be(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[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"),f(t,"href",p=i[33](i[101])),f(t,"title",b=i[35](i[101],i[30](i[101]))),f(t,"class",m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=ae.getTestId(i[101])),f(e,"class","fd-nested-list__item")},m(Q,ce){L(Q,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,I||(N=[x(t,"click",G),x(t,"keyup",function(){ki(i[24]?void 0:J)&&(i[24]?void 0:J).apply(this,arguments)})],I=!0)},p(Q,ce){i=Q,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[101])+"")&&Ae(a,r);const Y={};ce[0]&8192&&(Y.node=i[101]),c.$set(Y),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?D||(D=dd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[101].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&&(be(),U(O,1,1,()=>{O=null}),ve()),(!P||ce[0]&8192&&p!==(p=i[33](i[101])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[101],i[30](i[101]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"))&&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=ae.getTestId(i[101])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(O),P=!0)},o(Q){U(c.$$.fragment,Q),U(O),P=!1},d(Q){Q&&T(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),I=!1,Qe(N)}}}function bS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function vS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?kS:wS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function wS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-nested-list__icon sap-icon svelte-56m9cq")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function kS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-56m9cq"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function dd(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function hd(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function gd(i){let e,t,n=!i[101].hideFromNav&&fd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function _d(i){let e,t,n,l,r,a;const o=[sS,aS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(BS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~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&&T(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=k("div"),t=k("span"),n=k("span"),r=Te(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-56m9cq"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-56m9cq"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-56m9cq")},m(c,h){L(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]:"")+"")&&Ae(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&&T(e),o&&o.d()}}}function md(i){let e;function t(r,a){return r[4]=="button"?CS:SS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function SS(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-56m9cq"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[x(e,"click",i[77]),x(e,"keydown",i[78])],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-56m9cq")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,Qe(l)}}}function CS(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-56m9cq"),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-56m9cq")},m(a,o){L(a,e,o),w(e,t),l||(r=x(e,"click",i[76]),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-56m9cq")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&T(e),l=!1,r()}}}function bd(i){let e,t=!i[12].renderer&&vd(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-56m9cq")},m(n,l){L(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&&T(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=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-56m9cq"),f(n,"class","fd-nested-list__link svelte-56m9cq"),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-56m9cq")},m(p,b){L(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)+"")&&Ae(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&&T(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?PS:yS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function yS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-nested-list__icon sap-icon svelte-56m9cq")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!tt(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&&T(e)}}}function PS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-56m9cq"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function kd(i){let e,t,n,l;return{c(){e=k("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-56m9cq"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=x(e,"click",St(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Sd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=Ve(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=k("div"),t=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=k("li"),r=W(),a=k("li"),o=k("div"),c=k("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=k("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-56m9cq"></ul></div>',f(l,"class","lui-spacer svelte-56m9cq"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-56m9cq"),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-56m9cq"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-56m9cq"),f(t,"class","fd-navigation__list svelte-56m9cq"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-56m9cq")},m(y,P){L(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I]&&v[I].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[62](e),g=!0,p||(b=[x(c,"click",i[42]),x(c,"keypress",i[61])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(y[14]);let I;for(I=0;I<m.length;I+=1){const N=Fc(y,m,I);v[I]?(v[I].p(N,P),R(v[I],1)):(v[I]=Bd(N),v[I].c(),R(v[I],1),v[I].m(t,n))}for(be(),I=m.length;I<v.length;I+=1)C(I);ve()}},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&&T(e),ht(v,y),i[62](null),p=!1,Qe(b)}}}function IS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V,E;function H(ee,q){return q[0]&16384&&(l=null),l==null&&(l=!!ee[32](ee[98].metaInfo.icon)),l?LS:TS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function G(){return i[53](i[98])}function J(){return i[54](i[98])}function Q(...ee){return i[55](i[98],...ee)}function ce(...ee){return i[56](i[98],...ee)}let Y=(!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8])&&Cd(i);return{c(){e=k("li"),t=k("div"),n=k("a"),O.c(),r=W(),a=k("span"),c=Te(o),h=W(),d=k("span"),g=W(),p=k("span"),y=W(),Y&&Y.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-56m9cq"),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[98],i[27](i[97]))),f(t,"aria-expanded",v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:ln(i[98],i[9])),f(t,"aria-selected",C=i[6]&&i[98].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-56m9cq"),f(e,"data-testid",I=i[34](i[98].metaInfo,i[97]))},m(ee,q){L(ee,e,q),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),Y&&Y.m(e,null),N=!0,V||(E=[x(n,"click",St(G)),x(n,"keypress",St(J)),x(n,"keypress",St(Q)),x(t,"click",Ot(ce))],V=!0)},p(ee,q){i=ee,D===(D=H(i,q))&&O?O.p(i,q):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!N||q[0]&134234112)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!N||q[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!N||q[0]&134234112&&m!==(m=i[35](i[98],i[27](i[97]))))&&f(t,"title",m),(!N||q[0]&17216&&v!==(v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:ln(i[98],i[9])))&&f(t,"aria-expanded",v),(!N||q[0]&16576&&C!==(C=i[6]&&i[98].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8]?Y?(Y.p(i,q),q[0]&16704&&R(Y,1)):(Y=Cd(i),Y.c(),R(Y,1),Y.m(e,null)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),(!N||q[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-56m9cq"))&&f(e,"class",P),(!N||q[0]&16384&&I!==(I=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",I)},i(ee){N||(R(Y),N=!0)},o(ee){U(Y),N=!1},d(ee){ee&&T(e),O.d(),Y&&Y.d(),V=!1,Qe(E)}}}function NS(i){let e,t,n=Ve(i[98]),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=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=Ve(a[98]);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(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-navigation__icon svelte-56m9cq"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function LS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-56m9cq"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),h=Ve(i[98]),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=k("div"),t=k("div"),c&&c.c(),n=W(),l=k("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-56m9cq")},m(p,b){L(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=Ve(p[98]);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(be(),m=h.length;m<d.length;m+=1)g(m);ve()}(!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-56m9cq"))&&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&&T(e),c&&c.d(),ht(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[97])+"",a,o,c,h,d,g=i[10]&&i[98].metaInfo.icon&&Pd(i);return{c(){e=k("div"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),o=W(),c=k("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-56m9cq"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-56m9cq"),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[98],i[27](i[97]))),f(e,"data-testid",d=i[34](i[98].metaInfo,i[97]))},m(p,b){L(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[98].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[97])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[98],p[27](p[97])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[98].metaInfo,p[97]))&&f(e,"data-testid",d)},d(p){p&&T(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[98].metaInfo.icon)),e?ES:AS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function AS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-navigation__icon svelte-56m9cq"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function ES(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" svelte-56m9cq"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function Id(i){let e,t,n=i[101].label&&Nd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Nd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E=i[30](i[101])+"",H,D,O,G,J,Q,ce,Y,ee,q,le,ue,ne,Pe;c=new ii({props:{node:i[101]}});let se=i[101].externalLink&&i[101].externalLink.url&&Td(),re=i[101].badgeCounter&&Ld(i);function ke(...De){return i[57](i[101],...De)}function je(...De){return i[58](i[101],...De)}O=new ii({props:{node:i[101]}});let ye=i[101].externalLink&&i[101].externalLink.url&&Ad(),Le=i[101].badgeCounter&&Ed(i);function ze(...De){return i[59](i[101],...De)}function Xe(...De){return i[60](i[101],...De)}return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),Be(c.$$.fragment),d=W(),g=k("span"),p=W(),se&&se.c(),b=W(),re&&re.c(),P=W(),I=k("li"),N=k("a"),V=k("span"),H=Te(E),D=W(),Be(O.$$.fragment),J=W(),ye&&ye.c(),Q=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"),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-56m9cq"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[101])),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[101],i[30](i[101]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[101]===i[7]),f(t,"data-testid",y=ae.getTestId(i[101])),f(e,"class","fd-navigation__list-item"),f(V,"class",G="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"),f(N,"href",ce=i[33](i[101])),f(N,"class",Y="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"),f(N,"role",ee=i[24]?void 0:"button"),f(N,"tabindex","0"),f(N,"data-testid",q=ae.getTestId(i[101])),f(N,"title",le=i[35](i[101],i[30](i[101]))),ni(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+i[100])},m(De,nt){L(De,e,nt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,g),w(n,p),se&&se.m(n,null),w(n,b),re&&re.m(n,null),L(De,P,nt),L(De,I,nt),w(I,N),w(N,V),w(V,H),w(V,D),Me(O,V,null),w(N,J),ye&&ye.m(N,null),w(N,Q),Le&&Le.m(N,null),ue=!0,ne||(Pe=[x(n,"click",ke),x(n,"keyup",function(){ki(i[24]?void 0:je)&&(i[24]?void 0:je).apply(this,arguments)}),x(N,"click",ze),x(N,"keyup",function(){ki(i[24]?void 0:Xe)&&(i[24]?void 0:Xe).apply(this,arguments)})],ne=!0)},p(De,nt){i=De,(!ue||nt[0]&16384)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const lt={};nt[0]&16384&&(lt.node=i[101]),c.$set(lt),(!ue||nt[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[101].badgeCounter?re?(re.p(i,nt),nt[0]&16384&&R(re,1)):(re=Ld(i),re.c(),R(re,1),re.m(n,null)):re&&(be(),U(re,1,1,()=>{re=null}),ve()),(!ue||nt[0]&16384&&m!==(m=i[33](i[101])))&&f(n,"href",m),(!ue||nt[0]&16384&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v),(!ue||nt[0]&16512&&C!==(C=i[101]===i[7]))&&f(t,"aria-selected",C),(!ue||nt[0]&16384&&y!==(y=ae.getTestId(i[101])))&&f(t,"data-testid",y),(!ue||nt[0]&16384)&&E!==(E=i[30](i[101])+"")&&Ae(H,E);const gt={};nt[0]&16384&&(gt.node=i[101]),O.$set(gt),(!ue||nt[0]&16384&&G!==(G="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"))&&f(V,"class",G),i[101].externalLink&&i[101].externalLink.url?ye||(ye=Ad(),ye.c(),ye.m(N,Q)):ye&&(ye.d(1),ye=null),i[101].badgeCounter?Le?(Le.p(i,nt),nt[0]&16384&&R(Le,1)):(Le=Ed(i),Le.c(),R(Le,1),Le.m(N,null)):Le&&(be(),U(Le,1,1,()=>{Le=null}),ve()),(!ue||nt[0]&16384&&ce!==(ce=i[33](i[101])))&&f(N,"href",ce),(!ue||nt[0]&16512&&Y!==(Y="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-56m9cq"))&&f(N,"class",Y),(!ue||nt[0]&16777216&&ee!==(ee=i[24]?void 0:"button"))&&f(N,"role",ee),(!ue||nt[0]&16384&&q!==(q=ae.getTestId(i[101])))&&f(N,"data-testid",q),(!ue||nt[0]&16384&&le!==(le=i[35](i[101],i[30](i[101]))))&&f(N,"title",le)},i(De){ue||(R(c.$$.fragment,De),R(re),R(O.$$.fragment,De),R(Le),ue=!0)},o(De){U(c.$$.fragment,De),U(re),U(O.$$.fragment,De),U(Le),ue=!1},d(De){De&&(T(e),T(P),T(I)),Fe(c),se&&se.d(),re&&re.d(),Fe(O),ye&&ye.d(),Le&&Le.d(),ne=!1,Qe(Pe)}}}function Td(i){let e;return{c(){e=k("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){L(t,e,n)},d(t){t&&T(e)}}}function Ld(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ad(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Ed(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Rd(i){let e,t,n=!i[101].hideFromNav&&Id(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function Dd(i){let e,t,n=i[101].label&&Vd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Vd(i){let e,t,n,l,r,a=i[30](i[101])+"",o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H;function D(ee,q){return ee[101].icon?DS:RS}let O=D(i),G=O(i);h=new ii({props:{node:i[101]}});let J=i[101].externalLink&&i[101].externalLink.url&&Od(),Q=i[101].badgeCounter&&Md(i);function ce(...ee){return i[50](i[101],...ee)}function Y(...ee){return i[51](i[101],...ee)}return{c(){e=k("li"),t=k("div"),n=k("a"),G.c(),l=W(),r=k("span"),o=Te(a),c=W(),Be(h.$$.fragment),g=W(),J&&J.c(),p=W(),Q&&Q.c(),b=W(),m=k("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"),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[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-56m9cq"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[101])),f(n,"title",y=i[35](i[101],i[30](i[101]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",I=ae.getTestId(i[101])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",N=i[101]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(ee,q){L(ee,e,q),w(e,t),w(t,n),G.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),J&&J.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[x(n,"click",ce),x(n,"keyup",function(){ki(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)}),x(n,"mouseup",i[52])],E=!0)},p(ee,q){i=ee,O===(O=D(i))&&G?G.p(i,q):(G.d(1),G=O(i),G&&(G.c(),G.m(n,l))),(!V||q[0]&16384)&&a!==(a=i[30](i[101])+"")&&Ae(o,a);const le={};q[0]&16384&&(le.node=i[101]),h.$set(le),(!V||q[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-56m9cq"))&&f(r,"class",d),i[101].externalLink&&i[101].externalLink.url?J||(J=Od(),J.c(),J.m(n,p)):J&&(J.d(1),J=null),i[101].badgeCounter?Q?(Q.p(i,q),q[0]&16384&&R(Q,1)):(Q=Md(i),Q.c(),R(Q,1),Q.m(n,b)):Q&&(be(),U(Q,1,1,()=>{Q=null}),ve()),(!V||q[0]&16512&&v!==(v="fd-navigation__link "+(i[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-56m9cq"))&&f(n,"class",v),(!V||q[0]&16384&&C!==(C=i[33](i[101])))&&f(n,"href",C),(!V||q[0]&16384&&y!==(y=i[35](i[101],i[30](i[101]))))&&f(n,"title",y),(!V||q[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||q[0]&16384&&I!==(I=ae.getTestId(i[101])))&&f(n,"data-testid",I),(!V||q[0]&16512&&N!==(N=i[101]===i[7]))&&f(t,"aria-selected",N)},i(ee){V||(R(h.$$.fragment,ee),R(Q),V=!0)},o(ee){U(h.$$.fragment,ee),U(Q),V=!1},d(ee){ee&&T(e),G.d(),Fe(h),J&&J.d(),Q&&Q.d(),E=!1,Qe(H)}}}function RS(i){let e,t;return{c(){e=k("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){L(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&&T(e)}}}function DS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?OS:VS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function VS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-56m9cq"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-56m9cq")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function OS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[101].icon)+" svelte-56m9cq"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[101].icon)+" svelte-56m9cq")&&f(e,"class",t)},d(n){n&&T(e)}}}function Od(i){let e;return{c(){e=k("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){L(t,e,n)},d(t){t&&T(e)}}}function Md(i){let e,t;return e=new An({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fd(i){let e,t,n=!i[101].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function Ud(i){let e,t,n,l,r,a;const o=[NS,IS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(US).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~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&&T(r),~n&&c[n].d(d)}}}function MS(i){let e,t,n=Ve(i[94].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=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=Ve(a[94].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(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function Bd(i){let e,t;return e=new tS({props:{navGroup:i[94],expanded:i[94].groupEntry&&ln(i[94].groupEntry[1],i[9]),$$slots:{default:[MS]},$$scope:{ctx:i}}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[94]),l[0]&16896&&(r.expanded=n[94].groupEntry&&ln(n[94].groupEntry[1],n[9])),l[0]&151046080|l[3]&4194304&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function FS(i){let e,t,n,l,r,a;const o=[iS,nS],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[x(ns,"resize",i[18]),x(ns,"click",i[22]),x(ns,"blur",i[22]),x(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&&T(n),c[e].d(d),r=!1,Qe(a)}}}function ln(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 US=i=>!i.hideFromNav&&i.label,BS=i=>!i.hideFromNav&&i.label;function HS(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:N,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async Se=>{if(Se==="pathData")t(5,p=K.pathData);else if(Se==="context")D=K.context;else if(Se==="children")t(0,a=K.children);else if(Se==="selectedNode")t(7,C=K.selectedNode);else if(Se==="hasCategoriesWithIcon")t(10,I=K.hasCategoriesWithIcon);else if(Se==="navParent"){t(12,E=void 0);let Je=K.navParent;if(t(45,H=Je),Je&&Je.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let it=Je.navHeader,vt=Je;if(it==="inherit"){for(vt=Je.parent;vt&&vt.navHeader==="inherit";)vt=vt.parent;it=vt?vt.navHeader:void 0}if(it instanceof Function){t(12,E={});let pt=it(ae.stripNode(Je),ae.stripNode(vt),D);pt instanceof Promise?pt.then(Wt=>{t(12,E=Wt)}):t(12,E=pt)}else if(it==="auto")t(12,E={label:Je.label,icon:Je.icon});else if(it&&it.useTitleResolver&&vt.titleResolver){vt.titleResolver.prerenderFallback?t(12,E={...it,label:vt.titleResolver.fallbackTitle||"",icon:vt.titleResolver.fallbackIcon}):t(12,E=it);const pt=me.mapPathToNode(ot.getCurrentPath(),vt);qt.extractDataFromPath(pt).then(Wt=>{const zt=me.substituteDynamicParamsInObject(Object.assign({},Wt.pathData.context,vt.context),Wt.pathData.pathParams);ae.fetchNodeTitleData(vt,zt).then(Rn=>{t(12,E={...it,...Rn})}).catch(Rn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...it,label:Je.label,icon:Je.icon})})})}else t(12,E=await lt(it,vt))}}}),t(44,N=ae.getSideNavAccordionMode(C)))}},r=Xt();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=ae.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:N}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,G,J=Pt("store"),Q=Pt("getTranslation");Si(i,Q,K=>t(27,n=K));let ce=!1,Y=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),ee,q=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",le,ue;const ne=K=>ae.getNodeLabel(K),Pe=async()=>{window.Luigi.__btpNavTopCntRszObs&&(window.Luigi.__btpNavTopCntRszObs.disconnect(),delete window.Luigi.__btpNavTopCntRszObs),ue&&clearTimeout(ue);const K=l.get(),Se=await qt.getLeftNavData({...K},K);Se&&(l.set(Se),O=p,window.LEFTNAVDATA=Se.children)};rn(()=>{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,G=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ae.loadExpandedCategories()),bn.doOnStoreChange(J,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),bn.doOnStoreChange(J,()=>{Pe()},["navigation.viewgroupdata"]);let K=vi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),vi.onValueChanged(Se=>{t(6,v=Se.isSemiCollapsed)}),Bn.addEventListener("message",Se=>{Se.data.msg==="luigi.navigation.update-badge-counters"&&Pe()})});const se=()=>{if(ee){const K=ee.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Se=ee.querySelector(".fd-navigation__list"),Je=ee.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(it=>{it.navGroupId?Se.querySelector(`[navGroupId="${it.navGroupId}"]`).appendChild(it):Se.insertBefore(it,Je)}),ee.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},re=()=>{if(ee){const K=ee.querySelector(".fd-navigation__list > .lui-spacer"),Se=ee.querySelector(".lui-moreItems"),Je=ee.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&Je.length>1){ee.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let it=Je.length-1;it>0&&(lastNode=Je[it-1],Je[it].navGroupId=Je[it].parentNode.getAttribute("navGroupId"),Se.insertBefore(Je[it],Se.firstChild),!(K.clientHeight>0));it--);}}},ke=()=>{const K=Se=>{Se&&ge(Se)};E!=null&&E.renderer&&le&&(E.clearBeforeRender&&t(26,le.innerHTML="",le),E.renderer(le,H,K,{...E,context:p._context}))};ea(()=>{window.Luigi.__btpNavTopCntRszObs||(window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((K,Se)=>{ue&&clearTimeout(ue),v&&(ue=setTimeout(()=>{se(),re()},100))})),window.Luigi.__btpNavTopCntRszObs.disconnect(),ee&&v?window.Luigi.__btpNavTopCntRszObs.observe(ee):se(),ke()}),Yn(()=>{(!O||O!=p)&&Pe(),t(23,G=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ae.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function je(K){if(Y){const Se={},Je=[],it=q;let vt=[];return K.forEach(pt=>{if(pt[0].startsWith(m))vt.push({isSingleEntry:!0,entries:[pt]});else{const Wt=pt[1].metaInfo.categoryUid;if(Wt&&Wt.indexOf(it)>0)Je.push(pt);else{const zt=pt[1].metaInfo.isGroup;Se[Wt]={isSingleEntry:!zt,title:n(pt[1].metaInfo.label),groupEntry:pt,uid:Wt,entries:[zt?["undefined",pt[1]]:pt]},vt.push(Se[Wt]),!ae.isCollapsedSuperCategory(Wt)&&zt&&Ie(pt[1],!0)}}}),Je.forEach(pt=>{const Wt=pt[1].metaInfo.categoryUid.split(it)[0],zt=Se[Wt];zt&&(zt.isSingleEntry&&(zt.isSingleEntry=!1,zt.entries=[["undefined",zt.groupEntry[1]]]),zt.entries.push(pt))}),vt.filter(pt=>{if(pt.entries&&pt.entries.length>0)for(let Wt=0;Wt<pt.entries.length;Wt++){const[zt,Rn]=pt.entries[Wt];if(Rn.filter(Wn=>!Wn.hideFromNav&&Wn.label).length>0)return!0}return!1})}else return K}let{sortedChildrenEntries:ye}=e,{sortedVerticalNavGroups:Le}=e;function ze(K){return ae.renderIconClassName(K)}function Xe(K){return ae.isOpenUIiconName(K)}function De(K){return me.getNodeHref(K,b)}function nt(K,Se){return K&&K.testId?K.testId:ae.prepareForTests(Se||K.label)}async function lt(K,Se){const Je=me.mapPathToNode(ot.getCurrentPath(),Se),vt=(await qt.extractDataFromPath(Je)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,vt)}function gt(K,Se){return ae.generateTooltipText(K,Se)}function ge(K){r("handleClick",{node:K})}function Ze(K,Se){if(vi.getCollapsed()){let Je,it=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?Je=K.metaInfo.label:Je=K.category&&K.category.label||K.category,it&&!it.classList.contains("isBlocked")&&(it.className+=" isBlocked"),Je===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=Je),it?Ht(Se):Y&&(Wo(Se),Se.closest(".lui-moreItems")||ut())}}function Ht(K){const Se=K.closest(".fd-nested-list__item"),Je=Se.offsetTop,it=Ji.getShellbar().offsetHeight;let vt;Ji.isCustomLuigiContainer()?vt=Ji.getCustomLuigiContainer().clientHeight:vt=window.innerHeight,setTimeout(()=>{const pt=Se.getElementsByClassName("lui-flyout-sublist")[0],Wt=K.closest(".lui-fd-side-nav-wrapper").scrollTop,zt=Je+it-Wt,Rn=vt-Je-Se.offsetHeight+Wt-it;zt+pt.offsetHeight>=vt?(pt.style.bottom=Rn+"px",pt.className+=" has-bottom-position"):pt.style.top=zt-it+"px"})}function En(){if(h){let K=vi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function on(K){if(K.code==="ArrowRight"){const Je=Ee.getCurrentMicrofrontendIframe();Je&&Je.contentWindow&&Je.contentWindow.focus()}}function an(K){let Se=H?H.parent:void 0;for(;Se;){if(Se.pathSegment&&Se.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Se});return}Se=Se.parent}console.warn('Could not resolve "up"-node, redirecting to root'),sp.navigate("/")}function Ie(K,Se){vi.getCollapsed()||t(9,P=ae.storeExpandedState(K.metaInfo.categoryUid,Se,N))}function ut(){ee&&ee.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function rt(){t(8,y=vi.closePopupMenu(y)),ut()}function un(K){K&&K.code==="Escape"&&rt()}function Gt(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),li()}function Hn(K){const Se=K.code;(Se==="Enter"||Se==="Space")&&Gt()}function Kt(K,Se){(K.code==="Enter"||K==="Space")&&Ze(Se,K.currentTarget)}function jt(K,Se){K.keyCode===bl&&ae.handleNavAnchorClickedWithoutMetaKey(K)&&ge(Se)}function li(){if(!ae.getBurgerTooltipConfig())return;const[K,Se]=ae.getBurgerTooltipConfig(),Je=document.body.classList.contains("lui-semiCollapsible");K&&Se&&Je&&t(11,V=document.body.classList.contains("semiCollapsed")?K:Se)}function $t(K,Se){return ln(K,Se)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function vn(K){if(!K)return;const Se=K.target.parentElement;Se.getAttribute("aria-expanded")==="true"?Se.setAttribute("aria-expanded","false"):(rt(),Se.setAttribute("aria-expanded","true")),K.stopPropagation()}function Ci(K){Ye[K?"unshift":"push"](()=>{le=K,t(26,le)})}const yi=(K,Se)=>{ae.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},wn=(K,Se)=>jt(Se,K),Pi=K=>{v&&K.target.blur()},Ii=K=>Ie(K,!ln(K,P)),Ni=K=>Ie(K,!ln(K,P)),Ti=(K,Se)=>Kt(Se,K),Li=(K,Se)=>Ze(K,Se.currentTarget),Sl=(K,Se)=>{ae.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Cl=(K,Se)=>jt(Se,K),yl=(K,Se)=>{ae.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Ai=(K,Se)=>jt(Se,K),Yi=K=>{(K.code==="Enter"||K.code==="Space")&&vn(K)};function Qi(K){Ye[K?"unshift":"push"](()=>{ee=K,t(25,ee)})}function di(K){Ye[K?"unshift":"push"](()=>{le=K,t(26,le)})}const Pl=(K,Se)=>{ae.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Il=(K,Se)=>jt(Se,K),Zi=K=>Ie(K,!ln(K,P)),Nl=K=>Ie(K,!ln(K,P)),Tl=(K,Se)=>Kt(Se,K),Ll=(K,Se)=>{ae.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Ei=(K,Se)=>jt(Se,K),Al=(K,Se)=>{ae.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},ri=(K,Se)=>jt(Se,K),Ri=K=>Ze(K,event.currentTarget),hi=(K,Se)=>{ae.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(K)},Di=(K,Se)=>jt(Se,K),gi=K=>Gt(),Xi=K=>Gt(),$i=K=>Hn(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,I=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,N=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,ye=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Le=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((Se,Je)=>Se[1].metaInfo.order-Je[1].metaInfo.order),t(13,ye=K),t(14,Le=je(K))}},[a,o,c,d,g,p,v,C,y,P,I,V,E,ye,Le,m,ge,Ze,En,on,an,Ie,rt,G,ce,ee,le,n,Q,Y,ne,ze,Xe,De,nt,gt,un,Gt,Hn,Kt,jt,$t,vn,h,N,H,b,Ht,Wo,Ci,yi,wn,Pi,Ii,Ni,Ti,Li,Sl,Cl,yl,Ai,Yi,Qi,di,Pl,Il,Zi,Nl,Tl,Ll,Ei,Al,ri,Ri,hi,Di,gi,Xi,$i]}class hp extends Ft{constructor(e){super(),Mt(this,e,HS,FS,Dt,{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 WS=i=>{bn.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}),ie.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||""})),gp(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"])},qS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),Hd=(i,e,t)=>{let n=!0;return ie.trimTrailingSlash(ie.trimLeadingSlash(i)).split("/").forEach((l,r)=>{n&&(r+1>=e.length||!e[r+1].pathSegment||!qS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},gp=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=>{var d;let h=Hd(c.link,t,n);return!h&&((d=c.selectionConditions)!=null&&d.route)&&(h=Hd(c.selectionConditions.route,t,n),h&&(c.selectionConditions.contextCriteria||[]).forEach(g=>{h=h&&kr.get(t._context,g.key)===g.value})),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=na.getDocumentTitle()||r;i.set({title:r}),document.title=Et.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Wd(i,e,t){const n=i.slice();return n[46]=e[t],n[48]=t,n}function qd(i,e,t){const n=i.slice();return n[46]=e[t],n}function zS(i){let e,t,n,l,r=i[1]&&zd(i);return{c(){e=k("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){L(a,e,o),r&&r.m(e,null),n||(l=x(e,"click",i[31]),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&&T(e),r&&r.d(),n=!1,l()}}}function GS(i){let e,t,n,l,r=i[1]&&Gd(i);return{c(){e=k("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){L(a,e,o),r&&r.m(e,null),n||(l=x(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Gd(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&&T(e),r&&r.d(),n=!1,l()}}}function zd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[30](null)}}}function Gd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[28](null)}}}function Kd(i){let e,t=(!i[3]||i[4])&&jd(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[3]||n[4]?t?t.p(n,l):(t=jd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function jd(i){let e;function t(r,a){return r[14]?jS:KS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function KS(i){let e,t=i[19](i[4]?i[8]:i[2])+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(a,o){L(a,e,o),w(e,n),l||(r=x(e,"click",i[33]),l=!0)},p(a,o){o[0]&524564&&t!==(t=a[19](a[4]?a[8]:a[2])+"")&&Ae(n,t)},d(a){a&&T(e),l=!1,r()}}}function jS(i){let e,t=i[19](i[4]?i[8]:i[2])+"",n,l,r,a;return{c(){e=k("a"),n=Te(t),f(e,"class",l="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(o,c){L(o,e,c),w(e,n),r||(a=x(e,"click",i[32]),r=!0)},p(o,c){c[0]&524564&&t!==(t=o[19](o[4]?o[8]:o[2])+"")&&Ae(n,t),c[0]&8&&l!==(l="fd-shellbar__title lui-shellbar-single-app-title "+(o[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",l)},d(o){o&&T(e),r=!1,a()}}}function Jd(i){let e,t,n=i[3]&&Yd(i),l=i[12]&&i[5]&&rh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[3]?n?n.p(r,a):(n=Yd(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[12]&&r[5]?l?l.p(r,a):(l=rh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function Yd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b=i[4]&&Qd();function m(I,N){return I[14]?YS:JS}let v=m(i),C=v(i),y=i[6]&&i[7]&&th(i),P=i[9]&&i[9].length>0&&nh(i);return{c(){b&&b.c(),e=W(),t=k("div"),n=k("div"),C.c(),l=W(),r=k("div"),a=k("nav"),o=k("ul"),y&&y.c(),c=W(),P&&P.c(),f(n,"class","fd-popover__control"),f(o,"class","fd-menu__list fd-menu__list--no-shadow"),f(a,"class","fd-menu"),f(r,"class","fd-popover__body fd-popover__body--left"),f(r,"aria-hidden",h=!i[13].appSwitcherPopover),f(r,"id","appSwitcherPopover"),f(t,"class",d="fd-popover "+(i[4]&&"lui-keep-main")+" "+(i[9]&&i[9].length===1&&"lui-sat")+" svelte-bbvnsa")},m(I,N){b&&b.m(I,N),L(I,e,N),L(I,t,N),w(t,n),C.m(n,null),w(t,l),w(t,r),w(r,a),w(a,o),y&&y.m(o,null),w(o,c),P&&P.m(o,null),i[39](o),g||(p=x(n,"click",Ot($S)),g=!0)},p(I,N){I[4]?b||(b=Qd(),b.c(),b.m(e.parentNode,e)):b&&(b.d(1),b=null),v===(v=m(I))&&C?C.p(I,N):(C.d(1),C=v(I),C&&(C.c(),C.m(n,null))),I[6]&&I[7]?y?y.p(I,N):(y=th(I),y.c(),y.m(o,c)):y&&(y.d(1),y=null),I[9]&&I[9].length>0?P?P.p(I,N):(P=nh(I),P.c(),P.m(o,null)):P&&(P.d(1),P=null),N[0]&8192&&h!==(h=!I[13].appSwitcherPopover)&&f(r,"aria-hidden",h),N[0]&528&&d!==(d="fd-popover "+(I[4]&&"lui-keep-main")+" "+(I[9]&&I[9].length===1&&"lui-sat")+" svelte-bbvnsa")&&f(t,"class",d)},d(I){I&&(T(e),T(t)),b&&b.d(I),C.d(),y&&y.d(),P&&P.d(),i[39](null),g=!1,p()}}}function Qd(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__separator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function JS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("button"),t=k("span"),l=Te(n),r=W(),a=k("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){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=x(e,"click",Ot(i[37])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function YS(i){let e,t,n,l=i[9]&&i[9].length===1&&Zd(i),r=i[9]&&i[9].length>1&&Xd(i),a=i[9].length>1&&!i[7]&&eh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=we()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Zd(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=Xd(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=eh(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(t),T(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Zd(i){let e,t,n=i[19](i[9][0].title)+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Te(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=x(e,"click",i[34]),a=!0)},p(c,h){h[0]&524800&&n!==(n=c[19](c[9][0].title)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[24](c[9][0]))&&f(e,"href",r)},d(c){c&&T(e),a=!1,o()}}}function Xd(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=xd(qd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&25832068){t=Ve(l[9]);let a;for(a=0;a<t.length;a+=1){const o=qd(l,t,a);n[a]?n[a].p(o,r):(n[a]=xd(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&&T(e),ht(n,l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("i"),o=W(),f(t,"class","fd-button__text"),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[46])),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){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=x(e,"click",St(i[35])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Ae(l,n),b[0]&512&&c!==(c=p[24](p[46]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&T(e),d=!1,g()}}}function xd(i){let e=i[46]===i[7]&&i[23](i[46],i[11]),t,n=e&&$d(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&2688&&(e=l[46]===l[7]&&l[23](l[46],l[11])),e?n?n.p(l,r):(n=$d(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function eh(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("i"),f(t,"class","fd-button__text"),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){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=x(e,"click",St(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function th(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(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){L(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=x(t,"click",St(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Ae(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&T(e),o=!1,c()}}}function nh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=lh(Wd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&32296576){t=Ve(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]=lh(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&&T(e),ht(n,l)}}}function QS(i){let e,t,n,l=i[19](i[46].title)+"",r,a,o,c,h,d;function g(...p){return i[38](i[46],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(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[46],i[11]):void 0),f(t,"data-testid",o=i[22](i[46])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=x(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[46].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[46],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[46]))&&f(t,"data-testid",o)},d(p){p&&T(e),h=!1,d()}}}function ZS(i){let e,t=i[18]&&ih(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=ih(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function ih(i){let e,t,n=i[21](i[46],i[18],i[48])+"",l;return{c(){e=k("li"),t=new Cr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[46],r[18],r[48])+"")&&t.p(n)},d(r){r&&T(e)}}}function lh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!ie.isFunction(o[10])),e)return ZS;if(t==null&&(t=!!(o[46]!==o[7]&&o[23](o[46],o[11]))),t)return QS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=we()},m(o,c){a&&a.m(o,c),L(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&&T(n),a&&a.d(o)}}}function rh(i){let e,t=i[19](i[12])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function XS(i){let e,t,n,l;function r(d,g){return d[14]?GS:zS}let a=r(i),o=a(i),c=i[2]&&Kd(i),h=i[2]&&Jd(i);return{c(){e=k("div"),o.c(),t=W(),c&&c.c(),n=W(),h&&h.c(),l=we(),f(e,"class","fd-shellbar__branding"),f(e,"role","link"),f(e,"tabindex","0"),f(e,"aria-label","SAP Corporate Portal Home")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),c&&c.m(e,null),L(d,n,g),h&&h.m(d,g),L(d,l,g)},p(d,g){a===(a=r(d))&&o?o.p(d,g):(o.d(1),o=a(d),o&&(o.c(),o.m(e,t))),d[2]?c?c.p(d,g):(c=Kd(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),d[2]?h?h.p(d,g):(h=Jd(d),h.c(),h.m(l.parentNode,l)):h&&(h.d(1),h=null)},i:Ue,o:Ue,d(d){d&&(T(e),T(n),T(l)),o.d(),c&&c.d(),h&&h.d(d)}}}const $S=()=>{};function xS(i,e,t){let n;const l=Xt();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:I}=e,{pathData:N}=e,{addNavHrefForAnchor:V}=e,E,H,D=Pt("getUnsavedChangesModalPromise"),O=Pt("getTranslation");Si(i,O,ge=>t(19,n=ge));let G=Pt("store");const J={closeDropDown:()=>{le("appSwitcherPopover")}},Q=()=>({get:()=>({pathData:N,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:I,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:ge=>{ge&&Object.getOwnPropertyNames(ge).forEach(Ze=>{Ze==="pathData"?t(26,N=ge.pathData):Ze==="appSwitcherItems"?t(9,v=ge.appSwitcherItems):Ze==="itemRenderer"?t(10,C=ge.itemRenderer):Ze==="pathParams"?t(11,y=ge.pathParams):Ze==="selectedItem"?t(7,b=ge.selectedItem):Ze==="title"?t(2,o=ge.title):Ze==="defaultSubTitle"?t(25,I=ge.defaultSubTitle):Ze==="subTitle"?t(12,P=ge.subTitle):Ze==="defaultTitle"?t(8,m=ge.defaultTitle):Ze==="subTitle"?t(12,P=ge.subTitle):Ze==="showMainAppEntry"?t(6,p=ge.showMainAppEntry):Ze==="hasApps"?t(3,c=ge.hasApps):Ze==="keepMainTitle"?t(4,h=ge.keepMainTitle):Ze==="showSubTitle"?t(5,d=ge.showSubTitle):Ze==="hasLogo"&&t(1,a=ge.hasLogo)})},store:G});rn(()=>{WS(Q())}),Yn(()=>{(!H||H!=N)&&(gp(Q()),H=N)});function ce(ge,Ze,Ht){return setTimeout(()=>{Ze&&C(ge,Ze.children[Ht],J)}),""}function Y(ge){D().then(()=>{ot.navigateTo(me.applyPathParams(ge,y))},()=>{})}function ee(){D().then(()=>{ot.navigateTo("/")},()=>{})}function q(ge){l("handleClick",{node:ge}),le("appSwitcherPopover")}function le(ge){l("toggleDropdownState",{name:ge})}function ue(ge){return ge.testId?ge.testId:ae.prepareForTests(ge.title||ge)}function ne(ge,Ze){if(ge.link){const Ht=me.applyPathParams(ge.link,Ze);if(Ht.indexOf(":")!==0&&Ht.indexOf("/:")===-1)return!0}return!1}function Pe(ge){return me.getNodeHref(ge)}function se(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const re=ge=>{ae.handleNavAnchorClickedWithoutMetaKey(ge)&&Y("/")};function ke(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const je=()=>Y("/"),ye=ge=>{ae.handleNavAnchorClickedWithoutMetaKey(ge)&&Y("/")},Le=()=>Y("/"),ze=ge=>{ae.handleNavAnchorClickedWithoutMetaKey(ge)&&Y(v[0].link)},Xe=()=>le("appSwitcherPopover"),De=()=>le("appSwitcherPopover"),nt=()=>le("appSwitcherPopover"),lt=(ge,Ze)=>{ae.handleNavAnchorClickedWithoutMetaKey(Ze)&&Y(ge.link)};function gt(ge){Ye[ge?"unshift":"push"](()=>{E=ge,t(18,E)})}return i.$$set=ge=>{"logo"in ge&&t(0,r=ge.logo),"hasLogo"in ge&&t(1,a=ge.hasLogo),"title"in ge&&t(2,o=ge.title),"hasApps"in ge&&t(3,c=ge.hasApps),"keepMainTitle"in ge&&t(4,h=ge.keepMainTitle),"showSubTitle"in ge&&t(5,d=ge.showSubTitle),"dropDownStates"in ge&&t(13,g=ge.dropDownStates),"showMainAppEntry"in ge&&t(6,p=ge.showMainAppEntry),"selectedItem"in ge&&t(7,b=ge.selectedItem),"defaultTitle"in ge&&t(8,m=ge.defaultTitle),"appSwitcherItems"in ge&&t(9,v=ge.appSwitcherItems),"itemRenderer"in ge&&t(10,C=ge.itemRenderer),"pathParams"in ge&&t(11,y=ge.pathParams),"subTitle"in ge&&t(12,P=ge.subTitle),"defaultSubTitle"in ge&&t(25,I=ge.defaultSubTitle),"pathData"in ge&&t(26,N=ge.pathData),"addNavHrefForAnchor"in ge&&t(14,V=ge.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Y,ee,le,E,n,O,ce,ue,ne,Pe,I,N,q,se,re,ke,je,ye,Le,ze,Xe,De,nt,lt,gt]}class eC extends Ft{constructor(e){super(),Mt(this,e,xS,XS,Dt,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function ah(i,e,t){const n=i.slice();return n[34]=e[t],n}function sh(i){let e,t,n,l,r,a,o=i[0]&&oh(i),c=(i[10]||i[11])&&_h(i);return{c(){e=k("div"),o&&o.c(),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("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){L(h,e,d),o&&o.m(e,null),L(h,t,d),L(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=oh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=_h(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&(T(e),T(t),T(n)),o&&o.d(),c&&c.d()}}}function oh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?nC:tC}let h=c(i),d=h(i),g=i[7].name&&uh(i),p=i[7].description&&fh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=dh(ah(i,b,C));let v=i[12]&&hh(i);return{c(){e=k("div"),d.c(),t=W(),n=k("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=k("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){L(C,e,y),d.m(e,null),L(C,t,y),L(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),L(C,r,y),L(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=uh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=fh(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=Ve(C[9].items);let P;for(P=0;P<b.length;P+=1){const I=ah(C,b,P);m[P]?m[P].p(I,y):(m[P]=dh(I),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=hh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&(T(e),T(t),T(n),T(r),T(a)),d.d(),g&&g.d(),p&&p.d(),ht(m,C),v&&v.d()}}}function tC(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&T(e)}}}function nC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),ni(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&ni(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function uh(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&T(e)}}}function fh(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&T(e)}}}function ch(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=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function iC(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),ni(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&ni(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&T(e)}}}function lC(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function dh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&ch(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(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){L(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[x(t,"click",i[23]),x(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=ch(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Qe(d)}}}function hh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&gh(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=W(),l=k("span"),a=Te(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){L(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[x(e,"click",St(i[5])),x(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=gh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Ae(a,r)},d(d){d&&T(e),h&&h.d(),o=!1,Qe(c)}}}function gh(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=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function rC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),tt(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function aC(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function _h(i){let e,t,n=(i[8]||!i[10]&&i[11])&&ph(i),l=i[10]&&!i[8]&&mh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=ph(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=mh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function ph(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=k("div"),t=k("button"),l=Te(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){L(c,e,h),w(e,t),w(t,l),a||(o=x(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),a=!1,o()}}}function mh(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=W(),n=k("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){L(a,e,o),L(a,t,o),L(a,n,o),l||(r=[x(e,"click",i[15]),x(n,"click",i[15])],l=!0)},p:Ue,d(a){a&&(T(e),T(t),T(n)),l=!1,Qe(r)}}}function sC(i){let e,t=!i[1]&&sh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=sh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function oC(i,e,t){let n;const l=Xt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Pt("store"),C=Pt("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");rn(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),gn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){gn.startAuthorization()}function N(ne){return ae.renderIconClassName(ne)}function V(ne){return ae.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:ae.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(bn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),re={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const ke=se.userSettingsProfileMenuEntry;re.settings={...ml.userSettingsProfileMenuEntry,...ke}}re.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,gn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=re),t(12,p=!!se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(gn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function G(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ot.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function J(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){na.openUserSettings(),l("toggleDropdownState")}function ce(){gn.logout(),l("toggleDropdownState")}function Y({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ee}=e;const q=ne=>{ae.handleNavAnchorClickedWithoutMetaKey(ne)},le=ne=>G(ne),ue=ne=>Y(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,ee=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=!!(o&&(o.name||o.email)))},[ee,r,a,G,J,Q,Y,o,c,h,d,g,p,n,C,I,N,V,E,H,D,O,ce,q,le,ue]}class uC extends Ft{constructor(e){super(),Mt(this,e,oC,sC,Dt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function bh(i,e,t){const n=i.slice();return n[34]=e[t],n}function vh(i){let e,t,n,l,r,a=i[0]&&wh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=Sh(bh(i,o,g));let h=i[12]&&Ch(i),d=(i[10]||i[11])&&Ph(i);return{c(){e=k("nav"),t=k("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){L(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=wh(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=Ve(g[9].items);let b;for(b=0;b<o.length;b+=1){const m=bh(g,o,b);c[b]?c[b].p(m,p):(c[b]=Sh(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=Ch(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ph(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&T(e),a&&a.d(),ht(c,g),h&&h.d(),d&&d.d()}}}function wh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Te(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){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ae(l,n)},d(r){r&&T(e)}}}function kh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function cC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Sh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&kh(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(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){L(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[x(t,"click",i[23]),x(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=kh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Qe(d)}}}function Ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&yh(i);return{c(){e=k("li"),t=k("a"),d&&d.c(),n=W(),l=k("span"),a=Te(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){L(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[x(e,"click",St(i[5])),x(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.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].settings.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,Qe(h)}}}function yh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function dC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function hC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ph(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ih(i),l=i[10]&&!i[8]&&Th(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Ih(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Th(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function Ih(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Nh(i);return{c(){e=k("li"),t=k("button"),d&&d.c(),n=W(),l=k("span"),a=Te(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){L(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=x(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Nh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,h()}}}function Nh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?_C:gC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function gC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function _C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Th(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=x(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&T(e),t=!1,n()}}}function pC(i){let e,t=!i[1]&&vh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function mC(i,e,t){let n;const l=Xt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Pt("store"),C=Pt("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");rn(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),gn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){gn.startAuthorization()}function N(ne){return ae.renderIconClassName(ne)}function V(ne){return ae.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:ae.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(bn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),re={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const ke=se.userSettingsProfileMenuEntry;re.settings={...ml.userSettingsProfileMenuEntry,...ke}}re.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,gn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=re),t(12,p=!!se)})},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(gn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function G(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ot.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function J(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){na.openUserSettings(),l("toggleDropdownState")}function ce(){gn.logout()}function Y({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ee}=e;const q=ne=>{ae.handleNavAnchorClickedWithoutMetaKey(ne)},le=ne=>G(ne),ue=ne=>Y(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,ee=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=!!(o&&(o.name||o.email)))},[ee,r,a,G,J,Q,Y,o,c,h,d,g,p,n,C,I,N,V,E,H,D,O,ce,q,le,ue]}class _p extends Ft{constructor(e){super(),Mt(this,e,mC,pC,Dt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Lh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Ah(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Dh(Lh(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=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&254){n=Ve(a[1]);let c;for(c=0;c<n.length;c+=1){const h=Lh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Dh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function Eh(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 I(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?vC:bC}let N=I(i,-1),V=N(i);r=new An({props:{node:i[11]}});let E=p&&Rh(i);function H(){return i[9](i[11])}return{c(){e=k("li"),t=k("div"),V.c(),l=W(),Be(r.$$.fragment),a=W(),o=k("div"),c=k("div"),d=Te(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=ae.getTestId(i[11]))},m(D,O){L(D,e,O),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=x(e,"click",H),y=!0)},p(D,O){i=D,N===(N=I(i,O))&&V?V.p(i,O):(V.d(1),V=N(i),V&&(V.c(),V.m(t,l)));const G={};O&2&&(G.node=i[11]),r.$set(G),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Ae(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Rh(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=ae.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&&T(e),V.d(),Fe(r),E&&E.d(),y=!1,P()}}}function bC(i){let e,t,n;return{c(){e=k("img"),tt(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){L(l,e,r)},p(l,r){r&2&&!tt(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&&T(e)}}}function vC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){L(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&&T(e)}}}function Rh(i){let e,t=i[4](i[11])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function Dh(i){let e,t,n=i[11].label&&Eh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Eh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function wC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N=i[1]&&Ah(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),o=Te(i[0]),c=W(),h=k("div"),d=k("div"),g=k("ul"),N&&N.c(),p=W(),b=k("footer"),m=k("div"),v=k("div"),C=k("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){L(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),N&&N.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[x(C,"click",i[8]),x(e,"click",Ot(kC))],P=!0)},p(V,[E]){(!y||E&1)&&Ae(o,V[0]),V[1]?N?(N.p(V,E),E&2&&R(N,1)):(N=Ah(V),N.c(),R(N,1),N.m(g,null)):N&&(be(),U(N,1,1,()=>{N=null}),ve())},i(V){y||(R(N),y=!0)},o(V){U(N),y=!1},d(V){V&&T(e),N&&N.d(),P=!1,Qe(I)}}}const kC=()=>{};function SC(i,e,t){const n=Xt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return ae.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Ki.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 pp extends Ft{constructor(e){super(),Mt(this,e,SC,wC,Dt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:CC}=wl;function Vh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Oh(i){let e,t,n,l=i[0]&&Mh(i);return{c(){e=k("nav"),t=k("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){L(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=Mh(r),l.c(),R(l,1),l.m(t,null)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Mh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Uh(Vh(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=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&7693){n=Ve(a[0]);let c;for(c=0;c<n.length;c+=1){const h=Vh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Uh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function Fh(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?PC:yC}let P=y(i,-1),I=P(i);a=new An({props:{node:i[7]}});function N(){return i[14](i[7])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(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=ae.getTestId(i[7]))},m(V,E){L(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[x(t,"click",i[13]),x(e,"click",N)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Ae(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=ae.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&&T(e),I.d(),Fe(a),v=!1,Qe(C)}}}function yC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1811tf3"),tt(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function PC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Uh(i){let e,t,n=i[7].label&&Fh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Fh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Bh(i){let e,t;return e=new pp({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(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function IC(i){let e,t,n,l,r,a=!i[1]&&Oh(i),o=i[1]&&Bh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=we()},m(c,h){a&&a.m(c,h),L(c,e,h),o&&o.m(c,h),L(c,t,h),n=!0,l||(r=x(CC,"resize",fs),l=!0)},p(c,[h]){c[1]?a&&(be(),U(a,1,1,()=>{a=null}),ve()):a?(a.p(c,h),h&2&&R(a,1)):(a=Oh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Bh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(be(),U(o,1,1,()=>{o=null}),ve())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){c&&(T(e),T(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 NC(i,e,t){const n=Xt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=Pt("getUnsavedChangesModalPromise"),h=Pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});rn(async()=>{fs()}),Yn(async()=>{r||t(0,r=await qt.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 ot.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return ae.isOpenUIiconName(E.icon)}function y(E){return ae.renderIconClassName(E)}function P(E){return Et.getTranslation(E.label)}function I(E){return me.getNodeHref(E,o)}const N=E=>{ae.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,fs,a,g,C,y,P,I,N,V]}class mp extends Ft{constructor(e){super(),Mt(this,e,NC,IC,Dt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return fs}}const Cn={_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?ie.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=ie.addLeadingSlash(ot.getCurrentPath()),n=ie.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ie.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=ie.normalizePath(i),n=ie.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=Cn._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=ie.normalizePath(i),t=ie.normalizePath(t),!!Cn.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=Cn.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 Cn.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 Cn.generateSwitcherNav(e,t)}};function Hh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i,e,t){const n=i.slice();return n[20]=e[t],n}function qh(i,e,t){const n=i.slice();return n[20]=e[t],n}function zh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Kh(qh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=qh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function Gh(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=k("li"),t=k("a"),n=k("span"),r=Te(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=ae.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[x(t,"click",St(VC)),x(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=ae.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Qe(d)}}}function Kh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Gh(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),L(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=Gh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function jh(i){let e;return{c(){e=k("li"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Jh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Yh(Wh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(l,r);L(l,e,r)},p(l,r){if(r&4542){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=Wh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Yh(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&&T(e),ht(n,l)}}}function TC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function LC(i){let e,t,n,l,r;function a(d,g){return d[2]?EC:AC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=k("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=ae.getTestId(i[20]))},m(d,g){L(d,e,g),c.m(e,null),L(d,n,g),l||(r=x(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=ae.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&(T(e),T(n)),c.d(),l=!1,r()}}}function AC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(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){L(d,e,g),w(e,t),w(t,l),c||(h=x(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Ae(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&&T(e),c=!1,h()}}}function EC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function RC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function Yh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:RC,then:LC,catch:TC,value:25};return rs(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=we(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&rs(t,n)||X_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Qh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xh(Hh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Hh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function Zh(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=k("li"),t=k("a"),n=k("span"),r=Te(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=ae.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[x(t,"click",i[17]),x(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=ae.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Qe(d)}}}function Xh(i){let e,t=i[20].position==="bottom"&&Zh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Zh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function DC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&zh(i),c=i[3]&&i[3].length===0&&i[10]&&jh(),h=i[3]&&i[3].length&&Jh(i),d=i[0]&&i[0].length&&Qh(i);return{c(){e=k("nav"),o&&o.c(),t=W(),n=k("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){L(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=zh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=jh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Jh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Qh(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:Ue,o:Ue,d(g){g&&T(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const VC=()=>{};function OC(i,e,t){let n,l=Ue,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=Xt();function P(O){y("onActionClick",{node:O})}function I(O,G){y("goToOption",{option:O,selectedOption:G})}const N=O=>P(O),V=O=>{ae.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>I(O,g),H=O=>{ae.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,I,n,N,V,E,H,D]}class bp extends Ft{constructor(e){super(),Mt(this,e,OC,DC,Dt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function $h(i){let e,t,n,l=!i[9]&&xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(be(),U(l,1,1,()=>{l=null}),ve()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=xh(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=eg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function xh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?FC:MC}let p=g(i),b=p(i);return a=new bp({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=k("div"),t=k("div"),n=k("div"),b.c(),l=W(),r=k("div"),Be(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){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,h||(d=x(n,"click",Ot(JC)),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&&T(e),b.d(),Fe(a),h=!1,d()}}}function MC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?BC:UC}let c=o(i),h=c(i);return{c(){e=k("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){L(d,e,g),h.m(e,null),r||(a=x(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&&T(e),h.d(),r=!1,a()}}}function FC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?zC:qC}let h=c(i),d=h(i);return{c(){e=k("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){L(g,e,p),d.m(e,null),a||(o=x(e,"click",St(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&&T(e),d.d(),a=!1,o()}}}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=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function BC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function HC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function WC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function qC(i){let e,t;function n(a,o){return a[4]?GC:KC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function zC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function GC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function KC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I=!i[4]&&tg(i),N=i[4]&&ng(i);return d=new bp({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=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),I&&I.c(),o=W(),N&&N.c(),c=W(),h=k("div"),Be(d.$$.fragment),g=W(),p=k("footer"),b=k("div"),m=k("div"),v=k("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){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),N&&N.m(a,null),w(t,c),w(t,h),Me(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[x(v,"click",i[13]),x(e,"click",Ot(YC))],y=!0)},p(V,E){V[4]?I&&(I.d(1),I=null):I?I.p(V,E):(I=tg(V),I.c(),I.m(a,o)),V[4]?N?N.p(V,E):(N=ng(V),N.c(),N.m(a,null)):N&&(N.d(1),N=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&&T(e),I&&I.d(),N&&N.d(),Fe(d),y=!1,Qe(P)}}}function tg(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function ng(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function jC(i){let e,t,n=i[3]&&$h(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=$h(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}const JC=()=>{},YC=()=>{};function QC(i,e,t){let n,l;const r=Xt();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:I=!1}=e,{defaultLabel:N}=e,V,E=Pt("getUnsavedChangesModalPromise"),H=Pt("store"),D=Pt("getTranslation");Si(i,D,re=>t(16,l=re));let O=!1,{addNavHrefForAnchor:G}=e,J;rn(async()=>{bn.doOnStoreChange(H,async()=>{const re=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=ie.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=ie.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,h=re),t(1,g=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const ke=ot.getCurrentPath();t(20,m=re.fallbackLabelResolver),Cn.resetFallbackLabelCache(),re.lazyloadOptions||await Y(),Cn.isContextSwitcherDetailsView(ke,re.parentNodePath)&&await ee(ke)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(re=>ee(re)),Bn.addEventListener("message",re=>{Ee.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Y())}),t(21,N=h.defaultLabel)}),Yn(()=>{O!==I&&(O=I,Y()),t(14,J=o.contextSwitcherPopover||!1)});function Q(re,ke,je){return re?Promise.resolve(re):Cn.getFallbackLabel(ke,je)}function ce(re){return me.getNodeHref(re,v)}async function Y(){t(1,g=await Cn.fetchOptions(g));const re=h||{},ke=re.parentNodePath,je=re.fallbackLabelResolver,ye=ot.getCurrentPath();t(2,b=await Cn.getSelectedOption(ye,g,ke)),t(4,c=await Cn.getSelectedLabel(ye,g,ke,je)),await Cn.getSelectedNode(ye,g,ke),V=re.preserveSubPathOnSwitch}async function ee(re){const ke=h||{},je=ke.parentNodePath,ye=ke.fallbackLabelResolver;t(2,b=await Cn.getSelectedOption(re,g,je)),t(4,c=await Cn.getSelectedLabel(re,g,je,ye)),await Cn.getSelectedNode(re,g,je)}async function q(re){let ke=re.detail.node;ke.clickHandler&&!await ke.clickHandler(ke)||(setTimeout(()=>{le(ke.link)}),P&&r("toggleDropdownState"))}function le(re){E().then(()=>{ot.navigateTo(re)},()=>{})}function ue(re){let ke=re.detail.option,je=re.detail.selectedOption;E().then(()=>{V&&je?ot.navigateTo(Cn.getNodePathFromCurrentPath(ke,je)):ot.navigateTo(ke.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Y()}const Pe=()=>{n&&ne()},se=()=>{n&&ne()};return i.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,a=re.contextSwitcherEnabled),"dropDownStates"in re&&t(8,o=re.dropDownStates),"selectedLabel"in re&&t(4,c=re.selectedLabel),"config"in re&&t(5,h=re.config),"actions"in re&&t(0,d=re.actions),"options"in re&&t(1,g=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,I=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,N=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,G=re.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,G,q,ue,ne,J,n,l,D,Q,ce,m,N,v,I,Y,ee,le,p,Pe,se]}class vp extends Ft{constructor(e){super(),Mt(this,e,QC,jC,Dt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:ZC}=wl;function ig(i,e,t){const n=i.slice();return n[22]=e[t],n}function lg(i){let e,t,n,l=!i[2]&&rg(i),r=i[2]&&i[3].productSwitcherPopover&&fg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=rg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=fg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function rg(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?$C:XC}let I=P(i,-1),N=I(i),V=Ve(i[0]),E=[];for(let H=0;H<V.length;H+=1)E[H]=ug(ig(i,V,H));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),N.c(),d=W(),g=k("div"),p=k("div"),b=k("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=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){L(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),N.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]&&E[O].m(b,null);C||(y=[x(r,"click",Ot(i[7])),x(l,"click",Ot(a3))],C=!0)},p(H,D){if(I===(I=P(H,D))&&N?N.p(H,D):(N.d(1),N=I(H),N&&(N.c(),N.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=Ve(H[0]);let O;for(O=0;O<V.length;O+=1){const G=ig(H,V,O);E[O]?E[O].p(G,D):(E[O]=ug(G),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=Un(H[9])+" svelte-1mzhx88")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&T(e),N.d(),ht(E,H),C=!1,Qe(y)}}}function XC(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!tt(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function $C(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function ag(i){let e,t,n,l,r,a;function o(g,p){return g[4]?e3:xC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=k("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){L(g,e,p),h.m(e,null),w(e,t),r||(a=x(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&&T(e),h.d(),r=!1,a()}}}function xC(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?n3:t3}let g=d(i,-1),p=g(i),b=h&&sg(i);return{c(){e=k("div"),p.c(),n=W(),l=k("div"),r=k("div"),o=Te(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){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){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])+"")&&Ae(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=sg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&(T(e),T(n),T(l)),p.d(),b&&b.d()}}}function e3(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,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?l3:i3}let v=m(i,-1),C=v(i),y=d&&og(i);return{c(){e=k("a"),t=k("div"),C.c(),l=W(),r=k("div"),a=k("div"),c=Te(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,I){L(P,e,I),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=x(e,"click",i[16]),p=!0)},p(P,I){v===(v=m(P,I))&&C?C.p(P,I):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),I&1&&(d=P[13](P[22])),d?y?y.p(P,I):(y=og(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&T(e),C.d(),y&&y.d(),p=!1,b()}}}function t3(i){let e,t,n;return{c(){e=k("img"),tt(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){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function n3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function sg(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function i3(i){let e,t,n;return{c(){e=k("img"),tt(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){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function l3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function og(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function ug(i){let e,t=i[22].label&&ag(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function fg(i){let e,t;return e=new pp({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(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function r3(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&lg(i);return{c(){a&&a.c(),t=we()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=x(ZC,"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=lg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(be(),U(a,1,1,()=>{a=null}),ve())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){o&&T(t),a&&a.d(o),l=!1,r()}}}function cs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const a3=()=>{};function s3(i,e,t){const n=Xt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=Pt("store"),h=Pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;rn(async()=>{bn.doOnStoreChange(c,async()=>{t(1,a=ae.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),I()),cs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{ot.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return ae.renderIconClassName(D)}function C(D){return ae.isOpenUIiconName(D.icon)}function y(D){return Et.getTranslation(D.label)}function P(D){return Et.getTranslation(D.subTitle)}function I(){ae.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function N(D){return D.testId?D.testId:ae.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{ae.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,N,V,E,H]}class wp extends Ft{constructor(e){super(),Mt(this,e,s3,r3,Dt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return cs}}function cg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function o3(i){let e,t,n;return{c(){e=k("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-1gf05kv"),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){L(l,e,r),i[15](e),e.focus(),t||(n=x(e,"keyup",i[14]),t=!0)},p:Ue,d(l){l&&T(e),i[15](null),t=!1,n()}}}function u3(i){let e;return{c(){e=k("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-1gf05kv"),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){L(t,e,n),e.focus()},p:Ue,d(t){t&&T(e)}}}function f3(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[19](e)},p:Ue,d(t){t&&T(e),i[19](null)}}}function c3(i){let e,t,n,l=i[4]&&dg(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1gf05kv"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1gf05kv"),f(e,"aria-hidden",n=!i[5])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=dg(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&&T(e),l&&l.d()}}}function dg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hg(cg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=Ve(l[4]);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&&T(e),ht(n,l),i[18](null)}}}function d3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(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&&(T(n),e.d())}}}function h3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(c),f(n,"class","fd-product-switch__title svelte-1gf05kv"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1gf05kv")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=x(e,"click",St(_3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Ae(r,l),b&16&&c!==(c=p[21].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function hg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?d3:h3}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=k("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-1gf05kv"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[x(e,"click",c),x(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&&T(e),o.d(),n=!1,Qe(l)}}}function g3(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?u3:o3}let I=P(i),N=I(i);function V(D,O){return D[8].isCustomSearchRenderer?f3:c3}let E=V(i),H=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),N.c(),r=W(),a=k("div"),o=W(),H.c(),d=W(),g=k("div"),p=k("div"),b=k("button"),m=k("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-1gf05kv"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1gf05kv"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-1gf05kv"),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){L(D,e,O),w(e,t),w(t,n),w(n,l),N.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),L(D,d,O),L(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[x(window,"click",i[9]),x(window,"blur",i[9]),x(n,"click",Ot(p3)),x(b,"click",i[6]),x(p,"click",Ot(m3))],C=!0)},p(D,[O]){I===(I=P(D))&&N?N.p(D,O):(N.d(1),N=I(D),N&&(N.c(),N.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-1gf05kv")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:Ue,o:Ue,d(D){D&&(T(e),T(d),T(g)),N.d(),H.d(),C=!1,Qe(y)}}}const _3=()=>{},p3=()=>{},m3=()=>{};function b3(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=Xt();let g={},p;rn(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Yn(()=>{t(7,g=h),p||t(8,p=new up(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 I(D){Ye[D?"unshift":"push"](()=>{a=D,t(0,a)})}const N=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){Ye[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Ye[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,I,N,V,E,H]}class v3 extends Ft{constructor(e){super(),Mt(this,e,b3,g3,Dt,{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 gg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function w3(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=k("input"),t=W(),n=k("div"),l=k("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=k("div"),o=k("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=k("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-a47lg3"),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-a47lg3"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){L(p,e,b),i[23](e),L(p,t,b),L(p,n,b),w(n,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(p,h,b),d||(g=[x(e,"keyup",i[22]),x(e,"input",i[24]),x(l,"click",i[17]),x(o,"click",i[15])],d=!0)},p:Ue,d(p){p&&(T(e),T(t),T(n),T(r),T(a),T(c),T(h)),i[23](null),d=!1,Qe(g)}}}function k3(i){let e;return{c(){e=k("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){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function S3(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[28](e)},p:Ue,d(t){t&&T(e),i[28](null)}}}function C3(i){let e,t,n,l=i[3]&&_g(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-a47lg3"),f(e,"aria-hidden",n=!i[4])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=_g(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&&T(e),l&&l.d()}}}function _g(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=pg(gg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=gg(l,t,a);n[a]?n[a].p(o,r):(n[a]=pg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l),i[27](null)}}}function y3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Cr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),L(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&&(T(n),e.d())}}}function P3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=x(e,"click",St(N3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Ae(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function pg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?y3:P3}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=k("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-a47lg3"),f(e,"tabindex","0")},m(d,g){L(d,e,g),o.m(e,null),w(e,t),n||(l=[x(e,"click",c),x(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&&T(e),o.d(),n=!1,Qe(l)}}}function mg(i){let e,t,n,l,r,a,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("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-a47lg3")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[x(n,"click",i[6]),x(t,"click",Ot(L3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,Qe(o)}}}function bg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=k("div"),t=k("button"),l=Te(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-a47lg3"),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-a47lg3")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=x(t,"click",Ot(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Ae(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-a47lg3")&&f(e,"class",a)},d(h){h&&T(e),o=!1,c()}}}function I3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?k3:w3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?S3:C3}let y=C(i),P=y(i),I=!i[5]&&mg(i),N=i[5]&&bg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),v.c(),r=W(),P.c(),c=W(),I&&I.c(),h=W(),N&&N.c(),d=we(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field"),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-a47lg3"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-a47lg3")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(V,c,E),I&&I.m(V,E),L(V,h,E),N&&N.m(V,E),L(V,d,E),g||(p=[x(window,"click",i[13]),x(window,"blur",i[13]),x(n,"click",Ot(T3))],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-a47lg3")&&f(e,"class",o),V[5]?I&&(I.d(1),I=null):I?I.p(V,E):(I=mg(V),I.c(),I.m(h.parentNode,h)),V[5]?N?N.p(V,E):(N=bg(V),N.c(),N.m(d.parentNode,d)):N&&(N.d(1),N=null)},i:Ue,o:Ue,d(V){V&&(T(e),T(c),T(h),T(d)),v.d(),P.d(),I&&I.d(V),N&&N.d(V),g=!1,Qe(p)}}}const N3=()=>{},T3=()=>{},L3=()=>{};function A3(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=Xt();let g=ml.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=Pt("getTranslation");Si(i,m,ue=>t(10,n=ue));let v;rn(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const ue=document.querySelector(".lui-global-search");ue&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(ue)}),Yn(()=>{t(8,b=h),v||t(9,v=new up(b,d)),v.getCustomRenderer(),N()});function C(ue,ne,Pe){v.renderCustomSearchItem(ue,ne,Pe)}function y(){v.closeSearchResult()}function P(ue){v.onKeyUp(ue,r)}function I(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function N(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(ue){v.onSearchResultItemSelected(ue)}function H(ue,ne){v.handleKeydown(ue,ne,a,c)}function D(ue){v.onActionClick(ue)}function O(){v.toggleSearch(p,r,a,o)}const G=ue=>P(ue);function J(ue){Ye[ue?"unshift":"push"](()=>{a=ue,t(0,a)})}const Q=()=>N(),ce=(ue,ne)=>E(ue),Y=(ue,ne)=>H(ue,ne);function ee(ue){Ye[ue?"unshift":"push"](()=>{c=ue,t(2,c)})}function q(ue){Ye[ue?"unshift":"push"](()=>{o=ue,t(1,o)})}const le=()=>O();return i.$$set=ue=>{"searchResult"in ue&&t(3,l=ue.searchResult),"displaySearchResult"in ue&&t(4,r=ue.displaySearchResult),"inputElem"in ue&&t(0,a=ue.inputElem),"customSearchItemRendererSlot"in ue&&t(1,o=ue.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in ue&&t(2,c=ue.customSearchItemRendererSlotContainer),"globalSearchConfig"in ue&&t(20,h=ue.globalSearchConfig),"isSearchFieldVisible"in ue&&t(5,p=ue.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,I,N,V,E,H,h,D,G,J,Q,ce,Y,ee,q,le]}class E3 extends Ft{constructor(e){super(),Mt(this,e,A3,I3,Dt,{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 vg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?D3:R3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function R3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),tt(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function D3(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function wg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ii({props:{node:i[0]}}),{c(){e=k("span"),n=Te(t),l=W(),Be(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ae(n,t);const 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&&T(e),Fe(r)}}}function V3(i){let e,t,n,l=i[0].icon&&vg(i),r=(!i[0].icon||i[0].showLabel)&&wg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=vg(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=wg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function O3(i,e,t){let{node:n}=e;function l(o){return ae.isOpenUIiconName(o.icon)}function r(o){return ae.renderIconClassName(o)}function a(o){return ae.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class jo extends Ft{constructor(e){super(),Mt(this,e,O3,V3,Dt,{node:0})}}const{Boolean:kp,window:kg}=wl;function Sg(i,e,t){const n=i.slice();return n[108]=e[t],n[110]=t,n}function Cg(i,e,t){const n=i.slice();return n[108]=e[t],n[111]=e,n[110]=t,n}function M3(i){let e,t;return e=new _p({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[100]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function F3(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")&&yg(i);function v(E){i[59](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new eC({props:C}),Ye.push(()=>yt(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Pg(i),P=(!i[0]||i[1])&&Ig(i),I=(i[18]||i[7]&&i[30].length>0)&&Tg(i),N=(i[0]||i[16])&&Gg(i),V=i[12]&&Kg(i);return{c(){e=k("div"),t=k("div"),m&&m.c(),n=W(),Be(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=k("div"),P&&P.c(),h=W(),I&&I.c(),d=W(),N&&N.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-z9ma68"),f(e,"tabindex","0")},m(E,H){L(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),Me(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),I&&I.m(c,null),w(c,d),N&&N.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=yg(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],Ct(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=Pg(E),y.c(),R(y,1),y.m(e,o)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Ig(E),P.c(),R(P,1),P.m(c,h)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),E[18]||E[7]&&E[30].length>0?I?(I.p(E,H),H[0]&1074004096&&R(I,1)):(I=Tg(E),I.c(),R(I,1),I.m(c,d)):I&&(be(),U(I,1,1,()=>{I=null}),ve()),E[0]||E[16]?N?(N.p(E,H),H[0]&65537&&R(N,1)):(N=Gg(E),N.c(),R(N,1),N.m(c,g)):N&&(be(),U(N,1,1,()=>{N=null}),ve()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Kg(E),V.c(),R(V,1),V.m(c,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-z9ma68"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(I),R(N),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(I),U(N),U(V),b=!1},d(E){E&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),I&&I.d(),N&&N.d(),V&&V.d()}}}function yg(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-z9ma68"),f(e,"tabindex","0"),f(e,"title",i[25]),f(e,"type","button")},m(r,a){L(r,e,a),w(e,t),n||(l=x(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&T(e),n=!1,l()}}}function Pg(i){let e,t,n,l,r,a,o,c;function h(v){i[60](v)}function d(v){i[61](v)}function g(v){i[62](v)}function p(v){i[63](v)}function b(v){i[64](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 E3({props:m}),Ye.push(()=>yt(t,"isSearchFieldVisible",h)),Ye.push(()=>yt(t,"searchResult",d)),Ye.push(()=>yt(t,"displaySearchResult",g)),Ye.push(()=>yt(t,"inputElem",p)),Ye.push(()=>yt(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[65]),t.$on("handleSearchNavigation",i[66]),t.$on("closeSearchResult",i[67]),{c(){e=k("div"),Be(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],Ct(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],Ct(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],Ct(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],Ct(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],Ct(()=>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&&T(e),Fe(t)}}}function Ig(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Ng(i);function a(c){i[76](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new vp({props:o}),Ye.push(()=>yt(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[77]),{c(){r&&r.c(),e=W(),Be(t.$$.fragment)},m(c,h){r&&r.m(c,h),L(c,e,h),Me(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=Ng(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],Ct(()=>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&&T(e),r&&r.d(c),Fe(t,c)}}}function Ng(i){let e,t,n,l,r,a,o;function c(m){i[68](m)}function h(m){i[69](m)}function d(m){i[70](m)}function g(m){i[71](m)}function p(m){i[72](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 v3({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"searchResult",h)),Ye.push(()=>yt(e,"displaySearchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[73]),e.$on("handleSearchNavigation",i[74]),e.$on("closeSearchResult",i[75]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],Ct(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],Ct(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],Ct(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],Ct(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function Tg(i){let e,t,n,l=i[7]&&i[30].length>0&&Lg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Dg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Lg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(be(),U(l,1,1,()=>{l=null}),ve()),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=Dg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Lg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Rg(Cg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=Cg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Rg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(kp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Ag(i){let e,t,n,l;const r=[B3,U3],a=[];function o(c,h){return c[108].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),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&&T(n),a[e].d(c)}}}function U3(i){let e,t,n,l,r;const a=[W3,H3],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=k("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),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&&T(e),o[t].d()}}}function B3(i){let e=i[108].visibleChildren.filter(jg).length>0,t,n,l=e&&Eg(i);return{c(){l&&l.c(),t=we()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[108].visibleChildren.filter(jg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Eg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(t),l&&l.d(r)}}}function H3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[82](v,i[108],i[111],i[110])}let b={};i[108]!==void 0&&(b.node=i[108]),t=new jo({props:b}),Ye.push(()=>yt(t,"node",p)),r=new An({props:{node:i[108]}});function m(){return i[83](i[108])}return{c(){e=k("button"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"title",a=i[51](i[108],i[49](i[108]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[108]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=ae.getTestId(i[108])),f(e,"type","button")},m(v,C){L(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),h=!0,d||(g=x(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[108],Ct(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[108]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[108],i[49](i[108]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[108]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=ae.getTestId(i[108])))&&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&&T(e),Fe(t),Fe(r),d=!1,g()}}}function W3(i){let e,t,n,l;const r=[z3,q3],a=[];function o(c,h){return c[108].separator?1:0}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),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&&T(n),a[e].d(c)}}}function q3(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent fd-separator svelte-z9ma68"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function z3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[80](C,i[108],i[111],i[110])}let m={};i[108]!==void 0&&(m.node=i[108]),t=new jo({props:m}),Ye.push(()=>yt(t,"node",b)),r=new An({props:{node:i[108]}});function v(...C){return i[81](i[108],...C)}return{c(){e=k("a"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"href",a=i[50](i[108])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[108]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(e,"title",c=i[51](i[108],i[49](i[108]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=ae.getTestId(i[108]))},m(C,y){L(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=x(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[108],Ct(()=>n=!1)),t.$set(P);const I={};y[0]&128&&(I.node=i[108]),r.$set(I),(!d||y[0]&128&&a!==(a=i[50](i[108])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[108]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[108],i[49](i[108]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=ae.getTestId(i[108])))&&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&&T(e),Fe(t),Fe(r),g=!1,p()}}}function Eg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(D){i[78](D,i[108],i[111],i[110])}let E={};i[108]!==void 0&&(E.node=i[108]),r=new jo({props:E}),Ye.push(()=>yt(r,"node",V)),c=new An({props:{node:i[108]}});function H(){return i[79](i[110])}return v=new mp({props:{node:i[108],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),Be(r.$$.fragment),o=W(),Be(c.$$.fragment),b=W(),m=k("div"),Be(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[108],i[49](i[108]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[108]===i[8]?"is-selected":"")+" svelte-z9ma68"),f(l,"aria-controls","dropDownPopover-"+i[110]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[110]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=ae.getTestId(i[108])),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[110]}`]),f(m,"id","dropDownPopover-"+i[110]),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){L(D,e,O),w(e,t),w(t,n),w(n,l),Me(r,l,null),w(l,o),Me(c,l,null),w(t,b),w(t,m),Me(v,m,null),w(e,y),P=!0,I||(N=[x(l,"click",H),x(n,"click",Ot(ly))],I=!0)},p(D,O){i=D;const G={};!a&&O[0]&128&&(a=!0,G.node=i[108],Ct(()=>a=!1)),r.$set(G);const J={};O[0]&128&&(J.node=i[108]),c.$set(J),(!P||O[0]&128&&h!==(h=i[51](i[108],i[49](i[108]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[108]===i[8]?"is-selected":"")+" svelte-z9ma68"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[110]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=ae.getTestId(i[108])))&&f(l,"data-testid",p);const Q={};O[0]&128&&(Q.node=i[108]),O[1]&1&&(Q.pathParams=i[31]),O[0]&134217728&&(Q.addNavHrefForAnchor=i[27]),v.$set(Q),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[110]}`]))&&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&&T(e),Fe(r),Fe(c),Fe(v),I=!1,Qe(N)}}}function Rg(i){let e,t,n=!(i[108].hideFromNav||i[5]&&i[108].globalNav)&&Ag(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[108].hideFromNav||l[5]&&l[108].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ag(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&&T(e),n&&n.d(l)}}}function Dg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E,H,D;h=new An({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Vg(i),G=i[46]&&(!i[0]||i[1])&&Og(i),J=i[7]&&Mg(i),Q=i[12]&&Hg(i),ce=i[12]&&Wg(i),Y=i[14]&&qg(i),ee=(!i[0]||i[1])&&zg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("button"),o=k("i"),c=W(),Be(h.$$.fragment),g=W(),p=k("div"),b=k("nav"),m=k("ul"),O&&O.c(),v=W(),G&&G.c(),C=W(),J&&J.c(),y=W(),Q&&Q.c(),I=W(),ce&&ce.c(),N=W(),Y&&Y.c(),V=W(),ee&&ee.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-z9ma68"),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-z9ma68"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(q,le){L(q,e,le),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),G&&G.m(m,null),w(m,C),J&&J.m(m,null),w(m,y),Q&&Q.m(m,null),w(n,I),ce&&ce.m(n,null),w(n,N),Y&&Y.m(n,null),w(n,V),ee&&ee.m(n,null),E=!0,H||(D=[x(a,"click",i[84]),x(l,"click",Ot(ry))],H=!0)},p(q,le){const ue={};le[0]&2048&&(ue.node=q[11]),h.$set(ue),(!E||le[0]&64&&d!==(d=q[6].overflowPopover||!1))&&f(a,"aria-expanded",d),q[18]&&!q[19]&&!q[29]?O?O.p(q,le):(O=Vg(q),O.c(),O.m(m,v)):O&&(O.d(1),O=null),q[46]&&(!q[0]||q[1])?G?G.p(q,le):(G=Og(q),G.c(),G.m(m,C)):G&&(G.d(1),G=null),q[7]?J?(J.p(q,le),le[0]&128&&R(J,1)):(J=Mg(q),J.c(),R(J,1),J.m(m,y)):J&&(be(),U(J,1,1,()=>{J=null}),ve()),q[12]?Q?Q.p(q,le):(Q=Hg(q),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!E||le[0]&64&&P!==(P=!q[6].overflowPopover))&&f(p,"aria-hidden",P),q[12]?ce?(ce.p(q,le),le[0]&4096&&R(ce,1)):(ce=Wg(q),ce.c(),R(ce,1),ce.m(n,N)):ce&&(be(),U(ce,1,1,()=>{ce=null}),ve()),q[14]?Y?(Y.p(q,le),le[0]&16384&&R(Y,1)):(Y=qg(q),Y.c(),R(Y,1),Y.m(n,V)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),!q[0]||q[1]?ee?(ee.p(q,le),le[0]&3&&R(ee,1)):(ee=zg(q),ee.c(),R(ee,1),ee.m(n,null)):ee&&(be(),U(ee,1,1,()=>{ee=null}),ve())},i(q){E||(R(h.$$.fragment,q),R(J),R(ce),R(Y),R(ee),E=!0)},o(q){U(h.$$.fragment,q),U(J),U(ce),U(Y),U(ee),E=!1},d(q){q&&T(e),Fe(h),O&&O.d(),G&&G.d(),J&&J.d(),Q&&Q.d(),ce&&ce.d(),Y&&Y.d(),ee&&ee.d(),H=!1,Qe(D)}}}function Vg(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-z9ma68"></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){L(r,e,a),w(e,t),n||(l=x(t,"click",Ot(i[85])),n=!0)},p:Ue,d(r){r&&T(e),n=!1,l()}}}function Og(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=k("li"),t=k("a"),n=k("i"),r=W(),a=k("span"),c=Te(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-z9ma68"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){L(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=x(t,"click",Ot(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-z9ma68")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Ae(c,o)},d(g){g&&T(e),h=!1,d()}}}function Mg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Bg(Sg(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=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&2031656){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=Sg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Bg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(kp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Fg(i){let e,t,n,l,r;const a=[K3,G3],o=[];function c(h,d){return d[0]&128&&(e=null),!h[108].isCat||h[108].separator?0:(e==null&&(e=h[108].visibleChildren.filter(iy).length>0),e?1:-1)}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=we()},m(h,d){~t&&o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(be(),U(o[g],1,1,()=>{o[g]=null}),ve()),~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&&T(l),~t&&o[t].d(h)}}}function G3(i){let e,t,n,l,r,a,o,c,h=i[49](i[108])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[108])),l?J3:j3}let P=y(i,[-1,-1,-1,-1]),I=P(i);a=new An({props:{node:i[108]}});function N(){return i[87](i[108])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(h),b=W(),f(n,"class","fd-top-nav__icon svelte-z9ma68"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[108])),f(t,"title",p=i[51](i[108],i[49](i[108]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=x(t,"click",St(N)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E[0]&128&&(H.node=i[108]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[108])+"")&&Ae(d,h),(!m||E[0]&128&&g!==(g=i[50](i[108])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[108],i[49](i[108]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&T(e),I.d(),Fe(a),v=!1,C()}}}function K3(i){let e,t,n,l,r;const a=[Q3,Y3],o=[];function c(h,d){return h[108].separator?1:0}return t=c(i),n=o[t]=a[t](i),{c(){e=k("li"),n.c(),l=W(),f(e,"class","fd-menu__item")},m(h,d){L(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):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),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&&T(e),o[t].d()}}}function j3(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[108].icon)||f(e,"src",t),f(e,"alt",n=i[108].altText?i[108].altText:""),f(e,"class","svelte-z9ma68")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[108].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[108].altText?l[108].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function J3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[108].icon&&i[48](i[108])?i[47](i[108].icon):"")+" svelte-z9ma68")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[108].icon&&n[48](n[108])?n[47](n[108].icon):"")+" svelte-z9ma68")&&f(e,"class",t)},d(n){n&&T(e)}}}function Y3(i){let e;return{c(){e=k("span"),f(e,"class","fd-menu__link fd-separator svelte-z9ma68"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function Q3(i){let e,t,n=!i[48](i[108]),l,r,a,o,c,h=i[49](i[108])+"",d,g,p,b,m,v,C,y=n&&Ug(i);r=new An({props:{node:i[108]}});function P(){return i[86](i[108])}return{c(){e=k("a"),t=k("span"),y&&y.c(),l=W(),Be(r.$$.fragment),o=W(),c=k("span"),d=Te(h),f(t,"class",a="fd-top-nav__icon sap-icon "+(i[108].icon&&i[48](i[108])?i[47](i[108].icon):"")+" svelte-z9ma68"),f(c,"class","fd-menu__title"),f(e,"href",g=i[50](i[108])),f(e,"class",p="fd-menu__link "+(i[108]===i[8]?"is-selected":"")),f(e,"data-testid",b=ae.getTestId(i[108])+"-mobile")},m(I,N){L(I,e,N),w(e,t),y&&y.m(t,null),w(t,l),Me(r,t,null),w(e,o),w(e,c),w(c,d),m=!0,v||(C=x(e,"click",St(P)),v=!0)},p(I,N){i=I,N[0]&128&&(n=!i[48](i[108])),n?y?y.p(i,N):(y=Ug(i),y.c(),y.m(t,l)):y&&(y.d(1),y=null);const V={};N[0]&128&&(V.node=i[108]),r.$set(V),(!m||N[0]&128&&a!==(a="fd-top-nav__icon sap-icon "+(i[108].icon&&i[48](i[108])?i[47](i[108].icon):"")+" svelte-z9ma68"))&&f(t,"class",a),(!m||N[0]&128)&&h!==(h=i[49](i[108])+"")&&Ae(d,h),(!m||N[0]&128&&g!==(g=i[50](i[108])))&&f(e,"href",g),(!m||N[0]&384&&p!==(p="fd-menu__link "+(i[108]===i[8]?"is-selected":"")))&&f(e,"class",p),(!m||N[0]&128&&b!==(b=ae.getTestId(i[108])+"-mobile"))&&f(e,"data-testid",b)},i(I){m||(R(r.$$.fragment,I),m=!0)},o(I){U(r.$$.fragment,I),m=!1},d(I){I&&T(e),y&&y.d(),Fe(r),v=!1,C()}}}function Ug(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[108].icon)||f(e,"src",t),f(e,"alt",n=i[108].altText?i[108].altText:""),f(e,"class","svelte-z9ma68")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[108].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[108].altText?l[108].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Bg(i){let e,t,n=!(i[108].hideFromNav||i[5]&&i[108].globalNav)&&Fg(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[108].hideFromNav||l[5]&&l[108].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Fg(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&&T(e),n&&n.d(l)}}}function Hg(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?X3:Z3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=k("li"),t=k("a"),p.c(),l=W(),r=k("span"),o=Te(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=x(t,"click",Ot(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+"")&&Ae(o,a)},d(b){b&&T(e),p.d(),c=!1,h()}}}function Z3(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-z9ma68"),f(e,"class","fd-top-nav__icon sap-icon svelte-z9ma68")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function X3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-z9ma68")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-z9ma68")&&f(e,"class",t)},d(n){n&&T(e)}}}function Wg(i){let e,t,n;function l(a){i[88](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new wp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[89]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function qg(i){let e,t;return e=new mp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(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){Fe(e,n)}}}function zg(i){let e,t,n,l,r;function a(d){i[90](d)}function o(d){i[91](d)}function c(d){i[92](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 vp({props:h}),Ye.push(()=>yt(e,"dropDownStates",a)),Ye.push(()=>yt(e,"selectedLabel",o)),Ye.push(()=>yt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[93]),{c(){Be(e.$$.fragment)},m(d,g){Me(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],Ct(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],Ct(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],Ct(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Gg(i){let e,t,n,l,r;const a=[x3,$3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&ie.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=k("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){L(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),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&&T(e),o[n].d()}}}function $3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(I,N){return I[17].picture?ty:ey}let y=C(i),P=y(i);return g=new _p({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[97]),g.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),h=W(),d=k("div"),Be(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-z9ma68"),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-z9ma68")},m(I,N){L(I,e,N),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Me(g,d,null),b=!0,m||(v=[x(r,"click",i[96]),x(n,"click",Ot(sy)),x(d,"click",Ot(i[58]))],m=!0)},p(I,N){y===(y=C(I))&&P?P.p(I,N):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||N[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||N[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||N[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};N[0]&134217728&&(V.addNavHrefForAnchor=I[27]),g.$set(V),(!b||N[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(g.$$.fragment,I),b=!0)},o(I){U(g.$$.fragment,I),b=!1},d(I){I&&T(e),P.d(),Fe(g),m=!1,Qe(v)}}}function x3(i){let e,t,n,l,r=(i[17].picture?"":i[17].initials||"")+"",a,o,c,h,d,g,p,b,m,v,C,y;return b=new uC({props:{addNavHrefForAnchor:i[27]}}),b.$on("toggleDropdownState",i[95]),b.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("span"),a=Te(r),g=W(),p=k("div"),Be(b.$$.fragment),f(l,"class",o="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(i[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"),f(l,"style",c=i[17].picture?`background-image:url('${i[17].picture}')`:""),f(n,"class","fd-button fd-button--transparent fd-shellbar__button fd-user-menu__control svelte-z9ma68"),f(n,"aria-controls","profilePopover"),f(n,"aria-expanded","true"),f(n,"aria-haspopup","true"),f(n,"title",h=i[17].name||void 0),f(n,"tabindex","0"),f(n,"data-testid",d=i[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"),f(t,"class","fd-popover__control"),f(p,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right"),f(p,"aria-hidden",m=!i[6].profilePopover),f(p,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-z9ma68")},m(P,I){L(P,e,I),w(e,t),w(t,n),w(n,l),w(l,a),w(e,g),w(e,p),Me(b,p,null),v=!0,C||(y=[x(n,"click",i[94]),x(t,"click",Ot(ay)),x(p,"click",Ot(i[57]))],C=!0)},p(P,I){(!v||I[0]&131072)&&r!==(r=(P[17].picture?"":P[17].initials||"")+"")&&Ae(a,r),(!v||I[0]&131072&&o!==(o="fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle "+(P[17].picture?"fd-avatar--thumbnail":"")+" svelte-z9ma68"))&&f(l,"class",o),(!v||I[0]&131072&&c!==(c=P[17].picture?`background-image:url('${P[17].picture}')`:""))&&f(l,"style",c),(!v||I[0]&131072&&h!==(h=P[17].name||void 0))&&f(n,"title",h),(!v||I[0]&131072&&d!==(d=P[17].picture?"luigi-topnav-profile-btn":"luigi-topnav-profile-initials"))&&f(n,"data-testid",d);const N={};I[0]&134217728&&(N.addNavHrefForAnchor=P[27]),b.$set(N),(!v||I[0]&64&&m!==(m=!P[6].profilePopover))&&f(p,"aria-hidden",m)},i(P){v||(R(b.$$.fragment,P),v=!0)},o(P){U(b.$$.fragment,P),v=!1},d(P){P&&T(e),Fe(b),C=!1,Qe(y)}}}function ey(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){L(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&T(e)}}}function ty(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-z9ma68"),ni(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&ni(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function Kg(i){let e,t,n;function l(a){i[98](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new wp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[99]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function ny(i){let e,t,n,l,r,a;const o=[F3,M3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),L(d,n,g),l=!0,r||(a=[x(kg,"click",i[41]),x(kg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(be(),U(c[p],1,1,()=>{c[p]=null}),ve(),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&&T(n),c[e].d(d),r=!1,Qe(a)}}}const iy=i=>!i.hideFromNav&&i.label,jg=i=>!i.hideFromNav&&i.label,ly=()=>{},ry=()=>{},ay=()=>{},sy=()=>{};function oy(i,e,t){const n=Xt();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:I}=e,{totalBadgeNode:N}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:G={}}=e,{globalSearchConfig:J}=e,{isGlobalSearchCentered:Q}=e,{isSearchFieldVisible:ce}=e,{inputElem:Y}=e,{customSearchItemRendererSlot:ee}=e,{displaySearchResult:q}=e,{searchResult:le}=e,{burgerTooltip:ue}=e,{responsiveShellbarPadding:ne}=e,Pe=Pt("store"),se=!1,re,ke,je=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ye=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const X=await ae.generateTopNavNodes(p);t(7,C=X.children),t(8,y=X.selectedNode),t(9,P=X.visibleNodeCount),t(11,N=X.totalBadgeNode),t(10,I=X.globalNavNodeCount),window.TOPNAVDATA=X.children,b=p}},ze=()=>{t(1,a=_l.isLoggedIn())};rn(()=>{bn.doOnStoreChange(Pe,()=>{t(0,l=wi.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=ae.getProductSwitcherConfig()),t(18,J=te.getConfigValue("globalSearch")),t(19,Q=J&&J.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(27,ye=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,je=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),bn.doOnStoreChange(Pe,()=>{Le()},["navigation.viewgroupdata"]),Bn.addEventListener("message",X=>{X.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),Yn(()=>{(!b||b!=p)&&Le(),ze()});let{showTopNav:Xe}=e;function De(X){return ae.renderIconClassName(X)}function nt(X){return ae.isOpenUIiconName(X.icon)}const lt=X=>ae.getNodeLabel(X);function gt(X){return me.getNodeHref(X,m)}function ge(X,Vt){return ae.generateTooltipText(X,Vt)}function Ze(){rt("productSwitcherPopover")}function Ht(){t(43,se=!se),rt("contextSwitcherPopover")}function En(X){t(14,H=!0),t(15,D=X)}function on(){t(14,H=!1)}function an(X){n("handleClick",{node:X})}function Ie(X){n("handleSearchNavigation",{node:X})}function ut(X){an(X.detail.node)}function rt(X){const Vt=v||{},yn=!Vt[X];Kt(),on(),Vt[X]=yn,t(6,v=Vt)}function un(X){rt(X.detail.name)}function Gt(){Y&&Y.focus()}function Hn(){ce||setTimeout(()=>{Gt()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Y,customSearchItemRendererSlot:ee})}function Kt(){const X=v||{},Vt=Object.keys(X);Vt&&Vt.length>0&&Vt.forEach(yn=>{X[yn]=!1,t(6,v=X)})}function jt(){h==="simple"||h==="simpleMobileOnly"?$t():vn(),li()}function li(){if(!ae.getBurgerTooltipConfig())return;const[X,Vt]=ae.getBurgerTooltipConfig();X&&Vt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ue=document.body.classList.contains("lui-leftNavToggle")?X:Vt),document.body.classList.contains("lui-semiCollapsible")&&t(25,ue=document.body.classList.contains("semiCollapsed")?X:Vt))}function $t(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function vn(){vi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Ci(X){const Vt=X.detail;t(17,G=Vt||{})}function yi(X){Ki.call(this,i,X)}function wn(X){Ki.call(this,i,X)}function Pi(X){v=X,t(6,v)}function Ii(X){ce=X,t(20,ce)}function Ni(X){le=X,t(24,le)}function Ti(X){q=X,t(23,q)}function Li(X){Y=X,t(21,Y)}function Sl(X){ee=X,t(22,ee)}function Cl(X){Ki.call(this,i,X)}function yl(X){Ki.call(this,i,X)}function Ai(X){Ki.call(this,i,X)}function Yi(X){ce=X,t(20,ce)}function Qi(X){le=X,t(24,le)}function di(X){q=X,t(23,q)}function Pl(X){Y=X,t(21,Y)}function Il(X){ee=X,t(22,ee)}function Zi(X){Ki.call(this,i,X)}function Nl(X){Ki.call(this,i,X)}function Tl(X){Ki.call(this,i,X)}function Ll(X){v=X,t(6,v)}const Ei=()=>rt("contextSwitcherPopover");function Al(X,Vt,yn,_i){yn[_i]=X,t(7,C)}const ri=X=>rt(`dropDownPopover-${X}`);function Ri(X,Vt,yn,_i){yn[_i]=X,t(7,C)}const hi=(X,Vt)=>{ae.handleNavAnchorClickedWithoutMetaKey(Vt)&&an(X)};function Di(X,Vt,yn,_i){yn[_i]=X,t(7,C)}const gi=X=>an(X),Xi=()=>rt("overflowPopover"),$i=()=>{Hn(),rt("overflowPopover")},K=X=>an(X),Se=X=>En(X);function Je(X){v=X,t(6,v)}const it=()=>rt("productSwitcherPopover");function vt(X){v=X,t(6,v)}function pt(X){re=X,t(44,re)}function Wt(X){ke=X,t(45,ke)}const zt=()=>rt("contextSwitcherPopover"),Rn=()=>rt("profilePopover"),Wn=()=>rt("profilePopover"),El=()=>rt("profilePopover"),Vi=()=>rt("profilePopover");function Kl(X){v=X,t(6,v)}const yr=()=>rt("productSwitcherPopover"),wt=()=>rt("profilePopover");return i.$$set=X=>{"authorizationEnabled"in X&&t(0,l=X.authorizationEnabled),"autologinEnabled"in X&&t(53,r=X.autologinEnabled),"isLoggedIn"in X&&t(1,a=X.isLoggedIn),"hideSearchComponent"in X&&t(29,o=X.hideSearchComponent),"hideNavComponent"in X&&t(2,c=X.hideNavComponent),"responsiveNavSetting"in X&&t(3,h=X.responsiveNavSetting),"profileTypeSettings"in X&&t(4,d=X.profileTypeSettings),"showGlobalNav"in X&&t(5,g=X.showGlobalNav),"pathData"in X&&t(30,p=X.pathData),"pathParams"in X&&t(31,m=X.pathParams),"dropDownStates"in X&&t(6,v=X.dropDownStates),"children"in X&&t(7,C=X.children),"selectedNode"in X&&t(8,y=X.selectedNode),"visibleNodeCount"in X&&t(9,P=X.visibleNodeCount),"globalNavNodeCount"in X&&t(10,I=X.globalNavNodeCount),"totalBadgeNode"in X&&t(11,N=X.totalBadgeNode),"isProductSwitcherAvailable"in X&&t(12,V=X.isProductSwitcherAvailable),"productSwitcherConfig"in X&&t(13,E=X.productSwitcherConfig),"openMobileDropDown"in X&&t(14,H=X.openMobileDropDown),"nodeForMobile"in X&&t(15,D=X.nodeForMobile),"profileItemsAvailable"in X&&t(16,O=X.profileItemsAvailable),"userInfo"in X&&t(17,G=X.userInfo),"globalSearchConfig"in X&&t(18,J=X.globalSearchConfig),"isGlobalSearchCentered"in X&&t(19,Q=X.isGlobalSearchCentered),"isSearchFieldVisible"in X&&t(20,ce=X.isSearchFieldVisible),"inputElem"in X&&t(21,Y=X.inputElem),"customSearchItemRendererSlot"in X&&t(22,ee=X.customSearchItemRendererSlot),"displaySearchResult"in X&&t(23,q=X.displaySearchResult),"searchResult"in X&&t(24,le=X.searchResult),"burgerTooltip"in X&&t(25,ue=X.burgerTooltip),"responsiveShellbarPadding"in X&&t(26,ne=X.responsiveShellbarPadding),"addNavHrefForAnchor"in X&&t(27,ye=X.addNavHrefForAnchor),"showTopNav"in X&&t(28,Xe=X.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,Xe=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,I,N,V,E,H,D,O,G,J,Q,ce,Y,ee,q,le,ue,ne,ye,Xe,o,p,m,Ze,Ht,En,on,an,ut,rt,un,Hn,Kt,Ci,se,re,ke,je,De,nt,lt,gt,ge,jt,r,Ie,$t,vn,yi,wn,Pi,Ii,Ni,Ti,Li,Sl,Cl,yl,Ai,Yi,Qi,di,Pl,Il,Zi,Nl,Tl,Ll,Ei,Al,ri,Ri,hi,Di,gi,Xi,$i,K,Se,Je,it,vt,pt,Wt,zt,Rn,Wn,El,Vi,Kl,yr,wt]}class Sp extends Ft{constructor(e){super(),Mt(this,e,oy,ny,Dt,{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 Jg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function uy(i){let e,t=i[0]&&Jg();return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Jg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function fy(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ot.getCurrentPath(),n),a=await qt.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 rn(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");zl.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 cy extends Ft{constructor(e){super(),Mt(this,e,fy,uy,Dt,{node:0})}}const{window:Oo}=wl;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[59]=t,n}function Xg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function $g(i,e,t){const n=i.slice();return n[57]=e[t],n}function xg(i,e,t){const n=i.slice();return n[57]=e[t],n}function dy(i){const e=i.slice(),t=Cp(e[54]);return e[67]=t,e}function e_(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 hy(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function t_(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&&n_(i),P=Ve(Object.entries(i[0])),I=[];for(let D=0;D<P.length;D+=1)I[D]=c_(Xg(i,P,D));const N=D=>U(I[D],1,1,()=>{I[D]=null});let V=Ve(Object.entries(i[0])),E=[];for(let D=0;D<V.length;D+=1)E[D]=__(Yg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=k("div"),y&&y.c(),t=W(),n=k("nav"),l=k("div");for(let D=0;D<I.length;D+=1)I[D].c();r=W(),a=k("span"),o=k("div"),c=k("div"),h=k("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=k("div"),p=k("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){L(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let G=0;G<I.length;G+=1)I[G]&&I[G].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 G=0;G<E.length;G+=1)E[G]&&E[G].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[x(h,"click",St(i[10])),x(a,"click",Ny),x(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=n_(D),y.c(),R(y,1),y.m(e,t)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),O[0]&3866829){P=Ve(Object.entries(D[0]));let G;for(G=0;G<P.length;G+=1){const J=Xg(D,P,G);I[G]?(I[G].p(J,O),R(I[G],1)):(I[G]=c_(J),I[G].c(),R(I[G],1),I[G].m(l,r))}for(be(),G=P.length;G<I.length;G+=1)N(G);ve()}if(O[0]&1704173){V=Ve(Object.entries(D[0]));let G;for(G=0;G<V.length;G+=1){const J=Yg(D,V,G);E[G]?(E[G].p(J,O),R(E[G],1)):(E[G]=__(J),E[G].c(),R(E[G],1),E[G].m(p,null))}for(be(),G=V.length;G<E.length;G+=1)H(G);ve()}(!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(I[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),I=I.filter(Boolean);for(let O=0;O<I.length;O+=1)U(I[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&T(e),y&&y.d(),ht(I,D),i[31](null),ht(E,D),i[36](null),i[37](null),i[39](null),v=!1,Qe(C)}}}function n_(i){let e,t;return e=new cy({props:{node:i[11].parent}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function gy(i){let e,t,n,l,r;const a=[my,py],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!Sy(d[54])),e?0:1}function h(d,g){return g===0?dy(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=we()},m(d,g){o[t].m(d,g),L(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(be(),U(o[p],1,1,()=>{o[p]=null}),ve(),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&&T(l),o[t].d(d)}}}function _y(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=f_(e_(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=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[54]);let c;for(c=0;c<n.length;c+=1){const h=e_(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(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function py(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,I,N,V;function E(){return i[29](i[53])}let H=Ve(i[54]),D=[];for(let G=0;G<H.length;G+=1)D[G]=r_($g(i,H,G));const O=G=>U(D[G],1,1,()=>{D[G]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("div"),a=k("span"),c=Te(o),h=W(),d=k("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=k("div"),m=k("ul");for(let G=0;G<D.length;G+=1)D[G].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=pl(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=pl(i[53],i[2]))},m(G,J){L(G,e,J),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 Q=0;Q<D.length;Q+=1)D[Q]&&D[Q].m(m,null);w(e,y),I=!0,N||(V=[x(l,"click",St(E)),x(e,"click",Iy)],N=!0)},p(G,J){if(i=G,(!I||J[0]&131073)&&o!==(o=i[17](i[53])+"")&&Ae(c,o),(!I||J[0]&5&&g!==(g=pl(i[53],i[2])))&&f(l,"aria-selected",g),J[0]&1572933){H=Ve(i[54]);let Q;for(Q=0;Q<H.length;Q+=1){const ce=$g(i,H,Q);D[Q]?(D[Q].p(ce,J),R(D[Q],1)):(D[Q]=r_(ce),D[Q].c(),R(D[Q],1),D[Q].m(m,null))}for(be(),Q=H.length;Q<D.length;Q+=1)O(Q);ve()}(!I||J[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),(!I||J[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!I||J[0]&5&&P!==(P=pl(i[53],i[2])))&&f(e,"isselected",P)},i(G){if(!I){for(let J=0;J<H.length;J+=1)R(D[J]);I=!0}},o(G){D=D.filter(Boolean);for(let J=0;J<D.length;J+=1)U(D[J]);I=!1},d(G){G&&T(e),ht(D,G),N=!1,Qe(V)}}}function my(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,N,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=Ve(i[54]),G=[];for(let J=0;J<O.length;J+=1)G[J]=s_(xg(i,O,J));return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),c=W(),h=k("div"),d=k("div"),g=k("div"),p=k("button"),b=k("i"),v=W(),C=k("div"),y=k("ul");for(let J=0;J<G.length;J+=1)G[J].c();N=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=pl(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",I=!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(J,Q){L(J,e,Q),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<G.length;ce+=1)G[ce]&&G[ce].m(y,null);w(e,N),V||(E=[x(t,"click",St(H)),x(p,"click",St(D)),x(e,"click",Py)],V=!0)},p(J,Q){if(i=J,Q[0]&131073&&l!==(l=i[17](i[53])+"")&&Ae(r,l),Q[0]&5&&a!==(a=pl(i[53],i[2]))&&f(t,"aria-selected",a),Q[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),Q[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),Q[0]&1572933){O=Ve(i[54]);let ce;for(ce=0;ce<O.length;ce+=1){const Y=xg(i,O,ce);G[ce]?G[ce].p(Y,Q):(G[ce]=s_(Y),G[ce].c(),G[ce].m(y,null))}for(;ce<G.length;ce+=1)G[ce].d(1);G.length=O.length}Q[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),Q[0]&9&&I!==(I=!i[3][i[53]])&&f(C,"aria-hidden",I)},i:Ue,o:Ue,d(J){J&&T(e),ht(G,J),V=!1,Qe(E)}}}function i_(i){let e,t,n=i[57].label&&l_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=l_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function l_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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=ae.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){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(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=ae.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&&T(e),Fe(o),b=!1,m()}}}function r_(i){let e,t,n=!i[57].hideFromNav&&i_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=i_(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&&T(e),n&&n.d(l)}}}function a_(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=k("li"),t=k("a"),n=k("span"),r=Te(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){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=x(t,"click",St(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Ae(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&&T(e),h=!1,d()}}}function s_(i){let e,t=!i[57].hideFromNav&&i[57].label&&a_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=a_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function o_(i){let e,t,n=i[57].label&&u_(Mo(i));return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&R(n,1)):(n=u_(Mo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function u_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ii({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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=ae.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){L(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),b=!0,m||(v=x(t,"click",St(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(r,l);const I={};P[0]&1&&(I.node=i[57]),o.$set(I),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=ae.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&&T(e),Fe(o),m=!1,v()}}}function f_(i){let e,t,n=!i[57].hideFromNav&&o_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=o_(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&&T(e),n&&n.d(l)}}}function c_(i){let e,t,n,l,r,a;const o=[_y,gy],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=!!ky(g[54])),t?1:-1)}function d(g,p){return p===1?hy(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=we()},m(g,p){~n&&c[n].m(g,p),L(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&&(be(),U(c[b],1,1,()=>{c[b]=null}),ve()),~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&&T(r),~n&&c[n].d(g)}}}function by(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,N;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=Ve(i[54]),D=[];for(let G=0;G<H.length;G+=1)D[G]=h_(Qg(i,H,G));const O=G=>U(D[G],1,1,()=>{D[G]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),h=W(),d=k("button"),g=k("i"),m=W(),v=k("ul");for(let G=0;G<D.length;G+=1)D[G].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=pl(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(G,J){L(G,e,J),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 Q=0;Q<D.length;Q+=1)D[Q]&&D[Q].m(v,null);w(e,y),P=!0,I||(N=[x(n,"click",St(V)),x(d,"click",St(E))],I=!0)},p(G,J){if(i=G,(!P||J[0]&131073)&&r!==(r=i[17](i[53])+"")&&Ae(a,r),(!P||J[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||J[0]&5&&c!==(c=pl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||J[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||J[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),J[0]&1572933){H=Ve(i[54]);let Q;for(Q=0;Q<H.length;Q+=1){const ce=Qg(i,H,Q);D[Q]?(D[Q].p(ce,J),R(D[Q],1)):(D[Q]=h_(ce),D[Q].c(),R(D[Q],1),D[Q].m(v,null))}for(be(),Q=H.length;Q<D.length;Q+=1)O(Q);ve()}(!P||J[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(G){if(!P){for(let J=0;J<H.length;J+=1)R(D[J]);P=!0}},o(G){D=D.filter(Boolean);for(let J=0;J<D.length;J+=1)U(D[J]);P=!1},d(G){G&&T(e),ht(D,G),I=!1,Qe(N)}}}function vy(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=g_(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=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(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]=g_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function d_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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=ae.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){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(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=ae.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&&T(e),Fe(o),b=!1,m()}}}function h_(i){let e,t,n=i[57].label&&d_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=d_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function g_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ii({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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=ae.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){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=x(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(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=ae.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&&T(e),Fe(o),b=!1,m()}}}function __(i){let e,t,n,l,r;const a=[vy,by],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=we()},m(h,d){o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),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&&T(l),o[t].d(h)}}}function wy(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&t_(i);return{c(){r&&r.c(),e=we()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[x(Oo,"click",i[8]),x(Oo,"blur",i[8]),x(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=t_(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){a&&T(e),r&&r.d(a),n=!1,Qe(l)}}}function pl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function ky(i){return i.some(e=>!e.hideFromNav&&e.label)}function Cp(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 Sy(i){return!!Cp(i)}function Cy(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function yy(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),Cy(e)||e.classList.add("fd-popover__body--right")})}const Py=i=>i.stopPropagation(),Iy=i=>i.stopPropagation(),Ny=i=>i.stopPropagation();function Ty(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=ae.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=Pt("getTranslation");Si(i,C,Ie=>t(17,n=Ie));let y=Pt("store"),P,I,N,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Ie=>{Ie&&Object.getOwnPropertyNames(Ie).forEach(ut=>{ut==="pathData"?t(1,r=Ie.pathData):ut==="context"?context=Ie.context:ut==="children"?t(0,l=Ie.children):ut==="selectedNode"?t(11,b=Ie.selectedNode):ut==="selectedNodeForTabNav"&&t(2,h=Ie.selectedNodeForTabNav)})}},O=Xt();function G(Ie){return ae.getNodeLabel(Ie)}const J=async()=>{const Ie=D.get(),ut=await qt.getTabNavData({...Ie},Ie);ut&&(D.set({...ut}),m=r,window.LEFTNAVDATA=ut.groupedChildren,setTimeout(Q))},Q=()=>{if(ce(),N&&V&&E){E.classList.remove("is-active");const Ie=getComputedStyle(N),ut=N.offsetWidth-V.offsetWidth-parseFloat(Ie.paddingLeft)-parseFloat(Ie.paddingRight);let rt=0,un=!1;[...N.children].forEach(Gt=>{const Hn=Gt.getAttribute("uid");if(!Hn)return;const Kt=getComputedStyle(Gt),jt=parseFloat(Kt.marginLeft)+parseFloat(Kt.marginRight);rt+=Gt.offsetWidth+jt,rt>=ut?(Gt.classList.add("hide_element"),Gt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+Hn+'"]').classList.remove("hide_element"),un=!0):document.querySelector('li[uid="'+Hn+'"]').classList.add("hide_element")}),un?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{N!==void 0&&[...N.children].forEach(ut=>{ut.classList.remove("hide_element")})},Y=()=>{P=new ResizeObserver(Ie=>{for(const ut of Ie)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ut.contentRect.height+"px");H&&yy()}),setTimeout(()=>{I&&P.observe(I)})},ee=()=>{P&&P.disconnect()};rn(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Y(),bn.doOnStoreChange(y,()=>{J()},["navigation.viewgroupdata"])}),ta(()=>{ee(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Yn(()=>{(!m||m!=r)&&J(),(v===void 0||v!==p)&&(v=p,J())}),ea(()=>{ee(),P?setTimeout(()=>{I&&P.observe(I)}):Y()});function q(Ie){return me.getNodeHref(Ie,a)}function le(Ie){ne(),O("handleClick",{node:Ie})}function ue(Ie){let ut={};d[Ie]||(ut[Ie]=!0),t(3,d=ut)}function ne(){t(3,d={}),t(4,g=!1)}function Pe(){ce(),Q()}function se(){t(4,g=!g)}function re(Ie,ut){const rt=Ie==="undefined",un=Ie.indexOf(c)===0;if(rt||un||ke(ut))return!0}function ke(Ie){const ut=Ie.find(Gt=>ie.isObject(Gt.category));if(!ut)return;const rt=ut.category.label||ut.category.id;return Ie.filter(Gt=>Gt.category===rt&&Gt.hideFromNav===!0).length===1}const je=Ie=>le(Ie),ye=Ie=>le(Ie),Le=Ie=>ue(Ie),ze=Ie=>le(Ie),Xe=Ie=>ue(Ie),De=Ie=>le(Ie);function nt(Ie){Ye[Ie?"unshift":"push"](()=>{E=Ie,t(15,E)})}const lt=Ie=>le(Ie),gt=(Ie,ut)=>ue(Ie+ut),ge=(Ie,ut)=>ue(Ie+ut),Ze=Ie=>le(Ie);function Ht(Ie){Ye[Ie?"unshift":"push"](()=>{V=Ie,t(14,V)})}function En(Ie){Ye[Ie?"unshift":"push"](()=>{N=Ie,t(13,N)})}const on=Ie=>ue(Ie.name);function an(Ie){Ye[Ie?"unshift":"push"](()=>{I=Ie,t(12,I)})}return i.$$set=Ie=>{"children"in Ie&&t(0,l=Ie.children),"pathData"in Ie&&t(1,r=Ie.pathData),"pathParams"in Ie&&t(23,a=Ie.pathParams),"hideNavComponent"in Ie&&t(22,o=Ie.hideNavComponent),"virtualGroupPrefix"in Ie&&t(5,c=Ie.virtualGroupPrefix),"selectedNodeForTabNav"in Ie&&t(2,h=Ie.selectedNodeForTabNav),"dropDownStates"in Ie&&t(3,d=Ie.dropDownStates),"isMoreBtnExpanded"in Ie&&t(4,g=Ie.isMoreBtnExpanded),"resizeTabNavToggle"in Ie&&t(24,p=Ie.resizeTabNavToggle)},[l,r,h,d,g,c,le,ue,ne,Pe,se,b,I,N,V,E,H,n,C,G,q,re,o,a,p,je,ye,Le,ze,Xe,De,nt,lt,gt,ge,Ze,Ht,En,on,an]}class yp extends Ft{constructor(e){super(),Mt(this,e,Ty,wy,Dt,{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 p_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function m_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function b_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&v_(i),o=i[0]&&i[3].length>=0&&C_(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),a&&a.c(),l=W(),r=k("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){L(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=v_(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=C_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function v_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=S_(m_(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){L(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=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=m_(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&&T(e),ht(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(...I){return i[17](i[23],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("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=ae.getTestId(i[23]))},m(I,N){L(I,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=x(t,"click",P),v=!0)},p(I,N){i=I,i[23].icon?y?y.p(i,N):(y=k_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),N&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),N&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),N&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),N&1&&m!==(m=ae.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&T(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?Ay:Ly}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function Ly(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),tt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function Ay(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(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&&T(e)}}}function S_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&w_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav===!0&&!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){n&&T(e),t&&t.d(n)}}}function C_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=I_(p_(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){L(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=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=p_(l,t,a);n[a]?n[a].p(o,r):(n[a]=I_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function y_(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&&P_(i);function P(){return i[18](i[23])}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("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=ae.getTestId(i[23]))},m(I,N){L(I,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=x(n,"click",St(P)),v=!0)},p(I,N){i=I,i[23].icon?y?y.p(i,N):(y=P_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),N&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),N&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),N&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),N&1&&m!==(m=ae.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function P_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ry:Ey}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function Ey(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),tt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function Ry(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(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&&T(e)}}}function I_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&y_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=y_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function Dy(i){let e,t,n,l=i[2]&&b_(i);return{c(){l&&l.c(),e=we()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[x(window,"click",ds),x(window,"blur",ds)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=b_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&T(e),l&&l.d(r),t=!1,Qe(n)}}}function ds(){}function Vy(i,e,t){let n;const l=Xt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=Pt("store"),g=Pt("getTranslation");Si(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 ae.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};rn(()=>{bn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Yn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return ae.renderIconClassName(O)}function P(O){return ae.isOpenUIiconName(O.icon)}function I(O){return Et.getTranslation(O.label)}function N(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,G)=>{ae.handleNavAnchorClickedWithoutMetaKey(G)&&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,I,N,b,m,o,E,H,D]}class Oy extends Ft{constructor(e){super(),Mt(this,e,Vy,Dy,Dt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return ds}}function My(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){L(t,e,n),i[4](e)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e),i[4](null)}}}function Fy(i,e,t){const n=Xt();let{pathData:l}=e,r,a={},o,c=Pt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};rn(()=>{bn.doOnStoreChange(c,()=>{},["navigation"])}),Yn(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=ot.getCurrentPath();for(let I=y;I<l.length;I++){const N=l[I],V=me.mapPathToNode(P,N);if(a[V])C.push(a[V]);else if(N.label||N.pathSegment||N.titleResolver)if(document.body.classList.add("lui-breadcrumb"),N.titleResolver)C.push({label:N.titleResolver.prerenderFallback&&N.titleResolver.fallbackTitle?Et.getTranslation(N.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:N,route:V,pending:!0});else{const E=await p(N);E&&C.push({label:E,node:N,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let I=y;I<l.length;I++){const N=l[I],V=me.mapPathToNode(P,N);if(N.titleResolver){const H=await qt.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,N.context),H.pathData.pathParams);try{const O=await ae.fetchNodeTitleData(N,D);C.push({label:O.label,node:N,route:V});continue}catch{}}const E=await p(N);E&&C.push({label:E,node:N,route:V})}P===ot.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(I=>{a[I.route]=I}))}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 Et.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ot.getCurrentPath(),v),y=await qt.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Ye[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class Pp extends Ft{constructor(e){super(),Mt(this,e,Fy,My,Dt,{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 Uy(){return qo}const{Boolean:By,window:N_}=wl;function T_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function L_(i){let e,t;return e=new b2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Be(e.$$.fragment)},m(n,l){Me(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){Fe(e,n)}}}function A_(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 fp({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(){Be(e.$$.fragment)},m(a,o){Me(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){Fe(e,a)}}}function E_(i){let e,t,n=i[154].mfModal.displayed&&A_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=A_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function R_(i){let e,t;return e=new fp({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Hy]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Be(e.$$.fragment)},m(n,l){Me(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){Fe(e,n)}}}function Hy(i){let e,t;return e=new vl({props:{area:"drawer",disable:i[12]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function D_(i){let e,t;return e=new k2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Be(e.$$.fragment)},m(n,l){Me(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){Fe(e,n)}}}function V_(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 U2({props:r}),Ye.push(()=>yt(e,"storedUserSettings",l)),e.$on("close",i[9]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Wy(i){let e,t,n,l,r,a,o,c,h=!i[25]&&O_(i),d=!(i[20]||i[22])&&M_(i);n=new vl({props:{disable:i[12],$$slots:{default:[zy]},$$scope:{ctx:i}}});let g=i[10]&&U_(),p=!i[20]&&B_(i),b=i[15]&&!i[20]&&W_(i);return{c(){h&&h.c(),e=W(),d&&d.c(),t=W(),Be(n.$$.fragment),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=we()},m(m,v){h&&h.m(m,v),L(m,e,v),d&&d.m(m,v),L(m,t,v),Me(n,m,v),L(m,l,v),g&&g.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){m[25]?h&&(be(),U(h,1,1,()=>{h=null}),ve()):h?(h.p(m,v),v[0]&33554432&&R(h,1)):(h=O_(m),h.c(),R(h,1),h.m(e.parentNode,e)),m[20]||m[22]?d&&(be(),U(d,1,1,()=>{d=null}),ve()):d?(d.p(m,v),v[0]&5242880&&R(d,1)):(d=M_(m),d.c(),R(d,1),d.m(t.parentNode,t));const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),n.$set(C),m[10]?g||(g=U_(),g.c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),m[20]?p&&(be(),U(p,1,1,()=>{p=null}),ve()):p?(p.p(m,v),v[0]&1048576&&R(p,1)):(p=B_(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=W_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(be(),U(b,1,1,()=>{b=null}),ve())},i(m){c||(R(h),R(d),R(n.$$.fragment,m),R(p),R(b),c=!0)},o(m){U(h),U(d),U(n.$$.fragment,m),U(p),U(b),c=!1},d(m){m&&(T(e),T(t),T(l),T(r),T(a),T(o)),h&&h.d(m),d&&d.d(m),Fe(n,m),g&&g.d(m),p&&p.d(m),b&&b.d(m)}}}function qy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new vl({props:{disable:i[12]}});let C=!i[25]&&q_(i),y=!(i[20]||i[22])&&z_(i),P=i[19]&&G_(i);b=new vl({props:{disable:i[12],$$slots:{default:[Gy]},$$scope:{ctx:i}}});let I=i[10]&&J_();return{c(){Be(e.$$.fragment),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("div"),C&&C.c(),o=W(),c=k("div"),y&&y.c(),h=W(),d=k("div"),P&&P.c(),g=W(),p=k("div"),Be(b.$$.fragment),m=W(),I&&I.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(N,V){Me(e,N,V),L(N,t,V),L(N,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),Me(b,p,null),w(p,m),I&&I.m(p,null),v=!0},p(N,V){const E={};V[0]&4096&&(E.disable=N[12]),e.$set(E),N[25]?C&&(be(),U(C,1,1,()=>{C=null}),ve()):C?(C.p(N,V),V[0]&33554432&&R(C,1)):(C=q_(N),C.c(),R(C,1),C.m(a,null)),N[20]||N[22]?y&&(be(),U(y,1,1,()=>{y=null}),ve()):y?(y.p(N,V),V[0]&5242880&&R(y,1)):(y=z_(N),y.c(),R(y,1),y.m(c,h)),N[19]?P?(P.p(N,V),V[0]&524288&&R(P,1)):(P=G_(N),P.c(),R(P,1),P.m(d,g)):P&&(be(),U(P,1,1,()=>{P=null}),ve());const H={};V[0]&4096&&(H.disable=N[12]),V[0]&1177600|V[5]&4&&(H.$$scope={dirty:V,ctx:N}),b.$set(H),N[10]?I||(I=J_(),I.c(),I.m(p,null)):I&&(I.d(1),I=null)},i(N){v||(R(e.$$.fragment,N),R(C),R(y),R(P),R(b.$$.fragment,N),v=!0)},o(N){U(e.$$.fragment,N),U(C),U(y),U(P),U(b.$$.fragment,N),v=!1},d(N){N&&(T(t),T(n)),Fe(e,N),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),I&&I.d()}}}function O_(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 Sp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(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(){Be(e.$$.fragment)},m(m,v){Me(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],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function M_(i){let e,t;return e=new hp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function F_(i){let e,t;return e=new dp({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(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function zy(i){let e,t,n,l,r,a,o,c,h;t=new vl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&F_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),d&&d.c(),a=we(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Zt(e,"lui-split-view",i[11].displayed),Zt(e,"lui-collapsed",i[11].collapsed)},m(g,p){L(g,e,p),Me(t,e,null),w(e,n),w(e,l),L(g,r,p),d&&d.m(g,p),L(g,a,p),o=!0,c||(h=Z_(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)&&Zt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Zt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=F_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(be(),U(d,1,1,()=>{d=null}),ve())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&(T(e),T(r),T(a)),Fe(t),d&&d.d(g),c=!1,h()}}}function U_(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <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){L(t,e,n)},d(t){t&&T(e)}}}function B_(i){let e,t,n,l;e=new Oy({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&H_(i);return{c(){Be(e.$$.fragment),t=W(),r&&r.c(),n=we()},m(a,o){Me(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&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=H_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){a&&(T(t),T(n)),Fe(e,a),r&&r.d(a)}}}function H_(i){let e,t;return e=new Pp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function W_(i){let e,t;return e=new yp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function q_(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 Sp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(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(){Be(e.$$.fragment)},m(m,v){Me(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],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function z_(i){let e,t,n,l;return n=new hp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=k("div"),t=k("div"),Be(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){L(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&T(e),Fe(n)}}}function G_(i){let e,t;return e=new Pp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function K_(i){let e,t;return e=new yp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function j_(i){let e,t;return e=new dp({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(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Gy(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&K_(i),p=i[11].displayed&&j_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=we(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),Zt(e,"lui-split-view",i[11].displayed),Zt(e,"lui-collapsed",i[11].collapsed)},m(b,m){L(b,e,m),Me(t,e,null),w(e,n),w(e,l),L(b,r,m),g&&g.m(b,m),L(b,a,m),p&&p.m(b,m),L(b,o,m),c=!0,h||(d=Z_(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)&&Zt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Zt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=K_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(be(),U(g,1,1,()=>{g=null}),ve()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=j_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(be(),U(p,1,1,()=>{p=null}),ve())},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&&(T(e),T(r),T(a),T(o)),Fe(t),g&&g.d(b),p&&p.d(b),h=!1,d()}}}function J_(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <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){L(t,e,n)},d(t){t&&T(e)}}}function Ky(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&L_(i),b=Ve(i[28]),m=[];for(let E=0;E<b.length;E+=1)m[E]=E_(T_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&R_(i),y=i[27].displayed&&D_(i),P=i[17].displayed&&V_(i);const I=[qy,Wy],N=[];function V(E,H){return E[30]?0:1}return o=V(i),c=N[o]=I[o](i),{c(){e=k("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"),Zt(e,"no-nav",i[20]),Zt(e,"no-side-nav",i[22]),Zt(e,"no-top-nav",i[25]),Zt(e,"no-animation",i[23]),Zt(e,"btp-layout",i[30])},m(E,H){L(E,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),N[o].m(e,null),h=!0,d||(g=[x(N_,"resize",i[36]),x(N_,"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=L_(E),p.c(),R(p,1),p.m(e,t)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),H[0]&268439552|H[1]&1792){b=Ve(E[28]);let D;for(D=0;D<b.length;D+=1){const O=T_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=E_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(be(),D=b.length;D<m.length;D+=1)v(D);ve()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=R_(E),C.c(),R(C,1),C.m(e,l)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=D_(E),y.c(),R(y,1),y.m(e,r)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=V_(E),P.c(),R(P,1),P.m(e,a)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&Zt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&Zt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&Zt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&Zt(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(By);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&&T(e),p&&p.d(),ht(m,E),C&&C.d(),y&&y.d(),P&&P.d(),N[o].d(),d=!1,Qe(g)}}}function jy(i,e,t){const n=Xt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,N,V,E,H,D,O,G,J,Q,ce,Y=!0,ee=!1,q,le,ue,ne=[],Pe={isDirty:!1,persistUrl:null},se,re,ke=!1,je,ye,Le={},ze,Xe,De,nt=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:lt}=e,{inputElem:gt}=e,{customSearchItemRendererSlot:ge}=e,{displaySearchResult:Ze}=e,{searchResult:Ht}=e,{storedUserSettings:En}=e;const on=async B=>{const fe=B.iframe.luigi,Re=fe.currentNode&&fe.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ne=Re&&typeof Ge=="object"&&Ge!==null,de=Ee.applyCoreStateData({isNavigateBack:ee,viewStackSize:ne.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ne?Ge[Re]:null,anchor:gl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{de[He]=B[He]||!1}),de},an=async(B,fe={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||N,fe)),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 on(B)),authData:_l.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ee.sendMessageToIframe(B.iframe,Re)},Ie=B=>{const fe={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(fe)},ut=(B,fe)=>{if(B.params.preserveView||B.params.viewgroup){const Re=vn(B.params),Ge=ot.getNodePath(D,H);ne.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?ie.replaceVars(Ge,fe.iframe.luigi.pathParams,":",!1):Ge,nextPath:Re.startsWith("/")?Re:"/"+Re,context:N}),fe.iframe.pv="pv"}},rt=(B,fe,Re,Ge)=>{let Ne=vn(B.params,Re,Ge);const{preventHistoryEntry:de,preserveQueryParams:He,preventContextUpdate:It}=B.params,Jt={keepBrowserHistory:!de,navSync:Y,preventContextUpdate:It};return Ne=ie.addLeadingSlash(Ne),Ne=He?me.composeSearchParamsToRoute(Ne):Ne,ut(B,fe),ot.navigateTo(Ne,Jt)},un=B=>B.split("?")[0],Gt=(B,fe)=>{if(B.length===0)return!1;const Re=fe.startsWith("/")?fe:`/${fe}`,Ge=[...B].pop();return[un(Ge.path),un(Ge.nextPath)].includes(un(Re))},Hn=B=>{Pe&&Pe.dirtySet&&Pe.dirtySet.clear()},Kt=B=>new Promise((fe,Re)=>{Vi(B)?Kl().then(()=>{Hn(),fe()},()=>{Re()}):fe()}),jt=()=>({get:()=>({unsavedChanges:Pe,hideNav:ri,viewUrl:O,nodeParams:V,viewGroup:G,urlParamsRaw:H,currentNode:D,navigationPath:le,context:N,pathParams:E,hideGlobalSearch:Ri,hideSideNav:hi,isolateView:J,pageErrorHandler:Q,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:ee,goBackContext:q,isNavigationSyncEnabled:Y}),set:B=>{B&&(t(23,Di=!1),Object.getOwnPropertyNames(B).forEach(fe=>{fe==="hideNav"?t(20,ri=B.hideNav):fe==="viewUrl"?O=B.viewUrl:fe==="nodeParams"?V=B.nodeParams:fe==="viewGroup"?G=B.viewGroup:fe==="urlParamsRaw"?H=B.urlParamsRaw:fe==="currentNode"?D=B.currentNode:fe==="navigationPath"?t(14,le=B.navigationPath):fe==="context"?N=B.context:fe==="pathParams"?t(13,E=B.pathParams):fe==="hideGlobalSearch"?t(21,Ri=B.hideGlobalSearch):fe==="hideSideNav"?(hi!=B.hideSideNav&&(t(23,Di=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,hi=B.hideSideNav)):fe==="isolateView"?J=B.isolateView:fe==="pageErrorHandler"?Q=B.pageErrorHandler:fe==="previousNodeValues"?ce=B.previousNodeValues:fe==="mfSplitView"?t(11,o=B.mfSplitView):fe==="splitViewValues"?c=B.splitViewValues:fe==="splitViewIframe"?C=B.splitViewIframe:fe=="splitViewWC"?P=B.splitViewWC:fe==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):fe==="tabNav"?t(15,re=B.tabNav):fe==="isNavigateBack"?ee=B.isNavigateBack:fe==="goBackContext"?q=B.goBackContext:fe==="isNavigationSyncEnabled"&&(Y=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Vi,getUnsavedChangesModalPromise:Kt,showUnsavedChangesModal:Kl,showAlert:vt,prepareInternalData:on,dispatch:n}),li=(B,fe)=>{bn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Jn.deleteCache();const Ge=ot.getCurrentPath();ot.handleRouteChange(Ge,jt(),B,fe)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ge)=>{const{withoutSync:Ne,preventContextUpdate:de}=Ge||{};Gt(ne,Re)||(ne=[],fi.removeInactiveIframes(B));for(let It=wt.length;It--;)xi(It);na.removeBackdrop(),di(),ot.handleRouteChange(Re,jt(),B,fe,Ne,de)})},$t=(B,fe)=>ie.replaceVars(ot.getNodePath(B),fe,":",!1),vn=(B,fe,Re)=>{const Ge=fe||D,Ne=Re||E;let de=le;if(fe){let It=fe.parent;for(de=[fe];It;)de.push(It),It=It.parent;de=[...de].reverse()}let He=B.link;if(B.fromVirtualTreeRoot){const It=[...de].reverse().find(Jt=>Jt.virtualTree);if(!It){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=ot.concatenatePath($t(It,Ne),B.link)}else if(B.fromParent)He=ot.concatenatePath($t(Ge.parent,Ne),B.link);else if(B.fromClosestContext){const It=[...de].reverse().find(Jt=>Jt.navigationContext&&Jt.navigationContext.length>0);He=ot.concatenatePath($t(It,Ne),B.link)}else if(B.fromContext){const It=B.fromContext,Jt=[...de].reverse().find(Ar=>It===Ar.navigationContext);He=ot.concatenatePath($t(Jt,Ne),B.link)}else B.intent?He=me.getIntentPath(B.link):B.relative&&(He=ot.concatenatePath($t(Ge,Ne),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((It,Jt)=>{He+=encodeURIComponent(me.getContentViewParamPrefix()+It[0])+"="+encodeURIComponent(It[1])+(Jt<Object.keys(B.nodeParams).length-1?"&":"")})),He},Ci=B=>{const fe=B.detail.node;Kt().then(()=>{if(K(),fe.openNodeInModal){const Re=me.buildRoute(fe,`/${fe.pathSegment}`);Vt(Re,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Re=me.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,Pr(Re,fe.drawer)}else jt().set({isNavigationSyncEnabled:!0}),ot.handleRouteClick(fe,jt())},()=>{})},yi=()=>{t(16,ke=!ke)};Yr("handleNavigation",rt);const wn=B=>B?!0:(console.warn("No search provider defined."),!1),Pi=()=>{wn(ye)&&t(0,lt=!1)},Ii=()=>{wn(ye)&>&&(t(0,lt=!0),gt.focus())},Ni=()=>{wn(ye)&>&&(t(1,gt.value="",gt),Ai())},Ti=()=>{t(0,lt=!lt),Bk.clearSearchField()},Li=()=>{if(wn(ye)&>)return gt.value},Sl=B=>{wn(ye)&>&&(t(1,gt.value=B,gt),ie.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},Cl=B=>{wn(ye)&>&&t(1,gt.placeholder=B,gt)},yl=B=>{if(wn(ye))if(B&&B.length>0)if(ie.isFunction(ye.customSearchResultRenderer)){let fe={fireItemSelected:Re=>{ye.onSearchResultItemSelected(Re)}};ye.customSearchResultRenderer(B,ge,fe)}else t(3,Ze=!0),t(4,Ht=B);else console.warn("Search result array is empty.")},Ai=()=>{if(wn(ye)&&(t(3,Ze=!1),t(4,Ht=[]),ge))for(;ge.lastElementChild;)ge.removeChild(ge.lastElementChild)},Yi=B=>{let fe=B.detail.node,Re={params:{link:fe.link,nodeParams:fe.params}};rt(Re)},Qi=(B,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=_t.getDefaultData().mfSplitView),_t.open(jt(),B,fe)},di=()=>{_t.close(jt())},Pl=()=>{_t.collapse(jt()),t(11,o.collapsed=!0,o)},Il=()=>{_t.expand(jt()),t(11,o.collapsed=!1,o)},Zi=()=>o.displayed?o.collapsed:!1,Nl=()=>o.displayed?!o.collapsed:!1,Tl=()=>o.displayed,Ll=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ei=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)},Al=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ri,Ri,hi,Di,gi,Xi,$i;const K=()=>{document.body.classList.remove("lui-leftNavToggle")},Se=()=>{el();const B=window.innerWidth>=hn.desktopMinWidth&&gi<hn.desktopMinWidth,fe=window.innerWidth<hn.desktopMinWidth&&gi>=hn.desktopMinWidth;(B||fe)&&K(),gi=window.innerWidth};let Je=[];const it=(B,fe)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===fe)[0]},vt=(B,fe=!1)=>{const Re=te.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ne=Re(B,fe);if(Ne!==!1)return Ne}const Ge=Je;return B.id||(B.id=ie.getRandomId()),B.id&&Ge&&it(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(()=>{it(Je,B.id)&&pt(B.id)},B.closeAfter),new Promise((Ne,de)=>{t(26,Je=[...Ge||[],{displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ne}}])}))},pt=(B,fe)=>{const Re=it(Je,B);if(!Re){console.error("An unexisting alert has been dismissed.",Je,B);return}if(t(26,Je=Je.filter(Ge=>Ge.settings.id!==B)),Re.openFromClient){const Ge=fi.getActiveIframe(ue),Ne={msg:"luigi.ux.alert.hide",id:B,dismissKey:fe};Ee.sendMessageToIframe(Ge,Ne)}else Re.promise&&Re.promise.resolve(fe||B)},Wt=B=>{pt(B.detail.id,B.detail.dismissKey)};let zt;const Rn=()=>{t(27,zt={displayed:!1,content:{},openFromClient:!1,promise:null})};Rn();const Wn=(B,fe=!1,Re)=>new Promise((Ge,Ne)=>{t(27,zt={displayed:!0,settings:B,openFromClient:fe,promise:{resolve:Ge,reject:Ne},targetIframe:Re})}),El=B=>{const{promise:fe,openFromClient:Re,targetIframe:Ge}=zt;if(Rn(),B?fe.resolve():fe.reject(),Re&&Ge){const Ne={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ge,Ne)}},Vi=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Kl=()=>Wn({header:Et.getTranslation("luigi.unsavedChangesAlert.header"),body:Et.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Yr("getUnsavedChangesModalPromise",Kt);let wt=[];const X=(B,fe)=>{var Ge;if(typeof B>"u"){t(28,wt=[]);return}let Re;if(t(28,wt=wt.filter((Ne,de)=>(B===de&&(Re=Ne),B!==de))),(Ge=Re==null?void 0:Re.mfModal)!=null&&Ge.openerIframe){const Ne={msg:"luigi.navigation.modal.close",data:fe};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ne)}};X();const Vt=async(B,fe,Re)=>{if(await ae.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:fe,openerIframe:Re}};t(28,wt=[...wt,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ot.appendModalDataToUrl(B,fe)},yn=(B,fe)=>{t(28,wt[fe].modalIframe=B.detail.modalIframe,wt),t(28,wt[fe].modalIframeData=B.detail.modalIframeData,wt)},_i=(B,fe)=>{t(28,wt[fe].modalWC=B.detail.modalWC,wt),t(28,wt[fe].modalWCData=B.detail.modalWCData,wt)},xi=(B,fe,Re)=>{const Ge=(He,It)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ot.removeModalDataFromUrl(It),X(He,Re)},Ne=wt[B],de=ie.getRemotePromise(Ne.mfModal.settings.onClosePromiseId);Ne&&Ne.modalIframe?Kt(Ne.modalIframe.contentWindow).then(()=>{Ge(B,fe),de&&de.doResolve(Re)},()=>{}):Ne&&Ne.modalWC&&(Ge(B,fe),de&&de.doResolve(Re))};Yr("openViewInModal",Vt);let sn={};const jl=()=>{t(29,sn.displayed=!1,sn),t(29,sn.nodepath=void 0,sn),t(29,sn.settings={},sn),t(12,g=!1)};jl();const Pr=async(B,fe)=>{await ae.shouldPreventNavigationForPath(B)||(t(29,sn.displayed=!0,sn),t(29,sn.nodepath=B,sn),t(29,sn.settings=fe,sn),sn.settings&&sn.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=hn.desktopMinWidth&&sn.displayed&&sn.settings&&!sn.settings.overlap,el=(B=!1)=>{if(!ia())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(fe);Re.forEach(Ne=>{Ir(Ne,Ge)})}},Ir=(B,fe)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${fe})`)},ms=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,el()},la=B=>{m=B.detail.modalWC,B.detail.modalWCData,el()},Jl=B=>{d=B.detail.activeDrawer},Yl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?Kt(p.contentWindow).then(()=>{jl()},()=>{}):m&&Kt().then(()=>{jl()},()=>{}),el(!0)}catch(fe){console.log(fe)}},bs=()=>{const B=pr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Le.userSettingGroups=[...B],Le),t(17,Le.displayed=!0,Le)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ra=()=>{t(17,Le.displayed=!1,Le)},aa=async B=>{if(await ae.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Ql=B=>{let fe=le;if(D){let Ne=D.parent;for(fe=[D];Ne;)fe.push(Ne),Ne=Ne.parent;fe=[...fe].reverse()}let Re=B.link,Ge=$t(D,E);if(B.fromVirtualTreeRoot){const Ne=[...fe].reverse().find(He=>He.virtualTree);if(!Ne){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const de=$t(Ne,E);Re=Ge.split(de).join("")}else if(B.fromParent){const Ne=$t(D.parent,E);Re=Ge.split(Ne).join("")}else if(B.fromClosestContext){const Ne=[...fe].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),de=$t(Ne,E);Re=Ge.split(de).join("")}else if(B.fromContext){const Ne=B.fromContext,de=[...fe].reverse().find(It=>Ne===It.navigationContext),He=$t(de,E);Re=Ge.split(He).join("")}else Re=Ge;return Re};function vs(B){sessionStorage.removeItem("historyState"),gr.shouldPreload=!0,gr.preload(!0),gr.shouldPreload=!1;const fe=te.getConfigValue("navigation.defaults.isolateView"),Re=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ne={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:Re};Et.addCurrentLocaleChangeListener(de=>{const He={msg:"luigi.current-locale-changed",currentLocale:de};Ee.broadcastMessageToAllIframes(He)}),Bn.addEventListener("popstate",async de=>{const He=Je;if(!He||!(He.length>0))return;const It=He.map(Jt=>{if(Jt&&!Jt.openFromClient&&typeof Jt.settings.ttl=="number"){if(Jt.settings.ttl===0)return null;Jt.settings.ttl--}return Jt}).filter(Jt=>Jt);t(26,Je=It)}),Bn.addEventListener("message",async de=>{const He=Ee.getValidMessageSource(de),It=wt[wt.length-1],Jt=It&&It.modalIframe,Ar=It&&It.modalIframeData,nl={modalIframe:Jt,modalIframeData:Ar,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!He)return;He._ready=!0;const Er=Ee.getSpecialIframeMessageSource(de,nl),Oi=Er&&Er.length>0,Rr=te.getConfigValue("communication.skipEventsWhenInactive");if(Rr&&Rr.length>0&&!Oi&&He.contentWindow!==window&&!ie.isElementVisible(He)&&Rr.includes(de.data.msg)){console.debug(`EVENT '${de.data.msg}' from inactive iframe -> SKIPPED`);return}if(de.data.msg==="custom"){const We=te.getConfigValue("communication.customMessagesListeners")||{},Lt=ss.convertCustomMessageInternalToUser(de.data),Nt=We[Lt.id],fn="luigi.updateUserSettings";if(Le&&Lt.id===fn){Nt&&console.warn(`The key "${fn}" is not allowed to use for custom messages.`);return}if(typeof Nt=="function"){const Pn=Ji.getMicrofrontends().find(xt=>Ee.isMessageSource(de,xt.container));Nt(Lt,Pn,ie.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Lt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(de.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),de.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ne.navigateOk=!0,gr.preload()),de.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=de.data.clientVersion,He.luigi.initOk=!1,Oi)Er.forEach(async We=>{let Lt=nl[We.dataKey].context;const Nt={...Ne,iframe:nl[We.iframeKey],context:Lt,pathParams:nl[We.dataKey].pathParams,nodeParams:nl[We.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(nl[We.iframeKey].luigi.currentNode),modal:We.iframeKey.startsWith("modal"),drawer:We.iframeKey.startsWith("drawer"),splitView:We.iframeKey.startsWith("splitView")};await an(Nt,{})});else if(Ne.iframe&&Ee.isMessageSource(de,Ne.iframe))await an(Ne,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Tr(),gr.preload();else if(He.luigi.preloading)await an({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let We=pr.findActiveCustomUserSettingsIframe(de.source);if(We){let Lt=We.getAttribute("userSettingsGroup"),Nt={context:{userSettingsData:En[Lt]},iframe:We};await an(Nt)}}gr.viewGroupLoaded(He)}if(de.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),de.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(De),t(10,a=!1)),de.data.msg==="luigi.navigation.open"){ee=!1;const We=window.location.href,Lt=Oi?He.luigi.currentNode:void 0,Nt=Oi?He.luigi.pathParams:void 0,fn=de.data.params,{intent:Pn,newTab:xt,modal:il,splitView:Xl,drawer:Rl,withoutSync:Ls}=fn;let $l=xt||il||Xl||Rl;const ga=()=>{const Qn=ie.getRemotePromise(de.data.remotePromiseId);Qn&&Qn.doResolve()},_n=()=>{const Qn=ie.getRemotePromise(de.data.remotePromiseId);Qn&&Qn.doReject()},Dl=Qn=>{!Qn||We!==window.location.href?ga():_n()};de.source!==window&&!Pn&&fn.link&&(fn.link=fn.link.split("?")[0]);let Ut=vn(de.data.params,Lt,Nt);if($l=$l||Pn&&Ut.external,!$l)Kt().then(()=>{Y=!de.data.params.withoutSync,rt(de.data,Ne,Lt,Nt).then(()=>{Dl(!0)}).catch(()=>{_n()}),wt.forEach((Qn,_a)=>{xi(_a)}),di(),Yl(),Y=!0}).catch(()=>{_n()});else{if(Pn&&Ut.external){ot.navigateToExternalLink({url:Ut.url,sameWindow:!Ut.openInNewTab});return}if(Ut=ie.addLeadingSlash(Ut),xt){await aa(Ut),Dl();return}const Qn=await Zl(Ut);if(Ut=await me.handlePageNotFoundAndRetrieveRedirectPath(jt(),Ut,Qn),!Ut){_n();return}ue=B,il!==void 0?(!il.keepPrevious&&X(),await Vt(Ut,il===!0?{}:il,He),Dl()):Xl!==void 0?(await Qi(Ut,Xl),Dl()):Rl!==void 0&&(jl(),Rl.isDrawer=!0,await Pr(Ut,Rl),Dl())}}if(de.data.msg==="luigi.navigation.back"){const We=wt[wt.length-1],Lt=wt.length>1&&wt[wt.length-2],Nt=de.data.goBackContext&&JSON.parse(de.data.goBackContext);if(Ee.isMessageSource(de,We&&We.modalIframe)){xi(wt.length-1,!0,Nt);let fn=Ne;if(Lt&&Lt.modalIframeData&&Lt.modalIframe){const Pn=Lt,xt=Pn.modalIframeData;fn={pathParams:xt.pathParams,context:xt.context,iframe:Pn.modalIframe}}fn.iframe&&await an(fn,{goBackContext:Nt})}else Ee.isMessageSource(de,C)?(di(),Ne.iframe&&await an(Ne,{goBackContext:Nt})):Ee.isMessageSource(de,p)?(d&&(d=!d),Yl(),Ne.iframe&&await an(Ne,{goBackContext:Nt})):ne&&ne.length>0?Kt().then(()=>{fi.setActiveIframeToPrevious(B);const fn=ne.pop();Ne.iframe=fi.getActiveIframe(B),ee=!0,ne=ne,q=Nt,rt({params:{link:fn.path}},Ne)},()=>{}):(Nt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(de.data.msg==="luigi.navigation.currentRoute"){const We=de.data.data,Nt={msg:"luigi.navigation.currentRoute.answer",data:{route:Ql(We),correlationId:We.id}};Ee.sendMessageToIframe(He,Nt)}if(de.data.msg==="luigi.auth.tokenIssued"&&Ie(de.data.authData),de.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Oi){const We=ie.addLeadingSlash(vn(de.data.params,He.luigi.currentNode,He.luigi.pathParams));ot.updateModalDataInUrl(We,de.data.params.modal,de.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(de.data.msg==="luigi.navigation.pathExists"){const We=He.luigi.currentNode,Lt=He.luigi.pathParams,Nt=de.data.data,fn=vn(Nt,We,Lt),Pn=fn?await qt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),fn):!1,xt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Nt.id,pathExists:Pn?Pn.isExistingRoute:!1}};Ee.sendMessageToIframe(He,xt)}if(de.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const We=new Set;We.add(de.source),Pe={dirtySet:We}}Pe.persistUrl=window.location.href,de.data.dirty?Pe.dirtySet.add(de.source):Pe.dirtySet.delete(de.source)}if(de.data.msg==="luigi.ux.confirmationModal.show"){const We=de.data.data.settings;ue=B,Rn(),Wn(We,!0,He).catch(()=>{})}if(de.data.msg==="luigi.ux.alert.show"){const{settings:We}=de.data.data;if(!We.text&&!ie.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}ue=B,vt(We,!0).catch(()=>{})}if(de.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:We}=de.data.data;We&&Et.setCurrentLocale(We)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(je&&!je.thirdPartyCookieScriptLocation&&de.data.msg==="luigi.third-party-cookie"&&de.data.tpc==="disabled"&&Nr(),de.data.msg==="storage"&&d2.process(He.luigi.id,de.origin,de.data.data.id,de.data.data.operation,de.data.data.params),de.data.msg==="luigi-runtime-error-handling"){let We=He.luigi.currentNode;We&&We.runTimeErrorHandler&&ie.isFunction(We.runTimeErrorHandler.errorFn)?We.runTimeErrorHandler.errorFn(de.data.errorObj,We):Ge&&ie.isFunction(Ge.errorFn)&&Ge.errorFn(de.data.errorObj,We)}if(de.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:We,keepBrowserHistory:Lt}=de.data;me.addSearchParamsFromClient(He.luigi.currentNode,We,Lt)}else console.warn("No client permissions to add url parameter for this node.");if(de.data.msg==="luigi.addNodeParams"){if(Oi)return;const{data:We,keepBrowserHistory:Lt}=de.data;gl.addNodeParams(We,Lt)}if(de.data.msg==="luigi.setAnchor"){const{anchor:We}=de.data;gl.setAnchor(We)}if(de.data.msg==="luigi.setVGData"){const We=de.data,Lt=ae.findViewGroup(He.luigi.currentNode);if(Lt){const Nt=ae.getViewGroupSettings(Lt);Nt._liveCustomData=We.data,te.configChanged("navigation.viewgroupdata")}}}),li(B,Ne)}Yr("store",l),Yr("getTranslation",r);const Nr=B=>{je&&je.thirdPartyCookieErrorHandling&&ie.isFunction(je.thirdPartyCookieErrorHandling)&&je.thirdPartyCookieErrorHandling()};function Tr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(De),t(10,a=!1)},250)):clearTimeout(De)}const Zl=async B=>{const fe={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=vn(fe),Ge=Re?await qt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Re):!1;return Ge?Ge.isExistingRoute:!1},tl=()=>wt.length>0||ne.length!==0;rn(()=>{if(Ho._init(),ye=te.getConfigValue("globalSearch.searchProvider"),se=te.getConfigValue("settings.responsiveNavigation"),gi=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ae.getBurgerTooltipConfig()){const[B,fe]=ae.getBurgerTooltipConfig();B&&fe&&t(18,ze=document.body.classList.contains("lui-leftNavToggle")?B:fe)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ae.getBurgerTooltipConfig()){const[B,fe]=ae.getBurgerTooltipConfig();if(B&&fe){const Re=JSON.parse(localStorage.getItem(ae.COL_NAV_KEY));t(18,ze=Re?B:fe)}}document.body.classList.add("lui-semiCollapsible")}je=te.getConfigValue("settings.thirdPartyCookieCheck"),je&&je.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=je.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{Uy()==="disabled"&&Nr()}),document.body.removeChild(B)}})}),ea(()=>{el()}),Yn(()=>{t(19,Xe=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(24,Xi=te.getConfigValue("tag")),t(25,$i=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===Gl&&wt&&wt.length>0&&xi(wt.length-1)},oa=B=>xi(B,!0),ws=(B,fe)=>yn(fe,B),ua=(B,fe)=>_i(fe,B),fa=()=>El(!0),ca=()=>El(!1);function da(B){En=B,t(5,En)}function ks(B){lt=B,t(0,lt)}function Ss(B){Ze=B,t(3,Ze)}function Cs(B){Ht=B,t(4,Ht)}function ha(B){gt=B,t(1,gt)}function ys(B){ge=B,t(2,ge)}function Ps(B){lt=B,t(0,lt)}function Is(B){Ze=B,t(3,Ze)}function Ns(B){Ht=B,t(4,Ht)}function Lr(B){gt=B,t(1,gt)}function Ts(B){ge=B,t(2,ge)}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,lt=B.isSearchFieldVisible),"inputElem"in B&&t(1,gt=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,ge=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,Ze=B.displaySearchResult),"searchResult"in B&&t(4,Ht=B.searchResult),"storedUserSettings"in B&&t(5,En=B.storedUserSettings)},[lt,gt,ge,Ze,Ht,En,Ti,Ai,Yi,ra,a,o,g,E,le,re,ke,Le,ze,Xe,ri,Ri,hi,Di,Xi,$i,Je,zt,wt,sn,nt,Ci,yi,Ll,Ei,Al,Se,Wt,El,yn,_i,xi,ms,la,Jl,Yl,vs,sa,l,r,Pi,Ii,Ni,Li,Sl,Cl,yl,Qi,di,Pl,Il,Zi,Nl,Tl,vt,Wn,yr,bs,Ql,Zl,tl,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Lr,Ts]}class Jy extends Ft{constructor(e){super(),Mt(this,e,jy,Ky,Dt,{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 Yy=()=>{const{subscribe:i,update:e,reset:t}=vr({}),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=[]}}},Ip=Yy(),Qy=Rk((i,e,t)=>Et.getTranslation(i,e,t));Luigi._store=Ip;const Zy=()=>new Promise(i=>{Et._init(),gn.init().then(()=>{setTimeout(()=>{let e;Ji.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Jy({target:Ji.getLuigiContainer(),props:{store:Ip,getTranslation:Qy}}),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(Zy);
|
|
52
|
+
}`;var ct=zf(function(){return Tt(F,Ke+"return "+Ce).apply(t,q)});if(ct.source=Ce,Co(ct))throw ct;return ct}function sw(s){return At(s).toLowerCase()}function ow(s){return At(s).toUpperCase()}function uw(s,u,_){if(s=At(s),s&&(_||u===t))return Xo(s);if(!s||!(u=Kn(u)))return s;var S=si(s),A=si(u),F=$o(S,A),q=xo(S,A)+1;return cl(S,F,q).join("")}function fw(s,u,_){if(s=At(s),s&&(_||u===t))return s.slice(0,tu(s)+1);if(!s||!(u=Kn(u)))return s;var S=si(s),A=xo(S,si(u))+1;return cl(S,0,A).join("")}function cw(s,u,_){if(s=At(s),s&&(_||u===t))return s.replace(ai,"");if(!s||!(u=Kn(u)))return s;var S=si(s),A=$o(S,si(u));return cl(S,A).join("")}function dw(s,u){var _=z,S=Y;if(Qt(u)){var A="separator"in u?u.separator:A;_="length"in u?ft(u.length):_,S="omission"in u?Kn(u.omission):S}s=At(s);var F=s.length;if(er(s)){var q=si(s);F=q.length}if(_>=F)return s;var j=_-tr(S);if(j<1)return S;var x=q?cl(q,0,j).join(""):s.slice(0,j);if(A===t)return x+S;if(q&&(j+=x.length-j),yo(A)){if(s.slice(j).search(A)){var _e,pe=x;for(A.global||(A=Bs(A.source,At(je.exec(A))+"g")),A.lastIndex=0;_e=A.exec(pe);)var Ce=_e.index;x=x.slice(0,Ce===t?j:Ce)}}else if(s.indexOf(Kn(A),j)!=j){var Oe=x.lastIndexOf(A);Oe>-1&&(x=x.slice(0,Oe))}return x+S}function hw(s){return s=At(s),s&&Qi.test(s)?s.replace(Ai,qp):s}var gw=or(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),No=zu("toUpperCase");function qf(s,u,_){return s=At(s),u=_?t:u,u===t?Fp(s)?Kp(s):Tp(s):s.match(u)||[]}var zf=dt(function(s,u){try{return _n(s,t,u)}catch(_){return Co(_)?_:new at(_)}}),_w=Hi(function(s,u){return Ut(u,function(_){_=bi(_),Ui(s,_,ko(s[_],s))}),s});function pw(s){var u=s==null?0:s.length,_=$e();return s=u?Yt(s,function(S){if(typeof S[1]!="function")throw new $n(a);return[_(S[0]),S[1]]}):[],dt(function(S){for(var A=-1;++A<u;){var F=s[A];if(_n(F[0],this,S))return _n(F[1],this,S)}})}function mw(s){return qm(ei(s,g))}function To(s){return function(){return s}}function bw(s,u){return s==null||s!==s?u:s}var vw=Ku(),ww=Ku(!0);function Fn(s){return s}function Lo(s){return ku(typeof s=="function"?s:ei(s,g))}function kw(s){return Cu(ei(s,g))}function Sw(s,u){return yu(s,ei(u,g))}var Cw=dt(function(s,u){return function(_){return Wr(_,s,u)}}),yw=dt(function(s,u){return function(_){return Wr(s,_,u)}});function Ao(s,u,_){var S=pn(u),A=Oa(u,S);_==null&&!(Qt(u)&&(A.length||!S.length))&&(_=u,u=s,s=this,A=Oa(u,pn(u)));var F=!(Qt(_)&&"chain"in _)||!!_.chain,q=qi(s);return Ut(A,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__),Ce=pe.__actions__=Vn(this.__actions__);return Ce.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,rl([this.value()],arguments))})}),s}function Pw(){return We._===this&&(We._=Xp),this}function Eo(){}function Iw(s){return s=ft(s),dt(function(u){return Pu(u,s)})}var Nw=so(Yt),Tw=so(_a),Lw=so(Rs);function Gf(s){return _o(s)?Ds(bi(s)):r1(s)}function Aw(s){return function(u){return s==null?t:Ul(s,u)}}var Ew=ju(),Rw=ju(!0);function Ro(){return[]}function Do(){return!1}function Dw(){return{}}function Vw(){return""}function Ow(){return!0}function Mw(s,u){if(s=ft(s),s<1||s>ce)return[];var _=se,S=kn(s,se);u=$e(u),s-=se;for(var A=Ms(S,u);++_<s;)u(_);return A}function Fw(s){return st(s)?Yt(s,bi):Jn(s)?[s]:Vn(ff(At(s)))}function Uw(s){var u=++Qp;return At(s)+u}var Bw=Wa(function(s,u){return s+u},0),Hw=oo("ceil"),Ww=Wa(function(s,u){return s/u},1),qw=oo("floor");function zw(s){return s&&s.length?Va(s,Fn,js):t}function Gw(s,u){return s&&s.length?Va(s,$e(u,2),js):t}function Kw(s){return Qo(s,Fn)}function Jw(s,u){return Qo(s,$e(u,2))}function jw(s){return s&&s.length?Va(s,Fn,Xs):t}function Yw(s,u){return s&&s.length?Va(s,$e(u,2),Xs):t}var Qw=Wa(function(s,u){return s*u},1),Zw=oo("round"),Xw=Wa(function(s,u){return s-u},0);function $w(s){return s&&s.length?Os(s,Fn):0}function xw(s,u){return s&&s.length?Os(s,$e(u,2)):0}return M.after=kv,M.ary=kf,M.assign=o0,M.assignIn=Of,M.assignInWith=es,M.assignWith=u0,M.at=f0,M.before=Sf,M.bind=ko,M.bindAll=_w,M.bindKey=Cf,M.castArray=Dv,M.chain=bf,M.chunk=q1,M.compact=z1,M.concat=G1,M.cond=pw,M.conforms=mw,M.constant=To,M.countBy=$b,M.create=c0,M.curry=yf,M.curryRight=Pf,M.debounce=If,M.defaults=d0,M.defaultsDeep=h0,M.defer=Sv,M.delay=Cv,M.difference=K1,M.differenceBy=J1,M.differenceWith=j1,M.drop=Y1,M.dropRight=Q1,M.dropRightWhile=Z1,M.dropWhile=X1,M.fill=$1,M.filter=ev,M.flatMap=iv,M.flatMapDeep=lv,M.flatMapDepth=rv,M.flatten=gf,M.flattenDeep=x1,M.flattenDepth=eb,M.flip=yv,M.flow=vw,M.flowRight=ww,M.fromPairs=tb,M.functions=w0,M.functionsIn=k0,M.groupBy=av,M.initial=ib,M.intersection=lb,M.intersectionBy=rb,M.intersectionWith=ab,M.invert=C0,M.invertBy=y0,M.invokeMap=ov,M.iteratee=Lo,M.keyBy=uv,M.keys=pn,M.keysIn=Mn,M.map=Ya,M.mapKeys=I0,M.mapValues=N0,M.matches=kw,M.matchesProperty=Sw,M.memoize=Za,M.merge=T0,M.mergeWith=Mf,M.method=Cw,M.methodOf=yw,M.mixin=Ao,M.negate=Xa,M.nthArg=Iw,M.omit=L0,M.omitBy=A0,M.once=Pv,M.orderBy=fv,M.over=Nw,M.overArgs=Iv,M.overEvery=Tw,M.overSome=Lw,M.partial=So,M.partialRight=Nf,M.partition=cv,M.pick=E0,M.pickBy=Ff,M.property=Gf,M.propertyOf=Aw,M.pull=fb,M.pullAll=pf,M.pullAllBy=cb,M.pullAllWith=db,M.pullAt=hb,M.range=Ew,M.rangeRight=Rw,M.rearg=Nv,M.reject=gv,M.remove=gb,M.rest=Tv,M.reverse=vo,M.sampleSize=pv,M.set=D0,M.setWith=V0,M.shuffle=mv,M.slice=_b,M.sortBy=wv,M.sortedUniq=Sb,M.sortedUniqBy=Cb,M.split=iw,M.spread=Lv,M.tail=yb,M.take=Pb,M.takeRight=Ib,M.takeRightWhile=Nb,M.takeWhile=Tb,M.tap=zb,M.throttle=Av,M.thru=ja,M.toArray=Rf,M.toPairs=Uf,M.toPairsIn=Bf,M.toPath=Fw,M.toPlainObject=Vf,M.transform=O0,M.unary=Ev,M.union=Lb,M.unionBy=Ab,M.unionWith=Eb,M.uniq=Rb,M.uniqBy=Db,M.uniqWith=Vb,M.unset=M0,M.unzip=wo,M.unzipWith=mf,M.update=F0,M.updateWith=U0,M.values=cr,M.valuesIn=B0,M.without=Ob,M.words=qf,M.wrap=Rv,M.xor=Mb,M.xorBy=Fb,M.xorWith=Ub,M.zip=Bb,M.zipObject=Hb,M.zipObjectDeep=Wb,M.zipWith=qb,M.entries=Uf,M.entriesIn=Bf,M.extend=Of,M.extendWith=es,Ao(M,M),M.add=Bw,M.attempt=zf,M.camelCase=z0,M.capitalize=Hf,M.ceil=Hw,M.clamp=H0,M.clone=Vv,M.cloneDeep=Mv,M.cloneDeepWith=Fv,M.cloneWith=Ov,M.conformsTo=Uv,M.deburr=Wf,M.defaultTo=bw,M.divide=Ww,M.endsWith=G0,M.eq=ui,M.escape=K0,M.escapeRegExp=J0,M.every=xb,M.find=tv,M.findIndex=df,M.findKey=g0,M.findLast=nv,M.findLastIndex=hf,M.findLastKey=_0,M.floor=qw,M.forEach=vf,M.forEachRight=wf,M.forIn=p0,M.forInRight=m0,M.forOwn=b0,M.forOwnRight=v0,M.get=Po,M.gt=Bv,M.gte=Hv,M.has=S0,M.hasIn=Io,M.head=_f,M.identity=Fn,M.includes=sv,M.indexOf=nb,M.inRange=W0,M.invoke=P0,M.isArguments=Wl,M.isArray=st,M.isArrayBuffer=Wv,M.isArrayLike=On,M.isArrayLikeObject=tn,M.isBoolean=qv,M.isBuffer=dl,M.isDate=zv,M.isElement=Gv,M.isEmpty=Kv,M.isEqual=Jv,M.isEqualWith=jv,M.isError=Co,M.isFinite=Yv,M.isFunction=qi,M.isInteger=Tf,M.isLength=$a,M.isMap=Lf,M.isMatch=Qv,M.isMatchWith=Zv,M.isNaN=Xv,M.isNative=$v,M.isNil=e0,M.isNull=xv,M.isNumber=Af,M.isObject=Qt,M.isObjectLike=en,M.isPlainObject=jr,M.isRegExp=yo,M.isSafeInteger=t0,M.isSet=Ef,M.isString=xa,M.isSymbol=Jn,M.isTypedArray=fr,M.isUndefined=n0,M.isWeakMap=i0,M.isWeakSet=l0,M.join=sb,M.kebabCase=j0,M.last=ni,M.lastIndexOf=ob,M.lowerCase=Y0,M.lowerFirst=Q0,M.lt=r0,M.lte=a0,M.max=zw,M.maxBy=Gw,M.mean=Kw,M.meanBy=Jw,M.min=jw,M.minBy=Yw,M.stubArray=Ro,M.stubFalse=Do,M.stubObject=Dw,M.stubString=Vw,M.stubTrue=Ow,M.multiply=Qw,M.nth=ub,M.noConflict=Pw,M.noop=Eo,M.now=Qa,M.pad=Z0,M.padEnd=X0,M.padStart=$0,M.parseInt=x0,M.random=q0,M.reduce=dv,M.reduceRight=hv,M.repeat=ew,M.replace=tw,M.result=R0,M.round=Zw,M.runInContext=X,M.sample=_v,M.size=bv,M.snakeCase=nw,M.some=vv,M.sortedIndex=pb,M.sortedIndexBy=mb,M.sortedIndexOf=bb,M.sortedLastIndex=vb,M.sortedLastIndexBy=wb,M.sortedLastIndexOf=kb,M.startCase=lw,M.startsWith=rw,M.subtract=Xw,M.sum=$w,M.sumBy=xw,M.template=aw,M.times=Mw,M.toFinite=zi,M.toInteger=ft,M.toLength=Df,M.toLower=sw,M.toNumber=ii,M.toSafeInteger=s0,M.toString=At,M.toUpper=ow,M.trim=uw,M.trimEnd=fw,M.trimStart=cw,M.truncate=dw,M.unescape=hw,M.uniqueId=Uw,M.upperCase=gw,M.upperFirst=No,M.each=vf,M.eachRight=wf,M.first=_f,Ao(M,function(){var s={};return pi(M,function(u,_){Rt.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ut(["drop","take"],function(s,u){bt.prototype[s]=function(_){_=_===t?1:dn(ft(_),0);var S=this.__filtered__&&!u?new bt(this):this.clone();return S.__filtered__?S.__takeCount__=kn(_,S.__takeCount__):S.__views__.push({size:kn(_,se),type:s+(S.__dir__<0?"Right":"")}),S},bt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ut(["filter","map","takeWhile"],function(s,u){var _=u+1,S=_==Q||_==K;bt.prototype[s]=function(A){var F=this.clone();return F.__iteratees__.push({iteratee:$e(A,3),type:_}),F.__filtered__=F.__filtered__||S,F}}),Ut(["head","last"],function(s,u){var _="take"+(u?"Right":"");bt.prototype[s]=function(){return this[_](1).value()[0]}}),Ut(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");bt.prototype[s]=function(){return this.__filtered__?new bt(this):this[_](1)}}),bt.prototype.compact=function(){return this.filter(Fn)},bt.prototype.find=function(s){return this.filter(s).head()},bt.prototype.findLast=function(s){return this.reverse().find(s)},bt.prototype.invokeMap=dt(function(s,u){return typeof s=="function"?new bt(this):this.map(function(_){return Wr(_,s,u)})}),bt.prototype.reject=function(s){return this.filter(Xa($e(s)))},bt.prototype.slice=function(s,u){s=ft(s);var _=this;return _.__filtered__&&(s>0||u<0)?new bt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=ft(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},bt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},bt.prototype.toArray=function(){return this.take(se)},pi(bt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),S=/^(?:head|last)$/.test(u),A=M[S?"take"+(u=="last"?"Right":""):u],F=S||/^find/.test(u);A&&(M.prototype[u]=function(){var q=this.__wrapped__,j=S?[1]:arguments,x=q instanceof bt,_e=j[0],pe=x||st(q),Ce=function(mt){var kt=A.apply(M,rl([mt],j));return S&&Oe?kt[0]:kt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var Oe=this.__chain__,Ke=!!this.__actions__.length,xe=F&&!Oe,ct=x&&!Ke;if(!F&&pe){q=ct?q:new bt(this);var et=s.apply(q,j);return et.__actions__.push({func:ja,args:[Ce],thisArg:t}),new xn(et,Oe)}return xe&&ct?s.apply(this,j):(et=this.thru(Ce),xe?S?et.value()[0]:et.value():et)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(s){var u=va[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",S=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var A=arguments;if(S&&!this.__chain__){var F=this.value();return u.apply(st(F)?F:[],A)}return this[_](function(q){return u.apply(st(q)?q:[],A)})}}),pi(bt.prototype,function(s,u){var _=M[u];if(_){var S=_.name+"";Rt.call(rr,S)||(rr[S]=[]),rr[S].push({name:u,func:_})}}),rr[Ha(t,y).name]=[{name:"wrapper",func:t}],bt.prototype.clone=hm,bt.prototype.reverse=gm,bt.prototype.value=_m,M.prototype.at=Gb,M.prototype.chain=Kb,M.prototype.commit=Jb,M.prototype.next=jb,M.prototype.plant=Qb,M.prototype.reverse=Zb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Xb,M.prototype.first=M.prototype.head,Vr&&(M.prototype[Vr]=Yb),M},nr=Jp();Nt?((Nt.exports=nr)._=nr,Lt._=nr):We._=nr}).call(Qr)})(us,us.exports);var kr=us.exports;class Yk{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=ie.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 qt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await qt.shouldPreventNavigation(n)||ie.trimLeadingSlash(this.getWindowPath())===ie.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")?ie.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ie.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ie.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ie.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?ie.trimLeadingSlash(window.location.pathname)+window.location.search:ie.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 qt.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 qt.getChildren(h,d));if(n.isExistingRoute){const h=ie.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ie.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await qt.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?ie.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await qt.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=le.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(ie.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=le.getParentNode(I,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=le.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=le.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)ci.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ci.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 ci.navigateIframe(l,t,n);else{const fe=t.get(),Q=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(fe.context),nodeParams:JSON.stringify(fe.nodeParams),pathParams:JSON.stringify(fe.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Q),withoutSync:!0})}}const Y=document.querySelector(".lui-tab-header");Y&&Y.dispatchEvent(new Event("lui_ctx_update")),qt.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 qt.extractDataFromPath(e);rp.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)){Qn.deleteNodesRecursively(c);break}}else r=!1}}else Qn.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(ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(n)){const r=Ee.getIframeContainer(),a=ci.getActiveIframe(r);a&&a.vg&&ci.canCache(a.vg)?(ci.switchActiveIframe(Ee.getIframeContainer(),void 0,!1),setTimeout(()=>{ci.switchActiveIframe(Ee.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=me.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ee.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ie.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={...Wk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ie.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:zl.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&&zl.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&&kr.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=>le.checkVisibleForFeatureToggles(a))),zl.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 ot=new Yk;class Qk{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=Ee.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ie.getPathWithoutHash(t):"",l=await qt.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){zl.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(ie.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(ie.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ie.computePxFromPercent(t.rightContentHeight,100-e))+Ee.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:ie.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,ie.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ee.getIframeContainer().style.marginBottom="",_t.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ee.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ee.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ee.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const _t=new Qk;class Zk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{na.hideAppLoadingIndicator()},0)}}const Xk=new Zk;class $k{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 di=new $k;class xk{constructor(){return this._userInfoStore=vr({}),this._loggedInStore=vr(!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=_l.parseUrlAuthErrors()||{};if(await _l.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ie.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=_l.getStoredAuthData();if(!t||!_l.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await wi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ie.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ie.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(hl(this._userInfoStore))),ie.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&di.isNewlyAuthorized()&&await wi.handleAuthEvent("onAuthSuccessful",e,t),di.removeNewlyAuthorized(),ie.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ie.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{di.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=_l.getStoredAuthData(),t=async l=>{await wi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),di.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);ie.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ie.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=ie.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!ie.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(ie.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await wi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const gn=new xk;class e2{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(ie.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 $r=new e2;class t2{getStoredAuthData(){return di.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&e.accessTokenExpirationDate>Number(new Date)}parseUrlAuthErrors(){const e=ie.getUrlParameter("error"),t=ie.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await wi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const _l=new t2;class n2{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),a=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),c=new RegExp(`<${n[l]} >`,"g"),h=new RegExp(`</${n[l]}[/]>`,"g"),d=new RegExp(`</${n[l]} [/]>`,"g"),g=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"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,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((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 Sr=new n2;class i2{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=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.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=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.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 vk.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ie.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(ie.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ee.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=$r.hasDecorators()?$r.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:ie.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(ie.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=[...Ee.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ee.specialIframeTypes.filter(n=>Ee.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Ko.getActiveFeatureToggleList(),currentLocale:Et.getCurrentLocale(),currentTheme:Ho.getCurrentTheme()}}}const Ee=new i2;class l2{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=kr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),kr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ee.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ee.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(ji.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 ie=new l2;class r2{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 ie.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(wi.isAuthorizationEnabled()){const r=_l.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];ie.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),ie.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ie.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?"":Et.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await qt.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 qt.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||"/";ot.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(ie.isObject(e)||e===!0){const t=e.navExpanded?Et.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Et.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 qt.extractDataFromPath(e);return!!await qt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:kr.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=>{kr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Et.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ie.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&&Ee.getLocation(e.viewUrl)===Ee.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:le.prepareForTests(e.pathSegment,e.label)}}const le=new r2;class a2{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");Wn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?ot.getHashPath():ot.getModifiedPathname();e(l)}}),Wn.addEventListener("popstate",n=>{const l=t?ot.getHashPath(location.href):ot.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:ot.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ie.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=ie.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ie.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=Et.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ie.replaceVars(e,t.pathParams,":",!1),e=ie.replaceVars(e,t.context,n),e=ie.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];gl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,gl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[Sr.sanitizeParam(n[0])]=Sr.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 gl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=gl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(ie.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&&gl.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:Et.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 a2;class s2{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 bn=new s2;class o2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Wn=new o2;class u2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ee.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ee.sendMessageToIframe(a,r))}}const f2=new u2;class c2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ie.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ee.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const pr=new c2,Zr=38,br=40,bl=13,Gl=27,xr=32,d2=36,h2=35;class sp{constructor(e,t){Un(this,"dispatch");Un(this,"search");Un(this,"isCustomSearchRenderer");Un(this,"isCustomSearchResultItemRenderer");Un(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=ie.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=ie.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=Et.getCurrentLocale();if(ie.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Et.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?ie.isFunction(this.search.searchProvider.onEnter)&&e===bl?this.search.searchProvider.onEnter():ie.isFunction(this.search.searchProvider.onEscape)&&e===Gl?this.search.searchProvider.onEscape():e===br?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.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===br&&(o=r!==null?r:t[0]),e===Zr&&(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&&ie.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):ie.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Gl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===bl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Zr||t===br?this.calcSearchResultItemSelected(t):ie.isFunction(this.search.searchProvider.onEscape)&&t===Gl&&(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?ot.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&&ie.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=k("div"),t=k("div"),n=k("span"),r=W(),a=k("p"),c=W(),h=k("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){L(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&&T(e),p=!1,b()}}}function g2(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xf(Zf(i,t,l));return{c(){e=k("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){L(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=Ve(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:Ue,o:Ue,d(l){l&&T(e),ht(n,l),i[5](null)}}}function _2(i,e,t){const n=Xt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=Pt("getUnsavedChangesModalPromise"),c=Pt("handleNavigation");Zn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=Sr.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)}),rn(()=>{});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){Ye[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class p2 extends Mt{constructor(e){super(),Ot(this,e,_2,g2,Dt,{alertQueue:0,alertTypeMap:1})}}function $f(i){let e,t;return{c(){e=k("i"),f(e,"class",t=Hn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=Hn(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&T(e)}}}function xf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=k("div"),t=k("button"),l=Te(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ee(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&T(e),r=!1,a()}}}function m2(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&&$f(i),z=i[0].buttonConfirm!==!1&&xf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),O&&O.c(),a=W(),o=k("h2"),h=Te(c),d=W(),g=k("div"),b=W(),m=k("footer"),v=k("div"),z&&z.c(),C=W(),y=k("div"),P=k("button"),I=Te(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(Y,Z){L(Y,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(Y,[Z]){Y[0].type?O?O.p(Y,Z):(O=$f(Y),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Z&1&&c!==(c=Y[0].header+"")&&Ae(h,c),Z&1&&p!==(p=Y[0].body+"")&&(g.innerHTML=p),Y[0].buttonConfirm!==!1?z?z.p(Y,Z):(z=xf(Y),z.c(),z.m(v,C)):z&&(z.d(1),z=null),Z&1&&N!==(N=Y[0].buttonDismiss+"")&&Ae(I,N),Z&1&&V!==(V="fd-button "+(Y[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&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+Y[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Ue,o:Ue,d(Y){Y&&T(e),O&&O.d(),z&&z.d(),H=!1,Qe(D)}}}function b2(i,e,t){const n=Xt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),rn(()=>{const d={icon:r[l.type],header:Et.getTranslation("luigi.confirmationModal.header"),body:Et.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")};t(0,l={...l,body:Sr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ee.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 le.renderIconClassName(d)}function o(d){d.keyCode===Gl&&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 v2 extends Mt{constructor(e){super(),Ot(this,e,b2,m2,Dt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function w2(i){let e,t,n;const l=i[5].default,r=hs(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&_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&&T(e),r&&r.d(a)}}}function k2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Xt();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=[...Ee.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return rn(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Wn.addEventListener("message",v=>{const C=Ee.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ee.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ee.enableA11yOfInactiveIframe()))}))}),Zn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class vl extends Mt{constructor(e){super(),Ot(this,e,k2,w2,Dt,{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 vl({props:{disable:i[2]}});let v=i[0].title&&tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("div"),r=k("div"),v&&v.c(),a=W(),o=k("div"),c=k("div"),h=k("button"),d=k("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){L(C,e,y),Me(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,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&&T(e),Fe(t),v&&v.d(),b=!1,m()}}}function tc(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&T(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=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <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){L(t,e,n)},d(t){t&&T(e)}}}function S2(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=k("div"),t=k("div"),v&&v.c(),n=W(),l=k("div"),C&&C.c(),r=W(),a=k("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=Hn(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){L(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&&(be(),U(v,1,1,()=>{v=null}),ve()),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&&(be(),U(C,1,1,()=>{C=null}),ve()),(!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=Hn(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&&T(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function C2(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=Xt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,N=!0,I,V=Pt("store");const E=G=>le.getNodeLabel(G),H=async G=>{const K=G&&G.length?ie.getPathWithoutHash(G):"",ae=me.parseParams(K.split("?")[1]);b=me.getNodeParams(ae);const ce=await qt.extractDataFromPath(G);g=ce.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=ce.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Y():await O(),zl.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 K=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:K,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,K;const ae=document.querySelector(".lui-modal-index-"+c),{size:ce,width:ne,height:Pe}=r,se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ae.classList.remove("lui-modal-fullscreen"),ne&&ne.match(se)&&Pe&&Pe.match(se))G=Pe,K=ne;else switch(ce){case"fullscreen":G="100vh",K="100vw",ae.classList.add("lui-modal-fullscreen");break;case"m":G="80%",K="60%";break;case"s":G="80%",K="40%";break;default:G="80%",K="80%"}ae.setAttribute("style",`width:${K};height:${G};`)},z=async(G,K)=>{P?await Y():await O(),G&&(G=me.substituteViewUrl(G,K));const ae=await Ee.createIframe(G,void 0,g,"modal",K);return document.querySelector(I).appendChild(ae),ae};async function Y(G){let K="";const ae=document.getElementsByClassName("drawer"),ce=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?K="width:75%;":r.size==="m"?K="width:50%;":r.size==="s"?K="width:25%;":r.size==="xs"&&(K="width:15.5%;")),r.backdrop?ae[0].setAttribute("style",K):(ce[0].setAttribute("style",K),ae[0].setAttribute("style","width:100%"))}ea(()=>{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)&&fe()),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")&&ot.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};rn(()=>{bn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),Wn.addEventListener("message",Z),r.isDrawer&&!r.backdrop||Ee.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)}),ta(()=>{Wn.removeEventListener("message",Z),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function fe(){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 Q=()=>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,Q]}class op extends Mt{constructor(e){super(),Ot(this,e,C2,S2,Dt,{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),L(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&&T(e),t&&t.d(n)}}}function oc(i){let e,t,n=Ve(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=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Ve(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&&T(e),ht(l,r)}}}function uc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?P2:y2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function y2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=k("div"),n=Te(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){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Ae(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function P2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=k("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),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&&T(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=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),a=k("span"),c=Te(o),d=W(),g=k("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=k("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){L(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",Vt(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)+"")&&Ae(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=cc(i),I.c(),I.m(m,null)):I&&(I.d(1),I=null)},d(V){V&&T(e),I&&I.d(),C=!1,Qe(y)}}}function cc(i){let e,t=Ve(i[28].options),n=[];for(let l=0;l<t.length;l+=1)n[l]=dc(ac(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r[0]&4634){t=Ve(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&&T(e),ht(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=k("li"),t=k("span"),l=Te(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"),Zt(e,"is-selected",i[4]===i[33]),Zt(e,"is-focus",i[4]===i[33])},m(d,g){L(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])+"")&&Ae(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&Zt(e,"is-selected",i[4]===i[33]),g[0]&16&&Zt(e,"is-focus",i[4]===i[33])},d(d){d&&T(e),o=!1,Qe(c)}}}function hc(i){let e,t,n,l=Ve(i[28].options),r=[];for(let a=0;a<l.length;a+=1)r[a]=gc(rc(i,l,a));return{c(){e=k("div"),t=k("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){L(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=Ve(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&&T(e),ht(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=k("button"),n=Te(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){L(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])+"")&&Ae(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&T(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=k("label"),t=k("span"),n=k("input"),a=W(),o=k("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){L(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&&T(e),h=!1,d()}}}function pc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=k("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){L(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&&T(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=k("div"),t=k("div"),n=k("label"),r=Te(l),a=Te(":"),o=W(),c=k("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){L(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)+"")&&Ae(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&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function I2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&sc(i);return{c(){e=k("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(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:Ue,o:Ue,d(r){r&&T(e),l&&l.d(),t=!1,Qe(n)}}}function ls(i,e,t){if(i&&t>0)return i.matches(e)?i:ls(i.parentNode,e,t-1)}function N2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Xt();let o=Pt("getTranslation");Si(i,o,Q=>t(5,n=Q));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Q){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(Q,G){let K=ls(Q.target,".fd-popover__control",20),ae=K.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(K,!ae))}function m(Q,G){const K=Q.querySelector(".lui-activate-dropdown"),ae=Q.parentNode.querySelector(".fd-popover__body"),ce=Q.parentNode.querySelector(".fd-select__control");Q.setAttribute("aria-expanded",G),ae.setAttribute("aria-hidden",!G),ce.setAttribute("aria-expanded",G),K.setAttribute("aria-expanded",G),t(14,h=G)}function v(Q,G,K){t(4,c=K),t(0,r[l[0]][Q]=G.value||G,r)}function C(Q,G){document.querySelectorAll(".enum-buttons-container-"+Q+" button").forEach(K=>{const ae=K.getAttribute("id"),ce=`lui-us-enum_button_${Q}_option`;ae===ce?K.classList.add("fd-button--emphasized"):K.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Q]=G.value||G,r)}function y(Q,G){let K;if(Array.isArray(G)){for(let ae=0;ae<G.length;ae++)if(ie.isObject(G[ae])){if(G[ae].value&&G[ae].value===Q){K=G[ae].label,t(4,c=ae);break}}else{K=Q,t(4,c=G.indexOf(Q));break}return n(K)}}function P(Q){return n(ie.isObject(Q)?Q.label:Q)}function N(Q,G,K){return ie.isObject(K)?`${Q}_${G}_${K.value}`:`${Q}_${G}_${K}`}function I(Q,G,K,ae){let ce=ls(Q.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${K}`).children;let Pe=-1;if([...ne].forEach((se,re)=>{se.classList.contains("is-focus")&&(Pe=re)}),h){if(Q.keyCode===Zr&&Q.altKey&&(ce.click(),ce.focus()),Q.keyCode===br&&!Q.altKey){if(Pe===-1){Pe=0,ne.item(Pe).classList.add("is-focus");return}Pe<ae.options.length-1&&(ne.item(Pe).classList.remove("is-focus"),Pe+=1,ne.item(Pe).classList.add("is-focus"))}if(Q.keyCode===Zr&&!Q.altKey){if(Pe===-1){Pe=Pe.length-1,ne.item(Pe).classList.add("is-focus");return}Pe>0&&Pe<ae.options.length&&(ne.item(Pe).classList.remove("is-focus"),Pe-=1,ne.item(Pe).classList.add("is-focus"))}(Q.keyCode===bl||Q.keyCode===xr)&&v(G,ae.options[Pe],Pe)}else ce.focus(),Q.keyCode===br&&Q.altKey&&ce.click(),Q.keyCode===br&&!Q.altKey&&Pe<ae.options.length-1&&v(G,ae.options[Pe+1],Pe+1),Q.keyCode===Zr&&!Q.altKey&&Pe>0&&Pe<ae.options.length&&v(G,ae.options[Pe-1],Pe-1)}function V(Q){if(h){let G=ls(Q.target,".fd-popover",20);G.blur(),(Q.keyCode===xr||Q.keyCode===bl)&&(Q.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(Q){r[l[0]][Q]=this.value,t(0,r)}const H=(Q,G,K,ae)=>I(ae,Q,G,K),D=Q=>b(event,Q.isEditable),O=(Q,G,K)=>v(Q,G,K),z=Q=>V(Q),Y=(Q,G)=>C(Q,G);function Z(Q){r[l[0]][Q]=this.checked,t(0,r)}function fe(Q){r[l[0]][Q]=this.checked,t(0,r)}return i.$$set=Q=>{"userSettingGroup"in Q&&t(1,l=Q.userSettingGroup),"storedUserSettingData"in Q&&t(0,r=Q.storedUserSettingData),"isComboOpen"in Q&&t(14,h=Q.isComboOpen)},[r,l,I,V,c,n,o,p,b,v,C,y,P,N,h,d,g,E,H,D,O,z,Y,Z,fe]}class T2 extends Mt{constructor(e){super(),Ot(this,e,N2,I2,Dt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:bc}=wl;function vc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[37]=t,n}function wc(i,e,t){const n=i.slice();return n[38]=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[38][1])),e?A2:L2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=k("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){o&&(T(t),T(n)),a.d(o)}}}function L2(i){let e,t,n,l,r,a=i[38][1].initials&&Sc(i);return{c(){e=k("span"),l=W(),a&&a.c(),r=ke(),f(e,"class",t=Hn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),Bn(e,"background-image","url('"+i[38][1].icon+"')"),Bn(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=Hn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&Bn(e,"background-image","url('"+o[38][1].icon+"')"),o[38][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&&(T(e),T(l),T(r)),a&&a.d(o)}}}function A2(i){let e,t,n,l;return{c(){e=k("span"),t=k("i"),f(t,"role","presentation"),f(t,"class",n=Hn(i[18](i[38][1].icon))+" svelte-xbltd6"),f(e,"class",l="fd-list__thumbnail "+(i[38][1].iconClassAttribute||"")+" svelte-xbltd6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&2&&n!==(n=Hn(r[18](r[38][1].icon))+" svelte-xbltd6")&&f(t,"class",n),a[0]&2&&l!==(l="fd-list__thumbnail "+(r[38][1].iconClassAttribute||"")+" svelte-xbltd6")&&f(e,"class",l)},d(r){r&&T(e)}}}function Sc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Te(t),f(e,"class",l=Hn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Ae(n,t),o[0]&2&&l!==(l=Hn(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-xbltd6")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function Cc(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,h,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",g,p,b,m,v=i[38][1].icon&&kc(i);function C(){return i[21](i[38])}function y(...P){return i[22](i[37],...P)}return{c(){e=k("li"),t=k("a"),v&&v.c(),n=W(),l=k("div"),r=k("div"),o=Te(a),c=W(),h=k("div"),g=Te(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-xbltd6"),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){L(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",St(C)),ee(e,"keydown",y)],b=!0)},p(P,N){i=P,i[38][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[38][1].label?i[38][1].label:"")+"")&&Ae(o,a),N[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ae(g,d)},d(P){P&&T(e),v&&v.d(),b=!1,Qe(m)}}}function yc(i){let e,t=Ve(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);L(l,e,r)},p(l,r){if(r[0]&803846){t=Ve(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&&T(e),ht(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 T2({props:o}),Ye.push(()=>yt(e,"closeDropDown",r)),Ye.push(()=>yt(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Be(e.$$.fragment)},m(c,h){Me(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],Ct(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],Ct(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function E2(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,Y,Z,fe,Q,G,K=i[10](i[5])+"",ae,ce,ne,Pe,se=i[10](i[6])+"",re,we,Je,ye,Le=Ve(Object.entries(i[1])),ze=[];for(let De=0;De<Le.length;De+=1)ze[De]=yc(vc(i,Le,De));let Xe=i[11]&&Pc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("div"),o=k("h2"),h=Te(c),d=W(),g=k("div"),p=k("ul");for(let De=0;De<ze.length;De+=1)ze[De].c();b=W(),m=k("div"),v=k("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=k("h2"),N=Te(P),I=W(),V=k("div"),E=k("div"),Xe&&Xe.c(),H=W(),D=k("div"),O=W(),z=k("div"),Y=W(),Z=k("footer"),fe=k("div"),Q=k("div"),G=k("button"),ae=Te(K),ce=W(),ne=k("div"),Pe=k("button"),re=Te(se),f(o,"class","fd-title fd-title--h5 svelte-xbltd6"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-xbltd6"),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-xbltd6"),f(r,"class","fd-side-nav svelte-xbltd6"),f(l,"class","lui-usersettings-left-nav svelte-xbltd6"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-xbltd6"),f(y,"class","fd-title fd-title--h5 svelte-xbltd6"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-xbltd6"),f(E,"class","usersettingseditor mf-wrapper svelte-xbltd6"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-xbltd6"),f(z,"class","wcUserSettingsCtn wc-wrapper svelte-xbltd6"),f(V,"class","lui-usersettings-content svelte-xbltd6"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-xbltd6"),f(G,"data-testid","lui-us-saveBtn"),f(G,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Q,"class","fd-bar__element"),f(Pe,"data-testid","lui-us-dismissBtn"),f(Pe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ne,"class","fd-bar__element"),f(fe,"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-xbltd6"),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-xbltd6"),f(e,"tabindex","0")},m(De,nt){L(De,e,nt),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 rt=0;rt<ze.length;rt+=1)ze[rt]&&ze[rt].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),Xe&&Xe.m(E,null),w(V,H),w(V,D),w(V,O),w(V,z),w(t,Y),w(t,Z),w(Z,fe),w(fe,Q),w(Q,G),w(G,ae),w(fe,ce),w(fe,ne),w(ne,Pe),w(Pe,re),we=!0,Je||(ye=[ee(bc,"resize",i[20]),ee(bc,"keydown",i[3]),ee(v,"click",i[17]),ee(G,"click",i[25]),ee(Pe,"click",i[26])],Je=!0)},p(De,nt){if((!we||nt[0]&1040)&&c!==(c=De[10](De[4])+"")&&Ae(h,c),nt[0]&803846){Le=Ve(Object.entries(De[1]));let rt;for(rt=0;rt<Le.length;rt+=1){const gt=vc(De,Le,rt);ze[rt]?ze[rt].p(gt,nt):(ze[rt]=yc(gt),ze[rt].c(),ze[rt].m(p,null))}for(;rt<ze.length;rt+=1)ze[rt].d(1);ze.length=Le.length}(!we||nt[0]&1152)&&P!==(P=De[10](De[7])+"")&&Ae(N,P),De[11]?Xe?(Xe.p(De,nt),nt[0]&2048&&R(Xe,1)):(Xe=Pc(De),Xe.c(),R(Xe,1),Xe.m(E,null)):Xe&&(be(),U(Xe,1,1,()=>{Xe=null}),ve()),(!we||nt[0]&1056)&&K!==(K=De[10](De[5])+"")&&Ae(ae,K),(!we||nt[0]&1088)&&se!==(se=De[10](De[6])+"")&&Ae(re,se)},i(De){we||(R(Xe),we=!0)},o(De){U(Xe),we=!1},d(De){De&&T(e),ht(ze,De),Xe&&Xe.d(),Je=!1,Qe(ye)}}}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 R2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="block"}function D2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none",document.querySelector(".wcUserSettingsCtn").style.display="none"}function V2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block",document.querySelector(".wcUserSettingsCtn").style.display="none"}function up(i,e,t){if(i&&t>0)return i.matches(e)?i:up(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 O2(i,e,t){let n,{userSettingGroups:l}=e;const r=Xt();let a,{storedUserSettings:o={}}=e,c={},h=Pt("getTranslation");Si(i,h,se=>t(10,n=se));let d=ml.userSettingsDialog.dialogHeader,g=ml.userSettingsDialog.saveBtn,p=ml.userSettingsDialog.dismissBtn,b={},m,v,C,y;ta(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),rn(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),re=se||te.getConfigValue("settings.userSettings.userSettingsDialog");re&&(t(4,d=re.dialogHeader?re.dialogHeader:d),t(5,g=re.saveBtn?re.saveBtn:g),t(6,p=re.dismissBtn?re.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Wn.addEventListener("message",we=>{const Je=Ee.getValidMessageSource(we);if(!Je||we.data.msg!=="custom")return;Je._ready=!0;const ye=ss.convertCustomMessageInternalToUser(we.data);if(ye.id==="luigi.updateUserSettings"){const ze=pr.findActiveCustomUserSettingsIframe(we.source);if(ze){let Xe=ze.getAttribute("userSettingsGroup");t(0,o[Xe]=ye.data,o)}}ye.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&D()}),te.readUserSettings().then(we=>{c=JSON.parse(JSON.stringify(we)),we===null?t(0,o=Ic(JSON.parse(JSON.stringify(l)),{})):t(0,o=Ic(JSON.parse(JSON.stringify(l)),we)),N([m,l[0][m]])}).catch(we=>{we&&we.message&&console.error(we.message),we&&we.closeDialog&&r("close")}),Ee.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!ie.isObject(se.settings))for(let re in se.settings){let we=se.settings[re];we.type==="enum"?Array.isArray(we.options)||console.error(`There is no options array for '${re}' defined in the Luigi userSettings config.`):we.type===void 0&&console.error(`There is no data type defined for '${re}' in the Luigi userSettings config.`)}}function N(se,re){t(11,a=se);let we=se[0],Je=se[1];if(P(Je),re?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Le=>{Le.classList.remove("is-selected")}),up(re.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<hn.desktopMinWidth&&H()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()),Je.viewUrl){if(pr.hideUserSettingsIframe(),Je.webcomponent){I({...Je},we);return}if(b.hasOwnProperty(we))pr.getUserSettingsIframesInDom().forEach(ye=>{ye.userSettingsGroup===we&&(ye.style.display="block")});else{const ye=$r.hasDecorators()?$r.applyDecorators(Je.viewUrl):Je.viewUrl;let Le=pr.createIframe(ye,we);b[we]=Le}D2()}else V2()}function I(se,re){const we=document.querySelector(".wcUserSettingsCtn");if(!we)return;we.innerHTML="";const Je={};we.eventBus={listeners:Je,onPublishEvent:De=>{t(0,o[re]=De.detail,o)}};const ye={...se.context,userSettingsdata:o[re]},Le=se.eventListeners,ze=se.webcomponent,Xe=se.label;zl.renderWebComponent(se.viewUrl,we,ie.isObject(ye)?{context:ye}:{},ie.isObject(ze)?{eventListeners:Le,webcomponent:ze}:{},Xe?Xe.replace(/ /g,"").toLowerCase():null),R2()}const V=se=>{t(0,o=se.detail.userSettings)};function E(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function H(){D()}function D(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<hn.desktopMinWidth&&Nc()}function O(se){return le.renderIconClassName(se)}function z(se){return le.isOpenUIiconName(se.icon)}let Y;const Z=()=>{const se=window.innerWidth>=hn.desktopMinWidth&&Y<hn.desktopMinWidth;if(window.innerWidth<hn.desktopMinWidth&&Y>=hn.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"),!Y){let we=document.querySelector(".confirm-button");window.innerWidth<hn.desktopMinWidth?we.style.display="none":we.style.display="block"}Y=window.innerWidth};function fe(se,re){let we=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===bl||se.keyCode===xr)&&we[re].click(),se.keyCode===h2&&we[Object.keys(l).length-1].focus(),se.keyCode===d2&&we[0].focus()}function Q(se){se.keyCode===Gl&&C?y():se.keyCode===Gl&&!C&&r("close")}const G=se=>N(se,event),K=(se,re)=>fe(re,[se]);function ae(se){y=se,t(9,y)}function ce(se){C=se,t(8,C)}const ne=()=>E(),Pe=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,fe,Q,d,g,p,v,C,y,n,a,r,h,N,V,E,D,O,z,Z,G,K,ae,ce,ne,Pe]}class M2 extends Mt{constructor(e){super(),Ot(this,e,O2,E2,Dt,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:F2}=wl;function U2(i){let e;return{c(){e=k("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function B2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=k("h1"),a=Te(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){L(h,e,d),w(e,t),L(h,n,d),L(h,l,d),w(l,a),o||(c=ee(t,"click",Vt(St(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ae(a,r)},d(h){h&&(T(e),T(n),T(l)),o=!1,c()}}}function Tc(i){let e,t,n,l,r,a,o,c;return{c(){e=k("div"),t=W(),n=k("div"),l=k("div"),r=W(),a=k("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){L(h,e,d),L(h,t,d),L(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Vt(St(i[3]))),ee(n,"mousedown",Vt(i[6]))],o=!0)},p:Ue,d(h){h&&(T(e),T(t),T(n)),o=!1,Qe(c)}}}function H2(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?B2:U2}let p=g(i),b=p(i),m=!i[0]&&Tc(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("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){L(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=ee(F2,"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&&(T(e),T(a),T(o)),Fe(t),b.d(),m&&m.d(v),h=!1,d()}}}function W2(i,e,t){const n=Xt();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=Pt("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:K=>{K&&Object.getOwnPropertyNames(K).forEach(ae=>{ae==="splitViewSettings"?t(1,C=K.splitViewSettings):ae==="lastNode"?r=K.lastNode:ae==="pathData"?a=K.pathData:ae==="nodeParams"?o=K.nodeParams:ae==="collapsed"?t(0,v=K.collapsed):ae==="isDataPrepared"?t(8,y=K.isDataPrepared):ae==="currentNode"?c=K.currentNode:ae==="splitViewIframe"?d=K.splitViewIframe:ae==="splitViewIframeData"?g=K.splitViewIframeData:ae==="splitViewWC"?p=K.splitViewWC:ae==="splitViewWCData"&&(b=K.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:I}),E=async()=>{y?v||_t.createAndSetView(V()):await _t.prepareSplitViewData(V(),m)},H=()=>{l.split=_t.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=_t.getDragger()},D=()=>{const K=_t.getDraggerBackdrop();K&&(K.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${_t.splitViewValues.top}px`),l.split.style.top=`${_t.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(K){if(Ee.getValidMessageSource(K)&&(K.data.msg==="luigi.navigation.splitview.close"&&_t.close(V()),K.data.msg==="luigi.navigation.splitview.collapse"&&z(),K.data.msg==="luigi.navigation.splitview.expand"&&Y(),K.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(K.data.data);if(_t.calculateAndSetSplitViewValues(ae,_t.internalValues),v)return;D(),_t.sendMessageToClients("resize.ok",_t.splitViewValues.percent)}}rn(()=>{Z(),h=O.bind(this),Wn.addEventListener("message",h)}),ea(()=>{E(),N!==y&&!v&&(N=y,D())}),ta(()=>{window.removeEventListener("message",h)});function z(){_t.collapse(V())}async function Y(){await _t.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const K=ie.getShellbarHeight();_t.internalValues.innerHeight=ie.getInnerHeight(),_t.internalValues.rightContentHeight=_t.internalValues.innerHeight-K,_t.internalValues.thresholdBottom=30,_t.internalValues.thresholdTop=K+30,_t.calculateAndSetSplitViewValues(_t.splitViewValues.percent,_t.internalValues),v||D()}function fe(K){let ae=K.y,ce={};const ne=function(Je){const ye=ae-Je.y,Le=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Le)||ye===0)return;const ze=Le-ye,Xe=_t.internalValues.innerHeight-ze,De=_t.enforceTresholds(ze,Xe);ze<De.top||Xe<De.bottom||(ce=De,ae=Je.y,l.draggable.style.top=`${ce.top}px`)},Pe=function(){if(se(),!ce.top||!ce.bottom||ce.top==_t.internalValues.m_pos_prev){_t.getDraggerBackdrop().style.display="none";return}_t.internalValues.m_pos_prev=ce.top,_t.splitViewValues=ce,D(),_t.sendMessageToClients("resize.ok",ce.percent)},se=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",ne)},re=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",ne)};H(),se(),re(),_t.getDraggerBackdrop().style.display="block"}const Q=K=>{let ae=_t.getDraggerButton();ae&&(ae.style.display=K?"block":"none"),ae=_t.getCollapsedDraggerButton(),ae&&(ae.style.display=K?"block":"none")},G=K=>{Q(!K.detail||K.detail.backdropActive!==!0)};return i.$$set=K=>{"nodepath"in K&&t(9,m=K.nodepath),"collapsed"in K&&t(0,v=K.collapsed),"splitViewSettings"in K&&t(1,C=K.splitViewSettings),"isDataPrepared"in K&&t(8,y=K.isDataPrepared),"disableBackdrop"in K&&t(2,P=K.disableBackdrop)},[v,C,P,z,Y,Z,fe,G,y,m]}class fp extends Mt{constructor(e){super(),Ot(this,e,W2,H2,Dt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Lc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:G2,then:z2,catch:q2,value:1};return rs(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&rs(t,n)||Q_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function q2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function z2(i){let e,t=i[1]>0&&Ac(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function Ac(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Te(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){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ae(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function G2(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function K2(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),L(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:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function J2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Ln extends Mt{constructor(e){super(),Ot(this,e,J2,K2,Dt,{node:0})}}function Ec(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Te(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){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ae(l,n)},d(r){r&&T(e)}}}function j2(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),L(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:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function Y2(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 li extends Mt{constructor(e){super(),Ot(this,e,Y2,j2,Dt,{node:0})}}function Q2(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=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),c=k("span"),d=W(),g=k("ul"),N&&N.c(),p=W(),b=k("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){L(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",Vt(St(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(I,V){(!v||V&2)&&r!==(r=I[1].title+"")&&Ae(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&&T(e),N&&N.d(I),C=!1,Qe(y)}}}function Z2(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 X2(i){let e,t,n,l;const r=[Z2,Q2],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),L(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),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&&T(n),a[e].d(c)}}}function $2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),le.storeExpandedState(r.uid,a),r.isSingleEntry||le.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 Mt{constructor(e){super(),Ot(this,e,$2,X2,Dt,{navGroup:1,expanded:0})}}const{window:ns}=wl;function Rc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Dc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[94]=e[t],n}function Uc(i,e,t){const n=i.slice();return n[97]=e[t][0],n[98]=e[t][1],n[100]=t,n}function Bc(i,e,t){const n=i.slice();return n[101]=e[t],n}function Hc(i,e,t){const n=i.slice();return n[101]=e[t],n}function eS(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=k("div"),g&&g.c(),t=W(),n=k("nav"),l=k("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){L(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&&(be(),U(p,1,1,()=>{p=null}),ve()),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&&T(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function tS(i){let e,t,n,l,r=i[12]&&bd(i),a=i[0]&&i[5].length>1&&Sd(i);return{c(){e=k("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"),Bn(e,"width","var(--luigi__left-sidenav--width)"),Bn(e,"height","100%")},m(o,c){L(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&&(be(),U(a,1,1,()=>{a=null}),ve()),(!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&&T(e),r&&r.d(),a&&a.d()}}}function Wc(i){let e,t=!i[12].renderer&&qc(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){L(n,e,l),t&&t.m(e,null),i[63](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&&T(e),t&&t.d(),i[63](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=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(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){L(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)+"")&&Ae(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&&T(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?iS: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),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function nS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(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){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!tt(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&&T(e)}}}function iS(i){let e,t;return{c(){e=k("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){L(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&&T(e)}}}function Gc(i){let e,t,n,l;return{c(){e=k("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){L(r,e,a),n||(l=ee(e,"click",St(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Kc(i){let e,t,n,l,r=Ve(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=k("div"),t=k("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n=Hn(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){L(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=Ve(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(be(),d=r.length;d<a.length;d+=1)o(d);ve()}(!l||h[0]&8388608&&n!==(n=Hn(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&&T(e),ht(a,c)}}}function lS(i){let e,t,n,l;const r=[sS,aS],a=[];function o(c,h){return c[98].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),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),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&&T(n),a[e].d(c)}}}function rS(i){let e,t,n=Ve(i[98]),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);L(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=Ve(a[98]);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(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function aS(i){let e,t,n=i[27](i[97])+"",l,r,a,o,c,h,d=i[10]&&i[98].metaInfo.icon&&Jc(i),g=Ve(i[98]),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=k("li"),d&&d.c(),t=W(),l=Te(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[98],i[27](i[97]))),f(e,"data-testid",a=i[34](i[98].metaInfo,i[97])),f(e,"id","category_list_level1_"+i[100])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C]&&p[C].m(m,v);L(m,c,v),h=!0},p(m,v){if(m[10]&&m[98].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[97])+"")&&Ae(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[98],m[27](m[97]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[98].metaInfo,m[97])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=Ve(m[98]);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(be(),C=g.length;C<p.length;C+=1)b(C);ve()}},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&&(T(e),T(o),T(c)),d&&d.d(),ht(p,m)}}}function sS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H,D,O,z,Y,Z,fe;function Q(ye,Le){return Le[0]&8192&&(l=null),l==null&&(l=!!ye[32](ye[98].metaInfo.icon)),l?_S:gS}let G=Q(i,[-1,-1,-1,-1]),K=G(i);function ae(){return i[66](i[98])}function ce(){return i[67](i[98])}function ne(...ye){return i[68](i[98],...ye)}let Pe=Ve(i[98]),se=[];for(let ye=0;ye<Pe.length;ye+=1)se[ye]=id(Oc(i,Pe,ye));const re=ye=>U(se[ye],1,1,()=>{se[ye]=null});let we=i[98].metaInfo&&i[98].metaInfo.label===i[8]&&ld(i);function Je(){return i[73](i[98])}return{c(){e=k("li"),t=k("div"),n=k("a"),K.c(),r=W(),a=k("span"),c=Te(o),m=W(),v=k("button"),C=k("i"),V=W(),E=k("ul");for(let ye=0;ye<se.length;ye+=1)se[ye].c();D=W(),we&&we.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[98],i[27](i[97]))),f(n,"class",d="fd-nested-list__link "+(ln(i[98],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[100]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=ln(i[98],i[9])),f(C,"class",y=ln(i[98],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=ln(i[98],i[9])),f(v,"title",N=i[41](i[98],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=!ln(i[98],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[98].metaInfo,i[97])),Zt(e,"lui-item-expanded",ln(i[98],i[9]))},m(ye,Le){L(ye,e,Le),w(e,t),w(t,n),K.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let ze=0;ze<se.length;ze+=1)se[ze]&&se[ze].m(E,null);w(e,D),we&&we.m(e,null),w(e,O),Y=!0,Z||(fe=[ee(n,"click",St(ae)),ee(v,"click",St(ce)),ee(t,"keypress",ne),ee(e,"click",Vt(Je))],Z=!0)},p(ye,Le){if(i=ye,G===(G=Q(i,Le))&&K?K.p(i,Le):(K.d(1),K=G(i),K&&(K.c(),K.m(n,r))),(!Y||Le[0]&134225920)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!Y||Le[0]&134225920&&h!==(h=i[35](i[98],i[27](i[97]))))&&f(n,"title",h),(!Y||Le[0]&8704&&d!==(d="fd-nested-list__link "+(ln(i[98],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Y||Le[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Y||Le[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Y||Le[0]&8704&&b!==(b=ln(i[98],i[9])))&&f(n,"aria-expanded",b),(!Y||Le[0]&8704&&y!==(y=ln(i[98],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Y||Le[0]&8704&&P!==(P=ln(i[98],i[9])))&&f(v,"aria-expanded",P),(!Y||Le[0]&8704&&N!==(N=i[41](i[98],i[9])))&&f(v,"title",N),(!Y||Le[0]&64&&I!==(I=i[6]?"0":"-1"))&&f(t,"tabindex",I),Le[0]&1090592896|Le[1]&532){Pe=Ve(i[98]);let ze;for(ze=0;ze<Pe.length;ze+=1){const Xe=Oc(i,Pe,ze);se[ze]?(se[ze].p(Xe,Le),R(se[ze],1)):(se[ze]=id(Xe),se[ze].c(),R(se[ze],1),se[ze].m(E,null))}for(be(),ze=Pe.length;ze<se.length;ze+=1)re(ze);ve()}(!Y||Le[0]&8704&&H!==(H=!ln(i[98],i[9])))&&f(E,"aria-hidden",H),i[98].metaInfo&&i[98].metaInfo.label===i[8]?we?(we.p(i,Le),Le[0]&8448&&R(we,1)):(we=ld(i),we.c(),R(we,1),we.m(e,O)):we&&(be(),U(we,1,1,()=>{we=null}),ve()),(!Y||Le[0]&8192&&z!==(z=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",z),(!Y||Le[0]&8704)&&Zt(e,"lui-item-expanded",ln(i[98],i[9]))},i(ye){if(!Y){for(let Le=0;Le<Pe.length;Le+=1)R(se[Le]);R(we),Y=!0}},o(ye){se=se.filter(Boolean);for(let Le=0;Le<se.length;Le+=1)U(se[Le]);U(we),Y=!1},d(ye){ye&&T(e),K.d(),ht(se,ye),we&&we.d(),Z=!1,Qe(fe)}}}function Jc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[98].metaInfo.icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function oS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function uS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[98].metaInfo.icon?i[31](i[98].metaInfo.icon):"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[98].metaInfo.icon?n[31](n[98].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function jc(i){let e,t,n=i[101].label&&Yc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Yc(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N;function I(Z,fe){return Z[101].icon?cS:fS}let V=I(i),E=V(i),H=i[101].statusBadge&&Qc(i),D=i[101].externalLink&&i[101].externalLink.url&&Zc(),O=i[101].badgeCounter&&Xc(i);function z(...Z){return i[74](i[101],...Z)}function Y(...Z){return i[75](i[101],...Z)}return{c(){e=k("li"),t=k("a"),E.c(),n=W(),l=k("span"),a=Te(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[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[101])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[101])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[101],i[30](i[101]))),f(e,"aria-labelledby","category_list_level1_"+i[100])},m(Z,fe){L(Z,e,fe),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(){ki(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)})],P=!0)},p(Z,fe){i=Z,V===(V=I(i))&&E?E.p(i,fe):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||fe[0]&8192)&&r!==(r=i[30](i[101])+"")&&Ae(a,r),i[101].statusBadge?H?(H.p(i,fe),fe[0]&8192&&R(H,1)):(H=Qc(i),H.c(),R(H,1),H.m(l,null)):H&&(be(),U(H,1,1,()=>{H=null}),ve()),(!y||fe[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[101].externalLink&&i[101].externalLink.url?D||(D=Zc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[101].badgeCounter?O?(O.p(i,fe),fe[0]&8192&&R(O,1)):(O=Xc(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!y||fe[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||fe[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||fe[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||fe[0]&8192&&m!==(m=le.getTestId(i[101])))&&f(t,"data-testid",m),(!y||fe[0]&8192&&C!==(C=i[35](i[101],i[30](i[101]))))&&f(e,"title",C)},i(Z){y||(R(H),R(O),y=!0)},o(Z){U(H),U(O),y=!1},d(Z){Z&&T(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Qe(N)}}}function fS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=k("i"),n=W(),l=k("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ae(a,r)},d(o){o&&(T(e),T(n),T(l))}}}function cS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?hS:dS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function dS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function hS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-1bekqg6")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function Qc(i){let e,t;return e=new li({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Zc(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Xc(i){let e,t;return e=new Ln({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function $c(i){let e,t,n=!i[101].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function gS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function _S(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function xc(i){let e,t,n=i[101].label&&ed(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ed(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new li({props:{node:i[101]}});let I=i[101].externalLink&&i[101].externalLink.url&&td(),V=i[101].badgeCounter&&nd(i);function E(...D){return i[69](i[101],...D)}function H(...D){return i[70](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=le.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[100])},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(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(){ki(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[101])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[101]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?I||(I=td(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[101].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&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===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=le.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&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&&T(e),Fe(o),I&&I.d(),V&&V.d(),P=!1,Qe(N)}}}function td(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function nd(i){let e,t;return e=new Ln({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function id(i){let e,t,n=!i[101].hideFromNav&&xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function ld(i){let e,t,n,l=i[27](i[97])+"",r,a,o,c,h=Ve(i[98]),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=k("div"),t=k("div"),n=k("h5"),r=Te(l),a=W(),o=k("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){L(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[97])+"")&&Ae(r,l),b[0]&1090592896|b[1]&532){h=Ve(p[98]);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(be(),m=h.length;m<d.length;m+=1)g(m);ve()}},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&&T(e),ht(d,p)}}}function rd(i){let e,t,n=i[101].label&&ad(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ad(i){let e,t,n,l=i[30](i[101])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,N;o=new li({props:{node:i[101]}});let I=i[101].externalLink&&i[101].externalLink.url&&sd(),V=i[101].badgeCounter&&od(i);function E(...D){return i[71](i[101],...D)}function H(...D){return i[72](i[101],...D)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[101])),f(t,"class",p="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=le.getTestId(i[101])),f(t,"title",v=i[35](i[101],i[30](i[101]))),f(e,"class","fd-nested-list__item")},m(D,O){L(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(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(){ki(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[101])+"")&&Ae(r,l);const z={};O[0]&8192&&(z.node=i[101]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[101].externalLink&&i[101].externalLink.url?I||(I=sd(),I.c(),I.m(t,d)):I&&(I.d(1),I=null),i[101].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&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[33](i[101])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[101]===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=le.getTestId(i[101])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[101],i[30](i[101]))))&&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&&T(e),Fe(o),I&&I.d(),V&&V.d(),P=!1,Qe(N)}}}function sd(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function od(i){let e,t;return e=new Ln({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ud(i){let e,t,n=!i[101].hideFromNav&&rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function fd(i){let e,t,n=i[101].label&&cd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function cd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I;function V(Z,fe){return Z[101].icon?mS:pS}let E=V(i),H=E(i);c=new li({props:{node:i[101]}});let D=i[101].externalLink&&i[101].externalLink.url&&dd(),O=i[101].badgeCounter&&hd(i);function z(...Z){return i[64](i[101],...Z)}function Y(...Z){return i[65](i[101],...Z)}return{c(){e=k("li"),t=k("a"),H.c(),n=W(),l=k("span"),a=Te(r),o=W(),Be(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[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[101])),f(t,"title",b=i[35](i[101],i[30](i[101]))),f(t,"class",m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=le.getTestId(i[101])),f(e,"class","fd-nested-list__item")},m(Z,fe){L(Z,e,fe),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),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(){ki(i[24]?void 0:Y)&&(i[24]?void 0:Y).apply(this,arguments)})],N=!0)},p(Z,fe){i=Z,E===(E=V(i))&&H?H.p(i,fe):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||fe[0]&8192)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const Q={};fe[0]&8192&&(Q.node=i[101]),c.$set(Q),(!P||fe[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?D||(D=dd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[101].badgeCounter?O?(O.p(i,fe),fe[0]&8192&&R(O,1)):(O=hd(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!P||fe[0]&8192&&p!==(p=i[33](i[101])))&&f(t,"href",p),(!P||fe[0]&8192&&b!==(b=i[35](i[101],i[30](i[101]))))&&f(t,"title",b),(!P||fe[0]&8320&&m!==(m="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||fe[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||fe[0]&8192&&C!==(C=le.getTestId(i[101])))&&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&&T(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),N=!1,Qe(I)}}}function pS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&T(e)}}}function mS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?vS:bS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function bS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function vS(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[101].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[101].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function dd(i){let e;return{c(){e=k("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function hd(i){let e,t;return e=new Ln({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function gd(i){let e,t,n=!i[101].hideFromNav&&fd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function _d(i){let e,t,n,l,r,a;const o=[rS,lS],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(FS).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),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~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&&T(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=k("div"),t=k("span"),n=k("span"),r=Te(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){L(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]:"")+"")&&Ae(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&&T(e),o&&o.d()}}}function md(i){let e;function t(r,a){return r[4]=="button"?kS:wS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function wS(i){let e,t,n,l;return{c(){e=k("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){L(r,e,a),n||(l=[ee(e,"click",i[77]),ee(e,"keydown",i[78])],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&&T(e),n=!1,Qe(l)}}}function kS(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("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){L(a,e,o),w(e,t),l||(r=ee(e,"click",i[76]),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&&T(e),l=!1,r()}}}function bd(i){let e,t=!i[12].renderer&&vd(i);return{c(){e=k("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){L(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&&T(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=k("ul"),t=k("li"),n=k("a"),d&&d.c(),l=W(),r=k("span"),o=Te(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){L(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)+"")&&Ae(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&&T(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?CS: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),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function SS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(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){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!tt(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&&T(e)}}}function CS(i){let e,t;return{c(){e=k("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){L(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&&T(e)}}}function kd(i){let e,t,n,l;return{c(){e=k("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){L(r,e,a),n||(l=ee(e,"click",St(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Sd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=Ve(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=k("div"),t=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=k("li"),r=W(),a=k("li"),o=k("div"),c=k("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=k("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){L(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[62](e),g=!0,p||(b=[ee(c,"click",i[42]),ee(c,"keypress",i[61])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=Ve(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(be(),N=m.length;N<v.length;N+=1)C(N);ve()}},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&&T(e),ht(v,y),i[62](null),p=!1,Qe(b)}}}function yS(i){let e,t,n,l,r,a,o=i[27](i[97])+"",c,h,d,g,p,b,m,v,C,y,P,N,I,V,E;function H(G,K){return K[0]&16384&&(l=null),l==null&&(l=!!G[32](G[98].metaInfo.icon)),l?NS:IS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[53](i[98])}function Y(){return i[54](i[98])}function Z(...G){return i[55](i[98],...G)}function fe(...G){return i[56](i[98],...G)}let Q=(!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8])&&Cd(i);return{c(){e=k("li"),t=k("div"),n=k("a"),O.c(),r=W(),a=k("span"),c=Te(o),h=W(),d=k("span"),g=W(),p=k("span"),y=W(),Q&&Q.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[98],i[27](i[97]))),f(t,"aria-expanded",v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:ln(i[98],i[9])),f(t,"aria-selected",C=i[6]&&i[98].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[98].metaInfo,i[97]))},m(G,K){L(G,e,K),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),Q&&Q.m(e,null),I=!0,V||(E=[ee(n,"click",St(z)),ee(n,"keypress",St(Y)),ee(n,"keypress",St(Z)),ee(t,"click",Vt(fe))],V=!0)},p(G,K){i=G,D===(D=H(i,K))&&O?O.p(i,K):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!I||K[0]&134234112)&&o!==(o=i[27](i[97])+"")&&Ae(c,o),(!I||K[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!I||K[0]&134234112&&m!==(m=i[35](i[98],i[27](i[97]))))&&f(t,"title",m),(!I||K[0]&17216&&v!==(v=i[6]?i[98].metaInfo&&i[98].metaInfo.label===i[8]:ln(i[98],i[9])))&&f(t,"aria-expanded",v),(!I||K[0]&16576&&C!==(C=i[6]&&i[98].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[98].metaInfo&&i[98].metaInfo.label===i[8]?Q?(Q.p(i,K),K[0]&16704&&R(Q,1)):(Q=Cd(i),Q.c(),R(Q,1),Q.m(e,null)):Q&&(be(),U(Q,1,1,()=>{Q=null}),ve()),(!I||K[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!I||K[0]&16384&&N!==(N=i[34](i[98].metaInfo,i[97])))&&f(e,"data-testid",N)},i(G){I||(R(Q),I=!0)},o(G){U(Q),I=!1},d(G){G&&T(e),O.d(),Q&&Q.d(),V=!1,Qe(E)}}}function PS(i){let e,t,n=Ve(i[98]),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);L(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=Ve(a[98]);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(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function IS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].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){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function NS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" "+(i[6]&&!i[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" "+(n[6]&&!n[98].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),h=Ve(i[98]),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=k("div"),t=k("div"),c&&c.c(),n=W(),l=k("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){L(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=Ve(p[98]);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(be(),m=h.length;m<d.length;m+=1)g(m);ve()}(!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&&T(e),c&&c.d(),ht(d,p)}}}function yd(i){let e,t,n,l,r=i[27](i[97])+"",a,o,c,h,d,g=i[10]&&i[98].metaInfo.icon&&Pd(i);return{c(){e=k("div"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(r),o=W(),c=k("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[98],i[27](i[97]))),f(e,"data-testid",d=i[34](i[98].metaInfo,i[97]))},m(p,b){L(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[98].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[97])+"")&&Ae(a,r),b[0]&134234112&&h!==(h=p[35](p[98],p[27](p[97])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[98].metaInfo,p[97]))&&f(e,"data-testid",d)},d(p){p&&T(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[98].metaInfo.icon)),e?LS:TS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function TS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[98].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[98].metaInfo.altText?i[98].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){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[98].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[98].metaInfo.altText?r[98].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function LS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[98].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[98].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function Id(i){let e,t,n=i[101].label&&Nd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Nd(i){let e,t,n,l,r=i[30](i[101])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E=i[30](i[101])+"",H,D,O,z,Y,Z,fe,Q,G,K,ae,ce,ne,Pe;c=new li({props:{node:i[101]}});let se=i[101].externalLink&&i[101].externalLink.url&&Td(),re=i[101].badgeCounter&&Ld(i);function we(...De){return i[57](i[101],...De)}function Je(...De){return i[58](i[101],...De)}O=new li({props:{node:i[101]}});let ye=i[101].externalLink&&i[101].externalLink.url&&Ad(),Le=i[101].badgeCounter&&Ed(i);function ze(...De){return i[59](i[101],...De)}function Xe(...De){return i[60](i[101],...De)}return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),o=W(),Be(c.$$.fragment),d=W(),g=k("span"),p=W(),se&&se.c(),b=W(),re&&re.c(),P=W(),N=k("li"),I=k("a"),V=k("span"),H=Te(E),D=W(),Be(O.$$.fragment),Y=W(),ye&&ye.c(),Z=W(),Le&&Le.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].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[101])),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[101],i[30](i[101]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[101]===i[7]),f(t,"data-testid",y=le.getTestId(i[101])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(I,"href",fe=i[33](i[101])),f(I,"class",Q="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(I,"role",G=i[24]?void 0:"button"),f(I,"tabindex","0"),f(I,"data-testid",K=le.getTestId(i[101])),f(I,"title",ae=i[35](i[101],i[30](i[101]))),Bn(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[100])},m(De,nt){L(De,e,nt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,g),w(n,p),se&&se.m(n,null),w(n,b),re&&re.m(n,null),L(De,P,nt),L(De,N,nt),w(N,I),w(I,V),w(V,H),w(V,D),Me(O,V,null),w(I,Y),ye&&ye.m(I,null),w(I,Z),Le&&Le.m(I,null),ce=!0,ne||(Pe=[ee(n,"click",we),ee(n,"keyup",function(){ki(i[24]?void 0:Je)&&(i[24]?void 0:Je).apply(this,arguments)}),ee(I,"click",ze),ee(I,"keyup",function(){ki(i[24]?void 0:Xe)&&(i[24]?void 0:Xe).apply(this,arguments)})],ne=!0)},p(De,nt){i=De,(!ce||nt[0]&16384)&&r!==(r=i[30](i[101])+"")&&Ae(a,r);const rt={};nt[0]&16384&&(rt.node=i[101]),c.$set(rt),(!ce||nt[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[101].externalLink&&i[101].externalLink.url?se||(se=Td(),se.c(),se.m(n,b)):se&&(se.d(1),se=null),i[101].badgeCounter?re?(re.p(i,nt),nt[0]&16384&&R(re,1)):(re=Ld(i),re.c(),R(re,1),re.m(n,null)):re&&(be(),U(re,1,1,()=>{re=null}),ve()),(!ce||nt[0]&16384&&m!==(m=i[33](i[101])))&&f(n,"href",m),(!ce||nt[0]&16384&&v!==(v=i[35](i[101],i[30](i[101]))))&&f(t,"title",v),(!ce||nt[0]&16512&&C!==(C=i[101]===i[7]))&&f(t,"aria-selected",C),(!ce||nt[0]&16384&&y!==(y=le.getTestId(i[101])))&&f(t,"data-testid",y),(!ce||nt[0]&16384)&&E!==(E=i[30](i[101])+"")&&Ae(H,E);const gt={};nt[0]&16384&&(gt.node=i[101]),O.$set(gt),(!ce||nt[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[101].externalLink&&i[101].externalLink.url?ye||(ye=Ad(),ye.c(),ye.m(I,Z)):ye&&(ye.d(1),ye=null),i[101].badgeCounter?Le?(Le.p(i,nt),nt[0]&16384&&R(Le,1)):(Le=Ed(i),Le.c(),R(Le,1),Le.m(I,null)):Le&&(be(),U(Le,1,1,()=>{Le=null}),ve()),(!ce||nt[0]&16384&&fe!==(fe=i[33](i[101])))&&f(I,"href",fe),(!ce||nt[0]&16512&&Q!==(Q="fd-nested-list__link "+(i[101]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(I,"class",Q),(!ce||nt[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(I,"role",G),(!ce||nt[0]&16384&&K!==(K=le.getTestId(i[101])))&&f(I,"data-testid",K),(!ce||nt[0]&16384&&ae!==(ae=i[35](i[101],i[30](i[101]))))&&f(I,"title",ae)},i(De){ce||(R(c.$$.fragment,De),R(re),R(O.$$.fragment,De),R(Le),ce=!0)},o(De){U(c.$$.fragment,De),U(re),U(O.$$.fragment,De),U(Le),ce=!1},d(De){De&&(T(e),T(P),T(N)),Fe(c),se&&se.d(),re&&re.d(),Fe(O),ye&&ye.d(),Le&&Le.d(),ne=!1,Qe(Pe)}}}function Td(i){let e;return{c(){e=k("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){L(t,e,n)},d(t){t&&T(e)}}}function Ld(i){let e,t;return e=new Ln({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ad(i){let e;return{c(){e=k("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Ed(i){let e,t;return e=new Ln({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Rd(i){let e,t,n=!i[101].hideFromNav&&Id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function Dd(i){let e,t,n=i[101].label&&Vd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Vd(i){let e,t,n,l,r,a=i[30](i[101])+"",o,c,h,d,g,p,b,m,v,C,y,P,N,I,V,E,H;function D(G,K){return G[101].icon?ES:AS}let O=D(i),z=O(i);h=new li({props:{node:i[101]}});let Y=i[101].externalLink&&i[101].externalLink.url&&Od(),Z=i[101].badgeCounter&&Md(i);function fe(...G){return i[50](i[101],...G)}function Q(...G){return i[51](i[101],...G)}return{c(){e=k("li"),t=k("div"),n=k("a"),z.c(),l=W(),r=k("span"),o=Te(a),c=W(),Be(h.$$.fragment),g=W(),Y&&Y.c(),p=W(),Z&&Z.c(),b=W(),m=k("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].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[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[101])),f(n,"title",y=i[35](i[101],i[30](i[101]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",N=le.getTestId(i[101])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",I=i[101]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,K){L(G,e,K),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),Y&&Y.m(n,null),w(n,p),Z&&Z.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",fe),ee(n,"keyup",function(){ki(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)}),ee(n,"mouseup",i[52])],E=!0)},p(G,K){i=G,O===(O=D(i))&&z?z.p(i,K):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||K[0]&16384)&&a!==(a=i[30](i[101])+"")&&Ae(o,a);const ae={};K[0]&16384&&(ae.node=i[101]),h.$set(ae),(!V||K[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[101].statusBadge&&i[101].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[101].externalLink&&i[101].externalLink.url?Y||(Y=Od(),Y.c(),Y.m(n,p)):Y&&(Y.d(1),Y=null),i[101].badgeCounter?Z?(Z.p(i,K),K[0]&16384&&R(Z,1)):(Z=Md(i),Z.c(),R(Z,1),Z.m(n,b)):Z&&(be(),U(Z,1,1,()=>{Z=null}),ve()),(!V||K[0]&16512&&v!==(v="fd-navigation__link "+(i[101]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||K[0]&16384&&C!==(C=i[33](i[101])))&&f(n,"href",C),(!V||K[0]&16384&&y!==(y=i[35](i[101],i[30](i[101]))))&&f(n,"title",y),(!V||K[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||K[0]&16384&&N!==(N=le.getTestId(i[101])))&&f(n,"data-testid",N),(!V||K[0]&16512&&I!==(I=i[101]===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&&T(e),z.d(),Fe(h),Y&&Y.d(),Z&&Z.d(),E=!1,Qe(H)}}}function AS(i){let e,t;return{c(){e=k("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){L(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&&T(e)}}}function ES(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[101].icon)),e?DS:RS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function RS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[101].icon)||f(t,"src",n),f(t,"alt",l=i[101].altText?i[101].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!tt(t.src,n=r[101].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[101].altText?r[101].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function DS(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[101].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[101].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&T(e)}}}function Od(i){let e;return{c(){e=k("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){L(t,e,n)},d(t){t&&T(e)}}}function Md(i){let e,t;return e=new Ln({props:{node:i[101]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[101]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fd(i){let e,t,n=!i[101].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[101].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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&&T(e),n&&n.d(l)}}}function Ud(i){let e,t,n,l,r,a;const o=[PS,yS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[97]==="undefined"||d[97].startsWith(d[15]))),e?0:(t==null&&(t=d[98].filter(MS).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),L(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~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&&T(r),~n&&c[n].d(d)}}}function VS(i){let e,t,n=Ve(i[94].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);L(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=Ve(a[94].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(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function Bd(i){let e,t;return e=new x2({props:{navGroup:i[94],expanded:i[94].groupEntry&&ln(i[94].groupEntry[1],i[9]),$$slots:{default:[VS]},$$scope:{ctx:i}}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[94]),l[0]&16896&&(r.expanded=n[94].groupEntry&&ln(n[94].groupEntry[1],n[9])),l[0]&151046080|l[3]&4194304&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function OS(i){let e,t,n,l,r,a;const o=[tS,eS],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),L(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&&T(n),c[e].d(d),r=!1,Qe(a)}}}function ln(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 MS=i=>!i.hideFromNav&&i.label,FS=i=>!i.hideFromNav&&i.label;function US(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 J=>{J&&(Object.getOwnPropertyNames(J).forEach(async Se=>{if(Se==="pathData")t(5,p=J.pathData);else if(Se==="context")D=J.context;else if(Se==="children")t(0,a=J.children);else if(Se==="selectedNode")t(7,C=J.selectedNode);else if(Se==="hasCategoriesWithIcon")t(10,N=J.hasCategoriesWithIcon);else if(Se==="navParent"){t(12,E=void 0);let je=J.navParent;if(t(45,H=je),je&&je.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let lt=je.navHeader,vt=je;if(lt==="inherit"){for(vt=je.parent;vt&&vt.navHeader==="inherit";)vt=vt.parent;lt=vt?vt.navHeader:void 0}if(lt instanceof Function){t(12,E={});let pt=lt(le.stripNode(je),le.stripNode(vt),D);pt instanceof Promise?pt.then(Wt=>{t(12,E=Wt)}):t(12,E=pt)}else if(lt==="auto")t(12,E={label:je.label,icon:je.icon});else if(lt&<.useTitleResolver&&vt.titleResolver){vt.titleResolver.prerenderFallback?t(12,E={...lt,label:vt.titleResolver.fallbackTitle||"",icon:vt.titleResolver.fallbackIcon}):t(12,E=lt);const pt=me.mapPathToNode(ot.getCurrentPath(),vt);qt.extractDataFromPath(pt).then(Wt=>{const zt=me.substituteDynamicParamsInObject(Object.assign({},Wt.pathData.context,vt.context),Wt.pathData.pathParams);le.fetchNodeTitleData(vt,zt).then(En=>{t(12,E={...lt,...En})}).catch(En=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...lt,label:je.label,icon:je.icon})})})}else t(12,E=await rt(lt,vt))}}}),t(44,I=le.getSideNavAccordionMode(C)))}},r=Xt();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=le.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,Y=Pt("store"),Z=Pt("getTranslation");Si(i,Z,J=>t(27,n=J));let fe=!1,Q=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1),G,K=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",ae,ce;const ne=J=>le.getNodeLabel(J),Pe=async()=>{window.Luigi.__btpNavTopCntRszObs&&(window.Luigi.__btpNavTopCntRszObs.disconnect(),delete window.Luigi.__btpNavTopCntRszObs),ce&&clearTimeout(ce);const J=l.get(),Se=await qt.getLeftNavData({...J},J);Se&&(l.set(Se),O=p,window.LEFTNAVDATA=Se.children)};rn(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,fe=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),bn.doOnStoreChange(Y,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),bn.doOnStoreChange(Y,()=>{Pe()},["navigation.viewgroupdata"]);let J=vi.initial();t(6,v=J.isSemiCollapsed),t(43,h=J.semiCollapsible),vi.onValueChanged(Se=>{t(6,v=Se.isSemiCollapsed)}),Wn.addEventListener("message",Se=>{Se.data.msg==="luigi.navigation.update-badge-counters"&&Pe()})});const se=()=>{if(G){const J=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Se=G.querySelector(".fd-navigation__list"),je=G.querySelector(".fd-navigation__list > .lui-spacer");J==null||J.forEach(lt=>{lt.navGroupId?Se.querySelector(`[navGroupId="${lt.navGroupId}"]`).appendChild(lt):Se.insertBefore(lt,je)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},re=()=>{if(G){const J=G.querySelector(".fd-navigation__list > .lui-spacer"),Se=G.querySelector(".lui-moreItems"),je=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(J.clientHeight===0&&je.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let lt=je.length-1;lt>0&&(lastNode=je[lt-1],je[lt].navGroupId=je[lt].parentNode.getAttribute("navGroupId"),Se.insertBefore(je[lt],Se.firstChild),!(J.clientHeight>0));lt--);}}},we=()=>{const J=Se=>{Se&&ge(Se)};E!=null&&E.renderer&&ae&&(E.clearBeforeRender&&t(26,ae.innerHTML="",ae),E.renderer(ae,H,J,{...E,context:p._context}))};ea(()=>{window.Luigi.__btpNavTopCntRszObs||(window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((J,Se)=>{ce&&clearTimeout(ce),v&&(ce=setTimeout(()=>{se(),re()},100))})),window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):se(),we()}),Zn(()=>{(!O||O!=p)&&Pe(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=le.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function Je(J){if(Q){const Se={},je=[],lt=K;let vt=[];return J.forEach(pt=>{if(pt[0].startsWith(m))vt.push({isSingleEntry:!0,entries:[pt]});else{const Wt=pt[1].metaInfo.categoryUid;if(Wt&&Wt.indexOf(lt)>0)je.push(pt);else{const zt=pt[1].metaInfo.isGroup;Se[Wt]={isSingleEntry:!zt,title:n(pt[1].metaInfo.label),groupEntry:pt,uid:Wt,entries:[zt?["undefined",pt[1]]:pt]},vt.push(Se[Wt]),!le.isCollapsedSuperCategory(Wt)&&zt&&Ie(pt[1],!0)}}}),je.forEach(pt=>{const Wt=pt[1].metaInfo.categoryUid.split(lt)[0],zt=Se[Wt];zt&&(zt.isSingleEntry&&(zt.isSingleEntry=!1,zt.entries=[["undefined",zt.groupEntry[1]]]),zt.entries.push(pt))}),vt.filter(pt=>{if(pt.entries&&pt.entries.length>0)for(let Wt=0;Wt<pt.entries.length;Wt++){const[zt,En]=pt.entries[Wt];if(En.filter(zn=>!zn.hideFromNav&&zn.label).length>0)return!0}return!1})}else return J}let{sortedChildrenEntries:ye}=e,{sortedVerticalNavGroups:Le}=e;function ze(J){return le.renderIconClassName(J)}function Xe(J){return le.isOpenUIiconName(J)}function De(J){return me.getNodeHref(J,b)}function nt(J,Se){return J&&J.testId?J.testId:le.prepareForTests(Se||J.label)}async function rt(J,Se){const je=me.mapPathToNode(ot.getCurrentPath(),Se),vt=(await qt.extractDataFromPath(je)).pathData.pathParams;return me.substituteDynamicParamsInObject(J,vt)}function gt(J,Se){return le.generateTooltipText(J,Se)}function ge(J){r("handleClick",{node:J})}function Ze(J,Se){if(vi.getCollapsed()){let je,lt=document.getElementsByClassName("fd-app__sidebar")[0];if(J.metaInfo&&J.metaInfo.label?je=J.metaInfo.label:je=J.category&&J.category.label||J.category,lt&&!lt.classList.contains("isBlocked")&&(lt.className+=" isBlocked"),je===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=je),lt?Ht(Se):Q&&(Wo(Se),Se.closest(".lui-moreItems")||ut())}}function Ht(J){const Se=J.closest(".fd-nested-list__item"),je=Se.offsetTop,lt=ji.getShellbar().offsetHeight;let vt;ji.isCustomLuigiContainer()?vt=ji.getCustomLuigiContainer().clientHeight:vt=window.innerHeight,setTimeout(()=>{const pt=Se.getElementsByClassName("lui-flyout-sublist")[0],Wt=J.closest(".lui-fd-side-nav-wrapper").scrollTop,zt=je+lt-Wt,En=vt-je-Se.offsetHeight+Wt-lt;zt+pt.offsetHeight>=vt?(pt.style.bottom=En+"px",pt.className+=" has-bottom-position"):pt.style.top=zt-lt+"px"})}function An(){if(h){let J=vi.onResize(y);t(6,v=J.isSemiCollapsed),t(8,y=J.selectedCategory)}}function on(J){if(J.code==="ArrowRight"){const je=Ee.getCurrentMicrofrontendIframe();je&&je.contentWindow&&je.contentWindow.focus()}}function an(J){let Se=H?H.parent:void 0;for(;Se;){if(Se.pathSegment&&Se.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Se});return}Se=Se.parent}console.warn('Could not resolve "up"-node, redirecting to root'),rp.navigate("/")}function Ie(J,Se){vi.getCollapsed()||t(9,P=le.storeExpandedState(J.metaInfo.categoryUid,Se,I))}function ut(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function it(){t(8,y=vi.closePopupMenu(y)),ut()}function un(J){J&&J.code==="Escape"&&it()}function Gt(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),ri()}function qn(J){const Se=J.code;(Se==="Enter"||Se==="Space")&&Gt()}function Kt(J,Se){(J.code==="Enter"||J==="Space")&&Ze(Se,J.currentTarget)}function Jt(J,Se){J.keyCode===bl&&le.handleNavAnchorClickedWithoutMetaKey(J)&&ge(Se)}function ri(){if(!le.getBurgerTooltipConfig())return;const[J,Se]=le.getBurgerTooltipConfig(),je=document.body.classList.contains("lui-semiCollapsible");J&&Se&&je&&t(11,V=document.body.classList.contains("semiCollapsed")?J:Se)}function $t(J,Se){return ln(J,Se)?J.metaInfo.titleCollapseButton?n(J.metaInfo.titleCollapseButton):void 0:J.metaInfo.titleExpandButton?n(J.metaInfo.titleExpandButton):void 0}function vn(J){if(!J)return;const Se=J.target.parentElement;Se.getAttribute("aria-expanded")==="true"?Se.setAttribute("aria-expanded","false"):(it(),Se.setAttribute("aria-expanded","true")),J.stopPropagation()}function Ci(J){Ye[J?"unshift":"push"](()=>{ae=J,t(26,ae)})}const yi=(J,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(J)},wn=(J,Se)=>Jt(Se,J),Pi=J=>{v&&J.target.blur()},Ii=J=>Ie(J,!ln(J,P)),Ni=J=>Ie(J,!ln(J,P)),Ti=(J,Se)=>Kt(Se,J),Li=(J,Se)=>Ze(J,Se.currentTarget),Sl=(J,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(J)},Cl=(J,Se)=>Jt(Se,J),yl=(J,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(J)},Ai=(J,Se)=>Jt(Se,J),Yi=J=>{(J.code==="Enter"||J.code==="Space")&&vn(J)};function Qi(J){Ye[J?"unshift":"push"](()=>{G=J,t(25,G)})}function hi(J){Ye[J?"unshift":"push"](()=>{ae=J,t(26,ae)})}const Pl=(J,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(J)},Il=(J,Se)=>Jt(Se,J),Zi=J=>Ie(J,!ln(J,P)),Nl=J=>Ie(J,!ln(J,P)),Tl=(J,Se)=>Kt(Se,J),Ll=(J,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(J)},Ei=(J,Se)=>Jt(Se,J),Al=(J,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(J)},ai=(J,Se)=>Jt(Se,J),Ri=J=>Ze(J,event.currentTarget),gi=(J,Se)=>{le.handleNavAnchorClickedWithoutMetaKey(Se)&&ge(J)},Di=(J,Se)=>Jt(Se,J),_i=J=>Gt(),Xi=J=>Gt(),$i=J=>qn(J);return i.$$set=J=>{"children"in J&&t(0,a=J.children),"hideNavComponent"in J&&t(1,o=J.hideNavComponent),"footerText"in J&&t(2,c=J.footerText),"semiCollapsible"in J&&t(43,h=J.semiCollapsible),"semiCollapsibleButton"in J&&t(3,d=J.semiCollapsibleButton),"semiCollapsibleButtonStyle"in J&&t(4,g=J.semiCollapsibleButtonStyle),"pathData"in J&&t(5,p=J.pathData),"pathParams"in J&&t(46,b=J.pathParams),"virtualGroupPrefix"in J&&t(15,m=J.virtualGroupPrefix),"isSemiCollapsed"in J&&t(6,v=J.isSemiCollapsed),"selectedNode"in J&&t(7,C=J.selectedNode),"selectedCategory"in J&&t(8,y=J.selectedCategory),"expandedCategories"in J&&t(9,P=J.expandedCategories),"hasCategoriesWithIcon"in J&&t(10,N=J.hasCategoriesWithIcon),"sideNavAccordionMode"in J&&t(44,I=J.sideNavAccordionMode),"burgerTooltip"in J&&t(11,V=J.burgerTooltip),"navHeader"in J&&t(12,E=J.navHeader),"navParentNode"in J&&t(45,H=J.navParentNode),"sortedChildrenEntries"in J&&t(13,ye=J.sortedChildrenEntries),"sortedVerticalNavGroups"in J&&t(14,Le=J.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const J=Object.entries(a);J.sort((Se,je)=>Se[1].metaInfo.order-je[1].metaInfo.order),t(13,ye=J),t(14,Le=Je(J))}},[a,o,c,d,g,p,v,C,y,P,N,V,E,ye,Le,m,ge,Ze,An,on,an,Ie,it,z,fe,G,ae,n,Z,Q,ne,ze,Xe,De,nt,gt,un,Gt,qn,Kt,Jt,$t,vn,h,I,H,b,Ht,Wo,Ci,yi,wn,Pi,Ii,Ni,Ti,Li,Sl,Cl,yl,Ai,Yi,Qi,hi,Pl,Il,Zi,Nl,Tl,Ll,Ei,Al,ai,Ri,gi,Di,_i,Xi,$i]}class cp extends Mt{constructor(e){super(),Ot(this,e,US,OS,Dt,{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 BS=i=>{bn.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}),ie.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||""})),dp(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"])},HS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),Hd=(i,e,t)=>{let n=!0;return ie.trimTrailingSlash(ie.trimLeadingSlash(i)).split("/").forEach((l,r)=>{n&&(r+1>=e.length||!e[r+1].pathSegment||!HS(l,e[r+1].pathSegment,t))&&(n=!1)}),n},dp=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=>{var d;let h=Hd(c.link,t,n);return!h&&((d=c.selectionConditions)!=null&&d.route)&&(h=Hd(c.selectionConditions.route,t,n),h&&(c.selectionConditions.contextCriteria||[]).forEach(g=>{h=h&&kr.get(t._context,g.key)===g.value})),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=na.getDocumentTitle()||r;i.set({title:r}),document.title=Et.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Wd(i,e,t){const n=i.slice();return n[46]=e[t],n[48]=t,n}function qd(i,e,t){const n=i.slice();return n[46]=e[t],n}function WS(i){let e,t,n,l,r=i[1]&&zd(i);return{c(){e=k("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){L(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=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&&T(e),r&&r.d(),n=!1,l()}}}function qS(i){let e,t,n,l,r=i[1]&&Gd(i);return{c(){e=k("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){L(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=Gd(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&&T(e),r&&r.d(),n=!1,l()}}}function zd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[30](null)}}}function Gd(i){let e;return{c(){e=k("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[28](null)}}}function Kd(i){let e,t,n,l=(!i[3]||i[4])&&Jd(i),r=i[3]&&jd(i),a=i[12]&&i[5]&&ih(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),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Jd(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=ih(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(t),T(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Jd(i){let e;function t(r,a){return r[14]?GS:zS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function zS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=k("span"),t=k("span"),l=Te(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),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])+"")&&Ae(l,n)},d(o){o&&T(e),r=!1,a()}}}function GS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Te(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){L(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])+"")&&Ae(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&&T(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]?JS:KS}let b=p(i),m=b(i),v=i[6]&&i[7]&&xd(i),C=i[9]&&i[9].length>0&&eh(i);return{c(){e=k("div"),t=k("div"),m.c(),n=W(),l=k("div"),r=k("nav"),a=k("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")+" "+(i[9]&&i[9].length===1&&"lui-sat")+" svelte-bbvnsa")},m(y,P){L(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[39](a),d||(g=ee(t,"click",Vt(ZS)),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=eh(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]&528&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" "+(y[9]&&y[9].length===1&&"lui-sat")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&T(e),m.d(),v&&v.d(),C&&C.d(),i[39](null),d=!1,g()}}}function KS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("button"),t=k("span"),l=Te(n),r=W(),a=k("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){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Vt(i[37])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function JS(i){let e,t,n,l=i[9]&&i[9].length===1&&Yd(i),r=i[9]&&i[9].length>1&&Qd(i),a=i[9].length>1&&!i[7]&&$d(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),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Yd(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=Qd(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=$d(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){o&&(T(e),T(t),T(n)),l&&l.d(o),r&&r.d(o),a&&a.d(o)}}}function Yd(i){let e,t,n=i[19](i[9][0].title)+"",l,r,a,o;return{c(){e=k("a"),t=k("span"),l=Te(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[34]),a=!0)},p(c,h){h[0]&524800&&n!==(n=c[19](c[9][0].title)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[24](c[9][0]))&&f(e,"href",r)},d(c){c&&T(e),a=!1,o()}}}function Qd(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Xd(qd(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);L(l,e,r)},p(l,r){if(r[0]&25832068){t=Ve(l[9]);let a;for(a=0;a<t.length;a+=1){const o=qd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Xd(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&&T(e),ht(n,l)}}}function Zd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("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[46])),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){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",St(i[35])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Ae(l,n),b[0]&512&&c!==(c=p[24](p[46]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&T(e),d=!1,g()}}}function Xd(i){let e=i[46]===i[7]&&i[23](i[46],i[11]),t,n=e&&Zd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&2688&&(e=l[46]===l[7]&&l[23](l[46],l[11])),e?n?n.p(l,r):(n=Zd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function $d(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(n),r=W(),a=k("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){L(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",St(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function xd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(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){L(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",St(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Ae(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&T(e),o=!1,c()}}}function eh(i){let e,t=Ve(i[9]),n=[];for(let l=0;l<t.length;l+=1)n[l]=nh(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);L(l,e,r)},p(l,r){if(r[0]&32296576){t=Ve(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]=nh(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&&T(e),ht(n,l)}}}function jS(i){let e,t,n,l=i[19](i[46].title)+"",r,a,o,c,h,d;function g(...p){return i[38](i[46],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(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[46],i[11]):void 0),f(t,"data-testid",o=i[22](i[46])),f(e,"class","fd-menu__item")},m(p,b){L(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[46].title)+"")&&Ae(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[46],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[46]))&&f(t,"data-testid",o)},d(p){p&&T(e),h=!1,d()}}}function YS(i){let e,t=i[18]&&th(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=th(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function th(i){let e,t,n=i[21](i[46],i[18],i[48])+"",l;return{c(){e=k("li"),t=new Cr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[46],r[18],r[48])+"")&&t.p(n)},d(r){r&&T(e)}}}function nh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!ie.isFunction(o[10])),e)return YS;if(t==null&&(t=!!(o[46]!==o[7]&&o[23](o[46],o[11]))),t)return jS}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),L(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&&T(n),a&&a.d(o)}}}function ih(i){let e,t=i[19](i[12])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function QS(i){let e,t;function n(o,c){return o[14]?qS:WS}let l=n(i),r=l(i),a=i[2]&&Kd(i);return{c(){r.c(),e=W(),a&&a.c(),t=ke()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Kd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:Ue,o:Ue,d(o){o&&(T(e),T(t)),r.d(o),a&&a.d(o)}}}const ZS=()=>{};function XS(i,e,t){let n;const l=Xt();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=Pt("getUnsavedChangesModalPromise"),O=Pt("getTranslation");Si(i,O,ge=>t(19,n=ge));let z=Pt("store");const Y={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:ge=>{ge&&Object.getOwnPropertyNames(ge).forEach(Ze=>{Ze==="pathData"?t(26,I=ge.pathData):Ze==="appSwitcherItems"?t(9,v=ge.appSwitcherItems):Ze==="itemRenderer"?t(10,C=ge.itemRenderer):Ze==="pathParams"?t(11,y=ge.pathParams):Ze==="selectedItem"?t(7,b=ge.selectedItem):Ze==="title"?t(2,o=ge.title):Ze==="defaultSubTitle"?t(25,N=ge.defaultSubTitle):Ze==="subTitle"?t(12,P=ge.subTitle):Ze==="defaultTitle"?t(8,m=ge.defaultTitle):Ze==="subTitle"?t(12,P=ge.subTitle):Ze==="showMainAppEntry"?t(6,p=ge.showMainAppEntry):Ze==="hasApps"?t(3,c=ge.hasApps):Ze==="keepMainTitle"?t(4,h=ge.keepMainTitle):Ze==="showSubTitle"?t(5,d=ge.showSubTitle):Ze==="hasLogo"&&t(1,a=ge.hasLogo)})},store:z});rn(()=>{BS(Z())}),Zn(()=>{(!H||H!=I)&&(dp(Z()),H=I)});function fe(ge,Ze,Ht){return setTimeout(()=>{Ze&&C(ge,Ze.children[Ht],Y)}),""}function Q(ge){D().then(()=>{ot.navigateTo(me.applyPathParams(ge,y))},()=>{})}function G(){D().then(()=>{ot.navigateTo("/")},()=>{})}function K(ge){l("handleClick",{node:ge}),ae("appSwitcherPopover")}function ae(ge){l("toggleDropdownState",{name:ge})}function ce(ge){return ge.testId?ge.testId:le.prepareForTests(ge.title||ge)}function ne(ge,Ze){if(ge.link){const Ht=me.applyPathParams(ge.link,Ze);if(Ht.indexOf(":")!==0&&Ht.indexOf("/:")===-1)return!0}return!1}function Pe(ge){return me.getNodeHref(ge)}function se(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const re=ge=>{le.handleNavAnchorClickedWithoutMetaKey(ge)&&Q("/")};function we(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const Je=()=>Q("/"),ye=ge=>{le.handleNavAnchorClickedWithoutMetaKey(ge)&&Q("/")},Le=()=>Q("/"),ze=ge=>{le.handleNavAnchorClickedWithoutMetaKey(ge)&&Q(v[0].link)},Xe=()=>ae("appSwitcherPopover"),De=()=>ae("appSwitcherPopover"),nt=()=>ae("appSwitcherPopover"),rt=(ge,Ze)=>{le.handleNavAnchorClickedWithoutMetaKey(Ze)&&Q(ge.link)};function gt(ge){Ye[ge?"unshift":"push"](()=>{E=ge,t(18,E)})}return i.$$set=ge=>{"logo"in ge&&t(0,r=ge.logo),"hasLogo"in ge&&t(1,a=ge.hasLogo),"title"in ge&&t(2,o=ge.title),"hasApps"in ge&&t(3,c=ge.hasApps),"keepMainTitle"in ge&&t(4,h=ge.keepMainTitle),"showSubTitle"in ge&&t(5,d=ge.showSubTitle),"dropDownStates"in ge&&t(13,g=ge.dropDownStates),"showMainAppEntry"in ge&&t(6,p=ge.showMainAppEntry),"selectedItem"in ge&&t(7,b=ge.selectedItem),"defaultTitle"in ge&&t(8,m=ge.defaultTitle),"appSwitcherItems"in ge&&t(9,v=ge.appSwitcherItems),"itemRenderer"in ge&&t(10,C=ge.itemRenderer),"pathParams"in ge&&t(11,y=ge.pathParams),"subTitle"in ge&&t(12,P=ge.subTitle),"defaultSubTitle"in ge&&t(25,N=ge.defaultSubTitle),"pathData"in ge&&t(26,I=ge.pathData),"addNavHrefForAnchor"in ge&&t(14,V=ge.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Q,G,ae,E,n,O,fe,ce,ne,Pe,N,I,K,se,re,we,Je,ye,Le,ze,Xe,De,nt,rt,gt]}class $S extends Mt{constructor(e){super(),Ot(this,e,XS,QS,Dt,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function lh(i,e,t){const n=i.slice();return n[34]=e[t],n}function rh(i){let e,t,n,l,r,a,o=i[0]&&ah(i),c=(i[10]||i[11])&&hh(i);return{c(){e=k("div"),o&&o.c(),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("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){L(h,e,d),o&&o.m(e,null),L(h,t,d),L(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=ah(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=hh(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&(T(e),T(t),T(n)),o&&o.d(),c&&c.d()}}}function ah(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?eC:xS}let h=c(i),d=h(i),g=i[7].name&&sh(i),p=i[7].description&&oh(i),b=Ve(i[9].items),m=[];for(let C=0;C<b.length;C+=1)m[C]=fh(lh(i,b,C));let v=i[12]&&ch(i);return{c(){e=k("div"),d.c(),t=W(),n=k("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=k("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){L(C,e,y),d.m(e,null),L(C,t,y),L(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),L(C,r,y),L(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=sh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=oh(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=Ve(C[9].items);let P;for(P=0;P<b.length;P+=1){const N=lh(C,b,P);m[P]?m[P].p(N,y):(m[P]=fh(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=ch(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&(T(e),T(t),T(n),T(r),T(a)),d.d(),g&&g.d(),p&&p.d(),ht(m,C),v&&v.d()}}}function xS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Te(t),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&T(e)}}}function eC(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--l fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),Bn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&Bn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function sh(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&T(e)}}}function oh(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&T(e)}}}function uh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),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),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function tC(i){let e,t;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Bn(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&Bn(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&T(e)}}}function nC(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function fh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&uh(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(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){L(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=uh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Qe(d)}}}function ch(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&dh(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=W(),l=k("span"),a=Te(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){L(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",St(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=dh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Ae(a,r)},d(d){d&&T(e),h&&h.d(),o=!1,Qe(c)}}}function dh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),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),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function iC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),tt(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function lC(i){let e,t;return{c(){e=k("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&T(e)}}}function hh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&gh(i),l=i[10]&&!i[8]&&_h(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=gh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=_h(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function gh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=k("div"),t=k("button"),l=Te(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){L(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)+"")&&Ae(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),a=!1,o()}}}function _h(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=W(),n=k("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){L(a,e,o),L(a,t,o),L(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:Ue,d(a){a&&(T(e),T(t),T(n)),l=!1,Qe(r)}}}function rC(i){let e,t=!i[1]&&rh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=rh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function aC(i,e,t){let n;const l=Xt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Pt("store"),C=Pt("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");rn(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),gn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){gn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(bn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),re={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const we=se.userSettingsProfileMenuEntry;re.settings={...ml.userSettingsProfileMenuEntry,...we}}re.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,gn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=re),t(12,p=!!se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(gn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ot.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Y(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){na.openUserSettings(),l("toggleDropdownState")}function fe(){gn.logout(),l("toggleDropdownState")}function Q({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const K=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),ce=ne=>Q(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,Y,Z,Q,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,fe,K,ae,ce]}class sC extends Mt{constructor(e){super(),Ot(this,e,aC,rC,Dt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function ph(i,e,t){const n=i.slice();return n[34]=e[t],n}function mh(i){let e,t,n,l,r,a=i[0]&&bh(i),o=Ve(i[9].items),c=[];for(let g=0;g<o.length;g+=1)c[g]=wh(ph(i,o,g));let h=i[12]&&kh(i),d=(i[10]||i[11])&&Ch(i);return{c(){e=k("nav"),t=k("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){L(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=bh(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=Ve(g[9].items);let b;for(b=0;b<o.length;b+=1){const m=ph(g,o,b);c[b]?c[b].p(m,p):(c[b]=wh(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=kh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&T(e),a&&a.d(),ht(c,g),h&&h.d(),d&&d.d()}}}function bh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Te(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){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ae(l,n)},d(r){r&&T(e)}}}function vh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),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),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function oC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function uC(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function wh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&vh(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),g&&g.c(),n=W(),l=k("span"),a=Te(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){L(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=vh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),g&&g.d(),h=!1,Qe(d)}}}function kh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&Sh(i);return{c(){e=k("li"),t=k("a"),d&&d.c(),n=W(),l=k("span"),a=Te(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){L(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",St(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=Sh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,Qe(h)}}}function Sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),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),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function fC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function cC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&yh(i),l=i[10]&&!i[8]&&Ih(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=yh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Ih(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){r&&(T(e),T(t)),n&&n.d(r),l&&l.d(r)}}}function yh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ph(i);return{c(){e=k("li"),t=k("button"),d&&d.c(),n=W(),l=k("span"),a=Te(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){L(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=Ph(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&T(e),d&&d.d(),c=!1,h()}}}function Ph(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?hC:dC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function dC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),tt(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!tt(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function hC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ih(i){let e,t,n;return{c(){e=k("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:Ue,d(l){l&&T(e),t=!1,n()}}}function gC(i){let e,t=!i[1]&&mh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=mh(n),t.c(),t.m(e.parentNode,e))},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function _C(i,e,t){let n;const l=Xt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=Pt("store"),C=Pt("getTranslation");Si(i,C,ne=>t(13,n=ne));let y=Pt("getUnsavedChangesModalPromise"),P=Pt("openViewInModal");rn(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),gn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),gn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function N(){gn.startAuthorization()}function I(ne){return le.renderIconClassName(ne)}function V(ne){return le.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:le.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(bn.doOnStoreChange(v,async()=>{setTimeout(async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),Pe=await te.getConfigValueAsync("userSettings"),se=Pe||await te.getConfigValueAsync("settings.userSettings"),re={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(se){const we=se.userSettingsProfileMenuEntry;re.settings={...ml.userSettingsProfileMenuEntry,...we}}re.logout={...ml.logout,...ne},t(11,g=!!ne),m=!1,gn.setProfileLogoutFn(null),ne&&ie.isFunction(ne.customLogoutFn)&&(m=!0,gn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=re),t(12,p=!!se)})},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(gn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const Pe=me.buildRoute(ne,`${ne.link}`);P(Pe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else ot.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Y(){y().then(()=>{d?fe():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){na.openUserSettings(),l("toggleDropdownState")}function fe(){gn.logout()}function Q({keyCode:ne}){(ne===bl||ne===xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const K=ne=>{le.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),ce=ne=>Q(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,Y,Z,Q,o,c,h,d,g,p,n,C,N,I,V,E,H,D,O,fe,K,ae,ce]}class hp extends Mt{constructor(e){super(),Ot(this,e,_C,gC,Dt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Nh(i,e,t){const n=i.slice();return n[11]=e[t],n}function Th(i){let e,t,n=Ve(i[1]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Eh(Nh(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);L(a,e,o),t=!0},p(a,o){if(o&254){n=Ve(a[1]);let c;for(c=0;c<n.length;c+=1){const h=Nh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Eh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function Lh(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?mC:pC}let I=N(i,-1),V=I(i);r=new Ln({props:{node:i[11]}});let E=p&&Ah(i);function H(){return i[9](i[11])}return{c(){e=k("li"),t=k("div"),V.c(),l=W(),Be(r.$$.fragment),a=W(),o=k("div"),c=k("div"),d=Te(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=le.getTestId(i[11]))},m(D,O){L(D,e,O),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,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])+"")&&Ae(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Ah(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=le.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&&T(e),V.d(),Fe(r),E&&E.d(),y=!1,P()}}}function pC(i){let e,t,n;return{c(){e=k("img"),tt(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){L(l,e,r)},p(l,r){r&2&&!tt(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&&T(e)}}}function mC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){L(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&&T(e)}}}function Ah(i){let e,t=i[4](i[11])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function Eh(i){let e,t,n=i[11].label&&Lh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Lh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function bC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,N,I=i[1]&&Th(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),o=Te(i[0]),c=W(),h=k("div"),d=k("div"),g=k("ul"),I&&I.c(),p=W(),b=k("footer"),m=k("div"),v=k("div"),C=k("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){L(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",Vt(vC))],P=!0)},p(V,[E]){(!y||E&1)&&Ae(o,V[0]),V[1]?I?(I.p(V,E),E&2&&R(I,1)):(I=Th(V),I.c(),R(I,1),I.m(g,null)):I&&(be(),U(I,1,1,()=>{I=null}),ve())},i(V){y||(R(I),y=!0)},o(V){U(I),y=!1},d(V){V&&T(e),I&&I.d(),P=!1,Qe(N)}}}const vC=()=>{};function wC(i,e,t){const n=Xt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return le.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Ki.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 gp extends Mt{constructor(e){super(),Ot(this,e,wC,bC,Dt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:kC}=wl;function Rh(i,e,t){const n=i.slice();return n[7]=e[t],n}function Dh(i){let e,t,n,l=i[0]&&Vh(i);return{c(){e=k("nav"),t=k("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){L(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=Vh(r),l.c(),R(l,1),l.m(t,null)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Vh(i){let e,t,n=Ve(i[0]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Mh(Rh(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);L(a,e,o),t=!0},p(a,o){if(o&7693){n=Ve(a[0]);let c;for(c=0;c<n.length;c+=1){const h=Rh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Mh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function Oh(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?CC:SC}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=k("li"),t=k("a"),n=k("span"),N.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(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=le.getTestId(i[7]))},m(V,E){L(V,e,E),w(e,t),w(t,n),N.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[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])+"")&&Ae(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=le.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&&T(e),N.d(),Fe(a),v=!1,Qe(C)}}}function SC(i){let e,t,n;return{c(){e=k("img"),f(e,"class","sap-icon svelte-1811tf3"),tt(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function CC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Mh(i){let e,t,n=i[7].label&&Oh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Oh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Fh(i){let e,t;return e=new gp({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(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function yC(i){let e,t,n,l,r,a=!i[1]&&Dh(i),o=i[1]&&Fh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=ke()},m(c,h){a&&a.m(c,h),L(c,e,h),o&&o.m(c,h),L(c,t,h),n=!0,l||(r=ee(kC,"resize",fs),l=!0)},p(c,[h]){c[1]?a&&(be(),U(a,1,1,()=>{a=null}),ve()):a?(a.p(c,h),h&2&&R(a,1)):(a=Dh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Fh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(be(),U(o,1,1,()=>{o=null}),ve())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){c&&(T(e),T(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 PC(i,e,t){const n=Xt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=Pt("getUnsavedChangesModalPromise"),h=Pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});rn(async()=>{fs()}),Zn(async()=>{r||t(0,r=await qt.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 ot.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return le.isOpenUIiconName(E.icon)}function y(E){return le.renderIconClassName(E)}function P(E){return Et.getTranslation(E.label)}function N(E){return me.getNodeHref(E,o)}const I=E=>{le.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,fs,a,g,C,y,P,N,I,V]}class _p extends Mt{constructor(e){super(),Ot(this,e,PC,yC,Dt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return fs}}const Cn={_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?ie.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=ie.addLeadingSlash(ot.getCurrentPath()),n=ie.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ie.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=ie.normalizePath(i),n=ie.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=Cn._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=ie.normalizePath(i),t=ie.normalizePath(t),!!Cn.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=Cn.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 Cn.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 Cn.generateSwitcherNav(e,t)}};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,e,t){const n=i.slice();return n[20]=e[t],n}function Wh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=zh(Hh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=Hh(l,t,a);n[a]?n[a].p(o,r):(n[a]=zh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function qh(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=k("li"),t=k("a"),n=k("span"),r=Te(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=le.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",St(RC)),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=le.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Qe(d)}}}function zh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&qh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=qh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){l&&T(t),n&&n.d(l)}}}function Gh(i){let e;return{c(){e=k("li"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div> <div class="fd-busy-indicator__circle"></div></div>',f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Kh(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Jh(Bh(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);L(l,e,r)},p(l,r){if(r&4542){t=Ve(l[3]);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]=Jh(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&&T(e),ht(n,l)}}}function IC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function NC(i){let e,t,n,l,r;function a(d,g){return d[2]?LC:TC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=k("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=le.getTestId(i[20]))},m(d,g){L(d,e,g),c.m(e,null),L(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=le.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&(T(e),T(n)),c.d(),l=!1,r()}}}function TC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=k("a"),t=k("span"),l=Te(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){L(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]+"")&&Ae(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&&T(e),c=!1,h()}}}function LC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new Cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function AC(i){return{c:Ue,m:Ue,p:Ue,d:Ue}}function Jh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:AC,then:NC,catch:IC,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){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&rs(t,n)||Q_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function jh(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Qh(Uh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null)},p(l,r){if(r&10497){t=Ve(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]=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&&T(e),ht(n,l)}}}function Yh(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=k("li"),t=k("a"),n=k("span"),r=Te(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=le.getTestId(i[20]))},m(p,b){L(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)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=le.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,Qe(d)}}}function Qh(i){let e,t=i[20].position==="bottom"&&Yh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Yh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function EC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Wh(i),c=i[3]&&i[3].length===0&&i[10]&&Gh(),h=i[3]&&i[3].length&&Kh(i),d=i[0]&&i[0].length&&jh(i);return{c(){e=k("nav"),o&&o.c(),t=W(),n=k("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){L(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=Wh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=Gh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Kh(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:Ue,o:Ue,d(g){g&&T(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const RC=()=>{};function DC(i,e,t){let n,l=Ue,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=Xt();function P(O){y("onActionClick",{node:O})}function N(O,z){y("goToOption",{option:O,selectedOption:z})}const I=O=>P(O),V=O=>{le.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>N(O,g),H=O=>{le.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 pp extends Mt{constructor(e){super(),Ot(this,e,DC,EC,Dt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Zh(i){let e,t,n,l=!i[9]&&Xh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&$h(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(be(),U(l,1,1,()=>{l=null}),ve()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Xh(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=$h(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Xh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?OC:VC}let p=g(i),b=p(i);return a=new pp({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=k("div"),t=k("div"),n=k("div"),b.c(),l=W(),r=k("div"),Be(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){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,h||(d=ee(n,"click",Vt(KC)),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&&T(e),b.d(),Fe(a),h=!1,d()}}}function VC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?FC:MC}let c=o(i),h=c(i);return{c(){e=k("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){L(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&&T(e),h.d(),r=!1,a()}}}function OC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?WC:HC}let h=c(i),d=h(i);return{c(){e=k("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){L(g,e,p),d.m(e,null),a||(o=ee(e,"click",St(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&&T(e),d.d(),a=!1,o()}}}function MC(i){let e,t;function n(a,o){return a[4]?UC:BC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function FC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function UC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function BC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function HC(i){let e,t;function n(a,o){return a[4]?qC:zC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=k("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){a&&(T(e),T(t)),r.d(a)}}}function WC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new Cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function qC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function zC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function $h(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]&&eg(i);return d=new pp({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=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("h2"),N&&N.c(),o=W(),I&&I.c(),c=W(),h=k("div"),Be(d.$$.fragment),g=W(),p=k("footer"),b=k("div"),m=k("div"),v=k("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){L(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),Me(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",Vt(JC))],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=eg(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&&T(e),N&&N.d(),I&&I.d(),Fe(d),y=!1,Qe(P)}}}function xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&T(t)}}}function eg(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&T(e)}}}function GC(i){let e,t,n=i[3]&&Zh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Zh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}const KC=()=>{},JC=()=>{};function jC(i,e,t){let n,l;const r=Xt();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=Pt("getUnsavedChangesModalPromise"),H=Pt("store"),D=Pt("getTranslation");Si(i,D,re=>t(16,l=re));let O=!1,{addNavHrefForAnchor:z}=e,Y;rn(async()=>{bn.doOnStoreChange(H,async()=>{const re=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=ie.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=ie.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,h=re),t(1,g=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const we=ot.getCurrentPath();t(20,m=re.fallbackLabelResolver),Cn.resetFallbackLabelCache(),re.lazyloadOptions||await Q(),Cn.isContextSwitcherDetailsView(we,re.parentNodePath)&&await G(we)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(re=>G(re)),Wn.addEventListener("message",re=>{Ee.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Q())}),t(21,I=h.defaultLabel)}),Zn(()=>{O!==N&&(O=N,Q()),t(14,Y=o.contextSwitcherPopover||!1)});function Z(re,we,Je){return re?Promise.resolve(re):Cn.getFallbackLabel(we,Je)}function fe(re){return me.getNodeHref(re,v)}async function Q(){t(1,g=await Cn.fetchOptions(g));const re=h||{},we=re.parentNodePath,Je=re.fallbackLabelResolver,ye=ot.getCurrentPath();t(2,b=await Cn.getSelectedOption(ye,g,we)),t(4,c=await Cn.getSelectedLabel(ye,g,we,Je)),await Cn.getSelectedNode(ye,g,we),V=re.preserveSubPathOnSwitch}async function G(re){const we=h||{},Je=we.parentNodePath,ye=we.fallbackLabelResolver;t(2,b=await Cn.getSelectedOption(re,g,Je)),t(4,c=await Cn.getSelectedLabel(re,g,Je,ye)),await Cn.getSelectedNode(re,g,Je)}async function K(re){let we=re.detail.node;we.clickHandler&&!await we.clickHandler(we)||(setTimeout(()=>{ae(we.link)}),P&&r("toggleDropdownState"))}function ae(re){E().then(()=>{ot.navigateTo(re)},()=>{})}function ce(re){let we=re.detail.option,Je=re.detail.selectedOption;E().then(()=>{V&&Je?ot.navigateTo(Cn.getNodePathFromCurrentPath(we,Je)):ot.navigateTo(we.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Q()}const Pe=()=>{n&&ne()},se=()=>{n&&ne()};return i.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,a=re.contextSwitcherEnabled),"dropDownStates"in re&&t(8,o=re.dropDownStates),"selectedLabel"in re&&t(4,c=re.selectedLabel),"config"in re&&t(5,h=re.config),"actions"in re&&t(0,d=re.actions),"options"in re&&t(1,g=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,N=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,I=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,z=re.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,K,ce,ne,Y,n,l,D,Z,fe,m,I,v,N,Q,G,ae,p,Pe,se]}class mp extends Mt{constructor(e){super(),Ot(this,e,jC,GC,Dt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:YC}=wl;function tg(i,e,t){const n=i.slice();return n[22]=e[t],n}function ng(i){let e,t,n,l=!i[2]&&ig(i),r=i[2]&&i[3].productSwitcherPopover&&og(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=ig(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=og(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function ig(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?ZC:QC}let N=P(i,-1),I=N(i),V=Ve(i[0]),E=[];for(let H=0;H<V.length;H+=1)E[H]=sg(tg(i,V,H));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),I.c(),d=W(),g=k("div"),p=k("div"),b=k("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=Hn(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){L(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]&&E[O].m(b,null);C||(y=[ee(r,"click",Vt(i[7])),ee(l,"click",Vt(l3))],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=Ve(H[0]);let O;for(O=0;O<V.length;O+=1){const z=tg(H,V,O);E[O]?E[O].p(z,D):(E[O]=sg(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=Hn(H[9])+" svelte-1mzhx88")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&T(e),I.d(),ht(E,H),C=!1,Qe(y)}}}function QC(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!tt(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function ZC(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function lg(i){let e,t,n,l,r,a;function o(g,p){return g[4]?$C:XC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=k("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){L(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&&T(e),h.d(),r=!1,a()}}}function XC(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?e3:xC}let g=d(i,-1),p=g(i),b=h&&rg(i);return{c(){e=k("div"),p.c(),n=W(),l=k("div"),r=k("div"),o=Te(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){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){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])+"")&&Ae(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=rg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&(T(e),T(n),T(l)),p.d(),b&&b.d()}}}function $C(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?n3:t3}let v=m(i,-1),C=v(i),y=d&&ag(i);return{c(){e=k("a"),t=k("div"),C.c(),l=W(),r=k("div"),a=k("div"),c=Te(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){L(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])+"")&&Ae(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=ag(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&&T(e),C.d(),y&&y.d(),p=!1,b()}}}function xC(i){let e,t,n;return{c(){e=k("img"),tt(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){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function e3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function rg(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function t3(i){let e,t,n;return{c(){e=k("img"),tt(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){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function n3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1mzhx88")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1mzhx88")&&f(e,"class",t)},d(n){n&&T(e)}}}function ag(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&T(e)}}}function sg(i){let e,t=i[22].label&&lg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=lg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function og(i){let e,t;return e=new gp({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(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function i3(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&ng(i);return{c(){a&&a.c(),t=ke()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=ee(YC,"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=ng(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(be(),U(a,1,1,()=>{a=null}),ve())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){o&&T(t),a&&a.d(o),l=!1,r()}}}function cs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const l3=()=>{};function r3(i,e,t){const n=Xt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=Pt("store"),h=Pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;rn(async()=>{bn.doOnStoreChange(c,async()=>{t(1,a=le.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),N()),cs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{ot.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return le.renderIconClassName(D)}function C(D){return le.isOpenUIiconName(D.icon)}function y(D){return Et.getTranslation(D.label)}function P(D){return Et.getTranslation(D.subTitle)}function N(){le.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:le.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{le.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,E,H]}class bp extends Mt{constructor(e){super(),Ot(this,e,r3,i3,Dt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return cs}}function ug(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function a3(i){let e,t,n;return{c(){e=k("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){L(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:Ue,d(l){l&&T(e),i[15](null),t=!1,n()}}}function s3(i){let e;return{c(){e=k("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){L(t,e,n),e.focus()},p:Ue,d(t){t&&T(e)}}}function o3(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[19](e)},p:Ue,d(t){t&&T(e),i[19](null)}}}function u3(i){let e,t,n,l=i[4]&&fg(i);return{c(){e=k("div"),t=k("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){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=fg(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&&T(e),l&&l.d()}}}function fg(i){let e,t=Ve(i[4]),n=[];for(let l=0;l<t.length;l+=1)n[l]=cg(ug(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=Ve(l[4]);let a;for(a=0;a<t.length;a+=1){const o=ug(l,t,a);n[a]?n[a].p(o,r):(n[a]=cg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l),i[18](null)}}}function f3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new Cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function c3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(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){L(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",St(h3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Ae(r,l),b&16&&c!==(c=p[21].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function cg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?f3:c3}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=k("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){L(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&&T(e),o.d(),n=!1,Qe(l)}}}function d3(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?s3:a3}let N=P(i),I=N(i);function V(D,O){return D[8].isCustomSearchRenderer?o3:u3}let E=V(i),H=E(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),I.c(),r=W(),a=k("div"),o=W(),H.c(),d=W(),g=k("div"),p=k("div"),b=k("button"),m=k("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){L(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),L(D,d,O),L(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",Vt(g3)),ee(b,"click",i[6]),ee(p,"click",Vt(_3))],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:Ue,o:Ue,d(D){D&&(T(e),T(d),T(g)),I.d(),H.d(),C=!1,Qe(y)}}}const h3=()=>{},g3=()=>{},_3=()=>{};function p3(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=Xt();let g={},p;rn(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Zn(()=>{t(7,g=h),p||t(8,p=new sp(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){Ye[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){Ye[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Ye[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 m3 extends Mt{constructor(e){super(),Ot(this,e,p3,d3,Dt,{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 dg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function b3(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=k("input"),t=W(),n=k("div"),l=k("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=k("div"),o=k("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=k("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){L(p,e,b),i[23](e),L(p,t,b),L(p,n,b),w(n,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(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:Ue,d(p){p&&(T(e),T(t),T(n),T(r),T(a),T(c),T(h)),i[23](null),d=!1,Qe(g)}}}function v3(i){let e;return{c(){e=k("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){L(t,e,n)},p:Ue,d(t){t&&T(e)}}}function w3(i){let e;return{c(){e=k("div")},m(t,n){L(t,e,n),i[28](e)},p:Ue,d(t){t&&T(e),i[28](null)}}}function k3(i){let e,t,n,l=i[3]&&hg(i);return{c(){e=k("div"),t=k("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){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=hg(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&&T(e),l&&l.d()}}}function hg(i){let e,t=Ve(i[3]),n=[];for(let l=0;l<t.length;l+=1)n[l]=gg(dg(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=Ve(l[3]);let a;for(a=0;a<t.length;a+=1){const o=dg(l,t,a);n[a]?n[a].p(o,r):(n[a]=gg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l),i[27](null)}}}function S3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new Cr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&(T(n),e.d())}}}function C3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Te(l),a=W(),o=k("div"),h=Te(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",St(P3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Ae(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Ae(h,c)},d(p){p&&T(e),d=!1,g()}}}function gg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?S3:C3}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=k("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){L(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&&T(e),o.d(),n=!1,Qe(l)}}}function _g(i){let e,t,n,l,r,a,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("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){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Vt(N3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,Qe(o)}}}function pg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=k("div"),t=k("button"),l=Te(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){L(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Vt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Ae(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&&T(e),o=!1,c()}}}function y3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?v3:b3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?w3:k3}let y=C(i),P=y(i),N=!i[5]&&_g(i),I=i[5]&&pg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("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){L(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(V,c,E),N&&N.m(V,E),L(V,h,E),I&&I.m(V,E),L(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Vt(I3))],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=_g(V),N.c(),N.m(h.parentNode,h)),V[5]?I?I.p(V,E):(I=pg(V),I.c(),I.m(d.parentNode,d)):I&&(I.d(1),I=null)},i:Ue,o:Ue,d(V){V&&(T(e),T(c),T(h),T(d)),v.d(),P.d(),N&&N.d(V),I&&I.d(V),g=!1,Qe(p)}}}const P3=()=>{},I3=()=>{},N3=()=>{};function T3(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=Xt();let g=ml.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=Pt("getTranslation");Si(i,m,ce=>t(10,n=ce));let v;rn(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const ce=document.querySelector(".lui-global-search");ce&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(ce)}),Zn(()=>{t(8,b=h),v||t(9,v=new sp(b,d)),v.getCustomRenderer(),I()});function C(ce,ne,Pe){v.renderCustomSearchItem(ce,ne,Pe)}function y(){v.closeSearchResult()}function P(ce){v.onKeyUp(ce,r)}function N(){b&&ie.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function I(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(ce){v.onSearchResultItemSelected(ce)}function H(ce,ne){v.handleKeydown(ce,ne,a,c)}function D(ce){v.onActionClick(ce)}function O(){v.toggleSearch(p,r,a,o)}const z=ce=>P(ce);function Y(ce){Ye[ce?"unshift":"push"](()=>{a=ce,t(0,a)})}const Z=()=>I(),fe=(ce,ne)=>E(ce),Q=(ce,ne)=>H(ce,ne);function G(ce){Ye[ce?"unshift":"push"](()=>{c=ce,t(2,c)})}function K(ce){Ye[ce?"unshift":"push"](()=>{o=ce,t(1,o)})}const ae=()=>O();return i.$$set=ce=>{"searchResult"in ce&&t(3,l=ce.searchResult),"displaySearchResult"in ce&&t(4,r=ce.displaySearchResult),"inputElem"in ce&&t(0,a=ce.inputElem),"customSearchItemRendererSlot"in ce&&t(1,o=ce.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in ce&&t(2,c=ce.customSearchItemRendererSlotContainer),"globalSearchConfig"in ce&&t(20,h=ce.globalSearchConfig),"isSearchFieldVisible"in ce&&t(5,p=ce.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,N,I,V,E,H,h,D,z,Y,Z,fe,Q,G,K,ae]}class L3 extends Mt{constructor(e){super(),Ot(this,e,T3,y3,Dt,{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 mg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?E3:A3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function A3(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon sap-icon"),tt(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function E3(i){let e,t;return{c(){e=k("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function bg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new li({props:{node:i[0]}}),{c(){e=k("span"),n=Te(t),l=W(),Be(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ae(n,t);const 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&&T(e),Fe(r)}}}function R3(i){let e,t,n,l=i[0].icon&&mg(i),r=(!i[0].icon||i[0].showLabel)&&bg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=mg(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=bg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function D3(i,e,t){let{node:n}=e;function l(o){return le.isOpenUIiconName(o.icon)}function r(o){return le.renderIconClassName(o)}function a(o){return le.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Jo extends Mt{constructor(e){super(),Ot(this,e,D3,R3,Dt,{node:0})}}const{Boolean:vp,window:vg}=wl;function wg(i,e,t){const n=i.slice();return n[109]=e[t],n[111]=t,n}function kg(i,e,t){const n=i.slice();return n[109]=e[t],n[112]=e,n[111]=t,n}function V3(i){let e,t;return e=new hp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[101]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function O3(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")&&Sg(i);function v(E){i[59](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new $S({props:C}),Ye.push(()=>yt(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&Cg(i),P=(!i[0]||i[1])&&yg(i),N=(i[18]||i[7]&&i[30].length>0)&&Ig(i),I=(i[0]||i[16])&&qg(i),V=i[12]&&zg(i);return{c(){e=k("div"),t=k("div"),m&&m.c(),n=W(),Be(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=k("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-19yzu6h"),f(e,"tabindex","0")},m(E,H){L(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),Me(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,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=Sg(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],Ct(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=Cg(E),y.c(),R(y,1),y.m(e,o)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=yg(E),P.c(),R(P,1),P.m(c,h)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),E[18]||E[7]&&E[30].length>0?N?(N.p(E,H),H[0]&1074004096&&R(N,1)):(N=Ig(E),N.c(),R(N,1),N.m(c,d)):N&&(be(),U(N,1,1,()=>{N=null}),ve()),E[0]||E[16]?I?(I.p(E,H),H[0]&65537&&R(I,1)):(I=qg(E),I.c(),R(I,1),I.m(c,g)):I&&(be(),U(I,1,1,()=>{I=null}),ve()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=zg(E),V.c(),R(V,1),V.m(c,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-19yzu6h"))&&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&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),N&&N.d(),I&&I.d(),V&&V.d()}}}function Sg(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-19yzu6h"),f(e,"tabindex","0"),f(e,"title",i[25]),f(e,"type","button")},m(r,a){L(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&&T(e),n=!1,l()}}}function Cg(i){let e,t,n,l,r,a,o,c;function h(v){i[60](v)}function d(v){i[61](v)}function g(v){i[62](v)}function p(v){i[63](v)}function b(v){i[64](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 L3({props:m}),Ye.push(()=>yt(t,"isSearchFieldVisible",h)),Ye.push(()=>yt(t,"searchResult",d)),Ye.push(()=>yt(t,"displaySearchResult",g)),Ye.push(()=>yt(t,"inputElem",p)),Ye.push(()=>yt(t,"customSearchItemRendererSlot",b)),t.$on("toggleSearch",i[65]),t.$on("handleSearchNavigation",i[66]),t.$on("closeSearchResult",i[67]),{c(){e=k("div"),Be(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],Ct(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],Ct(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],Ct(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],Ct(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],Ct(()=>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&&T(e),Fe(t)}}}function yg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Pg(i);function a(c){i[76](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new mp({props:o}),Ye.push(()=>yt(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[77]),{c(){r&&r.c(),e=W(),Be(t.$$.fragment)},m(c,h){r&&r.m(c,h),L(c,e,h),Me(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=Pg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],Ct(()=>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&&T(e),r&&r.d(c),Fe(t,c)}}}function Pg(i){let e,t,n,l,r,a,o;function c(m){i[68](m)}function h(m){i[69](m)}function d(m){i[70](m)}function g(m){i[71](m)}function p(m){i[72](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 m3({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"searchResult",h)),Ye.push(()=>yt(e,"displaySearchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(e,"customSearchItemRendererSlot",p)),e.$on("toggleSearch",i[73]),e.$on("handleSearchNavigation",i[74]),e.$on("closeSearchResult",i[75]),{c(){Be(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],Ct(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],Ct(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],Ct(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],Ct(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function Ig(i){let e,t,n,l=i[7]&&i[30].length>0&&Ng(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Eg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Ng(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(be(),U(l,1,1,()=>{l=null}),ve()),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=Eg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){a&&(T(e),T(t)),l&&l.d(a),r&&r.d(a)}}}function Ng(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Ag(kg(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);L(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=Ve(a[7]);let c;for(c=0;c<n.length;c+=1){const h=kg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ag(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Tg(i){let e,t,n,l;const r=[F3,M3],a=[];function o(c,h){return c[109].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),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),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&&T(n),a[e].d(c)}}}function M3(i){let e,t,n,l,r;const a=[B3,U3],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=k("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),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&&T(e),o[t].d()}}}function F3(i){let e=i[109].visibleChildren.filter(Gg).length>0,t,n,l=e&&Lg(i);return{c(){l&&l.c(),t=ke()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[109].visibleChildren.filter(Gg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Lg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&T(t),l&&l.d(r)}}}function U3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[82](v,i[109],i[112],i[111])}let b={};i[109]!==void 0&&(b.node=i[109]),t=new Jo({props:b}),Ye.push(()=>yt(t,"node",p)),r=new Ln({props:{node:i[109]}});function m(){return i[83](i[109])}return{c(){e=k("button"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"title",a=i[51](i[109],i[49](i[109]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=le.getTestId(i[109])),f(e,"type","button")},m(v,C){L(v,e,C),Me(t,e,null),w(e,l),Me(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[109],Ct(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[109]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[109],i[49](i[109]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=le.getTestId(i[109])))&&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&&T(e),Fe(t),Fe(r),d=!1,g()}}}function B3(i){let e,t,n,l;const r=[W3,H3],a=[];function o(c,h){return c[109].separator?1:0}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),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&&T(n),a[e].d(c)}}}function H3(i){let e;return{c(){e=k("span"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent fd-separator svelte-19yzu6h"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function W3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[80](C,i[109],i[112],i[111])}let m={};i[109]!==void 0&&(m.node=i[109]),t=new Jo({props:m}),Ye.push(()=>yt(t,"node",b)),r=new Ln({props:{node:i[109]}});function v(...C){return i[81](i[109],...C)}return{c(){e=k("a"),Be(t.$$.fragment),l=W(),Be(r.$$.fragment),f(e,"href",a=i[50](i[109])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(e,"title",c=i[51](i[109],i[49](i[109]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=le.getTestId(i[109]))},m(C,y){L(C,e,y),Me(t,e,null),w(e,l),Me(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[109],Ct(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[109]),r.$set(N),(!d||y[0]&128&&a!==(a=i[50](i[109])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[109],i[49](i[109]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=le.getTestId(i[109])))&&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&&T(e),Fe(t),Fe(r),g=!1,p()}}}function Lg(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[78](D,i[109],i[112],i[111])}let E={};i[109]!==void 0&&(E.node=i[109]),r=new Jo({props:E}),Ye.push(()=>yt(r,"node",V)),c=new Ln({props:{node:i[109]}});function H(){return i[79](i[111])}return v=new _p({props:{node:i[109],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),Be(r.$$.fragment),o=W(),Be(c.$$.fragment),b=W(),m=k("div"),Be(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[109],i[49](i[109]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"),f(l,"aria-controls","dropDownPopover-"+i[111]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[111]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=le.getTestId(i[109])),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[111]}`]),f(m,"id","dropDownPopover-"+i[111]),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){L(D,e,O),w(e,t),w(t,n),w(n,l),Me(r,l,null),w(l,o),Me(c,l,null),w(t,b),w(t,m),Me(v,m,null),w(e,y),P=!0,N||(I=[ee(l,"click",H),ee(n,"click",Vt(ly))],N=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[109],Ct(()=>a=!1)),r.$set(z);const Y={};O[0]&128&&(Y.node=i[109]),c.$set(Y),(!P||O[0]&128&&h!==(h=i[51](i[109],i[49](i[109]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[109]===i[8]?"is-selected":"")+" svelte-19yzu6h"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[111]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=le.getTestId(i[109])))&&f(l,"data-testid",p);const Z={};O[0]&128&&(Z.node=i[109]),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[111]}`]))&&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&&T(e),Fe(r),Fe(c),Fe(v),N=!1,Qe(I)}}}function Ag(i){let e,t,n=!(i[109].hideFromNav||i[5]&&i[109].globalNav)&&Tg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[109].hideFromNav||l[5]&&l[109].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Tg(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&&T(e),n&&n.d(l)}}}function Eg(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 Ln({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Rg(i),z=i[46]&&(!i[0]||i[1])&&Dg(i),Y=i[7]&&Vg(i),Z=i[12]&&Ug(i),fe=i[12]&&Bg(i),Q=i[14]&&Hg(i),G=(!i[0]||i[1])&&Wg(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),a=k("button"),o=k("i"),c=W(),Be(h.$$.fragment),g=W(),p=k("div"),b=k("nav"),m=k("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Y&&Y.c(),y=W(),Z&&Z.c(),N=W(),fe&&fe.c(),I=W(),Q&&Q.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-19yzu6h"),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-19yzu6h"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(K,ae){L(K,e,ae),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(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),Y&&Y.m(m,null),w(m,y),Z&&Z.m(m,null),w(n,N),fe&&fe.m(n,null),w(n,I),Q&&Q.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[84]),ee(l,"click",Vt(ry))],H=!0)},p(K,ae){const ce={};ae[0]&2048&&(ce.node=K[11]),h.$set(ce),(!E||ae[0]&64&&d!==(d=K[6].overflowPopover||!1))&&f(a,"aria-expanded",d),K[18]&&!K[19]&&!K[29]?O?O.p(K,ae):(O=Rg(K),O.c(),O.m(m,v)):O&&(O.d(1),O=null),K[46]&&(!K[0]||K[1])?z?z.p(K,ae):(z=Dg(K),z.c(),z.m(m,C)):z&&(z.d(1),z=null),K[7]?Y?(Y.p(K,ae),ae[0]&128&&R(Y,1)):(Y=Vg(K),Y.c(),R(Y,1),Y.m(m,y)):Y&&(be(),U(Y,1,1,()=>{Y=null}),ve()),K[12]?Z?Z.p(K,ae):(Z=Ug(K),Z.c(),Z.m(m,null)):Z&&(Z.d(1),Z=null),(!E||ae[0]&64&&P!==(P=!K[6].overflowPopover))&&f(p,"aria-hidden",P),K[12]?fe?(fe.p(K,ae),ae[0]&4096&&R(fe,1)):(fe=Bg(K),fe.c(),R(fe,1),fe.m(n,I)):fe&&(be(),U(fe,1,1,()=>{fe=null}),ve()),K[14]?Q?(Q.p(K,ae),ae[0]&16384&&R(Q,1)):(Q=Hg(K),Q.c(),R(Q,1),Q.m(n,V)):Q&&(be(),U(Q,1,1,()=>{Q=null}),ve()),!K[0]||K[1]?G?(G.p(K,ae),ae[0]&3&&R(G,1)):(G=Wg(K),G.c(),R(G,1),G.m(n,null)):G&&(be(),U(G,1,1,()=>{G=null}),ve())},i(K){E||(R(h.$$.fragment,K),R(Y),R(fe),R(Q),R(G),E=!0)},o(K){U(h.$$.fragment,K),U(Y),U(fe),U(Q),U(G),E=!1},d(K){K&&T(e),Fe(h),O&&O.d(),z&&z.d(),Y&&Y.d(),Z&&Z.d(),fe&&fe.d(),Q&&Q.d(),G&&G.d(),H=!1,Qe(D)}}}function Rg(i){let e,t,n,l;return{c(){e=k("li"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-19yzu6h"></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){L(r,e,a),w(e,t),n||(l=ee(t,"click",Vt(i[85])),n=!0)},p:Ue,d(r){r&&T(e),n=!1,l()}}}function Dg(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=k("li"),t=k("a"),n=k("i"),r=W(),a=k("span"),c=Te(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-19yzu6h"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){L(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Vt(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-19yzu6h")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Ae(c,o)},d(g){g&&T(e),h=!1,d()}}}function Vg(i){let e,t,n=Ve(i[7]),l=[];for(let a=0;a<n.length;a+=1)l[a]=Fg(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);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&2031656){n=Ve(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]=Fg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(vp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){a&&T(e),ht(l,a)}}}function Og(i){let e,t,n,l,r;const a=[z3,q3],o=[];function c(h,d){return d[0]&128&&(e=null),!h[109].isCat||h[109].separator?0:(e==null&&(e=h[109].visibleChildren.filter(iy).length>0),e?1:-1)}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),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(be(),U(o[g],1,1,()=>{o[g]=null}),ve()),~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&&T(l),~t&&o[t].d(h)}}}function q3(i){let e,t,n,l,r,a,o,c,h=i[49](i[109])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[109])),l?K3:G3}let P=y(i,[-1,-1,-1,-1]),N=P(i);a=new Ln({props:{node:i[109]}});function I(){return i[87](i[109])}return{c(){e=k("li"),t=k("a"),n=k("span"),N.c(),r=W(),Be(a.$$.fragment),o=W(),c=k("span"),d=Te(h),b=W(),f(n,"class","fd-top-nav__icon svelte-19yzu6h"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[109])),f(t,"title",p=i[51](i[109],i[49](i[109]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),N.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ee(t,"click",St(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[109]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[109])+"")&&Ae(d,h),(!m||E[0]&128&&g!==(g=i[50](i[109])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[109],i[49](i[109]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&T(e),N.d(),Fe(a),v=!1,C()}}}function z3(i){let e,t,n,l,r;const a=[j3,J3],o=[];function c(h,d){return h[109].separator?1:0}return t=c(i),n=o[t]=a[t](i),{c(){e=k("li"),n.c(),l=W(),f(e,"class","fd-menu__item")},m(h,d){L(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):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),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&&T(e),o[t].d()}}}function G3(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[109].icon)||f(e,"src",t),f(e,"alt",n=i[109].altText?i[109].altText:""),f(e,"class","svelte-19yzu6h")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[109].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[109].altText?l[109].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function K3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[109].icon&&n[48](n[109])?n[47](n[109].icon):"")+" svelte-19yzu6h")&&f(e,"class",t)},d(n){n&&T(e)}}}function J3(i){let e;return{c(){e=k("span"),f(e,"class","fd-menu__link fd-separator svelte-19yzu6h"),f(e,"tabindex","-1")},m(t,n){L(t,e,n)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e)}}}function j3(i){let e,t,n=!i[48](i[109]),l,r,a,o,c,h=i[49](i[109])+"",d,g,p,b,m,v,C,y=n&&Mg(i);r=new Ln({props:{node:i[109]}});function P(){return i[86](i[109])}return{c(){e=k("a"),t=k("span"),y&&y.c(),l=W(),Be(r.$$.fragment),o=W(),c=k("span"),d=Te(h),f(t,"class",a="fd-top-nav__icon sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h"),f(c,"class","fd-menu__title"),f(e,"href",g=i[50](i[109])),f(e,"class",p="fd-menu__link "+(i[109]===i[8]?"is-selected":"")),f(e,"data-testid",b=le.getTestId(i[109])+"-mobile")},m(N,I){L(N,e,I),w(e,t),y&&y.m(t,null),w(t,l),Me(r,t,null),w(e,o),w(e,c),w(c,d),m=!0,v||(C=ee(e,"click",St(P)),v=!0)},p(N,I){i=N,I[0]&128&&(n=!i[48](i[109])),n?y?y.p(i,I):(y=Mg(i),y.c(),y.m(t,l)):y&&(y.d(1),y=null);const V={};I[0]&128&&(V.node=i[109]),r.$set(V),(!m||I[0]&128&&a!==(a="fd-top-nav__icon sap-icon "+(i[109].icon&&i[48](i[109])?i[47](i[109].icon):"")+" svelte-19yzu6h"))&&f(t,"class",a),(!m||I[0]&128)&&h!==(h=i[49](i[109])+"")&&Ae(d,h),(!m||I[0]&128&&g!==(g=i[50](i[109])))&&f(e,"href",g),(!m||I[0]&384&&p!==(p="fd-menu__link "+(i[109]===i[8]?"is-selected":"")))&&f(e,"class",p),(!m||I[0]&128&&b!==(b=le.getTestId(i[109])+"-mobile"))&&f(e,"data-testid",b)},i(N){m||(R(r.$$.fragment,N),m=!0)},o(N){U(r.$$.fragment,N),m=!1},d(N){N&&T(e),y&&y.d(),Fe(r),v=!1,C()}}}function Mg(i){let e,t,n;return{c(){e=k("img"),tt(e.src,t=i[109].icon)||f(e,"src",t),f(e,"alt",n=i[109].altText?i[109].altText:""),f(e,"class","svelte-19yzu6h")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!tt(e.src,t=l[109].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[109].altText?l[109].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Fg(i){let e,t,n=!(i[109].hideFromNav||i[5]&&i[109].globalNav)&&Og(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[109].hideFromNav||l[5]&&l[109].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Og(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&&T(e),n&&n.d(l)}}}function Ug(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?Q3:Y3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=k("li"),t=k("a"),p.c(),l=W(),r=k("span"),o=Te(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Vt(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+"")&&Ae(o,a)},d(b){b&&T(e),p.d(),c=!1,h()}}}function Y3(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),tt(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-19yzu6h"),f(e,"class","fd-top-nav__icon sap-icon svelte-19yzu6h")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!tt(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Q3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-19yzu6h")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-19yzu6h")&&f(e,"class",t)},d(n){n&&T(e)}}}function Bg(i){let e,t,n;function l(a){i[88](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[89]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Hg(i){let e,t;return e=new _p({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Be(e.$$.fragment)},m(n,l){Me(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){Fe(e,n)}}}function Wg(i){let e,t,n,l,r;function a(d){i[90](d)}function o(d){i[91](d)}function c(d){i[92](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 mp({props:h}),Ye.push(()=>yt(e,"dropDownStates",a)),Ye.push(()=>yt(e,"selectedLabel",o)),Ye.push(()=>yt(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[93]),{c(){Be(e.$$.fragment)},m(d,g){Me(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],Ct(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],Ct(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],Ct(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function qg(i){let e,t,n,l,r;const a=[X3,Z3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&ie.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=k("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){L(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),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&&T(e),o[n].d()}}}function Z3(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?x3:$3}let y=C(i),P=y(i);return g=new hp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[98]),g.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),h=W(),d=k("div"),Be(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-19yzu6h"),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-19yzu6h")},m(N,I){L(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),Me(g,d,null),b=!0,m||(v=[ee(r,"click",i[97]),ee(n,"click",Vt(sy)),ee(d,"click",Vt(i[58]))],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&&T(e),P.d(),Fe(g),m=!1,Qe(v)}}}function X3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?ty:ey}let g=d(i),p=g(i);return r=new sC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[96]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=W(),l=k("div"),Be(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-19yzu6h")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(h=[ee(t,"click",Vt(ay)),ee(l,"click",Vt(i[57]))],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&&T(e),p.d(),Fe(r),c=!1,Qe(h)}}}function $3(i){let e,t;return{c(){e=k("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){L(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&T(e)}}}function x3(i){let e;return{c(){e=k("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-19yzu6h"),Bn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&Bn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function ey(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=k("button"),n=Te(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-shellbar__avatar--circle svelte-19yzu6h"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,n),r||(a=ee(e,"click",i[95]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ae(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&T(e),r=!1,a()}}}function ty(i){let e,t,n,l;return{c(){e=k("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-19yzu6h"),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"),Bn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),n||(l=ee(e,"click",i[94]),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&&Bn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&T(e),n=!1,l()}}}function zg(i){let e,t,n;function l(a){i[99](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new bp({props:r}),Ye.push(()=>yt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[100]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function ny(i){let e,t,n,l,r,a;const o=[O3,V3],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),L(d,n,g),l=!0,r||(a=[ee(vg,"click",i[41]),ee(vg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(be(),U(c[p],1,1,()=>{c[p]=null}),ve(),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&&T(n),c[e].d(d),r=!1,Qe(a)}}}const iy=i=>!i.hideFromNav&&i.label,Gg=i=>!i.hideFromNav&&i.label,ly=()=>{},ry=()=>{},ay=()=>{},sy=()=>{};function oy(i,e,t){const n=Xt();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:Y}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:fe}=e,{inputElem:Q}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:K}=e,{searchResult:ae}=e,{burgerTooltip:ce}=e,{responsiveShellbarPadding:ne}=e,Pe=Pt("store"),se=!1,re,we,Je=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ye=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Le=async()=>{if(p&&0<p.length){const $=await le.generateTopNavNodes(p);t(7,C=$.children),t(8,y=$.selectedNode),t(9,P=$.visibleNodeCount),t(11,I=$.totalBadgeNode),t(10,N=$.globalNavNodeCount),window.TOPNAVDATA=$.children,b=p}},ze=()=>{t(1,a=_l.isLoggedIn())};rn(()=>{bn.doOnStoreChange(Pe,()=>{t(0,l=wi.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=le.getProductSwitcherConfig()),t(18,Y=te.getConfigValue("globalSearch")),t(19,Z=Y&&Y.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(27,ye=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Je=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),bn.doOnStoreChange(Pe,()=>{Le()},["navigation.viewgroupdata"]),Wn.addEventListener("message",$=>{$.data.msg==="luigi.navigation.update-badge-counters"&&Le()})}),Zn(()=>{(!b||b!=p)&&Le(),ze()});let{showTopNav:Xe}=e;function De($){return le.renderIconClassName($)}function nt($){return le.isOpenUIiconName($.icon)}const rt=$=>le.getNodeLabel($);function gt($){return me.getNodeHref($,m)}function ge($,Ft){return le.generateTooltipText($,Ft)}function Ze(){it("productSwitcherPopover")}function Ht(){t(43,se=!se),it("contextSwitcherPopover")}function An($){t(14,H=!0),t(15,D=$)}function on(){t(14,H=!1)}function an($){n("handleClick",{node:$})}function Ie($){n("handleSearchNavigation",{node:$})}function ut($){an($.detail.node)}function it($){const Ft=v||{},Rn=!Ft[$];Kt(),on(),Ft[$]=Rn,t(6,v=Ft)}function un($){it($.detail.name)}function Gt(){Q&&Q.focus()}function qn(){fe||setTimeout(()=>{Gt()}),n("toggleSearch",{isSearchFieldVisible:fe,inputElem:Q,customSearchItemRendererSlot:G})}function Kt(){const $=v||{},Ft=Object.keys($);Ft&&Ft.length>0&&Ft.forEach(Rn=>{$[Rn]=!1,t(6,v=$)})}function Jt(){h==="simple"||h==="simpleMobileOnly"?$t():vn(),ri()}function ri(){if(!le.getBurgerTooltipConfig())return;const[$,Ft]=le.getBurgerTooltipConfig();$&&Ft&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ce=document.body.classList.contains("lui-leftNavToggle")?$:Ft),document.body.classList.contains("lui-semiCollapsible")&&t(25,ce=document.body.classList.contains("semiCollapsed")?$:Ft))}function $t(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function vn(){vi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Ci($){const Ft=$.detail;t(17,z=Ft||{})}function yi($){Ki.call(this,i,$)}function wn($){Ki.call(this,i,$)}function Pi($){v=$,t(6,v)}function Ii($){fe=$,t(20,fe)}function Ni($){ae=$,t(24,ae)}function Ti($){K=$,t(23,K)}function Li($){Q=$,t(21,Q)}function Sl($){G=$,t(22,G)}function Cl($){Ki.call(this,i,$)}function yl($){Ki.call(this,i,$)}function Ai($){Ki.call(this,i,$)}function Yi($){fe=$,t(20,fe)}function Qi($){ae=$,t(24,ae)}function hi($){K=$,t(23,K)}function Pl($){Q=$,t(21,Q)}function Il($){G=$,t(22,G)}function Zi($){Ki.call(this,i,$)}function Nl($){Ki.call(this,i,$)}function Tl($){Ki.call(this,i,$)}function Ll($){v=$,t(6,v)}const Ei=()=>it("contextSwitcherPopover");function Al($,Ft,Rn,Dn){Rn[Dn]=$,t(7,C)}const ai=$=>it(`dropDownPopover-${$}`);function Ri($,Ft,Rn,Dn){Rn[Dn]=$,t(7,C)}const gi=($,Ft)=>{le.handleNavAnchorClickedWithoutMetaKey(Ft)&&an($)};function Di($,Ft,Rn,Dn){Rn[Dn]=$,t(7,C)}const _i=$=>an($),Xi=()=>it("overflowPopover"),$i=()=>{qn(),it("overflowPopover")},J=$=>an($),Se=$=>An($);function je($){v=$,t(6,v)}const lt=()=>it("productSwitcherPopover");function vt($){v=$,t(6,v)}function pt($){re=$,t(44,re)}function Wt($){we=$,t(45,we)}const zt=()=>it("contextSwitcherPopover"),En=()=>it("profilePopover"),zn=()=>it("profilePopover"),El=()=>it("profilePopover"),Vi=()=>it("profilePopover"),Kl=()=>it("profilePopover");function yr($){v=$,t(6,v)}const wt=()=>it("productSwitcherPopover"),xi=()=>it("profilePopover");return i.$$set=$=>{"authorizationEnabled"in $&&t(0,l=$.authorizationEnabled),"autologinEnabled"in $&&t(53,r=$.autologinEnabled),"isLoggedIn"in $&&t(1,a=$.isLoggedIn),"hideSearchComponent"in $&&t(29,o=$.hideSearchComponent),"hideNavComponent"in $&&t(2,c=$.hideNavComponent),"responsiveNavSetting"in $&&t(3,h=$.responsiveNavSetting),"profileTypeSettings"in $&&t(4,d=$.profileTypeSettings),"showGlobalNav"in $&&t(5,g=$.showGlobalNav),"pathData"in $&&t(30,p=$.pathData),"pathParams"in $&&t(31,m=$.pathParams),"dropDownStates"in $&&t(6,v=$.dropDownStates),"children"in $&&t(7,C=$.children),"selectedNode"in $&&t(8,y=$.selectedNode),"visibleNodeCount"in $&&t(9,P=$.visibleNodeCount),"globalNavNodeCount"in $&&t(10,N=$.globalNavNodeCount),"totalBadgeNode"in $&&t(11,I=$.totalBadgeNode),"isProductSwitcherAvailable"in $&&t(12,V=$.isProductSwitcherAvailable),"productSwitcherConfig"in $&&t(13,E=$.productSwitcherConfig),"openMobileDropDown"in $&&t(14,H=$.openMobileDropDown),"nodeForMobile"in $&&t(15,D=$.nodeForMobile),"profileItemsAvailable"in $&&t(16,O=$.profileItemsAvailable),"userInfo"in $&&t(17,z=$.userInfo),"globalSearchConfig"in $&&t(18,Y=$.globalSearchConfig),"isGlobalSearchCentered"in $&&t(19,Z=$.isGlobalSearchCentered),"isSearchFieldVisible"in $&&t(20,fe=$.isSearchFieldVisible),"inputElem"in $&&t(21,Q=$.inputElem),"customSearchItemRendererSlot"in $&&t(22,G=$.customSearchItemRendererSlot),"displaySearchResult"in $&&t(23,K=$.displaySearchResult),"searchResult"in $&&t(24,ae=$.searchResult),"burgerTooltip"in $&&t(25,ce=$.burgerTooltip),"responsiveShellbarPadding"in $&&t(26,ne=$.responsiveShellbarPadding),"addNavHrefForAnchor"in $&&t(27,ye=$.addNavHrefForAnchor),"showTopNav"in $&&t(28,Xe=$.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,Xe=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,N,I,V,E,H,D,O,z,Y,Z,fe,Q,G,K,ae,ce,ne,ye,Xe,o,p,m,Ze,Ht,An,on,an,ut,it,un,qn,Kt,Ci,se,re,we,Je,De,nt,rt,gt,ge,Jt,r,Ie,$t,vn,yi,wn,Pi,Ii,Ni,Ti,Li,Sl,Cl,yl,Ai,Yi,Qi,hi,Pl,Il,Zi,Nl,Tl,Ll,Ei,Al,ai,Ri,gi,Di,_i,Xi,$i,J,Se,je,lt,vt,pt,Wt,zt,En,zn,El,Vi,Kl,yr,wt,xi]}class wp extends Mt{constructor(e){super(),Ot(this,e,oy,ny,Dt,{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 Kg(i){let e;return{c(){e=k("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function uy(i){let e,t=i[0]&&Kg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Kg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Ue,o:Ue,d(n){n&&T(e),t&&t.d(n)}}}function fy(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(ot.getCurrentPath(),n),a=await qt.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 rn(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");zl.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 cy extends Mt{constructor(e){super(),Ot(this,e,fy,uy,Dt,{node:0})}}const{window:Oo}=wl;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 jg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Qg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Xg(i,e,t){const n=i.slice();return n[57]=e[t],n}function dy(i){const e=i.slice(),t=kp(e[54]);return e[67]=t,e}function $g(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 hy(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&&e_(i),P=Ve(Object.entries(i[0])),N=[];for(let D=0;D<P.length;D+=1)N[D]=u_(Qg(i,P,D));const I=D=>U(N[D],1,1,()=>{N[D]=null});let V=Ve(Object.entries(i[0])),E=[];for(let D=0;D<V.length;D+=1)E[D]=h_(Jg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=k("div"),y&&y.c(),t=W(),n=k("nav"),l=k("div");for(let D=0;D<N.length;D+=1)N[D].c();r=W(),a=k("span"),o=k("div"),c=k("div"),h=k("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=k("div"),p=k("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){L(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<E.length;z+=1)E[z]&&E[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",St(i[10])),ee(a,"click",Ny),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=e_(D),y.c(),R(y,1),y.m(e,t)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),O[0]&3866829){P=Ve(Object.entries(D[0]));let z;for(z=0;z<P.length;z+=1){const Y=Qg(D,P,z);N[z]?(N[z].p(Y,O),R(N[z],1)):(N[z]=u_(Y),N[z].c(),R(N[z],1),N[z].m(l,r))}for(be(),z=P.length;z<N.length;z+=1)I(z);ve()}if(O[0]&1704173){V=Ve(Object.entries(D[0]));let z;for(z=0;z<V.length;z+=1){const Y=Jg(D,V,z);E[z]?(E[z].p(Y,O),R(E[z],1)):(E[z]=h_(Y),E[z].c(),R(E[z],1),E[z].m(p,null))}for(be(),z=V.length;z<E.length;z+=1)H(z);ve()}(!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&&T(e),y&&y.d(),ht(N,D),i[31](null),ht(E,D),i[36](null),i[37](null),i[39](null),v=!1,Qe(C)}}}function e_(i){let e,t;return e=new cy({props:{node:i[11].parent}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function gy(i){let e,t,n,l,r;const a=[my,py],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!Sy(d[54])),e?0:1}function h(d,g){return g===0?dy(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),L(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(be(),U(o[p],1,1,()=>{o[p]=null}),ve(),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&&T(l),o[t].d(d)}}}function _y(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=o_($g(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);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[54]);let c;for(c=0;c<n.length;c+=1){const h=$g(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=o_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function py(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=Ve(i[54]),D=[];for(let z=0;z<H.length;z+=1)D[z]=i_(Zg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("div"),a=k("span"),c=Te(o),h=W(),d=k("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=k("div"),m=k("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=pl(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=pl(i[53],i[2]))},m(z,Y){L(z,e,Y),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",St(E)),ee(e,"click",Iy)],I=!0)},p(z,Y){if(i=z,(!N||Y[0]&131073)&&o!==(o=i[17](i[53])+"")&&Ae(c,o),(!N||Y[0]&5&&g!==(g=pl(i[53],i[2])))&&f(l,"aria-selected",g),Y[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const fe=Zg(i,H,Z);D[Z]?(D[Z].p(fe,Y),R(D[Z],1)):(D[Z]=i_(fe),D[Z].c(),R(D[Z],1),D[Z].m(m,null))}for(be(),Z=H.length;Z<D.length;Z+=1)O(Z);ve()}(!N||Y[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||Y[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!N||Y[0]&5&&P!==(P=pl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!N){for(let Y=0;Y<H.length;Y+=1)R(D[Y]);N=!0}},o(z){D=D.filter(Boolean);for(let Y=0;Y<D.length;Y+=1)U(D[Y]);N=!1},d(z){z&&T(e),ht(D,z),I=!1,Qe(V)}}}function my(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=Ve(i[54]),z=[];for(let Y=0;Y<O.length;Y+=1)z[Y]=r_(Xg(i,O,Y));return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),c=W(),h=k("div"),d=k("div"),g=k("div"),p=k("button"),b=k("i"),v=W(),C=k("div"),y=k("ul");for(let Y=0;Y<z.length;Y+=1)z[Y].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=pl(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(Y,Z){L(Y,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 fe=0;fe<z.length;fe+=1)z[fe]&&z[fe].m(y,null);w(e,I),V||(E=[ee(t,"click",St(H)),ee(p,"click",St(D)),ee(e,"click",Py)],V=!0)},p(Y,Z){if(i=Y,Z[0]&131073&&l!==(l=i[17](i[53])+"")&&Ae(r,l),Z[0]&5&&a!==(a=pl(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=Ve(i[54]);let fe;for(fe=0;fe<O.length;fe+=1){const Q=Xg(i,O,fe);z[fe]?z[fe].p(Q,Z):(z[fe]=r_(Q),z[fe].c(),z[fe].m(y,null))}for(;fe<z.length;fe+=1)z[fe].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:Ue,o:Ue,d(Y){Y&&T(e),ht(z,Y),V=!1,Qe(E)}}}function t_(i){let e,t,n=i[57].label&&n_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=n_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new li({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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=le.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){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(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=le.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&&T(e),Fe(o),b=!1,m()}}}function i_(i){let e,t,n=!i[57].hideFromNav&&t_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=t_(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&&T(e),n&&n.d(l)}}}function l_(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=k("li"),t=k("a"),n=k("span"),r=Te(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){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",St(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Ae(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&&T(e),h=!1,d()}}}function r_(i){let e,t=!i[57].hideFromNav&&i[57].label&&l_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=l_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function a_(i){let e,t,n=i[57].label&&s_(Mo(i));return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Mo(l),r),r[0]&1&&R(n,1)):(n=s_(Mo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function s_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new li({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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=le.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){L(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),b=!0,m||(v=ee(t,"click",St(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(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=le.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&&T(e),Fe(o),m=!1,v()}}}function o_(i){let e,t,n=!i[57].hideFromNav&&a_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=a_(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&&T(e),n&&n.d(l)}}}function u_(i){let e,t,n,l,r,a;const o=[_y,gy],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=!!ky(g[54])),t?1:-1)}function d(g,p){return p===1?hy(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),L(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&&(be(),U(c[b],1,1,()=>{c[b]=null}),ve()),~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&&T(r),~n&&c[n].d(g)}}}function by(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=Ve(i[54]),D=[];for(let z=0;z<H.length;z+=1)D[z]=c_(jg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),a=Te(r),h=W(),d=k("button"),g=k("i"),m=W(),v=k("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=pl(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,Y){L(z,e,Y),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",St(V)),ee(d,"click",St(E))],N=!0)},p(z,Y){if(i=z,(!P||Y[0]&131073)&&r!==(r=i[17](i[53])+"")&&Ae(a,r),(!P||Y[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Y[0]&5&&c!==(c=pl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Y[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||Y[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Y[0]&1572933){H=Ve(i[54]);let Z;for(Z=0;Z<H.length;Z+=1){const fe=jg(i,H,Z);D[Z]?(D[Z].p(fe,Y),R(D[Z],1)):(D[Z]=c_(fe),D[Z].c(),R(D[Z],1),D[Z].m(v,null))}for(be(),Z=H.length;Z<D.length;Z+=1)O(Z);ve()}(!P||Y[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Y=0;Y<H.length;Y+=1)R(D[Y]);P=!0}},o(z){D=D.filter(Boolean);for(let Y=0;Y<D.length;Y+=1)U(D[Y]);P=!1},d(z){z&&T(e),ht(D,z),N=!1,Qe(I)}}}function vy(i){let e,t,n=Ve(i[54]),l=[];for(let a=0;a<n.length;a+=1)l[a]=d_(Yg(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);L(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=Ve(a[54]);let c;for(c=0;c<n.length;c+=1){const h=Yg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=d_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},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&&T(e),ht(l,a)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new li({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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=le.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){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(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=le.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&&T(e),Fe(o),b=!1,m()}}}function c_(i){let e,t,n=i[57].label&&f_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=f_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function d_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new li({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Te(l),a=W(),Be(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=le.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){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",St(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Ae(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=le.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&&T(e),Fe(o),b=!1,m()}}}function h_(i){let e,t,n,l,r;const a=[vy,by],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),L(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),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&&T(l),o[t].d(h)}}}function wy(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),L(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=xg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){a&&T(e),r&&r.d(a),n=!1,Qe(l)}}}function pl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function ky(i){return i.some(e=>!e.hideFromNav&&e.label)}function kp(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 Sy(i){return!!kp(i)}function Cy(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function yy(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),Cy(e)||e.classList.add("fd-popover__body--right")})}const Py=i=>i.stopPropagation(),Iy=i=>i.stopPropagation(),Ny=i=>i.stopPropagation();function Ty(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=le.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=Pt("getTranslation");Si(i,C,Ie=>t(17,n=Ie));let y=Pt("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:Ie=>{Ie&&Object.getOwnPropertyNames(Ie).forEach(ut=>{ut==="pathData"?t(1,r=Ie.pathData):ut==="context"?context=Ie.context:ut==="children"?t(0,l=Ie.children):ut==="selectedNode"?t(11,b=Ie.selectedNode):ut==="selectedNodeForTabNav"&&t(2,h=Ie.selectedNodeForTabNav)})}},O=Xt();function z(Ie){return le.getNodeLabel(Ie)}const Y=async()=>{const Ie=D.get(),ut=await qt.getTabNavData({...Ie},Ie);ut&&(D.set({...ut}),m=r,window.LEFTNAVDATA=ut.groupedChildren,setTimeout(Z))},Z=()=>{if(fe(),I&&V&&E){E.classList.remove("is-active");const Ie=getComputedStyle(I),ut=I.offsetWidth-V.offsetWidth-parseFloat(Ie.paddingLeft)-parseFloat(Ie.paddingRight);let it=0,un=!1;[...I.children].forEach(Gt=>{const qn=Gt.getAttribute("uid");if(!qn)return;const Kt=getComputedStyle(Gt),Jt=parseFloat(Kt.marginLeft)+parseFloat(Kt.marginRight);it+=Gt.offsetWidth+Jt,it>=ut?(Gt.classList.add("hide_element"),Gt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+qn+'"]').classList.remove("hide_element"),un=!0):document.querySelector('li[uid="'+qn+'"]').classList.add("hide_element")}),un?V.classList.remove("hide_element"):V.classList.add("hide_element")}},fe=()=>{I!==void 0&&[...I.children].forEach(ut=>{ut.classList.remove("hide_element")})},Q=()=>{P=new ResizeObserver(Ie=>{for(const ut of Ie)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ut.contentRect.height+"px");H&&yy()}),setTimeout(()=>{N&&P.observe(N)})},G=()=>{P&&P.disconnect()};rn(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Q(),bn.doOnStoreChange(y,()=>{Y()},["navigation.viewgroupdata"])}),ta(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Zn(()=>{(!m||m!=r)&&Y(),(v===void 0||v!==p)&&(v=p,Y())}),ea(()=>{G(),P?setTimeout(()=>{N&&P.observe(N)}):Q()});function K(Ie){return me.getNodeHref(Ie,a)}function ae(Ie){ne(),O("handleClick",{node:Ie})}function ce(Ie){let ut={};d[Ie]||(ut[Ie]=!0),t(3,d=ut)}function ne(){t(3,d={}),t(4,g=!1)}function Pe(){fe(),Z()}function se(){t(4,g=!g)}function re(Ie,ut){const it=Ie==="undefined",un=Ie.indexOf(c)===0;if(it||un||we(ut))return!0}function we(Ie){const ut=Ie.find(Gt=>ie.isObject(Gt.category));if(!ut)return;const it=ut.category.label||ut.category.id;return Ie.filter(Gt=>Gt.category===it&&Gt.hideFromNav===!0).length===1}const Je=Ie=>ae(Ie),ye=Ie=>ae(Ie),Le=Ie=>ce(Ie),ze=Ie=>ae(Ie),Xe=Ie=>ce(Ie),De=Ie=>ae(Ie);function nt(Ie){Ye[Ie?"unshift":"push"](()=>{E=Ie,t(15,E)})}const rt=Ie=>ae(Ie),gt=(Ie,ut)=>ce(Ie+ut),ge=(Ie,ut)=>ce(Ie+ut),Ze=Ie=>ae(Ie);function Ht(Ie){Ye[Ie?"unshift":"push"](()=>{V=Ie,t(14,V)})}function An(Ie){Ye[Ie?"unshift":"push"](()=>{I=Ie,t(13,I)})}const on=Ie=>ce(Ie.name);function an(Ie){Ye[Ie?"unshift":"push"](()=>{N=Ie,t(12,N)})}return i.$$set=Ie=>{"children"in Ie&&t(0,l=Ie.children),"pathData"in Ie&&t(1,r=Ie.pathData),"pathParams"in Ie&&t(23,a=Ie.pathParams),"hideNavComponent"in Ie&&t(22,o=Ie.hideNavComponent),"virtualGroupPrefix"in Ie&&t(5,c=Ie.virtualGroupPrefix),"selectedNodeForTabNav"in Ie&&t(2,h=Ie.selectedNodeForTabNav),"dropDownStates"in Ie&&t(3,d=Ie.dropDownStates),"isMoreBtnExpanded"in Ie&&t(4,g=Ie.isMoreBtnExpanded),"resizeTabNavToggle"in Ie&&t(24,p=Ie.resizeTabNavToggle)},[l,r,h,d,g,c,ae,ce,ne,Pe,se,b,N,I,V,E,H,n,C,z,K,re,o,a,p,Je,ye,Le,ze,Xe,De,nt,rt,gt,ge,Ze,Ht,An,on,an]}class Sp extends Mt{constructor(e){super(),Ot(this,e,Ty,wy,Dt,{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 g_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function __(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function p_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&m_(i),o=i[0]&&i[3].length>=0&&k_(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),a&&a.c(),l=W(),r=k("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){L(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=m_(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=k_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function m_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=w_(__(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){L(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=Ve(l[0]);let a;for(a=0;a<t.length;a+=1){const o=__(l,t,a);n[a]?n[a].p(o,r):(n[a]=w_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function b_(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&&v_(i);function P(...N){return i[17](i[23],...N)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("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=le.getTestId(i[23]))},m(N,I){L(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=v_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(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=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&T(e),y&&y.d(),v=!1,C()}}}function v_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ay:Ly}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function Ly(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),tt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function Ay(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(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&&T(e)}}}function w_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&b_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=b_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function k_(i){let e,t=Ve(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=y_(g_(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){L(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=Ve(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]=y_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),ht(n,l)}}}function S_(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&&C_(i);function P(){return i[18](i[23])}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.c(),l=W(),r=k("div"),o=Te(a),c=W(),h=k("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=le.getTestId(i[23]))},m(N,I){L(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",St(P)),v=!0)},p(N,I){i=N,i[23].icon?y?y.p(i,I):(y=C_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),I&1&&a!==(a=i[11](i[23])+"")&&Ae(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=le.getTestId(i[23]))&&f(e,"data-testid",m)},d(N){N&&T(e),y&&y.d(),v=!1,C()}}}function C_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Ry:Ey}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){a&&T(t),r.d(a)}}}function Ey(i){let e,t,n;return{c(){e=k("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),tt(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!tt(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&&T(e)}}}function Ry(i){let e,t;return{c(){e=k("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){L(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&&T(e)}}}function y_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&S_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=S_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function Dy(i){let e,t,n,l=i[2]&&p_(i);return{c(){l&&l.c(),e=ke()},m(r,a){l&&l.m(r,a),L(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=p_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Ue,o:Ue,d(r){r&&T(e),l&&l.d(r),t=!1,Qe(n)}}}function ds(){}function Vy(i,e,t){let n;const l=Xt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=Pt("store"),g=Pt("getTranslation");Si(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 le.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};rn(()=>{bn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Zn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return le.renderIconClassName(O)}function P(O){return le.isOpenUIiconName(O.icon)}function N(O){return Et.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)=>{le.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,E,H,D]}class Oy extends Mt{constructor(e){super(),Ot(this,e,Vy,Dy,Dt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return ds}}function My(i){let e;return{c(){e=k("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){L(t,e,n),i[4](e)},p:Ue,i:Ue,o:Ue,d(t){t&&T(e),i[4](null)}}}function Fy(i,e,t){const n=Xt();let{pathData:l}=e,r,a={},o,c=Pt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};rn(()=>{bn.doOnStoreChange(c,()=>{},["navigation"])}),Zn(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=ot.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?Et.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 qt.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,I.context),H.pathData.pathParams);try{const O=await le.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===ot.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 Et.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(ot.getCurrentPath(),v),y=await qt.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Ye[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class Cp extends Mt{constructor(e){super(),Ot(this,e,Fy,My,Dt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let qo="not_checked";Wn.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 Uy(){return qo}const{Boolean:By,window:P_}=wl;function I_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function N_(i){let e,t;return e=new p2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Be(e.$$.fragment)},m(n,l){Me(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){Fe(e,n)}}}function T_(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 op({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(){Be(e.$$.fragment)},m(a,o){Me(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){Fe(e,a)}}}function L_(i){let e,t,n=i[154].mfModal.displayed&&T_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=T_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function A_(i){let e,t;return e=new op({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[Hy]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Be(e.$$.fragment)},m(n,l){Me(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){Fe(e,n)}}}function Hy(i){let e,t;return e=new vl({props:{area:"drawer",disable:i[12]}}),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function E_(i){let e,t;return e=new v2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Be(e.$$.fragment)},m(n,l){Me(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){Fe(e,n)}}}function R_(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 M2({props:r}),Ye.push(()=>yt(e,"storedUserSettings",l)),e.$on("close",i[9]),{c(){Be(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],Ct(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Wy(i){let e,t,n,l,r,a,o,c,h=!i[25]&&D_(i),d=!(i[20]||i[22])&&V_(i);n=new vl({props:{disable:i[12],$$slots:{default:[zy]},$$scope:{ctx:i}}});let g=i[10]&&M_(),p=!i[20]&&F_(i),b=i[15]&&!i[20]&&B_(i);return{c(){h&&h.c(),e=W(),d&&d.c(),t=W(),Be(n.$$.fragment),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=ke()},m(m,v){h&&h.m(m,v),L(m,e,v),d&&d.m(m,v),L(m,t,v),Me(n,m,v),L(m,l,v),g&&g.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){m[25]?h&&(be(),U(h,1,1,()=>{h=null}),ve()):h?(h.p(m,v),v[0]&33554432&&R(h,1)):(h=D_(m),h.c(),R(h,1),h.m(e.parentNode,e)),m[20]||m[22]?d&&(be(),U(d,1,1,()=>{d=null}),ve()):d?(d.p(m,v),v[0]&5242880&&R(d,1)):(d=V_(m),d.c(),R(d,1),d.m(t.parentNode,t));const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),n.$set(C),m[10]?g||(g=M_(),g.c(),g.m(r.parentNode,r)):g&&(g.d(1),g=null),m[20]?p&&(be(),U(p,1,1,()=>{p=null}),ve()):p?(p.p(m,v),v[0]&1048576&&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=B_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(be(),U(b,1,1,()=>{b=null}),ve())},i(m){c||(R(h),R(d),R(n.$$.fragment,m),R(p),R(b),c=!0)},o(m){U(h),U(d),U(n.$$.fragment,m),U(p),U(b),c=!1},d(m){m&&(T(e),T(t),T(l),T(r),T(a),T(o)),h&&h.d(m),d&&d.d(m),Fe(n,m),g&&g.d(m),p&&p.d(m),b&&b.d(m)}}}function qy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;e=new vl({props:{disable:i[12]}});let C=!i[25]&&H_(i),y=!(i[20]||i[22])&&W_(i),P=i[19]&&q_(i);b=new vl({props:{disable:i[12],$$slots:{default:[Gy]},$$scope:{ctx:i}}});let N=i[10]&&K_();return{c(){Be(e.$$.fragment),t=W(),n=k("div"),l=k("div"),r=k("div"),a=k("div"),C&&C.c(),o=W(),c=k("div"),y&&y.c(),h=W(),d=k("div"),P&&P.c(),g=W(),p=k("div"),Be(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){Me(e,I,V),L(I,t,V),L(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),Me(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&&(be(),U(C,1,1,()=>{C=null}),ve()):C?(C.p(I,V),V[0]&33554432&&R(C,1)):(C=H_(I),C.c(),R(C,1),C.m(a,null)),I[20]||I[22]?y&&(be(),U(y,1,1,()=>{y=null}),ve()):y?(y.p(I,V),V[0]&5242880&&R(y,1)):(y=W_(I),y.c(),R(y,1),y.m(c,h)),I[19]?P?(P.p(I,V),V[0]&524288&&R(P,1)):(P=q_(I),P.c(),R(P,1),P.m(d,g)):P&&(be(),U(P,1,1,()=>{P=null}),ve());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=K_(),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&&(T(t),T(n)),Fe(e,I),C&&C.d(),y&&y.d(),P&&P.d(),Fe(b),N&&N.d()}}}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 wp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(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(){Be(e.$$.fragment)},m(m,v){Me(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],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function V_(i){let e,t;return e=new cp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function O_(i){let e,t;return e=new fp({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(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function zy(i){let e,t,n,l,r,a,o,c,h;t=new vl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&O_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("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"),Zt(e,"lui-split-view",i[11].displayed),Zt(e,"lui-collapsed",i[11].collapsed)},m(g,p){L(g,e,p),Me(t,e,null),w(e,n),w(e,l),L(g,r,p),d&&d.m(g,p),L(g,a,p),o=!0,c||(h=Y_(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)&&Zt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Zt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=O_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(be(),U(d,1,1,()=>{d=null}),ve())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&(T(e),T(r),T(a)),Fe(t),d&&d.d(g),c=!1,h()}}}function M_(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <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){L(t,e,n)},d(t){t&&T(e)}}}function F_(i){let e,t,n,l;e=new Oy({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&U_(i);return{c(){Be(e.$$.fragment),t=W(),r&&r.c(),n=ke()},m(a,o){Me(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&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=U_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){a&&(T(t),T(n)),Fe(e,a),r&&r.d(a)}}}function U_(i){let e,t;return e=new Cp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function B_(i){let e,t;return e=new Sp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function H_(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 wp({props:b}),Ye.push(()=>yt(e,"isSearchFieldVisible",c)),Ye.push(()=>yt(e,"displaySearchResult",h)),Ye.push(()=>yt(e,"searchResult",d)),Ye.push(()=>yt(e,"inputElem",g)),Ye.push(()=>yt(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(){Be(e.$$.fragment)},m(m,v){Me(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],Ct(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],Ct(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],Ct(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],Ct(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],Ct(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function W_(i){let e,t,n,l;return n=new cp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=k("div"),t=k("div"),Be(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){L(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&T(e),Fe(n)}}}function q_(i){let e,t;return e=new Cp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function z_(i){let e,t;return e=new Sp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function G_(i){let e,t;return e=new fp({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(){Be(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Gy(i){let e,t,n,l,r,a,o,c,h,d;t=new vl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&z_(i),p=i[11].displayed&&G_(i);return{c(){e=k("div"),Be(t.$$.fragment),n=W(),l=k("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"),Zt(e,"lui-split-view",i[11].displayed),Zt(e,"lui-collapsed",i[11].collapsed)},m(b,m){L(b,e,m),Me(t,e,null),w(e,n),w(e,l),L(b,r,m),g&&g.m(b,m),L(b,a,m),p&&p.m(b,m),L(b,o,m),c=!0,h||(d=Y_(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)&&Zt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Zt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=z_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(be(),U(g,1,1,()=>{g=null}),ve()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=G_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(be(),U(p,1,1,()=>{p=null}),ve())},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&&(T(e),T(r),T(a),T(o)),Fe(t),g&&g.d(b),p&&p.d(b),h=!1,d()}}}function K_(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div> <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){L(t,e,n)},d(t){t&&T(e)}}}function Ky(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&N_(i),b=Ve(i[28]),m=[];for(let E=0;E<b.length;E+=1)m[E]=L_(I_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&A_(i),y=i[27].displayed&&E_(i),P=i[17].displayed&&R_(i);const N=[qy,Wy],I=[];function V(E,H){return E[30]?0:1}return o=V(i),c=I[o]=N[o](i),{c(){e=k("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"),Zt(e,"no-nav",i[20]),Zt(e,"no-side-nav",i[22]),Zt(e,"no-top-nav",i[25]),Zt(e,"no-animation",i[23]),Zt(e,"btp-layout",i[30])},m(E,H){L(E,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(P_,"resize",i[36]),ee(P_,"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=N_(E),p.c(),R(p,1),p.m(e,t)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),H[0]&268439552|H[1]&1792){b=Ve(E[28]);let D;for(D=0;D<b.length;D+=1){const O=I_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=L_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(be(),D=b.length;D<m.length;D+=1)v(D);ve()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=A_(E),C.c(),R(C,1),C.m(e,l)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=E_(E),y.c(),R(y,1),y.m(e,r)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=R_(E),P.c(),R(P,1),P.m(e,a)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&Zt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&Zt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&Zt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&Zt(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(By);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&&T(e),p&&p.d(),ht(m,E),C&&C.d(),y&&y.d(),P&&P.d(),I[o].d(),d=!1,Qe(g)}}}function Jy(i,e,t){const n=Xt();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,Y,Z,fe,Q=!0,G=!1,K,ae,ce,ne=[],Pe={isDirty:!1,persistUrl:null},se,re,we=!1,Je,ye,Le={},ze,Xe,De,nt=te.getConfigValue("settings.btpToolLayout")&&ie.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:rt}=e,{inputElem:gt}=e,{customSearchItemRendererSlot:ge}=e,{displaySearchResult:Ze}=e,{searchResult:Ht}=e,{storedUserSettings:An}=e;const on=async B=>{const ue=B.iframe.luigi,Re=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ne=Re&&typeof Ge=="object"&&Ge!==null,de=Ee.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ne?Ge[Re]:null,anchor:gl.getAnchor(),cssVariables:await Ho.getCSSVariables()});return Ee.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{de[He]=B[He]||!1}),de},an=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||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 on(B)),authData:_l.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ee.sendMessageToIframe(B.iframe,Re)},Ie=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ee.broadcastMessageToAllIframes(ue)},ut=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Re=vn(B.params),Ge=ot.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?ie.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Re.startsWith("/")?Re:"/"+Re,context:I}),ue.iframe.pv="pv"}},it=(B,ue,Re,Ge)=>{let Ne=vn(B.params,Re,Ge);const{preventHistoryEntry:de,preserveQueryParams:He,preventContextUpdate:It}=B.params,jt={keepBrowserHistory:!de,navSync:Q,preventContextUpdate:It};return Ne=ie.addLeadingSlash(Ne),Ne=He?me.composeSearchParamsToRoute(Ne):Ne,ut(B,ue),ot.navigateTo(Ne,jt)},un=B=>B.split("?")[0],Gt=(B,ue)=>{if(B.length===0)return!1;const Re=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[un(Ge.path),un(Ge.nextPath)].includes(un(Re))},qn=B=>{Pe&&Pe.dirtySet&&Pe.dirtySet.clear()},Kt=B=>new Promise((ue,Re)=>{Vi(B)?Kl().then(()=>{qn(),ue()},()=>{Re()}):ue()}),Jt=()=>({get:()=>({unsavedChanges:Pe,hideNav:ai,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:I,pathParams:E,hideGlobalSearch:Ri,hideSideNav:gi,isolateView:Y,pageErrorHandler:Z,previousNodeValues:fe,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:G,goBackContext:K,isNavigationSyncEnabled:Q}),set:B=>{B&&(t(23,Di=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ai=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,Ri=B.hideGlobalSearch):ue==="hideSideNav"?(gi!=B.hideSideNav&&(t(23,Di=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(22,gi=B.hideSideNav)):ue==="isolateView"?Y=B.isolateView:ue==="pageErrorHandler"?Z=B.pageErrorHandler:ue==="previousNodeValues"?fe=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(De),De=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(De)):ue==="tabNav"?t(15,re=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?K=B.goBackContext:ue==="isNavigationSyncEnabled"&&(Q=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Vi,getUnsavedChangesModalPromise:Kt,showUnsavedChangesModal:Kl,showAlert:vt,prepareInternalData:on,dispatch:n}),ri=(B,ue)=>{bn.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Qn.deleteCache();const Ge=ot.getCurrentPath();ot.handleRouteChange(Ge,Jt(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Re,Ge)=>{const{withoutSync:Ne,preventContextUpdate:de}=Ge||{};Gt(ne,Re)||(ne=[],ci.removeInactiveIframes(B));for(let It=wt.length;It--;)Dn(It);na.removeBackdrop(),hi(),ot.handleRouteChange(Re,Jt(),B,ue,Ne,de)})},$t=(B,ue)=>ie.replaceVars(ot.getNodePath(B),ue,":",!1),vn=(B,ue,Re)=>{const Ge=ue||D,Ne=Re||E;let de=ae;if(ue){let It=ue.parent;for(de=[ue];It;)de.push(It),It=It.parent;de=[...de].reverse()}let He=B.link;if(B.fromVirtualTreeRoot){const It=[...de].reverse().find(jt=>jt.virtualTree);if(!It){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=ot.concatenatePath($t(It,Ne),B.link)}else if(B.fromParent)He=ot.concatenatePath($t(Ge.parent,Ne),B.link);else if(B.fromClosestContext){const It=[...de].reverse().find(jt=>jt.navigationContext&&jt.navigationContext.length>0);He=ot.concatenatePath($t(It,Ne),B.link)}else if(B.fromContext){const It=B.fromContext,jt=[...de].reverse().find(Ar=>It===Ar.navigationContext);He=ot.concatenatePath($t(jt,Ne),B.link)}else B.intent?He=me.getIntentPath(B.link):B.relative&&(He=ot.concatenatePath($t(Ge,Ne),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((It,jt)=>{He+=encodeURIComponent(me.getContentViewParamPrefix()+It[0])+"="+encodeURIComponent(It[1])+(jt<Object.keys(B.nodeParams).length-1?"&":"")})),He},Ci=B=>{const ue=B.detail.node;Kt().then(()=>{if(J(),ue.openNodeInModal){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);$(Re,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Re=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,Pr(Re,ue.drawer)}else Jt().set({isNavigationSyncEnabled:!0}),ot.handleRouteClick(ue,Jt())},()=>{})},yi=()=>{t(16,we=!we)};Yr("handleNavigation",it);const wn=B=>B?!0:(console.warn("No search provider defined."),!1),Pi=()=>{wn(ye)&&t(0,rt=!1)},Ii=()=>{wn(ye)&>&&(t(0,rt=!0),gt.focus())},Ni=()=>{wn(ye)&>&&(t(1,gt.value="",gt),Ai())},Ti=()=>{t(0,rt=!rt),Fk.clearSearchField()},Li=()=>{if(wn(ye)&>)return gt.value},Sl=B=>{wn(ye)&>&&(t(1,gt.value=B,gt),ie.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},Cl=B=>{wn(ye)&>&&t(1,gt.placeholder=B,gt)},yl=B=>{if(wn(ye))if(B&&B.length>0)if(ie.isFunction(ye.customSearchResultRenderer)){let ue={fireItemSelected:Re=>{ye.onSearchResultItemSelected(Re)}};ye.customSearchResultRenderer(B,ge,ue)}else t(3,Ze=!0),t(4,Ht=B);else console.warn("Search result array is empty.")},Ai=()=>{if(wn(ye)&&(t(3,Ze=!1),t(4,Ht=[]),ge))for(;ge.lastElementChild;)ge.removeChild(ge.lastElementChild)},Yi=B=>{let ue=B.detail.node,Re={params:{link:ue.link,nodeParams:ue.params}};it(Re)},Qi=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=_t.getDefaultData().mfSplitView),_t.open(Jt(),B,ue)},hi=()=>{_t.close(Jt())},Pl=()=>{_t.collapse(Jt()),t(11,o.collapsed=!0,o)},Il=()=>{_t.expand(Jt()),t(11,o.collapsed=!1,o)},Zi=()=>o.displayed?o.collapsed:!1,Nl=()=>o.displayed?!o.collapsed:!1,Tl=()=>o.displayed,Ll=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ei=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)},Al=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ai,Ri,gi,Di,_i,Xi,$i;const J=()=>{document.body.classList.remove("lui-leftNavToggle")},Se=()=>{el();const B=window.innerWidth>=hn.desktopMinWidth&&_i<hn.desktopMinWidth,ue=window.innerWidth<hn.desktopMinWidth&&_i>=hn.desktopMinWidth;(B||ue)&&J(),_i=window.innerWidth};let je=[];const lt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===ue)[0]},vt=(B,ue=!1)=>{const Re=te.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Re)){const Ne=Re(B,ue);if(Ne!==!1)return Ne}const Ge=je;return B.id||(B.id=ie.getRandomId()),B.id&&Ge&<(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(()=>{lt(je,B.id)&&pt(B.id)},B.closeAfter),new Promise((Ne,de)=>{t(26,je=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ne}}])}))},pt=(B,ue)=>{const Re=lt(je,B);if(!Re){console.error("An unexisting alert has been dismissed.",je,B);return}if(t(26,je=je.filter(Ge=>Ge.settings.id!==B)),Re.openFromClient){const Ge=ci.getActiveIframe(ce),Ne={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ee.sendMessageToIframe(Ge,Ne)}else Re.promise&&Re.promise.resolve(ue||B)},Wt=B=>{pt(B.detail.id,B.detail.dismissKey)};let zt;const En=()=>{t(27,zt={displayed:!1,content:{},openFromClient:!1,promise:null})};En();const zn=(B,ue=!1,Re)=>new Promise((Ge,Ne)=>{t(27,zt={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ne},targetIframe:Re})}),El=B=>{const{promise:ue,openFromClient:Re,targetIframe:Ge}=zt;if(En(),B?ue.resolve():ue.reject(),Re&&Ge){const Ne={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ee.sendMessageToIframe(Ge,Ne)}},Vi=B=>{if(Pe.dirtySet){if(B)return Pe.dirtySet.has(B);if(Pe.dirtySet.size>0)return!0}return!1},Kl=()=>zn({header:Et.getTranslation("luigi.unsavedChangesAlert.header"),body:Et.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Et.getTranslation("luigi.button.dismiss"),buttonConfirm:Et.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Yr("getUnsavedChangesModalPromise",Kt);let wt=[];const xi=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,wt=[]);return}let Re;if(t(28,wt=wt.filter((Ne,de)=>(B===de&&(Re=Ne),B!==de))),(Ge=Re==null?void 0:Re.mfModal)!=null&&Ge.openerIframe){const Ne={msg:"luigi.navigation.modal.close",data:ue};Ee.sendMessageToIframe(Re.mfModal.openerIframe,Ne)}};xi();const $=async(B,ue,Re)=>{if(await le.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Re}};t(28,wt=[...wt,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ot.appendModalDataToUrl(B,ue)},Ft=(B,ue)=>{t(28,wt[ue].modalIframe=B.detail.modalIframe,wt),t(28,wt[ue].modalIframeData=B.detail.modalIframeData,wt)},Rn=(B,ue)=>{t(28,wt[ue].modalWC=B.detail.modalWC,wt),t(28,wt[ue].modalWCData=B.detail.modalWCData,wt)},Dn=(B,ue,Re)=>{const Ge=(He,It)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&wt.length===1&&ot.removeModalDataFromUrl(It),xi(He,Re)},Ne=wt[B],de=ie.getRemotePromise(Ne.mfModal.settings.onClosePromiseId);Ne&&Ne.modalIframe?Kt(Ne.modalIframe.contentWindow).then(()=>{Ge(B,ue),de&&de.doResolve(Re)},()=>{}):Ne&&Ne.modalWC&&(Ge(B,ue),de&&de.doResolve(Re))};Yr("openViewInModal",$);let sn={};const Jl=()=>{t(29,sn.displayed=!1,sn),t(29,sn.nodepath=void 0,sn),t(29,sn.settings={},sn),t(12,g=!1)};Jl();const Pr=async(B,ue)=>{await le.shouldPreventNavigationForPath(B)||(t(29,sn.displayed=!0,sn),t(29,sn.nodepath=B,sn),t(29,sn.settings=ue,sn),sn.settings&&sn.settings.backdrop&&t(12,g=!0))},ia=()=>window.innerWidth>=hn.desktopMinWidth&&sn.displayed&&sn.settings&&!sn.settings.overlap,el=(B=!1)=>{if(!ia())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(ue);Re.forEach(Ne=>{Ir(Ne,Ge)})}},Ir=(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,el()},la=B=>{m=B.detail.modalWC,B.detail.modalWCData,el()},jl=B=>{d=B.detail.activeDrawer},Yl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?Kt(p.contentWindow).then(()=>{Jl()},()=>{}):m&&Kt().then(()=>{Jl()},()=>{}),el(!0)}catch(ue){console.log(ue)}},bs=()=>{const B=pr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Le.userSettingGroups=[...B],Le),t(17,Le.displayed=!0,Le)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ra=()=>{t(17,Le.displayed=!1,Le)},aa=async B=>{if(await le.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},Ql=B=>{let ue=ae;if(D){let Ne=D.parent;for(ue=[D];Ne;)ue.push(Ne),Ne=Ne.parent;ue=[...ue].reverse()}let Re=B.link,Ge=$t(D,E);if(B.fromVirtualTreeRoot){const Ne=[...ue].reverse().find(He=>He.virtualTree);if(!Ne){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const de=$t(Ne,E);Re=Ge.split(de).join("")}else if(B.fromParent){const Ne=$t(D.parent,E);Re=Ge.split(Ne).join("")}else if(B.fromClosestContext){const Ne=[...ue].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),de=$t(Ne,E);Re=Ge.split(de).join("")}else if(B.fromContext){const Ne=B.fromContext,de=[...ue].reverse().find(It=>Ne===It.navigationContext),He=$t(de,E);Re=Ge.split(He).join("")}else Re=Ge;return Re};function vs(B){sessionStorage.removeItem("historyState"),gr.shouldPreload=!0,gr.preload(!0),gr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Re=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ne={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Re};Et.addCurrentLocaleChangeListener(de=>{const He={msg:"luigi.current-locale-changed",currentLocale:de};Ee.broadcastMessageToAllIframes(He)}),Wn.addEventListener("popstate",async de=>{const He=je;if(!He||!(He.length>0))return;const It=He.map(jt=>{if(jt&&!jt.openFromClient&&typeof jt.settings.ttl=="number"){if(jt.settings.ttl===0)return null;jt.settings.ttl--}return jt}).filter(jt=>jt);t(26,je=It)}),Wn.addEventListener("message",async de=>{const He=Ee.getValidMessageSource(de),It=wt[wt.length-1],jt=It&&It.modalIframe,Ar=It&&It.modalIframeData,nl={modalIframe:jt,modalIframeData:Ar,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:N};if(!He)return;He._ready=!0;const Er=Ee.getSpecialIframeMessageSource(de,nl),Oi=Er&&Er.length>0,Rr=te.getConfigValue("communication.skipEventsWhenInactive");if(Rr&&Rr.length>0&&!Oi&&He.contentWindow!==window&&!ie.isElementVisible(He)&&Rr.includes(de.data.msg)){console.debug(`EVENT '${de.data.msg}' from inactive iframe -> SKIPPED`);return}if(de.data.msg==="custom"){const We=te.getConfigValue("communication.customMessagesListeners")||{},Lt=ss.convertCustomMessageInternalToUser(de.data),Nt=We[Lt.id],fn="luigi.updateUserSettings";if(Le&&Lt.id===fn){Nt&&console.warn(`The key "${fn}" is not allowed to use for custom messages.`);return}if(typeof Nt=="function"){const yn=ji.getMicrofrontends().find(xt=>Ee.isMessageSource(de,xt.container));Nt(Lt,yn,ie.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Lt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(de.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),de.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ne.navigateOk=!0,gr.preload()),de.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=de.data.clientVersion,He.luigi.initOk=!1,Oi)Er.forEach(async We=>{let Lt=nl[We.dataKey].context;const Nt={...Ne,iframe:nl[We.iframeKey],context:Lt,pathParams:nl[We.dataKey].pathParams,nodeParams:nl[We.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(nl[We.iframeKey].luigi.currentNode),modal:We.iframeKey.startsWith("modal"),drawer:We.iframeKey.startsWith("drawer"),splitView:We.iframeKey.startsWith("splitView")};await an(Nt,{})});else if(Ne.iframe&&Ee.isMessageSource(de,Ne.iframe))await an(Ne,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Tr(),gr.preload();else if(He.luigi.preloading)await an({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let We=pr.findActiveCustomUserSettingsIframe(de.source);if(We){let Lt=We.getAttribute("userSettingsGroup"),Nt={context:{userSettingsData:An[Lt]},iframe:We};await an(Nt)}}gr.viewGroupLoaded(He)}if(de.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),de.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(De),t(10,a=!1)),de.data.msg==="luigi.navigation.open"){G=!1;const We=window.location.href,Lt=Oi?He.luigi.currentNode:void 0,Nt=Oi?He.luigi.pathParams:void 0,fn=de.data.params,{intent:yn,newTab:xt,modal:il,splitView:Xl,drawer:Rl,withoutSync:Ls}=fn;let $l=xt||il||Xl||Rl;const ga=()=>{const Xn=ie.getRemotePromise(de.data.remotePromiseId);Xn&&Xn.doResolve()},_n=()=>{const Xn=ie.getRemotePromise(de.data.remotePromiseId);Xn&&Xn.doReject()},Dl=Xn=>{!Xn||We!==window.location.href?ga():_n()};de.source!==window&&!yn&&fn.link&&(fn.link=fn.link.split("?")[0]);let Ut=vn(de.data.params,Lt,Nt);if($l=$l||yn&&Ut.external,!$l)Kt().then(()=>{Q=!de.data.params.withoutSync,it(de.data,Ne,Lt,Nt).then(()=>{Dl(!0)}).catch(()=>{_n()}),wt.forEach((Xn,_a)=>{Dn(_a)}),hi(),Yl(),Q=!0}).catch(()=>{_n()});else{if(yn&&Ut.external){ot.navigateToExternalLink({url:Ut.url,sameWindow:!Ut.openInNewTab});return}if(Ut=ie.addLeadingSlash(Ut),xt){await aa(Ut),Dl();return}const Xn=await Zl(Ut);if(Ut=await me.handlePageNotFoundAndRetrieveRedirectPath(Jt(),Ut,Xn),!Ut){_n();return}ce=B,il!==void 0?(!il.keepPrevious&&xi(),await $(Ut,il===!0?{}:il,He),Dl()):Xl!==void 0?(await Qi(Ut,Xl),Dl()):Rl!==void 0&&(Jl(),Rl.isDrawer=!0,await Pr(Ut,Rl),Dl())}}if(de.data.msg==="luigi.navigation.back"){const We=wt[wt.length-1],Lt=wt.length>1&&wt[wt.length-2],Nt=de.data.goBackContext&&JSON.parse(de.data.goBackContext);if(Ee.isMessageSource(de,We&&We.modalIframe)){Dn(wt.length-1,!0,Nt);let fn=Ne;if(Lt&&Lt.modalIframeData&&Lt.modalIframe){const yn=Lt,xt=yn.modalIframeData;fn={pathParams:xt.pathParams,context:xt.context,iframe:yn.modalIframe}}fn.iframe&&await an(fn,{goBackContext:Nt})}else Ee.isMessageSource(de,C)?(hi(),Ne.iframe&&await an(Ne,{goBackContext:Nt})):Ee.isMessageSource(de,p)?(d&&(d=!d),Yl(),Ne.iframe&&await an(Ne,{goBackContext:Nt})):ne&&ne.length>0?Kt().then(()=>{ci.setActiveIframeToPrevious(B);const fn=ne.pop();Ne.iframe=ci.getActiveIframe(B),G=!0,ne=ne,K=Nt,it({params:{link:fn.path}},Ne)},()=>{}):(Nt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(de.data.msg==="luigi.navigation.currentRoute"){const We=de.data.data,Nt={msg:"luigi.navigation.currentRoute.answer",data:{route:Ql(We),correlationId:We.id}};Ee.sendMessageToIframe(He,Nt)}if(de.data.msg==="luigi.auth.tokenIssued"&&Ie(de.data.authData),de.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Oi){const We=ie.addLeadingSlash(vn(de.data.params,He.luigi.currentNode,He.luigi.pathParams));ot.updateModalDataInUrl(We,de.data.params.modal,de.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(de.data.msg==="luigi.navigation.pathExists"){const We=He.luigi.currentNode,Lt=He.luigi.pathParams,Nt=de.data.data,fn=vn(Nt,We,Lt),yn=fn?await qt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),fn):!1,xt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Nt.id,pathExists:yn?yn.isExistingRoute:!1}};Ee.sendMessageToIframe(He,xt)}if(de.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const We=new Set;We.add(de.source),Pe={dirtySet:We}}Pe.persistUrl=window.location.href,de.data.dirty?Pe.dirtySet.add(de.source):Pe.dirtySet.delete(de.source)}if(de.data.msg==="luigi.ux.confirmationModal.show"){const We=de.data.data.settings;ce=B,En(),zn(We,!0,He).catch(()=>{})}if(de.data.msg==="luigi.ux.alert.show"){const{settings:We}=de.data.data;if(!We.text&&!ie.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}ce=B,vt(We,!0).catch(()=>{})}if(de.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:We}=de.data.data;We&&Et.setCurrentLocale(We)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Je&&!Je.thirdPartyCookieScriptLocation&&de.data.msg==="luigi.third-party-cookie"&&de.data.tpc==="disabled"&&Nr(),de.data.msg==="storage"&&f2.process(He.luigi.id,de.origin,de.data.data.id,de.data.data.operation,de.data.data.params),de.data.msg==="luigi-runtime-error-handling"){let We=He.luigi.currentNode;We&&We.runTimeErrorHandler&&ie.isFunction(We.runTimeErrorHandler.errorFn)?We.runTimeErrorHandler.errorFn(de.data.errorObj,We):Ge&&ie.isFunction(Ge.errorFn)&&Ge.errorFn(de.data.errorObj,We)}if(de.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:We,keepBrowserHistory:Lt}=de.data;me.addSearchParamsFromClient(He.luigi.currentNode,We,Lt)}else console.warn("No client permissions to add url parameter for this node.");if(de.data.msg==="luigi.addNodeParams"){if(Oi)return;const{data:We,keepBrowserHistory:Lt}=de.data;gl.addNodeParams(We,Lt)}if(de.data.msg==="luigi.setAnchor"){const{anchor:We}=de.data;gl.setAnchor(We)}if(de.data.msg==="luigi.setVGData"){const We=de.data,Lt=le.findViewGroup(He.luigi.currentNode);if(Lt){const Nt=le.getViewGroupSettings(Lt);Nt._liveCustomData=We.data,te.configChanged("navigation.viewgroupdata")}}}),ri(B,Ne)}Yr("store",l),Yr("getTranslation",r);const Nr=B=>{Je&&Je.thirdPartyCookieErrorHandling&&ie.isFunction(Je.thirdPartyCookieErrorHandling)&&Je.thirdPartyCookieErrorHandling()};function Tr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(De),t(10,a=!1)},250)):clearTimeout(De)}const Zl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Re=vn(ue),Ge=Re?await qt.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Re):!1;return Ge?Ge.isExistingRoute:!1},tl=()=>wt.length>0||ne.length!==0;rn(()=>{if(Ho._init(),ye=te.getConfigValue("globalSearch.searchProvider"),se=te.getConfigValue("settings.responsiveNavigation"),_i=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();B&&ue&&t(18,ze=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(le.getBurgerTooltipConfig()){const[B,ue]=le.getBurgerTooltipConfig();if(B&&ue){const Re=JSON.parse(localStorage.getItem(le.COL_NAV_KEY));t(18,ze=Re?B:ue)}}document.body.classList.add("lui-semiCollapsible")}Je=te.getConfigValue("settings.thirdPartyCookieCheck"),Je&&Je.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=Je.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{Uy()==="disabled"&&Nr()}),document.body.removeChild(B)}})}),ea(()=>{el()}),Zn(()=>{t(19,Xe=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(24,Xi=te.getConfigValue("tag")),t(25,$i=te.getConfigValue("settings.header.disabled"))});const sa=B=>{B.keyCode===Gl&&wt&&wt.length>0&&Dn(wt.length-1)},oa=B=>Dn(B,!0),ws=(B,ue)=>Ft(ue,B),ua=(B,ue)=>Rn(ue,B),fa=()=>El(!0),ca=()=>El(!1);function da(B){An=B,t(5,An)}function ks(B){rt=B,t(0,rt)}function Ss(B){Ze=B,t(3,Ze)}function Cs(B){Ht=B,t(4,Ht)}function ha(B){gt=B,t(1,gt)}function ys(B){ge=B,t(2,ge)}function Ps(B){rt=B,t(0,rt)}function Is(B){Ze=B,t(3,Ze)}function Ns(B){Ht=B,t(4,Ht)}function Lr(B){gt=B,t(1,gt)}function Ts(B){ge=B,t(2,ge)}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,rt=B.isSearchFieldVisible),"inputElem"in B&&t(1,gt=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,ge=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,Ze=B.displaySearchResult),"searchResult"in B&&t(4,Ht=B.searchResult),"storedUserSettings"in B&&t(5,An=B.storedUserSettings)},[rt,gt,ge,Ze,Ht,An,Ti,Ai,Yi,ra,a,o,g,E,ae,re,we,Le,ze,Xe,ai,Ri,gi,Di,Xi,$i,je,zt,wt,sn,nt,Ci,yi,Ll,Ei,Al,Se,Wt,El,Ft,Rn,Dn,ms,la,jl,Yl,vs,sa,l,r,Pi,Ii,Ni,Li,Sl,Cl,yl,Qi,hi,Pl,Il,Zi,Nl,Tl,vt,zn,yr,bs,Ql,Zl,tl,oa,ws,ua,fa,ca,da,ks,Ss,Cs,ha,ys,Ps,Is,Ns,Lr,Ts]}class jy extends Mt{constructor(e){super(),Ot(this,e,Jy,Ky,Dt,{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 Yy=()=>{const{subscribe:i,update:e,reset:t}=vr({}),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=[]}}},yp=Yy(),Qy=Ak((i,e,t)=>Et.getTranslation(i,e,t));Luigi._store=yp;const Zy=()=>new Promise(i=>{Et._init(),gn.init().then(()=>{setTimeout(()=>{let e;ji.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new jy({target:ji.getLuigiContainer(),props:{store:yp,getTranslation:Qy}}),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(Zy);
|
|
53
53
|
//# sourceMappingURL=luigi.js.map
|