@luigi-project/core 2.7.5 → 2.7.6-dev.20231290025

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/luigi.js +15 -15
  2. package/luigi.js.map +1 -1
  3. package/package.json +1 -1
package/luigi.js CHANGED
@@ -1,11 +1,11 @@
1
- function Fe(){}function lw(i,e){for(const t in e)i[t]=e[t];return i}function rw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function $g(i){return i()}function Mf(){return Object.create(null)}function Ze(i){i.forEach($g)}function Ml(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 sw(i){return Object.keys(i).length===0}function Ao(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ll(i){let e;return Ao(i,t=>e=t)(),e}function Ci(i,e,t){i.$$.on_destroy.push(Ao(e,t))}function xg(i,e,t,n){if(i){const l=e_(i,e,t,n);return i[0](l)}}function e_(i,e,t,n){return i[1]&&n?lw(t.ctx.slice(),i[1](n(e))):t.ctx}function t_(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 n_(i,e,t,n,l,r){if(l){const s=e_(e,t,n,r);i.p(s,l)}}function i_(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 aw(i){return i&&Ml(i.destroy)?i.destroy:Fe}function S(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function dt(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 ow(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 ae(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 uw(i){return Array.from(i.childNodes)}function Ie(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Of(i,e){i.value=e==null?"":e}function ui(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function vi(i,e,t){i.classList[t?"add":"remove"](e)}function fw(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=ow(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)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let Yr;function Oi(i){Yr=i}function ol(){if(!Yr)throw new Error("Function called outside component initialization");return Yr}function qn(i){ol().$$.before_update.push(i)}function Jt(i){ol().$$.on_mount.push(i)}function fa(i){ol().$$.after_update.push(i)}function Xr(i){ol().$$.on_destroy.push(i)}function Wt(){const i=ol();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=fw(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function jr(i,e){return ol().$$.context.set(i,e),e}function ht(i){return ol().$$.context.get(i)}function Rl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const or=[],$e=[],ea=[],Po=[],cw=Promise.resolve();let No=!1;function dw(){No||(No=!0,cw.then(Ro))}function Io(i){ea.push(i)}function bt(i){Po.push(i)}const Co=new Set;let rr=0;function Ro(){if(rr!==0)return;const i=Yr;do{try{for(;rr<or.length;){const e=or[rr];rr++,Oi(e),hw(e.$$)}}catch(e){throw or.length=0,rr=0,e}for(Oi(null),or.length=0,rr=0;$e.length;)$e.pop()();for(let e=0;e<ea.length;e+=1){const t=ea[e];Co.has(t)||(Co.add(t),t())}ea.length=0}while(or.length);for(;Po.length;)Po.pop()();No=!1,Co.clear(),Oi(i)}function hw(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(Io)}}const ta=new Set;let El;function ye(){El={r:0,c:[],p:El}}function Pe(){El.r||Ze(El.c),El=El.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),El.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&&_&&(ye(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Pe())}):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&&Ro()}if(rw(i)){const l=ol();if(i.then(r=>{Oi(l),n(e.then,1,e.value,r),Oi(null)},r=>{if(Oi(l),n(e.catch,2,e.error,r),Oi(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 l_(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 ul=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 ze(i){i&&i.c()}function We(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Io(()=>{const s=i.$$.on_mount.map($g).filter(Ml);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(Io)}function qe(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 gw(i,e){i.$$.dirty[0]===-1&&(or.push(i),dw(),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=Yr;Oi(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&&gw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=uw(e.target);g.fragment&&g.fragment.l(_),_.forEach(L)}else g.fragment&&g.fragment.c();e.intro&&M(i.$$.fragment),We(i,e.target,e.anchor,e.customElement),Ro()}Oi(f)}class Rt{$destroy(){qe(this,1),this.$destroy=Fe}$on(e,t){if(!Ml(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&&!sw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class _w{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),ie.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ie.getConfigValueFromObject(e,t);return ie.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const la=new _w;class pw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ra=new pw;class mw{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 mw;class bw{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()=>{Zw.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=an.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),fi.getLuigiContainer().appendChild(n)}getConfigValue(e){return ie.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ie.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return la.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ie.isFunction(l))try{return await la.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return wi.isAuthorizationEnabled()}unload(){this.initialized=!1,nn.unload(),Rn.removeAllEventListeners();const e=fi.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&ie.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&ie.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){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 bw;class vw{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:()=>oi.getStorageKey(),getStorageType:()=>oi.getStorageType(),getAuthData:()=>oi.getAuthData(),setAuthData:e=>oi.setAuthData(e),removeAuthData:()=>oi.removeAuthData(),setNewlyAuthorized:()=>oi.setNewlyAuthorized()}}}const r_=new vw,$t={desktopMinWidth:600},ww=[{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"}],Sw={cssSelector:"[luigi-app-root]"},kw={cssSelector:"[luigi-app-loading-indicator]"};class Cw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Sw.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 Te.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Te.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Te.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const s_=new Cw;class yw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class xn extends yw{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=ie.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(ie.isFunction(n)){const l=ie.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}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(ie.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class Pw{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 a_=new Pw,Nw={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"}}},Iw=Nw;class Tw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Iw,this.listeners={}}_init(){an.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(ie.isFunction(e)){const t=ie.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),sa.configChanged()}_initCustomImplementation(){this.translationImpl=sa.getConfigValue("settings.customTranslationImplementation"),ie.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let 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 o_=new Tw;class Lw{sendToAll(e){const t=ra.convertCustomMessageUserToInternal(e);Te.getMicrofrontendsInDom().map(n=>n.container).map(n=>Te.sendMessageToIframe(n,t))}send(e,t){const n=ra.convertCustomMessageUserToInternal(t);Te.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Te.sendMessageToIframe(l,n))}}const Aw=new Lw,sr=[];function Rw(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 Ew{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 bi=new Ew;class Dw{constructor(){this.documentTitle=dr()}hideAppLoadingIndicator(){const e=document.querySelector(kw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ie.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(ie.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return ll(this.documentTitle)}collapseLeftSideNav(e){bi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const u_=new Dw;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 f_=new Vw;class Mw{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){ie.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&&Qr.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")};an.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const c_=new Mw;class Ow{constructor(){this.featureToggleList=dr([])}setFeatureToggle(e,t=!1){!this.isValid(e)||e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ll(this.featureToggleList).push(e)}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ll(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ll(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ll(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ie.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return ll(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ll(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}}const d_=new Ow;class Fw{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(!ie.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(!ie.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 h_=new Fw,re=sa,wi=r_,fi=s_,g_=a_,pt=o_,$r=u_,Uw=f_,To=c_,Eo=d_,rl=h_;window.Luigi=sa;window.Luigi.auth=()=>r_;window.Luigi.elements=()=>s_;window.Luigi.navigation=()=>a_;window.Luigi.i18n=()=>o_;window.Luigi.customMessages=()=>Aw;window.Luigi.ux=()=>u_;window.Luigi.globalSearch=()=>f_;window.Luigi.theming=()=>c_;window.Luigi.featureToggles=()=>d_;window.Luigi.routing=()=>h_;class Bw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ie.isElementVisible)}setActiveIframeToPrevious(e){const t=Te.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Te.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!ie.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}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()})};Te.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()})};Te.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:(Te.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||ie.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const s=Te.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),f=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Te.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Te.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 w;if(!f&&l.viewGroup){const y=Te.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(w=y[0],h=this.switchActiveIframe(n,w,h&&!h.vg))}h&&!w&&(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(),Te.hideElementChildren(n)):Te.removeElementChildren(n),l.viewUrl){ie.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const w=l.viewGroup&&!f&&this.canCache(l.viewGroup);e.iframe=Te.createIframe(r,w?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)];Te.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 w=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:w})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Te.getVisibleIframes().forEach(T=>{T!==e.iframe&&(T.userSettingsGroup?Luigi.readUserSettings().then(D=>{Te.sendMessageToIframe(T,{msg:"luigi.navigate",context:{userSettingsData:D[T.userSettingsGroup]},internal:Te.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)})}):Te.sendMessageToIframe(T,{msg:"luigi.navigate",context:T.luigi._lastUpdatedMessage.context,nodeParams:T.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},T.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Te.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)}))}),Te.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const An=new Bw;class Hw{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=An.getAllViewGroupSettings();if(!l)return;const r=Te.getIframeContainer(),s=Te.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=Te.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 Hw;class Ww{async getNavigationPath(e,t=""){try{const n=ie.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Wn.hasRootNode()&&(l=Wn.getRootNode().node),!l){const _=await e;ie.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=ie.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ie.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 Fe(){}function lw(i,e){for(const t in e)i[t]=e[t];return i}function rw(i){return!!i&&(typeof i=="object"||typeof i=="function")&&typeof i.then=="function"}function $g(i){return i()}function Mf(){return Object.create(null)}function Ze(i){i.forEach($g)}function Ml(i){return typeof i=="function"}function Tt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ea;function lt(i,e){return ea||(ea=document.createElement("a")),ea.href=e,i===ea.href}function sw(i){return Object.keys(i).length===0}function Ro(i,...e){if(i==null)return Fe;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function sl(i){let e;return Ro(i,t=>e=t)(),e}function ki(i,e,t){i.$$.on_destroy.push(Ro(e,t))}function xg(i,e,t,n){if(i){const l=e_(i,e,t,n);return i[0](l)}}function e_(i,e,t,n){return i[1]&&n?lw(t.ctx.slice(),i[1](n(e))):t.ctx}function t_(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 n_(i,e,t,n,l,r){if(l){const s=e_(e,t,n,r);i.p(s,l)}}function i_(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function xn(i){return i==null?"":i}function aw(i){return i&&Ml(i.destroy)?i.destroy:Fe}function S(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function dt(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 ow(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 ae(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Ot(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Bt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function c(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function uw(i){return Array.from(i.childNodes)}function Ie(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 fw(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class hr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=ow(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)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let Kr;function Oi(i){Kr=i}function fl(){if(!Kr)throw new Error("Function called outside component initialization");return Kr}function qn(i){fl().$$.before_update.push(i)}function Jt(i){fl().$$.on_mount.push(i)}function da(i){fl().$$.after_update.push(i)}function Yr(i){fl().$$.on_destroy.push(i)}function Wt(){const i=fl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=fw(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function zr(i,e){return fl().$$.context.set(i,e),e}function gt(i){return fl().$$.context.get(i)}function Rl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const sr=[],$e=[],na=[],No=[],cw=Promise.resolve();let Io=!1;function dw(){Io||(Io=!0,cw.then(Eo))}function To(i){na.push(i)}function bt(i){No.push(i)}const yo=new Set;let ir=0;function Eo(){if(ir!==0)return;const i=Kr;do{try{for(;ir<sr.length;){const e=sr[ir];ir++,Oi(e),hw(e.$$)}}catch(e){throw sr.length=0,ir=0,e}for(Oi(null),sr.length=0,ir=0;$e.length;)$e.pop()();for(let e=0;e<na.length;e+=1){const t=na[e];yo.has(t)||(yo.add(t),t())}na.length=0}while(sr.length);for(;No.length;)No.pop()();Io=!1,yo.clear(),Oi(i)}function hw(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(To)}}const ia=new Set;let El;function ye(){El={r:0,c:[],p:El}}function Pe(){El.r||Ze(El.c),El=El.p}function M(i,e){i&&i.i&&(ia.delete(i),i.i(e))}function q(i,e,t,n){if(i&&i.o){if(ia.has(i))return;ia.add(i),El.c.push(()=>{ia.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ra(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&&_&&(ye(),q(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Pe())}):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&&Eo()}if(rw(i)){const l=fl();if(i.then(r=>{Oi(l),n(e.then,1,e.value,r),Oi(null)},r=>{if(Oi(l),n(e.catch,2,e.error,r),Oi(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 l_(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 cl=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 Ge(i){i&&i.c()}function We(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||To(()=>{const s=i.$$.on_mount.map($g).filter(Ml);i.$$.on_destroy?i.$$.on_destroy.push(...s):Ze(s),i.$$.on_mount=[]}),r.forEach(To)}function qe(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 gw(i,e){i.$$.dirty[0]===-1&&(sr.push(i),dw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Rt(i,e,t,n,l,r,s,o=[-1]){const f=Kr;Oi(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&&gw(i,_)),p}):[],g.update(),h=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=uw(e.target);g.fragment&&g.fragment.l(_),_.forEach(L)}else g.fragment&&g.fragment.c();e.intro&&M(i.$$.fragment),We(i,e.target,e.anchor,e.customElement),Eo()}Oi(f)}class Et{$destroy(){qe(this,1),this.$destroy=Fe}$on(e,t){if(!Ml(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&&!sw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class _w{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),ie.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ie.getConfigValueFromObject(e,t);return ie.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const sa=new _w;class pw{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const aa=new pw;class mw{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 mw;class bw{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()=>{Zw.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=an.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 ie.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ie.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return sa.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ie.isFunction(l))try{return await sa.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&&ie.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&ie.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){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 oa=new bw;class vw{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 r_=new vw,xt={desktopMinWidth:600},ww=[{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"}],Sw={cssSelector:"[luigi-app-root]"},kw={cssSelector:"[luigi-app-loading-indicator]"};class Cw{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return Boolean(this.getLuigiContainer()===this.getCustomLuigiContainer())}getCustomLuigiContainer(){return document.querySelector(Sw.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 Te.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Te.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Te.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}}const s_=new Cw;class yw{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class $n extends yw{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=ie.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(ie.isFunction(n)){const l=ie.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}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(ie.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class Pw{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new $n().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new $n().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new $n().openAsSplitView(e,t)}openAsDrawer(e,t){return new $n().openAsDrawer(e,t)}fromContext(e){return new $n().fromContext(e)}fromClosestContext(){return new $n().fromClosestContext()}fromVirtualTreeRoot(){return new $n().fromVirtualTreeRoot()}withParams(e){return new $n().withParams(e)}pathExists(e){return new $n().pathExists(e)}hasBack(){return new $n().hasBack()}goBack(e){return new $n().goBack(e)}}const a_=new Pw,Nw={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"}}},Iw=Nw;class Tw{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Iw,this.listeners={}}_init(){an.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(ie.isFunction(e)){const t=ie.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),oa.configChanged()}_initCustomImplementation(){this.translationImpl=oa.getConfigValue("settings.customTranslationImplementation"),ie.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let 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("{"+dr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const o_=new Tw;class Lw{sendToAll(e){const t=aa.convertCustomMessageUserToInternal(e);Te.getMicrofrontendsInDom().map(n=>n.container).map(n=>Te.sendMessageToIframe(n,t))}send(e,t){const n=aa.convertCustomMessageUserToInternal(t);Te.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Te.sendMessageToIframe(l,n))}}const Aw=new Lw,lr=[];function Rw(i,e){return{subscribe:fr(i,e).subscribe}}function fr(i,e=Fe){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const f=!lr.length;for(const g of n)g[1](),lr.push(g,i);if(f){for(let g=0;g<lr.length;g+=2)lr[g][0](lr[g+1]);lr.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 Ew{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<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(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 Ew;class Dw{constructor(){this.documentTitle=fr()}hideAppLoadingIndicator(){const e=document.querySelector(kw.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ie.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(ie.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return sl(this.documentTitle)}collapseLeftSideNav(e){mi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new $n().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}}const u_=new Dw;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 f_=new Vw;class Mw{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){ie.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&&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")};an.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}}const c_=new Mw;class Ow{constructor(){this.featureToggleList=fr([])}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 ie.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 d_=new Ow;class Fw{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(!ie.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(!ie.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 h_=new Fw,re=oa,vi=r_,ui=s_,g_=a_,pt=o_,Qr=u_,Uw=f_,Lo=c_,Do=d_,al=h_;window.Luigi=oa;window.Luigi.auth=()=>r_;window.Luigi.elements=()=>s_;window.Luigi.navigation=()=>a_;window.Luigi.i18n=()=>o_;window.Luigi.customMessages=()=>Aw;window.Luigi.ux=()=>u_;window.Luigi.globalSearch=()=>f_;window.Luigi.theming=()=>c_;window.Luigi.featureToggles=()=>d_;window.Luigi.routing=()=>h_;class Bw{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ie.isElementVisible)}setActiveIframeToPrevious(e){const t=Te.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Te.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!ie.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}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()})};Te.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()})};Te.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:(Te.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||ie.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const s=Te.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),f=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Te.canReuseIframe(e,t);let h=this.getActiveIframe(n);const _=Te.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 w;if(!f&&l.viewGroup){const y=Te.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(w=y[0],h=this.switchActiveIframe(n,w,h&&!h.vg))}h&&!w&&(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(),Te.hideElementChildren(n)):Te.removeElementChildren(n),l.viewUrl){ie.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const w=l.viewGroup&&!f&&this.canCache(l.viewGroup);e.iframe=Te.createIframe(r,w?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)];Te.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 w=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:w})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Te.getVisibleIframes().forEach(T=>{T!==e.iframe&&(T.userSettingsGroup?Luigi.readUserSettings().then(D=>{Te.sendMessageToIframe(T,{msg:"luigi.navigate",context:{userSettingsData:D[T.userSettingsGroup]},internal:Te.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)})}):Te.sendMessageToIframe(T,{msg:"luigi.navigate",context:T.luigi._lastUpdatedMessage.context,nodeParams:T.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},T.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Te.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)}))}),Te.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const Ln=new Bw;class Hw{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=Te.getIframeContainer(),s=Te.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=Te.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 rr=new Hw;class Ww{async getNavigationPath(e,t=""){try{const n=ie.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Wn.hasRootNode()&&(l=Wn.getRootNode().node),!l){const _=await e;ie.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 sa.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)?Mt.getChildrenFromCache(e):await Mt.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(":","")]=dr.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=ie.removeProperties(e,g);Object.assign(h,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ie.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.
2
2
  Children nodes are redundant and ignored when virtualTree is enabled.
3
3
  Please refer to documentation`),e.children=[h]}}findMatchingNode(e,t){let n=null;const l=t.filter(s=>!!s.pathSegment).length,r=t.filter(s=>s.pathSegment&&s.pathSegment.startsWith(":")).length;return e=e.includes("#")?e.split("#").shift():e,l>1&&(r===1&&(console.warn(`Invalid node setup detected.
4
4
  Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
5
5
  Remove the static node from the configuration to resolve this warning.
6
6
  Affected pathSegment:`,e,"Children:",t),t=t.filter(s=>s.pathSegment&&s.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(s=>{if(s.pathSegment===e||s.pathSegment&&s.pathSegment.startsWith(":"))return n=s,!0}),n)}onNodeChange(e,t){const n=re.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(Wn.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)?Se.groupNodesBy(n,"category",!0):{children:Se.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!me.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let s=[...r].pop(),o;(s.keepSelectedForChildren||s.tabNav)&&(o=s,r.pop(),s=[...r].pop());const f=await this.getChildren(s,(l=t.pathData)==null?void 0:l._context),g=this.getGroupedChildren(f,e);n.navParent=g.parent||s,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const h=g.children;Object.values(h).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||s,n.children=h,re.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,Se.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(s=>{s===t&&r.metaInfo&&r.metaInfo.collapsible&&Se.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 s=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(s.tabNav?s:Se.getParentNode(s,e.pathData),(l=e.pathData)==null?void 0:l._context),f=this.getGroupedChildren(o,e).children;n.selectedNode=s,n.selectedNodeForTabNav=s,n.children=f}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(ie.isFunction(e.onNodeActivation)||ie.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Vt=new Ww,al={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},qw={externalLink:{sameWindow:!1}};class hr{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 zw extends hr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=__({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 Gw extends hr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
8
+ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.pathSegment.startsWith(":"))return n=s,!0}),n)}onNodeChange(e,t){const n=re.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(Wn.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)?Se.groupNodesBy(n,"category",!0):{children:Se.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!me.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let s=[...r].pop(),o;(s.keepSelectedForChildren||s.tabNav)&&(o=s,r.pop(),s=[...r].pop());const f=await this.getChildren(s,(l=t.pathData)==null?void 0:l._context),g=this.getGroupedChildren(f,e);n.navParent=g.parent||s,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const h=g.children;Object.values(h).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||s,n.children=h,re.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,Se.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(s=>{s===t&&r.metaInfo&&r.metaInfo.collapsible&&Se.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 s=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(s.tabNav?s:Se.getParentNode(s,e.pathData),(l=e.pathData)==null?void 0:l._context),f=this.getGroupedChildren(o,e).children;n.selectedNode=s,n.selectedNodeForTabNav=s,n.children=f}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:me.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(ie.isFunction(e.onNodeActivation)||ie.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Mt=new Ww,ul={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},qw={externalLink:{sameWindow:!1}};class cr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class zw extends cr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=__({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 Gw extends cr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
9
9
  .${e} {
10
10
  grid-template-columns: ${l.columns||"auto"};
11
11
  grid-template-rows: ${l.rows||"auto"};
@@ -23,39 +23,39 @@ 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 __=i=>{const e=i.use;if(e){if(e==="grid")return new Gw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new zw(i)}else return new hr(i);return new hr(i)},Ff=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,s=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};s?s.push(o):i[r]=[o]})},Kw=i=>Object.entries(i).reduce((e,t)=>(e[Uf(t[0])]=Uf(t[1]),e),{}),Uf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/");class jw{constructor(){}dynamicImport(e){return import(e)}attachWC(e,t,n,l,r,s,o){if(n&&n.contains(t)){const f=document.createElement(e);s&&f.setAttribute("nodeId",s),f.setAttribute("lui_web_component",!0),this.initWC(f,e,n,r,l,s,o),n.replaceChild(f,t)}}initWC(e,t,n,l,r,s,o){const f=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const g={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:_=>{n.eventBus&&n.eventBus.onPublishEvent(_,s,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 me.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 _?Kw(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(f,g,_.origin+_.pathname)}else e.context=f,e.nodeParams=r.nodeParams,e.LuigiClient=g;const h=re.getConfigValue("settings.webcomponentCreationInterceptor");ie.isFunction(h)&&h(e,r.currentNode,r,s,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=me.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(s=>{try{if(!window.customElements.get(t)){let o=s.default;if(!HTMLElement.isPrototypeOf(o)){let f=Object.keys(s);for(let g=0;g<f.length&&(o=s[f[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(s=>r(s)):(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,s)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,s)});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=re.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,s){var _;const o=n.context,f=me.substituteViewUrl(e,{context:o}),g=((_=l==null?void 0:l.webcomponent)==null?void 0:_.tagName)||this.generateWCId(f),h=document.createElement("div");t.appendChild(h),t._luigi_node=l,window.customElements.get(g)?this.attachWC(g,h,t,n,f,r,s):window.luigiWCFn?window.luigiWCFn(f,g,h,()=>{this.attachWC(g,h,t,n,f,r,s)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,f,()=>{this.attachWC(g,h,t,n,f,r,s)}):this.registerWCFromUrl(f,g).then(()=>{this.attachWC(g,h,t,n,f,r,s)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var s,o;if(e.viewUrl)try{const f=((s=n==null?void 0:n.webcomponent)==null?void 0:s.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const g=document.createElement(f);this.initWC(g,f,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,f).then(()=>{const g=document.createElement(f);this.initWC(g,f,g,e.viewUrl,t,"_root"),l(g)})}catch(f){r(f)}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 hr,r.viewUrl=me.substituteViewUrl(e.viewUrl,{context:l}),r.createCompoundItemContainer=s=>{var o=document.createElement("div");return s&&s.slot&&o.setAttribute("slot",s.slot),o}):e.compound.renderer&&(r=__(e.compound.renderer)),r=r||new hr,new Promise(s=>{this.createCompoundContainerAsync(r,n,e).then(o=>{const f={};o.eventBus={listeners:f,onPublishEvent:(g,h,_)=>{const p=f[h+"."+g.type]||[];p.push(...f["*."+g.type]||[]),p.forEach(b=>{const v=b.wcElement||o.querySelector("[nodeId="+b.wcElementId+"]");v?v.dispatchEvent(new CustomEvent(b.action,{detail:b.converter?b.converter(g.detail):g.detail})):console.debug("Could not find event target",b)})}},e.compound.children.forEach((g,h)=>{const _={...l,...g.context},p=r.createCompoundItemContainer(g.layoutConfig);p.eventBus=o.eventBus,r.attachCompoundItem(o,p);const b=g.id||"gen_"+h;this.renderWebComponent(g.viewUrl,p,{context:_},g,b,!0),Ff(f,g,b)}),t.appendChild(o),Ff(f,e.compound,"_root",o),s(o)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;re.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const cr=new jw;var Jr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vl={exports:{}};/**
26
+ `,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const __=i=>{const e=i.use;if(e){if(e==="grid")return new Gw(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new zw(i)}else return new cr(i);return new cr(i)},Ff=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,s=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};s?s.push(o):i[r]=[o]})},Kw=i=>Object.entries(i).reduce((e,t)=>(e[Uf(t[0])]=Uf(t[1]),e),{}),Uf=(i="")=>String(i).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/");class jw{constructor(){}dynamicImport(e){return import(e)}attachWC(e,t,n,l,r,s,o){if(n&&n.contains(t)){const f=document.createElement(e);s&&f.setAttribute("nodeId",s),f.setAttribute("lui_web_component",!0),this.initWC(f,e,n,r,l,s,o),n.replaceChild(f,t)}}initWC(e,t,n,l,r,s,o){const f=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const g={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:_=>{n.eventBus&&n.eventBus.onPublishEvent(_,s,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 me.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 _?Kw(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(f,g,_.origin+_.pathname)}else e.context=f,e.nodeParams=r.nodeParams,e.LuigiClient=g;const h=re.getConfigValue("settings.webcomponentCreationInterceptor");ie.isFunction(h)&&h(e,r.currentNode,r,s,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=me.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(s=>{try{if(!window.customElements.get(t)){let o=s.default;if(!HTMLElement.isPrototypeOf(o)){let f=Object.keys(s);for(let g=0;g<f.length&&(o=s[f[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(s=>r(s)):(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,s)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,s)});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=re.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,s){var _;const o=n.context,f=me.substituteViewUrl(e,{context:o}),g=((_=l==null?void 0:l.webcomponent)==null?void 0:_.tagName)||this.generateWCId(f),h=document.createElement("div");t.appendChild(h),t._luigi_node=l,window.customElements.get(g)?this.attachWC(g,h,t,n,f,r,s):window.luigiWCFn?window.luigiWCFn(f,g,h,()=>{this.attachWC(g,h,t,n,f,r,s)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,f,()=>{this.attachWC(g,h,t,n,f,r,s)}):this.registerWCFromUrl(f,g).then(()=>{this.attachWC(g,h,t,n,f,r,s)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var s,o;if(e.viewUrl)try{const f=((s=n==null?void 0:n.webcomponent)==null?void 0:s.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const g=document.createElement(f);this.initWC(g,f,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,f).then(()=>{const g=document.createElement(f);this.initWC(g,f,g,e.viewUrl,t,"_root"),l(g)})}catch(f){r(f)}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 cr,r.viewUrl=me.substituteViewUrl(e.viewUrl,{context:l}),r.createCompoundItemContainer=s=>{var o=document.createElement("div");return s&&s.slot&&o.setAttribute("slot",s.slot),o}):e.compound.renderer&&(r=__(e.compound.renderer)),r=r||new cr,new Promise(s=>{this.createCompoundContainerAsync(r,n,e).then(o=>{const f={};o.eventBus={listeners:f,onPublishEvent:(g,h,_)=>{const p=f[h+"."+g.type]||[];p.push(...f["*."+g.type]||[]),p.forEach(b=>{const v=b.wcElement||o.querySelector("[nodeId="+b.wcElementId+"]");v?v.dispatchEvent(new CustomEvent(b.action,{detail:b.converter?b.converter(g.detail):g.detail})):console.debug("Could not find event target",b)})}},e.compound.children.forEach((g,h)=>{const _={...l,...g.context},p=r.createCompoundItemContainer(g.layoutConfig);p.eventBus=o.eventBus,r.attachCompoundItem(o,p);const b=g.id||"gen_"+h;this.renderWebComponent(g.viewUrl,p,{context:_},g,b,!0),Ff(f,g,b)}),t.appendChild(o),Ff(f,e.compound,"_root",o),s(o)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;re.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const ur=new jw;var Gr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vl={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,w=2,C=1,y=2,P=4,T=8,D=16,R=32,I=64,O=128,H=256,F=512,B=30,G="...",ee=800,x=16,pe=1,z=2,j=3,ce=1/0,le=9007199254740991,Z=17976931348623157e292,Ce=0/0,se=4294967295,Ue=se-1,te=se>>>1,Ae=[["ary",O],["bind",C],["bindKey",y],["curry",T],["curryRight",D],["flip",F],["partial",R],["partialRight",I],["rearg",H]],$="[object Arguments]",ge="[object Array]",oe="[object AsyncFunction]",Me="[object Boolean]",He="[object Date]",be="[object DOMException]",Ge="[object Error]",kt="[object Function]",qt="[object GeneratorFunction]",Ct="[object Map]",Yt="[object Number]",_n="[object Null]",on="[object Object]",pn="[object Promise]",Bi="[object Proxy]",mn="[object RegExp]",Qt="[object Set]",En="[object String]",Et="[object Symbol]",fl="[object Undefined]",xt="[object WeakMap]",un="[object WeakSet]",zn="[object ArrayBuffer]",Gt="[object DataView]",kn="[object Float32Array]",ci="[object Float64Array]",di="[object Int8Array]",fn="[object Int16Array]",yi="[object Int32Array]",ne="[object Uint8Array]",Le="[object Uint8ClampedArray]",at="[object Uint16Array]",Nt="[object Uint32Array]",yt=/\b__p \+= '';/g,ln=/\b(__p \+=) '' \+/g,Dn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gn=/&(?:amp|lt|gt|quot|#39);/g,ni=/[&<>"']/g,Ol=RegExp(Gn.source),Hi=RegExp(ni.source),pr=/<%-([\s\S]+?)%>/g,mr=/<%([\s\S]+?)%>/g,Fl=/<%=([\s\S]+?)%>/g,br=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vr=/^\w*$/,wr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cl=/[\\^$.*+?()[\]{}|]/g,Sr=RegExp(cl.source),Pi=/^\s+/,Wi=/\s/,dl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qi=/\{\n\/\* \[wrapped with (.+)\] \*/,Ul=/,? & /,Bl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Hl=/[()=,{}\[\]\/\s]/,kr=/\\(\\)?/g,Cn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zi=/\w*$/,hl=/^[-+]0x[0-9a-f]+$/i,Wl=/^0b[01]+$/i,Cr=/^\[object .+?Constructor\]$/,Gi=/^0o[0-7]+$/i,gl=/^(?:0|[1-9]\d*)$/,_l=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hi=/($^)/,ql=/['\n\r\u2028\u2029\\]/g,Ni="\\ud800-\\udfff",yr="\\u0300-\\u036f",ft="\\ufe20-\\ufe2f",pl="\\u20d0-\\u20ff",Ki=yr+ft+pl,ml="\\u2700-\\u27bf",bl="a-z\\xdf-\\xf6\\xf8-\\xff",Y="\\xac\\xb1\\xd7\\xf7",tt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",cn="\\u2000-\\u206f",gi=" \\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",es="A-Z\\xc0-\\xd6\\xd8-\\xde",vl="\\ufe0e\\ufe0f",ts=Y+tt+cn+gi,Pr="['\u2019]",ca="["+Ni+"]",zl="["+ts+"]",Gl="["+Ki+"]",ns="\\d+",da="["+ml+"]",is="["+bl+"]",ls="[^"+Ni+ts+ns+ml+bl+es+"]",Kl="\\ud83c[\\udffb-\\udfff]",ha="(?:"+Gl+"|"+Kl+")",Nr="[^"+Ni+"]",Ir="(?:\\ud83c[\\udde6-\\uddff]){2}",Tr="[\\ud800-\\udbff][\\udc00-\\udfff]",ji="["+es+"]",rs="\\u200d",ss="(?:"+is+"|"+ls+")",ga="(?:"+ji+"|"+ls+")",as="(?:"+Pr+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+Pr+"(?:D|LL|M|RE|S|T|VE))?",us=ha+"?",fs="["+vl+"]?",_a="(?:"+rs+"(?:"+[Nr,Ir,Tr].join("|")+")"+fs+us+")*",pa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ma="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",cs=fs+us+_a,U="(?:"+[da,Ir,Tr].join("|")+")"+cs,fe="(?:"+[Nr+Gl+"?",Gl,Ir,Tr,ca].join("|")+")",Ee=RegExp(Pr,"g"),je=RegExp(Gl,"g"),Ve=RegExp(Kl+"(?="+Kl+")|"+fe+cs,"g"),we=RegExp([ji+"?"+is+"+"+as+"(?="+[zl,ji,"$"].join("|")+")",ga+"+"+os+"(?="+[zl,ji+ss,"$"].join("|")+")",ji+"?"+ss+"+"+as,ji+"+"+os,ma,pa,ns,U].join("|"),"g"),De=RegExp("["+rs+Ni+Ki+vl+"]"),gt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ot=["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"],Lr=-1,_t={};_t[kn]=_t[ci]=_t[di]=_t[fn]=_t[yi]=_t[ne]=_t[Le]=_t[at]=_t[Nt]=!0,_t[$]=_t[ge]=_t[zn]=_t[Me]=_t[Gt]=_t[He]=_t[Ge]=_t[kt]=_t[Ct]=_t[Yt]=_t[on]=_t[mn]=_t[Qt]=_t[En]=_t[xt]=!1;var wt={};wt[$]=wt[ge]=wt[zn]=wt[Gt]=wt[Me]=wt[He]=wt[kn]=wt[ci]=wt[di]=wt[fn]=wt[yi]=wt[Ct]=wt[Yt]=wt[on]=wt[mn]=wt[Qt]=wt[En]=wt[Et]=wt[ne]=wt[Le]=wt[at]=wt[Nt]=!0,wt[Ge]=wt[kt]=wt[xt]=!1;var Ji={\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"},Ar={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ke={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},It={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Dt=parseFloat,en=parseInt,yn=typeof Jr=="object"&&Jr&&Jr.Object===Object&&Jr,ii=typeof self=="object"&&self&&self.Object===Object&&self,Bt=yn||ii||Function("return this")(),wl=e&&!e.nodeType&&e,Kn=wl&&!0&&i&&!i.nodeType&&i,ba=Kn&&Kn.exports===wl,Sl=ba&&yn.process,Pn=function(){try{var Q=Kn&&Kn.require&&Kn.require("util").types;return Q||Sl&&Sl.binding&&Sl.binding("util")}catch{}}(),kl=Pn&&Pn.isArrayBuffer,Yi=Pn&&Pn.isDate,rn=Pn&&Pn.isMap,Vn=Pn&&Pn.isRegExp,ds=Pn&&Pn.isSet,Vo=Pn&&Pn.isTypedArray;function Mn(Q,de,ue){switch(ue.length){case 0:return Q.call(de);case 1:return Q.call(de,ue[0]);case 2:return Q.call(de,ue[0],ue[1]);case 3:return Q.call(de,ue[0],ue[1],ue[2])}return Q.apply(de,ue)}function I_(Q,de,ue,Oe){for(var Xe=-1,mt=Q==null?0:Q.length;++Xe<mt;){var Zt=Q[Xe];de(Oe,Zt,ue(Zt),Q)}return Oe}function jn(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe&&de(Q[ue],ue,Q)!==!1;);return Q}function T_(Q,de){for(var ue=Q==null?0:Q.length;ue--&&de(Q[ue],ue,Q)!==!1;);return Q}function Mo(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe;)if(!de(Q[ue],ue,Q))return!1;return!0}function Qi(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length,Xe=0,mt=[];++ue<Oe;){var Zt=Q[ue];de(Zt,ue,Q)&&(mt[Xe++]=Zt)}return mt}function hs(Q,de){var ue=Q==null?0:Q.length;return!!ue&&jl(Q,de,0)>-1}function va(Q,de,ue){for(var Oe=-1,Xe=Q==null?0:Q.length;++Oe<Xe;)if(ue(de,Q[Oe]))return!0;return!1}function Ft(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length,Xe=Array(Oe);++ue<Oe;)Xe[ue]=de(Q[ue],ue,Q);return Xe}function Zi(Q,de){for(var ue=-1,Oe=de.length,Xe=Q.length;++ue<Oe;)Q[Xe+ue]=de[ue];return Q}function wa(Q,de,ue,Oe){var Xe=-1,mt=Q==null?0:Q.length;for(Oe&&mt&&(ue=Q[++Xe]);++Xe<mt;)ue=de(ue,Q[Xe],Xe,Q);return ue}function L_(Q,de,ue,Oe){var Xe=Q==null?0:Q.length;for(Oe&&Xe&&(ue=Q[--Xe]);Xe--;)ue=de(ue,Q[Xe],Xe,Q);return ue}function Sa(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe;)if(de(Q[ue],ue,Q))return!0;return!1}var A_=ka("length");function R_(Q){return Q.split("")}function E_(Q){return Q.match(Bl)||[]}function Oo(Q,de,ue){var Oe;return ue(Q,function(Xe,mt,Zt){if(de(Xe,mt,Zt))return Oe=mt,!1}),Oe}function gs(Q,de,ue,Oe){for(var Xe=Q.length,mt=ue+(Oe?1:-1);Oe?mt--:++mt<Xe;)if(de(Q[mt],mt,Q))return mt;return-1}function jl(Q,de,ue){return de===de?G_(Q,de,ue):gs(Q,Fo,ue)}function D_(Q,de,ue,Oe){for(var Xe=ue-1,mt=Q.length;++Xe<mt;)if(Oe(Q[Xe],de))return Xe;return-1}function Fo(Q){return Q!==Q}function Uo(Q,de){var ue=Q==null?0:Q.length;return ue?ya(Q,de)/ue:Ce}function ka(Q){return function(de){return de==null?t:de[Q]}}function Ca(Q){return function(de){return Q==null?t:Q[de]}}function Bo(Q,de,ue,Oe,Xe){return Xe(Q,function(mt,Zt,Lt){ue=Oe?(Oe=!1,mt):de(ue,mt,Zt,Lt)}),ue}function V_(Q,de){var ue=Q.length;for(Q.sort(de);ue--;)Q[ue]=Q[ue].value;return Q}function ya(Q,de){for(var ue,Oe=-1,Xe=Q.length;++Oe<Xe;){var mt=de(Q[Oe]);mt!==t&&(ue=ue===t?mt:ue+mt)}return ue}function Pa(Q,de){for(var ue=-1,Oe=Array(Q);++ue<Q;)Oe[ue]=de(ue);return Oe}function M_(Q,de){return Ft(de,function(ue){return[ue,Q[ue]]})}function Ho(Q){return Q&&Q.slice(0,Go(Q)+1).replace(Pi,"")}function On(Q){return function(de){return Q(de)}}function Na(Q,de){return Ft(de,function(ue){return Q[ue]})}function Rr(Q,de){return Q.has(de)}function Wo(Q,de){for(var ue=-1,Oe=Q.length;++ue<Oe&&jl(de,Q[ue],0)>-1;);return ue}function qo(Q,de){for(var ue=Q.length;ue--&&jl(de,Q[ue],0)>-1;);return ue}function O_(Q,de){for(var ue=Q.length,Oe=0;ue--;)Q[ue]===de&&++Oe;return Oe}var F_=Ca(Ji),U_=Ca(Ar);function B_(Q){return"\\"+It[Q]}function H_(Q,de){return Q==null?t:Q[de]}function Jl(Q){return De.test(Q)}function W_(Q){return gt.test(Q)}function q_(Q){for(var de,ue=[];!(de=Q.next()).done;)ue.push(de.value);return ue}function Ia(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe,Xe){ue[++de]=[Xe,Oe]}),ue}function zo(Q,de){return function(ue){return Q(de(ue))}}function Xi(Q,de){for(var ue=-1,Oe=Q.length,Xe=0,mt=[];++ue<Oe;){var Zt=Q[ue];(Zt===de||Zt===h)&&(Q[ue]=h,mt[Xe++]=ue)}return mt}function _s(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe){ue[++de]=Oe}),ue}function z_(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe){ue[++de]=[Oe,Oe]}),ue}function G_(Q,de,ue){for(var Oe=ue-1,Xe=Q.length;++Oe<Xe;)if(Q[Oe]===de)return Oe;return-1}function K_(Q,de,ue){for(var Oe=ue+1;Oe--;)if(Q[Oe]===de)return Oe;return Oe}function Yl(Q){return Jl(Q)?J_(Q):A_(Q)}function li(Q){return Jl(Q)?Y_(Q):R_(Q)}function Go(Q){for(var de=Q.length;de--&&Wi.test(Q.charAt(de)););return de}var j_=Ca(Ke);function J_(Q){for(var de=Ve.lastIndex=0;Ve.test(Q);)++de;return de}function Y_(Q){return Q.match(Ve)||[]}function Q_(Q){return Q.match(we)||[]}var Z_=function Q(de){de=de==null?Bt:Ql.defaults(Bt.Object(),de,Ql.pick(Bt,Ot));var ue=de.Array,Oe=de.Date,Xe=de.Error,mt=de.Function,Zt=de.Math,Lt=de.Object,Ta=de.RegExp,X_=de.String,Jn=de.TypeError,ps=ue.prototype,$_=mt.prototype,Zl=Lt.prototype,ms=de["__core-js_shared__"],bs=$_.toString,Pt=Zl.hasOwnProperty,x_=0,Ko=function(){var a=/[^.]+$/.exec(ms&&ms.keys&&ms.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),vs=Zl.toString,ep=bs.call(Lt),tp=Bt._,np=Ta("^"+bs.call(Pt).replace(cl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ws=ba?de.Buffer:t,$i=de.Symbol,Ss=de.Uint8Array,jo=ws?ws.allocUnsafe:t,ks=zo(Lt.getPrototypeOf,Lt),Jo=Lt.create,Yo=Zl.propertyIsEnumerable,Cs=ps.splice,Qo=$i?$i.isConcatSpreadable:t,Er=$i?$i.iterator:t,Cl=$i?$i.toStringTag:t,ys=function(){try{var a=Tl(Lt,"defineProperty");return a({},"",{}),a}catch{}}(),ip=de.clearTimeout!==Bt.clearTimeout&&de.clearTimeout,lp=Oe&&Oe.now!==Bt.Date.now&&Oe.now,rp=de.setTimeout!==Bt.setTimeout&&de.setTimeout,Ps=Zt.ceil,Ns=Zt.floor,La=Lt.getOwnPropertySymbols,sp=ws?ws.isBuffer:t,Zo=de.isFinite,ap=ps.join,op=zo(Lt.keys,Lt),Xt=Zt.max,dn=Zt.min,up=Oe.now,fp=de.parseInt,Xo=Zt.random,cp=ps.reverse,Aa=Tl(de,"DataView"),Dr=Tl(de,"Map"),Ra=Tl(de,"Promise"),Xl=Tl(de,"Set"),Vr=Tl(de,"WeakMap"),Mr=Tl(Lt,"create"),Is=Vr&&new Vr,$l={},dp=Ll(Aa),hp=Ll(Dr),gp=Ll(Ra),_p=Ll(Xl),pp=Ll(Vr),Ts=$i?$i.prototype:t,Or=Ts?Ts.valueOf:t,$o=Ts?Ts.toString:t;function E(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(!Ht(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}E.templateSettings={escape:pr,evaluate:mr,interpolate:Fl,variable:"",imports:{_:E}},E.prototype=Ls.prototype,E.prototype.constructor=E,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__=se,this.__views__=[]}function mp(){var a=new ut(this.__wrapped__);return a.__actions__=Nn(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Nn(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Nn(this.__views__),a}function bp(){if(this.__filtered__){var a=new ut(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function vp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),m=u<0,N=d?a.length:0,V=Rm(0,N,this.__views__),W=V.start,J=V.end,X=J-W,he=m?J:W-1,_e=this.__iteratees__,ve=_e.length,Re=0,Be=dn(X,this.__takeCount__);if(!d||!m&&N==X&&Be==X)return ku(a,this.__actions__);var Ye=[];e:for(;X--&&Re<Be;){he+=u;for(var it=-1,Qe=a[he];++it<ve;){var ot=_e[it],ct=ot.iteratee,Bn=ot.type,wn=ct(Qe);if(Bn==z)Qe=wn;else if(!wn){if(Bn==pe)continue e;break e}}Ye[Re++]=Qe}return Ye}ut.prototype=xl(Ls.prototype),ut.prototype.constructor=ut;function yl(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 wp(){this.__data__=Mr?Mr(null):{},this.size=0}function Sp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function kp(a){var u=this.__data__;if(Mr){var d=u[a];return d===f?t:d}return Pt.call(u,a)?u[a]:t}function Cp(a){var u=this.__data__;return Mr?u[a]!==t:Pt.call(u,a)}function yp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Mr&&u===t?f:u,this}yl.prototype.clear=wp,yl.prototype.delete=Sp,yl.prototype.get=kp,yl.prototype.has=Cp,yl.prototype.set=yp;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 Pp(){this.__data__=[],this.size=0}function Np(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 Ip(a){var u=this.__data__,d=As(u,a);return d<0?t:u[d][1]}function Tp(a){return As(this.__data__,a)>-1}function Lp(a,u){var d=this.__data__,m=As(d,a);return m<0?(++this.size,d.push([a,u])):d[m][1]=u,this}Ii.prototype.clear=Pp,Ii.prototype.delete=Np,Ii.prototype.get=Ip,Ii.prototype.has=Tp,Ii.prototype.set=Lp;function Ti(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 Ap(){this.size=0,this.__data__={hash:new yl,map:new(Dr||Ii),string:new yl}}function Rp(a){var u=qs(this,a).delete(a);return this.size-=u?1:0,u}function Ep(a){return qs(this,a).get(a)}function Dp(a){return qs(this,a).has(a)}function Vp(a,u){var d=qs(this,a),m=d.size;return d.set(a,u),this.size+=d.size==m?0:1,this}Ti.prototype.clear=Ap,Ti.prototype.delete=Rp,Ti.prototype.get=Ep,Ti.prototype.has=Dp,Ti.prototype.set=Vp;function Pl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ti;++u<d;)this.add(a[u])}function Mp(a){return this.__data__.set(a,f),this}function Op(a){return this.__data__.has(a)}Pl.prototype.add=Pl.prototype.push=Mp,Pl.prototype.has=Op;function ri(a){var u=this.__data__=new Ii(a);this.size=u.size}function Fp(){this.__data__=new Ii,this.size=0}function Up(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Bp(a){return this.__data__.get(a)}function Hp(a){return this.__data__.has(a)}function Wp(a,u){var d=this.__data__;if(d instanceof Ii){var m=d.__data__;if(!Dr||m.length<l-1)return m.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ti(m)}return d.set(a,u),this.size=d.size,this}ri.prototype.clear=Fp,ri.prototype.delete=Up,ri.prototype.get=Bp,ri.prototype.has=Hp,ri.prototype.set=Wp;function xo(a,u){var d=xe(a),m=!d&&Al(a),N=!d&&!m&&il(a),V=!d&&!m&&!N&&ir(a),W=d||m||N||V,J=W?Pa(a.length,X_):[],X=J.length;for(var he in a)(u||Pt.call(a,he))&&!(W&&(he=="length"||N&&(he=="offset"||he=="parent")||V&&(he=="buffer"||he=="byteLength"||he=="byteOffset")||Ei(he,X)))&&J.push(he);return J}function eu(a){var u=a.length;return u?a[qa(0,u-1)]:t}function qp(a,u){return zs(Nn(a),Nl(u,0,a.length))}function zp(a){return zs(Nn(a))}function Ea(a,u,d){(d!==t&&!si(a[u],d)||d===t&&!(u in a))&&Li(a,u,d)}function Fr(a,u,d){var m=a[u];(!(Pt.call(a,u)&&si(m,d))||d===t&&!(u in a))&&Li(a,u,d)}function As(a,u){for(var d=a.length;d--;)if(si(a[d][0],u))return d;return-1}function Gp(a,u,d,m){return xi(a,function(N,V,W){u(m,N,d(N),W)}),m}function tu(a,u){return a&&pi(u,tn(u),a)}function Kp(a,u){return a&&pi(u,Tn(u),a)}function Li(a,u,d){u=="__proto__"&&ys?ys(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Da(a,u){for(var d=-1,m=u.length,N=ue(m),V=a==null;++d<m;)N[d]=V?t:go(a,u[d]);return N}function Nl(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 W,J=u&_,X=u&p,he=u&b;if(d&&(W=N?d(a,m,N,V):d(a)),W!==t)return W;if(!Ht(a))return a;var _e=xe(a);if(_e){if(W=Dm(a),!J)return Nn(a,W)}else{var ve=hn(a),Re=ve==kt||ve==qt;if(il(a))return Pu(a,J);if(ve==on||ve==$||Re&&!N){if(W=X||Re?{}:Gu(a),!J)return X?km(a,Kp(W,a)):Sm(a,tu(W,a))}else{if(!wt[ve])return N?a:{};W=Vm(a,ve,J)}}V||(V=new ri);var Be=V.get(a);if(Be)return Be;V.set(a,W),wf(a)?a.forEach(function(Qe){W.add(Qn(Qe,u,d,Qe,a,V))}):bf(a)&&a.forEach(function(Qe,ot){W.set(ot,Qn(Qe,u,d,ot,a,V))});var Ye=he?X?xa:$a:X?Tn:tn,it=_e?t:Ye(a);return jn(it||a,function(Qe,ot){it&&(ot=Qe,Qe=a[ot]),Fr(W,ot,Qn(Qe,u,d,ot,a,V))}),W}function jp(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],W=a[N];if(W===t&&!(N in a)||!V(W))return!1}return!0}function iu(a,u,d){if(typeof a!="function")throw new Jn(s);return Gr(function(){a.apply(t,d)},u)}function Ur(a,u,d,m){var N=-1,V=hs,W=!0,J=a.length,X=[],he=u.length;if(!J)return X;d&&(u=Ft(u,On(d))),m?(V=va,W=!1):u.length>=l&&(V=Rr,W=!1,u=new Pl(u));e:for(;++N<J;){var _e=a[N],ve=d==null?_e:d(_e);if(_e=m||_e!==0?_e:0,W&&ve===ve){for(var Re=he;Re--;)if(u[Re]===ve)continue e;X.push(_e)}else V(u,ve,m)||X.push(_e)}return X}var xi=Au(_i),lu=Au(Ma,!0);function Jp(a,u){var d=!0;return xi(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],W=u(V);if(W!=null&&(J===t?W===W&&!Un(W):d(W,J)))var J=W,X=V}return X}function Yp(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 xi(a,function(m,N,V){u(m,N,V)&&d.push(m)}),d}function sn(a,u,d,m,N){var V=-1,W=a.length;for(d||(d=Om),N||(N=[]);++V<W;){var J=a[V];u>0&&d(J)?u>1?sn(J,u-1,d,m,N):Zi(N,J):m||(N[N.length]=J)}return N}var Va=Ru(),su=Ru(!0);function _i(a,u){return a&&Va(a,u,tn)}function Ma(a,u){return a&&su(a,u,tn)}function Es(a,u){return Qi(u,function(d){return Di(a[d])})}function Il(a,u){u=tl(u,a);for(var d=0,m=u.length;a!=null&&d<m;)a=a[mi(u[d++])];return d&&d==m?a:t}function au(a,u,d){var m=u(a);return xe(a)?m:Zi(m,d(a))}function bn(a){return a==null?a===t?fl:_n:Cl&&Cl in Lt(a)?Am(a):zm(a)}function Oa(a,u){return a>u}function Qp(a,u){return a!=null&&Pt.call(a,u)}function Zp(a,u){return a!=null&&u in Lt(a)}function Xp(a,u,d){return a>=dn(u,d)&&a<Xt(u,d)}function Fa(a,u,d){for(var m=d?va:hs,N=a[0].length,V=a.length,W=V,J=ue(V),X=1/0,he=[];W--;){var _e=a[W];W&&u&&(_e=Ft(_e,On(u))),X=dn(_e.length,X),J[W]=!d&&(u||N>=120&&_e.length>=120)?new Pl(W&&_e):t}_e=a[0];var ve=-1,Re=J[0];e:for(;++ve<N&&he.length<X;){var Be=_e[ve],Ye=u?u(Be):Be;if(Be=d||Be!==0?Be:0,!(Re?Rr(Re,Ye):m(he,Ye,d))){for(W=V;--W;){var it=J[W];if(!(it?Rr(it,Ye):m(a[W],Ye,d)))continue e}Re&&Re.push(Ye),he.push(Be)}}return he}function $p(a,u,d,m){return _i(a,function(N,V,W){u(m,d(N),V,W)}),m}function Br(a,u,d){u=tl(u,a),a=Yu(a,u);var m=a==null?a:a[mi(Xn(u))];return m==null?t:Mn(m,a,d)}function ou(a){return zt(a)&&bn(a)==$}function xp(a){return zt(a)&&bn(a)==zn}function em(a){return zt(a)&&bn(a)==He}function Hr(a,u,d,m,N){return a===u?!0:a==null||u==null||!zt(a)&&!zt(u)?a!==a&&u!==u:tm(a,u,d,m,Hr,N)}function tm(a,u,d,m,N,V){var W=xe(a),J=xe(u),X=W?ge:hn(a),he=J?ge:hn(u);X=X==$?on:X,he=he==$?on:he;var _e=X==on,ve=he==on,Re=X==he;if(Re&&il(a)){if(!il(u))return!1;W=!0,_e=!1}if(Re&&!_e)return V||(V=new ri),W||ir(a)?Wu(a,u,d,m,N,V):Tm(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 ri),N(it,Qe,d,m,V)}}return Re?(V||(V=new ri),Lm(a,u,d,m,N,V)):!1}function nm(a){return zt(a)&&hn(a)==Ct}function Ua(a,u,d,m){var N=d.length,V=N,W=!m;if(a==null)return!V;for(a=Lt(a);N--;){var J=d[N];if(W&&J[2]?J[1]!==a[J[0]]:!(J[0]in a))return!1}for(;++N<V;){J=d[N];var X=J[0],he=a[X],_e=J[1];if(W&&J[2]){if(he===t&&!(X in a))return!1}else{var ve=new ri;if(m)var Re=m(he,_e,X,a,u,ve);if(!(Re===t?Hr(_e,he,v|w,m,ve):Re))return!1}}return!0}function uu(a){if(!Ht(a)||Um(a))return!1;var u=Di(a)?np:Cr;return u.test(Ll(a))}function im(a){return zt(a)&&bn(a)==mn}function lm(a){return zt(a)&&hn(a)==Qt}function rm(a){return zt(a)&&Qs(a.length)&&!!_t[bn(a)]}function fu(a){return typeof a=="function"?a:a==null?Ln:typeof a=="object"?xe(a)?hu(a[0],a[1]):du(a):Df(a)}function Ba(a){if(!zr(a))return op(a);var u=[];for(var d in Lt(a))Pt.call(a,d)&&d!="constructor"&&u.push(d);return u}function sm(a){if(!Ht(a))return qm(a);var u=zr(a),d=[];for(var m in a)m=="constructor"&&(u||!Pt.call(a,m))||d.push(m);return d}function Ha(a,u){return a<u}function cu(a,u){var d=-1,m=In(a)?ue(a.length):[];return xi(a,function(N,V,W){m[++d]=u(N,V,W)}),m}function du(a){var u=to(a);return u.length==1&&u[0][2]?ju(u[0][0],u[0][1]):function(d){return d===a||Ua(d,a,u)}}function hu(a,u){return io(a)&&Ku(u)?ju(mi(a),u):function(d){var m=go(d,a);return m===t&&m===u?_o(d,a):Hr(u,m,v|w)}}function Ds(a,u,d,m,N){a!==u&&Va(u,function(V,W){if(N||(N=new ri),Ht(V))am(a,u,W,d,Ds,m,N);else{var J=m?m(ro(a,W),V,W+"",a,u,N):t;J===t&&(J=V),Ea(a,W,J)}},Tn)}function am(a,u,d,m,N,V,W){var J=ro(a,d),X=ro(u,d),he=W.get(X);if(he){Ea(a,d,he);return}var _e=V?V(J,X,d+"",a,u,W):t,ve=_e===t;if(ve){var Re=xe(X),Be=!Re&&il(X),Ye=!Re&&!Be&&ir(X);_e=X,Re||Be||Ye?xe(J)?_e=J:Kt(J)?_e=Nn(J):Be?(ve=!1,_e=Pu(X,!0)):Ye?(ve=!1,_e=Nu(X,!0)):_e=[]:Kr(X)||Al(X)?(_e=J,Al(J)?_e=Cf(J):(!Ht(J)||Di(J))&&(_e=Gu(X))):ve=!1}ve&&(W.set(X,_e),N(_e,X,m,V,W),W.delete(X)),Ea(a,d,_e)}function gu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ei(u,d)?a[u]:t}function _u(a,u,d){u.length?u=Ft(u,function(V){return xe(V)?function(W){return Il(W,V.length===1?V[0]:V)}:V}):u=[Ln];var m=-1;u=Ft(u,On(Je()));var N=cu(a,function(V,W,J){var X=Ft(u,function(he){return he(V)});return{criteria:X,index:++m,value:V}});return V_(N,function(V,W){return wm(V,W,d)})}function om(a,u){return pu(a,u,function(d,m){return _o(a,m)})}function pu(a,u,d){for(var m=-1,N=u.length,V={};++m<N;){var W=u[m],J=Il(a,W);d(J,W)&&Wr(V,tl(W,a),J)}return V}function um(a){return function(u){return Il(u,a)}}function Wa(a,u,d,m){var N=m?D_:jl,V=-1,W=u.length,J=a;for(a===u&&(u=Nn(u)),d&&(J=Ft(a,On(d)));++V<W;)for(var X=0,he=u[V],_e=d?d(he):he;(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;Ei(N)?Cs.call(a,N,1):Ka(a,N)}}return a}function qa(a,u){return a+Ns(Xo()*(u-a+1))}function fm(a,u,d,m){for(var N=-1,V=Xt(Ps((u-a)/(d||1)),0),W=ue(V);V--;)W[m?V:++N]=a,a+=d;return W}function za(a,u){var d="";if(!a||u<1||u>le)return d;do u%2&&(d+=a),u=Ns(u/2),u&&(a+=a);while(u);return d}function rt(a,u){return so(Ju(a,u,Ln),a+"")}function cm(a){return eu(lr(a))}function dm(a,u){var d=lr(a);return zs(d,Nl(u,0,d.length))}function Wr(a,u,d,m){if(!Ht(a))return a;u=tl(u,a);for(var N=-1,V=u.length,W=V-1,J=a;J!=null&&++N<V;){var X=mi(u[N]),he=d;if(X==="__proto__"||X==="constructor"||X==="prototype")return a;if(N!=W){var _e=J[X];he=m?m(_e,X,J):t,he===t&&(he=Ht(_e)?_e:Ei(u[N+1])?[]:{})}Fr(J,X,he),J=J[X]}return a}var bu=Is?function(a,u){return Is.set(a,u),a}:Ln,hm=ys?function(a,u){return ys(a,"toString",{configurable:!0,enumerable:!1,value:mo(u),writable:!0})}:Ln;function gm(a){return zs(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=ue(N);++m<N;)V[m]=a[m+u];return V}function _m(a,u){var d;return xi(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<=te){for(;m<N;){var V=m+N>>>1,W=a[V];W!==null&&!Un(W)&&(d?W<=u:W<u)?m=V+1:N=V}return N}return Ga(a,u,Ln,d)}function Ga(a,u,d,m){var N=0,V=a==null?0:a.length;if(V===0)return 0;u=d(u);for(var W=u!==u,J=u===null,X=Un(u),he=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(W)var Qe=m||Ye;else he?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 dn(V,Ue)}function vu(a,u){for(var d=-1,m=a.length,N=0,V=[];++d<m;){var W=a[d],J=u?u(W):W;if(!d||!si(J,X)){var X=J;V[N++]=W===0?0:W}}return V}function wu(a){return typeof a=="number"?a:Un(a)?Ce:+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==-ce?"-0":u}function el(a,u,d){var m=-1,N=hs,V=a.length,W=!0,J=[],X=J;if(d)W=!1,N=va;else if(V>=l){var he=u?null:Nm(a);if(he)return _s(he);W=!1,N=Rr,X=new Pl}else X=u?[]:J;e:for(;++m<V;){var _e=a[m],ve=u?u(_e):_e;if(_e=d||_e!==0?_e:0,W&&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 Ka(a,u){return u=tl(u,a),a=Yu(a,u),a==null||delete a[mi(Xn(u))]}function Su(a,u,d,m){return Wr(a,u,d(Il(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()),wa(u,function(m,N){return N.func.apply(N.thisArg,Zi([m],N.args))},d)}function ja(a,u,d){var m=a.length;if(m<2)return m?el(a[0]):[];for(var N=-1,V=ue(m);++N<m;)for(var W=a[N],J=-1;++J<m;)J!=N&&(V[N]=Ur(V[N]||W,a[J],u,d));return el(sn(V,1),u,d)}function Cu(a,u,d){for(var m=-1,N=a.length,V=u.length,W={};++m<N;){var J=m<V?u[m]:t;d(W,a[m],J)}return W}function Ja(a){return Kt(a)?a:[]}function Ya(a){return typeof a=="function"?a:Ln}function tl(a,u){return xe(a)?a:io(a,u)?[a]:$u(St(a))}var pm=rt;function nl(a,u,d){var m=a.length;return d=d===t?m:d,!u&&d>=m?a:Zn(a,u,d)}var yu=ip||function(a){return Bt.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 Qa(a){var u=new a.constructor(a.byteLength);return new Ss(u).set(new Ss(a)),u}function mm(a,u){var d=u?Qa(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function bm(a){var u=new a.constructor(a.source,zi.exec(a));return u.lastIndex=a.lastIndex,u}function vm(a){return Or?Lt(Or.call(a)):{}}function Nu(a,u){var d=u?Qa(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),W=u!==t,J=u===null,X=u===u,he=Un(u);if(!J&&!he&&!V&&a>u||V&&W&&X&&!J&&!he||m&&W&&X||!d&&X||!N)return 1;if(!m&&!V&&!he&&a<u||he&&d&&N&&!m&&!V||J&&d&&N||!W&&N||!X)return-1}return 0}function wm(a,u,d){for(var m=-1,N=a.criteria,V=u.criteria,W=N.length,J=d.length;++m<W;){var X=Iu(N[m],V[m]);if(X){if(m>=J)return X;var he=d[m];return X*(he=="desc"?-1:1)}}return a.index-u.index}function Tu(a,u,d,m){for(var N=-1,V=a.length,W=d.length,J=-1,X=u.length,he=Xt(V-W,0),_e=ue(X+he),ve=!m;++J<X;)_e[J]=u[J];for(;++N<W;)(ve||N<V)&&(_e[d[N]]=a[N]);for(;he--;)_e[J++]=a[N++];return _e}function Lu(a,u,d,m){for(var N=-1,V=a.length,W=-1,J=d.length,X=-1,he=u.length,_e=Xt(V-J,0),ve=ue(_e+he),Re=!m;++N<_e;)ve[N]=a[N];for(var Be=N;++X<he;)ve[Be+X]=u[X];for(;++W<J;)(Re||N<V)&&(ve[Be+d[W]]=a[N++]);return ve}function Nn(a,u){var d=-1,m=a.length;for(u||(u=ue(m));++d<m;)u[d]=a[d];return u}function pi(a,u,d,m){var N=!d;d||(d={});for(var V=-1,W=u.length;++V<W;){var J=u[V],X=m?m(d[J],a[J],J,d,a):t;X===t&&(X=a[J]),N?Li(d,J,X):Fr(d,J,X)}return d}function Sm(a,u){return pi(a,no(a),u)}function km(a,u){return pi(a,qu(a),u)}function Os(a,u){return function(d,m){var N=xe(d)?I_:Gp,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,W=N>2?d[2]:t;for(V=a.length>3&&typeof V=="function"?(N--,V):t,W&&vn(d[0],d[1],W)&&(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(!In(d))return a(d,m);for(var N=d.length,V=u?N:-1,W=Lt(d);(u?V--:++V<N)&&m(W[V],V,W)!==!1;);return d}}function Ru(a){return function(u,d,m){for(var N=-1,V=Lt(u),W=m(u),J=W.length;J--;){var X=W[a?J:++N];if(d(V[X],X,V)===!1)break}return u}}function Cm(a,u,d){var m=u&C,N=qr(a);function V(){var W=this&&this!==Bt&&this instanceof V?N:a;return W.apply(m?d:this,arguments)}return V}function Eu(a){return function(u){u=St(u);var d=Jl(u)?li(u):t,m=d?d[0]:u.charAt(0),N=d?nl(d,1).join(""):u.slice(1);return m[a]()+N}}function tr(a){return function(u){return wa(Rf(Af(u).replace(Ee,"")),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 Ht(m)?m:d}}function ym(a,u,d){var m=qr(a);function N(){for(var V=arguments.length,W=ue(V),J=V,X=nr(N);J--;)W[J]=arguments[J];var he=V<3&&W[0]!==X&&W[V-1]!==X?[]:Xi(W,X);if(V-=he.length,V<d)return Fu(a,u,Fs,N.placeholder,t,W,he,t,t,d-V);var _e=this&&this!==Bt&&this instanceof N?m:a;return Mn(_e,this,W)}return N}function Du(a){return function(u,d,m){var N=Lt(u);if(!In(u)){var V=Je(d,3);u=tn(u),d=function(J){return V(N[J],J,N)}}var W=a(u,d,m);return W>-1?N[V?u[W]:W]:t}}function Vu(a){return Ri(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&&!W&&Ws(V)=="wrapper")var W=new Yn([],!0)}for(m=W?m:d;++m<d;){V=u[m];var J=Ws(V),X=J=="wrapper"?eo(V):t;X&&lo(X[0])&&X[1]==(O|T|R|H)&&!X[4].length&&X[9]==1?W=W[Ws(X[0])].apply(W,X[3]):W=V.length==1&&lo(V)?W[J]():W.thru(V)}return function(){var he=arguments,_e=he[0];if(W&&he.length==1&&xe(_e))return W.plant(_e).value();for(var ve=0,Re=d?u[ve].apply(this,he):_e;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Fs(a,u,d,m,N,V,W,J,X,he){var _e=u&O,ve=u&C,Re=u&y,Be=u&(T|D),Ye=u&F,it=Re?t:qr(a);function Qe(){for(var ot=arguments.length,ct=ue(ot),Bn=ot;Bn--;)ct[Bn]=arguments[Bn];if(Be)var wn=nr(Qe),Hn=O_(ct,wn);if(m&&(ct=Tu(ct,m,N,Be)),V&&(ct=Lu(ct,V,W,Be)),ot-=Hn,Be&&ot<he){var jt=Xi(ct,wn);return Fu(a,u,Fs,Qe.placeholder,d,ct,jt,J,X,he-ot)}var ai=ve?d:this,Mi=Re?ai[a]:a;return ot=ct.length,J?ct=Gm(ct,J):Ye&&ot>1&&ct.reverse(),_e&&X<ot&&(ct.length=X),this&&this!==Bt&&this instanceof Qe&&(Mi=it||qr(Mi)),Mi.apply(ai,ct)}return Qe}function Mu(a,u){return function(d,m){return $p(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 Za(a){return Ri(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)?nl(li(m),0,a).join(""):m.slice(0,a)}function Pm(a,u,d,m){var N=u&C,V=qr(a);function W(){for(var J=-1,X=arguments.length,he=-1,_e=m.length,ve=ue(_e+X),Re=this&&this!==Bt&&this instanceof W?V:a;++he<_e;)ve[he]=m[he];for(;X--;)ve[he++]=arguments[++J];return Mn(Re,N?d:this,ve)}return W}function Ou(a){return function(u,d,m){return m&&typeof m!="number"&&vn(u,d,m)&&(d=m=t),u=Vi(u),d===t?(d=u,u=0):d=Vi(d),m=m===t?u<d?1:-1:Vi(m),fm(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,W,J,X,he){var _e=u&T,ve=_e?W:t,Re=_e?t:W,Be=_e?V:t,Ye=_e?t:V;u|=_e?R:I,u&=~(_e?I:R),u&P||(u&=~(C|y));var it=[a,u,N,Be,ve,Ye,Re,J,X,he],Qe=d.apply(t,it);return lo(a)&&Qu(Qe,it),Qe.placeholder=m,Zu(Qe,a,u)}function Xa(a){var u=Zt[a];return function(d,m){if(d=$n(d),m=m==null?0:dn(nt(m),292),m&&Zo(d)){var N=(St(d)+"e").split("e"),V=u(N[0]+"e"+(+N[1]+m));return N=(St(V)+"e").split("e"),+(N[0]+"e"+(+N[1]-m))}return u(d)}}var Nm=Xl&&1/_s(new Xl([,-0]))[1]==ce?function(a){return new Xl(a)}:wo;function Uu(a){return function(u){var d=hn(u);return d==Ct?Ia(u):d==Qt?z_(u):M_(u,a(u))}}function Ai(a,u,d,m,N,V,W,J){var X=u&y;if(!X&&typeof a!="function")throw new Jn(s);var he=m?m.length:0;if(he||(u&=~(R|I),m=N=t),W=W===t?W:Xt(nt(W),0),J=J===t?J:nt(J),he-=N?N.length:0,u&I){var _e=m,ve=N;m=N=t}var Re=X?t:eo(a),Be=[a,u,d,m,N,_e,ve,V,W,J];if(Re&&Wm(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]-he,0),!J&&u&(T|D)&&(u&=~(T|D)),!u||u==C)var Ye=Cm(a,u,d);else u==T||u==D?Ye=ym(a,u,J):(u==R||u==(C|R))&&!N.length?Ye=Pm(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||si(a,Zl[d])&&!Pt.call(m,d)?u:a}function Hu(a,u,d,m,N,V){return Ht(a)&&Ht(u)&&(V.set(u,a),Ds(a,u,t,Hu,V),V.delete(u)),a}function Im(a){return Kr(a)?t:a}function Wu(a,u,d,m,N,V){var W=d&v,J=a.length,X=u.length;if(J!=X&&!(W&&X>J))return!1;var he=V.get(a),_e=V.get(u);if(he&&_e)return he==u&&_e==a;var ve=-1,Re=!0,Be=d&w?new Pl:t;for(V.set(a,u),V.set(u,a);++ve<J;){var Ye=a[ve],it=u[ve];if(m)var Qe=W?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(!Sa(u,function(ot,ct){if(!Rr(Be,ct)&&(Ye===ot||N(Ye,ot,d,m,V)))return Be.push(ct)})){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 Tm(a,u,d,m,N,V,W){switch(d){case Gt:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case zn:return!(a.byteLength!=u.byteLength||!V(new Ss(a),new Ss(u)));case Me:case He:case Yt:return si(+a,+u);case Ge:return a.name==u.name&&a.message==u.message;case mn:case En:return a==u+"";case Ct:var J=Ia;case Qt:var X=m&v;if(J||(J=_s),a.size!=u.size&&!X)return!1;var he=W.get(a);if(he)return he==u;m|=w,W.set(a,u);var _e=Wu(J(a),J(u),m,N,V,W);return W.delete(a),_e;case Et:if(Or)return Or.call(a)==Or.call(u)}return!1}function Lm(a,u,d,m,N,V){var W=d&v,J=$a(a),X=J.length,he=$a(u),_e=he.length;if(X!=_e&&!W)return!1;for(var ve=X;ve--;){var Re=J[ve];if(!(W?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=W;++ve<X;){Re=J[ve];var ot=a[Re],ct=u[Re];if(m)var Bn=W?m(ct,ot,Re,u,a,V):m(ot,ct,Re,a,u,V);if(!(Bn===t?ot===ct||N(ot,ct,d,m,V):Bn)){it=!1;break}Qe||(Qe=Re=="constructor")}if(it&&!Qe){var wn=a.constructor,Hn=u.constructor;wn!=Hn&&"constructor"in a&&"constructor"in u&&!(typeof wn=="function"&&wn instanceof wn&&typeof Hn=="function"&&Hn instanceof Hn)&&(it=!1)}return V.delete(a),V.delete(u),it}function Ri(a){return so(Ju(a,t,nf),a+"")}function $a(a){return au(a,tn,no)}function xa(a){return au(a,Tn,qu)}var eo=Is?function(a){return Is.get(a)}:wo;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(E,"placeholder")?E:a;return u.placeholder}function Je(){var a=E.iteratee||bo;return a=a===bo?fu:a,arguments.length?a(arguments[0],arguments[1]):a}function qs(a,u){var d=a.__data__;return Fm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function to(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 Tl(a,u){var d=H_(a,u);return uu(d)?d:t}function Am(a){var u=Pt.call(a,Cl),d=a[Cl];try{a[Cl]=t;var m=!0}catch{}var N=vs.call(a);return m&&(u?a[Cl]=d:delete a[Cl]),N}var no=La?function(a){return a==null?[]:(a=Lt(a),Qi(La(a),function(u){return Yo.call(a,u)}))}:So,qu=La?function(a){for(var u=[];a;)Zi(u,no(a)),a=ks(a);return u}:So,hn=bn;(Aa&&hn(new Aa(new ArrayBuffer(1)))!=Gt||Dr&&hn(new Dr)!=Ct||Ra&&hn(Ra.resolve())!=pn||Xl&&hn(new Xl)!=Qt||Vr&&hn(new Vr)!=xt)&&(hn=function(a){var u=bn(a),d=u==on?a.constructor:t,m=d?Ll(d):"";if(m)switch(m){case dp:return Gt;case hp:return Ct;case gp:return pn;case _p:return Qt;case pp:return xt}return u});function Rm(a,u,d){for(var m=-1,N=d.length;++m<N;){var V=d[m],W=V.size;switch(V.type){case"drop":a+=W;break;case"dropRight":u-=W;break;case"take":u=dn(u,a+W);break;case"takeRight":a=Xt(a,u-W);break}}return{start:a,end:u}}function Em(a){var u=a.match(qi);return u?u[1].split(Ul):[]}function zu(a,u,d){u=tl(u,a);for(var m=-1,N=u.length,V=!1;++m<N;){var W=mi(u[m]);if(!(V=a!=null&&d(a,W)))break;a=a[W]}return V||++m!=N?V:(N=a==null?0:a.length,!!N&&Qs(N)&&Ei(W,N)&&(xe(a)||Al(a)))}function Dm(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"&&!zr(a)?xl(ks(a)):{}}function Vm(a,u,d){var m=a.constructor;switch(u){case zn:return Qa(a);case Me:case He:return new m(+a);case Gt:return mm(a,d);case kn:case ci:case di:case fn:case yi:case ne:case Le:case at:case Nt:return Nu(a,d);case Ct:return new m;case Yt:case En:return new m(a);case mn:return bm(a);case Qt:return new m;case Et:return vm(a)}}function Mm(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(dl,`{
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,w=2,C=1,y=2,P=4,T=8,D=16,R=32,I=64,O=128,H=256,F=512,B=30,G="...",ee=800,x=16,pe=1,z=2,j=3,ce=1/0,le=9007199254740991,Z=17976931348623157e292,Ce=0/0,se=4294967295,Ue=se-1,te=se>>>1,Ae=[["ary",O],["bind",C],["bindKey",y],["curry",T],["curryRight",D],["flip",F],["partial",R],["partialRight",I],["rearg",H]],$="[object Arguments]",ge="[object Array]",oe="[object AsyncFunction]",Me="[object Boolean]",He="[object Date]",be="[object DOMException]",Ke="[object Error]",St="[object Function]",qt="[object GeneratorFunction]",kt="[object Map]",Yt="[object Number]",pn="[object Null]",on="[object Object]",mn="[object Promise]",Bi="[object Proxy]",bn="[object RegExp]",Qt="[object Set]",Rn="[object String]",Dt="[object Symbol]",dl="[object Undefined]",en="[object WeakMap]",un="[object WeakSet]",zn="[object ArrayBuffer]",Gt="[object DataView]",Cn="[object Float32Array]",fi="[object Float64Array]",ci="[object Int8Array]",fn="[object Int16Array]",Ci="[object Int32Array]",ne="[object Uint8Array]",Le="[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,ti=/[&<>"']/g,Ol=RegExp(Gn.source),Hi=RegExp(ti.source),gr=/<%-([\s\S]+?)%>/g,_r=/<%([\s\S]+?)%>/g,Fl=/<%=([\s\S]+?)%>/g,pr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mr=/^\w*$/,br=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hl=/[\\^$.*+?()[\]{}|]/g,vr=RegExp(hl.source),yi=/^\s+/,Wi=/\s/,gl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qi=/\{\n\/\* \[wrapped with (.+)\] \*/,Ul=/,? & /,Bl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Hl=/[()=,{}\[\]\/\s]/,wr=/\\(\\)?/g,yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zi=/\w*$/,_l=/^[-+]0x[0-9a-f]+$/i,Wl=/^0b[01]+$/i,Sr=/^\[object .+?Constructor\]$/,Gi=/^0o[0-7]+$/i,pl=/^(?:0|[1-9]\d*)$/,ml=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,ql=/['\n\r\u2028\u2029\\]/g,Pi="\\ud800-\\udfff",kr="\\u0300-\\u036f",ft="\\ufe20-\\ufe2f",bl="\\u20d0-\\u20ff",Ki=kr+ft+bl,vl="\\u2700-\\u27bf",wl="a-z\\xdf-\\xf6\\xf8-\\xff",Y="\\xac\\xb1\\xd7\\xf7",tt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",cn="\\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",Xr="A-Z\\xc0-\\xd6\\xd8-\\xde",ji="\\ufe0e\\ufe0f",$r=Y+tt+cn+hi,Cr="['\u2019]",ha="["+Pi+"]",xr="["+$r+"]",Ji="["+Ki+"]",es="\\d+",ga="["+vl+"]",ts="["+wl+"]",ns="[^"+Pi+$r+es+vl+wl+Xr+"]",yr="\\ud83c[\\udffb-\\udfff]",is="(?:"+Ji+"|"+yr+")",ls="[^"+Pi+"]",zl="(?:\\ud83c[\\udde6-\\uddff]){2}",Pr="[\\ud800-\\udbff][\\udc00-\\udfff]",Yi="["+Xr+"]",rs="\\u200d",ss="(?:"+ts+"|"+ns+")",_a="(?:"+Yi+"|"+ns+")",as="(?:"+Cr+"(?:d|ll|m|re|s|t|ve))?",os="(?:"+Cr+"(?:D|LL|M|RE|S|T|VE))?",us=is+"?",fs="["+ji+"]?",pa="(?:"+rs+"(?:"+[ls,zl,Pr].join("|")+")"+fs+us+")*",ma="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ba="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",cs=fs+us+pa,va="(?:"+[ga,zl,Pr].join("|")+")"+cs,U="(?:"+[ls+Ji+"?",Ji,zl,Pr,ha].join("|")+")",fe=RegExp(Cr,"g"),Ee=RegExp(Ji,"g"),ze=RegExp(yr+"(?="+yr+")|"+U+cs,"g"),Ve=RegExp([Yi+"?"+ts+"+"+as+"(?="+[xr,Yi,"$"].join("|")+")",_a+"+"+os+"(?="+[xr,Yi+ss,"$"].join("|")+")",Yi+"?"+ss+"+"+as,Yi+"+"+os,ba,ma,es,va].join("|"),"g"),we=RegExp("["+rs+Pi+Ki+ji+"]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_t=["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"],Ft=-1,yt={};yt[Cn]=yt[fi]=yt[ci]=yt[fn]=yt[Ci]=yt[ne]=yt[Le]=yt[at]=yt[Nt]=!0,yt[$]=yt[ge]=yt[zn]=yt[Me]=yt[Gt]=yt[He]=yt[Ke]=yt[St]=yt[kt]=yt[Yt]=yt[on]=yt[bn]=yt[Qt]=yt[Rn]=yt[en]=!1;var ht={};ht[$]=ht[ge]=ht[zn]=ht[Gt]=ht[Me]=ht[He]=ht[Cn]=ht[fi]=ht[ci]=ht[fn]=ht[Ci]=ht[kt]=ht[Yt]=ht[on]=ht[bn]=ht[Qt]=ht[Rn]=ht[Dt]=ht[ne]=ht[Le]=ht[at]=ht[Nt]=!0,ht[Ke]=ht[St]=ht[en]=!1;var Nr={\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"},Qi={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Ir={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},je={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},It=parseFloat,Vt=parseInt,Zt=typeof Gr=="object"&&Gr&&Gr.Object===Object&&Gr,Dn=typeof self=="object"&&self&&self.Object===Object&&self,Lt=Zt||Dn||Function("return this")(),Ni=e&&!e.nodeType&&e,ni=Ni&&!0&&i&&!i.nodeType&&i,Sl=ni&&ni.exports===Ni,ds=Sl&&Zt.process,dn=function(){try{var Q=ni&&ni.require&&ni.require("util").types;return Q||ds&&ds.binding&&ds.binding("util")}catch{}}(),hs=dn&&dn.isArrayBuffer,kl=dn&&dn.isDate,Zi=dn&&dn.isMap,rn=dn&&dn.isRegExp,Vn=dn&&dn.isSet,gs=dn&&dn.isTypedArray;function Mn(Q,de,ue){switch(ue.length){case 0:return Q.call(de);case 1:return Q.call(de,ue[0]);case 2:return Q.call(de,ue[0],ue[1]);case 3:return Q.call(de,ue[0],ue[1],ue[2])}return Q.apply(de,ue)}function I_(Q,de,ue,Oe){for(var Xe=-1,mt=Q==null?0:Q.length;++Xe<mt;){var Xt=Q[Xe];de(Oe,Xt,ue(Xt),Q)}return Oe}function Kn(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe&&de(Q[ue],ue,Q)!==!1;);return Q}function T_(Q,de){for(var ue=Q==null?0:Q.length;ue--&&de(Q[ue],ue,Q)!==!1;);return Q}function Mo(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe;)if(!de(Q[ue],ue,Q))return!1;return!0}function Xi(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length,Xe=0,mt=[];++ue<Oe;){var Xt=Q[ue];de(Xt,ue,Q)&&(mt[Xe++]=Xt)}return mt}function _s(Q,de){var ue=Q==null?0:Q.length;return!!ue&&Gl(Q,de,0)>-1}function wa(Q,de,ue){for(var Oe=-1,Xe=Q==null?0:Q.length;++Oe<Xe;)if(ue(de,Q[Oe]))return!0;return!1}function Ut(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length,Xe=Array(Oe);++ue<Oe;)Xe[ue]=de(Q[ue],ue,Q);return Xe}function $i(Q,de){for(var ue=-1,Oe=de.length,Xe=Q.length;++ue<Oe;)Q[Xe+ue]=de[ue];return Q}function Sa(Q,de,ue,Oe){var Xe=-1,mt=Q==null?0:Q.length;for(Oe&&mt&&(ue=Q[++Xe]);++Xe<mt;)ue=de(ue,Q[Xe],Xe,Q);return ue}function L_(Q,de,ue,Oe){var Xe=Q==null?0:Q.length;for(Oe&&Xe&&(ue=Q[--Xe]);Xe--;)ue=de(ue,Q[Xe],Xe,Q);return ue}function ka(Q,de){for(var ue=-1,Oe=Q==null?0:Q.length;++ue<Oe;)if(de(Q[ue],ue,Q))return!0;return!1}var A_=Ca("length");function R_(Q){return Q.split("")}function E_(Q){return Q.match(Bl)||[]}function Oo(Q,de,ue){var Oe;return ue(Q,function(Xe,mt,Xt){if(de(Xe,mt,Xt))return Oe=mt,!1}),Oe}function ps(Q,de,ue,Oe){for(var Xe=Q.length,mt=ue+(Oe?1:-1);Oe?mt--:++mt<Xe;)if(de(Q[mt],mt,Q))return mt;return-1}function Gl(Q,de,ue){return de===de?G_(Q,de,ue):ps(Q,Fo,ue)}function D_(Q,de,ue,Oe){for(var Xe=ue-1,mt=Q.length;++Xe<mt;)if(Oe(Q[Xe],de))return Xe;return-1}function Fo(Q){return Q!==Q}function Uo(Q,de){var ue=Q==null?0:Q.length;return ue?Pa(Q,de)/ue:Ce}function Ca(Q){return function(de){return de==null?t:de[Q]}}function ya(Q){return function(de){return Q==null?t:Q[de]}}function Bo(Q,de,ue,Oe,Xe){return Xe(Q,function(mt,Xt,At){ue=Oe?(Oe=!1,mt):de(ue,mt,Xt,At)}),ue}function V_(Q,de){var ue=Q.length;for(Q.sort(de);ue--;)Q[ue]=Q[ue].value;return Q}function Pa(Q,de){for(var ue,Oe=-1,Xe=Q.length;++Oe<Xe;){var mt=de(Q[Oe]);mt!==t&&(ue=ue===t?mt:ue+mt)}return ue}function Na(Q,de){for(var ue=-1,Oe=Array(Q);++ue<Q;)Oe[ue]=de(ue);return Oe}function M_(Q,de){return Ut(de,function(ue){return[ue,Q[ue]]})}function Ho(Q){return Q&&Q.slice(0,Go(Q)+1).replace(yi,"")}function On(Q){return function(de){return Q(de)}}function Ia(Q,de){return Ut(de,function(ue){return Q[ue]})}function Tr(Q,de){return Q.has(de)}function Wo(Q,de){for(var ue=-1,Oe=Q.length;++ue<Oe&&Gl(de,Q[ue],0)>-1;);return ue}function qo(Q,de){for(var ue=Q.length;ue--&&Gl(de,Q[ue],0)>-1;);return ue}function O_(Q,de){for(var ue=Q.length,Oe=0;ue--;)Q[ue]===de&&++Oe;return Oe}var F_=ya(Nr),U_=ya(Qi);function B_(Q){return"\\"+je[Q]}function H_(Q,de){return Q==null?t:Q[de]}function Kl(Q){return we.test(Q)}function W_(Q){return De.test(Q)}function q_(Q){for(var de,ue=[];!(de=Q.next()).done;)ue.push(de.value);return ue}function Ta(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe,Xe){ue[++de]=[Xe,Oe]}),ue}function zo(Q,de){return function(ue){return Q(de(ue))}}function xi(Q,de){for(var ue=-1,Oe=Q.length,Xe=0,mt=[];++ue<Oe;){var Xt=Q[ue];(Xt===de||Xt===h)&&(Q[ue]=h,mt[Xe++]=ue)}return mt}function ms(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe){ue[++de]=Oe}),ue}function z_(Q){var de=-1,ue=Array(Q.size);return Q.forEach(function(Oe){ue[++de]=[Oe,Oe]}),ue}function G_(Q,de,ue){for(var Oe=ue-1,Xe=Q.length;++Oe<Xe;)if(Q[Oe]===de)return Oe;return-1}function K_(Q,de,ue){for(var Oe=ue+1;Oe--;)if(Q[Oe]===de)return Oe;return Oe}function jl(Q){return Kl(Q)?J_(Q):A_(Q)}function ii(Q){return Kl(Q)?Y_(Q):R_(Q)}function Go(Q){for(var de=Q.length;de--&&Wi.test(Q.charAt(de)););return de}var j_=ya(Ir);function J_(Q){for(var de=ze.lastIndex=0;ze.test(Q);)++de;return de}function Y_(Q){return Q.match(ze)||[]}function Q_(Q){return Q.match(Ve)||[]}var Z_=function Q(de){de=de==null?Lt:Jl.defaults(Lt.Object(),de,Jl.pick(Lt,_t));var ue=de.Array,Oe=de.Date,Xe=de.Error,mt=de.Function,Xt=de.Math,At=de.Object,La=de.RegExp,X_=de.String,jn=de.TypeError,bs=ue.prototype,$_=mt.prototype,Yl=At.prototype,vs=de["__core-js_shared__"],ws=$_.toString,Pt=Yl.hasOwnProperty,x_=0,Ko=function(){var a=/[^.]+$/.exec(vs&&vs.keys&&vs.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),Ss=Yl.toString,ep=ws.call(At),tp=Lt._,np=La("^"+ws.call(Pt).replace(hl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ks=Sl?de.Buffer:t,el=de.Symbol,Cs=de.Uint8Array,jo=ks?ks.allocUnsafe:t,ys=zo(At.getPrototypeOf,At),Jo=At.create,Yo=Yl.propertyIsEnumerable,Ps=bs.splice,Qo=el?el.isConcatSpreadable:t,Lr=el?el.iterator:t,Cl=el?el.toStringTag:t,Ns=function(){try{var a=Tl(At,"defineProperty");return a({},"",{}),a}catch{}}(),ip=de.clearTimeout!==Lt.clearTimeout&&de.clearTimeout,lp=Oe&&Oe.now!==Lt.Date.now&&Oe.now,rp=de.setTimeout!==Lt.setTimeout&&de.setTimeout,Is=Xt.ceil,Ts=Xt.floor,Aa=At.getOwnPropertySymbols,sp=ks?ks.isBuffer:t,Zo=de.isFinite,ap=bs.join,op=zo(At.keys,At),$t=Xt.max,hn=Xt.min,up=Oe.now,fp=de.parseInt,Xo=Xt.random,cp=bs.reverse,Ra=Tl(de,"DataView"),Ar=Tl(de,"Map"),Ea=Tl(de,"Promise"),Ql=Tl(de,"Set"),Rr=Tl(de,"WeakMap"),Er=Tl(At,"create"),Ls=Rr&&new Rr,Zl={},dp=Ll(Ra),hp=Ll(Ar),gp=Ll(Ea),_p=Ll(Ql),pp=Ll(Rr),As=el?el.prototype:t,Dr=As?As.valueOf:t,$o=As?As.toString:t;function E(a){if(zt(a)&&!xe(a)&&!(a instanceof ut)){if(a instanceof Jn)return a;if(Pt.call(a,"__wrapped__"))return xu(a)}return new Jn(a)}var Xl=function(){function a(){}return function(u){if(!Ht(u))return{};if(Jo)return Jo(u);a.prototype=u;var d=new a;return a.prototype=t,d}}();function Rs(){}function Jn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}E.templateSettings={escape:gr,evaluate:_r,interpolate:Fl,variable:"",imports:{_:E}},E.prototype=Rs.prototype,E.prototype.constructor=E,Jn.prototype=Xl(Rs.prototype),Jn.prototype.constructor=Jn;function ut(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=se,this.__views__=[]}function mp(){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 bp(){if(this.__filtered__){var a=new ut(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function vp(){var a=this.__wrapped__.value(),u=this.__dir__,d=xe(a),m=u<0,N=d?a.length:0,V=Rm(0,N,this.__views__),W=V.start,J=V.end,X=J-W,he=m?J:W-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;){he+=u;for(var it=-1,Qe=a[he];++it<ve;){var ot=_e[it],ct=ot.iteratee,Bn=ot.type,Sn=ct(Qe);if(Bn==z)Qe=Sn;else if(!Sn){if(Bn==pe)continue e;break e}}Ye[Re++]=Qe}return Ye}ut.prototype=Xl(Rs.prototype),ut.prototype.constructor=ut;function yl(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 wp(){this.__data__=Er?Er(null):{},this.size=0}function Sp(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function kp(a){var u=this.__data__;if(Er){var d=u[a];return d===f?t:d}return Pt.call(u,a)?u[a]:t}function Cp(a){var u=this.__data__;return Er?u[a]!==t:Pt.call(u,a)}function yp(a,u){var d=this.__data__;return this.size+=this.has(a)?0:1,d[a]=Er&&u===t?f:u,this}yl.prototype.clear=wp,yl.prototype.delete=Sp,yl.prototype.get=kp,yl.prototype.has=Cp,yl.prototype.set=yp;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 Pp(){this.__data__=[],this.size=0}function Np(a){var u=this.__data__,d=Es(u,a);if(d<0)return!1;var m=u.length-1;return d==m?u.pop():Ps.call(u,d,1),--this.size,!0}function Ip(a){var u=this.__data__,d=Es(u,a);return d<0?t:u[d][1]}function Tp(a){return Es(this.__data__,a)>-1}function Lp(a,u){var d=this.__data__,m=Es(d,a);return m<0?(++this.size,d.push([a,u])):d[m][1]=u,this}Ii.prototype.clear=Pp,Ii.prototype.delete=Np,Ii.prototype.get=Ip,Ii.prototype.has=Tp,Ii.prototype.set=Lp;function Ti(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 Ap(){this.size=0,this.__data__={hash:new yl,map:new(Ar||Ii),string:new yl}}function Rp(a){var u=Gs(this,a).delete(a);return this.size-=u?1:0,u}function Ep(a){return Gs(this,a).get(a)}function Dp(a){return Gs(this,a).has(a)}function Vp(a,u){var d=Gs(this,a),m=d.size;return d.set(a,u),this.size+=d.size==m?0:1,this}Ti.prototype.clear=Ap,Ti.prototype.delete=Rp,Ti.prototype.get=Ep,Ti.prototype.has=Dp,Ti.prototype.set=Vp;function Pl(a){var u=-1,d=a==null?0:a.length;for(this.__data__=new Ti;++u<d;)this.add(a[u])}function Mp(a){return this.__data__.set(a,f),this}function Op(a){return this.__data__.has(a)}Pl.prototype.add=Pl.prototype.push=Mp,Pl.prototype.has=Op;function li(a){var u=this.__data__=new Ii(a);this.size=u.size}function Fp(){this.__data__=new Ii,this.size=0}function Up(a){var u=this.__data__,d=u.delete(a);return this.size=u.size,d}function Bp(a){return this.__data__.get(a)}function Hp(a){return this.__data__.has(a)}function Wp(a,u){var d=this.__data__;if(d instanceof Ii){var m=d.__data__;if(!Ar||m.length<l-1)return m.push([a,u]),this.size=++d.size,this;d=this.__data__=new Ti(m)}return d.set(a,u),this.size=d.size,this}li.prototype.clear=Fp,li.prototype.delete=Up,li.prototype.get=Bp,li.prototype.has=Hp,li.prototype.set=Wp;function xo(a,u){var d=xe(a),m=!d&&Al(a),N=!d&&!m&&rl(a),V=!d&&!m&&!N&&tr(a),W=d||m||N||V,J=W?Na(a.length,X_):[],X=J.length;for(var he in a)(u||Pt.call(a,he))&&!(W&&(he=="length"||N&&(he=="offset"||he=="parent")||V&&(he=="buffer"||he=="byteLength"||he=="byteOffset")||Ei(he,X)))&&J.push(he);return J}function eu(a){var u=a.length;return u?a[za(0,u-1)]:t}function qp(a,u){return Ks(Pn(a),Nl(u,0,a.length))}function zp(a){return Ks(Pn(a))}function Da(a,u,d){(d!==t&&!ri(a[u],d)||d===t&&!(u in a))&&Li(a,u,d)}function Vr(a,u,d){var m=a[u];(!(Pt.call(a,u)&&ri(m,d))||d===t&&!(u in a))&&Li(a,u,d)}function Es(a,u){for(var d=a.length;d--;)if(ri(a[d][0],u))return d;return-1}function Gp(a,u,d,m){return tl(a,function(N,V,W){u(m,N,d(N),W)}),m}function tu(a,u){return a&&_i(u,tn(u),a)}function Kp(a,u){return a&&_i(u,In(u),a)}function Li(a,u,d){u=="__proto__"&&Ns?Ns(a,u,{configurable:!0,enumerable:!0,value:d,writable:!0}):a[u]=d}function Va(a,u){for(var d=-1,m=u.length,N=ue(m),V=a==null;++d<m;)N[d]=V?t:_o(a,u[d]);return N}function Nl(a,u,d){return a===a&&(d!==t&&(a=a<=d?a:d),u!==t&&(a=a>=u?a:u)),a}function Yn(a,u,d,m,N,V){var W,J=u&_,X=u&p,he=u&b;if(d&&(W=N?d(a,m,N,V):d(a)),W!==t)return W;if(!Ht(a))return a;var _e=xe(a);if(_e){if(W=Dm(a),!J)return Pn(a,W)}else{var ve=gn(a),Re=ve==St||ve==qt;if(rl(a))return Pu(a,J);if(ve==on||ve==$||Re&&!N){if(W=X||Re?{}:Gu(a),!J)return X?km(a,Kp(W,a)):Sm(a,tu(W,a))}else{if(!ht[ve])return N?a:{};W=Vm(a,ve,J)}}V||(V=new li);var Be=V.get(a);if(Be)return Be;V.set(a,W),wf(a)?a.forEach(function(Qe){W.add(Yn(Qe,u,d,Qe,a,V))}):bf(a)&&a.forEach(function(Qe,ot){W.set(ot,Yn(Qe,u,d,ot,a,V))});var Ye=he?X?eo:xa:X?In:tn,it=_e?t:Ye(a);return Kn(it||a,function(Qe,ot){it&&(ot=Qe,Qe=a[ot]),Vr(W,ot,Yn(Qe,u,d,ot,a,V))}),W}function jp(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=At(a);m--;){var N=d[m],V=u[N],W=a[N];if(W===t&&!(N in a)||!V(W))return!1}return!0}function iu(a,u,d){if(typeof a!="function")throw new jn(s);return Wr(function(){a.apply(t,d)},u)}function Mr(a,u,d,m){var N=-1,V=_s,W=!0,J=a.length,X=[],he=u.length;if(!J)return X;d&&(u=Ut(u,On(d))),m?(V=wa,W=!1):u.length>=l&&(V=Tr,W=!1,u=new Pl(u));e:for(;++N<J;){var _e=a[N],ve=d==null?_e:d(_e);if(_e=m||_e!==0?_e:0,W&&ve===ve){for(var Re=he;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(Oa,!0);function Jp(a,u){var d=!0;return tl(a,function(m,N,V){return d=!!u(m,N,V),d}),d}function Ds(a,u,d){for(var m=-1,N=a.length;++m<N;){var V=a[m],W=u(V);if(W!=null&&(J===t?W===W&&!Un(W):d(W,J)))var J=W,X=V}return X}function Yp(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 sn(a,u,d,m,N){var V=-1,W=a.length;for(d||(d=Om),N||(N=[]);++V<W;){var J=a[V];u>0&&d(J)?u>1?sn(J,u-1,d,m,N):$i(N,J):m||(N[N.length]=J)}return N}var Ma=Ru(),su=Ru(!0);function gi(a,u){return a&&Ma(a,u,tn)}function Oa(a,u){return a&&su(a,u,tn)}function Vs(a,u){return Xi(u,function(d){return Di(a[d])})}function Il(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?dl:pn:Cl&&Cl in At(a)?Am(a):zm(a)}function Fa(a,u){return a>u}function Qp(a,u){return a!=null&&Pt.call(a,u)}function Zp(a,u){return a!=null&&u in At(a)}function Xp(a,u,d){return a>=hn(u,d)&&a<$t(u,d)}function Ua(a,u,d){for(var m=d?wa:_s,N=a[0].length,V=a.length,W=V,J=ue(V),X=1/0,he=[];W--;){var _e=a[W];W&&u&&(_e=Ut(_e,On(u))),X=hn(_e.length,X),J[W]=!d&&(u||N>=120&&_e.length>=120)?new Pl(W&&_e):t}_e=a[0];var ve=-1,Re=J[0];e:for(;++ve<N&&he.length<X;){var Be=_e[ve],Ye=u?u(Be):Be;if(Be=d||Be!==0?Be:0,!(Re?Tr(Re,Ye):m(he,Ye,d))){for(W=V;--W;){var it=J[W];if(!(it?Tr(it,Ye):m(a[W],Ye,d)))continue e}Re&&Re.push(Ye),he.push(Be)}}return he}function $p(a,u,d,m){return gi(a,function(N,V,W){u(m,d(N),V,W)}),m}function Or(a,u,d){u=il(u,a),a=Yu(a,u);var m=a==null?a:a[pi(Zn(u))];return m==null?t:Mn(m,a,d)}function ou(a){return zt(a)&&vn(a)==$}function xp(a){return zt(a)&&vn(a)==zn}function em(a){return zt(a)&&vn(a)==He}function Fr(a,u,d,m,N){return a===u?!0:a==null||u==null||!zt(a)&&!zt(u)?a!==a&&u!==u:tm(a,u,d,m,Fr,N)}function tm(a,u,d,m,N,V){var W=xe(a),J=xe(u),X=W?ge:gn(a),he=J?ge:gn(u);X=X==$?on:X,he=he==$?on:he;var _e=X==on,ve=he==on,Re=X==he;if(Re&&rl(a)){if(!rl(u))return!1;W=!0,_e=!1}if(Re&&!_e)return V||(V=new li),W||tr(a)?Wu(a,u,d,m,N,V):Tm(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),Lm(a,u,d,m,N,V)):!1}function nm(a){return zt(a)&&gn(a)==kt}function Ba(a,u,d,m){var N=d.length,V=N,W=!m;if(a==null)return!V;for(a=At(a);N--;){var J=d[N];if(W&&J[2]?J[1]!==a[J[0]]:!(J[0]in a))return!1}for(;++N<V;){J=d[N];var X=J[0],he=a[X],_e=J[1];if(W&&J[2]){if(he===t&&!(X in a))return!1}else{var ve=new li;if(m)var Re=m(he,_e,X,a,u,ve);if(!(Re===t?Fr(_e,he,v|w,m,ve):Re))return!1}}return!0}function uu(a){if(!Ht(a)||Um(a))return!1;var u=Di(a)?np:Sr;return u.test(Ll(a))}function im(a){return zt(a)&&vn(a)==bn}function lm(a){return zt(a)&&gn(a)==Qt}function rm(a){return zt(a)&&Xs(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 Ha(a){if(!Hr(a))return op(a);var u=[];for(var d in At(a))Pt.call(a,d)&&d!="constructor"&&u.push(d);return u}function sm(a){if(!Ht(a))return qm(a);var u=Hr(a),d=[];for(var m in a)m=="constructor"&&(u||!Pt.call(a,m))||d.push(m);return d}function Wa(a,u){return a<u}function cu(a,u){var d=-1,m=Nn(a)?ue(a.length):[];return tl(a,function(N,V,W){m[++d]=u(N,V,W)}),m}function du(a){var u=no(a);return u.length==1&&u[0][2]?ju(u[0][0],u[0][1]):function(d){return d===a||Ba(d,a,u)}}function hu(a,u){return lo(a)&&Ku(u)?ju(pi(a),u):function(d){var m=_o(d,a);return m===t&&m===u?po(d,a):Fr(u,m,v|w)}}function Ms(a,u,d,m,N){a!==u&&Ma(u,function(V,W){if(N||(N=new li),Ht(V))am(a,u,W,d,Ms,m,N);else{var J=m?m(so(a,W),V,W+"",a,u,N):t;J===t&&(J=V),Da(a,W,J)}},In)}function am(a,u,d,m,N,V,W){var J=so(a,d),X=so(u,d),he=W.get(X);if(he){Da(a,d,he);return}var _e=V?V(J,X,d+"",a,u,W):t,ve=_e===t;if(ve){var Re=xe(X),Be=!Re&&rl(X),Ye=!Re&&!Be&&tr(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=[]:qr(X)||Al(X)?(_e=J,Al(J)?_e=Cf(J):(!Ht(J)||Di(J))&&(_e=Gu(X))):ve=!1}ve&&(W.set(X,_e),N(_e,X,m,V,W),W.delete(X)),Da(a,d,_e)}function gu(a,u){var d=a.length;if(!!d)return u+=u<0?d:0,Ei(u,d)?a[u]:t}function _u(a,u,d){u.length?u=Ut(u,function(V){return xe(V)?function(W){return Il(W,V.length===1?V[0]:V)}:V}):u=[Tn];var m=-1;u=Ut(u,On(Je()));var N=cu(a,function(V,W,J){var X=Ut(u,function(he){return he(V)});return{criteria:X,index:++m,value:V}});return V_(N,function(V,W){return wm(V,W,d)})}function om(a,u){return pu(a,u,function(d,m){return po(a,m)})}function pu(a,u,d){for(var m=-1,N=u.length,V={};++m<N;){var W=u[m],J=Il(a,W);d(J,W)&&Ur(V,il(W,a),J)}return V}function um(a){return function(u){return Il(u,a)}}function qa(a,u,d,m){var N=m?D_:Gl,V=-1,W=u.length,J=a;for(a===u&&(u=Pn(u)),d&&(J=Ut(a,On(d)));++V<W;)for(var X=0,he=u[V],_e=d?d(he):he;(X=N(J,_e,X,m))>-1;)J!==a&&Ps.call(J,X,1),Ps.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;Ei(N)?Ps.call(a,N,1):ja(a,N)}}return a}function za(a,u){return a+Ts(Xo()*(u-a+1))}function fm(a,u,d,m){for(var N=-1,V=$t(Is((u-a)/(d||1)),0),W=ue(V);V--;)W[m?V:++N]=a,a+=d;return W}function Ga(a,u){var d="";if(!a||u<1||u>le)return d;do u%2&&(d+=a),u=Ts(u/2),u&&(a+=a);while(u);return d}function rt(a,u){return ao(Ju(a,u,Tn),a+"")}function cm(a){return eu(nr(a))}function dm(a,u){var d=nr(a);return Ks(d,Nl(u,0,d.length))}function Ur(a,u,d,m){if(!Ht(a))return a;u=il(u,a);for(var N=-1,V=u.length,W=V-1,J=a;J!=null&&++N<V;){var X=pi(u[N]),he=d;if(X==="__proto__"||X==="constructor"||X==="prototype")return a;if(N!=W){var _e=J[X];he=m?m(_e,X,J):t,he===t&&(he=Ht(_e)?_e:Ei(u[N+1])?[]:{})}Vr(J,X,he),J=J[X]}return a}var bu=Ls?function(a,u){return Ls.set(a,u),a}:Tn,hm=Ns?function(a,u){return Ns(a,"toString",{configurable:!0,enumerable:!1,value:bo(u),writable:!0})}:Tn;function gm(a){return Ks(nr(a))}function Qn(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=ue(N);++m<N;)V[m]=a[m+u];return V}function _m(a,u){var d;return tl(a,function(m,N,V){return d=u(m,N,V),!d}),!!d}function Os(a,u,d){var m=0,N=a==null?m:a.length;if(typeof u=="number"&&u===u&&N<=te){for(;m<N;){var V=m+N>>>1,W=a[V];W!==null&&!Un(W)&&(d?W<=u:W<u)?m=V+1:N=V}return N}return Ka(a,u,Tn,d)}function Ka(a,u,d,m){var N=0,V=a==null?0:a.length;if(V===0)return 0;u=d(u);for(var W=u!==u,J=u===null,X=Un(u),he=u===t;N<V;){var _e=Ts((N+V)/2),ve=d(a[_e]),Re=ve!==t,Be=ve===null,Ye=ve===ve,it=Un(ve);if(W)var Qe=m||Ye;else he?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 W=a[d],J=u?u(W):W;if(!d||!ri(J,X)){var X=J;V[N++]=W===0?0:W}}return V}function wu(a){return typeof a=="number"?a:Un(a)?Ce:+a}function Fn(a){if(typeof a=="string")return a;if(xe(a))return Ut(a,Fn)+"";if(Un(a))return $o?$o.call(a):"";var u=a+"";return u=="0"&&1/a==-ce?"-0":u}function nl(a,u,d){var m=-1,N=_s,V=a.length,W=!0,J=[],X=J;if(d)W=!1,N=wa;else if(V>=l){var he=u?null:Nm(a);if(he)return ms(he);W=!1,N=Tr,X=new Pl}else X=u?[]:J;e:for(;++m<V;){var _e=a[m],ve=u?u(_e):_e;if(_e=d||_e!==0?_e:0,W&&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 ja(a,u){return u=il(u,a),a=Yu(a,u),a==null||delete a[pi(Zn(u))]}function Su(a,u,d,m){return Ur(a,u,d(Il(a,u)),m)}function Fs(a,u,d,m){for(var N=a.length,V=m?N:-1;(m?V--:++V<N)&&u(a[V],V,a););return d?Qn(a,m?0:V,m?V+1:N):Qn(a,m?V+1:0,m?N:V)}function ku(a,u){var d=a;return d instanceof ut&&(d=d.value()),Sa(u,function(m,N){return N.func.apply(N.thisArg,$i([m],N.args))},d)}function Ja(a,u,d){var m=a.length;if(m<2)return m?nl(a[0]):[];for(var N=-1,V=ue(m);++N<m;)for(var W=a[N],J=-1;++J<m;)J!=N&&(V[N]=Mr(V[N]||W,a[J],u,d));return nl(sn(V,1),u,d)}function Cu(a,u,d){for(var m=-1,N=a.length,V=u.length,W={};++m<N;){var J=m<V?u[m]:t;d(W,a[m],J)}return W}function Ya(a){return Kt(a)?a:[]}function Qa(a){return typeof a=="function"?a:Tn}function il(a,u){return xe(a)?a:lo(a,u)?[a]:$u(wt(a))}var pm=rt;function ll(a,u,d){var m=a.length;return d=d===t?m:d,!u&&d>=m?a:Qn(a,u,d)}var yu=ip||function(a){return Lt.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 Za(a){var u=new a.constructor(a.byteLength);return new Cs(u).set(new Cs(a)),u}function mm(a,u){var d=u?Za(a.buffer):a.buffer;return new a.constructor(d,a.byteOffset,a.byteLength)}function bm(a){var u=new a.constructor(a.source,zi.exec(a));return u.lastIndex=a.lastIndex,u}function vm(a){return Dr?At(Dr.call(a)):{}}function Nu(a,u){var d=u?Za(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),W=u!==t,J=u===null,X=u===u,he=Un(u);if(!J&&!he&&!V&&a>u||V&&W&&X&&!J&&!he||m&&W&&X||!d&&X||!N)return 1;if(!m&&!V&&!he&&a<u||he&&d&&N&&!m&&!V||J&&d&&N||!W&&N||!X)return-1}return 0}function wm(a,u,d){for(var m=-1,N=a.criteria,V=u.criteria,W=N.length,J=d.length;++m<W;){var X=Iu(N[m],V[m]);if(X){if(m>=J)return X;var he=d[m];return X*(he=="desc"?-1:1)}}return a.index-u.index}function Tu(a,u,d,m){for(var N=-1,V=a.length,W=d.length,J=-1,X=u.length,he=$t(V-W,0),_e=ue(X+he),ve=!m;++J<X;)_e[J]=u[J];for(;++N<W;)(ve||N<V)&&(_e[d[N]]=a[N]);for(;he--;)_e[J++]=a[N++];return _e}function Lu(a,u,d,m){for(var N=-1,V=a.length,W=-1,J=d.length,X=-1,he=u.length,_e=$t(V-J,0),ve=ue(_e+he),Re=!m;++N<_e;)ve[N]=a[N];for(var Be=N;++X<he;)ve[Be+X]=u[X];for(;++W<J;)(Re||N<V)&&(ve[Be+d[W]]=a[N++]);return ve}function Pn(a,u){var d=-1,m=a.length;for(u||(u=ue(m));++d<m;)u[d]=a[d];return u}function _i(a,u,d,m){var N=!d;d||(d={});for(var V=-1,W=u.length;++V<W;){var J=u[V],X=m?m(d[J],a[J],J,d,a):t;X===t&&(X=a[J]),N?Li(d,J,X):Vr(d,J,X)}return d}function Sm(a,u){return _i(a,io(a),u)}function km(a,u){return _i(a,qu(a),u)}function Us(a,u){return function(d,m){var N=xe(d)?I_:Gp,V=u?u():{};return N(d,a,Je(m,2),V)}}function $l(a){return rt(function(u,d){var m=-1,N=d.length,V=N>1?d[N-1]:t,W=N>2?d[2]:t;for(V=a.length>3&&typeof V=="function"?(N--,V):t,W&&wn(d[0],d[1],W)&&(V=N<3?t:V,N=1),u=At(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,W=At(d);(u?V--:++V<N)&&m(W[V],V,W)!==!1;);return d}}function Ru(a){return function(u,d,m){for(var N=-1,V=At(u),W=m(u),J=W.length;J--;){var X=W[a?J:++N];if(d(V[X],X,V)===!1)break}return u}}function Cm(a,u,d){var m=u&C,N=Br(a);function V(){var W=this&&this!==Lt&&this instanceof V?N:a;return W.apply(m?d:this,arguments)}return V}function Eu(a){return function(u){u=wt(u);var d=Kl(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 xl(a){return function(u){return Sa(Rf(Af(u).replace(fe,"")),a,"")}}function Br(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 Ht(m)?m:d}}function ym(a,u,d){var m=Br(a);function N(){for(var V=arguments.length,W=ue(V),J=V,X=er(N);J--;)W[J]=arguments[J];var he=V<3&&W[0]!==X&&W[V-1]!==X?[]:xi(W,X);if(V-=he.length,V<d)return Fu(a,u,Bs,N.placeholder,t,W,he,t,t,d-V);var _e=this&&this!==Lt&&this instanceof N?m:a;return Mn(_e,this,W)}return N}function Du(a){return function(u,d,m){var N=At(u);if(!Nn(u)){var V=Je(d,3);u=tn(u),d=function(J){return V(N[J],J,N)}}var W=a(u,d,m);return W>-1?N[V?u[W]:W]:t}}function Vu(a){return Ri(function(u){var d=u.length,m=d,N=Jn.prototype.thru;for(a&&u.reverse();m--;){var V=u[m];if(typeof V!="function")throw new jn(s);if(N&&!W&&zs(V)=="wrapper")var W=new Jn([],!0)}for(m=W?m:d;++m<d;){V=u[m];var J=zs(V),X=J=="wrapper"?to(V):t;X&&ro(X[0])&&X[1]==(O|T|R|H)&&!X[4].length&&X[9]==1?W=W[zs(X[0])].apply(W,X[3]):W=V.length==1&&ro(V)?W[J]():W.thru(V)}return function(){var he=arguments,_e=he[0];if(W&&he.length==1&&xe(_e))return W.plant(_e).value();for(var ve=0,Re=d?u[ve].apply(this,he):_e;++ve<d;)Re=u[ve].call(this,Re);return Re}})}function Bs(a,u,d,m,N,V,W,J,X,he){var _e=u&O,ve=u&C,Re=u&y,Be=u&(T|D),Ye=u&F,it=Re?t:Br(a);function Qe(){for(var ot=arguments.length,ct=ue(ot),Bn=ot;Bn--;)ct[Bn]=arguments[Bn];if(Be)var Sn=er(Qe),Hn=O_(ct,Sn);if(m&&(ct=Tu(ct,m,N,Be)),V&&(ct=Lu(ct,V,W,Be)),ot-=Hn,Be&&ot<he){var jt=xi(ct,Sn);return Fu(a,u,Bs,Qe.placeholder,d,ct,jt,J,X,he-ot)}var si=ve?d:this,Mi=Re?si[a]:a;return ot=ct.length,J?ct=Gm(ct,J):Ye&&ot>1&&ct.reverse(),_e&&X<ot&&(ct.length=X),this&&this!==Lt&&this instanceof Qe&&(Mi=it||Br(Mi)),Mi.apply(si,ct)}return Qe}function Mu(a,u){return function(d,m){return $p(d,a,u(m),{})}}function Hs(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 Xa(a){return Ri(function(u){return u=Ut(u,On(Je())),rt(function(d){var m=this;return a(u,function(N){return Mn(N,m,d)})})})}function Ws(a,u){u=u===t?" ":Fn(u);var d=u.length;if(d<2)return d?Ga(u,a):u;var m=Ga(u,Is(a/jl(u)));return Kl(u)?ll(ii(m),0,a).join(""):m.slice(0,a)}function Pm(a,u,d,m){var N=u&C,V=Br(a);function W(){for(var J=-1,X=arguments.length,he=-1,_e=m.length,ve=ue(_e+X),Re=this&&this!==Lt&&this instanceof W?V:a;++he<_e;)ve[he]=m[he];for(;X--;)ve[he++]=arguments[++J];return Mn(Re,N?d:this,ve)}return W}function Ou(a){return function(u,d,m){return m&&typeof m!="number"&&wn(u,d,m)&&(d=m=t),u=Vi(u),d===t?(d=u,u=0):d=Vi(d),m=m===t?u<d?1:-1:Vi(m),fm(u,d,m,a)}}function qs(a){return function(u,d){return typeof u=="string"&&typeof d=="string"||(u=Xn(u),d=Xn(d)),a(u,d)}}function Fu(a,u,d,m,N,V,W,J,X,he){var _e=u&T,ve=_e?W:t,Re=_e?t:W,Be=_e?V:t,Ye=_e?t:V;u|=_e?R:I,u&=~(_e?I:R),u&P||(u&=~(C|y));var it=[a,u,N,Be,ve,Ye,Re,J,X,he],Qe=d.apply(t,it);return ro(a)&&Qu(Qe,it),Qe.placeholder=m,Zu(Qe,a,u)}function $a(a){var u=Xt[a];return function(d,m){if(d=Xn(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 Nm=Ql&&1/ms(new Ql([,-0]))[1]==ce?function(a){return new Ql(a)}:So;function Uu(a){return function(u){var d=gn(u);return d==kt?Ta(u):d==Qt?z_(u):M_(u,a(u))}}function Ai(a,u,d,m,N,V,W,J){var X=u&y;if(!X&&typeof a!="function")throw new jn(s);var he=m?m.length:0;if(he||(u&=~(R|I),m=N=t),W=W===t?W:$t(nt(W),0),J=J===t?J:nt(J),he-=N?N.length:0,u&I){var _e=m,ve=N;m=N=t}var Re=X?t:to(a),Be=[a,u,d,m,N,_e,ve,V,W,J];if(Re&&Wm(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:$t(Be[9]-he,0),!J&&u&(T|D)&&(u&=~(T|D)),!u||u==C)var Ye=Cm(a,u,d);else u==T||u==D?Ye=ym(a,u,J):(u==R||u==(C|R))&&!N.length?Ye=Pm(a,u,d,m):Ye=Bs.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,Yl[d])&&!Pt.call(m,d)?u:a}function Hu(a,u,d,m,N,V){return Ht(a)&&Ht(u)&&(V.set(u,a),Ms(a,u,t,Hu,V),V.delete(u)),a}function Im(a){return qr(a)?t:a}function Wu(a,u,d,m,N,V){var W=d&v,J=a.length,X=u.length;if(J!=X&&!(W&&X>J))return!1;var he=V.get(a),_e=V.get(u);if(he&&_e)return he==u&&_e==a;var ve=-1,Re=!0,Be=d&w?new Pl:t;for(V.set(a,u),V.set(u,a);++ve<J;){var Ye=a[ve],it=u[ve];if(m)var Qe=W?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(!ka(u,function(ot,ct){if(!Tr(Be,ct)&&(Ye===ot||N(Ye,ot,d,m,V)))return Be.push(ct)})){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 Tm(a,u,d,m,N,V,W){switch(d){case Gt:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case zn:return!(a.byteLength!=u.byteLength||!V(new Cs(a),new Cs(u)));case Me:case He:case Yt:return ri(+a,+u);case Ke:return a.name==u.name&&a.message==u.message;case bn:case Rn:return a==u+"";case kt:var J=Ta;case Qt:var X=m&v;if(J||(J=ms),a.size!=u.size&&!X)return!1;var he=W.get(a);if(he)return he==u;m|=w,W.set(a,u);var _e=Wu(J(a),J(u),m,N,V,W);return W.delete(a),_e;case Dt:if(Dr)return Dr.call(a)==Dr.call(u)}return!1}function Lm(a,u,d,m,N,V){var W=d&v,J=xa(a),X=J.length,he=xa(u),_e=he.length;if(X!=_e&&!W)return!1;for(var ve=X;ve--;){var Re=J[ve];if(!(W?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=W;++ve<X;){Re=J[ve];var ot=a[Re],ct=u[Re];if(m)var Bn=W?m(ct,ot,Re,u,a,V):m(ot,ct,Re,a,u,V);if(!(Bn===t?ot===ct||N(ot,ct,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 Ri(a){return ao(Ju(a,t,nf),a+"")}function xa(a){return au(a,tn,io)}function eo(a){return au(a,In,qu)}var to=Ls?function(a){return Ls.get(a)}:So;function zs(a){for(var u=a.name+"",d=Zl[u],m=Pt.call(Zl,u)?d.length:0;m--;){var N=d[m],V=N.func;if(V==null||V==a)return N.name}return u}function er(a){var u=Pt.call(E,"placeholder")?E:a;return u.placeholder}function Je(){var a=E.iteratee||vo;return a=a===vo?fu:a,arguments.length?a(arguments[0],arguments[1]):a}function Gs(a,u){var d=a.__data__;return Fm(u)?d[typeof u=="string"?"string":"hash"]:d.map}function no(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 Tl(a,u){var d=H_(a,u);return uu(d)?d:t}function Am(a){var u=Pt.call(a,Cl),d=a[Cl];try{a[Cl]=t;var m=!0}catch{}var N=Ss.call(a);return m&&(u?a[Cl]=d:delete a[Cl]),N}var io=Aa?function(a){return a==null?[]:(a=At(a),Xi(Aa(a),function(u){return Yo.call(a,u)}))}:ko,qu=Aa?function(a){for(var u=[];a;)$i(u,io(a)),a=ys(a);return u}:ko,gn=vn;(Ra&&gn(new Ra(new ArrayBuffer(1)))!=Gt||Ar&&gn(new Ar)!=kt||Ea&&gn(Ea.resolve())!=mn||Ql&&gn(new Ql)!=Qt||Rr&&gn(new Rr)!=en)&&(gn=function(a){var u=vn(a),d=u==on?a.constructor:t,m=d?Ll(d):"";if(m)switch(m){case dp:return Gt;case hp:return kt;case gp:return mn;case _p:return Qt;case pp:return en}return u});function Rm(a,u,d){for(var m=-1,N=d.length;++m<N;){var V=d[m],W=V.size;switch(V.type){case"drop":a+=W;break;case"dropRight":u-=W;break;case"take":u=hn(u,a+W);break;case"takeRight":a=$t(a,u-W);break}}return{start:a,end:u}}function Em(a){var u=a.match(qi);return u?u[1].split(Ul):[]}function zu(a,u,d){u=il(u,a);for(var m=-1,N=u.length,V=!1;++m<N;){var W=pi(u[m]);if(!(V=a!=null&&d(a,W)))break;a=a[W]}return V||++m!=N?V:(N=a==null?0:a.length,!!N&&Xs(N)&&Ei(W,N)&&(xe(a)||Al(a)))}function Dm(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"&&!Hr(a)?Xl(ys(a)):{}}function Vm(a,u,d){var m=a.constructor;switch(u){case zn:return Za(a);case Me:case He:return new m(+a);case Gt:return mm(a,d);case Cn:case fi:case ci:case fn:case Ci:case ne:case Le:case at:case Nt:return Nu(a,d);case kt:return new m;case Yt:case Rn:return new m(a);case bn:return bm(a);case Qt:return new m;case Dt:return vm(a)}}function Mm(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(gl,`{
34
34
  /* [wrapped with `+u+`] */
35
- `)}function Om(a){return xe(a)||Al(a)||!!(Qo&&a&&a[Qo])}function Ei(a,u){var d=typeof a;return u=u==null?le:u,!!u&&(d=="number"||d!="symbol"&&gl.test(a))&&a>-1&&a%1==0&&a<u}function vn(a,u,d){if(!Ht(d))return!1;var m=typeof u;return(m=="number"?In(d)&&Ei(u,d.length):m=="string"&&u in d)?si(d[u],a):!1}function io(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 Fm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function lo(a){var u=Ws(a),d=E[u];if(typeof d!="function"||!(u in ut.prototype))return!1;if(a===d)return!0;var m=eo(d);return!!m&&a===m[0]}function Um(a){return!!Ko&&Ko in a}var Bm=ms?Di:ko;function zr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Zl;return a===d}function Ku(a){return a===a&&!Ht(a)}function ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in Lt(d))}}function Hm(a){var u=Js(a,function(m){return d.size===g&&d.clear(),m}),d=u.cache;return u}function Wm(a,u){var d=a[1],m=u[1],N=d|m,V=N<(C|y|O),W=m==O&&d==T||m==O&&d==H&&a[7].length<=u[8]||m==(O|H)&&u[7].length<=u[8]&&d==T;if(!(V||W))return a;m&C&&(a[2]=u[2],N|=d&C?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]:dn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=N,a}function qm(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),W=ue(V);++N<V;)W[N]=m[u+N];N=-1;for(var J=ue(u+1);++N<u;)J[N]=m[N];return J[u]=d(W),Mn(a,this,J)}}function Yu(a,u){return u.length<2?a:Il(a,Zn(u,0,-1))}function Gm(a,u){for(var d=a.length,m=dn(u.length,d),N=Nn(a);m--;){var V=u[m];a[m]=Ei(V,d)?N[V]:t}return a}function ro(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Qu=Xu(bu),Gr=rp||function(a,u){return Bt.setTimeout(a,u)},so=Xu(hm);function Zu(a,u,d){var m=u+"";return so(a,Mm(m,Km(Em(m),d)))}function Xu(a){var u=0,d=0;return function(){var m=up(),N=x-(m-d);if(d=m,N>0){if(++u>=ee)return arguments[0]}else u=0;return a.apply(t,arguments)}}function zs(a,u){var d=-1,m=a.length,N=m-1;for(u=u===t?m:u;++d<u;){var V=qa(d,N),W=a[V];a[V]=a[d],a[d]=W}return a.length=u,a}var $u=Hm(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 mi(a){if(typeof a=="string"||Un(a))return a;var u=a+"";return u=="0"&&1/a==-ce?"-0":u}function Ll(a){if(a!=null){try{return bs.call(a)}catch{}try{return a+""}catch{}}return""}function Km(a,u){return jn(Ae,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__=Nn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function jm(a,u,d){(d?vn(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,W=ue(Ps(m/u));N<m;)W[V++]=Zn(a,N,N+=u);return W}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 Ym(){var a=arguments.length;if(!a)return[];for(var u=ue(a-1),d=arguments[0],m=a;m--;)u[m-1]=arguments[m];return Zi(xe(d)?Nn(d):[d],sn(u,1))}var Qm=rt(function(a,u){return Kt(a)?Ur(a,sn(u,1,Kt,!0)):[]}),Zm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Ur(a,sn(u,1,Kt,!0),Je(d,2)):[]}),Xm=rt(function(a,u){var d=Xn(u);return Kt(d)&&(d=t),Kt(a)?Ur(a,sn(u,1,Kt,!0),t,d):[]});function $m(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 xm(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 e1(a,u){return a&&a.length?Ms(a,Je(u,3),!0,!0):[]}function t1(a,u){return a&&a.length?Ms(a,Je(u,3),!0):[]}function n1(a,u,d,m){var N=a==null?0:a.length;return N?(d&&typeof d!="number"&&vn(a,u,d)&&(d=0,m=N),Yp(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):dn(N,m-1)),gs(a,Je(u,3),N,!0)}function nf(a){var u=a==null?0:a.length;return u?sn(a,1):[]}function i1(a){var u=a==null?0:a.length;return u?sn(a,ce):[]}function l1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:nt(u),sn(a,u)):[]}function r1(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 s1(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 a1(a){var u=a==null?0:a.length;return u?Zn(a,0,-1):[]}var o1=rt(function(a){var u=Ft(a,Ja);return u.length&&u[0]===a[0]?Fa(u):[]}),u1=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]?Fa(d,Je(u,2)):[]}),f1=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]?Fa(d,t,u):[]});function c1(a,u){return a==null?"":ap.call(a,u)}function Xn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function d1(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):dn(N,m-1)),u===u?K_(a,u,N):gs(a,Fo,N,!0)}function h1(a,u){return a&&a.length?gu(a,nt(u)):t}var g1=rt(rf);function rf(a,u){return a&&a.length&&u&&u.length?Wa(a,u):a}function _1(a,u,d){return a&&a.length&&u&&u.length?Wa(a,u,Je(d,2)):a}function p1(a,u,d){return a&&a.length&&u&&u.length?Wa(a,u,t,d):a}var m1=Ri(function(a,u){var d=a==null?0:a.length,m=Da(a,u);return mu(a,Ft(u,function(N){return Ei(N,d)?+N:N}).sort(Iu)),m});function b1(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 W=a[m];u(W,m,a)&&(d.push(W),N.push(m))}return mu(a,N),d}function ao(a){return a==null?a:cp.call(a)}function v1(a,u,d){var m=a==null?0:a.length;return m?(d&&typeof d!="number"&&vn(a,u,d)?(u=0,d=m):(u=u==null?0:nt(u),d=d===t?m:nt(d)),Zn(a,u,d)):[]}function w1(a,u){return Vs(a,u)}function S1(a,u,d){return Ga(a,u,Je(d,2))}function k1(a,u){var d=a==null?0:a.length;if(d){var m=Vs(a,u);if(m<d&&si(a[m],u))return m}return-1}function C1(a,u){return Vs(a,u,!0)}function y1(a,u,d){return Ga(a,u,Je(d,2),!0)}function P1(a,u){var d=a==null?0:a.length;if(d){var m=Vs(a,u,!0)-1;if(si(a[m],u))return m}return-1}function N1(a){return a&&a.length?vu(a):[]}function I1(a,u){return a&&a.length?vu(a,Je(u,2)):[]}function T1(a){var u=a==null?0:a.length;return u?Zn(a,1,u):[]}function L1(a,u,d){return a&&a.length?(u=d||u===t?1:nt(u),Zn(a,0,u<0?0:u)):[]}function A1(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 R1(a,u){return a&&a.length?Ms(a,Je(u,3),!1,!0):[]}function E1(a,u){return a&&a.length?Ms(a,Je(u,3)):[]}var D1=rt(function(a){return el(sn(a,1,Kt,!0))}),V1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),el(sn(a,1,Kt,!0),Je(u,2))}),M1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,el(sn(a,1,Kt,!0),t,u)});function O1(a){return a&&a.length?el(a):[]}function F1(a,u){return a&&a.length?el(a,Je(u,2)):[]}function U1(a,u){return u=typeof u=="function"?u:t,a&&a.length?el(a,t,u):[]}function oo(a){if(!(a&&a.length))return[];var u=0;return a=Qi(a,function(d){if(Kt(d))return u=Xt(d.length,u),!0}),Pa(u,function(d){return Ft(a,ka(d))})}function sf(a,u){if(!(a&&a.length))return[];var d=oo(a);return u==null?d:Ft(d,function(m){return Mn(u,t,m)})}var B1=rt(function(a,u){return Kt(a)?Ur(a,u):[]}),H1=rt(function(a){return ja(Qi(a,Kt))}),W1=rt(function(a){var u=Xn(a);return Kt(u)&&(u=t),ja(Qi(a,Kt),Je(u,2))}),q1=rt(function(a){var u=Xn(a);return u=typeof u=="function"?u:t,ja(Qi(a,Kt),t,u)}),z1=rt(oo);function G1(a,u){return Cu(a||[],u||[],Fr)}function K1(a,u){return Cu(a||[],u||[],Wr)}var j1=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=E(a);return u.__chain__=!0,u}function J1(a,u){return u(a),a}function Gs(a,u){return u(a)}var Y1=Ri(function(a){var u=a.length,d=u?a[0]:0,m=this.__wrapped__,N=function(V){return Da(V,a)};return u>1||this.__actions__.length||!(m instanceof ut)||!Ei(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 Q1(){return af(this)}function Z1(){return new Yn(this.value(),this.__chain__)}function X1(){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 $1(){return this}function x1(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 eb(){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:[ao],thisArg:t}),new Yn(u,this.__chain__)}return this.thru(ao)}function tb(){return ku(this.__wrapped__,this.__actions__)}var nb=Os(function(a,u,d){Pt.call(a,d)?++a[d]:Li(a,d,1)});function ib(a,u,d){var m=xe(a)?Mo:Jp;return d&&vn(a,u,d)&&(u=t),m(a,Je(u,3))}function lb(a,u){var d=xe(a)?Qi:ru;return d(a,Je(u,3))}var rb=Du(ef),sb=Du(tf);function ab(a,u){return sn(Ks(a,u),1)}function ob(a,u){return sn(Ks(a,u),ce)}function ub(a,u,d){return d=d===t?1:nt(d),sn(Ks(a,u),d)}function of(a,u){var d=xe(a)?jn:xi;return d(a,Je(u,3))}function uf(a,u){var d=xe(a)?T_:lu;return d(a,Je(u,3))}var fb=Os(function(a,u,d){Pt.call(a,d)?a[d].push(u):Li(a,d,[u])});function cb(a,u,d,m){a=In(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 db=rt(function(a,u,d){var m=-1,N=typeof u=="function",V=In(a)?ue(a.length):[];return xi(a,function(W){V[++m]=N?Mn(u,W,d):Br(W,u,d)}),V}),hb=Os(function(a,u,d){Li(a,d,u)});function Ks(a,u){var d=xe(a)?Ft:cu;return d(a,Je(u,3))}function gb(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 _b=Os(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function pb(a,u,d){var m=xe(a)?wa:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,xi)}function mb(a,u,d){var m=xe(a)?L_:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,lu)}function bb(a,u){var d=xe(a)?Qi:ru;return d(a,Ys(Je(u,3)))}function vb(a){var u=xe(a)?eu:cm;return u(a)}function wb(a,u,d){(d?vn(a,u,d):u===t)?u=1:u=nt(u);var m=xe(a)?qp:dm;return m(a,u)}function Sb(a){var u=xe(a)?zp:gm;return u(a)}function kb(a){if(a==null)return 0;if(In(a))return Zs(a)?Yl(a):a.length;var u=hn(a);return u==Ct||u==Qt?a.size:Ba(a).length}function Cb(a,u,d){var m=xe(a)?Sa:_m;return d&&vn(a,u,d)&&(u=t),m(a,Je(u,3))}var yb=rt(function(a,u){if(a==null)return[];var d=u.length;return d>1&&vn(a,u[0],u[1])?u=[]:d>2&&vn(u[0],u[1],u[2])&&(u=[u[0]]),_u(a,sn(u,1),[])}),js=lp||function(){return Bt.Date.now()};function Pb(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,Ai(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 uo=rt(function(a,u,d){var m=C;if(d.length){var N=Xi(d,nr(uo));m|=R}return Ai(a,m,u,d,N)}),df=rt(function(a,u,d){var m=C|y;if(d.length){var N=Xi(d,nr(df));m|=R}return Ai(u,m,a,d,N)});function hf(a,u,d){u=d?t:u;var m=Ai(a,T,t,t,t,t,t,u);return m.placeholder=hf.placeholder,m}function gf(a,u,d){u=d?t:u;var m=Ai(a,D,t,t,t,t,t,u);return m.placeholder=gf.placeholder,m}function _f(a,u,d){var m,N,V,W,J,X,he=0,_e=!1,ve=!1,Re=!0;if(typeof a!="function")throw new Jn(s);u=$n(u)||0,Ht(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 ai=m,Mi=N;return m=N=t,he=jt,W=a.apply(Mi,ai),W}function Ye(jt){return he=jt,J=Gr(ot,u),_e?Be(jt):W}function it(jt){var ai=jt-X,Mi=jt-he,Vf=u-ai;return ve?dn(Vf,V-Mi):Vf}function Qe(jt){var ai=jt-X,Mi=jt-he;return X===t||ai>=u||ai<0||ve&&Mi>=V}function ot(){var jt=js();if(Qe(jt))return ct(jt);J=Gr(ot,it(jt))}function ct(jt){return J=t,Re&&m?Be(jt):(m=N=t,W)}function Bn(){J!==t&&yu(J),he=0,m=X=N=J=t}function wn(){return J===t?W:ct(js())}function Hn(){var jt=js(),ai=Qe(jt);if(m=arguments,N=this,X=jt,ai){if(J===t)return Ye(X);if(ve)return yu(J),J=Gr(ot,u),Be(X)}return J===t&&(J=Gr(ot,u)),W}return Hn.cancel=Bn,Hn.flush=wn,Hn}var Nb=rt(function(a,u){return iu(a,1,u)}),Ib=rt(function(a,u,d){return iu(a,$n(u)||0,d)});function Tb(a){return Ai(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 W=a.apply(this,m);return d.cache=V.set(N,W)||V,W};return d.cache=new(Js.Cache||Ti),d}Js.Cache=Ti;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 Lb(a){return cf(2,a)}var Ab=pm(function(a,u){u=u.length==1&&xe(u[0])?Ft(u[0],On(Je())):Ft(sn(u,1),On(Je()));var d=u.length;return rt(function(m){for(var N=-1,V=dn(m.length,d);++N<V;)m[N]=u[N].call(this,m[N]);return Mn(a,this,m)})}),fo=rt(function(a,u){var d=Xi(u,nr(fo));return Ai(a,R,t,u,d)}),pf=rt(function(a,u){var d=Xi(u,nr(pf));return Ai(a,I,t,u,d)}),Rb=Ri(function(a,u){return Ai(a,H,t,t,t,u)});function Eb(a,u){if(typeof a!="function")throw new Jn(s);return u=u===t?u:nt(u),rt(a,u)}function Db(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=nl(d,0,u);return m&&Zi(N,m),Mn(a,this,N)})}function Vb(a,u,d){var m=!0,N=!0;if(typeof a!="function")throw new Jn(s);return Ht(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 Mb(a){return ff(a,1)}function Ob(a,u){return fo(Ya(u),a)}function Fb(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Ub(a){return Qn(a,b)}function Bb(a,u){return u=typeof u=="function"?u:t,Qn(a,b,u)}function Hb(a){return Qn(a,_|b)}function Wb(a,u){return u=typeof u=="function"?u:t,Qn(a,_|b,u)}function qb(a,u){return u==null||nu(a,u,tn(u))}function si(a,u){return a===u||a!==a&&u!==u}var zb=Hs(Oa),Gb=Hs(function(a,u){return a>=u}),Al=ou(function(){return arguments}())?ou:function(a){return zt(a)&&Pt.call(a,"callee")&&!Yo.call(a,"callee")},xe=ue.isArray,Kb=kl?On(kl):xp;function In(a){return a!=null&&Qs(a.length)&&!Di(a)}function Kt(a){return zt(a)&&In(a)}function jb(a){return a===!0||a===!1||zt(a)&&bn(a)==Me}var il=sp||ko,Jb=Yi?On(Yi):em;function Yb(a){return zt(a)&&a.nodeType===1&&!Kr(a)}function Qb(a){if(a==null)return!0;if(In(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||il(a)||ir(a)||Al(a)))return!a.length;var u=hn(a);if(u==Ct||u==Qt)return!a.size;if(zr(a))return!Ba(a).length;for(var d in a)if(Pt.call(a,d))return!1;return!0}function Zb(a,u){return Hr(a,u)}function Xb(a,u,d){d=typeof d=="function"?d:t;var m=d?d(a,u):t;return m===t?Hr(a,u,t,d):!!m}function co(a){if(!zt(a))return!1;var u=bn(a);return u==Ge||u==be||typeof a.message=="string"&&typeof a.name=="string"&&!Kr(a)}function $b(a){return typeof a=="number"&&Zo(a)}function Di(a){if(!Ht(a))return!1;var u=bn(a);return u==kt||u==qt||u==oe||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<=le}function Ht(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function zt(a){return a!=null&&typeof a=="object"}var bf=rn?On(rn):nm;function xb(a,u){return a===u||Ua(a,u,to(u))}function ev(a,u,d){return d=typeof d=="function"?d:t,Ua(a,u,to(u),d)}function tv(a){return vf(a)&&a!=+a}function nv(a){if(Bm(a))throw new Xe(r);return uu(a)}function iv(a){return a===null}function lv(a){return a==null}function vf(a){return typeof a=="number"||zt(a)&&bn(a)==Yt}function Kr(a){if(!zt(a)||bn(a)!=on)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)==ep}var ho=Vn?On(Vn):im;function rv(a){return mf(a)&&a>=-le&&a<=le}var wf=ds?On(ds):lm;function Zs(a){return typeof a=="string"||!xe(a)&&zt(a)&&bn(a)==En}function Un(a){return typeof a=="symbol"||zt(a)&&bn(a)==Et}var ir=Vo?On(Vo):rm;function sv(a){return a===t}function av(a){return zt(a)&&hn(a)==xt}function ov(a){return zt(a)&&bn(a)==un}var uv=Hs(Ha),fv=Hs(function(a,u){return a<=u});function Sf(a){if(!a)return[];if(In(a))return Zs(a)?li(a):Nn(a);if(Er&&a[Er])return q_(a[Er]());var u=hn(a),d=u==Ct?Ia:u==Qt?_s:lr;return d(a)}function Vi(a){if(!a)return a===0?a:0;if(a=$n(a),a===ce||a===-ce){var u=a<0?-1:1;return u*Z}return a===a?a:0}function nt(a){var u=Vi(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?Nl(nt(a),0,se):0}function $n(a){if(typeof a=="number")return a;if(Un(a))return Ce;if(Ht(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Ht(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Ho(a);var d=Wl.test(a);return d||Gi.test(a)?en(a.slice(2),d?2:8):hl.test(a)?Ce:+a}function Cf(a){return pi(a,Tn(a))}function cv(a){return a?Nl(nt(a),-le,le):a===0?a:0}function St(a){return a==null?"":Fn(a)}var dv=er(function(a,u){if(zr(u)||In(u)){pi(u,tn(u),a);return}for(var d in u)Pt.call(u,d)&&Fr(a,d,u[d])}),yf=er(function(a,u){pi(u,Tn(u),a)}),Xs=er(function(a,u,d,m){pi(u,Tn(u),a,m)}),hv=er(function(a,u,d,m){pi(u,tn(u),a,m)}),gv=Ri(Da);function _v(a,u){var d=xl(a);return u==null?d:tu(d,u)}var pv=rt(function(a,u){a=Lt(a);var d=-1,m=u.length,N=m>2?u[2]:t;for(N&&vn(u[0],u[1],N)&&(m=1);++d<m;)for(var V=u[d],W=Tn(V),J=-1,X=W.length;++J<X;){var he=W[J],_e=a[he];(_e===t||si(_e,Zl[he])&&!Pt.call(a,he))&&(a[he]=V[he])}return a}),mv=rt(function(a){return a.push(t,Hu),Mn(Pf,t,a)});function bv(a,u){return Oo(a,Je(u,3),_i)}function vv(a,u){return Oo(a,Je(u,3),Ma)}function wv(a,u){return a==null?a:Va(a,Je(u,3),Tn)}function Sv(a,u){return a==null?a:su(a,Je(u,3),Tn)}function kv(a,u){return a&&_i(a,Je(u,3))}function Cv(a,u){return a&&Ma(a,Je(u,3))}function yv(a){return a==null?[]:Es(a,tn(a))}function Pv(a){return a==null?[]:Es(a,Tn(a))}function go(a,u,d){var m=a==null?t:Il(a,u);return m===t?d:m}function Nv(a,u){return a!=null&&zu(a,u,Qp)}function _o(a,u){return a!=null&&zu(a,u,Zp)}var Iv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=vs.call(u)),a[u]=d},mo(Ln)),Tv=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),Lv=rt(Br);function tn(a){return In(a)?xo(a):Ba(a)}function Tn(a){return In(a)?xo(a,!0):sm(a)}function Av(a,u){var d={};return u=Je(u,3),_i(a,function(m,N,V){Li(d,u(m,N,V),m)}),d}function Rv(a,u){var d={};return u=Je(u,3),_i(a,function(m,N,V){Li(d,N,u(m,N,V))}),d}var Ev=er(function(a,u,d){Ds(a,u,d)}),Pf=er(function(a,u,d,m){Ds(a,u,d,m)}),Dv=Ri(function(a,u){var d={};if(a==null)return d;var m=!1;u=Ft(u,function(V){return V=tl(V,a),m||(m=V.length>1),V}),pi(a,xa(a),d),m&&(d=Qn(d,_|p|b,Im));for(var N=u.length;N--;)Ka(d,u[N]);return d});function Vv(a,u){return Nf(a,Ys(Je(u)))}var Mv=Ri(function(a,u){return a==null?{}:om(a,u)});function Nf(a,u){if(a==null)return{};var d=Ft(xa(a),function(m){return[m]});return u=Je(u),pu(a,d,function(m,N){return u(m,N[0])})}function Ov(a,u,d){u=tl(u,a);var m=-1,N=u.length;for(N||(N=1,a=t);++m<N;){var V=a==null?t:a[mi(u[m])];V===t&&(m=N,V=d),a=Di(V)?V.call(a):V}return a}function Fv(a,u,d){return a==null?a:Wr(a,u,d)}function Uv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Wr(a,u,d,m)}var If=Uu(tn),Tf=Uu(Tn);function Bv(a,u,d){var m=xe(a),N=m||il(a)||ir(a);if(u=Je(u,4),d==null){var V=a&&a.constructor;N?d=m?new V:[]:Ht(a)?d=Di(V)?xl(ks(a)):{}:d={}}return(N?jn:_i)(a,function(W,J,X){return u(d,W,J,X)}),d}function Hv(a,u){return a==null?!0:Ka(a,u)}function Wv(a,u,d){return a==null?a:Su(a,u,Ya(d))}function qv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Su(a,u,Ya(d),m)}function lr(a){return a==null?[]:Na(a,tn(a))}function zv(a){return a==null?[]:Na(a,Tn(a))}function Gv(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),Nl($n(a),u,d)}function Kv(a,u,d){return u=Vi(u),d===t?(d=u,u=0):d=Vi(d),a=$n(a),Xp(a,u,d)}function jv(a,u,d){if(d&&typeof d!="boolean"&&vn(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=Vi(a),u===t?(u=a,a=0):u=Vi(u)),a>u){var m=a;a=u,u=m}if(d||a%1||u%1){var N=Xo();return dn(a+N*(u-a+Dt("1e-"+((N+"").length-1))),u)}return qa(a,u)}var Jv=tr(function(a,u,d){return u=u.toLowerCase(),a+(d?Lf(u):u)});function Lf(a){return po(St(a).toLowerCase())}function Af(a){return a=St(a),a&&a.replace(_l,F_).replace(je,"")}function Yv(a,u,d){a=St(a),u=Fn(u);var m=a.length;d=d===t?m:Nl(nt(d),0,m);var N=d;return d-=u.length,d>=0&&a.slice(d,N)==u}function Qv(a){return a=St(a),a&&Hi.test(a)?a.replace(ni,U_):a}function Zv(a){return a=St(a),a&&Sr.test(a)?a.replace(cl,"\\$&"):a}var Xv=tr(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),$v=tr(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),xv=Eu("toLowerCase");function e0(a,u,d){a=St(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 t0(a,u,d){a=St(a),u=nt(u);var m=u?Yl(a):0;return u&&m<u?a+Bs(u-m,d):a}function n0(a,u,d){a=St(a),u=nt(u);var m=u?Yl(a):0;return u&&m<u?Bs(u-m,d)+a:a}function i0(a,u,d){return d||u==null?u=0:u&&(u=+u),fp(St(a).replace(Pi,""),u||0)}function l0(a,u,d){return(d?vn(a,u,d):u===t)?u=1:u=nt(u),za(St(a),u)}function r0(){var a=arguments,u=St(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var s0=tr(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function a0(a,u,d){return d&&typeof d!="number"&&vn(a,u,d)&&(u=d=t),d=d===t?se:d>>>0,d?(a=St(a),a&&(typeof u=="string"||u!=null&&!ho(u))&&(u=Fn(u),!u&&Jl(a))?nl(li(a),0,d):a.split(u,d)):[]}var o0=tr(function(a,u,d){return a+(d?" ":"")+po(u)});function u0(a,u,d){return a=St(a),d=d==null?0:Nl(nt(d),0,a.length),u=Fn(u),a.slice(d,d+u.length)==u}function f0(a,u,d){var m=E.templateSettings;d&&vn(a,u,d)&&(u=t),a=St(a),u=Xs({},u,m,Bu);var N=Xs({},u.imports,m.imports,Bu),V=tn(N),W=Na(N,V),J,X,he=0,_e=u.interpolate||hi,ve="__p += '",Re=Ta((u.escape||hi).source+"|"+_e.source+"|"+(_e===Fl?Cn:hi).source+"|"+(u.evaluate||hi).source+"|$","g"),Be="//# sourceURL="+(Pt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Lr+"]")+`
36
- `;a.replace(Re,function(Qe,ot,ct,Bn,wn,Hn){return ct||(ct=Bn),ve+=a.slice(he,Hn).replace(ql,B_),ot&&(J=!0,ve+=`' +
35
+ `)}function Om(a){return xe(a)||Al(a)||!!(Qo&&a&&a[Qo])}function Ei(a,u){var d=typeof a;return u=u==null?le:u,!!u&&(d=="number"||d!="symbol"&&pl.test(a))&&a>-1&&a%1==0&&a<u}function wn(a,u,d){if(!Ht(d))return!1;var m=typeof u;return(m=="number"?Nn(d)&&Ei(u,d.length):m=="string"&&u in d)?ri(d[u],a):!1}function lo(a,u){if(xe(a))return!1;var d=typeof a;return d=="number"||d=="symbol"||d=="boolean"||a==null||Un(a)?!0:mr.test(a)||!pr.test(a)||u!=null&&a in At(u)}function Fm(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function ro(a){var u=zs(a),d=E[u];if(typeof d!="function"||!(u in ut.prototype))return!1;if(a===d)return!0;var m=to(d);return!!m&&a===m[0]}function Um(a){return!!Ko&&Ko in a}var Bm=vs?Di:Co;function Hr(a){var u=a&&a.constructor,d=typeof u=="function"&&u.prototype||Yl;return a===d}function Ku(a){return a===a&&!Ht(a)}function ju(a,u){return function(d){return d==null?!1:d[a]===u&&(u!==t||a in At(d))}}function Hm(a){var u=Qs(a,function(m){return d.size===g&&d.clear(),m}),d=u.cache;return u}function Wm(a,u){var d=a[1],m=u[1],N=d|m,V=N<(C|y|O),W=m==O&&d==T||m==O&&d==H&&a[7].length<=u[8]||m==(O|H)&&u[7].length<=u[8]&&d==T;if(!(V||W))return a;m&C&&(a[2]=u[2],N|=d&C?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 qm(a){var u=[];if(a!=null)for(var d in At(a))u.push(d);return u}function zm(a){return Ss.call(a)}function Ju(a,u,d){return u=$t(u===t?a.length-1:u,0),function(){for(var m=arguments,N=-1,V=$t(m.length-u,0),W=ue(V);++N<V;)W[N]=m[u+N];N=-1;for(var J=ue(u+1);++N<u;)J[N]=m[N];return J[u]=d(W),Mn(a,this,J)}}function Yu(a,u){return u.length<2?a:Il(a,Qn(u,0,-1))}function Gm(a,u){for(var d=a.length,m=hn(u.length,d),N=Pn(a);m--;){var V=u[m];a[m]=Ei(V,d)?N[V]:t}return a}function so(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var Qu=Xu(bu),Wr=rp||function(a,u){return Lt.setTimeout(a,u)},ao=Xu(hm);function Zu(a,u,d){var m=u+"";return ao(a,Mm(m,Km(Em(m),d)))}function Xu(a){var u=0,d=0;return function(){var m=up(),N=x-(m-d);if(d=m,N>0){if(++u>=ee)return arguments[0]}else u=0;return a.apply(t,arguments)}}function Ks(a,u){var d=-1,m=a.length,N=m-1;for(u=u===t?m:u;++d<u;){var V=za(d,N),W=a[V];a[V]=a[d],a[d]=W}return a.length=u,a}var $u=Hm(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(br,function(d,m,N,V){u.push(N?V.replace(wr,"$1"):m||d)}),u});function pi(a){if(typeof a=="string"||Un(a))return a;var u=a+"";return u=="0"&&1/a==-ce?"-0":u}function Ll(a){if(a!=null){try{return ws.call(a)}catch{}try{return a+""}catch{}}return""}function Km(a,u){return Kn(Ae,function(d){var m="_."+d[0];u&d[1]&&!_s(a,m)&&a.push(m)}),a.sort()}function xu(a){if(a instanceof ut)return a.clone();var u=new Jn(a.__wrapped__,a.__chain__);return u.__actions__=Pn(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function jm(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=$t(nt(u),0);var m=a==null?0:a.length;if(!m||u<1)return[];for(var N=0,V=0,W=ue(Is(m/u));N<m;)W[V++]=Qn(a,N,N+=u);return W}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 Ym(){var a=arguments.length;if(!a)return[];for(var u=ue(a-1),d=arguments[0],m=a;m--;)u[m-1]=arguments[m];return $i(xe(d)?Pn(d):[d],sn(u,1))}var Qm=rt(function(a,u){return Kt(a)?Mr(a,sn(u,1,Kt,!0)):[]}),Zm=rt(function(a,u){var d=Zn(u);return Kt(d)&&(d=t),Kt(a)?Mr(a,sn(u,1,Kt,!0),Je(d,2)):[]}),Xm=rt(function(a,u){var d=Zn(u);return Kt(d)&&(d=t),Kt(a)?Mr(a,sn(u,1,Kt,!0),t,d):[]});function $m(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),Qn(a,u<0?0:u,m)):[]}function xm(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Qn(a,0,u<0?0:u)):[]}function e1(a,u){return a&&a.length?Fs(a,Je(u,3),!0,!0):[]}function t1(a,u){return a&&a.length?Fs(a,Je(u,3),!0):[]}function n1(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),Yp(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=$t(m+N,0)),ps(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?$t(m+N,0):hn(N,m-1)),ps(a,Je(u,3),N,!0)}function nf(a){var u=a==null?0:a.length;return u?sn(a,1):[]}function i1(a){var u=a==null?0:a.length;return u?sn(a,ce):[]}function l1(a,u){var d=a==null?0:a.length;return d?(u=u===t?1:nt(u),sn(a,u)):[]}function r1(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 s1(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=$t(m+N,0)),Gl(a,u,N)}function a1(a){var u=a==null?0:a.length;return u?Qn(a,0,-1):[]}var o1=rt(function(a){var u=Ut(a,Ya);return u.length&&u[0]===a[0]?Ua(u):[]}),u1=rt(function(a){var u=Zn(a),d=Ut(a,Ya);return u===Zn(d)?u=t:d.pop(),d.length&&d[0]===a[0]?Ua(d,Je(u,2)):[]}),f1=rt(function(a){var u=Zn(a),d=Ut(a,Ya);return u=typeof u=="function"?u:t,u&&d.pop(),d.length&&d[0]===a[0]?Ua(d,t,u):[]});function c1(a,u){return a==null?"":ap.call(a,u)}function Zn(a){var u=a==null?0:a.length;return u?a[u-1]:t}function d1(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?$t(m+N,0):hn(N,m-1)),u===u?K_(a,u,N):ps(a,Fo,N,!0)}function h1(a,u){return a&&a.length?gu(a,nt(u)):t}var g1=rt(rf);function rf(a,u){return a&&a.length&&u&&u.length?qa(a,u):a}function _1(a,u,d){return a&&a.length&&u&&u.length?qa(a,u,Je(d,2)):a}function p1(a,u,d){return a&&a.length&&u&&u.length?qa(a,u,t,d):a}var m1=Ri(function(a,u){var d=a==null?0:a.length,m=Va(a,u);return mu(a,Ut(u,function(N){return Ei(N,d)?+N:N}).sort(Iu)),m});function b1(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 W=a[m];u(W,m,a)&&(d.push(W),N.push(m))}return mu(a,N),d}function oo(a){return a==null?a:cp.call(a)}function v1(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)),Qn(a,u,d)):[]}function w1(a,u){return Os(a,u)}function S1(a,u,d){return Ka(a,u,Je(d,2))}function k1(a,u){var d=a==null?0:a.length;if(d){var m=Os(a,u);if(m<d&&ri(a[m],u))return m}return-1}function C1(a,u){return Os(a,u,!0)}function y1(a,u,d){return Ka(a,u,Je(d,2),!0)}function P1(a,u){var d=a==null?0:a.length;if(d){var m=Os(a,u,!0)-1;if(ri(a[m],u))return m}return-1}function N1(a){return a&&a.length?vu(a):[]}function I1(a,u){return a&&a.length?vu(a,Je(u,2)):[]}function T1(a){var u=a==null?0:a.length;return u?Qn(a,1,u):[]}function L1(a,u,d){return a&&a.length?(u=d||u===t?1:nt(u),Qn(a,0,u<0?0:u)):[]}function A1(a,u,d){var m=a==null?0:a.length;return m?(u=d||u===t?1:nt(u),u=m-u,Qn(a,u<0?0:u,m)):[]}function R1(a,u){return a&&a.length?Fs(a,Je(u,3),!1,!0):[]}function E1(a,u){return a&&a.length?Fs(a,Je(u,3)):[]}var D1=rt(function(a){return nl(sn(a,1,Kt,!0))}),V1=rt(function(a){var u=Zn(a);return Kt(u)&&(u=t),nl(sn(a,1,Kt,!0),Je(u,2))}),M1=rt(function(a){var u=Zn(a);return u=typeof u=="function"?u:t,nl(sn(a,1,Kt,!0),t,u)});function O1(a){return a&&a.length?nl(a):[]}function F1(a,u){return a&&a.length?nl(a,Je(u,2)):[]}function U1(a,u){return u=typeof u=="function"?u:t,a&&a.length?nl(a,t,u):[]}function uo(a){if(!(a&&a.length))return[];var u=0;return a=Xi(a,function(d){if(Kt(d))return u=$t(d.length,u),!0}),Na(u,function(d){return Ut(a,Ca(d))})}function sf(a,u){if(!(a&&a.length))return[];var d=uo(a);return u==null?d:Ut(d,function(m){return Mn(u,t,m)})}var B1=rt(function(a,u){return Kt(a)?Mr(a,u):[]}),H1=rt(function(a){return Ja(Xi(a,Kt))}),W1=rt(function(a){var u=Zn(a);return Kt(u)&&(u=t),Ja(Xi(a,Kt),Je(u,2))}),q1=rt(function(a){var u=Zn(a);return u=typeof u=="function"?u:t,Ja(Xi(a,Kt),t,u)}),z1=rt(uo);function G1(a,u){return Cu(a||[],u||[],Vr)}function K1(a,u){return Cu(a||[],u||[],Ur)}var j1=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=E(a);return u.__chain__=!0,u}function J1(a,u){return u(a),a}function js(a,u){return u(a)}var Y1=Ri(function(a){var u=a.length,d=u?a[0]:0,m=this.__wrapped__,N=function(V){return Va(V,a)};return u>1||this.__actions__.length||!(m instanceof ut)||!Ei(d)?this.thru(N):(m=m.slice(d,+d+(u?1:0)),m.__actions__.push({func:js,args:[N],thisArg:t}),new Jn(m,this.__chain__).thru(function(V){return u&&!V.length&&V.push(t),V}))});function Q1(){return af(this)}function Z1(){return new Jn(this.value(),this.__chain__)}function X1(){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 $1(){return this}function x1(a){for(var u,d=this;d instanceof Rs;){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 eb(){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:js,args:[oo],thisArg:t}),new Jn(u,this.__chain__)}return this.thru(oo)}function tb(){return ku(this.__wrapped__,this.__actions__)}var nb=Us(function(a,u,d){Pt.call(a,d)?++a[d]:Li(a,d,1)});function ib(a,u,d){var m=xe(a)?Mo:Jp;return d&&wn(a,u,d)&&(u=t),m(a,Je(u,3))}function lb(a,u){var d=xe(a)?Xi:ru;return d(a,Je(u,3))}var rb=Du(ef),sb=Du(tf);function ab(a,u){return sn(Js(a,u),1)}function ob(a,u){return sn(Js(a,u),ce)}function ub(a,u,d){return d=d===t?1:nt(d),sn(Js(a,u),d)}function of(a,u){var d=xe(a)?Kn:tl;return d(a,Je(u,3))}function uf(a,u){var d=xe(a)?T_:lu;return d(a,Je(u,3))}var fb=Us(function(a,u,d){Pt.call(a,d)?a[d].push(u):Li(a,d,[u])});function cb(a,u,d,m){a=Nn(a)?a:nr(a),d=d&&!m?nt(d):0;var N=a.length;return d<0&&(d=$t(N+d,0)),$s(a)?d<=N&&a.indexOf(u,d)>-1:!!N&&Gl(a,u,d)>-1}var db=rt(function(a,u,d){var m=-1,N=typeof u=="function",V=Nn(a)?ue(a.length):[];return tl(a,function(W){V[++m]=N?Mn(u,W,d):Or(W,u,d)}),V}),hb=Us(function(a,u,d){Li(a,d,u)});function Js(a,u){var d=xe(a)?Ut:cu;return d(a,Je(u,3))}function gb(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 _b=Us(function(a,u,d){a[d?0:1].push(u)},function(){return[[],[]]});function pb(a,u,d){var m=xe(a)?Sa:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,tl)}function mb(a,u,d){var m=xe(a)?L_:Bo,N=arguments.length<3;return m(a,Je(u,4),d,N,lu)}function bb(a,u){var d=xe(a)?Xi:ru;return d(a,Zs(Je(u,3)))}function vb(a){var u=xe(a)?eu:cm;return u(a)}function wb(a,u,d){(d?wn(a,u,d):u===t)?u=1:u=nt(u);var m=xe(a)?qp:dm;return m(a,u)}function Sb(a){var u=xe(a)?zp:gm;return u(a)}function kb(a){if(a==null)return 0;if(Nn(a))return $s(a)?jl(a):a.length;var u=gn(a);return u==kt||u==Qt?a.size:Ha(a).length}function Cb(a,u,d){var m=xe(a)?ka:_m;return d&&wn(a,u,d)&&(u=t),m(a,Je(u,3))}var yb=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,sn(u,1),[])}),Ys=lp||function(){return Lt.Date.now()};function Pb(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,Ai(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 fo=rt(function(a,u,d){var m=C;if(d.length){var N=xi(d,er(fo));m|=R}return Ai(a,m,u,d,N)}),df=rt(function(a,u,d){var m=C|y;if(d.length){var N=xi(d,er(df));m|=R}return Ai(u,m,a,d,N)});function hf(a,u,d){u=d?t:u;var m=Ai(a,T,t,t,t,t,t,u);return m.placeholder=hf.placeholder,m}function gf(a,u,d){u=d?t:u;var m=Ai(a,D,t,t,t,t,t,u);return m.placeholder=gf.placeholder,m}function _f(a,u,d){var m,N,V,W,J,X,he=0,_e=!1,ve=!1,Re=!0;if(typeof a!="function")throw new jn(s);u=Xn(u)||0,Ht(d)&&(_e=!!d.leading,ve="maxWait"in d,V=ve?$t(Xn(d.maxWait)||0,u):V,Re="trailing"in d?!!d.trailing:Re);function Be(jt){var si=m,Mi=N;return m=N=t,he=jt,W=a.apply(Mi,si),W}function Ye(jt){return he=jt,J=Wr(ot,u),_e?Be(jt):W}function it(jt){var si=jt-X,Mi=jt-he,Vf=u-si;return ve?hn(Vf,V-Mi):Vf}function Qe(jt){var si=jt-X,Mi=jt-he;return X===t||si>=u||si<0||ve&&Mi>=V}function ot(){var jt=Ys();if(Qe(jt))return ct(jt);J=Wr(ot,it(jt))}function ct(jt){return J=t,Re&&m?Be(jt):(m=N=t,W)}function Bn(){J!==t&&yu(J),he=0,m=X=N=J=t}function Sn(){return J===t?W:ct(Ys())}function Hn(){var jt=Ys(),si=Qe(jt);if(m=arguments,N=this,X=jt,si){if(J===t)return Ye(X);if(ve)return yu(J),J=Wr(ot,u),Be(X)}return J===t&&(J=Wr(ot,u)),W}return Hn.cancel=Bn,Hn.flush=Sn,Hn}var Nb=rt(function(a,u){return iu(a,1,u)}),Ib=rt(function(a,u,d){return iu(a,Xn(u)||0,d)});function Tb(a){return Ai(a,F)}function Qs(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 W=a.apply(this,m);return d.cache=V.set(N,W)||V,W};return d.cache=new(Qs.Cache||Ti),d}Qs.Cache=Ti;function Zs(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 Lb(a){return cf(2,a)}var Ab=pm(function(a,u){u=u.length==1&&xe(u[0])?Ut(u[0],On(Je())):Ut(sn(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)})}),co=rt(function(a,u){var d=xi(u,er(co));return Ai(a,R,t,u,d)}),pf=rt(function(a,u){var d=xi(u,er(pf));return Ai(a,I,t,u,d)}),Rb=Ri(function(a,u){return Ai(a,H,t,t,t,u)});function Eb(a,u){if(typeof a!="function")throw new jn(s);return u=u===t?u:nt(u),rt(a,u)}function Db(a,u){if(typeof a!="function")throw new jn(s);return u=u==null?0:$t(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 Vb(a,u,d){var m=!0,N=!0;if(typeof a!="function")throw new jn(s);return Ht(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 Mb(a){return ff(a,1)}function Ob(a,u){return co(Qa(u),a)}function Fb(){if(!arguments.length)return[];var a=arguments[0];return xe(a)?a:[a]}function Ub(a){return Yn(a,b)}function Bb(a,u){return u=typeof u=="function"?u:t,Yn(a,b,u)}function Hb(a){return Yn(a,_|b)}function Wb(a,u){return u=typeof u=="function"?u:t,Yn(a,_|b,u)}function qb(a,u){return u==null||nu(a,u,tn(u))}function ri(a,u){return a===u||a!==a&&u!==u}var zb=qs(Fa),Gb=qs(function(a,u){return a>=u}),Al=ou(function(){return arguments}())?ou:function(a){return zt(a)&&Pt.call(a,"callee")&&!Yo.call(a,"callee")},xe=ue.isArray,Kb=hs?On(hs):xp;function Nn(a){return a!=null&&Xs(a.length)&&!Di(a)}function Kt(a){return zt(a)&&Nn(a)}function jb(a){return a===!0||a===!1||zt(a)&&vn(a)==Me}var rl=sp||Co,Jb=kl?On(kl):em;function Yb(a){return zt(a)&&a.nodeType===1&&!qr(a)}function Qb(a){if(a==null)return!0;if(Nn(a)&&(xe(a)||typeof a=="string"||typeof a.splice=="function"||rl(a)||tr(a)||Al(a)))return!a.length;var u=gn(a);if(u==kt||u==Qt)return!a.size;if(Hr(a))return!Ha(a).length;for(var d in a)if(Pt.call(a,d))return!1;return!0}function Zb(a,u){return Fr(a,u)}function Xb(a,u,d){d=typeof d=="function"?d:t;var m=d?d(a,u):t;return m===t?Fr(a,u,t,d):!!m}function ho(a){if(!zt(a))return!1;var u=vn(a);return u==Ke||u==be||typeof a.message=="string"&&typeof a.name=="string"&&!qr(a)}function $b(a){return typeof a=="number"&&Zo(a)}function Di(a){if(!Ht(a))return!1;var u=vn(a);return u==St||u==qt||u==oe||u==Bi}function mf(a){return typeof a=="number"&&a==nt(a)}function Xs(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=le}function Ht(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function zt(a){return a!=null&&typeof a=="object"}var bf=Zi?On(Zi):nm;function xb(a,u){return a===u||Ba(a,u,no(u))}function ev(a,u,d){return d=typeof d=="function"?d:t,Ba(a,u,no(u),d)}function tv(a){return vf(a)&&a!=+a}function nv(a){if(Bm(a))throw new Xe(r);return uu(a)}function iv(a){return a===null}function lv(a){return a==null}function vf(a){return typeof a=="number"||zt(a)&&vn(a)==Yt}function qr(a){if(!zt(a)||vn(a)!=on)return!1;var u=ys(a);if(u===null)return!0;var d=Pt.call(u,"constructor")&&u.constructor;return typeof d=="function"&&d instanceof d&&ws.call(d)==ep}var go=rn?On(rn):im;function rv(a){return mf(a)&&a>=-le&&a<=le}var wf=Vn?On(Vn):lm;function $s(a){return typeof a=="string"||!xe(a)&&zt(a)&&vn(a)==Rn}function Un(a){return typeof a=="symbol"||zt(a)&&vn(a)==Dt}var tr=gs?On(gs):rm;function sv(a){return a===t}function av(a){return zt(a)&&gn(a)==en}function ov(a){return zt(a)&&vn(a)==un}var uv=qs(Wa),fv=qs(function(a,u){return a<=u});function Sf(a){if(!a)return[];if(Nn(a))return $s(a)?ii(a):Pn(a);if(Lr&&a[Lr])return q_(a[Lr]());var u=gn(a),d=u==kt?Ta:u==Qt?ms:nr;return d(a)}function Vi(a){if(!a)return a===0?a:0;if(a=Xn(a),a===ce||a===-ce){var u=a<0?-1:1;return u*Z}return a===a?a:0}function nt(a){var u=Vi(a),d=u%1;return u===u?d?u-d:u:0}function kf(a){return a?Nl(nt(a),0,se):0}function Xn(a){if(typeof a=="number")return a;if(Un(a))return Ce;if(Ht(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Ht(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=Ho(a);var d=Wl.test(a);return d||Gi.test(a)?Vt(a.slice(2),d?2:8):_l.test(a)?Ce:+a}function Cf(a){return _i(a,In(a))}function cv(a){return a?Nl(nt(a),-le,le):a===0?a:0}function wt(a){return a==null?"":Fn(a)}var dv=$l(function(a,u){if(Hr(u)||Nn(u)){_i(u,tn(u),a);return}for(var d in u)Pt.call(u,d)&&Vr(a,d,u[d])}),yf=$l(function(a,u){_i(u,In(u),a)}),xs=$l(function(a,u,d,m){_i(u,In(u),a,m)}),hv=$l(function(a,u,d,m){_i(u,tn(u),a,m)}),gv=Ri(Va);function _v(a,u){var d=Xl(a);return u==null?d:tu(d,u)}var pv=rt(function(a,u){a=At(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],W=In(V),J=-1,X=W.length;++J<X;){var he=W[J],_e=a[he];(_e===t||ri(_e,Yl[he])&&!Pt.call(a,he))&&(a[he]=V[he])}return a}),mv=rt(function(a){return a.push(t,Hu),Mn(Pf,t,a)});function bv(a,u){return Oo(a,Je(u,3),gi)}function vv(a,u){return Oo(a,Je(u,3),Oa)}function wv(a,u){return a==null?a:Ma(a,Je(u,3),In)}function Sv(a,u){return a==null?a:su(a,Je(u,3),In)}function kv(a,u){return a&&gi(a,Je(u,3))}function Cv(a,u){return a&&Oa(a,Je(u,3))}function yv(a){return a==null?[]:Vs(a,tn(a))}function Pv(a){return a==null?[]:Vs(a,In(a))}function _o(a,u,d){var m=a==null?t:Il(a,u);return m===t?d:m}function Nv(a,u){return a!=null&&zu(a,u,Qp)}function po(a,u){return a!=null&&zu(a,u,Zp)}var Iv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=Ss.call(u)),a[u]=d},bo(Tn)),Tv=Mu(function(a,u,d){u!=null&&typeof u.toString!="function"&&(u=Ss.call(u)),Pt.call(a,u)?a[u].push(d):a[u]=[d]},Je),Lv=rt(Or);function tn(a){return Nn(a)?xo(a):Ha(a)}function In(a){return Nn(a)?xo(a,!0):sm(a)}function Av(a,u){var d={};return u=Je(u,3),gi(a,function(m,N,V){Li(d,u(m,N,V),m)}),d}function Rv(a,u){var d={};return u=Je(u,3),gi(a,function(m,N,V){Li(d,N,u(m,N,V))}),d}var Ev=$l(function(a,u,d){Ms(a,u,d)}),Pf=$l(function(a,u,d,m){Ms(a,u,d,m)}),Dv=Ri(function(a,u){var d={};if(a==null)return d;var m=!1;u=Ut(u,function(V){return V=il(V,a),m||(m=V.length>1),V}),_i(a,eo(a),d),m&&(d=Yn(d,_|p|b,Im));for(var N=u.length;N--;)ja(d,u[N]);return d});function Vv(a,u){return Nf(a,Zs(Je(u)))}var Mv=Ri(function(a,u){return a==null?{}:om(a,u)});function Nf(a,u){if(a==null)return{};var d=Ut(eo(a),function(m){return[m]});return u=Je(u),pu(a,d,function(m,N){return u(m,N[0])})}function Ov(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=Di(V)?V.call(a):V}return a}function Fv(a,u,d){return a==null?a:Ur(a,u,d)}function Uv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Ur(a,u,d,m)}var If=Uu(tn),Tf=Uu(In);function Bv(a,u,d){var m=xe(a),N=m||rl(a)||tr(a);if(u=Je(u,4),d==null){var V=a&&a.constructor;N?d=m?new V:[]:Ht(a)?d=Di(V)?Xl(ys(a)):{}:d={}}return(N?Kn:gi)(a,function(W,J,X){return u(d,W,J,X)}),d}function Hv(a,u){return a==null?!0:ja(a,u)}function Wv(a,u,d){return a==null?a:Su(a,u,Qa(d))}function qv(a,u,d,m){return m=typeof m=="function"?m:t,a==null?a:Su(a,u,Qa(d),m)}function nr(a){return a==null?[]:Ia(a,tn(a))}function zv(a){return a==null?[]:Ia(a,In(a))}function Gv(a,u,d){return d===t&&(d=u,u=t),d!==t&&(d=Xn(d),d=d===d?d:0),u!==t&&(u=Xn(u),u=u===u?u:0),Nl(Xn(a),u,d)}function Kv(a,u,d){return u=Vi(u),d===t?(d=u,u=0):d=Vi(d),a=Xn(a),Xp(a,u,d)}function jv(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=Vi(a),u===t?(u=a,a=0):u=Vi(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+It("1e-"+((N+"").length-1))),u)}return za(a,u)}var Jv=xl(function(a,u,d){return u=u.toLowerCase(),a+(d?Lf(u):u)});function Lf(a){return mo(wt(a).toLowerCase())}function Af(a){return a=wt(a),a&&a.replace(ml,F_).replace(Ee,"")}function Yv(a,u,d){a=wt(a),u=Fn(u);var m=a.length;d=d===t?m:Nl(nt(d),0,m);var N=d;return d-=u.length,d>=0&&a.slice(d,N)==u}function Qv(a){return a=wt(a),a&&Hi.test(a)?a.replace(ti,U_):a}function Zv(a){return a=wt(a),a&&vr.test(a)?a.replace(hl,"\\$&"):a}var Xv=xl(function(a,u,d){return a+(d?"-":"")+u.toLowerCase()}),$v=xl(function(a,u,d){return a+(d?" ":"")+u.toLowerCase()}),xv=Eu("toLowerCase");function e0(a,u,d){a=wt(a),u=nt(u);var m=u?jl(a):0;if(!u||m>=u)return a;var N=(u-m)/2;return Ws(Ts(N),d)+a+Ws(Is(N),d)}function t0(a,u,d){a=wt(a),u=nt(u);var m=u?jl(a):0;return u&&m<u?a+Ws(u-m,d):a}function n0(a,u,d){a=wt(a),u=nt(u);var m=u?jl(a):0;return u&&m<u?Ws(u-m,d)+a:a}function i0(a,u,d){return d||u==null?u=0:u&&(u=+u),fp(wt(a).replace(yi,""),u||0)}function l0(a,u,d){return(d?wn(a,u,d):u===t)?u=1:u=nt(u),Ga(wt(a),u)}function r0(){var a=arguments,u=wt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var s0=xl(function(a,u,d){return a+(d?"_":"")+u.toLowerCase()});function a0(a,u,d){return d&&typeof d!="number"&&wn(a,u,d)&&(u=d=t),d=d===t?se:d>>>0,d?(a=wt(a),a&&(typeof u=="string"||u!=null&&!go(u))&&(u=Fn(u),!u&&Kl(a))?ll(ii(a),0,d):a.split(u,d)):[]}var o0=xl(function(a,u,d){return a+(d?" ":"")+mo(u)});function u0(a,u,d){return a=wt(a),d=d==null?0:Nl(nt(d),0,a.length),u=Fn(u),a.slice(d,d+u.length)==u}function f0(a,u,d){var m=E.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),W=Ia(N,V),J,X,he=0,_e=u.interpolate||di,ve="__p += '",Re=La((u.escape||di).source+"|"+_e.source+"|"+(_e===Fl?yn:di).source+"|"+(u.evaluate||di).source+"|$","g"),Be="//# sourceURL="+(Pt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ft+"]")+`
36
+ `;a.replace(Re,function(Qe,ot,ct,Bn,Sn,Hn){return ct||(ct=Bn),ve+=a.slice(he,Hn).replace(ql,B_),ot&&(J=!0,ve+=`' +
37
37
  __e(`+ot+`) +
38
- '`),wn&&(X=!0,ve+=`';
39
- `+wn+`;
38
+ '`),Sn&&(X=!0,ve+=`';
39
+ `+Sn+`;
40
40
  __p += '`),ct&&(ve+=`' +
41
41
  ((__t = (`+ct+`)) == null ? '' : __t) +
42
42
  '`),he=Hn+Qe.length,Qe}),ve+=`';
43
43
  `;var Ye=Pt.call(u,"variable")&&u.variable;if(!Ye)ve=`with (obj) {
44
44
  `+ve+`
45
45
  }
46
- `;else if(Hl.test(Ye))throw new Xe(o);ve=(X?ve.replace(yt,""):ve).replace(ln,"$1").replace(Dn,"$1;"),ve="function("+(Ye||"obj")+`) {
46
+ `;else if(Hl.test(Ye))throw new Xe(o);ve=(X?ve.replace(Ct,""):ve).replace(ln,"$1").replace(En,"$1;"),ve="function("+(Ye||"obj")+`) {
47
47
  `+(Ye?"":`obj || (obj = {});
48
48
  `)+"var __t, __p = ''"+(J?", __e = _.escape":"")+(X?`, __j = Array.prototype.join;
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
51
  `)+ve+`return __p
52
- }`;var it=Ef(function(){return mt(V,Be+"return "+ve).apply(t,W)});if(it.source=ve,co(it))throw it;return it}function c0(a){return St(a).toLowerCase()}function d0(a){return St(a).toUpperCase()}function h0(a,u,d){if(a=St(a),a&&(d||u===t))return Ho(a);if(!a||!(u=Fn(u)))return a;var m=li(a),N=li(u),V=Wo(m,N),W=qo(m,N)+1;return nl(m,V,W).join("")}function g0(a,u,d){if(a=St(a),a&&(d||u===t))return a.slice(0,Go(a)+1);if(!a||!(u=Fn(u)))return a;var m=li(a),N=qo(m,li(u))+1;return nl(m,0,N).join("")}function _0(a,u,d){if(a=St(a),a&&(d||u===t))return a.replace(Pi,"");if(!a||!(u=Fn(u)))return a;var m=li(a),N=Wo(m,li(u));return nl(m,N).join("")}function p0(a,u){var d=B,m=G;if(Ht(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=St(a);var V=a.length;if(Jl(a)){var W=li(a);V=W.length}if(d>=V)return a;var J=d-Yl(m);if(J<1)return m;var X=W?nl(W,0,J).join(""):a.slice(0,J);if(N===t)return X+m;if(W&&(J+=X.length-J),ho(N)){if(a.slice(J).search(N)){var he,_e=X;for(N.global||(N=Ta(N.source,St(zi.exec(N))+"g")),N.lastIndex=0;he=N.exec(_e);)var ve=he.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 m0(a){return a=St(a),a&&Ol.test(a)?a.replace(Gn,j_):a}var b0=tr(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),po=Eu("toUpperCase");function Rf(a,u,d){return a=St(a),u=d?t:u,u===t?W_(a)?Q_(a):E_(a):a.match(u)||[]}var Ef=rt(function(a,u){try{return Mn(a,t,u)}catch(d){return co(d)?d:new Xe(d)}}),v0=Ri(function(a,u){return jn(u,function(d){d=mi(d),Li(a,d,uo(a[d],a))}),a});function w0(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 S0(a){return jp(Qn(a,_))}function mo(a){return function(){return a}}function k0(a,u){return a==null||a!==a?u:a}var C0=Vu(),y0=Vu(!0);function Ln(a){return a}function bo(a){return fu(typeof a=="function"?a:Qn(a,_))}function P0(a){return du(Qn(a,_))}function N0(a,u){return hu(a,Qn(u,_))}var I0=rt(function(a,u){return function(d){return Br(d,a,u)}}),T0=rt(function(a,u){return function(d){return Br(a,d,u)}});function vo(a,u,d){var m=tn(u),N=Es(u,m);d==null&&!(Ht(u)&&(N.length||!m.length))&&(d=u,u=a,a=this,N=Es(u,tn(u)));var V=!(Ht(d)&&"chain"in d)||!!d.chain,W=Di(a);return jn(N,function(J){var X=u[J];a[J]=X,W&&(a.prototype[J]=function(){var he=this.__chain__;if(V||he){var _e=a(this.__wrapped__),ve=_e.__actions__=Nn(this.__actions__);return ve.push({func:X,args:arguments,thisArg:a}),_e.__chain__=he,_e}return X.apply(a,Zi([this.value()],arguments))})}),a}function L0(){return Bt._===this&&(Bt._=tp),this}function wo(){}function A0(a){return a=nt(a),rt(function(u){return gu(u,a)})}var R0=Za(Ft),E0=Za(Mo),D0=Za(Sa);function Df(a){return io(a)?ka(mi(a)):um(a)}function V0(a){return function(u){return a==null?t:Il(a,u)}}var M0=Ou(),O0=Ou(!0);function So(){return[]}function ko(){return!1}function F0(){return{}}function U0(){return""}function B0(){return!0}function H0(a,u){if(a=nt(a),a<1||a>le)return[];var d=se,m=dn(a,se);u=Je(u),a-=se;for(var N=Pa(m,u);++d<a;)u(d);return N}function W0(a){return xe(a)?Ft(a,mi):Un(a)?[a]:Nn($u(St(a)))}function q0(a){var u=++x_;return St(a)+u}var z0=Us(function(a,u){return a+u},0),G0=Xa("ceil"),K0=Us(function(a,u){return a/u},1),j0=Xa("floor");function J0(a){return a&&a.length?Rs(a,Ln,Oa):t}function Y0(a,u){return a&&a.length?Rs(a,Je(u,2),Oa):t}function Q0(a){return Uo(a,Ln)}function Z0(a,u){return Uo(a,Je(u,2))}function X0(a){return a&&a.length?Rs(a,Ln,Ha):t}function $0(a,u){return a&&a.length?Rs(a,Je(u,2),Ha):t}var x0=Us(function(a,u){return a*u},1),ew=Xa("round"),tw=Us(function(a,u){return a-u},0);function nw(a){return a&&a.length?ya(a,Ln):0}function iw(a,u){return a&&a.length?ya(a,Je(u,2)):0}return E.after=Pb,E.ary=ff,E.assign=dv,E.assignIn=yf,E.assignInWith=Xs,E.assignWith=hv,E.at=gv,E.before=cf,E.bind=uo,E.bindAll=v0,E.bindKey=df,E.castArray=Fb,E.chain=af,E.chunk=jm,E.compact=Jm,E.concat=Ym,E.cond=w0,E.conforms=S0,E.constant=mo,E.countBy=nb,E.create=_v,E.curry=hf,E.curryRight=gf,E.debounce=_f,E.defaults=pv,E.defaultsDeep=mv,E.defer=Nb,E.delay=Ib,E.difference=Qm,E.differenceBy=Zm,E.differenceWith=Xm,E.drop=$m,E.dropRight=xm,E.dropRightWhile=e1,E.dropWhile=t1,E.fill=n1,E.filter=lb,E.flatMap=ab,E.flatMapDeep=ob,E.flatMapDepth=ub,E.flatten=nf,E.flattenDeep=i1,E.flattenDepth=l1,E.flip=Tb,E.flow=C0,E.flowRight=y0,E.fromPairs=r1,E.functions=yv,E.functionsIn=Pv,E.groupBy=fb,E.initial=a1,E.intersection=o1,E.intersectionBy=u1,E.intersectionWith=f1,E.invert=Iv,E.invertBy=Tv,E.invokeMap=db,E.iteratee=bo,E.keyBy=hb,E.keys=tn,E.keysIn=Tn,E.map=Ks,E.mapKeys=Av,E.mapValues=Rv,E.matches=P0,E.matchesProperty=N0,E.memoize=Js,E.merge=Ev,E.mergeWith=Pf,E.method=I0,E.methodOf=T0,E.mixin=vo,E.negate=Ys,E.nthArg=A0,E.omit=Dv,E.omitBy=Vv,E.once=Lb,E.orderBy=gb,E.over=R0,E.overArgs=Ab,E.overEvery=E0,E.overSome=D0,E.partial=fo,E.partialRight=pf,E.partition=_b,E.pick=Mv,E.pickBy=Nf,E.property=Df,E.propertyOf=V0,E.pull=g1,E.pullAll=rf,E.pullAllBy=_1,E.pullAllWith=p1,E.pullAt=m1,E.range=M0,E.rangeRight=O0,E.rearg=Rb,E.reject=bb,E.remove=b1,E.rest=Eb,E.reverse=ao,E.sampleSize=wb,E.set=Fv,E.setWith=Uv,E.shuffle=Sb,E.slice=v1,E.sortBy=yb,E.sortedUniq=N1,E.sortedUniqBy=I1,E.split=a0,E.spread=Db,E.tail=T1,E.take=L1,E.takeRight=A1,E.takeRightWhile=R1,E.takeWhile=E1,E.tap=J1,E.throttle=Vb,E.thru=Gs,E.toArray=Sf,E.toPairs=If,E.toPairsIn=Tf,E.toPath=W0,E.toPlainObject=Cf,E.transform=Bv,E.unary=Mb,E.union=D1,E.unionBy=V1,E.unionWith=M1,E.uniq=O1,E.uniqBy=F1,E.uniqWith=U1,E.unset=Hv,E.unzip=oo,E.unzipWith=sf,E.update=Wv,E.updateWith=qv,E.values=lr,E.valuesIn=zv,E.without=B1,E.words=Rf,E.wrap=Ob,E.xor=H1,E.xorBy=W1,E.xorWith=q1,E.zip=z1,E.zipObject=G1,E.zipObjectDeep=K1,E.zipWith=j1,E.entries=If,E.entriesIn=Tf,E.extend=yf,E.extendWith=Xs,vo(E,E),E.add=z0,E.attempt=Ef,E.camelCase=Jv,E.capitalize=Lf,E.ceil=G0,E.clamp=Gv,E.clone=Ub,E.cloneDeep=Hb,E.cloneDeepWith=Wb,E.cloneWith=Bb,E.conformsTo=qb,E.deburr=Af,E.defaultTo=k0,E.divide=K0,E.endsWith=Yv,E.eq=si,E.escape=Qv,E.escapeRegExp=Zv,E.every=ib,E.find=rb,E.findIndex=ef,E.findKey=bv,E.findLast=sb,E.findLastIndex=tf,E.findLastKey=vv,E.floor=j0,E.forEach=of,E.forEachRight=uf,E.forIn=wv,E.forInRight=Sv,E.forOwn=kv,E.forOwnRight=Cv,E.get=go,E.gt=zb,E.gte=Gb,E.has=Nv,E.hasIn=_o,E.head=lf,E.identity=Ln,E.includes=cb,E.indexOf=s1,E.inRange=Kv,E.invoke=Lv,E.isArguments=Al,E.isArray=xe,E.isArrayBuffer=Kb,E.isArrayLike=In,E.isArrayLikeObject=Kt,E.isBoolean=jb,E.isBuffer=il,E.isDate=Jb,E.isElement=Yb,E.isEmpty=Qb,E.isEqual=Zb,E.isEqualWith=Xb,E.isError=co,E.isFinite=$b,E.isFunction=Di,E.isInteger=mf,E.isLength=Qs,E.isMap=bf,E.isMatch=xb,E.isMatchWith=ev,E.isNaN=tv,E.isNative=nv,E.isNil=lv,E.isNull=iv,E.isNumber=vf,E.isObject=Ht,E.isObjectLike=zt,E.isPlainObject=Kr,E.isRegExp=ho,E.isSafeInteger=rv,E.isSet=wf,E.isString=Zs,E.isSymbol=Un,E.isTypedArray=ir,E.isUndefined=sv,E.isWeakMap=av,E.isWeakSet=ov,E.join=c1,E.kebabCase=Xv,E.last=Xn,E.lastIndexOf=d1,E.lowerCase=$v,E.lowerFirst=xv,E.lt=uv,E.lte=fv,E.max=J0,E.maxBy=Y0,E.mean=Q0,E.meanBy=Z0,E.min=X0,E.minBy=$0,E.stubArray=So,E.stubFalse=ko,E.stubObject=F0,E.stubString=U0,E.stubTrue=B0,E.multiply=x0,E.nth=h1,E.noConflict=L0,E.noop=wo,E.now=js,E.pad=e0,E.padEnd=t0,E.padStart=n0,E.parseInt=i0,E.random=jv,E.reduce=pb,E.reduceRight=mb,E.repeat=l0,E.replace=r0,E.result=Ov,E.round=ew,E.runInContext=Q,E.sample=vb,E.size=kb,E.snakeCase=s0,E.some=Cb,E.sortedIndex=w1,E.sortedIndexBy=S1,E.sortedIndexOf=k1,E.sortedLastIndex=C1,E.sortedLastIndexBy=y1,E.sortedLastIndexOf=P1,E.startCase=o0,E.startsWith=u0,E.subtract=tw,E.sum=nw,E.sumBy=iw,E.template=f0,E.times=H0,E.toFinite=Vi,E.toInteger=nt,E.toLength=kf,E.toLower=c0,E.toNumber=$n,E.toSafeInteger=cv,E.toString=St,E.toUpper=d0,E.trim=h0,E.trimEnd=g0,E.trimStart=_0,E.truncate=p0,E.unescape=m0,E.uniqueId=q0,E.upperCase=b0,E.upperFirst=po,E.each=of,E.eachRight=uf,E.first=lf,vo(E,function(){var a={};return _i(E,function(u,d){Pt.call(E.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),E.VERSION=n,jn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){E[a].placeholder=E}),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__=dn(d,m.__takeCount__):m.__views__.push({size:dn(d,se),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==j;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(Ln)},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 Br(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(se)},_i(ut.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),N=E[m?"take"+(u=="last"?"Right":""):u],V=m||/^find/.test(u);!N||(E.prototype[u]=function(){var W=this.__wrapped__,J=m?[1]:arguments,X=W instanceof ut,he=J[0],_e=X||xe(W),ve=function(ot){var ct=N.apply(E,Zi([ot],J));return m&&Re?ct[0]:ct};_e&&d&&typeof he=="function"&&he.length!=1&&(X=_e=!1);var Re=this.__chain__,Be=!!this.__actions__.length,Ye=V&&!Re,it=X&&!Be;if(!V&&_e){W=it?W:new ut(this);var Qe=a.apply(W,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);E.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(W){return u.apply(xe(W)?W:[],N)})}}),_i(ut.prototype,function(a,u){var d=E[u];if(d){var m=d.name+"";Pt.call($l,m)||($l[m]=[]),$l[m].push({name:u,func:d})}}),$l[Fs(t,y).name]=[{name:"wrapper",func:t}],ut.prototype.clone=mp,ut.prototype.reverse=bp,ut.prototype.value=vp,E.prototype.at=Y1,E.prototype.chain=Q1,E.prototype.commit=Z1,E.prototype.next=X1,E.prototype.plant=x1,E.prototype.reverse=eb,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=tb,E.prototype.first=E.prototype.head,Er&&(E.prototype[Er]=$1),E},Ql=Z_();Kn?((Kn.exports=Ql)._=Ql,wl._=Ql):Bt._=Ql}).call(Jr)})(Vl,Vl.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=ie.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Vt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Vt.shouldPreventNavigation(n)||ie.trimLeadingSlash(this.getWindowPath())===ie.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")?ie.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ie.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ie.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ie.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return re.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ie.trimLeadingSlash(window.location.pathname)+window.location.search:ie.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=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=ie.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${f}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(f&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ie.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?ie.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]),w=me.getNodeParams(v),C=me.findViewGroup(h),y=decodeURIComponent(g.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let T=!1,D=P;for(;D;){if(D.tabNav===!0){T=!0;break}else if(D.tabNav===!1){T=!1;break}else if(ie.isObject(D.tabNav)){if(D.tabNav.showAsTabHeader){T=!0;break}if("hideTabNavAutomatically"in D.tabNav&&D.children)if(D.tabNav.hideTabNavAutomatically===!0&&D.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}D=Se.getParentNode(D,_.navigationPath)}let R=P,I=h.hideSideNav;if(I===void 0)for(;R;){if(R.tabNav&&R.hideSideNav===!0){I=!0;break}if(R.hideSideNav===!1){I=!1;break}R=Se.getParentNode(R,_.navigationPath)}const O=me.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=O;const H={hideNav:b,viewUrl:p,nodeParams:w,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:_.navigationPath,context:O,pathParams:_.pathParams,hideSideNav:I||!1,isolateView:h.isolateView||!1,tabNav:T};t.set(Object.assign({},H,{previousNodeValues:f?{viewUrl:f.viewUrl,isolateView:f.isolateView,viewGroup:f.viewGroup}:{}}));let F=document.getElementsByClassName("iframeContainer")[0];if(F&&(T?F.classList.add("iframeContainerTabNav"):F.classList.contains("iframeContainerTabNav")&&F.classList.remove("iframeContainerTabNav")),h.compound)An.switchActiveIframe(n,void 0,!1),F&&F.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,h);else if(h.webcomponent)An.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 An.navigateIframe(l,t,n);else{const ee=t.get(),x=await t.prepareInternalData(l);Te.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ee.context),nodeParams:JSON.stringify(ee.nodeParams),pathParams:JSON.stringify(ee.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(x),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);g_.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let 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(ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(n)){const r=Te.getIframeContainer(),s=An.getActiveIframe(r);s&&s.vg&&An.canCache(s.vg)?(An.switchActiveIframe(Te.getIframeContainer(),void 0,!1),setTimeout(()=>{An.switchActiveIframe(Te.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,Te.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ie.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...qw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ie.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName: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&&Vl.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 Yw{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=Te.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ie.getPathWithoutHash(t):"",l=await 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(ie.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ie.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ie.computePxFromPercent(t.rightContentHeight,100-e))+ie.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:ie.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,ie.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Te.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`,Te.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="",Te.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Te.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const st=new Yw;class Qw{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const Zw=new Qw;class Xw{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 oi=new Xw;class $w{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=sl.parseUrlAuthErrors()||{};if(!!await sl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ie.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),re.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=sl.getStoredAuthData();if(!t||!sl.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await wi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ie.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ie.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ll(this._userInfoStore))),ie.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&oi.isNewlyAuthorized()&&await wi.handleAuthEvent("onAuthSuccessful",e,t),oi.removeNewlyAuthorized(),ie.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ie.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{oi.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=sl.getStoredAuthData(),t=async l=>{await wi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),oi.removeAuthData()},n=re.getConfigValue(`auth.${re.getConfigValue("auth.use")}.logoutFn`);ie.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ie.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=ie.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ie.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ie.isFunction(re.getConfigValue("auth.events.onAuthConfigError")))await wi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ie.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new $w;class xw{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(ie.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const 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 Qr=new xw;class eS{getStoredAuthData(){return oi.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ie.getUrlParameter("error"),t=ie.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await wi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const sl=new eS;class tS{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`&lt;${n[l]}/&gt;`,"g"),s=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),f=new RegExp(`&lt;${n[l]} &gt;`,"g"),g=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),h=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),_=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(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,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((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 tS;class nS{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=Vl.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Vl.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 fi.isCustomLuigiContainer()?fi.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(fi.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 ie=new nS;class iS{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=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.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=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.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");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return ww.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ie.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(ie.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Te.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=Qr.hasDecorators()?Qr.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:ie.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(ie.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=[...Te.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 Te.specialIframeTypes.filter(n=>Te.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:Eo.getActiveFeatureToggleList(),currentLocale:pt.getCurrentLocale(),currentTheme:To.getCurrentTheme()}}}const Te=new iS;class lS{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 ie.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Eo.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(wi.isAuthorizationEnabled()){const r=sl.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];ie.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=_),ie.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ie.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&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(ie.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:Vl.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=>{Vl.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=An.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ie.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}}const Se=new lS;class rS{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&&Te.getLocation(e.viewUrl)===Te.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");Rn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?et.getHashPath():et.getModifiedPathname();e(l)}}),Rn.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+ie.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=ie.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ie.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=ie.replaceVars(e,t.pathParams,":",!1),e=ie.replaceVars(e,t.context,n),e=ie.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];rl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,rl.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=>Eo.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 rl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=rl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(!!ie.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(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&&rl.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 rS;class sS{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 an=new sS;class aS{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 Rn=new aS;class oS{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}};Te.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Te.sendMessageToIframe(s,r))}}const uS=new oS;class fS{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ie.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=Te.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 fS;class cS{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 cS;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){A(_,e,p),S(e,t),t.innerHTML=n,S(e,l),S(e,r),S(e,s),f||(g=ae(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(_){_&&L(e),f=!1,g()}}}function dS(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){A(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&&L(e),dt(n,l),i[5](null)}}}function hS(i,e,t){const n=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=ht("getUnsavedChangesModalPromise"),f=ht("handleNavigation");qn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:v,links:w,closeAfter:C}=b.settings,y=gr.processTextAndLinks(v,w,b.settings.id);if(setTimeout(()=>{y.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:y.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 w=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};f(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};v.addEventListener("click",w),v.dismissListener=w}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 gS extends Rt{constructor(e){super(),At(this,e,hS,dS,Tt,{alertQueue:0,alertTypeMap:1})}}const Dl=38,Fi=40,ki=13,Si=27,Zr=32,_S=36,pS=35;function qf(i){let e,t;return{c(){e=k("i"),c(e,"class",t=ei(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){A(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&&L(e)}}}function zf(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){A(o,e,f),S(e,t),S(t,l),r||(s=ae(t,"click",i[4]),r=!0)},p(o,f){f&1&&n!==(n=o[0].buttonConfirm+"")&&Ie(l,n)},d(o){o&&L(e),r=!1,s()}}}function mS(i){let e,t,n,l,r,s,o,f=i[0].header+"",g,h,_,p=i[0].body+"",b,v,w,C,y,P,T=i[0].buttonDismiss+"",D,R,I,O,H,F=i[0].type&&qf(i),B=i[0].buttonConfirm!==!1&&zf(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"),w=k("div"),B&&B.c(),C=K(),y=k("div"),P=k("button"),D=Ne(T),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",R="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),c(y,"class","fd-bar__element"),c(w,"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",I="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,ee){A(G,e,ee),S(e,t),S(t,n),S(n,l),S(l,r),F&&F.m(r,null),S(r,s),S(r,o),S(o,g),S(t,h),S(t,_),_.innerHTML=p,S(t,b),S(t,v),S(v,w),B&&B.m(w,null),S(w,C),S(w,y),S(y,P),S(P,D),O||(H=[ae(window,"keydown",i[1]),ae(P,"click",i[5])],O=!0)},p(G,[ee]){G[0].type?F?F.p(G,ee):(F=qf(G),F.c(),F.m(r,s)):F&&(F.d(1),F=null),ee&1&&f!==(f=G[0].header+"")&&Ie(g,f),ee&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?B?B.p(G,ee):(B=zf(G),B.c(),B.m(w,C)):B&&(B.d(1),B=null),ee&1&&T!==(T=G[0].buttonDismiss+"")&&Ie(D,T),ee&1&&R!==(R="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",R),ee&1&&I!==(I="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-1d21c96")&&c(e,"class",I)},i:Fe,o:Fe,d(G){G&&L(e),F&&F.d(),B&&B.d(),O=!1,Ze(H)}}}function bS(i,e,t){const n=Wt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Xr(()=>{Te.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)),Te.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===Si&&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 vS extends Rt{constructor(e){super(),At(this,e,bS,mS,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function wS(i){let e,t,n;const l=i[5].default,r=xg(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){A(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&n_(r,l,s,s[4],n?t_(l,s[4],o,null):i_(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&&L(e),r&&r.d(s)}}}function SS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Wt();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 C=[...Te.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===v.source);return!(C&&h===C.type)};return Jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),Rn.addEventListener("message",w=>{const C=Te.getValidMessageSource(w);!C||_!==!0&&(w.data.msg==="luigi.add-backdrop"&&(t(2,o=b(w)),r("stateChanged",{backdropActive:!0}),Te.disableA11yOfInactiveIframe(C)),w.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),f&&Te.enableA11yOfInactiveIframe()))}))}),qn(()=>{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 xr extends Rt{constructor(e){super(),At(this,e,SS,wS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Gf(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v;t=new xr({props:{disable:i[2]}});let w=i[0].title&&Kf(i);return{c(){e=k("div"),ze(t.$$.fragment),n=K(),l=k("div"),r=k("div"),w&&w.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[5]?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(C,y){A(C,e,y),We(t,e,null),S(e,n),S(e,l),S(l,r),w&&w.m(r,null),S(e,s),S(e,o),S(o,f),S(f,g),S(g,h),p=!0,b||(v=ae(g,"click",i[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?w?w.p(C,y):(w=Kf(C),w.c(),w.m(r,null)):w&&(w.d(1),w=null),(!p||y&35&&_!==(_=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&c(g,"data-testid",_)},i(C){p||(M(t.$$.fragment,C),p=!0)},o(C){q(t.$$.fragment,C),p=!1},d(C){C&&L(e),qe(t),w&&w.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){A(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ie(n,t)},d(l){l&&L(e)}}}function jf(i){let e;const t=i[10].default,n=xg(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&n_(n,t,l,l[9],e?t_(t,l[9],r,null):i_(l[9]),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>
52
+ }`;var it=Ef(function(){return mt(V,Be+"return "+ve).apply(t,W)});if(it.source=ve,ho(it))throw it;return it}function c0(a){return wt(a).toLowerCase()}function d0(a){return wt(a).toUpperCase()}function h0(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),W=qo(m,N)+1;return ll(m,V,W).join("")}function g0(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=qo(m,ii(u))+1;return ll(m,0,N).join("")}function _0(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 p0(a,u){var d=B,m=G;if(Ht(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(Kl(a)){var W=ii(a);V=W.length}if(d>=V)return a;var J=d-jl(m);if(J<1)return m;var X=W?ll(W,0,J).join(""):a.slice(0,J);if(N===t)return X+m;if(W&&(J+=X.length-J),go(N)){if(a.slice(J).search(N)){var he,_e=X;for(N.global||(N=La(N.source,wt(zi.exec(N))+"g")),N.lastIndex=0;he=N.exec(_e);)var ve=he.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 m0(a){return a=wt(a),a&&Ol.test(a)?a.replace(Gn,j_):a}var b0=xl(function(a,u,d){return a+(d?" ":"")+u.toUpperCase()}),mo=Eu("toUpperCase");function Rf(a,u,d){return a=wt(a),u=d?t:u,u===t?W_(a)?Q_(a):E_(a):a.match(u)||[]}var Ef=rt(function(a,u){try{return Mn(a,t,u)}catch(d){return ho(d)?d:new Xe(d)}}),v0=Ri(function(a,u){return Kn(u,function(d){d=pi(d),Li(a,d,fo(a[d],a))}),a});function w0(a){var u=a==null?0:a.length,d=Je();return a=u?Ut(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 S0(a){return jp(Yn(a,_))}function bo(a){return function(){return a}}function k0(a,u){return a==null||a!==a?u:a}var C0=Vu(),y0=Vu(!0);function Tn(a){return a}function vo(a){return fu(typeof a=="function"?a:Yn(a,_))}function P0(a){return du(Yn(a,_))}function N0(a,u){return hu(a,Yn(u,_))}var I0=rt(function(a,u){return function(d){return Or(d,a,u)}}),T0=rt(function(a,u){return function(d){return Or(a,d,u)}});function wo(a,u,d){var m=tn(u),N=Vs(u,m);d==null&&!(Ht(u)&&(N.length||!m.length))&&(d=u,u=a,a=this,N=Vs(u,tn(u)));var V=!(Ht(d)&&"chain"in d)||!!d.chain,W=Di(a);return Kn(N,function(J){var X=u[J];a[J]=X,W&&(a.prototype[J]=function(){var he=this.__chain__;if(V||he){var _e=a(this.__wrapped__),ve=_e.__actions__=Pn(this.__actions__);return ve.push({func:X,args:arguments,thisArg:a}),_e.__chain__=he,_e}return X.apply(a,$i([this.value()],arguments))})}),a}function L0(){return Lt._===this&&(Lt._=tp),this}function So(){}function A0(a){return a=nt(a),rt(function(u){return gu(u,a)})}var R0=Xa(Ut),E0=Xa(Mo),D0=Xa(ka);function Df(a){return lo(a)?Ca(pi(a)):um(a)}function V0(a){return function(u){return a==null?t:Il(a,u)}}var M0=Ou(),O0=Ou(!0);function ko(){return[]}function Co(){return!1}function F0(){return{}}function U0(){return""}function B0(){return!0}function H0(a,u){if(a=nt(a),a<1||a>le)return[];var d=se,m=hn(a,se);u=Je(u),a-=se;for(var N=Na(m,u);++d<a;)u(d);return N}function W0(a){return xe(a)?Ut(a,pi):Un(a)?[a]:Pn($u(wt(a)))}function q0(a){var u=++x_;return wt(a)+u}var z0=Hs(function(a,u){return a+u},0),G0=$a("ceil"),K0=Hs(function(a,u){return a/u},1),j0=$a("floor");function J0(a){return a&&a.length?Ds(a,Tn,Fa):t}function Y0(a,u){return a&&a.length?Ds(a,Je(u,2),Fa):t}function Q0(a){return Uo(a,Tn)}function Z0(a,u){return Uo(a,Je(u,2))}function X0(a){return a&&a.length?Ds(a,Tn,Wa):t}function $0(a,u){return a&&a.length?Ds(a,Je(u,2),Wa):t}var x0=Hs(function(a,u){return a*u},1),ew=$a("round"),tw=Hs(function(a,u){return a-u},0);function nw(a){return a&&a.length?Pa(a,Tn):0}function iw(a,u){return a&&a.length?Pa(a,Je(u,2)):0}return E.after=Pb,E.ary=ff,E.assign=dv,E.assignIn=yf,E.assignInWith=xs,E.assignWith=hv,E.at=gv,E.before=cf,E.bind=fo,E.bindAll=v0,E.bindKey=df,E.castArray=Fb,E.chain=af,E.chunk=jm,E.compact=Jm,E.concat=Ym,E.cond=w0,E.conforms=S0,E.constant=bo,E.countBy=nb,E.create=_v,E.curry=hf,E.curryRight=gf,E.debounce=_f,E.defaults=pv,E.defaultsDeep=mv,E.defer=Nb,E.delay=Ib,E.difference=Qm,E.differenceBy=Zm,E.differenceWith=Xm,E.drop=$m,E.dropRight=xm,E.dropRightWhile=e1,E.dropWhile=t1,E.fill=n1,E.filter=lb,E.flatMap=ab,E.flatMapDeep=ob,E.flatMapDepth=ub,E.flatten=nf,E.flattenDeep=i1,E.flattenDepth=l1,E.flip=Tb,E.flow=C0,E.flowRight=y0,E.fromPairs=r1,E.functions=yv,E.functionsIn=Pv,E.groupBy=fb,E.initial=a1,E.intersection=o1,E.intersectionBy=u1,E.intersectionWith=f1,E.invert=Iv,E.invertBy=Tv,E.invokeMap=db,E.iteratee=vo,E.keyBy=hb,E.keys=tn,E.keysIn=In,E.map=Js,E.mapKeys=Av,E.mapValues=Rv,E.matches=P0,E.matchesProperty=N0,E.memoize=Qs,E.merge=Ev,E.mergeWith=Pf,E.method=I0,E.methodOf=T0,E.mixin=wo,E.negate=Zs,E.nthArg=A0,E.omit=Dv,E.omitBy=Vv,E.once=Lb,E.orderBy=gb,E.over=R0,E.overArgs=Ab,E.overEvery=E0,E.overSome=D0,E.partial=co,E.partialRight=pf,E.partition=_b,E.pick=Mv,E.pickBy=Nf,E.property=Df,E.propertyOf=V0,E.pull=g1,E.pullAll=rf,E.pullAllBy=_1,E.pullAllWith=p1,E.pullAt=m1,E.range=M0,E.rangeRight=O0,E.rearg=Rb,E.reject=bb,E.remove=b1,E.rest=Eb,E.reverse=oo,E.sampleSize=wb,E.set=Fv,E.setWith=Uv,E.shuffle=Sb,E.slice=v1,E.sortBy=yb,E.sortedUniq=N1,E.sortedUniqBy=I1,E.split=a0,E.spread=Db,E.tail=T1,E.take=L1,E.takeRight=A1,E.takeRightWhile=R1,E.takeWhile=E1,E.tap=J1,E.throttle=Vb,E.thru=js,E.toArray=Sf,E.toPairs=If,E.toPairsIn=Tf,E.toPath=W0,E.toPlainObject=Cf,E.transform=Bv,E.unary=Mb,E.union=D1,E.unionBy=V1,E.unionWith=M1,E.uniq=O1,E.uniqBy=F1,E.uniqWith=U1,E.unset=Hv,E.unzip=uo,E.unzipWith=sf,E.update=Wv,E.updateWith=qv,E.values=nr,E.valuesIn=zv,E.without=B1,E.words=Rf,E.wrap=Ob,E.xor=H1,E.xorBy=W1,E.xorWith=q1,E.zip=z1,E.zipObject=G1,E.zipObjectDeep=K1,E.zipWith=j1,E.entries=If,E.entriesIn=Tf,E.extend=yf,E.extendWith=xs,wo(E,E),E.add=z0,E.attempt=Ef,E.camelCase=Jv,E.capitalize=Lf,E.ceil=G0,E.clamp=Gv,E.clone=Ub,E.cloneDeep=Hb,E.cloneDeepWith=Wb,E.cloneWith=Bb,E.conformsTo=qb,E.deburr=Af,E.defaultTo=k0,E.divide=K0,E.endsWith=Yv,E.eq=ri,E.escape=Qv,E.escapeRegExp=Zv,E.every=ib,E.find=rb,E.findIndex=ef,E.findKey=bv,E.findLast=sb,E.findLastIndex=tf,E.findLastKey=vv,E.floor=j0,E.forEach=of,E.forEachRight=uf,E.forIn=wv,E.forInRight=Sv,E.forOwn=kv,E.forOwnRight=Cv,E.get=_o,E.gt=zb,E.gte=Gb,E.has=Nv,E.hasIn=po,E.head=lf,E.identity=Tn,E.includes=cb,E.indexOf=s1,E.inRange=Kv,E.invoke=Lv,E.isArguments=Al,E.isArray=xe,E.isArrayBuffer=Kb,E.isArrayLike=Nn,E.isArrayLikeObject=Kt,E.isBoolean=jb,E.isBuffer=rl,E.isDate=Jb,E.isElement=Yb,E.isEmpty=Qb,E.isEqual=Zb,E.isEqualWith=Xb,E.isError=ho,E.isFinite=$b,E.isFunction=Di,E.isInteger=mf,E.isLength=Xs,E.isMap=bf,E.isMatch=xb,E.isMatchWith=ev,E.isNaN=tv,E.isNative=nv,E.isNil=lv,E.isNull=iv,E.isNumber=vf,E.isObject=Ht,E.isObjectLike=zt,E.isPlainObject=qr,E.isRegExp=go,E.isSafeInteger=rv,E.isSet=wf,E.isString=$s,E.isSymbol=Un,E.isTypedArray=tr,E.isUndefined=sv,E.isWeakMap=av,E.isWeakSet=ov,E.join=c1,E.kebabCase=Xv,E.last=Zn,E.lastIndexOf=d1,E.lowerCase=$v,E.lowerFirst=xv,E.lt=uv,E.lte=fv,E.max=J0,E.maxBy=Y0,E.mean=Q0,E.meanBy=Z0,E.min=X0,E.minBy=$0,E.stubArray=ko,E.stubFalse=Co,E.stubObject=F0,E.stubString=U0,E.stubTrue=B0,E.multiply=x0,E.nth=h1,E.noConflict=L0,E.noop=So,E.now=Ys,E.pad=e0,E.padEnd=t0,E.padStart=n0,E.parseInt=i0,E.random=jv,E.reduce=pb,E.reduceRight=mb,E.repeat=l0,E.replace=r0,E.result=Ov,E.round=ew,E.runInContext=Q,E.sample=vb,E.size=kb,E.snakeCase=s0,E.some=Cb,E.sortedIndex=w1,E.sortedIndexBy=S1,E.sortedIndexOf=k1,E.sortedLastIndex=C1,E.sortedLastIndexBy=y1,E.sortedLastIndexOf=P1,E.startCase=o0,E.startsWith=u0,E.subtract=tw,E.sum=nw,E.sumBy=iw,E.template=f0,E.times=H0,E.toFinite=Vi,E.toInteger=nt,E.toLength=kf,E.toLower=c0,E.toNumber=Xn,E.toSafeInteger=cv,E.toString=wt,E.toUpper=d0,E.trim=h0,E.trimEnd=g0,E.trimStart=_0,E.truncate=p0,E.unescape=m0,E.uniqueId=q0,E.upperCase=b0,E.upperFirst=mo,E.each=of,E.eachRight=uf,E.first=lf,wo(E,function(){var a={};return gi(E,function(u,d){Pt.call(E.prototype,d)||(a[d]=u)}),a}(),{chain:!1}),E.VERSION=n,Kn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){E[a].placeholder=E}),Kn(["drop","take"],function(a,u){ut.prototype[a]=function(d){d=d===t?1:$t(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,se),type:a+(m.__dir__<0?"Right":"")}),m},ut.prototype[a+"Right"]=function(d){return this.reverse()[a](d).reverse()}}),Kn(["filter","map","takeWhile"],function(a,u){var d=u+1,m=d==pe||d==j;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}}),Kn(["head","last"],function(a,u){var d="take"+(u?"Right":"");ut.prototype[a]=function(){return this[d](1).value()[0]}}),Kn(["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 Or(d,a,u)})}),ut.prototype.reject=function(a){return this.filter(Zs(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(se)},gi(ut.prototype,function(a,u){var d=/^(?:filter|find|map|reject)|While$/.test(u),m=/^(?:head|last)$/.test(u),N=E[m?"take"+(u=="last"?"Right":""):u],V=m||/^find/.test(u);!N||(E.prototype[u]=function(){var W=this.__wrapped__,J=m?[1]:arguments,X=W instanceof ut,he=J[0],_e=X||xe(W),ve=function(ot){var ct=N.apply(E,$i([ot],J));return m&&Re?ct[0]:ct};_e&&d&&typeof he=="function"&&he.length!=1&&(X=_e=!1);var Re=this.__chain__,Be=!!this.__actions__.length,Ye=V&&!Re,it=X&&!Be;if(!V&&_e){W=it?W:new ut(this);var Qe=a.apply(W,J);return Qe.__actions__.push({func:js,args:[ve],thisArg:t}),new Jn(Qe,Re)}return Ye&&it?a.apply(this,J):(Qe=this.thru(ve),Ye?m?Qe.value()[0]:Qe.value():Qe)})}),Kn(["pop","push","shift","sort","splice","unshift"],function(a){var u=bs[a],d=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",m=/^(?:pop|shift)$/.test(a);E.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(W){return u.apply(xe(W)?W:[],N)})}}),gi(ut.prototype,function(a,u){var d=E[u];if(d){var m=d.name+"";Pt.call(Zl,m)||(Zl[m]=[]),Zl[m].push({name:u,func:d})}}),Zl[Bs(t,y).name]=[{name:"wrapper",func:t}],ut.prototype.clone=mp,ut.prototype.reverse=bp,ut.prototype.value=vp,E.prototype.at=Y1,E.prototype.chain=Q1,E.prototype.commit=Z1,E.prototype.next=X1,E.prototype.plant=x1,E.prototype.reverse=eb,E.prototype.toJSON=E.prototype.valueOf=E.prototype.value=tb,E.prototype.first=E.prototype.head,Lr&&(E.prototype[Lr]=$1),E},Jl=Z_();ni?((ni.exports=Jl)._=Jl,Ni._=Jl):Lt._=Jl}).call(Gr)})(Vl,Vl.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=ie.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Mt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:s=!1}=t;if(await Mt.shouldPreventNavigation(n)||ie.trimLeadingSlash(this.getWindowPath())===ie.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")?ie.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ie.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ie.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ie.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return re.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ie.trimLeadingSlash(window.location.pathname)+window.location.search:ie.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=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 Mt.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 Mt.getChildren(g,h));if(n.isExistingRoute){const g=ie.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${f}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(f&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ie.trimTrailingSlash(n.matchedPath)+"/"+f,s,!0),!0;const g=await Mt.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?ie.getPathWithoutHash(o):"",{nodeObject:h,pathData:_}=await Mt.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]),w=me.getNodeParams(v),C=me.findViewGroup(h),y=decodeURIComponent(g.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let T=!1,D=P;for(;D;){if(D.tabNav===!0){T=!0;break}else if(D.tabNav===!1){T=!1;break}else if(ie.isObject(D.tabNav)){if(D.tabNav.showAsTabHeader){T=!0;break}if("hideTabNavAutomatically"in D.tabNav&&D.children)if(D.tabNav.hideTabNavAutomatically===!0&&D.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}D=Se.getParentNode(D,_.navigationPath)}let R=P,I=h.hideSideNav;if(I===void 0)for(;R;){if(R.tabNav&&R.hideSideNav===!0){I=!0;break}if(R.hideSideNav===!1){I=!1;break}R=Se.getParentNode(R,_.navigationPath)}const O=me.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=O;const H={hideNav:b,viewUrl:p,nodeParams:w,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:_.navigationPath,context:O,pathParams:_.pathParams,hideSideNav:I||!1,isolateView:h.isolateView||!1,tabNav:T};t.set(Object.assign({},H,{previousNodeValues:f?{viewUrl:f.viewUrl,isolateView:f.isolateView,viewGroup:f.viewGroup}:{}}));let F=document.getElementsByClassName("iframeContainer")[0];if(F&&(T?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 ee=t.get(),x=await t.prepareInternalData(l);Te.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ee.context),nodeParams:JSON.stringify(ee.nodeParams),pathParams:JSON.stringify(ee.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(x),withoutSync:!0})}}const B=document.querySelector(".lui-tab-header");B&&B.dispatchEvent(new Event("lui_ctx_update")),Mt.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 Mt.extractDataFromPath(e);g_.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let 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(ie.trimLeadingSlash(this.getWindowPath())===ie.trimLeadingSlash(n)){const r=Te.getIframeContainer(),s=Ln.getActiveIframe(r);s&&s.vg&&Ln.canCache(s.vg)?(Ln.switchActiveIframe(Te.getIframeContainer(),void 0,!1),setTimeout(()=>{Ln.switchActiveIframe(Te.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,Te.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(ie.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...qw.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ie.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ur.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&&ur.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&&Vl.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))),ur.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(!!e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=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 Yw{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=Te.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ie.getPathWithoutHash(t):"",l=await Mt.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){ur.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const 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(ie.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ie.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ie.computePxFromPercent(t.rightContentHeight,100-e))+ie.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:ie.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,ie.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Te.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`,Te.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="",Te.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Te.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const st=new Yw;class Qw{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Qr.hideAppLoadingIndicator()},0)}}const Zw=new Qw;class Xw{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 Xw;class $w{constructor(){return this._userInfoStore=fr({}),this._loggedInStore=fr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=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),ie.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&&ie.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ie.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(sl(this._userInfoStore))),ie.isFunction(re.getConfigValue("auth.events.onAuthSuccessful"))&&ai.isNewlyAuthorized()&&await vi.handleAuthEvent("onAuthSuccessful",e,t),ai.removeNewlyAuthorized(),ie.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ie.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{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`);ie.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ie.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=ie.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ie.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ie.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&&ie.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const nn=new $w;class xw{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(ie.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const 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 jr=new xw;class eS{getStoredAuthData(){return ai.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ie.getUrlParameter("error"),t=ie.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await 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 eS;class tS{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`&lt;${n[l]}/&gt;`,"g"),s=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),f=new RegExp(`&lt;${n[l]} &gt;`,"g"),g=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),h=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),_=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(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,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((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 dr=new tS;class nS{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=Vl.exports.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Vl.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 ie=new nS;class iS{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=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.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=ie.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ie.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");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return ww.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ie.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(ie.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Te.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=jr.hasDecorators()?jr.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:ie.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(ie.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=[...Te.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 Te.specialIframeTypes.filter(n=>Te.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:Do.getActiveFeatureToggleList(),currentLocale:pt.getCurrentLocale(),currentTheme:Lo.getCurrentTheme()}}}const Te=new iS;class lS{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 ie.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Do.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];ie.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=_),ie.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),ie.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&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 Mt.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 Mt.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(ie.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 Mt.extractDataFromPath(e);return!!await Mt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Vl.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=>{Vl.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=ie.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}}const Se=new lS;class rS{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 sa.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&&Te.getLocation(e.viewUrl)===Te.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+ie.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=ie.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=ie.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=ie.replaceVars(e,t.pathParams,":",!1),e=ie.replaceVars(e,t.context,n),e=ie.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const 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[dr.sanitizeParam(n[0])]=dr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(s=>Do.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(!!ie.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 rS;class sS{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 an=new sS;class aS{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 aS;class oS{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}};Te.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Te.sendMessageToIframe(s,r))}}const uS=new oS;class fS{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ie.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=Te.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 ar=new fS;class cS{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 cS;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){A(_,e,p),S(e,t),t.innerHTML=n,S(e,l),S(e,r),S(e,s),f||(g=ae(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(_){_&&L(e),f=!1,g()}}}function dS(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){A(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&&L(e),dt(n,l),i[5](null)}}}function hS(i,e,t){const n=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=gt("getUnsavedChangesModalPromise"),f=gt("handleNavigation");qn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:v,links:w,closeAfter:C}=b.settings,y=dr.processTextAndLinks(v,w,b.settings.id);if(setTimeout(()=>{y.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:y.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 w=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};f(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};v.addEventListener("click",w),v.dismissListener=w}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 gS extends Et{constructor(e){super(),Rt(this,e,hS,dS,Tt,{alertQueue:0,alertTypeMap:1})}}const Dl=38,Fi=40,Si=13,wi=27,Jr=32,_S=36,pS=35;function qf(i){let e,t;return{c(){e=k("i"),c(e,"class",t=xn(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=xn(n[3](n[0].icon))+" svelte-1d21c96")&&c(e,"class",t)},d(n){n&&L(e)}}}function zf(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){A(o,e,f),S(e,t),S(t,l),r||(s=ae(t,"click",i[4]),r=!0)},p(o,f){f&1&&n!==(n=o[0].buttonConfirm+"")&&Ie(l,n)},d(o){o&&L(e),r=!1,s()}}}function mS(i){let e,t,n,l,r,s,o,f=i[0].header+"",g,h,_,p=i[0].body+"",b,v,w,C,y,P,T=i[0].buttonDismiss+"",D,R,I,O,H,F=i[0].type&&qf(i),B=i[0].buttonConfirm!==!1&&zf(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"),w=k("div"),B&&B.c(),C=K(),y=k("div"),P=k("button"),D=Ne(T),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",R="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),c(y,"class","fd-bar__element"),c(w,"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",I="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,ee){A(G,e,ee),S(e,t),S(t,n),S(n,l),S(l,r),F&&F.m(r,null),S(r,s),S(r,o),S(o,g),S(t,h),S(t,_),_.innerHTML=p,S(t,b),S(t,v),S(v,w),B&&B.m(w,null),S(w,C),S(w,y),S(y,P),S(P,D),O||(H=[ae(window,"keydown",i[1]),ae(P,"click",i[5])],O=!0)},p(G,[ee]){G[0].type?F?F.p(G,ee):(F=qf(G),F.c(),F.m(r,s)):F&&(F.d(1),F=null),ee&1&&f!==(f=G[0].header+"")&&Ie(g,f),ee&1&&p!==(p=G[0].body+"")&&(_.innerHTML=p),G[0].buttonConfirm!==!1?B?B.p(G,ee):(B=zf(G),B.c(),B.m(w,C)):B&&(B.d(1),B=null),ee&1&&T!==(T=G[0].buttonDismiss+"")&&Ie(D,T),ee&1&&R!==(R="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",R),ee&1&&I!==(I="fd-message-box-docs-static fd-message-box fd-message-box--"+G[0].type+" fd-message-box--active svelte-1d21c96")&&c(e,"class",I)},i:Fe,o:Fe,d(G){G&&L(e),F&&F.d(),B&&B.d(),O=!1,Ze(H)}}}function bS(i,e,t){const n=Wt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Yr(()=>{Te.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:dr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(h,l)),Te.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 vS extends Et{constructor(e){super(),Rt(this,e,bS,mS,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function wS(i){let e,t,n;const l=i[5].default,r=xg(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){A(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&n_(r,l,s,s[4],n?t_(l,s[4],o,null):i_(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&&L(e),r&&r.d(s)}}}function SS(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Wt();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 C=[...Te.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===v.source);return!(C&&h===C.type)};return Jt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),An.addEventListener("message",w=>{const C=Te.getValidMessageSource(w);!C||_!==!0&&(w.data.msg==="luigi.add-backdrop"&&(t(2,o=b(w)),r("stateChanged",{backdropActive:!0}),Te.disableA11yOfInactiveIframe(C)),w.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),f&&Te.enableA11yOfInactiveIframe()))}))}),qn(()=>{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 Zr extends Et{constructor(e){super(),Rt(this,e,SS,wS,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Gf(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v;t=new Zr({props:{disable:i[2]}});let w=i[0].title&&Kf(i);return{c(){e=k("div"),Ge(t.$$.fragment),n=K(),l=k("div"),r=k("div"),w&&w.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[5]?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(C,y){A(C,e,y),We(t,e,null),S(e,n),S(e,l),S(l,r),w&&w.m(r,null),S(e,s),S(e,o),S(o,f),S(f,g),S(g,h),p=!0,b||(v=ae(g,"click",i[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?w?w.p(C,y):(w=Kf(C),w.c(),w.m(r,null)):w&&(w.d(1),w=null),(!p||y&35&&_!==(_=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&c(g,"data-testid",_)},i(C){p||(M(t.$$.fragment,C),p=!0)},o(C){q(t.$$.fragment,C),p=!1},d(C){C&&L(e),qe(t),w&&w.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){A(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Ie(n,t)},d(l){l&&L(e)}}}function jf(i){let e;const t=i[10].default,n=xg(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&n_(n,t,l,l[9],e?t_(t,l[9],r,null):i_(l[9]),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>
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){A(t,e,n)},d(t){t&&L(e)}}}function kS(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w=(i[5]||i[4]&&i[0].header)&&Gf(i),C=i[4]&&jf(i),y=i[3]&&Jf();return{c(){e=k("div"),t=k("div"),w&&w.c(),n=K(),l=k("div"),C&&C.c(),r=K(),s=k("div"),g=K(),y&&y.c(),c(s,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-k9bftu"),c(s,"modal-container-index",f=i[4]?void 0:i[1]),c(l,"class","fd-dialog__body svelte-k9bftu"),c(t,"class",h="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),c(t,"data-testid",_=i[5]?"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[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),c(e,"style",b=i[5]?"z-index:1001":"")},m(P,T){A(P,e,T),S(e,t),w&&w.m(t,null),S(t,n),S(t,l),C&&C.m(l,null),S(l,r),S(l,s),S(t,g),y&&y.m(t,null),v=!0},p(P,[T]){P[5]||P[4]&&P[0].header?w?(w.p(P,T),T&49&&M(w,1)):(w=Gf(P),w.c(),M(w,1),w.m(t,n)):w&&(ye(),q(w,1,1,()=>{w=null}),Pe()),P[4]?C?(C.p(P,T),T&16&&M(C,1)):(C=jf(P),C.c(),M(C,1),C.m(l,r)):C&&(ye(),q(C,1,1,()=>{C=null}),Pe()),(!v||T&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-k9bftu"))&&c(s,"class",o),(!v||T&18&&f!==(f=P[4]?void 0:P[1]))&&c(s,"modal-container-index",f),P[3]?y||(y=Jf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!v||T&19&&h!==(h="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-k9bftu"))&&c(t,"class",h),(!v||T&32&&_!==(_=P[5]?"modal-mf":"drawer-mf"))&&c(t,"data-testid",_),(!v||T&49&&p!==(p=ei(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&c(e,"class",p),(!v||T&32&&b!==(b=P[5]?"z-index:1001":""))&&c(e,"style",b)},i(P){v||(M(w),M(C),v=!0)},o(P){q(w),q(C),v=!1},d(P){P&&L(e),w&&w.d(),C&&C.d(),y&&y.d()}}}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=Wt();let _,p,b,v=!1,w=!1,C=!1,y=!1,P=!1,T=!0,D,R=ht("store");const I=z=>Se.getNodeLabel(z),O=async z=>{const j=z&&z.length?ie.getPathWithoutHash(z):"",ce=me.parseParams(j.split("?")[1]);b=me.getNodeParams(ce);const le=await Vt.extractDataFromPath(z);_=le.nodeObject,t(4,P=r.isDrawer||typeof _.drawer=="object"),D=P?"._drawer":`[modal-container-index="${f}"]`,t(0,r._liveLabel=!1,r),P?(t(5,T=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=I(_),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=I(_),r),t(0,r._liveLabel=!0,r)),p=le.pathData,t(7,s=!0)},H=async z=>{if(!(v||w))if(s)if(_.webcomponent)t(3,C=!1),P?await G():await F(),cr.renderWebComponent(_.viewUrl,document.querySelector(D),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(D),modalWCData:{...p,nodeParams:b}}),w=!0;else{const j=await B(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:b}}),v=!0}else await O(z)},F=async()=>{let z,j;const ce=document.querySelector(".lui-modal-index-"+f),{size:le,width:Z,height:Ce}=r,se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ce.classList.remove("lui-modal-fullscreen"),Z&&Z.match(se)&&Ce&&Ce.match(se))z=Ce,j=Z;else switch(le){case"fullscreen":z="100vh",j="100vw",ce.classList.add("lui-modal-fullscreen");break;case"m":z="80%",j="60%";break;case"s":z="80%",j="40%";break;default:z="80%",j="80%"}ce.setAttribute("style",`width:${j};height:${z};`)},B=async(z,j)=>{P?await G():await F(),z&&(z=me.substituteViewUrl(z,j));const ce=await Te.createIframe(z,void 0,_,"modal",j);return document.querySelector(D).appendChild(ce),ce};async function G(z){let j="";const ce=document.getElementsByClassName("drawer"),le=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?ce[0].setAttribute("style",j):(le[0].setAttribute("style",j),ce[0].setAttribute("style","width:100%"))}fa(()=>{H(o)});const ee=async z=>{z.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),z.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),z.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&x()),z.data.msg==="luigi.close-modal"&&h("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||z.data.updatedModalSettings.width||z.data.updatedModalSettings.height)&&(t(0,r.size=z.data.updatedModalSettings.size,r),t(0,r.height=z.data.updatedModalSettings.height,r),t(0,r.width=z.data.updatedModalSettings.width,r),await F()),re.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},z.data.addHistoryEntry))};Jt(()=>{an.doOnStoreChange(R,()=>{r._liveLabel&&_&&t(0,r.title=I(_),r)},["navigation.viewgroupdata"]),Rn.addEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.disableA11YKeyboardExceptClassName(".lui-modal-index-"+f),window.focus(),setTimeout(()=>{var z;!y&&!_.webcomponent&&((z=_.loadingIndicator)==null?void 0:z.enabled)!==!1&&t(3,C=!0)},250)}),Xr(()=>{Rn.removeEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+f)});function x(){let z;T?z=document.querySelector(`.lui-modal-mf.lui-modal-index-${f} .spinnerContainer`):z=document.querySelector(".drawer .spinnerContainer"),z&&z.classList.contains("fade-out")&&(z.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const pe=()=>h("close",{activeDrawer:!1});return i.$$set=z=>{"settings"in z&&t(0,r=z.settings),"isDataPrepared"in z&&t(7,s=z.isDataPrepared),"nodepath"in z&&t(8,o=z.nodepath),"modalIndex"in z&&t(1,f=z.modalIndex),"disableBackdrop"in z&&t(2,g=z.disableBackdrop),"$$scope"in z&&t(9,l=z.$$scope)},[r,f,g,C,P,T,h,s,o,l,n,pe]}class p_ extends Rt{constructor(e){super(),At(this,e,CS,kS,Tt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}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),A(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&&L(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){A(r,e,s),S(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&&L(e),dt(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),A(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&&L(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){A(r,e,s),S(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ie(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&c(e,"disabled",l)},d(r){r&&L(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){A(o,e,f),Of(e,i[0][i[1][0]][i[28]]),l||(r=ae(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&&L(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,w=Array.isArray(i[29].options),C,y;function P(...R){return i[19](i[28],i[31],i[29],...R)}function T(){return i[20](i[29])}let D=w&&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"),D&&D.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(R,I){A(R,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,f),S(r,h),S(r,_),S(t,b),S(t,v),D&&D.m(v,null),C||(y=[ae(r,"keydown",P),ae(n,"click",Ut(T))],C=!0)},p(R,I){i=R,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ie(f,o),I[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&c(s,"disabled",g),I[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&c(r,"data-testid",p),I[0]&2&&(w=Array.isArray(i[29].options)),w?D?D.p(i,I):(D=tc(i),D.c(),D.m(v,null)):D&&(D.d(1),D=null)},d(R){R&&L(e),D&&D.d(),C=!1,Ze(y)}}}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){A(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&&L(e),dt(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"),vi(e,"is-selected",i[4]===i[34]),vi(e,"is-focus",i[4]===i[34])},m(g,h){A(g,e,h),S(e,t),S(t,l),S(e,r),s||(o=[ae(e,"click",f),ae(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Ie(l,n),h[0]&16&&vi(e,"is-selected",i[4]===i[34]),h[0]&16&&vi(e,"is-focus",i[4]===i[34])},d(g){g&&L(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){A(s,e,o),S(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&&L(e),dt(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){A(p,e,b),S(e,n),S(e,l),g||(h=ae(e,"click",_),g=!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":""))&&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&&L(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){A(p,e,b),S(e,t),S(t,n),n.checked=i[0][i[1][0]][i[28]],S(t,s),S(t,o),g||(h=ae(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&&L(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){A(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=ae(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&&L(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,w=i[29].type==="string"&&xf(i),C=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ec(i),y=_&&ic(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&rc(i),T=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"),w&&w.c(),g=K(),C&&C.c(),h=K(),y&&y.c(),p=K(),P&&P.c(),b=K(),T&&T.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(D,R){A(D,e,R),S(e,t),S(t,n),S(n,r),S(n,s),S(e,o),S(e,f),w&&w.m(f,null),S(f,g),C&&C.m(f,null),S(f,h),y&&y.m(f,null),S(f,p),P&&P.m(f,null),S(f,b),T&&T.m(f,null),S(e,v)},p(D,R){R[0]&34&&l!==(l=D[5](D[29].label)+"")&&Ie(r,l),D[29].type==="string"?w?w.p(D,R):(w=xf(D),w.c(),w.m(f,g)):w&&(w.d(1),w=null),D[29].type==="enum"&&(D[29].style===void 0||D[29].style==="list")?C?C.p(D,R):(C=ec(D),C.c(),C.m(f,h)):C&&(C.d(1),C=null),R[0]&2&&(_=D[29].type==="enum"&&D[29].style==="button"&&Array.isArray(D[29].options)),_?y?y.p(D,R):(y=ic(D),y.c(),y.m(f,p)):y&&(y.d(1),y=null),D[29].type==="boolean"&&(!D[29].style||D[29].style==="switch")?P?P.p(D,R):(P=rc(D),P.c(),P.m(f,b)):P&&(P.d(1),P=null),D[29].type==="boolean"&&D[29].style==="checkbox"?T?T.p(D,R):(T=sc(D),T.c(),T.m(f,null)):T&&(T.d(1),T=null)},d(D){D&&L(e),w&&w.d(),C&&C.d(),y&&y.d(),P&&P.d(),T&&T.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){A(r,e,s),l&&l.m(e,null),t||(n=[ae(window,"click",i[7]),ae(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&&L(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=Wt();let f=ht("getTranslation");Ci(i,f,z=>t(5,n=z));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(j=>{w(j,!1)})}function v(z,j){let ce=na(z.target,".fd-popover__control",20),le=ce.getAttribute("aria-expanded")==="true";(j||j===void 0)&&(b(),w(ce,!le))}function w(z,j){const ce=z.querySelector(".lui-activate-dropdown"),le=z.parentNode.querySelector(".fd-popover__body"),Z=z.parentNode.querySelector(".fd-select__control");z.setAttribute("aria-expanded",j),le.setAttribute("aria-hidden",!j),Z.setAttribute("aria-expanded",j),ce.setAttribute("aria-expanded",j),t(14,h=j)}function C(z,j,ce){t(4,g=ce),t(0,s[l[0]][z]=j.value||j,s)}function y(z,j){document.querySelectorAll(".enum-buttons-container-"+z+" button").forEach(ce=>{const le=ce.getAttribute("id"),Z=`lui-us-enum_button_${z}_option`;le===Z?ce.classList.add("fd-button--emphasized"):ce.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][z]=j.value||j,s)}function P(z,j){let ce;if(Array.isArray(j)){for(let le=0;le<j.length;le++)if(ie.isObject(j[le])){if(j[le].value&&j[le].value===z){ce=j[le].label,t(4,g=le);break}}else{ce=z,t(4,g=j.indexOf(z));break}return n(ce)}}function T(z){return n(ie.isObject(z)?z.label:z)}function D(z,j,ce){return ie.isObject(ce)?`${z}_${j}_${ce.value}`:`${z}_${j}_${ce}`}function R(z,j,ce,le){let Z=na(z.target,".lui-anchor-node",20);const Ce=document.getElementById(`fd-form-input-dropdown-${ce}`).children;let se=-1;if([...Ce].forEach((Ue,te)=>{Ue.classList.contains("is-focus")&&(se=te)}),h){if(z.keyCode===Dl&&z.altKey&&(Z.click(),Z.focus()),z.keyCode===Fi&&!z.altKey){if(se===-1){se=0,Ce.item(se).classList.add("is-focus");return}se<le.options.length-1&&(Ce.item(se).classList.remove("is-focus"),se+=1,Ce.item(se).classList.add("is-focus"))}if(z.keyCode===Dl&&!z.altKey){if(se===-1){se=se.length-1,Ce.item(se).classList.add("is-focus");return}se>0&&se<le.options.length&&(Ce.item(se).classList.remove("is-focus"),se-=1,Ce.item(se).classList.add("is-focus"))}(z.keyCode===ki||z.keyCode===Zr)&&C(j,le.options[se],se)}else Z.focus(),z.keyCode===Fi&&z.altKey&&Z.click(),z.keyCode===Fi&&!z.altKey&&se<le.options.length-1&&C(j,le.options[se+1],se+1),z.keyCode===Dl&&!z.altKey&&se>0&&se<le.options.length&&C(j,le.options[se-1],se-1)}function I(z){if(h){let j=na(z.target,".fd-popover",20);j.blur(),(z.keyCode===Zr||z.keyCode===ki)&&(z.target.click(),b(),setTimeout(()=>{j.focus()},0))}}P();function O(z){s[l[0]][z]=this.value,t(0,s)}const H=(z,j,ce,le)=>R(le,z,j,ce),F=z=>v(event,z.isEditable),B=(z,j,ce)=>C(z,j,ce),G=z=>I(z),ee=(z,j)=>y(z,j);function x(z){s[l[0]][z]=this.checked,t(0,s)}function pe(z){s[l[0]][z]=this.checked,t(0,s)}return i.$$set=z=>{"userSettingGroup"in z&&t(1,l=z.userSettingGroup),"userSettingsGroupKey"in z&&t(15,r=z.userSettingsGroupKey),"storedUserSettingData"in z&&t(0,s=z.storedUserSettingData),"isComboOpen"in z&&t(14,h=z.isComboOpen)},[s,l,R,I,g,n,f,b,v,C,y,P,T,D,h,r,_,p,O,H,F,B,G,ee,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}=ul;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),A(o,t,f),A(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&&L(t),o&&L(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-d5kn3x"),c(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),ui(e,"background-image","url('"+i[38][1].icon+"')"),ui(e,"background-size","cover")},m(o,f){A(o,e,f),A(o,l,f),s&&s.m(o,f),A(o,r,f)},p(o,f){f[0]&2&&t!==(t=ei(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&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&&ui(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&&L(e),o&&L(l),s&&s.d(o),o&&L(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-d5kn3x"),c(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),S(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[38][1].icon))+" svelte-d5kn3x")&&c(t,"class",n)},d(l){l&&L(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-d5kn3x"),c(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){A(s,e,o),S(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Ie(n,t),o[0]&2&&l!==(l=ei(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&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&&L(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,w=i[38][1].icon&&cc(i);function C(){return i[22](i[38])}function y(...P){return i[23](i[37],...P)}return{c(){e=k("li"),t=k("a"),w&&w.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-d5kn3x"),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,T){A(P,e,T),S(e,t),w&&w.m(t,null),S(t,n),S(t,l),S(l,r),S(r,o),S(l,f),S(l,g),S(g,_),S(e,p),b||(v=[ae(e,"click",Mt(C)),ae(e,"keydown",y)],b=!0)},p(P,T){i=P,i[38][1].icon?w?w.p(i,T):(w=cc(i),w.c(),w.m(t,n)):w&&(w.d(1),w=null),T[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ie(o,s),T[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ie(_,h)},d(P){P&&L(e),w&&w.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);A(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){dt(n,l),l&&L(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(){ze(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){qe(e,f)}}}function RS(i){let e,t,n,l,r,s,o,f=i[10](i[4])+"",g,h,_,p,b,v,w,C,y,P=i[10](i[7])+"",T,D,R,I,O,H,F,B,G,ee,x,pe=i[10](i[5])+"",z,j,ce,le,Z=i[10](i[6])+"",Ce,se,Ue,te,Ae=Object.entries(i[1]),$=[];for(let oe=0;oe<Ae.length;oe+=1)$[oe]=gc(uc(i,Ae,oe));let ge=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 oe=0;oe<$.length;oe+=1)$[oe].c();b=K(),v=k("div"),w=k("button"),w.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=K(),y=k("h2"),T=Ne(P),D=K(),R=k("div"),I=k("div"),ge&&ge.c(),O=K(),H=k("div"),F=K(),B=k("footer"),G=k("div"),ee=k("div"),x=k("button"),z=Ne(pe),j=K(),ce=k("div"),le=k("button"),Ce=Ne(Z),c(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),c(o,"id","dialog-title-2"),c(s,"class","fd-side-nav__group-header svelte-d5kn3x"),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-d5kn3x"),c(r,"class","fd-side-nav svelte-d5kn3x"),c(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),c(w,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),c(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),c(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),c(I,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),c(H,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),c(R,"class","lui-usersettings-content svelte-d5kn3x"),c(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),c(x,"data-testid","lui-us-saveBtn"),c(x,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),c(ee,"class","fd-bar__element"),c(le,"data-testid","lui-us-dismissBtn"),c(le,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),c(ce,"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-d5kn3x"),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-d5kn3x"),c(e,"tabindex","0")},m(oe,Me){A(oe,e,Me),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(o,g),S(r,h),S(r,_),S(_,p);for(let He=0;He<$.length;He+=1)$[He].m(p,null);S(n,b),S(n,v),S(v,w),S(v,C),S(v,y),S(y,T),S(n,D),S(n,R),S(R,I),ge&&ge.m(I,null),S(R,O),S(R,H),S(t,F),S(t,B),S(B,G),S(G,ee),S(ee,x),S(x,z),S(G,j),S(G,ce),S(ce,le),S(le,Ce),se=!0,Ue||(te=[ae(oc,"resize",i[20]),ae(oc,"keydown",i[3]),ae(w,"click",i[17]),ae(x,"click",i[26]),ae(le,"click",i[27])],Ue=!0)},p(oe,Me){if((!se||Me[0]&1040)&&f!==(f=oe[10](oe[4])+"")&&Ie(g,f),Me[0]&803846){Ae=Object.entries(oe[1]);let He;for(He=0;He<Ae.length;He+=1){const be=uc(oe,Ae,He);$[He]?$[He].p(be,Me):($[He]=gc(be),$[He].c(),$[He].m(p,null))}for(;He<$.length;He+=1)$[He].d(1);$.length=Ae.length}(!se||Me[0]&1152)&&P!==(P=oe[10](oe[7])+"")&&Ie(T,P),oe[11]?ge?(ge.p(oe,Me),Me[0]&2048&&M(ge,1)):(ge=_c(oe),ge.c(),M(ge,1),ge.m(I,null)):ge&&(ye(),q(ge,1,1,()=>{ge=null}),Pe()),(!se||Me[0]&1056)&&pe!==(pe=oe[10](oe[5])+"")&&Ie(z,pe),(!se||Me[0]&1088)&&Z!==(Z=oe[10](oe[6])+"")&&Ie(Ce,Z)},i(oe){se||(M(ge),se=!0)},o(oe){q(ge),se=!1},d(oe){oe&&L(e),dt($,oe),ge&&ge.d(),Ue=!1,Ze(te)}}}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 m_(i,e,t){if(i&&t>0)return i.matches(e)?i:m_(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=Wt();let o,{storedUserSettings:f={}}=e,g={},h=ht("getTranslation");Ci(i,h,se=>t(10,n=se));let _=al.userSettingsDialog.dialogHeader,p=al.userSettingsDialog.saveBtn,b=al.userSettingsDialog.dismissBtn,v={},w,C,y,P;Xr(()=>{Te.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const se=re.getConfigValue("userSettings.userSettingsDialog"),Ue=se||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)),w=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Rn.addEventListener("message",te=>{const Ae=Te.getValidMessageSource(te);if(!Ae||te.data.msg!=="custom")return;Ae._ready=!0;const $=ra.convertCustomMessageInternalToUser(te.data),ge="luigi.updateUserSettings";if($.id===ge){const oe=ur.findActiveCustomUserSettingsIframe(te.source);if(oe){let Me=oe.getAttribute("userSettingsGroup");t(0,f[Me]=$.data,f)}}$.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<$t.desktopMinWidth&&H()}),re.readUserSettings().then(te=>{g=JSON.parse(JSON.stringify(te)),te===null?t(0,f=pc(JSON.parse(JSON.stringify(r)),{})):t(0,f=pc(JSON.parse(JSON.stringify(r)),te)),D([w,r[0][w]])}).catch(te=>{te&&te.message&&console.error(te.message),te&&te.closeDialog&&s("close")}),Te.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function T(se){if(t(7,C=se.title?se.title:""),!!ie.isObject(se.settings))for(let Ue in se.settings){let te=se.settings[Ue];te.type==="enum"?Array.isArray(te.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):te.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function D(se,Ue){t(11,o=se);let te=se[0],Ae=se[1];if(T(Ae),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ge=>{ge.classList.remove("is-selected")}),m_(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()),Ae.viewUrl){if(ur.hideUserSettingsIframe(),v.hasOwnProperty(te))ur.getUserSettingsIframesInDom().forEach($=>{$.userSettingsGroup===te&&($.style.display="block")});else{const $=Qr.hasDecorators()?Qr.applyDecorators(Ae.viewUrl):Ae.viewUrl;let ge=ur.createIframe($,te);v[te]=ge}ES()}else DS()}const R=se=>{t(0,f=se.detail.userSettings)};function I(){re.storeUserSettings(f,g).then(()=>{s("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.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(se){return Se.renderIconClassName(se)}function B(se){return Se.isOpenUIiconName(se.icon)}let G;const ee=()=>{const se=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"),se&&(document.querySelector(".confirm-button").style.display="block"),!G){let te=document.querySelector(".confirm-button");window.innerWidth<$t.desktopMinWidth?te.style.display="none":te.style.display="block"}G=window.innerWidth};function x(se,Ue){let te=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===ki||se.keyCode===Zr)&&te[Ue].click(),se.keyCode===pS&&te[Object.keys(r).length-1].focus(),se.keyCode===_S&&te[0].focus()}function pe(se){se.keyCode===Si&&y?P():se.keyCode===Si&&!y&&s("close")}const z=se=>D(se,event),j=(se,Ue)=>x(Ue,[se]);function ce(se){P=se,t(9,P)}function le(se){y=se,t(8,y)}const Z=()=>I(),Ce=()=>s("close");return i.$$set=se=>{"schemaObj"in se&&t(21,l=se.schemaObj),"userSettingGroups"in se&&t(1,r=se.userSettingGroups),"storedUserSettings"in se&&t(0,f=se.storedUserSettings)},[f,r,x,pe,_,p,b,C,y,P,n,o,s,h,D,R,I,H,F,B,ee,l,z,j,ce,le,Z,Ce]}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}=ul;function FS(i){let e;return{c(){e=k("div"),c(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){A(t,e,n)},p:Fe,d(t){t&&L(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){A(g,e,h),S(e,t),A(g,n,h),A(g,l,h),S(l,s),o||(f=ae(t,"click",Ut(Mt(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ie(s,r)},d(g){g&&L(e),g&&L(n),g&&L(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){A(g,e,h),A(g,t,h),A(g,n,h),S(n,l),S(n,r),S(n,s),o||(f=[ae(s,"click",Ut(Mt(i[3]))),ae(n,"mousedown",Ut(i[6]))],o=!0)},p:Fe,d(g){g&&L(e),g&&L(t),g&&L(n),o=!1,Ze(f)}}}function BS(i){let e,t,n,l,r,s,o,f,g,h;t=new xr({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(w,C){return w[0]?US:FS}let p=_(i),b=p(i),v=!i[0]&&bc(i);return{c(){e=k("div"),ze(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(w,C){A(w,e,C),We(t,e,null),S(e,n),S(e,l),b.m(l,null),A(w,s,C),v&&v.m(w,C),A(w,o,C),f=!0,g||(h=ae(OS,"resize",i[5]),g=!0)},p(w,[C]){const y={};C&4&&(y.disable=w[2]),t.$set(y),p===(p=_(w))&&b?b.p(w,C):(b.d(1),b=p(w),b&&(b.c(),b.m(l,null))),(!f||C&1&&r!==(r="fd-page splitViewContainer "+(w[0]?"lui-collapsed":"")))&&c(e,"class",r),w[0]?v&&(v.d(1),v=null):v?v.p(w,C):(v=bc(w),v.c(),v.m(o.parentNode,o))},i(w){f||(M(t.$$.fragment,w),f=!0)},o(w){q(t.$$.fragment,w),f=!1},d(w){w&&L(e),qe(t),b.d(),w&&L(s),v&&v.d(w),w&&L(o),g=!1,h()}}}function HS(i,e,t){const n=Wt();let l={draggable:null,iframe:null,split:null},r,s,o,f,g,h,_,p,b,{nodepath:v}=e,{collapsed:w}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,T=!1,D=ht("getUnsavedChangesModalPromise");const R=()=>({get:()=>({collapsed:w,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:s,nodeParams:o,currentNode:f,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(ce=>{ce==="splitViewSettings"?t(1,C=j.splitViewSettings):ce==="lastNode"?r=j.lastNode:ce==="pathData"?s=j.pathData:ce==="nodeParams"?o=j.nodeParams:ce==="collapsed"?t(0,w=j.collapsed):ce==="isDataPrepared"?t(8,y=j.isDataPrepared):ce==="currentNode"?f=j.currentNode:ce==="splitViewIframe"?h=j.splitViewIframe:ce==="splitViewIframeData"?_=j.splitViewIframeData:ce==="splitViewWC"?p=j.splitViewWC:ce==="splitViewWCData"&&(b=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),I=async()=>{y?w||st.createAndSetView(R()):await st.prepareSplitViewData(R(),v)},O=()=>{l.split=st.getContainer(),l.iframe=Te.getIframeContainer(),l.draggable=st.getDragger()},H=()=>{const j=st.getDraggerBackdrop();j&&(j.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(j){if(!!Te.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&st.close(R()),j.data.msg==="luigi.navigation.splitview.collapse"&&B(),j.data.msg==="luigi.navigation.splitview.expand"&&G(),j.data.msg==="luigi.navigation.splitview.resize")){const ce=parseInt(j.data.data);if(st.calculateAndSetSplitViewValues(ce,st.internalValues),w)return;H(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{ee(),g=F.bind(this),Rn.addEventListener("message",g)}),fa(()=>{I(),T!==y&&!w&&(T=y,H())}),Xr(()=>{window.removeEventListener("message",g)});function B(){st.collapse(R())}async function G(){await st.expand(R()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function ee(){const j=ie.getShellbarHeight();st.internalValues.innerHeight=ie.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-j,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=j+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),w||H()}function x(j){let ce=j.y,le={};const Z=function(Ae){const $=ce-Ae.y,ge=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ge)||$===0)return;const oe=ge-$,Me=st.internalValues.innerHeight-oe,He=st.enforceTresholds(oe,Me);oe<He.top||Me<He.bottom||(le=He,ce=Ae.y,l.draggable.style.top=`${le.top}px`)},Ce=function(){if(se(),!le.top||!le.bottom||le.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=le.top,st.splitViewValues=le,H(),st.sendMessageToClients("resize.ok",le.percent)},se=function(){document.removeEventListener("mouseup",Ce),document.removeEventListener("mousemove",Z)},Ue=function(){document.addEventListener("mouseup",Ce),document.addEventListener("mousemove",Z)};O(),se(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=j=>{let ce=st.getDraggerButton();ce&&(ce.style.display=j?"block":"none"),ce=st.getCollapsedDraggerButton(),ce&&(ce.style.display=j?"block":"none")},z=j=>{pe(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,v=j.nodepath),"collapsed"in j&&t(0,w=j.collapsed),"splitViewSettings"in j&&t(1,C=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,P=j.disableBackdrop)},[w,C,P,B,G,ee,x,z,y,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:zS,catch:qS,value:1};return ia(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ia(t,n)||l_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function qS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function zS(i){let e,t=i[1]>0&&wc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(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){A(r,e,s),S(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ie(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&c(e,"aria-label",l)},d(r){r&&L(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),A(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&&L(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){A(r,e,s),S(e,t),S(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ie(l,n)},d(r){r&&L(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),A(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&&L(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}=ul;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-xlqjol"),c(l,"class","fd-nested-list__link svelte-xlqjol"),c(l,"title",h=i[32](i[12],i[24](i[12].label))),c(n,"class","fd-nested-list__item svelte-xlqjol"),c(t,"class","fd-nested-list svelte-xlqjol"),c(e,"class","lui-nav-title svelte-xlqjol")},m(b,v){A(b,e,v),S(e,t),S(t,n),S(n,l),_&&_.m(l,null),S(l,r),S(l,s),S(s,f),S(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)+"")&&Ie(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&&L(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),A(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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol"),c(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(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-xlqjol"),c(e,"role","presentation"),c(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){A(r,e,s),n||(l=ae(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&&L(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-xlqjol"),c(e,"class","lui-fd-side-nav-wrapper svelte-xlqjol")},m(f,g){A(f,e,g),S(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(ye(),h=r.length;h<s.length;h+=1)o(h);Pe()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(f[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-xlqjol"))&&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&&L(e),dt(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),A(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(ye(),q(s[h],1,1,()=>{s[h]=null}),Pe(),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&&L(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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(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-xlqjol"),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,w){A(v,e,w),h&&h.m(e,null),S(e,t),S(e,l),A(v,o,w);for(let C=0;C<p.length;C+=1)p[C].m(v,w);A(v,f,w),g=!0},p(v,w){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,w):(h=Rc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||w[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Ie(l,n),(!g||w[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&c(e,"title",r),(!g||w[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&c(e,"data-testid",s),w[0]&2088804544|w[1]&66){_=v[68];let C;for(C=0;C<_.length;C+=1){const y=Cc(v,_,C);p[C]?(p[C].p(y,w),M(p[C],1)):(p[C]=Fc(y),p[C].c(),M(p[C],1),p[C].m(f.parentNode,f))}for(ye(),C=_.length;C<p.length;C+=1)b(C);Pe()}},i(v){if(!g){for(let w=0;w<_.length;w+=1)M(p[w]);g=!0}},o(v){p=p.filter(Boolean);for(let w=0;w<p.length;w+=1)q(p[w]);g=!1},d(v){v&&L(e),h&&h.d(),v&&L(o),dt(p,v),v&&L(f)}}}function e2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",f,g,h,_,p,b,v,w,C,y,P,T,D,R,I,O,H,F,B,G,ee,x;function pe($,ge){return ge[0]&8192&&(l=null),l==null&&(l=!!$[28]($[68].metaInfo.icon)),l?o2:a2}let z=pe(i,[-1,-1,-1]),j=z(i);function ce(){return i[46](i[68])}function le(){return i[47](i[68])}function Z(...$){return i[48](i[68],...$)}let Ce=i[68],se=[];for(let $=0;$<Ce.length;$+=1)se[$]=qc(Pc(i,Ce,$));const Ue=$=>q(se[$],1,1,()=>{se[$]=null});let te=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&zc(i);function Ae(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),j.c(),r=K(),s=k("span"),f=Ne(o),v=K(),w=k("button"),C=k("i"),R=K(),I=k("ul");for(let $=0;$<se.length;$+=1)se[$].c();H=K(),te&&te.c(),F=K(),c(s,"class","fd-nested-list__title svelte-xlqjol"),c(n,"title",g=i[32](i[68],i[24](i[67]))),c(n,"class",h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-xlqjol"),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=Sn(i[68],i[9])),c(C,"class",y=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),c(C,"role","presentation"),c(w,"class","fd-button fd-nested-list__button svelte-xlqjol"),c(w,"href","#"),c(w,"tabindex","0"),c(w,"aria-label","Expand categories"),c(w,"aria-haspopup","true"),c(w,"aria-expanded",P=Sn(i[68],i[9])),c(w,"title",T=i[38](i[68],i[9])),c(t,"class","fd-nested-list__content has-child svelte-xlqjol"),c(t,"tabindex",D=i[6]?"0":"-1"),c(I,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-xlqjol"),c(I,"aria-hidden",O=!Sn(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])),vi(e,"lui-item-expanded",Sn(i[68],i[9]))},m($,ge){A($,e,ge),S(e,t),S(t,n),j.m(n,null),S(n,r),S(n,s),S(s,f),S(t,v),S(t,w),S(w,C),S(e,R),S(e,I);for(let oe=0;oe<se.length;oe+=1)se[oe].m(I,null);S(e,H),te&&te.m(e,null),S(e,F),G=!0,ee||(x=[ae(n,"click",Mt(ce)),ae(w,"click",Mt(le)),ae(t,"keypress",Z),ae(e,"click",Ut(Ae))],ee=!0)},p($,ge){if(i=$,z===(z=pe(i,ge))&&j?j.p(i,ge):(j.d(1),j=z(i),j&&(j.c(),j.m(n,r))),(!G||ge[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ie(f,o),(!G||ge[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&c(n,"title",g),(!G||ge[0]&8704&&h!==(h="fd-nested-list__link "+(Sn(i[68],i[9])?"is-expanded":"")+" svelte-xlqjol"))&&c(n,"class",h),(!G||ge[0]&64&&_!==(_=i[6]?"-1":"0"))&&c(n,"tabindex",_),(!G||ge[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&c(n,"role",p),(!G||ge[0]&8704&&b!==(b=Sn(i[68],i[9])))&&c(n,"aria-expanded",b),(!G||ge[0]&8704&&y!==(y=Sn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&c(C,"class",y),(!G||ge[0]&8704&&P!==(P=Sn(i[68],i[9])))&&c(w,"aria-expanded",P),(!G||ge[0]&8704&&T!==(T=i[38](i[68],i[9])))&&c(w,"title",T),(!G||ge[0]&64&&D!==(D=i[6]?"0":"-1"))&&c(t,"tabindex",D),ge[0]&1686151296|ge[1]&66){Ce=i[68];let oe;for(oe=0;oe<Ce.length;oe+=1){const Me=Pc(i,Ce,oe);se[oe]?(se[oe].p(Me,ge),M(se[oe],1)):(se[oe]=qc(Me),se[oe].c(),M(se[oe],1),se[oe].m(I,null))}for(ye(),oe=Ce.length;oe<se.length;oe+=1)Ue(oe);Pe()}(!G||ge[0]&8704&&O!==(O=!Sn(i[68],i[9])))&&c(I,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?te?(te.p(i,ge),ge[0]&8448&&M(te,1)):(te=zc(i),te.c(),M(te,1),te.m(e,F)):te&&(ye(),q(te,1,1,()=>{te=null}),Pe()),(!G||ge[0]&8192&&B!==(B=i[31](i[68].metaInfo,i[67])))&&c(e,"data-testid",B),(!G||ge[0]&8704)&&vi(e,"lui-item-expanded",Sn(i[68],i[9]))},i($){if(!G){for(let ge=0;ge<Ce.length;ge+=1)M(se[ge]);M(te),G=!0}},o($){se=se.filter(Boolean);for(let ge=0;ge<se.length;ge+=1)q(se[ge]);q(te),G=!1},d($){$&&L(e),j.d(),dt(se,$),te&&te.d(),ee=!1,Ze(x)}}}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),A(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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol"),c(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,w,C,y,P,T;function D(ee,x){return ee[71].icon?l2:i2}let R=D(i),I=R(i),O=i[71].statusBadge&&Vc(i),H=i[71].externalLink&&i[71].externalLink.url&&Mc(),F=i[71].badgeCounter&&Oc(i);function B(...ee){return i[54](i[71],...ee)}function G(...ee){return i[55](i[71],...ee)}return{c(){e=k("li"),t=k("a"),I.c(),n=K(),l=k("span"),s=Ne(r),o=K(),O&&O.c(),g=K(),H&&H.c(),h=K(),F&&F.c(),w=K(),c(l,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"),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-xlqjol"),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",C=i[32](i[71],i[26](i[71]))),c(e,"aria-labelledby","category_list_level1_"+i[70])},m(ee,x){A(ee,e,x),S(e,t),I.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),O&&O.m(l,null),S(t,g),H&&H.m(t,null),S(t,h),F&&F.m(t,null),S(e,w),y=!0,P||(T=[ae(t,"click",B),ae(t,"keyup",function(){Ml(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],P=!0)},p(ee,x){i=ee,R===(R=D(i))&&I?I.p(i,x):(I.d(1),I=R(i),I&&(I.c(),I.m(t,n))),(!y||x[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r),i[71].statusBadge?O?(O.p(i,x),x[0]&8192&&M(O,1)):(O=Vc(i),O.c(),M(O,1),O.m(l,null)):O&&(ye(),q(O,1,1,()=>{O=null}),Pe()),(!y||x[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"))&&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,x),x[0]&8192&&M(F,1)):(F=Oc(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),q(F,1,1,()=>{F=null}),Pe()),(!y||x[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!y||x[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"))&&c(t,"class",p),(!y||x[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!y||x[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!y||x[0]&8192&&C!==(C=i[32](i[71],i[26](i[71]))))&&c(e,"title",C)},i(ee){y||(M(O),M(F),y=!0)},o(ee){q(O),q(F),y=!1},d(ee){ee&&L(e),I.d(),O&&O.d(),H&&H.d(),F&&F.d(),P=!1,Ze(T)}}}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){A(o,e,f),A(o,n,f),A(o,l,f),S(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":"")&&Ie(s,r)},d(o){o&&L(e),o&&L(n),o&&L(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),A(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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(e)}}}function Vc(i){let e,t;return e=new Ui({props:{node:i[71]}}),{c(){ze(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){qe(e,n)}}}function Mc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Oc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){ze(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){qe(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),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol"),c(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Bc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,w,C,y,P,T;o=new Ui({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Hc(),R=i[71].badgeCounter&&Wc(i);function I(...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(),ze(o.$$.fragment),g=K(),D&&D.c(),h=K(),R&&R.c(),C=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"),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",w=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){A(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(t,g),D&&D.m(t,null),S(t,h),R&&R.m(t,null),S(e,C),y=!0,P||(T=[ae(t,"click",I),ae(t,"keyup",function(){Ml(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?D||(D=Hc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=Wc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),q(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"))&&c(t,"class",p),(!y||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!y||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!y||F[0]&8192&&w!==(w=i[32](i[71],i[26](i[71]))))&&c(t,"title",w)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){q(o.$$.fragment,H),q(R),y=!1},d(H){H&&L(e),qe(o),D&&D.d(),R&&R.d(),P=!1,Ze(T)}}}function Hc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Wc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){ze(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){qe(e,n)}}}function qc(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),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(e)}}}function zc(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-xlqjol"),c(o,"class","fd-nested-list fd-nested-list--text-only svelte-xlqjol"),c(t,"class","lui-flyout-sublist__wrapper svelte-xlqjol"),c(e,"class","lui-flyout-sublist svelte-xlqjol")},m(p,b){A(p,e,b),S(e,t),S(t,n),S(n,r),S(t,s),S(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])+"")&&Ie(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const w=yc(p,g,v);h[v]?(h[v].p(w,b),M(h[v],1)):(h[v]=Yc(w),h[v].c(),M(h[v],1),h[v].m(o,null))}for(ye(),v=g.length;v<h.length;v+=1)_(v);Pe()}},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&&L(e),dt(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,w,C,y,P,T;o=new Ui({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&jc(),R=i[71].badgeCounter&&Jc(i);function I(...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(),ze(o.$$.fragment),g=K(),D&&D.c(),h=K(),R&&R.c(),C=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"),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",w=i[32](i[71],i[26](i[71]))),c(e,"class","fd-nested-list__item")},m(H,F){A(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(t,g),D&&D.m(t,null),S(t,h),R&&R.m(t,null),S(e,C),y=!0,P||(T=[ae(t,"click",I),ae(t,"keyup",function(){Ml(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?D||(D=jc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=Jc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),q(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"))&&c(t,"class",p),(!y||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!y||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!y||F[0]&8192&&w!==(w=i[32](i[71],i[26](i[71]))))&&c(t,"title",w)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){q(o.$$.fragment,H),q(R),y=!1},d(H){H&&L(e),qe(o),D&&D.d(),R&&R.d(),P=!1,Ze(T)}}}function jc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Jc(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){ze(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){qe(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),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Zc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,w,C,y,P,T,D;function R(ee,x){return ee[71].icon?f2:u2}let I=R(i),O=I(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(...ee){return i[44](i[71],...ee)}function G(...ee){return i[45](i[71],...ee)}return{c(){e=k("li"),t=k("a"),O.c(),n=K(),l=k("span"),s=Ne(r),o=K(),ze(f.$$.fragment),h=K(),H&&H.c(),_=K(),F&&F.c(),y=K(),c(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"),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-xlqjol"),c(t,"tabindex","0"),c(t,"role",w=i[23]?void 0:"button"),c(t,"data-testid",C=i[29](i[71])),c(e,"class","fd-nested-list__item")},m(ee,x){A(ee,e,x),S(e,t),O.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),We(f,l,null),S(t,h),H&&H.m(t,null),S(t,_),F&&F.m(t,null),S(e,y),P=!0,T||(D=[ae(t,"click",B),ae(t,"keyup",function(){Ml(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],T=!0)},p(ee,x){i=ee,I===(I=R(i))&&O?O.p(i,x):(O.d(1),O=I(i),O&&(O.c(),O.m(t,n))),(!P||x[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r);const pe={};x[0]&8192&&(pe.node=i[71]),f.$set(pe),(!P||x[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"))&&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,x),x[0]&8192&&M(F,1)):(F=$c(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),q(F,1,1,()=>{F=null}),Pe()),(!P||x[0]&8192&&p!==(p=i[30](i[71])))&&c(t,"href",p),(!P||x[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&c(t,"title",b),(!P||x[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"))&&c(t,"class",v),(!P||x[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&c(t,"role",w),(!P||x[0]&8192&&C!==(C=i[29](i[71])))&&c(t,"data-testid",C)},i(ee){P||(M(f.$$.fragment,ee),M(F),P=!0)},o(ee){q(f.$$.fragment,ee),q(F),P=!1},d(ee){ee&&L(e),O.d(),qe(f),H&&H.d(),F&&F.d(),T=!1,Ze(D)}}}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){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&c(e,"class",t)},d(n){n&&L(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),A(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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol"),c(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(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){A(t,e,n)},d(t){t&&L(e)}}}function $c(i){let e,t;return e=new ti({props:{node:i[71]}}),{c(){ze(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){qe(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),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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,_),A(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&f[n].p(h,_):(l&&(ye(),q(f[p],1,1,()=>{f[p]=null}),Pe()),~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&&L(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-xlqjol"),c(n,"data-testid","lui-side-nav__footer--text"),c(t,"class","lui-side-nav__footer svelte-xlqjol"),c(t,"data-testid","lui-side-nav__footer"),c(e,"class","fd-side-nav__utility svelte-xlqjol")},m(f,g){A(f,e,g),S(e,t),S(t,n),S(n,r),S(t,s),o&&o.m(t,null)},p(f,g){g[0]&4&&l!==(l=(f[2]?f[2]:"")+"")&&Ie(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&&L(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),A(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&&L(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-xlqjol"),c(e,"data-testid","semiCollapsibleButton"),c(e,"title",i[11]),c(e,"tabindex","0")},m(r,s){A(r,e,s),n||(l=[ae(e,"click",i[57]),ae(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-xlqjol")&&c(e,"class",t),s[0]&2048&&c(e,"title",r[11])},d(r){r&&L(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-xlqjol"),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-xlqjol")},m(s,o){A(s,e,o),S(e,t),l||(r=ae(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-xlqjol")&&c(t,"class",n),o[0]&2048&&c(e,"title",s[11])},d(s){s&&L(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-xlqjol"),c(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-xlqjol"),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-xlqjol")},m(v,w){A(v,e,w),_&&_.m(e,null),S(e,t),S(e,n),S(n,l),p&&p.m(l,null),S(n,r),b&&b.m(n,null),f=!0,g||(h=[ae(xs,"resize",i[17]),ae(xs,"click",i[21]),ae(xs,"blur",i[21]),ae(xs,"keydown",i[33]),ae(n,"keyup",i[18])],g=!0)},p(v,w){v[12]?_?_.p(v,w):(_=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,w),w[0]&33&&M(p,1)):(p=Ac(v),p.c(),M(p,1),p.m(l,null)):p&&(ye(),q(p,1,1,()=>{p=null}),Pe()),v[2]||v[3]?b?b.p(v,w):(b=td(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!f||w[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-xlqjol"))&&c(n,"class",s),(!f||w[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-xlqjol"))&&c(e,"class",o)},i(v){f||(M(p),f=!0)},o(v){q(p),f=!1},d(v){v&&L(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,Ze(h)}}}function Sn(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:w,selectedNode:C,sideNavAccordionMode:D,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:T,navParentNode:O}),set:async ne=>{ne&&(Object.getOwnPropertyNames(ne).forEach(async Le=>{if(Le==="pathData")t(5,p=ne.pathData);else if(Le==="context")H=ne.context;else if(Le==="children")t(0,s=ne.children);else if(Le==="selectedNode")t(7,C=ne.selectedNode);else if(Le==="hasCategoriesWithIcon")t(10,T=ne.hasCategoriesWithIcon);else if(Le==="navParent"){t(12,I=void 0);let at=ne.navParent;if(t(41,O=at),at&&at.navHeader&&ie.requestExperimentalFeature("navHeader",!0)){let Nt=at.navHeader,yt=at;if(Nt==="inherit"){for(yt=at.parent;yt&&yt.navHeader==="inherit";)yt=yt.parent;Nt=yt?yt.navHeader:void 0}if(Nt instanceof Function){t(12,I={});let ln=Nt(Se.stripNode(at),Se.stripNode(yt),H);ln instanceof Promise?ln.then(Dn=>{t(12,I=Dn)}):t(12,I=ln)}else if(Nt==="auto")t(12,I={label:at.label,icon:at.icon});else if(Nt&&Nt.useTitleResolver&&yt.titleResolver){yt.titleResolver.prerenderFallback?t(12,I={...Nt,label:yt.titleResolver.fallbackTitle||"",icon:yt.titleResolver.fallbackIcon}):t(12,I=Nt);const ln=me.mapPathToNode(et.getCurrentPath(),yt);Vt.extractDataFromPath(ln).then(Dn=>{const Gn=me.substituteDynamicParamsInObject(Object.assign({},Dn.pathData.context,yt.context),Dn.pathData.pathParams);Se.fetchNodeTitleData(yt,Gn).then(ni=>{t(12,I={...Nt,...ni})}).catch(ni=>{console.error("Error while retrieving title, fallback to node label"),t(12,I={...Nt,label:at.label,icon:at.icon})})})}else t(12,I=await Ue(Nt,yt))}}}),t(40,D=Se.getSideNavAccordionMode(C)))}},r=Wt();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:w}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:D}=e,{burgerTooltip:R}=e,{navHeader:I}=e,{navParentNode:O}=e,H,F,B,G=ht("store"),ee=ht("getTranslation");Ci(i,ee,ne=>t(24,n=ne));let x=!1;const pe=ne=>Se.getNodeLabel(ne),z=async()=>{const ne=l.get(),Le=await Vt.getLeftNavData({...ne},ne);!Le||(l.set(Le),F=p,window.LEFTNAVDATA=Le.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,x=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),an.doOnStoreChange(G,()=>{t(2,f=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),an.doOnStoreChange(G,()=>{z()},["navigation.viewgroupdata"]);let ne=bi.initial();t(6,w=ne.isSemiCollapsed),t(39,g=ne.semiCollapsible),bi.onValueChanged(Le=>{t(6,w=Le.isSemiCollapsed)}),Rn.addEventListener("message",Le=>{Le.data.msg==="luigi.navigation.update-badge-counters"&&z()})}),qn(()=>{(!F||F!=p)&&z(),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:j}=e;function ce(ne){return Se.renderIconClassName(ne)}function le(ne){return Se.isOpenUIiconName(ne)}function Z(ne){return ne.testId?ne.testId:Se.prepareForTests(ne.pathSegment,ne.label)}function Ce(ne){return me.getNodeHref(ne,b)}function se(ne,Le){return ne&&ne.testId?ne.testId:Se.prepareForTests(Le||ne.label)}async function Ue(ne,Le){const at=me.mapPathToNode(et.getCurrentPath(),Le),yt=(await Vt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(ne,yt)}function te(ne,Le){return Se.generateTooltipText(ne,Le)}function Ae(ne){r("handleClick",{node:ne})}function $(ne,Le){if(bi.getCollapsed()){let at,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(ne.metaInfo&&ne.metaInfo.label?at=ne.metaInfo.label:at=ne.category&&ne.category.label||ne.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),at===y){t(8,y=bi.closePopupMenu(y));return}t(8,y=at),ge(Le)}}function ge(ne){const Le=ne.closest(".fd-nested-list__item"),at=Le.offsetTop,Nt=fi.getShellbar().offsetHeight;let yt;fi.isCustomLuigiContainer()?yt=fi.getCustomLuigiContainer().clientHeight:yt=window.innerHeight,setTimeout(()=>{const ln=Le.getElementsByClassName("lui-flyout-sublist")[0],Dn=ne.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=at+Nt-Dn,ni=yt-at-Le.offsetHeight+Dn-Nt;Gn+ln.offsetHeight>=yt?(ln.style.bottom=ni+"px",ln.className+=" has-bottom-position"):ln.style.top=Gn-Nt+"px"})}function oe(){if(g){let ne=bi.onResize(y);t(6,w=ne.isSemiCollapsed),t(8,y=ne.selectedCategory)}}function Me(ne){if(ne.code==="ArrowRight"){const at=Te.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(ne){let Le=O?O.parent:void 0;for(;Le;){if(Le.pathSegment&&Le.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Le});return}Le=Le.parent}console.warn('Could not resolve "up"-node, redirecting to root'),g_.navigate("/")}function be(ne,Le){bi.getCollapsed()||t(9,P=Se.storeExpandedState(ne.metaInfo.categoryUid,Le,D))}function Ge(){t(8,y=bi.closePopupMenu(y))}function kt(ne){ne&&ne.code==="Escape"&&Ge()}function qt(){t(6,w=bi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),on()}function Ct(ne){const Le=ne.code;(Le==="Enter"||Le==="Space")&&qt()}function Yt(ne,Le){(ne.code==="Enter"||ne==="Space")&&$(Le,ne.currentTarget)}function _n(ne,Le){ne.keyCode===ki&&Se.handleNavAnchorClickedWithoutMetaKey(ne)&&Ae(Le)}function on(){if(!Se.getBurgerTooltipConfig())return;const[ne,Le]=Se.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");ne&&Le&&at&&t(11,R=document.body.classList.contains("semiCollapsed")?ne:Le)}function pn(ne,Le){return Sn(ne,Le)?ne.metaInfo.titleCollapseButton?n(ne.metaInfo.titleCollapseButton):void 0:ne.metaInfo.titleExpandButton?n(ne.metaInfo.titleExpandButton):void 0}const Bi=(ne,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Ae(ne)},mn=(ne,Le)=>_n(Le,ne),Qt=ne=>be(ne,!Sn(ne,P)),En=ne=>be(ne,!Sn(ne,P)),Et=(ne,Le)=>Yt(Le,ne),fl=(ne,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Ae(ne)},xt=(ne,Le)=>_n(Le,ne),un=(ne,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Ae(ne)},zn=(ne,Le)=>_n(Le,ne),Gt=ne=>$(ne,event.currentTarget),kn=(ne,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Ae(ne)},ci=(ne,Le)=>_n(Le,ne),di=ne=>qt(),fn=ne=>qt(),yi=ne=>Ct(ne);return i.$$set=ne=>{"children"in ne&&t(0,s=ne.children),"hideNavComponent"in ne&&t(1,o=ne.hideNavComponent),"footerText"in ne&&t(2,f=ne.footerText),"semiCollapsible"in ne&&t(39,g=ne.semiCollapsible),"semiCollapsibleButton"in ne&&t(3,h=ne.semiCollapsibleButton),"semiCollapsibleButtonStyle"in ne&&t(4,_=ne.semiCollapsibleButtonStyle),"pathData"in ne&&t(5,p=ne.pathData),"pathParams"in ne&&t(42,b=ne.pathParams),"virtualGroupPrefix"in ne&&t(14,v=ne.virtualGroupPrefix),"isSemiCollapsed"in ne&&t(6,w=ne.isSemiCollapsed),"selectedNode"in ne&&t(7,C=ne.selectedNode),"selectedCategory"in ne&&t(8,y=ne.selectedCategory),"expandedCategories"in ne&&t(9,P=ne.expandedCategories),"hasCategoriesWithIcon"in ne&&t(10,T=ne.hasCategoriesWithIcon),"sideNavAccordionMode"in ne&&t(40,D=ne.sideNavAccordionMode),"burgerTooltip"in ne&&t(11,R=ne.burgerTooltip),"navHeader"in ne&&t(12,I=ne.navHeader),"navParentNode"in ne&&t(41,O=ne.navParentNode),"sortedChildrenEntries"in ne&&t(13,j=ne.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ne=Object.entries(s);ne.sort((Le,at)=>Le[1].metaInfo.order-at[1].metaInfo.order),t(13,j=ne)}},[s,o,f,h,_,p,w,C,y,P,T,R,I,j,v,Ae,$,oe,Me,He,be,Ge,B,x,n,ee,pe,ce,le,Z,Ce,se,te,kt,qt,Ct,Yt,_n,pn,g,D,O,b,ge,Bi,mn,Qt,En,Et,fl,xt,un,zn,Gt,kn,ci,di,fn,yi]}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=>{an.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||""})),b_(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),b_=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 ie.trimTrailingSlash(ie.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=$r.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){A(s,e,o),r&&r.m(e,null),n||(l=ae(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&&L(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){A(s,e,o),r&&r.m(e,null),n||(l=ae(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&&L(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){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&L(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){A(t,e,n),i[26](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&L(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),A(o,e,f),s&&s.m(o,f),A(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&&L(e),s&&s.d(o),o&&L(t)}}}function C2(i){let e,t,n,l,r,s,o,f,g,h;function _(C,y){return C[12]?N2:P2}let p=_(i),b=p(i),v=i[4]&&i[5]&&hd(i),w=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(),w&&w.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(C,y){A(C,e,y),S(e,t),b.m(t,null),S(e,n),S(e,l),S(l,r),S(r,s),v&&v.m(s,null),S(s,o),w&&w.m(s,null),i[36](s),g||(h=ae(t,"click",Ut(E2)),g=!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]?v?v.p(C,y):(v=hd(C),v.c(),v.m(s,o)):v&&(v.d(1),v=null),C[7]&&C[7].length>0?w?w.p(C,y):(w=gd(C),w.c(),w.m(s,null)):w&&(w.d(1),w=null),y[0]&2048&&f!==(f=!C[11].appSwitcherPopover)&&c(l,"aria-hidden",f)},d(C){C&&L(e),b.d(),v&&v.d(),w&&w.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),A(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&&L(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,_){A(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),f||(g=ae(e,"click",Ut(i[34])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&L(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),A(o,e,f),r&&r.m(o,f),A(o,t,f),s&&s.m(o,f),A(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&&L(e),r&&r.d(o),o&&L(t),s&&s.d(o),o&&L(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){A(s,e,o),S(e,t),S(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ie(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&c(e,"href",r)},d(s){s&&L(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);A(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){dt(n,l),l&&L(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){A(p,e,b),S(e,t),S(t,l),S(e,r),S(e,s),S(e,o),h||(_=ae(e,"click",Mt(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Ie(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&&L(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),A(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&&L(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,_){A(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),f||(g=ae(e,"click",Mt(i[33])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&L(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){A(g,e,h),S(e,t),S(t,n),S(n,r),o||(f=ae(t,"click",Mt(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ie(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&c(t,"data-testid",s)},d(g){g&&L(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);A(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){dt(n,l),l&&L(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(e,f),g||(h=ae(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ie(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&&L(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),A(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&&L(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){A(r,e,s),t.m(n,e),S(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&L(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=!!ie.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),A(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&&L(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){A(o,e,f),S(e,t),S(t,l),r||(s=ae(e,"click",i[31]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&L(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){A(o,e,f),S(e,t),S(t,l),r||(s=ae(e,"click",i[30]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&L(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){A(l,e,r),S(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ie(n,t)},d(l){l&&L(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),A(o,e,f),s&&s.m(o,f),A(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&&L(e),s&&s.d(o),o&&L(t)}}}const E2=()=>{};function D2(i,e,t){let n;const l=Wt();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:w}=e,{subTitle:C}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:T}=e,D,R,I=ht("getUnsavedChangesModalPromise"),O=ht("getTranslation");Ci(i,O,be=>t(17,n=be));let H=ht("store");const F={closeDropDown:()=>{z("appSwitcherPopover")}},B=()=>({get:()=>({pathData:P,pathParams:w,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:C,defaultSubTitle:y,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,w=be.pathParams):Ge==="selectedItem"?t(5,_=be.selectedItem):Ge==="title"?t(2,o=be.title):Ge==="defaultSubTitle"?t(23,y=be.defaultSubTitle):Ge==="subTitle"?t(10,C=be.subTitle):Ge==="defaultTitle"?t(6,p=be.defaultTitle):Ge==="subTitle"?t(10,C=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())}),qn(()=>{(!R||R!=P)&&(b_(B()),R=P)});function G(be,Ge,kt){return setTimeout(()=>{Ge&&v(be,Ge.children[kt],F)}),""}function ee(be){I().then(()=>{et.navigateTo(me.applyPathParams(be,w))},()=>{})}function x(){I().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),z("appSwitcherPopover")}function z(be){l("toggleDropdownState",{name:be})}function j(be){return be.testId?be.testId:Se.prepareForTests(be.title||be)}function ce(be,Ge){if(be.link){const kt=me.applyPathParams(be.link,Ge);if(kt.indexOf(":")!==0&&kt.indexOf("/:")===-1)return!0}return!1}function le(be){return me.getNodeHref(be)}function Z(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ce=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&ee("/")};function se(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>ee("/"),te=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&ee("/")},Ae=()=>ee("/"),$=()=>z("appSwitcherPopover"),ge=()=>z("appSwitcherPopover"),oe=()=>z("appSwitcherPopover"),Me=(be,Ge)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ge)&&ee(be.link)};function He(be){$e[be?"unshift":"push"](()=>{D=be,t(16,D)})}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,w=be.pathParams),"subTitle"in be&&t(10,C=be.subTitle),"defaultSubTitle"in be&&t(23,y=be.defaultSubTitle),"pathData"in be&&t(24,P=be.pathData),"addNavHrefForAnchor"in be&&t(12,T=be.addNavHrefForAnchor)},[r,s,o,f,h,_,p,b,v,w,C,g,T,ee,x,z,D,n,O,G,j,ce,le,y,P,pe,Z,Ce,se,Ue,te,Ae,$,ge,oe,Me,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){A(g,e,h),o&&o.m(e,null),A(g,t,h),A(g,n,h),S(n,l),S(l,r),S(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&&L(e),o&&o.d(),g&&L(t),g&&L(n),f&&f.d()}}}function wd(i){let e,t,n,l,r,s,o;function f(C,y){return C[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 C=0;C<b.length;C+=1)v[C]=yd(bd(i,b,C));let w=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 C=0;C<v.length;C+=1)v[C].c();o=K(),w&&w.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(C,y){A(C,e,y),h.m(e,null),A(C,t,y),A(C,n,y),_&&_.m(n,null),S(n,l),p&&p.m(n,null),A(C,r,y),A(C,s,y);for(let P=0;P<v.length;P+=1)v[P].m(s,null);S(s,o),w&&w.m(s,null)},p(C,y){if(g===(g=f(C))&&h?h.p(C,y):(h.d(1),h=g(C),h&&(h.c(),h.m(e,null))),C[7].name?_?_.p(C,y):(_=Sd(C),_.c(),_.m(n,l)):_&&(_.d(1),_=null),C[7].description?p?p.p(C,y):(p=kd(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const T=bd(C,b,P);v[P]?v[P].p(T,y):(v[P]=yd(T),v[P].c(),v[P].m(s,o))}for(;P<v.length;P+=1)v[P].d(1);v.length=b.length}C[12]?w?w.p(C,y):(w=Pd(C),w.c(),w.m(s,null)):w&&(w.d(1),w=null)},d(C){C&&L(e),h.d(),C&&L(t),C&&L(n),_&&_.d(),p&&p.d(),C&&L(r),C&&L(s),dt(v,C),w&&w.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){A(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ie(n,t)},d(l){l&&L(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"),ui(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&ui(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(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){A(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ie(n,t)},d(l){l&&L(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){A(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ie(n,t)},d(l){l&&L(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),A(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&&L(t)}}}function F2(i){let e,t;return{c(){e=k("img"),c(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),ui(e,"background-image","url('"+i[7].icon+"')"),c(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&ui(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&&L(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){A(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&&L(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){A(b,e,v),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(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)+"")&&Ie(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&&L(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,_){A(h,e,_),S(e,t),g&&g.m(t,null),S(t,n),S(t,l),S(l,s),o||(f=[ae(e,"click",Mt(i[5])),ae(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)+"")&&Ie(s,r)},d(h){h&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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),A(r,e,s),l&&l.m(r,s),A(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&&L(e),l&&l.d(r),r&&L(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){A(f,e,g),S(e,t),S(t,l),s||(o=ae(t,"click",i[4]),s=!0)},p(f,g){g[0]&8704&&n!==(n=f[13](f[9].logout.label)+"")&&Ie(l,n),g[0]&512&&r!==(r=f[18](f[9].logout))&&c(e,"data-testid",r)},d(f){f&&L(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){A(s,e,o),A(s,t,o),A(s,n,o),l||(r=[ae(e,"click",i[15]),ae(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&L(e),s&&L(t),s&&L(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),A(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&&L(e)}}}function q2(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,w=ht("store"),C=ht("getTranslation");Ci(i,C,Z=>t(13,n=Z));let y=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{wi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Z=>{t(8,f=Z)}),nn.getUserInfoStore().subscribe(Z=>{t(7,o=Z),l("userInfoUpdated",o)})});function T(){nn.startAuthorization()}function D(Z){return Se.renderIconClassName(Z)}function R(Z){return Se.isOpenUIiconName(Z.icon)}function I(Z){return Z.testId?Z.testId:Se.prepareForTests(Z.label)}function O(Z){return me.getNodeHref(Z)}function H(){b||(an.doOnStoreChange(w,async()=>{const Z=await re.getConfigValueAsync("navigation.profile.logout"),Ce=await re.getConfigValueAsync("userSettings"),se=Ce||await re.getConfigValueAsync("settings.userSettings"),Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(se)){const te=se.userSettingsProfileMenuEntry;Ue.settings={...al.userSettingsProfileMenuEntry,...te}}Ue.logout={...al.logout,...Z},t(11,_=Boolean(Z)),v=!1,nn.setProfileLogoutFn(null),Z&&ie.isFunction(Z.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Z.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(se))},["navigation.profile"]),b=!0)}async function F(){const Z=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Z&&(nn.setUserInfo(o),t(7,o=Z),l("userInfoUpdated",o))}function B(Z){y().then(()=>{if(Z.openNodeInModal){const Ce=me.buildRoute(Z,`${Z.link}`);P(Ce,Z.openNodeInModal===!0?{}:Z.openNodeInModal)}else et.navigateToLink(Z)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?x():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){$r.openUserSettings(),l("toggleDropdownState")}function x(){nn.logout()}function pe({keyCode:Z}){(Z===ki||Z===Zr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:z}=e;const j=Z=>{Se.handleNavAnchorClickedWithoutMetaKey(Z)},ce=Z=>B(Z),le=Z=>pe(Z);return i.$$set=Z=>{"isHidden"in Z&&t(1,r=Z.isHidden),"addNavHrefForAnchor"in Z&&t(2,s=Z.addNavHrefForAnchor),"showUserInfo"in Z&&t(0,z=Z.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,z=Boolean(o&&(o.name||o.email)))},[z,r,s,B,G,ee,pe,o,f,g,h,_,p,n,C,T,D,R,I,O,H,F,x,j,ce,le]}class z2 extends Rt{constructor(e){super(),At(this,e,q2,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){A(_,e,p),S(e,t),s&&s.m(t,null),S(t,n);for(let b=0;b<f.length;b+=1)f[b].m(t,null);S(t,l),g&&g.m(t,null),S(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(_){_&&L(e),s&&s.d(),dt(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){A(r,e,s),S(e,t),S(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ie(l,n)},d(r){r&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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){A(b,e,v),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(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)+"")&&Ie(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&&L(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){A(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),f||(g=[ae(e,"click",Mt(i[5])),ae(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)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&c(e,"data-testid",o)},d(_){_&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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),A(r,e,s),l&&l.m(r,s),A(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&&L(e),l&&l.d(r),r&&L(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){A(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),f||(g=ae(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)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&c(e,"data-testid",o)},d(_){_&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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){A(l,e,r),t||(n=ae(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&L(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),A(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&&L(e)}}}function X2(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,w=ht("store"),C=ht("getTranslation");Ci(i,C,Z=>t(13,n=Z));let y=ht("getUnsavedChangesModalPromise"),P=ht("openViewInModal");Jt(async()=>{wi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Z=>{t(8,f=Z)}),nn.getUserInfoStore().subscribe(Z=>{t(7,o=Z),l("userInfoUpdated",o)})});function T(){nn.startAuthorization()}function D(Z){return Se.renderIconClassName(Z)}function R(Z){return Se.isOpenUIiconName(Z.icon)}function I(Z){return Z.testId?Z.testId:Se.prepareForTests(Z.label)}function O(Z){return me.getNodeHref(Z)}function H(){b||(an.doOnStoreChange(w,async()=>{const Z=await re.getConfigValueAsync("navigation.profile.logout"),Ce=await re.getConfigValueAsync("userSettings"),se=Ce||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(se));const Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const te=se.userSettingsProfileMenuEntry;Ue.settings={...al.userSettingsProfileMenuEntry,...te}}Ue.logout={...al.logout,...Z},t(11,_=Boolean(Z)),v=!1,nn.setProfileLogoutFn(null),Z&&ie.isFunction(Z.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Z.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const Z=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Z&&(nn.setUserInfo(o),t(7,o=Z),l("userInfoUpdated",o))}function B(Z){y().then(()=>{if(Z.openNodeInModal){const Ce=me.buildRoute(Z,`${Z.link}`);P(Ce,Z.openNodeInModal===!0?{}:Z.openNodeInModal)}else et.navigateToLink(Z)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?x():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){$r.openUserSettings(),l("toggleDropdownState")}function x(){nn.logout()}function pe({keyCode:Z}){(Z===ki||Z===Zr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:z}=e;const j=Z=>{Se.handleNavAnchorClickedWithoutMetaKey(Z)},ce=Z=>B(Z),le=Z=>pe(Z);return i.$$set=Z=>{"isHidden"in Z&&t(1,r=Z.isHidden),"addNavHrefForAnchor"in Z&&t(2,s=Z.addNavHrefForAnchor),"showUserInfo"in Z&&t(0,z=Z.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,z=Boolean(o&&(o.name||o.email)))},[z,r,s,B,G,ee,pe,o,f,g,h,_,p,n,C,T,D,R,I,O,H,F,x,j,ce,le]}class v_ 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 qd(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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(e)}}}function zd(i){let e,t,n,l,r,s,o,f,g=i[4](i[12])+"",h,_,p=i[5](i[12]),b,v,w,C,y,P;function T(H,F){return F&10&&(n=null),n==null&&(n=!!H[3](H[12])),n?x2:$2}let D=T(i,-1),R=D(i);r=new ti({props:{node:i[12]}});let I=p&&Gd(i);function O(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),R.c(),l=K(),ze(r.$$.fragment),s=K(),o=k("div"),f=k("div"),h=Ne(g),_=K(),I&&I.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",w=i[2](i[12]))},m(H,F){A(H,e,F),S(e,t),R.m(t,null),S(t,l),We(r,t,null),S(e,s),S(e,o),S(o,f),S(f,h),S(o,_),I&&I.m(o,null),S(e,b),C=!0,y||(P=ae(e,"click",O),y=!0)},p(H,F){i=H,D===(D=T(i,F))&&R?R.p(i,F):(R.d(1),R=D(i),R&&(R.c(),R.m(t,l)));const B={};F&2&&(B.node=i[12]),r.$set(B),(!C||F&18)&&g!==(g=i[4](i[12])+"")&&Ie(h,g),F&34&&(p=i[5](i[12])),p?I?I.p(i,F):(I=Gd(i),I.c(),I.m(o,null)):I&&(I.d(1),I=null),(!C||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),(!C||F&6&&w!==(w=i[2](i[12])))&&c(e,"data-testid",w)},i(H){C||(M(r.$$.fragment,H),C=!0)},o(H){q(r.$$.fragment,H),C=!1},d(H){H&&L(e),R.d(),qe(r),I&&I.d(),y=!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){A(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&&L(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){A(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&&L(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){A(l,e,r),S(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ie(n,t)},d(l){l&&L(e)}}}function Kd(i){let e,t,n=i[12].label&&zd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=zd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ek(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y,P,T,D=i[1]&&qd(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"),D&&D.c(),p=K(),b=k("footer"),v=k("div"),w=k("div"),C=k("button"),C.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(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(C,"data-testid","mobile-topnav-close"),c(w,"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(R,I){A(R,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(t,f),S(t,g),S(g,h),S(h,_),D&&D.m(_,null),S(t,p),S(t,b),S(b,v),S(v,w),S(w,C),y=!0,P||(T=[ae(C,"click",i[9]),ae(e,"click",Ut(tk))],P=!0)},p(R,[I]){(!y||I&1)&&Ie(o,R[0]),R[1]?D?(D.p(R,I),I&2&&M(D,1)):(D=qd(R),D.c(),M(D,1),D.m(_,null)):D&&(ye(),q(D,1,1,()=>{D=null}),Pe())},i(R){y||(M(D),y=!0)},o(R){q(D),y=!1},d(R){R&&L(e),D&&D.d(),P=!1,Ze(T)}}}const tk=()=>{};function nk(i,e,t){const n=Wt();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:f}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(w){return Se.renderIconClassName(w)}function p(w){n("listClick",w)}function b(w){Rl.call(this,i,w)}const v=w=>p(w);return i.$$set=w=>{"label"in w&&t(0,l=w.label),"nodes"in w&&t(1,r=w.nodes),"getTestId"in w&&t(2,s=w.getTestId),"hasOpenUIicon"in w&&t(3,o=w.hasOpenUIicon),"getNodeLabel"in w&&t(4,f=w.getNodeLabel),"getNodeSubtitle"in w&&t(5,g=w.getNodeSubtitle),"noSubTitle"in w&&t(6,h=w.noSubTitle)},[l,r,s,o,f,g,h,p,_,b,v]}class w_ 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}=ul;function jd(i,e,t){const n=i.slice();return n[7]=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){A(r,e,s),S(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&&(ye(),q(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){r&&L(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);A(s,e,o),t=!0},p(s,o){if(o&15885){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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(e)}}}function Qd(i){let e,t,n,l,r,s,o,f,g=i[11](i[7])+"",h,_,p,b,v,w,C;function y(R,I){return I&1&&(l=null),l==null&&(l=!!(R[7].icon&&R[9](R[7]))),l?rk:lk}let P=y(i,-1),T=P(i);s=new ti({props:{node:i[7]}});function D(){return i[15](i[7])}return{c(){e=k("li"),t=k("a"),n=k("span"),T.c(),r=K(),ze(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[2]?i[13](i[7]):void 0),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",b=i[12](i[7]))},m(R,I){A(R,e,I),S(e,t),S(t,n),T.m(n,null),S(n,r),We(s,n,null),S(t,o),S(t,f),S(f,h),S(e,p),v=!0,w||(C=[ae(t,"click",i[14]),ae(e,"click",D)],w=!0)},p(R,I){i=R,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const O={};I&1&&(O.node=i[7]),s.$set(O),(!v||I&1)&&g!==(g=i[11](i[7])+"")&&Ie(h,g),(!v||I&5&&_!==(_=i[2]?i[13](i[7]):void 0))&&c(t,"href",_),(!v||I&1&&b!==(b=i[12](i[7])))&&c(e,"data-testid",b)},i(R){v||(M(s.$$.fragment,R),v=!0)},o(R){q(s.$$.fragment,R),v=!1},d(R){R&&L(e),T.d(),qe(s),w=!1,Ze(C)}}}function lk(i){let e,t,n;return{c(){e=k("img"),c(e,"class","sap-icon svelte-1gqx0dl"),lt(e.src,t=i[7].icon)||c(e,"src",t),c(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[7].icon)&&c(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&c(e,"alt",n)},d(l){l&&L(e)}}}function rk(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&c(e,"class",t)},d(n){n&&L(e)}}}function Zd(i){let e,t,n=i[7].label&&Qd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Xd(i){let e,t;return e=new w_({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){ze(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(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),A(f,e,g),o&&o.m(f,g),A(f,t,g),n=!0,l||(r=ae(ik,"resize",aa),l=!0)},p(f,[g]){f[1]?s&&(ye(),q(s,1,1,()=>{s=null}),Pe()):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&&(ye(),q(o,1,1,()=>{o=null}),Pe())},i(f){n||(M(s),M(o),n=!0)},o(f){q(s),q(o),n=!1},d(f){s&&s.d(f),f&&L(e),o&&o.d(f),f&&L(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=Wt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,f=ht("getUnsavedChangesModalPromise"),g=ht("openViewInModal"),{addNavHrefForAnchor:h}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});Jt(async()=>{aa()}),qn(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())},()=>{}),w()}function v(O){b(O.detail)}function w(){n("close")}function C(O){return Se.isOpenUIiconName(O.icon)}function y(O){return Se.renderIconClassName(O)}function P(O){return pt.getTranslation(O.label)}function T(O){return O.testId?O.testId:Se.prepareForTests(O.pathSegment,O.label)}function D(O){return me.getNodeHref(O,o)}const R=O=>{Se.handleNavAnchorClickedWithoutMetaKey(O)},I=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(7,s=O.node),"addNavHrefForAnchor"in O&&t(2,h=O.addNavHrefForAnchor)},[r,l,h,b,v,w,aa,s,_,C,y,P,T,D,R,I]}class S_ extends Rt{constructor(e){super(),At(this,e,ak,sk,Tt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return aa}}const gn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?ie.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=ie.addLeadingSlash(et.getCurrentPath()),n=ie.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ie.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=ie.normalizePath(i),n=ie.normalizePath(e);return 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=gn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=ie.normalizePath(i),t=ie.normalizePath(t),!!gn.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=gn.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 gn.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 gn.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){A(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&&L(e),dt(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",Mt(gk)),ae(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(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&&L(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),A(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&&L(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>`,c(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),c(e,"aria-hidden","false"),c(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function kS(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w=(i[5]||i[4]&&i[0].header)&&Gf(i),C=i[4]&&jf(i),y=i[3]&&Jf();return{c(){e=k("div"),t=k("div"),w&&w.c(),n=K(),l=k("div"),C&&C.c(),r=K(),s=k("div"),g=K(),y&&y.c(),c(s,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-k9bftu"),c(s,"modal-container-index",f=i[4]?void 0:i[1]),c(l,"class","fd-dialog__body svelte-k9bftu"),c(t,"class",h="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-k9bftu"),c(t,"data-testid",_=i[5]?"modal-mf":"drawer-mf"),c(t,"role","dialog"),c(t,"aria-modal","true"),c(t,"aria-labelledby","dialog-title-1"),c(e,"class",p=xn(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),c(e,"style",b=i[5]?"z-index:1001":"")},m(P,T){A(P,e,T),S(e,t),w&&w.m(t,null),S(t,n),S(t,l),C&&C.m(l,null),S(l,r),S(l,s),S(t,g),y&&y.m(t,null),v=!0},p(P,[T]){P[5]||P[4]&&P[0].header?w?(w.p(P,T),T&49&&M(w,1)):(w=Gf(P),w.c(),M(w,1),w.m(t,n)):w&&(ye(),q(w,1,1,()=>{w=null}),Pe()),P[4]?C?(C.p(P,T),T&16&&M(C,1)):(C=jf(P),C.c(),M(C,1),C.m(l,r)):C&&(ye(),q(C,1,1,()=>{C=null}),Pe()),(!v||T&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-k9bftu"))&&c(s,"class",o),(!v||T&18&&f!==(f=P[4]?void 0:P[1]))&&c(s,"modal-container-index",f),P[3]?y||(y=Jf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!v||T&19&&h!==(h="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-k9bftu"))&&c(t,"class",h),(!v||T&32&&_!==(_=P[5]?"modal-mf":"drawer-mf"))&&c(t,"data-testid",_),(!v||T&49&&p!==(p=xn(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&c(e,"class",p),(!v||T&32&&b!==(b=P[5]?"z-index:1001":""))&&c(e,"style",b)},i(P){v||(M(w),M(C),v=!0)},o(P){q(w),q(C),v=!1},d(P){P&&L(e),w&&w.d(),C&&C.d(),y&&y.d()}}}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=Wt();let _,p,b,v=!1,w=!1,C=!1,y=!1,P=!1,T=!0,D,R=gt("store");const I=z=>Se.getNodeLabel(z),O=async z=>{const j=z&&z.length?ie.getPathWithoutHash(z):"",ce=me.parseParams(j.split("?")[1]);b=me.getNodeParams(ce);const le=await Mt.extractDataFromPath(z);_=le.nodeObject,t(4,P=r.isDrawer||typeof _.drawer=="object"),D=P?"._drawer":`[modal-container-index="${f}"]`,t(0,r._liveLabel=!1,r),P?(t(5,T=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=I(_),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=I(_),r),t(0,r._liveLabel=!0,r)),p=le.pathData,t(7,s=!0)},H=async z=>{if(!(v||w))if(s)if(_.webcomponent)t(3,C=!1),P?await G():await F(),ur.renderWebComponent(_.viewUrl,document.querySelector(D),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),h("wcCreated",{modalWC:document.querySelector(D),modalWCData:{...p,nodeParams:b}}),w=!0;else{const j=await B(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});h("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:b}}),v=!0}else await O(z)},F=async()=>{let z,j;const ce=document.querySelector(".lui-modal-index-"+f),{size:le,width:Z,height:Ce}=r,se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ce.classList.remove("lui-modal-fullscreen"),Z&&Z.match(se)&&Ce&&Ce.match(se))z=Ce,j=Z;else switch(le){case"fullscreen":z="100vh",j="100vw",ce.classList.add("lui-modal-fullscreen");break;case"m":z="80%",j="60%";break;case"s":z="80%",j="40%";break;default:z="80%",j="80%"}ce.setAttribute("style",`width:${j};height:${z};`)},B=async(z,j)=>{P?await G():await F(),z&&(z=me.substituteViewUrl(z,j));const ce=await Te.createIframe(z,void 0,_,"modal",j);return document.querySelector(D).appendChild(ce),ce};async function G(z){let j="";const ce=document.getElementsByClassName("drawer"),le=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?ce[0].setAttribute("style",j):(le[0].setAttribute("style",j),ce[0].setAttribute("style","width:100%"))}da(()=>{H(o)});const ee=async z=>{z.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),z.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),z.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&x()),z.data.msg==="luigi.close-modal"&&h("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||z.data.updatedModalSettings.width||z.data.updatedModalSettings.height)&&(t(0,r.size=z.data.updatedModalSettings.size,r),t(0,r.height=z.data.updatedModalSettings.height,r),t(0,r.width=z.data.updatedModalSettings.width,r),await F()),re.getConfigBooleanValue("routing.showModalPathInUrl")&&et.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},z.data.addHistoryEntry))};Jt(()=>{an.doOnStoreChange(R,()=>{r._liveLabel&&_&&t(0,r.title=I(_),r)},["navigation.viewgroupdata"]),An.addEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.disableA11YKeyboardExceptClassName(".lui-modal-index-"+f),window.focus(),setTimeout(()=>{var z;!y&&!_.webcomponent&&((z=_.loadingIndicator)==null?void 0:z.enabled)!==!1&&t(3,C=!0)},250)}),Yr(()=>{An.removeEventListener("message",ee),r.isDrawer&&!r.backdrop||Te.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+f)});function x(){let z;T?z=document.querySelector(`.lui-modal-mf.lui-modal-index-${f} .spinnerContainer`):z=document.querySelector(".drawer .spinnerContainer"),z&&z.classList.contains("fade-out")&&(z.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const pe=()=>h("close",{activeDrawer:!1});return i.$$set=z=>{"settings"in z&&t(0,r=z.settings),"isDataPrepared"in z&&t(7,s=z.isDataPrepared),"nodepath"in z&&t(8,o=z.nodepath),"modalIndex"in z&&t(1,f=z.modalIndex),"disableBackdrop"in z&&t(2,g=z.disableBackdrop),"$$scope"in z&&t(9,l=z.$$scope)},[r,f,g,C,P,T,h,s,o,l,n,pe]}class p_ extends Et{constructor(e){super(),Rt(this,e,CS,kS,Tt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}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),A(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&&L(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){A(r,e,s),S(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&&L(e),dt(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),A(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&&L(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){A(r,e,s),S(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Ie(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&c(e,"disabled",l)},d(r){r&&L(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){A(o,e,f),Of(e,i[0][i[1][0]][i[28]]),l||(r=ae(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&&L(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,w=Array.isArray(i[29].options),C,y;function P(...R){return i[19](i[28],i[31],i[29],...R)}function T(){return i[20](i[29])}let D=w&&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"),D&&D.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(R,I){A(R,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,f),S(r,h),S(r,_),S(t,b),S(t,v),D&&D.m(v,null),C||(y=[ae(r,"keydown",P),ae(n,"click",Bt(T))],C=!0)},p(R,I){i=R,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Ie(f,o),I[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&c(s,"disabled",g),I[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&c(r,"data-testid",p),I[0]&2&&(w=Array.isArray(i[29].options)),w?D?D.p(i,I):(D=tc(i),D.c(),D.m(v,null)):D&&(D.d(1),D=null)},d(R){R&&L(e),D&&D.d(),C=!1,Ze(y)}}}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){A(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&&L(e),dt(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){A(g,e,h),S(e,t),S(t,l),S(e,r),s||(o=[ae(e,"click",f),ae(e,"keydown",i[22])],s=!0)},p(g,h){i=g,h[0]&2&&n!==(n=i[12](i[32])+"")&&Ie(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&&L(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){A(s,e,o),S(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&&L(e),dt(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){A(p,e,b),S(e,n),S(e,l),g||(h=ae(e,"click",_),g=!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":""))&&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&&L(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){A(p,e,b),S(e,t),S(t,n),n.checked=i[0][i[1][0]][i[28]],S(t,s),S(t,o),g||(h=ae(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&&L(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){A(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=ae(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&&L(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,w=i[29].type==="string"&&xf(i),C=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&ec(i),y=_&&ic(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&rc(i),T=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"),w&&w.c(),g=K(),C&&C.c(),h=K(),y&&y.c(),p=K(),P&&P.c(),b=K(),T&&T.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(D,R){A(D,e,R),S(e,t),S(t,n),S(n,r),S(n,s),S(e,o),S(e,f),w&&w.m(f,null),S(f,g),C&&C.m(f,null),S(f,h),y&&y.m(f,null),S(f,p),P&&P.m(f,null),S(f,b),T&&T.m(f,null),S(e,v)},p(D,R){R[0]&34&&l!==(l=D[5](D[29].label)+"")&&Ie(r,l),D[29].type==="string"?w?w.p(D,R):(w=xf(D),w.c(),w.m(f,g)):w&&(w.d(1),w=null),D[29].type==="enum"&&(D[29].style===void 0||D[29].style==="list")?C?C.p(D,R):(C=ec(D),C.c(),C.m(f,h)):C&&(C.d(1),C=null),R[0]&2&&(_=D[29].type==="enum"&&D[29].style==="button"&&Array.isArray(D[29].options)),_?y?y.p(D,R):(y=ic(D),y.c(),y.m(f,p)):y&&(y.d(1),y=null),D[29].type==="boolean"&&(!D[29].style||D[29].style==="switch")?P?P.p(D,R):(P=rc(D),P.c(),P.m(f,b)):P&&(P.d(1),P=null),D[29].type==="boolean"&&D[29].style==="checkbox"?T?T.p(D,R):(T=sc(D),T.c(),T.m(f,null)):T&&(T.d(1),T=null)},d(D){D&&L(e),w&&w.d(),C&&C.d(),y&&y.d(),P&&P.d(),T&&T.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){A(r,e,s),l&&l.m(e,null),t||(n=[ae(window,"click",i[7]),ae(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&&L(e),l&&l.d(),t=!1,Ze(n)}}}function la(i,e,t){if(i&&t>0)return i.matches(e)?i:la(i.parentNode,e,t-1)}function IS(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=Wt();let f=gt("getTranslation");ki(i,f,z=>t(5,n=z));let g,{isComboOpen:h}=e;function _(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{b()};function b(z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(j=>{w(j,!1)})}function v(z,j){let ce=la(z.target,".fd-popover__control",20),le=ce.getAttribute("aria-expanded")==="true";(j||j===void 0)&&(b(),w(ce,!le))}function w(z,j){const ce=z.querySelector(".lui-activate-dropdown"),le=z.parentNode.querySelector(".fd-popover__body"),Z=z.parentNode.querySelector(".fd-select__control");z.setAttribute("aria-expanded",j),le.setAttribute("aria-hidden",!j),Z.setAttribute("aria-expanded",j),ce.setAttribute("aria-expanded",j),t(14,h=j)}function C(z,j,ce){t(4,g=ce),t(0,s[l[0]][z]=j.value||j,s)}function y(z,j){document.querySelectorAll(".enum-buttons-container-"+z+" button").forEach(ce=>{const le=ce.getAttribute("id"),Z=`lui-us-enum_button_${z}_option`;le===Z?ce.classList.add("fd-button--emphasized"):ce.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][z]=j.value||j,s)}function P(z,j){let ce;if(Array.isArray(j)){for(let le=0;le<j.length;le++)if(ie.isObject(j[le])){if(j[le].value&&j[le].value===z){ce=j[le].label,t(4,g=le);break}}else{ce=z,t(4,g=j.indexOf(z));break}return n(ce)}}function T(z){return n(ie.isObject(z)?z.label:z)}function D(z,j,ce){return ie.isObject(ce)?`${z}_${j}_${ce.value}`:`${z}_${j}_${ce}`}function R(z,j,ce,le){let Z=la(z.target,".lui-anchor-node",20);const Ce=document.getElementById(`fd-form-input-dropdown-${ce}`).children;let se=-1;if([...Ce].forEach((Ue,te)=>{Ue.classList.contains("is-focus")&&(se=te)}),h){if(z.keyCode===Dl&&z.altKey&&(Z.click(),Z.focus()),z.keyCode===Fi&&!z.altKey){if(se===-1){se=0,Ce.item(se).classList.add("is-focus");return}se<le.options.length-1&&(Ce.item(se).classList.remove("is-focus"),se+=1,Ce.item(se).classList.add("is-focus"))}if(z.keyCode===Dl&&!z.altKey){if(se===-1){se=se.length-1,Ce.item(se).classList.add("is-focus");return}se>0&&se<le.options.length&&(Ce.item(se).classList.remove("is-focus"),se-=1,Ce.item(se).classList.add("is-focus"))}(z.keyCode===Si||z.keyCode===Jr)&&C(j,le.options[se],se)}else Z.focus(),z.keyCode===Fi&&z.altKey&&Z.click(),z.keyCode===Fi&&!z.altKey&&se<le.options.length-1&&C(j,le.options[se+1],se+1),z.keyCode===Dl&&!z.altKey&&se>0&&se<le.options.length&&C(j,le.options[se-1],se-1)}function I(z){if(h){let j=la(z.target,".fd-popover",20);j.blur(),(z.keyCode===Jr||z.keyCode===Si)&&(z.target.click(),b(),setTimeout(()=>{j.focus()},0))}}P();function O(z){s[l[0]][z]=this.value,t(0,s)}const H=(z,j,ce,le)=>R(le,z,j,ce),F=z=>v(event,z.isEditable),B=(z,j,ce)=>C(z,j,ce),G=z=>I(z),ee=(z,j)=>y(z,j);function x(z){s[l[0]][z]=this.checked,t(0,s)}function pe(z){s[l[0]][z]=this.checked,t(0,s)}return i.$$set=z=>{"userSettingGroup"in z&&t(1,l=z.userSettingGroup),"userSettingsGroupKey"in z&&t(15,r=z.userSettingsGroupKey),"storedUserSettingData"in z&&t(0,s=z.storedUserSettingData),"isComboOpen"in z&&t(14,h=z.isComboOpen)},[s,l,R,I,g,n,f,b,v,C,y,P,T,D,h,r,_,p,O,H,F,B,G,ee,x,pe]}class TS extends Et{constructor(e){super(),Rt(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}=cl;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),A(o,t,f),A(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&&L(t),o&&L(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=xn(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),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){A(o,e,f),A(o,l,f),s&&s.m(o,f),A(o,r,f)},p(o,f){f[0]&2&&t!==(t=xn(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&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&&L(e),o&&L(l),s&&s.d(o),o&&L(r)}}}function AS(i){let e,t,n;return{c(){e=k("span"),t=k("i"),c(t,"role","presentation"),c(t,"class",n=xn(i[18](i[38][1].icon))+" svelte-d5kn3x"),c(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),S(e,t)},p(l,r){r[0]&2&&n!==(n=xn(l[18](l[38][1].icon))+" svelte-d5kn3x")&&c(t,"class",n)},d(l){l&&L(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=xn(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),c(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){A(s,e,o),S(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Ie(n,t),o[0]&2&&l!==(l=xn(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&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&&L(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,w=i[38][1].icon&&cc(i);function C(){return i[22](i[38])}function y(...P){return i[23](i[37],...P)}return{c(){e=k("li"),t=k("a"),w&&w.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-d5kn3x"),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,T){A(P,e,T),S(e,t),w&&w.m(t,null),S(t,n),S(t,l),S(l,r),S(r,o),S(l,f),S(l,g),S(g,_),S(e,p),b||(v=[ae(e,"click",Ot(C)),ae(e,"keydown",y)],b=!0)},p(P,T){i=P,i[38][1].icon?w?w.p(i,T):(w=cc(i),w.c(),w.m(t,n)):w&&(w.d(1),w=null),T[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Ie(o,s),T[0]&1026&&h!==(h=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Ie(_,h)},d(P){P&&L(e),w&&w.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);A(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){dt(n,l),l&&L(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(){Ge(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){qe(e,f)}}}function RS(i){let e,t,n,l,r,s,o,f=i[10](i[4])+"",g,h,_,p,b,v,w,C,y,P=i[10](i[7])+"",T,D,R,I,O,H,F,B,G,ee,x,pe=i[10](i[5])+"",z,j,ce,le,Z=i[10](i[6])+"",Ce,se,Ue,te,Ae=Object.entries(i[1]),$=[];for(let oe=0;oe<Ae.length;oe+=1)$[oe]=gc(uc(i,Ae,oe));let ge=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 oe=0;oe<$.length;oe+=1)$[oe].c();b=K(),v=k("div"),w=k("button"),w.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=K(),y=k("h2"),T=Ne(P),D=K(),R=k("div"),I=k("div"),ge&&ge.c(),O=K(),H=k("div"),F=K(),B=k("footer"),G=k("div"),ee=k("div"),x=k("button"),z=Ne(pe),j=K(),ce=k("div"),le=k("button"),Ce=Ne(Z),c(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),c(o,"id","dialog-title-2"),c(s,"class","fd-side-nav__group-header svelte-d5kn3x"),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-d5kn3x"),c(r,"class","fd-side-nav svelte-d5kn3x"),c(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),c(w,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),c(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),c(v,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),c(I,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),c(H,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),c(R,"class","lui-usersettings-content svelte-d5kn3x"),c(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),c(x,"data-testid","lui-us-saveBtn"),c(x,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),c(ee,"class","fd-bar__element"),c(le,"data-testid","lui-us-dismissBtn"),c(le,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),c(ce,"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-d5kn3x"),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-d5kn3x"),c(e,"tabindex","0")},m(oe,Me){A(oe,e,Me),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(o,g),S(r,h),S(r,_),S(_,p);for(let He=0;He<$.length;He+=1)$[He].m(p,null);S(n,b),S(n,v),S(v,w),S(v,C),S(v,y),S(y,T),S(n,D),S(n,R),S(R,I),ge&&ge.m(I,null),S(R,O),S(R,H),S(t,F),S(t,B),S(B,G),S(G,ee),S(ee,x),S(x,z),S(G,j),S(G,ce),S(ce,le),S(le,Ce),se=!0,Ue||(te=[ae(oc,"resize",i[20]),ae(oc,"keydown",i[3]),ae(w,"click",i[17]),ae(x,"click",i[26]),ae(le,"click",i[27])],Ue=!0)},p(oe,Me){if((!se||Me[0]&1040)&&f!==(f=oe[10](oe[4])+"")&&Ie(g,f),Me[0]&803846){Ae=Object.entries(oe[1]);let He;for(He=0;He<Ae.length;He+=1){const be=uc(oe,Ae,He);$[He]?$[He].p(be,Me):($[He]=gc(be),$[He].c(),$[He].m(p,null))}for(;He<$.length;He+=1)$[He].d(1);$.length=Ae.length}(!se||Me[0]&1152)&&P!==(P=oe[10](oe[7])+"")&&Ie(T,P),oe[11]?ge?(ge.p(oe,Me),Me[0]&2048&&M(ge,1)):(ge=_c(oe),ge.c(),M(ge,1),ge.m(I,null)):ge&&(ye(),q(ge,1,1,()=>{ge=null}),Pe()),(!se||Me[0]&1056)&&pe!==(pe=oe[10](oe[5])+"")&&Ie(z,pe),(!se||Me[0]&1088)&&Z!==(Z=oe[10](oe[6])+"")&&Ie(Ce,Z)},i(oe){se||(M(ge),se=!0)},o(oe){q(ge),se=!1},d(oe){oe&&L(e),dt($,oe),ge&&ge.d(),Ue=!1,Ze(te)}}}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 m_(i,e,t){if(i&&t>0)return i.matches(e)?i:m_(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=Wt();let o,{storedUserSettings:f={}}=e,g={},h=gt("getTranslation");ki(i,h,se=>t(10,n=se));let _=ul.userSettingsDialog.dialogHeader,p=ul.userSettingsDialog.saveBtn,b=ul.userSettingsDialog.dismissBtn,v={},w,C,y,P;Yr(()=>{Te.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const se=re.getConfigValue("userSettings.userSettingsDialog"),Ue=se||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)),w=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,An.addEventListener("message",te=>{const Ae=Te.getValidMessageSource(te);if(!Ae||te.data.msg!=="custom")return;Ae._ready=!0;const $=aa.convertCustomMessageInternalToUser(te.data),ge="luigi.updateUserSettings";if($.id===ge){const oe=ar.findActiveCustomUserSettingsIframe(te.source);if(oe){let Me=oe.getAttribute("userSettingsGroup");t(0,f[Me]=$.data,f)}}$.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&H()}),re.readUserSettings().then(te=>{g=JSON.parse(JSON.stringify(te)),te===null?t(0,f=pc(JSON.parse(JSON.stringify(r)),{})):t(0,f=pc(JSON.parse(JSON.stringify(r)),te)),D([w,r[0][w]])}).catch(te=>{te&&te.message&&console.error(te.message),te&&te.closeDialog&&s("close")}),Te.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function T(se){if(t(7,C=se.title?se.title:""),!!ie.isObject(se.settings))for(let Ue in se.settings){let te=se.settings[Ue];te.type==="enum"?Array.isArray(te.options)||console.error(`There is no options array for '${Ue}' defined in the Luigi userSettings config.`):te.type===void 0&&console.error(`There is no data type defined for '${Ue}' in the Luigi userSettings config.`)}}function D(se,Ue){t(11,o=se);let te=se[0],Ae=se[1];if(T(Ae),Ue?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ge=>{ge.classList.remove("is-selected")}),m_(Ue.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&O()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&mc()),Ae.viewUrl){if(ar.hideUserSettingsIframe(),v.hasOwnProperty(te))ar.getUserSettingsIframesInDom().forEach($=>{$.userSettingsGroup===te&&($.style.display="block")});else{const $=jr.hasDecorators()?jr.applyDecorators(Ae.viewUrl):Ae.viewUrl;let ge=ar.createIframe($,te);v[te]=ge}ES()}else DS()}const R=se=>{t(0,f=se.detail.userSettings)};function I(){re.storeUserSettings(f,g).then(()=>{s("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&s("close")})}function O(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&mc()}function F(se){return Se.renderIconClassName(se)}function B(se){return Se.isOpenUIiconName(se.icon)}let G;const ee=()=>{const se=window.innerWidth>=xt.desktopMinWidth&&G<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&G>=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"),se&&(document.querySelector(".confirm-button").style.display="block"),!G){let te=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?te.style.display="none":te.style.display="block"}G=window.innerWidth};function x(se,Ue){let te=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===Si||se.keyCode===Jr)&&te[Ue].click(),se.keyCode===pS&&te[Object.keys(r).length-1].focus(),se.keyCode===_S&&te[0].focus()}function pe(se){se.keyCode===wi&&y?P():se.keyCode===wi&&!y&&s("close")}const z=se=>D(se,event),j=(se,Ue)=>x(Ue,[se]);function ce(se){P=se,t(9,P)}function le(se){y=se,t(8,y)}const Z=()=>I(),Ce=()=>s("close");return i.$$set=se=>{"schemaObj"in se&&t(21,l=se.schemaObj),"userSettingGroups"in se&&t(1,r=se.userSettingGroups),"storedUserSettings"in se&&t(0,f=se.storedUserSettings)},[f,r,x,pe,_,p,b,C,y,P,n,o,s,h,D,R,I,H,F,B,ee,l,z,j,ce,le,Z,Ce]}class MS extends Et{constructor(e){super(),Rt(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}=cl;function FS(i){let e;return{c(){e=k("div"),c(e,"class","iframeSplitViewCnt svelte-je1rr")},m(t,n){A(t,e,n)},p:Fe,d(t){t&&L(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){A(g,e,h),S(e,t),A(g,n,h),A(g,l,h),S(l,s),o||(f=ae(t,"click",Bt(Ot(i[4]))),o=!0)},p(g,h){h&2&&r!==(r=g[1].title+"")&&Ie(s,r)},d(g){g&&L(e),g&&L(n),g&&L(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){A(g,e,h),A(g,t,h),A(g,n,h),S(n,l),S(n,r),S(n,s),o||(f=[ae(s,"click",Bt(Ot(i[3]))),ae(n,"mousedown",Bt(i[6]))],o=!0)},p:Fe,d(g){g&&L(e),g&&L(t),g&&L(n),o=!1,Ze(f)}}}function BS(i){let e,t,n,l,r,s,o,f,g,h;t=new Zr({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(w,C){return w[0]?US:FS}let p=_(i),b=p(i),v=!i[0]&&bc(i);return{c(){e=k("div"),Ge(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(w,C){A(w,e,C),We(t,e,null),S(e,n),S(e,l),b.m(l,null),A(w,s,C),v&&v.m(w,C),A(w,o,C),f=!0,g||(h=ae(OS,"resize",i[5]),g=!0)},p(w,[C]){const y={};C&4&&(y.disable=w[2]),t.$set(y),p===(p=_(w))&&b?b.p(w,C):(b.d(1),b=p(w),b&&(b.c(),b.m(l,null))),(!f||C&1&&r!==(r="fd-page splitViewContainer "+(w[0]?"lui-collapsed":"")))&&c(e,"class",r),w[0]?v&&(v.d(1),v=null):v?v.p(w,C):(v=bc(w),v.c(),v.m(o.parentNode,o))},i(w){f||(M(t.$$.fragment,w),f=!0)},o(w){q(t.$$.fragment,w),f=!1},d(w){w&&L(e),qe(t),b.d(),w&&L(s),v&&v.d(w),w&&L(o),g=!1,h()}}}function HS(i,e,t){const n=Wt();let l={draggable:null,iframe:null,split:null},r,s,o,f,g,h,_,p,b,{nodepath:v}=e,{collapsed:w}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,T=!1,D=gt("getUnsavedChangesModalPromise");const R=()=>({get:()=>({collapsed:w,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:s,nodeParams:o,currentNode:f,splitViewIframe:h,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(ce=>{ce==="splitViewSettings"?t(1,C=j.splitViewSettings):ce==="lastNode"?r=j.lastNode:ce==="pathData"?s=j.pathData:ce==="nodeParams"?o=j.nodeParams:ce==="collapsed"?t(0,w=j.collapsed):ce==="isDataPrepared"?t(8,y=j.isDataPrepared):ce==="currentNode"?f=j.currentNode:ce==="splitViewIframe"?h=j.splitViewIframe:ce==="splitViewIframeData"?_=j.splitViewIframeData:ce==="splitViewWC"?p=j.splitViewWC:ce==="splitViewWCData"&&(b=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:D}),I=async()=>{y?w||st.createAndSetView(R()):await st.prepareSplitViewData(R(),v)},O=()=>{l.split=st.getContainer(),l.iframe=Te.getIframeContainer(),l.draggable=st.getDragger()},H=()=>{const j=st.getDraggerBackdrop();j&&(j.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(j){if(!!Te.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&st.close(R()),j.data.msg==="luigi.navigation.splitview.collapse"&&B(),j.data.msg==="luigi.navigation.splitview.expand"&&G(),j.data.msg==="luigi.navigation.splitview.resize")){const ce=parseInt(j.data.data);if(st.calculateAndSetSplitViewValues(ce,st.internalValues),w)return;H(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{ee(),g=F.bind(this),An.addEventListener("message",g)}),da(()=>{I(),T!==y&&!w&&(T=y,H())}),Yr(()=>{window.removeEventListener("message",g)});function B(){st.collapse(R())}async function G(){await st.expand(R()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function ee(){const j=ie.getShellbarHeight();st.internalValues.innerHeight=ie.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-j,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=j+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),w||H()}function x(j){let ce=j.y,le={};const Z=function(Ae){const $=ce-Ae.y,ge=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(ge)||$===0)return;const oe=ge-$,Me=st.internalValues.innerHeight-oe,He=st.enforceTresholds(oe,Me);oe<He.top||Me<He.bottom||(le=He,ce=Ae.y,l.draggable.style.top=`${le.top}px`)},Ce=function(){if(se(),!le.top||!le.bottom||le.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=le.top,st.splitViewValues=le,H(),st.sendMessageToClients("resize.ok",le.percent)},se=function(){document.removeEventListener("mouseup",Ce),document.removeEventListener("mousemove",Z)},Ue=function(){document.addEventListener("mouseup",Ce),document.addEventListener("mousemove",Z)};O(),se(),Ue(),st.getDraggerBackdrop().style.display="block"}const pe=j=>{let ce=st.getDraggerButton();ce&&(ce.style.display=j?"block":"none"),ce=st.getCollapsedDraggerButton(),ce&&(ce.style.display=j?"block":"none")},z=j=>{pe(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,v=j.nodepath),"collapsed"in j&&t(0,w=j.collapsed),"splitViewSettings"in j&&t(1,C=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,P=j.disableBackdrop)},[w,C,P,B,G,ee,x,z,y,v]}class WS extends Et{constructor(e){super(),Rt(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:zS,catch:qS,value:1};return ra(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ra(t,n)||l_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function qS(i){return{c:Fe,m:Fe,p:Fe,d:Fe}}function zS(i){let e,t=i[1]>0&&wc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=wc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(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){A(r,e,s),S(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Ie(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&c(e,"aria-label",l)},d(r){r&&L(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),A(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&&L(e)}}}function jS(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class ei extends Et{constructor(e){super(),Rt(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){A(r,e,s),S(e,t),S(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Ie(l,n)},d(r){r&&L(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),A(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&&L(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 Et{constructor(e){super(),Rt(this,e,YS,JS,Tt,{node:0})}}const{window:ta}=cl;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-xlqjol"),c(l,"class","fd-nested-list__link svelte-xlqjol"),c(l,"title",h=i[32](i[12],i[24](i[12].label))),c(n,"class","fd-nested-list__item svelte-xlqjol"),c(t,"class","fd-nested-list svelte-xlqjol"),c(e,"class","lui-nav-title svelte-xlqjol")},m(b,v){A(b,e,v),S(e,t),S(t,n),S(n,l),_&&_.m(l,null),S(l,r),S(l,s),S(s,f),S(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)+"")&&Ie(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&&L(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),A(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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol"),c(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[27](n[12].icon)+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(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-xlqjol"),c(e,"role","presentation"),c(e,"title",t=i[24]("luigi.navigation.up"))},m(r,s){A(r,e,s),n||(l=ae(e,"click",Ot(i[19])),n=!0)},p(r,s){s[0]&16777216&&t!==(t=r[24]("luigi.navigation.up"))&&c(e,"title",t)},d(r){r&&L(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-xlqjol"),c(e,"class","lui-fd-side-nav-wrapper svelte-xlqjol")},m(f,g){A(f,e,g),S(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(ye(),h=r.length;h<s.length;h+=1)o(h);Pe()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(f[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-xlqjol"))&&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&&L(e),dt(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),A(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(ye(),q(s[h],1,1,()=>{s[h]=null}),Pe(),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&&L(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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(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-xlqjol"),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,w){A(v,e,w),h&&h.m(e,null),S(e,t),S(e,l),A(v,o,w);for(let C=0;C<p.length;C+=1)p[C].m(v,w);A(v,f,w),g=!0},p(v,w){if(v[10]&&v[68].metaInfo.icon?h?h.p(v,w):(h=Rc(v),h.c(),h.m(e,t)):h&&(h.d(1),h=null),(!g||w[0]&16785408)&&n!==(n=v[24](v[67])+"")&&Ie(l,n),(!g||w[0]&16785408&&r!==(r=v[32](v[68],v[24](v[67]))))&&c(e,"title",r),(!g||w[0]&8192&&s!==(s=v[31](v[68].metaInfo,v[67])))&&c(e,"data-testid",s),w[0]&2088804544|w[1]&66){_=v[68];let C;for(C=0;C<_.length;C+=1){const y=Cc(v,_,C);p[C]?(p[C].p(y,w),M(p[C],1)):(p[C]=Fc(y),p[C].c(),M(p[C],1),p[C].m(f.parentNode,f))}for(ye(),C=_.length;C<p.length;C+=1)b(C);Pe()}},i(v){if(!g){for(let w=0;w<_.length;w+=1)M(p[w]);g=!0}},o(v){p=p.filter(Boolean);for(let w=0;w<p.length;w+=1)q(p[w]);g=!1},d(v){v&&L(e),h&&h.d(),v&&L(o),dt(p,v),v&&L(f)}}}function e2(i){let e,t,n,l,r,s,o=i[24](i[67])+"",f,g,h,_,p,b,v,w,C,y,P,T,D,R,I,O,H,F,B,G,ee,x;function pe($,ge){return ge[0]&8192&&(l=null),l==null&&(l=!!$[28]($[68].metaInfo.icon)),l?o2:a2}let z=pe(i,[-1,-1,-1]),j=z(i);function ce(){return i[46](i[68])}function le(){return i[47](i[68])}function Z(...$){return i[48](i[68],...$)}let Ce=i[68],se=[];for(let $=0;$<Ce.length;$+=1)se[$]=qc(Pc(i,Ce,$));const Ue=$=>q(se[$],1,1,()=>{se[$]=null});let te=i[68].metaInfo&&i[68].metaInfo.label===i[8]&&zc(i);function Ae(){return i[53](i[68])}return{c(){e=k("li"),t=k("div"),n=k("a"),j.c(),r=K(),s=k("span"),f=Ne(o),v=K(),w=k("button"),C=k("i"),R=K(),I=k("ul");for(let $=0;$<se.length;$+=1)se[$].c();H=K(),te&&te.c(),F=K(),c(s,"class","fd-nested-list__title svelte-xlqjol"),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-xlqjol"),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(C,"class",y=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),c(C,"role","presentation"),c(w,"class","fd-button fd-nested-list__button svelte-xlqjol"),c(w,"href","#"),c(w,"tabindex","0"),c(w,"aria-label","Expand categories"),c(w,"aria-haspopup","true"),c(w,"aria-expanded",P=kn(i[68],i[9])),c(w,"title",T=i[38](i[68],i[9])),c(t,"class","fd-nested-list__content has-child svelte-xlqjol"),c(t,"tabindex",D=i[6]?"0":"-1"),c(I,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-xlqjol"),c(I,"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($,ge){A($,e,ge),S(e,t),S(t,n),j.m(n,null),S(n,r),S(n,s),S(s,f),S(t,v),S(t,w),S(w,C),S(e,R),S(e,I);for(let oe=0;oe<se.length;oe+=1)se[oe].m(I,null);S(e,H),te&&te.m(e,null),S(e,F),G=!0,ee||(x=[ae(n,"click",Ot(ce)),ae(w,"click",Ot(le)),ae(t,"keypress",Z),ae(e,"click",Bt(Ae))],ee=!0)},p($,ge){if(i=$,z===(z=pe(i,ge))&&j?j.p(i,ge):(j.d(1),j=z(i),j&&(j.c(),j.m(n,r))),(!G||ge[0]&16785408)&&o!==(o=i[24](i[67])+"")&&Ie(f,o),(!G||ge[0]&16785408&&g!==(g=i[32](i[68],i[24](i[67]))))&&c(n,"title",g),(!G||ge[0]&8704&&h!==(h="fd-nested-list__link "+(kn(i[68],i[9])?"is-expanded":"")+" svelte-xlqjol"))&&c(n,"class",h),(!G||ge[0]&64&&_!==(_=i[6]?"-1":"0"))&&c(n,"tabindex",_),(!G||ge[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&c(n,"role",p),(!G||ge[0]&8704&&b!==(b=kn(i[68],i[9])))&&c(n,"aria-expanded",b),(!G||ge[0]&8704&&y!==(y=kn(i[68],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&c(C,"class",y),(!G||ge[0]&8704&&P!==(P=kn(i[68],i[9])))&&c(w,"aria-expanded",P),(!G||ge[0]&8704&&T!==(T=i[38](i[68],i[9])))&&c(w,"title",T),(!G||ge[0]&64&&D!==(D=i[6]?"0":"-1"))&&c(t,"tabindex",D),ge[0]&1686151296|ge[1]&66){Ce=i[68];let oe;for(oe=0;oe<Ce.length;oe+=1){const Me=Pc(i,Ce,oe);se[oe]?(se[oe].p(Me,ge),M(se[oe],1)):(se[oe]=qc(Me),se[oe].c(),M(se[oe],1),se[oe].m(I,null))}for(ye(),oe=Ce.length;oe<se.length;oe+=1)Ue(oe);Pe()}(!G||ge[0]&8704&&O!==(O=!kn(i[68],i[9])))&&c(I,"aria-hidden",O),i[68].metaInfo&&i[68].metaInfo.label===i[8]?te?(te.p(i,ge),ge[0]&8448&&M(te,1)):(te=zc(i),te.c(),M(te,1),te.m(e,F)):te&&(ye(),q(te,1,1,()=>{te=null}),Pe()),(!G||ge[0]&8192&&B!==(B=i[31](i[68].metaInfo,i[67])))&&c(e,"data-testid",B),(!G||ge[0]&8704)&&bi(e,"lui-item-expanded",kn(i[68],i[9]))},i($){if(!G){for(let ge=0;ge<Ce.length;ge+=1)M(se[ge]);M(te),G=!0}},o($){se=se.filter(Boolean);for(let ge=0;ge<se.length;ge+=1)q(se[ge]);q(te),G=!1},d($){$&&L(e),j.d(),dt(se,$),te&&te.d(),ee=!1,Ze(x)}}}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),A(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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol"),c(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[68].metaInfo.icon?n[27](n[68].metaInfo.icon):"")+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,w,C,y,P,T;function D(ee,x){return ee[71].icon?l2:i2}let R=D(i),I=R(i),O=i[71].statusBadge&&Vc(i),H=i[71].externalLink&&i[71].externalLink.url&&Mc(),F=i[71].badgeCounter&&Oc(i);function B(...ee){return i[54](i[71],...ee)}function G(...ee){return i[55](i[71],...ee)}return{c(){e=k("li"),t=k("a"),I.c(),n=K(),l=k("span"),s=Ne(r),o=K(),O&&O.c(),g=K(),H&&H.c(),h=K(),F&&F.c(),w=K(),c(l,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"),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-xlqjol"),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",C=i[32](i[71],i[26](i[71]))),c(e,"aria-labelledby","category_list_level1_"+i[70])},m(ee,x){A(ee,e,x),S(e,t),I.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),O&&O.m(l,null),S(t,g),H&&H.m(t,null),S(t,h),F&&F.m(t,null),S(e,w),y=!0,P||(T=[ae(t,"click",B),ae(t,"keyup",function(){Ml(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],P=!0)},p(ee,x){i=ee,R===(R=D(i))&&I?I.p(i,x):(I.d(1),I=R(i),I&&(I.c(),I.m(t,n))),(!y||x[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r),i[71].statusBadge?O?(O.p(i,x),x[0]&8192&&M(O,1)):(O=Vc(i),O.c(),M(O,1),O.m(l,null)):O&&(ye(),q(O,1,1,()=>{O=null}),Pe()),(!y||x[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"))&&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,x),x[0]&8192&&M(F,1)):(F=Oc(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),q(F,1,1,()=>{F=null}),Pe()),(!y||x[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!y||x[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"))&&c(t,"class",p),(!y||x[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!y||x[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!y||x[0]&8192&&C!==(C=i[32](i[71],i[26](i[71]))))&&c(e,"title",C)},i(ee){y||(M(O),M(F),y=!0)},o(ee){q(O),q(F),y=!1},d(ee){ee&&L(e),I.d(),O&&O.d(),H&&H.d(),F&&F.d(),P=!1,Ze(T)}}}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){A(o,e,f),A(o,n,f),A(o,l,f),S(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":"")&&Ie(s,r)},d(o){o&&L(e),o&&L(n),o&&L(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),A(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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(e)}}}function Vc(i){let e,t;return e=new Ui({props:{node:i[71]}}),{c(){Ge(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){qe(e,n)}}}function Mc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Oc(i){let e,t;return e=new ei({props:{node:i[71]}}),{c(){Ge(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){qe(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),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol"),c(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[68].metaInfo.icon)+" "+(n[6]&&!n[68].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Bc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,w,C,y,P,T;o=new Ui({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&Hc(),R=i[71].badgeCounter&&Wc(i);function I(...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(),Ge(o.$$.fragment),g=K(),D&&D.c(),h=K(),R&&R.c(),C=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"),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",w=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){A(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(t,g),D&&D.m(t,null),S(t,h),R&&R.m(t,null),S(e,C),y=!0,P||(T=[ae(t,"click",I),ae(t,"keyup",function(){Ml(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?D||(D=Hc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=Wc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),q(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"))&&c(t,"class",p),(!y||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!y||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!y||F[0]&8192&&w!==(w=i[32](i[71],i[26](i[71]))))&&c(t,"title",w)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){q(o.$$.fragment,H),q(R),y=!1},d(H){H&&L(e),qe(o),D&&D.d(),R&&R.d(),P=!1,Ze(T)}}}function Hc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Wc(i){let e,t;return e=new ei({props:{node:i[71]}}),{c(){Ge(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){qe(e,n)}}}function qc(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),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(e)}}}function zc(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-xlqjol"),c(o,"class","fd-nested-list fd-nested-list--text-only svelte-xlqjol"),c(t,"class","lui-flyout-sublist__wrapper svelte-xlqjol"),c(e,"class","lui-flyout-sublist svelte-xlqjol")},m(p,b){A(p,e,b),S(e,t),S(t,n),S(n,r),S(t,s),S(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])+"")&&Ie(r,l),b[0]&1686151296|b[1]&66){g=p[68];let v;for(v=0;v<g.length;v+=1){const w=yc(p,g,v);h[v]?(h[v].p(w,b),M(h[v],1)):(h[v]=Yc(w),h[v].c(),M(h[v],1),h[v].m(o,null))}for(ye(),v=g.length;v<h.length;v+=1)_(v);Pe()}},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&&L(e),dt(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Kc(i){let e,t,n,l=i[26](i[71])+"",r,s,o,f,g,h,_,p,b,v,w,C,y,P,T;o=new Ui({props:{node:i[71]}});let D=i[71].externalLink&&i[71].externalLink.url&&jc(),R=i[71].badgeCounter&&Jc(i);function I(...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(),Ge(o.$$.fragment),g=K(),D&&D.c(),h=K(),R&&R.c(),C=K(),c(n,"class",f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"),c(t,"href",_=i[30](i[71])),c(t,"class",p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"),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",w=i[32](i[71],i[26](i[71]))),c(e,"class","fd-nested-list__item")},m(H,F){A(H,e,F),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(t,g),D&&D.m(t,null),S(t,h),R&&R.m(t,null),S(e,C),y=!0,P||(T=[ae(t,"click",I),ae(t,"keyup",function(){Ml(i[23]?void 0:O)&&(i[23]?void 0:O).apply(this,arguments)})],P=!0)},p(H,F){i=H,(!y||F[0]&8192)&&l!==(l=i[26](i[71])+"")&&Ie(r,l);const B={};F[0]&8192&&(B.node=i[71]),o.$set(B),(!y||F[0]&8192&&f!==(f="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"))&&c(n,"class",f),i[71].externalLink&&i[71].externalLink.url?D||(D=jc(),D.c(),D.m(t,h)):D&&(D.d(1),D=null),i[71].badgeCounter?R?(R.p(i,F),F[0]&8192&&M(R,1)):(R=Jc(i),R.c(),M(R,1),R.m(t,null)):R&&(ye(),q(R,1,1,()=>{R=null}),Pe()),(!y||F[0]&8192&&_!==(_=i[30](i[71])))&&c(t,"href",_),(!y||F[0]&8320&&p!==(p="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"))&&c(t,"class",p),(!y||F[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&c(t,"role",b),(!y||F[0]&8192&&v!==(v=i[29](i[71])))&&c(t,"data-testid",v),(!y||F[0]&8192&&w!==(w=i[32](i[71],i[26](i[71]))))&&c(t,"title",w)},i(H){y||(M(o.$$.fragment,H),M(R),y=!0)},o(H){q(o.$$.fragment,H),q(R),y=!1},d(H){H&&L(e),qe(o),D&&D.d(),R&&R.d(),P=!1,Ze(T)}}}function jc(i){let e;return{c(){e=k("i"),c(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Jc(i){let e,t;return e=new ei({props:{node:i[71]}}),{c(){Ge(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){qe(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),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Zc(i){let e,t,n,l,r=i[26](i[71])+"",s,o,f,g,h,_,p,b,v,w,C,y,P,T,D;function R(ee,x){return ee[71].icon?f2:u2}let I=R(i),O=I(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(...ee){return i[44](i[71],...ee)}function G(...ee){return i[45](i[71],...ee)}return{c(){e=k("li"),t=k("a"),O.c(),n=K(),l=k("span"),s=Ne(r),o=K(),Ge(f.$$.fragment),h=K(),H&&H.c(),_=K(),F&&F.c(),y=K(),c(l,"class",g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"),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-xlqjol"),c(t,"tabindex","0"),c(t,"role",w=i[23]?void 0:"button"),c(t,"data-testid",C=i[29](i[71])),c(e,"class","fd-nested-list__item")},m(ee,x){A(ee,e,x),S(e,t),O.m(t,null),S(t,n),S(t,l),S(l,s),S(l,o),We(f,l,null),S(t,h),H&&H.m(t,null),S(t,_),F&&F.m(t,null),S(e,y),P=!0,T||(D=[ae(t,"click",B),ae(t,"keyup",function(){Ml(i[23]?void 0:G)&&(i[23]?void 0:G).apply(this,arguments)})],T=!0)},p(ee,x){i=ee,I===(I=R(i))&&O?O.p(i,x):(O.d(1),O=I(i),O&&(O.c(),O.m(t,n))),(!P||x[0]&8192)&&r!==(r=i[26](i[71])+"")&&Ie(s,r);const pe={};x[0]&8192&&(pe.node=i[71]),f.$set(pe),(!P||x[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[71].statusBadge&&i[71].statusBadge.align==="right"?"right":"left")+" svelte-xlqjol"))&&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,x),x[0]&8192&&M(F,1)):(F=$c(i),F.c(),M(F,1),F.m(t,null)):F&&(ye(),q(F,1,1,()=>{F=null}),Pe()),(!P||x[0]&8192&&p!==(p=i[30](i[71])))&&c(t,"href",p),(!P||x[0]&8192&&b!==(b=i[32](i[71],i[26](i[71]))))&&c(t,"title",b),(!P||x[0]&8320&&v!==(v="fd-nested-list__link "+(i[71]===i[7]?"is-selected":"")+" svelte-xlqjol"))&&c(t,"class",v),(!P||x[0]&8388608&&w!==(w=i[23]?void 0:"button"))&&c(t,"role",w),(!P||x[0]&8192&&C!==(C=i[29](i[71])))&&c(t,"data-testid",C)},i(ee){P||(M(f.$$.fragment,ee),M(F),P=!0)},o(ee){q(f.$$.fragment,ee),q(F),P=!1},d(ee){ee&&L(e),O.d(),qe(f),H&&H.d(),F&&F.d(),T=!1,Ze(D)}}}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){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&c(e,"class",t)},d(n){n&&L(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),A(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&&L(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-xlqjol"),c(e,"class","fd-nested-list__icon sap-icon svelte-xlqjol")},m(r,s){A(r,e,s),S(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&&L(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-xlqjol"),c(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[27](n[71].icon)+" svelte-xlqjol")&&c(e,"class",t)},d(n){n&&L(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){A(t,e,n)},d(t){t&&L(e)}}}function $c(i){let e,t;return e=new ei({props:{node:i[71]}}),{c(){Ge(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){qe(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),A(l,e,r),t=!0},p(l,r){l[71].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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,_),A(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&f[n].p(h,_):(l&&(ye(),q(f[p],1,1,()=>{f[p]=null}),Pe()),~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&&L(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-xlqjol"),c(n,"data-testid","lui-side-nav__footer--text"),c(t,"class","lui-side-nav__footer svelte-xlqjol"),c(t,"data-testid","lui-side-nav__footer"),c(e,"class","fd-side-nav__utility svelte-xlqjol")},m(f,g){A(f,e,g),S(e,t),S(t,n),S(n,r),S(t,s),o&&o.m(t,null)},p(f,g){g[0]&4&&l!==(l=(f[2]?f[2]:"")+"")&&Ie(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&&L(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),A(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&&L(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-xlqjol"),c(e,"data-testid","semiCollapsibleButton"),c(e,"title",i[11]),c(e,"tabindex","0")},m(r,s){A(r,e,s),n||(l=[ae(e,"click",i[57]),ae(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-xlqjol")&&c(e,"class",t),s[0]&2048&&c(e,"title",r[11])},d(r){r&&L(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-xlqjol"),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-xlqjol")},m(s,o){A(s,e,o),S(e,t),l||(r=ae(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-xlqjol")&&c(t,"class",n),o[0]&2048&&c(e,"title",s[11])},d(s){s&&L(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-xlqjol"),c(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-xlqjol"),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-xlqjol")},m(v,w){A(v,e,w),_&&_.m(e,null),S(e,t),S(e,n),S(n,l),p&&p.m(l,null),S(n,r),b&&b.m(n,null),f=!0,g||(h=[ae(ta,"resize",i[17]),ae(ta,"click",i[21]),ae(ta,"blur",i[21]),ae(ta,"keydown",i[33]),ae(n,"keyup",i[18])],g=!0)},p(v,w){v[12]?_?_.p(v,w):(_=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,w),w[0]&33&&M(p,1)):(p=Ac(v),p.c(),M(p,1),p.m(l,null)):p&&(ye(),q(p,1,1,()=>{p=null}),Pe()),v[2]||v[3]?b?b.p(v,w):(b=td(v),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!f||w[0]&4160&&s!==(s="fd-side-nav "+(v[6]?"fd-side-nav--condensed":"")+" "+(v[12]?"lui-nav-header-visible":"")+" svelte-xlqjol"))&&c(n,"class",s),(!f||w[0]&14&&o!==(o="fd-app__sidebar "+(v[1]?"hideNavComponent":"")+" "+(v[2]||v[3]?"hasFooter":"")+" "+(v[2]&&!v[3]?"hasOnlyFooterText":"")+" svelte-xlqjol"))&&c(e,"class",o)},i(v){f||(M(p),f=!0)},o(v){q(p),f=!1},d(v){v&&L(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:w,selectedNode:C,sideNavAccordionMode:D,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:T,navParentNode:O}),set:async ne=>{ne&&(Object.getOwnPropertyNames(ne).forEach(async Le=>{if(Le==="pathData")t(5,p=ne.pathData);else if(Le==="context")H=ne.context;else if(Le==="children")t(0,s=ne.children);else if(Le==="selectedNode")t(7,C=ne.selectedNode);else if(Le==="hasCategoriesWithIcon")t(10,T=ne.hasCategoriesWithIcon);else if(Le==="navParent"){t(12,I=void 0);let at=ne.navParent;if(t(41,O=at),at&&at.navHeader&&ie.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,I={});let ln=Nt(Se.stripNode(at),Se.stripNode(Ct),H);ln instanceof Promise?ln.then(En=>{t(12,I=En)}):t(12,I=ln)}else if(Nt==="auto")t(12,I={label:at.label,icon:at.icon});else if(Nt&&Nt.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,I={...Nt,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,I=Nt);const ln=me.mapPathToNode(et.getCurrentPath(),Ct);Mt.extractDataFromPath(ln).then(En=>{const Gn=me.substituteDynamicParamsInObject(Object.assign({},En.pathData.context,Ct.context),En.pathData.pathParams);Se.fetchNodeTitleData(Ct,Gn).then(ti=>{t(12,I={...Nt,...ti})}).catch(ti=>{console.error("Error while retrieving title, fallback to node label"),t(12,I={...Nt,label:at.label,icon:at.icon})})})}else t(12,I=await Ue(Nt,Ct))}}}),t(40,D=Se.getSideNavAccordionMode(C)))}},r=Wt();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:w}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:D}=e,{burgerTooltip:R}=e,{navHeader:I}=e,{navParentNode:O}=e,H,F,B,G=gt("store"),ee=gt("getTranslation");ki(i,ee,ne=>t(24,n=ne));let x=!1;const pe=ne=>Se.getNodeLabel(ne),z=async()=>{const ne=l.get(),Le=await Mt.getLeftNavData({...ne},ne);!Le||(l.set(Le),F=p,window.LEFTNAVDATA=Le.children)};Jt(()=>{t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,x=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),an.doOnStoreChange(G,()=>{t(2,f=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),an.doOnStoreChange(G,()=>{z()},["navigation.viewgroupdata"]);let ne=mi.initial();t(6,w=ne.isSemiCollapsed),t(39,g=ne.semiCollapsible),mi.onValueChanged(Le=>{t(6,w=Le.isSemiCollapsed)}),An.addEventListener("message",Le=>{Le.data.msg==="luigi.navigation.update-badge-counters"&&z()})}),qn(()=>{(!F||F!=p)&&z(),t(22,B=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=Se.loadExpandedCategories()),t(3,h=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:j}=e;function ce(ne){return Se.renderIconClassName(ne)}function le(ne){return Se.isOpenUIiconName(ne)}function Z(ne){return ne.testId?ne.testId:Se.prepareForTests(ne.pathSegment,ne.label)}function Ce(ne){return me.getNodeHref(ne,b)}function se(ne,Le){return ne&&ne.testId?ne.testId:Se.prepareForTests(Le||ne.label)}async function Ue(ne,Le){const at=me.mapPathToNode(et.getCurrentPath(),Le),Ct=(await Mt.extractDataFromPath(at)).pathData.pathParams;return me.substituteDynamicParamsInObject(ne,Ct)}function te(ne,Le){return Se.generateTooltipText(ne,Le)}function Ae(ne){r("handleClick",{node:ne})}function $(ne,Le){if(mi.getCollapsed()){let at,Nt=document.getElementsByClassName("fd-app__sidebar")[0];if(ne.metaInfo&&ne.metaInfo.label?at=ne.metaInfo.label:at=ne.category&&ne.category.label||ne.category,Nt.classList.contains("isBlocked")||(Nt.className+=" isBlocked"),at===y){t(8,y=mi.closePopupMenu(y));return}t(8,y=at),ge(Le)}}function ge(ne){const Le=ne.closest(".fd-nested-list__item"),at=Le.offsetTop,Nt=ui.getShellbar().offsetHeight;let Ct;ui.isCustomLuigiContainer()?Ct=ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const ln=Le.getElementsByClassName("lui-flyout-sublist")[0],En=ne.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=at+Nt-En,ti=Ct-at-Le.offsetHeight+En-Nt;Gn+ln.offsetHeight>=Ct?(ln.style.bottom=ti+"px",ln.className+=" has-bottom-position"):ln.style.top=Gn-Nt+"px"})}function oe(){if(g){let ne=mi.onResize(y);t(6,w=ne.isSemiCollapsed),t(8,y=ne.selectedCategory)}}function Me(ne){if(ne.code==="ArrowRight"){const at=Te.getCurrentMicrofrontendIframe();at&&at.contentWindow&&at.contentWindow.focus()}}function He(ne){let Le=O?O.parent:void 0;for(;Le;){if(Le.pathSegment&&Le.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Le});return}Le=Le.parent}console.warn('Could not resolve "up"-node, redirecting to root'),g_.navigate("/")}function be(ne,Le){mi.getCollapsed()||t(9,P=Se.storeExpandedState(ne.metaInfo.categoryUid,Le,D))}function Ke(){t(8,y=mi.closePopupMenu(y))}function St(ne){ne&&ne.code==="Escape"&&Ke()}function qt(){t(6,w=mi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),on()}function kt(ne){const Le=ne.code;(Le==="Enter"||Le==="Space")&&qt()}function Yt(ne,Le){(ne.code==="Enter"||ne==="Space")&&$(Le,ne.currentTarget)}function pn(ne,Le){ne.keyCode===Si&&Se.handleNavAnchorClickedWithoutMetaKey(ne)&&Ae(Le)}function on(){if(!Se.getBurgerTooltipConfig())return;const[ne,Le]=Se.getBurgerTooltipConfig(),at=document.body.classList.contains("lui-semiCollapsible");ne&&Le&&at&&t(11,R=document.body.classList.contains("semiCollapsed")?ne:Le)}function mn(ne,Le){return kn(ne,Le)?ne.metaInfo.titleCollapseButton?n(ne.metaInfo.titleCollapseButton):void 0:ne.metaInfo.titleExpandButton?n(ne.metaInfo.titleExpandButton):void 0}const Bi=(ne,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Ae(ne)},bn=(ne,Le)=>pn(Le,ne),Qt=ne=>be(ne,!kn(ne,P)),Rn=ne=>be(ne,!kn(ne,P)),Dt=(ne,Le)=>Yt(Le,ne),dl=(ne,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Ae(ne)},en=(ne,Le)=>pn(Le,ne),un=(ne,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Ae(ne)},zn=(ne,Le)=>pn(Le,ne),Gt=ne=>$(ne,event.currentTarget),Cn=(ne,Le)=>{Se.handleNavAnchorClickedWithoutMetaKey(Le)&&Ae(ne)},fi=(ne,Le)=>pn(Le,ne),ci=ne=>qt(),fn=ne=>qt(),Ci=ne=>kt(ne);return i.$$set=ne=>{"children"in ne&&t(0,s=ne.children),"hideNavComponent"in ne&&t(1,o=ne.hideNavComponent),"footerText"in ne&&t(2,f=ne.footerText),"semiCollapsible"in ne&&t(39,g=ne.semiCollapsible),"semiCollapsibleButton"in ne&&t(3,h=ne.semiCollapsibleButton),"semiCollapsibleButtonStyle"in ne&&t(4,_=ne.semiCollapsibleButtonStyle),"pathData"in ne&&t(5,p=ne.pathData),"pathParams"in ne&&t(42,b=ne.pathParams),"virtualGroupPrefix"in ne&&t(14,v=ne.virtualGroupPrefix),"isSemiCollapsed"in ne&&t(6,w=ne.isSemiCollapsed),"selectedNode"in ne&&t(7,C=ne.selectedNode),"selectedCategory"in ne&&t(8,y=ne.selectedCategory),"expandedCategories"in ne&&t(9,P=ne.expandedCategories),"hasCategoriesWithIcon"in ne&&t(10,T=ne.hasCategoriesWithIcon),"sideNavAccordionMode"in ne&&t(40,D=ne.sideNavAccordionMode),"burgerTooltip"in ne&&t(11,R=ne.burgerTooltip),"navHeader"in ne&&t(12,I=ne.navHeader),"navParentNode"in ne&&t(41,O=ne.navParentNode),"sortedChildrenEntries"in ne&&t(13,j=ne.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const ne=Object.entries(s);ne.sort((Le,at)=>Le[1].metaInfo.order-at[1].metaInfo.order),t(13,j=ne)}},[s,o,f,h,_,p,w,C,y,P,T,R,I,j,v,Ae,$,oe,Me,He,be,Ke,B,x,n,ee,pe,ce,le,Z,Ce,se,te,St,qt,kt,Yt,pn,mn,g,D,O,b,ge,Bi,bn,Qt,Rn,Dt,dl,en,un,zn,Gt,Cn,fi,ci,fn,Ci]}class b2 extends Et{constructor(e){super(),Rt(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=>{an.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||""})),b_(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),b_=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 ie.trimTrailingSlash(ie.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=Qr.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){A(s,e,o),r&&r.m(e,null),n||(l=ae(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&&L(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){A(s,e,o),r&&r.m(e,null),n||(l=ae(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&&L(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){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&L(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){A(t,e,n),i[26](e)},p(t,n){n[0]&4&&c(e,"alt",t[2])},d(t){t&&L(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),A(o,e,f),s&&s.m(o,f),A(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&&L(e),s&&s.d(o),o&&L(t)}}}function C2(i){let e,t,n,l,r,s,o,f,g,h;function _(C,y){return C[12]?N2:P2}let p=_(i),b=p(i),v=i[4]&&i[5]&&hd(i),w=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(),w&&w.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(C,y){A(C,e,y),S(e,t),b.m(t,null),S(e,n),S(e,l),S(l,r),S(r,s),v&&v.m(s,null),S(s,o),w&&w.m(s,null),i[36](s),g||(h=ae(t,"click",Bt(E2)),g=!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]?v?v.p(C,y):(v=hd(C),v.c(),v.m(s,o)):v&&(v.d(1),v=null),C[7]&&C[7].length>0?w?w.p(C,y):(w=gd(C),w.c(),w.m(s,null)):w&&(w.d(1),w=null),y[0]&2048&&f!==(f=!C[11].appSwitcherPopover)&&c(l,"aria-hidden",f)},d(C){C&&L(e),b.d(),v&&v.d(),w&&w.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),A(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&&L(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,_){A(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),f||(g=ae(e,"click",Bt(i[34])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&L(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),A(o,e,f),r&&r.m(o,f),A(o,t,f),s&&s.m(o,f),A(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&&L(e),r&&r.d(o),o&&L(t),s&&s.d(o),o&&L(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){A(s,e,o),S(e,t),S(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Ie(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&c(e,"href",r)},d(s){s&&L(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);A(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){dt(n,l),l&&L(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){A(p,e,b),S(e,t),S(t,l),S(e,r),S(e,s),S(e,o),h||(_=ae(e,"click",Ot(i[32])),h=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Ie(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&&L(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),A(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&&L(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,_){A(h,e,_),S(e,t),S(t,l),S(e,r),S(e,s),f||(g=ae(e,"click",Ot(i[33])),f=!0)},p(h,_){_[0]&131076&&n!==(n=h[17](h[2])+"")&&Ie(l,n),_[0]&2048&&o!==(o=h[11].appSwitcherPopover||!1)&&c(e,"aria-expanded",o)},d(h){h&&L(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){A(g,e,h),S(e,t),S(t,n),S(n,r),o||(f=ae(t,"click",Ot(i[14])),o=!0)},p(g,h){h[0]&131136&&l!==(l=g[17](g[6])+"")&&Ie(r,l),h[0]&64&&s!==(s=g[20](g[6]))&&c(t,"data-testid",s)},d(g){g&&L(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);A(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){dt(n,l),l&&L(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(e,f),g||(h=ae(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Ie(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&&L(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),A(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&&L(e)}}}function _d(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=k("li"),t=new hr(!1),l=K(),t.a=l,c(e,"class","fd-menu__item"),c(e,"tabindex","0")},m(r,s){A(r,e,s),t.m(n,e),S(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&L(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=!!ie.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),A(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&&L(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){A(o,e,f),S(e,t),S(t,l),r||(s=ae(e,"click",i[31]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&L(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){A(o,e,f),S(e,t),S(t,l),r||(s=ae(e,"click",i[30]),r=!0)},p(o,f){f[0]&131076&&n!==(n=o[17](o[2])+"")&&Ie(l,n)},d(o){o&&L(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){A(l,e,r),S(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Ie(n,t)},d(l){l&&L(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),A(o,e,f),s&&s.m(o,f),A(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&&L(e),s&&s.d(o),o&&L(t)}}}const E2=()=>{};function D2(i,e,t){let n;const l=Wt();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:w}=e,{subTitle:C}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:T}=e,D,R,I=gt("getUnsavedChangesModalPromise"),O=gt("getTranslation");ki(i,O,be=>t(17,n=be));let H=gt("store");const F={closeDropDown:()=>{z("appSwitcherPopover")}},B=()=>({get:()=>({pathData:P,pathParams:w,appSwitcherItems:b,itemRenderer:v,selectedItem:_,defaultTitle:p,title:o,subTitle:C,defaultSubTitle:y,showMainAppEntry:h,hasApps:f,hasLogo:s,logo:r}),set:be=>{be&&Object.getOwnPropertyNames(be).forEach(Ke=>{Ke==="pathData"?t(24,P=be.pathData):Ke==="appSwitcherItems"?t(7,b=be.appSwitcherItems):Ke==="itemRenderer"?t(8,v=be.itemRenderer):Ke==="pathParams"?t(9,w=be.pathParams):Ke==="selectedItem"?t(5,_=be.selectedItem):Ke==="title"?t(2,o=be.title):Ke==="defaultSubTitle"?t(23,y=be.defaultSubTitle):Ke==="subTitle"?t(10,C=be.subTitle):Ke==="defaultTitle"?t(6,p=be.defaultTitle):Ke==="subTitle"?t(10,C=be.subTitle):Ke==="showMainAppEntry"?t(4,h=be.showMainAppEntry):Ke==="hasApps"?t(3,f=be.hasApps):Ke==="hasLogo"&&t(1,s=be.hasLogo)})},store:H});Jt(()=>{v2(B())}),qn(()=>{(!R||R!=P)&&(b_(B()),R=P)});function G(be,Ke,St){return setTimeout(()=>{Ke&&v(be,Ke.children[St],F)}),""}function ee(be){I().then(()=>{et.navigateTo(me.applyPathParams(be,w))},()=>{})}function x(){I().then(()=>{et.navigateTo("/")},()=>{})}function pe(be){l("handleClick",{node:be}),z("appSwitcherPopover")}function z(be){l("toggleDropdownState",{name:be})}function j(be){return be.testId?be.testId:Se.prepareForTests(be.title||be)}function ce(be,Ke){if(be.link){const St=me.applyPathParams(be.link,Ke);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function le(be){return me.getNodeHref(be)}function Z(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ce=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&ee("/")};function se(be){$e[be?"unshift":"push"](()=>{r=be,t(0,r)})}const Ue=()=>ee("/"),te=be=>{Se.handleNavAnchorClickedWithoutMetaKey(be)&&ee("/")},Ae=()=>ee("/"),$=()=>z("appSwitcherPopover"),ge=()=>z("appSwitcherPopover"),oe=()=>z("appSwitcherPopover"),Me=(be,Ke)=>{Se.handleNavAnchorClickedWithoutMetaKey(Ke)&&ee(be.link)};function He(be){$e[be?"unshift":"push"](()=>{D=be,t(16,D)})}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,w=be.pathParams),"subTitle"in be&&t(10,C=be.subTitle),"defaultSubTitle"in be&&t(23,y=be.defaultSubTitle),"pathData"in be&&t(24,P=be.pathData),"addNavHrefForAnchor"in be&&t(12,T=be.addNavHrefForAnchor)},[r,s,o,f,h,_,p,b,v,w,C,g,T,ee,x,z,D,n,O,G,j,ce,le,y,P,pe,Z,Ce,se,Ue,te,Ae,$,ge,oe,Me,He]}class V2 extends Et{constructor(e){super(),Rt(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){A(g,e,h),o&&o.m(e,null),A(g,t,h),A(g,n,h),S(n,l),S(l,r),S(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&&L(e),o&&o.d(),g&&L(t),g&&L(n),f&&f.d()}}}function wd(i){let e,t,n,l,r,s,o;function f(C,y){return C[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 C=0;C<b.length;C+=1)v[C]=yd(bd(i,b,C));let w=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 C=0;C<v.length;C+=1)v[C].c();o=K(),w&&w.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(C,y){A(C,e,y),h.m(e,null),A(C,t,y),A(C,n,y),_&&_.m(n,null),S(n,l),p&&p.m(n,null),A(C,r,y),A(C,s,y);for(let P=0;P<v.length;P+=1)v[P].m(s,null);S(s,o),w&&w.m(s,null)},p(C,y){if(g===(g=f(C))&&h?h.p(C,y):(h.d(1),h=g(C),h&&(h.c(),h.m(e,null))),C[7].name?_?_.p(C,y):(_=Sd(C),_.c(),_.m(n,l)):_&&(_.d(1),_=null),C[7].description?p?p.p(C,y):(p=kd(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const T=bd(C,b,P);v[P]?v[P].p(T,y):(v[P]=yd(T),v[P].c(),v[P].m(s,o))}for(;P<v.length;P+=1)v[P].d(1);v.length=b.length}C[12]?w?w.p(C,y):(w=Pd(C),w.c(),w.m(s,null)):w&&(w.d(1),w=null)},d(C){C&&L(e),h.d(),C&&L(t),C&&L(n),_&&_.d(),p&&p.d(),C&&L(r),C&&L(s),dt(v,C),w&&w.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){A(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ie(n,t)},d(l){l&&L(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){A(t,e,n)},p(t,n){n[0]&128&&oi(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(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){A(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Ie(n,t)},d(l){l&&L(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){A(l,e,r),S(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Ie(n,t)},d(l){l&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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){A(b,e,v),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(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)+"")&&Ie(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&&L(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,_){A(h,e,_),S(e,t),g&&g.m(t,null),S(t,n),S(t,l),S(l,s),o||(f=[ae(e,"click",Ot(i[5])),ae(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)+"")&&Ie(s,r)},d(h){h&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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),A(r,e,s),l&&l.m(r,s),A(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&&L(e),l&&l.d(r),r&&L(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){A(f,e,g),S(e,t),S(t,l),s||(o=ae(t,"click",i[4]),s=!0)},p(f,g){g[0]&8704&&n!==(n=f[13](f[9].logout.label)+"")&&Ie(l,n),g[0]&512&&r!==(r=f[18](f[9].logout))&&c(e,"data-testid",r)},d(f){f&&L(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){A(s,e,o),A(s,t,o),A(s,n,o),l||(r=[ae(e,"click",i[15]),ae(n,"click",i[15])],l=!0)},p:Fe,d(s){s&&L(e),s&&L(t),s&&L(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),A(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&&L(e)}}}function q2(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,w=gt("store"),C=gt("getTranslation");ki(i,C,Z=>t(13,n=Z));let y=gt("getUnsavedChangesModalPromise"),P=gt("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Z=>{t(8,f=Z)}),nn.getUserInfoStore().subscribe(Z=>{t(7,o=Z),l("userInfoUpdated",o)})});function T(){nn.startAuthorization()}function D(Z){return Se.renderIconClassName(Z)}function R(Z){return Se.isOpenUIiconName(Z.icon)}function I(Z){return Z.testId?Z.testId:Se.prepareForTests(Z.label)}function O(Z){return me.getNodeHref(Z)}function H(){b||(an.doOnStoreChange(w,async()=>{const Z=await re.getConfigValueAsync("navigation.profile.logout"),Ce=await re.getConfigValueAsync("userSettings"),se=Ce||await re.getConfigValueAsync("settings.userSettings"),Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(Boolean(se)){const te=se.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...te}}Ue.logout={...ul.logout,...Z},t(11,_=Boolean(Z)),v=!1,nn.setProfileLogoutFn(null),Z&&ie.isFunction(Z.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Z.customLogoutFn)),t(9,g=Ue),t(12,p=Boolean(se))},["navigation.profile"]),b=!0)}async function F(){const Z=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Z&&(nn.setUserInfo(o),t(7,o=Z),l("userInfoUpdated",o))}function B(Z){y().then(()=>{if(Z.openNodeInModal){const Ce=me.buildRoute(Z,`${Z.link}`);P(Ce,Z.openNodeInModal===!0?{}:Z.openNodeInModal)}else et.navigateToLink(Z)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?x():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){Qr.openUserSettings(),l("toggleDropdownState")}function x(){nn.logout()}function pe({keyCode:Z}){(Z===Si||Z===Jr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:z}=e;const j=Z=>{Se.handleNavAnchorClickedWithoutMetaKey(Z)},ce=Z=>B(Z),le=Z=>pe(Z);return i.$$set=Z=>{"isHidden"in Z&&t(1,r=Z.isHidden),"addNavHrefForAnchor"in Z&&t(2,s=Z.addNavHrefForAnchor),"showUserInfo"in Z&&t(0,z=Z.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,z=Boolean(o&&(o.name||o.email)))},[z,r,s,B,G,ee,pe,o,f,g,h,_,p,n,C,T,D,R,I,O,H,F,x,j,ce,le]}class z2 extends Et{constructor(e){super(),Rt(this,e,q2,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){A(_,e,p),S(e,t),s&&s.m(t,null),S(t,n);for(let b=0;b<f.length;b+=1)f[b].m(t,null);S(t,l),g&&g.m(t,null),S(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(_){_&&L(e),s&&s.d(),dt(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){A(r,e,s),S(e,t),S(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Ie(l,n)},d(r){r&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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){A(b,e,v),S(e,t),_&&_.m(t,null),S(t,n),S(t,l),S(l,s),g||(h=[ae(t,"click",i[23]),ae(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)+"")&&Ie(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&&L(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){A(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),f||(g=[ae(e,"click",Ot(i[5])),ae(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)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&c(e,"data-testid",o)},d(_){_&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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),A(r,e,s),l&&l.m(r,s),A(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&&L(e),l&&l.d(r),r&&L(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){A(_,e,p),S(e,t),h&&h.m(t,null),S(t,n),S(t,l),S(l,s),f||(g=ae(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)+"")&&Ie(s,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&c(e,"data-testid",o)},d(_){_&&L(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),A(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&&L(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){A(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&&L(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){A(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&&L(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){A(l,e,r),t||(n=ae(e,"click",i[15]),t=!0)},p:Fe,d(l){l&&L(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),A(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&&L(e)}}}function X2(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,f,g={logout:{},items:[],settings:{}},h,_,p,b,v,w=gt("store"),C=gt("getTranslation");ki(i,C,Z=>t(13,n=Z));let y=gt("getUnsavedChangesModalPromise"),P=gt("openViewInModal");Jt(async()=>{vi.isAuthorizationEnabled()?t(10,h=!0):(t(10,h=!1),F()),H(),nn.getLoggedInStore().subscribe(Z=>{t(8,f=Z)}),nn.getUserInfoStore().subscribe(Z=>{t(7,o=Z),l("userInfoUpdated",o)})});function T(){nn.startAuthorization()}function D(Z){return Se.renderIconClassName(Z)}function R(Z){return Se.isOpenUIiconName(Z.icon)}function I(Z){return Z.testId?Z.testId:Se.prepareForTests(Z.label)}function O(Z){return me.getNodeHref(Z)}function H(){b||(an.doOnStoreChange(w,async()=>{const Z=await re.getConfigValueAsync("navigation.profile.logout"),Ce=await re.getConfigValueAsync("userSettings"),se=Ce||await re.getConfigValueAsync("settings.userSettings");t(12,p=Boolean(se));const Ue={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const te=se.userSettingsProfileMenuEntry;Ue.settings={...ul.userSettingsProfileMenuEntry,...te}}Ue.logout={...ul.logout,...Z},t(11,_=Boolean(Z)),v=!1,nn.setProfileLogoutFn(null),Z&&ie.isFunction(Z.customLogoutFn)&&(v=!0,nn.setProfileLogoutFn(Z.customLogoutFn)),t(9,g=Ue)},["navigation.profile"]),b=!0)}async function F(){const Z=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");Z&&(nn.setUserInfo(o),t(7,o=Z),l("userInfoUpdated",o))}function B(Z){y().then(()=>{if(Z.openNodeInModal){const Ce=me.buildRoute(Z,`${Z.link}`);P(Ce,Z.openNodeInModal===!0?{}:Z.openNodeInModal)}else et.navigateToLink(Z)},()=>{}),l("toggleDropdownState")}function G(){y().then(()=>{h?x():_&&v?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function ee(){Qr.openUserSettings(),l("toggleDropdownState")}function x(){nn.logout()}function pe({keyCode:Z}){(Z===Si||Z===Jr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:z}=e;const j=Z=>{Se.handleNavAnchorClickedWithoutMetaKey(Z)},ce=Z=>B(Z),le=Z=>pe(Z);return i.$$set=Z=>{"isHidden"in Z&&t(1,r=Z.isHidden),"addNavHrefForAnchor"in Z&&t(2,s=Z.addNavHrefForAnchor),"showUserInfo"in Z&&t(0,z=Z.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,z=Boolean(o&&(o.name||o.email)))},[z,r,s,B,G,ee,pe,o,f,g,h,_,p,n,C,T,D,R,I,O,H,F,x,j,ce,le]}class v_ extends Et{constructor(e){super(),Rt(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 qd(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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(e)}}}function zd(i){let e,t,n,l,r,s,o,f,g=i[4](i[12])+"",h,_,p=i[5](i[12]),b,v,w,C,y,P;function T(H,F){return F&10&&(n=null),n==null&&(n=!!H[3](H[12])),n?x2:$2}let D=T(i,-1),R=D(i);r=new ei({props:{node:i[12]}});let I=p&&Gd(i);function O(){return i[10](i[12])}return{c(){e=k("li"),t=k("div"),R.c(),l=K(),Ge(r.$$.fragment),s=K(),o=k("div"),f=k("div"),h=Ne(g),_=K(),I&&I.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",w=i[2](i[12]))},m(H,F){A(H,e,F),S(e,t),R.m(t,null),S(t,l),We(r,t,null),S(e,s),S(e,o),S(o,f),S(f,h),S(o,_),I&&I.m(o,null),S(e,b),C=!0,y||(P=ae(e,"click",O),y=!0)},p(H,F){i=H,D===(D=T(i,F))&&R?R.p(i,F):(R.d(1),R=D(i),R&&(R.c(),R.m(t,l)));const B={};F&2&&(B.node=i[12]),r.$set(B),(!C||F&18)&&g!==(g=i[4](i[12])+"")&&Ie(h,g),F&34&&(p=i[5](i[12])),p?I?I.p(i,F):(I=Gd(i),I.c(),I.m(o,null)):I&&(I.d(1),I=null),(!C||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),(!C||F&6&&w!==(w=i[2](i[12])))&&c(e,"data-testid",w)},i(H){C||(M(r.$$.fragment,H),C=!0)},o(H){q(r.$$.fragment,H),C=!1},d(H){H&&L(e),R.d(),qe(r),I&&I.d(),y=!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){A(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&&L(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){A(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&&L(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){A(l,e,r),S(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Ie(n,t)},d(l){l&&L(e)}}}function Kd(i){let e,t,n=i[12].label&&zd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&M(n,1)):(n=zd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ek(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y,P,T,D=i[1]&&qd(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"),D&&D.c(),p=K(),b=k("footer"),v=k("div"),w=k("div"),C=k("button"),C.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(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(C,"data-testid","mobile-topnav-close"),c(w,"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(R,I){A(R,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(t,f),S(t,g),S(g,h),S(h,_),D&&D.m(_,null),S(t,p),S(t,b),S(b,v),S(v,w),S(w,C),y=!0,P||(T=[ae(C,"click",i[9]),ae(e,"click",Bt(tk))],P=!0)},p(R,[I]){(!y||I&1)&&Ie(o,R[0]),R[1]?D?(D.p(R,I),I&2&&M(D,1)):(D=qd(R),D.c(),M(D,1),D.m(_,null)):D&&(ye(),q(D,1,1,()=>{D=null}),Pe())},i(R){y||(M(D),y=!0)},o(R){q(D),y=!1},d(R){R&&L(e),D&&D.d(),P=!1,Ze(T)}}}const tk=()=>{};function nk(i,e,t){const n=Wt();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:f}=e,{getNodeSubtitle:g}=e,{noSubTitle:h}=e;function _(w){return Se.renderIconClassName(w)}function p(w){n("listClick",w)}function b(w){Rl.call(this,i,w)}const v=w=>p(w);return i.$$set=w=>{"label"in w&&t(0,l=w.label),"nodes"in w&&t(1,r=w.nodes),"getTestId"in w&&t(2,s=w.getTestId),"hasOpenUIicon"in w&&t(3,o=w.hasOpenUIicon),"getNodeLabel"in w&&t(4,f=w.getNodeLabel),"getNodeSubtitle"in w&&t(5,g=w.getNodeSubtitle),"noSubTitle"in w&&t(6,h=w.noSubTitle)},[l,r,s,o,f,g,h,p,_,b,v]}class w_ extends Et{constructor(e){super(),Rt(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}=cl;function jd(i,e,t){const n=i.slice();return n[7]=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){A(r,e,s),S(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&&(ye(),q(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){r&&L(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);A(s,e,o),t=!0},p(s,o){if(o&15885){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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(e)}}}function Qd(i){let e,t,n,l,r,s,o,f,g=i[11](i[7])+"",h,_,p,b,v,w,C;function y(R,I){return I&1&&(l=null),l==null&&(l=!!(R[7].icon&&R[9](R[7]))),l?rk:lk}let P=y(i,-1),T=P(i);s=new ei({props:{node:i[7]}});function D(){return i[15](i[7])}return{c(){e=k("li"),t=k("a"),n=k("span"),T.c(),r=K(),Ge(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[2]?i[13](i[7]):void 0),c(t,"class","fd-menu__link"),c(e,"class","fd-menu__item"),c(e,"data-testid",b=i[12](i[7]))},m(R,I){A(R,e,I),S(e,t),S(t,n),T.m(n,null),S(n,r),We(s,n,null),S(t,o),S(t,f),S(f,h),S(e,p),v=!0,w||(C=[ae(t,"click",i[14]),ae(e,"click",D)],w=!0)},p(R,I){i=R,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const O={};I&1&&(O.node=i[7]),s.$set(O),(!v||I&1)&&g!==(g=i[11](i[7])+"")&&Ie(h,g),(!v||I&5&&_!==(_=i[2]?i[13](i[7]):void 0))&&c(t,"href",_),(!v||I&1&&b!==(b=i[12](i[7])))&&c(e,"data-testid",b)},i(R){v||(M(s.$$.fragment,R),v=!0)},o(R){q(s.$$.fragment,R),v=!1},d(R){R&&L(e),T.d(),qe(s),w=!1,Ze(C)}}}function lk(i){let e,t,n;return{c(){e=k("img"),c(e,"class","sap-icon svelte-1gqx0dl"),lt(e.src,t=i[7].icon)||c(e,"src",t),c(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!lt(e.src,t=l[7].icon)&&c(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&c(e,"alt",n)},d(l){l&&L(e)}}}function rk(i){let e,t;return{c(){e=k("i"),c(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&c(e,"class",t)},d(n){n&&L(e)}}}function Zd(i){let e,t,n=i[7].label&&Qd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&M(n,1)):(n=Qd(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Xd(i){let e,t;return e=new w_({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Ge(e.$$.fragment)},m(n,l){We(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(M(e.$$.fragment,n),t=!0)},o(n){q(e.$$.fragment,n),t=!1},d(n){qe(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),A(f,e,g),o&&o.m(f,g),A(f,t,g),n=!0,l||(r=ae(ik,"resize",ua),l=!0)},p(f,[g]){f[1]?s&&(ye(),q(s,1,1,()=>{s=null}),Pe()):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&&(ye(),q(o,1,1,()=>{o=null}),Pe())},i(f){n||(M(s),M(o),n=!0)},o(f){q(s),q(o),n=!1},d(f){s&&s.d(f),f&&L(e),o&&o.d(f),f&&L(t),l=!1,r()}}}function ua(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function ak(i,e,t){const n=Wt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,f=gt("getUnsavedChangesModalPromise"),g=gt("openViewInModal"),{addNavHrefForAnchor:h}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:O=>{}});Jt(async()=>{ua()}),qn(async()=>{r||t(0,r=await Mt.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())},()=>{}),w()}function v(O){b(O.detail)}function w(){n("close")}function C(O){return Se.isOpenUIiconName(O.icon)}function y(O){return Se.renderIconClassName(O)}function P(O){return pt.getTranslation(O.label)}function T(O){return O.testId?O.testId:Se.prepareForTests(O.pathSegment,O.label)}function D(O){return me.getNodeHref(O,o)}const R=O=>{Se.handleNavAnchorClickedWithoutMetaKey(O)},I=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(7,s=O.node),"addNavHrefForAnchor"in O&&t(2,h=O.addNavHrefForAnchor)},[r,l,h,b,v,w,ua,s,_,C,y,P,T,D,R,I]}class S_ extends Et{constructor(e){super(),Rt(this,e,ak,sk,Tt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return ua}}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?ie.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=ie.addLeadingSlash(et.getCurrentPath()),n=ie.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ie.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=ie.normalizePath(i),n=ie.normalizePath(e);return 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=ie.normalizePath(i),t=ie.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){A(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&&L(e),dt(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",Ot(gk)),ae(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(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&&L(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),A(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&&L(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>
55
55
  <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){A(t,e,n)},d(t){t&&L(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);A(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){dt(n,l),l&&L(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,_){A(h,e,_),f.m(e,null),A(h,n,_),l||(r=ae(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&&L(e),f.d(),h&&L(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,_){A(h,e,_),S(e,t),S(t,l),f||(g=ae(e,"click",i[16]),f=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ie(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&&L(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),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&L(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){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&ia(t,n)||l_(n,i,r)},d(l){l&&L(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){A(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&&L(e),dt(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",i[18]),ae(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(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&&L(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),A(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&&L(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){A(_,e,p),o&&o.m(e,null),S(e,t),S(e,n),f&&f.m(n,null),S(n,l),g&&g.m(n,null),S(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(_){_&&L(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=Ao(C,B=>t(14,n=B)),C);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:w}=e,{getTranslation:C}=e;r();let{isContextSwitcherDropdownShown:y}=e;const P=Wt();function T(B){P("onActionClick",{node:B})}function D(B,G){P("goToOption",{option:B,selectedOption:G})}const R=B=>T(B),I=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},O=B=>D(B,_),H=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},F=B=>T(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,w=B.getTestId),"getTranslation"in B&&r(t(10,C=B.getTranslation)),"isContextSwitcherDropdownShown"in B&&t(11,y=B.isContextSwitcherDropdownShown)},[s,o,f,g,h,_,p,b,v,w,C,y,T,D,n,R,I,O,H,F]}class k_ 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),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,o){s[9]?l&&(ye(),q(l,1,1,()=>{l=null}),Pe()):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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function ch(i){let e,t,n,l,r,s,o,f,g,h;function _(v,w){return v[10]&&v[2]!==v[5].defaultLabel?mk:pk}let p=_(i),b=p(i);return s=new k_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[11]),s.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=K(),r=k("div"),ze(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,w){A(v,e,w),S(e,t),S(t,n),b.m(n,null),S(t,l),S(t,r),We(s,r,null),f=!0,g||(h=ae(n,"click",Ut(Ik)),g=!0)},p(v,w){p===(p=_(v))&&b?b.p(v,w):(b.d(1),b=p(v),b&&(b.c(),b.m(n,null)));const C={};w[0]&1&&(C.actions=v[0]),w[0]&32&&(C.config=v[5]),w[0]&64&&(C.customOptionsRenderer=v[6]),w[0]&2&&(C.options=v[1]),w[0]&16&&(C.selectedLabel=v[4]),w[0]&4&&(C.selectedOption=v[2]),w[0]&512&&(C.isMobile=v[9]),w[0]&16384&&(C.isContextSwitcherDropdownShown=v[14]),s.$set(C),(!f||w[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&&L(e),b.d(),qe(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,_){A(h,e,_),g.m(e,null),r||(s=ae(e,"click",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]&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&&L(e),g.d(),r=!1,s()}}}function mk(i){let e,t,n,l,r,s,o;function f(_,p){return _[2]&&_[7]?Ck:kk}let g=f(i),h=g(i);return{c(){e=k("a"),h.c(),c(e,"href",t=i[2]?i[20](i[2]):void 0),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",n=i[8].contextSwitcherPopover||!1),c(e,"aria-haspopup","true"),c(e,"title",l=i[4]?i[4]:i[5].defaultLabel),c(e,"aria-disabled",r=!i[15]),c(e,"data-testid","luigi-contextswitcher-button")},m(_,p){A(_,e,p),h.m(e,null),s||(o=ae(e,"click",Mt(i[29])),s=!0)},p(_,p){g===(g=f(_))&&h?h.p(_,p):(h.d(1),h=g(_),h&&(h.c(),h.m(e,null))),p[0]&4&&t!==(t=_[2]?_[20](_[2]):void 0)&&c(e,"href",t),p[0]&256&&n!==(n=_[8].contextSwitcherPopover||!1)&&c(e,"aria-expanded",n),p[0]&48&&l!==(l=_[4]?_[4]:_[5].defaultLabel)&&c(e,"title",l),p[0]&32768&&r!==(r=!_[15])&&c(e,"aria-disabled",r)},d(_){_&&L(e),h.d(),s=!1,o()}}}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),A(s,e,o),A(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&&L(e),s&&L(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),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function wk(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&L(e)}}}function Sk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&L(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),A(s,e,o),A(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&&L(e),s&&L(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),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function yk(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&L(e)}}}function Pk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&L(t)}}}function dh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y,P,T=!i[4]&&hh(i),D=i[4]&&gh(i);return h=new k_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[11]),h.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),T&&T.c(),o=K(),D&&D.c(),f=K(),g=k("div"),ze(h.$$.fragment),_=K(),p=k("footer"),b=k("div"),v=k("div"),w=k("button"),w.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(w,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(w,"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(R,I){A(R,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),T&&T.m(s,null),S(s,o),D&&D.m(s,null),S(t,f),S(t,g),We(h,g,null),S(t,_),S(t,p),S(p,b),S(b,v),S(v,w),C=!0,y||(P=[ae(w,"click",i[13]),ae(e,"click",Ut(Tk))],y=!0)},p(R,I){R[4]?T&&(T.d(1),T=null):T?T.p(R,I):(T=hh(R),T.c(),T.m(s,o)),R[4]?D?D.p(R,I):(D=gh(R),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const O={};I[0]&1&&(O.actions=R[0]),I[0]&32&&(O.config=R[5]),I[0]&64&&(O.customOptionsRenderer=R[6]),I[0]&2&&(O.options=R[1]),I[0]&16&&(O.selectedLabel=R[4]),I[0]&4&&(O.selectedOption=R[2]),I[0]&512&&(O.isMobile=R[9]),I[0]&16384&&(O.isContextSwitcherDropdownShown=R[14]),h.$set(O)},i(R){C||(M(h.$$.fragment,R),C=!0)},o(R){q(h.$$.fragment,R),C=!1},d(R){R&&L(e),T&&T.d(),D&&D.d(),qe(h),y=!1,Ze(P)}}}function hh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&L(t)}}}function gh(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const Ik=()=>{},Tk=()=>{};function Lk(i,e,t){let n,l;const r=Wt();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:w}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:T=!1}=e,{defaultLabel:D}=e,R,I=ht("getUnsavedChangesModalPromise"),O=ht("store"),H=ht("getTranslation");Ci(i,H,te=>t(16,l=te));let F=!1,{addNavHrefForAnchor:B}=e,G;Jt(async()=>{an.doOnStoreChange(O,async()=>{const te=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!te),!!s&&(t(6,C=ie.isFunction(te.customOptionsRenderer)?te.customOptionsRenderer:void 0),t(7,y=ie.isFunction(te.customSelectedOptionRenderer)?te.customSelectedOptionRenderer:void 0),t(5,g=te),t(1,_=void 0),te)){t(28,p=te.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ae=et.getCurrentPath();t(21,v=te.fallbackLabelResolver),gn.resetFallbackLabelCache(),te.lazyloadOptions||await z(),gn.isContextSwitcherDetailsView(Ae,te.parentNodePath)&&await j(Ae)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(te=>j(te)),Rn.addEventListener("message",te=>{!Te.getValidMessageSource(te)||te.data&&te.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),z())}),t(22,D=g.defaultLabel)}),qn(()=>{F!==T&&(F=T,z()),t(14,G=o.contextSwitcherPopover||!1)});function ee(te,Ae,$){return te?Promise.resolve(te):gn.getFallbackLabel(Ae,$)}function x(te){return te.testId?te.testId:Se.prepareForTests(te.pathSegment,te.label)}function pe(te){return me.getNodeHref(te,w)}async function z(){t(1,_=await gn.fetchOptions(_));const te=g||{},Ae=te.parentNodePath,$=te.fallbackLabelResolver,ge=et.getCurrentPath();t(2,b=await gn.getSelectedOption(ge,_,Ae)),t(4,f=await gn.getSelectedLabel(ge,_,Ae,$)),await gn.getSelectedNode(ge,_,Ae),R=te.preserveSubPathOnSwitch}async function j(te){const Ae=g||{},$=Ae.parentNodePath,ge=Ae.fallbackLabelResolver;t(2,b=await gn.getSelectedOption(te,_,$)),t(4,f=await gn.getSelectedLabel(te,_,$,ge)),await gn.getSelectedNode(te,_,$)}async function ce(te){let Ae=te.detail.node;Ae.clickHandler&&!await Ae.clickHandler(Ae)||(setTimeout(()=>{le(Ae.link)}),P&&r("toggleDropdownState"))}function le(te){I().then(()=>{et.navigateTo(te)},()=>{})}function Z(te){let Ae=te.detail.option,$=te.detail.selectedOption;I().then(()=>{R&&$?et.navigateTo(gn.getNodePathFromCurrentPath(Ae,$)):et.navigateTo(Ae.link),P&&r("toggleDropdownState")},()=>{})}function Ce(){r("toggleDropdownState");const te=o||{};JSON.parse(te.contextSwitcherPopover)&&z()}const se=()=>{n&&Ce()},Ue=()=>{n&&Ce()};return i.$$set=te=>{"contextSwitcherEnabled"in te&&t(3,s=te.contextSwitcherEnabled),"dropDownStates"in te&&t(8,o=te.dropDownStates),"selectedLabel"in te&&t(4,f=te.selectedLabel),"config"in te&&t(5,g=te.config),"actions"in te&&t(0,h=te.actions),"options"in te&&t(1,_=te.options),"selectedOption"in te&&t(2,b=te.selectedOption),"fallbackLabelResolver"in te&&t(21,v=te.fallbackLabelResolver),"pathParams"in te&&t(23,w=te.pathParams),"customOptionsRenderer"in te&&t(6,C=te.customOptionsRenderer),"customSelectedOptionRenderer"in te&&t(7,y=te.customSelectedOptionRenderer),"isMobile"in te&&t(9,P=te.isMobile),"contextSwitcherToggle"in te&&t(24,T=te.contextSwitcherToggle),"defaultLabel"in te&&t(22,D=te.defaultLabel),"addNavHrefForAnchor"in te&&t(10,B=te.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&268435463&&t(15,n=p||h&&h.length>0||_&&_.length>1||!b)},[h,_,b,s,f,g,C,y,o,P,B,ce,Z,Ce,G,n,l,H,ee,x,pe,v,D,w,T,z,j,le,p,se,Ue]}class C_ 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:21,pathParams:23,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:24,defaultLabel:22,addNavHrefForAnchor:10,fetchOptions:25,setSelectedContext:26,onActionClick:11,goToPath:27,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[25]}get setSelectedContext(){return this.$$.ctx[26]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[27]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:Ak}=ul;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),A(s,e,o),r&&r.m(s,o),A(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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function mh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y;function P(O,H){return H&2&&(s=null),s==null&&(s=!!O[11](O[1])),s?Ek:Rk}let T=P(i,-1),D=T(i),R=i[0],I=[];for(let O=0;O<R.length;O+=1)I[O]=Sh(_h(i,R,O));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=K(),_=k("div"),p=k("div"),b=k("ul");for(let O=0;O<I.length;O+=1)I[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",w=!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){A(O,e,H),S(e,t),S(t,n),S(n,l),S(l,r),D.m(r,null),S(n,h),S(n,_),S(_,p),S(p,b);for(let F=0;F<I.length;F+=1)I[F].m(b,null);C||(y=[ae(r,"click",Ut(i[7])),ae(l,"click",Ut(Hk))],C=!0)},p(O,H){if(T===(T=P(O,H))&&D?D.p(O,H):(D.d(1),D=T(O),D&&(D.c(),D.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){R=O[0];let F;for(F=0;F<R.length;F+=1){const B=_h(O,R,F);I[F]?I[F].p(B,H):(I[F]=Sh(B),I[F].c(),I[F].m(b,null))}for(;F<I.length;F+=1)I[F].d(1);I.length=R.length}H&512&&v!==(v=ei(O[9])+" svelte-1e1qi56")&&c(p,"class",v),H&8&&w!==(w=!O[3].productSwitcherPopover)&&c(_,"aria-hidden",w)},d(O){O&&L(e),D.d(),dt(I,O),C=!1,Ze(y)}}}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){A(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&&L(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){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&c(e,"class",t)},d(n){n&&L(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){A(_,e,p),g.m(e,null),S(e,t),r||(s=ae(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(_){_&&L(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,w){return w&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,w){A(v,e,w),p.m(e,null),A(v,n,w),A(v,l,w),S(l,r),S(r,o),S(l,f),b&&b.m(l,null)},p(v,w){_===(_=h(v,w))&&p?p.p(v,w):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),w&1&&s!==(s=v[12](v[22])+"")&&Ie(o,s),w&1&&(g=v[13](v[22])),g?b?b.p(v,w):(b=vh(v),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(v){v&&L(e),p.d(),v&&L(n),v&&L(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,T){return T&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?Uk:Fk}let w=v(i,-1),C=w(i),y=h&&wh(i);return{c(){e=k("a"),t=k("div"),C.c(),l=K(),r=k("div"),s=k("div"),f=Ne(o),g=K(),y&&y.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,T){A(P,e,T),S(e,t),C.m(t,null),S(e,l),S(e,r),S(r,s),S(s,f),S(r,g),y&&y.m(r,null),p||(b=ae(e,"click",i[16]),p=!0)},p(P,T){w===(w=v(P,T))&&C?C.p(P,T):(C.d(1),C=w(P),C&&(C.c(),C.m(t,null))),T&1&&o!==(o=P[12](P[22])+"")&&Ie(f,o),T&1&&(h=P[13](P[22])),h?y?y.p(P,T):(y=wh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),T&1&&_!==(_=P[15](P[22]))&&c(e,"href",_)},d(P){P&&L(e),C.d(),y&&y.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){A(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&&L(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){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&c(e,"class",t)},d(n){n&&L(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){A(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&L(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){A(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&&L(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){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&c(e,"class",t)},d(n){n&&L(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){A(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&L(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),A(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&&L(e)}}}function kh(i){let e,t;return e=new w_({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(){ze(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){qe(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),A(o,t,f),n=!0,l||(r=ae(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&&(ye(),q(s,1,1,()=>{s=null}),Pe())},i(o){n||(M(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&L(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=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,f=ht("store"),g=ht("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{an.doOnStoreChange(f,async()=>{t(1,s=Se.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),T()),oa()},["navigation.productSwitcher"])});function p(H){g().then(()=>{et.navigateToLink(H)},()=>{}),v()}function b(H){p(H.detail)}function v(){n("toggleDropdownState")}function w(H){return Se.renderIconClassName(H)}function C(H){return Se.isOpenUIiconName(H.icon)}function y(H){return pt.getTranslation(H.label)}function P(H){return pt.getTranslation(H.subTitle)}function T(){Se.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function D(H){return H.testId?H.testId:Se.prepareForTests(H.label)}function R(H){return me.getNodeHref(H)}const I=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,w,C,y,P,D,R,I,O]}class y_ 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 qk(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){A(l,e,r),i[19](e),e.focus(),t||(n=ae(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&L(e),i[19](null),t=!1,n()}}}function zk(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){A(t,e,n),e.focus()},p:Fe,d(t){t&&L(e)}}}function Gk(i){let e;return{c(){e=k("div")},m(t,n){A(t,e,n),i[23](e)},p:Fe,d(t){t&&L(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){A(r,e,s),S(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&&L(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){A(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&&L(e),dt(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),A(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&&L(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Mt(Qk)),h=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Ie(r,l),b[0]&32&&f!==(f=p[31].description+"")&&Ie(g,f)},d(p){p&&L(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,_){A(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",f),ae(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&&L(e),o.d(),n=!1,Ze(l)}}}function Yk(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w;function C(I,O){return I[7]&&I[7].disableInputHandlers?zk:qk}let y=C(i),P=y(i);function T(I,O){return I[8]?Gk:Kk}let D=T(i),R=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),P.c(),r=K(),R.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(I,O){A(I,e,O),S(e,t),S(t,n),S(n,l),P.m(l,null),S(n,r),R.m(n,null),A(I,f,O),A(I,g,O),S(g,h),S(h,_),S(_,p),v||(w=[ae(window,"click",i[11]),ae(window,"blur",i[11]),ae(n,"click",Ut(Zk)),ae(_,"click",i[6]),ae(h,"click",Ut(Xk))],v=!0)},p(I,O){y===(y=C(I))&&P?P.p(I,O):(P.d(1),P=y(I),P&&(P.c(),P.m(l,null))),D===(D=T(I))&&R?R.p(I,O):(R.d(1),R=D(I),R&&(R.c(),R.m(n,null))),O[0]&16&&s!==(s=!I[4])&&c(n,"aria-hidden",s),O[0]&16&&o!==(o="fd-shellbar__action "+(I[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&c(e,"class",o),O[0]&16&&b!==(b=!I[4])&&c(_,"aria-expanded",b)},i:Fe,o:Fe,d(I){I&&L(e),P.d(),R.d(),I&&L(f),I&&L(g),v=!1,Ze(w)}}}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 _=Wt(),p={fireItemSelected:le=>{b.searchProvider.onSearchResultItemSelected(le)}};let b={},v,w;Jt(async()=>{t(7,b=h);let le=o;const Z=y(b.searchProvider);Z&&(le.placeholder=Z),C()}),qn(()=>{t(7,b=h),C()});function C(){!b.searchProvider||(t(8,v=ie.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,w=ie.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function y(le){if(!le||!le.inputPlaceholder)return;const Z=pt.getCurrentLocale();if(ie.isFunction(le.inputPlaceholder))return le.inputPlaceholder();if(typeof le.inputPlaceholder=="string"){const Ce=pt.getTranslation(le.inputPlaceholder);return!!Ce&&Ce.trim().length>0?Ce:le.inputPlaceholder}if(typeof le.inputPlaceholder=="object")return le.inputPlaceholder[Z]}function P(le,Z,Ce){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer(le,Z.children[Ce],p)}),""}function T(){_("closeSearchResult")}function D({keyCode:le}){b&&b.searchProvider?ie.isFunction(b.searchProvider.onEnter)&&le===ki?b.searchProvider.onEnter():ie.isFunction(b.searchProvider.onEscape)&&le===Si?b.searchProvider.onEscape():le===Fi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function R(le){let Z=g.children;if(Z)for(let Ce=0;Ce<Z.length;Ce++){let{childNodes:se,nextSibling:Ue,previousSibling:te}=Z[Ce],Ae;if(se[0].getAttribute("aria-selected")==="true"){le===Fi&&(Ae=Ue!==null?Ue:Z[0]),le===Dl&&(Ae=te!==null?te:Z[Z.length-1]),se[0].setAttribute("aria-selected","false"),Ae.childNodes[0].setAttribute("aria-selected","true"),Ae.focus();break}}}function I(){let le=g.children;if(le)for(let Z=0;Z<le.length;Z++){let Ce=le[Z];Ce.childNodes[0].getAttribute("aria-selected")==="true"&&Ce.childNodes[0].setAttribute("aria-selected","false")}}function O(le){b&&ie.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected(le):ie.isFunction(b.searchProvider.onEscape)&&event.keyCode===Si&&b.searchProvider.onEscape()}function H(le,{keyCode:Z}){Z===ki&&b.searchProvider.onSearchResultItemSelected(le),Z===Dl||Z===Fi?R(Z):ie.isFunction(b.searchProvider.onEscape)&&Z===Si&&(I(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function F(le){let Z=le.pathObject;Z.externalLink?et.navigateToLink(Z):_("handleSearchNavigation",{node:Z})}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&&ie.isFunction(b.searchProvider.toggleSearch)){const le=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,le)}}const ee=le=>D(le);function x(le){$e[le?"unshift":"push"](()=>{o=le,t(1,o)})}const pe=(le,Z)=>O(le),z=(le,Z)=>H(le,Z);function j(le){$e[le?"unshift":"push"](()=>{g=le,t(3,g)})}function ce(le){$e[le?"unshift":"push"](()=>{f=le,t(2,f)})}return i.$$set=le=>{"isSearchFieldVisible"in le&&t(4,n=le.isSearchFieldVisible),"searchResult"in le&&t(5,l=le.searchResult),"displaySearchResult"in le&&t(0,r=le.displaySearchResult),"displayCustomSearchResult"in le&&t(15,s=le.displayCustomSearchResult),"inputElem"in le&&t(1,o=le.inputElem),"luigiCustomSearchRenderer__slot"in le&&t(2,f=le.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in le&&t(3,g=le.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in le&&t(16,h=le.globalSearchConfig)},[r,o,f,g,n,l,G,b,v,w,P,T,D,O,H,s,h,F,ee,x,pe,z,j,ce]}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){A(g,e,h),i[26](e),A(g,t,h),A(g,n,h),f&&f.m(n,null),S(n,l),S(n,r),s||(o=[ae(e,"keyup",i[25]),ae(e,"input",i[27]),ae(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&&L(e),i[26](null),g&&L(t),g&&L(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){A(t,e,n)},p:Fe,d(t){t&&L(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){A(l,e,r),t||(n=ae(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&L(e),t=!1,n()}}}function nC(i){let e;return{c(){e=k("div")},m(t,n){A(t,e,n),i[31](e)},p:Fe,d(t){t&&L(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){A(r,e,s),S(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&&L(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){A(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&&L(e),dt(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),A(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&&L(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Mt(aC)),h=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Ie(r,l),b[0]&16&&f!==(f=p[40].description+"")&&Ie(g,f)},d(p){p&&L(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,_){A(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",f),ae(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&&L(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){A(f,e,g),S(e,t),S(t,n),S(n,l),s||(o=[ae(n,"click",i[6]),ae(t,"click",Ut(uC))],s=!0)},p(f,g){g[0]&32&&r!==(r=!f[5])&&c(n,"aria-expanded",r)},d(f){f&&L(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){A(g,e,h),S(e,t),S(t,l),o||(f=ae(t,"click",Ut(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ie(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&&L(e),o=!1,f()}}}function sC(i){let e,t,n,l,r,s,o,f,g,h,_,p;function b(R,I){return R[8]&&R[8].disableInputHandlers?tC:eC}let v=b(i),w=v(i);function C(R,I){return R[9]?nC:iC}let y=C(i),P=y(i),T=!i[5]&&Ah(i),D=i[5]&&Rh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),w.c(),r=K(),P.c(),f=K(),T&&T.c(),g=K(),D&&D.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(R,I){A(R,e,I),S(e,t),S(t,n),S(n,l),w.m(l,null),S(n,r),P.m(n,null),A(R,f,I),T&&T.m(R,I),A(R,g,I),D&&D.m(R,I),A(R,h,I),_||(p=[ae(window,"click",i[15]),ae(window,"blur",i[15]),ae(n,"click",Ut(oC))],_=!0)},p(R,I){v===(v=b(R))&&w?w.p(R,I):(w.d(1),w=v(R),w&&(w.c(),w.m(l,null))),y===(y=C(R))&&P?P.p(R,I):(P.d(1),P=y(R),P&&(P.c(),P.m(n,null))),I[0]&32&&s!==(s=!R[5])&&c(n,"aria-hidden",s),I[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(R[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&c(e,"class",o),R[5]?T&&(T.d(1),T=null):T?T.p(R,I):(T=Ah(R),T.c(),T.m(g.parentNode,g)),R[5]?D?D.p(R,I):(D=Rh(R),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Fe,o:Fe,d(R){R&&L(e),w.d(),P.d(),R&&L(f),T&&T.d(R),R&&L(g),D&&D.d(R),R&&L(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 _=Wt(),p={fireItemSelected:oe=>{w.searchProvider.onSearchResultItemSelected(oe)}};let b=al.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,w={},C,y,P=!1,T=ht("getTranslation");Ci(i,T,oe=>t(12,n=oe)),Jt(async()=>{t(8,w=h),t(7,b=w.globalSearchCenteredCancelButton?w.globalSearchCenteredCancelButton:b);let oe=o;const Me=R(w.searchProvider);Me&&(oe.placeholder=Me),D(),Bf.handleVisibilityGlobalSearch();const He=document.querySelector(".lui-global-search");He&&new ResizeObserver(Ge=>{Bf.handleVisibilityGlobalSearch()}).observe(He)}),qn(()=>{t(8,w=h),D(),B()});function D(){t(9,C=w.searchProvider&&ie.isFunction(w.searchProvider.customSearchResultRenderer)),t(10,y=w.searchProvider&&ie.isFunction(w.searchProvider.customSearchResultItemRenderer))}function R(oe){if(!oe||!oe.inputPlaceholder)return;const Me=pt.getCurrentLocale();if(ie.isFunction(oe.inputPlaceholder))return oe.inputPlaceholder();if(typeof oe.inputPlaceholder=="string"){const He=pt.getTranslation(oe.inputPlaceholder);return!!He&&He.trim().length>0?He:oe.inputPlaceholder}if(typeof oe.inputPlaceholder=="object")return oe.inputPlaceholder[Me]}function I(oe,Me,He){return setTimeout(()=>{w.searchProvider.customSearchResultItemRenderer(oe,Me.children[He],p)}),""}function O(){_("closeSearchResult")}function H({keyCode:oe}){w?ie.isFunction(w.searchProvider.onEnter)&&oe===ki?w.searchProvider.onEnter():ie.isFunction(w.searchProvider.onEscape)&&oe===Si?w.searchProvider.onEscape():oe===Fi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.isFunction(w.searchProvider.onInput)&&w.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){w&&ie.isFunction(w.searchProvider.onSearchBtnClick)&&w.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 ee(oe){let Me=g.children;if(Me)for(let He=0;He<Me.length;He++){let{childNodes:be,nextSibling:Ge,previousSibling:kt}=Me[He],qt;if(be[0].getAttribute("aria-selected")==="true"){oe===Fi&&(qt=Ge!==null?Ge:Me[0]),oe===Dl&&(qt=kt!==null?kt:Me[Me.length-1]),be[0].setAttribute("aria-selected","false"),qt.childNodes[0].setAttribute("aria-selected","true"),qt.focus();break}}}function x(){let oe=g.children;if(oe)for(let Me=0;Me<oe.length;Me++){let He=oe[Me];He.childNodes[0].getAttribute("aria-selected")==="true"&&He.childNodes[0].setAttribute("aria-selected","false")}}function pe(oe){w&&ie.isFunction(w.searchProvider.onSearchResultItemSelected)?w.searchProvider.onSearchResultItemSelected(oe):ie.isFunction(w.searchProvider.onEscape)&&event.keyCode===Si&&w.searchProvider.onEscape()}function z(oe,{keyCode:Me}){Me===ki&&w.searchProvider.onSearchResultItemSelected(oe),Me===Dl||Me===Fi?ee(Me):ie.isFunction(w.searchProvider.onEscape)&&Me===Si&&(x(),setTimeout(()=>{o.focus()}),w.searchProvider.onEscape())}function j(oe){let Me=oe.pathObject;Me.externalLink?et.navigateToLink(Me):_("handleSearchNavigation",{node:Me})}function ce(){o&&o.focus()}function le(){if(v?t(0,r=!1):setTimeout(()=>{ce()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:f}),ie.isFunction(w.searchProvider.toggleSearch)){const oe=v===void 0?!0:!v;w.searchProvider.toggleSearch(o,oe)}}const Z=oe=>H(oe);function Ce(oe){$e[oe?"unshift":"push"](()=>{o=oe,t(1,o)})}const se=()=>B(),Ue=(oe,Me)=>pe(oe),te=(oe,Me)=>z(oe,Me);function Ae(oe){$e[oe?"unshift":"push"](()=>{g=oe,t(3,g)})}function $(oe){$e[oe?"unshift":"push"](()=>{f=oe,t(2,f)})}const ge=()=>le();return i.$$set=oe=>{"searchResult"in oe&&t(4,l=oe.searchResult),"displaySearchResult"in oe&&t(0,r=oe.displaySearchResult),"displayCustomSearchResult"in oe&&t(22,s=oe.displayCustomSearchResult),"inputElem"in oe&&t(1,o=oe.inputElem),"luigiCustomSearchRenderer__slot"in oe&&t(2,f=oe.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in oe&&t(3,g=oe.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in oe&&t(23,h=oe.globalSearchConfig),"isSearchFieldVisible"in oe&&t(5,v=oe.isSearchFieldVisible)},[r,o,f,g,l,v,le,b,w,C,y,P,n,T,I,O,H,F,B,G,pe,z,s,h,j,Z,Ce,se,Ue,te,Ae,$,ge]}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),A(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&&L(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){A(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&&L(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){A(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&&L(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(),ze(r.$$.fragment)},m(o,f){A(o,e,f),S(e,n),S(e,l),We(r,e,null),s=!0},p(o,f){(!s||f&1)&&t!==(t=o[3](o[0])+"")&&Ie(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&&L(e),qe(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),A(s,e,o),r&&r.m(s,o),A(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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(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 Do extends Rt{constructor(e){super(),At(this,e,_C,gC,Tt,{node:0})}}const{Boolean:P_,window:Vh}=ul;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 v_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){ze(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){qe(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 w(I){i[59](I)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new V2({props:C}),$e.push(()=>vt(l,"dropDownStates",w)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&Uh(i),P=(!i[0]||i[1])&&Bh(i),T=(i[18]||i[7]&&i[30].length>0)&&Wh(i),D=(i[0]||i[16])&&ig(i),R=i[12]&&lg(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),ze(l.$$.fragment),s=K(),y&&y.c(),o=K(),f=k("div"),P&&P.c(),g=K(),T&&T.c(),h=K(),D&&D.c(),_=K(),R&&R.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(I,O){A(I,e,O),S(e,t),v&&v.m(t,null),S(t,n),We(l,t,null),S(e,s),y&&y.m(e,null),S(e,o),S(e,f),P&&P.m(f,null),S(f,g),T&&T.m(f,null),S(f,h),D&&D.m(f,null),S(f,_),R&&R.m(f,null),b=!0},p(I,O){I[3]==="simple"||I[3]==="simpleMobileOnly"||I[3]==="Fiori3"?v?v.p(I,O):(v=Fh(I),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const H={};O[0]&1073741824&&(H.pathData=I[30]),O[1]&1&&(H.pathParams=I[31]),O[0]&268435456&&(H.addNavHrefForAnchor=I[28]),!r&&O[0]&64&&(r=!0,H.dropDownStates=I[6],bt(()=>r=!1)),l.$set(H),I[18]&&I[19]?y?(y.p(I,O),O[0]&786432&&M(y,1)):(y=Uh(I),y.c(),M(y,1),y.m(e,o)):y&&(ye(),q(y,1,1,()=>{y=null}),Pe()),!I[0]||I[1]?P?(P.p(I,O),O[0]&3&&M(P,1)):(P=Bh(I),P.c(),M(P,1),P.m(f,g)):P&&(ye(),q(P,1,1,()=>{P=null}),Pe()),I[18]||I[7]&&I[30].length>0?T?(T.p(I,O),O[0]&1074004096&&M(T,1)):(T=Wh(I),T.c(),M(T,1),T.m(f,h)):T&&(ye(),q(T,1,1,()=>{T=null}),Pe()),I[0]||I[16]?D?(D.p(I,O),O[0]&65537&&M(D,1)):(D=ig(I),D.c(),M(D,1),D.m(f,_)):D&&(ye(),q(D,1,1,()=>{D=null}),Pe()),I[12]?R?(R.p(I,O),O[0]&4096&&M(R,1)):(R=lg(I),R.c(),M(R,1),R.m(f,null)):R&&(ye(),q(R,1,1,()=>{R=null}),Pe()),(!b||O[0]&134217732&&p!==(p="fd-shellbar "+(I[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(I[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&c(e,"class",p)},i(I){b||(M(l.$$.fragment,I),M(y),M(P),M(T),M(D),M(R),b=!0)},o(I){q(l.$$.fragment,I),q(y),q(P),q(T),q(D),q(R),b=!1},d(I){I&&L(e),v&&v.d(),qe(l),y&&y.d(),P&&P.d(),T&&T.d(),D&&D.d(),R&&R.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){A(r,e,s),S(e,t),n||(l=ae(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&c(e,"title",r[26])},d(r){r&&L(e),n=!1,l()}}}function Uh(i){let e,t,n,l,r,s,o,f,g;function h(y){i[60](y)}function _(y){i[61](y)}function p(y){i[62](y)}function b(y){i[63](y)}function v(y){i[64](y)}function w(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 cC({props:C}),$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",w)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),ze(t.$$.fragment),c(e,"class","lui-global-search")},m(y,P){A(y,e,P),We(t,e,null),g=!0},p(y,P){const T={};P[0]&262144&&(T.globalSearchConfig=y[18]),!n&&P[0]&1048576&&(n=!0,T.isSearchFieldVisible=y[20],bt(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,T.searchResult=y[25],bt(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,T.displaySearchResult=y[23],bt(()=>r=!1)),!s&&P[0]&16777216&&(s=!0,T.displayCustomSearchResult=y[24],bt(()=>s=!1)),!o&&P[0]&2097152&&(o=!0,T.inputElem=y[21],bt(()=>o=!1)),!f&&P[0]&4194304&&(f=!0,T.luigiCustomSearchRenderer__slot=y[22],bt(()=>f=!1)),t.$set(T)},i(y){g||(M(t.$$.fragment,y),g=!0)},o(y){q(t.$$.fragment,y),g=!1},d(y){y&&L(e),qe(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 C_({props:o}),$e.push(()=>vt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),ze(t.$$.fragment)},m(f,g){r&&r.m(f,g),A(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&&(ye(),q(r,1,1,()=>{r=null}),Pe());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&&L(e),qe(t,f)}}}function Hh(i){let e,t,n,l,r,s,o,f;function g(C){i[69](C)}function h(C){i[70](C)}function _(C){i[71](C)}function p(C){i[72](C)}function b(C){i[73](C)}function v(C){i[74](C)}let w={globalSearchConfig:i[18]};return i[20]!==void 0&&(w.isSearchFieldVisible=i[20]),i[25]!==void 0&&(w.searchResult=i[25]),i[23]!==void 0&&(w.displaySearchResult=i[23]),i[24]!==void 0&&(w.displayCustomSearchResult=i[24]),i[21]!==void 0&&(w.inputElem=i[21]),i[22]!==void 0&&(w.luigiCustomSearchRenderer__slot=i[22]),e=new xk({props:w}),$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(){ze(e.$$.fragment)},m(C,y){We(e,C,y),f=!0},p(C,y){const P={};y[0]&262144&&(P.globalSearchConfig=C[18]),!t&&y[0]&1048576&&(t=!0,P.isSearchFieldVisible=C[20],bt(()=>t=!1)),!n&&y[0]&33554432&&(n=!0,P.searchResult=C[25],bt(()=>n=!1)),!l&&y[0]&8388608&&(l=!0,P.displaySearchResult=C[23],bt(()=>l=!1)),!r&&y[0]&16777216&&(r=!0,P.displayCustomSearchResult=C[24],bt(()=>r=!1)),!s&&y[0]&2097152&&(s=!0,P.inputElem=C[21],bt(()=>s=!1)),!o&&y[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=C[22],bt(()=>o=!1)),e.$set(P)},i(C){f||(M(e.$$.fragment,C),f=!0)},o(C){q(e.$$.fragment,C),f=!1},d(C){qe(e,C)}}}function Wh(i){let e,t,n,l=i[7]&&i[30].length>0&&qh(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),A(s,e,o),r&&r.m(s,o),A(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=qh(s),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(ye(),q(l,1,1,()=>{l=null}),Pe()),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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function qh(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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(P_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){dt(l,s),s&&L(e)}}}function zh(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),A(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(ye(),q(s[h],1,1,()=>{s[h]=null}),Pe(),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&&L(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){A(g,e,h),o[t].m(e,null),S(e,l),r=!0},p(g,h){let _=t;t=f(g),t===_?o[t].p(g,h):(ye(),q(o[_],1,1,()=>{o[_]=null}),Pe(),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&&L(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),A(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&&(ye(),q(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function wC(i){let e,t,n,l,r,s,o,f,g,h,_;function p(w){i[84](w,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Do({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"),ze(t.$$.fragment),l=K(),ze(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(w,C){A(w,e,C),We(t,e,null),S(e,l),We(r,e,null),g=!0,h||(_=ae(e,"click",v),h=!0)},p(w,C){i=w;const y={};!n&&C[0]&128&&(n=!0,y.node=i[111],bt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[111]),r.$set(P),(!g||C[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&c(e,"title",s),(!g||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(e,"class",o),(!g||C[0]&128&&f!==(f=i[50](i[111])))&&c(e,"data-testid",f)},i(w){g||(M(t.$$.fragment,w),M(r.$$.fragment,w),g=!0)},o(w){q(t.$$.fragment,w),q(r.$$.fragment,w),g=!1},d(w){w&&L(e),qe(t),qe(r),h=!1,_()}}}function SC(i){let e,t,n,l,r,s,o,f,g,h,_,p;function b(C){i[82](C,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Do({props:v}),$e.push(()=>vt(t,"node",b)),r=new ti({props:{node:i[111]}});function w(...C){return i[83](i[111],...C)}return{c(){e=k("a"),ze(t.$$.fragment),l=K(),ze(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(C,y){A(C,e,y),We(t,e,null),S(e,l),We(r,e,null),h=!0,_||(p=ae(e,"click",w),_=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[111],bt(()=>n=!1)),t.$set(P);const T={};y[0]&128&&(T.node=i[111]),r.$set(T),(!h||y[0]&128&&s!==(s=i[51](i[111])))&&c(e,"href",s),(!h||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(e,"class",o),(!h||y[0]&128&&f!==(f=i[52](i[111],i[49](i[111]))))&&c(e,"title",f),(!h||y[0]&128&&g!==(g=i[50](i[111])))&&c(e,"data-testid",g)},i(C){h||(M(t.$$.fragment,C),M(r.$$.fragment,C),h=!0)},o(C){q(t.$$.fragment,C),q(r.$$.fragment,C),h=!1},d(C){C&&L(e),qe(t),qe(r),_=!1,p()}}}function Gh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y,P,T,D;function R(H){i[80](H,i[111],i[114],i[113])}let I={};i[111]!==void 0&&(I.node=i[111]),r=new Do({props:I}),$e.push(()=>vt(r,"node",R)),f=new ti({props:{node:i[111]}});function O(){return i[81](i[113])}return w=new S_({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"),ze(r.$$.fragment),o=K(),ze(f.$$.fragment),b=K(),v=k("div"),ze(w.$$.fragment),y=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",C=!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){A(H,e,F),S(e,t),S(t,n),S(n,l),We(r,l,null),S(l,o),We(f,l,null),S(t,b),S(t,v),We(w,v,null),S(e,y),P=!0,T||(D=[ae(l,"click",O),ae(n,"click",Ut(OC))],T=!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 ee={};F[0]&128&&(ee.node=i[111]),F[1]&1&&(ee.pathParams=i[31]),F[0]&268435456&&(ee.addNavHrefForAnchor=i[28]),w.$set(ee),(!P||F[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[113]}`]))&&c(v,"aria-hidden",C)},i(H){P||(M(r.$$.fragment,H),M(f.$$.fragment,H),M(w.$$.fragment,H),P=!0)},o(H){q(r.$$.fragment,H),q(f.$$.fragment,H),q(w.$$.fragment,H),P=!1},d(H){H&&L(e),qe(r),qe(f),qe(w),T=!1,Ze(D)}}}function Kh(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),A(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(e)}}}function jh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y,P,T,D,R,I,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),ee=i[12]&&xh(i),x=i[12]&&eg(i),pe=i[14]&&tg(i),z=(!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(),ze(g.$$.fragment),_=K(),p=k("div"),b=k("nav"),v=k("ul"),F&&F.c(),w=K(),B&&B.c(),C=K(),G&&G.c(),y=K(),ee&&ee.c(),T=K(),x&&x.c(),D=K(),pe&&pe.c(),R=K(),z&&z.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(j,ce){A(j,e,ce),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(s,f),We(g,s,null),S(n,_),S(n,p),S(p,b),S(b,v),F&&F.m(v,null),S(v,w),B&&B.m(v,null),S(v,C),G&&G.m(v,null),S(v,y),ee&&ee.m(v,null),S(n,T),x&&x.m(n,null),S(n,D),pe&&pe.m(n,null),S(n,R),z&&z.m(n,null),I=!0,O||(H=[ae(s,"click",i[86]),ae(l,"click",Ut(FC))],O=!0)},p(j,ce){const le={};ce[0]&2048&&(le.node=j[11]),g.$set(le),(!I||ce[0]&64&&h!==(h=j[6].overflowPopover||!1))&&c(s,"aria-expanded",h),j[18]&&!j[19]?F?F.p(j,ce):(F=Jh(j),F.c(),F.m(v,w)):F&&(F.d(1),F=null),j[46]&&(!j[0]||j[1])?B?B.p(j,ce):(B=Yh(j),B.c(),B.m(v,C)):B&&(B.d(1),B=null),j[7]?G?(G.p(j,ce),ce[0]&128&&M(G,1)):(G=Qh(j),G.c(),M(G,1),G.m(v,y)):G&&(ye(),q(G,1,1,()=>{G=null}),Pe()),j[12]?ee?ee.p(j,ce):(ee=xh(j),ee.c(),ee.m(v,null)):ee&&(ee.d(1),ee=null),(!I||ce[0]&64&&P!==(P=!j[6].overflowPopover))&&c(p,"aria-hidden",P),j[12]?x?(x.p(j,ce),ce[0]&4096&&M(x,1)):(x=eg(j),x.c(),M(x,1),x.m(n,D)):x&&(ye(),q(x,1,1,()=>{x=null}),Pe()),j[14]?pe?(pe.p(j,ce),ce[0]&16384&&M(pe,1)):(pe=tg(j),pe.c(),M(pe,1),pe.m(n,R)):pe&&(ye(),q(pe,1,1,()=>{pe=null}),Pe()),!j[0]||j[1]?z?(z.p(j,ce),ce[0]&3&&M(z,1)):(z=ng(j),z.c(),M(z,1),z.m(n,null)):z&&(ye(),q(z,1,1,()=>{z=null}),Pe())},i(j){I||(M(g.$$.fragment,j),M(G),M(x),M(pe),M(z),I=!0)},o(j){q(g.$$.fragment,j),q(G),q(x),q(pe),q(z),I=!1},d(j){j&&L(e),qe(g),F&&F.d(),B&&B.d(),G&&G.d(),ee&&ee.d(),x&&x.d(),pe&&pe.d(),z&&z.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){A(r,e,s),S(e,t),n||(l=ae(t,"click",Ut(i[87])),n=!0)},p:Fe,d(r){r&&L(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){A(_,e,p),S(e,t),S(t,n),S(t,r),S(t,s),S(s,f),g||(h=ae(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])+"")&&Ie(f,o)},d(_){_&&L(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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(P_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){dt(l,s),s&&L(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),A(g,l,h),r=!0},p(g,h){let _=t;t=f(g,h),t===_?~t&&o[t].p(g,h):(n&&(ye(),q(o[_],1,1,()=>{o[_]=null}),Pe()),~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&&L(l)}}}function kC(i){let e,t,n,l,r,s,o,f,g=i[49](i[111])+"",h,_,p,b,v,w,C;function y(R,I){return I[0]&128&&(l=null),l==null&&(l=!!R[48](R[111])),l?PC:yC}let P=y(i,[-1,-1,-1,-1]),T=P(i);s=new ti({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),T.c(),r=K(),ze(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(R,I){A(R,e,I),S(e,t),S(t,n),T.m(n,null),S(n,r),We(s,n,null),S(t,o),S(t,f),S(f,h),S(e,b),v=!0,w||(C=ae(t,"click",Mt(D)),w=!0)},p(R,I){i=R,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const O={};I[0]&128&&(O.node=i[111]),s.$set(O),(!v||I[0]&128)&&g!==(g=i[49](i[111])+"")&&Ie(h,g),(!v||I[0]&128&&_!==(_=i[51](i[111])))&&c(t,"href",_),(!v||I[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&c(t,"title",p)},i(R){v||(M(s.$$.fragment,R),v=!0)},o(R){q(s.$$.fragment,R),v=!1},d(R){R&&L(e),T.d(),qe(s),w=!1,C()}}}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,w,C,y,P,T=l&&Xh(i);s=new ti({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),T&&T.c(),r=K(),ze(s.$$.fragment),f=K(),g=k("span"),_=Ne(h),w=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(R,I){A(R,e,I),S(e,t),S(t,n),T&&T.m(n,null),S(n,r),We(s,n,null),S(t,f),S(t,g),S(g,_),S(e,w),C=!0,y||(P=ae(t,"click",Mt(D)),y=!0)},p(R,I){i=R,I[0]&128&&(l=!i[48](i[111])),l?T?T.p(i,I):(T=Xh(i),T.c(),T.m(n,r)):T&&(T.d(1),T=null);const O={};I[0]&128&&(O.node=i[111]),s.$set(O),(!C||I[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),(!C||I[0]&128)&&h!==(h=i[49](i[111])+"")&&Ie(_,h),(!C||I[0]&128&&p!==(p=i[51](i[111])))&&c(t,"href",p),(!C||I[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&c(t,"class",b),(!C||I[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&c(t,"data-testid",v)},i(R){C||(M(s.$$.fragment,R),C=!0)},o(R){q(s.$$.fragment,R),C=!1},d(R){R&&L(e),T&&T.d(),qe(s),y=!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){A(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&&L(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){A(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&&L(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){A(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&&L(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),A(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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){A(b,e,v),S(e,t),p.m(t,null),S(t,l),S(t,r),S(r,o),f||(g=ae(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+"")&&Ie(o,s)},d(b){b&&L(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){A(r,e,s),S(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&&L(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){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&c(e,"class",t)},d(n){n&&L(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 y_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){ze(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){qe(e,s)}}}function tg(i){let e,t;return e=new S_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){ze(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){qe(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 C_({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(){ze(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){qe(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"&&ie.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){A(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):(ye(),q(o[_],1,1,()=>{o[_]=null}),Pe(),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&&L(e),o[n].d()}}}function TC(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w;function C(T,D){return T[17].picture?RC:AC}let y=C(i),P=y(i);return _=new v_({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"),ze(_.$$.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(T,D){A(T,e,D),S(e,t),S(t,n),S(n,l),S(l,r),P.m(r,null),S(t,g),S(t,h),We(_,h,null),b=!0,v||(w=[ae(r,"click",i[99]),ae(n,"click",Ut(BC))],v=!0)},p(T,D){y===(y=C(T))&&P?P.p(T,D):(P.d(1),P=y(T),P&&(P.c(),P.m(r,null))),(!b||D[0]&64&&s!==(s=T[6].profilePopover||!1))&&c(r,"aria-expanded",s),(!b||D[0]&131072&&o!==(o=T[17].name?T[17].name:void 0))&&c(r,"title",o),(!b||D[0]&131072&&f!==(f=T[17].picture?"fd-shellbar__button--user-menu":""))&&c(l,"class",f);const R={};D[0]&268435456&&(R.addNavHrefForAnchor=T[28]),_.$set(R),(!b||D[0]&64&&p!==(p=!T[6].profilePopover))&&c(h,"aria-hidden",p)},i(T){b||(M(_.$$.fragment,T),b=!0)},o(T){q(_.$$.fragment,T),b=!1},d(T){T&&L(e),P.d(),qe(_),v=!1,Ze(w)}}}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 z2({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"),ze(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){A(b,e,v),S(e,t),p.m(t,null),S(e,n),S(e,l),We(r,l,null),o=!0,f||(g=ae(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 w={};v[0]&268435456&&(w.addNavHrefForAnchor=b[28]),r.$set(w),(!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&&L(e),p.d(),qe(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){A(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&c(e,"class",t)},d(n){n&&L(e)}}}function RC(i){let e;return{c(){e=k("span"),c(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),ui(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&ui(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(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){A(o,e,f),S(e,n),r||(s=ae(e,"click",i[97]),r=!0)},p(o,f){f[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ie(n,t),f[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&c(e,"title",l)},d(o){o&&L(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"),ui(e,"background-image","url('"+i[17].picture+"')"),c(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){A(r,e,s),n||(l=ae(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&&ui(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(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 y_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){ze(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){qe(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,_),A(h,n,_),l=!0,r||(s=[ae(Vh,"click",i[41]),ae(Vh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?f[e].p(h,_):(ye(),q(f[p],1,1,()=>{f[p]=null}),Pe(),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&&L(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=Wt();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:w}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:R}=e,{openMobileDropDown:I}=e,{nodeForMobile:O}=e,{profileItemsAvailable:H}=e,{userInfo:F={}}=e,{urlAuthError:B}=e,{globalSearchConfig:G}=e,{isGlobalSearchCentered:ee}=e,{isSearchFieldVisible:x}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:z}=e,{displaySearchResult:j}=e,{displayCustomSearchResult:ce}=e,{searchResult:le}=e,{burgerTooltip:Z}=e,{responsiveShellbarPadding:Ce}=e,se=ht("store"),Ue=!1,te,Ae,$=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ge=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const oe=async()=>{if(_&&0<_.length){const Y=await Se.generateTopNavNodes(_);t(7,w=Y.children),t(8,C=Y.selectedNode),t(9,y=Y.visibleNodeCount),t(11,T=Y.totalBadgeNode),t(10,P=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,p=_}},Me=()=>{t(1,s=sl.isLoggedIn())};Jt(()=>{an.doOnStoreChange(se,()=>{t(0,l=wi.isAuthorizationEnabled()),t(16,H=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,D=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,Ce=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,R=Se.getProductSwitcherConfig()),t(18,G=re.getConfigValue("globalSearch")),t(19,ee=G&&G.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(28,ge=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,$=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),an.doOnStoreChange(se,()=>{oe()},["navigation.viewgroupdata"]),Rn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&oe()})}),qn(()=>{(!p||p!=_)&&oe(),Me()});let{showTopNav:He}=e;function be(Y){return Se.renderIconClassName(Y)}function Ge(Y){return Se.isOpenUIiconName(Y.icon)}const kt=Y=>Se.getNodeLabel(Y);function qt(Y){return Y.testId?Y.testId:Se.prepareForTests(Y.pathSegment,Y.label)}function Ct(Y){return me.getNodeHref(Y,b)}function Yt(Y,tt){return Se.generateTooltipText(Y,tt)}function _n(){Et("productSwitcherPopover")}function on(){t(43,Ue=!Ue),Et("contextSwitcherPopover")}function pn(Y){t(14,I=!0),t(15,O=Y)}function Bi(){t(14,I=!1)}function mn(Y){n("handleClick",{node:Y})}function Qt(Y){n("handleSearchNavigation",{node:Y})}function En(Y){mn(Y.detail.node)}function Et(Y){const tt=v||{},cn=!tt[Y];zn(),Bi(),tt[Y]=cn,t(6,v=tt)}function fl(Y){Et(Y.detail.name)}function xt(){pe&&pe.focus()}function un(){x||setTimeout(()=>{xt()}),n("toggleSearch",{isSearchFieldVisible:x,inputElem:pe,luigiCustomSearchRenderer__slot:z})}function zn(){const Y=v||{},tt=Object.keys(Y);tt&&tt.length>0&&tt.forEach(cn=>{Y[cn]=!1,t(6,v=Y)})}function Gt(){f==="simple"||f==="simpleMobileOnly"?ci():di(),kn()}function kn(){if(!Se.getBurgerTooltipConfig())return;const[Y,tt]=Se.getBurgerTooltipConfig();Y&&tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Z=document.body.classList.contains("lui-leftNavToggle")?Y:tt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Z=document.body.classList.contains("semiCollapsed")?Y:tt))}function ci(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function di(){bi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function fn(Y){const tt=Y.detail;t(17,F=tt||{})}function yi(Y){v=Y,t(6,v)}function ne(Y){x=Y,t(20,x)}function Le(Y){le=Y,t(25,le)}function at(Y){j=Y,t(23,j)}function Nt(Y){ce=Y,t(24,ce)}function yt(Y){pe=Y,t(21,pe)}function ln(Y){z=Y,t(22,z)}function Dn(Y){Rl.call(this,i,Y)}function Gn(Y){Rl.call(this,i,Y)}function ni(Y){Rl.call(this,i,Y)}function Ol(Y){x=Y,t(20,x)}function Hi(Y){le=Y,t(25,le)}function pr(Y){j=Y,t(23,j)}function mr(Y){ce=Y,t(24,ce)}function Fl(Y){pe=Y,t(21,pe)}function br(Y){z=Y,t(22,z)}function vr(Y){Rl.call(this,i,Y)}function wr(Y){Rl.call(this,i,Y)}function cl(Y){Rl.call(this,i,Y)}function Sr(Y){v=Y,t(6,v)}const Pi=()=>Et("contextSwitcherPopover");function Wi(Y,tt,cn,gi){cn[gi]=Y,t(7,w)}const dl=Y=>Et(`dropDownPopover-${Y}`);function qi(Y,tt,cn,gi){cn[gi]=Y,t(7,w)}const Ul=(Y,tt)=>{Se.handleNavAnchorClickedWithoutMetaKey(tt)&&mn(Y)};function Bl(Y,tt,cn,gi){cn[gi]=Y,t(7,w)}const Hl=Y=>mn(Y),kr=()=>Et("overflowPopover"),Cn=()=>{un(),Et("overflowPopover")},zi=Y=>mn(Y),hl=Y=>pn(Y);function Wl(Y){v=Y,t(6,v)}const Cr=()=>Et("productSwitcherPopover");function Gi(Y){v=Y,t(6,v)}function gl(Y){te=Y,t(44,te)}function _l(Y){Ae=Y,t(45,Ae)}const hi=()=>Et("contextSwitcherPopover"),ql=()=>Et("profilePopover"),Ni=()=>Et("profilePopover"),yr=()=>Et("profilePopover"),ft=()=>Et("profilePopover"),pl=()=>Et("profilePopover");function Ki(Y){v=Y,t(6,v)}const ml=()=>Et("productSwitcherPopover"),bl=()=>Et("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(54,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,s=Y.isLoggedIn),"hideNavComponent"in Y&&t(2,o=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,f=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,g=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,h=Y.showGlobalNav),"pathData"in Y&&t(30,_=Y.pathData),"pathParams"in Y&&t(31,b=Y.pathParams),"dropDownStates"in Y&&t(6,v=Y.dropDownStates),"children"in Y&&t(7,w=Y.children),"selectedNode"in Y&&t(8,C=Y.selectedNode),"visibleNodeCount"in Y&&t(9,y=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,P=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,T=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,D=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,R=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,I=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,O=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,H=Y.profileItemsAvailable),"userInfo"in Y&&t(17,F=Y.userInfo),"urlAuthError"in Y&&t(55,B=Y.urlAuthError),"globalSearchConfig"in Y&&t(18,G=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,ee=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,x=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,pe=Y.inputElem),"luigiCustomSearchRenderer__slot"in Y&&t(22,z=Y.luigiCustomSearchRenderer__slot),"displaySearchResult"in Y&&t(23,j=Y.displaySearchResult),"displayCustomSearchResult"in Y&&t(24,ce=Y.displayCustomSearchResult),"searchResult"in Y&&t(25,le=Y.searchResult),"burgerTooltip"in Y&&t(26,Z=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(27,Ce=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(28,ge=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(29,He=Y.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,w,C,y,P,T,D,R,I,O,H,F,G,ee,x,pe,z,j,ce,le,Z,Ce,ge,He,_,b,_n,on,pn,Bi,mn,En,Et,fl,un,zn,fn,Ue,te,Ae,$,be,Ge,kt,qt,Ct,Yt,Gt,r,B,Qt,ci,di,yi,ne,Le,at,Nt,yt,ln,Dn,Gn,ni,Ol,Hi,pr,mr,Fl,br,vr,wr,cl,Sr,Pi,Wi,dl,qi,Ul,Bl,Hl,kr,Cn,zi,hl,Wl,Cr,Gi,gl,_l,hi,ql,Ni,yr,ft,pl,Ki,ml,bl]}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){A(t,e,n)},d(t){t&&L(e)}}}function qC(i){let e,t=i[0]&&sg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=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&&L(e)}}}function zC(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,zC,qC,Tt,{node:0})}}const{window:yo}=ul;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,w,C,y,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&gg(i),T=Object.entries(i[0]),D=[];for(let F=0;F<T.length;F+=1)D[F]=Sg(fg(i,T,F));const R=F=>q(D[F],1,1,()=>{D[F]=null});let I=Object.entries(i[0]),O=[];for(let F=0;F<I.length;F+=1)O[F]=Pg(ag(i,I,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<D.length;F+=1)D[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){A(F,e,B),P&&P.m(e,null),S(e,t),S(e,n),S(n,l),S(l,r);for(let G=0;G<D.length;G+=1)D[G].m(r,null);S(n,s),S(n,o),S(o,f),S(f,g),S(g,h),S(g,_),S(g,p),S(p,b);for(let G=0;G<O.length;G+=1)O[G].m(b,null);w=!0,C||(y=[ae(h,"click",Mt(i[10])),ae(f,"click",$C),ae(n,"toggleDropdownState",i[26])],C=!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&&(ye(),q(P,1,1,()=>{P=null}),Pe()),B[0]&53485){T=Object.entries(F[0]);let G;for(G=0;G<T.length;G+=1){const ee=fg(F,T,G);D[G]?(D[G].p(ee,B),M(D[G],1)):(D[G]=Sg(ee),D[G].c(),M(D[G],1),D[G].m(r,null))}for(ye(),G=T.length;G<D.length;G+=1)R(G);Pe()}if(B[0]&53485){I=Object.entries(F[0]);let G;for(G=0;G<I.length;G+=1){const ee=ag(F,I,G);O[G]?(O[G].p(ee,B),M(O[G],1)):(O[G]=Pg(ee),O[G].c(),M(O[G],1),O[G].m(b,null))}for(ye(),G=I.length;G<O.length;G+=1)H(G);Pe()}(!w||B[0]&16&&v!==(v=!F[4]))&&c(p,"aria-hidden",v)},i(F){if(!w){M(P);for(let B=0;B<T.length;B+=1)M(D[B]);for(let B=0;B<I.length;B+=1)M(O[B]);w=!0}},o(F){q(P),D=D.filter(Boolean);for(let B=0;B<D.length;B+=1)q(D[B]);O=O.filter(Boolean);for(let B=0;B<O.length;B+=1)q(O[B]);w=!1},d(F){F&&L(e),P&&P.d(),dt(D,F),dt(O,F),C=!1,Ze(y)}}}function gg(i){let e,t;return e=new GC({props:{node:i[11].parent}}),{c(){ze(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){qe(e,n)}}}function KC(i){let e,t,n,l,r,s=i[12](i[39])+"",o,f,g,h,_,p,b,v,w,C,y,P,T,D;function R(){return i[20](i[39])}let I=i[40],O=[];for(let F=0;F<I.length;F+=1)O[F]=mg(cg(i,I,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();C=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",w=!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",y=fr(i[39],i[2]))},m(F,B){A(F,e,B),S(e,t),S(t,n),S(n,l),S(l,r),S(r,o),S(l,f),S(l,g),S(t,_),S(t,p),S(p,b),S(b,v);for(let G=0;G<O.length;G+=1)O[G].m(v,null);S(e,C),P=!0,T||(D=[ae(l,"click",Mt(R)),ae(e,"click",XC)],T=!0)},p(F,B){if(i=F,(!P||B[0]&4097)&&s!==(s=i[12](i[39])+"")&&Ie(o,s),(!P||B[0]&5&&h!==(h=fr(i[39],i[2])))&&c(l,"aria-selected",h),B[0]&49221){I=i[40];let G;for(G=0;G<I.length;G+=1){const ee=cg(i,I,G);O[G]?(O[G].p(ee,B),M(O[G],1)):(O[G]=mg(ee),O[G].c(),M(O[G],1),O[G].m(v,null))}for(ye(),G=I.length;G<O.length;G+=1)H(G);Pe()}(!P||B[0]&9&&w!==(w=!i[3][i[39]]))&&c(p,"aria-hidden",w),(!P||B[0]&5&&y!==(y=fr(i[39],i[2])))&&c(e,"isselected",y)},i(F){if(!P){for(let B=0;B<I.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&&L(e),dt(O,F),T=!1,Ze(D)}}}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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(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(),ze(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(w,C){A(w,e,C),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(e,h),_=!0,p||(b=ae(t,"click",Mt(v)),p=!0)},p(w,C){i=w,(!_||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&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||C[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(w){_||(M(o.$$.fragment,w),_=!0)},o(w){q(o.$$.fragment,w),_=!1},d(w){w&&L(e),qe(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),A(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function vg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,f,g,h,_,p,b,v,w;o=new Ui({props:{node:i[43]}});function C(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(l),s=K(),ze(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(y,P){A(y,e,P),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(e,h),b=!0,v||(w=ae(t,"click",Mt(C)),v=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const T={};P[0]&1&&(T.node=i[43]),o.$set(T),(!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(y){b||(M(o.$$.fragment,y),b=!0)},o(y){q(o.$$.fragment,y),b=!1},d(y){y&&L(e),qe(o),v=!1,w()}}}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),A(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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,_),A(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&f[n].p(h,_):(l&&(ye(),q(f[p],1,1,()=>{f[p]=null}),Pe()),~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&&L(r)}}}function JC(i){let e,t,n,l,r=i[12](i[39])+"",s,o,f,g,h,_,p,b,v,w,C,y,P,T,D;function R(){return i[23](i[39],i[42])}function I(){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(),w=k("ul");for(let B=0;B<H.length;B+=1)H[B].c();y=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(w,"class","fd-nested-list level-2"),c(w,"aria-hidden",C=!i[3][i[39]+i[42]]),c(e,"class","fd-nested-list__item"),c(e,"uid",i[42]+"-0")},m(B,G){A(B,e,G),S(e,t),S(t,n),S(n,l),S(l,s),S(t,g),S(t,h),S(h,_),S(e,v),S(e,w);for(let ee=0;ee<H.length;ee+=1)H[ee].m(w,null);S(e,y),P=!0,T||(D=[ae(n,"click",Mt(R)),ae(h,"click",Mt(I))],T=!0)},p(B,G){if(i=B,(!P||G[0]&4097)&&r!==(r=i[12](i[39])+"")&&Ie(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 ee;for(ee=0;ee<O.length;ee+=1){const x=og(i,O,ee);H[ee]?(H[ee].p(x,G),M(H[ee],1)):(H[ee]=Cg(x),H[ee].c(),M(H[ee],1),H[ee].m(w,null))}for(ye(),ee=O.length;ee<H.length;ee+=1)F(ee);Pe()}(!P||G[0]&9&&C!==(C=!i[3][i[39]+i[42]]))&&c(w,"aria-hidden",C)},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&&L(e),dt(H,B),T=!1,Ze(D)}}}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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(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(),ze(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(w,C){A(w,e,C),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(e,h),_=!0,p||(b=ae(t,"click",Mt(v)),p=!0)},p(w,C){i=w,(!_||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&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||C[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(w){_||(M(o.$$.fragment,w),_=!0)},o(w){q(o.$$.fragment,w),_=!1},d(w){w&&L(e),qe(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(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(),ze(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(w,C){A(w,e,C),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(e,h),_=!0,p||(b=ae(t,"click",Mt(v)),p=!0)},p(w,C){i=w,(!_||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&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||C[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(w){_||(M(o.$$.fragment,w),_=!0)},o(w){q(o.$$.fragment,w),_=!1},d(w){w&&L(e),qe(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),A(g,l,h),r=!0},p(g,h){let _=t;t=f(g,h),t===_?o[t].p(g,h):(ye(),q(o[_],1,1,()=>{o[_]=null}),Pe(),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&&L(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),A(s,e,o),t=!0,n||(l=[ae(yo,"click",i[8]),ae(yo,"blur",i[8]),ae(yo,"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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){t||(M(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&L(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,w,C=ht("getTranslation");Ci(i,C,$=>t(12,n=$));let y=ht("store"),P;const T={get:()=>({children:l,pathData:r,hideNavComponent:f,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:$=>{$&&Object.getOwnPropertyNames($).forEach(ge=>{ge==="pathData"?t(1,r=$.pathData):ge==="context"?context=$.context:ge==="children"?t(0,l=$.children):ge==="selectedNode"?t(11,h=$.selectedNode):ge==="selectedNodeForTabNav"&&t(2,_=$.selectedNodeForTabNav)})}},D=Wt();function R($){return Se.getNodeLabel($)}const I=async()=>{const $=T.get(),ge=await Vt.getTabNavData({...$},$);!ge||(T.set({...ge}),o=r,window.LEFTNAVDATA=ge.groupedChildren,setTimeout(O))},O=()=>{H();let $=document.getElementsByClassName("luigi-tabsContainer")[0],ge=document.getElementsByClassName("luigi-tabsMoreButton")[0],oe=document.getElementsByClassName("luigi__more")[0],Me,He=0,be=!1,Ge,kt;oe&&oe.setAttribute("aria-selected","false"),$&&(Me=$.offsetWidth,[...$.children].forEach(Ct=>{Ge=Ct.currentStyle||window.getComputedStyle(Ct),kt=parseFloat(Ge.marginLeft)+parseFloat(Ge.marginRight),He+=Ct.offsetWidth+kt;let Yt=Ct.getAttribute("uid");He>=Me?(Ct.classList.add("hide_element"),Ct.getAttribute("isSelected")==="true"&&oe.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?ge.classList.remove("hide_element"):ge.classList.add("hide_element"))},H=()=>{let $=document.getElementsByClassName("luigi-tabsContainer")[0];$!==void 0&&[...$.children].forEach(oe=>{oe.classList.remove("hide_element")})},F=()=>{P=new ResizeObserver($=>{for(const ge of $)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ge.contentRect.height+"px")}),setTimeout(()=>{const $=document.querySelector("#tabsContainer.lui-tabs");$&&P.observe($)})},B=()=>{P&&P.disconnect()};Jt(()=>{t(16,f=re.getConfigBooleanValue("settings.hideNavigation")),F(),an.doOnStoreChange(y,()=>{I()},["navigation.viewgroupdata"])}),Xr(()=>{B(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),qn(()=>{(!o||o!=r)&&I(),(w===void 0||w!==v)&&(w=v,I())}),fa(()=>{B(),P?setTimeout(()=>{const $=document.querySelector("#tabsContainer.lui-tabs");$&&P.observe($)}):F()});function G($){return me.getNodeHref($,s)}function ee($){pe(),D("handleClick",{node:$})}function x($){let ge={};p[$]||(ge[$]=!0),t(3,p=ge)}function pe(){t(3,p={}),t(4,b=!1)}function z(){H(),O()}function j(){t(4,b=!b)}const ce=$=>ee($),le=$=>x($),Z=$=>ee($),Ce=$=>ee($),se=($,ge)=>x($+ge),Ue=($,ge)=>x($+ge),te=$=>ee($),Ae=$=>x($.name);return i.$$set=$=>{"children"in $&&t(0,l=$.children),"pathData"in $&&t(1,r=$.pathData),"pathParams"in $&&t(17,s=$.pathParams),"hideNavComponent"in $&&t(16,f=$.hideNavComponent),"virtualGroupPrefix"in $&&t(5,g=$.virtualGroupPrefix),"selectedNodeForTabNav"in $&&t(2,_=$.selectedNodeForTabNav),"dropDownStates"in $&&t(3,p=$.dropDownStates),"isMoreBtnExpanded"in $&&t(4,b=$.isMoreBtnExpanded),"resizeTabNavToggle"in $&&t(18,v=$.resizeTabNavToggle)},[l,r,_,p,b,g,ee,x,pe,z,j,h,n,C,R,G,f,s,v,ce,le,Z,Ce,se,Ue,te,Ae]}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){A(f,e,g),S(e,t),S(t,n),s&&s.m(n,null),S(t,l),S(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&&L(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){A(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&&L(e),dt(n,l)}}}function Ag(i){let e,t,n,l,r,s=i[11](i[24])+"",o,f,g,h,_,p,b,v,w,C,y=i[24].icon&&Rg(i);function P(...T){return i[18](i[24],...T)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.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(T,D){A(T,e,D),S(e,t),S(t,n),y&&y.m(n,null),S(n,l),S(n,r),S(r,o),S(n,f),S(n,g),S(e,p),w||(C=ae(t,"click",P),w=!0)},p(T,D){i=T,i[24].icon?y?y.p(i,D):(y=Rg(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),D&1&&s!==(s=i[11](i[24])+"")&&Ie(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&c(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&c(t,"title",_),D&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&c(e,"class",b),D&1&&v!==(v=i[12](i[24]))&&c(e,"data-testid",v)},d(T){T&&L(e),y&&y.d(),w=!1,C()}}}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),A(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&&L(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){A(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&&L(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){A(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&&L(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),A(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&&L(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){A(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&&L(e),dt(n,l)}}}function Vg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,f,g,h,_,p,b,v,w,C,y=i[24].icon&&Mg(i);function P(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.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(T,D){A(T,e,D),S(e,t),S(t,n),y&&y.m(n,null),S(n,l),S(n,r),S(r,o),S(n,f),S(n,g),S(e,p),w||(C=ae(n,"click",Mt(P)),w=!0)},p(T,D){i=T,i[24].icon?y?y.p(i,D):(y=Mg(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),D&1&&s!==(s=i[11](i[24])+"")&&Ie(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&c(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&c(t,"title",_),D&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&c(e,"class",b),D&1&&v!==(v=i[12](i[24]))&&c(e,"data-testid",v)},d(T){T&&L(e),y&&y.d(),w=!1,C()}}}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),A(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&&L(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){A(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&&L(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){A(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&&L(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),A(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&&L(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),A(r,e,s),t||(n=[ae(window,"click",ua),ae(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&&L(e),t=!1,Ze(n)}}}function ua(){}function sy(i,e,t){let n;const l=Wt();let{pathData:r}=e,s,{pathParams:o}=e,{children:f}=e,{selectedNode:g}=e,h=ht("store"),_=ht("getTranslation");Ci(i,_,B=>t(7,n=B));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:v}=e,w=re.getConfigBooleanValue("navigation.addNavHrefs");const C=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(()=>{an.doOnStoreChange(h,()=>{t(14,b=re.getConfigBooleanValue("settings.hideNavigation")),t(15,v=re.getConfigValue("settings.responsiveNavigation")),t(2,p=re.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),qn(()=>{(!s||s!=r)&&C(),t(6,w=re.getConfigBooleanValue("navigation.addNavHrefs"))});function y(B){return Se.renderIconClassName(B)}function P(B){return Se.isOpenUIiconName(B.icon)}function T(B){return pt.getTranslation(B.label)}function D(B){return B.testId?B.testId:Se.prepareForTests(B.pathSegment,B.label)}function R(B){return me.getNodeHref(B,o)}function I(B){l("handleClick",{node:B})}function O(B){I(B.detail.node)}const H=(B,G)=>{Se.handleNavAnchorClickedWithoutMetaKey(G)&&I(B)},F=B=>I(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,I,ua,w,n,_,y,P,T,D,R,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){A(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&L(e),i[6](null)}}}function uy(i,e,t){const n=Wt();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=y=>{y.last||w(y.node)};Jt(()=>{an.doOnStoreChange(f,()=>{},["navigation"])}),qn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const y=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!y),g&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,g=!1):P.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),y.renderer){let P=[];const T=y.omitRoot?2:1,D=et.getCurrentPath();for(let R=T;R<l.length;R++){const I=l[R],O=me.mapPathToNode(D,I);if(s[O])P.push(s[O]);else if(I.label||I.pathSegment||I.titleResolver)if(document.body.classList.add("lui-breadcrumb"),I.titleResolver)P.push({label:I.titleResolver.prerenderFallback&&I.titleResolver.fallbackTitle?pt.getTranslation(I.titleResolver.fallbackTitle):y.pendingItemLabel||"",node:I,route:O,pending:!0});else{const H=await v(I);H&&P.push({label:H,node:I,route:O})}}y.clearBeforeRender&&t(0,o.innerHTML="",o),y.renderer(o,P,b),P=[];for(let R=T;R<l.length;R++){const I=l[R],O=me.mapPathToNode(D,I);if(I.titleResolver){const F=await Vt.extractDataFromPath(O),B=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,I.context),F.pathData.pathParams);try{const G=await Se.fetchNodeTitleData(I,B);P.push({label:G.label,node:I,route:O});continue}catch{}}const H=await v(I);H&&P.push({label:H,node:I,route:O})}D===et.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"),s={},P.map(R=>{s[R.route]=R}))}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(y){if(y.label&&!y._virtualTree)return pt.getTranslation(y.label)||y.label;if(y.pathSegment&&y.pathSegment.indexOf(":")===0){const P=me.mapPathToNode(et.getCurrentPath(),y),T=await Vt.extractDataFromPath(P);return me.getDynamicNodeValue(y,T.pathData.pathParams)}return y.pathSegment?y.pathSegment:""}function w(y){n("handleClick",{node:y})}function C(y){$e[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,g=y.showBreadcrumb),"hideNavComponent"in y&&t(3,h=y.hideNavComponent),"responsiveNavSetting"in y&&t(4,_=y.responsiveNavSetting)},[o,g,l,h,_,w,C]}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 Lo="not_checked";Rn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Lo="disabled"):i.data==="luigi.tpcEnabled"&&(Lo="enabled")},!1);function cy(){return Lo}const{Boolean:dy,window:Fg}=ul;function Ug(i,e,t){const n=i.slice();return n[148]=e[t],n[150]=t,n}function Bg(i){let e,t;return e=new gS({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){ze(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){qe(e,n)}}}function Hg(i){let e,t;function n(){return i[69](i[150])}function l(...s){return i[70](i[150],...s)}function r(...s){return i[71](i[150],...s)}return e=new p_({props:{settings:i[148].mfModal.settings,nodepath:i[148].mfModal.nodepath,modalIndex:i[150],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){ze(e.$$.fragment)},m(s,o){We(e,s,o),t=!0},p(s,o){i=s;const f={};o[0]&268435456&&(f.settings=i[148].mfModal.settings),o[0]&268435456&&(f.nodepath=i[148].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){qe(e,s)}}}function Wg(i){let e,t,n=i[148].mfModal.displayed&&Hg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[148].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&M(n,1)):(n=Hg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function qg(i){let e,t;return e=new p_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[hy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){ze(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]&134217728&&(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){qe(e,n)}}}function hy(i){let e,t;return e=new xr({props:{area:"drawer",disable:i[13]}}),{c(){ze(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){qe(e,n)}}}function zg(i){let e,t;return e=new vS({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){ze(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){qe(e,n)}}}function Gg(i){let e,t,n;function l(s){i[74](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(){ze(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){qe(e,s)}}}function Kg(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(){ze(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){qe(e,n)}}}function gy(i){let e,t,n,l,r,s,o,f,g;t=new xr({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Kg(i);return{c(){e=k("div"),ze(t.$$.fragment),n=K(),l=k("div"),r=K(),h&&h.c(),s=ke(),c(l,"class","wcContainer svelte-vxd0xv"),c(e,"class","fd-page iframeContainer svelte-vxd0xv"),c(e,"tabindex","0"),vi(e,"lui-split-view",i[12].displayed),vi(e,"lui-collapsed",i[12].collapsed)},m(_,p){A(_,e,p),We(t,e,null),S(e,n),S(e,l),A(_,r,p),h&&h.m(_,p),A(_,s,p),o=!0,f||(g=aw(i[45].call(null,e)),f=!0)},p(_,p){const b={};p[0]&8192&&(b.disable=_[13]),t.$set(b),(!o||p[0]&4096)&&vi(e,"lui-split-view",_[12].displayed),(!o||p[0]&4096)&&vi(e,"lui-collapsed",_[12].collapsed),_[12].displayed?h?(h.p(_,p),p[0]&4096&&M(h,1)):(h=Kg(_),h.c(),M(h,1),h.m(s.parentNode,s)):h&&(ye(),q(h,1,1,()=>{h=null}),Pe())},i(_){o||(M(t.$$.fragment,_),M(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&L(e),qe(t),_&&L(r),h&&h.d(_),_&&L(s),f=!1,g()}}}function jg(i){let e;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-vxd0xv" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-vxd0xv"></div>
56
+ <div class="fd-busy-indicator__circle"></div></div>`,c(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(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);A(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){dt(n,l),l&&L(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,_){A(h,e,_),f.m(e,null),A(h,n,_),l||(r=ae(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&&L(e),f.d(),h&&L(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,_){A(h,e,_),S(e,t),S(t,l),f||(g=ae(e,"click",i[16]),f=!0)},p(h,_){_&138&&n!==(n=h[26]+"")&&Ie(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&&L(e),f=!1,g()}}}function ck(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new hr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&L(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 ra(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ke(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&ra(t,n)||l_(n,i,r)},d(l){l&&L(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){A(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&&L(e),dt(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(e,o),g||(h=[ae(t,"click",i[18]),ae(e,"click",_)],g=!0)},p(p,b){i=p,b&16385&&l!==(l=i[14](i[21].label)+"")&&Ie(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&&L(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),A(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&&L(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){A(_,e,p),o&&o.m(e,null),S(e,t),S(e,n),f&&f.m(n,null),S(n,l),g&&g.m(n,null),S(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(_){_&&L(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=Ro(C,B=>t(14,n=B)),C);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:w}=e,{getTranslation:C}=e;r();let{isContextSwitcherDropdownShown:y}=e;const P=Wt();function T(B){P("onActionClick",{node:B})}function D(B,G){P("goToOption",{option:B,selectedOption:G})}const R=B=>T(B),I=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},O=B=>D(B,_),H=B=>{Se.handleNavAnchorClickedWithoutMetaKey(B)},F=B=>T(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,w=B.getTestId),"getTranslation"in B&&r(t(10,C=B.getTranslation)),"isContextSwitcherDropdownShown"in B&&t(11,y=B.isContextSwitcherDropdownShown)},[s,o,f,g,h,_,p,b,v,w,C,y,T,D,n,R,I,O,H,F]}class k_ extends Et{constructor(e){super(),Rt(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),A(s,e,o),r&&r.m(s,o),A(s,t,o),n=!0},p(s,o){s[9]?l&&(ye(),q(l,1,1,()=>{l=null}),Pe()):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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function ch(i){let e,t,n,l,r,s,o,f,g,h;function _(v,w){return v[10]&&v[2]!==v[5].defaultLabel?mk:pk}let p=_(i),b=p(i);return s=new k_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[11]),s.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),b.c(),l=K(),r=k("div"),Ge(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,w){A(v,e,w),S(e,t),S(t,n),b.m(n,null),S(t,l),S(t,r),We(s,r,null),f=!0,g||(h=ae(n,"click",Bt(Ik)),g=!0)},p(v,w){p===(p=_(v))&&b?b.p(v,w):(b.d(1),b=p(v),b&&(b.c(),b.m(n,null)));const C={};w[0]&1&&(C.actions=v[0]),w[0]&32&&(C.config=v[5]),w[0]&64&&(C.customOptionsRenderer=v[6]),w[0]&2&&(C.options=v[1]),w[0]&16&&(C.selectedLabel=v[4]),w[0]&4&&(C.selectedOption=v[2]),w[0]&512&&(C.isMobile=v[9]),w[0]&16384&&(C.isContextSwitcherDropdownShown=v[14]),s.$set(C),(!f||w[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&&L(e),b.d(),qe(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,_){A(h,e,_),g.m(e,null),r||(s=ae(e,"click",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]&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&&L(e),g.d(),r=!1,s()}}}function mk(i){let e,t,n,l,r,s,o;function f(_,p){return _[2]&&_[7]?Ck:kk}let g=f(i),h=g(i);return{c(){e=k("a"),h.c(),c(e,"href",t=i[2]?i[20](i[2]):void 0),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",n=i[8].contextSwitcherPopover||!1),c(e,"aria-haspopup","true"),c(e,"title",l=i[4]?i[4]:i[5].defaultLabel),c(e,"aria-disabled",r=!i[15]),c(e,"data-testid","luigi-contextswitcher-button")},m(_,p){A(_,e,p),h.m(e,null),s||(o=ae(e,"click",Ot(i[29])),s=!0)},p(_,p){g===(g=f(_))&&h?h.p(_,p):(h.d(1),h=g(_),h&&(h.c(),h.m(e,null))),p[0]&4&&t!==(t=_[2]?_[20](_[2]):void 0)&&c(e,"href",t),p[0]&256&&n!==(n=_[8].contextSwitcherPopover||!1)&&c(e,"aria-expanded",n),p[0]&48&&l!==(l=_[4]?_[4]:_[5].defaultLabel)&&c(e,"title",l),p[0]&32768&&r!==(r=!_[15])&&c(e,"aria-disabled",r)},d(_){_&&L(e),h.d(),s=!1,o()}}}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),A(s,e,o),A(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&&L(e),s&&L(t)}}}function vk(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function wk(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&L(e)}}}function Sk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&L(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),A(s,e,o),A(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&&L(e),s&&L(t)}}}function Ck(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function yk(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&L(e)}}}function Pk(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&L(t)}}}function dh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y,P,T=!i[4]&&hh(i),D=i[4]&&gh(i);return h=new k_({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),h.$on("onActionClick",i[11]),h.$on("goToOption",i[12]),{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("div"),s=k("h2"),T&&T.c(),o=K(),D&&D.c(),f=K(),g=k("div"),Ge(h.$$.fragment),_=K(),p=k("footer"),b=k("div"),v=k("div"),w=k("button"),w.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(w,"class","fd-button fd-button--light fd-dialog__decisive-button"),c(w,"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(R,I){A(R,e,I),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),T&&T.m(s,null),S(s,o),D&&D.m(s,null),S(t,f),S(t,g),We(h,g,null),S(t,_),S(t,p),S(p,b),S(b,v),S(v,w),C=!0,y||(P=[ae(w,"click",i[13]),ae(e,"click",Bt(Tk))],y=!0)},p(R,I){R[4]?T&&(T.d(1),T=null):T?T.p(R,I):(T=hh(R),T.c(),T.m(s,o)),R[4]?D?D.p(R,I):(D=gh(R),D.c(),D.m(s,null)):D&&(D.d(1),D=null);const O={};I[0]&1&&(O.actions=R[0]),I[0]&32&&(O.config=R[5]),I[0]&64&&(O.customOptionsRenderer=R[6]),I[0]&2&&(O.options=R[1]),I[0]&16&&(O.selectedLabel=R[4]),I[0]&4&&(O.selectedOption=R[2]),I[0]&512&&(O.isMobile=R[9]),I[0]&16384&&(O.isContextSwitcherDropdownShown=R[14]),h.$set(O)},i(R){C||(M(h.$$.fragment,R),C=!0)},o(R){q(h.$$.fragment,R),C=!1},d(R){R&&L(e),T&&T.d(),D&&D.d(),qe(h),y=!1,Ze(P)}}}function hh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ie(t,e)},d(n){n&&L(t)}}}function gh(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ie(e,t[4])},d(t){t&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const Ik=()=>{},Tk=()=>{};function Lk(i,e,t){let n,l;const r=Wt();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:w}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:T=!1}=e,{defaultLabel:D}=e,R,I=gt("getUnsavedChangesModalPromise"),O=gt("store"),H=gt("getTranslation");ki(i,H,te=>t(16,l=te));let F=!1,{addNavHrefForAnchor:B}=e,G;Jt(async()=>{an.doOnStoreChange(O,async()=>{const te=re.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!te),!!s&&(t(6,C=ie.isFunction(te.customOptionsRenderer)?te.customOptionsRenderer:void 0),t(7,y=ie.isFunction(te.customSelectedOptionRenderer)?te.customSelectedOptionRenderer:void 0),t(5,g=te),t(1,_=void 0),te)){t(28,p=te.alwaysShowDropdown!==!1),t(0,h=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ae=et.getCurrentPath();t(21,v=te.fallbackLabelResolver),_n.resetFallbackLabelCache(),te.lazyloadOptions||await z(),_n.isContextSwitcherDetailsView(Ae,te.parentNodePath)&&await j(Ae)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(te=>j(te)),An.addEventListener("message",te=>{!Te.getValidMessageSource(te)||te.data&&te.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),z())}),t(22,D=g.defaultLabel)}),qn(()=>{F!==T&&(F=T,z()),t(14,G=o.contextSwitcherPopover||!1)});function ee(te,Ae,$){return te?Promise.resolve(te):_n.getFallbackLabel(Ae,$)}function x(te){return te.testId?te.testId:Se.prepareForTests(te.pathSegment,te.label)}function pe(te){return me.getNodeHref(te,w)}async function z(){t(1,_=await _n.fetchOptions(_));const te=g||{},Ae=te.parentNodePath,$=te.fallbackLabelResolver,ge=et.getCurrentPath();t(2,b=await _n.getSelectedOption(ge,_,Ae)),t(4,f=await _n.getSelectedLabel(ge,_,Ae,$)),await _n.getSelectedNode(ge,_,Ae),R=te.preserveSubPathOnSwitch}async function j(te){const Ae=g||{},$=Ae.parentNodePath,ge=Ae.fallbackLabelResolver;t(2,b=await _n.getSelectedOption(te,_,$)),t(4,f=await _n.getSelectedLabel(te,_,$,ge)),await _n.getSelectedNode(te,_,$)}async function ce(te){let Ae=te.detail.node;Ae.clickHandler&&!await Ae.clickHandler(Ae)||(setTimeout(()=>{le(Ae.link)}),P&&r("toggleDropdownState"))}function le(te){I().then(()=>{et.navigateTo(te)},()=>{})}function Z(te){let Ae=te.detail.option,$=te.detail.selectedOption;I().then(()=>{R&&$?et.navigateTo(_n.getNodePathFromCurrentPath(Ae,$)):et.navigateTo(Ae.link),P&&r("toggleDropdownState")},()=>{})}function Ce(){r("toggleDropdownState");const te=o||{};JSON.parse(te.contextSwitcherPopover)&&z()}const se=()=>{n&&Ce()},Ue=()=>{n&&Ce()};return i.$$set=te=>{"contextSwitcherEnabled"in te&&t(3,s=te.contextSwitcherEnabled),"dropDownStates"in te&&t(8,o=te.dropDownStates),"selectedLabel"in te&&t(4,f=te.selectedLabel),"config"in te&&t(5,g=te.config),"actions"in te&&t(0,h=te.actions),"options"in te&&t(1,_=te.options),"selectedOption"in te&&t(2,b=te.selectedOption),"fallbackLabelResolver"in te&&t(21,v=te.fallbackLabelResolver),"pathParams"in te&&t(23,w=te.pathParams),"customOptionsRenderer"in te&&t(6,C=te.customOptionsRenderer),"customSelectedOptionRenderer"in te&&t(7,y=te.customSelectedOptionRenderer),"isMobile"in te&&t(9,P=te.isMobile),"contextSwitcherToggle"in te&&t(24,T=te.contextSwitcherToggle),"defaultLabel"in te&&t(22,D=te.defaultLabel),"addNavHrefForAnchor"in te&&t(10,B=te.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&268435463&&t(15,n=p||h&&h.length>0||_&&_.length>1||!b)},[h,_,b,s,f,g,C,y,o,P,B,ce,Z,Ce,G,n,l,H,ee,x,pe,v,D,w,T,z,j,le,p,se,Ue]}class C_ extends Et{constructor(e){super(),Rt(this,e,Lk,Nk,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:21,pathParams:23,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:24,defaultLabel:22,addNavHrefForAnchor:10,fetchOptions:25,setSelectedContext:26,onActionClick:11,goToPath:27,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[25]}get setSelectedContext(){return this.$$.ctx[26]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[27]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:Ak}=cl;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),A(s,e,o),r&&r.m(s,o),A(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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function mh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y;function P(O,H){return H&2&&(s=null),s==null&&(s=!!O[11](O[1])),s?Ek:Rk}let T=P(i,-1),D=T(i),R=i[0],I=[];for(let O=0;O<R.length;O+=1)I[O]=Sh(_h(i,R,O));return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),r=k("button"),D.c(),h=K(),_=k("div"),p=k("div"),b=k("ul");for(let O=0;O<I.length;O+=1)I[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=xn(i[9])+" svelte-1e1qi56"),c(_,"class","fd-popover__body fd-popover__body--right"),c(_,"aria-hidden",w=!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){A(O,e,H),S(e,t),S(t,n),S(n,l),S(l,r),D.m(r,null),S(n,h),S(n,_),S(_,p),S(p,b);for(let F=0;F<I.length;F+=1)I[F].m(b,null);C||(y=[ae(r,"click",Bt(i[7])),ae(l,"click",Bt(Hk))],C=!0)},p(O,H){if(T===(T=P(O,H))&&D?D.p(O,H):(D.d(1),D=T(O),D&&(D.c(),D.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){R=O[0];let F;for(F=0;F<R.length;F+=1){const B=_h(O,R,F);I[F]?I[F].p(B,H):(I[F]=Sh(B),I[F].c(),I[F].m(b,null))}for(;F<I.length;F+=1)I[F].d(1);I.length=R.length}H&512&&v!==(v=xn(O[9])+" svelte-1e1qi56")&&c(p,"class",v),H&8&&w!==(w=!O[3].productSwitcherPopover)&&c(_,"aria-hidden",w)},d(O){O&&L(e),D.d(),dt(I,O),C=!1,Ze(y)}}}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){A(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&&L(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){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&c(e,"class",t)},d(n){n&&L(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){A(_,e,p),g.m(e,null),S(e,t),r||(s=ae(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(_){_&&L(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,w){return w&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,w){A(v,e,w),p.m(e,null),A(v,n,w),A(v,l,w),S(l,r),S(r,o),S(l,f),b&&b.m(l,null)},p(v,w){_===(_=h(v,w))&&p?p.p(v,w):(p.d(1),p=_(v),p&&(p.c(),p.m(e,null))),w&1&&s!==(s=v[12](v[22])+"")&&Ie(o,s),w&1&&(g=v[13](v[22])),g?b?b.p(v,w):(b=vh(v),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(v){v&&L(e),p.d(),v&&L(n),v&&L(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,T){return T&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?Uk:Fk}let w=v(i,-1),C=w(i),y=h&&wh(i);return{c(){e=k("a"),t=k("div"),C.c(),l=K(),r=k("div"),s=k("div"),f=Ne(o),g=K(),y&&y.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,T){A(P,e,T),S(e,t),C.m(t,null),S(e,l),S(e,r),S(r,s),S(s,f),S(r,g),y&&y.m(r,null),p||(b=ae(e,"click",i[16]),p=!0)},p(P,T){w===(w=v(P,T))&&C?C.p(P,T):(C.d(1),C=w(P),C&&(C.c(),C.m(t,null))),T&1&&o!==(o=P[12](P[22])+"")&&Ie(f,o),T&1&&(h=P[13](P[22])),h?y?y.p(P,T):(y=wh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),T&1&&_!==(_=P[15](P[22]))&&c(e,"href",_)},d(P){P&&L(e),C.d(),y&&y.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){A(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&&L(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){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&c(e,"class",t)},d(n){n&&L(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){A(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&L(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){A(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&&L(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){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&c(e,"class",t)},d(n){n&&L(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){A(l,e,r),S(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Ie(n,t)},d(l){l&&L(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),A(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&&L(e)}}}function kh(i){let e,t;return e=new w_({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(){Ge(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){qe(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),A(o,t,f),n=!0,l||(r=ae(Ak,"resize",fa),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&&(ye(),q(s,1,1,()=>{s=null}),Pe())},i(o){n||(M(s),n=!0)},o(o){q(s),n=!1},d(o){s&&s.d(o),o&&L(t),l=!1,r()}}}function fa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const Hk=()=>{};function Wk(i,e,t){const n=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,f=gt("store"),g=gt("getUnsavedChangesModalPromise"),h,{addNavHrefForAnchor:_}=e;Jt(async()=>{an.doOnStoreChange(f,async()=>{t(1,s=Se.getProductSwitcherConfig()),s&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),T()),fa()},["navigation.productSwitcher"])});function p(H){g().then(()=>{et.navigateToLink(H)},()=>{}),v()}function b(H){p(H.detail)}function v(){n("toggleDropdownState")}function w(H){return Se.renderIconClassName(H)}function C(H){return Se.isOpenUIiconName(H.icon)}function y(H){return pt.getTranslation(H.label)}function P(H){return pt.getTranslation(H.subTitle)}function T(){Se.getProductSwitcherColumnsNumber()===3?t(9,h="fd-product-switch__body fd-product-switch__body--col-3"):t(9,h="fd-product-switch__body")}function D(H){return H.testId?H.testId:Se.prepareForTests(H.label)}function R(H){return me.getNodeHref(H)}const I=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,fa,h,w,C,y,P,D,R,I,O]}class y_ extends Et{constructor(e){super(),Rt(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 fa}}function Ch(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function qk(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){A(l,e,r),i[19](e),e.focus(),t||(n=ae(e,"keyup",i[18]),t=!0)},p:Fe,d(l){l&&L(e),i[19](null),t=!1,n()}}}function zk(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){A(t,e,n),e.focus()},p:Fe,d(t){t&&L(e)}}}function Gk(i){let e;return{c(){e=k("div")},m(t,n){A(t,e,n),i[23](e)},p:Fe,d(t){t&&L(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){A(r,e,s),S(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&&L(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){A(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&&L(e),dt(n,l),i[22](null)}}}function jk(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new hr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&L(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Ot(Qk)),h=!0)},p(p,b){b[0]&32&&l!==(l=p[31].label+"")&&Ie(r,l),b[0]&32&&f!==(f=p[31].description+"")&&Ie(g,f)},d(p){p&&L(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,_){A(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",f),ae(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&&L(e),o.d(),n=!1,Ze(l)}}}function Yk(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w;function C(I,O){return I[7]&&I[7].disableInputHandlers?zk:qk}let y=C(i),P=y(i);function T(I,O){return I[8]?Gk:Kk}let D=T(i),R=D(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),P.c(),r=K(),R.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(I,O){A(I,e,O),S(e,t),S(t,n),S(n,l),P.m(l,null),S(n,r),R.m(n,null),A(I,f,O),A(I,g,O),S(g,h),S(h,_),S(_,p),v||(w=[ae(window,"click",i[11]),ae(window,"blur",i[11]),ae(n,"click",Bt(Zk)),ae(_,"click",i[6]),ae(h,"click",Bt(Xk))],v=!0)},p(I,O){y===(y=C(I))&&P?P.p(I,O):(P.d(1),P=y(I),P&&(P.c(),P.m(l,null))),D===(D=T(I))&&R?R.p(I,O):(R.d(1),R=D(I),R&&(R.c(),R.m(n,null))),O[0]&16&&s!==(s=!I[4])&&c(n,"aria-hidden",s),O[0]&16&&o!==(o="fd-shellbar__action "+(I[4]?"luigi-search-shell__mobile":"")+" svelte-1jkaxo8")&&c(e,"class",o),O[0]&16&&b!==(b=!I[4])&&c(_,"aria-expanded",b)},i:Fe,o:Fe,d(I){I&&L(e),P.d(),R.d(),I&&L(f),I&&L(g),v=!1,Ze(w)}}}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 _=Wt(),p={fireItemSelected:le=>{b.searchProvider.onSearchResultItemSelected(le)}};let b={},v,w;Jt(async()=>{t(7,b=h);let le=o;const Z=y(b.searchProvider);Z&&(le.placeholder=Z),C()}),qn(()=>{t(7,b=h),C()});function C(){!b.searchProvider||(t(8,v=ie.isFunction(b.searchProvider.customSearchResultRenderer)),t(9,w=ie.isFunction(b.searchProvider.customSearchResultItemRenderer)))}function y(le){if(!le||!le.inputPlaceholder)return;const Z=pt.getCurrentLocale();if(ie.isFunction(le.inputPlaceholder))return le.inputPlaceholder();if(typeof le.inputPlaceholder=="string"){const Ce=pt.getTranslation(le.inputPlaceholder);return!!Ce&&Ce.trim().length>0?Ce:le.inputPlaceholder}if(typeof le.inputPlaceholder=="object")return le.inputPlaceholder[Z]}function P(le,Z,Ce){return setTimeout(()=>{b.searchProvider.customSearchResultItemRenderer(le,Z.children[Ce],p)}),""}function T(){_("closeSearchResult")}function D({keyCode:le}){b&&b.searchProvider?ie.isFunction(b.searchProvider.onEnter)&&le===Si?b.searchProvider.onEnter():ie.isFunction(b.searchProvider.onEscape)&&le===wi?b.searchProvider.onEscape():le===Fi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.isFunction(b.searchProvider.onInput)&&b.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function R(le){let Z=g.children;if(Z)for(let Ce=0;Ce<Z.length;Ce++){let{childNodes:se,nextSibling:Ue,previousSibling:te}=Z[Ce],Ae;if(se[0].getAttribute("aria-selected")==="true"){le===Fi&&(Ae=Ue!==null?Ue:Z[0]),le===Dl&&(Ae=te!==null?te:Z[Z.length-1]),se[0].setAttribute("aria-selected","false"),Ae.childNodes[0].setAttribute("aria-selected","true"),Ae.focus();break}}}function I(){let le=g.children;if(le)for(let Z=0;Z<le.length;Z++){let Ce=le[Z];Ce.childNodes[0].getAttribute("aria-selected")==="true"&&Ce.childNodes[0].setAttribute("aria-selected","false")}}function O(le){b&&ie.isFunction(b.searchProvider.onSearchResultItemSelected)?b.searchProvider.onSearchResultItemSelected(le):ie.isFunction(b.searchProvider.onEscape)&&event.keyCode===wi&&b.searchProvider.onEscape()}function H(le,{keyCode:Z}){Z===Si&&b.searchProvider.onSearchResultItemSelected(le),Z===Dl||Z===Fi?R(Z):ie.isFunction(b.searchProvider.onEscape)&&Z===wi&&(I(),setTimeout(()=>{o.focus()}),b.searchProvider.onEscape())}function F(le){let Z=le.pathObject;Z.externalLink?et.navigateToLink(Z):_("handleSearchNavigation",{node:Z})}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&&ie.isFunction(b.searchProvider.toggleSearch)){const le=n===void 0?!0:!n;b.searchProvider.toggleSearch(o,le)}}const ee=le=>D(le);function x(le){$e[le?"unshift":"push"](()=>{o=le,t(1,o)})}const pe=(le,Z)=>O(le),z=(le,Z)=>H(le,Z);function j(le){$e[le?"unshift":"push"](()=>{g=le,t(3,g)})}function ce(le){$e[le?"unshift":"push"](()=>{f=le,t(2,f)})}return i.$$set=le=>{"isSearchFieldVisible"in le&&t(4,n=le.isSearchFieldVisible),"searchResult"in le&&t(5,l=le.searchResult),"displaySearchResult"in le&&t(0,r=le.displaySearchResult),"displayCustomSearchResult"in le&&t(15,s=le.displayCustomSearchResult),"inputElem"in le&&t(1,o=le.inputElem),"luigiCustomSearchRenderer__slot"in le&&t(2,f=le.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in le&&t(3,g=le.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in le&&t(16,h=le.globalSearchConfig)},[r,o,f,g,n,l,G,b,v,w,P,T,D,O,H,s,h,F,ee,x,pe,z,j,ce]}class xk extends Et{constructor(e){super(),Rt(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){A(g,e,h),i[26](e),A(g,t,h),A(g,n,h),f&&f.m(n,null),S(n,l),S(n,r),s||(o=[ae(e,"keyup",i[25]),ae(e,"input",i[27]),ae(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&&L(e),i[26](null),g&&L(t),g&&L(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){A(t,e,n)},p:Fe,d(t){t&&L(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){A(l,e,r),t||(n=ae(e,"click",i[19]),t=!0)},p:Fe,d(l){l&&L(e),t=!1,n()}}}function nC(i){let e;return{c(){e=k("div")},m(t,n){A(t,e,n),i[31](e)},p:Fe,d(t){t&&L(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){A(r,e,s),S(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&&L(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){A(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&&L(e),dt(n,l),i[30](null)}}}function lC(i){let e,t=i[14](i[40],i[3],i[42])+"",n;return{c(){e=new hr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(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&&L(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){A(p,e,b),S(e,t),S(t,n),S(n,r),S(t,s),S(t,o),S(o,g),h||(_=ae(e,"click",Ot(aC)),h=!0)},p(p,b){b[0]&16&&l!==(l=p[40].label+"")&&Ie(r,l),b[0]&16&&f!==(f=p[40].description+"")&&Ie(g,f)},d(p){p&&L(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,_){A(h,e,_),o.m(e,null),S(e,t),n||(l=[ae(e,"click",f),ae(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&&L(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){A(f,e,g),S(e,t),S(t,n),S(n,l),s||(o=[ae(n,"click",i[6]),ae(t,"click",Bt(uC))],s=!0)},p(f,g){g[0]&32&&r!==(r=!f[5])&&c(n,"aria-expanded",r)},d(f){f&&L(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){A(g,e,h),S(e,t),S(t,l),o||(f=ae(t,"click",Bt(i[32])),o=!0)},p(g,h){h[0]&4224&&n!==(n=g[12](g[7])+"")&&Ie(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&&L(e),o=!1,f()}}}function sC(i){let e,t,n,l,r,s,o,f,g,h,_,p;function b(R,I){return R[8]&&R[8].disableInputHandlers?tC:eC}let v=b(i),w=v(i);function C(R,I){return R[9]?nC:iC}let y=C(i),P=y(i),T=!i[5]&&Ah(i),D=i[5]&&Rh(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=k("div"),w.c(),r=K(),P.c(),f=K(),T&&T.c(),g=K(),D&&D.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(R,I){A(R,e,I),S(e,t),S(t,n),S(n,l),w.m(l,null),S(n,r),P.m(n,null),A(R,f,I),T&&T.m(R,I),A(R,g,I),D&&D.m(R,I),A(R,h,I),_||(p=[ae(window,"click",i[15]),ae(window,"blur",i[15]),ae(n,"click",Bt(oC))],_=!0)},p(R,I){v===(v=b(R))&&w?w.p(R,I):(w.d(1),w=v(R),w&&(w.c(),w.m(l,null))),y===(y=C(R))&&P?P.p(R,I):(P.d(1),P=y(R),P&&(P.c(),P.m(n,null))),I[0]&32&&s!==(s=!R[5])&&c(n,"aria-hidden",s),I[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(R[5]?"lui-global-search-mobile--active":"")+" svelte-1yci3dk")&&c(e,"class",o),R[5]?T&&(T.d(1),T=null):T?T.p(R,I):(T=Ah(R),T.c(),T.m(g.parentNode,g)),R[5]?D?D.p(R,I):(D=Rh(R),D.c(),D.m(h.parentNode,h)):D&&(D.d(1),D=null)},i:Fe,o:Fe,d(R){R&&L(e),w.d(),P.d(),R&&L(f),T&&T.d(R),R&&L(g),D&&D.d(R),R&&L(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 _=Wt(),p={fireItemSelected:oe=>{w.searchProvider.onSearchResultItemSelected(oe)}};let b=ul.globalSearchCenteredCancelButton,{isSearchFieldVisible:v}=e,w={},C,y,P=!1,T=gt("getTranslation");ki(i,T,oe=>t(12,n=oe)),Jt(async()=>{t(8,w=h),t(7,b=w.globalSearchCenteredCancelButton?w.globalSearchCenteredCancelButton:b);let oe=o;const Me=R(w.searchProvider);Me&&(oe.placeholder=Me),D(),Bf.handleVisibilityGlobalSearch();const He=document.querySelector(".lui-global-search");He&&new ResizeObserver(Ke=>{Bf.handleVisibilityGlobalSearch()}).observe(He)}),qn(()=>{t(8,w=h),D(),B()});function D(){t(9,C=w.searchProvider&&ie.isFunction(w.searchProvider.customSearchResultRenderer)),t(10,y=w.searchProvider&&ie.isFunction(w.searchProvider.customSearchResultItemRenderer))}function R(oe){if(!oe||!oe.inputPlaceholder)return;const Me=pt.getCurrentLocale();if(ie.isFunction(oe.inputPlaceholder))return oe.inputPlaceholder();if(typeof oe.inputPlaceholder=="string"){const He=pt.getTranslation(oe.inputPlaceholder);return!!He&&He.trim().length>0?He:oe.inputPlaceholder}if(typeof oe.inputPlaceholder=="object")return oe.inputPlaceholder[Me]}function I(oe,Me,He){return setTimeout(()=>{w.searchProvider.customSearchResultItemRenderer(oe,Me.children[He],p)}),""}function O(){_("closeSearchResult")}function H({keyCode:oe}){w?ie.isFunction(w.searchProvider.onEnter)&&oe===Si?w.searchProvider.onEnter():ie.isFunction(w.searchProvider.onEscape)&&oe===wi?w.searchProvider.onEscape():oe===Fi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ie.isFunction(w.searchProvider.onInput)&&w.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){w&&ie.isFunction(w.searchProvider.onSearchBtnClick)&&w.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 ee(oe){let Me=g.children;if(Me)for(let He=0;He<Me.length;He++){let{childNodes:be,nextSibling:Ke,previousSibling:St}=Me[He],qt;if(be[0].getAttribute("aria-selected")==="true"){oe===Fi&&(qt=Ke!==null?Ke:Me[0]),oe===Dl&&(qt=St!==null?St:Me[Me.length-1]),be[0].setAttribute("aria-selected","false"),qt.childNodes[0].setAttribute("aria-selected","true"),qt.focus();break}}}function x(){let oe=g.children;if(oe)for(let Me=0;Me<oe.length;Me++){let He=oe[Me];He.childNodes[0].getAttribute("aria-selected")==="true"&&He.childNodes[0].setAttribute("aria-selected","false")}}function pe(oe){w&&ie.isFunction(w.searchProvider.onSearchResultItemSelected)?w.searchProvider.onSearchResultItemSelected(oe):ie.isFunction(w.searchProvider.onEscape)&&event.keyCode===wi&&w.searchProvider.onEscape()}function z(oe,{keyCode:Me}){Me===Si&&w.searchProvider.onSearchResultItemSelected(oe),Me===Dl||Me===Fi?ee(Me):ie.isFunction(w.searchProvider.onEscape)&&Me===wi&&(x(),setTimeout(()=>{o.focus()}),w.searchProvider.onEscape())}function j(oe){let Me=oe.pathObject;Me.externalLink?et.navigateToLink(Me):_("handleSearchNavigation",{node:Me})}function ce(){o&&o.focus()}function le(){if(v?t(0,r=!1):setTimeout(()=>{ce()}),_("toggleSearch",{isSearchFieldVisible:v,inputElem:o,luigiCustomSearchRenderer__slot:f}),ie.isFunction(w.searchProvider.toggleSearch)){const oe=v===void 0?!0:!v;w.searchProvider.toggleSearch(o,oe)}}const Z=oe=>H(oe);function Ce(oe){$e[oe?"unshift":"push"](()=>{o=oe,t(1,o)})}const se=()=>B(),Ue=(oe,Me)=>pe(oe),te=(oe,Me)=>z(oe,Me);function Ae(oe){$e[oe?"unshift":"push"](()=>{g=oe,t(3,g)})}function $(oe){$e[oe?"unshift":"push"](()=>{f=oe,t(2,f)})}const ge=()=>le();return i.$$set=oe=>{"searchResult"in oe&&t(4,l=oe.searchResult),"displaySearchResult"in oe&&t(0,r=oe.displaySearchResult),"displayCustomSearchResult"in oe&&t(22,s=oe.displayCustomSearchResult),"inputElem"in oe&&t(1,o=oe.inputElem),"luigiCustomSearchRenderer__slot"in oe&&t(2,f=oe.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in oe&&t(3,g=oe.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in oe&&t(23,h=oe.globalSearchConfig),"isSearchFieldVisible"in oe&&t(5,v=oe.isSearchFieldVisible)},[r,o,f,g,l,v,le,b,w,C,y,P,n,T,I,O,H,F,B,G,pe,z,s,h,j,Z,Ce,se,Ue,te,Ae,$,ge]}class cC extends Et{constructor(e){super(),Rt(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),A(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&&L(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){A(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&&L(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){A(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&&L(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(),Ge(r.$$.fragment)},m(o,f){A(o,e,f),S(e,n),S(e,l),We(r,e,null),s=!0},p(o,f){(!s||f&1)&&t!==(t=o[3](o[0])+"")&&Ie(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&&L(e),qe(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),A(s,e,o),r&&r.m(s,o),A(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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(r),n=!0)},o(s){q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(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 Vo extends Et{constructor(e){super(),Rt(this,e,_C,gC,Tt,{node:0})}}const{Boolean:P_,window:Vh}=cl;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 v_({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Ge(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){qe(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 w(I){i[59](I)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new V2({props:C}),$e.push(()=>vt(l,"dropDownStates",w)),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&Uh(i),P=(!i[0]||i[1])&&Bh(i),T=(i[18]||i[7]&&i[30].length>0)&&Wh(i),D=(i[0]||i[16])&&ig(i),R=i[12]&&lg(i);return{c(){e=k("div"),t=k("div"),v&&v.c(),n=K(),Ge(l.$$.fragment),s=K(),y&&y.c(),o=K(),f=k("div"),P&&P.c(),g=K(),T&&T.c(),h=K(),D&&D.c(),_=K(),R&&R.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(I,O){A(I,e,O),S(e,t),v&&v.m(t,null),S(t,n),We(l,t,null),S(e,s),y&&y.m(e,null),S(e,o),S(e,f),P&&P.m(f,null),S(f,g),T&&T.m(f,null),S(f,h),D&&D.m(f,null),S(f,_),R&&R.m(f,null),b=!0},p(I,O){I[3]==="simple"||I[3]==="simpleMobileOnly"||I[3]==="Fiori3"?v?v.p(I,O):(v=Fh(I),v.c(),v.m(t,n)):v&&(v.d(1),v=null);const H={};O[0]&1073741824&&(H.pathData=I[30]),O[1]&1&&(H.pathParams=I[31]),O[0]&268435456&&(H.addNavHrefForAnchor=I[28]),!r&&O[0]&64&&(r=!0,H.dropDownStates=I[6],bt(()=>r=!1)),l.$set(H),I[18]&&I[19]?y?(y.p(I,O),O[0]&786432&&M(y,1)):(y=Uh(I),y.c(),M(y,1),y.m(e,o)):y&&(ye(),q(y,1,1,()=>{y=null}),Pe()),!I[0]||I[1]?P?(P.p(I,O),O[0]&3&&M(P,1)):(P=Bh(I),P.c(),M(P,1),P.m(f,g)):P&&(ye(),q(P,1,1,()=>{P=null}),Pe()),I[18]||I[7]&&I[30].length>0?T?(T.p(I,O),O[0]&1074004096&&M(T,1)):(T=Wh(I),T.c(),M(T,1),T.m(f,h)):T&&(ye(),q(T,1,1,()=>{T=null}),Pe()),I[0]||I[16]?D?(D.p(I,O),O[0]&65537&&M(D,1)):(D=ig(I),D.c(),M(D,1),D.m(f,_)):D&&(ye(),q(D,1,1,()=>{D=null}),Pe()),I[12]?R?(R.p(I,O),O[0]&4096&&M(R,1)):(R=lg(I),R.c(),M(R,1),R.m(f,null)):R&&(ye(),q(R,1,1,()=>{R=null}),Pe()),(!b||O[0]&134217732&&p!==(p="fd-shellbar "+(I[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(I[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&c(e,"class",p)},i(I){b||(M(l.$$.fragment,I),M(y),M(P),M(T),M(D),M(R),b=!0)},o(I){q(l.$$.fragment,I),q(y),q(P),q(T),q(D),q(R),b=!1},d(I){I&&L(e),v&&v.d(),qe(l),y&&y.d(),P&&P.d(),T&&T.d(),D&&D.d(),R&&R.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){A(r,e,s),S(e,t),n||(l=ae(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&c(e,"title",r[26])},d(r){r&&L(e),n=!1,l()}}}function Uh(i){let e,t,n,l,r,s,o,f,g;function h(y){i[60](y)}function _(y){i[61](y)}function p(y){i[62](y)}function b(y){i[63](y)}function v(y){i[64](y)}function w(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 cC({props:C}),$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",w)),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=k("div"),Ge(t.$$.fragment),c(e,"class","lui-global-search")},m(y,P){A(y,e,P),We(t,e,null),g=!0},p(y,P){const T={};P[0]&262144&&(T.globalSearchConfig=y[18]),!n&&P[0]&1048576&&(n=!0,T.isSearchFieldVisible=y[20],bt(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,T.searchResult=y[25],bt(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,T.displaySearchResult=y[23],bt(()=>r=!1)),!s&&P[0]&16777216&&(s=!0,T.displayCustomSearchResult=y[24],bt(()=>s=!1)),!o&&P[0]&2097152&&(o=!0,T.inputElem=y[21],bt(()=>o=!1)),!f&&P[0]&4194304&&(f=!0,T.luigiCustomSearchRenderer__slot=y[22],bt(()=>f=!1)),t.$set(T)},i(y){g||(M(t.$$.fragment,y),g=!0)},o(y){q(t.$$.fragment,y),g=!1},d(y){y&&L(e),qe(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 C_({props:o}),$e.push(()=>vt(t,"dropDownStates",s)),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=K(),Ge(t.$$.fragment)},m(f,g){r&&r.m(f,g),A(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&&(ye(),q(r,1,1,()=>{r=null}),Pe());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&&L(e),qe(t,f)}}}function Hh(i){let e,t,n,l,r,s,o,f;function g(C){i[69](C)}function h(C){i[70](C)}function _(C){i[71](C)}function p(C){i[72](C)}function b(C){i[73](C)}function v(C){i[74](C)}let w={globalSearchConfig:i[18]};return i[20]!==void 0&&(w.isSearchFieldVisible=i[20]),i[25]!==void 0&&(w.searchResult=i[25]),i[23]!==void 0&&(w.displaySearchResult=i[23]),i[24]!==void 0&&(w.displayCustomSearchResult=i[24]),i[21]!==void 0&&(w.inputElem=i[21]),i[22]!==void 0&&(w.luigiCustomSearchRenderer__slot=i[22]),e=new xk({props:w}),$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(){Ge(e.$$.fragment)},m(C,y){We(e,C,y),f=!0},p(C,y){const P={};y[0]&262144&&(P.globalSearchConfig=C[18]),!t&&y[0]&1048576&&(t=!0,P.isSearchFieldVisible=C[20],bt(()=>t=!1)),!n&&y[0]&33554432&&(n=!0,P.searchResult=C[25],bt(()=>n=!1)),!l&&y[0]&8388608&&(l=!0,P.displaySearchResult=C[23],bt(()=>l=!1)),!r&&y[0]&16777216&&(r=!0,P.displayCustomSearchResult=C[24],bt(()=>r=!1)),!s&&y[0]&2097152&&(s=!0,P.inputElem=C[21],bt(()=>s=!1)),!o&&y[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=C[22],bt(()=>o=!1)),e.$set(P)},i(C){f||(M(e.$$.fragment,C),f=!0)},o(C){q(e.$$.fragment,C),f=!1},d(C){qe(e,C)}}}function Wh(i){let e,t,n,l=i[7]&&i[30].length>0&&qh(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),A(s,e,o),r&&r.m(s,o),A(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=qh(s),l.c(),M(l,1),l.m(e.parentNode,e)):l&&(ye(),q(l,1,1,()=>{l=null}),Pe()),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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){n||(M(l),M(r),n=!0)},o(s){q(l),q(r),n=!1},d(s){l&&l.d(s),s&&L(e),r&&r.d(s),s&&L(t)}}}function qh(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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(P_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){dt(l,s),s&&L(e)}}}function zh(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),A(f,n,g),l=!0},p(f,g){let h=e;e=o(f),e===h?s[e].p(f,g):(ye(),q(s[h],1,1,()=>{s[h]=null}),Pe(),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&&L(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){A(g,e,h),o[t].m(e,null),S(e,l),r=!0},p(g,h){let _=t;t=f(g),t===_?o[t].p(g,h):(ye(),q(o[_],1,1,()=>{o[_]=null}),Pe(),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&&L(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),A(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&&(ye(),q(l,1,1,()=>{l=null}),Pe())},i(r){n||(M(l),n=!0)},o(r){q(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function wC(i){let e,t,n,l,r,s,o,f,g,h,_;function p(w){i[84](w,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Vo({props:b}),$e.push(()=>vt(t,"node",p)),r=new ei({props:{node:i[111]}});function v(){return i[85](i[111])}return{c(){e=k("button"),Ge(t.$$.fragment),l=K(),Ge(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(w,C){A(w,e,C),We(t,e,null),S(e,l),We(r,e,null),g=!0,h||(_=ae(e,"click",v),h=!0)},p(w,C){i=w;const y={};!n&&C[0]&128&&(n=!0,y.node=i[111],bt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[111]),r.$set(P),(!g||C[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&c(e,"title",s),(!g||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(e,"class",o),(!g||C[0]&128&&f!==(f=i[50](i[111])))&&c(e,"data-testid",f)},i(w){g||(M(t.$$.fragment,w),M(r.$$.fragment,w),g=!0)},o(w){q(t.$$.fragment,w),q(r.$$.fragment,w),g=!1},d(w){w&&L(e),qe(t),qe(r),h=!1,_()}}}function SC(i){let e,t,n,l,r,s,o,f,g,h,_,p;function b(C){i[82](C,i[111],i[114],i[113])}let v={};i[111]!==void 0&&(v.node=i[111]),t=new Vo({props:v}),$e.push(()=>vt(t,"node",b)),r=new ei({props:{node:i[111]}});function w(...C){return i[83](i[111],...C)}return{c(){e=k("a"),Ge(t.$$.fragment),l=K(),Ge(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(C,y){A(C,e,y),We(t,e,null),S(e,l),We(r,e,null),h=!0,_||(p=ae(e,"click",w),_=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[111],bt(()=>n=!1)),t.$set(P);const T={};y[0]&128&&(T.node=i[111]),r.$set(T),(!h||y[0]&128&&s!==(s=i[51](i[111])))&&c(e,"href",s),(!h||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&c(e,"class",o),(!h||y[0]&128&&f!==(f=i[52](i[111],i[49](i[111]))))&&c(e,"title",f),(!h||y[0]&128&&g!==(g=i[50](i[111])))&&c(e,"data-testid",g)},i(C){h||(M(t.$$.fragment,C),M(r.$$.fragment,C),h=!0)},o(C){q(t.$$.fragment,C),q(r.$$.fragment,C),h=!1},d(C){C&&L(e),qe(t),qe(r),_=!1,p()}}}function Gh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y,P,T,D;function R(H){i[80](H,i[111],i[114],i[113])}let I={};i[111]!==void 0&&(I.node=i[111]),r=new Vo({props:I}),$e.push(()=>vt(r,"node",R)),f=new ei({props:{node:i[111]}});function O(){return i[81](i[113])}return w=new S_({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"),Ge(r.$$.fragment),o=K(),Ge(f.$$.fragment),b=K(),v=k("div"),Ge(w.$$.fragment),y=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",C=!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){A(H,e,F),S(e,t),S(t,n),S(n,l),We(r,l,null),S(l,o),We(f,l,null),S(t,b),S(t,v),We(w,v,null),S(e,y),P=!0,T||(D=[ae(l,"click",O),ae(n,"click",Bt(OC))],T=!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 ee={};F[0]&128&&(ee.node=i[111]),F[1]&1&&(ee.pathParams=i[31]),F[0]&268435456&&(ee.addNavHrefForAnchor=i[28]),w.$set(ee),(!P||F[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[113]}`]))&&c(v,"aria-hidden",C)},i(H){P||(M(r.$$.fragment,H),M(f.$$.fragment,H),M(w.$$.fragment,H),P=!0)},o(H){q(r.$$.fragment,H),q(f.$$.fragment,H),q(w.$$.fragment,H),P=!1},d(H){H&&L(e),qe(r),qe(f),qe(w),T=!1,Ze(D)}}}function Kh(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),A(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(e)}}}function jh(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y,P,T,D,R,I,O,H;g=new ei({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),ee=i[12]&&xh(i),x=i[12]&&eg(i),pe=i[14]&&tg(i),z=(!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(),Ge(g.$$.fragment),_=K(),p=k("div"),b=k("nav"),v=k("ul"),F&&F.c(),w=K(),B&&B.c(),C=K(),G&&G.c(),y=K(),ee&&ee.c(),T=K(),x&&x.c(),D=K(),pe&&pe.c(),R=K(),z&&z.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(j,ce){A(j,e,ce),S(e,t),S(t,n),S(n,l),S(l,r),S(r,s),S(s,o),S(s,f),We(g,s,null),S(n,_),S(n,p),S(p,b),S(b,v),F&&F.m(v,null),S(v,w),B&&B.m(v,null),S(v,C),G&&G.m(v,null),S(v,y),ee&&ee.m(v,null),S(n,T),x&&x.m(n,null),S(n,D),pe&&pe.m(n,null),S(n,R),z&&z.m(n,null),I=!0,O||(H=[ae(s,"click",i[86]),ae(l,"click",Bt(FC))],O=!0)},p(j,ce){const le={};ce[0]&2048&&(le.node=j[11]),g.$set(le),(!I||ce[0]&64&&h!==(h=j[6].overflowPopover||!1))&&c(s,"aria-expanded",h),j[18]&&!j[19]?F?F.p(j,ce):(F=Jh(j),F.c(),F.m(v,w)):F&&(F.d(1),F=null),j[46]&&(!j[0]||j[1])?B?B.p(j,ce):(B=Yh(j),B.c(),B.m(v,C)):B&&(B.d(1),B=null),j[7]?G?(G.p(j,ce),ce[0]&128&&M(G,1)):(G=Qh(j),G.c(),M(G,1),G.m(v,y)):G&&(ye(),q(G,1,1,()=>{G=null}),Pe()),j[12]?ee?ee.p(j,ce):(ee=xh(j),ee.c(),ee.m(v,null)):ee&&(ee.d(1),ee=null),(!I||ce[0]&64&&P!==(P=!j[6].overflowPopover))&&c(p,"aria-hidden",P),j[12]?x?(x.p(j,ce),ce[0]&4096&&M(x,1)):(x=eg(j),x.c(),M(x,1),x.m(n,D)):x&&(ye(),q(x,1,1,()=>{x=null}),Pe()),j[14]?pe?(pe.p(j,ce),ce[0]&16384&&M(pe,1)):(pe=tg(j),pe.c(),M(pe,1),pe.m(n,R)):pe&&(ye(),q(pe,1,1,()=>{pe=null}),Pe()),!j[0]||j[1]?z?(z.p(j,ce),ce[0]&3&&M(z,1)):(z=ng(j),z.c(),M(z,1),z.m(n,null)):z&&(ye(),q(z,1,1,()=>{z=null}),Pe())},i(j){I||(M(g.$$.fragment,j),M(G),M(x),M(pe),M(z),I=!0)},o(j){q(g.$$.fragment,j),q(G),q(x),q(pe),q(z),I=!1},d(j){j&&L(e),qe(g),F&&F.d(),B&&B.d(),G&&G.d(),ee&&ee.d(),x&&x.d(),pe&&pe.d(),z&&z.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){A(r,e,s),S(e,t),n||(l=ae(t,"click",Bt(i[87])),n=!0)},p:Fe,d(r){r&&L(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){A(_,e,p),S(e,t),S(t,n),S(t,r),S(t,s),S(s,f),g||(h=ae(t,"click",Bt(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])+"")&&Ie(f,o)},d(_){_&&L(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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)M(l[o]);t=!0}},o(s){l=l.filter(P_);for(let o=0;o<l.length;o+=1)q(l[o]);t=!1},d(s){dt(l,s),s&&L(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),A(g,l,h),r=!0},p(g,h){let _=t;t=f(g,h),t===_?~t&&o[t].p(g,h):(n&&(ye(),q(o[_],1,1,()=>{o[_]=null}),Pe()),~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&&L(l)}}}function kC(i){let e,t,n,l,r,s,o,f,g=i[49](i[111])+"",h,_,p,b,v,w,C;function y(R,I){return I[0]&128&&(l=null),l==null&&(l=!!R[48](R[111])),l?PC:yC}let P=y(i,[-1,-1,-1,-1]),T=P(i);s=new ei({props:{node:i[111]}});function D(){return i[89](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),T.c(),r=K(),Ge(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(R,I){A(R,e,I),S(e,t),S(t,n),T.m(n,null),S(n,r),We(s,n,null),S(t,o),S(t,f),S(f,h),S(e,b),v=!0,w||(C=ae(t,"click",Ot(D)),w=!0)},p(R,I){i=R,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const O={};I[0]&128&&(O.node=i[111]),s.$set(O),(!v||I[0]&128)&&g!==(g=i[49](i[111])+"")&&Ie(h,g),(!v||I[0]&128&&_!==(_=i[51](i[111])))&&c(t,"href",_),(!v||I[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&c(t,"title",p)},i(R){v||(M(s.$$.fragment,R),v=!0)},o(R){q(s.$$.fragment,R),v=!1},d(R){R&&L(e),T.d(),qe(s),w=!1,C()}}}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,w,C,y,P,T=l&&Xh(i);s=new ei({props:{node:i[111]}});function D(){return i[88](i[111])}return{c(){e=k("li"),t=k("a"),n=k("span"),T&&T.c(),r=K(),Ge(s.$$.fragment),f=K(),g=k("span"),_=Ne(h),w=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(R,I){A(R,e,I),S(e,t),S(t,n),T&&T.m(n,null),S(n,r),We(s,n,null),S(t,f),S(t,g),S(g,_),S(e,w),C=!0,y||(P=ae(t,"click",Ot(D)),y=!0)},p(R,I){i=R,I[0]&128&&(l=!i[48](i[111])),l?T?T.p(i,I):(T=Xh(i),T.c(),T.m(n,r)):T&&(T.d(1),T=null);const O={};I[0]&128&&(O.node=i[111]),s.$set(O),(!C||I[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),(!C||I[0]&128)&&h!==(h=i[49](i[111])+"")&&Ie(_,h),(!C||I[0]&128&&p!==(p=i[51](i[111])))&&c(t,"href",p),(!C||I[0]&384&&b!==(b="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&c(t,"class",b),(!C||I[0]&128&&v!==(v=i[50](i[111])+"-mobile"))&&c(t,"data-testid",v)},i(R){C||(M(s.$$.fragment,R),C=!0)},o(R){q(s.$$.fragment,R),C=!1},d(R){R&&L(e),T&&T.d(),qe(s),y=!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){A(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&&L(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){A(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&&L(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){A(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&&L(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),A(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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){A(b,e,v),S(e,t),p.m(t,null),S(t,l),S(t,r),S(r,o),f||(g=ae(t,"click",Bt(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+"")&&Ie(o,s)},d(b){b&&L(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){A(r,e,s),S(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&&L(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){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&c(e,"class",t)},d(n){n&&L(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 y_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[91]),{c(){Ge(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){qe(e,s)}}}function tg(i){let e,t;return e=new S_({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Ge(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){qe(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 C_({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(){Ge(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){qe(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"&&ie.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){A(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):(ye(),q(o[_],1,1,()=>{o[_]=null}),Pe(),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&&L(e),o[n].d()}}}function TC(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w;function C(T,D){return T[17].picture?RC:AC}let y=C(i),P=y(i);return _=new v_({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"),Ge(_.$$.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(T,D){A(T,e,D),S(e,t),S(t,n),S(n,l),S(l,r),P.m(r,null),S(t,g),S(t,h),We(_,h,null),b=!0,v||(w=[ae(r,"click",i[99]),ae(n,"click",Bt(BC))],v=!0)},p(T,D){y===(y=C(T))&&P?P.p(T,D):(P.d(1),P=y(T),P&&(P.c(),P.m(r,null))),(!b||D[0]&64&&s!==(s=T[6].profilePopover||!1))&&c(r,"aria-expanded",s),(!b||D[0]&131072&&o!==(o=T[17].name?T[17].name:void 0))&&c(r,"title",o),(!b||D[0]&131072&&f!==(f=T[17].picture?"fd-shellbar__button--user-menu":""))&&c(l,"class",f);const R={};D[0]&268435456&&(R.addNavHrefForAnchor=T[28]),_.$set(R),(!b||D[0]&64&&p!==(p=!T[6].profilePopover))&&c(h,"aria-hidden",p)},i(T){b||(M(_.$$.fragment,T),b=!0)},o(T){q(_.$$.fragment,T),b=!1},d(T){T&&L(e),P.d(),qe(_),v=!1,Ze(w)}}}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 z2({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"),Ge(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){A(b,e,v),S(e,t),p.m(t,null),S(e,n),S(e,l),We(r,l,null),o=!0,f||(g=ae(t,"click",Bt(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 w={};v[0]&268435456&&(w.addNavHrefForAnchor=b[28]),r.$set(w),(!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&&L(e),p.d(),qe(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){A(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&c(e,"class",t)},d(n){n&&L(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){A(t,e,n)},p(t,n){n[0]&131072&&oi(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(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){A(o,e,f),S(e,n),r||(s=ae(e,"click",i[97]),r=!0)},p(o,f){f[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ie(n,t),f[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&c(e,"title",l)},d(o){o&&L(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){A(r,e,s),n||(l=ae(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&&L(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 y_({props:r}),$e.push(()=>vt(e,"dropDownStates",l)),e.$on("toggleDropdownState",i[102]),{c(){Ge(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){qe(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,_),A(h,n,_),l=!0,r||(s=[ae(Vh,"click",i[41]),ae(Vh,"blur",i[41])],r=!0)},p(h,_){let p=e;e=g(h),e===p?f[e].p(h,_):(ye(),q(f[p],1,1,()=>{f[p]=null}),Pe(),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&&L(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=Wt();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:w}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:D}=e,{productSwitcherConfig:R}=e,{openMobileDropDown:I}=e,{nodeForMobile:O}=e,{profileItemsAvailable:H}=e,{userInfo:F={}}=e,{urlAuthError:B}=e,{globalSearchConfig:G}=e,{isGlobalSearchCentered:ee}=e,{isSearchFieldVisible:x}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:z}=e,{displaySearchResult:j}=e,{displayCustomSearchResult:ce}=e,{searchResult:le}=e,{burgerTooltip:Z}=e,{responsiveShellbarPadding:Ce}=e,se=gt("store"),Ue=!1,te,Ae,$=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:ge=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const oe=async()=>{if(_&&0<_.length){const Y=await Se.generateTopNavNodes(_);t(7,w=Y.children),t(8,C=Y.selectedNode),t(9,y=Y.visibleNodeCount),t(11,T=Y.totalBadgeNode),t(10,P=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,p=_}},Me=()=>{t(1,s=ol.isLoggedIn())};Jt(()=>{an.doOnStoreChange(se,()=>{t(0,l=vi.isAuthorizationEnabled()),t(16,H=re.getConfigValue("navigation.profile")),t(54,r=!Boolean(re.getConfigValue("auth.disableAutoLogin"))),t(12,D=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,Ce=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,R=Se.getProductSwitcherConfig()),t(18,G=re.getConfigValue("globalSearch")),t(19,ee=G&&G.searchFieldCentered&&ie.requestExperimentalFeature("globalSearchCentered",!0)),t(5,h=re.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),t(28,ge=re.getConfigBooleanValue("navigation.addNavHrefs")),t(46,$=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),an.doOnStoreChange(se,()=>{oe()},["navigation.viewgroupdata"]),An.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&oe()})}),qn(()=>{(!p||p!=_)&&oe(),Me()});let{showTopNav:He}=e;function be(Y){return Se.renderIconClassName(Y)}function Ke(Y){return Se.isOpenUIiconName(Y.icon)}const St=Y=>Se.getNodeLabel(Y);function qt(Y){return Y.testId?Y.testId:Se.prepareForTests(Y.pathSegment,Y.label)}function kt(Y){return me.getNodeHref(Y,b)}function Yt(Y,tt){return Se.generateTooltipText(Y,tt)}function pn(){Dt("productSwitcherPopover")}function on(){t(43,Ue=!Ue),Dt("contextSwitcherPopover")}function mn(Y){t(14,I=!0),t(15,O=Y)}function Bi(){t(14,I=!1)}function bn(Y){n("handleClick",{node:Y})}function Qt(Y){n("handleSearchNavigation",{node:Y})}function Rn(Y){bn(Y.detail.node)}function Dt(Y){const tt=v||{},cn=!tt[Y];zn(),Bi(),tt[Y]=cn,t(6,v=tt)}function dl(Y){Dt(Y.detail.name)}function en(){pe&&pe.focus()}function un(){x||setTimeout(()=>{en()}),n("toggleSearch",{isSearchFieldVisible:x,inputElem:pe,luigiCustomSearchRenderer__slot:z})}function zn(){const Y=v||{},tt=Object.keys(Y);tt&&tt.length>0&&tt.forEach(cn=>{Y[cn]=!1,t(6,v=Y)})}function Gt(){f==="simple"||f==="simpleMobileOnly"?fi():ci(),Cn()}function Cn(){if(!Se.getBurgerTooltipConfig())return;const[Y,tt]=Se.getBurgerTooltipConfig();Y&&tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,Z=document.body.classList.contains("lui-leftNavToggle")?Y:tt),document.body.classList.contains("lui-semiCollapsible")&&t(26,Z=document.body.classList.contains("semiCollapsed")?Y: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 fn(Y){const tt=Y.detail;t(17,F=tt||{})}function Ci(Y){v=Y,t(6,v)}function ne(Y){x=Y,t(20,x)}function Le(Y){le=Y,t(25,le)}function at(Y){j=Y,t(23,j)}function Nt(Y){ce=Y,t(24,ce)}function Ct(Y){pe=Y,t(21,pe)}function ln(Y){z=Y,t(22,z)}function En(Y){Rl.call(this,i,Y)}function Gn(Y){Rl.call(this,i,Y)}function ti(Y){Rl.call(this,i,Y)}function Ol(Y){x=Y,t(20,x)}function Hi(Y){le=Y,t(25,le)}function gr(Y){j=Y,t(23,j)}function _r(Y){ce=Y,t(24,ce)}function Fl(Y){pe=Y,t(21,pe)}function pr(Y){z=Y,t(22,z)}function mr(Y){Rl.call(this,i,Y)}function br(Y){Rl.call(this,i,Y)}function hl(Y){Rl.call(this,i,Y)}function vr(Y){v=Y,t(6,v)}const yi=()=>Dt("contextSwitcherPopover");function Wi(Y,tt,cn,hi){cn[hi]=Y,t(7,w)}const gl=Y=>Dt(`dropDownPopover-${Y}`);function qi(Y,tt,cn,hi){cn[hi]=Y,t(7,w)}const Ul=(Y,tt)=>{Se.handleNavAnchorClickedWithoutMetaKey(tt)&&bn(Y)};function Bl(Y,tt,cn,hi){cn[hi]=Y,t(7,w)}const Hl=Y=>bn(Y),wr=()=>Dt("overflowPopover"),yn=()=>{un(),Dt("overflowPopover")},zi=Y=>bn(Y),_l=Y=>mn(Y);function Wl(Y){v=Y,t(6,v)}const Sr=()=>Dt("productSwitcherPopover");function Gi(Y){v=Y,t(6,v)}function pl(Y){te=Y,t(44,te)}function ml(Y){Ae=Y,t(45,Ae)}const di=()=>Dt("contextSwitcherPopover"),ql=()=>Dt("profilePopover"),Pi=()=>Dt("profilePopover"),kr=()=>Dt("profilePopover"),ft=()=>Dt("profilePopover"),bl=()=>Dt("profilePopover");function Ki(Y){v=Y,t(6,v)}const vl=()=>Dt("productSwitcherPopover"),wl=()=>Dt("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(54,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,s=Y.isLoggedIn),"hideNavComponent"in Y&&t(2,o=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,f=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,g=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,h=Y.showGlobalNav),"pathData"in Y&&t(30,_=Y.pathData),"pathParams"in Y&&t(31,b=Y.pathParams),"dropDownStates"in Y&&t(6,v=Y.dropDownStates),"children"in Y&&t(7,w=Y.children),"selectedNode"in Y&&t(8,C=Y.selectedNode),"visibleNodeCount"in Y&&t(9,y=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,P=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,T=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,D=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,R=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,I=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,O=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,H=Y.profileItemsAvailable),"userInfo"in Y&&t(17,F=Y.userInfo),"urlAuthError"in Y&&t(55,B=Y.urlAuthError),"globalSearchConfig"in Y&&t(18,G=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,ee=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,x=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,pe=Y.inputElem),"luigiCustomSearchRenderer__slot"in Y&&t(22,z=Y.luigiCustomSearchRenderer__slot),"displaySearchResult"in Y&&t(23,j=Y.displaySearchResult),"displayCustomSearchResult"in Y&&t(24,ce=Y.displayCustomSearchResult),"searchResult"in Y&&t(25,le=Y.searchResult),"burgerTooltip"in Y&&t(26,Z=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(27,Ce=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(28,ge=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(29,He=Y.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,w,C,y,P,T,D,R,I,O,H,F,G,ee,x,pe,z,j,ce,le,Z,Ce,ge,He,_,b,pn,on,mn,Bi,bn,Rn,Dt,dl,un,zn,fn,Ue,te,Ae,$,be,Ke,St,qt,kt,Yt,Gt,r,B,Qt,fi,ci,Ci,ne,Le,at,Nt,Ct,ln,En,Gn,ti,Ol,Hi,gr,_r,Fl,pr,mr,br,hl,vr,yi,Wi,gl,qi,Ul,Bl,Hl,wr,yn,zi,_l,Wl,Sr,Gi,pl,ml,di,ql,Pi,kr,ft,bl,Ki,vl,wl]}class WC extends Et{constructor(e){super(),Rt(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){A(t,e,n)},d(t){t&&L(e)}}}function qC(i){let e,t=i[0]&&sg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=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&&L(e)}}}function zC(i,e,t){let{node:n}=e;async function l(){var o,f;const r=me.mapPathToNode(et.getCurrentPath(),n),s=await Mt.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");ur.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 Et{constructor(e){super(),Rt(this,e,zC,qC,Tt,{node:0})}}const{window:Po}=cl;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,w,C,y,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&gg(i),T=Object.entries(i[0]),D=[];for(let F=0;F<T.length;F+=1)D[F]=Sg(fg(i,T,F));const R=F=>q(D[F],1,1,()=>{D[F]=null});let I=Object.entries(i[0]),O=[];for(let F=0;F<I.length;F+=1)O[F]=Pg(ag(i,I,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<D.length;F+=1)D[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){A(F,e,B),P&&P.m(e,null),S(e,t),S(e,n),S(n,l),S(l,r);for(let G=0;G<D.length;G+=1)D[G].m(r,null);S(n,s),S(n,o),S(o,f),S(f,g),S(g,h),S(g,_),S(g,p),S(p,b);for(let G=0;G<O.length;G+=1)O[G].m(b,null);w=!0,C||(y=[ae(h,"click",Ot(i[10])),ae(f,"click",$C),ae(n,"toggleDropdownState",i[26])],C=!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&&(ye(),q(P,1,1,()=>{P=null}),Pe()),B[0]&53485){T=Object.entries(F[0]);let G;for(G=0;G<T.length;G+=1){const ee=fg(F,T,G);D[G]?(D[G].p(ee,B),M(D[G],1)):(D[G]=Sg(ee),D[G].c(),M(D[G],1),D[G].m(r,null))}for(ye(),G=T.length;G<D.length;G+=1)R(G);Pe()}if(B[0]&53485){I=Object.entries(F[0]);let G;for(G=0;G<I.length;G+=1){const ee=ag(F,I,G);O[G]?(O[G].p(ee,B),M(O[G],1)):(O[G]=Pg(ee),O[G].c(),M(O[G],1),O[G].m(b,null))}for(ye(),G=I.length;G<O.length;G+=1)H(G);Pe()}(!w||B[0]&16&&v!==(v=!F[4]))&&c(p,"aria-hidden",v)},i(F){if(!w){M(P);for(let B=0;B<T.length;B+=1)M(D[B]);for(let B=0;B<I.length;B+=1)M(O[B]);w=!0}},o(F){q(P),D=D.filter(Boolean);for(let B=0;B<D.length;B+=1)q(D[B]);O=O.filter(Boolean);for(let B=0;B<O.length;B+=1)q(O[B]);w=!1},d(F){F&&L(e),P&&P.d(),dt(D,F),dt(O,F),C=!1,Ze(y)}}}function gg(i){let e,t;return e=new GC({props:{node:i[11].parent}}),{c(){Ge(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){qe(e,n)}}}function KC(i){let e,t,n,l,r,s=i[12](i[39])+"",o,f,g,h,_,p,b,v,w,C,y,P,T,D;function R(){return i[20](i[39])}let I=i[40],O=[];for(let F=0;F<I.length;F+=1)O[F]=mg(cg(i,I,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();C=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=or(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",w=!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",y=or(i[39],i[2]))},m(F,B){A(F,e,B),S(e,t),S(t,n),S(n,l),S(l,r),S(r,o),S(l,f),S(l,g),S(t,_),S(t,p),S(p,b),S(b,v);for(let G=0;G<O.length;G+=1)O[G].m(v,null);S(e,C),P=!0,T||(D=[ae(l,"click",Ot(R)),ae(e,"click",XC)],T=!0)},p(F,B){if(i=F,(!P||B[0]&4097)&&s!==(s=i[12](i[39])+"")&&Ie(o,s),(!P||B[0]&5&&h!==(h=or(i[39],i[2])))&&c(l,"aria-selected",h),B[0]&49221){I=i[40];let G;for(G=0;G<I.length;G+=1){const ee=cg(i,I,G);O[G]?(O[G].p(ee,B),M(O[G],1)):(O[G]=mg(ee),O[G].c(),M(O[G],1),O[G].m(v,null))}for(ye(),G=I.length;G<O.length;G+=1)H(G);Pe()}(!P||B[0]&9&&w!==(w=!i[3][i[39]]))&&c(p,"aria-hidden",w),(!P||B[0]&5&&y!==(y=or(i[39],i[2])))&&c(e,"isselected",y)},i(F){if(!P){for(let B=0;B<I.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&&L(e),dt(O,F),T=!1,Ze(D)}}}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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(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(),Ge(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(w,C){A(w,e,C),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(e,h),_=!0,p||(b=ae(t,"click",Ot(v)),p=!0)},p(w,C){i=w,(!_||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&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||C[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(w){_||(M(o.$$.fragment,w),_=!0)},o(w){q(o.$$.fragment,w),_=!1},d(w){w&&L(e),qe(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),A(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function vg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,f,g,h,_,p,b,v,w;o=new Ui({props:{node:i[43]}});function C(){return i[19](i[43])}return{c(){e=k("span"),t=k("a"),n=k("span"),r=Ne(l),s=K(),Ge(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(y,P){A(y,e,P),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(e,h),b=!0,v||(w=ae(t,"click",Ot(C)),v=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Ie(r,l);const T={};P[0]&1&&(T.node=i[43]),o.$set(T),(!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(y){b||(M(o.$$.fragment,y),b=!0)},o(y){q(o.$$.fragment,y),b=!1},d(y){y&&L(e),qe(o),v=!1,w()}}}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),A(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ye(),q(n,1,1,()=>{n=null}),Pe()):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&&L(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,_),A(h,r,_),s=!0},p(h,_){let p=n;n=g(h,_),n===p?~n&&f[n].p(h,_):(l&&(ye(),q(f[p],1,1,()=>{f[p]=null}),Pe()),~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&&L(r)}}}function JC(i){let e,t,n,l,r=i[12](i[39])+"",s,o,f,g,h,_,p,b,v,w,C,y,P,T,D;function R(){return i[23](i[39],i[42])}function I(){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(),w=k("ul");for(let B=0;B<H.length;B+=1)H[B].c();y=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=or(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(w,"class","fd-nested-list level-2"),c(w,"aria-hidden",C=!i[3][i[39]+i[42]]),c(e,"class","fd-nested-list__item"),c(e,"uid",i[42]+"-0")},m(B,G){A(B,e,G),S(e,t),S(t,n),S(n,l),S(l,s),S(t,g),S(t,h),S(h,_),S(e,v),S(e,w);for(let ee=0;ee<H.length;ee+=1)H[ee].m(w,null);S(e,y),P=!0,T||(D=[ae(n,"click",Ot(R)),ae(h,"click",Ot(I))],T=!0)},p(B,G){if(i=B,(!P||G[0]&4097)&&r!==(r=i[12](i[39])+"")&&Ie(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=or(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 ee;for(ee=0;ee<O.length;ee+=1){const x=og(i,O,ee);H[ee]?(H[ee].p(x,G),M(H[ee],1)):(H[ee]=Cg(x),H[ee].c(),M(H[ee],1),H[ee].m(w,null))}for(ye(),ee=O.length;ee<H.length;ee+=1)F(ee);Pe()}(!P||G[0]&9&&C!==(C=!i[3][i[39]+i[42]]))&&c(w,"aria-hidden",C)},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&&L(e),dt(H,B),T=!1,Ze(D)}}}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);A(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(ye(),f=n.length;f<l.length;f+=1)r(f);Pe()}},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){dt(l,s),s&&L(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(),Ge(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(w,C){A(w,e,C),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(e,h),_=!0,p||(b=ae(t,"click",Ot(v)),p=!0)},p(w,C){i=w,(!_||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&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||C[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(w){_||(M(o.$$.fragment,w),_=!0)},o(w){q(o.$$.fragment,w),_=!1},d(w){w&&L(e),qe(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),A(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&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(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(),Ge(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(w,C){A(w,e,C),S(e,t),S(t,n),S(n,r),S(n,s),We(o,n,null),S(e,h),_=!0,p||(b=ae(t,"click",Ot(v)),p=!0)},p(w,C){i=w,(!_||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&&f!==(f=i[15](i[43])))&&c(t,"href",f),(!_||C[0]&5&&g!==(g=i[43]===i[2]))&&c(t,"aria-selected",g)},i(w){_||(M(o.$$.fragment,w),_=!0)},o(w){q(o.$$.fragment,w),_=!1},d(w){w&&L(e),qe(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),A(g,l,h),r=!0},p(g,h){let _=t;t=f(g,h),t===_?o[t].p(g,h):(ye(),q(o[_],1,1,()=>{o[_]=null}),Pe(),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&&L(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),A(s,e,o),t=!0,n||(l=[ae(Po,"click",i[8]),ae(Po,"blur",i[8]),ae(Po,"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&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){t||(M(r),t=!0)},o(s){q(r),t=!1},d(s){r&&r.d(s),s&&L(e),n=!1,Ze(l)}}}function or(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,w,C=gt("getTranslation");ki(i,C,$=>t(12,n=$));let y=gt("store"),P;const T={get:()=>({children:l,pathData:r,hideNavComponent:f,virtualGroupPrefix:g,selectedNode:h,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:$=>{$&&Object.getOwnPropertyNames($).forEach(ge=>{ge==="pathData"?t(1,r=$.pathData):ge==="context"?context=$.context:ge==="children"?t(0,l=$.children):ge==="selectedNode"?t(11,h=$.selectedNode):ge==="selectedNodeForTabNav"&&t(2,_=$.selectedNodeForTabNav)})}},D=Wt();function R($){return Se.getNodeLabel($)}const I=async()=>{const $=T.get(),ge=await Mt.getTabNavData({...$},$);!ge||(T.set({...ge}),o=r,window.LEFTNAVDATA=ge.groupedChildren,setTimeout(O))},O=()=>{H();let $=document.getElementsByClassName("luigi-tabsContainer")[0],ge=document.getElementsByClassName("luigi-tabsMoreButton")[0],oe=document.getElementsByClassName("luigi__more")[0],Me,He=0,be=!1,Ke,St;oe&&oe.setAttribute("aria-selected","false"),$&&(Me=$.offsetWidth,[...$.children].forEach(kt=>{Ke=kt.currentStyle||window.getComputedStyle(kt),St=parseFloat(Ke.marginLeft)+parseFloat(Ke.marginRight),He+=kt.offsetWidth+St;let Yt=kt.getAttribute("uid");He>=Me?(kt.classList.add("hide_element"),kt.getAttribute("isSelected")==="true"&&oe.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?ge.classList.remove("hide_element"):ge.classList.add("hide_element"))},H=()=>{let $=document.getElementsByClassName("luigi-tabsContainer")[0];$!==void 0&&[...$.children].forEach(oe=>{oe.classList.remove("hide_element")})},F=()=>{P=new ResizeObserver($=>{for(const ge of $)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",ge.contentRect.height+"px")}),setTimeout(()=>{const $=document.querySelector("#tabsContainer.lui-tabs");$&&P.observe($)})},B=()=>{P&&P.disconnect()};Jt(()=>{t(16,f=re.getConfigBooleanValue("settings.hideNavigation")),F(),an.doOnStoreChange(y,()=>{I()},["navigation.viewgroupdata"])}),Yr(()=>{B(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),qn(()=>{(!o||o!=r)&&I(),(w===void 0||w!==v)&&(w=v,I())}),da(()=>{B(),P?setTimeout(()=>{const $=document.querySelector("#tabsContainer.lui-tabs");$&&P.observe($)}):F()});function G($){return me.getNodeHref($,s)}function ee($){pe(),D("handleClick",{node:$})}function x($){let ge={};p[$]||(ge[$]=!0),t(3,p=ge)}function pe(){t(3,p={}),t(4,b=!1)}function z(){H(),O()}function j(){t(4,b=!b)}const ce=$=>ee($),le=$=>x($),Z=$=>ee($),Ce=$=>ee($),se=($,ge)=>x($+ge),Ue=($,ge)=>x($+ge),te=$=>ee($),Ae=$=>x($.name);return i.$$set=$=>{"children"in $&&t(0,l=$.children),"pathData"in $&&t(1,r=$.pathData),"pathParams"in $&&t(17,s=$.pathParams),"hideNavComponent"in $&&t(16,f=$.hideNavComponent),"virtualGroupPrefix"in $&&t(5,g=$.virtualGroupPrefix),"selectedNodeForTabNav"in $&&t(2,_=$.selectedNodeForTabNav),"dropDownStates"in $&&t(3,p=$.dropDownStates),"isMoreBtnExpanded"in $&&t(4,b=$.isMoreBtnExpanded),"resizeTabNavToggle"in $&&t(18,v=$.resizeTabNavToggle)},[l,r,_,p,b,g,ee,x,pe,z,j,h,n,C,R,G,f,s,v,ce,le,Z,Ce,se,Ue,te,Ae]}class ey extends Et{constructor(e){super(),Rt(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){A(f,e,g),S(e,t),S(t,n),s&&s.m(n,null),S(t,l),S(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&&L(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){A(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&&L(e),dt(n,l)}}}function Ag(i){let e,t,n,l,r,s=i[11](i[24])+"",o,f,g,h,_,p,b,v,w,C,y=i[24].icon&&Rg(i);function P(...T){return i[18](i[24],...T)}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.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(T,D){A(T,e,D),S(e,t),S(t,n),y&&y.m(n,null),S(n,l),S(n,r),S(r,o),S(n,f),S(n,g),S(e,p),w||(C=ae(t,"click",P),w=!0)},p(T,D){i=T,i[24].icon?y?y.p(i,D):(y=Rg(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),D&1&&s!==(s=i[11](i[24])+"")&&Ie(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&c(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&c(t,"title",_),D&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&c(e,"class",b),D&1&&v!==(v=i[12](i[24]))&&c(e,"data-testid",v)},d(T){T&&L(e),y&&y.d(),w=!1,C()}}}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),A(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&&L(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){A(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&&L(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){A(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&&L(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),A(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&&L(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){A(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&&L(e),dt(n,l)}}}function Vg(i){let e,t,n,l,r,s=i[11](i[24])+"",o,f,g,h,_,p,b,v,w,C,y=i[24].icon&&Mg(i);function P(){return i[19](i[24])}return{c(){e=k("li"),t=k("a"),n=k("div"),y&&y.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(T,D){A(T,e,D),S(e,t),S(t,n),y&&y.m(n,null),S(n,l),S(n,r),S(r,o),S(n,f),S(n,g),S(e,p),w||(C=ae(n,"click",Ot(P)),w=!0)},p(T,D){i=T,i[24].icon?y?y.p(i,D):(y=Mg(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),D&1&&s!==(s=i[11](i[24])+"")&&Ie(o,s),D&65&&h!==(h=i[6]?i[13](i[24]):void 0)&&c(t,"href",h),D&129&&_!==(_=i[7](i[24].label))&&c(t,"title",_),D&3&&b!==(b="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-174hcxg")&&c(e,"class",b),D&1&&v!==(v=i[12](i[24]))&&c(e,"data-testid",v)},d(T){T&&L(e),y&&y.d(),w=!1,C()}}}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),A(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&&L(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){A(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&&L(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){A(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&&L(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),A(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&&L(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),A(r,e,s),t||(n=[ae(window,"click",ca),ae(window,"blur",ca)],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&&L(e),t=!1,Ze(n)}}}function ca(){}function sy(i,e,t){let n;const l=Wt();let{pathData:r}=e,s,{pathParams:o}=e,{children:f}=e,{selectedNode:g}=e,h=gt("store"),_=gt("getTranslation");ki(i,_,B=>t(7,n=B));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:v}=e,w=re.getConfigBooleanValue("navigation.addNavHrefs");const C=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(()=>{an.doOnStoreChange(h,()=>{t(14,b=re.getConfigBooleanValue("settings.hideNavigation")),t(15,v=re.getConfigValue("settings.responsiveNavigation")),t(2,p=re.getConfigBooleanValue("settings.globalSideNavigation")&&ie.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),qn(()=>{(!s||s!=r)&&C(),t(6,w=re.getConfigBooleanValue("navigation.addNavHrefs"))});function y(B){return Se.renderIconClassName(B)}function P(B){return Se.isOpenUIiconName(B.icon)}function T(B){return pt.getTranslation(B.label)}function D(B){return B.testId?B.testId:Se.prepareForTests(B.pathSegment,B.label)}function R(B){return me.getNodeHref(B,o)}function I(B){l("handleClick",{node:B})}function O(B){I(B.detail.node)}const H=(B,G)=>{Se.handleNavAnchorClickedWithoutMetaKey(G)&&I(B)},F=B=>I(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,I,ca,w,n,_,y,P,T,D,R,b,v,o,O,H,F]}class ay extends Et{constructor(e){super(),Rt(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 ca}}function oy(i){let e;return{c(){e=k("div"),c(e,"class","lui-breadcrumb-container svelte-fl7dhk")},m(t,n){A(t,e,n),i[6](e)},p:Fe,i:Fe,o:Fe,d(t){t&&L(e),i[6](null)}}}function uy(i,e,t){const n=Wt();let{pathData:l}=e,r,s={},o,f=gt("store"),{showBreadcrumb:g}=e,{hideNavComponent:h}=e,{responsiveNavSetting:_}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},b=y=>{y.last||w(y.node)};Jt(()=>{an.doOnStoreChange(f,()=>{},["navigation"])}),qn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const y=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!y),g&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,g=!1):P.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),y.renderer){let P=[];const T=y.omitRoot?2:1,D=et.getCurrentPath();for(let R=T;R<l.length;R++){const I=l[R],O=me.mapPathToNode(D,I);if(s[O])P.push(s[O]);else if(I.label||I.pathSegment||I.titleResolver)if(document.body.classList.add("lui-breadcrumb"),I.titleResolver)P.push({label:I.titleResolver.prerenderFallback&&I.titleResolver.fallbackTitle?pt.getTranslation(I.titleResolver.fallbackTitle):y.pendingItemLabel||"",node:I,route:O,pending:!0});else{const H=await v(I);H&&P.push({label:H,node:I,route:O})}}y.clearBeforeRender&&t(0,o.innerHTML="",o),y.renderer(o,P,b),P=[];for(let R=T;R<l.length;R++){const I=l[R],O=me.mapPathToNode(D,I);if(I.titleResolver){const F=await Mt.extractDataFromPath(O),B=me.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,I.context),F.pathData.pathParams);try{const G=await Se.fetchNodeTitleData(I,B);P.push({label:G.label,node:I,route:O});continue}catch{}}const H=await v(I);H&&P.push({label:H,node:I,route:O})}D===et.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"),s={},P.map(R=>{s[R.route]=R}))}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(y){if(y.label&&!y._virtualTree)return pt.getTranslation(y.label)||y.label;if(y.pathSegment&&y.pathSegment.indexOf(":")===0){const P=me.mapPathToNode(et.getCurrentPath(),y),T=await Mt.extractDataFromPath(P);return me.getDynamicNodeValue(y,T.pathData.pathParams)}return y.pathSegment?y.pathSegment:""}function w(y){n("handleClick",{node:y})}function C(y){$e[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,g=y.showBreadcrumb),"hideNavComponent"in y&&t(3,h=y.hideNavComponent),"responsiveNavSetting"in y&&t(4,_=y.responsiveNavSetting)},[o,g,l,h,_,w,C]}class fy extends Et{constructor(e){super(),Rt(this,e,uy,oy,Tt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Ao="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!"),Ao="disabled"):i.data==="luigi.tpcEnabled"&&(Ao="enabled")},!1);function cy(){return Ao}const{Boolean:dy,window:Fg}=cl;function Ug(i,e,t){const n=i.slice();return n[149]=e[t],n[151]=t,n}function Bg(i){let e,t;return e=new gS({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[36]),{c(){Ge(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){qe(e,n)}}}function Hg(i){let e,t;function n(){return i[69](i[151])}function l(...s){return i[70](i[151],...s)}function r(...s){return i[71](i[151],...s)}return e=new p_({props:{settings:i[149].mfModal.settings,nodepath:i[149].mfModal.nodepath,modalIndex:i[151],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ge(e.$$.fragment)},m(s,o){We(e,s,o),t=!0},p(s,o){i=s;const f={};o[0]&268435456&&(f.settings=i[149].mfModal.settings),o[0]&268435456&&(f.nodepath=i[149].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){qe(e,s)}}}function Wg(i){let e,t,n=i[149].mfModal.displayed&&Hg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[149].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&M(n,1)):(n=Hg(l),n.c(),M(n,1),n.m(e.parentNode,e)):n&&(ye(),q(n,1,1,()=>{n=null}),Pe())},i(l){t||(M(n),t=!0)},o(l){q(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function qg(i){let e,t;return e=new p_({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[hy]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ge(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]&268435456&&(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){qe(e,n)}}}function hy(i){let e,t;return e=new Zr({props:{area:"drawer",disable:i[13]}}),{c(){Ge(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){qe(e,n)}}}function zg(i){let e,t;return e=new vS({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Ge(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){qe(e,n)}}}function Gg(i){let e,t,n;function l(s){i[74](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(){Ge(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){qe(e,s)}}}function Kg(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(){Ge(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){qe(e,n)}}}function gy(i){let e,t,n,l,r,s,o,f,g;t=new Zr({props:{area:"main",disable:i[13]}});let h=i[12].displayed&&Kg(i);return{c(){e=k("div"),Ge(t.$$.fragment),n=K(),l=k("div"),r=K(),h&&h.c(),s=ke(),c(l,"class","wcContainer svelte-vxd0xv"),c(e,"class","fd-page iframeContainer svelte-vxd0xv"),c(e,"tabindex","0"),bi(e,"lui-split-view",i[12].displayed),bi(e,"lui-collapsed",i[12].collapsed)},m(_,p){A(_,e,p),We(t,e,null),S(e,n),S(e,l),A(_,r,p),h&&h.m(_,p),A(_,s,p),o=!0,f||(g=aw(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=Kg(_),h.c(),M(h,1),h.m(s.parentNode,s)):h&&(ye(),q(h,1,1,()=>{h=null}),Pe())},i(_){o||(M(t.$$.fragment,_),M(h),o=!0)},o(_){q(t.$$.fragment,_),q(h),o=!1},d(_){_&&L(e),qe(t),_&&L(r),h&&h.d(_),_&&L(s),f=!1,g()}}}function jg(i){let e;return{c(){e=k("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m svelte-vxd0xv" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle svelte-vxd0xv"></div>
59
59
  <div class="fd-busy-indicator__circle svelte-vxd0xv"></div>
60
- <div class="fd-busy-indicator__circle svelte-vxd0xv"></div></div>`,c(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-vxd0xv"),c(e,"aria-hidden","false"),c(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Jg(i){let e,t,n,l,r,s,o,f;function g(C){i[75](C)}function h(C){i[76](C)}function _(C){i[77](C)}function p(C){i[78](C)}function b(C){i[79](C)}function v(C){i[80](C)}let w={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(w.isSearchFieldVisible=i[0]),i[3]!==void 0&&(w.displaySearchResult=i[3]),i[4]!==void 0&&(w.displayCustomSearchResult=i[4]),i[5]!==void 0&&(w.searchResult=i[5]),i[1]!==void 0&&(w.inputElem=i[1]),i[2]!==void 0&&(w.luigiCustomSearchRenderer__slot=i[2]),e=new WC({props:w}),$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(){ze(e.$$.fragment)},m(C,y){We(e,C,y),f=!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],bt(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=C[3],bt(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=C[4],bt(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=C[5],bt(()=>r=!1)),!s&&y[0]&2&&(s=!0,P.inputElem=C[1],bt(()=>s=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=C[2],bt(()=>o=!1)),e.$set(P)},i(C){f||(M(e.$$.fragment,C),f=!0)},o(C){q(e.$$.fragment,C),f=!1},d(C){qe(e,C)}}}function Yg(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]&&Qg(i);return{c(){ze(e.$$.fragment),t=K(),r&&r.c(),n=ke()},m(s,o){We(e,s,o),A(s,t,o),r&&r.m(s,o),A(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=Qg(s),r.c(),M(r,1),r.m(n.parentNode,n)):r&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){l||(M(e.$$.fragment,s),M(r),l=!0)},o(s){q(e.$$.fragment,s),q(r),l=!1},d(s){qe(e,s),s&&L(t),r&&r.d(s),s&&L(n)}}}function Qg(i){let e,t;return e=new fy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){ze(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){qe(e,n)}}}function Zg(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(){ze(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){qe(e,n)}}}function Xg(i){let e,t;return e=new ey({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){ze(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){qe(e,n)}}}function _y(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y=i[26]&&i[26].length&&Bg(i),P=i[28],T=[];for(let x=0;x<P.length;x+=1)T[x]=Wg(Ug(i,P,x));const D=x=>q(T[x],1,1,()=>{T[x]=null});let R=i[29].displayed&&i[29].settings.isDrawer&&qg(i),I=i[27].displayed&&zg(i),O=i[18].displayed&&Gg(i);o=new xr({props:{disable:i[13],$$slots:{default:[gy]},$$scope:{ctx:i}}});let H=i[11]&&jg(),F=!i[25]&&Jg(i),B=!i[21]&&Yg(i),G=!(i[21]||i[22])&&Zg(i),ee=i[16]&&!i[21]&&Xg(i);return{c(){e=k("div"),y&&y.c(),t=K();for(let x=0;x<T.length;x+=1)T[x].c();n=K(),R&&R.c(),l=K(),I&&I.c(),r=K(),O&&O.c(),s=K(),ze(o.$$.fragment),f=K(),H&&H.c(),g=K(),F&&F.c(),h=K(),B&&B.c(),_=K(),G&&G.c(),p=K(),ee&&ee.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-vxd0xv"),c(e,"configversion",i[24])},m(x,pe){A(x,e,pe),y&&y.m(e,null),S(e,t);for(let z=0;z<T.length;z+=1)T[z].m(e,null);S(e,n),R&&R.m(e,null),S(e,l),I&&I.m(e,null),S(e,r),O&&O.m(e,null),S(e,s),We(o,e,null),S(e,f),H&&H.m(e,null),S(e,g),F&&F.m(e,null),S(e,h),B&&B.m(e,null),S(e,_),G&&G.m(e,null),S(e,p),ee&&ee.m(e,null),v=!0,w||(C=[ae(Fg,"resize",i[35]),ae(Fg,"keydown",i[46])],w=!0)},p(x,pe){if(x[26]&&x[26].length?y?(y.p(x,pe),pe[0]&67108864&&M(y,1)):(y=Bg(x),y.c(),M(y,1),y.m(e,t)):y&&(ye(),q(y,1,1,()=>{y=null}),Pe()),pe[0]&268443648|pe[1]&896){P=x[28];let j;for(j=0;j<P.length;j+=1){const ce=Ug(x,P,j);T[j]?(T[j].p(ce,pe),M(T[j],1)):(T[j]=Wg(ce),T[j].c(),M(T[j],1),T[j].m(e,n))}for(ye(),j=P.length;j<T.length;j+=1)D(j);Pe()}x[29].displayed&&x[29].settings.isDrawer?R?(R.p(x,pe),pe[0]&536870912&&M(R,1)):(R=qg(x),R.c(),M(R,1),R.m(e,l)):R&&(ye(),q(R,1,1,()=>{R=null}),Pe()),x[27].displayed?I?(I.p(x,pe),pe[0]&134217728&&M(I,1)):(I=zg(x),I.c(),M(I,1),I.m(e,r)):I&&(ye(),q(I,1,1,()=>{I=null}),Pe()),x[18].displayed?O?(O.p(x,pe),pe[0]&262144&&M(O,1)):(O=Gg(x),O.c(),M(O,1),O.m(e,s)):O&&(ye(),q(O,1,1,()=>{O=null}),Pe());const z={};pe[0]&8192&&(z.disable=x[13]),pe[0]&12288|pe[4]&134217728&&(z.$$scope={dirty:pe,ctx:x}),o.$set(z),x[11]?H||(H=jg(),H.c(),H.m(e,g)):H&&(H.d(1),H=null),x[25]?F&&(ye(),q(F,1,1,()=>{F=null}),Pe()):F?(F.p(x,pe),pe[0]&33554432&&M(F,1)):(F=Jg(x),F.c(),M(F,1),F.m(e,h)),x[21]?B&&(ye(),q(B,1,1,()=>{B=null}),Pe()):B?(B.p(x,pe),pe[0]&2097152&&M(B,1)):(B=Yg(x),B.c(),M(B,1),B.m(e,_)),x[21]||x[22]?G&&(ye(),q(G,1,1,()=>{G=null}),Pe()):G?(G.p(x,pe),pe[0]&6291456&&M(G,1)):(G=Zg(x),G.c(),M(G,1),G.m(e,p)),x[16]&&!x[21]?ee?(ee.p(x,pe),pe[0]&2162688&&M(ee,1)):(ee=Xg(x),ee.c(),M(ee,1),ee.m(e,null)):ee&&(ye(),q(ee,1,1,()=>{ee=null}),Pe()),(!v||pe[0]&48234496&&b!==(b=(x[21]?"no-nav":"")+" "+(x[22]?"no-side-nav":"")+" "+(x[25]?"no-top-nav":"")+" "+(x[23]?"no-animation":"")+" svelte-vxd0xv"))&&c(e,"class",b),(!v||pe[0]&16777216)&&c(e,"configversion",x[24])},i(x){if(!v){M(y);for(let pe=0;pe<P.length;pe+=1)M(T[pe]);M(R),M(I),M(O),M(o.$$.fragment,x),M(F),M(B),M(G),M(ee),v=!0}},o(x){q(y),T=T.filter(dy);for(let pe=0;pe<T.length;pe+=1)q(T[pe]);q(R),q(I),q(O),q(o.$$.fragment,x),q(F),q(B),q(G),q(ee),v=!1},d(x){x&&L(e),y&&y.d(),dt(T,x),R&&R.d(),I&&I.d(),O&&O.d(),qe(o),H&&H.d(),F&&F.d(),B&&B.d(),G&&G.d(),ee&&ee.d(),w=!1,Ze(C)}}}function py(i,e,t){const n=Wt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},f,g,h=!1,_,p,b,v,w,C,y,P,T,D,R,I,O,H,F,B,G,ee,x,pe=!0,z=!1,j,ce,le,Z=[],Ce={isDirty:!1,persistUrl:null},se,Ue,te=!1,Ae,$,ge={},oe,Me,He,{isSearchFieldVisible:be}=e,{inputElem:Ge}=e,{luigiCustomSearchRenderer__slot:kt}=e,{displaySearchResult:qt}=e,{displayCustomSearchResult:Ct=!0}=e,{searchResult:Yt}=e,{storedUserSettings:_n}=e;const on=async U=>{const fe=U.iframe.luigi,Ee=fe.currentNode&&fe.currentNode.userSettingsGroup,je=await re.readUserSettings(),Ve=Ee&&typeof je=="object"&&je!==null,we=Te.applyCoreStateData({isNavigateBack:z,viewStackSize:Z.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Ve?je[Ee]:null,anchor:rl.getAnchor(),cssVariables:await To.getCSSVariables()});return Te.specialIframeTypes.map(De=>De.iframeConfigKey).forEach(De=>{we[De]=U[De]||!1}),we},pn=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||D,fe)),nodeParams:JSON.stringify(Object.assign({},U.nodeParams||R)),pathParams:JSON.stringify(Object.assign({},U.pathParams||I)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(U.iframe.luigi.currentNode))),internal:JSON.stringify(await on(U)),authData:sl.getStoredAuthData()};U.iframe.luigi._lastUpdatedMessage=Ee,Te.sendMessageToIframe(U.iframe,Ee)},Bi=U=>{const fe={msg:"luigi.auth.tokenIssued",authData:U};Te.broadcastMessageToAllIframes(fe)},mn=(U,fe)=>{if(U.params.preserveView||U.params.viewgroup){const Ee=kn(U.params),je=et.getNodePath(H,O);Z.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?ie.replaceVars(je,fe.iframe.luigi.pathParams,":",!1):je,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:D}),fe.iframe.pv="pv"}},Qt=(U,fe,Ee,je)=>{let Ve=kn(U.params,Ee,je);const{preventHistoryEntry:we,preserveQueryParams:De,preventContextUpdate:gt}=U.params,Ot={keepBrowserHistory:!we,navSync:pe,preventContextUpdate:gt};return Ve=ie.addLeadingSlash(Ve),Ve=De?me.composeSearchParamsToRoute(Ve):Ve,mn(U,fe),et.navigateTo(Ve,Ot)},En=U=>U.split("?")[0],Et=(U,fe)=>{if(U.length===0)return!1;const Ee=fe.startsWith("/")?fe:`/${fe}`,je=[...U].pop();return[En(je.path),En(je.nextPath)].includes(En(Ee))},fl=U=>{Ce&&Ce.dirtySet&&(U?Ce.dirtySet.delete(U):Ce.dirtySet.clear())},xt=U=>new Promise((fe,Ee)=>{ql(U)?Ni().then(()=>{fl(),fe()},()=>{Ee()}):fe()}),un=()=>({get:()=>({unsavedChanges:Ce,hideNav:Pi,viewUrl:F,nodeParams:R,viewGroup:B,urlParamsRaw:O,currentNode:H,navigationPath:ce,context:D,pathParams:I,hideSideNav:Wi,isolateView:G,pageErrorHandler:ee,previousNodeValues:x,mfSplitView:o,splitViewValues:f,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:s,tabNav:Ue,isNavigateBack:z,goBackContext:j,isNavigationSyncEnabled:pe}),set:U=>{U&&(t(23,dl=!1),Object.getOwnPropertyNames(U).forEach(fe=>{fe==="hideNav"?t(21,Pi=U.hideNav):fe==="viewUrl"?F=U.viewUrl:fe==="nodeParams"?R=U.nodeParams:fe==="viewGroup"?B=U.viewGroup:fe==="urlParamsRaw"?O=U.urlParamsRaw:fe==="currentNode"?H=U.currentNode:fe==="navigationPath"?t(15,ce=U.navigationPath):fe==="context"?D=U.context:fe==="pathParams"?t(14,I=U.pathParams):fe==="hideSideNav"?(Wi!=U.hideSideNav&&(t(23,dl=!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"?ee=U.pageErrorHandler:fe==="previousNodeValues"?x=U.previousNodeValues:fe==="mfSplitView"?t(12,o=U.mfSplitView):fe==="splitViewValues"?f=U.splitViewValues:fe==="splitViewIframe"?C=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"?z=U.isNavigateBack:fe==="goBackContext"?j=U.goBackContext:fe==="isNavigationSyncEnabled"&&(pe=U.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:ql,getUnsavedChangesModalPromise:xt,showUnsavedChangesModal:Ni,showAlert:hl,prepareInternalData:on,dispatch:n}),zn=(U,fe)=>{an.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Wn.deleteCache();const je=et.getCurrentPath();et.handleRouteChange(je,un(),U,fe)},["navigation.nodes"]),me.addRouteChangeListener((Ee,je)=>{const{withoutSync:Ve,preventContextUpdate:we}=je||{};Et(Z,Ee)||(Z=[],An.removeInactiveIframes(U));for(let gt=ft.length;gt--;)Y(gt);$r.removeBackdrop(),Hi(),et.handleRouteChange(Ee,un(),U,fe,Ve,we)})},Gt=(U,fe)=>ie.replaceVars(et.getNodePath(U),fe,":",!1),kn=(U,fe,Ee)=>{const je=fe||H,Ve=Ee||I;let we=ce;if(fe){let gt=fe.parent;for(we=[fe];gt;)we.push(gt),gt=gt.parent;we=[...we].reverse()}let De=U.link;if(U.fromVirtualTreeRoot){const gt=[...we].reverse().find(Ot=>Ot.virtualTree);if(!gt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}De=et.concatenatePath(Gt(gt,Ve),U.link)}else if(U.fromParent)De=et.concatenatePath(Gt(je.parent,Ve),U.link);else if(U.fromClosestContext){const gt=[...we].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);De=et.concatenatePath(Gt(gt,Ve),U.link)}else if(U.fromContext){const gt=U.fromContext,Ot=[...we].reverse().find(Lr=>gt===Lr.navigationContext);De=et.concatenatePath(Gt(Ot,Ve),U.link)}else U.intent?De=me.getIntentPath(U.link):U.relative&&(De=et.concatenatePath(Gt(je,Ve),U.link));return U.nodeParams&&Object.keys(U.nodeParams).length>0&&(De+=De.includes("?")?"&":"?",Object.entries(U.nodeParams).forEach((gt,Ot)=>{De+=encodeURIComponent(me.getContentViewParamPrefix()+gt[0])+"="+encodeURIComponent(gt[1])+(Ot<Object.keys(U.nodeParams).length-1?"&":"")})),De},ci=U=>{const fe=U.detail.node;xt().then(()=>{if(Hl(),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,gi(Ee,fe.drawer)}else un().set({isNavigationSyncEnabled:!0}),et.handleRouteClick(fe,un())},()=>{})},di=()=>{t(17,te=!te)};jr("handleNavigation",Qt);const fn=U=>U?!0:(console.warn("No search provider defined."),!1),yi=()=>{fn($)&&t(0,be=!1)},ne=()=>{fn($)&&Ge&&(t(0,be=!0),Ge.focus())},Le=()=>{fn($)&&Ge&&(t(1,Ge.value="",Ge),Gn())},at=()=>{t(0,be=!be),Uw.clearSearchField()},Nt=()=>{if(fn($)&&Ge)return Ge.value},yt=U=>{fn($)&&Ge&&(t(1,Ge.value=U,Ge),ie.isFunction($.onInput)?$.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ln=U=>{fn($)&&Ge&&t(1,Ge.placeholder=U,Ge)},Dn=U=>{if(fn($))if(U&&U.length>0)if(ie.isFunction($.customSearchResultRenderer)){t(4,Ct=!0);let fe={fireItemSelected:Ee=>{$.onSearchResultItemSelected(Ee)}};$.customSearchResultRenderer(U,kt,fe)}else t(3,qt=!0),t(5,Yt=U);else console.warn("Search result array is empty.")},Gn=()=>{if(fn($)&&(t(3,qt=!1),t(5,Yt=[]),kt))for(;kt.lastElementChild;)kt.removeChild(kt.lastElementChild)},ni=U=>{let fe=U.detail.node,Ee={params:{link:fe.link,nodeParams:fe.params}};Qt(Ee)},Ol=(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(un(),U,fe)},Hi=()=>{st.close(un())},pr=()=>{st.collapse(un()),t(12,o.collapsed=!0,o)},mr=()=>{st.expand(un()),t(12,o.collapsed=!1,o)},Fl=()=>o.displayed?o.collapsed:!1,br=()=>o.displayed?!o.collapsed:!1,vr=()=>o.displayed,wr=U=>{C=U.detail.splitViewIframe,y=U.detail.splitViewIframeData,t(12,o.collapsed=U.detail.collapsed,o)},cl=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 Pi,Wi,dl,qi,Ul,Bl;const Hl=()=>{document.body.classList.remove("lui-leftNavToggle")},kr=()=>{vl();const U=window.innerWidth>=$t.desktopMinWidth&&qi<$t.desktopMinWidth,fe=window.innerWidth<$t.desktopMinWidth&&qi>=$t.desktopMinWidth;(U||fe)&&Hl(),qi=window.innerWidth};let Cn=[];const zi=(U,fe)=>{if(!(!U||!(U.length>0)))return U.filter(Ee=>Ee.settings.id===fe)[0]},hl=(U,fe=!1)=>{const Ee=re.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Ee)){const Ve=Ee(U,fe);if(Ve!==!1)return Ve}const je=Cn;return U.id||(U.id=ie.getRandomId()),U.id&&je&&zi(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(()=>{zi(Cn,U.id)&&Wl(U.id)},U.closeAfter),new Promise((Ve,we)=>{t(26,Cn=[...je||[],{displayed:!0,settings:U,openFromClient:fe,promise:{resolve:Ve}}])}))},Wl=(U,fe)=>{const Ee=zi(Cn,U);if(!Ee){console.error("An unexisting alert has been dismissed.",Cn,U);return}if(t(26,Cn=Cn.filter(je=>je.settings.id!==U)),Ee.openFromClient){const je=An.getActiveIframe(le),Ve={msg:"luigi.ux.alert.hide",id:U,dismissKey:fe};Te.sendMessageToIframe(je,Ve)}else Ee.promise&&Ee.promise.resolve(fe||U)},Cr=U=>{Wl(U.detail.id,U.detail.dismissKey)};let Gi;const gl=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};gl();const _l=(U,fe=!1,Ee)=>new Promise((je,Ve)=>{t(27,Gi={displayed:!0,settings:U,openFromClient:fe,promise:{resolve:je,reject:Ve},targetIframe:Ee})}),hi=U=>{const{promise:fe,openFromClient:Ee,targetIframe:je}=Gi;if(gl(),U?fe.resolve():fe.reject(),Ee&&je){const Ve={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:U}};Te.sendMessageToIframe(je,Ve)}},ql=U=>{if(Ce.dirtySet){if(U)return Ce.dirtySet.has(U);if(Ce.dirtySet.size>0)return!0}return!1},Ni=()=>_l({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=()=>Ce.dirtySet?Ce.dirtySet.size>0:Ce.isDirty;jr("getUnsavedChangesModalPromise",xt);let ft=[];const pl=U=>{if(typeof U>"u"){t(28,ft=[]);return}t(28,ft=ft.filter((fe,Ee)=>U!==Ee))};pl();const Ki=async(U,fe)=>{if(await Se.shouldPreventNavigationForPath(U))return;const Ee={mfModal:{displayed:!0,nodepath:U,settings:fe}};t(28,ft=[...ft,Ee]),re.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.length===1&&et.appendModalDataToUrl(U,fe)},ml=(U,fe)=>{t(28,ft[fe].modalIframe=U.detail.modalIframe,ft),t(28,ft[fe].modalIframeData=U.detail.modalIframeData,ft)},bl=(U,fe)=>{t(28,ft[fe].modalWC=U.detail.modalWC,ft),t(28,ft[fe].modalWCData=U.detail.modalWCData,ft)},Y=(U,fe,Ee)=>{const je=(De,gt)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.length===1&&et.removeModalDataFromUrl(gt),pl(De)},Ve=ft[U],we=ie.getRemotePromise(Ve.mfModal.settings.onClosePromiseId);Ve&&Ve.modalIframe?xt(Ve.modalIframe.contentWindow).then(()=>{je(U,fe),we&&we.doResolve(Ee)},()=>{}):Ve&&Ve.modalWC&&(je(U,fe),we&&we.doResolve(Ee))};jr("openViewInModal",Ki);let tt={};const cn=()=>{t(29,tt.displayed=!1,tt),t(29,tt.nodepath=void 0,tt),t(29,tt.settings={},tt),t(13,_=!1)};cn();const gi=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))},es=()=>window.innerWidth>=$t.desktopMinWidth&&tt.displayed&&tt.settings&&!tt.settings.overlap,vl=()=>{if(!es())return;const U=document.querySelector(".iframeModalCtn._drawer"),fe=Te.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})`)}},ts=U=>{p=U.detail.modalIframe,b=U.detail.modalIframeData,vl()},Pr=U=>{v=U.detail.modalWC,U.detail.modalWCData,vl()},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(()=>{cn()},()=>{}):v&&xt().then(()=>{cn()},()=>{}),Te.getCurrentMicrofrontendIframe().removeAttribute("style")}catch(fe){console.log(fe)}},Gl=()=>{const U=ur.processUserSettingGroups();Array.isArray(U)&&U.length>0?(t(18,ge.userSettingGroups=[...U],ge),t(18,ge.displayed=!0,ge)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ns=()=>{t(18,ge.displayed=!1,ge)},da=async U=>{if(await Se.shouldPreventNavigationForPath(U))return;re.getConfigValue("routing.useHashRouting")&&(U="#"+U),window.open(U,"_blank","noopener,noreferrer")},is=U=>{let fe=ce;if(H){let Ve=H.parent;for(fe=[H];Ve;)fe.push(Ve),Ve=Ve.parent;fe=[...fe].reverse()}let Ee=U.link,je=Gt(H,I);if(U.fromVirtualTreeRoot){const Ve=[...fe].reverse().find(De=>De.virtualTree);if(!Ve){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=Gt(Ve,I);Ee=je.split(we).join("")}else if(U.fromParent){const Ve=Gt(H.parent,I);Ee=je.split(Ve).join("")}else if(U.fromClosestContext){const Ve=[...fe].reverse().find(De=>De.navigationContext&&De.navigationContext.length>0),we=Gt(Ve,I);Ee=je.split(we).join("")}else if(U.fromContext){const Ve=U.fromContext,we=[...fe].reverse().find(gt=>Ve===gt.navigationContext),De=Gt(we,I);Ee=je.split(De).join("")}else Ee=je;return Ee};function ls(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"),Ve={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:fe,defaultPageErrorHandler:Ee};pt.addCurrentLocaleChangeListener(we=>{const De={msg:"luigi.current-locale-changed",currentLocale:we};Te.broadcastMessageToAllIframes(De)}),Rn.addEventListener("popstate",async we=>{const De=Cn;if(!De||!(De.length>0))return;const gt=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,Cn=gt)}),Rn.addEventListener("message",async we=>{const De=Te.getValidMessageSource(we),gt=ft[ft.length-1],Ot=gt&&gt.modalIframe,Lr=gt&&gt.modalIframeData,_t={modalIframe:Ot,modalIframeData:Lr,drawerIframe:p,drawerIframeData:b,drawer:w,modal:g,splitViewIframe:C,splitViewIframeData:y,splitView:T};if(!De)return;De._ready=!0;const wt=Te.getSpecialIframeMessageSource(we,_t),Ji=wt&&wt.length>0,Ar=re.getConfigValue("communication.skipEventsWhenInactive");if(Ar&&Ar.length>0&&!Ji&&De.contentWindow!==window&&!ie.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(ge&&It.id===en){Dt&&console.warn(`The key "${en}" is not allowed to use for custom messages.`);return}if(typeof Dt=="function"){const yn=fi.getMicrofrontends().find(ii=>Te.isMessageSource(we,ii.container));Dt(It,yn,ie.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,Ve.navigateOk=!0,ar.preload()),we.data.msg==="luigi.get-context"){if(De.luigi.clientVersion=we.data.clientVersion,De.luigi.initOk=!1,Ji)wt.forEach(async Ke=>{let It=_t[Ke.dataKey].context;const Dt={...Ve,iframe:_t[Ke.iframeKey],context:It,pathParams:_t[Ke.dataKey].pathParams,nodeParams:_t[Ke.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(_t[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await pn(Dt,{})});else if(Ve.iframe&&Te.isMessageSource(we,Ve.iframe))await pn(Ve,{}),(!H||!H.loadingIndicator||H.loadingIndicator.hideAutomatically!==!1)&&ha(),ar.preload();else if(De.luigi.preloading)await pn({iframe:De,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=ur.findActiveCustomUserSettingsIframe(we.source);if(Ke){let It=Ke.getAttribute("userSettingsGroup"),Dt={context:{userSettingsData:_n[It]},iframe:Ke};await pn(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"){z=!1;const Ke=window.location.href,It=Ji?De.luigi.currentNode:void 0,Dt=Ji?De.luigi.pathParams:void 0,en=we.data.params,{intent:yn,newTab:ii,modal:Bt,splitView:wl,drawer:Kn,withoutSync:ba}=en;let Sl=ii||Bt||wl||Kn;const Pn=()=>{const Vn=ie.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doResolve()},kl=()=>{const Vn=ie.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doReject()},Yi=Vn=>{!Vn||Ke!==window.location.href?Pn():kl()};we.source!==window&&!yn&&en.link&&(en.link=en.link.split("?")[0]);let rn=kn(we.data.params,It,Dt);if(Sl=Sl||yn&&rn.external,!Sl)xt().then(()=>{pe=!we.data.params.withoutSync,Qt(we.data,Ve,It,Dt).then(()=>{Yi(!0)}).catch(()=>{kl()}),ft.forEach((Vn,ds)=>{Y(ds)}),Hi(),zl(),pe=!0}).catch(()=>{kl()});else{if(yn&&rn.external){et.navigateToExternalLink({url:rn.url,sameWindow:!rn.openInNewTab});return}if(rn=ie.addLeadingSlash(rn),ii){await da(rn),Yi();return}const Vn=await Nr(rn);if(rn=await me.handlePageNotFoundAndRetrieveRedirectPath(un(),rn,Vn),!rn){kl();return}le=U,Bt!==void 0?(!Bt.keepPrevious&&pl(),await Ki(rn,Bt===!0?{}:Bt),Yi()):wl!==void 0?(await Ol(rn,wl),Yi()):Kn!==void 0&&(cn(),Kn.isDrawer=!0,await gi(rn,Kn),Yi())}}if(we.data.msg==="luigi.navigation.back"){const Ke=ft[ft.length-1],It=ft.length>1&&ft[ft.length-2],Dt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);if(Te.isMessageSource(we,Ke&&Ke.modalIframe)){Y(ft.length-1,!0,Dt);let en=Ve;if(It&&It.modalIframeData&&It.modalIframe){const yn=It,ii=yn.modalIframeData;en={pathParams:ii.pathParams,context:ii.context,iframe:yn.modalIframe}}en.iframe&&await pn(en,{goBackContext:Dt})}else Te.isMessageSource(we,C)?(Hi(),Ve.iframe&&await pn(Ve,{goBackContext:Dt})):Te.isMessageSource(we,p)?(h&&(h=!h),zl(),Ve.iframe&&await pn(Ve,{goBackContext:Dt})):Z&&Z.length>0?xt().then(()=>{An.setActiveIframeToPrevious(U);const en=Z.pop();Ve.iframe=An.getActiveIframe(U),z=!0,Z=Z,j=Dt,Qt({params:{link:en.path}},Ve)},()=>{}):(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:is(Ke),correlationId:Ke.id}};Te.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(Ji){const Ke=ie.addLeadingSlash(kn(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=kn(Dt,Ke,It),yn=en?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),en):!1,ii={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Dt.id,pathExists:yn?yn.isExistingRoute:!1}};Te.sendMessageToIframe(De,ii)}if(we.data.msg==="luigi.set-page-dirty"){if(!Ce.dirtySet){const Ke=new Set;Ke.add(we.source),Ce={dirtySet:Ke}}Ce.persistUrl=window.location.href,we.data.dirty?Ce.dirtySet.add(we.source):Ce.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const Ke=we.data.data.settings;le=U,gl(),_l(Ke,!0,De).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=we.data.data;if(!Ke.text&&!ie.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}le=U,hl(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(Ae&&!Ae.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&Kl(),we.data.msg==="storage"&&uS.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&&ie.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(we.data.errorObj,Ke):je&&ie.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(Ji)return;const{data:Ke,keepBrowserHistory:It}=we.data;rl.addNodeParams(Ke,It)}if(we.data.msg==="luigi.setAnchor"){const{anchor:Ke}=we.data;rl.setAnchor(Ke)}if(we.data.msg==="luigi.setVGData"){const Ke=we.data,It=me.findViewGroup(De.luigi.currentNode);if(It){const Dt=An.getViewGroupSettings(It);Dt._liveCustomData=Ke.data,re.configChanged("navigation.viewgroupdata")}}}),zn(U,Ve)}jr("store",l),jr("getTranslation",r);const Kl=U=>{Ae&&Ae.thirdPartyCookieErrorHandling&&ie.isFunction(Ae.thirdPartyCookieErrorHandling)&&Ae.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=kn(fe),je=Ee?await Vt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Ee):!1;return je?je.isExistingRoute:!1},Ir=()=>ft.length>0||Z.length!==0;Jt(()=>{if(To._init(),$=re.getConfigValue("globalSearch.searchProvider"),se=re.getConfigValue("settings.responsiveNavigation"),qi=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Se.getBurgerTooltipConfig()){const[U,fe]=Se.getBurgerTooltipConfig();U&&fe&&t(19,oe=document.body.classList.contains("lui-leftNavToggle")?U:fe)}}else if(se==="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,oe=Ee?U:fe)}}document.body.classList.add("lui-semiCollapsible")}Ae=re.getConfigValue("settings.thirdPartyCookieCheck"),Ae&&Ae.thirdPartyCookieScriptLocation&&setTimeout(()=>{let U=document.createElement("iframe");U.width="0px",U.height="0px",U.src=Ae.thirdPartyCookieScriptLocation,document.body.appendChild(U),U.onload=function(){setTimeout(()=>{cy()==="disabled"&&Kl()}),document.body.removeChild(U)}})}),fa(()=>{vl()}),qn(()=>{t(20,Me=re.getConfigValue("navigation.breadcrumbs")),$=re.getConfigValue("globalSearch.searchProvider"),t(24,Ul=re.getConfigValue("tag")),t(25,Bl=re.getConfigValue("settings.header.disabled"))});const Tr=U=>{U.keyCode===Si&&ft&&ft.length>0&&Y(ft.length-1)},ji=U=>Y(U,!0),rs=(U,fe)=>ml(fe,U),ss=(U,fe)=>bl(fe,U),ga=()=>hi(!0),as=()=>hi(!1);function os(U){_n=U,t(6,_n)}function us(U){be=U,t(0,be)}function fs(U){qt=U,t(3,qt)}function _a(U){Ct=U,t(4,Ct)}function pa(U){Yt=U,t(5,Yt)}function ma(U){Ge=U,t(1,Ge)}function cs(U){kt=U,t(2,kt)}return i.$$set=U=>{"store"in U&&t(47,l=U.store),"getTranslation"in U&&t(48,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,kt=U.luigiCustomSearchRenderer__slot),"displaySearchResult"in U&&t(3,qt=U.displaySearchResult),"displayCustomSearchResult"in U&&t(4,Ct=U.displayCustomSearchResult),"searchResult"in U&&t(5,Yt=U.searchResult),"storedUserSettings"in U&&t(6,_n=U.storedUserSettings)},[be,Ge,kt,qt,Ct,Yt,_n,at,Gn,ni,ns,s,o,_,I,ce,Ue,te,ge,oe,Me,Pi,Wi,dl,Ul,Bl,Cn,Gi,ft,tt,ci,di,wr,cl,Sr,kr,Cr,hi,ml,bl,Y,ts,Pr,ca,zl,ls,Tr,l,r,yi,ne,Le,Nt,yt,ln,Dn,Ol,Hi,pr,mr,Fl,br,vr,hl,_l,yr,Gl,Nr,Ir,ji,rs,ss,ga,as,os,us,fs,_a,pa,ma,cs]}class my extends Rt{constructor(e){super(),At(this,e,py,_y,Tt,{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])}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 by=()=>{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)})}}},N_=by(),vy=Rw((i,e,t)=>pt.getTranslation(i,e,t));Luigi._store=N_;const wy=()=>new Promise(i=>{pt._init(),nn.init().then(()=>{setTimeout(()=>{let e;fi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new my({target:fi.getLuigiContainer(),props:{store:N_,getTranslation:vy}}),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(wy);
60
+ <div class="fd-busy-indicator__circle svelte-vxd0xv"></div></div>`,c(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-vxd0xv"),c(e,"aria-hidden","false"),c(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Jg(i){let e,t,n,l,r,s,o,f;function g(C){i[75](C)}function h(C){i[76](C)}function _(C){i[77](C)}function p(C){i[78](C)}function b(C){i[79](C)}function v(C){i[80](C)}let w={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(w.isSearchFieldVisible=i[0]),i[3]!==void 0&&(w.displaySearchResult=i[3]),i[4]!==void 0&&(w.displayCustomSearchResult=i[4]),i[5]!==void 0&&(w.searchResult=i[5]),i[1]!==void 0&&(w.inputElem=i[1]),i[2]!==void 0&&(w.luigiCustomSearchRenderer__slot=i[2]),e=new WC({props:w}),$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(){Ge(e.$$.fragment)},m(C,y){We(e,C,y),f=!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],bt(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=C[3],bt(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=C[4],bt(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=C[5],bt(()=>r=!1)),!s&&y[0]&2&&(s=!0,P.inputElem=C[1],bt(()=>s=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=C[2],bt(()=>o=!1)),e.$set(P)},i(C){f||(M(e.$$.fragment,C),f=!0)},o(C){q(e.$$.fragment,C),f=!1},d(C){qe(e,C)}}}function Yg(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]&&Qg(i);return{c(){Ge(e.$$.fragment),t=K(),r&&r.c(),n=ke()},m(s,o){We(e,s,o),A(s,t,o),r&&r.m(s,o),A(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=Qg(s),r.c(),M(r,1),r.m(n.parentNode,n)):r&&(ye(),q(r,1,1,()=>{r=null}),Pe())},i(s){l||(M(e.$$.fragment,s),M(r),l=!0)},o(s){q(e.$$.fragment,s),q(r),l=!1},d(s){qe(e,s),s&&L(t),r&&r.d(s),s&&L(n)}}}function Qg(i){let e,t;return e=new fy({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[30]),{c(){Ge(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){qe(e,n)}}}function Zg(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(){Ge(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){qe(e,n)}}}function Xg(i){let e,t;return e=new ey({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[30]),{c(){Ge(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){qe(e,n)}}}function _y(i){let e,t,n,l,r,s,o,f,g,h,_,p,b,v,w,C,y=i[26]&&i[26].length&&Bg(i),P=i[28],T=[];for(let x=0;x<P.length;x+=1)T[x]=Wg(Ug(i,P,x));const D=x=>q(T[x],1,1,()=>{T[x]=null});let R=i[29].displayed&&i[29].settings.isDrawer&&qg(i),I=i[27].displayed&&zg(i),O=i[18].displayed&&Gg(i);o=new Zr({props:{disable:i[13],$$slots:{default:[gy]},$$scope:{ctx:i}}});let H=i[11]&&jg(),F=!i[25]&&Jg(i),B=!i[21]&&Yg(i),G=!(i[21]||i[22])&&Zg(i),ee=i[16]&&!i[21]&&Xg(i);return{c(){e=k("div"),y&&y.c(),t=K();for(let x=0;x<T.length;x+=1)T[x].c();n=K(),R&&R.c(),l=K(),I&&I.c(),r=K(),O&&O.c(),s=K(),Ge(o.$$.fragment),f=K(),H&&H.c(),g=K(),F&&F.c(),h=K(),B&&B.c(),_=K(),G&&G.c(),p=K(),ee&&ee.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-vxd0xv"),c(e,"configversion",i[24])},m(x,pe){A(x,e,pe),y&&y.m(e,null),S(e,t);for(let z=0;z<T.length;z+=1)T[z].m(e,null);S(e,n),R&&R.m(e,null),S(e,l),I&&I.m(e,null),S(e,r),O&&O.m(e,null),S(e,s),We(o,e,null),S(e,f),H&&H.m(e,null),S(e,g),F&&F.m(e,null),S(e,h),B&&B.m(e,null),S(e,_),G&&G.m(e,null),S(e,p),ee&&ee.m(e,null),v=!0,w||(C=[ae(Fg,"resize",i[35]),ae(Fg,"keydown",i[46])],w=!0)},p(x,pe){if(x[26]&&x[26].length?y?(y.p(x,pe),pe[0]&67108864&&M(y,1)):(y=Bg(x),y.c(),M(y,1),y.m(e,t)):y&&(ye(),q(y,1,1,()=>{y=null}),Pe()),pe[0]&268443648|pe[1]&896){P=x[28];let j;for(j=0;j<P.length;j+=1){const ce=Ug(x,P,j);T[j]?(T[j].p(ce,pe),M(T[j],1)):(T[j]=Wg(ce),T[j].c(),M(T[j],1),T[j].m(e,n))}for(ye(),j=P.length;j<T.length;j+=1)D(j);Pe()}x[29].displayed&&x[29].settings.isDrawer?R?(R.p(x,pe),pe[0]&536870912&&M(R,1)):(R=qg(x),R.c(),M(R,1),R.m(e,l)):R&&(ye(),q(R,1,1,()=>{R=null}),Pe()),x[27].displayed?I?(I.p(x,pe),pe[0]&134217728&&M(I,1)):(I=zg(x),I.c(),M(I,1),I.m(e,r)):I&&(ye(),q(I,1,1,()=>{I=null}),Pe()),x[18].displayed?O?(O.p(x,pe),pe[0]&262144&&M(O,1)):(O=Gg(x),O.c(),M(O,1),O.m(e,s)):O&&(ye(),q(O,1,1,()=>{O=null}),Pe());const z={};pe[0]&8192&&(z.disable=x[13]),pe[0]&12288|pe[4]&268435456&&(z.$$scope={dirty:pe,ctx:x}),o.$set(z),x[11]?H||(H=jg(),H.c(),H.m(e,g)):H&&(H.d(1),H=null),x[25]?F&&(ye(),q(F,1,1,()=>{F=null}),Pe()):F?(F.p(x,pe),pe[0]&33554432&&M(F,1)):(F=Jg(x),F.c(),M(F,1),F.m(e,h)),x[21]?B&&(ye(),q(B,1,1,()=>{B=null}),Pe()):B?(B.p(x,pe),pe[0]&2097152&&M(B,1)):(B=Yg(x),B.c(),M(B,1),B.m(e,_)),x[21]||x[22]?G&&(ye(),q(G,1,1,()=>{G=null}),Pe()):G?(G.p(x,pe),pe[0]&6291456&&M(G,1)):(G=Zg(x),G.c(),M(G,1),G.m(e,p)),x[16]&&!x[21]?ee?(ee.p(x,pe),pe[0]&2162688&&M(ee,1)):(ee=Xg(x),ee.c(),M(ee,1),ee.m(e,null)):ee&&(ye(),q(ee,1,1,()=>{ee=null}),Pe()),(!v||pe[0]&48234496&&b!==(b=(x[21]?"no-nav":"")+" "+(x[22]?"no-side-nav":"")+" "+(x[25]?"no-top-nav":"")+" "+(x[23]?"no-animation":"")+" svelte-vxd0xv"))&&c(e,"class",b),(!v||pe[0]&16777216)&&c(e,"configversion",x[24])},i(x){if(!v){M(y);for(let pe=0;pe<P.length;pe+=1)M(T[pe]);M(R),M(I),M(O),M(o.$$.fragment,x),M(F),M(B),M(G),M(ee),v=!0}},o(x){q(y),T=T.filter(dy);for(let pe=0;pe<T.length;pe+=1)q(T[pe]);q(R),q(I),q(O),q(o.$$.fragment,x),q(F),q(B),q(G),q(ee),v=!1},d(x){x&&L(e),y&&y.d(),dt(T,x),R&&R.d(),I&&I.d(),O&&O.d(),qe(o),H&&H.d(),F&&F.d(),B&&B.d(),G&&G.d(),ee&&ee.d(),w=!1,Ze(C)}}}function py(i,e,t){const n=Wt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},f,g,h=!1,_,p,b,v,w,C,y,P,T,D,R,I,O,H,F,B,G,ee,x,pe=!0,z=!1,j,ce,le,Z=[],Ce={isDirty:!1,persistUrl:null},se,Ue,te=!1,Ae,$,ge={},oe,Me,He,{isSearchFieldVisible:be}=e,{inputElem:Ke}=e,{luigiCustomSearchRenderer__slot:St}=e,{displaySearchResult:qt}=e,{displayCustomSearchResult:kt=!0}=e,{searchResult:Yt}=e,{storedUserSettings:pn}=e;const on=async U=>{const fe=U.iframe.luigi,Ee=fe.currentNode&&fe.currentNode.userSettingsGroup,ze=await re.readUserSettings(),Ve=Ee&&typeof ze=="object"&&ze!==null,we=Te.applyCoreStateData({isNavigateBack:z,viewStackSize:Z.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Ve?ze[Ee]:null,anchor:al.getAnchor(),cssVariables:await Lo.getCSSVariables()});return Te.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||D,fe)),nodeParams:JSON.stringify(Object.assign({},U.nodeParams||R)),pathParams:JSON.stringify(Object.assign({},U.pathParams||I)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(U.iframe.luigi.currentNode))),internal:JSON.stringify(await on(U)),authData:ol.getStoredAuthData()};U.iframe.luigi._lastUpdatedMessage=Ee,Te.sendMessageToIframe(U.iframe,Ee)},Bi=U=>{const fe={msg:"luigi.auth.tokenIssued",authData:U};Te.broadcastMessageToAllIframes(fe)},bn=(U,fe)=>{if(U.params.preserveView||U.params.viewgroup){const Ee=Cn(U.params),ze=et.getNodePath(H,O);Z.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?ie.replaceVars(ze,fe.iframe.luigi.pathParams,":",!1):ze,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:D}),fe.iframe.pv="pv"}},Qt=(U,fe,Ee,ze)=>{let Ve=Cn(U.params,Ee,ze);const{preventHistoryEntry:we,preserveQueryParams:De,preventContextUpdate:_t}=U.params,Ft={keepBrowserHistory:!we,navSync:pe,preventContextUpdate:_t};return Ve=ie.addLeadingSlash(Ve),Ve=De?me.composeSearchParamsToRoute(Ve):Ve,bn(U,fe),et.navigateTo(Ve,Ft)},Rn=U=>U.split("?")[0],Dt=(U,fe)=>{if(U.length===0)return!1;const Ee=fe.startsWith("/")?fe:`/${fe}`,ze=[...U].pop();return[Rn(ze.path),Rn(ze.nextPath)].includes(Rn(Ee))},dl=U=>{Ce&&Ce.dirtySet&&(U?Ce.dirtySet.delete(U):Ce.dirtySet.clear())},en=U=>new Promise((fe,Ee)=>{ql(U)?Pi().then(()=>{dl(),fe()},()=>{Ee()}):fe()}),un=()=>({get:()=>({unsavedChanges:Ce,hideNav:yi,viewUrl:F,nodeParams:R,viewGroup:B,urlParamsRaw:O,currentNode:H,navigationPath:ce,context:D,pathParams:I,hideSideNav:Wi,isolateView:G,pageErrorHandler:ee,previousNodeValues:x,mfSplitView:o,splitViewValues:f,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:s,tabNav:Ue,isNavigateBack:z,goBackContext:j,isNavigationSyncEnabled:pe}),set:U=>{U&&(t(23,gl=!1),Object.getOwnPropertyNames(U).forEach(fe=>{fe==="hideNav"?t(21,yi=U.hideNav):fe==="viewUrl"?F=U.viewUrl:fe==="nodeParams"?R=U.nodeParams:fe==="viewGroup"?B=U.viewGroup:fe==="urlParamsRaw"?O=U.urlParamsRaw:fe==="currentNode"?H=U.currentNode:fe==="navigationPath"?t(15,ce=U.navigationPath):fe==="context"?D=U.context:fe==="pathParams"?t(14,I=U.pathParams):fe==="hideSideNav"?(Wi!=U.hideSideNav&&(t(23,gl=!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"?ee=U.pageErrorHandler:fe==="previousNodeValues"?x=U.previousNodeValues:fe==="mfSplitView"?t(12,o=U.mfSplitView):fe==="splitViewValues"?f=U.splitViewValues:fe==="splitViewIframe"?C=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"?z=U.isNavigateBack:fe==="goBackContext"?j=U.goBackContext:fe==="isNavigationSyncEnabled"&&(pe=U.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:ql,getUnsavedChangesModalPromise:en,showUnsavedChangesModal:Pi,showAlert:_l,prepareInternalData:on,dispatch:n}),zn=(U,fe)=>{an.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Wn.deleteCache();const ze=et.getCurrentPath();et.handleRouteChange(ze,un(),U,fe)},["navigation.nodes"]),me.addRouteChangeListener((Ee,ze)=>{const{withoutSync:Ve,preventContextUpdate:we}=ze||{};Dt(Z,Ee)||(Z=[],Ln.removeInactiveIframes(U));for(let _t=ft.length;_t--;)Y(_t);Qr.removeBackdrop(),Hi(),et.handleRouteChange(Ee,un(),U,fe,Ve,we)})},Gt=(U,fe)=>ie.replaceVars(et.getNodePath(U),fe,":",!1),Cn=(U,fe,Ee)=>{const ze=fe||H,Ve=Ee||I;let we=ce;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(Ft=>Ft.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(Gt(_t,Ve),U.link)}else if(U.fromParent)De=et.concatenatePath(Gt(ze.parent,Ve),U.link);else if(U.fromClosestContext){const _t=[...we].reverse().find(Ft=>Ft.navigationContext&&Ft.navigationContext.length>0);De=et.concatenatePath(Gt(_t,Ve),U.link)}else if(U.fromContext){const _t=U.fromContext,Ft=[...we].reverse().find(yt=>_t===yt.navigationContext);De=et.concatenatePath(Gt(Ft,Ve),U.link)}else U.intent?De=me.getIntentPath(U.link):U.relative&&(De=et.concatenatePath(Gt(ze,Ve),U.link));return U.nodeParams&&Object.keys(U.nodeParams).length>0&&(De+=De.includes("?")?"&":"?",Object.entries(U.nodeParams).forEach((_t,Ft)=>{De+=encodeURIComponent(me.getContentViewParamPrefix()+_t[0])+"="+encodeURIComponent(_t[1])+(Ft<Object.keys(U.nodeParams).length-1?"&":"")})),De},fi=U=>{const fe=U.detail.node;en().then(()=>{if(Hl(),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 un().set({isNavigationSyncEnabled:!0}),et.handleRouteClick(fe,un())},()=>{})},ci=()=>{t(17,te=!te)};zr("handleNavigation",Qt);const fn=U=>U?!0:(console.warn("No search provider defined."),!1),Ci=()=>{fn($)&&t(0,be=!1)},ne=()=>{fn($)&&Ke&&(t(0,be=!0),Ke.focus())},Le=()=>{fn($)&&Ke&&(t(1,Ke.value="",Ke),Gn())},at=()=>{t(0,be=!be),Uw.clearSearchField()},Nt=()=>{if(fn($)&&Ke)return Ke.value},Ct=U=>{fn($)&&Ke&&(t(1,Ke.value=U,Ke),ie.isFunction($.onInput)?$.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ln=U=>{fn($)&&Ke&&t(1,Ke.placeholder=U,Ke)},En=U=>{if(fn($))if(U&&U.length>0)if(ie.isFunction($.customSearchResultRenderer)){t(4,kt=!0);let fe={fireItemSelected:Ee=>{$.onSearchResultItemSelected(Ee)}};$.customSearchResultRenderer(U,St,fe)}else t(3,qt=!0),t(5,Yt=U);else console.warn("Search result array is empty.")},Gn=()=>{if(fn($)&&(t(3,qt=!1),t(5,Yt=[]),St))for(;St.lastElementChild;)St.removeChild(St.lastElementChild)},ti=U=>{let fe=U.detail.node,Ee={params:{link:fe.link,nodeParams:fe.params}};Qt(Ee)},Ol=(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(un(),U,fe)},Hi=()=>{st.close(un())},gr=()=>{st.collapse(un()),t(12,o.collapsed=!0,o)},_r=()=>{st.expand(un()),t(12,o.collapsed=!1,o)},Fl=()=>o.displayed?o.collapsed:!1,pr=()=>o.displayed?!o.collapsed:!1,mr=()=>o.displayed,br=U=>{C=U.detail.splitViewIframe,y=U.detail.splitViewIframeData,t(12,o.collapsed=U.detail.collapsed,o)},hl=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)},vr=U=>{P=U.detail.splitViewWC,U.detail.splitViewWCData,t(12,o.collapsed=U.detail.collapsed,o)};let yi,Wi,gl,qi,Ul,Bl;const Hl=()=>{document.body.classList.remove("lui-leftNavToggle")},wr=()=>{ji();const U=window.innerWidth>=xt.desktopMinWidth&&qi<xt.desktopMinWidth,fe=window.innerWidth<xt.desktopMinWidth&&qi>=xt.desktopMinWidth;(U||fe)&&Hl(),qi=window.innerWidth};let yn=[];const zi=(U,fe)=>{if(!(!U||!(U.length>0)))return U.filter(Ee=>Ee.settings.id===fe)[0]},_l=(U,fe=!1)=>{const Ee=re.getConfigValue("settings.customAlertHandler");if(ie.isFunction(Ee)){const Ve=Ee(U,fe);if(Ve!==!1)return Ve}const ze=yn;return U.id||(U.id=ie.getRandomId()),U.id&&ze&&zi(ze,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(()=>{zi(yn,U.id)&&Wl(U.id)},U.closeAfter),new Promise((Ve,we)=>{t(26,yn=[...ze||[],{displayed:!0,settings:U,openFromClient:fe,promise:{resolve:Ve}}])}))},Wl=(U,fe)=>{const Ee=zi(yn,U);if(!Ee){console.error("An unexisting alert has been dismissed.",yn,U);return}if(t(26,yn=yn.filter(ze=>ze.settings.id!==U)),Ee.openFromClient){const ze=Ln.getActiveIframe(le),Ve={msg:"luigi.ux.alert.hide",id:U,dismissKey:fe};Te.sendMessageToIframe(ze,Ve)}else Ee.promise&&Ee.promise.resolve(fe||U)},Sr=U=>{Wl(U.detail.id,U.detail.dismissKey)};let Gi;const pl=()=>{t(27,Gi={displayed:!1,content:{},openFromClient:!1,promise:null})};pl();const ml=(U,fe=!1,Ee)=>new Promise((ze,Ve)=>{t(27,Gi={displayed:!0,settings:U,openFromClient:fe,promise:{resolve:ze,reject:Ve},targetIframe:Ee})}),di=U=>{const{promise:fe,openFromClient:Ee,targetIframe:ze}=Gi;if(pl(),U?fe.resolve():fe.reject(),Ee&&ze){const Ve={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:U}};Te.sendMessageToIframe(ze,Ve)}},ql=U=>{if(Ce.dirtySet){if(U)return Ce.dirtySet.has(U);if(Ce.dirtySet.size>0)return!0}return!1},Pi=()=>ml({header:pt.getTranslation("luigi.unsavedChangesAlert.header"),body:pt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:pt.getTranslation("luigi.button.dismiss"),buttonConfirm:pt.getTranslation("luigi.button.confirm")}),kr=()=>Ce.dirtySet?Ce.dirtySet.size>0:Ce.isDirty;zr("getUnsavedChangesModalPromise",en);let ft=[];const bl=U=>{if(typeof U>"u"){t(28,ft=[]);return}t(28,ft=ft.filter((fe,Ee)=>U!==Ee))};bl();const Ki=async(U,fe)=>{if(await Se.shouldPreventNavigationForPath(U))return;const Ee={mfModal:{displayed:!0,nodepath:U,settings:fe}};t(28,ft=[...ft,Ee]),re.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.length===1&&et.appendModalDataToUrl(U,fe)},vl=(U,fe)=>{t(28,ft[fe].modalIframe=U.detail.modalIframe,ft),t(28,ft[fe].modalIframeData=U.detail.modalIframeData,ft)},wl=(U,fe)=>{t(28,ft[fe].modalWC=U.detail.modalWC,ft),t(28,ft[fe].modalWCData=U.detail.modalWCData,ft)},Y=(U,fe,Ee)=>{const ze=(De,_t)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&&ft.length===1&&et.removeModalDataFromUrl(_t),bl(De)},Ve=ft[U],we=ie.getRemotePromise(Ve.mfModal.settings.onClosePromiseId);Ve&&Ve.modalIframe?en(Ve.modalIframe.contentWindow).then(()=>{ze(U,fe),we&&we.doResolve(Ee)},()=>{}):Ve&&Ve.modalWC&&(ze(U,fe),we&&we.doResolve(Ee))};zr("openViewInModal",Ki);let tt={};const cn=()=>{t(29,tt.displayed=!1,tt),t(29,tt.nodepath=void 0,tt),t(29,tt.settings={},tt),t(13,_=!1)};cn();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))},Xr=()=>window.innerWidth>=xt.desktopMinWidth&&tt.displayed&&tt.settings&&!tt.settings.overlap,ji=(U=!1)=>{if(!Xr())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(U)Ee.forEach(ze=>{ze==null||ze.style.removeProperty("width")});else{const{width:ze}=getComputedStyle(fe);Ee.forEach(Ve=>{$r(Ve,ze)})}},$r=(U,fe)=>{U&&!U.style.getPropertyValue("width").includes("calc(")&&U.style.setProperty("width",`calc(${U.clientWidth}px - ${fe})`)},Cr=U=>{p=U.detail.modalIframe,b=U.detail.modalIframeData,ji()},ha=U=>{v=U.detail.modalWC,U.detail.modalWCData,ji()},xr=U=>{h=U.detail.activeDrawer},Ji=U=>{if(U&&U.detail&&U.detail.activeDrawer!==void 0&&(h=U.detail.activeDrawer),!h||U&&U.detail&&U.detail.type!=="modal")try{p?en(p.contentWindow).then(()=>{cn()},()=>{}):v&&en().then(()=>{cn()},()=>{}),ji(!0)}catch(fe){console.log(fe)}},es=()=>{const U=ar.processUserSettingGroups();Array.isArray(U)&&U.length>0?(t(18,ge.userSettingGroups=[...U],ge),t(18,ge.displayed=!0,ge)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ga=()=>{t(18,ge.displayed=!1,ge)},ts=async U=>{if(await Se.shouldPreventNavigationForPath(U))return;re.getConfigValue("routing.useHashRouting")&&(U="#"+U),window.open(U,"_blank","noopener,noreferrer")},ns=U=>{let fe=ce;if(H){let Ve=H.parent;for(fe=[H];Ve;)fe.push(Ve),Ve=Ve.parent;fe=[...fe].reverse()}let Ee=U.link,ze=Gt(H,I);if(U.fromVirtualTreeRoot){const Ve=[...fe].reverse().find(De=>De.virtualTree);if(!Ve){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const we=Gt(Ve,I);Ee=ze.split(we).join("")}else if(U.fromParent){const Ve=Gt(H.parent,I);Ee=ze.split(Ve).join("")}else if(U.fromClosestContext){const Ve=[...fe].reverse().find(De=>De.navigationContext&&De.navigationContext.length>0),we=Gt(Ve,I);Ee=ze.split(we).join("")}else if(U.fromContext){const Ve=U.fromContext,we=[...fe].reverse().find(_t=>Ve===_t.navigationContext),De=Gt(we,I);Ee=ze.split(De).join("")}else Ee=ze;return Ee};function yr(U){sessionStorage.removeItem("historyState"),rr.shouldPreload=!0,rr.preload(!0),rr.shouldPreload=!1;const fe=re.getConfigValue("navigation.defaults.isolateView"),Ee=re.getConfigValue("navigation.defaults.pageErrorHandler"),ze=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ve={iframe:null,navigateOk:null,builderCompatibilityMode:Boolean(window.builderCompatibilityMode),isolateAllViews:fe,defaultPageErrorHandler:Ee};pt.addCurrentLocaleChangeListener(we=>{const De={msg:"luigi.current-locale-changed",currentLocale:we};Te.broadcastMessageToAllIframes(De)}),An.addEventListener("popstate",async we=>{const De=yn;if(!De||!(De.length>0))return;const _t=De.map(Ft=>{if(Ft&&!Ft.openFromClient&&typeof Ft.settings.ttl=="number"){if(Ft.settings.ttl===0)return null;Ft.settings.ttl--}return Ft}).filter(Ft=>Ft);t(26,yn=_t)}),An.addEventListener("message",async we=>{const De=Te.getValidMessageSource(we),_t=ft[ft.length-1],Ft=_t&&_t.modalIframe,yt=_t&&_t.modalIframeData,ht={modalIframe:Ft,modalIframeData:yt,drawerIframe:p,drawerIframeData:b,drawer:w,modal:g,splitViewIframe:C,splitViewIframeData:y,splitView:T};if(!De)return;De._ready=!0;const Nr=Te.getSpecialIframeMessageSource(we,ht),Qi=Nr&&Nr.length>0,Ir=re.getConfigValue("communication.skipEventsWhenInactive");if(Ir&&Ir.length>0&&!Qi&&De.contentWindow!==window&&!ie.isElementVisible(De)&&Ir.includes(we.data.msg)){console.debug(`EVENT '${we.data.msg}' from inactive iframe -> SKIPPED`);return}if(we.data.msg==="custom"){const je=re.getConfigValue("communication.customMessagesListeners")||{},It=aa.convertCustomMessageInternalToUser(we.data),Vt=je[It.id],Zt="luigi.updateUserSettings";if(ge&&It.id===Zt){Vt&&console.warn(`The key "${Zt}" is not allowed to use for custom messages.`);return}if(typeof Vt=="function"){const Dn=ui.getMicrofrontends().find(Lt=>Te.isMessageSource(we,Lt.container));Vt(It,Dn,ie.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,Ve.navigateOk=!0,rr.preload()),we.data.msg==="luigi.get-context"){if(De.luigi.clientVersion=we.data.clientVersion,De.luigi.initOk=!1,Qi)Nr.forEach(async je=>{let It=ht[je.dataKey].context;const Vt={...Ve,iframe:ht[je.iframeKey],context:It,pathParams:ht[je.dataKey].pathParams,nodeParams:ht[je.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(ht[je.iframeKey].luigi.currentNode),modal:je.iframeKey.startsWith("modal"),drawer:je.iframeKey.startsWith("drawer"),splitView:je.iframeKey.startsWith("splitView")};await mn(Vt,{})});else if(Ve.iframe&&Te.isMessageSource(we,Ve.iframe))await mn(Ve,{}),(!H||!H.loadingIndicator||H.loadingIndicator.hideAutomatically!==!1)&&ls(),rr.preload();else if(De.luigi.preloading)await mn({iframe:De,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let je=ar.findActiveCustomUserSettingsIframe(we.source);if(je){let It=je.getAttribute("userSettingsGroup"),Vt={context:{userSettingsData:pn[It]},iframe:je};await mn(Vt)}}rr.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"){z=!1;const je=window.location.href,It=Qi?De.luigi.currentNode:void 0,Vt=Qi?De.luigi.pathParams:void 0,Zt=we.data.params,{intent:Dn,newTab:Lt,modal:Ni,splitView:ni,drawer:Sl,withoutSync:ds}=Zt;let dn=Lt||Ni||ni||Sl;const hs=()=>{const Vn=ie.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doResolve()},kl=()=>{const Vn=ie.getRemotePromise(we.data.remotePromiseId);Vn&&Vn.doReject()},Zi=Vn=>{!Vn||je!==window.location.href?hs():kl()};we.source!==window&&!Dn&&Zt.link&&(Zt.link=Zt.link.split("?")[0]);let rn=Cn(we.data.params,It,Vt);if(dn=dn||Dn&&rn.external,!dn)en().then(()=>{pe=!we.data.params.withoutSync,Qt(we.data,Ve,It,Vt).then(()=>{Zi(!0)}).catch(()=>{kl()}),ft.forEach((Vn,gs)=>{Y(gs)}),Hi(),Ji(),pe=!0}).catch(()=>{kl()});else{if(Dn&&rn.external){et.navigateToExternalLink({url:rn.url,sameWindow:!rn.openInNewTab});return}if(rn=ie.addLeadingSlash(rn),Lt){await ts(rn),Zi();return}const Vn=await zl(rn);if(rn=await me.handlePageNotFoundAndRetrieveRedirectPath(un(),rn,Vn),!rn){kl();return}le=U,Ni!==void 0?(!Ni.keepPrevious&&bl(),await Ki(rn,Ni===!0?{}:Ni),Zi()):ni!==void 0?(await Ol(rn,ni),Zi()):Sl!==void 0&&(cn(),Sl.isDrawer=!0,await hi(rn,Sl),Zi())}}if(we.data.msg==="luigi.navigation.back"){const je=ft[ft.length-1],It=ft.length>1&&ft[ft.length-2],Vt=we.data.goBackContext&&JSON.parse(we.data.goBackContext);if(Te.isMessageSource(we,je&&je.modalIframe)){Y(ft.length-1,!0,Vt);let Zt=Ve;if(It&&It.modalIframeData&&It.modalIframe){const Dn=It,Lt=Dn.modalIframeData;Zt={pathParams:Lt.pathParams,context:Lt.context,iframe:Dn.modalIframe}}Zt.iframe&&await mn(Zt,{goBackContext:Vt})}else Te.isMessageSource(we,C)?(Hi(),Ve.iframe&&await mn(Ve,{goBackContext:Vt})):Te.isMessageSource(we,p)?(h&&(h=!h),Ji(),Ve.iframe&&await mn(Ve,{goBackContext:Vt})):Z&&Z.length>0?en().then(()=>{Ln.setActiveIframeToPrevious(U);const Zt=Z.pop();Ve.iframe=Ln.getActiveIframe(U),z=!0,Z=Z,j=Vt,Qt({params:{link:Zt.path}},Ve)},()=>{}):(Vt&&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 je=we.data.data,Vt={msg:"luigi.navigation.currentRoute.answer",data:{route:ns(je),correlationId:je.id}};Te.sendMessageToIframe(De,Vt)}if(we.data.msg==="luigi.auth.tokenIssued"&&Bi(we.data.authData),we.data.msg==="luigi.navigation.updateModalDataPath"){if(!re.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Qi){const je=ie.addLeadingSlash(Cn(we.data.params,De.luigi.currentNode,De.luigi.pathParams));et.updateModalDataInUrl(je,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 je=De.luigi.currentNode,It=De.luigi.pathParams,Vt=we.data.data,Zt=Cn(Vt,je,It),Dn=Zt?await Mt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Zt):!1,Lt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Vt.id,pathExists:Dn?Dn.isExistingRoute:!1}};Te.sendMessageToIframe(De,Lt)}if(we.data.msg==="luigi.set-page-dirty"){if(!Ce.dirtySet){const je=new Set;je.add(we.source),Ce={dirtySet:je}}Ce.persistUrl=window.location.href,we.data.dirty?Ce.dirtySet.add(we.source):Ce.dirtySet.delete(we.source)}if(we.data.msg==="luigi.ux.confirmationModal.show"){const je=we.data.data.settings;le=U,pl(),ml(je,!0,De).catch(()=>{})}if(we.data.msg==="luigi.ux.alert.show"){const{settings:je}=we.data.data;if(!je.text&&!ie.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}le=U,_l(je,!0).catch(()=>{})}if(we.data.msg==="luigi.ux.set-current-locale")if(De.luigi.clientPermissions&&De.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:je}=we.data.data;je&&pt.setCurrentLocale(je)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Ae&&!Ae.thirdPartyCookieScriptLocation&&we.data.msg==="luigi.third-party-cookie"&&we.data.tpc==="disabled"&&is(),we.data.msg==="storage"&&uS.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 je=De.luigi.currentNode;je&&je.runTimeErrorHandler&&ie.isFunction(je.runTimeErrorHandler.errorFn)?je.runTimeErrorHandler.errorFn(we.data.errorObj,je):ze&&ie.isFunction(ze.errorFn)&&ze.errorFn(we.data.errorObj,je)}if(we.data.msg==="luigi.addSearchParams")if(De.luigi.currentNode.clientPermissions&&De.luigi.currentNode.clientPermissions.urlParameters){const{data:je,keepBrowserHistory:It}=we.data;me.addSearchParamsFromClient(De.luigi.currentNode,je,It)}else console.warn("No client permissions to add url parameter for this node.");if(we.data.msg==="luigi.addNodeParams"){if(Qi)return;const{data:je,keepBrowserHistory:It}=we.data;al.addNodeParams(je,It)}if(we.data.msg==="luigi.setAnchor"){const{anchor:je}=we.data;al.setAnchor(je)}if(we.data.msg==="luigi.setVGData"){const je=we.data,It=me.findViewGroup(De.luigi.currentNode);if(It){const Vt=Ln.getViewGroupSettings(It);Vt._liveCustomData=je.data,re.configChanged("navigation.viewgroupdata")}}}),zn(U,Ve)}zr("store",l),zr("getTranslation",r);const is=U=>{Ae&&Ae.thirdPartyCookieErrorHandling&&ie.isFunction(Ae.thirdPartyCookieErrorHandling)&&Ae.thirdPartyCookieErrorHandling()};function ls(){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 zl=async U=>{const fe={link:U,relative:U[0]!=="/",intent:me.hasIntent(U)},Ee=Cn(fe),ze=Ee?await Mt.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Ee):!1;return ze?ze.isExistingRoute:!1},Pr=()=>ft.length>0||Z.length!==0;Jt(()=>{if(Lo._init(),$=re.getConfigValue("globalSearch.searchProvider"),se=re.getConfigValue("settings.responsiveNavigation"),qi=window.innerWidth,se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),Se.getBurgerTooltipConfig()){const[U,fe]=Se.getBurgerTooltipConfig();U&&fe&&t(19,oe=document.body.classList.contains("lui-leftNavToggle")?U:fe)}}else if(se==="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,oe=Ee?U:fe)}}document.body.classList.add("lui-semiCollapsible")}Ae=re.getConfigValue("settings.thirdPartyCookieCheck"),Ae&&Ae.thirdPartyCookieScriptLocation&&setTimeout(()=>{let U=document.createElement("iframe");U.width="0px",U.height="0px",U.src=Ae.thirdPartyCookieScriptLocation,document.body.appendChild(U),U.onload=function(){setTimeout(()=>{cy()==="disabled"&&is()}),document.body.removeChild(U)}})}),da(()=>{ji()}),qn(()=>{t(20,Me=re.getConfigValue("navigation.breadcrumbs")),$=re.getConfigValue("globalSearch.searchProvider"),t(24,Ul=re.getConfigValue("tag")),t(25,Bl=re.getConfigValue("settings.header.disabled"))});const Yi=U=>{U.keyCode===wi&&ft&&ft.length>0&&Y(ft.length-1)},rs=U=>Y(U,!0),ss=(U,fe)=>vl(fe,U),_a=(U,fe)=>wl(fe,U),as=()=>di(!0),os=()=>di(!1);function us(U){pn=U,t(6,pn)}function fs(U){be=U,t(0,be)}function pa(U){qt=U,t(3,qt)}function ma(U){kt=U,t(4,kt)}function ba(U){Yt=U,t(5,Yt)}function cs(U){Ke=U,t(1,Ke)}function va(U){St=U,t(2,St)}return i.$$set=U=>{"store"in U&&t(47,l=U.store),"getTranslation"in U&&t(48,r=U.getTranslation),"isSearchFieldVisible"in U&&t(0,be=U.isSearchFieldVisible),"inputElem"in U&&t(1,Ke=U.inputElem),"luigiCustomSearchRenderer__slot"in U&&t(2,St=U.luigiCustomSearchRenderer__slot),"displaySearchResult"in U&&t(3,qt=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,Ke,St,qt,kt,Yt,pn,at,Gn,ti,ga,s,o,_,I,ce,Ue,te,ge,oe,Me,yi,Wi,gl,Ul,Bl,yn,Gi,ft,tt,fi,ci,br,hl,vr,wr,Sr,di,vl,wl,Y,Cr,ha,xr,Ji,yr,Yi,l,r,Ci,ne,Le,Nt,Ct,ln,En,Ol,Hi,gr,_r,Fl,pr,mr,_l,ml,kr,es,zl,Pr,rs,ss,_a,as,os,us,fs,pa,ma,ba,cs,va]}class my extends Et{constructor(e){super(),Rt(this,e,py,_y,Tt,{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])}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 by=()=>{const{subscribe:i,update:e,reset:t}=fr({}),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)})}}},N_=by(),vy=Rw((i,e,t)=>pt.getTranslation(i,e,t));Luigi._store=N_;const wy=()=>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 my({target:ui.getLuigiContainer(),props:{store:N_,getTranslation:vy}}),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(wy);
61
61
  //# sourceMappingURL=luigi.js.map