@luigi-project/core 2.18.1-dev.202411280033 → 2.18.1-dev.202411300032

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/luigi.js CHANGED
@@ -1,4 +1,4 @@
1
- var $w=Object.defineProperty;var xw=(i,e,t)=>e in i?$w(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Fl=(i,e,t)=>(xw(i,typeof e!="symbol"?e+"":e,t),t);function We(){}function ek(i,e){for(const t in e)i[t]=e[t];return i}function tk(i){return i&&typeof i=="object"&&typeof i.then=="function"}function G_(i){return i()}function Kf(){return Object.create(null)}function Je(i){i.forEach(G_)}function bi(i){return typeof i=="function"}function Et(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let $a;function $e(i,e){return $a||($a=document.createElement("a")),$a.href=e,i===$a.href}function nk(i){return Object.keys(i).length===0}function qo(i,...e){if(i==null)return We;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return qo(i,t=>e=t)(),e}function vi(i,e,t){i.$$.on_destroy.push(qo(e,t))}function ds(i,e,t,n){if(i){const l=K_(i,e,t,n);return i[0](l)}}function K_(i,e,t,n){return i[1]&&n?ek(t.ctx.slice(),i[1](n(e))):t.ctx}function hs(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function gs(i,e,t,n,l,r){if(l){const a=K_(e,t,n,r);i.p(a,l)}}function _s(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function Mn(i){return i??""}function j_(i){return i&&bi(i.destroy)?i.destroy:We}function w(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function ft(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function ik(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function W(){return Ne(" ")}function ke(){return Ne("")}function ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Bt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function lk(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function jf(i,e){i.value=e??""}function On(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function jt(i,e,t){i.classList[t?"add":"remove"](e)}function rk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class mr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=ik(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let jr;function qi(i){jr=i}function gl(){if(!jr)throw new Error("Function called outside component initialization");return jr}function Gn(i){gl().$$.before_update.push(i)}function nn(i){gl().$$.on_mount.push(i)}function Zr(i){gl().$$.after_update.push(i)}function Xr(i){gl().$$.on_destroy.push(i)}function Jt(){const i=gl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=rk(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function qr(i,e){return gl().$$.context.set(i,e),e}function kt(i){return gl().$$.context.get(i)}function Ul(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Gr=[],je=[],ts=[],Mo=[],ak=Promise.resolve();let Fo=!1;function sk(){Fo||(Fo=!0,ak.then(zo))}function Uo(i){ts.push(i)}function vt(i){Mo.push(i)}const Do=new Set;let xa=0;function zo(){const i=jr;do{for(;xa<Gr.length;){const e=Gr[xa];xa++,qi(e),ok(e.$$)}for(qi(null),Gr.length=0,xa=0;je.length;)je.pop()();for(let e=0;e<ts.length;e+=1){const t=ts[e];Do.has(t)||(Do.add(t),t())}ts.length=0}while(Gr.length);for(;Mo.length;)Mo.pop()();Fo=!1,Do.clear(),qi(i)}function ok(i){if(i.fragment!==null){i.update(),Je(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Uo)}}const ns=new Set;let Bl;function ve(){Bl={r:0,c:[],p:Bl}}function we(){Bl.r||Je(Bl.c),Bl=Bl.p}function R(i,e){i&&i.i&&(ns.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(ns.has(i))return;ns.add(i),Bl.c.push(()=>{ns.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ls(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const h=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((g,p)=>{p!==r&&g&&(ve(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),we())}):e.block.d(1),h.c(),R(h,1),h.m(e.mount(),e.anchor),d=!0),e.block=h,e.blocks&&(e.blocks[r]=h),d&&zo()}if(tk(i)){const l=gl();if(i.then(r=>{qi(l),n(e.then,1,e.value,r),qi(null)},r=>{if(qi(l),n(e.catch,2,e.error,r),qi(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function J_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const _l=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function wt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Me(i){i&&i.c()}function Ve(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Uo(()=>{const a=i.$$.on_mount.map(G_).filter(bi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Je(a),i.$$.on_mount=[]}),r.forEach(Uo)}function Oe(i,e){const t=i.$$;t.fragment!==null&&(Je(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function uk(i,e){i.$$.dirty[0]===-1&&(Gr.push(i),sk(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Dt(i,e,t,n,l,r,a,o=[-1]){const c=jr;qi(i);const h=i.$$={fragment:null,ctx:[],props:r,update:We,not_equal:l,bound:Kf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Kf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(h.root);let d=!1;if(h.ctx=t?t(i,e.props||{},(g,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[g],h.ctx[g]=m)&&(!h.skip_bound&&h.bound[g]&&h.bound[g](m),d&&uk(i,g)),p}):[],h.update(),d=!0,Je(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=lk(e.target);h.fragment&&h.fragment.l(g),g.forEach(L)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Ve(i,e.target,e.anchor,e.customElement),zo()}qi(c)}class Vt{$destroy(){Oe(this,1),this.$destroy=We}$on(e,t){if(!bi(t))return We;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!nk(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class fk{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const rs=new fk;class ck{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const as=new ck;class dk{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const zn=new dk;let hk=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{Jk.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=pn.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),zi.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return rs.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await rs.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return mi.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),hn.unload(),Fn.removeAllEventListeners();const e=zi.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&le.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&le.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){zn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ae.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ae.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ae.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const ss=new hk;let gk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&hn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&hn.logout()}async handleAuthEvent(e,t,n,l){const r=await te.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return te.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>si.getStorageKey(),getStorageType:()=>si.getStorageType(),getAuthData:()=>si.getAuthData(),setAuthData:e=>si.setAuthData(e),removeAuthData:()=>si.removeAuthData(),setNewlyAuthorized:()=>si.setNewlyAuthorized()}}};const Y_=new gk,fn={desktopMinWidth:600},_k=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],pk={cssSelector:"[luigi-app-root]"},mk={cssSelector:"[luigi-app-loading-indicator]"};let bk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(pk.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const Q_=new bk;class vk{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Nn extends vk{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromParent:!1,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}navigateToIntent(e,t={}){var l;let n="#?intent=";if(n+=e,t&&((l=Object.keys(t))!=null&&l.length)){const r=Object.entries(t);if(r.length>0){n+="?";for(const[a,o]of r)n+=a+"="+o+"&";n=n.slice(0,-1)}}this.navigate(n)}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this.options.fromParent=!1,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this.options.fromParent=!1,this}fromParent(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!1,this.options.fromParent=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}getCurrentRoute(){return Luigi._app.ctx[Luigi._app.props.buildPathForGetCurrentRoute](this.options)}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class wk{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Nn().navigate(e,t,n,l,r)}navigateToIntent(e,t){return new Nn().navigateToIntent(e,t)}openAsModal(e,t,n){return new Nn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Nn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Nn().openAsDrawer(e,t)}fromContext(e){return new Nn().fromContext(e)}fromClosestContext(){return new Nn().fromClosestContext()}fromVirtualTreeRoot(){return new Nn().fromVirtualTreeRoot()}fromParent(){return new Nn().fromParent()}getCurrentRoute(){return new Nn().getCurrentRoute()}withParams(e){return new Nn().withParams(e)}pathExists(e){return new Nn().pathExists(e)}hasBack(){return new Nn().hasBack()}goBack(e){return new Nn().goBack(e)}}const Z_=new wk,kk={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},Sk=kk;class Ck{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Sk,this.listeners={}}_init(){pn.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),ss.configChanged()}_initCustomImplementation(){this.translationImpl=ss.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return typeof e!="string"||!e.trim()||Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+pr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const X_=new Ck;class yk{sendToAll(e){const t=as.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=as.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const Pk=new yk,ur=[];function Ik(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=We){let t;const n=new Set;function l(o){if(Et(i,o)&&(i=o,t)){const c=!ur.length;for(const h of n)h[1](),ur.push(h,i);if(c){for(let h=0;h<ur.length;h+=2)ur[h][0](ur[h+1]);ur.length=0}}}function r(o){l(o(i))}function a(o,c=We){const h=[o,c];return n.add(h),n.size===1&&(t=e(l)||We),o(i),()=>{n.delete(h),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class Nk{initial(){this.responsiveNavSetting=te.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(re.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&this.previousWindowWidth>=fn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>fn.desktopMinWidth&&this.previousWindowWidth>=fn.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(re.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(re.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const pi=new Nk;let Tk=class{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(mk.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return ol(this.documentTitle)}collapseLeftSideNav(e){pi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Nn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const $_=new Tk;let Lk=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const x_=new Lk;let Ak=class{constructor(){this.currentTheme}async getAvailableThemes(){return await te.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=te.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!te.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=te.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(te.getConfigValue("settings.theming.variables.errorHandling"))?te.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else te.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=te.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Yr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};pn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const ep=new Ak;let Ek=class{constructor(){this.featureToggleList=gr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ol(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ol(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ol(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ol(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return ol(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ol(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const tp=new Ek;let Rk=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(te.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);te.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),te.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);te.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),te.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return te.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(te.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const np=new Rk,te=ss,mi=Y_,zi=Q_,ip=Z_,Tt=X_,$r=$_,Dk=x_,Bo=ep,Go=tp,ul=np;window.Luigi=ss;window.Luigi.auth=()=>Y_;window.Luigi.elements=()=>Q_;window.Luigi.navigation=()=>Z_;window.Luigi.i18n=()=>X_;window.Luigi.customMessages=()=>Pk;window.Luigi.ux=()=>$_;window.Luigi.globalSearch=()=>x_;window.Luigi.theming=()=>ep;window.Luigi.featureToggles=()=>tp;window.Luigi.routing=()=>np;class Vk{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=re.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Tt.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=re.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const h={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Tt.getCurrentLocale()})};Ae.sendMessageToIframe(o,h)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ae.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):re.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ae.getMainIframes(),p=this.getPreservedViewsInDom(g);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ae.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):h||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(n)):Ae.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ae.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ae.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(T=>{Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:T[I.userSettingsGroup]},internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const ai=new Vk;class Ok{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=re.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(g=>g.luigi&&g.luigi.preloading&&o-g.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(g=>g.vg).filter(Boolean),d=Object.entries(l).filter(([g,p])=>!h.includes(g)).filter(([g,p])=>p&&p.preloadUrl);t&&d.forEach(([g,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,g,r)}),!t&&d.filter((g,p)=>p<e).forEach(([g,p])=>{console.debug("preloading view group "+g+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,g,r)})}preloadIframeOnBackground(e,t,n){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const fr=new Ok;class Mk{async getNavigationPath(e,t=""){try{const n=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(zn.hasRootNode()&&(l=zn.getRootNode().node),!l){const g=await e;le.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),zn.setRootNode(l)}const r=n.split("/"),o={...te.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);c.isExistingRoute=!n||r.length===h.length;const d=n.split("/");return c.matchedPath=d.filter((g,p)=>h[p]&&h[p].startsWith(":")||h[p]===g).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(zn.hasChildren(e)){let r=zn.getChildren(e);r&&(n=r.children)}else try{n=await rs.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return zn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return zn.hasChildren(e)?Ut.getChildrenFromCache(e):await Ut.getChildren(e)}getChildrenFromCache(e){let t=zn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>re.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,a)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,a.hideFromNav&&(c.hideFromNav=a.hideFromNav),c.children=[l(r,a)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let h=re.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=pr.sanitizeParam(o)),h=me.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const g=e.slice(1);a=this.buildNode(g,t,d,h,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const h=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const g=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!g&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
1
+ var $w=Object.defineProperty;var xw=(i,e,t)=>e in i?$w(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Fl=(i,e,t)=>(xw(i,typeof e!="symbol"?e+"":e,t),t);function We(){}function ek(i,e){for(const t in e)i[t]=e[t];return i}function tk(i){return i&&typeof i=="object"&&typeof i.then=="function"}function G_(i){return i()}function Kf(){return Object.create(null)}function Je(i){i.forEach(G_)}function bi(i){return typeof i=="function"}function Et(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let $a;function $e(i,e){return $a||($a=document.createElement("a")),$a.href=e,i===$a.href}function nk(i){return Object.keys(i).length===0}function qo(i,...e){if(i==null)return We;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return qo(i,t=>e=t)(),e}function vi(i,e,t){i.$$.on_destroy.push(qo(e,t))}function ds(i,e,t,n){if(i){const l=K_(i,e,t,n);return i[0](l)}}function K_(i,e,t,n){return i[1]&&n?ek(t.ctx.slice(),i[1](n(e))):t.ctx}function hs(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function gs(i,e,t,n,l,r){if(l){const a=K_(e,t,n,r);i.p(a,l)}}function _s(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function Mn(i){return i??""}function j_(i){return i&&bi(i.destroy)?i.destroy:We}function w(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function ft(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function ik(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function W(){return Ne(" ")}function ke(){return Ne("")}function ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Bt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function lk(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function jf(i,e){i.value=e??""}function On(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function jt(i,e,t){i.classList[t?"add":"remove"](e)}function rk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class mr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=ik(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let jr;function qi(i){jr=i}function gl(){if(!jr)throw new Error("Function called outside component initialization");return jr}function Gn(i){gl().$$.before_update.push(i)}function nn(i){gl().$$.on_mount.push(i)}function Zr(i){gl().$$.after_update.push(i)}function Xr(i){gl().$$.on_destroy.push(i)}function Jt(){const i=gl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=rk(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function qr(i,e){return gl().$$.context.set(i,e),e}function kt(i){return gl().$$.context.get(i)}function Ul(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Gr=[],je=[],ts=[],Mo=[],ak=Promise.resolve();let Fo=!1;function sk(){Fo||(Fo=!0,ak.then(zo))}function Uo(i){ts.push(i)}function vt(i){Mo.push(i)}const Do=new Set;let xa=0;function zo(){const i=jr;do{for(;xa<Gr.length;){const e=Gr[xa];xa++,qi(e),ok(e.$$)}for(qi(null),Gr.length=0,xa=0;je.length;)je.pop()();for(let e=0;e<ts.length;e+=1){const t=ts[e];Do.has(t)||(Do.add(t),t())}ts.length=0}while(Gr.length);for(;Mo.length;)Mo.pop()();Fo=!1,Do.clear(),qi(i)}function ok(i){if(i.fragment!==null){i.update(),Je(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Uo)}}const ns=new Set;let Bl;function ve(){Bl={r:0,c:[],p:Bl}}function we(){Bl.r||Je(Bl.c),Bl=Bl.p}function R(i,e){i&&i.i&&(ns.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(ns.has(i))return;ns.add(i),Bl.c.push(()=>{ns.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ls(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const h=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((g,p)=>{p!==r&&g&&(ve(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),we())}):e.block.d(1),h.c(),R(h,1),h.m(e.mount(),e.anchor),d=!0),e.block=h,e.blocks&&(e.blocks[r]=h),d&&zo()}if(tk(i)){const l=gl();if(i.then(r=>{qi(l),n(e.then,1,e.value,r),qi(null)},r=>{if(qi(l),n(e.catch,2,e.error,r),qi(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function J_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const _l=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function wt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Me(i){i&&i.c()}function Ve(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Uo(()=>{const a=i.$$.on_mount.map(G_).filter(bi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Je(a),i.$$.on_mount=[]}),r.forEach(Uo)}function Oe(i,e){const t=i.$$;t.fragment!==null&&(Je(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function uk(i,e){i.$$.dirty[0]===-1&&(Gr.push(i),sk(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Dt(i,e,t,n,l,r,a,o=[-1]){const c=jr;qi(i);const h=i.$$={fragment:null,ctx:[],props:r,update:We,not_equal:l,bound:Kf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Kf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(h.root);let d=!1;if(h.ctx=t?t(i,e.props||{},(g,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[g],h.ctx[g]=m)&&(!h.skip_bound&&h.bound[g]&&h.bound[g](m),d&&uk(i,g)),p}):[],h.update(),d=!0,Je(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=lk(e.target);h.fragment&&h.fragment.l(g),g.forEach(L)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Ve(i,e.target,e.anchor,e.customElement),zo()}qi(c)}class Vt{$destroy(){Oe(this,1),this.$destroy=We}$on(e,t){if(!bi(t))return We;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!nk(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class fk{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const rs=new fk;class ck{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const as=new ck;class dk{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const zn=new dk;let hk=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{Jk.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=pn.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),zi.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return rs.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await rs.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return mi.isAuthorizationEnabled()}unload(){this.initialized=!1,window.Luigi._store.clear(),cn.unload(),Fn.removeAllEventListeners();const e=zi.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&le.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&le.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){zn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ae.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ae.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ae.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const ss=new hk;let gk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&cn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&cn.logout()}async handleAuthEvent(e,t,n,l){const r=await te.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return te.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>si.getStorageKey(),getStorageType:()=>si.getStorageType(),getAuthData:()=>si.getAuthData(),setAuthData:e=>si.setAuthData(e),removeAuthData:()=>si.removeAuthData(),setNewlyAuthorized:()=>{si.setNewlyAuthorized(),cn.resetExpirationChecks()}}}};const Y_=new gk,fn={desktopMinWidth:600},_k=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],pk={cssSelector:"[luigi-app-root]"},mk={cssSelector:"[luigi-app-loading-indicator]"};let bk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(pk.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const Q_=new bk;class vk{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Nn extends vk{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromParent:!1,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}navigateToIntent(e,t={}){var l;let n="#?intent=";if(n+=e,t&&((l=Object.keys(t))!=null&&l.length)){const r=Object.entries(t);if(r.length>0){n+="?";for(const[a,o]of r)n+=a+"="+o+"&";n=n.slice(0,-1)}}this.navigate(n)}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this.options.fromParent=!1,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this.options.fromParent=!1,this}fromParent(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!1,this.options.fromParent=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}getCurrentRoute(){return Luigi._app.ctx[Luigi._app.props.buildPathForGetCurrentRoute](this.options)}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class wk{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Nn().navigate(e,t,n,l,r)}navigateToIntent(e,t){return new Nn().navigateToIntent(e,t)}openAsModal(e,t,n){return new Nn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Nn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Nn().openAsDrawer(e,t)}fromContext(e){return new Nn().fromContext(e)}fromClosestContext(){return new Nn().fromClosestContext()}fromVirtualTreeRoot(){return new Nn().fromVirtualTreeRoot()}fromParent(){return new Nn().fromParent()}getCurrentRoute(){return new Nn().getCurrentRoute()}withParams(e){return new Nn().withParams(e)}pathExists(e){return new Nn().pathExists(e)}hasBack(){return new Nn().hasBack()}goBack(e){return new Nn().goBack(e)}}const Z_=new wk,kk={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},Sk=kk;class Ck{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Sk,this.listeners={}}_init(){pn.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),ss.configChanged()}_initCustomImplementation(){this.translationImpl=ss.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return typeof e!="string"||!e.trim()||Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+pr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const X_=new Ck;class yk{sendToAll(e){const t=as.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=as.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const Pk=new yk,ur=[];function Ik(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=We){let t;const n=new Set;function l(o){if(Et(i,o)&&(i=o,t)){const c=!ur.length;for(const h of n)h[1](),ur.push(h,i);if(c){for(let h=0;h<ur.length;h+=2)ur[h][0](ur[h+1]);ur.length=0}}}function r(o){l(o(i))}function a(o,c=We){const h=[o,c];return n.add(h),n.size===1&&(t=e(l)||We),o(i),()=>{n.delete(h),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class Nk{initial(){this.responsiveNavSetting=te.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(re.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&this.previousWindowWidth>=fn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>fn.desktopMinWidth&&this.previousWindowWidth>=fn.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(re.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(re.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const pi=new Nk;let Tk=class{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(mk.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return ol(this.documentTitle)}collapseLeftSideNav(e){pi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Nn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const $_=new Tk;let Lk=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const x_=new Lk;let Ak=class{constructor(){this.currentTheme}async getAvailableThemes(){return await te.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=te.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!te.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=te.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(te.getConfigValue("settings.theming.variables.errorHandling"))?te.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else te.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=te.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Yr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};pn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const ep=new Ak;let Ek=class{constructor(){this.featureToggleList=gr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ol(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ol(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ol(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ol(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return ol(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ol(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const tp=new Ek;let Rk=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(te.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);te.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),te.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);te.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),te.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return te.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(te.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const np=new Rk,te=ss,mi=Y_,zi=Q_,ip=Z_,Tt=X_,$r=$_,Dk=x_,Bo=ep,Go=tp,ul=np;window.Luigi=ss;window.Luigi.auth=()=>Y_;window.Luigi.elements=()=>Q_;window.Luigi.navigation=()=>Z_;window.Luigi.i18n=()=>X_;window.Luigi.customMessages=()=>Pk;window.Luigi.ux=()=>$_;window.Luigi.globalSearch=()=>x_;window.Luigi.theming=()=>ep;window.Luigi.featureToggles=()=>tp;window.Luigi.routing=()=>np;class Vk{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=re.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Tt.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=re.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const h={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:Tt.getCurrentLocale()})};Ae.sendMessageToIframe(o,h)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ae.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):re.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ae.getMainIframes(),p=this.getPreservedViewsInDom(g);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ae.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):h||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(n)):Ae.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ae.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ae.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(T=>{Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:T[I.userSettingsGroup]},internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const ai=new Vk;class Ok{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=re.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(g=>g.luigi&&g.luigi.preloading&&o-g.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(g=>g.vg).filter(Boolean),d=Object.entries(l).filter(([g,p])=>!h.includes(g)).filter(([g,p])=>p&&p.preloadUrl);t&&d.forEach(([g,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,g,r)}),!t&&d.filter((g,p)=>p<e).forEach(([g,p])=>{console.debug("preloading view group "+g+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,g,r)})}preloadIframeOnBackground(e,t,n){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const fr=new Ok;class Mk{async getNavigationPath(e,t=""){try{const n=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(zn.hasRootNode()&&(l=zn.getRootNode().node),!l){const g=await e;le.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),zn.setRootNode(l)}const r=n.split("/"),o={...te.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);c.isExistingRoute=!n||r.length===h.length;const d=n.split("/");return c.matchedPath=d.filter((g,p)=>h[p]&&h[p].startsWith(":")||h[p]===g).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(zn.hasChildren(e)){let r=zn.getChildren(e);r&&(n=r.children)}else try{n=await rs.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return zn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return zn.hasChildren(e)?Ut.getChildrenFromCache(e):await Ut.getChildren(e)}getChildrenFromCache(e){let t=zn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>re.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,a)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,a.hideFromNav&&(c.hideFromNav=a.hideFromNav),c.children=[l(r,a)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let h=re.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=pr.sanitizeParam(o)),h=me.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const g=e.slice(1);a=this.buildNode(g,t,d,h,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const h=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const g=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!g&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
2
2
  Children nodes are redundant and ignored when virtualTree is enabled.
3
3
  Please refer to documentation`),e.children=[d]}}findMatchingNode(e,t){let n=null;const l=t.filter(a=>!!a.pathSegment).length,r=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":")).length;return e=e.includes("#")?e.split("#").shift():e,l>1&&(r===1&&(console.warn(`Invalid node setup detected.
4
4
  Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
@@ -30,9 +30,9 @@ Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.p
30
30
  * Released under MIT license <https://lodash.com/license>
31
31
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
32
32
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
33
- */os.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",g=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,I=8,T=16,V=32,E=64,H=128,D=256,O=512,z=30,Q="...",X=800,ce=16,Z=1,G=2,j=3,ae=1/0,fe=9007199254740991,ne=17976931348623157e292,se=0/0,Se=4294967295,ie=Se-1,Re=Se>>>1,ze=[["ary",H],["bind",C],["bindKey",y],["curry",I],["curryRight",T],["flip",O],["partial",V],["partialRight",E],["rearg",D]],Ce="[object Arguments]",Pe="[object Array]",Fe="[object AsyncFunction]",ct="[object Boolean]",qe="[object Date]",dt="[object DOMException]",Ft="[object Error]",de="[object Function]",xe="[object GeneratorFunction]",St="[object Map]",ln="[object Number]",Ln="[object Null]",an="[object Object]",Ht="[object Promise]",Te="[object Proxy]",rt="[object RegExp]",tt="[object Set]",Yt="[object String]",Qt="[object Symbol]",An="[object Undefined]",Lt="[object WeakMap]",gn="[object WeakSet]",xn="[object ArrayBuffer]",Gt="[object DataView]",Sn="[object Float32Array]",wi="[object Float64Array]",ki="[object Int8Array]",mn="[object Int16Array]",Si="[object Int32Array]",Ci="[object Uint8Array]",yi="[object Uint8ClampedArray]",Pi="[object Uint16Array]",Ii="[object Uint32Array]",pl=/\b__p \+= '';/g,ml=/\b(__p \+=) '' \+/g,bl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ni=/&(?:amp|lt|gt|quot|#39);/g,Gi=/[&<>"']/g,Ki=RegExp(Ni.source),oi=RegExp(Gi.source),vl=/<%-([\s\S]+?)%>/g,wl=/<%([\s\S]+?)%>/g,ji=/<%=([\s\S]+?)%>/g,kl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sl=/^\w*$/,Cl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ti=/[\\^$.*+?()[\]{}|]/g,yl=RegExp(Ti.source),ei=/^\s+/,Li=/\s/,ui=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ai=/\{\n\/\* \[wrapped with (.+)\] \*/,fi=/,? & /,K=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,be=/[()=,{}\[\]\/\s]/,Xe=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,Zt=/^\[object .+?Constructor\]$/,ci=/^0o[0-7]+$/i,Ji=/^(?:0|[1-9]\d*)$/,Pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,Il=/['\n\r\u2028\u2029\\]/g,Ei="\\ud800-\\udfff",ql="\\u0300-\\u036f",br="\\ufe20-\\ufe2f",Y="\\u20d0-\\u20ff",Rt=ql+br+Y,bn="\\u2700-\\u27bf",ti="a-z\\xdf-\\xf6\\xf8-\\xff",xr="\\xac\\xb1\\xd7\\xf7",Yi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rn="\\u2000-\\u206f",zl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",vr="A-Z\\xc0-\\xd6\\xd8-\\xde",ea="\\ufe0e\\ufe0f",Qi=xr+Yi+rn+zl,wr="['’]",ps="["+Ei+"]",ta="["+Qi+"]",Gl="["+Rt+"]",Kl="\\d+",ms="["+bn+"]",na="["+ti+"]",ia="[^"+Ei+Qi+Kl+bn+ti+vr+"]",jl="\\ud83c[\\udffb-\\udfff]",bs="(?:"+Gl+"|"+jl+")",kr="[^"+Ei+"]",Sr="(?:\\ud83c[\\udde6-\\uddff]){2}",Jl="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+vr+"]",la="\\u200d",ra="(?:"+na+"|"+ia+")",vs="(?:"+Zi+"|"+ia+")",aa="(?:"+wr+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+wr+"(?:D|LL|M|RE|S|T|VE))?",oa=bs+"?",ua="["+ea+"]?",ws="(?:"+la+"(?:"+[kr,Sr,Jl].join("|")+")"+ua+oa+")*",ks="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ss="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+ws,Cs="(?:"+[ms,Sr,Jl].join("|")+")"+fa,ys="(?:"+[kr+Gl+"?",Gl,Sr,Jl,ps].join("|")+")",Ps=RegExp(wr,"g"),Is=RegExp(Gl,"g"),Cr=RegExp(jl+"(?="+jl+")|"+ys+fa,"g"),Ns=RegExp([Zi+"?"+na+"+"+aa+"(?="+[ta,Zi,"$"].join("|")+")",vs+"+"+sa+"(?="+[ta,Zi+ra,"$"].join("|")+")",Zi+"?"+ra+"+"+aa,Zi+"+"+sa,Ss,ks,Kl,Cs].join("|"),"g"),B=RegExp("["+la+Ei+Rt+ea+"]"),ue=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ee=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ge=-1,Ie={};Ie[Sn]=Ie[wi]=Ie[ki]=Ie[mn]=Ie[Si]=Ie[Ci]=Ie[yi]=Ie[Pi]=Ie[Ii]=!0,Ie[Ce]=Ie[Pe]=Ie[xn]=Ie[ct]=Ie[Gt]=Ie[qe]=Ie[Ft]=Ie[de]=Ie[St]=Ie[ln]=Ie[an]=Ie[rt]=Ie[tt]=Ie[Yt]=Ie[Lt]=!1;var he={};he[Ce]=he[Pe]=he[xn]=he[Gt]=he[ct]=he[qe]=he[Sn]=he[wi]=he[ki]=he[mn]=he[Si]=he[St]=he[ln]=he[an]=he[rt]=he[tt]=he[Yt]=he[Qt]=he[Ci]=he[yi]=he[Pi]=he[Ii]=!0,he[Ft]=he[de]=he[Lt]=!1;var Ue={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},qt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},yr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xi=parseFloat,Pr=parseInt,Ri=typeof zr=="object"&&zr&&zr.Object===Object&&zr,Ir=typeof self=="object"&&self&&self.Object===Object&&self,Be=Ri||Ir||Function("return this")(),It=e&&!e.nodeType&&e,yt=It&&!0&&i&&!i.nodeType&&i,sn=yt&&yt.exports===It,Cn=sn&&Ri.process,Xt=function(){try{var $=yt&&yt.require&&yt.require("util").types;return $||Cn&&Cn.binding&&Cn.binding("util")}catch{}}(),$i=Xt&&Xt.isArrayBuffer,Yl=Xt&&Xt.isDate,Nl=Xt&&Xt.isMap,Ts=Xt&&Xt.isRegExp,Ql=Xt&&Xt.isSet,ca=Xt&&Xt.isTypedArray;function cn($,ge,oe){switch(oe.length){case 0:return $.call(ge);case 1:return $.call(ge,oe[0]);case 2:return $.call(ge,oe[0],oe[1]);case 3:return $.call(ge,oe[0],oe[1],oe[2])}return $.apply(ge,oe)}function Tl($,ge,oe,He){for(var et=-1,Pt=$==null?0:$.length;++et<Pt;){var on=$[et];ge(He,on,oe(on),$)}return He}function Ot($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He&&ge($[oe],oe,$)!==!1;);return $}function Kn($,ge){for(var oe=$==null?0:$.length;oe--&&ge($[oe],oe,$)!==!1;);return $}function da($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He;)if(!ge($[oe],oe,$))return!1;return!0}function xi($,ge){for(var oe=-1,He=$==null?0:$.length,et=0,Pt=[];++oe<He;){var on=$[oe];ge(on,oe,$)&&(Pt[et++]=on)}return Pt}function ha($,ge){var oe=$==null?0:$.length;return!!oe&&Zl($,ge,0)>-1}function Ls($,ge,oe){for(var He=-1,et=$==null?0:$.length;++He<et;)if(oe(ge,$[He]))return!0;return!1}function zt($,ge){for(var oe=-1,He=$==null?0:$.length,et=Array(He);++oe<He;)et[oe]=ge($[oe],oe,$);return et}function el($,ge){for(var oe=-1,He=ge.length,et=$.length;++oe<He;)$[et+oe]=ge[oe];return $}function As($,ge,oe,He){var et=-1,Pt=$==null?0:$.length;for(He&&Pt&&(oe=$[++et]);++et<Pt;)oe=ge(oe,$[et],et,$);return oe}function Cp($,ge,oe,He){var et=$==null?0:$.length;for(He&&et&&(oe=$[--et]);et--;)oe=ge(oe,$[et],et,$);return oe}function Es($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He;)if(ge($[oe],oe,$))return!0;return!1}var yp=Rs("length");function Pp($){return $.split("")}function Ip($){return $.match(K)||[]}function jo($,ge,oe){var He;return oe($,function(et,Pt,on){if(ge(et,Pt,on))return He=Pt,!1}),He}function ga($,ge,oe,He){for(var et=$.length,Pt=oe+(He?1:-1);He?Pt--:++Pt<et;)if(ge($[Pt],Pt,$))return Pt;return-1}function Zl($,ge,oe){return ge===ge?Up($,ge,oe):ga($,Jo,oe)}function Np($,ge,oe,He){for(var et=oe-1,Pt=$.length;++et<Pt;)if(He($[et],ge))return et;return-1}function Jo($){return $!==$}function Yo($,ge){var oe=$==null?0:$.length;return oe?Vs($,ge)/oe:se}function Rs($){return function(ge){return ge==null?t:ge[$]}}function Ds($){return function(ge){return $==null?t:$[ge]}}function Qo($,ge,oe,He,et){return et($,function(Pt,on,Mt){oe=He?(He=!1,Pt):ge(oe,Pt,on,Mt)}),oe}function Tp($,ge){var oe=$.length;for($.sort(ge);oe--;)$[oe]=$[oe].value;return $}function Vs($,ge){for(var oe,He=-1,et=$.length;++He<et;){var Pt=ge($[He]);Pt!==t&&(oe=oe===t?Pt:oe+Pt)}return oe}function Os($,ge){for(var oe=-1,He=Array($);++oe<$;)He[oe]=ge(oe);return He}function Lp($,ge){return zt(ge,function(oe){return[oe,$[oe]]})}function Zo($){return $&&$.slice(0,eu($)+1).replace(ei,"")}function Un($){return function(ge){return $(ge)}}function Ms($,ge){return zt(ge,function(oe){return $[oe]})}function Nr($,ge){return $.has(ge)}function Xo($,ge){for(var oe=-1,He=$.length;++oe<He&&Zl(ge,$[oe],0)>-1;);return oe}function $o($,ge){for(var oe=$.length;oe--&&Zl(ge,$[oe],0)>-1;);return oe}function Ap($,ge){for(var oe=$.length,He=0;oe--;)$[oe]===ge&&++He;return He}var Ep=Ds(Ue),Rp=Ds(Ct);function Dp($){return"\\"+yr[$]}function Vp($,ge){return $==null?t:$[ge]}function Xl($){return B.test($)}function Op($){return ue.test($)}function Mp($){for(var ge,oe=[];!(ge=$.next()).done;)oe.push(ge.value);return oe}function Fs($){var ge=-1,oe=Array($.size);return $.forEach(function(He,et){oe[++ge]=[et,He]}),oe}function xo($,ge){return function(oe){return $(ge(oe))}}function tl($,ge){for(var oe=-1,He=$.length,et=0,Pt=[];++oe<He;){var on=$[oe];(on===ge||on===d)&&($[oe]=d,Pt[et++]=oe)}return Pt}function _a($){var ge=-1,oe=Array($.size);return $.forEach(function(He){oe[++ge]=He}),oe}function Fp($){var ge=-1,oe=Array($.size);return $.forEach(function(He){oe[++ge]=[He,He]}),oe}function Up($,ge,oe){for(var He=oe-1,et=$.length;++He<et;)if($[He]===ge)return He;return-1}function Bp($,ge,oe){for(var He=oe+1;He--;)if($[He]===ge)return He;return He}function $l($){return Xl($)?Wp($):yp($)}function ni($){return Xl($)?qp($):Pp($)}function eu($){for(var ge=$.length;ge--&&Li.test($.charAt(ge)););return ge}var Hp=Ds(qt);function Wp($){for(var ge=Cr.lastIndex=0;Cr.test($);)++ge;return ge}function qp($){return $.match(Cr)||[]}function zp($){return $.match(Ns)||[]}var Gp=function $(ge){ge=ge==null?Be:xl.defaults(Be.Object(),ge,xl.pick(Be,Ee));var oe=ge.Array,He=ge.Date,et=ge.Error,Pt=ge.Function,on=ge.Math,Mt=ge.Object,Us=ge.RegExp,Kp=ge.String,jn=ge.TypeError,pa=oe.prototype,jp=Pt.prototype,er=Mt.prototype,ma=ge["__core-js_shared__"],ba=jp.toString,At=er.hasOwnProperty,Jp=0,tu=function(){var s=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),va=er.toString,Yp=ba.call(Mt),Qp=Be._,Zp=Us("^"+ba.call(At).replace(Ti,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wa=sn?ge.Buffer:t,nl=ge.Symbol,ka=ge.Uint8Array,nu=wa?wa.allocUnsafe:t,Sa=xo(Mt.getPrototypeOf,Mt),iu=Mt.create,lu=er.propertyIsEnumerable,Ca=pa.splice,ru=nl?nl.isConcatSpreadable:t,Tr=nl?nl.iterator:t,Ll=nl?nl.toStringTag:t,ya=function(){try{var s=Vl(Mt,"defineProperty");return s({},"",{}),s}catch{}}(),Xp=ge.clearTimeout!==Be.clearTimeout&&ge.clearTimeout,$p=He&&He.now!==Be.Date.now&&He.now,xp=ge.setTimeout!==Be.setTimeout&&ge.setTimeout,Pa=on.ceil,Ia=on.floor,Bs=Mt.getOwnPropertySymbols,em=wa?wa.isBuffer:t,au=ge.isFinite,tm=pa.join,nm=xo(Mt.keys,Mt),un=on.max,vn=on.min,im=He.now,lm=ge.parseInt,su=on.random,rm=pa.reverse,Hs=Vl(ge,"DataView"),Lr=Vl(ge,"Map"),Ws=Vl(ge,"Promise"),tr=Vl(ge,"Set"),Ar=Vl(ge,"WeakMap"),Er=Vl(Mt,"create"),Na=Ar&&new Ar,nr={},am=Ol(Hs),sm=Ol(Lr),om=Ol(Ws),um=Ol(tr),fm=Ol(Ar),Ta=nl?nl.prototype:t,Rr=Ta?Ta.valueOf:t,ou=Ta?Ta.toString:t;function M(s){if($t(s)&&!lt(s)&&!(s instanceof _t)){if(s instanceof Jn)return s;if(At.call(s,"__wrapped__"))return ff(s)}return new Jn(s)}var ir=function(){function s(){}return function(u){if(!Kt(u))return{};if(iu)return iu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function La(){}function Jn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:vl,evaluate:wl,interpolate:ji,variable:"",imports:{_:M}},M.prototype=La.prototype,M.prototype.constructor=M,Jn.prototype=ir(La.prototype),Jn.prototype.constructor=Jn;function _t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function cm(){var s=new _t(this.__wrapped__);return s.__actions__=En(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=En(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=En(this.__views__),s}function dm(){if(this.__filtered__){var s=new _t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function hm(){var s=this.__wrapped__.value(),u=this.__dir__,_=lt(s),k=u<0,N=_?s.length:0,F=P1(0,N,this.__views__),q=F.start,J=F.end,x=J-q,_e=k?J:q-1,pe=this.__iteratees__,ye=pe.length,De=0,Ke=vn(x,this.__takeCount__);if(!_||!k&&N==x&&Ke==x)return Ru(s,this.__actions__);var Qe=[];e:for(;x--&&De<Ke;){_e+=u;for(var ot=-1,Ze=s[_e];++ot<ye;){var gt=pe[ot],pt=gt.iteratee,Wn=gt.type,In=pt(Ze);if(Wn==G)Ze=In;else if(!In){if(Wn==Z)continue e;break e}}Qe[De++]=Ze}return Qe}_t.prototype=ir(La.prototype),_t.prototype.constructor=_t;function Al(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function gm(){this.__data__=Er?Er(null):{},this.size=0}function _m(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function pm(s){var u=this.__data__;if(Er){var _=u[s];return _===c?t:_}return At.call(u,s)?u[s]:t}function mm(s){var u=this.__data__;return Er?u[s]!==t:At.call(u,s)}function bm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Er&&u===t?c:u,this}Al.prototype.clear=gm,Al.prototype.delete=_m,Al.prototype.get=pm,Al.prototype.has=mm,Al.prototype.set=bm;function Di(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function vm(){this.__data__=[],this.size=0}function wm(s){var u=this.__data__,_=Aa(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Ca.call(u,_,1),--this.size,!0}function km(s){var u=this.__data__,_=Aa(u,s);return _<0?t:u[_][1]}function Sm(s){return Aa(this.__data__,s)>-1}function Cm(s,u){var _=this.__data__,k=Aa(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Di.prototype.clear=vm,Di.prototype.delete=wm,Di.prototype.get=km,Di.prototype.has=Sm,Di.prototype.set=Cm;function Vi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function ym(){this.size=0,this.__data__={hash:new Al,map:new(Lr||Di),string:new Al}}function Pm(s){var u=qa(this,s).delete(s);return this.size-=u?1:0,u}function Im(s){return qa(this,s).get(s)}function Nm(s){return qa(this,s).has(s)}function Tm(s,u){var _=qa(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Vi.prototype.clear=ym,Vi.prototype.delete=Pm,Vi.prototype.get=Im,Vi.prototype.has=Nm,Vi.prototype.set=Tm;function El(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Vi;++u<_;)this.add(s[u])}function Lm(s){return this.__data__.set(s,c),this}function Am(s){return this.__data__.has(s)}El.prototype.add=El.prototype.push=Lm,El.prototype.has=Am;function ii(s){var u=this.__data__=new Di(s);this.size=u.size}function Em(){this.__data__=new Di,this.size=0}function Rm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Dm(s){return this.__data__.get(s)}function Vm(s){return this.__data__.has(s)}function Om(s,u){var _=this.__data__;if(_ instanceof Di){var k=_.__data__;if(!Lr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Vi(k)}return _.set(s,u),this.size=_.size,this}ii.prototype.clear=Em,ii.prototype.delete=Rm,ii.prototype.get=Dm,ii.prototype.has=Vm,ii.prototype.set=Om;function uu(s,u){var _=lt(s),k=!_&&Ml(s),N=!_&&!k&&sl(s),F=!_&&!k&&!N&&sr(s),q=_||k||N||F,J=q?Os(s.length,Kp):[],x=J.length;for(var _e in s)(u||At.call(s,_e))&&!(q&&(_e=="length"||N&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Ui(_e,x)))&&J.push(_e);return J}function fu(s){var u=s.length;return u?s[$s(0,u-1)]:t}function Mm(s,u){return za(En(s),Rl(u,0,s.length))}function Fm(s){return za(En(s))}function qs(s,u,_){(_!==t&&!li(s[u],_)||_===t&&!(u in s))&&Oi(s,u,_)}function Dr(s,u,_){var k=s[u];(!(At.call(s,u)&&li(k,_))||_===t&&!(u in s))&&Oi(s,u,_)}function Aa(s,u){for(var _=s.length;_--;)if(li(s[_][0],u))return _;return-1}function Um(s,u,_,k){return il(s,function(N,F,q){u(k,N,_(N),q)}),k}function cu(s,u){return s&&gi(u,dn(u),s)}function Bm(s,u){return s&&gi(u,Dn(u),s)}function Oi(s,u,_){u=="__proto__"&&ya?ya(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function zs(s,u){for(var _=-1,k=u.length,N=oe(k),F=s==null;++_<k;)N[_]=F?t:yo(s,u[_]);return N}function Rl(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Yn(s,u,_,k,N,F){var q,J=u&g,x=u&p,_e=u&b;if(_&&(q=N?_(s,k,N,F):_(s)),q!==t)return q;if(!Kt(s))return s;var pe=lt(s);if(pe){if(q=N1(s),!J)return En(s,q)}else{var ye=wn(s),De=ye==de||ye==xe;if(sl(s))return Ou(s,J);if(ye==an||ye==Ce||De&&!N){if(q=x||De?{}:ef(s),!J)return x?p1(s,Bm(q,s)):_1(s,cu(q,s))}else{if(!he[ye])return N?s:{};q=T1(s,ye,J)}}F||(F=new ii);var Ke=F.get(s);if(Ke)return Ke;F.set(s,q),Af(s)?s.forEach(function(Ze){q.add(Yn(Ze,u,_,Ze,s,F))}):Tf(s)&&s.forEach(function(Ze,gt){q.set(gt,Yn(Ze,u,_,gt,s,F))});var Qe=_e?x?uo:oo:x?Dn:dn,ot=pe?t:Qe(s);return Ot(ot||s,function(Ze,gt){ot&&(gt=Ze,Ze=s[gt]),Dr(q,gt,Yn(Ze,u,_,gt,s,F))}),q}function Hm(s){var u=dn(s);return function(_){return du(_,s,u)}}function du(s,u,_){var k=_.length;if(s==null)return!k;for(s=Mt(s);k--;){var N=_[k],F=u[N],q=s[N];if(q===t&&!(N in s)||!F(q))return!1}return!0}function hu(s,u,_){if(typeof s!="function")throw new jn(a);return Hr(function(){s.apply(t,_)},u)}function Vr(s,u,_,k){var N=-1,F=ha,q=!0,J=s.length,x=[],_e=u.length;if(!J)return x;_&&(u=zt(u,Un(_))),k?(F=Ls,q=!1):u.length>=l&&(F=Nr,q=!1,u=new El(u));e:for(;++N<J;){var pe=s[N],ye=_==null?pe:_(pe);if(pe=k||pe!==0?pe:0,q&&ye===ye){for(var De=_e;De--;)if(u[De]===ye)continue e;x.push(pe)}else F(u,ye,k)||x.push(pe)}return x}var il=Hu(hi),gu=Hu(Ks,!0);function Wm(s,u){var _=!0;return il(s,function(k,N,F){return _=!!u(k,N,F),_}),_}function Ea(s,u,_){for(var k=-1,N=s.length;++k<N;){var F=s[k],q=u(F);if(q!=null&&(J===t?q===q&&!Hn(q):_(q,J)))var J=q,x=F}return x}function qm(s,u,_,k){var N=s.length;for(_=st(_),_<0&&(_=-_>N?0:N+_),k=k===t||k>N?N:st(k),k<0&&(k+=N),k=_>k?0:Rf(k);_<k;)s[_++]=u;return s}function _u(s,u){var _=[];return il(s,function(k,N,F){u(k,N,F)&&_.push(k)}),_}function _n(s,u,_,k,N){var F=-1,q=s.length;for(_||(_=A1),N||(N=[]);++F<q;){var J=s[F];u>0&&_(J)?u>1?_n(J,u-1,_,k,N):el(N,J):k||(N[N.length]=J)}return N}var Gs=Wu(),pu=Wu(!0);function hi(s,u){return s&&Gs(s,u,dn)}function Ks(s,u){return s&&pu(s,u,dn)}function Ra(s,u){return xi(u,function(_){return Bi(s[_])})}function Dl(s,u){u=rl(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[_i(u[_++])];return _&&_==k?s:t}function mu(s,u,_){var k=u(s);return lt(s)?k:el(k,_(s))}function yn(s){return s==null?s===t?An:Ln:Ll&&Ll in Mt(s)?y1(s):F1(s)}function js(s,u){return s>u}function zm(s,u){return s!=null&&At.call(s,u)}function Gm(s,u){return s!=null&&u in Mt(s)}function Km(s,u,_){return s>=vn(u,_)&&s<un(u,_)}function Js(s,u,_){for(var k=_?Ls:ha,N=s[0].length,F=s.length,q=F,J=oe(F),x=1/0,_e=[];q--;){var pe=s[q];q&&u&&(pe=zt(pe,Un(u))),x=vn(pe.length,x),J[q]=!_&&(u||N>=120&&pe.length>=120)?new El(q&&pe):t}pe=s[0];var ye=-1,De=J[0];e:for(;++ye<N&&_e.length<x;){var Ke=pe[ye],Qe=u?u(Ke):Ke;if(Ke=_||Ke!==0?Ke:0,!(De?Nr(De,Qe):k(_e,Qe,_))){for(q=F;--q;){var ot=J[q];if(!(ot?Nr(ot,Qe):k(s[q],Qe,_)))continue e}De&&De.push(Qe),_e.push(Ke)}}return _e}function jm(s,u,_,k){return hi(s,function(N,F,q){u(k,_(N),F,q)}),k}function Or(s,u,_){u=rl(u,s),s=rf(s,u);var k=s==null?s:s[_i(Zn(u))];return k==null?t:cn(k,s,_)}function bu(s){return $t(s)&&yn(s)==Ce}function Jm(s){return $t(s)&&yn(s)==xn}function Ym(s){return $t(s)&&yn(s)==qe}function Mr(s,u,_,k,N){return s===u?!0:s==null||u==null||!$t(s)&&!$t(u)?s!==s&&u!==u:Qm(s,u,_,k,Mr,N)}function Qm(s,u,_,k,N,F){var q=lt(s),J=lt(u),x=q?Pe:wn(s),_e=J?Pe:wn(u);x=x==Ce?an:x,_e=_e==Ce?an:_e;var pe=x==an,ye=_e==an,De=x==_e;if(De&&sl(s)){if(!sl(u))return!1;q=!0,pe=!1}if(De&&!pe)return F||(F=new ii),q||sr(s)?Xu(s,u,_,k,N,F):S1(s,u,x,_,k,N,F);if(!(_&m)){var Ke=pe&&At.call(s,"__wrapped__"),Qe=ye&&At.call(u,"__wrapped__");if(Ke||Qe){var ot=Ke?s.value():s,Ze=Qe?u.value():u;return F||(F=new ii),N(ot,Ze,_,k,F)}}return De?(F||(F=new ii),C1(s,u,_,k,N,F)):!1}function Zm(s){return $t(s)&&wn(s)==St}function Ys(s,u,_,k){var N=_.length,F=N,q=!k;if(s==null)return!F;for(s=Mt(s);N--;){var J=_[N];if(q&&J[2]?J[1]!==s[J[0]]:!(J[0]in s))return!1}for(;++N<F;){J=_[N];var x=J[0],_e=s[x],pe=J[1];if(q&&J[2]){if(_e===t&&!(x in s))return!1}else{var ye=new ii;if(k)var De=k(_e,pe,x,s,u,ye);if(!(De===t?Mr(pe,_e,m|v,k,ye):De))return!1}}return!0}function vu(s){if(!Kt(s)||R1(s))return!1;var u=Bi(s)?Zp:Zt;return u.test(Ol(s))}function Xm(s){return $t(s)&&yn(s)==rt}function $m(s){return $t(s)&&wn(s)==tt}function xm(s){return $t(s)&&Qa(s.length)&&!!Ie[yn(s)]}function wu(s){return typeof s=="function"?s:s==null?Vn:typeof s=="object"?lt(s)?Cu(s[0],s[1]):Su(s):zf(s)}function Qs(s){if(!Br(s))return nm(s);var u=[];for(var _ in Mt(s))At.call(s,_)&&_!="constructor"&&u.push(_);return u}function e1(s){if(!Kt(s))return M1(s);var u=Br(s),_=[];for(var k in s)k=="constructor"&&(u||!At.call(s,k))||_.push(k);return _}function Zs(s,u){return s<u}function ku(s,u){var _=-1,k=Rn(s)?oe(s.length):[];return il(s,function(N,F,q){k[++_]=u(N,F,q)}),k}function Su(s){var u=co(s);return u.length==1&&u[0][2]?nf(u[0][0],u[0][1]):function(_){return _===s||Ys(_,s,u)}}function Cu(s,u){return go(s)&&tf(u)?nf(_i(s),u):function(_){var k=yo(_,s);return k===t&&k===u?Po(_,s):Mr(u,k,m|v)}}function Da(s,u,_,k,N){s!==u&&Gs(u,function(F,q){if(N||(N=new ii),Kt(F))t1(s,u,q,_,Da,k,N);else{var J=k?k(po(s,q),F,q+"",s,u,N):t;J===t&&(J=F),qs(s,q,J)}},Dn)}function t1(s,u,_,k,N,F,q){var J=po(s,_),x=po(u,_),_e=q.get(x);if(_e){qs(s,_,_e);return}var pe=F?F(J,x,_+"",s,u,q):t,ye=pe===t;if(ye){var De=lt(x),Ke=!De&&sl(x),Qe=!De&&!Ke&&sr(x);pe=x,De||Ke||Qe?lt(J)?pe=J:xt(J)?pe=En(J):Ke?(ye=!1,pe=Ou(x,!0)):Qe?(ye=!1,pe=Mu(x,!0)):pe=[]:Wr(x)||Ml(x)?(pe=J,Ml(J)?pe=Df(J):(!Kt(J)||Bi(J))&&(pe=ef(x))):ye=!1}ye&&(q.set(x,pe),N(pe,x,k,F,q),q.delete(x)),qs(s,_,pe)}function yu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Ui(u,_)?s[u]:t}function Pu(s,u,_){u.length?u=zt(u,function(F){return lt(F)?function(q){return Dl(q,F.length===1?F[0]:F)}:F}):u=[Vn];var k=-1;u=zt(u,Un(Ye()));var N=ku(s,function(F,q,J){var x=zt(u,function(_e){return _e(F)});return{criteria:x,index:++k,value:F}});return Tp(N,function(F,q){return g1(F,q,_)})}function n1(s,u){return Iu(s,u,function(_,k){return Po(s,k)})}function Iu(s,u,_){for(var k=-1,N=u.length,F={};++k<N;){var q=u[k],J=Dl(s,q);_(J,q)&&Fr(F,rl(q,s),J)}return F}function i1(s){return function(u){return Dl(u,s)}}function Xs(s,u,_,k){var N=k?Np:Zl,F=-1,q=u.length,J=s;for(s===u&&(u=En(u)),_&&(J=zt(s,Un(_)));++F<q;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=N(J,pe,x,k))>-1;)J!==s&&Ca.call(J,x,1),Ca.call(s,x,1);return s}function Nu(s,u){for(var _=s?u.length:0,k=_-1;_--;){var N=u[_];if(_==k||N!==F){var F=N;Ui(N)?Ca.call(s,N,1):to(s,N)}}return s}function $s(s,u){return s+Ia(su()*(u-s+1))}function l1(s,u,_,k){for(var N=-1,F=un(Pa((u-s)/(_||1)),0),q=oe(F);F--;)q[k?F:++N]=s,s+=_;return q}function xs(s,u){var _="";if(!s||u<1||u>fe)return _;do u%2&&(_+=s),u=Ia(u/2),u&&(s+=s);while(u);return _}function ut(s,u){return mo(lf(s,u,Vn),s+"")}function r1(s){return fu(or(s))}function a1(s,u){var _=or(s);return za(_,Rl(u,0,_.length))}function Fr(s,u,_,k){if(!Kt(s))return s;u=rl(u,s);for(var N=-1,F=u.length,q=F-1,J=s;J!=null&&++N<F;){var x=_i(u[N]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(N!=q){var pe=J[x];_e=k?k(pe,x,J):t,_e===t&&(_e=Kt(pe)?pe:Ui(u[N+1])?[]:{})}Dr(J,x,_e),J=J[x]}return s}var Tu=Na?function(s,u){return Na.set(s,u),s}:Vn,s1=ya?function(s,u){return ya(s,"toString",{configurable:!0,enumerable:!1,value:No(u),writable:!0})}:Vn;function o1(s){return za(or(s))}function Qn(s,u,_){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),_=_>N?N:_,_<0&&(_+=N),N=u>_?0:_-u>>>0,u>>>=0;for(var F=oe(N);++k<N;)F[k]=s[k+u];return F}function u1(s,u){var _;return il(s,function(k,N,F){return _=u(k,N,F),!_}),!!_}function Va(s,u,_){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Re){for(;k<N;){var F=k+N>>>1,q=s[F];q!==null&&!Hn(q)&&(_?q<=u:q<u)?k=F+1:N=F}return N}return eo(s,u,Vn,_)}function eo(s,u,_,k){var N=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,J=u===null,x=Hn(u),_e=u===t;N<F;){var pe=Ia((N+F)/2),ye=_(s[pe]),De=ye!==t,Ke=ye===null,Qe=ye===ye,ot=Hn(ye);if(q)var Ze=k||Qe;else _e?Ze=Qe&&(k||De):J?Ze=Qe&&De&&(k||!Ke):x?Ze=Qe&&De&&!Ke&&(k||!ot):Ke||ot?Ze=!1:Ze=k?ye<=u:ye<u;Ze?N=pe+1:F=pe}return vn(F,ie)}function Lu(s,u){for(var _=-1,k=s.length,N=0,F=[];++_<k;){var q=s[_],J=u?u(q):q;if(!_||!li(J,x)){var x=J;F[N++]=q===0?0:q}}return F}function Au(s){return typeof s=="number"?s:Hn(s)?se:+s}function Bn(s){if(typeof s=="string")return s;if(lt(s))return zt(s,Bn)+"";if(Hn(s))return ou?ou.call(s):"";var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function ll(s,u,_){var k=-1,N=ha,F=s.length,q=!0,J=[],x=J;if(_)q=!1,N=Ls;else if(F>=l){var _e=u?null:w1(s);if(_e)return _a(_e);q=!1,N=Nr,x=new El}else x=u?[]:J;e:for(;++k<F;){var pe=s[k],ye=u?u(pe):pe;if(pe=_||pe!==0?pe:0,q&&ye===ye){for(var De=x.length;De--;)if(x[De]===ye)continue e;u&&x.push(ye),J.push(pe)}else N(x,ye,_)||(x!==J&&x.push(ye),J.push(pe))}return J}function to(s,u){return u=rl(u,s),s=rf(s,u),s==null||delete s[_i(Zn(u))]}function Eu(s,u,_,k){return Fr(s,u,_(Dl(s,u)),k)}function Oa(s,u,_,k){for(var N=s.length,F=k?N:-1;(k?F--:++F<N)&&u(s[F],F,s););return _?Qn(s,k?0:F,k?F+1:N):Qn(s,k?F+1:0,k?N:F)}function Ru(s,u){var _=s;return _ instanceof _t&&(_=_.value()),As(u,function(k,N){return N.func.apply(N.thisArg,el([k],N.args))},_)}function no(s,u,_){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var N=-1,F=oe(k);++N<k;)for(var q=s[N],J=-1;++J<k;)J!=N&&(F[N]=Vr(F[N]||q,s[J],u,_));return ll(_n(F,1),u,_)}function Du(s,u,_){for(var k=-1,N=s.length,F=u.length,q={};++k<N;){var J=k<F?u[k]:t;_(q,s[k],J)}return q}function io(s){return xt(s)?s:[]}function lo(s){return typeof s=="function"?s:Vn}function rl(s,u){return lt(s)?s:go(s,u)?[s]:uf(Nt(s))}var f1=ut;function al(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Qn(s,u,_)}var Vu=Xp||function(s){return Be.clearTimeout(s)};function Ou(s,u){if(u)return s.slice();var _=s.length,k=nu?nu(_):new s.constructor(_);return s.copy(k),k}function ro(s){var u=new s.constructor(s.byteLength);return new ka(u).set(new ka(s)),u}function c1(s,u){var _=u?ro(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function d1(s){var u=new s.constructor(s.source,it.exec(s));return u.lastIndex=s.lastIndex,u}function h1(s){return Rr?Mt(Rr.call(s)):{}}function Mu(s,u){var _=u?ro(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Fu(s,u){if(s!==u){var _=s!==t,k=s===null,N=s===s,F=Hn(s),q=u!==t,J=u===null,x=u===u,_e=Hn(u);if(!J&&!_e&&!F&&s>u||F&&q&&x&&!J&&!_e||k&&q&&x||!_&&x||!N)return 1;if(!k&&!F&&!_e&&s<u||_e&&_&&N&&!k&&!F||J&&_&&N||!q&&N||!x)return-1}return 0}function g1(s,u,_){for(var k=-1,N=s.criteria,F=u.criteria,q=N.length,J=_.length;++k<q;){var x=Fu(N[k],F[k]);if(x){if(k>=J)return x;var _e=_[k];return x*(_e=="desc"?-1:1)}}return s.index-u.index}function Uu(s,u,_,k){for(var N=-1,F=s.length,q=_.length,J=-1,x=u.length,_e=un(F-q,0),pe=oe(x+_e),ye=!k;++J<x;)pe[J]=u[J];for(;++N<q;)(ye||N<F)&&(pe[_[N]]=s[N]);for(;_e--;)pe[J++]=s[N++];return pe}function Bu(s,u,_,k){for(var N=-1,F=s.length,q=-1,J=_.length,x=-1,_e=u.length,pe=un(F-J,0),ye=oe(pe+_e),De=!k;++N<pe;)ye[N]=s[N];for(var Ke=N;++x<_e;)ye[Ke+x]=u[x];for(;++q<J;)(De||N<F)&&(ye[Ke+_[q]]=s[N++]);return ye}function En(s,u){var _=-1,k=s.length;for(u||(u=oe(k));++_<k;)u[_]=s[_];return u}function gi(s,u,_,k){var N=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var J=u[F],x=k?k(_[J],s[J],J,_,s):t;x===t&&(x=s[J]),N?Oi(_,J,x):Dr(_,J,x)}return _}function _1(s,u){return gi(s,ho(s),u)}function p1(s,u){return gi(s,$u(s),u)}function Ma(s,u){return function(_,k){var N=lt(_)?Tl:Um,F=u?u():{};return N(_,s,Ye(k,2),F)}}function lr(s){return ut(function(u,_){var k=-1,N=_.length,F=N>1?_[N-1]:t,q=N>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(N--,F):t,q&&Pn(_[0],_[1],q)&&(F=N<3?t:F,N=1),u=Mt(u);++k<N;){var J=_[k];J&&s(u,J,k,F)}return u})}function Hu(s,u){return function(_,k){if(_==null)return _;if(!Rn(_))return s(_,k);for(var N=_.length,F=u?N:-1,q=Mt(_);(u?F--:++F<N)&&k(q[F],F,q)!==!1;);return _}}function Wu(s){return function(u,_,k){for(var N=-1,F=Mt(u),q=k(u),J=q.length;J--;){var x=q[s?J:++N];if(_(F[x],x,F)===!1)break}return u}}function m1(s,u,_){var k=u&C,N=Ur(s);function F(){var q=this&&this!==Be&&this instanceof F?N:s;return q.apply(k?_:this,arguments)}return F}function qu(s){return function(u){u=Nt(u);var _=Xl(u)?ni(u):t,k=_?_[0]:u.charAt(0),N=_?al(_,1).join(""):u.slice(1);return k[s]()+N}}function rr(s){return function(u){return As(Wf(Hf(u).replace(Ps,"")),s,"")}}function Ur(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var _=ir(s.prototype),k=s.apply(_,u);return Kt(k)?k:_}}function b1(s,u,_){var k=Ur(s);function N(){for(var F=arguments.length,q=oe(F),J=F,x=ar(N);J--;)q[J]=arguments[J];var _e=F<3&&q[0]!==x&&q[F-1]!==x?[]:tl(q,x);if(F-=_e.length,F<_)return Ju(s,u,Fa,N.placeholder,t,q,_e,t,t,_-F);var pe=this&&this!==Be&&this instanceof N?k:s;return cn(pe,this,q)}return N}function zu(s){return function(u,_,k){var N=Mt(u);if(!Rn(u)){var F=Ye(_,3);u=dn(u),_=function(J){return F(N[J],J,N)}}var q=s(u,_,k);return q>-1?N[F?u[q]:q]:t}}function Gu(s){return Fi(function(u){var _=u.length,k=_,N=Jn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new jn(a);if(N&&!q&&Wa(F)=="wrapper")var q=new Jn([],!0)}for(k=q?k:_;++k<_;){F=u[k];var J=Wa(F),x=J=="wrapper"?fo(F):t;x&&_o(x[0])&&x[1]==(H|I|V|D)&&!x[4].length&&x[9]==1?q=q[Wa(x[0])].apply(q,x[3]):q=F.length==1&&_o(F)?q[J]():q.thru(F)}return function(){var _e=arguments,pe=_e[0];if(q&&_e.length==1&&lt(pe))return q.plant(pe).value();for(var ye=0,De=_?u[ye].apply(this,_e):pe;++ye<_;)De=u[ye].call(this,De);return De}})}function Fa(s,u,_,k,N,F,q,J,x,_e){var pe=u&H,ye=u&C,De=u&y,Ke=u&(I|T),Qe=u&O,ot=De?t:Ur(s);function Ze(){for(var gt=arguments.length,pt=oe(gt),Wn=gt;Wn--;)pt[Wn]=arguments[Wn];if(Ke)var In=ar(Ze),qn=Ap(pt,In);if(k&&(pt=Uu(pt,k,N,Ke)),F&&(pt=Bu(pt,F,q,Ke)),gt-=qn,Ke&&gt<_e){var en=tl(pt,In);return Ju(s,u,Fa,Ze.placeholder,_,pt,en,J,x,_e-gt)}var ri=ye?_:this,Wi=De?ri[s]:s;return gt=pt.length,J?pt=U1(pt,J):Qe&&gt>1&&pt.reverse(),pe&&x<gt&&(pt.length=x),this&&this!==Be&&this instanceof Ze&&(Wi=ot||Ur(Wi)),Wi.apply(ri,pt)}return Ze}function Ku(s,u){return function(_,k){return jm(_,s,u(k),{})}}function Ua(s,u){return function(_,k){var N;if(_===t&&k===t)return u;if(_!==t&&(N=_),k!==t){if(N===t)return k;typeof _=="string"||typeof k=="string"?(_=Bn(_),k=Bn(k)):(_=Au(_),k=Au(k)),N=s(_,k)}return N}}function ao(s){return Fi(function(u){return u=zt(u,Un(Ye())),ut(function(_){var k=this;return s(u,function(N){return cn(N,k,_)})})})}function Ba(s,u){u=u===t?" ":Bn(u);var _=u.length;if(_<2)return _?xs(u,s):u;var k=xs(u,Pa(s/$l(u)));return Xl(u)?al(ni(k),0,s).join(""):k.slice(0,s)}function v1(s,u,_,k){var N=u&C,F=Ur(s);function q(){for(var J=-1,x=arguments.length,_e=-1,pe=k.length,ye=oe(pe+x),De=this&&this!==Be&&this instanceof q?F:s;++_e<pe;)ye[_e]=k[_e];for(;x--;)ye[_e++]=arguments[++J];return cn(De,N?_:this,ye)}return q}function ju(s){return function(u,_,k){return k&&typeof k!="number"&&Pn(u,_,k)&&(_=k=t),u=Hi(u),_===t?(_=u,u=0):_=Hi(_),k=k===t?u<_?1:-1:Hi(k),l1(u,_,k,s)}}function Ha(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=Xn(u),_=Xn(_)),s(u,_)}}function Ju(s,u,_,k,N,F,q,J,x,_e){var pe=u&I,ye=pe?q:t,De=pe?t:q,Ke=pe?F:t,Qe=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=~(C|y));var ot=[s,u,N,Ke,ye,Qe,De,J,x,_e],Ze=_.apply(t,ot);return _o(s)&&af(Ze,ot),Ze.placeholder=k,sf(Ze,s,u)}function so(s){var u=on[s];return function(_,k){if(_=Xn(_),k=k==null?0:vn(st(k),292),k&&au(_)){var N=(Nt(_)+"e").split("e"),F=u(N[0]+"e"+(+N[1]+k));return N=(Nt(F)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(_)}}var w1=tr&&1/_a(new tr([,-0]))[1]==ae?function(s){return new tr(s)}:Ao;function Yu(s){return function(u){var _=wn(u);return _==St?Fs(u):_==tt?Fp(u):Lp(u,s(u))}}function Mi(s,u,_,k,N,F,q,J){var x=u&y;if(!x&&typeof s!="function")throw new jn(a);var _e=k?k.length:0;if(_e||(u&=~(V|E),k=N=t),q=q===t?q:un(st(q),0),J=J===t?J:st(J),_e-=N?N.length:0,u&E){var pe=k,ye=N;k=N=t}var De=x?t:fo(s),Ke=[s,u,_,k,N,pe,ye,F,q,J];if(De&&O1(Ke,De),s=Ke[0],u=Ke[1],_=Ke[2],k=Ke[3],N=Ke[4],J=Ke[9]=Ke[9]===t?x?0:s.length:un(Ke[9]-_e,0),!J&&u&(I|T)&&(u&=~(I|T)),!u||u==C)var Qe=m1(s,u,_);else u==I||u==T?Qe=b1(s,u,J):(u==V||u==(C|V))&&!N.length?Qe=v1(s,u,_,k):Qe=Fa.apply(t,Ke);var ot=De?Tu:af;return sf(ot(Qe,Ke),s,u)}function Qu(s,u,_,k){return s===t||li(s,er[_])&&!At.call(k,_)?u:s}function Zu(s,u,_,k,N,F){return Kt(s)&&Kt(u)&&(F.set(u,s),Da(s,u,t,Zu,F),F.delete(u)),s}function k1(s){return Wr(s)?t:s}function Xu(s,u,_,k,N,F){var q=_&m,J=s.length,x=u.length;if(J!=x&&!(q&&x>J))return!1;var _e=F.get(s),pe=F.get(u);if(_e&&pe)return _e==u&&pe==s;var ye=-1,De=!0,Ke=_&v?new El:t;for(F.set(s,u),F.set(u,s);++ye<J;){var Qe=s[ye],ot=u[ye];if(k)var Ze=q?k(ot,Qe,ye,u,s,F):k(Qe,ot,ye,s,u,F);if(Ze!==t){if(Ze)continue;De=!1;break}if(Ke){if(!Es(u,function(gt,pt){if(!Nr(Ke,pt)&&(Qe===gt||N(Qe,gt,_,k,F)))return Ke.push(pt)})){De=!1;break}}else if(!(Qe===ot||N(Qe,ot,_,k,F))){De=!1;break}}return F.delete(s),F.delete(u),De}function S1(s,u,_,k,N,F,q){switch(_){case Gt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case xn:return!(s.byteLength!=u.byteLength||!F(new ka(s),new ka(u)));case ct:case qe:case ln:return li(+s,+u);case Ft:return s.name==u.name&&s.message==u.message;case rt:case Yt:return s==u+"";case St:var J=Fs;case tt:var x=k&m;if(J||(J=_a),s.size!=u.size&&!x)return!1;var _e=q.get(s);if(_e)return _e==u;k|=v,q.set(s,u);var pe=Xu(J(s),J(u),k,N,F,q);return q.delete(s),pe;case Qt:if(Rr)return Rr.call(s)==Rr.call(u)}return!1}function C1(s,u,_,k,N,F){var q=_&m,J=oo(s),x=J.length,_e=oo(u),pe=_e.length;if(x!=pe&&!q)return!1;for(var ye=x;ye--;){var De=J[ye];if(!(q?De in u:At.call(u,De)))return!1}var Ke=F.get(s),Qe=F.get(u);if(Ke&&Qe)return Ke==u&&Qe==s;var ot=!0;F.set(s,u),F.set(u,s);for(var Ze=q;++ye<x;){De=J[ye];var gt=s[De],pt=u[De];if(k)var Wn=q?k(pt,gt,De,u,s,F):k(gt,pt,De,s,u,F);if(!(Wn===t?gt===pt||N(gt,pt,_,k,F):Wn)){ot=!1;break}Ze||(Ze=De=="constructor")}if(ot&&!Ze){var In=s.constructor,qn=u.constructor;In!=qn&&"constructor"in s&&"constructor"in u&&!(typeof In=="function"&&In instanceof In&&typeof qn=="function"&&qn instanceof qn)&&(ot=!1)}return F.delete(s),F.delete(u),ot}function Fi(s){return mo(lf(s,t,hf),s+"")}function oo(s){return mu(s,dn,ho)}function uo(s){return mu(s,Dn,$u)}var fo=Na?function(s){return Na.get(s)}:Ao;function Wa(s){for(var u=s.name+"",_=nr[u],k=At.call(nr,u)?_.length:0;k--;){var N=_[k],F=N.func;if(F==null||F==s)return N.name}return u}function ar(s){var u=At.call(M,"placeholder")?M:s;return u.placeholder}function Ye(){var s=M.iteratee||To;return s=s===To?wu:s,arguments.length?s(arguments[0],arguments[1]):s}function qa(s,u){var _=s.__data__;return E1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function co(s){for(var u=dn(s),_=u.length;_--;){var k=u[_],N=s[k];u[_]=[k,N,tf(N)]}return u}function Vl(s,u){var _=Vp(s,u);return vu(_)?_:t}function y1(s){var u=At.call(s,Ll),_=s[Ll];try{s[Ll]=t;var k=!0}catch{}var N=va.call(s);return k&&(u?s[Ll]=_:delete s[Ll]),N}var ho=Bs?function(s){return s==null?[]:(s=Mt(s),xi(Bs(s),function(u){return lu.call(s,u)}))}:Eo,$u=Bs?function(s){for(var u=[];s;)el(u,ho(s)),s=Sa(s);return u}:Eo,wn=yn;(Hs&&wn(new Hs(new ArrayBuffer(1)))!=Gt||Lr&&wn(new Lr)!=St||Ws&&wn(Ws.resolve())!=Ht||tr&&wn(new tr)!=tt||Ar&&wn(new Ar)!=Lt)&&(wn=function(s){var u=yn(s),_=u==an?s.constructor:t,k=_?Ol(_):"";if(k)switch(k){case am:return Gt;case sm:return St;case om:return Ht;case um:return tt;case fm:return Lt}return u});function P1(s,u,_){for(var k=-1,N=_.length;++k<N;){var F=_[k],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=vn(u,s+q);break;case"takeRight":s=un(s,u-q);break}}return{start:s,end:u}}function I1(s){var u=s.match(Ai);return u?u[1].split(fi):[]}function xu(s,u,_){u=rl(u,s);for(var k=-1,N=u.length,F=!1;++k<N;){var q=_i(u[k]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++k!=N?F:(N=s==null?0:s.length,!!N&&Qa(N)&&Ui(q,N)&&(lt(s)||Ml(s)))}function N1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&At.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function ef(s){return typeof s.constructor=="function"&&!Br(s)?ir(Sa(s)):{}}function T1(s,u,_){var k=s.constructor;switch(u){case xn:return ro(s);case ct:case qe:return new k(+s);case Gt:return c1(s,_);case Sn:case wi:case ki:case mn:case Si:case Ci:case yi:case Pi:case Ii:return Mu(s,_);case St:return new k;case ln:case Yt:return new k(s);case rt:return d1(s);case tt:return new k;case Qt:return h1(s)}}function L1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(ui,`{
33
+ */os.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",g=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,I=8,T=16,V=32,E=64,H=128,D=256,O=512,z=30,Q="...",X=800,ce=16,Z=1,G=2,j=3,ae=1/0,fe=9007199254740991,ne=17976931348623157e292,se=0/0,Se=4294967295,ie=Se-1,Re=Se>>>1,ze=[["ary",H],["bind",C],["bindKey",y],["curry",I],["curryRight",T],["flip",O],["partial",V],["partialRight",E],["rearg",D]],Ce="[object Arguments]",Pe="[object Array]",Fe="[object AsyncFunction]",ct="[object Boolean]",qe="[object Date]",dt="[object DOMException]",Ft="[object Error]",de="[object Function]",xe="[object GeneratorFunction]",St="[object Map]",ln="[object Number]",Ln="[object Null]",an="[object Object]",Ht="[object Promise]",Te="[object Proxy]",rt="[object RegExp]",tt="[object Set]",Yt="[object String]",Qt="[object Symbol]",An="[object Undefined]",Lt="[object WeakMap]",gn="[object WeakSet]",xn="[object ArrayBuffer]",Gt="[object DataView]",Sn="[object Float32Array]",wi="[object Float64Array]",ki="[object Int8Array]",mn="[object Int16Array]",Si="[object Int32Array]",Ci="[object Uint8Array]",yi="[object Uint8ClampedArray]",Pi="[object Uint16Array]",Ii="[object Uint32Array]",pl=/\b__p \+= '';/g,ml=/\b(__p \+=) '' \+/g,bl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ni=/&(?:amp|lt|gt|quot|#39);/g,Gi=/[&<>"']/g,Ki=RegExp(Ni.source),oi=RegExp(Gi.source),vl=/<%-([\s\S]+?)%>/g,wl=/<%([\s\S]+?)%>/g,ji=/<%=([\s\S]+?)%>/g,kl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sl=/^\w*$/,Cl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ti=/[\\^$.*+?()[\]{}|]/g,yl=RegExp(Ti.source),ei=/^\s+/,Li=/\s/,ui=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ai=/\{\n\/\* \[wrapped with (.+)\] \*/,fi=/,? & /,K=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,be=/[()=,{}\[\]\/\s]/,Xe=/\\(\\)?/g,nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,it=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,Zt=/^\[object .+?Constructor\]$/,ci=/^0o[0-7]+$/i,Ji=/^(?:0|[1-9]\d*)$/,Pl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,Il=/['\n\r\u2028\u2029\\]/g,Ei="\\ud800-\\udfff",ql="\\u0300-\\u036f",br="\\ufe20-\\ufe2f",Y="\\u20d0-\\u20ff",Rt=ql+br+Y,bn="\\u2700-\\u27bf",ti="a-z\\xdf-\\xf6\\xf8-\\xff",xr="\\xac\\xb1\\xd7\\xf7",Yi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rn="\\u2000-\\u206f",zl=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",vr="A-Z\\xc0-\\xd6\\xd8-\\xde",ea="\\ufe0e\\ufe0f",Qi=xr+Yi+rn+zl,wr="['’]",ps="["+Ei+"]",ta="["+Qi+"]",Gl="["+Rt+"]",Kl="\\d+",ms="["+bn+"]",na="["+ti+"]",ia="[^"+Ei+Qi+Kl+bn+ti+vr+"]",jl="\\ud83c[\\udffb-\\udfff]",bs="(?:"+Gl+"|"+jl+")",kr="[^"+Ei+"]",Sr="(?:\\ud83c[\\udde6-\\uddff]){2}",Jl="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+vr+"]",la="\\u200d",ra="(?:"+na+"|"+ia+")",vs="(?:"+Zi+"|"+ia+")",aa="(?:"+wr+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+wr+"(?:D|LL|M|RE|S|T|VE))?",oa=bs+"?",ua="["+ea+"]?",ws="(?:"+la+"(?:"+[kr,Sr,Jl].join("|")+")"+ua+oa+")*",ks="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ss="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+ws,Cs="(?:"+[ms,Sr,Jl].join("|")+")"+fa,ys="(?:"+[kr+Gl+"?",Gl,Sr,Jl,ps].join("|")+")",Ps=RegExp(wr,"g"),Is=RegExp(Gl,"g"),Cr=RegExp(jl+"(?="+jl+")|"+ys+fa,"g"),Ns=RegExp([Zi+"?"+na+"+"+aa+"(?="+[ta,Zi,"$"].join("|")+")",vs+"+"+sa+"(?="+[ta,Zi+ra,"$"].join("|")+")",Zi+"?"+ra+"+"+aa,Zi+"+"+sa,Ss,ks,Kl,Cs].join("|"),"g"),B=RegExp("["+la+Ei+Rt+ea+"]"),ue=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ee=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ge=-1,Ie={};Ie[Sn]=Ie[wi]=Ie[ki]=Ie[mn]=Ie[Si]=Ie[Ci]=Ie[yi]=Ie[Pi]=Ie[Ii]=!0,Ie[Ce]=Ie[Pe]=Ie[xn]=Ie[ct]=Ie[Gt]=Ie[qe]=Ie[Ft]=Ie[de]=Ie[St]=Ie[ln]=Ie[an]=Ie[rt]=Ie[tt]=Ie[Yt]=Ie[Lt]=!1;var he={};he[Ce]=he[Pe]=he[xn]=he[Gt]=he[ct]=he[qe]=he[Sn]=he[wi]=he[ki]=he[mn]=he[Si]=he[St]=he[ln]=he[an]=he[rt]=he[tt]=he[Yt]=he[Qt]=he[Ci]=he[yi]=he[Pi]=he[Ii]=!0,he[Ft]=he[de]=he[Lt]=!1;var Ue={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ct={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},qt={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},yr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Xi=parseFloat,Pr=parseInt,Ri=typeof zr=="object"&&zr&&zr.Object===Object&&zr,Ir=typeof self=="object"&&self&&self.Object===Object&&self,Be=Ri||Ir||Function("return this")(),It=e&&!e.nodeType&&e,yt=It&&!0&&i&&!i.nodeType&&i,sn=yt&&yt.exports===It,Cn=sn&&Ri.process,Xt=function(){try{var $=yt&&yt.require&&yt.require("util").types;return $||Cn&&Cn.binding&&Cn.binding("util")}catch{}}(),$i=Xt&&Xt.isArrayBuffer,Yl=Xt&&Xt.isDate,Nl=Xt&&Xt.isMap,Ts=Xt&&Xt.isRegExp,Ql=Xt&&Xt.isSet,ca=Xt&&Xt.isTypedArray;function dn($,ge,oe){switch(oe.length){case 0:return $.call(ge);case 1:return $.call(ge,oe[0]);case 2:return $.call(ge,oe[0],oe[1]);case 3:return $.call(ge,oe[0],oe[1],oe[2])}return $.apply(ge,oe)}function Tl($,ge,oe,He){for(var et=-1,Pt=$==null?0:$.length;++et<Pt;){var on=$[et];ge(He,on,oe(on),$)}return He}function Ot($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He&&ge($[oe],oe,$)!==!1;);return $}function Kn($,ge){for(var oe=$==null?0:$.length;oe--&&ge($[oe],oe,$)!==!1;);return $}function da($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He;)if(!ge($[oe],oe,$))return!1;return!0}function xi($,ge){for(var oe=-1,He=$==null?0:$.length,et=0,Pt=[];++oe<He;){var on=$[oe];ge(on,oe,$)&&(Pt[et++]=on)}return Pt}function ha($,ge){var oe=$==null?0:$.length;return!!oe&&Zl($,ge,0)>-1}function Ls($,ge,oe){for(var He=-1,et=$==null?0:$.length;++He<et;)if(oe(ge,$[He]))return!0;return!1}function zt($,ge){for(var oe=-1,He=$==null?0:$.length,et=Array(He);++oe<He;)et[oe]=ge($[oe],oe,$);return et}function el($,ge){for(var oe=-1,He=ge.length,et=$.length;++oe<He;)$[et+oe]=ge[oe];return $}function As($,ge,oe,He){var et=-1,Pt=$==null?0:$.length;for(He&&Pt&&(oe=$[++et]);++et<Pt;)oe=ge(oe,$[et],et,$);return oe}function Cp($,ge,oe,He){var et=$==null?0:$.length;for(He&&et&&(oe=$[--et]);et--;)oe=ge(oe,$[et],et,$);return oe}function Es($,ge){for(var oe=-1,He=$==null?0:$.length;++oe<He;)if(ge($[oe],oe,$))return!0;return!1}var yp=Rs("length");function Pp($){return $.split("")}function Ip($){return $.match(K)||[]}function jo($,ge,oe){var He;return oe($,function(et,Pt,on){if(ge(et,Pt,on))return He=Pt,!1}),He}function ga($,ge,oe,He){for(var et=$.length,Pt=oe+(He?1:-1);He?Pt--:++Pt<et;)if(ge($[Pt],Pt,$))return Pt;return-1}function Zl($,ge,oe){return ge===ge?Up($,ge,oe):ga($,Jo,oe)}function Np($,ge,oe,He){for(var et=oe-1,Pt=$.length;++et<Pt;)if(He($[et],ge))return et;return-1}function Jo($){return $!==$}function Yo($,ge){var oe=$==null?0:$.length;return oe?Vs($,ge)/oe:se}function Rs($){return function(ge){return ge==null?t:ge[$]}}function Ds($){return function(ge){return $==null?t:$[ge]}}function Qo($,ge,oe,He,et){return et($,function(Pt,on,Mt){oe=He?(He=!1,Pt):ge(oe,Pt,on,Mt)}),oe}function Tp($,ge){var oe=$.length;for($.sort(ge);oe--;)$[oe]=$[oe].value;return $}function Vs($,ge){for(var oe,He=-1,et=$.length;++He<et;){var Pt=ge($[He]);Pt!==t&&(oe=oe===t?Pt:oe+Pt)}return oe}function Os($,ge){for(var oe=-1,He=Array($);++oe<$;)He[oe]=ge(oe);return He}function Lp($,ge){return zt(ge,function(oe){return[oe,$[oe]]})}function Zo($){return $&&$.slice(0,eu($)+1).replace(ei,"")}function Un($){return function(ge){return $(ge)}}function Ms($,ge){return zt(ge,function(oe){return $[oe]})}function Nr($,ge){return $.has(ge)}function Xo($,ge){for(var oe=-1,He=$.length;++oe<He&&Zl(ge,$[oe],0)>-1;);return oe}function $o($,ge){for(var oe=$.length;oe--&&Zl(ge,$[oe],0)>-1;);return oe}function Ap($,ge){for(var oe=$.length,He=0;oe--;)$[oe]===ge&&++He;return He}var Ep=Ds(Ue),Rp=Ds(Ct);function Dp($){return"\\"+yr[$]}function Vp($,ge){return $==null?t:$[ge]}function Xl($){return B.test($)}function Op($){return ue.test($)}function Mp($){for(var ge,oe=[];!(ge=$.next()).done;)oe.push(ge.value);return oe}function Fs($){var ge=-1,oe=Array($.size);return $.forEach(function(He,et){oe[++ge]=[et,He]}),oe}function xo($,ge){return function(oe){return $(ge(oe))}}function tl($,ge){for(var oe=-1,He=$.length,et=0,Pt=[];++oe<He;){var on=$[oe];(on===ge||on===d)&&($[oe]=d,Pt[et++]=oe)}return Pt}function _a($){var ge=-1,oe=Array($.size);return $.forEach(function(He){oe[++ge]=He}),oe}function Fp($){var ge=-1,oe=Array($.size);return $.forEach(function(He){oe[++ge]=[He,He]}),oe}function Up($,ge,oe){for(var He=oe-1,et=$.length;++He<et;)if($[He]===ge)return He;return-1}function Bp($,ge,oe){for(var He=oe+1;He--;)if($[He]===ge)return He;return He}function $l($){return Xl($)?Wp($):yp($)}function ni($){return Xl($)?qp($):Pp($)}function eu($){for(var ge=$.length;ge--&&Li.test($.charAt(ge)););return ge}var Hp=Ds(qt);function Wp($){for(var ge=Cr.lastIndex=0;Cr.test($);)++ge;return ge}function qp($){return $.match(Cr)||[]}function zp($){return $.match(Ns)||[]}var Gp=function $(ge){ge=ge==null?Be:xl.defaults(Be.Object(),ge,xl.pick(Be,Ee));var oe=ge.Array,He=ge.Date,et=ge.Error,Pt=ge.Function,on=ge.Math,Mt=ge.Object,Us=ge.RegExp,Kp=ge.String,jn=ge.TypeError,pa=oe.prototype,jp=Pt.prototype,er=Mt.prototype,ma=ge["__core-js_shared__"],ba=jp.toString,At=er.hasOwnProperty,Jp=0,tu=function(){var s=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),va=er.toString,Yp=ba.call(Mt),Qp=Be._,Zp=Us("^"+ba.call(At).replace(Ti,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wa=sn?ge.Buffer:t,nl=ge.Symbol,ka=ge.Uint8Array,nu=wa?wa.allocUnsafe:t,Sa=xo(Mt.getPrototypeOf,Mt),iu=Mt.create,lu=er.propertyIsEnumerable,Ca=pa.splice,ru=nl?nl.isConcatSpreadable:t,Tr=nl?nl.iterator:t,Ll=nl?nl.toStringTag:t,ya=function(){try{var s=Vl(Mt,"defineProperty");return s({},"",{}),s}catch{}}(),Xp=ge.clearTimeout!==Be.clearTimeout&&ge.clearTimeout,$p=He&&He.now!==Be.Date.now&&He.now,xp=ge.setTimeout!==Be.setTimeout&&ge.setTimeout,Pa=on.ceil,Ia=on.floor,Bs=Mt.getOwnPropertySymbols,em=wa?wa.isBuffer:t,au=ge.isFinite,tm=pa.join,nm=xo(Mt.keys,Mt),un=on.max,vn=on.min,im=He.now,lm=ge.parseInt,su=on.random,rm=pa.reverse,Hs=Vl(ge,"DataView"),Lr=Vl(ge,"Map"),Ws=Vl(ge,"Promise"),tr=Vl(ge,"Set"),Ar=Vl(ge,"WeakMap"),Er=Vl(Mt,"create"),Na=Ar&&new Ar,nr={},am=Ol(Hs),sm=Ol(Lr),om=Ol(Ws),um=Ol(tr),fm=Ol(Ar),Ta=nl?nl.prototype:t,Rr=Ta?Ta.valueOf:t,ou=Ta?Ta.toString:t;function M(s){if($t(s)&&!lt(s)&&!(s instanceof _t)){if(s instanceof Jn)return s;if(At.call(s,"__wrapped__"))return ff(s)}return new Jn(s)}var ir=function(){function s(){}return function(u){if(!Kt(u))return{};if(iu)return iu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function La(){}function Jn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:vl,evaluate:wl,interpolate:ji,variable:"",imports:{_:M}},M.prototype=La.prototype,M.prototype.constructor=M,Jn.prototype=ir(La.prototype),Jn.prototype.constructor=Jn;function _t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function cm(){var s=new _t(this.__wrapped__);return s.__actions__=En(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=En(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=En(this.__views__),s}function dm(){if(this.__filtered__){var s=new _t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function hm(){var s=this.__wrapped__.value(),u=this.__dir__,_=lt(s),k=u<0,N=_?s.length:0,F=P1(0,N,this.__views__),q=F.start,J=F.end,x=J-q,_e=k?J:q-1,pe=this.__iteratees__,ye=pe.length,De=0,Ke=vn(x,this.__takeCount__);if(!_||!k&&N==x&&Ke==x)return Ru(s,this.__actions__);var Qe=[];e:for(;x--&&De<Ke;){_e+=u;for(var ot=-1,Ze=s[_e];++ot<ye;){var gt=pe[ot],pt=gt.iteratee,Wn=gt.type,In=pt(Ze);if(Wn==G)Ze=In;else if(!In){if(Wn==Z)continue e;break e}}Qe[De++]=Ze}return Qe}_t.prototype=ir(La.prototype),_t.prototype.constructor=_t;function Al(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function gm(){this.__data__=Er?Er(null):{},this.size=0}function _m(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function pm(s){var u=this.__data__;if(Er){var _=u[s];return _===c?t:_}return At.call(u,s)?u[s]:t}function mm(s){var u=this.__data__;return Er?u[s]!==t:At.call(u,s)}function bm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Er&&u===t?c:u,this}Al.prototype.clear=gm,Al.prototype.delete=_m,Al.prototype.get=pm,Al.prototype.has=mm,Al.prototype.set=bm;function Di(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function vm(){this.__data__=[],this.size=0}function wm(s){var u=this.__data__,_=Aa(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Ca.call(u,_,1),--this.size,!0}function km(s){var u=this.__data__,_=Aa(u,s);return _<0?t:u[_][1]}function Sm(s){return Aa(this.__data__,s)>-1}function Cm(s,u){var _=this.__data__,k=Aa(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Di.prototype.clear=vm,Di.prototype.delete=wm,Di.prototype.get=km,Di.prototype.has=Sm,Di.prototype.set=Cm;function Vi(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function ym(){this.size=0,this.__data__={hash:new Al,map:new(Lr||Di),string:new Al}}function Pm(s){var u=qa(this,s).delete(s);return this.size-=u?1:0,u}function Im(s){return qa(this,s).get(s)}function Nm(s){return qa(this,s).has(s)}function Tm(s,u){var _=qa(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Vi.prototype.clear=ym,Vi.prototype.delete=Pm,Vi.prototype.get=Im,Vi.prototype.has=Nm,Vi.prototype.set=Tm;function El(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Vi;++u<_;)this.add(s[u])}function Lm(s){return this.__data__.set(s,c),this}function Am(s){return this.__data__.has(s)}El.prototype.add=El.prototype.push=Lm,El.prototype.has=Am;function ii(s){var u=this.__data__=new Di(s);this.size=u.size}function Em(){this.__data__=new Di,this.size=0}function Rm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Dm(s){return this.__data__.get(s)}function Vm(s){return this.__data__.has(s)}function Om(s,u){var _=this.__data__;if(_ instanceof Di){var k=_.__data__;if(!Lr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Vi(k)}return _.set(s,u),this.size=_.size,this}ii.prototype.clear=Em,ii.prototype.delete=Rm,ii.prototype.get=Dm,ii.prototype.has=Vm,ii.prototype.set=Om;function uu(s,u){var _=lt(s),k=!_&&Ml(s),N=!_&&!k&&sl(s),F=!_&&!k&&!N&&sr(s),q=_||k||N||F,J=q?Os(s.length,Kp):[],x=J.length;for(var _e in s)(u||At.call(s,_e))&&!(q&&(_e=="length"||N&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Ui(_e,x)))&&J.push(_e);return J}function fu(s){var u=s.length;return u?s[$s(0,u-1)]:t}function Mm(s,u){return za(En(s),Rl(u,0,s.length))}function Fm(s){return za(En(s))}function qs(s,u,_){(_!==t&&!li(s[u],_)||_===t&&!(u in s))&&Oi(s,u,_)}function Dr(s,u,_){var k=s[u];(!(At.call(s,u)&&li(k,_))||_===t&&!(u in s))&&Oi(s,u,_)}function Aa(s,u){for(var _=s.length;_--;)if(li(s[_][0],u))return _;return-1}function Um(s,u,_,k){return il(s,function(N,F,q){u(k,N,_(N),q)}),k}function cu(s,u){return s&&gi(u,hn(u),s)}function Bm(s,u){return s&&gi(u,Dn(u),s)}function Oi(s,u,_){u=="__proto__"&&ya?ya(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function zs(s,u){for(var _=-1,k=u.length,N=oe(k),F=s==null;++_<k;)N[_]=F?t:yo(s,u[_]);return N}function Rl(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Yn(s,u,_,k,N,F){var q,J=u&g,x=u&p,_e=u&b;if(_&&(q=N?_(s,k,N,F):_(s)),q!==t)return q;if(!Kt(s))return s;var pe=lt(s);if(pe){if(q=N1(s),!J)return En(s,q)}else{var ye=wn(s),De=ye==de||ye==xe;if(sl(s))return Ou(s,J);if(ye==an||ye==Ce||De&&!N){if(q=x||De?{}:ef(s),!J)return x?p1(s,Bm(q,s)):_1(s,cu(q,s))}else{if(!he[ye])return N?s:{};q=T1(s,ye,J)}}F||(F=new ii);var Ke=F.get(s);if(Ke)return Ke;F.set(s,q),Af(s)?s.forEach(function(Ze){q.add(Yn(Ze,u,_,Ze,s,F))}):Tf(s)&&s.forEach(function(Ze,gt){q.set(gt,Yn(Ze,u,_,gt,s,F))});var Qe=_e?x?uo:oo:x?Dn:hn,ot=pe?t:Qe(s);return Ot(ot||s,function(Ze,gt){ot&&(gt=Ze,Ze=s[gt]),Dr(q,gt,Yn(Ze,u,_,gt,s,F))}),q}function Hm(s){var u=hn(s);return function(_){return du(_,s,u)}}function du(s,u,_){var k=_.length;if(s==null)return!k;for(s=Mt(s);k--;){var N=_[k],F=u[N],q=s[N];if(q===t&&!(N in s)||!F(q))return!1}return!0}function hu(s,u,_){if(typeof s!="function")throw new jn(a);return Hr(function(){s.apply(t,_)},u)}function Vr(s,u,_,k){var N=-1,F=ha,q=!0,J=s.length,x=[],_e=u.length;if(!J)return x;_&&(u=zt(u,Un(_))),k?(F=Ls,q=!1):u.length>=l&&(F=Nr,q=!1,u=new El(u));e:for(;++N<J;){var pe=s[N],ye=_==null?pe:_(pe);if(pe=k||pe!==0?pe:0,q&&ye===ye){for(var De=_e;De--;)if(u[De]===ye)continue e;x.push(pe)}else F(u,ye,k)||x.push(pe)}return x}var il=Hu(hi),gu=Hu(Ks,!0);function Wm(s,u){var _=!0;return il(s,function(k,N,F){return _=!!u(k,N,F),_}),_}function Ea(s,u,_){for(var k=-1,N=s.length;++k<N;){var F=s[k],q=u(F);if(q!=null&&(J===t?q===q&&!Hn(q):_(q,J)))var J=q,x=F}return x}function qm(s,u,_,k){var N=s.length;for(_=st(_),_<0&&(_=-_>N?0:N+_),k=k===t||k>N?N:st(k),k<0&&(k+=N),k=_>k?0:Rf(k);_<k;)s[_++]=u;return s}function _u(s,u){var _=[];return il(s,function(k,N,F){u(k,N,F)&&_.push(k)}),_}function _n(s,u,_,k,N){var F=-1,q=s.length;for(_||(_=A1),N||(N=[]);++F<q;){var J=s[F];u>0&&_(J)?u>1?_n(J,u-1,_,k,N):el(N,J):k||(N[N.length]=J)}return N}var Gs=Wu(),pu=Wu(!0);function hi(s,u){return s&&Gs(s,u,hn)}function Ks(s,u){return s&&pu(s,u,hn)}function Ra(s,u){return xi(u,function(_){return Bi(s[_])})}function Dl(s,u){u=rl(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[_i(u[_++])];return _&&_==k?s:t}function mu(s,u,_){var k=u(s);return lt(s)?k:el(k,_(s))}function yn(s){return s==null?s===t?An:Ln:Ll&&Ll in Mt(s)?y1(s):F1(s)}function js(s,u){return s>u}function zm(s,u){return s!=null&&At.call(s,u)}function Gm(s,u){return s!=null&&u in Mt(s)}function Km(s,u,_){return s>=vn(u,_)&&s<un(u,_)}function Js(s,u,_){for(var k=_?Ls:ha,N=s[0].length,F=s.length,q=F,J=oe(F),x=1/0,_e=[];q--;){var pe=s[q];q&&u&&(pe=zt(pe,Un(u))),x=vn(pe.length,x),J[q]=!_&&(u||N>=120&&pe.length>=120)?new El(q&&pe):t}pe=s[0];var ye=-1,De=J[0];e:for(;++ye<N&&_e.length<x;){var Ke=pe[ye],Qe=u?u(Ke):Ke;if(Ke=_||Ke!==0?Ke:0,!(De?Nr(De,Qe):k(_e,Qe,_))){for(q=F;--q;){var ot=J[q];if(!(ot?Nr(ot,Qe):k(s[q],Qe,_)))continue e}De&&De.push(Qe),_e.push(Ke)}}return _e}function jm(s,u,_,k){return hi(s,function(N,F,q){u(k,_(N),F,q)}),k}function Or(s,u,_){u=rl(u,s),s=rf(s,u);var k=s==null?s:s[_i(Zn(u))];return k==null?t:dn(k,s,_)}function bu(s){return $t(s)&&yn(s)==Ce}function Jm(s){return $t(s)&&yn(s)==xn}function Ym(s){return $t(s)&&yn(s)==qe}function Mr(s,u,_,k,N){return s===u?!0:s==null||u==null||!$t(s)&&!$t(u)?s!==s&&u!==u:Qm(s,u,_,k,Mr,N)}function Qm(s,u,_,k,N,F){var q=lt(s),J=lt(u),x=q?Pe:wn(s),_e=J?Pe:wn(u);x=x==Ce?an:x,_e=_e==Ce?an:_e;var pe=x==an,ye=_e==an,De=x==_e;if(De&&sl(s)){if(!sl(u))return!1;q=!0,pe=!1}if(De&&!pe)return F||(F=new ii),q||sr(s)?Xu(s,u,_,k,N,F):S1(s,u,x,_,k,N,F);if(!(_&m)){var Ke=pe&&At.call(s,"__wrapped__"),Qe=ye&&At.call(u,"__wrapped__");if(Ke||Qe){var ot=Ke?s.value():s,Ze=Qe?u.value():u;return F||(F=new ii),N(ot,Ze,_,k,F)}}return De?(F||(F=new ii),C1(s,u,_,k,N,F)):!1}function Zm(s){return $t(s)&&wn(s)==St}function Ys(s,u,_,k){var N=_.length,F=N,q=!k;if(s==null)return!F;for(s=Mt(s);N--;){var J=_[N];if(q&&J[2]?J[1]!==s[J[0]]:!(J[0]in s))return!1}for(;++N<F;){J=_[N];var x=J[0],_e=s[x],pe=J[1];if(q&&J[2]){if(_e===t&&!(x in s))return!1}else{var ye=new ii;if(k)var De=k(_e,pe,x,s,u,ye);if(!(De===t?Mr(pe,_e,m|v,k,ye):De))return!1}}return!0}function vu(s){if(!Kt(s)||R1(s))return!1;var u=Bi(s)?Zp:Zt;return u.test(Ol(s))}function Xm(s){return $t(s)&&yn(s)==rt}function $m(s){return $t(s)&&wn(s)==tt}function xm(s){return $t(s)&&Qa(s.length)&&!!Ie[yn(s)]}function wu(s){return typeof s=="function"?s:s==null?Vn:typeof s=="object"?lt(s)?Cu(s[0],s[1]):Su(s):zf(s)}function Qs(s){if(!Br(s))return nm(s);var u=[];for(var _ in Mt(s))At.call(s,_)&&_!="constructor"&&u.push(_);return u}function e1(s){if(!Kt(s))return M1(s);var u=Br(s),_=[];for(var k in s)k=="constructor"&&(u||!At.call(s,k))||_.push(k);return _}function Zs(s,u){return s<u}function ku(s,u){var _=-1,k=Rn(s)?oe(s.length):[];return il(s,function(N,F,q){k[++_]=u(N,F,q)}),k}function Su(s){var u=co(s);return u.length==1&&u[0][2]?nf(u[0][0],u[0][1]):function(_){return _===s||Ys(_,s,u)}}function Cu(s,u){return go(s)&&tf(u)?nf(_i(s),u):function(_){var k=yo(_,s);return k===t&&k===u?Po(_,s):Mr(u,k,m|v)}}function Da(s,u,_,k,N){s!==u&&Gs(u,function(F,q){if(N||(N=new ii),Kt(F))t1(s,u,q,_,Da,k,N);else{var J=k?k(po(s,q),F,q+"",s,u,N):t;J===t&&(J=F),qs(s,q,J)}},Dn)}function t1(s,u,_,k,N,F,q){var J=po(s,_),x=po(u,_),_e=q.get(x);if(_e){qs(s,_,_e);return}var pe=F?F(J,x,_+"",s,u,q):t,ye=pe===t;if(ye){var De=lt(x),Ke=!De&&sl(x),Qe=!De&&!Ke&&sr(x);pe=x,De||Ke||Qe?lt(J)?pe=J:xt(J)?pe=En(J):Ke?(ye=!1,pe=Ou(x,!0)):Qe?(ye=!1,pe=Mu(x,!0)):pe=[]:Wr(x)||Ml(x)?(pe=J,Ml(J)?pe=Df(J):(!Kt(J)||Bi(J))&&(pe=ef(x))):ye=!1}ye&&(q.set(x,pe),N(pe,x,k,F,q),q.delete(x)),qs(s,_,pe)}function yu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Ui(u,_)?s[u]:t}function Pu(s,u,_){u.length?u=zt(u,function(F){return lt(F)?function(q){return Dl(q,F.length===1?F[0]:F)}:F}):u=[Vn];var k=-1;u=zt(u,Un(Ye()));var N=ku(s,function(F,q,J){var x=zt(u,function(_e){return _e(F)});return{criteria:x,index:++k,value:F}});return Tp(N,function(F,q){return g1(F,q,_)})}function n1(s,u){return Iu(s,u,function(_,k){return Po(s,k)})}function Iu(s,u,_){for(var k=-1,N=u.length,F={};++k<N;){var q=u[k],J=Dl(s,q);_(J,q)&&Fr(F,rl(q,s),J)}return F}function i1(s){return function(u){return Dl(u,s)}}function Xs(s,u,_,k){var N=k?Np:Zl,F=-1,q=u.length,J=s;for(s===u&&(u=En(u)),_&&(J=zt(s,Un(_)));++F<q;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=N(J,pe,x,k))>-1;)J!==s&&Ca.call(J,x,1),Ca.call(s,x,1);return s}function Nu(s,u){for(var _=s?u.length:0,k=_-1;_--;){var N=u[_];if(_==k||N!==F){var F=N;Ui(N)?Ca.call(s,N,1):to(s,N)}}return s}function $s(s,u){return s+Ia(su()*(u-s+1))}function l1(s,u,_,k){for(var N=-1,F=un(Pa((u-s)/(_||1)),0),q=oe(F);F--;)q[k?F:++N]=s,s+=_;return q}function xs(s,u){var _="";if(!s||u<1||u>fe)return _;do u%2&&(_+=s),u=Ia(u/2),u&&(s+=s);while(u);return _}function ut(s,u){return mo(lf(s,u,Vn),s+"")}function r1(s){return fu(or(s))}function a1(s,u){var _=or(s);return za(_,Rl(u,0,_.length))}function Fr(s,u,_,k){if(!Kt(s))return s;u=rl(u,s);for(var N=-1,F=u.length,q=F-1,J=s;J!=null&&++N<F;){var x=_i(u[N]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(N!=q){var pe=J[x];_e=k?k(pe,x,J):t,_e===t&&(_e=Kt(pe)?pe:Ui(u[N+1])?[]:{})}Dr(J,x,_e),J=J[x]}return s}var Tu=Na?function(s,u){return Na.set(s,u),s}:Vn,s1=ya?function(s,u){return ya(s,"toString",{configurable:!0,enumerable:!1,value:No(u),writable:!0})}:Vn;function o1(s){return za(or(s))}function Qn(s,u,_){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),_=_>N?N:_,_<0&&(_+=N),N=u>_?0:_-u>>>0,u>>>=0;for(var F=oe(N);++k<N;)F[k]=s[k+u];return F}function u1(s,u){var _;return il(s,function(k,N,F){return _=u(k,N,F),!_}),!!_}function Va(s,u,_){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Re){for(;k<N;){var F=k+N>>>1,q=s[F];q!==null&&!Hn(q)&&(_?q<=u:q<u)?k=F+1:N=F}return N}return eo(s,u,Vn,_)}function eo(s,u,_,k){var N=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,J=u===null,x=Hn(u),_e=u===t;N<F;){var pe=Ia((N+F)/2),ye=_(s[pe]),De=ye!==t,Ke=ye===null,Qe=ye===ye,ot=Hn(ye);if(q)var Ze=k||Qe;else _e?Ze=Qe&&(k||De):J?Ze=Qe&&De&&(k||!Ke):x?Ze=Qe&&De&&!Ke&&(k||!ot):Ke||ot?Ze=!1:Ze=k?ye<=u:ye<u;Ze?N=pe+1:F=pe}return vn(F,ie)}function Lu(s,u){for(var _=-1,k=s.length,N=0,F=[];++_<k;){var q=s[_],J=u?u(q):q;if(!_||!li(J,x)){var x=J;F[N++]=q===0?0:q}}return F}function Au(s){return typeof s=="number"?s:Hn(s)?se:+s}function Bn(s){if(typeof s=="string")return s;if(lt(s))return zt(s,Bn)+"";if(Hn(s))return ou?ou.call(s):"";var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function ll(s,u,_){var k=-1,N=ha,F=s.length,q=!0,J=[],x=J;if(_)q=!1,N=Ls;else if(F>=l){var _e=u?null:w1(s);if(_e)return _a(_e);q=!1,N=Nr,x=new El}else x=u?[]:J;e:for(;++k<F;){var pe=s[k],ye=u?u(pe):pe;if(pe=_||pe!==0?pe:0,q&&ye===ye){for(var De=x.length;De--;)if(x[De]===ye)continue e;u&&x.push(ye),J.push(pe)}else N(x,ye,_)||(x!==J&&x.push(ye),J.push(pe))}return J}function to(s,u){return u=rl(u,s),s=rf(s,u),s==null||delete s[_i(Zn(u))]}function Eu(s,u,_,k){return Fr(s,u,_(Dl(s,u)),k)}function Oa(s,u,_,k){for(var N=s.length,F=k?N:-1;(k?F--:++F<N)&&u(s[F],F,s););return _?Qn(s,k?0:F,k?F+1:N):Qn(s,k?F+1:0,k?N:F)}function Ru(s,u){var _=s;return _ instanceof _t&&(_=_.value()),As(u,function(k,N){return N.func.apply(N.thisArg,el([k],N.args))},_)}function no(s,u,_){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var N=-1,F=oe(k);++N<k;)for(var q=s[N],J=-1;++J<k;)J!=N&&(F[N]=Vr(F[N]||q,s[J],u,_));return ll(_n(F,1),u,_)}function Du(s,u,_){for(var k=-1,N=s.length,F=u.length,q={};++k<N;){var J=k<F?u[k]:t;_(q,s[k],J)}return q}function io(s){return xt(s)?s:[]}function lo(s){return typeof s=="function"?s:Vn}function rl(s,u){return lt(s)?s:go(s,u)?[s]:uf(Nt(s))}var f1=ut;function al(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Qn(s,u,_)}var Vu=Xp||function(s){return Be.clearTimeout(s)};function Ou(s,u){if(u)return s.slice();var _=s.length,k=nu?nu(_):new s.constructor(_);return s.copy(k),k}function ro(s){var u=new s.constructor(s.byteLength);return new ka(u).set(new ka(s)),u}function c1(s,u){var _=u?ro(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function d1(s){var u=new s.constructor(s.source,it.exec(s));return u.lastIndex=s.lastIndex,u}function h1(s){return Rr?Mt(Rr.call(s)):{}}function Mu(s,u){var _=u?ro(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Fu(s,u){if(s!==u){var _=s!==t,k=s===null,N=s===s,F=Hn(s),q=u!==t,J=u===null,x=u===u,_e=Hn(u);if(!J&&!_e&&!F&&s>u||F&&q&&x&&!J&&!_e||k&&q&&x||!_&&x||!N)return 1;if(!k&&!F&&!_e&&s<u||_e&&_&&N&&!k&&!F||J&&_&&N||!q&&N||!x)return-1}return 0}function g1(s,u,_){for(var k=-1,N=s.criteria,F=u.criteria,q=N.length,J=_.length;++k<q;){var x=Fu(N[k],F[k]);if(x){if(k>=J)return x;var _e=_[k];return x*(_e=="desc"?-1:1)}}return s.index-u.index}function Uu(s,u,_,k){for(var N=-1,F=s.length,q=_.length,J=-1,x=u.length,_e=un(F-q,0),pe=oe(x+_e),ye=!k;++J<x;)pe[J]=u[J];for(;++N<q;)(ye||N<F)&&(pe[_[N]]=s[N]);for(;_e--;)pe[J++]=s[N++];return pe}function Bu(s,u,_,k){for(var N=-1,F=s.length,q=-1,J=_.length,x=-1,_e=u.length,pe=un(F-J,0),ye=oe(pe+_e),De=!k;++N<pe;)ye[N]=s[N];for(var Ke=N;++x<_e;)ye[Ke+x]=u[x];for(;++q<J;)(De||N<F)&&(ye[Ke+_[q]]=s[N++]);return ye}function En(s,u){var _=-1,k=s.length;for(u||(u=oe(k));++_<k;)u[_]=s[_];return u}function gi(s,u,_,k){var N=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var J=u[F],x=k?k(_[J],s[J],J,_,s):t;x===t&&(x=s[J]),N?Oi(_,J,x):Dr(_,J,x)}return _}function _1(s,u){return gi(s,ho(s),u)}function p1(s,u){return gi(s,$u(s),u)}function Ma(s,u){return function(_,k){var N=lt(_)?Tl:Um,F=u?u():{};return N(_,s,Ye(k,2),F)}}function lr(s){return ut(function(u,_){var k=-1,N=_.length,F=N>1?_[N-1]:t,q=N>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(N--,F):t,q&&Pn(_[0],_[1],q)&&(F=N<3?t:F,N=1),u=Mt(u);++k<N;){var J=_[k];J&&s(u,J,k,F)}return u})}function Hu(s,u){return function(_,k){if(_==null)return _;if(!Rn(_))return s(_,k);for(var N=_.length,F=u?N:-1,q=Mt(_);(u?F--:++F<N)&&k(q[F],F,q)!==!1;);return _}}function Wu(s){return function(u,_,k){for(var N=-1,F=Mt(u),q=k(u),J=q.length;J--;){var x=q[s?J:++N];if(_(F[x],x,F)===!1)break}return u}}function m1(s,u,_){var k=u&C,N=Ur(s);function F(){var q=this&&this!==Be&&this instanceof F?N:s;return q.apply(k?_:this,arguments)}return F}function qu(s){return function(u){u=Nt(u);var _=Xl(u)?ni(u):t,k=_?_[0]:u.charAt(0),N=_?al(_,1).join(""):u.slice(1);return k[s]()+N}}function rr(s){return function(u){return As(Wf(Hf(u).replace(Ps,"")),s,"")}}function Ur(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var _=ir(s.prototype),k=s.apply(_,u);return Kt(k)?k:_}}function b1(s,u,_){var k=Ur(s);function N(){for(var F=arguments.length,q=oe(F),J=F,x=ar(N);J--;)q[J]=arguments[J];var _e=F<3&&q[0]!==x&&q[F-1]!==x?[]:tl(q,x);if(F-=_e.length,F<_)return Ju(s,u,Fa,N.placeholder,t,q,_e,t,t,_-F);var pe=this&&this!==Be&&this instanceof N?k:s;return dn(pe,this,q)}return N}function zu(s){return function(u,_,k){var N=Mt(u);if(!Rn(u)){var F=Ye(_,3);u=hn(u),_=function(J){return F(N[J],J,N)}}var q=s(u,_,k);return q>-1?N[F?u[q]:q]:t}}function Gu(s){return Fi(function(u){var _=u.length,k=_,N=Jn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new jn(a);if(N&&!q&&Wa(F)=="wrapper")var q=new Jn([],!0)}for(k=q?k:_;++k<_;){F=u[k];var J=Wa(F),x=J=="wrapper"?fo(F):t;x&&_o(x[0])&&x[1]==(H|I|V|D)&&!x[4].length&&x[9]==1?q=q[Wa(x[0])].apply(q,x[3]):q=F.length==1&&_o(F)?q[J]():q.thru(F)}return function(){var _e=arguments,pe=_e[0];if(q&&_e.length==1&&lt(pe))return q.plant(pe).value();for(var ye=0,De=_?u[ye].apply(this,_e):pe;++ye<_;)De=u[ye].call(this,De);return De}})}function Fa(s,u,_,k,N,F,q,J,x,_e){var pe=u&H,ye=u&C,De=u&y,Ke=u&(I|T),Qe=u&O,ot=De?t:Ur(s);function Ze(){for(var gt=arguments.length,pt=oe(gt),Wn=gt;Wn--;)pt[Wn]=arguments[Wn];if(Ke)var In=ar(Ze),qn=Ap(pt,In);if(k&&(pt=Uu(pt,k,N,Ke)),F&&(pt=Bu(pt,F,q,Ke)),gt-=qn,Ke&&gt<_e){var en=tl(pt,In);return Ju(s,u,Fa,Ze.placeholder,_,pt,en,J,x,_e-gt)}var ri=ye?_:this,Wi=De?ri[s]:s;return gt=pt.length,J?pt=U1(pt,J):Qe&&gt>1&&pt.reverse(),pe&&x<gt&&(pt.length=x),this&&this!==Be&&this instanceof Ze&&(Wi=ot||Ur(Wi)),Wi.apply(ri,pt)}return Ze}function Ku(s,u){return function(_,k){return jm(_,s,u(k),{})}}function Ua(s,u){return function(_,k){var N;if(_===t&&k===t)return u;if(_!==t&&(N=_),k!==t){if(N===t)return k;typeof _=="string"||typeof k=="string"?(_=Bn(_),k=Bn(k)):(_=Au(_),k=Au(k)),N=s(_,k)}return N}}function ao(s){return Fi(function(u){return u=zt(u,Un(Ye())),ut(function(_){var k=this;return s(u,function(N){return dn(N,k,_)})})})}function Ba(s,u){u=u===t?" ":Bn(u);var _=u.length;if(_<2)return _?xs(u,s):u;var k=xs(u,Pa(s/$l(u)));return Xl(u)?al(ni(k),0,s).join(""):k.slice(0,s)}function v1(s,u,_,k){var N=u&C,F=Ur(s);function q(){for(var J=-1,x=arguments.length,_e=-1,pe=k.length,ye=oe(pe+x),De=this&&this!==Be&&this instanceof q?F:s;++_e<pe;)ye[_e]=k[_e];for(;x--;)ye[_e++]=arguments[++J];return dn(De,N?_:this,ye)}return q}function ju(s){return function(u,_,k){return k&&typeof k!="number"&&Pn(u,_,k)&&(_=k=t),u=Hi(u),_===t?(_=u,u=0):_=Hi(_),k=k===t?u<_?1:-1:Hi(k),l1(u,_,k,s)}}function Ha(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=Xn(u),_=Xn(_)),s(u,_)}}function Ju(s,u,_,k,N,F,q,J,x,_e){var pe=u&I,ye=pe?q:t,De=pe?t:q,Ke=pe?F:t,Qe=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=~(C|y));var ot=[s,u,N,Ke,ye,Qe,De,J,x,_e],Ze=_.apply(t,ot);return _o(s)&&af(Ze,ot),Ze.placeholder=k,sf(Ze,s,u)}function so(s){var u=on[s];return function(_,k){if(_=Xn(_),k=k==null?0:vn(st(k),292),k&&au(_)){var N=(Nt(_)+"e").split("e"),F=u(N[0]+"e"+(+N[1]+k));return N=(Nt(F)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(_)}}var w1=tr&&1/_a(new tr([,-0]))[1]==ae?function(s){return new tr(s)}:Ao;function Yu(s){return function(u){var _=wn(u);return _==St?Fs(u):_==tt?Fp(u):Lp(u,s(u))}}function Mi(s,u,_,k,N,F,q,J){var x=u&y;if(!x&&typeof s!="function")throw new jn(a);var _e=k?k.length:0;if(_e||(u&=~(V|E),k=N=t),q=q===t?q:un(st(q),0),J=J===t?J:st(J),_e-=N?N.length:0,u&E){var pe=k,ye=N;k=N=t}var De=x?t:fo(s),Ke=[s,u,_,k,N,pe,ye,F,q,J];if(De&&O1(Ke,De),s=Ke[0],u=Ke[1],_=Ke[2],k=Ke[3],N=Ke[4],J=Ke[9]=Ke[9]===t?x?0:s.length:un(Ke[9]-_e,0),!J&&u&(I|T)&&(u&=~(I|T)),!u||u==C)var Qe=m1(s,u,_);else u==I||u==T?Qe=b1(s,u,J):(u==V||u==(C|V))&&!N.length?Qe=v1(s,u,_,k):Qe=Fa.apply(t,Ke);var ot=De?Tu:af;return sf(ot(Qe,Ke),s,u)}function Qu(s,u,_,k){return s===t||li(s,er[_])&&!At.call(k,_)?u:s}function Zu(s,u,_,k,N,F){return Kt(s)&&Kt(u)&&(F.set(u,s),Da(s,u,t,Zu,F),F.delete(u)),s}function k1(s){return Wr(s)?t:s}function Xu(s,u,_,k,N,F){var q=_&m,J=s.length,x=u.length;if(J!=x&&!(q&&x>J))return!1;var _e=F.get(s),pe=F.get(u);if(_e&&pe)return _e==u&&pe==s;var ye=-1,De=!0,Ke=_&v?new El:t;for(F.set(s,u),F.set(u,s);++ye<J;){var Qe=s[ye],ot=u[ye];if(k)var Ze=q?k(ot,Qe,ye,u,s,F):k(Qe,ot,ye,s,u,F);if(Ze!==t){if(Ze)continue;De=!1;break}if(Ke){if(!Es(u,function(gt,pt){if(!Nr(Ke,pt)&&(Qe===gt||N(Qe,gt,_,k,F)))return Ke.push(pt)})){De=!1;break}}else if(!(Qe===ot||N(Qe,ot,_,k,F))){De=!1;break}}return F.delete(s),F.delete(u),De}function S1(s,u,_,k,N,F,q){switch(_){case Gt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case xn:return!(s.byteLength!=u.byteLength||!F(new ka(s),new ka(u)));case ct:case qe:case ln:return li(+s,+u);case Ft:return s.name==u.name&&s.message==u.message;case rt:case Yt:return s==u+"";case St:var J=Fs;case tt:var x=k&m;if(J||(J=_a),s.size!=u.size&&!x)return!1;var _e=q.get(s);if(_e)return _e==u;k|=v,q.set(s,u);var pe=Xu(J(s),J(u),k,N,F,q);return q.delete(s),pe;case Qt:if(Rr)return Rr.call(s)==Rr.call(u)}return!1}function C1(s,u,_,k,N,F){var q=_&m,J=oo(s),x=J.length,_e=oo(u),pe=_e.length;if(x!=pe&&!q)return!1;for(var ye=x;ye--;){var De=J[ye];if(!(q?De in u:At.call(u,De)))return!1}var Ke=F.get(s),Qe=F.get(u);if(Ke&&Qe)return Ke==u&&Qe==s;var ot=!0;F.set(s,u),F.set(u,s);for(var Ze=q;++ye<x;){De=J[ye];var gt=s[De],pt=u[De];if(k)var Wn=q?k(pt,gt,De,u,s,F):k(gt,pt,De,s,u,F);if(!(Wn===t?gt===pt||N(gt,pt,_,k,F):Wn)){ot=!1;break}Ze||(Ze=De=="constructor")}if(ot&&!Ze){var In=s.constructor,qn=u.constructor;In!=qn&&"constructor"in s&&"constructor"in u&&!(typeof In=="function"&&In instanceof In&&typeof qn=="function"&&qn instanceof qn)&&(ot=!1)}return F.delete(s),F.delete(u),ot}function Fi(s){return mo(lf(s,t,hf),s+"")}function oo(s){return mu(s,hn,ho)}function uo(s){return mu(s,Dn,$u)}var fo=Na?function(s){return Na.get(s)}:Ao;function Wa(s){for(var u=s.name+"",_=nr[u],k=At.call(nr,u)?_.length:0;k--;){var N=_[k],F=N.func;if(F==null||F==s)return N.name}return u}function ar(s){var u=At.call(M,"placeholder")?M:s;return u.placeholder}function Ye(){var s=M.iteratee||To;return s=s===To?wu:s,arguments.length?s(arguments[0],arguments[1]):s}function qa(s,u){var _=s.__data__;return E1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function co(s){for(var u=hn(s),_=u.length;_--;){var k=u[_],N=s[k];u[_]=[k,N,tf(N)]}return u}function Vl(s,u){var _=Vp(s,u);return vu(_)?_:t}function y1(s){var u=At.call(s,Ll),_=s[Ll];try{s[Ll]=t;var k=!0}catch{}var N=va.call(s);return k&&(u?s[Ll]=_:delete s[Ll]),N}var ho=Bs?function(s){return s==null?[]:(s=Mt(s),xi(Bs(s),function(u){return lu.call(s,u)}))}:Eo,$u=Bs?function(s){for(var u=[];s;)el(u,ho(s)),s=Sa(s);return u}:Eo,wn=yn;(Hs&&wn(new Hs(new ArrayBuffer(1)))!=Gt||Lr&&wn(new Lr)!=St||Ws&&wn(Ws.resolve())!=Ht||tr&&wn(new tr)!=tt||Ar&&wn(new Ar)!=Lt)&&(wn=function(s){var u=yn(s),_=u==an?s.constructor:t,k=_?Ol(_):"";if(k)switch(k){case am:return Gt;case sm:return St;case om:return Ht;case um:return tt;case fm:return Lt}return u});function P1(s,u,_){for(var k=-1,N=_.length;++k<N;){var F=_[k],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=vn(u,s+q);break;case"takeRight":s=un(s,u-q);break}}return{start:s,end:u}}function I1(s){var u=s.match(Ai);return u?u[1].split(fi):[]}function xu(s,u,_){u=rl(u,s);for(var k=-1,N=u.length,F=!1;++k<N;){var q=_i(u[k]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++k!=N?F:(N=s==null?0:s.length,!!N&&Qa(N)&&Ui(q,N)&&(lt(s)||Ml(s)))}function N1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&At.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function ef(s){return typeof s.constructor=="function"&&!Br(s)?ir(Sa(s)):{}}function T1(s,u,_){var k=s.constructor;switch(u){case xn:return ro(s);case ct:case qe:return new k(+s);case Gt:return c1(s,_);case Sn:case wi:case ki:case mn:case Si:case Ci:case yi:case Pi:case Ii:return Mu(s,_);case St:return new k;case ln:case Yt:return new k(s);case rt:return d1(s);case tt:return new k;case Qt:return h1(s)}}function L1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(ui,`{
34
34
  /* [wrapped with `+u+`] */
35
- `)}function A1(s){return lt(s)||Ml(s)||!!(ru&&s&&s[ru])}function Ui(s,u){var _=typeof s;return u=u??fe,!!u&&(_=="number"||_!="symbol"&&Ji.test(s))&&s>-1&&s%1==0&&s<u}function Pn(s,u,_){if(!Kt(_))return!1;var k=typeof u;return(k=="number"?Rn(_)&&Ui(u,_.length):k=="string"&&u in _)?li(_[u],s):!1}function go(s,u){if(lt(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Hn(s)?!0:Sl.test(s)||!kl.test(s)||u!=null&&s in Mt(u)}function E1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function _o(s){var u=Wa(s),_=M[u];if(typeof _!="function"||!(u in _t.prototype))return!1;if(s===_)return!0;var k=fo(_);return!!k&&s===k[0]}function R1(s){return!!tu&&tu in s}var D1=ma?Bi:Ro;function Br(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||er;return s===_}function tf(s){return s===s&&!Kt(s)}function nf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Mt(_))}}function V1(s){var u=Ja(s,function(k){return _.size===h&&_.clear(),k}),_=u.cache;return u}function O1(s,u){var _=s[1],k=u[1],N=_|k,F=N<(C|y|H),q=k==H&&_==I||k==H&&_==D&&s[7].length<=u[8]||k==(H|D)&&u[7].length<=u[8]&&_==I;if(!(F||q))return s;k&C&&(s[2]=u[2],N|=_&C?0:P);var J=u[3];if(J){var x=s[3];s[3]=x?Uu(x,J,u[4]):J,s[4]=x?tl(s[3],d):u[4]}return J=u[5],J&&(x=s[5],s[5]=x?Bu(x,J,u[6]):J,s[6]=x?tl(s[5],d):u[6]),J=u[7],J&&(s[7]=J),k&H&&(s[8]=s[8]==null?u[8]:vn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function M1(s){var u=[];if(s!=null)for(var _ in Mt(s))u.push(_);return u}function F1(s){return va.call(s)}function lf(s,u,_){return u=un(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,F=un(k.length-u,0),q=oe(F);++N<F;)q[N]=k[u+N];N=-1;for(var J=oe(u+1);++N<u;)J[N]=k[N];return J[u]=_(q),cn(s,this,J)}}function rf(s,u){return u.length<2?s:Dl(s,Qn(u,0,-1))}function U1(s,u){for(var _=s.length,k=vn(u.length,_),N=En(s);k--;){var F=u[k];s[k]=Ui(F,_)?N[F]:t}return s}function po(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var af=of(Tu),Hr=xp||function(s,u){return Be.setTimeout(s,u)},mo=of(s1);function sf(s,u,_){var k=u+"";return mo(s,L1(k,B1(I1(k),_)))}function of(s){var u=0,_=0;return function(){var k=im(),N=ce-(k-_);if(_=k,N>0){if(++u>=X)return arguments[0]}else u=0;return s.apply(t,arguments)}}function za(s,u){var _=-1,k=s.length,N=k-1;for(u=u===t?k:u;++_<u;){var F=$s(_,N),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var uf=V1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Cl,function(_,k,N,F){u.push(N?F.replace(Xe,"$1"):k||_)}),u});function _i(s){if(typeof s=="string"||Hn(s))return s;var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function Ol(s){if(s!=null){try{return ba.call(s)}catch{}try{return s+""}catch{}}return""}function B1(s,u){return Ot(ze,function(_){var k="_."+_[0];u&_[1]&&!ha(s,k)&&s.push(k)}),s.sort()}function ff(s){if(s instanceof _t)return s.clone();var u=new Jn(s.__wrapped__,s.__chain__);return u.__actions__=En(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function H1(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=un(st(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,F=0,q=oe(Pa(k/u));N<k;)q[F++]=Qn(s,N,N+=u);return q}function W1(s){for(var u=-1,_=s==null?0:s.length,k=0,N=[];++u<_;){var F=s[u];F&&(N[k++]=F)}return N}function q1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(lt(_)?En(_):[_],_n(u,1))}var z1=ut(function(s,u){return xt(s)?Vr(s,_n(u,1,xt,!0)):[]}),G1=ut(function(s,u){var _=Zn(u);return xt(_)&&(_=t),xt(s)?Vr(s,_n(u,1,xt,!0),Ye(_,2)):[]}),K1=ut(function(s,u){var _=Zn(u);return xt(_)&&(_=t),xt(s)?Vr(s,_n(u,1,xt,!0),t,_):[]});function j1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),Qn(s,u<0?0:u,k)):[]}function J1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Qn(s,0,u<0?0:u)):[]}function Y1(s,u){return s&&s.length?Oa(s,Ye(u,3),!0,!0):[]}function Q1(s,u){return s&&s.length?Oa(s,Ye(u,3),!0):[]}function Z1(s,u,_,k){var N=s==null?0:s.length;return N?(_&&typeof _!="number"&&Pn(s,u,_)&&(_=0,k=N),qm(s,u,_,k)):[]}function cf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=un(k+N,0)),ga(s,Ye(u,3),N)}function df(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return _!==t&&(N=st(_),N=_<0?un(k+N,0):vn(N,k-1)),ga(s,Ye(u,3),N,!0)}function hf(s){var u=s==null?0:s.length;return u?_n(s,1):[]}function X1(s){var u=s==null?0:s.length;return u?_n(s,ae):[]}function $1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:st(u),_n(s,u)):[]}function x1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var N=s[u];k[N[0]]=N[1]}return k}function gf(s){return s&&s.length?s[0]:t}function eb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=un(k+N,0)),Zl(s,u,N)}function tb(s){var u=s==null?0:s.length;return u?Qn(s,0,-1):[]}var nb=ut(function(s){var u=zt(s,io);return u.length&&u[0]===s[0]?Js(u):[]}),ib=ut(function(s){var u=Zn(s),_=zt(s,io);return u===Zn(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Js(_,Ye(u,2)):[]}),lb=ut(function(s){var u=Zn(s),_=zt(s,io);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Js(_,t,u):[]});function rb(s,u){return s==null?"":tm.call(s,u)}function Zn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function ab(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k;return _!==t&&(N=st(_),N=N<0?un(k+N,0):vn(N,k-1)),u===u?Bp(s,u,N):ga(s,Jo,N,!0)}function sb(s,u){return s&&s.length?yu(s,st(u)):t}var ob=ut(_f);function _f(s,u){return s&&s.length&&u&&u.length?Xs(s,u):s}function ub(s,u,_){return s&&s.length&&u&&u.length?Xs(s,u,Ye(_,2)):s}function fb(s,u,_){return s&&s.length&&u&&u.length?Xs(s,u,t,_):s}var cb=Fi(function(s,u){var _=s==null?0:s.length,k=zs(s,u);return Nu(s,zt(u,function(N){return Ui(N,_)?+N:N}).sort(Fu)),k});function db(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,N=[],F=s.length;for(u=Ye(u,3);++k<F;){var q=s[k];u(q,k,s)&&(_.push(q),N.push(k))}return Nu(s,N),_}function bo(s){return s==null?s:rm.call(s)}function hb(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&Pn(s,u,_)?(u=0,_=k):(u=u==null?0:st(u),_=_===t?k:st(_)),Qn(s,u,_)):[]}function gb(s,u){return Va(s,u)}function _b(s,u,_){return eo(s,u,Ye(_,2))}function pb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u);if(k<_&&li(s[k],u))return k}return-1}function mb(s,u){return Va(s,u,!0)}function bb(s,u,_){return eo(s,u,Ye(_,2),!0)}function vb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u,!0)-1;if(li(s[k],u))return k}return-1}function wb(s){return s&&s.length?Lu(s):[]}function kb(s,u){return s&&s.length?Lu(s,Ye(u,2)):[]}function Sb(s){var u=s==null?0:s.length;return u?Qn(s,1,u):[]}function Cb(s,u,_){return s&&s.length?(u=_||u===t?1:st(u),Qn(s,0,u<0?0:u)):[]}function yb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Qn(s,u<0?0:u,k)):[]}function Pb(s,u){return s&&s.length?Oa(s,Ye(u,3),!1,!0):[]}function Ib(s,u){return s&&s.length?Oa(s,Ye(u,3)):[]}var Nb=ut(function(s){return ll(_n(s,1,xt,!0))}),Tb=ut(function(s){var u=Zn(s);return xt(u)&&(u=t),ll(_n(s,1,xt,!0),Ye(u,2))}),Lb=ut(function(s){var u=Zn(s);return u=typeof u=="function"?u:t,ll(_n(s,1,xt,!0),t,u)});function Ab(s){return s&&s.length?ll(s):[]}function Eb(s,u){return s&&s.length?ll(s,Ye(u,2)):[]}function Rb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function vo(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(_){if(xt(_))return u=un(_.length,u),!0}),Os(u,function(_){return zt(s,Rs(_))})}function pf(s,u){if(!(s&&s.length))return[];var _=vo(s);return u==null?_:zt(_,function(k){return cn(u,t,k)})}var Db=ut(function(s,u){return xt(s)?Vr(s,u):[]}),Vb=ut(function(s){return no(xi(s,xt))}),Ob=ut(function(s){var u=Zn(s);return xt(u)&&(u=t),no(xi(s,xt),Ye(u,2))}),Mb=ut(function(s){var u=Zn(s);return u=typeof u=="function"?u:t,no(xi(s,xt),t,u)}),Fb=ut(vo);function Ub(s,u){return Du(s||[],u||[],Dr)}function Bb(s,u){return Du(s||[],u||[],Fr)}var Hb=ut(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,pf(s,_)});function mf(s){var u=M(s);return u.__chain__=!0,u}function Wb(s,u){return u(s),s}function Ga(s,u){return u(s)}var qb=Fi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,N=function(F){return zs(F,s)};return u>1||this.__actions__.length||!(k instanceof _t)||!Ui(_)?this.thru(N):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:Ga,args:[N],thisArg:t}),new Jn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function zb(){return mf(this)}function Gb(){return new Jn(this.value(),this.__chain__)}function Kb(){this.__values__===t&&(this.__values__=Ef(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function jb(){return this}function Jb(s){for(var u,_=this;_ instanceof La;){var k=ff(_);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;_=_.__wrapped__}return N.__wrapped__=s,u}function Yb(){var s=this.__wrapped__;if(s instanceof _t){var u=s;return this.__actions__.length&&(u=new _t(this)),u=u.reverse(),u.__actions__.push({func:Ga,args:[bo],thisArg:t}),new Jn(u,this.__chain__)}return this.thru(bo)}function Qb(){return Ru(this.__wrapped__,this.__actions__)}var Zb=Ma(function(s,u,_){At.call(s,_)?++s[_]:Oi(s,_,1)});function Xb(s,u,_){var k=lt(s)?da:Wm;return _&&Pn(s,u,_)&&(u=t),k(s,Ye(u,3))}function $b(s,u){var _=lt(s)?xi:_u;return _(s,Ye(u,3))}var xb=zu(cf),ev=zu(df);function tv(s,u){return _n(Ka(s,u),1)}function nv(s,u){return _n(Ka(s,u),ae)}function iv(s,u,_){return _=_===t?1:st(_),_n(Ka(s,u),_)}function bf(s,u){var _=lt(s)?Ot:il;return _(s,Ye(u,3))}function vf(s,u){var _=lt(s)?Kn:gu;return _(s,Ye(u,3))}var lv=Ma(function(s,u,_){At.call(s,_)?s[_].push(u):Oi(s,_,[u])});function rv(s,u,_,k){s=Rn(s)?s:or(s),_=_&&!k?st(_):0;var N=s.length;return _<0&&(_=un(N+_,0)),Za(s)?_<=N&&s.indexOf(u,_)>-1:!!N&&Zl(s,u,_)>-1}var av=ut(function(s,u,_){var k=-1,N=typeof u=="function",F=Rn(s)?oe(s.length):[];return il(s,function(q){F[++k]=N?cn(u,q,_):Or(q,u,_)}),F}),sv=Ma(function(s,u,_){Oi(s,_,u)});function Ka(s,u){var _=lt(s)?zt:ku;return _(s,Ye(u,3))}function ov(s,u,_,k){return s==null?[]:(lt(u)||(u=u==null?[]:[u]),_=k?t:_,lt(_)||(_=_==null?[]:[_]),Pu(s,u,_))}var uv=Ma(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function fv(s,u,_){var k=lt(s)?As:Qo,N=arguments.length<3;return k(s,Ye(u,4),_,N,il)}function cv(s,u,_){var k=lt(s)?Cp:Qo,N=arguments.length<3;return k(s,Ye(u,4),_,N,gu)}function dv(s,u){var _=lt(s)?xi:_u;return _(s,Ya(Ye(u,3)))}function hv(s){var u=lt(s)?fu:r1;return u(s)}function gv(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=st(u);var k=lt(s)?Mm:a1;return k(s,u)}function _v(s){var u=lt(s)?Fm:o1;return u(s)}function pv(s){if(s==null)return 0;if(Rn(s))return Za(s)?$l(s):s.length;var u=wn(s);return u==St||u==tt?s.size:Qs(s).length}function mv(s,u,_){var k=lt(s)?Es:u1;return _&&Pn(s,u,_)&&(u=t),k(s,Ye(u,3))}var bv=ut(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Pn(s,u[0],u[1])?u=[]:_>2&&Pn(u[0],u[1],u[2])&&(u=[u[0]]),Pu(s,_n(u,1),[])}),ja=$p||function(){return Be.Date.now()};function vv(s,u){if(typeof u!="function")throw new jn(a);return s=st(s),function(){if(--s<1)return u.apply(this,arguments)}}function wf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Mi(s,H,t,t,t,t,u)}function kf(s,u){var _;if(typeof u!="function")throw new jn(a);return s=st(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var wo=ut(function(s,u,_){var k=C;if(_.length){var N=tl(_,ar(wo));k|=V}return Mi(s,k,u,_,N)}),Sf=ut(function(s,u,_){var k=C|y;if(_.length){var N=tl(_,ar(Sf));k|=V}return Mi(u,k,s,_,N)});function Cf(s,u,_){u=_?t:u;var k=Mi(s,I,t,t,t,t,t,u);return k.placeholder=Cf.placeholder,k}function yf(s,u,_){u=_?t:u;var k=Mi(s,T,t,t,t,t,t,u);return k.placeholder=yf.placeholder,k}function Pf(s,u,_){var k,N,F,q,J,x,_e=0,pe=!1,ye=!1,De=!0;if(typeof s!="function")throw new jn(a);u=Xn(u)||0,Kt(_)&&(pe=!!_.leading,ye="maxWait"in _,F=ye?un(Xn(_.maxWait)||0,u):F,De="trailing"in _?!!_.trailing:De);function Ke(en){var ri=k,Wi=N;return k=N=t,_e=en,q=s.apply(Wi,ri),q}function Qe(en){return _e=en,J=Hr(gt,u),pe?Ke(en):q}function ot(en){var ri=en-x,Wi=en-_e,Gf=u-ri;return ye?vn(Gf,F-Wi):Gf}function Ze(en){var ri=en-x,Wi=en-_e;return x===t||ri>=u||ri<0||ye&&Wi>=F}function gt(){var en=ja();if(Ze(en))return pt(en);J=Hr(gt,ot(en))}function pt(en){return J=t,De&&k?Ke(en):(k=N=t,q)}function Wn(){J!==t&&Vu(J),_e=0,k=x=N=J=t}function In(){return J===t?q:pt(ja())}function qn(){var en=ja(),ri=Ze(en);if(k=arguments,N=this,x=en,ri){if(J===t)return Qe(x);if(ye)return Vu(J),J=Hr(gt,u),Ke(x)}return J===t&&(J=Hr(gt,u)),q}return qn.cancel=Wn,qn.flush=In,qn}var wv=ut(function(s,u){return hu(s,1,u)}),kv=ut(function(s,u,_){return hu(s,Xn(u)||0,_)});function Sv(s){return Mi(s,O)}function Ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new jn(a);var _=function(){var k=arguments,N=u?u.apply(this,k):k[0],F=_.cache;if(F.has(N))return F.get(N);var q=s.apply(this,k);return _.cache=F.set(N,q)||F,q};return _.cache=new(Ja.Cache||Vi),_}Ja.Cache=Vi;function Ya(s){if(typeof s!="function")throw new jn(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function Cv(s){return kf(2,s)}var yv=f1(function(s,u){u=u.length==1&&lt(u[0])?zt(u[0],Un(Ye())):zt(_n(u,1),Un(Ye()));var _=u.length;return ut(function(k){for(var N=-1,F=vn(k.length,_);++N<F;)k[N]=u[N].call(this,k[N]);return cn(s,this,k)})}),ko=ut(function(s,u){var _=tl(u,ar(ko));return Mi(s,V,t,u,_)}),If=ut(function(s,u){var _=tl(u,ar(If));return Mi(s,E,t,u,_)}),Pv=Fi(function(s,u){return Mi(s,D,t,t,t,u)});function Iv(s,u){if(typeof s!="function")throw new jn(a);return u=u===t?u:st(u),ut(s,u)}function Nv(s,u){if(typeof s!="function")throw new jn(a);return u=u==null?0:un(st(u),0),ut(function(_){var k=_[u],N=al(_,0,u);return k&&el(N,k),cn(s,this,N)})}function Tv(s,u,_){var k=!0,N=!0;if(typeof s!="function")throw new jn(a);return Kt(_)&&(k="leading"in _?!!_.leading:k,N="trailing"in _?!!_.trailing:N),Pf(s,u,{leading:k,maxWait:u,trailing:N})}function Lv(s){return wf(s,1)}function Av(s,u){return ko(lo(u),s)}function Ev(){if(!arguments.length)return[];var s=arguments[0];return lt(s)?s:[s]}function Rv(s){return Yn(s,b)}function Dv(s,u){return u=typeof u=="function"?u:t,Yn(s,b,u)}function Vv(s){return Yn(s,g|b)}function Ov(s,u){return u=typeof u=="function"?u:t,Yn(s,g|b,u)}function Mv(s,u){return u==null||du(s,u,dn(u))}function li(s,u){return s===u||s!==s&&u!==u}var Fv=Ha(js),Uv=Ha(function(s,u){return s>=u}),Ml=bu(function(){return arguments}())?bu:function(s){return $t(s)&&At.call(s,"callee")&&!lu.call(s,"callee")},lt=oe.isArray,Bv=$i?Un($i):Jm;function Rn(s){return s!=null&&Qa(s.length)&&!Bi(s)}function xt(s){return $t(s)&&Rn(s)}function Hv(s){return s===!0||s===!1||$t(s)&&yn(s)==ct}var sl=em||Ro,Wv=Yl?Un(Yl):Ym;function qv(s){return $t(s)&&s.nodeType===1&&!Wr(s)}function zv(s){if(s==null)return!0;if(Rn(s)&&(lt(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||sr(s)||Ml(s)))return!s.length;var u=wn(s);if(u==St||u==tt)return!s.size;if(Br(s))return!Qs(s).length;for(var _ in s)if(At.call(s,_))return!1;return!0}function Gv(s,u){return Mr(s,u)}function Kv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Mr(s,u,t,_):!!k}function So(s){if(!$t(s))return!1;var u=yn(s);return u==Ft||u==dt||typeof s.message=="string"&&typeof s.name=="string"&&!Wr(s)}function jv(s){return typeof s=="number"&&au(s)}function Bi(s){if(!Kt(s))return!1;var u=yn(s);return u==de||u==xe||u==Fe||u==Te}function Nf(s){return typeof s=="number"&&s==st(s)}function Qa(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=fe}function Kt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function $t(s){return s!=null&&typeof s=="object"}var Tf=Nl?Un(Nl):Zm;function Jv(s,u){return s===u||Ys(s,u,co(u))}function Yv(s,u,_){return _=typeof _=="function"?_:t,Ys(s,u,co(u),_)}function Qv(s){return Lf(s)&&s!=+s}function Zv(s){if(D1(s))throw new et(r);return vu(s)}function Xv(s){return s===null}function $v(s){return s==null}function Lf(s){return typeof s=="number"||$t(s)&&yn(s)==ln}function Wr(s){if(!$t(s)||yn(s)!=an)return!1;var u=Sa(s);if(u===null)return!0;var _=At.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ba.call(_)==Yp}var Co=Ts?Un(Ts):Xm;function xv(s){return Nf(s)&&s>=-fe&&s<=fe}var Af=Ql?Un(Ql):$m;function Za(s){return typeof s=="string"||!lt(s)&&$t(s)&&yn(s)==Yt}function Hn(s){return typeof s=="symbol"||$t(s)&&yn(s)==Qt}var sr=ca?Un(ca):xm;function e0(s){return s===t}function t0(s){return $t(s)&&wn(s)==Lt}function n0(s){return $t(s)&&yn(s)==gn}var i0=Ha(Zs),l0=Ha(function(s,u){return s<=u});function Ef(s){if(!s)return[];if(Rn(s))return Za(s)?ni(s):En(s);if(Tr&&s[Tr])return Mp(s[Tr]());var u=wn(s),_=u==St?Fs:u==tt?_a:or;return _(s)}function Hi(s){if(!s)return s===0?s:0;if(s=Xn(s),s===ae||s===-ae){var u=s<0?-1:1;return u*ne}return s===s?s:0}function st(s){var u=Hi(s),_=u%1;return u===u?_?u-_:u:0}function Rf(s){return s?Rl(st(s),0,Se):0}function Xn(s){if(typeof s=="number")return s;if(Hn(s))return se;if(Kt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Kt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Zo(s);var _=Wt.test(s);return _||ci.test(s)?Pr(s.slice(2),_?2:8):bt.test(s)?se:+s}function Df(s){return gi(s,Dn(s))}function r0(s){return s?Rl(st(s),-fe,fe):s===0?s:0}function Nt(s){return s==null?"":Bn(s)}var a0=lr(function(s,u){if(Br(u)||Rn(u)){gi(u,dn(u),s);return}for(var _ in u)At.call(u,_)&&Dr(s,_,u[_])}),Vf=lr(function(s,u){gi(u,Dn(u),s)}),Xa=lr(function(s,u,_,k){gi(u,Dn(u),s,k)}),s0=lr(function(s,u,_,k){gi(u,dn(u),s,k)}),o0=Fi(zs);function u0(s,u){var _=ir(s);return u==null?_:cu(_,u)}var f0=ut(function(s,u){s=Mt(s);var _=-1,k=u.length,N=k>2?u[2]:t;for(N&&Pn(u[0],u[1],N)&&(k=1);++_<k;)for(var F=u[_],q=Dn(F),J=-1,x=q.length;++J<x;){var _e=q[J],pe=s[_e];(pe===t||li(pe,er[_e])&&!At.call(s,_e))&&(s[_e]=F[_e])}return s}),c0=ut(function(s){return s.push(t,Zu),cn(Of,t,s)});function d0(s,u){return jo(s,Ye(u,3),hi)}function h0(s,u){return jo(s,Ye(u,3),Ks)}function g0(s,u){return s==null?s:Gs(s,Ye(u,3),Dn)}function _0(s,u){return s==null?s:pu(s,Ye(u,3),Dn)}function p0(s,u){return s&&hi(s,Ye(u,3))}function m0(s,u){return s&&Ks(s,Ye(u,3))}function b0(s){return s==null?[]:Ra(s,dn(s))}function v0(s){return s==null?[]:Ra(s,Dn(s))}function yo(s,u,_){var k=s==null?t:Dl(s,u);return k===t?_:k}function w0(s,u){return s!=null&&xu(s,u,zm)}function Po(s,u){return s!=null&&xu(s,u,Gm)}var k0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),s[u]=_},No(Vn)),S0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),At.call(s,u)?s[u].push(_):s[u]=[_]},Ye),C0=ut(Or);function dn(s){return Rn(s)?uu(s):Qs(s)}function Dn(s){return Rn(s)?uu(s,!0):e1(s)}function y0(s,u){var _={};return u=Ye(u,3),hi(s,function(k,N,F){Oi(_,u(k,N,F),k)}),_}function P0(s,u){var _={};return u=Ye(u,3),hi(s,function(k,N,F){Oi(_,N,u(k,N,F))}),_}var I0=lr(function(s,u,_){Da(s,u,_)}),Of=lr(function(s,u,_,k){Da(s,u,_,k)}),N0=Fi(function(s,u){var _={};if(s==null)return _;var k=!1;u=zt(u,function(F){return F=rl(F,s),k||(k=F.length>1),F}),gi(s,uo(s),_),k&&(_=Yn(_,g|p|b,k1));for(var N=u.length;N--;)to(_,u[N]);return _});function T0(s,u){return Mf(s,Ya(Ye(u)))}var L0=Fi(function(s,u){return s==null?{}:n1(s,u)});function Mf(s,u){if(s==null)return{};var _=zt(uo(s),function(k){return[k]});return u=Ye(u),Iu(s,_,function(k,N){return u(k,N[0])})}function A0(s,u,_){u=rl(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var F=s==null?t:s[_i(u[k])];F===t&&(k=N,F=_),s=Bi(F)?F.call(s):F}return s}function E0(s,u,_){return s==null?s:Fr(s,u,_)}function R0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Fr(s,u,_,k)}var Ff=Yu(dn),Uf=Yu(Dn);function D0(s,u,_){var k=lt(s),N=k||sl(s)||sr(s);if(u=Ye(u,4),_==null){var F=s&&s.constructor;N?_=k?new F:[]:Kt(s)?_=Bi(F)?ir(Sa(s)):{}:_={}}return(N?Ot:hi)(s,function(q,J,x){return u(_,q,J,x)}),_}function V0(s,u){return s==null?!0:to(s,u)}function O0(s,u,_){return s==null?s:Eu(s,u,lo(_))}function M0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Eu(s,u,lo(_),k)}function or(s){return s==null?[]:Ms(s,dn(s))}function F0(s){return s==null?[]:Ms(s,Dn(s))}function U0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=Xn(_),_=_===_?_:0),u!==t&&(u=Xn(u),u=u===u?u:0),Rl(Xn(s),u,_)}function B0(s,u,_){return u=Hi(u),_===t?(_=u,u=0):_=Hi(_),s=Xn(s),Km(s,u,_)}function H0(s,u,_){if(_&&typeof _!="boolean"&&Pn(s,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof s=="boolean"&&(_=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Hi(s),u===t?(u=s,s=0):u=Hi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var N=su();return vn(s+N*(u-s+Xi("1e-"+((N+"").length-1))),u)}return $s(s,u)}var W0=rr(function(s,u,_){return u=u.toLowerCase(),s+(_?Bf(u):u)});function Bf(s){return Io(Nt(s).toLowerCase())}function Hf(s){return s=Nt(s),s&&s.replace(Pl,Ep).replace(Is,"")}function q0(s,u,_){s=Nt(s),u=Bn(u);var k=s.length;_=_===t?k:Rl(st(_),0,k);var N=_;return _-=u.length,_>=0&&s.slice(_,N)==u}function z0(s){return s=Nt(s),s&&oi.test(s)?s.replace(Gi,Rp):s}function G0(s){return s=Nt(s),s&&yl.test(s)?s.replace(Ti,"\\$&"):s}var K0=rr(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),j0=rr(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),J0=qu("toLowerCase");function Y0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ba(Ia(N),_)+s+Ba(Pa(N),_)}function Q0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;return u&&k<u?s+Ba(u-k,_):s}function Z0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;return u&&k<u?Ba(u-k,_)+s:s}function X0(s,u,_){return _||u==null?u=0:u&&(u=+u),lm(Nt(s).replace(ei,""),u||0)}function $0(s,u,_){return(_?Pn(s,u,_):u===t)?u=1:u=st(u),xs(Nt(s),u)}function x0(){var s=arguments,u=Nt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var ew=rr(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function tw(s,u,_){return _&&typeof _!="number"&&Pn(s,u,_)&&(u=_=t),_=_===t?Se:_>>>0,_?(s=Nt(s),s&&(typeof u=="string"||u!=null&&!Co(u))&&(u=Bn(u),!u&&Xl(s))?al(ni(s),0,_):s.split(u,_)):[]}var nw=rr(function(s,u,_){return s+(_?" ":"")+Io(u)});function iw(s,u,_){return s=Nt(s),_=_==null?0:Rl(st(_),0,s.length),u=Bn(u),s.slice(_,_+u.length)==u}function lw(s,u,_){var k=M.templateSettings;_&&Pn(s,u,_)&&(u=t),s=Nt(s),u=Xa({},u,k,Qu);var N=Xa({},u.imports,k.imports,Qu),F=dn(N),q=Ms(N,F),J,x,_e=0,pe=u.interpolate||di,ye="__p += '",De=Us((u.escape||di).source+"|"+pe.source+"|"+(pe===ji?nt:di).source+"|"+(u.evaluate||di).source+"|$","g"),Ke="//# sourceURL="+(At.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ge+"]")+`
35
+ `)}function A1(s){return lt(s)||Ml(s)||!!(ru&&s&&s[ru])}function Ui(s,u){var _=typeof s;return u=u??fe,!!u&&(_=="number"||_!="symbol"&&Ji.test(s))&&s>-1&&s%1==0&&s<u}function Pn(s,u,_){if(!Kt(_))return!1;var k=typeof u;return(k=="number"?Rn(_)&&Ui(u,_.length):k=="string"&&u in _)?li(_[u],s):!1}function go(s,u){if(lt(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Hn(s)?!0:Sl.test(s)||!kl.test(s)||u!=null&&s in Mt(u)}function E1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function _o(s){var u=Wa(s),_=M[u];if(typeof _!="function"||!(u in _t.prototype))return!1;if(s===_)return!0;var k=fo(_);return!!k&&s===k[0]}function R1(s){return!!tu&&tu in s}var D1=ma?Bi:Ro;function Br(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||er;return s===_}function tf(s){return s===s&&!Kt(s)}function nf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Mt(_))}}function V1(s){var u=Ja(s,function(k){return _.size===h&&_.clear(),k}),_=u.cache;return u}function O1(s,u){var _=s[1],k=u[1],N=_|k,F=N<(C|y|H),q=k==H&&_==I||k==H&&_==D&&s[7].length<=u[8]||k==(H|D)&&u[7].length<=u[8]&&_==I;if(!(F||q))return s;k&C&&(s[2]=u[2],N|=_&C?0:P);var J=u[3];if(J){var x=s[3];s[3]=x?Uu(x,J,u[4]):J,s[4]=x?tl(s[3],d):u[4]}return J=u[5],J&&(x=s[5],s[5]=x?Bu(x,J,u[6]):J,s[6]=x?tl(s[5],d):u[6]),J=u[7],J&&(s[7]=J),k&H&&(s[8]=s[8]==null?u[8]:vn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function M1(s){var u=[];if(s!=null)for(var _ in Mt(s))u.push(_);return u}function F1(s){return va.call(s)}function lf(s,u,_){return u=un(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,F=un(k.length-u,0),q=oe(F);++N<F;)q[N]=k[u+N];N=-1;for(var J=oe(u+1);++N<u;)J[N]=k[N];return J[u]=_(q),dn(s,this,J)}}function rf(s,u){return u.length<2?s:Dl(s,Qn(u,0,-1))}function U1(s,u){for(var _=s.length,k=vn(u.length,_),N=En(s);k--;){var F=u[k];s[k]=Ui(F,_)?N[F]:t}return s}function po(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var af=of(Tu),Hr=xp||function(s,u){return Be.setTimeout(s,u)},mo=of(s1);function sf(s,u,_){var k=u+"";return mo(s,L1(k,B1(I1(k),_)))}function of(s){var u=0,_=0;return function(){var k=im(),N=ce-(k-_);if(_=k,N>0){if(++u>=X)return arguments[0]}else u=0;return s.apply(t,arguments)}}function za(s,u){var _=-1,k=s.length,N=k-1;for(u=u===t?k:u;++_<u;){var F=$s(_,N),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var uf=V1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Cl,function(_,k,N,F){u.push(N?F.replace(Xe,"$1"):k||_)}),u});function _i(s){if(typeof s=="string"||Hn(s))return s;var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function Ol(s){if(s!=null){try{return ba.call(s)}catch{}try{return s+""}catch{}}return""}function B1(s,u){return Ot(ze,function(_){var k="_."+_[0];u&_[1]&&!ha(s,k)&&s.push(k)}),s.sort()}function ff(s){if(s instanceof _t)return s.clone();var u=new Jn(s.__wrapped__,s.__chain__);return u.__actions__=En(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function H1(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=un(st(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,F=0,q=oe(Pa(k/u));N<k;)q[F++]=Qn(s,N,N+=u);return q}function W1(s){for(var u=-1,_=s==null?0:s.length,k=0,N=[];++u<_;){var F=s[u];F&&(N[k++]=F)}return N}function q1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(lt(_)?En(_):[_],_n(u,1))}var z1=ut(function(s,u){return xt(s)?Vr(s,_n(u,1,xt,!0)):[]}),G1=ut(function(s,u){var _=Zn(u);return xt(_)&&(_=t),xt(s)?Vr(s,_n(u,1,xt,!0),Ye(_,2)):[]}),K1=ut(function(s,u){var _=Zn(u);return xt(_)&&(_=t),xt(s)?Vr(s,_n(u,1,xt,!0),t,_):[]});function j1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),Qn(s,u<0?0:u,k)):[]}function J1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Qn(s,0,u<0?0:u)):[]}function Y1(s,u){return s&&s.length?Oa(s,Ye(u,3),!0,!0):[]}function Q1(s,u){return s&&s.length?Oa(s,Ye(u,3),!0):[]}function Z1(s,u,_,k){var N=s==null?0:s.length;return N?(_&&typeof _!="number"&&Pn(s,u,_)&&(_=0,k=N),qm(s,u,_,k)):[]}function cf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=un(k+N,0)),ga(s,Ye(u,3),N)}function df(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return _!==t&&(N=st(_),N=_<0?un(k+N,0):vn(N,k-1)),ga(s,Ye(u,3),N,!0)}function hf(s){var u=s==null?0:s.length;return u?_n(s,1):[]}function X1(s){var u=s==null?0:s.length;return u?_n(s,ae):[]}function $1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:st(u),_n(s,u)):[]}function x1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var N=s[u];k[N[0]]=N[1]}return k}function gf(s){return s&&s.length?s[0]:t}function eb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=un(k+N,0)),Zl(s,u,N)}function tb(s){var u=s==null?0:s.length;return u?Qn(s,0,-1):[]}var nb=ut(function(s){var u=zt(s,io);return u.length&&u[0]===s[0]?Js(u):[]}),ib=ut(function(s){var u=Zn(s),_=zt(s,io);return u===Zn(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Js(_,Ye(u,2)):[]}),lb=ut(function(s){var u=Zn(s),_=zt(s,io);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Js(_,t,u):[]});function rb(s,u){return s==null?"":tm.call(s,u)}function Zn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function ab(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k;return _!==t&&(N=st(_),N=N<0?un(k+N,0):vn(N,k-1)),u===u?Bp(s,u,N):ga(s,Jo,N,!0)}function sb(s,u){return s&&s.length?yu(s,st(u)):t}var ob=ut(_f);function _f(s,u){return s&&s.length&&u&&u.length?Xs(s,u):s}function ub(s,u,_){return s&&s.length&&u&&u.length?Xs(s,u,Ye(_,2)):s}function fb(s,u,_){return s&&s.length&&u&&u.length?Xs(s,u,t,_):s}var cb=Fi(function(s,u){var _=s==null?0:s.length,k=zs(s,u);return Nu(s,zt(u,function(N){return Ui(N,_)?+N:N}).sort(Fu)),k});function db(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,N=[],F=s.length;for(u=Ye(u,3);++k<F;){var q=s[k];u(q,k,s)&&(_.push(q),N.push(k))}return Nu(s,N),_}function bo(s){return s==null?s:rm.call(s)}function hb(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&Pn(s,u,_)?(u=0,_=k):(u=u==null?0:st(u),_=_===t?k:st(_)),Qn(s,u,_)):[]}function gb(s,u){return Va(s,u)}function _b(s,u,_){return eo(s,u,Ye(_,2))}function pb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u);if(k<_&&li(s[k],u))return k}return-1}function mb(s,u){return Va(s,u,!0)}function bb(s,u,_){return eo(s,u,Ye(_,2),!0)}function vb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u,!0)-1;if(li(s[k],u))return k}return-1}function wb(s){return s&&s.length?Lu(s):[]}function kb(s,u){return s&&s.length?Lu(s,Ye(u,2)):[]}function Sb(s){var u=s==null?0:s.length;return u?Qn(s,1,u):[]}function Cb(s,u,_){return s&&s.length?(u=_||u===t?1:st(u),Qn(s,0,u<0?0:u)):[]}function yb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Qn(s,u<0?0:u,k)):[]}function Pb(s,u){return s&&s.length?Oa(s,Ye(u,3),!1,!0):[]}function Ib(s,u){return s&&s.length?Oa(s,Ye(u,3)):[]}var Nb=ut(function(s){return ll(_n(s,1,xt,!0))}),Tb=ut(function(s){var u=Zn(s);return xt(u)&&(u=t),ll(_n(s,1,xt,!0),Ye(u,2))}),Lb=ut(function(s){var u=Zn(s);return u=typeof u=="function"?u:t,ll(_n(s,1,xt,!0),t,u)});function Ab(s){return s&&s.length?ll(s):[]}function Eb(s,u){return s&&s.length?ll(s,Ye(u,2)):[]}function Rb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function vo(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(_){if(xt(_))return u=un(_.length,u),!0}),Os(u,function(_){return zt(s,Rs(_))})}function pf(s,u){if(!(s&&s.length))return[];var _=vo(s);return u==null?_:zt(_,function(k){return dn(u,t,k)})}var Db=ut(function(s,u){return xt(s)?Vr(s,u):[]}),Vb=ut(function(s){return no(xi(s,xt))}),Ob=ut(function(s){var u=Zn(s);return xt(u)&&(u=t),no(xi(s,xt),Ye(u,2))}),Mb=ut(function(s){var u=Zn(s);return u=typeof u=="function"?u:t,no(xi(s,xt),t,u)}),Fb=ut(vo);function Ub(s,u){return Du(s||[],u||[],Dr)}function Bb(s,u){return Du(s||[],u||[],Fr)}var Hb=ut(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,pf(s,_)});function mf(s){var u=M(s);return u.__chain__=!0,u}function Wb(s,u){return u(s),s}function Ga(s,u){return u(s)}var qb=Fi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,N=function(F){return zs(F,s)};return u>1||this.__actions__.length||!(k instanceof _t)||!Ui(_)?this.thru(N):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:Ga,args:[N],thisArg:t}),new Jn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function zb(){return mf(this)}function Gb(){return new Jn(this.value(),this.__chain__)}function Kb(){this.__values__===t&&(this.__values__=Ef(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function jb(){return this}function Jb(s){for(var u,_=this;_ instanceof La;){var k=ff(_);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;_=_.__wrapped__}return N.__wrapped__=s,u}function Yb(){var s=this.__wrapped__;if(s instanceof _t){var u=s;return this.__actions__.length&&(u=new _t(this)),u=u.reverse(),u.__actions__.push({func:Ga,args:[bo],thisArg:t}),new Jn(u,this.__chain__)}return this.thru(bo)}function Qb(){return Ru(this.__wrapped__,this.__actions__)}var Zb=Ma(function(s,u,_){At.call(s,_)?++s[_]:Oi(s,_,1)});function Xb(s,u,_){var k=lt(s)?da:Wm;return _&&Pn(s,u,_)&&(u=t),k(s,Ye(u,3))}function $b(s,u){var _=lt(s)?xi:_u;return _(s,Ye(u,3))}var xb=zu(cf),ev=zu(df);function tv(s,u){return _n(Ka(s,u),1)}function nv(s,u){return _n(Ka(s,u),ae)}function iv(s,u,_){return _=_===t?1:st(_),_n(Ka(s,u),_)}function bf(s,u){var _=lt(s)?Ot:il;return _(s,Ye(u,3))}function vf(s,u){var _=lt(s)?Kn:gu;return _(s,Ye(u,3))}var lv=Ma(function(s,u,_){At.call(s,_)?s[_].push(u):Oi(s,_,[u])});function rv(s,u,_,k){s=Rn(s)?s:or(s),_=_&&!k?st(_):0;var N=s.length;return _<0&&(_=un(N+_,0)),Za(s)?_<=N&&s.indexOf(u,_)>-1:!!N&&Zl(s,u,_)>-1}var av=ut(function(s,u,_){var k=-1,N=typeof u=="function",F=Rn(s)?oe(s.length):[];return il(s,function(q){F[++k]=N?dn(u,q,_):Or(q,u,_)}),F}),sv=Ma(function(s,u,_){Oi(s,_,u)});function Ka(s,u){var _=lt(s)?zt:ku;return _(s,Ye(u,3))}function ov(s,u,_,k){return s==null?[]:(lt(u)||(u=u==null?[]:[u]),_=k?t:_,lt(_)||(_=_==null?[]:[_]),Pu(s,u,_))}var uv=Ma(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function fv(s,u,_){var k=lt(s)?As:Qo,N=arguments.length<3;return k(s,Ye(u,4),_,N,il)}function cv(s,u,_){var k=lt(s)?Cp:Qo,N=arguments.length<3;return k(s,Ye(u,4),_,N,gu)}function dv(s,u){var _=lt(s)?xi:_u;return _(s,Ya(Ye(u,3)))}function hv(s){var u=lt(s)?fu:r1;return u(s)}function gv(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=st(u);var k=lt(s)?Mm:a1;return k(s,u)}function _v(s){var u=lt(s)?Fm:o1;return u(s)}function pv(s){if(s==null)return 0;if(Rn(s))return Za(s)?$l(s):s.length;var u=wn(s);return u==St||u==tt?s.size:Qs(s).length}function mv(s,u,_){var k=lt(s)?Es:u1;return _&&Pn(s,u,_)&&(u=t),k(s,Ye(u,3))}var bv=ut(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Pn(s,u[0],u[1])?u=[]:_>2&&Pn(u[0],u[1],u[2])&&(u=[u[0]]),Pu(s,_n(u,1),[])}),ja=$p||function(){return Be.Date.now()};function vv(s,u){if(typeof u!="function")throw new jn(a);return s=st(s),function(){if(--s<1)return u.apply(this,arguments)}}function wf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Mi(s,H,t,t,t,t,u)}function kf(s,u){var _;if(typeof u!="function")throw new jn(a);return s=st(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var wo=ut(function(s,u,_){var k=C;if(_.length){var N=tl(_,ar(wo));k|=V}return Mi(s,k,u,_,N)}),Sf=ut(function(s,u,_){var k=C|y;if(_.length){var N=tl(_,ar(Sf));k|=V}return Mi(u,k,s,_,N)});function Cf(s,u,_){u=_?t:u;var k=Mi(s,I,t,t,t,t,t,u);return k.placeholder=Cf.placeholder,k}function yf(s,u,_){u=_?t:u;var k=Mi(s,T,t,t,t,t,t,u);return k.placeholder=yf.placeholder,k}function Pf(s,u,_){var k,N,F,q,J,x,_e=0,pe=!1,ye=!1,De=!0;if(typeof s!="function")throw new jn(a);u=Xn(u)||0,Kt(_)&&(pe=!!_.leading,ye="maxWait"in _,F=ye?un(Xn(_.maxWait)||0,u):F,De="trailing"in _?!!_.trailing:De);function Ke(en){var ri=k,Wi=N;return k=N=t,_e=en,q=s.apply(Wi,ri),q}function Qe(en){return _e=en,J=Hr(gt,u),pe?Ke(en):q}function ot(en){var ri=en-x,Wi=en-_e,Gf=u-ri;return ye?vn(Gf,F-Wi):Gf}function Ze(en){var ri=en-x,Wi=en-_e;return x===t||ri>=u||ri<0||ye&&Wi>=F}function gt(){var en=ja();if(Ze(en))return pt(en);J=Hr(gt,ot(en))}function pt(en){return J=t,De&&k?Ke(en):(k=N=t,q)}function Wn(){J!==t&&Vu(J),_e=0,k=x=N=J=t}function In(){return J===t?q:pt(ja())}function qn(){var en=ja(),ri=Ze(en);if(k=arguments,N=this,x=en,ri){if(J===t)return Qe(x);if(ye)return Vu(J),J=Hr(gt,u),Ke(x)}return J===t&&(J=Hr(gt,u)),q}return qn.cancel=Wn,qn.flush=In,qn}var wv=ut(function(s,u){return hu(s,1,u)}),kv=ut(function(s,u,_){return hu(s,Xn(u)||0,_)});function Sv(s){return Mi(s,O)}function Ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new jn(a);var _=function(){var k=arguments,N=u?u.apply(this,k):k[0],F=_.cache;if(F.has(N))return F.get(N);var q=s.apply(this,k);return _.cache=F.set(N,q)||F,q};return _.cache=new(Ja.Cache||Vi),_}Ja.Cache=Vi;function Ya(s){if(typeof s!="function")throw new jn(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function Cv(s){return kf(2,s)}var yv=f1(function(s,u){u=u.length==1&&lt(u[0])?zt(u[0],Un(Ye())):zt(_n(u,1),Un(Ye()));var _=u.length;return ut(function(k){for(var N=-1,F=vn(k.length,_);++N<F;)k[N]=u[N].call(this,k[N]);return dn(s,this,k)})}),ko=ut(function(s,u){var _=tl(u,ar(ko));return Mi(s,V,t,u,_)}),If=ut(function(s,u){var _=tl(u,ar(If));return Mi(s,E,t,u,_)}),Pv=Fi(function(s,u){return Mi(s,D,t,t,t,u)});function Iv(s,u){if(typeof s!="function")throw new jn(a);return u=u===t?u:st(u),ut(s,u)}function Nv(s,u){if(typeof s!="function")throw new jn(a);return u=u==null?0:un(st(u),0),ut(function(_){var k=_[u],N=al(_,0,u);return k&&el(N,k),dn(s,this,N)})}function Tv(s,u,_){var k=!0,N=!0;if(typeof s!="function")throw new jn(a);return Kt(_)&&(k="leading"in _?!!_.leading:k,N="trailing"in _?!!_.trailing:N),Pf(s,u,{leading:k,maxWait:u,trailing:N})}function Lv(s){return wf(s,1)}function Av(s,u){return ko(lo(u),s)}function Ev(){if(!arguments.length)return[];var s=arguments[0];return lt(s)?s:[s]}function Rv(s){return Yn(s,b)}function Dv(s,u){return u=typeof u=="function"?u:t,Yn(s,b,u)}function Vv(s){return Yn(s,g|b)}function Ov(s,u){return u=typeof u=="function"?u:t,Yn(s,g|b,u)}function Mv(s,u){return u==null||du(s,u,hn(u))}function li(s,u){return s===u||s!==s&&u!==u}var Fv=Ha(js),Uv=Ha(function(s,u){return s>=u}),Ml=bu(function(){return arguments}())?bu:function(s){return $t(s)&&At.call(s,"callee")&&!lu.call(s,"callee")},lt=oe.isArray,Bv=$i?Un($i):Jm;function Rn(s){return s!=null&&Qa(s.length)&&!Bi(s)}function xt(s){return $t(s)&&Rn(s)}function Hv(s){return s===!0||s===!1||$t(s)&&yn(s)==ct}var sl=em||Ro,Wv=Yl?Un(Yl):Ym;function qv(s){return $t(s)&&s.nodeType===1&&!Wr(s)}function zv(s){if(s==null)return!0;if(Rn(s)&&(lt(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||sr(s)||Ml(s)))return!s.length;var u=wn(s);if(u==St||u==tt)return!s.size;if(Br(s))return!Qs(s).length;for(var _ in s)if(At.call(s,_))return!1;return!0}function Gv(s,u){return Mr(s,u)}function Kv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Mr(s,u,t,_):!!k}function So(s){if(!$t(s))return!1;var u=yn(s);return u==Ft||u==dt||typeof s.message=="string"&&typeof s.name=="string"&&!Wr(s)}function jv(s){return typeof s=="number"&&au(s)}function Bi(s){if(!Kt(s))return!1;var u=yn(s);return u==de||u==xe||u==Fe||u==Te}function Nf(s){return typeof s=="number"&&s==st(s)}function Qa(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=fe}function Kt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function $t(s){return s!=null&&typeof s=="object"}var Tf=Nl?Un(Nl):Zm;function Jv(s,u){return s===u||Ys(s,u,co(u))}function Yv(s,u,_){return _=typeof _=="function"?_:t,Ys(s,u,co(u),_)}function Qv(s){return Lf(s)&&s!=+s}function Zv(s){if(D1(s))throw new et(r);return vu(s)}function Xv(s){return s===null}function $v(s){return s==null}function Lf(s){return typeof s=="number"||$t(s)&&yn(s)==ln}function Wr(s){if(!$t(s)||yn(s)!=an)return!1;var u=Sa(s);if(u===null)return!0;var _=At.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ba.call(_)==Yp}var Co=Ts?Un(Ts):Xm;function xv(s){return Nf(s)&&s>=-fe&&s<=fe}var Af=Ql?Un(Ql):$m;function Za(s){return typeof s=="string"||!lt(s)&&$t(s)&&yn(s)==Yt}function Hn(s){return typeof s=="symbol"||$t(s)&&yn(s)==Qt}var sr=ca?Un(ca):xm;function e0(s){return s===t}function t0(s){return $t(s)&&wn(s)==Lt}function n0(s){return $t(s)&&yn(s)==gn}var i0=Ha(Zs),l0=Ha(function(s,u){return s<=u});function Ef(s){if(!s)return[];if(Rn(s))return Za(s)?ni(s):En(s);if(Tr&&s[Tr])return Mp(s[Tr]());var u=wn(s),_=u==St?Fs:u==tt?_a:or;return _(s)}function Hi(s){if(!s)return s===0?s:0;if(s=Xn(s),s===ae||s===-ae){var u=s<0?-1:1;return u*ne}return s===s?s:0}function st(s){var u=Hi(s),_=u%1;return u===u?_?u-_:u:0}function Rf(s){return s?Rl(st(s),0,Se):0}function Xn(s){if(typeof s=="number")return s;if(Hn(s))return se;if(Kt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Kt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Zo(s);var _=Wt.test(s);return _||ci.test(s)?Pr(s.slice(2),_?2:8):bt.test(s)?se:+s}function Df(s){return gi(s,Dn(s))}function r0(s){return s?Rl(st(s),-fe,fe):s===0?s:0}function Nt(s){return s==null?"":Bn(s)}var a0=lr(function(s,u){if(Br(u)||Rn(u)){gi(u,hn(u),s);return}for(var _ in u)At.call(u,_)&&Dr(s,_,u[_])}),Vf=lr(function(s,u){gi(u,Dn(u),s)}),Xa=lr(function(s,u,_,k){gi(u,Dn(u),s,k)}),s0=lr(function(s,u,_,k){gi(u,hn(u),s,k)}),o0=Fi(zs);function u0(s,u){var _=ir(s);return u==null?_:cu(_,u)}var f0=ut(function(s,u){s=Mt(s);var _=-1,k=u.length,N=k>2?u[2]:t;for(N&&Pn(u[0],u[1],N)&&(k=1);++_<k;)for(var F=u[_],q=Dn(F),J=-1,x=q.length;++J<x;){var _e=q[J],pe=s[_e];(pe===t||li(pe,er[_e])&&!At.call(s,_e))&&(s[_e]=F[_e])}return s}),c0=ut(function(s){return s.push(t,Zu),dn(Of,t,s)});function d0(s,u){return jo(s,Ye(u,3),hi)}function h0(s,u){return jo(s,Ye(u,3),Ks)}function g0(s,u){return s==null?s:Gs(s,Ye(u,3),Dn)}function _0(s,u){return s==null?s:pu(s,Ye(u,3),Dn)}function p0(s,u){return s&&hi(s,Ye(u,3))}function m0(s,u){return s&&Ks(s,Ye(u,3))}function b0(s){return s==null?[]:Ra(s,hn(s))}function v0(s){return s==null?[]:Ra(s,Dn(s))}function yo(s,u,_){var k=s==null?t:Dl(s,u);return k===t?_:k}function w0(s,u){return s!=null&&xu(s,u,zm)}function Po(s,u){return s!=null&&xu(s,u,Gm)}var k0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),s[u]=_},No(Vn)),S0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),At.call(s,u)?s[u].push(_):s[u]=[_]},Ye),C0=ut(Or);function hn(s){return Rn(s)?uu(s):Qs(s)}function Dn(s){return Rn(s)?uu(s,!0):e1(s)}function y0(s,u){var _={};return u=Ye(u,3),hi(s,function(k,N,F){Oi(_,u(k,N,F),k)}),_}function P0(s,u){var _={};return u=Ye(u,3),hi(s,function(k,N,F){Oi(_,N,u(k,N,F))}),_}var I0=lr(function(s,u,_){Da(s,u,_)}),Of=lr(function(s,u,_,k){Da(s,u,_,k)}),N0=Fi(function(s,u){var _={};if(s==null)return _;var k=!1;u=zt(u,function(F){return F=rl(F,s),k||(k=F.length>1),F}),gi(s,uo(s),_),k&&(_=Yn(_,g|p|b,k1));for(var N=u.length;N--;)to(_,u[N]);return _});function T0(s,u){return Mf(s,Ya(Ye(u)))}var L0=Fi(function(s,u){return s==null?{}:n1(s,u)});function Mf(s,u){if(s==null)return{};var _=zt(uo(s),function(k){return[k]});return u=Ye(u),Iu(s,_,function(k,N){return u(k,N[0])})}function A0(s,u,_){u=rl(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var F=s==null?t:s[_i(u[k])];F===t&&(k=N,F=_),s=Bi(F)?F.call(s):F}return s}function E0(s,u,_){return s==null?s:Fr(s,u,_)}function R0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Fr(s,u,_,k)}var Ff=Yu(hn),Uf=Yu(Dn);function D0(s,u,_){var k=lt(s),N=k||sl(s)||sr(s);if(u=Ye(u,4),_==null){var F=s&&s.constructor;N?_=k?new F:[]:Kt(s)?_=Bi(F)?ir(Sa(s)):{}:_={}}return(N?Ot:hi)(s,function(q,J,x){return u(_,q,J,x)}),_}function V0(s,u){return s==null?!0:to(s,u)}function O0(s,u,_){return s==null?s:Eu(s,u,lo(_))}function M0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Eu(s,u,lo(_),k)}function or(s){return s==null?[]:Ms(s,hn(s))}function F0(s){return s==null?[]:Ms(s,Dn(s))}function U0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=Xn(_),_=_===_?_:0),u!==t&&(u=Xn(u),u=u===u?u:0),Rl(Xn(s),u,_)}function B0(s,u,_){return u=Hi(u),_===t?(_=u,u=0):_=Hi(_),s=Xn(s),Km(s,u,_)}function H0(s,u,_){if(_&&typeof _!="boolean"&&Pn(s,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof s=="boolean"&&(_=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Hi(s),u===t?(u=s,s=0):u=Hi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var N=su();return vn(s+N*(u-s+Xi("1e-"+((N+"").length-1))),u)}return $s(s,u)}var W0=rr(function(s,u,_){return u=u.toLowerCase(),s+(_?Bf(u):u)});function Bf(s){return Io(Nt(s).toLowerCase())}function Hf(s){return s=Nt(s),s&&s.replace(Pl,Ep).replace(Is,"")}function q0(s,u,_){s=Nt(s),u=Bn(u);var k=s.length;_=_===t?k:Rl(st(_),0,k);var N=_;return _-=u.length,_>=0&&s.slice(_,N)==u}function z0(s){return s=Nt(s),s&&oi.test(s)?s.replace(Gi,Rp):s}function G0(s){return s=Nt(s),s&&yl.test(s)?s.replace(Ti,"\\$&"):s}var K0=rr(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),j0=rr(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),J0=qu("toLowerCase");function Y0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ba(Ia(N),_)+s+Ba(Pa(N),_)}function Q0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;return u&&k<u?s+Ba(u-k,_):s}function Z0(s,u,_){s=Nt(s),u=st(u);var k=u?$l(s):0;return u&&k<u?Ba(u-k,_)+s:s}function X0(s,u,_){return _||u==null?u=0:u&&(u=+u),lm(Nt(s).replace(ei,""),u||0)}function $0(s,u,_){return(_?Pn(s,u,_):u===t)?u=1:u=st(u),xs(Nt(s),u)}function x0(){var s=arguments,u=Nt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var ew=rr(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function tw(s,u,_){return _&&typeof _!="number"&&Pn(s,u,_)&&(u=_=t),_=_===t?Se:_>>>0,_?(s=Nt(s),s&&(typeof u=="string"||u!=null&&!Co(u))&&(u=Bn(u),!u&&Xl(s))?al(ni(s),0,_):s.split(u,_)):[]}var nw=rr(function(s,u,_){return s+(_?" ":"")+Io(u)});function iw(s,u,_){return s=Nt(s),_=_==null?0:Rl(st(_),0,s.length),u=Bn(u),s.slice(_,_+u.length)==u}function lw(s,u,_){var k=M.templateSettings;_&&Pn(s,u,_)&&(u=t),s=Nt(s),u=Xa({},u,k,Qu);var N=Xa({},u.imports,k.imports,Qu),F=hn(N),q=Ms(N,F),J,x,_e=0,pe=u.interpolate||di,ye="__p += '",De=Us((u.escape||di).source+"|"+pe.source+"|"+(pe===ji?nt:di).source+"|"+(u.evaluate||di).source+"|$","g"),Ke="//# sourceURL="+(At.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ge+"]")+`
36
36
  `;s.replace(De,function(Ze,gt,pt,Wn,In,qn){return pt||(pt=Wn),ye+=s.slice(_e,qn).replace(Il,Dp),gt&&(J=!0,ye+=`' +
37
37
  __e(`+gt+`) +
38
38
  '`),In&&(x=!0,ye+=`';
@@ -49,10 +49,10 @@ __p += '`),pt&&(ye+=`' +
49
49
  function print() { __p += __j.call(arguments, '') }
50
50
  `:`;
51
51
  `)+ye+`return __p
52
- }`;var ot=qf(function(){return Pt(F,Ke+"return "+ye).apply(t,q)});if(ot.source=ye,So(ot))throw ot;return ot}function rw(s){return Nt(s).toLowerCase()}function aw(s){return Nt(s).toUpperCase()}function sw(s,u,_){if(s=Nt(s),s&&(_||u===t))return Zo(s);if(!s||!(u=Bn(u)))return s;var k=ni(s),N=ni(u),F=Xo(k,N),q=$o(k,N)+1;return al(k,F,q).join("")}function ow(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.slice(0,eu(s)+1);if(!s||!(u=Bn(u)))return s;var k=ni(s),N=$o(k,ni(u))+1;return al(k,0,N).join("")}function uw(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.replace(ei,"");if(!s||!(u=Bn(u)))return s;var k=ni(s),N=Xo(k,ni(u));return al(k,N).join("")}function fw(s,u){var _=z,k=Q;if(Kt(u)){var N="separator"in u?u.separator:N;_="length"in u?st(u.length):_,k="omission"in u?Bn(u.omission):k}s=Nt(s);var F=s.length;if(Xl(s)){var q=ni(s);F=q.length}if(_>=F)return s;var J=_-$l(k);if(J<1)return k;var x=q?al(q,0,J).join(""):s.slice(0,J);if(N===t)return x+k;if(q&&(J+=x.length-J),Co(N)){if(s.slice(J).search(N)){var _e,pe=x;for(N.global||(N=Us(N.source,Nt(it.exec(N))+"g")),N.lastIndex=0;_e=N.exec(pe);)var ye=_e.index;x=x.slice(0,ye===t?J:ye)}}else if(s.indexOf(Bn(N),J)!=J){var De=x.lastIndexOf(N);De>-1&&(x=x.slice(0,De))}return x+k}function cw(s){return s=Nt(s),s&&Ki.test(s)?s.replace(Ni,Hp):s}var dw=rr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),Io=qu("toUpperCase");function Wf(s,u,_){return s=Nt(s),u=_?t:u,u===t?Op(s)?zp(s):Ip(s):s.match(u)||[]}var qf=ut(function(s,u){try{return cn(s,t,u)}catch(_){return So(_)?_:new et(_)}}),hw=Fi(function(s,u){return Ot(u,function(_){_=_i(_),Oi(s,_,wo(s[_],s))}),s});function gw(s){var u=s==null?0:s.length,_=Ye();return s=u?zt(s,function(k){if(typeof k[1]!="function")throw new jn(a);return[_(k[0]),k[1]]}):[],ut(function(k){for(var N=-1;++N<u;){var F=s[N];if(cn(F[0],this,k))return cn(F[1],this,k)}})}function _w(s){return Hm(Yn(s,g))}function No(s){return function(){return s}}function pw(s,u){return s==null||s!==s?u:s}var mw=Gu(),bw=Gu(!0);function Vn(s){return s}function To(s){return wu(typeof s=="function"?s:Yn(s,g))}function vw(s){return Su(Yn(s,g))}function ww(s,u){return Cu(s,Yn(u,g))}var kw=ut(function(s,u){return function(_){return Or(_,s,u)}}),Sw=ut(function(s,u){return function(_){return Or(s,_,u)}});function Lo(s,u,_){var k=dn(u),N=Ra(u,k);_==null&&!(Kt(u)&&(N.length||!k.length))&&(_=u,u=s,s=this,N=Ra(u,dn(u)));var F=!(Kt(_)&&"chain"in _)||!!_.chain,q=Bi(s);return Ot(N,function(J){var x=u[J];s[J]=x,q&&(s.prototype[J]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),ye=pe.__actions__=En(this.__actions__);return ye.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,el([this.value()],arguments))})}),s}function Cw(){return Be._===this&&(Be._=Qp),this}function Ao(){}function yw(s){return s=st(s),ut(function(u){return yu(u,s)})}var Pw=ao(zt),Iw=ao(da),Nw=ao(Es);function zf(s){return go(s)?Rs(_i(s)):i1(s)}function Tw(s){return function(u){return s==null?t:Dl(s,u)}}var Lw=ju(),Aw=ju(!0);function Eo(){return[]}function Ro(){return!1}function Ew(){return{}}function Rw(){return""}function Dw(){return!0}function Vw(s,u){if(s=st(s),s<1||s>fe)return[];var _=Se,k=vn(s,Se);u=Ye(u),s-=Se;for(var N=Os(k,u);++_<s;)u(_);return N}function Ow(s){return lt(s)?zt(s,_i):Hn(s)?[s]:En(uf(Nt(s)))}function Mw(s){var u=++Jp;return Nt(s)+u}var Fw=Ua(function(s,u){return s+u},0),Uw=so("ceil"),Bw=Ua(function(s,u){return s/u},1),Hw=so("floor");function Ww(s){return s&&s.length?Ea(s,Vn,js):t}function qw(s,u){return s&&s.length?Ea(s,Ye(u,2),js):t}function zw(s){return Yo(s,Vn)}function Gw(s,u){return Yo(s,Ye(u,2))}function Kw(s){return s&&s.length?Ea(s,Vn,Zs):t}function jw(s,u){return s&&s.length?Ea(s,Ye(u,2),Zs):t}var Jw=Ua(function(s,u){return s*u},1),Yw=so("round"),Qw=Ua(function(s,u){return s-u},0);function Zw(s){return s&&s.length?Vs(s,Vn):0}function Xw(s,u){return s&&s.length?Vs(s,Ye(u,2)):0}return M.after=vv,M.ary=wf,M.assign=a0,M.assignIn=Vf,M.assignInWith=Xa,M.assignWith=s0,M.at=o0,M.before=kf,M.bind=wo,M.bindAll=hw,M.bindKey=Sf,M.castArray=Ev,M.chain=mf,M.chunk=H1,M.compact=W1,M.concat=q1,M.cond=gw,M.conforms=_w,M.constant=No,M.countBy=Zb,M.create=u0,M.curry=Cf,M.curryRight=yf,M.debounce=Pf,M.defaults=f0,M.defaultsDeep=c0,M.defer=wv,M.delay=kv,M.difference=z1,M.differenceBy=G1,M.differenceWith=K1,M.drop=j1,M.dropRight=J1,M.dropRightWhile=Y1,M.dropWhile=Q1,M.fill=Z1,M.filter=$b,M.flatMap=tv,M.flatMapDeep=nv,M.flatMapDepth=iv,M.flatten=hf,M.flattenDeep=X1,M.flattenDepth=$1,M.flip=Sv,M.flow=mw,M.flowRight=bw,M.fromPairs=x1,M.functions=b0,M.functionsIn=v0,M.groupBy=lv,M.initial=tb,M.intersection=nb,M.intersectionBy=ib,M.intersectionWith=lb,M.invert=k0,M.invertBy=S0,M.invokeMap=av,M.iteratee=To,M.keyBy=sv,M.keys=dn,M.keysIn=Dn,M.map=Ka,M.mapKeys=y0,M.mapValues=P0,M.matches=vw,M.matchesProperty=ww,M.memoize=Ja,M.merge=I0,M.mergeWith=Of,M.method=kw,M.methodOf=Sw,M.mixin=Lo,M.negate=Ya,M.nthArg=yw,M.omit=N0,M.omitBy=T0,M.once=Cv,M.orderBy=ov,M.over=Pw,M.overArgs=yv,M.overEvery=Iw,M.overSome=Nw,M.partial=ko,M.partialRight=If,M.partition=uv,M.pick=L0,M.pickBy=Mf,M.property=zf,M.propertyOf=Tw,M.pull=ob,M.pullAll=_f,M.pullAllBy=ub,M.pullAllWith=fb,M.pullAt=cb,M.range=Lw,M.rangeRight=Aw,M.rearg=Pv,M.reject=dv,M.remove=db,M.rest=Iv,M.reverse=bo,M.sampleSize=gv,M.set=E0,M.setWith=R0,M.shuffle=_v,M.slice=hb,M.sortBy=bv,M.sortedUniq=wb,M.sortedUniqBy=kb,M.split=tw,M.spread=Nv,M.tail=Sb,M.take=Cb,M.takeRight=yb,M.takeRightWhile=Pb,M.takeWhile=Ib,M.tap=Wb,M.throttle=Tv,M.thru=Ga,M.toArray=Ef,M.toPairs=Ff,M.toPairsIn=Uf,M.toPath=Ow,M.toPlainObject=Df,M.transform=D0,M.unary=Lv,M.union=Nb,M.unionBy=Tb,M.unionWith=Lb,M.uniq=Ab,M.uniqBy=Eb,M.uniqWith=Rb,M.unset=V0,M.unzip=vo,M.unzipWith=pf,M.update=O0,M.updateWith=M0,M.values=or,M.valuesIn=F0,M.without=Db,M.words=Wf,M.wrap=Av,M.xor=Vb,M.xorBy=Ob,M.xorWith=Mb,M.zip=Fb,M.zipObject=Ub,M.zipObjectDeep=Bb,M.zipWith=Hb,M.entries=Ff,M.entriesIn=Uf,M.extend=Vf,M.extendWith=Xa,Lo(M,M),M.add=Fw,M.attempt=qf,M.camelCase=W0,M.capitalize=Bf,M.ceil=Uw,M.clamp=U0,M.clone=Rv,M.cloneDeep=Vv,M.cloneDeepWith=Ov,M.cloneWith=Dv,M.conformsTo=Mv,M.deburr=Hf,M.defaultTo=pw,M.divide=Bw,M.endsWith=q0,M.eq=li,M.escape=z0,M.escapeRegExp=G0,M.every=Xb,M.find=xb,M.findIndex=cf,M.findKey=d0,M.findLast=ev,M.findLastIndex=df,M.findLastKey=h0,M.floor=Hw,M.forEach=bf,M.forEachRight=vf,M.forIn=g0,M.forInRight=_0,M.forOwn=p0,M.forOwnRight=m0,M.get=yo,M.gt=Fv,M.gte=Uv,M.has=w0,M.hasIn=Po,M.head=gf,M.identity=Vn,M.includes=rv,M.indexOf=eb,M.inRange=B0,M.invoke=C0,M.isArguments=Ml,M.isArray=lt,M.isArrayBuffer=Bv,M.isArrayLike=Rn,M.isArrayLikeObject=xt,M.isBoolean=Hv,M.isBuffer=sl,M.isDate=Wv,M.isElement=qv,M.isEmpty=zv,M.isEqual=Gv,M.isEqualWith=Kv,M.isError=So,M.isFinite=jv,M.isFunction=Bi,M.isInteger=Nf,M.isLength=Qa,M.isMap=Tf,M.isMatch=Jv,M.isMatchWith=Yv,M.isNaN=Qv,M.isNative=Zv,M.isNil=$v,M.isNull=Xv,M.isNumber=Lf,M.isObject=Kt,M.isObjectLike=$t,M.isPlainObject=Wr,M.isRegExp=Co,M.isSafeInteger=xv,M.isSet=Af,M.isString=Za,M.isSymbol=Hn,M.isTypedArray=sr,M.isUndefined=e0,M.isWeakMap=t0,M.isWeakSet=n0,M.join=rb,M.kebabCase=K0,M.last=Zn,M.lastIndexOf=ab,M.lowerCase=j0,M.lowerFirst=J0,M.lt=i0,M.lte=l0,M.max=Ww,M.maxBy=qw,M.mean=zw,M.meanBy=Gw,M.min=Kw,M.minBy=jw,M.stubArray=Eo,M.stubFalse=Ro,M.stubObject=Ew,M.stubString=Rw,M.stubTrue=Dw,M.multiply=Jw,M.nth=sb,M.noConflict=Cw,M.noop=Ao,M.now=ja,M.pad=Y0,M.padEnd=Q0,M.padStart=Z0,M.parseInt=X0,M.random=H0,M.reduce=fv,M.reduceRight=cv,M.repeat=$0,M.replace=x0,M.result=A0,M.round=Yw,M.runInContext=$,M.sample=hv,M.size=pv,M.snakeCase=ew,M.some=mv,M.sortedIndex=gb,M.sortedIndexBy=_b,M.sortedIndexOf=pb,M.sortedLastIndex=mb,M.sortedLastIndexBy=bb,M.sortedLastIndexOf=vb,M.startCase=nw,M.startsWith=iw,M.subtract=Qw,M.sum=Zw,M.sumBy=Xw,M.template=lw,M.times=Vw,M.toFinite=Hi,M.toInteger=st,M.toLength=Rf,M.toLower=rw,M.toNumber=Xn,M.toSafeInteger=r0,M.toString=Nt,M.toUpper=aw,M.trim=sw,M.trimEnd=ow,M.trimStart=uw,M.truncate=fw,M.unescape=cw,M.uniqueId=Mw,M.upperCase=dw,M.upperFirst=Io,M.each=bf,M.eachRight=vf,M.first=gf,Lo(M,function(){var s={};return hi(M,function(u,_){At.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ot(["drop","take"],function(s,u){_t.prototype[s]=function(_){_=_===t?1:un(st(_),0);var k=this.__filtered__&&!u?new _t(this):this.clone();return k.__filtered__?k.__takeCount__=vn(_,k.__takeCount__):k.__views__.push({size:vn(_,Se),type:s+(k.__dir__<0?"Right":"")}),k},_t.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ot(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==Z||_==j;_t.prototype[s]=function(N){var F=this.clone();return F.__iteratees__.push({iteratee:Ye(N,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Ot(["head","last"],function(s,u){var _="take"+(u?"Right":"");_t.prototype[s]=function(){return this[_](1).value()[0]}}),Ot(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");_t.prototype[s]=function(){return this.__filtered__?new _t(this):this[_](1)}}),_t.prototype.compact=function(){return this.filter(Vn)},_t.prototype.find=function(s){return this.filter(s).head()},_t.prototype.findLast=function(s){return this.reverse().find(s)},_t.prototype.invokeMap=ut(function(s,u){return typeof s=="function"?new _t(this):this.map(function(_){return Or(_,s,u)})}),_t.prototype.reject=function(s){return this.filter(Ya(Ye(s)))},_t.prototype.slice=function(s,u){s=st(s);var _=this;return _.__filtered__&&(s>0||u<0)?new _t(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=st(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},_t.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},_t.prototype.toArray=function(){return this.take(Se)},hi(_t.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);N&&(M.prototype[u]=function(){var q=this.__wrapped__,J=k?[1]:arguments,x=q instanceof _t,_e=J[0],pe=x||lt(q),ye=function(gt){var pt=N.apply(M,el([gt],J));return k&&De?pt[0]:pt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var De=this.__chain__,Ke=!!this.__actions__.length,Qe=F&&!De,ot=x&&!Ke;if(!F&&pe){q=ot?q:new _t(this);var Ze=s.apply(q,J);return Ze.__actions__.push({func:Ga,args:[ye],thisArg:t}),new Jn(Ze,De)}return Qe&&ot?s.apply(this,J):(Ze=this.thru(ye),Qe?k?Ze.value()[0]:Ze.value():Ze)})}),Ot(["pop","push","shift","sort","splice","unshift"],function(s){var u=pa[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(lt(F)?F:[],N)}return this[_](function(q){return u.apply(lt(q)?q:[],N)})}}),hi(_t.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";At.call(nr,k)||(nr[k]=[]),nr[k].push({name:u,func:_})}}),nr[Fa(t,y).name]=[{name:"wrapper",func:t}],_t.prototype.clone=cm,_t.prototype.reverse=dm,_t.prototype.value=hm,M.prototype.at=qb,M.prototype.chain=zb,M.prototype.commit=Gb,M.prototype.next=Kb,M.prototype.plant=Jb,M.prototype.reverse=Yb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Qb,M.prototype.first=M.prototype.head,Tr&&(M.prototype[Tr]=jb),M},xl=Gp();yt?((yt.exports=xl)._=xl,It._=xl):Be._=xl}).call(zr)})(os,os.exports);var Jr=os.exports;class Gk{getNodePath(e,t){return me.getNodePath(e,t)}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ut.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ut.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=te.getConfigValue("routing.useHashRouting"),h=te.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?me.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=te.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return te.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return te.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){te.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),g=await me.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(h,d)=>await Ut.getChildren(h,d));if(n.isExistingRoute){const h=le.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),d=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await Ut.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let I=!1,T=P;for(;T;){if(T.tabNav===!0){I=!0;break}else if(T.tabNav===!1){I=!1;break}else if(le.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=re.getParentNode(T,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=re.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=re.getParentNode(V,g.navigationPath)}));const D=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=D;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:D,pathParams:g.pathParams,hideGlobalSearch:E||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:I};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let z=document.getElementsByClassName("iframeContainer")[0];if(z&&(I?z.classList.add("iframeContainerTabNav"):z.classList.contains("iframeContainerTabNav")&&z.classList.remove("iframeContainerTabNav")),d.compound)ai.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ai.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const X=document.querySelector(".wcContainer");if(X&&(X.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await ai.navigateIframe(l,t,n);else{const ce=t.get(),Z=await t.prepareInternalData(l);Ae.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ce.context),nodeParams:JSON.stringify(ce.nodeParams),pathParams:JSON.stringify(ce.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Z),withoutSync:!0})}}const Q=document.querySelector(".lui-tab-header");Q&&Q.dispatchEvent(new Event("lui_ctx_update")),Ut.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Ut.extractDataFromPath(e);ip.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){zn.deleteNodesRecursively(c);break}}else r=!1}}else zn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=ai.getActiveIframe(r);a&&a.vg&&ai.canCache(a.vg)?(ai.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{ai.switchActiveIframe(Ae.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=me.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...Fk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:dr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&dr.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Jr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>re.checkVisibleForFeatureToggles(a))),dr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),a=me.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),a=l[r],o=new URL(location.href),c=te.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=me.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=me.getURLWithoutModalData(o.search,r),g&&(d+="?"+me.getURLWithoutModalData(o.search,r));if(h=me.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(n),a.delete(`${n}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const at=new Gk;class Kk{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Ae.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),a=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){dr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(le.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ae.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ae.getIframeContainer().style.marginBottom="",ht.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ae.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ae.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ae.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ht=new Kk;class jk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const Jk=new jk;class Yk{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=te.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const si=new Yk;class Qk{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.getConfigValue(`auth.${e}`),n=fl.parseUrlAuthErrors()||{};if(await fl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await mi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ol(this._userInfoStore))),le.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&si.isNewlyAuthorized()&&await mi.handleAuthEvent("onAuthSuccessful",e,t),si.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{si.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await mi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),si.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await mi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const hn=new Qk;class Zk{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Yr=new Zk;class Xk{getStoredAuthData(){return si.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await mi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const fl=new Xk;class $k{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),g=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const pr=new $k;class xk{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return _k.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Yr.hasDecorators()?Yr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=te.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(g))try{g(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ae.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ae.specialIframeTypes.filter(n=>Ae.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Go.getActiveFeatureToggleList(),currentLocale:Tt.getCurrentLocale(),currentTheme:Bo.getCurrentTheme()}}}const Ae=new xk;class e2{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Jr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Jr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ae.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ae.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(zi.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!te.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=te._remotePromises;return l||(l={counter:0,promises:[]},te._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new e2;class t2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=te.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Go.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(mi.isAuthorizationEnabled()){const r=fl.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=te.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return me.getNodePath(e,null)}groupNodesBy(e,t,n){const l=te.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];le.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Tt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ut.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let g;const p=!!d.badgeCounter;if(p&&(g=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Ut.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:te.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter(l=>l!==e):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(e)}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";at.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?Tt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Tt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Ut.extractDataFromPath(e);return!!await Ut.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Jr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{Jr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Tt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return te.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:re.prepareForTests(e.pathSegment,e.label)}}const re=new t2;class n2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await rs.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(te.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=te.getConfigValue("routing.useHashRouting");Fn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?at.getHashPath():at.getModifiedPathname();e(l)}}),Fn.addEventListener("popstate",n=>{const l=t?at.getHashPath(location.href):at.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const a=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:at.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=Tt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];ul.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ul.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[pr.sanitizeParam(n[0])]=pr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Go.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=te.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=te.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in ul.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ul.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&ul.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=te.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&(l.redirectTo||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:Tt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const a=n?`${n}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}handleInheritedProperty(e,t,n){let l;return e&&(e.tabNav&&e[t]===!0&&(l=!0),e[t]===!1&&(l=!1),n&&typeof n=="function"&&n()),l}}const me=new n2;class i2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const pn=new i2;class l2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Fn=new l2;class r2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const a2=new r2;class s2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const cr=new s2,Kr=38,hr=40,hl=13,Hl=27,Qr=32,o2=36,u2=35;class rp{constructor(e,t){Fl(this,"dispatch");Fl(this,"search");Fl(this,"isCustomSearchRenderer");Fl(this,"isCustomSearchResultItemRenderer");Fl(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=le.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=le.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=Tt.getCurrentLocale();if(le.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Tt.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?le.isFunction(this.search.searchProvider.onEnter)&&e===hl?this.search.searchProvider.onEnter():le.isFunction(this.search.searchProvider.onEscape)&&e===Hl?this.search.searchProvider.onEscape():e===hr?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===hr&&(o=r!==null?r:t[0]),e===Kr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&le.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):le.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Hl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===hl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Kr||t===hr?this.calcSearchResultItemSelected(t):le.isFunction(this.search.searchProvider.onEscape)&&t===Hl&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>{this.setFocusOnGlobalSearchFieldDesktop(n)}),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?at.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>{this.setFocusOnGlobalSearchFieldDesktop()}),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&le.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Qf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Zf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=S("div"),t=S("div"),n=S("span"),r=W(),a=S("p"),c=W(),h=S("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){A(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=ee(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&L(e),p=!1,b()}}}function f2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Zf(Qf(i,t,l));return{c(){e=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-120xz9q"),f(e,"aria-hidden","false")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Qf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Zf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:We,o:We,d(l){l&&L(e),ft(n,l),i[5](null)}}}function c2(i,e,t){const n=Jt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=kt("getUnsavedChangesModalPromise"),c=kt("handleNavigation");Gn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=pr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),nn(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function g(p){je[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class d2 extends Vt{constructor(e){super(),Dt(this,e,c2,f2,Et,{alertQueue:0,alertTypeMap:1})}}function Xf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=Mn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=Mn(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function $f(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function h2(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,I=i[0].buttonDismiss+"",T,V,E,H,D,O=i[0].type&&Xf(i),z=i[0].buttonConfirm!==!1&&$f(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=W(),o=S("h2"),h=Ne(c),d=W(),g=S("div"),b=W(),m=S("footer"),v=S("div"),z&&z.c(),C=W(),y=S("div"),P=S("button"),T=Ne(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(g,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Q,X){A(Q,e,X),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,T),H||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Q,[X]){Q[0].type?O?O.p(Q,X):(O=Xf(Q),O.c(),O.m(r,a)):O&&(O.d(1),O=null),X&1&&c!==(c=Q[0].header+"")&&Le(h,c),X&1&&p!==(p=Q[0].body+"")&&(g.innerHTML=p),Q[0].buttonConfirm!==!1?z?z.p(Q,X):(z=$f(Q),z.c(),z.m(v,C)):z&&(z.d(1),z=null),X&1&&I!==(I=Q[0].buttonDismiss+"")&&Le(T,I),X&1&&V!==(V="fd-button "+(Q[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),X&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+Q[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:We,o:We,d(Q){Q&&L(e),O&&O.d(),z&&z.d(),H=!1,Je(D)}}}function g2(i,e,t){const n=Jt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Xr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),nn(()=>{const d={icon:r[l.type],header:Tt.getTranslation("luigi.confirmationModal.header"),body:Tt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===Hl&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class _2 extends Vt{constructor(e){super(),Dt(this,e,g2,h2,Et,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function p2(i){let e,t,n;const l=i[5].default,r=ds(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){A(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&gs(r,l,a,a[4],n?hs(l,a[4],o,null):_s(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&L(e),r&&r.d(a)}}}function m2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Jt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return nn(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Fn.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.enableA11yOfInactiveIframe()))}))}),Gn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class Wl extends Vt{constructor(e){super(),Dt(this,e,m2,p2,Et,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function xf(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new Wl({props:{disable:i[2]}});let v=i[0].title&&ec(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),h=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1hy363a")},m(C,y){A(C,e,y),Ve(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=ee(h,"click",i[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=ec(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(t),v&&v.d(),b=!1,m()}}}function ec(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&L(e)}}}function tc(i){let e;const t=i[10].default,n=ds(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&gs(n,t,l,l[9],e?hs(t,l[9],r,null):_s(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function nc(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
52
+ }`;var ot=qf(function(){return Pt(F,Ke+"return "+ye).apply(t,q)});if(ot.source=ye,So(ot))throw ot;return ot}function rw(s){return Nt(s).toLowerCase()}function aw(s){return Nt(s).toUpperCase()}function sw(s,u,_){if(s=Nt(s),s&&(_||u===t))return Zo(s);if(!s||!(u=Bn(u)))return s;var k=ni(s),N=ni(u),F=Xo(k,N),q=$o(k,N)+1;return al(k,F,q).join("")}function ow(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.slice(0,eu(s)+1);if(!s||!(u=Bn(u)))return s;var k=ni(s),N=$o(k,ni(u))+1;return al(k,0,N).join("")}function uw(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.replace(ei,"");if(!s||!(u=Bn(u)))return s;var k=ni(s),N=Xo(k,ni(u));return al(k,N).join("")}function fw(s,u){var _=z,k=Q;if(Kt(u)){var N="separator"in u?u.separator:N;_="length"in u?st(u.length):_,k="omission"in u?Bn(u.omission):k}s=Nt(s);var F=s.length;if(Xl(s)){var q=ni(s);F=q.length}if(_>=F)return s;var J=_-$l(k);if(J<1)return k;var x=q?al(q,0,J).join(""):s.slice(0,J);if(N===t)return x+k;if(q&&(J+=x.length-J),Co(N)){if(s.slice(J).search(N)){var _e,pe=x;for(N.global||(N=Us(N.source,Nt(it.exec(N))+"g")),N.lastIndex=0;_e=N.exec(pe);)var ye=_e.index;x=x.slice(0,ye===t?J:ye)}}else if(s.indexOf(Bn(N),J)!=J){var De=x.lastIndexOf(N);De>-1&&(x=x.slice(0,De))}return x+k}function cw(s){return s=Nt(s),s&&Ki.test(s)?s.replace(Ni,Hp):s}var dw=rr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),Io=qu("toUpperCase");function Wf(s,u,_){return s=Nt(s),u=_?t:u,u===t?Op(s)?zp(s):Ip(s):s.match(u)||[]}var qf=ut(function(s,u){try{return dn(s,t,u)}catch(_){return So(_)?_:new et(_)}}),hw=Fi(function(s,u){return Ot(u,function(_){_=_i(_),Oi(s,_,wo(s[_],s))}),s});function gw(s){var u=s==null?0:s.length,_=Ye();return s=u?zt(s,function(k){if(typeof k[1]!="function")throw new jn(a);return[_(k[0]),k[1]]}):[],ut(function(k){for(var N=-1;++N<u;){var F=s[N];if(dn(F[0],this,k))return dn(F[1],this,k)}})}function _w(s){return Hm(Yn(s,g))}function No(s){return function(){return s}}function pw(s,u){return s==null||s!==s?u:s}var mw=Gu(),bw=Gu(!0);function Vn(s){return s}function To(s){return wu(typeof s=="function"?s:Yn(s,g))}function vw(s){return Su(Yn(s,g))}function ww(s,u){return Cu(s,Yn(u,g))}var kw=ut(function(s,u){return function(_){return Or(_,s,u)}}),Sw=ut(function(s,u){return function(_){return Or(s,_,u)}});function Lo(s,u,_){var k=hn(u),N=Ra(u,k);_==null&&!(Kt(u)&&(N.length||!k.length))&&(_=u,u=s,s=this,N=Ra(u,hn(u)));var F=!(Kt(_)&&"chain"in _)||!!_.chain,q=Bi(s);return Ot(N,function(J){var x=u[J];s[J]=x,q&&(s.prototype[J]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),ye=pe.__actions__=En(this.__actions__);return ye.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,el([this.value()],arguments))})}),s}function Cw(){return Be._===this&&(Be._=Qp),this}function Ao(){}function yw(s){return s=st(s),ut(function(u){return yu(u,s)})}var Pw=ao(zt),Iw=ao(da),Nw=ao(Es);function zf(s){return go(s)?Rs(_i(s)):i1(s)}function Tw(s){return function(u){return s==null?t:Dl(s,u)}}var Lw=ju(),Aw=ju(!0);function Eo(){return[]}function Ro(){return!1}function Ew(){return{}}function Rw(){return""}function Dw(){return!0}function Vw(s,u){if(s=st(s),s<1||s>fe)return[];var _=Se,k=vn(s,Se);u=Ye(u),s-=Se;for(var N=Os(k,u);++_<s;)u(_);return N}function Ow(s){return lt(s)?zt(s,_i):Hn(s)?[s]:En(uf(Nt(s)))}function Mw(s){var u=++Jp;return Nt(s)+u}var Fw=Ua(function(s,u){return s+u},0),Uw=so("ceil"),Bw=Ua(function(s,u){return s/u},1),Hw=so("floor");function Ww(s){return s&&s.length?Ea(s,Vn,js):t}function qw(s,u){return s&&s.length?Ea(s,Ye(u,2),js):t}function zw(s){return Yo(s,Vn)}function Gw(s,u){return Yo(s,Ye(u,2))}function Kw(s){return s&&s.length?Ea(s,Vn,Zs):t}function jw(s,u){return s&&s.length?Ea(s,Ye(u,2),Zs):t}var Jw=Ua(function(s,u){return s*u},1),Yw=so("round"),Qw=Ua(function(s,u){return s-u},0);function Zw(s){return s&&s.length?Vs(s,Vn):0}function Xw(s,u){return s&&s.length?Vs(s,Ye(u,2)):0}return M.after=vv,M.ary=wf,M.assign=a0,M.assignIn=Vf,M.assignInWith=Xa,M.assignWith=s0,M.at=o0,M.before=kf,M.bind=wo,M.bindAll=hw,M.bindKey=Sf,M.castArray=Ev,M.chain=mf,M.chunk=H1,M.compact=W1,M.concat=q1,M.cond=gw,M.conforms=_w,M.constant=No,M.countBy=Zb,M.create=u0,M.curry=Cf,M.curryRight=yf,M.debounce=Pf,M.defaults=f0,M.defaultsDeep=c0,M.defer=wv,M.delay=kv,M.difference=z1,M.differenceBy=G1,M.differenceWith=K1,M.drop=j1,M.dropRight=J1,M.dropRightWhile=Y1,M.dropWhile=Q1,M.fill=Z1,M.filter=$b,M.flatMap=tv,M.flatMapDeep=nv,M.flatMapDepth=iv,M.flatten=hf,M.flattenDeep=X1,M.flattenDepth=$1,M.flip=Sv,M.flow=mw,M.flowRight=bw,M.fromPairs=x1,M.functions=b0,M.functionsIn=v0,M.groupBy=lv,M.initial=tb,M.intersection=nb,M.intersectionBy=ib,M.intersectionWith=lb,M.invert=k0,M.invertBy=S0,M.invokeMap=av,M.iteratee=To,M.keyBy=sv,M.keys=hn,M.keysIn=Dn,M.map=Ka,M.mapKeys=y0,M.mapValues=P0,M.matches=vw,M.matchesProperty=ww,M.memoize=Ja,M.merge=I0,M.mergeWith=Of,M.method=kw,M.methodOf=Sw,M.mixin=Lo,M.negate=Ya,M.nthArg=yw,M.omit=N0,M.omitBy=T0,M.once=Cv,M.orderBy=ov,M.over=Pw,M.overArgs=yv,M.overEvery=Iw,M.overSome=Nw,M.partial=ko,M.partialRight=If,M.partition=uv,M.pick=L0,M.pickBy=Mf,M.property=zf,M.propertyOf=Tw,M.pull=ob,M.pullAll=_f,M.pullAllBy=ub,M.pullAllWith=fb,M.pullAt=cb,M.range=Lw,M.rangeRight=Aw,M.rearg=Pv,M.reject=dv,M.remove=db,M.rest=Iv,M.reverse=bo,M.sampleSize=gv,M.set=E0,M.setWith=R0,M.shuffle=_v,M.slice=hb,M.sortBy=bv,M.sortedUniq=wb,M.sortedUniqBy=kb,M.split=tw,M.spread=Nv,M.tail=Sb,M.take=Cb,M.takeRight=yb,M.takeRightWhile=Pb,M.takeWhile=Ib,M.tap=Wb,M.throttle=Tv,M.thru=Ga,M.toArray=Ef,M.toPairs=Ff,M.toPairsIn=Uf,M.toPath=Ow,M.toPlainObject=Df,M.transform=D0,M.unary=Lv,M.union=Nb,M.unionBy=Tb,M.unionWith=Lb,M.uniq=Ab,M.uniqBy=Eb,M.uniqWith=Rb,M.unset=V0,M.unzip=vo,M.unzipWith=pf,M.update=O0,M.updateWith=M0,M.values=or,M.valuesIn=F0,M.without=Db,M.words=Wf,M.wrap=Av,M.xor=Vb,M.xorBy=Ob,M.xorWith=Mb,M.zip=Fb,M.zipObject=Ub,M.zipObjectDeep=Bb,M.zipWith=Hb,M.entries=Ff,M.entriesIn=Uf,M.extend=Vf,M.extendWith=Xa,Lo(M,M),M.add=Fw,M.attempt=qf,M.camelCase=W0,M.capitalize=Bf,M.ceil=Uw,M.clamp=U0,M.clone=Rv,M.cloneDeep=Vv,M.cloneDeepWith=Ov,M.cloneWith=Dv,M.conformsTo=Mv,M.deburr=Hf,M.defaultTo=pw,M.divide=Bw,M.endsWith=q0,M.eq=li,M.escape=z0,M.escapeRegExp=G0,M.every=Xb,M.find=xb,M.findIndex=cf,M.findKey=d0,M.findLast=ev,M.findLastIndex=df,M.findLastKey=h0,M.floor=Hw,M.forEach=bf,M.forEachRight=vf,M.forIn=g0,M.forInRight=_0,M.forOwn=p0,M.forOwnRight=m0,M.get=yo,M.gt=Fv,M.gte=Uv,M.has=w0,M.hasIn=Po,M.head=gf,M.identity=Vn,M.includes=rv,M.indexOf=eb,M.inRange=B0,M.invoke=C0,M.isArguments=Ml,M.isArray=lt,M.isArrayBuffer=Bv,M.isArrayLike=Rn,M.isArrayLikeObject=xt,M.isBoolean=Hv,M.isBuffer=sl,M.isDate=Wv,M.isElement=qv,M.isEmpty=zv,M.isEqual=Gv,M.isEqualWith=Kv,M.isError=So,M.isFinite=jv,M.isFunction=Bi,M.isInteger=Nf,M.isLength=Qa,M.isMap=Tf,M.isMatch=Jv,M.isMatchWith=Yv,M.isNaN=Qv,M.isNative=Zv,M.isNil=$v,M.isNull=Xv,M.isNumber=Lf,M.isObject=Kt,M.isObjectLike=$t,M.isPlainObject=Wr,M.isRegExp=Co,M.isSafeInteger=xv,M.isSet=Af,M.isString=Za,M.isSymbol=Hn,M.isTypedArray=sr,M.isUndefined=e0,M.isWeakMap=t0,M.isWeakSet=n0,M.join=rb,M.kebabCase=K0,M.last=Zn,M.lastIndexOf=ab,M.lowerCase=j0,M.lowerFirst=J0,M.lt=i0,M.lte=l0,M.max=Ww,M.maxBy=qw,M.mean=zw,M.meanBy=Gw,M.min=Kw,M.minBy=jw,M.stubArray=Eo,M.stubFalse=Ro,M.stubObject=Ew,M.stubString=Rw,M.stubTrue=Dw,M.multiply=Jw,M.nth=sb,M.noConflict=Cw,M.noop=Ao,M.now=ja,M.pad=Y0,M.padEnd=Q0,M.padStart=Z0,M.parseInt=X0,M.random=H0,M.reduce=fv,M.reduceRight=cv,M.repeat=$0,M.replace=x0,M.result=A0,M.round=Yw,M.runInContext=$,M.sample=hv,M.size=pv,M.snakeCase=ew,M.some=mv,M.sortedIndex=gb,M.sortedIndexBy=_b,M.sortedIndexOf=pb,M.sortedLastIndex=mb,M.sortedLastIndexBy=bb,M.sortedLastIndexOf=vb,M.startCase=nw,M.startsWith=iw,M.subtract=Qw,M.sum=Zw,M.sumBy=Xw,M.template=lw,M.times=Vw,M.toFinite=Hi,M.toInteger=st,M.toLength=Rf,M.toLower=rw,M.toNumber=Xn,M.toSafeInteger=r0,M.toString=Nt,M.toUpper=aw,M.trim=sw,M.trimEnd=ow,M.trimStart=uw,M.truncate=fw,M.unescape=cw,M.uniqueId=Mw,M.upperCase=dw,M.upperFirst=Io,M.each=bf,M.eachRight=vf,M.first=gf,Lo(M,function(){var s={};return hi(M,function(u,_){At.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Ot(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Ot(["drop","take"],function(s,u){_t.prototype[s]=function(_){_=_===t?1:un(st(_),0);var k=this.__filtered__&&!u?new _t(this):this.clone();return k.__filtered__?k.__takeCount__=vn(_,k.__takeCount__):k.__views__.push({size:vn(_,Se),type:s+(k.__dir__<0?"Right":"")}),k},_t.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Ot(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==Z||_==j;_t.prototype[s]=function(N){var F=this.clone();return F.__iteratees__.push({iteratee:Ye(N,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Ot(["head","last"],function(s,u){var _="take"+(u?"Right":"");_t.prototype[s]=function(){return this[_](1).value()[0]}}),Ot(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");_t.prototype[s]=function(){return this.__filtered__?new _t(this):this[_](1)}}),_t.prototype.compact=function(){return this.filter(Vn)},_t.prototype.find=function(s){return this.filter(s).head()},_t.prototype.findLast=function(s){return this.reverse().find(s)},_t.prototype.invokeMap=ut(function(s,u){return typeof s=="function"?new _t(this):this.map(function(_){return Or(_,s,u)})}),_t.prototype.reject=function(s){return this.filter(Ya(Ye(s)))},_t.prototype.slice=function(s,u){s=st(s);var _=this;return _.__filtered__&&(s>0||u<0)?new _t(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=st(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},_t.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},_t.prototype.toArray=function(){return this.take(Se)},hi(_t.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);N&&(M.prototype[u]=function(){var q=this.__wrapped__,J=k?[1]:arguments,x=q instanceof _t,_e=J[0],pe=x||lt(q),ye=function(gt){var pt=N.apply(M,el([gt],J));return k&&De?pt[0]:pt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var De=this.__chain__,Ke=!!this.__actions__.length,Qe=F&&!De,ot=x&&!Ke;if(!F&&pe){q=ot?q:new _t(this);var Ze=s.apply(q,J);return Ze.__actions__.push({func:Ga,args:[ye],thisArg:t}),new Jn(Ze,De)}return Qe&&ot?s.apply(this,J):(Ze=this.thru(ye),Qe?k?Ze.value()[0]:Ze.value():Ze)})}),Ot(["pop","push","shift","sort","splice","unshift"],function(s){var u=pa[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(lt(F)?F:[],N)}return this[_](function(q){return u.apply(lt(q)?q:[],N)})}}),hi(_t.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";At.call(nr,k)||(nr[k]=[]),nr[k].push({name:u,func:_})}}),nr[Fa(t,y).name]=[{name:"wrapper",func:t}],_t.prototype.clone=cm,_t.prototype.reverse=dm,_t.prototype.value=hm,M.prototype.at=qb,M.prototype.chain=zb,M.prototype.commit=Gb,M.prototype.next=Kb,M.prototype.plant=Jb,M.prototype.reverse=Yb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Qb,M.prototype.first=M.prototype.head,Tr&&(M.prototype[Tr]=jb),M},xl=Gp();yt?((yt.exports=xl)._=xl,It._=xl):Be._=xl}).call(zr)})(os,os.exports);var Jr=os.exports;class Gk{getNodePath(e,t){return me.getNodePath(e,t)}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ut.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ut.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=te.getConfigValue("routing.useHashRouting"),h=te.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?me.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=te.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return te.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return te.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){te.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),g=await me.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(h,d)=>await Ut.getChildren(h,d));if(n.isExistingRoute){const h=le.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),d=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await Ut.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let I=!1,T=P;for(;T;){if(T.tabNav===!0){I=!0;break}else if(T.tabNav===!1){I=!1;break}else if(le.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=re.getParentNode(T,g.navigationPath)}let V=P,E=d.hideGlobalSearch;E===void 0&&(E=me.handleInheritedProperty(V,"hideGlobalSearch",()=>{V=re.getParentNode(V,g.navigationPath)}));let H=d.hideSideNav;H===void 0&&(H=me.handleInheritedProperty(V,"hideSideNav",()=>{V=re.getParentNode(V,g.navigationPath)}));const D=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=D;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:D,pathParams:g.pathParams,hideGlobalSearch:E||!1,hideSideNav:H||!1,isolateView:d.isolateView||!1,tabNav:I};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let z=document.getElementsByClassName("iframeContainer")[0];if(z&&(I?z.classList.add("iframeContainerTabNav"):z.classList.contains("iframeContainerTabNav")&&z.classList.remove("iframeContainerTabNav")),d.compound)ai.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ai.switchActiveIframe(n,void 0,!1),z&&z.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const X=document.querySelector(".wcContainer");if(X&&(X.configChangedRequest=!1),z&&(z.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await ai.navigateIframe(l,t,n);else{const ce=t.get(),Z=await t.prepareInternalData(l);Ae.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(ce.context),nodeParams:JSON.stringify(ce.nodeParams),pathParams:JSON.stringify(ce.pathParams),searchParams:JSON.stringify(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(Z),withoutSync:!0})}}const Q=document.querySelector(".lui-tab-header");Q&&Q.dispatchEvent(new Event("lui_ctx_update")),Ut.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Ut.extractDataFromPath(e);ip.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){zn.deleteNodesRecursively(c);break}}else r=!1}}else zn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=ai.getActiveIframe(r);a&&a.vg&&ai.canCache(a.vg)?(ai.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{ai.switchActiveIframe(Ae.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=me.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...Fk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:dr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&dr.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&Jr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>re.checkVisibleForFeatureToggles(a))),dr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),a=me.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),a=l[r],o=new URL(location.href),c=te.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=me.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=me.getURLWithoutModalData(o.search,r),g&&(d+="?"+me.getURLWithoutModalData(o.search,r));if(h=me.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(n),a.delete(`${n}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const at=new Gk;class Kk{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Ae.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),a=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){dr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(le.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ae.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ae.getIframeContainer().style.marginBottom="",ht.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ae.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ae.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ae.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ht=new Kk;class jk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const Jk=new jk;class Yk{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=te.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const si=new Yk;class Qk{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.getConfigValue(`auth.${e}`),n=fl.parseUrlAuthErrors()||{};if(await fl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await mi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ol(this._userInfoStore))),le.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&si.isNewlyAuthorized()&&await mi.handleAuthEvent("onAuthSuccessful",e,t),si.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{si.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await mi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),si.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await mi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}resetExpirationChecks(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.resetExpirationChecks)&&this.idpProviderInstance.resetExpirationChecks()}}const cn=new Qk;class Zk{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Yr=new Zk;class Xk{getStoredAuthData(){return si.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await mi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const fl=new Xk;class $k{sanitizeHtml(e=""){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/&lt;br\/&gt;/g,"<br>").replace(/&lt;br \/&gt;/g,"<br>").replace(/&lt;br&gt;/g,"<br>").replace(/&lt;br &gt;/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`&lt;${n[l]}/&gt;`,"g"),a=new RegExp(`&lt;${n[l]} /&gt;`,"g"),o=new RegExp(`&lt;${n[l]}&gt;`,"g"),c=new RegExp(`&lt;${n[l]} &gt;`,"g"),h=new RegExp(`&lt;/${n[l]}[/]&gt;`,"g"),d=new RegExp(`&lt;/${n[l]} [/]&gt;`,"g"),g=new RegExp(`&lt;[/]${n[l]}&gt;`,"g"),p=new RegExp(`&lt;[/]${n[l]} &gt;`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/\//g,"&sol;")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const pr=new $k;class xk{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return _k.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Yr.hasDecorators()?Yr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=te.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(g))try{g(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ae.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ae.specialIframeTypes.filter(n=>Ae.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Go.getActiveFeatureToggleList(),currentLocale:Tt.getCurrentLocale(),currentTheme:Bo.getCurrentTheme()}}}const Ae=new xk;class e2{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Jr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Jr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ae.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ae.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(zi.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!te.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=te._remotePromises;return l||(l={counter:0,promises:[]},te._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new e2;class t2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=te.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Go.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(mi.isAuthorizationEnabled()){const r=fl.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=te.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return me.getNodePath(e,null)}groupNodesBy(e,t,n){const l=te.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];le.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":Tt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ut.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let g;const p=!!d.badgeCounter;if(p&&(g=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Ut.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:te.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter(l=>l!==e):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(e)}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";at.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?Tt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?Tt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Ut.extractDataFromPath(e);return!!await Ut.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Jr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{Jr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=Tt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return te.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:re.prepareForTests(e.pathSegment,e.label)}}const re=new t2;class n2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await rs.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(te.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=te.getConfigValue("routing.useHashRouting");Fn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?at.getHashPath():at.getModifiedPathname();e(l)}}),Fn.addEventListener("popstate",n=>{const l=t?at.getHashPath(location.href):at.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const a=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:at.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=Tt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];ul.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ul.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[pr.sanitizeParam(n[0])]=pr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Go.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=te.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=te.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in ul.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ul.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&ul.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=te.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&(l.redirectTo||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:Tt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const a=n?`${n}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}handleInheritedProperty(e,t,n){let l;return e&&(e.tabNav&&e[t]===!0&&(l=!0),e[t]===!1&&(l=!1),n&&typeof n=="function"&&n()),l}}const me=new n2;class i2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const pn=new i2;class l2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Fn=new l2;class r2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const a2=new r2;class s2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const cr=new s2,Kr=38,hr=40,hl=13,Hl=27,Qr=32,o2=36,u2=35;class rp{constructor(e,t){Fl(this,"dispatch");Fl(this,"search");Fl(this,"isCustomSearchRenderer");Fl(this,"isCustomSearchResultItemRenderer");Fl(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=le.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=le.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=Tt.getCurrentLocale();if(le.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=Tt.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?le.isFunction(this.search.searchProvider.onEnter)&&e===hl?this.search.searchProvider.onEnter():le.isFunction(this.search.searchProvider.onEscape)&&e===Hl?this.search.searchProvider.onEscape():e===hr?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===hr&&(o=r!==null?r:t[0]),e===Kr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&le.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):le.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Hl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===hl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===Kr||t===hr?this.calcSearchResultItemSelected(t):le.isFunction(this.search.searchProvider.onEscape)&&t===Hl&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>{this.setFocusOnGlobalSearchFieldDesktop(n)}),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?at.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>{this.setFocusOnGlobalSearchFieldDesktop()}),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&le.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Qf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Zf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=S("div"),t=S("div"),n=S("span"),r=W(),a=S("p"),c=W(),h=S("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){A(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=ee(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&L(e),p=!1,b()}}}function f2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Zf(Qf(i,t,l));return{c(){e=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-120xz9q"),f(e,"aria-hidden","false")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Qf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Zf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:We,o:We,d(l){l&&L(e),ft(n,l),i[5](null)}}}function c2(i,e,t){const n=Jt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=kt("getUnsavedChangesModalPromise"),c=kt("handleNavigation");Gn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=pr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),nn(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function g(p){je[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class d2 extends Vt{constructor(e){super(),Dt(this,e,c2,f2,Et,{alertQueue:0,alertTypeMap:1})}}function Xf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=Mn(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=Mn(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function $f(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function h2(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,I=i[0].buttonDismiss+"",T,V,E,H,D,O=i[0].type&&Xf(i),z=i[0].buttonConfirm!==!1&&$f(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=W(),o=S("h2"),h=Ne(c),d=W(),g=S("div"),b=W(),m=S("footer"),v=S("div"),z&&z.c(),C=W(),y=S("div"),P=S("button"),T=Ne(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(g,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Q,X){A(Q,e,X),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,T),H||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Q,[X]){Q[0].type?O?O.p(Q,X):(O=Xf(Q),O.c(),O.m(r,a)):O&&(O.d(1),O=null),X&1&&c!==(c=Q[0].header+"")&&Le(h,c),X&1&&p!==(p=Q[0].body+"")&&(g.innerHTML=p),Q[0].buttonConfirm!==!1?z?z.p(Q,X):(z=$f(Q),z.c(),z.m(v,C)):z&&(z.d(1),z=null),X&1&&I!==(I=Q[0].buttonDismiss+"")&&Le(T,I),X&1&&V!==(V="fd-button "+(Q[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),X&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+Q[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:We,o:We,d(Q){Q&&L(e),O&&O.d(),z&&z.d(),H=!1,Je(D)}}}function g2(i,e,t){const n=Jt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Xr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),nn(()=>{const d={icon:r[l.type],header:Tt.getTranslation("luigi.confirmationModal.header"),body:Tt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:pr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===Hl&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class _2 extends Vt{constructor(e){super(),Dt(this,e,g2,h2,Et,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function p2(i){let e,t,n;const l=i[5].default,r=ds(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){A(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&gs(r,l,a,a[4],n?hs(l,a[4],o,null):_s(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&L(e),r&&r.d(a)}}}function m2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Jt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return nn(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Fn.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.enableA11yOfInactiveIframe()))}))}),Gn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class Wl extends Vt{constructor(e){super(),Dt(this,e,m2,p2,Et,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function xf(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new Wl({props:{disable:i[2]}});let v=i[0].title&&ec(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),h=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1hy363a")},m(C,y){A(C,e,y),Ve(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=ee(h,"click",i[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=ec(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(t),v&&v.d(),b=!1,m()}}}function ec(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&L(e)}}}function tc(i){let e;const t=i[10].default,n=ds(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&gs(n,t,l,l[9],e?hs(t,l[9],r,null):_s(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function nc(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
53
53
  <div class="fd-busy-indicator__circle"></div>
54
54
  <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function b2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&xf(i),C=i[4]&&tc(i),y=i[3]&&nc();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1hy363a"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1hy363a"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1hy363a"),f(t,"data-testid",g=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=Mn(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,I){A(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,h),y&&y.m(t,null),m=!0},p(P,[I]){P[5]||P[4]&&P[0].header?v?(v.p(P,I),I&49&&R(v,1)):(v=xf(P),v.c(),R(v,1),v.m(t,n)):v&&(ve(),U(v,1,1,()=>{v=null}),we()),P[4]?C?(C.p(P,I),I&16&&R(C,1)):(C=tc(P),C.c(),R(C,1),C.m(l,r)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),(!m||I&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1hy363a"))&&f(a,"class",o),(!m||I&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=nc(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1hy363a"))&&f(t,"class",d),(!m||I&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||I&49&&p!==(p=Mn(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"))&&f(e,"class",p),(!m||I&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&L(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function v2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=Jt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,I=!0,T,V=kt("store");const E=G=>re.getNodeLabel(G),H=async G=>{const j=G&&G.length?le.getPathWithoutHash(G):"",ae=me.parseParams(j.split("?")[1]);b=me.getNodeParams(ae);const fe=await Ut.extractDataFromPath(G);g=fe.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),T=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(g),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(g),r),t(0,r._liveLabel=!0,r)),p=fe.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Q():await O(),dr.renderWebComponent(g.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),v=!0;else{const j=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,j;const ae=document.querySelector(".lui-modal-index-"+c),{size:fe,width:ne,height:se}=r,Se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ae.classList.remove("lui-modal-fullscreen"),ne&&ne.match(Se)&&se&&se.match(Se))G=se,j=ne;else switch(fe){case"fullscreen":G="100vh",j="100vw",ae.classList.add("lui-modal-fullscreen");break;case"m":G="80%",j="60%";break;case"s":G="80%",j="40%";break;default:G="80%",j="80%"}ae.setAttribute("style",`width:${j};height:${G};`)},z=async(G,j)=>{P?await Q():await O(),G&&(G=me.substituteViewUrl(G,j));const ae=await Ae.createIframe(G,void 0,g,"modal",j);return document.querySelector(T).appendChild(ae),ae};async function Q(G){let j="";const ae=document.getElementsByClassName("drawer"),fe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?ae[0].setAttribute("style",j):(fe[0].setAttribute("style",j),ae[0].setAttribute("style","width:100%"))}Zr(()=>{D(o)});const X=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&ce()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&at.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};nn(()=>{pn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),Fn.addEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Xr(()=>{Fn.removeEventListener("message",X),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let G;I?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const Z=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,I,d,a,o,l,n,Z]}class ap extends Vt{constructor(e){super(),Dt(this,e,v2,b2,Et,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ic(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function lc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i){let e,t=i[1][1].settings&&sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function sc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=pc(ic(i,n,r));return{c(){e=S("div"),t=S("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){A(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=ic(r,n,o);l[o]?l[o].p(c,a):(l[o]=pc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&L(e),ft(l,r)}}}function oc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?k2:w2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function w2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){A(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function k2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=S("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){A(o,e,c),jf(e,i[0][i[1][0]][i[27]]),l||(r=ee(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&jf(e,i[0][i[1][0]][i[27]])},d(o){o&&L(e),l=!1,r()}}}function uc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,h,d,g,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function I(){return i[19](i[28])}let T=v&&fc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=W(),g=S("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),T&&T.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",h=!(i[28].isEditable===void 0||i[28].isEditable)),f(g,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),T&&T.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Bt(I))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?T?T.p(i,E):(T=fc(i),T.c(),T.m(m,null)):T&&(T.d(1),T=null)},d(V){V&&L(e),T&&T.d(),C=!1,Je(y)}}}function fc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=cc(rc(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let a;for(a=0;a<t.length;a+=1){const o=rc(l,t,a);n[a]?n[a].p(o,r):(n[a]=cc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function cc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function h(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Ne(n),r=W(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),jt(e,"is-selected",i[4]===i[33]),jt(e,"is-focus",i[4]===i[33])},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[ee(e,"click",h),ee(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Le(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&jt(e,"is-selected",i[4]===i[33]),g[0]&16&&jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Je(c)}}}function dc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=hc(lc(i,l,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){A(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].options;let c;for(c=0;c<l.length;c+=1){const h=lc(a,l,c);r[c]?r[c].p(h,o):(r[c]=hc(h),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&L(e),ft(r,a)}}}function hc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,h,d;function g(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Ne(t),l=W(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){A(p,e,b),w(e,n),w(e,l),h||(d=ee(e,"click",g),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Le(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&L(e),h=!1,d()}}}function gc(i){let e,t,n,l,r,a,o,c,h,d;function g(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=W(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,b){A(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),h||(d=ee(n,"change",g),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,d()}}}function _c(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){A(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ee(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&L(e),n=!1,l()}}}function pc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,h,d,g=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&oc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&uc(i),y=g&&dc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&gc(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&_c(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=W(),c=S("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),I&&I.c(),m=W(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(T,V){A(T,e,V),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),I&&I.m(c,null),w(e,m)},p(T,V){V[0]&34&&l!==(l=T[5](T[28].label)+"")&&Le(r,l),T[28].type==="string"?v?v.p(T,V):(v=oc(T),v.c(),v.m(c,h)):v&&(v.d(1),v=null),T[28].type==="enum"&&(T[28].style===void 0||T[28].style==="list")?C?C.p(T,V):(C=uc(T),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=T[28].type==="enum"&&T[28].style==="button"&&Array.isArray(T[28].options)),g?y?y.p(T,V):(y=dc(T),y.c(),y.m(c,p)):y&&(y.d(1),y=null),T[28].type==="boolean"&&(!T[28].style||T[28].style==="switch")?P?P.p(T,V):(P=gc(T),P.c(),P.m(c,b)):P&&(P.d(1),P=null),T[28].type==="boolean"&&T[28].style==="checkbox"?I?I.p(T,V):(I=_c(T),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(T){T&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),I&&I.d()}}}function S2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ac(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){A(r,e,a),l&&l.m(e,null),t||(n=[ee(window,"click",i[7]),ee(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=ac(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:We,o:We,d(r){r&&L(e),l&&l.d(),t=!1,Je(n)}}}function is(i,e,t){if(i&&t>0)return i.matches(e)?i:is(i.parentNode,e,t-1)}function C2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Jt();let o=kt("getTranslation");vi(i,o,Z=>t(5,n=Z));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p(Z){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(Z,G){let j=is(Z.target,".fd-popover__control",20),ae=j.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(j,!ae))}function m(Z,G){const j=Z.querySelector(".lui-activate-dropdown"),ae=Z.parentNode.querySelector(".fd-popover__body"),fe=Z.parentNode.querySelector(".fd-select__control");Z.setAttribute("aria-expanded",G),ae.setAttribute("aria-hidden",!G),fe.setAttribute("aria-expanded",G),j.setAttribute("aria-expanded",G),t(14,h=G)}function v(Z,G,j){t(4,c=j),t(0,r[l[0]][Z]=G.value||G,r)}function C(Z,G){document.querySelectorAll(".enum-buttons-container-"+Z+" button").forEach(j=>{const ae=j.getAttribute("id"),fe=`lui-us-enum_button_${Z}_option`;ae===fe?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][Z]=G.value||G,r)}function y(Z,G){let j;if(Array.isArray(G)){for(let ae=0;ae<G.length;ae++)if(le.isObject(G[ae])){if(G[ae].value&&G[ae].value===Z){j=G[ae].label,t(4,c=ae);break}}else{j=Z,t(4,c=G.indexOf(Z));break}return n(j)}}function P(Z){return n(le.isObject(Z)?Z.label:Z)}function I(Z,G,j){return le.isObject(j)?`${Z}_${G}_${j.value}`:`${Z}_${G}_${j}`}function T(Z,G,j,ae){let fe=is(Z.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${j}`).children;let se=-1;if([...ne].forEach((Se,ie)=>{Se.classList.contains("is-focus")&&(se=ie)}),h){if(Z.keyCode===Kr&&Z.altKey&&(fe.click(),fe.focus()),Z.keyCode===hr&&!Z.altKey){if(se===-1){se=0,ne.item(se).classList.add("is-focus");return}se<ae.options.length-1&&(ne.item(se).classList.remove("is-focus"),se+=1,ne.item(se).classList.add("is-focus"))}if(Z.keyCode===Kr&&!Z.altKey){if(se===-1){se=se.length-1,ne.item(se).classList.add("is-focus");return}se>0&&se<ae.options.length&&(ne.item(se).classList.remove("is-focus"),se-=1,ne.item(se).classList.add("is-focus"))}(Z.keyCode===hl||Z.keyCode===Qr)&&v(G,ae.options[se],se)}else fe.focus(),Z.keyCode===hr&&Z.altKey&&fe.click(),Z.keyCode===hr&&!Z.altKey&&se<ae.options.length-1&&v(G,ae.options[se+1],se+1),Z.keyCode===Kr&&!Z.altKey&&se>0&&se<ae.options.length&&v(G,ae.options[se-1],se-1)}function V(Z){if(h){let G=is(Z.target,".fd-popover",20);G.blur(),(Z.keyCode===Qr||Z.keyCode===hl)&&(Z.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(Z){r[l[0]][Z]=this.value,t(0,r)}const H=(Z,G,j,ae)=>T(ae,Z,G,j),D=Z=>b(event,Z.isEditable),O=(Z,G,j)=>v(Z,G,j),z=Z=>V(Z),Q=(Z,G)=>C(Z,G);function X(Z){r[l[0]][Z]=this.checked,t(0,r)}function ce(Z){r[l[0]][Z]=this.checked,t(0,r)}return i.$$set=Z=>{"userSettingGroup"in Z&&t(1,l=Z.userSettingGroup),"storedUserSettingData"in Z&&t(0,r=Z.storedUserSettingData),"isComboOpen"in Z&&t(14,h=Z.isComboOpen)},[r,l,T,V,c,n,o,p,b,v,C,y,P,I,h,d,g,E,H,D,O,z,Q,X,ce]}class y2 extends Vt{constructor(e){super(),Dt(this,e,C2,S2,Et,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:mc}=_l;function bc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function vc(i,e,t){const n=i.slice();return n[37]=e[t],n}function wc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?I2:P2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),A(o,t,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&L(t),o&&L(n)}}}function P2(i){let e,t,n,l,r,a=i[37][1].initials&&kc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=ke(),f(e,"class",t=Mn(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),On(e,"background-image","url('"+i[37][1].icon+"')"),On(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),a&&a.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=Mn(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&On(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=kc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&L(e),o&&L(l),a&&a.d(o),o&&L(r)}}}function I2(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=Mn(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=Mn(l[18](l[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n)},d(l){l&&L(e)}}}function kc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=Mn(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){A(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(n,t),o[0]&2&&l!==(l=Mn(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&L(e)}}}function Sc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,h,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",g,p,b,m,v=i[37][1].icon&&wc(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),h=S("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-12fj8b7"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,I){A(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,g),w(e,p),b||(m=[ee(e,"click",mt(C)),ee(e,"keydown",y)],b=!0)},p(P,I){i=P,i[37][1].icon?v?v.p(i,I):(v=wc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),I[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(g,d)},d(P){P&&L(e),v&&v.d(),b=!1,Je(m)}}}function Cc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Sc(vc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=vc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Sc(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function yc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new y2({props:o}),je.push(()=>wt(e,"closeDropDown",r,i[9])),je.push(()=>wt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Me(e.$$.fragment)},m(c,h){Ve(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],vt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],vt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function N2(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,g,p,b,m,v,C,y,P=i[10](i[7])+"",I,T,V,E,H,D,O,z,Q,X,ce,Z=i[10](i[5])+"",G,j,ae,fe,ne=i[10](i[6])+"",se,Se,ie,Re,ze=Object.entries(i[1]),Ce=[];for(let Fe=0;Fe<ze.length;Fe+=1)Ce[Fe]=Cc(bc(i,ze,Fe));let Pe=i[11]&&yc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=W(),g=S("div"),p=S("ul");for(let Fe=0;Fe<Ce.length;Fe+=1)Ce[Fe].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),I=Ne(P),T=W(),V=S("div"),E=S("div"),Pe&&Pe.c(),H=W(),D=S("div"),O=W(),z=S("footer"),Q=S("div"),X=S("div"),ce=S("button"),G=Ne(Z),j=W(),ae=S("div"),fe=S("button"),se=Ne(ne),f(o,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-12fj8b7"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(g,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-12fj8b7"),f(r,"class","fd-side-nav svelte-12fj8b7"),f(l,"class","lui-usersettings-left-nav svelte-12fj8b7"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-12fj8b7"),f(y,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-12fj8b7"),f(E,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-12fj8b7"),f(V,"class","lui-usersettings-content svelte-12fj8b7"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-12fj8b7"),f(ce,"data-testid","lui-us-saveBtn"),f(ce,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(X,"class","fd-bar__element"),f(fe,"data-testid","lui-us-dismissBtn"),f(fe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ae,"class","fd-bar__element"),f(Q,"class","fd-bar__right"),f(z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-12fj8b7"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-12fj8b7"),f(e,"tabindex","0")},m(Fe,ct){A(Fe,e,ct),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,g),w(g,p);for(let qe=0;qe<Ce.length;qe+=1)Ce[qe].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,I),w(n,T),w(n,V),w(V,E),Pe&&Pe.m(E,null),w(V,H),w(V,D),w(t,O),w(t,z),w(z,Q),w(Q,X),w(X,ce),w(ce,G),w(Q,j),w(Q,ae),w(ae,fe),w(fe,se),Se=!0,ie||(Re=[ee(mc,"resize",i[20]),ee(mc,"keydown",i[3]),ee(v,"click",i[17]),ee(ce,"click",i[25]),ee(fe,"click",i[26])],ie=!0)},p(Fe,ct){if((!Se||ct[0]&1040)&&c!==(c=Fe[10](Fe[4])+"")&&Le(h,c),ct[0]&803846){ze=Object.entries(Fe[1]);let qe;for(qe=0;qe<ze.length;qe+=1){const dt=bc(Fe,ze,qe);Ce[qe]?Ce[qe].p(dt,ct):(Ce[qe]=Cc(dt),Ce[qe].c(),Ce[qe].m(p,null))}for(;qe<Ce.length;qe+=1)Ce[qe].d(1);Ce.length=ze.length}(!Se||ct[0]&1152)&&P!==(P=Fe[10](Fe[7])+"")&&Le(I,P),Fe[11]?Pe?(Pe.p(Fe,ct),ct[0]&2048&&R(Pe,1)):(Pe=yc(Fe),Pe.c(),R(Pe,1),Pe.m(E,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!Se||ct[0]&1056)&&Z!==(Z=Fe[10](Fe[5])+"")&&Le(G,Z),(!Se||ct[0]&1088)&&ne!==(ne=Fe[10](Fe[6])+"")&&Le(se,ne)},i(Fe){Se||(R(Pe),Se=!0)},o(Fe){U(Pe),Se=!1},d(Fe){Fe&&L(e),ft(Ce,Fe),Pe&&Pe.d(),ie=!1,Je(Re)}}}function Pc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function T2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function L2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function sp(i,e,t){if(i&&t>0)return i.matches(e)?i:sp(i.parentNode,e,t-1)}function Ic(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function A2(i,e,t){let n,{userSettingGroups:l}=e;const r=Jt();let a,{storedUserSettings:o={}}=e,c={},h=kt("getTranslation");vi(i,h,se=>t(10,n=se));let d=dl.userSettingsDialog.dialogHeader,g=dl.userSettingsDialog.saveBtn,p=dl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Xr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),nn(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),Se=se||te.getConfigValue("settings.userSettings.userSettingsDialog");Se&&(t(4,d=Se.dialogHeader?Se.dialogHeader:d),t(5,g=Se.saveBtn?Se.saveBtn:g),t(6,p=Se.dismissBtn?Se.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Fn.addEventListener("message",ie=>{const Re=Ae.getValidMessageSource(ie);if(!Re||ie.data.msg!=="custom")return;Re._ready=!0;const ze=as.convertCustomMessageInternalToUser(ie.data),Ce="luigi.updateUserSettings";if(ze.id===Ce){const Pe=cr.findActiveCustomUserSettingsIframe(ie.source);if(Pe){let Fe=Pe.getAttribute("userSettingsGroup");t(0,o[Fe]=ze.data,o)}}ze.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&H()}),te.readUserSettings().then(ie=>{c=JSON.parse(JSON.stringify(ie)),ie===null?t(0,o=Pc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Pc(JSON.parse(JSON.stringify(l)),ie)),I([m,l[0][m]])}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!le.isObject(se.settings))for(let Se in se.settings){let ie=se.settings[Se];ie.type==="enum"?Array.isArray(ie.options)||console.error(`There is no options array for '${Se}' defined in the Luigi userSettings config.`):ie.type===void 0&&console.error(`There is no data type defined for '${Se}' in the Luigi userSettings config.`)}}function I(se,Se){t(11,a=se);let ie=se[0],Re=se[1];if(P(Re),Se?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Ce=>{Ce.classList.remove("is-selected")}),sp(Se.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<fn.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()),Re.viewUrl){if(cr.hideUserSettingsIframe(),b.hasOwnProperty(ie))cr.getUserSettingsIframesInDom().forEach(ze=>{ze.userSettingsGroup===ie&&(ze.style.display="block")});else{const ze=Yr.hasDecorators()?Yr.applyDecorators(Re.viewUrl):Re.viewUrl;let Ce=cr.createIframe(ze,ie);b[ie]=Ce}T2()}else L2()}const T=se=>{t(0,o=se.detail.userSettings)};function V(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function E(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()}function D(se){return re.renderIconClassName(se)}function O(se){return re.isOpenUIiconName(se.icon)}let z;const Q=()=>{const se=window.innerWidth>=fn.desktopMinWidth&&z<fn.desktopMinWidth;if(window.innerWidth<fn.desktopMinWidth&&z>=fn.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),se&&(document.querySelector(".confirm-button").style.display="block"),!z){let ie=document.querySelector(".confirm-button");window.innerWidth<fn.desktopMinWidth?ie.style.display="none":ie.style.display="block"}z=window.innerWidth};function X(se,Se){let ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===hl||se.keyCode===Qr)&&ie[Se].click(),se.keyCode===u2&&ie[Object.keys(l).length-1].focus(),se.keyCode===o2&&ie[0].focus()}function ce(se){se.keyCode===Hl&&C?y():se.keyCode===Hl&&!C&&r("close")}const Z=se=>I(se,event),G=(se,Se)=>X(Se,[se]);function j(se){y=se,t(9,y)}function ae(se){C=se,t(8,C)}const fe=()=>V(),ne=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,X,ce,d,g,p,v,C,y,n,a,r,h,I,T,V,H,D,O,Q,Z,G,j,ae,fe,ne]}class E2 extends Vt{constructor(e){super(),Dt(this,e,A2,N2,Et,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:R2}=_l;function D2(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function V2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=S("h1"),a=Ne(r),f(t,"class","lui-collapse-btn svelte-1dkgq68"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),f(l,"class","fd-splitView__title svelte-1dkgq68")},m(h,d){A(h,e,d),w(e,t),A(h,n,d),A(h,l,d),w(l,a),o||(c=ee(t,"click",Bt(mt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Le(a,r)},d(h){h&&L(e),h&&L(n),h&&L(l),o=!1,c()}}}function Nc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=W(),n=S("div"),l=S("div"),r=W(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1dkgq68"),f(n,"id","splitViewDragger")},m(h,d){A(h,e,d),A(h,t,d),A(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Bt(mt(i[3]))),ee(n,"mousedown",Bt(i[6]))],o=!0)},p:We,d(h){h&&L(e),h&&L(t),h&&L(n),o=!1,Je(c)}}}function O2(i){let e,t,n,l,r,a,o,c,h,d;t=new Wl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?V2:D2}let p=g(i),b=p(i),m=!i[0]&&Nc(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=ke(),f(l,"class","lui-split-view svelte-1dkgq68"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(v,C){A(v,e,C),Ve(t,e,null),w(e,n),w(e,l),b.m(l,null),A(v,a,C),m&&m.m(v,C),A(v,o,C),c=!0,h||(d=ee(R2,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=g(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1dkgq68"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Nc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Oe(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),h=!1,d()}}}function M2(i,e,t){const n=Jt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,g,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,I=!1,T=kt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:g,splitViewWC:p,splitViewWCData:b}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(ae=>{ae==="splitViewSettings"?t(1,C=j.splitViewSettings):ae==="lastNode"?r=j.lastNode:ae==="pathData"?a=j.pathData:ae==="nodeParams"?o=j.nodeParams:ae==="collapsed"?t(0,v=j.collapsed):ae==="isDataPrepared"?t(8,y=j.isDataPrepared):ae==="currentNode"?c=j.currentNode:ae==="splitViewIframe"?d=j.splitViewIframe:ae==="splitViewIframeData"?g=j.splitViewIframeData:ae==="splitViewWC"?p=j.splitViewWC:ae==="splitViewWCData"&&(b=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:T}),E=async()=>{y?v||ht.createAndSetView(V()):await ht.prepareSplitViewData(V(),m)},H=()=>{l.split=ht.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ht.getDragger()},D=()=>{const j=ht.getDraggerBackdrop();j&&(j.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${ht.splitViewValues.top}px`),l.split.style.top=`${ht.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(j){if(Ae.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&ht.close(V()),j.data.msg==="luigi.navigation.splitview.collapse"&&z(),j.data.msg==="luigi.navigation.splitview.expand"&&Q(),j.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(j.data.data);if(ht.calculateAndSetSplitViewValues(ae,ht.internalValues),v)return;D(),ht.sendMessageToClients("resize.ok",ht.splitViewValues.percent)}}nn(()=>{X(),h=O.bind(this),Fn.addEventListener("message",h)}),Zr(()=>{E(),I!==y&&!v&&(I=y,D())}),Xr(()=>{window.removeEventListener("message",h)});function z(){ht.collapse(V())}async function Q(){await ht.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function X(){const j=le.getShellbarHeight();ht.internalValues.innerHeight=le.getInnerHeight(),ht.internalValues.rightContentHeight=ht.internalValues.innerHeight-j,ht.internalValues.thresholdBottom=30,ht.internalValues.thresholdTop=j+30,ht.calculateAndSetSplitViewValues(ht.splitViewValues.percent,ht.internalValues),v||D()}function ce(j){let ae=j.y,fe={};const ne=function(ze){const Ce=ae-ze.y,Pe=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Pe)||Ce===0)return;const Fe=Pe-Ce,ct=ht.internalValues.innerHeight-Fe,qe=ht.enforceTresholds(Fe,ct);Fe<qe.top||ct<qe.bottom||(fe=qe,ae=ze.y,l.draggable.style.top=`${fe.top}px`)},se=function(){if(Se(),!fe.top||!fe.bottom||fe.top==ht.internalValues.m_pos_prev){ht.getDraggerBackdrop().style.display="none";return}ht.internalValues.m_pos_prev=fe.top,ht.splitViewValues=fe,D(),ht.sendMessageToClients("resize.ok",fe.percent)},Se=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ne)},ie=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ne)};H(),Se(),ie(),ht.getDraggerBackdrop().style.display="block"}const Z=j=>{let ae=ht.getDraggerButton();ae&&(ae.style.display=j?"block":"none"),ae=ht.getCollapsedDraggerButton(),ae&&(ae.style.display=j?"block":"none")},G=j=>{Z(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,C=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,P=j.disableBackdrop)},[v,C,P,z,Q,X,ce,G,y,m]}class op extends Vt{constructor(e){super(),Dt(this,e,M2,O2,Et,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Tc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:B2,then:U2,catch:F2,value:1};return ls(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function F2(i){return{c:We,m:We,p:We,d:We}}function U2(i){let e,t=i[1]>0&&Lc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Lc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){A(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function B2(i){return{c:We,m:We,p:We,d:We}}function H2(i){let e,t=i[0]&&i[0].badgeCounter&&Tc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function W2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Tn extends Vt{constructor(e){super(),Dt(this,e,W2,H2,Et,{node:0})}}function Ac(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Le(l,n)},d(r){r&&L(e)}}}function q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ac(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function z2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class $n extends Vt{constructor(e){super(),Dt(this,e,z2,q2,Et,{node:0})}}function G2(i){let e,t,n,l,r=i[1].title+"",a,o,c,h,d,g,p,b,m,v,C,y;const P=i[4].default,I=ds(P,i,i[3],null);return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),c=S("span"),d=W(),g=S("ul"),I&&I.c(),p=W(),b=S("li"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__has-children-indicator"),f(c,"role","presentation"),f(c,"aria-hidden","true"),f(c,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1p4gus"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class","fd-navigation__item fd-navigation__item--group"),f(t,"aria-level","1"),f(t,"role","treeitem"),f(t,"title",h=i[1].title+" Group"),f(t,"aria-roledescription","Navigation List Tree Item - Group"),f(t,"aria-selected","false"),f(t,"aria-expanded",i[0]),f(b,"class","fd-navigation__list-item fd-navigation__list-item--separator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(g,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),f(g,"role","tree"),f(g,"aria-roledescription","Navigation List Tree - Parent Items"),f(g,"tabindex","-1"),f(g,"navgroupid",m=i[1].uid),f(e,"class","fd-navigation__list-item")},m(T,V){A(T,e,V),w(e,t),w(t,n),w(n,l),w(l,a),w(n,o),w(n,c),w(e,d),w(e,g),I&&I.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Bt(mt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(T,V){(!v||V&2)&&r!==(r=T[1].title+"")&&Le(a,r),(!v||V&2&&h!==(h=T[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",T[0]),I&&I.p&&(!v||V&8)&&gs(I,P,T,T[3],v?hs(P,T[3],V,null):_s(T[3]),null),(!v||V&2&&m!==(m=T[1].uid))&&f(g,"navgroupid",m)},i(T){v||(R(I,T),v=!0)},o(T){U(I,T),v=!1},d(T){T&&L(e),I&&I.d(T),C=!1,Je(y)}}}function K2(i){let e;const t=i[4].default,n=ds(t,i,i[3],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8)&&gs(n,t,l,l[3],e?hs(t,l[3],r,null):_s(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function j2(i){let e,t,n,l;const r=[K2,G2],a=[];function o(c,h){return c[1].isSingleEntry?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function J2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a),r.isSingleEntry||re.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class Y2 extends Vt{constructor(e){super(),Dt(this,e,J2,j2,Et,{navGroup:1,expanded:0})}}const{window:es}=_l;function Ec(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Rc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[92]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Uc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Bc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Q2(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Hc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Gc(i),b=(i[2]||i[3])&&_d(i);return{c(){e=S("div"),g&&g.c(),t=W(),n=S("nav"),l=S("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1bekqg6")},m(m,v){A(m,e,v),g&&g.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=ee(n,"keyup",i[19]),h=!0)},p(m,v){m[12]?g?g.p(m,v):(g=Hc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Gc(m),p.c(),R(p,1),p.m(l,null)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),m[2]||m[3]?b?b.p(m,v):(b=_d(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-1bekqg6"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Z2(i){let e,t,n,l,r=i[12]&&md(i),a=i[0]&&i[5].length>1&&kd(i);return{c(){e=S("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"),f(e,"role","navigation"),On(e,"width","var(--luigi__left-sidenav--width)"),On(e,"height","100%")},m(o,c){A(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=md(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=kd(o),a.c(),R(a,1),a.m(e,null)):a&&(ve(),U(a,1,1,()=>{a=null}),we()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&L(e),r&&r.d(),a&&a.d()}}}function Hc(i){let e,t=!i[12].renderer&&Wc(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(n,e,l),t&&t.m(e,null),i[62](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=Wc(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[62](null)}}}function Wc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&qc(i),g=i[12].showUpLink&&zc(i);return{c(){e=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1bekqg6"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=qc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=zc(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&L(e),d&&d.d(),g&&g.d()}}}function qc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?$2:X2}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function X2(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!$e(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function $2(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function zc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Gc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=gd(Ec(i,r,c));const o=c=>U(a[c],1,1,()=>{a[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n=Mn(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},m(c,h){A(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=c[13];let d;for(d=0;d<r.length;d+=1){const g=Ec(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=gd(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ve(),d=r.length;d<a.length;d+=1)o(d);we()}(!l||h[0]&8388608&&n!==(n=Mn(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&L(e),ft(a,c)}}}function x2(i){let e,t,n,l;const r=[nS,tS],a=[];function o(c,h){return c[96].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function eS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=hd(Oc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Oc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=hd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function tS(i){let e,t,n=i[27](i[95])+"",l,r,a,o,c,h,d=i[10]&&i[96].metaInfo.icon&&Kc(i),g=i[96],p=[];for(let m=0;m<g.length;m+=1)p[m]=Xc(Rc(i,g,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=W(),l=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[35](i[96],i[27](i[95]))),f(e,"data-testid",a=i[34](i[96].metaInfo,i[95])),f(e,"id","category_list_level1_"+i[98])},m(m,v){A(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),A(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);A(m,c,v),h=!0},p(m,v){if(m[10]&&m[96].metaInfo.icon?d?d.p(m,v):(d=Kc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[95])+"")&&Le(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[96],m[27](m[95]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[96].metaInfo,m[95])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=m[96];let C;for(C=0;C<g.length;C+=1){const y=Rc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Xc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ve(),C=g.length;C<p.length;C+=1)b(C);we()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ft(p,m),m&&L(c)}}}function nS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Q,X,ce;function Z(Ce,Pe){return Pe[0]&8192&&(l=null),l==null&&(l=!!Ce[32](Ce[96].metaInfo.icon)),l?fS:uS}let G=Z(i,[-1,-1,-1,-1]),j=G(i);function ae(){return i[65](i[96])}function fe(){return i[66](i[96])}function ne(...Ce){return i[67](i[96],...Ce)}let se=i[96],Se=[];for(let Ce=0;Ce<se.length;Ce+=1)Se[Ce]=nd(Vc(i,se,Ce));const ie=Ce=>U(Se[Ce],1,1,()=>{Se[Ce]=null});let Re=i[96].metaInfo&&i[96].metaInfo.label===i[8]&&id(i);function ze(){return i[72](i[96])}return{c(){e=S("li"),t=S("div"),n=S("a"),j.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),E=S("ul");for(let Ce=0;Ce<Se.length;Ce+=1)Se[Ce].c();D=W(),Re&&Re.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[96],i[27](i[95]))),f(n,"class",d="fd-nested-list__link "+(tn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[98]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=tn(i[96],i[9])),f(C,"class",y=tn(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=tn(i[96],i[9])),f(v,"title",I=i[41](i[96],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",T=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(E,"aria-hidden",H=!tn(i[96],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[96].metaInfo,i[95])),jt(e,"lui-item-expanded",tn(i[96],i[9]))},m(Ce,Pe){A(Ce,e,Pe),w(e,t),w(t,n),j.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let Fe=0;Fe<Se.length;Fe+=1)Se[Fe].m(E,null);w(e,D),Re&&Re.m(e,null),w(e,O),Q=!0,X||(ce=[ee(n,"click",mt(ae)),ee(v,"click",mt(fe)),ee(t,"keypress",ne),ee(e,"click",Bt(ze))],X=!0)},p(Ce,Pe){if(i=Ce,G===(G=Z(i,Pe))&&j?j.p(i,Pe):(j.d(1),j=G(i),j&&(j.c(),j.m(n,r))),(!Q||Pe[0]&134225920)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!Q||Pe[0]&134225920&&h!==(h=i[35](i[96],i[27](i[95]))))&&f(n,"title",h),(!Q||Pe[0]&8704&&d!==(d="fd-nested-list__link "+(tn(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Q||Pe[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Q||Pe[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Q||Pe[0]&8704&&b!==(b=tn(i[96],i[9])))&&f(n,"aria-expanded",b),(!Q||Pe[0]&8704&&y!==(y=tn(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Q||Pe[0]&8704&&P!==(P=tn(i[96],i[9])))&&f(v,"aria-expanded",P),(!Q||Pe[0]&8704&&I!==(I=i[41](i[96],i[9])))&&f(v,"title",I),(!Q||Pe[0]&64&&T!==(T=i[6]?"0":"-1"))&&f(t,"tabindex",T),Pe[0]&1090592896|Pe[1]&532){se=i[96];let Fe;for(Fe=0;Fe<se.length;Fe+=1){const ct=Vc(i,se,Fe);Se[Fe]?(Se[Fe].p(ct,Pe),R(Se[Fe],1)):(Se[Fe]=nd(ct),Se[Fe].c(),R(Se[Fe],1),Se[Fe].m(E,null))}for(ve(),Fe=se.length;Fe<Se.length;Fe+=1)ie(Fe);we()}(!Q||Pe[0]&8704&&H!==(H=!tn(i[96],i[9])))&&f(E,"aria-hidden",H),i[96].metaInfo&&i[96].metaInfo.label===i[8]?Re?(Re.p(i,Pe),Pe[0]&8448&&R(Re,1)):(Re=id(i),Re.c(),R(Re,1),Re.m(e,O)):Re&&(ve(),U(Re,1,1,()=>{Re=null}),we()),(!Q||Pe[0]&8192&&z!==(z=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",z),(!Q||Pe[0]&8704)&&jt(e,"lui-item-expanded",tn(i[96],i[9]))},i(Ce){if(!Q){for(let Pe=0;Pe<se.length;Pe+=1)R(Se[Pe]);R(Re),Q=!0}},o(Ce){Se=Se.filter(Boolean);for(let Pe=0;Pe<Se.length;Pe+=1)U(Se[Pe]);U(Re),Q=!1},d(Ce){Ce&&L(e),j.d(),ft(Se,Ce),Re&&Re.d(),X=!1,Je(ce)}}}function Kc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?lS:iS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function iS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function lS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[96].metaInfo.icon?i[31](i[96].metaInfo.icon):"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[96].metaInfo.icon?n[31](n[96].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function jc(i){let e,t,n=i[99].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Jc(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I;function T(X,ce){return X[99].icon?aS:rS}let V=T(i),E=V(i),H=i[99].statusBadge&&Yc(i),D=i[99].externalLink&&i[99].externalLink.url&&Qc(),O=i[99].badgeCounter&&Zc(i);function z(...X){return i[73](i[99],...X)}function Q(...X){return i[74](i[99],...X)}return{c(){e=S("li"),t=S("a"),E.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[99])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[99],i[30](i[99]))),f(e,"aria-labelledby","category_list_level1_"+i[98])},m(X,ce){A(X,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(I=[ee(t,"click",z),ee(t,"keyup",function(){bi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],P=!0)},p(X,ce){i=X,V===(V=T(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r),i[99].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Yc(i),H.c(),R(H,1),H.m(l,null)):H&&(ve(),U(H,1,1,()=>{H=null}),we()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[99].externalLink&&i[99].externalLink.url?D||(D=Qc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Zc(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!y||ce[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[99],i[30](i[99]))))&&f(e,"title",C)},i(X){y||(R(H),R(O),y=!0)},o(X){U(H),U(O),y=!1},d(X){X&&L(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Je(I)}}}function rS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=W(),l=S("span"),a=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){A(o,e,c),A(o,n,c),A(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Le(a,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function aS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?oS:sS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function sS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function oS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Yc(i){let e,t;return e=new $n({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Qc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Zc(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Xc(i){let e,t,n=!i[99].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function uS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function fS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function $c(i){let e,t,n=i[99].label&&xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function xc(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new $n({props:{node:i[99]}});let T=i[99].externalLink&&i[99].externalLink.url&&ed(),V=i[99].badgeCounter&&td(i);function E(...D){return i[68](i[99],...D)}function H(...D){return i[69](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),h=W(),T&&T.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[98])},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(t,h),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[ee(t,"click",E),ee(t,"keyup",function(){bi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?T||(T=ed(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=td(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Oe(o),T&&T.d(),V&&V.d(),P=!1,Je(I)}}}function ed(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function td(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function nd(i){let e,t,n=!i[99].hideFromNav&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function id(i){let e,t,n,l=i[27](i[95])+"",r,a,o,c,h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=od(Dc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Ne(l),a=W(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&134225920)&&l!==(l=p[27](p[95])+"")&&Le(r,l),b[0]&1090592896|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Dc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=od(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&L(e),ft(d,p)}}}function ld(i){let e,t,n=i[99].label&&rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function rd(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new $n({props:{node:i[99]}});let T=i[99].externalLink&&i[99].externalLink.url&&ad(),V=i[99].badgeCounter&&sd(i);function E(...D){return i[70](i[99],...D)}function H(...D){return i[71](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),h=W(),T&&T.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(t,h),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[ee(t,"click",E),ee(t,"keyup",function(){bi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?T||(T=ad(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=sd(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Oe(o),T&&T.d(),V&&V.d(),P=!1,Je(I)}}}function ad(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function sd(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function od(i){let e,t,n=!i[99].hideFromNav&&ld(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ld(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ud(i){let e,t,n=i[99].label&&fd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function fd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(X,ce){return X[99].icon?dS:cS}let E=V(i),H=E(i);c=new $n({props:{node:i[99]}});let D=i[99].externalLink&&i[99].externalLink.url&&cd(),O=i[99].badgeCounter&&dd(i);function z(...X){return i[63](i[99],...X)}function Q(...X){return i[64](i[99],...X)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Me(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[99])),f(t,"title",b=i[35](i[99],i[30](i[99]))),f(t,"class",m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=re.getTestId(i[99])),f(e,"class","fd-nested-list__item")},m(X,ce){A(X,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Ve(c,l,null),w(t,d),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,I||(T=[ee(t,"click",z),ee(t,"keyup",function(){bi(i[24]?void 0:Q)&&(i[24]?void 0:Q).apply(this,arguments)})],I=!0)},p(X,ce){i=X,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Z={};ce[0]&8192&&(Z.node=i[99]),c.$set(Z),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?D||(D=cd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=dd(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!P||ce[0]&8192&&p!==(p=i[33](i[99])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[99],i[30](i[99]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[99])))&&f(t,"data-testid",C)},i(X){P||(R(c.$$.fragment,X),R(O),P=!0)},o(X){U(c.$$.fragment,X),U(O),P=!1},d(X){X&&L(e),H.d(),Oe(c),D&&D.d(),O&&O.d(),I=!1,Je(T)}}}function cS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function dS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?gS:hS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function hS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function gS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function cd(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function dd(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function hd(i){let e,t,n=!i[99].hideFromNav&&ud(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ud(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function gd(i){let e,t,n,l,r,a;const o=[eS,x2],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(RS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function _d(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&pd(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},m(c,h){A(c,e,h),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,h){h[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Le(r,l),c[3]?o?o.p(c,h):(o=pd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function pd(i){let e;function t(r,a){return r[4]=="button"?pS:_S}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function _S(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){A(r,e,a),n||(l=[ee(e,"click",i[76]),ee(e,"keydown",i[77])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Je(l)}}}function pS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1bekqg6")},m(a,o){A(a,e,o),w(e,t),l||(r=ee(e,"click",i[75]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&L(e),l=!1,r()}}}function md(i){let e,t=!i[12].renderer&&bd(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(n,e,l),t&&t.m(e,null),i[49](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=bd(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[49](null)}}}function bd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&vd(i),g=i[12].showUpLink&&wd(i);return{c(){e=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=vd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=wd(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&L(e),d&&d.d(),g&&g.d()}}}function vd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?bS:mS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function mS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!$e(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function bS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function wd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function kd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=i[14],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ud(Mc(i,m,y));const C=y=>U(v[y],1,1,()=>{v[y]=null});return{c(){e=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=S("li"),r=W(),a=S("li"),o=S("div"),c=S("a"),c.innerHTML=`<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span>
55
- <span class="fd-navigation__text">More Items</span>`,h=W(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){A(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[61](e),g=!0,p||(b=[ee(c,"click",i[42]),ee(c,"keypress",i[60])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=y[14];let I;for(I=0;I<m.length;I+=1){const T=Mc(y,m,I);v[I]?(v[I].p(T,P),R(v[I],1)):(v[I]=Ud(T),v[I].c(),R(v[I],1),v[I].m(t,n))}for(ve(),I=m.length;I<v.length;I+=1)C(I);we()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&L(e),ft(v,y),i[61](null),p=!1,Je(b)}}}function vS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V,E;function H(G,j){return j[0]&16384&&(l=null),l==null&&(l=!!G[32](G[96].metaInfo.icon)),l?SS:kS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[52](i[96])}function Q(){return i[53](i[96])}function X(...G){return i[54](i[96],...G)}function ce(...G){return i[55](i[96],...G)}let Z=(!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8])&&Sd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),O.c(),r=W(),a=S("span"),c=Ne(o),h=W(),d=S("span"),g=W(),p=S("span"),y=W(),Z&&Z.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[35](i[96],i[27](i[95]))),f(t,"aria-expanded",v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:tn(i[96],i[9])),f(t,"aria-selected",C=i[6]&&i[96].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"data-testid",I=i[34](i[96].metaInfo,i[95]))},m(G,j){A(G,e,j),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),Z&&Z.m(e,null),T=!0,V||(E=[ee(n,"click",mt(z)),ee(n,"keypress",mt(Q)),ee(n,"keypress",mt(X)),ee(t,"click",Bt(ce))],V=!0)},p(G,j){i=G,D===(D=H(i,j))&&O?O.p(i,j):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!T||j[0]&134234112)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!T||j[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!T||j[0]&134234112&&m!==(m=i[35](i[96],i[27](i[95]))))&&f(t,"title",m),(!T||j[0]&17216&&v!==(v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:tn(i[96],i[9])))&&f(t,"aria-expanded",v),(!T||j[0]&16576&&C!==(C=i[6]&&i[96].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8]?Z?(Z.p(i,j),j[0]&16704&&R(Z,1)):(Z=Sd(i),Z.c(),R(Z,1),Z.m(e,null)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),(!T||j[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!T||j[0]&16384&&I!==(I=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",I)},i(G){T||(R(Z),T=!0)},o(G){U(Z),T=!1},d(G){G&&L(e),O.d(),Z&&Z.d(),V=!1,Je(E)}}}function wS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=Md(Bc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Bc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Md(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function kS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function SS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Sd(i){let e,t,n,l,r,a,o,c=i[6]&&Cd(i),h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=Ed(Uc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=W(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=Cd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Uc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Ed(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1bekqg6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&L(e),c&&c.d(),ft(d,p)}}}function Cd(i){let e,t,n,l,r=i[27](i[95])+"",a,o,c,h,d,g=i[10]&&i[96].metaInfo.icon&&yd(i);return{c(){e=S("div"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),o=W(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[35](i[96],i[27](i[95]))),f(e,"data-testid",d=i[34](i[96].metaInfo,i[95]))},m(p,b){A(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[96].metaInfo.icon?g?g.p(p,b):(g=yd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[95])+"")&&Le(a,r),b[0]&134234112&&h!==(h=p[35](p[96],p[27](p[95])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[96].metaInfo,p[95]))&&f(e,"data-testid",d)},d(p){p&&L(e),g&&g.d()}}}function yd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?yS:CS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function CS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function yS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Pd(i){let e,t,n=i[99].label&&Id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Id(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E=i[30](i[99])+"",H,D,O,z,Q,X,ce,Z,G,j,ae,fe,ne,se;c=new $n({props:{node:i[99]}});let Se=i[99].externalLink&&i[99].externalLink.url&&Nd(),ie=i[99].badgeCounter&&Td(i);function Re(...qe){return i[56](i[99],...qe)}function ze(...qe){return i[57](i[99],...qe)}O=new $n({props:{node:i[99]}});let Ce=i[99].externalLink&&i[99].externalLink.url&&Ld(),Pe=i[99].badgeCounter&&Ad(i);function Fe(...qe){return i[58](i[99],...qe)}function ct(...qe){return i[59](i[99],...qe)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Me(c.$$.fragment),d=W(),g=S("span"),p=W(),Se&&Se.c(),b=W(),ie&&ie.c(),P=W(),I=S("li"),T=S("a"),V=S("span"),H=Ne(E),D=W(),Me(O.$$.fragment),Q=W(),Ce&&Ce.c(),X=W(),Pe&&Pe.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[99])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[99]===i[7]),f(t,"data-testid",y=re.getTestId(i[99])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(T,"href",ce=i[33](i[99])),f(T,"class",Z="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(T,"role",G=i[24]?void 0:"button"),f(T,"tabindex","0"),f(T,"data-testid",j=re.getTestId(i[99])),f(T,"title",ae=i[35](i[99],i[30](i[99]))),On(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+i[98])},m(qe,dt){A(qe,e,dt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Ve(c,l,null),w(n,d),w(n,g),w(n,p),Se&&Se.m(n,null),w(n,b),ie&&ie.m(n,null),A(qe,P,dt),A(qe,I,dt),w(I,T),w(T,V),w(V,H),w(V,D),Ve(O,V,null),w(T,Q),Ce&&Ce.m(T,null),w(T,X),Pe&&Pe.m(T,null),fe=!0,ne||(se=[ee(n,"click",Re),ee(n,"keyup",function(){bi(i[24]?void 0:ze)&&(i[24]?void 0:ze).apply(this,arguments)}),ee(T,"click",Fe),ee(T,"keyup",function(){bi(i[24]?void 0:ct)&&(i[24]?void 0:ct).apply(this,arguments)})],ne=!0)},p(qe,dt){i=qe,(!fe||dt[0]&16384)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Ft={};dt[0]&16384&&(Ft.node=i[99]),c.$set(Ft),(!fe||dt[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?Se||(Se=Nd(),Se.c(),Se.m(n,b)):Se&&(Se.d(1),Se=null),i[99].badgeCounter?ie?(ie.p(i,dt),dt[0]&16384&&R(ie,1)):(ie=Td(i),ie.c(),R(ie,1),ie.m(n,null)):ie&&(ve(),U(ie,1,1,()=>{ie=null}),we()),(!fe||dt[0]&16384&&m!==(m=i[33](i[99])))&&f(n,"href",m),(!fe||dt[0]&16384&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v),(!fe||dt[0]&16512&&C!==(C=i[99]===i[7]))&&f(t,"aria-selected",C),(!fe||dt[0]&16384&&y!==(y=re.getTestId(i[99])))&&f(t,"data-testid",y),(!fe||dt[0]&16384)&&E!==(E=i[30](i[99])+"")&&Le(H,E);const de={};dt[0]&16384&&(de.node=i[99]),O.$set(de),(!fe||dt[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[99].externalLink&&i[99].externalLink.url?Ce||(Ce=Ld(),Ce.c(),Ce.m(T,X)):Ce&&(Ce.d(1),Ce=null),i[99].badgeCounter?Pe?(Pe.p(i,dt),dt[0]&16384&&R(Pe,1)):(Pe=Ad(i),Pe.c(),R(Pe,1),Pe.m(T,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!fe||dt[0]&16384&&ce!==(ce=i[33](i[99])))&&f(T,"href",ce),(!fe||dt[0]&16512&&Z!==(Z="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(T,"class",Z),(!fe||dt[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(T,"role",G),(!fe||dt[0]&16384&&j!==(j=re.getTestId(i[99])))&&f(T,"data-testid",j),(!fe||dt[0]&16384&&ae!==(ae=i[35](i[99],i[30](i[99]))))&&f(T,"title",ae)},i(qe){fe||(R(c.$$.fragment,qe),R(ie),R(O.$$.fragment,qe),R(Pe),fe=!0)},o(qe){U(c.$$.fragment,qe),U(ie),U(O.$$.fragment,qe),U(Pe),fe=!1},d(qe){qe&&L(e),Oe(c),Se&&Se.d(),ie&&ie.d(),qe&&L(P),qe&&L(I),Oe(O),Ce&&Ce.d(),Pe&&Pe.d(),ne=!1,Je(se)}}}function Nd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Td(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ld(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Ad(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ed(i){let e,t,n=!i[99].hideFromNav&&Pd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Pd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Rd(i){let e,t,n=i[99].label&&Dd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dd(i){let e,t,n,l,r,a=i[30](i[99])+"",o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H;function D(G,j){return G[99].icon?IS:PS}let O=D(i),z=O(i);h=new $n({props:{node:i[99]}});let Q=i[99].externalLink&&i[99].externalLink.url&&Vd(),X=i[99].badgeCounter&&Od(i);function ce(...G){return i[50](i[99],...G)}function Z(...G){return i[51](i[99],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),l=W(),r=S("span"),o=Ne(a),c=W(),Me(h.$$.fragment),g=W(),Q&&Q.c(),p=W(),X&&X.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[99])),f(n,"title",y=i[35](i[99],i[30](i[99]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",I=re.getTestId(i[99])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",T=i[99]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,j){A(G,e,j),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Ve(h,r,null),w(n,g),Q&&Q.m(n,null),w(n,p),X&&X.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",ce),ee(n,"keyup",function(){bi(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],E=!0)},p(G,j){i=G,O===(O=D(i))&&z?z.p(i,j):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||j[0]&16384)&&a!==(a=i[30](i[99])+"")&&Le(o,a);const ae={};j[0]&16384&&(ae.node=i[99]),h.$set(ae),(!V||j[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[99].externalLink&&i[99].externalLink.url?Q||(Q=Vd(),Q.c(),Q.m(n,p)):Q&&(Q.d(1),Q=null),i[99].badgeCounter?X?(X.p(i,j),j[0]&16384&&R(X,1)):(X=Od(i),X.c(),R(X,1),X.m(n,b)):X&&(ve(),U(X,1,1,()=>{X=null}),we()),(!V||j[0]&16512&&v!==(v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||j[0]&16384&&C!==(C=i[33](i[99])))&&f(n,"href",C),(!V||j[0]&16384&&y!==(y=i[35](i[99],i[30](i[99]))))&&f(n,"title",y),(!V||j[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||j[0]&16384&&I!==(I=re.getTestId(i[99])))&&f(n,"data-testid",I),(!V||j[0]&16512&&T!==(T=i[99]===i[7]))&&f(t,"aria-selected",T)},i(G){V||(R(h.$$.fragment,G),R(X),V=!0)},o(G){U(h.$$.fragment,G),U(X),V=!1},d(G){G&&L(e),z.d(),Oe(h),Q&&Q.d(),X&&X.d(),E=!1,Je(H)}}}function PS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function IS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?TS:NS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function NS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function TS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Od(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Md(i){let e,t,n=!i[99].hideFromNav&&Rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Rd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Fd(i){let e,t,n,l,r,a;const o=[wS,vS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(ES).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function LS(i){let e,t,n=i[92].entries,l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Fc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=a[92].entries;let c;for(c=0;c<n.length;c+=1){const h=Fc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Ud(i){let e,t;return e=new Y2({props:{navGroup:i[92],expanded:i[92].groupEntry&&tn(i[92].groupEntry[1],i[9]),$$slots:{default:[LS]},$$scope:{ctx:i}}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[92]),l[0]&16896&&(r.expanded=n[92].groupEntry&&tn(n[92].groupEntry[1],n[9])),l[0]&151046080|l[3]&1048576&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function AS(i){let e,t,n,l,r,a;const o=[Z2,Q2],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(es,"resize",i[18]),ee(es,"click",i[22]),ee(es,"blur",i[22]),ee(es,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Je(a)}}}function tn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Ho(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const ES=i=>!i.hideFromNav&&i.label,RS=i=>!i.hideFromNav&&i.label;function DS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:T,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async be=>{if(be==="pathData")t(5,p=K.pathData);else if(be==="context")D=K.context;else if(be==="children")t(0,a=K.children);else if(be==="selectedNode")t(7,C=K.selectedNode);else if(be==="hasCategoriesWithIcon")t(10,I=K.hasCategoriesWithIcon);else if(be==="navParent"){t(12,E=void 0);let Xe=K.navParent;if(t(45,H=Xe),Xe&&Xe.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let nt=Xe.navHeader,it=Xe;if(nt==="inherit"){for(it=Xe.parent;it&&it.navHeader==="inherit";)it=it.parent;nt=it?it.navHeader:void 0}if(nt instanceof Function){t(12,E={});let bt=nt(re.stripNode(Xe),re.stripNode(it),D);bt instanceof Promise?bt.then(Wt=>{t(12,E=Wt)}):t(12,E=bt)}else if(nt==="auto")t(12,E={label:Xe.label,icon:Xe.icon});else if(nt&&nt.useTitleResolver&&it.titleResolver){it.titleResolver.prerenderFallback?t(12,E={...nt,label:it.titleResolver.fallbackTitle||"",icon:it.titleResolver.fallbackIcon}):t(12,E=nt);const bt=me.mapPathToNode(at.getCurrentPath(),it);Ut.extractDataFromPath(bt).then(Wt=>{const Zt=me.substituteDynamicParamsInObject(Object.assign({},Wt.pathData.context,it.context),Wt.pathData.pathParams);re.fetchNodeTitleData(it,Zt).then(ci=>{t(12,E={...nt,...ci})}).catch(ci=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...nt,label:Xe.label,icon:Xe.icon})})})}else t(12,E=await dt(nt,it))}}}),t(44,T=re.getSideNavAccordionMode(C)))}},r=Jt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,z,Q=kt("store"),X=kt("getTranslation");vi(i,X,K=>t(27,n=K));let ce=!1,Z=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G,j=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",ae;const fe=K=>re.getNodeLabel(K),ne=async()=>{const K=l.get(),be=await Ut.getLeftNavData({...K},K);be&&(l.set(be),O=p,window.LEFTNAVDATA=be.children)};nn(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),pn.doOnStoreChange(Q,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),pn.doOnStoreChange(Q,()=>{ne()},["navigation.viewgroupdata"]);let K=pi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),pi.onValueChanged(be=>{t(6,v=be.isSemiCollapsed)}),Fn.addEventListener("message",be=>{be.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const se=()=>{if(G){const K=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),be=G.querySelector(".fd-navigation__list"),Xe=G.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(nt=>{nt.navGroupId?be.querySelector(`[navGroupId="${nt.navGroupId}"]`).appendChild(nt):be.insertBefore(nt,Xe)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},Se=()=>{const K=G.querySelector(".fd-navigation__list > .lui-spacer"),be=G.querySelector(".lui-moreItems"),Xe=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&Xe.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let nt=Xe.length-1;nt>0&&(lastNode=Xe[nt-1],Xe[nt].navGroupId=Xe[nt].parentNode.getAttribute("navGroupId"),be.insertBefore(Xe[nt],be.firstChild),!(K.clientHeight>0));nt--);}},ie=()=>{const K=be=>{be&&de(be)};E!=null&&E.renderer&&ae&&(E.clearBeforeRender&&t(26,ae.innerHTML="",ae),E.renderer(ae,H,K))};Zr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let K;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((be,Xe)=>{K&&clearTimeout(K),v&&(K=setTimeout(()=>{se(),Se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):se(),ie()}),Gn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function Re(K){if(Z){const be={},Xe=[],nt=j;let it=[];return K.forEach(bt=>{if(bt[0].startsWith(m))it.push({isSingleEntry:!0,entries:[bt]});else{const Wt=bt[1].metaInfo.categoryUid;if(Wt&&Wt.indexOf(nt)>0)Xe.push(bt);else{const Zt=bt[1].metaInfo.isGroup;be[Wt]={isSingleEntry:!Zt,title:n(bt[1].metaInfo.label),groupEntry:bt,uid:Wt,entries:[Zt?["undefined",bt[1]]:bt]},it.push(be[Wt]),!re.isCollapsedSuperCategory(Wt)&&Zt&&Ht(bt[1],!0)}}}),Xe.forEach(bt=>{const Wt=bt[1].metaInfo.categoryUid.split(nt)[0],Zt=be[Wt];Zt&&(Zt.isSingleEntry&&(Zt.isSingleEntry=!1,Zt.entries=[["undefined",Zt.groupEntry[1]]]),Zt.entries.push(bt))}),it}else return K}let{sortedChildrenEntries:ze}=e,{sortedVerticalNavGroups:Ce}=e;function Pe(K){return re.renderIconClassName(K)}function Fe(K){return re.isOpenUIiconName(K)}function ct(K){return me.getNodeHref(K,b)}function qe(K,be){return K&&K.testId?K.testId:re.prepareForTests(be||K.label)}async function dt(K,be){const Xe=me.mapPathToNode(at.getCurrentPath(),be),it=(await Ut.extractDataFromPath(Xe)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,it)}function Ft(K,be){return re.generateTooltipText(K,be)}function de(K){r("handleClick",{node:K})}function xe(K,be){if(pi.getCollapsed()){let Xe,nt=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?Xe=K.metaInfo.label:Xe=K.category&&K.category.label||K.category,nt&&!nt.classList.contains("isBlocked")&&(nt.className+=" isBlocked"),Xe===y){t(8,y=pi.closePopupMenu(y));return}t(8,y=Xe),nt?St(be):Z&&(Ho(be),be.closest(".lui-moreItems")||Te())}}function St(K){const be=K.closest(".fd-nested-list__item"),Xe=be.offsetTop,nt=zi.getShellbar().offsetHeight;let it;zi.isCustomLuigiContainer()?it=zi.getCustomLuigiContainer().clientHeight:it=window.innerHeight,setTimeout(()=>{const bt=be.getElementsByClassName("lui-flyout-sublist")[0],Wt=K.closest(".lui-fd-side-nav-wrapper").scrollTop,Zt=Xe+nt-Wt,ci=it-Xe-be.offsetHeight+Wt-nt;Zt+bt.offsetHeight>=it?(bt.style.bottom=ci+"px",bt.className+=" has-bottom-position"):bt.style.top=Zt-nt+"px"})}function ln(){if(h){let K=pi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function Ln(K){if(K.code==="ArrowRight"){const Xe=Ae.getCurrentMicrofrontendIframe();Xe&&Xe.contentWindow&&Xe.contentWindow.focus()}}function an(K){let be=H?H.parent:void 0;for(;be;){if(be.pathSegment&&be.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:be});return}be=be.parent}console.warn('Could not resolve "up"-node, redirecting to root'),ip.navigate("/")}function Ht(K,be){pi.getCollapsed()||t(9,P=re.storeExpandedState(K.metaInfo.categoryUid,be,T))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function rt(){t(8,y=pi.closePopupMenu(y)),Te()}function tt(K){K&&K.code==="Escape"&&rt()}function Yt(){t(6,v=pi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),gn()}function Qt(K){const be=K.code;(be==="Enter"||be==="Space")&&Yt()}function An(K,be){(K.code==="Enter"||K==="Space")&&xe(be,K.currentTarget)}function Lt(K,be){K.keyCode===hl&&re.handleNavAnchorClickedWithoutMetaKey(K)&&de(be)}function gn(){if(!re.getBurgerTooltipConfig())return;const[K,be]=re.getBurgerTooltipConfig(),Xe=document.body.classList.contains("lui-semiCollapsible");K&&be&&Xe&&t(11,V=document.body.classList.contains("semiCollapsed")?K:be)}function xn(K,be){return tn(K,be)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function Gt(K){if(!K)return;const be=K.target.parentElement;be.getAttribute("aria-expanded")==="true"?be.setAttribute("aria-expanded","false"):(rt(),be.setAttribute("aria-expanded","true")),K.stopPropagation()}function Sn(K){je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const wi=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},ki=(K,be)=>Lt(be,K),mn=K=>Ht(K,!tn(K,P)),Si=K=>Ht(K,!tn(K,P)),Ci=(K,be)=>An(be,K),yi=(K,be)=>xe(K,be.currentTarget),Pi=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ii=(K,be)=>Lt(be,K),pl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},ml=(K,be)=>Lt(be,K),bl=K=>{(K.code==="Enter"||K.code==="Space")&&Gt(K)};function Ni(K){je[K?"unshift":"push"](()=>{G=K,t(25,G)})}function Gi(K){je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const Ki=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},oi=(K,be)=>Lt(be,K),vl=K=>Ht(K,!tn(K,P)),wl=K=>Ht(K,!tn(K,P)),ji=(K,be)=>An(be,K),kl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Sl=(K,be)=>Lt(be,K),Cl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ti=(K,be)=>Lt(be,K),yl=K=>xe(K,event.currentTarget),ei=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Li=(K,be)=>Lt(be,K),ui=K=>Yt(),Ai=K=>Yt(),fi=K=>Qt(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,I=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,T=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,E=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,ze=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Ce=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((be,Xe)=>be[1].metaInfo.order-Xe[1].metaInfo.order),t(13,ze=K),t(14,Ce=Re(K))}},[a,o,c,d,g,p,v,C,y,P,I,V,E,ze,Ce,m,de,xe,ln,Ln,an,Ht,rt,z,ce,G,ae,n,X,Z,fe,Pe,Fe,ct,qe,Ft,tt,Yt,Qt,An,Lt,xn,Gt,h,T,H,b,St,Ho,Sn,wi,ki,mn,Si,Ci,yi,Pi,Ii,pl,ml,bl,Ni,Gi,Ki,oi,vl,wl,ji,kl,Sl,Cl,Ti,yl,ei,Li,ui,Ai,fi]}class up extends Vt{constructor(e){super(),Dt(this,e,DS,AS,Et,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return Ho}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const VS=i=>{pn.doOnStoreChange(i.store,()=>{const e=te.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),le.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),fp(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},OS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),fp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{let h=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,g)=>{h&&(g+1>=t.length||!t[g+1].pathSegment||!OS(d,t[g+1].pathSegment,n))&&(h=!1)}),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=$r.getDocumentTitle()||r;i.set({title:r}),document.title=Tt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Bd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Hd(i,e,t){const n=i.slice();return n[45]=e[t],n}function MS(i){let e,t,n,l,r=i[1]&&Wd(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Wd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function FS(i){let e,t,n,l,r=i[1]&&qd(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=qd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function Wd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[30](null)}}}function qd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function zd(i){let e,t,n,l=(!i[3]||i[4])&&Gd(i),r=i[3]&&Kd(i),a=i[12]&&i[5]&&th(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Gd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Kd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=th(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Gd(i){let e;function t(r,a){return r[14]?BS:US}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function US(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function BS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"class",r="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Le(l,n),h[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&L(e),a=!1,o()}}}function Kd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?WS:HS}let b=p(i),m=b(i),v=i[6]&&i[7]&&Xd(i),C=i[9]&&i[9].length>0&&$d(i);return{c(){e=S("div"),t=S("div"),m.c(),n=W(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",h="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){A(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(g=ee(t,"click",Bt(KS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=Xd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=$d(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function HS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Bt(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function WS(i){let e,t,n,l=i[9]&&i[9].length===1&&jd(i),r=i[9]&&i[9].length>1&&Jd(i),a=i[9].length>1&&!i[7]&&Zd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=jd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Jd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=Zd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function jd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){A(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Le(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&L(e)}}}function Jd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Qd(Hd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&25832068){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Hd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function Yd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),o=W(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[45])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",h=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",mt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Le(l,n),b[0]&512&&c!==(c=p[24](p[45]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&L(e),d=!1,g()}}}function Qd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Yd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Yd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Zd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",mt(i[35])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function Xd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){A(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",mt(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Le(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&L(e),o=!1,c()}}}function $d(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=eh(Bd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&32296576){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Bd(l,t,a);n[a]?n[a].p(o,r):(n[a]=eh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function qS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),f(e,"class","fd-menu__item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Le(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&L(e),h=!1,d()}}}function zS(i){let e,t=i[18]&&xd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=xd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function xd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new mr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){A(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&L(e)}}}function eh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!le.isFunction(o[10])),e)return zS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return qS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=ke()},m(o,c){a&&a.m(o,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){a&&a.d(o),o&&L(n)}}}function th(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Le(n,t)},d(l){l&&L(e)}}}function GS(i){let e,t;function n(o,c){return o[14]?FS:MS}let l=n(i),r=l(i),a=i[2]&&zd(i);return{c(){r.c(),e=W(),a&&a.c(),t=ke()},m(o,c){r.m(o,c),A(o,e,c),a&&a.m(o,c),A(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=zd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:We,o:We,d(o){r.d(o),o&&L(e),a&&a.d(o),o&&L(t)}}}const KS=()=>{};function jS(i,e,t){let n;const l=Jt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:I}=e,{pathData:T}=e,{addNavHrefForAnchor:V}=e,E,H,D=kt("getUnsavedChangesModalPromise"),O=kt("getTranslation");vi(i,O,de=>t(19,n=de));let z=kt("store");const Q={closeDropDown:()=>{ae("appSwitcherPopover")}},X=()=>({get:()=>({pathData:T,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:I,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:de=>{de&&Object.getOwnPropertyNames(de).forEach(xe=>{xe==="pathData"?t(26,T=de.pathData):xe==="appSwitcherItems"?t(9,v=de.appSwitcherItems):xe==="itemRenderer"?t(10,C=de.itemRenderer):xe==="pathParams"?t(11,y=de.pathParams):xe==="selectedItem"?t(7,b=de.selectedItem):xe==="title"?t(2,o=de.title):xe==="defaultSubTitle"?t(25,I=de.defaultSubTitle):xe==="subTitle"?t(12,P=de.subTitle):xe==="defaultTitle"?t(8,m=de.defaultTitle):xe==="subTitle"?t(12,P=de.subTitle):xe==="showMainAppEntry"?t(6,p=de.showMainAppEntry):xe==="hasApps"?t(3,c=de.hasApps):xe==="keepMainTitle"?t(4,h=de.keepMainTitle):xe==="showSubTitle"?t(5,d=de.showSubTitle):xe==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});nn(()=>{VS(X())}),Gn(()=>{(!H||H!=T)&&(fp(X()),H=T)});function ce(de,xe,St){return setTimeout(()=>{xe&&C(de,xe.children[St],Q)}),""}function Z(de){D().then(()=>{at.navigateTo(me.applyPathParams(de,y))},()=>{})}function G(){D().then(()=>{at.navigateTo("/")},()=>{})}function j(de){l("handleClick",{node:de}),ae("appSwitcherPopover")}function ae(de){l("toggleDropdownState",{name:de})}function fe(de){return de.testId?de.testId:re.prepareForTests(de.title||de)}function ne(de,xe){if(de.link){const St=me.applyPathParams(de.link,xe);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function se(de){return me.getNodeHref(de)}function Se(de){je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ie=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")};function Re(de){je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ze=()=>Z("/"),Ce=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")},Pe=()=>Z("/"),Fe=()=>ae("appSwitcherPopover"),ct=()=>ae("appSwitcherPopover"),qe=()=>ae("appSwitcherPopover"),dt=(de,xe)=>{re.handleNavAnchorClickedWithoutMetaKey(xe)&&Z(de.link)};function Ft(de){je[de?"unshift":"push"](()=>{E=de,t(18,E)})}return i.$$set=de=>{"logo"in de&&t(0,r=de.logo),"hasLogo"in de&&t(1,a=de.hasLogo),"title"in de&&t(2,o=de.title),"hasApps"in de&&t(3,c=de.hasApps),"keepMainTitle"in de&&t(4,h=de.keepMainTitle),"showSubTitle"in de&&t(5,d=de.showSubTitle),"dropDownStates"in de&&t(13,g=de.dropDownStates),"showMainAppEntry"in de&&t(6,p=de.showMainAppEntry),"selectedItem"in de&&t(7,b=de.selectedItem),"defaultTitle"in de&&t(8,m=de.defaultTitle),"appSwitcherItems"in de&&t(9,v=de.appSwitcherItems),"itemRenderer"in de&&t(10,C=de.itemRenderer),"pathParams"in de&&t(11,y=de.pathParams),"subTitle"in de&&t(12,P=de.subTitle),"defaultSubTitle"in de&&t(25,I=de.defaultSubTitle),"pathData"in de&&t(26,T=de.pathData),"addNavHrefForAnchor"in de&&t(14,V=de.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Z,G,ae,E,n,O,ce,fe,ne,se,I,T,j,Se,ie,Re,ze,Ce,Pe,Fe,ct,qe,dt,Ft]}class JS extends Vt{constructor(e){super(),Dt(this,e,jS,GS,Et,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function nh(i,e,t){const n=i.slice();return n[34]=e[t],n}function ih(i){let e,t,n,l,r,a,o=i[0]&&lh(i),c=(i[10]||i[11])&&ch(i);return{c(){e=S("div"),o&&o.c(),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(h,d){A(h,e,d),o&&o.m(e,null),A(h,t,d),A(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=lh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=ch(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&L(e),o&&o.d(),h&&L(t),h&&L(n),c&&c.d()}}}function lh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?QS:YS}let h=c(i),d=h(i),g=i[7].name&&rh(i),p=i[7].description&&ah(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=oh(nh(i,b,C));let v=i[12]&&uh(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){A(C,e,y),d.m(e,null),A(C,t,y),A(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),A(C,r,y),A(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=rh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=ah(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const I=nh(C,b,P);m[P]?m[P].p(I,y):(m[P]=oh(I),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=uh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&L(e),d.d(),C&&L(t),C&&L(n),g&&g.d(),p&&p.d(),C&&L(r),C&&L(a),ft(m,C),v&&v.d()}}}function YS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(n,t)},d(l){l&&L(e)}}}function QS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),On(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&On(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function rh(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&L(e)}}}function ah(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&L(e)}}}function sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function ZS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),On(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&On(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&L(e)}}}function XS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function oh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&sh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=sh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),g&&g.d(),h=!1,Je(d)}}}function uh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&fh(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){A(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=fh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&L(e),h&&h.d(),o=!1,Je(c)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function $S(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),$e(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function xS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&dh(i),l=i[10]&&!i[8]&&hh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=dh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=hh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function dh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function hh(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=W(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){A(a,e,o),A(a,t,o),A(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:We,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Je(r)}}}function eC(i){let e,t=!i[1]&&ih(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=ih(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function tC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");vi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");nn(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),hn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),hn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){hn.startAuthorization()}function T(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,hn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,hn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(hn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){hn.logout()}function Z({keyCode:ne}){(ne===hl||ne===Qr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>Z(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Q,X,Z,o,c,h,d,g,p,n,C,I,T,V,E,H,D,O,ce,j,ae,fe]}class nC extends Vt{constructor(e){super(),Dt(this,e,tC,eC,Et,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function gh(i,e,t){const n=i.slice();return n[34]=e[t],n}function _h(i){let e,t,n,l,r,a=i[0]&&ph(i),o=i[9].items,c=[];for(let g=0;g<o.length;g+=1)c[g]=bh(gh(i,o,g));let h=i[12]&&vh(i),d=(i[10]||i[11])&&kh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(g,p){A(g,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=ph(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=g[9].items;let b;for(b=0;b<o.length;b+=1){const m=gh(g,o,b);c[b]?c[b].p(m,p):(c[b]=bh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=vh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=kh(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&L(e),a&&a.d(),ft(c,g),h&&h.d(),d&&d.d()}}}function ph(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,n)},d(r){r&&L(e)}}}function mh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function iC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function lC(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function bh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&mh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=mh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),g&&g.d(),h=!1,Je(d)}}}function vh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&wh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=wh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,Je(h)}}}function wh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function rC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function aC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function kh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Sh(i),l=i[10]&&!i[8]&&yh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Sh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=yh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function Sh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ch(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,h()}}}function Ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?oC:sC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function sC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function oC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function yh(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){A(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:We,d(l){l&&L(e),t=!1,n()}}}function uC(i){let e,t=!i[1]&&_h(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=_h(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function fC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");vi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");nn(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),hn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),hn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){hn.startAuthorization()}function T(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings");t(12,p=!!Se);const ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,hn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,hn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(hn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){hn.logout()}function Z({keyCode:ne}){(ne===hl||ne===Qr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>Z(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Q,X,Z,o,c,h,d,g,p,n,C,I,T,V,E,H,D,O,ce,j,ae,fe]}class cp extends Vt{constructor(e){super(),Dt(this,e,fC,uC,Et,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Ph(i,e,t){const n=i.slice();return n[11]=e[t],n}function Ih(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Lh(Ph(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const h=Ph(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Lh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Nh(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function I(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?dC:cC}let T=I(i,-1),V=T(i);r=new Tn({props:{node:i[11]}});let E=p&&Th(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Me(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=re.getTestId(i[11]))},m(D,O){A(D,e,O),w(e,t),V.m(t,null),w(t,l),Ve(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(D,O){i=D,T===(T=I(i,O))&&V?V.p(i,O):(V.d(1),V=T(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Le(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Th(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&L(e),V.d(),Oe(r),E&&E.d(),y=!1,P()}}}function cC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){A(l,e,r)},p(l,r){r&2&&!$e(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function dC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){A(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&L(e)}}}function Th(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&L(e)}}}function Lh(i){let e,t,n=i[11].label&&Nh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Nh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function hC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T=i[1]&&Ih(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=W(),h=S("div"),d=S("div"),g=S("ul"),T&&T.c(),p=W(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),T&&T.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[ee(C,"click",i[8]),ee(e,"click",Bt(gC))],P=!0)},p(V,[E]){(!y||E&1)&&Le(o,V[0]),V[1]?T?(T.p(V,E),E&2&&R(T,1)):(T=Ih(V),T.c(),R(T,1),T.m(g,null)):T&&(ve(),U(T,1,1,()=>{T=null}),we())},i(V){y||(R(T),y=!0)},o(V){U(T),y=!1},d(V){V&&L(e),T&&T.d(),P=!1,Je(I)}}}const gC=()=>{};function _C(i,e,t){const n=Jt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Ul.call(this,i,m)}const b=m=>g(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class dp extends Vt{constructor(e){super(),Dt(this,e,_C,hC,Et,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:pC}=_l;function Ah(i,e,t){const n=i.slice();return n[7]=e[t],n}function Eh(i){let e,t,n,l=i[0]&&Rh(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Rh(r),l.c(),R(l,1),l.m(t,null)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Rh(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Vh(Ah(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const h=Ah(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Vh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Dh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?bC:mC}let P=y(i,-1),I=P(i);a=new Tn({props:{node:i[7]}});function T(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),I.c(),r=W(),Me(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=re.getTestId(i[7]))},m(V,E){A(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ee(t,"click",i[13]),ee(e,"click",T)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Le(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=re.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),I.d(),Oe(a),v=!1,Je(C)}}}function mC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),$e(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function bC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Vh(i){let e,t,n=i[7].label&&Dh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Dh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Oh(i){let e,t;return e=new dp({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function vC(i){let e,t,n,l,r,a=!i[1]&&Eh(i),o=i[1]&&Oh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=ke()},m(c,h){a&&a.m(c,h),A(c,e,h),o&&o.m(c,h),A(c,t,h),n=!0,l||(r=ee(pC,"resize",us),l=!0)},p(c,[h]){c[1]?a&&(ve(),U(a,1,1,()=>{a=null}),we()):a?(a.p(c,h),h&2&&R(a,1)):(a=Eh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Oh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ve(),U(o,1,1,()=>{o=null}),we())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){a&&a.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function wC(i,e,t){const n=Jt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=kt("getUnsavedChangesModalPromise"),h=kt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});nn(async()=>{us()}),Gn(async()=>{r||t(0,r=await Ut.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=me.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else at.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return re.isOpenUIiconName(E.icon)}function y(E){return re.renderIconClassName(E)}function P(E){return Tt.getTranslation(E.label)}function I(E){return me.getNodeHref(E,o)}const T=E=>{re.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,us,a,g,C,y,P,I,T,V]}class hp extends Vt{constructor(e){super(),Dt(this,e,wC,vC,Et,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return us}}const kn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(at.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=kn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=le.normalizePath(i),t=le.normalizePath(t),!!kn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=kn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await kn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await kn.generateSwitcherNav(e,t)}};function Mh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Fh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wh(Uh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Wh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function Hh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",mt(NC)),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Wh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Hh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Hh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function qh(i){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
55
+ <span class="fd-navigation__text">More Items</span>`,h=W(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){A(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[61](e),g=!0,p||(b=[ee(c,"click",i[42]),ee(c,"keypress",i[60])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=y[14];let I;for(I=0;I<m.length;I+=1){const T=Mc(y,m,I);v[I]?(v[I].p(T,P),R(v[I],1)):(v[I]=Ud(T),v[I].c(),R(v[I],1),v[I].m(t,n))}for(ve(),I=m.length;I<v.length;I+=1)C(I);we()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&L(e),ft(v,y),i[61](null),p=!1,Je(b)}}}function vS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V,E;function H(G,j){return j[0]&16384&&(l=null),l==null&&(l=!!G[32](G[96].metaInfo.icon)),l?SS:kS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[52](i[96])}function Q(){return i[53](i[96])}function X(...G){return i[54](i[96],...G)}function ce(...G){return i[55](i[96],...G)}let Z=(!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8])&&Sd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),O.c(),r=W(),a=S("span"),c=Ne(o),h=W(),d=S("span"),g=W(),p=S("span"),y=W(),Z&&Z.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[35](i[96],i[27](i[95]))),f(t,"aria-expanded",v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:tn(i[96],i[9])),f(t,"aria-selected",C=i[6]&&i[96].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"data-testid",I=i[34](i[96].metaInfo,i[95]))},m(G,j){A(G,e,j),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),Z&&Z.m(e,null),T=!0,V||(E=[ee(n,"click",mt(z)),ee(n,"keypress",mt(Q)),ee(n,"keypress",mt(X)),ee(t,"click",Bt(ce))],V=!0)},p(G,j){i=G,D===(D=H(i,j))&&O?O.p(i,j):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!T||j[0]&134234112)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!T||j[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!T||j[0]&134234112&&m!==(m=i[35](i[96],i[27](i[95]))))&&f(t,"title",m),(!T||j[0]&17216&&v!==(v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:tn(i[96],i[9])))&&f(t,"aria-expanded",v),(!T||j[0]&16576&&C!==(C=i[6]&&i[96].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8]?Z?(Z.p(i,j),j[0]&16704&&R(Z,1)):(Z=Sd(i),Z.c(),R(Z,1),Z.m(e,null)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),(!T||j[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!T||j[0]&16384&&I!==(I=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",I)},i(G){T||(R(Z),T=!0)},o(G){U(Z),T=!1},d(G){G&&L(e),O.d(),Z&&Z.d(),V=!1,Je(E)}}}function wS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=Md(Bc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Bc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Md(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function kS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function SS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Sd(i){let e,t,n,l,r,a,o,c=i[6]&&Cd(i),h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=Ed(Uc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=W(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=Cd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Uc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Ed(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1bekqg6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&L(e),c&&c.d(),ft(d,p)}}}function Cd(i){let e,t,n,l,r=i[27](i[95])+"",a,o,c,h,d,g=i[10]&&i[96].metaInfo.icon&&yd(i);return{c(){e=S("div"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),o=W(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[35](i[96],i[27](i[95]))),f(e,"data-testid",d=i[34](i[96].metaInfo,i[95]))},m(p,b){A(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[96].metaInfo.icon?g?g.p(p,b):(g=yd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[95])+"")&&Le(a,r),b[0]&134234112&&h!==(h=p[35](p[96],p[27](p[95])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[96].metaInfo,p[95]))&&f(e,"data-testid",d)},d(p){p&&L(e),g&&g.d()}}}function yd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?yS:CS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function CS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function yS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Pd(i){let e,t,n=i[99].label&&Id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Id(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E=i[30](i[99])+"",H,D,O,z,Q,X,ce,Z,G,j,ae,fe,ne,se;c=new $n({props:{node:i[99]}});let Se=i[99].externalLink&&i[99].externalLink.url&&Nd(),ie=i[99].badgeCounter&&Td(i);function Re(...qe){return i[56](i[99],...qe)}function ze(...qe){return i[57](i[99],...qe)}O=new $n({props:{node:i[99]}});let Ce=i[99].externalLink&&i[99].externalLink.url&&Ld(),Pe=i[99].badgeCounter&&Ad(i);function Fe(...qe){return i[58](i[99],...qe)}function ct(...qe){return i[59](i[99],...qe)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Me(c.$$.fragment),d=W(),g=S("span"),p=W(),Se&&Se.c(),b=W(),ie&&ie.c(),P=W(),I=S("li"),T=S("a"),V=S("span"),H=Ne(E),D=W(),Me(O.$$.fragment),Q=W(),Ce&&Ce.c(),X=W(),Pe&&Pe.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[99])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[99]===i[7]),f(t,"data-testid",y=re.getTestId(i[99])),f(e,"class","fd-navigation__list-item"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(T,"href",ce=i[33](i[99])),f(T,"class",Z="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(T,"role",G=i[24]?void 0:"button"),f(T,"tabindex","0"),f(T,"data-testid",j=re.getTestId(i[99])),f(T,"title",ae=i[35](i[99],i[30](i[99]))),On(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+i[98])},m(qe,dt){A(qe,e,dt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Ve(c,l,null),w(n,d),w(n,g),w(n,p),Se&&Se.m(n,null),w(n,b),ie&&ie.m(n,null),A(qe,P,dt),A(qe,I,dt),w(I,T),w(T,V),w(V,H),w(V,D),Ve(O,V,null),w(T,Q),Ce&&Ce.m(T,null),w(T,X),Pe&&Pe.m(T,null),fe=!0,ne||(se=[ee(n,"click",Re),ee(n,"keyup",function(){bi(i[24]?void 0:ze)&&(i[24]?void 0:ze).apply(this,arguments)}),ee(T,"click",Fe),ee(T,"keyup",function(){bi(i[24]?void 0:ct)&&(i[24]?void 0:ct).apply(this,arguments)})],ne=!0)},p(qe,dt){i=qe,(!fe||dt[0]&16384)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Ft={};dt[0]&16384&&(Ft.node=i[99]),c.$set(Ft),(!fe||dt[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?Se||(Se=Nd(),Se.c(),Se.m(n,b)):Se&&(Se.d(1),Se=null),i[99].badgeCounter?ie?(ie.p(i,dt),dt[0]&16384&&R(ie,1)):(ie=Td(i),ie.c(),R(ie,1),ie.m(n,null)):ie&&(ve(),U(ie,1,1,()=>{ie=null}),we()),(!fe||dt[0]&16384&&m!==(m=i[33](i[99])))&&f(n,"href",m),(!fe||dt[0]&16384&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v),(!fe||dt[0]&16512&&C!==(C=i[99]===i[7]))&&f(t,"aria-selected",C),(!fe||dt[0]&16384&&y!==(y=re.getTestId(i[99])))&&f(t,"data-testid",y),(!fe||dt[0]&16384)&&E!==(E=i[30](i[99])+"")&&Le(H,E);const de={};dt[0]&16384&&(de.node=i[99]),O.$set(de),(!fe||dt[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[99].externalLink&&i[99].externalLink.url?Ce||(Ce=Ld(),Ce.c(),Ce.m(T,X)):Ce&&(Ce.d(1),Ce=null),i[99].badgeCounter?Pe?(Pe.p(i,dt),dt[0]&16384&&R(Pe,1)):(Pe=Ad(i),Pe.c(),R(Pe,1),Pe.m(T,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!fe||dt[0]&16384&&ce!==(ce=i[33](i[99])))&&f(T,"href",ce),(!fe||dt[0]&16512&&Z!==(Z="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(T,"class",Z),(!fe||dt[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(T,"role",G),(!fe||dt[0]&16384&&j!==(j=re.getTestId(i[99])))&&f(T,"data-testid",j),(!fe||dt[0]&16384&&ae!==(ae=i[35](i[99],i[30](i[99]))))&&f(T,"title",ae)},i(qe){fe||(R(c.$$.fragment,qe),R(ie),R(O.$$.fragment,qe),R(Pe),fe=!0)},o(qe){U(c.$$.fragment,qe),U(ie),U(O.$$.fragment,qe),U(Pe),fe=!1},d(qe){qe&&L(e),Oe(c),Se&&Se.d(),ie&&ie.d(),qe&&L(P),qe&&L(I),Oe(O),Ce&&Ce.d(),Pe&&Pe.d(),ne=!1,Je(se)}}}function Nd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Td(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ld(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Ad(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ed(i){let e,t,n=!i[99].hideFromNav&&Pd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Pd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Rd(i){let e,t,n=i[99].label&&Dd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dd(i){let e,t,n,l,r,a=i[30](i[99])+"",o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H;function D(G,j){return G[99].icon?IS:PS}let O=D(i),z=O(i);h=new $n({props:{node:i[99]}});let Q=i[99].externalLink&&i[99].externalLink.url&&Vd(),X=i[99].badgeCounter&&Od(i);function ce(...G){return i[50](i[99],...G)}function Z(...G){return i[51](i[99],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),l=W(),r=S("span"),o=Ne(a),c=W(),Me(h.$$.fragment),g=W(),Q&&Q.c(),p=W(),X&&X.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[99])),f(n,"title",y=i[35](i[99],i[30](i[99]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",I=re.getTestId(i[99])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",T=i[99]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry")},m(G,j){A(G,e,j),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Ve(h,r,null),w(n,g),Q&&Q.m(n,null),w(n,p),X&&X.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",ce),ee(n,"keyup",function(){bi(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],E=!0)},p(G,j){i=G,O===(O=D(i))&&z?z.p(i,j):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||j[0]&16384)&&a!==(a=i[30](i[99])+"")&&Le(o,a);const ae={};j[0]&16384&&(ae.node=i[99]),h.$set(ae),(!V||j[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[99].externalLink&&i[99].externalLink.url?Q||(Q=Vd(),Q.c(),Q.m(n,p)):Q&&(Q.d(1),Q=null),i[99].badgeCounter?X?(X.p(i,j),j[0]&16384&&R(X,1)):(X=Od(i),X.c(),R(X,1),X.m(n,b)):X&&(ve(),U(X,1,1,()=>{X=null}),we()),(!V||j[0]&16512&&v!==(v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||j[0]&16384&&C!==(C=i[33](i[99])))&&f(n,"href",C),(!V||j[0]&16384&&y!==(y=i[35](i[99],i[30](i[99]))))&&f(n,"title",y),(!V||j[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||j[0]&16384&&I!==(I=re.getTestId(i[99])))&&f(n,"data-testid",I),(!V||j[0]&16512&&T!==(T=i[99]===i[7]))&&f(t,"aria-selected",T)},i(G){V||(R(h.$$.fragment,G),R(X),V=!0)},o(G){U(h.$$.fragment,G),U(X),V=!1},d(G){G&&L(e),z.d(),Oe(h),Q&&Q.d(),X&&X.d(),E=!1,Je(H)}}}function PS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function IS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?TS:NS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function NS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!$e(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function TS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Od(i){let e,t;return e=new Tn({props:{node:i[99]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Md(i){let e,t,n=!i[99].hideFromNav&&Rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Rd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Fd(i){let e,t,n,l,r,a;const o=[wS,vS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(ES).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function LS(i){let e,t,n=i[92].entries,l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Fc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=a[92].entries;let c;for(c=0;c<n.length;c+=1){const h=Fc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Ud(i){let e,t;return e=new Y2({props:{navGroup:i[92],expanded:i[92].groupEntry&&tn(i[92].groupEntry[1],i[9]),$$slots:{default:[LS]},$$scope:{ctx:i}}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[92]),l[0]&16896&&(r.expanded=n[92].groupEntry&&tn(n[92].groupEntry[1],n[9])),l[0]&151046080|l[3]&1048576&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function AS(i){let e,t,n,l,r,a;const o=[Z2,Q2],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(es,"resize",i[18]),ee(es,"click",i[22]),ee(es,"blur",i[22]),ee(es,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Je(a)}}}function tn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Ho(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const ES=i=>!i.hideFromNav&&i.label,RS=i=>!i.hideFromNav&&i.label;function DS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:T,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async be=>{if(be==="pathData")t(5,p=K.pathData);else if(be==="context")D=K.context;else if(be==="children")t(0,a=K.children);else if(be==="selectedNode")t(7,C=K.selectedNode);else if(be==="hasCategoriesWithIcon")t(10,I=K.hasCategoriesWithIcon);else if(be==="navParent"){t(12,E=void 0);let Xe=K.navParent;if(t(45,H=Xe),Xe&&Xe.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let nt=Xe.navHeader,it=Xe;if(nt==="inherit"){for(it=Xe.parent;it&&it.navHeader==="inherit";)it=it.parent;nt=it?it.navHeader:void 0}if(nt instanceof Function){t(12,E={});let bt=nt(re.stripNode(Xe),re.stripNode(it),D);bt instanceof Promise?bt.then(Wt=>{t(12,E=Wt)}):t(12,E=bt)}else if(nt==="auto")t(12,E={label:Xe.label,icon:Xe.icon});else if(nt&&nt.useTitleResolver&&it.titleResolver){it.titleResolver.prerenderFallback?t(12,E={...nt,label:it.titleResolver.fallbackTitle||"",icon:it.titleResolver.fallbackIcon}):t(12,E=nt);const bt=me.mapPathToNode(at.getCurrentPath(),it);Ut.extractDataFromPath(bt).then(Wt=>{const Zt=me.substituteDynamicParamsInObject(Object.assign({},Wt.pathData.context,it.context),Wt.pathData.pathParams);re.fetchNodeTitleData(it,Zt).then(ci=>{t(12,E={...nt,...ci})}).catch(ci=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...nt,label:Xe.label,icon:Xe.icon})})})}else t(12,E=await dt(nt,it))}}}),t(44,T=re.getSideNavAccordionMode(C)))}},r=Jt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,z,Q=kt("store"),X=kt("getTranslation");vi(i,X,K=>t(27,n=K));let ce=!1,Z=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G,j=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",ae;const fe=K=>re.getNodeLabel(K),ne=async()=>{const K=l.get(),be=await Ut.getLeftNavData({...K},K);be&&(l.set(be),O=p,window.LEFTNAVDATA=be.children)};nn(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),pn.doOnStoreChange(Q,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),pn.doOnStoreChange(Q,()=>{ne()},["navigation.viewgroupdata"]);let K=pi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),pi.onValueChanged(be=>{t(6,v=be.isSemiCollapsed)}),Fn.addEventListener("message",be=>{be.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const se=()=>{if(G){const K=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),be=G.querySelector(".fd-navigation__list"),Xe=G.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(nt=>{nt.navGroupId?be.querySelector(`[navGroupId="${nt.navGroupId}"]`).appendChild(nt):be.insertBefore(nt,Xe)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},Se=()=>{const K=G.querySelector(".fd-navigation__list > .lui-spacer"),be=G.querySelector(".lui-moreItems"),Xe=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&Xe.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let nt=Xe.length-1;nt>0&&(lastNode=Xe[nt-1],Xe[nt].navGroupId=Xe[nt].parentNode.getAttribute("navGroupId"),be.insertBefore(Xe[nt],be.firstChild),!(K.clientHeight>0));nt--);}},ie=()=>{const K=be=>{be&&de(be)};E!=null&&E.renderer&&ae&&(E.clearBeforeRender&&t(26,ae.innerHTML="",ae),E.renderer(ae,H,K))};Zr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let K;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((be,Xe)=>{K&&clearTimeout(K),v&&(K=setTimeout(()=>{se(),Se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):se(),ie()}),Gn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function Re(K){if(Z){const be={},Xe=[],nt=j;let it=[];return K.forEach(bt=>{if(bt[0].startsWith(m))it.push({isSingleEntry:!0,entries:[bt]});else{const Wt=bt[1].metaInfo.categoryUid;if(Wt&&Wt.indexOf(nt)>0)Xe.push(bt);else{const Zt=bt[1].metaInfo.isGroup;be[Wt]={isSingleEntry:!Zt,title:n(bt[1].metaInfo.label),groupEntry:bt,uid:Wt,entries:[Zt?["undefined",bt[1]]:bt]},it.push(be[Wt]),!re.isCollapsedSuperCategory(Wt)&&Zt&&Ht(bt[1],!0)}}}),Xe.forEach(bt=>{const Wt=bt[1].metaInfo.categoryUid.split(nt)[0],Zt=be[Wt];Zt&&(Zt.isSingleEntry&&(Zt.isSingleEntry=!1,Zt.entries=[["undefined",Zt.groupEntry[1]]]),Zt.entries.push(bt))}),it}else return K}let{sortedChildrenEntries:ze}=e,{sortedVerticalNavGroups:Ce}=e;function Pe(K){return re.renderIconClassName(K)}function Fe(K){return re.isOpenUIiconName(K)}function ct(K){return me.getNodeHref(K,b)}function qe(K,be){return K&&K.testId?K.testId:re.prepareForTests(be||K.label)}async function dt(K,be){const Xe=me.mapPathToNode(at.getCurrentPath(),be),it=(await Ut.extractDataFromPath(Xe)).pathData.pathParams;return me.substituteDynamicParamsInObject(K,it)}function Ft(K,be){return re.generateTooltipText(K,be)}function de(K){r("handleClick",{node:K})}function xe(K,be){if(pi.getCollapsed()){let Xe,nt=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?Xe=K.metaInfo.label:Xe=K.category&&K.category.label||K.category,nt&&!nt.classList.contains("isBlocked")&&(nt.className+=" isBlocked"),Xe===y){t(8,y=pi.closePopupMenu(y));return}t(8,y=Xe),nt?St(be):Z&&(Ho(be),be.closest(".lui-moreItems")||Te())}}function St(K){const be=K.closest(".fd-nested-list__item"),Xe=be.offsetTop,nt=zi.getShellbar().offsetHeight;let it;zi.isCustomLuigiContainer()?it=zi.getCustomLuigiContainer().clientHeight:it=window.innerHeight,setTimeout(()=>{const bt=be.getElementsByClassName("lui-flyout-sublist")[0],Wt=K.closest(".lui-fd-side-nav-wrapper").scrollTop,Zt=Xe+nt-Wt,ci=it-Xe-be.offsetHeight+Wt-nt;Zt+bt.offsetHeight>=it?(bt.style.bottom=ci+"px",bt.className+=" has-bottom-position"):bt.style.top=Zt-nt+"px"})}function ln(){if(h){let K=pi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function Ln(K){if(K.code==="ArrowRight"){const Xe=Ae.getCurrentMicrofrontendIframe();Xe&&Xe.contentWindow&&Xe.contentWindow.focus()}}function an(K){let be=H?H.parent:void 0;for(;be;){if(be.pathSegment&&be.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:be});return}be=be.parent}console.warn('Could not resolve "up"-node, redirecting to root'),ip.navigate("/")}function Ht(K,be){pi.getCollapsed()||t(9,P=re.storeExpandedState(K.metaInfo.categoryUid,be,T))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function rt(){t(8,y=pi.closePopupMenu(y)),Te()}function tt(K){K&&K.code==="Escape"&&rt()}function Yt(){t(6,v=pi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),gn()}function Qt(K){const be=K.code;(be==="Enter"||be==="Space")&&Yt()}function An(K,be){(K.code==="Enter"||K==="Space")&&xe(be,K.currentTarget)}function Lt(K,be){K.keyCode===hl&&re.handleNavAnchorClickedWithoutMetaKey(K)&&de(be)}function gn(){if(!re.getBurgerTooltipConfig())return;const[K,be]=re.getBurgerTooltipConfig(),Xe=document.body.classList.contains("lui-semiCollapsible");K&&be&&Xe&&t(11,V=document.body.classList.contains("semiCollapsed")?K:be)}function xn(K,be){return tn(K,be)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function Gt(K){if(!K)return;const be=K.target.parentElement;be.getAttribute("aria-expanded")==="true"?be.setAttribute("aria-expanded","false"):(rt(),be.setAttribute("aria-expanded","true")),K.stopPropagation()}function Sn(K){je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const wi=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},ki=(K,be)=>Lt(be,K),mn=K=>Ht(K,!tn(K,P)),Si=K=>Ht(K,!tn(K,P)),Ci=(K,be)=>An(be,K),yi=(K,be)=>xe(K,be.currentTarget),Pi=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ii=(K,be)=>Lt(be,K),pl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},ml=(K,be)=>Lt(be,K),bl=K=>{(K.code==="Enter"||K.code==="Space")&&Gt(K)};function Ni(K){je[K?"unshift":"push"](()=>{G=K,t(25,G)})}function Gi(K){je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const Ki=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},oi=(K,be)=>Lt(be,K),vl=K=>Ht(K,!tn(K,P)),wl=K=>Ht(K,!tn(K,P)),ji=(K,be)=>An(be,K),kl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Sl=(K,be)=>Lt(be,K),Cl=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Ti=(K,be)=>Lt(be,K),yl=K=>xe(K,event.currentTarget),ei=(K,be)=>{re.handleNavAnchorClickedWithoutMetaKey(be)&&de(K)},Li=(K,be)=>Lt(be,K),ui=K=>Yt(),Ai=K=>Yt(),fi=K=>Qt(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,I=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,T=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,E=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,ze=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Ce=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((be,Xe)=>be[1].metaInfo.order-Xe[1].metaInfo.order),t(13,ze=K),t(14,Ce=Re(K))}},[a,o,c,d,g,p,v,C,y,P,I,V,E,ze,Ce,m,de,xe,ln,Ln,an,Ht,rt,z,ce,G,ae,n,X,Z,fe,Pe,Fe,ct,qe,Ft,tt,Yt,Qt,An,Lt,xn,Gt,h,T,H,b,St,Ho,Sn,wi,ki,mn,Si,Ci,yi,Pi,Ii,pl,ml,bl,Ni,Gi,Ki,oi,vl,wl,ji,kl,Sl,Cl,Ti,yl,ei,Li,ui,Ai,fi]}class up extends Vt{constructor(e){super(),Dt(this,e,DS,AS,Et,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return Ho}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const VS=i=>{pn.doOnStoreChange(i.store,()=>{const e=te.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),le.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),fp(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},OS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),fp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{let h=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,g)=>{h&&(g+1>=t.length||!t[g+1].pathSegment||!OS(d,t[g+1].pathSegment,n))&&(h=!1)}),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=$r.getDocumentTitle()||r;i.set({title:r}),document.title=Tt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Bd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Hd(i,e,t){const n=i.slice();return n[45]=e[t],n}function MS(i){let e,t,n,l,r=i[1]&&Wd(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Wd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function FS(i){let e,t,n,l,r=i[1]&&qd(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=qd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function Wd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[30](null)}}}function qd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function zd(i){let e,t,n,l=(!i[3]||i[4])&&Gd(i),r=i[3]&&Kd(i),a=i[12]&&i[5]&&th(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Gd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Kd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=th(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Gd(i){let e;function t(r,a){return r[14]?BS:US}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function US(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function BS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"class",r="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Le(l,n),h[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&L(e),a=!1,o()}}}function Kd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?WS:HS}let b=p(i),m=b(i),v=i[6]&&i[7]&&Xd(i),C=i[9]&&i[9].length>0&&$d(i);return{c(){e=S("div"),t=S("div"),m.c(),n=W(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",h="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){A(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(g=ee(t,"click",Bt(KS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=Xd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=$d(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function HS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Bt(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function WS(i){let e,t,n,l=i[9]&&i[9].length===1&&jd(i),r=i[9]&&i[9].length>1&&Jd(i),a=i[9].length>1&&!i[7]&&Zd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=jd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Jd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=Zd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function jd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){A(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Le(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&L(e)}}}function Jd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Qd(Hd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&25832068){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Hd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function Yd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),o=W(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[45])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",h=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",mt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Le(l,n),b[0]&512&&c!==(c=p[24](p[45]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&L(e),d=!1,g()}}}function Qd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Yd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Yd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Zd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",mt(i[35])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function Xd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){A(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",mt(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Le(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&L(e),o=!1,c()}}}function $d(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=eh(Bd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&32296576){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Bd(l,t,a);n[a]?n[a].p(o,r):(n[a]=eh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function qS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),f(e,"class","fd-menu__item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Le(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&L(e),h=!1,d()}}}function zS(i){let e,t=i[18]&&xd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=xd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function xd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new mr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){A(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&L(e)}}}function eh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!le.isFunction(o[10])),e)return zS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return qS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=ke()},m(o,c){a&&a.m(o,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){a&&a.d(o),o&&L(n)}}}function th(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Le(n,t)},d(l){l&&L(e)}}}function GS(i){let e,t;function n(o,c){return o[14]?FS:MS}let l=n(i),r=l(i),a=i[2]&&zd(i);return{c(){r.c(),e=W(),a&&a.c(),t=ke()},m(o,c){r.m(o,c),A(o,e,c),a&&a.m(o,c),A(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=zd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:We,o:We,d(o){r.d(o),o&&L(e),a&&a.d(o),o&&L(t)}}}const KS=()=>{};function jS(i,e,t){let n;const l=Jt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:I}=e,{pathData:T}=e,{addNavHrefForAnchor:V}=e,E,H,D=kt("getUnsavedChangesModalPromise"),O=kt("getTranslation");vi(i,O,de=>t(19,n=de));let z=kt("store");const Q={closeDropDown:()=>{ae("appSwitcherPopover")}},X=()=>({get:()=>({pathData:T,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:I,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:de=>{de&&Object.getOwnPropertyNames(de).forEach(xe=>{xe==="pathData"?t(26,T=de.pathData):xe==="appSwitcherItems"?t(9,v=de.appSwitcherItems):xe==="itemRenderer"?t(10,C=de.itemRenderer):xe==="pathParams"?t(11,y=de.pathParams):xe==="selectedItem"?t(7,b=de.selectedItem):xe==="title"?t(2,o=de.title):xe==="defaultSubTitle"?t(25,I=de.defaultSubTitle):xe==="subTitle"?t(12,P=de.subTitle):xe==="defaultTitle"?t(8,m=de.defaultTitle):xe==="subTitle"?t(12,P=de.subTitle):xe==="showMainAppEntry"?t(6,p=de.showMainAppEntry):xe==="hasApps"?t(3,c=de.hasApps):xe==="keepMainTitle"?t(4,h=de.keepMainTitle):xe==="showSubTitle"?t(5,d=de.showSubTitle):xe==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});nn(()=>{VS(X())}),Gn(()=>{(!H||H!=T)&&(fp(X()),H=T)});function ce(de,xe,St){return setTimeout(()=>{xe&&C(de,xe.children[St],Q)}),""}function Z(de){D().then(()=>{at.navigateTo(me.applyPathParams(de,y))},()=>{})}function G(){D().then(()=>{at.navigateTo("/")},()=>{})}function j(de){l("handleClick",{node:de}),ae("appSwitcherPopover")}function ae(de){l("toggleDropdownState",{name:de})}function fe(de){return de.testId?de.testId:re.prepareForTests(de.title||de)}function ne(de,xe){if(de.link){const St=me.applyPathParams(de.link,xe);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function se(de){return me.getNodeHref(de)}function Se(de){je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ie=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")};function Re(de){je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ze=()=>Z("/"),Ce=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&Z("/")},Pe=()=>Z("/"),Fe=()=>ae("appSwitcherPopover"),ct=()=>ae("appSwitcherPopover"),qe=()=>ae("appSwitcherPopover"),dt=(de,xe)=>{re.handleNavAnchorClickedWithoutMetaKey(xe)&&Z(de.link)};function Ft(de){je[de?"unshift":"push"](()=>{E=de,t(18,E)})}return i.$$set=de=>{"logo"in de&&t(0,r=de.logo),"hasLogo"in de&&t(1,a=de.hasLogo),"title"in de&&t(2,o=de.title),"hasApps"in de&&t(3,c=de.hasApps),"keepMainTitle"in de&&t(4,h=de.keepMainTitle),"showSubTitle"in de&&t(5,d=de.showSubTitle),"dropDownStates"in de&&t(13,g=de.dropDownStates),"showMainAppEntry"in de&&t(6,p=de.showMainAppEntry),"selectedItem"in de&&t(7,b=de.selectedItem),"defaultTitle"in de&&t(8,m=de.defaultTitle),"appSwitcherItems"in de&&t(9,v=de.appSwitcherItems),"itemRenderer"in de&&t(10,C=de.itemRenderer),"pathParams"in de&&t(11,y=de.pathParams),"subTitle"in de&&t(12,P=de.subTitle),"defaultSubTitle"in de&&t(25,I=de.defaultSubTitle),"pathData"in de&&t(26,T=de.pathData),"addNavHrefForAnchor"in de&&t(14,V=de.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,Z,G,ae,E,n,O,ce,fe,ne,se,I,T,j,Se,ie,Re,ze,Ce,Pe,Fe,ct,qe,dt,Ft]}class JS extends Vt{constructor(e){super(),Dt(this,e,jS,GS,Et,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function nh(i,e,t){const n=i.slice();return n[34]=e[t],n}function ih(i){let e,t,n,l,r,a,o=i[0]&&lh(i),c=(i[10]||i[11])&&ch(i);return{c(){e=S("div"),o&&o.c(),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(h,d){A(h,e,d),o&&o.m(e,null),A(h,t,d),A(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=lh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=ch(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&L(e),o&&o.d(),h&&L(t),h&&L(n),c&&c.d()}}}function lh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?QS:YS}let h=c(i),d=h(i),g=i[7].name&&rh(i),p=i[7].description&&ah(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=oh(nh(i,b,C));let v=i[12]&&uh(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){A(C,e,y),d.m(e,null),A(C,t,y),A(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),A(C,r,y),A(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=rh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=ah(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const I=nh(C,b,P);m[P]?m[P].p(I,y):(m[P]=oh(I),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=uh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&L(e),d.d(),C&&L(t),C&&L(n),g&&g.d(),p&&p.d(),C&&L(r),C&&L(a),ft(m,C),v&&v.d()}}}function YS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(n,t)},d(l){l&&L(e)}}}function QS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),On(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&On(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function rh(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&L(e)}}}function ah(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&L(e)}}}function sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function ZS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),On(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&On(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&L(e)}}}function XS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function oh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&sh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=sh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),g&&g.d(),h=!1,Je(d)}}}function uh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&fh(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){A(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=fh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&L(e),h&&h.d(),o=!1,Je(c)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function $S(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),$e(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function xS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&dh(i),l=i[10]&&!i[8]&&hh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=dh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=hh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function dh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function hh(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=W(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){A(a,e,o),A(a,t,o),A(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:We,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Je(r)}}}function eC(i){let e,t=!i[1]&&ih(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=ih(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function tC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");vi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");nn(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),cn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),cn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){cn.startAuthorization()}function T(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,cn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,cn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(cn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){cn.logout()}function Z({keyCode:ne}){(ne===hl||ne===Qr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>Z(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Q,X,Z,o,c,h,d,g,p,n,C,I,T,V,E,H,D,O,ce,j,ae,fe]}class nC extends Vt{constructor(e){super(),Dt(this,e,tC,eC,Et,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function gh(i,e,t){const n=i.slice();return n[34]=e[t],n}function _h(i){let e,t,n,l,r,a=i[0]&&ph(i),o=i[9].items,c=[];for(let g=0;g<o.length;g+=1)c[g]=bh(gh(i,o,g));let h=i[12]&&vh(i),d=(i[10]||i[11])&&kh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(g,p){A(g,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=ph(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=g[9].items;let b;for(b=0;b<o.length;b+=1){const m=gh(g,o,b);c[b]?c[b].p(m,p):(c[b]=bh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=vh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=kh(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&L(e),a&&a.d(),ft(c,g),h&&h.d(),d&&d.d()}}}function ph(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,n)},d(r){r&&L(e)}}}function mh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function iC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function lC(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function bh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&mh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=mh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),g&&g.d(),h=!1,Je(d)}}}function vh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&wh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=wh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,Je(h)}}}function wh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function rC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function aC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function kh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Sh(i),l=i[10]&&!i[8]&&yh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Sh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=yh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function Sh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ch(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,h()}}}function Ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?oC:sC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function sC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),$e(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!$e(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function oC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function yh(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){A(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:We,d(l){l&&L(e),t=!1,n()}}}function uC(i){let e,t=!i[1]&&_h(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=_h(n),t.c(),t.m(e.parentNode,e))},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function fC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");vi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");nn(async()=>{mi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),cn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),cn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){cn.startAuthorization()}function T(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings");t(12,p=!!Se);const ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,cn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,cn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(cn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=me.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Q(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function X(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){cn.logout()}function Z({keyCode:ne}){(ne===hl||ne===Qr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>Z(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,z,Q,X,Z,o,c,h,d,g,p,n,C,I,T,V,E,H,D,O,ce,j,ae,fe]}class cp extends Vt{constructor(e){super(),Dt(this,e,fC,uC,Et,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Ph(i,e,t){const n=i.slice();return n[11]=e[t],n}function Ih(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Lh(Ph(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const h=Ph(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Lh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Nh(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function I(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?dC:cC}let T=I(i,-1),V=T(i);r=new Tn({props:{node:i[11]}});let E=p&&Th(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Me(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=re.getTestId(i[11]))},m(D,O){A(D,e,O),w(e,t),V.m(t,null),w(t,l),Ve(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(D,O){i=D,T===(T=I(i,O))&&V?V.p(i,O):(V.d(1),V=T(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Le(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Th(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&L(e),V.d(),Oe(r),E&&E.d(),y=!1,P()}}}function cC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){A(l,e,r)},p(l,r){r&2&&!$e(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function dC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){A(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&L(e)}}}function Th(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&L(e)}}}function Lh(i){let e,t,n=i[11].label&&Nh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Nh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function hC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T=i[1]&&Ih(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=W(),h=S("div"),d=S("div"),g=S("ul"),T&&T.c(),p=W(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),T&&T.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[ee(C,"click",i[8]),ee(e,"click",Bt(gC))],P=!0)},p(V,[E]){(!y||E&1)&&Le(o,V[0]),V[1]?T?(T.p(V,E),E&2&&R(T,1)):(T=Ih(V),T.c(),R(T,1),T.m(g,null)):T&&(ve(),U(T,1,1,()=>{T=null}),we())},i(V){y||(R(T),y=!0)},o(V){U(T),y=!1},d(V){V&&L(e),T&&T.d(),P=!1,Je(I)}}}const gC=()=>{};function _C(i,e,t){const n=Jt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Ul.call(this,i,m)}const b=m=>g(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class dp extends Vt{constructor(e){super(),Dt(this,e,_C,hC,Et,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:pC}=_l;function Ah(i,e,t){const n=i.slice();return n[7]=e[t],n}function Eh(i){let e,t,n,l=i[0]&&Rh(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Rh(r),l.c(),R(l,1),l.m(t,null)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Rh(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Vh(Ah(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const h=Ah(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Vh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Dh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?bC:mC}let P=y(i,-1),I=P(i);a=new Tn({props:{node:i[7]}});function T(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),I.c(),r=W(),Me(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=re.getTestId(i[7]))},m(V,E){A(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ee(t,"click",i[13]),ee(e,"click",T)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Le(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=re.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),I.d(),Oe(a),v=!1,Je(C)}}}function mC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),$e(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function bC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Vh(i){let e,t,n=i[7].label&&Dh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Dh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Oh(i){let e,t;return e=new dp({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function vC(i){let e,t,n,l,r,a=!i[1]&&Eh(i),o=i[1]&&Oh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=ke()},m(c,h){a&&a.m(c,h),A(c,e,h),o&&o.m(c,h),A(c,t,h),n=!0,l||(r=ee(pC,"resize",us),l=!0)},p(c,[h]){c[1]?a&&(ve(),U(a,1,1,()=>{a=null}),we()):a?(a.p(c,h),h&2&&R(a,1)):(a=Eh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Oh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ve(),U(o,1,1,()=>{o=null}),we())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){a&&a.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function wC(i,e,t){const n=Jt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=kt("getUnsavedChangesModalPromise"),h=kt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});nn(async()=>{us()}),Gn(async()=>{r||t(0,r=await Ut.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=me.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else at.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return re.isOpenUIiconName(E.icon)}function y(E){return re.renderIconClassName(E)}function P(E){return Tt.getTranslation(E.label)}function I(E){return me.getNodeHref(E,o)}const T=E=>{re.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,us,a,g,C,y,P,I,T,V]}class hp extends Vt{constructor(e){super(),Dt(this,e,wC,vC,Et,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return us}}const kn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(at.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=kn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=le.normalizePath(i),t=le.normalizePath(t),!!kn.isContextSwitcherDetailsView(i,t))return i.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(i,e,t){let n;const l=this.getSelectedId(i,e,t);return l&&e&&(n=kn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const r=await this.getSelectedOption(i,e,t);return(r?r.label:void 0)||await kn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await kn.generateSwitcherNav(e,t)}};function Mh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Fh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wh(Uh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Wh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function Hh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",mt(NC)),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Wh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Hh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Hh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function qh(i){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
56
56
  <div class="fd-busy-indicator__circle"></div>
57
57
  <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function zh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Gh(Fh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Fh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Gh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function kC(i){return{c:We,m:We,p:We,d:We}}function SC(i){let e,t,n,l,r;function a(d,g){return d[2]?yC:CC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=re.getTestId(i[20]))},m(d,g){A(d,e,g),c.m(e,null),A(d,n,g),l||(r=ee(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function CC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){A(d,e,g),w(e,t),w(t,l),c||(h=ee(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Le(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,h()}}}function yC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function PC(i){return{c:We,m:We,p:We,d:We}}function Gh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:PC,then:SC,catch:kC,value:25};return ls(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=ke(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Kh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jh(Mh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Mh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function jh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",i[17]),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Jh(i){let e,t=i[20].position==="bottom"&&jh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=jh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function IC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Bh(i),c=i[3]&&i[3].length===0&&i[10]&&qh(),h=i[3]&&i[3].length&&zh(i),d=i[0]&&i[0].length&&Kh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("ul"),c&&c.c(),l=W(),h&&h.c(),r=W(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(g,p){A(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=Bh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=qh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=zh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Kh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:We,o:We,d(g){g&&L(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const NC=()=>{};function TC(i,e,t){let n,l=We,r=()=>(l(),l=qo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Jt();function P(O){y("onActionClick",{node:O})}function I(O,z){y("goToOption",{option:O,selectedOption:z})}const T=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>I(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,I,n,T,V,E,H,D]}class gp extends Vt{constructor(e){super(),Dt(this,e,TC,IC,Et,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Yh(i){let e,t,n,l=!i[9]&&Qh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Zh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[9]?l&&(ve(),U(l,1,1,()=>{l=null}),we()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Qh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=Zh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Qh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?AC:LC}let p=g(i),b=p(i);return a=new gp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=W(),r=S("div"),Me(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){A(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Ve(a,r,null),c=!0,h||(d=ee(n,"click",Bt(HC)),h=!0)},p(m,v){p===(p=g(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&L(e),b.d(),Oe(a),h=!1,d()}}}function LC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?RC:EC}let c=o(i),h=c(i);return{c(){e=S("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,g){A(d,e,g),h.m(e,null),r||(a=ee(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),h.d(),r=!1,a()}}}function AC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?MC:OC}let h=c(i),d=h(i);return{c(){e=S("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(g,p){A(g,e,p),d.m(e,null),a||(o=ee(e,"click",mt(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&L(e),d.d(),a=!1,o()}}}function EC(i){let e,t;function n(a,o){return a[4]?DC:VC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&L(e),a&&L(t)}}}function RC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function DC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function VC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function OC(i){let e,t;function n(a,o){return a[4]?FC:UC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&L(e),a&&L(t)}}}function MC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function FC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function UC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function Zh(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I=!i[4]&&Xh(i),T=i[4]&&$h(i);return d=new gp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),I&&I.c(),o=W(),T&&T.c(),c=W(),h=S("div"),Me(d.$$.fragment),g=W(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),T&&T.m(a,null),w(t,c),w(t,h),Ve(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ee(v,"click",i[13]),ee(e,"click",Bt(WC))],y=!0)},p(V,E){V[4]?I&&(I.d(1),I=null):I?I.p(V,E):(I=Xh(V),I.c(),I.m(a,o)),V[4]?T?T.p(V,E):(T=$h(V),T.c(),T.m(a,null)):T&&(T.d(1),T=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),I&&I.d(),T&&T.d(),Oe(d),y=!1,Je(P)}}}function Xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function $h(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function BC(i){let e,t,n=i[3]&&Yh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Yh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const HC=()=>{},WC=()=>{};function qC(i,e,t){let n,l;const r=Jt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:T}=e,V,E=kt("getUnsavedChangesModalPromise"),H=kt("store"),D=kt("getTranslation");vi(i,D,ie=>t(16,l=ie));let O=!1,{addNavHrefForAnchor:z}=e,Q;nn(async()=>{pn.doOnStoreChange(H,async()=>{const ie=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ie),!!a&&(t(6,C=le.isFunction(ie.customOptionsRenderer)?ie.customOptionsRenderer:void 0),t(7,y=le.isFunction(ie.customSelectedOptionRenderer)?ie.customSelectedOptionRenderer:void 0),t(5,h=ie),t(1,g=void 0),ie)){t(27,p=ie.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=at.getCurrentPath();t(20,m=ie.fallbackLabelResolver),kn.resetFallbackLabelCache(),ie.lazyloadOptions||await Z(),kn.isContextSwitcherDetailsView(Re,ie.parentNodePath)&&await G(Re)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ie=>G(ie)),Fn.addEventListener("message",ie=>{Ae.getValidMessageSource(ie)&&ie.data&&ie.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Z())}),t(21,T=h.defaultLabel)}),Gn(()=>{O!==I&&(O=I,Z()),t(14,Q=o.contextSwitcherPopover||!1)});function X(ie,Re,ze){return ie?Promise.resolve(ie):kn.getFallbackLabel(Re,ze)}function ce(ie){return me.getNodeHref(ie,v)}async function Z(){t(1,g=await kn.fetchOptions(g));const ie=h||{},Re=ie.parentNodePath,ze=ie.fallbackLabelResolver,Ce=at.getCurrentPath();t(2,b=await kn.getSelectedOption(Ce,g,Re)),t(4,c=await kn.getSelectedLabel(Ce,g,Re,ze)),await kn.getSelectedNode(Ce,g,Re),V=ie.preserveSubPathOnSwitch}async function G(ie){const Re=h||{},ze=Re.parentNodePath,Ce=Re.fallbackLabelResolver;t(2,b=await kn.getSelectedOption(ie,g,ze)),t(4,c=await kn.getSelectedLabel(ie,g,ze,Ce)),await kn.getSelectedNode(ie,g,ze)}async function j(ie){let Re=ie.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{ae(Re.link)}),P&&r("toggleDropdownState"))}function ae(ie){E().then(()=>{at.navigateTo(ie)},()=>{})}function fe(ie){let Re=ie.detail.option,ze=ie.detail.selectedOption;E().then(()=>{V&&ze?at.navigateTo(kn.getNodePathFromCurrentPath(Re,ze)):at.navigateTo(Re.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Z()}const se=()=>{n&&ne()},Se=()=>{n&&ne()};return i.$$set=ie=>{"contextSwitcherEnabled"in ie&&t(3,a=ie.contextSwitcherEnabled),"dropDownStates"in ie&&t(8,o=ie.dropDownStates),"selectedLabel"in ie&&t(4,c=ie.selectedLabel),"config"in ie&&t(5,h=ie.config),"actions"in ie&&t(0,d=ie.actions),"options"in ie&&t(1,g=ie.options),"selectedOption"in ie&&t(2,b=ie.selectedOption),"fallbackLabelResolver"in ie&&t(20,m=ie.fallbackLabelResolver),"pathParams"in ie&&t(22,v=ie.pathParams),"customOptionsRenderer"in ie&&t(6,C=ie.customOptionsRenderer),"customSelectedOptionRenderer"in ie&&t(7,y=ie.customSelectedOptionRenderer),"isMobile"in ie&&t(9,P=ie.isMobile),"contextSwitcherToggle"in ie&&t(23,I=ie.contextSwitcherToggle),"defaultLabel"in ie&&t(21,T=ie.defaultLabel),"addNavHrefForAnchor"in ie&&t(10,z=ie.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,z,j,fe,ne,Q,n,l,D,X,ce,m,T,v,I,Z,G,ae,p,se,Se]}class _p extends Vt{constructor(e){super(),Dt(this,e,qC,BC,Et,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:zC}=_l;function xh(i,e,t){const n=i.slice();return n[22]=e[t],n}function eg(i){let e,t,n,l=!i[2]&&tg(i),r=i[2]&&i[3].productSwitcherPopover&&ag(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=tg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=ag(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function tg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?KC:GC}let I=P(i,-1),T=I(i),V=i[0],E=[];for(let H=0;H<V.length;H+=1)E[H]=rg(xh(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),T.c(),d=W(),g=S("div"),p=S("div"),b=S("ul");for(let H=0;H<E.length;H+=1)E[H].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Mn(i[9])+" svelte-156h3yc"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(H,D){A(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O].m(b,null);C||(y=[ee(r,"click",Bt(i[7])),ee(l,"click",Bt(xC))],C=!0)},p(H,D){if(I===(I=P(H,D))&&T?T.p(H,D):(T.d(1),T=I(H),T&&(T.c(),T.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=H[0];let O;for(O=0;O<V.length;O+=1){const z=xh(H,V,O);E[O]?E[O].p(z,D):(E[O]=rg(z),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=Mn(H[9])+" svelte-156h3yc")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&L(e),T.d(),ft(E,H),C=!1,Je(y)}}}function GC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!$e(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function KC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function ng(i){let e,t,n,l,r,a;function o(g,p){return g[4]?JC:jC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(g,p){A(g,e,p),h.m(e,null),w(e,t),r||(a=ee(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&L(e),h.d(),r=!1,a()}}}function jC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?QC:YC}let g=d(i,-1),p=g(i),b=h&&ig(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){A(m,e,v),p.m(e,null),A(m,n,v),A(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=ig(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&L(e),p.d(),m&&L(n),m&&L(l),b&&b.d()}}}function JC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?XC:ZC}let v=m(i,-1),C=v(i),y=d&&lg(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ne(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,I){A(P,e,I),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=ee(e,"click",i[16]),p=!0)},p(P,I){v===(v=m(P,I))&&C?C.p(P,I):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),I&1&&(d=P[13](P[22])),d?y?y.p(P,I):(y=lg(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function YC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function QC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function ig(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function ZC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function XC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function lg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function rg(i){let e,t=i[22].label&&ng(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ng(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function ag(i){let e,t;return e=new dp({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function $C(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&eg(i);return{c(){a&&a.c(),t=ke()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=ee(zC,"resize",fs),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=eg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ve(),U(a,1,1,()=>{a=null}),we())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){a&&a.d(o),o&&L(t),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const xC=()=>{};function e3(i,e,t){const n=Jt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=kt("store"),h=kt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;nn(async()=>{pn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),I()),fs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{at.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return Tt.getTranslation(D.label)}function P(D){return Tt.getTranslation(D.subTitle)}function I(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function T(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,fs,d,v,C,y,P,T,V,E,H]}class pp extends Vt{constructor(e){super(),Dt(this,e,e3,$C,Et,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return fs}}function sg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function t3(i){let e,t,n;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){A(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:We,d(l){l&&L(e),i[15](null),t=!1,n()}}}function n3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){A(t,e,n),e.focus()},p:We,d(t){t&&L(e)}}}function i3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[19](e)},p:We,d(t){t&&L(e),i[19](null)}}}function l3(i){let e,t,n,l=i[4]&&og(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[5])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=og(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function og(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ug(sg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=sg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ug(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l),i[18](null)}}}function r3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function a3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(o3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Le(r,l),b&16&&c!==(c=p[21].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function ug(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?r3:a3}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Je(l)}}}function s3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?n3:t3}let I=P(i),T=I(i);function V(D,O){return D[8].isCustomSearchRenderer?i3:l3}let E=V(i),H=E(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),T.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),g=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),T.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),A(D,d,O),A(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Bt(u3)),ee(b,"click",i[6]),ee(p,"click",Bt(f3))],C=!0)},p(D,[O]){I===(I=P(D))&&T?T.p(D,O):(T.d(1),T=I(D),T&&(T.c(),T.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:We,o:We,d(D){D&&L(e),T.d(),H.d(),D&&L(d),D&&L(g),C=!1,Je(y)}}}const o3=()=>{},u3=()=>{},f3=()=>{};function c3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Jt();let g={},p;nn(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Gn(()=>{t(7,g=h),p||t(8,p=new rp(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function I(D){je[D?"unshift":"push"](()=>{a=D,t(0,a)})}const T=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){je[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){je[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,I,T,V,E,H]}class d3 extends Vt{constructor(e){super(),Dt(this,e,c3,s3,Et,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function fg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function h3(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=S("input"),t=W(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=S("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-qeg9jv"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[23](e),A(p,t,b),A(p,n,b),w(n,l),A(p,r,b),A(p,a,b),w(a,o),A(p,c,b),A(p,h,b),d||(g=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(o,"click",i[15])],d=!0)},p:We,d(p){p&&L(e),i[23](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(h),d=!1,Je(g)}}}function g3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function _3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[28](e)},p:We,d(t){t&&L(e),i[28](null)}}}function p3(i){let e,t,n,l=i[3]&&cg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-qeg9jv"),f(e,"aria-hidden",n=!i[4])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=cg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function cg(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=dg(fg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=fg(l,t,a);n[a]?n[a].p(o,r):(n[a]=dg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l),i[27](null)}}}function m3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function b3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(w3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Le(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function dg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?m3:b3}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Je(l)}}}function hg(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-qeg9jv")},m(c,h){A(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Bt(S3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Je(o)}}}function gg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(h,d){A(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Bt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(h){h&&L(e),o=!1,c()}}}function v3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?g3:h3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?_3:p3}let y=C(i),P=y(i),I=!i[5]&&hg(i),T=i[5]&&gg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),I&&I.c(),h=W(),T&&T.c(),d=ke(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,E),I&&I.m(V,E),A(V,h,E),T&&T.m(V,E),A(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Bt(k3))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?I&&(I.d(1),I=null):I?I.p(V,E):(I=hg(V),I.c(),I.m(h.parentNode,h)),V[5]?T?T.p(V,E):(T=gg(V),T.c(),T.m(d.parentNode,d)):T&&(T.d(1),T=null)},i:We,o:We,d(V){V&&L(e),v.d(),P.d(),V&&L(c),I&&I.d(V),V&&L(h),T&&T.d(V),V&&L(d),g=!1,Je(p)}}}const w3=()=>{},k3=()=>{},S3=()=>{};function C3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Jt();let g=dl.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=kt("getTranslation");vi(i,m,fe=>t(10,n=fe));let v;nn(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const fe=document.querySelector(".lui-global-search");fe&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(fe)}),Gn(()=>{t(8,b=h),v||t(9,v=new rp(b,d)),v.getCustomRenderer(),T()});function C(fe,ne,se){v.renderCustomSearchItem(fe,ne,se)}function y(){v.closeSearchResult()}function P(fe){v.onKeyUp(fe,r)}function I(){b&&le.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function T(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(fe){v.onSearchResultItemSelected(fe)}function H(fe,ne){v.handleKeydown(fe,ne,a,c)}function D(fe){v.onActionClick(fe)}function O(){v.toggleSearch(p,r,a,o)}const z=fe=>P(fe);function Q(fe){je[fe?"unshift":"push"](()=>{a=fe,t(0,a)})}const X=()=>T(),ce=(fe,ne)=>E(fe),Z=(fe,ne)=>H(fe,ne);function G(fe){je[fe?"unshift":"push"](()=>{c=fe,t(2,c)})}function j(fe){je[fe?"unshift":"push"](()=>{o=fe,t(1,o)})}const ae=()=>O();return i.$$set=fe=>{"searchResult"in fe&&t(3,l=fe.searchResult),"displaySearchResult"in fe&&t(4,r=fe.displaySearchResult),"inputElem"in fe&&t(0,a=fe.inputElem),"customSearchItemRendererSlot"in fe&&t(1,o=fe.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in fe&&t(2,c=fe.customSearchItemRendererSlotContainer),"globalSearchConfig"in fe&&t(20,h=fe.globalSearchConfig),"isSearchFieldVisible"in fe&&t(5,p=fe.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,I,T,V,E,H,h,D,z,Q,X,ce,Z,G,j,ae]}class y3 extends Vt{constructor(e){super(),Dt(this,e,C3,v3,Et,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function _g(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?I3:P3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function P3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),$e(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function I3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function pg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new $n({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=W(),Me(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Ve(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Oe(r)}}}function N3(i){let e,t,n,l=i[0].icon&&_g(i),r=(!i[0].icon||i[0].showLabel)&&pg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=_g(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=pg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function T3(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Ko extends Vt{constructor(e){super(),Dt(this,e,T3,N3,Et,{node:0})}}const{Boolean:mp,window:mg}=_l;function bg(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function vg(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function L3(i){let e,t;return e=new cp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function A3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&wg(i);function v(E){i[57](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new JS({props:C}),je.push(()=>wt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&kg(i),P=(!i[0]||i[1])&&Sg(i),I=(i[18]||i[7]&&i[30].length>0)&&yg(i),T=(i[0]||i[16])&&Hg(i),V=i[12]&&Wg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Me(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),h=W(),I&&I.c(),d=W(),T&&T.c(),g=W(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(E,H){A(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),Ve(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),I&&I.m(c,null),w(c,d),T&&T.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=wg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&1073741824&&(D.pathData=E[30]),H[1]&1&&(D.pathParams=E[31]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],vt(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=kg(E),y.c(),R(y,1),y.m(e,o)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Sg(E),P.c(),R(P,1),P.m(c,h)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),E[18]||E[7]&&E[30].length>0?I?(I.p(E,H),H[0]&1074004096&&R(I,1)):(I=yg(E),I.c(),R(I,1),I.m(c,d)):I&&(ve(),U(I,1,1,()=>{I=null}),we()),E[0]||E[16]?T?(T.p(E,H),H[0]&65537&&R(T,1)):(T=Hg(E),T.c(),R(T,1),T.m(c,g)):T&&(ve(),U(T,1,1,()=>{T=null}),we()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Wg(E),V.c(),R(V,1),V.m(c,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(I),R(T),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(I),U(T),U(V),b=!1},d(E){E&&L(e),m&&m.d(),Oe(l),y&&y.d(),P&&P.d(),I&&I.d(),T&&T.d(),V&&V.d()}}}function wg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){A(r,e,a),w(e,t),n||(l=ee(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&L(e),n=!1,l()}}}function kg(i){let e,t,n,l,r,a,o,c;function h(v){i[58](v)}function d(v){i[59](v)}function g(v){i[60](v)}function p(v){i[61](v)}function b(v){i[62](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.customSearchItemRendererSlot=i[22]),t=new y3({props:m}),je.push(()=>wt(t,"isSearchFieldVisible",h,i[20])),je.push(()=>wt(t,"searchResult",d,i[24])),je.push(()=>wt(t,"displaySearchResult",g,i[23])),je.push(()=>wt(t,"inputElem",p,i[21])),je.push(()=>wt(t,"customSearchItemRendererSlot",b,i[22])),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=S("div"),Me(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Ve(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],vt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],vt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],vt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],vt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],vt(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Oe(t)}}}function Sg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Cg(i);function a(c){i[74](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new _p({props:o}),je.push(()=>wt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=W(),Me(t.$$.fragment)},m(c,h){r&&r.m(c,h),A(c,e,h),Ve(t,c,h),l=!0},p(c,h){c[18]&&!c[19]&&!c[29]?r?(r.p(c,h),h[0]&537657344&&R(r,1)):(r=Cg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],vt(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),Oe(t,c)}}}function Cg(i){let e,t,n,l,r,a,o;function c(m){i[66](m)}function h(m){i[67](m)}function d(m){i[68](m)}function g(m){i[69](m)}function p(m){i[70](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.customSearchItemRendererSlot=i[22]),e=new d3({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[20])),je.push(()=>wt(e,"searchResult",h,i[24])),je.push(()=>wt(e,"displaySearchResult",d,i[23])),je.push(()=>wt(e,"inputElem",g,i[21])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[22])),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],vt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],vt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],vt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],vt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function yg(i){let e,t,n,l=i[7]&&i[30].length>0&&Pg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Lg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Pg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ve(),U(l,1,1,()=>{l=null}),we()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Lg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Pg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Tg(vg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=vg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Tg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Ig(i){let e,t,n,l;const r=[R3,E3],a=[];function o(c,h){return c[107].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function E3(i){let e,t,n,l,r;const a=[V3,D3],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){A(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&L(e),o[t].d()}}}function R3(i){let e=i[107].visibleChildren.filter(qg).length>0,t,n,l=e&&Ng(i);return{c(){l&&l.c(),t=ke()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[107].visibleChildren.filter(qg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Ng(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function D3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[80](v,i[107],i[110],i[109])}let b={};i[107]!==void 0&&(b.node=i[107]),t=new Ko({props:b}),je.push(()=>wt(t,"node",p,i[107])),r=new Tn({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=S("button"),Me(t.$$.fragment),l=W(),Me(r.$$.fragment),f(e,"title",a=i[51](i[107],i[49](i[107]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=re.getTestId(i[107]))},m(v,C){A(v,e,C),Ve(t,e,null),w(e,l),Ve(r,e,null),h=!0,d||(g=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[107],vt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[107]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[107],i[49](i[107]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=re.getTestId(i[107])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&L(e),Oe(t),Oe(r),d=!1,g()}}}function V3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[78](C,i[107],i[110],i[109])}let m={};i[107]!==void 0&&(m.node=i[107]),t=new Ko({props:m}),je.push(()=>wt(t,"node",b,i[107])),r=new Tn({props:{node:i[107]}});function v(...C){return i[79](i[107],...C)}return{c(){e=S("a"),Me(t.$$.fragment),l=W(),Me(r.$$.fragment),f(e,"href",a=i[50](i[107])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[51](i[107],i[49](i[107]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=re.getTestId(i[107]))},m(C,y){A(C,e,y),Ve(t,e,null),w(e,l),Ve(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[107],vt(()=>n=!1)),t.$set(P);const I={};y[0]&128&&(I.node=i[107]),r.$set(I),(!d||y[0]&128&&a!==(a=i[50](i[107])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[107],i[49](i[107]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=re.getTestId(i[107])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&L(e),Oe(t),Oe(r),g=!1,p()}}}function Ng(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(D){i[76](D,i[107],i[110],i[109])}let E={};i[107]!==void 0&&(E.node=i[107]),r=new Ko({props:E}),je.push(()=>wt(r,"node",V,i[107])),c=new Tn({props:{node:i[107]}});function H(){return i[77](i[109])}return v=new hp({props:{node:i[107],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Me(r.$$.fragment),o=W(),Me(c.$$.fragment),b=W(),m=S("div"),Me(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[107],i[49](i[107]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[109]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[109]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=re.getTestId(i[107])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[109]}`]),f(m,"id","dropDownPopover-"+i[109]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),Ve(r,l,null),w(l,o),Ve(c,l,null),w(t,b),w(t,m),Ve(v,m,null),w(e,y),P=!0,I||(T=[ee(l,"click",H),ee(n,"click",Bt(Q3))],I=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[107],vt(()=>a=!1)),r.$set(z);const Q={};O[0]&128&&(Q.node=i[107]),c.$set(Q),(!P||O[0]&128&&h!==(h=i[51](i[107],i[49](i[107]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[109]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=re.getTestId(i[107])))&&f(l,"data-testid",p);const X={};O[0]&128&&(X.node=i[107]),O[1]&1&&(X.pathParams=i[31]),O[0]&134217728&&(X.addNavHrefForAnchor=i[27]),v.$set(X),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[109]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&L(e),Oe(r),Oe(c),Oe(v),I=!1,Je(T)}}}function Tg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Ig(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ig(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Lg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H,D;h=new Tn({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Ag(i),z=i[46]&&(!i[0]||i[1])&&Eg(i),Q=i[7]&&Rg(i),X=i[12]&&Mg(i),ce=i[12]&&Fg(i),Z=i[14]&&Ug(i),G=(!i[0]||i[1])&&Bg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=W(),Me(h.$$.fragment),g=W(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Q&&Q.c(),y=W(),X&&X.c(),I=W(),ce&&ce.c(),T=W(),Z&&Z.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(j,ae){A(j,e,ae),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Ve(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),z&&z.m(m,null),w(m,C),Q&&Q.m(m,null),w(m,y),X&&X.m(m,null),w(n,I),ce&&ce.m(n,null),w(n,T),Z&&Z.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[82]),ee(l,"click",Bt(Z3))],H=!0)},p(j,ae){const fe={};ae[0]&2048&&(fe.node=j[11]),h.$set(fe),(!E||ae[0]&64&&d!==(d=j[6].overflowPopover||!1))&&f(a,"aria-expanded",d),j[18]&&!j[19]&&!j[29]?O?O.p(j,ae):(O=Ag(j),O.c(),O.m(m,v)):O&&(O.d(1),O=null),j[46]&&(!j[0]||j[1])?z?z.p(j,ae):(z=Eg(j),z.c(),z.m(m,C)):z&&(z.d(1),z=null),j[7]?Q?(Q.p(j,ae),ae[0]&128&&R(Q,1)):(Q=Rg(j),Q.c(),R(Q,1),Q.m(m,y)):Q&&(ve(),U(Q,1,1,()=>{Q=null}),we()),j[12]?X?X.p(j,ae):(X=Mg(j),X.c(),X.m(m,null)):X&&(X.d(1),X=null),(!E||ae[0]&64&&P!==(P=!j[6].overflowPopover))&&f(p,"aria-hidden",P),j[12]?ce?(ce.p(j,ae),ae[0]&4096&&R(ce,1)):(ce=Fg(j),ce.c(),R(ce,1),ce.m(n,T)):ce&&(ve(),U(ce,1,1,()=>{ce=null}),we()),j[14]?Z?(Z.p(j,ae),ae[0]&16384&&R(Z,1)):(Z=Ug(j),Z.c(),R(Z,1),Z.m(n,V)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),!j[0]||j[1]?G?(G.p(j,ae),ae[0]&3&&R(G,1)):(G=Bg(j),G.c(),R(G,1),G.m(n,null)):G&&(ve(),U(G,1,1,()=>{G=null}),we())},i(j){E||(R(h.$$.fragment,j),R(Q),R(ce),R(Z),R(G),E=!0)},o(j){U(h.$$.fragment,j),U(Q),U(ce),U(Z),U(G),E=!1},d(j){j&&L(e),Oe(h),O&&O.d(),z&&z.d(),Q&&Q.d(),X&&X.d(),ce&&ce.d(),Z&&Z.d(),G&&G.d(),H=!1,Je(D)}}}function Ag(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
58
58
  <span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),n||(l=ee(t,"click",Bt(i[83])),n=!0)},p:We,d(r){r&&L(e),n=!1,l()}}}function Eg(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){A(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Bt(i[33])),h=!0)},p(g,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(g[46].icon&&g[48](g[46])?g[47](g[46].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Le(c,o)},d(g){g&&L(e),h=!1,d()}}}function Rg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Og(bg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&2031656){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=bg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Og(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Dg(i){let e,t,n,l,r;const a=[M3,O3],o=[];function c(h,d){return d[0]&128&&(e=null),h[107].isCat?(e==null&&(e=h[107].visibleChildren.filter(Y3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=ke()},m(h,d){~t&&o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(ve(),U(o[g],1,1,()=>{o[g]=null}),we()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){~t&&o[t].d(h),h&&L(l)}}}function O3(i){let e,t,n,l,r,a,o,c,h=i[49](i[107])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[107])),l?U3:F3}let P=y(i,[-1,-1,-1,-1]),I=P(i);a=new Tn({props:{node:i[107]}});function T(){return i[85](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),I.c(),r=W(),Me(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[107])),f(t,"title",p=i[51](i[107],i[49](i[107]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){A(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ee(t,"click",mt(T)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E[0]&128&&(H.node=i[107]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[107])+"")&&Le(d,h),(!m||E[0]&128&&g!==(g=i[50](i[107])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[107],i[49](i[107]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),I.d(),Oe(a),v=!1,C()}}}function M3(i){let e,t,n,l=!i[48](i[107]),r,a,o,c,h,d=i[49](i[107])+"",g,p,b,m,v,C,y,P,I=l&&Vg(i);a=new Tn({props:{node:i[107]}});function T(){return i[84](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),I&&I.c(),r=W(),Me(a.$$.fragment),c=W(),h=S("span"),g=Ne(d),v=W(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"),f(h,"class","fd-menu__title"),f(t,"href",p=i[50](i[107])),f(t,"class",b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")),f(t,"data-testid",m=re.getTestId(i[107])+"-mobile"),f(e,"class","fd-menu__item")},m(V,E){A(V,e,E),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),Ve(a,n,null),w(t,c),w(t,h),w(h,g),w(e,v),C=!0,y||(P=ee(t,"click",mt(T)),y=!0)},p(V,E){i=V,E[0]&128&&(l=!i[48](i[107])),l?I?I.p(i,E):(I=Vg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const H={};E[0]&128&&(H.node=i[107]),a.$set(H),(!C||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||E[0]&128)&&d!==(d=i[49](i[107])+"")&&Le(g,d),(!C||E[0]&128&&p!==(p=i[50](i[107])))&&f(t,"href",p),(!C||E[0]&384&&b!==(b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||E[0]&128&&m!==(m=re.getTestId(i[107])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){U(a.$$.fragment,V),C=!1},d(V){V&&L(e),I&&I.d(),Oe(a),y=!1,P()}}}function F3(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!$e(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function U3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[107].icon&&n[48](n[107])?n[47](n[107].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vg(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!$e(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Og(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Dg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Dg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Mg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?H3:B3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ne(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Bt(i[32])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&L(e),p.d(),c=!1,h()}}}function B3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function H3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Fg(i){let e,t,n;function l(a){i[86](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new pp({props:r}),je.push(()=>wt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[87]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function Ug(i){let e,t;return e=new hp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Bg(i){let e,t,n,l,r;function a(d){i[88](d)}function o(d){i[89](d)}function c(d){i[90](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new _p({props:h}),je.push(()=>wt(e,"dropDownStates",a,i[6])),je.push(()=>wt(e,"selectedLabel",o,i[44])),je.push(()=>wt(e,"defaultLabel",c,i[45])),e.$on("toggleDropdownState",i[91]),{c(){Me(e.$$.fragment)},m(d,g){Ve(e,d,g),r=!0},p(d,g){const p={};g[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],vt(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],vt(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],vt(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Oe(e,d)}}}function Hg(i){let e,t,n,l,r;const a=[q3,W3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){A(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&L(e),o[n].d()}}}function W3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(I,T){return I[17].picture?G3:z3}let y=C(i),P=y(i);return g=new cp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[96]),g.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=W(),d=S("div"),Me(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-p1ljc7")},m(I,T){A(I,e,T),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Ve(g,d,null),b=!0,m||(v=[ee(r,"click",i[95]),ee(n,"click",Bt($3))],m=!0)},p(I,T){y===(y=C(I))&&P?P.p(I,T):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||T[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||T[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};T[0]&134217728&&(V.addNavHrefForAnchor=I[27]),g.$set(V),(!b||T[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(g.$$.fragment,I),b=!0)},o(I){U(g.$$.fragment,I),b=!1},d(I){I&&L(e),P.d(),Oe(g),m=!1,Je(v)}}}function q3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?j3:K3}let g=d(i),p=g(i);return r=new nC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[94]),r.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),l=S("div"),Me(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Ve(r,l,null),o=!0,c||(h=ee(t,"click",Bt(X3)),c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){U(r.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),Oe(r),c=!1,h()}}}function z3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){A(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&L(e)}}}function G3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),On(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&On(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function K3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){A(o,e,c),w(e,n),r||(a=ee(e,"click",i[93]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Le(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&L(e),r=!1,a()}}}function j3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),On(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){A(r,e,a),n||(l=ee(e,"click",i[92]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&On(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function Wg(i){let e,t,n;function l(a){i[97](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new pp({props:r}),je.push(()=>wt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[98]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function J3(i){let e,t,n,l,r,a;const o=[A3,L3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(mg,"click",i[41]),ee(mg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(ve(),U(c[p],1,1,()=>{c[p]=null}),we(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Je(a)}}}const Y3=i=>!i.hideFromNav&&i.label,qg=i=>!i.hideFromNav&&i.label,Q3=()=>{},Z3=()=>{},X3=()=>{},$3=()=>{};function x3(i,e,t){const n=Jt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideSearchComponent:o}=e,{hideNavComponent:c}=e,{responsiveNavSetting:h}=e,{profileTypeSettings:d}=e,{showGlobalNav:g}=e,{pathData:p}=e,b,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:C}=e,{selectedNode:y}=e,{visibleNodeCount:P}=e,{globalNavNodeCount:I}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:z={}}=e,{globalSearchConfig:Q}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:ce}=e,{inputElem:Z}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:j}=e,{searchResult:ae}=e,{burgerTooltip:fe}=e,{responsiveShellbarPadding:ne}=e,se=kt("store"),Se=!1,ie,Re,ze=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Ce=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Pe=async()=>{if(p&&0<p.length){const Y=await re.generateTopNavNodes(p);t(7,C=Y.children),t(8,y=Y.selectedNode),t(9,P=Y.visibleNodeCount),t(11,T=Y.totalBadgeNode),t(10,I=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,b=p}},Fe=()=>{t(1,a=fl.isLoggedIn())};nn(()=>{pn.doOnStoreChange(se,()=>{t(0,l=mi.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(53,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,V=te.getConfigValue("navigation.productSwitcher")),t(2,c=te.getConfigBooleanValue("settings.hideNavigation")),t(3,h=te.getConfigValue("settings.responsiveNavigation")),t(4,d=te.getConfigValue("settings.profileType")),t(26,ne=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=re.getProductSwitcherConfig()),t(18,Q=te.getConfigValue("globalSearch")),t(19,X=Q&&Q.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,Ce=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,ze=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),pn.doOnStoreChange(se,()=>{Pe()},["navigation.viewgroupdata"]),Fn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&Pe()})}),Gn(()=>{(!b||b!=p)&&Pe(),Fe()});let{showTopNav:ct}=e;function qe(Y){return re.renderIconClassName(Y)}function dt(Y){return re.isOpenUIiconName(Y.icon)}const Ft=Y=>re.getNodeLabel(Y);function de(Y){return me.getNodeHref(Y,m)}function xe(Y,Rt){return re.generateTooltipText(Y,Rt)}function St(){tt("productSwitcherPopover")}function ln(){t(43,Se=!Se),tt("contextSwitcherPopover")}function Ln(Y){t(14,H=!0),t(15,D=Y)}function an(){t(14,H=!1)}function Ht(Y){n("handleClick",{node:Y})}function Te(Y){n("handleSearchNavigation",{node:Y})}function rt(Y){Ht(Y.detail.node)}function tt(Y){const Rt=v||{},bn=!Rt[Y];Lt(),an(),Rt[Y]=bn,t(6,v=Rt)}function Yt(Y){tt(Y.detail.name)}function Qt(){Z&&Z.focus()}function An(){ce||setTimeout(()=>{Qt()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Z,customSearchItemRendererSlot:G})}function Lt(){const Y=v||{},Rt=Object.keys(Y);Rt&&Rt.length>0&&Rt.forEach(bn=>{Y[bn]=!1,t(6,v=Y)})}function gn(){h==="simple"||h==="simpleMobileOnly"?Gt():Sn(),xn()}function xn(){if(!re.getBurgerTooltipConfig())return;const[Y,Rt]=re.getBurgerTooltipConfig();Y&&Rt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,fe=document.body.classList.contains("lui-leftNavToggle")?Y:Rt),document.body.classList.contains("lui-semiCollapsible")&&t(25,fe=document.body.classList.contains("semiCollapsed")?Y:Rt))}function Gt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Sn(){pi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function wi(Y){const Rt=Y.detail;t(17,z=Rt||{})}function ki(Y){v=Y,t(6,v)}function mn(Y){ce=Y,t(20,ce)}function Si(Y){ae=Y,t(24,ae)}function Ci(Y){j=Y,t(23,j)}function yi(Y){Z=Y,t(21,Z)}function Pi(Y){G=Y,t(22,G)}function Ii(Y){Ul.call(this,i,Y)}function pl(Y){Ul.call(this,i,Y)}function ml(Y){Ul.call(this,i,Y)}function bl(Y){ce=Y,t(20,ce)}function Ni(Y){ae=Y,t(24,ae)}function Gi(Y){j=Y,t(23,j)}function Ki(Y){Z=Y,t(21,Z)}function oi(Y){G=Y,t(22,G)}function vl(Y){Ul.call(this,i,Y)}function wl(Y){Ul.call(this,i,Y)}function ji(Y){Ul.call(this,i,Y)}function kl(Y){v=Y,t(6,v)}const Sl=()=>tt("contextSwitcherPopover");function Cl(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const Ti=Y=>tt(`dropDownPopover-${Y}`);function yl(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const ei=(Y,Rt)=>{re.handleNavAnchorClickedWithoutMetaKey(Rt)&&Ht(Y)};function Li(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const ui=Y=>Ht(Y),Ai=()=>tt("overflowPopover"),fi=()=>{An(),tt("overflowPopover")},K=Y=>Ht(Y),be=Y=>Ln(Y);function Xe(Y){v=Y,t(6,v)}const nt=()=>tt("productSwitcherPopover");function it(Y){v=Y,t(6,v)}function bt(Y){ie=Y,t(44,ie)}function Wt(Y){Re=Y,t(45,Re)}const Zt=()=>tt("contextSwitcherPopover"),ci=()=>tt("profilePopover"),Ji=()=>tt("profilePopover"),Pl=()=>tt("profilePopover"),di=()=>tt("profilePopover"),Il=()=>tt("profilePopover");function Ei(Y){v=Y,t(6,v)}const ql=()=>tt("productSwitcherPopover"),br=()=>tt("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(53,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideSearchComponent"in Y&&t(29,o=Y.hideSearchComponent),"hideNavComponent"in Y&&t(2,c=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,h=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,d=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,g=Y.showGlobalNav),"pathData"in Y&&t(30,p=Y.pathData),"pathParams"in Y&&t(31,m=Y.pathParams),"dropDownStates"in Y&&t(6,v=Y.dropDownStates),"children"in Y&&t(7,C=Y.children),"selectedNode"in Y&&t(8,y=Y.selectedNode),"visibleNodeCount"in Y&&t(9,P=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,I=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,T=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,V=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,E=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,H=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,D=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,O=Y.profileItemsAvailable),"userInfo"in Y&&t(17,z=Y.userInfo),"globalSearchConfig"in Y&&t(18,Q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,X=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,ce=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,Z=Y.inputElem),"customSearchItemRendererSlot"in Y&&t(22,G=Y.customSearchItemRendererSlot),"displaySearchResult"in Y&&t(23,j=Y.displaySearchResult),"searchResult"in Y&&t(24,ae=Y.searchResult),"burgerTooltip"in Y&&t(25,fe=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,ne=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,Ce=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,ct=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,ct=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,I,T,V,E,H,D,O,z,Q,X,ce,Z,G,j,ae,fe,ne,Ce,ct,o,p,m,St,ln,Ln,an,Ht,rt,tt,Yt,An,Lt,wi,Se,ie,Re,ze,qe,dt,Ft,de,xe,gn,r,Te,Gt,Sn,ki,mn,Si,Ci,yi,Pi,Ii,pl,ml,bl,Ni,Gi,Ki,oi,vl,wl,ji,kl,Sl,Cl,Ti,yl,ei,Li,ui,Ai,fi,K,be,Xe,nt,it,bt,Wt,Zt,ci,Ji,Pl,di,Il,Ei,ql,br]}class bp extends Vt{constructor(e){super(),Dt(this,e,x3,J3,Et,{authorizationEnabled:0,autologinEnabled:53,isLoggedIn:1,hideSearchComponent:29,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,customSearchItemRendererSlot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:54,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:55,semicollapsedNav:56,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[54]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[42]}}function zg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function e9(i){let e,t=i[0]&&zg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=zg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function t9(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(at.getCurrentPath(),n),a=await Ut.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||n.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return nn(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");dr.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class n9 extends Vt{constructor(e){super(),Dt(this,e,t9,e9,Et,{node:0})}}const{window:Vo}=_l;function Gg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Kg(i,e,t){const n=i.slice();return n[57]=e[t],n}function jg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Jg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Qg(i,e,t){const n=i.slice();return n[57]=e[t],n}function i9(i){const e=i.slice(),t=vp(e[54]);return e[67]=t,e}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Oo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function l9(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function Xg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&$g(i),P=Object.entries(i[0]),I=[];for(let D=0;D<P.length;D+=1)I[D]=s_(Jg(i,P,D));const T=D=>U(I[D],1,1,()=>{I[D]=null});let V=Object.entries(i[0]),E=[];for(let D=0;D<V.length;D+=1)E[D]=c_(Gg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let D=0;D<I.length;D+=1)I[D].c();r=W(),a=S("span"),o=S("div"),c=S("div"),h=S("button"),h.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
@@ -60,5 +60,5 @@ function print() { __p += __j.call(arguments, '') }
60
60
  <div class="fd-busy-indicator__circle"></div>
61
61
  <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function D_(i){let e,t,n,l,r,a,o;function c(m){i[82](m)}function h(m){i[83](m)}function d(m){i[84](m)}function g(m){i[85](m)}function p(m){i[86](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),je.push(()=>wt(e,"displaySearchResult",h,i[3])),je.push(()=>wt(e,"searchResult",d,i[4])),je.push(()=>wt(e,"inputElem",g,i[1])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function V_(i){let e,t,n,l;e=new I9({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&O_(i);return{c(){Me(e.$$.fragment),t=W(),r&&r.c(),n=ke()},m(a,o){Ve(e,a,o),A(a,t,o),r&&r.m(a,o),A(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=O_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){Oe(e,a),a&&L(t),r&&r.d(a),a&&L(n)}}}function O_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function M_(i){let e,t;return e=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function F_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function U_(i){let e,t,n,l,r,a,o;function c(m){i[77](m)}function h(m){i[78](m)}function d(m){i[79](m)}function g(m){i[80](m)}function p(m){i[81](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),je.push(()=>wt(e,"displaySearchResult",h,i[3])),je.push(()=>wt(e,"searchResult",d,i[4])),je.push(()=>wt(e,"inputElem",g,i[1])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function B_(i){let e,t,n,l;return n=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Me(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){A(r,e,a),w(e,t),Ve(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&L(e),Oe(n)}}}function H_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function W_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function q_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function O9(i){let e,t,n,l,r,a,o,c,h,d;t=new Wl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&W_(i),p=i[11].displayed&&q_(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=ke(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(b,m){A(b,e,m),Ve(t,e,null),w(e,n),w(e,l),A(b,r,m),g&&g.m(b,m),A(b,a,m),p&&p.m(b,m),A(b,o,m),c=!0,h||(d=j_(i[46].call(null,e)),h=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&jt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&jt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=W_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(ve(),U(g,1,1,()=>{g=null}),we()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=q_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ve(),U(p,1,1,()=>{p=null}),we())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&L(e),Oe(t),b&&L(r),g&&g.d(b),b&&L(a),p&&p.d(b),b&&L(o),h=!1,d()}}}function z_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
62
62
  <div class="fd-busy-indicator__circle"></div>
63
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function M9(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&P_(i),b=i[28],m=[];for(let E=0;E<b.length;E+=1)m[E]=N_(y_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&T_(i),y=i[27].displayed&&L_(i),P=i[17].displayed&&A_(i);const I=[D9,R9],T=[];function V(E,H){return E[30]?0:1}return o=V(i),c=T[o]=I[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[24]),f(e,"class","svelte-qmtge1"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[22]),jt(e,"no-top-nav",i[25]),jt(e,"no-animation",i[23]),jt(e,"btp-layout",i[30])},m(E,H){A(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),T[o].m(e,null),h=!0,d||(g=[ee(C_,"resize",i[36]),ee(C_,"keydown",i[47])],d=!0)},p(E,H){if(E[26]&&E[26].length?p?(p.p(E,H),H[0]&67108864&&R(p,1)):(p=P_(E),p.c(),R(p,1),p.m(e,t)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),H[0]&268439552|H[1]&1792){b=E[28];let D;for(D=0;D<b.length;D+=1){const O=y_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=N_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(ve(),D=b.length;D<m.length;D+=1)v(D);we()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=T_(E),C.c(),R(C,1),C.m(e,l)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=L_(E),y.c(),R(y,1),y.m(e,r)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=A_(E),P.c(),R(P,1),P.m(e,a)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&jt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&jt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&jt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&jt(e,"no-animation",E[23])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(A9);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&L(e),p&&p.d(),ft(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Je(g)}}}function F9(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Q,X,ce,Z=!0,G=!1,j,ae,fe,ne=[],se={isDirty:!1,persistUrl:null},Se,ie,Re=!1,ze,Ce,Pe={},Fe,ct,qe,dt=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ft}=e,{inputElem:de}=e,{customSearchItemRendererSlot:xe}=e,{displaySearchResult:St}=e,{searchResult:ln}=e,{storedUserSettings:Ln}=e;const an=async B=>{const ue=B.iframe.luigi,Ee=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Ee&&typeof Ge=="object"&&Ge!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ge[Ee]:null,anchor:ul.getAnchor(),cssVariables:await Bo.getCSSVariables()});return Ae.specialIframeTypes.map(Ue=>Ue.iframeConfigKey).forEach(Ue=>{he[Ue]=B[Ue]||!1}),he},Ht=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||T,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await an(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Ae.sendMessageToIframe(B.iframe,Ee)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ue)},rt=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Sn(B.params),Ge=at.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?le.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:T}),ue.iframe.pv="pv"}},tt=(B,ue,Ee,Ge)=>{let Ie=Sn(B.params,Ee,Ge);const{preventHistoryEntry:he,preserveQueryParams:Ue,preventContextUpdate:Ct}=B.params,qt={keepBrowserHistory:!he,navSync:Z,preventContextUpdate:Ct};return Ie=le.addLeadingSlash(Ie),Ie=Ue?me.composeSearchParamsToRoute(Ie):Ie,rt(B,ue),at.navigateTo(Ie,qt)},Yt=B=>B.split("?")[0],Qt=(B,ue)=>{if(B.length===0)return!1;const Ee=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Yt(Ge.path),Yt(Ge.nextPath)].includes(Yt(Ee))},An=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},Lt=B=>new Promise((ue,Ee)=>{Ei(B)?ql().then(()=>{An(),ue()},()=>{Ee()}):ue()}),gn=()=>({get:()=>({unsavedChanges:se,hideNav:ei,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:T,pathParams:E,hideGlobalSearch:Li,hideSideNav:ui,isolateView:Q,pageErrorHandler:X,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ie,isNavigateBack:G,goBackContext:j,isNavigationSyncEnabled:Z}),set:B=>{B&&(t(23,Ai=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ei=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,ae=B.navigationPath):ue==="context"?T=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideGlobalSearch"?t(21,Li=B.hideGlobalSearch):ue==="hideSideNav"?(ui!=B.hideSideNav&&(t(23,Ai=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,ui=B.hideSideNav)):ue==="isolateView"?Q=B.isolateView:ue==="pageErrorHandler"?X=B.pageErrorHandler:ue==="previousNodeValues"?ce=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(qe),qe=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(qe)):ue==="tabNav"?t(15,ie=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?j=B.goBackContext:ue==="isNavigationSyncEnabled"&&(Z=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ei,getUnsavedChangesModalPromise:Lt,showUnsavedChangesModal:ql,showAlert:Wt,prepareInternalData:an,dispatch:n}),xn=(B,ue)=>{pn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),zn.deleteCache();const Ge=at.getCurrentPath();at.handleRouteChange(Ge,gn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ee,Ge)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ge||{};Qt(ne,Ee)||(ne=[],ai.removeInactiveIframes(B));for(let Ct=Y.length;Ct--;)Yi(Ct);$r.removeBackdrop(),oi(),at.handleRouteChange(Ee,gn(),B,ue,Ie,he)})},Gt=(B,ue)=>le.replaceVars(at.getNodePath(B),ue,":",!1),Sn=(B,ue,Ee)=>{const Ge=ue||D,Ie=Ee||E;let he=ae;if(ue){let Ct=ue.parent;for(he=[ue];Ct;)he.push(Ct),Ct=Ct.parent;he=[...he].reverse()}let Ue=B.link;if(B.fromVirtualTreeRoot){const Ct=[...he].reverse().find(qt=>qt.virtualTree);if(!Ct){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromParent)Ue=at.concatenatePath(Gt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const Ct=[...he].reverse().find(qt=>qt.navigationContext&&qt.navigationContext.length>0);Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromContext){const Ct=B.fromContext,qt=[...he].reverse().find(yr=>Ct===yr.navigationContext);Ue=at.concatenatePath(Gt(qt,Ie),B.link)}else B.intent?Ue=me.getIntentPath(B.link):B.relative&&(Ue=at.concatenatePath(Gt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ue+=Ue.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Ct,qt)=>{Ue+=encodeURIComponent(me.getContentViewParamPrefix()+Ct[0])+"="+encodeURIComponent(Ct[1])+(qt<Object.keys(B.nodeParams).length-1?"&":"")})),Ue},wi=B=>{const ue=B.detail.node;Lt().then(()=>{if(Xe(),ue.openNodeInModal){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);bn(Ee,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,vr(Ee,ue.drawer)}else gn().set({isNavigationSyncEnabled:!0}),at.handleRouteClick(ue,gn())},()=>{})},ki=()=>{t(16,Re=!Re)};qr("handleNavigation",tt);const mn=B=>B?!0:(console.warn("No search provider defined."),!1),Si=()=>{mn(Ce)&&t(0,Ft=!1)},Ci=()=>{mn(Ce)&&de&&(t(0,Ft=!0),de.focus())},yi=()=>{mn(Ce)&&de&&(t(1,de.value="",de),Ni())},Pi=()=>{t(0,Ft=!Ft),Dk.clearSearchField()},Ii=()=>{if(mn(Ce)&&de)return de.value},pl=B=>{mn(Ce)&&de&&(t(1,de.value=B,de),le.isFunction(Ce.onInput)?Ce.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ml=B=>{mn(Ce)&&de&&t(1,de.placeholder=B,de)},bl=B=>{if(mn(Ce))if(B&&B.length>0)if(le.isFunction(Ce.customSearchResultRenderer)){let ue={fireItemSelected:Ee=>{Ce.onSearchResultItemSelected(Ee)}};Ce.customSearchResultRenderer(B,xe,ue)}else t(3,St=!0),t(4,ln=B);else console.warn("Search result array is empty.")},Ni=()=>{if(mn(Ce)&&(t(3,St=!1),t(4,ln=[]),xe))for(;xe.lastElementChild;)xe.removeChild(xe.lastElementChild)},Gi=B=>{let ue=B.detail.node,Ee={params:{link:ue.link,nodeParams:ue.params}};tt(Ee)},Ki=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ht.getDefaultData().mfSplitView),ht.open(gn(),B,ue)},oi=()=>{ht.close(gn())},vl=()=>{ht.collapse(gn()),t(11,o.collapsed=!0,o)},wl=()=>{ht.expand(gn()),t(11,o.collapsed=!1,o)},ji=()=>o.displayed?o.collapsed:!1,kl=()=>o.displayed?!o.collapsed:!1,Sl=()=>o.displayed,Cl=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ti=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},yl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ei,Li,ui,Ai,fi,K,be;const Xe=()=>{document.body.classList.remove("lui-leftNavToggle")},nt=()=>{Qi();const B=window.innerWidth>=fn.desktopMinWidth&&fi<fn.desktopMinWidth,ue=window.innerWidth<fn.desktopMinWidth&&fi>=fn.desktopMinWidth;(B||ue)&&Xe(),fi=window.innerWidth};let it=[];const bt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===ue)[0]},Wt=(B,ue=!1)=>{const Ee=te.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Ie=Ee(B,ue);if(Ie!==!1)return Ie}const Ge=it;return B.id||(B.id=le.getRandomId()),B.id&&Ge&&bt(Ge,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{bt(it,B.id)&&Zt(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,it=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},Zt=(B,ue)=>{const Ee=bt(it,B);if(!Ee){console.error("An unexisting alert has been dismissed.",it,B);return}if(t(26,it=it.filter(Ge=>Ge.settings.id!==B)),Ee.openFromClient){const Ge=ai.getActiveIframe(fe),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ae.sendMessageToIframe(Ge,Ie)}else Ee.promise&&Ee.promise.resolve(ue||B)},ci=B=>{Zt(B.detail.id,B.detail.dismissKey)};let Ji;const Pl=()=>{t(27,Ji={displayed:!1,content:{},openFromClient:!1,promise:null})};Pl();const di=(B,ue=!1,Ee)=>new Promise((Ge,Ie)=>{t(27,Ji={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Ee})}),Il=B=>{const{promise:ue,openFromClient:Ee,targetIframe:Ge}=Ji;if(Pl(),B?ue.resolve():ue.reject(),Ee&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(Ge,Ie)}},Ei=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},ql=()=>di({header:Tt.getTranslation("luigi.unsavedChangesAlert.header"),body:Tt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")}),br=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;qr("getUnsavedChangesModalPromise",Lt);let Y=[];const Rt=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,Y=[]);return}let Ee;if(t(28,Y=Y.filter((Ie,he)=>(B===he&&(Ee=Ie),B!==he))),(Ge=Ee==null?void 0:Ee.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ae.sendMessageToIframe(Ee.mfModal.openerIframe,Ie)}};Rt();const bn=async(B,ue,Ee)=>{if(await re.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Ee}};t(28,Y=[...Y,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.appendModalDataToUrl(B,ue)},ti=(B,ue)=>{t(28,Y[ue].modalIframe=B.detail.modalIframe,Y),t(28,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},xr=(B,ue)=>{t(28,Y[ue].modalWC=B.detail.modalWC,Y),t(28,Y[ue].modalWCData=B.detail.modalWCData,Y)},Yi=(B,ue,Ee)=>{const Ge=(Ue,Ct)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.removeModalDataFromUrl(Ct),Rt(Ue,Ee)},Ie=Y[B],he=le.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Lt(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),he&&he.doResolve(Ee)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),he&&he.doResolve(Ee))};qr("openViewInModal",bn);let rn={};const zl=()=>{t(29,rn.displayed=!1,rn),t(29,rn.nodepath=void 0,rn),t(29,rn.settings={},rn),t(12,g=!1)};zl();const vr=async(B,ue)=>{await re.shouldPreventNavigationForPath(B)||(t(29,rn.displayed=!0,rn),t(29,rn.nodepath=B,rn),t(29,rn.settings=ue,rn),rn.settings&&rn.settings.backdrop&&t(12,g=!0))},ea=()=>window.innerWidth>=fn.desktopMinWidth&&rn.displayed&&rn.settings&&!rn.settings.overlap,Qi=(B=!1)=>{if(!ea())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Ee.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(ue);Ee.forEach(Ie=>{wr(Ie,Ge)})}},wr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},ps=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Qi()},ta=B=>{m=B.detail.modalWC,B.detail.modalWCData,Qi()},Gl=B=>{d=B.detail.activeDrawer},Kl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?Lt(p.contentWindow).then(()=>{zl()},()=>{}):m&&Lt().then(()=>{zl()},()=>{}),Qi(!0)}catch(ue){console.log(ue)}},ms=()=>{const B=cr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Pe.userSettingGroups=[...B],Pe),t(17,Pe.displayed=!0,Pe)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},na=()=>{t(17,Pe.displayed=!1,Pe)},ia=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},jl=B=>{let ue=ae;if(D){let Ie=D.parent;for(ue=[D];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Ee=B.link,Ge=Gt(D,E);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(Ue=>Ue.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromParent){const Ie=Gt(D.parent,E);Ee=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(Ue=>Ue.navigationContext&&Ue.navigationContext.length>0),he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(Ct=>Ie===Ct.navigationContext),Ue=Gt(he,E);Ee=Ge.split(Ue).join("")}else Ee=Ge;return Ee};function bs(B){sessionStorage.removeItem("historyState"),fr.shouldPreload=!0,fr.preload(!0),fr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Ee=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ee};Tt.addCurrentLocaleChangeListener(he=>{const Ue={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Ue)}),Fn.addEventListener("popstate",async he=>{const Ue=it;if(!Ue||!(Ue.length>0))return;const Ct=Ue.map(qt=>{if(qt&&!qt.openFromClient&&typeof qt.settings.ttl=="number"){if(qt.settings.ttl===0)return null;qt.settings.ttl--}return qt}).filter(qt=>qt);t(26,it=Ct)}),Fn.addEventListener("message",async he=>{const Ue=Ae.getValidMessageSource(he),Ct=Y[Y.length-1],qt=Ct&&Ct.modalIframe,yr=Ct&&Ct.modalIframeData,Xi={modalIframe:qt,modalIframeData:yr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!Ue)return;Ue._ready=!0;const Pr=Ae.getSpecialIframeMessageSource(he,Xi),Ri=Pr&&Pr.length>0,Ir=te.getConfigValue("communication.skipEventsWhenInactive");if(Ir&&Ir.length>0&&!Ri&&Ue.contentWindow!==window&&!le.isElementVisible(Ue)&&Ir.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Be=te.getConfigValue("communication.customMessagesListeners")||{},It=as.convertCustomMessageInternalToUser(he.data),yt=Be[It.id],sn="luigi.updateUserSettings";if(Pe&&It.id===sn){yt&&console.warn(`The key "${sn}" is not allowed to use for custom messages.`);return}if(typeof yt=="function"){const Cn=zi.getMicrofrontends().find(Xt=>Ae.isMessageSource(he,Xt.container));yt(It,Cn,le.removeInternalProperties(Ue.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ue.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ue.luigi.viewUrl=Ue.luigi.nextViewUrl,Ue.luigi.nextViewUrl="",Ue.luigi.clientPermissions=Ue.luigi.nextClientPermissions,delete Ue.luigi.nextClientPermissions,Ie.navigateOk=!0,fr.preload()),he.data.msg==="luigi.get-context"){if(Ue.luigi.clientVersion=he.data.clientVersion,Ue.luigi.initOk=!1,Ri)Pr.forEach(async Be=>{let It=Xi[Be.dataKey].context;const yt={...Ie,iframe:Xi[Be.iframeKey],context:It,pathParams:Xi[Be.dataKey].pathParams,nodeParams:Xi[Be.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Xi[Be.iframeKey].luigi.currentNode),modal:Be.iframeKey.startsWith("modal"),drawer:Be.iframeKey.startsWith("drawer"),splitView:Be.iframeKey.startsWith("splitView")};await Ht(yt,{})});else if(Ie.iframe&&Ae.isMessageSource(he,Ie.iframe))await Ht(Ie,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Sr(),fr.preload();else if(Ue.luigi.preloading)await Ht({iframe:Ue,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Be=cr.findActiveCustomUserSettingsIframe(he.source);if(Be){let It=Be.getAttribute("userSettingsGroup"),yt={context:{userSettingsData:Ln[It]},iframe:Be};await Ht(yt)}}fr.viewGroupLoaded(Ue)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(qe),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const Be=window.location.href,It=Ri?Ue.luigi.currentNode:void 0,yt=Ri?Ue.luigi.pathParams:void 0,sn=he.data.params,{intent:Cn,newTab:Xt,modal:$i,splitView:Yl,drawer:Nl,withoutSync:Ts}=sn;let Ql=Xt||$i||Yl||Nl;const ca=()=>{const Kn=le.getRemotePromise(he.data.remotePromiseId);Kn&&Kn.doResolve()},cn=()=>{const Kn=le.getRemotePromise(he.data.remotePromiseId);Kn&&Kn.doReject()},Tl=Kn=>{!Kn||Be!==window.location.href?ca():cn()};he.source!==window&&!Cn&&sn.link&&(sn.link=sn.link.split("?")[0]);let Ot=Sn(he.data.params,It,yt);if(Ql=Ql||Cn&&Ot.external,!Ql)Lt().then(()=>{Z=!he.data.params.withoutSync,tt(he.data,Ie,It,yt).then(()=>{Tl(!0)}).catch(()=>{cn()}),Y.forEach((Kn,da)=>{Yi(da)}),oi(),Kl(),Z=!0}).catch(()=>{cn()});else{if(Cn&&Ot.external){at.navigateToExternalLink({url:Ot.url,sameWindow:!Ot.openInNewTab});return}if(Ot=le.addLeadingSlash(Ot),Xt){await ia(Ot),Tl();return}const Kn=await Jl(Ot);if(Ot=await me.handlePageNotFoundAndRetrieveRedirectPath(gn(),Ot,Kn),!Ot){cn();return}fe=B,$i!==void 0?(!$i.keepPrevious&&Rt(),await bn(Ot,$i===!0?{}:$i,Ue),Tl()):Yl!==void 0?(await Ki(Ot,Yl),Tl()):Nl!==void 0&&(zl(),Nl.isDrawer=!0,await vr(Ot,Nl),Tl())}}if(he.data.msg==="luigi.navigation.back"){const Be=Y[Y.length-1],It=Y.length>1&&Y[Y.length-2],yt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,Be&&Be.modalIframe)){Yi(Y.length-1,!0,yt);let sn=Ie;if(It&&It.modalIframeData&&It.modalIframe){const Cn=It,Xt=Cn.modalIframeData;sn={pathParams:Xt.pathParams,context:Xt.context,iframe:Cn.modalIframe}}sn.iframe&&await Ht(sn,{goBackContext:yt})}else Ae.isMessageSource(he,C)?(oi(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):Ae.isMessageSource(he,p)?(d&&(d=!d),Kl(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):ne&&ne.length>0?Lt().then(()=>{ai.setActiveIframeToPrevious(B);const sn=ne.pop();Ie.iframe=ai.getActiveIframe(B),G=!0,ne=ne,j=yt,tt({params:{link:sn.path}},Ie)},()=>{}):(yt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Be=he.data.data,yt={msg:"luigi.navigation.currentRoute.answer",data:{route:jl(Be),correlationId:Be.id}};Ae.sendMessageToIframe(Ue,yt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ri){const Be=le.addLeadingSlash(Sn(he.data.params,Ue.luigi.currentNode,Ue.luigi.pathParams));at.updateModalDataInUrl(Be,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Be=Ue.luigi.currentNode,It=Ue.luigi.pathParams,yt=he.data.data,sn=Sn(yt,Be,It),Cn=sn?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),sn):!1,Xt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:yt.id,pathExists:Cn?Cn.isExistingRoute:!1}};Ae.sendMessageToIframe(Ue,Xt)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const Be=new Set;Be.add(he.source),se={dirtySet:Be}}se.persistUrl=window.location.href,he.data.dirty?se.dirtySet.add(he.source):se.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Be=he.data.data.settings;fe=B,Pl(),di(Be,!0,Ue).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Be}=he.data.data;if(!Be.text&&!le.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}fe=B,Wt(Be,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ue.luigi.clientPermissions&&Ue.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Be}=he.data.data;Be&&Tt.setCurrentLocale(Be)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ze&&!ze.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&kr(),he.data.msg==="storage"&&a2.process(Ue.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Be=Ue.luigi.currentNode;Be&&Be.runTimeErrorHandler&&le.isFunction(Be.runTimeErrorHandler.errorFn)?Be.runTimeErrorHandler.errorFn(he.data.errorObj,Be):Ge&&le.isFunction(Ge.errorFn)&&Ge.errorFn(he.data.errorObj,Be)}if(he.data.msg==="luigi.addSearchParams")if(Ue.luigi.currentNode.clientPermissions&&Ue.luigi.currentNode.clientPermissions.urlParameters){const{data:Be,keepBrowserHistory:It}=he.data;me.addSearchParamsFromClient(Ue.luigi.currentNode,Be,It)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Ri)return;const{data:Be,keepBrowserHistory:It}=he.data;ul.addNodeParams(Be,It)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Be}=he.data;ul.setAnchor(Be)}if(he.data.msg==="luigi.setVGData"){const Be=he.data,It=re.findViewGroup(Ue.luigi.currentNode);if(It){const yt=re.getViewGroupSettings(It);yt._liveCustomData=Be.data,te.configChanged("navigation.viewgroupdata")}}}),xn(B,Ie)}qr("store",l),qr("getTranslation",r);const kr=B=>{ze&&ze.thirdPartyCookieErrorHandling&&le.isFunction(ze.thirdPartyCookieErrorHandling)&&ze.thirdPartyCookieErrorHandling()};function Sr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(qe),t(10,a=!1)},250)):clearTimeout(qe)}const Jl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Sn(ue),Ge=Ee?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ee):!1;return Ge?Ge.isExistingRoute:!1},Zi=()=>Y.length>0||ne.length!==0;nn(()=>{if(Bo._init(),Ce=te.getConfigValue("globalSearch.searchProvider"),Se=te.getConfigValue("settings.responsiveNavigation"),fi=window.innerWidth,Se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();B&&ue&&t(18,Fe=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(Se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();if(B&&ue){const Ee=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,Fe=Ee?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ze=te.getConfigValue("settings.thirdPartyCookieCheck"),ze&&ze.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ze.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{L9()==="disabled"&&kr()}),document.body.removeChild(B)}})}),Zr(()=>{Qi()}),Gn(()=>{t(19,ct=te.getConfigValue("navigation.breadcrumbs")),Ce=te.getConfigValue("globalSearch.searchProvider"),t(24,K=te.getConfigValue("tag")),t(25,be=te.getConfigValue("settings.header.disabled"))});const la=B=>{B.keyCode===Hl&&Y&&Y.length>0&&Yi(Y.length-1)},ra=B=>Yi(B,!0),vs=(B,ue)=>ti(ue,B),aa=(B,ue)=>xr(ue,B),sa=()=>Il(!0),oa=()=>Il(!1);function ua(B){Ln=B,t(5,Ln)}function ws(B){Ft=B,t(0,Ft)}function ks(B){St=B,t(3,St)}function Ss(B){ln=B,t(4,ln)}function fa(B){de=B,t(1,de)}function Cs(B){xe=B,t(2,xe)}function ys(B){Ft=B,t(0,Ft)}function Ps(B){St=B,t(3,St)}function Is(B){ln=B,t(4,ln)}function Cr(B){de=B,t(1,de)}function Ns(B){xe=B,t(2,xe)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ft=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,xe=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,St=B.displaySearchResult),"searchResult"in B&&t(4,ln=B.searchResult),"storedUserSettings"in B&&t(5,Ln=B.storedUserSettings)},[Ft,de,xe,St,ln,Ln,Pi,Ni,Gi,na,a,o,g,E,ae,ie,Re,Pe,Fe,ct,ei,Li,ui,Ai,K,be,it,Ji,Y,rn,dt,wi,ki,Cl,Ti,yl,nt,ci,Il,ti,xr,Yi,ps,ta,Gl,Kl,bs,la,l,r,Si,Ci,yi,Ii,pl,ml,bl,Ki,oi,vl,wl,ji,kl,Sl,Wt,di,br,ms,jl,Jl,Zi,ra,vs,aa,sa,oa,ua,ws,ks,Ss,fa,Cs,ys,Ps,Is,Cr,Ns]}class U9 extends Vt{constructor(e){super(),Dt(this,e,F9,M9,Et,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const B9=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Sp=B9(),H9=Ik((i,e,t)=>Tt.getTranslation(i,e,t));Luigi._store=Sp;const W9=()=>new Promise(i=>{Tt._init(),hn.init().then(()=>{setTimeout(()=>{let e;zi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new U9({target:zi.getLuigiContainer(),props:{store:Sp,getTranslation:H9}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(W9);
63
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function M9(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&P_(i),b=i[28],m=[];for(let E=0;E<b.length;E+=1)m[E]=N_(y_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&T_(i),y=i[27].displayed&&L_(i),P=i[17].displayed&&A_(i);const I=[D9,R9],T=[];function V(E,H){return E[30]?0:1}return o=V(i),c=T[o]=I[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[24]),f(e,"class","svelte-qmtge1"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[22]),jt(e,"no-top-nav",i[25]),jt(e,"no-animation",i[23]),jt(e,"btp-layout",i[30])},m(E,H){A(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),T[o].m(e,null),h=!0,d||(g=[ee(C_,"resize",i[36]),ee(C_,"keydown",i[47])],d=!0)},p(E,H){if(E[26]&&E[26].length?p?(p.p(E,H),H[0]&67108864&&R(p,1)):(p=P_(E),p.c(),R(p,1),p.m(e,t)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),H[0]&268439552|H[1]&1792){b=E[28];let D;for(D=0;D<b.length;D+=1){const O=y_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=N_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(ve(),D=b.length;D<m.length;D+=1)v(D);we()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=T_(E),C.c(),R(C,1),C.m(e,l)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=L_(E),y.c(),R(y,1),y.m(e,r)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=A_(E),P.c(),R(P,1),P.m(e,a)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&jt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&jt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&jt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&jt(e,"no-animation",E[23])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(A9);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&L(e),p&&p.d(),ft(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Je(g)}}}function F9(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Q,X,ce,Z=!0,G=!1,j,ae,fe,ne=[],se={isDirty:!1,persistUrl:null},Se,ie,Re=!1,ze,Ce,Pe={},Fe,ct,qe,dt=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ft}=e,{inputElem:de}=e,{customSearchItemRendererSlot:xe}=e,{displaySearchResult:St}=e,{searchResult:ln}=e,{storedUserSettings:Ln}=e;const an=async B=>{const ue=B.iframe.luigi,Ee=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Ee&&typeof Ge=="object"&&Ge!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ge[Ee]:null,anchor:ul.getAnchor(),cssVariables:await Bo.getCSSVariables()});return Ae.specialIframeTypes.map(Ue=>Ue.iframeConfigKey).forEach(Ue=>{he[Ue]=B[Ue]||!1}),he},Ht=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||T,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await an(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Ae.sendMessageToIframe(B.iframe,Ee)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ue)},rt=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Sn(B.params),Ge=at.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?le.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:T}),ue.iframe.pv="pv"}},tt=(B,ue,Ee,Ge)=>{let Ie=Sn(B.params,Ee,Ge);const{preventHistoryEntry:he,preserveQueryParams:Ue,preventContextUpdate:Ct}=B.params,qt={keepBrowserHistory:!he,navSync:Z,preventContextUpdate:Ct};return Ie=le.addLeadingSlash(Ie),Ie=Ue?me.composeSearchParamsToRoute(Ie):Ie,rt(B,ue),at.navigateTo(Ie,qt)},Yt=B=>B.split("?")[0],Qt=(B,ue)=>{if(B.length===0)return!1;const Ee=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Yt(Ge.path),Yt(Ge.nextPath)].includes(Yt(Ee))},An=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},Lt=B=>new Promise((ue,Ee)=>{Ei(B)?ql().then(()=>{An(),ue()},()=>{Ee()}):ue()}),gn=()=>({get:()=>({unsavedChanges:se,hideNav:ei,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:T,pathParams:E,hideGlobalSearch:Li,hideSideNav:ui,isolateView:Q,pageErrorHandler:X,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ie,isNavigateBack:G,goBackContext:j,isNavigationSyncEnabled:Z}),set:B=>{B&&(t(23,Ai=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ei=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,ae=B.navigationPath):ue==="context"?T=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideGlobalSearch"?t(21,Li=B.hideGlobalSearch):ue==="hideSideNav"?(ui!=B.hideSideNav&&(t(23,Ai=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,ui=B.hideSideNav)):ue==="isolateView"?Q=B.isolateView:ue==="pageErrorHandler"?X=B.pageErrorHandler:ue==="previousNodeValues"?ce=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(qe),qe=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(qe)):ue==="tabNav"?t(15,ie=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?j=B.goBackContext:ue==="isNavigationSyncEnabled"&&(Z=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ei,getUnsavedChangesModalPromise:Lt,showUnsavedChangesModal:ql,showAlert:Wt,prepareInternalData:an,dispatch:n}),xn=(B,ue)=>{pn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),zn.deleteCache();const Ge=at.getCurrentPath();at.handleRouteChange(Ge,gn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ee,Ge)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ge||{};Qt(ne,Ee)||(ne=[],ai.removeInactiveIframes(B));for(let Ct=Y.length;Ct--;)Yi(Ct);$r.removeBackdrop(),oi(),at.handleRouteChange(Ee,gn(),B,ue,Ie,he)})},Gt=(B,ue)=>le.replaceVars(at.getNodePath(B),ue,":",!1),Sn=(B,ue,Ee)=>{const Ge=ue||D,Ie=Ee||E;let he=ae;if(ue){let Ct=ue.parent;for(he=[ue];Ct;)he.push(Ct),Ct=Ct.parent;he=[...he].reverse()}let Ue=B.link;if(B.fromVirtualTreeRoot){const Ct=[...he].reverse().find(qt=>qt.virtualTree);if(!Ct){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromParent)Ue=at.concatenatePath(Gt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const Ct=[...he].reverse().find(qt=>qt.navigationContext&&qt.navigationContext.length>0);Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromContext){const Ct=B.fromContext,qt=[...he].reverse().find(yr=>Ct===yr.navigationContext);Ue=at.concatenatePath(Gt(qt,Ie),B.link)}else B.intent?Ue=me.getIntentPath(B.link):B.relative&&(Ue=at.concatenatePath(Gt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ue+=Ue.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Ct,qt)=>{Ue+=encodeURIComponent(me.getContentViewParamPrefix()+Ct[0])+"="+encodeURIComponent(Ct[1])+(qt<Object.keys(B.nodeParams).length-1?"&":"")})),Ue},wi=B=>{const ue=B.detail.node;Lt().then(()=>{if(Xe(),ue.openNodeInModal){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);bn(Ee,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,vr(Ee,ue.drawer)}else gn().set({isNavigationSyncEnabled:!0}),at.handleRouteClick(ue,gn())},()=>{})},ki=()=>{t(16,Re=!Re)};qr("handleNavigation",tt);const mn=B=>B?!0:(console.warn("No search provider defined."),!1),Si=()=>{mn(Ce)&&t(0,Ft=!1)},Ci=()=>{mn(Ce)&&de&&(t(0,Ft=!0),de.focus())},yi=()=>{mn(Ce)&&de&&(t(1,de.value="",de),Ni())},Pi=()=>{t(0,Ft=!Ft),Dk.clearSearchField()},Ii=()=>{if(mn(Ce)&&de)return de.value},pl=B=>{mn(Ce)&&de&&(t(1,de.value=B,de),le.isFunction(Ce.onInput)?Ce.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ml=B=>{mn(Ce)&&de&&t(1,de.placeholder=B,de)},bl=B=>{if(mn(Ce))if(B&&B.length>0)if(le.isFunction(Ce.customSearchResultRenderer)){let ue={fireItemSelected:Ee=>{Ce.onSearchResultItemSelected(Ee)}};Ce.customSearchResultRenderer(B,xe,ue)}else t(3,St=!0),t(4,ln=B);else console.warn("Search result array is empty.")},Ni=()=>{if(mn(Ce)&&(t(3,St=!1),t(4,ln=[]),xe))for(;xe.lastElementChild;)xe.removeChild(xe.lastElementChild)},Gi=B=>{let ue=B.detail.node,Ee={params:{link:ue.link,nodeParams:ue.params}};tt(Ee)},Ki=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ht.getDefaultData().mfSplitView),ht.open(gn(),B,ue)},oi=()=>{ht.close(gn())},vl=()=>{ht.collapse(gn()),t(11,o.collapsed=!0,o)},wl=()=>{ht.expand(gn()),t(11,o.collapsed=!1,o)},ji=()=>o.displayed?o.collapsed:!1,kl=()=>o.displayed?!o.collapsed:!1,Sl=()=>o.displayed,Cl=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ti=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},yl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ei,Li,ui,Ai,fi,K,be;const Xe=()=>{document.body.classList.remove("lui-leftNavToggle")},nt=()=>{Qi();const B=window.innerWidth>=fn.desktopMinWidth&&fi<fn.desktopMinWidth,ue=window.innerWidth<fn.desktopMinWidth&&fi>=fn.desktopMinWidth;(B||ue)&&Xe(),fi=window.innerWidth};let it=[];const bt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===ue)[0]},Wt=(B,ue=!1)=>{const Ee=te.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Ie=Ee(B,ue);if(Ie!==!1)return Ie}const Ge=it;return B.id||(B.id=le.getRandomId()),B.id&&Ge&&bt(Ge,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{bt(it,B.id)&&Zt(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,it=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},Zt=(B,ue)=>{const Ee=bt(it,B);if(!Ee){console.error("An unexisting alert has been dismissed.",it,B);return}if(t(26,it=it.filter(Ge=>Ge.settings.id!==B)),Ee.openFromClient){const Ge=ai.getActiveIframe(fe),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ae.sendMessageToIframe(Ge,Ie)}else Ee.promise&&Ee.promise.resolve(ue||B)},ci=B=>{Zt(B.detail.id,B.detail.dismissKey)};let Ji;const Pl=()=>{t(27,Ji={displayed:!1,content:{},openFromClient:!1,promise:null})};Pl();const di=(B,ue=!1,Ee)=>new Promise((Ge,Ie)=>{t(27,Ji={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Ee})}),Il=B=>{const{promise:ue,openFromClient:Ee,targetIframe:Ge}=Ji;if(Pl(),B?ue.resolve():ue.reject(),Ee&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(Ge,Ie)}},Ei=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},ql=()=>di({header:Tt.getTranslation("luigi.unsavedChangesAlert.header"),body:Tt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")}),br=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;qr("getUnsavedChangesModalPromise",Lt);let Y=[];const Rt=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,Y=[]);return}let Ee;if(t(28,Y=Y.filter((Ie,he)=>(B===he&&(Ee=Ie),B!==he))),(Ge=Ee==null?void 0:Ee.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ae.sendMessageToIframe(Ee.mfModal.openerIframe,Ie)}};Rt();const bn=async(B,ue,Ee)=>{if(await re.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Ee}};t(28,Y=[...Y,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.appendModalDataToUrl(B,ue)},ti=(B,ue)=>{t(28,Y[ue].modalIframe=B.detail.modalIframe,Y),t(28,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},xr=(B,ue)=>{t(28,Y[ue].modalWC=B.detail.modalWC,Y),t(28,Y[ue].modalWCData=B.detail.modalWCData,Y)},Yi=(B,ue,Ee)=>{const Ge=(Ue,Ct)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.removeModalDataFromUrl(Ct),Rt(Ue,Ee)},Ie=Y[B],he=le.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Lt(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),he&&he.doResolve(Ee)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),he&&he.doResolve(Ee))};qr("openViewInModal",bn);let rn={};const zl=()=>{t(29,rn.displayed=!1,rn),t(29,rn.nodepath=void 0,rn),t(29,rn.settings={},rn),t(12,g=!1)};zl();const vr=async(B,ue)=>{await re.shouldPreventNavigationForPath(B)||(t(29,rn.displayed=!0,rn),t(29,rn.nodepath=B,rn),t(29,rn.settings=ue,rn),rn.settings&&rn.settings.backdrop&&t(12,g=!0))},ea=()=>window.innerWidth>=fn.desktopMinWidth&&rn.displayed&&rn.settings&&!rn.settings.overlap,Qi=(B=!1)=>{if(!ea())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Ee.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(ue);Ee.forEach(Ie=>{wr(Ie,Ge)})}},wr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},ps=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Qi()},ta=B=>{m=B.detail.modalWC,B.detail.modalWCData,Qi()},Gl=B=>{d=B.detail.activeDrawer},Kl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?Lt(p.contentWindow).then(()=>{zl()},()=>{}):m&&Lt().then(()=>{zl()},()=>{}),Qi(!0)}catch(ue){console.log(ue)}},ms=()=>{const B=cr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Pe.userSettingGroups=[...B],Pe),t(17,Pe.displayed=!0,Pe)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},na=()=>{t(17,Pe.displayed=!1,Pe)},ia=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},jl=B=>{let ue=ae;if(D){let Ie=D.parent;for(ue=[D];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Ee=B.link,Ge=Gt(D,E);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(Ue=>Ue.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromParent){const Ie=Gt(D.parent,E);Ee=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(Ue=>Ue.navigationContext&&Ue.navigationContext.length>0),he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(Ct=>Ie===Ct.navigationContext),Ue=Gt(he,E);Ee=Ge.split(Ue).join("")}else Ee=Ge;return Ee};function bs(B){sessionStorage.removeItem("historyState"),fr.shouldPreload=!0,fr.preload(!0),fr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Ee=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ee};Tt.addCurrentLocaleChangeListener(he=>{const Ue={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Ue)}),Fn.addEventListener("popstate",async he=>{const Ue=it;if(!Ue||!(Ue.length>0))return;const Ct=Ue.map(qt=>{if(qt&&!qt.openFromClient&&typeof qt.settings.ttl=="number"){if(qt.settings.ttl===0)return null;qt.settings.ttl--}return qt}).filter(qt=>qt);t(26,it=Ct)}),Fn.addEventListener("message",async he=>{const Ue=Ae.getValidMessageSource(he),Ct=Y[Y.length-1],qt=Ct&&Ct.modalIframe,yr=Ct&&Ct.modalIframeData,Xi={modalIframe:qt,modalIframeData:yr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!Ue)return;Ue._ready=!0;const Pr=Ae.getSpecialIframeMessageSource(he,Xi),Ri=Pr&&Pr.length>0,Ir=te.getConfigValue("communication.skipEventsWhenInactive");if(Ir&&Ir.length>0&&!Ri&&Ue.contentWindow!==window&&!le.isElementVisible(Ue)&&Ir.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Be=te.getConfigValue("communication.customMessagesListeners")||{},It=as.convertCustomMessageInternalToUser(he.data),yt=Be[It.id],sn="luigi.updateUserSettings";if(Pe&&It.id===sn){yt&&console.warn(`The key "${sn}" is not allowed to use for custom messages.`);return}if(typeof yt=="function"){const Cn=zi.getMicrofrontends().find(Xt=>Ae.isMessageSource(he,Xt.container));yt(It,Cn,le.removeInternalProperties(Ue.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ue.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ue.luigi.viewUrl=Ue.luigi.nextViewUrl,Ue.luigi.nextViewUrl="",Ue.luigi.clientPermissions=Ue.luigi.nextClientPermissions,delete Ue.luigi.nextClientPermissions,Ie.navigateOk=!0,fr.preload()),he.data.msg==="luigi.get-context"){if(Ue.luigi.clientVersion=he.data.clientVersion,Ue.luigi.initOk=!1,Ri)Pr.forEach(async Be=>{let It=Xi[Be.dataKey].context;const yt={...Ie,iframe:Xi[Be.iframeKey],context:It,pathParams:Xi[Be.dataKey].pathParams,nodeParams:Xi[Be.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Xi[Be.iframeKey].luigi.currentNode),modal:Be.iframeKey.startsWith("modal"),drawer:Be.iframeKey.startsWith("drawer"),splitView:Be.iframeKey.startsWith("splitView")};await Ht(yt,{})});else if(Ie.iframe&&Ae.isMessageSource(he,Ie.iframe))await Ht(Ie,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Sr(),fr.preload();else if(Ue.luigi.preloading)await Ht({iframe:Ue,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Be=cr.findActiveCustomUserSettingsIframe(he.source);if(Be){let It=Be.getAttribute("userSettingsGroup"),yt={context:{userSettingsData:Ln[It]},iframe:Be};await Ht(yt)}}fr.viewGroupLoaded(Ue)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(qe),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const Be=window.location.href,It=Ri?Ue.luigi.currentNode:void 0,yt=Ri?Ue.luigi.pathParams:void 0,sn=he.data.params,{intent:Cn,newTab:Xt,modal:$i,splitView:Yl,drawer:Nl,withoutSync:Ts}=sn;let Ql=Xt||$i||Yl||Nl;const ca=()=>{const Kn=le.getRemotePromise(he.data.remotePromiseId);Kn&&Kn.doResolve()},dn=()=>{const Kn=le.getRemotePromise(he.data.remotePromiseId);Kn&&Kn.doReject()},Tl=Kn=>{!Kn||Be!==window.location.href?ca():dn()};he.source!==window&&!Cn&&sn.link&&(sn.link=sn.link.split("?")[0]);let Ot=Sn(he.data.params,It,yt);if(Ql=Ql||Cn&&Ot.external,!Ql)Lt().then(()=>{Z=!he.data.params.withoutSync,tt(he.data,Ie,It,yt).then(()=>{Tl(!0)}).catch(()=>{dn()}),Y.forEach((Kn,da)=>{Yi(da)}),oi(),Kl(),Z=!0}).catch(()=>{dn()});else{if(Cn&&Ot.external){at.navigateToExternalLink({url:Ot.url,sameWindow:!Ot.openInNewTab});return}if(Ot=le.addLeadingSlash(Ot),Xt){await ia(Ot),Tl();return}const Kn=await Jl(Ot);if(Ot=await me.handlePageNotFoundAndRetrieveRedirectPath(gn(),Ot,Kn),!Ot){dn();return}fe=B,$i!==void 0?(!$i.keepPrevious&&Rt(),await bn(Ot,$i===!0?{}:$i,Ue),Tl()):Yl!==void 0?(await Ki(Ot,Yl),Tl()):Nl!==void 0&&(zl(),Nl.isDrawer=!0,await vr(Ot,Nl),Tl())}}if(he.data.msg==="luigi.navigation.back"){const Be=Y[Y.length-1],It=Y.length>1&&Y[Y.length-2],yt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,Be&&Be.modalIframe)){Yi(Y.length-1,!0,yt);let sn=Ie;if(It&&It.modalIframeData&&It.modalIframe){const Cn=It,Xt=Cn.modalIframeData;sn={pathParams:Xt.pathParams,context:Xt.context,iframe:Cn.modalIframe}}sn.iframe&&await Ht(sn,{goBackContext:yt})}else Ae.isMessageSource(he,C)?(oi(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):Ae.isMessageSource(he,p)?(d&&(d=!d),Kl(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):ne&&ne.length>0?Lt().then(()=>{ai.setActiveIframeToPrevious(B);const sn=ne.pop();Ie.iframe=ai.getActiveIframe(B),G=!0,ne=ne,j=yt,tt({params:{link:sn.path}},Ie)},()=>{}):(yt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Be=he.data.data,yt={msg:"luigi.navigation.currentRoute.answer",data:{route:jl(Be),correlationId:Be.id}};Ae.sendMessageToIframe(Ue,yt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ri){const Be=le.addLeadingSlash(Sn(he.data.params,Ue.luigi.currentNode,Ue.luigi.pathParams));at.updateModalDataInUrl(Be,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Be=Ue.luigi.currentNode,It=Ue.luigi.pathParams,yt=he.data.data,sn=Sn(yt,Be,It),Cn=sn?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),sn):!1,Xt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:yt.id,pathExists:Cn?Cn.isExistingRoute:!1}};Ae.sendMessageToIframe(Ue,Xt)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const Be=new Set;Be.add(he.source),se={dirtySet:Be}}se.persistUrl=window.location.href,he.data.dirty?se.dirtySet.add(he.source):se.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Be=he.data.data.settings;fe=B,Pl(),di(Be,!0,Ue).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Be}=he.data.data;if(!Be.text&&!le.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}fe=B,Wt(Be,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ue.luigi.clientPermissions&&Ue.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Be}=he.data.data;Be&&Tt.setCurrentLocale(Be)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ze&&!ze.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&kr(),he.data.msg==="storage"&&a2.process(Ue.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Be=Ue.luigi.currentNode;Be&&Be.runTimeErrorHandler&&le.isFunction(Be.runTimeErrorHandler.errorFn)?Be.runTimeErrorHandler.errorFn(he.data.errorObj,Be):Ge&&le.isFunction(Ge.errorFn)&&Ge.errorFn(he.data.errorObj,Be)}if(he.data.msg==="luigi.addSearchParams")if(Ue.luigi.currentNode.clientPermissions&&Ue.luigi.currentNode.clientPermissions.urlParameters){const{data:Be,keepBrowserHistory:It}=he.data;me.addSearchParamsFromClient(Ue.luigi.currentNode,Be,It)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Ri)return;const{data:Be,keepBrowserHistory:It}=he.data;ul.addNodeParams(Be,It)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Be}=he.data;ul.setAnchor(Be)}if(he.data.msg==="luigi.setVGData"){const Be=he.data,It=re.findViewGroup(Ue.luigi.currentNode);if(It){const yt=re.getViewGroupSettings(It);yt._liveCustomData=Be.data,te.configChanged("navigation.viewgroupdata")}}}),xn(B,Ie)}qr("store",l),qr("getTranslation",r);const kr=B=>{ze&&ze.thirdPartyCookieErrorHandling&&le.isFunction(ze.thirdPartyCookieErrorHandling)&&ze.thirdPartyCookieErrorHandling()};function Sr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(qe),t(10,a=!1)},250)):clearTimeout(qe)}const Jl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Sn(ue),Ge=Ee?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ee):!1;return Ge?Ge.isExistingRoute:!1},Zi=()=>Y.length>0||ne.length!==0;nn(()=>{if(Bo._init(),Ce=te.getConfigValue("globalSearch.searchProvider"),Se=te.getConfigValue("settings.responsiveNavigation"),fi=window.innerWidth,Se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();B&&ue&&t(18,Fe=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(Se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();if(B&&ue){const Ee=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,Fe=Ee?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ze=te.getConfigValue("settings.thirdPartyCookieCheck"),ze&&ze.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ze.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{L9()==="disabled"&&kr()}),document.body.removeChild(B)}})}),Zr(()=>{Qi()}),Gn(()=>{t(19,ct=te.getConfigValue("navigation.breadcrumbs")),Ce=te.getConfigValue("globalSearch.searchProvider"),t(24,K=te.getConfigValue("tag")),t(25,be=te.getConfigValue("settings.header.disabled"))});const la=B=>{B.keyCode===Hl&&Y&&Y.length>0&&Yi(Y.length-1)},ra=B=>Yi(B,!0),vs=(B,ue)=>ti(ue,B),aa=(B,ue)=>xr(ue,B),sa=()=>Il(!0),oa=()=>Il(!1);function ua(B){Ln=B,t(5,Ln)}function ws(B){Ft=B,t(0,Ft)}function ks(B){St=B,t(3,St)}function Ss(B){ln=B,t(4,ln)}function fa(B){de=B,t(1,de)}function Cs(B){xe=B,t(2,xe)}function ys(B){Ft=B,t(0,Ft)}function Ps(B){St=B,t(3,St)}function Is(B){ln=B,t(4,ln)}function Cr(B){de=B,t(1,de)}function Ns(B){xe=B,t(2,xe)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ft=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,xe=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,St=B.displaySearchResult),"searchResult"in B&&t(4,ln=B.searchResult),"storedUserSettings"in B&&t(5,Ln=B.storedUserSettings)},[Ft,de,xe,St,ln,Ln,Pi,Ni,Gi,na,a,o,g,E,ae,ie,Re,Pe,Fe,ct,ei,Li,ui,Ai,K,be,it,Ji,Y,rn,dt,wi,ki,Cl,Ti,yl,nt,ci,Il,ti,xr,Yi,ps,ta,Gl,Kl,bs,la,l,r,Si,Ci,yi,Ii,pl,ml,bl,Ki,oi,vl,wl,ji,kl,Sl,Wt,di,br,ms,jl,Jl,Zi,ra,vs,aa,sa,oa,ua,ws,ks,Ss,fa,Cs,ys,Ps,Is,Cr,Ns]}class U9 extends Vt{constructor(e){super(),Dt(this,e,F9,M9,Et,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const B9=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Sp=B9(),H9=Ik((i,e,t)=>Tt.getTranslation(i,e,t));Luigi._store=Sp;const W9=()=>new Promise(i=>{Tt._init(),cn.init().then(()=>{setTimeout(()=>{let e;zi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new U9({target:zi.getLuigiContainer(),props:{store:Sp,getTranslation:H9}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(W9);
64
64
  //# sourceMappingURL=luigi.js.map