@luigi-project/core 2.7.1 → 2.7.2-dev.202310271234
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/BusinessSuiteInAppSymbols-38a17f16.ttf +0 -0
- package/BusinessSuiteInAppSymbols-86cac17f.woff2 +0 -0
- package/{BusinessSuiteInAppSymbols-95715fb5.ttf → BusinessSuiteInAppSymbols-a9859c76.ttf} +0 -0
- package/BusinessSuiteInAppSymbols-b83d8297.woff +0 -0
- package/BusinessSuiteInAppSymbols-ef53e5bb.woff2 +0 -0
- package/BusinessSuiteInAppSymbols-f8ecc84e.woff +0 -0
- package/SAP-icons-29a957e4.woff +0 -0
- package/SAP-icons-31f44c15.ttf +0 -0
- package/SAP-icons-3ae96bf8.ttf +0 -0
- package/SAP-icons-3bda0850.woff2 +0 -0
- package/SAP-icons-TNT-2280f3c6.ttf +0 -0
- package/SAP-icons-TNT-610ebf9d.woff +0 -0
- package/SAP-icons-TNT-74c49116.woff +0 -0
- package/SAP-icons-TNT-7e3f6656.ttf +0 -0
- package/SAP-icons-TNT-a5b4ce87.woff2 +0 -0
- package/SAP-icons-TNT-f42e20f7.woff2 +0 -0
- package/SAP-icons-ca4bfd61.woff +0 -0
- package/SAP-icons-d4cbe3e4.woff2 +0 -0
- package/fd_fiori.css +5 -0
- package/fd_horizon.css +5 -0
- package/luigi.css +10 -47
- package/luigi.js +34 -26
- package/luigi.js.map +1 -1
- package/luigi_core.css +16 -0
- package/luigi_horizon.css +22 -0
- package/luigi_theme_vars.js +1 -1
- package/package.json +1 -1
- package/BusinessSuiteInAppSymbols-1d8aa5c6.woff2 +0 -0
- package/BusinessSuiteInAppSymbols-f2466d17.woff +0 -0
- package/SAP-icons-1620ff50.woff2 +0 -0
- package/SAP-icons-7afcfa46.ttf +0 -0
- package/SAP-icons-TNT-07afca55.woff2 +0 -0
- package/SAP-icons-TNT-a0e38f4b.woff +0 -0
- package/SAP-icons-TNT-b7dcfd74.ttf +0 -0
- package/SAP-icons-f42686df.woff +0 -0
package/luigi.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
function Fe(){}function iw(i,e){for(const t in e)i[t]=e[t];return i}function lw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function Xg(i){return i()}function Mf(){return Object.create(null)}function Ze(i){i.forEach(Xg)}function Vl(i){return typeof i=="function"}function Tt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let $s;function lt(i,e){return $s||($s=document.createElement("a")),$s.href=e,i===$s.href}function rw(i){return Object.keys(i).length===0}function Lo(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function sl(i){let e;return Lo(i,t=>e=t)(),e}function ki(i,e,t){i.$$.on_destroy.push(Lo(e,t))}function $g(i,e,t,n){if(i){const l=xg(i,e,t,n);return i[0](l)}}function xg(i,e,t,n){return i[1]&&n?iw(t.ctx.slice(),i[1](n(e))):t.ctx}function e_(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],s=Math.max(e.dirty.length,l.length);for(let o=0;o<s;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function t_(i,e,t,n,l,r){if(l){const s=xg(e,t,n,r);i.p(s,l)}}function n_(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 ei(i){return i==null?"":i}function sw(i){return i&&Vl(i.destroy)?i.destroy:Fe}function w(i,e){i.appendChild(e)}function E(i,e,t){i.insertBefore(e,t||null)}function R(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function aw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function K(){return Ne(" ")}function ke(){return Ne("")}function se(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function c(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function ow(i){return Array.from(i.childNodes)}function Te(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Of(i,e){i.value=e==null?"":e}function oi(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function bi(i,e,t){i.classList[t?"add":"remove"](e)}function uw(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class _r{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=aw(t.nodeName):this.e=k(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)E(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(R)}}let Qr;function Mi(i){Qr=i}function fl(){if(!Qr)throw new Error("Function called outside component initialization");return Qr}function zn(i){fl().$$.before_update.push(i)}function Jt(i){fl().$$.on_mount.push(i)}function fa(i){fl().$$.after_update.push(i)}function $r(i){fl().$$.on_destroy.push(i)}function Ht(){const i=fl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=uw(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Jr(i,e){return fl().$$.context.set(i,e),e}function ht(i){return fl().$$.context.get(i)}function Al(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const or=[],$e=[],ea=[],yo=[],fw=Promise.resolve();let Po=!1;function cw(){Po||(Po=!0,fw.then(Ao))}function No(i){ea.push(i)}function bt(i){yo.push(i)}const ko=new Set;let rr=0;function Ao(){if(rr!==0)return;const i=Qr;do{try{for(;rr<or.length;){const e=or[rr];rr++,Mi(e),dw(e.$$)}}catch(e){throw or.length=0,rr=0,e}for(Mi(null),or.length=0,rr=0;$e.length;)$e.pop()();for(let e=0;e<ea.length;e+=1){const t=ea[e];ko.has(t)||(ko.add(t),t())}ea.length=0}while(or.length);for(;yo.length;)yo.pop()();Po=!1,ko.clear(),Mi(i)}function dw(i){if(i.fragment!==null){i.update(),Ze(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(No)}}const ta=new Set;let Rl;function Ce(){Rl={r:0,c:[],p:Rl}}function ye(){Rl.r||Ze(Rl.c),Rl=Rl.p}function M(i,e){i&&i.i&&(ta.delete(i),i.i(e))}function q(i,e,t,n){if(i&&i.o){if(ta.has(i))return;ta.add(i),Rl.c.push(()=>{ta.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ia(i,e){const t=e.token={};function n(l,r,s,o){if(e.token!==t)return;e.resolved=o;let f=e.ctx;s!==void 0&&(f=f.slice(),f[s]=o);const g=l&&(e.current=l)(f);let h=!1;e.block&&(e.blocks?e.blocks.forEach((_,p)=>{p!==r&&_&&(Ce(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),ye())}):e.block.d(1),g.c(),M(g,1),g.m(e.mount(),e.anchor),h=!0),e.block=g,e.blocks&&(e.blocks[r]=g),h&&Ao()}if(lw(i)){const l=fl();if(i.then(r=>{Mi(l),n(e.then,1,e.value,r),Mi(null)},r=>{if(Mi(l),n(e.catch,2,e.error,r),Mi(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 i_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const Fi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function vt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function qe(i){i&&i.c()}function We(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||No(()=>{const s=i.$$.on_mount.map(Xg).filter(Vl);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(No)}function ze(i,e){const t=i.$$;t.fragment!==null&&(Ze(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function hw(i,e){i.$$.dirty[0]===-1&&(or.push(i),cw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function At(i,e,t,n,l,r,s,o=[-1]){const f=Qr;Mi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Fe,not_equal:l,bound:Mf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(f?f.$$.context:[])),callbacks:Mf(),dirty:o,skip_bound:!1,root:e.target||f.$$.root};s&&s(g.root);let h=!1;if(g.ctx=t?t(i,e.props||{},(_,p,...b)=>{const v=b.length?b[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=v)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](v),h&&hw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=ow(e.target);g.fragment&&g.fragment.l(_),_.forEach(R)}else g.fragment&&g.fragment.c();e.intro&&M(i.$$.fragment),We(i,e.target,e.anchor,e.customElement),Ao()}Mi(f)}class Rt{$destroy(){ze(this,1),this.$destroy=Fe}$on(e,t){if(!Vl(t))return Fe;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&&!rw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class gw{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),ne.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ne.getConfigValueFromObject(e,t);return ne.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const la=new gw;class _w{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ra=new _w;class pw{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 Wn=new pw;class mw{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()=>{Qw.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=on.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),ui.getLuigiContainer().appendChild(n)}getConfigValue(e){return ne.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ne.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return la.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ne.isFunction(l))try{return await la.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return vi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),An.removeAllEventListeners();const e=ui.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&&ne.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&&ne.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(){Wn.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)||{}}}const sa=new mw;class bw{constructor(){}isAuthorizationEnabled(){return!!re.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&nn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&nn.logout()}async handleAuthEvent(e,t,n,l){const r=await re.executeConfigFnAsync("auth.events."+e,!1,t,n);let s=r===void 0||!!r;if(s&&l){window.location.href=l;return}return s}get store(){return re.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:()=>ai.getStorageKey(),getStorageType:()=>ai.getStorageType(),getAuthData:()=>ai.getAuthData(),setAuthData:e=>ai.setAuthData(e),removeAuthData:()=>ai.removeAuthData(),setNewlyAuthorized:()=>ai.setNewlyAuthorized()}}}const l_=new bw,$t={desktopMinWidth:600},vw=[{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"}],ww={cssSelector:"[luigi-app-root]"},Sw={cssSelector:"[luigi-app-loading-indicator]"};class kw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(ww.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 Le.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Le.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Le.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const r_=new kw;class Cw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class xn extends Cw{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const s=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=ne.createRemotePromise(),f={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:s,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(f),o}openAsModal(e,t={},n){if(ne.isFunction(n)){const l=ne.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(ne.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class yw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new xn().openAsDrawer(e,t)}fromContext(e){return new xn().fromContext(e)}fromClosestContext(){return new xn().fromClosestContext()}fromVirtualTreeRoot(){return new xn().fromVirtualTreeRoot()}withParams(e){return new xn().withParams(e)}pathExists(e){return new xn().pathExists(e)}hasBack(){return new xn().hasBack()}goBack(e){return new xn().goBack(e)}}const s_=new yw,Pw={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"}}},Nw=Pw;class Iw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Nw,this.listeners={}}_init(){on.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(ne.isFunction(e)){const t=ne.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)}),sa.configChanged()}_initCustomImplementation(){this.translationImpl=sa.getConfigValue("settings.customTranslationImplementation"),ne.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 s=l[r];if(t.hasOwnProperty(s)&&typeof t[s]=="object")t=t[s];else return n?this.findInterpolations(t[s],n):t[s]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+gr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const a_=new Iw;class Tw{sendToAll(e){const t=ra.convertCustomMessageUserToInternal(e);Le.getMicrofrontendsInDom().map(n=>n.container).map(n=>Le.sendMessageToIframe(n,t))}send(e,t){const n=ra.convertCustomMessageUserToInternal(t);Le.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Le.sendMessageToIframe(l,n))}}const Lw=new Tw,sr=[];function Aw(i,e){return{subscribe:dr(i,e).subscribe}}function dr(i,e=Fe){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const f=!sr.length;for(const g of n)g[1](),sr.push(g,i);if(f){for(let g=0;g<sr.length;g+=2)sr[g][0](sr[g+1]);sr.length=0}}}function r(o){l(o(i))}function s(o,f=Fe){const g=[o,f];return n.add(g),n.size===1&&(t=e(l)||Fe),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class Rw{initial(){this.responsiveNavSetting=re.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(Se.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<$t.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<$t.desktopMinWidth&&this.previousWindowWidth>=$t.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>$t.desktopMinWidth&&this.previousWindowWidth>=$t.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(Se.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(Se.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){return e&&(e=null,document.getElementsByClassName("fd-app__sidebar")[0].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].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")})),this.isSemiCollapsed}}const mi=new Rw;class Ew{constructor(){this.documentTitle=dr()}hideAppLoadingIndicator(){const e=document.querySelector(Sw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ne.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(ne.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 sl(this.documentTitle)}collapseLeftSideNav(e){mi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const o_=new Ew;class Dw{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 u_=new Dw;class Vw{constructor(){this.currentTheme}async getAvailableThemes(){return await re.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=re.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!!re.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=re.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){ne.isFunction(re.getConfigValue("settings.theming.variables.errorHandling"))?re.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else re.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=re.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Zr.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")};on.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const f_=new Vw;class Mw{constructor(){this.featureToggleList=dr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||sl(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=sl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}sl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...sl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ne.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return sl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):sl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const c_=new Mw;class Ow{constructor(){}getSearchParams(){const e={},t=new URL(location);if(re.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(!ne.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);re.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),re.configChanged()}addNodeParams(e,t){if(!ne.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);re.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),re.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 re.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(re.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 d_=new Ow,re=sa,vi=l_,ui=r_,h_=s_,pt=a_,xr=o_,Fw=u_,Io=f_,Ro=c_,al=d_;window.Luigi=sa;window.Luigi.auth=()=>l_;window.Luigi.elements=()=>r_;window.Luigi.navigation=()=>s_;window.Luigi.i18n=()=>a_;window.Luigi.customMessages=()=>Lw;window.Luigi.ux=()=>o_;window.Luigi.globalSearch=()=>u_;window.Luigi.theming=()=>f_;window.Luigi.featureToggles=()=>c_;window.Luigi.routing=()=>d_;class Uw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ne.isElementVisible)}setActiveIframeToPrevious(e){const t=Le.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Le.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!ne.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)}getAllViewGroupSettings(){return re.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}canCache(e){const t=this.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:pt.getCurrentLocale()})};Le.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 f=this.getViewGroupSettings(o.vg);if(f&&this.notifyInactiveIframes(),o.style.display="none",f.preloadUrl){const g={msg:"luigi.navigate",viewUrl:f.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:pt.getCurrentLocale()})};Le.sendMessageToIframe(o,g)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Le.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)):Se.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||ne.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 s=Le.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),f=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Le.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Le.getMainIframes(),p=this.getPreservedViewsInDom(_);let b,v=!1;if(p.length>0&&(b=p.shift(),b===h&&(v=!0,h=void 0,e.iframe=void 0)),!v&&!t.get().isNavigateBack){h&&o&&(h=this.switchActiveIframe(n,void 0,!0)),h&&f&&(h=this.switchActiveIframe(n,void 0,!h.vg));let S;if(!f&&l.viewGroup){const C=Le.getMainIframes().filter(P=>P.vg===l.viewGroup);C.length>0&&(S=C[0],h=this.switchActiveIframe(n,S,h&&!h.vg))}h&&!S&&(h.vg?h=this.switchActiveIframe(n,void 0,!1):g||(h=this.switchActiveIframe(n,void 0,!0))),e.iframe=h}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),v?(this.notifyInactiveIframes(),Le.hideElementChildren(n)):Le.removeElementChildren(n),l.viewUrl){ne.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const S=l.viewGroup&&!f&&this.canCache(l.viewGroup);e.iframe=Le.createIframe(r,S?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 C=["init",JSON.stringify(l.context)];Le.sendMessageToIframe(e.iframe,C)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const y=l.currentNode.pageErrorHandler;y?this.checkIframe(y,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const S=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 y=await t.prepareInternalData(e),C={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:S})),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(y)};l.isNavigationSyncEnabled?(Le.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(T=>{Le.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:T[I.userSettingsGroup]},internal:Le.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Le.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:Le.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Le.sendMessageToIframe(e.iframe,C),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Ln=new Uw;class Bw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=Ln.getAllViewGroupSettings();if(!l)return;const r=Le.getIframeContainer(),s=Le.getMainIframes(),o=new Date().getTime();if(s.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=s.map(_=>_.vg).filter(Boolean),h=Object.entries(l).filter(([_,p])=>!g.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&h.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&h.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,n){const l=Le.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 ar=new Bw;class Hw{async getNavigationPath(e,t=""){try{const n=ne.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Wn.hasRootNode()&&(l=Wn.getRootNode().node),!l){const _=await e;ne.isObject(_)?(l=_,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:_},l.children=await this.getChildren(l),Wn.setRootNode(l)}const r=n.split("/"),o={...re.getConfigValue("navigation.globalContext")||{},...l.context||{}},f=await this.buildNode(r,[l],l.children,o),g=f.navigationPath.filter(_=>_.pathSegment).map(_=>_.pathSegment);f.isExistingRoute=!n||r.length===g.length;const h=n.split("/");return f.matchedPath=h.filter((_,p)=>g[p]&&g[p].startsWith(":")||g[p]===_).join("/"),f}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Wn.hasChildren(e)){let r=Wn.getChildren(e);r&&(n=r.children)}else try{n=await la.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 Wn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Wn.hasChildren(e)?Vt.getChildrenFromCache(e):await Vt.getChildren(e)}getChildrenFromCache(e){let t=Wn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>Se.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,s)=>{const o=r.shift();let f={};return r.length?(f.pathSegment=o,s.hideFromNav&&(f.hideFromNav=s.hideFromNav),f.children=[l(r,s)]):(f=n,f.pathSegment=o),f};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let s={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],f=this.findMatchingNode(o,n);if(f){t.push(f);let g=Se.applyContext(l,f.context,f.navigationContext);f.pathSegment.startsWith(":")&&(r[f.pathSegment.replace(":","")]=gr.sanitizeParam(o)),g=me.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(f,e,r);let h=await this.getChildren(f,g);const _=e.slice(1);s=this.buildNode(_,t,h,g,r)}catch(h){console.error("Error getting nodes children",h)}}}return s}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,s=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],h=ne.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ne.trimTrailingSlash(this.buildVirtualViewUrl(s,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:s});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
1
|
+
function qe(){}function G2(i,e){for(const t in e)i[t]=e[t];return i}function K2(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function M_(i){return i()}function Ff(){return Object.create(null)}function $e(i){i.forEach(M_)}function oi(i){return typeof i=="function"}function At(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let $a;function je(i,e){return $a||($a=document.createElement("a")),$a.href=e,i===$a.href}function J2(i){return Object.keys(i).length===0}function Vo(i,...e){if(i==null)return qe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function sl(i){let e;return Vo(i,t=>e=t)(),e}function wi(i,e,t){i.$$.on_destroy.push(Vo(e,t))}function O_(i,e,t,n){if(i){const l=F_(i,e,t,n);return i[0](l)}}function F_(i,e,t,n){return i[1]&&n?G2(t.ctx.slice(),i[1](n(e))):t.ctx}function U_(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function B_(i,e,t,n,l,r){if(l){const a=F_(e,t,n,r);i.p(a,l)}}function H_(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function ei(i){return i==null?"":i}function W_(i){return i&&oi(i.destroy)?i.destroy:qe}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 st(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function j2(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function q(){return Ne(" ")}function ve(){return Ne("")}function le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Lt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function Y2(i){return Array.from(i.childNodes)}function Ie(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Uf(i,e){i.value=e==null?"":e}function Pn(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Dn(i,e,t){i.classList[t?"add":"remove"](e)}function Q2(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class mr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=j2(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}let Jr;function Ui(i){Jr=i}function cl(){if(!Jr)throw new Error("Function called outside component initialization");return Jr}function zn(i){cl().$$.before_update.push(i)}function Yt(i){cl().$$.on_mount.push(i)}function fs(i){cl().$$.after_update.push(i)}function Qr(i){cl().$$.on_destroy.push(i)}function zt(){const i=cl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=Q2(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Gr(i,e){return cl().$$.context.set(i,e),e}function _t(i){return cl().$$.context.get(i)}function Ml(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const fr=[],Xe=[],es=[],Lo=[],Z2=Promise.resolve();let Ao=!1;function X2(){Ao||(Ao=!0,Z2.then(Mo))}function Ro(i){es.push(i)}function ut(i){Lo.push(i)}const Io=new Set;let sr=0;function Mo(){if(sr!==0)return;const i=Jr;do{try{for(;sr<fr.length;){const e=fr[sr];sr++,Ui(e),$2(e.$$)}}catch(e){throw fr.length=0,sr=0,e}for(Ui(null),fr.length=0,sr=0;Xe.length;)Xe.pop()();for(let e=0;e<es.length;e+=1){const t=es[e];Io.has(t)||(Io.add(t),t())}es.length=0}while(fr.length);for(;Lo.length;)Lo.pop()();Ao=!1,Io.clear(),Ui(i)}function $2(i){if(i.fragment!==null){i.update(),$e(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ro)}}const ts=new Set;let Ol;function we(){Ol={r:0,c:[],p:Ol}}function ke(){Ol.r||$e(Ol.c),Ol=Ol.p}function R(i,e){i&&i.i&&(ts.delete(i),i.i(e))}function B(i,e,t,n){if(i&&i.o){if(ts.has(i))return;ts.add(i),Ol.c.push(()=>{ts.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function is(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const h=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((_,p)=>{p!==r&&_&&(we(),B(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),ke())}):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&&Mo()}if(K2(i)){const l=cl();if(i.then(r=>{Ui(l),n(e.then,1,e.value,r),Ui(null)},r=>{if(Ui(l),n(e.catch,2,e.error,r),Ui(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function z_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const Hi=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function ft(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function Ue(i){i&&i.c()}function Oe(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Ro(()=>{const a=i.$$.on_mount.map(M_).filter(oi);i.$$.on_destroy?i.$$.on_destroy.push(...a):$e(a),i.$$.on_mount=[]}),r.forEach(Ro)}function Fe(i,e){const t=i.$$;t.fragment!==null&&($e(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function x2(i,e){i.$$.dirty[0]===-1&&(fr.push(i),X2(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Mt(i,e,t,n,l,r,a,o=[-1]){const c=Jr;Ui(i);const h=i.$$={fragment:null,ctx:[],props:r,update:qe,not_equal:l,bound:Ff(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Ff(),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||{},(_,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[_],h.ctx[_]=m)&&(!h.skip_bound&&h.bound[_]&&h.bound[_](m),d&&x2(i,_)),p}):[],h.update(),d=!0,$e(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const _=Y2(e.target);h.fragment&&h.fragment.l(_),_.forEach(T)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Oe(i,e.target,e.anchor,e.customElement),Mo()}Ui(c)}class Ot{$destroy(){Fe(this,1),this.$destroy=qe}$on(e,t){if(!oi(t))return qe;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!J2(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class ew{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),se.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=se.getConfigValueFromObject(e,t);return se.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ls=new ew;class tw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const rs=new tw;class nw{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const Hn=new nw;class iw{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()=>{Mw.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=un.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),si.getLuigiContainer().appendChild(n)}getConfigValue(e){return se.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=se.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ls.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(se.isFunction(l))try{return await ls.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return mi.isAuthorizationEnabled()}unload(){this.initialized=!1,rn.unload(),Vn.removeAllEventListeners();const e=si.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&&se.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&&se.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Hn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}}const as=new iw;class lw{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&rn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&rn.logout()}async handleAuthEvent(e,t,n,l){const r=await ae.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return ae.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ai.getStorageKey(),getStorageType:()=>ai.getStorageType(),getAuthData:()=>ai.getAuthData(),setAuthData:e=>ai.setAuthData(e),removeAuthData:()=>ai.removeAuthData(),setNewlyAuthorized:()=>ai.setNewlyAuthorized()}}}const q_=new lw,xt={desktopMinWidth:600},rw=[{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"}],aw={cssSelector:"[luigi-app-root]"},sw={cssSelector:"[luigi-app-loading-indicator]"};class ow{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(aw.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 Re.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Re.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Re.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const G_=new ow;class uw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class xn extends uw{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=se.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(se.isFunction(n)){const l=se.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(se.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class fw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new xn().openAsDrawer(e,t)}fromContext(e){return new xn().fromContext(e)}fromClosestContext(){return new xn().fromClosestContext()}fromVirtualTreeRoot(){return new xn().fromVirtualTreeRoot()}withParams(e){return new xn().withParams(e)}pathExists(e){return new xn().pathExists(e)}hasBack(){return new xn().hasBack()}goBack(e){return new xn().goBack(e)}}const K_=new fw,cw={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"}}},dw=cw;class hw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=dw,this.listeners={}}_init(){un.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(se.isFunction(e)){const t=se.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),as.configChanged()}_initCustomImplementation(){this.translationImpl=as.getConfigValue("settings.customTranslationImplementation"),se.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 Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+pr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const J_=new hw;class gw{sendToAll(e){const t=rs.convertCustomMessageUserToInternal(e);Re.getMicrofrontendsInDom().map(n=>n.container).map(n=>Re.sendMessageToIframe(n,t))}send(e,t){const n=rs.convertCustomMessageUserToInternal(t);Re.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Re.sendMessageToIframe(l,n))}}const _w=new gw,or=[];function pw(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=qe){let t;const n=new Set;function l(o){if(At(i,o)&&(i=o,t)){const c=!or.length;for(const h of n)h[1](),or.push(h,i);if(c){for(let h=0;h<or.length;h+=2)or[h][0](or[h+1]);or.length=0}}}function r(o){l(o(i))}function a(o,c=qe){const h=[o,c];return n.add(h),n.size===1&&(t=e(l)||qe),o(i),()=>{n.delete(h),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class mw{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ye.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<xt.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<xt.desktopMinWidth&&this.previousWindowWidth>=xt.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>xt.desktopMinWidth&&this.previousWindowWidth>=xt.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(ye.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ye.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const pi=new mw;class bw{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(sw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(se.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(se.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 sl(this.documentTitle)}collapseLeftSideNav(e){pi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const j_=new bw;class vw{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}}const Y_=new vw;class ww{constructor(){this.currentTheme}async getAvailableThemes(){return await ae.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ae.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ae.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ae.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){se.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&jr.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")};un.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const Q_=new ww;class kw{constructor(){this.featureToggleList=gr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||sl(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=sl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}sl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...sl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return se.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return sl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):sl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const Z_=new kw;class Sw{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ae.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!se.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ae.getConfigValue("routing.useHashRouting")?n.hash=be.addParamsOnHashRouting(e,n.hash):be.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ae.configChanged()}addNodeParams(e,t){if(!se.isObject(e)){console.log("Params argument must be an object");return}const n=be.getContentViewParamPrefix(),l=new URL(location);ae.getConfigValue("routing.useHashRouting")?l.hash=be.addParamsOnHashRouting(e,l.hash,n):be.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ae.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return ae.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ae.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}}const X_=new Sw,ae=as,mi=q_,si=G_,$_=K_,vt=J_,Zr=j_,Cw=Y_,Eo=Q_,Oo=Z_,ol=X_;window.Luigi=as;window.Luigi.auth=()=>q_;window.Luigi.elements=()=>G_;window.Luigi.navigation=()=>K_;window.Luigi.i18n=()=>J_;window.Luigi.customMessages=()=>_w;window.Luigi.ux=()=>j_;window.Luigi.globalSearch=()=>Y_;window.Luigi.theming=()=>Q_;window.Luigi.featureToggles=()=>Z_;window.Luigi.routing=()=>X_;class yw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(se.isElementVisible)}setActiveIframeToPrevious(e){const t=Re.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Re.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!se.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)}getAllViewGroupSettings(){return ae.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}canCache(e){const t=this.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:vt.getCurrentLocale()})};Re.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=this.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:vt.getCurrentLocale()})};Re.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:(Re.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)):ye.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||se.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=be.substituteViewUrl(r,l));const a=Re.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Re.canReuseIframe(e,t);let d=this.getActiveIframe(n);const _=Re.getMainIframes(),p=this.getPreservedViewsInDom(_);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=Re.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(),Re.hideElementChildren(n)):Re.removeElementChildren(n),l.viewUrl){se.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=Re.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)];Re.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({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Re.getVisibleIframes().forEach(A=>{A!==e.iframe&&(A.userSettingsGroup?Luigi.readUserSettings().then(N=>{Re.sendMessageToIframe(A,{msg:"luigi.navigate",context:{userSettingsData:N[A.userSettingsGroup]},internal:Re.applyCoreStateData(A.luigi._lastUpdatedMessage.internal)})}):Re.sendMessageToIframe(A,{msg:"luigi.navigate",context:A.luigi._lastUpdatedMessage.context,nodeParams:A.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},A.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Re.applyCoreStateData(A.luigi._lastUpdatedMessage.internal)}))}),Re.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const En=new yw;class Pw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=En.getAllViewGroupSettings();if(!l)return;const r=Re.getIframeContainer(),a=Re.getMainIframes(),o=new Date().getTime();if(a.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(_=>_.vg).filter(Boolean),d=Object.entries(l).filter(([_,p])=>!h.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&d.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&d.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,n){const l=Re.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 ur=new Pw;class Nw{async getNavigationPath(e,t=""){try{const n=se.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Hn.hasRootNode()&&(l=Hn.getRootNode().node),!l){const _=await e;se.isObject(_)?(l=_,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:_},l.children=await this.getChildren(l),Hn.setRootNode(l)}const r=n.split("/"),o={...ae.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(_=>_.pathSegment).map(_=>_.pathSegment);c.isExistingRoute=!n||r.length===h.length;const d=n.split("/");return c.matchedPath=d.filter((_,p)=>h[p]&&h[p].startsWith(":")||h[p]===_).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Hn.hasChildren(e)){let r=Hn.getChildren(e);r&&(n=r.children)}else try{n=await ls.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Hn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Hn.hasChildren(e)?Ft.getChildrenFromCache(e):await Ft.getChildren(e)}getChildrenFromCache(e){let t=Hn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ye.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=ye.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=pr.sanitizeParam(o)),h=be.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const _=e.slice(1);a=this.buildNode(_,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=se.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:se.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&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
|
-
Please refer to documentation`),e.children=[
|
|
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
|
-
Affected pathSegment:`,e,"Children:",t),t=t.filter(
|
|
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(
|
|
8
|
+
Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.pathSegment.startsWith(":"))return n=a,!0}),n)}onNodeChange(e,t){const n=ae.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(Hn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?ye.groupNodesBy(n,"category",!0):{children:ye.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&&!be.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,ae.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,ye.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&&ye.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:ye.getParentNode(a,e.pathData),(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=a,n.selectedNodeForTabNav=a,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:be.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(se.isFunction(e.onNodeActivation)||se.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Ft=new Nw,fl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},Iw={externalLink:{sameWindow:!1}};class _r{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class Tw extends _r{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=x_({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class Lw extends _r{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
|
|
9
9
|
.${e} {
|
|
10
10
|
grid-template-columns: ${l.columns||"auto"};
|
|
11
11
|
grid-template-rows: ${l.rows||"auto"};
|
|
@@ -23,39 +23,47 @@ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.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 x_=i=>{const e=i.use;if(e){if(e==="grid")return new Lw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new Tw(i)}else return new _r(i);return new _r(i)},Bf=(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]})},Aw=i=>Object.entries(i).reduce((e,t)=>(e[Hf(t[0])]=Hf(t[1]),e),{}),Hf=(i="")=>String(i).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/");class Rw{constructor(){}dynamicImport(e){return import(/* webpackIgnore: true */ e)}attachWC(e,t,n,l,r,a,o){if(n&&n.contains(t)){const c=document.createElement(e);a&&c.setAttribute("nodeId",a),c.setAttribute("lui_web_component",!0),this.initWC(c,e,n,r,l,a,o),n.replaceChild(c,t)}}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:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:_=>{n.eventBus&&n.eventBus.onPublishEvent(_,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var _;return(_=e.extendedContext)!=null&&_.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const _={clientPermissions:e.extendedContext.clientPermissions};return be.prepareSearchParamsForClient(_)},getClientPermissions:()=>{var _;return(_=e.extendedContext)!=null&&_.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(_,p)=>{o||window.Luigi.routing().addNodeParams(_,p)},getNodeParams:_=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return _?Aw(p):e.extendedContext.nodeParams},setAnchor:_=>{o||window.Luigi.routing().setAnchor(_)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node)};if(e.__postProcess){const _=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,h,_.origin+_.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=h;const d=ae.getConfigValue("settings.webcomponentCreationInterceptor");se.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=be.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=ae.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,a){const o=n.context,c=be.substituteViewUrl(e,{context:o}),h=l.webcomponent&&l.webcomponent.tagName?l.webcomponent.tagName:this.generateWCId(c),d=document.createElement("div");t.appendChild(d),t._luigi_node=l,window.customElements.get(h)?this.attachWC(h,d,t,n,c,r,a):window.luigiWCFn?window.luigiWCFn(c,h,d,()=>{this.attachWC(h,d,t,n,c,r,a)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,c,()=>{this.attachWC(h,d,t,n,c,r,a)}):this.registerWCFromUrl(c,h).then(()=>{this.attachWC(h,d,t,n,c,r,a)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var a;if(e.viewUrl)try{const o=this.generateWCId(e.viewUrl),c=document.createElement(o);(a=n==null?void 0:n.webcomponent)!=null&&a.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{this.initWC(c,o,c,e.viewUrl,t,"_root"),l(c)}):this.registerWCFromUrl(e.viewUrl,o).then(()=>{this.initWC(c,o,c,e.viewUrl,t,"_root"),l(c)})}catch(o){r(o)}else l(e.createCompoundContainer())})}renderWebComponentCompound(e,t,n){const l=n.context;let r;return t._luigi_node=e,e.webcomponent&&e.viewUrl?(r=new _r,r.viewUrl=be.substituteViewUrl(e.viewUrl,{context:l}),r.createCompoundItemContainer=a=>{var o=document.createElement("div");return a&&a.slot&&o.setAttribute("slot",a.slot),o}):e.compound.renderer&&(r=x_(e.compound.renderer)),r=r||new _r,new Promise(a=>{this.createCompoundContainerAsync(r,n,e).then(o=>{const c={};o.eventBus={listeners:c,onPublishEvent:(h,d,_)=>{const p=c[d+"."+h.type]||[];p.push(...c["*."+h.type]||[]),p.forEach(b=>{const m=b.wcElement||o.querySelector("[nodeId="+b.wcElementId+"]");m?m.dispatchEvent(new CustomEvent(b.action,{detail:b.converter?b.converter(h.detail):h.detail})):console.debug("Could not find event target",b)})}},e.compound.children.forEach((h,d)=>{const _={...l,...h.context},p=r.createCompoundItemContainer(h.layoutConfig);p.eventBus=o.eventBus,r.attachCompoundItem(o,p);const b=h.id||"gen_"+d;this.renderWebComponent(h.viewUrl,p,{context:_},h,b,!0),Bf(c,h,b)}),t.appendChild(o),Bf(c,e.compound,"_root",o),a(o)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;ae.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const hr=new Rw;var Kr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ul={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
|
-
*/(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",o="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",g=500,h="__lodash_placeholder__",_=1,p=2,b=4,v=1,S=2,y=1,C=2,P=4,I=8,T=16,A=32,L=64,O=128,H=256,F=512,B=30,G="...",x=800,$=16,pe=1,ie=2,W=3,ue=1/0,ee=9007199254740991,Y=17976931348623157e292,Pe=0/0,le=4294967295,Ue=le-1,Ie=le>>>1,ce=[["ary",O],["bind",y],["bindKey",C],["curry",I],["curryRight",T],["flip",F],["partial",A],["partialRight",L],["rearg",H]],Z="[object Arguments]",he="[object Array]",ae="[object AsyncFunction]",Ve="[object Boolean]",He="[object Date]",be="[object DOMException]",Ge="[object Error]",St="[object Function]",Wt="[object GeneratorFunction]",kt="[object Map]",Yt="[object Number]",pn="[object Null]",un="[object Object]",mn="[object Promise]",Bi="[object Proxy]",bn="[object RegExp]",Qt="[object Set]",Rn="[object String]",Et="[object Symbol]",cl="[object Undefined]",xt="[object WeakMap]",fn="[object WeakSet]",qn="[object ArrayBuffer]",qt="[object DataView]",Cn="[object Float32Array]",fi="[object Float64Array]",ci="[object Int8Array]",cn="[object Int16Array]",Ci="[object Int32Array]",te="[object Uint8Array]",Ae="[object Uint8ClampedArray]",at="[object Uint16Array]",Nt="[object Uint32Array]",Ct=/\b__p \+= '';/g,ln=/\b(__p \+=) '' \+/g,En=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gn=/&(?:amp|lt|gt|quot|#39);/g,ni=/[&<>"']/g,Ml=RegExp(Gn.source),Hi=RegExp(ni.source),pr=/<%-([\s\S]+?)%>/g,mr=/<%([\s\S]+?)%>/g,Ol=/<%=([\s\S]+?)%>/g,br=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vr=/^\w*$/,wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dl=/[\\^$.*+?()[\]{}|]/g,Sr=RegExp(dl.source),yi=/^\s+/,Wi=/\s/,hl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,zi=/\{\n\/\* \[wrapped with (.+)\] \*/,Fl=/,? & /,Ul=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Bl=/[()=,{}\[\]\/\s]/,kr=/\\(\\)?/g,yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qi=/\w*$/,gl=/^[-+]0x[0-9a-f]+$/i,Hl=/^0b[01]+$/i,Cr=/^\[object .+?Constructor\]$/,Gi=/^0o[0-7]+$/i,_l=/^(?:0|[1-9]\d*)$/,pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,Wl=/['\n\r\u2028\u2029\\]/g,Pi="\\ud800-\\udfff",yr="\\u0300-\\u036f",gt="\\ufe20-\\ufe2f",ml="\\u20d0-\\u20ff",Ki=yr+gt+ml,bl="\\u2700-\\u27bf",vl="a-z\\xdf-\\xf6\\xf8-\\xff",J="\\xac\\xb1\\xd7\\xf7",tt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dn="\\u2000-\\u206f",hi=" \\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",ts="A-Z\\xc0-\\xd6\\xd8-\\xde",wl="\\ufe0e\\ufe0f",ns=J+tt+dn+hi,Pr="['\u2019]",ca="["+Pi+"]",zl="["+ns+"]",ql="["+Ki+"]",is="\\d+",da="["+bl+"]",ls="["+vl+"]",rs="[^"+Pi+ns+is+bl+vl+ts+"]",Gl="\\ud83c[\\udffb-\\udfff]",ha="(?:"+ql+"|"+Gl+")",Nr="[^"+Pi+"]",Ir="(?:\\ud83c[\\udde6-\\uddff]){2}",Tr="[\\ud800-\\udbff][\\udc00-\\udfff]",ji="["+ts+"]",ss="\\u200d",as="(?:"+ls+"|"+rs+")",ga="(?:"+ji+"|"+rs+")",os="(?:"+Pr+"(?:d|ll|m|re|s|t|ve))?",us="(?:"+Pr+"(?:D|LL|M|RE|S|T|VE))?",fs=ha+"?",cs="["+wl+"]?",_a="(?:"+ss+"(?:"+[Nr,Ir,Tr].join("|")+")"+cs+fs+")*",pa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ma="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",U=cs+fs+_a,fe="(?:"+[da,Ir,Tr].join("|")+")"+U,Ee="(?:"+[Nr+ql+"?",ql,Ir,Tr,ca].join("|")+")",je=RegExp(Pr,"g"),Oe=RegExp(ql,"g"),we=RegExp(Gl+"(?="+Gl+")|"+Ee+U,"g"),De=RegExp([ji+"?"+ls+"+"+os+"(?="+[zl,ji,"$"].join("|")+")",ga+"+"+us+"(?="+[zl,ji+as,"$"].join("|")+")",ji+"?"+as+"+"+os,ji+"+"+us,ma,pa,is,fe].join("|"),"g"),_t=RegExp("["+ss+Pi+Ki+wl+"]"),Ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Lr=["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"],Ji=-1,yt={};yt[Cn]=yt[fi]=yt[ci]=yt[cn]=yt[Ci]=yt[te]=yt[Ae]=yt[at]=yt[Nt]=!0,yt[Z]=yt[he]=yt[qn]=yt[Ve]=yt[qt]=yt[He]=yt[Ge]=yt[St]=yt[kt]=yt[Yt]=yt[un]=yt[bn]=yt[Qt]=yt[Rn]=yt[xt]=!1;var dt={};dt[Z]=dt[he]=dt[qn]=dt[qt]=dt[Ve]=dt[He]=dt[Cn]=dt[fi]=dt[ci]=dt[cn]=dt[Ci]=dt[kt]=dt[Yt]=dt[un]=dt[bn]=dt[Qt]=dt[Rn]=dt[Et]=dt[te]=dt[Ae]=dt[at]=dt[Nt]=!0,dt[Ge]=dt[St]=dt[xt]=!1;var Ar={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Ke={"&":"&","<":"<",">":">",'"':""","'":"'"},It={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},en=parseFloat,Dn=parseInt,Kn=typeof Yr=="object"&&Yr&&Yr.Object===Object&&Yr,Sl=typeof self=="object"&&self&&self.Object===Object&&self,Gt=Kn||Sl||Function("return this")(),Yi=e&&!e.nodeType&&e,Qi=Yi&&!0&&i&&!i.nodeType&&i,Kl=Qi&&Qi.exports===Yi,Rr=Kl&&Kn.process,rn=function(){try{var Q=Qi&&Qi.require&&Qi.require("util").types;return Q||Rr&&Rr.binding&&Rr.binding("util")}catch{}}(),Zi=rn&&rn.isArrayBuffer,sn=rn&&rn.isDate,Vn=rn&&rn.isMap,ds=rn&&rn.isRegExp,Do=rn&&rn.isSet,Vo=rn&&rn.isTypedArray;function Mn(Q,de,oe){switch(oe.length){case 0:return Q.call(de);case 1:return Q.call(de,oe[0]);case 2:return Q.call(de,oe[0],oe[1]);case 3:return Q.call(de,oe[0],oe[1],oe[2])}return Q.apply(de,oe)}function N_(Q,de,oe,Me){for(var Xe=-1,mt=Q==null?0:Q.length;++Xe<mt;){var Zt=Q[Xe];de(Me,Zt,oe(Zt),Q)}return Me}function jn(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me&&de(Q[oe],oe,Q)!==!1;);return Q}function I_(Q,de){for(var oe=Q==null?0:Q.length;oe--&&de(Q[oe],oe,Q)!==!1;);return Q}function Mo(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me;)if(!de(Q[oe],oe,Q))return!1;return!0}function Xi(Q,de){for(var oe=-1,Me=Q==null?0:Q.length,Xe=0,mt=[];++oe<Me;){var Zt=Q[oe];de(Zt,oe,Q)&&(mt[Xe++]=Zt)}return mt}function hs(Q,de){var oe=Q==null?0:Q.length;return!!oe&&jl(Q,de,0)>-1}function ba(Q,de,oe){for(var Me=-1,Xe=Q==null?0:Q.length;++Me<Xe;)if(oe(de,Q[Me]))return!0;return!1}function Ft(Q,de){for(var oe=-1,Me=Q==null?0:Q.length,Xe=Array(Me);++oe<Me;)Xe[oe]=de(Q[oe],oe,Q);return Xe}function $i(Q,de){for(var oe=-1,Me=de.length,Xe=Q.length;++oe<Me;)Q[Xe+oe]=de[oe];return Q}function va(Q,de,oe,Me){var Xe=-1,mt=Q==null?0:Q.length;for(Me&&mt&&(oe=Q[++Xe]);++Xe<mt;)oe=de(oe,Q[Xe],Xe,Q);return oe}function T_(Q,de,oe,Me){var Xe=Q==null?0:Q.length;for(Me&&Xe&&(oe=Q[--Xe]);Xe--;)oe=de(oe,Q[Xe],Xe,Q);return oe}function wa(Q,de){for(var oe=-1,Me=Q==null?0:Q.length;++oe<Me;)if(de(Q[oe],oe,Q))return!0;return!1}var L_=Sa("length");function A_(Q){return Q.split("")}function R_(Q){return Q.match(Ul)||[]}function Oo(Q,de,oe){var Me;return oe(Q,function(Xe,mt,Zt){if(de(Xe,mt,Zt))return Me=mt,!1}),Me}function gs(Q,de,oe,Me){for(var Xe=Q.length,mt=oe+(Me?1:-1);Me?mt--:++mt<Xe;)if(de(Q[mt],mt,Q))return mt;return-1}function jl(Q,de,oe){return de===de?q_(Q,de,oe):gs(Q,Fo,oe)}function E_(Q,de,oe,Me){for(var Xe=oe-1,mt=Q.length;++Xe<mt;)if(Me(Q[Xe],de))return Xe;return-1}function Fo(Q){return Q!==Q}function Uo(Q,de){var oe=Q==null?0:Q.length;return oe?Ca(Q,de)/oe:Pe}function Sa(Q){return function(de){return de==null?t:de[Q]}}function ka(Q){return function(de){return Q==null?t:Q[de]}}function Bo(Q,de,oe,Me,Xe){return Xe(Q,function(mt,Zt,Lt){oe=Me?(Me=!1,mt):de(oe,mt,Zt,Lt)}),oe}function D_(Q,de){var oe=Q.length;for(Q.sort(de);oe--;)Q[oe]=Q[oe].value;return Q}function Ca(Q,de){for(var oe,Me=-1,Xe=Q.length;++Me<Xe;){var mt=de(Q[Me]);mt!==t&&(oe=oe===t?mt:oe+mt)}return oe}function ya(Q,de){for(var oe=-1,Me=Array(Q);++oe<Q;)Me[oe]=de(oe);return Me}function V_(Q,de){return Ft(de,function(oe){return[oe,Q[oe]]})}function Ho(Q){return Q&&Q.slice(0,Go(Q)+1).replace(yi,"")}function On(Q){return function(de){return Q(de)}}function Pa(Q,de){return Ft(de,function(oe){return Q[oe]})}function Er(Q,de){return Q.has(de)}function Wo(Q,de){for(var oe=-1,Me=Q.length;++oe<Me&&jl(de,Q[oe],0)>-1;);return oe}function zo(Q,de){for(var oe=Q.length;oe--&&jl(de,Q[oe],0)>-1;);return oe}function M_(Q,de){for(var oe=Q.length,Me=0;oe--;)Q[oe]===de&&++Me;return Me}var O_=ka(Ar),F_=ka(Ke);function U_(Q){return"\\"+Dt[Q]}function B_(Q,de){return Q==null?t:Q[de]}function Jl(Q){return _t.test(Q)}function H_(Q){return Ot.test(Q)}function W_(Q){for(var de,oe=[];!(de=Q.next()).done;)oe.push(de.value);return oe}function Na(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me,Xe){oe[++de]=[Xe,Me]}),oe}function qo(Q,de){return function(oe){return Q(de(oe))}}function xi(Q,de){for(var oe=-1,Me=Q.length,Xe=0,mt=[];++oe<Me;){var Zt=Q[oe];(Zt===de||Zt===h)&&(Q[oe]=h,mt[Xe++]=oe)}return mt}function _s(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me){oe[++de]=Me}),oe}function z_(Q){var de=-1,oe=Array(Q.size);return Q.forEach(function(Me){oe[++de]=[Me,Me]}),oe}function q_(Q,de,oe){for(var Me=oe-1,Xe=Q.length;++Me<Xe;)if(Q[Me]===de)return Me;return-1}function G_(Q,de,oe){for(var Me=oe+1;Me--;)if(Q[Me]===de)return Me;return Me}function Yl(Q){return Jl(Q)?j_(Q):L_(Q)}function ii(Q){return Jl(Q)?J_(Q):A_(Q)}function Go(Q){for(var de=Q.length;de--&&Wi.test(Q.charAt(de)););return de}var K_=ka(It);function j_(Q){for(var de=we.lastIndex=0;we.test(Q);)++de;return de}function J_(Q){return Q.match(we)||[]}function Y_(Q){return Q.match(De)||[]}var Q_=function Q(de){de=de==null?Gt:Ql.defaults(Gt.Object(),de,Ql.pick(Gt,Lr));var oe=de.Array,Me=de.Date,Xe=de.Error,mt=de.Function,Zt=de.Math,Lt=de.Object,Ia=de.RegExp,Z_=de.String,Jn=de.TypeError,ps=oe.prototype,X_=mt.prototype,Zl=Lt.prototype,ms=de["__core-js_shared__"],bs=X_.toString,Pt=Zl.hasOwnProperty,$_=0,Ko=function(){var a=/[^.]+$/.exec(ms&&ms.keys&&ms.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),vs=Zl.toString,x_=bs.call(Lt),ep=Gt._,tp=Ia("^"+bs.call(Pt).replace(dl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ws=Kl?de.Buffer:t,el=de.Symbol,Ss=de.Uint8Array,jo=ws?ws.allocUnsafe:t,ks=qo(Lt.getPrototypeOf,Lt),Jo=Lt.create,Yo=Zl.propertyIsEnumerable,Cs=ps.splice,Qo=el?el.isConcatSpreadable:t,Dr=el?el.iterator:t,kl=el?el.toStringTag:t,ys=function(){try{var a=Il(Lt,"defineProperty");return a({},"",{}),a}catch{}}(),np=de.clearTimeout!==Gt.clearTimeout&&de.clearTimeout,ip=Me&&Me.now!==Gt.Date.now&&Me.now,lp=de.setTimeout!==Gt.setTimeout&&de.setTimeout,Ps=Zt.ceil,Ns=Zt.floor,Ta=Lt.getOwnPropertySymbols,rp=ws?ws.isBuffer:t,Zo=de.isFinite,sp=ps.join,ap=qo(Lt.keys,Lt),Xt=Zt.max,hn=Zt.min,op=Me.now,up=de.parseInt,Xo=Zt.random,fp=ps.reverse,La=Il(de,"DataView"),Vr=Il(de,"Map"),Aa=Il(de,"Promise"),Xl=Il(de,"Set"),Mr=Il(de,"WeakMap"),Or=Il(Lt,"create"),Is=Mr&&new Mr,$l={},cp=Tl(La),dp=Tl(Vr),hp=Tl(Aa),gp=Tl(Xl),_p=Tl(Mr),Ts=el?el.prototype:t,Fr=Ts?Ts.valueOf:t,$o=Ts?Ts.toString:t;function D(a){if(zt(a)&&!xe(a)&&!(a instanceof ut)){if(a instanceof Yn)return a;if(Pt.call(a,"__wrapped__"))return xu(a)}return new Yn(a)}var xl=function(){function a(){}return function(u){if(!Bt(u))return{};if(Jo)return Jo(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Ls(){}function Yn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}D.templateSettings={escape:pr,evaluate:mr,interpolate:Ol,variable:"",imports:{_:D}},D.prototype=Ls.prototype,D.prototype.constructor=D,Yn.prototype=xl(Ls.prototype),Yn.prototype.constructor=Yn;function ut(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=le,this.__views__=[]}function pp(){var a=new ut(this.__wrapped__);return a.__actions__=Pn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Pn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Pn(this.__views__),a}function mp(){if(this.__filtered__){var a=new ut(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function bp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),m=u<0,N=d?a.length:0,V=Am(0,N,this.__views__),z=V.start,j=V.end,X=j-z,ge=m?j:z-1,_e=this.__iteratees__,ve=_e.length,Re=0,Be=hn(X,this.__takeCount__);if(!d||!m&&N==X&&Be==X)return ku(a,this.__actions__);var Ye=[];e:for(;X--&&Re<Be;){ge+=u;for(var it=-1,Qe=a[ge];++it<ve;){var ot=_e[it],ft=ot.iteratee,Bn=ot.type,Sn=ft(Qe);if(Bn==ie)Qe=Sn;else if(!Sn){if(Bn==pe)continue e;break e}}Ye[Re++]=Qe}return Ye}ut.prototype=xl(Ls.prototype),ut.prototype.constructor=ut;function Cl(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function vp(){this.__data__=Or?Or(null):{},this.size=0}function wp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function Sp(a){var u=this.__data__;if(Or){var d=u[a];return d===f?t:d}return Pt.call(u,a)?u[a]:t}function kp(a){var u=this.__data__;return Or?u[a]!==t:Pt.call(u,a)}function Cp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Or&&u===t?f:u,this}Cl.prototype.clear=vp,Cl.prototype.delete=wp,Cl.prototype.get=Sp,Cl.prototype.has=kp,Cl.prototype.set=Cp;function Ni(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function yp(){this.__data__=[],this.size=0}function Pp(a){var u=this.__data__,d=As(u,a);if(d<0)return!1;var m=u.length-1;return d==m?u.pop():Cs.call(u,d,1),--this.size,!0}function Np(a){var u=this.__data__,d=As(u,a);return d<0?t:u[d][1]}function Ip(a){return As(this.__data__,a)>-1}function Tp(a,u){var d=this.__data__,m=As(d,a);return m<0?(++this.size,d.push([a,u])):d[m][1]=u,this}Ni.prototype.clear=yp,Ni.prototype.delete=Pp,Ni.prototype.get=Np,Ni.prototype.has=Ip,Ni.prototype.set=Tp;function Ii(a){var u=-1,d=a==null?0:a.length;for(this.clear();++u<d;){var m=a[u];this.set(m[0],m[1])}}function Lp(){this.size=0,this.__data__={hash:new Cl,map:new(Vr||Ni),string:new Cl}}function Ap(a){var u=zs(this,a).delete(a);return this.size-=u?1:0,u}function Rp(a){return zs(this,a).get(a)}function Ep(a){return zs(this,a).has(a)}function Dp(a,u){var d=zs(this,a),m=d.size;return d.set(a,u),this.size+=d.size==m?0:1,this}Ii.prototype.clear=Lp,Ii.prototype.delete=Ap,Ii.prototype.get=Rp,Ii.prototype.has=Ep,Ii.prototype.set=Dp;function yl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ii;++u<d;)this.add(a[u])}function Vp(a){return this.__data__.set(a,f),this}function Mp(a){return this.__data__.has(a)}yl.prototype.add=yl.prototype.push=Vp,yl.prototype.has=Mp;function li(a){var u=this.__data__=new Ni(a);this.size=u.size}function Op(){this.__data__=new Ni,this.size=0}function Fp(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Up(a){return this.__data__.get(a)}function Bp(a){return this.__data__.has(a)}function Hp(a,u){var d=this.__data__;if(d instanceof Ni){var m=d.__data__;if(!Vr||m.length<l-1)return m.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ii(m)}return d.set(a,u),this.size=d.size,this}li.prototype.clear=Op,li.prototype.delete=Fp,li.prototype.get=Up,li.prototype.has=Bp,li.prototype.set=Hp;function xo(a,u){var d=xe(a),m=!d&&Ll(a),N=!d&&!m&&rl(a),V=!d&&!m&&!N&&ir(a),z=d||m||N||V,j=z?ya(a.length,Z_):[],X=j.length;for(var ge in a)(u||Pt.call(a,ge))&&!(z&&(ge=="length"||N&&(ge=="offset"||ge=="parent")||V&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||Ri(ge,X)))&&j.push(ge);return j}function eu(a){var u=a.length;return u?a[Wa(0,u-1)]:t}function Wp(a,u){return qs(Pn(a),Pl(u,0,a.length))}function zp(a){return qs(Pn(a))}function Ra(a,u,d){(d!==t&&!ri(a[u],d)||d===t&&!(u in a))&&Ti(a,u,d)}function Ur(a,u,d){var m=a[u];(!(Pt.call(a,u)&&ri(m,d))||d===t&&!(u in a))&&Ti(a,u,d)}function As(a,u){for(var d=a.length;d--;)if(ri(a[d][0],u))return d;return-1}function qp(a,u,d,m){return tl(a,function(N,V,z){u(m,N,d(N),z)}),m}function tu(a,u){return a&&_i(u,tn(u),a)}function Gp(a,u){return a&&_i(u,In(u),a)}function Ti(a,u,d){u=="__proto__"&&ys?ys(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Ea(a,u){for(var d=-1,m=u.length,N=oe(m),V=a==null;++d<m;)N[d]=V?t:ho(a,u[d]);return N}function Pl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function Qn(a,u,d,m,N,V){var z,j=u&_,X=u&p,ge=u&b;if(d&&(z=N?d(a,m,N,V):d(a)),z!==t)return z;if(!Bt(a))return a;var _e=xe(a);if(_e){if(z=Em(a),!j)return Pn(a,z)}else{var ve=gn(a),Re=ve==St||ve==Wt;if(rl(a))return Pu(a,j);if(ve==un||ve==Z||Re&&!N){if(z=X||Re?{}:Gu(a),!j)return X?Sm(a,Gp(z,a)):wm(a,tu(z,a))}else{if(!dt[ve])return N?a:{};z=Dm(a,ve,j)}}V||(V=new li);var Be=V.get(a);if(Be)return Be;V.set(a,z),wf(a)?a.forEach(function(Qe){z.add(Qn(Qe,u,d,Qe,a,V))}):bf(a)&&a.forEach(function(Qe,ot){z.set(ot,Qn(Qe,u,d,ot,a,V))});var Ye=ge?X?$a:Xa:X?In:tn,it=_e?t:Ye(a);return jn(it||a,function(Qe,ot){it&&(ot=Qe,Qe=a[ot]),Ur(z,ot,Qn(Qe,u,d,ot,a,V))}),z}function Kp(a){var u=tn(a);return function(d){return nu(d,a,u)}}function nu(a,u,d){var m=d.length;if(a==null)return!m;for(a=Lt(a);m--;){var N=d[m],V=u[N],z=a[N];if(z===t&&!(N in a)||!V(z))return!1}return!0}function iu(a,u,d){if(typeof a!="function")throw new Jn(s);return Kr(function(){a.apply(t,d)},u)}function Br(a,u,d,m){var N=-1,V=hs,z=!0,j=a.length,X=[],ge=u.length;if(!j)return X;d&&(u=Ft(u,On(d))),m?(V=ba,z=!1):u.length>=l&&(V=Er,z=!1,u=new yl(u));e:for(;++N<j;){var _e=a[N],ve=d==null?_e:d(_e);if(_e=m||_e!==0?_e:0,z&&ve===ve){for(var Re=ge;Re--;)if(u[Re]===ve)continue e;X.push(_e)}else V(u,ve,m)||X.push(_e)}return X}var tl=Au(gi),lu=Au(Va,!0);function jp(a,u){var d=!0;return tl(a,function(m,N,V){return d=!!u(m,N,V),d}),d}function Rs(a,u,d){for(var m=-1,N=a.length;++m<N;){var V=a[m],z=u(V);if(z!=null&&(j===t?z===z&&!Un(z):d(z,j)))var j=z,X=V}return X}function Jp(a,u,d,m){var N=a.length;for(d=nt(d),d<0&&(d=-d>N?0:N+d),m=m===t||m>N?N:nt(m),m<0&&(m+=N),m=d>m?0:kf(m);d<m;)a[d++]=u;return a}function ru(a,u){var d=[];return tl(a,function(m,N,V){u(m,N,V)&&d.push(m)}),d}function an(a,u,d,m,N){var V=-1,z=a.length;for(d||(d=Mm),N||(N=[]);++V<z;){var j=a[V];u>0&&d(j)?u>1?an(j,u-1,d,m,N):$i(N,j):m||(N[N.length]=j)}return N}var Da=Ru(),su=Ru(!0);function gi(a,u){return a&&Da(a,u,tn)}function Va(a,u){return a&&su(a,u,tn)}function Es(a,u){return Xi(u,function(d){return Ei(a[d])})}function Nl(a,u){u=il(u,a);for(var d=0,m=u.length;a!=null&&d<m;)a=a[pi(u[d++])];return d&&d==m?a:t}function au(a,u,d){var m=u(a);return xe(a)?m:$i(m,d(a))}function vn(a){return a==null?a===t?cl:pn:kl&&kl in Lt(a)?Lm(a):zm(a)}function Ma(a,u){return a>u}function Yp(a,u){return a!=null&&Pt.call(a,u)}function Qp(a,u){return a!=null&&u in Lt(a)}function Zp(a,u,d){return a>=hn(u,d)&&a<Xt(u,d)}function Oa(a,u,d){for(var m=d?ba:hs,N=a[0].length,V=a.length,z=V,j=oe(V),X=1/0,ge=[];z--;){var _e=a[z];z&&u&&(_e=Ft(_e,On(u))),X=hn(_e.length,X),j[z]=!d&&(u||N>=120&&_e.length>=120)?new yl(z&&_e):t}_e=a[0];var ve=-1,Re=j[0];e:for(;++ve<N&&ge.length<X;){var Be=_e[ve],Ye=u?u(Be):Be;if(Be=d||Be!==0?Be:0,!(Re?Er(Re,Ye):m(ge,Ye,d))){for(z=V;--z;){var it=j[z];if(!(it?Er(it,Ye):m(a[z],Ye,d)))continue e}Re&&Re.push(Ye),ge.push(Be)}}return ge}function Xp(a,u,d,m){return gi(a,function(N,V,z){u(m,d(N),V,z)}),m}function Hr(a,u,d){u=il(u,a),a=Yu(a,u);var m=a==null?a:a[pi(Xn(u))];return m==null?t:Mn(m,a,d)}function ou(a){return zt(a)&&vn(a)==Z}function $p(a){return zt(a)&&vn(a)==qn}function xp(a){return zt(a)&&vn(a)==He}function Wr(a,u,d,m,N){return a===u?!0:a==null||u==null||!zt(a)&&!zt(u)?a!==a&&u!==u:em(a,u,d,m,Wr,N)}function em(a,u,d,m,N,V){var z=xe(a),j=xe(u),X=z?he:gn(a),ge=j?he:gn(u);X=X==Z?un:X,ge=ge==Z?un:ge;var _e=X==un,ve=ge==un,Re=X==ge;if(Re&&rl(a)){if(!rl(u))return!1;z=!0,_e=!1}if(Re&&!_e)return V||(V=new li),z||ir(a)?Wu(a,u,d,m,N,V):Im(a,u,X,d,m,N,V);if(!(d&v)){var Be=_e&&Pt.call(a,"__wrapped__"),Ye=ve&&Pt.call(u,"__wrapped__");if(Be||Ye){var it=Be?a.value():a,Qe=Ye?u.value():u;return V||(V=new li),N(it,Qe,d,m,V)}}return Re?(V||(V=new li),Tm(a,u,d,m,N,V)):!1}function tm(a){return zt(a)&&gn(a)==kt}function Fa(a,u,d,m){var N=d.length,V=N,z=!m;if(a==null)return!V;for(a=Lt(a);N--;){var j=d[N];if(z&&j[2]?j[1]!==a[j[0]]:!(j[0]in a))return!1}for(;++N<V;){j=d[N];var X=j[0],ge=a[X],_e=j[1];if(z&&j[2]){if(ge===t&&!(X in a))return!1}else{var ve=new li;if(m)var Re=m(ge,_e,X,a,u,ve);if(!(Re===t?Wr(_e,ge,v|S,m,ve):Re))return!1}}return!0}function uu(a){if(!Bt(a)||Fm(a))return!1;var u=Ei(a)?tp:Cr;return u.test(Tl(a))}function nm(a){return zt(a)&&vn(a)==bn}function im(a){return zt(a)&&gn(a)==Qt}function lm(a){return zt(a)&&Qs(a.length)&&!!yt[vn(a)]}function fu(a){return typeof a=="function"?a:a==null?Tn:typeof a=="object"?xe(a)?hu(a[0],a[1]):du(a):Df(a)}function Ua(a){if(!Gr(a))return ap(a);var u=[];for(var d in Lt(a))Pt.call(a,d)&&d!="constructor"&&u.push(d);return u}function rm(a){if(!Bt(a))return Wm(a);var u=Gr(a),d=[];for(var m in a)m=="constructor"&&(u||!Pt.call(a,m))||d.push(m);return d}function Ba(a,u){return a<u}function cu(a,u){var d=-1,m=Nn(a)?oe(a.length):[];return tl(a,function(N,V,z){m[++d]=u(N,V,z)}),m}function du(a){var u=eo(a);return u.length==1&&u[0][2]?ju(u[0][0],u[0][1]):function(d){return d===a||Fa(d,a,u)}}function hu(a,u){return no(a)&&Ku(u)?ju(pi(a),u):function(d){var m=ho(d,a);return m===t&&m===u?go(d,a):Wr(u,m,v|S)}}function Ds(a,u,d,m,N){a!==u&&Da(u,function(V,z){if(N||(N=new li),Bt(V))sm(a,u,z,d,Ds,m,N);else{var j=m?m(lo(a,z),V,z+"",a,u,N):t;j===t&&(j=V),Ra(a,z,j)}},In)}function sm(a,u,d,m,N,V,z){var j=lo(a,d),X=lo(u,d),ge=z.get(X);if(ge){Ra(a,d,ge);return}var _e=V?V(j,X,d+"",a,u,z):t,ve=_e===t;if(ve){var Re=xe(X),Be=!Re&&rl(X),Ye=!Re&&!Be&&ir(X);_e=X,Re||Be||Ye?xe(j)?_e=j:Kt(j)?_e=Pn(j):Be?(ve=!1,_e=Pu(X,!0)):Ye?(ve=!1,_e=Nu(X,!0)):_e=[]:jr(X)||Ll(X)?(_e=j,Ll(j)?_e=Cf(j):(!Bt(j)||Ei(j))&&(_e=Gu(X))):ve=!1}ve&&(z.set(X,_e),N(_e,X,m,V,z),z.delete(X)),Ra(a,d,_e)}function gu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ri(u,d)?a[u]:t}function _u(a,u,d){u.length?u=Ft(u,function(V){return xe(V)?function(z){return Nl(z,V.length===1?V[0]:V)}:V}):u=[Tn];var m=-1;u=Ft(u,On(Je()));var N=cu(a,function(V,z,j){var X=Ft(u,function(ge){return ge(V)});return{criteria:X,index:++m,value:V}});return D_(N,function(V,z){return vm(V,z,d)})}function am(a,u){return pu(a,u,function(d,m){return go(a,m)})}function pu(a,u,d){for(var m=-1,N=u.length,V={};++m<N;){var z=u[m],j=Nl(a,z);d(j,z)&&zr(V,il(z,a),j)}return V}function om(a){return function(u){return Nl(u,a)}}function Ha(a,u,d,m){var N=m?E_:jl,V=-1,z=u.length,j=a;for(a===u&&(u=Pn(u)),d&&(j=Ft(a,On(d)));++V<z;)for(var X=0,ge=u[V],_e=d?d(ge):ge;(X=N(j,_e,X,m))>-1;)j!==a&&Cs.call(j,X,1),Cs.call(a,X,1);return a}function mu(a,u){for(var d=a?u.length:0,m=d-1;d--;){var N=u[d];if(d==m||N!==V){var V=N;Ri(N)?Cs.call(a,N,1):Ga(a,N)}}return a}function Wa(a,u){return a+Ns(Xo()*(u-a+1))}function um(a,u,d,m){for(var N=-1,V=Xt(Ps((u-a)/(d||1)),0),z=oe(V);V--;)z[m?V:++N]=a,a+=d;return z}function za(a,u){var d="";if(!a||u<1||u>ee)return d;do u%2&&(d+=a),u=Ns(u/2),u&&(a+=a);while(u);return d}function rt(a,u){return ro(Ju(a,u,Tn),a+"")}function fm(a){return eu(lr(a))}function cm(a,u){var d=lr(a);return qs(d,Pl(u,0,d.length))}function zr(a,u,d,m){if(!Bt(a))return a;u=il(u,a);for(var N=-1,V=u.length,z=V-1,j=a;j!=null&&++N<V;){var X=pi(u[N]),ge=d;if(X==="__proto__"||X==="constructor"||X==="prototype")return a;if(N!=z){var _e=j[X];ge=m?m(_e,X,j):t,ge===t&&(ge=Bt(_e)?_e:Ri(u[N+1])?[]:{})}Ur(j,X,ge),j=j[X]}return a}var bu=Is?function(a,u){return Is.set(a,u),a}:Tn,dm=ys?function(a,u){return ys(a,"toString",{configurable:!0,enumerable:!1,value:po(u),writable:!0})}:Tn;function hm(a){return qs(lr(a))}function Zn(a,u,d){var m=-1,N=a.length;u<0&&(u=-u>N?0:N+u),d=d>N?N:d,d<0&&(d+=N),N=u>d?0:d-u>>>0,u>>>=0;for(var V=oe(N);++m<N;)V[m]=a[m+u];return V}function gm(a,u){var d;return tl(a,function(m,N,V){return d=u(m,N,V),!d}),!!d}function Vs(a,u,d){var m=0,N=a==null?m:a.length;if(typeof u=="number"&&u===u&&N<=Ie){for(;m<N;){var V=m+N>>>1,z=a[V];z!==null&&!Un(z)&&(d?z<=u:z<u)?m=V+1:N=V}return N}return qa(a,u,Tn,d)}function qa(a,u,d,m){var N=0,V=a==null?0:a.length;if(V===0)return 0;u=d(u);for(var z=u!==u,j=u===null,X=Un(u),ge=u===t;N<V;){var _e=Ns((N+V)/2),ve=d(a[_e]),Re=ve!==t,Be=ve===null,Ye=ve===ve,it=Un(ve);if(z)var Qe=m||Ye;else ge?Qe=Ye&&(m||Re):j?Qe=Ye&&Re&&(m||!Be):X?Qe=Ye&&Re&&!Be&&(m||!it):Be||it?Qe=!1:Qe=m?ve<=u:ve<u;Qe?N=_e+1:V=_e}return hn(V,Ue)}function vu(a,u){for(var d=-1,m=a.length,N=0,V=[];++d<m;){var z=a[d],j=u?u(z):z;if(!d||!ri(j,X)){var X=j;V[N++]=z===0?0:z}}return V}function wu(a){return typeof a=="number"?a:Un(a)?Pe:+a}function Fn(a){if(typeof a=="string")return a;if(xe(a))return Ft(a,Fn)+"";if(Un(a))return $o?$o.call(a):"";var u=a+"";return u=="0"&&1/a==-ue?"-0":u}function nl(a,u,d){var m=-1,N=hs,V=a.length,z=!0,j=[],X=j;if(d)z=!1,N=ba;else if(V>=l){var ge=u?null:Pm(a);if(ge)return _s(ge);z=!1,N=Er,X=new yl}else X=u?[]:j;e:for(;++m<V;){var _e=a[m],ve=u?u(_e):_e;if(_e=d||_e!==0?_e:0,z&&ve===ve){for(var Re=X.length;Re--;)if(X[Re]===ve)continue e;u&&X.push(ve),j.push(_e)}else N(X,ve,d)||(X!==j&&X.push(ve),j.push(_e))}return j}function Ga(a,u){return u=il(u,a),a=Yu(a,u),a==null||delete a[pi(Xn(u))]}function Su(a,u,d,m){return zr(a,u,d(Nl(a,u)),m)}function Ms(a,u,d,m){for(var N=a.length,V=m?N:-1;(m?V--:++V<N)&&u(a[V],V,a););return d?Zn(a,m?0:V,m?V+1:N):Zn(a,m?V+1:0,m?N:V)}function ku(a,u){var d=a;return d instanceof ut&&(d=d.value()),va(u,function(m,N){return N.func.apply(N.thisArg,$i([m],N.args))},d)}function Ka(a,u,d){var m=a.length;if(m<2)return m?nl(a[0]):[];for(var N=-1,V=oe(m);++N<m;)for(var z=a[N],j=-1;++j<m;)j!=N&&(V[N]=Br(V[N]||z,a[j],u,d));return nl(an(V,1),u,d)}function Cu(a,u,d){for(var m=-1,N=a.length,V=u.length,z={};++m<N;){var j=m<V?u[m]:t;d(z,a[m],j)}return z}function ja(a){return Kt(a)?a:[]}function Ja(a){return typeof a=="function"?a:Tn}function il(a,u){return xe(a)?a:no(a,u)?[a]:$u(wt(a))}var _m=rt;function ll(a,u,d){var m=a.length;return d=d===t?m:d,!u&&d>=m?a:Zn(a,u,d)}var yu=np||function(a){return Gt.clearTimeout(a)};function Pu(a,u){if(u)return a.slice();var d=a.length,m=jo?jo(d):new a.constructor(d);return a.copy(m),m}function Ya(a){var u=new a.constructor(a.byteLength);return new Ss(u).set(new Ss(a)),u}function pm(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function mm(a){var u=new a.constructor(a.source,qi.exec(a));return u.lastIndex=a.lastIndex,u}function bm(a){return Fr?Lt(Fr.call(a)):{}}function Nu(a,u){var d=u?Ya(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.length)}function Iu(a,u){if(a!==u){var d=a!==t,m=a===null,N=a===a,V=Un(a),z=u!==t,j=u===null,X=u===u,ge=Un(u);if(!j&&!ge&&!V&&a>u||V&&z&&X&&!j&&!ge||m&&z&&X||!d&&X||!N)return 1;if(!m&&!V&&!ge&&a<u||ge&&d&&N&&!m&&!V||j&&d&&N||!z&&N||!X)return-1}return 0}function vm(a,u,d){for(var m=-1,N=a.criteria,V=u.criteria,z=N.length,j=d.length;++m<z;){var X=Iu(N[m],V[m]);if(X){if(m>=j)return X;var ge=d[m];return X*(ge=="desc"?-1:1)}}return a.index-u.index}function Tu(a,u,d,m){for(var N=-1,V=a.length,z=d.length,j=-1,X=u.length,ge=Xt(V-z,0),_e=oe(X+ge),ve=!m;++j<X;)_e[j]=u[j];for(;++N<z;)(ve||N<V)&&(_e[d[N]]=a[N]);for(;ge--;)_e[j++]=a[N++];return _e}function Lu(a,u,d,m){for(var N=-1,V=a.length,z=-1,j=d.length,X=-1,ge=u.length,_e=Xt(V-j,0),ve=oe(_e+ge),Re=!m;++N<_e;)ve[N]=a[N];for(var Be=N;++X<ge;)ve[Be+X]=u[X];for(;++z<j;)(Re||N<V)&&(ve[Be+d[z]]=a[N++]);return ve}function Pn(a,u){var d=-1,m=a.length;for(u||(u=oe(m));++d<m;)u[d]=a[d];return u}function _i(a,u,d,m){var N=!d;d||(d={});for(var V=-1,z=u.length;++V<z;){var j=u[V],X=m?m(d[j],a[j],j,d,a):t;X===t&&(X=a[j]),N?Ti(d,j,X):Ur(d,j,X)}return d}function wm(a,u){return _i(a,to(a),u)}function Sm(a,u){return _i(a,zu(a),u)}function Os(a,u){return function(d,m){var N=xe(d)?N_:qp,V=u?u():{};return N(d,a,Je(m,2),V)}}function er(a){return rt(function(u,d){var m=-1,N=d.length,V=N>1?d[N-1]:t,z=N>2?d[2]:t;for(V=a.length>3&&typeof V=="function"?(N--,V):t,z&&wn(d[0],d[1],z)&&(V=N<3?t:V,N=1),u=Lt(u);++m<N;){var j=d[m];j&&a(u,j,m,V)}return u})}function Au(a,u){return function(d,m){if(d==null)return d;if(!Nn(d))return a(d,m);for(var N=d.length,V=u?N:-1,z=Lt(d);(u?V--:++V<N)&&m(z[V],V,z)!==!1;);return d}}function Ru(a){return function(u,d,m){for(var N=-1,V=Lt(u),z=m(u),j=z.length;j--;){var X=z[a?j:++N];if(d(V[X],X,V)===!1)break}return u}}function km(a,u,d){var m=u&y,N=qr(a);function V(){var z=this&&this!==Gt&&this instanceof V?N:a;return z.apply(m?d:this,arguments)}return V}function Eu(a){return function(u){u=wt(u);var d=Jl(u)?ii(u):t,m=d?d[0]:u.charAt(0),N=d?ll(d,1).join(""):u.slice(1);return m[a]()+N}}function tr(a){return function(u){return va(Rf(Af(u).replace(je,"")),a,"")}}function qr(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var d=xl(a.prototype),m=a.apply(d,u);return Bt(m)?m:d}}function Cm(a,u,d){var m=qr(a);function N(){for(var V=arguments.length,z=oe(V),j=V,X=nr(N);j--;)z[j]=arguments[j];var ge=V<3&&z[0]!==X&&z[V-1]!==X?[]:xi(z,X);if(V-=ge.length,V<d)return Fu(a,u,Fs,N.placeholder,t,z,ge,t,t,d-V);var _e=this&&this!==Gt&&this instanceof N?m:a;return Mn(_e,this,z)}return N}function Du(a){return function(u,d,m){var N=Lt(u);if(!Nn(u)){var V=Je(d,3);u=tn(u),d=function(j){return V(N[j],j,N)}}var z=a(u,d,m);return z>-1?N[V?u[z]:z]:t}}function Vu(a){return Ai(function(u){var d=u.length,m=d,N=Yn.prototype.thru;for(a&&u.reverse();m--;){var V=u[m];if(typeof V!="function")throw new Jn(s);if(N&&!z&&Ws(V)=="wrapper")var z=new Yn([],!0)}for(m=z?m:d;++m<d;){V=u[m];var j=Ws(V),X=j=="wrapper"?xa(V):t;X&&io(X[0])&&X[1]==(O|I|A|H)&&!X[4].length&&X[9]==1?z=z[Ws(X[0])].apply(z,X[3]):z=V.length==1&&io(V)?z[j]():z.thru(V)}return function(){var ge=arguments,_e=ge[0];if(z&&ge.length==1&&xe(_e))return z.plant(_e).value();for(var ve=0,Re=d?u[ve].apply(this,ge):_e;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Fs(a,u,d,m,N,V,z,j,X,ge){var _e=u&O,ve=u&y,Re=u&C,Be=u&(I|T),Ye=u&F,it=Re?t:qr(a);function Qe(){for(var ot=arguments.length,ft=oe(ot),Bn=ot;Bn--;)ft[Bn]=arguments[Bn];if(Be)var Sn=nr(Qe),Hn=M_(ft,Sn);if(m&&(ft=Tu(ft,m,N,Be)),V&&(ft=Lu(ft,V,z,Be)),ot-=Hn,Be&&ot<ge){var jt=xi(ft,Sn);return Fu(a,u,Fs,Qe.placeholder,d,ft,jt,j,X,ge-ot)}var si=ve?d:this,Vi=Re?si[a]:a;return ot=ft.length,j?ft=qm(ft,j):Ye&&ot>1&&ft.reverse(),_e&&X<ot&&(ft.length=X),this&&this!==Gt&&this instanceof Qe&&(Vi=it||qr(Vi)),Vi.apply(si,ft)}return Qe}function Mu(a,u){return function(d,m){return Xp(d,a,u(m),{})}}function Us(a,u){return function(d,m){var N;if(d===t&&m===t)return u;if(d!==t&&(N=d),m!==t){if(N===t)return m;typeof d=="string"||typeof m=="string"?(d=Fn(d),m=Fn(m)):(d=wu(d),m=wu(m)),N=a(d,m)}return N}}function Qa(a){return Ai(function(u){return u=Ft(u,On(Je())),rt(function(d){var m=this;return a(u,function(N){return Mn(N,m,d)})})})}function Bs(a,u){u=u===t?" ":Fn(u);var d=u.length;if(d<2)return d?za(u,a):u;var m=za(u,Ps(a/Yl(u)));return Jl(u)?ll(ii(m),0,a).join(""):m.slice(0,a)}function ym(a,u,d,m){var N=u&y,V=qr(a);function z(){for(var j=-1,X=arguments.length,ge=-1,_e=m.length,ve=oe(_e+X),Re=this&&this!==Gt&&this instanceof z?V:a;++ge<_e;)ve[ge]=m[ge];for(;X--;)ve[ge++]=arguments[++j];return Mn(Re,N?d:this,ve)}return z}function Ou(a){return function(u,d,m){return m&&typeof m!="number"&&wn(u,d,m)&&(d=m=t),u=Di(u),d===t?(d=u,u=0):d=Di(d),m=m===t?u<d?1:-1:Di(m),um(u,d,m,a)}}function Hs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=$n(u),d=$n(d)),a(u,d)}}function Fu(a,u,d,m,N,V,z,j,X,ge){var _e=u&I,ve=_e?z:t,Re=_e?t:z,Be=_e?V:t,Ye=_e?t:V;u|=_e?A:L,u&=~(_e?L:A),u&P||(u&=~(y|C));var it=[a,u,N,Be,ve,Ye,Re,j,X,ge],Qe=d.apply(t,it);return io(a)&&Qu(Qe,it),Qe.placeholder=m,Zu(Qe,a,u)}function Za(a){var u=Zt[a];return function(d,m){if(d=$n(d),m=m==null?0:hn(nt(m),292),m&&Zo(d)){var N=(wt(d)+"e").split("e"),V=u(N[0]+"e"+(+N[1]+m));return N=(wt(V)+"e").split("e"),+(N[0]+"e"+(+N[1]-m))}return u(d)}}var Pm=Xl&&1/_s(new Xl([,-0]))[1]==ue?function(a){return new Xl(a)}:vo;function Uu(a){return function(u){var d=gn(u);return d==kt?Na(u):d==Qt?z_(u):V_(u,a(u))}}function Li(a,u,d,m,N,V,z,j){var X=u&C;if(!X&&typeof a!="function")throw new Jn(s);var ge=m?m.length:0;if(ge||(u&=~(A|L),m=N=t),z=z===t?z:Xt(nt(z),0),j=j===t?j:nt(j),ge-=N?N.length:0,u&L){var _e=m,ve=N;m=N=t}var Re=X?t:xa(a),Be=[a,u,d,m,N,_e,ve,V,z,j];if(Re&&Hm(Be,Re),a=Be[0],u=Be[1],d=Be[2],m=Be[3],N=Be[4],j=Be[9]=Be[9]===t?X?0:a.length:Xt(Be[9]-ge,0),!j&&u&(I|T)&&(u&=~(I|T)),!u||u==y)var Ye=km(a,u,d);else u==I||u==T?Ye=Cm(a,u,j):(u==A||u==(y|A))&&!N.length?Ye=ym(a,u,d,m):Ye=Fs.apply(t,Be);var it=Re?bu:Qu;return Zu(it(Ye,Be),a,u)}function Bu(a,u,d,m){return a===t||ri(a,Zl[d])&&!Pt.call(m,d)?u:a}function Hu(a,u,d,m,N,V){return Bt(a)&&Bt(u)&&(V.set(u,a),Ds(a,u,t,Hu,V),V.delete(u)),a}function Nm(a){return jr(a)?t:a}function Wu(a,u,d,m,N,V){var z=d&v,j=a.length,X=u.length;if(j!=X&&!(z&&X>j))return!1;var ge=V.get(a),_e=V.get(u);if(ge&&_e)return ge==u&&_e==a;var ve=-1,Re=!0,Be=d&S?new yl:t;for(V.set(a,u),V.set(u,a);++ve<j;){var Ye=a[ve],it=u[ve];if(m)var Qe=z?m(it,Ye,ve,u,a,V):m(Ye,it,ve,a,u,V);if(Qe!==t){if(Qe)continue;Re=!1;break}if(Be){if(!wa(u,function(ot,ft){if(!Er(Be,ft)&&(Ye===ot||N(Ye,ot,d,m,V)))return Be.push(ft)})){Re=!1;break}}else if(!(Ye===it||N(Ye,it,d,m,V))){Re=!1;break}}return V.delete(a),V.delete(u),Re}function Im(a,u,d,m,N,V,z){switch(d){case qt:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case qn:return!(a.byteLength!=u.byteLength||!V(new Ss(a),new Ss(u)));case Ve:case He:case Yt:return ri(+a,+u);case Ge:return a.name==u.name&&a.message==u.message;case bn:case Rn:return a==u+"";case kt:var j=Na;case Qt:var X=m&v;if(j||(j=_s),a.size!=u.size&&!X)return!1;var ge=z.get(a);if(ge)return ge==u;m|=S,z.set(a,u);var _e=Wu(j(a),j(u),m,N,V,z);return z.delete(a),_e;case Et:if(Fr)return Fr.call(a)==Fr.call(u)}return!1}function Tm(a,u,d,m,N,V){var z=d&v,j=Xa(a),X=j.length,ge=Xa(u),_e=ge.length;if(X!=_e&&!z)return!1;for(var ve=X;ve--;){var Re=j[ve];if(!(z?Re in u:Pt.call(u,Re)))return!1}var Be=V.get(a),Ye=V.get(u);if(Be&&Ye)return Be==u&&Ye==a;var it=!0;V.set(a,u),V.set(u,a);for(var Qe=z;++ve<X;){Re=j[ve];var ot=a[Re],ft=u[Re];if(m)var Bn=z?m(ft,ot,Re,u,a,V):m(ot,ft,Re,a,u,V);if(!(Bn===t?ot===ft||N(ot,ft,d,m,V):Bn)){it=!1;break}Qe||(Qe=Re=="constructor")}if(it&&!Qe){var Sn=a.constructor,Hn=u.constructor;Sn!=Hn&&"constructor"in a&&"constructor"in u&&!(typeof Sn=="function"&&Sn instanceof Sn&&typeof Hn=="function"&&Hn instanceof Hn)&&(it=!1)}return V.delete(a),V.delete(u),it}function Ai(a){return ro(Ju(a,t,nf),a+"")}function Xa(a){return au(a,tn,to)}function $a(a){return au(a,In,zu)}var xa=Is?function(a){return Is.get(a)}:vo;function Ws(a){for(var u=a.name+"",d=$l[u],m=Pt.call($l,u)?d.length:0;m--;){var N=d[m],V=N.func;if(V==null||V==a)return N.name}return u}function nr(a){var u=Pt.call(D,"placeholder")?D:a;return u.placeholder}function Je(){var a=D.iteratee||mo;return a=a===mo?fu:a,arguments.length?a(arguments[0],arguments[1]):a}function zs(a,u){var d=a.__data__;return Om(u)?d[typeof u=="string"?"string":"hash"]:d.map}function eo(a){for(var u=tn(a),d=u.length;d--;){var m=u[d],N=a[m];u[d]=[m,N,Ku(N)]}return u}function Il(a,u){var d=B_(a,u);return uu(d)?d:t}function Lm(a){var u=Pt.call(a,kl),d=a[kl];try{a[kl]=t;var m=!0}catch{}var N=vs.call(a);return m&&(u?a[kl]=d:delete a[kl]),N}var to=Ta?function(a){return a==null?[]:(a=Lt(a),Xi(Ta(a),function(u){return Yo.call(a,u)}))}:wo,zu=Ta?function(a){for(var u=[];a;)$i(u,to(a)),a=ks(a);return u}:wo,gn=vn;(La&&gn(new La(new ArrayBuffer(1)))!=qt||Vr&&gn(new Vr)!=kt||Aa&&gn(Aa.resolve())!=mn||Xl&&gn(new Xl)!=Qt||Mr&&gn(new Mr)!=xt)&&(gn=function(a){var u=vn(a),d=u==un?a.constructor:t,m=d?Tl(d):"";if(m)switch(m){case cp:return qt;case dp:return kt;case hp:return mn;case gp:return Qt;case _p:return xt}return u});function Am(a,u,d){for(var m=-1,N=d.length;++m<N;){var V=d[m],z=V.size;switch(V.type){case"drop":a+=z;break;case"dropRight":u-=z;break;case"take":u=hn(u,a+z);break;case"takeRight":a=Xt(a,u-z);break}}return{start:a,end:u}}function Rm(a){var u=a.match(zi);return u?u[1].split(Fl):[]}function qu(a,u,d){u=il(u,a);for(var m=-1,N=u.length,V=!1;++m<N;){var z=pi(u[m]);if(!(V=a!=null&&d(a,z)))break;a=a[z]}return V||++m!=N?V:(N=a==null?0:a.length,!!N&&Qs(N)&&Ri(z,N)&&(xe(a)||Ll(a)))}function Em(a){var u=a.length,d=new a.constructor(u);return u&&typeof a[0]=="string"&&Pt.call(a,"index")&&(d.index=a.index,d.input=a.input),d}function Gu(a){return typeof a.constructor=="function"&&!Gr(a)?xl(ks(a)):{}}function Dm(a,u,d){var m=a.constructor;switch(u){case qn:return Ya(a);case Ve:case He:return new m(+a);case qt:return pm(a,d);case Cn:case fi:case ci:case cn:case Ci:case te:case Ae:case at:case Nt:return Nu(a,d);case kt:return new m;case Yt:case Rn:return new m(a);case bn:return mm(a);case Qt:return new m;case Et:return bm(a)}}function Vm(a,u){var d=u.length;if(!d)return a;var m=d-1;return u[m]=(d>1?"& ":"")+u[m],u=u.join(d>2?", ":" "),a.replace(hl,`{
|
|
33
|
+
*/(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__",_=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,A=8,N=16,D=32,E=64,V=128,U=256,O=512,W=30,K="...",X=800,ne=16,Pe=1,ee=2,z=3,oe=1/0,ie=9007199254740991,j=17976931348623157e292,Le=0/0,re=4294967295,Ee=re-1,Se=re>>>1,de=[["ary",V],["bind",C],["bindKey",y],["curry",A],["curryRight",N],["flip",O],["partial",D],["partialRight",E],["rearg",U]],Y="[object Arguments]",ce="[object Array]",te="[object AsyncFunction]",We="[object Boolean]",Ge="[object Date]",_e="[object DOMException]",De="[object Error]",et="[object Function]",Rt="[object GeneratorFunction]",gt="[object Map]",Kt="[object Number]",_n="[object Null]",Et="[object Object]",ui="[object Promise]",Nn="[object Proxy]",pn="[object RegExp]",an="[object Set]",In="[object String]",It="[object Symbol]",dl="[object Undefined]",ti="[object WeakMap]",mn="[object WeakSet]",Qt="[object ArrayBuffer]",qn="[object DataView]",en="[object Float32Array]",bn="[object Float64Array]",fi="[object Int8Array]",ki="[object Int16Array]",fn="[object Int32Array]",Si="[object Uint8Array]",Ci="[object Uint8ClampedArray]",yi="[object Uint16Array]",Pi="[object Uint32Array]",hl=/\b__p \+= '';/g,gl=/\b(__p \+=) '' \+/g,_l=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Wi=/&(?:amp|lt|gt|quot|#39);/g,Ni=/[&<>"']/g,pl=RegExp(Wi.source),zi=RegExp(Ni.source),$=/<%-([\s\S]+?)%>/g,Te=/<%([\s\S]+?)%>/g,ct=/<%=([\s\S]+?)%>/g,Tt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yt=/^\w*$/,sn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vn=/[\\^$.*+?()[\]{}|]/g,ci=RegExp(vn.source),Gn=/^\s+/,ml=/\s/,qi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bl=/\{\n\/\* \[wrapped with (.+)\] \*/,Gi=/,? & /,Hl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wl=/[()=,{}\[\]\/\s]/,zl=/\\(\\)?/g,br=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,wn=/\w*$/,vl=/^[-+]0x[0-9a-f]+$/i,wl=/^0b[01]+$/i,ql=/^\[object .+?Constructor\]$/,vr=/^0o[0-7]+$/i,Ki=/^(?:0|[1-9]\d*)$/,kl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,Sl=/['\n\r\u2028\u2029\\]/g,Ii="\\ud800-\\udfff",Gl="\\u0300-\\u036f",wr="\\ufe20-\\ufe2f",pt="\\u20d0-\\u20ff",Ji=Gl+wr+pt,ji="\\u2700-\\u27bf",Cl="a-z\\xdf-\\xf6\\xf8-\\xff",Q="\\xac\\xb1\\xd7\\xf7",Pt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",kt="\\u2000-\\u206f",Kn=" \\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",kr="A-Z\\xc0-\\xd6\\xd8-\\xde",Xr="\\ufe0e\\ufe0f",yl=Q+Pt+kt+Kn,Sr="['\u2019]",cs="["+Ii+"]",$r="["+yl+"]",Yi="["+Ji+"]",xr="\\d+",ds="["+ji+"]",ea="["+Cl+"]",ta="[^"+Ii+yl+xr+ji+Cl+kr+"]",Cr="\\ud83c[\\udffb-\\udfff]",na="(?:"+Yi+"|"+Cr+")",ia="[^"+Ii+"]",Kl="(?:\\ud83c[\\udde6-\\uddff]){2}",yr="[\\ud800-\\udbff][\\udc00-\\udfff]",Qi="["+kr+"]",la="\\u200d",ra="(?:"+ea+"|"+ta+")",hs="(?:"+Qi+"|"+ta+")",aa="(?:"+Sr+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+Sr+"(?:D|LL|M|RE|S|T|VE))?",oa=na+"?",ua="["+Xr+"]?",gs="(?:"+la+"(?:"+[ia,Kl,yr].join("|")+")"+ua+oa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+gs,ms="(?:"+[ds,Kl,yr].join("|")+")"+fa,bs="(?:"+[ia+Yi+"?",Yi,Kl,yr,cs].join("|")+")",vs=RegExp(Sr,"g"),ws=RegExp(Yi,"g"),Pr=RegExp(Cr+"(?="+Cr+")|"+bs+fa,"g"),ks=RegExp([Qi+"?"+ea+"+"+aa+"(?="+[$r,Qi,"$"].join("|")+")",hs+"+"+sa+"(?="+[$r,Qi+ra,"$"].join("|")+")",Qi+"?"+ra+"+"+aa,Qi+"+"+sa,ps,_s,xr,ms].join("|"),"g"),H=RegExp("["+la+Ii+Ji+Xr+"]"),fe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Me=["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"],Je=-1,Ae={};Ae[en]=Ae[bn]=Ae[fi]=Ae[ki]=Ae[fn]=Ae[Si]=Ae[Ci]=Ae[yi]=Ae[Pi]=!0,Ae[Y]=Ae[ce]=Ae[Qt]=Ae[We]=Ae[qn]=Ae[Ge]=Ae[De]=Ae[et]=Ae[gt]=Ae[Kt]=Ae[Et]=Ae[pn]=Ae[an]=Ae[In]=Ae[ti]=!1;var he={};he[Y]=he[ce]=he[Qt]=he[qn]=he[We]=he[Ge]=he[en]=he[bn]=he[fi]=he[ki]=he[fn]=he[gt]=he[Kt]=he[Et]=he[pn]=he[an]=he[In]=he[It]=he[Si]=he[Ci]=he[yi]=he[Pi]=!0,he[De]=he[et]=he[ti]=!1;var He={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Bt={"&":"&","<":"<",">":">",""":'"',"'":"'"},Nr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zi=parseFloat,Ir=parseInt,Ti=typeof Kr=="object"&&Kr&&Kr.Object===Object&&Kr,Tr=typeof self=="object"&&self&&self.Object===Object&&self,Be=Ti||Tr||Function("return this")(),St=e&&!e.nodeType&&e,bt=St&&!0&&i&&!i.nodeType&&i,Zt=bt&&bt.exports===St,kn=Zt&&Ti.process,qt=function(){try{var Z=bt&&bt.require&&bt.require("util").types;return Z||kn&&kn.binding&&kn.binding("util")}catch{}}(),Xi=qt&&qt.isArrayBuffer,Jl=qt&&qt.isDate,Pl=qt&&qt.isMap,Ss=qt&&qt.isRegExp,jl=qt&&qt.isSet,ca=qt&&qt.isTypedArray;function tn(Z,ge,ue){switch(ue.length){case 0:return Z.call(ge);case 1:return Z.call(ge,ue[0]);case 2:return Z.call(ge,ue[0],ue[1]);case 3:return Z.call(ge,ue[0],ue[1],ue[2])}return Z.apply(ge,ue)}function Nl(Z,ge,ue,ze){for(var xe=-1,wt=Z==null?0:Z.length;++xe<wt;){var Xt=Z[xe];ge(ze,Xt,ue(Xt),Z)}return ze}function Dt(Z,ge){for(var ue=-1,ze=Z==null?0:Z.length;++ue<ze&&ge(Z[ue],ue,Z)!==!1;);return Z}function Jn(Z,ge){for(var ue=Z==null?0:Z.length;ue--&&ge(Z[ue],ue,Z)!==!1;);return Z}function da(Z,ge){for(var ue=-1,ze=Z==null?0:Z.length;++ue<ze;)if(!ge(Z[ue],ue,Z))return!1;return!0}function $i(Z,ge){for(var ue=-1,ze=Z==null?0:Z.length,xe=0,wt=[];++ue<ze;){var Xt=Z[ue];ge(Xt,ue,Z)&&(wt[xe++]=Xt)}return wt}function ha(Z,ge){var ue=Z==null?0:Z.length;return!!ue&&Yl(Z,ge,0)>-1}function Cs(Z,ge,ue){for(var ze=-1,xe=Z==null?0:Z.length;++ze<xe;)if(ue(ge,Z[ze]))return!0;return!1}function Ht(Z,ge){for(var ue=-1,ze=Z==null?0:Z.length,xe=Array(ze);++ue<ze;)xe[ue]=ge(Z[ue],ue,Z);return xe}function xi(Z,ge){for(var ue=-1,ze=ge.length,xe=Z.length;++ue<ze;)Z[xe+ue]=ge[ue];return Z}function ys(Z,ge,ue,ze){var xe=-1,wt=Z==null?0:Z.length;for(ze&&wt&&(ue=Z[++xe]);++xe<wt;)ue=ge(ue,Z[xe],xe,Z);return ue}function _p(Z,ge,ue,ze){var xe=Z==null?0:Z.length;for(ze&&xe&&(ue=Z[--xe]);xe--;)ue=ge(ue,Z[xe],xe,Z);return ue}function Ps(Z,ge){for(var ue=-1,ze=Z==null?0:Z.length;++ue<ze;)if(ge(Z[ue],ue,Z))return!0;return!1}var pp=Ns("length");function mp(Z){return Z.split("")}function bp(Z){return Z.match(Hl)||[]}function Uo(Z,ge,ue){var ze;return ue(Z,function(xe,wt,Xt){if(ge(xe,wt,Xt))return ze=wt,!1}),ze}function ga(Z,ge,ue,ze){for(var xe=Z.length,wt=ue+(ze?1:-1);ze?wt--:++wt<xe;)if(ge(Z[wt],wt,Z))return wt;return-1}function Yl(Z,ge,ue){return ge===ge?Ap(Z,ge,ue):ga(Z,Bo,ue)}function vp(Z,ge,ue,ze){for(var xe=ue-1,wt=Z.length;++xe<wt;)if(ze(Z[xe],ge))return xe;return-1}function Bo(Z){return Z!==Z}function Ho(Z,ge){var ue=Z==null?0:Z.length;return ue?Ts(Z,ge)/ue:Le}function Ns(Z){return function(ge){return ge==null?t:ge[Z]}}function Is(Z){return function(ge){return Z==null?t:Z[ge]}}function Wo(Z,ge,ue,ze,xe){return xe(Z,function(wt,Xt,Vt){ue=ze?(ze=!1,wt):ge(ue,wt,Xt,Vt)}),ue}function wp(Z,ge){var ue=Z.length;for(Z.sort(ge);ue--;)Z[ue]=Z[ue].value;return Z}function Ts(Z,ge){for(var ue,ze=-1,xe=Z.length;++ze<xe;){var wt=ge(Z[ze]);wt!==t&&(ue=ue===t?wt:ue+wt)}return ue}function Ls(Z,ge){for(var ue=-1,ze=Array(Z);++ue<Z;)ze[ue]=ge(ue);return ze}function kp(Z,ge){return Ht(ge,function(ue){return[ue,Z[ue]]})}function zo(Z){return Z&&Z.slice(0,Jo(Z)+1).replace(Gn,"")}function Mn(Z){return function(ge){return Z(ge)}}function As(Z,ge){return Ht(ge,function(ue){return Z[ue]})}function Lr(Z,ge){return Z.has(ge)}function qo(Z,ge){for(var ue=-1,ze=Z.length;++ue<ze&&Yl(ge,Z[ue],0)>-1;);return ue}function Go(Z,ge){for(var ue=Z.length;ue--&&Yl(ge,Z[ue],0)>-1;);return ue}function Sp(Z,ge){for(var ue=Z.length,ze=0;ue--;)Z[ue]===ge&&++ze;return ze}var Cp=Is(He),yp=Is(mt);function Pp(Z){return"\\"+Nr[Z]}function Np(Z,ge){return Z==null?t:Z[ge]}function Ql(Z){return H.test(Z)}function Ip(Z){return fe.test(Z)}function Tp(Z){for(var ge,ue=[];!(ge=Z.next()).done;)ue.push(ge.value);return ue}function Rs(Z){var ge=-1,ue=Array(Z.size);return Z.forEach(function(ze,xe){ue[++ge]=[xe,ze]}),ue}function Ko(Z,ge){return function(ue){return Z(ge(ue))}}function el(Z,ge){for(var ue=-1,ze=Z.length,xe=0,wt=[];++ue<ze;){var Xt=Z[ue];(Xt===ge||Xt===d)&&(Z[ue]=d,wt[xe++]=ue)}return wt}function _a(Z){var ge=-1,ue=Array(Z.size);return Z.forEach(function(ze){ue[++ge]=ze}),ue}function Lp(Z){var ge=-1,ue=Array(Z.size);return Z.forEach(function(ze){ue[++ge]=[ze,ze]}),ue}function Ap(Z,ge,ue){for(var ze=ue-1,xe=Z.length;++ze<xe;)if(Z[ze]===ge)return ze;return-1}function Rp(Z,ge,ue){for(var ze=ue+1;ze--;)if(Z[ze]===ge)return ze;return ze}function Zl(Z){return Ql(Z)?Dp(Z):pp(Z)}function ni(Z){return Ql(Z)?Vp(Z):mp(Z)}function Jo(Z){for(var ge=Z.length;ge--&&ml.test(Z.charAt(ge)););return ge}var Ep=Is(Bt);function Dp(Z){for(var ge=Pr.lastIndex=0;Pr.test(Z);)++ge;return ge}function Vp(Z){return Z.match(Pr)||[]}function Mp(Z){return Z.match(ks)||[]}var Op=function Z(ge){ge=ge==null?Be:Xl.defaults(Be.Object(),ge,Xl.pick(Be,Me));var ue=ge.Array,ze=ge.Date,xe=ge.Error,wt=ge.Function,Xt=ge.Math,Vt=ge.Object,Es=ge.RegExp,Fp=ge.String,jn=ge.TypeError,pa=ue.prototype,Up=wt.prototype,$l=Vt.prototype,ma=ge["__core-js_shared__"],ba=Up.toString,Nt=$l.hasOwnProperty,Bp=0,jo=function(){var s=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),va=$l.toString,Hp=ba.call(Vt),Wp=Be._,zp=Es("^"+ba.call(Nt).replace(vn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wa=Zt?ge.Buffer:t,tl=ge.Symbol,ka=ge.Uint8Array,Yo=wa?wa.allocUnsafe:t,Sa=Ko(Vt.getPrototypeOf,Vt),Qo=Vt.create,Zo=$l.propertyIsEnumerable,Ca=pa.splice,Xo=tl?tl.isConcatSpreadable:t,Ar=tl?tl.iterator:t,Il=tl?tl.toStringTag:t,ya=function(){try{var s=El(Vt,"defineProperty");return s({},"",{}),s}catch{}}(),qp=ge.clearTimeout!==Be.clearTimeout&&ge.clearTimeout,Gp=ze&&ze.now!==Be.Date.now&&ze.now,Kp=ge.setTimeout!==Be.setTimeout&&ge.setTimeout,Pa=Xt.ceil,Na=Xt.floor,Ds=Vt.getOwnPropertySymbols,Jp=wa?wa.isBuffer:t,$o=ge.isFinite,jp=pa.join,Yp=Ko(Vt.keys,Vt),$t=Xt.max,cn=Xt.min,Qp=ze.now,Zp=ge.parseInt,xo=Xt.random,Xp=pa.reverse,Vs=El(ge,"DataView"),Rr=El(ge,"Map"),Ms=El(ge,"Promise"),xl=El(ge,"Set"),Er=El(ge,"WeakMap"),Dr=El(Vt,"create"),Ia=Er&&new Er,er={},$p=Dl(Vs),xp=Dl(Rr),em=Dl(Ms),tm=Dl(xl),nm=Dl(Er),Ta=tl?tl.prototype:t,Vr=Ta?Ta.valueOf:t,eu=Ta?Ta.toString:t;function M(s){if(Gt(s)&&!tt(s)&&!(s instanceof dt)){if(s instanceof Yn)return s;if(Nt.call(s,"__wrapped__"))return tf(s)}return new Yn(s)}var tr=function(){function s(){}return function(u){if(!Wt(u))return{};if(Qo)return Qo(u);s.prototype=u;var g=new s;return s.prototype=t,g}}();function La(){}function Yn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:$,evaluate:Te,interpolate:ct,variable:"",imports:{_:M}},M.prototype=La.prototype,M.prototype.constructor=M,Yn.prototype=tr(La.prototype),Yn.prototype.constructor=Yn;function dt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=re,this.__views__=[]}function im(){var s=new dt(this.__wrapped__);return s.__actions__=Tn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Tn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Tn(this.__views__),s}function lm(){if(this.__filtered__){var s=new dt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function rm(){var s=this.__wrapped__.value(),u=this.__dir__,g=tt(s),k=u<0,I=g?s.length:0,F=m1(0,I,this.__views__),G=F.start,J=F.end,x=J-G,pe=k?J:G-1,me=this.__iteratees__,Ce=me.length,Ve=0,Ke=cn(x,this.__takeCount__);if(!g||!k&&I==x&&Ke==x)return yu(s,this.__actions__);var Qe=[];e:for(;x--&&Ve<Ke;){pe+=u;for(var lt=-1,Ze=s[pe];++lt<Ce;){var ot=me[lt],ht=ot.iteratee,Un=ot.type,yn=ht(Ze);if(Un==ee)Ze=yn;else if(!yn){if(Un==Pe)continue e;break e}}Qe[Ve++]=Ze}return Qe}dt.prototype=tr(La.prototype),dt.prototype.constructor=dt;function Tl(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function am(){this.__data__=Dr?Dr(null):{},this.size=0}function sm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function om(s){var u=this.__data__;if(Dr){var g=u[s];return g===c?t:g}return Nt.call(u,s)?u[s]:t}function um(s){var u=this.__data__;return Dr?u[s]!==t:Nt.call(u,s)}function fm(s,u){var g=this.__data__;return this.size+=this.has(s)?0:1,g[s]=Dr&&u===t?c:u,this}Tl.prototype.clear=am,Tl.prototype.delete=sm,Tl.prototype.get=om,Tl.prototype.has=um,Tl.prototype.set=fm;function Li(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function cm(){this.__data__=[],this.size=0}function dm(s){var u=this.__data__,g=Aa(u,s);if(g<0)return!1;var k=u.length-1;return g==k?u.pop():Ca.call(u,g,1),--this.size,!0}function hm(s){var u=this.__data__,g=Aa(u,s);return g<0?t:u[g][1]}function gm(s){return Aa(this.__data__,s)>-1}function _m(s,u){var g=this.__data__,k=Aa(g,s);return k<0?(++this.size,g.push([s,u])):g[k][1]=u,this}Li.prototype.clear=cm,Li.prototype.delete=dm,Li.prototype.get=hm,Li.prototype.has=gm,Li.prototype.set=_m;function Ai(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function pm(){this.size=0,this.__data__={hash:new Tl,map:new(Rr||Li),string:new Tl}}function mm(s){var u=za(this,s).delete(s);return this.size-=u?1:0,u}function bm(s){return za(this,s).get(s)}function vm(s){return za(this,s).has(s)}function wm(s,u){var g=za(this,s),k=g.size;return g.set(s,u),this.size+=g.size==k?0:1,this}Ai.prototype.clear=pm,Ai.prototype.delete=mm,Ai.prototype.get=bm,Ai.prototype.has=vm,Ai.prototype.set=wm;function Ll(s){var u=-1,g=s==null?0:s.length;for(this.__data__=new Ai;++u<g;)this.add(s[u])}function km(s){return this.__data__.set(s,c),this}function Sm(s){return this.__data__.has(s)}Ll.prototype.add=Ll.prototype.push=km,Ll.prototype.has=Sm;function ii(s){var u=this.__data__=new Li(s);this.size=u.size}function Cm(){this.__data__=new Li,this.size=0}function ym(s){var u=this.__data__,g=u.delete(s);return this.size=u.size,g}function Pm(s){return this.__data__.get(s)}function Nm(s){return this.__data__.has(s)}function Im(s,u){var g=this.__data__;if(g instanceof Li){var k=g.__data__;if(!Rr||k.length<l-1)return k.push([s,u]),this.size=++g.size,this;g=this.__data__=new Ai(k)}return g.set(s,u),this.size=g.size,this}ii.prototype.clear=Cm,ii.prototype.delete=ym,ii.prototype.get=Pm,ii.prototype.has=Nm,ii.prototype.set=Im;function tu(s,u){var g=tt(s),k=!g&&Vl(s),I=!g&&!k&&al(s),F=!g&&!k&&!I&&rr(s),G=g||k||I||F,J=G?Ls(s.length,Fp):[],x=J.length;for(var pe in s)(u||Nt.call(s,pe))&&!(G&&(pe=="length"||I&&(pe=="offset"||pe=="parent")||F&&(pe=="buffer"||pe=="byteLength"||pe=="byteOffset")||Vi(pe,x)))&&J.push(pe);return J}function nu(s){var u=s.length;return u?s[Js(0,u-1)]:t}function Tm(s,u){return qa(Tn(s),Al(u,0,s.length))}function Lm(s){return qa(Tn(s))}function Os(s,u,g){(g!==t&&!li(s[u],g)||g===t&&!(u in s))&&Ri(s,u,g)}function Mr(s,u,g){var k=s[u];(!(Nt.call(s,u)&&li(k,g))||g===t&&!(u in s))&&Ri(s,u,g)}function Aa(s,u){for(var g=s.length;g--;)if(li(s[g][0],u))return g;return-1}function Am(s,u,g,k){return nl(s,function(I,F,G){u(k,I,g(I),G)}),k}function iu(s,u){return s&&gi(u,nn(u),s)}function Rm(s,u){return s&&gi(u,An(u),s)}function Ri(s,u,g){u=="__proto__"&&ya?ya(s,u,{configurable:!0,enumerable:!0,value:g,writable:!0}):s[u]=g}function Fs(s,u){for(var g=-1,k=u.length,I=ue(k),F=s==null;++g<k;)I[g]=F?t:bo(s,u[g]);return I}function Al(s,u,g){return s===s&&(g!==t&&(s=s<=g?s:g),u!==t&&(s=s>=u?s:u)),s}function Qn(s,u,g,k,I,F){var G,J=u&_,x=u&p,pe=u&b;if(g&&(G=I?g(s,k,I,F):g(s)),G!==t)return G;if(!Wt(s))return s;var me=tt(s);if(me){if(G=v1(s),!J)return Tn(s,G)}else{var Ce=dn(s),Ve=Ce==et||Ce==Rt;if(al(s))return Iu(s,J);if(Ce==Et||Ce==Y||Ve&&!I){if(G=x||Ve?{}:Ju(s),!J)return x?o1(s,Rm(G,s)):s1(s,iu(G,s))}else{if(!he[Ce])return I?s:{};G=w1(s,Ce,J)}}F||(F=new ii);var Ke=F.get(s);if(Ke)return Ke;F.set(s,G),Sf(s)?s.forEach(function(Ze){G.add(Qn(Ze,u,g,Ze,s,F))}):wf(s)&&s.forEach(function(Ze,ot){G.set(ot,Qn(Ze,u,g,ot,s,F))});var Qe=pe?x?io:no:x?An:nn,lt=me?t:Qe(s);return Dt(lt||s,function(Ze,ot){lt&&(ot=Ze,Ze=s[ot]),Mr(G,ot,Qn(Ze,u,g,ot,s,F))}),G}function Em(s){var u=nn(s);return function(g){return lu(g,s,u)}}function lu(s,u,g){var k=g.length;if(s==null)return!k;for(s=Vt(s);k--;){var I=g[k],F=u[I],G=s[I];if(G===t&&!(I in s)||!F(G))return!1}return!0}function ru(s,u,g){if(typeof s!="function")throw new jn(a);return zr(function(){s.apply(t,g)},u)}function Or(s,u,g,k){var I=-1,F=ha,G=!0,J=s.length,x=[],pe=u.length;if(!J)return x;g&&(u=Ht(u,Mn(g))),k?(F=Cs,G=!1):u.length>=l&&(F=Lr,G=!1,u=new Ll(u));e:for(;++I<J;){var me=s[I],Ce=g==null?me:g(me);if(me=k||me!==0?me:0,G&&Ce===Ce){for(var Ve=pe;Ve--;)if(u[Ve]===Ce)continue e;x.push(me)}else F(u,Ce,k)||x.push(me)}return x}var nl=Eu(hi),au=Eu(Bs,!0);function Dm(s,u){var g=!0;return nl(s,function(k,I,F){return g=!!u(k,I,F),g}),g}function Ra(s,u,g){for(var k=-1,I=s.length;++k<I;){var F=s[k],G=u(F);if(G!=null&&(J===t?G===G&&!Fn(G):g(G,J)))var J=G,x=F}return x}function Vm(s,u,g,k){var I=s.length;for(g=it(g),g<0&&(g=-g>I?0:I+g),k=k===t||k>I?I:it(k),k<0&&(k+=I),k=g>k?0:yf(k);g<k;)s[g++]=u;return s}function su(s,u){var g=[];return nl(s,function(k,I,F){u(k,I,F)&&g.push(k)}),g}function on(s,u,g,k,I){var F=-1,G=s.length;for(g||(g=S1),I||(I=[]);++F<G;){var J=s[F];u>0&&g(J)?u>1?on(J,u-1,g,k,I):xi(I,J):k||(I[I.length]=J)}return I}var Us=Du(),ou=Du(!0);function hi(s,u){return s&&Us(s,u,nn)}function Bs(s,u){return s&&ou(s,u,nn)}function Ea(s,u){return $i(u,function(g){return Mi(s[g])})}function Rl(s,u){u=ll(u,s);for(var g=0,k=u.length;s!=null&&g<k;)s=s[_i(u[g++])];return g&&g==k?s:t}function uu(s,u,g){var k=u(s);return tt(s)?k:xi(k,g(s))}function Sn(s){return s==null?s===t?dl:_n:Il&&Il in Vt(s)?p1(s):L1(s)}function Hs(s,u){return s>u}function Mm(s,u){return s!=null&&Nt.call(s,u)}function Om(s,u){return s!=null&&u in Vt(s)}function Fm(s,u,g){return s>=cn(u,g)&&s<$t(u,g)}function Ws(s,u,g){for(var k=g?Cs:ha,I=s[0].length,F=s.length,G=F,J=ue(F),x=1/0,pe=[];G--;){var me=s[G];G&&u&&(me=Ht(me,Mn(u))),x=cn(me.length,x),J[G]=!g&&(u||I>=120&&me.length>=120)?new Ll(G&&me):t}me=s[0];var Ce=-1,Ve=J[0];e:for(;++Ce<I&&pe.length<x;){var Ke=me[Ce],Qe=u?u(Ke):Ke;if(Ke=g||Ke!==0?Ke:0,!(Ve?Lr(Ve,Qe):k(pe,Qe,g))){for(G=F;--G;){var lt=J[G];if(!(lt?Lr(lt,Qe):k(s[G],Qe,g)))continue e}Ve&&Ve.push(Qe),pe.push(Ke)}}return pe}function Um(s,u,g,k){return hi(s,function(I,F,G){u(k,g(I),F,G)}),k}function Fr(s,u,g){u=ll(u,s),s=Zu(s,u);var k=s==null?s:s[_i(Xn(u))];return k==null?t:tn(k,s,g)}function fu(s){return Gt(s)&&Sn(s)==Y}function Bm(s){return Gt(s)&&Sn(s)==Qt}function Hm(s){return Gt(s)&&Sn(s)==Ge}function Ur(s,u,g,k,I){return s===u?!0:s==null||u==null||!Gt(s)&&!Gt(u)?s!==s&&u!==u:Wm(s,u,g,k,Ur,I)}function Wm(s,u,g,k,I,F){var G=tt(s),J=tt(u),x=G?ce:dn(s),pe=J?ce:dn(u);x=x==Y?Et:x,pe=pe==Y?Et:pe;var me=x==Et,Ce=pe==Et,Ve=x==pe;if(Ve&&al(s)){if(!al(u))return!1;G=!0,me=!1}if(Ve&&!me)return F||(F=new ii),G||rr(s)?qu(s,u,g,k,I,F):g1(s,u,x,g,k,I,F);if(!(g&m)){var Ke=me&&Nt.call(s,"__wrapped__"),Qe=Ce&&Nt.call(u,"__wrapped__");if(Ke||Qe){var lt=Ke?s.value():s,Ze=Qe?u.value():u;return F||(F=new ii),I(lt,Ze,g,k,F)}}return Ve?(F||(F=new ii),_1(s,u,g,k,I,F)):!1}function zm(s){return Gt(s)&&dn(s)==gt}function zs(s,u,g,k){var I=g.length,F=I,G=!k;if(s==null)return!F;for(s=Vt(s);I--;){var J=g[I];if(G&&J[2]?J[1]!==s[J[0]]:!(J[0]in s))return!1}for(;++I<F;){J=g[I];var x=J[0],pe=s[x],me=J[1];if(G&&J[2]){if(pe===t&&!(x in s))return!1}else{var Ce=new ii;if(k)var Ve=k(pe,me,x,s,u,Ce);if(!(Ve===t?Ur(me,pe,m|v,k,Ce):Ve))return!1}}return!0}function cu(s){if(!Wt(s)||y1(s))return!1;var u=Mi(s)?zp:ql;return u.test(Dl(s))}function qm(s){return Gt(s)&&Sn(s)==pn}function Gm(s){return Gt(s)&&dn(s)==an}function Km(s){return Gt(s)&&Qa(s.length)&&!!Ae[Sn(s)]}function du(s){return typeof s=="function"?s:s==null?Rn:typeof s=="object"?tt(s)?_u(s[0],s[1]):gu(s):Mf(s)}function qs(s){if(!Wr(s))return Yp(s);var u=[];for(var g in Vt(s))Nt.call(s,g)&&g!="constructor"&&u.push(g);return u}function Jm(s){if(!Wt(s))return T1(s);var u=Wr(s),g=[];for(var k in s)k=="constructor"&&(u||!Nt.call(s,k))||g.push(k);return g}function Gs(s,u){return s<u}function hu(s,u){var g=-1,k=Ln(s)?ue(s.length):[];return nl(s,function(I,F,G){k[++g]=u(I,F,G)}),k}function gu(s){var u=ro(s);return u.length==1&&u[0][2]?Yu(u[0][0],u[0][1]):function(g){return g===s||zs(g,s,u)}}function _u(s,u){return so(s)&&ju(u)?Yu(_i(s),u):function(g){var k=bo(g,s);return k===t&&k===u?vo(g,s):Ur(u,k,m|v)}}function Da(s,u,g,k,I){s!==u&&Us(u,function(F,G){if(I||(I=new ii),Wt(F))jm(s,u,G,g,Da,k,I);else{var J=k?k(uo(s,G),F,G+"",s,u,I):t;J===t&&(J=F),Os(s,G,J)}},An)}function jm(s,u,g,k,I,F,G){var J=uo(s,g),x=uo(u,g),pe=G.get(x);if(pe){Os(s,g,pe);return}var me=F?F(J,x,g+"",s,u,G):t,Ce=me===t;if(Ce){var Ve=tt(x),Ke=!Ve&&al(x),Qe=!Ve&&!Ke&&rr(x);me=x,Ve||Ke||Qe?tt(J)?me=J:Jt(J)?me=Tn(J):Ke?(Ce=!1,me=Iu(x,!0)):Qe?(Ce=!1,me=Tu(x,!0)):me=[]:qr(x)||Vl(x)?(me=J,Vl(J)?me=Pf(J):(!Wt(J)||Mi(J))&&(me=Ju(x))):Ce=!1}Ce&&(G.set(x,me),I(me,x,k,F,G),G.delete(x)),Os(s,g,me)}function pu(s,u){var g=s.length;if(!!g)return u+=u<0?g:0,Vi(u,g)?s[u]:t}function mu(s,u,g){u.length?u=Ht(u,function(F){return tt(F)?function(G){return Rl(G,F.length===1?F[0]:F)}:F}):u=[Rn];var k=-1;u=Ht(u,Mn(Ye()));var I=hu(s,function(F,G,J){var x=Ht(u,function(pe){return pe(F)});return{criteria:x,index:++k,value:F}});return wp(I,function(F,G){return a1(F,G,g)})}function Ym(s,u){return bu(s,u,function(g,k){return vo(s,k)})}function bu(s,u,g){for(var k=-1,I=u.length,F={};++k<I;){var G=u[k],J=Rl(s,G);g(J,G)&&Br(F,ll(G,s),J)}return F}function Qm(s){return function(u){return Rl(u,s)}}function Ks(s,u,g,k){var I=k?vp:Yl,F=-1,G=u.length,J=s;for(s===u&&(u=Tn(u)),g&&(J=Ht(s,Mn(g)));++F<G;)for(var x=0,pe=u[F],me=g?g(pe):pe;(x=I(J,me,x,k))>-1;)J!==s&&Ca.call(J,x,1),Ca.call(s,x,1);return s}function vu(s,u){for(var g=s?u.length:0,k=g-1;g--;){var I=u[g];if(g==k||I!==F){var F=I;Vi(I)?Ca.call(s,I,1):Qs(s,I)}}return s}function Js(s,u){return s+Na(xo()*(u-s+1))}function Zm(s,u,g,k){for(var I=-1,F=$t(Pa((u-s)/(g||1)),0),G=ue(F);F--;)G[k?F:++I]=s,s+=g;return G}function js(s,u){var g="";if(!s||u<1||u>ie)return g;do u%2&&(g+=s),u=Na(u/2),u&&(s+=s);while(u);return g}function rt(s,u){return fo(Qu(s,u,Rn),s+"")}function Xm(s){return nu(ar(s))}function $m(s,u){var g=ar(s);return qa(g,Al(u,0,g.length))}function Br(s,u,g,k){if(!Wt(s))return s;u=ll(u,s);for(var I=-1,F=u.length,G=F-1,J=s;J!=null&&++I<F;){var x=_i(u[I]),pe=g;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(I!=G){var me=J[x];pe=k?k(me,x,J):t,pe===t&&(pe=Wt(me)?me:Vi(u[I+1])?[]:{})}Mr(J,x,pe),J=J[x]}return s}var wu=Ia?function(s,u){return Ia.set(s,u),s}:Rn,xm=ya?function(s,u){return ya(s,"toString",{configurable:!0,enumerable:!1,value:ko(u),writable:!0})}:Rn;function e1(s){return qa(ar(s))}function Zn(s,u,g){var k=-1,I=s.length;u<0&&(u=-u>I?0:I+u),g=g>I?I:g,g<0&&(g+=I),I=u>g?0:g-u>>>0,u>>>=0;for(var F=ue(I);++k<I;)F[k]=s[k+u];return F}function t1(s,u){var g;return nl(s,function(k,I,F){return g=u(k,I,F),!g}),!!g}function Va(s,u,g){var k=0,I=s==null?k:s.length;if(typeof u=="number"&&u===u&&I<=Se){for(;k<I;){var F=k+I>>>1,G=s[F];G!==null&&!Fn(G)&&(g?G<=u:G<u)?k=F+1:I=F}return I}return Ys(s,u,Rn,g)}function Ys(s,u,g,k){var I=0,F=s==null?0:s.length;if(F===0)return 0;u=g(u);for(var G=u!==u,J=u===null,x=Fn(u),pe=u===t;I<F;){var me=Na((I+F)/2),Ce=g(s[me]),Ve=Ce!==t,Ke=Ce===null,Qe=Ce===Ce,lt=Fn(Ce);if(G)var Ze=k||Qe;else pe?Ze=Qe&&(k||Ve):J?Ze=Qe&&Ve&&(k||!Ke):x?Ze=Qe&&Ve&&!Ke&&(k||!lt):Ke||lt?Ze=!1:Ze=k?Ce<=u:Ce<u;Ze?I=me+1:F=me}return cn(F,Ee)}function ku(s,u){for(var g=-1,k=s.length,I=0,F=[];++g<k;){var G=s[g],J=u?u(G):G;if(!g||!li(J,x)){var x=J;F[I++]=G===0?0:G}}return F}function Su(s){return typeof s=="number"?s:Fn(s)?Le:+s}function On(s){if(typeof s=="string")return s;if(tt(s))return Ht(s,On)+"";if(Fn(s))return eu?eu.call(s):"";var u=s+"";return u=="0"&&1/s==-oe?"-0":u}function il(s,u,g){var k=-1,I=ha,F=s.length,G=!0,J=[],x=J;if(g)G=!1,I=Cs;else if(F>=l){var pe=u?null:d1(s);if(pe)return _a(pe);G=!1,I=Lr,x=new Ll}else x=u?[]:J;e:for(;++k<F;){var me=s[k],Ce=u?u(me):me;if(me=g||me!==0?me:0,G&&Ce===Ce){for(var Ve=x.length;Ve--;)if(x[Ve]===Ce)continue e;u&&x.push(Ce),J.push(me)}else I(x,Ce,g)||(x!==J&&x.push(Ce),J.push(me))}return J}function Qs(s,u){return u=ll(u,s),s=Zu(s,u),s==null||delete s[_i(Xn(u))]}function Cu(s,u,g,k){return Br(s,u,g(Rl(s,u)),k)}function Ma(s,u,g,k){for(var I=s.length,F=k?I:-1;(k?F--:++F<I)&&u(s[F],F,s););return g?Zn(s,k?0:F,k?F+1:I):Zn(s,k?F+1:0,k?I:F)}function yu(s,u){var g=s;return g instanceof dt&&(g=g.value()),ys(u,function(k,I){return I.func.apply(I.thisArg,xi([k],I.args))},g)}function Zs(s,u,g){var k=s.length;if(k<2)return k?il(s[0]):[];for(var I=-1,F=ue(k);++I<k;)for(var G=s[I],J=-1;++J<k;)J!=I&&(F[I]=Or(F[I]||G,s[J],u,g));return il(on(F,1),u,g)}function Pu(s,u,g){for(var k=-1,I=s.length,F=u.length,G={};++k<I;){var J=k<F?u[k]:t;g(G,s[k],J)}return G}function Xs(s){return Jt(s)?s:[]}function $s(s){return typeof s=="function"?s:Rn}function ll(s,u){return tt(s)?s:so(s,u)?[s]:ef(Ct(s))}var n1=rt;function rl(s,u,g){var k=s.length;return g=g===t?k:g,!u&&g>=k?s:Zn(s,u,g)}var Nu=qp||function(s){return Be.clearTimeout(s)};function Iu(s,u){if(u)return s.slice();var g=s.length,k=Yo?Yo(g):new s.constructor(g);return s.copy(k),k}function xs(s){var u=new s.constructor(s.byteLength);return new ka(u).set(new ka(s)),u}function i1(s,u){var g=u?xs(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.byteLength)}function l1(s){var u=new s.constructor(s.source,wn.exec(s));return u.lastIndex=s.lastIndex,u}function r1(s){return Vr?Vt(Vr.call(s)):{}}function Tu(s,u){var g=u?xs(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.length)}function Lu(s,u){if(s!==u){var g=s!==t,k=s===null,I=s===s,F=Fn(s),G=u!==t,J=u===null,x=u===u,pe=Fn(u);if(!J&&!pe&&!F&&s>u||F&&G&&x&&!J&&!pe||k&&G&&x||!g&&x||!I)return 1;if(!k&&!F&&!pe&&s<u||pe&&g&&I&&!k&&!F||J&&g&&I||!G&&I||!x)return-1}return 0}function a1(s,u,g){for(var k=-1,I=s.criteria,F=u.criteria,G=I.length,J=g.length;++k<G;){var x=Lu(I[k],F[k]);if(x){if(k>=J)return x;var pe=g[k];return x*(pe=="desc"?-1:1)}}return s.index-u.index}function Au(s,u,g,k){for(var I=-1,F=s.length,G=g.length,J=-1,x=u.length,pe=$t(F-G,0),me=ue(x+pe),Ce=!k;++J<x;)me[J]=u[J];for(;++I<G;)(Ce||I<F)&&(me[g[I]]=s[I]);for(;pe--;)me[J++]=s[I++];return me}function Ru(s,u,g,k){for(var I=-1,F=s.length,G=-1,J=g.length,x=-1,pe=u.length,me=$t(F-J,0),Ce=ue(me+pe),Ve=!k;++I<me;)Ce[I]=s[I];for(var Ke=I;++x<pe;)Ce[Ke+x]=u[x];for(;++G<J;)(Ve||I<F)&&(Ce[Ke+g[G]]=s[I++]);return Ce}function Tn(s,u){var g=-1,k=s.length;for(u||(u=ue(k));++g<k;)u[g]=s[g];return u}function gi(s,u,g,k){var I=!g;g||(g={});for(var F=-1,G=u.length;++F<G;){var J=u[F],x=k?k(g[J],s[J],J,g,s):t;x===t&&(x=s[J]),I?Ri(g,J,x):Mr(g,J,x)}return g}function s1(s,u){return gi(s,ao(s),u)}function o1(s,u){return gi(s,Gu(s),u)}function Oa(s,u){return function(g,k){var I=tt(g)?Nl:Am,F=u?u():{};return I(g,s,Ye(k,2),F)}}function nr(s){return rt(function(u,g){var k=-1,I=g.length,F=I>1?g[I-1]:t,G=I>2?g[2]:t;for(F=s.length>3&&typeof F=="function"?(I--,F):t,G&&Cn(g[0],g[1],G)&&(F=I<3?t:F,I=1),u=Vt(u);++k<I;){var J=g[k];J&&s(u,J,k,F)}return u})}function Eu(s,u){return function(g,k){if(g==null)return g;if(!Ln(g))return s(g,k);for(var I=g.length,F=u?I:-1,G=Vt(g);(u?F--:++F<I)&&k(G[F],F,G)!==!1;);return g}}function Du(s){return function(u,g,k){for(var I=-1,F=Vt(u),G=k(u),J=G.length;J--;){var x=G[s?J:++I];if(g(F[x],x,F)===!1)break}return u}}function u1(s,u,g){var k=u&C,I=Hr(s);function F(){var G=this&&this!==Be&&this instanceof F?I:s;return G.apply(k?g:this,arguments)}return F}function Vu(s){return function(u){u=Ct(u);var g=Ql(u)?ni(u):t,k=g?g[0]:u.charAt(0),I=g?rl(g,1).join(""):u.slice(1);return k[s]()+I}}function ir(s){return function(u){return ys(Df(Ef(u).replace(vs,"")),s,"")}}function Hr(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 g=tr(s.prototype),k=s.apply(g,u);return Wt(k)?k:g}}function f1(s,u,g){var k=Hr(s);function I(){for(var F=arguments.length,G=ue(F),J=F,x=lr(I);J--;)G[J]=arguments[J];var pe=F<3&&G[0]!==x&&G[F-1]!==x?[]:el(G,x);if(F-=pe.length,F<g)return Bu(s,u,Fa,I.placeholder,t,G,pe,t,t,g-F);var me=this&&this!==Be&&this instanceof I?k:s;return tn(me,this,G)}return I}function Mu(s){return function(u,g,k){var I=Vt(u);if(!Ln(u)){var F=Ye(g,3);u=nn(u),g=function(J){return F(I[J],J,I)}}var G=s(u,g,k);return G>-1?I[F?u[G]:G]:t}}function Ou(s){return Di(function(u){var g=u.length,k=g,I=Yn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new jn(a);if(I&&!G&&Wa(F)=="wrapper")var G=new Yn([],!0)}for(k=G?k:g;++k<g;){F=u[k];var J=Wa(F),x=J=="wrapper"?lo(F):t;x&&oo(x[0])&&x[1]==(V|A|D|U)&&!x[4].length&&x[9]==1?G=G[Wa(x[0])].apply(G,x[3]):G=F.length==1&&oo(F)?G[J]():G.thru(F)}return function(){var pe=arguments,me=pe[0];if(G&&pe.length==1&&tt(me))return G.plant(me).value();for(var Ce=0,Ve=g?u[Ce].apply(this,pe):me;++Ce<g;)Ve=u[Ce].call(this,Ve);return Ve}})}function Fa(s,u,g,k,I,F,G,J,x,pe){var me=u&V,Ce=u&C,Ve=u&y,Ke=u&(A|N),Qe=u&O,lt=Ve?t:Hr(s);function Ze(){for(var ot=arguments.length,ht=ue(ot),Un=ot;Un--;)ht[Un]=arguments[Un];if(Ke)var yn=lr(Ze),Bn=Sp(ht,yn);if(k&&(ht=Au(ht,k,I,Ke)),F&&(ht=Ru(ht,F,G,Ke)),ot-=Bn,Ke&&ot<pe){var jt=el(ht,yn);return Bu(s,u,Fa,Ze.placeholder,g,ht,jt,J,x,pe-ot)}var ri=Ce?g:this,Fi=Ve?ri[s]:s;return ot=ht.length,J?ht=A1(ht,J):Qe&&ot>1&&ht.reverse(),me&&x<ot&&(ht.length=x),this&&this!==Be&&this instanceof Ze&&(Fi=lt||Hr(Fi)),Fi.apply(ri,ht)}return Ze}function Fu(s,u){return function(g,k){return Um(g,s,u(k),{})}}function Ua(s,u){return function(g,k){var I;if(g===t&&k===t)return u;if(g!==t&&(I=g),k!==t){if(I===t)return k;typeof g=="string"||typeof k=="string"?(g=On(g),k=On(k)):(g=Su(g),k=Su(k)),I=s(g,k)}return I}}function eo(s){return Di(function(u){return u=Ht(u,Mn(Ye())),rt(function(g){var k=this;return s(u,function(I){return tn(I,k,g)})})})}function Ba(s,u){u=u===t?" ":On(u);var g=u.length;if(g<2)return g?js(u,s):u;var k=js(u,Pa(s/Zl(u)));return Ql(u)?rl(ni(k),0,s).join(""):k.slice(0,s)}function c1(s,u,g,k){var I=u&C,F=Hr(s);function G(){for(var J=-1,x=arguments.length,pe=-1,me=k.length,Ce=ue(me+x),Ve=this&&this!==Be&&this instanceof G?F:s;++pe<me;)Ce[pe]=k[pe];for(;x--;)Ce[pe++]=arguments[++J];return tn(Ve,I?g:this,Ce)}return G}function Uu(s){return function(u,g,k){return k&&typeof k!="number"&&Cn(u,g,k)&&(g=k=t),u=Oi(u),g===t?(g=u,u=0):g=Oi(g),k=k===t?u<g?1:-1:Oi(k),Zm(u,g,k,s)}}function Ha(s){return function(u,g){return typeof u=="string"&&typeof g=="string"||(u=$n(u),g=$n(g)),s(u,g)}}function Bu(s,u,g,k,I,F,G,J,x,pe){var me=u&A,Ce=me?G:t,Ve=me?t:G,Ke=me?F:t,Qe=me?t:F;u|=me?D:E,u&=~(me?E:D),u&P||(u&=~(C|y));var lt=[s,u,I,Ke,Ce,Qe,Ve,J,x,pe],Ze=g.apply(t,lt);return oo(s)&&Xu(Ze,lt),Ze.placeholder=k,$u(Ze,s,u)}function to(s){var u=Xt[s];return function(g,k){if(g=$n(g),k=k==null?0:cn(it(k),292),k&&$o(g)){var I=(Ct(g)+"e").split("e"),F=u(I[0]+"e"+(+I[1]+k));return I=(Ct(F)+"e").split("e"),+(I[0]+"e"+(+I[1]-k))}return u(g)}}var d1=xl&&1/_a(new xl([,-0]))[1]==oe?function(s){return new xl(s)}:yo;function Hu(s){return function(u){var g=dn(u);return g==gt?Rs(u):g==an?Lp(u):kp(u,s(u))}}function Ei(s,u,g,k,I,F,G,J){var x=u&y;if(!x&&typeof s!="function")throw new jn(a);var pe=k?k.length:0;if(pe||(u&=~(D|E),k=I=t),G=G===t?G:$t(it(G),0),J=J===t?J:it(J),pe-=I?I.length:0,u&E){var me=k,Ce=I;k=I=t}var Ve=x?t:lo(s),Ke=[s,u,g,k,I,me,Ce,F,G,J];if(Ve&&I1(Ke,Ve),s=Ke[0],u=Ke[1],g=Ke[2],k=Ke[3],I=Ke[4],J=Ke[9]=Ke[9]===t?x?0:s.length:$t(Ke[9]-pe,0),!J&&u&(A|N)&&(u&=~(A|N)),!u||u==C)var Qe=u1(s,u,g);else u==A||u==N?Qe=f1(s,u,J):(u==D||u==(C|D))&&!I.length?Qe=c1(s,u,g,k):Qe=Fa.apply(t,Ke);var lt=Ve?wu:Xu;return $u(lt(Qe,Ke),s,u)}function Wu(s,u,g,k){return s===t||li(s,$l[g])&&!Nt.call(k,g)?u:s}function zu(s,u,g,k,I,F){return Wt(s)&&Wt(u)&&(F.set(u,s),Da(s,u,t,zu,F),F.delete(u)),s}function h1(s){return qr(s)?t:s}function qu(s,u,g,k,I,F){var G=g&m,J=s.length,x=u.length;if(J!=x&&!(G&&x>J))return!1;var pe=F.get(s),me=F.get(u);if(pe&&me)return pe==u&&me==s;var Ce=-1,Ve=!0,Ke=g&v?new Ll:t;for(F.set(s,u),F.set(u,s);++Ce<J;){var Qe=s[Ce],lt=u[Ce];if(k)var Ze=G?k(lt,Qe,Ce,u,s,F):k(Qe,lt,Ce,s,u,F);if(Ze!==t){if(Ze)continue;Ve=!1;break}if(Ke){if(!Ps(u,function(ot,ht){if(!Lr(Ke,ht)&&(Qe===ot||I(Qe,ot,g,k,F)))return Ke.push(ht)})){Ve=!1;break}}else if(!(Qe===lt||I(Qe,lt,g,k,F))){Ve=!1;break}}return F.delete(s),F.delete(u),Ve}function g1(s,u,g,k,I,F,G){switch(g){case qn:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Qt:return!(s.byteLength!=u.byteLength||!F(new ka(s),new ka(u)));case We:case Ge:case Kt:return li(+s,+u);case De:return s.name==u.name&&s.message==u.message;case pn:case In:return s==u+"";case gt:var J=Rs;case an:var x=k&m;if(J||(J=_a),s.size!=u.size&&!x)return!1;var pe=G.get(s);if(pe)return pe==u;k|=v,G.set(s,u);var me=qu(J(s),J(u),k,I,F,G);return G.delete(s),me;case It:if(Vr)return Vr.call(s)==Vr.call(u)}return!1}function _1(s,u,g,k,I,F){var G=g&m,J=no(s),x=J.length,pe=no(u),me=pe.length;if(x!=me&&!G)return!1;for(var Ce=x;Ce--;){var Ve=J[Ce];if(!(G?Ve in u:Nt.call(u,Ve)))return!1}var Ke=F.get(s),Qe=F.get(u);if(Ke&&Qe)return Ke==u&&Qe==s;var lt=!0;F.set(s,u),F.set(u,s);for(var Ze=G;++Ce<x;){Ve=J[Ce];var ot=s[Ve],ht=u[Ve];if(k)var Un=G?k(ht,ot,Ve,u,s,F):k(ot,ht,Ve,s,u,F);if(!(Un===t?ot===ht||I(ot,ht,g,k,F):Un)){lt=!1;break}Ze||(Ze=Ve=="constructor")}if(lt&&!Ze){var yn=s.constructor,Bn=u.constructor;yn!=Bn&&"constructor"in s&&"constructor"in u&&!(typeof yn=="function"&&yn instanceof yn&&typeof Bn=="function"&&Bn instanceof Bn)&&(lt=!1)}return F.delete(s),F.delete(u),lt}function Di(s){return fo(Qu(s,t,rf),s+"")}function no(s){return uu(s,nn,ao)}function io(s){return uu(s,An,Gu)}var lo=Ia?function(s){return Ia.get(s)}:yo;function Wa(s){for(var u=s.name+"",g=er[u],k=Nt.call(er,u)?g.length:0;k--;){var I=g[k],F=I.func;if(F==null||F==s)return I.name}return u}function lr(s){var u=Nt.call(M,"placeholder")?M:s;return u.placeholder}function Ye(){var s=M.iteratee||So;return s=s===So?du:s,arguments.length?s(arguments[0],arguments[1]):s}function za(s,u){var g=s.__data__;return C1(u)?g[typeof u=="string"?"string":"hash"]:g.map}function ro(s){for(var u=nn(s),g=u.length;g--;){var k=u[g],I=s[k];u[g]=[k,I,ju(I)]}return u}function El(s,u){var g=Np(s,u);return cu(g)?g:t}function p1(s){var u=Nt.call(s,Il),g=s[Il];try{s[Il]=t;var k=!0}catch{}var I=va.call(s);return k&&(u?s[Il]=g:delete s[Il]),I}var ao=Ds?function(s){return s==null?[]:(s=Vt(s),$i(Ds(s),function(u){return Zo.call(s,u)}))}:Po,Gu=Ds?function(s){for(var u=[];s;)xi(u,ao(s)),s=Sa(s);return u}:Po,dn=Sn;(Vs&&dn(new Vs(new ArrayBuffer(1)))!=qn||Rr&&dn(new Rr)!=gt||Ms&&dn(Ms.resolve())!=ui||xl&&dn(new xl)!=an||Er&&dn(new Er)!=ti)&&(dn=function(s){var u=Sn(s),g=u==Et?s.constructor:t,k=g?Dl(g):"";if(k)switch(k){case $p:return qn;case xp:return gt;case em:return ui;case tm:return an;case nm:return ti}return u});function m1(s,u,g){for(var k=-1,I=g.length;++k<I;){var F=g[k],G=F.size;switch(F.type){case"drop":s+=G;break;case"dropRight":u-=G;break;case"take":u=cn(u,s+G);break;case"takeRight":s=$t(s,u-G);break}}return{start:s,end:u}}function b1(s){var u=s.match(bl);return u?u[1].split(Gi):[]}function Ku(s,u,g){u=ll(u,s);for(var k=-1,I=u.length,F=!1;++k<I;){var G=_i(u[k]);if(!(F=s!=null&&g(s,G)))break;s=s[G]}return F||++k!=I?F:(I=s==null?0:s.length,!!I&&Qa(I)&&Vi(G,I)&&(tt(s)||Vl(s)))}function v1(s){var u=s.length,g=new s.constructor(u);return u&&typeof s[0]=="string"&&Nt.call(s,"index")&&(g.index=s.index,g.input=s.input),g}function Ju(s){return typeof s.constructor=="function"&&!Wr(s)?tr(Sa(s)):{}}function w1(s,u,g){var k=s.constructor;switch(u){case Qt:return xs(s);case We:case Ge:return new k(+s);case qn:return i1(s,g);case en:case bn:case fi:case ki:case fn:case Si:case Ci:case yi:case Pi:return Tu(s,g);case gt:return new k;case Kt:case In:return new k(s);case pn:return l1(s);case an:return new k;case It:return r1(s)}}function k1(s,u){var g=u.length;if(!g)return s;var k=g-1;return u[k]=(g>1?"& ":"")+u[k],u=u.join(g>2?", ":" "),s.replace(qi,`{
|
|
34
34
|
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function Mm(a){return xe(a)||Ll(a)||!!(Qo&&a&&a[Qo])}function Ri(a,u){var d=typeof a;return u=u==null?ee:u,!!u&&(d=="number"||d!="symbol"&&_l.test(a))&&a>-1&&a%1==0&&a<u}function wn(a,u,d){if(!Bt(d))return!1;var m=typeof u;return(m=="number"?Nn(d)&&Ri(u,d.length):m=="string"&&u in d)?ri(d[u],a):!1}function no(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||Un(a)?!0:vr.test(a)||!br.test(a)||u!=null&&a in Lt(u)}function Om(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function io(a){var u=Ws(a),d=D[u];if(typeof d!="function"||!(u in ut.prototype))return!1;if(a===d)return!0;var m=xa(d);return!!m&&a===m[0]}function Fm(a){return!!Ko&&Ko in a}var Um=ms?Ei:So;function Gr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Zl;return a===d}function Ku(a){return a===a&&!Bt(a)}function ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Lt(d))}}function Bm(a){var u=Js(a,function(m){return d.size===g&&d.clear(),m}),d=u.cache;return u}function Hm(a,u){var d=a[1],m=u[1],N=d|m,V=N<(y|C|O),z=m==O&&d==I||m==O&&d==H&&a[7].length<=u[8]||m==(O|H)&&u[7].length<=u[8]&&d==I;if(!(V||z))return a;m&y&&(a[2]=u[2],N|=d&y?0:P);var j=u[3];if(j){var X=a[3];a[3]=X?Tu(X,j,u[4]):j,a[4]=X?xi(a[3],h):u[4]}return j=u[5],j&&(X=a[5],a[5]=X?Lu(X,j,u[6]):j,a[6]=X?xi(a[5],h):u[6]),j=u[7],j&&(a[7]=j),m&O&&(a[8]=a[8]==null?u[8]:hn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=N,a}function Wm(a){var u=[];if(a!=null)for(var d in Lt(a))u.push(d);return u}function zm(a){return vs.call(a)}function Ju(a,u,d){return u=Xt(u===t?a.length-1:u,0),function(){for(var m=arguments,N=-1,V=Xt(m.length-u,0),z=oe(V);++N<V;)z[N]=m[u+N];N=-1;for(var j=oe(u+1);++N<u;)j[N]=m[N];return j[u]=d(z),Mn(a,this,j)}}function Yu(a,u){return u.length<2?a:Nl(a,Zn(u,0,-1))}function qm(a,u){for(var d=a.length,m=hn(u.length,d),N=Pn(a);m--;){var V=u[m];a[m]=Ri(V,d)?N[V]:t}return a}function lo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Qu=Xu(bu),Kr=lp||function(a,u){return Gt.setTimeout(a,u)},ro=Xu(dm);function Zu(a,u,d){var m=u+"";return ro(a,Vm(m,Gm(Rm(m),d)))}function Xu(a){var u=0,d=0;return function(){var m=op(),N=$-(m-d);if(d=m,N>0){if(++u>=x)return arguments[0]}else u=0;return a.apply(t,arguments)}}function qs(a,u){var d=-1,m=a.length,N=m-1;for(u=u===t?m:u;++d<u;){var V=Wa(d,N),z=a[V];a[V]=a[d],a[d]=z}return a.length=u,a}var $u=Bm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(wr,function(d,m,N,V){u.push(N?V.replace(kr,"$1"):m||d)}),u});function pi(a){if(typeof a=="string"||Un(a))return a;var u=a+"";return u=="0"&&1/a==-ue?"-0":u}function Tl(a){if(a!=null){try{return bs.call(a)}catch{}try{return a+""}catch{}}return""}function Gm(a,u){return jn(ce,function(d){var m="_."+d[0];u&d[1]&&!hs(a,m)&&a.push(m)}),a.sort()}function xu(a){if(a instanceof ut)return a.clone();var u=new Yn(a.__wrapped__,a.__chain__);return u.__actions__=Pn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function Km(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=Xt(nt(u),0);var m=a==null?0:a.length;if(!m||u<1)return[];for(var N=0,V=0,z=oe(Ps(m/u));N<m;)z[V++]=Zn(a,N,N+=u);return z}function jm(a){for(var u=-1,d=a==null?0:a.length,m=0,N=[];++u<d;){var V=a[u];V&&(N[m++]=V)}return N}function Jm(){var a=arguments.length;if(!a)return[];for(var u=oe(a-1),d=arguments[0],m=a;m--;)u[m-1]=arguments[m];return $i(xe(d)?Pn(d):[d],an(u,1))}var Ym=rt(function(a,u){return Kt(a)?Br(a,an(u,1,Kt,!0)):[]}),Qm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Br(a,an(u,1,Kt,!0),Je(d,2)):[]}),Zm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Br(a,an(u,1,Kt,!0),t,d):[]});function Xm(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),Zn(a,u<0?0:u,m)):[]}function $m(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Zn(a,0,u<0?0:u)):[]}function xm(a,u){return a&&a.length?Ms(a,Je(u,3),!0,!0):[]}function e1(a,u){return a&&a.length?Ms(a,Je(u,3),!0):[]}function t1(a,u,d,m){var N=a==null?0:a.length;return N?(d&&typeof d!="number"&&wn(a,u,d)&&(d=0,m=N),Jp(a,u,d,m)):[]}function ef(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=d==null?0:nt(d);return N<0&&(N=Xt(m+N,0)),gs(a,Je(u,3),N)}function tf(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=m-1;return d!==t&&(N=nt(d),N=d<0?Xt(m+N,0):hn(N,m-1)),gs(a,Je(u,3),N,!0)}function nf(a){var u=a==null?0:a.length;return u?an(a,1):[]}function n1(a){var u=a==null?0:a.length;return u?an(a,ue):[]}function i1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:nt(u),an(a,u)):[]}function l1(a){for(var u=-1,d=a==null?0:a.length,m={};++u<d;){var N=a[u];m[N[0]]=N[1]}return m}function lf(a){return a&&a.length?a[0]:t}function r1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=d==null?0:nt(d);return N<0&&(N=Xt(m+N,0)),jl(a,u,N)}function s1(a){var u=a==null?0:a.length;return u?Zn(a,0,-1):[]}var a1=rt(function(a){var u=Ft(a,ja);return u.length&&u[0]===a[0]?Oa(u):[]}),o1=rt(function(a){var u=Xn(a),d=Ft(a,ja);return u===Xn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Oa(d,Je(u,2)):[]}),u1=rt(function(a){var u=Xn(a),d=Ft(a,ja);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Oa(d,t,u):[]});function f1(a,u){return a==null?"":sp.call(a,u)}function Xn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function c1(a,u,d){var m=a==null?0:a.length;if(!m)return-1;var N=m;return d!==t&&(N=nt(d),N=N<0?Xt(m+N,0):hn(N,m-1)),u===u?G_(a,u,N):gs(a,Fo,N,!0)}function d1(a,u){return a&&a.length?gu(a,nt(u)):t}var h1=rt(rf);function rf(a,u){return a&&a.length&&u&&u.length?Ha(a,u):a}function g1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,Je(d,2)):a}function _1(a,u,d){return a&&a.length&&u&&u.length?Ha(a,u,t,d):a}var p1=Ai(function(a,u){var d=a==null?0:a.length,m=Ea(a,u);return mu(a,Ft(u,function(N){return Ri(N,d)?+N:N}).sort(Iu)),m});function m1(a,u){var d=[];if(!(a&&a.length))return d;var m=-1,N=[],V=a.length;for(u=Je(u,3);++m<V;){var z=a[m];u(z,m,a)&&(d.push(z),N.push(m))}return mu(a,N),d}function so(a){return a==null?a:fp.call(a)}function b1(a,u,d){var m=a==null?0:a.length;return m?(d&&typeof d!="number"&&wn(a,u,d)?(u=0,d=m):(u=u==null?0:nt(u),d=d===t?m:nt(d)),Zn(a,u,d)):[]}function v1(a,u){return Vs(a,u)}function w1(a,u,d){return qa(a,u,Je(d,2))}function S1(a,u){var d=a==null?0:a.length;if(d){var m=Vs(a,u);if(m<d&&ri(a[m],u))return m}return-1}function k1(a,u){return Vs(a,u,!0)}function C1(a,u,d){return qa(a,u,Je(d,2),!0)}function y1(a,u){var d=a==null?0:a.length;if(d){var m=Vs(a,u,!0)-1;if(ri(a[m],u))return m}return-1}function P1(a){return a&&a.length?vu(a):[]}function N1(a,u){return a&&a.length?vu(a,Je(u,2)):[]}function I1(a){var u=a==null?0:a.length;return u?Zn(a,1,u):[]}function T1(a,u,d){return a&&a.length?(u=d||u===t?1:nt(u),Zn(a,0,u<0?0:u)):[]}function L1(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Zn(a,u<0?0:u,m)):[]}function A1(a,u){return a&&a.length?Ms(a,Je(u,3),!1,!0):[]}function R1(a,u){return a&&a.length?Ms(a,Je(u,3)):[]}var E1=rt(function(a){return nl(an(a,1,Kt,!0))}),D1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),nl(an(a,1,Kt,!0),Je(u,2))}),V1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,nl(an(a,1,Kt,!0),t,u)});function M1(a){return a&&a.length?nl(a):[]}function O1(a,u){return a&&a.length?nl(a,Je(u,2)):[]}function F1(a,u){return u=typeof u=="function"?u:t,a&&a.length?nl(a,t,u):[]}function ao(a){if(!(a&&a.length))return[];var u=0;return a=Xi(a,function(d){if(Kt(d))return u=Xt(d.length,u),!0}),ya(u,function(d){return Ft(a,Sa(d))})}function sf(a,u){if(!(a&&a.length))return[];var d=ao(a);return u==null?d:Ft(d,function(m){return Mn(u,t,m)})}var U1=rt(function(a,u){return Kt(a)?Br(a,u):[]}),B1=rt(function(a){return Ka(Xi(a,Kt))}),H1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),Ka(Xi(a,Kt),Je(u,2))}),W1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,Ka(Xi(a,Kt),t,u)}),z1=rt(ao);function q1(a,u){return Cu(a||[],u||[],Ur)}function G1(a,u){return Cu(a||[],u||[],zr)}var K1=rt(function(a){var u=a.length,d=u>1?a[u-1]:t;return d=typeof d=="function"?(a.pop(),d):t,sf(a,d)});function af(a){var u=D(a);return u.__chain__=!0,u}function j1(a,u){return u(a),a}function Gs(a,u){return u(a)}var J1=Ai(function(a){var u=a.length,d=u?a[0]:0,m=this.__wrapped__,N=function(V){return Ea(V,a)};return u>1||this.__actions__.length||!(m instanceof ut)||!Ri(d)?this.thru(N):(m=m.slice(d,+d+(u?1:0)),m.__actions__.push({func:Gs,args:[N],thisArg:t}),new Yn(m,this.__chain__).thru(function(V){return u&&!V.length&&V.push(t),V}))});function Y1(){return af(this)}function Q1(){return new Yn(this.value(),this.__chain__)}function Z1(){this.__values__===t&&(this.__values__=Sf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function X1(){return this}function $1(a){for(var u,d=this;d instanceof Ls;){var m=xu(d);m.__index__=0,m.__values__=t,u?N.__wrapped__=m:u=m;var N=m;d=d.__wrapped__}return N.__wrapped__=a,u}function x1(){var a=this.__wrapped__;if(a instanceof ut){var u=a;return this.__actions__.length&&(u=new ut(this)),u=u.reverse(),u.__actions__.push({func:Gs,args:[so],thisArg:t}),new Yn(u,this.__chain__)}return this.thru(so)}function eb(){return ku(this.__wrapped__,this.__actions__)}var tb=Os(function(a,u,d){Pt.call(a,d)?++a[d]:Ti(a,d,1)});function nb(a,u,d){var m=xe(a)?Mo:jp;return d&&wn(a,u,d)&&(u=t),m(a,Je(u,3))}function ib(a,u){var d=xe(a)?Xi:ru;return d(a,Je(u,3))}var lb=Du(ef),rb=Du(tf);function sb(a,u){return an(Ks(a,u),1)}function ab(a,u){return an(Ks(a,u),ue)}function ob(a,u,d){return d=d===t?1:nt(d),an(Ks(a,u),d)}function of(a,u){var d=xe(a)?jn:tl;return d(a,Je(u,3))}function uf(a,u){var d=xe(a)?I_:lu;return d(a,Je(u,3))}var ub=Os(function(a,u,d){Pt.call(a,d)?a[d].push(u):Ti(a,d,[u])});function fb(a,u,d,m){a=Nn(a)?a:lr(a),d=d&&!m?nt(d):0;var N=a.length;return d<0&&(d=Xt(N+d,0)),Zs(a)?d<=N&&a.indexOf(u,d)>-1:!!N&&jl(a,u,d)>-1}var cb=rt(function(a,u,d){var m=-1,N=typeof u=="function",V=Nn(a)?oe(a.length):[];return tl(a,function(z){V[++m]=N?Mn(u,z,d):Hr(z,u,d)}),V}),db=Os(function(a,u,d){Ti(a,d,u)});function Ks(a,u){var d=xe(a)?Ft:cu;return d(a,Je(u,3))}function hb(a,u,d,m){return a==null?[]:(xe(u)||(u=u==null?[]:[u]),d=m?t:d,xe(d)||(d=d==null?[]:[d]),_u(a,u,d))}var gb=Os(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function _b(a,u,d){var m=xe(a)?va:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,tl)}function pb(a,u,d){var m=xe(a)?T_:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,lu)}function mb(a,u){var d=xe(a)?Xi:ru;return d(a,Ys(Je(u,3)))}function bb(a){var u=xe(a)?eu:fm;return u(a)}function vb(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=nt(u);var m=xe(a)?Wp:cm;return m(a,u)}function wb(a){var u=xe(a)?zp:hm;return u(a)}function Sb(a){if(a==null)return 0;if(Nn(a))return Zs(a)?Yl(a):a.length;var u=gn(a);return u==kt||u==Qt?a.size:Ua(a).length}function kb(a,u,d){var m=xe(a)?wa:gm;return d&&wn(a,u,d)&&(u=t),m(a,Je(u,3))}var Cb=rt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&wn(a,u[0],u[1])?u=[]:d>2&&wn(u[0],u[1],u[2])&&(u=[u[0]]),_u(a,an(u,1),[])}),js=ip||function(){return Gt.Date.now()};function yb(a,u){if(typeof u!="function")throw new Jn(s);return a=nt(a),function(){if(--a<1)return u.apply(this,arguments)}}function ff(a,u,d){return u=d?t:u,u=a&&u==null?a.length:u,Li(a,O,t,t,t,t,u)}function cf(a,u){var d;if(typeof u!="function")throw new Jn(s);return a=nt(a),function(){return--a>0&&(d=u.apply(this,arguments)),a<=1&&(u=t),d}}var oo=rt(function(a,u,d){var m=y;if(d.length){var N=xi(d,nr(oo));m|=A}return Li(a,m,u,d,N)}),df=rt(function(a,u,d){var m=y|C;if(d.length){var N=xi(d,nr(df));m|=A}return Li(u,m,a,d,N)});function hf(a,u,d){u=d?t:u;var m=Li(a,I,t,t,t,t,t,u);return m.placeholder=hf.placeholder,m}function gf(a,u,d){u=d?t:u;var m=Li(a,T,t,t,t,t,t,u);return m.placeholder=gf.placeholder,m}function _f(a,u,d){var m,N,V,z,j,X,ge=0,_e=!1,ve=!1,Re=!0;if(typeof a!="function")throw new Jn(s);u=$n(u)||0,Bt(d)&&(_e=!!d.leading,ve="maxWait"in d,V=ve?Xt($n(d.maxWait)||0,u):V,Re="trailing"in d?!!d.trailing:Re);function Be(jt){var si=m,Vi=N;return m=N=t,ge=jt,z=a.apply(Vi,si),z}function Ye(jt){return ge=jt,j=Kr(ot,u),_e?Be(jt):z}function it(jt){var si=jt-X,Vi=jt-ge,Vf=u-si;return ve?hn(Vf,V-Vi):Vf}function Qe(jt){var si=jt-X,Vi=jt-ge;return X===t||si>=u||si<0||ve&&Vi>=V}function ot(){var jt=js();if(Qe(jt))return ft(jt);j=Kr(ot,it(jt))}function ft(jt){return j=t,Re&&m?Be(jt):(m=N=t,z)}function Bn(){j!==t&&yu(j),ge=0,m=X=N=j=t}function Sn(){return j===t?z:ft(js())}function Hn(){var jt=js(),si=Qe(jt);if(m=arguments,N=this,X=jt,si){if(j===t)return Ye(X);if(ve)return yu(j),j=Kr(ot,u),Be(X)}return j===t&&(j=Kr(ot,u)),z}return Hn.cancel=Bn,Hn.flush=Sn,Hn}var Pb=rt(function(a,u){return iu(a,1,u)}),Nb=rt(function(a,u,d){return iu(a,$n(u)||0,d)});function Ib(a){return Li(a,F)}function Js(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Jn(s);var d=function(){var m=arguments,N=u?u.apply(this,m):m[0],V=d.cache;if(V.has(N))return V.get(N);var z=a.apply(this,m);return d.cache=V.set(N,z)||V,z};return d.cache=new(Js.Cache||Ii),d}Js.Cache=Ii;function Ys(a){if(typeof a!="function")throw new Jn(s);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function Tb(a){return cf(2,a)}var Lb=_m(function(a,u){u=u.length==1&&xe(u[0])?Ft(u[0],On(Je())):Ft(an(u,1),On(Je()));var d=u.length;return rt(function(m){for(var N=-1,V=hn(m.length,d);++N<V;)m[N]=u[N].call(this,m[N]);return Mn(a,this,m)})}),uo=rt(function(a,u){var d=xi(u,nr(uo));return Li(a,A,t,u,d)}),pf=rt(function(a,u){var d=xi(u,nr(pf));return Li(a,L,t,u,d)}),Ab=Ai(function(a,u){return Li(a,H,t,t,t,u)});function Rb(a,u){if(typeof a!="function")throw new Jn(s);return u=u===t?u:nt(u),rt(a,u)}function Eb(a,u){if(typeof a!="function")throw new Jn(s);return u=u==null?0:Xt(nt(u),0),rt(function(d){var m=d[u],N=ll(d,0,u);return m&&$i(N,m),Mn(a,this,N)})}function Db(a,u,d){var m=!0,N=!0;if(typeof a!="function")throw new Jn(s);return Bt(d)&&(m="leading"in d?!!d.leading:m,N="trailing"in d?!!d.trailing:N),_f(a,u,{leading:m,maxWait:u,trailing:N})}function Vb(a){return ff(a,1)}function Mb(a,u){return uo(Ja(u),a)}function Ob(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Fb(a){return Qn(a,b)}function Ub(a,u){return u=typeof u=="function"?u:t,Qn(a,b,u)}function Bb(a){return Qn(a,_|b)}function Hb(a,u){return u=typeof u=="function"?u:t,Qn(a,_|b,u)}function Wb(a,u){return u==null||nu(a,u,tn(u))}function ri(a,u){return a===u||a!==a&&u!==u}var zb=Hs(Ma),qb=Hs(function(a,u){return a>=u}),Ll=ou(function(){return arguments}())?ou:function(a){return zt(a)&&Pt.call(a,"callee")&&!Yo.call(a,"callee")},xe=oe.isArray,Gb=Zi?On(Zi):$p;function Nn(a){return a!=null&&Qs(a.length)&&!Ei(a)}function Kt(a){return zt(a)&&Nn(a)}function Kb(a){return a===!0||a===!1||zt(a)&&vn(a)==Ve}var rl=rp||So,jb=sn?On(sn):xp;function Jb(a){return zt(a)&&a.nodeType===1&&!jr(a)}function Yb(a){if(a==null)return!0;if(Nn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||rl(a)||ir(a)||Ll(a)))return!a.length;var u=gn(a);if(u==kt||u==Qt)return!a.size;if(Gr(a))return!Ua(a).length;for(var d in a)if(Pt.call(a,d))return!1;return!0}function Qb(a,u){return Wr(a,u)}function Zb(a,u,d){d=typeof d=="function"?d:t;var m=d?d(a,u):t;return m===t?Wr(a,u,t,d):!!m}function fo(a){if(!zt(a))return!1;var u=vn(a);return u==Ge||u==be||typeof a.message=="string"&&typeof a.name=="string"&&!jr(a)}function Xb(a){return typeof a=="number"&&Zo(a)}function Ei(a){if(!Bt(a))return!1;var u=vn(a);return u==St||u==Wt||u==ae||u==Bi}function mf(a){return typeof a=="number"&&a==nt(a)}function Qs(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=ee}function Bt(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function zt(a){return a!=null&&typeof a=="object"}var bf=Vn?On(Vn):tm;function $b(a,u){return a===u||Fa(a,u,eo(u))}function xb(a,u,d){return d=typeof d=="function"?d:t,Fa(a,u,eo(u),d)}function ev(a){return vf(a)&&a!=+a}function tv(a){if(Um(a))throw new Xe(r);return uu(a)}function nv(a){return a===null}function iv(a){return a==null}function vf(a){return typeof a=="number"||zt(a)&&vn(a)==Yt}function jr(a){if(!zt(a)||vn(a)!=un)return!1;var u=ks(a);if(u===null)return!0;var d=Pt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&bs.call(d)==x_}var co=ds?On(ds):nm;function lv(a){return mf(a)&&a>=-ee&&a<=ee}var wf=Do?On(Do):im;function Zs(a){return typeof a=="string"||!xe(a)&&zt(a)&&vn(a)==Rn}function Un(a){return typeof a=="symbol"||zt(a)&&vn(a)==Et}var ir=Vo?On(Vo):lm;function rv(a){return a===t}function sv(a){return zt(a)&&gn(a)==xt}function av(a){return zt(a)&&vn(a)==fn}var ov=Hs(Ba),uv=Hs(function(a,u){return a<=u});function Sf(a){if(!a)return[];if(Nn(a))return Zs(a)?ii(a):Pn(a);if(Dr&&a[Dr])return W_(a[Dr]());var u=gn(a),d=u==kt?Na:u==Qt?_s:lr;return d(a)}function Di(a){if(!a)return a===0?a:0;if(a=$n(a),a===ue||a===-ue){var u=a<0?-1:1;return u*Y}return a===a?a:0}function nt(a){var u=Di(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?Pl(nt(a),0,le):0}function $n(a){if(typeof a=="number")return a;if(Un(a))return Pe;if(Bt(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Bt(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Ho(a);var d=Hl.test(a);return d||Gi.test(a)?Dn(a.slice(2),d?2:8):gl.test(a)?Pe:+a}function Cf(a){return _i(a,In(a))}function fv(a){return a?Pl(nt(a),-ee,ee):a===0?a:0}function wt(a){return a==null?"":Fn(a)}var cv=er(function(a,u){if(Gr(u)||Nn(u)){_i(u,tn(u),a);return}for(var d in u)Pt.call(u,d)&&Ur(a,d,u[d])}),yf=er(function(a,u){_i(u,In(u),a)}),Xs=er(function(a,u,d,m){_i(u,In(u),a,m)}),dv=er(function(a,u,d,m){_i(u,tn(u),a,m)}),hv=Ai(Ea);function gv(a,u){var d=xl(a);return u==null?d:tu(d,u)}var _v=rt(function(a,u){a=Lt(a);var d=-1,m=u.length,N=m>2?u[2]:t;for(N&&wn(u[0],u[1],N)&&(m=1);++d<m;)for(var V=u[d],z=In(V),j=-1,X=z.length;++j<X;){var ge=z[j],_e=a[ge];(_e===t||ri(_e,Zl[ge])&&!Pt.call(a,ge))&&(a[ge]=V[ge])}return a}),pv=rt(function(a){return a.push(t,Hu),Mn(Pf,t,a)});function mv(a,u){return Oo(a,Je(u,3),gi)}function bv(a,u){return Oo(a,Je(u,3),Va)}function vv(a,u){return a==null?a:Da(a,Je(u,3),In)}function wv(a,u){return a==null?a:su(a,Je(u,3),In)}function Sv(a,u){return a&&gi(a,Je(u,3))}function kv(a,u){return a&&Va(a,Je(u,3))}function Cv(a){return a==null?[]:Es(a,tn(a))}function yv(a){return a==null?[]:Es(a,In(a))}function ho(a,u,d){var m=a==null?t:Nl(a,u);return m===t?d:m}function Pv(a,u){return a!=null&&qu(a,u,Yp)}function go(a,u){return a!=null&&qu(a,u,Qp)}var Nv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=vs.call(u)),a[u]=d},po(Tn)),Iv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=vs.call(u)),Pt.call(a,u)?a[u].push(d):a[u]=[d]},Je),Tv=rt(Hr);function tn(a){return Nn(a)?xo(a):Ua(a)}function In(a){return Nn(a)?xo(a,!0):rm(a)}function Lv(a,u){var d={};return u=Je(u,3),gi(a,function(m,N,V){Ti(d,u(m,N,V),m)}),d}function Av(a,u){var d={};return u=Je(u,3),gi(a,function(m,N,V){Ti(d,N,u(m,N,V))}),d}var Rv=er(function(a,u,d){Ds(a,u,d)}),Pf=er(function(a,u,d,m){Ds(a,u,d,m)}),Ev=Ai(function(a,u){var d={};if(a==null)return d;var m=!1;u=Ft(u,function(V){return V=il(V,a),m||(m=V.length>1),V}),_i(a,$a(a),d),m&&(d=Qn(d,_|p|b,Nm));for(var N=u.length;N--;)Ga(d,u[N]);return d});function Dv(a,u){return Nf(a,Ys(Je(u)))}var Vv=Ai(function(a,u){return a==null?{}:am(a,u)});function Nf(a,u){if(a==null)return{};var d=Ft($a(a),function(m){return[m]});return u=Je(u),pu(a,d,function(m,N){return u(m,N[0])})}function Mv(a,u,d){u=il(u,a);var m=-1,N=u.length;for(N||(N=1,a=t);++m<N;){var V=a==null?t:a[pi(u[m])];V===t&&(m=N,V=d),a=Ei(V)?V.call(a):V}return a}function Ov(a,u,d){return a==null?a:zr(a,u,d)}function Fv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:zr(a,u,d,m)}var If=Uu(tn),Tf=Uu(In);function Uv(a,u,d){var m=xe(a),N=m||rl(a)||ir(a);if(u=Je(u,4),d==null){var V=a&&a.constructor;N?d=m?new V:[]:Bt(a)?d=Ei(V)?xl(ks(a)):{}:d={}}return(N?jn:gi)(a,function(z,j,X){return u(d,z,j,X)}),d}function Bv(a,u){return a==null?!0:Ga(a,u)}function Hv(a,u,d){return a==null?a:Su(a,u,Ja(d))}function Wv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Su(a,u,Ja(d),m)}function lr(a){return a==null?[]:Pa(a,tn(a))}function zv(a){return a==null?[]:Pa(a,In(a))}function qv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=$n(d),d=d===d?d:0),u!==t&&(u=$n(u),u=u===u?u:0),Pl($n(a),u,d)}function Gv(a,u,d){return u=Di(u),d===t?(d=u,u=0):d=Di(d),a=$n(a),Zp(a,u,d)}function Kv(a,u,d){if(d&&typeof d!="boolean"&&wn(a,u,d)&&(u=d=t),d===t&&(typeof u=="boolean"?(d=u,u=t):typeof a=="boolean"&&(d=a,a=t)),a===t&&u===t?(a=0,u=1):(a=Di(a),u===t?(u=a,a=0):u=Di(u)),a>u){var m=a;a=u,u=m}if(d||a%1||u%1){var N=Xo();return hn(a+N*(u-a+en("1e-"+((N+"").length-1))),u)}return Wa(a,u)}var jv=tr(function(a,u,d){return u=u.toLowerCase(),a+(d?Lf(u):u)});function Lf(a){return _o(wt(a).toLowerCase())}function Af(a){return a=wt(a),a&&a.replace(pl,O_).replace(Oe,"")}function Jv(a,u,d){a=wt(a),u=Fn(u);var m=a.length;d=d===t?m:Pl(nt(d),0,m);var N=d;return d-=u.length,d>=0&&a.slice(d,N)==u}function Yv(a){return a=wt(a),a&&Hi.test(a)?a.replace(ni,F_):a}function Qv(a){return a=wt(a),a&&Sr.test(a)?a.replace(dl,"\\$&"):a}var Zv=tr(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),Xv=tr(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),$v=Eu("toLowerCase");function xv(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;if(!u||m>=u)return a;var N=(u-m)/2;return Bs(Ns(N),d)+a+Bs(Ps(N),d)}function e0(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;return u&&m<u?a+Bs(u-m,d):a}function t0(a,u,d){a=wt(a),u=nt(u);var m=u?Yl(a):0;return u&&m<u?Bs(u-m,d)+a:a}function n0(a,u,d){return d||u==null?u=0:u&&(u=+u),up(wt(a).replace(yi,""),u||0)}function i0(a,u,d){return(d?wn(a,u,d):u===t)?u=1:u=nt(u),za(wt(a),u)}function l0(){var a=arguments,u=wt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var r0=tr(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function s0(a,u,d){return d&&typeof d!="number"&&wn(a,u,d)&&(u=d=t),d=d===t?le:d>>>0,d?(a=wt(a),a&&(typeof u=="string"||u!=null&&!co(u))&&(u=Fn(u),!u&&Jl(a))?ll(ii(a),0,d):a.split(u,d)):[]}var a0=tr(function(a,u,d){return a+(d?" ":"")+_o(u)});function o0(a,u,d){return a=wt(a),d=d==null?0:Pl(nt(d),0,a.length),u=Fn(u),a.slice(d,d+u.length)==u}function u0(a,u,d){var m=D.templateSettings;d&&wn(a,u,d)&&(u=t),a=wt(a),u=Xs({},u,m,Bu);var N=Xs({},u.imports,m.imports,Bu),V=tn(N),z=Pa(N,V),j,X,ge=0,_e=u.interpolate||di,ve="__p += '",Re=Ia((u.escape||di).source+"|"+_e.source+"|"+(_e===Ol?yn:di).source+"|"+(u.evaluate||di).source+"|$","g"),Be="//# sourceURL="+(Pt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ji+"]")+`
|
|
36
|
-
`;
|
|
35
|
+
`)}function S1(s){return tt(s)||Vl(s)||!!(Xo&&s&&s[Xo])}function Vi(s,u){var g=typeof s;return u=u==null?ie:u,!!u&&(g=="number"||g!="symbol"&&Ki.test(s))&&s>-1&&s%1==0&&s<u}function Cn(s,u,g){if(!Wt(g))return!1;var k=typeof u;return(k=="number"?Ln(g)&&Vi(u,g.length):k=="string"&&u in g)?li(g[u],s):!1}function so(s,u){if(tt(s))return!1;var g=typeof s;return g=="number"||g=="symbol"||g=="boolean"||s==null||Fn(s)?!0:yt.test(s)||!Tt.test(s)||u!=null&&s in Vt(u)}function C1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function oo(s){var u=Wa(s),g=M[u];if(typeof g!="function"||!(u in dt.prototype))return!1;if(s===g)return!0;var k=lo(g);return!!k&&s===k[0]}function y1(s){return!!jo&&jo in s}var P1=ma?Mi:No;function Wr(s){var u=s&&s.constructor,g=typeof u=="function"&&u.prototype||$l;return s===g}function ju(s){return s===s&&!Wt(s)}function Yu(s,u){return function(g){return g==null?!1:g[s]===u&&(u!==t||s in Vt(g))}}function N1(s){var u=ja(s,function(k){return g.size===h&&g.clear(),k}),g=u.cache;return u}function I1(s,u){var g=s[1],k=u[1],I=g|k,F=I<(C|y|V),G=k==V&&g==A||k==V&&g==U&&s[7].length<=u[8]||k==(V|U)&&u[7].length<=u[8]&&g==A;if(!(F||G))return s;k&C&&(s[2]=u[2],I|=g&C?0:P);var J=u[3];if(J){var x=s[3];s[3]=x?Au(x,J,u[4]):J,s[4]=x?el(s[3],d):u[4]}return J=u[5],J&&(x=s[5],s[5]=x?Ru(x,J,u[6]):J,s[6]=x?el(s[5],d):u[6]),J=u[7],J&&(s[7]=J),k&V&&(s[8]=s[8]==null?u[8]:cn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=I,s}function T1(s){var u=[];if(s!=null)for(var g in Vt(s))u.push(g);return u}function L1(s){return va.call(s)}function Qu(s,u,g){return u=$t(u===t?s.length-1:u,0),function(){for(var k=arguments,I=-1,F=$t(k.length-u,0),G=ue(F);++I<F;)G[I]=k[u+I];I=-1;for(var J=ue(u+1);++I<u;)J[I]=k[I];return J[u]=g(G),tn(s,this,J)}}function Zu(s,u){return u.length<2?s:Rl(s,Zn(u,0,-1))}function A1(s,u){for(var g=s.length,k=cn(u.length,g),I=Tn(s);k--;){var F=u[k];s[k]=Vi(F,g)?I[F]:t}return s}function uo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var Xu=xu(wu),zr=Kp||function(s,u){return Be.setTimeout(s,u)},fo=xu(xm);function $u(s,u,g){var k=u+"";return fo(s,k1(k,R1(b1(k),g)))}function xu(s){var u=0,g=0;return function(){var k=Qp(),I=ne-(k-g);if(g=k,I>0){if(++u>=X)return arguments[0]}else u=0;return s.apply(t,arguments)}}function qa(s,u){var g=-1,k=s.length,I=k-1;for(u=u===t?k:u;++g<u;){var F=Js(g,I),G=s[F];s[F]=s[g],s[g]=G}return s.length=u,s}var ef=N1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(sn,function(g,k,I,F){u.push(I?F.replace(zl,"$1"):k||g)}),u});function _i(s){if(typeof s=="string"||Fn(s))return s;var u=s+"";return u=="0"&&1/s==-oe?"-0":u}function Dl(s){if(s!=null){try{return ba.call(s)}catch{}try{return s+""}catch{}}return""}function R1(s,u){return Dt(de,function(g){var k="_."+g[0];u&g[1]&&!ha(s,k)&&s.push(k)}),s.sort()}function tf(s){if(s instanceof dt)return s.clone();var u=new Yn(s.__wrapped__,s.__chain__);return u.__actions__=Tn(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function E1(s,u,g){(g?Cn(s,u,g):u===t)?u=1:u=$t(it(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var I=0,F=0,G=ue(Pa(k/u));I<k;)G[F++]=Zn(s,I,I+=u);return G}function D1(s){for(var u=-1,g=s==null?0:s.length,k=0,I=[];++u<g;){var F=s[u];F&&(I[k++]=F)}return I}function V1(){var s=arguments.length;if(!s)return[];for(var u=ue(s-1),g=arguments[0],k=s;k--;)u[k-1]=arguments[k];return xi(tt(g)?Tn(g):[g],on(u,1))}var M1=rt(function(s,u){return Jt(s)?Or(s,on(u,1,Jt,!0)):[]}),O1=rt(function(s,u){var g=Xn(u);return Jt(g)&&(g=t),Jt(s)?Or(s,on(u,1,Jt,!0),Ye(g,2)):[]}),F1=rt(function(s,u){var g=Xn(u);return Jt(g)&&(g=t),Jt(s)?Or(s,on(u,1,Jt,!0),t,g):[]});function U1(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:it(u),Zn(s,u<0?0:u,k)):[]}function B1(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:it(u),u=k-u,Zn(s,0,u<0?0:u)):[]}function H1(s,u){return s&&s.length?Ma(s,Ye(u,3),!0,!0):[]}function W1(s,u){return s&&s.length?Ma(s,Ye(u,3),!0):[]}function z1(s,u,g,k){var I=s==null?0:s.length;return I?(g&&typeof g!="number"&&Cn(s,u,g)&&(g=0,k=I),Vm(s,u,g,k)):[]}function nf(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var I=g==null?0:it(g);return I<0&&(I=$t(k+I,0)),ga(s,Ye(u,3),I)}function lf(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var I=k-1;return g!==t&&(I=it(g),I=g<0?$t(k+I,0):cn(I,k-1)),ga(s,Ye(u,3),I,!0)}function rf(s){var u=s==null?0:s.length;return u?on(s,1):[]}function q1(s){var u=s==null?0:s.length;return u?on(s,oe):[]}function G1(s,u){var g=s==null?0:s.length;return g?(u=u===t?1:it(u),on(s,u)):[]}function K1(s){for(var u=-1,g=s==null?0:s.length,k={};++u<g;){var I=s[u];k[I[0]]=I[1]}return k}function af(s){return s&&s.length?s[0]:t}function J1(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var I=g==null?0:it(g);return I<0&&(I=$t(k+I,0)),Yl(s,u,I)}function j1(s){var u=s==null?0:s.length;return u?Zn(s,0,-1):[]}var Y1=rt(function(s){var u=Ht(s,Xs);return u.length&&u[0]===s[0]?Ws(u):[]}),Q1=rt(function(s){var u=Xn(s),g=Ht(s,Xs);return u===Xn(g)?u=t:g.pop(),g.length&&g[0]===s[0]?Ws(g,Ye(u,2)):[]}),Z1=rt(function(s){var u=Xn(s),g=Ht(s,Xs);return u=typeof u=="function"?u:t,u&&g.pop(),g.length&&g[0]===s[0]?Ws(g,t,u):[]});function X1(s,u){return s==null?"":jp.call(s,u)}function Xn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function $1(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var I=k;return g!==t&&(I=it(g),I=I<0?$t(k+I,0):cn(I,k-1)),u===u?Rp(s,u,I):ga(s,Bo,I,!0)}function x1(s,u){return s&&s.length?pu(s,it(u)):t}var eb=rt(sf);function sf(s,u){return s&&s.length&&u&&u.length?Ks(s,u):s}function tb(s,u,g){return s&&s.length&&u&&u.length?Ks(s,u,Ye(g,2)):s}function nb(s,u,g){return s&&s.length&&u&&u.length?Ks(s,u,t,g):s}var ib=Di(function(s,u){var g=s==null?0:s.length,k=Fs(s,u);return vu(s,Ht(u,function(I){return Vi(I,g)?+I:I}).sort(Lu)),k});function lb(s,u){var g=[];if(!(s&&s.length))return g;var k=-1,I=[],F=s.length;for(u=Ye(u,3);++k<F;){var G=s[k];u(G,k,s)&&(g.push(G),I.push(k))}return vu(s,I),g}function co(s){return s==null?s:Xp.call(s)}function rb(s,u,g){var k=s==null?0:s.length;return k?(g&&typeof g!="number"&&Cn(s,u,g)?(u=0,g=k):(u=u==null?0:it(u),g=g===t?k:it(g)),Zn(s,u,g)):[]}function ab(s,u){return Va(s,u)}function sb(s,u,g){return Ys(s,u,Ye(g,2))}function ob(s,u){var g=s==null?0:s.length;if(g){var k=Va(s,u);if(k<g&&li(s[k],u))return k}return-1}function ub(s,u){return Va(s,u,!0)}function fb(s,u,g){return Ys(s,u,Ye(g,2),!0)}function cb(s,u){var g=s==null?0:s.length;if(g){var k=Va(s,u,!0)-1;if(li(s[k],u))return k}return-1}function db(s){return s&&s.length?ku(s):[]}function hb(s,u){return s&&s.length?ku(s,Ye(u,2)):[]}function gb(s){var u=s==null?0:s.length;return u?Zn(s,1,u):[]}function _b(s,u,g){return s&&s.length?(u=g||u===t?1:it(u),Zn(s,0,u<0?0:u)):[]}function pb(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:it(u),u=k-u,Zn(s,u<0?0:u,k)):[]}function mb(s,u){return s&&s.length?Ma(s,Ye(u,3),!1,!0):[]}function bb(s,u){return s&&s.length?Ma(s,Ye(u,3)):[]}var vb=rt(function(s){return il(on(s,1,Jt,!0))}),wb=rt(function(s){var u=Xn(s);return Jt(u)&&(u=t),il(on(s,1,Jt,!0),Ye(u,2))}),kb=rt(function(s){var u=Xn(s);return u=typeof u=="function"?u:t,il(on(s,1,Jt,!0),t,u)});function Sb(s){return s&&s.length?il(s):[]}function Cb(s,u){return s&&s.length?il(s,Ye(u,2)):[]}function yb(s,u){return u=typeof u=="function"?u:t,s&&s.length?il(s,t,u):[]}function ho(s){if(!(s&&s.length))return[];var u=0;return s=$i(s,function(g){if(Jt(g))return u=$t(g.length,u),!0}),Ls(u,function(g){return Ht(s,Ns(g))})}function of(s,u){if(!(s&&s.length))return[];var g=ho(s);return u==null?g:Ht(g,function(k){return tn(u,t,k)})}var Pb=rt(function(s,u){return Jt(s)?Or(s,u):[]}),Nb=rt(function(s){return Zs($i(s,Jt))}),Ib=rt(function(s){var u=Xn(s);return Jt(u)&&(u=t),Zs($i(s,Jt),Ye(u,2))}),Tb=rt(function(s){var u=Xn(s);return u=typeof u=="function"?u:t,Zs($i(s,Jt),t,u)}),Lb=rt(ho);function Ab(s,u){return Pu(s||[],u||[],Mr)}function Rb(s,u){return Pu(s||[],u||[],Br)}var Eb=rt(function(s){var u=s.length,g=u>1?s[u-1]:t;return g=typeof g=="function"?(s.pop(),g):t,of(s,g)});function uf(s){var u=M(s);return u.__chain__=!0,u}function Db(s,u){return u(s),s}function Ga(s,u){return u(s)}var Vb=Di(function(s){var u=s.length,g=u?s[0]:0,k=this.__wrapped__,I=function(F){return Fs(F,s)};return u>1||this.__actions__.length||!(k instanceof dt)||!Vi(g)?this.thru(I):(k=k.slice(g,+g+(u?1:0)),k.__actions__.push({func:Ga,args:[I],thisArg:t}),new Yn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function Mb(){return uf(this)}function Ob(){return new Yn(this.value(),this.__chain__)}function Fb(){this.__values__===t&&(this.__values__=Cf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Ub(){return this}function Bb(s){for(var u,g=this;g instanceof La;){var k=tf(g);k.__index__=0,k.__values__=t,u?I.__wrapped__=k:u=k;var I=k;g=g.__wrapped__}return I.__wrapped__=s,u}function Hb(){var s=this.__wrapped__;if(s instanceof dt){var u=s;return this.__actions__.length&&(u=new dt(this)),u=u.reverse(),u.__actions__.push({func:Ga,args:[co],thisArg:t}),new Yn(u,this.__chain__)}return this.thru(co)}function Wb(){return yu(this.__wrapped__,this.__actions__)}var zb=Oa(function(s,u,g){Nt.call(s,g)?++s[g]:Ri(s,g,1)});function qb(s,u,g){var k=tt(s)?da:Dm;return g&&Cn(s,u,g)&&(u=t),k(s,Ye(u,3))}function Gb(s,u){var g=tt(s)?$i:su;return g(s,Ye(u,3))}var Kb=Mu(nf),Jb=Mu(lf);function jb(s,u){return on(Ka(s,u),1)}function Yb(s,u){return on(Ka(s,u),oe)}function Qb(s,u,g){return g=g===t?1:it(g),on(Ka(s,u),g)}function ff(s,u){var g=tt(s)?Dt:nl;return g(s,Ye(u,3))}function cf(s,u){var g=tt(s)?Jn:au;return g(s,Ye(u,3))}var Zb=Oa(function(s,u,g){Nt.call(s,g)?s[g].push(u):Ri(s,g,[u])});function Xb(s,u,g,k){s=Ln(s)?s:ar(s),g=g&&!k?it(g):0;var I=s.length;return g<0&&(g=$t(I+g,0)),Za(s)?g<=I&&s.indexOf(u,g)>-1:!!I&&Yl(s,u,g)>-1}var $b=rt(function(s,u,g){var k=-1,I=typeof u=="function",F=Ln(s)?ue(s.length):[];return nl(s,function(G){F[++k]=I?tn(u,G,g):Fr(G,u,g)}),F}),xb=Oa(function(s,u,g){Ri(s,g,u)});function Ka(s,u){var g=tt(s)?Ht:hu;return g(s,Ye(u,3))}function ev(s,u,g,k){return s==null?[]:(tt(u)||(u=u==null?[]:[u]),g=k?t:g,tt(g)||(g=g==null?[]:[g]),mu(s,u,g))}var tv=Oa(function(s,u,g){s[g?0:1].push(u)},function(){return[[],[]]});function nv(s,u,g){var k=tt(s)?ys:Wo,I=arguments.length<3;return k(s,Ye(u,4),g,I,nl)}function iv(s,u,g){var k=tt(s)?_p:Wo,I=arguments.length<3;return k(s,Ye(u,4),g,I,au)}function lv(s,u){var g=tt(s)?$i:su;return g(s,Ya(Ye(u,3)))}function rv(s){var u=tt(s)?nu:Xm;return u(s)}function av(s,u,g){(g?Cn(s,u,g):u===t)?u=1:u=it(u);var k=tt(s)?Tm:$m;return k(s,u)}function sv(s){var u=tt(s)?Lm:e1;return u(s)}function ov(s){if(s==null)return 0;if(Ln(s))return Za(s)?Zl(s):s.length;var u=dn(s);return u==gt||u==an?s.size:qs(s).length}function uv(s,u,g){var k=tt(s)?Ps:t1;return g&&Cn(s,u,g)&&(u=t),k(s,Ye(u,3))}var fv=rt(function(s,u){if(s==null)return[];var g=u.length;return g>1&&Cn(s,u[0],u[1])?u=[]:g>2&&Cn(u[0],u[1],u[2])&&(u=[u[0]]),mu(s,on(u,1),[])}),Ja=Gp||function(){return Be.Date.now()};function cv(s,u){if(typeof u!="function")throw new jn(a);return s=it(s),function(){if(--s<1)return u.apply(this,arguments)}}function df(s,u,g){return u=g?t:u,u=s&&u==null?s.length:u,Ei(s,V,t,t,t,t,u)}function hf(s,u){var g;if(typeof u!="function")throw new jn(a);return s=it(s),function(){return--s>0&&(g=u.apply(this,arguments)),s<=1&&(u=t),g}}var go=rt(function(s,u,g){var k=C;if(g.length){var I=el(g,lr(go));k|=D}return Ei(s,k,u,g,I)}),gf=rt(function(s,u,g){var k=C|y;if(g.length){var I=el(g,lr(gf));k|=D}return Ei(u,k,s,g,I)});function _f(s,u,g){u=g?t:u;var k=Ei(s,A,t,t,t,t,t,u);return k.placeholder=_f.placeholder,k}function pf(s,u,g){u=g?t:u;var k=Ei(s,N,t,t,t,t,t,u);return k.placeholder=pf.placeholder,k}function mf(s,u,g){var k,I,F,G,J,x,pe=0,me=!1,Ce=!1,Ve=!0;if(typeof s!="function")throw new jn(a);u=$n(u)||0,Wt(g)&&(me=!!g.leading,Ce="maxWait"in g,F=Ce?$t($n(g.maxWait)||0,u):F,Ve="trailing"in g?!!g.trailing:Ve);function Ke(jt){var ri=k,Fi=I;return k=I=t,pe=jt,G=s.apply(Fi,ri),G}function Qe(jt){return pe=jt,J=zr(ot,u),me?Ke(jt):G}function lt(jt){var ri=jt-x,Fi=jt-pe,Of=u-ri;return Ce?cn(Of,F-Fi):Of}function Ze(jt){var ri=jt-x,Fi=jt-pe;return x===t||ri>=u||ri<0||Ce&&Fi>=F}function ot(){var jt=Ja();if(Ze(jt))return ht(jt);J=zr(ot,lt(jt))}function ht(jt){return J=t,Ve&&k?Ke(jt):(k=I=t,G)}function Un(){J!==t&&Nu(J),pe=0,k=x=I=J=t}function yn(){return J===t?G:ht(Ja())}function Bn(){var jt=Ja(),ri=Ze(jt);if(k=arguments,I=this,x=jt,ri){if(J===t)return Qe(x);if(Ce)return Nu(J),J=zr(ot,u),Ke(x)}return J===t&&(J=zr(ot,u)),G}return Bn.cancel=Un,Bn.flush=yn,Bn}var dv=rt(function(s,u){return ru(s,1,u)}),hv=rt(function(s,u,g){return ru(s,$n(u)||0,g)});function gv(s){return Ei(s,O)}function ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new jn(a);var g=function(){var k=arguments,I=u?u.apply(this,k):k[0],F=g.cache;if(F.has(I))return F.get(I);var G=s.apply(this,k);return g.cache=F.set(I,G)||F,G};return g.cache=new(ja.Cache||Ai),g}ja.Cache=Ai;function Ya(s){if(typeof s!="function")throw new jn(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function _v(s){return hf(2,s)}var pv=n1(function(s,u){u=u.length==1&&tt(u[0])?Ht(u[0],Mn(Ye())):Ht(on(u,1),Mn(Ye()));var g=u.length;return rt(function(k){for(var I=-1,F=cn(k.length,g);++I<F;)k[I]=u[I].call(this,k[I]);return tn(s,this,k)})}),_o=rt(function(s,u){var g=el(u,lr(_o));return Ei(s,D,t,u,g)}),bf=rt(function(s,u){var g=el(u,lr(bf));return Ei(s,E,t,u,g)}),mv=Di(function(s,u){return Ei(s,U,t,t,t,u)});function bv(s,u){if(typeof s!="function")throw new jn(a);return u=u===t?u:it(u),rt(s,u)}function vv(s,u){if(typeof s!="function")throw new jn(a);return u=u==null?0:$t(it(u),0),rt(function(g){var k=g[u],I=rl(g,0,u);return k&&xi(I,k),tn(s,this,I)})}function wv(s,u,g){var k=!0,I=!0;if(typeof s!="function")throw new jn(a);return Wt(g)&&(k="leading"in g?!!g.leading:k,I="trailing"in g?!!g.trailing:I),mf(s,u,{leading:k,maxWait:u,trailing:I})}function kv(s){return df(s,1)}function Sv(s,u){return _o($s(u),s)}function Cv(){if(!arguments.length)return[];var s=arguments[0];return tt(s)?s:[s]}function yv(s){return Qn(s,b)}function Pv(s,u){return u=typeof u=="function"?u:t,Qn(s,b,u)}function Nv(s){return Qn(s,_|b)}function Iv(s,u){return u=typeof u=="function"?u:t,Qn(s,_|b,u)}function Tv(s,u){return u==null||lu(s,u,nn(u))}function li(s,u){return s===u||s!==s&&u!==u}var Lv=Ha(Hs),Av=Ha(function(s,u){return s>=u}),Vl=fu(function(){return arguments}())?fu:function(s){return Gt(s)&&Nt.call(s,"callee")&&!Zo.call(s,"callee")},tt=ue.isArray,Rv=Xi?Mn(Xi):Bm;function Ln(s){return s!=null&&Qa(s.length)&&!Mi(s)}function Jt(s){return Gt(s)&&Ln(s)}function Ev(s){return s===!0||s===!1||Gt(s)&&Sn(s)==We}var al=Jp||No,Dv=Jl?Mn(Jl):Hm;function Vv(s){return Gt(s)&&s.nodeType===1&&!qr(s)}function Mv(s){if(s==null)return!0;if(Ln(s)&&(tt(s)||typeof s=="string"||typeof s.splice=="function"||al(s)||rr(s)||Vl(s)))return!s.length;var u=dn(s);if(u==gt||u==an)return!s.size;if(Wr(s))return!qs(s).length;for(var g in s)if(Nt.call(s,g))return!1;return!0}function Ov(s,u){return Ur(s,u)}function Fv(s,u,g){g=typeof g=="function"?g:t;var k=g?g(s,u):t;return k===t?Ur(s,u,t,g):!!k}function po(s){if(!Gt(s))return!1;var u=Sn(s);return u==De||u==_e||typeof s.message=="string"&&typeof s.name=="string"&&!qr(s)}function Uv(s){return typeof s=="number"&&$o(s)}function Mi(s){if(!Wt(s))return!1;var u=Sn(s);return u==et||u==Rt||u==te||u==Nn}function vf(s){return typeof s=="number"&&s==it(s)}function Qa(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=ie}function Wt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Gt(s){return s!=null&&typeof s=="object"}var wf=Pl?Mn(Pl):zm;function Bv(s,u){return s===u||zs(s,u,ro(u))}function Hv(s,u,g){return g=typeof g=="function"?g:t,zs(s,u,ro(u),g)}function Wv(s){return kf(s)&&s!=+s}function zv(s){if(P1(s))throw new xe(r);return cu(s)}function qv(s){return s===null}function Gv(s){return s==null}function kf(s){return typeof s=="number"||Gt(s)&&Sn(s)==Kt}function qr(s){if(!Gt(s)||Sn(s)!=Et)return!1;var u=Sa(s);if(u===null)return!0;var g=Nt.call(u,"constructor")&&u.constructor;return typeof g=="function"&&g instanceof g&&ba.call(g)==Hp}var mo=Ss?Mn(Ss):qm;function Kv(s){return vf(s)&&s>=-ie&&s<=ie}var Sf=jl?Mn(jl):Gm;function Za(s){return typeof s=="string"||!tt(s)&&Gt(s)&&Sn(s)==In}function Fn(s){return typeof s=="symbol"||Gt(s)&&Sn(s)==It}var rr=ca?Mn(ca):Km;function Jv(s){return s===t}function jv(s){return Gt(s)&&dn(s)==ti}function Yv(s){return Gt(s)&&Sn(s)==mn}var Qv=Ha(Gs),Zv=Ha(function(s,u){return s<=u});function Cf(s){if(!s)return[];if(Ln(s))return Za(s)?ni(s):Tn(s);if(Ar&&s[Ar])return Tp(s[Ar]());var u=dn(s),g=u==gt?Rs:u==an?_a:ar;return g(s)}function Oi(s){if(!s)return s===0?s:0;if(s=$n(s),s===oe||s===-oe){var u=s<0?-1:1;return u*j}return s===s?s:0}function it(s){var u=Oi(s),g=u%1;return u===u?g?u-g:u:0}function yf(s){return s?Al(it(s),0,re):0}function $n(s){if(typeof s=="number")return s;if(Fn(s))return Le;if(Wt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Wt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=zo(s);var g=wl.test(s);return g||vr.test(s)?Ir(s.slice(2),g?2:8):vl.test(s)?Le:+s}function Pf(s){return gi(s,An(s))}function Xv(s){return s?Al(it(s),-ie,ie):s===0?s:0}function Ct(s){return s==null?"":On(s)}var $v=nr(function(s,u){if(Wr(u)||Ln(u)){gi(u,nn(u),s);return}for(var g in u)Nt.call(u,g)&&Mr(s,g,u[g])}),Nf=nr(function(s,u){gi(u,An(u),s)}),Xa=nr(function(s,u,g,k){gi(u,An(u),s,k)}),xv=nr(function(s,u,g,k){gi(u,nn(u),s,k)}),e0=Di(Fs);function t0(s,u){var g=tr(s);return u==null?g:iu(g,u)}var n0=rt(function(s,u){s=Vt(s);var g=-1,k=u.length,I=k>2?u[2]:t;for(I&&Cn(u[0],u[1],I)&&(k=1);++g<k;)for(var F=u[g],G=An(F),J=-1,x=G.length;++J<x;){var pe=G[J],me=s[pe];(me===t||li(me,$l[pe])&&!Nt.call(s,pe))&&(s[pe]=F[pe])}return s}),i0=rt(function(s){return s.push(t,zu),tn(If,t,s)});function l0(s,u){return Uo(s,Ye(u,3),hi)}function r0(s,u){return Uo(s,Ye(u,3),Bs)}function a0(s,u){return s==null?s:Us(s,Ye(u,3),An)}function s0(s,u){return s==null?s:ou(s,Ye(u,3),An)}function o0(s,u){return s&&hi(s,Ye(u,3))}function u0(s,u){return s&&Bs(s,Ye(u,3))}function f0(s){return s==null?[]:Ea(s,nn(s))}function c0(s){return s==null?[]:Ea(s,An(s))}function bo(s,u,g){var k=s==null?t:Rl(s,u);return k===t?g:k}function d0(s,u){return s!=null&&Ku(s,u,Mm)}function vo(s,u){return s!=null&&Ku(s,u,Om)}var h0=Fu(function(s,u,g){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),s[u]=g},ko(Rn)),g0=Fu(function(s,u,g){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),Nt.call(s,u)?s[u].push(g):s[u]=[g]},Ye),_0=rt(Fr);function nn(s){return Ln(s)?tu(s):qs(s)}function An(s){return Ln(s)?tu(s,!0):Jm(s)}function p0(s,u){var g={};return u=Ye(u,3),hi(s,function(k,I,F){Ri(g,u(k,I,F),k)}),g}function m0(s,u){var g={};return u=Ye(u,3),hi(s,function(k,I,F){Ri(g,I,u(k,I,F))}),g}var b0=nr(function(s,u,g){Da(s,u,g)}),If=nr(function(s,u,g,k){Da(s,u,g,k)}),v0=Di(function(s,u){var g={};if(s==null)return g;var k=!1;u=Ht(u,function(F){return F=ll(F,s),k||(k=F.length>1),F}),gi(s,io(s),g),k&&(g=Qn(g,_|p|b,h1));for(var I=u.length;I--;)Qs(g,u[I]);return g});function w0(s,u){return Tf(s,Ya(Ye(u)))}var k0=Di(function(s,u){return s==null?{}:Ym(s,u)});function Tf(s,u){if(s==null)return{};var g=Ht(io(s),function(k){return[k]});return u=Ye(u),bu(s,g,function(k,I){return u(k,I[0])})}function S0(s,u,g){u=ll(u,s);var k=-1,I=u.length;for(I||(I=1,s=t);++k<I;){var F=s==null?t:s[_i(u[k])];F===t&&(k=I,F=g),s=Mi(F)?F.call(s):F}return s}function C0(s,u,g){return s==null?s:Br(s,u,g)}function y0(s,u,g,k){return k=typeof k=="function"?k:t,s==null?s:Br(s,u,g,k)}var Lf=Hu(nn),Af=Hu(An);function P0(s,u,g){var k=tt(s),I=k||al(s)||rr(s);if(u=Ye(u,4),g==null){var F=s&&s.constructor;I?g=k?new F:[]:Wt(s)?g=Mi(F)?tr(Sa(s)):{}:g={}}return(I?Dt:hi)(s,function(G,J,x){return u(g,G,J,x)}),g}function N0(s,u){return s==null?!0:Qs(s,u)}function I0(s,u,g){return s==null?s:Cu(s,u,$s(g))}function T0(s,u,g,k){return k=typeof k=="function"?k:t,s==null?s:Cu(s,u,$s(g),k)}function ar(s){return s==null?[]:As(s,nn(s))}function L0(s){return s==null?[]:As(s,An(s))}function A0(s,u,g){return g===t&&(g=u,u=t),g!==t&&(g=$n(g),g=g===g?g:0),u!==t&&(u=$n(u),u=u===u?u:0),Al($n(s),u,g)}function R0(s,u,g){return u=Oi(u),g===t?(g=u,u=0):g=Oi(g),s=$n(s),Fm(s,u,g)}function E0(s,u,g){if(g&&typeof g!="boolean"&&Cn(s,u,g)&&(u=g=t),g===t&&(typeof u=="boolean"?(g=u,u=t):typeof s=="boolean"&&(g=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Oi(s),u===t?(u=s,s=0):u=Oi(u)),s>u){var k=s;s=u,u=k}if(g||s%1||u%1){var I=xo();return cn(s+I*(u-s+Zi("1e-"+((I+"").length-1))),u)}return Js(s,u)}var D0=ir(function(s,u,g){return u=u.toLowerCase(),s+(g?Rf(u):u)});function Rf(s){return wo(Ct(s).toLowerCase())}function Ef(s){return s=Ct(s),s&&s.replace(kl,Cp).replace(ws,"")}function V0(s,u,g){s=Ct(s),u=On(u);var k=s.length;g=g===t?k:Al(it(g),0,k);var I=g;return g-=u.length,g>=0&&s.slice(g,I)==u}function M0(s){return s=Ct(s),s&&zi.test(s)?s.replace(Ni,yp):s}function O0(s){return s=Ct(s),s&&ci.test(s)?s.replace(vn,"\\$&"):s}var F0=ir(function(s,u,g){return s+(g?"-":"")+u.toLowerCase()}),U0=ir(function(s,u,g){return s+(g?" ":"")+u.toLowerCase()}),B0=Vu("toLowerCase");function H0(s,u,g){s=Ct(s),u=it(u);var k=u?Zl(s):0;if(!u||k>=u)return s;var I=(u-k)/2;return Ba(Na(I),g)+s+Ba(Pa(I),g)}function W0(s,u,g){s=Ct(s),u=it(u);var k=u?Zl(s):0;return u&&k<u?s+Ba(u-k,g):s}function z0(s,u,g){s=Ct(s),u=it(u);var k=u?Zl(s):0;return u&&k<u?Ba(u-k,g)+s:s}function q0(s,u,g){return g||u==null?u=0:u&&(u=+u),Zp(Ct(s).replace(Gn,""),u||0)}function G0(s,u,g){return(g?Cn(s,u,g):u===t)?u=1:u=it(u),js(Ct(s),u)}function K0(){var s=arguments,u=Ct(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var J0=ir(function(s,u,g){return s+(g?"_":"")+u.toLowerCase()});function j0(s,u,g){return g&&typeof g!="number"&&Cn(s,u,g)&&(u=g=t),g=g===t?re:g>>>0,g?(s=Ct(s),s&&(typeof u=="string"||u!=null&&!mo(u))&&(u=On(u),!u&&Ql(s))?rl(ni(s),0,g):s.split(u,g)):[]}var Y0=ir(function(s,u,g){return s+(g?" ":"")+wo(u)});function Q0(s,u,g){return s=Ct(s),g=g==null?0:Al(it(g),0,s.length),u=On(u),s.slice(g,g+u.length)==u}function Z0(s,u,g){var k=M.templateSettings;g&&Cn(s,u,g)&&(u=t),s=Ct(s),u=Xa({},u,k,Wu);var I=Xa({},u.imports,k.imports,Wu),F=nn(I),G=As(I,F),J,x,pe=0,me=u.interpolate||di,Ce="__p += '",Ve=Es((u.escape||di).source+"|"+me.source+"|"+(me===ct?br:di).source+"|"+(u.evaluate||di).source+"|$","g"),Ke="//# sourceURL="+(Nt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Je+"]")+`
|
|
36
|
+
`;s.replace(Ve,function(Ze,ot,ht,Un,yn,Bn){return ht||(ht=Un),Ce+=s.slice(pe,Bn).replace(Sl,Pp),ot&&(J=!0,Ce+=`' +
|
|
37
37
|
__e(`+ot+`) +
|
|
38
|
-
'`),
|
|
39
|
-
`+
|
|
40
|
-
__p += '`),
|
|
41
|
-
((__t = (`+
|
|
42
|
-
'`),
|
|
43
|
-
`;var
|
|
44
|
-
`+
|
|
38
|
+
'`),yn&&(x=!0,Ce+=`';
|
|
39
|
+
`+yn+`;
|
|
40
|
+
__p += '`),ht&&(Ce+=`' +
|
|
41
|
+
((__t = (`+ht+`)) == null ? '' : __t) +
|
|
42
|
+
'`),pe=Bn+Ze.length,Ze}),Ce+=`';
|
|
43
|
+
`;var Qe=Nt.call(u,"variable")&&u.variable;if(!Qe)Ce=`with (obj) {
|
|
44
|
+
`+Ce+`
|
|
45
45
|
}
|
|
46
|
-
`;else if(
|
|
47
|
-
`+(
|
|
48
|
-
`)+"var __t, __p = ''"+(
|
|
46
|
+
`;else if(Wl.test(Qe))throw new xe(o);Ce=(x?Ce.replace(hl,""):Ce).replace(gl,"$1").replace(_l,"$1;"),Ce="function("+(Qe||"obj")+`) {
|
|
47
|
+
`+(Qe?"":`obj || (obj = {});
|
|
48
|
+
`)+"var __t, __p = ''"+(J?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
|
50
50
|
`:`;
|
|
51
|
-
`)+
|
|
52
|
-
}`;var it=Ef(function(){return mt(V,Be+"return "+ve).apply(t,z)});if(it.source=ve,fo(it))throw it;return it}function f0(a){return wt(a).toLowerCase()}function c0(a){return wt(a).toUpperCase()}function d0(a,u,d){if(a=wt(a),a&&(d||u===t))return Ho(a);if(!a||!(u=Fn(u)))return a;var m=ii(a),N=ii(u),V=Wo(m,N),z=zo(m,N)+1;return ll(m,V,z).join("")}function h0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.slice(0,Go(a)+1);if(!a||!(u=Fn(u)))return a;var m=ii(a),N=zo(m,ii(u))+1;return ll(m,0,N).join("")}function g0(a,u,d){if(a=wt(a),a&&(d||u===t))return a.replace(yi,"");if(!a||!(u=Fn(u)))return a;var m=ii(a),N=Wo(m,ii(u));return ll(m,N).join("")}function _0(a,u){var d=B,m=G;if(Bt(u)){var N="separator"in u?u.separator:N;d="length"in u?nt(u.length):d,m="omission"in u?Fn(u.omission):m}a=wt(a);var V=a.length;if(Jl(a)){var z=ii(a);V=z.length}if(d>=V)return a;var j=d-Yl(m);if(j<1)return m;var X=z?ll(z,0,j).join(""):a.slice(0,j);if(N===t)return X+m;if(z&&(j+=X.length-j),co(N)){if(a.slice(j).search(N)){var ge,_e=X;for(N.global||(N=Ia(N.source,wt(qi.exec(N))+"g")),N.lastIndex=0;ge=N.exec(_e);)var ve=ge.index;X=X.slice(0,ve===t?j:ve)}}else if(a.indexOf(Fn(N),j)!=j){var Re=X.lastIndexOf(N);Re>-1&&(X=X.slice(0,Re))}return X+m}function p0(a){return a=wt(a),a&&Ml.test(a)?a.replace(Gn,K_):a}var m0=tr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),_o=Eu("toUpperCase");function Rf(a,u,d){return a=wt(a),u=d?t:u,u===t?H_(a)?Y_(a):R_(a):a.match(u)||[]}var Ef=rt(function(a,u){try{return Mn(a,t,u)}catch(d){return fo(d)?d:new Xe(d)}}),b0=Ai(function(a,u){return jn(u,function(d){d=pi(d),Ti(a,d,oo(a[d],a))}),a});function v0(a){var u=a==null?0:a.length,d=Je();return a=u?Ft(a,function(m){if(typeof m[1]!="function")throw new Jn(s);return[d(m[0]),m[1]]}):[],rt(function(m){for(var N=-1;++N<u;){var V=a[N];if(Mn(V[0],this,m))return Mn(V[1],this,m)}})}function w0(a){return Kp(Qn(a,_))}function po(a){return function(){return a}}function S0(a,u){return a==null||a!==a?u:a}var k0=Vu(),C0=Vu(!0);function Tn(a){return a}function mo(a){return fu(typeof a=="function"?a:Qn(a,_))}function y0(a){return du(Qn(a,_))}function P0(a,u){return hu(a,Qn(u,_))}var N0=rt(function(a,u){return function(d){return Hr(d,a,u)}}),I0=rt(function(a,u){return function(d){return Hr(a,d,u)}});function bo(a,u,d){var m=tn(u),N=Es(u,m);d==null&&!(Bt(u)&&(N.length||!m.length))&&(d=u,u=a,a=this,N=Es(u,tn(u)));var V=!(Bt(d)&&"chain"in d)||!!d.chain,z=Ei(a);return jn(N,function(j){var X=u[j];a[j]=X,z&&(a.prototype[j]=function(){var ge=this.__chain__;if(V||ge){var _e=a(this.__wrapped__),ve=_e.__actions__=Pn(this.__actions__);return ve.push({func:X,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return X.apply(a,$i([this.value()],arguments))})}),a}function T0(){return Gt._===this&&(Gt._=ep),this}function vo(){}function L0(a){return a=nt(a),rt(function(u){return gu(u,a)})}var A0=Qa(Ft),R0=Qa(Mo),E0=Qa(wa);function Df(a){return no(a)?Sa(pi(a)):om(a)}function D0(a){return function(u){return a==null?t:Nl(a,u)}}var V0=Ou(),M0=Ou(!0);function wo(){return[]}function So(){return!1}function O0(){return{}}function F0(){return""}function U0(){return!0}function B0(a,u){if(a=nt(a),a<1||a>ee)return[];var d=le,m=hn(a,le);u=Je(u),a-=le;for(var N=ya(m,u);++d<a;)u(d);return N}function H0(a){return xe(a)?Ft(a,pi):Un(a)?[a]:Pn($u(wt(a)))}function W0(a){var u=++$_;return wt(a)+u}var z0=Us(function(a,u){return a+u},0),q0=Za("ceil"),G0=Us(function(a,u){return a/u},1),K0=Za("floor");function j0(a){return a&&a.length?Rs(a,Tn,Ma):t}function J0(a,u){return a&&a.length?Rs(a,Je(u,2),Ma):t}function Y0(a){return Uo(a,Tn)}function Q0(a,u){return Uo(a,Je(u,2))}function Z0(a){return a&&a.length?Rs(a,Tn,Ba):t}function X0(a,u){return a&&a.length?Rs(a,Je(u,2),Ba):t}var $0=Us(function(a,u){return a*u},1),x0=Za("round"),ew=Us(function(a,u){return a-u},0);function tw(a){return a&&a.length?Ca(a,Tn):0}function nw(a,u){return a&&a.length?Ca(a,Je(u,2)):0}return D.after=yb,D.ary=ff,D.assign=cv,D.assignIn=yf,D.assignInWith=Xs,D.assignWith=dv,D.at=hv,D.before=cf,D.bind=oo,D.bindAll=b0,D.bindKey=df,D.castArray=Ob,D.chain=af,D.chunk=Km,D.compact=jm,D.concat=Jm,D.cond=v0,D.conforms=w0,D.constant=po,D.countBy=tb,D.create=gv,D.curry=hf,D.curryRight=gf,D.debounce=_f,D.defaults=_v,D.defaultsDeep=pv,D.defer=Pb,D.delay=Nb,D.difference=Ym,D.differenceBy=Qm,D.differenceWith=Zm,D.drop=Xm,D.dropRight=$m,D.dropRightWhile=xm,D.dropWhile=e1,D.fill=t1,D.filter=ib,D.flatMap=sb,D.flatMapDeep=ab,D.flatMapDepth=ob,D.flatten=nf,D.flattenDeep=n1,D.flattenDepth=i1,D.flip=Ib,D.flow=k0,D.flowRight=C0,D.fromPairs=l1,D.functions=Cv,D.functionsIn=yv,D.groupBy=ub,D.initial=s1,D.intersection=a1,D.intersectionBy=o1,D.intersectionWith=u1,D.invert=Nv,D.invertBy=Iv,D.invokeMap=cb,D.iteratee=mo,D.keyBy=db,D.keys=tn,D.keysIn=In,D.map=Ks,D.mapKeys=Lv,D.mapValues=Av,D.matches=y0,D.matchesProperty=P0,D.memoize=Js,D.merge=Rv,D.mergeWith=Pf,D.method=N0,D.methodOf=I0,D.mixin=bo,D.negate=Ys,D.nthArg=L0,D.omit=Ev,D.omitBy=Dv,D.once=Tb,D.orderBy=hb,D.over=A0,D.overArgs=Lb,D.overEvery=R0,D.overSome=E0,D.partial=uo,D.partialRight=pf,D.partition=gb,D.pick=Vv,D.pickBy=Nf,D.property=Df,D.propertyOf=D0,D.pull=h1,D.pullAll=rf,D.pullAllBy=g1,D.pullAllWith=_1,D.pullAt=p1,D.range=V0,D.rangeRight=M0,D.rearg=Ab,D.reject=mb,D.remove=m1,D.rest=Rb,D.reverse=so,D.sampleSize=vb,D.set=Ov,D.setWith=Fv,D.shuffle=wb,D.slice=b1,D.sortBy=Cb,D.sortedUniq=P1,D.sortedUniqBy=N1,D.split=s0,D.spread=Eb,D.tail=I1,D.take=T1,D.takeRight=L1,D.takeRightWhile=A1,D.takeWhile=R1,D.tap=j1,D.throttle=Db,D.thru=Gs,D.toArray=Sf,D.toPairs=If,D.toPairsIn=Tf,D.toPath=H0,D.toPlainObject=Cf,D.transform=Uv,D.unary=Vb,D.union=E1,D.unionBy=D1,D.unionWith=V1,D.uniq=M1,D.uniqBy=O1,D.uniqWith=F1,D.unset=Bv,D.unzip=ao,D.unzipWith=sf,D.update=Hv,D.updateWith=Wv,D.values=lr,D.valuesIn=zv,D.without=U1,D.words=Rf,D.wrap=Mb,D.xor=B1,D.xorBy=H1,D.xorWith=W1,D.zip=z1,D.zipObject=q1,D.zipObjectDeep=G1,D.zipWith=K1,D.entries=If,D.entriesIn=Tf,D.extend=yf,D.extendWith=Xs,bo(D,D),D.add=z0,D.attempt=Ef,D.camelCase=jv,D.capitalize=Lf,D.ceil=q0,D.clamp=qv,D.clone=Fb,D.cloneDeep=Bb,D.cloneDeepWith=Hb,D.cloneWith=Ub,D.conformsTo=Wb,D.deburr=Af,D.defaultTo=S0,D.divide=G0,D.endsWith=Jv,D.eq=ri,D.escape=Yv,D.escapeRegExp=Qv,D.every=nb,D.find=lb,D.findIndex=ef,D.findKey=mv,D.findLast=rb,D.findLastIndex=tf,D.findLastKey=bv,D.floor=K0,D.forEach=of,D.forEachRight=uf,D.forIn=vv,D.forInRight=wv,D.forOwn=Sv,D.forOwnRight=kv,D.get=ho,D.gt=zb,D.gte=qb,D.has=Pv,D.hasIn=go,D.head=lf,D.identity=Tn,D.includes=fb,D.indexOf=r1,D.inRange=Gv,D.invoke=Tv,D.isArguments=Ll,D.isArray=xe,D.isArrayBuffer=Gb,D.isArrayLike=Nn,D.isArrayLikeObject=Kt,D.isBoolean=Kb,D.isBuffer=rl,D.isDate=jb,D.isElement=Jb,D.isEmpty=Yb,D.isEqual=Qb,D.isEqualWith=Zb,D.isError=fo,D.isFinite=Xb,D.isFunction=Ei,D.isInteger=mf,D.isLength=Qs,D.isMap=bf,D.isMatch=$b,D.isMatchWith=xb,D.isNaN=ev,D.isNative=tv,D.isNil=iv,D.isNull=nv,D.isNumber=vf,D.isObject=Bt,D.isObjectLike=zt,D.isPlainObject=jr,D.isRegExp=co,D.isSafeInteger=lv,D.isSet=wf,D.isString=Zs,D.isSymbol=Un,D.isTypedArray=ir,D.isUndefined=rv,D.isWeakMap=sv,D.isWeakSet=av,D.join=f1,D.kebabCase=Zv,D.last=Xn,D.lastIndexOf=c1,D.lowerCase=Xv,D.lowerFirst=$v,D.lt=ov,D.lte=uv,D.max=j0,D.maxBy=J0,D.mean=Y0,D.meanBy=Q0,D.min=Z0,D.minBy=X0,D.stubArray=wo,D.stubFalse=So,D.stubObject=O0,D.stubString=F0,D.stubTrue=U0,D.multiply=$0,D.nth=d1,D.noConflict=T0,D.noop=vo,D.now=js,D.pad=xv,D.padEnd=e0,D.padStart=t0,D.parseInt=n0,D.random=Kv,D.reduce=_b,D.reduceRight=pb,D.repeat=i0,D.replace=l0,D.result=Mv,D.round=x0,D.runInContext=Q,D.sample=bb,D.size=Sb,D.snakeCase=r0,D.some=kb,D.sortedIndex=v1,D.sortedIndexBy=w1,D.sortedIndexOf=S1,D.sortedLastIndex=k1,D.sortedLastIndexBy=C1,D.sortedLastIndexOf=y1,D.startCase=a0,D.startsWith=o0,D.subtract=ew,D.sum=tw,D.sumBy=nw,D.template=u0,D.times=B0,D.toFinite=Di,D.toInteger=nt,D.toLength=kf,D.toLower=f0,D.toNumber=$n,D.toSafeInteger=fv,D.toString=wt,D.toUpper=c0,D.trim=d0,D.trimEnd=h0,D.trimStart=g0,D.truncate=_0,D.unescape=p0,D.uniqueId=W0,D.upperCase=m0,D.upperFirst=_o,D.each=of,D.eachRight=uf,D.first=lf,bo(D,function(){var a={};return gi(D,function(u,d){Pt.call(D.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),D.VERSION=n,jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){D[a].placeholder=D}),jn(["drop","take"],function(a,u){ut.prototype[a]=function(d){d=d===t?1:Xt(nt(d),0);var m=this.__filtered__&&!u?new ut(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,le),type:a+(m.__dir__<0?"Right":"")}),m},ut.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),jn(["filter","map","takeWhile"],function(a,u){var d=u+1,m=d==pe||d==W;ut.prototype[a]=function(N){var V=this.clone();return V.__iteratees__.push({iteratee:Je(N,3),type:d}),V.__filtered__=V.__filtered__||m,V}}),jn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ut.prototype[a]=function(){return this[d](1).value()[0]}}),jn(["initial","tail"],function(a,u){var d="drop"+(u?"":"Right");ut.prototype[a]=function(){return this.__filtered__?new ut(this):this[d](1)}}),ut.prototype.compact=function(){return this.filter(Tn)},ut.prototype.find=function(a){return this.filter(a).head()},ut.prototype.findLast=function(a){return this.reverse().find(a)},ut.prototype.invokeMap=rt(function(a,u){return typeof a=="function"?new ut(this):this.map(function(d){return Hr(d,a,u)})}),ut.prototype.reject=function(a){return this.filter(Ys(Je(a)))},ut.prototype.slice=function(a,u){a=nt(a);var d=this;return d.__filtered__&&(a>0||u<0)?new ut(d):(a<0?d=d.takeRight(-a):a&&(d=d.drop(a)),u!==t&&(u=nt(u),d=u<0?d.dropRight(-u):d.take(u-a)),d)},ut.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},ut.prototype.toArray=function(){return this.take(le)},gi(ut.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),N=D[m?"take"+(u=="last"?"Right":""):u],V=m||/^find/.test(u);!N||(D.prototype[u]=function(){var z=this.__wrapped__,j=m?[1]:arguments,X=z instanceof ut,ge=j[0],_e=X||xe(z),ve=function(ot){var ft=N.apply(D,$i([ot],j));return m&&Re?ft[0]:ft};_e&&d&&typeof ge=="function"&&ge.length!=1&&(X=_e=!1);var Re=this.__chain__,Be=!!this.__actions__.length,Ye=V&&!Re,it=X&&!Be;if(!V&&_e){z=it?z:new ut(this);var Qe=a.apply(z,j);return Qe.__actions__.push({func:Gs,args:[ve],thisArg:t}),new Yn(Qe,Re)}return Ye&&it?a.apply(this,j):(Qe=this.thru(ve),Ye?m?Qe.value()[0]:Qe.value():Qe)})}),jn(["pop","push","shift","sort","splice","unshift"],function(a){var u=ps[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);D.prototype[a]=function(){var N=arguments;if(m&&!this.__chain__){var V=this.value();return u.apply(xe(V)?V:[],N)}return this[d](function(z){return u.apply(xe(z)?z:[],N)})}}),gi(ut.prototype,function(a,u){var d=D[u];if(d){var m=d.name+"";Pt.call($l,m)||($l[m]=[]),$l[m].push({name:u,func:d})}}),$l[Fs(t,C).name]=[{name:"wrapper",func:t}],ut.prototype.clone=pp,ut.prototype.reverse=mp,ut.prototype.value=bp,D.prototype.at=J1,D.prototype.chain=Y1,D.prototype.commit=Q1,D.prototype.next=Z1,D.prototype.plant=$1,D.prototype.reverse=x1,D.prototype.toJSON=D.prototype.valueOf=D.prototype.value=eb,D.prototype.first=D.prototype.head,Dr&&(D.prototype[Dr]=X1),D},Ql=Q_();Qi?((Qi.exports=Ql)._=Ql,Yi._=Ql):Gt._=Ql}).call(Yr)})(Dl,Dl.exports);class jw{getNodePath(e,t){return e?me.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=ne.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Vt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Vt.shouldPreventNavigation(n)||ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(e))return;const f=re.getConfigValue("routing.useHashRouting"),g=re.getConfigValue("routing.preserveQueryParams");let h=new URL(location.href);e=g?me.composeSearchParamsToRoute(e):e,f&&(h.hash=e);const _=l?"pushState":"replaceState",p=re.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:f?h.hash:e},"",f?h.hash:e);const b={detail:{preventContextUpdate:s,withoutSync:!r}},v=new CustomEvent("popstate",b);window.dispatchEvent(v)}getWindowPath(){return re.getConfigValue("routing.useHashRouting")?ne.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ne.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ne.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ne.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 re.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ne.trimLeadingSlash(window.location.pathname)+window.location.search:ne.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=re.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(re.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){re.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:s,intendToHaveEmptyViewUrl:o,compound:f}=e,g=s&&Array.isArray(s)&&s.length>0||s||!1;if(!f&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const h=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),_=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,s,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const f=await me.getDefaultChildNode(n,async(g,h)=>await Vt.getChildren(g,h));if(n.isExistingRoute){const g=ne.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${f}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(f&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ne.trimTrailingSlash(n.matchedPath)+"/"+f,s,!0),!0;const g=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),h=await me.getDefaultChildNode(g);this.showPageNotFoundError(r,h,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const f=t.get();this.checkInvalidateCache(f,o);const g=o&&o.length?ne.getPathWithoutHash(o):"",{nodeObject:h,pathData:_}=await Vt.extractDataFromPath(o),p=h.viewUrl||"";if(await this.handleViewUrlMisconfigured(h,p,f,g,t)||await this.handlePageNotFound(h,p,_,o,t,g,l))return;const b=re.getConfigBooleanValue("settings.hideNavigation"),v=me.parseParams(g.split("?")[1]),S=me.getNodeParams(v),y=me.findViewGroup(h),C=decodeURIComponent(g.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let I=!1,T=P;for(;T;){if(T.tabNav===!0){I=!0;break}else if(T.tabNav===!1){I=!1;break}else if(ne.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=Se.getParentNode(T,_.navigationPath)}let A=P,L=h.hideSideNav;if(L===void 0)for(;A;){if(A.tabNav&&A.hideSideNav===!0){L=!0;break}if(A.hideSideNav===!1){L=!1;break}A=Se.getParentNode(A,_.navigationPath)}const O=me.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=O;const H={hideNav:b,viewUrl:p,nodeParams:S,viewGroup:y,urlParamsRaw:C,currentNode:P,navigationPath:_.navigationPath,context:O,pathParams:_.pathParams,hideSideNav:L||!1,isolateView:h.isolateView||!1,tabNav:I};t.set(Object.assign({},H,{previousNodeValues:f?{viewUrl:f.viewUrl,isolateView:f.isolateView,viewGroup:f.viewGroup}:{}}));let F=document.getElementsByClassName("iframeContainer")[0];if(F&&(I?F.classList.add("iframeContainerTabNav"):F.classList.contains("iframeContainerTabNav")&&F.classList.remove("iframeContainerTabNav")),h.compound)Ln.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,h);else if(h.webcomponent)Ln.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponent(t,h);else{const G=document.querySelector(".wcContainer");if(G&&(G.configChangedRequest=!1),F&&(F.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await Ln.navigateIframe(l,t,n);else{const x=t.get(),$=await t.prepareInternalData(l);Le.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(x.context),nodeParams:JSON.stringify(x.nodeParams),pathParams:JSON.stringify(x.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify($),withoutSync:!0})}}const B=document.querySelector(".lui-tab-header");B&&B.dispatchEvent(new Event("lui_ctx_update")),Vt.onNodeChange(f.currentNode,P)}catch(f){console.info("Could not handle route change",f)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Vt.extractDataFromPath(e);h_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,f=l[s];if(o!==f.pathSegment||!r)if(me.isDynamicNode(f)){if(!r||o!==me.getDynamicNodeValue(f,e.pathParams)){Wn.deleteNodesRecursively(f);break}}else r=!1}}else Wn.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(ne.trimLeadingSlash(this.getWindowPath())===ne.trimLeadingSlash(n)){const r=Le.getIframeContainer(),s=Ln.getActiveIframe(r);s&&s.vg&&Ln.canCache(s.vg)?(Ln.switchActiveIframe(Le.getIframeContainer(),void 0,!1),setTimeout(()=>{Ln.switchActiveIframe(Le.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=me.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Le.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ne.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={...Ww.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ne.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:cr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),s=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=s.context,o.extendedContext&&(o.extendedContext.nodeParams=s.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&cr.renderWebComponent(s.viewUrl,n,s,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Dl.exports.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>Se.checkVisibleForFeatureToggles(s))),cr.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(),s=me.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),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(),s=l[r],o=new URL(location.href),f=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,h,_;if(f){let[p,b]=o.hash.split("?");h=p,_=me.getURLWithoutModalData(b,r),_&&(h+="?"+_)}else h=o.pathname,_=me.getURLWithoutModalData(o.search,r),_&&(h+="?"+me.getURLWithoutModalData(o.search,r));if(g=me.handleHistoryState(g,h),s!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),f){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(g,"",o.href)}else{const p=new URL(o);if(f){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(f=>{o+=(o===""?"?":"&")+f+"="+s.get(f)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",f=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const f=history.length-1;o=!0,history.go(-f),window.Luigi.preventLoadingModalData=!0}else{const f=history.state.modalHistoryLength;history.go(-f)}}else history.pushState({},"",l.href)}}const et=new jw;class Jw{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=Le.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?ne.getPathWithoutHash(t):"",l=await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),s=me.getNodeParams(r),o=me.getLastNodeObject(l),f=e.get().splitViewSettings;f.title||(f.title=o.label);const g=f.collapsed||!1;e.set({splitViewSettings:f,lastNode:o,pathData:l,nodeParams:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){cr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const s=document.querySelector(".wcContainer");if(s&&s.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const s={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(s),e.dispatch("iframeCreated",{...s,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(ne.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ne.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ne.computePxFromPercent(t.rightContentHeight,100-e))+ne.getShellbarHeight();this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:ne.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,ne.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}),Le.getIframeContainer().style.marginBottom="",st.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`,Le.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="",Le.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Le.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const st=new Jw;class Yw{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{xr.hideAppLoadingIndicator()},0)}}const Qw=new Yw;class Zw{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=re.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ai=new Zw;class Xw{constructor(){return this._userInfoStore=dr({}),this._loggedInStore=dr(!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=re.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=re.getConfigValue(`auth.${e}`),n=ol.parseUrlAuthErrors()||{};if(!!await ol.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ne.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),re.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=ol.getStoredAuthData();if(!t||!ol.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await vi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ne.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ne.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(sl(this._userInfoStore))),ne.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await vi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),ne.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ne.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ai.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ol.getStoredAuthData(),t=async l=>{await vi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=re.getConfigValue(`auth.${re.getConfigValue("auth.use")}.logoutFn`);ne.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ne.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=ne.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ne.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ne.isFunction(re.getConfigValue("auth.events.onAuthConfigError")))await vi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ne.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new Xw;class $w{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(ne.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const s=l[r];n.searchParams.has(s.key)&&n.searchParams.delete(s.key);const o=s.valueFn();n.searchParams.append(s.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Zr=new $w;class xw{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ne.getUrlParameter("error"),t=ne.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await vi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ol=new xw;class eS{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),s=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),f=new RegExp(`<${n[l]} >`,"g"),g=new RegExp(`</${n[l]}[/]>`,"g"),h=new RegExp(`</${n[l]} [/]>`,"g"),_=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"g");t=t.replace(r,`<${n[l]}>`).replace(s,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(f,`<${n[l]}>`).replace(g,`</${n[l]}>`).replace(h,`</${n[l]}>`).replace(_,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((s,[o,f])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,h=this.restoreSanitizedBrs(this.sanitizeHtml(f.text)),_=`<a id="${g}">${h}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(b,_),links:s.links.concat({elemId:g,url:f.url?encodeURI(this.sanitizeHtml(f.url)):void 0,dismissKey:f.dismissKey?encodeURI(this.sanitizeHtml(f.dismissKey)):void 0})}},r):r}}const gr=new eS;class tS{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Dl.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Dl.exports.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ui.isCustomLuigiContainer()?ui.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ui.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(re.getConfigValue("settings.experimental."+e));return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=s=>{r(s||!0)},t=()=>{r(!1)}});let l=re._remotePromises;return l||(l={counter:0,promises:[]},re._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 re._remotePromises?re._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ne=new tS;class nS{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=ne.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ne.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===o){const f=n.previousNodeValues.viewGroup,g=n.viewGroup;if(f&&g&&f===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return vw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ne.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(ne.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){Le.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=re.getConfigValue("settings.customSandboxRules"),f=re.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,h=document.createElement("iframe");h.src=Zr.hasDecorators()?Zr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,f&&(f.forEach((p,b)=>{f[b]=p+(p.indexOf(";")!=-1?"":";")}),h.allow=f.join(" ")),h.sandbox=g.join(" "),h.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ne.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(h.vg=t),n&&n.clientPermissions&&(h.luigi.clientPermissions=n.clientPermissions);const _=re.getConfigValue("settings.iframeCreationInterceptor");if(ne.isFunction(_))try{_(h,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return h}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Le.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(!!this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Le.specialIframeTypes.filter(n=>Le.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Ro.getActiveFeatureToggleList(),currentLocale:pt.getCurrentLocale(),currentTheme:Io.getCurrentTheme()}}}const Le=new nS;class iS{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=re.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 ne.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Ro.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(vi.isAuthorizationEnabled()){const r=ol.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=re.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=re.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const f=g=>{g.sort((h,_)=>{const p=h.order||0,b=_.order||0;return p-b})};return e.forEach(g=>{let h,_;const p=g[t];ne.isObject(p)?(h=p.id?p.id:p.label,_=Object.assign({},p)):(h=p,n&&!p&&(h=this.virtualGroupPrefix+o),_={label:h,_fromString:!0});let b=r[h];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=h?s++:-1),b=[],r[h]=b),b.metaInfo||(b.metaInfo=_),ne.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ne.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&&h&&b.metaInfo.collapsible&&(b.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+h:h),g.hideFromNav||b.push(g)}),Object.keys(r).forEach(g=>{const h=r[g].metaInfo;h&&h.id&&(r[h.label]=r[h.id],delete r[h.id])}),Object.keys(r).forEach(g=>{f(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=re.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":pt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Vt.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let f=[];for(const h of t){e.forEach(b=>{!n&&b===h&&(n=h)}),h.hideFromNav||(l++,h.globalNav&&r++);let _;const p=!!h.badgeCounter;if(p&&(_=await h.badgeCounter.count()),h.category){const b=h.category.label||h.category;if(s[b]){if(s[b].icon||(s[b].icon=h.category.icon,s[b].altText=h.category.altText),p&&!s[b].badgeCounter)s[b].badgeCounter={label:"",count:()=>_};else if(p){const v=s[b].badgeCounter.count()+_;s[b].badgeCounter.count=()=>v}}else s[b]={isCat:!0,label:b,icon:h.category.icon,altText:h.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(s[b]);s[b].children.push(h)}else o.push(h);_&&f.push(_)}for(let h=0;h<o.length;h++)o[h].isCat&&(o[h].visibleChildren=await Vt.getChildren(o[h])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(f.length){const h=f.reduce((_,p)=>_+p);g.totalBadgeNode={badgeCounter:{count:()=>h,label:""}}}return g}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:re.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";et.navigateTo(t)}}getBurgerTooltipConfig(){const e=re.getConfigValue("settings.burgerTooltip");if(ne.isObject(e)||e===!0){const t=e.navExpanded?pt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?pt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Vt.extractDataFromPath(e);return!!await Vt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Dl.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const f=s.request;this._fetch(f.url,{method:f.method,headers:f.headers,body:JSON.stringify(f.body)}).then(g=>{g.json().then(h=>{try{const _=this.processTitleData(h,s,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{Dl.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=pt.getTranslation(e.label);const n=me.findViewGroup(e);if(n){const l=Ln.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ne.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}}const Se=new iS;class lS{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 la.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const f=l.find(g=>g.pathSegment);return f&&f.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(f=>f.pathSegment&&(f.viewUrl||f.compound||f.externalLink&&f.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Le.getLocation(e.viewUrl)===Le.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=re.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=re.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return re.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(re.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=re.getConfigValue("routing.useHashRouting");An.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?et.getHashPath():et.getModifiedPathname();e(l)}}),An.addEventListener("popstate",n=>{const l=t?et.getHashPath(location.href):et.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:et.buildFromRelativePath(e);return l+s}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+ne.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,re.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(re.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(f=>s&&s.indexOf(n+f)>=0):Object.keys(t).find(f=>s===n+f);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=ne.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ne.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=pt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ne.replaceVars(e,t.pathParams,":",!1),e=ne.replaceVars(e,t.context,n),e=ne.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];al.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,al.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[gr.sanitizeParam(n[0])]=gr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(s=>Ro.setFeatureToggle(s,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=re.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=re.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.forEach(([f,g],h)=>{r+=`${h>0?"&"+o:""}${f}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in al.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=al.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!ne.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&al.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=re.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:pt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const me=new lS;class rS{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 on=new rS;class sS{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 An=new sS;class aS{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Le.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Le.sendMessageToIframe(s,r))}}const oS=new aS;class uS{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ne.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Le.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const ur=new uS;class fS{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Bf=new fS;function Hf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Wf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,s,o,f,g;function h(){return i[4](i[9])}return{c(){e=k("div"),t=k("p"),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=K(),c(t,"class","fd-message-strip__text svelte-1jc9s1u"),c(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),c(r,"aria-label","Close"),c(r,"aria-controls","j2ALl423"),c(r,"data-testid","luigi-alert-dismiss"),c(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),c(e,"role","alert"),c(e,"id","j2ALl423"),c(e,"data-testid","luigi-alert")},m(_,p){E(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),f||(g=se(r,"click",h),f=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&c(e,"class",o)},d(_){_&&R(e),f=!1,g()}}}function cS(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wf(Hf(i,t,l));return{c(){e=k("div");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),c(e,"aria-hidden","false")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Hf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Wf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:Fe,o:Fe,d(l){l&&R(e),ct(n,l),i[5](null)}}}function dS(i,e,t){const n=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=ht("getUnsavedChangesModalPromise"),f=ht("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:v,links:S,closeAfter:y}=b.settings,C=gr.processTextAndLinks(v,S,b.settings.id);if(setTimeout(()=>{C.links.forEach(P=>{g(P,b.settings.id)})}),b.settings.afterInit){const P=s;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:C.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Jt(()=>{});function g(p,b){try{const v=document.getElementById(p.elemId);v.dismissListener&&v.removeEventListener("click",v.dismissListener);const S=y=>{if(p.url){const C=!p.url.startsWith("/");y.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:C}};f(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};v.addEventListener("click",S),v.dismissListener=S}catch(v){console.error("Error on Alert::addClickListener",v)}}const h=p=>n("alertDismiss",{id:p.settings.id});function _(p){$e[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,h,_]}class hS extends Rt{constructor(e){super(),At(this,e,dS,cS,Tt,{alertQueue:0,alertTypeMap:1})}}const El=38,Oi=40,Si=13,wi=27,Xr=32,gS=36,_S=35;function zf(i){let e,t;return{c(){e=k("i"),c(e,"class",t=ei(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-1d21c96")&&c(e,"class",t)},d(n){n&&R(e)}}}function qf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=k("div"),t=k("button"),l=Ne(n),c(t,"data-testid","luigi-modal-confirm"),c(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),c(e,"class","fd-bar__element")},m(o,f){E(o,e,f),w(e,t),w(t,l),r||(s=se(t,"click",i[4]),r=!0)},p(o,f){f&1&&n!==(n=o[0].buttonConfirm+"")&&Te(l,n)},d(o){o&&R(e),r=!1,s()}}}function pS(i){let e,t,n,l,r,s,o,f=i[0].header+"",g,h,_,p=i[0].body+"",b,v,S,y,C,P,I=i[0].buttonDismiss+"",T,A,L,O,H,F=i[0].type&&zf(i),B=i[0].buttonConfirm!==!1&&qf(i);return{c(){e=k("div"),t=k("section"),n=k("header"),l=k("div"),r=k("div"),F&&F.c(),s=K(),o=k("h2"),g=Ne(f),h=K(),_=k("div"),b=K(),v=k("footer"),S=k("div"),B&&B.c(),y=K(),C=k("div"),P=k("button"),T=Ne(I),c(o,"class","fd-title fd-title--h5"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(n,"class","fd-bar fd-bar--header fd-message-box__header"),c(_,"class","fd-message-box__body svelte-1d21c96"),c(P,"data-testid","luigi-modal-dismiss"),c(P,"class",A="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),c(C,"class","fd-bar__element"),c(S,"class","fd-bar__right"),c(v,"class","fd-bar fd-bar--footer fd-message-box__footer"),c(t,"class","fd-message-box__content svelte-1d21c96"),c(e,"class",L="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),c(e,"data-testid","luigi-confirmation-modal")},m(G,x){E(G,e,x),w(e,t),w(t,n),w(n,l),w(l,r),F&&F.m(r,null),w(r,s),w(r,o),w(o,g),w(t,h),w(t,_),_.innerHTML=p,w(t,b),w(t,v),w(v,S),B&&B.m(S,null),w(S,y),w(S,C),w(C,P),w(P,T),O||(H=[se(window,"keydown",i[1]),se(P,"click",i[5])],O=!0)},p(G,[x]){G[0].type?F?F.p(G,x):(F=zf(G),F.c(),F.m(r,s)):F&&(F.d(1),F=null),x&1&&f!==(f=G[0].header+"")&&Te(g,f),x&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?B?B.p(G,x):(B=qf(G),B.c(),B.m(S,y)):B&&(B.d(1),B=null),x&1&&I!==(I=G[0].buttonDismiss+"")&&Te(T,I),x&1&&A!==(A="fd-button "+(G[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&c(P,"class",A),x&1&&L!==(L="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-1d21c96")&&c(e,"class",L)},i:Fe,o:Fe,d(G){G&&R(e),F&&F.d(),B&&B.d(),O=!1,Ze(H)}}}function mS(i,e,t){const n=Ht();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};$r(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{const h={icon:r[l.type],header:pt.getTranslation("luigi.confirmationModal.header"),body:pt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:gr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Le.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function s(h){return Se.renderIconClassName(h)}function o(h){h.keyCode===wi&&n("modalDismiss")}const f=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=h=>{"settings"in h&&t(0,l=h.settings)},[l,o,n,s,f,g]}class bS extends Rt{constructor(e){super(),At(this,e,mS,pS,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function vS(i){let e,t,n;const l=i[5].default,r=$g(l,i,i[4],null);return{c(){e=k("div"),r&&r.c(),c(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),c(e,"aria-hidden","false")},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&t_(r,l,s,s[4],n?e_(l,s[4],o,null):n_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&c(e,"class",t)},i(s){n||(M(r,s),n=!0)},o(s){q(r,s),n=!1},d(s){s&&R(e),r&&r.d(s)}}}function wS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Ht();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,f=!1,g={},{area:h}=e,{disable:_}=e;const p=()=>{const v="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=v+g.data.heightCssClass):t(0,s=v+"height-auto"):t(0,s="")},b=v=>{if(!h)return!0;const y=[...Le.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(C=>C.container&&C.container.contentWindow===v.source);return!(y&&h===y.type)};return Jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),An.addEventListener("message",S=>{const y=Le.getValidMessageSource(S);!y||_!==!0&&(S.data.msg==="luigi.add-backdrop"&&(t(2,o=b(S)),r("stateChanged",{backdropActive:!0}),Le.disableA11yOfInactiveIframe(y)),S.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),f&&Le.enableA11yOfInactiveIframe()))}))}),zn(()=>{o!==f&&(f=o,p())}),i.$$set=v=>{"backdropClass"in v&&t(0,s=v.backdropClass),"backdropActive"in v&&t(2,o=v.backdropActive),"area"in v&&t(1,h=v.area),"disable"in v&&t(3,_=v.disable),"$$scope"in v&&t(4,l=v.$$scope)},[s,h,o,_,l,n]}class es extends Rt{constructor(e){super(),At(this,e,wS,vS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}const{window:SS}=Fi;function Gf(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v;t=new es({props:{disable:i[2]}});let S=i[0].title&&Kf(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=k("div"),S&&S.c(),s=K(),o=k("div"),f=k("div"),g=k("button"),h=k("i"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(h,"class","sap-icon sap-icon--decline"),c(g,"class","fd-button fd-button--transparent fd-button--compact"),c(g,"aria-label","close"),c(g,"data-testid",_=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),c(f,"class","fd-bar__element"),c(o,"class","fd-bar__right"),c(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-k9bftu")},m(y,C){E(y,e,C),We(t,e,null),w(e,n),w(e,l),w(l,r),S&&S.m(r,null),w(e,s),w(e,o),w(o,f),w(f,g),w(g,h),p=!0,b||(v=se(g,"click",i[12]),b=!0)},p(y,C){const P={};C&4&&(P.disable=y[2]),t.$set(P),y[0].title?S?S.p(y,C):(S=Kf(y),S.c(),S.m(r,null)):S&&(S.d(1),S=null),(!p||C&67&&_!==(_=y[0].closebtn_data_testid&&y[6]?y[0].closebtn_data_testid:"lui-modal-index-"+y[1]))&&c(g,"data-testid",_)},i(y){p||(M(t.$$.fragment,y),p=!0)},o(y){q(t.$$.fragment,y),p=!1},d(y){y&&R(e),ze(t),S&&S.d(),b=!1,v()}}}function Kf(i){let e,t=i[0].title+"",n;return{c(){e=k("h2"),n=Ne(t),c(e,"class","fd-title fd-title--h5"),c(e,"id","dialog-title-1")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Te(n,t)},d(l){l&&R(e)}}}function jf(i){let e;const t=i[11].default,n=$g(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)&&t_(n,t,l,l[10],e?e_(t,l[10],r,null):n_(l[10]),null)},i(l){e||(M(n,l),e=!0)},o(l){q(n,l),e=!1},d(l){n&&n.d(l)}}}function Jf(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>
|
|
51
|
+
`)+Ce+`return __p
|
|
52
|
+
}`;var lt=Vf(function(){return wt(F,Ke+"return "+Ce).apply(t,G)});if(lt.source=Ce,po(lt))throw lt;return lt}function X0(s){return Ct(s).toLowerCase()}function $0(s){return Ct(s).toUpperCase()}function x0(s,u,g){if(s=Ct(s),s&&(g||u===t))return zo(s);if(!s||!(u=On(u)))return s;var k=ni(s),I=ni(u),F=qo(k,I),G=Go(k,I)+1;return rl(k,F,G).join("")}function e2(s,u,g){if(s=Ct(s),s&&(g||u===t))return s.slice(0,Jo(s)+1);if(!s||!(u=On(u)))return s;var k=ni(s),I=Go(k,ni(u))+1;return rl(k,0,I).join("")}function t2(s,u,g){if(s=Ct(s),s&&(g||u===t))return s.replace(Gn,"");if(!s||!(u=On(u)))return s;var k=ni(s),I=qo(k,ni(u));return rl(k,I).join("")}function n2(s,u){var g=W,k=K;if(Wt(u)){var I="separator"in u?u.separator:I;g="length"in u?it(u.length):g,k="omission"in u?On(u.omission):k}s=Ct(s);var F=s.length;if(Ql(s)){var G=ni(s);F=G.length}if(g>=F)return s;var J=g-Zl(k);if(J<1)return k;var x=G?rl(G,0,J).join(""):s.slice(0,J);if(I===t)return x+k;if(G&&(J+=x.length-J),mo(I)){if(s.slice(J).search(I)){var pe,me=x;for(I.global||(I=Es(I.source,Ct(wn.exec(I))+"g")),I.lastIndex=0;pe=I.exec(me);)var Ce=pe.index;x=x.slice(0,Ce===t?J:Ce)}}else if(s.indexOf(On(I),J)!=J){var Ve=x.lastIndexOf(I);Ve>-1&&(x=x.slice(0,Ve))}return x+k}function i2(s){return s=Ct(s),s&&pl.test(s)?s.replace(Wi,Ep):s}var l2=ir(function(s,u,g){return s+(g?" ":"")+u.toUpperCase()}),wo=Vu("toUpperCase");function Df(s,u,g){return s=Ct(s),u=g?t:u,u===t?Ip(s)?Mp(s):bp(s):s.match(u)||[]}var Vf=rt(function(s,u){try{return tn(s,t,u)}catch(g){return po(g)?g:new xe(g)}}),r2=Di(function(s,u){return Dt(u,function(g){g=_i(g),Ri(s,g,go(s[g],s))}),s});function a2(s){var u=s==null?0:s.length,g=Ye();return s=u?Ht(s,function(k){if(typeof k[1]!="function")throw new jn(a);return[g(k[0]),k[1]]}):[],rt(function(k){for(var I=-1;++I<u;){var F=s[I];if(tn(F[0],this,k))return tn(F[1],this,k)}})}function s2(s){return Em(Qn(s,_))}function ko(s){return function(){return s}}function o2(s,u){return s==null||s!==s?u:s}var u2=Ou(),f2=Ou(!0);function Rn(s){return s}function So(s){return du(typeof s=="function"?s:Qn(s,_))}function c2(s){return gu(Qn(s,_))}function d2(s,u){return _u(s,Qn(u,_))}var h2=rt(function(s,u){return function(g){return Fr(g,s,u)}}),g2=rt(function(s,u){return function(g){return Fr(s,g,u)}});function Co(s,u,g){var k=nn(u),I=Ea(u,k);g==null&&!(Wt(u)&&(I.length||!k.length))&&(g=u,u=s,s=this,I=Ea(u,nn(u)));var F=!(Wt(g)&&"chain"in g)||!!g.chain,G=Mi(s);return Dt(I,function(J){var x=u[J];s[J]=x,G&&(s.prototype[J]=function(){var pe=this.__chain__;if(F||pe){var me=s(this.__wrapped__),Ce=me.__actions__=Tn(this.__actions__);return Ce.push({func:x,args:arguments,thisArg:s}),me.__chain__=pe,me}return x.apply(s,xi([this.value()],arguments))})}),s}function _2(){return Be._===this&&(Be._=Wp),this}function yo(){}function p2(s){return s=it(s),rt(function(u){return pu(u,s)})}var m2=eo(Ht),b2=eo(da),v2=eo(Ps);function Mf(s){return so(s)?Ns(_i(s)):Qm(s)}function w2(s){return function(u){return s==null?t:Rl(s,u)}}var k2=Uu(),S2=Uu(!0);function Po(){return[]}function No(){return!1}function C2(){return{}}function y2(){return""}function P2(){return!0}function N2(s,u){if(s=it(s),s<1||s>ie)return[];var g=re,k=cn(s,re);u=Ye(u),s-=re;for(var I=Ls(k,u);++g<s;)u(g);return I}function I2(s){return tt(s)?Ht(s,_i):Fn(s)?[s]:Tn(ef(Ct(s)))}function T2(s){var u=++Bp;return Ct(s)+u}var L2=Ua(function(s,u){return s+u},0),A2=to("ceil"),R2=Ua(function(s,u){return s/u},1),E2=to("floor");function D2(s){return s&&s.length?Ra(s,Rn,Hs):t}function V2(s,u){return s&&s.length?Ra(s,Ye(u,2),Hs):t}function M2(s){return Ho(s,Rn)}function O2(s,u){return Ho(s,Ye(u,2))}function F2(s){return s&&s.length?Ra(s,Rn,Gs):t}function U2(s,u){return s&&s.length?Ra(s,Ye(u,2),Gs):t}var B2=Ua(function(s,u){return s*u},1),H2=to("round"),W2=Ua(function(s,u){return s-u},0);function z2(s){return s&&s.length?Ts(s,Rn):0}function q2(s,u){return s&&s.length?Ts(s,Ye(u,2)):0}return M.after=cv,M.ary=df,M.assign=$v,M.assignIn=Nf,M.assignInWith=Xa,M.assignWith=xv,M.at=e0,M.before=hf,M.bind=go,M.bindAll=r2,M.bindKey=gf,M.castArray=Cv,M.chain=uf,M.chunk=E1,M.compact=D1,M.concat=V1,M.cond=a2,M.conforms=s2,M.constant=ko,M.countBy=zb,M.create=t0,M.curry=_f,M.curryRight=pf,M.debounce=mf,M.defaults=n0,M.defaultsDeep=i0,M.defer=dv,M.delay=hv,M.difference=M1,M.differenceBy=O1,M.differenceWith=F1,M.drop=U1,M.dropRight=B1,M.dropRightWhile=H1,M.dropWhile=W1,M.fill=z1,M.filter=Gb,M.flatMap=jb,M.flatMapDeep=Yb,M.flatMapDepth=Qb,M.flatten=rf,M.flattenDeep=q1,M.flattenDepth=G1,M.flip=gv,M.flow=u2,M.flowRight=f2,M.fromPairs=K1,M.functions=f0,M.functionsIn=c0,M.groupBy=Zb,M.initial=j1,M.intersection=Y1,M.intersectionBy=Q1,M.intersectionWith=Z1,M.invert=h0,M.invertBy=g0,M.invokeMap=$b,M.iteratee=So,M.keyBy=xb,M.keys=nn,M.keysIn=An,M.map=Ka,M.mapKeys=p0,M.mapValues=m0,M.matches=c2,M.matchesProperty=d2,M.memoize=ja,M.merge=b0,M.mergeWith=If,M.method=h2,M.methodOf=g2,M.mixin=Co,M.negate=Ya,M.nthArg=p2,M.omit=v0,M.omitBy=w0,M.once=_v,M.orderBy=ev,M.over=m2,M.overArgs=pv,M.overEvery=b2,M.overSome=v2,M.partial=_o,M.partialRight=bf,M.partition=tv,M.pick=k0,M.pickBy=Tf,M.property=Mf,M.propertyOf=w2,M.pull=eb,M.pullAll=sf,M.pullAllBy=tb,M.pullAllWith=nb,M.pullAt=ib,M.range=k2,M.rangeRight=S2,M.rearg=mv,M.reject=lv,M.remove=lb,M.rest=bv,M.reverse=co,M.sampleSize=av,M.set=C0,M.setWith=y0,M.shuffle=sv,M.slice=rb,M.sortBy=fv,M.sortedUniq=db,M.sortedUniqBy=hb,M.split=j0,M.spread=vv,M.tail=gb,M.take=_b,M.takeRight=pb,M.takeRightWhile=mb,M.takeWhile=bb,M.tap=Db,M.throttle=wv,M.thru=Ga,M.toArray=Cf,M.toPairs=Lf,M.toPairsIn=Af,M.toPath=I2,M.toPlainObject=Pf,M.transform=P0,M.unary=kv,M.union=vb,M.unionBy=wb,M.unionWith=kb,M.uniq=Sb,M.uniqBy=Cb,M.uniqWith=yb,M.unset=N0,M.unzip=ho,M.unzipWith=of,M.update=I0,M.updateWith=T0,M.values=ar,M.valuesIn=L0,M.without=Pb,M.words=Df,M.wrap=Sv,M.xor=Nb,M.xorBy=Ib,M.xorWith=Tb,M.zip=Lb,M.zipObject=Ab,M.zipObjectDeep=Rb,M.zipWith=Eb,M.entries=Lf,M.entriesIn=Af,M.extend=Nf,M.extendWith=Xa,Co(M,M),M.add=L2,M.attempt=Vf,M.camelCase=D0,M.capitalize=Rf,M.ceil=A2,M.clamp=A0,M.clone=yv,M.cloneDeep=Nv,M.cloneDeepWith=Iv,M.cloneWith=Pv,M.conformsTo=Tv,M.deburr=Ef,M.defaultTo=o2,M.divide=R2,M.endsWith=V0,M.eq=li,M.escape=M0,M.escapeRegExp=O0,M.every=qb,M.find=Kb,M.findIndex=nf,M.findKey=l0,M.findLast=Jb,M.findLastIndex=lf,M.findLastKey=r0,M.floor=E2,M.forEach=ff,M.forEachRight=cf,M.forIn=a0,M.forInRight=s0,M.forOwn=o0,M.forOwnRight=u0,M.get=bo,M.gt=Lv,M.gte=Av,M.has=d0,M.hasIn=vo,M.head=af,M.identity=Rn,M.includes=Xb,M.indexOf=J1,M.inRange=R0,M.invoke=_0,M.isArguments=Vl,M.isArray=tt,M.isArrayBuffer=Rv,M.isArrayLike=Ln,M.isArrayLikeObject=Jt,M.isBoolean=Ev,M.isBuffer=al,M.isDate=Dv,M.isElement=Vv,M.isEmpty=Mv,M.isEqual=Ov,M.isEqualWith=Fv,M.isError=po,M.isFinite=Uv,M.isFunction=Mi,M.isInteger=vf,M.isLength=Qa,M.isMap=wf,M.isMatch=Bv,M.isMatchWith=Hv,M.isNaN=Wv,M.isNative=zv,M.isNil=Gv,M.isNull=qv,M.isNumber=kf,M.isObject=Wt,M.isObjectLike=Gt,M.isPlainObject=qr,M.isRegExp=mo,M.isSafeInteger=Kv,M.isSet=Sf,M.isString=Za,M.isSymbol=Fn,M.isTypedArray=rr,M.isUndefined=Jv,M.isWeakMap=jv,M.isWeakSet=Yv,M.join=X1,M.kebabCase=F0,M.last=Xn,M.lastIndexOf=$1,M.lowerCase=U0,M.lowerFirst=B0,M.lt=Qv,M.lte=Zv,M.max=D2,M.maxBy=V2,M.mean=M2,M.meanBy=O2,M.min=F2,M.minBy=U2,M.stubArray=Po,M.stubFalse=No,M.stubObject=C2,M.stubString=y2,M.stubTrue=P2,M.multiply=B2,M.nth=x1,M.noConflict=_2,M.noop=yo,M.now=Ja,M.pad=H0,M.padEnd=W0,M.padStart=z0,M.parseInt=q0,M.random=E0,M.reduce=nv,M.reduceRight=iv,M.repeat=G0,M.replace=K0,M.result=S0,M.round=H2,M.runInContext=Z,M.sample=rv,M.size=ov,M.snakeCase=J0,M.some=uv,M.sortedIndex=ab,M.sortedIndexBy=sb,M.sortedIndexOf=ob,M.sortedLastIndex=ub,M.sortedLastIndexBy=fb,M.sortedLastIndexOf=cb,M.startCase=Y0,M.startsWith=Q0,M.subtract=W2,M.sum=z2,M.sumBy=q2,M.template=Z0,M.times=N2,M.toFinite=Oi,M.toInteger=it,M.toLength=yf,M.toLower=X0,M.toNumber=$n,M.toSafeInteger=Xv,M.toString=Ct,M.toUpper=$0,M.trim=x0,M.trimEnd=e2,M.trimStart=t2,M.truncate=n2,M.unescape=i2,M.uniqueId=T2,M.upperCase=l2,M.upperFirst=wo,M.each=ff,M.eachRight=cf,M.first=af,Co(M,function(){var s={};return hi(M,function(u,g){Nt.call(M.prototype,g)||(s[g]=u)}),s}(),{chain:!1}),M.VERSION=n,Dt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Dt(["drop","take"],function(s,u){dt.prototype[s]=function(g){g=g===t?1:$t(it(g),0);var k=this.__filtered__&&!u?new dt(this):this.clone();return k.__filtered__?k.__takeCount__=cn(g,k.__takeCount__):k.__views__.push({size:cn(g,re),type:s+(k.__dir__<0?"Right":"")}),k},dt.prototype[s+"Right"]=function(g){return this.reverse()[s](g).reverse()}}),Dt(["filter","map","takeWhile"],function(s,u){var g=u+1,k=g==Pe||g==z;dt.prototype[s]=function(I){var F=this.clone();return F.__iteratees__.push({iteratee:Ye(I,3),type:g}),F.__filtered__=F.__filtered__||k,F}}),Dt(["head","last"],function(s,u){var g="take"+(u?"Right":"");dt.prototype[s]=function(){return this[g](1).value()[0]}}),Dt(["initial","tail"],function(s,u){var g="drop"+(u?"":"Right");dt.prototype[s]=function(){return this.__filtered__?new dt(this):this[g](1)}}),dt.prototype.compact=function(){return this.filter(Rn)},dt.prototype.find=function(s){return this.filter(s).head()},dt.prototype.findLast=function(s){return this.reverse().find(s)},dt.prototype.invokeMap=rt(function(s,u){return typeof s=="function"?new dt(this):this.map(function(g){return Fr(g,s,u)})}),dt.prototype.reject=function(s){return this.filter(Ya(Ye(s)))},dt.prototype.slice=function(s,u){s=it(s);var g=this;return g.__filtered__&&(s>0||u<0)?new dt(g):(s<0?g=g.takeRight(-s):s&&(g=g.drop(s)),u!==t&&(u=it(u),g=u<0?g.dropRight(-u):g.take(u-s)),g)},dt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},dt.prototype.toArray=function(){return this.take(re)},hi(dt.prototype,function(s,u){var g=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),I=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);!I||(M.prototype[u]=function(){var G=this.__wrapped__,J=k?[1]:arguments,x=G instanceof dt,pe=J[0],me=x||tt(G),Ce=function(ot){var ht=I.apply(M,xi([ot],J));return k&&Ve?ht[0]:ht};me&&g&&typeof pe=="function"&&pe.length!=1&&(x=me=!1);var Ve=this.__chain__,Ke=!!this.__actions__.length,Qe=F&&!Ve,lt=x&&!Ke;if(!F&&me){G=lt?G:new dt(this);var Ze=s.apply(G,J);return Ze.__actions__.push({func:Ga,args:[Ce],thisArg:t}),new Yn(Ze,Ve)}return Qe&<?s.apply(this,J):(Ze=this.thru(Ce),Qe?k?Ze.value()[0]:Ze.value():Ze)})}),Dt(["pop","push","shift","sort","splice","unshift"],function(s){var u=pa[s],g=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var I=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(tt(F)?F:[],I)}return this[g](function(G){return u.apply(tt(G)?G:[],I)})}}),hi(dt.prototype,function(s,u){var g=M[u];if(g){var k=g.name+"";Nt.call(er,k)||(er[k]=[]),er[k].push({name:u,func:g})}}),er[Fa(t,y).name]=[{name:"wrapper",func:t}],dt.prototype.clone=im,dt.prototype.reverse=lm,dt.prototype.value=rm,M.prototype.at=Vb,M.prototype.chain=Mb,M.prototype.commit=Ob,M.prototype.next=Fb,M.prototype.plant=Bb,M.prototype.reverse=Hb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Wb,M.prototype.first=M.prototype.head,Ar&&(M.prototype[Ar]=Ub),M},Xl=Op();bt?((bt.exports=Xl)._=Xl,St._=Xl):Be._=Xl}).call(Kr)})(Ul,Ul.exports);class Ew{getNodePath(e,t){return e?be.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=se.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ft.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ft.shouldPreventNavigation(n)||se.trimLeadingSlash(this.getWindowPath())===se.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),h=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?be.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const _=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return ae.getConfigValue("routing.useHashRouting")?se.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=se.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=se.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(se.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=be.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=be.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=be.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ae.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?se.trimLeadingSlash(window.location.pathname)+window.location.search:se.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&be.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ae.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ae.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),_=await be.getDefaultChildNode(d);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await be.getDefaultChildNode(n,async(h,d)=>await Ft.getChildren(h,d));if(n.isExistingRoute){const h=se.getTrimmedUrl(l);this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,se.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await be.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?se.getPathWithoutHash(o):"",{nodeObject:d,pathData:_}=await Ft.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,_,o,t,h,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=be.parseParams(h.split("?")[1]),v=be.getNodeParams(m),C=be.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let A=!1,N=P;for(;N;){if(N.tabNav===!0){A=!0;break}else if(N.tabNav===!1){A=!1;break}else if(se.isObject(N.tabNav)){if(N.tabNav.showAsTabHeader){A=!0;break}if("hideTabNavAutomatically"in N.tabNav&&N.children)if(N.tabNav.hideTabNavAutomatically===!0&&N.children.length===1){A=!1;break}else{A=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}N=ye.getParentNode(N,_.navigationPath)}let D=P,E=d.hideSideNav;if(E===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){E=!0;break}if(D.hideSideNav===!1){E=!1;break}D=ye.getParentNode(D,_.navigationPath)}const V=be.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=V;const U={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:_.navigationPath,context:V,pathParams:_.pathParams,hideSideNav:E||!1,isolateView:d.isolateView||!1,tabNav:A};t.set(Object.assign({},U,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(A?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),d.compound)En.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)En.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const K=document.querySelector(".wcContainer");if(K&&(K.configChangedRequest=!1),O&&(O.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await En.navigateIframe(l,t,n);else{const X=t.get(),ne=await t.prepareInternalData(l);Re.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(X.context),nodeParams:JSON.stringify(X.nodeParams),pathParams:JSON.stringify(X.pathParams),searchParams:JSON.stringify(be.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ne),withoutSync:!0})}}const W=document.querySelector(".lui-tab-header");W&&W.dispatchEvent(new Event("lui_ctx_update")),Ft.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=be.getModalPathFromPath();if(e){const t=be.getModalParamsFromPath(),{nodeObject:n}=await Ft.extractDataFromPath(e);$_.openAsModal(e,n.openNodeInModal||t)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(be.isDynamicNode(c)){if(!r||o!==be.getDynamicNodeValue(c,e.pathParams)){Hn.deleteNodesRecursively(c);break}}else r=!1}}else Hn.deleteCache()}handleRouteClick(e,t){const n=be.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(se.trimLeadingSlash(this.getWindowPath())===se.trimLeadingSlash(n)){const r=Re.getIframeContainer(),a=En.getActiveIframe(r);a&&a.vg&&En.canCache(a.vg)?(En.switchActiveIframe(Re.getIframeContainer(),void 0,!1),setTimeout(()=>{En.switchActiveIframe(Re.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=be.getPageNotFoundRedirectResult(n,l),o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Re.getIframeContainer(),r):this.navigateTo(o);return}be.showRouteNotFoundAlert(e,n,l),this.navigateTo(se.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...Iw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=be.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else se.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=be.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:hr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&hr.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Ul.exports.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>ye.checkVisibleForFeatureToggles(a))),hr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=be.getHashQueryParamSeparator();const r=be.getQueryParams(),a=be.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${be.encodeParams(r)}`}else o.search=`?${be.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=be.getHashQueryParamSeparator();const l=be.getQueryParams(),r=be.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,_;if(c){let[p,b]=o.hash.split("?");d=p,_=be.getURLWithoutModalData(b,r),_&&(d+="?"+_)}else d=o.pathname,_=be.getURLWithoutModalData(o.search,r),_&&(d+="?"+be.getURLWithoutModalData(o.search,r));if(h=be.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${be.encodeParams(l)}`}else o.search=`?${be.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=be.getQueryParams(),n=be.getModalViewParamName();let l=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=be.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(n),a.delete(`${n}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const nt=new Ew;class Dw{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=be.substituteViewUrl(e,t));const l=Re.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?se.getPathWithoutHash(t):"",l=await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=be.parseParams(n.split("?")[1]),a=be.getNodeParams(r),o=be.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){hr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(se.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(se.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(se.computePxFromPercent(t.rightContentHeight,100-e))+se.getShellbarHeight();this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:se.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,se.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Re.getIframeContainer().style.marginBottom="",at.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Re.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Re.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Re.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const at=new Dw;class Vw{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const Mw=new Vw;class Ow{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=ae.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ai=new Ow;class Fw{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ae.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ae.getConfigValue(`auth.${e}`),n=ul.parseUrlAuthErrors()||{};if(!!await ul.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),se.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=ul.getStoredAuthData();if(!t||!ul.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await mi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&se.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):se.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(sl(this._userInfoStore))),se.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await mi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),se.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),se.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ai.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ul.getStoredAuthData(),t=async l=>{await mi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ai.removeAuthData()},n=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);se.isFunction(n)?n(this.idpProviderInstance.settings,e,t):se.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=se.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!se.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(se.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await mi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&se.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const rn=new Fw;class Uw{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(se.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const jr=new Uw;class Bw{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=se.getUrlParameter("error"),t=se.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await mi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ul=new Bw;class Hw{sanitizeHtml(e=""){return e.replace(/&/g,"&").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"),_=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(_,`</${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)),_=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,_),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const pr=new Hw;class Ww{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return Boolean(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Ul.exports.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Ul.exports.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return si.isCustomLuigiContainer()?si.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(si.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=Boolean(ae.getConfigValue("settings.experimental."+e));return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=ae._remotePromises;return l||(l={counter:0,promises:[]},ae._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return ae._remotePromises?ae._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const se=new Ww;class zw{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=se.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=se.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!a&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=se.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=se.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");return t.href=e,t.origin?t.origin:t.protocol&&t.host?`${t.protocol}//${t.host}`:window.location.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return rw.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:se.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(se.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Re.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ae.getConfigValue("settings.customSandboxRules"),c=ae.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=jr.hasDecorators()?jr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:se.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const _=ae.getConfigValue("settings.iframeCreationInterceptor");if(se.isFunction(_))try{_(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Re.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(!!this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Re.specialIframeTypes.filter(n=>Re.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Oo.getActiveFeatureToggleList(),currentLocale:vt.getCurrentLocale(),currentTheme:Eo.getCurrentTheme()}}}const Re=new zw;class qw{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ae.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return se.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Oo.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(mi.isAuthorizationEnabled()){const r=ul.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ae.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=ae.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,_)=>{const p=d.order||0,b=_.order||0;return p-b})};return e.forEach(h=>{let d,_;const p=h[t];se.isObject(p)?(d=p.id?p.id:p.label,_=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),_={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=_),se.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),se.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),h.hideFromNav||b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=ae.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":vt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ft.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let _;const p=!!d.badgeCounter;if(p&&(_=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>_};else if(p){const m=a[b].badgeCounter.count()+_;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(a[b]);a[b].children.push(d)}else o.push(d);_&&c.push(_)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Ft.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((_,p)=>_+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:ae.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";nt.navigateTo(t)}}getBurgerTooltipConfig(){const e=ae.getConfigValue("settings.burgerTooltip");if(se.isObject(e)||e===!0){const t=e.navExpanded?vt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?vt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Ft.extractDataFromPath(e);return!!await Ft.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Ul.exports.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const _=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(h=>{l(h)})}).catch(n=>{Ul.exports.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=vt.getTranslation(e.label);const n=be.findViewGroup(e);if(n){const l=En.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=se.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}}const ye=new qw;class Gw{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await ls.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Re.getLocation(e.viewUrl)===Re.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getContentViewParamPrefix(){let e=ae.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ae.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ae.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=be.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?be.parseParams(be.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return be.getLocation().search?be.parseParams(be.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ae.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=ae.getConfigValue("routing.useHashRouting");Vn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?nt.getHashPath():nt.getModifiedPathname();e(l)}}),Vn.addEventListener("popstate",n=>{const l=t?nt.getHashPath(location.href):nt.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const a=e.externalLink.url,o={context:be.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:nt.buildFromRelativePath(e);return l+a}const r=be.buildRoute(e,`/${e.pathSegment}`);return l+se.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=be.getRouteLink(e,t,ae.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(ae.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=se.trimLeadingSlash(e).split("/"),l=be.buildRoute(t,`/${t.pathSegment}`),r=se.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=vt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=se.replaceVars(e,t.pathParams,":",!1),e=se.replaceVars(e,t.context,n),e=se.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];ol.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ol.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[pr.sanitizeParam(n[0])]=pr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Oo.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=ae.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=ae.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in ol.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ol.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!se.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&ol.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=ae.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:vt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const a=n?`${n}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const be=new Gw;class Kw{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const un=new Kw;class Jw{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Vn=new Jw;class jw{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Re.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Re.sendMessageToIframe(a,r))}}const Yw=new jw;class Qw{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),n=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(se.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Re.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const cr=new Qw;class Zw{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Wf=new Zw;function zf(i,e,t){const n=i.slice();return n[9]=e[t],n}function qf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,a,o,c,h;function d(){return i[4](i[9])}return{c(){e=S("div"),t=S("p"),l=q(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=q(),f(t,"class","fd-message-strip__text svelte-1jc9s1u"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){L(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,a),c||(h=le(r,"click",d),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-1jc9s1u")&&f(e,"class",o)},d(_){_&&T(e),c=!1,h()}}}function Xw(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=qf(zf(i,t,l));return{c(){e=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1jc9s1u"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=zf(l,t,a);n[a]?n[a].p(o,r):(n[a]=qf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:qe,o:qe,d(l){l&&T(e),st(n,l),i[5](null)}}}function $w(i,e,t){const n=zt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=_t("getUnsavedChangesModalPromise"),c=_t("handleNavigation");zn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=pr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Yt(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function _(p){Xe[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,_]}class xw extends Ot{constructor(e){super(),Mt(this,e,$w,Xw,At,{alertQueue:0,alertTypeMap:1})}}const Fl=38,Bi=40,vi=13,bi=27,Yr=32,ek=36,tk=35;function Gf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&T(e)}}}function Kf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=le(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,a()}}}function nk(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,_,p=i[0].body+"",b,m,v,C,y,P,A=i[0].buttonDismiss+"",N,D,E,V,U,O=i[0].type&&Gf(i),W=i[0].buttonConfirm!==!1&&Kf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=q(),o=S("h2"),h=Ne(c),d=q(),_=S("div"),b=q(),m=S("footer"),v=S("div"),W&&W.c(),C=q(),y=S("div"),P=S("button"),N=Ne(A),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-1d21c96"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",D="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(K,X){L(K,e,X),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,_),_.innerHTML=p,w(t,b),w(t,m),w(m,v),W&&W.m(v,null),w(v,C),w(v,y),w(y,P),w(P,N),V||(U=[le(window,"keydown",i[1]),le(P,"click",i[5])],V=!0)},p(K,[X]){K[0].type?O?O.p(K,X):(O=Gf(K),O.c(),O.m(r,a)):O&&(O.d(1),O=null),X&1&&c!==(c=K[0].header+"")&&Ie(h,c),X&1&&p!==(p=K[0].body+"")&&(_.innerHTML=p),K[0].buttonConfirm!==!1?W?W.p(K,X):(W=Kf(K),W.c(),W.m(v,C)):W&&(W.d(1),W=null),X&1&&A!==(A=K[0].buttonDismiss+"")&&Ie(N,A),X&1&&D!==(D="fd-button "+(K[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",D),X&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+K[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",E)},i:qe,o:qe,d(K){K&&T(e),O&&O.d(),W&&W.d(),V=!1,$e(U)}}}function ik(i,e,t){const n=zt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Qr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Yt(()=>{const d={icon:r[l.type],header:vt.getTranslation("luigi.confirmationModal.header"),body:vt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:vt.getTranslation("luigi.button.dismiss"),buttonConfirm:vt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Re.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function a(d){return ye.renderIconClassName(d)}function o(d){d.keyCode===bi&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class lk extends Ot{constructor(e){super(),Mt(this,e,ik,nk,At,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function rk(i){let e,t,n;const l=i[5].default,r=O_(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&B_(r,l,a,a[4],n?U_(l,a[4],o,null):H_(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){B(r,a),n=!1},d(a){a&&T(e),r&&r.d(a)}}}function ak(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=zt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:_}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Re.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return Yt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),Vn.addEventListener("message",v=>{const C=Re.getValidMessageSource(v);!C||_!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Re.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Re.enableA11yOfInactiveIframe()))}))}),zn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,_=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,_,l,n]}class Bl extends Ot{constructor(e){super(),Mt(this,e,ak,rk,At,{backdropClass:0,backdropActive:2,area:1,disable:3})}}const{window:sk}=Hi;function Jf(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m;t=new Bl({props:{disable:i[2]}});let v=i[0].title&&jf(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),r=S("div"),v&&v.c(),a=q(),o=S("div"),c=S("div"),h=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",_=i[0].closebtn_data_testid&&i[6]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-k9bftu")},m(C,y){L(C,e,y),Oe(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=le(h,"click",i[12]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=jf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&67&&_!==(_=C[0].closebtn_data_testid&&C[6]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",_)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){B(t.$$.fragment,C),p=!1},d(C){C&&T(e),Fe(t),v&&v.d(),b=!1,m()}}}function jf(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ie(n,t)},d(l){l&&T(e)}}}function Yf(i){let e;const t=i[11].default,n=O_(t,i,i[10],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&1024)&&B_(n,t,l,l[10],e?U_(t,l[10],r,null):H_(l[10]),null)},i(l){e||(R(n,l),e=!0)},o(l){B(n,l),e=!1},d(l){n&&n.d(l)}}}function Qf(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
53
53
|
<div class="fd-busy-indicator__circle"></div>
|
|
54
|
-
<div class="fd-busy-indicator__circle"></div></div>`,c(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),c(e,"aria-hidden","false"),c(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function kS(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C=(i[6]||i[5]&&i[0].header)&&Gf(i),P=i[5]&&jf(i),I=i[4]&&Jf();return{c(){e=k("div"),t=k("div"),C&&C.c(),n=K(),l=k("div"),P&&P.c(),r=K(),s=k("div"),g=K(),I&&I.c(),c(s,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),c(s,"modal-container-index",f=i[5]?void 0:i[1]),c(l,"class","fd-dialog__body svelte-k9bftu"),c(t,"class",h="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),c(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-1"),c(e,"class",p=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),c(e,"style",b=i[6]?"z-index:1001":"")},m(T,A){E(T,e,A),w(e,t),C&&C.m(t,null),w(t,n),w(t,l),P&&P.m(l,null),w(l,r),w(l,s),w(t,g),I&&I.m(t,null),v=!0,S||(y=se(SS,"keydown",i[3]),S=!0)},p(T,[A]){T[6]||T[5]&&T[0].header?C?(C.p(T,A),A&97&&M(C,1)):(C=Gf(T),C.c(),M(C,1),C.m(t,n)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),T[5]?P?(P.p(T,A),A&32&&M(P,1)):(P=jf(T),P.c(),M(P,1),P.m(l,r)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),(!v||A&32&&o!==(o="iframeModalCtn "+(T[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&c(s,"class",o),(!v||A&34&&f!==(f=T[5]?void 0:T[1]))&&c(s,"modal-container-index",f),T[4]?I||(I=Jf(),I.c(),I.m(t,null)):I&&(I.d(1),I=null),(!v||A&35&&h!==(h="fd-dialog__content "+(T[5]?T[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+T[1])+" svelte-k9bftu"))&&c(t,"class",h),(!v||A&64&&_!==(_=T[6]?"modal-mf":"drawer-mf"))&&c(t,"data-testid",_),(!v||A&97&&p!==(p=ei(T[6]||T[5]&&T[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&c(e,"class",p),(!v||A&64&&b!==(b=T[6]?"z-index:1001":""))&&c(e,"style",b)},i(T){v||(M(C),M(P),v=!0)},o(T){q(C),q(P),v=!1},d(T){T&&R(e),C&&C.d(),P&&P.d(),I&&I.d(),S=!1,y()}}}function CS(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:f}=e,{disableBackdrop:g}=e;const h=Ht();let _,p,b,v=!1,S=!1,y=!1,C=!1,P=!1,I=!0,T,A=ht("store");const L=W=>Se.getNodeLabel(W),O=async W=>{const ue=W&&W.length?ne.getPathWithoutHash(W):"",ee=me.parseParams(ue.split("?")[1]);b=me.getNodeParams(ee);const Y=await Vt.extractDataFromPath(W);_=Y.nodeObject,t(5,P=r.isDrawer||typeof _.drawer=="object"),T=P?"._drawer":`[modal-container-index="${f}"]`,t(0,r._liveLabel=!1,r),P?(t(6,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=L(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),h("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=L(_),r),t(0,r._liveLabel=!0,r)),p=Y.pathData,t(8,s=!0)},H=async W=>{if(!(v||S))if(s)if(_.webcomponent)t(4,y=!1),P?await G():await F(),cr.renderWebComponent(_.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),S=!0;else{const ue=await B(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:ue,modalIframeData:{...p,nodeParams:b}}),v=!0}else await O(W)},F=async()=>{let W,ue;const ee=document.querySelector(".lui-modal-index-"+f),{size:Y,width:Pe,height:le}=r,Ue=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ee.classList.remove("lui-modal-fullscreen"),Pe&&Pe.match(Ue)&&le&&le.match(Ue))W=le,ue=Pe;else switch(Y){case"fullscreen":W="100vh",ue="100vw",ee.classList.add("lui-modal-fullscreen");break;case"m":W="80%",ue="60%";break;case"s":W="80%",ue="40%";break;default:W="80%",ue="80%"}ee.setAttribute("style",`width:${ue};height:${W};`)},B=async(W,ue)=>{P?await G():await F(),W&&(W=me.substituteViewUrl(W,ue));const ee=await Le.createIframe(W,void 0,_,"modal",ue);return document.querySelector(T).appendChild(ee),ee};async function G(W){let ue="";const ee=document.getElementsByClassName("drawer"),Y=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?ue="width:75%;":r.size==="m"?ue="width:50%;":r.size==="s"?ue="width:25%;":r.size==="xs"&&(ue="width:15.5%;")),r.backdrop?ee[0].setAttribute("style",ue):(Y[0].setAttribute("style",ue),ee[0].setAttribute("style","width:100%"))}fa(()=>{H(o)});const x=async W=>{W.data.msg==="luigi.show-loading-indicator"&&t(4,y=!0),W.data.msg==="luigi.hide-loading-indicator"&&t(4,y=!1),W.data.msg==="luigi.get-context"&&(C=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&pe()),W.data.msg==="luigi.close-modal"&&h("close",{type:"modal"}),W.data.msg==="luigi.navigation.updateModalSettings"&&((W.data.updatedModalSettings.title||W.data.updatedModalSettings.title==="")&&t(0,r.title=W.data.updatedModalSettings.title,r),W.data.updatedModalSettings.size&&(t(0,r.size=W.data.updatedModalSettings.size,r),await F()),re.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size},W.data.addHistoryEntry))};Jt(()=>{on.doOnStoreChange(A,()=>{r._liveLabel&&_&&t(0,r.title=L(_),r)},["navigation.viewgroupdata"]),An.addEventListener("message",x),r.isDrawer&&!r.backdrop||Le.disableA11YKeyboardExceptClassName(".lui-modal-index-"+f),window.focus(),setTimeout(()=>{var W;!C&&!_.webcomponent&&((W=_.loadingIndicator)==null?void 0:W.enabled)!==!1&&t(4,y=!0)},250)}),$r(()=>{An.removeEventListener("message",x),r.isDrawer&&!r.backdrop||Le.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+f)});function $(W){W.keyCode===wi&&h("close")}function pe(){let W;I?W=document.querySelector(`.lui-modal-mf.lui-modal-index-${f} .spinnerContainer`):W=document.querySelector(".drawer .spinnerContainer"),W&&W.classList.contains("fade-out")&&(W.classList.remove("fade-out"),setTimeout(()=>{t(4,y=!1)},250))}const ie=()=>h("close",{activeDrawer:!1});return i.$$set=W=>{"settings"in W&&t(0,r=W.settings),"isDataPrepared"in W&&t(8,s=W.isDataPrepared),"nodepath"in W&&t(9,o=W.nodepath),"modalIndex"in W&&t(1,f=W.modalIndex),"disableBackdrop"in W&&t(2,g=W.disableBackdrop),"$$scope"in W&&t(10,l=W.$$scope)},[r,f,g,$,y,P,I,h,s,o,l,n,ie]}class __ extends Rt{constructor(e){super(),At(this,e,CS,kS,Tt,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Yf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Qf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Zf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function Xf(i){let e,t=i[1][1].settings&&$f(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=$f(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function $f(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=ac(Yf(i,n,r));return{c(){e=k("div"),t=k("div");for(let r=0;r<l.length;r+=1)l[r].c();c(t,"class","fd-container fd-form-layout-grid-container"),c(e,"class","fd-page__content")},m(r,s){E(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const f=Yf(r,n,o);l[o]?l[o].p(f,s):(l[o]=ac(f),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&&R(e),ct(l,r)}}}function xf(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?PS:yS}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function yS(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-text"),c(e,"data-testid","lui-us-input"+i[31]),c(e,"id","fd-form-input-"+i[31]),c(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){E(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Te(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&c(e,"disabled",l)},d(r){r&&R(e)}}}function PS(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=k("input"),c(e,"class","fd-input fd-input--compact"),c(e,"type","text"),c(e,"aria-label","Image label"),c(e,"placeholder",t=i[5](i[29].placeholder)),c(e,"data-testid","lui-us-input"+i[31]),c(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,f){E(o,e,f),Of(e,i[0][i[1][0]][i[28]]),l||(r=se(e,"input",s),l=!0)},p(o,f){i=o,f[0]&34&&t!==(t=i[5](i[29].placeholder))&&c(e,"placeholder",t),f[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),f[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Of(e,i[0][i[1][0]][i[28]])},d(o){o&&R(e),l=!1,r()}}}function ec(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",f,g,h,_,p,b,v,S=Array.isArray(i[29].options),y,C;function P(...A){return i[19](i[28],i[31],i[29],...A)}function I(){return i[20](i[29])}let T=S&&tc(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),s=k("span"),f=Ne(o),h=K(),_=k("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=K(),v=k("div"),T&&T.c(),c(s,"class","fd-select__text-content"),c(s,"data-testid","lui-us-input"+i[31]),c(s,"disabled",g=!(i[29].isEditable===void 0||i[29].isEditable)),c(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),c(r,"tabindex","0"),c(r,"aria-expanded","false"),c(r,"aria-haspopup","listbox"),c(r,"aria-label","Language"),c(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),c(r,"data-testid",p="lui-us-"+i[29].type+"-"+i[31]),c(r,"id","fd-form-input-"+i[31]),c(l,"class","fd-select fd-select--compact"),c(n,"class","fd-popover__control"),c(n,"aria-expanded","false"),c(n,"aria-haspopup","true"),c(v,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),c(v,"aria-hidden","true"),c(t,"class","fd-popover"),c(e,"class","fd-form-item")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,f),w(r,h),w(r,_),w(t,b),w(t,v),T&&T.m(v,null),y||(C=[se(r,"keydown",P),se(n,"click",Ut(I))],y=!0)},p(A,L){i=A,L[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Te(f,o),L[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&c(s,"disabled",g),L[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&c(r,"data-testid",p),L[0]&2&&(S=Array.isArray(i[29].options)),S?T?T.p(i,L):(T=tc(i),T.c(),T.m(v,null)):T&&(T.d(1),T=null)},d(A){A&&R(e),T&&T.d(),y=!1,Ze(C)}}}function tc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=nc(Zf(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-list fd-list--compact fd-list--dropdown"),c(e,"id","fd-form-input-dropdown-"+i[31]),c(e,"role","listbox")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let s;for(s=0;s<t.length;s+=1){const o=Zf(l,t,s);n[s]?n[s].p(o,r):(n[s]=nc(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function nc(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function f(){return i[21](i[28],i[32],i[34])}return{c(){e=k("li"),t=k("span"),l=Ne(n),r=K(),c(t,"class","fd-list__title"),c(e,"role","option"),c(e,"class","fd-list__item"),c(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),c(e,"tabindex","0"),bi(e,"is-selected",i[4]===i[34]),bi(e,"is-focus",i[4]===i[34])},m(g,h){E(g,e,h),w(e,t),w(t,l),w(e,r),s||(o=[se(e,"click",f),se(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Te(l,n),h[0]&16&&bi(e,"is-selected",i[4]===i[34]),h[0]&16&&bi(e,"is-focus",i[4]===i[34])},d(g){g&&R(e),s=!1,Ze(o)}}}function ic(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=lc(Qf(i,l,s));return{c(){e=k("div"),t=k("div");for(let s=0;s<r.length;s+=1)r[s].c();c(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),c(t,"role","group"),c(t,"aria-label","Group label"),c(e,"class","fd-form-item")},m(s,o){E(s,e,o),w(e,t);for(let f=0;f<r.length;f+=1)r[f].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let f;for(f=0;f<l.length;f+=1){const g=Qf(s,l,f);r[f]?r[f].p(g,o):(r[f]=lc(g),r[f].c(),r[f].m(t,null))}for(;f<r.length;f+=1)r[f].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+s[28]+" svelte-1tiapr5")&&c(t,"class",n)},d(s){s&&R(e),ct(r,s)}}}function lc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,f,g,h;function _(){return i[23](i[28],i[32])}return{c(){e=k("button"),n=Ne(t),l=K(),c(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),c(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),c(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=f=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){E(p,e,b),w(e,n),w(e,l),g||(h=se(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Te(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&c(e,"class",r),b[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&c(e,"id",s),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&c(e,"data-testid",o),b[0]&2&&f!==(f=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=f)},d(p){p&&R(e),g=!1,h()}}}function rc(i){let e,t,n,l,r,s,o,f,g,h;function _(){i[24].call(n,i[28])}return{c(){e=k("label"),t=k("span"),n=k("input"),s=K(),o=k("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',c(n,"class","fd-switch__input"),c(n,"type","checkbox"),c(n,"aria-labelledby","label1"),c(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),c(o,"class","fd-switch__slider"),c(t,"class","fd-switch__control"),c(e,"class","fd-switch fd-switch--compact"),c(e,"data-testid",f="lui-us-label-switch_"+i[28])},m(p,b){E(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(h=se(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&c(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&f!==(f="lui-us-label-switch_"+i[28])&&c(e,"data-testid",f)},d(p){p&&R(e),g=!1,h()}}}function sc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=k("input"),c(e,"type","checkbox"),c(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){E(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=se(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&R(e),n=!1,l()}}}function ac(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,f,g,h,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,v,S=i[29].type==="string"&&xf(i),y=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ec(i),C=_&&ic(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&rc(i),I=i[29].type==="boolean"&&i[29].style==="checkbox"&&sc(i);return{c(){e=k("div"),t=k("div"),n=k("label"),r=Ne(l),s=Ne(":"),o=K(),f=k("div"),S&&S.c(),g=K(),y&&y.c(),h=K(),C&&C.c(),p=K(),P&&P.c(),b=K(),I&&I.c(),v=K(),c(n,"class","fd-form-label svelte-1tiapr5"),c(n,"for","fd-form-input-"+i[31]),c(t,"class","fd-col fd-col--4 svelte-1tiapr5"),c(f,"class","fd-col fd-col--8 svelte-1tiapr5"),c(e,"class","fd-row svelte-1tiapr5")},m(T,A){E(T,e,A),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,f),S&&S.m(f,null),w(f,g),y&&y.m(f,null),w(f,h),C&&C.m(f,null),w(f,p),P&&P.m(f,null),w(f,b),I&&I.m(f,null),w(e,v)},p(T,A){A[0]&34&&l!==(l=T[5](T[29].label)+"")&&Te(r,l),T[29].type==="string"?S?S.p(T,A):(S=xf(T),S.c(),S.m(f,g)):S&&(S.d(1),S=null),T[29].type==="enum"&&(T[29].style===void 0||T[29].style==="list")?y?y.p(T,A):(y=ec(T),y.c(),y.m(f,h)):y&&(y.d(1),y=null),A[0]&2&&(_=T[29].type==="enum"&&T[29].style==="button"&&Array.isArray(T[29].options)),_?C?C.p(T,A):(C=ic(T),C.c(),C.m(f,p)):C&&(C.d(1),C=null),T[29].type==="boolean"&&(!T[29].style||T[29].style==="switch")?P?P.p(T,A):(P=rc(T),P.c(),P.m(f,b)):P&&(P.d(1),P=null),T[29].type==="boolean"&&T[29].style==="checkbox"?I?I.p(T,A):(I=sc(T),I.c(),I.m(f,null)):I&&(I.d(1),I=null)},d(T){T&&R(e),S&&S.d(),y&&y.d(),C&&C.d(),P&&P.d(),I&&I.d()}}}function NS(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&Xf(i);return{c(){e=k("div"),l&&l.c(),c(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,s){E(r,e,s),l&&l.m(e,null),t||(n=[se(window,"click",i[7]),se(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=Xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){r&&R(e),l&&l.d(),t=!1,Ze(n)}}}function na(i,e,t){if(i&&t>0)return i.matches(e)?i:na(i.parentNode,e,t-1)}function IS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Ht();let f=ht("getTranslation");ki(i,f,ie=>t(5,n=ie));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(ie){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(W=>{S(W,!1)})}function v(ie,W){let ue=na(ie.target,".fd-popover__control",20),ee=ue.getAttribute("aria-expanded")==="true";(W||W===void 0)&&(b(),S(ue,!ee))}function S(ie,W){const ue=ie.querySelector(".lui-activate-dropdown"),ee=ie.parentNode.querySelector(".fd-popover__body"),Y=ie.parentNode.querySelector(".fd-select__control");ie.setAttribute("aria-expanded",W),ee.setAttribute("aria-hidden",!W),Y.setAttribute("aria-expanded",W),ue.setAttribute("aria-expanded",W),t(14,h=W)}function y(ie,W,ue){t(4,g=ue),t(0,s[l[0]][ie]=W.value||W,s)}function C(ie,W){document.querySelectorAll(".enum-buttons-container-"+ie+" button").forEach(ue=>{const ee=ue.getAttribute("id"),Y=`lui-us-enum_button_${ie}_option`;ee===Y?ue.classList.add("fd-button--emphasized"):ue.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][ie]=W.value||W,s)}function P(ie,W){let ue;if(Array.isArray(W)){for(let ee=0;ee<W.length;ee++)if(ne.isObject(W[ee])){if(W[ee].value&&W[ee].value===ie){ue=W[ee].label,t(4,g=ee);break}}else{ue=ie,t(4,g=W.indexOf(ie));break}return n(ue)}}function I(ie){return n(ne.isObject(ie)?ie.label:ie)}function T(ie,W,ue){return ne.isObject(ue)?`${ie}_${W}_${ue.value}`:`${ie}_${W}_${ue}`}function A(ie,W,ue,ee){let Y=na(ie.target,".lui-anchor-node",20);const Pe=document.getElementById(`fd-form-input-dropdown-${ue}`).children;let le=-1;if([...Pe].forEach((Ue,Ie)=>{Ue.classList.contains("is-focus")&&(le=Ie)}),h){if(ie.keyCode===El&&ie.altKey&&(Y.click(),Y.focus()),ie.keyCode===Oi&&!ie.altKey){if(le===-1){le=0,Pe.item(le).classList.add("is-focus");return}le<ee.options.length-1&&(Pe.item(le).classList.remove("is-focus"),le+=1,Pe.item(le).classList.add("is-focus"))}if(ie.keyCode===El&&!ie.altKey){if(le===-1){le=le.length-1,Pe.item(le).classList.add("is-focus");return}le>0&&le<ee.options.length&&(Pe.item(le).classList.remove("is-focus"),le-=1,Pe.item(le).classList.add("is-focus"))}(ie.keyCode===Si||ie.keyCode===Xr)&&y(W,ee.options[le],le)}else Y.focus(),ie.keyCode===Oi&&ie.altKey&&Y.click(),ie.keyCode===Oi&&!ie.altKey&&le<ee.options.length-1&&y(W,ee.options[le+1],le+1),ie.keyCode===El&&!ie.altKey&&le>0&&le<ee.options.length&&y(W,ee.options[le-1],le-1)}function L(ie){if(h){let W=na(ie.target,".fd-popover",20);W.blur(),(ie.keyCode===Xr||ie.keyCode===Si)&&(ie.target.click(),b(),setTimeout(()=>{W.focus()},0))}}P();function O(ie){s[l[0]][ie]=this.value,t(0,s)}const H=(ie,W,ue,ee)=>A(ee,ie,W,ue),F=ie=>v(event,ie.isEditable),B=(ie,W,ue)=>y(ie,W,ue),G=ie=>L(ie),x=(ie,W)=>C(ie,W);function $(ie){s[l[0]][ie]=this.checked,t(0,s)}function pe(ie){s[l[0]][ie]=this.checked,t(0,s)}return i.$$set=ie=>{"userSettingGroup"in ie&&t(1,l=ie.userSettingGroup),"userSettingsGroupKey"in ie&&t(15,r=ie.userSettingsGroupKey),"storedUserSettingData"in ie&&t(0,s=ie.storedUserSettingData),"isComboOpen"in ie&&t(14,h=ie.isComboOpen)},[s,l,A,L,g,n,f,b,v,y,C,P,I,T,h,r,_,p,O,H,F,B,G,x,$,pe]}class TS extends Rt{constructor(e){super(),At(this,e,IS,NS,Tt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:oc}=Fi;function uc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function fc(i,e,t){const n=i.slice();return n[38]=e[t],n}function cc(i){let e,t,n;function l(o,f){return f[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?AS:LS}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=K(),n=k("i"),c(n,"role","presentation"),c(n,"class","sap-icon")},m(o,f){s.m(o,f),E(o,t,f),E(o,n,f)},p(o,f){r===(r=l(o,f))&&s?s.p(o,f):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&R(t),o&&R(n)}}}function LS(i){let e,t,n,l,r,s=i[38][1].initials&&dc(i);return{c(){e=k("span"),l=K(),s&&s.c(),r=ke(),c(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),c(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),oi(e,"background-image","url('"+i[38][1].icon+"')"),oi(e,"background-size","cover")},m(o,f){E(o,e,f),E(o,l,f),s&&s.m(o,f),E(o,r,f)},p(o,f){f[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&c(e,"class",t),f[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&c(e,"aria-label",n),f[0]&2&&oi(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,f):(s=dc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&R(e),o&&R(l),s&&s.d(o),o&&R(r)}}}function AS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),c(t,"role","presentation"),c(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-yylqtk"),c(e,"class","fd-list__thumbnail")},m(l,r){E(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-yylqtk")&&c(t,"class",n)},d(l){l&&R(e)}}}function dc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=k("span"),n=Ne(t),c(e,"class",l=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),c(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){E(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Te(n,t),o[0]&2&&l!==(l=ei(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&c(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&c(e,"aria-label",r)},d(s){s&&R(e)}}}function hc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,f,g,h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,v,S=i[38][1].icon&&cc(i);function y(){return i[22](i[38])}function C(...P){return i[23](i[37],...P)}return{c(){e=k("li"),t=k("a"),S&&S.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),f=K(),g=k("div"),_=Ne(h),p=K(),c(r,"class","fd-list__title"),c(g,"class","fd-list__byline svelte-yylqtk"),c(l,"class","fd-list__content"),c(t,"tabindex","-1"),c(t,"class","fd-list__link"),c(t,"href","#"),c(e,"role","listitem"),c(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),c(e,"data-testid","us-navigation-item"),c(e,"tabindex","0")},m(P,I){E(P,e,I),w(e,t),S&&S.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,f),w(l,g),w(g,_),w(e,p),b||(v=[se(e,"click",Mt(y)),se(e,"keydown",C)],b=!0)},p(P,I){i=P,i[38][1].icon?S?S.p(i,I):(S=cc(i),S.c(),S.m(t,n)):S&&(S.d(1),S=null),I[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Te(o,s),I[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Te(_,h)},d(P){P&&R(e),S&&S.d(),b=!1,Ze(v)}}}function gc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=hc(fc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=fc(l,t,s);n[s]?n[s].p(o,r):(n[s]=hc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function _c(i){let e,t,n,l;function r(f){i[24](f)}function s(f){i[25](f)}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 TS({props:o}),$e.push(()=>vt(e,"closeDropDown",r)),$e.push(()=>vt(e,"isComboOpen",s)),e.$on("updateSettingsObject",i[15]),{c(){qe(e.$$.fragment)},m(f,g){We(e,f,g),l=!0},p(f,g){const h={};g[0]&1&&(h.storedUserSettingData=f[0]),g[0]&2048&&(h.userSettingGroup=f[11]),!t&&g[0]&512&&(t=!0,h.closeDropDown=f[9],bt(()=>t=!1)),!n&&g[0]&256&&(n=!0,h.isComboOpen=f[8],bt(()=>n=!1)),e.$set(h)},i(f){l||(M(e.$$.fragment,f),l=!0)},o(f){q(e.$$.fragment,f),l=!1},d(f){ze(e,f)}}}function RS(i){let e,t,n,l,r,s,o,f=i[10](i[4])+"",g,h,_,p,b,v,S,y,C,P=i[10](i[7])+"",I,T,A,L,O,H,F,B,G,x,$,pe=i[10](i[5])+"",ie,W,ue,ee,Y=i[10](i[6])+"",Pe,le,Ue,Ie,ce=Object.entries(i[1]),Z=[];for(let ae=0;ae<ce.length;ae+=1)Z[ae]=gc(uc(i,ce,ae));let he=i[11]&&_c(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("div"),o=k("h2"),g=Ne(f),h=K(),_=k("div"),p=k("ul");for(let ae=0;ae<Z.length;ae+=1)Z[ae].c();b=K(),v=k("div"),S=k("button"),S.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',y=K(),C=k("h2"),I=Ne(P),T=K(),A=k("div"),L=k("div"),he&&he.c(),O=K(),H=k("div"),F=K(),B=k("footer"),G=k("div"),x=k("div"),$=k("button"),ie=Ne(pe),W=K(),ue=k("div"),ee=k("button"),Pe=Ne(Y),c(o,"class","fd-title fd-title--h5 svelte-yylqtk"),c(o,"id","dialog-title-2"),c(s,"class","fd-side-nav__group-header svelte-yylqtk"),c(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),c(p,"role","list"),c(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),c(r,"class","fd-side-nav svelte-yylqtk"),c(l,"class","lui-usersettings-left-nav svelte-yylqtk"),c(S,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),c(C,"class","fd-title fd-title--h5 svelte-yylqtk"),c(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),c(L,"class","usersettingseditor mf-wrapper svelte-yylqtk"),c(H,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),c(A,"class","lui-usersettings-content svelte-yylqtk"),c(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),c($,"data-testid","lui-us-saveBtn"),c($,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),c(x,"class","fd-bar__element"),c(ee,"data-testid","lui-us-dismissBtn"),c(ee,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),c(ue,"class","fd-bar__element"),c(G,"class","fd-bar__right"),c(B,"class","fd-dialog__footer fd-bar fd-bar--footer"),c(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-2"),c(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),c(e,"tabindex","0")},m(ae,Ve){E(ae,e,Ve),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,h),w(r,_),w(_,p);for(let He=0;He<Z.length;He+=1)Z[He].m(p,null);w(n,b),w(n,v),w(v,S),w(v,y),w(v,C),w(C,I),w(n,T),w(n,A),w(A,L),he&&he.m(L,null),w(A,O),w(A,H),w(t,F),w(t,B),w(B,G),w(G,x),w(x,$),w($,ie),w(G,W),w(G,ue),w(ue,ee),w(ee,Pe),le=!0,Ue||(Ie=[se(oc,"resize",i[20]),se(oc,"keydown",i[3]),se(S,"click",i[17]),se($,"click",i[26]),se(ee,"click",i[27])],Ue=!0)},p(ae,Ve){if((!le||Ve[0]&1040)&&f!==(f=ae[10](ae[4])+"")&&Te(g,f),Ve[0]&803846){ce=Object.entries(ae[1]);let He;for(He=0;He<ce.length;He+=1){const be=uc(ae,ce,He);Z[He]?Z[He].p(be,Ve):(Z[He]=gc(be),Z[He].c(),Z[He].m(p,null))}for(;He<Z.length;He+=1)Z[He].d(1);Z.length=ce.length}(!le||Ve[0]&1152)&&P!==(P=ae[10](ae[7])+"")&&Te(I,P),ae[11]?he?(he.p(ae,Ve),Ve[0]&2048&&M(he,1)):(he=_c(ae),he.c(),M(he,1),he.m(L,null)):he&&(Ce(),q(he,1,1,()=>{he=null}),ye()),(!le||Ve[0]&1056)&&pe!==(pe=ae[10](ae[5])+"")&&Te(ie,pe),(!le||Ve[0]&1088)&&Y!==(Y=ae[10](ae[6])+"")&&Te(Pe,Y)},i(ae){le||(M(he),le=!0)},o(ae){q(he),le=!1},d(ae){ae&&R(e),ct(Z,ae),he&&he.d(),Ue=!1,Ze(Ie)}}}function pc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function ES(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function DS(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function p_(i,e,t){if(i&&t>0)return i.matches(e)?i:p_(i.parentNode,e,t-1)}function mc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function VS(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=Ht();let o,{storedUserSettings:f={}}=e,g={},h=ht("getTranslation");ki(i,h,le=>t(10,n=le));let _=ul.userSettingsDialog.dialogHeader,p=ul.userSettingsDialog.saveBtn,b=ul.userSettingsDialog.dismissBtn,v={},S,y,C,P;$r(()=>{Le.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const le=re.getConfigValue("userSettings.userSettingsDialog"),Ue=le||re.getConfigValue("settings.userSettings.userSettingsDialog");Ue&&(t(4,_=Ue.dialogHeader?Ue.dialogHeader:_),t(5,p=Ue.saveBtn?Ue.saveBtn:p),t(6,b=Ue.dismissBtn?Ue.dismissBtn:b)),S=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,An.addEventListener("message",Ie=>{const ce=Le.getValidMessageSource(Ie);if(!ce||Ie.data.msg!=="custom")return;ce._ready=!0;const Z=ra.convertCustomMessageInternalToUser(Ie.data),he="luigi.updateUserSettings";if(Z.id===he){const ae=ur.findActiveCustomUserSettingsIframe(Ie.source);if(ae){let Ve=ae.getAttribute("userSettingsGroup");t(0,f[Ve]=Z.data,f)}}Z.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&H()}),re.readUserSettings().then(Ie=>{g=JSON.parse(JSON.stringify(Ie)),Ie===null?t(0,f=pc(JSON.parse(JSON.stringify(r)),{})):t(0,f=pc(JSON.parse(JSON.stringify(r)),Ie)),T([S,r[0][S]])}).catch(Ie=>{Ie&&Ie.message&&console.error(Ie.message),Ie&&Ie.closeDialog&&s("close")}),Le.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function I(le){if(t(7,y=le.title?le.title:""),!!ne.isObject(le.settings))for(let Ue in le.settings){let Ie=le.settings[Ue];Ie.type==="enum"?Array.isArray(Ie.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):Ie.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function T(le,Ue){t(11,o=le);let Ie=le[0],ce=le[1];if(I(ce),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(he=>{he.classList.remove("is-selected")}),p_(Ue.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<$t.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()),ce.viewUrl){if(ur.hideUserSettingsIframe(),v.hasOwnProperty(Ie))ur.getUserSettingsIframesInDom().forEach(Z=>{Z.userSettingsGroup===Ie&&(Z.style.display="block")});else{const Z=Zr.hasDecorators()?Zr.applyDecorators(ce.viewUrl):ce.viewUrl;let he=ur.createIframe(Z,Ie);v[Ie]=he}ES()}else DS()}const A=le=>{t(0,f=le.detail.userSettings)};function L(){re.storeUserSettings(f,g).then(()=>{s("close")}).catch(le=>{le&&le.message&&console.error(le.message),le&&le.closeDialog&&s("close")})}function O(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&mc()}function F(le){return Se.renderIconClassName(le)}function B(le){return Se.isOpenUIiconName(le.icon)}let G;const x=()=>{const le=window.innerWidth>=$t.desktopMinWidth&&G<$t.desktopMinWidth;if(window.innerWidth<$t.desktopMinWidth&&G>=$t.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"),le&&(document.querySelector(".confirm-button").style.display="block"),!G){let Ie=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?Ie.style.display="none":Ie.style.display="block"}G=window.innerWidth};function $(le,Ue){let Ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(le.keyCode===Si||le.keyCode===Xr)&&Ie[Ue].click(),le.keyCode===_S&&Ie[Object.keys(r).length-1].focus(),le.keyCode===gS&&Ie[0].focus()}function pe(le){le.keyCode===wi&&C?P():le.keyCode===wi&&!C&&s("close")}const ie=le=>T(le,event),W=(le,Ue)=>$(Ue,[le]);function ue(le){P=le,t(9,P)}function ee(le){C=le,t(8,C)}const Y=()=>L(),Pe=()=>s("close");return i.$$set=le=>{"schemaObj"in le&&t(21,l=le.schemaObj),"userSettingGroups"in le&&t(1,r=le.userSettingGroups),"storedUserSettings"in le&&t(0,f=le.storedUserSettings)},[f,r,$,pe,_,p,b,y,C,P,n,o,s,h,T,A,L,H,F,B,x,l,ie,W,ue,ee,Y,Pe]}class MS extends Rt{constructor(e){super(),At(this,e,VS,RS,Tt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:OS}=Fi;function FS(i){let e;return{c(){e=k("div"),c(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&R(e)}}}function US(i){let e,t,n,l,r=i[1].title+"",s,o,f;return{c(){e=k("div"),t=k("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=K(),l=k("h1"),s=Ne(r),c(t,"class","lui-collapse-btn svelte-je1rr"),c(e,"id","splitViewDraggerCollapsed"),c(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),c(l,"class","fd-splitView__title svelte-je1rr")},m(g,h){E(g,e,h),w(e,t),E(g,n,h),E(g,l,h),w(l,s),o||(f=se(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Te(s,r)},d(g){g&&R(e),g&&R(n),g&&R(l),o=!1,f()}}}function bc(i){let e,t,n,l,r,s,o,f;return{c(){e=k("div"),t=K(),n=k("div"),l=k("div"),r=K(),s=k("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',c(e,"id","splitViewDraggerBackdrop"),c(l,"class","splitViewSeparator"),c(s,"class","lui-collapse-btn svelte-je1rr"),c(n,"id","splitViewDragger")},m(g,h){E(g,e,h),E(g,t,h),E(g,n,h),w(n,l),w(n,r),w(n,s),o||(f=[se(s,"click",Ut(Mt(i[3]))),se(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&R(e),g&&R(t),g&&R(n),o=!1,Ze(f)}}}function BS(i){let e,t,n,l,r,s,o,f,g,h;t=new es({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(S,y){return S[0]?US:FS}let p=_(i),b=p(i),v=!i[0]&&bc(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),b.c(),s=K(),v&&v.c(),o=ke(),c(l,"class","lui-split-view svelte-je1rr"),c(e,"id","splitViewContainer"),c(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(S,y){E(S,e,y),We(t,e,null),w(e,n),w(e,l),b.m(l,null),E(S,s,y),v&&v.m(S,y),E(S,o,y),f=!0,g||(h=se(OS,"resize",i[5]),g=!0)},p(S,[y]){const C={};y&4&&(C.disable=S[2]),t.$set(C),p===(p=_(S))&&b?b.p(S,y):(b.d(1),b=p(S),b&&(b.c(),b.m(l,null))),(!f||y&1&&r!==(r="fd-page splitViewContainer "+(S[0]?"lui-collapsed":"")))&&c(e,"class",r),S[0]?v&&(v.d(1),v=null):v?v.p(S,y):(v=bc(S),v.c(),v.m(o.parentNode,o))},i(S){f||(M(t.$$.fragment,S),f=!0)},o(S){q(t.$$.fragment,S),f=!1},d(S){S&&R(e),ze(t),b.d(),S&&R(s),v&&v.d(S),S&&R(o),g=!1,h()}}}function HS(i,e,t){const n=Ht();let l={draggable:null,iframe:null,split:null},r,s,o,f,g,h,_,p,b,{nodepath:v}=e,{collapsed:S}=e,{splitViewSettings:y={}}=e,{isDataPrepared:C=!1}=e,{disableBackdrop:P}=e,I=!1,T=ht("getUnsavedChangesModalPromise");const A=()=>({get:()=>({collapsed:S,splitViewSettings:y,isDataPrepared:C,lastNode:r,pathData:s,nodeParams:o,currentNode:f,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(ue=>{ue==="splitViewSettings"?t(1,y=W.splitViewSettings):ue==="lastNode"?r=W.lastNode:ue==="pathData"?s=W.pathData:ue==="nodeParams"?o=W.nodeParams:ue==="collapsed"?t(0,S=W.collapsed):ue==="isDataPrepared"?t(8,C=W.isDataPrepared):ue==="currentNode"?f=W.currentNode:ue==="splitViewIframe"?h=W.splitViewIframe:ue==="splitViewIframeData"?_=W.splitViewIframeData:ue==="splitViewWC"?p=W.splitViewWC:ue==="splitViewWCData"&&(b=W.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:T}),L=async()=>{C?S||st.createAndSetView(A()):await st.prepareSplitViewData(A(),v)},O=()=>{l.split=st.getContainer(),l.iframe=Le.getIframeContainer(),l.draggable=st.getDragger()},H=()=>{const W=st.getDraggerBackdrop();W&&(W.style.display="none"),O(),l.draggable&&(l.draggable.style.top=`${st.splitViewValues.top}px`),l.split.style.top=`${st.splitViewValues.top}px`,l.iframe.style.marginBottom=`${st.splitViewValues.bottom}px`};function F(W){if(!!Le.getValidMessageSource(W)&&(W.data.msg==="luigi.navigation.splitview.close"&&st.close(A()),W.data.msg==="luigi.navigation.splitview.collapse"&&B(),W.data.msg==="luigi.navigation.splitview.expand"&&G(),W.data.msg==="luigi.navigation.splitview.resize")){const ue=parseInt(W.data.data);if(st.calculateAndSetSplitViewValues(ue,st.internalValues),S)return;H(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{x(),g=F.bind(this),An.addEventListener("message",g)}),fa(()=>{L(),I!==C&&!S&&(I=C,H())}),$r(()=>{window.removeEventListener("message",g)});function B(){st.collapse(A())}async function G(){await st.expand(A()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function x(){const W=ne.getShellbarHeight();st.internalValues.innerHeight=ne.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-W,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=W+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),S||H()}function $(W){let ue=W.y,ee={};const Y=function(ce){const Z=ue-ce.y,he=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(he)||Z===0)return;const ae=he-Z,Ve=st.internalValues.innerHeight-ae,He=st.enforceTresholds(ae,Ve);ae<He.top||Ve<He.bottom||(ee=He,ue=ce.y,l.draggable.style.top=`${ee.top}px`)},Pe=function(){if(le(),!ee.top||!ee.bottom||ee.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=ee.top,st.splitViewValues=ee,H(),st.sendMessageToClients("resize.ok",ee.percent)},le=function(){document.removeEventListener("mouseup",Pe),document.removeEventListener("mousemove",Y)},Ue=function(){document.addEventListener("mouseup",Pe),document.addEventListener("mousemove",Y)};O(),le(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=W=>{let ue=st.getDraggerButton();ue&&(ue.style.display=W?"block":"none"),ue=st.getCollapsedDraggerButton(),ue&&(ue.style.display=W?"block":"none")},ie=W=>{pe(!W.detail||W.detail.backdropActive!==!0)};return i.$$set=W=>{"nodepath"in W&&t(9,v=W.nodepath),"collapsed"in W&&t(0,S=W.collapsed),"splitViewSettings"in W&&t(1,y=W.splitViewSettings),"isDataPrepared"in W&&t(8,C=W.isDataPrepared),"disableBackdrop"in W&&t(2,P=W.disableBackdrop)},[S,y,P,B,G,x,$,ie,C,v]}class WS extends Rt{constructor(e){super(),At(this,e,HS,BS,Tt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function vc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:GS,then:qS,catch:zS,value:1};return ia(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ia(t,n)||i_(n,i,r)},d(l){l&&R(e),n.block.d(l),n.token=null,n=null}}}function zS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function qS(i){let e,t=i[1]>0&&wc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function wc(i){let e,t=i[1]+"",n,l;return{c(){e=k("span"),n=Ne(t),c(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jffokm"),c(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){E(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Te(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&c(e,"aria-label",l)},d(r){r&&R(e)}}}function GS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function KS(i){let e,t=i[0]&&i[0].badgeCounter&&vc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=vc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function jS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ti extends Rt{constructor(e){super(),At(this,e,jS,KS,Tt,{node:0})}}function Sc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=k("span"),t=k("span"),l=Ne(n),c(t,"class","fd-object-status__text"),c(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,s){E(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Te(l,n)},d(r){r&&R(e)}}}function JS(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function YS(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class Ui extends Rt{constructor(e){super(),At(this,e,YS,JS,Tt,{node:0})}}const{window:xs}=Fi;function kc(i,e,t){const n=i.slice();return n[67]=e[t][0],n[68]=e[t][1],n[70]=t,n}function Cc(i,e,t){const n=i.slice();return n[71]=e[t],n}function yc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Pc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[71]=e[t],n}function Ic(i){let e,t,n,l,r,s,o=i[24](i[12].label)+"",f,g,h,_=i[12].icon&&Tc(i),p=i[12].showUpLink&&Lc(i);return{c(){e=k("div"),t=k("ul"),n=k("li"),l=k("a"),_&&_.c(),r=K(),s=k("span"),f=Ne(o),g=K(),p&&p.c(),c(s,"class","fd-nested-list__title svelte-1q8o60z"),c(l,"class","fd-nested-list__link svelte-1q8o60z"),c(l,"title",h=i[32](i[12],i[24](i[12].label))),c(n,"class","fd-nested-list__item svelte-1q8o60z"),c(t,"class","fd-nested-list svelte-1q8o60z"),c(e,"class","lui-nav-title svelte-1q8o60z")},m(b,v){E(b,e,v),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,s),w(s,f),w(l,g),p&&p.m(l,null)},p(b,v){b[12].icon?_?_.p(b,v):(_=Tc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),v[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Te(f,o),b[12].showUpLink?p?p.p(b,v):(p=Lc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),v[0]&16781312&&h!==(h=b[32](b[12],b[24](b[12].label)))&&c(l,"title",h)},d(b){b&&R(e),_&&_.d(),p&&p.d()}}}function Tc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[28](s[12].icon)),e?ZS:QS}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function QS(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[12].icon)||c(t,"src",n),c(t,"alt",l=i[12].altText?i[12].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!lt(t.src,n=r[12].icon)&&c(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function ZS(i){let e,t;return{c(){e=k("i"),c(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[27](i[12].icon)+" svelte-1q8o60z"),c(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Lc(i){let e,t,n,l;return{c(){e=k("i"),c(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1q8o60z"),c(e,"role","presentation"),c(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){E(r,e,s),n||(l=se(e,"click",Mt(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&c(e,"title",t)},d(r){r&&R(e),n=!1,l()}}}function Ac(i){let e,t,n,l,r=i[13],s=[];for(let f=0;f<r.length;f+=1)s[f]=ed(kc(i,r,f));const o=f=>q(s[f],1,1,()=>{s[f]=null});return{c(){e=k("div"),t=k("ul");for(let f=0;f<s.length;f+=1)s[f].c();c(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1q8o60z"),c(e,"class","lui-fd-side-nav-wrapper svelte-1q8o60z")},m(f,g){E(f,e,g),w(e,t);for(let h=0;h<s.length;h+=1)s[h].m(t,null);l=!0},p(f,g){if(g[0]&2106714048|g[1]&227){r=f[13];let h;for(h=0;h<r.length;h+=1){const _=kc(f,r,h);s[h]?(s[h].p(_,g),M(s[h],1)):(s[h]=ed(_),s[h].c(),M(s[h],1),s[h].m(t,null))}for(Ce(),h=r.length;h<s.length;h+=1)o(h);ye()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(f[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1q8o60z"))&&c(t,"class",n)},i(f){if(!l){for(let g=0;g<r.length;g+=1)M(s[g]);l=!0}},o(f){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)q(s[g]);l=!1},d(f){f&&R(e),ct(s,f)}}}function XS(i){let e,t,n,l;const r=[e2,xS],s=[];function o(f,g){return f[68].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(f,g){s[e].m(f,g),E(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(f,g):(t=s[e]=r[e](f),t.c()),M(t,1),t.m(n.parentNode,n))},i(f){l||(M(t),l=!0)},o(f){q(t),l=!1},d(f){s[e].d(f),f&&R(n)}}}function $S(i){let e,t,n=i[68],l=[];for(let s=0;s<n.length;s+=1)l[s]=xc(Nc(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&2088804544|o[1]&66){n=s[68];let f;for(f=0;f<n.length;f+=1){const g=Nc(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=xc(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function xS(i){let e,t,n=i[24](i[67])+"",l,r,s,o,f,g,h=i[10]&&i[68].metaInfo.icon&&Rc(i),_=i[68],p=[];for(let v=0;v<_.length;v+=1)p[v]=Fc(Cc(i,_,v));const b=v=>q(p[v],1,1,()=>{p[v]=null});return{c(){e=k("li"),h&&h.c(),t=K(),l=Ne(n),o=K();for(let v=0;v<p.length;v+=1)p[v].c();f=ke(),c(e,"class","fd-nested-list__group-header lui-category svelte-1q8o60z"),c(e,"title",r=i[32](i[68],i[24](i[67]))),c(e,"data-testid",s=i[31](i[68].metaInfo,i[67])),c(e,"id","category_list_level1_"+i[70])},m(v,S){E(v,e,S),h&&h.m(e,null),w(e,t),w(e,l),E(v,o,S);for(let y=0;y<p.length;y+=1)p[y].m(v,S);E(v,f,S),g=!0},p(v,S){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,S):(h=Rc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||S[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Te(l,n),(!g||S[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&c(e,"title",r),(!g||S[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&c(e,"data-testid",s),S[0]&2088804544|S[1]&66){_=v[68];let y;for(y=0;y<_.length;y+=1){const C=Cc(v,_,y);p[y]?(p[y].p(C,S),M(p[y],1)):(p[y]=Fc(C),p[y].c(),M(p[y],1),p[y].m(f.parentNode,f))}for(Ce(),y=_.length;y<p.length;y+=1)b(y);ye()}},i(v){if(!g){for(let S=0;S<_.length;S+=1)M(p[S]);g=!0}},o(v){p=p.filter(Boolean);for(let S=0;S<p.length;S+=1)q(p[S]);g=!1},d(v){v&&R(e),h&&h.d(),v&&R(o),ct(p,v),v&&R(f)}}}function e2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",f,g,h,_,p,b,v,S,y,C,P,I,T,A,L,O,H,F,B,G,x,$;function pe(Z,he){return he[0]&8192&&(l=null),l==null&&(l=!!Z[28](Z[68].metaInfo.icon)),l?o2:a2}let ie=pe(i,[-1,-1,-1]),W=ie(i);function ue(){return i[46](i[68])}function ee(){return i[47](i[68])}function Y(...Z){return i[48](i[68],...Z)}let Pe=i[68],le=[];for(let Z=0;Z<Pe.length;Z+=1)le[Z]=zc(Pc(i,Pe,Z));const Ue=Z=>q(le[Z],1,1,()=>{le[Z]=null});let Ie=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&qc(i);function ce(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),W.c(),r=K(),s=k("span"),f=Ne(o),v=K(),S=k("button"),y=k("i"),A=K(),L=k("ul");for(let Z=0;Z<le.length;Z+=1)le[Z].c();H=K(),Ie&&Ie.c(),F=K(),c(s,"class","fd-nested-list__title svelte-1q8o60z"),c(n,"title",g=i[32](i[68],i[24](i[67]))),c(n,"class",h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1q8o60z"),c(n,"tabindex",_=i[6]?"-1":"0"),c(n,"role",p=i[23]?void 0:"button"),c(n,"id","collapsible_listnode_"+i[70]),c(n,"aria-haspopup","true"),c(n,"aria-expanded",b=kn(i[68],i[9])),c(y,"class",C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),c(y,"role","presentation"),c(S,"class","fd-button fd-nested-list__button svelte-1q8o60z"),c(S,"href","#"),c(S,"tabindex","0"),c(S,"aria-label","Expand categories"),c(S,"aria-haspopup","true"),c(S,"aria-expanded",P=kn(i[68],i[9])),c(S,"title",I=i[38](i[68],i[9])),c(t,"class","fd-nested-list__content has-child svelte-1q8o60z"),c(t,"tabindex",T=i[6]?"0":"-1"),c(L,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1q8o60z"),c(L,"aria-hidden",O=!kn(i[68],i[9])),c(e,"class","fd-nested-list__item lui-collapsible-item"),c(e,"data-testid",B=i[31](i[68].metaInfo,i[67])),bi(e,"lui-item-expanded",kn(i[68],i[9]))},m(Z,he){E(Z,e,he),w(e,t),w(t,n),W.m(n,null),w(n,r),w(n,s),w(s,f),w(t,v),w(t,S),w(S,y),w(e,A),w(e,L);for(let ae=0;ae<le.length;ae+=1)le[ae].m(L,null);w(e,H),Ie&&Ie.m(e,null),w(e,F),G=!0,x||($=[se(n,"click",Mt(ue)),se(S,"click",Mt(ee)),se(t,"keypress",Y),se(e,"click",Ut(ce))],x=!0)},p(Z,he){if(i=Z,ie===(ie=pe(i,he))&&W?W.p(i,he):(W.d(1),W=ie(i),W&&(W.c(),W.m(n,r))),(!G||he[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Te(f,o),(!G||he[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&c(n,"title",g),(!G||he[0]&8704&&h!==(h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-1q8o60z"))&&c(n,"class",h),(!G||he[0]&64&&_!==(_=i[6]?"-1":"0"))&&c(n,"tabindex",_),(!G||he[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&c(n,"role",p),(!G||he[0]&8704&&b!==(b=kn(i[68],i[9])))&&c(n,"aria-expanded",b),(!G||he[0]&8704&&C!==(C=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&c(y,"class",C),(!G||he[0]&8704&&P!==(P=kn(i[68],i[9])))&&c(S,"aria-expanded",P),(!G||he[0]&8704&&I!==(I=i[38](i[68],i[9])))&&c(S,"title",I),(!G||he[0]&64&&T!==(T=i[6]?"0":"-1"))&&c(t,"tabindex",T),he[0]&1686151296|he[1]&66){Pe=i[68];let ae;for(ae=0;ae<Pe.length;ae+=1){const Ve=Pc(i,Pe,ae);le[ae]?(le[ae].p(Ve,he),M(le[ae],1)):(le[ae]=zc(Ve),le[ae].c(),M(le[ae],1),le[ae].m(L,null))}for(Ce(),ae=Pe.length;ae<le.length;ae+=1)Ue(ae);ye()}(!G||he[0]&8704&&O!==(O=!kn(i[68],i[9])))&&c(L,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?Ie?(Ie.p(i,he),he[0]&8448&&M(Ie,1)):(Ie=qc(i),Ie.c(),M(Ie,1),Ie.m(e,F)):Ie&&(Ce(),q(Ie,1,1,()=>{Ie=null}),ye()),(!G||he[0]&8192&&B!==(B=i[31](i[68].metaInfo,i[67])))&&c(e,"data-testid",B),(!G||he[0]&8704)&&bi(e,"lui-item-expanded",kn(i[68],i[9]))},i(Z){if(!G){for(let he=0;he<Pe.length;he+=1)M(le[he]);M(Ie),G=!0}},o(Z){le=le.filter(Boolean);for(let he=0;he<le.length;he+=1)q(le[he]);q(Ie),G=!1},d(Z){Z&&R(e),W.d(),ct(le,Z),Ie&&Ie.d(),x=!1,Ze($)}}}function Rc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[68].metaInfo.icon)),e?n2:t2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function t2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||c(t,"src",n),c(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function n2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[68].metaInfo.icon?i[27](i[68].metaInfo.icon):"")+" svelte-1q8o60z"),c(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Ec(i){let e,t,n=i[71].label&&Dc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Dc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Dc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,S,y,C,P,I;function T(x,$){return x[71].icon?l2:i2}let A=T(i),L=A(i),O=i[71].statusBadge&&Vc(i),H=i[71].externalLink&&i[71].externalLink.url&&Mc(),F=i[71].badgeCounter&&Oc(i);function B(...x){return i[54](i[71],...x)}function G(...x){return i[55](i[71],...x)}return{c(){e=k("li"),t=k("a"),L.c(),n=K(),l=k("span"),s=Ne(r),o=K(),O&&O.c(),g=K(),H&&H.c(),h=K(),F&&F.c(),S=K(),c(l,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"tabindex","0"),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"role",b=i[23]?void 0:"button"),c(t,"data-testid",v=i[29](i[71])),c(e,"class","fd-nested-list__item"),c(e,"title",y=i[32](i[71],i[26](i[71]))),c(e,"aria-labelledby","category_list_level1_"+i[70])},m(x,$){E(x,e,$),w(e,t),L.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),O&&O.m(l,null),w(t,g),H&&H.m(t,null),w(t,h),F&&F.m(t,null),w(e,S),C=!0,P||(I=[se(t,"click",B),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],P=!0)},p(x,$){i=x,A===(A=T(i))&&L?L.p(i,$):(L.d(1),L=A(i),L&&(L.c(),L.m(t,n))),(!C||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r),i[71].statusBadge?O?(O.p(i,$),$[0]&8192&&M(O,1)):(O=Vc(i),O.c(),M(O,1),O.m(l,null)):O&&(Ce(),q(O,1,1,()=>{O=null}),ye()),(!C||$[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(l,"class",f),i[71].externalLink&&i[71].externalLink.url?H||(H=Mc(),H.c(),H.m(t,h)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=Oc(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!C||$[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||$[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||$[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||$[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||$[0]&8192&&y!==(y=i[32](i[71],i[26](i[71]))))&&c(e,"title",y)},i(x){C||(M(O),M(F),C=!0)},o(x){q(O),q(F),C=!1},d(x){x&&R(e),L.d(),O&&O.d(),H&&H.d(),F&&F.d(),P=!1,Ze(I)}}}function i2(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=k("i"),n=K(),l=k("span"),s=Ne(r),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,f){E(o,e,f),E(o,n,f),E(o,l,f),w(l,s)},p(o,f){f[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&c(e,"class",t),f[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Te(s,r)},d(o){o&&R(e),o&&R(n),o&&R(l)}}}function l2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?s2:r2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function r2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||c(t,"src",n),c(t,"alt",l=i[71].altText?i[71].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function s2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1q8o60z")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Vc(i){let e,t;return e=new Ui({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Mc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Oc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Fc(i){let e,t,n=!i[71].hideFromNav&&Ec(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Ec(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function a2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[68].metaInfo.icon)||c(t,"src",n),c(t,"alt",l=i[68].metaInfo.altText?i[68].metaInfo.altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[68].metaInfo.icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[68].metaInfo.altText?r[68].metaInfo.altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function o2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[68].metaInfo.icon)+" "+(i[6]&&!i[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1q8o60z"),c(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Uc(i){let e,t,n=i[71].label&&Bc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Bc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Bc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let T=i[71].externalLink&&i[71].externalLink.url&&Hc(),A=i[71].badgeCounter&&Wc(i);function L(...H){return i[49](i[71],...H)}function O(...H){return i[50](i[71],...H)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),T&&T.c(),h=K(),A&&A.c(),y=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"role",b=i[23]?void 0:"button"),c(t,"tabindex","0"),c(t,"data-testid",v=i[29](i[71])),c(t,"title",S=i[32](i[71],i[26](i[71]))),c(e,"class","fd-nested-list__item"),c(e,"aria-labelledby","collapsible_listnode_"+i[70])},m(H,F){E(H,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),T&&T.m(t,null),w(t,h),A&&A.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",L),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!C||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?T||(T=Hc(),T.c(),T.m(t,h)):T&&(T.d(1),T=null),i[71].badgeCounter?A?(A.p(i,F),F[0]&8192&&M(A,1)):(A=Wc(i),A.c(),M(A,1),A.m(t,null)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&c(t,"title",S)},i(H){C||(M(o.$$.fragment,H),M(A),C=!0)},o(H){q(o.$$.fragment,H),q(A),C=!1},d(H){H&&R(e),ze(o),T&&T.d(),A&&A.d(),P=!1,Ze(I)}}}function Hc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Wc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function zc(i){let e,t,n=!i[71].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Uc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function qc(i){let e,t,n,l=i[24](i[67])+"",r,s,o,f,g=i[68],h=[];for(let p=0;p<g.length;p+=1)h[p]=Yc(yc(i,g,p));const _=p=>q(h[p],1,1,()=>{h[p]=null});return{c(){e=k("div"),t=k("div"),n=k("h5"),r=Ne(l),s=K(),o=k("ul");for(let p=0;p<h.length;p+=1)h[p].c();c(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1q8o60z"),c(o,"class","fd-nested-list fd-nested-list--text-only svelte-1q8o60z"),c(t,"class","lui-flyout-sublist__wrapper svelte-1q8o60z"),c(e,"class","lui-flyout-sublist svelte-1q8o60z")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);f=!0},p(p,b){if((!f||b[0]&16785408)&&l!==(l=p[24](p[67])+"")&&Te(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const S=yc(p,g,v);h[v]?(h[v].p(S,b),M(h[v],1)):(h[v]=Yc(S),h[v].c(),M(h[v],1),h[v].m(o,null))}for(Ce(),v=g.length;v<h.length;v+=1)_(v);ye()}},i(p){if(!f){for(let b=0;b<g.length;b+=1)M(h[b]);f=!0}},o(p){h=h.filter(Boolean);for(let b=0;b<h.length;b+=1)q(h[b]);f=!1},d(p){p&&R(e),ct(h,p)}}}function Gc(i){let e,t,n=i[71].label&&Kc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Kc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,S,y,C,P,I;o=new Ui({props:{node:i[71]}});let T=i[71].externalLink&&i[71].externalLink.url&&jc(),A=i[71].badgeCounter&&Jc(i);function L(...H){return i[51](i[71],...H)}function O(...H){return i[52](i[71],...H)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),g=K(),T&&T.c(),h=K(),A&&A.c(),y=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"tabindex","0"),c(t,"role",b=i[23]?void 0:"button"),c(t,"data-testid",v=i[29](i[71])),c(t,"title",S=i[32](i[71],i[26](i[71]))),c(e,"class","fd-nested-list__item")},m(H,F){E(H,e,F),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(t,g),T&&T.m(t,null),w(t,h),A&&A.m(t,null),w(e,y),C=!0,P||(I=[se(t,"click",L),se(t,"keyup",function(){Vl(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!C||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Te(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!C||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?T||(T=jc(),T.c(),T.m(t,h)):T&&(T.d(1),T=null),i[71].badgeCounter?A?(A.p(i,F),F[0]&8192&&M(A,1)):(A=Jc(i),A.c(),M(A,1),A.m(t,null)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),(!C||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!C||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",p),(!C||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!C||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!C||F[0]&8192&&S!==(S=i[32](i[71],i[26](i[71]))))&&c(t,"title",S)},i(H){C||(M(o.$$.fragment,H),M(A),C=!0)},o(H){q(o.$$.fragment,H),q(A),C=!1},d(H){H&&R(e),ze(o),T&&T.d(),A&&A.d(),P=!1,Ze(I)}}}function jc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function Jc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Yc(i){let e,t,n=!i[71].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Gc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Qc(i){let e,t,n=i[71].label&&Zc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].label?n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Zc(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Zc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,S,y,C,P,I,T;function A(x,$){return x[71].icon?f2:u2}let L=A(i),O=L(i);f=new Ui({props:{node:i[71]}});let H=i[71].externalLink&&i[71].externalLink.url&&Xc(),F=i[71].badgeCounter&&$c(i);function B(...x){return i[44](i[71],...x)}function G(...x){return i[45](i[71],...x)}return{c(){e=k("li"),t=k("a"),O.c(),n=K(),l=k("span"),s=Ne(r),o=K(),qe(f.$$.fragment),h=K(),H&&H.c(),_=K(),F&&F.c(),C=K(),c(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"),c(t,"href",p=i[30](i[71])),c(t,"title",b=i[32](i[71],i[26](i[71]))),c(t,"class",v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"),c(t,"tabindex","0"),c(t,"role",S=i[23]?void 0:"button"),c(t,"data-testid",y=i[29](i[71])),c(e,"class","fd-nested-list__item")},m(x,$){E(x,e,$),w(e,t),O.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),We(f,l,null),w(t,h),H&&H.m(t,null),w(t,_),F&&F.m(t,null),w(e,C),P=!0,I||(T=[se(t,"click",B),se(t,"keyup",function(){Vl(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],I=!0)},p(x,$){i=x,L===(L=A(i))&&O?O.p(i,$):(O.d(1),O=L(i),O&&(O.c(),O.m(t,n))),(!P||$[0]&8192)&&r!==(r=i[26](i[71])+"")&&Te(s,r);const pe={};$[0]&8192&&(pe.node=i[71]),f.$set(pe),(!P||$[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-1q8o60z"))&&c(l,"class",g),i[71].externalLink&&i[71].externalLink.url?H||(H=Xc(),H.c(),H.m(t,_)):H&&(H.d(1),H=null),i[71].badgeCounter?F?(F.p(i,$),$[0]&8192&&M(F,1)):(F=$c(i),F.c(),M(F,1),F.m(t,null)):F&&(Ce(),q(F,1,1,()=>{F=null}),ye()),(!P||$[0]&8192&&p!==(p=i[30](i[71])))&&c(t,"href",p),(!P||$[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&c(t,"title",b),(!P||$[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-1q8o60z"))&&c(t,"class",v),(!P||$[0]&8388608&&S!==(S=i[23]?void 0:"button"))&&c(t,"role",S),(!P||$[0]&8192&&y!==(y=i[29](i[71])))&&c(t,"data-testid",y)},i(x){P||(M(f.$$.fragment,x),M(F),P=!0)},o(x){q(f.$$.fragment,x),q(F),P=!1},d(x){x&&R(e),O.d(),ze(f),H&&H.d(),F&&F.d(),I=!1,Ze(T)}}}function u2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),c(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&c(e,"class",t)},d(n){n&&R(e)}}}function f2(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[28](s[71].icon)),e?d2:c2}let l=n(i,[-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function c2(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[71].icon)||c(t,"src",n),c(t,"alt",l=i[71].altText?i[71].altText:""),c(t,"class","svelte-1q8o60z"),c(e,"class","fd-nested-list__icon sap-icon svelte-1q8o60z")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[71].icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[71].altText?r[71].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function d2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-nested-list__icon sap-icon "+i[27](i[71].icon)+" svelte-1q8o60z"),c(e,"role","presentation")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-1q8o60z")&&c(e,"class",t)},d(n){n&&R(e)}}}function Xc(i){let e;return{c(){e=k("i"),c(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),c(e,"role","presentation")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function $c(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[71]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function xc(i){let e,t,n=!i[71].hideFromNav&&Qc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&8192&&M(n,1)):(n=Qc(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function ed(i){let e,t,n,l,r,s;const o=[$S,XS],f=[];function g(h,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(h[67]==="undefined"||h[67].startsWith(h[14]))),e?0:(t==null&&(t=h[68].filter(p2).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1]))&&(l=f[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&f[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&f[n].p(h,_):(l&&(Ce(),q(f[p],1,1,()=>{f[p]=null}),ye()),~n?(l=f[n],l?l.p(h,_):(l=f[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&f[n].d(h),h&&R(r)}}}function td(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&nd(i);return{c(){e=k("div"),t=k("span"),n=k("span"),r=Ne(l),s=K(),o&&o.c(),c(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1q8o60z"),c(n,"data-testid","lui-side-nav__footer--text"),c(t,"class","lui-side-nav__footer svelte-1q8o60z"),c(t,"data-testid","lui-side-nav__footer"),c(e,"class","fd-side-nav__utility svelte-1q8o60z")},m(f,g){E(f,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(f,g){g[0]&4&&l!==(l=(f[2]?f[2]:"")+"")&&Te(r,l),f[3]?o?o.p(f,g):(o=nd(f),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(f){f&&R(e),o&&o.d()}}}function nd(i){let e;function t(r,s){return r[4]=="button"?g2:h2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function h2(i){let e,t,n,l;return{c(){e=k("i"),c(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z"),c(e,"data-testid","semiCollapsibleButton"),c(e,"title",i[11]),c(e,"tabindex","0")},m(r,s){E(r,e,s),n||(l=[se(e,"click",i[57]),se(e,"keydown",i[58])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z")&&c(e,"class",t),s[0]&2048&&c(e,"title",r[11])},d(r){r&&R(e),n=!1,Ze(l)}}}function g2(i){let e,t,n,l,r;return{c(){e=k("button"),t=k("i"),c(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z"),c(e,"data-testid","semiCollapsibleButton"),c(e,"title",i[11]),c(e,"tabindex","0"),c(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1q8o60z")},m(s,o){E(s,e,o),w(e,t),l||(r=se(e,"click",i[56]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1q8o60z")&&c(t,"class",n),o[0]&2048&&c(e,"title",s[11])},d(s){s&&R(e),l=!1,r()}}}function _2(i){let e,t,n,l,r,s,o,f,g,h,_=i[12]&&Ic(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Ac(i),b=(i[2]||i[3])&&td(i);return{c(){e=k("div"),_&&_.c(),t=K(),n=k("nav"),l=k("div"),p&&p.c(),r=K(),b&&b.c(),c(l,"class","fd-side-nav__main-navigation svelte-1q8o60z"),c(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1q8o60z"),c(n,"data-testid","semiCollapsibleLeftNav"),c(e,"class",o="fd-app__sidebar "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1q8o60z")},m(v,S){E(v,e,S),_&&_.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),f=!0,g||(h=[se(xs,"resize",i[17]),se(xs,"click",i[21]),se(xs,"blur",i[21]),se(xs,"keydown",i[33]),se(n,"keyup",i[18])],g=!0)},p(v,S){v[12]?_?_.p(v,S):(_=Ic(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),v[0]&&v[5].length>0&&(v[5][0].topNav===!1||v[5].length>1)?p?(p.p(v,S),S[0]&33&&M(p,1)):(p=Ac(v),p.c(),M(p,1),p.m(l,null)):p&&(Ce(),q(p,1,1,()=>{p=null}),ye()),v[2]||v[3]?b?b.p(v,S):(b=td(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!f||S[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-1q8o60z"))&&c(n,"class",s),(!f||S[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-1q8o60z"))&&c(e,"class",o)},i(v){f||(M(p),f=!0)},o(v){q(p),f=!1},d(v){v&&R(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,Ze(h)}}}function kn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const p2=i=>!i.hideFromNav&&i.label;function m2(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:f,semiCollapsible:g,pathData:p,virtualGroupPrefix:v,isSemiCollapsed:S,selectedNode:y,sideNavAccordionMode:T,selectedCategory:C,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:O}),set:async te=>{te&&(Object.getOwnPropertyNames(te).forEach(async Ae=>{if(Ae==="pathData")t(5,p=te.pathData);else if(Ae==="context")H=te.context;else if(Ae==="children")t(0,s=te.children);else if(Ae==="selectedNode")t(7,y=te.selectedNode);else if(Ae==="hasCategoriesWithIcon")t(10,I=te.hasCategoriesWithIcon);else if(Ae==="navParent"){t(12,L=void 0);let at=te.navParent;if(t(41,O=at),at&&at.navHeader&&ne.requestExperimentalFeature("navHeader",!0)){let Nt=at.navHeader,Ct=at;if(Nt==="inherit"){for(Ct=at.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;Nt=Ct?Ct.navHeader:void 0}if(Nt instanceof Function){t(12,L={});let ln=Nt(Se.stripNode(at),Se.stripNode(Ct),H);ln instanceof Promise?ln.then(En=>{t(12,L=En)}):t(12,L=ln)}else if(Nt==="auto")t(12,L={label:at.label,icon:at.icon});else if(Nt&&Nt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,L={...Nt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,L=Nt);const ln=me.mapPathToNode(et.getCurrentPath(),Ct);Vt.extractDataFromPath(ln).then(En=>{const Gn=me.substituteDynamicParamsInObject(Object.assign({},En.pathData.context,Ct.context),En.pathData.pathParams);Se.fetchNodeTitleData(Ct,Gn).then(ni=>{t(12,L={...Nt,...ni})}).catch(ni=>{console.error("Error while retrieving title, fallback to node label"),t(12,L={...Nt,label:at.label,icon:at.icon})})})}else t(12,L=await Ue(Nt,Ct))}}}),t(40,T=Se.getSideNavAccordionMode(y)))}},r=Ht();let{children:s}=e,{hideNavComponent:o}=e,{footerText:f}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:h}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:v=Se.virtualGroupPrefix}=e,{isSemiCollapsed:S}=e,{selectedNode:y}=e,{selectedCategory:C=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:A}=e,{navHeader:L}=e,{navParentNode:O}=e,H,F,B,G=ht("store"),x=ht("getTranslation");ki(i,x,te=>t(24,n=te));let $=!1;const pe=te=>Se.getNodeLabel(te),ie=async()=>{const te=l.get(),Ae=await Vt.getLeftNavData({...te},te);!Ae||(l.set(Ae),F=p,window.LEFTNAVDATA=Ae.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,$=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),on.doOnStoreChange(G,()=>{t(2,f=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),on.doOnStoreChange(G,()=>{ie()},["navigation.viewgroupdata"]);let te=mi.initial();t(6,S=te.isSemiCollapsed),t(39,g=te.semiCollapsible),mi.onValueChanged(Ae=>{t(6,S=Ae.isSemiCollapsed)}),An.addEventListener("message",Ae=>{Ae.data.msg==="luigi.navigation.update-badge-counters"&&ie()})}),zn(()=>{(!F||F!=p)&&ie(),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:W}=e;function ue(te){return Se.renderIconClassName(te)}function ee(te){return Se.isOpenUIiconName(te)}function Y(te){return te.testId?te.testId:Se.prepareForTests(te.pathSegment,te.label)}function Pe(te){return me.getNodeHref(te,b)}function le(te,Ae){return te&&te.testId?te.testId:Se.prepareForTests(Ae||te.label)}async function Ue(te,Ae){const at=me.mapPathToNode(et.getCurrentPath(),Ae),Ct=(await Vt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(te,Ct)}function Ie(te,Ae){return Se.generateTooltipText(te,Ae)}function ce(te){r("handleClick",{node:te})}function Z(te,Ae){if(mi.getCollapsed()){let at,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(te.metaInfo&&te.metaInfo.label?at=te.metaInfo.label:at=te.category&&te.category.label||te.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),at===C){t(8,C=mi.closePopupMenu(C));return}t(8,C=at),he(Ae)}}function he(te){const Ae=te.closest(".fd-nested-list__item"),at=Ae.offsetTop,Nt=ui.getShellbar().offsetHeight;let Ct;ui.isCustomLuigiContainer()?Ct=ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const ln=Ae.getElementsByClassName("lui-flyout-sublist")[0],En=te.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=at+Nt-En,ni=Ct-at-Ae.offsetHeight+En-Nt;Gn+ln.offsetHeight>=Ct?(ln.style.bottom=ni+"px",ln.className+=" has-bottom-position"):ln.style.top=Gn-Nt+"px"})}function ae(){if(g){let te=mi.onResize(C);t(6,S=te.isSemiCollapsed),t(8,C=te.selectedCategory)}}function Ve(te){if(te.code==="ArrowRight"){const at=Le.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(te){let Ae=O?O.parent:void 0;for(;Ae;){if(Ae.pathSegment&&Ae.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ae});return}Ae=Ae.parent}console.warn('Could not resolve "up"-node, redirecting to root'),h_.navigate("/")}function be(te,Ae){mi.getCollapsed()||t(9,P=Se.storeExpandedState(te.metaInfo.categoryUid,Ae,T))}function Ge(){t(8,C=mi.closePopupMenu(C))}function St(te){te&&te.code==="Escape"&&Ge()}function Wt(){t(6,S=mi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),un()}function kt(te){const Ae=te.code;(Ae==="Enter"||Ae==="Space")&&Wt()}function Yt(te,Ae){(te.code==="Enter"||te==="Space")&&Z(Ae,te.currentTarget)}function pn(te,Ae){te.keyCode===Si&&Se.handleNavAnchorClickedWithoutMetaKey(te)&&ce(Ae)}function un(){if(!Se.getBurgerTooltipConfig())return;const[te,Ae]=Se.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");te&&Ae&&at&&t(11,A=document.body.classList.contains("semiCollapsed")?te:Ae)}function mn(te,Ae){return kn(te,Ae)?te.metaInfo.titleCollapseButton?n(te.metaInfo.titleCollapseButton):void 0:te.metaInfo.titleExpandButton?n(te.metaInfo.titleExpandButton):void 0}const Bi=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},bn=(te,Ae)=>pn(Ae,te),Qt=te=>be(te,!kn(te,P)),Rn=te=>be(te,!kn(te,P)),Et=(te,Ae)=>Yt(Ae,te),cl=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},xt=(te,Ae)=>pn(Ae,te),fn=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},qn=(te,Ae)=>pn(Ae,te),qt=te=>Z(te,event.currentTarget),Cn=(te,Ae)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ae)&&ce(te)},fi=(te,Ae)=>pn(Ae,te),ci=te=>Wt(),cn=te=>Wt(),Ci=te=>kt(te);return i.$$set=te=>{"children"in te&&t(0,s=te.children),"hideNavComponent"in te&&t(1,o=te.hideNavComponent),"footerText"in te&&t(2,f=te.footerText),"semiCollapsible"in te&&t(39,g=te.semiCollapsible),"semiCollapsibleButton"in te&&t(3,h=te.semiCollapsibleButton),"semiCollapsibleButtonStyle"in te&&t(4,_=te.semiCollapsibleButtonStyle),"pathData"in te&&t(5,p=te.pathData),"pathParams"in te&&t(42,b=te.pathParams),"virtualGroupPrefix"in te&&t(14,v=te.virtualGroupPrefix),"isSemiCollapsed"in te&&t(6,S=te.isSemiCollapsed),"selectedNode"in te&&t(7,y=te.selectedNode),"selectedCategory"in te&&t(8,C=te.selectedCategory),"expandedCategories"in te&&t(9,P=te.expandedCategories),"hasCategoriesWithIcon"in te&&t(10,I=te.hasCategoriesWithIcon),"sideNavAccordionMode"in te&&t(40,T=te.sideNavAccordionMode),"burgerTooltip"in te&&t(11,A=te.burgerTooltip),"navHeader"in te&&t(12,L=te.navHeader),"navParentNode"in te&&t(41,O=te.navParentNode),"sortedChildrenEntries"in te&&t(13,W=te.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const te=Object.entries(s);te.sort((Ae,at)=>Ae[1].metaInfo.order-at[1].metaInfo.order),t(13,W=te)}},[s,o,f,h,_,p,S,y,C,P,I,A,L,W,v,ce,Z,ae,Ve,He,be,Ge,B,$,n,x,pe,ue,ee,Y,Pe,le,Ie,St,Wt,kt,Yt,pn,mn,g,T,O,b,he,Bi,bn,Qt,Rn,Et,cl,xt,fn,qn,qt,Cn,fi,ci,cn,Ci]}class b2 extends Rt{constructor(e){super(),At(this,e,m2,_2,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:39,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:42,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:40,burgerTooltip:11,navHeader:12,navParentNode:41,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:43,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[43]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const v2=i=>{on.doOnStoreChange(i.store,()=>{const e=re.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),m_(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},w2=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),m_=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((f,g)=>(g.link||"").localeCompare(f.link||"")).some(f=>{let g=!0;return ne.trimTrailingSlash(ne.trimLeadingSlash(f.link)).split("/").forEach((h,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!w2(h,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=f),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,s=xr.getDocumentTitle()||r;i.set({title:r}),document.title=pt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function id(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function ld(i,e,t){const n=i.slice();return n[43]=e[t],n}function S2(i){let e,t,n,l,r=i[1]&&rd(i);return{c(){e=k("span"),r&&r.c(),c(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),c(e,"aria-label",i[2]),c(e,"role","button"),c(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=rd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&c(e,"class",t),o[0]&4&&c(e,"aria-label",s[2])},d(s){s&&R(e),r&&r.d(),n=!1,l()}}}function k2(i){let e,t,n,l,r=i[1]&&sd(i);return{c(){e=k("a"),r&&r.c(),c(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),c(e,"aria-label",i[2]),c(e,"href","/"),c(e,"role","button"),c(e,"tabindex","0")},m(s,o){E(s,e,o),r&&r.m(e,null),n||(l=se(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=sd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&c(e,"class",t),o[0]&4&&c(e,"aria-label",s[2])},d(s){s&&R(e),r&&r.d(),n=!1,l()}}}function rd(i){let e;return{c(){e=k("img"),c(e,"data-testid","luigi-topnav-logo"),c(e,"alt",i[2]),c(e,"class","svelte-sikqr4")},m(t,n){E(t,e,n),i[28](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&R(e),i[28](null)}}}function sd(i){let e;return{c(){e=k("img"),c(e,"data-testid","luigi-topnav-logo"),c(e,"alt",i[2]),c(e,"class","svelte-sikqr4")},m(t,n){E(t,e,n),i[26](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&R(e),i[26](null)}}}function ad(i){let e,t;function n(o,f){return o[3]?C2:y2}let l=n(i),r=l(i),s=i[10]&&md(i);return{c(){r.c(),e=K(),s&&s.c(),t=ke()},m(o,f){r.m(o,f),E(o,e,f),s&&s.m(o,f),E(o,t,f)},p(o,f){l===(l=n(o))&&r?r.p(o,f):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,f):(s=md(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&R(e),s&&s.d(o),o&&R(t)}}}function C2(i){let e,t,n,l,r,s,o,f,g,h;function _(y,C){return y[12]?N2:P2}let p=_(i),b=p(i),v=i[4]&&i[5]&&hd(i),S=i[7]&&i[7].length>0&&gd(i);return{c(){e=k("div"),t=k("div"),b.c(),n=K(),l=k("div"),r=k("nav"),s=k("ul"),v&&v.c(),o=K(),S&&S.c(),c(t,"class","fd-popover__control"),c(s,"class","fd-menu__list fd-menu__list--no-shadow"),c(r,"class","fd-menu"),c(l,"class","fd-popover__body fd-popover__body--left"),c(l,"aria-hidden",f=!i[11].appSwitcherPopover),c(l,"id","appSwitcherPopover"),c(e,"class","fd-popover")},m(y,C){E(y,e,C),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),v&&v.m(s,null),w(s,o),S&&S.m(s,null),i[36](s),g||(h=se(t,"click",Ut(E2)),g=!0)},p(y,C){p===(p=_(y))&&b?b.p(y,C):(b.d(1),b=p(y),b&&(b.c(),b.m(t,null))),y[4]&&y[5]?v?v.p(y,C):(v=hd(y),v.c(),v.m(s,o)):v&&(v.d(1),v=null),y[7]&&y[7].length>0?S?S.p(y,C):(S=gd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null),C[0]&2048&&f!==(f=!y[11].appSwitcherPopover)&&c(l,"aria-hidden",f)},d(y){y&&R(e),b.d(),v&&v.d(),S&&S.d(),i[36](null),g=!1,h()}}}function y2(i){let e;function t(r,s){return r[12]?A2:L2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,s){l.m(r,s),E(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&R(e)}}}function P2(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g;return{c(){e=k("button"),t=k("span"),l=Ne(n),r=K(),s=k("i"),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),f||(g=se(e,"click",Ut(i[34])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&R(e),f=!1,g()}}}function N2(i){let e,t,n,l=i[7]&&i[7].length===1&&od(i),r=i[7]&&i[7].length>1&&ud(i),s=i[7].length>1&&!i[5]&&dd(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=K(),s&&s.c(),n=ke()},m(o,f){l&&l.m(o,f),E(o,e,f),r&&r.m(o,f),E(o,t,f),s&&s.m(o,f),E(o,n,f)},p(o,f){o[7]&&o[7].length===1?l?l.p(o,f):(l=od(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,f):(r=ud(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,f):(s=dd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&R(e),r&&r.d(o),o&&R(t),s&&s.d(o),o&&R(n)}}}function od(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=k("a"),t=k("span"),l=Ne(n),c(e,"href",r=i[22](i[7][0])),c(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){E(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Te(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&c(e,"href",r)},d(s){s&&R(e)}}}function ud(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=cd(ld(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=ld(l,t,s);n[s]?n[s].p(o,r):(n[s]=cd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function fd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g,h,_;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),o=K(),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"href",f=i[22](i[43])),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(p,b){E(p,e,b),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),h||(_=se(e,"click",Mt(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Te(l,n),b[0]&128&&f!==(f=p[22](p[43]))&&c(e,"href",f),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",g)},d(p){p&&R(e),h=!1,_()}}}function cd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&fd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=fd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&R(t)}}}function dd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,f,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),r=K(),s=k("i"),c(t,"class","fd-shellbar__title svelte-sikqr4"),c(t,"data-testid","luigi-topnav-title"),c(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),c(e,"href","/"),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),c(e,"aria-haspopup","true"),c(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),c(e,"data-testid","app-switcher")},m(h,_){E(h,e,_),w(e,t),w(t,l),w(e,r),w(e,s),f||(g=se(e,"click",Mt(i[33])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Te(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&R(e),f=!1,g()}}}function hd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,f;return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),c(n,"class","fd-menu__title"),c(t,"href","/"),c(t,"role","button"),c(t,"class","fd-menu__link"),c(t,"data-testid",s=i[20](i[6])),c(e,"class","fd-menu__item")},m(g,h){E(g,e,h),w(e,t),w(t,n),w(n,r),o||(f=se(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Te(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&c(t,"data-testid",s)},d(g){g&&R(e),o=!1,f()}}}function gd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=pd(id(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=id(l,t,s);n[s]?n[s].p(o,r):(n[s]=pd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function I2(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,f,g,h;function _(...p){return i[35](i[43],...p)}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),f=K(),c(n,"class","fd-menu__title"),c(t,"role","button"),c(t,"class","fd-menu__link"),c(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),c(t,"data-testid",o=i[20](i[43])),c(e,"class","fd-menu__item")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,f),g||(h=se(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Te(r,l),b[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&c(t,"href",s),b[0]&128&&o!==(o=i[20](i[43]))&&c(t,"data-testid",o)},d(p){p&&R(e),g=!1,h()}}}function T2(i){let e,t=i[16]&&_d(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=_d(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function _d(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new _r(!1),l=K(),t.a=l,c(e,"class","fd-menu__item"),c(e,"tabindex","0")},m(r,s){E(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&R(e)}}}function pd(i){let e,t,n;function l(o,f){if(f[0]&256&&(e=null),f[0]&672&&(t=null),e==null&&(e=!!ne.isFunction(o[8])),e)return T2;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return I2}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=ke()},m(o,f){s&&s.m(o,f),E(o,n,f)},p(o,f){r===(r=l(o,f))&&s?s.p(o,f):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&R(n)}}}function L2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("span"),t=k("span"),l=Ne(n),c(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),c(e,"data-testid","luigi-topnav-title")},m(o,f){E(o,e,f),w(e,t),w(t,l),r||(s=se(e,"click",i[31]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&R(e),r=!1,s()}}}function A2(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=k("a"),t=k("span"),l=Ne(n),c(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),c(e,"data-testid","luigi-topnav-title"),c(e,"href","/")},m(o,f){E(o,e,f),w(e,t),w(t,l),r||(s=se(e,"click",i[30]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&R(e),r=!1,s()}}}function md(i){let e,t=i[17](i[10])+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Te(n,t)},d(l){l&&R(e)}}}function R2(i){let e,t;function n(o,f){return o[12]?k2:S2}let l=n(i),r=l(i),s=i[2]&&ad(i);return{c(){r.c(),e=K(),s&&s.c(),t=ke()},m(o,f){r.m(o,f),E(o,e,f),s&&s.m(o,f),E(o,t,f)},p(o,f){l===(l=n(o))&&r?r.p(o,f):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?s?s.p(o,f):(s=ad(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:Fe,o:Fe,d(o){r.d(o),o&&R(e),s&&s.d(o),o&&R(t)}}}const E2=()=>{};function D2(i,e,t){let n;const l=Ht();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:f}=e,{dropDownStates:g={}}=e,{showMainAppEntry:h}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:v}=e,{pathParams:S}=e,{subTitle:y}=e,{defaultSubTitle:C}=e,{pathData:P}=e,{addNavHrefForAnchor:I}=e,T,A,L=ht("getUnsavedChangesModalPromise"),O=ht("getTranslation");ki(i,O,be=>t(17,n=be));let H=ht("store");const F={closeDropDown:()=>{ie("appSwitcherPopover")}},B=()=>({get:()=>({pathData:P,pathParams:S,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:y,defaultSubTitle:C,showMainAppEntry:h,hasApps:f,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(Ge=>{Ge==="pathData"?t(24,P=be.pathData):Ge==="appSwitcherItems"?t(7,b=be.appSwitcherItems):Ge==="itemRenderer"?t(8,v=be.itemRenderer):Ge==="pathParams"?t(9,S=be.pathParams):Ge==="selectedItem"?t(5,_=be.selectedItem):Ge==="title"?t(2,o=be.title):Ge==="defaultSubTitle"?t(23,C=be.defaultSubTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="defaultTitle"?t(6,p=be.defaultTitle):Ge==="subTitle"?t(10,y=be.subTitle):Ge==="showMainAppEntry"?t(4,h=be.showMainAppEntry):Ge==="hasApps"?t(3,f=be.hasApps):Ge==="hasLogo"&&t(1,s=be.hasLogo)})},store:H});Jt(()=>{v2(B())}),zn(()=>{(!A||A!=P)&&(m_(B()),A=P)});function G(be,Ge,St){return setTimeout(()=>{Ge&&v(be,Ge.children[St],F)}),""}function x(be){L().then(()=>{et.navigateTo(me.applyPathParams(be,S))},()=>{})}function $(){L().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),ie("appSwitcherPopover")}function ie(be){l("toggleDropdownState",{name:be})}function W(be){return be.testId?be.testId:Se.prepareForTests(be.title||be)}function ue(be,Ge){if(be.link){const St=me.applyPathParams(be.link,Ge);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function ee(be){return me.getNodeHref(be)}function Y(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Pe=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")};function le(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>x("/"),Ie=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&x("/")},ce=()=>x("/"),Z=()=>ie("appSwitcherPopover"),he=()=>ie("appSwitcherPopover"),ae=()=>ie("appSwitcherPopover"),Ve=(be,Ge)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ge)&&x(be.link)};function He(be){$e[be?"unshift":"push"](()=>{T=be,t(16,T)})}return i.$$set=be=>{"logo"in be&&t(0,r=be.logo),"hasLogo"in be&&t(1,s=be.hasLogo),"title"in be&&t(2,o=be.title),"hasApps"in be&&t(3,f=be.hasApps),"dropDownStates"in be&&t(11,g=be.dropDownStates),"showMainAppEntry"in be&&t(4,h=be.showMainAppEntry),"selectedItem"in be&&t(5,_=be.selectedItem),"defaultTitle"in be&&t(6,p=be.defaultTitle),"appSwitcherItems"in be&&t(7,b=be.appSwitcherItems),"itemRenderer"in be&&t(8,v=be.itemRenderer),"pathParams"in be&&t(9,S=be.pathParams),"subTitle"in be&&t(10,y=be.subTitle),"defaultSubTitle"in be&&t(23,C=be.defaultSubTitle),"pathData"in be&&t(24,P=be.pathData),"addNavHrefForAnchor"in be&&t(12,I=be.addNavHrefForAnchor)},[r,s,o,f,h,_,p,b,v,S,y,g,I,x,$,ie,T,n,O,G,W,ue,ee,C,P,pe,Y,Pe,le,Ue,Ie,ce,Z,he,ae,Ve,He]}class V2 extends Rt{constructor(e){super(),At(this,e,D2,R2,Tt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function bd(i,e,t){const n=i.slice();return n[34]=e[t],n}function vd(i){let e,t,n,l,r,s,o=i[0]&&wd(i),f=(i[10]||i[11])&&Id(i);return{c(){e=k("div"),o&&o.c(),t=K(),n=k("div"),l=k("div"),r=k("div"),s=k("div"),f&&f.c(),c(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),c(s,"class","fd-bar__element"),c(r,"class","fd-bar__right"),c(l,"class","fd-bar fd-bar--footer"),c(n,"class","fd-popover__body-footer")},m(g,h){E(g,e,h),o&&o.m(e,null),E(g,t,h),E(g,n,h),w(n,l),w(l,r),w(r,s),f&&f.m(s,null)},p(g,h){g[0]?o?o.p(g,h):(o=wd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?f?f.p(g,h):(f=Id(g),f.c(),f.m(s,null)):f&&(f.d(1),f=null)},d(g){g&&R(e),o&&o.d(),g&&R(t),g&&R(n),f&&f.d()}}}function wd(i){let e,t,n,l,r,s,o;function f(y,C){return y[7].picture?O2:M2}let g=f(i),h=g(i),_=i[7].name&&Sd(i),p=i[7].description&&kd(i),b=i[9].items,v=[];for(let y=0;y<b.length;y+=1)v[y]=yd(bd(i,b,y));let S=i[12]&&Pd(i);return{c(){e=k("div"),h.c(),t=K(),n=k("div"),_&&_.c(),l=K(),p&&p.c(),r=K(),s=k("ul");for(let y=0;y<v.length;y+=1)v[y].c();o=K(),S&&S.c(),c(e,"class","fd-user-menu__header"),c(n,"class","fd-user-menu__subheader"),c(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),c(s,"role","list")},m(y,C){E(y,e,C),h.m(e,null),E(y,t,C),E(y,n,C),_&&_.m(n,null),w(n,l),p&&p.m(n,null),E(y,r,C),E(y,s,C);for(let P=0;P<v.length;P+=1)v[P].m(s,null);w(s,o),S&&S.m(s,null)},p(y,C){if(g===(g=f(y))&&h?h.p(y,C):(h.d(1),h=g(y),h&&(h.c(),h.m(e,null))),y[7].name?_?_.p(y,C):(_=Sd(y),_.c(),_.m(n,l)):_&&(_.d(1),_=null),y[7].description?p?p.p(y,C):(p=kd(y),p.c(),p.m(n,null)):p&&(p.d(1),p=null),C[0]&991884){b=y[9].items;let P;for(P=0;P<b.length;P+=1){const I=bd(y,b,P);v[P]?v[P].p(I,C):(v[P]=yd(I),v[P].c(),v[P].m(s,o))}for(;P<v.length;P+=1)v[P].d(1);v.length=b.length}y[12]?S?S.p(y,C):(S=Pd(y),S.c(),S.m(s,null)):S&&(S.d(1),S=null)},d(y){y&&R(e),h.d(),y&&R(t),y&&R(n),_&&_.d(),p&&p.d(),y&&R(r),y&&R(s),ct(v,y),S&&S.d()}}}function M2(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=k("span"),n=Ne(t),c(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),c(e,"aria-label","Avatar")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Te(n,t)},d(l){l&&R(e)}}}function O2(i){let e;return{c(){e=k("span"),c(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),c(e,"aria-label","Avatar"),c(e,"data-testid","luigi-topnav-profile-avatar"),oi(e,"background-image","url('"+i[7].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&R(e)}}}function Sd(i){let e,t=i[7].name+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-user-menu__user-name svelte-x3xwcc"),c(e,"id","username"),c(e,"data-testid","luigi-topnav-profile-username")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Te(n,t)},d(l){l&&R(e)}}}function kd(i){let e,t=i[7].description+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-user-menu__user-role svelte-x3xwcc"),c(e,"data-testid","luigi-topnav-profile-description")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Te(n,t)},d(l){l&&R(e)}}}function Cd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?U2:F2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function F2(i){let e,t;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),oi(e,"background-image","url('"+i[7].icon+"')"),c(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&oi(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&c(e,"alt",t)},d(n){n&&R(e)}}}function U2(i){let e,t;return{c(){e=k("i"),c(e,"role","presentation"),c(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&c(e,"class",t)},d(n){n&&R(e)}}}function yd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,f,g,h,_=i[34].icon&&Cd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-list__title svelte-x3xwcc"),c(t,"tabindex","0"),c(t,"class","fd-list__link"),c(t,"data-testid","luigi-topnav-profile-item"),c(t,"href",o=i[2]?i[19](i[34]):void 0),c(e,"tabindex","-1"),c(e,"role","listitem"),c(e,"class","fd-list__item fd-list__item--link"),c(e,"data-testid",f=i[18](i[34]))},m(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Cd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&c(t,"href",o),v[0]&512&&f!==(f=i[18](i[34]))&&c(e,"data-testid",f)},d(b){b&&R(e),_&&_.d(),g=!1,Ze(h)}}}function Pd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,f,g=i[9].settings.icon&&Nd(i);return{c(){e=k("li"),t=k("a"),g&&g.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-list__title svelte-x3xwcc"),c(t,"tabindex","0"),c(t,"class","fd-list__link"),c(t,"title","User Settings"),c(t,"data-testid","settings-link"),c(e,"tabindex","-1"),c(e,"role","listitem"),c(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(h,_){E(h,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(f=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],o=!0)},p(h,_){h[9].settings.icon?g?g.p(h,_):(g=Nd(h),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Te(s,r)},d(h){h&&R(e),g&&g.d(),o=!1,Ze(f)}}}function Nd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?H2:B2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function B2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),lt(e.src,t=i[9].settings.icon)||c(e,"src",t),c(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].settings.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function H2(i){let e,t;return{c(){e=k("i"),c(e,"role","presentation"),c(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&c(e,"class",t)},d(n){n&&R(e)}}}function Id(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Td(i),l=i[10]&&!i[8]&&Ld(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Td(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Ld(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&R(e),l&&l.d(r),r&&R(t)}}}function Td(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=k("div"),t=k("button"),l=Ne(n),c(t,"class","fd-button fd-button--transparent fd-button--compact"),c(t,"tabindex","0"),c(t,"data-testid","logout-btn"),c(e,"class","fd-bar__element"),c(e,"data-testid",r=i[18](i[9].logout))},m(f,g){E(f,e,g),w(e,t),w(t,l),s||(o=se(t,"click",i[4]),s=!0)},p(f,g){g[0]&8704&&n!==(n=f[13](f[9].logout.label)+"")&&Te(l,n),g[0]&512&&r!==(r=f[18](f[9].logout))&&c(e,"data-testid",r)},d(f){f&&R(e),s=!1,o()}}}function Ld(i){let e,t,n,l,r;return{c(){e=k("button"),e.textContent="Login",t=K(),n=k("button"),n.textContent="Login",c(e,"class","fd-button fd-button--transparent fd-button--compact"),c(e,"tabindex","0"),c(e,"data-testid","login-btn"),c(n,"class","fd-button fd-button--transparent fd-button--compact"),c(n,"tabindex","0"),c(n,"data-testid","login-btn")},m(s,o){E(s,e,o),E(s,t,o),E(s,n,o),l||(r=[se(e,"click",i[15]),se(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&R(e),s&&R(t),s&&R(n),l=!1,Ze(r)}}}function W2(i){let e,t=!i[1]&&vd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=vd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function z2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Y=>{t(8,f=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function T(Y){return Se.renderIconClassName(Y)}function A(Y){return Se.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:Se.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function H(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),le=Pe||await re.getConfigValueAsync("settings.userSettings"),Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(le)){const Ie=le.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&ne.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(le))},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function B(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){xr.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===Xr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ie}=e;const W=Y=>{Se.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>B(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ie=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ie=Boolean(o&&(o.name||o.email)))},[ie,r,s,B,G,x,pe,o,f,g,h,_,p,n,y,I,T,A,L,O,H,F,$,W,ue,ee]}class q2 extends Rt{constructor(e){super(),At(this,e,z2,W2,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Ad(i,e,t){const n=i.slice();return n[34]=e[t],n}function Rd(i){let e,t,n,l,r,s=i[0]&&Ed(i),o=i[9].items,f=[];for(let _=0;_<o.length;_+=1)f[_]=Vd(Ad(i,o,_));let g=i[12]&&Md(i),h=(i[10]||i[11])&&Fd(i);return{c(){e=k("nav"),t=k("ul"),s&&s.c(),n=K();for(let _=0;_<f.length;_+=1)f[_].c();l=K(),g&&g.c(),r=K(),h&&h.c(),c(t,"class","fd-menu__list fd-menu__list--no-shadow"),c(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(_,p){E(_,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let b=0;b<f.length;b+=1)f[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),h&&h.m(t,null)},p(_,p){if(_[0]?s?s.p(_,p):(s=Ed(_),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const v=Ad(_,o,b);f[b]?f[b].p(v,p):(f[b]=Vd(v),f[b].c(),f[b].m(t,l))}for(;b<f.length;b+=1)f[b].d(1);f.length=o.length}_[12]?g?g.p(_,p):(g=Md(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?h?h.p(_,p):(h=Fd(_),h.c(),h.m(t,null)):h&&(h.d(1),h=null)},d(_){_&&R(e),s&&s.d(),ct(f,_),g&&g.d(),h&&h.d()}}}function Ed(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=k("li"),t=k("span"),l=Ne(n),c(t,"aria-label","Username"),c(t,"id","username"),c(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),c(t,"data-testid","luigi-topnav-profile-username"),c(e,"class","fd-menu__item")},m(r,s){E(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Te(l,n)},d(r){r&&R(e)}}}function Dd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?K2:G2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function G2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[34].icon)||c(e,"src",t),c(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[34].icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function K2(i){let e,t;return{c(){e=k("span"),c(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&c(e,"class",t)},d(n){n&&R(e)}}}function Vd(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,f,g,h,_=i[34].icon&&Dd(i);function p(){return i[24](i[34])}return{c(){e=k("li"),t=k("a"),_&&_.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"class","fd-menu__link"),c(t,"data-testid","luigi-topnav-profile-item"),c(t,"href",o=i[2]?i[19](i[34]):void 0),c(e,"class","fd-menu__item"),c(e,"data-testid",f=i[18](i[34]))},m(b,v){E(b,e,v),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,s),g||(h=[se(t,"click",i[23]),se(e,"click",p)],g=!0)},p(b,v){i=b,i[34].icon?_?_.p(i,v):(_=Dd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),v[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),v[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&c(t,"href",o),v[0]&512&&f!==(f=i[18](i[34]))&&c(e,"data-testid",f)},d(b){b&&R(e),_&&_.d(),g=!1,Ze(h)}}}function Md(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,f,g,h=i[9].settings.icon&&Od(i);return{c(){e=k("li"),t=k("a"),h&&h.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"tabindex","0"),c(t,"title","User Settings"),c(t,"class","fd-menu__link"),c(t,"data-testid","settings-link"),c(e,"tabindex","-1"),c(e,"class","fd-menu__item lui-anchor-node"),c(e,"data-testid",o=i[18](i[9].settings))},m(_,p){E(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),f||(g=[se(e,"click",Mt(i[5])),se(e,"keyup",i[25])],f=!0)},p(_,p){_[9].settings.icon?h?h.p(_,p):(h=Od(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&c(e,"data-testid",o)},d(_){_&&R(e),h&&h.d(),f=!1,Ze(g)}}}function Od(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?J2:j2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function j2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[9].settings.icon)||c(e,"src",t),c(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].settings.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function J2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&c(e,"class",t)},d(n){n&&R(e)}}}function Fd(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Ud(i),l=i[10]&&!i[8]&&Hd(i);return{c(){n&&n.c(),e=K(),l&&l.c(),t=ke()},m(r,s){n&&n.m(r,s),E(r,e,s),l&&l.m(r,s),E(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=Ud(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Hd(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&R(e),l&&l.d(r),r&&R(t)}}}function Ud(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,f,g,h=i[9].logout.icon&&Bd(i);return{c(){e=k("li"),t=k("button"),h&&h.c(),n=K(),l=k("span"),s=Ne(r),c(l,"class","fd-menu__title"),c(t,"title","Logout"),c(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),c(t,"data-testid","logout-btn"),c(e,"class","fd-menu__item svelte-1lwfozx"),c(e,"data-testid",o=i[18](i[9].logout))},m(_,p){E(_,e,p),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),f||(g=se(e,"click",i[4]),f=!0)},p(_,p){_[9].logout.icon?h?h.p(_,p):(h=Bd(_),h.c(),h.m(t,n)):h&&(h.d(1),h=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Te(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&c(e,"data-testid",o)},d(_){_&&R(e),h&&h.d(),f=!1,g()}}}function Bd(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?Q2:Y2}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function Y2(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),lt(e.src,t=i[9].logout.icon)||c(e,"src",t),c(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){E(l,e,r)},p(l,r){r[0]&512&&!lt(e.src,t=l[9].logout.icon)&&c(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Q2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){E(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&c(e,"class",t)},d(n){n&&R(e)}}}function Hd(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>',c(e,"class","fd-menu__item")},m(l,r){E(l,e,r),t||(n=se(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&R(e),t=!1,n()}}}function Z2(i){let e,t=!i[1]&&Rd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Rd(n),t.c(),t.m(e.parentNode,e))},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function X2(i,e,t){let n;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,S=ht("store"),y=ht("getTranslation");ki(i,y,Y=>t(13,n=Y));let C=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Y=>{t(8,f=Y)}),nn.getUserInfoStore().subscribe(Y=>{t(7,o=Y),l("userInfoUpdated",o)})});function I(){nn.startAuthorization()}function T(Y){return Se.renderIconClassName(Y)}function A(Y){return Se.isOpenUIiconName(Y.icon)}function L(Y){return Y.testId?Y.testId:Se.prepareForTests(Y.label)}function O(Y){return me.getNodeHref(Y)}function H(){b||(on.doOnStoreChange(S,async()=>{const Y=await re.getConfigValueAsync("navigation.profile.logout"),Pe=await re.getConfigValueAsync("userSettings"),le=Pe||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(le));const Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ie=le.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...Ie}}Ue.logout={...ul.logout,...Y},t(11,_=Boolean(Y)),v=!1,nn.setProfileLogoutFn(null),Y&&ne.isFunction(Y.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Y.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const Y=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Y&&(nn.setUserInfo(o),t(7,o=Y),l("userInfoUpdated",o))}function B(Y){C().then(()=>{if(Y.openNodeInModal){const Pe=me.buildRoute(Y,`${Y.link}`);P(Pe,Y.openNodeInModal===!0?{}:Y.openNodeInModal)}else et.navigateToLink(Y)},()=>{}),l("toggleDropdownState")}function G(){C().then(()=>{h?$():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function x(){xr.openUserSettings(),l("toggleDropdownState")}function $(){nn.logout()}function pe({keyCode:Y}){(Y===Si||Y===Xr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ie}=e;const W=Y=>{Se.handleNavAnchorClickedWithoutMetaKey(Y)},ue=Y=>B(Y),ee=Y=>pe(Y);return i.$$set=Y=>{"isHidden"in Y&&t(1,r=Y.isHidden),"addNavHrefForAnchor"in Y&&t(2,s=Y.addNavHrefForAnchor),"showUserInfo"in Y&&t(0,ie=Y.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ie=Boolean(o&&(o.name||o.email)))},[ie,r,s,B,G,x,pe,o,f,g,h,_,p,n,y,I,T,A,L,O,H,F,$,W,ue,ee]}class b_ extends Rt{constructor(e){super(),At(this,e,X2,Z2,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Wd(i,e,t){const n=i.slice();return n[12]=e[t],n}function zd(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kd(Wd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let f;for(f=0;f<n.length;f+=1){const g=Wd(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=Kd(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function qd(i){let e,t,n,l,r,s,o,f,g=i[4](i[12])+"",h,_,p=i[5](i[12]),b,v,S,y,C,P;function I(H,F){return F&10&&(n=null),n==null&&(n=!!H[3](H[12])),n?x2:$2}let T=I(i,-1),A=T(i);r=new ti({props:{node:i[12]}});let L=p&&Gd(i);function O(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),A.c(),l=K(),qe(r.$$.fragment),s=K(),o=k("div"),f=k("div"),h=Ne(g),_=K(),L&&L.c(),b=K(),c(t,"class","lui-product-switch__icon svelte-503htr"),c(f,"class","fd-product-switch__title svelte-503htr"),c(o,"class","fd-product-switch__text svelte-503htr"),c(e,"class",v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),c(e,"data-e2e","mobile-topnav-item"),c(e,"data-testid",S=i[2](i[12]))},m(H,F){E(H,e,F),w(e,t),A.m(t,null),w(t,l),We(r,t,null),w(e,s),w(e,o),w(o,f),w(f,h),w(o,_),L&&L.m(o,null),w(e,b),y=!0,C||(P=se(e,"click",O),C=!0)},p(H,F){i=H,T===(T=I(i,F))&&A?A.p(i,F):(A.d(1),A=T(i),A&&(A.c(),A.m(t,l)));const B={};F&2&&(B.node=i[12]),r.$set(B),(!y||F&18)&&g!==(g=i[4](i[12])+"")&&Te(h,g),F&34&&(p=i[5](i[12])),p?L?L.p(i,F):(L=Gd(i),L.c(),L.m(o,null)):L&&(L.d(1),L=null),(!y||F&66&&v!==(v="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&c(e,"class",v),(!y||F&6&&S!==(S=i[2](i[12])))&&c(e,"data-testid",S)},i(H){y||(M(r.$$.fragment,H),y=!0)},o(H){q(r.$$.fragment,H),y=!1},d(H){H&&R(e),A.d(),ze(r),L&&L.d(),C=!1,P()}}}function $2(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[12].icon)||c(e,"src",t),c(e,"alt",n=i[12].altText?i[12].altText:""),c(e,"class","svelte-503htr")},m(l,r){E(l,e,r)},p(l,r){r&2&&!lt(e.src,t=l[12].icon)&&c(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function x2(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){E(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&c(e,"class",t)},d(n){n&&R(e)}}}function Gd(i){let e,t=i[5](i[12])+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Te(n,t)},d(l){l&&R(e)}}}function Kd(i){let e,t,n=i[12].label&&qd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function ek(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I,T=i[1]&&zd(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),o=Ne(i[0]),f=K(),g=k("div"),h=k("div"),_=k("ul"),T&&T.c(),p=K(),b=k("footer"),v=k("div"),S=k("div"),y=k("button"),y.textContent="Cancel",c(s,"class","fd-title fd-title--h5"),c(s,"id","dialog-title-4"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(n,"class","fd-dialog__header fd-bar fd-bar--header"),c(_,"class","fd-product-switch__list"),c(h,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),c(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),c(y,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(y,"data-testid","mobile-topnav-close"),c(S,"class","fd-bar__element"),c(v,"class","fd-bar__right"),c(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),c(t,"class","fd-dialog__content fd-dialog__content--mobile"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-4"),c(e,"class","fd-dialog fd-dialog--active")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,f),w(t,g),w(g,h),w(h,_),T&&T.m(_,null),w(t,p),w(t,b),w(b,v),w(v,S),w(S,y),C=!0,P||(I=[se(y,"click",i[9]),se(e,"click",Ut(tk))],P=!0)},p(A,[L]){(!C||L&1)&&Te(o,A[0]),A[1]?T?(T.p(A,L),L&2&&M(T,1)):(T=zd(A),T.c(),M(T,1),T.m(_,null)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye())},i(A){C||(M(T),C=!0)},o(A){q(T),C=!1},d(A){A&&R(e),T&&T.d(),P=!1,Ze(I)}}}const tk=()=>{};function nk(i,e,t){const n=Ht();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:f}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(S){return Se.renderIconClassName(S)}function p(S){n("listClick",S)}function b(S){Al.call(this,i,S)}const v=S=>p(S);return i.$$set=S=>{"label"in S&&t(0,l=S.label),"nodes"in S&&t(1,r=S.nodes),"getTestId"in S&&t(2,s=S.getTestId),"hasOpenUIicon"in S&&t(3,o=S.hasOpenUIicon),"getNodeLabel"in S&&t(4,f=S.getNodeLabel),"getNodeSubtitle"in S&&t(5,g=S.getNodeSubtitle),"noSubTitle"in S&&t(6,h=S.noSubTitle)},[l,r,s,o,f,g,h,p,_,b,v]}class v_ extends Rt{constructor(e){super(),At(this,e,nk,ek,Tt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:ik}=Fi;function jd(i,e,t){const n=i.slice();return n[6]=e[t],n}function Jd(i){let e,t,n,l=i[0]&&Yd(i);return{c(){e=k("nav"),t=k("ul"),l&&l.c(),c(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),c(e,"class","fd-menu")},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&M(l,1)):(l=Yd(r),l.c(),M(l,1),l.m(t,null)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){r&&R(e),l&&l.d()}}}function Yd(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=Zd(jd(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o&16005){n=s[0];let f;for(f=0;f<n.length;f+=1){const g=jd(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=Zd(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function Qd(i){let e,t,n,l,r,s,o,f,g=i[11](i[6])+"",h,_,p,b,v,S,y;function C(A,L){return L&1&&(l=null),l==null&&(l=!!(A[6].icon&&A[9](A[6]))),l?rk:lk}let P=C(i,-1),I=P(i);s=new ti({props:{node:i[6]}});function T(){return i[15](i[6])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),f=k("span"),h=Ne(g),p=K(),c(n,"class","fd-top-nav__icon svelte-1gqx0dl"),c(f,"class","fd-menu__title"),c(t,"href",_=i[7]?i[13](i[6]):void 0),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",b=i[12](i[6]))},m(A,L){E(A,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,f),w(f,h),w(e,p),v=!0,S||(y=[se(t,"click",i[14]),se(e,"click",T)],S=!0)},p(A,L){i=A,P===(P=C(i,L))&&I?I.p(i,L):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};L&1&&(O.node=i[6]),s.$set(O),(!v||L&1)&&g!==(g=i[11](i[6])+"")&&Te(h,g),(!v||L&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&c(t,"href",_),(!v||L&1&&b!==(b=i[12](i[6])))&&c(e,"data-testid",b)},i(A){v||(M(s.$$.fragment,A),v=!0)},o(A){q(s.$$.fragment,A),v=!1},d(A){A&&R(e),I.d(),ze(s),S=!1,Ze(y)}}}function lk(i){let e,t,n;return{c(){e=k("img"),c(e,"class","sap-icon svelte-1gqx0dl"),lt(e.src,t=i[6].icon)||c(e,"src",t),c(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[6].icon)&&c(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function rk(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&c(e,"class",t)},d(n){n&&R(e)}}}function Zd(i){let e,t,n=i[6].label&&Qd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Xd(i){let e,t;return e=new v_({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function sk(i){let e,t,n,l,r,s=!i[1]&&Jd(i),o=i[1]&&Xd(i);return{c(){s&&s.c(),e=K(),o&&o.c(),t=ke()},m(f,g){s&&s.m(f,g),E(f,e,g),o&&o.m(f,g),E(f,t,g),n=!0,l||(r=se(ik,"resize",aa),l=!0)},p(f,[g]){f[1]?s&&(Ce(),q(s,1,1,()=>{s=null}),ye()):s?(s.p(f,g),g&2&&M(s,1)):(s=Jd(f),s.c(),M(s,1),s.m(e.parentNode,e)),f[1]?o?(o.p(f,g),g&2&&M(o,1)):(o=Xd(f),o.c(),M(o,1),o.m(t.parentNode,t)):o&&(Ce(),q(o,1,1,()=>{o=null}),ye())},i(f){n||(M(s),M(o),n=!0)},o(f){q(s),q(o),n=!1},d(f){s&&s.d(f),f&&R(e),o&&o.d(f),f&&R(t),l=!1,r()}}}function aa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function ak(i,e,t){const n=Ht();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,f=ht("getUnsavedChangesModalPromise"),g=ht("openViewInModal"),h;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});Jt(async()=>{aa()}),zn(async()=>{r||t(0,r=await Vt.getChildren(s)),t(0,r)});function b(O){f().then(()=>{if(O.openNodeInModal){const H=me.buildRoute(O,`/${O.pathSegment}`);g(H,O.openNodeInModal===!0?{}:O.openNodeInModal)}else et.handleRouteClick(O,p())},()=>{}),S()}function v(O){b(O.detail)}function S(){n("close")}function y(O){return Se.isOpenUIiconName(O.icon)}function C(O){return Se.renderIconClassName(O)}function P(O){return pt.getTranslation(O.label)}function I(O){return O.testId?O.testId:Se.prepareForTests(O.pathSegment,O.label)}function T(O){return me.getNodeHref(O,o)}const A=O=>{Se.handleNavAnchorClickedWithoutMetaKey(O)},L=O=>b(O);return i.$$set=O=>{"isMobile"in O&&t(1,l=O.isMobile),"children"in O&&t(0,r=O.children),"node"in O&&t(6,s=O.node)},[r,l,b,v,S,aa,s,h,_,y,C,P,I,T,A,L]}class w_ extends Rt{constructor(e){super(),At(this,e,ak,sk,Tt,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return aa}}const _n={_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?ne.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=ne.addLeadingSlash(et.getCurrentPath()),n=ne.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ne.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=ne.normalizePath(i),n=ne.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=re.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=_n._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=ne.normalizePath(i),t=ne.normalizePath(t),!!_n.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=_n.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 _n.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=re.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await re.getConfigValueAsync("navigation.contextSwitcher.options");return await _n.generateSwitcherNav(e,t)}};function $d(i,e,t){const n=i.slice();return n[21]=e[t],n}function xd(i,e,t){const n=i.slice();return n[21]=e[t],n}function eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function th(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=ih(eh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=eh(l,t,s);n[s]?n[s].p(o,r):(n[s]=ih(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function nh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,f,g,h;function _(){return i[15](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),c(n,"class","fd-menu__title"),c(t,"href",s=i[8](i[21])),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",f=i[9](i[21]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",Mt(gk)),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&c(t,"href",s),b&513&&f!==(f=i[9](i[21]))&&c(e,"data-testid",f)},d(p){p&&R(e),g=!1,Ze(h)}}}function ih(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&nh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),E(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=nh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&R(t)}}}function lh(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>
|
|
54
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function ok(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y=(i[6]||i[5]&&i[0].header)&&Jf(i),P=i[5]&&Yf(i),A=i[4]&&Qf();return{c(){e=S("div"),t=S("div"),y&&y.c(),n=q(),l=S("div"),P&&P.c(),r=q(),a=S("div"),h=q(),A&&A.c(),f(a,"class",o="iframeModalCtn "+(i[5]?"_drawer":"_modal")+" svelte-k9bftu"),f(a,"modal-container-index",c=i[5]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),f(t,"class",d="fd-dialog__content "+(i[5]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),f(t,"data-testid",_=i[6]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=ei(i[6]||i[5]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",b=i[6]?"z-index:1001":"")},m(N,D){L(N,e,D),w(e,t),y&&y.m(t,null),w(t,n),w(t,l),P&&P.m(l,null),w(l,r),w(l,a),w(t,h),A&&A.m(t,null),m=!0,v||(C=le(sk,"keydown",i[3]),v=!0)},p(N,[D]){N[6]||N[5]&&N[0].header?y?(y.p(N,D),D&97&&R(y,1)):(y=Jf(N),y.c(),R(y,1),y.m(t,n)):y&&(we(),B(y,1,1,()=>{y=null}),ke()),N[5]?P?(P.p(N,D),D&32&&R(P,1)):(P=Yf(N),P.c(),R(P,1),P.m(l,r)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),(!m||D&32&&o!==(o="iframeModalCtn "+(N[5]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(a,"class",o),(!m||D&34&&c!==(c=N[5]?void 0:N[1]))&&f(a,"modal-container-index",c),N[4]?A||(A=Qf(),A.c(),A.m(t,null)):A&&(A.d(1),A=null),(!m||D&35&&d!==(d="fd-dialog__content "+(N[5]?N[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+N[1])+" svelte-k9bftu"))&&f(t,"class",d),(!m||D&64&&_!==(_=N[6]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||D&97&&p!==(p=ei(N[6]||N[5]&&N[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!m||D&64&&b!==(b=N[6]?"z-index:1001":""))&&f(e,"style",b)},i(N){m||(R(y),R(P),m=!0)},o(N){B(y),B(P),m=!1},d(N){N&&T(e),y&&y.d(),P&&P.d(),A&&A.d(),v=!1,C()}}}function uk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=zt();let _,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,A=!0,N,D=_t("store");const E=z=>ye.getNodeLabel(z),V=async z=>{const oe=z&&z.length?se.getPathWithoutHash(z):"",ie=be.parseParams(oe.split("?")[1]);b=be.getNodeParams(ie);const j=await Ft.extractDataFromPath(z);_=j.nodeObject,t(5,P=r.isDrawer||typeof _.drawer=="object"),N=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(6,A=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)),p=j.pathData,t(8,a=!0)},U=async z=>{if(!(m||v))if(a)if(_.webcomponent)t(4,C=!1),P?await K():await O(),hr.renderWebComponent(_.viewUrl,document.querySelector(N),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),d("wcCreated",{modalWC:document.querySelector(N),modalWCData:{...p,nodeParams:b}}),v=!0;else{const oe=await W(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:oe,modalIframeData:{...p,nodeParams:b}}),m=!0}else await V(z)},O=async()=>{let z,oe;const ie=document.querySelector(".lui-modal-index-"+c),{size:j,width:Le,height:re}=r,Ee=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ie.classList.remove("lui-modal-fullscreen"),Le&&Le.match(Ee)&&re&&re.match(Ee))z=re,oe=Le;else switch(j){case"fullscreen":z="100vh",oe="100vw",ie.classList.add("lui-modal-fullscreen");break;case"m":z="80%",oe="60%";break;case"s":z="80%",oe="40%";break;default:z="80%",oe="80%"}ie.setAttribute("style",`width:${oe};height:${z};`)},W=async(z,oe)=>{P?await K():await O(),z&&(z=be.substituteViewUrl(z,oe));const ie=await Re.createIframe(z,void 0,_,"modal",oe);return document.querySelector(N).appendChild(ie),ie};async function K(z){let oe="";const ie=document.getElementsByClassName("drawer"),j=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?oe="width:75%;":r.size==="m"?oe="width:50%;":r.size==="s"?oe="width:25%;":r.size==="xs"&&(oe="width:15.5%;")),r.backdrop?ie[0].setAttribute("style",oe):(j[0].setAttribute("style",oe),ie[0].setAttribute("style","width:100%"))}fs(()=>{U(o)});const X=async z=>{z.data.msg==="luigi.show-loading-indicator"&&t(4,C=!0),z.data.msg==="luigi.hide-loading-indicator"&&t(4,C=!1),z.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&Pe()),z.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),z.data.msg==="luigi.navigation.updateModalSettings"&&((z.data.updatedModalSettings.title||z.data.updatedModalSettings.title==="")&&t(0,r.title=z.data.updatedModalSettings.title,r),z.data.updatedModalSettings.size&&(t(0,r.size=z.data.updatedModalSettings.size,r),await O()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&nt.updateModalDataInUrl(be.getModalPathFromPath(),{title:r.title,size:r.size},z.data.addHistoryEntry))};Yt(()=>{un.doOnStoreChange(D,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),Vn.addEventListener("message",X),r.isDrawer&&!r.backdrop||Re.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var z;!y&&!_.webcomponent&&((z=_.loadingIndicator)==null?void 0:z.enabled)!==!1&&t(4,C=!0)},250)}),Qr(()=>{Vn.removeEventListener("message",X),r.isDrawer&&!r.backdrop||Re.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ne(z){z.keyCode===bi&&d("close")}function Pe(){let z;A?z=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):z=document.querySelector(".drawer .spinnerContainer"),z&&z.classList.contains("fade-out")&&(z.classList.remove("fade-out"),setTimeout(()=>{t(4,C=!1)},250))}const ee=()=>d("close",{activeDrawer:!1});return i.$$set=z=>{"settings"in z&&t(0,r=z.settings),"isDataPrepared"in z&&t(8,a=z.isDataPrepared),"nodepath"in z&&t(9,o=z.nodepath),"modalIndex"in z&&t(1,c=z.modalIndex),"disableBackdrop"in z&&t(2,h=z.disableBackdrop),"$$scope"in z&&t(10,l=z.$$scope)},[r,c,h,ne,C,P,A,d,a,o,l,n,ee]}class ep extends Ot{constructor(e){super(),Mt(this,e,uk,ok,At,{settings:0,isDataPrepared:8,nodepath:9,modalIndex:1,disableBackdrop:2,handleKeydown:3})}get handleKeydown(){return this.$$.ctx[3]}}function Zf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function Xf(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function $f(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function xf(i){let e,t=i[1][1].settings&&ec(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=ec(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function ec(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=uc(Zf(i,n,r));return{c(){e=S("div"),t=S("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=Zf(r,n,o);l[o]?l[o].p(c,a):(l[o]=uc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&T(e),st(l,r)}}}function tc(i){let e;function t(r,a){return r[29].isEditable||r[29].isEditable===void 0?ck:fk}let n=t(i),l=n(i);return{c(){l.c(),e=ve()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function fk(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,a){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ie(n,t),a[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function ck(i){let e,t,n,l,r;function a(){i[18].call(e,i[28])}return{c(){e=S("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){L(o,e,c),Uf(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Uf(e,i[0][i[1][0]][i[28]])},d(o){o&&T(e),l=!1,r()}}}function nc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,h,d,_,p,b,m,v=Array.isArray(i[29].options),C,y;function P(...D){return i[19](i[28],i[31],i[29],...D)}function A(){return i[20](i[29])}let N=v&&ic(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=q(),_=S("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=q(),m=S("div"),N&&N.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[31]),f(a,"disabled",h=!(i[29].isEditable===void 0||i[29].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1tiapr5"),f(r,"data-testid",p="lui-us-"+i[29].type+"-"+i[31]),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(D,E){L(D,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,_),w(t,b),w(t,m),N&&N.m(m,null),C||(y=[le(r,"keydown",P),le(n,"click",Ut(A))],C=!0)},p(D,E){i=D,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ie(c,o),E[0]&2&&h!==(h=!(i[29].isEditable===void 0||i[29].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[29].options)),v?N?N.p(i,E):(N=ic(i),N.c(),N.m(m,null)):N&&(N.d(1),N=null)},d(D){D&&T(e),N&&N.d(),C=!1,$e(y)}}}function ic(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=lc($f(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let a;for(a=0;a<t.length;a+=1){const o=$f(l,t,a);n[a]?n[a].p(o,r):(n[a]=lc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function lc(i){let e,t,n=i[12](i[32])+"",l,r,a,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=S("li"),t=S("span"),l=Ne(n),r=q(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),Dn(e,"is-selected",i[4]===i[34]),Dn(e,"is-focus",i[4]===i[34])},m(h,d){L(h,e,d),w(e,t),w(t,l),w(e,r),a||(o=[le(e,"click",c),le(e,"keydown",i[22])],a=!0)},p(h,d){i=h,d[0]&2&&n!==(n=i[12](i[32])+"")&&Ie(l,n),d[0]&16&&Dn(e,"is-selected",i[4]===i[34]),d[0]&16&&Dn(e,"is-focus",i[4]===i[34])},d(h){h&&T(e),a=!1,$e(o)}}}function rc(i){let e,t,n,l=i[29].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=ac(Xf(i,l,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1tiapr5"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[29].options;let c;for(c=0;c<l.length;c+=1){const h=Xf(a,l,c);r[c]?r[c].p(h,o):(r[c]=ac(h),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[28]+" svelte-1tiapr5")&&f(t,"class",n)},d(a){a&&T(e),st(r,a)}}}function ac(i){let e,t=i[12](i[32])+"",n,l,r,a,o,c,h,d;function _(){return i[23](i[28],i[32])}return{c(){e=S("button"),n=Ne(t),l=q(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,b){L(p,e,b),w(e,n),w(e,l),h||(d=le(e,"click",_),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[32])+"")&&Ie(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&T(e),h=!1,d()}}}function sc(i){let e,t,n,l,r,a,o,c,h,d;function _(){i[24].call(n,i[28])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=q(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,b){L(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,a),w(t,o),h||(d=le(n,"change",_),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,d()}}}function oc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(a){a&&T(e),n=!1,l()}}}function uc(i){let e,t,n,l=i[5](i[29].label)+"",r,a,o,c,h,d,_=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,b,m,v=i[29].type==="string"&&tc(i),C=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&nc(i),y=_&&rc(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&sc(i),A=i[29].type==="boolean"&&i[29].style==="checkbox"&&oc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=q(),c=S("div"),v&&v.c(),h=q(),C&&C.c(),d=q(),y&&y.c(),p=q(),P&&P.c(),b=q(),A&&A.c(),m=q(),f(n,"class","fd-form-label svelte-1tiapr5"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1tiapr5"),f(c,"class","fd-col fd-col--8 svelte-1tiapr5"),f(e,"class","fd-row svelte-1tiapr5")},m(N,D){L(N,e,D),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),A&&A.m(c,null),w(e,m)},p(N,D){D[0]&34&&l!==(l=N[5](N[29].label)+"")&&Ie(r,l),N[29].type==="string"?v?v.p(N,D):(v=tc(N),v.c(),v.m(c,h)):v&&(v.d(1),v=null),N[29].type==="enum"&&(N[29].style===void 0||N[29].style==="list")?C?C.p(N,D):(C=nc(N),C.c(),C.m(c,d)):C&&(C.d(1),C=null),D[0]&2&&(_=N[29].type==="enum"&&N[29].style==="button"&&Array.isArray(N[29].options)),_?y?y.p(N,D):(y=rc(N),y.c(),y.m(c,p)):y&&(y.d(1),y=null),N[29].type==="boolean"&&(!N[29].style||N[29].style==="switch")?P?P.p(N,D):(P=sc(N),P.c(),P.m(c,b)):P&&(P.d(1),P=null),N[29].type==="boolean"&&N[29].style==="checkbox"?A?A.p(N,D):(A=oc(N),A.c(),A.m(c,null)):A&&(A.d(1),A=null)},d(N){N&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),A&&A.d()}}}function dk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&xf(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1tiapr5")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=xf(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){r&&T(e),l&&l.d(),t=!1,$e(n)}}}function ns(i,e,t){if(i&&t>0)return i.matches(e)?i:ns(i.parentNode,e,t-1)}function hk(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:a}=e;const o=zt();let c=_t("getTranslation");wi(i,c,ee=>t(5,n=ee));let h,{isComboOpen:d}=e;function _(){o("updateSettingsObject",{storedUserSettingData:a})}const p=()=>{b()};function b(ee){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(z=>{v(z,!1)})}function m(ee,z){let oe=ns(ee.target,".fd-popover__control",20),ie=oe.getAttribute("aria-expanded")==="true";(z||z===void 0)&&(b(),v(oe,!ie))}function v(ee,z){const oe=ee.querySelector(".lui-activate-dropdown"),ie=ee.parentNode.querySelector(".fd-popover__body"),j=ee.parentNode.querySelector(".fd-select__control");ee.setAttribute("aria-expanded",z),ie.setAttribute("aria-hidden",!z),j.setAttribute("aria-expanded",z),oe.setAttribute("aria-expanded",z),t(14,d=z)}function C(ee,z,oe){t(4,h=oe),t(0,a[l[0]][ee]=z.value||z,a)}function y(ee,z){document.querySelectorAll(".enum-buttons-container-"+ee+" button").forEach(oe=>{const ie=oe.getAttribute("id"),j=`lui-us-enum_button_${ee}_option`;ie===j?oe.classList.add("fd-button--emphasized"):oe.classList.remove("fd-button--emphasized")}),t(0,a[l[0]][ee]=z.value||z,a)}function P(ee,z){let oe;if(Array.isArray(z)){for(let ie=0;ie<z.length;ie++)if(se.isObject(z[ie])){if(z[ie].value&&z[ie].value===ee){oe=z[ie].label,t(4,h=ie);break}}else{oe=ee,t(4,h=z.indexOf(ee));break}return n(oe)}}function A(ee){return n(se.isObject(ee)?ee.label:ee)}function N(ee,z,oe){return se.isObject(oe)?`${ee}_${z}_${oe.value}`:`${ee}_${z}_${oe}`}function D(ee,z,oe,ie){let j=ns(ee.target,".lui-anchor-node",20);const Le=document.getElementById(`fd-form-input-dropdown-${oe}`).children;let re=-1;if([...Le].forEach((Ee,Se)=>{Ee.classList.contains("is-focus")&&(re=Se)}),d){if(ee.keyCode===Fl&&ee.altKey&&(j.click(),j.focus()),ee.keyCode===Bi&&!ee.altKey){if(re===-1){re=0,Le.item(re).classList.add("is-focus");return}re<ie.options.length-1&&(Le.item(re).classList.remove("is-focus"),re+=1,Le.item(re).classList.add("is-focus"))}if(ee.keyCode===Fl&&!ee.altKey){if(re===-1){re=re.length-1,Le.item(re).classList.add("is-focus");return}re>0&&re<ie.options.length&&(Le.item(re).classList.remove("is-focus"),re-=1,Le.item(re).classList.add("is-focus"))}(ee.keyCode===vi||ee.keyCode===Yr)&&C(z,ie.options[re],re)}else j.focus(),ee.keyCode===Bi&&ee.altKey&&j.click(),ee.keyCode===Bi&&!ee.altKey&&re<ie.options.length-1&&C(z,ie.options[re+1],re+1),ee.keyCode===Fl&&!ee.altKey&&re>0&&re<ie.options.length&&C(z,ie.options[re-1],re-1)}function E(ee){if(d){let z=ns(ee.target,".fd-popover",20);z.blur(),(ee.keyCode===Yr||ee.keyCode===vi)&&(ee.target.click(),b(),setTimeout(()=>{z.focus()},0))}}P();function V(ee){a[l[0]][ee]=this.value,t(0,a)}const U=(ee,z,oe,ie)=>D(ie,ee,z,oe),O=ee=>m(event,ee.isEditable),W=(ee,z,oe)=>C(ee,z,oe),K=ee=>E(ee),X=(ee,z)=>y(ee,z);function ne(ee){a[l[0]][ee]=this.checked,t(0,a)}function Pe(ee){a[l[0]][ee]=this.checked,t(0,a)}return i.$$set=ee=>{"userSettingGroup"in ee&&t(1,l=ee.userSettingGroup),"userSettingsGroupKey"in ee&&t(15,r=ee.userSettingsGroupKey),"storedUserSettingData"in ee&&t(0,a=ee.storedUserSettingData),"isComboOpen"in ee&&t(14,d=ee.isComboOpen)},[a,l,D,E,h,n,c,b,m,C,y,P,A,N,d,r,_,p,V,U,O,W,K,X,ne,Pe]}class gk extends Ot{constructor(e){super(),Mt(this,e,hk,dk,At,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:fc}=Hi;function cc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function dc(i,e,t){const n=i.slice();return n[38]=e[t],n}function hc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?pk:_k}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=q(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&T(t),o&&T(n)}}}function _k(i){let e,t,n,l,r,a=i[38][1].initials&&gc(i);return{c(){e=S("span"),l=q(),a&&a.c(),r=ve(),f(e,"class",t=ei(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),Pn(e,"background-image","url('"+i[38][1].icon+"')"),Pn(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&Pn(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?a?a.p(o,c):(a=gc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&T(e),o&&T(l),a&&a.d(o),o&&T(r)}}}function pk(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[38][1].icon))+" svelte-yylqtk"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-yylqtk")&&f(t,"class",n)},d(l){l&&T(e)}}}function gc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=ei(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Ie(n,t),o[0]&2&&l!==(l=ei(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-yylqtk")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function _c(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,h,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",_,p,b,m,v=i[38][1].icon&&hc(i);function C(){return i[22](i[38])}function y(...P){return i[23](i[37],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=q(),l=S("div"),r=S("div"),o=Ne(a),c=q(),h=S("div"),_=Ne(d),p=q(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-yylqtk"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,_),w(e,p),b||(m=[le(e,"click",Lt(C)),le(e,"keydown",y)],b=!0)},p(P,A){i=P,i[38][1].icon?v?v.p(i,A):(v=hc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),A[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ie(o,a),A[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ie(_,d)},d(P){P&&T(e),v&&v.d(),b=!1,$e(m)}}}function pc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=_c(dc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=dc(l,t,a);n[a]?n[a].p(o,r):(n[a]=_c(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){st(n,l),l&&T(e)}}}function mc(i){let e,t,n,l;function r(c){i[24](c)}function a(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new gk({props:o}),Xe.push(()=>ft(e,"closeDropDown",r)),Xe.push(()=>ft(e,"isComboOpen",a)),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,h){Oe(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],ut(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],ut(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){B(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function mk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,_,p,b,m,v,C,y,P=i[10](i[7])+"",A,N,D,E,V,U,O,W,K,X,ne,Pe=i[10](i[5])+"",ee,z,oe,ie,j=i[10](i[6])+"",Le,re,Ee,Se,de=Object.entries(i[1]),Y=[];for(let te=0;te<de.length;te+=1)Y[te]=pc(cc(i,de,te));let ce=i[11]&&mc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=q(),_=S("div"),p=S("ul");for(let te=0;te<Y.length;te+=1)Y[te].c();b=q(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=q(),y=S("h2"),A=Ne(P),N=q(),D=S("div"),E=S("div"),ce&&ce.c(),V=q(),U=S("div"),O=q(),W=S("footer"),K=S("div"),X=S("div"),ne=S("button"),ee=Ne(Pe),z=q(),oe=S("div"),ie=S("button"),Le=Ne(j),f(o,"class","fd-title fd-title--h5 svelte-yylqtk"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-yylqtk"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-yylqtk"),f(r,"class","fd-side-nav svelte-yylqtk"),f(l,"class","lui-usersettings-left-nav svelte-yylqtk"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-yylqtk"),f(y,"class","fd-title fd-title--h5 svelte-yylqtk"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-yylqtk"),f(E,"class","usersettingseditor mf-wrapper svelte-yylqtk"),f(U,"class","iframeUserSettingsCtn iframe-wrapper svelte-yylqtk"),f(D,"class","lui-usersettings-content svelte-yylqtk"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-yylqtk"),f(ne,"data-testid","lui-us-saveBtn"),f(ne,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(ie,"data-testid","lui-us-dismissBtn"),f(ie,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(oe,"class","fd-bar__element"),f(K,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-yylqtk"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-yylqtk"),f(e,"tabindex","0")},m(te,We){L(te,e,We),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,_),w(_,p);for(let Ge=0;Ge<Y.length;Ge+=1)Y[Ge].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,A),w(n,N),w(n,D),w(D,E),ce&&ce.m(E,null),w(D,V),w(D,U),w(t,O),w(t,W),w(W,K),w(K,X),w(X,ne),w(ne,ee),w(K,z),w(K,oe),w(oe,ie),w(ie,Le),re=!0,Ee||(Se=[le(fc,"resize",i[20]),le(fc,"keydown",i[3]),le(v,"click",i[17]),le(ne,"click",i[26]),le(ie,"click",i[27])],Ee=!0)},p(te,We){if((!re||We[0]&1040)&&c!==(c=te[10](te[4])+"")&&Ie(h,c),We[0]&803846){de=Object.entries(te[1]);let Ge;for(Ge=0;Ge<de.length;Ge+=1){const _e=cc(te,de,Ge);Y[Ge]?Y[Ge].p(_e,We):(Y[Ge]=pc(_e),Y[Ge].c(),Y[Ge].m(p,null))}for(;Ge<Y.length;Ge+=1)Y[Ge].d(1);Y.length=de.length}(!re||We[0]&1152)&&P!==(P=te[10](te[7])+"")&&Ie(A,P),te[11]?ce?(ce.p(te,We),We[0]&2048&&R(ce,1)):(ce=mc(te),ce.c(),R(ce,1),ce.m(E,null)):ce&&(we(),B(ce,1,1,()=>{ce=null}),ke()),(!re||We[0]&1056)&&Pe!==(Pe=te[10](te[5])+"")&&Ie(ee,Pe),(!re||We[0]&1088)&&j!==(j=te[10](te[6])+"")&&Ie(Le,j)},i(te){re||(R(ce),re=!0)},o(te){B(ce),re=!1},d(te){te&&T(e),st(Y,te),ce&&ce.d(),Ee=!1,$e(Se)}}}function bc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function bk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function vk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function tp(i,e,t){if(i&&t>0)return i.matches(e)?i:tp(i.parentNode,e,t-1)}function vc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function wk(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const a=zt();let o,{storedUserSettings:c={}}=e,h={},d=_t("getTranslation");wi(i,d,re=>t(10,n=re));let _=fl.userSettingsDialog.dialogHeader,p=fl.userSettingsDialog.saveBtn,b=fl.userSettingsDialog.dismissBtn,m={},v,C,y,P;Qr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Yt(()=>{const re=ae.getConfigValue("userSettings.userSettingsDialog"),Ee=re||ae.getConfigValue("settings.userSettings.userSettingsDialog");Ee&&(t(4,_=Ee.dialogHeader?Ee.dialogHeader:_),t(5,p=Ee.saveBtn?Ee.saveBtn:p),t(6,b=Ee.dismissBtn?Ee.dismissBtn:b)),v=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Vn.addEventListener("message",Se=>{const de=Re.getValidMessageSource(Se);if(!de||Se.data.msg!=="custom")return;de._ready=!0;const Y=rs.convertCustomMessageInternalToUser(Se.data),ce="luigi.updateUserSettings";if(Y.id===ce){const te=cr.findActiveCustomUserSettingsIframe(Se.source);if(te){let We=te.getAttribute("userSettingsGroup");t(0,c[We]=Y.data,c)}}Y.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&U()}),ae.readUserSettings().then(Se=>{h=JSON.parse(JSON.stringify(Se)),Se===null?t(0,c=bc(JSON.parse(JSON.stringify(r)),{})):t(0,c=bc(JSON.parse(JSON.stringify(r)),Se)),N([v,r[0][v]])}).catch(Se=>{Se&&Se.message&&console.error(Se.message),Se&&Se.closeDialog&&a("close")}),Re.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function A(re){if(t(7,C=re.title?re.title:""),!!se.isObject(re.settings))for(let Ee in re.settings){let Se=re.settings[Ee];Se.type==="enum"?Array.isArray(Se.options)||console.error(`There is no options array for '${Ee}' defined in the Luigi userSettings config.`):Se.type===void 0&&console.error(`There is no data type defined for '${Ee}' in the Luigi userSettings config.`)}}function N(re,Ee){t(11,o=re);let Se=re[0],de=re[1];if(A(de),Ee?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ce=>{ce.classList.remove("is-selected")}),tp(Ee.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()),de.viewUrl){if(cr.hideUserSettingsIframe(),m.hasOwnProperty(Se))cr.getUserSettingsIframesInDom().forEach(Y=>{Y.userSettingsGroup===Se&&(Y.style.display="block")});else{const Y=jr.hasDecorators()?jr.applyDecorators(de.viewUrl):de.viewUrl;let ce=cr.createIframe(Y,Se);m[Se]=ce}bk()}else vk()}const D=re=>{t(0,c=re.detail.userSettings)};function E(){ae.storeUserSettings(c,h).then(()=>{a("close")}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&a("close")})}function V(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&vc()}function O(re){return ye.renderIconClassName(re)}function W(re){return ye.isOpenUIiconName(re.icon)}let K;const X=()=>{const re=window.innerWidth>=xt.desktopMinWidth&&K<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&K>=xt.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),re&&(document.querySelector(".confirm-button").style.display="block"),!K){let Se=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?Se.style.display="none":Se.style.display="block"}K=window.innerWidth};function ne(re,Ee){let Se=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(re.keyCode===vi||re.keyCode===Yr)&&Se[Ee].click(),re.keyCode===tk&&Se[Object.keys(r).length-1].focus(),re.keyCode===ek&&Se[0].focus()}function Pe(re){re.keyCode===bi&&y?P():re.keyCode===bi&&!y&&a("close")}const ee=re=>N(re,event),z=(re,Ee)=>ne(Ee,[re]);function oe(re){P=re,t(9,P)}function ie(re){y=re,t(8,y)}const j=()=>E(),Le=()=>a("close");return i.$$set=re=>{"schemaObj"in re&&t(21,l=re.schemaObj),"userSettingGroups"in re&&t(1,r=re.userSettingGroups),"storedUserSettings"in re&&t(0,c=re.storedUserSettings)},[c,r,ne,Pe,_,p,b,C,y,P,n,o,a,d,N,D,E,U,O,W,X,l,ee,z,oe,ie,j,Le]}class kk extends Ot{constructor(e){super(),Mt(this,e,wk,mk,At,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Sk}=Hi;function Ck(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){L(t,e,n)},p:qe,d(t){t&&T(e)}}}function yk(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=q(),l=S("h1"),a=Ne(r),f(t,"class","lui-collapse-btn svelte-je1rr"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-je1rr"),f(l,"class","fd-splitView__title svelte-je1rr")},m(h,d){L(h,e,d),w(e,t),L(h,n,d),L(h,l,d),w(l,a),o||(c=le(t,"click",Ut(Lt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Ie(a,r)},d(h){h&&T(e),h&&T(n),h&&T(l),o=!1,c()}}}function wc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=q(),n=S("div"),l=S("div"),r=q(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-je1rr"),f(n,"id","splitViewDragger")},m(h,d){L(h,e,d),L(h,t,d),L(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[le(a,"click",Ut(Lt(i[3]))),le(n,"mousedown",Ut(i[6]))],o=!0)},p:qe,d(h){h&&T(e),h&&T(t),h&&T(n),o=!1,$e(c)}}}function Pk(i){let e,t,n,l,r,a,o,c,h,d;t=new Bl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(v,C){return v[0]?yk:Ck}let p=_(i),b=p(i),m=!i[0]&&wc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),b.c(),a=q(),m&&m.c(),o=ve(),f(l,"class","lui-split-view svelte-je1rr"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":""))},m(v,C){L(v,e,C),Oe(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=le(Sk,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=wc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&T(e),Fe(t),b.d(),v&&T(a),m&&m.d(v),v&&T(o),h=!1,d()}}}function Nk(i,e,t){const n=zt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,_,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,A=!1,N=_t("getUnsavedChangesModalPromise");const D=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:z=>{z&&Object.getOwnPropertyNames(z).forEach(oe=>{oe==="splitViewSettings"?t(1,C=z.splitViewSettings):oe==="lastNode"?r=z.lastNode:oe==="pathData"?a=z.pathData:oe==="nodeParams"?o=z.nodeParams:oe==="collapsed"?t(0,v=z.collapsed):oe==="isDataPrepared"?t(8,y=z.isDataPrepared):oe==="currentNode"?c=z.currentNode:oe==="splitViewIframe"?d=z.splitViewIframe:oe==="splitViewIframeData"?_=z.splitViewIframeData:oe==="splitViewWC"?p=z.splitViewWC:oe==="splitViewWCData"&&(b=z.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:N}),E=async()=>{y?v||at.createAndSetView(D()):await at.prepareSplitViewData(D(),m)},V=()=>{l.split=at.getContainer(),l.iframe=Re.getIframeContainer(),l.draggable=at.getDragger()},U=()=>{const z=at.getDraggerBackdrop();z&&(z.style.display="none"),V(),l.draggable&&(l.draggable.style.top=`${at.splitViewValues.top}px`),l.split.style.top=`${at.splitViewValues.top}px`,l.iframe.style.marginBottom=`${at.splitViewValues.bottom}px`};function O(z){if(!!Re.getValidMessageSource(z)&&(z.data.msg==="luigi.navigation.splitview.close"&&at.close(D()),z.data.msg==="luigi.navigation.splitview.collapse"&&W(),z.data.msg==="luigi.navigation.splitview.expand"&&K(),z.data.msg==="luigi.navigation.splitview.resize")){const oe=parseInt(z.data.data);if(at.calculateAndSetSplitViewValues(oe,at.internalValues),v)return;U(),at.sendMessageToClients("resize.ok",at.splitViewValues.percent)}}Yt(()=>{X(),h=O.bind(this),Vn.addEventListener("message",h)}),fs(()=>{E(),A!==y&&!v&&(A=y,U())}),Qr(()=>{window.removeEventListener("message",h)});function W(){at.collapse(D())}async function K(){await at.expand(D()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const z=se.getShellbarHeight();at.internalValues.innerHeight=se.getInnerHeight(),at.internalValues.rightContentHeight=at.internalValues.innerHeight-z,at.internalValues.thresholdBottom=30,at.internalValues.thresholdTop=z+30,at.calculateAndSetSplitViewValues(at.splitViewValues.percent,at.internalValues),v||U()}function ne(z){let oe=z.y,ie={};const j=function(de){const Y=oe-de.y,ce=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ce)||Y===0)return;const te=ce-Y,We=at.internalValues.innerHeight-te,Ge=at.enforceTresholds(te,We);te<Ge.top||We<Ge.bottom||(ie=Ge,oe=de.y,l.draggable.style.top=`${ie.top}px`)},Le=function(){if(re(),!ie.top||!ie.bottom||ie.top==at.internalValues.m_pos_prev){at.getDraggerBackdrop().style.display="none";return}at.internalValues.m_pos_prev=ie.top,at.splitViewValues=ie,U(),at.sendMessageToClients("resize.ok",ie.percent)},re=function(){document.removeEventListener("mouseup",Le),document.removeEventListener("mousemove",j)},Ee=function(){document.addEventListener("mouseup",Le),document.addEventListener("mousemove",j)};V(),re(),Ee(),at.getDraggerBackdrop().style.display="block"}const Pe=z=>{let oe=at.getDraggerButton();oe&&(oe.style.display=z?"block":"none"),oe=at.getCollapsedDraggerButton(),oe&&(oe.style.display=z?"block":"none")},ee=z=>{Pe(!z.detail||z.detail.backdropActive!==!0)};return i.$$set=z=>{"nodepath"in z&&t(9,m=z.nodepath),"collapsed"in z&&t(0,v=z.collapsed),"splitViewSettings"in z&&t(1,C=z.splitViewSettings),"isDataPrepared"in z&&t(8,y=z.isDataPrepared),"disableBackdrop"in z&&t(2,P=z.disableBackdrop)},[v,C,P,W,K,X,ne,ee,y,m]}class np extends Ot{constructor(e){super(),Mt(this,e,Nk,Pk,At,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function kc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Lk,then:Tk,catch:Ik,value:1};return is(t=i[0].badgeCounter.count(),n),{c(){e=ve(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&is(t,n)||z_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Ik(i){return{c:qe,m:qe,p:qe,d:qe}}function Tk(i){let e,t=i[1]>0&&Sc(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function Sc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-i2n6n9"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Ie(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function Lk(i){return{c:qe,m:qe,p:qe,d:qe}}function Ak(i){let e,t=i[0]&&i[0].badgeCounter&&kc(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=kc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function Rk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class gn extends Ot{constructor(e){super(),Mt(this,e,Rk,Ak,At,{node:0})}}function Cc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Ie(l,n)},d(r){r&&T(e)}}}function Ek(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Cc(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Cc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function Dk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class Wn extends Ot{constructor(e){super(),Mt(this,e,Dk,Ek,At,{node:0})}}const{window:xa}=Hi;function yc(i,e,t){const n=i.slice();return n[78]=e[t][0],n[79]=e[t][1],n[81]=t,n}function Pc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Nc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Ic(i,e,t){const n=i.slice();return n[82]=e[t],n}function Tc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Lc(i,e,t){const n=i.slice();return n[78]=e[t][0],n[79]=e[t][1],n[81]=t,n}function Ac(i,e,t){const n=i.slice();return n[82]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[82]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[82]=e[t],n}function Vk(i){let e,t,n,l,r,a,o,c,h,d,_=i[12]&&Dc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Oc(i),b=(i[2]||i[3])&&sd(i);return{c(){e=S("div"),_&&_.c(),t=q(),n=S("nav"),l=S("div"),p&&p.c(),r=q(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-128n3rz"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-128n3rz"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-128n3rz")},m(m,v){L(m,e,v),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=le(n,"keyup",i[18]),h=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Dc(m),_.c(),_.m(e,t)):_&&(_.d(1),_=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Oc(m),p.c(),R(p,1),p.m(l,null)):p&&(we(),B(p,1,1,()=>{p=null}),ke()),m[2]||m[3]?b?b.p(m,v):(b=sd(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-128n3rz"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-128n3rz"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){B(p),c=!1},d(m){m&&T(e),_&&_.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Mk(i){let e,t,n,l,r,a,o=i[12]&&ud(i),c=i[0]&&i[5].length>1&&dd(i);return{c(){e=S("div"),o&&o.c(),t=q(),c&&c.c(),n=q(),l=S("div"),l.innerHTML=`<ul class="fd-navigation__list" role="tree" aria-roledescription="Navigation List Tree" tabindex="-1"><li class="fd-navigation__list-item" aria-hidden="true"><div class="fd-navigation__item" aria-level="1" role="treeitem" title="Help" aria-roledescription="Navigation List Tree Item" aria-selected="false" aria-expanded="false"><a class="fd-navigation__link svelte-128n3rz" role="link" tabindex="-1" href="#"><span class="fd-navigation__icon sap-icon--sys-help" role="presentation" aria-hidden="true"></span>
|
|
55
|
+
<span class="fd-navigation__text">Help</span>
|
|
56
|
+
<span class="fd-navigation__selection-indicator" aria-label="selection indicator"></span></a></div></li>
|
|
57
|
+
|
|
58
|
+
<li class="fd-navigation__list-item" aria-hidden="true"><div class="fd-navigation__item" aria-level="1" role="treeitem" title="Legal" aria-roledescription="Navigation List Tree Item" aria-selected="false" aria-expanded="false"><a class="fd-navigation__link svelte-128n3rz" role="link" tabindex="-1" href="#"><span class="fd-navigation__icon sap-icon--compare" role="presentation" aria-hidden="true"></span>
|
|
59
|
+
<span class="fd-navigation__text">Legal</span>
|
|
60
|
+
<span class="fd-navigation__selection-indicator" aria-label="selection indicator"></span></a></div></li></ul>`,Pn(l,"display","none"),f(l,"class","fd-navigation__container fd-navigation__container--bottom"),f(e,"class",r="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-128n3rz"),f(e,"role","navigation"),f(e,"aria-roledescription","Side Navigation"),Pn(e,"width","var(--luigi__left-sidenav--width)"),Pn(e,"height","100%")},m(h,d){L(h,e,d),o&&o.m(e,null),w(e,t),c&&c.m(e,null),w(e,n),w(e,l),a=!0},p(h,d){h[12]?o?o.p(h,d):(o=ud(h),o.c(),o.m(e,t)):o&&(o.d(1),o=null),h[0]&&h[5].length>1?c?(c.p(h,d),d[0]&33&&R(c,1)):(c=dd(h),c.c(),R(c,1),c.m(e,n)):c&&(we(),B(c,1,1,()=>{c=null}),ke()),(!a||d[0]&78&&r!==(r="fd-navigation fd-navigation--vertical "+(h[1]?"hideNavComponent":"")+" "+(h[2]||h[3]?"hasFooter":"")+" "+(h[2]&&!h[3]?"hasOnlyFooterText":"")+" "+(h[6]?"fd-navigation--snapped":"")+" svelte-128n3rz"))&&f(e,"class",r)},i(h){a||(R(c),a=!0)},o(h){B(c),a=!1},d(h){h&&T(e),o&&o.d(),c&&c.d()}}}function Dc(i){let e,t,n,l,r,a,o=i[24](i[12].label)+"",c,h,d,_=i[12].icon&&Vc(i),p=i[12].showUpLink&&Mc(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),_&&_.c(),r=q(),a=S("span"),c=Ne(o),h=q(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-128n3rz"),f(l,"class","fd-nested-list__link svelte-128n3rz"),f(l,"title",d=i[33](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item svelte-128n3rz"),f(t,"class","fd-nested-list svelte-128n3rz"),f(e,"class","lui-nav-title svelte-128n3rz")},m(b,m){L(b,e,m),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,a),w(a,c),w(l,h),p&&p.m(l,null)},p(b,m){b[12].icon?_?_.p(b,m):(_=Vc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Ie(c,o),b[12].showUpLink?p?p.p(b,m):(p=Mc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&16781312&&d!==(d=b[33](b[12],b[24](b[12].label)))&&f(l,"title",d)},d(b){b&&T(e),_&&_.d(),p&&p.d()}}}function Vc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[29](a[12].icon)),e?Fk:Ok}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function Ok(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-nested-list__icon sap-icon svelte-128n3rz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!je(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 Fk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[28](i[12].icon)+" svelte-128n3rz"),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[28](n[12].icon)+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Mc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-128n3rz"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=le(e,"click",Lt(i[19])),n=!0)},p(r,a){a[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function Oc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=ad(yc(i,r,c));const o=c=>B(a[c],1,1,()=>{a[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-128n3rz"),f(e,"class","lui-fd-side-nav-wrapper svelte-128n3rz")},m(c,h){L(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,h){if(h[0]&2039605184|h[1]&455){r=c[13];let d;for(d=0;d<r.length;d+=1){const _=yc(c,r,d);a[d]?(a[d].p(_,h),R(a[d],1)):(a[d]=ad(_),a[d].c(),R(a[d],1),a[d].m(t,null))}for(we(),d=r.length;d<a.length;d+=1)o(d);ke()}(!l||h[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-128n3rz"))&&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)B(a[h]);l=!1},d(c){c&&T(e),st(a,c)}}}function Uk(i){let e,t,n,l;const r=[Wk,Hk],a=[];function o(c,h){return c[79].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ve()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),B(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&T(n)}}}function Bk(i){let e,t,n=i[79],l=[];for(let a=0;a<n.length;a+=1)l[a]=rd(Tc(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&2021695680|o[1]&133){n=a[79];let c;for(c=0;c<n.length;c+=1){const h=Tc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=rd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Hk(i){let e,t,n=i[24](i[78])+"",l,r,a,o,c,h,d=i[10]&&i[79].metaInfo.icon&&Fc(i),_=i[79],p=[];for(let m=0;m<_.length;m+=1)p[m]=qc(Pc(i,_,m));const b=m=>B(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=q(),l=Ne(n),o=q();for(let m=0;m<p.length;m+=1)p[m].c();c=ve(),f(e,"class","fd-nested-list__group-header lui-category svelte-128n3rz"),f(e,"title",r=i[33](i[79],i[24](i[78]))),f(e,"data-testid",a=i[32](i[79].metaInfo,i[78])),f(e,"id","category_list_level1_"+i[81])},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].m(m,v);L(m,c,v),h=!0},p(m,v){if(m[10]&&m[79].metaInfo.icon?d?d.p(m,v):(d=Fc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&16785408)&&n!==(n=m[24](m[78])+"")&&Ie(l,n),(!h||v[0]&16785408&&r!==(r=m[33](m[79],m[24](m[78]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[32](m[79].metaInfo,m[78])))&&f(e,"data-testid",a),v[0]&2021695680|v[1]&133){_=m[79];let C;for(C=0;C<_.length;C+=1){const y=Pc(m,_,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=qc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(we(),C=_.length;C<p.length;C+=1)b(C);ke()}},i(m){if(!h){for(let v=0;v<_.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)B(p[v]);h=!1},d(m){m&&T(e),d&&d.d(),m&&T(o),st(p,m),m&&T(c)}}}function Wk(i){let e,t,n,l,r,a,o=i[24](i[78])+"",c,h,d,_,p,b,m,v,C,y,P,A,N,D,E,V,U,O,W,K,X,ne;function Pe(Y,ce){return ce[0]&8192&&(l=null),l==null&&(l=!!Y[29](Y[79].metaInfo.icon)),l?Qk:Yk}let ee=Pe(i,[-1,-1,-1,-1]),z=ee(i);function oe(){return i[57](i[79])}function ie(){return i[58](i[79])}function j(...Y){return i[59](i[79],...Y)}let Le=i[79],re=[];for(let Y=0;Y<Le.length;Y+=1)re[Y]=Yc(Ic(i,Le,Y));const Ee=Y=>B(re[Y],1,1,()=>{re[Y]=null});let Se=i[79].metaInfo&&i[79].metaInfo.label===i[8]&&Qc(i);function de(){return i[64](i[79])}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),r=q(),a=S("span"),c=Ne(o),m=q(),v=S("button"),C=S("i"),D=q(),E=S("ul");for(let Y=0;Y<re.length;Y+=1)re[Y].c();U=q(),Se&&Se.c(),O=q(),f(a,"class","fd-nested-list__title svelte-128n3rz"),f(n,"title",h=i[33](i[79],i[24](i[78]))),f(n,"class",d="fd-nested-list__link "+(ln(i[79],i[9])?"is-expanded":"")+" svelte-128n3rz"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[81]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=ln(i[79],i[9])),f(C,"class",y=ln(i[79],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-128n3rz"),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[79],i[9])),f(v,"title",A=i[39](i[79],i[9])),f(t,"class","fd-nested-list__content has-child svelte-128n3rz"),f(t,"tabindex",N=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-128n3rz"),f(E,"aria-hidden",V=!ln(i[79],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",W=i[32](i[79].metaInfo,i[78])),Dn(e,"lui-item-expanded",ln(i[79],i[9]))},m(Y,ce){L(Y,e,ce),w(e,t),w(t,n),z.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,D),w(e,E);for(let te=0;te<re.length;te+=1)re[te].m(E,null);w(e,U),Se&&Se.m(e,null),w(e,O),K=!0,X||(ne=[le(n,"click",Lt(oe)),le(v,"click",Lt(ie)),le(t,"keypress",j),le(e,"click",Ut(de))],X=!0)},p(Y,ce){if(i=Y,ee===(ee=Pe(i,ce))&&z?z.p(i,ce):(z.d(1),z=ee(i),z&&(z.c(),z.m(n,r))),(!K||ce[0]&16785408)&&o!==(o=i[24](i[78])+"")&&Ie(c,o),(!K||ce[0]&16785408&&h!==(h=i[33](i[79],i[24](i[78]))))&&f(n,"title",h),(!K||ce[0]&8704&&d!==(d="fd-nested-list__link "+(ln(i[79],i[9])?"is-expanded":"")+" svelte-128n3rz"))&&f(n,"class",d),(!K||ce[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!K||ce[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!K||ce[0]&8704&&b!==(b=ln(i[79],i[9])))&&f(n,"aria-expanded",b),(!K||ce[0]&8704&&y!==(y=ln(i[79],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!K||ce[0]&8704&&P!==(P=ln(i[79],i[9])))&&f(v,"aria-expanded",P),(!K||ce[0]&8704&&A!==(A=i[39](i[79],i[9])))&&f(v,"title",A),(!K||ce[0]&64&&N!==(N=i[6]?"0":"-1"))&&f(t,"tabindex",N),ce[0]&1216389248|ce[1]&133){Le=i[79];let te;for(te=0;te<Le.length;te+=1){const We=Ic(i,Le,te);re[te]?(re[te].p(We,ce),R(re[te],1)):(re[te]=Yc(We),re[te].c(),R(re[te],1),re[te].m(E,null))}for(we(),te=Le.length;te<re.length;te+=1)Ee(te);ke()}(!K||ce[0]&8704&&V!==(V=!ln(i[79],i[9])))&&f(E,"aria-hidden",V),i[79].metaInfo&&i[79].metaInfo.label===i[8]?Se?(Se.p(i,ce),ce[0]&8448&&R(Se,1)):(Se=Qc(i),Se.c(),R(Se,1),Se.m(e,O)):Se&&(we(),B(Se,1,1,()=>{Se=null}),ke()),(!K||ce[0]&8192&&W!==(W=i[32](i[79].metaInfo,i[78])))&&f(e,"data-testid",W),(!K||ce[0]&8704)&&Dn(e,"lui-item-expanded",ln(i[79],i[9]))},i(Y){if(!K){for(let ce=0;ce<Le.length;ce+=1)R(re[ce]);R(Se),K=!0}},o(Y){re=re.filter(Boolean);for(let ce=0;ce<re.length;ce+=1)B(re[ce]);B(Se),K=!1},d(Y){Y&&T(e),z.d(),st(re,Y),Se&&Se.d(),X=!1,$e(ne)}}}function Fc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[29](a[79].metaInfo.icon)),e?qk:zk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function zk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[79].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[79].metaInfo.altText?i[79].metaInfo.altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-nested-list__icon sap-icon svelte-128n3rz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[79].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[79].metaInfo.altText?r[79].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function qk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[79].metaInfo.icon?i[28](i[79].metaInfo.icon):"")+" svelte-128n3rz"),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[79].metaInfo.icon?n[28](n[79].metaInfo.icon):"")+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Uc(i){let e,t,n=i[82].label&&Bc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Bc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Bc(i){let e,t,n,l,r=i[27](i[82])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A;function N(X,ne){return X[82].icon?Kk:Gk}let D=N(i),E=D(i),V=i[82].statusBadge&&Hc(i),U=i[82].externalLink&&i[82].externalLink.url&&Wc(),O=i[82].badgeCounter&&zc(i);function W(...X){return i[65](i[82],...X)}function K(...X){return i[66](i[82],...X)}return{c(){e=S("li"),t=S("a"),E.c(),n=q(),l=S("span"),a=Ne(r),o=q(),V&&V.c(),h=q(),U&&U.c(),d=q(),O&&O.c(),v=q(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"),f(t,"href",_=i[31](i[82])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=i[30](i[82])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[33](i[82],i[27](i[82]))),f(e,"aria-labelledby","category_list_level1_"+i[81])},m(X,ne){L(X,e,ne),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),V&&V.m(l,null),w(t,h),U&&U.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(A=[le(t,"click",W),le(t,"keyup",function(){oi(i[23]?void 0:K)&&(i[23]?void 0:K).apply(this,arguments)})],P=!0)},p(X,ne){i=X,D===(D=N(i))&&E?E.p(i,ne):(E.d(1),E=D(i),E&&(E.c(),E.m(t,n))),(!y||ne[0]&8192)&&r!==(r=i[27](i[82])+"")&&Ie(a,r),i[82].statusBadge?V?(V.p(i,ne),ne[0]&8192&&R(V,1)):(V=Hc(i),V.c(),R(V,1),V.m(l,null)):V&&(we(),B(V,1,1,()=>{V=null}),ke()),(!y||ne[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"))&&f(l,"class",c),i[82].externalLink&&i[82].externalLink.url?U||(U=Wc(),U.c(),U.m(t,d)):U&&(U.d(1),U=null),i[82].badgeCounter?O?(O.p(i,ne),ne[0]&8192&&R(O,1)):(O=zc(i),O.c(),R(O,1),O.m(t,null)):O&&(we(),B(O,1,1,()=>{O=null}),ke()),(!y||ne[0]&8192&&_!==(_=i[31](i[82])))&&f(t,"href",_),(!y||ne[0]&8320&&p!==(p="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"))&&f(t,"class",p),(!y||ne[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||ne[0]&8192&&m!==(m=i[30](i[82])))&&f(t,"data-testid",m),(!y||ne[0]&8192&&C!==(C=i[33](i[82],i[27](i[82]))))&&f(e,"title",C)},i(X){y||(R(V),R(O),y=!0)},o(X){B(V),B(O),y=!1},d(X){X&&T(e),E.d(),V&&V.d(),U&&U.d(),O&&O.d(),P=!1,$e(A)}}}function Gk(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=q(),l=S("span"),a=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){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":"")&&Ie(a,r)},d(o){o&&T(e),o&&T(n),o&&T(l)}}}function Kk(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[29](a[82].icon)),e?jk:Jk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function Jk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[82].icon)||f(t,"src",n),f(t,"alt",l=i[82].altText?i[82].altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-nested-list__icon sap-icon svelte-128n3rz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[82].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].altText?r[82].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function jk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[28](i[82].icon)+" svelte-128n3rz")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[28](n[82].icon)+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Hc(i){let e,t;return e=new Wn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Wc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function zc(i){let e,t;return e=new gn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function qc(i){let e,t,n=!i[82].hideFromNav&&Uc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Uc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Yk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[79].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[79].metaInfo.altText?i[79].metaInfo.altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-nested-list__icon sap-icon svelte-128n3rz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[79].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[79].metaInfo.altText?r[79].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Qk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[28](i[79].metaInfo.icon)+" "+(i[6]&&!i[79].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-128n3rz"),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[28](n[79].metaInfo.icon)+" "+(n[6]&&!n[79].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Gc(i){let e,t,n=i[82].label&&Kc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Kc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Kc(i){let e,t,n,l=i[27](i[82])+"",r,a,o,c,h,d,_,p,b,m,v,C,y,P,A;o=new Wn({props:{node:i[82]}});let N=i[82].externalLink&&i[82].externalLink.url&&Jc(),D=i[82].badgeCounter&&jc(i);function E(...U){return i[60](i[82],...U)}function V(...U){return i[61](i[82],...U)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),h=q(),N&&N.c(),d=q(),D&&D.c(),C=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"),f(t,"href",_=i[31](i[82])),f(t,"class",p="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=i[30](i[82])),f(t,"title",v=i[33](i[82],i[27](i[82]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[81])},m(U,O){L(U,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),D&&D.m(t,null),w(e,C),y=!0,P||(A=[le(t,"click",E),le(t,"keyup",function(){oi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],P=!0)},p(U,O){i=U,(!y||O[0]&8192)&&l!==(l=i[27](i[82])+"")&&Ie(r,l);const W={};O[0]&8192&&(W.node=i[82]),o.$set(W),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"))&&f(n,"class",c),i[82].externalLink&&i[82].externalLink.url?N||(N=Jc(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[82].badgeCounter?D?(D.p(i,O),O[0]&8192&&R(D,1)):(D=jc(i),D.c(),R(D,1),D.m(t,null)):D&&(we(),B(D,1,1,()=>{D=null}),ke()),(!y||O[0]&8192&&_!==(_=i[31](i[82])))&&f(t,"href",_),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"))&&f(t,"class",p),(!y||O[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=i[30](i[82])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[33](i[82],i[27](i[82]))))&&f(t,"title",v)},i(U){y||(R(o.$$.fragment,U),R(D),y=!0)},o(U){B(o.$$.fragment,U),B(D),y=!1},d(U){U&&T(e),Fe(o),N&&N.d(),D&&D.d(),P=!1,$e(A)}}}function Jc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function jc(i){let e,t;return e=new gn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Yc(i){let e,t,n=!i[82].hideFromNav&&Gc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Gc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Qc(i){let e,t,n,l=i[24](i[78])+"",r,a,o,c,h=i[79],d=[];for(let p=0;p<h.length;p+=1)d[p]=ed(Nc(i,h,p));const _=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Ne(l),a=q(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-128n3rz"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-128n3rz"),f(t,"class","lui-flyout-sublist__wrapper svelte-128n3rz"),f(e,"class","lui-flyout-sublist svelte-128n3rz")},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].m(o,null);c=!0},p(p,b){if((!c||b[0]&16785408)&&l!==(l=p[24](p[78])+"")&&Ie(r,l),b[0]&1216389248|b[1]&133){h=p[79];let m;for(m=0;m<h.length;m+=1){const v=Nc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=ed(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(we(),m=h.length;m<d.length;m+=1)_(m);ke()}},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)B(d[b]);c=!1},d(p){p&&T(e),st(d,p)}}}function Zc(i){let e,t,n=i[82].label&&Xc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Xc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Xc(i){let e,t,n,l=i[27](i[82])+"",r,a,o,c,h,d,_,p,b,m,v,C,y,P,A;o=new Wn({props:{node:i[82]}});let N=i[82].externalLink&&i[82].externalLink.url&&$c(),D=i[82].badgeCounter&&xc(i);function E(...U){return i[62](i[82],...U)}function V(...U){return i[63](i[82],...U)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),h=q(),N&&N.c(),d=q(),D&&D.c(),C=q(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"),f(t,"href",_=i[31](i[82])),f(t,"class",p="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=i[30](i[82])),f(t,"title",v=i[33](i[82],i[27](i[82]))),f(e,"class","fd-nested-list__item")},m(U,O){L(U,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(t,h),N&&N.m(t,null),w(t,d),D&&D.m(t,null),w(e,C),y=!0,P||(A=[le(t,"click",E),le(t,"keyup",function(){oi(i[23]?void 0:V)&&(i[23]?void 0:V).apply(this,arguments)})],P=!0)},p(U,O){i=U,(!y||O[0]&8192)&&l!==(l=i[27](i[82])+"")&&Ie(r,l);const W={};O[0]&8192&&(W.node=i[82]),o.$set(W),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"))&&f(n,"class",c),i[82].externalLink&&i[82].externalLink.url?N||(N=$c(),N.c(),N.m(t,d)):N&&(N.d(1),N=null),i[82].badgeCounter?D?(D.p(i,O),O[0]&8192&&R(D,1)):(D=xc(i),D.c(),R(D,1),D.m(t,null)):D&&(we(),B(D,1,1,()=>{D=null}),ke()),(!y||O[0]&8192&&_!==(_=i[31](i[82])))&&f(t,"href",_),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"))&&f(t,"class",p),(!y||O[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=i[30](i[82])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[33](i[82],i[27](i[82]))))&&f(t,"title",v)},i(U){y||(R(o.$$.fragment,U),R(D),y=!0)},o(U){B(o.$$.fragment,U),B(D),y=!1},d(U){U&&T(e),Fe(o),N&&N.d(),D&&D.d(),P=!1,$e(A)}}}function $c(i){let e;return{c(){e=S("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 gn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ed(i){let e,t,n=!i[82].hideFromNav&&Zc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Zc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function td(i){let e,t,n=i[82].label&&nd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=nd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function nd(i){let e,t,n,l,r=i[27](i[82])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(X,ne){return X[82].icon?Xk:Zk}let E=D(i),V=E(i);c=new Wn({props:{node:i[82]}});let U=i[82].externalLink&&i[82].externalLink.url&&id(),O=i[82].badgeCounter&&ld(i);function W(...X){return i[55](i[82],...X)}function K(...X){return i[56](i[82],...X)}return{c(){e=S("li"),t=S("a"),V.c(),n=q(),l=S("span"),a=Ne(r),o=q(),Ue(c.$$.fragment),d=q(),U&&U.c(),_=q(),O&&O.c(),y=q(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"),f(t,"href",p=i[31](i[82])),f(t,"title",b=i[33](i[82],i[27](i[82]))),f(t,"class",m="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",C=i[30](i[82])),f(e,"class","fd-nested-list__item")},m(X,ne){L(X,e,ne),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Oe(c,l,null),w(t,d),U&&U.m(t,null),w(t,_),O&&O.m(t,null),w(e,y),P=!0,A||(N=[le(t,"click",W),le(t,"keyup",function(){oi(i[23]?void 0:K)&&(i[23]?void 0:K).apply(this,arguments)})],A=!0)},p(X,ne){i=X,E===(E=D(i))&&V?V.p(i,ne):(V.d(1),V=E(i),V&&(V.c(),V.m(t,n))),(!P||ne[0]&8192)&&r!==(r=i[27](i[82])+"")&&Ie(a,r);const Pe={};ne[0]&8192&&(Pe.node=i[82]),c.$set(Pe),(!P||ne[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"))&&f(l,"class",h),i[82].externalLink&&i[82].externalLink.url?U||(U=id(),U.c(),U.m(t,_)):U&&(U.d(1),U=null),i[82].badgeCounter?O?(O.p(i,ne),ne[0]&8192&&R(O,1)):(O=ld(i),O.c(),R(O,1),O.m(t,null)):O&&(we(),B(O,1,1,()=>{O=null}),ke()),(!P||ne[0]&8192&&p!==(p=i[31](i[82])))&&f(t,"href",p),(!P||ne[0]&8192&&b!==(b=i[33](i[82],i[27](i[82]))))&&f(t,"title",b),(!P||ne[0]&8320&&m!==(m="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"))&&f(t,"class",m),(!P||ne[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||ne[0]&8192&&C!==(C=i[30](i[82])))&&f(t,"data-testid",C)},i(X){P||(R(c.$$.fragment,X),R(O),P=!0)},o(X){B(c.$$.fragment,X),B(O),P=!1},d(X){X&&T(e),V.d(),Fe(c),U&&U.d(),O&&O.d(),A=!1,$e(N)}}}function Zk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){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 Xk(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[29](a[82].icon)),e?xk:$k}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function $k(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[82].icon)||f(t,"src",n),f(t,"alt",l=i[82].altText?i[82].altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-nested-list__icon sap-icon svelte-128n3rz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[82].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].altText?r[82].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function xk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[28](i[82].icon)+" svelte-128n3rz"),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[28](n[82].icon)+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function id(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function ld(i){let e,t;return e=new gn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function rd(i){let e,t,n=!i[82].hideFromNav&&td(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=td(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function ad(i){let e,t,n,l,r,a;const o=[Bk,Uk],c=[];function h(d,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(d[78]==="undefined"||d[78].startsWith(d[14]))),e?0:(t==null&&(t=d[79].filter(yS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ve()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=h(d,_),n===p?~n&&c[n].p(d,_):(l&&(we(),B(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~n&&c[n].d(d),d&&T(r)}}}function sd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&od(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Ne(l),a=q(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-128n3rz"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-128n3rz"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-128n3rz")},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]:"")+"")&&Ie(r,l),c[3]?o?o.p(c,h):(o=od(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),o&&o.d()}}}function od(i){let e;function t(r,a){return r[4]=="button"?tS:eS}let n=t(i),l=n(i);return{c(){l.c(),e=ve()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function eS(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-128n3rz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[le(e,"click",i[68]),le(e,"keydown",i[69])],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-128n3rz")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),n=!1,$e(l)}}}function tS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-128n3rz"),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-128n3rz")},m(a,o){L(a,e,o),w(e,t),l||(r=le(e,"click",i[67]),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-128n3rz")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&T(e),l=!1,r()}}}function ud(i){let e,t,n,l,r,a,o=i[24](i[12].label)+"",c,h,d,_=i[12].icon&&fd(i),p=i[12].showUpLink&&cd(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),_&&_.c(),r=q(),a=S("span"),c=Ne(o),h=q(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-128n3rz"),f(l,"class","fd-nested-list__link svelte-128n3rz"),f(l,"title",d=i[33](i[12],i[24](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-128n3rz"),f(e,"class","lui-nav-title svelte-128n3rz")},m(b,m){L(b,e,m),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,a),w(a,c),w(l,h),p&&p.m(l,null)},p(b,m){b[12].icon?_?_.p(b,m):(_=fd(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&16781312&&o!==(o=b[24](b[12].label)+"")&&Ie(c,o),b[12].showUpLink?p?p.p(b,m):(p=cd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&16781312&&d!==(d=b[33](b[12],b[24](b[12].label)))&&f(l,"title",d)},d(b){b&&T(e),_&&_.d(),p&&p.d()}}}function fd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[29](a[12].icon)),e?iS:nS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function nS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-nested-list__icon sap-icon svelte-128n3rz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!je(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=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[28](i[12].icon)+" svelte-128n3rz"),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[28](n[12].icon)+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function cd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-128n3rz"),f(e,"role","presentation"),f(e,"title",t=i[24]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=le(e,"click",Lt(i[19])),n=!0)},p(r,a){a[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),n=!1,l()}}}function dd(i){let e,t,n,l=i[13],r=[];for(let o=0;o<l.length;o+=1)r[o]=Md(Lc(i,l,o));const a=o=>B(r[o],1,1,()=>{r[o]=null});return{c(){e=S("div"),t=S("ul");for(let o=0;o<r.length;o+=1)r[o].c();f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"aria-roledescription","Navigation List Tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(o,c){L(o,e,c),w(e,t);for(let h=0;h<r.length;h+=1)r[h].m(t,null);n=!0},p(o,c){if(c[0]&2039605184|c[1]&135){l=o[13];let h;for(h=0;h<l.length;h+=1){const d=Lc(o,l,h);r[h]?(r[h].p(d,c),R(r[h],1)):(r[h]=Md(d),r[h].c(),R(r[h],1),r[h].m(t,null))}for(we(),h=l.length;h<r.length;h+=1)a(h);ke()}},i(o){if(!n){for(let c=0;c<l.length;c+=1)R(r[c]);n=!0}},o(o){r=r.filter(Boolean);for(let c=0;c<r.length;c+=1)B(r[c]);n=!1},d(o){o&&T(e),st(r,o)}}}function lS(i){let e,t,n,l;const r=[sS,aS],a=[];function o(c,h){return 0}return e=o(),t=a[e]=r[e](i),{c(){t.c(),n=ve()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){t.p(c,h)},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&T(n)}}}function rS(i){let e,t,n=i[79],l=[];for(let a=0;a<n.length;a+=1)l[a]=Vd(Ec(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&2021695680|o[1]&133){n=a[79];let c;for(c=0;c<n.length;c+=1){const h=Ec(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Vd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function aS(i){let e,t,n,l,r=i[24](i[78])+"",a,o,c,h,d,_,p,b,m=i[10]&&i[79].metaInfo.icon&&hd(i),v=i[79],C=[];for(let P=0;P<v.length;P+=1)C[P]=vd(Ac(i,v,P));const y=P=>B(C[P],1,1,()=>{C[P]=null});return{c(){e=S("div"),t=S("a"),m&&m.c(),n=q(),l=S("span"),a=Ne(r),o=q(),c=S("span"),_=q();for(let P=0;P<C.length;P+=1)C[P].c();p=ve(),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-128n3rz"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[33](i[79],i[24](i[78]))),f(e,"data-testid",d=i[32](i[79].metaInfo,i[78]))},m(P,A){L(P,e,A),w(e,t),m&&m.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c),L(P,_,A);for(let N=0;N<C.length;N+=1)C[N].m(P,A);L(P,p,A),b=!0},p(P,A){if(P[10]&&P[79].metaInfo.icon?m?m.p(P,A):(m=hd(P),m.c(),m.m(t,n)):m&&(m.d(1),m=null),(!b||A[0]&16785408)&&r!==(r=P[24](P[78])+"")&&Ie(a,r),(!b||A[0]&16785408&&h!==(h=P[33](P[79],P[24](P[78]))))&&f(e,"title",h),(!b||A[0]&8192&&d!==(d=P[32](P[79].metaInfo,P[78])))&&f(e,"data-testid",d),A[0]&2021695680|A[1]&133){v=P[79];let N;for(N=0;N<v.length;N+=1){const D=Ac(P,v,N);C[N]?(C[N].p(D,A),R(C[N],1)):(C[N]=vd(D),C[N].c(),R(C[N],1),C[N].m(p.parentNode,p))}for(we(),N=v.length;N<C.length;N+=1)y(N);ke()}},i(P){if(!b){for(let A=0;A<v.length;A+=1)R(C[A]);b=!0}},o(P){C=C.filter(Boolean);for(let A=0;A<C.length;A+=1)B(C[A]);b=!1},d(P){P&&T(e),m&&m.d(),P&&T(_),st(C,P),P&&T(p)}}}function sS(i){let e,t,n,l,r,a,o=i[24](i[78])+"",c,h,d,_,p,b,m,v,C,y,P,A,N,D,E,V;function U(Pe,ee){return ee[0]&8192&&(l=null),l==null&&(l=!!Pe[29](Pe[79].metaInfo.icon)),l?_S:gS}let O=U(i,[-1,-1,-1,-1]),W=O(i);function K(){return i[47](i[79])}function X(...Pe){return i[48](i[79],...Pe)}let ne=(!i[6]||i[79].metaInfo&&i[79].metaInfo.label===i[8])&&wd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),W.c(),r=q(),a=S("span"),c=Ne(o),h=q(),d=S("span"),_=q(),p=S("span"),y=q(),ne&&ne.c(),P=q(),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-128n3rz"),f(n,"role","button"),f(n,"tabindex","-1"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[33](i[79],i[24](i[78]))),f(t,"aria-roledescription","Navigation List Tree Item - Parent"),f(t,"aria-expanded",v=i[6]?i[79].metaInfo&&i[79].metaInfo.label===i[8]:ln(i[79],i[9])),f(t,"aria-selected",C=i[6]&&i[79].indexOf(i[7])>=0),f(e,"class",A="fd-navigation__list-item "+(i[6]?"fd-popover":"")),f(e,"aria-hidden","true"),f(e,"data-testid",N=i[32](i[79].metaInfo,i[78]))},m(Pe,ee){L(Pe,e,ee),w(e,t),w(t,n),W.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,_),w(n,p),w(e,y),ne&&ne.m(e,null),w(e,P),D=!0,E||(V=[le(n,"click",Lt(K)),le(t,"click",Ut(X))],E=!0)},p(Pe,ee){i=Pe,O===(O=U(i,ee))&&W?W.p(i,ee):(W.d(1),W=O(i),W&&(W.c(),W.m(n,r))),(!D||ee[0]&16785408)&&o!==(o=i[24](i[78])+"")&&Ie(c,o),(!D||ee[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!D||ee[0]&16785408&&m!==(m=i[33](i[79],i[24](i[78]))))&&f(t,"title",m),(!D||ee[0]&9024&&v!==(v=i[6]?i[79].metaInfo&&i[79].metaInfo.label===i[8]:ln(i[79],i[9])))&&f(t,"aria-expanded",v),(!D||ee[0]&8384&&C!==(C=i[6]&&i[79].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[79].metaInfo&&i[79].metaInfo.label===i[8]?ne?(ne.p(i,ee),ee[0]&8512&&R(ne,1)):(ne=wd(i),ne.c(),R(ne,1),ne.m(e,P)):ne&&(we(),B(ne,1,1,()=>{ne=null}),ke()),(!D||ee[0]&64&&A!==(A="fd-navigation__list-item "+(i[6]?"fd-popover":"")))&&f(e,"class",A),(!D||ee[0]&8192&&N!==(N=i[32](i[79].metaInfo,i[78])))&&f(e,"data-testid",N)},i(Pe){D||(R(ne),D=!0)},o(Pe){B(ne),D=!1},d(Pe){Pe&&T(e),W.d(),ne&&ne.d(),E=!1,$e(V)}}}function hd(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[29](a[79].metaInfo.icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function oS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[79].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[79].metaInfo.altText?i[79].metaInfo.altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-navigation__icon svelte-128n3rz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[79].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[79].metaInfo.altText?r[79].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function uS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[28](i[79].metaInfo.icon)+" svelte-128n3rz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[28](n[79].metaInfo.icon)+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function gd(i){let e,t,n=i[82].label&&_d(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=_d(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function _d(i){let e,t,n,l,r=i[27](i[82])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A;function N(X,ne){return X[82].icon?cS:fS}let D=N(i),E=D(i),V=i[82].statusBadge&&pd(i),U=i[82].externalLink&&i[82].externalLink.url&&md(),O=i[82].badgeCounter&&bd(i);function W(...X){return i[53](i[82],...X)}function K(...X){return i[54](i[82],...X)}return{c(){e=S("li"),t=S("a"),E.c(),n=q(),l=S("span"),a=Ne(r),o=q(),V&&V.c(),h=q(),U&&U.c(),d=q(),O&&O.c(),v=q(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"),f(t,"href",_=i[31](i[82])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=i[30](i[82])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[33](i[82],i[27](i[82]))),f(e,"aria-labelledby","category_list_level1_"+i[81])},m(X,ne){L(X,e,ne),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),V&&V.m(l,null),w(t,h),U&&U.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(A=[le(t,"click",W),le(t,"keyup",function(){oi(i[23]?void 0:K)&&(i[23]?void 0:K).apply(this,arguments)})],P=!0)},p(X,ne){i=X,D===(D=N(i))&&E?E.p(i,ne):(E.d(1),E=D(i),E&&(E.c(),E.m(t,n))),(!y||ne[0]&8192)&&r!==(r=i[27](i[82])+"")&&Ie(a,r),i[82].statusBadge?V?(V.p(i,ne),ne[0]&8192&&R(V,1)):(V=pd(i),V.c(),R(V,1),V.m(l,null)):V&&(we(),B(V,1,1,()=>{V=null}),ke()),(!y||ne[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"))&&f(l,"class",c),i[82].externalLink&&i[82].externalLink.url?U||(U=md(),U.c(),U.m(t,d)):U&&(U.d(1),U=null),i[82].badgeCounter?O?(O.p(i,ne),ne[0]&8192&&R(O,1)):(O=bd(i),O.c(),R(O,1),O.m(t,null)):O&&(we(),B(O,1,1,()=>{O=null}),ke()),(!y||ne[0]&8192&&_!==(_=i[31](i[82])))&&f(t,"href",_),(!y||ne[0]&8320&&p!==(p="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"))&&f(t,"class",p),(!y||ne[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||ne[0]&8192&&m!==(m=i[30](i[82])))&&f(t,"data-testid",m),(!y||ne[0]&8192&&C!==(C=i[33](i[82],i[27](i[82]))))&&f(e,"title",C)},i(X){y||(R(V),R(O),y=!0)},o(X){B(V),B(O),y=!1},d(X){X&&T(e),E.d(),V&&V.d(),U&&U.d(),O&&O.d(),P=!1,$e(A)}}}function fS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=q(),l=S("span"),a=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){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":"")&&Ie(a,r)},d(o){o&&T(e),o&&T(n),o&&T(l)}}}function cS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[29](a[82].icon)),e?hS:dS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function dS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[82].icon)||f(t,"src",n),f(t,"alt",l=i[82].altText?i[82].altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-nested-list__icon sap-icon svelte-128n3rz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[82].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].altText?r[82].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function hS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[28](i[82].icon)+" svelte-128n3rz")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[28](n[82].icon)+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function pd(i){let e,t;return e=new Wn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function md(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function bd(i){let e,t;return e=new gn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function vd(i){let e,t,n=!i[82].hideFromNav&&gd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=gd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function gS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[79].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[79].metaInfo.altText?i[79].metaInfo.altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-navigation__icon svelte-128n3rz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[79].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[79].metaInfo.altText?r[79].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function _S(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[28](i[79].metaInfo.icon)+" "+(i[6]&&!i[79].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-128n3rz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[28](n[79].metaInfo.icon)+" "+(n[6]&&!n[79].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function wd(i){let e,t,n,l,r,a,o,c=i[6]&&kd(i),h=i[79],d=[];for(let p=0;p<h.length;p+=1)d[p]=Ld(Rc(i,h,p));const _=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=q(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"aria-roledescription","Navigation List Tree - Child Items"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(t,"aria-hidden","true"),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":""))},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].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=kd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1216389248|b[1]&133){h=p[79];let m;for(m=0;m<h.length;m+=1){const v=Rc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Ld(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(we(),m=h.length;m<d.length;m+=1)_(m);ke()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")))&&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)B(d[b]);o=!1},d(p){p&&T(e),c&&c.d(),st(d,p)}}}function kd(i){let e,t,n,l,r=i[24](i[78])+"",a,o,c,h,d,_=i[10]&&i[79].metaInfo.icon&&Sd(i);return{c(){e=S("div"),t=S("a"),_&&_.c(),n=q(),l=S("span"),a=Ne(r),o=q(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-128n3rz"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[33](i[79],i[24](i[78]))),f(e,"data-testid",d=i[32](i[79].metaInfo,i[78]))},m(p,b){L(p,e,b),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[79].metaInfo.icon?_?_.p(p,b):(_=Sd(p),_.c(),_.m(t,n)):_&&(_.d(1),_=null),b[0]&16785408&&r!==(r=p[24](p[78])+"")&&Ie(a,r),b[0]&16785408&&h!==(h=p[33](p[79],p[24](p[78])))&&f(e,"title",h),b[0]&8192&&d!==(d=p[32](p[79].metaInfo,p[78]))&&f(e,"data-testid",d)},d(p){p&&T(e),_&&_.d()}}}function Sd(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[29](a[79].metaInfo.icon)),e?mS:pS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function pS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[79].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[79].metaInfo.altText?i[79].metaInfo.altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-navigation__icon svelte-128n3rz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[79].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[79].metaInfo.altText?r[79].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function mS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[28](i[79].metaInfo.icon)+" svelte-128n3rz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[28](n[79].metaInfo.icon)+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Cd(i){let e,t,n=i[82].label&&yd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=yd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function yd(i){let e,t,n,l,r=i[27](i[82])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A,N,D,E=i[27](i[82])+"",V,U,O,W,K,X,ne,Pe,ee,z,oe,ie,j,Le,re;c=new Wn({props:{node:i[82]}});let Ee=i[82].externalLink&&i[82].externalLink.url&&Pd(),Se=i[82].badgeCounter&&Nd(i);function de(..._e){return i[49](i[82],..._e)}function Y(..._e){return i[50](i[82],..._e)}O=new Wn({props:{node:i[82]}});let ce=i[82].externalLink&&i[82].externalLink.url&&Id(),te=i[82].badgeCounter&&Td(i);function We(..._e){return i[51](i[82],..._e)}function Ge(..._e){return i[52](i[82],..._e)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=q(),Ue(c.$$.fragment),d=q(),_=S("span"),p=q(),Ee&&Ee.c(),b=q(),Se&&Se.c(),P=q(),A=S("li"),N=S("a"),D=S("span"),V=Ne(E),U=q(),Ue(O.$$.fragment),K=q(),ce&&ce.c(),X=q(),te&&te.c(),ie=q(),f(l,"class",h="fd-navigation__text badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"),f(_,"class","fd-navigation__selection-indicator"),f(_,"role","presentation"),f(_,"aria-hidden","true"),f(_,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-128n3rz"),f(n,"role","link"),f(n,"tabindex","-1"),f(n,"href",m=i[31](i[82])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[33](i[82],i[27](i[82]))),f(t,"aria-roledescription","Navigation List Tree Item - Child"),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[82]===i[7]),f(t,"data-testid",y=i[30](i[82])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(D,"class",W="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"),f(N,"href",ne=i[31](i[82])),f(N,"class",Pe="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"),f(N,"role",ee=i[23]?void 0:"button"),f(N,"tabindex","0"),f(N,"data-testid",z=i[30](i[82])),f(N,"title",oe=i[33](i[82],i[27](i[82]))),Pn(A,"display","none"),f(A,"class","fd-nested-list__item"),f(A,"aria-labelledby","collapsible_listnode_"+i[81])},m(_e,De){L(_e,e,De),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Oe(c,l,null),w(n,d),w(n,_),w(n,p),Ee&&Ee.m(n,null),w(n,b),Se&&Se.m(n,null),L(_e,P,De),L(_e,A,De),w(A,N),w(N,D),w(D,V),w(D,U),Oe(O,D,null),w(N,K),ce&&ce.m(N,null),w(N,X),te&&te.m(N,null),w(A,ie),j=!0,Le||(re=[le(n,"click",de),le(n,"keyup",function(){oi(i[23]?void 0:Y)&&(i[23]?void 0:Y).apply(this,arguments)}),le(N,"click",We),le(N,"keyup",function(){oi(i[23]?void 0:Ge)&&(i[23]?void 0:Ge).apply(this,arguments)})],Le=!0)},p(_e,De){i=_e,(!j||De[0]&8192)&&r!==(r=i[27](i[82])+"")&&Ie(a,r);const et={};De[0]&8192&&(et.node=i[82]),c.$set(et),(!j||De[0]&8192&&h!==(h="fd-navigation__text badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"))&&f(l,"class",h),i[82].externalLink&&i[82].externalLink.url?Ee||(Ee=Pd(),Ee.c(),Ee.m(n,b)):Ee&&(Ee.d(1),Ee=null),i[82].badgeCounter?Se?(Se.p(i,De),De[0]&8192&&R(Se,1)):(Se=Nd(i),Se.c(),R(Se,1),Se.m(n,null)):Se&&(we(),B(Se,1,1,()=>{Se=null}),ke()),(!j||De[0]&8192&&m!==(m=i[31](i[82])))&&f(n,"href",m),(!j||De[0]&8192&&v!==(v=i[33](i[82],i[27](i[82]))))&&f(t,"title",v),(!j||De[0]&8320&&C!==(C=i[82]===i[7]))&&f(t,"aria-selected",C),(!j||De[0]&8192&&y!==(y=i[30](i[82])))&&f(t,"data-testid",y),(!j||De[0]&8192)&&E!==(E=i[27](i[82])+"")&&Ie(V,E);const Rt={};De[0]&8192&&(Rt.node=i[82]),O.$set(Rt),(!j||De[0]&8192&&W!==(W="fd-nested-list__title badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"))&&f(D,"class",W),i[82].externalLink&&i[82].externalLink.url?ce||(ce=Id(),ce.c(),ce.m(N,X)):ce&&(ce.d(1),ce=null),i[82].badgeCounter?te?(te.p(i,De),De[0]&8192&&R(te,1)):(te=Td(i),te.c(),R(te,1),te.m(N,null)):te&&(we(),B(te,1,1,()=>{te=null}),ke()),(!j||De[0]&8192&&ne!==(ne=i[31](i[82])))&&f(N,"href",ne),(!j||De[0]&8320&&Pe!==(Pe="fd-nested-list__link "+(i[82]===i[7]?"is-selected":"")+" svelte-128n3rz"))&&f(N,"class",Pe),(!j||De[0]&8388608&&ee!==(ee=i[23]?void 0:"button"))&&f(N,"role",ee),(!j||De[0]&8192&&z!==(z=i[30](i[82])))&&f(N,"data-testid",z),(!j||De[0]&8192&&oe!==(oe=i[33](i[82],i[27](i[82]))))&&f(N,"title",oe)},i(_e){j||(R(c.$$.fragment,_e),R(Se),R(O.$$.fragment,_e),R(te),j=!0)},o(_e){B(c.$$.fragment,_e),B(Se),B(O.$$.fragment,_e),B(te),j=!1},d(_e){_e&&T(e),Fe(c),Ee&&Ee.d(),Se&&Se.d(),_e&&T(P),_e&&T(A),Fe(O),ce&&ce.d(),te&&te.d(),Le=!1,$e(re)}}}function Pd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Nd(i){let e,t;return e=new gn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Id(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Td(i){let e,t;return e=new gn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ld(i){let e,t,n=!i[82].hideFromNav&&Cd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Cd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Ad(i){let e,t,n=i[82].label&&Rd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Rd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Rd(i){let e,t,n,l,r,a=i[27](i[82])+"",o,c,h,d,_,p,b,m,v,C,y,P,A,N,D,E,V,U;function O(z,oe){return z[82].icon?vS:bS}let W=O(i),K=W(i);h=new Wn({props:{node:i[82]}});let X=i[82].externalLink&&i[82].externalLink.url&&Ed(),ne=i[82].badgeCounter&&Dd(i);function Pe(...z){return i[45](i[82],...z)}function ee(...z){return i[46](i[82],...z)}return{c(){e=S("li"),t=S("div"),n=S("a"),K.c(),l=q(),r=S("span"),o=Ne(a),c=q(),Ue(h.$$.fragment),_=q(),X&&X.c(),p=q(),ne&&ne.c(),b=q(),m=S("span"),D=q(),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"),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[82]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-128n3rz"),f(n,"tabindex","-1"),f(n,"href",C=i[31](i[82])),f(n,"title",y=i[33](i[82],i[27](i[82]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",A=i[30](i[82])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"title","Time"),f(t,"aria-roledescription","Navigation List Tree Item - Parent"),f(t,"aria-selected",N=i[82]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true")},m(z,oe){L(z,e,oe),w(e,t),w(t,n),K.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Oe(h,r,null),w(n,_),X&&X.m(n,null),w(n,p),ne&&ne.m(n,null),w(n,b),w(n,m),w(e,D),E=!0,V||(U=[le(n,"click",Pe),le(n,"keyup",function(){oi(i[23]?void 0:ee)&&(i[23]?void 0:ee).apply(this,arguments)})],V=!0)},p(z,oe){i=z,W===(W=O(i))&&K?K.p(i,oe):(K.d(1),K=W(i),K&&(K.c(),K.m(n,l))),(!E||oe[0]&8192)&&a!==(a=i[27](i[82])+"")&&Ie(o,a);const ie={};oe[0]&8192&&(ie.node=i[82]),h.$set(ie),(!E||oe[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[82].statusBadge&&i[82].statusBadge.align==="right"?"right":"left")+" svelte-128n3rz"))&&f(r,"class",d),i[82].externalLink&&i[82].externalLink.url?X||(X=Ed(),X.c(),X.m(n,p)):X&&(X.d(1),X=null),i[82].badgeCounter?ne?(ne.p(i,oe),oe[0]&8192&&R(ne,1)):(ne=Dd(i),ne.c(),R(ne,1),ne.m(n,b)):ne&&(we(),B(ne,1,1,()=>{ne=null}),ke()),(!E||oe[0]&8320&&v!==(v="fd-navigation__link "+(i[82]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-128n3rz"))&&f(n,"class",v),(!E||oe[0]&8192&&C!==(C=i[31](i[82])))&&f(n,"href",C),(!E||oe[0]&8192&&y!==(y=i[33](i[82],i[27](i[82]))))&&f(n,"title",y),(!E||oe[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!E||oe[0]&8192&&A!==(A=i[30](i[82])))&&f(n,"data-testid",A),(!E||oe[0]&8320&&N!==(N=i[82]===i[7]))&&f(t,"aria-selected",N)},i(z){E||(R(h.$$.fragment,z),R(ne),E=!0)},o(z){B(h.$$.fragment,z),B(ne),E=!1},d(z){z&&T(e),K.d(),Fe(h),X&&X.d(),ne&&ne.d(),V=!1,$e(U)}}}function bS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){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 vS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[29](a[82].icon)),e?kS:wS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function wS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[82].icon)||f(t,"src",n),f(t,"alt",l=i[82].altText?i[82].altText:""),f(t,"class","svelte-128n3rz"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-128n3rz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[82].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].altText?r[82].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function kS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[28](i[82].icon)+" svelte-128n3rz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[28](n[82].icon)+" svelte-128n3rz")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ed(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Dd(i){let e,t;return e=new gn({props:{node:i[82]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[82]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Vd(i){let e,t,n=!i[82].hideFromNav&&Ad(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[82].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Ad(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Md(i){let e,t,n,l,r,a;const o=[rS,lS],c=[];function h(d,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(d[78]==="undefined"||d[78].startsWith(d[14]))),e?0:(t==null&&(t=d[79].filter(CS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ve()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=h(d,_),n===p?~n&&c[n].p(d,_):(l&&(we(),B(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~n&&c[n].d(d),d&&T(r)}}}function SS(i){let e,t,n,l,r,a;const o=[Mk,Vk],c=[];function h(d,_){return d[26]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ve()},m(d,_){c[e].m(d,_),L(d,n,_),l=!0,r||(a=[le(xa,"resize",i[17]),le(xa,"click",i[21]),le(xa,"blur",i[21]),le(xa,"keydown",i[34])],r=!0)},p(d,_){t.p(d,_)},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&T(n),r=!1,$e(a)}}}function ln(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}const CS=i=>!i.hideFromNav&&i.label,yS=i=>!i.hideFromNav&&i.label;function PS(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:A,navParentNode:V}),set:async $=>{$&&(Object.getOwnPropertyNames($).forEach(async Te=>{if(Te==="pathData")t(5,p=$.pathData);else if(Te==="context")U=$.context;else if(Te==="children")t(0,a=$.children);else if(Te==="selectedNode")t(7,C=$.selectedNode);else if(Te==="hasCategoriesWithIcon")t(10,A=$.hasCategoriesWithIcon);else if(Te==="navParent"){t(12,E=void 0);let ct=$.navParent;if(t(42,V=ct),ct&&ct.navHeader&&se.requestExperimentalFeature("navHeader",!0)){let Tt=ct.navHeader,yt=ct;if(Tt==="inherit"){for(yt=ct.parent;yt&&yt.navHeader==="inherit";)yt=yt.parent;Tt=yt?yt.navHeader:void 0}if(Tt instanceof Function){t(12,E={});let sn=Tt(ye.stripNode(ct),ye.stripNode(yt),U);sn instanceof Promise?sn.then(vn=>{t(12,E=vn)}):t(12,E=sn)}else if(Tt==="auto")t(12,E={label:ct.label,icon:ct.icon});else if(Tt&&Tt.useTitleResolver&&yt.titleResolver){yt.titleResolver.prerenderFallback?t(12,E={...Tt,label:yt.titleResolver.fallbackTitle||"",icon:yt.titleResolver.fallbackIcon}):t(12,E=Tt);const sn=be.mapPathToNode(nt.getCurrentPath(),yt);Ft.extractDataFromPath(sn).then(vn=>{const ci=be.substituteDynamicParamsInObject(Object.assign({},vn.pathData.context,yt.context),vn.pathData.pathParams);ye.fetchNodeTitleData(yt,ci).then(Gn=>{t(12,E={...Tt,...Gn})}).catch(Gn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...Tt,label:ct.label,icon:ct.icon})})})}else t(12,E=await Se(Tt,yt))}}}),t(41,N=ye.getSideNavAccordionMode(C)))}},r=zt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=ye.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:A}=e,{sideNavAccordionMode:N}=e,{burgerTooltip:D}=e,{navHeader:E}=e,{navParentNode:V}=e,U,O,W,K=_t("store"),X=_t("getTranslation");wi(i,X,$=>t(24,n=$));let ne=!1,Pe=ae.getConfigBooleanValue("settings.btpToolLayout");const ee=$=>ye.getNodeLabel($),z=async()=>{const $=l.get(),Te=await Ft.getLeftNavData({...$},$);!Te||(l.set(Te),O=p,window.LEFTNAVDATA=Te.children)};Yt(()=>{t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=ae.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,ne=ae.getConfigValue("navigation.addNavHrefs")),t(1,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(22,W=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ye.loadExpandedCategories()),un.doOnStoreChange(K,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),un.doOnStoreChange(K,()=>{z()},["navigation.viewgroupdata"]);let $=pi.initial();t(6,v=$.isSemiCollapsed),t(40,h=$.semiCollapsible),pi.onValueChanged(Te=>{t(6,v=Te.isSemiCollapsed)}),Vn.addEventListener("message",Te=>{Te.data.msg==="luigi.navigation.update-badge-counters"&&z()})}),zn(()=>{(!O||O!=p)&&z(),t(22,W=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ye.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:oe}=e;function ie($){return ye.renderIconClassName($)}function j($){return ye.isOpenUIiconName($)}function Le($){return $.testId?$.testId:ye.prepareForTests($.pathSegment,$.label)}function re($){return be.getNodeHref($,b)}function Ee($,Te){return $&&$.testId?$.testId:ye.prepareForTests(Te||$.label)}async function Se($,Te){const ct=be.mapPathToNode(nt.getCurrentPath(),Te),yt=(await Ft.extractDataFromPath(ct)).pathData.pathParams;return be.substituteDynamicParamsInObject($,yt)}function de($,Te){return ye.generateTooltipText($,Te)}function Y($){r("handleClick",{node:$})}function ce($,Te){if(pi.getCollapsed()){let ct,Tt=document.getElementsByClassName("fd-app__sidebar")[0];if($.metaInfo&&$.metaInfo.label?ct=$.metaInfo.label:ct=$.category&&$.category.label||$.category,Tt&&!Tt.classList.contains("isBlocked")&&(Tt.className+=" isBlocked"),ct===y){t(8,y=pi.closePopupMenu(y));return}t(8,y=ct),Tt&&te(Te)}}function te($){const Te=$.closest(".fd-nested-list__item"),ct=Te.offsetTop,Tt=si.getShellbar().offsetHeight;let yt;si.isCustomLuigiContainer()?yt=si.getCustomLuigiContainer().clientHeight:yt=window.innerHeight,setTimeout(()=>{const sn=Te.getElementsByClassName("lui-flyout-sublist")[0],vn=$.closest(".lui-fd-side-nav-wrapper").scrollTop,ci=ct+Tt-vn,Gn=yt-ct-Te.offsetHeight+vn-Tt;ci+sn.offsetHeight>=yt?(sn.style.bottom=Gn+"px",sn.className+=" has-bottom-position"):sn.style.top=ci-Tt+"px"})}function We(){if(h){let $=pi.onResize(y);t(6,v=$.isSemiCollapsed),t(8,y=$.selectedCategory)}}function Ge($){if($.code==="ArrowRight"){const ct=Re.getCurrentMicrofrontendIframe();ct&&ct.contentWindow&&ct.contentWindow.focus()}}function _e($){let Te=V?V.parent:void 0;for(;Te;){if(Te.pathSegment&&Te.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Te});return}Te=Te.parent}console.warn('Could not resolve "up"-node, redirecting to root'),$_.navigate("/")}function De($,Te){pi.getCollapsed()||t(9,P=ye.storeExpandedState($.metaInfo.categoryUid,Te,N))}function et(){t(8,y=pi.closePopupMenu(y))}function Rt($){$&&$.code==="Escape"&&et()}function gt(){t(6,v=pi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),ui()}function Kt($){const Te=$.code;(Te==="Enter"||Te==="Space")&>()}function _n($,Te){($.code==="Enter"||$==="Space")&&ce(Te,$.currentTarget)}function Et($,Te){$.keyCode===vi&&ye.handleNavAnchorClickedWithoutMetaKey($)&&Y(Te)}function ui(){if(!ye.getBurgerTooltipConfig())return;const[$,Te]=ye.getBurgerTooltipConfig(),ct=document.body.classList.contains("lui-semiCollapsible");$&&Te&&ct&&t(11,D=document.body.classList.contains("semiCollapsed")?$:Te)}function Nn($,Te){return ln($,Te)?$.metaInfo.titleCollapseButton?n($.metaInfo.titleCollapseButton):void 0:$.metaInfo.titleExpandButton?n($.metaInfo.titleExpandButton):void 0}const pn=($,Te)=>{ye.handleNavAnchorClickedWithoutMetaKey(Te)&&Y($)},an=($,Te)=>Et(Te,$),In=$=>De($,!ln($,P)),It=($,Te)=>ce($,Te.currentTarget),dl=($,Te)=>{ye.handleNavAnchorClickedWithoutMetaKey(Te)&&Y($)},ti=($,Te)=>Et(Te,$),mn=($,Te)=>{ye.handleNavAnchorClickedWithoutMetaKey(Te)&&Y($)},Qt=($,Te)=>Et(Te,$),qn=($,Te)=>{ye.handleNavAnchorClickedWithoutMetaKey(Te)&&Y($)},en=($,Te)=>Et(Te,$),bn=($,Te)=>{ye.handleNavAnchorClickedWithoutMetaKey(Te)&&Y($)},fi=($,Te)=>Et(Te,$),ki=$=>De($,!ln($,P)),fn=$=>De($,!ln($,P)),Si=($,Te)=>_n(Te,$),Ci=($,Te)=>{ye.handleNavAnchorClickedWithoutMetaKey(Te)&&Y($)},yi=($,Te)=>Et(Te,$),Pi=($,Te)=>{ye.handleNavAnchorClickedWithoutMetaKey(Te)&&Y($)},hl=($,Te)=>Et(Te,$),gl=$=>ce($,event.currentTarget),_l=($,Te)=>{ye.handleNavAnchorClickedWithoutMetaKey(Te)&&Y($)},Wi=($,Te)=>Et(Te,$),Ni=$=>gt(),pl=$=>gt(),zi=$=>Kt($);return i.$$set=$=>{"children"in $&&t(0,a=$.children),"hideNavComponent"in $&&t(1,o=$.hideNavComponent),"footerText"in $&&t(2,c=$.footerText),"semiCollapsible"in $&&t(40,h=$.semiCollapsible),"semiCollapsibleButton"in $&&t(3,d=$.semiCollapsibleButton),"semiCollapsibleButtonStyle"in $&&t(4,_=$.semiCollapsibleButtonStyle),"pathData"in $&&t(5,p=$.pathData),"pathParams"in $&&t(43,b=$.pathParams),"virtualGroupPrefix"in $&&t(14,m=$.virtualGroupPrefix),"isSemiCollapsed"in $&&t(6,v=$.isSemiCollapsed),"selectedNode"in $&&t(7,C=$.selectedNode),"selectedCategory"in $&&t(8,y=$.selectedCategory),"expandedCategories"in $&&t(9,P=$.expandedCategories),"hasCategoriesWithIcon"in $&&t(10,A=$.hasCategoriesWithIcon),"sideNavAccordionMode"in $&&t(41,N=$.sideNavAccordionMode),"burgerTooltip"in $&&t(11,D=$.burgerTooltip),"navHeader"in $&&t(12,E=$.navHeader),"navParentNode"in $&&t(42,V=$.navParentNode),"sortedChildrenEntries"in $&&t(13,oe=$.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const $=Object.entries(a);$.sort((Te,ct)=>Te[1].metaInfo.order-ct[1].metaInfo.order),t(13,oe=$)}},[a,o,c,d,_,p,v,C,y,P,A,D,E,oe,m,Y,ce,We,Ge,_e,De,et,W,ne,n,X,Pe,ee,ie,j,Le,re,Ee,de,Rt,gt,Kt,_n,Et,Nn,h,N,V,b,te,pn,an,In,It,dl,ti,mn,Qt,qn,en,bn,fi,ki,fn,Si,Ci,yi,Pi,hl,gl,_l,Wi,Ni,pl,zi]}class ip extends Ot{constructor(e){super(),Mt(this,e,PS,SS,At,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:40,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:43,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:41,burgerTooltip:11,navHeader:12,navParentNode:42,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:44,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[44]}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const NS=i=>{un.doOnStoreChange(i.store,()=>{const e=ae.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),ae.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),lp(i),!t)return;const n=Boolean(t.logo);if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),a=document.getElementsByTagName("head")[0];for(const o of a.childNodes)o.rel==="shortcut icon"&&o.remove();a.appendChild(r)}})},["settings.header"])},IS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),lp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{let h=!0;return se.trimTrailingSlash(se.trimLeadingSlash(c.link)).split("/").forEach((d,_)=>{h&&(_+1>=t.length||!t[_+1].pathSegment||!IS(d,t[_+1].pathSegment,n))&&(h=!1)}),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=vt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Od(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Fd(i,e,t){const n=i.slice();return n[43]=e[t],n}function TS(i){let e,t,n,l,r=i[1]&&Ud(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),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=le(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Ud(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-sikqr4")&&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 LS(i){let e,t,n,l,r=i[1]&&Bd(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),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=le(e,"click",i[27]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Bd(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-sikqr4")&&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 Ud(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},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 Bd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){L(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),i[26](null)}}}function Hd(i){let e,t;function n(o,c){return o[3]?AS:RS}let l=n(i),r=l(i),a=i[10]&&Zd(i);return{c(){r.c(),e=q(),a&&a.c(),t=ve()},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[10]?a?a.p(o,c):(a=Zd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(o){r.d(o),o&&T(e),a&&a.d(o),o&&T(t)}}}function AS(i){let e,t,n,l,r,a,o,c,h,d;function _(C,y){return C[12]?DS:ES}let p=_(i),b=p(i),m=i[4]&&i[5]&&Jd(i),v=i[7]&&i[7].length>0&&jd(i);return{c(){e=S("div"),t=S("div"),b.c(),n=q(),l=S("div"),r=S("nav"),a=S("ul"),m&&m.c(),o=q(),v&&v.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[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(C,y){L(C,e,y),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),m&&m.m(a,null),w(a,o),v&&v.m(a,null),i[36](a),h||(d=le(t,"click",Ut(BS)),h=!0)},p(C,y){p===(p=_(C))&&b?b.p(C,y):(b.d(1),b=p(C),b&&(b.c(),b.m(t,null))),C[4]&&C[5]?m?m.p(C,y):(m=Jd(C),m.c(),m.m(a,o)):m&&(m.d(1),m=null),C[7]&&C[7].length>0?v?v.p(C,y):(v=jd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!C[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(C){C&&T(e),b.d(),m&&m.d(),v&&v.d(),i[36](null),h=!1,d()}}}function RS(i){let e;function t(r,a){return r[12]?FS:OS}let n=t(i),l=n(i);return{c(){l.c(),e=ve()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function ES(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(n),r=q(),a=S("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),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[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=le(e,"click",Ut(i[34])),c=!0)},p(d,_){_[0]&131076&&n!==(n=d[17](d[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function DS(i){let e,t,n,l=i[7]&&i[7].length===1&&Wd(i),r=i[7]&&i[7].length>1&&zd(i),a=i[7].length>1&&!i[5]&&Kd(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=q(),a&&a.c(),n=ve()},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[7]&&o[7].length===1?l?l.p(o,c):(l=Wd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=zd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?a?a.p(o,c):(a=Kd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&T(e),r&&r.d(o),o&&T(t),a&&a.d(o),o&&T(n)}}}function Wd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(a,o){L(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&131200&&n!==(n=a[17](a[7][0].title)+"")&&Ie(l,n),o[0]&128&&r!==(r=a[22](a[7][0]))&&f(e,"href",r)},d(a){a&&T(e)}}}function zd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=Gd(Fd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Fd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Gd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){st(n,l),l&&T(e)}}}function qd(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,h,d,_;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=q(),a=S("i"),o=q(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",h=i[11].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||(_=le(e,"click",Lt(i[32])),d=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Ie(l,n),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&h!==(h=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&T(e),d=!1,_()}}}function Gd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&qd(i);return{c(){n&&n.c(),t=ve()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=qd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&T(t)}}}function Kd(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=q(),a=S("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),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[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=le(e,"click",Lt(i[33])),c=!0)},p(d,_){_[0]&131076&&n!==(n=d[17](d[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,h()}}}function Jd(i){let e,t,n,l=i[17](i[6])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[20](i[6])),f(e,"class","fd-menu__item")},m(h,d){L(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=le(t,"click",Lt(i[14])),o=!0)},p(h,d){d[0]&131136&&l!==(l=h[17](h[6])+"")&&Ie(r,l),d[0]&64&&a!==(a=h[20](h[6]))&&f(t,"data-testid",a)},d(h){h&&T(e),o=!1,c()}}}function jd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=Qd(Od(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Od(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){st(n,l),l&&T(e)}}}function VS(i){let e,t,n,l=i[17](i[43].title)+"",r,a,o,c,h,d;function _(...p){return i[35](i[43],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=q(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=le(t,"click",_),h=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ie(r,l),b[0]&4736&&a!==(a=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",a),b[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&T(e),h=!1,d()}}}function MS(i){let e,t=i[16]&&Yd(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Yd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function Yd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=S("li"),t=new mr(!1),l=q(),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]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&T(e)}}}function Qd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!se.isFunction(o[8])),e)return MS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return VS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=ve()},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){a&&a.d(o),o&&T(n)}}}function OS(i){let e,t,n=i[17](i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=le(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,a()}}}function FS(i){let e,t,n=i[17](i[2])+"",l,r,a;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=le(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&T(e),r=!1,a()}}}function Zd(i){let e,t=i[17](i[10])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function US(i){let e,t;function n(o,c){return o[12]?LS:TS}let l=n(i),r=l(i),a=i[2]&&Hd(i);return{c(){r.c(),e=q(),a&&a.c(),t=ve()},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=Hd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:qe,o:qe,d(o){r.d(o),o&&T(e),a&&a.d(o),o&&T(t)}}}const BS=()=>{};function HS(i,e,t){let n;const l=zt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:h={}}=e,{showMainAppEntry:d}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:m}=e,{pathParams:v}=e,{subTitle:C}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:A}=e,N,D,E=_t("getUnsavedChangesModalPromise"),V=_t("getTranslation");wi(i,V,_e=>t(17,n=_e));let U=_t("store");const O={closeDropDown:()=>{ee("appSwitcherPopover")}},W=()=>({get:()=>({pathData:P,pathParams:v,appSwitcherItems:b,itemRenderer:m,selectedItem:_,defaultTitle:p,title:o,subTitle:C,defaultSubTitle:y,showMainAppEntry:d,hasApps:c,hasLogo:a,logo:r}),set:_e=>{_e&&Object.getOwnPropertyNames(_e).forEach(De=>{De==="pathData"?t(24,P=_e.pathData):De==="appSwitcherItems"?t(7,b=_e.appSwitcherItems):De==="itemRenderer"?t(8,m=_e.itemRenderer):De==="pathParams"?t(9,v=_e.pathParams):De==="selectedItem"?t(5,_=_e.selectedItem):De==="title"?t(2,o=_e.title):De==="defaultSubTitle"?t(23,y=_e.defaultSubTitle):De==="subTitle"?t(10,C=_e.subTitle):De==="defaultTitle"?t(6,p=_e.defaultTitle):De==="subTitle"?t(10,C=_e.subTitle):De==="showMainAppEntry"?t(4,d=_e.showMainAppEntry):De==="hasApps"?t(3,c=_e.hasApps):De==="hasLogo"&&t(1,a=_e.hasLogo)})},store:U});Yt(()=>{NS(W())}),zn(()=>{(!D||D!=P)&&(lp(W()),D=P)});function K(_e,De,et){return setTimeout(()=>{De&&m(_e,De.children[et],O)}),""}function X(_e){E().then(()=>{nt.navigateTo(be.applyPathParams(_e,v))},()=>{})}function ne(){E().then(()=>{nt.navigateTo("/")},()=>{})}function Pe(_e){l("handleClick",{node:_e}),ee("appSwitcherPopover")}function ee(_e){l("toggleDropdownState",{name:_e})}function z(_e){return _e.testId?_e.testId:ye.prepareForTests(_e.title||_e)}function oe(_e,De){if(_e.link){const et=be.applyPathParams(_e.link,De);if(et.indexOf(":")!==0&&et.indexOf("/:")===-1)return!0}return!1}function ie(_e){return be.getNodeHref(_e)}function j(_e){Xe[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const Le=_e=>{ye.handleNavAnchorClickedWithoutMetaKey(_e)&&X("/")};function re(_e){Xe[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const Ee=()=>X("/"),Se=_e=>{ye.handleNavAnchorClickedWithoutMetaKey(_e)&&X("/")},de=()=>X("/"),Y=()=>ee("appSwitcherPopover"),ce=()=>ee("appSwitcherPopover"),te=()=>ee("appSwitcherPopover"),We=(_e,De)=>{ye.handleNavAnchorClickedWithoutMetaKey(De)&&X(_e.link)};function Ge(_e){Xe[_e?"unshift":"push"](()=>{N=_e,t(16,N)})}return i.$$set=_e=>{"logo"in _e&&t(0,r=_e.logo),"hasLogo"in _e&&t(1,a=_e.hasLogo),"title"in _e&&t(2,o=_e.title),"hasApps"in _e&&t(3,c=_e.hasApps),"dropDownStates"in _e&&t(11,h=_e.dropDownStates),"showMainAppEntry"in _e&&t(4,d=_e.showMainAppEntry),"selectedItem"in _e&&t(5,_=_e.selectedItem),"defaultTitle"in _e&&t(6,p=_e.defaultTitle),"appSwitcherItems"in _e&&t(7,b=_e.appSwitcherItems),"itemRenderer"in _e&&t(8,m=_e.itemRenderer),"pathParams"in _e&&t(9,v=_e.pathParams),"subTitle"in _e&&t(10,C=_e.subTitle),"defaultSubTitle"in _e&&t(23,y=_e.defaultSubTitle),"pathData"in _e&&t(24,P=_e.pathData),"addNavHrefForAnchor"in _e&&t(12,A=_e.addNavHrefForAnchor)},[r,a,o,c,d,_,p,b,m,v,C,h,A,X,ne,ee,N,n,V,K,z,oe,ie,y,P,Pe,j,Le,re,Ee,Se,de,Y,ce,te,We,Ge]}class WS extends Ot{constructor(e){super(),Mt(this,e,HS,US,At,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function Xd(i,e,t){const n=i.slice();return n[34]=e[t],n}function $d(i){let e,t,n,l,r,a,o=i[0]&&xd(i),c=(i[10]||i[11])&&ah(i);return{c(){e=S("div"),o&&o.c(),t=q(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),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=xd(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=ah(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&T(e),o&&o.d(),h&&T(t),h&&T(n),c&&c.d()}}}function xd(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?qS:zS}let h=c(i),d=h(i),_=i[7].name&&eh(i),p=i[7].description&&th(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=ih(Xd(i,b,C));let v=i[12]&&lh(i);return{c(){e=S("div"),d.c(),t=q(),n=S("div"),_&&_.c(),l=q(),p&&p.c(),r=q(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=q(),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"),f(a,"role","list")},m(C,y){L(C,e,y),d.m(e,null),L(C,t,y),L(C,n,y),_&&_.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(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?_?_.p(C,y):(_=eh(C),_.c(),_.m(n,l)):_&&(_.d(1),_=null),C[7].description?p?p.p(C,y):(p=th(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const A=Xd(C,b,P);m[P]?m[P].p(A,y):(m[P]=ih(A),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=lh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&T(e),d.d(),C&&T(t),C&&T(n),_&&_.d(),p&&p.d(),C&&T(r),C&&T(a),st(m,C),v&&v.d()}}}function zS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ie(n,t)},d(l){l&&T(e)}}}function qS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),Pn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&Pn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function eh(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),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+"")&&Ie(n,t)},d(l){l&&T(e)}}}function th(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),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+"")&&Ie(n,t)},d(l){l&&T(e)}}}function nh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?KS:GS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function GS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),Pn(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&&Pn(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 KS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&T(e)}}}function ih(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,_=i[34].icon&&nh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),_&&_.c(),n=q(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-x3xwcc"),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,"role","listitem"),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),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[le(t,"click",i[23]),le(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?_?_.p(i,m):(_=nh(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ie(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),_&&_.d(),h=!1,$e(d)}}}function lh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&rh(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=q(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-x3xwcc"),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,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,_){L(d,e,_),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[le(e,"click",Lt(i[5])),le(e,"keyup",i[25])],o=!0)},p(d,_){d[9].settings.icon?h?h.p(d,_):(h=rh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),_[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Ie(a,r)},d(d){d&&T(e),h&&h.d(),o=!1,$e(c)}}}function rh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?jS:JS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function JS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),je(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&&!je(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function jS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},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-x3xwcc")&&f(e,"class",t)},d(n){n&&T(e)}}}function ah(i){let e,t,n=(i[8]||!i[10]&&i[11])&&sh(i),l=i[10]&&!i[8]&&oh(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=ve()},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=sh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=oh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function sh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=le(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ie(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 oh(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=q(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){L(a,e,o),L(a,t,o),L(a,n,o),l||(r=[le(e,"click",i[15]),le(n,"click",i[15])],l=!0)},p:qe,d(a){a&&T(e),a&&T(t),a&&T(n),l=!1,$e(r)}}}function YS(i){let e,t=!i[1]&&$d(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=$d(n),t.c(),t.m(e.parentNode,e))},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function QS(i,e,t){let n;const l=zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,_,p,b,m,v=_t("store"),C=_t("getTranslation");wi(i,C,j=>t(13,n=j));let y=_t("getUnsavedChangesModalPromise"),P=_t("openViewInModal");Yt(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),U(),rn.getLoggedInStore().subscribe(j=>{t(8,c=j)}),rn.getUserInfoStore().subscribe(j=>{t(7,o=j),l("userInfoUpdated",o)})});function A(){rn.startAuthorization()}function N(j){return ye.renderIconClassName(j)}function D(j){return ye.isOpenUIiconName(j.icon)}function E(j){return j.testId?j.testId:ye.prepareForTests(j.label)}function V(j){return be.getNodeHref(j)}function U(){b||(un.doOnStoreChange(v,async()=>{const j=await ae.getConfigValueAsync("navigation.profile.logout"),Le=await ae.getConfigValueAsync("userSettings"),re=Le||await ae.getConfigValueAsync("settings.userSettings"),Ee={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(re)){const Se=re.userSettingsProfileMenuEntry;Ee.settings={...fl.userSettingsProfileMenuEntry,...Se}}Ee.logout={...fl.logout,...j},t(11,_=Boolean(j)),m=!1,rn.setProfileLogoutFn(null),j&&se.isFunction(j.customLogoutFn)&&(m=!0,rn.setProfileLogoutFn(j.customLogoutFn)),t(9,h=Ee),t(12,p=Boolean(re))},["navigation.profile"]),b=!0)}async function O(){const j=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");j&&(rn.setUserInfo(o),t(7,o=j),l("userInfoUpdated",o))}function W(j){y().then(()=>{if(j.openNodeInModal){const Le=be.buildRoute(j,`${j.link}`);P(Le,j.openNodeInModal===!0?{}:j.openNodeInModal)}else nt.navigateToLink(j)},()=>{}),l("toggleDropdownState")}function K(){y().then(()=>{d?ne():_&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){Zr.openUserSettings(),l("toggleDropdownState")}function ne(){rn.logout()}function Pe({keyCode:j}){(j===vi||j===Yr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:ee}=e;const z=j=>{ye.handleNavAnchorClickedWithoutMetaKey(j)},oe=j=>W(j),ie=j=>Pe(j);return i.$$set=j=>{"isHidden"in j&&t(1,r=j.isHidden),"addNavHrefForAnchor"in j&&t(2,a=j.addNavHrefForAnchor),"showUserInfo"in j&&t(0,ee=j.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=Boolean(o&&(o.name||o.email)))},[ee,r,a,W,K,X,Pe,o,c,h,d,_,p,n,C,A,N,D,E,V,U,O,ne,z,oe,ie]}class ZS extends Ot{constructor(e){super(),Mt(this,e,QS,YS,At,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function uh(i,e,t){const n=i.slice();return n[34]=e[t],n}function fh(i){let e,t,n,l,r,a=i[0]&&ch(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=hh(uh(i,o,_));let h=i[12]&&gh(i),d=(i[10]||i[11])&&ph(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=q();for(let _=0;_<c.length;_+=1)c[_].c();l=q(),h&&h.c(),r=q(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(_,p){L(_,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(_,p){if(_[0]?a?a.p(_,p):(a=ch(_),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const m=uh(_,o,b);c[b]?c[b].p(m,p):(c[b]=hh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}_[12]?h?h.p(_,p):(h=gh(_),h.c(),h.m(t,r)):h&&(h.d(1),h=null),_[10]||_[11]?d?d.p(_,p):(d=ph(_),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(_){_&&T(e),a&&a.d(),st(c,_),h&&h.d(),d&&d.d()}}}function ch(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),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)+"")&&Ie(l,n)},d(r){r&&T(e)}}}function dh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?$S:XS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function XS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),je(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&&!je(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 $S(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},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-1lwfozx")&&f(e,"class",t)},d(n){n&&T(e)}}}function hh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,_=i[34].icon&&dh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),_&&_.c(),n=q(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[le(t,"click",i[23]),le(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?_?_.p(i,m):(_=dh(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ie(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),_&&_.d(),h=!1,$e(d)}}}function gh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&_h(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=q(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){L(_,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[le(e,"click",Lt(i[5])),le(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?d?d.p(_,p):(d=_h(_),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Ie(a,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&T(e),d&&d.d(),c=!1,$e(h)}}}function _h(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?eC:xS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function xS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),je(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&&!je(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 eC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},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-1lwfozx")&&f(e,"class",t)},d(n){n&&T(e)}}}function ph(i){let e,t,n=(i[8]||!i[10]&&i[11])&&mh(i),l=i[10]&&!i[8]&&vh(i);return{c(){n&&n.c(),e=q(),l&&l.c(),t=ve()},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=mh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=vh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function mh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&bh(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=q(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){L(_,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=le(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?d?d.p(_,p):(d=bh(_),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Ie(a,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&T(e),d&&d.d(),c=!1,h()}}}function bh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?nC:tC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function tC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),je(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&&!je(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 nC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},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-1lwfozx")&&f(e,"class",t)},d(n){n&&T(e)}}}function vh(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=le(e,"click",i[15]),t=!0)},p:qe,d(l){l&&T(e),t=!1,n()}}}function iC(i){let e,t=!i[1]&&fh(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=fh(n),t.c(),t.m(e.parentNode,e))},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function lC(i,e,t){let n;const l=zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,_,p,b,m,v=_t("store"),C=_t("getTranslation");wi(i,C,j=>t(13,n=j));let y=_t("getUnsavedChangesModalPromise"),P=_t("openViewInModal");Yt(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),U(),rn.getLoggedInStore().subscribe(j=>{t(8,c=j)}),rn.getUserInfoStore().subscribe(j=>{t(7,o=j),l("userInfoUpdated",o)})});function A(){rn.startAuthorization()}function N(j){return ye.renderIconClassName(j)}function D(j){return ye.isOpenUIiconName(j.icon)}function E(j){return j.testId?j.testId:ye.prepareForTests(j.label)}function V(j){return be.getNodeHref(j)}function U(){b||(un.doOnStoreChange(v,async()=>{const j=await ae.getConfigValueAsync("navigation.profile.logout"),Le=await ae.getConfigValueAsync("userSettings"),re=Le||await ae.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(re));const Ee={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Se=re.userSettingsProfileMenuEntry;Ee.settings={...fl.userSettingsProfileMenuEntry,...Se}}Ee.logout={...fl.logout,...j},t(11,_=Boolean(j)),m=!1,rn.setProfileLogoutFn(null),j&&se.isFunction(j.customLogoutFn)&&(m=!0,rn.setProfileLogoutFn(j.customLogoutFn)),t(9,h=Ee)},["navigation.profile"]),b=!0)}async function O(){const j=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");j&&(rn.setUserInfo(o),t(7,o=j),l("userInfoUpdated",o))}function W(j){y().then(()=>{if(j.openNodeInModal){const Le=be.buildRoute(j,`${j.link}`);P(Le,j.openNodeInModal===!0?{}:j.openNodeInModal)}else nt.navigateToLink(j)},()=>{}),l("toggleDropdownState")}function K(){y().then(()=>{d?ne():_&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){Zr.openUserSettings(),l("toggleDropdownState")}function ne(){rn.logout()}function Pe({keyCode:j}){(j===vi||j===Yr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:ee}=e;const z=j=>{ye.handleNavAnchorClickedWithoutMetaKey(j)},oe=j=>W(j),ie=j=>Pe(j);return i.$$set=j=>{"isHidden"in j&&t(1,r=j.isHidden),"addNavHrefForAnchor"in j&&t(2,a=j.addNavHrefForAnchor),"showUserInfo"in j&&t(0,ee=j.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,ee=Boolean(o&&(o.name||o.email)))},[ee,r,a,W,K,X,Pe,o,c,h,d,_,p,n,C,A,N,D,E,V,U,O,ne,z,oe,ie]}class rp extends Ot{constructor(e){super(),Mt(this,e,lC,iC,At,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function wh(i,e,t){const n=i.slice();return n[12]=e[t],n}function kh(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=yh(wh(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&510){n=a[1];let c;for(c=0;c<n.length;c+=1){const h=wh(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=yh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Sh(i){let e,t,n,l,r,a,o,c,h=i[4](i[12])+"",d,_,p=i[5](i[12]),b,m,v,C,y,P;function A(U,O){return O&10&&(n=null),n==null&&(n=!!U[3](U[12])),n?aC:rC}let N=A(i,-1),D=N(i);r=new gn({props:{node:i[12]}});let E=p&&Ch(i);function V(){return i[10](i[12])}return{c(){e=S("li"),t=S("div"),D.c(),l=q(),Ue(r.$$.fragment),a=q(),o=S("div"),c=S("div"),d=Ne(h),_=q(),E&&E.c(),b=q(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",m="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=i[2](i[12]))},m(U,O){L(U,e,O),w(e,t),D.m(t,null),w(t,l),Oe(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,_),E&&E.m(o,null),w(e,b),C=!0,y||(P=le(e,"click",V),y=!0)},p(U,O){i=U,N===(N=A(i,O))&&D?D.p(i,O):(D.d(1),D=N(i),D&&(D.c(),D.m(t,l)));const W={};O&2&&(W.node=i[12]),r.$set(W),(!C||O&18)&&h!==(h=i[4](i[12])+"")&&Ie(d,h),O&34&&(p=i[5](i[12])),p?E?E.p(i,O):(E=Ch(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&66&&m!==(m="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",m),(!C||O&6&&v!==(v=i[2](i[12])))&&f(e,"data-testid",v)},i(U){C||(R(r.$$.fragment,U),C=!0)},o(U){B(r.$$.fragment,U),C=!1},d(U){U&&T(e),D.d(),Fe(r),E&&E.d(),y=!1,P()}}}function rC(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){L(l,e,r)},p(l,r){r&2&&!je(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function aC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){L(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ch(i){let e,t=i[5](i[12])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function yh(i){let e,t,n=i[12].label&&Sh(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Sh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function sC(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A,N=i[1]&&kh(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=q(),h=S("div"),d=S("div"),_=S("ul"),N&&N.c(),p=q(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-503htr"),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(D,E){L(D,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,_),N&&N.m(_,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(A=[le(C,"click",i[9]),le(e,"click",Ut(oC))],P=!0)},p(D,[E]){(!y||E&1)&&Ie(o,D[0]),D[1]?N?(N.p(D,E),E&2&&R(N,1)):(N=kh(D),N.c(),R(N,1),N.m(_,null)):N&&(we(),B(N,1,1,()=>{N=null}),ke())},i(D){y||(R(N),y=!0)},o(D){B(N),y=!1},d(D){D&&T(e),N&&N.d(),P=!1,$e(A)}}}const oC=()=>{};function uC(i,e,t){const n=zt();let{label:l}=e,{nodes:r}=e,{getTestId:a}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:h}=e,{noSubTitle:d}=e;function _(v){return ye.renderIconClassName(v)}function p(v){n("listClick",v)}function b(v){Ml.call(this,i,v)}const m=v=>p(v);return i.$$set=v=>{"label"in v&&t(0,l=v.label),"nodes"in v&&t(1,r=v.nodes),"getTestId"in v&&t(2,a=v.getTestId),"hasOpenUIicon"in v&&t(3,o=v.hasOpenUIicon),"getNodeLabel"in v&&t(4,c=v.getNodeLabel),"getNodeSubtitle"in v&&t(5,h=v.getNodeSubtitle),"noSubTitle"in v&&t(6,d=v.noSubTitle)},[l,r,a,o,c,h,d,p,_,b,m]}class ap extends Ot{constructor(e){super(),Mt(this,e,uC,sC,At,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:fC}=Hi;function Ph(i,e,t){const n=i.slice();return n[6]=e[t],n}function Nh(i){let e,t,n,l=i[0]&&Ih(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){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=Ih(r),l.c(),R(l,1),l.m(t,null)):l&&(we(),B(l,1,1,()=>{l=null}),ke())},i(r){n||(R(l),n=!0)},o(r){B(l),n=!1},d(r){r&&T(e),l&&l.d()}}}function Ih(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Lh(Ph(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&16005){n=a[0];let c;for(c=0;c<n.length;c+=1){const h=Ph(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Lh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Th(i){let e,t,n,l,r,a,o,c,h=i[11](i[6])+"",d,_,p,b,m,v,C;function y(D,E){return E&1&&(l=null),l==null&&(l=!!(D[6].icon&&D[9](D[6]))),l?dC:cC}let P=y(i,-1),A=P(i);a=new gn({props:{node:i[6]}});function N(){return i[15](i[6])}return{c(){e=S("li"),t=S("a"),n=S("span"),A.c(),r=q(),Ue(a.$$.fragment),o=q(),c=S("span"),d=Ne(h),p=q(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",_=i[7]?i[13](i[6]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=i[12](i[6]))},m(D,E){L(D,e,E),w(e,t),w(t,n),A.m(n,null),w(n,r),Oe(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[le(t,"click",i[14]),le(e,"click",N)],v=!0)},p(D,E){i=D,P===(P=y(i,E))&&A?A.p(i,E):(A.d(1),A=P(i),A&&(A.c(),A.m(n,r)));const V={};E&1&&(V.node=i[6]),a.$set(V),(!m||E&1)&&h!==(h=i[11](i[6])+"")&&Ie(d,h),(!m||E&1&&_!==(_=i[7]?i[13](i[6]):void 0))&&f(t,"href",_),(!m||E&1&&b!==(b=i[12](i[6])))&&f(e,"data-testid",b)},i(D){m||(R(a.$$.fragment,D),m=!0)},o(D){B(a.$$.fragment,D),m=!1},d(D){D&&T(e),A.d(),Fe(a),v=!1,$e(C)}}}function cC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1gqx0dl"),je(e.src,t=i[6].icon)||f(e,"src",t),f(e,"alt",n=i[6].altText?i[6].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[6].icon)&&f(e,"src",t),r&1&&n!==(n=l[6].altText?l[6].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function dC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[6].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[6].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Lh(i){let e,t,n=i[6].label&&Th(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[6].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Th(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Ah(i){let e,t;return e=new ap({props:{nodes:i[6].children,label:i[11](i[6]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[4]),e.$on("listClick",i[3]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l&64&&(r.nodes=n[6].children),l&64&&(r.label=n[11](n[6])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function hC(i){let e,t,n,l,r,a=!i[1]&&Nh(i),o=i[1]&&Ah(i);return{c(){a&&a.c(),e=q(),o&&o.c(),t=ve()},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=le(fC,"resize",ss),l=!0)},p(c,[h]){c[1]?a&&(we(),B(a,1,1,()=>{a=null}),ke()):a?(a.p(c,h),h&2&&R(a,1)):(a=Nh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Ah(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(we(),B(o,1,1,()=>{o=null}),ke())},i(c){n||(R(a),R(o),n=!0)},o(c){B(a),B(o),n=!1},d(c){a&&a.d(c),c&&T(e),o&&o.d(c),c&&T(t),l=!1,r()}}}function ss(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function gC(i,e,t){const n=zt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=_t("getUnsavedChangesModalPromise"),h=_t("openViewInModal"),d;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});Yt(async()=>{ss()}),zn(async()=>{r||t(0,r=await Ft.getChildren(a)),t(0,r)});function b(V){c().then(()=>{if(V.openNodeInModal){const U=be.buildRoute(V,`/${V.pathSegment}`);h(U,V.openNodeInModal===!0?{}:V.openNodeInModal)}else nt.handleRouteClick(V,p())},()=>{}),v()}function m(V){b(V.detail)}function v(){n("close")}function C(V){return ye.isOpenUIiconName(V.icon)}function y(V){return ye.renderIconClassName(V)}function P(V){return vt.getTranslation(V.label)}function A(V){return V.testId?V.testId:ye.prepareForTests(V.pathSegment,V.label)}function N(V){return be.getNodeHref(V,o)}const D=V=>{ye.handleNavAnchorClickedWithoutMetaKey(V)},E=V=>b(V);return i.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(6,a=V.node)},[r,l,b,m,v,ss,a,d,_,C,y,P,A,N,D,E]}class sp extends Ot{constructor(e){super(),Mt(this,e,gC,hC,At,{isMobile:1,children:0,node:6,onActionClick:2,onActionClickExternal:3,closeSubNav:4,setViewportHeightVariable:5})}get onActionClick(){return this.$$.ctx[2]}get onActionClickExternal(){return this.$$.ctx[3]}get closeSubNav(){return this.$$.ctx[4]}get setViewportHeightVariable(){return ss}}const hn={_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?se.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=se.addLeadingSlash(nt.getCurrentPath()),n=se.addLeadingSlash(e.link);return t.startsWith(n)?i.link+se.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=se.normalizePath(i),n=se.normalizePath(e);return Boolean(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=ae.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=hn._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=se.normalizePath(i),t=se.normalizePath(t),!!hn.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=hn.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 hn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=ae.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await ae.getConfigValueAsync("navigation.contextSwitcher.options");return await hn.generateSwitcherNav(e,t)}};function Rh(i,e,t){const n=i.slice();return n[21]=e[t],n}function Eh(i,e,t){const n=i.slice();return n[21]=e[t],n}function Dh(i,e,t){const n=i.slice();return n[21]=e[t],n}function Vh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Oh(Dh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&21249){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Dh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Oh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function Mh(i){let e,t,n,l=i[14](i[21].label)+"",r,a,o,c,h,d;function _(){return i[15](i[21])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=q(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[le(t,"click",Lt(kC)),le(e,"click",_)],h=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(r,l),b&257&&a!==(a=i[8](i[21]))&&f(t,"href",a),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,$e(d)}}}function Oh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&Mh(i);return{c(){n&&n.c(),t=ve()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=Mh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&T(t)}}}function Fh(i){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
55
61
|
<div class="fd-busy-indicator__circle"></div>
|
|
56
|
-
<div class="fd-busy-indicator__circle"></div></div>`,c(e,"class","lui-contextswitcher-indicator")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function rh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=sh(xd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);E(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=xd(l,t,s);n[s]?n[s].p(o,r):(n[s]=sh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ct(n,l),l&&R(e)}}}function ok(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function uk(i){let e,t,n,l,r;function s(h,_){return h[2]?ck:fk}let o=s(i),f=o(i);function g(){return i[17](i[21])}return{c(){e=k("li"),f.c(),n=K(),c(e,"class","fd-menu__item"),c(e,"data-testid",t=i[9](i[21]))},m(h,_){E(h,e,_),f.m(e,null),E(h,n,_),l||(r=se(e,"click",g),l=!0)},p(h,_){i=h,o===(o=s(i))&&f?f.p(i,_):(f.d(1),f=o(i),f&&(f.c(),f.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&c(e,"data-testid",t)},d(h){h&&R(e),f.d(),h&&R(n),l=!1,r()}}}function fk(i){let e,t,n=i[26]+"",l,r,s,o,f,g;return{c(){e=k("a"),t=k("span"),l=Ne(n),c(t,"class","fd-menu__title"),c(e,"href",r=i[8](i[21])),c(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),c(e,"title",o=i[26])},m(h,_){E(h,e,_),w(e,t),w(t,l),f||(g=se(e,"click",i[16]),f=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Te(l,n),_&264&&r!==(r=h[8](h[21]))&&c(e,"href",r),_&154&&s!==(s="fd-menu__link "+(h[26]===h[4]?"is-selected":""))&&c(e,"class",s),_&138&&o!==(o=h[26])&&c(e,"title",o)},d(h){h&&R(e),f=!1,g()}}}function ck(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function dk(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function sh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:dk,then:uk,catch:ok,value:26};return ia(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ke(),n.block.c()},m(l,r){E(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&ia(t,n)||i_(n,i,r)},d(l){l&&R(e),n.block.d(l),n.token=null,n=null}}}function ah(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=uh($d(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=$d(l,t,s);n[s]?n[s].p(o,r):(n[s]=uh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function oh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,f,g,h;function _(){return i[19](i[21])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),o=K(),c(n,"class","fd-menu__title"),c(t,"href",s=i[8](i[21])),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",f=i[9](i[21]))},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(h=[se(t,"click",i[18]),se(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),b&257&&s!==(s=i[8](i[21]))&&c(t,"href",s),b&513&&f!==(f=i[9](i[21]))&&c(e,"data-testid",f)},d(p){p&&R(e),g=!1,Ze(h)}}}function uh(i){let e,t=i[21].position==="bottom"&&oh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=oh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function hk(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&th(i),f=i[3]&&i[3].length===0&&i[11]&&lh(),g=i[3]&&i[3].length&&rh(i),h=i[0]&&i[0].length&&ah(i);return{c(){e=k("nav"),o&&o.c(),t=K(),n=k("ul"),f&&f.c(),l=K(),g&&g.c(),r=K(),h&&h.c(),c(n,"class","fd-menu__list"),c(n,"id","context_menu_middle"),c(e,"class",s="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(_,p){E(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),f&&f.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),h&&h.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=th(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?f||(f=lh(),f.c(),f.m(n,l)):f&&(f.d(1),f=null),_[3]&&_[3].length?g?g.p(_,p):(g=rh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?h?h.p(_,p):(h=ah(_),h.c(),h.m(e,null)):h&&(h.d(1),h=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&c(e,"class",s)},i:Fe,o:Fe,d(_){_&&R(e),o&&o.d(),f&&f.d(),g&&g.d(),h&&h.d()}}}const gk=()=>{};function _k(i,e,t){let n,l=Fe,r=()=>(l(),l=Lo(y,B=>t(14,n=B)),y);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:f}=e,{options:g=[]}=e,{selectedLabel:h}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:v}=e,{getTestId:S}=e,{getTranslation:y}=e;r();let{isContextSwitcherDropdownShown:C}=e;const P=Ht();function I(B){P("onActionClick",{node:B})}function T(B,G){P("goToOption",{option:B,selectedOption:G})}const A=B=>I(B),L=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},O=B=>T(B,_),H=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},F=B=>I(B);return i.$$set=B=>{"actions"in B&&t(0,s=B.actions),"config"in B&&t(1,o=B.config),"customOptionsRenderer"in B&&t(2,f=B.customOptionsRenderer),"options"in B&&t(3,g=B.options),"selectedLabel"in B&&t(4,h=B.selectedLabel),"selectedOption"in B&&t(5,_=B.selectedOption),"isMobile"in B&&t(6,p=B.isMobile),"getNodeName"in B&&t(7,b=B.getNodeName),"getRouteLink"in B&&t(8,v=B.getRouteLink),"getTestId"in B&&t(9,S=B.getTestId),"getTranslation"in B&&r(t(10,y=B.getTranslation)),"isContextSwitcherDropdownShown"in B&&t(11,C=B.isContextSwitcherDropdownShown)},[s,o,f,g,h,_,p,b,v,S,y,C,I,T,n,A,L,O,H,F]}class S_ extends Rt{constructor(e){super(),At(this,e,_k,hk,Tt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function fh(i){let e,t,n,l=!i[9]&&ch(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&dh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[9]?l&&(Ce(),q(l,1,1,()=>{l=null}),ye()):l?(l.p(s,o),o[0]&512&&M(l,1)):(l=ch(s),l.c(),M(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&M(r,1)):(r=dh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&R(e),r&&r.d(s),s&&R(t)}}}function ch(i){let e,t,n,l,r,s,o,f,g,h;function _(v,S){return v[18]&&v[2]!==v[5].defaultLabel?mk:pk}let p=_(i),b=p(i);return s=new S_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[10]),s.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=K(),r=k("div"),qe(s.$$.fragment),c(n,"class","fd-popover__control"),c(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),c(r,"aria-hidden",o=!i[8].contextSwitcherPopover),c(r,"id","contextSwitcherPopover"),c(r,"data-testid","luigi-contextswitcher-popover"),c(t,"class","fd-popover fd-popover--right svelte-11j1get"),c(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(v,S){E(v,e,S),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),We(s,r,null),f=!0,g||(h=se(n,"click",Ut(Ik)),g=!0)},p(v,S){p===(p=_(v))&&b?b.p(v,S):(b.d(1),b=p(v),b&&(b.c(),b.m(n,null)));const y={};S[0]&1&&(y.actions=v[0]),S[0]&32&&(y.config=v[5]),S[0]&64&&(y.customOptionsRenderer=v[6]),S[0]&2&&(y.options=v[1]),S[0]&16&&(y.selectedLabel=v[4]),S[0]&4&&(y.selectedOption=v[2]),S[0]&512&&(y.isMobile=v[9]),S[0]&16384&&(y.isContextSwitcherDropdownShown=v[14]),s.$set(y),(!f||S[0]&256&&o!==(o=!v[8].contextSwitcherPopover))&&c(r,"aria-hidden",o)},i(v){f||(M(s.$$.fragment,v),f=!0)},o(v){q(s.$$.fragment,v),f=!1},d(v){v&&R(e),b.d(),ze(s),g=!1,h()}}}function pk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?vk:bk}let f=o(i),g=f(i);return{c(){e=k("button"),g.c(),c(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),c(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),c(e,"aria-haspopup","true"),c(e,"title",n=i[4]?i[4]:i[5].defaultLabel),c(e,"aria-disabled",l=!i[15]),c(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=se(e,"click",i[31]),r=!0)},p(h,_){f===(f=o(h))&&g?g.p(h,_):(g.d(1),g=f(h),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&c(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&c(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&c(e,"aria-disabled",l)},d(h){h&&R(e),g.d(),r=!1,s()}}}function mk(i){let e,t,n,l,r,s;function o(h,_){return h[2]&&h[7]?Ck:kk}let f=o(i),g=f(i);return{c(){e=k("a"),g.c(),c(e,"href",i[13]),c(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),c(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),c(e,"aria-haspopup","true"),c(e,"title",n=i[4]?i[4]:i[5].defaultLabel),c(e,"aria-disabled",l=!i[15]),c(e,"data-testid","luigi-contextswitcher-button")},m(h,_){E(h,e,_),g.m(e,null),r||(s=se(e,"click",Mt(i[30])),r=!0)},p(h,_){f===(f=o(h))&&g?g.p(h,_):(g.d(1),g=f(h),g&&(g.c(),g.m(e,null))),_[0]&8192&&c(e,"href",h[13]),_[0]&256&&t!==(t=h[8].contextSwitcherPopover||!1)&&c(e,"aria-expanded",t),_[0]&48&&n!==(n=h[4]?h[4]:h[5].defaultLabel)&&c(e,"title",n),_[0]&32768&&l!==(l=!h[15])&&c(e,"aria-disabled",l)},d(h){h&&R(e),g.d(),r=!1,s()}}}function bk(i){let e,t;function n(s,o){return s[4]?wk:Sk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),c(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),E(s,e,o),E(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&R(e),s&&R(t)}}}function vk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function wk(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&R(e)}}}function Sk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&R(t)}}}function kk(i){let e,t;function n(s,o){return s[4]?yk:Pk}let l=n(i),r=l(i);return{c(){r.c(),e=K(),t=k("i"),c(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),E(s,e,o),E(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&R(e),s&&R(t)}}}function Ck(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function yk(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&R(e)}}}function Pk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&R(t)}}}function dh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I=!i[4]&&hh(i),T=i[4]&&gh(i);return h=new S_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[10]),h.$on("goToOption",i[11]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),I&&I.c(),o=K(),T&&T.c(),f=K(),g=k("div"),qe(h.$$.fragment),_=K(),p=k("footer"),b=k("div"),v=k("div"),S=k("button"),S.textContent="Cancel",c(s,"class","fd-title fd-title--h5"),c(s,"id","dialog-title-3"),c(r,"class","fd-bar__element"),c(l,"class","fd-bar__left"),c(n,"class","fd-dialog__header fd-bar fd-bar--header"),c(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),c(S,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(S,"data-testid","mobile-topnav-close"),c(v,"class","fd-bar__element"),c(b,"class","fd-bar__right"),c(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),c(t,"class","fd-dialog__content fd-dialog__content--mobile"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-3"),c(e,"class","fd-dialog fd-dialog--active")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),I&&I.m(s,null),w(s,o),T&&T.m(s,null),w(t,f),w(t,g),We(h,g,null),w(t,_),w(t,p),w(p,b),w(b,v),w(v,S),y=!0,C||(P=[se(S,"click",i[12]),se(e,"click",Ut(Tk))],C=!0)},p(A,L){A[4]?I&&(I.d(1),I=null):I?I.p(A,L):(I=hh(A),I.c(),I.m(s,o)),A[4]?T?T.p(A,L):(T=gh(A),T.c(),T.m(s,null)):T&&(T.d(1),T=null);const O={};L[0]&1&&(O.actions=A[0]),L[0]&32&&(O.config=A[5]),L[0]&64&&(O.customOptionsRenderer=A[6]),L[0]&2&&(O.options=A[1]),L[0]&16&&(O.selectedLabel=A[4]),L[0]&4&&(O.selectedOption=A[2]),L[0]&512&&(O.isMobile=A[9]),L[0]&16384&&(O.isContextSwitcherDropdownShown=A[14]),h.$set(O)},i(A){y||(M(h.$$.fragment,A),y=!0)},o(A){q(h.$$.fragment,A),y=!1},d(A){A&&R(e),I&&I.d(),T&&T.d(),ze(h),C=!1,Ze(P)}}}function hh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){E(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&R(t)}}}function gh(i){let e;return{c(){e=Ne(i[4])},m(t,n){E(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&R(e)}}}function Nk(i){let e,t,n=i[3]&&fh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&M(n,1)):(n=fh(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}const Ik=()=>{},Tk=()=>{};function Lk(i,e,t){let n,l;const r=Ht();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:f=null}=e,{config:g={}}=e,{actions:h=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:v=null}=e,{pathParams:S}=e,{customOptionsRenderer:y}=e,{customSelectedOptionRenderer:C}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:T}=e,A,L=ht("getUnsavedChangesModalPromise"),O=ht("store"),H=ht("getTranslation");ki(i,H,ce=>t(16,l=ce));let F=!1,B,G,x;Jt(async()=>{on.doOnStoreChange(O,async()=>{const ce=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!ce),!!s&&(t(6,y=ne.isFunction(ce.customOptionsRenderer)?ce.customOptionsRenderer:void 0),t(7,C=ne.isFunction(ce.customSelectedOptionRenderer)?ce.customSelectedOptionRenderer:void 0),t(5,g=ce),t(1,_=void 0),ce)){t(29,p=ce.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const Z=et.getCurrentPath();t(22,v=ce.fallbackLabelResolver),_n.resetFallbackLabelCache(),ce.lazyloadOptions||await W(),_n.isContextSwitcherDetailsView(Z,ce.parentNodePath)&&await ue(Z)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ce=>ue(ce)),An.addEventListener("message",ce=>{!Le.getValidMessageSource(ce)||ce.data&&ce.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),W())}),t(23,T=g.defaultLabel)}),zn(()=>{F!==I&&(F=I,W()),t(14,x=o.contextSwitcherPopover||!1)});function $(ce,Z,he){return ce?Promise.resolve(ce):_n.getFallbackLabel(Z,he)}function pe(ce){return ce.testId?ce.testId:Se.prepareForTests(ce.pathSegment,ce.label)}function ie(ce){return me.getNodeHref(ce,S)}async function W(){t(1,_=await _n.fetchOptions(_));const ce=g||{},Z=ce.parentNodePath,he=ce.fallbackLabelResolver,ae=et.getCurrentPath();t(2,b=await _n.getSelectedOption(ae,_,Z)),t(4,f=await _n.getSelectedLabel(ae,_,Z,he)),t(13,B=await _n.getSelectedNode(ae,_,Z)),A=ce.preserveSubPathOnSwitch}async function ue(ce){const Z=g||{},he=Z.parentNodePath,ae=Z.fallbackLabelResolver;t(2,b=await _n.getSelectedOption(ce,_,he)),t(4,f=await _n.getSelectedLabel(ce,_,he,ae)),t(13,B=await _n.getSelectedNode(ce,_,he))}async function ee(ce){let Z=ce.detail.node;Z.clickHandler&&!await Z.clickHandler(Z)||(setTimeout(()=>{Y(Z.link)}),P&&r("toggleDropdownState"))}function Y(ce){L().then(()=>{et.navigateTo(ce)},()=>{})}function Pe(ce){let Z=ce.detail.option,he=ce.detail.selectedOption;L().then(()=>{A&&he?et.navigateTo(_n.getNodePathFromCurrentPath(Z,he)):et.navigateTo(Z.link),P&&r("toggleDropdownState")},()=>{})}function le(){r("toggleDropdownState");const ce=o||{};JSON.parse(ce.contextSwitcherPopover)&&W()}const Ue=()=>{n&&le()},Ie=()=>{n&&le()};return i.$$set=ce=>{"contextSwitcherEnabled"in ce&&t(3,s=ce.contextSwitcherEnabled),"dropDownStates"in ce&&t(8,o=ce.dropDownStates),"selectedLabel"in ce&&t(4,f=ce.selectedLabel),"config"in ce&&t(5,g=ce.config),"actions"in ce&&t(0,h=ce.actions),"options"in ce&&t(1,_=ce.options),"selectedOption"in ce&&t(2,b=ce.selectedOption),"fallbackLabelResolver"in ce&&t(22,v=ce.fallbackLabelResolver),"pathParams"in ce&&t(24,S=ce.pathParams),"customOptionsRenderer"in ce&&t(6,y=ce.customOptionsRenderer),"customSelectedOptionRenderer"in ce&&t(7,C=ce.customSelectedOptionRenderer),"isMobile"in ce&&t(9,P=ce.isMobile),"contextSwitcherToggle"in ce&&t(25,I=ce.contextSwitcherToggle),"defaultLabel"in ce&&t(23,T=ce.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||h&&h.length>0||_&&_.length>1||!b)},[h,_,b,s,f,g,y,C,o,P,ee,Pe,le,B,x,n,l,H,G,$,pe,ie,v,T,S,I,W,ue,Y,p,Ue,Ie]}class k_ extends Rt{constructor(e){super(),At(this,e,Lk,Nk,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:Ak}=Fi;function _h(i,e,t){const n=i.slice();return n[22]=e[t],n}function ph(i){let e,t,n,l=!i[2]&&mh(i),r=i[2]&&i[3].productSwitcherPopover&&kh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=mh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&M(r,1)):(r=kh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&R(e),r&&r.d(s),s&&R(t)}}}function mh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C;function P(O,H){return H&2&&(s=null),s==null&&(s=!!O[11](O[1])),s?Ek:Rk}let I=P(i,-1),T=I(i),A=i[0],L=[];for(let O=0;O<A.length;O+=1)L[O]=Sh(_h(i,A,O));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),T.c(),h=K(),_=k("div"),p=k("div"),b=k("ul");for(let O=0;O<L.length;O+=1)L[O].c();c(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),c(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),c(r,"aria-haspopup","true"),c(r,"title",f=i[1].label),c(r,"data-testid",g=i[14](i[1])),c(l,"class","fd-popover__control"),c(b,"class","fd-product-switch__list"),c(p,"class",v=ei(i[9])+" svelte-1e1qi56"),c(_,"class","fd-popover__body fd-popover__body--right"),c(_,"aria-hidden",S=!i[3].productSwitcherPopover),c(_,"id","productSwitcherPopover"),c(n,"class","fd-popover fd-popover--right"),c(t,"class","fd-product-switch"),c(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(O,H){E(O,e,H),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(n,h),w(n,_),w(_,p),w(p,b);for(let F=0;F<L.length;F+=1)L[F].m(b,null);y||(C=[se(r,"click",Ut(i[7])),se(l,"click",Ut(Hk))],y=!0)},p(O,H){if(I===(I=P(O,H))&&T?T.p(O,H):(T.d(1),T=I(O),T&&(T.c(),T.m(r,null))),H&8&&o!==(o=O[3].productSwitcherPopover||!1)&&c(r,"aria-expanded",o),H&2&&f!==(f=O[1].label)&&c(r,"title",f),H&2&&g!==(g=O[14](O[1]))&&c(r,"data-testid",g),H&64561){A=O[0];let F;for(F=0;F<A.length;F+=1){const B=_h(O,A,F);L[F]?L[F].p(B,H):(L[F]=Sh(B),L[F].c(),L[F].m(b,null))}for(;F<L.length;F+=1)L[F].d(1);L.length=A.length}H&512&&v!==(v=ei(O[9])+" svelte-1e1qi56")&&c(p,"class",v),H&8&&S!==(S=!O[3].productSwitcherPopover)&&c(_,"aria-hidden",S)},d(O){O&&R(e),T.d(),ct(L,O),y=!1,Ze(C)}}}function Rk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[1].icon)||c(e,"src",t),c(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&2&&!lt(e.src,t=l[1].icon)&&c(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Ek(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){E(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&c(e,"class",t)},d(n){n&&R(e)}}}function bh(i){let e,t,n,l,r,s;function o(_,p){return _[4]?Vk:Dk}let f=o(i),g=f(i);function h(){return i[17](i[22])}return{c(){e=k("li"),g.c(),t=K(),c(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),c(e,"data-testid",l=i[14](i[22]))},m(_,p){E(_,e,p),g.m(e,null),w(e,t),r||(s=se(e,"click",h),r=!0)},p(_,p){i=_,f===(f=o(i))&&g?g.p(i,p):(g.d(1),g=f(i),g&&(g.c(),g.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&c(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&c(e,"data-testid",l)},d(_){_&&R(e),g.d(),r=!1,s()}}}function Dk(i){let e,t,n,l,r,s=i[12](i[22])+"",o,f,g=i[13](i[22]);function h(v,S){return S&1&&(t=null),t==null&&(t=!!v[11](v[22])),t?Ok:Mk}let _=h(i,-1),p=_(i),b=g&&vh(i);return{c(){e=k("div"),p.c(),n=K(),l=k("div"),r=k("div"),o=Ne(s),f=K(),b&&b.c(),c(e,"class","lui-product-switch__icon svelte-1e1qi56"),c(r,"class","fd-product-switch__title"),c(l,"class","fd-product-switch__text")},m(v,S){E(v,e,S),p.m(e,null),E(v,n,S),E(v,l,S),w(l,r),w(r,o),w(l,f),b&&b.m(l,null)},p(v,S){_===(_=h(v,S))&&p?p.p(v,S):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),S&1&&s!==(s=v[12](v[22])+"")&&Te(o,s),S&1&&(g=v[13](v[22])),g?b?b.p(v,S):(b=vh(v),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(v){v&&R(e),p.d(),v&&R(n),v&&R(l),b&&b.d()}}}function Vk(i){let e,t,n,l,r,s,o=i[12](i[22])+"",f,g,h=i[13](i[22]),_,p,b;function v(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?Uk:Fk}let S=v(i,-1),y=S(i),C=h&&wh(i);return{c(){e=k("a"),t=k("div"),y.c(),l=K(),r=k("div"),s=k("div"),f=Ne(o),g=K(),C&&C.c(),c(t,"class","lui-product-switch__icon svelte-1e1qi56"),c(s,"class","fd-product-switch__title"),c(r,"class","fd-product-switch__text"),c(e,"href",_=i[15](i[22])),c(e,"class","fd-menu__link")},m(P,I){E(P,e,I),w(e,t),y.m(t,null),w(e,l),w(e,r),w(r,s),w(s,f),w(r,g),C&&C.m(r,null),p||(b=se(e,"click",i[16]),p=!0)},p(P,I){S===(S=v(P,I))&&y?y.p(P,I):(y.d(1),y=S(P),y&&(y.c(),y.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Te(f,o),I&1&&(h=P[13](P[22])),h?C?C.p(P,I):(C=wh(P),C.c(),C.m(r,null)):C&&(C.d(1),C=null),I&1&&_!==(_=P[15](P[22]))&&c(e,"href",_)},d(P){P&&R(e),y.d(),C&&C.d(),p=!1,b()}}}function Mk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[22].icon)||c(e,"src",t),c(e,"alt",n=i[22].altText?i[22].altText:""),c(e,"class","svelte-1e1qi56")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[22].icon)&&c(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Ok(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&c(e,"class",t)},d(n){n&&R(e)}}}function vh(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&R(e)}}}function Fk(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[22].icon)||c(e,"src",t),c(e,"alt",n=i[22].altText?i[22].altText:""),c(e,"class","svelte-1e1qi56")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[22].icon)&&c(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function Uk(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&c(e,"class",t)},d(n){n&&R(e)}}}function wh(i){let e,t=i[13](i[22])+"",n;return{c(){e=k("div"),n=Ne(t),c(e,"class","fd-product-switch__subtitle")},m(l,r){E(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&R(e)}}}function Sh(i){let e,t=i[22].label&&bh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=bh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function kh(i){let e,t;return e=new v_({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Bk(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&ph(i);return{c(){s&&s.c(),t=ke()},m(o,f){s&&s.m(o,f),E(o,t,f),n=!0,l||(r=se(Ak,"resize",oa),l=!0)},p(o,[f]){f&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,f),f&1&&M(s,1)):(s=ph(o),s.c(),M(s,1),s.m(t.parentNode,t)):s&&(Ce(),q(s,1,1,()=>{s=null}),ye())},i(o){n||(M(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&R(t),l=!1,r()}}}function oa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Hk=()=>{};function Wk(i,e,t){const n=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,f=ht("store"),g=ht("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{on.doOnStoreChange(f,async()=>{t(1,s=Se.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),I()),oa()},["navigation.productSwitcher"])});function p(H){g().then(()=>{et.navigateToLink(H)},()=>{}),v()}function b(H){p(H.detail)}function v(){n("toggleDropdownState")}function S(H){return Se.renderIconClassName(H)}function y(H){return Se.isOpenUIiconName(H.icon)}function C(H){return pt.getTranslation(H.label)}function P(H){return pt.getTranslation(H.subTitle)}function I(){Se.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function T(H){return H.testId?H.testId:Se.prepareForTests(H.label)}function A(H){return me.getNodeHref(H)}const L=H=>{Se.handleNavAnchorClickedWithoutMetaKey(H)},O=H=>p(H);return i.$$set=H=>{"productSwitcherItems"in H&&t(0,l=H.productSwitcherItems),"isMobile"in H&&t(2,r=H.isMobile),"config"in H&&t(1,s=H.config),"dropDownStates"in H&&t(3,o=H.dropDownStates),"addNavHrefForAnchor"in H&&t(4,_=H.addNavHrefForAnchor)},[l,s,r,o,_,p,b,v,oa,h,S,y,C,P,T,A,L,O]}class C_ extends Rt{constructor(e){super(),At(this,e,Wk,Bk,Tt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return oa}}function Ch(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function zk(i){let e,t,n;return{c(){e=k("input"),c(e,"type","text"),c(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),c(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){E(l,e,r),i[19](e),e.focus(),t||(n=se(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&R(e),i[19](null),t=!1,n()}}}function qk(i){let e;return{c(){e=k("input"),c(e,"type","text"),c(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),c(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){E(t,e,n),e.focus()},p:Fe,d(t){t&&R(e)}}}function Gk(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[23](e)},p:Fe,d(t){t&&R(e),i[23](null)}}}function Kk(i){let e,t,n,l=i[5]&&yh(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),c(t,"class","fd-menu svelte-1jkaxo8"),c(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),c(e,"aria-hidden",n=!i[0])},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=yh(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&c(e,"aria-hidden",n)},d(r){r&&R(e),l&&l.d()}}}function yh(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=Ph(Ch(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=Ch(l,t,s);n[s]?n[s].p(o,r):(n[s]=Ph(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l),i[22](null)}}}function jk(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function Jk(i){let e,t,n,l=i[31].label+"",r,s,o,f=i[31].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ne(l),s=K(),o=k("div"),g=Ne(f),c(n,"class","fd-product-switch__title svelte-1jkaxo8"),c(o,"class","fd-product-switch__subtitle"),c(t,"class","fd-product-switch__text"),c(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=se(e,"click",Mt(Qk)),h=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Te(r,l),b[0]&32&&f!==(f=p[31].description+"")&&Te(g,f)},d(p){p&&R(e),h=!1,_()}}}function Ph(i){let e,t,n,l;function r(h,_){return h[9]?jk:Jk}let s=r(i),o=s(i);function f(...h){return i[20](i[31],...h)}function g(...h){return i[21](i[31],...h)}return{c(){e=k("li"),o.c(),t=K(),c(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),c(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[se(e,"click",f),se(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&R(e),o.d(),n=!1,Ze(l)}}}function Yk(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S;function y(L,O){return L[7]&&L[7].disableInputHandlers?qk:zk}let C=y(i),P=C(i);function I(L,O){return L[8]?Gk:Kk}let T=I(i),A=T(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),P.c(),r=K(),A.c(),f=K(),g=k("div"),h=k("div"),_=k("button"),p=k("i"),c(l,"class","fd-input-group fd-shellbar__input-group"),c(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),c(n,"aria-hidden",s=!i[4]),c(n,"aria-haspopup","true"),c(t,"class","fd-popover svelte-1jkaxo8"),c(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),c(p,"class","sap-icon sap-icon--search"),c(_,"class","fd-button fd-button--transparent fd-shellbar__button"),c(_,"aria-haspopup","true"),c(_,"aria-expanded",b=!i[4]),c(_,"data-testid","luigi-search-btn-desktop"),c(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(L,O){E(L,e,O),w(e,t),w(t,n),w(n,l),P.m(l,null),w(n,r),A.m(n,null),E(L,f,O),E(L,g,O),w(g,h),w(h,_),w(_,p),v||(S=[se(window,"click",i[11]),se(window,"blur",i[11]),se(n,"click",Ut(Zk)),se(_,"click",i[6]),se(h,"click",Ut(Xk))],v=!0)},p(L,O){C===(C=y(L))&&P?P.p(L,O):(P.d(1),P=C(L),P&&(P.c(),P.m(l,null))),T===(T=I(L))&&A?A.p(L,O):(A.d(1),A=T(L),A&&(A.c(),A.m(n,null))),O[0]&16&&s!==(s=!L[4])&&c(n,"aria-hidden",s),O[0]&16&&o!==(o="fd-shellbar__action "+(L[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&c(e,"class",o),O[0]&16&&b!==(b=!L[4])&&c(_,"aria-expanded",b)},i:Fe,o:Fe,d(L){L&&R(e),P.d(),A.d(),L&&R(f),L&&R(g),v=!1,Ze(S)}}}const Qk=()=>{},Zk=()=>{},Xk=()=>{};function $k(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:f}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ee=>{b.searchProvider.onSearchResultItemSelected(ee)}};let b={},v,S;Jt(async()=>{t(7,b=h);let ee=o;const Y=C(b.searchProvider);Y&&(ee.placeholder=Y),y()}),zn(()=>{t(7,b=h),y()});function y(){!b.searchProvider||(t(8,v=ne.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,S=ne.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function C(ee){if(!ee||!ee.inputPlaceholder)return;const Y=pt.getCurrentLocale();if(ne.isFunction(ee.inputPlaceholder))return ee.inputPlaceholder();if(typeof ee.inputPlaceholder=="string"){const Pe=pt.getTranslation(ee.inputPlaceholder);return!!Pe&&Pe.trim().length>0?Pe:ee.inputPlaceholder}if(typeof ee.inputPlaceholder=="object")return ee.inputPlaceholder[Y]}function P(ee,Y,Pe){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer(ee,Y.children[Pe],p)}),""}function I(){_("closeSearchResult")}function T({keyCode:ee}){b&&b.searchProvider?ne.isFunction(b.searchProvider.onEnter)&&ee===Si?b.searchProvider.onEnter():ne.isFunction(b.searchProvider.onEscape)&&ee===wi?b.searchProvider.onEscape():ee===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function A(ee){let Y=g.children;if(Y)for(let Pe=0;Pe<Y.length;Pe++){let{childNodes:le,nextSibling:Ue,previousSibling:Ie}=Y[Pe],ce;if(le[0].getAttribute("aria-selected")==="true"){ee===Oi&&(ce=Ue!==null?Ue:Y[0]),ee===El&&(ce=Ie!==null?Ie:Y[Y.length-1]),le[0].setAttribute("aria-selected","false"),ce.childNodes[0].setAttribute("aria-selected","true"),ce.focus();break}}}function L(){let ee=g.children;if(ee)for(let Y=0;Y<ee.length;Y++){let Pe=ee[Y];Pe.childNodes[0].getAttribute("aria-selected")==="true"&&Pe.childNodes[0].setAttribute("aria-selected","false")}}function O(ee){b&&ne.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected(ee):ne.isFunction(b.searchProvider.onEscape)&&event.keyCode===wi&&b.searchProvider.onEscape()}function H(ee,{keyCode:Y}){Y===Si&&b.searchProvider.onSearchResultItemSelected(ee),Y===El||Y===Oi?A(Y):ne.isFunction(b.searchProvider.onEscape)&&Y===wi&&(L(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function F(ee){let Y=ee.pathObject;Y.externalLink?et.navigateToLink(Y):_("handleSearchNavigation",{node:Y})}function B(){o&&o.focus()}function G(){if(n?t(0,r=!1):setTimeout(()=>{B()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:f}),b&&b.searchProvider&&ne.isFunction(b.searchProvider.toggleSearch)){const ee=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,ee)}}const x=ee=>T(ee);function $(ee){$e[ee?"unshift":"push"](()=>{o=ee,t(1,o)})}const pe=(ee,Y)=>O(ee),ie=(ee,Y)=>H(ee,Y);function W(ee){$e[ee?"unshift":"push"](()=>{g=ee,t(3,g)})}function ue(ee){$e[ee?"unshift":"push"](()=>{f=ee,t(2,f)})}return i.$$set=ee=>{"isSearchFieldVisible"in ee&&t(4,n=ee.isSearchFieldVisible),"searchResult"in ee&&t(5,l=ee.searchResult),"displaySearchResult"in ee&&t(0,r=ee.displaySearchResult),"displayCustomSearchResult"in ee&&t(15,s=ee.displayCustomSearchResult),"inputElem"in ee&&t(1,o=ee.inputElem),"luigiCustomSearchRenderer__slot"in ee&&t(2,f=ee.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ee&&t(3,g=ee.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ee&&t(16,h=ee.globalSearchConfig)},[r,o,f,g,n,l,G,b,v,S,P,I,T,O,H,s,h,F,x,$,pe,ie,W,ue]}class xk extends Rt{constructor(e){super(),At(this,e,$k,Yk,Tt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function Nh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function eC(i){let e,t,n,l,r,s,o,f=i[11]&&Ih(i);return{c(){e=k("input"),t=K(),n=k("span"),f&&f.c(),l=K(),r=k("button"),r.innerHTML='<i class="sap-icon--search"></i>',c(e,"type","text"),c(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),c(e,"data-testid","luigi-search-input"),c(r,"aria-label","button-search"),c(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),c(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(g,h){E(g,e,h),i[26](e),E(g,t,h),E(g,n,h),f&&f.m(n,null),w(n,l),w(n,r),s||(o=[se(e,"keyup",i[25]),se(e,"input",i[27]),se(r,"click",i[17])],s=!0)},p(g,h){g[11]?f?f.p(g,h):(f=Ih(g),f.c(),f.m(n,l)):f&&(f.d(1),f=null)},d(g){g&&R(e),i[26](null),g&&R(t),g&&R(n),f&&f.d(),s=!1,Ze(o)}}}function tC(i){let e;return{c(){e=k("input"),c(e,"type","text"),c(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),c(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){E(t,e,n)},p:Fe,d(t){t&&R(e)}}}function Ih(i){let e,t,n;return{c(){e=k("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',c(e,"aria-label","button-decline"),c(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){E(l,e,r),t||(n=se(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&R(e),t=!1,n()}}}function nC(i){let e;return{c(){e=k("div")},m(t,n){E(t,e,n),i[31](e)},p:Fe,d(t){t&&R(e),i[31](null)}}}function iC(i){let e,t,n,l=i[4]&&Th(i);return{c(){e=k("div"),t=k("nav"),l&&l.c(),c(t,"class","fd-menu"),c(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),c(e,"aria-hidden",n=!i[0])},m(r,s){E(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=Th(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&c(e,"aria-hidden",n)},d(r){r&&R(e),l&&l.d()}}}function Th(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=Lh(Nh(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=Nh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Lh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l),i[30](null)}}}function lC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),E(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&R(n),l&&e.d()}}}function rC(i){let e,t,n,l=i[40].label+"",r,s,o,f=i[40].description+"",g,h,_;return{c(){e=k("a"),t=k("div"),n=k("div"),r=Ne(l),s=K(),o=k("div"),g=Ne(f),c(n,"class","fd-product-switch__title"),c(o,"class","fd-product-switch__subtitle"),c(t,"class","fd-product-switch__text"),c(e,"class","fd-menu__link")},m(p,b){E(p,e,b),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),h||(_=se(e,"click",Mt(aC)),h=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Te(r,l),b[0]&16&&f!==(f=p[40].description+"")&&Te(g,f)},d(p){p&&R(e),h=!1,_()}}}function Lh(i){let e,t,n,l;function r(h,_){return h[10]?lC:rC}let s=r(i),o=s(i);function f(...h){return i[28](i[40],...h)}function g(...h){return i[29](i[40],...h)}return{c(){e=k("li"),o.c(),t=K(),c(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),c(e,"tabindex","0")},m(h,_){E(h,e,_),o.m(e,null),w(e,t),n||(l=[se(e,"click",f),se(e,"keyup",g)],n=!0)},p(h,_){i=h,s===(s=r(i))&&o?o.p(i,_):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(h){h&&R(e),o.d(),n=!1,Ze(l)}}}function Ah(i){let e,t,n,l,r,s,o;return{c(){e=k("div"),t=k("div"),n=k("button"),l=k("i"),c(l,"class","sap-icon sap-icon--search"),c(n,"class","fd-button fd-button--transparent fd-shellbar__button"),c(n,"aria-haspopup","true"),c(n,"aria-expanded",r=!i[5]),c(n,"data-testid","luigi-search-btn-desktop"),c(t,"class","fd-shellbar__group"),c(e,"class","lui-global-search-btn svelte-1yci3dk")},m(f,g){E(f,e,g),w(e,t),w(t,n),w(n,l),s||(o=[se(n,"click",i[6]),se(t,"click",Ut(uC))],s=!0)},p(f,g){g[0]&32&&r!==(r=!f[5])&&c(n,"aria-expanded",r)},d(f){f&&R(e),s=!1,Ze(o)}}}function Rh(i){let e,t,n=i[12](i[7])+"",l,r,s,o,f;return{c(){e=k("div"),t=k("button"),l=Ne(n),c(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),c(t,"aria-haspopup","true"),c(t,"aria-expanded",r=!i[5]),c(t,"data-testid","luigi-search-cancel-btn"),c(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(g,h){E(g,e,h),w(e,t),w(t,l),o||(f=se(t,"click",Ut(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Te(l,n),h[0]&32&&r!==(r=!g[5])&&c(t,"aria-expanded",r),h[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&c(e,"class",s)},d(g){g&&R(e),o=!1,f()}}}function sC(i){let e,t,n,l,r,s,o,f,g,h,_,p;function b(A,L){return A[8]&&A[8].disableInputHandlers?tC:eC}let v=b(i),S=v(i);function y(A,L){return A[9]?nC:iC}let C=y(i),P=C(i),I=!i[5]&&Ah(i),T=i[5]&&Rh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),S.c(),r=K(),P.c(),f=K(),I&&I.c(),g=K(),T&&T.c(),h=ke(),c(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),c(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),c(n,"aria-hidden",s=!i[5]),c(n,"aria-haspopup","true"),c(t,"class","fd-popover svelte-1yci3dk"),c(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(A,L){E(A,e,L),w(e,t),w(t,n),w(n,l),S.m(l,null),w(n,r),P.m(n,null),E(A,f,L),I&&I.m(A,L),E(A,g,L),T&&T.m(A,L),E(A,h,L),_||(p=[se(window,"click",i[15]),se(window,"blur",i[15]),se(n,"click",Ut(oC))],_=!0)},p(A,L){v===(v=b(A))&&S?S.p(A,L):(S.d(1),S=v(A),S&&(S.c(),S.m(l,null))),C===(C=y(A))&&P?P.p(A,L):(P.d(1),P=C(A),P&&(P.c(),P.m(n,null))),L[0]&32&&s!==(s=!A[5])&&c(n,"aria-hidden",s),L[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(A[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&c(e,"class",o),A[5]?I&&(I.d(1),I=null):I?I.p(A,L):(I=Ah(A),I.c(),I.m(g.parentNode,g)),A[5]?T?T.p(A,L):(T=Rh(A),T.c(),T.m(h.parentNode,h)):T&&(T.d(1),T=null)},i:Fe,o:Fe,d(A){A&&R(e),S.d(),P.d(),A&&R(f),I&&I.d(A),A&&R(g),T&&T.d(A),A&&R(h),_=!1,Ze(p)}}}const aC=()=>{},oC=()=>{},uC=()=>{};function fC(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:f}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:h}=e;const _=Ht(),p={fireItemSelected:ae=>{S.searchProvider.onSearchResultItemSelected(ae)}};let b=ul.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,S={},y,C,P=!1,I=ht("getTranslation");ki(i,I,ae=>t(12,n=ae)),Jt(async()=>{t(8,S=h),t(7,b=S.globalSearchCenteredCancelButton?S.globalSearchCenteredCancelButton:b);let ae=o;const Ve=A(S.searchProvider);Ve&&(ae.placeholder=Ve),T(),Bf.handleVisibilityGlobalSearch();const He=document.querySelector(".lui-global-search");He&&new ResizeObserver(Ge=>{Bf.handleVisibilityGlobalSearch()}).observe(He)}),zn(()=>{t(8,S=h),T(),B()});function T(){t(9,y=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultRenderer)),t(10,C=S.searchProvider&&ne.isFunction(S.searchProvider.customSearchResultItemRenderer))}function A(ae){if(!ae||!ae.inputPlaceholder)return;const Ve=pt.getCurrentLocale();if(ne.isFunction(ae.inputPlaceholder))return ae.inputPlaceholder();if(typeof ae.inputPlaceholder=="string"){const He=pt.getTranslation(ae.inputPlaceholder);return!!He&&He.trim().length>0?He:ae.inputPlaceholder}if(typeof ae.inputPlaceholder=="object")return ae.inputPlaceholder[Ve]}function L(ae,Ve,He){return setTimeout(()=>{S.searchProvider.customSearchResultItemRenderer(ae,Ve.children[He],p)}),""}function O(){_("closeSearchResult")}function H({keyCode:ae}){S?ne.isFunction(S.searchProvider.onEnter)&&ae===Si?S.searchProvider.onEnter():ne.isFunction(S.searchProvider.onEscape)&&ae===wi?S.searchProvider.onEscape():ae===Oi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ne.isFunction(S.searchProvider.onInput)&&S.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){S&&ne.isFunction(S.searchProvider.onSearchBtnClick)&&S.searchProvider.onSearchBtnClick()}function B(){o&&o.value?t(11,P=!0):t(11,P=!1)}function G(){t(1,o.value="",o),O(),t(11,P=!1)}function x(ae){let Ve=g.children;if(Ve)for(let He=0;He<Ve.length;He++){let{childNodes:be,nextSibling:Ge,previousSibling:St}=Ve[He],Wt;if(be[0].getAttribute("aria-selected")==="true"){ae===Oi&&(Wt=Ge!==null?Ge:Ve[0]),ae===El&&(Wt=St!==null?St:Ve[Ve.length-1]),be[0].setAttribute("aria-selected","false"),Wt.childNodes[0].setAttribute("aria-selected","true"),Wt.focus();break}}}function $(){let ae=g.children;if(ae)for(let Ve=0;Ve<ae.length;Ve++){let He=ae[Ve];He.childNodes[0].getAttribute("aria-selected")==="true"&&He.childNodes[0].setAttribute("aria-selected","false")}}function pe(ae){S&&ne.isFunction(S.searchProvider.onSearchResultItemSelected)?S.searchProvider.onSearchResultItemSelected(ae):ne.isFunction(S.searchProvider.onEscape)&&event.keyCode===wi&&S.searchProvider.onEscape()}function ie(ae,{keyCode:Ve}){Ve===Si&&S.searchProvider.onSearchResultItemSelected(ae),Ve===El||Ve===Oi?x(Ve):ne.isFunction(S.searchProvider.onEscape)&&Ve===wi&&($(),setTimeout(()=>{o.focus()}),S.searchProvider.onEscape())}function W(ae){let Ve=ae.pathObject;Ve.externalLink?et.navigateToLink(Ve):_("handleSearchNavigation",{node:Ve})}function ue(){o&&o.focus()}function ee(){if(v?t(0,r=!1):setTimeout(()=>{ue()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:f}),ne.isFunction(S.searchProvider.toggleSearch)){const ae=v===void 0?!0:!v;S.searchProvider.toggleSearch(o,ae)}}const Y=ae=>H(ae);function Pe(ae){$e[ae?"unshift":"push"](()=>{o=ae,t(1,o)})}const le=()=>B(),Ue=(ae,Ve)=>pe(ae),Ie=(ae,Ve)=>ie(ae,Ve);function ce(ae){$e[ae?"unshift":"push"](()=>{g=ae,t(3,g)})}function Z(ae){$e[ae?"unshift":"push"](()=>{f=ae,t(2,f)})}const he=()=>ee();return i.$$set=ae=>{"searchResult"in ae&&t(4,l=ae.searchResult),"displaySearchResult"in ae&&t(0,r=ae.displaySearchResult),"displayCustomSearchResult"in ae&&t(22,s=ae.displayCustomSearchResult),"inputElem"in ae&&t(1,o=ae.inputElem),"luigiCustomSearchRenderer__slot"in ae&&t(2,f=ae.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ae&&t(3,g=ae.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ae&&t(23,h=ae.globalSearchConfig),"isSearchFieldVisible"in ae&&t(5,v=ae.isSearchFieldVisible)},[r,o,f,g,l,v,ee,b,S,y,C,P,n,I,L,O,H,F,B,G,pe,ie,s,h,W,Y,Pe,le,Ue,Ie,ce,Z,he]}class cC extends Rt{constructor(e){super(),At(this,e,fC,sC,Tt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function Eh(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?hC:dC}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function dC(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon sap-icon"),lt(e.src,t=i[0].icon)||c(e,"src",t),c(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[0].icon)&&c(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function hC(i){let e,t;return{c(){e=k("span"),c(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&c(e,"class",t)},d(n){n&&R(e)}}}function Dh(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new Ui({props:{node:i[0]}}),{c(){e=k("span"),n=Ne(t),l=K(),qe(r.$$.fragment)},m(o,f){E(o,e,f),w(e,n),w(e,l),We(r,e,null),s=!0},p(o,f){(!s||f&1)&&t!==(t=o[3](o[0])+"")&&Te(n,t);const g={};f&1&&(g.node=o[0]),r.$set(g)},i(o){s||(M(r.$$.fragment,o),s=!0)},o(o){q(r.$$.fragment,o),s=!1},d(o){o&&R(e),ze(r)}}}function gC(i){let e,t,n,l=i[0].icon&&Eh(i),r=(!i[0].icon||i[0].showLabel)&&Dh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=Eh(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&M(r,1)):(r=Dh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&R(e),r&&r.d(s),s&&R(t)}}}function _C(i,e,t){let{node:n}=e;function l(o){return Se.isOpenUIiconName(o.icon)}function r(o){return Se.renderIconClassName(o)}function s(o){return Se.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Eo extends Rt{constructor(e){super(),At(this,e,_C,gC,Tt,{node:0})}}const{Boolean:y_,window:Vh}=Fi;function Mh(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function Oh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function pC(i){let e,t;return e=new b_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function mC(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&Fh(i);function S(L){i[59](L)}let y={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(y.dropDownStates=i[6]),l=new V2({props:y}),$e.push(()=>vt(l,"dropDownStates",S)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let C=i[18]&&i[19]&&Uh(i),P=(!i[0]||i[1])&&Bh(i),I=(i[18]||i[7]&&i[30].length>0)&&Wh(i),T=(i[0]||i[16])&&ig(i),A=i[12]&&lg(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),qe(l.$$.fragment),s=K(),C&&C.c(),o=K(),f=k("div"),P&&P.c(),g=K(),I&&I.c(),h=K(),T&&T.c(),_=K(),A&&A.c(),c(t,"class","fd-shellbar__group fd-shellbar__group--product"),c(f,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),c(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),c(e,"tabindex","0")},m(L,O){E(L,e,O),w(e,t),v&&v.m(t,null),w(t,n),We(l,t,null),w(e,s),C&&C.m(e,null),w(e,o),w(e,f),P&&P.m(f,null),w(f,g),I&&I.m(f,null),w(f,h),T&&T.m(f,null),w(f,_),A&&A.m(f,null),b=!0},p(L,O){L[3]==="simple"||L[3]==="simpleMobileOnly"||L[3]==="Fiori3"?v?v.p(L,O):(v=Fh(L),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const H={};O[0]&1073741824&&(H.pathData=L[30]),O[1]&1&&(H.pathParams=L[31]),O[0]&268435456&&(H.addNavHrefForAnchor=L[28]),!r&&O[0]&64&&(r=!0,H.dropDownStates=L[6],bt(()=>r=!1)),l.$set(H),L[18]&&L[19]?C?(C.p(L,O),O[0]&786432&&M(C,1)):(C=Uh(L),C.c(),M(C,1),C.m(e,o)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),!L[0]||L[1]?P?(P.p(L,O),O[0]&3&&M(P,1)):(P=Bh(L),P.c(),M(P,1),P.m(f,g)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),L[18]||L[7]&&L[30].length>0?I?(I.p(L,O),O[0]&1074004096&&M(I,1)):(I=Wh(L),I.c(),M(I,1),I.m(f,h)):I&&(Ce(),q(I,1,1,()=>{I=null}),ye()),L[0]||L[16]?T?(T.p(L,O),O[0]&65537&&M(T,1)):(T=ig(L),T.c(),M(T,1),T.m(f,_)):T&&(Ce(),q(T,1,1,()=>{T=null}),ye()),L[12]?A?(A.p(L,O),O[0]&4096&&M(A,1)):(A=lg(L),A.c(),M(A,1),A.m(f,null)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),(!b||O[0]&134217732&&p!==(p="fd-shellbar "+(L[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(L[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&c(e,"class",p)},i(L){b||(M(l.$$.fragment,L),M(C),M(P),M(I),M(T),M(A),b=!0)},o(L){q(l.$$.fragment,L),q(C),q(P),q(I),q(T),q(A),b=!1},d(L){L&&R(e),v&&v.d(),ze(l),C&&C.d(),P&&P.d(),I&&I.d(),T&&T.d(),A&&A.d()}}}function Fh(i){let e,t,n,l;return{c(){e=k("button"),t=k("i"),c(t,"class","sap-icon sap-icon--menu2"),c(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),c(e,"tabindex","0"),c(e,"title",i[26])},m(r,s){E(r,e,s),w(e,t),n||(l=se(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&c(e,"title",r[26])},d(r){r&&R(e),n=!1,l()}}}function Uh(i){let e,t,n,l,r,s,o,f,g;function h(C){i[60](C)}function _(C){i[61](C)}function p(C){i[62](C)}function b(C){i[63](C)}function v(C){i[64](C)}function S(C){i[65](C)}let y={globalSearchConfig:i[18]};return i[20]!==void 0&&(y.isSearchFieldVisible=i[20]),i[25]!==void 0&&(y.searchResult=i[25]),i[23]!==void 0&&(y.displaySearchResult=i[23]),i[24]!==void 0&&(y.displayCustomSearchResult=i[24]),i[21]!==void 0&&(y.inputElem=i[21]),i[22]!==void 0&&(y.luigiCustomSearchRenderer__slot=i[22]),t=new cC({props:y}),$e.push(()=>vt(t,"isSearchFieldVisible",h)),$e.push(()=>vt(t,"searchResult",_)),$e.push(()=>vt(t,"displaySearchResult",p)),$e.push(()=>vt(t,"displayCustomSearchResult",b)),$e.push(()=>vt(t,"inputElem",v)),$e.push(()=>vt(t,"luigiCustomSearchRenderer__slot",S)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),qe(t.$$.fragment),c(e,"class","lui-global-search")},m(C,P){E(C,e,P),We(t,e,null),g=!0},p(C,P){const I={};P[0]&262144&&(I.globalSearchConfig=C[18]),!n&&P[0]&1048576&&(n=!0,I.isSearchFieldVisible=C[20],bt(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,I.searchResult=C[25],bt(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,I.displaySearchResult=C[23],bt(()=>r=!1)),!s&&P[0]&16777216&&(s=!0,I.displayCustomSearchResult=C[24],bt(()=>s=!1)),!o&&P[0]&2097152&&(o=!0,I.inputElem=C[21],bt(()=>o=!1)),!f&&P[0]&4194304&&(f=!0,I.luigiCustomSearchRenderer__slot=C[22],bt(()=>f=!1)),t.$set(I)},i(C){g||(M(t.$$.fragment,C),g=!0)},o(C){q(t.$$.fragment,C),g=!1},d(C){C&&R(e),ze(t)}}}function Bh(i){let e,t,n,l,r=i[18]&&!i[19]&&Hh(i);function s(f){i[78](f)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new k_({props:o}),$e.push(()=>vt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),qe(t.$$.fragment)},m(f,g){r&&r.m(f,g),E(f,e,g),We(t,f,g),l=!0},p(f,g){f[18]&&!f[19]?r?(r.p(f,g),g[0]&786432&&M(r,1)):(r=Hh(f),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye());const h={};g[0]&268435456&&(h.addNavHrefForAnchor=f[28]),!n&&g[0]&64&&(n=!0,h.dropDownStates=f[6],bt(()=>n=!1)),t.$set(h)},i(f){l||(M(r),M(t.$$.fragment,f),l=!0)},o(f){q(r),q(t.$$.fragment,f),l=!1},d(f){r&&r.d(f),f&&R(e),ze(t,f)}}}function Hh(i){let e,t,n,l,r,s,o,f;function g(y){i[69](y)}function h(y){i[70](y)}function _(y){i[71](y)}function p(y){i[72](y)}function b(y){i[73](y)}function v(y){i[74](y)}let S={globalSearchConfig:i[18]};return i[20]!==void 0&&(S.isSearchFieldVisible=i[20]),i[25]!==void 0&&(S.searchResult=i[25]),i[23]!==void 0&&(S.displaySearchResult=i[23]),i[24]!==void 0&&(S.displayCustomSearchResult=i[24]),i[21]!==void 0&&(S.inputElem=i[21]),i[22]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[22]),e=new xk({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"searchResult",h)),$e.push(()=>vt(e,"displaySearchResult",_)),$e.push(()=>vt(e,"displayCustomSearchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){qe(e.$$.fragment)},m(y,C){We(e,y,C),f=!0},p(y,C){const P={};C[0]&262144&&(P.globalSearchConfig=y[18]),!t&&C[0]&1048576&&(t=!0,P.isSearchFieldVisible=y[20],bt(()=>t=!1)),!n&&C[0]&33554432&&(n=!0,P.searchResult=y[25],bt(()=>n=!1)),!l&&C[0]&8388608&&(l=!0,P.displaySearchResult=y[23],bt(()=>l=!1)),!r&&C[0]&16777216&&(r=!0,P.displayCustomSearchResult=y[24],bt(()=>r=!1)),!s&&C[0]&2097152&&(s=!0,P.inputElem=y[21],bt(()=>s=!1)),!o&&C[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=y[22],bt(()=>o=!1)),e.$set(P)},i(y){f||(M(e.$$.fragment,y),f=!0)},o(y){q(e.$$.fragment,y),f=!1},d(y){ze(e,y)}}}function Wh(i){let e,t,n,l=i[7]&&i[30].length>0&&zh(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&jh(i);return{c(){l&&l.c(),e=K(),r&&r.c(),t=ke()},m(s,o){l&&l.m(s,o),E(s,e,o),r&&r.m(s,o),E(s,t,o),n=!0},p(s,o){s[7]&&s[30].length>0?l?(l.p(s,o),o[0]&1073741952&&M(l,1)):(l=zh(s),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&M(r,1)):(r=jh(s),r.c(),M(r,1),r.m(t.parentNode,t)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&R(e),r&&r.d(s),s&&R(t)}}}function zh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Kh(Oh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&268435936|o[1]&3932321){n=s[7];let f;for(f=0;f<n.length;f+=1){const g=Oh(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=Kh(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(y_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function qh(i){let e,t,n,l;const r=[vC,bC],s=[];function o(f,g){return f[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=ke()},m(f,g){s[e].m(f,g),E(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(Ce(),q(s[h],1,1,()=>{s[h]=null}),ye(),t=s[e],t?t.p(f,g):(t=s[e]=r[e](f),t.c()),M(t,1),t.m(n.parentNode,n))},i(f){l||(M(t),l=!0)},o(f){q(t),l=!1},d(f){s[e].d(f),f&&R(n)}}}function bC(i){let e,t,n,l,r;const s=[SC,wC],o=[];function f(g,h){return g[28]?0:1}return t=f(i),n=o[t]=s[t](i),{c(){e=k("div"),n.c(),l=K(),c(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,h){E(g,e,h),o[t].m(e,null),w(e,l),r=!0},p(g,h){let _=t;t=f(g),t===_?o[t].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(e,l))},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){g&&R(e),o[t].d()}}}function vC(i){let e=i[111].visibleChildren.filter(rg).length>0,t,n,l=e&&Gh(i);return{c(){l&&l.c(),t=ke()},m(r,s){l&&l.m(r,s),E(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[111].visibleChildren.filter(rg).length>0),e?l?(l.p(r,s),s[0]&128&&M(l,1)):(l=Gh(r),l.c(),M(l,1),l.m(t.parentNode,t)):l&&(Ce(),q(l,1,1,()=>{l=null}),ye())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){l&&l.d(r),r&&R(t)}}}function wC(i){let e,t,n,l,r,s,o,f,g,h,_;function p(S){i[84](S,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Eo({props:b}),$e.push(()=>vt(t,"node",p)),r=new ti({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),c(e,"title",s=i[52](i[111],i[49](i[111]))),c(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),c(e,"aria-expanded","false"),c(e,"aria-haspopup","true"),c(e,"data-testid",f=i[50](i[111]))},m(S,y){E(S,e,y),We(t,e,null),w(e,l),We(r,e,null),g=!0,h||(_=se(e,"click",v),h=!0)},p(S,y){i=S;const C={};!n&&y[0]&128&&(n=!0,C.node=i[111],bt(()=>n=!1)),t.$set(C);const P={};y[0]&128&&(P.node=i[111]),r.$set(P),(!g||y[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&c(e,"title",s),(!g||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(e,"class",o),(!g||y[0]&128&&f!==(f=i[50](i[111])))&&c(e,"data-testid",f)},i(S){g||(M(t.$$.fragment,S),M(r.$$.fragment,S),g=!0)},o(S){q(t.$$.fragment,S),q(r.$$.fragment,S),g=!1},d(S){S&&R(e),ze(t),ze(r),h=!1,_()}}}function SC(i){let e,t,n,l,r,s,o,f,g,h,_,p;function b(y){i[82](y,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Eo({props:v}),$e.push(()=>vt(t,"node",b)),r=new ti({props:{node:i[111]}});function S(...y){return i[83](i[111],...y)}return{c(){e=k("a"),qe(t.$$.fragment),l=K(),qe(r.$$.fragment),c(e,"href",s=i[51](i[111])),c(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),c(e,"title",f=i[52](i[111],i[49](i[111]))),c(e,"aria-expanded","false"),c(e,"aria-haspopup","true"),c(e,"data-testid",g=i[50](i[111]))},m(y,C){E(y,e,C),We(t,e,null),w(e,l),We(r,e,null),h=!0,_||(p=se(e,"click",S),_=!0)},p(y,C){i=y;const P={};!n&&C[0]&128&&(n=!0,P.node=i[111],bt(()=>n=!1)),t.$set(P);const I={};C[0]&128&&(I.node=i[111]),r.$set(I),(!h||C[0]&128&&s!==(s=i[51](i[111])))&&c(e,"href",s),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(e,"class",o),(!h||C[0]&128&&f!==(f=i[52](i[111],i[49](i[111]))))&&c(e,"title",f),(!h||C[0]&128&&g!==(g=i[50](i[111])))&&c(e,"data-testid",g)},i(y){h||(M(t.$$.fragment,y),M(r.$$.fragment,y),h=!0)},o(y){q(t.$$.fragment,y),q(r.$$.fragment,y),h=!1},d(y){y&&R(e),ze(t),ze(r),_=!1,p()}}}function Gh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I,T;function A(H){i[80](H,i[111],i[114],i[113])}let L={};i[111]!==void 0&&(L.node=i[111]),r=new Eo({props:L}),$e.push(()=>vt(r,"node",A)),f=new ti({props:{node:i[111]}});function O(){return i[81](i[113])}return S=new w_({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("button"),qe(r.$$.fragment),o=K(),qe(f.$$.fragment),b=K(),v=k("div"),qe(S.$$.fragment),C=K(),c(l,"title",g=i[52](i[111],i[49](i[111]))),c(l,"class",h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),c(l,"aria-controls","dropDownPopover-"+i[113]),c(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),c(l,"aria-haspopup","true"),c(l,"data-testid",p=i[50](i[111])),c(n,"class","fd-popover__control"),c(v,"class","fd-popover__body fd-popover__body--right"),c(v,"aria-hidden",y=!i[6][`dropDownPopover-${i[113]}`]),c(v,"id","dropDownPopover-"+i[113]),c(t,"class","fd-popover fd-popover--right"),c(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(H,F){E(H,e,F),w(e,t),w(t,n),w(n,l),We(r,l,null),w(l,o),We(f,l,null),w(t,b),w(t,v),We(S,v,null),w(e,C),P=!0,I||(T=[se(l,"click",O),se(n,"click",Ut(OC))],I=!0)},p(H,F){i=H;const B={};!s&&F[0]&128&&(s=!0,B.node=i[111],bt(()=>s=!1)),r.$set(B);const G={};F[0]&128&&(G.node=i[111]),f.$set(G),(!P||F[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&c(l,"title",g),(!P||F[0]&384&&h!==(h="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(l,"class",h),(!P||F[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&c(l,"aria-expanded",_),(!P||F[0]&128&&p!==(p=i[50](i[111])))&&c(l,"data-testid",p);const x={};F[0]&128&&(x.node=i[111]),F[1]&1&&(x.pathParams=i[31]),F[0]&268435456&&(x.addNavHrefForAnchor=i[28]),S.$set(x),(!P||F[0]&64&&y!==(y=!i[6][`dropDownPopover-${i[113]}`]))&&c(v,"aria-hidden",y)},i(H){P||(M(r.$$.fragment,H),M(f.$$.fragment,H),M(S.$$.fragment,H),P=!0)},o(H){q(r.$$.fragment,H),q(f.$$.fragment,H),q(S.$$.fragment,H),P=!1},d(H){H&&R(e),ze(r),ze(f),ze(S),I=!1,Ze(T)}}}function Kh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&qh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=qh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function jh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P,I,T,A,L,O,H;g=new ti({props:{node:i[11],special:"true"}});let F=i[18]&&!i[19]&&Jh(i),B=i[46]&&(!i[0]||i[1])&&Yh(i),G=i[7]&&Qh(i),x=i[12]&&xh(i),$=i[12]&&eg(i),pe=i[14]&&tg(i),ie=(!i[0]||i[1])&&ng(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("button"),o=k("i"),f=K(),qe(g.$$.fragment),_=K(),p=k("div"),b=k("nav"),v=k("ul"),F&&F.c(),S=K(),B&&B.c(),y=K(),G&&G.c(),C=K(),x&&x.c(),I=K(),$&&$.c(),T=K(),pe&&pe.c(),A=K(),ie&&ie.c(),c(o,"class","sap-icon sap-icon--overflow"),c(s,"class","fd-shellbar__button fd-button fd-button--transparent"),c(s,"aria-controls","overflowPopover"),c(s,"aria-expanded",h=i[6].overflowPopover||!1),c(s,"aria-haspopup","true"),c(s,"data-testid","mobile-menu"),c(r,"class","fd-shellbar-collapse--control"),c(r,"aria-expanded","false"),c(r,"aria-haspopup","true"),c(r,"role","button"),c(l,"class","fd-popover__control"),c(v,"class","fd-menu__list fd-menu__list--no-shadow"),c(b,"class","fd-menu"),c(p,"class","fd-popover__body fd-popover__body--right"),c(p,"aria-hidden",P=!i[6].overflowPopover),c(p,"id","overflowPopover"),c(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),c(t,"class","fd-shellbar-collapse"),c(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(W,ue){E(W,e,ue),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,f),We(g,s,null),w(n,_),w(n,p),w(p,b),w(b,v),F&&F.m(v,null),w(v,S),B&&B.m(v,null),w(v,y),G&&G.m(v,null),w(v,C),x&&x.m(v,null),w(n,I),$&&$.m(n,null),w(n,T),pe&&pe.m(n,null),w(n,A),ie&&ie.m(n,null),L=!0,O||(H=[se(s,"click",i[86]),se(l,"click",Ut(FC))],O=!0)},p(W,ue){const ee={};ue[0]&2048&&(ee.node=W[11]),g.$set(ee),(!L||ue[0]&64&&h!==(h=W[6].overflowPopover||!1))&&c(s,"aria-expanded",h),W[18]&&!W[19]?F?F.p(W,ue):(F=Jh(W),F.c(),F.m(v,S)):F&&(F.d(1),F=null),W[46]&&(!W[0]||W[1])?B?B.p(W,ue):(B=Yh(W),B.c(),B.m(v,y)):B&&(B.d(1),B=null),W[7]?G?(G.p(W,ue),ue[0]&128&&M(G,1)):(G=Qh(W),G.c(),M(G,1),G.m(v,C)):G&&(Ce(),q(G,1,1,()=>{G=null}),ye()),W[12]?x?x.p(W,ue):(x=xh(W),x.c(),x.m(v,null)):x&&(x.d(1),x=null),(!L||ue[0]&64&&P!==(P=!W[6].overflowPopover))&&c(p,"aria-hidden",P),W[12]?$?($.p(W,ue),ue[0]&4096&&M($,1)):($=eg(W),$.c(),M($,1),$.m(n,T)):$&&(Ce(),q($,1,1,()=>{$=null}),ye()),W[14]?pe?(pe.p(W,ue),ue[0]&16384&&M(pe,1)):(pe=tg(W),pe.c(),M(pe,1),pe.m(n,A)):pe&&(Ce(),q(pe,1,1,()=>{pe=null}),ye()),!W[0]||W[1]?ie?(ie.p(W,ue),ue[0]&3&&M(ie,1)):(ie=ng(W),ie.c(),M(ie,1),ie.m(n,null)):ie&&(Ce(),q(ie,1,1,()=>{ie=null}),ye())},i(W){L||(M(g.$$.fragment,W),M(G),M($),M(pe),M(ie),L=!0)},o(W){q(g.$$.fragment,W),q(G),q($),q(pe),q(ie),L=!1},d(W){W&&R(e),ze(g),F&&F.d(),B&&B.d(),G&&G.d(),x&&x.d(),$&&$.d(),pe&&pe.d(),ie&&ie.d(),O=!1,Ze(H)}}}function Jh(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-1kyy3lw"></i>
|
|
57
|
-
<span class="fd-menu__title">Search</span>`,c(t,"class","fd-menu__link"),c(t,"data-testid","luigi-search-btn-mobile"),c(e,"class","fd-menu__item")},m(r,s){E(r,e,s),w(e,t),n||(l=se(t,"click",Ut(i[87])),n=!0)},p:Fe,d(r){r&&R(e),n=!1,l()}}}function Yh(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",f,g,h;return{c(){e=k("li"),t=k("a"),n=k("i"),r=K(),s=k("span"),f=Ne(o),c(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),c(s,"class","fd-menu__title"),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item")},m(_,p){E(_,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,f),g||(h=se(t,"click",Ut(i[33])),g=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&c(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Te(f,o)},d(_){_&&R(e),g=!1,h()}}}function Qh(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=$h(Mh(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&4128808){n=s[7];let f;for(f=0;f<n.length;f+=1){const g=Mh(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=$h(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(y_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function Zh(i){let e,t,n,l,r;const s=[CC,kC],o=[];function f(g,h){return h[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(MC).length>0),e?1:-1):0}return~(t=f(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=ke()},m(g,h){~t&&o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=f(g,h),t===_?~t&&o[t].p(g,h):(n&&(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye()),~t?(n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){~t&&o[t].d(g),g&&R(l)}}}function kC(i){let e,t,n,l,r,s,o,f,g=i[49](i[111])+"",h,_,p,b,v,S,y;function C(A,L){return L[0]&128&&(l=null),l==null&&(l=!!A[48](A[111])),l?PC:yC}let P=C(i,[-1,-1,-1,-1]),I=P(i);s=new ti({props:{node:i[111]}});function T(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I.c(),r=K(),qe(s.$$.fragment),o=K(),f=k("span"),h=Ne(g),b=K(),c(n,"class","fd-top-nav__icon svelte-1kyy3lw"),c(f,"class","fd-list__title"),c(t,"href",_=i[51](i[111])),c(t,"title",p=i[52](i[111],i[49](i[111]))),c(t,"class","fd-menu__link"),c(t,"data-e2e","mobile-topnav-dropdown-category"),c(e,"class","fd-menu__item")},m(A,L){E(A,e,L),w(e,t),w(t,n),I.m(n,null),w(n,r),We(s,n,null),w(t,o),w(t,f),w(f,h),w(e,b),v=!0,S||(y=se(t,"click",Mt(T)),S=!0)},p(A,L){i=A,P===(P=C(i,L))&&I?I.p(i,L):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const O={};L[0]&128&&(O.node=i[111]),s.$set(O),(!v||L[0]&128)&&g!==(g=i[49](i[111])+"")&&Te(h,g),(!v||L[0]&128&&_!==(_=i[51](i[111])))&&c(t,"href",_),(!v||L[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&c(t,"title",p)},i(A){v||(M(s.$$.fragment,A),v=!0)},o(A){q(s.$$.fragment,A),v=!1},d(A){A&&R(e),I.d(),ze(s),S=!1,y()}}}function CC(i){let e,t,n,l=!i[48](i[111]),r,s,o,f,g,h=i[49](i[111])+"",_,p,b,v,S,y,C,P,I=l&&Xh(i);s=new ti({props:{node:i[111]}});function T(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),I&&I.c(),r=K(),qe(s.$$.fragment),f=K(),g=k("span"),_=Ne(h),S=K(),c(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),c(g,"class","fd-menu__title"),c(t,"href",p=i[51](i[111])),c(t,"class",b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),c(t,"data-testid",v=i[50](i[111])+"-mobile"),c(e,"class","fd-menu__item")},m(A,L){E(A,e,L),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),We(s,n,null),w(t,f),w(t,g),w(g,_),w(e,S),y=!0,C||(P=se(t,"click",Mt(T)),C=!0)},p(A,L){i=A,L[0]&128&&(l=!i[48](i[111])),l?I?I.p(i,L):(I=Xh(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const O={};L[0]&128&&(O.node=i[111]),s.$set(O),(!y||L[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&c(n,"class",o),(!y||L[0]&128)&&h!==(h=i[49](i[111])+"")&&Te(_,h),(!y||L[0]&128&&p!==(p=i[51](i[111])))&&c(t,"href",p),(!y||L[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&c(t,"class",b),(!y||L[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&c(t,"data-testid",v)},i(A){y||(M(s.$$.fragment,A),y=!0)},o(A){q(s.$$.fragment,A),y=!1},d(A){A&&R(e),I&&I.d(),ze(s),C=!1,P()}}}function yC(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||c(e,"src",t),c(e,"alt",n=i[111].altText?i[111].altText:""),c(e,"class","svelte-1kyy3lw")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!lt(e.src,t=l[111].icon)&&c(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function PC(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&c(e,"class",t)},d(n){n&&R(e)}}}function Xh(i){let e,t,n;return{c(){e=k("img"),lt(e.src,t=i[111].icon)||c(e,"src",t),c(e,"alt",n=i[111].altText?i[111].altText:""),c(e,"class","svelte-1kyy3lw")},m(l,r){E(l,e,r)},p(l,r){r[0]&128&&!lt(e.src,t=l[111].icon)&&c(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function $h(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Zh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&160&&M(n,1)):(n=Zh(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function xh(i){let e,t,n,l,r,s=i[13].label+"",o,f,g;function h(b,v){return v[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?IC:NC}let _=h(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=k("li"),t=k("a"),p.c(),l=K(),r=k("span"),o=Ne(s),c(r,"class","fd-menu__title"),c(t,"class","fd-menu__link"),c(t,"data-testid","mobile-product-switcher"),c(e,"class","fd-menu__item")},m(b,v){E(b,e,v),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),f||(g=se(t,"click",Ut(i[32])),f=!0)},p(b,v){_===(_=h(b,v))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),v[0]&8192&&s!==(s=b[13].label+"")&&Te(o,s)},d(b){b&&R(e),p.d(),f=!1,g()}}}function NC(i){let e,t,n,l;return{c(){e=k("span"),t=k("img"),lt(t.src,n=i[13].icon)||c(t,"src",n),c(t,"alt",l=i[13].altText?i[13].altText:""),c(t,"class","svelte-1kyy3lw"),c(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){E(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!lt(t.src,n=r[13].icon)&&c(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&c(t,"alt",l)},d(r){r&&R(e)}}}function IC(i){let e,t;return{c(){e=k("i"),c(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){E(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&c(e,"class",t)},d(n){n&&R(e)}}}function eg(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new C_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const f={};!t&&o[0]&64&&(t=!0,f.dropDownStates=s[6],bt(()=>t=!1)),e.$set(f)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function tg(i){let e,t;return e=new w_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){qe(e.$$.fragment)},m(n,l){We(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||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function ng(i){let e,t,n,l,r;function s(h){i[92](h)}function o(h){i[93](h)}function f(h){i[94](h)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new k_({props:g}),$e.push(()=>vt(e,"dropDownStates",s)),$e.push(()=>vt(e,"selectedLabel",o)),$e.push(()=>vt(e,"defaultLabel",f)),e.$on("toggleDropdownState",i[95]),{c(){qe(e.$$.fragment)},m(h,_){We(e,h,_),r=!0},p(h,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=h[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=h[6],bt(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=h[44],bt(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=h[45],bt(()=>l=!1)),e.$set(p)},i(h){r||(M(e.$$.fragment,h),r=!0)},o(h){q(e.$$.fragment,h),r=!1},d(h){ze(e,h)}}}function ig(i){let e,t,n,l,r;const s=[LC,TC],o=[];function f(g,h){return h[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&ne.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=f(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=k("div"),l.c(),c(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),c(e,"data-testid","luigi-topnav-profile")},m(g,h){E(g,e,h),o[n].m(e,null),r=!0},p(g,h){let _=n;n=f(g,h),n===_?o[n].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),l=o[n],l?l.p(g,h):(l=o[n]=s[n](g),l.c()),M(l,1),l.m(e,null))},i(g){r||(M(l),r=!0)},o(g){q(l),r=!1},d(g){g&&R(e),o[n].d()}}}function TC(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S;function y(I,T){return I[17].picture?RC:AC}let C=y(i),P=C(i);return _=new b_({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),P.c(),g=K(),h=k("div"),qe(_.$$.fragment),c(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),c(r,"aria-expanded",s=i[6].profilePopover||!1),c(r,"aria-haspopup","true"),c(r,"aria-controls","profilePopover"),c(r,"title",o=i[17].name?i[17].name:void 0),c(r,"tabindex","0"),c(r,"data-testid","luigi-topnav-profile-btn"),c(l,"class",f=i[17].picture?"fd-shellbar__button--user-menu":""),c(n,"class","fd-popover__control"),c(h,"class","fd-popover__body fd-popover__body--right"),c(h,"aria-hidden",p=!i[6].profilePopover),c(h,"id","profilePopover"),c(t,"class","fd-popover"),c(e,"class","fd-user-menu svelte-1kyy3lw")},m(I,T){E(I,e,T),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,h),We(_,h,null),b=!0,v||(S=[se(r,"click",i[99]),se(n,"click",Ut(BC))],v=!0)},p(I,T){C===(C=y(I))&&P?P.p(I,T):(P.d(1),P=C(I),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&s!==(s=I[6].profilePopover||!1))&&c(r,"aria-expanded",s),(!b||T[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&c(r,"title",o),(!b||T[0]&131072&&f!==(f=I[17].picture?"fd-shellbar__button--user-menu":""))&&c(l,"class",f);const A={};T[0]&268435456&&(A.addNavHrefForAnchor=I[28]),_.$set(A),(!b||T[0]&64&&p!==(p=!I[6].profilePopover))&&c(h,"aria-hidden",p)},i(I){b||(M(_.$$.fragment,I),b=!0)},o(I){q(_.$$.fragment,I),b=!1},d(I){I&&R(e),P.d(),ze(_),v=!1,Ze(S)}}}function LC(i){let e,t,n,l,r,s,o,f,g;function h(b,v){return b[17].picture?DC:EC}let _=h(i),p=_(i);return r=new q2({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=k("div"),t=k("div"),p.c(),n=K(),l=k("div"),qe(r.$$.fragment),c(t,"class","fd-popover__control"),c(l,"class","fd-popover__body fd-popover__body--right"),c(l,"aria-hidden",s=!i[6].profilePopover),c(l,"id","profilePopover"),c(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(b,v){E(b,e,v),w(e,t),p.m(t,null),w(e,n),w(e,l),We(r,l,null),o=!0,f||(g=se(t,"click",Ut(UC)),f=!0)},p(b,v){_===(_=h(b))&&p?p.p(b,v):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const S={};v[0]&268435456&&(S.addNavHrefForAnchor=b[28]),r.$set(S),(!o||v[0]&64&&s!==(s=!b[6].profilePopover))&&c(l,"aria-hidden",s)},i(b){o||(M(r.$$.fragment,b),o=!0)},o(b){q(r.$$.fragment,b),o=!1},d(b){b&&R(e),p.d(),ze(r),f=!1,g()}}}function AC(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){E(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&c(e,"class",t)},d(n){n&&R(e)}}}function RC(i){let e;return{c(){e=k("span"),c(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),oi(e,"background-image","url('"+i[17].picture+"')")},m(t,n){E(t,e,n)},p(t,n){n[0]&131072&&oi(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&R(e)}}}function EC(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=k("button"),n=Ne(t),c(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),c(e,"aria-expanded","true"),c(e,"aria-haspopup","true"),c(e,"title",l=i[17].name?i[17].name:void 0),c(e,"tabindex","0"),c(e,"data-testid","luigi-topnav-profile-initials")},m(o,f){E(o,e,f),w(e,n),r||(s=se(e,"click",i[97]),r=!0)},p(o,f){f[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Te(n,t),f[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&c(e,"title",l)},d(o){o&&R(e),r=!1,s()}}}function DC(i){let e,t,n,l;return{c(){e=k("button"),c(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),c(e,"aria-controls","profilePopover"),c(e,"aria-expanded","true"),c(e,"aria-haspopup","true"),c(e,"title",t=i[17].name?i[17].name:void 0),c(e,"tabindex","0"),oi(e,"background-image","url('"+i[17].picture+"')"),c(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){E(r,e,s),n||(l=se(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&c(e,"title",t),s[0]&131072&&oi(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&R(e),n=!1,l()}}}function lg(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new C_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const f={};o[0]&268435456&&(f.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,f.dropDownStates=s[6],bt(()=>t=!1)),e.$set(f)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function VC(i){let e,t,n,l,r,s;const o=[mC,pC],f=[];function g(h,_){return h[29]?0:1}return e=g(i),t=f[e]=o[e](i),{c(){t.c(),n=ke()},m(h,_){f[e].m(h,_),E(h,n,_),l=!0,r||(s=[se(Vh,"click",i[41]),se(Vh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?f[e].p(h,_):(Ce(),q(f[p],1,1,()=>{f[p]=null}),ye(),t=f[e],t?t.p(h,_):(t=f[e]=o[e](h),t.c()),M(t,1),t.m(n.parentNode,n))},i(h){l||(M(t),l=!0)},o(h){q(t),l=!1},d(h){f[e].d(h),h&&R(n),r=!1,Ze(s)}}}const MC=i=>!i.hideFromNav&&i.label,rg=i=>!i.hideFromNav&&i.label,OC=()=>{},FC=()=>{},UC=()=>{},BC=()=>{};function HC(i,e,t){const n=Ht();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:f}=e,{profileTypeSettings:g}=e,{showGlobalNav:h}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:v={}}=e,{children:S}=e,{selectedNode:y}=e,{visibleNodeCount:C}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:T}=e,{productSwitcherConfig:A}=e,{openMobileDropDown:L}=e,{nodeForMobile:O}=e,{profileItemsAvailable:H}=e,{userInfo:F={}}=e,{urlAuthError:B}=e,{globalSearchConfig:G}=e,{isGlobalSearchCentered:x}=e,{isSearchFieldVisible:$}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:ie}=e,{displaySearchResult:W}=e,{displayCustomSearchResult:ue}=e,{searchResult:ee}=e,{burgerTooltip:Y}=e,{responsiveShellbarPadding:Pe}=e,le=ht("store"),Ue=!1,Ie,ce,Z=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:he=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ae=async()=>{if(_&&0<_.length){const J=await Se.generateTopNavNodes(_);t(7,S=J.children),t(8,y=J.selectedNode),t(9,C=J.visibleNodeCount),t(11,I=J.totalBadgeNode),t(10,P=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=_}},Ve=()=>{t(1,s=ol.isLoggedIn())};Jt(()=>{on.doOnStoreChange(le,()=>{t(0,l=vi.isAuthorizationEnabled()),t(16,H=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,T=re.getConfigValue("navigation.productSwitcher")),t(2,o=re.getConfigBooleanValue("settings.hideNavigation")),t(3,f=re.getConfigValue("settings.responsiveNavigation")),t(4,g=re.getConfigValue("settings.profileType")),t(27,Pe=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,A=Se.getProductSwitcherConfig()),t(18,G=re.getConfigValue("globalSearch")),t(19,x=G&&G.searchFieldCentered&&ne.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),t(28,he=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Z=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),on.doOnStoreChange(le,()=>{ae()},["navigation.viewgroupdata"]),An.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&ae()})}),zn(()=>{(!p||p!=_)&&ae(),Ve()});let{showTopNav:He}=e;function be(J){return Se.renderIconClassName(J)}function Ge(J){return Se.isOpenUIiconName(J.icon)}const St=J=>Se.getNodeLabel(J);function Wt(J){return J.testId?J.testId:Se.prepareForTests(J.pathSegment,J.label)}function kt(J){return me.getNodeHref(J,b)}function Yt(J,tt){return Se.generateTooltipText(J,tt)}function pn(){Et("productSwitcherPopover")}function un(){t(43,Ue=!Ue),Et("contextSwitcherPopover")}function mn(J){t(14,L=!0),t(15,O=J)}function Bi(){t(14,L=!1)}function bn(J){n("handleClick",{node:J})}function Qt(J){n("handleSearchNavigation",{node:J})}function Rn(J){bn(J.detail.node)}function Et(J){const tt=v||{},dn=!tt[J];qn(),Bi(),tt[J]=dn,t(6,v=tt)}function cl(J){Et(J.detail.name)}function xt(){pe&&pe.focus()}function fn(){$||setTimeout(()=>{xt()}),n("toggleSearch",{isSearchFieldVisible:$,inputElem:pe,luigiCustomSearchRenderer__slot:ie})}function qn(){const J=v||{},tt=Object.keys(J);tt&&tt.length>0&&tt.forEach(dn=>{J[dn]=!1,t(6,v=J)})}function qt(){f==="simple"||f==="simpleMobileOnly"?fi():ci(),Cn()}function Cn(){if(!Se.getBurgerTooltipConfig())return;const[J,tt]=Se.getBurgerTooltipConfig();J&&tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Y=document.body.classList.contains("lui-leftNavToggle")?J:tt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Y=document.body.classList.contains("semiCollapsed")?J:tt))}function fi(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ci(){mi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function cn(J){const tt=J.detail;t(17,F=tt||{})}function Ci(J){v=J,t(6,v)}function te(J){$=J,t(20,$)}function Ae(J){ee=J,t(25,ee)}function at(J){W=J,t(23,W)}function Nt(J){ue=J,t(24,ue)}function Ct(J){pe=J,t(21,pe)}function ln(J){ie=J,t(22,ie)}function En(J){Al.call(this,i,J)}function Gn(J){Al.call(this,i,J)}function ni(J){Al.call(this,i,J)}function Ml(J){$=J,t(20,$)}function Hi(J){ee=J,t(25,ee)}function pr(J){W=J,t(23,W)}function mr(J){ue=J,t(24,ue)}function Ol(J){pe=J,t(21,pe)}function br(J){ie=J,t(22,ie)}function vr(J){Al.call(this,i,J)}function wr(J){Al.call(this,i,J)}function dl(J){Al.call(this,i,J)}function Sr(J){v=J,t(6,v)}const yi=()=>Et("contextSwitcherPopover");function Wi(J,tt,dn,hi){dn[hi]=J,t(7,S)}const hl=J=>Et(`dropDownPopover-${J}`);function zi(J,tt,dn,hi){dn[hi]=J,t(7,S)}const Fl=(J,tt)=>{Se.handleNavAnchorClickedWithoutMetaKey(tt)&&bn(J)};function Ul(J,tt,dn,hi){dn[hi]=J,t(7,S)}const Bl=J=>bn(J),kr=()=>Et("overflowPopover"),yn=()=>{fn(),Et("overflowPopover")},qi=J=>bn(J),gl=J=>mn(J);function Hl(J){v=J,t(6,v)}const Cr=()=>Et("productSwitcherPopover");function Gi(J){v=J,t(6,v)}function _l(J){Ie=J,t(44,Ie)}function pl(J){ce=J,t(45,ce)}const di=()=>Et("contextSwitcherPopover"),Wl=()=>Et("profilePopover"),Pi=()=>Et("profilePopover"),yr=()=>Et("profilePopover"),gt=()=>Et("profilePopover"),ml=()=>Et("profilePopover");function Ki(J){v=J,t(6,v)}const bl=()=>Et("productSwitcherPopover"),vl=()=>Et("profilePopover");return i.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(54,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,s=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,f=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,g=J.profileTypeSettings),"showGlobalNav"in J&&t(5,h=J.showGlobalNav),"pathData"in J&&t(30,_=J.pathData),"pathParams"in J&&t(31,b=J.pathParams),"dropDownStates"in J&&t(6,v=J.dropDownStates),"children"in J&&t(7,S=J.children),"selectedNode"in J&&t(8,y=J.selectedNode),"visibleNodeCount"in J&&t(9,C=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,P=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,I=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,T=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,A=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,L=J.openMobileDropDown),"nodeForMobile"in J&&t(15,O=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,H=J.profileItemsAvailable),"userInfo"in J&&t(17,F=J.userInfo),"urlAuthError"in J&&t(55,B=J.urlAuthError),"globalSearchConfig"in J&&t(18,G=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,x=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,$=J.isSearchFieldVisible),"inputElem"in J&&t(21,pe=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,ie=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,W=J.displaySearchResult),"displayCustomSearchResult"in J&&t(24,ue=J.displayCustomSearchResult),"searchResult"in J&&t(25,ee=J.searchResult),"burgerTooltip"in J&&t(26,Y=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(27,Pe=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(28,he=J.addNavHrefForAnchor),"showTopNav"in J&&t(29,He=J.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,He=l&&(!r||s)||!l)},[l,s,o,f,g,h,v,S,y,C,P,I,T,A,L,O,H,F,G,x,$,pe,ie,W,ue,ee,Y,Pe,he,He,_,b,pn,un,mn,Bi,bn,Rn,Et,cl,fn,qn,cn,Ue,Ie,ce,Z,be,Ge,St,Wt,kt,Yt,qt,r,B,Qt,fi,ci,Ci,te,Ae,at,Nt,Ct,ln,En,Gn,ni,Ml,Hi,pr,mr,Ol,br,vr,wr,dl,Sr,yi,Wi,hl,zi,Fl,Ul,Bl,kr,yn,qi,gl,Hl,Cr,Gi,_l,pl,di,Wl,Pi,yr,gt,ml,Ki,bl,vl]}class WC extends Rt{constructor(e){super(),At(this,e,HC,VC,Tt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function sg(i){let e;return{c(){e=k("div"),c(e,"class","lui-tab-header")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function zC(i){let e,t=i[0]&&sg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,[l]){n[0]?t||(t=sg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Fe,o:Fe,d(n){t&&t.d(n),n&&R(e)}}}function qC(i,e,t){let{node:n}=e;async function l(){var o,f;const r=me.mapPathToNode(et.getCurrentPath(),n),s=await Vt.extractDataFromPath(r);return{context:((o=s==null?void 0:s.pathData)==null?void 0:o.context)||n.context,pathParams:((f=s.pathData)==null?void 0:f.pathParams)||{},clientPermissions:s.nodeObject.clientPermissions||{}}}return Jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),s=document.querySelector(".lui-tab-header");cr.renderWebComponent(n.viewUrl,s,r,n),s.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class GC extends Rt{constructor(e){super(),At(this,e,qC,zC,Tt,{node:0})}}const{window:Co}=Fi;function ag(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function og(i,e,t){const n=i.slice();return n[43]=e[t],n}function ug(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function fg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function cg(i,e,t){const n=i.slice();return n[43]=e[t],n}function dg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function hg(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&gg(i),I=Object.entries(i[0]),T=[];for(let F=0;F<I.length;F+=1)T[F]=Sg(fg(i,I,F));const A=F=>q(T[F],1,1,()=>{T[F]=null});let L=Object.entries(i[0]),O=[];for(let F=0;F<L.length;F+=1)O[F]=Pg(ag(i,L,F));const H=F=>q(O[F],1,1,()=>{O[F]=null});return{c(){e=k("div"),P&&P.c(),t=K(),n=k("nav"),l=k("div"),r=k("div");for(let F=0;F<T.length;F+=1)T[F].c();s=K(),o=k("div"),f=k("span"),g=k("div"),h=k("a"),h.innerHTML=`<span class="label fd-tabs__tag svelte-16eupdq">More</span>
|
|
58
|
-
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"></span>`,_=K(),p=k("div"),b=k("ul");for(let F=0;F<O.length;F+=1)O[F].c();c(r,"class","tabsContainer luigi-tabsContainer svelte-16eupdq"),c(l,"class","tabsContainerWrapper svelte-16eupdq"),c(h,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-16eupdq"),c(h,"aria-expanded","false"),c(h,"role","tab"),c(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-16eupdq"),c(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-16eupdq"),c(p,"aria-hidden",v=!i[4]),c(g,"class","fd-popover fd-popover--right"),c(f,"class","fd-tabs__item svelte-16eupdq"),c(o,"class","luigi-tabsMoreButton svelte-16eupdq"),c(n,"class","fd-tabs fd-tabs--l svelte-16eupdq"),c(n,"role","tablist"),c(e,"class","lui-tabs svelte-16eupdq"),c(e,"id","tabsContainer")},m(F,B){E(F,e,B),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let G=0;G<T.length;G+=1)T[G].m(r,null);w(n,s),w(n,o),w(o,f),w(f,g),w(g,h),w(g,_),w(g,p),w(p,b);for(let G=0;G<O.length;G+=1)O[G].m(b,null);S=!0,y||(C=[se(h,"click",Mt(i[10])),se(f,"click",$C),se(n,"toggleDropdownState",i[26])],y=!0)},p(F,B){if(F[11].parent&&F[11].parent.tabNav&&F[11].parent.tabNav.showAsTabHeader?P?(P.p(F,B),B[0]&2048&&M(P,1)):(P=gg(F),P.c(),M(P,1),P.m(e,t)):P&&(Ce(),q(P,1,1,()=>{P=null}),ye()),B[0]&53485){I=Object.entries(F[0]);let G;for(G=0;G<I.length;G+=1){const x=fg(F,I,G);T[G]?(T[G].p(x,B),M(T[G],1)):(T[G]=Sg(x),T[G].c(),M(T[G],1),T[G].m(r,null))}for(Ce(),G=I.length;G<T.length;G+=1)A(G);ye()}if(B[0]&53485){L=Object.entries(F[0]);let G;for(G=0;G<L.length;G+=1){const x=ag(F,L,G);O[G]?(O[G].p(x,B),M(O[G],1)):(O[G]=Pg(x),O[G].c(),M(O[G],1),O[G].m(b,null))}for(Ce(),G=L.length;G<O.length;G+=1)H(G);ye()}(!S||B[0]&16&&v!==(v=!F[4]))&&c(p,"aria-hidden",v)},i(F){if(!S){M(P);for(let B=0;B<I.length;B+=1)M(T[B]);for(let B=0;B<L.length;B+=1)M(O[B]);S=!0}},o(F){q(P),T=T.filter(Boolean);for(let B=0;B<T.length;B+=1)q(T[B]);O=O.filter(Boolean);for(let B=0;B<O.length;B+=1)q(O[B]);S=!1},d(F){F&&R(e),P&&P.d(),ct(T,F),ct(O,F),y=!1,Ze(C)}}}function gg(i){let e,t;return e=new GC({props:{node:i[11].parent}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function KC(i){let e,t,n,l,r,s=i[12](i[39])+"",o,f,g,h,_,p,b,v,S,y,C,P,I,T;function A(){return i[20](i[39])}let L=i[40],O=[];for(let F=0;F<L.length;F+=1)O[F]=mg(cg(i,L,F));const H=F=>q(O[F],1,1,()=>{O[F]=null});return{c(){e=k("span"),t=k("div"),n=k("div"),l=k("a"),r=k("span"),o=Ne(s),f=K(),g=k("span"),_=K(),p=k("div"),b=k("nav"),v=k("ul");for(let F=0;F<O.length;F+=1)O[F].c();y=K(),c(r,"class","label fd-tabs__tag svelte-16eupdq"),c(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"),c(l,"class","fd-tabs__link has-child svelte-16eupdq"),c(l,"aria-expanded","false"),c(l,"role","tab"),c(l,"aria-selected",h=fr(i[39],i[2])),c(n,"class","fd-popover__control"),c(v,"class","fd-menu__list fd-menu__list--no-shadow"),c(b,"class","fd-menu"),c(p,"class","fd-popover__body fd-popover__body--no-arrow"),c(p,"aria-hidden",S=!i[3][i[39]]),c(t,"class","fd-popover"),c(e,"class","fd-tabs__item svelte-16eupdq"),c(e,"uid",i[42]+"-0"),c(e,"isselected",C=fr(i[39],i[2]))},m(F,B){E(F,e,B),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,f),w(l,g),w(t,_),w(t,p),w(p,b),w(b,v);for(let G=0;G<O.length;G+=1)O[G].m(v,null);w(e,y),P=!0,I||(T=[se(l,"click",Mt(A)),se(e,"click",XC)],I=!0)},p(F,B){if(i=F,(!P||B[0]&4097)&&s!==(s=i[12](i[39])+"")&&Te(o,s),(!P||B[0]&5&&h!==(h=fr(i[39],i[2])))&&c(l,"aria-selected",h),B[0]&49221){L=i[40];let G;for(G=0;G<L.length;G+=1){const x=cg(i,L,G);O[G]?(O[G].p(x,B),M(O[G],1)):(O[G]=mg(x),O[G].c(),M(O[G],1),O[G].m(v,null))}for(Ce(),G=L.length;G<O.length;G+=1)H(G);ye()}(!P||B[0]&9&&S!==(S=!i[3][i[39]]))&&c(p,"aria-hidden",S),(!P||B[0]&5&&C!==(C=fr(i[39],i[2])))&&c(e,"isselected",C)},i(F){if(!P){for(let B=0;B<L.length;B+=1)M(O[B]);P=!0}},o(F){O=O.filter(Boolean);for(let B=0;B<O.length;B+=1)q(O[B]);P=!1},d(F){F&&R(e),ct(O,F),I=!1,Ze(T)}}}function jC(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=wg(dg(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&49221){n=s[40];let f;for(f=0;f<n.length;f+=1){const g=dg(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=wg(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function _g(i){let e,t,n=i[43].label&&pg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=pg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function pg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,f,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[21](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),c(n,"class","fd-menu__title"),c(t,"href",f=i[15](i[43])),c(t,"class","fd-menu__link"),c(t,"aria-selected",g=i[43]===i[2]),c(e,"class","fd-menu__item")},m(S,y){E(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&R(e),ze(o),p=!1,b()}}}function mg(i){let e,t,n=!i[43].hideFromNav&&_g(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&1&&M(n,1)):(n=_g(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function bg(i){let e,t,n=i[43].label&&vg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=vg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function vg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,f,g,h,_,p,b,v,S;o=new Ui({props:{node:i[43]}});function y(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),c(n,"class","fd-tabs__tag"),c(t,"class","fd-tabs__link"),c(t,"href",f=i[15](i[43])),c(t,"role","tab"),c(t,"aria-selected",g=i[43]===i[2]),c(e,"class",_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"),c(e,"uid",i[42]+"-"+i[45]),c(e,"isselected",p=i[43]===i[2])},m(C,P){E(C,e,P),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),b=!0,v||(S=se(t,"click",Mt(y)),v=!0)},p(C,P){i=C,(!b||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const I={};P[0]&1&&(I.node=i[43]),o.$set(I),(!b||P[0]&1&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!b||P[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g),(!b||P[0]&5&&_!==(_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"))&&c(e,"class",_),(!b||P[0]&5&&p!==(p=i[43]===i[2]))&&c(e,"isselected",p)},i(C){b||(M(o.$$.fragment,C),b=!0)},o(C){q(o.$$.fragment,C),b=!1},d(C){C&&R(e),ze(o),v=!1,S()}}}function wg(i){let e,t,n=!i[43].hideFromNav&&bg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(Ce(),q(n,1,1,()=>{n=null}),ye()):n?(n.p(l,r),r[0]&1&&M(n,1)):(n=bg(l),n.c(),M(n,1),n.m(e.parentNode,e))},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Sg(i){let e,t,n,l,r,s;const o=[jC,KC],f=[];function g(h,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=h[39]==="undefined"||h[39].indexOf(h[5])===0),e?0:(t==null&&(t=h[40].filter(ZC).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=f[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(h,_){~n&&f[n].m(h,_),E(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&f[n].p(h,_):(l&&(Ce(),q(f[p],1,1,()=>{f[p]=null}),ye()),~n?(l=f[n],l?l.p(h,_):(l=f[n]=o[n](h),l.c()),M(l,1),l.m(r.parentNode,r)):l=null)},i(h){s||(M(l),s=!0)},o(h){q(l),s=!1},d(h){~n&&f[n].d(h),h&&R(r)}}}function JC(i){let e,t,n,l,r=i[12](i[39])+"",s,o,f,g,h,_,p,b,v,S,y,C,P,I,T;function A(){return i[23](i[39],i[42])}function L(){return i[24](i[39],i[42])}let O=i[40],H=[];for(let B=0;B<O.length;B+=1)H[B]=Cg(og(i,O,B));const F=B=>q(H[B],1,1,()=>{H[B]=null});return{c(){e=k("li"),t=k("div"),n=k("a"),l=k("span"),s=Ne(r),g=K(),h=k("button"),_=k("i"),v=K(),S=k("ul");for(let B=0;B<H.length;B+=1)H[B].c();C=K(),c(l,"class","fd-nested-list__title svelte-16eupdq"),c(n,"href","javascript:void(null)"),c(n,"tabindex","-1"),c(n,"class","fd-nested-list__link"),c(n,"id","tabnav_list_level1_"+i[42]),c(n,"aria-haspopup","true"),c(n,"aria-expanded",o=i[3][i[39]+i[42]]),c(n,"aria-selected",f=fr(i[39],i[2])),c(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),c(_,"role","presentation"),c(h,"class","fd-button fd-nested-list__button"),c(h,"href","#"),c(h,"tabindex","-1"),c(h,"aria-label","Expand submenu"),c(h,"aria-haspopup","true"),c(h,"aria-expanded",b=i[3][i[39]+i[42]]),c(t,"class","fd-nested-list__content has-child svelte-16eupdq"),c(t,"tabindex","0"),c(S,"class","fd-nested-list level-2"),c(S,"aria-hidden",y=!i[3][i[39]+i[42]]),c(e,"class","fd-nested-list__item"),c(e,"uid",i[42]+"-0")},m(B,G){E(B,e,G),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,h),w(h,_),w(e,v),w(e,S);for(let x=0;x<H.length;x+=1)H[x].m(S,null);w(e,C),P=!0,I||(T=[se(n,"click",Mt(A)),se(h,"click",Mt(L))],I=!0)},p(B,G){if(i=B,(!P||G[0]&4097)&&r!==(r=i[12](i[39])+"")&&Te(s,r),(!P||G[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&c(n,"aria-expanded",o),(!P||G[0]&5&&f!==(f=fr(i[39],i[2])))&&c(n,"aria-selected",f),(!P||G[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&c(_,"class",p),(!P||G[0]&9&&b!==(b=i[3][i[39]+i[42]]))&&c(h,"aria-expanded",b),G[0]&49221){O=i[40];let x;for(x=0;x<O.length;x+=1){const $=og(i,O,x);H[x]?(H[x].p($,G),M(H[x],1)):(H[x]=Cg($),H[x].c(),M(H[x],1),H[x].m(S,null))}for(Ce(),x=O.length;x<H.length;x+=1)F(x);ye()}(!P||G[0]&9&&y!==(y=!i[3][i[39]+i[42]]))&&c(S,"aria-hidden",y)},i(B){if(!P){for(let G=0;G<O.length;G+=1)M(H[G]);P=!0}},o(B){H=H.filter(Boolean);for(let G=0;G<H.length;G+=1)q(H[G]);P=!1},d(B){B&&R(e),ct(H,B),I=!1,Ze(T)}}}function YC(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=yg(ug(i,n,s));const r=s=>q(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=ke()},m(s,o){for(let f=0;f<l.length;f+=1)l[f].m(s,o);E(s,e,o),t=!0},p(s,o){if(o[0]&49221){n=s[40];let f;for(f=0;f<n.length;f+=1){const g=ug(s,n,f);l[f]?(l[f].p(g,o),M(l[f],1)):(l[f]=yg(g),l[f].c(),M(l[f],1),l[f].m(e.parentNode,e))}for(Ce(),f=n.length;f<l.length;f+=1)r(f);ye()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){ct(l,s),s&&R(e)}}}function kg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,f,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[25](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),c(n,"class","fd-nested-list__title svelte-16eupdq"),c(t,"class","fd-nested-list__link"),c(t,"href",f=i[15](i[43])),c(t,"aria-selected",g=i[43]===i[2]),c(e,"class","fd-nested-list__item"),c(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(S,y){E(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&R(e),ze(o),p=!1,b()}}}function Cg(i){let e,t,n=i[43].label&&kg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&M(n,1)):(n=kg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function yg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,f,g,h,_,p,b;o=new Ui({props:{node:i[43]}});function v(){return i[22](i[43])}return{c(){e=k("li"),t=k("a"),n=k("span"),r=Ne(l),s=K(),qe(o.$$.fragment),h=K(),c(n,"class","fd-nested-list__title svelte-16eupdq"),c(t,"href",f=i[15](i[43])),c(t,"class","fd-nested-list__link"),c(t,"aria-selected",g=i[43]===i[2]),c(e,"class","fd-nested-list__item"),c(e,"uid",i[42]+"-"+i[45])},m(S,y){E(S,e,y),w(e,t),w(t,n),w(n,r),w(n,s),We(o,n,null),w(e,h),_=!0,p||(b=se(t,"click",Mt(v)),p=!0)},p(S,y){i=S,(!_||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const C={};y[0]&1&&(C.node=i[43]),o.$set(C),(!_||y[0]&1&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||y[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(S){_||(M(o.$$.fragment,S),_=!0)},o(S){q(o.$$.fragment,S),_=!1},d(S){S&&R(e),ze(o),p=!1,b()}}}function Pg(i){let e,t,n,l,r;const s=[YC,JC],o=[];function f(g,h){return h[0]&33&&(e=null),e==null&&(e=g[39]==="undefined"||g[39].indexOf(g[5])===0),e?0:1}return t=f(i,[-1,-1]),n=o[t]=s[t](i),{c(){n.c(),l=ke()},m(g,h){o[t].m(g,h),E(g,l,h),r=!0},p(g,h){let _=t;t=f(g,h),t===_?o[t].p(g,h):(Ce(),q(o[_],1,1,()=>{o[_]=null}),ye(),n=o[t],n?n.p(g,h):(n=o[t]=s[t](g),n.c()),M(n,1),n.m(l.parentNode,l))},i(g){r||(M(n),r=!0)},o(g){q(n),r=!1},d(g){o[t].d(g),g&&R(l)}}}function QC(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&hg(i);return{c(){r&&r.c(),e=ke()},m(s,o){r&&r.m(s,o),E(s,e,o),t=!0,n||(l=[se(Co,"click",i[8]),se(Co,"blur",i[8]),se(Co,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>0&&(s[1][0].topNav===!1||s[1].length>1)?r?(r.p(s,o),o[0]&3&&M(r,1)):(r=hg(s),r.c(),M(r,1),r.m(e.parentNode,e)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){t||(M(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&R(e),n=!1,Ze(l)}}}function fr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const ZC=i=>!i.hideFromNav&&i.label,XC=i=>i.stopPropagation(),$C=i=>i.stopPropagation();function xC(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:f}=e,{virtualGroupPrefix:g=Se.virtualGroupPrefix}=e,h,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:v}=e,S,y=ht("getTranslation");ki(i,y,Z=>t(12,n=Z));let C=ht("store"),P;const I={get:()=>({children:l,pathData:r,hideNavComponent:f,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:Z=>{Z&&Object.getOwnPropertyNames(Z).forEach(he=>{he==="pathData"?t(1,r=Z.pathData):he==="context"?context=Z.context:he==="children"?t(0,l=Z.children):he==="selectedNode"?t(11,h=Z.selectedNode):he==="selectedNodeForTabNav"&&t(2,_=Z.selectedNodeForTabNav)})}},T=Ht();function A(Z){return Se.getNodeLabel(Z)}const L=async()=>{const Z=I.get(),he=await Vt.getTabNavData({...Z},Z);!he||(I.set({...he}),o=r,window.LEFTNAVDATA=he.groupedChildren,setTimeout(O))},O=()=>{H();let Z=document.getElementsByClassName("luigi-tabsContainer")[0],he=document.getElementsByClassName("luigi-tabsMoreButton")[0],ae=document.getElementsByClassName("luigi__more")[0],Ve,He=0,be=!1,Ge,St;ae&&ae.setAttribute("aria-selected","false"),Z&&(Ve=Z.offsetWidth,[...Z.children].forEach(kt=>{Ge=kt.currentStyle||window.getComputedStyle(kt),St=parseFloat(Ge.marginLeft)+parseFloat(Ge.marginRight),He+=kt.offsetWidth+St;let Yt=kt.getAttribute("uid");He>=Ve?(kt.classList.add("hide_element"),kt.getAttribute("isSelected")==="true"&&ae.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Yt+'"]').classList.remove("hide_element"),be=!0):document.querySelector('li[uid="'+Yt+'"]').classList.add("hide_element")}),be?he.classList.remove("hide_element"):he.classList.add("hide_element"))},H=()=>{let Z=document.getElementsByClassName("luigi-tabsContainer")[0];Z!==void 0&&[...Z.children].forEach(ae=>{ae.classList.remove("hide_element")})},F=()=>{P=new ResizeObserver(Z=>{for(const he of Z)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",he.contentRect.height+"px")}),setTimeout(()=>{const Z=document.querySelector("#tabsContainer.lui-tabs");Z&&P.observe(Z)})},B=()=>{P&&P.disconnect()};Jt(()=>{t(16,f=re.getConfigBooleanValue("settings.hideNavigation")),F(),on.doOnStoreChange(C,()=>{L()},["navigation.viewgroupdata"])}),$r(()=>{B(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!o||o!=r)&&L(),(S===void 0||S!==v)&&(S=v,L())}),fa(()=>{B(),P?setTimeout(()=>{const Z=document.querySelector("#tabsContainer.lui-tabs");Z&&P.observe(Z)}):F()});function G(Z){return me.getNodeHref(Z,s)}function x(Z){pe(),T("handleClick",{node:Z})}function $(Z){let he={};p[Z]||(he[Z]=!0),t(3,p=he)}function pe(){t(3,p={}),t(4,b=!1)}function ie(){H(),O()}function W(){t(4,b=!b)}const ue=Z=>x(Z),ee=Z=>$(Z),Y=Z=>x(Z),Pe=Z=>x(Z),le=(Z,he)=>$(Z+he),Ue=(Z,he)=>$(Z+he),Ie=Z=>x(Z),ce=Z=>$(Z.name);return i.$$set=Z=>{"children"in Z&&t(0,l=Z.children),"pathData"in Z&&t(1,r=Z.pathData),"pathParams"in Z&&t(17,s=Z.pathParams),"hideNavComponent"in Z&&t(16,f=Z.hideNavComponent),"virtualGroupPrefix"in Z&&t(5,g=Z.virtualGroupPrefix),"selectedNodeForTabNav"in Z&&t(2,_=Z.selectedNodeForTabNav),"dropDownStates"in Z&&t(3,p=Z.dropDownStates),"isMoreBtnExpanded"in Z&&t(4,b=Z.isMoreBtnExpanded),"resizeTabNavToggle"in Z&&t(18,v=Z.resizeTabNavToggle)},[l,r,_,p,b,g,x,$,pe,ie,W,h,n,y,A,G,f,s,v,ue,ee,Y,Pe,le,Ue,Ie,ce]}class ey extends Rt{constructor(e){super(),At(this,e,xC,QC,Tt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function Ng(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Ig(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function Tg(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&Lg(i),o=i[0]&&i[3].length>0&&Dg(i);return{c(){e=k("div"),t=k("nav"),n=k("div"),s&&s.c(),l=K(),r=k("div"),o&&o.c(),c(n,"class","fd-side-nav__main-navigation"),c(r,"class","fd-side-nav__utility svelte-174hcxg"),c(r,"aria-label","Utility Menu"),c(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),c(e,"class","lui-globalnav svelte-174hcxg")},m(f,g){E(f,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(f,g){f[0]&&f[3].length>0?s?s.p(f,g):(s=Lg(f),s.c(),s.m(n,null)):s&&(s.d(1),s=null),f[0]&&f[3].length>0?o?o.p(f,g):(o=Dg(f),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(f){f&&R(e),s&&s.d(),o&&o.d()}}}function Lg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Eg(Ig(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Ig(l,t,s);n[s]?n[s].p(o,r):(n[s]=Eg(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function Ag(i){let e,t,n,l,r,s=i[11](i[24])+"",o,f,g,h,_,p,b,v,S,y,C=i[24].icon&&Rg(i);function P(...I){return i[18](i[24],...I)}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=Ne(s),f=K(),g=k("div"),p=K(),c(r,"class","lui-text svelte-174hcxg"),c(g,"class","lui-indicator svelte-174hcxg"),c(n,"class","lui-fd-nested-list__content svelte-174hcxg"),c(t,"href",h=i[6]?i[13](i[24]):void 0),c(t,"title",_=i[7](i[24].label)),c(t,"role","button"),c(t,"tabindex","0"),c(t,"class","svelte-174hcxg"),c(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),c(e,"data-testid",v=i[12](i[24]))},m(I,T){E(I,e,T),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,f),w(n,g),w(e,p),S||(y=se(t,"click",P),S=!0)},p(I,T){i=I,i[24].icon?C?C.p(i,T):(C=Rg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),T&1&&s!==(s=i[11](i[24])+"")&&Te(o,s),T&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&c(t,"href",h),T&129&&_!==(_=i[7](i[24].label))&&c(t,"title",_),T&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&c(e,"class",b),T&1&&v!==(v=i[12](i[24]))&&c(e,"data-testid",v)},d(I){I&&R(e),C&&C.d(),S=!1,y()}}}function Rg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?ny:ty}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function ty(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(e.src,t=i[24].icon)||c(e,"src",t),c(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[24].icon)&&c(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function ny(i){let e,t;return{c(){e=k("span"),c(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&c(e,"class",t)},d(n){n&&R(e)}}}function Eg(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&Ag(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=Ag(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function Dg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Og(Ng(i,t,l));return{c(){e=k("ul");for(let l=0;l<n.length;l+=1)n[l].c();c(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){E(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Ng(l,t,s);n[s]?n[s].p(o,r):(n[s]=Og(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&R(e),ct(n,l)}}}function Vg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,f,g,h,_,p,b,v,S,y,C=i[24].icon&&Mg(i);function P(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),C&&C.c(),l=K(),r=k("div"),o=Ne(s),f=K(),g=k("div"),p=K(),c(r,"class","lui-text svelte-174hcxg"),c(g,"class","lui-indicator svelte-174hcxg"),c(n,"class","lui-fd-nested-list__content svelte-174hcxg"),c(t,"href",h=i[6]?i[13](i[24]):void 0),c(t,"title",_=i[7](i[24].label)),c(t,"class","svelte-174hcxg"),c(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),c(e,"data-testid",v=i[12](i[24]))},m(I,T){E(I,e,T),w(e,t),w(t,n),C&&C.m(n,null),w(n,l),w(n,r),w(r,o),w(n,f),w(n,g),w(e,p),S||(y=se(n,"click",Mt(P)),S=!0)},p(I,T){i=I,i[24].icon?C?C.p(i,T):(C=Mg(i),C.c(),C.m(n,l)):C&&(C.d(1),C=null),T&1&&s!==(s=i[11](i[24])+"")&&Te(o,s),T&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&c(t,"href",h),T&129&&_!==(_=i[7](i[24].label))&&c(t,"title",_),T&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&c(e,"class",b),T&1&&v!==(v=i[12](i[24]))&&c(e,"data-testid",v)},d(I){I&&R(e),C&&C.d(),S=!1,y()}}}function Mg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?ly:iy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(s,o){r.m(s,o),E(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&R(t)}}}function iy(i){let e,t,n;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),lt(e.src,t=i[24].icon)||c(e,"src",t),c(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){E(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[24].icon)&&c(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&c(e,"alt",n)},d(l){l&&R(e)}}}function ly(i){let e,t;return{c(){e=k("span"),c(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){E(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&c(e,"class",t)},d(n){n&&R(e)}}}function Og(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&Vg(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),E(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=Vg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&R(e)}}}function ry(i){let e,t,n,l=i[2]&&Tg(i);return{c(){l&&l.c(),e=ke()},m(r,s){l&&l.m(r,s),E(r,e,s),t||(n=[se(window,"click",ua),se(window,"blur",ua)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=Tg(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Fe,o:Fe,d(r){l&&l.d(r),r&&R(e),t=!1,Ze(n)}}}function ua(){}function sy(i,e,t){let n;const l=Ht();let{pathData:r}=e,s,{pathParams:o}=e,{children:f}=e,{selectedNode:g}=e,h=ht("store"),_=ht("getTranslation");ki(i,_,B=>t(7,n=B));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:v}=e,S=re.getConfigBooleanValue("navigation.addNavHrefs");const y=async()=>{if(r&&0<r.length){const B=await Se.generateTopNavNodes(r);t(0,f=B.children),t(1,g=B.selectedNode),s=r}};Jt(()=>{on.doOnStoreChange(h,()=>{t(14,b=re.getConfigBooleanValue("settings.hideNavigation")),t(15,v=re.getConfigValue("settings.responsiveNavigation")),t(2,p=re.getConfigBooleanValue("settings.globalSideNavigation")&&ne.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!s||s!=r)&&y(),t(6,S=re.getConfigBooleanValue("navigation.addNavHrefs"))});function C(B){return Se.renderIconClassName(B)}function P(B){return Se.isOpenUIiconName(B.icon)}function I(B){return pt.getTranslation(B.label)}function T(B){return B.testId?B.testId:Se.prepareForTests(B.pathSegment,B.label)}function A(B){return me.getNodeHref(B,o)}function L(B){l("handleClick",{node:B})}function O(B){L(B.detail.node)}const H=(B,G)=>{Se.handleNavAnchorClickedWithoutMetaKey(G)&&L(B)},F=B=>L(B);return i.$$set=B=>{"pathData"in B&&t(3,r=B.pathData),"pathParams"in B&&t(16,o=B.pathParams),"children"in B&&t(0,f=B.children),"selectedNode"in B&&t(1,g=B.selectedNode),"showGlobalNav"in B&&t(2,p=B.showGlobalNav),"hideNavComponent"in B&&t(14,b=B.hideNavComponent),"responsiveNavSetting"in B&&t(15,v=B.responsiveNavSetting)},[f,g,p,r,L,ua,S,n,_,C,P,I,T,A,b,v,o,O,H,F]}class ay extends Rt{constructor(e){super(),At(this,e,sy,ry,Tt,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return ua}}function oy(i){let e;return{c(){e=k("div"),c(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){E(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&R(e),i[6](null)}}}function uy(i,e,t){const n=Ht();let{pathData:l}=e,r,s={},o,f=ht("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=C=>{C.last||S(C.node)};Jt(()=>{on.doOnStoreChange(f,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const C=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!C),g&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,g=!1):P.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),C.renderer){let P=[];const I=C.omitRoot?2:1,T=et.getCurrentPath();for(let A=I;A<l.length;A++){const L=l[A],O=me.mapPathToNode(T,L);if(s[O])P.push(s[O]);else if(L.label||L.pathSegment||L.titleResolver)if(document.body.classList.add("lui-breadcrumb"),L.titleResolver)P.push({label:L.titleResolver.prerenderFallback&&L.titleResolver.fallbackTitle?pt.getTranslation(L.titleResolver.fallbackTitle):C.pendingItemLabel||"",node:L,route:O,pending:!0});else{const H=await v(L);H&&P.push({label:H,node:L,route:O})}}C.clearBeforeRender&&t(0,o.innerHTML="",o),C.renderer(o,P,b),P=[];for(let A=I;A<l.length;A++){const L=l[A],O=me.mapPathToNode(T,L);if(L.titleResolver){const F=await Vt.extractDataFromPath(O),B=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,L.context),F.pathData.pathParams);try{const G=await Se.fetchNodeTitleData(L,B);P.push({label:G.label,node:L,route:O});continue}catch{}}const H=await v(L);H&&P.push({label:H,node:L,route:O})}T===et.getCurrentPath()&&(C.clearBeforeRender&&t(0,o.innerHTML="",o),P.length>1?(P[P.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),C.renderer(o,P,b)):C.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},P.map(A=>{s[A.route]=A}))}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 v(C){if(C.label&&!C._virtualTree)return pt.getTranslation(C.label)||C.label;if(C.pathSegment&&C.pathSegment.indexOf(":")===0){const P=me.mapPathToNode(et.getCurrentPath(),C),I=await Vt.extractDataFromPath(P);return me.getDynamicNodeValue(C,I.pathData.pathParams)}return C.pathSegment?C.pathSegment:""}function S(C){n("handleClick",{node:C})}function y(C){$e[C?"unshift":"push"](()=>{o=C,t(0,o)})}return i.$$set=C=>{"pathData"in C&&t(2,l=C.pathData),"showBreadcrumb"in C&&t(1,g=C.showBreadcrumb),"hideNavComponent"in C&&t(3,h=C.hideNavComponent),"responsiveNavSetting"in C&&t(4,_=C.responsiveNavSetting)},[o,g,l,h,_,S,y]}class fy extends Rt{constructor(e){super(),At(this,e,uy,oy,Tt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let To="not_checked";An.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),To="disabled"):i.data==="luigi.tpcEnabled"&&(To="enabled")},!1);function cy(){return To}const{Boolean:dy,window:hy}=Fi;function Fg(i,e,t){const n=i.slice();return n[147]=e[t],n[149]=t,n}function Ug(i){let e,t;return e=new hS({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Bg(i){let e,t;function n(){return i[68](i[149])}function l(...s){return i[69](i[149],...s)}function r(...s){return i[70](i[149],...s)}return e=new __({props:{settings:i[147].mfModal.settings,nodepath:i[147].mfModal.nodepath,modalIndex:i[149],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),t=!0},p(s,o){i=s;const f={};o[0]&268435456&&(f.settings=i[147].mfModal.settings),o[0]&268435456&&(f.nodepath=i[147].mfModal.nodepath),o[0]&8192&&(f.disableBackdrop=i[13]),e.$set(f)},i(s){t||(M(e.$$.fragment,s),t=!0)},o(s){q(e.$$.fragment,s),t=!1},d(s){ze(e,s)}}}function Hg(i){let e,t,n=i[147].mfModal.displayed&&Bg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),E(l,e,r),t=!0},p(l,r){l[147].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&M(n,1)):(n=Bg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(Ce(),q(n,1,1,()=>{n=null}),ye())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&R(e)}}}function Wg(i){let e,t;return e=new __({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[gy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[4]&67108864&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function gy(i){let e,t;return e=new es({props:{area:"drawer",disable:i[13]}}),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function zg(i){let e,t;return e=new bS({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[71]),e.$on("modalDismiss",i[72]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function qg(i){let e,t,n;function l(s){i[73](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new MS({props:r}),$e.push(()=>vt(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){qe(e.$$.fragment)},m(s,o){We(e,s,o),n=!0},p(s,o){const f={};o[0]&262144&&(f.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,f.storedUserSettings=s[6],bt(()=>t=!1)),e.$set(f)},i(s){n||(M(e.$$.fragment,s),n=!0)},o(s){q(e.$$.fragment,s),n=!1},d(s){ze(e,s)}}}function Gg(i){let e,t;return e=new WS({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function _y(i){let e,t,n,l,r,s,o,f,g;t=new es({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Gg(i);return{c(){e=k("div"),qe(t.$$.fragment),n=K(),l=k("div"),r=K(),h&&h.c(),s=ke(),c(l,"class","wcContainer svelte-16jxfob"),c(e,"class","fd-page iframeContainer svelte-16jxfob"),c(e,"tabindex","0"),bi(e,"lui-split-view",i[12].displayed),bi(e,"lui-collapsed",i[12].collapsed)},m(_,p){E(_,e,p),We(t,e,null),w(e,n),w(e,l),E(_,r,p),h&&h.m(_,p),E(_,s,p),o=!0,f||(g=sw(i[45].call(null,e)),f=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&bi(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&bi(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&M(h,1)):(h=Gg(_),h.c(),M(h,1),h.m(s.parentNode,s)):h&&(Ce(),q(h,1,1,()=>{h=null}),ye())},i(_){o||(M(t.$$.fragment,_),M(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&R(e),ze(t),_&&R(r),h&&h.d(_),_&&R(s),f=!1,g()}}}function Kg(i){let e;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-16jxfob" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-16jxfob"></div>
|
|
59
|
-
|
|
60
|
-
<div class="fd-busy-indicator__circle svelte-16jxfob"></div></div>`,c(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-16jxfob"),c(e,"aria-hidden","false"),c(e,"aria-label","Loading")},m(t,n){E(t,e,n)},d(t){t&&R(e)}}}function jg(i){let e,t,n,l,r,s,o,f;function g(y){i[74](y)}function h(y){i[75](y)}function _(y){i[76](y)}function p(y){i[77](y)}function b(y){i[78](y)}function v(y){i[79](y)}let S={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(S.isSearchFieldVisible=i[0]),i[3]!==void 0&&(S.displaySearchResult=i[3]),i[4]!==void 0&&(S.displayCustomSearchResult=i[4]),i[5]!==void 0&&(S.searchResult=i[5]),i[1]!==void 0&&(S.inputElem=i[1]),i[2]!==void 0&&(S.luigiCustomSearchRenderer__slot=i[2]),e=new WC({props:S}),$e.push(()=>vt(e,"isSearchFieldVisible",g)),$e.push(()=>vt(e,"displaySearchResult",h)),$e.push(()=>vt(e,"displayCustomSearchResult",_)),$e.push(()=>vt(e,"searchResult",p)),$e.push(()=>vt(e,"inputElem",b)),$e.push(()=>vt(e,"luigiCustomSearchRenderer__slot",v)),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){qe(e.$$.fragment)},m(y,C){We(e,y,C),f=!0},p(y,C){const P={};C[0]&32768&&(P.pathData=y[15]),C[0]&16384&&(P.pathParams=y[14]),C[0]&524288&&(P.burgerTooltip=y[19]),!t&&C[0]&1&&(t=!0,P.isSearchFieldVisible=y[0],bt(()=>t=!1)),!n&&C[0]&8&&(n=!0,P.displaySearchResult=y[3],bt(()=>n=!1)),!l&&C[0]&16&&(l=!0,P.displayCustomSearchResult=y[4],bt(()=>l=!1)),!r&&C[0]&32&&(r=!0,P.searchResult=y[5],bt(()=>r=!1)),!s&&C[0]&2&&(s=!0,P.inputElem=y[1],bt(()=>s=!1)),!o&&C[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=y[2],bt(()=>o=!1)),e.$set(P)},i(y){f||(M(e.$$.fragment,y),f=!0)},o(y){q(e.$$.fragment,y),f=!1},d(y){ze(e,y)}}}function Jg(i){let e,t,n,l;e=new ay({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]);let r=i[20]&&Yg(i);return{c(){qe(e.$$.fragment),t=K(),r&&r.c(),n=ke()},m(s,o){We(e,s,o),E(s,t,o),r&&r.m(s,o),E(s,n,o),l=!0},p(s,o){const f={};o[0]&32768&&(f.pathData=s[15]),o[0]&16384&&(f.pathParams=s[14]),e.$set(f),s[20]?r?(r.p(s,o),o[0]&1048576&&M(r,1)):(r=Yg(s),r.c(),M(r,1),r.m(n.parentNode,n)):r&&(Ce(),q(r,1,1,()=>{r=null}),ye())},i(s){l||(M(e.$$.fragment,s),M(r),l=!0)},o(s){q(e.$$.fragment,s),q(r),l=!1},d(s){ze(e,s),s&&R(t),r&&r.d(s),s&&R(n)}}}function Yg(i){let e,t;return e=new fy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Qg(i){let e,t;return e=new b2({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function Zg(i){let e,t;return e=new ey({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){qe(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){ze(e,n)}}}function py(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,S,y,C=i[26]&&i[26].length&&Ug(i),P=i[28],I=[];for(let $=0;$<P.length;$+=1)I[$]=Hg(Fg(i,P,$));const T=$=>q(I[$],1,1,()=>{I[$]=null});let A=i[29].displayed&&i[29].settings.isDrawer&&Wg(i),L=i[27].displayed&&zg(i),O=i[18].displayed&&qg(i);o=new es({props:{disable:i[13],$$slots:{default:[_y]},$$scope:{ctx:i}}});let H=i[11]&&Kg(),F=!i[25]&&jg(i),B=!i[21]&&Jg(i),G=!(i[21]||i[22])&&Qg(i),x=i[16]&&!i[21]&&Zg(i);return{c(){e=k("div"),C&&C.c(),t=K();for(let $=0;$<I.length;$+=1)I[$].c();n=K(),A&&A.c(),l=K(),L&&L.c(),r=K(),O&&O.c(),s=K(),qe(o.$$.fragment),f=K(),H&&H.c(),g=K(),F&&F.c(),h=K(),B&&B.c(),_=K(),G&&G.c(),p=K(),x&&x.c(),c(e,"id","app"),c(e,"class",b=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-16jxfob"),c(e,"configversion",i[24])},m($,pe){E($,e,pe),C&&C.m(e,null),w(e,t);for(let ie=0;ie<I.length;ie+=1)I[ie].m(e,null);w(e,n),A&&A.m(e,null),w(e,l),L&&L.m(e,null),w(e,r),O&&O.m(e,null),w(e,s),We(o,e,null),w(e,f),H&&H.m(e,null),w(e,g),F&&F.m(e,null),w(e,h),B&&B.m(e,null),w(e,_),G&&G.m(e,null),w(e,p),x&&x.m(e,null),v=!0,S||(y=se(hy,"resize",i[35]),S=!0)},p($,pe){if($[26]&&$[26].length?C?(C.p($,pe),pe[0]&67108864&&M(C,1)):(C=Ug($),C.c(),M(C,1),C.m(e,t)):C&&(Ce(),q(C,1,1,()=>{C=null}),ye()),pe[0]&268443648|pe[1]&896){P=$[28];let W;for(W=0;W<P.length;W+=1){const ue=Fg($,P,W);I[W]?(I[W].p(ue,pe),M(I[W],1)):(I[W]=Hg(ue),I[W].c(),M(I[W],1),I[W].m(e,n))}for(Ce(),W=P.length;W<I.length;W+=1)T(W);ye()}$[29].displayed&&$[29].settings.isDrawer?A?(A.p($,pe),pe[0]&536870912&&M(A,1)):(A=Wg($),A.c(),M(A,1),A.m(e,l)):A&&(Ce(),q(A,1,1,()=>{A=null}),ye()),$[27].displayed?L?(L.p($,pe),pe[0]&134217728&&M(L,1)):(L=zg($),L.c(),M(L,1),L.m(e,r)):L&&(Ce(),q(L,1,1,()=>{L=null}),ye()),$[18].displayed?O?(O.p($,pe),pe[0]&262144&&M(O,1)):(O=qg($),O.c(),M(O,1),O.m(e,s)):O&&(Ce(),q(O,1,1,()=>{O=null}),ye());const ie={};pe[0]&8192&&(ie.disable=$[13]),pe[0]&12288|pe[4]&67108864&&(ie.$$scope={dirty:pe,ctx:$}),o.$set(ie),$[11]?H||(H=Kg(),H.c(),H.m(e,g)):H&&(H.d(1),H=null),$[25]?F&&(Ce(),q(F,1,1,()=>{F=null}),ye()):F?(F.p($,pe),pe[0]&33554432&&M(F,1)):(F=jg($),F.c(),M(F,1),F.m(e,h)),$[21]?B&&(Ce(),q(B,1,1,()=>{B=null}),ye()):B?(B.p($,pe),pe[0]&2097152&&M(B,1)):(B=Jg($),B.c(),M(B,1),B.m(e,_)),$[21]||$[22]?G&&(Ce(),q(G,1,1,()=>{G=null}),ye()):G?(G.p($,pe),pe[0]&6291456&&M(G,1)):(G=Qg($),G.c(),M(G,1),G.m(e,p)),$[16]&&!$[21]?x?(x.p($,pe),pe[0]&2162688&&M(x,1)):(x=Zg($),x.c(),M(x,1),x.m(e,null)):x&&(Ce(),q(x,1,1,()=>{x=null}),ye()),(!v||pe[0]&48234496&&b!==(b=($[21]?"no-nav":"")+" "+($[22]?"no-side-nav":"")+" "+($[25]?"no-top-nav":"")+" "+($[23]?"no-animation":"")+" svelte-16jxfob"))&&c(e,"class",b),(!v||pe[0]&16777216)&&c(e,"configversion",$[24])},i($){if(!v){M(C);for(let pe=0;pe<P.length;pe+=1)M(I[pe]);M(A),M(L),M(O),M(o.$$.fragment,$),M(F),M(B),M(G),M(x),v=!0}},o($){q(C),I=I.filter(dy);for(let pe=0;pe<I.length;pe+=1)q(I[pe]);q(A),q(L),q(O),q(o.$$.fragment,$),q(F),q(B),q(G),q(x),v=!1},d($){$&&R(e),C&&C.d(),ct(I,$),A&&A.d(),L&&L.d(),O&&O.d(),ze(o),H&&H.d(),F&&F.d(),B&&B.d(),G&&G.d(),x&&x.d(),S=!1,y()}}}function my(i,e,t){const n=Ht();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},f,g,h=!1,_,p,b,v,S,y,C,P,I,T,A,L,O,H,F,B,G,x,$,pe=!0,ie=!1,W,ue,ee,Y=[],Pe={isDirty:!1,persistUrl:null},le,Ue,Ie=!1,ce,Z,he={},ae,Ve,He,{isSearchFieldVisible:be}=e,{inputElem:Ge}=e,{luigiCustomSearchRenderer__slot:St}=e,{displaySearchResult:Wt}=e,{displayCustomSearchResult:kt=!0}=e,{searchResult:Yt}=e,{storedUserSettings:pn}=e;const un=async U=>{const fe=U.iframe.luigi,Ee=fe.currentNode&&fe.currentNode.userSettingsGroup,je=await re.readUserSettings(),Oe=Ee&&typeof je=="object"&&je!==null,we=Le.applyCoreStateData({isNavigateBack:ie,viewStackSize:Y.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Oe?je[Ee]:null,anchor:al.getAnchor(),cssVariables:await Io.getCSSVariables()});return Le.specialIframeTypes.map(De=>De.iframeConfigKey).forEach(De=>{we[De]=U[De]||!1}),we},mn=async(U,fe={})=>{if(!U.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},U.context||T,fe)),nodeParams:JSON.stringify(Object.assign({},U.nodeParams||A)),pathParams:JSON.stringify(Object.assign({},U.pathParams||L)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(U.iframe.luigi.currentNode))),internal:JSON.stringify(await un(U)),authData:ol.getStoredAuthData()};U.iframe.luigi._lastUpdatedMessage=Ee,Le.sendMessageToIframe(U.iframe,Ee)},Bi=U=>{const fe={msg:"luigi.auth.tokenIssued",authData:U};Le.broadcastMessageToAllIframes(fe)},bn=(U,fe)=>{if(U.params.preserveView||U.params.viewgroup){const Ee=Cn(U.params),je=et.getNodePath(H,O);Y.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?ne.replaceVars(je,fe.iframe.luigi.pathParams,":",!1):je,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:T}),fe.iframe.pv="pv"}},Qt=(U,fe,Ee,je)=>{let Oe=Cn(U.params,Ee,je);const{preventHistoryEntry:we,preserveQueryParams:De,preventContextUpdate:_t}=U.params,Ot={keepBrowserHistory:!we,navSync:pe,preventContextUpdate:_t};return Oe=ne.addLeadingSlash(Oe),Oe=De?me.composeSearchParamsToRoute(Oe):Oe,bn(U,fe),et.navigateTo(Oe,Ot)},Rn=U=>U.split("?")[0],Et=(U,fe)=>{if(U.length===0)return!1;const Ee=fe.startsWith("/")?fe:`/${fe}`,je=[...U].pop();return[Rn(je.path),Rn(je.nextPath)].includes(Rn(Ee))},cl=U=>{Pe&&Pe.dirtySet&&(U?Pe.dirtySet.delete(U):Pe.dirtySet.clear())},xt=U=>new Promise((fe,Ee)=>{Wl(U)?Pi().then(()=>{cl(),fe()},()=>{Ee()}):fe()}),fn=()=>({get:()=>({unsavedChanges:Pe,hideNav:yi,viewUrl:F,nodeParams:A,viewGroup:B,urlParamsRaw:O,currentNode:H,navigationPath:ue,context:T,pathParams:L,hideSideNav:Wi,isolateView:G,pageErrorHandler:x,previousNodeValues:$,mfSplitView:o,splitViewValues:f,splitViewIframe:y,splitViewWC:P,showLoadingIndicator:s,tabNav:Ue,isNavigateBack:ie,goBackContext:W,isNavigationSyncEnabled:pe}),set:U=>{U&&(t(23,hl=!1),Object.getOwnPropertyNames(U).forEach(fe=>{fe==="hideNav"?t(21,yi=U.hideNav):fe==="viewUrl"?F=U.viewUrl:fe==="nodeParams"?A=U.nodeParams:fe==="viewGroup"?B=U.viewGroup:fe==="urlParamsRaw"?O=U.urlParamsRaw:fe==="currentNode"?H=U.currentNode:fe==="navigationPath"?t(15,ue=U.navigationPath):fe==="context"?T=U.context:fe==="pathParams"?t(14,L=U.pathParams):fe==="hideSideNav"?(Wi!=U.hideSideNav&&(t(23,hl=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,Wi=U.hideSideNav)):fe==="isolateView"?G=U.isolateView:fe==="pageErrorHandler"?x=U.pageErrorHandler:fe==="previousNodeValues"?$=U.previousNodeValues:fe==="mfSplitView"?t(12,o=U.mfSplitView):fe==="splitViewValues"?f=U.splitViewValues:fe==="splitViewIframe"?y=U.splitViewIframe:fe=="splitViewWC"?P=U.splitViewWC:fe==="showLoadingIndicator"?U.showLoadingIndicator===!0?He=setTimeout(()=>{t(11,s=!0)},250):(t(11,s=!1),clearTimeout(He)):fe==="tabNav"?t(16,Ue=U.tabNav):fe==="isNavigateBack"?ie=U.isNavigateBack:fe==="goBackContext"?W=U.goBackContext:fe==="isNavigationSyncEnabled"&&(pe=U.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Wl,getUnsavedChangesModalPromise:xt,showUnsavedChangesModal:Pi,showAlert:gl,prepareInternalData:un,dispatch:n}),qn=(U,fe)=>{on.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Wn.deleteCache();const je=et.getCurrentPath();et.handleRouteChange(je,fn(),U,fe)},["navigation.nodes"]),me.addRouteChangeListener((Ee,je)=>{const{withoutSync:Oe,preventContextUpdate:we}=je||{};Et(Y,Ee)||(Y=[],Ln.removeInactiveIframes(U));for(let _t=gt.length;_t--;)J(_t);xr.removeBackdrop(),Hi(),et.handleRouteChange(Ee,fn(),U,fe,Oe,we)})},qt=(U,fe)=>ne.replaceVars(et.getNodePath(U),fe,":",!1),Cn=(U,fe,Ee)=>{const je=fe||H,Oe=Ee||L;let we=ue;if(fe){let _t=fe.parent;for(we=[fe];_t;)we.push(_t),_t=_t.parent;we=[...we].reverse()}let De=U.link;if(U.fromVirtualTreeRoot){const _t=[...we].reverse().find(Ot=>Ot.virtualTree);if(!_t){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}De=et.concatenatePath(qt(_t,Oe),U.link)}else if(U.fromParent)De=et.concatenatePath(qt(je.parent,Oe),U.link);else if(U.fromClosestContext){const _t=[...we].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);De=et.concatenatePath(qt(_t,Oe),U.link)}else if(U.fromContext){const _t=U.fromContext,Ot=[...we].reverse().find(Lr=>_t===Lr.navigationContext);De=et.concatenatePath(qt(Ot,Oe),U.link)}else U.intent?De=me.getIntentPath(U.link):U.relative&&(De=et.concatenatePath(qt(je,Oe),U.link));return U.nodeParams&&Object.keys(U.nodeParams).length>0&&(De+=De.includes("?")?"&":"?",Object.entries(U.nodeParams).forEach((_t,Ot)=>{De+=encodeURIComponent(me.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Ot<Object.keys(U.nodeParams).length-1?"&":"")})),De},fi=U=>{const fe=U.detail.node;xt().then(()=>{if(Bl(),fe.openNodeInModal){const Ee=me.buildRoute(fe,`/${fe.pathSegment}`);Ki(Ee,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Ee=me.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,hi(Ee,fe.drawer)}else fn().set({isNavigationSyncEnabled:!0}),et.handleRouteClick(fe,fn())},()=>{})},ci=()=>{t(17,Ie=!Ie)};Jr("handleNavigation",Qt);const cn=U=>U?!0:(console.warn("No search provider defined."),!1),Ci=()=>{cn(Z)&&t(0,be=!1)},te=()=>{cn(Z)&&Ge&&(t(0,be=!0),Ge.focus())},Ae=()=>{cn(Z)&&Ge&&(t(1,Ge.value="",Ge),Gn())},at=()=>{t(0,be=!be),Fw.clearSearchField()},Nt=()=>{if(cn(Z)&&Ge)return Ge.value},Ct=U=>{cn(Z)&&Ge&&(t(1,Ge.value=U,Ge),ne.isFunction(Z.onInput)?Z.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ln=U=>{cn(Z)&&Ge&&t(1,Ge.placeholder=U,Ge)},En=U=>{if(cn(Z))if(U&&U.length>0)if(ne.isFunction(Z.customSearchResultRenderer)){t(4,kt=!0);let fe={fireItemSelected:Ee=>{Z.onSearchResultItemSelected(Ee)}};Z.customSearchResultRenderer(U,St,fe)}else t(3,Wt=!0),t(5,Yt=U);else console.warn("Search result array is empty.")},Gn=()=>{if(cn(Z)&&(t(3,Wt=!1),t(5,Yt=[]),St))for(;St.lastElementChild;)St.removeChild(St.lastElementChild)},ni=U=>{let fe=U.detail.node,Ee={params:{link:fe.link,nodeParams:fe.params}};Qt(Ee)},Ml=(U,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=st.getDefaultData().mfSplitView),st.open(fn(),U,fe)},Hi=()=>{st.close(fn())},pr=()=>{st.collapse(fn()),t(12,o.collapsed=!0,o)},mr=()=>{st.expand(fn()),t(12,o.collapsed=!1,o)},Ol=()=>o.displayed?o.collapsed:!1,br=()=>o.displayed?!o.collapsed:!1,vr=()=>o.displayed,wr=U=>{y=U.detail.splitViewIframe,C=U.detail.splitViewIframeData,t(12,o.collapsed=U.detail.collapsed,o)},dl=U=>{U.detail.displayed!==void 0&&t(12,o.displayed=U.detail.displayed,o),U.detail.collapsed!==void 0&&t(12,o.collapsed=U.detail.collapsed,o)},Sr=U=>{P=U.detail.splitViewWC,U.detail.splitViewWCData,t(12,o.collapsed=U.detail.collapsed,o)};let yi,Wi,hl,zi,Fl,Ul;const Bl=()=>{document.body.classList.remove("lui-leftNavToggle")},kr=()=>{wl();const U=window.innerWidth>=$t.desktopMinWidth&&zi<$t.desktopMinWidth,fe=window.innerWidth<$t.desktopMinWidth&&zi>=$t.desktopMinWidth;(U||fe)&&Bl(),zi=window.innerWidth};let yn=[];const qi=(U,fe)=>{if(!(!U||!(U.length>0)))return U.filter(Ee=>Ee.settings.id===fe)[0]},gl=(U,fe=!1)=>{const Ee=re.getConfigValue("settings.customAlertHandler");if(ne.isFunction(Ee)){const Oe=Ee(U,fe);if(Oe!==!1)return Oe}const je=yn;return U.id||(U.id=ne.getRandomId()),U.id&&je&&qi(je,U.id)?(console.error(`The alert with id '${U.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(U.closeAfter&&setTimeout(()=>{qi(yn,U.id)&&Hl(U.id)},U.closeAfter),new Promise((Oe,we)=>{t(26,yn=[...je||[],{displayed:!0,settings:U,openFromClient:fe,promise:{resolve:Oe}}])}))},Hl=(U,fe)=>{const Ee=qi(yn,U);if(!Ee){console.error("An unexisting alert has been dismissed.",yn,U);return}if(t(26,yn=yn.filter(je=>je.settings.id!==U)),Ee.openFromClient){const je=Ln.getActiveIframe(ee),Oe={msg:"luigi.ux.alert.hide",id:U,dismissKey:fe};Le.sendMessageToIframe(je,Oe)}else Ee.promise&&Ee.promise.resolve(fe||U)},Cr=U=>{Hl(U.detail.id,U.detail.dismissKey)};let Gi;const _l=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};_l();const pl=(U,fe=!1,Ee)=>new Promise((je,Oe)=>{t(27,Gi={displayed:!0,settings:U,openFromClient:fe,promise:{resolve:je,reject:Oe},targetIframe:Ee})}),di=U=>{const{promise:fe,openFromClient:Ee,targetIframe:je}=Gi;if(_l(),U?fe.resolve():fe.reject(),Ee&&je){const Oe={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:U}};Le.sendMessageToIframe(je,Oe)}},Wl=U=>{if(Pe.dirtySet){if(U)return Pe.dirtySet.has(U);if(Pe.dirtySet.size>0)return!0}return!1},Pi=()=>pl({header:pt.getTranslation("luigi.unsavedChangesAlert.header"),body:pt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")}),yr=()=>Pe.dirtySet?Pe.dirtySet.size>0:Pe.isDirty;Jr("getUnsavedChangesModalPromise",xt);let gt=[];const ml=U=>{if(typeof U>"u"){t(28,gt=[]);return}t(28,gt=gt.filter((fe,Ee)=>U!==Ee))};ml();const Ki=async(U,fe)=>{if(await Se.shouldPreventNavigationForPath(U))return;const Ee={mfModal:{displayed:!0,nodepath:U,settings:fe}};t(28,gt=[...gt,Ee]),re.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&et.appendModalDataToUrl(U,fe)},bl=(U,fe)=>{t(28,gt[fe].modalIframe=U.detail.modalIframe,gt),t(28,gt[fe].modalIframeData=U.detail.modalIframeData,gt)},vl=(U,fe)=>{t(28,gt[fe].modalWC=U.detail.modalWC,gt),t(28,gt[fe].modalWCData=U.detail.modalWCData,gt)},J=(U,fe,Ee)=>{const je=(De,_t)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&et.removeModalDataFromUrl(_t),ml(De)},Oe=gt[U],we=ne.getRemotePromise(Oe.mfModal.settings.onClosePromiseId);Oe&&Oe.modalIframe?xt(Oe.modalIframe.contentWindow).then(()=>{je(U,fe),we&&we.doResolve(Ee)},()=>{}):Oe&&Oe.modalWC&&(je(U,fe),we&&we.doResolve(Ee))};Jr("openViewInModal",Ki);let tt={};const dn=()=>{t(29,tt.displayed=!1,tt),t(29,tt.nodepath=void 0,tt),t(29,tt.settings={},tt),t(13,_=!1)};dn();const hi=async(U,fe)=>{await Se.shouldPreventNavigationForPath(U)||(t(29,tt.displayed=!0,tt),t(29,tt.nodepath=U,tt),t(29,tt.settings=fe,tt),tt.settings&&tt.settings.backdrop&&t(13,_=!0))},ts=()=>window.innerWidth>=$t.desktopMinWidth&&tt.displayed&&tt.settings&&!tt.settings.overlap,wl=()=>{if(!ts())return;const U=document.querySelector(".iframeModalCtn._drawer"),fe=Le.getCurrentMicrofrontendIframe();if(U&&fe){fe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Ee}=getComputedStyle(U),je=fe.clientWidth;fe.setAttribute("style",`width: calc(${je}px - ${Ee})`)}},ns=U=>{p=U.detail.modalIframe,b=U.detail.modalIframeData,wl()},Pr=U=>{v=U.detail.modalWC,U.detail.modalWCData,wl()},ca=U=>{h=U.detail.activeDrawer},zl=U=>{if(U&&U.detail&&U.detail.activeDrawer!==void 0&&(h=U.detail.activeDrawer),!h||U&&U.detail&&U.detail.type!=="modal")try{p?xt(p.contentWindow).then(()=>{dn()},()=>{}):v&&xt().then(()=>{dn()},()=>{}),Le.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(fe){console.log(fe)}},ql=()=>{const U=ur.processUserSettingGroups();Array.isArray(U)&&U.length>0?(t(18,he.userSettingGroups=[...U],he),t(18,he.displayed=!0,he)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},is=()=>{t(18,he.displayed=!1,he)},da=async U=>{if(await Se.shouldPreventNavigationForPath(U))return;re.getConfigValue("routing.useHashRouting")&&(U="#"+U),window.open(U,"_blank","noopener,noreferrer")},ls=U=>{let fe=ue;if(H){let Oe=H.parent;for(fe=[H];Oe;)fe.push(Oe),Oe=Oe.parent;fe=[...fe].reverse()}let Ee=U.link,je=qt(H,L);if(U.fromVirtualTreeRoot){const Oe=[...fe].reverse().find(De=>De.virtualTree);if(!Oe){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=qt(Oe,L);Ee=je.split(we).join("")}else if(U.fromParent){const Oe=qt(H.parent,L);Ee=je.split(Oe).join("")}else if(U.fromClosestContext){const Oe=[...fe].reverse().find(De=>De.navigationContext&&De.navigationContext.length>0),we=qt(Oe,L);Ee=je.split(we).join("")}else if(U.fromContext){const Oe=U.fromContext,we=[...fe].reverse().find(_t=>Oe===_t.navigationContext),De=qt(we,L);Ee=je.split(De).join("")}else Ee=je;return Ee};function rs(U){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const fe=re.getConfigValue("navigation.defaults.isolateView"),Ee=re.getConfigValue("navigation.defaults.pageErrorHandler"),je=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Oe={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:fe,defaultPageErrorHandler:Ee};pt.addCurrentLocaleChangeListener(we=>{const De={msg:"luigi.current-locale-changed",currentLocale:we};Le.broadcastMessageToAllIframes(De)}),An.addEventListener("popstate",async we=>{const De=yn;if(!De||!(De.length>0))return;const _t=De.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(26,yn=_t)}),An.addEventListener("message",async we=>{const De=Le.getValidMessageSource(we),_t=gt[gt.length-1],Ot=_t&&_t.modalIframe,Lr=_t&&_t.modalIframeData,Ji={modalIframe:Ot,modalIframeData:Lr,drawerIframe:p,drawerIframeData:b,drawer:S,modal:g,splitViewIframe:y,splitViewIframeData:C,splitView:I};if(!De)return;De._ready=!0;const yt=Le.getSpecialIframeMessageSource(we,Ji),dt=yt&&yt.length>0,Ar=re.getConfigValue("communication.skipEventsWhenInactive");if(Ar&&Ar.length>0&&!dt&&De.contentWindow!==window&&!ne.isElementVisible(De)&&Ar.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const Ke=re.getConfigValue("communication.customMessagesListeners")||{},It=ra.convertCustomMessageInternalToUser(we.data),Dt=Ke[It.id],en="luigi.updateUserSettings";if(he&&It.id===en){Dt&&console.warn(`The key "${en}" is not allowed to use for custom messages.`);return}if(typeof Dt=="function"){const Dn=ui.getMicrofrontends().find(Kn=>Le.isMessageSource(we,Kn.container));Dt(It,Dn,ne.removeInternalProperties(De.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(we.data.msg==="luigi.init.ok"&&(De.luigi.initOk=!0),we.data.msg==="luigi.navigate.ok"&&(De.luigi.viewUrl=De.luigi.nextViewUrl,De.luigi.nextViewUrl="",De.luigi.clientPermissions=De.luigi.nextClientPermissions,delete De.luigi.nextClientPermissions,Oe.navigateOk=!0,ar.preload()),we.data.msg==="luigi.get-context"){if(De.luigi.clientVersion=we.data.clientVersion,De.luigi.initOk=!1,dt)yt.forEach(async Ke=>{let It=Ji[Ke.dataKey].context;const Dt={...Oe,iframe:Ji[Ke.iframeKey],context:It,pathParams:Ji[Ke.dataKey].pathParams,nodeParams:Ji[Ke.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Ji[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await mn(Dt,{})});else if(Oe.iframe&&Le.isMessageSource(we,Oe.iframe))await mn(Oe,{}),(!H||!H.loadingIndicator||H.loadingIndicator.hideAutomatically!==!1)&&ha(),ar.preload();else if(De.luigi.preloading)await mn({iframe:De,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=ur.findActiveCustomUserSettingsIframe(we.source);if(Ke){let It=Ke.getAttribute("userSettingsGroup"),Dt={context:{userSettingsData:pn[It]},iframe:Ke};await mn(Dt)}}ar.viewGroupLoaded(De)}if(we.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),we.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(He),t(11,s=!1)),we.data.msg==="luigi.navigation.open"){ie=!1;const Ke=window.location.href,It=dt?De.luigi.currentNode:void 0,Dt=dt?De.luigi.pathParams:void 0,en=we.data.params,{intent:Dn,newTab:Kn,modal:Sl,splitView:Gt,drawer:Yi,withoutSync:Qi}=en;let Kl=Kn||Sl||Gt||Yi;const Rr=()=>{const Vn=ne.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doResolve()},rn=()=>{const Vn=ne.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doReject()},Zi=Vn=>{!Vn||Ke!==window.location.href?Rr():rn()};we.source!==window&&!Dn&&en.link&&(en.link=en.link.split("?")[0]);let sn=Cn(we.data.params,It,Dt);if(Kl=Kl||Dn&&sn.external,!Kl)xt().then(()=>{pe=!we.data.params.withoutSync,Qt(we.data,Oe,It,Dt).then(()=>{Zi(!0)}).catch(()=>{rn()}),gt.forEach((Vn,ds)=>{J(ds)}),Hi(),zl(),pe=!0}).catch(()=>{rn()});else{if(Dn&&sn.external){et.navigateToExternalLink({url:sn.url,sameWindow:!sn.openInNewTab});return}if(sn=ne.addLeadingSlash(sn),Kn){await da(sn),Zi();return}const Vn=await Nr(sn);if(sn=await me.handlePageNotFoundAndRetrieveRedirectPath(fn(),sn,Vn),!sn){rn();return}ee=U,Sl!==void 0?(!Sl.keepPrevious&&ml(),await Ki(sn,Sl===!0?{}:Sl),Zi()):Gt!==void 0?(await Ml(sn,Gt),Zi()):Yi!==void 0&&(dn(),Yi.isDrawer=!0,await hi(sn,Yi),Zi())}}if(we.data.msg==="luigi.navigation.back"){const Ke=gt[gt.length-1],It=gt.length>1&>[gt.length-2],Dt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);if(Le.isMessageSource(we,Ke&&Ke.modalIframe)){J(gt.length-1,!0,Dt);let en=Oe;if(It&&It.modalIframeData&&It.modalIframe){const Dn=It,Kn=Dn.modalIframeData;en={pathParams:Kn.pathParams,context:Kn.context,iframe:Dn.modalIframe}}en.iframe&&await mn(en,{goBackContext:Dt})}else Le.isMessageSource(we,y)?(Hi(),Oe.iframe&&await mn(Oe,{goBackContext:Dt})):Le.isMessageSource(we,p)?(h&&(h=!h),zl(),Oe.iframe&&await mn(Oe,{goBackContext:Dt})):Y&&Y.length>0?xt().then(()=>{Ln.setActiveIframeToPrevious(U);const en=Y.pop();Oe.iframe=Ln.getActiveIframe(U),ie=!0,Y=Y,W=Dt,Qt({params:{link:en.path}},Oe)},()=>{}):(Dt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(we.data.msg==="luigi.navigation.currentRoute"){const Ke=we.data.data,Dt={msg:"luigi.navigation.currentRoute.answer",data:{route:ls(Ke),correlationId:Ke.id}};Le.sendMessageToIframe(De,Dt)}if(we.data.msg==="luigi.auth.tokenIssued"&&Bi(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!re.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(dt){const Ke=ne.addLeadingSlash(Cn(we.data.params,De.luigi.currentNode,De.luigi.pathParams));et.updateModalDataInUrl(Ke,we.data.params.modal,we.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(we.data.msg==="luigi.navigation.pathExists"){const Ke=De.luigi.currentNode,It=De.luigi.pathParams,Dt=we.data.data,en=Cn(Dt,Ke,It),Dn=en?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),en):!1,Kn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Dt.id,pathExists:Dn?Dn.isExistingRoute:!1}};Le.sendMessageToIframe(De,Kn)}if(we.data.msg==="luigi.set-page-dirty"){if(!Pe.dirtySet){const Ke=new Set;Ke.add(we.source),Pe={dirtySet:Ke}}Pe.persistUrl=window.location.href,we.data.dirty?Pe.dirtySet.add(we.source):Pe.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Ke=we.data.data.settings;ee=U,_l(),pl(Ke,!0,De).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=we.data.data;if(!Ke.text&&!ne.isFunction(re.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ee=U,gl(Ke,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(De.luigi.clientPermissions&&De.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ke}=we.data.data;Ke&&pt.setCurrentLocale(Ke)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ce&&!ce.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Gl(),we.data.msg==="storage"&&oS.process(De.luigi.id,we.origin,we.data.data.id,we.data.data.operation,we.data.data.params),we.data.msg==="luigi-runtime-error-handling"){let Ke=De.luigi.currentNode;Ke&&Ke.runTimeErrorHandler&&ne.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(we.data.errorObj,Ke):je&&ne.isFunction(je.errorFn)&&je.errorFn(we.data.errorObj,Ke)}if(we.data.msg==="luigi.addSearchParams")if(De.luigi.currentNode.clientPermissions&&De.luigi.currentNode.clientPermissions.urlParameters){const{data:Ke,keepBrowserHistory:It}=we.data;me.addSearchParamsFromClient(De.luigi.currentNode,Ke,It)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(dt)return;const{data:Ke,keepBrowserHistory:It}=we.data;al.addNodeParams(Ke,It)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Ke}=we.data;al.setAnchor(Ke)}if(we.data.msg==="luigi.setVGData"){const Ke=we.data,It=me.findViewGroup(De.luigi.currentNode);if(It){const Dt=Ln.getViewGroupSettings(It);Dt._liveCustomData=Ke.data,re.configChanged("navigation.viewgroupdata")}}}),qn(U,Oe)}Jr("store",l),Jr("getTranslation",r);const Gl=U=>{ce&&ce.thirdPartyCookieErrorHandling&&ne.isFunction(ce.thirdPartyCookieErrorHandling)&&ce.thirdPartyCookieErrorHandling()};function ha(){const U=document.querySelector(".spinnerContainer.appSpinner");U&&U.classList.contains("fade-out")?(U.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(He),t(11,s=!1)},250)):clearTimeout(He)}const Nr=async U=>{const fe={link:U,relative:U[0]!=="/",intent:me.hasIntent(U)},Ee=Cn(fe),je=Ee?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Ee):!1;return je?je.isExistingRoute:!1},Ir=()=>gt.length>0||Y.length!==0;Jt(()=>{if(Io._init(),Z=re.getConfigValue("globalSearch.searchProvider"),le=re.getConfigValue("settings.responsiveNavigation"),zi=window.innerWidth,le==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Se.getBurgerTooltipConfig()){const[U,fe]=Se.getBurgerTooltipConfig();U&&fe&&t(19,ae=document.body.classList.contains("lui-leftNavToggle")?U:fe)}}else if(le==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(Se.getBurgerTooltipConfig()){const[U,fe]=Se.getBurgerTooltipConfig();if(U&&fe){const Ee=JSON.parse(localStorage.getItem(Se.COL_NAV_KEY));t(19,ae=Ee?U:fe)}}document.body.classList.add("lui-semiCollapsible")}ce=re.getConfigValue("settings.thirdPartyCookieCheck"),ce&&ce.thirdPartyCookieScriptLocation&&setTimeout(()=>{let U=document.createElement("iframe");U.width="0px",U.height="0px",U.src=ce.thirdPartyCookieScriptLocation,document.body.appendChild(U),U.onload=function(){setTimeout(()=>{cy()==="disabled"&&Gl()}),document.body.removeChild(U)}})}),fa(()=>{wl()}),zn(()=>{t(20,Ve=re.getConfigValue("navigation.breadcrumbs")),Z=re.getConfigValue("globalSearch.searchProvider"),t(24,Fl=re.getConfigValue("tag")),t(25,Ul=re.getConfigValue("settings.header.disabled"))});const Tr=U=>J(U,!0),ji=(U,fe)=>bl(fe,U),ss=(U,fe)=>vl(fe,U),as=()=>di(!0),ga=()=>di(!1);function os(U){pn=U,t(6,pn)}function us(U){be=U,t(0,be)}function fs(U){Wt=U,t(3,Wt)}function cs(U){kt=U,t(4,kt)}function _a(U){Yt=U,t(5,Yt)}function pa(U){Ge=U,t(1,Ge)}function ma(U){St=U,t(2,St)}return i.$$set=U=>{"store"in U&&t(46,l=U.store),"getTranslation"in U&&t(47,r=U.getTranslation),"isSearchFieldVisible"in U&&t(0,be=U.isSearchFieldVisible),"inputElem"in U&&t(1,Ge=U.inputElem),"luigiCustomSearchRenderer__slot"in U&&t(2,St=U.luigiCustomSearchRenderer__slot),"displaySearchResult"in U&&t(3,Wt=U.displaySearchResult),"displayCustomSearchResult"in U&&t(4,kt=U.displayCustomSearchResult),"searchResult"in U&&t(5,Yt=U.searchResult),"storedUserSettings"in U&&t(6,pn=U.storedUserSettings)},[be,Ge,St,Wt,kt,Yt,pn,at,Gn,ni,is,s,o,_,L,ue,Ue,Ie,he,ae,Ve,yi,Wi,hl,Fl,Ul,yn,Gi,gt,tt,fi,ci,wr,dl,Sr,kr,Cr,di,bl,vl,J,ns,Pr,ca,zl,rs,l,r,Ci,te,Ae,Nt,Ct,ln,En,Ml,Hi,pr,mr,Ol,br,vr,gl,pl,yr,ql,Nr,Ir,Tr,ji,ss,as,ga,os,us,fs,cs,_a,pa,ma]}class by extends Rt{constructor(e){super(),At(this,e,my,py,Tt,{store:46,getTranslation:47,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:48,openSearchField:49,clearSearchField:50,toggleSearch:7,getGlobalSearchString:51,setGlobalSearchString:52,setSearchInputPlaceholder:53,showSearchResult:54,closeSearchResult:8,handleSearchNavigation:9,openSplitView:55,closeSplitView:56,collapseSplitView:57,expandSplitView:58,isSplitViewCollapsed:59,isSplitViewExpanded:60,existsSplitView:61,showAlert:62,showModal:63,getDirtyStatus:64,openUserSettings:65,closeUserSettings:10,pathExists:66,hasBack:67},null,[-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[48]}get openSearchField(){return this.$$.ctx[49]}get clearSearchField(){return this.$$.ctx[50]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[51]}get setGlobalSearchString(){return this.$$.ctx[52]}get setSearchInputPlaceholder(){return this.$$.ctx[53]}get showSearchResult(){return this.$$.ctx[54]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[55]}get closeSplitView(){return this.$$.ctx[56]}get collapseSplitView(){return this.$$.ctx[57]}get expandSplitView(){return this.$$.ctx[58]}get isSplitViewCollapsed(){return this.$$.ctx[59]}get isSplitViewExpanded(){return this.$$.ctx[60]}get existsSplitView(){return this.$$.ctx[61]}get showAlert(){return this.$$.ctx[62]}get showModal(){return this.$$.ctx[63]}get getDirtyStatus(){return this.$$.ctx[64]}get openUserSettings(){return this.$$.ctx[65]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[66]}get hasBack(){return this.$$.ctx[67]}}const vy=()=>{const{subscribe:i,update:e,reset:t}=dr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let s=n[r];s||(s=new Set,n[r]=s),s.add(l)},fire:(l,r)=>{let s=n[l];s&&[...s].forEach(o=>{o(r)})}}},P_=vy(),wy=Aw((i,e,t)=>pt.getTranslation(i,e,t));Luigi._store=P_;const Sy=()=>new Promise(i=>{pt._init(),nn.init().then(()=>{setTimeout(()=>{let e;ui.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new by({target:ui.getLuigiContainer(),props:{store:P_,getTranslation:wy}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});re.setConfigCallbacks(Sy);
|
|
62
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Uh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Bh(Eh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r&9150){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Eh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Bh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){st(n,l),l&&T(e)}}}function _C(i){return{c:qe,m:qe,p:qe,d:qe}}function pC(i){let e,t,n,l,r;function a(d,_){return d[2]?bC:mC}let o=a(i),c=o(i);function h(){return i[17](i[21])}return{c(){e=S("li"),c.c(),n=q(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(d,_){L(d,e,_),c.m(e,null),L(d,n,_),l||(r=le(e,"click",h),l=!0)},p(d,_){i=d,o===(o=a(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(d){d&&T(e),c.d(),d&&T(n),l=!1,r()}}}function mC(i){let e,t,n=i[26]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",a="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(d,_){L(d,e,_),w(e,t),w(t,l),c||(h=le(e,"click",i[16]),c=!0)},p(d,_){_&138&&n!==(n=d[26]+"")&&Ie(l,n),_&264&&r!==(r=d[8](d[21]))&&f(e,"href",r),_&154&&a!==(a="fd-menu__link "+(d[26]===d[4]?"is-selected":""))&&f(e,"class",a),_&138&&o!==(o=d[26])&&f(e,"title",o)},d(d){d&&T(e),c=!1,h()}}}function bC(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new mr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function vC(i){return{c:qe,m:qe,p:qe,d:qe}}function Bh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:vC,then:pC,catch:_C,value:26};return is(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ve(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&is(t,n)||z_(n,i,r)},d(l){l&&T(e),n.block.d(l),n.token=null,n=null}}}function Hh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=zh(Rh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&21249){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Rh(l,t,a);n[a]?n[a].p(o,r):(n[a]=zh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function Wh(i){let e,t,n,l=i[14](i[21].label)+"",r,a,o,c,h,d;function _(){return i[19](i[21])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=q(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[le(t,"click",i[18]),le(e,"click",_)],h=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(r,l),b&257&&a!==(a=i[8](i[21]))&&f(t,"href",a),b&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&T(e),h=!1,$e(d)}}}function zh(i){let e,t=i[21].position==="bottom"&&Wh(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[21].position==="bottom"?t?t.p(n,l):(t=Wh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function wC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Vh(i),c=i[3]&&i[3].length===0&&i[11]&&Fh(),h=i[3]&&i[3].length&&Uh(i),d=i[0]&&i[0].length&&Hh(i);return{c(){e=S("nav"),o&&o.c(),t=q(),n=S("ul"),c&&c.c(),l=q(),h&&h.c(),r=q(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(_,p){L(_,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=Vh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[11]?c||(c=Fh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?h?h.p(_,p):(h=Uh(_),h.c(),h.m(n,null)):h&&(h.d(1),h=null),_[0]&&_[0].length?d?d.p(_,p):(d=Hh(_),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",a)},i:qe,o:qe,d(_){_&&T(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const kC=()=>{};function SC(i,e,t){let n,l=qe,r=()=>(l(),l=Vo(C,W=>t(14,n=W)),C);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTestId:v}=e,{getTranslation:C}=e;r();let{isContextSwitcherDropdownShown:y}=e;const P=zt();function A(W){P("onActionClick",{node:W})}function N(W,K){P("goToOption",{option:W,selectedOption:K})}const D=W=>A(W),E=W=>{ye.handleNavAnchorClickedWithoutMetaKey(W)},V=W=>N(W,_),U=W=>{ye.handleNavAnchorClickedWithoutMetaKey(W)},O=W=>A(W);return i.$$set=W=>{"actions"in W&&t(0,a=W.actions),"config"in W&&t(1,o=W.config),"customOptionsRenderer"in W&&t(2,c=W.customOptionsRenderer),"options"in W&&t(3,h=W.options),"selectedLabel"in W&&t(4,d=W.selectedLabel),"selectedOption"in W&&t(5,_=W.selectedOption),"isMobile"in W&&t(6,p=W.isMobile),"getNodeName"in W&&t(7,b=W.getNodeName),"getRouteLink"in W&&t(8,m=W.getRouteLink),"getTestId"in W&&t(9,v=W.getTestId),"getTranslation"in W&&r(t(10,C=W.getTranslation)),"isContextSwitcherDropdownShown"in W&&t(11,y=W.isContextSwitcherDropdownShown)},[a,o,c,h,d,_,p,b,m,v,C,y,A,N,n,D,E,V,U,O]}class op extends Ot{constructor(e){super(),Mt(this,e,SC,wC,At,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function qh(i){let e,t,n,l=!i[9]&&Gh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Kh(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(we(),B(l,1,1,()=>{l=null}),ke()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Gh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=Kh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){n||(R(l),R(r),n=!0)},o(a){B(l),B(r),n=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function Gh(i){let e,t,n,l,r,a,o,c,h,d;function _(m,v){return m[18]&&m[2]!==m[5].defaultLabel?yC:CC}let p=_(i),b=p(i);return a=new op({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[10]),a.$on("goToOption",i[11]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=q(),r=S("div"),Ue(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Oe(a,r,null),c=!0,h||(d=le(n,"click",Ut(VC)),h=!0)},p(m,v){p===(p=_(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){B(a.$$.fragment,m),c=!1},d(m){m&&T(e),b.d(),Fe(a),h=!1,d()}}}function CC(i){let e,t,n,l,r,a;function o(d,_){return d[2]&&d[7]?NC:PC}let c=o(i),h=c(i);return{c(){e=S("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,_){L(d,e,_),h.m(e,null),r||(a=le(e,"click",i[31]),r=!0)},p(d,_){c===(c=o(d))&&h?h.p(d,_):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),_[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&T(e),h.d(),r=!1,a()}}}function yC(i){let e,t,n,l,r,a;function o(d,_){return d[2]&&d[7]?AC:LC}let c=o(i),h=c(i);return{c(){e=S("a"),h.c(),f(e,"href",i[13]),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,_){L(d,e,_),h.m(e,null),r||(a=le(e,"click",Lt(i[30])),r=!0)},p(d,_){c===(c=o(d))&&h?h.p(d,_):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),_[0]&8192&&f(e,"href",d[13]),_[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&T(e),h.d(),r=!1,a()}}}function PC(i){let e,t;function n(a,o){return a[4]?IC:TC}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&T(e),a&&T(t)}}}function NC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function IC(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function TC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function LC(i){let e,t;function n(a,o){return a[4]?RC:EC}let l=n(i),r=l(i);return{c(){r.c(),e=q(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&T(e),a&&T(t)}}}function AC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function RC(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function EC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function Kh(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A=!i[4]&&Jh(i),N=i[4]&&jh(i);return d=new op({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[19],getRouteLink:i[21],getTestId:i[20],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[10]),d.$on("goToOption",i[11]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),A&&A.c(),o=q(),N&&N.c(),c=q(),h=S("div"),Ue(d.$$.fragment),_=q(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(D,E){L(D,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),A&&A.m(a,null),w(a,o),N&&N.m(a,null),w(t,c),w(t,h),Oe(d,h,null),w(t,_),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[le(v,"click",i[12]),le(e,"click",Ut(MC))],y=!0)},p(D,E){D[4]?A&&(A.d(1),A=null):A?A.p(D,E):(A=Jh(D),A.c(),A.m(a,o)),D[4]?N?N.p(D,E):(N=jh(D),N.c(),N.m(a,null)):N&&(N.d(1),N=null);const V={};E[0]&1&&(V.actions=D[0]),E[0]&32&&(V.config=D[5]),E[0]&64&&(V.customOptionsRenderer=D[6]),E[0]&2&&(V.options=D[1]),E[0]&16&&(V.selectedLabel=D[4]),E[0]&4&&(V.selectedOption=D[2]),E[0]&512&&(V.isMobile=D[9]),E[0]&16384&&(V.isContextSwitcherDropdownShown=D[14]),d.$set(V)},i(D){C||(R(d.$$.fragment,D),C=!0)},o(D){B(d.$$.fragment,D),C=!1},d(D){D&&T(e),A&&A.d(),N&&N.d(),Fe(d),y=!1,$e(P)}}}function Jh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&T(t)}}}function jh(i){let e;return{c(){e=Ne(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&T(e)}}}function DC(i){let e,t,n=i[3]&&qh(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=qh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}const VC=()=>{},MC=()=>{};function OC(i,e,t){let n,l;const r=zt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:A=!1}=e,{defaultLabel:N}=e,D,E=_t("getUnsavedChangesModalPromise"),V=_t("store"),U=_t("getTranslation");wi(i,U,de=>t(16,l=de));let O=!1,W,K,X;Yt(async()=>{un.doOnStoreChange(V,async()=>{const de=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!de),!!a&&(t(6,C=se.isFunction(de.customOptionsRenderer)?de.customOptionsRenderer:void 0),t(7,y=se.isFunction(de.customSelectedOptionRenderer)?de.customSelectedOptionRenderer:void 0),t(5,h=de),t(1,_=void 0),de)){t(29,p=de.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Y=nt.getCurrentPath();t(22,m=de.fallbackLabelResolver),hn.resetFallbackLabelCache(),de.lazyloadOptions||await z(),hn.isContextSwitcherDetailsView(Y,de.parentNodePath)&&await oe(Y)}},["navigation.contextSwitcher"]),be.addRouteChangeListener(de=>oe(de)),Vn.addEventListener("message",de=>{!Re.getValidMessageSource(de)||de.data&&de.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),z())}),t(23,N=h.defaultLabel)}),zn(()=>{O!==A&&(O=A,z()),t(14,X=o.contextSwitcherPopover||!1)});function ne(de,Y,ce){return de?Promise.resolve(de):hn.getFallbackLabel(Y,ce)}function Pe(de){return de.testId?de.testId:ye.prepareForTests(de.pathSegment,de.label)}function ee(de){return be.getNodeHref(de,v)}async function z(){t(1,_=await hn.fetchOptions(_));const de=h||{},Y=de.parentNodePath,ce=de.fallbackLabelResolver,te=nt.getCurrentPath();t(2,b=await hn.getSelectedOption(te,_,Y)),t(4,c=await hn.getSelectedLabel(te,_,Y,ce)),t(13,W=await hn.getSelectedNode(te,_,Y)),D=de.preserveSubPathOnSwitch}async function oe(de){const Y=h||{},ce=Y.parentNodePath,te=Y.fallbackLabelResolver;t(2,b=await hn.getSelectedOption(de,_,ce)),t(4,c=await hn.getSelectedLabel(de,_,ce,te)),t(13,W=await hn.getSelectedNode(de,_,ce))}async function ie(de){let Y=de.detail.node;Y.clickHandler&&!await Y.clickHandler(Y)||(setTimeout(()=>{j(Y.link)}),P&&r("toggleDropdownState"))}function j(de){E().then(()=>{nt.navigateTo(de)},()=>{})}function Le(de){let Y=de.detail.option,ce=de.detail.selectedOption;E().then(()=>{D&&ce?nt.navigateTo(hn.getNodePathFromCurrentPath(Y,ce)):nt.navigateTo(Y.link),P&&r("toggleDropdownState")},()=>{})}function re(){r("toggleDropdownState");const de=o||{};JSON.parse(de.contextSwitcherPopover)&&z()}const Ee=()=>{n&&re()},Se=()=>{n&&re()};return i.$$set=de=>{"contextSwitcherEnabled"in de&&t(3,a=de.contextSwitcherEnabled),"dropDownStates"in de&&t(8,o=de.dropDownStates),"selectedLabel"in de&&t(4,c=de.selectedLabel),"config"in de&&t(5,h=de.config),"actions"in de&&t(0,d=de.actions),"options"in de&&t(1,_=de.options),"selectedOption"in de&&t(2,b=de.selectedOption),"fallbackLabelResolver"in de&&t(22,m=de.fallbackLabelResolver),"pathParams"in de&&t(24,v=de.pathParams),"customOptionsRenderer"in de&&t(6,C=de.customOptionsRenderer),"customSelectedOptionRenderer"in de&&t(7,y=de.customSelectedOptionRenderer),"isMobile"in de&&t(9,P=de.isMobile),"contextSwitcherToggle"in de&&t(25,A=de.contextSwitcherToggle),"defaultLabel"in de&&t(23,N=de.defaultLabel)},i.$$.update=()=>{i.$$.dirty[0]&536870919&&t(15,n=p||d&&d.length>0||_&&_.length>1||!b)},[d,_,b,a,c,h,C,y,o,P,ie,Le,re,W,X,n,l,U,K,ne,Pe,ee,m,N,v,A,z,oe,j,p,Ee,Se]}class up extends Ot{constructor(e){super(),Mt(this,e,OC,DC,At,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:22,pathParams:24,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:25,defaultLabel:23,fetchOptions:26,setSelectedContext:27,onActionClick:10,goToPath:28,goToOption:11,toggleDropdownState:12},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[26]}get setSelectedContext(){return this.$$.ctx[27]}get onActionClick(){return this.$$.ctx[10]}get goToPath(){return this.$$.ctx[28]}get goToOption(){return this.$$.ctx[11]}get toggleDropdownState(){return this.$$.ctx[12]}}const{window:FC}=Hi;function Yh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Qh(i){let e,t,n,l=!i[2]&&Zh(i),r=i[2]&&i[3].productSwitcherPopover&&tg(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=Zh(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=tg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){n||(R(r),n=!0)},o(a){B(r),n=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function Zh(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y;function P(V,U){return U&2&&(a=null),a==null&&(a=!!V[11](V[1])),a?BC:UC}let A=P(i,-1),N=A(i),D=i[0],E=[];for(let V=0;V<D.length;V+=1)E[V]=eg(Yh(i,D,V));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),N.c(),d=q(),_=S("div"),p=S("div"),b=S("ul");for(let V=0;V<E.length;V+=1)E[V].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=ei(i[9])+" svelte-1e1qi56"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",v=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(V,U){L(V,e,U),w(e,t),w(t,n),w(n,l),w(l,r),N.m(r,null),w(n,d),w(n,_),w(_,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O].m(b,null);C||(y=[le(r,"click",Ut(i[7])),le(l,"click",Ut(jC))],C=!0)},p(V,U){if(A===(A=P(V,U))&&N?N.p(V,U):(N.d(1),N=A(V),N&&(N.c(),N.m(r,null))),U&8&&o!==(o=V[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),U&2&&c!==(c=V[1].label)&&f(r,"title",c),U&2&&h!==(h=V[14](V[1]))&&f(r,"data-testid",h),U&64561){D=V[0];let O;for(O=0;O<D.length;O+=1){const W=Yh(V,D,O);E[O]?E[O].p(W,U):(E[O]=eg(W),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=D.length}U&512&&m!==(m=ei(V[9])+" svelte-1e1qi56")&&f(p,"class",m),U&8&&v!==(v=!V[3].productSwitcherPopover)&&f(_,"aria-hidden",v)},d(V){V&&T(e),N.d(),st(E,V),C=!1,$e(y)}}}function UC(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!je(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function BC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function Xh(i){let e,t,n,l,r,a;function o(_,p){return _[4]?WC:HC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),h.c(),t=q(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){L(_,e,p),h.m(e,null),w(e,t),r||(a=le(e,"click",d),r=!0)},p(_,p){i=_,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(_){_&&T(e),h.d(),r=!1,a()}}}function HC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?qC:zC}let _=d(i,-1),p=_(i),b=h&&$h(i);return{c(){e=S("div"),p.c(),n=q(),l=S("div"),r=S("div"),o=Ne(a),c=q(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){_===(_=d(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Ie(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=$h(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&T(e),p.d(),m&&T(n),m&&T(l),b&&b.d()}}}function WC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),_,p,b;function m(P,A){return A&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?KC:GC}let v=m(i,-1),C=v(i),y=d&&xh(i);return{c(){e=S("a"),t=S("div"),C.c(),l=q(),r=S("div"),a=S("div"),c=Ne(o),h=q(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,A){L(P,e,A),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=le(e,"click",i[16]),p=!0)},p(P,A){v===(v=m(P,A))&&C?C.p(P,A):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),A&1&&o!==(o=P[12](P[22])+"")&&Ie(c,o),A&1&&(d=P[13](P[22])),d?y?y.p(P,A):(y=xh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),A&1&&_!==(_=P[15](P[22]))&&f(e,"href",_)},d(P){P&&T(e),C.d(),y&&y.d(),p=!1,b()}}}function zC(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function qC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&T(e)}}}function $h(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function GC(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function KC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&T(e)}}}function xh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&T(e)}}}function eg(i){let e,t=i[22].label&&Xh(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Xh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function tg(i){let e,t;return e=new ap({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function JC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&Qh(i);return{c(){a&&a.c(),t=ve()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=le(FC,"resize",os),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=Qh(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(we(),B(a,1,1,()=>{a=null}),ke())},i(o){n||(R(a),n=!0)},o(o){B(a),n=!1},d(o){a&&a.d(o),o&&T(t),l=!1,r()}}}function os(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const jC=()=>{};function YC(i,e,t){const n=zt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=_t("store"),h=_t("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:_}=e;Yt(async()=>{un.doOnStoreChange(c,async()=>{t(1,a=ye.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),A()),os()},["navigation.productSwitcher"])});function p(U){h().then(()=>{nt.navigateToLink(U)},()=>{}),m()}function b(U){p(U.detail)}function m(){n("toggleDropdownState")}function v(U){return ye.renderIconClassName(U)}function C(U){return ye.isOpenUIiconName(U.icon)}function y(U){return vt.getTranslation(U.label)}function P(U){return vt.getTranslation(U.subTitle)}function A(){ye.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function N(U){return U.testId?U.testId:ye.prepareForTests(U.label)}function D(U){return be.getNodeHref(U)}const E=U=>{ye.handleNavAnchorClickedWithoutMetaKey(U)},V=U=>p(U);return i.$$set=U=>{"productSwitcherItems"in U&&t(0,l=U.productSwitcherItems),"isMobile"in U&&t(2,r=U.isMobile),"config"in U&&t(1,a=U.config),"dropDownStates"in U&&t(3,o=U.dropDownStates),"addNavHrefForAnchor"in U&&t(4,_=U.addNavHrefForAnchor)},[l,a,r,o,_,p,b,m,os,d,v,C,y,P,N,D,E,V]}class fp extends Ot{constructor(e){super(),Mt(this,e,YC,JC,At,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return os}}function ng(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function QC(i){let e,t,n;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0},m(l,r){L(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:qe,d(l){l&&T(e),i[19](null),t=!1,n()}}}function ZC(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1jkaxo8"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0},m(t,n){L(t,e,n),e.focus()},p:qe,d(t){t&&T(e)}}}function XC(i){let e;return{c(){e=S("div")},m(t,n){L(t,e,n),i[23](e)},p:qe,d(t){t&&T(e),i[23](null)}}}function $C(i){let e,t,n,l=i[5]&&ig(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-1jkaxo8"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1jkaxo8"),f(e,"aria-hidden",n=!i[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=ig(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function ig(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=lg(ng(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=ng(l,t,a);n[a]?n[a].p(o,r):(n[a]=lg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l),i[22](null)}}}function xC(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new mr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function e3(i){let e,t,n,l=i[31].label+"",r,a,o,c=i[31].description+"",h,d,_;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=q(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-1jkaxo8"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-1jkaxo8")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(_=le(e,"click",Lt(n3)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Ie(r,l),b[0]&32&&c!==(c=p[31].description+"")&&Ie(h,c)},d(p){p&&T(e),d=!1,_()}}}function lg(i){let e,t,n,l;function r(d,_){return d[9]?xC:e3}let a=r(i),o=a(i);function c(...d){return i[20](i[31],...d)}function h(...d){return i[21](i[31],...d)}return{c(){e=S("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-1jkaxo8"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",h)],n=!0)},p(d,_){i=d,a===(a=r(i))&&o?o.p(i,_):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,$e(l)}}}function t3(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v;function C(E,V){return E[7]&&E[7].disableInputHandlers?ZC:QC}let y=C(i),P=y(i);function A(E,V){return E[8]?XC:$C}let N=A(i),D=N(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),P.c(),r=q(),D.c(),c=q(),h=S("div"),d=S("div"),_=S("button"),p=S("i"),f(l,"class","fd-input-group fd-shellbar__input-group"),f(n,"class","fd-popover__control luigi-search svelte-1jkaxo8"),f(n,"aria-hidden",a=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1jkaxo8"),f(e,"class",o="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8"),f(p,"class","sap-icon sap-icon--search"),f(_,"class","fd-button fd-button--transparent fd-shellbar__button"),f(_,"aria-haspopup","true"),f(_,"aria-expanded",b=!i[4]),f(_,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(E,V){L(E,e,V),w(e,t),w(t,n),w(n,l),P.m(l,null),w(n,r),D.m(n,null),L(E,c,V),L(E,h,V),w(h,d),w(d,_),w(_,p),m||(v=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Ut(i3)),le(_,"click",i[6]),le(d,"click",Ut(l3))],m=!0)},p(E,V){y===(y=C(E))&&P?P.p(E,V):(P.d(1),P=y(E),P&&(P.c(),P.m(l,null))),N===(N=A(E))&&D?D.p(E,V):(D.d(1),D=N(E),D&&(D.c(),D.m(n,null))),V[0]&16&&a!==(a=!E[4])&&f(n,"aria-hidden",a),V[0]&16&&o!==(o="fd-shellbar__action "+(E[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&f(e,"class",o),V[0]&16&&b!==(b=!E[4])&&f(_,"aria-expanded",b)},i:qe,o:qe,d(E){E&&T(e),P.d(),D.d(),E&&T(c),E&&T(h),m=!1,$e(v)}}}const n3=()=>{},i3=()=>{},l3=()=>{};function r3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:a}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:h}=e,{globalSearchConfig:d}=e;const _=zt(),p={fireItemSelected:ie=>{b.searchProvider.onSearchResultItemSelected(ie)}};let b={},m,v;Yt(async()=>{t(7,b=d);let ie=o;const j=y(b.searchProvider);j&&(ie.placeholder=j),C()}),zn(()=>{t(7,b=d),C()});function C(){!b.searchProvider||(t(8,m=se.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,v=se.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function y(ie){if(!ie||!ie.inputPlaceholder)return;const j=vt.getCurrentLocale();if(se.isFunction(ie.inputPlaceholder))return ie.inputPlaceholder();if(typeof ie.inputPlaceholder=="string"){const Le=vt.getTranslation(ie.inputPlaceholder);return!!Le&&Le.trim().length>0?Le:ie.inputPlaceholder}if(typeof ie.inputPlaceholder=="object")return ie.inputPlaceholder[j]}function P(ie,j,Le){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer(ie,j.children[Le],p)}),""}function A(){_("closeSearchResult")}function N({keyCode:ie}){b&&b.searchProvider?se.isFunction(b.searchProvider.onEnter)&&ie===vi?b.searchProvider.onEnter():se.isFunction(b.searchProvider.onEscape)&&ie===bi?b.searchProvider.onEscape():ie===Bi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):se.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function D(ie){let j=h.children;if(j)for(let Le=0;Le<j.length;Le++){let{childNodes:re,nextSibling:Ee,previousSibling:Se}=j[Le],de;if(re[0].getAttribute("aria-selected")==="true"){ie===Bi&&(de=Ee!==null?Ee:j[0]),ie===Fl&&(de=Se!==null?Se:j[j.length-1]),re[0].setAttribute("aria-selected","false"),de.childNodes[0].setAttribute("aria-selected","true"),de.focus();break}}}function E(){let ie=h.children;if(ie)for(let j=0;j<ie.length;j++){let Le=ie[j];Le.childNodes[0].getAttribute("aria-selected")==="true"&&Le.childNodes[0].setAttribute("aria-selected","false")}}function V(ie){b&&se.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected(ie):se.isFunction(b.searchProvider.onEscape)&&event.keyCode===bi&&b.searchProvider.onEscape()}function U(ie,{keyCode:j}){j===vi&&b.searchProvider.onSearchResultItemSelected(ie),j===Fl||j===Bi?D(j):se.isFunction(b.searchProvider.onEscape)&&j===bi&&(E(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function O(ie){let j=ie.pathObject;j.externalLink?nt.navigateToLink(j):_("handleSearchNavigation",{node:j})}function W(){o&&o.focus()}function K(){if(n?t(0,r=!1):setTimeout(()=>{W()}),_("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),b&&b.searchProvider&&se.isFunction(b.searchProvider.toggleSearch)){const ie=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,ie)}}const X=ie=>N(ie);function ne(ie){Xe[ie?"unshift":"push"](()=>{o=ie,t(1,o)})}const Pe=(ie,j)=>V(ie),ee=(ie,j)=>U(ie,j);function z(ie){Xe[ie?"unshift":"push"](()=>{h=ie,t(3,h)})}function oe(ie){Xe[ie?"unshift":"push"](()=>{c=ie,t(2,c)})}return i.$$set=ie=>{"isSearchFieldVisible"in ie&&t(4,n=ie.isSearchFieldVisible),"searchResult"in ie&&t(5,l=ie.searchResult),"displaySearchResult"in ie&&t(0,r=ie.displaySearchResult),"displayCustomSearchResult"in ie&&t(15,a=ie.displayCustomSearchResult),"inputElem"in ie&&t(1,o=ie.inputElem),"luigiCustomSearchRenderer__slot"in ie&&t(2,c=ie.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in ie&&t(3,h=ie.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in ie&&t(16,d=ie.globalSearchConfig)},[r,o,c,h,n,l,K,b,m,v,P,A,N,V,U,a,d,O,X,ne,Pe,ee,z,oe]}class a3 extends Ot{constructor(e){super(),Mt(this,e,r3,t3,At,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function rg(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function s3(i){let e,t,n,l,r,a,o,c=i[11]&&ag(i);return{c(){e=S("input"),t=q(),n=S("span"),c&&c.c(),l=q(),r=S("button"),r.innerHTML='<i class="sap-icon--search"></i>',f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input"),f(r,"aria-label","button-search"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent lui-search-btn svelte-1yci3dk"),f(n,"class","fd-input-group__addon fd-shellbar__input-group__addon fd-input-group__addon--button lui-search-btn-ctn svelte-1yci3dk")},m(h,d){L(h,e,d),i[26](e),L(h,t,d),L(h,n,d),c&&c.m(n,null),w(n,l),w(n,r),a||(o=[le(e,"keyup",i[25]),le(e,"input",i[27]),le(r,"click",i[17])],a=!0)},p(h,d){h[11]?c?c.p(h,d):(c=ag(h),c.c(),c.m(n,l)):c&&(c.d(1),c=null)},d(h){h&&T(e),i[26](null),h&&T(t),h&&T(n),c&&c.d(),a=!1,$e(o)}}}function o3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input svelte-1yci3dk"),f(e,"data-testid","luigi-search-input__no-handlers")},m(t,n){L(t,e,n)},p:qe,d(t){t&&T(e)}}}function ag(i){let e,t,n;return{c(){e=S("button"),e.innerHTML='<i class="sap-icon--decline lui-clear-search svelte-1yci3dk"></i>',f(e,"aria-label","button-decline"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent svelte-1yci3dk")},m(l,r){L(l,e,r),t||(n=le(e,"click",i[19]),t=!0)},p:qe,d(l){l&&T(e),t=!1,n()}}}function u3(i){let e;return{c(){e=S("div")},m(t,n){L(t,e,n),i[31](e)},p:qe,d(t){t&&T(e),i[31](null)}}}function f3(i){let e,t,n,l=i[4]&&sg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-1yci3dk"),f(e,"aria-hidden",n=!i[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=sg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&T(e),l&&l.d()}}}function sg(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=og(rg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[30](e)},p(l,r){if(r[0]&3163160){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=rg(l,t,a);n[a]?n[a].p(o,r):(n[a]=og(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l),i[30](null)}}}function c3(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new mr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[14](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&T(n),l&&e.d()}}}function d3(i){let e,t,n,l=i[40].label+"",r,a,o,c=i[40].description+"",h,d,_;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=q(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(_=le(e,"click",Lt(g3)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Ie(r,l),b[0]&16&&c!==(c=p[40].description+"")&&Ie(h,c)},d(p){p&&T(e),d=!1,_()}}}function og(i){let e,t,n,l;function r(d,_){return d[10]?c3:d3}let a=r(i),o=a(i);function c(...d){return i[28](i[40],...d)}function h(...d){return i[29](i[40],...d)}return{c(){e=S("li"),o.c(),t=q(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-1yci3dk"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",h)],n=!0)},p(d,_){i=d,a===(a=r(i))&&o?o.p(i,_):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),n=!1,$e(l)}}}function ug(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-1yci3dk")},m(c,h){L(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[le(n,"click",i[6]),le(t,"click",Ut(p3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&T(e),a=!1,$e(o)}}}function fg(i){let e,t,n=i[12](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1yci3dk"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=le(t,"click",Ut(i[32])),o=!0)},p(h,d){d[0]&4224&&n!==(n=h[12](h[7])+"")&&Ie(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-1yci3dk")&&f(e,"class",a)},d(h){h&&T(e),o=!1,c()}}}function h3(i){let e,t,n,l,r,a,o,c,h,d,_,p;function b(D,E){return D[8]&&D[8].disableInputHandlers?o3:s3}let m=b(i),v=m(i);function C(D,E){return D[9]?u3:f3}let y=C(i),P=y(i),A=!i[5]&&ug(i),N=i[5]&&fg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=q(),P.c(),c=q(),A&&A.c(),h=q(),N&&N.c(),d=ve(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn svelte-1yci3dk"),f(n,"class","fd-popover__control luigi-search fd-shellbar__group svelte-1yci3dk"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-1yci3dk"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")},m(D,E){L(D,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(D,c,E),A&&A.m(D,E),L(D,h,E),N&&N.m(D,E),L(D,d,E),_||(p=[le(window,"click",i[15]),le(window,"blur",i[15]),le(n,"click",Ut(_3))],_=!0)},p(D,E){m===(m=b(D))&&v?v.p(D,E):(v.d(1),v=m(D),v&&(v.c(),v.m(l,null))),y===(y=C(D))&&P?P.p(D,E):(P.d(1),P=y(D),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!D[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(D[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&f(e,"class",o),D[5]?A&&(A.d(1),A=null):A?A.p(D,E):(A=ug(D),A.c(),A.m(h.parentNode,h)),D[5]?N?N.p(D,E):(N=fg(D),N.c(),N.m(d.parentNode,d)):N&&(N.d(1),N=null)},i:qe,o:qe,d(D){D&&T(e),v.d(),P.d(),D&&T(c),A&&A.d(D),D&&T(h),N&&N.d(D),D&&T(d),_=!1,$e(p)}}}const g3=()=>{},_3=()=>{},p3=()=>{};function m3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:a}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:h}=e,{globalSearchConfig:d}=e;const _=zt(),p={fireItemSelected:te=>{v.searchProvider.onSearchResultItemSelected(te)}};let b=fl.globalSearchCenteredCancelButton,{isSearchFieldVisible:m}=e,v={},C,y,P=!1,A=_t("getTranslation");wi(i,A,te=>t(12,n=te)),Yt(async()=>{t(8,v=d),t(7,b=v.globalSearchCenteredCancelButton?v.globalSearchCenteredCancelButton:b);let te=o;const We=D(v.searchProvider);We&&(te.placeholder=We),N(),Wf.handleVisibilityGlobalSearch();const Ge=document.querySelector(".lui-global-search");Ge&&new ResizeObserver(De=>{Wf.handleVisibilityGlobalSearch()}).observe(Ge)}),zn(()=>{t(8,v=d),N(),W()});function N(){t(9,C=v.searchProvider&&se.isFunction(v.searchProvider.customSearchResultRenderer)),t(10,y=v.searchProvider&&se.isFunction(v.searchProvider.customSearchResultItemRenderer))}function D(te){if(!te||!te.inputPlaceholder)return;const We=vt.getCurrentLocale();if(se.isFunction(te.inputPlaceholder))return te.inputPlaceholder();if(typeof te.inputPlaceholder=="string"){const Ge=vt.getTranslation(te.inputPlaceholder);return!!Ge&&Ge.trim().length>0?Ge:te.inputPlaceholder}if(typeof te.inputPlaceholder=="object")return te.inputPlaceholder[We]}function E(te,We,Ge){return setTimeout(()=>{v.searchProvider.customSearchResultItemRenderer(te,We.children[Ge],p)}),""}function V(){_("closeSearchResult")}function U({keyCode:te}){v?se.isFunction(v.searchProvider.onEnter)&&te===vi?v.searchProvider.onEnter():se.isFunction(v.searchProvider.onEscape)&&te===bi?v.searchProvider.onEscape():te===Bi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):se.isFunction(v.searchProvider.onInput)&&v.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function O(){v&&se.isFunction(v.searchProvider.onSearchBtnClick)&&v.searchProvider.onSearchBtnClick()}function W(){o&&o.value?t(11,P=!0):t(11,P=!1)}function K(){t(1,o.value="",o),V(),t(11,P=!1)}function X(te){let We=h.children;if(We)for(let Ge=0;Ge<We.length;Ge++){let{childNodes:_e,nextSibling:De,previousSibling:et}=We[Ge],Rt;if(_e[0].getAttribute("aria-selected")==="true"){te===Bi&&(Rt=De!==null?De:We[0]),te===Fl&&(Rt=et!==null?et:We[We.length-1]),_e[0].setAttribute("aria-selected","false"),Rt.childNodes[0].setAttribute("aria-selected","true"),Rt.focus();break}}}function ne(){let te=h.children;if(te)for(let We=0;We<te.length;We++){let Ge=te[We];Ge.childNodes[0].getAttribute("aria-selected")==="true"&&Ge.childNodes[0].setAttribute("aria-selected","false")}}function Pe(te){v&&se.isFunction(v.searchProvider.onSearchResultItemSelected)?v.searchProvider.onSearchResultItemSelected(te):se.isFunction(v.searchProvider.onEscape)&&event.keyCode===bi&&v.searchProvider.onEscape()}function ee(te,{keyCode:We}){We===vi&&v.searchProvider.onSearchResultItemSelected(te),We===Fl||We===Bi?X(We):se.isFunction(v.searchProvider.onEscape)&&We===bi&&(ne(),setTimeout(()=>{o.focus()}),v.searchProvider.onEscape())}function z(te){let We=te.pathObject;We.externalLink?nt.navigateToLink(We):_("handleSearchNavigation",{node:We})}function oe(){o&&o.focus()}function ie(){if(m?t(0,r=!1):setTimeout(()=>{oe()}),_("toggleSearch",{isSearchFieldVisible:m,inputElem:o,luigiCustomSearchRenderer__slot:c}),se.isFunction(v.searchProvider.toggleSearch)){const te=m===void 0?!0:!m;v.searchProvider.toggleSearch(o,te)}}const j=te=>U(te);function Le(te){Xe[te?"unshift":"push"](()=>{o=te,t(1,o)})}const re=()=>W(),Ee=(te,We)=>Pe(te),Se=(te,We)=>ee(te,We);function de(te){Xe[te?"unshift":"push"](()=>{h=te,t(3,h)})}function Y(te){Xe[te?"unshift":"push"](()=>{c=te,t(2,c)})}const ce=()=>ie();return i.$$set=te=>{"searchResult"in te&&t(4,l=te.searchResult),"displaySearchResult"in te&&t(0,r=te.displaySearchResult),"displayCustomSearchResult"in te&&t(22,a=te.displayCustomSearchResult),"inputElem"in te&&t(1,o=te.inputElem),"luigiCustomSearchRenderer__slot"in te&&t(2,c=te.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in te&&t(3,h=te.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in te&&t(23,d=te.globalSearchConfig),"isSearchFieldVisible"in te&&t(5,m=te.isSearchFieldVisible)},[r,o,c,h,l,m,ie,b,v,C,y,P,n,A,E,V,U,O,W,K,Pe,ee,a,d,z,j,Le,re,Ee,Se,de,Y,ce]}class b3 extends Ot{constructor(e){super(),Mt(this,e,m3,h3,At,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:22,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:23,isSearchFieldVisible:5,onActionClick:24,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[24]}get toggleSearch(){return this.$$.ctx[6]}}function cg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?w3:v3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function v3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),je(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function w3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&T(e)}}}function dg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new Wn({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=q(),Ue(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Oe(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ie(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){B(r.$$.fragment,o),a=!1},d(o){o&&T(e),Fe(r)}}}function k3(i){let e,t,n,l=i[0].icon&&cg(i),r=(!i[0].icon||i[0].showLabel)&&dg(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=cg(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=dg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){n||(R(r),n=!0)},o(a){B(r),n=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function S3(i,e,t){let{node:n}=e;function l(o){return ye.isOpenUIiconName(o.icon)}function r(o){return ye.renderIconClassName(o)}function a(o){return ye.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Fo extends Ot{constructor(e){super(),Mt(this,e,S3,k3,At,{node:0})}}const{Boolean:cp,window:hg}=Hi;function gg(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function _g(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function C3(i){let e,t;return e=new rp({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function y3(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&pg(i);function v(E){i[59](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new WS({props:C}),Xe.push(()=>ft(l,"dropDownStates",v)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&mg(i),P=(!i[0]||i[1])&&bg(i),A=(i[18]||i[7]&&i[30].length>0)&&wg(i),N=(i[0]||i[16])&&Og(i),D=i[12]&&Fg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=q(),Ue(l.$$.fragment),a=q(),y&&y.c(),o=q(),c=S("div"),P&&P.c(),h=q(),A&&A.c(),d=q(),N&&N.c(),_=q(),D&&D.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(E,V){L(E,e,V),w(e,t),m&&m.m(t,null),w(t,n),Oe(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),A&&A.m(c,null),w(c,d),N&&N.m(c,null),w(c,_),D&&D.m(c,null),b=!0},p(E,V){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,V):(m=pg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const U={};V[0]&1073741824&&(U.pathData=E[30]),V[1]&1&&(U.pathParams=E[31]),V[0]&268435456&&(U.addNavHrefForAnchor=E[28]),!r&&V[0]&64&&(r=!0,U.dropDownStates=E[6],ut(()=>r=!1)),l.$set(U),E[18]&&E[19]?y?(y.p(E,V),V[0]&786432&&R(y,1)):(y=mg(E),y.c(),R(y,1),y.m(e,o)):y&&(we(),B(y,1,1,()=>{y=null}),ke()),!E[0]||E[1]?P?(P.p(E,V),V[0]&3&&R(P,1)):(P=bg(E),P.c(),R(P,1),P.m(c,h)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),E[18]||E[7]&&E[30].length>0?A?(A.p(E,V),V[0]&1074004096&&R(A,1)):(A=wg(E),A.c(),R(A,1),A.m(c,d)):A&&(we(),B(A,1,1,()=>{A=null}),ke()),E[0]||E[16]?N?(N.p(E,V),V[0]&65537&&R(N,1)):(N=Og(E),N.c(),R(N,1),N.m(c,_)):N&&(we(),B(N,1,1,()=>{N=null}),ke()),E[12]?D?(D.p(E,V),V[0]&4096&&R(D,1)):(D=Fg(E),D.c(),R(D,1),D.m(c,null)):D&&(we(),B(D,1,1,()=>{D=null}),ke()),(!b||V[0]&134217732&&p!==(p="fd-shellbar "+(E[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(A),R(N),R(D),b=!0)},o(E){B(l.$$.fragment,E),B(y),B(P),B(A),B(N),B(D),b=!1},d(E){E&&T(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),A&&A.d(),N&&N.d(),D&&D.d()}}}function pg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,a){L(r,e,a),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,a){a[0]&67108864&&f(e,"title",r[26])},d(r){r&&T(e),n=!1,l()}}}function mg(i){let e,t,n,l,r,a,o,c,h;function d(y){i[60](y)}function _(y){i[61](y)}function p(y){i[62](y)}function b(y){i[63](y)}function m(y){i[64](y)}function v(y){i[65](y)}let C={globalSearchConfig:i[18]};return i[20]!==void 0&&(C.isSearchFieldVisible=i[20]),i[25]!==void 0&&(C.searchResult=i[25]),i[23]!==void 0&&(C.displaySearchResult=i[23]),i[24]!==void 0&&(C.displayCustomSearchResult=i[24]),i[21]!==void 0&&(C.inputElem=i[21]),i[22]!==void 0&&(C.luigiCustomSearchRenderer__slot=i[22]),t=new b3({props:C}),Xe.push(()=>ft(t,"isSearchFieldVisible",d)),Xe.push(()=>ft(t,"searchResult",_)),Xe.push(()=>ft(t,"displaySearchResult",p)),Xe.push(()=>ft(t,"displayCustomSearchResult",b)),Xe.push(()=>ft(t,"inputElem",m)),Xe.push(()=>ft(t,"luigiCustomSearchRenderer__slot",v)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(y,P){L(y,e,P),Oe(t,e,null),h=!0},p(y,P){const A={};P[0]&262144&&(A.globalSearchConfig=y[18]),!n&&P[0]&1048576&&(n=!0,A.isSearchFieldVisible=y[20],ut(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,A.searchResult=y[25],ut(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,A.displaySearchResult=y[23],ut(()=>r=!1)),!a&&P[0]&16777216&&(a=!0,A.displayCustomSearchResult=y[24],ut(()=>a=!1)),!o&&P[0]&2097152&&(o=!0,A.inputElem=y[21],ut(()=>o=!1)),!c&&P[0]&4194304&&(c=!0,A.luigiCustomSearchRenderer__slot=y[22],ut(()=>c=!1)),t.$set(A)},i(y){h||(R(t.$$.fragment,y),h=!0)},o(y){B(t.$$.fragment,y),h=!1},d(y){y&&T(e),Fe(t)}}}function bg(i){let e,t,n,l,r=i[18]&&!i[19]&&vg(i);function a(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new up({props:o}),Xe.push(()=>ft(t,"dropDownStates",a)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=q(),Ue(t.$$.fragment)},m(c,h){r&&r.m(c,h),L(c,e,h),Oe(t,c,h),l=!0},p(c,h){c[18]&&!c[19]?r?(r.p(c,h),h[0]&786432&&R(r,1)):(r=vg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(we(),B(r,1,1,()=>{r=null}),ke());const d={};h[0]&268435456&&(d.addNavHrefForAnchor=c[28]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],ut(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){B(r),B(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&T(e),Fe(t,c)}}}function vg(i){let e,t,n,l,r,a,o,c;function h(C){i[69](C)}function d(C){i[70](C)}function _(C){i[71](C)}function p(C){i[72](C)}function b(C){i[73](C)}function m(C){i[74](C)}let v={globalSearchConfig:i[18]};return i[20]!==void 0&&(v.isSearchFieldVisible=i[20]),i[25]!==void 0&&(v.searchResult=i[25]),i[23]!==void 0&&(v.displaySearchResult=i[23]),i[24]!==void 0&&(v.displayCustomSearchResult=i[24]),i[21]!==void 0&&(v.inputElem=i[21]),i[22]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[22]),e=new a3({props:v}),Xe.push(()=>ft(e,"isSearchFieldVisible",h)),Xe.push(()=>ft(e,"searchResult",d)),Xe.push(()=>ft(e,"displaySearchResult",_)),Xe.push(()=>ft(e,"displayCustomSearchResult",p)),Xe.push(()=>ft(e,"inputElem",b)),Xe.push(()=>ft(e,"luigiCustomSearchRenderer__slot",m)),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){Ue(e.$$.fragment)},m(C,y){Oe(e,C,y),c=!0},p(C,y){const P={};y[0]&262144&&(P.globalSearchConfig=C[18]),!t&&y[0]&1048576&&(t=!0,P.isSearchFieldVisible=C[20],ut(()=>t=!1)),!n&&y[0]&33554432&&(n=!0,P.searchResult=C[25],ut(()=>n=!1)),!l&&y[0]&8388608&&(l=!0,P.displaySearchResult=C[23],ut(()=>l=!1)),!r&&y[0]&16777216&&(r=!0,P.displayCustomSearchResult=C[24],ut(()=>r=!1)),!a&&y[0]&2097152&&(a=!0,P.inputElem=C[21],ut(()=>a=!1)),!o&&y[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=C[22],ut(()=>o=!1)),e.$set(P)},i(C){c||(R(e.$$.fragment,C),c=!0)},o(C){B(e.$$.fragment,C),c=!1},d(C){Fe(e,C)}}}function wg(i){let e,t,n,l=i[7]&&i[30].length>0&&kg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Pg(i);return{c(){l&&l.c(),e=q(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=kg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(we(),B(l,1,1,()=>{l=null}),ke()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Pg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){n||(R(l),R(r),n=!0)},o(a){B(l),B(r),n=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function kg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=yg(_g(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&268435936|o[1]&3932321){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=_g(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=yg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(cp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Sg(i){let e,t,n,l;const r=[N3,P3],a=[];function o(c,h){return c[111].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ve()},m(c,h){a[e].m(c,h),L(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(we(),B(a[d],1,1,()=>{a[d]=null}),ke(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&T(n)}}}function P3(i){let e,t,n,l,r;const a=[T3,I3],o=[];function c(h,d){return h[28]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=q(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let _=t;t=c(h),t===_?o[t].p(h,d):(we(),B(o[_],1,1,()=>{o[_]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){B(n),r=!1},d(h){h&&T(e),o[t].d()}}}function N3(i){let e=i[111].visibleChildren.filter(Ug).length>0,t,n,l=e&&Cg(i);return{c(){l&&l.c(),t=ve()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[111].visibleChildren.filter(Ug).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Cg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(we(),B(l,1,1,()=>{l=null}),ke())},i(r){n||(R(l),n=!0)},o(r){B(l),n=!1},d(r){l&&l.d(r),r&&T(t)}}}function I3(i){let e,t,n,l,r,a,o,c,h,d,_;function p(v){i[84](v,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Fo({props:b}),Xe.push(()=>ft(t,"node",p)),r=new gn({props:{node:i[111]}});function m(){return i[85](i[111])}return{c(){e=S("button"),Ue(t.$$.fragment),l=q(),Ue(r.$$.fragment),f(e,"title",a=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(v,C){L(v,e,C),Oe(t,e,null),w(e,l),Oe(r,e,null),h=!0,d||(_=le(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[111],ut(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[111]),r.$set(P),(!h||C[0]&128&&a!==(a=i[52](i[111],i[49](i[111]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){B(t.$$.fragment,v),B(r.$$.fragment,v),h=!1},d(v){v&&T(e),Fe(t),Fe(r),d=!1,_()}}}function T3(i){let e,t,n,l,r,a,o,c,h,d,_,p;function b(C){i[82](C,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Fo({props:m}),Xe.push(()=>ft(t,"node",b)),r=new gn({props:{node:i[111]}});function v(...C){return i[83](i[111],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=q(),Ue(r.$$.fragment),f(e,"href",a=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=i[50](i[111]))},m(C,y){L(C,e,y),Oe(t,e,null),w(e,l),Oe(r,e,null),d=!0,_||(p=le(e,"click",v),_=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[111],ut(()=>n=!1)),t.$set(P);const A={};y[0]&128&&(A.node=i[111]),r.$set(A),(!d||y[0]&128&&a!==(a=i[51](i[111])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=i[50](i[111])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){B(t.$$.fragment,C),B(r.$$.fragment,C),d=!1},d(C){C&&T(e),Fe(t),Fe(r),_=!1,p()}}}function Cg(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(U){i[80](U,i[111],i[114],i[113])}let E={};i[111]!==void 0&&(E.node=i[111]),r=new Fo({props:E}),Xe.push(()=>ft(r,"node",D)),c=new gn({props:{node:i[111]}});function V(){return i[81](i[113])}return v=new sp({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(r.$$.fragment),o=q(),Ue(c.$$.fragment),b=q(),m=S("div"),Ue(v.$$.fragment),y=q(),f(l,"title",h=i[52](i[111],i[49](i[111]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[113]}`]),f(m,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(U,O){L(U,e,O),w(e,t),w(t,n),w(n,l),Oe(r,l,null),w(l,o),Oe(c,l,null),w(t,b),w(t,m),Oe(v,m,null),w(e,y),P=!0,A||(N=[le(l,"click",V),le(n,"click",Ut(q3))],A=!0)},p(U,O){i=U;const W={};!a&&O[0]&128&&(a=!0,W.node=i[111],ut(()=>a=!1)),r.$set(W);const K={};O[0]&128&&(K.node=i[111]),c.$set(K),(!P||O[0]&128&&h!==(h=i[52](i[111],i[49](i[111]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",d),(!P||O[0]&64&&_!==(_=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",_),(!P||O[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const X={};O[0]&128&&(X.node=i[111]),O[1]&1&&(X.pathParams=i[31]),O[0]&268435456&&(X.addNavHrefForAnchor=i[28]),v.$set(X),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[113]}`]))&&f(m,"aria-hidden",C)},i(U){P||(R(r.$$.fragment,U),R(c.$$.fragment,U),R(v.$$.fragment,U),P=!0)},o(U){B(r.$$.fragment,U),B(c.$$.fragment,U),B(v.$$.fragment,U),P=!1},d(U){U&&T(e),Fe(r),Fe(c),Fe(v),A=!1,$e(N)}}}function yg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Sg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Sg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Pg(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A,N,D,E,V,U;h=new gn({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&Ng(i),W=i[46]&&(!i[0]||i[1])&&Ig(i),K=i[7]&&Tg(i),X=i[12]&&Eg(i),ne=i[12]&&Dg(i),Pe=i[14]&&Vg(i),ee=(!i[0]||i[1])&&Mg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=q(),Ue(h.$$.fragment),_=q(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=q(),W&&W.c(),C=q(),K&&K.c(),y=q(),X&&X.c(),A=q(),ne&&ne.c(),N=q(),Pe&&Pe.c(),D=q(),ee&&ee.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(z,oe){L(z,e,oe),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Oe(h,a,null),w(n,_),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),W&&W.m(m,null),w(m,C),K&&K.m(m,null),w(m,y),X&&X.m(m,null),w(n,A),ne&&ne.m(n,null),w(n,N),Pe&&Pe.m(n,null),w(n,D),ee&&ee.m(n,null),E=!0,V||(U=[le(a,"click",i[86]),le(l,"click",Ut(G3))],V=!0)},p(z,oe){const ie={};oe[0]&2048&&(ie.node=z[11]),h.$set(ie),(!E||oe[0]&64&&d!==(d=z[6].overflowPopover||!1))&&f(a,"aria-expanded",d),z[18]&&!z[19]?O?O.p(z,oe):(O=Ng(z),O.c(),O.m(m,v)):O&&(O.d(1),O=null),z[46]&&(!z[0]||z[1])?W?W.p(z,oe):(W=Ig(z),W.c(),W.m(m,C)):W&&(W.d(1),W=null),z[7]?K?(K.p(z,oe),oe[0]&128&&R(K,1)):(K=Tg(z),K.c(),R(K,1),K.m(m,y)):K&&(we(),B(K,1,1,()=>{K=null}),ke()),z[12]?X?X.p(z,oe):(X=Eg(z),X.c(),X.m(m,null)):X&&(X.d(1),X=null),(!E||oe[0]&64&&P!==(P=!z[6].overflowPopover))&&f(p,"aria-hidden",P),z[12]?ne?(ne.p(z,oe),oe[0]&4096&&R(ne,1)):(ne=Dg(z),ne.c(),R(ne,1),ne.m(n,N)):ne&&(we(),B(ne,1,1,()=>{ne=null}),ke()),z[14]?Pe?(Pe.p(z,oe),oe[0]&16384&&R(Pe,1)):(Pe=Vg(z),Pe.c(),R(Pe,1),Pe.m(n,D)):Pe&&(we(),B(Pe,1,1,()=>{Pe=null}),ke()),!z[0]||z[1]?ee?(ee.p(z,oe),oe[0]&3&&R(ee,1)):(ee=Mg(z),ee.c(),R(ee,1),ee.m(n,null)):ee&&(we(),B(ee,1,1,()=>{ee=null}),ke())},i(z){E||(R(h.$$.fragment,z),R(K),R(ne),R(Pe),R(ee),E=!0)},o(z){B(h.$$.fragment,z),B(K),B(ne),B(Pe),B(ee),E=!1},d(z){z&&T(e),Fe(h),O&&O.d(),W&&W.d(),K&&K.d(),X&&X.d(),ne&&ne.d(),Pe&&Pe.d(),ee&&ee.d(),V=!1,$e(U)}}}function Ng(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></i>
|
|
63
|
+
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),n||(l=le(t,"click",Ut(i[87])),n=!0)},p:qe,d(r){r&&T(e),n=!1,l()}}}function Ig(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=q(),a=S("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){L(_,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=le(t,"click",Ut(i[33])),h=!0)},p(_,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(_[46].icon&&_[48](_[46])?_[47](_[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(_[44]?_[44]:_[45])+"")&&Ie(c,o)},d(_){_&&T(e),h=!1,d()}}}function Tg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Rg(gg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&4128808){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=gg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Rg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(cp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Lg(i){let e,t,n,l,r;const a=[A3,L3],o=[];function c(h,d){return d[0]&128&&(e=null),h[111].isCat?(e==null&&(e=h[111].visibleChildren.filter(z3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=ve()},m(h,d){~t&&o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let _=t;t=c(h,d),t===_?~t&&o[t].p(h,d):(n&&(we(),B(o[_],1,1,()=>{o[_]=null}),ke()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){B(n),r=!1},d(h){~t&&o[t].d(h),h&&T(l)}}}function L3(i){let e,t,n,l,r,a,o,c,h=i[49](i[111])+"",d,_,p,b,m,v,C;function y(D,E){return E[0]&128&&(l=null),l==null&&(l=!!D[48](D[111])),l?E3:R3}let P=y(i,[-1,-1,-1,-1]),A=P(i);a=new gn({props:{node:i[111]}});function N(){return i[89](i[111])}return{c(){e=S("li"),t=S("a"),n=S("span"),A.c(),r=q(),Ue(a.$$.fragment),o=q(),c=S("span"),d=Ne(h),b=q(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",_=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(D,E){L(D,e,E),w(e,t),w(t,n),A.m(n,null),w(n,r),Oe(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=le(t,"click",Lt(N)),v=!0)},p(D,E){i=D,P===(P=y(i,E))&&A?A.p(i,E):(A.d(1),A=P(i),A&&(A.c(),A.m(n,r)));const V={};E[0]&128&&(V.node=i[111]),a.$set(V),(!m||E[0]&128)&&h!==(h=i[49](i[111])+"")&&Ie(d,h),(!m||E[0]&128&&_!==(_=i[51](i[111])))&&f(t,"href",_),(!m||E[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(D){m||(R(a.$$.fragment,D),m=!0)},o(D){B(a.$$.fragment,D),m=!1},d(D){D&&T(e),A.d(),Fe(a),v=!1,C()}}}function A3(i){let e,t,n,l=!i[48](i[111]),r,a,o,c,h,d=i[49](i[111])+"",_,p,b,m,v,C,y,P,A=l&&Ag(i);a=new gn({props:{node:i[111]}});function N(){return i[88](i[111])}return{c(){e=S("li"),t=S("a"),n=S("span"),A&&A.c(),r=q(),Ue(a.$$.fragment),c=q(),h=S("span"),_=Ne(d),v=q(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(h,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",m=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(D,E){L(D,e,E),w(e,t),w(t,n),A&&A.m(n,null),w(n,r),Oe(a,n,null),w(t,c),w(t,h),w(h,_),w(e,v),C=!0,y||(P=le(t,"click",Lt(N)),y=!0)},p(D,E){i=D,E[0]&128&&(l=!i[48](i[111])),l?A?A.p(i,E):(A=Ag(i),A.c(),A.m(n,r)):A&&(A.d(1),A=null);const V={};E[0]&128&&(V.node=i[111]),a.$set(V),(!C||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!C||E[0]&128)&&d!==(d=i[49](i[111])+"")&&Ie(_,d),(!C||E[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!C||E[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||E[0]&128&&m!==(m=i[50](i[111])+"-mobile"))&&f(t,"data-testid",m)},i(D){C||(R(a.$$.fragment,D),C=!0)},o(D){B(a.$$.fragment,D),C=!1},d(D){D&&T(e),A&&A.d(),Fe(a),y=!1,P()}}}function R3(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!je(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function E3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&T(e)}}}function Ag(i){let e,t,n;return{c(){e=S("img"),je(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!je(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function Rg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Lg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Lg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Eg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?V3:D3}let _=d(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=S("li"),t=S("a"),p.c(),l=q(),r=S("span"),o=Ne(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=le(t,"click",Ut(i[32])),c=!0)},p(b,m){_===(_=d(b,m))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Ie(o,a)},d(b){b&&T(e),p.d(),c=!1,h()}}}function D3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),je(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!je(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function V3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&T(e)}}}function Dg(i){let e,t,n;function l(a){i[90](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new fp({props:r}),Xe.push(()=>ft(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ut(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Vg(i){let e,t;return e=new sp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Mg(i){let e,t,n,l,r;function a(d){i[92](d)}function o(d){i[93](d)}function c(d){i[94](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new up({props:h}),Xe.push(()=>ft(e,"dropDownStates",a)),Xe.push(()=>ft(e,"selectedLabel",o)),Xe.push(()=>ft(e,"defaultLabel",c)),e.$on("toggleDropdownState",i[95]),{c(){Ue(e.$$.fragment)},m(d,_){Oe(e,d,_),r=!0},p(d,_){const p={};_[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&_[0]&64&&(t=!0,p.dropDownStates=d[6],ut(()=>t=!1)),!n&&_[1]&8192&&(n=!0,p.selectedLabel=d[44],ut(()=>n=!1)),!l&&_[1]&16384&&(l=!0,p.defaultLabel=d[45],ut(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){B(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Og(i){let e,t,n,l,r;const a=[O3,M3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&se.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){L(h,e,d),o[n].m(e,null),r=!0},p(h,d){let _=n;n=c(h,d),n===_?o[n].p(h,d):(we(),B(o[_],1,1,()=>{o[_]=null}),ke(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){B(l),r=!1},d(h){h&&T(e),o[n].d()}}}function M3(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v;function C(A,N){return A[17].picture?U3:F3}let y=C(i),P=y(i);return _=new rp({props:{addNavHrefForAnchor:i[28]}}),_.$on("toggleDropdownState",i[100]),_.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=q(),d=S("div"),Ue(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(A,N){L(A,e,N),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Oe(_,d,null),b=!0,m||(v=[le(r,"click",i[99]),le(n,"click",Ut(J3))],m=!0)},p(A,N){y===(y=C(A))&&P?P.p(A,N):(P.d(1),P=y(A),P&&(P.c(),P.m(r,null))),(!b||N[0]&64&&a!==(a=A[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||N[0]&131072&&o!==(o=A[17].name?A[17].name:void 0))&&f(r,"title",o),(!b||N[0]&131072&&c!==(c=A[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const D={};N[0]&268435456&&(D.addNavHrefForAnchor=A[28]),_.$set(D),(!b||N[0]&64&&p!==(p=!A[6].profilePopover))&&f(d,"aria-hidden",p)},i(A){b||(R(_.$$.fragment,A),b=!0)},o(A){B(_.$$.fragment,A),b=!1},d(A){A&&T(e),P.d(),Fe(_),m=!1,$e(v)}}}function O3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?H3:B3}let _=d(i),p=_(i);return r=new ZS({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),p.c(),n=q(),l=S("div"),Ue(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Oe(r,l,null),o=!0,c||(h=le(t,"click",Ut(K3)),c=!0)},p(b,m){_===(_=d(b))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&268435456&&(v.addNavHrefForAnchor=b[28]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){B(r.$$.fragment,b),o=!1},d(b){b&&T(e),p.d(),Fe(r),c=!1,h()}}}function F3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){L(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&T(e)}}}function U3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),Pn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&Pn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function B3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,n),r||(a=le(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ie(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&T(e),r=!1,a()}}}function H3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),Pn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),n||(l=le(e,"click",i[96]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&Pn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&T(e),n=!1,l()}}}function Fg(i){let e,t,n;function l(a){i[101](a)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new fp({props:r}),Xe.push(()=>ft(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=a[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ut(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function W3(i){let e,t,n,l,r,a;const o=[y3,C3],c=[];function h(d,_){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ve()},m(d,_){c[e].m(d,_),L(d,n,_),l=!0,r||(a=[le(hg,"click",i[41]),le(hg,"blur",i[41])],r=!0)},p(d,_){let p=e;e=h(d),e===p?c[e].p(d,_):(we(),B(c[p],1,1,()=>{c[p]=null}),ke(),t=c[e],t?t.p(d,_):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&T(n),r=!1,$e(a)}}}const z3=i=>!i.hideFromNav&&i.label,Ug=i=>!i.hideFromNav&&i.label,q3=()=>{},G3=()=>{},K3=()=>{},J3=()=>{};function j3(i,e,t){const n=zt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:h}=e,{showGlobalNav:d}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:A}=e,{isProductSwitcherAvailable:N}=e,{productSwitcherConfig:D}=e,{openMobileDropDown:E}=e,{nodeForMobile:V}=e,{profileItemsAvailable:U}=e,{userInfo:O={}}=e,{urlAuthError:W}=e,{globalSearchConfig:K}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:ne}=e,{inputElem:Pe}=e,{luigiCustomSearchRenderer__slot:ee}=e,{displaySearchResult:z}=e,{displayCustomSearchResult:oe}=e,{searchResult:ie}=e,{burgerTooltip:j}=e,{responsiveShellbarPadding:Le}=e,re=_t("store"),Ee=!1,Se,de,Y=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ce=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const te=async()=>{if(_&&0<_.length){const Q=await ye.generateTopNavNodes(_);t(7,v=Q.children),t(8,C=Q.selectedNode),t(9,y=Q.visibleNodeCount),t(11,A=Q.totalBadgeNode),t(10,P=Q.globalNavNodeCount),window.TOPNAVDATA=Q.children,p=_}},We=()=>{t(1,a=ul.isLoggedIn())};Yt(()=>{un.doOnStoreChange(re,()=>{t(0,l=mi.isAuthorizationEnabled()),t(16,U=ae.getConfigValue("navigation.profile")),t(54,r=!Boolean(ae.getConfigValue("auth.disableAutoLogin"))),t(12,N=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,h=ae.getConfigValue("settings.profileType")),t(27,Le=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,D=ye.getProductSwitcherConfig()),t(18,K=ae.getConfigValue("globalSearch")),t(19,X=K&&K.searchFieldCentered&&se.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&se.requestExperimentalFeature("globalNav",!0)),t(28,ce=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(46,Y=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),un.doOnStoreChange(re,()=>{te()},["navigation.viewgroupdata"]),Vn.addEventListener("message",Q=>{Q.data.msg==="luigi.navigation.update-badge-counters"&&te()})}),zn(()=>{(!p||p!=_)&&te(),We()});let{showTopNav:Ge}=e;function _e(Q){return ye.renderIconClassName(Q)}function De(Q){return ye.isOpenUIiconName(Q.icon)}const et=Q=>ye.getNodeLabel(Q);function Rt(Q){return Q.testId?Q.testId:ye.prepareForTests(Q.pathSegment,Q.label)}function gt(Q){return be.getNodeHref(Q,b)}function Kt(Q,Pt){return ye.generateTooltipText(Q,Pt)}function _n(){It("productSwitcherPopover")}function Et(){t(43,Ee=!Ee),It("contextSwitcherPopover")}function ui(Q){t(14,E=!0),t(15,V=Q)}function Nn(){t(14,E=!1)}function pn(Q){n("handleClick",{node:Q})}function an(Q){n("handleSearchNavigation",{node:Q})}function In(Q){pn(Q.detail.node)}function It(Q){const Pt=m||{},kt=!Pt[Q];Qt(),Nn(),Pt[Q]=kt,t(6,m=Pt)}function dl(Q){It(Q.detail.name)}function ti(){Pe&&Pe.focus()}function mn(){ne||setTimeout(()=>{ti()}),n("toggleSearch",{isSearchFieldVisible:ne,inputElem:Pe,luigiCustomSearchRenderer__slot:ee})}function Qt(){const Q=m||{},Pt=Object.keys(Q);Pt&&Pt.length>0&&Pt.forEach(kt=>{Q[kt]=!1,t(6,m=Q)})}function qn(){c==="simple"||c==="simpleMobileOnly"?bn():fi(),en()}function en(){if(!ye.getBurgerTooltipConfig())return;const[Q,Pt]=ye.getBurgerTooltipConfig();Q&&Pt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,j=document.body.classList.contains("lui-leftNavToggle")?Q:Pt),document.body.classList.contains("lui-semiCollapsible")&&t(26,j=document.body.classList.contains("semiCollapsed")?Q:Pt))}function bn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function fi(){pi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function ki(Q){const Pt=Q.detail;t(17,O=Pt||{})}function fn(Q){m=Q,t(6,m)}function Si(Q){ne=Q,t(20,ne)}function Ci(Q){ie=Q,t(25,ie)}function yi(Q){z=Q,t(23,z)}function Pi(Q){oe=Q,t(24,oe)}function hl(Q){Pe=Q,t(21,Pe)}function gl(Q){ee=Q,t(22,ee)}function _l(Q){Ml.call(this,i,Q)}function Wi(Q){Ml.call(this,i,Q)}function Ni(Q){Ml.call(this,i,Q)}function pl(Q){ne=Q,t(20,ne)}function zi(Q){ie=Q,t(25,ie)}function $(Q){z=Q,t(23,z)}function Te(Q){oe=Q,t(24,oe)}function ct(Q){Pe=Q,t(21,Pe)}function Tt(Q){ee=Q,t(22,ee)}function yt(Q){Ml.call(this,i,Q)}function sn(Q){Ml.call(this,i,Q)}function vn(Q){Ml.call(this,i,Q)}function ci(Q){m=Q,t(6,m)}const Gn=()=>It("contextSwitcherPopover");function ml(Q,Pt,kt,Kn){kt[Kn]=Q,t(7,v)}const qi=Q=>It(`dropDownPopover-${Q}`);function bl(Q,Pt,kt,Kn){kt[Kn]=Q,t(7,v)}const Gi=(Q,Pt)=>{ye.handleNavAnchorClickedWithoutMetaKey(Pt)&&pn(Q)};function Hl(Q,Pt,kt,Kn){kt[Kn]=Q,t(7,v)}const Wl=Q=>pn(Q),zl=()=>It("overflowPopover"),br=()=>{mn(),It("overflowPopover")},wn=Q=>pn(Q),vl=Q=>ui(Q);function wl(Q){m=Q,t(6,m)}const ql=()=>It("productSwitcherPopover");function vr(Q){m=Q,t(6,m)}function Ki(Q){Se=Q,t(44,Se)}function kl(Q){de=Q,t(45,de)}const di=()=>It("contextSwitcherPopover"),Sl=()=>It("profilePopover"),Ii=()=>It("profilePopover"),Gl=()=>It("profilePopover"),wr=()=>It("profilePopover"),pt=()=>It("profilePopover");function Ji(Q){m=Q,t(6,m)}const ji=()=>It("productSwitcherPopover"),Cl=()=>It("profilePopover");return i.$$set=Q=>{"authorizationEnabled"in Q&&t(0,l=Q.authorizationEnabled),"autologinEnabled"in Q&&t(54,r=Q.autologinEnabled),"isLoggedIn"in Q&&t(1,a=Q.isLoggedIn),"hideNavComponent"in Q&&t(2,o=Q.hideNavComponent),"responsiveNavSetting"in Q&&t(3,c=Q.responsiveNavSetting),"profileTypeSettings"in Q&&t(4,h=Q.profileTypeSettings),"showGlobalNav"in Q&&t(5,d=Q.showGlobalNav),"pathData"in Q&&t(30,_=Q.pathData),"pathParams"in Q&&t(31,b=Q.pathParams),"dropDownStates"in Q&&t(6,m=Q.dropDownStates),"children"in Q&&t(7,v=Q.children),"selectedNode"in Q&&t(8,C=Q.selectedNode),"visibleNodeCount"in Q&&t(9,y=Q.visibleNodeCount),"globalNavNodeCount"in Q&&t(10,P=Q.globalNavNodeCount),"totalBadgeNode"in Q&&t(11,A=Q.totalBadgeNode),"isProductSwitcherAvailable"in Q&&t(12,N=Q.isProductSwitcherAvailable),"productSwitcherConfig"in Q&&t(13,D=Q.productSwitcherConfig),"openMobileDropDown"in Q&&t(14,E=Q.openMobileDropDown),"nodeForMobile"in Q&&t(15,V=Q.nodeForMobile),"profileItemsAvailable"in Q&&t(16,U=Q.profileItemsAvailable),"userInfo"in Q&&t(17,O=Q.userInfo),"urlAuthError"in Q&&t(55,W=Q.urlAuthError),"globalSearchConfig"in Q&&t(18,K=Q.globalSearchConfig),"isGlobalSearchCentered"in Q&&t(19,X=Q.isGlobalSearchCentered),"isSearchFieldVisible"in Q&&t(20,ne=Q.isSearchFieldVisible),"inputElem"in Q&&t(21,Pe=Q.inputElem),"luigiCustomSearchRenderer__slot"in Q&&t(22,ee=Q.luigiCustomSearchRenderer__slot),"displaySearchResult"in Q&&t(23,z=Q.displaySearchResult),"displayCustomSearchResult"in Q&&t(24,oe=Q.displayCustomSearchResult),"searchResult"in Q&&t(25,ie=Q.searchResult),"burgerTooltip"in Q&&t(26,j=Q.burgerTooltip),"responsiveShellbarPadding"in Q&&t(27,Le=Q.responsiveShellbarPadding),"addNavHrefForAnchor"in Q&&t(28,ce=Q.addNavHrefForAnchor),"showTopNav"in Q&&t(29,Ge=Q.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Ge=l&&(!r||a)||!l)},[l,a,o,c,h,d,m,v,C,y,P,A,N,D,E,V,U,O,K,X,ne,Pe,ee,z,oe,ie,j,Le,ce,Ge,_,b,_n,Et,ui,Nn,pn,In,It,dl,mn,Qt,ki,Ee,Se,de,Y,_e,De,et,Rt,gt,Kt,qn,r,W,an,bn,fi,fn,Si,Ci,yi,Pi,hl,gl,_l,Wi,Ni,pl,zi,$,Te,ct,Tt,yt,sn,vn,ci,Gn,ml,qi,bl,Gi,Hl,Wl,zl,br,wn,vl,wl,ql,vr,Ki,kl,di,Sl,Ii,Gl,wr,pt,Ji,ji,Cl]}class dp extends Ot{constructor(e){super(),Mt(this,e,j3,W3,At,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function Bg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function Y3(i){let e,t=i[0]&&Bg();return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Bg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:qe,o:qe,d(n){t&&t.d(n),n&&T(e)}}}function Q3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=be.mapPathToNode(nt.getCurrentPath(),n),a=await Ft.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||n.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return Yt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");hr.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class Z3 extends Ot{constructor(e){super(),Mt(this,e,Q3,Y3,At,{node:0})}}const{window:To}=Hi;function Hg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Wg(i,e,t){const n=i.slice();return n[43]=e[t],n}function zg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function qg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Gg(i,e,t){const n=i.slice();return n[43]=e[t],n}function Kg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Jg(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&jg(i),A=Object.entries(i[0]),N=[];for(let O=0;O<A.length;O+=1)N[O]=e_(qg(i,A,O));const D=O=>B(N[O],1,1,()=>{N[O]=null});let E=Object.entries(i[0]),V=[];for(let O=0;O<E.length;O+=1)V[O]=l_(Hg(i,E,O));const U=O=>B(V[O],1,1,()=>{V[O]=null});return{c(){e=S("div"),P&&P.c(),t=q(),n=S("nav"),l=S("div"),r=S("div");for(let O=0;O<N.length;O+=1)N[O].c();a=q(),o=S("div"),c=S("span"),h=S("div"),d=S("a"),d.innerHTML=`<span class="label fd-tabs__tag svelte-16eupdq">More</span>
|
|
64
|
+
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"></span>`,_=q(),p=S("div"),b=S("ul");for(let O=0;O<V.length;O+=1)V[O].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-16eupdq"),f(l,"class","tabsContainerWrapper svelte-16eupdq"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-16eupdq"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-16eupdq"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-16eupdq"),f(p,"aria-hidden",m=!i[4]),f(h,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-16eupdq"),f(o,"class","luigi-tabsMoreButton svelte-16eupdq"),f(n,"class","fd-tabs fd-tabs--l svelte-16eupdq"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-16eupdq"),f(e,"id","tabsContainer")},m(O,W){L(O,e,W),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let K=0;K<N.length;K+=1)N[K].m(r,null);w(n,a),w(n,o),w(o,c),w(c,h),w(h,d),w(h,_),w(h,p),w(p,b);for(let K=0;K<V.length;K+=1)V[K].m(b,null);v=!0,C||(y=[le(d,"click",Lt(i[10])),le(c,"click",ly),le(n,"toggleDropdownState",i[26])],C=!0)},p(O,W){if(O[11].parent&&O[11].parent.tabNav&&O[11].parent.tabNav.showAsTabHeader?P?(P.p(O,W),W[0]&2048&&R(P,1)):(P=jg(O),P.c(),R(P,1),P.m(e,t)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),W[0]&53485){A=Object.entries(O[0]);let K;for(K=0;K<A.length;K+=1){const X=qg(O,A,K);N[K]?(N[K].p(X,W),R(N[K],1)):(N[K]=e_(X),N[K].c(),R(N[K],1),N[K].m(r,null))}for(we(),K=A.length;K<N.length;K+=1)D(K);ke()}if(W[0]&53485){E=Object.entries(O[0]);let K;for(K=0;K<E.length;K+=1){const X=Hg(O,E,K);V[K]?(V[K].p(X,W),R(V[K],1)):(V[K]=l_(X),V[K].c(),R(V[K],1),V[K].m(b,null))}for(we(),K=E.length;K<V.length;K+=1)U(K);ke()}(!v||W[0]&16&&m!==(m=!O[4]))&&f(p,"aria-hidden",m)},i(O){if(!v){R(P);for(let W=0;W<A.length;W+=1)R(N[W]);for(let W=0;W<E.length;W+=1)R(V[W]);v=!0}},o(O){B(P),N=N.filter(Boolean);for(let W=0;W<N.length;W+=1)B(N[W]);V=V.filter(Boolean);for(let W=0;W<V.length;W+=1)B(V[W]);v=!1},d(O){O&&T(e),P&&P.d(),st(N,O),st(V,O),C=!1,$e(y)}}}function jg(i){let e,t;return e=new Z3({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function X3(i){let e,t,n,l,r,a=i[12](i[39])+"",o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(){return i[20](i[39])}let E=i[40],V=[];for(let O=0;O<E.length;O+=1)V[O]=Zg(Gg(i,E,O));const U=O=>B(V[O],1,1,()=>{V[O]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("span"),o=Ne(a),c=q(),h=S("span"),_=q(),p=S("div"),b=S("nav"),m=S("ul");for(let O=0;O<V.length;O+=1)V[O].c();C=q(),f(r,"class","label fd-tabs__tag svelte-16eupdq"),f(h,"class","sap-icon--dropdown luigi-icon--dropdown svelte-16eupdq"),f(l,"class","fd-tabs__link has-child svelte-16eupdq"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=dr(i[39],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow"),f(p,"aria-hidden",v=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-16eupdq"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=dr(i[39],i[2]))},m(O,W){L(O,e,W),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,h),w(t,_),w(t,p),w(p,b),w(b,m);for(let K=0;K<V.length;K+=1)V[K].m(m,null);w(e,C),P=!0,A||(N=[le(l,"click",Lt(D)),le(e,"click",iy)],A=!0)},p(O,W){if(i=O,(!P||W[0]&4097)&&a!==(a=i[12](i[39])+"")&&Ie(o,a),(!P||W[0]&5&&d!==(d=dr(i[39],i[2])))&&f(l,"aria-selected",d),W[0]&49221){E=i[40];let K;for(K=0;K<E.length;K+=1){const X=Gg(i,E,K);V[K]?(V[K].p(X,W),R(V[K],1)):(V[K]=Zg(X),V[K].c(),R(V[K],1),V[K].m(m,null))}for(we(),K=E.length;K<V.length;K+=1)U(K);ke()}(!P||W[0]&9&&v!==(v=!i[3][i[39]]))&&f(p,"aria-hidden",v),(!P||W[0]&5&&y!==(y=dr(i[39],i[2])))&&f(e,"isselected",y)},i(O){if(!P){for(let W=0;W<E.length;W+=1)R(V[W]);P=!0}},o(O){V=V.filter(Boolean);for(let W=0;W<V.length;W+=1)B(V[W]);P=!1},d(O){O&&T(e),st(V,O),A=!1,$e(N)}}}function $3(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=xg(Kg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const h=Kg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=xg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function Yg(i){let e,t,n=i[43].label&&Qg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Qg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Qg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[21](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-menu__item")},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function Zg(i){let e,t,n=!i[43].hideFromNav&&Yg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Yg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function Xg(i){let e,t,n=i[43].label&&$g(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=$g(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function $g(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b,m,v;o=new Wn({props:{node:i[43]}});function C(){return i[19](i[43])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class",_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",p=i[43]===i[2])},m(y,P){L(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),b=!0,m||(v=le(t,"click",Lt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const A={};P[0]&1&&(A.node=i[43]),o.$set(A),(!b||P[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!b||P[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h),(!b||P[0]&5&&_!==(_="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-16eupdq"))&&f(e,"class",_),(!b||P[0]&5&&p!==(p=i[43]===i[2]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){B(o.$$.fragment,y),b=!1},d(y){y&&T(e),Fe(o),m=!1,v()}}}function xg(i){let e,t,n=!i[43].hideFromNav&&Xg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(we(),B(n,1,1,()=>{n=null}),ke()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function e_(i){let e,t,n,l,r,a;const o=[$3,X3],c=[];function h(d,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(ny).length>0),t?1:-1)}return~(n=h(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ve()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=h(d,_),n===p?~n&&c[n].p(d,_):(l&&(we(),B(c[p],1,1,()=>{c[p]=null}),ke()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~n&&c[n].d(d),d&&T(r)}}}function x3(i){let e,t,n,l,r=i[12](i[39])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A,N;function D(){return i[23](i[39],i[42])}function E(){return i[24](i[39],i[42])}let V=i[40],U=[];for(let W=0;W<V.length;W+=1)U[W]=n_(Wg(i,V,W));const O=W=>B(U[W],1,1,()=>{U[W]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=q(),d=S("button"),_=S("i"),m=q(),v=S("ul");for(let W=0;W<U.length;W+=1)U[W].c();y=q(),f(l,"class","fd-nested-list__title svelte-16eupdq"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=dr(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-16eupdq"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(W,K){L(W,e,K),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,_),w(e,m),w(e,v);for(let X=0;X<U.length;X+=1)U[X].m(v,null);w(e,y),P=!0,A||(N=[le(n,"click",Lt(D)),le(d,"click",Lt(E))],A=!0)},p(W,K){if(i=W,(!P||K[0]&4097)&&r!==(r=i[12](i[39])+"")&&Ie(a,r),(!P||K[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||K[0]&5&&c!==(c=dr(i[39],i[2])))&&f(n,"aria-selected",c),(!P||K[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!P||K[0]&9&&b!==(b=i[3][i[39]+i[42]]))&&f(d,"aria-expanded",b),K[0]&49221){V=i[40];let X;for(X=0;X<V.length;X+=1){const ne=Wg(i,V,X);U[X]?(U[X].p(ne,K),R(U[X],1)):(U[X]=n_(ne),U[X].c(),R(U[X],1),U[X].m(v,null))}for(we(),X=V.length;X<U.length;X+=1)O(X);ke()}(!P||K[0]&9&&C!==(C=!i[3][i[39]+i[42]]))&&f(v,"aria-hidden",C)},i(W){if(!P){for(let K=0;K<V.length;K+=1)R(U[K]);P=!0}},o(W){U=U.filter(Boolean);for(let K=0;K<U.length;K+=1)B(U[K]);P=!1},d(W){W&&T(e),st(U,W),A=!1,$e(N)}}}function ey(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=i_(zg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const h=zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=i_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(we(),c=n.length;c<l.length;c+=1)r(c);ke()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){st(l,a),a&&T(e)}}}function t_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[25](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function n_(i){let e,t,n=i[43].label&&t_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=t_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function i_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,h,d,_,p,b;o=new Wn({props:{node:i[43]}});function m(){return i[22](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=q(),Ue(o.$$.fragment),d=q(),f(n,"class","fd-nested-list__title svelte-16eupdq"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",h=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(v,C){L(v,e,C),w(e,t),w(t,n),w(n,r),w(n,a),Oe(o,n,null),w(e,d),_=!0,p||(b=le(t,"click",Lt(m)),p=!0)},p(v,C){i=v,(!_||C[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const y={};C[0]&1&&(y.node=i[43]),o.$set(y),(!_||C[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!_||C[0]&5&&h!==(h=i[43]===i[2]))&&f(t,"aria-selected",h)},i(v){_||(R(o.$$.fragment,v),_=!0)},o(v){B(o.$$.fragment,v),_=!1},d(v){v&&T(e),Fe(o),p=!1,b()}}}function l_(i){let e,t,n,l,r;const a=[ey,x3],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[39]==="undefined"||h[39].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ve()},m(h,d){o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let _=t;t=c(h,d),t===_?o[t].p(h,d):(we(),B(o[_],1,1,()=>{o[_]=null}),ke(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){B(n),r=!1},d(h){o[t].d(h),h&&T(l)}}}function ty(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Jg(i);return{c(){r&&r.c(),e=ve()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[le(To,"click",i[8]),le(To,"blur",i[8]),le(To,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=Jg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){t||(R(r),t=!0)},o(a){B(r),t=!1},d(a){r&&r.d(a),a&&T(e),n=!1,$e(l)}}}function dr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const ny=i=>!i.hideFromNav&&i.label,iy=i=>i.stopPropagation(),ly=i=>i.stopPropagation();function ry(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:h=ye.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:m}=e,v,C=_t("getTranslation");wi(i,C,Y=>t(12,n=Y));let y=_t("store"),P;const A={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:h,selectedNode:d,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:Y=>{Y&&Object.getOwnPropertyNames(Y).forEach(ce=>{ce==="pathData"?t(1,r=Y.pathData):ce==="context"?context=Y.context:ce==="children"?t(0,l=Y.children):ce==="selectedNode"?t(11,d=Y.selectedNode):ce==="selectedNodeForTabNav"&&t(2,_=Y.selectedNodeForTabNav)})}},N=zt();function D(Y){return ye.getNodeLabel(Y)}const E=async()=>{const Y=A.get(),ce=await Ft.getTabNavData({...Y},Y);!ce||(A.set({...ce}),o=r,window.LEFTNAVDATA=ce.groupedChildren,setTimeout(V))},V=()=>{U();let Y=document.getElementsByClassName("luigi-tabsContainer")[0],ce=document.getElementsByClassName("luigi-tabsMoreButton")[0],te=document.getElementsByClassName("luigi__more")[0],We,Ge=0,_e=!1,De,et;te&&te.setAttribute("aria-selected","false"),Y&&(We=Y.offsetWidth,[...Y.children].forEach(gt=>{De=gt.currentStyle||window.getComputedStyle(gt),et=parseFloat(De.marginLeft)+parseFloat(De.marginRight),Ge+=gt.offsetWidth+et;let Kt=gt.getAttribute("uid");Ge>=We?(gt.classList.add("hide_element"),gt.getAttribute("isSelected")==="true"&&te.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Kt+'"]').classList.remove("hide_element"),_e=!0):document.querySelector('li[uid="'+Kt+'"]').classList.add("hide_element")}),_e?ce.classList.remove("hide_element"):ce.classList.add("hide_element"))},U=()=>{let Y=document.getElementsByClassName("luigi-tabsContainer")[0];Y!==void 0&&[...Y.children].forEach(te=>{te.classList.remove("hide_element")})},O=()=>{P=new ResizeObserver(Y=>{for(const ce of Y)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ce.contentRect.height+"px")}),setTimeout(()=>{const Y=document.querySelector("#tabsContainer.lui-tabs");Y&&P.observe(Y)})},W=()=>{P&&P.disconnect()};Yt(()=>{t(16,c=ae.getConfigBooleanValue("settings.hideNavigation")),O(),un.doOnStoreChange(y,()=>{E()},["navigation.viewgroupdata"])}),Qr(()=>{W(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!o||o!=r)&&E(),(v===void 0||v!==m)&&(v=m,E())}),fs(()=>{W(),P?setTimeout(()=>{const Y=document.querySelector("#tabsContainer.lui-tabs");Y&&P.observe(Y)}):O()});function K(Y){return be.getNodeHref(Y,a)}function X(Y){Pe(),N("handleClick",{node:Y})}function ne(Y){let ce={};p[Y]||(ce[Y]=!0),t(3,p=ce)}function Pe(){t(3,p={}),t(4,b=!1)}function ee(){U(),V()}function z(){t(4,b=!b)}const oe=Y=>X(Y),ie=Y=>ne(Y),j=Y=>X(Y),Le=Y=>X(Y),re=(Y,ce)=>ne(Y+ce),Ee=(Y,ce)=>ne(Y+ce),Se=Y=>X(Y),de=Y=>ne(Y.name);return i.$$set=Y=>{"children"in Y&&t(0,l=Y.children),"pathData"in Y&&t(1,r=Y.pathData),"pathParams"in Y&&t(17,a=Y.pathParams),"hideNavComponent"in Y&&t(16,c=Y.hideNavComponent),"virtualGroupPrefix"in Y&&t(5,h=Y.virtualGroupPrefix),"selectedNodeForTabNav"in Y&&t(2,_=Y.selectedNodeForTabNav),"dropDownStates"in Y&&t(3,p=Y.dropDownStates),"isMoreBtnExpanded"in Y&&t(4,b=Y.isMoreBtnExpanded),"resizeTabNavToggle"in Y&&t(18,m=Y.resizeTabNavToggle)},[l,r,_,p,b,h,X,ne,Pe,ee,z,d,n,C,D,K,c,a,m,oe,ie,j,Le,re,Ee,Se,de]}class ay extends Ot{constructor(e){super(),Mt(this,e,ry,ty,At,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function r_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function a_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function s_(i){let e,t,n,l,r,a=i[0]&&i[3].length>0&&o_(i),o=i[0]&&i[3].length>0&&d_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=q(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-174hcxg"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-174hcxg"),f(e,"class","lui-globalnav svelte-174hcxg")},m(c,h){L(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>0?a?a.p(c,h):(a=o_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>0?o?o.p(c,h):(o=d_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function o_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=c_(a_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&16083){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=a_(l,t,a);n[a]?n[a].p(o,r):(n[a]=c_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function u_(i){let e,t,n,l,r,a=i[11](i[24])+"",o,c,h,d,_,p,b,m,v,C,y=i[24].icon&&f_(i);function P(...A){return i[18](i[24],...A)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=q(),r=S("div"),o=Ne(a),c=q(),h=S("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(h,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",m=i[12](i[24]))},m(A,N){L(A,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=le(t,"click",P),v=!0)},p(A,N){i=A,i[24].icon?y?y.p(i,N):(y=f_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[24])+"")&&Ie(o,a),N&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),N&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),N&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),N&1&&m!==(m=i[12](i[24]))&&f(e,"data-testid",m)},d(A){A&&T(e),y&&y.d(),v=!1,C()}}}function f_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[24])),e?oy:sy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function sy(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function oy(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&T(e)}}}function c_(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&u_(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=u_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function d_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=__(r_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-174hcxg")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&16083){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=r_(l,t,a);n[a]?n[a].p(o,r):(n[a]=__(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&T(e),st(n,l)}}}function h_(i){let e,t,n,l,r,a=i[11](i[24])+"",o,c,h,d,_,p,b,m,v,C,y=i[24].icon&&g_(i);function P(){return i[19](i[24])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=q(),r=S("div"),o=Ne(a),c=q(),h=S("div"),p=q(),f(r,"class","lui-text svelte-174hcxg"),f(h,"class","lui-indicator svelte-174hcxg"),f(n,"class","lui-fd-nested-list__content svelte-174hcxg"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",_=i[7](i[24].label)),f(t,"class","svelte-174hcxg"),f(e,"class",b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg"),f(e,"data-testid",m=i[12](i[24]))},m(A,N){L(A,e,N),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=le(n,"click",Lt(P)),v=!0)},p(A,N){i=A,i[24].icon?y?y.p(i,N):(y=g_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),N&1&&a!==(a=i[11](i[24])+"")&&Ie(o,a),N&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),N&129&&_!==(_=i[7](i[24].label))&&f(t,"title",_),N&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&f(e,"class",b),N&1&&m!==(m=i[12](i[24]))&&f(e,"data-testid",m)},d(A){A&&T(e),y&&y.d(),v=!1,C()}}}function g_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[24])),e?fy:uy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&T(t)}}}function uy(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-174hcxg"),je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&T(e)}}}function fy(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-174hcxg")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-174hcxg")&&f(e,"class",t)},d(n){n&&T(e)}}}function __(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&h_(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=h_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&T(e)}}}function cy(i){let e,t,n,l=i[2]&&s_(i);return{c(){l&&l.c(),e=ve()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[le(window,"click",us),le(window,"blur",us)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=s_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:qe,o:qe,d(r){l&&l.d(r),r&&T(e),t=!1,$e(n)}}}function us(){}function dy(i,e,t){let n;const l=zt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=_t("store"),_=_t("getTranslation");wi(i,_,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const W=await ye.generateTopNavNodes(r);t(0,c=W.children),t(1,h=W.selectedNode),a=r}};Yt(()=>{un.doOnStoreChange(d,()=>{t(14,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(15,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!ae.getConfigBooleanValue("settings.btpToolLayout")),ae.getConfigBooleanValue("settings.globalSideNavigation")&&se.requestExperimentalFeature("globalNav",!0),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(W){return ye.renderIconClassName(W)}function P(W){return ye.isOpenUIiconName(W.icon)}function A(W){return vt.getTranslation(W.label)}function N(W){return W.testId?W.testId:ye.prepareForTests(W.pathSegment,W.label)}function D(W){return be.getNodeHref(W,o)}function E(W){l("handleClick",{node:W})}function V(W){E(W.detail.node)}const U=(W,K)=>{ye.handleNavAnchorClickedWithoutMetaKey(K)&&E(W)},O=W=>E(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,h=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,b=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,m=W.responsiveNavSetting)},[c,h,p,r,E,us,v,n,_,y,P,A,N,D,b,m,o,V,U,O]}class hy extends Ot{constructor(e){super(),Mt(this,e,dy,cy,At,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return us}}function gy(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-1kit7ok")},m(t,n){L(t,e,n),i[6](e)},p:qe,i:qe,o:qe,d(t){t&&T(e),i[6](null)}}}function _y(i,e,t){const n=zt();let{pathData:l}=e,r,a={},o,c=_t("store"),{showBreadcrumb:h}=e,{hideNavComponent:d}=e,{responsiveNavSetting:_}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=y=>{y.last||v(y.node)};Yt(()=>{un.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const y=ae.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!y),h&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,h=!1):P.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),y.renderer){let P=[];const A=y.omitRoot?2:1,N=nt.getCurrentPath();for(let D=A;D<l.length;D++){const E=l[D],V=be.mapPathToNode(N,E);if(a[V])P.push(a[V]);else if(E.label||E.pathSegment||E.titleResolver)if(document.body.classList.add("lui-breadcrumb"),E.titleResolver)P.push({label:E.titleResolver.prerenderFallback&&E.titleResolver.fallbackTitle?vt.getTranslation(E.titleResolver.fallbackTitle):y.pendingItemLabel||"",node:E,route:V,pending:!0});else{const U=await m(E);U&&P.push({label:U,node:E,route:V})}}y.clearBeforeRender&&t(0,o.innerHTML="",o),y.renderer(o,P,b),P=[];for(let D=A;D<l.length;D++){const E=l[D],V=be.mapPathToNode(N,E);if(E.titleResolver){const O=await Ft.extractDataFromPath(V),W=be.substituteDynamicParamsInObject(Object.assign({},O.pathData.context,E.context),O.pathData.pathParams);try{const K=await ye.fetchNodeTitleData(E,W);P.push({label:K.label,node:E,route:V});continue}catch{}}const U=await m(E);U&&P.push({label:U,node:E,route:V})}N===nt.getCurrentPath()&&(y.clearBeforeRender&&t(0,o.innerHTML="",o),P.length>1?(P[P.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),y.renderer(o,P,b)):y.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},P.map(D=>{a[D.route]=D}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function m(y){if(y.label&&!y._virtualTree)return vt.getTranslation(y.label)||y.label;if(y.pathSegment&&y.pathSegment.indexOf(":")===0){const P=be.mapPathToNode(nt.getCurrentPath(),y),A=await Ft.extractDataFromPath(P);return be.getDynamicNodeValue(y,A.pathData.pathParams)}return y.pathSegment?y.pathSegment:""}function v(y){n("handleClick",{node:y})}function C(y){Xe[y?"unshift":"push"](()=>{o=y,t(0,o)})}return i.$$set=y=>{"pathData"in y&&t(2,l=y.pathData),"showBreadcrumb"in y&&t(1,h=y.showBreadcrumb),"hideNavComponent"in y&&t(3,d=y.hideNavComponent),"responsiveNavSetting"in y&&t(4,_=y.responsiveNavSetting)},[o,h,l,d,_,v,C]}class hp extends Ot{constructor(e){super(),Mt(this,e,_y,gy,At,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Do="not_checked";Vn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Do="disabled"):i.data==="luigi.tpcEnabled"&&(Do="enabled")},!1);function py(){return Do}const{Boolean:my,window:by}=Hi;function p_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function m_(i){let e,t;return e=new xw({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function b_(i){let e,t;function n(){return i[69](i[156])}function l(...a){return i[70](i[156],...a)}function r(...a){return i[71](i[156],...a)}return e=new ep({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){B(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function v_(i){let e,t,n=i[154].mfModal.displayed&&b_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=b_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(we(),B(n,1,1,()=>{n=null}),ke())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&T(e)}}}function w_(i){let e,t;return e=new ep({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[vy]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[5]&4&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function vy(i){let e,t;return e=new Bl({props:{area:"drawer",disable:i[13]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function k_(i){let e,t;return e=new lk({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function S_(i){let e,t,n;function l(a){i[74](a)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new kk({props:r}),Xe.push(()=>ft(e,"storedUserSettings",l)),e.$on("close",i[10]),{c(){Ue(e.$$.fragment)},m(a,o){Oe(e,a,o),n=!0},p(a,o){const c={};o[0]&262144&&(c.userSettingGroups=a[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=a[6],ut(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function wy(i){let e,t,n,l,r,a,o,c;e=new Bl({props:{disable:i[13],$$slots:{default:[Sy]},$$scope:{ctx:i}}});let h=i[11]&&y_(),d=!i[25]&&P_(i),_=!i[21]&&N_(i),p=!(i[21]||i[22])&&T_(i),b=i[16]&&!i[21]&&L_(i);return{c(){Ue(e.$$.fragment),t=q(),h&&h.c(),n=q(),d&&d.c(),l=q(),_&&_.c(),r=q(),p&&p.c(),a=q(),b&&b.c(),o=ve()},m(m,v){Oe(e,m,v),L(m,t,v),h&&h.m(m,v),L(m,n,v),d&&d.m(m,v),L(m,l,v),_&&_.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){const C={};v[0]&8192&&(C.disable=m[13]),v[0]&12288|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[11]?h||(h=y_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[25]?d&&(we(),B(d,1,1,()=>{d=null}),ke()):d?(d.p(m,v),v[0]&33554432&&R(d,1)):(d=P_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[21]?_&&(we(),B(_,1,1,()=>{_=null}),ke()):_?(_.p(m,v),v[0]&2097152&&R(_,1)):(_=N_(m),_.c(),R(_,1),_.m(r.parentNode,r)),m[21]||m[22]?p&&(we(),B(p,1,1,()=>{p=null}),ke()):p?(p.p(m,v),v[0]&6291456&&R(p,1)):(p=T_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[16]&&!m[21]?b?(b.p(m,v),v[0]&2162688&&R(b,1)):(b=L_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(we(),B(b,1,1,()=>{b=null}),ke())},i(m){c||(R(e.$$.fragment,m),R(d),R(_),R(p),R(b),c=!0)},o(m){B(e.$$.fragment,m),B(d),B(_),B(p),B(b),c=!1},d(m){Fe(e,m),m&&T(t),h&&h.d(m),m&&T(n),d&&d.d(m),m&&T(l),_&&_.d(m),m&&T(r),p&&p.d(m),m&&T(a),b&&b.d(m),m&&T(o)}}}function ky(i){let e,t,n,l,r,a,o,c,h,d,_,p,b,m=!i[25]&&A_(i),v=!(i[21]||i[22])&&R_(i),C=i[20]&&E_(i);_=new Bl({props:{disable:i[13],$$slots:{default:[Cy]},$$scope:{ctx:i}}});let y=i[11]&&V_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=q(),a=S("div"),v&&v.c(),o=q(),c=S("div"),C&&C.c(),h=q(),d=S("div"),Ue(_.$$.fragment),p=q(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-6yngnc"),f(c,"class","fd-tool-layout__content-container svelte-6yngnc"),f(a,"class","fd-tool-layout__container lui-main-content svelte-6yngnc"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-6yngnc"),f(e,"class","lui-core-layout svelte-6yngnc")},m(P,A){L(P,e,A),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),C&&C.m(c,null),w(c,h),w(c,d),Oe(_,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,A){P[25]?m&&(we(),B(m,1,1,()=>{m=null}),ke()):m?(m.p(P,A),A[0]&33554432&&R(m,1)):(m=A_(P),m.c(),R(m,1),m.m(l,null)),P[21]||P[22]?v&&(we(),B(v,1,1,()=>{v=null}),ke()):v?(v.p(P,A),A[0]&6291456&&R(v,1)):(v=R_(P),v.c(),R(v,1),v.m(a,o)),P[20]?C?(C.p(P,A),A[0]&1048576&&R(C,1)):(C=E_(P),C.c(),R(C,1),C.m(c,h)):C&&(we(),B(C,1,1,()=>{C=null}),ke());const N={};A[0]&8192&&(N.disable=P[13]),A[0]&12288|A[5]&4&&(N.$$scope={dirty:A,ctx:P}),_.$set(N),P[11]?y||(y=V_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(_.$$.fragment,P),b=!0)},o(P){B(m),B(v),B(C),B(_.$$.fragment,P),b=!1},d(P){P&&T(e),m&&m.d(),v&&v.d(),C&&C.d(),Fe(_),y&&y.d()}}}function C_(i){let e,t;return e=new np({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Sy(i){let e,t,n,l,r,a,o,c,h;t=new Bl({props:{area:"main",disable:i[13]}});let d=i[12].displayed&&C_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),r=q(),d&&d.c(),a=ve(),f(l,"class","wcContainer svelte-6yngnc"),f(e,"class","fd-page iframeContainer svelte-6yngnc"),f(e,"tabindex","0"),Dn(e,"lui-split-view",i[12].displayed),Dn(e,"lui-collapsed",i[12].collapsed)},m(_,p){L(_,e,p),Oe(t,e,null),w(e,n),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(h=W_(i[46].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&Dn(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&Dn(e,"lui-collapsed",_[12].collapsed),_[12].displayed?d?(d.p(_,p),p[0]&4096&&R(d,1)):(d=C_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(we(),B(d,1,1,()=>{d=null}),ke())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){B(t.$$.fragment,_),B(d),o=!1},d(_){_&&T(e),Fe(t),_&&T(r),d&&d.d(_),_&&T(a),c=!1,h()}}}function y_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
65
|
+
<div class="fd-busy-indicator__circle"></div>
|
|
66
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-6yngnc"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function P_(i){let e,t,n,l,r,a,o,c;function h(C){i[81](C)}function d(C){i[82](C)}function _(C){i[83](C)}function p(C){i[84](C)}function b(C){i[85](C)}function m(C){i[86](C)}let v={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.displayCustomSearchResult=i[4]),i[5]!==void 0&&(v.searchResult=i[5]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new dp({props:v}),Xe.push(()=>ft(e,"isSearchFieldVisible",h)),Xe.push(()=>ft(e,"displaySearchResult",d)),Xe.push(()=>ft(e,"displayCustomSearchResult",_)),Xe.push(()=>ft(e,"searchResult",p)),Xe.push(()=>ft(e,"inputElem",b)),Xe.push(()=>ft(e,"luigiCustomSearchRenderer__slot",m)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){Ue(e.$$.fragment)},m(C,y){Oe(e,C,y),c=!0},p(C,y){const P={};y[0]&32768&&(P.pathData=C[15]),y[0]&16384&&(P.pathParams=C[14]),y[0]&524288&&(P.burgerTooltip=C[19]),!t&&y[0]&1&&(t=!0,P.isSearchFieldVisible=C[0],ut(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=C[3],ut(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=C[4],ut(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=C[5],ut(()=>r=!1)),!a&&y[0]&2&&(a=!0,P.inputElem=C[1],ut(()=>a=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=C[2],ut(()=>o=!1)),e.$set(P)},i(C){c||(R(e.$$.fragment,C),c=!0)},o(C){B(e.$$.fragment,C),c=!1},d(C){Fe(e,C)}}}function N_(i){let e,t,n,l;e=new hy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]);let r=i[20]&&I_(i);return{c(){Ue(e.$$.fragment),t=q(),r&&r.c(),n=ve()},m(a,o){Oe(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&32768&&(c.pathData=a[15]),o[0]&16384&&(c.pathParams=a[14]),e.$set(c),a[20]?r?(r.p(a,o),o[0]&1048576&&R(r,1)):(r=I_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(we(),B(r,1,1,()=>{r=null}),ke())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){B(e.$$.fragment,a),B(r),l=!1},d(a){Fe(e,a),a&&T(t),r&&r.d(a),a&&T(n)}}}function I_(i){let e,t;return e=new hp({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function T_(i){let e,t;return e=new ip({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function L_(i){let e,t;return e=new ay({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t,n,l,r,a,o,c;function h(C){i[75](C)}function d(C){i[76](C)}function _(C){i[77](C)}function p(C){i[78](C)}function b(C){i[79](C)}function m(C){i[80](C)}let v={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.displayCustomSearchResult=i[4]),i[5]!==void 0&&(v.searchResult=i[5]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new dp({props:v}),Xe.push(()=>ft(e,"isSearchFieldVisible",h)),Xe.push(()=>ft(e,"displaySearchResult",d)),Xe.push(()=>ft(e,"displayCustomSearchResult",_)),Xe.push(()=>ft(e,"searchResult",p)),Xe.push(()=>ft(e,"inputElem",b)),Xe.push(()=>ft(e,"luigiCustomSearchRenderer__slot",m)),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){Ue(e.$$.fragment)},m(C,y){Oe(e,C,y),c=!0},p(C,y){const P={};y[0]&32768&&(P.pathData=C[15]),y[0]&16384&&(P.pathParams=C[14]),y[0]&524288&&(P.burgerTooltip=C[19]),!t&&y[0]&1&&(t=!0,P.isSearchFieldVisible=C[0],ut(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=C[3],ut(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=C[4],ut(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=C[5],ut(()=>r=!1)),!a&&y[0]&2&&(a=!0,P.inputElem=C[1],ut(()=>a=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=C[2],ut(()=>o=!1)),e.$set(P)},i(C){c||(R(e.$$.fragment,C),c=!0)},o(C){B(e.$$.fragment,C),c=!1},d(C){Fe(e,C)}}}function R_(i){let e,t,n,l;return n=new ip({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-6yngnc"),f(e,"class","fd-tool-layout__navigation-container svelte-6yngnc")},m(r,a){L(r,e,a),w(e,t),Oe(n,t,null),l=!0},p(r,a){const o={};a[0]&32768&&(o.pathData=r[15]),a[0]&16384&&(o.pathParams=r[14]),a[0]&524288&&(o.burgerTooltip=r[19]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){B(n.$$.fragment,r),l=!1},d(r){r&&T(e),Fe(n)}}}function E_(i){let e,t;return e=new hp({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function D_(i){let e,t;return e=new np({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Cy(i){let e,t,n,l,r,a,o,c,h;t=new Bl({props:{area:"main",disable:i[13]}});let d=i[12].displayed&&D_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=q(),l=S("div"),r=q(),d&&d.c(),a=ve(),f(l,"class","wcContainer svelte-6yngnc"),f(e,"class","fd-page iframeContainer svelte-6yngnc"),f(e,"tabindex","0"),Dn(e,"lui-split-view",i[12].displayed),Dn(e,"lui-collapsed",i[12].collapsed)},m(_,p){L(_,e,p),Oe(t,e,null),w(e,n),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(h=W_(i[46].call(null,e)),c=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&Dn(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&Dn(e,"lui-collapsed",_[12].collapsed),_[12].displayed?d?(d.p(_,p),p[0]&4096&&R(d,1)):(d=D_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(we(),B(d,1,1,()=>{d=null}),ke())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){B(t.$$.fragment,_),B(d),o=!1},d(_){_&&T(e),Fe(t),_&&T(r),d&&d.d(_),_&&T(a),c=!1,h()}}}function V_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
67
|
+
<div class="fd-busy-indicator__circle"></div>
|
|
68
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-6yngnc"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&T(e)}}}function yy(i){let e,t,n,l,r,a,o,c,h,d,_,p,b=i[26]&&i[26].length&&m_(i),m=i[28],v=[];for(let V=0;V<m.length;V+=1)v[V]=v_(p_(i,m,V));const C=V=>B(v[V],1,1,()=>{v[V]=null});let y=i[29].displayed&&i[29].settings.isDrawer&&w_(i),P=i[27].displayed&&k_(i),A=i[18].displayed&&S_(i);const N=[ky,wy],D=[];function E(V,U){return V[30]?0:1}return o=E(i),c=D[o]=N[o](i),{c(){e=S("div"),b&&b.c(),t=q();for(let V=0;V<v.length;V+=1)v[V].c();n=q(),y&&y.c(),l=q(),P&&P.c(),r=q(),A&&A.c(),a=q(),c.c(),f(e,"id","app"),f(e,"class",h=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-6yngnc"),f(e,"configversion",i[24])},m(V,U){L(V,e,U),b&&b.m(e,null),w(e,t);for(let O=0;O<v.length;O+=1)v[O].m(e,null);w(e,n),y&&y.m(e,null),w(e,l),P&&P.m(e,null),w(e,r),A&&A.m(e,null),w(e,a),D[o].m(e,null),d=!0,_||(p=le(by,"resize",i[36]),_=!0)},p(V,U){if(V[26]&&V[26].length?b?(b.p(V,U),U[0]&67108864&&R(b,1)):(b=m_(V),b.c(),R(b,1),b.m(e,t)):b&&(we(),B(b,1,1,()=>{b=null}),ke()),U[0]&268443648|U[1]&1792){m=V[28];let O;for(O=0;O<m.length;O+=1){const W=p_(V,m,O);v[O]?(v[O].p(W,U),R(v[O],1)):(v[O]=v_(W),v[O].c(),R(v[O],1),v[O].m(e,n))}for(we(),O=m.length;O<v.length;O+=1)C(O);ke()}V[29].displayed&&V[29].settings.isDrawer?y?(y.p(V,U),U[0]&536870912&&R(y,1)):(y=w_(V),y.c(),R(y,1),y.m(e,l)):y&&(we(),B(y,1,1,()=>{y=null}),ke()),V[27].displayed?P?(P.p(V,U),U[0]&134217728&&R(P,1)):(P=k_(V),P.c(),R(P,1),P.m(e,r)):P&&(we(),B(P,1,1,()=>{P=null}),ke()),V[18].displayed?A?(A.p(V,U),U[0]&262144&&R(A,1)):(A=S_(V),A.c(),R(A,1),A.m(e,a)):A&&(we(),B(A,1,1,()=>{A=null}),ke()),c.p(V,U),(!d||U[0]&48234496&&h!==(h=(V[21]?"no-nav":"")+" "+(V[22]?"no-side-nav":"")+" "+(V[25]?"no-top-nav":"")+" "+(V[23]?"no-animation":"")+" svelte-6yngnc"))&&f(e,"class",h),(!d||U[0]&16777216)&&f(e,"configversion",V[24])},i(V){if(!d){R(b);for(let U=0;U<m.length;U+=1)R(v[U]);R(y),R(P),R(A),R(c),d=!0}},o(V){B(b),v=v.filter(my);for(let U=0;U<v.length;U+=1)B(v[U]);B(y),B(P),B(A),B(c),d=!1},d(V){V&&T(e),b&&b.d(),st(v,V),y&&y.d(),P&&P.d(),A&&A.d(),D[o].d(),_=!1,p()}}}function Py(i,e,t){const n=zt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,_,p,b,m,v,C,y,P,A,N,D,E,V,U,O,W,K,X,ne,Pe=!0,ee=!1,z,oe,ie,j=[],Le={isDirty:!1,persistUrl:null},re,Ee,Se=!1,de,Y,ce={},te,We,Ge,_e=ae.getConfigBooleanValue("settings.btpToolLayout"),{isSearchFieldVisible:De}=e,{inputElem:et}=e,{luigiCustomSearchRenderer__slot:Rt}=e,{displaySearchResult:gt}=e,{displayCustomSearchResult:Kt=!0}=e,{searchResult:_n}=e,{storedUserSettings:Et}=e;const ui=async H=>{const fe=H.iframe.luigi,Me=fe.currentNode&&fe.currentNode.userSettingsGroup,Je=await ae.readUserSettings(),Ae=Me&&typeof Je=="object"&&Je!==null,he=Re.applyCoreStateData({isNavigateBack:ee,viewStackSize:j.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Ae?Je[Me]:null,anchor:ol.getAnchor(),cssVariables:await Eo.getCSSVariables()});return Re.specialIframeTypes.map(He=>He.iframeConfigKey).forEach(He=>{he[He]=H[He]||!1}),he},Nn=async(H,fe={})=>{if(!H.iframe){console.debug("iframe does not exist, not able to send context.");return}const Me={msg:"luigi.init",context:JSON.stringify(Object.assign({},H.context||N,fe)),nodeParams:JSON.stringify(Object.assign({},H.nodeParams||D)),pathParams:JSON.stringify(Object.assign({},H.pathParams||E)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(H.iframe.luigi.currentNode))),internal:JSON.stringify(await ui(H)),authData:ul.getStoredAuthData()};H.iframe.luigi._lastUpdatedMessage=Me,Re.sendMessageToIframe(H.iframe,Me)},pn=H=>{const fe={msg:"luigi.auth.tokenIssued",authData:H};Re.broadcastMessageToAllIframes(fe)},an=(H,fe)=>{if(H.params.preserveView||H.params.viewgroup){const Me=bn(H.params),Je=nt.getNodePath(U,V);j.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?se.replaceVars(Je,fe.iframe.luigi.pathParams,":",!1):Je,nextPath:Me.startsWith("/")?Me:"/"+Me,context:N}),fe.iframe.pv="pv"}},In=(H,fe,Me,Je)=>{let Ae=bn(H.params,Me,Je);const{preventHistoryEntry:he,preserveQueryParams:He,preventContextUpdate:mt}=H.params,Bt={keepBrowserHistory:!he,navSync:Pe,preventContextUpdate:mt};return Ae=se.addLeadingSlash(Ae),Ae=He?be.composeSearchParamsToRoute(Ae):Ae,an(H,fe),nt.navigateTo(Ae,Bt)},It=H=>H.split("?")[0],dl=(H,fe)=>{if(H.length===0)return!1;const Me=fe.startsWith("/")?fe:`/${fe}`,Je=[...H].pop();return[It(Je.path),It(Je.nextPath)].includes(It(Me))},ti=H=>{Le&&Le.dirtySet&&(H?Le.dirtySet.delete(H):Le.dirtySet.clear())},mn=H=>new Promise((fe,Me)=>{Ii(H)?Gl().then(()=>{ti(),fe()},()=>{Me()}):fe()}),Qt=()=>({get:()=>({unsavedChanges:Le,hideNav:ml,viewUrl:O,nodeParams:D,viewGroup:W,urlParamsRaw:V,currentNode:U,navigationPath:oe,context:N,pathParams:E,hideSideNav:qi,isolateView:K,pageErrorHandler:X,previousNodeValues:ne,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:Ee,isNavigateBack:ee,goBackContext:z,isNavigationSyncEnabled:Pe}),set:H=>{H&&(t(23,bl=!1),Object.getOwnPropertyNames(H).forEach(fe=>{fe==="hideNav"?t(21,ml=H.hideNav):fe==="viewUrl"?O=H.viewUrl:fe==="nodeParams"?D=H.nodeParams:fe==="viewGroup"?W=H.viewGroup:fe==="urlParamsRaw"?V=H.urlParamsRaw:fe==="currentNode"?U=H.currentNode:fe==="navigationPath"?t(15,oe=H.navigationPath):fe==="context"?N=H.context:fe==="pathParams"?t(14,E=H.pathParams):fe==="hideSideNav"?(qi!=H.hideSideNav&&(t(23,bl=!0),setTimeout(()=>{const Me=document.querySelector("#app");Me&&Me.classList.remove("no-animation")})),t(22,qi=H.hideSideNav)):fe==="isolateView"?K=H.isolateView:fe==="pageErrorHandler"?X=H.pageErrorHandler:fe==="previousNodeValues"?ne=H.previousNodeValues:fe==="mfSplitView"?t(12,o=H.mfSplitView):fe==="splitViewValues"?c=H.splitViewValues:fe==="splitViewIframe"?C=H.splitViewIframe:fe=="splitViewWC"?P=H.splitViewWC:fe==="showLoadingIndicator"?H.showLoadingIndicator===!0?Ge=setTimeout(()=>{t(11,a=!0)},250):(t(11,a=!1),clearTimeout(Ge)):fe==="tabNav"?t(16,Ee=H.tabNav):fe==="isNavigateBack"?ee=H.isNavigateBack:fe==="goBackContext"?z=H.goBackContext:fe==="isNavigationSyncEnabled"&&(Pe=H.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ii,getUnsavedChangesModalPromise:mn,showUnsavedChangesModal:Gl,showAlert:wl,prepareInternalData:ui,dispatch:n}),qn=(H,fe)=>{un.doOnStoreChange(l,()=>{const Me=document.querySelector(".wcContainer");Me&&(Me.configChangedRequest=!0),Hn.deleteCache();const Je=nt.getCurrentPath();nt.handleRouteChange(Je,Qt(),H,fe)},["navigation.nodes"]),be.addRouteChangeListener((Me,Je)=>{const{withoutSync:Ae,preventContextUpdate:he}=Je||{};dl(j,Me)||(j=[],En.removeInactiveIframes(H));for(let mt=pt.length;mt--;)Pt(mt);Zr.removeBackdrop(),$(),nt.handleRouteChange(Me,Qt(),H,fe,Ae,he)})},en=(H,fe)=>se.replaceVars(nt.getNodePath(H),fe,":",!1),bn=(H,fe,Me)=>{const Je=fe||U,Ae=Me||E;let he=oe;if(fe){let mt=fe.parent;for(he=[fe];mt;)he.push(mt),mt=mt.parent;he=[...he].reverse()}let He=H.link;if(H.fromVirtualTreeRoot){const mt=[...he].reverse().find(Bt=>Bt.virtualTree);if(!mt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}He=nt.concatenatePath(en(mt,Ae),H.link)}else if(H.fromParent)He=nt.concatenatePath(en(Je.parent,Ae),H.link);else if(H.fromClosestContext){const mt=[...he].reverse().find(Bt=>Bt.navigationContext&&Bt.navigationContext.length>0);He=nt.concatenatePath(en(mt,Ae),H.link)}else if(H.fromContext){const mt=H.fromContext,Bt=[...he].reverse().find(Nr=>mt===Nr.navigationContext);He=nt.concatenatePath(en(Bt,Ae),H.link)}else H.intent?He=be.getIntentPath(H.link):H.relative&&(He=nt.concatenatePath(en(Je,Ae),H.link));return H.nodeParams&&Object.keys(H.nodeParams).length>0&&(He+=He.includes("?")?"&":"?",Object.entries(H.nodeParams).forEach((mt,Bt)=>{He+=encodeURIComponent(be.getContentViewParamPrefix()+mt[0])+"="+encodeURIComponent(mt[1])+(Bt<Object.keys(H.nodeParams).length-1?"&":"")})),He},fi=H=>{const fe=H.detail.node;mn().then(()=>{if(zl(),fe.openNodeInModal){const Me=be.buildRoute(fe,`/${fe.pathSegment}`);ji(Me,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const Me=be.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,kr(Me,fe.drawer)}else Qt().set({isNavigationSyncEnabled:!0}),nt.handleRouteClick(fe,Qt())},()=>{})},ki=()=>{t(17,Se=!Se)};Gr("handleNavigation",In);const fn=H=>H?!0:(console.warn("No search provider defined."),!1),Si=()=>{fn(Y)&&t(0,De=!1)},Ci=()=>{fn(Y)&&et&&(t(0,De=!0),et.focus())},yi=()=>{fn(Y)&&et&&(t(1,et.value="",et),Ni())},Pi=()=>{t(0,De=!De),Cw.clearSearchField()},hl=()=>{if(fn(Y)&&et)return et.value},gl=H=>{fn(Y)&&et&&(t(1,et.value=H,et),se.isFunction(Y.onInput)?Y.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=H=>{fn(Y)&&et&&t(1,et.placeholder=H,et)},Wi=H=>{if(fn(Y))if(H&&H.length>0)if(se.isFunction(Y.customSearchResultRenderer)){t(4,Kt=!0);let fe={fireItemSelected:Me=>{Y.onSearchResultItemSelected(Me)}};Y.customSearchResultRenderer(H,Rt,fe)}else t(3,gt=!0),t(5,_n=H);else console.warn("Search result array is empty.")},Ni=()=>{if(fn(Y)&&(t(3,gt=!1),t(5,_n=[]),Rt))for(;Rt.lastElementChild;)Rt.removeChild(Rt.lastElementChild)},pl=H=>{let fe=H.detail.node,Me={params:{link:fe.link,nodeParams:fe.params}};In(Me)},zi=(H,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=at.getDefaultData().mfSplitView),at.open(Qt(),H,fe)},$=()=>{at.close(Qt())},Te=()=>{at.collapse(Qt()),t(12,o.collapsed=!0,o)},ct=()=>{at.expand(Qt()),t(12,o.collapsed=!1,o)},Tt=()=>o.displayed?o.collapsed:!1,yt=()=>o.displayed?!o.collapsed:!1,sn=()=>o.displayed,vn=H=>{C=H.detail.splitViewIframe,y=H.detail.splitViewIframeData,t(12,o.collapsed=H.detail.collapsed,o)},ci=H=>{H.detail.displayed!==void 0&&t(12,o.displayed=H.detail.displayed,o),H.detail.collapsed!==void 0&&t(12,o.collapsed=H.detail.collapsed,o)},Gn=H=>{P=H.detail.splitViewWC,H.detail.splitViewWCData,t(12,o.collapsed=H.detail.collapsed,o)};let ml,qi,bl,Gi,Hl,Wl;const zl=()=>{document.body.classList.remove("lui-leftNavToggle")},br=()=>{yl();const H=window.innerWidth>=xt.desktopMinWidth&&Gi<xt.desktopMinWidth,fe=window.innerWidth<xt.desktopMinWidth&&Gi>=xt.desktopMinWidth;(H||fe)&&zl(),Gi=window.innerWidth};let wn=[];const vl=(H,fe)=>{if(!(!H||!(H.length>0)))return H.filter(Me=>Me.settings.id===fe)[0]},wl=(H,fe=!1)=>{const Me=ae.getConfigValue("settings.customAlertHandler");if(se.isFunction(Me)){const Ae=Me(H,fe);if(Ae!==!1)return Ae}const Je=wn;return H.id||(H.id=se.getRandomId()),H.id&&Je&&vl(Je,H.id)?(console.error(`The alert with id '${H.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(H.closeAfter&&setTimeout(()=>{vl(wn,H.id)&&ql(H.id)},H.closeAfter),new Promise((Ae,he)=>{t(26,wn=[...Je||[],{displayed:!0,settings:H,openFromClient:fe,promise:{resolve:Ae}}])}))},ql=(H,fe)=>{const Me=vl(wn,H);if(!Me){console.error("An unexisting alert has been dismissed.",wn,H);return}if(t(26,wn=wn.filter(Je=>Je.settings.id!==H)),Me.openFromClient){const Je=En.getActiveIframe(ie),Ae={msg:"luigi.ux.alert.hide",id:H,dismissKey:fe};Re.sendMessageToIframe(Je,Ae)}else Me.promise&&Me.promise.resolve(fe||H)},vr=H=>{ql(H.detail.id,H.detail.dismissKey)};let Ki;const kl=()=>{t(27,Ki={displayed:!1,content:{},openFromClient:!1,promise:null})};kl();const di=(H,fe=!1,Me)=>new Promise((Je,Ae)=>{t(27,Ki={displayed:!0,settings:H,openFromClient:fe,promise:{resolve:Je,reject:Ae},targetIframe:Me})}),Sl=H=>{const{promise:fe,openFromClient:Me,targetIframe:Je}=Ki;if(kl(),H?fe.resolve():fe.reject(),Me&&Je){const Ae={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:H}};Re.sendMessageToIframe(Je,Ae)}},Ii=H=>{if(Le.dirtySet){if(H)return Le.dirtySet.has(H);if(Le.dirtySet.size>0)return!0}return!1},Gl=()=>di({header:vt.getTranslation("luigi.unsavedChangesAlert.header"),body:vt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:vt.getTranslation("luigi.button.dismiss"),buttonConfirm:vt.getTranslation("luigi.button.confirm")}),wr=()=>Le.dirtySet?Le.dirtySet.size>0:Le.isDirty;Gr("getUnsavedChangesModalPromise",mn);let pt=[];const Ji=H=>{if(typeof H>"u"){t(28,pt=[]);return}t(28,pt=pt.filter((fe,Me)=>H!==Me))};Ji();const ji=async(H,fe)=>{if(await ye.shouldPreventNavigationForPath(H))return;const Me={mfModal:{displayed:!0,nodepath:H,settings:fe}};t(28,pt=[...pt,Me]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&pt.length===1&&nt.appendModalDataToUrl(H,fe)},Cl=(H,fe)=>{t(28,pt[fe].modalIframe=H.detail.modalIframe,pt),t(28,pt[fe].modalIframeData=H.detail.modalIframeData,pt)},Q=(H,fe)=>{t(28,pt[fe].modalWC=H.detail.modalWC,pt),t(28,pt[fe].modalWCData=H.detail.modalWCData,pt)},Pt=(H,fe,Me)=>{const Je=(He,mt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&pt.length===1&&nt.removeModalDataFromUrl(mt),Ji(He)},Ae=pt[H],he=se.getRemotePromise(Ae.mfModal.settings.onClosePromiseId);Ae&&Ae.modalIframe?mn(Ae.modalIframe.contentWindow).then(()=>{Je(H,fe),he&&he.doResolve(Me)},()=>{}):Ae&&Ae.modalWC&&(Je(H,fe),he&&he.doResolve(Me))};Gr("openViewInModal",ji);let kt={};const Kn=()=>{t(29,kt.displayed=!1,kt),t(29,kt.nodepath=void 0,kt),t(29,kt.settings={},kt),t(13,_=!1)};Kn();const kr=async(H,fe)=>{await ye.shouldPreventNavigationForPath(H)||(t(29,kt.displayed=!0,kt),t(29,kt.nodepath=H,kt),t(29,kt.settings=fe,kt),kt.settings&&kt.settings.backdrop&&t(13,_=!0))},Xr=()=>window.innerWidth>=xt.desktopMinWidth&&kt.displayed&&kt.settings&&!kt.settings.overlap,yl=()=>{if(!Xr())return;const H=document.querySelector(".iframeModalCtn._drawer"),fe=Re.getCurrentMicrofrontendIframe();if(H&&fe){fe.removeAttribute("style"),document.querySelector("div.iframeContainer").removeAttribute("style");const{width:Me}=getComputedStyle(H),Je=fe.clientWidth;fe.setAttribute("style",`width: calc(${Je}px - ${Me})`)}},Sr=H=>{p=H.detail.modalIframe,b=H.detail.modalIframeData,yl()},cs=H=>{m=H.detail.modalWC,H.detail.modalWCData,yl()},$r=H=>{d=H.detail.activeDrawer},Yi=H=>{if(H&&H.detail&&H.detail.activeDrawer!==void 0&&(d=H.detail.activeDrawer),!d||H&&H.detail&&H.detail.type!=="modal")try{p?mn(p.contentWindow).then(()=>{Kn()},()=>{}):m&&mn().then(()=>{Kn()},()=>{}),Re.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(fe){console.log(fe)}},xr=()=>{const H=cr.processUserSettingGroups();Array.isArray(H)&&H.length>0?(t(18,ce.userSettingGroups=[...H],ce),t(18,ce.displayed=!0,ce)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(18,ce.displayed=!1,ce)},ea=async H=>{if(await ye.shouldPreventNavigationForPath(H))return;ae.getConfigValue("routing.useHashRouting")&&(H="#"+H),window.open(H,"_blank","noopener,noreferrer")},ta=H=>{let fe=oe;if(U){let Ae=U.parent;for(fe=[U];Ae;)fe.push(Ae),Ae=Ae.parent;fe=[...fe].reverse()}let Me=H.link,Je=en(U,E);if(H.fromVirtualTreeRoot){const Ae=[...fe].reverse().find(He=>He.virtualTree);if(!Ae){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=en(Ae,E);Me=Je.split(he).join("")}else if(H.fromParent){const Ae=en(U.parent,E);Me=Je.split(Ae).join("")}else if(H.fromClosestContext){const Ae=[...fe].reverse().find(He=>He.navigationContext&&He.navigationContext.length>0),he=en(Ae,E);Me=Je.split(he).join("")}else if(H.fromContext){const Ae=H.fromContext,he=[...fe].reverse().find(mt=>Ae===mt.navigationContext),He=en(he,E);Me=Je.split(He).join("")}else Me=Je;return Me};function Cr(H){sessionStorage.removeItem("historyState"),ur.shouldPreload=!0,ur.preload(!0),ur.shouldPreload=!1;const fe=ae.getConfigValue("navigation.defaults.isolateView"),Me=ae.getConfigValue("navigation.defaults.pageErrorHandler"),Je=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ae={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:fe,defaultPageErrorHandler:Me};vt.addCurrentLocaleChangeListener(he=>{const He={msg:"luigi.current-locale-changed",currentLocale:he};Re.broadcastMessageToAllIframes(He)}),Vn.addEventListener("popstate",async he=>{const He=wn;if(!He||!(He.length>0))return;const mt=He.map(Bt=>{if(Bt&&!Bt.openFromClient&&typeof Bt.settings.ttl=="number"){if(Bt.settings.ttl===0)return null;Bt.settings.ttl--}return Bt}).filter(Bt=>Bt);t(26,wn=mt)}),Vn.addEventListener("message",async he=>{const He=Re.getValidMessageSource(he),mt=pt[pt.length-1],Bt=mt&&mt.modalIframe,Nr=mt&&mt.modalIframeData,Zi={modalIframe:Bt,modalIframeData:Nr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:A};if(!He)return;He._ready=!0;const Ir=Re.getSpecialIframeMessageSource(he,Zi),Ti=Ir&&Ir.length>0,Tr=ae.getConfigValue("communication.skipEventsWhenInactive");if(Tr&&Tr.length>0&&!Ti&&He.contentWindow!==window&&!se.isElementVisible(He)&&Tr.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Be=ae.getConfigValue("communication.customMessagesListeners")||{},St=rs.convertCustomMessageInternalToUser(he.data),bt=Be[St.id],Zt="luigi.updateUserSettings";if(ce&&St.id===Zt){bt&&console.warn(`The key "${Zt}" is not allowed to use for custom messages.`);return}if(typeof bt=="function"){const kn=si.getMicrofrontends().find(qt=>Re.isMessageSource(he,qt.container));bt(St,kn,se.removeInternalProperties(He.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${St.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(He.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(He.luigi.viewUrl=He.luigi.nextViewUrl,He.luigi.nextViewUrl="",He.luigi.clientPermissions=He.luigi.nextClientPermissions,delete He.luigi.nextClientPermissions,Ae.navigateOk=!0,ur.preload()),he.data.msg==="luigi.get-context"){if(He.luigi.clientVersion=he.data.clientVersion,He.luigi.initOk=!1,Ti)Ir.forEach(async Be=>{let St=Zi[Be.dataKey].context;const bt={...Ae,iframe:Zi[Be.iframeKey],context:St,pathParams:Zi[Be.dataKey].pathParams,nodeParams:Zi[Be.dataKey].nodeParams,searchParams:be.prepareSearchParamsForClient(Zi[Be.iframeKey].luigi.currentNode),modal:Be.iframeKey.startsWith("modal"),drawer:Be.iframeKey.startsWith("drawer"),splitView:Be.iframeKey.startsWith("splitView")};await Nn(bt,{})});else if(Ae.iframe&&Re.isMessageSource(he,Ae.iframe))await Nn(Ae,{}),(!U||!U.loadingIndicator||U.loadingIndicator.hideAutomatically!==!1)&&ia(),ur.preload();else if(He.luigi.preloading)await Nn({iframe:He,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Be=cr.findActiveCustomUserSettingsIframe(he.source);if(Be){let St=Be.getAttribute("userSettingsGroup"),bt={context:{userSettingsData:Et[St]},iframe:Be};await Nn(bt)}}ur.viewGroupLoaded(He)}if(he.data.msg==="luigi.show-loading-indicator"&&t(11,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Ge),t(11,a=!1)),he.data.msg==="luigi.navigation.open"){ee=!1;const Be=window.location.href,St=Ti?He.luigi.currentNode:void 0,bt=Ti?He.luigi.pathParams:void 0,Zt=he.data.params,{intent:kn,newTab:qt,modal:Xi,splitView:Jl,drawer:Pl,withoutSync:Ss}=Zt;let jl=qt||Xi||Jl||Pl;const ca=()=>{const Jn=se.getRemotePromise(he.data.remotePromiseId);Jn&&Jn.doResolve()},tn=()=>{const Jn=se.getRemotePromise(he.data.remotePromiseId);Jn&&Jn.doReject()},Nl=Jn=>{!Jn||Be!==window.location.href?ca():tn()};he.source!==window&&!kn&&Zt.link&&(Zt.link=Zt.link.split("?")[0]);let Dt=bn(he.data.params,St,bt);if(jl=jl||kn&&Dt.external,!jl)mn().then(()=>{Pe=!he.data.params.withoutSync,In(he.data,Ae,St,bt).then(()=>{Nl(!0)}).catch(()=>{tn()}),pt.forEach((Jn,da)=>{Pt(da)}),$(),Yi(),Pe=!0}).catch(()=>{tn()});else{if(kn&&Dt.external){nt.navigateToExternalLink({url:Dt.url,sameWindow:!Dt.openInNewTab});return}if(Dt=se.addLeadingSlash(Dt),qt){await ea(Dt),Nl();return}const Jn=await Kl(Dt);if(Dt=await be.handlePageNotFoundAndRetrieveRedirectPath(Qt(),Dt,Jn),!Dt){tn();return}ie=H,Xi!==void 0?(!Xi.keepPrevious&&Ji(),await ji(Dt,Xi===!0?{}:Xi),Nl()):Jl!==void 0?(await zi(Dt,Jl),Nl()):Pl!==void 0&&(Kn(),Pl.isDrawer=!0,await kr(Dt,Pl),Nl())}}if(he.data.msg==="luigi.navigation.back"){const Be=pt[pt.length-1],St=pt.length>1&&pt[pt.length-2],bt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Re.isMessageSource(he,Be&&Be.modalIframe)){Pt(pt.length-1,!0,bt);let Zt=Ae;if(St&&St.modalIframeData&&St.modalIframe){const kn=St,qt=kn.modalIframeData;Zt={pathParams:qt.pathParams,context:qt.context,iframe:kn.modalIframe}}Zt.iframe&&await Nn(Zt,{goBackContext:bt})}else Re.isMessageSource(he,C)?($(),Ae.iframe&&await Nn(Ae,{goBackContext:bt})):Re.isMessageSource(he,p)?(d&&(d=!d),Yi(),Ae.iframe&&await Nn(Ae,{goBackContext:bt})):j&&j.length>0?mn().then(()=>{En.setActiveIframeToPrevious(H);const Zt=j.pop();Ae.iframe=En.getActiveIframe(H),ee=!0,j=j,z=bt,In({params:{link:Zt.path}},Ae)},()=>{}):(bt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Be=he.data.data,bt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Be),correlationId:Be.id}};Re.sendMessageToIframe(He,bt)}if(he.data.msg==="luigi.auth.tokenIssued"&&pn(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ti){const Be=se.addLeadingSlash(bn(he.data.params,He.luigi.currentNode,He.luigi.pathParams));nt.updateModalDataInUrl(Be,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Be=He.luigi.currentNode,St=He.luigi.pathParams,bt=he.data.data,Zt=bn(bt,Be,St),kn=Zt?await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Zt):!1,qt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:bt.id,pathExists:kn?kn.isExistingRoute:!1}};Re.sendMessageToIframe(He,qt)}if(he.data.msg==="luigi.set-page-dirty"){if(!Le.dirtySet){const Be=new Set;Be.add(he.source),Le={dirtySet:Be}}Le.persistUrl=window.location.href,he.data.dirty?Le.dirtySet.add(he.source):Le.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Be=he.data.data.settings;ie=H,kl(),di(Be,!0,He).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Be}=he.data.data;if(!Be.text&&!se.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}ie=H,wl(Be,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(He.luigi.clientPermissions&&He.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Be}=he.data.data;Be&&vt.setCurrentLocale(Be)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(de&&!de.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&na(),he.data.msg==="storage"&&Yw.process(He.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Be=He.luigi.currentNode;Be&&Be.runTimeErrorHandler&&se.isFunction(Be.runTimeErrorHandler.errorFn)?Be.runTimeErrorHandler.errorFn(he.data.errorObj,Be):Je&&se.isFunction(Je.errorFn)&&Je.errorFn(he.data.errorObj,Be)}if(he.data.msg==="luigi.addSearchParams")if(He.luigi.currentNode.clientPermissions&&He.luigi.currentNode.clientPermissions.urlParameters){const{data:Be,keepBrowserHistory:St}=he.data;be.addSearchParamsFromClient(He.luigi.currentNode,Be,St)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Ti)return;const{data:Be,keepBrowserHistory:St}=he.data;ol.addNodeParams(Be,St)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Be}=he.data;ol.setAnchor(Be)}if(he.data.msg==="luigi.setVGData"){const Be=he.data,St=be.findViewGroup(He.luigi.currentNode);if(St){const bt=En.getViewGroupSettings(St);bt._liveCustomData=Be.data,ae.configChanged("navigation.viewgroupdata")}}}),qn(H,Ae)}Gr("store",l),Gr("getTranslation",r);const na=H=>{de&&de.thirdPartyCookieErrorHandling&&se.isFunction(de.thirdPartyCookieErrorHandling)&&de.thirdPartyCookieErrorHandling()};function ia(){const H=document.querySelector(".spinnerContainer.appSpinner");H&&H.classList.contains("fade-out")?(H.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Ge),t(11,a=!1)},250)):clearTimeout(Ge)}const Kl=async H=>{const fe={link:H,relative:H[0]!=="/",intent:be.hasIntent(H)},Me=bn(fe),Je=Me?await Ft.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Me):!1;return Je?Je.isExistingRoute:!1},yr=()=>pt.length>0||j.length!==0;Yt(()=>{if(Eo._init(),Y=ae.getConfigValue("globalSearch.searchProvider"),re=ae.getConfigValue("settings.responsiveNavigation"),Gi=window.innerWidth,re==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ye.getBurgerTooltipConfig()){const[H,fe]=ye.getBurgerTooltipConfig();H&&fe&&t(19,te=document.body.classList.contains("lui-leftNavToggle")?H:fe)}}else if(re==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ye.getBurgerTooltipConfig()){const[H,fe]=ye.getBurgerTooltipConfig();if(H&&fe){const Me=JSON.parse(localStorage.getItem(ye.COL_NAV_KEY));t(19,te=Me?H:fe)}}document.body.classList.add("lui-semiCollapsible")}de=ae.getConfigValue("settings.thirdPartyCookieCheck"),de&&de.thirdPartyCookieScriptLocation&&setTimeout(()=>{let H=document.createElement("iframe");H.width="0px",H.height="0px",H.src=de.thirdPartyCookieScriptLocation,document.body.appendChild(H),H.onload=function(){setTimeout(()=>{py()==="disabled"&&na()}),document.body.removeChild(H)}})}),fs(()=>{yl()}),zn(()=>{t(20,We=ae.getConfigValue("navigation.breadcrumbs")),Y=ae.getConfigValue("globalSearch.searchProvider"),t(24,Hl=ae.getConfigValue("tag")),t(25,Wl=ae.getConfigValue("settings.header.disabled"))});const Qi=H=>Pt(H,!0),la=(H,fe)=>Cl(fe,H),ra=(H,fe)=>Q(fe,H),hs=()=>Sl(!0),aa=()=>Sl(!1);function sa(H){Et=H,t(6,Et)}function oa(H){De=H,t(0,De)}function ua(H){gt=H,t(3,gt)}function gs(H){Kt=H,t(4,Kt)}function _s(H){_n=H,t(5,_n)}function ps(H){et=H,t(1,et)}function fa(H){Rt=H,t(2,Rt)}function ms(H){De=H,t(0,De)}function bs(H){gt=H,t(3,gt)}function vs(H){Kt=H,t(4,Kt)}function ws(H){_n=H,t(5,_n)}function Pr(H){et=H,t(1,et)}function ks(H){Rt=H,t(2,Rt)}return i.$$set=H=>{"store"in H&&t(47,l=H.store),"getTranslation"in H&&t(48,r=H.getTranslation),"isSearchFieldVisible"in H&&t(0,De=H.isSearchFieldVisible),"inputElem"in H&&t(1,et=H.inputElem),"luigiCustomSearchRenderer__slot"in H&&t(2,Rt=H.luigiCustomSearchRenderer__slot),"displaySearchResult"in H&&t(3,gt=H.displaySearchResult),"displayCustomSearchResult"in H&&t(4,Kt=H.displayCustomSearchResult),"searchResult"in H&&t(5,_n=H.searchResult),"storedUserSettings"in H&&t(6,Et=H.storedUserSettings)},[De,et,Rt,gt,Kt,_n,Et,Pi,Ni,pl,ds,a,o,_,E,oe,Ee,Se,ce,te,We,ml,qi,bl,Hl,Wl,wn,Ki,pt,kt,_e,fi,ki,vn,ci,Gn,br,vr,Sl,Cl,Q,Pt,Sr,cs,$r,Yi,Cr,l,r,Si,Ci,yi,hl,gl,_l,Wi,zi,$,Te,ct,Tt,yt,sn,wl,di,wr,xr,Kl,yr,Qi,la,ra,hs,aa,sa,oa,ua,gs,_s,ps,fa,ms,bs,vs,ws,Pr,ks]}class Ny extends Ot{constructor(e){super(),Mt(this,e,Py,yy,At,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:7,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:8,handleSearchNavigation:9,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:10,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const Iy=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let a=n[r];a||(a=new Set,n[r]=a),a.add(l)},fire:(l,r)=>{let a=n[l];a&&[...a].forEach(o=>{o(r)})}}},gp=Iy(),Ty=pw((i,e,t)=>vt.getTranslation(i,e,t));Luigi._store=gp;const Ly=()=>new Promise(i=>{vt._init(),rn.init().then(()=>{setTimeout(()=>{let e;si.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Ny({target:si.getLuigiContainer(),props:{store:gp,getTranslation:Ty}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});ae.setConfigCallbacks(Ly);
|
|
61
69
|
//# sourceMappingURL=luigi.js.map
|