@luigi-project/core 2.11.1-dev.20240520025 → 2.12.0
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 +16 -16
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var Yw=Object.defineProperty;var Qw=(i,e,t)=>e in i?Yw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Bf=(i,e,t)=>(Qw(i,typeof e!="symbol"?e+"":e,t),t);function He(){}function Zw(i,e){for(const t in e)i[t]=e[t];return i}function Xw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function F_(i){return i()}function Hf(){return Object.create(null)}function Ze(i){i.forEach(F_)}function bi(i){return typeof i=="function"}function At(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Xr;function Xe(i,e){return Xr||(Xr=document.createElement("a")),Xr.href=e,i===Xr.href}function $w(i){return Object.keys(i).length===0}function Oo(i,...e){if(i==null)return He;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return Oo(i,t=>e=t)(),e}function wi(i,e,t){i.$$.on_destroy.push(Oo(e,t))}function U_(i,e,t,n){if(i){const l=z_(i,e,t,n);return i[0](l)}}function z_(i,e,t,n){return i[1]&&n?Zw(t.ctx.slice(),i[1](n(e))):t.ctx}function B_(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 a=[],r=Math.max(e.dirty.length,l.length);for(let o=0;o<r;o+=1)a[o]=e.dirty[o]|l[o];return a}return e.dirty|l}return e.dirty}function H_(i,e,t,n,l,a){if(l){const r=z_(e,t,n,a);i.p(r,l)}}function W_(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function ei(i){return i??""}function q_(i){return i&&bi(i.destroy)?i.destroy:He}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 ct(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function xw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Le(i){return document.createTextNode(i)}function H(){return Le(" ")}function Ce(){return Le("")}function ne(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Pt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function e2(i){return Array.from(i.childNodes)}function Ae(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Wf(i,e){i.value=e??""}function Vn(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 t2(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class ha{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=xw(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 Wa;function zi(i){Wa=i}function hl(){if(!Wa)throw new Error("Function called outside component initialization");return Wa}function Gn(i){hl().$$.before_update.push(i)}function xt(i){hl().$$.on_mount.push(i)}function ja(i){hl().$$.after_update.push(i)}function Ja(i){hl().$$.on_destroy.push(i)}function Jt(){const i=hl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const a=t2(e,t,{cancelable:n});return l.slice().forEach(r=>{r.call(i,a)}),!a.defaultPrevented}return!0}}function za(i,e){return hl().$$.context.set(i,e),e}function vt(i){return hl().$$.context.get(i)}function Dl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Ha=[],Je=[],es=[],Ao=[],n2=Promise.resolve();let Eo=!1;function i2(){Eo||(Eo=!0,n2.then(Fo))}function Ro(i){es.push(i)}function mt(i){Ao.push(i)}const To=new Set;let $r=0;function Fo(){const i=Wa;do{for(;$r<Ha.length;){const e=Ha[$r];$r++,zi(e),l2(e.$$)}for(zi(null),Ha.length=0,$r=0;Je.length;)Je.pop()();for(let e=0;e<es.length;e+=1){const t=es[e];To.has(t)||(To.add(t),t())}es.length=0}while(Ha.length);for(;Ao.length;)Ao.pop()();Eo=!1,To.clear(),zi(i)}function l2(i){if(i.fragment!==null){i.update(),Ze(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ro)}}const ts=new Set;let Vl;function ke(){Vl={r:0,c:[],p:Vl}}function Se(){Vl.r||Ze(Vl.c),Vl=Vl.p}function R(i,e){i&&i.i&&(ts.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(ts.has(i))return;ts.add(i),Vl.c.push(()=>{ts.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function is(i,e){const t=e.token={};function n(l,a,r,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;r!==void 0&&(c=c.slice(),c[r]=o);const g=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((h,p)=>{p!==a&&h&&(ke(),U(h,1,1,()=>{e.blocks[p]===h&&(e.blocks[p]=null)}),Se())}):e.block.d(1),g.c(),R(g,1),g.m(e.mount(),e.anchor),d=!0),e.block=g,e.blocks&&(e.blocks[a]=g),d&&Fo()}if(Xw(i)){const l=hl();if(i.then(a=>{zi(l),n(e.then,1,e.value,a),zi(null)},a=>{if(zi(l),n(e.catch,2,e.error,a),zi(null),!e.hasCatch)throw a}),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 G_(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 gl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function bt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Ue(i){i&&i.c()}function Oe(i,e,t,n){const{fragment:l,after_update:a}=i.$$;l&&l.m(e,t),n||Ro(()=>{const r=i.$$.on_mount.map(F_).filter(bi);i.$$.on_destroy?i.$$.on_destroy.push(...r):Ze(r),i.$$.on_mount=[]}),a.forEach(Ro)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(Ze(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function a2(i,e){i.$$.dirty[0]===-1&&(Ha.push(i),i2(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Dt(i,e,t,n,l,a,r,o=[-1]){const c=Wa;zi(i);const g=i.$$={fragment:null,ctx:[],props:a,update:He,not_equal:l,bound:Hf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Hf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};r&&r(g.root);let d=!1;if(g.ctx=t?t(i,e.props||{},(h,p,...b)=>{const m=b.length?b[0]:p;return g.ctx&&l(g.ctx[h],g.ctx[h]=m)&&(!g.skip_bound&&g.bound[h]&&g.bound[h](m),d&&a2(i,h)),p}):[],g.update(),d=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const h=e2(e.target);g.fragment&&g.fragment.l(h),h.forEach(L)}else g.fragment&&g.fragment.c();e.intro&&R(i.$$.fragment),Oe(i,e.target,e.anchor,e.customElement),Fo()}zi(c)}class Vt{$destroy(){Fe(this,1),this.$destroy=He}$on(e,t){if(!bi(t))return He;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&&!$w(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class r2{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 ls=new r2;class s2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const as=new s2;class o2{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const qn=new o2;let u2=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()=>{q2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=dn.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),Bi.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 ls.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await ls.applyFunctionPromisified(l,n)}catch(a){if(t)return Promise.reject(a)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return pi.isAuthorizationEnabled()}unload(){this.initialized=!1,fn.unload(),Mn.removeAllEventListeners();const e=Bi.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(){qn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}};const rs=new u2;let f2=class{constructor(){}isAuthorizationEnabled(){return!!re.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&fn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&fn.logout()}async handleAuthEvent(e,t,n,l){const a=await re.executeConfigFnAsync("auth.events."+e,!1,t,n);let r=a===void 0||!!a;if(r&&l){window.location.href=l;return}return r}get store(){return re.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ui.getStorageKey(),getStorageType:()=>ui.getStorageType(),getAuthData:()=>ui.getAuthData(),setAuthData:e=>ui.setAuthData(e),removeAuthData:()=>ui.removeAuthData(),setNewlyAuthorized:()=>ui.setNewlyAuthorized()}}};const K_=new f2,rn={desktopMinWidth:600},c2=[{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"}],d2={cssSelector:"[luigi-app-root]"},h2={cssSelector:"[luigi-app-loading-indicator]"};let g2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(d2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ee.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ee.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ee.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const j_=new g2;class _2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class xn extends _2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,a){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const r=e[0]!=="/";if(e==="/"&&(n||l||a))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:r,modal:n,splitView:l,drawer:a}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(a=>{n(a)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(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)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class p2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,a){return new xn().navigate(e,t,n,l,a)}openAsModal(e,t,n){return new xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new xn().openAsDrawer(e,t)}fromContext(e){return new xn().fromContext(e)}fromClosestContext(){return new xn().fromClosestContext()}fromVirtualTreeRoot(){return new xn().fromVirtualTreeRoot()}withParams(e){return new xn().withParams(e)}pathExists(e){return new xn().pathExists(e)}hasBack(){return new xn().hasBack()}goBack(e){return new xn().goBack(e)}}const J_=new p2,m2={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"}}},b2=m2;class v2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=b2,this.listeners={}}_init(){dn.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)}),rs.configChanged()}_initCustomImplementation(){this.translationImpl=rs.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 a=this.translationImpl.getTranslation(e,t,n);if(a!==e)return a}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let a=0;a<l.length;a++){let r=l[a];if(t.hasOwnProperty(r)&&typeof t[r]=="object")t=t[r];else return n?this.findInterpolations(t[r],n):t[r]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+da.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const Y_=new v2;class w2{sendToAll(e){const t=as.convertCustomMessageUserToInternal(e);Ee.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ee.sendMessageToIframe(n,t))}send(e,t){const n=as.convertCustomMessageUserToInternal(t);Ee.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ee.sendMessageToIframe(l,n))}}const k2=new w2,ra=[];function S2(i,e){return{subscribe:fa(i,e).subscribe}}function fa(i,e=He){let t;const n=new Set;function l(o){if(At(i,o)&&(i=o,t)){const c=!ra.length;for(const g of n)g[1](),ra.push(g,i);if(c){for(let g=0;g<ra.length;g+=2)ra[g][0](ra[g+1]);ra.length=0}}}function a(o){l(o(i))}function r(o,c=He){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||He),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:a,subscribe:r}}class C2{initial(){this.responsiveNavSetting=re.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(oe.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<rn.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<rn.desktopMinWidth&&this.previousWindowWidth>=rn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>rn.desktopMinWidth&&this.previousWindowWidth>=rn.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(oe.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(oe.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 _i=new C2;let y2=class{constructor(){this.documentTitle=fa()}hideAppLoadingIndicator(){const e=document.querySelector(h2.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){_i.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const Q_=new y2;let P2=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 Z_=new P2;let N2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await re.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=re.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!re.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=re.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(re.getConfigValue("settings.theming.variables.errorHandling"))?re.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else re.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=re.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Ga.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")};dn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const X_=new N2;let T2=class{constructor(){this.featureToggleList=fa([])}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 $_=new T2;let I2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(re.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);re.getConfigValue("routing.useHashRouting")?n.hash=we.addParamsOnHashRouting(e,n.hash):we.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),re.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=we.getContentViewParamPrefix(),l=new URL(location);re.getConfigValue("routing.useHashRouting")?l.hash=we.addParamsOnHashRouting(e,l.hash,n):we.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),re.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return re.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(re.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),a=n.length>2?n.slice(0,-1):n;window.location.hash=[...a,e].join("#")}else window.location.hash=e}};const x_=new I2,re=rs,pi=K_,Bi=j_,ep=J_,St=Y_,Ya=Q_,L2=Z_,Do=X_,Uo=$_,ul=x_;window.Luigi=rs;window.Luigi.auth=()=>K_;window.Luigi.elements=()=>j_;window.Luigi.navigation=()=>J_;window.Luigi.i18n=()=>Y_;window.Luigi.customMessages=()=>k2;window.Luigi.ux=()=>Q_;window.Luigi.globalSearch=()=>Z_;window.Luigi.theming=()=>X_;window.Luigi.featureToggles=()=>$_;window.Luigi.routing=()=>x_;class A2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ee.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ee.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!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=oe.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:St.getCurrentLocale()})};Ee.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let a=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=oe.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:St.getCurrentLocale()})};Ee.sendMessageToIframe(o,g)}}o===t&&(a=!0)}),t&&(t.style.display="block",a||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ee.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,a){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,a)):oe.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 a=l.viewUrl;a&&(a=we.substituteViewUrl(a,l));const r=Ee.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,r,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,r,e.isolateAllViews),g=Ee.canReuseIframe(e,t);let d=this.getActiveIframe(n);const h=Ee.getMainIframes(),p=this.getPreservedViewsInDom(h);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ee.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):g||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ee.hideElementChildren(n)):Ee.removeElementChildren(n),l.viewUrl){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=Ee.createIframe(a,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ee.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,a,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,a,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=a,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:a,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({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ee.getVisibleIframes().forEach(T=>{T!==e.iframe&&(T.userSettingsGroup?Luigi.readUserSettings().then(E=>{Ee.sendMessageToIframe(T,{msg:"luigi.navigate",context:{userSettingsData:E[T.userSettingsGroup]},internal:Ee.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)})}):Ee.sendMessageToIframe(T,{msg:"luigi.navigate",context:T.luigi._lastUpdatedMessage.context,nodeParams:T.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},T.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ee.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)}))}),Ee.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const oi=new A2;class E2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(re.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=oe.getAllViewGroupSettings();if(!l)return;const a=Ee.getIframeContainer(),r=Ee.getMainIframes(),o=new Date().getTime();if(r.filter(h=>h.luigi&&h.luigi.preloading&&o-h.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=r.map(h=>h.vg).filter(Boolean),d=Object.entries(l).filter(([h,p])=>!g.includes(h)).filter(([h,p])=>p&&p.preloadUrl);t&&d.forEach(([h,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,h,a)}),!t&&d.filter((h,p)=>p<e).forEach(([h,p])=>{console.debug("preloading view group "+h+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,h,a)})}preloadIframeOnBackground(e,t,n){const l=Ee.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const sa=new E2;class R2{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(qn.hasRootNode()&&(l=qn.getRootNode().node),!l){const h=await e;le.isObject(h)?(l=h,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:h},l.children=await this.getChildren(l),qn.setRootNode(l)}const a=n.split("/"),o={...re.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(a,[l],l.children,o),g=c.navigationPath.filter(h=>h.pathSegment).map(h=>h.pathSegment);c.isExistingRoute=!n||a.length===g.length;const d=n.split("/");return c.matchedPath=d.filter((h,p)=>g[p]&&g[p].startsWith(":")||g[p]===h).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(qn.hasChildren(e)){let a=qn.getChildren(e);a&&(n=a.children)}else try{n=await ls.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(a=>this.getExpandStructuralPathSegment(a)).map(a=>this.bindChildToParent(a,e))||[]}catch(a){console.error("Could not lazy-load children for node",a)}let l=this.getAccessibleNodes(e,n,t);return qn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return qn.hasChildren(e)?Ot.getChildrenFromCache(e):await Ot.getChildren(e)}getChildrenFromCache(e){let t=qn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>oe.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=(a,r)=>{const o=a.shift();let c={};return a.length?(c.pathSegment=o,r.hideFromNav&&(c.hideFromNav=r.hideFromNav),c.children=[l(a,r)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,a={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let r={navigationPath:t,context:l,pathParams:a};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let g=oe.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(a[c.pathSegment.replace(":","")]=da.sanitizeParam(o)),g=we.substituteDynamicParamsInObject(g,a);try{this.buildVirtualTree(c,e,a);let d=await this.getChildren(c,g);const h=e.slice(1);r=this.buildNode(h,t,d,g,a)}catch(d){console.error("Error getting nodes children",d)}}}return r}buildVirtualViewUrl(e,t,n){let l="";for(const a in t)a.startsWith("virtualSegment")&&(l+=":"+a+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,a=e._virtualTree,r=e._virtualViewUrl||e.viewUrl;if((l||a)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,g);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(r,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:r});const h=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!h&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
1
|
+
var Yw=Object.defineProperty;var Qw=(i,e,t)=>e in i?Yw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Bf=(i,e,t)=>(Qw(i,typeof e!="symbol"?e+"":e,t),t);function He(){}function Zw(i,e){for(const t in e)i[t]=e[t];return i}function Xw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function F_(i){return i()}function Hf(){return Object.create(null)}function Ze(i){i.forEach(F_)}function bi(i){return typeof i=="function"}function At(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Xa;function Xe(i,e){return Xa||(Xa=document.createElement("a")),Xa.href=e,i===Xa.href}function $w(i){return Object.keys(i).length===0}function Mo(i,...e){if(i==null)return He;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return Mo(i,t=>e=t)(),e}function wi(i,e,t){i.$$.on_destroy.push(Mo(e,t))}function U_(i,e,t,n){if(i){const l=z_(i,e,t,n);return i[0](l)}}function z_(i,e,t,n){return i[1]&&n?Zw(t.ctx.slice(),i[1](n(e))):t.ctx}function B_(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 H_(i,e,t,n,l,r){if(l){const a=z_(e,t,n,r);i.p(a,l)}}function W_(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function ei(i){return i??""}function q_(i){return i&&bi(i.destroy)?i.destroy:He}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 ct(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function xw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Le(i){return document.createTextNode(i)}function H(){return Le(" ")}function Ce(){return Le("")}function ne(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Pt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function e2(i){return Array.from(i.childNodes)}function Ae(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Wf(i,e){i.value=e??""}function Vn(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 t2(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class hr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=xw(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 Wr;function zi(i){Wr=i}function hl(){if(!Wr)throw new Error("Function called outside component initialization");return Wr}function Gn(i){hl().$$.before_update.push(i)}function xt(i){hl().$$.on_mount.push(i)}function jr(i){hl().$$.after_update.push(i)}function Jr(i){hl().$$.on_destroy.push(i)}function Jt(){const i=hl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=t2(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function zr(i,e){return hl().$$.context.set(i,e),e}function vt(i){return hl().$$.context.get(i)}function Dl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Hr=[],Je=[],es=[],Ao=[],n2=Promise.resolve();let Eo=!1;function i2(){Eo||(Eo=!0,n2.then(Fo))}function Ro(i){es.push(i)}function mt(i){Ao.push(i)}const To=new Set;let $a=0;function Fo(){const i=Wr;do{for(;$a<Hr.length;){const e=Hr[$a];$a++,zi(e),l2(e.$$)}for(zi(null),Hr.length=0,$a=0;Je.length;)Je.pop()();for(let e=0;e<es.length;e+=1){const t=es[e];To.has(t)||(To.add(t),t())}es.length=0}while(Hr.length);for(;Ao.length;)Ao.pop()();Eo=!1,To.clear(),zi(i)}function l2(i){if(i.fragment!==null){i.update(),Ze(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ro)}}const ts=new Set;let Vl;function ke(){Vl={r:0,c:[],p:Vl}}function Se(){Vl.r||Ze(Vl.c),Vl=Vl.p}function R(i,e){i&&i.i&&(ts.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(ts.has(i))return;ts.add(i),Vl.c.push(()=>{ts.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function is(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const g=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((h,p)=>{p!==r&&h&&(ke(),U(h,1,1,()=>{e.blocks[p]===h&&(e.blocks[p]=null)}),Se())}):e.block.d(1),g.c(),R(g,1),g.m(e.mount(),e.anchor),d=!0),e.block=g,e.blocks&&(e.blocks[r]=g),d&&Fo()}if(Xw(i)){const l=hl();if(i.then(r=>{zi(l),n(e.then,1,e.value,r),zi(null)},r=>{if(zi(l),n(e.catch,2,e.error,r),zi(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 G_(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 gl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function bt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Ue(i){i&&i.c()}function Me(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Ro(()=>{const a=i.$$.on_mount.map(F_).filter(bi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Ze(a),i.$$.on_mount=[]}),r.forEach(Ro)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(Ze(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function r2(i,e){i.$$.dirty[0]===-1&&(Hr.push(i),i2(),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=Wr;zi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:He,not_equal:l,bound:Hf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Hf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(g.root);let d=!1;if(g.ctx=t?t(i,e.props||{},(h,p,...b)=>{const m=b.length?b[0]:p;return g.ctx&&l(g.ctx[h],g.ctx[h]=m)&&(!g.skip_bound&&g.bound[h]&&g.bound[h](m),d&&r2(i,h)),p}):[],g.update(),d=!0,Ze(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const h=e2(e.target);g.fragment&&g.fragment.l(h),h.forEach(L)}else g.fragment&&g.fragment.c();e.intro&&R(i.$$.fragment),Me(i,e.target,e.anchor,e.customElement),Fo()}zi(c)}class Vt{$destroy(){Fe(this,1),this.$destroy=He}$on(e,t){if(!bi(t))return He;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&&!$w(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class a2{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 ls=new a2;class s2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const rs=new s2;class o2{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const qn=new o2;let u2=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()=>{q2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=dn.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),Bi.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 ls.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await ls.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return pi.isAuthorizationEnabled()}unload(){this.initialized=!1,fn.unload(),On.removeAllEventListeners();const e=Bi.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(){qn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ee.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ee.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ee.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const as=new u2;let f2=class{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&fn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&fn.logout()}async handleAuthEvent(e,t,n,l){const r=await ae.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return ae.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ui.getStorageKey(),getStorageType:()=>ui.getStorageType(),getAuthData:()=>ui.getAuthData(),setAuthData:e=>ui.setAuthData(e),removeAuthData:()=>ui.removeAuthData(),setNewlyAuthorized:()=>ui.setNewlyAuthorized()}}};const K_=new f2,an={desktopMinWidth:600},c2=[{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"}],d2={cssSelector:"[luigi-app-root]"},h2={cssSelector:"[luigi-app-loading-indicator]"};let g2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(d2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ee.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ee.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ee.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const j_=new g2;class _2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class xn extends _2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=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}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}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(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)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class p2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new xn().openAsDrawer(e,t)}fromContext(e){return new xn().fromContext(e)}fromClosestContext(){return new xn().fromClosestContext()}fromVirtualTreeRoot(){return new xn().fromVirtualTreeRoot()}withParams(e){return new xn().withParams(e)}pathExists(e){return new xn().pathExists(e)}hasBack(){return new xn().hasBack()}goBack(e){return new xn().goBack(e)}}const J_=new p2,m2={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"}}},b2=m2;class v2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=b2,this.listeners={}}_init(){dn.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)}),as.configChanged()}_initCustomImplementation(){this.translationImpl=as.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("{"+dr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const Y_=new v2;class w2{sendToAll(e){const t=rs.convertCustomMessageUserToInternal(e);Ee.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ee.sendMessageToIframe(n,t))}send(e,t){const n=rs.convertCustomMessageUserToInternal(t);Ee.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ee.sendMessageToIframe(l,n))}}const k2=new w2,ar=[];function S2(i,e){return{subscribe:fr(i,e).subscribe}}function fr(i,e=He){let t;const n=new Set;function l(o){if(At(i,o)&&(i=o,t)){const c=!ar.length;for(const g of n)g[1](),ar.push(g,i);if(c){for(let g=0;g<ar.length;g+=2)ar[g][0](ar[g+1]);ar.length=0}}}function r(o){l(o(i))}function a(o,c=He){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||He),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class C2{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(oe.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<an.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<an.desktopMinWidth&&this.previousWindowWidth>=an.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>an.desktopMinWidth&&this.previousWindowWidth>=an.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(oe.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(oe.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 _i=new C2;let y2=class{constructor(){this.documentTitle=fr()}hideAppLoadingIndicator(){const e=document.querySelector(h2.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){_i.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const Q_=new y2;let P2=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 Z_=new P2;let N2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await ae.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ae.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ae.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ae.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Gr.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")};dn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const X_=new N2;let T2=class{constructor(){this.featureToggleList=fr([])}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 $_=new T2;let I2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ae.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ae.getConfigValue("routing.useHashRouting")?n.hash=we.addParamsOnHashRouting(e,n.hash):we.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ae.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=we.getContentViewParamPrefix(),l=new URL(location);ae.getConfigValue("routing.useHashRouting")?l.hash=we.addParamsOnHashRouting(e,l.hash,n):we.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ae.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return ae.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ae.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const x_=new I2,ae=as,pi=K_,Bi=j_,ep=J_,St=Y_,Yr=Q_,L2=Z_,Do=X_,Uo=$_,ul=x_;window.Luigi=as;window.Luigi.auth=()=>K_;window.Luigi.elements=()=>j_;window.Luigi.navigation=()=>J_;window.Luigi.i18n=()=>Y_;window.Luigi.customMessages=()=>k2;window.Luigi.ux=()=>Q_;window.Luigi.globalSearch=()=>Z_;window.Luigi.theming=()=>X_;window.Luigi.featureToggles=()=>$_;window.Luigi.routing=()=>x_;class A2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ee.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ee.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!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=oe.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:St.getCurrentLocale()})};Ee.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=oe.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const g={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:St.getCurrentLocale()})};Ee.sendMessageToIframe(o,g)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ee.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):oe.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=we.substituteViewUrl(r,l));const a=Ee.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),g=Ee.canReuseIframe(e,t);let d=this.getActiveIframe(n);const h=Ee.getMainIframes(),p=this.getPreservedViewsInDom(h);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ee.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):g||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ee.hideElementChildren(n)):Ee.removeElementChildren(n),l.viewUrl){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=Ee.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ee.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ee.getVisibleIframes().forEach(T=>{T!==e.iframe&&(T.userSettingsGroup?Luigi.readUserSettings().then(E=>{Ee.sendMessageToIframe(T,{msg:"luigi.navigate",context:{userSettingsData:E[T.userSettingsGroup]},internal:Ee.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)})}):Ee.sendMessageToIframe(T,{msg:"luigi.navigate",context:T.luigi._lastUpdatedMessage.context,nodeParams:T.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},T.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ee.applyCoreStateData(T.luigi._lastUpdatedMessage.internal)}))}),Ee.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const oi=new A2;class E2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=oe.getAllViewGroupSettings();if(!l)return;const r=Ee.getIframeContainer(),a=Ee.getMainIframes(),o=new Date().getTime();if(a.filter(h=>h.luigi&&h.luigi.preloading&&o-h.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=a.map(h=>h.vg).filter(Boolean),d=Object.entries(l).filter(([h,p])=>!g.includes(h)).filter(([h,p])=>p&&p.preloadUrl);t&&d.forEach(([h,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,h,r)}),!t&&d.filter((h,p)=>p<e).forEach(([h,p])=>{console.debug("preloading view group "+h+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,h,r)})}preloadIframeOnBackground(e,t,n){const l=Ee.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const sr=new E2;class R2{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(qn.hasRootNode()&&(l=qn.getRootNode().node),!l){const h=await e;le.isObject(h)?(l=h,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:h},l.children=await this.getChildren(l),qn.setRootNode(l)}const r=n.split("/"),o={...ae.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),g=c.navigationPath.filter(h=>h.pathSegment).map(h=>h.pathSegment);c.isExistingRoute=!n||r.length===g.length;const d=n.split("/");return c.matchedPath=d.filter((h,p)=>g[p]&&g[p].startsWith(":")||g[p]===h).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(qn.hasChildren(e)){let r=qn.getChildren(e);r&&(n=r.children)}else try{n=await ls.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return qn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return qn.hasChildren(e)?Mt.getChildrenFromCache(e):await Mt.getChildren(e)}getChildrenFromCache(e){let t=qn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>oe.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 g=oe.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=dr.sanitizeParam(o)),g=we.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,g);const h=e.slice(1);a=this.buildNode(h,t,d,g,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 g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,g);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const h=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!h&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
2
2
|
Children nodes are redundant and ignored when virtualTree is enabled.
|
|
3
|
-
Please refer to documentation`),e.children=[d]}}findMatchingNode(e,t){let n=null;const l=t.filter(
|
|
3
|
+
Please refer to documentation`),e.children=[d]}}findMatchingNode(e,t){let n=null;const l=t.filter(a=>!!a.pathSegment).length,r=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":")).length;return e=e.includes("#")?e.split("#").shift():e,l>1&&(r===1&&(console.warn(`Invalid node setup detected.
|
|
4
4
|
Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
|
|
5
5
|
Remove the static node from the configuration to resolve this warning.
|
|
6
|
-
Affected pathSegment:`,e,"Children:",t),t=t.filter(
|
|
6
|
+
Affected pathSegment:`,e,"Children:",t),t=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":"))),r>1)?(console.error(`Invalid node setup detected.
|
|
7
7
|
Multiple dynamic nodes are not allowed on the same level. Stopped navigation.
|
|
8
|
-
Invalid Children:`,t),null):(t.some(
|
|
8
|
+
Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.pathSegment.startsWith(":"))return n=a,!0}),n)}onNodeChange(e,t){const n=ae.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(qn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?oe.groupNodesBy(n,"category",!0):{children:oe.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!we.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let a=[...r].pop(),o;(a.keepSelectedForChildren||a.tabNav)&&(o=a,r.pop(),a=[...r].pop());const c=await this.getChildren(a,(l=t.pathData)==null?void 0:l._context),g=this.getGroupedChildren(c,e);n.navParent=g.parent||a,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const d=g.children;Object.values(d).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||a,n.children=d,ae.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,oe.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(a=>{a===t&&r.metaInfo&&r.metaInfo.collapsible&&oe.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=e.length-1;n>=0;n--)if(e[n].tabNav)return e.slice(0,n+2);return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const a=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(a.tabNav?a:oe.getParentNode(a,e.pathData),(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=a,n.selectedNodeForTabNav=a,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:we.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(le.isFunction(e.onNodeActivation)||le.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Mt=new R2,dl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},D2={externalLink:{sameWindow:!1}};class cr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class V2 extends cr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=tp({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class O2 extends cr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
|
|
9
9
|
.${e} {
|
|
10
10
|
grid-template-columns: ${l.columns||"auto"};
|
|
11
11
|
grid-template-rows: ${l.rows||"auto"};
|
|
12
12
|
grid-gap: ${l.gap||"0"};
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
`,n+=
|
|
15
|
+
`,n+=r}}),t.innerHTML=`
|
|
16
16
|
<style scoped>
|
|
17
17
|
.${e} {
|
|
18
18
|
display: grid;
|
|
@@ -23,16 +23,16 @@ Invalid Children:`,t),null):(t.some(r=>{if(r.pathSegment===e||r.pathSegment&&r.p
|
|
|
23
23
|
}
|
|
24
24
|
${n}
|
|
25
25
|
</style>
|
|
26
|
-
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const tp=i=>{const e=i.use;if(e){if(e==="grid")return new
|
|
26
|
+
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const tp=i=>{const e=i.use;if(e){if(e==="grid")return new O2(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new V2(i)}else return new cr(i);return new cr(i)},qf=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,a=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};a?a.push(o):i[r]=[o]})},M2=i=>Object.entries(i).reduce((e,t)=>(e[Gf(t[0])]=Gf(t[1]),e),{}),Gf=(i="")=>String(i).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/"),F2="500px",U2="0px";class z2{constructor(){Bf(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(e)}attachWC(e,t,n,l,r,a,o,c){if(n&&n.contains(t)){const g=document.createElement(e);a&&g.setAttribute("nodeId",a),g.setAttribute("lui_web_component",!0),this.initWC(g,e,n,r,l,a,o),n.replaceChild(g,t),c&&(this.removeTemporaryHeightFromCompoundItemContainer(n),this.wcContainerData.delete(n))}}initWC(e,t,n,l,r,a,o){const c=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const g={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:h=>{n.eventBus&&n.eventBus.onPublishEvent(h,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var h;return(h=e.extendedContext)!=null&&h.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const h={clientPermissions:e.extendedContext.clientPermissions};return we.prepareSearchParamsForClient(h)},getClientPermissions:()=>{var h;return(h=e.extendedContext)!=null&&h.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(h,p)=>{o||window.Luigi.routing().addNodeParams(h,p)},getNodeParams:h=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return h?M2(p):e.extendedContext.nodeParams},setAnchor:h=>{o||window.Luigi.routing().setAnchor(h)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:h=>{const p=oe.findViewGroup(n._luigi_node);if(p){const b=oe.getViewGroupSettings(p);b._liveCustomData=h,ae.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const h=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,g,h.origin+h.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=g;const d=ae.getConfigValue("settings.webcomponentCreationInterceptor");le.isFunction(d)&&d(e,r.currentNode,r,a,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=we.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(a=>{try{if(!window.customElements.get(t)){let o=a.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(a);for(let g=0;g<c.length&&(o=a[c[g]],!HTMLElement.isPrototypeOf(o));g++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(a=>r(a)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,a)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,a)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=ae.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,a,o){var p;const c=n.context,g=we.substituteViewUrl(e,{context:c}),d=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(g),h=document.createElement("div");t.appendChild(h),t._luigi_node=l,window.customElements.get(d)?this.attachWC(d,h,t,n,g,r,a,o):window.luigiWCFn?window.luigiWCFn(g,d,h,()=>{this.attachWC(d,h,t,n,g,r,a,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,g,()=>{this.attachWC(d,h,t,n,g,r,a,o)}):this.registerWCFromUrl(g,d).then(()=>{this.attachWC(d,h,t,n,g,r,a,o)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var a,o;if(e.viewUrl)try{const c=((a=n==null?void 0:n.webcomponent)==null?void 0:a.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const g=document.createElement(c);g.setAttribute("lui_web_component",!0),this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const g=document.createElement(c);g.setAttribute("lui_web_component",!0),this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)})}catch(c){r(c)}else l(e.createCompoundContainer())})}intersectionObserverCallback(e,t){e.filter(l=>l.isIntersecting).forEach(l=>{const r=l.target,a=this.wcContainerData.get(r);a?this.renderWebComponent(a.viewUrl,a.wc_container,a.extendedContext,a.node,a.nodeId,a.isSpecialMf,!0):console.error("Could not find WC container data",{for:r}),t.unobserve(r)})}setTemporaryHeightForCompoundItemContainer(e,t,n){var r,a,o;if(((r=t.lazyLoadingOptions)==null?void 0:r.noTemporaryContainerHeight)===!0)return;const l=((a=n.layoutConfig)==null?void 0:a.temporaryContainerHeight)||((o=t.lazyLoadingOptions)==null?void 0:o.temporaryContainerHeight)||F2;e.style.height=l}removeTemporaryHeightFromCompoundItemContainer(e){const t=this.wcContainerData.get(e);(t==null?void 0:t.noTemporaryContainerHeight)!==!0&&e.style.removeProperty("height")}getCompoundRenderer(e,t){const n=e.webcomponent&&!!e.viewUrl;let l;return n?(l=new cr,l.viewUrl=we.substituteViewUrl(e.viewUrl,{context:t}),l.createCompoundItemContainer=r=>{var a=document.createElement("div");return r&&r.slot&&a.setAttribute("slot",r.slot),a}):e.compound.renderer?l=tp(e.compound.renderer):l=new cr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||U2})}renderWebComponentCompound(e,t,n){var c,g;const l=((g=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:g.enabled)===!0,r=n.context,a=this.getCompoundRenderer(e,r);let o;return l&&(o=this.createIntersectionObserver(e)),new Promise(d=>{this.createCompoundContainerAsync(a,n,e).then(h=>{const p={};h.eventBus={listeners:p,onPublishEvent:(b,m,v)=>{const C=p[m+"."+b.type]||[];C.push(...p["*."+b.type]||[]),C.forEach(y=>{const P=y.wcElement||h.querySelector("[nodeId="+y.wcElementId+"]");P?P.dispatchEvent(new CustomEvent(y.action,{detail:y.converter?y.converter(b.detail):b.detail})):console.debug("Could not find event target",y)})}},e.compound.children.forEach((b,m)=>{var P;const v={...r,...b.context},C=a.createCompoundItemContainer(b.layoutConfig),y=b.id||"gen_"+m;C.eventBus=h.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(C,e.compound,b),a.attachCompoundItem(h,C),this.wcContainerData.set(C,{viewUrl:b.viewUrl,wc_container:C,extendedContext:{context:v},node:b,nodeId:y,isSpecialMf:!0,noTemporaryContainerHeight:(P=e.compound.lazyLoadingOptions)==null?void 0:P.noTemporaryContainerHeight}),o.observe(C)):(a.attachCompoundItem(h,C),this.renderWebComponent(b.viewUrl,C,{context:v},b,y,!0,!1)),qf(p,b,y)}),t.appendChild(h),qf(p,e.compound,"_root",h),d(h)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;ae.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const ur=new z2;var Br=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ss={exports:{}};/**
|
|
27
27
|
* @license
|
|
28
28
|
* Lodash <https://lodash.com/>
|
|
29
29
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
30
30
|
* Released under MIT license <https://lodash.com/license>
|
|
31
31
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
32
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
-
*/ss.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",r="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,d="__lodash_placeholder__",h=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,T=8,E=16,V=32,I=64,B=128,M=256,D=512,q=30,X="...",Q=800,ce=16,x=1,K=2,J=3,j=1/0,_e=9007199254740991,ie=17976931348623157e292,se=0/0,ve=4294967295,ae=ve-1,Re=ve>>>1,We=[["ary",B],["bind",C],["bindKey",y],["curry",T],["curryRight",E],["flip",D],["partial",V],["partialRight",I],["rearg",M]],te="[object Arguments]",de="[object Array]",Te="[object AsyncFunction]",tt="[object Boolean]",ze="[object Date]",at="[object DOMException]",Ct="[object Error]",pe="[object Function]",$e="[object GeneratorFunction]",wt="[object Map]",qt="[object Number]",Nn="[object Null]",Ft="[object Object]",Pe="[object Promise]",dt="[object Proxy]",rt="[object RegExp]",Mt="[object Set]",zt="[object String]",wn="[object Symbol]",ni="[object Undefined]",en="[object WeakMap]",kn="[object WeakSet]",Kn="[object ArrayBuffer]",Yt="[object DataView]",Tn="[object Float32Array]",ki="[object Float64Array]",Si="[object Int8Array]",hn="[object Int16Array]",Ci="[object Int32Array]",yi="[object Uint8Array]",Pi="[object Uint8ClampedArray]",Ni="[object Uint16Array]",Ti="[object Uint32Array]",_l=/\b__p \+= '';/g,pl=/\b(__p \+=) '' \+/g,ml=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ii=/&(?:amp|lt|gt|quot|#39);/g,Wi=/[&<>"']/g,qi=RegExp(Ii.source),fi=RegExp(Wi.source),bl=/<%-([\s\S]+?)%>/g,vl=/<%([\s\S]+?)%>/g,Gi=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ne=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ht=/[\\^$.*+?()[\]{}|]/g,Tt=RegExp(ht.source),Zt=/^\s+/,gn=/\s/,jn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,On=/\{\n\/\* \[wrapped with (.+)\] \*/,Fl=/,? & /,Ul=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zl=/[()=,{}\[\]\/\s]/,ga=/\\(\\)?/g,In=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ki=/\w*$/,wl=/^[-+]0x[0-9a-f]+$/i,Bl=/^0b[01]+$/i,_a=/^\[object .+?Constructor\]$/,ji=/^0o[0-7]+$/i,kl=/^(?:0|[1-9]\d*)$/,Sl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ci=/($^)/,Hl=/['\n\r\u2028\u2029\\]/g,Li="\\ud800-\\udfff",pa="\\u0300-\\u036f",Y="\\ufe20-\\ufe2f",Et="\\u20d0-\\u20ff",_n=pa+Y+Et,ii="\\u2700-\\u27bf",ma="a-z\\xdf-\\xf6\\xf8-\\xff",Ji="\\xac\\xb1\\xd7\\xf7",tn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wl="\\u2000-\\u206f",Qa=" \\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",Za="A-Z\\xc0-\\xd6\\xd8-\\xde",Yi="\\ufe0e\\ufe0f",Xa=Ji+tn+Wl+Qa,ba="['’]",cs="["+Li+"]",$a="["+Xa+"]",Qi="["+_n+"]",xa="\\d+",ds="["+ii+"]",er="["+ma+"]",tr="[^"+Li+Xa+xa+ii+ma+Za+"]",va="\\ud83c[\\udffb-\\udfff]",nr="(?:"+Qi+"|"+va+")",ir="[^"+Li+"]",ql="(?:\\ud83c[\\udde6-\\uddff]){2}",wa="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+Za+"]",lr="\\u200d",ar="(?:"+er+"|"+tr+")",hs="(?:"+Zi+"|"+tr+")",rr="(?:"+ba+"(?:d|ll|m|re|s|t|ve))?",sr="(?:"+ba+"(?:D|LL|M|RE|S|T|VE))?",or=nr+"?",ur="["+Yi+"]?",gs="(?:"+lr+"(?:"+[ir,ql,wa].join("|")+")"+ur+or+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fr=ur+or+gs,ms="(?:"+[ds,ql,wa].join("|")+")"+fr,bs="(?:"+[ir+Qi+"?",Qi,ql,wa,cs].join("|")+")",vs=RegExp(ba,"g"),ws=RegExp(Qi,"g"),ka=RegExp(va+"(?="+va+")|"+bs+fr,"g"),z=RegExp([Zi+"?"+er+"+"+rr+"(?="+[$a,Zi,"$"].join("|")+")",hs+"+"+sr+"(?="+[$a,Zi+ar,"$"].join("|")+")",Zi+"?"+ar+"+"+rr,Zi+"+"+sr,ps,_s,xa,ms].join("|"),"g"),fe=RegExp("["+lr+Li+_n+Yi+"]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qe=["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"],Me=-1,he={};he[Tn]=he[ki]=he[Si]=he[hn]=he[Ci]=he[yi]=he[Pi]=he[Ni]=he[Ti]=!0,he[te]=he[de]=he[Kn]=he[tt]=he[Yt]=he[ze]=he[Ct]=he[pe]=he[wt]=he[qt]=he[Ft]=he[rt]=he[Mt]=he[zt]=he[en]=!1;var Ie={};Ie[te]=Ie[de]=Ie[Kn]=Ie[Yt]=Ie[tt]=Ie[ze]=Ie[Tn]=Ie[ki]=Ie[Si]=Ie[hn]=Ie[Ci]=Ie[wt]=Ie[qt]=Ie[Ft]=Ie[rt]=Ie[Mt]=Ie[zt]=Ie[wn]=Ie[yi]=Ie[Pi]=Ie[Ni]=Ie[Ti]=!0,Ie[Ct]=Ie[pe]=Ie[en]=!1;var kt={À:"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"},Bt={"&":"&","<":"<",">":">",'"':""","'":"'"},Sa={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ca=parseFloat,$i=parseInt,Gl=typeof Ba=="object"&&Ba&&Ba.Object===Object&&Ba,Ke=typeof self=="object"&&self&&self.Object===Object&&self,xe=Gl||Ke||Function("return this")(),Lt=e&&!e.nodeType&&e,Ht=Lt&&!0&&i&&!i.nodeType&&i,Ln=Ht&&Ht.exports===Lt,Fn=Ln&&Gl.process,sn=function(){try{var $=Ht&&Ht.require&&Ht.require("util").types;return $||Fn&&Fn.binding&&Fn.binding("util")}catch{}}(),Kl=sn&&sn.isArrayBuffer,Cl=sn&&sn.isDate,ks=sn&&sn.isMap,jl=sn&&sn.isRegExp,cr=sn&&sn.isSet,yl=sn&&sn.isTypedArray;function nn($,ge,ue){switch(ue.length){case 0:return $.call(ge);case 1:return $.call(ge,ue[0]);case 2:return $.call(ge,ue[0],ue[1]);case 3:return $.call(ge,ue[0],ue[1],ue[2])}return $.apply(ge,ue)}function pn($,ge,ue,Be){for(var et=-1,yt=$==null?0:$.length;++et<yt;){var ln=$[et];ge(Be,ln,ue(ln),$)}return Be}function Gt($,ge){for(var ue=-1,Be=$==null?0:$.length;++ue<Be&&ge($[ue],ue,$)!==!1;);return $}function Ss($,ge){for(var ue=$==null?0:$.length;ue--&&ge($[ue],ue,$)!==!1;);return $}function Bo($,ge){for(var ue=-1,Be=$==null?0:$.length;++ue<Be;)if(!ge($[ue],ue,$))return!1;return!0}function xi($,ge){for(var ue=-1,Be=$==null?0:$.length,et=0,yt=[];++ue<Be;){var ln=$[ue];ge(ln,ue,$)&&(yt[et++]=ln)}return yt}function dr($,ge){var ue=$==null?0:$.length;return!!ue&&Jl($,ge,0)>-1}function Cs($,ge,ue){for(var Be=-1,et=$==null?0:$.length;++Be<et;)if(ue(ge,$[Be]))return!0;return!1}function Wt($,ge){for(var ue=-1,Be=$==null?0:$.length,et=Array(Be);++ue<Be;)et[ue]=ge($[ue],ue,$);return et}function el($,ge){for(var ue=-1,Be=ge.length,et=$.length;++ue<Be;)$[et+ue]=ge[ue];return $}function ys($,ge,ue,Be){var et=-1,yt=$==null?0:$.length;for(Be&&yt&&(ue=$[++et]);++et<yt;)ue=ge(ue,$[et],et,$);return ue}function vp($,ge,ue,Be){var et=$==null?0:$.length;for(Be&&et&&(ue=$[--et]);et--;)ue=ge(ue,$[et],et,$);return ue}function Ps($,ge){for(var ue=-1,Be=$==null?0:$.length;++ue<Be;)if(ge($[ue],ue,$))return!0;return!1}var wp=Ns("length");function kp($){return $.split("")}function Sp($){return $.match(Ul)||[]}function Ho($,ge,ue){var Be;return ue($,function(et,yt,ln){if(ge(et,yt,ln))return Be=yt,!1}),Be}function hr($,ge,ue,Be){for(var et=$.length,yt=ue+(Be?1:-1);Be?yt--:++yt<et;)if(ge($[yt],yt,$))return yt;return-1}function Jl($,ge,ue){return ge===ge?Vp($,ge,ue):hr($,Wo,ue)}function Cp($,ge,ue,Be){for(var et=ue-1,yt=$.length;++et<yt;)if(Be($[et],ge))return et;return-1}function Wo($){return $!==$}function qo($,ge){var ue=$==null?0:$.length;return ue?Is($,ge)/ue:se}function Ns($){return function(ge){return ge==null?t:ge[$]}}function Ts($){return function(ge){return $==null?t:$[ge]}}function Go($,ge,ue,Be,et){return et($,function(yt,ln,Rt){ue=Be?(Be=!1,yt):ge(ue,yt,ln,Rt)}),ue}function yp($,ge){var ue=$.length;for($.sort(ge);ue--;)$[ue]=$[ue].value;return $}function Is($,ge){for(var ue,Be=-1,et=$.length;++Be<et;){var yt=ge($[Be]);yt!==t&&(ue=ue===t?yt:ue+yt)}return ue}function Ls($,ge){for(var ue=-1,Be=Array($);++ue<$;)Be[ue]=ge(ue);return Be}function Pp($,ge){return Wt(ge,function(ue){return[ue,$[ue]]})}function Ko($){return $&&$.slice(0,Qo($)+1).replace(Zt,"")}function Un($){return function(ge){return $(ge)}}function As($,ge){return Wt(ge,function(ue){return $[ue]})}function ya($,ge){return $.has(ge)}function jo($,ge){for(var ue=-1,Be=$.length;++ue<Be&&Jl(ge,$[ue],0)>-1;);return ue}function Jo($,ge){for(var ue=$.length;ue--&&Jl(ge,$[ue],0)>-1;);return ue}function Np($,ge){for(var ue=$.length,Be=0;ue--;)$[ue]===ge&&++Be;return Be}var Tp=Ts(kt),Ip=Ts(Bt);function Lp($){return"\\"+Xi[$]}function Ap($,ge){return $==null?t:$[ge]}function Yl($){return fe.test($)}function Ep($){return De.test($)}function Rp($){for(var ge,ue=[];!(ge=$.next()).done;)ue.push(ge.value);return ue}function Es($){var ge=-1,ue=Array($.size);return $.forEach(function(Be,et){ue[++ge]=[et,Be]}),ue}function Yo($,ge){return function(ue){return $(ge(ue))}}function tl($,ge){for(var ue=-1,Be=$.length,et=0,yt=[];++ue<Be;){var ln=$[ue];(ln===ge||ln===d)&&($[ue]=d,yt[et++]=ue)}return yt}function gr($){var ge=-1,ue=Array($.size);return $.forEach(function(Be){ue[++ge]=Be}),ue}function Dp($){var ge=-1,ue=Array($.size);return $.forEach(function(Be){ue[++ge]=[Be,Be]}),ue}function Vp($,ge,ue){for(var Be=ue-1,et=$.length;++Be<et;)if($[Be]===ge)return Be;return-1}function Mp($,ge,ue){for(var Be=ue+1;Be--;)if($[Be]===ge)return Be;return Be}function Ql($){return Yl($)?Fp($):wp($)}function li($){return Yl($)?Up($):kp($)}function Qo($){for(var ge=$.length;ge--&&gn.test($.charAt(ge)););return ge}var Op=Ts(Sa);function Fp($){for(var ge=ka.lastIndex=0;ka.test($);)++ge;return ge}function Up($){return $.match(ka)||[]}function zp($){return $.match(z)||[]}var Bp=function $(ge){ge=ge==null?xe:Zl.defaults(xe.Object(),ge,Zl.pick(xe,qe));var ue=ge.Array,Be=ge.Date,et=ge.Error,yt=ge.Function,ln=ge.Math,Rt=ge.Object,Rs=ge.RegExp,Hp=ge.String,Jn=ge.TypeError,_r=ue.prototype,Wp=yt.prototype,Xl=Rt.prototype,pr=ge["__core-js_shared__"],mr=Wp.toString,It=Xl.hasOwnProperty,qp=0,Zo=function(){var s=/[^.]+$/.exec(pr&&pr.keys&&pr.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),br=Xl.toString,Gp=mr.call(Rt),Kp=xe._,jp=Rs("^"+mr.call(It).replace(ht,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vr=Ln?ge.Buffer:t,nl=ge.Symbol,wr=ge.Uint8Array,Xo=vr?vr.allocUnsafe:t,kr=Yo(Rt.getPrototypeOf,Rt),$o=Rt.create,xo=Xl.propertyIsEnumerable,Sr=_r.splice,eu=nl?nl.isConcatSpreadable:t,Pa=nl?nl.iterator:t,Pl=nl?nl.toStringTag:t,Cr=function(){try{var s=Al(Rt,"defineProperty");return s({},"",{}),s}catch{}}(),Jp=ge.clearTimeout!==xe.clearTimeout&&ge.clearTimeout,Yp=Be&&Be.now!==xe.Date.now&&Be.now,Qp=ge.setTimeout!==xe.setTimeout&&ge.setTimeout,yr=ln.ceil,Pr=ln.floor,Ds=Rt.getOwnPropertySymbols,Zp=vr?vr.isBuffer:t,tu=ge.isFinite,Xp=_r.join,$p=Yo(Rt.keys,Rt),an=ln.max,mn=ln.min,xp=Be.now,em=ge.parseInt,nu=ln.random,tm=_r.reverse,Vs=Al(ge,"DataView"),Na=Al(ge,"Map"),Ms=Al(ge,"Promise"),$l=Al(ge,"Set"),Ta=Al(ge,"WeakMap"),Ia=Al(Rt,"create"),Nr=Ta&&new Ta,xl={},nm=El(Vs),im=El(Na),lm=El(Ms),am=El($l),rm=El(Ta),Tr=nl?nl.prototype:t,La=Tr?Tr.valueOf:t,iu=Tr?Tr.toString:t;function O(s){if(Qt(s)&&!it(s)&&!(s instanceof _t)){if(s instanceof Yn)return s;if(It.call(s,"__wrapped__"))return af(s)}return new Yn(s)}var ea=function(){function s(){}return function(u){if(!Kt(u))return{};if($o)return $o(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Ir(){}function Yn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}O.templateSettings={escape:bl,evaluate:vl,interpolate:Gi,variable:"",imports:{_:O}},O.prototype=Ir.prototype,O.prototype.constructor=O,Yn.prototype=ea(Ir.prototype),Yn.prototype.constructor=Yn;function _t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function sm(){var s=new _t(this.__wrapped__);return s.__actions__=An(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=An(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=An(this.__views__),s}function om(){if(this.__filtered__){var s=new _t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function um(){var s=this.__wrapped__.value(),u=this.__dir__,_=it(s),k=u<0,N=_?s.length:0,F=k1(0,N,this.__views__),W=F.start,G=F.end,ee=G-W,me=k?G:W-1,be=this.__iteratees__,ye=be.length,Ve=0,Ge=mn(ee,this.__takeCount__);if(!_||!k&&N==ee&&Ge==ee)return Tu(s,this.__actions__);var Ye=[];e:for(;ee--&&Ve<Ge;){me+=u;for(var ot=-1,Qe=s[me];++ot<ye;){var gt=be[ot],pt=gt.iteratee,Hn=gt.type,yn=pt(Qe);if(Hn==K)Qe=yn;else if(!yn){if(Hn==x)continue e;break e}}Ye[Ve++]=Qe}return Ye}_t.prototype=ea(Ir.prototype),_t.prototype.constructor=_t;function Nl(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function fm(){this.__data__=Ia?Ia(null):{},this.size=0}function cm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function dm(s){var u=this.__data__;if(Ia){var _=u[s];return _===c?t:_}return It.call(u,s)?u[s]:t}function hm(s){var u=this.__data__;return Ia?u[s]!==t:It.call(u,s)}function gm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Ia&&u===t?c:u,this}Nl.prototype.clear=fm,Nl.prototype.delete=cm,Nl.prototype.get=dm,Nl.prototype.has=hm,Nl.prototype.set=gm;function Ai(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function _m(){this.__data__=[],this.size=0}function pm(s){var u=this.__data__,_=Lr(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Sr.call(u,_,1),--this.size,!0}function mm(s){var u=this.__data__,_=Lr(u,s);return _<0?t:u[_][1]}function bm(s){return Lr(this.__data__,s)>-1}function vm(s,u){var _=this.__data__,k=Lr(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Ai.prototype.clear=_m,Ai.prototype.delete=pm,Ai.prototype.get=mm,Ai.prototype.has=bm,Ai.prototype.set=vm;function Ei(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function wm(){this.size=0,this.__data__={hash:new Nl,map:new(Na||Ai),string:new Nl}}function km(s){var u=Hr(this,s).delete(s);return this.size-=u?1:0,u}function Sm(s){return Hr(this,s).get(s)}function Cm(s){return Hr(this,s).has(s)}function ym(s,u){var _=Hr(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Ei.prototype.clear=wm,Ei.prototype.delete=km,Ei.prototype.get=Sm,Ei.prototype.has=Cm,Ei.prototype.set=ym;function Tl(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Ei;++u<_;)this.add(s[u])}function Pm(s){return this.__data__.set(s,c),this}function Nm(s){return this.__data__.has(s)}Tl.prototype.add=Tl.prototype.push=Pm,Tl.prototype.has=Nm;function ai(s){var u=this.__data__=new Ai(s);this.size=u.size}function Tm(){this.__data__=new Ai,this.size=0}function Im(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Lm(s){return this.__data__.get(s)}function Am(s){return this.__data__.has(s)}function Em(s,u){var _=this.__data__;if(_ instanceof Ai){var k=_.__data__;if(!Na||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Ei(k)}return _.set(s,u),this.size=_.size,this}ai.prototype.clear=Tm,ai.prototype.delete=Im,ai.prototype.get=Lm,ai.prototype.has=Am,ai.prototype.set=Em;function lu(s,u){var _=it(s),k=!_&&Rl(s),N=!_&&!k&&sl(s),F=!_&&!k&&!N&&la(s),W=_||k||N||F,G=W?Ls(s.length,Hp):[],ee=G.length;for(var me in s)(u||It.call(s,me))&&!(W&&(me=="length"||N&&(me=="offset"||me=="parent")||F&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||Mi(me,ee)))&&G.push(me);return G}function au(s){var u=s.length;return u?s[js(0,u-1)]:t}function Rm(s,u){return Wr(An(s),Il(u,0,s.length))}function Dm(s){return Wr(An(s))}function Os(s,u,_){(_!==t&&!ri(s[u],_)||_===t&&!(u in s))&&Ri(s,u,_)}function Aa(s,u,_){var k=s[u];(!(It.call(s,u)&&ri(k,_))||_===t&&!(u in s))&&Ri(s,u,_)}function Lr(s,u){for(var _=s.length;_--;)if(ri(s[_][0],u))return _;return-1}function Vm(s,u,_,k){return il(s,function(N,F,W){u(k,N,_(N),W)}),k}function ru(s,u){return s&&hi(u,on(u),s)}function Mm(s,u){return s&&hi(u,Rn(u),s)}function Ri(s,u,_){u=="__proto__"&&Cr?Cr(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Fs(s,u){for(var _=-1,k=u.length,N=ue(k),F=s==null;++_<k;)N[_]=F?t:bo(s,u[_]);return N}function Il(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Qn(s,u,_,k,N,F){var W,G=u&h,ee=u&p,me=u&b;if(_&&(W=N?_(s,k,N,F):_(s)),W!==t)return W;if(!Kt(s))return s;var be=it(s);if(be){if(W=C1(s),!G)return An(s,W)}else{var ye=bn(s),Ve=ye==pe||ye==$e;if(sl(s))return Au(s,G);if(ye==Ft||ye==te||Ve&&!N){if(W=ee||Ve?{}:Qu(s),!G)return ee?d1(s,Mm(W,s)):c1(s,ru(W,s))}else{if(!Ie[ye])return N?s:{};W=y1(s,ye,G)}}F||(F=new ai);var Ge=F.get(s);if(Ge)return Ge;F.set(s,W),Pf(s)?s.forEach(function(Qe){W.add(Qn(Qe,u,_,Qe,s,F))}):Cf(s)&&s.forEach(function(Qe,gt){W.set(gt,Qn(Qe,u,_,gt,s,F))});var Ye=me?ee?io:no:ee?Rn:on,ot=be?t:Ye(s);return Gt(ot||s,function(Qe,gt){ot&&(gt=Qe,Qe=s[gt]),Aa(W,gt,Qn(Qe,u,_,gt,s,F))}),W}function Om(s){var u=on(s);return function(_){return su(_,s,u)}}function su(s,u,_){var k=_.length;if(s==null)return!k;for(s=Rt(s);k--;){var N=_[k],F=u[N],W=s[N];if(W===t&&!(N in s)||!F(W))return!1}return!0}function ou(s,u,_){if(typeof s!="function")throw new Jn(r);return Fa(function(){s.apply(t,_)},u)}function Ea(s,u,_,k){var N=-1,F=dr,W=!0,G=s.length,ee=[],me=u.length;if(!G)return ee;_&&(u=Wt(u,Un(_))),k?(F=Cs,W=!1):u.length>=l&&(F=ya,W=!1,u=new Tl(u));e:for(;++N<G;){var be=s[N],ye=_==null?be:_(be);if(be=k||be!==0?be:0,W&&ye===ye){for(var Ve=me;Ve--;)if(u[Ve]===ye)continue e;ee.push(be)}else F(u,ye,k)||ee.push(be)}return ee}var il=Mu(di),uu=Mu(zs,!0);function Fm(s,u){var _=!0;return il(s,function(k,N,F){return _=!!u(k,N,F),_}),_}function Ar(s,u,_){for(var k=-1,N=s.length;++k<N;){var F=s[k],W=u(F);if(W!=null&&(G===t?W===W&&!Bn(W):_(W,G)))var G=W,ee=F}return ee}function Um(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:Tf(k);_<k;)s[_++]=u;return s}function fu(s,u){var _=[];return il(s,function(k,N,F){u(k,N,F)&&_.push(k)}),_}function cn(s,u,_,k,N){var F=-1,W=s.length;for(_||(_=N1),N||(N=[]);++F<W;){var G=s[F];u>0&&_(G)?u>1?cn(G,u-1,_,k,N):el(N,G):k||(N[N.length]=G)}return N}var Us=Ou(),cu=Ou(!0);function di(s,u){return s&&Us(s,u,on)}function zs(s,u){return s&&cu(s,u,on)}function Er(s,u){return xi(u,function(_){return Oi(s[_])})}function Ll(s,u){u=al(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[gi(u[_++])];return _&&_==k?s:t}function du(s,u,_){var k=u(s);return it(s)?k:el(k,_(s))}function Sn(s){return s==null?s===t?ni:Nn:Pl&&Pl in Rt(s)?w1(s):D1(s)}function Bs(s,u){return s>u}function zm(s,u){return s!=null&&It.call(s,u)}function Bm(s,u){return s!=null&&u in Rt(s)}function Hm(s,u,_){return s>=mn(u,_)&&s<an(u,_)}function Hs(s,u,_){for(var k=_?Cs:dr,N=s[0].length,F=s.length,W=F,G=ue(F),ee=1/0,me=[];W--;){var be=s[W];W&&u&&(be=Wt(be,Un(u))),ee=mn(be.length,ee),G[W]=!_&&(u||N>=120&&be.length>=120)?new Tl(W&&be):t}be=s[0];var ye=-1,Ve=G[0];e:for(;++ye<N&&me.length<ee;){var Ge=be[ye],Ye=u?u(Ge):Ge;if(Ge=_||Ge!==0?Ge:0,!(Ve?ya(Ve,Ye):k(me,Ye,_))){for(W=F;--W;){var ot=G[W];if(!(ot?ya(ot,Ye):k(s[W],Ye,_)))continue e}Ve&&Ve.push(Ye),me.push(Ge)}}return me}function Wm(s,u,_,k){return di(s,function(N,F,W){u(k,_(N),F,W)}),k}function Ra(s,u,_){u=al(u,s),s=xu(s,u);var k=s==null?s:s[gi(Xn(u))];return k==null?t:nn(k,s,_)}function hu(s){return Qt(s)&&Sn(s)==te}function qm(s){return Qt(s)&&Sn(s)==Kn}function Gm(s){return Qt(s)&&Sn(s)==ze}function Da(s,u,_,k,N){return s===u?!0:s==null||u==null||!Qt(s)&&!Qt(u)?s!==s&&u!==u:Km(s,u,_,k,Da,N)}function Km(s,u,_,k,N,F){var W=it(s),G=it(u),ee=W?de:bn(s),me=G?de:bn(u);ee=ee==te?Ft:ee,me=me==te?Ft:me;var be=ee==Ft,ye=me==Ft,Ve=ee==me;if(Ve&&sl(s)){if(!sl(u))return!1;W=!0,be=!1}if(Ve&&!be)return F||(F=new ai),W||la(s)?ju(s,u,_,k,N,F):b1(s,u,ee,_,k,N,F);if(!(_&m)){var Ge=be&&It.call(s,"__wrapped__"),Ye=ye&&It.call(u,"__wrapped__");if(Ge||Ye){var ot=Ge?s.value():s,Qe=Ye?u.value():u;return F||(F=new ai),N(ot,Qe,_,k,F)}}return Ve?(F||(F=new ai),v1(s,u,_,k,N,F)):!1}function jm(s){return Qt(s)&&bn(s)==wt}function Ws(s,u,_,k){var N=_.length,F=N,W=!k;if(s==null)return!F;for(s=Rt(s);N--;){var G=_[N];if(W&&G[2]?G[1]!==s[G[0]]:!(G[0]in s))return!1}for(;++N<F;){G=_[N];var ee=G[0],me=s[ee],be=G[1];if(W&&G[2]){if(me===t&&!(ee in s))return!1}else{var ye=new ai;if(k)var Ve=k(me,be,ee,s,u,ye);if(!(Ve===t?Da(be,me,m|v,k,ye):Ve))return!1}}return!0}function gu(s){if(!Kt(s)||I1(s))return!1;var u=Oi(s)?jp:_a;return u.test(El(s))}function Jm(s){return Qt(s)&&Sn(s)==rt}function Ym(s){return Qt(s)&&bn(s)==Mt}function Qm(s){return Qt(s)&&Yr(s.length)&&!!he[Sn(s)]}function _u(s){return typeof s=="function"?s:s==null?Dn:typeof s=="object"?it(s)?bu(s[0],s[1]):mu(s):Uf(s)}function qs(s){if(!Oa(s))return $p(s);var u=[];for(var _ in Rt(s))It.call(s,_)&&_!="constructor"&&u.push(_);return u}function Zm(s){if(!Kt(s))return R1(s);var u=Oa(s),_=[];for(var k in s)k=="constructor"&&(u||!It.call(s,k))||_.push(k);return _}function Gs(s,u){return s<u}function pu(s,u){var _=-1,k=En(s)?ue(s.length):[];return il(s,function(N,F,W){k[++_]=u(N,F,W)}),k}function mu(s){var u=ao(s);return u.length==1&&u[0][2]?Xu(u[0][0],u[0][1]):function(_){return _===s||Ws(_,s,u)}}function bu(s,u){return so(s)&&Zu(u)?Xu(gi(s),u):function(_){var k=bo(_,s);return k===t&&k===u?vo(_,s):Da(u,k,m|v)}}function Rr(s,u,_,k,N){s!==u&&Us(u,function(F,W){if(N||(N=new ai),Kt(F))Xm(s,u,W,_,Rr,k,N);else{var G=k?k(uo(s,W),F,W+"",s,u,N):t;G===t&&(G=F),Os(s,W,G)}},Rn)}function Xm(s,u,_,k,N,F,W){var G=uo(s,_),ee=uo(u,_),me=W.get(ee);if(me){Os(s,_,me);return}var be=F?F(G,ee,_+"",s,u,W):t,ye=be===t;if(ye){var Ve=it(ee),Ge=!Ve&&sl(ee),Ye=!Ve&&!Ge&&la(ee);be=ee,Ve||Ge||Ye?it(G)?be=G:Xt(G)?be=An(G):Ge?(ye=!1,be=Au(ee,!0)):Ye?(ye=!1,be=Eu(ee,!0)):be=[]:Ua(ee)||Rl(ee)?(be=G,Rl(G)?be=If(G):(!Kt(G)||Oi(G))&&(be=Qu(ee))):ye=!1}ye&&(W.set(ee,be),N(be,ee,k,F,W),W.delete(ee)),Os(s,_,be)}function vu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Mi(u,_)?s[u]:t}function wu(s,u,_){u.length?u=Wt(u,function(F){return it(F)?function(W){return Ll(W,F.length===1?F[0]:F)}:F}):u=[Dn];var k=-1;u=Wt(u,Un(je()));var N=pu(s,function(F,W,G){var ee=Wt(u,function(me){return me(F)});return{criteria:ee,index:++k,value:F}});return yp(N,function(F,W){return f1(F,W,_)})}function $m(s,u){return ku(s,u,function(_,k){return vo(s,k)})}function ku(s,u,_){for(var k=-1,N=u.length,F={};++k<N;){var W=u[k],G=Ll(s,W);_(G,W)&&Va(F,al(W,s),G)}return F}function xm(s){return function(u){return Ll(u,s)}}function Ks(s,u,_,k){var N=k?Cp:Jl,F=-1,W=u.length,G=s;for(s===u&&(u=An(u)),_&&(G=Wt(s,Un(_)));++F<W;)for(var ee=0,me=u[F],be=_?_(me):me;(ee=N(G,be,ee,k))>-1;)G!==s&&Sr.call(G,ee,1),Sr.call(s,ee,1);return s}function Su(s,u){for(var _=s?u.length:0,k=_-1;_--;){var N=u[_];if(_==k||N!==F){var F=N;Mi(N)?Sr.call(s,N,1):Qs(s,N)}}return s}function js(s,u){return s+Pr(nu()*(u-s+1))}function e1(s,u,_,k){for(var N=-1,F=an(yr((u-s)/(_||1)),0),W=ue(F);F--;)W[k?F:++N]=s,s+=_;return W}function Js(s,u){var _="";if(!s||u<1||u>_e)return _;do u%2&&(_+=s),u=Pr(u/2),u&&(s+=s);while(u);return _}function ut(s,u){return fo($u(s,u,Dn),s+"")}function t1(s){return au(aa(s))}function n1(s,u){var _=aa(s);return Wr(_,Il(u,0,_.length))}function Va(s,u,_,k){if(!Kt(s))return s;u=al(u,s);for(var N=-1,F=u.length,W=F-1,G=s;G!=null&&++N<F;){var ee=gi(u[N]),me=_;if(ee==="__proto__"||ee==="constructor"||ee==="prototype")return s;if(N!=W){var be=G[ee];me=k?k(be,ee,G):t,me===t&&(me=Kt(be)?be:Mi(u[N+1])?[]:{})}Aa(G,ee,me),G=G[ee]}return s}var Cu=Nr?function(s,u){return Nr.set(s,u),s}:Dn,i1=Cr?function(s,u){return Cr(s,"toString",{configurable:!0,enumerable:!1,value:ko(u),writable:!0})}:Dn;function l1(s){return Wr(aa(s))}function Zn(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=ue(N);++k<N;)F[k]=s[k+u];return F}function a1(s,u){var _;return il(s,function(k,N,F){return _=u(k,N,F),!_}),!!_}function Dr(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,W=s[F];W!==null&&!Bn(W)&&(_?W<=u:W<u)?k=F+1:N=F}return N}return Ys(s,u,Dn,_)}function Ys(s,u,_,k){var N=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var W=u!==u,G=u===null,ee=Bn(u),me=u===t;N<F;){var be=Pr((N+F)/2),ye=_(s[be]),Ve=ye!==t,Ge=ye===null,Ye=ye===ye,ot=Bn(ye);if(W)var Qe=k||Ye;else me?Qe=Ye&&(k||Ve):G?Qe=Ye&&Ve&&(k||!Ge):ee?Qe=Ye&&Ve&&!Ge&&(k||!ot):Ge||ot?Qe=!1:Qe=k?ye<=u:ye<u;Qe?N=be+1:F=be}return mn(F,ae)}function yu(s,u){for(var _=-1,k=s.length,N=0,F=[];++_<k;){var W=s[_],G=u?u(W):W;if(!_||!ri(G,ee)){var ee=G;F[N++]=W===0?0:W}}return F}function Pu(s){return typeof s=="number"?s:Bn(s)?se:+s}function zn(s){if(typeof s=="string")return s;if(it(s))return Wt(s,zn)+"";if(Bn(s))return iu?iu.call(s):"";var u=s+"";return u=="0"&&1/s==-j?"-0":u}function ll(s,u,_){var k=-1,N=dr,F=s.length,W=!0,G=[],ee=G;if(_)W=!1,N=Cs;else if(F>=l){var me=u?null:p1(s);if(me)return gr(me);W=!1,N=ya,ee=new Tl}else ee=u?[]:G;e:for(;++k<F;){var be=s[k],ye=u?u(be):be;if(be=_||be!==0?be:0,W&&ye===ye){for(var Ve=ee.length;Ve--;)if(ee[Ve]===ye)continue e;u&&ee.push(ye),G.push(be)}else N(ee,ye,_)||(ee!==G&&ee.push(ye),G.push(be))}return G}function Qs(s,u){return u=al(u,s),s=xu(s,u),s==null||delete s[gi(Xn(u))]}function Nu(s,u,_,k){return Va(s,u,_(Ll(s,u)),k)}function Vr(s,u,_,k){for(var N=s.length,F=k?N:-1;(k?F--:++F<N)&&u(s[F],F,s););return _?Zn(s,k?0:F,k?F+1:N):Zn(s,k?F+1:0,k?N:F)}function Tu(s,u){var _=s;return _ instanceof _t&&(_=_.value()),ys(u,function(k,N){return N.func.apply(N.thisArg,el([k],N.args))},_)}function Zs(s,u,_){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var N=-1,F=ue(k);++N<k;)for(var W=s[N],G=-1;++G<k;)G!=N&&(F[N]=Ea(F[N]||W,s[G],u,_));return ll(cn(F,1),u,_)}function Iu(s,u,_){for(var k=-1,N=s.length,F=u.length,W={};++k<N;){var G=k<F?u[k]:t;_(W,s[k],G)}return W}function Xs(s){return Xt(s)?s:[]}function $s(s){return typeof s=="function"?s:Dn}function al(s,u){return it(s)?s:so(s,u)?[s]:lf(Nt(s))}var r1=ut;function rl(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Zn(s,u,_)}var Lu=Jp||function(s){return xe.clearTimeout(s)};function Au(s,u){if(u)return s.slice();var _=s.length,k=Xo?Xo(_):new s.constructor(_);return s.copy(k),k}function xs(s){var u=new s.constructor(s.byteLength);return new wr(u).set(new wr(s)),u}function s1(s,u){var _=u?xs(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function o1(s){var u=new s.constructor(s.source,Ki.exec(s));return u.lastIndex=s.lastIndex,u}function u1(s){return La?Rt(La.call(s)):{}}function Eu(s,u){var _=u?xs(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Ru(s,u){if(s!==u){var _=s!==t,k=s===null,N=s===s,F=Bn(s),W=u!==t,G=u===null,ee=u===u,me=Bn(u);if(!G&&!me&&!F&&s>u||F&&W&&ee&&!G&&!me||k&&W&&ee||!_&&ee||!N)return 1;if(!k&&!F&&!me&&s<u||me&&_&&N&&!k&&!F||G&&_&&N||!W&&N||!ee)return-1}return 0}function f1(s,u,_){for(var k=-1,N=s.criteria,F=u.criteria,W=N.length,G=_.length;++k<W;){var ee=Ru(N[k],F[k]);if(ee){if(k>=G)return ee;var me=_[k];return ee*(me=="desc"?-1:1)}}return s.index-u.index}function Du(s,u,_,k){for(var N=-1,F=s.length,W=_.length,G=-1,ee=u.length,me=an(F-W,0),be=ue(ee+me),ye=!k;++G<ee;)be[G]=u[G];for(;++N<W;)(ye||N<F)&&(be[_[N]]=s[N]);for(;me--;)be[G++]=s[N++];return be}function Vu(s,u,_,k){for(var N=-1,F=s.length,W=-1,G=_.length,ee=-1,me=u.length,be=an(F-G,0),ye=ue(be+me),Ve=!k;++N<be;)ye[N]=s[N];for(var Ge=N;++ee<me;)ye[Ge+ee]=u[ee];for(;++W<G;)(Ve||N<F)&&(ye[Ge+_[W]]=s[N++]);return ye}function An(s,u){var _=-1,k=s.length;for(u||(u=ue(k));++_<k;)u[_]=s[_];return u}function hi(s,u,_,k){var N=!_;_||(_={});for(var F=-1,W=u.length;++F<W;){var G=u[F],ee=k?k(_[G],s[G],G,_,s):t;ee===t&&(ee=s[G]),N?Ri(_,G,ee):Aa(_,G,ee)}return _}function c1(s,u){return hi(s,ro(s),u)}function d1(s,u){return hi(s,Ju(s),u)}function Mr(s,u){return function(_,k){var N=it(_)?pn:Vm,F=u?u():{};return N(_,s,je(k,2),F)}}function ta(s){return ut(function(u,_){var k=-1,N=_.length,F=N>1?_[N-1]:t,W=N>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(N--,F):t,W&&Cn(_[0],_[1],W)&&(F=N<3?t:F,N=1),u=Rt(u);++k<N;){var G=_[k];G&&s(u,G,k,F)}return u})}function Mu(s,u){return function(_,k){if(_==null)return _;if(!En(_))return s(_,k);for(var N=_.length,F=u?N:-1,W=Rt(_);(u?F--:++F<N)&&k(W[F],F,W)!==!1;);return _}}function Ou(s){return function(u,_,k){for(var N=-1,F=Rt(u),W=k(u),G=W.length;G--;){var ee=W[s?G:++N];if(_(F[ee],ee,F)===!1)break}return u}}function h1(s,u,_){var k=u&C,N=Ma(s);function F(){var W=this&&this!==xe&&this instanceof F?N:s;return W.apply(k?_:this,arguments)}return F}function Fu(s){return function(u){u=Nt(u);var _=Yl(u)?li(u):t,k=_?_[0]:u.charAt(0),N=_?rl(_,1).join(""):u.slice(1);return k[s]()+N}}function na(s){return function(u){return ys(Of(Mf(u).replace(vs,"")),s,"")}}function Ma(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 _=ea(s.prototype),k=s.apply(_,u);return Kt(k)?k:_}}function g1(s,u,_){var k=Ma(s);function N(){for(var F=arguments.length,W=ue(F),G=F,ee=ia(N);G--;)W[G]=arguments[G];var me=F<3&&W[0]!==ee&&W[F-1]!==ee?[]:tl(W,ee);if(F-=me.length,F<_)return Wu(s,u,Or,N.placeholder,t,W,me,t,t,_-F);var be=this&&this!==xe&&this instanceof N?k:s;return nn(be,this,W)}return N}function Uu(s){return function(u,_,k){var N=Rt(u);if(!En(u)){var F=je(_,3);u=on(u),_=function(G){return F(N[G],G,N)}}var W=s(u,_,k);return W>-1?N[F?u[W]:W]:t}}function zu(s){return Vi(function(u){var _=u.length,k=_,N=Yn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new Jn(r);if(N&&!W&&Br(F)=="wrapper")var W=new Yn([],!0)}for(k=W?k:_;++k<_;){F=u[k];var G=Br(F),ee=G=="wrapper"?lo(F):t;ee&&oo(ee[0])&&ee[1]==(B|T|V|M)&&!ee[4].length&&ee[9]==1?W=W[Br(ee[0])].apply(W,ee[3]):W=F.length==1&&oo(F)?W[G]():W.thru(F)}return function(){var me=arguments,be=me[0];if(W&&me.length==1&&it(be))return W.plant(be).value();for(var ye=0,Ve=_?u[ye].apply(this,me):be;++ye<_;)Ve=u[ye].call(this,Ve);return Ve}})}function Or(s,u,_,k,N,F,W,G,ee,me){var be=u&B,ye=u&C,Ve=u&y,Ge=u&(T|E),Ye=u&D,ot=Ve?t:Ma(s);function Qe(){for(var gt=arguments.length,pt=ue(gt),Hn=gt;Hn--;)pt[Hn]=arguments[Hn];if(Ge)var yn=ia(Qe),Wn=Np(pt,yn);if(k&&(pt=Du(pt,k,N,Ge)),F&&(pt=Vu(pt,F,W,Ge)),gt-=Wn,Ge&><me){var $t=tl(pt,yn);return Wu(s,u,Or,Qe.placeholder,_,pt,$t,G,ee,me-gt)}var si=ye?_:this,Ui=Ve?si[s]:s;return gt=pt.length,G?pt=V1(pt,G):Ye&>>1&&pt.reverse(),be&&ee<gt&&(pt.length=ee),this&&this!==xe&&this instanceof Qe&&(Ui=ot||Ma(Ui)),Ui.apply(si,pt)}return Qe}function Bu(s,u){return function(_,k){return Wm(_,s,u(k),{})}}function Fr(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"?(_=zn(_),k=zn(k)):(_=Pu(_),k=Pu(k)),N=s(_,k)}return N}}function eo(s){return Vi(function(u){return u=Wt(u,Un(je())),ut(function(_){var k=this;return s(u,function(N){return nn(N,k,_)})})})}function Ur(s,u){u=u===t?" ":zn(u);var _=u.length;if(_<2)return _?Js(u,s):u;var k=Js(u,yr(s/Ql(u)));return Yl(u)?rl(li(k),0,s).join(""):k.slice(0,s)}function _1(s,u,_,k){var N=u&C,F=Ma(s);function W(){for(var G=-1,ee=arguments.length,me=-1,be=k.length,ye=ue(be+ee),Ve=this&&this!==xe&&this instanceof W?F:s;++me<be;)ye[me]=k[me];for(;ee--;)ye[me++]=arguments[++G];return nn(Ve,N?_:this,ye)}return W}function Hu(s){return function(u,_,k){return k&&typeof k!="number"&&Cn(u,_,k)&&(_=k=t),u=Fi(u),_===t?(_=u,u=0):_=Fi(_),k=k===t?u<_?1:-1:Fi(k),e1(u,_,k,s)}}function zr(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=$n(u),_=$n(_)),s(u,_)}}function Wu(s,u,_,k,N,F,W,G,ee,me){var be=u&T,ye=be?W:t,Ve=be?t:W,Ge=be?F:t,Ye=be?t:F;u|=be?V:I,u&=~(be?I:V),u&P||(u&=~(C|y));var ot=[s,u,N,Ge,ye,Ye,Ve,G,ee,me],Qe=_.apply(t,ot);return oo(s)&&ef(Qe,ot),Qe.placeholder=k,tf(Qe,s,u)}function to(s){var u=ln[s];return function(_,k){if(_=$n(_),k=k==null?0:mn(st(k),292),k&&tu(_)){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 p1=$l&&1/gr(new $l([,-0]))[1]==j?function(s){return new $l(s)}:yo;function qu(s){return function(u){var _=bn(u);return _==wt?Es(u):_==Mt?Dp(u):Pp(u,s(u))}}function Di(s,u,_,k,N,F,W,G){var ee=u&y;if(!ee&&typeof s!="function")throw new Jn(r);var me=k?k.length:0;if(me||(u&=~(V|I),k=N=t),W=W===t?W:an(st(W),0),G=G===t?G:st(G),me-=N?N.length:0,u&I){var be=k,ye=N;k=N=t}var Ve=ee?t:lo(s),Ge=[s,u,_,k,N,be,ye,F,W,G];if(Ve&&E1(Ge,Ve),s=Ge[0],u=Ge[1],_=Ge[2],k=Ge[3],N=Ge[4],G=Ge[9]=Ge[9]===t?ee?0:s.length:an(Ge[9]-me,0),!G&&u&(T|E)&&(u&=~(T|E)),!u||u==C)var Ye=h1(s,u,_);else u==T||u==E?Ye=g1(s,u,G):(u==V||u==(C|V))&&!N.length?Ye=_1(s,u,_,k):Ye=Or.apply(t,Ge);var ot=Ve?Cu:ef;return tf(ot(Ye,Ge),s,u)}function Gu(s,u,_,k){return s===t||ri(s,Xl[_])&&!It.call(k,_)?u:s}function Ku(s,u,_,k,N,F){return Kt(s)&&Kt(u)&&(F.set(u,s),Rr(s,u,t,Ku,F),F.delete(u)),s}function m1(s){return Ua(s)?t:s}function ju(s,u,_,k,N,F){var W=_&m,G=s.length,ee=u.length;if(G!=ee&&!(W&&ee>G))return!1;var me=F.get(s),be=F.get(u);if(me&&be)return me==u&&be==s;var ye=-1,Ve=!0,Ge=_&v?new Tl:t;for(F.set(s,u),F.set(u,s);++ye<G;){var Ye=s[ye],ot=u[ye];if(k)var Qe=W?k(ot,Ye,ye,u,s,F):k(Ye,ot,ye,s,u,F);if(Qe!==t){if(Qe)continue;Ve=!1;break}if(Ge){if(!Ps(u,function(gt,pt){if(!ya(Ge,pt)&&(Ye===gt||N(Ye,gt,_,k,F)))return Ge.push(pt)})){Ve=!1;break}}else if(!(Ye===ot||N(Ye,ot,_,k,F))){Ve=!1;break}}return F.delete(s),F.delete(u),Ve}function b1(s,u,_,k,N,F,W){switch(_){case Yt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Kn:return!(s.byteLength!=u.byteLength||!F(new wr(s),new wr(u)));case tt:case ze:case qt:return ri(+s,+u);case Ct:return s.name==u.name&&s.message==u.message;case rt:case zt:return s==u+"";case wt:var G=Es;case Mt:var ee=k&m;if(G||(G=gr),s.size!=u.size&&!ee)return!1;var me=W.get(s);if(me)return me==u;k|=v,W.set(s,u);var be=ju(G(s),G(u),k,N,F,W);return W.delete(s),be;case wn:if(La)return La.call(s)==La.call(u)}return!1}function v1(s,u,_,k,N,F){var W=_&m,G=no(s),ee=G.length,me=no(u),be=me.length;if(ee!=be&&!W)return!1;for(var ye=ee;ye--;){var Ve=G[ye];if(!(W?Ve in u:It.call(u,Ve)))return!1}var Ge=F.get(s),Ye=F.get(u);if(Ge&&Ye)return Ge==u&&Ye==s;var ot=!0;F.set(s,u),F.set(u,s);for(var Qe=W;++ye<ee;){Ve=G[ye];var gt=s[Ve],pt=u[Ve];if(k)var Hn=W?k(pt,gt,Ve,u,s,F):k(gt,pt,Ve,s,u,F);if(!(Hn===t?gt===pt||N(gt,pt,_,k,F):Hn)){ot=!1;break}Qe||(Qe=Ve=="constructor")}if(ot&&!Qe){var yn=s.constructor,Wn=u.constructor;yn!=Wn&&"constructor"in s&&"constructor"in u&&!(typeof yn=="function"&&yn instanceof yn&&typeof Wn=="function"&&Wn instanceof Wn)&&(ot=!1)}return F.delete(s),F.delete(u),ot}function Vi(s){return fo($u(s,t,of),s+"")}function no(s){return du(s,on,ro)}function io(s){return du(s,Rn,Ju)}var lo=Nr?function(s){return Nr.get(s)}:yo;function Br(s){for(var u=s.name+"",_=xl[u],k=It.call(xl,u)?_.length:0;k--;){var N=_[k],F=N.func;if(F==null||F==s)return N.name}return u}function ia(s){var u=It.call(O,"placeholder")?O:s;return u.placeholder}function je(){var s=O.iteratee||So;return s=s===So?_u:s,arguments.length?s(arguments[0],arguments[1]):s}function Hr(s,u){var _=s.__data__;return T1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ao(s){for(var u=on(s),_=u.length;_--;){var k=u[_],N=s[k];u[_]=[k,N,Zu(N)]}return u}function Al(s,u){var _=Ap(s,u);return gu(_)?_:t}function w1(s){var u=It.call(s,Pl),_=s[Pl];try{s[Pl]=t;var k=!0}catch{}var N=br.call(s);return k&&(u?s[Pl]=_:delete s[Pl]),N}var ro=Ds?function(s){return s==null?[]:(s=Rt(s),xi(Ds(s),function(u){return xo.call(s,u)}))}:Po,Ju=Ds?function(s){for(var u=[];s;)el(u,ro(s)),s=kr(s);return u}:Po,bn=Sn;(Vs&&bn(new Vs(new ArrayBuffer(1)))!=Yt||Na&&bn(new Na)!=wt||Ms&&bn(Ms.resolve())!=Pe||$l&&bn(new $l)!=Mt||Ta&&bn(new Ta)!=en)&&(bn=function(s){var u=Sn(s),_=u==Ft?s.constructor:t,k=_?El(_):"";if(k)switch(k){case nm:return Yt;case im:return wt;case lm:return Pe;case am:return Mt;case rm:return en}return u});function k1(s,u,_){for(var k=-1,N=_.length;++k<N;){var F=_[k],W=F.size;switch(F.type){case"drop":s+=W;break;case"dropRight":u-=W;break;case"take":u=mn(u,s+W);break;case"takeRight":s=an(s,u-W);break}}return{start:s,end:u}}function S1(s){var u=s.match(On);return u?u[1].split(Fl):[]}function Yu(s,u,_){u=al(u,s);for(var k=-1,N=u.length,F=!1;++k<N;){var W=gi(u[k]);if(!(F=s!=null&&_(s,W)))break;s=s[W]}return F||++k!=N?F:(N=s==null?0:s.length,!!N&&Yr(N)&&Mi(W,N)&&(it(s)||Rl(s)))}function C1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&It.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function Qu(s){return typeof s.constructor=="function"&&!Oa(s)?ea(kr(s)):{}}function y1(s,u,_){var k=s.constructor;switch(u){case Kn:return xs(s);case tt:case ze:return new k(+s);case Yt:return s1(s,_);case Tn:case ki:case Si:case hn:case Ci:case yi:case Pi:case Ni:case Ti:return Eu(s,_);case wt:return new k;case qt:case zt:return new k(s);case rt:return o1(s);case Mt:return new k;case wn:return u1(s)}}function P1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(jn,`{
|
|
33
|
+
*/ss.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__",g=500,d="__lodash_placeholder__",h=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,T=8,E=16,V=32,I=64,B=128,O=256,D=512,q=30,X="...",Q=800,ce=16,x=1,K=2,J=3,j=1/0,_e=9007199254740991,ie=17976931348623157e292,se=0/0,ve=4294967295,re=ve-1,Re=ve>>>1,We=[["ary",B],["bind",C],["bindKey",y],["curry",T],["curryRight",E],["flip",D],["partial",V],["partialRight",I],["rearg",O]],te="[object Arguments]",de="[object Array]",Te="[object AsyncFunction]",tt="[object Boolean]",ze="[object Date]",rt="[object DOMException]",Ct="[object Error]",pe="[object Function]",$e="[object GeneratorFunction]",wt="[object Map]",qt="[object Number]",Nn="[object Null]",Ft="[object Object]",Pe="[object Promise]",dt="[object Proxy]",at="[object RegExp]",Ot="[object Set]",zt="[object String]",wn="[object Symbol]",ni="[object Undefined]",en="[object WeakMap]",kn="[object WeakSet]",Kn="[object ArrayBuffer]",Yt="[object DataView]",Tn="[object Float32Array]",ki="[object Float64Array]",Si="[object Int8Array]",hn="[object Int16Array]",Ci="[object Int32Array]",yi="[object Uint8Array]",Pi="[object Uint8ClampedArray]",Ni="[object Uint16Array]",Ti="[object Uint32Array]",_l=/\b__p \+= '';/g,pl=/\b(__p \+=) '' \+/g,ml=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ii=/&(?:amp|lt|gt|quot|#39);/g,Wi=/[&<>"']/g,qi=RegExp(Ii.source),fi=RegExp(Wi.source),bl=/<%-([\s\S]+?)%>/g,vl=/<%([\s\S]+?)%>/g,Gi=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ne=/^\w*$/,nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ht=/[\\^$.*+?()[\]{}|]/g,Tt=RegExp(ht.source),Zt=/^\s+/,gn=/\s/,jn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Mn=/\{\n\/\* \[wrapped with (.+)\] \*/,Fl=/,? & /,Ul=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zl=/[()=,{}\[\]\/\s]/,gr=/\\(\\)?/g,In=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ki=/\w*$/,wl=/^[-+]0x[0-9a-f]+$/i,Bl=/^0b[01]+$/i,_r=/^\[object .+?Constructor\]$/,ji=/^0o[0-7]+$/i,kl=/^(?:0|[1-9]\d*)$/,Sl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ci=/($^)/,Hl=/['\n\r\u2028\u2029\\]/g,Li="\\ud800-\\udfff",pr="\\u0300-\\u036f",Y="\\ufe20-\\ufe2f",Et="\\u20d0-\\u20ff",_n=pr+Y+Et,ii="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",Ji="\\xac\\xb1\\xd7\\xf7",tn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wl="\\u2000-\\u206f",Qr=" \\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",Zr="A-Z\\xc0-\\xd6\\xd8-\\xde",Yi="\\ufe0e\\ufe0f",Xr=Ji+tn+Wl+Qr,br="['’]",cs="["+Li+"]",$r="["+Xr+"]",Qi="["+_n+"]",xr="\\d+",ds="["+ii+"]",ea="["+mr+"]",ta="[^"+Li+Xr+xr+ii+mr+Zr+"]",vr="\\ud83c[\\udffb-\\udfff]",na="(?:"+Qi+"|"+vr+")",ia="[^"+Li+"]",ql="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+Zr+"]",la="\\u200d",ra="(?:"+ea+"|"+ta+")",hs="(?:"+Zi+"|"+ta+")",aa="(?:"+br+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+br+"(?:D|LL|M|RE|S|T|VE))?",oa=na+"?",ua="["+Yi+"]?",gs="(?:"+la+"(?:"+[ia,ql,wr].join("|")+")"+ua+oa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+gs,ms="(?:"+[ds,ql,wr].join("|")+")"+fa,bs="(?:"+[ia+Qi+"?",Qi,ql,wr,cs].join("|")+")",vs=RegExp(br,"g"),ws=RegExp(Qi,"g"),kr=RegExp(vr+"(?="+vr+")|"+bs+fa,"g"),z=RegExp([Zi+"?"+ea+"+"+aa+"(?="+[$r,Zi,"$"].join("|")+")",hs+"+"+sa+"(?="+[$r,Zi+ra,"$"].join("|")+")",Zi+"?"+ra+"+"+aa,Zi+"+"+sa,ps,_s,xr,ms].join("|"),"g"),fe=RegExp("["+la+Li+_n+Yi+"]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qe=["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"],Oe=-1,he={};he[Tn]=he[ki]=he[Si]=he[hn]=he[Ci]=he[yi]=he[Pi]=he[Ni]=he[Ti]=!0,he[te]=he[de]=he[Kn]=he[tt]=he[Yt]=he[ze]=he[Ct]=he[pe]=he[wt]=he[qt]=he[Ft]=he[at]=he[Ot]=he[zt]=he[en]=!1;var Ie={};Ie[te]=Ie[de]=Ie[Kn]=Ie[Yt]=Ie[tt]=Ie[ze]=Ie[Tn]=Ie[ki]=Ie[Si]=Ie[hn]=Ie[Ci]=Ie[wt]=Ie[qt]=Ie[Ft]=Ie[at]=Ie[Ot]=Ie[zt]=Ie[wn]=Ie[yi]=Ie[Pi]=Ie[Ni]=Ie[Ti]=!0,Ie[Ct]=Ie[pe]=Ie[en]=!1;var kt={À:"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"},Bt={"&":"&","<":"<",">":">",'"':""","'":"'"},Sr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cr=parseFloat,$i=parseInt,Gl=typeof Br=="object"&&Br&&Br.Object===Object&&Br,Ke=typeof self=="object"&&self&&self.Object===Object&&self,xe=Gl||Ke||Function("return this")(),Lt=e&&!e.nodeType&&e,Ht=Lt&&!0&&i&&!i.nodeType&&i,Ln=Ht&&Ht.exports===Lt,Fn=Ln&&Gl.process,sn=function(){try{var $=Ht&&Ht.require&&Ht.require("util").types;return $||Fn&&Fn.binding&&Fn.binding("util")}catch{}}(),Kl=sn&&sn.isArrayBuffer,Cl=sn&&sn.isDate,ks=sn&&sn.isMap,jl=sn&&sn.isRegExp,ca=sn&&sn.isSet,yl=sn&&sn.isTypedArray;function nn($,ge,ue){switch(ue.length){case 0:return $.call(ge);case 1:return $.call(ge,ue[0]);case 2:return $.call(ge,ue[0],ue[1]);case 3:return $.call(ge,ue[0],ue[1],ue[2])}return $.apply(ge,ue)}function pn($,ge,ue,Be){for(var et=-1,yt=$==null?0:$.length;++et<yt;){var ln=$[et];ge(Be,ln,ue(ln),$)}return Be}function Gt($,ge){for(var ue=-1,Be=$==null?0:$.length;++ue<Be&&ge($[ue],ue,$)!==!1;);return $}function Ss($,ge){for(var ue=$==null?0:$.length;ue--&&ge($[ue],ue,$)!==!1;);return $}function Bo($,ge){for(var ue=-1,Be=$==null?0:$.length;++ue<Be;)if(!ge($[ue],ue,$))return!1;return!0}function xi($,ge){for(var ue=-1,Be=$==null?0:$.length,et=0,yt=[];++ue<Be;){var ln=$[ue];ge(ln,ue,$)&&(yt[et++]=ln)}return yt}function da($,ge){var ue=$==null?0:$.length;return!!ue&&Jl($,ge,0)>-1}function Cs($,ge,ue){for(var Be=-1,et=$==null?0:$.length;++Be<et;)if(ue(ge,$[Be]))return!0;return!1}function Wt($,ge){for(var ue=-1,Be=$==null?0:$.length,et=Array(Be);++ue<Be;)et[ue]=ge($[ue],ue,$);return et}function el($,ge){for(var ue=-1,Be=ge.length,et=$.length;++ue<Be;)$[et+ue]=ge[ue];return $}function ys($,ge,ue,Be){var et=-1,yt=$==null?0:$.length;for(Be&&yt&&(ue=$[++et]);++et<yt;)ue=ge(ue,$[et],et,$);return ue}function vp($,ge,ue,Be){var et=$==null?0:$.length;for(Be&&et&&(ue=$[--et]);et--;)ue=ge(ue,$[et],et,$);return ue}function Ps($,ge){for(var ue=-1,Be=$==null?0:$.length;++ue<Be;)if(ge($[ue],ue,$))return!0;return!1}var wp=Ns("length");function kp($){return $.split("")}function Sp($){return $.match(Ul)||[]}function Ho($,ge,ue){var Be;return ue($,function(et,yt,ln){if(ge(et,yt,ln))return Be=yt,!1}),Be}function ha($,ge,ue,Be){for(var et=$.length,yt=ue+(Be?1:-1);Be?yt--:++yt<et;)if(ge($[yt],yt,$))return yt;return-1}function Jl($,ge,ue){return ge===ge?Vp($,ge,ue):ha($,Wo,ue)}function Cp($,ge,ue,Be){for(var et=ue-1,yt=$.length;++et<yt;)if(Be($[et],ge))return et;return-1}function Wo($){return $!==$}function qo($,ge){var ue=$==null?0:$.length;return ue?Is($,ge)/ue:se}function Ns($){return function(ge){return ge==null?t:ge[$]}}function Ts($){return function(ge){return $==null?t:$[ge]}}function Go($,ge,ue,Be,et){return et($,function(yt,ln,Rt){ue=Be?(Be=!1,yt):ge(ue,yt,ln,Rt)}),ue}function yp($,ge){var ue=$.length;for($.sort(ge);ue--;)$[ue]=$[ue].value;return $}function Is($,ge){for(var ue,Be=-1,et=$.length;++Be<et;){var yt=ge($[Be]);yt!==t&&(ue=ue===t?yt:ue+yt)}return ue}function Ls($,ge){for(var ue=-1,Be=Array($);++ue<$;)Be[ue]=ge(ue);return Be}function Pp($,ge){return Wt(ge,function(ue){return[ue,$[ue]]})}function Ko($){return $&&$.slice(0,Qo($)+1).replace(Zt,"")}function Un($){return function(ge){return $(ge)}}function As($,ge){return Wt(ge,function(ue){return $[ue]})}function yr($,ge){return $.has(ge)}function jo($,ge){for(var ue=-1,Be=$.length;++ue<Be&&Jl(ge,$[ue],0)>-1;);return ue}function Jo($,ge){for(var ue=$.length;ue--&&Jl(ge,$[ue],0)>-1;);return ue}function Np($,ge){for(var ue=$.length,Be=0;ue--;)$[ue]===ge&&++Be;return Be}var Tp=Ts(kt),Ip=Ts(Bt);function Lp($){return"\\"+Xi[$]}function Ap($,ge){return $==null?t:$[ge]}function Yl($){return fe.test($)}function Ep($){return De.test($)}function Rp($){for(var ge,ue=[];!(ge=$.next()).done;)ue.push(ge.value);return ue}function Es($){var ge=-1,ue=Array($.size);return $.forEach(function(Be,et){ue[++ge]=[et,Be]}),ue}function Yo($,ge){return function(ue){return $(ge(ue))}}function tl($,ge){for(var ue=-1,Be=$.length,et=0,yt=[];++ue<Be;){var ln=$[ue];(ln===ge||ln===d)&&($[ue]=d,yt[et++]=ue)}return yt}function ga($){var ge=-1,ue=Array($.size);return $.forEach(function(Be){ue[++ge]=Be}),ue}function Dp($){var ge=-1,ue=Array($.size);return $.forEach(function(Be){ue[++ge]=[Be,Be]}),ue}function Vp($,ge,ue){for(var Be=ue-1,et=$.length;++Be<et;)if($[Be]===ge)return Be;return-1}function Op($,ge,ue){for(var Be=ue+1;Be--;)if($[Be]===ge)return Be;return Be}function Ql($){return Yl($)?Fp($):wp($)}function li($){return Yl($)?Up($):kp($)}function Qo($){for(var ge=$.length;ge--&&gn.test($.charAt(ge)););return ge}var Mp=Ts(Sr);function Fp($){for(var ge=kr.lastIndex=0;kr.test($);)++ge;return ge}function Up($){return $.match(kr)||[]}function zp($){return $.match(z)||[]}var Bp=function $(ge){ge=ge==null?xe:Zl.defaults(xe.Object(),ge,Zl.pick(xe,qe));var ue=ge.Array,Be=ge.Date,et=ge.Error,yt=ge.Function,ln=ge.Math,Rt=ge.Object,Rs=ge.RegExp,Hp=ge.String,Jn=ge.TypeError,_a=ue.prototype,Wp=yt.prototype,Xl=Rt.prototype,pa=ge["__core-js_shared__"],ma=Wp.toString,It=Xl.hasOwnProperty,qp=0,Zo=function(){var s=/[^.]+$/.exec(pa&&pa.keys&&pa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ba=Xl.toString,Gp=ma.call(Rt),Kp=xe._,jp=Rs("^"+ma.call(It).replace(ht,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),va=Ln?ge.Buffer:t,nl=ge.Symbol,wa=ge.Uint8Array,Xo=va?va.allocUnsafe:t,ka=Yo(Rt.getPrototypeOf,Rt),$o=Rt.create,xo=Xl.propertyIsEnumerable,Sa=_a.splice,eu=nl?nl.isConcatSpreadable:t,Pr=nl?nl.iterator:t,Pl=nl?nl.toStringTag:t,Ca=function(){try{var s=Al(Rt,"defineProperty");return s({},"",{}),s}catch{}}(),Jp=ge.clearTimeout!==xe.clearTimeout&&ge.clearTimeout,Yp=Be&&Be.now!==xe.Date.now&&Be.now,Qp=ge.setTimeout!==xe.setTimeout&&ge.setTimeout,ya=ln.ceil,Pa=ln.floor,Ds=Rt.getOwnPropertySymbols,Zp=va?va.isBuffer:t,tu=ge.isFinite,Xp=_a.join,$p=Yo(Rt.keys,Rt),rn=ln.max,mn=ln.min,xp=Be.now,em=ge.parseInt,nu=ln.random,tm=_a.reverse,Vs=Al(ge,"DataView"),Nr=Al(ge,"Map"),Os=Al(ge,"Promise"),$l=Al(ge,"Set"),Tr=Al(ge,"WeakMap"),Ir=Al(Rt,"create"),Na=Tr&&new Tr,xl={},nm=El(Vs),im=El(Nr),lm=El(Os),rm=El($l),am=El(Tr),Ta=nl?nl.prototype:t,Lr=Ta?Ta.valueOf:t,iu=Ta?Ta.toString:t;function M(s){if(Qt(s)&&!it(s)&&!(s instanceof _t)){if(s instanceof Yn)return s;if(It.call(s,"__wrapped__"))return rf(s)}return new Yn(s)}var er=function(){function s(){}return function(u){if(!Kt(u))return{};if($o)return $o(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Ia(){}function Yn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:bl,evaluate:vl,interpolate:Gi,variable:"",imports:{_:M}},M.prototype=Ia.prototype,M.prototype.constructor=M,Yn.prototype=er(Ia.prototype),Yn.prototype.constructor=Yn;function _t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function sm(){var s=new _t(this.__wrapped__);return s.__actions__=An(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=An(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=An(this.__views__),s}function om(){if(this.__filtered__){var s=new _t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function um(){var s=this.__wrapped__.value(),u=this.__dir__,_=it(s),k=u<0,N=_?s.length:0,F=k1(0,N,this.__views__),W=F.start,G=F.end,ee=G-W,me=k?G:W-1,be=this.__iteratees__,ye=be.length,Ve=0,Ge=mn(ee,this.__takeCount__);if(!_||!k&&N==ee&&Ge==ee)return Tu(s,this.__actions__);var Ye=[];e:for(;ee--&&Ve<Ge;){me+=u;for(var ot=-1,Qe=s[me];++ot<ye;){var gt=be[ot],pt=gt.iteratee,Hn=gt.type,yn=pt(Qe);if(Hn==K)Qe=yn;else if(!yn){if(Hn==x)continue e;break e}}Ye[Ve++]=Qe}return Ye}_t.prototype=er(Ia.prototype),_t.prototype.constructor=_t;function Nl(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function fm(){this.__data__=Ir?Ir(null):{},this.size=0}function cm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function dm(s){var u=this.__data__;if(Ir){var _=u[s];return _===c?t:_}return It.call(u,s)?u[s]:t}function hm(s){var u=this.__data__;return Ir?u[s]!==t:It.call(u,s)}function gm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Ir&&u===t?c:u,this}Nl.prototype.clear=fm,Nl.prototype.delete=cm,Nl.prototype.get=dm,Nl.prototype.has=hm,Nl.prototype.set=gm;function Ai(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function _m(){this.__data__=[],this.size=0}function pm(s){var u=this.__data__,_=La(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Sa.call(u,_,1),--this.size,!0}function mm(s){var u=this.__data__,_=La(u,s);return _<0?t:u[_][1]}function bm(s){return La(this.__data__,s)>-1}function vm(s,u){var _=this.__data__,k=La(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Ai.prototype.clear=_m,Ai.prototype.delete=pm,Ai.prototype.get=mm,Ai.prototype.has=bm,Ai.prototype.set=vm;function Ei(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function wm(){this.size=0,this.__data__={hash:new Nl,map:new(Nr||Ai),string:new Nl}}function km(s){var u=Ha(this,s).delete(s);return this.size-=u?1:0,u}function Sm(s){return Ha(this,s).get(s)}function Cm(s){return Ha(this,s).has(s)}function ym(s,u){var _=Ha(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Ei.prototype.clear=wm,Ei.prototype.delete=km,Ei.prototype.get=Sm,Ei.prototype.has=Cm,Ei.prototype.set=ym;function Tl(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Ei;++u<_;)this.add(s[u])}function Pm(s){return this.__data__.set(s,c),this}function Nm(s){return this.__data__.has(s)}Tl.prototype.add=Tl.prototype.push=Pm,Tl.prototype.has=Nm;function ri(s){var u=this.__data__=new Ai(s);this.size=u.size}function Tm(){this.__data__=new Ai,this.size=0}function Im(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Lm(s){return this.__data__.get(s)}function Am(s){return this.__data__.has(s)}function Em(s,u){var _=this.__data__;if(_ instanceof Ai){var k=_.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Ei(k)}return _.set(s,u),this.size=_.size,this}ri.prototype.clear=Tm,ri.prototype.delete=Im,ri.prototype.get=Lm,ri.prototype.has=Am,ri.prototype.set=Em;function lu(s,u){var _=it(s),k=!_&&Rl(s),N=!_&&!k&&sl(s),F=!_&&!k&&!N&&lr(s),W=_||k||N||F,G=W?Ls(s.length,Hp):[],ee=G.length;for(var me in s)(u||It.call(s,me))&&!(W&&(me=="length"||N&&(me=="offset"||me=="parent")||F&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||Oi(me,ee)))&&G.push(me);return G}function ru(s){var u=s.length;return u?s[js(0,u-1)]:t}function Rm(s,u){return Wa(An(s),Il(u,0,s.length))}function Dm(s){return Wa(An(s))}function Ms(s,u,_){(_!==t&&!ai(s[u],_)||_===t&&!(u in s))&&Ri(s,u,_)}function Ar(s,u,_){var k=s[u];(!(It.call(s,u)&&ai(k,_))||_===t&&!(u in s))&&Ri(s,u,_)}function La(s,u){for(var _=s.length;_--;)if(ai(s[_][0],u))return _;return-1}function Vm(s,u,_,k){return il(s,function(N,F,W){u(k,N,_(N),W)}),k}function au(s,u){return s&&hi(u,on(u),s)}function Om(s,u){return s&&hi(u,Rn(u),s)}function Ri(s,u,_){u=="__proto__"&&Ca?Ca(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Fs(s,u){for(var _=-1,k=u.length,N=ue(k),F=s==null;++_<k;)N[_]=F?t:bo(s,u[_]);return N}function Il(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Qn(s,u,_,k,N,F){var W,G=u&h,ee=u&p,me=u&b;if(_&&(W=N?_(s,k,N,F):_(s)),W!==t)return W;if(!Kt(s))return s;var be=it(s);if(be){if(W=C1(s),!G)return An(s,W)}else{var ye=bn(s),Ve=ye==pe||ye==$e;if(sl(s))return Au(s,G);if(ye==Ft||ye==te||Ve&&!N){if(W=ee||Ve?{}:Qu(s),!G)return ee?d1(s,Om(W,s)):c1(s,au(W,s))}else{if(!Ie[ye])return N?s:{};W=y1(s,ye,G)}}F||(F=new ri);var Ge=F.get(s);if(Ge)return Ge;F.set(s,W),Pf(s)?s.forEach(function(Qe){W.add(Qn(Qe,u,_,Qe,s,F))}):Cf(s)&&s.forEach(function(Qe,gt){W.set(gt,Qn(Qe,u,_,gt,s,F))});var Ye=me?ee?io:no:ee?Rn:on,ot=be?t:Ye(s);return Gt(ot||s,function(Qe,gt){ot&&(gt=Qe,Qe=s[gt]),Ar(W,gt,Qn(Qe,u,_,gt,s,F))}),W}function Mm(s){var u=on(s);return function(_){return su(_,s,u)}}function su(s,u,_){var k=_.length;if(s==null)return!k;for(s=Rt(s);k--;){var N=_[k],F=u[N],W=s[N];if(W===t&&!(N in s)||!F(W))return!1}return!0}function ou(s,u,_){if(typeof s!="function")throw new Jn(a);return Fr(function(){s.apply(t,_)},u)}function Er(s,u,_,k){var N=-1,F=da,W=!0,G=s.length,ee=[],me=u.length;if(!G)return ee;_&&(u=Wt(u,Un(_))),k?(F=Cs,W=!1):u.length>=l&&(F=yr,W=!1,u=new Tl(u));e:for(;++N<G;){var be=s[N],ye=_==null?be:_(be);if(be=k||be!==0?be:0,W&&ye===ye){for(var Ve=me;Ve--;)if(u[Ve]===ye)continue e;ee.push(be)}else F(u,ye,k)||ee.push(be)}return ee}var il=Ou(di),uu=Ou(zs,!0);function Fm(s,u){var _=!0;return il(s,function(k,N,F){return _=!!u(k,N,F),_}),_}function Aa(s,u,_){for(var k=-1,N=s.length;++k<N;){var F=s[k],W=u(F);if(W!=null&&(G===t?W===W&&!Bn(W):_(W,G)))var G=W,ee=F}return ee}function Um(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:Tf(k);_<k;)s[_++]=u;return s}function fu(s,u){var _=[];return il(s,function(k,N,F){u(k,N,F)&&_.push(k)}),_}function cn(s,u,_,k,N){var F=-1,W=s.length;for(_||(_=N1),N||(N=[]);++F<W;){var G=s[F];u>0&&_(G)?u>1?cn(G,u-1,_,k,N):el(N,G):k||(N[N.length]=G)}return N}var Us=Mu(),cu=Mu(!0);function di(s,u){return s&&Us(s,u,on)}function zs(s,u){return s&&cu(s,u,on)}function Ea(s,u){return xi(u,function(_){return Mi(s[_])})}function Ll(s,u){u=rl(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[gi(u[_++])];return _&&_==k?s:t}function du(s,u,_){var k=u(s);return it(s)?k:el(k,_(s))}function Sn(s){return s==null?s===t?ni:Nn:Pl&&Pl in Rt(s)?w1(s):D1(s)}function Bs(s,u){return s>u}function zm(s,u){return s!=null&&It.call(s,u)}function Bm(s,u){return s!=null&&u in Rt(s)}function Hm(s,u,_){return s>=mn(u,_)&&s<rn(u,_)}function Hs(s,u,_){for(var k=_?Cs:da,N=s[0].length,F=s.length,W=F,G=ue(F),ee=1/0,me=[];W--;){var be=s[W];W&&u&&(be=Wt(be,Un(u))),ee=mn(be.length,ee),G[W]=!_&&(u||N>=120&&be.length>=120)?new Tl(W&&be):t}be=s[0];var ye=-1,Ve=G[0];e:for(;++ye<N&&me.length<ee;){var Ge=be[ye],Ye=u?u(Ge):Ge;if(Ge=_||Ge!==0?Ge:0,!(Ve?yr(Ve,Ye):k(me,Ye,_))){for(W=F;--W;){var ot=G[W];if(!(ot?yr(ot,Ye):k(s[W],Ye,_)))continue e}Ve&&Ve.push(Ye),me.push(Ge)}}return me}function Wm(s,u,_,k){return di(s,function(N,F,W){u(k,_(N),F,W)}),k}function Rr(s,u,_){u=rl(u,s),s=xu(s,u);var k=s==null?s:s[gi(Xn(u))];return k==null?t:nn(k,s,_)}function hu(s){return Qt(s)&&Sn(s)==te}function qm(s){return Qt(s)&&Sn(s)==Kn}function Gm(s){return Qt(s)&&Sn(s)==ze}function Dr(s,u,_,k,N){return s===u?!0:s==null||u==null||!Qt(s)&&!Qt(u)?s!==s&&u!==u:Km(s,u,_,k,Dr,N)}function Km(s,u,_,k,N,F){var W=it(s),G=it(u),ee=W?de:bn(s),me=G?de:bn(u);ee=ee==te?Ft:ee,me=me==te?Ft:me;var be=ee==Ft,ye=me==Ft,Ve=ee==me;if(Ve&&sl(s)){if(!sl(u))return!1;W=!0,be=!1}if(Ve&&!be)return F||(F=new ri),W||lr(s)?ju(s,u,_,k,N,F):b1(s,u,ee,_,k,N,F);if(!(_&m)){var Ge=be&&It.call(s,"__wrapped__"),Ye=ye&&It.call(u,"__wrapped__");if(Ge||Ye){var ot=Ge?s.value():s,Qe=Ye?u.value():u;return F||(F=new ri),N(ot,Qe,_,k,F)}}return Ve?(F||(F=new ri),v1(s,u,_,k,N,F)):!1}function jm(s){return Qt(s)&&bn(s)==wt}function Ws(s,u,_,k){var N=_.length,F=N,W=!k;if(s==null)return!F;for(s=Rt(s);N--;){var G=_[N];if(W&&G[2]?G[1]!==s[G[0]]:!(G[0]in s))return!1}for(;++N<F;){G=_[N];var ee=G[0],me=s[ee],be=G[1];if(W&&G[2]){if(me===t&&!(ee in s))return!1}else{var ye=new ri;if(k)var Ve=k(me,be,ee,s,u,ye);if(!(Ve===t?Dr(be,me,m|v,k,ye):Ve))return!1}}return!0}function gu(s){if(!Kt(s)||I1(s))return!1;var u=Mi(s)?jp:_r;return u.test(El(s))}function Jm(s){return Qt(s)&&Sn(s)==at}function Ym(s){return Qt(s)&&bn(s)==Ot}function Qm(s){return Qt(s)&&Ya(s.length)&&!!he[Sn(s)]}function _u(s){return typeof s=="function"?s:s==null?Dn:typeof s=="object"?it(s)?bu(s[0],s[1]):mu(s):Uf(s)}function qs(s){if(!Mr(s))return $p(s);var u=[];for(var _ in Rt(s))It.call(s,_)&&_!="constructor"&&u.push(_);return u}function Zm(s){if(!Kt(s))return R1(s);var u=Mr(s),_=[];for(var k in s)k=="constructor"&&(u||!It.call(s,k))||_.push(k);return _}function Gs(s,u){return s<u}function pu(s,u){var _=-1,k=En(s)?ue(s.length):[];return il(s,function(N,F,W){k[++_]=u(N,F,W)}),k}function mu(s){var u=ro(s);return u.length==1&&u[0][2]?Xu(u[0][0],u[0][1]):function(_){return _===s||Ws(_,s,u)}}function bu(s,u){return so(s)&&Zu(u)?Xu(gi(s),u):function(_){var k=bo(_,s);return k===t&&k===u?vo(_,s):Dr(u,k,m|v)}}function Ra(s,u,_,k,N){s!==u&&Us(u,function(F,W){if(N||(N=new ri),Kt(F))Xm(s,u,W,_,Ra,k,N);else{var G=k?k(uo(s,W),F,W+"",s,u,N):t;G===t&&(G=F),Ms(s,W,G)}},Rn)}function Xm(s,u,_,k,N,F,W){var G=uo(s,_),ee=uo(u,_),me=W.get(ee);if(me){Ms(s,_,me);return}var be=F?F(G,ee,_+"",s,u,W):t,ye=be===t;if(ye){var Ve=it(ee),Ge=!Ve&&sl(ee),Ye=!Ve&&!Ge&&lr(ee);be=ee,Ve||Ge||Ye?it(G)?be=G:Xt(G)?be=An(G):Ge?(ye=!1,be=Au(ee,!0)):Ye?(ye=!1,be=Eu(ee,!0)):be=[]:Ur(ee)||Rl(ee)?(be=G,Rl(G)?be=If(G):(!Kt(G)||Mi(G))&&(be=Qu(ee))):ye=!1}ye&&(W.set(ee,be),N(be,ee,k,F,W),W.delete(ee)),Ms(s,_,be)}function vu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Oi(u,_)?s[u]:t}function wu(s,u,_){u.length?u=Wt(u,function(F){return it(F)?function(W){return Ll(W,F.length===1?F[0]:F)}:F}):u=[Dn];var k=-1;u=Wt(u,Un(je()));var N=pu(s,function(F,W,G){var ee=Wt(u,function(me){return me(F)});return{criteria:ee,index:++k,value:F}});return yp(N,function(F,W){return f1(F,W,_)})}function $m(s,u){return ku(s,u,function(_,k){return vo(s,k)})}function ku(s,u,_){for(var k=-1,N=u.length,F={};++k<N;){var W=u[k],G=Ll(s,W);_(G,W)&&Vr(F,rl(W,s),G)}return F}function xm(s){return function(u){return Ll(u,s)}}function Ks(s,u,_,k){var N=k?Cp:Jl,F=-1,W=u.length,G=s;for(s===u&&(u=An(u)),_&&(G=Wt(s,Un(_)));++F<W;)for(var ee=0,me=u[F],be=_?_(me):me;(ee=N(G,be,ee,k))>-1;)G!==s&&Sa.call(G,ee,1),Sa.call(s,ee,1);return s}function Su(s,u){for(var _=s?u.length:0,k=_-1;_--;){var N=u[_];if(_==k||N!==F){var F=N;Oi(N)?Sa.call(s,N,1):Qs(s,N)}}return s}function js(s,u){return s+Pa(nu()*(u-s+1))}function e1(s,u,_,k){for(var N=-1,F=rn(ya((u-s)/(_||1)),0),W=ue(F);F--;)W[k?F:++N]=s,s+=_;return W}function Js(s,u){var _="";if(!s||u<1||u>_e)return _;do u%2&&(_+=s),u=Pa(u/2),u&&(s+=s);while(u);return _}function ut(s,u){return fo($u(s,u,Dn),s+"")}function t1(s){return ru(rr(s))}function n1(s,u){var _=rr(s);return Wa(_,Il(u,0,_.length))}function Vr(s,u,_,k){if(!Kt(s))return s;u=rl(u,s);for(var N=-1,F=u.length,W=F-1,G=s;G!=null&&++N<F;){var ee=gi(u[N]),me=_;if(ee==="__proto__"||ee==="constructor"||ee==="prototype")return s;if(N!=W){var be=G[ee];me=k?k(be,ee,G):t,me===t&&(me=Kt(be)?be:Oi(u[N+1])?[]:{})}Ar(G,ee,me),G=G[ee]}return s}var Cu=Na?function(s,u){return Na.set(s,u),s}:Dn,i1=Ca?function(s,u){return Ca(s,"toString",{configurable:!0,enumerable:!1,value:ko(u),writable:!0})}:Dn;function l1(s){return Wa(rr(s))}function Zn(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=ue(N);++k<N;)F[k]=s[k+u];return F}function r1(s,u){var _;return il(s,function(k,N,F){return _=u(k,N,F),!_}),!!_}function Da(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,W=s[F];W!==null&&!Bn(W)&&(_?W<=u:W<u)?k=F+1:N=F}return N}return Ys(s,u,Dn,_)}function Ys(s,u,_,k){var N=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var W=u!==u,G=u===null,ee=Bn(u),me=u===t;N<F;){var be=Pa((N+F)/2),ye=_(s[be]),Ve=ye!==t,Ge=ye===null,Ye=ye===ye,ot=Bn(ye);if(W)var Qe=k||Ye;else me?Qe=Ye&&(k||Ve):G?Qe=Ye&&Ve&&(k||!Ge):ee?Qe=Ye&&Ve&&!Ge&&(k||!ot):Ge||ot?Qe=!1:Qe=k?ye<=u:ye<u;Qe?N=be+1:F=be}return mn(F,re)}function yu(s,u){for(var _=-1,k=s.length,N=0,F=[];++_<k;){var W=s[_],G=u?u(W):W;if(!_||!ai(G,ee)){var ee=G;F[N++]=W===0?0:W}}return F}function Pu(s){return typeof s=="number"?s:Bn(s)?se:+s}function zn(s){if(typeof s=="string")return s;if(it(s))return Wt(s,zn)+"";if(Bn(s))return iu?iu.call(s):"";var u=s+"";return u=="0"&&1/s==-j?"-0":u}function ll(s,u,_){var k=-1,N=da,F=s.length,W=!0,G=[],ee=G;if(_)W=!1,N=Cs;else if(F>=l){var me=u?null:p1(s);if(me)return ga(me);W=!1,N=yr,ee=new Tl}else ee=u?[]:G;e:for(;++k<F;){var be=s[k],ye=u?u(be):be;if(be=_||be!==0?be:0,W&&ye===ye){for(var Ve=ee.length;Ve--;)if(ee[Ve]===ye)continue e;u&&ee.push(ye),G.push(be)}else N(ee,ye,_)||(ee!==G&&ee.push(ye),G.push(be))}return G}function Qs(s,u){return u=rl(u,s),s=xu(s,u),s==null||delete s[gi(Xn(u))]}function Nu(s,u,_,k){return Vr(s,u,_(Ll(s,u)),k)}function Va(s,u,_,k){for(var N=s.length,F=k?N:-1;(k?F--:++F<N)&&u(s[F],F,s););return _?Zn(s,k?0:F,k?F+1:N):Zn(s,k?F+1:0,k?N:F)}function Tu(s,u){var _=s;return _ instanceof _t&&(_=_.value()),ys(u,function(k,N){return N.func.apply(N.thisArg,el([k],N.args))},_)}function Zs(s,u,_){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var N=-1,F=ue(k);++N<k;)for(var W=s[N],G=-1;++G<k;)G!=N&&(F[N]=Er(F[N]||W,s[G],u,_));return ll(cn(F,1),u,_)}function Iu(s,u,_){for(var k=-1,N=s.length,F=u.length,W={};++k<N;){var G=k<F?u[k]:t;_(W,s[k],G)}return W}function Xs(s){return Xt(s)?s:[]}function $s(s){return typeof s=="function"?s:Dn}function rl(s,u){return it(s)?s:so(s,u)?[s]:lf(Nt(s))}var a1=ut;function al(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Zn(s,u,_)}var Lu=Jp||function(s){return xe.clearTimeout(s)};function Au(s,u){if(u)return s.slice();var _=s.length,k=Xo?Xo(_):new s.constructor(_);return s.copy(k),k}function xs(s){var u=new s.constructor(s.byteLength);return new wa(u).set(new wa(s)),u}function s1(s,u){var _=u?xs(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function o1(s){var u=new s.constructor(s.source,Ki.exec(s));return u.lastIndex=s.lastIndex,u}function u1(s){return Lr?Rt(Lr.call(s)):{}}function Eu(s,u){var _=u?xs(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Ru(s,u){if(s!==u){var _=s!==t,k=s===null,N=s===s,F=Bn(s),W=u!==t,G=u===null,ee=u===u,me=Bn(u);if(!G&&!me&&!F&&s>u||F&&W&&ee&&!G&&!me||k&&W&&ee||!_&&ee||!N)return 1;if(!k&&!F&&!me&&s<u||me&&_&&N&&!k&&!F||G&&_&&N||!W&&N||!ee)return-1}return 0}function f1(s,u,_){for(var k=-1,N=s.criteria,F=u.criteria,W=N.length,G=_.length;++k<W;){var ee=Ru(N[k],F[k]);if(ee){if(k>=G)return ee;var me=_[k];return ee*(me=="desc"?-1:1)}}return s.index-u.index}function Du(s,u,_,k){for(var N=-1,F=s.length,W=_.length,G=-1,ee=u.length,me=rn(F-W,0),be=ue(ee+me),ye=!k;++G<ee;)be[G]=u[G];for(;++N<W;)(ye||N<F)&&(be[_[N]]=s[N]);for(;me--;)be[G++]=s[N++];return be}function Vu(s,u,_,k){for(var N=-1,F=s.length,W=-1,G=_.length,ee=-1,me=u.length,be=rn(F-G,0),ye=ue(be+me),Ve=!k;++N<be;)ye[N]=s[N];for(var Ge=N;++ee<me;)ye[Ge+ee]=u[ee];for(;++W<G;)(Ve||N<F)&&(ye[Ge+_[W]]=s[N++]);return ye}function An(s,u){var _=-1,k=s.length;for(u||(u=ue(k));++_<k;)u[_]=s[_];return u}function hi(s,u,_,k){var N=!_;_||(_={});for(var F=-1,W=u.length;++F<W;){var G=u[F],ee=k?k(_[G],s[G],G,_,s):t;ee===t&&(ee=s[G]),N?Ri(_,G,ee):Ar(_,G,ee)}return _}function c1(s,u){return hi(s,ao(s),u)}function d1(s,u){return hi(s,Ju(s),u)}function Oa(s,u){return function(_,k){var N=it(_)?pn:Vm,F=u?u():{};return N(_,s,je(k,2),F)}}function tr(s){return ut(function(u,_){var k=-1,N=_.length,F=N>1?_[N-1]:t,W=N>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(N--,F):t,W&&Cn(_[0],_[1],W)&&(F=N<3?t:F,N=1),u=Rt(u);++k<N;){var G=_[k];G&&s(u,G,k,F)}return u})}function Ou(s,u){return function(_,k){if(_==null)return _;if(!En(_))return s(_,k);for(var N=_.length,F=u?N:-1,W=Rt(_);(u?F--:++F<N)&&k(W[F],F,W)!==!1;);return _}}function Mu(s){return function(u,_,k){for(var N=-1,F=Rt(u),W=k(u),G=W.length;G--;){var ee=W[s?G:++N];if(_(F[ee],ee,F)===!1)break}return u}}function h1(s,u,_){var k=u&C,N=Or(s);function F(){var W=this&&this!==xe&&this instanceof F?N:s;return W.apply(k?_:this,arguments)}return F}function Fu(s){return function(u){u=Nt(u);var _=Yl(u)?li(u):t,k=_?_[0]:u.charAt(0),N=_?al(_,1).join(""):u.slice(1);return k[s]()+N}}function nr(s){return function(u){return ys(Mf(Of(u).replace(vs,"")),s,"")}}function Or(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 _=er(s.prototype),k=s.apply(_,u);return Kt(k)?k:_}}function g1(s,u,_){var k=Or(s);function N(){for(var F=arguments.length,W=ue(F),G=F,ee=ir(N);G--;)W[G]=arguments[G];var me=F<3&&W[0]!==ee&&W[F-1]!==ee?[]:tl(W,ee);if(F-=me.length,F<_)return Wu(s,u,Ma,N.placeholder,t,W,me,t,t,_-F);var be=this&&this!==xe&&this instanceof N?k:s;return nn(be,this,W)}return N}function Uu(s){return function(u,_,k){var N=Rt(u);if(!En(u)){var F=je(_,3);u=on(u),_=function(G){return F(N[G],G,N)}}var W=s(u,_,k);return W>-1?N[F?u[W]:W]:t}}function zu(s){return Vi(function(u){var _=u.length,k=_,N=Yn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new Jn(a);if(N&&!W&&Ba(F)=="wrapper")var W=new Yn([],!0)}for(k=W?k:_;++k<_;){F=u[k];var G=Ba(F),ee=G=="wrapper"?lo(F):t;ee&&oo(ee[0])&&ee[1]==(B|T|V|O)&&!ee[4].length&&ee[9]==1?W=W[Ba(ee[0])].apply(W,ee[3]):W=F.length==1&&oo(F)?W[G]():W.thru(F)}return function(){var me=arguments,be=me[0];if(W&&me.length==1&&it(be))return W.plant(be).value();for(var ye=0,Ve=_?u[ye].apply(this,me):be;++ye<_;)Ve=u[ye].call(this,Ve);return Ve}})}function Ma(s,u,_,k,N,F,W,G,ee,me){var be=u&B,ye=u&C,Ve=u&y,Ge=u&(T|E),Ye=u&D,ot=Ve?t:Or(s);function Qe(){for(var gt=arguments.length,pt=ue(gt),Hn=gt;Hn--;)pt[Hn]=arguments[Hn];if(Ge)var yn=ir(Qe),Wn=Np(pt,yn);if(k&&(pt=Du(pt,k,N,Ge)),F&&(pt=Vu(pt,F,W,Ge)),gt-=Wn,Ge&><me){var $t=tl(pt,yn);return Wu(s,u,Ma,Qe.placeholder,_,pt,$t,G,ee,me-gt)}var si=ye?_:this,Ui=Ve?si[s]:s;return gt=pt.length,G?pt=V1(pt,G):Ye&>>1&&pt.reverse(),be&&ee<gt&&(pt.length=ee),this&&this!==xe&&this instanceof Qe&&(Ui=ot||Or(Ui)),Ui.apply(si,pt)}return Qe}function Bu(s,u){return function(_,k){return Wm(_,s,u(k),{})}}function Fa(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"?(_=zn(_),k=zn(k)):(_=Pu(_),k=Pu(k)),N=s(_,k)}return N}}function eo(s){return Vi(function(u){return u=Wt(u,Un(je())),ut(function(_){var k=this;return s(u,function(N){return nn(N,k,_)})})})}function Ua(s,u){u=u===t?" ":zn(u);var _=u.length;if(_<2)return _?Js(u,s):u;var k=Js(u,ya(s/Ql(u)));return Yl(u)?al(li(k),0,s).join(""):k.slice(0,s)}function _1(s,u,_,k){var N=u&C,F=Or(s);function W(){for(var G=-1,ee=arguments.length,me=-1,be=k.length,ye=ue(be+ee),Ve=this&&this!==xe&&this instanceof W?F:s;++me<be;)ye[me]=k[me];for(;ee--;)ye[me++]=arguments[++G];return nn(Ve,N?_:this,ye)}return W}function Hu(s){return function(u,_,k){return k&&typeof k!="number"&&Cn(u,_,k)&&(_=k=t),u=Fi(u),_===t?(_=u,u=0):_=Fi(_),k=k===t?u<_?1:-1:Fi(k),e1(u,_,k,s)}}function za(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=$n(u),_=$n(_)),s(u,_)}}function Wu(s,u,_,k,N,F,W,G,ee,me){var be=u&T,ye=be?W:t,Ve=be?t:W,Ge=be?F:t,Ye=be?t:F;u|=be?V:I,u&=~(be?I:V),u&P||(u&=~(C|y));var ot=[s,u,N,Ge,ye,Ye,Ve,G,ee,me],Qe=_.apply(t,ot);return oo(s)&&ef(Qe,ot),Qe.placeholder=k,tf(Qe,s,u)}function to(s){var u=ln[s];return function(_,k){if(_=$n(_),k=k==null?0:mn(st(k),292),k&&tu(_)){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 p1=$l&&1/ga(new $l([,-0]))[1]==j?function(s){return new $l(s)}:yo;function qu(s){return function(u){var _=bn(u);return _==wt?Es(u):_==Ot?Dp(u):Pp(u,s(u))}}function Di(s,u,_,k,N,F,W,G){var ee=u&y;if(!ee&&typeof s!="function")throw new Jn(a);var me=k?k.length:0;if(me||(u&=~(V|I),k=N=t),W=W===t?W:rn(st(W),0),G=G===t?G:st(G),me-=N?N.length:0,u&I){var be=k,ye=N;k=N=t}var Ve=ee?t:lo(s),Ge=[s,u,_,k,N,be,ye,F,W,G];if(Ve&&E1(Ge,Ve),s=Ge[0],u=Ge[1],_=Ge[2],k=Ge[3],N=Ge[4],G=Ge[9]=Ge[9]===t?ee?0:s.length:rn(Ge[9]-me,0),!G&&u&(T|E)&&(u&=~(T|E)),!u||u==C)var Ye=h1(s,u,_);else u==T||u==E?Ye=g1(s,u,G):(u==V||u==(C|V))&&!N.length?Ye=_1(s,u,_,k):Ye=Ma.apply(t,Ge);var ot=Ve?Cu:ef;return tf(ot(Ye,Ge),s,u)}function Gu(s,u,_,k){return s===t||ai(s,Xl[_])&&!It.call(k,_)?u:s}function Ku(s,u,_,k,N,F){return Kt(s)&&Kt(u)&&(F.set(u,s),Ra(s,u,t,Ku,F),F.delete(u)),s}function m1(s){return Ur(s)?t:s}function ju(s,u,_,k,N,F){var W=_&m,G=s.length,ee=u.length;if(G!=ee&&!(W&&ee>G))return!1;var me=F.get(s),be=F.get(u);if(me&&be)return me==u&&be==s;var ye=-1,Ve=!0,Ge=_&v?new Tl:t;for(F.set(s,u),F.set(u,s);++ye<G;){var Ye=s[ye],ot=u[ye];if(k)var Qe=W?k(ot,Ye,ye,u,s,F):k(Ye,ot,ye,s,u,F);if(Qe!==t){if(Qe)continue;Ve=!1;break}if(Ge){if(!Ps(u,function(gt,pt){if(!yr(Ge,pt)&&(Ye===gt||N(Ye,gt,_,k,F)))return Ge.push(pt)})){Ve=!1;break}}else if(!(Ye===ot||N(Ye,ot,_,k,F))){Ve=!1;break}}return F.delete(s),F.delete(u),Ve}function b1(s,u,_,k,N,F,W){switch(_){case Yt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Kn:return!(s.byteLength!=u.byteLength||!F(new wa(s),new wa(u)));case tt:case ze:case qt:return ai(+s,+u);case Ct:return s.name==u.name&&s.message==u.message;case at:case zt:return s==u+"";case wt:var G=Es;case Ot:var ee=k&m;if(G||(G=ga),s.size!=u.size&&!ee)return!1;var me=W.get(s);if(me)return me==u;k|=v,W.set(s,u);var be=ju(G(s),G(u),k,N,F,W);return W.delete(s),be;case wn:if(Lr)return Lr.call(s)==Lr.call(u)}return!1}function v1(s,u,_,k,N,F){var W=_&m,G=no(s),ee=G.length,me=no(u),be=me.length;if(ee!=be&&!W)return!1;for(var ye=ee;ye--;){var Ve=G[ye];if(!(W?Ve in u:It.call(u,Ve)))return!1}var Ge=F.get(s),Ye=F.get(u);if(Ge&&Ye)return Ge==u&&Ye==s;var ot=!0;F.set(s,u),F.set(u,s);for(var Qe=W;++ye<ee;){Ve=G[ye];var gt=s[Ve],pt=u[Ve];if(k)var Hn=W?k(pt,gt,Ve,u,s,F):k(gt,pt,Ve,s,u,F);if(!(Hn===t?gt===pt||N(gt,pt,_,k,F):Hn)){ot=!1;break}Qe||(Qe=Ve=="constructor")}if(ot&&!Qe){var yn=s.constructor,Wn=u.constructor;yn!=Wn&&"constructor"in s&&"constructor"in u&&!(typeof yn=="function"&&yn instanceof yn&&typeof Wn=="function"&&Wn instanceof Wn)&&(ot=!1)}return F.delete(s),F.delete(u),ot}function Vi(s){return fo($u(s,t,of),s+"")}function no(s){return du(s,on,ao)}function io(s){return du(s,Rn,Ju)}var lo=Na?function(s){return Na.get(s)}:yo;function Ba(s){for(var u=s.name+"",_=xl[u],k=It.call(xl,u)?_.length:0;k--;){var N=_[k],F=N.func;if(F==null||F==s)return N.name}return u}function ir(s){var u=It.call(M,"placeholder")?M:s;return u.placeholder}function je(){var s=M.iteratee||So;return s=s===So?_u:s,arguments.length?s(arguments[0],arguments[1]):s}function Ha(s,u){var _=s.__data__;return T1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ro(s){for(var u=on(s),_=u.length;_--;){var k=u[_],N=s[k];u[_]=[k,N,Zu(N)]}return u}function Al(s,u){var _=Ap(s,u);return gu(_)?_:t}function w1(s){var u=It.call(s,Pl),_=s[Pl];try{s[Pl]=t;var k=!0}catch{}var N=ba.call(s);return k&&(u?s[Pl]=_:delete s[Pl]),N}var ao=Ds?function(s){return s==null?[]:(s=Rt(s),xi(Ds(s),function(u){return xo.call(s,u)}))}:Po,Ju=Ds?function(s){for(var u=[];s;)el(u,ao(s)),s=ka(s);return u}:Po,bn=Sn;(Vs&&bn(new Vs(new ArrayBuffer(1)))!=Yt||Nr&&bn(new Nr)!=wt||Os&&bn(Os.resolve())!=Pe||$l&&bn(new $l)!=Ot||Tr&&bn(new Tr)!=en)&&(bn=function(s){var u=Sn(s),_=u==Ft?s.constructor:t,k=_?El(_):"";if(k)switch(k){case nm:return Yt;case im:return wt;case lm:return Pe;case rm:return Ot;case am:return en}return u});function k1(s,u,_){for(var k=-1,N=_.length;++k<N;){var F=_[k],W=F.size;switch(F.type){case"drop":s+=W;break;case"dropRight":u-=W;break;case"take":u=mn(u,s+W);break;case"takeRight":s=rn(s,u-W);break}}return{start:s,end:u}}function S1(s){var u=s.match(Mn);return u?u[1].split(Fl):[]}function Yu(s,u,_){u=rl(u,s);for(var k=-1,N=u.length,F=!1;++k<N;){var W=gi(u[k]);if(!(F=s!=null&&_(s,W)))break;s=s[W]}return F||++k!=N?F:(N=s==null?0:s.length,!!N&&Ya(N)&&Oi(W,N)&&(it(s)||Rl(s)))}function C1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&It.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function Qu(s){return typeof s.constructor=="function"&&!Mr(s)?er(ka(s)):{}}function y1(s,u,_){var k=s.constructor;switch(u){case Kn:return xs(s);case tt:case ze:return new k(+s);case Yt:return s1(s,_);case Tn:case ki:case Si:case hn:case Ci:case yi:case Pi:case Ni:case Ti:return Eu(s,_);case wt:return new k;case qt:case zt:return new k(s);case at:return o1(s);case Ot:return new k;case wn:return u1(s)}}function P1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(jn,`{
|
|
34
34
|
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function N1(s){return it(s)||Rl(s)||!!(eu&&s&&s[eu])}function Mi(s,u){var _=typeof s;return u=u??_e,!!u&&(_=="number"||_!="symbol"&&kl.test(s))&&s>-1&&s%1==0&&s<u}function Cn(s,u,_){if(!Kt(_))return!1;var k=typeof u;return(k=="number"?En(_)&&Mi(u,_.length):k=="string"&&u in _)?ri(_[u],s):!1}function so(s,u){if(it(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Bn(s)?!0:Ne.test(s)||!Z.test(s)||u!=null&&s in Rt(u)}function T1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function oo(s){var u=Br(s),_=O[u];if(typeof _!="function"||!(u in _t.prototype))return!1;if(s===_)return!0;var k=lo(_);return!!k&&s===k[0]}function I1(s){return!!Zo&&Zo in s}var L1=pr?Oi:No;function Oa(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||Xl;return s===_}function Zu(s){return s===s&&!Kt(s)}function Xu(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Rt(_))}}function A1(s){var u=jr(s,function(k){return _.size===g&&_.clear(),k}),_=u.cache;return u}function E1(s,u){var _=s[1],k=u[1],N=_|k,F=N<(C|y|B),W=k==B&&_==T||k==B&&_==M&&s[7].length<=u[8]||k==(B|M)&&u[7].length<=u[8]&&_==T;if(!(F||W))return s;k&C&&(s[2]=u[2],N|=_&C?0:P);var G=u[3];if(G){var ee=s[3];s[3]=ee?Du(ee,G,u[4]):G,s[4]=ee?tl(s[3],d):u[4]}return G=u[5],G&&(ee=s[5],s[5]=ee?Vu(ee,G,u[6]):G,s[6]=ee?tl(s[5],d):u[6]),G=u[7],G&&(s[7]=G),k&B&&(s[8]=s[8]==null?u[8]:mn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function R1(s){var u=[];if(s!=null)for(var _ in Rt(s))u.push(_);return u}function D1(s){return br.call(s)}function $u(s,u,_){return u=an(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,F=an(k.length-u,0),W=ue(F);++N<F;)W[N]=k[u+N];N=-1;for(var G=ue(u+1);++N<u;)G[N]=k[N];return G[u]=_(W),nn(s,this,G)}}function xu(s,u){return u.length<2?s:Ll(s,Zn(u,0,-1))}function V1(s,u){for(var _=s.length,k=mn(u.length,_),N=An(s);k--;){var F=u[k];s[k]=Mi(F,_)?N[F]:t}return s}function uo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var ef=nf(Cu),Fa=Qp||function(s,u){return xe.setTimeout(s,u)},fo=nf(i1);function tf(s,u,_){var k=u+"";return fo(s,P1(k,M1(S1(k),_)))}function nf(s){var u=0,_=0;return function(){var k=xp(),N=ce-(k-_);if(_=k,N>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function Wr(s,u){var _=-1,k=s.length,N=k-1;for(u=u===t?k:u;++_<u;){var F=js(_,N),W=s[F];s[F]=s[_],s[_]=W}return s.length=u,s}var lf=A1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(nt,function(_,k,N,F){u.push(N?F.replace(ga,"$1"):k||_)}),u});function gi(s){if(typeof s=="string"||Bn(s))return s;var u=s+"";return u=="0"&&1/s==-j?"-0":u}function El(s){if(s!=null){try{return mr.call(s)}catch{}try{return s+""}catch{}}return""}function M1(s,u){return Gt(We,function(_){var k="_."+_[0];u&_[1]&&!dr(s,k)&&s.push(k)}),s.sort()}function af(s){if(s instanceof _t)return s.clone();var u=new Yn(s.__wrapped__,s.__chain__);return u.__actions__=An(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function O1(s,u,_){(_?Cn(s,u,_):u===t)?u=1:u=an(st(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,F=0,W=ue(yr(k/u));N<k;)W[F++]=Zn(s,N,N+=u);return W}function F1(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 U1(){var s=arguments.length;if(!s)return[];for(var u=ue(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(it(_)?An(_):[_],cn(u,1))}var z1=ut(function(s,u){return Xt(s)?Ea(s,cn(u,1,Xt,!0)):[]}),B1=ut(function(s,u){var _=Xn(u);return Xt(_)&&(_=t),Xt(s)?Ea(s,cn(u,1,Xt,!0),je(_,2)):[]}),H1=ut(function(s,u){var _=Xn(u);return Xt(_)&&(_=t),Xt(s)?Ea(s,cn(u,1,Xt,!0),t,_):[]});function W1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),Zn(s,u<0?0:u,k)):[]}function q1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Zn(s,0,u<0?0:u)):[]}function G1(s,u){return s&&s.length?Vr(s,je(u,3),!0,!0):[]}function K1(s,u){return s&&s.length?Vr(s,je(u,3),!0):[]}function j1(s,u,_,k){var N=s==null?0:s.length;return N?(_&&typeof _!="number"&&Cn(s,u,_)&&(_=0,k=N),Um(s,u,_,k)):[]}function rf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=an(k+N,0)),hr(s,je(u,3),N)}function sf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return _!==t&&(N=st(_),N=_<0?an(k+N,0):mn(N,k-1)),hr(s,je(u,3),N,!0)}function of(s){var u=s==null?0:s.length;return u?cn(s,1):[]}function J1(s){var u=s==null?0:s.length;return u?cn(s,j):[]}function Y1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:st(u),cn(s,u)):[]}function Q1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var N=s[u];k[N[0]]=N[1]}return k}function uf(s){return s&&s.length?s[0]:t}function Z1(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=an(k+N,0)),Jl(s,u,N)}function X1(s){var u=s==null?0:s.length;return u?Zn(s,0,-1):[]}var $1=ut(function(s){var u=Wt(s,Xs);return u.length&&u[0]===s[0]?Hs(u):[]}),x1=ut(function(s){var u=Xn(s),_=Wt(s,Xs);return u===Xn(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Hs(_,je(u,2)):[]}),eb=ut(function(s){var u=Xn(s),_=Wt(s,Xs);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Hs(_,t,u):[]});function tb(s,u){return s==null?"":Xp.call(s,u)}function Xn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function nb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k;return _!==t&&(N=st(_),N=N<0?an(k+N,0):mn(N,k-1)),u===u?Mp(s,u,N):hr(s,Wo,N,!0)}function ib(s,u){return s&&s.length?vu(s,st(u)):t}var lb=ut(ff);function ff(s,u){return s&&s.length&&u&&u.length?Ks(s,u):s}function ab(s,u,_){return s&&s.length&&u&&u.length?Ks(s,u,je(_,2)):s}function rb(s,u,_){return s&&s.length&&u&&u.length?Ks(s,u,t,_):s}var sb=Vi(function(s,u){var _=s==null?0:s.length,k=Fs(s,u);return Su(s,Wt(u,function(N){return Mi(N,_)?+N:N}).sort(Ru)),k});function ob(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,N=[],F=s.length;for(u=je(u,3);++k<F;){var W=s[k];u(W,k,s)&&(_.push(W),N.push(k))}return Su(s,N),_}function co(s){return s==null?s:tm.call(s)}function ub(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&Cn(s,u,_)?(u=0,_=k):(u=u==null?0:st(u),_=_===t?k:st(_)),Zn(s,u,_)):[]}function fb(s,u){return Dr(s,u)}function cb(s,u,_){return Ys(s,u,je(_,2))}function db(s,u){var _=s==null?0:s.length;if(_){var k=Dr(s,u);if(k<_&&ri(s[k],u))return k}return-1}function hb(s,u){return Dr(s,u,!0)}function gb(s,u,_){return Ys(s,u,je(_,2),!0)}function _b(s,u){var _=s==null?0:s.length;if(_){var k=Dr(s,u,!0)-1;if(ri(s[k],u))return k}return-1}function pb(s){return s&&s.length?yu(s):[]}function mb(s,u){return s&&s.length?yu(s,je(u,2)):[]}function bb(s){var u=s==null?0:s.length;return u?Zn(s,1,u):[]}function vb(s,u,_){return s&&s.length?(u=_||u===t?1:st(u),Zn(s,0,u<0?0:u)):[]}function wb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Zn(s,u<0?0:u,k)):[]}function kb(s,u){return s&&s.length?Vr(s,je(u,3),!1,!0):[]}function Sb(s,u){return s&&s.length?Vr(s,je(u,3)):[]}var Cb=ut(function(s){return ll(cn(s,1,Xt,!0))}),yb=ut(function(s){var u=Xn(s);return Xt(u)&&(u=t),ll(cn(s,1,Xt,!0),je(u,2))}),Pb=ut(function(s){var u=Xn(s);return u=typeof u=="function"?u:t,ll(cn(s,1,Xt,!0),t,u)});function Nb(s){return s&&s.length?ll(s):[]}function Tb(s,u){return s&&s.length?ll(s,je(u,2)):[]}function Ib(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function ho(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(_){if(Xt(_))return u=an(_.length,u),!0}),Ls(u,function(_){return Wt(s,Ns(_))})}function cf(s,u){if(!(s&&s.length))return[];var _=ho(s);return u==null?_:Wt(_,function(k){return nn(u,t,k)})}var Lb=ut(function(s,u){return Xt(s)?Ea(s,u):[]}),Ab=ut(function(s){return Zs(xi(s,Xt))}),Eb=ut(function(s){var u=Xn(s);return Xt(u)&&(u=t),Zs(xi(s,Xt),je(u,2))}),Rb=ut(function(s){var u=Xn(s);return u=typeof u=="function"?u:t,Zs(xi(s,Xt),t,u)}),Db=ut(ho);function Vb(s,u){return Iu(s||[],u||[],Aa)}function Mb(s,u){return Iu(s||[],u||[],Va)}var Ob=ut(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,cf(s,_)});function df(s){var u=O(s);return u.__chain__=!0,u}function Fb(s,u){return u(s),s}function qr(s,u){return u(s)}var Ub=Vi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,N=function(F){return Fs(F,s)};return u>1||this.__actions__.length||!(k instanceof _t)||!Mi(_)?this.thru(N):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:qr,args:[N],thisArg:t}),new Yn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function zb(){return df(this)}function Bb(){return new Yn(this.value(),this.__chain__)}function Hb(){this.__values__===t&&(this.__values__=Nf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Wb(){return this}function qb(s){for(var u,_=this;_ instanceof Ir;){var k=af(_);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;_=_.__wrapped__}return N.__wrapped__=s,u}function Gb(){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:qr,args:[co],thisArg:t}),new Yn(u,this.__chain__)}return this.thru(co)}function Kb(){return Tu(this.__wrapped__,this.__actions__)}var jb=Mr(function(s,u,_){It.call(s,_)?++s[_]:Ri(s,_,1)});function Jb(s,u,_){var k=it(s)?Bo:Fm;return _&&Cn(s,u,_)&&(u=t),k(s,je(u,3))}function Yb(s,u){var _=it(s)?xi:fu;return _(s,je(u,3))}var Qb=Uu(rf),Zb=Uu(sf);function Xb(s,u){return cn(Gr(s,u),1)}function $b(s,u){return cn(Gr(s,u),j)}function xb(s,u,_){return _=_===t?1:st(_),cn(Gr(s,u),_)}function hf(s,u){var _=it(s)?Gt:il;return _(s,je(u,3))}function gf(s,u){var _=it(s)?Ss:uu;return _(s,je(u,3))}var ev=Mr(function(s,u,_){It.call(s,_)?s[_].push(u):Ri(s,_,[u])});function tv(s,u,_,k){s=En(s)?s:aa(s),_=_&&!k?st(_):0;var N=s.length;return _<0&&(_=an(N+_,0)),Qr(s)?_<=N&&s.indexOf(u,_)>-1:!!N&&Jl(s,u,_)>-1}var nv=ut(function(s,u,_){var k=-1,N=typeof u=="function",F=En(s)?ue(s.length):[];return il(s,function(W){F[++k]=N?nn(u,W,_):Ra(W,u,_)}),F}),iv=Mr(function(s,u,_){Ri(s,_,u)});function Gr(s,u){var _=it(s)?Wt:pu;return _(s,je(u,3))}function lv(s,u,_,k){return s==null?[]:(it(u)||(u=u==null?[]:[u]),_=k?t:_,it(_)||(_=_==null?[]:[_]),wu(s,u,_))}var av=Mr(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function rv(s,u,_){var k=it(s)?ys:Go,N=arguments.length<3;return k(s,je(u,4),_,N,il)}function sv(s,u,_){var k=it(s)?vp:Go,N=arguments.length<3;return k(s,je(u,4),_,N,uu)}function ov(s,u){var _=it(s)?xi:fu;return _(s,Jr(je(u,3)))}function uv(s){var u=it(s)?au:t1;return u(s)}function fv(s,u,_){(_?Cn(s,u,_):u===t)?u=1:u=st(u);var k=it(s)?Rm:n1;return k(s,u)}function cv(s){var u=it(s)?Dm:l1;return u(s)}function dv(s){if(s==null)return 0;if(En(s))return Qr(s)?Ql(s):s.length;var u=bn(s);return u==wt||u==Mt?s.size:qs(s).length}function hv(s,u,_){var k=it(s)?Ps:a1;return _&&Cn(s,u,_)&&(u=t),k(s,je(u,3))}var gv=ut(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Cn(s,u[0],u[1])?u=[]:_>2&&Cn(u[0],u[1],u[2])&&(u=[u[0]]),wu(s,cn(u,1),[])}),Kr=Yp||function(){return xe.Date.now()};function _v(s,u){if(typeof u!="function")throw new Jn(r);return s=st(s),function(){if(--s<1)return u.apply(this,arguments)}}function _f(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Di(s,B,t,t,t,t,u)}function pf(s,u){var _;if(typeof u!="function")throw new Jn(r);return s=st(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var go=ut(function(s,u,_){var k=C;if(_.length){var N=tl(_,ia(go));k|=V}return Di(s,k,u,_,N)}),mf=ut(function(s,u,_){var k=C|y;if(_.length){var N=tl(_,ia(mf));k|=V}return Di(u,k,s,_,N)});function bf(s,u,_){u=_?t:u;var k=Di(s,T,t,t,t,t,t,u);return k.placeholder=bf.placeholder,k}function vf(s,u,_){u=_?t:u;var k=Di(s,E,t,t,t,t,t,u);return k.placeholder=vf.placeholder,k}function wf(s,u,_){var k,N,F,W,G,ee,me=0,be=!1,ye=!1,Ve=!0;if(typeof s!="function")throw new Jn(r);u=$n(u)||0,Kt(_)&&(be=!!_.leading,ye="maxWait"in _,F=ye?an($n(_.maxWait)||0,u):F,Ve="trailing"in _?!!_.trailing:Ve);function Ge($t){var si=k,Ui=N;return k=N=t,me=$t,W=s.apply(Ui,si),W}function Ye($t){return me=$t,G=Fa(gt,u),be?Ge($t):W}function ot($t){var si=$t-ee,Ui=$t-me,zf=u-si;return ye?mn(zf,F-Ui):zf}function Qe($t){var si=$t-ee,Ui=$t-me;return ee===t||si>=u||si<0||ye&&Ui>=F}function gt(){var $t=Kr();if(Qe($t))return pt($t);G=Fa(gt,ot($t))}function pt($t){return G=t,Ve&&k?Ge($t):(k=N=t,W)}function Hn(){G!==t&&Lu(G),me=0,k=ee=N=G=t}function yn(){return G===t?W:pt(Kr())}function Wn(){var $t=Kr(),si=Qe($t);if(k=arguments,N=this,ee=$t,si){if(G===t)return Ye(ee);if(ye)return Lu(G),G=Fa(gt,u),Ge(ee)}return G===t&&(G=Fa(gt,u)),W}return Wn.cancel=Hn,Wn.flush=yn,Wn}var pv=ut(function(s,u){return ou(s,1,u)}),mv=ut(function(s,u,_){return ou(s,$n(u)||0,_)});function bv(s){return Di(s,D)}function jr(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Jn(r);var _=function(){var k=arguments,N=u?u.apply(this,k):k[0],F=_.cache;if(F.has(N))return F.get(N);var W=s.apply(this,k);return _.cache=F.set(N,W)||F,W};return _.cache=new(jr.Cache||Ei),_}jr.Cache=Ei;function Jr(s){if(typeof s!="function")throw new Jn(r);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 vv(s){return pf(2,s)}var wv=r1(function(s,u){u=u.length==1&&it(u[0])?Wt(u[0],Un(je())):Wt(cn(u,1),Un(je()));var _=u.length;return ut(function(k){for(var N=-1,F=mn(k.length,_);++N<F;)k[N]=u[N].call(this,k[N]);return nn(s,this,k)})}),_o=ut(function(s,u){var _=tl(u,ia(_o));return Di(s,V,t,u,_)}),kf=ut(function(s,u){var _=tl(u,ia(kf));return Di(s,I,t,u,_)}),kv=Vi(function(s,u){return Di(s,M,t,t,t,u)});function Sv(s,u){if(typeof s!="function")throw new Jn(r);return u=u===t?u:st(u),ut(s,u)}function Cv(s,u){if(typeof s!="function")throw new Jn(r);return u=u==null?0:an(st(u),0),ut(function(_){var k=_[u],N=rl(_,0,u);return k&&el(N,k),nn(s,this,N)})}function yv(s,u,_){var k=!0,N=!0;if(typeof s!="function")throw new Jn(r);return Kt(_)&&(k="leading"in _?!!_.leading:k,N="trailing"in _?!!_.trailing:N),wf(s,u,{leading:k,maxWait:u,trailing:N})}function Pv(s){return _f(s,1)}function Nv(s,u){return _o($s(u),s)}function Tv(){if(!arguments.length)return[];var s=arguments[0];return it(s)?s:[s]}function Iv(s){return Qn(s,b)}function Lv(s,u){return u=typeof u=="function"?u:t,Qn(s,b,u)}function Av(s){return Qn(s,h|b)}function Ev(s,u){return u=typeof u=="function"?u:t,Qn(s,h|b,u)}function Rv(s,u){return u==null||su(s,u,on(u))}function ri(s,u){return s===u||s!==s&&u!==u}var Dv=zr(Bs),Vv=zr(function(s,u){return s>=u}),Rl=hu(function(){return arguments}())?hu:function(s){return Qt(s)&&It.call(s,"callee")&&!xo.call(s,"callee")},it=ue.isArray,Mv=Kl?Un(Kl):qm;function En(s){return s!=null&&Yr(s.length)&&!Oi(s)}function Xt(s){return Qt(s)&&En(s)}function Ov(s){return s===!0||s===!1||Qt(s)&&Sn(s)==tt}var sl=Zp||No,Fv=Cl?Un(Cl):Gm;function Uv(s){return Qt(s)&&s.nodeType===1&&!Ua(s)}function zv(s){if(s==null)return!0;if(En(s)&&(it(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||la(s)||Rl(s)))return!s.length;var u=bn(s);if(u==wt||u==Mt)return!s.size;if(Oa(s))return!qs(s).length;for(var _ in s)if(It.call(s,_))return!1;return!0}function Bv(s,u){return Da(s,u)}function Hv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Da(s,u,t,_):!!k}function po(s){if(!Qt(s))return!1;var u=Sn(s);return u==Ct||u==at||typeof s.message=="string"&&typeof s.name=="string"&&!Ua(s)}function Wv(s){return typeof s=="number"&&tu(s)}function Oi(s){if(!Kt(s))return!1;var u=Sn(s);return u==pe||u==$e||u==Te||u==dt}function Sf(s){return typeof s=="number"&&s==st(s)}function Yr(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=_e}function Kt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Qt(s){return s!=null&&typeof s=="object"}var Cf=ks?Un(ks):jm;function qv(s,u){return s===u||Ws(s,u,ao(u))}function Gv(s,u,_){return _=typeof _=="function"?_:t,Ws(s,u,ao(u),_)}function Kv(s){return yf(s)&&s!=+s}function jv(s){if(L1(s))throw new et(a);return gu(s)}function Jv(s){return s===null}function Yv(s){return s==null}function yf(s){return typeof s=="number"||Qt(s)&&Sn(s)==qt}function Ua(s){if(!Qt(s)||Sn(s)!=Ft)return!1;var u=kr(s);if(u===null)return!0;var _=It.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&mr.call(_)==Gp}var mo=jl?Un(jl):Jm;function Qv(s){return Sf(s)&&s>=-_e&&s<=_e}var Pf=cr?Un(cr):Ym;function Qr(s){return typeof s=="string"||!it(s)&&Qt(s)&&Sn(s)==zt}function Bn(s){return typeof s=="symbol"||Qt(s)&&Sn(s)==wn}var la=yl?Un(yl):Qm;function Zv(s){return s===t}function Xv(s){return Qt(s)&&bn(s)==en}function $v(s){return Qt(s)&&Sn(s)==kn}var xv=zr(Gs),e0=zr(function(s,u){return s<=u});function Nf(s){if(!s)return[];if(En(s))return Qr(s)?li(s):An(s);if(Pa&&s[Pa])return Rp(s[Pa]());var u=bn(s),_=u==wt?Es:u==Mt?gr:aa;return _(s)}function Fi(s){if(!s)return s===0?s:0;if(s=$n(s),s===j||s===-j){var u=s<0?-1:1;return u*ie}return s===s?s:0}function st(s){var u=Fi(s),_=u%1;return u===u?_?u-_:u:0}function Tf(s){return s?Il(st(s),0,ve):0}function $n(s){if(typeof s=="number")return s;if(Bn(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=Ko(s);var _=Bl.test(s);return _||ji.test(s)?$i(s.slice(2),_?2:8):wl.test(s)?se:+s}function If(s){return hi(s,Rn(s))}function t0(s){return s?Il(st(s),-_e,_e):s===0?s:0}function Nt(s){return s==null?"":zn(s)}var n0=ta(function(s,u){if(Oa(u)||En(u)){hi(u,on(u),s);return}for(var _ in u)It.call(u,_)&&Aa(s,_,u[_])}),Lf=ta(function(s,u){hi(u,Rn(u),s)}),Zr=ta(function(s,u,_,k){hi(u,Rn(u),s,k)}),i0=ta(function(s,u,_,k){hi(u,on(u),s,k)}),l0=Vi(Fs);function a0(s,u){var _=ea(s);return u==null?_:ru(_,u)}var r0=ut(function(s,u){s=Rt(s);var _=-1,k=u.length,N=k>2?u[2]:t;for(N&&Cn(u[0],u[1],N)&&(k=1);++_<k;)for(var F=u[_],W=Rn(F),G=-1,ee=W.length;++G<ee;){var me=W[G],be=s[me];(be===t||ri(be,Xl[me])&&!It.call(s,me))&&(s[me]=F[me])}return s}),s0=ut(function(s){return s.push(t,Ku),nn(Af,t,s)});function o0(s,u){return Ho(s,je(u,3),di)}function u0(s,u){return Ho(s,je(u,3),zs)}function f0(s,u){return s==null?s:Us(s,je(u,3),Rn)}function c0(s,u){return s==null?s:cu(s,je(u,3),Rn)}function d0(s,u){return s&&di(s,je(u,3))}function h0(s,u){return s&&zs(s,je(u,3))}function g0(s){return s==null?[]:Er(s,on(s))}function _0(s){return s==null?[]:Er(s,Rn(s))}function bo(s,u,_){var k=s==null?t:Ll(s,u);return k===t?_:k}function p0(s,u){return s!=null&&Yu(s,u,zm)}function vo(s,u){return s!=null&&Yu(s,u,Bm)}var m0=Bu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=br.call(u)),s[u]=_},ko(Dn)),b0=Bu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=br.call(u)),It.call(s,u)?s[u].push(_):s[u]=[_]},je),v0=ut(Ra);function on(s){return En(s)?lu(s):qs(s)}function Rn(s){return En(s)?lu(s,!0):Zm(s)}function w0(s,u){var _={};return u=je(u,3),di(s,function(k,N,F){Ri(_,u(k,N,F),k)}),_}function k0(s,u){var _={};return u=je(u,3),di(s,function(k,N,F){Ri(_,N,u(k,N,F))}),_}var S0=ta(function(s,u,_){Rr(s,u,_)}),Af=ta(function(s,u,_,k){Rr(s,u,_,k)}),C0=Vi(function(s,u){var _={};if(s==null)return _;var k=!1;u=Wt(u,function(F){return F=al(F,s),k||(k=F.length>1),F}),hi(s,io(s),_),k&&(_=Qn(_,h|p|b,m1));for(var N=u.length;N--;)Qs(_,u[N]);return _});function y0(s,u){return Ef(s,Jr(je(u)))}var P0=Vi(function(s,u){return s==null?{}:$m(s,u)});function Ef(s,u){if(s==null)return{};var _=Wt(io(s),function(k){return[k]});return u=je(u),ku(s,_,function(k,N){return u(k,N[0])})}function N0(s,u,_){u=al(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var F=s==null?t:s[gi(u[k])];F===t&&(k=N,F=_),s=Oi(F)?F.call(s):F}return s}function T0(s,u,_){return s==null?s:Va(s,u,_)}function I0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Va(s,u,_,k)}var Rf=qu(on),Df=qu(Rn);function L0(s,u,_){var k=it(s),N=k||sl(s)||la(s);if(u=je(u,4),_==null){var F=s&&s.constructor;N?_=k?new F:[]:Kt(s)?_=Oi(F)?ea(kr(s)):{}:_={}}return(N?Gt:di)(s,function(W,G,ee){return u(_,W,G,ee)}),_}function A0(s,u){return s==null?!0:Qs(s,u)}function E0(s,u,_){return s==null?s:Nu(s,u,$s(_))}function R0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Nu(s,u,$s(_),k)}function aa(s){return s==null?[]:As(s,on(s))}function D0(s){return s==null?[]:As(s,Rn(s))}function V0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=$n(_),_=_===_?_:0),u!==t&&(u=$n(u),u=u===u?u:0),Il($n(s),u,_)}function M0(s,u,_){return u=Fi(u),_===t?(_=u,u=0):_=Fi(_),s=$n(s),Hm(s,u,_)}function O0(s,u,_){if(_&&typeof _!="boolean"&&Cn(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=Fi(s),u===t?(u=s,s=0):u=Fi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var N=nu();return mn(s+N*(u-s+Ca("1e-"+((N+"").length-1))),u)}return js(s,u)}var F0=na(function(s,u,_){return u=u.toLowerCase(),s+(_?Vf(u):u)});function Vf(s){return wo(Nt(s).toLowerCase())}function Mf(s){return s=Nt(s),s&&s.replace(Sl,Tp).replace(ws,"")}function U0(s,u,_){s=Nt(s),u=zn(u);var k=s.length;_=_===t?k:Il(st(_),0,k);var N=_;return _-=u.length,_>=0&&s.slice(_,N)==u}function z0(s){return s=Nt(s),s&&fi.test(s)?s.replace(Wi,Ip):s}function B0(s){return s=Nt(s),s&&Tt.test(s)?s.replace(ht,"\\$&"):s}var H0=na(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),W0=na(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),q0=Fu("toLowerCase");function G0(s,u,_){s=Nt(s),u=st(u);var k=u?Ql(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ur(Pr(N),_)+s+Ur(yr(N),_)}function K0(s,u,_){s=Nt(s),u=st(u);var k=u?Ql(s):0;return u&&k<u?s+Ur(u-k,_):s}function j0(s,u,_){s=Nt(s),u=st(u);var k=u?Ql(s):0;return u&&k<u?Ur(u-k,_)+s:s}function J0(s,u,_){return _||u==null?u=0:u&&(u=+u),em(Nt(s).replace(Zt,""),u||0)}function Y0(s,u,_){return(_?Cn(s,u,_):u===t)?u=1:u=st(u),Js(Nt(s),u)}function Q0(){var s=arguments,u=Nt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var Z0=na(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function X0(s,u,_){return _&&typeof _!="number"&&Cn(s,u,_)&&(u=_=t),_=_===t?ve:_>>>0,_?(s=Nt(s),s&&(typeof u=="string"||u!=null&&!mo(u))&&(u=zn(u),!u&&Yl(s))?rl(li(s),0,_):s.split(u,_)):[]}var $0=na(function(s,u,_){return s+(_?" ":"")+wo(u)});function x0(s,u,_){return s=Nt(s),_=_==null?0:Il(st(_),0,s.length),u=zn(u),s.slice(_,_+u.length)==u}function ew(s,u,_){var k=O.templateSettings;_&&Cn(s,u,_)&&(u=t),s=Nt(s),u=Zr({},u,k,Gu);var N=Zr({},u.imports,k.imports,Gu),F=on(N),W=As(N,F),G,ee,me=0,be=u.interpolate||ci,ye="__p += '",Ve=Rs((u.escape||ci).source+"|"+be.source+"|"+(be===Gi?In:ci).source+"|"+(u.evaluate||ci).source+"|$","g"),Ge="//# sourceURL="+(It.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Me+"]")+`
|
|
35
|
+
`)}function N1(s){return it(s)||Rl(s)||!!(eu&&s&&s[eu])}function Oi(s,u){var _=typeof s;return u=u??_e,!!u&&(_=="number"||_!="symbol"&&kl.test(s))&&s>-1&&s%1==0&&s<u}function Cn(s,u,_){if(!Kt(_))return!1;var k=typeof u;return(k=="number"?En(_)&&Oi(u,_.length):k=="string"&&u in _)?ai(_[u],s):!1}function so(s,u){if(it(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Bn(s)?!0:Ne.test(s)||!Z.test(s)||u!=null&&s in Rt(u)}function T1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function oo(s){var u=Ba(s),_=M[u];if(typeof _!="function"||!(u in _t.prototype))return!1;if(s===_)return!0;var k=lo(_);return!!k&&s===k[0]}function I1(s){return!!Zo&&Zo in s}var L1=pa?Mi:No;function Mr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||Xl;return s===_}function Zu(s){return s===s&&!Kt(s)}function Xu(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Rt(_))}}function A1(s){var u=ja(s,function(k){return _.size===g&&_.clear(),k}),_=u.cache;return u}function E1(s,u){var _=s[1],k=u[1],N=_|k,F=N<(C|y|B),W=k==B&&_==T||k==B&&_==O&&s[7].length<=u[8]||k==(B|O)&&u[7].length<=u[8]&&_==T;if(!(F||W))return s;k&C&&(s[2]=u[2],N|=_&C?0:P);var G=u[3];if(G){var ee=s[3];s[3]=ee?Du(ee,G,u[4]):G,s[4]=ee?tl(s[3],d):u[4]}return G=u[5],G&&(ee=s[5],s[5]=ee?Vu(ee,G,u[6]):G,s[6]=ee?tl(s[5],d):u[6]),G=u[7],G&&(s[7]=G),k&B&&(s[8]=s[8]==null?u[8]:mn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function R1(s){var u=[];if(s!=null)for(var _ in Rt(s))u.push(_);return u}function D1(s){return ba.call(s)}function $u(s,u,_){return u=rn(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,F=rn(k.length-u,0),W=ue(F);++N<F;)W[N]=k[u+N];N=-1;for(var G=ue(u+1);++N<u;)G[N]=k[N];return G[u]=_(W),nn(s,this,G)}}function xu(s,u){return u.length<2?s:Ll(s,Zn(u,0,-1))}function V1(s,u){for(var _=s.length,k=mn(u.length,_),N=An(s);k--;){var F=u[k];s[k]=Oi(F,_)?N[F]:t}return s}function uo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var ef=nf(Cu),Fr=Qp||function(s,u){return xe.setTimeout(s,u)},fo=nf(i1);function tf(s,u,_){var k=u+"";return fo(s,P1(k,O1(S1(k),_)))}function nf(s){var u=0,_=0;return function(){var k=xp(),N=ce-(k-_);if(_=k,N>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function Wa(s,u){var _=-1,k=s.length,N=k-1;for(u=u===t?k:u;++_<u;){var F=js(_,N),W=s[F];s[F]=s[_],s[_]=W}return s.length=u,s}var lf=A1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(nt,function(_,k,N,F){u.push(N?F.replace(gr,"$1"):k||_)}),u});function gi(s){if(typeof s=="string"||Bn(s))return s;var u=s+"";return u=="0"&&1/s==-j?"-0":u}function El(s){if(s!=null){try{return ma.call(s)}catch{}try{return s+""}catch{}}return""}function O1(s,u){return Gt(We,function(_){var k="_."+_[0];u&_[1]&&!da(s,k)&&s.push(k)}),s.sort()}function rf(s){if(s instanceof _t)return s.clone();var u=new Yn(s.__wrapped__,s.__chain__);return u.__actions__=An(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function M1(s,u,_){(_?Cn(s,u,_):u===t)?u=1:u=rn(st(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,F=0,W=ue(ya(k/u));N<k;)W[F++]=Zn(s,N,N+=u);return W}function F1(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 U1(){var s=arguments.length;if(!s)return[];for(var u=ue(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(it(_)?An(_):[_],cn(u,1))}var z1=ut(function(s,u){return Xt(s)?Er(s,cn(u,1,Xt,!0)):[]}),B1=ut(function(s,u){var _=Xn(u);return Xt(_)&&(_=t),Xt(s)?Er(s,cn(u,1,Xt,!0),je(_,2)):[]}),H1=ut(function(s,u){var _=Xn(u);return Xt(_)&&(_=t),Xt(s)?Er(s,cn(u,1,Xt,!0),t,_):[]});function W1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),Zn(s,u<0?0:u,k)):[]}function q1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Zn(s,0,u<0?0:u)):[]}function G1(s,u){return s&&s.length?Va(s,je(u,3),!0,!0):[]}function K1(s,u){return s&&s.length?Va(s,je(u,3),!0):[]}function j1(s,u,_,k){var N=s==null?0:s.length;return N?(_&&typeof _!="number"&&Cn(s,u,_)&&(_=0,k=N),Um(s,u,_,k)):[]}function af(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=rn(k+N,0)),ha(s,je(u,3),N)}function sf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return _!==t&&(N=st(_),N=_<0?rn(k+N,0):mn(N,k-1)),ha(s,je(u,3),N,!0)}function of(s){var u=s==null?0:s.length;return u?cn(s,1):[]}function J1(s){var u=s==null?0:s.length;return u?cn(s,j):[]}function Y1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:st(u),cn(s,u)):[]}function Q1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var N=s[u];k[N[0]]=N[1]}return k}function uf(s){return s&&s.length?s[0]:t}function Z1(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=rn(k+N,0)),Jl(s,u,N)}function X1(s){var u=s==null?0:s.length;return u?Zn(s,0,-1):[]}var $1=ut(function(s){var u=Wt(s,Xs);return u.length&&u[0]===s[0]?Hs(u):[]}),x1=ut(function(s){var u=Xn(s),_=Wt(s,Xs);return u===Xn(_)?u=t:_.pop(),_.length&&_[0]===s[0]?Hs(_,je(u,2)):[]}),eb=ut(function(s){var u=Xn(s),_=Wt(s,Xs);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?Hs(_,t,u):[]});function tb(s,u){return s==null?"":Xp.call(s,u)}function Xn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function nb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k;return _!==t&&(N=st(_),N=N<0?rn(k+N,0):mn(N,k-1)),u===u?Op(s,u,N):ha(s,Wo,N,!0)}function ib(s,u){return s&&s.length?vu(s,st(u)):t}var lb=ut(ff);function ff(s,u){return s&&s.length&&u&&u.length?Ks(s,u):s}function rb(s,u,_){return s&&s.length&&u&&u.length?Ks(s,u,je(_,2)):s}function ab(s,u,_){return s&&s.length&&u&&u.length?Ks(s,u,t,_):s}var sb=Vi(function(s,u){var _=s==null?0:s.length,k=Fs(s,u);return Su(s,Wt(u,function(N){return Oi(N,_)?+N:N}).sort(Ru)),k});function ob(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,N=[],F=s.length;for(u=je(u,3);++k<F;){var W=s[k];u(W,k,s)&&(_.push(W),N.push(k))}return Su(s,N),_}function co(s){return s==null?s:tm.call(s)}function ub(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&Cn(s,u,_)?(u=0,_=k):(u=u==null?0:st(u),_=_===t?k:st(_)),Zn(s,u,_)):[]}function fb(s,u){return Da(s,u)}function cb(s,u,_){return Ys(s,u,je(_,2))}function db(s,u){var _=s==null?0:s.length;if(_){var k=Da(s,u);if(k<_&&ai(s[k],u))return k}return-1}function hb(s,u){return Da(s,u,!0)}function gb(s,u,_){return Ys(s,u,je(_,2),!0)}function _b(s,u){var _=s==null?0:s.length;if(_){var k=Da(s,u,!0)-1;if(ai(s[k],u))return k}return-1}function pb(s){return s&&s.length?yu(s):[]}function mb(s,u){return s&&s.length?yu(s,je(u,2)):[]}function bb(s){var u=s==null?0:s.length;return u?Zn(s,1,u):[]}function vb(s,u,_){return s&&s.length?(u=_||u===t?1:st(u),Zn(s,0,u<0?0:u)):[]}function wb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Zn(s,u<0?0:u,k)):[]}function kb(s,u){return s&&s.length?Va(s,je(u,3),!1,!0):[]}function Sb(s,u){return s&&s.length?Va(s,je(u,3)):[]}var Cb=ut(function(s){return ll(cn(s,1,Xt,!0))}),yb=ut(function(s){var u=Xn(s);return Xt(u)&&(u=t),ll(cn(s,1,Xt,!0),je(u,2))}),Pb=ut(function(s){var u=Xn(s);return u=typeof u=="function"?u:t,ll(cn(s,1,Xt,!0),t,u)});function Nb(s){return s&&s.length?ll(s):[]}function Tb(s,u){return s&&s.length?ll(s,je(u,2)):[]}function Ib(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function ho(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(_){if(Xt(_))return u=rn(_.length,u),!0}),Ls(u,function(_){return Wt(s,Ns(_))})}function cf(s,u){if(!(s&&s.length))return[];var _=ho(s);return u==null?_:Wt(_,function(k){return nn(u,t,k)})}var Lb=ut(function(s,u){return Xt(s)?Er(s,u):[]}),Ab=ut(function(s){return Zs(xi(s,Xt))}),Eb=ut(function(s){var u=Xn(s);return Xt(u)&&(u=t),Zs(xi(s,Xt),je(u,2))}),Rb=ut(function(s){var u=Xn(s);return u=typeof u=="function"?u:t,Zs(xi(s,Xt),t,u)}),Db=ut(ho);function Vb(s,u){return Iu(s||[],u||[],Ar)}function Ob(s,u){return Iu(s||[],u||[],Vr)}var Mb=ut(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,cf(s,_)});function df(s){var u=M(s);return u.__chain__=!0,u}function Fb(s,u){return u(s),s}function qa(s,u){return u(s)}var Ub=Vi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,N=function(F){return Fs(F,s)};return u>1||this.__actions__.length||!(k instanceof _t)||!Oi(_)?this.thru(N):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:qa,args:[N],thisArg:t}),new Yn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function zb(){return df(this)}function Bb(){return new Yn(this.value(),this.__chain__)}function Hb(){this.__values__===t&&(this.__values__=Nf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Wb(){return this}function qb(s){for(var u,_=this;_ instanceof Ia;){var k=rf(_);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;_=_.__wrapped__}return N.__wrapped__=s,u}function Gb(){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:qa,args:[co],thisArg:t}),new Yn(u,this.__chain__)}return this.thru(co)}function Kb(){return Tu(this.__wrapped__,this.__actions__)}var jb=Oa(function(s,u,_){It.call(s,_)?++s[_]:Ri(s,_,1)});function Jb(s,u,_){var k=it(s)?Bo:Fm;return _&&Cn(s,u,_)&&(u=t),k(s,je(u,3))}function Yb(s,u){var _=it(s)?xi:fu;return _(s,je(u,3))}var Qb=Uu(af),Zb=Uu(sf);function Xb(s,u){return cn(Ga(s,u),1)}function $b(s,u){return cn(Ga(s,u),j)}function xb(s,u,_){return _=_===t?1:st(_),cn(Ga(s,u),_)}function hf(s,u){var _=it(s)?Gt:il;return _(s,je(u,3))}function gf(s,u){var _=it(s)?Ss:uu;return _(s,je(u,3))}var ev=Oa(function(s,u,_){It.call(s,_)?s[_].push(u):Ri(s,_,[u])});function tv(s,u,_,k){s=En(s)?s:rr(s),_=_&&!k?st(_):0;var N=s.length;return _<0&&(_=rn(N+_,0)),Qa(s)?_<=N&&s.indexOf(u,_)>-1:!!N&&Jl(s,u,_)>-1}var nv=ut(function(s,u,_){var k=-1,N=typeof u=="function",F=En(s)?ue(s.length):[];return il(s,function(W){F[++k]=N?nn(u,W,_):Rr(W,u,_)}),F}),iv=Oa(function(s,u,_){Ri(s,_,u)});function Ga(s,u){var _=it(s)?Wt:pu;return _(s,je(u,3))}function lv(s,u,_,k){return s==null?[]:(it(u)||(u=u==null?[]:[u]),_=k?t:_,it(_)||(_=_==null?[]:[_]),wu(s,u,_))}var rv=Oa(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function av(s,u,_){var k=it(s)?ys:Go,N=arguments.length<3;return k(s,je(u,4),_,N,il)}function sv(s,u,_){var k=it(s)?vp:Go,N=arguments.length<3;return k(s,je(u,4),_,N,uu)}function ov(s,u){var _=it(s)?xi:fu;return _(s,Ja(je(u,3)))}function uv(s){var u=it(s)?ru:t1;return u(s)}function fv(s,u,_){(_?Cn(s,u,_):u===t)?u=1:u=st(u);var k=it(s)?Rm:n1;return k(s,u)}function cv(s){var u=it(s)?Dm:l1;return u(s)}function dv(s){if(s==null)return 0;if(En(s))return Qa(s)?Ql(s):s.length;var u=bn(s);return u==wt||u==Ot?s.size:qs(s).length}function hv(s,u,_){var k=it(s)?Ps:r1;return _&&Cn(s,u,_)&&(u=t),k(s,je(u,3))}var gv=ut(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Cn(s,u[0],u[1])?u=[]:_>2&&Cn(u[0],u[1],u[2])&&(u=[u[0]]),wu(s,cn(u,1),[])}),Ka=Yp||function(){return xe.Date.now()};function _v(s,u){if(typeof u!="function")throw new Jn(a);return s=st(s),function(){if(--s<1)return u.apply(this,arguments)}}function _f(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Di(s,B,t,t,t,t,u)}function pf(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 go=ut(function(s,u,_){var k=C;if(_.length){var N=tl(_,ir(go));k|=V}return Di(s,k,u,_,N)}),mf=ut(function(s,u,_){var k=C|y;if(_.length){var N=tl(_,ir(mf));k|=V}return Di(u,k,s,_,N)});function bf(s,u,_){u=_?t:u;var k=Di(s,T,t,t,t,t,t,u);return k.placeholder=bf.placeholder,k}function vf(s,u,_){u=_?t:u;var k=Di(s,E,t,t,t,t,t,u);return k.placeholder=vf.placeholder,k}function wf(s,u,_){var k,N,F,W,G,ee,me=0,be=!1,ye=!1,Ve=!0;if(typeof s!="function")throw new Jn(a);u=$n(u)||0,Kt(_)&&(be=!!_.leading,ye="maxWait"in _,F=ye?rn($n(_.maxWait)||0,u):F,Ve="trailing"in _?!!_.trailing:Ve);function Ge($t){var si=k,Ui=N;return k=N=t,me=$t,W=s.apply(Ui,si),W}function Ye($t){return me=$t,G=Fr(gt,u),be?Ge($t):W}function ot($t){var si=$t-ee,Ui=$t-me,zf=u-si;return ye?mn(zf,F-Ui):zf}function Qe($t){var si=$t-ee,Ui=$t-me;return ee===t||si>=u||si<0||ye&&Ui>=F}function gt(){var $t=Ka();if(Qe($t))return pt($t);G=Fr(gt,ot($t))}function pt($t){return G=t,Ve&&k?Ge($t):(k=N=t,W)}function Hn(){G!==t&&Lu(G),me=0,k=ee=N=G=t}function yn(){return G===t?W:pt(Ka())}function Wn(){var $t=Ka(),si=Qe($t);if(k=arguments,N=this,ee=$t,si){if(G===t)return Ye(ee);if(ye)return Lu(G),G=Fr(gt,u),Ge(ee)}return G===t&&(G=Fr(gt,u)),W}return Wn.cancel=Hn,Wn.flush=yn,Wn}var pv=ut(function(s,u){return ou(s,1,u)}),mv=ut(function(s,u,_){return ou(s,$n(u)||0,_)});function bv(s){return Di(s,D)}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 W=s.apply(this,k);return _.cache=F.set(N,W)||F,W};return _.cache=new(ja.Cache||Ei),_}ja.Cache=Ei;function Ja(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 vv(s){return pf(2,s)}var wv=a1(function(s,u){u=u.length==1&&it(u[0])?Wt(u[0],Un(je())):Wt(cn(u,1),Un(je()));var _=u.length;return ut(function(k){for(var N=-1,F=mn(k.length,_);++N<F;)k[N]=u[N].call(this,k[N]);return nn(s,this,k)})}),_o=ut(function(s,u){var _=tl(u,ir(_o));return Di(s,V,t,u,_)}),kf=ut(function(s,u){var _=tl(u,ir(kf));return Di(s,I,t,u,_)}),kv=Vi(function(s,u){return Di(s,O,t,t,t,u)});function Sv(s,u){if(typeof s!="function")throw new Jn(a);return u=u===t?u:st(u),ut(s,u)}function Cv(s,u){if(typeof s!="function")throw new Jn(a);return u=u==null?0:rn(st(u),0),ut(function(_){var k=_[u],N=al(_,0,u);return k&&el(N,k),nn(s,this,N)})}function yv(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),wf(s,u,{leading:k,maxWait:u,trailing:N})}function Pv(s){return _f(s,1)}function Nv(s,u){return _o($s(u),s)}function Tv(){if(!arguments.length)return[];var s=arguments[0];return it(s)?s:[s]}function Iv(s){return Qn(s,b)}function Lv(s,u){return u=typeof u=="function"?u:t,Qn(s,b,u)}function Av(s){return Qn(s,h|b)}function Ev(s,u){return u=typeof u=="function"?u:t,Qn(s,h|b,u)}function Rv(s,u){return u==null||su(s,u,on(u))}function ai(s,u){return s===u||s!==s&&u!==u}var Dv=za(Bs),Vv=za(function(s,u){return s>=u}),Rl=hu(function(){return arguments}())?hu:function(s){return Qt(s)&&It.call(s,"callee")&&!xo.call(s,"callee")},it=ue.isArray,Ov=Kl?Un(Kl):qm;function En(s){return s!=null&&Ya(s.length)&&!Mi(s)}function Xt(s){return Qt(s)&&En(s)}function Mv(s){return s===!0||s===!1||Qt(s)&&Sn(s)==tt}var sl=Zp||No,Fv=Cl?Un(Cl):Gm;function Uv(s){return Qt(s)&&s.nodeType===1&&!Ur(s)}function zv(s){if(s==null)return!0;if(En(s)&&(it(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||lr(s)||Rl(s)))return!s.length;var u=bn(s);if(u==wt||u==Ot)return!s.size;if(Mr(s))return!qs(s).length;for(var _ in s)if(It.call(s,_))return!1;return!0}function Bv(s,u){return Dr(s,u)}function Hv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Dr(s,u,t,_):!!k}function po(s){if(!Qt(s))return!1;var u=Sn(s);return u==Ct||u==rt||typeof s.message=="string"&&typeof s.name=="string"&&!Ur(s)}function Wv(s){return typeof s=="number"&&tu(s)}function Mi(s){if(!Kt(s))return!1;var u=Sn(s);return u==pe||u==$e||u==Te||u==dt}function Sf(s){return typeof s=="number"&&s==st(s)}function Ya(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=_e}function Kt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Qt(s){return s!=null&&typeof s=="object"}var Cf=ks?Un(ks):jm;function qv(s,u){return s===u||Ws(s,u,ro(u))}function Gv(s,u,_){return _=typeof _=="function"?_:t,Ws(s,u,ro(u),_)}function Kv(s){return yf(s)&&s!=+s}function jv(s){if(L1(s))throw new et(r);return gu(s)}function Jv(s){return s===null}function Yv(s){return s==null}function yf(s){return typeof s=="number"||Qt(s)&&Sn(s)==qt}function Ur(s){if(!Qt(s)||Sn(s)!=Ft)return!1;var u=ka(s);if(u===null)return!0;var _=It.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ma.call(_)==Gp}var mo=jl?Un(jl):Jm;function Qv(s){return Sf(s)&&s>=-_e&&s<=_e}var Pf=ca?Un(ca):Ym;function Qa(s){return typeof s=="string"||!it(s)&&Qt(s)&&Sn(s)==zt}function Bn(s){return typeof s=="symbol"||Qt(s)&&Sn(s)==wn}var lr=yl?Un(yl):Qm;function Zv(s){return s===t}function Xv(s){return Qt(s)&&bn(s)==en}function $v(s){return Qt(s)&&Sn(s)==kn}var xv=za(Gs),e0=za(function(s,u){return s<=u});function Nf(s){if(!s)return[];if(En(s))return Qa(s)?li(s):An(s);if(Pr&&s[Pr])return Rp(s[Pr]());var u=bn(s),_=u==wt?Es:u==Ot?ga:rr;return _(s)}function Fi(s){if(!s)return s===0?s:0;if(s=$n(s),s===j||s===-j){var u=s<0?-1:1;return u*ie}return s===s?s:0}function st(s){var u=Fi(s),_=u%1;return u===u?_?u-_:u:0}function Tf(s){return s?Il(st(s),0,ve):0}function $n(s){if(typeof s=="number")return s;if(Bn(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=Ko(s);var _=Bl.test(s);return _||ji.test(s)?$i(s.slice(2),_?2:8):wl.test(s)?se:+s}function If(s){return hi(s,Rn(s))}function t0(s){return s?Il(st(s),-_e,_e):s===0?s:0}function Nt(s){return s==null?"":zn(s)}var n0=tr(function(s,u){if(Mr(u)||En(u)){hi(u,on(u),s);return}for(var _ in u)It.call(u,_)&&Ar(s,_,u[_])}),Lf=tr(function(s,u){hi(u,Rn(u),s)}),Za=tr(function(s,u,_,k){hi(u,Rn(u),s,k)}),i0=tr(function(s,u,_,k){hi(u,on(u),s,k)}),l0=Vi(Fs);function r0(s,u){var _=er(s);return u==null?_:au(_,u)}var a0=ut(function(s,u){s=Rt(s);var _=-1,k=u.length,N=k>2?u[2]:t;for(N&&Cn(u[0],u[1],N)&&(k=1);++_<k;)for(var F=u[_],W=Rn(F),G=-1,ee=W.length;++G<ee;){var me=W[G],be=s[me];(be===t||ai(be,Xl[me])&&!It.call(s,me))&&(s[me]=F[me])}return s}),s0=ut(function(s){return s.push(t,Ku),nn(Af,t,s)});function o0(s,u){return Ho(s,je(u,3),di)}function u0(s,u){return Ho(s,je(u,3),zs)}function f0(s,u){return s==null?s:Us(s,je(u,3),Rn)}function c0(s,u){return s==null?s:cu(s,je(u,3),Rn)}function d0(s,u){return s&&di(s,je(u,3))}function h0(s,u){return s&&zs(s,je(u,3))}function g0(s){return s==null?[]:Ea(s,on(s))}function _0(s){return s==null?[]:Ea(s,Rn(s))}function bo(s,u,_){var k=s==null?t:Ll(s,u);return k===t?_:k}function p0(s,u){return s!=null&&Yu(s,u,zm)}function vo(s,u){return s!=null&&Yu(s,u,Bm)}var m0=Bu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),s[u]=_},ko(Dn)),b0=Bu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),It.call(s,u)?s[u].push(_):s[u]=[_]},je),v0=ut(Rr);function on(s){return En(s)?lu(s):qs(s)}function Rn(s){return En(s)?lu(s,!0):Zm(s)}function w0(s,u){var _={};return u=je(u,3),di(s,function(k,N,F){Ri(_,u(k,N,F),k)}),_}function k0(s,u){var _={};return u=je(u,3),di(s,function(k,N,F){Ri(_,N,u(k,N,F))}),_}var S0=tr(function(s,u,_){Ra(s,u,_)}),Af=tr(function(s,u,_,k){Ra(s,u,_,k)}),C0=Vi(function(s,u){var _={};if(s==null)return _;var k=!1;u=Wt(u,function(F){return F=rl(F,s),k||(k=F.length>1),F}),hi(s,io(s),_),k&&(_=Qn(_,h|p|b,m1));for(var N=u.length;N--;)Qs(_,u[N]);return _});function y0(s,u){return Ef(s,Ja(je(u)))}var P0=Vi(function(s,u){return s==null?{}:$m(s,u)});function Ef(s,u){if(s==null)return{};var _=Wt(io(s),function(k){return[k]});return u=je(u),ku(s,_,function(k,N){return u(k,N[0])})}function N0(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[gi(u[k])];F===t&&(k=N,F=_),s=Mi(F)?F.call(s):F}return s}function T0(s,u,_){return s==null?s:Vr(s,u,_)}function I0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Vr(s,u,_,k)}var Rf=qu(on),Df=qu(Rn);function L0(s,u,_){var k=it(s),N=k||sl(s)||lr(s);if(u=je(u,4),_==null){var F=s&&s.constructor;N?_=k?new F:[]:Kt(s)?_=Mi(F)?er(ka(s)):{}:_={}}return(N?Gt:di)(s,function(W,G,ee){return u(_,W,G,ee)}),_}function A0(s,u){return s==null?!0:Qs(s,u)}function E0(s,u,_){return s==null?s:Nu(s,u,$s(_))}function R0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Nu(s,u,$s(_),k)}function rr(s){return s==null?[]:As(s,on(s))}function D0(s){return s==null?[]:As(s,Rn(s))}function V0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=$n(_),_=_===_?_:0),u!==t&&(u=$n(u),u=u===u?u:0),Il($n(s),u,_)}function O0(s,u,_){return u=Fi(u),_===t?(_=u,u=0):_=Fi(_),s=$n(s),Hm(s,u,_)}function M0(s,u,_){if(_&&typeof _!="boolean"&&Cn(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=Fi(s),u===t?(u=s,s=0):u=Fi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var N=nu();return mn(s+N*(u-s+Cr("1e-"+((N+"").length-1))),u)}return js(s,u)}var F0=nr(function(s,u,_){return u=u.toLowerCase(),s+(_?Vf(u):u)});function Vf(s){return wo(Nt(s).toLowerCase())}function Of(s){return s=Nt(s),s&&s.replace(Sl,Tp).replace(ws,"")}function U0(s,u,_){s=Nt(s),u=zn(u);var k=s.length;_=_===t?k:Il(st(_),0,k);var N=_;return _-=u.length,_>=0&&s.slice(_,N)==u}function z0(s){return s=Nt(s),s&&fi.test(s)?s.replace(Wi,Ip):s}function B0(s){return s=Nt(s),s&&Tt.test(s)?s.replace(ht,"\\$&"):s}var H0=nr(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),W0=nr(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),q0=Fu("toLowerCase");function G0(s,u,_){s=Nt(s),u=st(u);var k=u?Ql(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ua(Pa(N),_)+s+Ua(ya(N),_)}function K0(s,u,_){s=Nt(s),u=st(u);var k=u?Ql(s):0;return u&&k<u?s+Ua(u-k,_):s}function j0(s,u,_){s=Nt(s),u=st(u);var k=u?Ql(s):0;return u&&k<u?Ua(u-k,_)+s:s}function J0(s,u,_){return _||u==null?u=0:u&&(u=+u),em(Nt(s).replace(Zt,""),u||0)}function Y0(s,u,_){return(_?Cn(s,u,_):u===t)?u=1:u=st(u),Js(Nt(s),u)}function Q0(){var s=arguments,u=Nt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var Z0=nr(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function X0(s,u,_){return _&&typeof _!="number"&&Cn(s,u,_)&&(u=_=t),_=_===t?ve:_>>>0,_?(s=Nt(s),s&&(typeof u=="string"||u!=null&&!mo(u))&&(u=zn(u),!u&&Yl(s))?al(li(s),0,_):s.split(u,_)):[]}var $0=nr(function(s,u,_){return s+(_?" ":"")+wo(u)});function x0(s,u,_){return s=Nt(s),_=_==null?0:Il(st(_),0,s.length),u=zn(u),s.slice(_,_+u.length)==u}function ew(s,u,_){var k=M.templateSettings;_&&Cn(s,u,_)&&(u=t),s=Nt(s),u=Za({},u,k,Gu);var N=Za({},u.imports,k.imports,Gu),F=on(N),W=As(N,F),G,ee,me=0,be=u.interpolate||ci,ye="__p += '",Ve=Rs((u.escape||ci).source+"|"+be.source+"|"+(be===Gi?In:ci).source+"|"+(u.evaluate||ci).source+"|$","g"),Ge="//# sourceURL="+(It.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Oe+"]")+`
|
|
36
36
|
`;s.replace(Ve,function(Qe,gt,pt,Hn,yn,Wn){return pt||(pt=Hn),ye+=s.slice(me,Wn).replace(Hl,Lp),gt&&(G=!0,ye+=`' +
|
|
37
37
|
__e(`+gt+`) +
|
|
38
38
|
'`),yn&&(ee=!0,ye+=`';
|
|
@@ -49,16 +49,16 @@ __p += '`),pt&&(ye+=`' +
|
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
|
50
50
|
`:`;
|
|
51
51
|
`)+ye+`return __p
|
|
52
|
-
}`;var ot=Ff(function(){return yt(F,Ge+"return "+ye).apply(t,W)});if(ot.source=ye,po(ot))throw ot;return ot}function tw(s){return Nt(s).toLowerCase()}function nw(s){return Nt(s).toUpperCase()}function iw(s,u,_){if(s=Nt(s),s&&(_||u===t))return Ko(s);if(!s||!(u=zn(u)))return s;var k=li(s),N=li(u),F=jo(k,N),W=Jo(k,N)+1;return rl(k,F,W).join("")}function lw(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.slice(0,Qo(s)+1);if(!s||!(u=zn(u)))return s;var k=li(s),N=Jo(k,li(u))+1;return rl(k,0,N).join("")}function aw(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.replace(Zt,"");if(!s||!(u=zn(u)))return s;var k=li(s),N=jo(k,li(u));return rl(k,N).join("")}function rw(s,u){var _=q,k=X;if(Kt(u)){var N="separator"in u?u.separator:N;_="length"in u?st(u.length):_,k="omission"in u?zn(u.omission):k}s=Nt(s);var F=s.length;if(Yl(s)){var W=li(s);F=W.length}if(_>=F)return s;var G=_-Ql(k);if(G<1)return k;var ee=W?rl(W,0,G).join(""):s.slice(0,G);if(N===t)return ee+k;if(W&&(G+=ee.length-G),mo(N)){if(s.slice(G).search(N)){var me,be=ee;for(N.global||(N=Rs(N.source,Nt(Ki.exec(N))+"g")),N.lastIndex=0;me=N.exec(be);)var ye=me.index;ee=ee.slice(0,ye===t?G:ye)}}else if(s.indexOf(zn(N),G)!=G){var Ve=ee.lastIndexOf(N);Ve>-1&&(ee=ee.slice(0,Ve))}return ee+k}function sw(s){return s=Nt(s),s&&qi.test(s)?s.replace(Ii,Op):s}var ow=na(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),wo=Fu("toUpperCase");function Of(s,u,_){return s=Nt(s),u=_?t:u,u===t?Ep(s)?zp(s):Sp(s):s.match(u)||[]}var Ff=ut(function(s,u){try{return nn(s,t,u)}catch(_){return po(_)?_:new et(_)}}),uw=Vi(function(s,u){return Gt(u,function(_){_=gi(_),Ri(s,_,go(s[_],s))}),s});function fw(s){var u=s==null?0:s.length,_=je();return s=u?Wt(s,function(k){if(typeof k[1]!="function")throw new Jn(r);return[_(k[0]),k[1]]}):[],ut(function(k){for(var N=-1;++N<u;){var F=s[N];if(nn(F[0],this,k))return nn(F[1],this,k)}})}function cw(s){return Om(Qn(s,h))}function ko(s){return function(){return s}}function dw(s,u){return s==null||s!==s?u:s}var hw=zu(),gw=zu(!0);function Dn(s){return s}function So(s){return _u(typeof s=="function"?s:Qn(s,h))}function _w(s){return mu(Qn(s,h))}function pw(s,u){return bu(s,Qn(u,h))}var mw=ut(function(s,u){return function(_){return Ra(_,s,u)}}),bw=ut(function(s,u){return function(_){return Ra(s,_,u)}});function Co(s,u,_){var k=on(u),N=Er(u,k);_==null&&!(Kt(u)&&(N.length||!k.length))&&(_=u,u=s,s=this,N=Er(u,on(u)));var F=!(Kt(_)&&"chain"in _)||!!_.chain,W=Oi(s);return Gt(N,function(G){var ee=u[G];s[G]=ee,W&&(s.prototype[G]=function(){var me=this.__chain__;if(F||me){var be=s(this.__wrapped__),ye=be.__actions__=An(this.__actions__);return ye.push({func:ee,args:arguments,thisArg:s}),be.__chain__=me,be}return ee.apply(s,el([this.value()],arguments))})}),s}function vw(){return xe._===this&&(xe._=Kp),this}function yo(){}function ww(s){return s=st(s),ut(function(u){return vu(u,s)})}var kw=eo(Wt),Sw=eo(Bo),Cw=eo(Ps);function Uf(s){return so(s)?Ns(gi(s)):xm(s)}function yw(s){return function(u){return s==null?t:Ll(s,u)}}var Pw=Hu(),Nw=Hu(!0);function Po(){return[]}function No(){return!1}function Tw(){return{}}function Iw(){return""}function Lw(){return!0}function Aw(s,u){if(s=st(s),s<1||s>_e)return[];var _=ve,k=mn(s,ve);u=je(u),s-=ve;for(var N=Ls(k,u);++_<s;)u(_);return N}function Ew(s){return it(s)?Wt(s,gi):Bn(s)?[s]:An(lf(Nt(s)))}function Rw(s){var u=++qp;return Nt(s)+u}var Dw=Fr(function(s,u){return s+u},0),Vw=to("ceil"),Mw=Fr(function(s,u){return s/u},1),Ow=to("floor");function Fw(s){return s&&s.length?Ar(s,Dn,Bs):t}function Uw(s,u){return s&&s.length?Ar(s,je(u,2),Bs):t}function zw(s){return qo(s,Dn)}function Bw(s,u){return qo(s,je(u,2))}function Hw(s){return s&&s.length?Ar(s,Dn,Gs):t}function Ww(s,u){return s&&s.length?Ar(s,je(u,2),Gs):t}var qw=Fr(function(s,u){return s*u},1),Gw=to("round"),Kw=Fr(function(s,u){return s-u},0);function jw(s){return s&&s.length?Is(s,Dn):0}function Jw(s,u){return s&&s.length?Is(s,je(u,2)):0}return O.after=_v,O.ary=_f,O.assign=n0,O.assignIn=Lf,O.assignInWith=Zr,O.assignWith=i0,O.at=l0,O.before=pf,O.bind=go,O.bindAll=uw,O.bindKey=mf,O.castArray=Tv,O.chain=df,O.chunk=O1,O.compact=F1,O.concat=U1,O.cond=fw,O.conforms=cw,O.constant=ko,O.countBy=jb,O.create=a0,O.curry=bf,O.curryRight=vf,O.debounce=wf,O.defaults=r0,O.defaultsDeep=s0,O.defer=pv,O.delay=mv,O.difference=z1,O.differenceBy=B1,O.differenceWith=H1,O.drop=W1,O.dropRight=q1,O.dropRightWhile=G1,O.dropWhile=K1,O.fill=j1,O.filter=Yb,O.flatMap=Xb,O.flatMapDeep=$b,O.flatMapDepth=xb,O.flatten=of,O.flattenDeep=J1,O.flattenDepth=Y1,O.flip=bv,O.flow=hw,O.flowRight=gw,O.fromPairs=Q1,O.functions=g0,O.functionsIn=_0,O.groupBy=ev,O.initial=X1,O.intersection=$1,O.intersectionBy=x1,O.intersectionWith=eb,O.invert=m0,O.invertBy=b0,O.invokeMap=nv,O.iteratee=So,O.keyBy=iv,O.keys=on,O.keysIn=Rn,O.map=Gr,O.mapKeys=w0,O.mapValues=k0,O.matches=_w,O.matchesProperty=pw,O.memoize=jr,O.merge=S0,O.mergeWith=Af,O.method=mw,O.methodOf=bw,O.mixin=Co,O.negate=Jr,O.nthArg=ww,O.omit=C0,O.omitBy=y0,O.once=vv,O.orderBy=lv,O.over=kw,O.overArgs=wv,O.overEvery=Sw,O.overSome=Cw,O.partial=_o,O.partialRight=kf,O.partition=av,O.pick=P0,O.pickBy=Ef,O.property=Uf,O.propertyOf=yw,O.pull=lb,O.pullAll=ff,O.pullAllBy=ab,O.pullAllWith=rb,O.pullAt=sb,O.range=Pw,O.rangeRight=Nw,O.rearg=kv,O.reject=ov,O.remove=ob,O.rest=Sv,O.reverse=co,O.sampleSize=fv,O.set=T0,O.setWith=I0,O.shuffle=cv,O.slice=ub,O.sortBy=gv,O.sortedUniq=pb,O.sortedUniqBy=mb,O.split=X0,O.spread=Cv,O.tail=bb,O.take=vb,O.takeRight=wb,O.takeRightWhile=kb,O.takeWhile=Sb,O.tap=Fb,O.throttle=yv,O.thru=qr,O.toArray=Nf,O.toPairs=Rf,O.toPairsIn=Df,O.toPath=Ew,O.toPlainObject=If,O.transform=L0,O.unary=Pv,O.union=Cb,O.unionBy=yb,O.unionWith=Pb,O.uniq=Nb,O.uniqBy=Tb,O.uniqWith=Ib,O.unset=A0,O.unzip=ho,O.unzipWith=cf,O.update=E0,O.updateWith=R0,O.values=aa,O.valuesIn=D0,O.without=Lb,O.words=Of,O.wrap=Nv,O.xor=Ab,O.xorBy=Eb,O.xorWith=Rb,O.zip=Db,O.zipObject=Vb,O.zipObjectDeep=Mb,O.zipWith=Ob,O.entries=Rf,O.entriesIn=Df,O.extend=Lf,O.extendWith=Zr,Co(O,O),O.add=Dw,O.attempt=Ff,O.camelCase=F0,O.capitalize=Vf,O.ceil=Vw,O.clamp=V0,O.clone=Iv,O.cloneDeep=Av,O.cloneDeepWith=Ev,O.cloneWith=Lv,O.conformsTo=Rv,O.deburr=Mf,O.defaultTo=dw,O.divide=Mw,O.endsWith=U0,O.eq=ri,O.escape=z0,O.escapeRegExp=B0,O.every=Jb,O.find=Qb,O.findIndex=rf,O.findKey=o0,O.findLast=Zb,O.findLastIndex=sf,O.findLastKey=u0,O.floor=Ow,O.forEach=hf,O.forEachRight=gf,O.forIn=f0,O.forInRight=c0,O.forOwn=d0,O.forOwnRight=h0,O.get=bo,O.gt=Dv,O.gte=Vv,O.has=p0,O.hasIn=vo,O.head=uf,O.identity=Dn,O.includes=tv,O.indexOf=Z1,O.inRange=M0,O.invoke=v0,O.isArguments=Rl,O.isArray=it,O.isArrayBuffer=Mv,O.isArrayLike=En,O.isArrayLikeObject=Xt,O.isBoolean=Ov,O.isBuffer=sl,O.isDate=Fv,O.isElement=Uv,O.isEmpty=zv,O.isEqual=Bv,O.isEqualWith=Hv,O.isError=po,O.isFinite=Wv,O.isFunction=Oi,O.isInteger=Sf,O.isLength=Yr,O.isMap=Cf,O.isMatch=qv,O.isMatchWith=Gv,O.isNaN=Kv,O.isNative=jv,O.isNil=Yv,O.isNull=Jv,O.isNumber=yf,O.isObject=Kt,O.isObjectLike=Qt,O.isPlainObject=Ua,O.isRegExp=mo,O.isSafeInteger=Qv,O.isSet=Pf,O.isString=Qr,O.isSymbol=Bn,O.isTypedArray=la,O.isUndefined=Zv,O.isWeakMap=Xv,O.isWeakSet=$v,O.join=tb,O.kebabCase=H0,O.last=Xn,O.lastIndexOf=nb,O.lowerCase=W0,O.lowerFirst=q0,O.lt=xv,O.lte=e0,O.max=Fw,O.maxBy=Uw,O.mean=zw,O.meanBy=Bw,O.min=Hw,O.minBy=Ww,O.stubArray=Po,O.stubFalse=No,O.stubObject=Tw,O.stubString=Iw,O.stubTrue=Lw,O.multiply=qw,O.nth=ib,O.noConflict=vw,O.noop=yo,O.now=Kr,O.pad=G0,O.padEnd=K0,O.padStart=j0,O.parseInt=J0,O.random=O0,O.reduce=rv,O.reduceRight=sv,O.repeat=Y0,O.replace=Q0,O.result=N0,O.round=Gw,O.runInContext=$,O.sample=uv,O.size=dv,O.snakeCase=Z0,O.some=hv,O.sortedIndex=fb,O.sortedIndexBy=cb,O.sortedIndexOf=db,O.sortedLastIndex=hb,O.sortedLastIndexBy=gb,O.sortedLastIndexOf=_b,O.startCase=$0,O.startsWith=x0,O.subtract=Kw,O.sum=jw,O.sumBy=Jw,O.template=ew,O.times=Aw,O.toFinite=Fi,O.toInteger=st,O.toLength=Tf,O.toLower=tw,O.toNumber=$n,O.toSafeInteger=t0,O.toString=Nt,O.toUpper=nw,O.trim=iw,O.trimEnd=lw,O.trimStart=aw,O.truncate=rw,O.unescape=sw,O.uniqueId=Rw,O.upperCase=ow,O.upperFirst=wo,O.each=hf,O.eachRight=gf,O.first=uf,Co(O,function(){var s={};return di(O,function(u,_){It.call(O.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),O.VERSION=n,Gt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){O[s].placeholder=O}),Gt(["drop","take"],function(s,u){_t.prototype[s]=function(_){_=_===t?1:an(st(_),0);var k=this.__filtered__&&!u?new _t(this):this.clone();return k.__filtered__?k.__takeCount__=mn(_,k.__takeCount__):k.__views__.push({size:mn(_,ve),type:s+(k.__dir__<0?"Right":"")}),k},_t.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Gt(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==x||_==J;_t.prototype[s]=function(N){var F=this.clone();return F.__iteratees__.push({iteratee:je(N,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Gt(["head","last"],function(s,u){var _="take"+(u?"Right":"");_t.prototype[s]=function(){return this[_](1).value()[0]}}),Gt(["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(Dn)},_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 Ra(_,s,u)})}),_t.prototype.reject=function(s){return this.filter(Jr(je(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(ve)},di(_t.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=O[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);N&&(O.prototype[u]=function(){var W=this.__wrapped__,G=k?[1]:arguments,ee=W instanceof _t,me=G[0],be=ee||it(W),ye=function(gt){var pt=N.apply(O,el([gt],G));return k&&Ve?pt[0]:pt};be&&_&&typeof me=="function"&&me.length!=1&&(ee=be=!1);var Ve=this.__chain__,Ge=!!this.__actions__.length,Ye=F&&!Ve,ot=ee&&!Ge;if(!F&&be){W=ot?W:new _t(this);var Qe=s.apply(W,G);return Qe.__actions__.push({func:qr,args:[ye],thisArg:t}),new Yn(Qe,Ve)}return Ye&&ot?s.apply(this,G):(Qe=this.thru(ye),Ye?k?Qe.value()[0]:Qe.value():Qe)})}),Gt(["pop","push","shift","sort","splice","unshift"],function(s){var u=_r[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);O.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(it(F)?F:[],N)}return this[_](function(W){return u.apply(it(W)?W:[],N)})}}),di(_t.prototype,function(s,u){var _=O[u];if(_){var k=_.name+"";It.call(xl,k)||(xl[k]=[]),xl[k].push({name:u,func:_})}}),xl[Or(t,y).name]=[{name:"wrapper",func:t}],_t.prototype.clone=sm,_t.prototype.reverse=om,_t.prototype.value=um,O.prototype.at=Ub,O.prototype.chain=zb,O.prototype.commit=Bb,O.prototype.next=Hb,O.prototype.plant=qb,O.prototype.reverse=Gb,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=Kb,O.prototype.first=O.prototype.head,Pa&&(O.prototype[Pa]=Wb),O},Zl=Bp();Ht?((Ht.exports=Zl)._=Zl,Lt._=Zl):xe._=Zl}).call(Ba)})(ss,ss.exports);var qa=ss.exports;class B2{getNodePath(e,t){return e?we.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=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 Ot.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:a=!0,preventContextUpdate:r=!1}=t;if(await Ot.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=re.getConfigValue("routing.useHashRouting"),g=re.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=g?we.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const h=l?"pushState":"replaceState",p=re.getConfigValue("routing.disableBrowserHistory")?"replaceState":h;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:r,withoutSync:!a}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return re.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=we.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=we.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=we.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return re.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=re.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&we.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(re.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const a=window.location.href,r=t.get().unsavedChanges.persistUrl;return r&&history.pushState(window.state,"",r),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,a)},()=>{})}resolveUnsavedChanges(e,t,n,l,a){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",a))}async shouldShowModalPathInUrl(){re.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,a){const{children:r,intendToHaveEmptyViewUrl:o,compound:c}=e,g=r&&Array.isArray(r)&&r.length>0||r||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Ot.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),h=await we.getDefaultChildNode(d);this.showPageNotFoundError(a,h,l),this.navigateTo(h)}return!0}return!1}async handlePageNotFound(e,t,n,l,a,r,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await we.getDefaultChildNode(n,async(g,d)=>await Ot.getChildren(g,d));if(n.isExistingRoute){const g=le.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),a.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(a,le.trimTrailingSlash(n.matchedPath)+"/"+c,r,!0),!0;const g=await Ot.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),"/"),d=await we.getDefaultChildNode(g);this.showPageNotFoundError(a,d,r,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(a,n.matchedPath,r,!0),!0)}async handleRouteChange(e,t,n,l,a,r=!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 g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:h}=await Ot.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,g,t)||await this.handlePageNotFound(d,p,h,o,t,g,l))return;const b=re.getConfigBooleanValue("settings.hideNavigation"),m=we.parseParams(g.split("?")[1]),v=we.getNodeParams(m),C=oe.findViewGroup(d),y=decodeURIComponent(g.split("?")[1]||""),P=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let T=!1,E=P;for(;E;){if(E.tabNav===!0){T=!0;break}else if(E.tabNav===!1){T=!1;break}else if(le.isObject(E.tabNav)){if(E.tabNav.showAsTabHeader){T=!0;break}if("hideTabNavAutomatically"in E.tabNav&&E.children)if(E.tabNav.hideTabNavAutomatically===!0&&E.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}E=oe.getParentNode(E,h.navigationPath)}let V=P,I=d.hideSideNav;if(I===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){I=!0;break}if(V.hideSideNav===!1){I=!1;break}V=oe.getParentNode(V,h.navigationPath)}const B=we.substituteDynamicParamsInObject(Object.assign({},h.context,P.context),h.pathParams);h.navigationPath._context=B;const M={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:h.navigationPath,context:B,pathParams:h.pathParams,hideSideNav:I||!1,isolateView:d.isolateView||!1,tabNav:T};t.set(Object.assign({},M,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let D=document.getElementsByClassName("iframeContainer")[0];if(D&&(T?D.classList.add("iframeContainerTabNav"):D.classList.contains("iframeContainerTabNav")&&D.classList.remove("iframeContainerTabNav")),d.compound)oi.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)oi.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const X=document.querySelector(".wcContainer");if(X&&(X.configChangedRequest=!1),D&&(D.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!r)if(!a)await oi.navigateIframe(l,t,n);else{const Q=t.get(),ce=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(Q.context),nodeParams:JSON.stringify(Q.nodeParams),pathParams:JSON.stringify(Q.pathParams),searchParams:JSON.stringify(we.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ce),withoutSync:!0})}}const q=document.querySelector(".lui-tab-header");q&&q.dispatchEvent(new Event("lui_ctx_update")),Ot.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=we.getModalPathFromPath();if(e){const t=we.getModalParamsFromPath(),{nodeObject:n}=await Ot.extractDataFromPath(e);ep.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),a=!0;for(let r=0;r<l.length;r++){let o=n.length>r?n[r]:void 0,c=l[r];if(o!==c.pathSegment||!a)if(we.isDynamicNode(c)){if(!a||o!==we.getDynamicNodeValue(c,e.pathParams)){qn.deleteNodesRecursively(c);break}}else a=!1}}else qn.deleteCache()}handleRouteClick(e,t){const n=we.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 a=Ee.getIframeContainer(),r=oi.getActiveIframe(a);r&&r.vg&&oi.canCache(r.vg)?(oi.switchActiveIframe(Ee.getIframeContainer(),void 0,!1),setTimeout(()=>{oi.switchActiveIframe(Ee.getIframeContainer(),r,!1),window.postMessage({msg:"refreshRoute"},"*")})):(r&&a.removeChild(r),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,a={}){const r=we.getPageNotFoundRedirectResult(n,l),o=r.path;if(o){r.keepURL?this.handleRouteChange(o,e,Ee.getIframeContainer(),a):this.navigateTo(o);return}we.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={...D2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.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=we.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ua.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const a=this.getGeneratedWCId(t),r=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(a);o.context=r.context,o.extendedContext&&(o.extendedContext.nodeParams=r.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&ua.renderWebComponent(r.viewUrl,n,r,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&qa.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:a}=t;this.removeLastChildFromWCContainer(),a&&a.children&&(a.children=a.children.filter(r=>oe.checkVisibleForFeatureToggles(r))),ua.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=we.getHashQueryParamSeparator();const a=we.getQueryParams(),r=we.getModalViewParamName();a[r]=e,t&&Object.keys(t).length&&(a[`${r}Params`]=JSON.stringify(t));const o=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${we.encodeParams(a)}`}else o.search=`?${we.encodeParams(a)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=we.getHashQueryParamSeparator();const l=we.getQueryParams(),a=we.getModalViewParamName(),r=l[a],o=new URL(location.href),c=re.getConfigBooleanValue("routing.useHashRouting");let g=history.state,d,h;if(c){let[p,b]=o.hash.split("?");d=p,h=we.getURLWithoutModalData(b,a),h&&(d+="?"+h)}else d=o.pathname,h=we.getURLWithoutModalData(o.search,a),h&&(d+="?"+we.getURLWithoutModalData(o.search,a));if(g=we.handleHistoryState(g,d),r!==e){if(l[a]=e,t&&Object.keys(t).length&&(l[`${a}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}${we.encodeParams(l)}`}else o.search=`?${we.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,h&&(p.hash+="?"+h)}else p.search=h;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=we.getQueryParams(),n=we.getModalViewParamName();let l=new URL(location.href);if(re.getConfigBooleanValue("routing.useHashRouting")){let r={};t[n]&&(r[n]=t[n]),t[`${n}Params`]&&(r[`${n}Params`]=t[`${n}Params`]);let o=we.encodeParams(r);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let r=new URLSearchParams(l.search.slice(1));r.delete(n),r.delete(`${n}Params`);let o="";Array.from(r.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+r.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const r=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",r),history.pushState({},"",r),history.back()):(history.pushState({},"",r),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 lt=new B2;class H2{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=we.substituteViewUrl(e,t));const l=Ee.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Ot.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),t),a=we.parseParams(n.split("?")[1]),r=we.getNodeParams(a),o=we.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:r,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){ua.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const a={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(a),e.dispatch("wcCreated",{...a,collapsed:!1});const r=document.querySelector(".wcContainer");if(r&&r.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const r={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(r),e.dispatch("iframeCreated",{...r,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)),a=e?100-e:60,r=parseInt(le.computePxFromPercent(t,a));return{percent:n,bottom:l,top:r}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ee.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent: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}),Ee.getIframeContainer().style.marginBottom="",ft.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ee.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ee.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ee.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ft=new H2;class W2{luigiAfterInit(){re.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Ya.hideAppLoadingIndicator()},0)}}const q2=new W2;class G2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=re.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ui=new G2;class K2{constructor(){return this._userInfoStore=fa({}),this._loggedInStore=fa(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=re.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=re.getConfigValue(`auth.${e}`),n=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(a=>(this.idpProviderInstance=a,this.checkAuth(t))).catch(a=>{const r=`Error: ${a.message||a}`;console.error(r,a.message&&a),re.setErrorMessage(r)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(re.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await pi.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(re.getConfigValue("auth.events.onAuthSuccessful"))&&ui.isNewlyAuthorized()&&await pi.handleAuthEvent("onAuthSuccessful",e,t),ui.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ui.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await pi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ui.removeAuthData()},n=re.getConfigValue(`auth.${re.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 a=await new n(t);return["login"].forEach(r=>{if(!le.isFunction(a[r]))throw this.IdpProviderException(`${r} function does not exist in custom IDP Provider ${e}`)}),a}if(le.isFunction(re.getConfigValue("auth.events.onAuthConfigError")))await pi.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 fn=new K2;class j2{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(a=>a.type==="queryString");for(let a=0;a<l.length;a++){const r=l[a];n.searchParams.has(r.key)&&n.searchParams.delete(r.key);const o=r.valueFn();n.searchParams.append(r.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Ga=new j2;class J2{getStoredAuthData(){return ui.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await pi.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 J2;class Y2{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const a=new RegExp(`<${n[l]}/>`,"g"),r=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),c=new RegExp(`<${n[l]} >`,"g"),g=new RegExp(`</${n[l]}[/]>`,"g"),d=new RegExp(`</${n[l]} [/]>`,"g"),h=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"g");t=t.replace(a,`<${n[l]}>`).replace(r,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(g,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(h,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let a={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((r,[o,c])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),h=`<a id="${g}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:r.sanitizedText.replace(b,h),links:r.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},a):a}}const da=new Y2;class Q2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),a=le.getUrlWithoutHash(n.viewUrl),r=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===a&&!r&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),a=le.getUrlWithoutHash(n.viewUrl),r=this.getLocation(l),o=this.getLocation(a);if(r===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return c2.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){Ee.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,a){const r=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=re.getConfigValue("settings.customSandboxRules"),c=re.getConfigValue("settings.allowRules"),g=o?[...new Set([...r,...o])]:r,d=document.createElement("iframe");d.src=Ga.hasDecorators()?Ga.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=g.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:a?a.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const h=re.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(h))try{h(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ee.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(r=>this.isMessageSource(e,r));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const a=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(a,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ee.specialIframeTypes.filter(n=>Ee.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),a=n.getAttribute("tabindex");(a||a===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",a),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:Uo.getActiveFeatureToggleList(),currentLocale:St.getCurrentLocale(),currentTheme:Do.getCurrentTheme()}}}const Ee=new Q2;class Z2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(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 a=t.split(".");for(;l&&n<a.length;)l=l[a[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let a=e;return t&&(l?a=qa.replace(a,/{([\s\S]+?)}/g,r=>{let o=r.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),qa.get(t,o,r)}):Object.entries(t).forEach(r=>{a=a.replace(new RegExp(this.escapeRegExp(n+r[0]),"g"),encodeURIComponent(r[1]))})),l&&(a=a.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),a}getInnerHeight(){return Ee.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ee.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Bi.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 a=t.filter(o=>l.includes(o)).length===0,r=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;a&&r&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let a=0;a<3;a++){const r=Number(n[a]),o=Number(l[a]);if(r>o)return 1;if(o>r)return-1;if(!isNaN(r)&&isNaN(o))return 1;if(isNaN(r)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!re.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(a=>{e=r=>{a(r||!0)},t=()=>{a(!1)}});let l=re._remotePromises;return l||(l={counter:0,promises:[]},re._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=a=>{delete l.promises[n.id],e(a)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return re._remotePromises?re._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new Z2;class X2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=re.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return 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=Uo.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(pi.isAuthorizationEnabled()){const a=fl.isLoggedIn(),r=e.anonymousAccess;if(a&&r==="exclusive"||!a&&r!=="exclusive"&&r!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=re.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=re.getConfigValue("navigation.defaults.category");let a={},r=0,o=0;const c=g=>{g.sort((d,h)=>{const p=d.order||0,b=h.order||0;return p-b})};return e.forEach(g=>{let d,h;const p=g[t];le.isObject(p)?(d=p.id?p.id:p.label,h=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),h={label:d,_fromString:!0});let b=a[d];b||(n&&p&&o++,(h.order===void 0||h.order===null||h.order==="")&&(h.order=d?r++:-1),b=[],a[d]=b),b.metaInfo||(b.metaInfo=h),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=g.parent?this.getNodePath(g.parent)+":"+d:d),b.push(g)}),Object.keys(a).forEach(g=>{const d=a[g].metaInfo;d&&d.id&&(a[d.label]=a[d.id],delete a[d.id])}),Object.keys(a).forEach(g=>{c(a[g]),a[g].length===0&&delete a[g]}),a}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=re.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":St.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ot.getFilteredChildren(e[0]);let n=null,l=0,a=0,r={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&a++);let h;const p=!!d.badgeCounter;if(p&&(h=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(r[b]){if(r[b].icon||(r[b].icon=d.category.icon,r[b].altText=d.category.altText),p&&!r[b].badgeCounter)r[b].badgeCounter={label:"",count:()=>h};else if(p){const m=r[b].badgeCounter.count()+h;r[b].badgeCounter.count=()=>m}}else r[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>h}},o.push(r[b]);r[b].children.push(d)}else o.push(d);h&&c.push(h)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Ot.getChildren(o[d])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:a};if(c.length){const d=c.reduce((h,p)=>h+p);g.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return g}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:re.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),a=e.split(":")[0];if(t)n&&(l=l.filter(r=>r.indexOf(a+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let r=l.indexOf(e);r>=0&&l.splice(r,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||"/";lt.navigateTo(t)}}getBurgerTooltipConfig(){const e=re.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?St.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?St.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 Ot.extractDataFromPath(e);return!!await Ot.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:qa.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,a=>{const r=a.substr(2,a.length-3);return this.getPropertyChainValue(t,r)||a});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 a={...e.titleResolver};delete a._cache;const r=this.substituteVars(a,t),o=JSON.stringify(r);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=r.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(d=>{try{const h=this.processTitleData(d,r,e);e.titleResolver._cache={key:o,value:h},n(h)}catch(h){l(h)}})}).catch(g=>{l(g)})}).catch(n=>{qa.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=St.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let a={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,a,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return re.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ee.getLocation(e.viewUrl)===Ee.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:oe.prepareForTests(e.pathSegment,e.label)}}const oe=new X2;class $2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await ls.getConfigValueFromObjectAsync(n,"children",e.context),a=l.find(r=>r.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&a)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.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(a=>{const r=a.split("=");r&&r.length>0&&(t[decodeURIComponent(r[0])]=decodeURIComponent(r[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 a=l[0].substr(n.length);t[a]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,a])=>{n=n.replace(new RegExp(":"+l,"g"),a)}),n}getContentViewParamPrefix(){let e=re.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=re.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return re.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=we.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?we.parseParams(we.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return we.getLocation().search?we.parseParams(we.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(re.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=re.getConfigValue("routing.useHashRouting");Mn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?lt.getHashPath():lt.getModifiedPathname();e(l)}}),Mn.addEventListener("popstate",n=>{const l=t?lt.getHashPath(location.href):lt.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 r=e.externalLink.url,o={context:we.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(r,o)}else if(e.link){const r=e.link.startsWith("/")?e.link:lt.buildFromRelativePath(e);return l+r}const a=we.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(a,t,":",!1)}calculateNodeHref(e,t){const n=we.getRouteLink(e,t,re.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(re.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([a,r])=>{const o=l?Object.keys(t).find(c=>r&&r.indexOf(n+c)>=0):Object.keys(t).find(c=>r===n+c);return[a,o?l?r.replace(n+o,t[o]):t[o]:r]}).reduce((a,[r,o])=>Object.assign(a,{[r]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=we.buildRoute(t,`/${t.pathSegment}`),a=le.trimLeadingSlash(l).split("/");if(n.length<a.length)return;let r="";for(let o=0;o<a.length;o++){if(n[o]!==a[o]&&a[o].indexOf(":")!==0)return;r+="/"+n[o]}return r}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=St.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",a="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(a)){const r=e.split("?")[1];if(r){const o=r.split("=")[0];ul.getSearchParams()[o]?e=e.replace(`{${a}.${o}}`,ul.getSearchParams()[o]):e=e.replace(`?${o}={${a}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[da.sanitizeParam(n[0])]=da.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 a=n.split(",");a.length>0&&a[0]!==""&&a.forEach(r=>Uo.setFeatureToggle(r,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),a=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:a}}}getIntentPath(e){const t=re.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let a=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!a)return!1;if(a.externalLink)return{...a.externalLink,external:!0};a=a.pathSegment;const r=Object.entries(l.params);if(r&&r.length>0){a=this.resolveDynamicIntentPath(a,l.params);let o=re.getConfigValue("routing.nodeParamPrefix");o=o||"~",a=a.concat(`?${o}`),r.forEach(([c,g],d)=>{a+=`${d>0?"&"+o:""}${c}=${g}`})}return a}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,a]of Object.entries(t)){const r=new RegExp("/:"+l+"(/|$)","g");n=n.replace(r,`/${a}/`)}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 a={};Object.keys(e.clientPermissions.urlParameters).forEach(r=>{r in l&&e.clientPermissions.urlParameters[r].write===!0&&(a[r]=l[r],delete l[r])});for(const r in l)console.warn(`No permission to add the search param "${r}" to the url`);Object.keys(a).length>0&&ul.addSearchParams(a,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=re.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:St.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,a]of Object.entries(e)){const r=n?`${n}${l}`:l;t.set(r,a),a===void 0&&t.delete(r)}}addParamsOnHashRouting(e,t,n){let l=t;const[a,r]=l.split("?"),o=new URLSearchParams(r);return this.modifySearchParams(e,o,n),l=a,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const we=new $2;class x2{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(a=>{l=l+(l?".":"")+a,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const dn=new x2;class ek{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 Mn=new ek;class tk{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,a){try{this.checkInit(),this.checkStorageBrowserSupport();const r=this[l];if(typeof r!="function")throw l+" is not a supported operation for the storage";const o=r.bind(this,this.cleanHostname(t),a)();this.sendBackOperation(e,n,"OK",o)}catch(r){console.log(r),this.sendBackOperation(e,n,"ERROR",r)}}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 a={msg:"storage",data:{id:t,status:n,result:l}};Ee.getMicrofrontendsInDom().filter(r=>r.id===e).map(r=>r.container).map(r=>Ee.sendMessageToIframe(r,a))}}const nk=new tk;class ik{constructor(){}processUserSettingGroups(){const e=[],t=re.getConfigValue("userSettings.userSettingGroups"),n=re.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const a in l){let r={};r[a]=l[a],e.push(r)}return e}return e}createIframe(e,t){const n=Ee.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const oa=new ik;class lk{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Kf=new lk;function jf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Jf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,a,r,o,c,g;function d(){return i[4](i[9])}return{c(){e=S("div"),t=S("p"),l=H(),a=S("button"),a.innerHTML='<i class="sap-icon sap-icon--decline"></i>',r=H(),f(t,"class","fd-message-strip__text svelte-dkyena"),f(a,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(a,"aria-label","Close"),f(a,"aria-controls","j2ALl423"),f(a,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(h,p){A(h,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,a),w(e,r),c||(g=ne(a,"click",d),c=!0)},p(h,p){i=h,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena")&&f(e,"class",o)},d(h){h&&L(e),c=!1,g()}}}function ak(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jf(jf(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-dkyena"),f(e,"aria-hidden","false")},m(l,a){A(l,e,a);for(let r=0;r<n.length;r+=1)n[r].m(e,null);i[5](e)},p(l,[a]){if(a&11){t=l[0];let r;for(r=0;r<t.length;r+=1){const o=jf(l,t,r);n[r]?n[r].p(o,a):(n[r]=Jf(o),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},i:He,o:He,d(l){l&&L(e),ct(n,l),i[5](null)}}}function rk(i,e,t){const n=Jt();let{alertQueue:l}=e,{alertTypeMap:a={info:"information",success:"success",warning:"warning",error:"error"}}=e,r;const o=vt("getUnsavedChangesModalPromise"),c=vt("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=da.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{g(P,b.settings.id)})}),b.settings.afterInit){const P=r;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)}),xt(()=>{});function g(p,b){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function h(p){Je[p?"unshift":"push"](()=>{r=p,t(2,r)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,a=p.alertTypeMap)},[l,a,r,n,d,h]}class sk extends Vt{constructor(e){super(),Dt(this,e,rk,ak,At,{alertQueue:0,alertTypeMap:1})}}const Ml=38,Hi=40,vi=13,mi=27,Ka=32,ok=36,uk=35;function Yf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Qf(i){let e,t,n=i[0].buttonConfirm+"",l,a,r;return{c(){e=S("div"),t=S("button"),l=Le(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),a||(r=ne(t,"click",i[4]),a=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&L(e),a=!1,r()}}}function fk(i){let e,t,n,l,a,r,o,c=i[0].header+"",g,d,h,p=i[0].body+"",b,m,v,C,y,P,T=i[0].buttonDismiss+"",E,V,I,B,M,D=i[0].type&&Yf(i),q=i[0].buttonConfirm!==!1&&Qf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),a=S("div"),D&&D.c(),r=H(),o=S("h2"),g=Le(c),d=H(),h=S("div"),b=H(),m=S("footer"),v=S("div"),q&&q.c(),C=H(),y=S("div"),P=S("button"),E=Le(T),f(o,"class","fd-title fd-title--h5"),f(a,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(h,"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",I="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(X,Q){A(X,e,Q),w(e,t),w(t,n),w(n,l),w(l,a),D&&D.m(a,null),w(a,r),w(a,o),w(o,g),w(t,d),w(t,h),h.innerHTML=p,w(t,b),w(t,m),w(m,v),q&&q.m(v,null),w(v,C),w(v,y),w(y,P),w(P,E),B||(M=[ne(window,"keydown",i[1]),ne(P,"click",i[5])],B=!0)},p(X,[Q]){X[0].type?D?D.p(X,Q):(D=Yf(X),D.c(),D.m(a,r)):D&&(D.d(1),D=null),Q&1&&c!==(c=X[0].header+"")&&Ae(g,c),Q&1&&p!==(p=X[0].body+"")&&(h.innerHTML=p),X[0].buttonConfirm!==!1?q?q.p(X,Q):(q=Qf(X),q.c(),q.m(v,C)):q&&(q.d(1),q=null),Q&1&&T!==(T=X[0].buttonDismiss+"")&&Ae(E,T),Q&1&&V!==(V="fd-button "+(X[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Q&1&&I!==(I="fd-message-box-docs-static fd-message-box fd-message-box--"+X[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",I)},i:He,o:He,d(X){X&&L(e),D&&D.d(),q&&q.d(),B=!1,Ze(M)}}}function ck(i,e,t){const n=Jt();let{settings:l}=e;const a={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Ja(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),xt(()=>{const d={icon:a[l.type],header:St.getTranslation("luigi.confirmationModal.header"),body:St.getTranslation("luigi.confirmationModal.body"),buttonDismiss:St.getTranslation("luigi.button.dismiss"),buttonConfirm:St.getTranslation("luigi.button.confirm")};t(0,l={...l,body:da.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ee.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const h=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${h}`).focus()}catch{console.warn(`Couldn't focus ${h} in modal`)}});function r(d){return oe.renderIconClassName(d)}function o(d){d.keyCode===mi&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,r,c,g]}class dk extends Vt{constructor(e){super(),Dt(this,e,ck,fk,At,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function hk(i){let e,t,n;const l=i[5].default,a=U_(l,i,i[4],null);return{c(){e=S("div"),a&&a.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(r,o){A(r,e,o),a&&a.m(e,null),n=!0},p(r,[o]){a&&a.p&&(!n||o&16)&&H_(a,l,r,r[4],n?B_(l,r[4],o,null):W_(r[4]),null),(!n||o&3&&t!==(t=r[0]+" "+(r[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(r){n||(R(a,r),n=!0)},o(r){U(a,r),n=!1},d(r){r&&L(e),a&&a.d(r)}}}function gk(i,e,t){let{$$slots:n={},$$scope:l}=e;const a=Jt();let{backdropClass:r=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:d}=e,{disable:h}=e;const p=()=>{const m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,r=m+g.data.heightCssClass):t(0,r=m+"height-auto"):t(0,r="")},b=m=>{if(!d)return!0;const C=[...Ee.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return xt(()=>{re.getConfigValue("settings.backdropDisabled")||(p(),Mn.addEventListener("message",v=>{const C=Ee.getValidMessageSource(v);C&&h!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),a("stateChanged",{backdropActive:!0}),Ee.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),a("stateChanged",{backdropActive:!1}),c&&Ee.enableA11yOfInactiveIframe()))}))}),Gn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,r=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,h=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[r,d,o,h,l,n]}class Ol extends Vt{constructor(e){super(),Dt(this,e,gk,hk,At,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Zf(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m;t=new Ol({props:{disable:i[2]}});let v=i[0].title&&Xf(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),a=S("div"),v&&v.c(),r=H(),o=S("div"),c=S("div"),g=S("button"),d=S("i"),f(a,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",h=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-1rzu3xo")},m(C,y){A(C,e,y),Oe(t,e,null),w(e,n),w(e,l),w(l,a),v&&v.m(a,null),w(e,r),w(e,o),w(o,c),w(c,g),w(g,d),p=!0,b||(m=ne(g,"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=Xf(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null),(!p||y&35&&h!==(h=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(g,"data-testid",h)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(t),v&&v.d(),b=!1,m()}}}function Xf(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Le(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,a){A(l,e,a),w(e,n)},p(l,a){a&1&&t!==(t=l[0].title+"")&&Ae(n,t)},d(l){l&&L(e)}}}function $f(i){let e;const t=i[10].default,n=U_(t,i,i[9],null);return{c(){n&&n.c()},m(l,a){n&&n.m(l,a),e=!0},p(l,a){n&&n.p&&(!e||a&512)&&H_(n,t,l,l[9],e?B_(t,l[9],a,null):W_(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 xf(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=Ff(function(){return yt(F,Ge+"return "+ye).apply(t,W)});if(ot.source=ye,po(ot))throw ot;return ot}function tw(s){return Nt(s).toLowerCase()}function nw(s){return Nt(s).toUpperCase()}function iw(s,u,_){if(s=Nt(s),s&&(_||u===t))return Ko(s);if(!s||!(u=zn(u)))return s;var k=li(s),N=li(u),F=jo(k,N),W=Jo(k,N)+1;return al(k,F,W).join("")}function lw(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.slice(0,Qo(s)+1);if(!s||!(u=zn(u)))return s;var k=li(s),N=Jo(k,li(u))+1;return al(k,0,N).join("")}function rw(s,u,_){if(s=Nt(s),s&&(_||u===t))return s.replace(Zt,"");if(!s||!(u=zn(u)))return s;var k=li(s),N=jo(k,li(u));return al(k,N).join("")}function aw(s,u){var _=q,k=X;if(Kt(u)){var N="separator"in u?u.separator:N;_="length"in u?st(u.length):_,k="omission"in u?zn(u.omission):k}s=Nt(s);var F=s.length;if(Yl(s)){var W=li(s);F=W.length}if(_>=F)return s;var G=_-Ql(k);if(G<1)return k;var ee=W?al(W,0,G).join(""):s.slice(0,G);if(N===t)return ee+k;if(W&&(G+=ee.length-G),mo(N)){if(s.slice(G).search(N)){var me,be=ee;for(N.global||(N=Rs(N.source,Nt(Ki.exec(N))+"g")),N.lastIndex=0;me=N.exec(be);)var ye=me.index;ee=ee.slice(0,ye===t?G:ye)}}else if(s.indexOf(zn(N),G)!=G){var Ve=ee.lastIndexOf(N);Ve>-1&&(ee=ee.slice(0,Ve))}return ee+k}function sw(s){return s=Nt(s),s&&qi.test(s)?s.replace(Ii,Mp):s}var ow=nr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),wo=Fu("toUpperCase");function Mf(s,u,_){return s=Nt(s),u=_?t:u,u===t?Ep(s)?zp(s):Sp(s):s.match(u)||[]}var Ff=ut(function(s,u){try{return nn(s,t,u)}catch(_){return po(_)?_:new et(_)}}),uw=Vi(function(s,u){return Gt(u,function(_){_=gi(_),Ri(s,_,go(s[_],s))}),s});function fw(s){var u=s==null?0:s.length,_=je();return s=u?Wt(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(nn(F[0],this,k))return nn(F[1],this,k)}})}function cw(s){return Mm(Qn(s,h))}function ko(s){return function(){return s}}function dw(s,u){return s==null||s!==s?u:s}var hw=zu(),gw=zu(!0);function Dn(s){return s}function So(s){return _u(typeof s=="function"?s:Qn(s,h))}function _w(s){return mu(Qn(s,h))}function pw(s,u){return bu(s,Qn(u,h))}var mw=ut(function(s,u){return function(_){return Rr(_,s,u)}}),bw=ut(function(s,u){return function(_){return Rr(s,_,u)}});function Co(s,u,_){var k=on(u),N=Ea(u,k);_==null&&!(Kt(u)&&(N.length||!k.length))&&(_=u,u=s,s=this,N=Ea(u,on(u)));var F=!(Kt(_)&&"chain"in _)||!!_.chain,W=Mi(s);return Gt(N,function(G){var ee=u[G];s[G]=ee,W&&(s.prototype[G]=function(){var me=this.__chain__;if(F||me){var be=s(this.__wrapped__),ye=be.__actions__=An(this.__actions__);return ye.push({func:ee,args:arguments,thisArg:s}),be.__chain__=me,be}return ee.apply(s,el([this.value()],arguments))})}),s}function vw(){return xe._===this&&(xe._=Kp),this}function yo(){}function ww(s){return s=st(s),ut(function(u){return vu(u,s)})}var kw=eo(Wt),Sw=eo(Bo),Cw=eo(Ps);function Uf(s){return so(s)?Ns(gi(s)):xm(s)}function yw(s){return function(u){return s==null?t:Ll(s,u)}}var Pw=Hu(),Nw=Hu(!0);function Po(){return[]}function No(){return!1}function Tw(){return{}}function Iw(){return""}function Lw(){return!0}function Aw(s,u){if(s=st(s),s<1||s>_e)return[];var _=ve,k=mn(s,ve);u=je(u),s-=ve;for(var N=Ls(k,u);++_<s;)u(_);return N}function Ew(s){return it(s)?Wt(s,gi):Bn(s)?[s]:An(lf(Nt(s)))}function Rw(s){var u=++qp;return Nt(s)+u}var Dw=Fa(function(s,u){return s+u},0),Vw=to("ceil"),Ow=Fa(function(s,u){return s/u},1),Mw=to("floor");function Fw(s){return s&&s.length?Aa(s,Dn,Bs):t}function Uw(s,u){return s&&s.length?Aa(s,je(u,2),Bs):t}function zw(s){return qo(s,Dn)}function Bw(s,u){return qo(s,je(u,2))}function Hw(s){return s&&s.length?Aa(s,Dn,Gs):t}function Ww(s,u){return s&&s.length?Aa(s,je(u,2),Gs):t}var qw=Fa(function(s,u){return s*u},1),Gw=to("round"),Kw=Fa(function(s,u){return s-u},0);function jw(s){return s&&s.length?Is(s,Dn):0}function Jw(s,u){return s&&s.length?Is(s,je(u,2)):0}return M.after=_v,M.ary=_f,M.assign=n0,M.assignIn=Lf,M.assignInWith=Za,M.assignWith=i0,M.at=l0,M.before=pf,M.bind=go,M.bindAll=uw,M.bindKey=mf,M.castArray=Tv,M.chain=df,M.chunk=M1,M.compact=F1,M.concat=U1,M.cond=fw,M.conforms=cw,M.constant=ko,M.countBy=jb,M.create=r0,M.curry=bf,M.curryRight=vf,M.debounce=wf,M.defaults=a0,M.defaultsDeep=s0,M.defer=pv,M.delay=mv,M.difference=z1,M.differenceBy=B1,M.differenceWith=H1,M.drop=W1,M.dropRight=q1,M.dropRightWhile=G1,M.dropWhile=K1,M.fill=j1,M.filter=Yb,M.flatMap=Xb,M.flatMapDeep=$b,M.flatMapDepth=xb,M.flatten=of,M.flattenDeep=J1,M.flattenDepth=Y1,M.flip=bv,M.flow=hw,M.flowRight=gw,M.fromPairs=Q1,M.functions=g0,M.functionsIn=_0,M.groupBy=ev,M.initial=X1,M.intersection=$1,M.intersectionBy=x1,M.intersectionWith=eb,M.invert=m0,M.invertBy=b0,M.invokeMap=nv,M.iteratee=So,M.keyBy=iv,M.keys=on,M.keysIn=Rn,M.map=Ga,M.mapKeys=w0,M.mapValues=k0,M.matches=_w,M.matchesProperty=pw,M.memoize=ja,M.merge=S0,M.mergeWith=Af,M.method=mw,M.methodOf=bw,M.mixin=Co,M.negate=Ja,M.nthArg=ww,M.omit=C0,M.omitBy=y0,M.once=vv,M.orderBy=lv,M.over=kw,M.overArgs=wv,M.overEvery=Sw,M.overSome=Cw,M.partial=_o,M.partialRight=kf,M.partition=rv,M.pick=P0,M.pickBy=Ef,M.property=Uf,M.propertyOf=yw,M.pull=lb,M.pullAll=ff,M.pullAllBy=rb,M.pullAllWith=ab,M.pullAt=sb,M.range=Pw,M.rangeRight=Nw,M.rearg=kv,M.reject=ov,M.remove=ob,M.rest=Sv,M.reverse=co,M.sampleSize=fv,M.set=T0,M.setWith=I0,M.shuffle=cv,M.slice=ub,M.sortBy=gv,M.sortedUniq=pb,M.sortedUniqBy=mb,M.split=X0,M.spread=Cv,M.tail=bb,M.take=vb,M.takeRight=wb,M.takeRightWhile=kb,M.takeWhile=Sb,M.tap=Fb,M.throttle=yv,M.thru=qa,M.toArray=Nf,M.toPairs=Rf,M.toPairsIn=Df,M.toPath=Ew,M.toPlainObject=If,M.transform=L0,M.unary=Pv,M.union=Cb,M.unionBy=yb,M.unionWith=Pb,M.uniq=Nb,M.uniqBy=Tb,M.uniqWith=Ib,M.unset=A0,M.unzip=ho,M.unzipWith=cf,M.update=E0,M.updateWith=R0,M.values=rr,M.valuesIn=D0,M.without=Lb,M.words=Mf,M.wrap=Nv,M.xor=Ab,M.xorBy=Eb,M.xorWith=Rb,M.zip=Db,M.zipObject=Vb,M.zipObjectDeep=Ob,M.zipWith=Mb,M.entries=Rf,M.entriesIn=Df,M.extend=Lf,M.extendWith=Za,Co(M,M),M.add=Dw,M.attempt=Ff,M.camelCase=F0,M.capitalize=Vf,M.ceil=Vw,M.clamp=V0,M.clone=Iv,M.cloneDeep=Av,M.cloneDeepWith=Ev,M.cloneWith=Lv,M.conformsTo=Rv,M.deburr=Of,M.defaultTo=dw,M.divide=Ow,M.endsWith=U0,M.eq=ai,M.escape=z0,M.escapeRegExp=B0,M.every=Jb,M.find=Qb,M.findIndex=af,M.findKey=o0,M.findLast=Zb,M.findLastIndex=sf,M.findLastKey=u0,M.floor=Mw,M.forEach=hf,M.forEachRight=gf,M.forIn=f0,M.forInRight=c0,M.forOwn=d0,M.forOwnRight=h0,M.get=bo,M.gt=Dv,M.gte=Vv,M.has=p0,M.hasIn=vo,M.head=uf,M.identity=Dn,M.includes=tv,M.indexOf=Z1,M.inRange=O0,M.invoke=v0,M.isArguments=Rl,M.isArray=it,M.isArrayBuffer=Ov,M.isArrayLike=En,M.isArrayLikeObject=Xt,M.isBoolean=Mv,M.isBuffer=sl,M.isDate=Fv,M.isElement=Uv,M.isEmpty=zv,M.isEqual=Bv,M.isEqualWith=Hv,M.isError=po,M.isFinite=Wv,M.isFunction=Mi,M.isInteger=Sf,M.isLength=Ya,M.isMap=Cf,M.isMatch=qv,M.isMatchWith=Gv,M.isNaN=Kv,M.isNative=jv,M.isNil=Yv,M.isNull=Jv,M.isNumber=yf,M.isObject=Kt,M.isObjectLike=Qt,M.isPlainObject=Ur,M.isRegExp=mo,M.isSafeInteger=Qv,M.isSet=Pf,M.isString=Qa,M.isSymbol=Bn,M.isTypedArray=lr,M.isUndefined=Zv,M.isWeakMap=Xv,M.isWeakSet=$v,M.join=tb,M.kebabCase=H0,M.last=Xn,M.lastIndexOf=nb,M.lowerCase=W0,M.lowerFirst=q0,M.lt=xv,M.lte=e0,M.max=Fw,M.maxBy=Uw,M.mean=zw,M.meanBy=Bw,M.min=Hw,M.minBy=Ww,M.stubArray=Po,M.stubFalse=No,M.stubObject=Tw,M.stubString=Iw,M.stubTrue=Lw,M.multiply=qw,M.nth=ib,M.noConflict=vw,M.noop=yo,M.now=Ka,M.pad=G0,M.padEnd=K0,M.padStart=j0,M.parseInt=J0,M.random=M0,M.reduce=av,M.reduceRight=sv,M.repeat=Y0,M.replace=Q0,M.result=N0,M.round=Gw,M.runInContext=$,M.sample=uv,M.size=dv,M.snakeCase=Z0,M.some=hv,M.sortedIndex=fb,M.sortedIndexBy=cb,M.sortedIndexOf=db,M.sortedLastIndex=hb,M.sortedLastIndexBy=gb,M.sortedLastIndexOf=_b,M.startCase=$0,M.startsWith=x0,M.subtract=Kw,M.sum=jw,M.sumBy=Jw,M.template=ew,M.times=Aw,M.toFinite=Fi,M.toInteger=st,M.toLength=Tf,M.toLower=tw,M.toNumber=$n,M.toSafeInteger=t0,M.toString=Nt,M.toUpper=nw,M.trim=iw,M.trimEnd=lw,M.trimStart=rw,M.truncate=aw,M.unescape=sw,M.uniqueId=Rw,M.upperCase=ow,M.upperFirst=wo,M.each=hf,M.eachRight=gf,M.first=uf,Co(M,function(){var s={};return di(M,function(u,_){It.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Gt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Gt(["drop","take"],function(s,u){_t.prototype[s]=function(_){_=_===t?1:rn(st(_),0);var k=this.__filtered__&&!u?new _t(this):this.clone();return k.__filtered__?k.__takeCount__=mn(_,k.__takeCount__):k.__views__.push({size:mn(_,ve),type:s+(k.__dir__<0?"Right":"")}),k},_t.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Gt(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==x||_==J;_t.prototype[s]=function(N){var F=this.clone();return F.__iteratees__.push({iteratee:je(N,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Gt(["head","last"],function(s,u){var _="take"+(u?"Right":"");_t.prototype[s]=function(){return this[_](1).value()[0]}}),Gt(["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(Dn)},_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 Rr(_,s,u)})}),_t.prototype.reject=function(s){return this.filter(Ja(je(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(ve)},di(_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 W=this.__wrapped__,G=k?[1]:arguments,ee=W instanceof _t,me=G[0],be=ee||it(W),ye=function(gt){var pt=N.apply(M,el([gt],G));return k&&Ve?pt[0]:pt};be&&_&&typeof me=="function"&&me.length!=1&&(ee=be=!1);var Ve=this.__chain__,Ge=!!this.__actions__.length,Ye=F&&!Ve,ot=ee&&!Ge;if(!F&&be){W=ot?W:new _t(this);var Qe=s.apply(W,G);return Qe.__actions__.push({func:qa,args:[ye],thisArg:t}),new Yn(Qe,Ve)}return Ye&&ot?s.apply(this,G):(Qe=this.thru(ye),Ye?k?Qe.value()[0]:Qe.value():Qe)})}),Gt(["pop","push","shift","sort","splice","unshift"],function(s){var u=_a[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(it(F)?F:[],N)}return this[_](function(W){return u.apply(it(W)?W:[],N)})}}),di(_t.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";It.call(xl,k)||(xl[k]=[]),xl[k].push({name:u,func:_})}}),xl[Ma(t,y).name]=[{name:"wrapper",func:t}],_t.prototype.clone=sm,_t.prototype.reverse=om,_t.prototype.value=um,M.prototype.at=Ub,M.prototype.chain=zb,M.prototype.commit=Bb,M.prototype.next=Hb,M.prototype.plant=qb,M.prototype.reverse=Gb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Kb,M.prototype.first=M.prototype.head,Pr&&(M.prototype[Pr]=Wb),M},Zl=Bp();Ht?((Ht.exports=Zl)._=Zl,Lt._=Zl):xe._=Zl}).call(Br)})(ss,ss.exports);var qr=ss.exports;class B2{getNodePath(e,t){return e?we.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=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 Mt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Mt.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),g=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=g?we.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const h=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":h;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return ae.getConfigValue("routing.useHashRouting")?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=we.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=we.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=we.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ae.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&we.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ae.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ae.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,g=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),h=await we.getDefaultChildNode(d);this.showPageNotFoundError(r,h,l),this.navigateTo(h)}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 we.getDefaultChildNode(n,async(g,d)=>await Mt.getChildren(g,d));if(n.isExistingRoute){const g=le.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const g=await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await we.getDefaultChildNode(g);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 g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:h}=await Mt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,g,t)||await this.handlePageNotFound(d,p,h,o,t,g,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=we.parseParams(g.split("?")[1]),v=we.getNodeParams(m),C=oe.findViewGroup(d),y=decodeURIComponent(g.split("?")[1]||""),P=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let T=!1,E=P;for(;E;){if(E.tabNav===!0){T=!0;break}else if(E.tabNav===!1){T=!1;break}else if(le.isObject(E.tabNav)){if(E.tabNav.showAsTabHeader){T=!0;break}if("hideTabNavAutomatically"in E.tabNav&&E.children)if(E.tabNav.hideTabNavAutomatically===!0&&E.children.length===1){T=!1;break}else{T=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}E=oe.getParentNode(E,h.navigationPath)}let V=P,I=d.hideSideNav;if(I===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){I=!0;break}if(V.hideSideNav===!1){I=!1;break}V=oe.getParentNode(V,h.navigationPath)}const B=we.substituteDynamicParamsInObject(Object.assign({},h.context,P.context),h.pathParams);h.navigationPath._context=B;const O={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:h.navigationPath,context:B,pathParams:h.pathParams,hideSideNav:I||!1,isolateView:d.isolateView||!1,tabNav:T};t.set(Object.assign({},O,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let D=document.getElementsByClassName("iframeContainer")[0];if(D&&(T?D.classList.add("iframeContainerTabNav"):D.classList.contains("iframeContainerTabNav")&&D.classList.remove("iframeContainerTabNav")),d.compound)oi.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)oi.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const X=document.querySelector(".wcContainer");if(X&&(X.configChangedRequest=!1),D&&(D.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await oi.navigateIframe(l,t,n);else{const Q=t.get(),ce=await t.prepareInternalData(l);Ee.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(Q.context),nodeParams:JSON.stringify(Q.nodeParams),pathParams:JSON.stringify(Q.pathParams),searchParams:JSON.stringify(we.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ce),withoutSync:!0})}}const q=document.querySelector(".lui-tab-header");q&&q.dispatchEvent(new Event("lui_ctx_update")),Mt.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=we.getModalPathFromPath();if(e){const t=we.getModalParamsFromPath(),{nodeObject:n}=await Mt.extractDataFromPath(e);ep.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(we.isDynamicNode(c)){if(!r||o!==we.getDynamicNodeValue(c,e.pathParams)){qn.deleteNodesRecursively(c);break}}else r=!1}}else qn.deleteCache()}handleRouteClick(e,t){const n=we.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=Ee.getIframeContainer(),a=oi.getActiveIframe(r);a&&a.vg&&oi.canCache(a.vg)?(oi.switchActiveIframe(Ee.getIframeContainer(),void 0,!1),setTimeout(()=>{oi.switchActiveIframe(Ee.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=we.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ee.getIframeContainer(),r):this.navigateTo(o);return}we.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={...D2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.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=we.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ur.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),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&&ur.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&&qr.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=>oe.checkVisibleForFeatureToggles(a))),ur.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=we.getHashQueryParamSeparator();const r=we.getQueryParams(),a=we.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${we.encodeParams(r)}`}else o.search=`?${we.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=we.getHashQueryParamSeparator();const l=we.getQueryParams(),r=we.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let g=history.state,d,h;if(c){let[p,b]=o.hash.split("?");d=p,h=we.getURLWithoutModalData(b,r),h&&(d+="?"+h)}else d=o.pathname,h=we.getURLWithoutModalData(o.search,r),h&&(d+="?"+we.getURLWithoutModalData(o.search,r));if(g=we.handleHistoryState(g,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}${we.encodeParams(l)}`}else o.search=`?${we.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,h&&(p.hash+="?"+h)}else p.search=h;history.replaceState({},"",p.href),history.pushState(g,"",o.href)}}removeModalDataFromUrl(e){const t=we.getQueryParams(),n=we.getModalViewParamName();let l=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=we.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 lt=new B2;class H2{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=we.substituteViewUrl(e,t));const l=Ee.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=we.parseParams(n.split("?")[1]),a=we.getNodeParams(r),o=we.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){ur.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const 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))+Ee.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent: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}),Ee.getIframeContainer().style.marginBottom="",ft.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ee.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ee.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ee.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ft=new H2;class W2{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Yr.hideAppLoadingIndicator()},0)}}const q2=new W2;class G2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=ae.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ui=new G2;class K2{constructor(){return this._userInfoStore=fr({}),this._loggedInStore=fr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ae.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ae.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),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await pi.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(ae.getConfigValue("auth.events.onAuthSuccessful"))&&ui.isNewlyAuthorized()&&await pi.handleAuthEvent("onAuthSuccessful",e,t),ui.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ui.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await pi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ui.removeAuthData()},n=ae.getConfigValue(`auth.${ae.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(ae.getConfigValue("auth.events.onAuthConfigError")))await pi.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 fn=new K2;class j2{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 Gr=new j2;class J2{getStoredAuthData(){return ui.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await pi.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 J2;class Y2{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),a=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),c=new RegExp(`<${n[l]} >`,"g"),g=new RegExp(`</${n[l]}[/]>`,"g"),d=new RegExp(`</${n[l]} [/]>`,"g"),h=new RegExp(`<[/]${n[l]}>`,"g"),p=new RegExp(`<[/]${n[l]} >`,"g");t=t.replace(r,`<${n[l]}>`).replace(a,`<${n[l]}>`).replace(o,`<${n[l]}>`).replace(c,`<${n[l]}>`).replace(g,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(h,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")}escapeKeyForRegexp(e=""){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}processTextAndLinks(e="",t,n){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const g=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),h=`<a id="${g}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,h),links:a.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const dr=new Y2;class Q2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!a&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=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,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return c2.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){Ee.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ae.getConfigValue("settings.customSandboxRules"),c=ae.getConfigValue("settings.allowRules"),g=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Gr.hasDecorators()?Gr.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=g.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 h=ae.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(h))try{h(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ee.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ee.specialIframeTypes.filter(n=>Ee.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Uo.getActiveFeatureToggleList(),currentLocale:St.getCurrentLocale(),currentTheme:Do.getCurrentTheme()}}}const Ee=new Q2;class Z2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(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=qr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),qr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ee.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ee.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Bi.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=!!ae.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=ae._remotePromises;return l||(l={counter:0,promises:[]},ae._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return ae._remotePromises?ae._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new Z2;class X2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ae.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return 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=Uo.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(pi.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=ae.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=ae.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=g=>{g.sort((d,h)=>{const p=d.order||0,b=h.order||0;return p-b})};return e.forEach(g=>{let d,h;const p=g[t];le.isObject(p)?(d=p.id?p.id:p.label,h=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),h={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(h.order===void 0||h.order===null||h.order==="")&&(h.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=h),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=g.parent?this.getNodePath(g.parent)+":"+d:d),b.push(g)}),Object.keys(r).forEach(g=>{const d=r[g].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=ae.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":St.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Mt.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 h;const p=!!d.badgeCounter;if(p&&(h=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:()=>h};else if(p){const m=a[b].badgeCounter.count()+h;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:()=>h}},o.push(a[b]);a[b].children.push(d)}else o.push(d);h&&c.push(h)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Mt.getChildren(o[d])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((h,p)=>h+p);g.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return g}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:ae.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";lt.navigateTo(t)}}getBurgerTooltipConfig(){const e=ae.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?St.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?St.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Mt.extractDataFromPath(e);return!!await Mt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:qr.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(g=>{g.json().then(d=>{try{const h=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:h},n(h)}catch(h){l(h)}})}).catch(g=>{l(g)})}).catch(n=>{qr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=St.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 ae.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ee.getLocation(e.viewUrl)===Ee.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:oe.prepareForTests(e.pathSegment,e.label)}}const oe=new X2;class $2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await ls.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.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=ae.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ae.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ae.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=we.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?we.parseParams(we.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return we.getLocation().search?we.parseParams(we.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ae.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=ae.getConfigValue("routing.useHashRouting");On.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?lt.getHashPath():lt.getModifiedPathname();e(l)}}),On.addEventListener("popstate",n=>{const l=t?lt.getHashPath(location.href):lt.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:we.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:lt.buildFromRelativePath(e);return l+a}const r=we.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=we.getRouteLink(e,t,ae.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(ae.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=we.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=St.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[dr.sanitizeParam(n[0])]=dr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Uo.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=ae.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=ae.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,g],d)=>{r+=`${d>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const 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=ae.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:St.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const a=n?`${n}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const we=new $2;class x2{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 dn=new x2;class ek{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 On=new ek;class tk{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ee.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ee.sendMessageToIframe(a,r))}}const nk=new tk;class ik{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),n=ae.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=Ee.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const or=new ik;class lk{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Kf=new lk;function jf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Jf(i){let e,t,n=(i[9].dataSanitized?i[9].settings.text:"")+"",l,r,a,o,c,g;function d(){return i[4](i[9])}return{c(){e=S("div"),t=S("p"),l=H(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=H(),f(t,"class","fd-message-strip__text svelte-dkyena"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(h,p){A(h,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,a),c||(g=ne(r,"click",d),c=!0)},p(h,p){i=h,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena")&&f(e,"class",o)},d(h){h&&L(e),c=!1,g()}}}function rk(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jf(jf(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-dkyena"),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=jf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:He,o:He,d(l){l&&L(e),ct(n,l),i[5](null)}}}function ak(i,e,t){const n=Jt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=vt("getUnsavedChangesModalPromise"),c=vt("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=dr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{g(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)}),xt(()=>{});function g(p,b){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function h(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,h]}class sk extends Vt{constructor(e){super(),Dt(this,e,ak,rk,At,{alertQueue:0,alertTypeMap:1})}}const Ol=38,Hi=40,vi=13,mi=27,Kr=32,ok=36,uk=35;function Yf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function Qf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Le(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=ne(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Ae(l,n)},d(o){o&&L(e),r=!1,a()}}}function fk(i){let e,t,n,l,r,a,o,c=i[0].header+"",g,d,h,p=i[0].body+"",b,m,v,C,y,P,T=i[0].buttonDismiss+"",E,V,I,B,O,D=i[0].type&&Yf(i),q=i[0].buttonConfirm!==!1&&Qf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),D&&D.c(),a=H(),o=S("h2"),g=Le(c),d=H(),h=S("div"),b=H(),m=S("footer"),v=S("div"),q&&q.c(),C=H(),y=S("div"),P=S("button"),E=Le(T),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(h,"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",I="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(X,Q){A(X,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),D&&D.m(r,null),w(r,a),w(r,o),w(o,g),w(t,d),w(t,h),h.innerHTML=p,w(t,b),w(t,m),w(m,v),q&&q.m(v,null),w(v,C),w(v,y),w(y,P),w(P,E),B||(O=[ne(window,"keydown",i[1]),ne(P,"click",i[5])],B=!0)},p(X,[Q]){X[0].type?D?D.p(X,Q):(D=Yf(X),D.c(),D.m(r,a)):D&&(D.d(1),D=null),Q&1&&c!==(c=X[0].header+"")&&Ae(g,c),Q&1&&p!==(p=X[0].body+"")&&(h.innerHTML=p),X[0].buttonConfirm!==!1?q?q.p(X,Q):(q=Qf(X),q.c(),q.m(v,C)):q&&(q.d(1),q=null),Q&1&&T!==(T=X[0].buttonDismiss+"")&&Ae(E,T),Q&1&&V!==(V="fd-button "+(X[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Q&1&&I!==(I="fd-message-box-docs-static fd-message-box fd-message-box--"+X[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",I)},i:He,o:He,d(X){X&&L(e),D&&D.d(),q&&q.d(),B=!1,Ze(O)}}}function ck(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"};Jr(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),xt(()=>{const d={icon:r[l.type],header:St.getTranslation("luigi.confirmationModal.header"),body:St.getTranslation("luigi.confirmationModal.body"),buttonDismiss:St.getTranslation("luigi.button.dismiss"),buttonConfirm:St.getTranslation("luigi.button.confirm")};t(0,l={...l,body:dr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ee.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const h=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${h}`).focus()}catch{console.warn(`Couldn't focus ${h} in modal`)}});function a(d){return oe.renderIconClassName(d)}function o(d){d.keyCode===mi&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,g]}class dk extends Vt{constructor(e){super(),Dt(this,e,ck,fk,At,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function hk(i){let e,t,n;const l=i[5].default,r=U_(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)&&H_(r,l,a,a[4],n?B_(l,a[4],o,null):W_(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 gk(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Jt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:d}=e,{disable:h}=e;const p=()=>{const m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,a=m+g.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ee.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return xt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),On.addEventListener("message",v=>{const C=Ee.getValidMessageSource(v);C&&h!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ee.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ee.enableA11yOfInactiveIframe()))}))}),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,h=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,h,l,n]}class Ml extends Vt{constructor(e){super(),Dt(this,e,gk,hk,At,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Zf(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m;t=new Ml({props:{disable:i[2]}});let v=i[0].title&&Xf(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),r=S("div"),v&&v.c(),a=H(),o=S("div"),c=S("div"),g=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(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",h=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-1rzu3xo")},m(C,y){A(C,e,y),Me(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,g),w(g,d),p=!0,b||(m=ne(g,"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=Xf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&h!==(h=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(g,"data-testid",h)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(t),v&&v.d(),b=!1,m()}}}function Xf(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Le(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+"")&&Ae(n,t)},d(l){l&&L(e)}}}function $f(i){let e;const t=i[10].default,n=U_(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)&&H_(n,t,l,l[9],e?B_(t,l[9],r,null):W_(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 xf(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
53
53
|
<div class="fd-busy-indicator__circle"></div>
|
|
54
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function _k(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v=(i[5]||i[4]&&i[0].header)&&Zf(i),C=i[4]&&$f(i),y=i[3]&&xf();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=H(),l=S("div"),C&&C.c(),a=H(),r=S("div"),g=H(),y&&y.c(),f(r,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(r,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),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-1rzu3xo"),f(t,"data-testid",h=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=ei(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,T){A(P,e,T),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,a),w(l,r),w(t,g),y&&y.m(t,null),m=!0},p(P,[T]){P[5]||P[4]&&P[0].header?v?(v.p(P,T),T&49&&R(v,1)):(v=Zf(P),v.c(),R(v,1),v.m(t,n)):v&&(ke(),U(v,1,1,()=>{v=null}),Se()),P[4]?C?(C.p(P,T),T&16&&R(C,1)):(C=$f(P),C.c(),R(C,1),C.m(l,a)):C&&(ke(),U(C,1,1,()=>{C=null}),Se()),(!m||T&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(r,"class",o),(!m||T&18&&c!==(c=P[4]?void 0:P[1]))&&f(r,"modal-container-index",c),P[3]?y||(y=xf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||T&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-1rzu3xo"))&&f(t,"class",d),(!m||T&32&&h!==(h=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",h),(!m||T&49&&p!==(p=ei(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||T&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 pk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:a}=e,{isDataPrepared:r=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const d=Jt();let h,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,T=!0,E,V=vt("store");const I=K=>oe.getNodeLabel(K),B=async K=>{const J=K&&K.length?le.getPathWithoutHash(K):"",j=we.parseParams(J.split("?")[1]);b=we.getNodeParams(j);const _e=await Ot.extractDataFromPath(K);h=_e.nodeObject,t(4,P=a.isDrawer||typeof h.drawer=="object"),E=P?"._drawer":`[modal-container-index="${c}"]`,t(0,a._liveLabel=!1,a),P?(t(5,T=!1),a.header===void 0?(t(0,a.header=!0,a),t(0,a.title=I(h),a),t(0,a._liveLabel=!0,a)):a.header&&a.header.title&&t(0,a.title=a.header.title,a),(a.backdrop===void 0||!a.backdrop)&&(t(0,a.backdrop=!1,a),d("drawerState",{activeDrawer:!0})),a.size||t(0,a.size="s",a),a.overlap===void 0&&t(0,a.overlap=!0,a)):a.title||(t(0,a.title=I(h),a),t(0,a._liveLabel=!0,a)),p=_e.pathData,t(7,r=!0)},M=async K=>{if(!(m||v))if(r)if(h.webcomponent)t(3,C=!1),P?await X():await D(),ua.renderWebComponent(h.viewUrl,document.querySelector(E),{context:p.context,clientPermissions:h.clientPermissions||{},pathParams:p.pathParams||{}},h,void 0,!0),d("wcCreated",{modalWC:document.querySelector(E),modalWCData:{...p,nodeParams:b}}),v=!0;else{const J=await q(h.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:J,modalIframeData:{...p,nodeParams:b}}),m=!0}else await B(K)},D=async()=>{let K,J;const j=document.querySelector(".lui-modal-index-"+c),{size:_e,width:ie,height:se}=a,ve=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(j.classList.remove("lui-modal-fullscreen"),ie&&ie.match(ve)&&se&&se.match(ve))K=se,J=ie;else switch(_e){case"fullscreen":K="100vh",J="100vw",j.classList.add("lui-modal-fullscreen");break;case"m":K="80%",J="60%";break;case"s":K="80%",J="40%";break;default:K="80%",J="80%"}j.setAttribute("style",`width:${J};height:${K};`)},q=async(K,J)=>{P?await X():await D(),K&&(K=we.substituteViewUrl(K,J));const j=await Ee.createIframe(K,void 0,h,"modal",J);return document.querySelector(E).appendChild(j),j};async function X(K){let J="";const j=document.getElementsByClassName("drawer"),_e=document.getElementsByClassName("drawer-dialog");a.size&&(a.size==="l"?J="width:75%;":a.size==="m"?J="width:50%;":a.size==="s"?J="width:25%;":a.size==="xs"&&(J="width:15.5%;")),a.backdrop?j[0].setAttribute("style",J):(_e[0].setAttribute("style",J),j[0].setAttribute("style","width:100%"))}ja(()=>{M(o)});const Q=async K=>{K.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),K.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),K.data.msg==="luigi.get-context"&&(y=!0,(!h||!h.loadingIndicator||h.loadingIndicator.hideAutomatically!==!1)&&ce()),K.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),K.data.msg==="luigi.navigation.updateModalSettings"&&((K.data.updatedModalSettings.title||K.data.updatedModalSettings.title==="")&&t(0,a.title=K.data.updatedModalSettings.title,a),(K.data.updatedModalSettings.size||K.data.updatedModalSettings.width||K.data.updatedModalSettings.height)&&(t(0,a.size=K.data.updatedModalSettings.size,a),t(0,a.height=K.data.updatedModalSettings.height,a),t(0,a.width=K.data.updatedModalSettings.width,a),await D()),re.getConfigBooleanValue("routing.showModalPathInUrl")&<.updateModalDataInUrl(we.getModalPathFromPath(),{title:a.title,size:a.size,height:a.height,width:a.width},K.data.addHistoryEntry))};xt(()=>{dn.doOnStoreChange(V,()=>{a._liveLabel&&h&&t(0,a.title=I(h),a)},["navigation.viewgroupdata"]),Mn.addEventListener("message",Q),a.isDrawer&&!a.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var K;!y&&!h.webcomponent&&((K=h.loadingIndicator)==null?void 0:K.enabled)!==!1&&t(3,C=!0)},250)}),Ja(()=>{Mn.removeEventListener("message",Q),a.isDrawer&&!a.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let K;T?K=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):K=document.querySelector(".drawer .spinnerContainer"),K&&K.classList.contains("fade-out")&&(K.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const x=()=>d("close",{activeDrawer:!1});return i.$$set=K=>{"settings"in K&&t(0,a=K.settings),"isDataPrepared"in K&&t(7,r=K.isDataPrepared),"nodepath"in K&&t(8,o=K.nodepath),"modalIndex"in K&&t(1,c=K.modalIndex),"disableBackdrop"in K&&t(2,g=K.disableBackdrop),"$$scope"in K&&t(9,l=K.$$scope)},[a,c,g,C,P,T,d,r,o,l,n,x]}class np extends Vt{constructor(e){super(),Dt(this,e,pk,_k,At,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ec(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 tc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function nc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ic(i){let e,t=i[1][1].settings&&lc(i);return{c(){t&&t.c(),e=Ce()},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=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,n=Object.entries(i[1][1].settings),l=[];for(let a=0;a<n.length;a+=1)l[a]=hc(ec(i,n,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<l.length;a+=1)l[a].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(a,r){A(a,e,r),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(a,r){if(r[0]&16191){n=Object.entries(a[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=ec(a,n,o);l[o]?l[o].p(c,r):(l[o]=hc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(a){a&&L(e),ct(l,a)}}}function ac(i){let e;function t(a,r){return a[28].isEditable||a[28].isEditable===void 0?bk:mk}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(a,r){l.m(a,r),A(a,e,r)},p(a,r){n===(n=t(a))&&l?l.p(a,r):(l.d(1),l=n(a),l&&(l.c(),l.m(e.parentNode,e)))},d(a){l.d(a),a&&L(e)}}}function mk(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Le(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(a,r){A(a,e,r),w(e,n)},p(a,r){r[0]&3&&t!==(t=a[0][a[1][0]][a[27]]+"")&&Ae(n,t),r[0]&2&&l!==(l=!(a[28].isEditable===void 0||a[28].isEditable))&&f(e,"disabled",l)},d(a){a&&L(e)}}}function bk(i){let e,t,n,l,a;function r(){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),Wf(e,i[0][i[1][0]][i[27]]),l||(a=ne(e,"input",r),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]]&&Wf(e,i[0][i[1][0]][i[27]])},d(o){o&&L(e),l=!1,a()}}}function rc(i){let e,t,n,l,a,r,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,g,d,h,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 T(){return i[19](i[28])}let E=v&&sc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),a=S("button"),r=S("span"),c=Le(o),d=H(),h=S("span"),h.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=H(),m=S("div"),E&&E.c(),f(r,"class","fd-select__text-content"),f(r,"data-testid","lui-us-input"+i[30]),f(r,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(h,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(a,"tabindex","0"),f(a,"aria-expanded","false"),f(a,"aria-haspopup","listbox"),f(a,"aria-label","Language"),f(a,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(a,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(a,"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,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,a),w(a,r),w(r,c),w(a,d),w(a,h),w(t,b),w(t,m),E&&E.m(m,null),C||(y=[ne(a,"keydown",P),ne(n,"click",Ut(T))],C=!0)},p(V,I){i=V,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(c,o),I[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(r,"disabled",g),I[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(a,"data-testid",p),I[0]&2&&(v=Array.isArray(i[28].options)),v?E?E.p(i,I):(E=sc(i),E.c(),E.m(m,null)):E&&(E.d(1),E=null)},d(V){V&&L(e),E&&E.d(),C=!1,Ze(y)}}}function sc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=oc(nc(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,a){A(l,e,a);for(let r=0;r<n.length;r+=1)n[r].m(e,null)},p(l,a){if(a[0]&4634){t=l[28].options;let r;for(r=0;r<t.length;r+=1){const o=nc(l,t,r);n[r]?n[r].p(o,a):(n[r]=oc(o),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function oc(i){let e,t,n=i[12](i[31])+"",l,a,r,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Le(n),a=H(),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",r=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,h){A(d,e,h),w(e,t),w(t,l),w(e,a),o||(c=[ne(e,"click",g),ne(e,"keydown",i[21])],o=!0)},p(d,h){i=d,h[0]&2&&n!==(n=i[12](i[31])+"")&&Ae(l,n),h[0]&16&&r!==(r=i[4]===i[33])&&f(e,"aria-selected",r),h[0]&16&&jt(e,"is-selected",i[4]===i[33]),h[0]&16&&jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Ze(c)}}}function uc(i){let e,t,n,l=i[28].options,a=[];for(let r=0;r<l.length;r+=1)a[r]=fc(tc(i,l,r));return{c(){e=S("div"),t=S("div");for(let r=0;r<a.length;r+=1)a[r].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(r,o){A(r,e,o),w(e,t);for(let c=0;c<a.length;c+=1)a[c].m(t,null)},p(r,o){if(o[0]&13315){l=r[28].options;let c;for(c=0;c<l.length;c+=1){const g=tc(r,l,c);a[c]?a[c].p(g,o):(a[c]=fc(g),a[c].c(),a[c].m(t,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+r[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(r){r&&L(e),ct(a,r)}}}function fc(i){let e,t=i[12](i[31])+"",n,l,a,r,o,c,g,d;function h(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Le(t),l=H(),f(e,"class",a="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",r=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),g||(d=ne(e,"click",h),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Ae(n,t),b[0]&3&&a!==(a="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",a),b[0]&2&&r!==(r=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",r),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),g=!1,d()}}}function cc(i){let e,t,n,l,a,r,o,c,g,d;function h(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),r=H(),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=a=!(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,r),w(t,o),g||(d=ne(n,"change",h),g=!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&&a!==(a=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=a),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),g=!1,d()}}}function dc(i){let e,t,n,l;function a(){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(r,o){A(r,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ne(e,"change",a),n=!0)},p(r,o){i=r,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(r){r&&L(e),n=!1,l()}}}function hc(i){let e,t,n,l=i[5](i[28].label)+"",a,r,o,c,g,d,h=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&ac(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&rc(i),y=h&&uc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&cc(i),T=i[28].type==="boolean"&&i[28].style==="checkbox"&&dc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),a=Le(l),r=Le(":"),o=H(),c=S("div"),v&&v.c(),g=H(),C&&C.c(),d=H(),y&&y.c(),p=H(),P&&P.c(),b=H(),T&&T.c(),m=H(),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(E,V){A(E,e,V),w(e,t),w(t,n),w(n,a),w(n,r),w(e,o),w(e,c),v&&v.m(c,null),w(c,g),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),T&&T.m(c,null),w(e,m)},p(E,V){V[0]&34&&l!==(l=E[5](E[28].label)+"")&&Ae(a,l),E[28].type==="string"?v?v.p(E,V):(v=ac(E),v.c(),v.m(c,g)):v&&(v.d(1),v=null),E[28].type==="enum"&&(E[28].style===void 0||E[28].style==="list")?C?C.p(E,V):(C=rc(E),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(h=E[28].type==="enum"&&E[28].style==="button"&&Array.isArray(E[28].options)),h?y?y.p(E,V):(y=uc(E),y.c(),y.m(c,p)):y&&(y.d(1),y=null),E[28].type==="boolean"&&(!E[28].style||E[28].style==="switch")?P?P.p(E,V):(P=cc(E),P.c(),P.m(c,b)):P&&(P.d(1),P=null),E[28].type==="boolean"&&E[28].style==="checkbox"?T?T.p(E,V):(T=dc(E),T.c(),T.m(c,null)):T&&(T.d(1),T=null)},d(E){E&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),T&&T.d()}}}function vk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ic(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(a,r){A(a,e,r),l&&l.m(e,null),t||(n=[ne(window,"click",i[7]),ne(window,"blur",i[7])],t=!0)},p(a,r){a[1]&&a[1][0]&&a[1][1]?l?l.p(a,r):(l=ic(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:He,o:He,d(a){a&&L(e),l&&l.d(),t=!1,Ze(n)}}}function ns(i,e,t){if(i&&t>0)return i.matches(e)?i:ns(i.parentNode,e,t-1)}function wk(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:a}=e;const r=Jt();let o=vt("getTranslation");wi(i,o,x=>t(5,n=x));let c,{isComboOpen:g}=e;function d(){r("updateSettingsObject",{storedUserSettingData:a})}const h=()=>{p()};function p(x){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(K=>{m(K,!1)})}function b(x,K){let J=ns(x.target,".fd-popover__control",20),j=J.getAttribute("aria-expanded")==="true";(K||K===void 0)&&(p(),m(J,!j))}function m(x,K){const J=x.querySelector(".lui-activate-dropdown"),j=x.parentNode.querySelector(".fd-popover__body"),_e=x.parentNode.querySelector(".fd-select__control");x.setAttribute("aria-expanded",K),j.setAttribute("aria-hidden",!K),_e.setAttribute("aria-expanded",K),J.setAttribute("aria-expanded",K),t(14,g=K)}function v(x,K,J){t(4,c=J),t(0,a[l[0]][x]=K.value||K,a)}function C(x,K){document.querySelectorAll(".enum-buttons-container-"+x+" button").forEach(J=>{const j=J.getAttribute("id"),_e=`lui-us-enum_button_${x}_option`;j===_e?J.classList.add("fd-button--emphasized"):J.classList.remove("fd-button--emphasized")}),t(0,a[l[0]][x]=K.value||K,a)}function y(x,K){let J;if(Array.isArray(K)){for(let j=0;j<K.length;j++)if(le.isObject(K[j])){if(K[j].value&&K[j].value===x){J=K[j].label,t(4,c=j);break}}else{J=x,t(4,c=K.indexOf(x));break}return n(J)}}function P(x){return n(le.isObject(x)?x.label:x)}function T(x,K,J){return le.isObject(J)?`${x}_${K}_${J.value}`:`${x}_${K}_${J}`}function E(x,K,J,j){let _e=ns(x.target,".lui-anchor-node",20);const ie=document.getElementById(`fd-form-input-dropdown-${J}`).children;let se=-1;if([...ie].forEach((ve,ae)=>{ve.classList.contains("is-focus")&&(se=ae)}),g){if(x.keyCode===Ml&&x.altKey&&(_e.click(),_e.focus()),x.keyCode===Hi&&!x.altKey){if(se===-1){se=0,ie.item(se).classList.add("is-focus");return}se<j.options.length-1&&(ie.item(se).classList.remove("is-focus"),se+=1,ie.item(se).classList.add("is-focus"))}if(x.keyCode===Ml&&!x.altKey){if(se===-1){se=se.length-1,ie.item(se).classList.add("is-focus");return}se>0&&se<j.options.length&&(ie.item(se).classList.remove("is-focus"),se-=1,ie.item(se).classList.add("is-focus"))}(x.keyCode===vi||x.keyCode===Ka)&&v(K,j.options[se],se)}else _e.focus(),x.keyCode===Hi&&x.altKey&&_e.click(),x.keyCode===Hi&&!x.altKey&&se<j.options.length-1&&v(K,j.options[se+1],se+1),x.keyCode===Ml&&!x.altKey&&se>0&&se<j.options.length&&v(K,j.options[se-1],se-1)}function V(x){if(g){let K=ns(x.target,".fd-popover",20);K.blur(),(x.keyCode===Ka||x.keyCode===vi)&&(x.target.click(),p(),setTimeout(()=>{K.focus()},0))}}y();function I(x){a[l[0]][x]=this.value,t(0,a)}const B=(x,K,J,j)=>E(j,x,K,J),M=x=>b(event,x.isEditable),D=(x,K,J)=>v(x,K,J),q=x=>V(x),X=(x,K)=>C(x,K);function Q(x){a[l[0]][x]=this.checked,t(0,a)}function ce(x){a[l[0]][x]=this.checked,t(0,a)}return i.$$set=x=>{"userSettingGroup"in x&&t(1,l=x.userSettingGroup),"storedUserSettingData"in x&&t(0,a=x.storedUserSettingData),"isComboOpen"in x&&t(14,g=x.isComboOpen)},[a,l,E,V,c,n,o,p,b,v,C,y,P,T,g,d,h,I,B,M,D,q,X,Q,ce]}class kk extends Vt{constructor(e){super(),Dt(this,e,wk,vk,At,{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:gc}=gl;function _c(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function pc(i,e,t){const n=i.slice();return n[37]=e[t],n}function mc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?Ck:Sk}let a=l(i,[-1,-1]),r=a(i);return{c(){r.c(),t=H(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){r.m(o,c),A(o,t,c),A(o,n,c)},p(o,c){a===(a=l(o,c))&&r?r.p(o,c):(r.d(1),r=a(o),r&&(r.c(),r.m(t.parentNode,t)))},d(o){r.d(o),o&&L(t),o&&L(n)}}}function Sk(i){let e,t,n,l,a,r=i[37][1].initials&&bc(i);return{c(){e=S("span"),l=H(),r&&r.c(),a=Ce(),f(e,"class",t=ei(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),Vn(e,"background-image","url('"+i[37][1].icon+"')"),Vn(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),r&&r.m(o,c),A(o,a,c)},p(o,c){c[0]&2&&t!==(t=ei(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&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&&Vn(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?r?r.p(o,c):(r=bc(o),r.c(),r.m(a.parentNode,a)):r&&(r.d(1),r=null)},d(o){o&&L(e),o&&L(l),r&&r.d(o),o&&L(a)}}}function Ck(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,a){A(l,e,a),w(e,t)},p(l,a){a[0]&2&&n!==(n=ei(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&L(e)}}}function bc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,a;return{c(){e=S("span"),n=Le(t),f(e,"class",l=ei(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",a=i[37][1].altText?i[37][1].altText:"")},m(r,o){A(r,e,o),w(e,n)},p(r,o){o[0]&2&&t!==(t=(r[37][1].initials?r[37][1].initials:"")+"")&&Ae(n,t),o[0]&2&&l!==(l=ei(r[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&a!==(a=r[37][1].altText?r[37][1].altText:"")&&f(e,"aria-label",a)},d(r){r&&L(e)}}}function vc(i){let e,t,n,l,a,r=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",h,p,b,m,v=i[37][1].icon&&mc(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=H(),l=S("div"),a=S("div"),o=Le(r),c=H(),g=S("div"),h=Le(d),p=H(),f(a,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-d5kn3x"),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,T){A(P,e,T),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,a),w(a,o),w(l,c),w(l,g),w(g,h),w(e,p),b||(m=[ne(e,"click",Pt(C)),ne(e,"keydown",y)],b=!0)},p(P,T){i=P,i[37][1].icon?v?v.p(i,T):(v=mc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),T[0]&1026&&r!==(r=i[10](i[37][1].label?i[37][1].label:"")+"")&&Ae(o,r),T[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Ae(h,d)},d(P){P&&L(e),v&&v.d(),b=!1,Ze(m)}}}function wc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=vc(pc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,a){for(let r=0;r<n.length;r+=1)n[r].m(l,a);A(l,e,a)},p(l,a){if(a[0]&803846){t=Object.entries(l[11]);let r;for(r=0;r<t.length;r+=1){const o=pc(l,t,r);n[r]?n[r].p(o,a):(n[r]=vc(o),n[r].c(),n[r].m(e.parentNode,e))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function kc(i){let e,t,n,l;function a(c){i[23](c)}function r(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 kk({props:o}),Je.push(()=>bt(e,"closeDropDown",a,i[9])),Je.push(()=>bt(e,"isComboOpen",r,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,g){Oe(e,c,g),l=!0},p(c,g){const d={};g[0]&1&&(d.storedUserSettingData=c[0]),g[0]&2048&&(d.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,d.closeDropDown=c[9],mt(()=>t=!1)),!n&&g[0]&256&&(n=!0,d.isComboOpen=c[8],mt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function yk(i){let e,t,n,l,a,r,o,c=i[10](i[4])+"",g,d,h,p,b,m,v,C,y,P=i[10](i[7])+"",T,E,V,I,B,M,D,q,X,Q,ce,x=i[10](i[5])+"",K,J,j,_e,ie=i[10](i[6])+"",se,ve,ae,Re,We=Object.entries(i[1]),te=[];for(let Te=0;Te<We.length;Te+=1)te[Te]=wc(_c(i,We,Te));let de=i[11]&&kc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),a=S("div"),r=S("div"),o=S("h2"),g=Le(c),d=H(),h=S("div"),p=S("ul");for(let Te=0;Te<te.length;Te+=1)te[Te].c();b=H(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=H(),y=S("h2"),T=Le(P),E=H(),V=S("div"),I=S("div"),de&&de.c(),B=H(),M=S("div"),D=H(),q=S("footer"),X=S("div"),Q=S("div"),ce=S("button"),K=Le(x),J=H(),j=S("div"),_e=S("button"),se=Le(ie),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(r,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(h,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(a,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(I,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(M,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(V,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),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(Q,"class","fd-bar__element"),f(_e,"data-testid","lui-us-dismissBtn"),f(_e,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(j,"class","fd-bar__element"),f(X,"class","fd-bar__right"),f(q,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),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-d5kn3x"),f(e,"tabindex","0")},m(Te,tt){A(Te,e,tt),w(e,t),w(t,n),w(n,l),w(l,a),w(a,r),w(r,o),w(o,g),w(a,d),w(a,h),w(h,p);for(let ze=0;ze<te.length;ze+=1)te[ze].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,T),w(n,E),w(n,V),w(V,I),de&&de.m(I,null),w(V,B),w(V,M),w(t,D),w(t,q),w(q,X),w(X,Q),w(Q,ce),w(ce,K),w(X,J),w(X,j),w(j,_e),w(_e,se),ve=!0,ae||(Re=[ne(gc,"resize",i[20]),ne(gc,"keydown",i[3]),ne(v,"click",i[17]),ne(ce,"click",i[25]),ne(_e,"click",i[26])],ae=!0)},p(Te,tt){if((!ve||tt[0]&1040)&&c!==(c=Te[10](Te[4])+"")&&Ae(g,c),tt[0]&803846){We=Object.entries(Te[1]);let ze;for(ze=0;ze<We.length;ze+=1){const at=_c(Te,We,ze);te[ze]?te[ze].p(at,tt):(te[ze]=wc(at),te[ze].c(),te[ze].m(p,null))}for(;ze<te.length;ze+=1)te[ze].d(1);te.length=We.length}(!ve||tt[0]&1152)&&P!==(P=Te[10](Te[7])+"")&&Ae(T,P),Te[11]?de?(de.p(Te,tt),tt[0]&2048&&R(de,1)):(de=kc(Te),de.c(),R(de,1),de.m(I,null)):de&&(ke(),U(de,1,1,()=>{de=null}),Se()),(!ve||tt[0]&1056)&&x!==(x=Te[10](Te[5])+"")&&Ae(K,x),(!ve||tt[0]&1088)&&ie!==(ie=Te[10](Te[6])+"")&&Ae(se,ie)},i(Te){ve||(R(de),ve=!0)},o(Te){U(de),ve=!1},d(Te){Te&&L(e),ct(te,Te),de&&de.d(),ae=!1,Ze(Re)}}}function Sc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let a in n[l].settings)n[l].settings[a]="";t[l]={...n[l].settings,...e[l]}}}),t}function Pk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Nk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function ip(i,e,t){if(i&&t>0)return i.matches(e)?i:ip(i.parentNode,e,t-1)}function Cc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function Tk(i,e,t){let n,{userSettingGroups:l}=e;const a=Jt();let r,{storedUserSettings:o={}}=e,c={},g=vt("getTranslation");wi(i,g,se=>t(10,n=se));let d=dl.userSettingsDialog.dialogHeader,h=dl.userSettingsDialog.saveBtn,p=dl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Ja(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),xt(()=>{const se=re.getConfigValue("userSettings.userSettingsDialog"),ve=se||re.getConfigValue("settings.userSettings.userSettingsDialog");ve&&(t(4,d=ve.dialogHeader?ve.dialogHeader:d),t(5,h=ve.saveBtn?ve.saveBtn:h),t(6,p=ve.dismissBtn?ve.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Mn.addEventListener("message",ae=>{const Re=Ee.getValidMessageSource(ae);if(!Re||ae.data.msg!=="custom")return;Re._ready=!0;const We=as.convertCustomMessageInternalToUser(ae.data),te="luigi.updateUserSettings";if(We.id===te){const de=oa.findActiveCustomUserSettingsIframe(ae.source);if(de){let Te=de.getAttribute("userSettingsGroup");t(0,o[Te]=We.data,o)}}We.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<rn.desktopMinWidth&&B()}),re.readUserSettings().then(ae=>{c=JSON.parse(JSON.stringify(ae)),ae===null?t(0,o=Sc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Sc(JSON.parse(JSON.stringify(l)),ae)),T([m,l[0][m]])}).catch(ae=>{ae&&ae.message&&console.error(ae.message),ae&&ae.closeDialog&&a("close")}),Ee.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!le.isObject(se.settings))for(let ve in se.settings){let ae=se.settings[ve];ae.type==="enum"?Array.isArray(ae.options)||console.error(`There is no options array for '${ve}' defined in the Luigi userSettings config.`):ae.type===void 0&&console.error(`There is no data type defined for '${ve}' in the Luigi userSettings config.`)}}function T(se,ve){t(11,r=se);let ae=se[0],Re=se[1];if(P(Re),ve?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(te=>{te.classList.remove("is-selected")}),ip(ve.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<rn.desktopMinWidth&&I()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<rn.desktopMinWidth&&Cc()),Re.viewUrl){if(oa.hideUserSettingsIframe(),b.hasOwnProperty(ae))oa.getUserSettingsIframesInDom().forEach(We=>{We.userSettingsGroup===ae&&(We.style.display="block")});else{const We=Ga.hasDecorators()?Ga.applyDecorators(Re.viewUrl):Re.viewUrl;let te=oa.createIframe(We,ae);b[ae]=te}Pk()}else Nk()}const E=se=>{t(0,o=se.detail.userSettings)};function V(){re.storeUserSettings(o,c).then(()=>{a("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&a("close")})}function I(){B()}function B(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<rn.desktopMinWidth&&Cc()}function M(se){return oe.renderIconClassName(se)}function D(se){return oe.isOpenUIiconName(se.icon)}let q;const X=()=>{const se=window.innerWidth>=rn.desktopMinWidth&&q<rn.desktopMinWidth;if(window.innerWidth<rn.desktopMinWidth&&q>=rn.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"),!q){let ae=document.querySelector(".confirm-button");window.innerWidth<rn.desktopMinWidth?ae.style.display="none":ae.style.display="block"}q=window.innerWidth};function Q(se,ve){let ae=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===vi||se.keyCode===Ka)&&ae[ve].click(),se.keyCode===uk&&ae[Object.keys(l).length-1].focus(),se.keyCode===ok&&ae[0].focus()}function ce(se){se.keyCode===mi&&C?y():se.keyCode===mi&&!C&&a("close")}const x=se=>T(se,event),K=(se,ve)=>Q(ve,[se]);function J(se){y=se,t(9,y)}function j(se){C=se,t(8,C)}const _e=()=>V(),ie=()=>a("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,Q,ce,d,h,p,v,C,y,n,r,a,g,T,E,V,B,M,D,X,x,K,J,j,_e,ie]}class Ik extends Vt{constructor(e){super(),Dt(this,e,Tk,yk,At,{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:Lk}=gl;function Ak(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1q543h0")},m(t,n){A(t,e,n)},p:He,d(t){t&&L(e)}}}function Ek(i){let e,t,n,l,a=i[1].title+"",r,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=H(),l=S("h1"),r=Le(a),f(t,"class","lui-collapse-btn svelte-1q543h0"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1q543h0"),f(l,"class","fd-splitView__title svelte-1q543h0")},m(g,d){A(g,e,d),w(e,t),A(g,n,d),A(g,l,d),w(l,r),o||(c=ne(t,"click",Ut(Pt(i[4]))),o=!0)},p(g,d){d&2&&a!==(a=g[1].title+"")&&Ae(r,a)},d(g){g&&L(e),g&&L(n),g&&L(l),o=!1,c()}}}function yc(i){let e,t,n,l,a,r,o,c;return{c(){e=S("div"),t=H(),n=S("div"),l=S("div"),a=H(),r=S("a"),r.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(r,"class","lui-collapse-btn svelte-1q543h0"),f(n,"id","splitViewDragger")},m(g,d){A(g,e,d),A(g,t,d),A(g,n,d),w(n,l),w(n,a),w(n,r),o||(c=[ne(r,"click",Ut(Pt(i[3]))),ne(n,"mousedown",Ut(i[6]))],o=!0)},p:He,d(g){g&&L(e),g&&L(t),g&&L(n),o=!1,Ze(c)}}}function Rk(i){let e,t,n,l,a,r,o,c,g,d;t=new Ol({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function h(v,C){return v[0]?Ek:Ak}let p=h(i),b=p(i),m=!i[0]&&yc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),b.c(),r=H(),m&&m.c(),o=Ce(),f(l,"class","lui-split-view svelte-1q543h0"),f(e,"id","splitViewContainer"),f(e,"class",a="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1q543h0")},m(v,C){A(v,e,C),Oe(t,e,null),w(e,n),w(e,l),b.m(l,null),A(v,r,C),m&&m.m(v,C),A(v,o,C),c=!0,g||(d=ne(Lk,"resize",i[5]),g=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=h(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&a!==(a="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1q543h0"))&&f(e,"class",a),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=yc(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),Fe(t),b.d(),v&&L(r),m&&m.d(v),v&&L(o),g=!1,d()}}}function Dk(i,e,t){const n=Jt();let l={draggable:null,iframe:null,split:null},a,r,o,c,g,d,h,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,T=!1,E=vt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:a,pathData:r,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:h,splitViewWC:p,splitViewWCData:b}),set:J=>{J&&Object.getOwnPropertyNames(J).forEach(j=>{j==="splitViewSettings"?t(1,C=J.splitViewSettings):j==="lastNode"?a=J.lastNode:j==="pathData"?r=J.pathData:j==="nodeParams"?o=J.nodeParams:j==="collapsed"?t(0,v=J.collapsed):j==="isDataPrepared"?t(8,y=J.isDataPrepared):j==="currentNode"?c=J.currentNode:j==="splitViewIframe"?d=J.splitViewIframe:j==="splitViewIframeData"?h=J.splitViewIframeData:j==="splitViewWC"?p=J.splitViewWC:j==="splitViewWCData"&&(b=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:E}),I=async()=>{y?v||ft.createAndSetView(V()):await ft.prepareSplitViewData(V(),m)},B=()=>{l.split=ft.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=ft.getDragger()},M=()=>{const J=ft.getDraggerBackdrop();J&&(J.style.display="none"),B(),l.draggable&&(l.draggable.style.top=`${ft.splitViewValues.top}px`),l.split.style.top=`${ft.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function D(J){if(Ee.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&ft.close(V()),J.data.msg==="luigi.navigation.splitview.collapse"&&q(),J.data.msg==="luigi.navigation.splitview.expand"&&X(),J.data.msg==="luigi.navigation.splitview.resize")){const j=parseInt(J.data.data);if(ft.calculateAndSetSplitViewValues(j,ft.internalValues),v)return;M(),ft.sendMessageToClients("resize.ok",ft.splitViewValues.percent)}}xt(()=>{Q(),g=D.bind(this),Mn.addEventListener("message",g)}),ja(()=>{I(),T!==y&&!v&&(T=y,M())}),Ja(()=>{window.removeEventListener("message",g)});function q(){ft.collapse(V())}async function X(){await ft.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const J=le.getShellbarHeight();ft.internalValues.innerHeight=le.getInnerHeight(),ft.internalValues.rightContentHeight=ft.internalValues.innerHeight-J,ft.internalValues.thresholdBottom=30,ft.internalValues.thresholdTop=J+30,ft.calculateAndSetSplitViewValues(ft.splitViewValues.percent,ft.internalValues),v||M()}function ce(J){let j=J.y,_e={};const ie=function(We){const te=j-We.y,de=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(de)||te===0)return;const Te=de-te,tt=ft.internalValues.innerHeight-Te,ze=ft.enforceTresholds(Te,tt);Te<ze.top||tt<ze.bottom||(_e=ze,j=We.y,l.draggable.style.top=`${_e.top}px`)},se=function(){if(ve(),!_e.top||!_e.bottom||_e.top==ft.internalValues.m_pos_prev){ft.getDraggerBackdrop().style.display="none";return}ft.internalValues.m_pos_prev=_e.top,ft.splitViewValues=_e,M(),ft.sendMessageToClients("resize.ok",_e.percent)},ve=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ie)},ae=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ie)};B(),ve(),ae(),ft.getDraggerBackdrop().style.display="block"}const x=J=>{let j=ft.getDraggerButton();j&&(j.style.display=J?"block":"none"),j=ft.getCollapsedDraggerButton(),j&&(j.style.display=J?"block":"none")},K=J=>{x(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,m=J.nodepath),"collapsed"in J&&t(0,v=J.collapsed),"splitViewSettings"in J&&t(1,C=J.splitViewSettings),"isDataPrepared"in J&&t(8,y=J.isDataPrepared),"disableBackdrop"in J&&t(2,P=J.disableBackdrop)},[v,C,P,q,X,Q,ce,K,y,m]}class lp extends Vt{constructor(e){super(),Dt(this,e,Dk,Rk,At,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Pc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Ok,then:Mk,catch:Vk,value:1};return is(t=i[0].badgeCounter.count(),n),{c(){e=Ce(),n.block.c()},m(l,a){A(l,e,a),n.block.m(l,n.anchor=a),n.mount=()=>e.parentNode,n.anchor=e},p(l,a){i=l,n.ctx=i,a&1&&t!==(t=i[0].badgeCounter.count())&&is(t,n)||G_(n,i,a)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Vk(i){return{c:He,m:He,p:He,d:He}}function Mk(i){let e,t=i[1]>0&&Nc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Nc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Le(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jwxev"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(a,r){A(a,e,r),w(e,n)},p(a,r){r&1&&t!==(t=a[1]+"")&&Ae(n,t),r&1&&l!==(l=a[0].badgeCounter.label)&&f(e,"aria-label",l)},d(a){a&&L(e)}}}function Ok(i){return{c:He,m:He,p:He,d:He}}function Fk(i){let e,t=i[0]&&i[0].badgeCounter&&Pc(i);return{c(){t&&t.c(),e=Ce()},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=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function Uk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Pn extends Vt{constructor(e){super(),Dt(this,e,Uk,Fk,At,{node:0})}}function Tc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Le(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(a,r){A(a,e,r),w(e,t),w(t,l)},p(a,r){r&1&&n!==(n=a[0].statusBadge.label+"")&&Ae(l,n)},d(a){a&&L(e)}}}function zk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Tc(i);return{c(){t&&t.c(),e=Ce()},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=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function Bk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],a=n&&n.statusBadge&&n.statusBadge.type,r=l.includes(a)?a:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,r]}class ti extends Vt{constructor(e){super(),Dt(this,e,Bk,zk,At,{node:0})}}const{window:xr}=gl;function Ic(i,e,t){const n=i.slice();return n[82]=e[t][0],n[83]=e[t][1],n[85]=t,n}function Lc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[86]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[82]=e[t][0],n[83]=e[t][1],n[85]=t,n}function Vc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Hk(i){let e,t,n,l,a,r,o,c,g,d,h=i[12]&&Oc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&zc(i),b=(i[2]||i[3])&&fd(i);return{c(){e=S("div"),h&&h.c(),t=H(),n=S("nav"),l=S("div"),p&&p.c(),a=H(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-z9apvz"),f(n,"class",r="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-z9apvz"),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-z9apvz")},m(m,v){A(m,e,v),h&&h.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,a),b&&b.m(n,null),c=!0,g||(d=ne(n,"keyup",i[18]),g=!0)},p(m,v){m[12]?h?h.p(m,v):(h=Oc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=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=zc(m),p.c(),R(p,1),p.m(l,null)):p&&(ke(),U(p,1,1,()=>{p=null}),Se()),m[2]||m[3]?b?b.p(m,v):(b=fd(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&r!==(r="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-z9apvz"))&&f(n,"class",r),(!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-z9apvz"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),h&&h.d(),p&&p.d(),b&&b.d(),g=!1,d()}}}function Wk(i){let e,t,n,l,a=i[12]&&dd(i),r=i[0]&&i[5].length>1&&_d(i);return{c(){e=S("div"),a&&a.c(),t=H(),r&&r.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-z9apvz"),f(e,"role","navigation"),Vn(e,"width","var(--luigi__left-sidenav--width)"),Vn(e,"height","100%")},m(o,c){A(o,e,c),a&&a.m(e,null),w(e,t),r&&r.m(e,null),l=!0},p(o,c){o[12]?a?a.p(o,c):(a=dd(o),a.c(),a.m(e,t)):a&&(a.d(1),a=null),o[0]&&o[5].length>1?r?(r.p(o,c),c[0]&33&&R(r,1)):(r=_d(o),r.c(),R(r,1),r.m(e,null)):r&&(ke(),U(r,1,1,()=>{r=null}),Se()),(!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-z9apvz"))&&f(e,"class",n)},i(o){l||(R(r),l=!0)},o(o){U(r),l=!1},d(o){o&&L(e),a&&a.d(),r&&r.d()}}}function Oc(i){let e,t,n,l,a,r,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&Fc(i),p=i[12].showUpLink&&Uc(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),h&&h.c(),a=H(),r=S("span"),c=Le(o),g=H(),p&&p.c(),f(r,"class","fd-nested-list__title svelte-z9apvz"),f(l,"class","fd-nested-list__link svelte-z9apvz"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item svelte-z9apvz"),f(t,"class","fd-nested-list svelte-z9apvz"),f(e,"class","lui-nav-title svelte-z9apvz")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,a),w(l,r),w(r,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=Fc(b),h.c(),h.m(l,a)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Ae(c,o),b[12].showUpLink?p?p.p(b,m):(p=Uc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),h&&h.d(),p&&p.d()}}}function Fc(i){let e,t;function n(r,o){return o[0]&4096&&(e=null),e==null&&(e=!!r[30](r[12].icon)),e?Gk:qk}let l=n(i,[-1,-1,-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function qk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&4096&&!Xe(t.src,n=a[12].icon)&&f(t,"src",n),r[0]&4096&&l!==(l=a[12].altText?a[12].altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function Gk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-z9apvz"),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[29](n[12].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function Uc(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-z9apvz"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(a,r){A(a,e,r),n||(l=ne(e,"click",Pt(i[19])),n=!0)},p(a,r){r[0]&33554432&&t!==(t=a[25]("luigi.navigation.up"))&&f(e,"title",t)},d(a){a&&L(e),n=!1,l()}}}function zc(i){let e,t,n,l,a=i[13],r=[];for(let c=0;c<a.length;c+=1)r[c]=ud(Ic(i,a,c));const o=c=>U(r[c],1,1,()=>{r[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<r.length;c+=1)r[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-z9apvz"),f(e,"class","lui-fd-side-nav-wrapper svelte-z9apvz")},m(c,g){A(c,e,g),w(e,t);for(let d=0;d<r.length;d+=1)r[d].m(t,null);l=!0},p(c,g){if(g[0]&1922164672|g[1]&455){a=c[13];let d;for(d=0;d<a.length;d+=1){const h=Ic(c,a,d);r[d]?(r[d].p(h,g),R(r[d],1)):(r[d]=ud(h),r[d].c(),R(r[d],1),r[d].m(t,null))}for(ke(),d=a.length;d<r.length;d+=1)o(d);Se()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-z9apvz"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<a.length;g+=1)R(r[g]);l=!0}},o(c){r=r.filter(Boolean);for(let g=0;g<r.length;g+=1)U(r[g]);l=!1},d(c){c&&L(e),ct(r,c)}}}function Kk(i){let e,t,n,l;const a=[Yk,Jk],r=[];function o(c,g){return c[83].metaInfo.collapsible?0:1}return e=o(i),t=r[e]=a[e](i),{c(){t.c(),n=Ce()},m(c,g){r[e].m(c,g),A(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?r[e].p(c,g):(ke(),U(r[d],1,1,()=>{r[d]=null}),Se(),t=r[e],t?t.p(c,g):(t=r[e]=a[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){r[e].d(c),c&&L(n)}}}function jk(i){let e,t,n=i[83],l=[];for(let r=0;r<n.length;r+=1)l[r]=od(Rc(i,n,r));const a=r=>U(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r<l.length;r+=1)l[r].c();e=Ce()},m(r,o){for(let c=0;c<l.length;c+=1)l[c].m(r,o);A(r,e,o),t=!0},p(r,o){if(o[0]&1887477952|o[1]&133){n=r[83];let c;for(c=0;c<n.length;c+=1){const g=Rc(r,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=od(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)a(c);Se()}},i(r){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(r){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(r){ct(l,r),r&&L(e)}}}function Jk(i){let e,t,n=i[25](i[82])+"",l,a,r,o,c,g,d=i[10]&&i[83].metaInfo.icon&&Bc(i),h=i[83],p=[];for(let m=0;m<h.length;m+=1)p[m]=jc(Lc(i,h,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=H(),l=Le(n),o=H();for(let m=0;m<p.length;m+=1)p[m].c();c=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-z9apvz"),f(e,"title",a=i[33](i[83],i[25](i[82]))),f(e,"data-testid",r=i[32](i[83].metaInfo,i[82])),f(e,"id","category_list_level1_"+i[85])},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),g=!0},p(m,v){if(m[10]&&m[83].metaInfo.icon?d?d.p(m,v):(d=Bc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!g||v[0]&33562624)&&n!==(n=m[25](m[82])+"")&&Ae(l,n),(!g||v[0]&33562624&&a!==(a=m[33](m[83],m[25](m[82]))))&&f(e,"title",a),(!g||v[0]&8192&&r!==(r=m[32](m[83].metaInfo,m[82])))&&f(e,"data-testid",r),v[0]&1887477952|v[1]&133){h=m[83];let C;for(C=0;C<h.length;C+=1){const y=Lc(m,h,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=jc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ke(),C=h.length;C<p.length;C+=1)b(C);Se()}},i(m){if(!g){for(let v=0;v<h.length;v+=1)R(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);g=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ct(p,m),m&&L(c)}}}function Yk(i){let e,t,n,l,a,r,o=i[25](i[82])+"",c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,B,M,D,q,X,Q,ce;function x(te,de){return de[0]&8192&&(l=null),l==null&&(l=!!te[30](te[83].metaInfo.icon)),l?nS:tS}let K=x(i,[-1,-1,-1,-1]),J=K(i);function j(){return i[58](i[83])}function _e(){return i[59](i[83])}function ie(...te){return i[60](i[83],...te)}let se=i[83],ve=[];for(let te=0;te<se.length;te+=1)ve[te]=Xc(Ec(i,se,te));const ae=te=>U(ve[te],1,1,()=>{ve[te]=null});let Re=i[83].metaInfo&&i[83].metaInfo.label===i[8]&&$c(i);function We(){return i[65](i[83])}return{c(){e=S("li"),t=S("div"),n=S("a"),J.c(),a=H(),r=S("span"),c=Le(o),m=H(),v=S("button"),C=S("i"),V=H(),I=S("ul");for(let te=0;te<ve.length;te+=1)ve[te].c();M=H(),Re&&Re.c(),D=H(),f(r,"class","fd-nested-list__title svelte-z9apvz"),f(n,"title",g=i[33](i[83],i[25](i[82]))),f(n,"class",d="fd-nested-list__link "+(un(i[83],i[9])?"is-expanded":"")+" svelte-z9apvz"),f(n,"tabindex",h=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[85]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=un(i[83],i[9])),f(C,"class",y=un(i[83],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-z9apvz"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=un(i[83],i[9])),f(v,"title",T=i[39](i[83],i[9])),f(t,"class","fd-nested-list__content has-child svelte-z9apvz"),f(t,"tabindex",E=i[6]?"0":"-1"),f(I,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-z9apvz"),f(I,"aria-hidden",B=!un(i[83],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",q=i[32](i[83].metaInfo,i[82])),jt(e,"lui-item-expanded",un(i[83],i[9]))},m(te,de){A(te,e,de),w(e,t),w(t,n),J.m(n,null),w(n,a),w(n,r),w(r,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,I);for(let Te=0;Te<ve.length;Te+=1)ve[Te].m(I,null);w(e,M),Re&&Re.m(e,null),w(e,D),X=!0,Q||(ce=[ne(n,"click",Pt(j)),ne(v,"click",Pt(_e)),ne(t,"keypress",ie),ne(e,"click",Ut(We))],Q=!0)},p(te,de){if(i=te,K===(K=x(i,de))&&J?J.p(i,de):(J.d(1),J=K(i),J&&(J.c(),J.m(n,a))),(!X||de[0]&33562624)&&o!==(o=i[25](i[82])+"")&&Ae(c,o),(!X||de[0]&33562624&&g!==(g=i[33](i[83],i[25](i[82]))))&&f(n,"title",g),(!X||de[0]&8704&&d!==(d="fd-nested-list__link "+(un(i[83],i[9])?"is-expanded":"")+" svelte-z9apvz"))&&f(n,"class",d),(!X||de[0]&64&&h!==(h=i[6]?"-1":"0"))&&f(n,"tabindex",h),(!X||de[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!X||de[0]&8704&&b!==(b=un(i[83],i[9])))&&f(n,"aria-expanded",b),(!X||de[0]&8704&&y!==(y=un(i[83],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!X||de[0]&8704&&P!==(P=un(i[83],i[9])))&&f(v,"aria-expanded",P),(!X||de[0]&8704&&T!==(T=i[39](i[83],i[9])))&&f(v,"title",T),(!X||de[0]&64&&E!==(E=i[6]?"0":"-1"))&&f(t,"tabindex",E),de[0]&276865152|de[1]&133){se=i[83];let Te;for(Te=0;Te<se.length;Te+=1){const tt=Ec(i,se,Te);ve[Te]?(ve[Te].p(tt,de),R(ve[Te],1)):(ve[Te]=Xc(tt),ve[Te].c(),R(ve[Te],1),ve[Te].m(I,null))}for(ke(),Te=se.length;Te<ve.length;Te+=1)ae(Te);Se()}(!X||de[0]&8704&&B!==(B=!un(i[83],i[9])))&&f(I,"aria-hidden",B),i[83].metaInfo&&i[83].metaInfo.label===i[8]?Re?(Re.p(i,de),de[0]&8448&&R(Re,1)):(Re=$c(i),Re.c(),R(Re,1),Re.m(e,D)):Re&&(ke(),U(Re,1,1,()=>{Re=null}),Se()),(!X||de[0]&8192&&q!==(q=i[32](i[83].metaInfo,i[82])))&&f(e,"data-testid",q),(!X||de[0]&8704)&&jt(e,"lui-item-expanded",un(i[83],i[9]))},i(te){if(!X){for(let de=0;de<se.length;de+=1)R(ve[de]);R(Re),X=!0}},o(te){ve=ve.filter(Boolean);for(let de=0;de<ve.length;de+=1)U(ve[de]);U(Re),X=!1},d(te){te&&L(e),J.d(),ct(ve,te),Re&&Re.d(),Q=!1,Ze(ce)}}}function Bc(i){let e,t;function n(r,o){return o[0]&8192&&(e=null),e==null&&(e=!!r[30](r[83].metaInfo.icon)),e?Zk:Qk}let l=n(i,[-1,-1,-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function Qk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&8192&&!Xe(t.src,n=a[83].metaInfo.icon)&&f(t,"src",n),r[0]&8192&&l!==(l=a[83].metaInfo.altText?a[83].metaInfo.altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function Zk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[83].metaInfo.icon?i[29](i[83].metaInfo.icon):"")+" svelte-z9apvz"),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[83].metaInfo.icon?n[29](n[83].metaInfo.icon):"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function Hc(i){let e,t,n=i[86].label&&Wc(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].label?n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=Wc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Wc(i){let e,t,n,l,a=i[28](i[86])+"",r,o,c,g,d,h,p,b,m,v,C,y,P,T;function E(Q,ce){return Q[86].icon?$k:Xk}let V=E(i),I=V(i),B=i[86].statusBadge&&qc(i),M=i[86].externalLink&&i[86].externalLink.url&&Gc(),D=i[86].badgeCounter&&Kc(i);function q(...Q){return i[66](i[86],...Q)}function X(...Q){return i[67](i[86],...Q)}return{c(){e=S("li"),t=S("a"),I.c(),n=H(),l=S("span"),r=Le(a),o=H(),B&&B.c(),g=H(),M&&M.c(),d=H(),D&&D.c(),v=H(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",h=i[31](i[86])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=oe.getTestId(i[86])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[33](i[86],i[28](i[86]))),f(e,"aria-labelledby","category_list_level1_"+i[85])},m(Q,ce){A(Q,e,ce),w(e,t),I.m(t,null),w(t,n),w(t,l),w(l,r),w(l,o),B&&B.m(l,null),w(t,g),M&&M.m(t,null),w(t,d),D&&D.m(t,null),w(e,v),y=!0,P||(T=[ne(t,"click",q),ne(t,"keyup",function(){bi(i[23]?void 0:X)&&(i[23]?void 0:X).apply(this,arguments)})],P=!0)},p(Q,ce){i=Q,V===(V=E(i))&&I?I.p(i,ce):(I.d(1),I=V(i),I&&(I.c(),I.m(t,n))),(!y||ce[0]&8192)&&a!==(a=i[28](i[86])+"")&&Ae(r,a),i[86].statusBadge?B?(B.p(i,ce),ce[0]&8192&&R(B,1)):(B=qc(i),B.c(),R(B,1),B.m(l,null)):B&&(ke(),U(B,1,1,()=>{B=null}),Se()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",c),i[86].externalLink&&i[86].externalLink.url?M||(M=Gc(),M.c(),M.m(t,d)):M&&(M.d(1),M=null),i[86].badgeCounter?D?(D.p(i,ce),ce[0]&8192&&R(D,1)):(D=Kc(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),U(D,1,1,()=>{D=null}),Se()),(!y||ce[0]&8192&&h!==(h=i[31](i[86])))&&f(t,"href",h),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||ce[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=oe.getTestId(i[86])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[33](i[86],i[28](i[86]))))&&f(e,"title",C)},i(Q){y||(R(B),R(D),y=!0)},o(Q){U(B),U(D),y=!1},d(Q){Q&&L(e),I.d(),B&&B.d(),M&&M.d(),D&&D.d(),P=!1,Ze(T)}}}function Xk(i){let e,t,n,l,a=i[6]?"sap-icon--rhombus-milestone-2":"",r;return{c(){e=S("i"),n=H(),l=S("span"),r=Le(a),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,r)},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&&a!==(a=o[6]?"sap-icon--rhombus-milestone-2":"")&&Ae(r,a)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function $k(i){let e,t;function n(r,o){return o[0]&8192&&(e=null),e==null&&(e=!!r[30](r[86].icon)),e?eS:xk}let l=n(i,[-1,-1,-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function xk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&8192&&!Xe(t.src,n=a[86].icon)&&f(t,"src",n),r[0]&8192&&l!==(l=a[86].altText?a[86].altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function eS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[86].icon)+" svelte-z9apvz")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function qc(i){let e,t;return e=new ti({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&8192&&(a.node=n[86]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Gc(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 Kc(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&8192&&(a.node=n[86]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function jc(i){let e,t,n=!i[86].hideFromNav&&Hc(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=Hc(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 tS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&8192&&!Xe(t.src,n=a[83].metaInfo.icon)&&f(t,"src",n),r[0]&8192&&l!==(l=a[83].metaInfo.altText?a[83].metaInfo.altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function nS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[83].metaInfo.icon)+" "+(i[6]&&!i[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz"),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[29](n[83].metaInfo.icon)+" "+(n[6]&&!n[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function Jc(i){let e,t,n=i[86].label&&Yc(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].label?n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=Yc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Yc(i){let e,t,n,l=i[28](i[86])+"",a,r,o,c,g,d,h,p,b,m,v,C,y,P,T;o=new ti({props:{node:i[86]}});let E=i[86].externalLink&&i[86].externalLink.url&&Qc(),V=i[86].badgeCounter&&Zc(i);function I(...M){return i[61](i[86],...M)}function B(...M){return i[62](i[86],...M)}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),r=H(),Ue(o.$$.fragment),g=H(),E&&E.c(),d=H(),V&&V.c(),C=H(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",h=i[31](i[86])),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=oe.getTestId(i[86])),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[85])},m(M,D){A(M,e,D),w(e,t),w(t,n),w(n,a),w(n,r),Oe(o,n,null),w(t,g),E&&E.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(T=[ne(t,"click",I),ne(t,"keyup",function(){bi(i[23]?void 0:B)&&(i[23]?void 0:B).apply(this,arguments)})],P=!0)},p(M,D){i=M,(!y||D[0]&8192)&&l!==(l=i[28](i[86])+"")&&Ae(a,l);const q={};D[0]&8192&&(q.node=i[86]),o.$set(q),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(n,"class",c),i[86].externalLink&&i[86].externalLink.url?E||(E=Qc(),E.c(),E.m(t,d)):E&&(E.d(1),E=null),i[86].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=Zc(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&h!==(h=i[31](i[86])))&&f(t,"href",h),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=oe.getTestId(i[86])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v)},i(M){y||(R(o.$$.fragment,M),R(V),y=!0)},o(M){U(o.$$.fragment,M),U(V),y=!1},d(M){M&&L(e),Fe(o),E&&E.d(),V&&V.d(),P=!1,Ze(T)}}}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 Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&8192&&(a.node=n[86]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Xc(i){let e,t,n=!i[86].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[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 $c(i){let e,t,n,l=i[25](i[82])+"",a,r,o,c,g=i[83],d=[];for(let p=0;p<g.length;p+=1)d[p]=id(Ac(i,g,p));const h=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),a=Le(l),r=H(),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-z9apvz"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-z9apvz"),f(t,"class","lui-flyout-sublist__wrapper svelte-z9apvz"),f(e,"class","lui-flyout-sublist svelte-z9apvz")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,a),w(t,r),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]&33562624)&&l!==(l=p[25](p[82])+"")&&Ae(a,l),b[0]&276865152|b[1]&133){g=p[83];let m;for(m=0;m<g.length;m+=1){const v=Ac(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=id(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ke(),m=g.length;m<d.length;m+=1)h(m);Se()}},i(p){if(!c){for(let b=0;b<g.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),ct(d,p)}}}function xc(i){let e,t,n=i[86].label&&ed(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].label?n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=ed(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ed(i){let e,t,n,l=i[28](i[86])+"",a,r,o,c,g,d,h,p,b,m,v,C,y,P,T;o=new ti({props:{node:i[86]}});let E=i[86].externalLink&&i[86].externalLink.url&&td(),V=i[86].badgeCounter&&nd(i);function I(...M){return i[63](i[86],...M)}function B(...M){return i[64](i[86],...M)}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),r=H(),Ue(o.$$.fragment),g=H(),E&&E.c(),d=H(),V&&V.c(),C=H(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",h=i[31](i[86])),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=oe.getTestId(i[86])),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(e,"class","fd-nested-list__item")},m(M,D){A(M,e,D),w(e,t),w(t,n),w(n,a),w(n,r),Oe(o,n,null),w(t,g),E&&E.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(T=[ne(t,"click",I),ne(t,"keyup",function(){bi(i[23]?void 0:B)&&(i[23]?void 0:B).apply(this,arguments)})],P=!0)},p(M,D){i=M,(!y||D[0]&8192)&&l!==(l=i[28](i[86])+"")&&Ae(a,l);const q={};D[0]&8192&&(q.node=i[86]),o.$set(q),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(n,"class",c),i[86].externalLink&&i[86].externalLink.url?E||(E=td(),E.c(),E.m(t,d)):E&&(E.d(1),E=null),i[86].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=nd(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&h!==(h=i[31](i[86])))&&f(t,"href",h),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=oe.getTestId(i[86])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v)},i(M){y||(R(o.$$.fragment,M),R(V),y=!0)},o(M){U(o.$$.fragment,M),U(V),y=!1},d(M){M&&L(e),Fe(o),E&&E.d(),V&&V.d(),P=!1,Ze(T)}}}function td(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 nd(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&8192&&(a.node=n[86]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function id(i){let e,t,n=!i[86].hideFromNav&&xc(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ld(i){let e,t,n=i[86].label&&ad(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].label?n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=ad(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ad(i){let e,t,n,l,a=i[28](i[86])+"",r,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(Q,ce){return Q[86].icon?lS:iS}let I=V(i),B=I(i);c=new ti({props:{node:i[86]}});let M=i[86].externalLink&&i[86].externalLink.url&&rd(),D=i[86].badgeCounter&&sd(i);function q(...Q){return i[56](i[86],...Q)}function X(...Q){return i[57](i[86],...Q)}return{c(){e=S("li"),t=S("a"),B.c(),n=H(),l=S("span"),r=Le(a),o=H(),Ue(c.$$.fragment),d=H(),M&&M.c(),h=H(),D&&D.c(),y=H(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",p=i[31](i[86])),f(t,"title",b=i[33](i[86],i[28](i[86]))),f(t,"class",m="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",C=oe.getTestId(i[86])),f(e,"class","fd-nested-list__item")},m(Q,ce){A(Q,e,ce),w(e,t),B.m(t,null),w(t,n),w(t,l),w(l,r),w(l,o),Oe(c,l,null),w(t,d),M&&M.m(t,null),w(t,h),D&&D.m(t,null),w(e,y),P=!0,T||(E=[ne(t,"click",q),ne(t,"keyup",function(){bi(i[23]?void 0:X)&&(i[23]?void 0:X).apply(this,arguments)})],T=!0)},p(Q,ce){i=Q,I===(I=V(i))&&B?B.p(i,ce):(B.d(1),B=I(i),B&&(B.c(),B.m(t,n))),(!P||ce[0]&8192)&&a!==(a=i[28](i[86])+"")&&Ae(r,a);const x={};ce[0]&8192&&(x.node=i[86]),c.$set(x),(!P||ce[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",g),i[86].externalLink&&i[86].externalLink.url?M||(M=rd(),M.c(),M.m(t,h)):M&&(M.d(1),M=null),i[86].badgeCounter?D?(D.p(i,ce),ce[0]&8192&&R(D,1)):(D=sd(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),U(D,1,1,()=>{D=null}),Se()),(!P||ce[0]&8192&&p!==(p=i[31](i[86])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[33](i[86],i[28](i[86]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",m),(!P||ce[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=oe.getTestId(i[86])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(D),P=!0)},o(Q){U(c.$$.fragment,Q),U(D),P=!1},d(Q){Q&&L(e),B.d(),Fe(c),M&&M.d(),D&&D.d(),T=!1,Ze(E)}}}function iS(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 lS(i){let e,t;function n(r,o){return o[0]&8192&&(e=null),e==null&&(e=!!r[30](r[86].icon)),e?rS:aS}let l=n(i,[-1,-1,-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function aS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&8192&&!Xe(t.src,n=a[86].icon)&&f(t,"src",n),r[0]&8192&&l!==(l=a[86].altText?a[86].altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function rS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[86].icon)+" svelte-z9apvz"),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[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function rd(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 sd(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&8192&&(a.node=n[86]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function od(i){let e,t,n=!i[86].hideFromNav&&ld(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[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,l,a,r;const o=[jk,Kk],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[82]==="undefined"||d[82].startsWith(d[14]))),e?0:(t==null&&(t=d[83].filter(CS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),a=Ce()},m(d,h){~n&&c[n].m(d,h),A(d,a,h),r=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(ke(),U(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,h):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(a.parentNode,a)):l=null)},i(d){r||(R(l),r=!0)},o(d){U(l),r=!1},d(d){~n&&c[n].d(d),d&&L(a)}}}function fd(i){let e,t,n,l=(i[2]?i[2]:"")+"",a,r,o=i[3]&&cd(i);return{c(){e=S("div"),t=S("span"),n=S("span"),a=Le(l),r=H(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-z9apvz"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-z9apvz"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-z9apvz")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,a),w(t,r),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ae(a,l),c[3]?o?o.p(c,g):(o=cd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function cd(i){let e;function t(a,r){return a[4]=="button"?oS:sS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(a,r){l.m(a,r),A(a,e,r)},p(a,r){n===(n=t(a))&&l?l.p(a,r):(l.d(1),l=n(a),l&&(l.c(),l.m(e.parentNode,e)))},d(a){l.d(a),a&&L(e)}}}function sS(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-z9apvz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(a,r){A(a,e,r),n||(l=[ne(e,"click",i[69]),ne(e,"keydown",i[70])],n=!0)},p(a,r){r[0]&64&&t!==(t="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz")&&f(e,"class",t),r[0]&2048&&f(e,"title",a[11])},d(a){a&&L(e),n=!1,Ze(l)}}}function oS(i){let e,t,n,l,a;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-z9apvz"),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-z9apvz")},m(r,o){A(r,e,o),w(e,t),l||(a=ne(e,"click",i[68]),l=!0)},p(r,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz")&&f(t,"class",n),o[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),l=!1,a()}}}function dd(i){let e,t,n,l,a,r,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&hd(i),p=i[12].showUpLink&&gd(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),h&&h.c(),a=H(),r=S("span"),c=Le(o),g=H(),p&&p.c(),f(r,"class","fd-nested-list__title svelte-z9apvz"),f(l,"class","fd-nested-list__link svelte-z9apvz"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-z9apvz"),f(e,"class","lui-nav-title svelte-z9apvz")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,a),w(l,r),w(r,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=hd(b),h.c(),h.m(l,a)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Ae(c,o),b[12].showUpLink?p?p.p(b,m):(p=gd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),h&&h.d(),p&&p.d()}}}function hd(i){let e,t;function n(r,o){return o[0]&4096&&(e=null),e==null&&(e=!!r[30](r[12].icon)),e?fS:uS}let l=n(i,[-1,-1,-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function uS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&4096&&!Xe(t.src,n=a[12].icon)&&f(t,"src",n),r[0]&4096&&l!==(l=a[12].altText?a[12].altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function fS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-z9apvz"),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[29](n[12].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function gd(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-z9apvz"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(a,r){A(a,e,r),n||(l=ne(e,"click",Pt(i[19])),n=!0)},p(a,r){r[0]&33554432&&t!==(t=a[25]("luigi.navigation.up"))&&f(e,"title",t)},d(a){a&&L(e),n=!1,l()}}}function _d(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m=i[13],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ed(Dc(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=H(),l=S("li"),a=H(),r=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>`,g=H(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-z9apvz"></ul></div>',f(l,"class","lui-spacer svelte-z9apvz"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-z9apvz"),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(o,"tabindex","-1"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-z9apvz"),f(d,"aria-hidden","false"),f(r,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-z9apvz"),f(r,"aria-hidden","true"),f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(y,P){A(y,e,P),w(e,t);for(let T=0;T<v.length;T+=1)v[T].m(t,null);w(t,n),w(t,l),w(t,a),w(t,r),w(r,o),w(o,c),w(r,g),w(r,d),i[55](e),h=!0,p||(b=ne(c,"click",i[54]),p=!0)},p(y,P){if(P[0]&1922164672|P[1]&135){m=y[13];let T;for(T=0;T<m.length;T+=1){const E=Dc(y,m,T);v[T]?(v[T].p(E,P),R(v[T],1)):(v[T]=Ed(E),v[T].c(),R(v[T],1),v[T].m(t,n))}for(ke(),T=m.length;T<v.length;T+=1)C(T);Se()}},i(y){if(!h){for(let P=0;P<m.length;P+=1)R(v[P]);h=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);h=!1},d(y){y&&L(e),ct(v,y),i[55](null),p=!1,b()}}}function cS(i){let e,t,n,l,a,r,o=i[25](i[82])+"",c,g,d,h,p,b,m,v,C,y,P,T,E,V,I;function B(ce,x){return x[0]&8192&&(l=null),l==null&&(l=!!ce[30](ce[83].metaInfo.icon)),l?gS:hS}let M=B(i,[-1,-1,-1,-1]),D=M(i);function q(){return i[48](i[83])}function X(...ce){return i[49](i[83],...ce)}let Q=(!i[6]||i[83].metaInfo&&i[83].metaInfo.label===i[8])&&pd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),D.c(),a=H(),r=S("span"),c=Le(o),g=H(),d=S("span"),h=H(),p=S("span"),y=H(),Q&&Q.c(),f(r,"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-z9apvz"),f(n,"role","button"),f(n,"tabindex","-1"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[33](i[83],i[25](i[82]))),f(t,"aria-expanded",v=i[6]?i[83].metaInfo&&i[83].metaInfo.label===i[8]:un(i[83],i[9])),f(t,"aria-selected",C=i[6]&&i[83].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-z9apvz"),f(e,"aria-hidden","true"),f(e,"data-testid",T=i[32](i[83].metaInfo,i[82]))},m(ce,x){A(ce,e,x),w(e,t),w(t,n),D.m(n,null),w(n,a),w(n,r),w(r,c),w(n,g),w(n,d),w(n,h),w(n,p),w(e,y),Q&&Q.m(e,null),E=!0,V||(I=[ne(n,"click",Pt(q)),ne(t,"click",Ut(X))],V=!0)},p(ce,x){i=ce,M===(M=B(i,x))&&D?D.p(i,x):(D.d(1),D=M(i),D&&(D.c(),D.m(n,a))),(!E||x[0]&33562624)&&o!==(o=i[25](i[82])+"")&&Ae(c,o),(!E||x[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!E||x[0]&33562624&&m!==(m=i[33](i[83],i[25](i[82]))))&&f(t,"title",m),(!E||x[0]&9024&&v!==(v=i[6]?i[83].metaInfo&&i[83].metaInfo.label===i[8]:un(i[83],i[9])))&&f(t,"aria-expanded",v),(!E||x[0]&8384&&C!==(C=i[6]&&i[83].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[83].metaInfo&&i[83].metaInfo.label===i[8]?Q?(Q.p(i,x),x[0]&8512&&R(Q,1)):(Q=pd(i),Q.c(),R(Q,1),Q.m(e,null)):Q&&(ke(),U(Q,1,1,()=>{Q=null}),Se()),(!E||x[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-z9apvz"))&&f(e,"class",P),(!E||x[0]&8192&&T!==(T=i[32](i[83].metaInfo,i[82])))&&f(e,"data-testid",T)},i(ce){E||(R(Q),E=!0)},o(ce){U(Q),E=!1},d(ce){ce&&L(e),D.d(),Q&&Q.d(),V=!1,Ze(I)}}}function dS(i){let e,t,n=i[83],l=[];for(let r=0;r<n.length;r+=1)l[r]=Ad(Mc(i,n,r));const a=r=>U(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r<l.length;r+=1)l[r].c();e=Ce()},m(r,o){for(let c=0;c<l.length;c+=1)l[c].m(r,o);A(r,e,o),t=!0},p(r,o){if(o[0]&1887477952|o[1]&133){n=r[83];let c;for(c=0;c<n.length;c+=1){const g=Mc(r,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ad(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)a(c);Se()}},i(r){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(r){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(r){ct(l,r),r&&L(e)}}}function hS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&8192&&!Xe(t.src,n=a[83].metaInfo.icon)&&f(t,"src",n),r[0]&8192&&l!==(l=a[83].metaInfo.altText?a[83].metaInfo.altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function gS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[83].metaInfo.icon)+" "+(i[6]&&!i[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[29](n[83].metaInfo.icon)+" "+(n[6]&&!n[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function pd(i){let e,t,n,l,a,r,o,c=i[6]&&md(i),g=i[83],d=[];for(let p=0;p<g.length;p+=1)d[p]=Pd(Vc(i,g,p));const h=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=H(),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",a="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(t,"aria-hidden","true"),f(e,"class",r="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-z9apvz")},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=md(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&276865152|b[1]&133){g=p[83];let m;for(m=0;m<g.length;m+=1){const v=Vc(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Pd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ke(),m=g.length;m<d.length;m+=1)h(m);Se()}(!o||b[0]&64&&a!==(a="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",a),(!o||b[0]&64&&r!==(r="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-z9apvz"))&&f(e,"class",r)},i(p){if(!o){for(let b=0;b<g.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(),ct(d,p)}}}function md(i){let e,t,n,l,a=i[25](i[82])+"",r,o,c,g,d,h=i[10]&&i[83].metaInfo.icon&&bd(i);return{c(){e=S("div"),t=S("a"),h&&h.c(),n=H(),l=S("span"),r=Le(a),o=H(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-z9apvz"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-z9apvz"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[33](i[83],i[25](i[82]))),f(e,"data-testid",d=i[32](i[83].metaInfo,i[82]))},m(p,b){A(p,e,b),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,r),w(t,o),w(t,c)},p(p,b){p[10]&&p[83].metaInfo.icon?h?h.p(p,b):(h=bd(p),h.c(),h.m(t,n)):h&&(h.d(1),h=null),b[0]&33562624&&a!==(a=p[25](p[82])+"")&&Ae(r,a),b[0]&33562624&&g!==(g=p[33](p[83],p[25](p[82])))&&f(e,"title",g),b[0]&8192&&d!==(d=p[32](p[83].metaInfo,p[82]))&&f(e,"data-testid",d)},d(p){p&&L(e),h&&h.d()}}}function bd(i){let e,t;function n(r,o){return o[0]&8192&&(e=null),e==null&&(e=!!r[30](r[83].metaInfo.icon)),e?pS:_S}let l=n(i,[-1,-1,-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function _S(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&8192&&!Xe(t.src,n=a[83].metaInfo.icon)&&f(t,"src",n),r[0]&8192&&l!==(l=a[83].metaInfo.altText?a[83].metaInfo.altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function pS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[83].metaInfo.icon)+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[83].metaInfo.icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function vd(i){let e,t,n=i[86].label&&wd(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].label?n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=wd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function wd(i){let e,t,n,l,a=i[28](i[86])+"",r,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I=i[28](i[86])+"",B,M,D,q,X,Q,ce,x,K,J,j,_e,ie,se;c=new ti({props:{node:i[86]}});let ve=i[86].externalLink&&i[86].externalLink.url&&kd(),ae=i[86].badgeCounter&&Sd(i);function Re(...ze){return i[50](i[86],...ze)}function We(...ze){return i[51](i[86],...ze)}D=new ti({props:{node:i[86]}});let te=i[86].externalLink&&i[86].externalLink.url&&Cd(),de=i[86].badgeCounter&&yd(i);function Te(...ze){return i[52](i[86],...ze)}function tt(...ze){return i[53](i[86],...ze)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),r=Le(a),o=H(),Ue(c.$$.fragment),d=H(),h=S("span"),p=H(),ve&&ve.c(),b=H(),ae&&ae.c(),P=H(),T=S("li"),E=S("a"),V=S("span"),B=Le(I),M=H(),Ue(D.$$.fragment),X=H(),te&&te.c(),Q=H(),de&&de.c(),f(l,"class",g="fd-navigation__text badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(h,"class","fd-navigation__selection-indicator"),f(h,"role","presentation"),f(h,"aria-hidden","true"),f(h,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-z9apvz"),f(n,"tabindex","-1"),f(n,"href",m=i[31](i[86])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[86]===i[7]),f(t,"data-testid",y=oe.getTestId(i[86])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",q="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(E,"href",ce=i[31](i[86])),f(E,"class",x="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(E,"role",K=i[23]?void 0:"button"),f(E,"tabindex","0"),f(E,"data-testid",J=oe.getTestId(i[86])),f(E,"title",j=i[33](i[86],i[28](i[86]))),Vn(T,"display","none"),f(T,"class","fd-nested-list__item"),f(T,"aria-labelledby","collapsible_listnode_"+i[85])},m(ze,at){A(ze,e,at),w(e,t),w(t,n),w(n,l),w(l,r),w(l,o),Oe(c,l,null),w(n,d),w(n,h),w(n,p),ve&&ve.m(n,null),w(n,b),ae&&ae.m(n,null),A(ze,P,at),A(ze,T,at),w(T,E),w(E,V),w(V,B),w(V,M),Oe(D,V,null),w(E,X),te&&te.m(E,null),w(E,Q),de&&de.m(E,null),_e=!0,ie||(se=[ne(n,"click",Re),ne(n,"keyup",function(){bi(i[23]?void 0:We)&&(i[23]?void 0:We).apply(this,arguments)}),ne(E,"click",Te),ne(E,"keyup",function(){bi(i[23]?void 0:tt)&&(i[23]?void 0:tt).apply(this,arguments)})],ie=!0)},p(ze,at){i=ze,(!_e||at[0]&8192)&&a!==(a=i[28](i[86])+"")&&Ae(r,a);const Ct={};at[0]&8192&&(Ct.node=i[86]),c.$set(Ct),(!_e||at[0]&8192&&g!==(g="fd-navigation__text badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",g),i[86].externalLink&&i[86].externalLink.url?ve||(ve=kd(),ve.c(),ve.m(n,b)):ve&&(ve.d(1),ve=null),i[86].badgeCounter?ae?(ae.p(i,at),at[0]&8192&&R(ae,1)):(ae=Sd(i),ae.c(),R(ae,1),ae.m(n,null)):ae&&(ke(),U(ae,1,1,()=>{ae=null}),Se()),(!_e||at[0]&8192&&m!==(m=i[31](i[86])))&&f(n,"href",m),(!_e||at[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v),(!_e||at[0]&8320&&C!==(C=i[86]===i[7]))&&f(t,"aria-selected",C),(!_e||at[0]&8192&&y!==(y=oe.getTestId(i[86])))&&f(t,"data-testid",y),(!_e||at[0]&8192)&&I!==(I=i[28](i[86])+"")&&Ae(B,I);const pe={};at[0]&8192&&(pe.node=i[86]),D.$set(pe),(!_e||at[0]&8192&&q!==(q="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(V,"class",q),i[86].externalLink&&i[86].externalLink.url?te||(te=Cd(),te.c(),te.m(E,Q)):te&&(te.d(1),te=null),i[86].badgeCounter?de?(de.p(i,at),at[0]&8192&&R(de,1)):(de=yd(i),de.c(),R(de,1),de.m(E,null)):de&&(ke(),U(de,1,1,()=>{de=null}),Se()),(!_e||at[0]&8192&&ce!==(ce=i[31](i[86])))&&f(E,"href",ce),(!_e||at[0]&8320&&x!==(x="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(E,"class",x),(!_e||at[0]&8388608&&K!==(K=i[23]?void 0:"button"))&&f(E,"role",K),(!_e||at[0]&8192&&J!==(J=oe.getTestId(i[86])))&&f(E,"data-testid",J),(!_e||at[0]&8192&&j!==(j=i[33](i[86],i[28](i[86]))))&&f(E,"title",j)},i(ze){_e||(R(c.$$.fragment,ze),R(ae),R(D.$$.fragment,ze),R(de),_e=!0)},o(ze){U(c.$$.fragment,ze),U(ae),U(D.$$.fragment,ze),U(de),_e=!1},d(ze){ze&&L(e),Fe(c),ve&&ve.d(),ae&&ae.d(),ze&&L(P),ze&&L(T),Fe(D),te&&te.d(),de&&de.d(),ie=!1,Ze(se)}}}function kd(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 Sd(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&8192&&(a.node=n[86]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Cd(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 yd(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&8192&&(a.node=n[86]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Pd(i){let e,t,n=!i[86].hideFromNav&&vd(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=vd(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 Nd(i){let e,t,n=i[86].label&&Td(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].label?n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=Td(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Td(i){let e,t,n,l,a,r=i[28](i[86])+"",o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,B;function M(K,J){return K[86].icon?bS:mS}let D=M(i),q=D(i);g=new ti({props:{node:i[86]}});let X=i[86].externalLink&&i[86].externalLink.url&&Id(),Q=i[86].badgeCounter&&Ld(i);function ce(...K){return i[46](i[86],...K)}function x(...K){return i[47](i[86],...K)}return{c(){e=S("li"),t=S("div"),n=S("a"),q.c(),l=H(),a=S("span"),o=Le(r),c=H(),Ue(g.$$.fragment),h=H(),X&&X.c(),p=H(),Q&&Q.c(),b=H(),m=S("span"),f(a,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),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[86]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-z9apvz"),f(n,"tabindex","-1"),f(n,"href",C=i[31](i[86])),f(n,"title",y=i[33](i[86],i[28](i[86]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",T=oe.getTestId(i[86])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",E=i[86]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(K,J){A(K,e,J),w(e,t),w(t,n),q.m(n,null),w(n,l),w(n,a),w(a,o),w(a,c),Oe(g,a,null),w(n,h),X&&X.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,b),w(n,m),V=!0,I||(B=[ne(n,"click",ce),ne(n,"keyup",function(){bi(i[23]?void 0:x)&&(i[23]?void 0:x).apply(this,arguments)})],I=!0)},p(K,J){i=K,D===(D=M(i))&&q?q.p(i,J):(q.d(1),q=D(i),q&&(q.c(),q.m(n,l))),(!V||J[0]&8192)&&r!==(r=i[28](i[86])+"")&&Ae(o,r);const j={};J[0]&8192&&(j.node=i[86]),g.$set(j),(!V||J[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(a,"class",d),i[86].externalLink&&i[86].externalLink.url?X||(X=Id(),X.c(),X.m(n,p)):X&&(X.d(1),X=null),i[86].badgeCounter?Q?(Q.p(i,J),J[0]&8192&&R(Q,1)):(Q=Ld(i),Q.c(),R(Q,1),Q.m(n,b)):Q&&(ke(),U(Q,1,1,()=>{Q=null}),Se()),(!V||J[0]&8320&&v!==(v="fd-navigation__link "+(i[86]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-z9apvz"))&&f(n,"class",v),(!V||J[0]&8192&&C!==(C=i[31](i[86])))&&f(n,"href",C),(!V||J[0]&8192&&y!==(y=i[33](i[86],i[28](i[86]))))&&f(n,"title",y),(!V||J[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!V||J[0]&8192&&T!==(T=oe.getTestId(i[86])))&&f(n,"data-testid",T),(!V||J[0]&8320&&E!==(E=i[86]===i[7]))&&f(t,"aria-selected",E)},i(K){V||(R(g.$$.fragment,K),R(Q),V=!0)},o(K){U(g.$$.fragment,K),U(Q),V=!1},d(K){K&&L(e),q.d(),Fe(g),X&&X.d(),Q&&Q.d(),I=!1,Ze(B)}}}function mS(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 bS(i){let e,t;function n(r,o){return o[0]&8192&&(e=null),e==null&&(e=!!r[30](r[86].icon)),e?wS:vS}let l=n(i,[-1,-1,-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function vS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-z9apvz")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&8192&&!Xe(t.src,n=a[86].icon)&&f(t,"src",n),r[0]&8192&&l!==(l=a[86].altText?a[86].altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function wS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[86].icon)+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function Id(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 Ld(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&8192&&(a.node=n[86]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ad(i){let e,t,n=!i[86].hideFromNav&&Nd(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[0]&8192&&R(n,1)):(n=Nd(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 Ed(i){let e,t,n,l,a,r;const o=[dS,cS],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[82]==="undefined"||d[82].startsWith(d[14]))),e?0:(t==null&&(t=d[83].filter(SS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),a=Ce()},m(d,h){~n&&c[n].m(d,h),A(d,a,h),r=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(ke(),U(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,h):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(a.parentNode,a)):l=null)},i(d){r||(R(l),r=!0)},o(d){U(l),r=!1},d(d){~n&&c[n].d(d),d&&L(a)}}}function kS(i){let e,t,n,l,a,r;const o=[Wk,Hk],c=[];function g(d,h){return d[27]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,h){c[e].m(d,h),A(d,n,h),l=!0,a||(r=[ne(xr,"resize",i[17]),ne(xr,"click",i[21]),ne(xr,"blur",i[21]),ne(xr,"keydown",i[34])],a=!0)},p(d,h){t.p(d,h)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),a=!1,Ze(r)}}}function un(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Vo(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 SS=i=>!i.hideFromNav&&i.label,CS=i=>!i.hideFromNav&&i.label;function yS(i,e,t){let n;const l={get:()=>({children:r,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:E,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:T,navParentNode:B}),set:async Z=>{Z&&(Object.getOwnPropertyNames(Z).forEach(async Ne=>{if(Ne==="pathData")t(5,p=Z.pathData);else if(Ne==="context")M=Z.context;else if(Ne==="children")t(0,r=Z.children);else if(Ne==="selectedNode")t(7,C=Z.selectedNode);else if(Ne==="hasCategoriesWithIcon")t(10,T=Z.hasCategoriesWithIcon);else if(Ne==="navParent"){t(12,I=void 0);let nt=Z.navParent;if(t(42,B=nt),nt&&nt.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let ht=nt.navHeader,Tt=nt;if(ht==="inherit"){for(Tt=nt.parent;Tt&&Tt.navHeader==="inherit";)Tt=Tt.parent;ht=Tt?Tt.navHeader:void 0}if(ht instanceof Function){t(12,I={});let Zt=ht(oe.stripNode(nt),oe.stripNode(Tt),M);Zt instanceof Promise?Zt.then(gn=>{t(12,I=gn)}):t(12,I=Zt)}else if(ht==="auto")t(12,I={label:nt.label,icon:nt.icon});else if(ht&&ht.useTitleResolver&&Tt.titleResolver){Tt.titleResolver.prerenderFallback?t(12,I={...ht,label:Tt.titleResolver.fallbackTitle||"",icon:Tt.titleResolver.fallbackIcon}):t(12,I=ht);const Zt=we.mapPathToNode(lt.getCurrentPath(),Tt);Ot.extractDataFromPath(Zt).then(gn=>{const jn=we.substituteDynamicParamsInObject(Object.assign({},gn.pathData.context,Tt.context),gn.pathData.pathParams);oe.fetchNodeTitleData(Tt,jn).then(On=>{t(12,I={...ht,...On})}).catch(On=>{console.error("Error while retrieving title, fallback to node label"),t(12,I={...ht,label:nt.label,icon:nt.icon})})})}else t(12,I=await te(ht,Tt))}}}),t(41,E=oe.getSideNavAccordionMode(C)))}},a=Jt();let{children:r}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:h}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=oe.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:E}=e,{burgerTooltip:V}=e,{navHeader:I}=e,{navParentNode:B}=e,M,D,q,X=vt("store"),Q=vt("getTranslation");wi(i,Q,Z=>t(25,n=Z));let ce=!1,x=re.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),K;const J=Z=>oe.getNodeLabel(Z),j=async()=>{const Z=l.get(),Ne=await Ot.getLeftNavData({...Z},Z);Ne&&(l.set(Ne),D=p,window.LEFTNAVDATA=Ne.children)};xt(()=>{t(3,d=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,h=re.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,ce=re.getConfigValue("navigation.addNavHrefs")),t(1,o=re.getConfigBooleanValue("settings.hideNavigation")),t(22,q=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=oe.loadExpandedCategories()),dn.doOnStoreChange(X,()=>{t(2,c=re.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),dn.doOnStoreChange(X,()=>{j()},["navigation.viewgroupdata"]);let Z=_i.initial();t(6,v=Z.isSemiCollapsed),t(40,g=Z.semiCollapsible),_i.onValueChanged(Ne=>{t(6,v=Ne.isSemiCollapsed)}),Mn.addEventListener("message",Ne=>{Ne.data.msg==="luigi.navigation.update-badge-counters"&&j()})});const _e=()=>{if(K){const Z=K.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Ne=K.querySelector(".fd-navigation__list"),nt=K.querySelector(".fd-navigation__list > .lui-spacer");Z==null||Z.forEach(ht=>{Ne.insertBefore(ht,nt)}),K.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ie=()=>{const Z=K.querySelector(".fd-navigation__list > .lui-spacer"),Ne=K.querySelector(".lui-moreItems"),nt=K.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(Z.clientHeight===0&&nt.length>1){K.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let ht=nt.length-1;ht>0&&(lastNode=nt[ht-1],Ne.insertBefore(nt[ht],Ne.firstChild),!(Z.clientHeight>0));ht--);}};ja(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let Z;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Ne,nt)=>{Z&&clearTimeout(Z),v&&(Z=setTimeout(()=>{_e(),ie()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),K&&v?window.Luigi.__btpNavTopCntRszObs.observe(K):_e()}),Gn(()=>{(!D||D!=p)&&j(),t(22,q=re.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=oe.loadExpandedCategories()),t(3,d=re.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:se}=e;function ve(Z){return oe.renderIconClassName(Z)}function ae(Z){return oe.isOpenUIiconName(Z)}function Re(Z){return we.getNodeHref(Z,b)}function We(Z,Ne){return Z&&Z.testId?Z.testId:oe.prepareForTests(Ne||Z.label)}async function te(Z,Ne){const nt=we.mapPathToNode(lt.getCurrentPath(),Ne),Tt=(await Ot.extractDataFromPath(nt)).pathData.pathParams;return we.substituteDynamicParamsInObject(Z,Tt)}function de(Z,Ne){return oe.generateTooltipText(Z,Ne)}function Te(Z){a("handleClick",{node:Z})}function tt(Z,Ne){if(wt(),_i.getCollapsed()){let nt,ht=document.getElementsByClassName("fd-app__sidebar")[0];if(Z.metaInfo&&Z.metaInfo.label?nt=Z.metaInfo.label:nt=Z.category&&Z.category.label||Z.category,ht&&!ht.classList.contains("isBlocked")&&(ht.className+=" isBlocked"),nt===y){t(8,y=_i.closePopupMenu(y));return}t(8,y=nt),ht?ze(Ne):x&&Vo(Ne)}}function ze(Z){const Ne=Z.closest(".fd-nested-list__item"),nt=Ne.offsetTop,ht=Bi.getShellbar().offsetHeight;let Tt;Bi.isCustomLuigiContainer()?Tt=Bi.getCustomLuigiContainer().clientHeight:Tt=window.innerHeight,setTimeout(()=>{const Zt=Ne.getElementsByClassName("lui-flyout-sublist")[0],gn=Z.closest(".lui-fd-side-nav-wrapper").scrollTop,jn=nt+ht-gn,On=Tt-nt-Ne.offsetHeight+gn-ht;jn+Zt.offsetHeight>=Tt?(Zt.style.bottom=On+"px",Zt.className+=" has-bottom-position"):Zt.style.top=jn-ht+"px"})}function at(){if(g){let Z=_i.onResize(y);t(6,v=Z.isSemiCollapsed),t(8,y=Z.selectedCategory)}}function Ct(Z){if(Z.code==="ArrowRight"){const nt=Ee.getCurrentMicrofrontendIframe();nt&&nt.contentWindow&&nt.contentWindow.focus()}}function pe(Z){let Ne=B?B.parent:void 0;for(;Ne;){if(Ne.pathSegment&&Ne.pathSegment.trim().indexOf(":")!==0){a("handleClick",{node:Ne});return}Ne=Ne.parent}console.warn('Could not resolve "up"-node, redirecting to root'),ep.navigate("/")}function $e(Z,Ne){_i.getCollapsed()||t(9,P=oe.storeExpandedState(Z.metaInfo.categoryUid,Ne,E))}function wt(){K&&K.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function qt(){t(8,y=_i.closePopupMenu(y)),wt()}function Nn(Z){Z&&Z.code==="Escape"&&qt()}function Ft(){t(6,v=_i.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&a("resizeTabNav",{}),Mt()}function Pe(Z){const Ne=Z.code;(Ne==="Enter"||Ne==="Space")&&Ft()}function dt(Z,Ne){(Z.code==="Enter"||Z==="Space")&&tt(Ne,Z.currentTarget)}function rt(Z,Ne){Z.keyCode===vi&&oe.handleNavAnchorClickedWithoutMetaKey(Z)&&Te(Ne)}function Mt(){if(!oe.getBurgerTooltipConfig())return;const[Z,Ne]=oe.getBurgerTooltipConfig(),nt=document.body.classList.contains("lui-semiCollapsible");Z&&Ne&&nt&&t(11,V=document.body.classList.contains("semiCollapsed")?Z:Ne)}function zt(Z,Ne){return un(Z,Ne)?Z.metaInfo.titleCollapseButton?n(Z.metaInfo.titleCollapseButton):void 0:Z.metaInfo.titleExpandButton?n(Z.metaInfo.titleExpandButton):void 0}const wn=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},ni=(Z,Ne)=>rt(Ne,Z),en=Z=>$e(Z,!un(Z,P)),kn=(Z,Ne)=>tt(Z,Ne.currentTarget),Kn=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},Yt=(Z,Ne)=>rt(Ne,Z),Tn=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},ki=(Z,Ne)=>rt(Ne,Z),Si=Z=>{const Ne=Z.target.parentElement;Ne.getAttribute("aria-expanded")==="true"?Ne.setAttribute("aria-expanded","false"):(qt(),Ne.setAttribute("aria-expanded","true")),Z.stopPropagation()};function hn(Z){Je[Z?"unshift":"push"](()=>{K=Z,t(24,K)})}const Ci=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},yi=(Z,Ne)=>rt(Ne,Z),Pi=Z=>$e(Z,!un(Z,P)),Ni=Z=>$e(Z,!un(Z,P)),Ti=(Z,Ne)=>dt(Ne,Z),_l=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},pl=(Z,Ne)=>rt(Ne,Z),ml=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},Ii=(Z,Ne)=>rt(Ne,Z),Wi=Z=>tt(Z,event.currentTarget),qi=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},fi=(Z,Ne)=>rt(Ne,Z),bl=Z=>Ft(),vl=Z=>Ft(),Gi=Z=>Pe(Z);return i.$$set=Z=>{"children"in Z&&t(0,r=Z.children),"hideNavComponent"in Z&&t(1,o=Z.hideNavComponent),"footerText"in Z&&t(2,c=Z.footerText),"semiCollapsible"in Z&&t(40,g=Z.semiCollapsible),"semiCollapsibleButton"in Z&&t(3,d=Z.semiCollapsibleButton),"semiCollapsibleButtonStyle"in Z&&t(4,h=Z.semiCollapsibleButtonStyle),"pathData"in Z&&t(5,p=Z.pathData),"pathParams"in Z&&t(43,b=Z.pathParams),"virtualGroupPrefix"in Z&&t(14,m=Z.virtualGroupPrefix),"isSemiCollapsed"in Z&&t(6,v=Z.isSemiCollapsed),"selectedNode"in Z&&t(7,C=Z.selectedNode),"selectedCategory"in Z&&t(8,y=Z.selectedCategory),"expandedCategories"in Z&&t(9,P=Z.expandedCategories),"hasCategoriesWithIcon"in Z&&t(10,T=Z.hasCategoriesWithIcon),"sideNavAccordionMode"in Z&&t(41,E=Z.sideNavAccordionMode),"burgerTooltip"in Z&&t(11,V=Z.burgerTooltip),"navHeader"in Z&&t(12,I=Z.navHeader),"navParentNode"in Z&&t(42,B=Z.navParentNode),"sortedChildrenEntries"in Z&&t(13,se=Z.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&r){const Z=Object.entries(r);Z.sort((Ne,nt)=>Ne[1].metaInfo.order-nt[1].metaInfo.order),t(13,se=Z)}},[r,o,c,d,h,p,v,C,y,P,T,V,I,se,m,Te,tt,at,Ct,pe,$e,qt,q,ce,K,n,Q,x,J,ve,ae,Re,We,de,Nn,Ft,Pe,dt,rt,zt,g,E,B,b,ze,Vo,wn,ni,en,kn,Kn,Yt,Tn,ki,Si,hn,Ci,yi,Pi,Ni,Ti,_l,pl,ml,Ii,Wi,qi,fi,bl,vl,Gi]}class ap extends Vt{constructor(e){super(),Dt(this,e,yS,kS,At,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:40,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:43,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:41,burgerTooltip:11,navHeader:12,navParentNode:42,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:44,calculateBTPNavFlyoutPosition:45,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[44]}get calculateBTPNavFlyoutPosition(){return Vo}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const PS=i=>{dn.doOnStoreChange(i.store,()=>{const e=re.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),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}),re.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),rp(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){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const a=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const o of r.childNodes)o.rel==="shortcut icon"&&o.remove();r.appendChild(a)}})},["settings.header"])},NS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),rp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,h)=>{g&&(h+1>=t.length||!t[h+1].pathSegment||!NS(d,t[h+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const a=l&&l.title?l.title:i.get().defaultTitle,r=Ya.getDocumentTitle()||a;i.set({title:a}),document.title=St.getTranslation(r);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Rd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Dd(i,e,t){const n=i.slice();return n[45]=e[t],n}function TS(i){let e,t,n,l,a=i[1]&&Vd(i);return{c(){e=S("span"),a&&a.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(r,o){A(r,e,o),a&&a.m(e,null),n||(l=ne(e,"click",i[31]),n=!0)},p(r,o){r[1]?a?a.p(r,o):(a=Vd(r),a.c(),a.m(e,null)):a&&(a.d(1),a=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(r[1]?"":"fd-shellbar__logo--image-replaced")+" "+(r[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",r[2])},d(r){r&&L(e),a&&a.d(),n=!1,l()}}}function IS(i){let e,t,n,l,a=i[1]&&Md(i);return{c(){e=S("a"),a&&a.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(r,o){A(r,e,o),a&&a.m(e,null),n||(l=ne(e,"click",i[29]),n=!0)},p(r,o){r[1]?a?a.p(r,o):(a=Md(r),a.c(),a.m(e,null)):a&&(a.d(1),a=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(r[1]?"":"fd-shellbar__logo--image-replaced")+" "+(r[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",r[2])},d(r){r&&L(e),a&&a.d(),n=!1,l()}}}function Vd(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 Md(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 Od(i){let e,t,n,l=(!i[3]||i[4])&&Fd(i),a=i[3]&&Ud(i),r=i[12]&&i[5]&&Yd(i);return{c(){l&&l.c(),e=H(),a&&a.c(),t=H(),r&&r.c(),n=Ce()},m(o,c){l&&l.m(o,c),A(o,e,c),a&&a.m(o,c),A(o,t,c),r&&r.m(o,c),A(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Fd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?a?a.p(o,c):(a=Ud(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null),o[12]&&o[5]?r?r.p(o,c):(r=Yd(o),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(o){l&&l.d(o),o&&L(e),a&&a.d(o),o&&L(t),r&&r.d(o),o&&L(n)}}}function Fd(i){let e;function t(a,r){return a[14]?AS:LS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(a,r){l.m(a,r),A(a,e,r)},p(a,r){n===(n=t(a))&&l?l.p(a,r):(l.d(1),l=n(a),l&&(l.c(),l.m(e.parentNode,e)))},d(a){l.d(a),a&&L(e)}}}function LS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,a,r;return{c(){e=S("span"),t=S("span"),l=Le(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),a||(r=ne(e,"click",i[33]),a=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Ae(l,n)},d(o){o&&L(e),a=!1,r()}}}function AS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,a,r,o;return{c(){e=S("a"),t=S("span"),l=Le(n),f(e,"class",a="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,g){A(c,e,g),w(e,t),w(t,l),r||(o=ne(e,"click",i[32]),r=!0)},p(c,g){g[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Ae(l,n),g[0]&8&&a!==(a="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",a)},d(c){c&&L(e),r=!1,o()}}}function Ud(i){let e,t,n,l,a,r,o,c,g,d,h;function p(y,P){return y[14]?RS:ES}let b=p(i),m=b(i),v=i[6]&&i[7]&&Gd(i),C=i[9]&&i[9].length>0&&Kd(i);return{c(){e=S("div"),t=S("div"),m.c(),n=H(),l=S("div"),a=S("nav"),r=S("ul"),v&&v.c(),o=H(),C&&C.c(),f(t,"class","fd-popover__control"),f(r,"class","fd-menu__list fd-menu__list--no-shadow"),f(a,"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",g="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,a),w(a,r),v&&v.m(r,null),w(r,o),C&&C.m(r,null),i[38](r),d||(h=ne(t,"click",Ut(OS)),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=Gd(y),v.c(),v.m(r,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=Kd(y),C.c(),C.m(r,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&g!==(g="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",g)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,h()}}}function ES(i){let e,t,n=i[19](i[2])+"",l,a,r,o,c,g;return{c(){e=S("button"),t=S("span"),l=Le(n),a=H(),r=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(r,"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,h){A(d,e,h),w(e,t),w(t,l),w(e,a),w(e,r),c||(g=ne(e,"click",Ut(i[36])),c=!0)},p(d,h){h[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),h[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,g()}}}function RS(i){let e,t,n,l=i[9]&&i[9].length===1&&zd(i),a=i[9]&&i[9].length>1&&Bd(i),r=i[9].length>1&&!i[7]&&qd(i);return{c(){l&&l.c(),e=H(),a&&a.c(),t=H(),r&&r.c(),n=Ce()},m(o,c){l&&l.m(o,c),A(o,e,c),a&&a.m(o,c),A(o,t,c),r&&r.m(o,c),A(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=zd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?a?a.p(o,c):(a=Bd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null),o[9].length>1&&!o[7]?r?r.p(o,c):(r=qd(o),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(o){l&&l.d(o),o&&L(e),a&&a.d(o),o&&L(t),r&&r.d(o),o&&L(n)}}}function zd(i){let e,t,n=i[19](i[9][0].title)+"",l,a;return{c(){e=S("a"),t=S("span"),l=Le(n),f(e,"href",a=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(r,o){A(r,e,o),w(e,t),w(t,l)},p(r,o){o[0]&524800&&n!==(n=r[19](r[9][0].title)+"")&&Ae(l,n),o[0]&512&&a!==(a=r[24](r[9][0]))&&f(e,"href",a)},d(r){r&&L(e)}}}function Bd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wd(Dd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,a){for(let r=0;r<n.length;r+=1)n[r].m(l,a);A(l,e,a)},p(l,a){if(a[0]&25832068){t=l[9];let r;for(r=0;r<t.length;r+=1){const o=Dd(l,t,r);n[r]?n[r].p(o,a):(n[r]=Wd(o),n[r].c(),n[r].m(e.parentNode,e))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function Hd(i){let e,t,n=i[19](i[2])+"",l,a,r,o,c,g,d,h;return{c(){e=S("a"),t=S("span"),l=Le(n),a=H(),r=S("i"),o=H(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(r,"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",g=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,a),w(e,r),w(e,o),d||(h=ne(e,"click",Pt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Ae(l,n),b[0]&512&&c!==(c=p[24](p[45]))&&f(e,"href",c),b[0]&8192&&g!==(g=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&L(e),d=!1,h()}}}function Wd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Hd(i);return{c(){n&&n.c(),t=Ce()},m(l,a){n&&n.m(l,a),A(l,t,a)},p(l,a){a[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,a):(n=Hd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function qd(i){let e,t,n=i[19](i[2])+"",l,a,r,o,c,g;return{c(){e=S("a"),t=S("span"),l=Le(n),a=H(),r=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(r,"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,h){A(d,e,h),w(e,t),w(t,l),w(e,a),w(e,r),c||(g=ne(e,"click",Pt(i[35])),c=!0)},p(d,h){h[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),h[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,g()}}}function Gd(i){let e,t,n,l=i[19](i[8])+"",a,r,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",r=i[22](i[8])),f(e,"class","fd-menu__item")},m(g,d){A(g,e,d),w(e,t),w(t,n),w(n,a),o||(c=ne(t,"click",Pt(i[16])),o=!0)},p(g,d){d[0]&524544&&l!==(l=g[19](g[8])+"")&&Ae(a,l),d[0]&256&&r!==(r=g[22](g[8]))&&f(t,"data-testid",r)},d(g){g&&L(e),o=!1,c()}}}function Kd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jd(Rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,a){for(let r=0;r<n.length;r+=1)n[r].m(l,a);A(l,e,a)},p(l,a){if(a[0]&32296576){t=l[9];let r;for(r=0;r<t.length;r+=1){const o=Rd(l,t,r);n[r]?n[r].p(o,a):(n[r]=Jd(o),n[r].c(),n[r].m(e.parentNode,e))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function DS(i){let e,t,n,l=i[19](i[45].title)+"",a,r,o,c,g,d;function h(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),c=H(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",r=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,a),w(e,c),g||(d=ne(t,"click",h),g=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Ae(a,l),b[0]&18944&&r!==(r=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",r),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&L(e),g=!1,d()}}}function VS(i){let e,t=i[18]&&jd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=jd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function jd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new ha(!1),l=H(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(a,r){A(a,e,r),t.m(n,e),w(e,l)},p(a,r){r[0]&262656&&n!==(n=a[21](a[45],a[18],a[47])+"")&&t.p(n)},d(a){a&&L(e)}}}function Jd(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 VS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return DS}let a=l(i,[-1,-1]),r=a&&a(i);return{c(){r&&r.c(),n=Ce()},m(o,c){r&&r.m(o,c),A(o,n,c)},p(o,c){a===(a=l(o,c))&&r?r.p(o,c):(r&&r.d(1),r=a&&a(o),r&&(r.c(),r.m(n.parentNode,n)))},d(o){r&&r.d(o),o&&L(n)}}}function Yd(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,a){A(l,e,a),w(e,n)},p(l,a){a[0]&528384&&t!==(t=l[19](l[12])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function MS(i){let e,t;function n(o,c){return o[14]?IS:TS}let l=n(i),a=l(i),r=i[2]&&Od(i);return{c(){a.c(),e=H(),r&&r.c(),t=Ce()},m(o,c){a.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c)},p(o,c){l===(l=n(o))&&a?a.p(o,c):(a.d(1),a=l(o),a&&(a.c(),a.m(e.parentNode,e))),o[2]?r?r.p(o,c):(r=Od(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:He,o:He,d(o){a.d(o),o&&L(e),r&&r.d(o),o&&L(t)}}}const OS=()=>{};function FS(i,e,t){let n;const l=Jt();let{logo:a}=e,{hasLogo:r}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:g}=e,{showSubTitle:d=!0}=e,{dropDownStates:h={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:T}=e,{pathData:E}=e,{addNavHrefForAnchor:V}=e,I,B,M=vt("getUnsavedChangesModalPromise"),D=vt("getTranslation");wi(i,D,pe=>t(19,n=pe));let q=vt("store");const X={closeDropDown:()=>{j("appSwitcherPopover")}},Q=()=>({get:()=>({pathData:E,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:T,showMainAppEntry:p,hasApps:c,keepMainTitle:g,showSubTitle:d,hasLogo:r,logo:a}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach($e=>{$e==="pathData"?t(26,E=pe.pathData):$e==="appSwitcherItems"?t(9,v=pe.appSwitcherItems):$e==="itemRenderer"?t(10,C=pe.itemRenderer):$e==="pathParams"?t(11,y=pe.pathParams):$e==="selectedItem"?t(7,b=pe.selectedItem):$e==="title"?t(2,o=pe.title):$e==="defaultSubTitle"?t(25,T=pe.defaultSubTitle):$e==="subTitle"?t(12,P=pe.subTitle):$e==="defaultTitle"?t(8,m=pe.defaultTitle):$e==="subTitle"?t(12,P=pe.subTitle):$e==="showMainAppEntry"?t(6,p=pe.showMainAppEntry):$e==="hasApps"?t(3,c=pe.hasApps):$e==="keepMainTitle"?t(4,g=pe.keepMainTitle):$e==="showSubTitle"?t(5,d=pe.showSubTitle):$e==="hasLogo"&&t(1,r=pe.hasLogo)})},store:q});xt(()=>{PS(Q())}),Gn(()=>{(!B||B!=E)&&(rp(Q()),B=E)});function ce(pe,$e,wt){return setTimeout(()=>{$e&&C(pe,$e.children[wt],X)}),""}function x(pe){M().then(()=>{lt.navigateTo(we.applyPathParams(pe,y))},()=>{})}function K(){M().then(()=>{lt.navigateTo("/")},()=>{})}function J(pe){l("handleClick",{node:pe}),j("appSwitcherPopover")}function j(pe){l("toggleDropdownState",{name:pe})}function _e(pe){return pe.testId?pe.testId:oe.prepareForTests(pe.title||pe)}function ie(pe,$e){if(pe.link){const wt=we.applyPathParams(pe.link,$e);if(wt.indexOf(":")!==0&&wt.indexOf("/:")===-1)return!0}return!1}function se(pe){return we.getNodeHref(pe)}function ve(pe){Je[pe?"unshift":"push"](()=>{a=pe,t(0,a)})}const ae=pe=>{oe.handleNavAnchorClickedWithoutMetaKey(pe)&&x("/")};function Re(pe){Je[pe?"unshift":"push"](()=>{a=pe,t(0,a)})}const We=()=>x("/"),te=pe=>{oe.handleNavAnchorClickedWithoutMetaKey(pe)&&x("/")},de=()=>x("/"),Te=()=>j("appSwitcherPopover"),tt=()=>j("appSwitcherPopover"),ze=()=>j("appSwitcherPopover"),at=(pe,$e)=>{oe.handleNavAnchorClickedWithoutMetaKey($e)&&x(pe.link)};function Ct(pe){Je[pe?"unshift":"push"](()=>{I=pe,t(18,I)})}return i.$$set=pe=>{"logo"in pe&&t(0,a=pe.logo),"hasLogo"in pe&&t(1,r=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"keepMainTitle"in pe&&t(4,g=pe.keepMainTitle),"showSubTitle"in pe&&t(5,d=pe.showSubTitle),"dropDownStates"in pe&&t(13,h=pe.dropDownStates),"showMainAppEntry"in pe&&t(6,p=pe.showMainAppEntry),"selectedItem"in pe&&t(7,b=pe.selectedItem),"defaultTitle"in pe&&t(8,m=pe.defaultTitle),"appSwitcherItems"in pe&&t(9,v=pe.appSwitcherItems),"itemRenderer"in pe&&t(10,C=pe.itemRenderer),"pathParams"in pe&&t(11,y=pe.pathParams),"subTitle"in pe&&t(12,P=pe.subTitle),"defaultSubTitle"in pe&&t(25,T=pe.defaultSubTitle),"pathData"in pe&&t(26,E=pe.pathData),"addNavHrefForAnchor"in pe&&t(14,V=pe.addNavHrefForAnchor)},[a,r,o,c,g,d,p,b,m,v,C,y,P,h,V,x,K,j,I,n,D,ce,_e,ie,se,T,E,J,ve,ae,Re,We,te,de,Te,tt,ze,at,Ct]}class US extends Vt{constructor(e){super(),Dt(this,e,FS,MS,At,{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 Qd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Zd(i){let e,t,n,l,a,r,o=i[0]&&Xd(i),c=(i[10]||i[11])&&lh(i);return{c(){e=S("div"),o&&o.c(),t=H(),n=S("div"),l=S("div"),a=S("div"),r=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(r,"class","fd-bar__element"),f(a,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,d){A(g,e,d),o&&o.m(e,null),A(g,t,d),A(g,n,d),w(n,l),w(l,a),w(a,r),c&&c.m(r,null)},p(g,d){g[0]?o?o.p(g,d):(o=Xd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,d):(c=lh(g),c.c(),c.m(r,null)):c&&(c.d(1),c=null)},d(g){g&&L(e),o&&o.d(),g&&L(t),g&&L(n),c&&c.d()}}}function Xd(i){let e,t,n,l,a,r,o;function c(C,y){return C[7].picture?BS:zS}let g=c(i),d=g(i),h=i[7].name&&$d(i),p=i[7].description&&xd(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=th(Qd(i,b,C));let v=i[12]&&nh(i);return{c(){e=S("div"),d.c(),t=H(),n=S("div"),h&&h.c(),l=H(),p&&p.c(),a=H(),r=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=H(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(r,"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),h&&h.m(n,null),w(n,l),p&&p.m(n,null),A(C,a,y),A(C,r,y);for(let P=0;P<m.length;P+=1)m[P].m(r,null);w(r,o),v&&v.m(r,null)},p(C,y){if(g===(g=c(C))&&d?d.p(C,y):(d.d(1),d=g(C),d&&(d.c(),d.m(e,null))),C[7].name?h?h.p(C,y):(h=$d(C),h.c(),h.m(n,l)):h&&(h.d(1),h=null),C[7].description?p?p.p(C,y):(p=xd(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const T=Qd(C,b,P);m[P]?m[P].p(T,y):(m[P]=th(T),m[P].c(),m[P].m(r,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=nh(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null)},d(C){C&&L(e),d.d(),C&&L(t),C&&L(n),h&&h.d(),p&&p.d(),C&&L(a),C&&L(r),ct(m,C),v&&v.d()}}}function zS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Le(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,a){A(l,e,a),w(e,n)},p(l,a){a[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Ae(n,t)},d(l){l&&L(e)}}}function BS(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"),Vn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&Vn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function $d(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Le(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,a){A(l,e,a),w(e,n)},p(l,a){a[0]&128&&t!==(t=l[7].name+"")&&Ae(n,t)},d(l){l&&L(e)}}}function xd(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,a){A(l,e,a),w(e,n)},p(l,a){a[0]&128&&t!==(t=l[7].description+"")&&Ae(n,t)},d(l){l&&L(e)}}}function eh(i){let e,t;function n(r,o){return o[0]&512&&(e=null),e==null&&(e=!!r[17](r[34])),e?WS:HS}let l=n(i,[-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function HS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Vn(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&&Vn(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 WS(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 th(i){let e,t,n,l,a=i[13](i[34].label)+"",r,o,c,g,d,h=i[34].icon&&eh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),n=H(),l=S("span"),r=Le(a),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),h&&h.m(t,null),w(t,n),w(t,l),w(l,r),g||(d=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?h?h.p(i,m):(h=eh(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&8704&&a!==(a=i[13](i[34].label)+"")&&Ae(r,a),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),h&&h.d(),g=!1,Ze(d)}}}function nh(i){let e,t,n,l,a=i[13](i[9].settings.label)+"",r,o,c,g=i[9].settings.icon&&ih(i);return{c(){e=S("li"),t=S("a"),g&&g.c(),n=H(),l=S("span"),r=Le(a),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,h){A(d,e,h),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,r),o||(c=[ne(e,"click",Pt(i[5])),ne(e,"keyup",i[25])],o=!0)},p(d,h){d[9].settings.icon?g?g.p(d,h):(g=ih(d),g.c(),g.m(t,n)):g&&(g.d(1),g=null),h[0]&8704&&a!==(a=d[13](d[9].settings.label)+"")&&Ae(r,a)},d(d){d&&L(e),g&&g.d(),o=!1,Ze(c)}}}function ih(i){let e,t;function n(r,o){return o[0]&512&&(e=null),e==null&&(e=!!r[17](r[9].settings)),e?GS:qS}let l=n(i,[-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function qS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Xe(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,a){A(l,e,a)},p(l,a){a[0]&512&&!Xe(e.src,t=l[9].settings.icon)&&f(e,"src",t),a[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function GS(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 lh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&ah(i),l=i[10]&&!i[8]&&rh(i);return{c(){n&&n.c(),e=H(),l&&l.c(),t=Ce()},m(a,r){n&&n.m(a,r),A(a,e,r),l&&l.m(a,r),A(a,t,r)},p(a,r){a[8]||!a[10]&&a[11]?n?n.p(a,r):(n=ah(a),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),a[10]&&!a[8]?l?l.p(a,r):(l=rh(a),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(a){n&&n.d(a),a&&L(e),l&&l.d(a),a&&L(t)}}}function ah(i){let e,t,n=i[13](i[9].logout.label)+"",l,a,r,o;return{c(){e=S("div"),t=S("button"),l=Le(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",a=i[18](i[9].logout))},m(c,g){A(c,e,g),w(e,t),w(t,l),r||(o=ne(t,"click",i[4]),r=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ae(l,n),g[0]&512&&a!==(a=c[18](c[9].logout))&&f(e,"data-testid",a)},d(c){c&&L(e),r=!1,o()}}}function rh(i){let e,t,n,l,a;return{c(){e=S("button"),e.textContent="Login",t=H(),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(r,o){A(r,e,o),A(r,t,o),A(r,n,o),l||(a=[ne(e,"click",i[15]),ne(n,"click",i[15])],l=!0)},p:He,d(r){r&&L(e),r&&L(t),r&&L(n),l=!1,Ze(a)}}}function KS(i){let e,t=!i[1]&&Zd(i);return{c(){t&&t.c(),e=Ce()},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=Zd(n),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function jS(i,e,t){let n;const l=Jt();let{isHidden:a=!1}=e,{addNavHrefForAnchor:r}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,b,m,v=vt("store"),C=vt("getTranslation");wi(i,C,ie=>t(13,n=ie));let y=vt("getUnsavedChangesModalPromise"),P=vt("openViewInModal");xt(async()=>{pi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),M(),fn.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),fn.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function T(){fn.startAuthorization()}function E(ie){return oe.renderIconClassName(ie)}function V(ie){return oe.isOpenUIiconName(ie.icon)}function I(ie){return ie.testId?ie.testId:oe.prepareForTests(ie.label)}function B(ie){return we.getNodeHref(ie)}function M(){b||(dn.doOnStoreChange(v,async()=>{const ie=await re.getConfigValueAsync("navigation.profile.logout"),se=await re.getConfigValueAsync("userSettings"),ve=se||await re.getConfigValueAsync("settings.userSettings"),ae={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(ve){const Re=ve.userSettingsProfileMenuEntry;ae.settings={...dl.userSettingsProfileMenuEntry,...Re}}ae.logout={...dl.logout,...ie},t(11,h=!!ie),m=!1,fn.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,fn.setProfileLogoutFn(ie.customLogoutFn)),t(9,g=ae),t(12,p=!!ve)},["navigation.profile"]),b=!0)}async function D(){const ie=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(fn.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function q(ie){y().then(()=>{if(ie.openNodeInModal){const se=we.buildRoute(ie,`${ie.link}`);P(se,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else lt.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function X(){y().then(()=>{d?ce():h&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Ya.openUserSettings(),l("toggleDropdownState")}function ce(){fn.logout()}function x({keyCode:ie}){(ie===vi||ie===Ka)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:K}=e;const J=ie=>{oe.handleNavAnchorClickedWithoutMetaKey(ie)},j=ie=>q(ie),_e=ie=>x(ie);return i.$$set=ie=>{"isHidden"in ie&&t(1,a=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,r=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,K=ie.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,K=!!(o&&(o.name||o.email)))},[K,a,r,q,X,Q,x,o,c,g,d,h,p,n,C,T,E,V,I,B,M,D,ce,J,j,_e]}class JS extends Vt{constructor(e){super(),Dt(this,e,jS,KS,At,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function sh(i,e,t){const n=i.slice();return n[34]=e[t],n}function oh(i){let e,t,n,l,a,r=i[0]&&uh(i),o=i[9].items,c=[];for(let h=0;h<o.length;h+=1)c[h]=ch(sh(i,o,h));let g=i[12]&&dh(i),d=(i[10]||i[11])&&gh(i);return{c(){e=S("nav"),t=S("ul"),r&&r.c(),n=H();for(let h=0;h<c.length;h+=1)c[h].c();l=H(),g&&g.c(),a=H(),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(h,p){A(h,e,p),w(e,t),r&&r.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,a),d&&d.m(t,null)},p(h,p){if(h[0]?r?r.p(h,p):(r=uh(h),r.c(),r.m(t,n)):r&&(r.d(1),r=null),p[0]&991756){o=h[9].items;let b;for(b=0;b<o.length;b+=1){const m=sh(h,o,b);c[b]?c[b].p(m,p):(c[b]=ch(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}h[12]?g?g.p(h,p):(g=dh(h),g.c(),g.m(t,a)):g&&(g.d(1),g=null),h[10]||h[11]?d?d.p(h,p):(d=gh(h),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(h){h&&L(e),r&&r.d(),ct(c,h),g&&g.d(),d&&d.d()}}}function uh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Le(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(a,r){A(a,e,r),w(e,t),w(t,l)},p(a,r){r[0]&128&&n!==(n=(a[7].name?a[7].name:a[7].email)+"")&&Ae(l,n)},d(a){a&&L(e)}}}function fh(i){let e,t;function n(r,o){return o[0]&512&&(e=null),e==null&&(e=!!r[17](r[34])),e?QS:YS}let l=n(i,[-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function YS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Xe(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,a){A(l,e,a)},p(l,a){a[0]&512&&!Xe(e.src,t=l[34].icon)&&f(e,"src",t),a[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function QS(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 ch(i){let e,t,n,l,a=i[13](i[34].label)+"",r,o,c,g,d,h=i[34].icon&&fh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),n=H(),l=S("span"),r=Le(a),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),h&&h.m(t,null),w(t,n),w(t,l),w(l,r),g||(d=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?h?h.p(i,m):(h=fh(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&8704&&a!==(a=i[13](i[34].label)+"")&&Ae(r,a),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),h&&h.d(),g=!1,Ze(d)}}}function dh(i){let e,t,n,l,a=i[13](i[9].settings.label)+"",r,o,c,g,d=i[9].settings.icon&&hh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=H(),l=S("span"),r=Le(a),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(h,p){A(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,r),c||(g=[ne(e,"click",Pt(i[5])),ne(e,"keyup",i[25])],c=!0)},p(h,p){h[9].settings.icon?d?d.p(h,p):(d=hh(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&a!==(a=h[13](h[9].settings.label)+"")&&Ae(r,a),p[0]&512&&o!==(o=h[18](h[9].settings))&&f(e,"data-testid",o)},d(h){h&&L(e),d&&d.d(),c=!1,Ze(g)}}}function hh(i){let e,t;function n(r,o){return o[0]&512&&(e=null),e==null&&(e=!!r[17](r[9].settings)),e?XS:ZS}let l=n(i,[-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function ZS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Xe(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,a){A(l,e,a)},p(l,a){a[0]&512&&!Xe(e.src,t=l[9].settings.icon)&&f(e,"src",t),a[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,"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 gh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&_h(i),l=i[10]&&!i[8]&&mh(i);return{c(){n&&n.c(),e=H(),l&&l.c(),t=Ce()},m(a,r){n&&n.m(a,r),A(a,e,r),l&&l.m(a,r),A(a,t,r)},p(a,r){a[8]||!a[10]&&a[11]?n?n.p(a,r):(n=_h(a),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),a[10]&&!a[8]?l?l.p(a,r):(l=mh(a),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(a){n&&n.d(a),a&&L(e),l&&l.d(a),a&&L(t)}}}function _h(i){let e,t,n,l,a=i[13](i[9].logout.label)+"",r,o,c,g,d=i[9].logout.icon&&ph(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=H(),l=S("span"),r=Le(a),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(h,p){A(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,r),c||(g=ne(e,"click",i[4]),c=!0)},p(h,p){h[9].logout.icon?d?d.p(h,p):(d=ph(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&a!==(a=h[13](h[9].logout.label)+"")&&Ae(r,a),p[0]&512&&o!==(o=h[18](h[9].logout))&&f(e,"data-testid",o)},d(h){h&&L(e),d&&d.d(),c=!1,g()}}}function ph(i){let e,t;function n(r,o){return o[0]&512&&(e=null),e==null&&(e=!!r[17](r[9].logout)),e?xS:$S}let l=n(i,[-1,-1]),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function $S(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Xe(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,a){A(l,e,a)},p(l,a){a[0]&512&&!Xe(e.src,t=l[9].logout.icon)&&f(e,"src",t),a[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function xS(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 mh(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,a){A(l,e,a),t||(n=ne(e,"click",i[15]),t=!0)},p:He,d(l){l&&L(e),t=!1,n()}}}function eC(i){let e,t=!i[1]&&oh(i);return{c(){t&&t.c(),e=Ce()},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=oh(n),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function tC(i,e,t){let n;const l=Jt();let{isHidden:a=!1}=e,{addNavHrefForAnchor:r}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,b,m,v=vt("store"),C=vt("getTranslation");wi(i,C,ie=>t(13,n=ie));let y=vt("getUnsavedChangesModalPromise"),P=vt("openViewInModal");xt(async()=>{pi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),M(),fn.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),fn.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function T(){fn.startAuthorization()}function E(ie){return oe.renderIconClassName(ie)}function V(ie){return oe.isOpenUIiconName(ie.icon)}function I(ie){return ie.testId?ie.testId:oe.prepareForTests(ie.label)}function B(ie){return we.getNodeHref(ie)}function M(){b||(dn.doOnStoreChange(v,async()=>{const ie=await re.getConfigValueAsync("navigation.profile.logout"),se=await re.getConfigValueAsync("userSettings"),ve=se||await re.getConfigValueAsync("settings.userSettings");t(12,p=!!ve);const ae={items:await re.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Re=ve.userSettingsProfileMenuEntry;ae.settings={...dl.userSettingsProfileMenuEntry,...Re}}ae.logout={...dl.logout,...ie},t(11,h=!!ie),m=!1,fn.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,fn.setProfileLogoutFn(ie.customLogoutFn)),t(9,g=ae)},["navigation.profile"]),b=!0)}async function D(){const ie=await re.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(fn.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function q(ie){y().then(()=>{if(ie.openNodeInModal){const se=we.buildRoute(ie,`${ie.link}`);P(se,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else lt.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function X(){y().then(()=>{d?ce():h&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Ya.openUserSettings(),l("toggleDropdownState")}function ce(){fn.logout()}function x({keyCode:ie}){(ie===vi||ie===Ka)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:K}=e;const J=ie=>{oe.handleNavAnchorClickedWithoutMetaKey(ie)},j=ie=>q(ie),_e=ie=>x(ie);return i.$$set=ie=>{"isHidden"in ie&&t(1,a=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,r=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,K=ie.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,K=!!(o&&(o.name||o.email)))},[K,a,r,q,X,Q,x,o,c,g,d,h,p,n,C,T,E,V,I,B,M,D,ce,J,j,_e]}class sp extends Vt{constructor(e){super(),Dt(this,e,tC,eC,At,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function bh(i,e,t){const n=i.slice();return n[11]=e[t],n}function vh(i){let e,t,n=i[1],l=[];for(let r=0;r<n.length;r+=1)l[r]=Sh(bh(i,n,r));const a=r=>U(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r<l.length;r+=1)l[r].c();e=Ce()},m(r,o){for(let c=0;c<l.length;c+=1)l[c].m(r,o);A(r,e,o),t=!0},p(r,o){if(o&254){n=r[1];let c;for(c=0;c<n.length;c+=1){const g=bh(r,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Sh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)a(c);Se()}},i(r){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(r){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(r){ct(l,r),r&&L(e)}}}function wh(i){let e,t,n,l,a,r,o,c,g=i[3](i[11])+"",d,h,p=i[4](i[11]),b,m,v,C,y,P;function T(M,D){return D&6&&(n=null),n==null&&(n=!!M[2](M[11])),n?iC:nC}let E=T(i,-1),V=E(i);a=new Pn({props:{node:i[11]}});let I=p&&kh(i);function B(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=H(),Ue(a.$$.fragment),r=H(),o=S("div"),c=S("div"),d=Le(g),h=H(),I&&I.c(),b=H(),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=oe.getTestId(i[11]))},m(M,D){A(M,e,D),w(e,t),V.m(t,null),w(t,l),Oe(a,t,null),w(e,r),w(e,o),w(o,c),w(c,d),w(o,h),I&&I.m(o,null),w(e,b),C=!0,y||(P=ne(e,"click",B),y=!0)},p(M,D){i=M,E===(E=T(i,D))&&V?V.p(i,D):(V.d(1),V=E(i),V&&(V.c(),V.m(t,l)));const q={};D&2&&(q.node=i[11]),a.$set(q),(!C||D&10)&&g!==(g=i[3](i[11])+"")&&Ae(d,g),D&18&&(p=i[4](i[11])),p?I?I.p(i,D):(I=kh(i),I.c(),I.m(o,null)):I&&(I.d(1),I=null),(!C||D&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||D&2&&v!==(v=oe.getTestId(i[11])))&&f(e,"data-testid",v)},i(M){C||(R(a.$$.fragment,M),C=!0)},o(M){U(a.$$.fragment,M),C=!1},d(M){M&&L(e),V.d(),Fe(a),I&&I.d(),y=!1,P()}}}function nC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,a){A(l,e,a)},p(l,a){a&2&&!Xe(e.src,t=l[11].icon)&&f(e,"src",t),a&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function iC(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 kh(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-product-switch__subtitle")},m(l,a){A(l,e,a),w(e,n)},p(l,a){a&18&&t!==(t=l[4](l[11])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function Sh(i){let e,t,n=i[11].label&&wh(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[11].label?n?(n.p(l,a),a&2&&R(n,1)):(n=wh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function lC(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v,C,y,P,T,E=i[1]&&vh(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),a=S("div"),r=S("h2"),o=Le(i[0]),c=H(),g=S("div"),d=S("div"),h=S("ul"),E&&E.c(),p=H(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(r,"class","fd-title fd-title--h5"),f(r,"id","dialog-title-4"),f(a,"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-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(g,"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,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,a),w(a,r),w(r,o),w(t,c),w(t,g),w(g,d),w(d,h),E&&E.m(h,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(T=[ne(C,"click",i[8]),ne(e,"click",Ut(aC))],P=!0)},p(V,[I]){(!y||I&1)&&Ae(o,V[0]),V[1]?E?(E.p(V,I),I&2&&R(E,1)):(E=vh(V),E.c(),R(E,1),E.m(h,null)):E&&(ke(),U(E,1,1,()=>{E=null}),Se())},i(V){y||(R(E),y=!0)},o(V){U(E),y=!1},d(V){V&&L(e),E&&E.d(),P=!1,Ze(T)}}}const aC=()=>{};function rC(i,e,t){const n=Jt();let{label:l}=e,{nodes:a}=e,{hasOpenUIicon:r}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:g}=e;function d(m){return oe.renderIconClassName(m)}function h(m){n("listClick",m)}function p(m){Dl.call(this,i,m)}const b=m=>h(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,a=m.nodes),"hasOpenUIicon"in m&&t(2,r=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,g=m.noSubTitle)},[l,a,r,o,c,g,h,d,p,b]}class op extends Vt{constructor(e){super(),Dt(this,e,rC,lC,At,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:sC}=gl;function Ch(i,e,t){const n=i.slice();return n[7]=e[t],n}function yh(i){let e,t,n,l=i[0]&&Ph(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(a,r){A(a,e,r),w(e,t),l&&l.m(t,null),n=!0},p(a,r){a[0]?l?(l.p(a,r),r&1&&R(l,1)):(l=Ph(a),l.c(),R(l,1),l.m(t,null)):l&&(ke(),U(l,1,1,()=>{l=null}),Se())},i(a){n||(R(l),n=!0)},o(a){U(l),n=!1},d(a){a&&L(e),l&&l.d()}}}function Ph(i){let e,t,n=i[0],l=[];for(let r=0;r<n.length;r+=1)l[r]=Th(Ch(i,n,r));const a=r=>U(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r<l.length;r+=1)l[r].c();e=Ce()},m(r,o){for(let c=0;c<l.length;c+=1)l[c].m(r,o);A(r,e,o),t=!0},p(r,o){if(o&7693){n=r[0];let c;for(c=0;c<n.length;c+=1){const g=Ch(r,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Th(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)a(c);Se()}},i(r){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(r){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(r){ct(l,r),r&&L(e)}}}function Nh(i){let e,t,n,l,a,r,o,c,g=i[11](i[7])+"",d,h,p,b,m,v,C;function y(V,I){return I&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?uC:oC}let P=y(i,-1),T=P(i);r=new Pn({props:{node:i[7]}});function E(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),T.c(),a=H(),Ue(r.$$.fragment),o=H(),c=S("span"),d=Le(g),p=H(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",h=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=oe.getTestId(i[7]))},m(V,I){A(V,e,I),w(e,t),w(t,n),T.m(n,null),w(n,a),Oe(r,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ne(t,"click",i[13]),ne(e,"click",E)],v=!0)},p(V,I){i=V,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,a)));const B={};I&1&&(B.node=i[7]),r.$set(B),(!m||I&1)&&g!==(g=i[11](i[7])+"")&&Ae(d,g),(!m||I&5&&h!==(h=i[2]?i[12](i[7]):void 0))&&f(t,"href",h),(!m||I&1&&b!==(b=oe.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(r.$$.fragment,V),m=!0)},o(V){U(r.$$.fragment,V),m=!1},d(V){V&&L(e),T.d(),Fe(r),v=!1,Ze(C)}}}function oC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),Xe(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,a){A(l,e,a)},p(l,a){a&1&&!Xe(e.src,t=l[7].icon)&&f(e,"src",t),a&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function uC(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 Th(i){let e,t,n=i[7].label&&Nh(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[7].label?n?(n.p(l,a),a&1&&R(n,1)):(n=Nh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Ih(i){let e,t;return e=new op({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(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l&128&&(a.nodes=n[7].children),l&128&&(a.label=n[11](n[7])),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function fC(i){let e,t,n,l,a,r=!i[1]&&yh(i),o=i[1]&&Ih(i);return{c(){r&&r.c(),e=H(),o&&o.c(),t=Ce()},m(c,g){r&&r.m(c,g),A(c,e,g),o&&o.m(c,g),A(c,t,g),n=!0,l||(a=ne(sC,"resize",os),l=!0)},p(c,[g]){c[1]?r&&(ke(),U(r,1,1,()=>{r=null}),Se()):r?(r.p(c,g),g&2&&R(r,1)):(r=yh(c),r.c(),R(r,1),r.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&R(o,1)):(o=Ih(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ke(),U(o,1,1,()=>{o=null}),Se())},i(c){n||(R(r),R(o),n=!0)},o(c){U(r),U(o),n=!1},d(c){r&&r.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,a()}}}function os(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function cC(i,e,t){const n=Jt();let{isMobile:l}=e,{children:a}=e,{node:r}=e,o,c=vt("getUnsavedChangesModalPromise"),g=vt("openViewInModal"),{addNavHrefForAnchor:d}=e;const h=()=>{},p=()=>({get:()=>({pathParams:o}),set:I=>{}});xt(async()=>{os()}),Gn(async()=>{a||t(0,a=await Ot.getChildren(r)),t(0,a)});function b(I){c().then(()=>{if(I.openNodeInModal){const B=we.buildRoute(I,`/${I.pathSegment}`);g(B,I.openNodeInModal===!0?{}:I.openNodeInModal)}else lt.handleRouteClick(I,p())},()=>{}),v()}function m(I){b(I.detail)}function v(){n("close")}function C(I){return oe.isOpenUIiconName(I.icon)}function y(I){return oe.renderIconClassName(I)}function P(I){return St.getTranslation(I.label)}function T(I){return we.getNodeHref(I,o)}const E=I=>{oe.handleNavAnchorClickedWithoutMetaKey(I)},V=I=>b(I);return i.$$set=I=>{"isMobile"in I&&t(1,l=I.isMobile),"children"in I&&t(0,a=I.children),"node"in I&&t(7,r=I.node),"addNavHrefForAnchor"in I&&t(2,d=I.addNavHrefForAnchor)},[a,l,d,b,m,v,os,r,h,C,y,P,T,E,V]}class up extends Vt{constructor(e){super(),Dt(this,e,cC,fC,At,{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 os}}const vn={_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(lt.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=re.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=vn._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),!!vn.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=vn.getOptionById(e,l)),n},async getSelectedLabel(i,e,t,n){const l=this.getSelectedId(i,e,t);if(!l)return;const a=await this.getSelectedOption(i,e,t);return(a?a.label:void 0)||await vn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=re.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await re.getConfigValueAsync("navigation.contextSwitcher.options");return await vn.generateSwitcherNav(e,t)}};function Lh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Ah(i,e,t){const n=i.slice();return n[20]=e[t],n}function Eh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Rh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vh(Eh(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,a){A(l,e,a);for(let r=0;r<n.length;r+=1)n[r].m(e,null)},p(l,a){if(a&10497){t=l[0];let r;for(r=0;r<t.length;r+=1){const o=Eh(l,t,r);n[r]?n[r].p(o,a):(n[r]=Vh(o),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function Dh(i){let e,t,n,l=i[13](i[20].label)+"",a,r,o,c,g,d;function h(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),o=H(),f(n,"class","fd-menu__title"),f(t,"href",r=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=oe.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,a),w(e,o),g||(d=[ne(t,"click",Pt(bC)),ne(e,"click",h)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(a,l),b&257&&r!==(r=i[8](i[20]))&&f(t,"href",r),b&1&&c!==(c=oe.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ze(d)}}}function Vh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Dh(i);return{c(){n&&n.c(),t=Ce()},m(l,a){n&&n.m(l,a),A(l,t,a)},p(l,a){a&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,a):(n=Dh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Mh(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>
|
|
54
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function _k(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v=(i[5]||i[4]&&i[0].header)&&Zf(i),C=i[4]&&$f(i),y=i[3]&&xf();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=H(),l=S("div"),C&&C.c(),r=H(),a=S("div"),g=H(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),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-1rzu3xo"),f(t,"data-testid",h=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=ei(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,T){A(P,e,T),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,g),y&&y.m(t,null),m=!0},p(P,[T]){P[5]||P[4]&&P[0].header?v?(v.p(P,T),T&49&&R(v,1)):(v=Zf(P),v.c(),R(v,1),v.m(t,n)):v&&(ke(),U(v,1,1,()=>{v=null}),Se()),P[4]?C?(C.p(P,T),T&16&&R(C,1)):(C=$f(P),C.c(),R(C,1),C.m(l,r)):C&&(ke(),U(C,1,1,()=>{C=null}),Se()),(!m||T&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(a,"class",o),(!m||T&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=xf(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||T&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-1rzu3xo"))&&f(t,"class",d),(!m||T&32&&h!==(h=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",h),(!m||T&49&&p!==(p=ei(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||T&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 pk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const d=Jt();let h,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,T=!0,E,V=vt("store");const I=K=>oe.getNodeLabel(K),B=async K=>{const J=K&&K.length?le.getPathWithoutHash(K):"",j=we.parseParams(J.split("?")[1]);b=we.getNodeParams(j);const _e=await Mt.extractDataFromPath(K);h=_e.nodeObject,t(4,P=r.isDrawer||typeof h.drawer=="object"),E=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,T=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=I(h),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=I(h),r),t(0,r._liveLabel=!0,r)),p=_e.pathData,t(7,a=!0)},O=async K=>{if(!(m||v))if(a)if(h.webcomponent)t(3,C=!1),P?await X():await D(),ur.renderWebComponent(h.viewUrl,document.querySelector(E),{context:p.context,clientPermissions:h.clientPermissions||{},pathParams:p.pathParams||{}},h,void 0,!0),d("wcCreated",{modalWC:document.querySelector(E),modalWCData:{...p,nodeParams:b}}),v=!0;else{const J=await q(h.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:J,modalIframeData:{...p,nodeParams:b}}),m=!0}else await B(K)},D=async()=>{let K,J;const j=document.querySelector(".lui-modal-index-"+c),{size:_e,width:ie,height:se}=r,ve=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(j.classList.remove("lui-modal-fullscreen"),ie&&ie.match(ve)&&se&&se.match(ve))K=se,J=ie;else switch(_e){case"fullscreen":K="100vh",J="100vw",j.classList.add("lui-modal-fullscreen");break;case"m":K="80%",J="60%";break;case"s":K="80%",J="40%";break;default:K="80%",J="80%"}j.setAttribute("style",`width:${J};height:${K};`)},q=async(K,J)=>{P?await X():await D(),K&&(K=we.substituteViewUrl(K,J));const j=await Ee.createIframe(K,void 0,h,"modal",J);return document.querySelector(E).appendChild(j),j};async function X(K){let J="";const j=document.getElementsByClassName("drawer"),_e=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?j[0].setAttribute("style",J):(_e[0].setAttribute("style",J),j[0].setAttribute("style","width:100%"))}jr(()=>{O(o)});const Q=async K=>{K.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),K.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),K.data.msg==="luigi.get-context"&&(y=!0,(!h||!h.loadingIndicator||h.loadingIndicator.hideAutomatically!==!1)&&ce()),K.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),K.data.msg==="luigi.navigation.updateModalSettings"&&((K.data.updatedModalSettings.title||K.data.updatedModalSettings.title==="")&&t(0,r.title=K.data.updatedModalSettings.title,r),(K.data.updatedModalSettings.size||K.data.updatedModalSettings.width||K.data.updatedModalSettings.height)&&(t(0,r.size=K.data.updatedModalSettings.size,r),t(0,r.height=K.data.updatedModalSettings.height,r),t(0,r.width=K.data.updatedModalSettings.width,r),await D()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&<.updateModalDataInUrl(we.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},K.data.addHistoryEntry))};xt(()=>{dn.doOnStoreChange(V,()=>{r._liveLabel&&h&&t(0,r.title=I(h),r)},["navigation.viewgroupdata"]),On.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Ee.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var K;!y&&!h.webcomponent&&((K=h.loadingIndicator)==null?void 0:K.enabled)!==!1&&t(3,C=!0)},250)}),Jr(()=>{On.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Ee.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let K;T?K=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):K=document.querySelector(".drawer .spinnerContainer"),K&&K.classList.contains("fade-out")&&(K.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const x=()=>d("close",{activeDrawer:!1});return i.$$set=K=>{"settings"in K&&t(0,r=K.settings),"isDataPrepared"in K&&t(7,a=K.isDataPrepared),"nodepath"in K&&t(8,o=K.nodepath),"modalIndex"in K&&t(1,c=K.modalIndex),"disableBackdrop"in K&&t(2,g=K.disableBackdrop),"$$scope"in K&&t(9,l=K.$$scope)},[r,c,g,C,P,T,d,a,o,l,n,x]}class np extends Vt{constructor(e){super(),Dt(this,e,pk,_k,At,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ec(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 tc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function nc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ic(i){let e,t=i[1][1].settings&&lc(i);return{c(){t&&t.c(),e=Ce()},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=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,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=hc(ec(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=ec(r,n,o);l[o]?l[o].p(c,a):(l[o]=hc(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),ct(l,r)}}}function rc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?bk:mk}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},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 mk(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Le(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]]+"")&&Ae(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 bk(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),Wf(e,i[0][i[1][0]][i[27]]),l||(r=ne(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]]&&Wf(e,i[0][i[1][0]][i[27]])},d(o){o&&L(e),l=!1,r()}}}function ac(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,g,d,h,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 T(){return i[19](i[28])}let E=v&&sc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Le(o),d=H(),h=S("span"),h.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=H(),m=S("div"),E&&E.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(h,"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,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,h),w(t,b),w(t,m),E&&E.m(m,null),C||(y=[ne(r,"keydown",P),ne(n,"click",Ut(T))],C=!0)},p(V,I){i=V,I[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Ae(c,o),I[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",g),I[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),I[0]&2&&(v=Array.isArray(i[28].options)),v?E?E.p(i,I):(E=sc(i),E.c(),E.m(m,null)):E&&(E.d(1),E=null)},d(V){V&&L(e),E&&E.d(),C=!1,Ze(y)}}}function sc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=oc(nc(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=nc(l,t,a);n[a]?n[a].p(o,r):(n[a]=oc(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),ct(n,l)}}}function oc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Le(n),r=H(),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,h){A(d,e,h),w(e,t),w(t,l),w(e,r),o||(c=[ne(e,"click",g),ne(e,"keydown",i[21])],o=!0)},p(d,h){i=d,h[0]&2&&n!==(n=i[12](i[31])+"")&&Ae(l,n),h[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),h[0]&16&&jt(e,"is-selected",i[4]===i[33]),h[0]&16&&jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Ze(c)}}}function uc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=fc(tc(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 g=tc(a,l,c);r[c]?r[c].p(g,o):(r[c]=fc(g),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),ct(r,a)}}}function fc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,g,d;function h(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Le(t),l=H(),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),g||(d=ne(e,"click",h),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Ae(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&L(e),g=!1,d()}}}function cc(i){let e,t,n,l,r,a,o,c,g,d;function h(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=H(),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),g||(d=ne(n,"change",h),g=!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),g=!1,d()}}}function dc(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=ne(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 hc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,g,d,h=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&rc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&ac(i),y=h&&uc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&cc(i),T=i[28].type==="boolean"&&i[28].style==="checkbox"&&dc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Le(l),a=Le(":"),o=H(),c=S("div"),v&&v.c(),g=H(),C&&C.c(),d=H(),y&&y.c(),p=H(),P&&P.c(),b=H(),T&&T.c(),m=H(),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(E,V){A(E,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,g),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),T&&T.m(c,null),w(e,m)},p(E,V){V[0]&34&&l!==(l=E[5](E[28].label)+"")&&Ae(r,l),E[28].type==="string"?v?v.p(E,V):(v=rc(E),v.c(),v.m(c,g)):v&&(v.d(1),v=null),E[28].type==="enum"&&(E[28].style===void 0||E[28].style==="list")?C?C.p(E,V):(C=ac(E),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(h=E[28].type==="enum"&&E[28].style==="button"&&Array.isArray(E[28].options)),h?y?y.p(E,V):(y=uc(E),y.c(),y.m(c,p)):y&&(y.d(1),y=null),E[28].type==="boolean"&&(!E[28].style||E[28].style==="switch")?P?P.p(E,V):(P=cc(E),P.c(),P.m(c,b)):P&&(P.d(1),P=null),E[28].type==="boolean"&&E[28].style==="checkbox"?T?T.p(E,V):(T=dc(E),T.c(),T.m(c,null)):T&&(T.d(1),T=null)},d(E){E&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),T&&T.d()}}}function vk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ic(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=[ne(window,"click",i[7]),ne(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=ic(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:He,o:He,d(r){r&&L(e),l&&l.d(),t=!1,Ze(n)}}}function ns(i,e,t){if(i&&t>0)return i.matches(e)?i:ns(i.parentNode,e,t-1)}function wk(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Jt();let o=vt("getTranslation");wi(i,o,x=>t(5,n=x));let c,{isComboOpen:g}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const h=()=>{p()};function p(x){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(K=>{m(K,!1)})}function b(x,K){let J=ns(x.target,".fd-popover__control",20),j=J.getAttribute("aria-expanded")==="true";(K||K===void 0)&&(p(),m(J,!j))}function m(x,K){const J=x.querySelector(".lui-activate-dropdown"),j=x.parentNode.querySelector(".fd-popover__body"),_e=x.parentNode.querySelector(".fd-select__control");x.setAttribute("aria-expanded",K),j.setAttribute("aria-hidden",!K),_e.setAttribute("aria-expanded",K),J.setAttribute("aria-expanded",K),t(14,g=K)}function v(x,K,J){t(4,c=J),t(0,r[l[0]][x]=K.value||K,r)}function C(x,K){document.querySelectorAll(".enum-buttons-container-"+x+" button").forEach(J=>{const j=J.getAttribute("id"),_e=`lui-us-enum_button_${x}_option`;j===_e?J.classList.add("fd-button--emphasized"):J.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][x]=K.value||K,r)}function y(x,K){let J;if(Array.isArray(K)){for(let j=0;j<K.length;j++)if(le.isObject(K[j])){if(K[j].value&&K[j].value===x){J=K[j].label,t(4,c=j);break}}else{J=x,t(4,c=K.indexOf(x));break}return n(J)}}function P(x){return n(le.isObject(x)?x.label:x)}function T(x,K,J){return le.isObject(J)?`${x}_${K}_${J.value}`:`${x}_${K}_${J}`}function E(x,K,J,j){let _e=ns(x.target,".lui-anchor-node",20);const ie=document.getElementById(`fd-form-input-dropdown-${J}`).children;let se=-1;if([...ie].forEach((ve,re)=>{ve.classList.contains("is-focus")&&(se=re)}),g){if(x.keyCode===Ol&&x.altKey&&(_e.click(),_e.focus()),x.keyCode===Hi&&!x.altKey){if(se===-1){se=0,ie.item(se).classList.add("is-focus");return}se<j.options.length-1&&(ie.item(se).classList.remove("is-focus"),se+=1,ie.item(se).classList.add("is-focus"))}if(x.keyCode===Ol&&!x.altKey){if(se===-1){se=se.length-1,ie.item(se).classList.add("is-focus");return}se>0&&se<j.options.length&&(ie.item(se).classList.remove("is-focus"),se-=1,ie.item(se).classList.add("is-focus"))}(x.keyCode===vi||x.keyCode===Kr)&&v(K,j.options[se],se)}else _e.focus(),x.keyCode===Hi&&x.altKey&&_e.click(),x.keyCode===Hi&&!x.altKey&&se<j.options.length-1&&v(K,j.options[se+1],se+1),x.keyCode===Ol&&!x.altKey&&se>0&&se<j.options.length&&v(K,j.options[se-1],se-1)}function V(x){if(g){let K=ns(x.target,".fd-popover",20);K.blur(),(x.keyCode===Kr||x.keyCode===vi)&&(x.target.click(),p(),setTimeout(()=>{K.focus()},0))}}y();function I(x){r[l[0]][x]=this.value,t(0,r)}const B=(x,K,J,j)=>E(j,x,K,J),O=x=>b(event,x.isEditable),D=(x,K,J)=>v(x,K,J),q=x=>V(x),X=(x,K)=>C(x,K);function Q(x){r[l[0]][x]=this.checked,t(0,r)}function ce(x){r[l[0]][x]=this.checked,t(0,r)}return i.$$set=x=>{"userSettingGroup"in x&&t(1,l=x.userSettingGroup),"storedUserSettingData"in x&&t(0,r=x.storedUserSettingData),"isComboOpen"in x&&t(14,g=x.isComboOpen)},[r,l,E,V,c,n,o,p,b,v,C,y,P,T,g,d,h,I,B,O,D,q,X,Q,ce]}class kk extends Vt{constructor(e){super(),Dt(this,e,wk,vk,At,{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:gc}=gl;function _c(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function pc(i,e,t){const n=i.slice();return n[37]=e[t],n}function mc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?Ck:Sk}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=H(),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 Sk(i){let e,t,n,l,r,a=i[37][1].initials&&bc(i);return{c(){e=S("span"),l=H(),a&&a.c(),r=Ce(),f(e,"class",t=ei(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),Vn(e,"background-image","url('"+i[37][1].icon+"')"),Vn(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=ei(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&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&&Vn(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=bc(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 Ck(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&L(e)}}}function bc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Le(t),f(e,"class",l=ei(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),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:"")+"")&&Ae(n,t),o[0]&2&&l!==(l=ei(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&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 vc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",h,p,b,m,v=i[37][1].icon&&mc(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=H(),l=S("div"),r=S("div"),o=Le(a),c=H(),g=S("div"),h=Le(d),p=H(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-d5kn3x"),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,T){A(P,e,T),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,g),w(g,h),w(e,p),b||(m=[ne(e,"click",Pt(C)),ne(e,"keydown",y)],b=!0)},p(P,T){i=P,i[37][1].icon?v?v.p(i,T):(v=mc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),T[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Ae(o,a),T[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Ae(h,d)},d(P){P&&L(e),v&&v.d(),b=!1,Ze(m)}}}function wc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=vc(pc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=pc(l,t,a);n[a]?n[a].p(o,r):(n[a]=vc(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){ct(n,l),l&&L(e)}}}function kc(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 kk({props:o}),Je.push(()=>bt(e,"closeDropDown",r,i[9])),Je.push(()=>bt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,g){Me(e,c,g),l=!0},p(c,g){const d={};g[0]&1&&(d.storedUserSettingData=c[0]),g[0]&2048&&(d.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,d.closeDropDown=c[9],mt(()=>t=!1)),!n&&g[0]&256&&(n=!0,d.isComboOpen=c[8],mt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function yk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",g,d,h,p,b,m,v,C,y,P=i[10](i[7])+"",T,E,V,I,B,O,D,q,X,Q,ce,x=i[10](i[5])+"",K,J,j,_e,ie=i[10](i[6])+"",se,ve,re,Re,We=Object.entries(i[1]),te=[];for(let Te=0;Te<We.length;Te+=1)te[Te]=wc(_c(i,We,Te));let de=i[11]&&kc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),g=Le(c),d=H(),h=S("div"),p=S("ul");for(let Te=0;Te<te.length;Te+=1)te[Te].c();b=H(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=H(),y=S("h2"),T=Le(P),E=H(),V=S("div"),I=S("div"),de&&de.c(),B=H(),O=S("div"),D=H(),q=S("footer"),X=S("div"),Q=S("div"),ce=S("button"),K=Le(x),J=H(),j=S("div"),_e=S("button"),se=Le(ie),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(h,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(I,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(O,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(V,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),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(Q,"class","fd-bar__element"),f(_e,"data-testid","lui-us-dismissBtn"),f(_e,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(j,"class","fd-bar__element"),f(X,"class","fd-bar__right"),f(q,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),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-d5kn3x"),f(e,"tabindex","0")},m(Te,tt){A(Te,e,tt),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,g),w(r,d),w(r,h),w(h,p);for(let ze=0;ze<te.length;ze+=1)te[ze].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,T),w(n,E),w(n,V),w(V,I),de&&de.m(I,null),w(V,B),w(V,O),w(t,D),w(t,q),w(q,X),w(X,Q),w(Q,ce),w(ce,K),w(X,J),w(X,j),w(j,_e),w(_e,se),ve=!0,re||(Re=[ne(gc,"resize",i[20]),ne(gc,"keydown",i[3]),ne(v,"click",i[17]),ne(ce,"click",i[25]),ne(_e,"click",i[26])],re=!0)},p(Te,tt){if((!ve||tt[0]&1040)&&c!==(c=Te[10](Te[4])+"")&&Ae(g,c),tt[0]&803846){We=Object.entries(Te[1]);let ze;for(ze=0;ze<We.length;ze+=1){const rt=_c(Te,We,ze);te[ze]?te[ze].p(rt,tt):(te[ze]=wc(rt),te[ze].c(),te[ze].m(p,null))}for(;ze<te.length;ze+=1)te[ze].d(1);te.length=We.length}(!ve||tt[0]&1152)&&P!==(P=Te[10](Te[7])+"")&&Ae(T,P),Te[11]?de?(de.p(Te,tt),tt[0]&2048&&R(de,1)):(de=kc(Te),de.c(),R(de,1),de.m(I,null)):de&&(ke(),U(de,1,1,()=>{de=null}),Se()),(!ve||tt[0]&1056)&&x!==(x=Te[10](Te[5])+"")&&Ae(K,x),(!ve||tt[0]&1088)&&ie!==(ie=Te[10](Te[6])+"")&&Ae(se,ie)},i(Te){ve||(R(de),ve=!0)},o(Te){U(de),ve=!1},d(Te){Te&&L(e),ct(te,Te),de&&de.d(),re=!1,Ze(Re)}}}function Sc(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 Pk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Nk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function ip(i,e,t){if(i&&t>0)return i.matches(e)?i:ip(i.parentNode,e,t-1)}function Cc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function Tk(i,e,t){let n,{userSettingGroups:l}=e;const r=Jt();let a,{storedUserSettings:o={}}=e,c={},g=vt("getTranslation");wi(i,g,se=>t(10,n=se));let d=dl.userSettingsDialog.dialogHeader,h=dl.userSettingsDialog.saveBtn,p=dl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Jr(()=>{Ee.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),xt(()=>{const se=ae.getConfigValue("userSettings.userSettingsDialog"),ve=se||ae.getConfigValue("settings.userSettings.userSettingsDialog");ve&&(t(4,d=ve.dialogHeader?ve.dialogHeader:d),t(5,h=ve.saveBtn?ve.saveBtn:h),t(6,p=ve.dismissBtn?ve.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,On.addEventListener("message",re=>{const Re=Ee.getValidMessageSource(re);if(!Re||re.data.msg!=="custom")return;Re._ready=!0;const We=rs.convertCustomMessageInternalToUser(re.data),te="luigi.updateUserSettings";if(We.id===te){const de=or.findActiveCustomUserSettingsIframe(re.source);if(de){let Te=de.getAttribute("userSettingsGroup");t(0,o[Te]=We.data,o)}}We.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<an.desktopMinWidth&&B()}),ae.readUserSettings().then(re=>{c=JSON.parse(JSON.stringify(re)),re===null?t(0,o=Sc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Sc(JSON.parse(JSON.stringify(l)),re)),T([m,l[0][m]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&r("close")}),Ee.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!le.isObject(se.settings))for(let ve in se.settings){let re=se.settings[ve];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${ve}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${ve}' in the Luigi userSettings config.`)}}function T(se,ve){t(11,a=se);let re=se[0],Re=se[1];if(P(Re),ve?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(te=>{te.classList.remove("is-selected")}),ip(ve.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<an.desktopMinWidth&&I()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<an.desktopMinWidth&&Cc()),Re.viewUrl){if(or.hideUserSettingsIframe(),b.hasOwnProperty(re))or.getUserSettingsIframesInDom().forEach(We=>{We.userSettingsGroup===re&&(We.style.display="block")});else{const We=Gr.hasDecorators()?Gr.applyDecorators(Re.viewUrl):Re.viewUrl;let te=or.createIframe(We,re);b[re]=te}Pk()}else Nk()}const E=se=>{t(0,o=se.detail.userSettings)};function V(){ae.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function I(){B()}function B(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<an.desktopMinWidth&&Cc()}function O(se){return oe.renderIconClassName(se)}function D(se){return oe.isOpenUIiconName(se.icon)}let q;const X=()=>{const se=window.innerWidth>=an.desktopMinWidth&&q<an.desktopMinWidth;if(window.innerWidth<an.desktopMinWidth&&q>=an.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"),!q){let re=document.querySelector(".confirm-button");window.innerWidth<an.desktopMinWidth?re.style.display="none":re.style.display="block"}q=window.innerWidth};function Q(se,ve){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===vi||se.keyCode===Kr)&&re[ve].click(),se.keyCode===uk&&re[Object.keys(l).length-1].focus(),se.keyCode===ok&&re[0].focus()}function ce(se){se.keyCode===mi&&C?y():se.keyCode===mi&&!C&&r("close")}const x=se=>T(se,event),K=(se,ve)=>Q(ve,[se]);function J(se){y=se,t(9,y)}function j(se){C=se,t(8,C)}const _e=()=>V(),ie=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,Q,ce,d,h,p,v,C,y,n,a,r,g,T,E,V,B,O,D,X,x,K,J,j,_e,ie]}class Ik extends Vt{constructor(e){super(),Dt(this,e,Tk,yk,At,{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:Lk}=gl;function Ak(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1q543h0")},m(t,n){A(t,e,n)},p:He,d(t){t&&L(e)}}}function Ek(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=H(),l=S("h1"),a=Le(r),f(t,"class","lui-collapse-btn svelte-1q543h0"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1q543h0"),f(l,"class","fd-splitView__title svelte-1q543h0")},m(g,d){A(g,e,d),w(e,t),A(g,n,d),A(g,l,d),w(l,a),o||(c=ne(t,"click",Ut(Pt(i[4]))),o=!0)},p(g,d){d&2&&r!==(r=g[1].title+"")&&Ae(a,r)},d(g){g&&L(e),g&&L(n),g&&L(l),o=!1,c()}}}function yc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=H(),n=S("div"),l=S("div"),r=H(),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-1q543h0"),f(n,"id","splitViewDragger")},m(g,d){A(g,e,d),A(g,t,d),A(g,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ne(a,"click",Ut(Pt(i[3]))),ne(n,"mousedown",Ut(i[6]))],o=!0)},p:He,d(g){g&&L(e),g&&L(t),g&&L(n),o=!1,Ze(c)}}}function Rk(i){let e,t,n,l,r,a,o,c,g,d;t=new Ml({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function h(v,C){return v[0]?Ek:Ak}let p=h(i),b=p(i),m=!i[0]&&yc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),b.c(),a=H(),m&&m.c(),o=Ce(),f(l,"class","lui-split-view svelte-1q543h0"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1q543h0")},m(v,C){A(v,e,C),Me(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,g||(d=ne(Lk,"resize",i[5]),g=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=h(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-1q543h0"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=yc(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),Fe(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),g=!1,d()}}}function Dk(i,e,t){const n=Jt();let l={draggable:null,iframe:null,split:null},r,a,o,c,g,d,h,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,T=!1,E=vt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:h,splitViewWC:p,splitViewWCData:b}),set:J=>{J&&Object.getOwnPropertyNames(J).forEach(j=>{j==="splitViewSettings"?t(1,C=J.splitViewSettings):j==="lastNode"?r=J.lastNode:j==="pathData"?a=J.pathData:j==="nodeParams"?o=J.nodeParams:j==="collapsed"?t(0,v=J.collapsed):j==="isDataPrepared"?t(8,y=J.isDataPrepared):j==="currentNode"?c=J.currentNode:j==="splitViewIframe"?d=J.splitViewIframe:j==="splitViewIframeData"?h=J.splitViewIframeData:j==="splitViewWC"?p=J.splitViewWC:j==="splitViewWCData"&&(b=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:E}),I=async()=>{y?v||ft.createAndSetView(V()):await ft.prepareSplitViewData(V(),m)},B=()=>{l.split=ft.getContainer(),l.iframe=Ee.getIframeContainer(),l.draggable=ft.getDragger()},O=()=>{const J=ft.getDraggerBackdrop();J&&(J.style.display="none"),B(),l.draggable&&(l.draggable.style.top=`${ft.splitViewValues.top}px`),l.split.style.top=`${ft.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function D(J){if(Ee.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&ft.close(V()),J.data.msg==="luigi.navigation.splitview.collapse"&&q(),J.data.msg==="luigi.navigation.splitview.expand"&&X(),J.data.msg==="luigi.navigation.splitview.resize")){const j=parseInt(J.data.data);if(ft.calculateAndSetSplitViewValues(j,ft.internalValues),v)return;O(),ft.sendMessageToClients("resize.ok",ft.splitViewValues.percent)}}xt(()=>{Q(),g=D.bind(this),On.addEventListener("message",g)}),jr(()=>{I(),T!==y&&!v&&(T=y,O())}),Jr(()=>{window.removeEventListener("message",g)});function q(){ft.collapse(V())}async function X(){await ft.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const J=le.getShellbarHeight();ft.internalValues.innerHeight=le.getInnerHeight(),ft.internalValues.rightContentHeight=ft.internalValues.innerHeight-J,ft.internalValues.thresholdBottom=30,ft.internalValues.thresholdTop=J+30,ft.calculateAndSetSplitViewValues(ft.splitViewValues.percent,ft.internalValues),v||O()}function ce(J){let j=J.y,_e={};const ie=function(We){const te=j-We.y,de=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(de)||te===0)return;const Te=de-te,tt=ft.internalValues.innerHeight-Te,ze=ft.enforceTresholds(Te,tt);Te<ze.top||tt<ze.bottom||(_e=ze,j=We.y,l.draggable.style.top=`${_e.top}px`)},se=function(){if(ve(),!_e.top||!_e.bottom||_e.top==ft.internalValues.m_pos_prev){ft.getDraggerBackdrop().style.display="none";return}ft.internalValues.m_pos_prev=_e.top,ft.splitViewValues=_e,O(),ft.sendMessageToClients("resize.ok",_e.percent)},ve=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ie)},re=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ie)};B(),ve(),re(),ft.getDraggerBackdrop().style.display="block"}const x=J=>{let j=ft.getDraggerButton();j&&(j.style.display=J?"block":"none"),j=ft.getCollapsedDraggerButton(),j&&(j.style.display=J?"block":"none")},K=J=>{x(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,m=J.nodepath),"collapsed"in J&&t(0,v=J.collapsed),"splitViewSettings"in J&&t(1,C=J.splitViewSettings),"isDataPrepared"in J&&t(8,y=J.isDataPrepared),"disableBackdrop"in J&&t(2,P=J.disableBackdrop)},[v,C,P,q,X,Q,ce,K,y,m]}class lp extends Vt{constructor(e){super(),Dt(this,e,Dk,Rk,At,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Pc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Mk,then:Ok,catch:Vk,value:1};return is(t=i[0].badgeCounter.count(),n),{c(){e=Ce(),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())&&is(t,n)||G_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Vk(i){return{c:He,m:He,p:He,d:He}}function Ok(i){let e,t=i[1]>0&&Nc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Nc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Le(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jwxev"),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]+"")&&Ae(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function Mk(i){return{c:He,m:He,p:He,d:He}}function Fk(i){let e,t=i[0]&&i[0].badgeCounter&&Pc(i);return{c(){t&&t.c(),e=Ce()},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=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function Uk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Pn extends Vt{constructor(e){super(),Dt(this,e,Uk,Fk,At,{node:0})}}function Tc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Le(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+"")&&Ae(l,n)},d(r){r&&L(e)}}}function zk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Tc(i);return{c(){t&&t.c(),e=Ce()},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=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function Bk(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 ti extends Vt{constructor(e){super(),Dt(this,e,Bk,zk,At,{node:0})}}const{window:xa}=gl;function Ic(i,e,t){const n=i.slice();return n[82]=e[t][0],n[83]=e[t][1],n[85]=t,n}function Lc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[86]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[82]=e[t][0],n[83]=e[t][1],n[85]=t,n}function Vc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Hk(i){let e,t,n,l,r,a,o,c,g,d,h=i[12]&&Mc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&zc(i),b=(i[2]||i[3])&&fd(i);return{c(){e=S("div"),h&&h.c(),t=H(),n=S("nav"),l=S("div"),p&&p.c(),r=H(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-z9apvz"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-z9apvz"),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-z9apvz")},m(m,v){A(m,e,v),h&&h.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,g||(d=ne(n,"keyup",i[18]),g=!0)},p(m,v){m[12]?h?h.p(m,v):(h=Mc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=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=zc(m),p.c(),R(p,1),p.m(l,null)):p&&(ke(),U(p,1,1,()=>{p=null}),Se()),m[2]||m[3]?b?b.p(m,v):(b=fd(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-z9apvz"))&&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-z9apvz"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),h&&h.d(),p&&p.d(),b&&b.d(),g=!1,d()}}}function Wk(i){let e,t,n,l,r=i[12]&&dd(i),a=i[0]&&i[5].length>1&&_d(i);return{c(){e=S("div"),r&&r.c(),t=H(),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-z9apvz"),f(e,"role","navigation"),Vn(e,"width","var(--luigi__left-sidenav--width)"),Vn(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=dd(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=_d(o),a.c(),R(a,1),a.m(e,null)):a&&(ke(),U(a,1,1,()=>{a=null}),Se()),(!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-z9apvz"))&&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 Mc(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&Fc(i),p=i[12].showUpLink&&Uc(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),h&&h.c(),r=H(),a=S("span"),c=Le(o),g=H(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(l,"class","fd-nested-list__link svelte-z9apvz"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item svelte-z9apvz"),f(t,"class","fd-nested-list svelte-z9apvz"),f(e,"class","lui-nav-title svelte-z9apvz")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=Fc(b),h.c(),h.m(l,r)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Ae(c,o),b[12].showUpLink?p?p.p(b,m):(p=Uc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),h&&h.d(),p&&p.d()}}}function Fc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?Gk:qk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 qk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Xe(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function Gk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-z9apvz"),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[29](n[12].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function Uc(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-z9apvz"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ne(e,"click",Pt(i[19])),n=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function zc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=ud(Ic(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="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-z9apvz"),f(e,"class","lui-fd-side-nav-wrapper svelte-z9apvz")},m(c,g){A(c,e,g),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,g){if(g[0]&1922164672|g[1]&455){r=c[13];let d;for(d=0;d<r.length;d+=1){const h=Ic(c,r,d);a[d]?(a[d].p(h,g),R(a[d],1)):(a[d]=ud(h),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ke(),d=r.length;d<a.length;d+=1)o(d);Se()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-z9apvz"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)R(a[g]);l=!0}},o(c){a=a.filter(Boolean);for(let g=0;g<a.length;g+=1)U(a[g]);l=!1},d(c){c&&L(e),ct(a,c)}}}function Kk(i){let e,t,n,l;const r=[Yk,Jk],a=[];function o(c,g){return c[83].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Ce()},m(c,g){a[e].m(c,g),A(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(ke(),U(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,g):(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 jk(i){let e,t,n=i[83],l=[];for(let a=0;a<n.length;a+=1)l[a]=od(Rc(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=Ce()},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]&1887477952|o[1]&133){n=a[83];let c;for(c=0;c<n.length;c+=1){const g=Rc(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=od(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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){ct(l,a),a&&L(e)}}}function Jk(i){let e,t,n=i[25](i[82])+"",l,r,a,o,c,g,d=i[10]&&i[83].metaInfo.icon&&Bc(i),h=i[83],p=[];for(let m=0;m<h.length;m+=1)p[m]=jc(Lc(i,h,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=H(),l=Le(n),o=H();for(let m=0;m<p.length;m+=1)p[m].c();c=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-z9apvz"),f(e,"title",r=i[33](i[83],i[25](i[82]))),f(e,"data-testid",a=i[32](i[83].metaInfo,i[82])),f(e,"id","category_list_level1_"+i[85])},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),g=!0},p(m,v){if(m[10]&&m[83].metaInfo.icon?d?d.p(m,v):(d=Bc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!g||v[0]&33562624)&&n!==(n=m[25](m[82])+"")&&Ae(l,n),(!g||v[0]&33562624&&r!==(r=m[33](m[83],m[25](m[82]))))&&f(e,"title",r),(!g||v[0]&8192&&a!==(a=m[32](m[83].metaInfo,m[82])))&&f(e,"data-testid",a),v[0]&1887477952|v[1]&133){h=m[83];let C;for(C=0;C<h.length;C+=1){const y=Lc(m,h,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=jc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ke(),C=h.length;C<p.length;C+=1)b(C);Se()}},i(m){if(!g){for(let v=0;v<h.length;v+=1)R(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);g=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ct(p,m),m&&L(c)}}}function Yk(i){let e,t,n,l,r,a,o=i[25](i[82])+"",c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,B,O,D,q,X,Q,ce;function x(te,de){return de[0]&8192&&(l=null),l==null&&(l=!!te[30](te[83].metaInfo.icon)),l?nS:tS}let K=x(i,[-1,-1,-1,-1]),J=K(i);function j(){return i[58](i[83])}function _e(){return i[59](i[83])}function ie(...te){return i[60](i[83],...te)}let se=i[83],ve=[];for(let te=0;te<se.length;te+=1)ve[te]=Xc(Ec(i,se,te));const re=te=>U(ve[te],1,1,()=>{ve[te]=null});let Re=i[83].metaInfo&&i[83].metaInfo.label===i[8]&&$c(i);function We(){return i[65](i[83])}return{c(){e=S("li"),t=S("div"),n=S("a"),J.c(),r=H(),a=S("span"),c=Le(o),m=H(),v=S("button"),C=S("i"),V=H(),I=S("ul");for(let te=0;te<ve.length;te+=1)ve[te].c();O=H(),Re&&Re.c(),D=H(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(n,"title",g=i[33](i[83],i[25](i[82]))),f(n,"class",d="fd-nested-list__link "+(un(i[83],i[9])?"is-expanded":"")+" svelte-z9apvz"),f(n,"tabindex",h=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[85]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=un(i[83],i[9])),f(C,"class",y=un(i[83],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-z9apvz"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=un(i[83],i[9])),f(v,"title",T=i[39](i[83],i[9])),f(t,"class","fd-nested-list__content has-child svelte-z9apvz"),f(t,"tabindex",E=i[6]?"0":"-1"),f(I,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-z9apvz"),f(I,"aria-hidden",B=!un(i[83],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",q=i[32](i[83].metaInfo,i[82])),jt(e,"lui-item-expanded",un(i[83],i[9]))},m(te,de){A(te,e,de),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,I);for(let Te=0;Te<ve.length;Te+=1)ve[Te].m(I,null);w(e,O),Re&&Re.m(e,null),w(e,D),X=!0,Q||(ce=[ne(n,"click",Pt(j)),ne(v,"click",Pt(_e)),ne(t,"keypress",ie),ne(e,"click",Ut(We))],Q=!0)},p(te,de){if(i=te,K===(K=x(i,de))&&J?J.p(i,de):(J.d(1),J=K(i),J&&(J.c(),J.m(n,r))),(!X||de[0]&33562624)&&o!==(o=i[25](i[82])+"")&&Ae(c,o),(!X||de[0]&33562624&&g!==(g=i[33](i[83],i[25](i[82]))))&&f(n,"title",g),(!X||de[0]&8704&&d!==(d="fd-nested-list__link "+(un(i[83],i[9])?"is-expanded":"")+" svelte-z9apvz"))&&f(n,"class",d),(!X||de[0]&64&&h!==(h=i[6]?"-1":"0"))&&f(n,"tabindex",h),(!X||de[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!X||de[0]&8704&&b!==(b=un(i[83],i[9])))&&f(n,"aria-expanded",b),(!X||de[0]&8704&&y!==(y=un(i[83],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!X||de[0]&8704&&P!==(P=un(i[83],i[9])))&&f(v,"aria-expanded",P),(!X||de[0]&8704&&T!==(T=i[39](i[83],i[9])))&&f(v,"title",T),(!X||de[0]&64&&E!==(E=i[6]?"0":"-1"))&&f(t,"tabindex",E),de[0]&276865152|de[1]&133){se=i[83];let Te;for(Te=0;Te<se.length;Te+=1){const tt=Ec(i,se,Te);ve[Te]?(ve[Te].p(tt,de),R(ve[Te],1)):(ve[Te]=Xc(tt),ve[Te].c(),R(ve[Te],1),ve[Te].m(I,null))}for(ke(),Te=se.length;Te<ve.length;Te+=1)re(Te);Se()}(!X||de[0]&8704&&B!==(B=!un(i[83],i[9])))&&f(I,"aria-hidden",B),i[83].metaInfo&&i[83].metaInfo.label===i[8]?Re?(Re.p(i,de),de[0]&8448&&R(Re,1)):(Re=$c(i),Re.c(),R(Re,1),Re.m(e,D)):Re&&(ke(),U(Re,1,1,()=>{Re=null}),Se()),(!X||de[0]&8192&&q!==(q=i[32](i[83].metaInfo,i[82])))&&f(e,"data-testid",q),(!X||de[0]&8704)&&jt(e,"lui-item-expanded",un(i[83],i[9]))},i(te){if(!X){for(let de=0;de<se.length;de+=1)R(ve[de]);R(Re),X=!0}},o(te){ve=ve.filter(Boolean);for(let de=0;de<ve.length;de+=1)U(ve[de]);U(Re),X=!1},d(te){te&&L(e),J.d(),ct(ve,te),Re&&Re.d(),Q=!1,Ze(ce)}}}function Bc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[83].metaInfo.icon)),e?Zk:Qk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 Qk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function Zk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[83].metaInfo.icon?i[29](i[83].metaInfo.icon):"")+" svelte-z9apvz"),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[83].metaInfo.icon?n[29](n[83].metaInfo.icon):"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function Hc(i){let e,t,n=i[86].label&&Wc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Wc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Wc(i){let e,t,n,l,r=i[28](i[86])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T;function E(Q,ce){return Q[86].icon?$k:Xk}let V=E(i),I=V(i),B=i[86].statusBadge&&qc(i),O=i[86].externalLink&&i[86].externalLink.url&&Gc(),D=i[86].badgeCounter&&Kc(i);function q(...Q){return i[66](i[86],...Q)}function X(...Q){return i[67](i[86],...Q)}return{c(){e=S("li"),t=S("a"),I.c(),n=H(),l=S("span"),a=Le(r),o=H(),B&&B.c(),g=H(),O&&O.c(),d=H(),D&&D.c(),v=H(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",h=i[31](i[86])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=oe.getTestId(i[86])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[33](i[86],i[28](i[86]))),f(e,"aria-labelledby","category_list_level1_"+i[85])},m(Q,ce){A(Q,e,ce),w(e,t),I.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),B&&B.m(l,null),w(t,g),O&&O.m(t,null),w(t,d),D&&D.m(t,null),w(e,v),y=!0,P||(T=[ne(t,"click",q),ne(t,"keyup",function(){bi(i[23]?void 0:X)&&(i[23]?void 0:X).apply(this,arguments)})],P=!0)},p(Q,ce){i=Q,V===(V=E(i))&&I?I.p(i,ce):(I.d(1),I=V(i),I&&(I.c(),I.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[28](i[86])+"")&&Ae(a,r),i[86].statusBadge?B?(B.p(i,ce),ce[0]&8192&&R(B,1)):(B=qc(i),B.c(),R(B,1),B.m(l,null)):B&&(ke(),U(B,1,1,()=>{B=null}),Se()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",c),i[86].externalLink&&i[86].externalLink.url?O||(O=Gc(),O.c(),O.m(t,d)):O&&(O.d(1),O=null),i[86].badgeCounter?D?(D.p(i,ce),ce[0]&8192&&R(D,1)):(D=Kc(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),U(D,1,1,()=>{D=null}),Se()),(!y||ce[0]&8192&&h!==(h=i[31](i[86])))&&f(t,"href",h),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||ce[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=oe.getTestId(i[86])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[33](i[86],i[28](i[86]))))&&f(e,"title",C)},i(Q){y||(R(B),R(D),y=!0)},o(Q){U(B),U(D),y=!1},d(Q){Q&&L(e),I.d(),B&&B.d(),O&&O.d(),D&&D.d(),P=!1,Ze(T)}}}function Xk(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=H(),l=S("span"),a=Le(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":"")&&Ae(a,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function $k(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?eS:xk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 xk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function eS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[86].icon)+" svelte-z9apvz")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function qc(i){let e,t;return e=new ti({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Gc(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 Kc(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function jc(i){let e,t,n=!i[86].hideFromNav&&Hc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Hc(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 tS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function nS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[83].metaInfo.icon)+" "+(i[6]&&!i[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz"),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[29](n[83].metaInfo.icon)+" "+(n[6]&&!n[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function Jc(i){let e,t,n=i[86].label&&Yc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Yc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Yc(i){let e,t,n,l=i[28](i[86])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T;o=new ti({props:{node:i[86]}});let E=i[86].externalLink&&i[86].externalLink.url&&Qc(),V=i[86].badgeCounter&&Zc(i);function I(...O){return i[61](i[86],...O)}function B(...O){return i[62](i[86],...O)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=H(),Ue(o.$$.fragment),g=H(),E&&E.c(),d=H(),V&&V.c(),C=H(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",h=i[31](i[86])),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=oe.getTestId(i[86])),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[85])},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,g),E&&E.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(T=[ne(t,"click",I),ne(t,"keyup",function(){bi(i[23]?void 0:B)&&(i[23]?void 0:B).apply(this,arguments)})],P=!0)},p(O,D){i=O,(!y||D[0]&8192)&&l!==(l=i[28](i[86])+"")&&Ae(r,l);const q={};D[0]&8192&&(q.node=i[86]),o.$set(q),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(n,"class",c),i[86].externalLink&&i[86].externalLink.url?E||(E=Qc(),E.c(),E.m(t,d)):E&&(E.d(1),E=null),i[86].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=Zc(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&h!==(h=i[31](i[86])))&&f(t,"href",h),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=oe.getTestId(i[86])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v)},i(O){y||(R(o.$$.fragment,O),R(V),y=!0)},o(O){U(o.$$.fragment,O),U(V),y=!1},d(O){O&&L(e),Fe(o),E&&E.d(),V&&V.d(),P=!1,Ze(T)}}}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 Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Xc(i){let e,t,n=!i[86].hideFromNav&&Jc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):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 $c(i){let e,t,n,l=i[25](i[82])+"",r,a,o,c,g=i[83],d=[];for(let p=0;p<g.length;p+=1)d[p]=id(Ac(i,g,p));const h=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Le(l),a=H(),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-z9apvz"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-z9apvz"),f(t,"class","lui-flyout-sublist__wrapper svelte-z9apvz"),f(e,"class","lui-flyout-sublist svelte-z9apvz")},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]&33562624)&&l!==(l=p[25](p[82])+"")&&Ae(r,l),b[0]&276865152|b[1]&133){g=p[83];let m;for(m=0;m<g.length;m+=1){const v=Ac(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=id(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ke(),m=g.length;m<d.length;m+=1)h(m);Se()}},i(p){if(!c){for(let b=0;b<g.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),ct(d,p)}}}function xc(i){let e,t,n=i[86].label&&ed(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ed(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ed(i){let e,t,n,l=i[28](i[86])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T;o=new ti({props:{node:i[86]}});let E=i[86].externalLink&&i[86].externalLink.url&&td(),V=i[86].badgeCounter&&nd(i);function I(...O){return i[63](i[86],...O)}function B(...O){return i[64](i[86],...O)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=H(),Ue(o.$$.fragment),g=H(),E&&E.c(),d=H(),V&&V.c(),C=H(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",h=i[31](i[86])),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=oe.getTestId(i[86])),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(e,"class","fd-nested-list__item")},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,g),E&&E.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(T=[ne(t,"click",I),ne(t,"keyup",function(){bi(i[23]?void 0:B)&&(i[23]?void 0:B).apply(this,arguments)})],P=!0)},p(O,D){i=O,(!y||D[0]&8192)&&l!==(l=i[28](i[86])+"")&&Ae(r,l);const q={};D[0]&8192&&(q.node=i[86]),o.$set(q),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(n,"class",c),i[86].externalLink&&i[86].externalLink.url?E||(E=td(),E.c(),E.m(t,d)):E&&(E.d(1),E=null),i[86].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=nd(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&h!==(h=i[31](i[86])))&&f(t,"href",h),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=oe.getTestId(i[86])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v)},i(O){y||(R(o.$$.fragment,O),R(V),y=!0)},o(O){U(o.$$.fragment,O),U(V),y=!1},d(O){O&&L(e),Fe(o),E&&E.d(),V&&V.d(),P=!1,Ze(T)}}}function td(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 nd(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function id(i){let e,t,n=!i[86].hideFromNav&&xc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ld(i){let e,t,n=i[86].label&&rd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].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&&(ke(),U(n,1,1,()=>{n=null}),Se())},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,r=i[28](i[86])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(Q,ce){return Q[86].icon?lS:iS}let I=V(i),B=I(i);c=new ti({props:{node:i[86]}});let O=i[86].externalLink&&i[86].externalLink.url&&ad(),D=i[86].badgeCounter&&sd(i);function q(...Q){return i[56](i[86],...Q)}function X(...Q){return i[57](i[86],...Q)}return{c(){e=S("li"),t=S("a"),B.c(),n=H(),l=S("span"),a=Le(r),o=H(),Ue(c.$$.fragment),d=H(),O&&O.c(),h=H(),D&&D.c(),y=H(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",p=i[31](i[86])),f(t,"title",b=i[33](i[86],i[28](i[86]))),f(t,"class",m="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",C=oe.getTestId(i[86])),f(e,"class","fd-nested-list__item")},m(Q,ce){A(Q,e,ce),w(e,t),B.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),O&&O.m(t,null),w(t,h),D&&D.m(t,null),w(e,y),P=!0,T||(E=[ne(t,"click",q),ne(t,"keyup",function(){bi(i[23]?void 0:X)&&(i[23]?void 0:X).apply(this,arguments)})],T=!0)},p(Q,ce){i=Q,I===(I=V(i))&&B?B.p(i,ce):(B.d(1),B=I(i),B&&(B.c(),B.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[28](i[86])+"")&&Ae(a,r);const x={};ce[0]&8192&&(x.node=i[86]),c.$set(x),(!P||ce[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",g),i[86].externalLink&&i[86].externalLink.url?O||(O=ad(),O.c(),O.m(t,h)):O&&(O.d(1),O=null),i[86].badgeCounter?D?(D.p(i,ce),ce[0]&8192&&R(D,1)):(D=sd(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),U(D,1,1,()=>{D=null}),Se()),(!P||ce[0]&8192&&p!==(p=i[31](i[86])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[33](i[86],i[28](i[86]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",m),(!P||ce[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=oe.getTestId(i[86])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(D),P=!0)},o(Q){U(c.$$.fragment,Q),U(D),P=!1},d(Q){Q&&L(e),B.d(),Fe(c),O&&O.d(),D&&D.d(),T=!1,Ze(E)}}}function iS(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 lS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?aS:rS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 rS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function aS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[86].icon)+" svelte-z9apvz"),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[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function ad(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 sd(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function od(i){let e,t,n=!i[86].hideFromNav&&ld(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):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,l,r,a;const o=[jk,Kk],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[82]==="undefined"||d[82].startsWith(d[14]))),e?0:(t==null&&(t=d[83].filter(CS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,h){~n&&c[n].m(d,h),A(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(ke(),U(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,h):(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 fd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&cd(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Le(l),a=H(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-z9apvz"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-z9apvz"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-z9apvz")},m(c,g){A(c,e,g),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Ae(r,l),c[3]?o?o.p(c,g):(o=cd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function cd(i){let e;function t(r,a){return r[4]=="button"?oS:sS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},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 sS(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-z9apvz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){A(r,e,a),n||(l=[ne(e,"click",i[69]),ne(e,"keydown",i[70])],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-z9apvz")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Ze(l)}}}function oS(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-z9apvz"),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-z9apvz")},m(a,o){A(a,e,o),w(e,t),l||(r=ne(e,"click",i[68]),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-z9apvz")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&L(e),l=!1,r()}}}function dd(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&hd(i),p=i[12].showUpLink&&gd(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),h&&h.c(),r=H(),a=S("span"),c=Le(o),g=H(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(l,"class","fd-nested-list__link svelte-z9apvz"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-z9apvz"),f(e,"class","lui-nav-title svelte-z9apvz")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=hd(b),h.c(),h.m(l,r)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Ae(c,o),b[12].showUpLink?p?p.p(b,m):(p=gd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),h&&h.d(),p&&p.d()}}}function hd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?fS:uS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 uS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Xe(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function fS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-z9apvz"),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[29](n[12].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function gd(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-z9apvz"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ne(e,"click",Pt(i[19])),n=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function _d(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=i[13],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ed(Dc(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=H(),l=S("li"),r=H(),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>`,g=H(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-z9apvz"></ul></div>',f(l,"class","lui-spacer svelte-z9apvz"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-z9apvz"),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(o,"tabindex","-1"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-z9apvz"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-z9apvz"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(y,P){A(y,e,P),w(e,t);for(let T=0;T<v.length;T+=1)v[T].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,g),w(a,d),i[55](e),h=!0,p||(b=ne(c,"click",i[54]),p=!0)},p(y,P){if(P[0]&1922164672|P[1]&135){m=y[13];let T;for(T=0;T<m.length;T+=1){const E=Dc(y,m,T);v[T]?(v[T].p(E,P),R(v[T],1)):(v[T]=Ed(E),v[T].c(),R(v[T],1),v[T].m(t,n))}for(ke(),T=m.length;T<v.length;T+=1)C(T);Se()}},i(y){if(!h){for(let P=0;P<m.length;P+=1)R(v[P]);h=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);h=!1},d(y){y&&L(e),ct(v,y),i[55](null),p=!1,b()}}}function cS(i){let e,t,n,l,r,a,o=i[25](i[82])+"",c,g,d,h,p,b,m,v,C,y,P,T,E,V,I;function B(ce,x){return x[0]&8192&&(l=null),l==null&&(l=!!ce[30](ce[83].metaInfo.icon)),l?gS:hS}let O=B(i,[-1,-1,-1,-1]),D=O(i);function q(){return i[48](i[83])}function X(...ce){return i[49](i[83],...ce)}let Q=(!i[6]||i[83].metaInfo&&i[83].metaInfo.label===i[8])&&pd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),D.c(),r=H(),a=S("span"),c=Le(o),g=H(),d=S("span"),h=H(),p=S("span"),y=H(),Q&&Q.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-z9apvz"),f(n,"role","button"),f(n,"tabindex","-1"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[33](i[83],i[25](i[82]))),f(t,"aria-expanded",v=i[6]?i[83].metaInfo&&i[83].metaInfo.label===i[8]:un(i[83],i[9])),f(t,"aria-selected",C=i[6]&&i[83].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-z9apvz"),f(e,"aria-hidden","true"),f(e,"data-testid",T=i[32](i[83].metaInfo,i[82]))},m(ce,x){A(ce,e,x),w(e,t),w(t,n),D.m(n,null),w(n,r),w(n,a),w(a,c),w(n,g),w(n,d),w(n,h),w(n,p),w(e,y),Q&&Q.m(e,null),E=!0,V||(I=[ne(n,"click",Pt(q)),ne(t,"click",Ut(X))],V=!0)},p(ce,x){i=ce,O===(O=B(i,x))&&D?D.p(i,x):(D.d(1),D=O(i),D&&(D.c(),D.m(n,r))),(!E||x[0]&33562624)&&o!==(o=i[25](i[82])+"")&&Ae(c,o),(!E||x[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!E||x[0]&33562624&&m!==(m=i[33](i[83],i[25](i[82]))))&&f(t,"title",m),(!E||x[0]&9024&&v!==(v=i[6]?i[83].metaInfo&&i[83].metaInfo.label===i[8]:un(i[83],i[9])))&&f(t,"aria-expanded",v),(!E||x[0]&8384&&C!==(C=i[6]&&i[83].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[83].metaInfo&&i[83].metaInfo.label===i[8]?Q?(Q.p(i,x),x[0]&8512&&R(Q,1)):(Q=pd(i),Q.c(),R(Q,1),Q.m(e,null)):Q&&(ke(),U(Q,1,1,()=>{Q=null}),Se()),(!E||x[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-z9apvz"))&&f(e,"class",P),(!E||x[0]&8192&&T!==(T=i[32](i[83].metaInfo,i[82])))&&f(e,"data-testid",T)},i(ce){E||(R(Q),E=!0)},o(ce){U(Q),E=!1},d(ce){ce&&L(e),D.d(),Q&&Q.d(),V=!1,Ze(I)}}}function dS(i){let e,t,n=i[83],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ad(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=Ce()},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]&1887477952|o[1]&133){n=a[83];let c;for(c=0;c<n.length;c+=1){const g=Oc(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ad(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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){ct(l,a),a&&L(e)}}}function hS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function gS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[83].metaInfo.icon)+" "+(i[6]&&!i[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[29](n[83].metaInfo.icon)+" "+(n[6]&&!n[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function pd(i){let e,t,n,l,r,a,o,c=i[6]&&md(i),g=i[83],d=[];for(let p=0;p<g.length;p+=1)d[p]=Pd(Vc(i,g,p));const h=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=H(),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(t,"aria-hidden","true"),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-z9apvz")},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=md(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&276865152|b[1]&133){g=p[83];let m;for(m=0;m<g.length;m+=1){const v=Vc(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Pd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ke(),m=g.length;m<d.length;m+=1)h(m);Se()}(!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-z9apvz"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<g.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(),ct(d,p)}}}function md(i){let e,t,n,l,r=i[25](i[82])+"",a,o,c,g,d,h=i[10]&&i[83].metaInfo.icon&&bd(i);return{c(){e=S("div"),t=S("a"),h&&h.c(),n=H(),l=S("span"),a=Le(r),o=H(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-z9apvz"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-z9apvz"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[33](i[83],i[25](i[82]))),f(e,"data-testid",d=i[32](i[83].metaInfo,i[82]))},m(p,b){A(p,e,b),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[83].metaInfo.icon?h?h.p(p,b):(h=bd(p),h.c(),h.m(t,n)):h&&(h.d(1),h=null),b[0]&33562624&&r!==(r=p[25](p[82])+"")&&Ae(a,r),b[0]&33562624&&g!==(g=p[33](p[83],p[25](p[82])))&&f(e,"title",g),b[0]&8192&&d!==(d=p[32](p[83].metaInfo,p[82]))&&f(e,"data-testid",d)},d(p){p&&L(e),h&&h.d()}}}function bd(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[83].metaInfo.icon)),e?pS:_S}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function pS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[83].metaInfo.icon)+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[83].metaInfo.icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function vd(i){let e,t,n=i[86].label&&wd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=wd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function wd(i){let e,t,n,l,r=i[28](i[86])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I=i[28](i[86])+"",B,O,D,q,X,Q,ce,x,K,J,j,_e,ie,se;c=new ti({props:{node:i[86]}});let ve=i[86].externalLink&&i[86].externalLink.url&&kd(),re=i[86].badgeCounter&&Sd(i);function Re(...ze){return i[50](i[86],...ze)}function We(...ze){return i[51](i[86],...ze)}D=new ti({props:{node:i[86]}});let te=i[86].externalLink&&i[86].externalLink.url&&Cd(),de=i[86].badgeCounter&&yd(i);function Te(...ze){return i[52](i[86],...ze)}function tt(...ze){return i[53](i[86],...ze)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Le(r),o=H(),Ue(c.$$.fragment),d=H(),h=S("span"),p=H(),ve&&ve.c(),b=H(),re&&re.c(),P=H(),T=S("li"),E=S("a"),V=S("span"),B=Le(I),O=H(),Ue(D.$$.fragment),X=H(),te&&te.c(),Q=H(),de&&de.c(),f(l,"class",g="fd-navigation__text badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(h,"class","fd-navigation__selection-indicator"),f(h,"role","presentation"),f(h,"aria-hidden","true"),f(h,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-z9apvz"),f(n,"tabindex","-1"),f(n,"href",m=i[31](i[86])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[86]===i[7]),f(t,"data-testid",y=oe.getTestId(i[86])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",q="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(E,"href",ce=i[31](i[86])),f(E,"class",x="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(E,"role",K=i[23]?void 0:"button"),f(E,"tabindex","0"),f(E,"data-testid",J=oe.getTestId(i[86])),f(E,"title",j=i[33](i[86],i[28](i[86]))),Vn(T,"display","none"),f(T,"class","fd-nested-list__item"),f(T,"aria-labelledby","collapsible_listnode_"+i[85])},m(ze,rt){A(ze,e,rt),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,h),w(n,p),ve&&ve.m(n,null),w(n,b),re&&re.m(n,null),A(ze,P,rt),A(ze,T,rt),w(T,E),w(E,V),w(V,B),w(V,O),Me(D,V,null),w(E,X),te&&te.m(E,null),w(E,Q),de&&de.m(E,null),_e=!0,ie||(se=[ne(n,"click",Re),ne(n,"keyup",function(){bi(i[23]?void 0:We)&&(i[23]?void 0:We).apply(this,arguments)}),ne(E,"click",Te),ne(E,"keyup",function(){bi(i[23]?void 0:tt)&&(i[23]?void 0:tt).apply(this,arguments)})],ie=!0)},p(ze,rt){i=ze,(!_e||rt[0]&8192)&&r!==(r=i[28](i[86])+"")&&Ae(a,r);const Ct={};rt[0]&8192&&(Ct.node=i[86]),c.$set(Ct),(!_e||rt[0]&8192&&g!==(g="fd-navigation__text badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",g),i[86].externalLink&&i[86].externalLink.url?ve||(ve=kd(),ve.c(),ve.m(n,b)):ve&&(ve.d(1),ve=null),i[86].badgeCounter?re?(re.p(i,rt),rt[0]&8192&&R(re,1)):(re=Sd(i),re.c(),R(re,1),re.m(n,null)):re&&(ke(),U(re,1,1,()=>{re=null}),Se()),(!_e||rt[0]&8192&&m!==(m=i[31](i[86])))&&f(n,"href",m),(!_e||rt[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v),(!_e||rt[0]&8320&&C!==(C=i[86]===i[7]))&&f(t,"aria-selected",C),(!_e||rt[0]&8192&&y!==(y=oe.getTestId(i[86])))&&f(t,"data-testid",y),(!_e||rt[0]&8192)&&I!==(I=i[28](i[86])+"")&&Ae(B,I);const pe={};rt[0]&8192&&(pe.node=i[86]),D.$set(pe),(!_e||rt[0]&8192&&q!==(q="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(V,"class",q),i[86].externalLink&&i[86].externalLink.url?te||(te=Cd(),te.c(),te.m(E,Q)):te&&(te.d(1),te=null),i[86].badgeCounter?de?(de.p(i,rt),rt[0]&8192&&R(de,1)):(de=yd(i),de.c(),R(de,1),de.m(E,null)):de&&(ke(),U(de,1,1,()=>{de=null}),Se()),(!_e||rt[0]&8192&&ce!==(ce=i[31](i[86])))&&f(E,"href",ce),(!_e||rt[0]&8320&&x!==(x="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(E,"class",x),(!_e||rt[0]&8388608&&K!==(K=i[23]?void 0:"button"))&&f(E,"role",K),(!_e||rt[0]&8192&&J!==(J=oe.getTestId(i[86])))&&f(E,"data-testid",J),(!_e||rt[0]&8192&&j!==(j=i[33](i[86],i[28](i[86]))))&&f(E,"title",j)},i(ze){_e||(R(c.$$.fragment,ze),R(re),R(D.$$.fragment,ze),R(de),_e=!0)},o(ze){U(c.$$.fragment,ze),U(re),U(D.$$.fragment,ze),U(de),_e=!1},d(ze){ze&&L(e),Fe(c),ve&&ve.d(),re&&re.d(),ze&&L(P),ze&&L(T),Fe(D),te&&te.d(),de&&de.d(),ie=!1,Ze(se)}}}function kd(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 Sd(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Cd(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 yd(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Pd(i){let e,t,n=!i[86].hideFromNav&&vd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=vd(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 Nd(i){let e,t,n=i[86].label&&Td(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Td(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Td(i){let e,t,n,l,r,a=i[28](i[86])+"",o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,B;function O(K,J){return K[86].icon?bS:mS}let D=O(i),q=D(i);g=new ti({props:{node:i[86]}});let X=i[86].externalLink&&i[86].externalLink.url&&Id(),Q=i[86].badgeCounter&&Ld(i);function ce(...K){return i[46](i[86],...K)}function x(...K){return i[47](i[86],...K)}return{c(){e=S("li"),t=S("div"),n=S("a"),q.c(),l=H(),r=S("span"),o=Le(a),c=H(),Ue(g.$$.fragment),h=H(),X&&X.c(),p=H(),Q&&Q.c(),b=H(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),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[86]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-z9apvz"),f(n,"tabindex","-1"),f(n,"href",C=i[31](i[86])),f(n,"title",y=i[33](i[86],i[28](i[86]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",T=oe.getTestId(i[86])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",E=i[86]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(K,J){A(K,e,J),w(e,t),w(t,n),q.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(g,r,null),w(n,h),X&&X.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,b),w(n,m),V=!0,I||(B=[ne(n,"click",ce),ne(n,"keyup",function(){bi(i[23]?void 0:x)&&(i[23]?void 0:x).apply(this,arguments)})],I=!0)},p(K,J){i=K,D===(D=O(i))&&q?q.p(i,J):(q.d(1),q=D(i),q&&(q.c(),q.m(n,l))),(!V||J[0]&8192)&&a!==(a=i[28](i[86])+"")&&Ae(o,a);const j={};J[0]&8192&&(j.node=i[86]),g.$set(j),(!V||J[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(r,"class",d),i[86].externalLink&&i[86].externalLink.url?X||(X=Id(),X.c(),X.m(n,p)):X&&(X.d(1),X=null),i[86].badgeCounter?Q?(Q.p(i,J),J[0]&8192&&R(Q,1)):(Q=Ld(i),Q.c(),R(Q,1),Q.m(n,b)):Q&&(ke(),U(Q,1,1,()=>{Q=null}),Se()),(!V||J[0]&8320&&v!==(v="fd-navigation__link "+(i[86]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-z9apvz"))&&f(n,"class",v),(!V||J[0]&8192&&C!==(C=i[31](i[86])))&&f(n,"href",C),(!V||J[0]&8192&&y!==(y=i[33](i[86],i[28](i[86]))))&&f(n,"title",y),(!V||J[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!V||J[0]&8192&&T!==(T=oe.getTestId(i[86])))&&f(n,"data-testid",T),(!V||J[0]&8320&&E!==(E=i[86]===i[7]))&&f(t,"aria-selected",E)},i(K){V||(R(g.$$.fragment,K),R(Q),V=!0)},o(K){U(g.$$.fragment,K),U(Q),V=!1},d(K){K&&L(e),q.d(),Fe(g),X&&X.d(),Q&&Q.d(),I=!1,Ze(B)}}}function mS(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 bS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?wS:vS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 vS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-z9apvz")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function wS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[86].icon)+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&L(e)}}}function Id(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 Ld(i){let e,t;return e=new Pn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ad(i){let e,t,n=!i[86].hideFromNav&&Nd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Nd(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 Ed(i){let e,t,n,l,r,a;const o=[dS,cS],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[82]==="undefined"||d[82].startsWith(d[14]))),e?0:(t==null&&(t=d[83].filter(SS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,h){~n&&c[n].m(d,h),A(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(ke(),U(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,h):(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 kS(i){let e,t,n,l,r,a;const o=[Wk,Hk],c=[];function g(d,h){return d[27]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,h){c[e].m(d,h),A(d,n,h),l=!0,r||(a=[ne(xa,"resize",i[17]),ne(xa,"click",i[21]),ne(xa,"blur",i[21]),ne(xa,"keydown",i[34])],r=!0)},p(d,h){t.p(d,h)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Ze(a)}}}function un(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Vo(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 SS=i=>!i.hideFromNav&&i.label,CS=i=>!i.hideFromNav&&i.label;function yS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:E,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:T,navParentNode:B}),set:async Z=>{Z&&(Object.getOwnPropertyNames(Z).forEach(async Ne=>{if(Ne==="pathData")t(5,p=Z.pathData);else if(Ne==="context")O=Z.context;else if(Ne==="children")t(0,a=Z.children);else if(Ne==="selectedNode")t(7,C=Z.selectedNode);else if(Ne==="hasCategoriesWithIcon")t(10,T=Z.hasCategoriesWithIcon);else if(Ne==="navParent"){t(12,I=void 0);let nt=Z.navParent;if(t(42,B=nt),nt&&nt.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let ht=nt.navHeader,Tt=nt;if(ht==="inherit"){for(Tt=nt.parent;Tt&&Tt.navHeader==="inherit";)Tt=Tt.parent;ht=Tt?Tt.navHeader:void 0}if(ht instanceof Function){t(12,I={});let Zt=ht(oe.stripNode(nt),oe.stripNode(Tt),O);Zt instanceof Promise?Zt.then(gn=>{t(12,I=gn)}):t(12,I=Zt)}else if(ht==="auto")t(12,I={label:nt.label,icon:nt.icon});else if(ht&&ht.useTitleResolver&&Tt.titleResolver){Tt.titleResolver.prerenderFallback?t(12,I={...ht,label:Tt.titleResolver.fallbackTitle||"",icon:Tt.titleResolver.fallbackIcon}):t(12,I=ht);const Zt=we.mapPathToNode(lt.getCurrentPath(),Tt);Mt.extractDataFromPath(Zt).then(gn=>{const jn=we.substituteDynamicParamsInObject(Object.assign({},gn.pathData.context,Tt.context),gn.pathData.pathParams);oe.fetchNodeTitleData(Tt,jn).then(Mn=>{t(12,I={...ht,...Mn})}).catch(Mn=>{console.error("Error while retrieving title, fallback to node label"),t(12,I={...ht,label:nt.label,icon:nt.icon})})})}else t(12,I=await te(ht,Tt))}}}),t(41,E=oe.getSideNavAccordionMode(C)))}},r=Jt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:h}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=oe.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:T}=e,{sideNavAccordionMode:E}=e,{burgerTooltip:V}=e,{navHeader:I}=e,{navParentNode:B}=e,O,D,q,X=vt("store"),Q=vt("getTranslation");wi(i,Q,Z=>t(25,n=Z));let ce=!1,x=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),K;const J=Z=>oe.getNodeLabel(Z),j=async()=>{const Z=l.get(),Ne=await Mt.getLeftNavData({...Z},Z);Ne&&(l.set(Ne),D=p,window.LEFTNAVDATA=Ne.children)};xt(()=>{t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,h=ae.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,ce=ae.getConfigValue("navigation.addNavHrefs")),t(1,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(22,q=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=oe.loadExpandedCategories()),dn.doOnStoreChange(X,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),dn.doOnStoreChange(X,()=>{j()},["navigation.viewgroupdata"]);let Z=_i.initial();t(6,v=Z.isSemiCollapsed),t(40,g=Z.semiCollapsible),_i.onValueChanged(Ne=>{t(6,v=Ne.isSemiCollapsed)}),On.addEventListener("message",Ne=>{Ne.data.msg==="luigi.navigation.update-badge-counters"&&j()})});const _e=()=>{if(K){const Z=K.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Ne=K.querySelector(".fd-navigation__list"),nt=K.querySelector(".fd-navigation__list > .lui-spacer");Z==null||Z.forEach(ht=>{Ne.insertBefore(ht,nt)}),K.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ie=()=>{const Z=K.querySelector(".fd-navigation__list > .lui-spacer"),Ne=K.querySelector(".lui-moreItems"),nt=K.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(Z.clientHeight===0&&nt.length>1){K.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let ht=nt.length-1;ht>0&&(lastNode=nt[ht-1],Ne.insertBefore(nt[ht],Ne.firstChild),!(Z.clientHeight>0));ht--);}};jr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let Z;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Ne,nt)=>{Z&&clearTimeout(Z),v&&(Z=setTimeout(()=>{_e(),ie()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),K&&v?window.Luigi.__btpNavTopCntRszObs.observe(K):_e()}),Gn(()=>{(!D||D!=p)&&j(),t(22,q=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=oe.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:se}=e;function ve(Z){return oe.renderIconClassName(Z)}function re(Z){return oe.isOpenUIiconName(Z)}function Re(Z){return we.getNodeHref(Z,b)}function We(Z,Ne){return Z&&Z.testId?Z.testId:oe.prepareForTests(Ne||Z.label)}async function te(Z,Ne){const nt=we.mapPathToNode(lt.getCurrentPath(),Ne),Tt=(await Mt.extractDataFromPath(nt)).pathData.pathParams;return we.substituteDynamicParamsInObject(Z,Tt)}function de(Z,Ne){return oe.generateTooltipText(Z,Ne)}function Te(Z){r("handleClick",{node:Z})}function tt(Z,Ne){if(wt(),_i.getCollapsed()){let nt,ht=document.getElementsByClassName("fd-app__sidebar")[0];if(Z.metaInfo&&Z.metaInfo.label?nt=Z.metaInfo.label:nt=Z.category&&Z.category.label||Z.category,ht&&!ht.classList.contains("isBlocked")&&(ht.className+=" isBlocked"),nt===y){t(8,y=_i.closePopupMenu(y));return}t(8,y=nt),ht?ze(Ne):x&&Vo(Ne)}}function ze(Z){const Ne=Z.closest(".fd-nested-list__item"),nt=Ne.offsetTop,ht=Bi.getShellbar().offsetHeight;let Tt;Bi.isCustomLuigiContainer()?Tt=Bi.getCustomLuigiContainer().clientHeight:Tt=window.innerHeight,setTimeout(()=>{const Zt=Ne.getElementsByClassName("lui-flyout-sublist")[0],gn=Z.closest(".lui-fd-side-nav-wrapper").scrollTop,jn=nt+ht-gn,Mn=Tt-nt-Ne.offsetHeight+gn-ht;jn+Zt.offsetHeight>=Tt?(Zt.style.bottom=Mn+"px",Zt.className+=" has-bottom-position"):Zt.style.top=jn-ht+"px"})}function rt(){if(g){let Z=_i.onResize(y);t(6,v=Z.isSemiCollapsed),t(8,y=Z.selectedCategory)}}function Ct(Z){if(Z.code==="ArrowRight"){const nt=Ee.getCurrentMicrofrontendIframe();nt&&nt.contentWindow&&nt.contentWindow.focus()}}function pe(Z){let Ne=B?B.parent:void 0;for(;Ne;){if(Ne.pathSegment&&Ne.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ne});return}Ne=Ne.parent}console.warn('Could not resolve "up"-node, redirecting to root'),ep.navigate("/")}function $e(Z,Ne){_i.getCollapsed()||t(9,P=oe.storeExpandedState(Z.metaInfo.categoryUid,Ne,E))}function wt(){K&&K.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function qt(){t(8,y=_i.closePopupMenu(y)),wt()}function Nn(Z){Z&&Z.code==="Escape"&&qt()}function Ft(){t(6,v=_i.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),Ot()}function Pe(Z){const Ne=Z.code;(Ne==="Enter"||Ne==="Space")&&Ft()}function dt(Z,Ne){(Z.code==="Enter"||Z==="Space")&&tt(Ne,Z.currentTarget)}function at(Z,Ne){Z.keyCode===vi&&oe.handleNavAnchorClickedWithoutMetaKey(Z)&&Te(Ne)}function Ot(){if(!oe.getBurgerTooltipConfig())return;const[Z,Ne]=oe.getBurgerTooltipConfig(),nt=document.body.classList.contains("lui-semiCollapsible");Z&&Ne&&nt&&t(11,V=document.body.classList.contains("semiCollapsed")?Z:Ne)}function zt(Z,Ne){return un(Z,Ne)?Z.metaInfo.titleCollapseButton?n(Z.metaInfo.titleCollapseButton):void 0:Z.metaInfo.titleExpandButton?n(Z.metaInfo.titleExpandButton):void 0}const wn=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},ni=(Z,Ne)=>at(Ne,Z),en=Z=>$e(Z,!un(Z,P)),kn=(Z,Ne)=>tt(Z,Ne.currentTarget),Kn=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},Yt=(Z,Ne)=>at(Ne,Z),Tn=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},ki=(Z,Ne)=>at(Ne,Z),Si=Z=>{const Ne=Z.target.parentElement;Ne.getAttribute("aria-expanded")==="true"?Ne.setAttribute("aria-expanded","false"):(qt(),Ne.setAttribute("aria-expanded","true")),Z.stopPropagation()};function hn(Z){Je[Z?"unshift":"push"](()=>{K=Z,t(24,K)})}const Ci=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},yi=(Z,Ne)=>at(Ne,Z),Pi=Z=>$e(Z,!un(Z,P)),Ni=Z=>$e(Z,!un(Z,P)),Ti=(Z,Ne)=>dt(Ne,Z),_l=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},pl=(Z,Ne)=>at(Ne,Z),ml=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},Ii=(Z,Ne)=>at(Ne,Z),Wi=Z=>tt(Z,event.currentTarget),qi=(Z,Ne)=>{oe.handleNavAnchorClickedWithoutMetaKey(Ne)&&Te(Z)},fi=(Z,Ne)=>at(Ne,Z),bl=Z=>Ft(),vl=Z=>Ft(),Gi=Z=>Pe(Z);return i.$$set=Z=>{"children"in Z&&t(0,a=Z.children),"hideNavComponent"in Z&&t(1,o=Z.hideNavComponent),"footerText"in Z&&t(2,c=Z.footerText),"semiCollapsible"in Z&&t(40,g=Z.semiCollapsible),"semiCollapsibleButton"in Z&&t(3,d=Z.semiCollapsibleButton),"semiCollapsibleButtonStyle"in Z&&t(4,h=Z.semiCollapsibleButtonStyle),"pathData"in Z&&t(5,p=Z.pathData),"pathParams"in Z&&t(43,b=Z.pathParams),"virtualGroupPrefix"in Z&&t(14,m=Z.virtualGroupPrefix),"isSemiCollapsed"in Z&&t(6,v=Z.isSemiCollapsed),"selectedNode"in Z&&t(7,C=Z.selectedNode),"selectedCategory"in Z&&t(8,y=Z.selectedCategory),"expandedCategories"in Z&&t(9,P=Z.expandedCategories),"hasCategoriesWithIcon"in Z&&t(10,T=Z.hasCategoriesWithIcon),"sideNavAccordionMode"in Z&&t(41,E=Z.sideNavAccordionMode),"burgerTooltip"in Z&&t(11,V=Z.burgerTooltip),"navHeader"in Z&&t(12,I=Z.navHeader),"navParentNode"in Z&&t(42,B=Z.navParentNode),"sortedChildrenEntries"in Z&&t(13,se=Z.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const Z=Object.entries(a);Z.sort((Ne,nt)=>Ne[1].metaInfo.order-nt[1].metaInfo.order),t(13,se=Z)}},[a,o,c,d,h,p,v,C,y,P,T,V,I,se,m,Te,tt,rt,Ct,pe,$e,qt,q,ce,K,n,Q,x,J,ve,re,Re,We,de,Nn,Ft,Pe,dt,at,zt,g,E,B,b,ze,Vo,wn,ni,en,kn,Kn,Yt,Tn,ki,Si,hn,Ci,yi,Pi,Ni,Ti,_l,pl,ml,Ii,Wi,qi,fi,bl,vl,Gi]}class rp extends Vt{constructor(e){super(),Dt(this,e,yS,kS,At,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:40,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:43,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:41,burgerTooltip:11,navHeader:12,navParentNode:42,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:44,calculateBTPNavFlyoutPosition:45,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[44]}get calculateBTPNavFlyoutPosition(){return Vo}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const PS=i=>{dn.doOnStoreChange(i.store,()=>{const e=ae.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),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}),ae.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),ap(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"])},NS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),ap=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,h)=>{g&&(h+1>=t.length||!t[h+1].pathSegment||!NS(d,t[h+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=Yr.getDocumentTitle()||r;i.set({title:r}),document.title=St.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Rd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Dd(i,e,t){const n=i.slice();return n[45]=e[t],n}function TS(i){let e,t,n,l,r=i[1]&&Vd(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=ne(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Vd(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 IS(i){let e,t,n,l,r=i[1]&&Od(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=ne(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Od(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 Vd(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 Od(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 Md(i){let e,t,n,l=(!i[3]||i[4])&&Fd(i),r=i[3]&&Ud(i),a=i[12]&&i[5]&&Yd(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=H(),a&&a.c(),n=Ce()},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=Fd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Ud(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=Yd(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 Fd(i){let e;function t(r,a){return r[14]?AS:LS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},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 LS(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=Le(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=ne(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Ae(l,n)},d(o){o&&L(e),r=!1,a()}}}function AS(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=Le(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,g){A(c,e,g),w(e,t),w(t,l),a||(o=ne(e,"click",i[32]),a=!0)},p(c,g){g[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Ae(l,n),g[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 Ud(i){let e,t,n,l,r,a,o,c,g,d,h;function p(y,P){return y[14]?RS:ES}let b=p(i),m=b(i),v=i[6]&&i[7]&&Gd(i),C=i[9]&&i[9].length>0&&Kd(i);return{c(){e=S("div"),t=S("div"),m.c(),n=H(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=H(),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",g="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||(h=ne(t,"click",Ut(MS)),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=Gd(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=Kd(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&&g!==(g="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",g)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,h()}}}function ES(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g;return{c(){e=S("button"),t=S("span"),l=Le(n),r=H(),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,h){A(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=ne(e,"click",Ut(i[36])),c=!0)},p(d,h){h[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),h[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,g()}}}function RS(i){let e,t,n,l=i[9]&&i[9].length===1&&zd(i),r=i[9]&&i[9].length>1&&Bd(i),a=i[9].length>1&&!i[7]&&qd(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=H(),a&&a.c(),n=Ce()},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=zd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Bd(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=qd(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 zd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Le(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)+"")&&Ae(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&L(e)}}}function Bd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wd(Dd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=Dd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Wd(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){ct(n,l),l&&L(e)}}}function Hd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g,d,h;return{c(){e=S("a"),t=S("span"),l=Le(n),r=H(),a=S("i"),o=H(),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",g=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||(h=ne(e,"click",Pt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Ae(l,n),b[0]&512&&c!==(c=p[24](p[45]))&&f(e,"href",c),b[0]&8192&&g!==(g=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&L(e),d=!1,h()}}}function Wd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Hd(i);return{c(){n&&n.c(),t=Ce()},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=Hd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function qd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Le(n),r=H(),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,h){A(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=ne(e,"click",Pt(i[35])),c=!0)},p(d,h){h[0]&524292&&n!==(n=d[19](d[2])+"")&&Ae(l,n),h[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,g()}}}function Gd(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=Le(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(g,d){A(g,e,d),w(e,t),w(t,n),w(n,r),o||(c=ne(t,"click",Pt(i[16])),o=!0)},p(g,d){d[0]&524544&&l!==(l=g[19](g[8])+"")&&Ae(r,l),d[0]&256&&a!==(a=g[22](g[8]))&&f(t,"data-testid",a)},d(g){g&&L(e),o=!1,c()}}}function Kd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jd(Rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=Rd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jd(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){ct(n,l),l&&L(e)}}}function DS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,g,d;function h(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),c=H(),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),g||(d=ne(t,"click",h),g=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Ae(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),g=!1,d()}}}function VS(i){let e,t=i[18]&&jd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=jd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function jd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new hr(!1),l=H(),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 Jd(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 VS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return DS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Ce()},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 Yd(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Le(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])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function OS(i){let e,t;function n(o,c){return o[14]?IS:TS}let l=n(i),r=l(i),a=i[2]&&Md(i);return{c(){r.c(),e=H(),a&&a.c(),t=Ce()},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=Md(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:He,o:He,d(o){r.d(o),o&&L(e),a&&a.d(o),o&&L(t)}}}const MS=()=>{};function FS(i,e,t){let n;const l=Jt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:g}=e,{showSubTitle:d=!0}=e,{dropDownStates:h={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:T}=e,{pathData:E}=e,{addNavHrefForAnchor:V}=e,I,B,O=vt("getUnsavedChangesModalPromise"),D=vt("getTranslation");wi(i,D,pe=>t(19,n=pe));let q=vt("store");const X={closeDropDown:()=>{j("appSwitcherPopover")}},Q=()=>({get:()=>({pathData:E,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:T,showMainAppEntry:p,hasApps:c,keepMainTitle:g,showSubTitle:d,hasLogo:a,logo:r}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach($e=>{$e==="pathData"?t(26,E=pe.pathData):$e==="appSwitcherItems"?t(9,v=pe.appSwitcherItems):$e==="itemRenderer"?t(10,C=pe.itemRenderer):$e==="pathParams"?t(11,y=pe.pathParams):$e==="selectedItem"?t(7,b=pe.selectedItem):$e==="title"?t(2,o=pe.title):$e==="defaultSubTitle"?t(25,T=pe.defaultSubTitle):$e==="subTitle"?t(12,P=pe.subTitle):$e==="defaultTitle"?t(8,m=pe.defaultTitle):$e==="subTitle"?t(12,P=pe.subTitle):$e==="showMainAppEntry"?t(6,p=pe.showMainAppEntry):$e==="hasApps"?t(3,c=pe.hasApps):$e==="keepMainTitle"?t(4,g=pe.keepMainTitle):$e==="showSubTitle"?t(5,d=pe.showSubTitle):$e==="hasLogo"&&t(1,a=pe.hasLogo)})},store:q});xt(()=>{PS(Q())}),Gn(()=>{(!B||B!=E)&&(ap(Q()),B=E)});function ce(pe,$e,wt){return setTimeout(()=>{$e&&C(pe,$e.children[wt],X)}),""}function x(pe){O().then(()=>{lt.navigateTo(we.applyPathParams(pe,y))},()=>{})}function K(){O().then(()=>{lt.navigateTo("/")},()=>{})}function J(pe){l("handleClick",{node:pe}),j("appSwitcherPopover")}function j(pe){l("toggleDropdownState",{name:pe})}function _e(pe){return pe.testId?pe.testId:oe.prepareForTests(pe.title||pe)}function ie(pe,$e){if(pe.link){const wt=we.applyPathParams(pe.link,$e);if(wt.indexOf(":")!==0&&wt.indexOf("/:")===-1)return!0}return!1}function se(pe){return we.getNodeHref(pe)}function ve(pe){Je[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const re=pe=>{oe.handleNavAnchorClickedWithoutMetaKey(pe)&&x("/")};function Re(pe){Je[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const We=()=>x("/"),te=pe=>{oe.handleNavAnchorClickedWithoutMetaKey(pe)&&x("/")},de=()=>x("/"),Te=()=>j("appSwitcherPopover"),tt=()=>j("appSwitcherPopover"),ze=()=>j("appSwitcherPopover"),rt=(pe,$e)=>{oe.handleNavAnchorClickedWithoutMetaKey($e)&&x(pe.link)};function Ct(pe){Je[pe?"unshift":"push"](()=>{I=pe,t(18,I)})}return i.$$set=pe=>{"logo"in pe&&t(0,r=pe.logo),"hasLogo"in pe&&t(1,a=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"keepMainTitle"in pe&&t(4,g=pe.keepMainTitle),"showSubTitle"in pe&&t(5,d=pe.showSubTitle),"dropDownStates"in pe&&t(13,h=pe.dropDownStates),"showMainAppEntry"in pe&&t(6,p=pe.showMainAppEntry),"selectedItem"in pe&&t(7,b=pe.selectedItem),"defaultTitle"in pe&&t(8,m=pe.defaultTitle),"appSwitcherItems"in pe&&t(9,v=pe.appSwitcherItems),"itemRenderer"in pe&&t(10,C=pe.itemRenderer),"pathParams"in pe&&t(11,y=pe.pathParams),"subTitle"in pe&&t(12,P=pe.subTitle),"defaultSubTitle"in pe&&t(25,T=pe.defaultSubTitle),"pathData"in pe&&t(26,E=pe.pathData),"addNavHrefForAnchor"in pe&&t(14,V=pe.addNavHrefForAnchor)},[r,a,o,c,g,d,p,b,m,v,C,y,P,h,V,x,K,j,I,n,D,ce,_e,ie,se,T,E,J,ve,re,Re,We,te,de,Te,tt,ze,rt,Ct]}class US extends Vt{constructor(e){super(),Dt(this,e,FS,OS,At,{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 Qd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Zd(i){let e,t,n,l,r,a,o=i[0]&&Xd(i),c=(i[10]||i[11])&&lh(i);return{c(){e=S("div"),o&&o.c(),t=H(),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(g,d){A(g,e,d),o&&o.m(e,null),A(g,t,d),A(g,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(g,d){g[0]?o?o.p(g,d):(o=Xd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,d):(c=lh(g),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(g){g&&L(e),o&&o.d(),g&&L(t),g&&L(n),c&&c.d()}}}function Xd(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?BS:zS}let g=c(i),d=g(i),h=i[7].name&&$d(i),p=i[7].description&&xd(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=th(Qd(i,b,C));let v=i[12]&&nh(i);return{c(){e=S("div"),d.c(),t=H(),n=S("div"),h&&h.c(),l=H(),p&&p.c(),r=H(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=H(),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),h&&h.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(g===(g=c(C))&&d?d.p(C,y):(d.d(1),d=g(C),d&&(d.c(),d.m(e,null))),C[7].name?h?h.p(C,y):(h=$d(C),h.c(),h.m(n,l)):h&&(h.d(1),h=null),C[7].description?p?p.p(C,y):(p=xd(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const T=Qd(C,b,P);m[P]?m[P].p(T,y):(m[P]=th(T),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=nh(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),h&&h.d(),p&&p.d(),C&&L(r),C&&L(a),ct(m,C),v&&v.d()}}}function zS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Le(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:"")+"")&&Ae(n,t)},d(l){l&&L(e)}}}function BS(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"),Vn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&Vn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function $d(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Le(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+"")&&Ae(n,t)},d(l){l&&L(e)}}}function xd(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Le(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+"")&&Ae(n,t)},d(l){l&&L(e)}}}function eh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?WS:HS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Vn(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&&Vn(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 WS(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 th(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,h=i[34].icon&&eh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),n=H(),l=S("span"),a=Le(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),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?h?h.p(i,m):(h=eh(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),h&&h.d(),g=!1,Ze(d)}}}function nh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g=i[9].settings.icon&&ih(i);return{c(){e=S("li"),t=S("a"),g&&g.c(),n=H(),l=S("span"),a=Le(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,h){A(d,e,h),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ne(e,"click",Pt(i[5])),ne(e,"keyup",i[25])],o=!0)},p(d,h){d[9].settings.icon?g?g.p(d,h):(g=ih(d),g.c(),g.m(t,n)):g&&(g.d(1),g=null),h[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Ae(a,r)},d(d){d&&L(e),g&&g.d(),o=!1,Ze(c)}}}function ih(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?GS:qS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 qS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Xe(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!Xe(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function GS(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 lh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&rh(i),l=i[10]&&!i[8]&&ah(i);return{c(){n&&n.c(),e=H(),l&&l.c(),t=Ce()},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=rh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=ah(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 rh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Le(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,g){A(c,e,g),w(e,t),w(t,l),a||(o=ne(t,"click",i[4]),a=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Ae(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function ah(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=H(),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=[ne(e,"click",i[15]),ne(n,"click",i[15])],l=!0)},p:He,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Ze(r)}}}function KS(i){let e,t=!i[1]&&Zd(i);return{c(){t&&t.c(),e=Ce()},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=Zd(n),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function jS(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,b,m,v=vt("store"),C=vt("getTranslation");wi(i,C,ie=>t(13,n=ie));let y=vt("getUnsavedChangesModalPromise"),P=vt("openViewInModal");xt(async()=>{pi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),O(),fn.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),fn.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function T(){fn.startAuthorization()}function E(ie){return oe.renderIconClassName(ie)}function V(ie){return oe.isOpenUIiconName(ie.icon)}function I(ie){return ie.testId?ie.testId:oe.prepareForTests(ie.label)}function B(ie){return we.getNodeHref(ie)}function O(){b||(dn.doOnStoreChange(v,async()=>{const ie=await ae.getConfigValueAsync("navigation.profile.logout"),se=await ae.getConfigValueAsync("userSettings"),ve=se||await ae.getConfigValueAsync("settings.userSettings"),re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(ve){const Re=ve.userSettingsProfileMenuEntry;re.settings={...dl.userSettingsProfileMenuEntry,...Re}}re.logout={...dl.logout,...ie},t(11,h=!!ie),m=!1,fn.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,fn.setProfileLogoutFn(ie.customLogoutFn)),t(9,g=re),t(12,p=!!ve)},["navigation.profile"]),b=!0)}async function D(){const ie=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(fn.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function q(ie){y().then(()=>{if(ie.openNodeInModal){const se=we.buildRoute(ie,`${ie.link}`);P(se,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else lt.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function X(){y().then(()=>{d?ce():h&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Yr.openUserSettings(),l("toggleDropdownState")}function ce(){fn.logout()}function x({keyCode:ie}){(ie===vi||ie===Kr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:K}=e;const J=ie=>{oe.handleNavAnchorClickedWithoutMetaKey(ie)},j=ie=>q(ie),_e=ie=>x(ie);return i.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,a=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,K=ie.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,K=!!(o&&(o.name||o.email)))},[K,r,a,q,X,Q,x,o,c,g,d,h,p,n,C,T,E,V,I,B,O,D,ce,J,j,_e]}class JS extends Vt{constructor(e){super(),Dt(this,e,jS,KS,At,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function sh(i,e,t){const n=i.slice();return n[34]=e[t],n}function oh(i){let e,t,n,l,r,a=i[0]&&uh(i),o=i[9].items,c=[];for(let h=0;h<o.length;h+=1)c[h]=ch(sh(i,o,h));let g=i[12]&&dh(i),d=(i[10]||i[11])&&gh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=H();for(let h=0;h<c.length;h+=1)c[h].c();l=H(),g&&g.c(),r=H(),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(h,p){A(h,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),g&&g.m(t,null),w(t,r),d&&d.m(t,null)},p(h,p){if(h[0]?a?a.p(h,p):(a=uh(h),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=h[9].items;let b;for(b=0;b<o.length;b+=1){const m=sh(h,o,b);c[b]?c[b].p(m,p):(c[b]=ch(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}h[12]?g?g.p(h,p):(g=dh(h),g.c(),g.m(t,r)):g&&(g.d(1),g=null),h[10]||h[11]?d?d.p(h,p):(d=gh(h),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(h){h&&L(e),a&&a.d(),ct(c,h),g&&g.d(),d&&d.d()}}}function uh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Le(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)+"")&&Ae(l,n)},d(r){r&&L(e)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?QS:YS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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 YS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Xe(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!Xe(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function QS(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 ch(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,h=i[34].icon&&fh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),n=H(),l=S("span"),a=Le(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),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[ne(t,"click",i[23]),ne(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?h?h.p(i,m):(h=fh(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Ae(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),h&&h.d(),g=!1,Ze(d)}}}function dh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g,d=i[9].settings.icon&&hh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=H(),l=S("span"),a=Le(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(h,p){A(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=[ne(e,"click",Pt(i[5])),ne(e,"keyup",i[25])],c=!0)},p(h,p){h[9].settings.icon?d?d.p(h,p):(d=hh(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=h[18](h[9].settings))&&f(e,"data-testid",o)},d(h){h&&L(e),d&&d.d(),c=!1,Ze(g)}}}function hh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Xe(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!Xe(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function XS(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 gh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&_h(i),l=i[10]&&!i[8]&&mh(i);return{c(){n&&n.c(),e=H(),l&&l.c(),t=Ce()},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=_h(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=mh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function _h(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,g,d=i[9].logout.icon&&ph(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=H(),l=S("span"),a=Le(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(h,p){A(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=ne(e,"click",i[4]),c=!0)},p(h,p){h[9].logout.icon?d?d.p(h,p):(d=ph(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].logout.label)+"")&&Ae(a,r),p[0]&512&&o!==(o=h[18](h[9].logout))&&f(e,"data-testid",o)},d(h){h&&L(e),d&&d.d(),c=!1,g()}}}function ph(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},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-1msqoo3"),Xe(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!Xe(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function xS(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 mh(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=ne(e,"click",i[15]),t=!0)},p:He,d(l){l&&L(e),t=!1,n()}}}function eC(i){let e,t=!i[1]&&oh(i);return{c(){t&&t.c(),e=Ce()},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=oh(n),t.c(),t.m(e.parentNode,e))},i:He,o:He,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,g={logout:{},items:[],settings:{}},d,h,p,b,m,v=vt("store"),C=vt("getTranslation");wi(i,C,ie=>t(13,n=ie));let y=vt("getUnsavedChangesModalPromise"),P=vt("openViewInModal");xt(async()=>{pi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),O(),fn.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),fn.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function T(){fn.startAuthorization()}function E(ie){return oe.renderIconClassName(ie)}function V(ie){return oe.isOpenUIiconName(ie.icon)}function I(ie){return ie.testId?ie.testId:oe.prepareForTests(ie.label)}function B(ie){return we.getNodeHref(ie)}function O(){b||(dn.doOnStoreChange(v,async()=>{const ie=await ae.getConfigValueAsync("navigation.profile.logout"),se=await ae.getConfigValueAsync("userSettings"),ve=se||await ae.getConfigValueAsync("settings.userSettings");t(12,p=!!ve);const re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Re=ve.userSettingsProfileMenuEntry;re.settings={...dl.userSettingsProfileMenuEntry,...Re}}re.logout={...dl.logout,...ie},t(11,h=!!ie),m=!1,fn.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,fn.setProfileLogoutFn(ie.customLogoutFn)),t(9,g=re)},["navigation.profile"]),b=!0)}async function D(){const ie=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(fn.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function q(ie){y().then(()=>{if(ie.openNodeInModal){const se=we.buildRoute(ie,`${ie.link}`);P(se,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else lt.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function X(){y().then(()=>{d?ce():h&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Yr.openUserSettings(),l("toggleDropdownState")}function ce(){fn.logout()}function x({keyCode:ie}){(ie===vi||ie===Kr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:K}=e;const J=ie=>{oe.handleNavAnchorClickedWithoutMetaKey(ie)},j=ie=>q(ie),_e=ie=>x(ie);return i.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,a=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,K=ie.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,K=!!(o&&(o.name||o.email)))},[K,r,a,q,X,Q,x,o,c,g,d,h,p,n,C,T,E,V,I,B,O,D,ce,J,j,_e]}class sp extends Vt{constructor(e){super(),Dt(this,e,tC,eC,At,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function bh(i,e,t){const n=i.slice();return n[11]=e[t],n}function vh(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Sh(bh(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=Ce()},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 g=bh(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Sh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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){ct(l,a),a&&L(e)}}}function wh(i){let e,t,n,l,r,a,o,c,g=i[3](i[11])+"",d,h,p=i[4](i[11]),b,m,v,C,y,P;function T(O,D){return D&6&&(n=null),n==null&&(n=!!O[2](O[11])),n?iC:nC}let E=T(i,-1),V=E(i);r=new Pn({props:{node:i[11]}});let I=p&&kh(i);function B(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=H(),Ue(r.$$.fragment),a=H(),o=S("div"),c=S("div"),d=Le(g),h=H(),I&&I.c(),b=H(),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=oe.getTestId(i[11]))},m(O,D){A(O,e,D),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,h),I&&I.m(o,null),w(e,b),C=!0,y||(P=ne(e,"click",B),y=!0)},p(O,D){i=O,E===(E=T(i,D))&&V?V.p(i,D):(V.d(1),V=E(i),V&&(V.c(),V.m(t,l)));const q={};D&2&&(q.node=i[11]),r.$set(q),(!C||D&10)&&g!==(g=i[3](i[11])+"")&&Ae(d,g),D&18&&(p=i[4](i[11])),p?I?I.p(i,D):(I=kh(i),I.c(),I.m(o,null)):I&&(I.d(1),I=null),(!C||D&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||D&2&&v!==(v=oe.getTestId(i[11])))&&f(e,"data-testid",v)},i(O){C||(R(r.$$.fragment,O),C=!0)},o(O){U(r.$$.fragment,O),C=!1},d(O){O&&L(e),V.d(),Fe(r),I&&I.d(),y=!1,P()}}}function nC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){A(l,e,r)},p(l,r){r&2&&!Xe(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function iC(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 kh(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Le(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])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function Sh(i){let e,t,n=i[11].label&&wh(i);return{c(){n&&n.c(),e=Ce()},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=wh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function lC(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E=i[1]&&vh(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Le(i[0]),c=H(),g=S("div"),d=S("div"),h=S("ul"),E&&E.c(),p=H(),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(h,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(g,"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,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,g),w(g,d),w(d,h),E&&E.m(h,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(T=[ne(C,"click",i[8]),ne(e,"click",Ut(rC))],P=!0)},p(V,[I]){(!y||I&1)&&Ae(o,V[0]),V[1]?E?(E.p(V,I),I&2&&R(E,1)):(E=vh(V),E.c(),R(E,1),E.m(h,null)):E&&(ke(),U(E,1,1,()=>{E=null}),Se())},i(V){y||(R(E),y=!0)},o(V){U(E),y=!1},d(V){V&&L(e),E&&E.d(),P=!1,Ze(T)}}}const rC=()=>{};function aC(i,e,t){const n=Jt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:g}=e;function d(m){return oe.renderIconClassName(m)}function h(m){n("listClick",m)}function p(m){Dl.call(this,i,m)}const b=m=>h(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,g=m.noSubTitle)},[l,r,a,o,c,g,h,d,p,b]}class op extends Vt{constructor(e){super(),Dt(this,e,aC,lC,At,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:sC}=gl;function Ch(i,e,t){const n=i.slice();return n[7]=e[t],n}function yh(i){let e,t,n,l=i[0]&&Ph(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=Ph(r),l.c(),R(l,1),l.m(t,null)):l&&(ke(),U(l,1,1,()=>{l=null}),Se())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Ph(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Th(Ch(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=Ce()},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 g=Ch(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Th(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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){ct(l,a),a&&L(e)}}}function Nh(i){let e,t,n,l,r,a,o,c,g=i[11](i[7])+"",d,h,p,b,m,v,C;function y(V,I){return I&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?uC:oC}let P=y(i,-1),T=P(i);a=new Pn({props:{node:i[7]}});function E(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),T.c(),r=H(),Ue(a.$$.fragment),o=H(),c=S("span"),d=Le(g),p=H(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",h=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=oe.getTestId(i[7]))},m(V,I){A(V,e,I),w(e,t),w(t,n),T.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ne(t,"click",i[13]),ne(e,"click",E)],v=!0)},p(V,I){i=V,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const B={};I&1&&(B.node=i[7]),a.$set(B),(!m||I&1)&&g!==(g=i[11](i[7])+"")&&Ae(d,g),(!m||I&5&&h!==(h=i[2]?i[12](i[7]):void 0))&&f(t,"href",h),(!m||I&1&&b!==(b=oe.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),T.d(),Fe(a),v=!1,Ze(C)}}}function oC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),Xe(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function uC(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 Th(i){let e,t,n=i[7].label&&Nh(i);return{c(){n&&n.c(),e=Ce()},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=Nh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Ih(i){let e,t;return e=new op({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(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function fC(i){let e,t,n,l,r,a=!i[1]&&yh(i),o=i[1]&&Ih(i);return{c(){a&&a.c(),e=H(),o&&o.c(),t=Ce()},m(c,g){a&&a.m(c,g),A(c,e,g),o&&o.m(c,g),A(c,t,g),n=!0,l||(r=ne(sC,"resize",os),l=!0)},p(c,[g]){c[1]?a&&(ke(),U(a,1,1,()=>{a=null}),Se()):a?(a.p(c,g),g&2&&R(a,1)):(a=yh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&R(o,1)):(o=Ih(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ke(),U(o,1,1,()=>{o=null}),Se())},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 os(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function cC(i,e,t){const n=Jt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=vt("getUnsavedChangesModalPromise"),g=vt("openViewInModal"),{addNavHrefForAnchor:d}=e;const h=()=>{},p=()=>({get:()=>({pathParams:o}),set:I=>{}});xt(async()=>{os()}),Gn(async()=>{r||t(0,r=await Mt.getChildren(a)),t(0,r)});function b(I){c().then(()=>{if(I.openNodeInModal){const B=we.buildRoute(I,`/${I.pathSegment}`);g(B,I.openNodeInModal===!0?{}:I.openNodeInModal)}else lt.handleRouteClick(I,p())},()=>{}),v()}function m(I){b(I.detail)}function v(){n("close")}function C(I){return oe.isOpenUIiconName(I.icon)}function y(I){return oe.renderIconClassName(I)}function P(I){return St.getTranslation(I.label)}function T(I){return we.getNodeHref(I,o)}const E=I=>{oe.handleNavAnchorClickedWithoutMetaKey(I)},V=I=>b(I);return i.$$set=I=>{"isMobile"in I&&t(1,l=I.isMobile),"children"in I&&t(0,r=I.children),"node"in I&&t(7,a=I.node),"addNavHrefForAnchor"in I&&t(2,d=I.addNavHrefForAnchor)},[r,l,d,b,m,v,os,a,h,C,y,P,T,E,V]}class up extends Vt{constructor(e){super(),Dt(this,e,cC,fC,At,{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 os}}const vn={_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(lt.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=ae.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=vn._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),!!vn.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=vn.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 vn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=ae.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await ae.getConfigValueAsync("navigation.contextSwitcher.options");return await vn.generateSwitcherNav(e,t)}};function Lh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Ah(i,e,t){const n=i.slice();return n[20]=e[t],n}function Eh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Rh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vh(Eh(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=Eh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Vh(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),ct(n,l)}}}function Dh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function h(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),o=H(),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=oe.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[ne(t,"click",Pt(bC)),ne(e,"click",h)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=oe.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ze(d)}}}function Vh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Dh(i);return{c(){n&&n.c(),t=Ce()},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=Dh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Oh(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
|
-
<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 Oh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Fh(Ah(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,a){for(let r=0;r<n.length;r+=1)n[r].m(l,a);A(l,e,a)},p(l,a){if(a&4542){t=l[3];let r;for(r=0;r<t.length;r+=1){const o=Ah(l,t,r);n[r]?n[r].p(o,a):(n[r]=Fh(o),n[r].c(),n[r].m(e.parentNode,e))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){ct(n,l),l&&L(e)}}}function dC(i){return{c:He,m:He,p:He,d:He}}function hC(i){let e,t,n,l,a;function r(d,h){return d[2]?_C:gC}let o=r(i),c=o(i);function g(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=H(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=oe.getTestId(i[20]))},m(d,h){A(d,e,h),c.m(e,null),A(d,n,h),l||(a=ne(e,"click",g),l=!0)},p(d,h){i=d,o===(o=r(i))&&c?c.p(i,h):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),h&8&&t!==(t=oe.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,a()}}}function gC(i){let e,t,n=i[25]+"",l,a,r,o,c,g;return{c(){e=S("a"),t=S("span"),l=Le(n),f(t,"class","fd-menu__title"),f(e,"href",a=i[8](i[20])),f(e,"class",r="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,h){A(d,e,h),w(e,t),w(t,l),c||(g=ne(e,"click",i[15]),c=!0)},p(d,h){h&138&&n!==(n=d[25]+"")&&Ae(l,n),h&264&&a!==(a=d[8](d[20]))&&f(e,"href",a),h&154&&r!==(r="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",r),h&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,g()}}}function _C(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new ha(!1),n=Ce(),e.a=n},m(l,a){e.m(t,l,a),A(l,n,a)},p(l,a){a&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:He,m:He,p:He,d:He}}function Fh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:pC,then:hC,catch:dC,value:25};return is(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Ce(),n.block.c()},m(l,a){A(l,e,a),n.block.m(l,n.anchor=a),n.mount=()=>e.parentNode,n.anchor=e},p(l,a){i=l,n.ctx=i,a&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&is(t,n)||G_(n,i,a)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Uh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Bh(Lh(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,a){A(l,e,a);for(let r=0;r<n.length;r+=1)n[r].m(e,null)},p(l,a){if(a&10497){t=l[0];let r;for(r=0;r<t.length;r+=1){const o=Lh(l,t,r);n[r]?n[r].p(o,a):(n[r]=Bh(o),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function zh(i){let e,t,n,l=i[13](i[20].label)+"",a,r,o,c,g,d;function h(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),o=H(),f(n,"class","fd-menu__title"),f(t,"href",r=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=oe.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,a),w(e,o),g||(d=[ne(t,"click",i[17]),ne(e,"click",h)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(a,l),b&257&&r!==(r=i[8](i[20]))&&f(t,"href",r),b&1&&c!==(c=oe.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ze(d)}}}function Bh(i){let e,t=i[20].position==="bottom"&&zh(i);return{c(){t&&t.c(),e=Ce()},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=zh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function mC(i){let e,t,n,l,a,r,o=i[0]&&i[0].length&&Rh(i),c=i[3]&&i[3].length===0&&i[10]&&Mh(),g=i[3]&&i[3].length&&Oh(i),d=i[0]&&i[0].length&&Uh(i);return{c(){e=S("nav"),o&&o.c(),t=H(),n=S("ul"),c&&c.c(),l=H(),g&&g.c(),a=H(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",r="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(h,p){A(h,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,a),d&&d.m(e,null)},p(h,[p]){h[0]&&h[0].length?o?o.p(h,p):(o=Rh(h),o.c(),o.m(e,t)):o&&(o.d(1),o=null),h[3]&&h[3].length===0&&h[10]?c||(c=Mh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),h[3]&&h[3].length?g?g.p(h,p):(g=Oh(h),g.c(),g.m(n,null)):g&&(g.d(1),g=null),h[0]&&h[0].length?d?d.p(h,p):(d=Uh(h),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&r!==(r="fd-menu lui-ctx-switch-nav "+(h[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",r)},i:He,o:He,d(h){h&&L(e),o&&o.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}const bC=()=>{};function vC(i,e,t){let n,l=He,a=()=>(l(),l=Oo(v,D=>t(13,n=D)),v);i.$$.on_destroy.push(()=>l());let{actions:r=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:d}=e,{selectedOption:h}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;a();let{isContextSwitcherDropdownShown:C}=e;const y=Jt();function P(D){y("onActionClick",{node:D})}function T(D,q){y("goToOption",{option:D,selectedOption:q})}const E=D=>P(D),V=D=>{oe.handleNavAnchorClickedWithoutMetaKey(D)},I=D=>T(D,h),B=D=>{oe.handleNavAnchorClickedWithoutMetaKey(D)},M=D=>P(D);return i.$$set=D=>{"actions"in D&&t(0,r=D.actions),"config"in D&&t(1,o=D.config),"customOptionsRenderer"in D&&t(2,c=D.customOptionsRenderer),"options"in D&&t(3,g=D.options),"selectedLabel"in D&&t(4,d=D.selectedLabel),"selectedOption"in D&&t(5,h=D.selectedOption),"isMobile"in D&&t(6,p=D.isMobile),"getNodeName"in D&&t(7,b=D.getNodeName),"getRouteLink"in D&&t(8,m=D.getRouteLink),"getTranslation"in D&&a(t(9,v=D.getTranslation)),"isContextSwitcherDropdownShown"in D&&t(10,C=D.isContextSwitcherDropdownShown)},[r,o,c,g,d,h,p,b,m,v,C,P,T,n,E,V,I,B,M]}class fp extends Vt{constructor(e){super(),Dt(this,e,vC,mC,At,{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 Hh(i){let e,t,n,l=!i[9]&&Wh(i),a=i[9]&&i[8].contextSwitcherPopover&&i[15]&&qh(i);return{c(){l&&l.c(),e=H(),a&&a.c(),t=Ce()},m(r,o){l&&l.m(r,o),A(r,e,o),a&&a.m(r,o),A(r,t,o),n=!0},p(r,o){r[9]?l&&(ke(),U(l,1,1,()=>{l=null}),Se()):l?(l.p(r,o),o[0]&512&&R(l,1)):(l=Wh(r),l.c(),R(l,1),l.m(e.parentNode,e)),r[9]&&r[8].contextSwitcherPopover&&r[15]?a?(a.p(r,o),o[0]&33536&&R(a,1)):(a=qh(r),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),U(a,1,1,()=>{a=null}),Se())},i(r){n||(R(l),R(a),n=!0)},o(r){U(l),U(a),n=!1},d(r){l&&l.d(r),r&&L(e),a&&a.d(r),r&&L(t)}}}function Wh(i){let e,t,n,l,a,r,o,c,g,d;function h(m,v){return m[10]&&m[2]!==m[5].defaultLabel?kC:wC}let p=h(i),b=p(i);return r=new fp({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]}}),r.$on("onActionClick",i[11]),r.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=H(),a=S("div"),Ue(r.$$.fragment),f(n,"class","fd-popover__control"),f(a,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(a,"aria-hidden",o=!i[8].contextSwitcherPopover),f(a,"id","contextSwitcherPopover"),f(a,"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,a),Oe(r,a,null),c=!0,g||(d=ne(n,"click",Ut(EC)),g=!0)},p(m,v){p===(p=h(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]),r.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(a,"aria-hidden",o)},i(m){c||(R(r.$$.fragment,m),c=!0)},o(m){U(r.$$.fragment,m),c=!1},d(m){m&&L(e),b.d(),Fe(r),g=!1,d()}}}function wC(i){let e,t,n,l,a,r;function o(d,h){return d[2]&&d[7]?CC:SC}let c=o(i),g=c(i);return{c(){e=S("button"),g.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,h){A(d,e,h),g.m(e,null),a||(r=ne(e,"click",i[29]),a=!0)},p(d,h){c===(c=o(d))&&g?g.p(d,h):(g.d(1),g=c(d),g&&(g.c(),g.m(e,null))),h[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),h[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),h[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),g.d(),a=!1,r()}}}function kC(i){let e,t,n,l,a,r,o;function c(h,p){return h[2]&&h[7]?TC:NC}let g=c(i),d=g(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",a=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,p){A(h,e,p),d.m(e,null),r||(o=ne(e,"click",Pt(i[28])),r=!0)},p(h,p){g===(g=c(h))&&d?d.p(h,p):(d.d(1),d=g(h),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=h[2]?h[19](h[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&a!==(a=!h[15])&&f(e,"aria-disabled",a)},d(h){h&&L(e),d.d(),r=!1,o()}}}function SC(i){let e,t;function n(r,o){return r[4]?yC:PC}let l=n(i),a=l(i);return{c(){a.c(),e=H(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(r,o){a.m(r,o),A(r,e,o),A(r,t,o)},p(r,o){l===(l=n(r))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(e.parentNode,e)))},d(r){a.d(r),r&&L(e),r&&L(t)}}}function CC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new ha(!1),n=Ce(),e.a=n},m(l,a){e.m(t,l,a),A(l,n,a)},p(l,a){a[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function yC(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function PC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function NC(i){let e,t;function n(r,o){return r[4]?IC:LC}let l=n(i),a=l(i);return{c(){a.c(),e=H(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(r,o){a.m(r,o),A(r,e,o),A(r,t,o)},p(r,o){l===(l=n(r))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(e.parentNode,e)))},d(r){a.d(r),r&&L(e),r&&L(t)}}}function TC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new ha(!1),n=Ce(),e.a=n},m(l,a){e.m(t,l,a),A(l,n,a)},p(l,a){a[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function IC(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function LC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function qh(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v,C,y,P,T=!i[4]&&Gh(i),E=i[4]&&Kh(i);return d=new fp({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"),a=S("div"),r=S("h2"),T&&T.c(),o=H(),E&&E.c(),c=H(),g=S("div"),Ue(d.$$.fragment),h=H(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(r,"class","fd-title fd-title--h5"),f(r,"id","dialog-title-3"),f(a,"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-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,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,a),w(a,r),T&&T.m(r,null),w(r,o),E&&E.m(r,null),w(t,c),w(t,g),Oe(d,g,null),w(t,h),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ne(v,"click",i[13]),ne(e,"click",Ut(RC))],y=!0)},p(V,I){V[4]?T&&(T.d(1),T=null):T?T.p(V,I):(T=Gh(V),T.c(),T.m(r,o)),V[4]?E?E.p(V,I):(E=Kh(V),E.c(),E.m(r,null)):E&&(E.d(1),E=null);const B={};I[0]&1&&(B.actions=V[0]),I[0]&32&&(B.config=V[5]),I[0]&64&&(B.customOptionsRenderer=V[6]),I[0]&2&&(B.options=V[1]),I[0]&16&&(B.selectedLabel=V[4]),I[0]&4&&(B.selectedOption=V[2]),I[0]&512&&(B.isMobile=V[9]),I[0]&16384&&(B.isContextSwitcherDropdownShown=V[14]),d.$set(B)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),T&&T.d(),E&&E.d(),Fe(d),y=!1,Ze(P)}}}function Gh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function Kh(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function AC(i){let e,t,n=i[3]&&Hh(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[3]?n?(n.p(l,a),a[0]&8&&R(n,1)):(n=Hh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const EC=()=>{},RC=()=>{};function DC(i,e,t){let n,l;const a=Jt();let{contextSwitcherEnabled:r=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:d=[]}=e,{options:h=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:T=!1}=e,{defaultLabel:E}=e,V,I=vt("getUnsavedChangesModalPromise"),B=vt("store"),M=vt("getTranslation");wi(i,M,ae=>t(16,l=ae));let D=!1,{addNavHrefForAnchor:q}=e,X;xt(async()=>{dn.doOnStoreChange(B,async()=>{const ae=re.getConfigValue("navigation.contextSwitcher");if(t(3,r=!!ae),!!r&&(t(6,C=le.isFunction(ae.customOptionsRenderer)?ae.customOptionsRenderer:void 0),t(7,y=le.isFunction(ae.customSelectedOptionRenderer)?ae.customSelectedOptionRenderer:void 0),t(5,g=ae),t(1,h=void 0),ae)){t(27,p=ae.alwaysShowDropdown!==!1),t(0,d=await re.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=lt.getCurrentPath();t(20,m=ae.fallbackLabelResolver),vn.resetFallbackLabelCache(),ae.lazyloadOptions||await x(),vn.isContextSwitcherDetailsView(Re,ae.parentNodePath)&&await K(Re)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(ae=>K(ae)),Mn.addEventListener("message",ae=>{Ee.getValidMessageSource(ae)&&ae.data&&ae.data.msg==="luigi.refresh-context-switcher"&&(t(1,h=null),x())}),t(21,E=g.defaultLabel)}),Gn(()=>{D!==T&&(D=T,x()),t(14,X=o.contextSwitcherPopover||!1)});function Q(ae,Re,We){return ae?Promise.resolve(ae):vn.getFallbackLabel(Re,We)}function ce(ae){return we.getNodeHref(ae,v)}async function x(){t(1,h=await vn.fetchOptions(h));const ae=g||{},Re=ae.parentNodePath,We=ae.fallbackLabelResolver,te=lt.getCurrentPath();t(2,b=await vn.getSelectedOption(te,h,Re)),t(4,c=await vn.getSelectedLabel(te,h,Re,We)),await vn.getSelectedNode(te,h,Re),V=ae.preserveSubPathOnSwitch}async function K(ae){const Re=g||{},We=Re.parentNodePath,te=Re.fallbackLabelResolver;t(2,b=await vn.getSelectedOption(ae,h,We)),t(4,c=await vn.getSelectedLabel(ae,h,We,te)),await vn.getSelectedNode(ae,h,We)}async function J(ae){let Re=ae.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{j(Re.link)}),P&&a("toggleDropdownState"))}function j(ae){I().then(()=>{lt.navigateTo(ae)},()=>{})}function _e(ae){let Re=ae.detail.option,We=ae.detail.selectedOption;I().then(()=>{V&&We?lt.navigateTo(vn.getNodePathFromCurrentPath(Re,We)):lt.navigateTo(Re.link),P&&a("toggleDropdownState")},()=>{})}function ie(){a("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&x()}const se=()=>{n&&ie()},ve=()=>{n&&ie()};return i.$$set=ae=>{"contextSwitcherEnabled"in ae&&t(3,r=ae.contextSwitcherEnabled),"dropDownStates"in ae&&t(8,o=ae.dropDownStates),"selectedLabel"in ae&&t(4,c=ae.selectedLabel),"config"in ae&&t(5,g=ae.config),"actions"in ae&&t(0,d=ae.actions),"options"in ae&&t(1,h=ae.options),"selectedOption"in ae&&t(2,b=ae.selectedOption),"fallbackLabelResolver"in ae&&t(20,m=ae.fallbackLabelResolver),"pathParams"in ae&&t(22,v=ae.pathParams),"customOptionsRenderer"in ae&&t(6,C=ae.customOptionsRenderer),"customSelectedOptionRenderer"in ae&&t(7,y=ae.customSelectedOptionRenderer),"isMobile"in ae&&t(9,P=ae.isMobile),"contextSwitcherToggle"in ae&&t(23,T=ae.contextSwitcherToggle),"defaultLabel"in ae&&t(21,E=ae.defaultLabel),"addNavHrefForAnchor"in ae&&t(10,q=ae.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||h&&h.length>1||!b)},[d,h,b,r,c,g,C,y,o,P,q,J,_e,ie,X,n,l,M,Q,ce,m,E,v,T,x,K,j,p,se,ve]}class cp extends Vt{constructor(e){super(),Dt(this,e,DC,AC,At,{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:VC}=gl;function jh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Jh(i){let e,t,n,l=!i[2]&&Yh(i),a=i[2]&&i[3].productSwitcherPopover&&xh(i);return{c(){l&&l.c(),e=H(),a&&a.c(),t=Ce()},m(r,o){l&&l.m(r,o),A(r,e,o),a&&a.m(r,o),A(r,t,o),n=!0},p(r,o){r[2]?l&&(l.d(1),l=null):l?l.p(r,o):(l=Yh(r),l.c(),l.m(e.parentNode,e)),r[2]&&r[3].productSwitcherPopover?a?(a.p(r,o),o&12&&R(a,1)):(a=xh(r),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),U(a,1,1,()=>{a=null}),Se())},i(r){n||(R(a),n=!0)},o(r){U(a),n=!1},d(r){l&&l.d(r),r&&L(e),a&&a.d(r),r&&L(t)}}}function Yh(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v,C,y;function P(B,M){return M&2&&(r=null),r==null&&(r=!!B[11](B[1])),r?OC:MC}let T=P(i,-1),E=T(i),V=i[0],I=[];for(let B=0;B<V.length;B+=1)I[B]=$h(jh(i,V,B));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),a=S("button"),E.c(),d=H(),h=S("div"),p=S("div"),b=S("ul");for(let B=0;B<I.length;B+=1)I[B].c();f(a,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(a,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(a,"aria-haspopup","true"),f(a,"title",c=i[1].label),f(a,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=ei(i[9])+" svelte-156h3yc"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",v=!i[3].productSwitcherPopover),f(h,"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(B,M){A(B,e,M),w(e,t),w(t,n),w(n,l),w(l,a),E.m(a,null),w(n,d),w(n,h),w(h,p),w(p,b);for(let D=0;D<I.length;D+=1)I[D].m(b,null);C||(y=[ne(a,"click",Ut(i[7])),ne(l,"click",Ut(GC))],C=!0)},p(B,M){if(T===(T=P(B,M))&&E?E.p(B,M):(E.d(1),E=T(B),E&&(E.c(),E.m(a,null))),M&8&&o!==(o=B[3].productSwitcherPopover||!1)&&f(a,"aria-expanded",o),M&2&&c!==(c=B[1].label)&&f(a,"title",c),M&2&&g!==(g=B[14](B[1]))&&f(a,"data-testid",g),M&64561){V=B[0];let D;for(D=0;D<V.length;D+=1){const q=jh(B,V,D);I[D]?I[D].p(q,M):(I[D]=$h(q),I[D].c(),I[D].m(b,null))}for(;D<I.length;D+=1)I[D].d(1);I.length=V.length}M&512&&m!==(m=ei(B[9])+" svelte-156h3yc")&&f(p,"class",m),M&8&&v!==(v=!B[3].productSwitcherPopover)&&f(h,"aria-hidden",v)},d(B){B&&L(e),E.d(),ct(I,B),C=!1,Ze(y)}}}function MC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,a){A(l,e,a)},p(l,a){a&2&&!Xe(e.src,t=l[1].icon)&&f(e,"src",t),a&2&&n!==(n=l[1].altText?l[1].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="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 Qh(i){let e,t,n,l,a,r;function o(h,p){return h[4]?UC:FC}let c=o(i),g=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),g.c(),t=H(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(h,p){A(h,e,p),g.m(e,null),w(e,t),a||(r=ne(e,"click",d),a=!0)},p(h,p){i=h,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.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(h){h&&L(e),g.d(),a=!1,r()}}}function FC(i){let e,t,n,l,a,r=i[12](i[22])+"",o,c,g=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?BC:zC}let h=d(i,-1),p=h(i),b=g&&Zh(i);return{c(){e=S("div"),p.c(),n=H(),l=S("div"),a=S("div"),o=Le(r),c=H(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"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,a),w(a,o),w(l,c),b&&b.m(l,null)},p(m,v){h===(h=d(m,v))&&p?p.p(m,v):(p.d(1),p=h(m),p&&(p.c(),p.m(e,null))),v&1&&r!==(r=m[12](m[22])+"")&&Ae(o,r),v&1&&(g=m[13](m[22])),g?b?b.p(m,v):(b=Zh(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 UC(i){let e,t,n,l,a,r,o=i[12](i[22])+"",c,g,d=i[13](i[22]),h,p,b;function m(P,T){return T&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?WC:HC}let v=m(i,-1),C=v(i),y=d&&Xh(i);return{c(){e=S("a"),t=S("div"),C.c(),l=H(),a=S("div"),r=S("div"),c=Le(o),g=H(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(a,"class","fd-product-switch__text"),f(e,"href",h=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,T){A(P,e,T),w(e,t),C.m(t,null),w(e,l),w(e,a),w(a,r),w(r,c),w(a,g),y&&y.m(a,null),p||(b=ne(e,"click",i[16]),p=!0)},p(P,T){v===(v=m(P,T))&&C?C.p(P,T):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),T&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),T&1&&(d=P[13](P[22])),d?y?y.p(P,T):(y=Xh(P),y.c(),y.m(a,null)):y&&(y.d(1),y=null),T&1&&h!==(h=P[15](P[22]))&&f(e,"href",h)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function zC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,a){A(l,e,a)},p(l,a){a&1&&!Xe(e.src,t=l[22].icon)&&f(e,"src",t),a&1&&n!==(n=l[22].altText?l[22].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[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 Zh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-product-switch__subtitle")},m(l,a){A(l,e,a),w(e,n)},p(l,a){a&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function HC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,a){A(l,e,a)},p(l,a){a&1&&!Xe(e.src,t=l[22].icon)&&f(e,"src",t),a&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function WC(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 Xh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Le(t),f(e,"class","fd-product-switch__subtitle")},m(l,a){A(l,e,a),w(e,n)},p(l,a){a&1&&t!==(t=l[13](l[22])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function $h(i){let e,t=i[22].label&&Qh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Qh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function xh(i){let e,t;return e=new op({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(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l&1&&(a.nodes=n[0]),l&2&&(a.label=n[1].label),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function qC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,a,r=e&&Jh(i);return{c(){r&&r.c(),t=Ce()},m(o,c){r&&r.m(o,c),A(o,t,c),n=!0,l||(a=ne(VC,"resize",us),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?r?(r.p(o,c),c&1&&R(r,1)):(r=Jh(o),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(o){n||(R(r),n=!0)},o(o){U(r),n=!1},d(o){r&&r.d(o),o&&L(t),l=!1,a()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const GC=()=>{};function KC(i,e,t){const n=Jt();let{productSwitcherItems:l}=e,{isMobile:a}=e,{config:r}=e,{dropDownStates:o}=e,c=vt("store"),g=vt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:h}=e;xt(async()=>{dn.doOnStoreChange(c,async()=>{t(1,r=oe.getProductSwitcherConfig()),r&&(t(0,l=await re.getConfigValueAsync("navigation.productSwitcher.items")),T()),us()},["navigation.productSwitcher"])});function p(M){g().then(()=>{lt.navigateToLink(M)},()=>{}),m()}function b(M){p(M.detail)}function m(){n("toggleDropdownState")}function v(M){return oe.renderIconClassName(M)}function C(M){return oe.isOpenUIiconName(M.icon)}function y(M){return St.getTranslation(M.label)}function P(M){return St.getTranslation(M.subTitle)}function T(){oe.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function E(M){return M.testId?M.testId:oe.prepareForTests(M.label)}function V(M){return we.getNodeHref(M)}const I=M=>{oe.handleNavAnchorClickedWithoutMetaKey(M)},B=M=>p(M);return i.$$set=M=>{"productSwitcherItems"in M&&t(0,l=M.productSwitcherItems),"isMobile"in M&&t(2,a=M.isMobile),"config"in M&&t(1,r=M.config),"dropDownStates"in M&&t(3,o=M.dropDownStates),"addNavHrefForAnchor"in M&&t(4,h=M.addNavHrefForAnchor)},[l,r,a,o,h,p,b,m,us,d,v,C,y,P,E,V,I,B]}class dp extends Vt{constructor(e){super(),Dt(this,e,KC,qC,At,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return us}}function eg(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function jC(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,a){A(l,e,a),i[18](e),e.focus(),t||(n=ne(e,"keyup",i[17]),t=!0)},p:He,d(l){l&&L(e),i[18](null),t=!1,n()}}}function JC(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:He,d(t){t&&L(e)}}}function YC(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[22](e)},p:He,d(t){t&&L(e),i[22](null)}}}function QC(i){let e,t,n,l=i[5]&&tg(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[0])},m(a,r){A(a,e,r),w(e,t),l&&l.m(t,null)},p(a,r){a[5]?l?l.p(a,r):(l=tg(a),l.c(),l.m(t,null)):l&&(l.d(1),l=null),r[0]&1&&n!==(n=!a[0])&&f(e,"aria-hidden",n)},d(a){a&&L(e),l&&l.d()}}}function tg(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=ng(eg(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,a){A(l,e,a);for(let r=0;r<n.length;r+=1)n[r].m(e,null);i[21](e)},p(l,a){if(a[0]&26152){t=l[5];let r;for(r=0;r<t.length;r+=1){const o=eg(l,t,r);n[r]?n[r].p(o,a):(n[r]=ng(o),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l),i[21](null)}}}function ZC(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new ha(!1),n=Ce(),e.a=n},m(l,a){e.m(t,l,a),A(l,n,a)},p(l,a){a[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function XC(i){let e,t,n,l=i[30].label+"",a,r,o,c=i[30].description+"",g,d,h;return{c(){e=S("a"),t=S("div"),n=S("div"),a=Le(l),r=H(),o=S("div"),g=Le(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,a),w(t,r),w(t,o),w(o,g),d||(h=ne(e,"click",Pt(xC)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[30].label+"")&&Ae(a,l),b[0]&32&&c!==(c=p[30].description+"")&&Ae(g,c)},d(p){p&&L(e),d=!1,h()}}}function ng(i){let e,t,n,l;function a(d,h){return d[9]?ZC:XC}let r=a(i),o=r(i);function c(...d){return i[19](i[30],...d)}function g(...d){return i[20](i[30],...d)}return{c(){e=S("li"),o.c(),t=H(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,h){A(d,e,h),o.m(e,null),w(e,t),n||(l=[ne(e,"click",c),ne(e,"keyup",g)],n=!0)},p(d,h){i=d,r===(r=a(i))&&o?o.p(i,h):(o.d(1),o=r(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Ze(l)}}}function $C(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v,C,y;function P(M,D){return M[7]&&M[7].disableInputHandlers?JC:jC}let T=P(i),E=T(i);function V(M,D){return M[8]?YC:QC}let I=V(i),B=I(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),E.c(),a=H(),r=S("div"),o=H(),B.c(),d=H(),h=S("div"),p=S("div"),b=S("button"),m=S("i"),f(r,"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[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",g="fd-shellbar__action "+(i[4]?"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[4]),f(b,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(M,D){A(M,e,D),w(e,t),w(t,n),w(n,l),E.m(l,null),w(l,a),w(l,r),w(n,o),B.m(n,null),A(M,d,D),A(M,h,D),w(h,p),w(p,b),w(b,m),C||(y=[ne(window,"click",i[11]),ne(window,"blur",i[11]),ne(n,"click",Ut(e3)),ne(b,"click",i[6]),ne(p,"click",Ut(t3))],C=!0)},p(M,D){T===(T=P(M))&&E?E.p(M,D):(E.d(1),E=T(M),E&&(E.c(),E.m(l,a))),I===(I=V(M))&&B?B.p(M,D):(B.d(1),B=I(M),B&&(B.c(),B.m(n,null))),D[0]&16&&c!==(c=!M[4])&&f(n,"aria-hidden",c),D[0]&16&&g!==(g="fd-shellbar__action "+(M[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",g),D[0]&16&&v!==(v=!M[4])&&f(b,"aria-expanded",v)},i:He,o:He,d(M){M&&L(e),E.d(),B.d(),M&&L(d),M&&L(h),C=!1,Ze(y)}}}const xC=()=>{},e3=()=>{},t3=()=>{};function n3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:a}=e,{inputElem:r}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Jt(),h={fireItemSelected:j=>{p.searchProvider.onSearchResultItemSelected(j)}};let p={},b,m;xt(async()=>{t(7,p=g);let j=r;const _e=C(p.searchProvider);_e&&(j.placeholder=_e),v()}),Gn(()=>{t(7,p=g),v()});function v(){p.searchProvider&&(t(8,b=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function C(j){if(!j||!j.inputPlaceholder)return;const _e=St.getCurrentLocale();if(le.isFunction(j.inputPlaceholder))return j.inputPlaceholder();if(typeof j.inputPlaceholder=="string"){const ie=St.getTranslation(j.inputPlaceholder);return ie&&ie.trim().length>0?ie:j.inputPlaceholder}if(typeof j.inputPlaceholder=="object")return j.inputPlaceholder[_e]}function y(j,_e,ie){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(j,_e.children[ie],h)}),""}function P(){d("closeSearchResult")}function T({keyCode:j}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&j===vi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&j===mi?p.searchProvider.onEscape():j===Hi?a&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function E(j){let _e=c.children;if(_e)for(let ie=0;ie<_e.length;ie++){let{childNodes:se,nextSibling:ve,previousSibling:ae}=_e[ie],Re;if(se[0].getAttribute("aria-selected")==="true"){j===Hi&&(Re=ve!==null?ve:_e[0]),j===Ml&&(Re=ae!==null?ae:_e[_e.length-1]),se[0].setAttribute("aria-selected","false"),Re.childNodes[0].setAttribute("aria-selected","true"),Re.focus();break}}}function V(){let j=c.children;if(j)for(let _e=0;_e<j.length;_e++){let ie=j[_e];ie.childNodes[0].getAttribute("aria-selected")==="true"&&ie.childNodes[0].setAttribute("aria-selected","false")}}function I(j){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(j):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===mi&&p.searchProvider.onEscape()}function B(j,{keyCode:_e}){_e===vi&&p.searchProvider.onSearchResultItemSelected(j),_e===Ml||_e===Hi?E(_e):le.isFunction(p.searchProvider.onEscape)&&_e===mi&&(V(),setTimeout(()=>{r.focus()}),p.searchProvider.onEscape())}function M(j){let _e=j.pathObject;_e.externalLink?lt.navigateToLink(_e):d("handleSearchNavigation",{node:_e})}function D(){r&&r.focus()}function q(){if(n?t(0,a=!1):setTimeout(()=>{D()}),d("toggleSearch",{isSearchFieldVisible:n,inputElem:r,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const j=n===void 0?!0:!n;p.searchProvider.toggleSearch(r,j)}}const X=j=>T(j);function Q(j){Je[j?"unshift":"push"](()=>{r=j,t(1,r)})}const ce=(j,_e)=>I(j),x=(j,_e)=>B(j,_e);function K(j){Je[j?"unshift":"push"](()=>{c=j,t(3,c)})}function J(j){Je[j?"unshift":"push"](()=>{o=j,t(2,o)})}return i.$$set=j=>{"isSearchFieldVisible"in j&&t(4,n=j.isSearchFieldVisible),"searchResult"in j&&t(5,l=j.searchResult),"displaySearchResult"in j&&t(0,a=j.displaySearchResult),"inputElem"in j&&t(1,r=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(2,o=j.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in j&&t(3,c=j.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in j&&t(15,g=j.globalSearchConfig)},[a,r,o,c,n,l,q,p,b,m,y,P,T,I,B,g,M,X,Q,ce,x,K,J]}class i3 extends Vt{constructor(e){super(),Dt(this,e,n3,$C,At,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function ig(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function l3(i){let e,t,n,l,a,r,o,c,g,d,h;return{c(){e=S("input"),t=H(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',a=H(),r=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=H(),g=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(r,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(g,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[24](e),A(p,t,b),A(p,n,b),w(n,l),A(p,a,b),A(p,r,b),w(r,o),A(p,c,b),A(p,g,b),d||(h=[ne(e,"keyup",i[23]),ne(e,"input",i[25]),ne(l,"click",i[18]),ne(o,"click",i[16])],d=!0)},p:He,d(p){p&&L(e),i[24](null),p&&L(t),p&&L(n),p&&L(a),p&&L(r),p&&L(c),p&&L(g),d=!1,Ze(h)}}}function a3(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:He,d(t){t&&L(e)}}}function r3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[29](e)},p:He,d(t){t&&L(e),i[29](null)}}}function s3(i){let e,t,n,l=i[4]&&lg(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[0])},m(a,r){A(a,e,r),w(e,t),l&&l.m(t,null)},p(a,r){a[4]?l?l.p(a,r):(l=lg(a),l.c(),l.m(t,null)):l&&(l.d(1),l=null),r[0]&1&&n!==(n=!a[0])&&f(e,"aria-hidden",n)},d(a){a&&L(e),l&&l.d()}}}function lg(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ag(ig(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,a){A(l,e,a);for(let r=0;r<n.length;r+=1)n[r].m(e,null);i[28](e)},p(l,a){if(a[0]&1582104){t=l[4];let r;for(r=0;r<t.length;r+=1){const o=ig(l,t,r);n[r]?n[r].p(o,a):(n[r]=ag(o),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l),i[28](null)}}}function o3(i){let e,t=i[13](i[39],i[3],i[41])+"",n;return{c(){e=new ha(!1),n=Ce(),e.a=n},m(l,a){e.m(t,l,a),A(l,n,a)},p(l,a){a[0]&24&&t!==(t=l[13](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function u3(i){let e,t,n,l=i[39].label+"",a,r,o,c=i[39].description+"",g,d,h;return{c(){e=S("a"),t=S("div"),n=S("div"),a=Le(l),r=H(),o=S("div"),g=Le(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,a),w(t,r),w(t,o),w(o,g),d||(h=ne(e,"click",Pt(c3)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[39].label+"")&&Ae(a,l),b[0]&16&&c!==(c=p[39].description+"")&&Ae(g,c)},d(p){p&&L(e),d=!1,h()}}}function ag(i){let e,t,n,l;function a(d,h){return d[10]?o3:u3}let r=a(i),o=r(i);function c(...d){return i[26](i[39],...d)}function g(...d){return i[27](i[39],...d)}return{c(){e=S("li"),o.c(),t=H(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,h){A(d,e,h),o.m(e,null),w(e,t),n||(l=[ne(e,"click",c),ne(e,"keyup",g)],n=!0)},p(d,h){i=d,r===(r=a(i))&&o?o.p(i,h):(o.d(1),o=r(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Ze(l)}}}function rg(i){let e,t,n,l,a,r,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",a=!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,g){A(c,e,g),w(e,t),w(t,n),w(n,l),r||(o=[ne(n,"click",i[6]),ne(t,"click",Ut(h3))],r=!0)},p(c,g){g[0]&32&&a!==(a=!c[5])&&f(n,"aria-expanded",a)},d(c){c&&L(e),r=!1,Ze(o)}}}function sg(i){let e,t,n=i[11](i[7])+"",l,a,r,o,c;return{c(){e=S("div"),t=S("button"),l=Le(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",a=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",r="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(g,d){A(g,e,d),w(e,t),w(t,l),o||(c=ne(t,"click",Ut(i[30])),o=!0)},p(g,d){d[0]&2176&&n!==(n=g[11](g[7])+"")&&Ae(l,n),d[0]&32&&a!==(a=!g[5])&&f(t,"aria-expanded",a),d[0]&32&&r!==(r="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",r)},d(g){g&&L(e),o=!1,c()}}}function f3(i){let e,t,n,l,a,r,o,c,g,d,h,p;function b(V,I){return V[8]&&V[8].disableInputHandlers?a3:l3}let m=b(i),v=m(i);function C(V,I){return V[9]?r3:s3}let y=C(i),P=y(i),T=!i[5]&&rg(i),E=i[5]&&sg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),a=H(),P.c(),c=H(),T&&T.c(),g=H(),E&&E.c(),d=Ce(),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",r=!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,I){A(V,e,I),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,a),P.m(n,null),A(V,c,I),T&&T.m(V,I),A(V,g,I),E&&E.m(V,I),A(V,d,I),h||(p=[ne(window,"click",i[14]),ne(window,"blur",i[14]),ne(n,"click",Ut(d3))],h=!0)},p(V,I){m===(m=b(V))&&v?v.p(V,I):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,I):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),I[0]&32&&r!==(r=!V[5])&&f(n,"aria-hidden",r),I[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]?T&&(T.d(1),T=null):T?T.p(V,I):(T=rg(V),T.c(),T.m(g.parentNode,g)),V[5]?E?E.p(V,I):(E=sg(V),E.c(),E.m(d.parentNode,d)):E&&(E.d(1),E=null)},i:He,o:He,d(V){V&&L(e),v.d(),P.d(),V&&L(c),T&&T.d(V),V&&L(g),E&&E.d(V),V&&L(d),h=!1,Ze(p)}}}const c3=()=>{},d3=()=>{},h3=()=>{};function g3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:a}=e,{inputElem:r}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Jt(),h={fireItemSelected:te=>{m.searchProvider.onSearchResultItemSelected(te)}};let p=dl.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,m={},v,C,y=vt("getTranslation");wi(i,y,te=>t(11,n=te)),xt(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let te=r;const de=T(m.searchProvider);de&&(te.placeholder=de),P(),Kf.handleVisibilityGlobalSearch();const Te=document.querySelector(".lui-global-search");Te&&new ResizeObserver(ze=>{Kf.handleVisibilityGlobalSearch()}).observe(Te)}),Gn(()=>{t(8,m=g),P(),M()});function P(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,C=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function T(te){if(!te||!te.inputPlaceholder)return;const de=St.getCurrentLocale();if(le.isFunction(te.inputPlaceholder))return te.inputPlaceholder();if(typeof te.inputPlaceholder=="string"){const Te=St.getTranslation(te.inputPlaceholder);return Te&&Te.trim().length>0?Te:te.inputPlaceholder}if(typeof te.inputPlaceholder=="object")return te.inputPlaceholder[de]}function E(te,de,Te){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(te,de.children[Te],h)}),""}function V(){d("closeSearchResult")}function I({keyCode:te}){m?le.isFunction(m.searchProvider.onEnter)&&te===vi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&te===mi?m.searchProvider.onEscape():te===Hi?a&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function B(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function M(){r&&r.value}function D(){t(1,r.value="",r),V()}function q(te){let de=c.children;if(de)for(let Te=0;Te<de.length;Te++){let{childNodes:tt,nextSibling:ze,previousSibling:at}=de[Te],Ct;if(tt[0].getAttribute("aria-selected")==="true"){te===Hi&&(Ct=ze!==null?ze:de[0]),te===Ml&&(Ct=at!==null?at:de[de.length-1]),tt[0].setAttribute("aria-selected","false"),Ct.childNodes[0].setAttribute("aria-selected","true"),Ct.focus();break}}}function X(){let te=c.children;if(te)for(let de=0;de<te.length;de++){let Te=te[de];Te.childNodes[0].getAttribute("aria-selected")==="true"&&Te.childNodes[0].setAttribute("aria-selected","false")}}function Q(te){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(te):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===mi&&m.searchProvider.onEscape()}function ce(te,{keyCode:de}){de===vi&&m.searchProvider.onSearchResultItemSelected(te),de===Ml||de===Hi?q(de):le.isFunction(m.searchProvider.onEscape)&&de===mi&&(X(),setTimeout(()=>{r.focus()}),m.searchProvider.onEscape())}function x(te){let de=te.pathObject;de.externalLink?lt.navigateToLink(de):d("handleSearchNavigation",{node:de})}function K(){r&&r.focus()}function J(){if(b?t(0,a=!1):setTimeout(()=>{K()}),d("toggleSearch",{isSearchFieldVisible:b,inputElem:r,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const te=b===void 0?!0:!b;m.searchProvider.toggleSearch(r,te)}}const j=te=>I(te);function _e(te){Je[te?"unshift":"push"](()=>{r=te,t(1,r)})}const ie=()=>M(),se=(te,de)=>Q(te),ve=(te,de)=>ce(te,de);function ae(te){Je[te?"unshift":"push"](()=>{c=te,t(3,c)})}function Re(te){Je[te?"unshift":"push"](()=>{o=te,t(2,o)})}const We=()=>J();return i.$$set=te=>{"searchResult"in te&&t(4,l=te.searchResult),"displaySearchResult"in te&&t(0,a=te.displaySearchResult),"inputElem"in te&&t(1,r=te.inputElem),"luigiCustomSearchRenderer__slot"in te&&t(2,o=te.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in te&&t(3,c=te.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in te&&t(21,g=te.globalSearchConfig),"isSearchFieldVisible"in te&&t(5,b=te.isSearchFieldVisible)},[a,r,o,c,l,b,J,p,m,v,C,n,y,E,V,I,B,M,D,Q,ce,g,x,j,_e,ie,se,ve,ae,Re,We]}class _3 extends Vt{constructor(e){super(),Dt(this,e,g3,f3,At,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:21,isSearchFieldVisible:5,onActionClick:22,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[22]}get toggleSearch(){return this.$$.ctx[6]}}function og(i){let e,t;function n(r,o){return o&1&&(e=null),e==null&&(e=!!r[1](r[0])),e?m3:p3}let l=n(i,-1),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function p3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),Xe(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,a){A(l,e,a)},p(l,a){a&1&&!Xe(e.src,t=l[0].icon)&&f(e,"src",t),a&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function m3(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 ug(i){let e,t=i[3](i[0])+"",n,l,a,r;return a=new ti({props:{node:i[0]}}),{c(){e=S("span"),n=Le(t),l=H(),Ue(a.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Oe(a,e,null),r=!0},p(o,c){(!r||c&1)&&t!==(t=o[3](o[0])+"")&&Ae(n,t);const g={};c&1&&(g.node=o[0]),a.$set(g)},i(o){r||(R(a.$$.fragment,o),r=!0)},o(o){U(a.$$.fragment,o),r=!1},d(o){o&&L(e),Fe(a)}}}function b3(i){let e,t,n,l=i[0].icon&&og(i),a=(!i[0].icon||i[0].showLabel)&&ug(i);return{c(){l&&l.c(),e=H(),a&&a.c(),t=Ce()},m(r,o){l&&l.m(r,o),A(r,e,o),a&&a.m(r,o),A(r,t,o),n=!0},p(r,[o]){r[0].icon?l?l.p(r,o):(l=og(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!r[0].icon||r[0].showLabel?a?(a.p(r,o),o&1&&R(a,1)):(a=ug(r),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),U(a,1,1,()=>{a=null}),Se())},i(r){n||(R(a),n=!0)},o(r){U(a),n=!1},d(r){l&&l.d(r),r&&L(e),a&&a.d(r),r&&L(t)}}}function v3(i,e,t){let{node:n}=e;function l(o){return oe.isOpenUIiconName(o.icon)}function a(o){return oe.renderIconClassName(o)}function r(o){return oe.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,a,r]}class zo extends Vt{constructor(e){super(),Dt(this,e,v3,b3,At,{node:0})}}const{Boolean:hp,window:fg}=gl;function cg(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function dg(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function w3(i){let e,t;return e=new sp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&134217728&&(a.addNavHrefForAnchor=n[27]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function k3(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&hg(i);function v(I){i[56](I)}let C={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new US({props:C}),Je.push(()=>bt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&gg(i),P=(!i[0]||i[1])&&_g(i),T=(i[18]||i[7]&&i[29].length>0)&&mg(i),E=(i[0]||i[16])&&Dg(i),V=i[12]&&Vg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=H(),Ue(l.$$.fragment),r=H(),y&&y.c(),o=H(),c=S("div"),P&&P.c(),g=H(),T&&T.c(),d=H(),E&&E.c(),h=H(),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(I,B){A(I,e,B),w(e,t),m&&m.m(t,null),w(t,n),Oe(l,t,null),w(e,r),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),T&&T.m(c,null),w(c,d),E&&E.m(c,null),w(c,h),V&&V.m(c,null),b=!0},p(I,B){I[3]==="simple"||I[3]==="simpleMobileOnly"||I[3]==="Fiori3"?m?m.p(I,B):(m=hg(I),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const M={};B[0]&536870912&&(M.pathData=I[29]),B[0]&1073741824&&(M.pathParams=I[30]),B[0]&134217728&&(M.addNavHrefForAnchor=I[27]),!a&&B[0]&64&&(a=!0,M.dropDownStates=I[6],mt(()=>a=!1)),l.$set(M),I[18]&&I[19]?y?(y.p(I,B),B[0]&786432&&R(y,1)):(y=gg(I),y.c(),R(y,1),y.m(e,o)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),!I[0]||I[1]?P?(P.p(I,B),B[0]&3&&R(P,1)):(P=_g(I),P.c(),R(P,1),P.m(c,g)):P&&(ke(),U(P,1,1,()=>{P=null}),Se()),I[18]||I[7]&&I[29].length>0?T?(T.p(I,B),B[0]&537133184&&R(T,1)):(T=mg(I),T.c(),R(T,1),T.m(c,d)):T&&(ke(),U(T,1,1,()=>{T=null}),Se()),I[0]||I[16]?E?(E.p(I,B),B[0]&65537&&R(E,1)):(E=Dg(I),E.c(),R(E,1),E.m(c,h)):E&&(ke(),U(E,1,1,()=>{E=null}),Se()),I[12]?V?(V.p(I,B),B[0]&4096&&R(V,1)):(V=Vg(I),V.c(),R(V,1),V.m(c,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!b||B[0]&67108868&&p!==(p="fd-shellbar "+(I[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(I[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(I){b||(R(l.$$.fragment,I),R(y),R(P),R(T),R(E),R(V),b=!0)},o(I){U(l.$$.fragment,I),U(y),U(P),U(T),U(E),U(V),b=!1},d(I){I&&L(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),T&&T.d(),E&&E.d(),V&&V.d()}}}function hg(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(a,r){A(a,e,r),w(e,t),n||(l=ne(e,"click",i[51]),n=!0)},p(a,r){r[0]&33554432&&f(e,"title",a[25])},d(a){a&&L(e),n=!1,l()}}}function gg(i){let e,t,n,l,a,r,o,c;function g(v){i[57](v)}function d(v){i[58](v)}function h(v){i[59](v)}function p(v){i[60](v)}function b(v){i[61](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.luigiCustomSearchRenderer__slot=i[22]),t=new _3({props:m}),Je.push(()=>bt(t,"isSearchFieldVisible",g,i[20])),Je.push(()=>bt(t,"searchResult",d,i[24])),Je.push(()=>bt(t,"displaySearchResult",h,i[23])),Je.push(()=>bt(t,"inputElem",p,i[21])),Je.push(()=>bt(t,"luigiCustomSearchRenderer__slot",b,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Oe(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],mt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],mt(()=>l=!1)),!a&&C[0]&8388608&&(a=!0,y.displaySearchResult=v[23],mt(()=>a=!1)),!r&&C[0]&2097152&&(r=!0,y.inputElem=v[21],mt(()=>r=!1)),!o&&C[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],mt(()=>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),Fe(t)}}}function _g(i){let e,t,n,l,a=i[18]&&!i[19]&&pg(i);function r(c){i[73](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new cp({props:o}),Je.push(()=>bt(t,"dropDownStates",r,i[6])),t.$on("toggleDropdownState",i[74]),{c(){a&&a.c(),e=H(),Ue(t.$$.fragment)},m(c,g){a&&a.m(c,g),A(c,e,g),Oe(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?a?(a.p(c,g),g[0]&786432&&R(a,1)):(a=pg(c),a.c(),R(a,1),a.m(e.parentNode,e)):a&&(ke(),U(a,1,1,()=>{a=null}),Se());const d={};g[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,d.dropDownStates=c[6],mt(()=>n=!1)),t.$set(d)},i(c){l||(R(a),R(t.$$.fragment,c),l=!0)},o(c){U(a),U(t.$$.fragment,c),l=!1},d(c){a&&a.d(c),c&&L(e),Fe(t,c)}}}function pg(i){let e,t,n,l,a,r,o;function c(m){i[65](m)}function g(m){i[66](m)}function d(m){i[67](m)}function h(m){i[68](m)}function p(m){i[69](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.luigiCustomSearchRenderer__slot=i[22]),e=new i3({props:b}),Je.push(()=>bt(e,"isSearchFieldVisible",c,i[20])),Je.push(()=>bt(e,"searchResult",g,i[24])),Je.push(()=>bt(e,"displaySearchResult",d,i[23])),Je.push(()=>bt(e,"inputElem",h,i[21])),Je.push(()=>bt(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[70]),e.$on("handleSearchNavigation",i[71]),e.$on("closeSearchResult",i[72]),{c(){Ue(e.$$.fragment)},m(m,v){Oe(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],mt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],mt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],mt(()=>l=!1)),!a&&v[0]&2097152&&(a=!0,C.inputElem=m[21],mt(()=>a=!1)),!r&&v[0]&4194304&&(r=!0,C.luigiCustomSearchRenderer__slot=m[22],mt(()=>r=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function mg(i){let e,t,n,l=i[7]&&i[29].length>0&&bg(i),a=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&Sg(i);return{c(){l&&l.c(),e=H(),a&&a.c(),t=Ce()},m(r,o){l&&l.m(r,o),A(r,e,o),a&&a.m(r,o),A(r,t,o),n=!0},p(r,o){r[7]&&r[29].length>0?l?(l.p(r,o),o[0]&536871040&&R(l,1)):(l=bg(r),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ke(),U(l,1,1,()=>{l=null}),Se()),r[9]-r[10]>0||r[12]||r[45]||r[18]?a?(a.p(r,o),o[0]&267776|o[1]&16384&&R(a,1)):(a=Sg(r),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),U(a,1,1,()=>{a=null}),Se())},i(r){n||(R(l),R(a),n=!0)},o(r){U(l),U(a),n=!1},d(r){l&&l.d(r),r&&L(e),a&&a.d(r),r&&L(t)}}}function bg(i){let e,t,n=i[7],l=[];for(let r=0;r<n.length;r+=1)l[r]=kg(dg(i,n,r));const a=r=>U(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r<l.length;r+=1)l[r].c();e=Ce()},m(r,o){for(let c=0;c<l.length;c+=1)l[c].m(r,o);A(r,e,o),t=!0},p(r,o){if(o[0]&1207960032|o[1]&917584){n=r[7];let c;for(c=0;c<n.length;c+=1){const g=dg(r,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=kg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)a(c);Se()}},i(r){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(r){l=l.filter(hp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(r){ct(l,r),r&&L(e)}}}function vg(i){let e,t,n,l;const a=[C3,S3],r=[];function o(c,g){return c[106].isCat?0:1}return e=o(i),t=r[e]=a[e](i),{c(){t.c(),n=Ce()},m(c,g){r[e].m(c,g),A(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?r[e].p(c,g):(ke(),U(r[d],1,1,()=>{r[d]=null}),Se(),t=r[e],t?t.p(c,g):(t=r[e]=a[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){r[e].d(c),c&&L(n)}}}function S3(i){let e,t,n,l,a;const r=[P3,y3],o=[];function c(g,d){return g[27]?0:1}return t=c(i),n=o[t]=r[t](i),{c(){e=S("div"),n.c(),l=H(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,d){A(g,e,d),o[t].m(e,null),w(e,l),a=!0},p(g,d){let h=t;t=c(g),t===h?o[t].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=r[t](g),n.c()),R(n,1),n.m(e,l))},i(g){a||(R(n),a=!0)},o(g){U(n),a=!1},d(g){g&&L(e),o[t].d()}}}function C3(i){let e=i[106].visibleChildren.filter(Mg).length>0,t,n,l=e&&wg(i);return{c(){l&&l.c(),t=Ce()},m(a,r){l&&l.m(a,r),A(a,t,r),n=!0},p(a,r){r[0]&128&&(e=a[106].visibleChildren.filter(Mg).length>0),e?l?(l.p(a,r),r[0]&128&&R(l,1)):(l=wg(a),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ke(),U(l,1,1,()=>{l=null}),Se())},i(a){n||(R(l),n=!0)},o(a){U(l),n=!1},d(a){l&&l.d(a),a&&L(t)}}}function y3(i){let e,t,n,l,a,r,o,c,g,d,h;function p(v){i[79](v,i[106],i[109],i[108])}let b={};i[106]!==void 0&&(b.node=i[106]),t=new zo({props:b}),Je.push(()=>bt(t,"node",p,i[106])),a=new Pn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=S("button"),Ue(t.$$.fragment),l=H(),Ue(a.$$.fragment),f(e,"title",r=i[50](i[106],i[48](i[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=oe.getTestId(i[106]))},m(v,C){A(v,e,C),Oe(t,e,null),w(e,l),Oe(a,e,null),g=!0,d||(h=ne(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[106],mt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[106]),a.$set(P),(!g||C[0]&128&&r!==(r=i[50](i[106],i[48](i[106]))))&&f(e,"title",r),(!g||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!g||C[0]&128&&c!==(c=oe.getTestId(i[106])))&&f(e,"data-testid",c)},i(v){g||(R(t.$$.fragment,v),R(a.$$.fragment,v),g=!0)},o(v){U(t.$$.fragment,v),U(a.$$.fragment,v),g=!1},d(v){v&&L(e),Fe(t),Fe(a),d=!1,h()}}}function P3(i){let e,t,n,l,a,r,o,c,g,d,h,p;function b(C){i[77](C,i[106],i[109],i[108])}let m={};i[106]!==void 0&&(m.node=i[106]),t=new zo({props:m}),Je.push(()=>bt(t,"node",b,i[106])),a=new Pn({props:{node:i[106]}});function v(...C){return i[78](i[106],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=H(),Ue(a.$$.fragment),f(e,"href",r=i[49](i[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[50](i[106],i[48](i[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=oe.getTestId(i[106]))},m(C,y){A(C,e,y),Oe(t,e,null),w(e,l),Oe(a,e,null),d=!0,h||(p=ne(e,"click",v),h=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[106],mt(()=>n=!1)),t.$set(P);const T={};y[0]&128&&(T.node=i[106]),a.$set(T),(!d||y[0]&128&&r!==(r=i[49](i[106])))&&f(e,"href",r),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[50](i[106],i[48](i[106]))))&&f(e,"title",c),(!d||y[0]&128&&g!==(g=oe.getTestId(i[106])))&&f(e,"data-testid",g)},i(C){d||(R(t.$$.fragment,C),R(a.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(a.$$.fragment,C),d=!1},d(C){C&&L(e),Fe(t),Fe(a),h=!1,p()}}}function wg(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(M){i[75](M,i[106],i[109],i[108])}let I={};i[106]!==void 0&&(I.node=i[106]),a=new zo({props:I}),Je.push(()=>bt(a,"node",V,i[106])),c=new Pn({props:{node:i[106]}});function B(){return i[76](i[108])}return v=new up({props:{node:i[106],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(a.$$.fragment),o=H(),Ue(c.$$.fragment),b=H(),m=S("div"),Ue(v.$$.fragment),y=H(),f(l,"title",g=i[50](i[106],i[48](i[106]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[108]),f(l,"aria-expanded",h=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=oe.getTestId(i[106])),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[108]}`]),f(m,"id","dropDownPopover-"+i[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(M,D){A(M,e,D),w(e,t),w(t,n),w(n,l),Oe(a,l,null),w(l,o),Oe(c,l,null),w(t,b),w(t,m),Oe(v,m,null),w(e,y),P=!0,T||(E=[ne(l,"click",B),ne(n,"click",Ut(B3))],T=!0)},p(M,D){i=M;const q={};!r&&D[0]&128&&(r=!0,q.node=i[106],mt(()=>r=!1)),a.$set(q);const X={};D[0]&128&&(X.node=i[106]),c.$set(X),(!P||D[0]&128&&g!==(g=i[50](i[106],i[48](i[106]))))&&f(l,"title",g),(!P||D[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||D[0]&64&&h!==(h=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",h),(!P||D[0]&128&&p!==(p=oe.getTestId(i[106])))&&f(l,"data-testid",p);const Q={};D[0]&128&&(Q.node=i[106]),D[0]&1073741824&&(Q.pathParams=i[30]),D[0]&134217728&&(Q.addNavHrefForAnchor=i[27]),v.$set(Q),(!P||D[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",C)},i(M){P||(R(a.$$.fragment,M),R(c.$$.fragment,M),R(v.$$.fragment,M),P=!0)},o(M){U(a.$$.fragment,M),U(c.$$.fragment,M),U(v.$$.fragment,M),P=!1},d(M){M&&L(e),Fe(a),Fe(c),Fe(v),T=!1,Ze(E)}}}function kg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&vg(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[0]&160&&R(n,1)):(n=vg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Sg(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,B,M;g=new Pn({props:{node:i[11],special:"true"}});let D=i[18]&&!i[19]&&Cg(i),q=i[45]&&(!i[0]||i[1])&&yg(i),X=i[7]&&Pg(i),Q=i[12]&&Lg(i),ce=i[12]&&Ag(i),x=i[14]&&Eg(i),K=(!i[0]||i[1])&&Rg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),a=S("div"),r=S("button"),o=S("i"),c=H(),Ue(g.$$.fragment),h=H(),p=S("div"),b=S("nav"),m=S("ul"),D&&D.c(),v=H(),q&&q.c(),C=H(),X&&X.c(),y=H(),Q&&Q.c(),T=H(),ce&&ce.c(),E=H(),x&&x.c(),V=H(),K&&K.c(),f(o,"class","sap-icon sap-icon--overflow"),f(r,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),f(r,"aria-controls","overflowPopover"),f(r,"aria-expanded",d=i[6].overflowPopover||!1),f(r,"aria-haspopup","true"),f(r,"data-testid","mobile-menu"),f(a,"class","fd-shellbar-collapse--control"),f(a,"aria-expanded","false"),f(a,"aria-haspopup","true"),f(a,"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,j){A(J,e,j),w(e,t),w(t,n),w(n,l),w(l,a),w(a,r),w(r,o),w(r,c),Oe(g,r,null),w(n,h),w(n,p),w(p,b),w(b,m),D&&D.m(m,null),w(m,v),q&&q.m(m,null),w(m,C),X&&X.m(m,null),w(m,y),Q&&Q.m(m,null),w(n,T),ce&&ce.m(n,null),w(n,E),x&&x.m(n,null),w(n,V),K&&K.m(n,null),I=!0,B||(M=[ne(r,"click",i[81]),ne(l,"click",Ut(H3))],B=!0)},p(J,j){const _e={};j[0]&2048&&(_e.node=J[11]),g.$set(_e),(!I||j[0]&64&&d!==(d=J[6].overflowPopover||!1))&&f(r,"aria-expanded",d),J[18]&&!J[19]?D?D.p(J,j):(D=Cg(J),D.c(),D.m(m,v)):D&&(D.d(1),D=null),J[45]&&(!J[0]||J[1])?q?q.p(J,j):(q=yg(J),q.c(),q.m(m,C)):q&&(q.d(1),q=null),J[7]?X?(X.p(J,j),j[0]&128&&R(X,1)):(X=Pg(J),X.c(),R(X,1),X.m(m,y)):X&&(ke(),U(X,1,1,()=>{X=null}),Se()),J[12]?Q?Q.p(J,j):(Q=Lg(J),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!I||j[0]&64&&P!==(P=!J[6].overflowPopover))&&f(p,"aria-hidden",P),J[12]?ce?(ce.p(J,j),j[0]&4096&&R(ce,1)):(ce=Ag(J),ce.c(),R(ce,1),ce.m(n,E)):ce&&(ke(),U(ce,1,1,()=>{ce=null}),Se()),J[14]?x?(x.p(J,j),j[0]&16384&&R(x,1)):(x=Eg(J),x.c(),R(x,1),x.m(n,V)):x&&(ke(),U(x,1,1,()=>{x=null}),Se()),!J[0]||J[1]?K?(K.p(J,j),j[0]&3&&R(K,1)):(K=Rg(J),K.c(),R(K,1),K.m(n,null)):K&&(ke(),U(K,1,1,()=>{K=null}),Se())},i(J){I||(R(g.$$.fragment,J),R(X),R(ce),R(x),R(K),I=!0)},o(J){U(g.$$.fragment,J),U(X),U(ce),U(x),U(K),I=!1},d(J){J&&L(e),Fe(g),D&&D.d(),q&&q.d(),X&&X.d(),Q&&Q.d(),ce&&ce.d(),x&&x.d(),K&&K.d(),B=!1,Ze(M)}}}function Cg(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
|
|
58
|
-
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(a,r){A(a,e,r),w(e,t),n||(l=ne(t,"click",Ut(i[82])),n=!0)},p:He,d(a){a&&L(e),n=!1,l()}}}function yg(i){let e,t,n,l,a,r,o=(i[43]?i[43]:i[44])+"",c,g,d;return{c(){e=S("li"),t=S("a"),n=S("i"),a=H(),r=S("span"),c=Le(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(h,p){A(h,e,p),w(e,t),w(t,n),w(t,a),w(t,r),w(r,c),g||(d=ne(t,"click",Ut(i[32])),g=!0)},p(h,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(h[45].icon&&h[47](h[45])?h[46](h[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&12288&&o!==(o=(h[43]?h[43]:h[44])+"")&&Ae(c,o)},d(h){h&&L(e),g=!1,d()}}}function Pg(i){let e,t,n=i[7],l=[];for(let r=0;r<n.length;r+=1)l[r]=Ig(cg(i,n,r));const a=r=>U(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r<l.length;r+=1)l[r].c();e=Ce()},m(r,o){for(let c=0;c<l.length;c+=1)l[c].m(r,o);A(r,e,o),t=!0},p(r,o){if(o[0]&416|o[1]&1015828){n=r[7];let c;for(c=0;c<n.length;c+=1){const g=cg(r,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ig(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)a(c);Se()}},i(r){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(r){l=l.filter(hp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(r){ct(l,r),r&&L(e)}}}function Ng(i){let e,t,n,l,a;const r=[T3,N3],o=[];function c(g,d){return d[0]&128&&(e=null),g[106].isCat?(e==null&&(e=g[106].visibleChildren.filter(z3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=r[t](i)),{c(){n&&n.c(),l=Ce()},m(g,d){~t&&o[t].m(g,d),A(g,l,d),a=!0},p(g,d){let h=t;t=c(g,d),t===h?~t&&o[t].p(g,d):(n&&(ke(),U(o[h],1,1,()=>{o[h]=null}),Se()),~t?(n=o[t],n?n.p(g,d):(n=o[t]=r[t](g),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(g){a||(R(n),a=!0)},o(g){U(n),a=!1},d(g){~t&&o[t].d(g),g&&L(l)}}}function N3(i){let e,t,n,l,a,r,o,c,g=i[48](i[106])+"",d,h,p,b,m,v,C;function y(V,I){return I[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?L3:I3}let P=y(i,[-1,-1,-1,-1]),T=P(i);r=new Pn({props:{node:i[106]}});function E(){return i[84](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),T.c(),a=H(),Ue(r.$$.fragment),o=H(),c=S("span"),d=Le(g),b=H(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",h=i[49](i[106])),f(t,"title",p=i[50](i[106],i[48](i[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,I){A(V,e,I),w(e,t),w(t,n),T.m(n,null),w(n,a),Oe(r,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ne(t,"click",Pt(E)),v=!0)},p(V,I){i=V,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,a)));const B={};I[0]&128&&(B.node=i[106]),r.$set(B),(!m||I[0]&128)&&g!==(g=i[48](i[106])+"")&&Ae(d,g),(!m||I[0]&128&&h!==(h=i[49](i[106])))&&f(t,"href",h),(!m||I[0]&128&&p!==(p=i[50](i[106],i[48](i[106]))))&&f(t,"title",p)},i(V){m||(R(r.$$.fragment,V),m=!0)},o(V){U(r.$$.fragment,V),m=!1},d(V){V&&L(e),T.d(),Fe(r),v=!1,C()}}}function T3(i){let e,t,n,l=!i[47](i[106]),a,r,o,c,g,d=i[48](i[106])+"",h,p,b,m,v,C,y,P,T=l&&Tg(i);r=new Pn({props:{node:i[106]}});function E(){return i[83](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),T&&T.c(),a=H(),Ue(r.$$.fragment),c=H(),g=S("span"),h=Le(d),v=H(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"),f(g,"class","fd-menu__title"),f(t,"href",p=i[49](i[106])),f(t,"class",b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")),f(t,"data-testid",m=oe.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,I){A(V,e,I),w(e,t),w(t,n),T&&T.m(n,null),w(n,a),Oe(r,n,null),w(t,c),w(t,g),w(g,h),w(e,v),C=!0,y||(P=ne(t,"click",Pt(E)),y=!0)},p(V,I){i=V,I[0]&128&&(l=!i[47](i[106])),l?T?T.p(i,I):(T=Tg(i),T.c(),T.m(n,a)):T&&(T.d(1),T=null);const B={};I[0]&128&&(B.node=i[106]),r.$set(B),(!C||I[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||I[0]&128)&&d!==(d=i[48](i[106])+"")&&Ae(h,d),(!C||I[0]&128&&p!==(p=i[49](i[106])))&&f(t,"href",p),(!C||I[0]&384&&b!==(b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||I[0]&128&&m!==(m=oe.getTestId(i[106])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(r.$$.fragment,V),C=!0)},o(V){U(r.$$.fragment,V),C=!1},d(V){V&&L(e),T&&T.d(),Fe(r),y=!1,P()}}}function I3(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,a){A(l,e,a)},p(l,a){a[0]&128&&!Xe(e.src,t=l[106].icon)&&f(e,"src",t),a[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function L3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Tg(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,a){A(l,e,a)},p(l,a){a[0]&128&&!Xe(e.src,t=l[106].icon)&&f(e,"src",t),a[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Ig(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Ng(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[0]&160&&R(n,1)):(n=Ng(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Lg(i){let e,t,n,l,a,r=i[13].label+"",o,c,g;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[47](b[13])||!b[13].icon)),n?E3:A3}let h=d(i,[-1,-1,-1,-1]),p=h(i);return{c(){e=S("li"),t=S("a"),p.c(),l=H(),a=S("span"),o=Le(r),f(a,"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,a),w(a,o),c||(g=ne(t,"click",Ut(i[31])),c=!0)},p(b,m){h===(h=d(b,m))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&r!==(r=b[13].label+"")&&Ae(o,r)},d(b){b&&L(e),p.d(),c=!1,g()}}}function A3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(a,r){A(a,e,r),w(e,t)},p(a,r){r[0]&8192&&!Xe(t.src,n=a[13].icon)&&f(t,"src",n),r[0]&8192&&l!==(l=a[13].altText?a[13].altText:"")&&f(t,"alt",l)},d(a){a&&L(e)}}}function E3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](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[46](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Ag(i){let e,t,n;function l(r){i[85](r)}let a={isMobile:!0};return i[6]!==void 0&&(a.dropDownStates=i[6]),e=new dp({props:a}),Je.push(()=>bt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[86]),{c(){Ue(e.$$.fragment)},m(r,o){Oe(e,r,o),n=!0},p(r,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=r[6],mt(()=>t=!1)),e.$set(c)},i(r){n||(R(e.$$.fragment,r),n=!0)},o(r){U(e.$$.fragment,r),n=!1},d(r){Fe(e,r)}}}function Eg(i){let e,t;return e=new up({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&32768&&(a.node=n[15]),l[0]&1073741824&&(a.pathParams=n[30]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Rg(i){let e,t,n,l,a;function r(d){i[87](d)}function o(d){i[88](d)}function c(d){i[89](d)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new cp({props:g}),Je.push(()=>bt(e,"dropDownStates",r,i[6])),Je.push(()=>bt(e,"selectedLabel",o,i[43])),Je.push(()=>bt(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){Ue(e.$$.fragment)},m(d,h){Oe(e,d,h),a=!0},p(d,h){const p={};h[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&h[0]&64&&(t=!0,p.dropDownStates=d[6],mt(()=>t=!1)),!n&&h[1]&4096&&(n=!0,p.selectedLabel=d[43],mt(()=>n=!1)),!l&&h[1]&8192&&(l=!0,p.defaultLabel=d[44],mt(()=>l=!1)),e.$set(p)},i(d){a||(R(e.$$.fragment,d),a=!0)},o(d){U(e.$$.fragment,d),a=!1},d(d){Fe(e,d)}}}function Dg(i){let e,t,n,l,a;const r=[D3,R3],o=[];function c(g,d){return d[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=r[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(g,d){A(g,e,d),o[n].m(e,null),a=!0},p(g,d){let h=n;n=c(g,d),n===h?o[n].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),l=o[n],l?l.p(g,d):(l=o[n]=r[n](g),l.c()),R(l,1),l.m(e,null))},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){g&&L(e),o[n].d()}}}function R3(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v;function C(T,E){return T[17].picture?M3:V3}let y=C(i),P=y(i);return h=new sp({props:{addNavHrefForAnchor:i[27]}}),h.$on("toggleDropdownState",i[95]),h.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),a=S("button"),P.c(),g=H(),d=S("div"),Ue(h.$$.fragment),f(a,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(a,"aria-expanded",r=i[6].profilePopover||!1),f(a,"aria-haspopup","true"),f(a,"aria-controls","profilePopover"),f(a,"title",o=i[17].name?i[17].name:void 0),f(a,"tabindex","0"),f(a,"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(T,E){A(T,e,E),w(e,t),w(t,n),w(n,l),w(l,a),P.m(a,null),w(t,g),w(t,d),Oe(h,d,null),b=!0,m||(v=[ne(a,"click",i[94]),ne(n,"click",Ut(q3))],m=!0)},p(T,E){y===(y=C(T))&&P?P.p(T,E):(P.d(1),P=y(T),P&&(P.c(),P.m(a,null))),(!b||E[0]&64&&r!==(r=T[6].profilePopover||!1))&&f(a,"aria-expanded",r),(!b||E[0]&131072&&o!==(o=T[17].name?T[17].name:void 0))&&f(a,"title",o),(!b||E[0]&131072&&c!==(c=T[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};E[0]&134217728&&(V.addNavHrefForAnchor=T[27]),h.$set(V),(!b||E[0]&64&&p!==(p=!T[6].profilePopover))&&f(d,"aria-hidden",p)},i(T){b||(R(h.$$.fragment,T),b=!0)},o(T){U(h.$$.fragment,T),b=!1},d(T){T&&L(e),P.d(),Fe(h),m=!1,Ze(v)}}}function D3(i){let e,t,n,l,a,r,o,c,g;function d(b,m){return b[17].picture?F3:O3}let h=d(i),p=h(i);return a=new JS({props:{addNavHrefForAnchor:i[27]}}),a.$on("toggleDropdownState",i[93]),a.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),p.c(),n=H(),l=S("div"),Ue(a.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",r=!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),Oe(a,l,null),o=!0,c||(g=ne(t,"click",Ut(W3)),c=!0)},p(b,m){h===(h=d(b))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),a.$set(v),(!o||m[0]&64&&r!==(r=!b[6].profilePopover))&&f(l,"aria-hidden",r)},i(b){o||(R(a.$$.fragment,b),o=!0)},o(b){U(a.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),Fe(a),c=!1,g()}}}function V3(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 M3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Vn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&Vn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function O3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,a,r;return{c(){e=S("button"),n=Le(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),a||(r=ne(e,"click",i[92]),a=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ae(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&L(e),a=!1,r()}}}function F3(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"),Vn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(a,r){A(a,e,r),n||(l=ne(e,"click",i[91]),n=!0)},p(a,r){r[0]&131072&&t!==(t=a[17].name?a[17].name:void 0)&&f(e,"title",t),r[0]&131072&&Vn(e,"background-image","url('"+a[17].picture+"')")},d(a){a&&L(e),n=!1,l()}}}function Vg(i){let e,t,n;function l(r){i[96](r)}let a={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(a.dropDownStates=i[6]),e=new dp({props:a}),Je.push(()=>bt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[97]),{c(){Ue(e.$$.fragment)},m(r,o){Oe(e,r,o),n=!0},p(r,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=r[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=r[6],mt(()=>t=!1)),e.$set(c)},i(r){n||(R(e.$$.fragment,r),n=!0)},o(r){U(e.$$.fragment,r),n=!1},d(r){Fe(e,r)}}}function U3(i){let e,t,n,l,a,r;const o=[k3,w3],c=[];function g(d,h){return d[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,h){c[e].m(d,h),A(d,n,h),l=!0,a||(r=[ne(fg,"click",i[40]),ne(fg,"blur",i[40])],a=!0)},p(d,h){let p=e;e=g(d),e===p?c[e].p(d,h):(ke(),U(c[p],1,1,()=>{c[p]=null}),Se(),t=c[e],t?t.p(d,h):(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),a=!1,Ze(r)}}}const z3=i=>!i.hideFromNav&&i.label,Mg=i=>!i.hideFromNav&&i.label,B3=()=>{},H3=()=>{},W3=()=>{},q3=()=>{};function G3(i,e,t){const n=Jt();let{authorizationEnabled:l}=e,{autologinEnabled:a}=e,{isLoggedIn:r=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:d}=e,{pathData:h}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:E}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:I}=e,{nodeForMobile:B}=e,{profileItemsAvailable:M}=e,{userInfo:D={}}=e,{globalSearchConfig:q}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:Q}=e,{inputElem:ce}=e,{luigiCustomSearchRenderer__slot:x}=e,{displaySearchResult:K}=e,{searchResult:J}=e,{burgerTooltip:j}=e,{responsiveShellbarPadding:_e}=e,ie=vt("store"),se=!1,ve,ae,Re=re.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:We=re.getConfigBooleanValue("navigation.addNavHrefs")}=e;const te=async()=>{if(h&&0<h.length){const Y=await oe.generateTopNavNodes(h);t(7,v=Y.children),t(8,C=Y.selectedNode),t(9,y=Y.visibleNodeCount),t(11,T=Y.totalBadgeNode),t(10,P=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,p=h}},de=()=>{t(1,r=fl.isLoggedIn())};xt(()=>{dn.doOnStoreChange(ie,()=>{t(0,l=pi.isAuthorizationEnabled()),t(16,M=re.getConfigValue("navigation.profile")),t(52,a=!re.getConfigValue("auth.disableAutoLogin")),t(12,E=re.getConfigValue("navigation.productSwitcher")),t(2,o=re.getConfigBooleanValue("settings.hideNavigation")),t(3,c=re.getConfigValue("settings.responsiveNavigation")),t(4,g=re.getConfigValue("settings.profileType")),t(26,_e=re.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=oe.getProductSwitcherConfig()),t(18,q=re.getConfigValue("globalSearch")),t(19,X=q&&q.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=re.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,We=re.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Re=re.getConfigValue("navigation.contextSwitcher"))},["navigation"]),dn.doOnStoreChange(ie,()=>{te()},["navigation.viewgroupdata"]),Mn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&te()})}),Gn(()=>{(!p||p!=h)&&te(),de()});let{showTopNav:Te}=e;function tt(Y){return oe.renderIconClassName(Y)}function ze(Y){return oe.isOpenUIiconName(Y.icon)}const at=Y=>oe.getNodeLabel(Y);function Ct(Y){return we.getNodeHref(Y,b)}function pe(Y,Et){return oe.generateTooltipText(Y,Et)}function $e(){rt("productSwitcherPopover")}function wt(){t(42,se=!se),rt("contextSwitcherPopover")}function qt(Y){t(14,I=!0),t(15,B=Y)}function Nn(){t(14,I=!1)}function Ft(Y){n("handleClick",{node:Y})}function Pe(Y){n("handleSearchNavigation",{node:Y})}function dt(Y){Ft(Y.detail.node)}function rt(Y){const Et=m||{},_n=!Et[Y];ni(),Nn(),Et[Y]=_n,t(6,m=Et)}function Mt(Y){rt(Y.detail.name)}function zt(){ce&&ce.focus()}function wn(){Q||setTimeout(()=>{zt()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:ce,luigiCustomSearchRenderer__slot:x})}function ni(){const Y=m||{},Et=Object.keys(Y);Et&&Et.length>0&&Et.forEach(_n=>{Y[_n]=!1,t(6,m=Y)})}function en(){c==="simple"||c==="simpleMobileOnly"?Kn():Yt(),kn()}function kn(){if(!oe.getBurgerTooltipConfig())return;const[Y,Et]=oe.getBurgerTooltipConfig();Y&&Et&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,j=document.body.classList.contains("lui-leftNavToggle")?Y:Et),document.body.classList.contains("lui-semiCollapsible")&&t(25,j=document.body.classList.contains("semiCollapsed")?Y:Et))}function Kn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Yt(){_i.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Tn(Y){const Et=Y.detail;t(17,D=Et||{})}function ki(Y){m=Y,t(6,m)}function Si(Y){Q=Y,t(20,Q)}function hn(Y){J=Y,t(24,J)}function Ci(Y){K=Y,t(23,K)}function yi(Y){ce=Y,t(21,ce)}function Pi(Y){x=Y,t(22,x)}function Ni(Y){Dl.call(this,i,Y)}function Ti(Y){Dl.call(this,i,Y)}function _l(Y){Dl.call(this,i,Y)}function pl(Y){Q=Y,t(20,Q)}function ml(Y){J=Y,t(24,J)}function Ii(Y){K=Y,t(23,K)}function Wi(Y){ce=Y,t(21,ce)}function qi(Y){x=Y,t(22,x)}function fi(Y){Dl.call(this,i,Y)}function bl(Y){Dl.call(this,i,Y)}function vl(Y){Dl.call(this,i,Y)}function Gi(Y){m=Y,t(6,m)}const Z=()=>rt("contextSwitcherPopover");function Ne(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const nt=Y=>rt(`dropDownPopover-${Y}`);function ht(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const Tt=(Y,Et)=>{oe.handleNavAnchorClickedWithoutMetaKey(Et)&&Ft(Y)};function Zt(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const gn=Y=>Ft(Y),jn=()=>rt("overflowPopover"),On=()=>{wn(),rt("overflowPopover")},Fl=Y=>Ft(Y),Ul=Y=>qt(Y);function zl(Y){m=Y,t(6,m)}const ga=()=>rt("productSwitcherPopover");function In(Y){m=Y,t(6,m)}function Ki(Y){ve=Y,t(43,ve)}function wl(Y){ae=Y,t(44,ae)}const Bl=()=>rt("contextSwitcherPopover"),_a=()=>rt("profilePopover"),ji=()=>rt("profilePopover"),kl=()=>rt("profilePopover"),Sl=()=>rt("profilePopover"),ci=()=>rt("profilePopover");function Hl(Y){m=Y,t(6,m)}const Li=()=>rt("productSwitcherPopover"),pa=()=>rt("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(52,a=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,r=Y.isLoggedIn),"hideNavComponent"in Y&&t(2,o=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,c=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,g=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,d=Y.showGlobalNav),"pathData"in Y&&t(29,h=Y.pathData),"pathParams"in Y&&t(30,b=Y.pathParams),"dropDownStates"in Y&&t(6,m=Y.dropDownStates),"children"in Y&&t(7,v=Y.children),"selectedNode"in Y&&t(8,C=Y.selectedNode),"visibleNodeCount"in Y&&t(9,y=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,P=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,T=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,E=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,V=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,I=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,B=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,M=Y.profileItemsAvailable),"userInfo"in Y&&t(17,D=Y.userInfo),"globalSearchConfig"in Y&&t(18,q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,X=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,Q=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,ce=Y.inputElem),"luigiCustomSearchRenderer__slot"in Y&&t(22,x=Y.luigiCustomSearchRenderer__slot),"displaySearchResult"in Y&&t(23,K=Y.displaySearchResult),"searchResult"in Y&&t(24,J=Y.searchResult),"burgerTooltip"in Y&&t(25,j=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,_e=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,We=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,Te=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,Te=l&&(!a||r)||!l)},[l,r,o,c,g,d,m,v,C,y,P,T,E,V,I,B,M,D,q,X,Q,ce,x,K,J,j,_e,We,Te,h,b,$e,wt,qt,Nn,Ft,dt,rt,Mt,wn,ni,Tn,se,ve,ae,Re,tt,ze,at,Ct,pe,en,a,Pe,Kn,Yt,ki,Si,hn,Ci,yi,Pi,Ni,Ti,_l,pl,ml,Ii,Wi,qi,fi,bl,vl,Gi,Z,Ne,nt,ht,Tt,Zt,gn,jn,On,Fl,Ul,zl,ga,In,Ki,wl,Bl,_a,ji,kl,Sl,ci,Hl,Li,pa]}class gp extends Vt{constructor(e){super(),Dt(this,e,G3,U3,At,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,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,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function Og(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 K3(i){let e,t=i[0]&&Og();return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=Og(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function j3(i,e,t){let{node:n}=e;async function l(){var o,c;const a=we.mapPathToNode(lt.getCurrentPath(),n),r=await Ot.extractDataFromPath(a);return{context:((o=r==null?void 0:r.pathData)==null?void 0:o.context)||n.context,pathParams:((c=r.pathData)==null?void 0:c.pathParams)||{},clientPermissions:r.nodeObject.clientPermissions||{}}}return xt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const a=await l(),r=document.querySelector(".lui-tab-header");ua.renderWebComponent(n.viewUrl,r,a,n),r.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=a.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=a=>{"node"in a&&t(0,n=a.node)},[n]}class J3 extends Vt{constructor(e){super(),Dt(this,e,j3,K3,At,{node:0})}}const{window:Io}=gl;function Fg(i,e,t){const n=i.slice();return n[52]=e[t][0],n[53]=e[t][1],n[55]=t,n}function Ug(i,e,t){const n=i.slice();return n[56]=e[t],n}function zg(i,e,t){const n=i.slice();return n[56]=e[t],n[58]=t,n}function Bg(i,e,t){const n=i.slice();return n[52]=e[t][0],n[53]=e[t][1],n[55]=t,n}function Hg(i,e,t){const n=i.slice();return n[56]=e[t],n}function Wg(i,e,t){const n=i.slice();return n[56]=e[t],n}function Y3(i){const e=i.slice(),t=_p(e[53]);return e[66]=t,e}function qg(i,e,t){const n=i.slice();return n[56]=e[t],n[58]=t,n}function Lo(i){const e=i.slice(),t=e[56]===e[2];return e[63]=t,e}function Q3(i){const e=i.slice(),t=`${e[55]}-0`;e[64]=t;const n=`lui-${e[64]}-popover`;return e[65]=n,e}function Gg(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&Kg(i),P=Object.entries(i[0]),T=[];for(let M=0;M<P.length;M+=1)T[M]=e_(Bg(i,P,M));const E=M=>U(T[M],1,1,()=>{T[M]=null});let V=Object.entries(i[0]),I=[];for(let M=0;M<V.length;M+=1)I[M]=l_(Fg(i,V,M));const B=M=>U(I[M],1,1,()=>{I[M]=null});return{c(){e=S("div"),y&&y.c(),t=H(),n=S("nav"),l=S("div");for(let M=0;M<T.length;M+=1)T[M].c();a=H(),r=S("span"),o=S("div"),c=S("div"),g=S("button"),g.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
|
|
59
|
-
<span class="sap-icon--slim-arrow-down"></span>`,d=H(),h=S("div"),p=S("ul");for(let M=0;M<I.length;M+=1)I[M].c();f(g,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(h,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(h,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(r,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(M,D){A(M,e,D),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let q=0;q<T.length;q+=1)T[q].m(l,null);w(l,a),w(l,r),w(r,o),w(o,c),w(c,g),i[30](g),w(o,d),w(o,h),w(h,p);for(let q=0;q<I.length;q+=1)I[q].m(p,null);i[35](r),i[36](l),i[38](e),m=!0,v||(C=[ne(g,"click",Pt(i[10])),ne(r,"click",s8),ne(n,"toggleDropdownState",i[37])],v=!0)},p(M,D){if(M[11].parent&&M[11].parent.tabNav&&M[11].parent.tabNav.showAsTabHeader?y?(y.p(M,D),D[0]&2048&&R(y,1)):(y=Kg(M),y.c(),R(y,1),y.m(e,t)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),D[0]&1900749){P=Object.entries(M[0]);let q;for(q=0;q<P.length;q+=1){const X=Bg(M,P,q);T[q]?(T[q].p(X,D),R(T[q],1)):(T[q]=e_(X),T[q].c(),R(T[q],1),T[q].m(l,a))}for(ke(),q=P.length;q<T.length;q+=1)E(q);Se()}if(D[0]&852205){V=Object.entries(M[0]);let q;for(q=0;q<V.length;q+=1){const X=Fg(M,V,q);I[q]?(I[q].p(X,D),R(I[q],1)):(I[q]=l_(X),I[q].c(),R(I[q],1),I[q].m(p,null))}for(ke(),q=V.length;q<I.length;q+=1)B(q);Se()}(!m||D[0]&16&&b!==(b=!M[4]))&&f(h,"aria-hidden",b)},i(M){if(!m){R(y);for(let D=0;D<P.length;D+=1)R(T[D]);for(let D=0;D<V.length;D+=1)R(I[D]);m=!0}},o(M){U(y),T=T.filter(Boolean);for(let D=0;D<T.length;D+=1)U(T[D]);I=I.filter(Boolean);for(let D=0;D<I.length;D+=1)U(I[D]);m=!1},d(M){M&&L(e),y&&y.d(),ct(T,M),i[30](null),ct(I,M),i[35](null),i[36](null),i[38](null),v=!1,Ze(C)}}}function Kg(i){let e,t;return e=new J3({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&2048&&(a.node=n[11].parent),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Z3(i){let e,t,n,l,a;const r=[x3,$3],o=[];function c(d,h){return h[0]&1&&(e=null),e==null&&(e=!!l8(d[53])),e?0:1}function g(d,h){return h===0?Y3(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=r[t](g(i,t)),{c(){n.c(),l=Ce()},m(d,h){o[t].m(d,h),A(d,l,h),a=!0},p(d,h){let p=t;t=c(d,h),t===p?o[t].p(g(d,t),h):(ke(),U(o[p],1,1,()=>{o[p]=null}),Se(),n=o[t],n?n.p(g(d,t),h):(n=o[t]=r[t](g(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){a||(R(n),a=!0)},o(d){U(n),a=!1},d(d){o[t].d(d),d&&L(l)}}}function X3(i){let e,t,n=i[53],l=[];for(let r=0;r<n.length;r+=1)l[r]=xg(qg(i,n,r));const a=r=>U(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r<l.length;r+=1)l[r].c();e=Ce()},m(r,o){for(let c=0;c<l.length;c+=1)l[c].m(r,o);A(r,e,o),t=!0},p(r,o){if(o[0]&786501){n=r[53];let c;for(c=0;c<n.length;c+=1){const g=qg(r,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=xg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)a(c);Se()}},i(r){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(r){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(r){ct(l,r),r&&L(e)}}}function $3(i){let e,t,n,l,a,r,o=i[16](i[52])+"",c,g,d,h,p,b,m,v,C,y,P,T,E;function V(){return i[28](i[52])}let I=i[53],B=[];for(let D=0;D<I.length;D+=1)B[D]=Yg(Hg(i,I,D));const M=D=>U(B[D],1,1,()=>{B[D]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),a=S("div"),r=S("span"),c=Le(o),g=H(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=H(),b=S("div"),m=S("ul");for(let D=0;D<B.length;D+=1)B[D].c();C=H(),f(r,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(a,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=cl(i[52],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",v=!i[3][i[52]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[64]),f(e,"isselected",y=cl(i[52],i[2]))},m(D,q){A(D,e,q),w(e,t),w(t,n),w(n,l),w(l,a),w(a,r),w(r,c),w(a,g),w(a,d),w(t,p),w(t,b),w(b,m);for(let X=0;X<B.length;X+=1)B[X].m(m,null);w(e,C),P=!0,T||(E=[ne(l,"click",Pt(V)),ne(e,"click",r8)],T=!0)},p(D,q){if(i=D,(!P||q[0]&65537)&&o!==(o=i[16](i[52])+"")&&Ae(c,o),(!P||q[0]&5&&h!==(h=cl(i[52],i[2])))&&f(l,"aria-selected",h),q[0]&786501){I=i[53];let X;for(X=0;X<I.length;X+=1){const Q=Hg(i,I,X);B[X]?(B[X].p(Q,q),R(B[X],1)):(B[X]=Yg(Q),B[X].c(),R(B[X],1),B[X].m(m,null))}for(ke(),X=I.length;X<B.length;X+=1)M(X);Se()}(!P||q[0]&9&&v!==(v=!i[3][i[52]]))&&f(b,"aria-hidden",v),(!P||q[0]&5&&y!==(y=cl(i[52],i[2])))&&f(e,"isselected",y)},i(D){if(!P){for(let q=0;q<I.length;q+=1)R(B[q]);P=!0}},o(D){B=B.filter(Boolean);for(let q=0;q<B.length;q+=1)U(B[q]);P=!1},d(D){D&&L(e),ct(B,D),T=!1,Ze(E)}}}function x3(i){let e,t,n,l=i[16](i[52])+"",a,r,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V;function I(){return i[25](i[66])}function B(){return i[26](i[52])}let M=i[53],D=[];for(let q=0;q<M.length;q+=1)D[q]=Zg(Wg(i,M,q));return{c(){e=S("span"),t=S("a"),n=S("span"),a=Le(l),c=H(),g=S("div"),d=S("div"),h=S("div"),p=S("button"),b=S("i"),v=H(),C=S("div"),y=S("ul");for(let q=0;q<D.length;q+=1)D[q].c();T=H(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",r=cl(i[52],i[2])),f(t,"href",o=i[19](i[66])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[65]),f(p,"aria-expanded",m=!!i[3][i[52]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(h,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",P=!i[3][i[52]]),f(C,"id",i[65]),f(g,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(q,X){A(q,e,X),w(e,t),w(t,n),w(n,a),w(e,c),w(e,g),w(g,d),w(d,h),w(h,p),w(p,b),w(g,v),w(g,C),w(C,y);for(let Q=0;Q<D.length;Q+=1)D[Q].m(y,null);w(e,T),E||(V=[ne(t,"click",Pt(I)),ne(p,"click",Pt(B)),ne(e,"click",a8)],E=!0)},p(q,X){if(i=q,X[0]&65537&&l!==(l=i[16](i[52])+"")&&Ae(a,l),X[0]&5&&r!==(r=cl(i[52],i[2]))&&f(t,"aria-selected",r),X[0]&1&&o!==(o=i[19](i[66]))&&f(t,"href",o),X[0]&9&&m!==(m=!!i[3][i[52]])&&f(p,"aria-expanded",m),X[0]&786501){M=i[53];let Q;for(Q=0;Q<M.length;Q+=1){const ce=Wg(i,M,Q);D[Q]?D[Q].p(ce,X):(D[Q]=Zg(ce),D[Q].c(),D[Q].m(y,null))}for(;Q<D.length;Q+=1)D[Q].d(1);D.length=M.length}X[0]&9&&P!==(P=!i[3][i[52]])&&f(C,"aria-hidden",P)},i:He,o:He,d(q){q&&L(e),ct(D,q),E=!1,Ze(V)}}}function jg(i){let e,t,n=i[56].label&&Jg(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[56].label?n?(n.p(l,a),a[0]&1&&R(n,1)):(n=Jg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Jg(i){let e,t,n,l=i[18](i[56])+"",a,r,o,c,g,d,h,p,b,m;o=new ti({props:{node:i[56]}});function v(){return i[29](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),r=H(),Ue(o.$$.fragment),h=H(),f(n,"class","fd-list__title"),f(t,"href",c=i[19](i[56])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,a),w(n,r),Oe(o,n,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(a,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function Yg(i){let e,t,n=!i[56].hideFromNav&&jg(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[56].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[0]&1&&R(n,1)):(n=jg(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 Qg(i){let e,t,n,l=i[18](i[56])+"",a,r,o,c,g,d;function h(){return i[27](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),c=H(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",r=i[19](i[56])),f(t,"aria-selected",o=i[56]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,a),w(e,c),g||(d=ne(t,"click",Pt(h)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[18](i[56])+"")&&Ae(a,l),b[0]&1&&r!==(r=i[19](i[56]))&&f(t,"href",r),b[0]&5&&o!==(o=i[56]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),g=!1,d()}}}function Zg(i){let e,t=!i[56].hideFromNav&&i[56].label&&Qg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[56].hideFromNav&&n[56].label?t?t.p(n,l):(t=Qg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Xg(i){let e,t,n=i[56].label&&$g(Lo(i));return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[56].label?n?(n.p(Lo(l),a),a[0]&1&&R(n,1)):(n=$g(Lo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function $g(i){let e,t,n,l=i[18](i[56])+"",a,r,o,c,g,d,h,p,b,m,v;o=new ti({props:{node:i[56]}});function C(){return i[24](i[56])}return{c(){e=S("span"),t=S("a"),n=S("span"),a=Le(l),r=H(),Ue(o.$$.fragment),h=H(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[19](i[56])),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[63]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[55]+"-"+i[58]),f(e,"isselected",p=i[63])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,a),w(n,r),Oe(o,n,null),w(e,h),b=!0,m||(v=ne(t,"click",Pt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(a,l);const T={};P[0]&1&&(T.node=i[56]),o.$set(T),(!b||P[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!b||P[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!b||P[0]&5&&d!==(d=i[63]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[63]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&L(e),Fe(o),m=!1,v()}}}function xg(i){let e,t,n=!i[56].hideFromNav&&Xg(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[56].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,a),a[0]&1&&R(n,1)):(n=Xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function e_(i){let e,t,n,l,a,r;const o=[X3,Z3],c=[];function g(h,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!h[20](h[52],h[53])),e?0:(t==null&&(t=!!i8(h[53])),t?1:-1)}function d(h,p){return p===1?Q3(h):h}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),a=Ce()},m(h,p){~n&&c[n].m(h,p),A(h,a,p),r=!0},p(h,p){let b=n;n=g(h,p),n===b?~n&&c[n].p(d(h,n),p):(l&&(ke(),U(c[b],1,1,()=>{c[b]=null}),Se()),~n?(l=c[n],l?l.p(d(h,n),p):(l=c[n]=o[n](d(h,n)),l.c()),R(l,1),l.m(a.parentNode,a)):l=null)},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){~n&&c[n].d(h),h&&L(a)}}}function e8(i){let e,t,n,l,a=i[16](i[52])+"",r,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(){return i[32](i[52],i[55])}function I(){return i[33](i[52],i[55])}let B=i[53],M=[];for(let q=0;q<B.length;q+=1)M[q]=n_(Ug(i,B,q));const D=q=>U(M[q],1,1,()=>{M[q]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),r=Le(a),g=H(),d=S("button"),h=S("i"),m=H(),v=S("ul");for(let q=0;q<M.length;q+=1)M[q].c();y=H(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[55]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[52]+i[55]]),f(n,"aria-selected",c=cl(i[52],i[2])),f(h,"class",p=i[3][i[52]+i[55]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(h,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[52]+i[55]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[52]+i[55]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[55]+"-0")},m(q,X){A(q,e,X),w(e,t),w(t,n),w(n,l),w(l,r),w(t,g),w(t,d),w(d,h),w(e,m),w(e,v);for(let Q=0;Q<M.length;Q+=1)M[Q].m(v,null);w(e,y),P=!0,T||(E=[ne(n,"click",Pt(V)),ne(d,"click",Pt(I))],T=!0)},p(q,X){if(i=q,(!P||X[0]&65537)&&a!==(a=i[16](i[52])+"")&&Ae(r,a),(!P||X[0]&9&&o!==(o=i[3][i[52]+i[55]]))&&f(n,"aria-expanded",o),(!P||X[0]&5&&c!==(c=cl(i[52],i[2])))&&f(n,"aria-selected",c),(!P||X[0]&9&&p!==(p=i[3][i[52]+i[55]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(h,"class",p),(!P||X[0]&9&&b!==(b=i[3][i[52]+i[55]]))&&f(d,"aria-expanded",b),X[0]&786501){B=i[53];let Q;for(Q=0;Q<B.length;Q+=1){const ce=Ug(i,B,Q);M[Q]?(M[Q].p(ce,X),R(M[Q],1)):(M[Q]=n_(ce),M[Q].c(),R(M[Q],1),M[Q].m(v,null))}for(ke(),Q=B.length;Q<M.length;Q+=1)D(Q);Se()}(!P||X[0]&9&&C!==(C=!i[3][i[52]+i[55]]))&&f(v,"aria-hidden",C)},i(q){if(!P){for(let X=0;X<B.length;X+=1)R(M[X]);P=!0}},o(q){M=M.filter(Boolean);for(let X=0;X<M.length;X+=1)U(M[X]);P=!1},d(q){q&&L(e),ct(M,q),T=!1,Ze(E)}}}function t8(i){let e,t,n=i[53],l=[];for(let r=0;r<n.length;r+=1)l[r]=i_(zg(i,n,r));const a=r=>U(l[r],1,1,()=>{l[r]=null});return{c(){for(let r=0;r<l.length;r+=1)l[r].c();e=Ce()},m(r,o){for(let c=0;c<l.length;c+=1)l[c].m(r,o);A(r,e,o),t=!0},p(r,o){if(o[0]&786501){n=r[53];let c;for(c=0;c<n.length;c+=1){const g=zg(r,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=i_(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)a(c);Se()}},i(r){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(r){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(r){ct(l,r),r&&L(e)}}}function t_(i){let e,t,n,l=i[18](i[56])+"",a,r,o,c,g,d,h,p,b,m;o=new ti({props:{node:i[56]}});function v(){return i[34](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),r=H(),Ue(o.$$.fragment),h=H(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[19](i[56])),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[55])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,a),w(n,r),Oe(o,n,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(a,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function n_(i){let e,t,n=i[56].label&&t_(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[56].label?n?(n.p(l,a),a[0]&1&&R(n,1)):(n=t_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function i_(i){let e,t,n,l=i[18](i[56])+"",a,r,o,c,g,d,h,p,b,m;o=new ti({props:{node:i[56]}});function v(){return i[31](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),a=Le(l),r=H(),Ue(o.$$.fragment),h=H(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[19](i[56])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[55]+"-"+i[58])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,a),w(n,r),Oe(o,n,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(a,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function l_(i){let e,t,n,l,a;const r=[t8,e8],o=[];function c(g,d){return d[0]&33&&(e=null),e==null&&(e=g[52]==="undefined"||g[52].indexOf(g[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=r[t](i),{c(){n.c(),l=Ce()},m(g,d){o[t].m(g,d),A(g,l,d),a=!0},p(g,d){let h=t;t=c(g,d),t===h?o[t].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=r[t](g),n.c()),R(n,1),n.m(l.parentNode,l))},i(g){a||(R(n),a=!0)},o(g){U(n),a=!1},d(g){o[t].d(g),g&&L(l)}}}function n8(i){let e,t,n,l,a=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Gg(i);return{c(){a&&a.c(),e=Ce()},m(r,o){a&&a.m(r,o),A(r,e,o),t=!0,n||(l=[ne(Io,"click",i[8]),ne(Io,"blur",i[8]),ne(Io,"resize",i[9])],n=!0)},p(r,o){r[0]&&r[1].length>0&&(r[1][0].topNav===!1||r[1].length>1)?a?(a.p(r,o),o[0]&3&&R(a,1)):(a=Gg(r),a.c(),R(a,1),a.m(e.parentNode,e)):a&&(ke(),U(a,1,1,()=>{a=null}),Se())},i(r){t||(R(a),t=!0)},o(r){U(a),t=!1},d(r){a&&a.d(r),r&&L(e),n=!1,Ze(l)}}}function cl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function i8(i){return i.some(e=>!e.hideFromNav&&e.label)}function _p(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function l8(i){return!!_p(i)}const a8=i=>i.stopPropagation(),r8=i=>i.stopPropagation(),s8=i=>i.stopPropagation();function o8(i,e,t){let n,{children:l}=e,{pathData:a}=e,{pathParams:r}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=oe.virtualGroupPrefix}=e,{selectedNodeForTabNav:g}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:h=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=vt("getTranslation");wi(i,C,Pe=>t(16,n=Pe));let y=vt("store"),P,T,E,V,I;const B={get:()=>({children:l,pathData:a,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:g,dropDownStates:d,isMoreBtnExpanded:h}),set:Pe=>{Pe&&Object.getOwnPropertyNames(Pe).forEach(dt=>{dt==="pathData"?t(1,a=Pe.pathData):dt==="context"?context=Pe.context:dt==="children"?t(0,l=Pe.children):dt==="selectedNode"?t(11,b=Pe.selectedNode):dt==="selectedNodeForTabNav"&&t(2,g=Pe.selectedNodeForTabNav)})}},M=Jt();function D(Pe){return oe.getNodeLabel(Pe)}const q=async()=>{const Pe=B.get(),dt=await Ot.getTabNavData({...Pe},Pe);dt&&(B.set({...dt}),m=a,window.LEFTNAVDATA=dt.groupedChildren,setTimeout(X))},X=()=>{if(Q(),E&&V&&I){I.classList.remove("is-active");const Pe=getComputedStyle(E),dt=E.offsetWidth-V.offsetWidth-parseFloat(Pe.paddingLeft)-parseFloat(Pe.paddingRight);let rt=0,Mt=!1;[...E.children].forEach(zt=>{const wn=zt.getAttribute("uid");if(!wn)return;const ni=getComputedStyle(zt),en=parseFloat(ni.marginLeft)+parseFloat(ni.marginRight);rt+=zt.offsetWidth+en,rt>=dt?(zt.classList.add("hide_element"),zt.getAttribute("isSelected")==="true"&&I.classList.add("is-active"),document.querySelector('li[uid="'+wn+'"]').classList.remove("hide_element"),Mt=!0):document.querySelector('li[uid="'+wn+'"]').classList.add("hide_element")}),Mt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},Q=()=>{E!==void 0&&[...E.children].forEach(dt=>{dt.classList.remove("hide_element")})},ce=()=>{P=new ResizeObserver(Pe=>{for(const dt of Pe)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",dt.contentRect.height+"px")}),setTimeout(()=>{T&&P.observe(T)})},x=()=>{P&&P.disconnect()};xt(()=>{t(21,o=re.getConfigBooleanValue("settings.hideNavigation")),ce(),dn.doOnStoreChange(y,()=>{q()},["navigation.viewgroupdata"])}),Ja(()=>{x(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Gn(()=>{(!m||m!=a)&&q(),(v===void 0||v!==p)&&(v=p,q())}),ja(()=>{x(),P?setTimeout(()=>{T&&P.observe(T)}):ce()});function K(Pe){return we.getNodeHref(Pe,r)}function J(Pe){_e(),M("handleClick",{node:Pe})}function j(Pe){let dt={};d[Pe]||(dt[Pe]=!0),t(3,d=dt)}function _e(){t(3,d={}),t(4,h=!1)}function ie(){Q(),X()}function se(){t(4,h=!h)}function ve(Pe,dt){const rt=Pe==="undefined",Mt=Pe.indexOf(c)===0;if(rt||Mt||ae(dt))return!0}function ae(Pe){const dt=Pe.find(zt=>le.isObject(zt.category));if(!dt)return;const rt=dt.category.label||dt.category.id;return Pe.filter(zt=>zt.category===rt&&zt.hideFromNav===!0).length===1}const Re=Pe=>J(Pe),We=Pe=>J(Pe),te=Pe=>j(Pe),de=Pe=>J(Pe),Te=Pe=>j(Pe),tt=Pe=>J(Pe);function ze(Pe){Je[Pe?"unshift":"push"](()=>{I=Pe,t(15,I)})}const at=Pe=>J(Pe),Ct=(Pe,dt)=>j(Pe+dt),pe=(Pe,dt)=>j(Pe+dt),$e=Pe=>J(Pe);function wt(Pe){Je[Pe?"unshift":"push"](()=>{V=Pe,t(14,V)})}function qt(Pe){Je[Pe?"unshift":"push"](()=>{E=Pe,t(13,E)})}const Nn=Pe=>j(Pe.name);function Ft(Pe){Je[Pe?"unshift":"push"](()=>{T=Pe,t(12,T)})}return i.$$set=Pe=>{"children"in Pe&&t(0,l=Pe.children),"pathData"in Pe&&t(1,a=Pe.pathData),"pathParams"in Pe&&t(22,r=Pe.pathParams),"hideNavComponent"in Pe&&t(21,o=Pe.hideNavComponent),"virtualGroupPrefix"in Pe&&t(5,c=Pe.virtualGroupPrefix),"selectedNodeForTabNav"in Pe&&t(2,g=Pe.selectedNodeForTabNav),"dropDownStates"in Pe&&t(3,d=Pe.dropDownStates),"isMoreBtnExpanded"in Pe&&t(4,h=Pe.isMoreBtnExpanded),"resizeTabNavToggle"in Pe&&t(23,p=Pe.resizeTabNavToggle)},[l,a,g,d,h,c,J,j,_e,ie,se,b,T,E,V,I,n,C,D,K,ve,o,r,p,Re,We,te,de,Te,tt,ze,at,Ct,pe,$e,wt,qt,Nn,Ft]}class pp extends Vt{constructor(e){super(),Dt(this,e,o8,n8,At,{children:0,pathData:1,pathParams:22,hideNavComponent:21,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:23,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function a_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function r_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function s_(i){let e,t,n,l,a,r=i[0]&&i[3].length>=0&&o_(i),o=i[0]&&i[3].length>=0&&d_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),r&&r.c(),l=H(),a=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(a,"class","fd-side-nav__utility svelte-u7mfvs"),f(a,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-u7mfvs"),f(e,"class","lui-globalnav svelte-u7mfvs")},m(c,g){A(c,e,g),w(e,t),w(t,n),r&&r.m(n,null),w(t,l),w(t,a),o&&o.m(a,null)},p(c,g){c[0]&&c[3].length>=0?r?r.p(c,g):(r=o_(c),r.c(),r.m(n,null)):r&&(r.d(1),r=null),c[0]&&c[3].length>=0?o?o.p(c,g):(o=d_(c),o.c(),o.m(a,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),r&&r.d(),o&&o.d()}}}function o_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=c_(r_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,a){A(l,e,a);for(let r=0;r<n.length;r+=1)n[r].m(e,null)},p(l,a){if(a&7891){t=l[0];let r;for(r=0;r<t.length;r+=1){const o=r_(l,t,r);n[r]?n[r].p(o,a):(n[r]=c_(o),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function u_(i){let e,t,n,l,a,r=i[11](i[23])+"",o,c,g,d,h,p,b,m,v,C,y=i[23].icon&&f_(i);function P(...T){return i[17](i[23],...T)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=H(),a=S("div"),o=Le(r),c=H(),g=S("div"),p=H(),f(a,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",h=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=oe.getTestId(i[23]))},m(T,E){A(T,e,E),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,a),w(a,o),w(n,c),w(n,g),w(e,p),v||(C=ne(t,"click",P),v=!0)},p(T,E){i=T,i[23].icon?y?y.p(i,E):(y=f_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),E&1&&r!==(r=i[11](i[23])+"")&&Ae(o,r),E&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),E&129&&h!==(h=i[7](i[23].label))&&f(t,"title",h),E&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),E&1&&m!==(m=oe.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&L(e),y&&y.d(),v=!1,C()}}}function f_(i){let e,t;function n(r,o){return o&1&&(e=null),e==null&&(e=!!r[10](r[23])),e?f8:u8}let l=n(i,-1),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function u8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,a){A(l,e,a)},p(l,a){a&1&&!Xe(e.src,t=l[23].icon)&&f(e,"src",t),a&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function f8(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&L(e)}}}function c_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&u_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=u_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function d_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=__(a_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,a){A(l,e,a);for(let r=0;r<n.length;r+=1)n[r].m(e,null)},p(l,a){if(a&7891){t=l[0];let r;for(r=0;r<t.length;r+=1){const o=a_(l,t,r);n[r]?n[r].p(o,a):(n[r]=__(o),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function h_(i){let e,t,n,l,a,r=i[11](i[23])+"",o,c,g,d,h,p,b,m,v,C,y=i[23].icon&&g_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=H(),a=S("div"),o=Le(r),c=H(),g=S("div"),p=H(),f(a,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",h=i[7](i[23].label)),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=oe.getTestId(i[23]))},m(T,E){A(T,e,E),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,a),w(a,o),w(n,c),w(n,g),w(e,p),v||(C=ne(n,"click",Pt(P)),v=!0)},p(T,E){i=T,i[23].icon?y?y.p(i,E):(y=g_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),E&1&&r!==(r=i[11](i[23])+"")&&Ae(o,r),E&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),E&129&&h!==(h=i[7](i[23].label))&&f(t,"title",h),E&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),E&1&&m!==(m=oe.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&L(e),y&&y.d(),v=!1,C()}}}function g_(i){let e,t;function n(r,o){return o&1&&(e=null),e==null&&(e=!!r[10](r[23])),e?d8:c8}let l=n(i,-1),a=l(i);return{c(){a.c(),t=Ce()},m(r,o){a.m(r,o),A(r,t,o)},p(r,o){l===(l=n(r,o))&&a?a.p(r,o):(a.d(1),a=l(r),a&&(a.c(),a.m(t.parentNode,t)))},d(r){a.d(r),r&&L(t)}}}function c8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,a){A(l,e,a)},p(l,a){a&1&&!Xe(e.src,t=l[23].icon)&&f(e,"src",t),a&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function d8(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&L(e)}}}function __(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&h_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=h_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function h8(i){let e,t,n,l=i[2]&&s_(i);return{c(){l&&l.c(),e=Ce()},m(a,r){l&&l.m(a,r),A(a,e,r),t||(n=[ne(window,"click",fs),ne(window,"blur",fs)],t=!0)},p(a,[r]){a[2]?l?l.p(a,r):(l=s_(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:He,o:He,d(a){l&&l.d(a),a&&L(e),t=!1,Ze(n)}}}function fs(){}function g8(i,e,t){let n;const l=Jt();let{pathData:a}=e,r,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,d=vt("store"),h=vt("getTranslation");wi(i,h,D=>t(7,n=D));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=re.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(a&&0<a.length){const D=await oe.generateTopNavNodes(a);t(0,c=D.children),t(1,g=D.selectedNode),r=a}};xt(()=>{dn.doOnStoreChange(d,()=>{t(13,b=re.getConfigBooleanValue("settings.hideNavigation")),t(14,m=re.getConfigValue("settings.responsiveNavigation")),t(2,p=!(re.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&re.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Gn(()=>{(!r||r!=a)&&C(),t(6,v=re.getConfigBooleanValue("navigation.addNavHrefs"))});function y(D){return oe.renderIconClassName(D)}function P(D){return oe.isOpenUIiconName(D.icon)}function T(D){return St.getTranslation(D.label)}function E(D){return we.getNodeHref(D,o)}function V(D){l("handleClick",{node:D})}function I(D){V(D.detail.node)}const B=(D,q)=>{oe.handleNavAnchorClickedWithoutMetaKey(q)&&V(D)},M=D=>V(D);return i.$$set=D=>{"pathData"in D&&t(3,a=D.pathData),"pathParams"in D&&t(15,o=D.pathParams),"children"in D&&t(0,c=D.children),"selectedNode"in D&&t(1,g=D.selectedNode),"showGlobalNav"in D&&t(2,p=D.showGlobalNav),"hideNavComponent"in D&&t(13,b=D.hideNavComponent),"responsiveNavSetting"in D&&t(14,m=D.responsiveNavSetting)},[c,g,p,a,V,fs,v,n,h,y,P,T,E,b,m,o,I,B,M]}class _8 extends Vt{constructor(e){super(),Dt(this,e,g8,h8,At,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return fs}}function p8(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){A(t,e,n),i[4](e)},p:He,i:He,o:He,d(t){t&&L(e),i[4](null)}}}function m8(i,e,t){const n=Jt();let{pathData:l}=e,a,r={},o,c=vt("store"),{showBreadcrumb:g}=e;re.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(a=l)},h=v=>{v.last||b(v.node)};xt(()=>{dn.doOnStoreChange(c,()=>{},["navigation"])}),Gn(async()=>{if(l&&(!a||a!=l)){if(d(),l.length===0)return;const v=re.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!v),g&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,g=!1):C.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(re.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=lt.getCurrentPath();for(let T=y;T<l.length;T++){const E=l[T],V=we.mapPathToNode(P,E);if(r[V])C.push(r[V]);else if(E.label||E.pathSegment||E.titleResolver)if(document.body.classList.add("lui-breadcrumb"),E.titleResolver)C.push({label:E.titleResolver.prerenderFallback&&E.titleResolver.fallbackTitle?St.getTranslation(E.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:E,route:V,pending:!0});else{const I=await p(E);I&&C.push({label:I,node:E,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,h),C=[];for(let T=y;T<l.length;T++){const E=l[T],V=we.mapPathToNode(P,E);if(E.titleResolver){const B=await Ot.extractDataFromPath(V),M=we.substituteDynamicParamsInObject(Object.assign({},B.pathData.context,E.context),B.pathData.pathParams);try{const D=await oe.fetchNodeTitleData(E,M);C.push({label:D.label,node:E,route:V});continue}catch{}}const I=await p(E);I&&C.push({label:I,node:E,route:V})}P===lt.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,h)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),r={},C.map(T=>{r[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return St.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=we.mapPathToNode(lt.getCurrentPath(),v),y=await Ot.extractDataFromPath(C);return we.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Je[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,g=v.showBreadcrumb)},[o,g,l,b,m]}class mp extends Vt{constructor(e){super(),Dt(this,e,m8,p8,At,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Mo="not_checked";Mn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Mo="disabled"):i.data==="luigi.tpcEnabled"&&(Mo="enabled")},!1);function b8(){return Mo}const{Boolean:v8,window:p_}=gl;function m_(i,e,t){const n=i.slice();return n[153]=e[t],n[155]=t,n}function b_(i){let e,t;return e=new sk({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[36]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&33554432&&(a.alertQueue=n[25]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function v_(i){let e,t;function n(){return i[69](i[155])}function l(...r){return i[70](i[155],...r)}function a(...r){return i[71](i[155],...r)}return e=new np({props:{settings:i[153].mfModal.settings,nodepath:i[153].mfModal.nodepath,modalIndex:i[155],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",a),{c(){Ue(e.$$.fragment)},m(r,o){Oe(e,r,o),t=!0},p(r,o){i=r;const c={};o[0]&134217728&&(c.settings=i[153].mfModal.settings),o[0]&134217728&&(c.nodepath=i[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(r){t||(R(e.$$.fragment,r),t=!0)},o(r){U(e.$$.fragment,r),t=!1},d(r){Fe(e,r)}}}function w_(i){let e,t,n=i[153].mfModal.displayed&&v_(i);return{c(){n&&n.c(),e=Ce()},m(l,a){n&&n.m(l,a),A(l,e,a),t=!0},p(l,a){l[153].mfModal.displayed?n?(n.p(l,a),a[0]&134217728&&R(n,1)):(n=v_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function k_(i){let e,t;return e=new np({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[w8]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&268435456&&(a.settings=n[28].settings),l[0]&268435456&&(a.nodepath=n[28].nodepath),l[0]&4096|l[5]&2&&(a.$$scope={dirty:l,ctx:n}),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function w8(i){let e,t;return e=new Ol({props:{area:"drawer",disable:i[12]}}),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&4096&&(a.disable=n[12]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function S_(i){let e,t;return e=new dk({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&67108864&&(a.settings=n[26].settings),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function C_(i){let e,t,n;function l(r){i[74](r)}let a={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(a.storedUserSettings=i[5]),e=new Ik({props:a}),Je.push(()=>bt(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Ue(e.$$.fragment)},m(r,o){Oe(e,r,o),n=!0},p(r,o){const c={};o[0]&131072&&(c.userSettingGroups=r[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=r[5],mt(()=>t=!1)),e.$set(c)},i(r){n||(R(e.$$.fragment,r),n=!0)},o(r){U(e.$$.fragment,r),n=!1},d(r){Fe(e,r)}}}function k8(i){let e,t,n,l,a,r,o,c;e=new Ol({props:{disable:i[12],$$slots:{default:[C8]},$$scope:{ctx:i}}});let g=i[10]&&P_(),d=!i[24]&&N_(i),h=!i[20]&&T_(i),p=!(i[20]||i[21])&&L_(i),b=i[15]&&!i[20]&&A_(i);return{c(){Ue(e.$$.fragment),t=H(),g&&g.c(),n=H(),d&&d.c(),l=H(),h&&h.c(),a=H(),p&&p.c(),r=H(),b&&b.c(),o=Ce()},m(m,v){Oe(e,m,v),A(m,t,v),g&&g.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),h&&h.m(m,v),A(m,a,v),p&&p.m(m,v),A(m,r,v),b&&b.m(m,v),A(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?g||(g=P_(),g.c(),g.m(n.parentNode,n)):g&&(g.d(1),g=null),m[24]?d&&(ke(),U(d,1,1,()=>{d=null}),Se()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=N_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?h&&(ke(),U(h,1,1,()=>{h=null}),Se()):h?(h.p(m,v),v[0]&1048576&&R(h,1)):(h=T_(m),h.c(),R(h,1),h.m(a.parentNode,a)),m[20]||m[21]?p&&(ke(),U(p,1,1,()=>{p=null}),Se()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=L_(m),p.c(),R(p,1),p.m(r.parentNode,r)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=A_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ke(),U(b,1,1,()=>{b=null}),Se())},i(m){c||(R(e.$$.fragment,m),R(d),R(h),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(h),U(p),U(b),c=!1},d(m){Fe(e,m),m&&L(t),g&&g.d(m),m&&L(n),d&&d.d(m),m&&L(l),h&&h.d(m),m&&L(a),p&&p.d(m),m&&L(r),b&&b.d(m),m&&L(o)}}}function S8(i){let e,t,n,l,a,r,o,c,g,d,h,p,b,m=!i[24]&&E_(i),v=!(i[20]||i[21])&&R_(i),C=i[19]&&D_(i);h=new Ol({props:{disable:i[12],$$slots:{default:[y8]},$$scope:{ctx:i}}});let y=i[10]&&O_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),a=H(),r=S("div"),v&&v.c(),o=H(),c=S("div"),C&&C.c(),g=H(),d=S("div"),Ue(h.$$.fragment),p=H(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1omtujb"),f(c,"class","fd-tool-layout__content-container svelte-1omtujb"),f(r,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1omtujb"),f(e,"class","lui-core-layout svelte-1omtujb")},m(P,T){A(P,e,T),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,a),w(t,r),v&&v.m(r,null),w(r,o),w(r,c),C&&C.m(c,null),w(c,g),w(c,d),Oe(h,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,T){P[24]?m&&(ke(),U(m,1,1,()=>{m=null}),Se()):m?(m.p(P,T),T[0]&16777216&&R(m,1)):(m=E_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(ke(),U(v,1,1,()=>{v=null}),Se()):v?(v.p(P,T),T[0]&3145728&&R(v,1)):(v=R_(P),v.c(),R(v,1),v.m(r,o)),P[19]?C?(C.p(P,T),T[0]&524288&&R(C,1)):(C=D_(P),C.c(),R(C,1),C.m(c,g)):C&&(ke(),U(C,1,1,()=>{C=null}),Se());const E={};T[0]&4096&&(E.disable=P[12]),T[0]&1177600|T[5]&2&&(E.$$scope={dirty:T,ctx:P}),h.$set(E),P[10]?y||(y=O_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(h.$$.fragment,P),b=!0)},o(P){U(m),U(v),U(C),U(h.$$.fragment,P),b=!1},d(P){P&&L(e),m&&m.d(),v&&v.d(),C&&C.d(),Fe(h),y&&y.d()}}}function y_(i){let e,t;return e=new lp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const a={};l[0]&2048&&(a.splitViewSettings=n[11].settings),l[0]&2048&&(a.collapsed=n[11].collapsed),l[0]&2048&&(a.nodepath=n[11].nodepath),l[0]&4096&&(a.disableBackdrop=n[12]),e.$set(a)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function C8(i){let e,t,n,l,a,r,o,c,g;t=new Ol({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&y_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),a=H(),d&&d.c(),r=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(h,p){A(h,e,p),Oe(t,e,null),w(e,n),w(e,l),A(h,a,p),d&&d.m(h,p),A(h,r,p),o=!0,c||(g=q_(i[45].call(null,e)),c=!0)},p(h,p){const b={};p[0]&4096&&(b.disable=h[12]),t.$set(b),(!o||p[0]&2048)&&jt(e,"lui-split-view",h[11].displayed),(!o||p[0]&2048)&&jt(e,"lui-collapsed",h[11].collapsed),h[11].displayed?d?(d.p(h,p),p[0]&2048&&R(d,1)):(d=y_(h),d.c(),R(d,1),d.m(r.parentNode,r)):d&&(ke(),U(d,1,1,()=>{d=null}),Se())},i(h){o||(R(t.$$.fragment,h),R(d),o=!0)},o(h){U(t.$$.fragment,h),U(d),o=!1},d(h){h&&L(e),Fe(t),h&&L(a),d&&d.d(h),h&&L(r),c=!1,g()}}}function P_(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>
|
|
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 Mh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Fh(Ah(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},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=Ah(l,t,a);n[a]?n[a].p(o,r):(n[a]=Fh(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){ct(n,l),l&&L(e)}}}function dC(i){return{c:He,m:He,p:He,d:He}}function hC(i){let e,t,n,l,r;function a(d,h){return d[2]?_C:gC}let o=a(i),c=o(i);function g(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=H(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=oe.getTestId(i[20]))},m(d,h){A(d,e,h),c.m(e,null),A(d,n,h),l||(r=ne(e,"click",g),l=!0)},p(d,h){i=d,o===(o=a(i))&&c?c.p(i,h):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),h&8&&t!==(t=oe.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function gC(i){let e,t,n=i[25]+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Le(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,h){A(d,e,h),w(e,t),w(t,l),c||(g=ne(e,"click",i[15]),c=!0)},p(d,h){h&138&&n!==(n=d[25]+"")&&Ae(l,n),h&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),h&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),h&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,g()}}}function _C(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new hr(!1),n=Ce(),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:He,m:He,p:He,d:He}}function Fh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:pC,then:hC,catch:dC,value:25};return is(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Ce(),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))&&is(t,n)||G_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Uh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Bh(Lh(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=Lh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Bh(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),ct(n,l)}}}function zh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function h(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),o=H(),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=oe.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[ne(t,"click",i[17]),ne(e,"click",h)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Ae(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=oe.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),g=!1,Ze(d)}}}function Bh(i){let e,t=i[20].position==="bottom"&&zh(i);return{c(){t&&t.c(),e=Ce()},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=zh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function mC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Rh(i),c=i[3]&&i[3].length===0&&i[10]&&Oh(),g=i[3]&&i[3].length&&Mh(i),d=i[0]&&i[0].length&&Uh(i);return{c(){e=S("nav"),o&&o.c(),t=H(),n=S("ul"),c&&c.c(),l=H(),g&&g.c(),r=H(),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(h,p){A(h,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),g&&g.m(n,null),w(e,r),d&&d.m(e,null)},p(h,[p]){h[0]&&h[0].length?o?o.p(h,p):(o=Rh(h),o.c(),o.m(e,t)):o&&(o.d(1),o=null),h[3]&&h[3].length===0&&h[10]?c||(c=Oh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),h[3]&&h[3].length?g?g.p(h,p):(g=Mh(h),g.c(),g.m(n,null)):g&&(g.d(1),g=null),h[0]&&h[0].length?d?d.p(h,p):(d=Uh(h),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(h[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:He,o:He,d(h){h&&L(e),o&&o.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}const bC=()=>{};function vC(i,e,t){let n,l=He,r=()=>(l(),l=Mo(v,D=>t(13,n=D)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:d}=e,{selectedOption:h}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Jt();function P(D){y("onActionClick",{node:D})}function T(D,q){y("goToOption",{option:D,selectedOption:q})}const E=D=>P(D),V=D=>{oe.handleNavAnchorClickedWithoutMetaKey(D)},I=D=>T(D,h),B=D=>{oe.handleNavAnchorClickedWithoutMetaKey(D)},O=D=>P(D);return i.$$set=D=>{"actions"in D&&t(0,a=D.actions),"config"in D&&t(1,o=D.config),"customOptionsRenderer"in D&&t(2,c=D.customOptionsRenderer),"options"in D&&t(3,g=D.options),"selectedLabel"in D&&t(4,d=D.selectedLabel),"selectedOption"in D&&t(5,h=D.selectedOption),"isMobile"in D&&t(6,p=D.isMobile),"getNodeName"in D&&t(7,b=D.getNodeName),"getRouteLink"in D&&t(8,m=D.getRouteLink),"getTranslation"in D&&r(t(9,v=D.getTranslation)),"isContextSwitcherDropdownShown"in D&&t(10,C=D.isContextSwitcherDropdownShown)},[a,o,c,g,d,h,p,b,m,v,C,P,T,n,E,V,I,B,O]}class fp extends Vt{constructor(e){super(),Dt(this,e,vC,mC,At,{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 Hh(i){let e,t,n,l=!i[9]&&Wh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&qh(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},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&&(ke(),U(l,1,1,()=>{l=null}),Se()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Wh(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=qh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},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 Wh(i){let e,t,n,l,r,a,o,c,g,d;function h(m,v){return m[10]&&m[2]!==m[5].defaultLabel?kC:wC}let p=h(i),b=p(i);return a=new fp({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=H(),r=S("div"),Ue(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),Me(a,r,null),c=!0,g||(d=ne(n,"click",Ut(EC)),g=!0)},p(m,v){p===(p=h(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(),Fe(a),g=!1,d()}}}function wC(i){let e,t,n,l,r,a;function o(d,h){return d[2]&&d[7]?CC:SC}let c=o(i),g=c(i);return{c(){e=S("button"),g.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,h){A(d,e,h),g.m(e,null),r||(a=ne(e,"click",i[29]),r=!0)},p(d,h){c===(c=o(d))&&g?g.p(d,h):(g.d(1),g=c(d),g&&(g.c(),g.m(e,null))),h[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),h[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),h[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),g.d(),r=!1,a()}}}function kC(i){let e,t,n,l,r,a,o;function c(h,p){return h[2]&&h[7]?TC:NC}let g=c(i),d=g(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(h,p){A(h,e,p),d.m(e,null),a||(o=ne(e,"click",Pt(i[28])),a=!0)},p(h,p){g===(g=c(h))&&d?d.p(h,p):(d.d(1),d=g(h),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=h[2]?h[19](h[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!h[15])&&f(e,"aria-disabled",r)},d(h){h&&L(e),d.d(),a=!1,o()}}}function SC(i){let e,t;function n(a,o){return a[4]?yC:PC}let l=n(i),r=l(i);return{c(){r.c(),e=H(),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 CC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=Ce(),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 yC(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function PC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function NC(i){let e,t;function n(a,o){return a[4]?IC:LC}let l=n(i),r=l(i);return{c(){r.c(),e=H(),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 TC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=Ce(),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 IC(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function LC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function qh(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T=!i[4]&&Gh(i),E=i[4]&&Kh(i);return d=new fp({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"),T&&T.c(),o=H(),E&&E.c(),c=H(),g=S("div"),Ue(d.$$.fragment),h=H(),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(g,"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,I){A(V,e,I),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),T&&T.m(a,null),w(a,o),E&&E.m(a,null),w(t,c),w(t,g),Me(d,g,null),w(t,h),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ne(v,"click",i[13]),ne(e,"click",Ut(RC))],y=!0)},p(V,I){V[4]?T&&(T.d(1),T=null):T?T.p(V,I):(T=Gh(V),T.c(),T.m(a,o)),V[4]?E?E.p(V,I):(E=Kh(V),E.c(),E.m(a,null)):E&&(E.d(1),E=null);const B={};I[0]&1&&(B.actions=V[0]),I[0]&32&&(B.config=V[5]),I[0]&64&&(B.customOptionsRenderer=V[6]),I[0]&2&&(B.options=V[1]),I[0]&16&&(B.selectedLabel=V[4]),I[0]&4&&(B.selectedOption=V[2]),I[0]&512&&(B.isMobile=V[9]),I[0]&16384&&(B.isContextSwitcherDropdownShown=V[14]),d.$set(B)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),T&&T.d(),E&&E.d(),Fe(d),y=!1,Ze(P)}}}function Gh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Le(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Ae(t,e)},d(n){n&&L(t)}}}function Kh(i){let e;return{c(){e=Le(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Ae(e,t[4])},d(t){t&&L(e)}}}function AC(i){let e,t,n=i[3]&&Hh(i);return{c(){n&&n.c(),e=Ce()},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=Hh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const EC=()=>{},RC=()=>{};function DC(i,e,t){let n,l;const r=Jt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:d=[]}=e,{options:h=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:T=!1}=e,{defaultLabel:E}=e,V,I=vt("getUnsavedChangesModalPromise"),B=vt("store"),O=vt("getTranslation");wi(i,O,re=>t(16,l=re));let D=!1,{addNavHrefForAnchor:q}=e,X;xt(async()=>{dn.doOnStoreChange(B,async()=>{const re=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=le.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=le.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,g=re),t(1,h=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=lt.getCurrentPath();t(20,m=re.fallbackLabelResolver),vn.resetFallbackLabelCache(),re.lazyloadOptions||await x(),vn.isContextSwitcherDetailsView(Re,re.parentNodePath)&&await K(Re)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(re=>K(re)),On.addEventListener("message",re=>{Ee.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,h=null),x())}),t(21,E=g.defaultLabel)}),Gn(()=>{D!==T&&(D=T,x()),t(14,X=o.contextSwitcherPopover||!1)});function Q(re,Re,We){return re?Promise.resolve(re):vn.getFallbackLabel(Re,We)}function ce(re){return we.getNodeHref(re,v)}async function x(){t(1,h=await vn.fetchOptions(h));const re=g||{},Re=re.parentNodePath,We=re.fallbackLabelResolver,te=lt.getCurrentPath();t(2,b=await vn.getSelectedOption(te,h,Re)),t(4,c=await vn.getSelectedLabel(te,h,Re,We)),await vn.getSelectedNode(te,h,Re),V=re.preserveSubPathOnSwitch}async function K(re){const Re=g||{},We=Re.parentNodePath,te=Re.fallbackLabelResolver;t(2,b=await vn.getSelectedOption(re,h,We)),t(4,c=await vn.getSelectedLabel(re,h,We,te)),await vn.getSelectedNode(re,h,We)}async function J(re){let Re=re.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{j(Re.link)}),P&&r("toggleDropdownState"))}function j(re){I().then(()=>{lt.navigateTo(re)},()=>{})}function _e(re){let Re=re.detail.option,We=re.detail.selectedOption;I().then(()=>{V&&We?lt.navigateTo(vn.getNodePathFromCurrentPath(Re,We)):lt.navigateTo(Re.link),P&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&x()}const se=()=>{n&&ie()},ve=()=>{n&&ie()};return i.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,a=re.contextSwitcherEnabled),"dropDownStates"in re&&t(8,o=re.dropDownStates),"selectedLabel"in re&&t(4,c=re.selectedLabel),"config"in re&&t(5,g=re.config),"actions"in re&&t(0,d=re.actions),"options"in re&&t(1,h=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,T=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,E=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,q=re.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||h&&h.length>1||!b)},[d,h,b,a,c,g,C,y,o,P,q,J,_e,ie,X,n,l,O,Q,ce,m,E,v,T,x,K,j,p,se,ve]}class cp extends Vt{constructor(e){super(),Dt(this,e,DC,AC,At,{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:VC}=gl;function jh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Jh(i){let e,t,n,l=!i[2]&&Yh(i),r=i[2]&&i[3].productSwitcherPopover&&xh(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},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=Yh(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=xh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},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 Yh(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y;function P(B,O){return O&2&&(a=null),a==null&&(a=!!B[11](B[1])),a?MC:OC}let T=P(i,-1),E=T(i),V=i[0],I=[];for(let B=0;B<V.length;B+=1)I[B]=$h(jh(i,V,B));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),E.c(),d=H(),h=S("div"),p=S("div"),b=S("ul");for(let B=0;B<I.length;B+=1)I[B].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",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=ei(i[9])+" svelte-156h3yc"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",v=!i[3].productSwitcherPopover),f(h,"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(B,O){A(B,e,O),w(e,t),w(t,n),w(n,l),w(l,r),E.m(r,null),w(n,d),w(n,h),w(h,p),w(p,b);for(let D=0;D<I.length;D+=1)I[D].m(b,null);C||(y=[ne(r,"click",Ut(i[7])),ne(l,"click",Ut(GC))],C=!0)},p(B,O){if(T===(T=P(B,O))&&E?E.p(B,O):(E.d(1),E=T(B),E&&(E.c(),E.m(r,null))),O&8&&o!==(o=B[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),O&2&&c!==(c=B[1].label)&&f(r,"title",c),O&2&&g!==(g=B[14](B[1]))&&f(r,"data-testid",g),O&64561){V=B[0];let D;for(D=0;D<V.length;D+=1){const q=jh(B,V,D);I[D]?I[D].p(q,O):(I[D]=$h(q),I[D].c(),I[D].m(b,null))}for(;D<I.length;D+=1)I[D].d(1);I.length=V.length}O&512&&m!==(m=ei(B[9])+" svelte-156h3yc")&&f(p,"class",m),O&8&&v!==(v=!B[3].productSwitcherPopover)&&f(h,"aria-hidden",v)},d(B){B&&L(e),E.d(),ct(I,B),C=!1,Ze(y)}}}function OC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!Xe(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function MC(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 Qh(i){let e,t,n,l,r,a;function o(h,p){return h[4]?UC:FC}let c=o(i),g=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),g.c(),t=H(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(h,p){A(h,e,p),g.m(e,null),w(e,t),r||(a=ne(e,"click",d),r=!0)},p(h,p){i=h,c===(c=o(i))&&g?g.p(i,p):(g.d(1),g=c(i),g&&(g.c(),g.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(h){h&&L(e),g.d(),r=!1,a()}}}function FC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,g=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?BC:zC}let h=d(i,-1),p=h(i),b=g&&Zh(i);return{c(){e=S("div"),p.c(),n=H(),l=S("div"),r=S("div"),o=Le(a),c=H(),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){h===(h=d(m,v))&&p?p.p(m,v):(p.d(1),p=h(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Ae(o,a),v&1&&(g=m[13](m[22])),g?b?b.p(m,v):(b=Zh(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 UC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,g,d=i[13](i[22]),h,p,b;function m(P,T){return T&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?WC:HC}let v=m(i,-1),C=v(i),y=d&&Xh(i);return{c(){e=S("a"),t=S("div"),C.c(),l=H(),r=S("div"),a=S("div"),c=Le(o),g=H(),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",h=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,T){A(P,e,T),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,g),y&&y.m(r,null),p||(b=ne(e,"click",i[16]),p=!0)},p(P,T){v===(v=m(P,T))&&C?C.p(P,T):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),T&1&&o!==(o=P[12](P[22])+"")&&Ae(c,o),T&1&&(d=P[13](P[22])),d?y?y.p(P,T):(y=Xh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),T&1&&h!==(h=P[15](P[22]))&&f(e,"href",h)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function zC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function BC(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 Zh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Le(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])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function HC(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function WC(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 Xh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Le(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])+"")&&Ae(n,t)},d(l){l&&L(e)}}}function $h(i){let e,t=i[22].label&&Qh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=Qh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function xh(i){let e,t;return e=new op({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(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function qC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&Jh(i);return{c(){a&&a.c(),t=Ce()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=ne(VC,"resize",us),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=Jh(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),U(a,1,1,()=>{a=null}),Se())},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 us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const GC=()=>{};function KC(i,e,t){const n=Jt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=vt("store"),g=vt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:h}=e;xt(async()=>{dn.doOnStoreChange(c,async()=>{t(1,a=oe.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),T()),us()},["navigation.productSwitcher"])});function p(O){g().then(()=>{lt.navigateToLink(O)},()=>{}),m()}function b(O){p(O.detail)}function m(){n("toggleDropdownState")}function v(O){return oe.renderIconClassName(O)}function C(O){return oe.isOpenUIiconName(O.icon)}function y(O){return St.getTranslation(O.label)}function P(O){return St.getTranslation(O.subTitle)}function T(){oe.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function E(O){return O.testId?O.testId:oe.prepareForTests(O.label)}function V(O){return we.getNodeHref(O)}const I=O=>{oe.handleNavAnchorClickedWithoutMetaKey(O)},B=O=>p(O);return i.$$set=O=>{"productSwitcherItems"in O&&t(0,l=O.productSwitcherItems),"isMobile"in O&&t(2,r=O.isMobile),"config"in O&&t(1,a=O.config),"dropDownStates"in O&&t(3,o=O.dropDownStates),"addNavHrefForAnchor"in O&&t(4,h=O.addNavHrefForAnchor)},[l,a,r,o,h,p,b,m,us,d,v,C,y,P,E,V,I,B]}class dp extends Vt{constructor(e){super(),Dt(this,e,KC,qC,At,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return us}}function eg(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function jC(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[18](e),e.focus(),t||(n=ne(e,"keyup",i[17]),t=!0)},p:He,d(l){l&&L(e),i[18](null),t=!1,n()}}}function JC(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:He,d(t){t&&L(e)}}}function YC(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[22](e)},p:He,d(t){t&&L(e),i[22](null)}}}function QC(i){let e,t,n,l=i[5]&&tg(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[0])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=tg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function tg(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=ng(eg(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[21](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=eg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ng(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),ct(n,l),i[21](null)}}}function ZC(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function XC(i){let e,t,n,l=i[30].label+"",r,a,o,c=i[30].description+"",g,d,h;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Le(l),a=H(),o=S("div"),g=Le(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,g),d||(h=ne(e,"click",Pt(xC)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[30].label+"")&&Ae(r,l),b[0]&32&&c!==(c=p[30].description+"")&&Ae(g,c)},d(p){p&&L(e),d=!1,h()}}}function ng(i){let e,t,n,l;function r(d,h){return d[9]?ZC:XC}let a=r(i),o=a(i);function c(...d){return i[19](i[30],...d)}function g(...d){return i[20](i[30],...d)}return{c(){e=S("li"),o.c(),t=H(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,h){A(d,e,h),o.m(e,null),w(e,t),n||(l=[ne(e,"click",c),ne(e,"keyup",g)],n=!0)},p(d,h){i=d,a===(a=r(i))&&o?o.p(i,h):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Ze(l)}}}function $C(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y;function P(O,D){return O[7]&&O[7].disableInputHandlers?JC:jC}let T=P(i),E=T(i);function V(O,D){return O[8]?YC:QC}let I=V(i),B=I(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),E.c(),r=H(),a=S("div"),o=H(),B.c(),d=H(),h=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[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",g="fd-shellbar__action "+(i[4]?"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[4]),f(b,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,l),E.m(l,null),w(l,r),w(l,a),w(n,o),B.m(n,null),A(O,d,D),A(O,h,D),w(h,p),w(p,b),w(b,m),C||(y=[ne(window,"click",i[11]),ne(window,"blur",i[11]),ne(n,"click",Ut(e3)),ne(b,"click",i[6]),ne(p,"click",Ut(t3))],C=!0)},p(O,D){T===(T=P(O))&&E?E.p(O,D):(E.d(1),E=T(O),E&&(E.c(),E.m(l,r))),I===(I=V(O))&&B?B.p(O,D):(B.d(1),B=I(O),B&&(B.c(),B.m(n,null))),D[0]&16&&c!==(c=!O[4])&&f(n,"aria-hidden",c),D[0]&16&&g!==(g="fd-shellbar__action "+(O[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",g),D[0]&16&&v!==(v=!O[4])&&f(b,"aria-expanded",v)},i:He,o:He,d(O){O&&L(e),E.d(),B.d(),O&&L(d),O&&L(h),C=!1,Ze(y)}}}const xC=()=>{},e3=()=>{},t3=()=>{};function n3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Jt(),h={fireItemSelected:j=>{p.searchProvider.onSearchResultItemSelected(j)}};let p={},b,m;xt(async()=>{t(7,p=g);let j=a;const _e=C(p.searchProvider);_e&&(j.placeholder=_e),v()}),Gn(()=>{t(7,p=g),v()});function v(){p.searchProvider&&(t(8,b=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function C(j){if(!j||!j.inputPlaceholder)return;const _e=St.getCurrentLocale();if(le.isFunction(j.inputPlaceholder))return j.inputPlaceholder();if(typeof j.inputPlaceholder=="string"){const ie=St.getTranslation(j.inputPlaceholder);return ie&&ie.trim().length>0?ie:j.inputPlaceholder}if(typeof j.inputPlaceholder=="object")return j.inputPlaceholder[_e]}function y(j,_e,ie){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(j,_e.children[ie],h)}),""}function P(){d("closeSearchResult")}function T({keyCode:j}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&j===vi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&j===mi?p.searchProvider.onEscape():j===Hi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function E(j){let _e=c.children;if(_e)for(let ie=0;ie<_e.length;ie++){let{childNodes:se,nextSibling:ve,previousSibling:re}=_e[ie],Re;if(se[0].getAttribute("aria-selected")==="true"){j===Hi&&(Re=ve!==null?ve:_e[0]),j===Ol&&(Re=re!==null?re:_e[_e.length-1]),se[0].setAttribute("aria-selected","false"),Re.childNodes[0].setAttribute("aria-selected","true"),Re.focus();break}}}function V(){let j=c.children;if(j)for(let _e=0;_e<j.length;_e++){let ie=j[_e];ie.childNodes[0].getAttribute("aria-selected")==="true"&&ie.childNodes[0].setAttribute("aria-selected","false")}}function I(j){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(j):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===mi&&p.searchProvider.onEscape()}function B(j,{keyCode:_e}){_e===vi&&p.searchProvider.onSearchResultItemSelected(j),_e===Ol||_e===Hi?E(_e):le.isFunction(p.searchProvider.onEscape)&&_e===mi&&(V(),setTimeout(()=>{a.focus()}),p.searchProvider.onEscape())}function O(j){let _e=j.pathObject;_e.externalLink?lt.navigateToLink(_e):d("handleSearchNavigation",{node:_e})}function D(){a&&a.focus()}function q(){if(n?t(0,r=!1):setTimeout(()=>{D()}),d("toggleSearch",{isSearchFieldVisible:n,inputElem:a,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const j=n===void 0?!0:!n;p.searchProvider.toggleSearch(a,j)}}const X=j=>T(j);function Q(j){Je[j?"unshift":"push"](()=>{a=j,t(1,a)})}const ce=(j,_e)=>I(j),x=(j,_e)=>B(j,_e);function K(j){Je[j?"unshift":"push"](()=>{c=j,t(3,c)})}function J(j){Je[j?"unshift":"push"](()=>{o=j,t(2,o)})}return i.$$set=j=>{"isSearchFieldVisible"in j&&t(4,n=j.isSearchFieldVisible),"searchResult"in j&&t(5,l=j.searchResult),"displaySearchResult"in j&&t(0,r=j.displaySearchResult),"inputElem"in j&&t(1,a=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(2,o=j.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in j&&t(3,c=j.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in j&&t(15,g=j.globalSearchConfig)},[r,a,o,c,n,l,q,p,b,m,y,P,T,I,B,g,O,X,Q,ce,x,K,J]}class i3 extends Vt{constructor(e){super(),Dt(this,e,n3,$C,At,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function ig(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function l3(i){let e,t,n,l,r,a,o,c,g,d,h;return{c(){e=S("input"),t=H(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=H(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=H(),g=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(g,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[24](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,g,b),d||(h=[ne(e,"keyup",i[23]),ne(e,"input",i[25]),ne(l,"click",i[18]),ne(o,"click",i[16])],d=!0)},p:He,d(p){p&&L(e),i[24](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(g),d=!1,Ze(h)}}}function r3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),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:He,d(t){t&&L(e)}}}function a3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[29](e)},p:He,d(t){t&&L(e),i[29](null)}}}function s3(i){let e,t,n,l=i[4]&&lg(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[0])},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=lg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function lg(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=rg(ig(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[28](e)},p(l,r){if(r[0]&1582104){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=ig(l,t,a);n[a]?n[a].p(o,r):(n[a]=rg(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),ct(n,l),i[28](null)}}}function o3(i){let e,t=i[13](i[39],i[3],i[41])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function u3(i){let e,t,n,l=i[39].label+"",r,a,o,c=i[39].description+"",g,d,h;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Le(l),a=H(),o=S("div"),g=Le(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,g),d||(h=ne(e,"click",Pt(c3)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[39].label+"")&&Ae(r,l),b[0]&16&&c!==(c=p[39].description+"")&&Ae(g,c)},d(p){p&&L(e),d=!1,h()}}}function rg(i){let e,t,n,l;function r(d,h){return d[10]?o3:u3}let a=r(i),o=a(i);function c(...d){return i[26](i[39],...d)}function g(...d){return i[27](i[39],...d)}return{c(){e=S("li"),o.c(),t=H(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,h){A(d,e,h),o.m(e,null),w(e,t),n||(l=[ne(e,"click",c),ne(e,"keyup",g)],n=!0)},p(d,h){i=d,a===(a=r(i))&&o?o.p(i,h):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Ze(l)}}}function ag(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,g){A(c,e,g),w(e,t),w(t,n),w(n,l),a||(o=[ne(n,"click",i[6]),ne(t,"click",Ut(h3))],a=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Ze(o)}}}function sg(i){let e,t,n=i[11](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Le(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(g,d){A(g,e,d),w(e,t),w(t,l),o||(c=ne(t,"click",Ut(i[30])),o=!0)},p(g,d){d[0]&2176&&n!==(n=g[11](g[7])+"")&&Ae(l,n),d[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(g){g&&L(e),o=!1,c()}}}function f3(i){let e,t,n,l,r,a,o,c,g,d,h,p;function b(V,I){return V[8]&&V[8].disableInputHandlers?r3:l3}let m=b(i),v=m(i);function C(V,I){return V[9]?a3:s3}let y=C(i),P=y(i),T=!i[5]&&ag(i),E=i[5]&&sg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=H(),P.c(),c=H(),T&&T.c(),g=H(),E&&E.c(),d=Ce(),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,I){A(V,e,I),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,I),T&&T.m(V,I),A(V,g,I),E&&E.m(V,I),A(V,d,I),h||(p=[ne(window,"click",i[14]),ne(window,"blur",i[14]),ne(n,"click",Ut(d3))],h=!0)},p(V,I){m===(m=b(V))&&v?v.p(V,I):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,I):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),I[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),I[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]?T&&(T.d(1),T=null):T?T.p(V,I):(T=ag(V),T.c(),T.m(g.parentNode,g)),V[5]?E?E.p(V,I):(E=sg(V),E.c(),E.m(d.parentNode,d)):E&&(E.d(1),E=null)},i:He,o:He,d(V){V&&L(e),v.d(),P.d(),V&&L(c),T&&T.d(V),V&&L(g),E&&E.d(V),V&&L(d),h=!1,Ze(p)}}}const c3=()=>{},d3=()=>{},h3=()=>{};function g3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Jt(),h={fireItemSelected:te=>{m.searchProvider.onSearchResultItemSelected(te)}};let p=dl.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,m={},v,C,y=vt("getTranslation");wi(i,y,te=>t(11,n=te)),xt(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let te=a;const de=T(m.searchProvider);de&&(te.placeholder=de),P(),Kf.handleVisibilityGlobalSearch();const Te=document.querySelector(".lui-global-search");Te&&new ResizeObserver(ze=>{Kf.handleVisibilityGlobalSearch()}).observe(Te)}),Gn(()=>{t(8,m=g),P(),O()});function P(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,C=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function T(te){if(!te||!te.inputPlaceholder)return;const de=St.getCurrentLocale();if(le.isFunction(te.inputPlaceholder))return te.inputPlaceholder();if(typeof te.inputPlaceholder=="string"){const Te=St.getTranslation(te.inputPlaceholder);return Te&&Te.trim().length>0?Te:te.inputPlaceholder}if(typeof te.inputPlaceholder=="object")return te.inputPlaceholder[de]}function E(te,de,Te){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(te,de.children[Te],h)}),""}function V(){d("closeSearchResult")}function I({keyCode:te}){m?le.isFunction(m.searchProvider.onEnter)&&te===vi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&te===mi?m.searchProvider.onEscape():te===Hi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function B(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function O(){a&&a.value}function D(){t(1,a.value="",a),V()}function q(te){let de=c.children;if(de)for(let Te=0;Te<de.length;Te++){let{childNodes:tt,nextSibling:ze,previousSibling:rt}=de[Te],Ct;if(tt[0].getAttribute("aria-selected")==="true"){te===Hi&&(Ct=ze!==null?ze:de[0]),te===Ol&&(Ct=rt!==null?rt:de[de.length-1]),tt[0].setAttribute("aria-selected","false"),Ct.childNodes[0].setAttribute("aria-selected","true"),Ct.focus();break}}}function X(){let te=c.children;if(te)for(let de=0;de<te.length;de++){let Te=te[de];Te.childNodes[0].getAttribute("aria-selected")==="true"&&Te.childNodes[0].setAttribute("aria-selected","false")}}function Q(te){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(te):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===mi&&m.searchProvider.onEscape()}function ce(te,{keyCode:de}){de===vi&&m.searchProvider.onSearchResultItemSelected(te),de===Ol||de===Hi?q(de):le.isFunction(m.searchProvider.onEscape)&&de===mi&&(X(),setTimeout(()=>{a.focus()}),m.searchProvider.onEscape())}function x(te){let de=te.pathObject;de.externalLink?lt.navigateToLink(de):d("handleSearchNavigation",{node:de})}function K(){a&&a.focus()}function J(){if(b?t(0,r=!1):setTimeout(()=>{K()}),d("toggleSearch",{isSearchFieldVisible:b,inputElem:a,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const te=b===void 0?!0:!b;m.searchProvider.toggleSearch(a,te)}}const j=te=>I(te);function _e(te){Je[te?"unshift":"push"](()=>{a=te,t(1,a)})}const ie=()=>O(),se=(te,de)=>Q(te),ve=(te,de)=>ce(te,de);function re(te){Je[te?"unshift":"push"](()=>{c=te,t(3,c)})}function Re(te){Je[te?"unshift":"push"](()=>{o=te,t(2,o)})}const We=()=>J();return i.$$set=te=>{"searchResult"in te&&t(4,l=te.searchResult),"displaySearchResult"in te&&t(0,r=te.displaySearchResult),"inputElem"in te&&t(1,a=te.inputElem),"luigiCustomSearchRenderer__slot"in te&&t(2,o=te.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in te&&t(3,c=te.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in te&&t(21,g=te.globalSearchConfig),"isSearchFieldVisible"in te&&t(5,b=te.isSearchFieldVisible)},[r,a,o,c,l,b,J,p,m,v,C,n,y,E,V,I,B,O,D,Q,ce,g,x,j,_e,ie,se,ve,re,Re,We]}class _3 extends Vt{constructor(e){super(),Dt(this,e,g3,f3,At,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:21,isSearchFieldVisible:5,onActionClick:22,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[22]}get toggleSearch(){return this.$$.ctx[6]}}function og(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?m3:p3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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"),Xe(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&&!Xe(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function m3(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 ug(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ti({props:{node:i[0]}}),{c(){e=S("span"),n=Le(t),l=H(),Ue(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Ae(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Fe(r)}}}function b3(i){let e,t,n,l=i[0].icon&&og(i),r=(!i[0].icon||i[0].showLabel)&&ug(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},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=og(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=ug(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},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 v3(i,e,t){let{node:n}=e;function l(o){return oe.isOpenUIiconName(o.icon)}function r(o){return oe.renderIconClassName(o)}function a(o){return oe.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class zo extends Vt{constructor(e){super(),Dt(this,e,v3,b3,At,{node:0})}}const{Boolean:hp,window:fg}=gl;function cg(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function dg(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function w3(i){let e,t;return e=new sp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function k3(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&hg(i);function v(I){i[56](I)}let C={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new US({props:C}),Je.push(()=>bt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&gg(i),P=(!i[0]||i[1])&&_g(i),T=(i[18]||i[7]&&i[29].length>0)&&mg(i),E=(i[0]||i[16])&&Dg(i),V=i[12]&&Vg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=H(),Ue(l.$$.fragment),a=H(),y&&y.c(),o=H(),c=S("div"),P&&P.c(),g=H(),T&&T.c(),d=H(),E&&E.c(),h=H(),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(I,B){A(I,e,B),w(e,t),m&&m.m(t,null),w(t,n),Me(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),T&&T.m(c,null),w(c,d),E&&E.m(c,null),w(c,h),V&&V.m(c,null),b=!0},p(I,B){I[3]==="simple"||I[3]==="simpleMobileOnly"||I[3]==="Fiori3"?m?m.p(I,B):(m=hg(I),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const O={};B[0]&536870912&&(O.pathData=I[29]),B[0]&1073741824&&(O.pathParams=I[30]),B[0]&134217728&&(O.addNavHrefForAnchor=I[27]),!r&&B[0]&64&&(r=!0,O.dropDownStates=I[6],mt(()=>r=!1)),l.$set(O),I[18]&&I[19]?y?(y.p(I,B),B[0]&786432&&R(y,1)):(y=gg(I),y.c(),R(y,1),y.m(e,o)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),!I[0]||I[1]?P?(P.p(I,B),B[0]&3&&R(P,1)):(P=_g(I),P.c(),R(P,1),P.m(c,g)):P&&(ke(),U(P,1,1,()=>{P=null}),Se()),I[18]||I[7]&&I[29].length>0?T?(T.p(I,B),B[0]&537133184&&R(T,1)):(T=mg(I),T.c(),R(T,1),T.m(c,d)):T&&(ke(),U(T,1,1,()=>{T=null}),Se()),I[0]||I[16]?E?(E.p(I,B),B[0]&65537&&R(E,1)):(E=Dg(I),E.c(),R(E,1),E.m(c,h)):E&&(ke(),U(E,1,1,()=>{E=null}),Se()),I[12]?V?(V.p(I,B),B[0]&4096&&R(V,1)):(V=Vg(I),V.c(),R(V,1),V.m(c,null)):V&&(ke(),U(V,1,1,()=>{V=null}),Se()),(!b||B[0]&67108868&&p!==(p="fd-shellbar "+(I[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(I[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(I){b||(R(l.$$.fragment,I),R(y),R(P),R(T),R(E),R(V),b=!0)},o(I){U(l.$$.fragment,I),U(y),U(P),U(T),U(E),U(V),b=!1},d(I){I&&L(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),T&&T.d(),E&&E.d(),V&&V.d()}}}function hg(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=ne(e,"click",i[51]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&L(e),n=!1,l()}}}function gg(i){let e,t,n,l,r,a,o,c;function g(v){i[57](v)}function d(v){i[58](v)}function h(v){i[59](v)}function p(v){i[60](v)}function b(v){i[61](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.luigiCustomSearchRenderer__slot=i[22]),t=new _3({props:m}),Je.push(()=>bt(t,"isSearchFieldVisible",g,i[20])),Je.push(()=>bt(t,"searchResult",d,i[24])),Je.push(()=>bt(t,"displaySearchResult",h,i[23])),Je.push(()=>bt(t,"inputElem",p,i[21])),Je.push(()=>bt(t,"luigiCustomSearchRenderer__slot",b,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],mt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],mt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],mt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],mt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],mt(()=>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),Fe(t)}}}function _g(i){let e,t,n,l,r=i[18]&&!i[19]&&pg(i);function a(c){i[73](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new cp({props:o}),Je.push(()=>bt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[74]),{c(){r&&r.c(),e=H(),Ue(t.$$.fragment)},m(c,g){r&&r.m(c,g),A(c,e,g),Me(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&R(r,1)):(r=pg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),U(r,1,1,()=>{r=null}),Se());const d={};g[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,d.dropDownStates=c[6],mt(()=>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),Fe(t,c)}}}function pg(i){let e,t,n,l,r,a,o;function c(m){i[65](m)}function g(m){i[66](m)}function d(m){i[67](m)}function h(m){i[68](m)}function p(m){i[69](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.luigiCustomSearchRenderer__slot=i[22]),e=new i3({props:b}),Je.push(()=>bt(e,"isSearchFieldVisible",c,i[20])),Je.push(()=>bt(e,"searchResult",g,i[24])),Je.push(()=>bt(e,"displaySearchResult",d,i[23])),Je.push(()=>bt(e,"inputElem",h,i[21])),Je.push(()=>bt(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[70]),e.$on("handleSearchNavigation",i[71]),e.$on("closeSearchResult",i[72]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],mt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],mt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],mt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],mt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.luigiCustomSearchRenderer__slot=m[22],mt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function mg(i){let e,t,n,l=i[7]&&i[29].length>0&&bg(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&Sg(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},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[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=bg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ke(),U(l,1,1,()=>{l=null}),Se()),a[9]-a[10]>0||a[12]||a[45]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&16384&&R(r,1)):(r=Sg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},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 bg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=kg(dg(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=Ce()},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]&1207960032|o[1]&917584){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=dg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=kg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(hp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ct(l,a),a&&L(e)}}}function vg(i){let e,t,n,l;const r=[C3,S3],a=[];function o(c,g){return c[106].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Ce()},m(c,g){a[e].m(c,g),A(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(ke(),U(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,g):(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 S3(i){let e,t,n,l,r;const a=[P3,y3],o=[];function c(g,d){return g[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=H(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,d){A(g,e,d),o[t].m(e,null),w(e,l),r=!0},p(g,d){let h=t;t=c(g),t===h?o[t].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(e,l))},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){g&&L(e),o[t].d()}}}function C3(i){let e=i[106].visibleChildren.filter(Og).length>0,t,n,l=e&&wg(i);return{c(){l&&l.c(),t=Ce()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(Og).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=wg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ke(),U(l,1,1,()=>{l=null}),Se())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function y3(i){let e,t,n,l,r,a,o,c,g,d,h;function p(v){i[79](v,i[106],i[109],i[108])}let b={};i[106]!==void 0&&(b.node=i[106]),t=new zo({props:b}),Je.push(()=>bt(t,"node",p,i[106])),r=new Pn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=S("button"),Ue(t.$$.fragment),l=H(),Ue(r.$$.fragment),f(e,"title",a=i[50](i[106],i[48](i[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=oe.getTestId(i[106]))},m(v,C){A(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),g=!0,d||(h=ne(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[106],mt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[106]),r.$set(P),(!g||C[0]&128&&a!==(a=i[50](i[106],i[48](i[106]))))&&f(e,"title",a),(!g||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!g||C[0]&128&&c!==(c=oe.getTestId(i[106])))&&f(e,"data-testid",c)},i(v){g||(R(t.$$.fragment,v),R(r.$$.fragment,v),g=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),g=!1},d(v){v&&L(e),Fe(t),Fe(r),d=!1,h()}}}function P3(i){let e,t,n,l,r,a,o,c,g,d,h,p;function b(C){i[77](C,i[106],i[109],i[108])}let m={};i[106]!==void 0&&(m.node=i[106]),t=new zo({props:m}),Je.push(()=>bt(t,"node",b,i[106])),r=new Pn({props:{node:i[106]}});function v(...C){return i[78](i[106],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=H(),Ue(r.$$.fragment),f(e,"href",a=i[49](i[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[50](i[106],i[48](i[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=oe.getTestId(i[106]))},m(C,y){A(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,h||(p=ne(e,"click",v),h=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[106],mt(()=>n=!1)),t.$set(P);const T={};y[0]&128&&(T.node=i[106]),r.$set(T),(!d||y[0]&128&&a!==(a=i[49](i[106])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[50](i[106],i[48](i[106]))))&&f(e,"title",c),(!d||y[0]&128&&g!==(g=oe.getTestId(i[106])))&&f(e,"data-testid",g)},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),Fe(t),Fe(r),h=!1,p()}}}function wg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(O){i[75](O,i[106],i[109],i[108])}let I={};i[106]!==void 0&&(I.node=i[106]),r=new zo({props:I}),Je.push(()=>bt(r,"node",V,i[106])),c=new Pn({props:{node:i[106]}});function B(){return i[76](i[108])}return v=new up({props:{node:i[106],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(r.$$.fragment),o=H(),Ue(c.$$.fragment),b=H(),m=S("div"),Ue(v.$$.fragment),y=H(),f(l,"title",g=i[50](i[106],i[48](i[106]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[108]),f(l,"aria-expanded",h=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=oe.getTestId(i[106])),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[108]}`]),f(m,"id","dropDownPopover-"+i[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(O,D){A(O,e,D),w(e,t),w(t,n),w(n,l),Me(r,l,null),w(l,o),Me(c,l,null),w(t,b),w(t,m),Me(v,m,null),w(e,y),P=!0,T||(E=[ne(l,"click",B),ne(n,"click",Ut(B3))],T=!0)},p(O,D){i=O;const q={};!a&&D[0]&128&&(a=!0,q.node=i[106],mt(()=>a=!1)),r.$set(q);const X={};D[0]&128&&(X.node=i[106]),c.$set(X),(!P||D[0]&128&&g!==(g=i[50](i[106],i[48](i[106]))))&&f(l,"title",g),(!P||D[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||D[0]&64&&h!==(h=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",h),(!P||D[0]&128&&p!==(p=oe.getTestId(i[106])))&&f(l,"data-testid",p);const Q={};D[0]&128&&(Q.node=i[106]),D[0]&1073741824&&(Q.pathParams=i[30]),D[0]&134217728&&(Q.addNavHrefForAnchor=i[27]),v.$set(Q),(!P||D[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",C)},i(O){P||(R(r.$$.fragment,O),R(c.$$.fragment,O),R(v.$$.fragment,O),P=!0)},o(O){U(r.$$.fragment,O),U(c.$$.fragment,O),U(v.$$.fragment,O),P=!1},d(O){O&&L(e),Fe(r),Fe(c),Fe(v),T=!1,Ze(E)}}}function kg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&vg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=vg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Sg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V,I,B,O;g=new Pn({props:{node:i[11],special:"true"}});let D=i[18]&&!i[19]&&Cg(i),q=i[45]&&(!i[0]||i[1])&&yg(i),X=i[7]&&Pg(i),Q=i[12]&&Lg(i),ce=i[12]&&Ag(i),x=i[14]&&Eg(i),K=(!i[0]||i[1])&&Rg(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=H(),Ue(g.$$.fragment),h=H(),p=S("div"),b=S("nav"),m=S("ul"),D&&D.c(),v=H(),q&&q.c(),C=H(),X&&X.c(),y=H(),Q&&Q.c(),T=H(),ce&&ce.c(),E=H(),x&&x.c(),V=H(),K&&K.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,j){A(J,e,j),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(g,a,null),w(n,h),w(n,p),w(p,b),w(b,m),D&&D.m(m,null),w(m,v),q&&q.m(m,null),w(m,C),X&&X.m(m,null),w(m,y),Q&&Q.m(m,null),w(n,T),ce&&ce.m(n,null),w(n,E),x&&x.m(n,null),w(n,V),K&&K.m(n,null),I=!0,B||(O=[ne(a,"click",i[81]),ne(l,"click",Ut(H3))],B=!0)},p(J,j){const _e={};j[0]&2048&&(_e.node=J[11]),g.$set(_e),(!I||j[0]&64&&d!==(d=J[6].overflowPopover||!1))&&f(a,"aria-expanded",d),J[18]&&!J[19]?D?D.p(J,j):(D=Cg(J),D.c(),D.m(m,v)):D&&(D.d(1),D=null),J[45]&&(!J[0]||J[1])?q?q.p(J,j):(q=yg(J),q.c(),q.m(m,C)):q&&(q.d(1),q=null),J[7]?X?(X.p(J,j),j[0]&128&&R(X,1)):(X=Pg(J),X.c(),R(X,1),X.m(m,y)):X&&(ke(),U(X,1,1,()=>{X=null}),Se()),J[12]?Q?Q.p(J,j):(Q=Lg(J),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!I||j[0]&64&&P!==(P=!J[6].overflowPopover))&&f(p,"aria-hidden",P),J[12]?ce?(ce.p(J,j),j[0]&4096&&R(ce,1)):(ce=Ag(J),ce.c(),R(ce,1),ce.m(n,E)):ce&&(ke(),U(ce,1,1,()=>{ce=null}),Se()),J[14]?x?(x.p(J,j),j[0]&16384&&R(x,1)):(x=Eg(J),x.c(),R(x,1),x.m(n,V)):x&&(ke(),U(x,1,1,()=>{x=null}),Se()),!J[0]||J[1]?K?(K.p(J,j),j[0]&3&&R(K,1)):(K=Rg(J),K.c(),R(K,1),K.m(n,null)):K&&(ke(),U(K,1,1,()=>{K=null}),Se())},i(J){I||(R(g.$$.fragment,J),R(X),R(ce),R(x),R(K),I=!0)},o(J){U(g.$$.fragment,J),U(X),U(ce),U(x),U(K),I=!1},d(J){J&&L(e),Fe(g),D&&D.d(),q&&q.d(),X&&X.d(),Q&&Q.d(),ce&&ce.d(),x&&x.d(),K&&K.d(),B=!1,Ze(O)}}}function Cg(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
|
|
58
|
+
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),n||(l=ne(t,"click",Ut(i[82])),n=!0)},p:He,d(r){r&&L(e),n=!1,l()}}}function yg(i){let e,t,n,l,r,a,o=(i[43]?i[43]:i[44])+"",c,g,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=H(),a=S("span"),c=Le(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].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(h,p){A(h,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),g||(d=ne(t,"click",Ut(i[32])),g=!0)},p(h,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(h[45].icon&&h[47](h[45])?h[46](h[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&12288&&o!==(o=(h[43]?h[43]:h[44])+"")&&Ae(c,o)},d(h){h&&L(e),g=!1,d()}}}function Pg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ig(cg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},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]&1015828){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=cg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ig(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(hp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ct(l,a),a&&L(e)}}}function Ng(i){let e,t,n,l,r;const a=[T3,N3],o=[];function c(g,d){return d[0]&128&&(e=null),g[106].isCat?(e==null&&(e=g[106].visibleChildren.filter(z3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=Ce()},m(g,d){~t&&o[t].m(g,d),A(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?~t&&o[t].p(g,d):(n&&(ke(),U(o[h],1,1,()=>{o[h]=null}),Se()),~t?(n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){~t&&o[t].d(g),g&&L(l)}}}function N3(i){let e,t,n,l,r,a,o,c,g=i[48](i[106])+"",d,h,p,b,m,v,C;function y(V,I){return I[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?L3:I3}let P=y(i,[-1,-1,-1,-1]),T=P(i);a=new Pn({props:{node:i[106]}});function E(){return i[84](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),T.c(),r=H(),Ue(a.$$.fragment),o=H(),c=S("span"),d=Le(g),b=H(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",h=i[49](i[106])),f(t,"title",p=i[50](i[106],i[48](i[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,I){A(V,e,I),w(e,t),w(t,n),T.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ne(t,"click",Pt(E)),v=!0)},p(V,I){i=V,P===(P=y(i,I))&&T?T.p(i,I):(T.d(1),T=P(i),T&&(T.c(),T.m(n,r)));const B={};I[0]&128&&(B.node=i[106]),a.$set(B),(!m||I[0]&128)&&g!==(g=i[48](i[106])+"")&&Ae(d,g),(!m||I[0]&128&&h!==(h=i[49](i[106])))&&f(t,"href",h),(!m||I[0]&128&&p!==(p=i[50](i[106],i[48](i[106]))))&&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),T.d(),Fe(a),v=!1,C()}}}function T3(i){let e,t,n,l=!i[47](i[106]),r,a,o,c,g,d=i[48](i[106])+"",h,p,b,m,v,C,y,P,T=l&&Tg(i);a=new Pn({props:{node:i[106]}});function E(){return i[83](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),T&&T.c(),r=H(),Ue(a.$$.fragment),c=H(),g=S("span"),h=Le(d),v=H(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"),f(g,"class","fd-menu__title"),f(t,"href",p=i[49](i[106])),f(t,"class",b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")),f(t,"data-testid",m=oe.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,I){A(V,e,I),w(e,t),w(t,n),T&&T.m(n,null),w(n,r),Me(a,n,null),w(t,c),w(t,g),w(g,h),w(e,v),C=!0,y||(P=ne(t,"click",Pt(E)),y=!0)},p(V,I){i=V,I[0]&128&&(l=!i[47](i[106])),l?T?T.p(i,I):(T=Tg(i),T.c(),T.m(n,r)):T&&(T.d(1),T=null);const B={};I[0]&128&&(B.node=i[106]),a.$set(B),(!C||I[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||I[0]&128)&&d!==(d=i[48](i[106])+"")&&Ae(h,d),(!C||I[0]&128&&p!==(p=i[49](i[106])))&&f(t,"href",p),(!C||I[0]&384&&b!==(b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||I[0]&128&&m!==(m=oe.getTestId(i[106])+"-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),T&&T.d(),Fe(a),y=!1,P()}}}function I3(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!Xe(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function L3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Tg(i){let e,t,n;return{c(){e=S("img"),Xe(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!Xe(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Ig(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Ng(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ng(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Lg(i){let e,t,n,l,r,a=i[13].label+"",o,c,g;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[47](b[13])||!b[13].icon)),n?E3:A3}let h=d(i,[-1,-1,-1,-1]),p=h(i);return{c(){e=S("li"),t=S("a"),p.c(),l=H(),r=S("span"),o=Le(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||(g=ne(t,"click",Ut(i[31])),c=!0)},p(b,m){h===(h=d(b,m))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Ae(o,a)},d(b){b&&L(e),p.d(),c=!1,g()}}}function A3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Xe(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Xe(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function E3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](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[46](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Ag(i){let e,t,n;function l(a){i[85](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new dp({props:r}),Je.push(()=>bt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[86]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],mt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Eg(i){let e,t;return e=new up({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Rg(i){let e,t,n,l,r;function a(d){i[87](d)}function o(d){i[88](d)}function c(d){i[89](d)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new cp({props:g}),Je.push(()=>bt(e,"dropDownStates",a,i[6])),Je.push(()=>bt(e,"selectedLabel",o,i[43])),Je.push(()=>bt(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){Ue(e.$$.fragment)},m(d,h){Me(e,d,h),r=!0},p(d,h){const p={};h[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&h[0]&64&&(t=!0,p.dropDownStates=d[6],mt(()=>t=!1)),!n&&h[1]&4096&&(n=!0,p.selectedLabel=d[43],mt(()=>n=!1)),!l&&h[1]&8192&&(l=!0,p.defaultLabel=d[44],mt(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Dg(i){let e,t,n,l,r;const a=[D3,R3],o=[];function c(g,d){return d[0]&16&&(t=null),t==null&&(t=!!(g[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(g,d){A(g,e,d),o[n].m(e,null),r=!0},p(g,d){let h=n;n=c(g,d),n===h?o[n].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),l=o[n],l?l.p(g,d):(l=o[n]=a[n](g),l.c()),R(l,1),l.m(e,null))},i(g){r||(R(l),r=!0)},o(g){U(l),r=!1},d(g){g&&L(e),o[n].d()}}}function R3(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v;function C(T,E){return T[17].picture?O3:V3}let y=C(i),P=y(i);return h=new sp({props:{addNavHrefForAnchor:i[27]}}),h.$on("toggleDropdownState",i[95]),h.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),g=H(),d=S("div"),Ue(h.$$.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(T,E){A(T,e,E),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,d),Me(h,d,null),b=!0,m||(v=[ne(r,"click",i[94]),ne(n,"click",Ut(q3))],m=!0)},p(T,E){y===(y=C(T))&&P?P.p(T,E):(P.d(1),P=y(T),P&&(P.c(),P.m(r,null))),(!b||E[0]&64&&a!==(a=T[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||E[0]&131072&&o!==(o=T[17].name?T[17].name:void 0))&&f(r,"title",o),(!b||E[0]&131072&&c!==(c=T[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};E[0]&134217728&&(V.addNavHrefForAnchor=T[27]),h.$set(V),(!b||E[0]&64&&p!==(p=!T[6].profilePopover))&&f(d,"aria-hidden",p)},i(T){b||(R(h.$$.fragment,T),b=!0)},o(T){U(h.$$.fragment,T),b=!1},d(T){T&&L(e),P.d(),Fe(h),m=!1,Ze(v)}}}function D3(i){let e,t,n,l,r,a,o,c,g;function d(b,m){return b[17].picture?F3:M3}let h=d(i),p=h(i);return r=new JS({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[93]),r.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),p.c(),n=H(),l=S("div"),Ue(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(g=ne(t,"click",Ut(W3)),c=!0)},p(b,m){h===(h=d(b))&&p?p.p(b,m):(p.d(1),p=h(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(),Fe(r),c=!1,g()}}}function V3(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 O3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Vn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&Vn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function M3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Le(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=ne(e,"click",i[92]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Ae(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&L(e),r=!1,a()}}}function F3(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"),Vn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){A(r,e,a),n||(l=ne(e,"click",i[91]),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&&Vn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function Vg(i){let e,t,n;function l(a){i[96](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new dp({props:r}),Je.push(()=>bt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[97]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],mt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function U3(i){let e,t,n,l,r,a;const o=[k3,w3],c=[];function g(d,h){return d[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,h){c[e].m(d,h),A(d,n,h),l=!0,r||(a=[ne(fg,"click",i[40]),ne(fg,"blur",i[40])],r=!0)},p(d,h){let p=e;e=g(d),e===p?c[e].p(d,h):(ke(),U(c[p],1,1,()=>{c[p]=null}),Se(),t=c[e],t?t.p(d,h):(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,Ze(a)}}}const z3=i=>!i.hideFromNav&&i.label,Og=i=>!i.hideFromNav&&i.label,B3=()=>{},H3=()=>{},W3=()=>{},q3=()=>{};function G3(i,e,t){const n=Jt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:d}=e,{pathData:h}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:E}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:I}=e,{nodeForMobile:B}=e,{profileItemsAvailable:O}=e,{userInfo:D={}}=e,{globalSearchConfig:q}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:Q}=e,{inputElem:ce}=e,{luigiCustomSearchRenderer__slot:x}=e,{displaySearchResult:K}=e,{searchResult:J}=e,{burgerTooltip:j}=e,{responsiveShellbarPadding:_e}=e,ie=vt("store"),se=!1,ve,re,Re=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:We=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const te=async()=>{if(h&&0<h.length){const Y=await oe.generateTopNavNodes(h);t(7,v=Y.children),t(8,C=Y.selectedNode),t(9,y=Y.visibleNodeCount),t(11,T=Y.totalBadgeNode),t(10,P=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,p=h}},de=()=>{t(1,a=fl.isLoggedIn())};xt(()=>{dn.doOnStoreChange(ie,()=>{t(0,l=pi.isAuthorizationEnabled()),t(16,O=ae.getConfigValue("navigation.profile")),t(52,r=!ae.getConfigValue("auth.disableAutoLogin")),t(12,E=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,g=ae.getConfigValue("settings.profileType")),t(26,_e=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=oe.getProductSwitcherConfig()),t(18,q=ae.getConfigValue("globalSearch")),t(19,X=q&&q.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,We=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Re=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),dn.doOnStoreChange(ie,()=>{te()},["navigation.viewgroupdata"]),On.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&te()})}),Gn(()=>{(!p||p!=h)&&te(),de()});let{showTopNav:Te}=e;function tt(Y){return oe.renderIconClassName(Y)}function ze(Y){return oe.isOpenUIiconName(Y.icon)}const rt=Y=>oe.getNodeLabel(Y);function Ct(Y){return we.getNodeHref(Y,b)}function pe(Y,Et){return oe.generateTooltipText(Y,Et)}function $e(){at("productSwitcherPopover")}function wt(){t(42,se=!se),at("contextSwitcherPopover")}function qt(Y){t(14,I=!0),t(15,B=Y)}function Nn(){t(14,I=!1)}function Ft(Y){n("handleClick",{node:Y})}function Pe(Y){n("handleSearchNavigation",{node:Y})}function dt(Y){Ft(Y.detail.node)}function at(Y){const Et=m||{},_n=!Et[Y];ni(),Nn(),Et[Y]=_n,t(6,m=Et)}function Ot(Y){at(Y.detail.name)}function zt(){ce&&ce.focus()}function wn(){Q||setTimeout(()=>{zt()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:ce,luigiCustomSearchRenderer__slot:x})}function ni(){const Y=m||{},Et=Object.keys(Y);Et&&Et.length>0&&Et.forEach(_n=>{Y[_n]=!1,t(6,m=Y)})}function en(){c==="simple"||c==="simpleMobileOnly"?Kn():Yt(),kn()}function kn(){if(!oe.getBurgerTooltipConfig())return;const[Y,Et]=oe.getBurgerTooltipConfig();Y&&Et&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,j=document.body.classList.contains("lui-leftNavToggle")?Y:Et),document.body.classList.contains("lui-semiCollapsible")&&t(25,j=document.body.classList.contains("semiCollapsed")?Y:Et))}function Kn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Yt(){_i.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Tn(Y){const Et=Y.detail;t(17,D=Et||{})}function ki(Y){m=Y,t(6,m)}function Si(Y){Q=Y,t(20,Q)}function hn(Y){J=Y,t(24,J)}function Ci(Y){K=Y,t(23,K)}function yi(Y){ce=Y,t(21,ce)}function Pi(Y){x=Y,t(22,x)}function Ni(Y){Dl.call(this,i,Y)}function Ti(Y){Dl.call(this,i,Y)}function _l(Y){Dl.call(this,i,Y)}function pl(Y){Q=Y,t(20,Q)}function ml(Y){J=Y,t(24,J)}function Ii(Y){K=Y,t(23,K)}function Wi(Y){ce=Y,t(21,ce)}function qi(Y){x=Y,t(22,x)}function fi(Y){Dl.call(this,i,Y)}function bl(Y){Dl.call(this,i,Y)}function vl(Y){Dl.call(this,i,Y)}function Gi(Y){m=Y,t(6,m)}const Z=()=>at("contextSwitcherPopover");function Ne(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const nt=Y=>at(`dropDownPopover-${Y}`);function ht(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const Tt=(Y,Et)=>{oe.handleNavAnchorClickedWithoutMetaKey(Et)&&Ft(Y)};function Zt(Y,Et,_n,ii){_n[ii]=Y,t(7,v)}const gn=Y=>Ft(Y),jn=()=>at("overflowPopover"),Mn=()=>{wn(),at("overflowPopover")},Fl=Y=>Ft(Y),Ul=Y=>qt(Y);function zl(Y){m=Y,t(6,m)}const gr=()=>at("productSwitcherPopover");function In(Y){m=Y,t(6,m)}function Ki(Y){ve=Y,t(43,ve)}function wl(Y){re=Y,t(44,re)}const Bl=()=>at("contextSwitcherPopover"),_r=()=>at("profilePopover"),ji=()=>at("profilePopover"),kl=()=>at("profilePopover"),Sl=()=>at("profilePopover"),ci=()=>at("profilePopover");function Hl(Y){m=Y,t(6,m)}const Li=()=>at("productSwitcherPopover"),pr=()=>at("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(52,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideNavComponent"in Y&&t(2,o=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,c=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,g=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,d=Y.showGlobalNav),"pathData"in Y&&t(29,h=Y.pathData),"pathParams"in Y&&t(30,b=Y.pathParams),"dropDownStates"in Y&&t(6,m=Y.dropDownStates),"children"in Y&&t(7,v=Y.children),"selectedNode"in Y&&t(8,C=Y.selectedNode),"visibleNodeCount"in Y&&t(9,y=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,P=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,T=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,E=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,V=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,I=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,B=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,O=Y.profileItemsAvailable),"userInfo"in Y&&t(17,D=Y.userInfo),"globalSearchConfig"in Y&&t(18,q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,X=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,Q=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,ce=Y.inputElem),"luigiCustomSearchRenderer__slot"in Y&&t(22,x=Y.luigiCustomSearchRenderer__slot),"displaySearchResult"in Y&&t(23,K=Y.displaySearchResult),"searchResult"in Y&&t(24,J=Y.searchResult),"burgerTooltip"in Y&&t(25,j=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,_e=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,We=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,Te=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,Te=l&&(!r||a)||!l)},[l,a,o,c,g,d,m,v,C,y,P,T,E,V,I,B,O,D,q,X,Q,ce,x,K,J,j,_e,We,Te,h,b,$e,wt,qt,Nn,Ft,dt,at,Ot,wn,ni,Tn,se,ve,re,Re,tt,ze,rt,Ct,pe,en,r,Pe,Kn,Yt,ki,Si,hn,Ci,yi,Pi,Ni,Ti,_l,pl,ml,Ii,Wi,qi,fi,bl,vl,Gi,Z,Ne,nt,ht,Tt,Zt,gn,jn,Mn,Fl,Ul,zl,gr,In,Ki,wl,Bl,_r,ji,kl,Sl,ci,Hl,Li,pr]}class gp extends Vt{constructor(e){super(),Dt(this,e,G3,U3,At,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,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,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function Mg(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 K3(i){let e,t=i[0]&&Mg();return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=Mg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function j3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=we.mapPathToNode(lt.getCurrentPath(),n),a=await Mt.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 xt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");ur.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class J3 extends Vt{constructor(e){super(),Dt(this,e,j3,K3,At,{node:0})}}const{window:Io}=gl;function Fg(i,e,t){const n=i.slice();return n[52]=e[t][0],n[53]=e[t][1],n[55]=t,n}function Ug(i,e,t){const n=i.slice();return n[56]=e[t],n}function zg(i,e,t){const n=i.slice();return n[56]=e[t],n[58]=t,n}function Bg(i,e,t){const n=i.slice();return n[52]=e[t][0],n[53]=e[t][1],n[55]=t,n}function Hg(i,e,t){const n=i.slice();return n[56]=e[t],n}function Wg(i,e,t){const n=i.slice();return n[56]=e[t],n}function Y3(i){const e=i.slice(),t=_p(e[53]);return e[66]=t,e}function qg(i,e,t){const n=i.slice();return n[56]=e[t],n[58]=t,n}function Lo(i){const e=i.slice(),t=e[56]===e[2];return e[63]=t,e}function Q3(i){const e=i.slice(),t=`${e[55]}-0`;e[64]=t;const n=`lui-${e[64]}-popover`;return e[65]=n,e}function Gg(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&Kg(i),P=Object.entries(i[0]),T=[];for(let O=0;O<P.length;O+=1)T[O]=e_(Bg(i,P,O));const E=O=>U(T[O],1,1,()=>{T[O]=null});let V=Object.entries(i[0]),I=[];for(let O=0;O<V.length;O+=1)I[O]=l_(Fg(i,V,O));const B=O=>U(I[O],1,1,()=>{I[O]=null});return{c(){e=S("div"),y&&y.c(),t=H(),n=S("nav"),l=S("div");for(let O=0;O<T.length;O+=1)T[O].c();r=H(),a=S("span"),o=S("div"),c=S("div"),g=S("button"),g.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
|
|
59
|
+
<span class="sap-icon--slim-arrow-down"></span>`,d=H(),h=S("div"),p=S("ul");for(let O=0;O<I.length;O+=1)I[O].c();f(g,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(h,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(h,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(O,D){A(O,e,D),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let q=0;q<T.length;q+=1)T[q].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,g),i[30](g),w(o,d),w(o,h),w(h,p);for(let q=0;q<I.length;q+=1)I[q].m(p,null);i[35](a),i[36](l),i[38](e),m=!0,v||(C=[ne(g,"click",Pt(i[10])),ne(a,"click",s8),ne(n,"toggleDropdownState",i[37])],v=!0)},p(O,D){if(O[11].parent&&O[11].parent.tabNav&&O[11].parent.tabNav.showAsTabHeader?y?(y.p(O,D),D[0]&2048&&R(y,1)):(y=Kg(O),y.c(),R(y,1),y.m(e,t)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),D[0]&1900749){P=Object.entries(O[0]);let q;for(q=0;q<P.length;q+=1){const X=Bg(O,P,q);T[q]?(T[q].p(X,D),R(T[q],1)):(T[q]=e_(X),T[q].c(),R(T[q],1),T[q].m(l,r))}for(ke(),q=P.length;q<T.length;q+=1)E(q);Se()}if(D[0]&852205){V=Object.entries(O[0]);let q;for(q=0;q<V.length;q+=1){const X=Fg(O,V,q);I[q]?(I[q].p(X,D),R(I[q],1)):(I[q]=l_(X),I[q].c(),R(I[q],1),I[q].m(p,null))}for(ke(),q=V.length;q<I.length;q+=1)B(q);Se()}(!m||D[0]&16&&b!==(b=!O[4]))&&f(h,"aria-hidden",b)},i(O){if(!m){R(y);for(let D=0;D<P.length;D+=1)R(T[D]);for(let D=0;D<V.length;D+=1)R(I[D]);m=!0}},o(O){U(y),T=T.filter(Boolean);for(let D=0;D<T.length;D+=1)U(T[D]);I=I.filter(Boolean);for(let D=0;D<I.length;D+=1)U(I[D]);m=!1},d(O){O&&L(e),y&&y.d(),ct(T,O),i[30](null),ct(I,O),i[35](null),i[36](null),i[38](null),v=!1,Ze(C)}}}function Kg(i){let e,t;return e=new J3({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Z3(i){let e,t,n,l,r;const a=[x3,$3],o=[];function c(d,h){return h[0]&1&&(e=null),e==null&&(e=!!l8(d[53])),e?0:1}function g(d,h){return h===0?Y3(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](g(i,t)),{c(){n.c(),l=Ce()},m(d,h){o[t].m(d,h),A(d,l,h),r=!0},p(d,h){let p=t;t=c(d,h),t===p?o[t].p(g(d,t),h):(ke(),U(o[p],1,1,()=>{o[p]=null}),Se(),n=o[t],n?n.p(g(d,t),h):(n=o[t]=a[t](g(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){o[t].d(d),d&&L(l)}}}function X3(i){let e,t,n=i[53],l=[];for(let a=0;a<n.length;a+=1)l[a]=xg(qg(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=Ce()},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]&786501){n=a[53];let c;for(c=0;c<n.length;c+=1){const g=qg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=xg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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){ct(l,a),a&&L(e)}}}function $3(i){let e,t,n,l,r,a,o=i[16](i[52])+"",c,g,d,h,p,b,m,v,C,y,P,T,E;function V(){return i[28](i[52])}let I=i[53],B=[];for(let D=0;D<I.length;D+=1)B[D]=Yg(Hg(i,I,D));const O=D=>U(B[D],1,1,()=>{B[D]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Le(o),g=H(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=H(),b=S("div"),m=S("ul");for(let D=0;D<B.length;D+=1)B[D].c();C=H(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",h=cl(i[52],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",v=!i[3][i[52]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[64]),f(e,"isselected",y=cl(i[52],i[2]))},m(D,q){A(D,e,q),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,g),w(r,d),w(t,p),w(t,b),w(b,m);for(let X=0;X<B.length;X+=1)B[X].m(m,null);w(e,C),P=!0,T||(E=[ne(l,"click",Pt(V)),ne(e,"click",a8)],T=!0)},p(D,q){if(i=D,(!P||q[0]&65537)&&o!==(o=i[16](i[52])+"")&&Ae(c,o),(!P||q[0]&5&&h!==(h=cl(i[52],i[2])))&&f(l,"aria-selected",h),q[0]&786501){I=i[53];let X;for(X=0;X<I.length;X+=1){const Q=Hg(i,I,X);B[X]?(B[X].p(Q,q),R(B[X],1)):(B[X]=Yg(Q),B[X].c(),R(B[X],1),B[X].m(m,null))}for(ke(),X=I.length;X<B.length;X+=1)O(X);Se()}(!P||q[0]&9&&v!==(v=!i[3][i[52]]))&&f(b,"aria-hidden",v),(!P||q[0]&5&&y!==(y=cl(i[52],i[2])))&&f(e,"isselected",y)},i(D){if(!P){for(let q=0;q<I.length;q+=1)R(B[q]);P=!0}},o(D){B=B.filter(Boolean);for(let q=0;q<B.length;q+=1)U(B[q]);P=!1},d(D){D&&L(e),ct(B,D),T=!1,Ze(E)}}}function x3(i){let e,t,n,l=i[16](i[52])+"",r,a,o,c,g,d,h,p,b,m,v,C,y,P,T,E,V;function I(){return i[25](i[66])}function B(){return i[26](i[52])}let O=i[53],D=[];for(let q=0;q<O.length;q+=1)D[q]=Zg(Wg(i,O,q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Le(l),c=H(),g=S("div"),d=S("div"),h=S("div"),p=S("button"),b=S("i"),v=H(),C=S("div"),y=S("ul");for(let q=0;q<D.length;q+=1)D[q].c();T=H(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=cl(i[52],i[2])),f(t,"href",o=i[19](i[66])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[65]),f(p,"aria-expanded",m=!!i[3][i[52]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(h,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",P=!i[3][i[52]]),f(C,"id",i[65]),f(g,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(q,X){A(q,e,X),w(e,t),w(t,n),w(n,r),w(e,c),w(e,g),w(g,d),w(d,h),w(h,p),w(p,b),w(g,v),w(g,C),w(C,y);for(let Q=0;Q<D.length;Q+=1)D[Q].m(y,null);w(e,T),E||(V=[ne(t,"click",Pt(I)),ne(p,"click",Pt(B)),ne(e,"click",r8)],E=!0)},p(q,X){if(i=q,X[0]&65537&&l!==(l=i[16](i[52])+"")&&Ae(r,l),X[0]&5&&a!==(a=cl(i[52],i[2]))&&f(t,"aria-selected",a),X[0]&1&&o!==(o=i[19](i[66]))&&f(t,"href",o),X[0]&9&&m!==(m=!!i[3][i[52]])&&f(p,"aria-expanded",m),X[0]&786501){O=i[53];let Q;for(Q=0;Q<O.length;Q+=1){const ce=Wg(i,O,Q);D[Q]?D[Q].p(ce,X):(D[Q]=Zg(ce),D[Q].c(),D[Q].m(y,null))}for(;Q<D.length;Q+=1)D[Q].d(1);D.length=O.length}X[0]&9&&P!==(P=!i[3][i[52]])&&f(C,"aria-hidden",P)},i:He,o:He,d(q){q&&L(e),ct(D,q),E=!1,Ze(V)}}}function jg(i){let e,t,n=i[56].label&&Jg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Jg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Jg(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new ti({props:{node:i[56]}});function v(){return i[29](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=H(),Ue(o.$$.fragment),h=H(),f(n,"class","fd-list__title"),f(t,"href",c=i[19](i[56])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function Yg(i){let e,t,n=!i[56].hideFromNav&&jg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=jg(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 Qg(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d;function h(){return i[27](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),c=H(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[19](i[56])),f(t,"aria-selected",o=i[56]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=ne(t,"click",Pt(h)),g=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[18](i[56])+"")&&Ae(r,l),b[0]&1&&a!==(a=i[19](i[56]))&&f(t,"href",a),b[0]&5&&o!==(o=i[56]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),g=!1,d()}}}function Zg(i){let e,t=!i[56].hideFromNav&&i[56].label&&Qg(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[56].hideFromNav&&n[56].label?t?t.p(n,l):(t=Qg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Xg(i){let e,t,n=i[56].label&&$g(Lo(i));return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].label?n?(n.p(Lo(l),r),r[0]&1&&R(n,1)):(n=$g(Lo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function $g(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m,v;o=new ti({props:{node:i[56]}});function C(){return i[24](i[56])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Le(l),a=H(),Ue(o.$$.fragment),h=H(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[19](i[56])),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[63]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[55]+"-"+i[58]),f(e,"isselected",p=i[63])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,h),b=!0,m||(v=ne(t,"click",Pt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(r,l);const T={};P[0]&1&&(T.node=i[56]),o.$set(T),(!b||P[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!b||P[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!b||P[0]&5&&d!==(d=i[63]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[63]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&L(e),Fe(o),m=!1,v()}}}function xg(i){let e,t,n=!i[56].hideFromNav&&Xg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].hideFromNav?n&&(ke(),U(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function e_(i){let e,t,n,l,r,a;const o=[X3,Z3],c=[];function g(h,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!h[20](h[52],h[53])),e?0:(t==null&&(t=!!i8(h[53])),t?1:-1)}function d(h,p){return p===1?Q3(h):h}return~(n=g(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=Ce()},m(h,p){~n&&c[n].m(h,p),A(h,r,p),a=!0},p(h,p){let b=n;n=g(h,p),n===b?~n&&c[n].p(d(h,n),p):(l&&(ke(),U(c[b],1,1,()=>{c[b]=null}),Se()),~n?(l=c[n],l?l.p(d(h,n),p):(l=c[n]=o[n](d(h,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(h){a||(R(l),a=!0)},o(h){U(l),a=!1},d(h){~n&&c[n].d(h),h&&L(r)}}}function e8(i){let e,t,n,l,r=i[16](i[52])+"",a,o,c,g,d,h,p,b,m,v,C,y,P,T,E;function V(){return i[32](i[52],i[55])}function I(){return i[33](i[52],i[55])}let B=i[53],O=[];for(let q=0;q<B.length;q+=1)O[q]=n_(Ug(i,B,q));const D=q=>U(O[q],1,1,()=>{O[q]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Le(r),g=H(),d=S("button"),h=S("i"),m=H(),v=S("ul");for(let q=0;q<O.length;q+=1)O[q].c();y=H(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[55]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[52]+i[55]]),f(n,"aria-selected",c=cl(i[52],i[2])),f(h,"class",p=i[3][i[52]+i[55]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(h,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[52]+i[55]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[52]+i[55]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[55]+"-0")},m(q,X){A(q,e,X),w(e,t),w(t,n),w(n,l),w(l,a),w(t,g),w(t,d),w(d,h),w(e,m),w(e,v);for(let Q=0;Q<O.length;Q+=1)O[Q].m(v,null);w(e,y),P=!0,T||(E=[ne(n,"click",Pt(V)),ne(d,"click",Pt(I))],T=!0)},p(q,X){if(i=q,(!P||X[0]&65537)&&r!==(r=i[16](i[52])+"")&&Ae(a,r),(!P||X[0]&9&&o!==(o=i[3][i[52]+i[55]]))&&f(n,"aria-expanded",o),(!P||X[0]&5&&c!==(c=cl(i[52],i[2])))&&f(n,"aria-selected",c),(!P||X[0]&9&&p!==(p=i[3][i[52]+i[55]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(h,"class",p),(!P||X[0]&9&&b!==(b=i[3][i[52]+i[55]]))&&f(d,"aria-expanded",b),X[0]&786501){B=i[53];let Q;for(Q=0;Q<B.length;Q+=1){const ce=Ug(i,B,Q);O[Q]?(O[Q].p(ce,X),R(O[Q],1)):(O[Q]=n_(ce),O[Q].c(),R(O[Q],1),O[Q].m(v,null))}for(ke(),Q=B.length;Q<O.length;Q+=1)D(Q);Se()}(!P||X[0]&9&&C!==(C=!i[3][i[52]+i[55]]))&&f(v,"aria-hidden",C)},i(q){if(!P){for(let X=0;X<B.length;X+=1)R(O[X]);P=!0}},o(q){O=O.filter(Boolean);for(let X=0;X<O.length;X+=1)U(O[X]);P=!1},d(q){q&&L(e),ct(O,q),T=!1,Ze(E)}}}function t8(i){let e,t,n=i[53],l=[];for(let a=0;a<n.length;a+=1)l[a]=i_(zg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},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]&786501){n=a[53];let c;for(c=0;c<n.length;c+=1){const g=zg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=i_(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},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){ct(l,a),a&&L(e)}}}function t_(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new ti({props:{node:i[56]}});function v(){return i[34](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=H(),Ue(o.$$.fragment),h=H(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[19](i[56])),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[55])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function n_(i){let e,t,n=i[56].label&&t_(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[56].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=t_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function i_(i){let e,t,n,l=i[18](i[56])+"",r,a,o,c,g,d,h,p,b,m;o=new ti({props:{node:i[56]}});function v(){return i[31](i[56])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Le(l),a=H(),Ue(o.$$.fragment),h=H(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[19](i[56])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",g=oe.getTestId(i[56])),f(t,"aria-selected",d=i[56]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[55]+"-"+i[58])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[18](i[56])+"")&&Ae(r,l);const P={};y[0]&1&&(P.node=i[56]),o.$set(P),(!p||y[0]&1&&c!==(c=i[19](i[56])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=oe.getTestId(i[56])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[56]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function l_(i){let e,t,n,l,r;const a=[t8,e8],o=[];function c(g,d){return d[0]&33&&(e=null),e==null&&(e=g[52]==="undefined"||g[52].indexOf(g[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=Ce()},m(g,d){o[t].m(g,d),A(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?o[t].p(g,d):(ke(),U(o[h],1,1,()=>{o[h]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l))},i(g){r||(R(n),r=!0)},o(g){U(n),r=!1},d(g){o[t].d(g),g&&L(l)}}}function n8(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Gg(i);return{c(){r&&r.c(),e=Ce()},m(a,o){r&&r.m(a,o),A(a,e,o),t=!0,n||(l=[ne(Io,"click",i[8]),ne(Io,"blur",i[8]),ne(Io,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=Gg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){r&&r.d(a),a&&L(e),n=!1,Ze(l)}}}function cl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function i8(i){return i.some(e=>!e.hideFromNav&&e.label)}function _p(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function l8(i){return!!_p(i)}const r8=i=>i.stopPropagation(),a8=i=>i.stopPropagation(),s8=i=>i.stopPropagation();function o8(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=oe.virtualGroupPrefix}=e,{selectedNodeForTabNav:g}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:h=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=vt("getTranslation");wi(i,C,Pe=>t(16,n=Pe));let y=vt("store"),P,T,E,V,I;const B={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:g,dropDownStates:d,isMoreBtnExpanded:h}),set:Pe=>{Pe&&Object.getOwnPropertyNames(Pe).forEach(dt=>{dt==="pathData"?t(1,r=Pe.pathData):dt==="context"?context=Pe.context:dt==="children"?t(0,l=Pe.children):dt==="selectedNode"?t(11,b=Pe.selectedNode):dt==="selectedNodeForTabNav"&&t(2,g=Pe.selectedNodeForTabNav)})}},O=Jt();function D(Pe){return oe.getNodeLabel(Pe)}const q=async()=>{const Pe=B.get(),dt=await Mt.getTabNavData({...Pe},Pe);dt&&(B.set({...dt}),m=r,window.LEFTNAVDATA=dt.groupedChildren,setTimeout(X))},X=()=>{if(Q(),E&&V&&I){I.classList.remove("is-active");const Pe=getComputedStyle(E),dt=E.offsetWidth-V.offsetWidth-parseFloat(Pe.paddingLeft)-parseFloat(Pe.paddingRight);let at=0,Ot=!1;[...E.children].forEach(zt=>{const wn=zt.getAttribute("uid");if(!wn)return;const ni=getComputedStyle(zt),en=parseFloat(ni.marginLeft)+parseFloat(ni.marginRight);at+=zt.offsetWidth+en,at>=dt?(zt.classList.add("hide_element"),zt.getAttribute("isSelected")==="true"&&I.classList.add("is-active"),document.querySelector('li[uid="'+wn+'"]').classList.remove("hide_element"),Ot=!0):document.querySelector('li[uid="'+wn+'"]').classList.add("hide_element")}),Ot?V.classList.remove("hide_element"):V.classList.add("hide_element")}},Q=()=>{E!==void 0&&[...E.children].forEach(dt=>{dt.classList.remove("hide_element")})},ce=()=>{P=new ResizeObserver(Pe=>{for(const dt of Pe)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",dt.contentRect.height+"px")}),setTimeout(()=>{T&&P.observe(T)})},x=()=>{P&&P.disconnect()};xt(()=>{t(21,o=ae.getConfigBooleanValue("settings.hideNavigation")),ce(),dn.doOnStoreChange(y,()=>{q()},["navigation.viewgroupdata"])}),Jr(()=>{x(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Gn(()=>{(!m||m!=r)&&q(),(v===void 0||v!==p)&&(v=p,q())}),jr(()=>{x(),P?setTimeout(()=>{T&&P.observe(T)}):ce()});function K(Pe){return we.getNodeHref(Pe,a)}function J(Pe){_e(),O("handleClick",{node:Pe})}function j(Pe){let dt={};d[Pe]||(dt[Pe]=!0),t(3,d=dt)}function _e(){t(3,d={}),t(4,h=!1)}function ie(){Q(),X()}function se(){t(4,h=!h)}function ve(Pe,dt){const at=Pe==="undefined",Ot=Pe.indexOf(c)===0;if(at||Ot||re(dt))return!0}function re(Pe){const dt=Pe.find(zt=>le.isObject(zt.category));if(!dt)return;const at=dt.category.label||dt.category.id;return Pe.filter(zt=>zt.category===at&&zt.hideFromNav===!0).length===1}const Re=Pe=>J(Pe),We=Pe=>J(Pe),te=Pe=>j(Pe),de=Pe=>J(Pe),Te=Pe=>j(Pe),tt=Pe=>J(Pe);function ze(Pe){Je[Pe?"unshift":"push"](()=>{I=Pe,t(15,I)})}const rt=Pe=>J(Pe),Ct=(Pe,dt)=>j(Pe+dt),pe=(Pe,dt)=>j(Pe+dt),$e=Pe=>J(Pe);function wt(Pe){Je[Pe?"unshift":"push"](()=>{V=Pe,t(14,V)})}function qt(Pe){Je[Pe?"unshift":"push"](()=>{E=Pe,t(13,E)})}const Nn=Pe=>j(Pe.name);function Ft(Pe){Je[Pe?"unshift":"push"](()=>{T=Pe,t(12,T)})}return i.$$set=Pe=>{"children"in Pe&&t(0,l=Pe.children),"pathData"in Pe&&t(1,r=Pe.pathData),"pathParams"in Pe&&t(22,a=Pe.pathParams),"hideNavComponent"in Pe&&t(21,o=Pe.hideNavComponent),"virtualGroupPrefix"in Pe&&t(5,c=Pe.virtualGroupPrefix),"selectedNodeForTabNav"in Pe&&t(2,g=Pe.selectedNodeForTabNav),"dropDownStates"in Pe&&t(3,d=Pe.dropDownStates),"isMoreBtnExpanded"in Pe&&t(4,h=Pe.isMoreBtnExpanded),"resizeTabNavToggle"in Pe&&t(23,p=Pe.resizeTabNavToggle)},[l,r,g,d,h,c,J,j,_e,ie,se,b,T,E,V,I,n,C,D,K,ve,o,a,p,Re,We,te,de,Te,tt,ze,rt,Ct,pe,$e,wt,qt,Nn,Ft]}class pp extends Vt{constructor(e){super(),Dt(this,e,o8,n8,At,{children:0,pathData:1,pathParams:22,hideNavComponent:21,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:23,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function r_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function a_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function s_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&o_(i),o=i[0]&&i[3].length>=0&&d_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=H(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-u7mfvs"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-u7mfvs"),f(e,"class","lui-globalnav svelte-u7mfvs")},m(c,g){A(c,e,g),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>=0?a?a.p(c,g):(a=o_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,g):(o=d_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),a&&a.d(),o&&o.d()}}}function o_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=c_(a_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=a_(l,t,a);n[a]?n[a].p(o,r):(n[a]=c_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function u_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,h,p,b,m,v,C,y=i[23].icon&&f_(i);function P(...T){return i[17](i[23],...T)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=H(),r=S("div"),o=Le(a),c=H(),g=S("div"),p=H(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",h=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=oe.getTestId(i[23]))},m(T,E){A(T,e,E),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),v||(C=ne(t,"click",P),v=!0)},p(T,E){i=T,i[23].icon?y?y.p(i,E):(y=f_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),E&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),E&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),E&129&&h!==(h=i[7](i[23].label))&&f(t,"title",h),E&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),E&1&&m!==(m=oe.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&L(e),y&&y.d(),v=!1,C()}}}function f_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?f8:u8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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 u8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function f8(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&L(e)}}}function c_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&u_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=u_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function d_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=__(r_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=r_(l,t,a);n[a]?n[a].p(o,r):(n[a]=__(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ct(n,l)}}}function h_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,h,p,b,m,v,C,y=i[23].icon&&g_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=H(),r=S("div"),o=Le(a),c=H(),g=S("div"),p=H(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",h=i[7](i[23].label)),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=oe.getTestId(i[23]))},m(T,E){A(T,e,E),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),v||(C=ne(n,"click",Pt(P)),v=!0)},p(T,E){i=T,i[23].icon?y?y.p(i,E):(y=g_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),E&1&&a!==(a=i[11](i[23])+"")&&Ae(o,a),E&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),E&129&&h!==(h=i[7](i[23].label))&&f(t,"title",h),E&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),E&1&&m!==(m=oe.getTestId(i[23]))&&f(e,"data-testid",m)},d(T){T&&L(e),y&&y.d(),v=!1,C()}}}function g_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?d8:c8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},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 c8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!Xe(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function d8(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&L(e)}}}function __(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&h_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=h_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function h8(i){let e,t,n,l=i[2]&&s_(i);return{c(){l&&l.c(),e=Ce()},m(r,a){l&&l.m(r,a),A(r,e,a),t||(n=[ne(window,"click",fs),ne(window,"blur",fs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=s_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:He,o:He,d(r){l&&l.d(r),r&&L(e),t=!1,Ze(n)}}}function fs(){}function g8(i,e,t){let n;const l=Jt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,d=vt("store"),h=vt("getTranslation");wi(i,h,D=>t(7,n=D));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const D=await oe.generateTopNavNodes(r);t(0,c=D.children),t(1,g=D.selectedNode),a=r}};xt(()=>{dn.doOnStoreChange(d,()=>{t(13,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(14,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!(ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Gn(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(D){return oe.renderIconClassName(D)}function P(D){return oe.isOpenUIiconName(D.icon)}function T(D){return St.getTranslation(D.label)}function E(D){return we.getNodeHref(D,o)}function V(D){l("handleClick",{node:D})}function I(D){V(D.detail.node)}const B=(D,q)=>{oe.handleNavAnchorClickedWithoutMetaKey(q)&&V(D)},O=D=>V(D);return i.$$set=D=>{"pathData"in D&&t(3,r=D.pathData),"pathParams"in D&&t(15,o=D.pathParams),"children"in D&&t(0,c=D.children),"selectedNode"in D&&t(1,g=D.selectedNode),"showGlobalNav"in D&&t(2,p=D.showGlobalNav),"hideNavComponent"in D&&t(13,b=D.hideNavComponent),"responsiveNavSetting"in D&&t(14,m=D.responsiveNavSetting)},[c,g,p,r,V,fs,v,n,h,y,P,T,E,b,m,o,I,B,O]}class _8 extends Vt{constructor(e){super(),Dt(this,e,g8,h8,At,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return fs}}function p8(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){A(t,e,n),i[4](e)},p:He,i:He,o:He,d(t){t&&L(e),i[4](null)}}}function m8(i,e,t){const n=Jt();let{pathData:l}=e,r,a={},o,c=vt("store"),{showBreadcrumb:g}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},h=v=>{v.last||b(v.node)};xt(()=>{dn.doOnStoreChange(c,()=>{},["navigation"])}),Gn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=ae.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!v),g&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,g=!1):C.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=lt.getCurrentPath();for(let T=y;T<l.length;T++){const E=l[T],V=we.mapPathToNode(P,E);if(a[V])C.push(a[V]);else if(E.label||E.pathSegment||E.titleResolver)if(document.body.classList.add("lui-breadcrumb"),E.titleResolver)C.push({label:E.titleResolver.prerenderFallback&&E.titleResolver.fallbackTitle?St.getTranslation(E.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:E,route:V,pending:!0});else{const I=await p(E);I&&C.push({label:I,node:E,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,h),C=[];for(let T=y;T<l.length;T++){const E=l[T],V=we.mapPathToNode(P,E);if(E.titleResolver){const B=await Mt.extractDataFromPath(V),O=we.substituteDynamicParamsInObject(Object.assign({},B.pathData.context,E.context),B.pathData.pathParams);try{const D=await oe.fetchNodeTitleData(E,O);C.push({label:D.label,node:E,route:V});continue}catch{}}const I=await p(E);I&&C.push({label:I,node:E,route:V})}P===lt.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,h)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(T=>{a[T.route]=T}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return St.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=we.mapPathToNode(lt.getCurrentPath(),v),y=await Mt.extractDataFromPath(C);return we.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Je[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,g=v.showBreadcrumb)},[o,g,l,b,m]}class mp extends Vt{constructor(e){super(),Dt(this,e,m8,p8,At,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Oo="not_checked";On.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Oo="disabled"):i.data==="luigi.tpcEnabled"&&(Oo="enabled")},!1);function b8(){return Oo}const{Boolean:v8,window:p_}=gl;function m_(i,e,t){const n=i.slice();return n[153]=e[t],n[155]=t,n}function b_(i){let e,t;return e=new sk({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[36]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function v_(i){let e,t;function n(){return i[69](i[155])}function l(...a){return i[70](i[155],...a)}function r(...a){return i[71](i[155],...a)}return e=new np({props:{settings:i[153].mfModal.settings,nodepath:i[153].mfModal.nodepath,modalIndex:i[155],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&134217728&&(c.settings=i[153].mfModal.settings),o[0]&134217728&&(c.nodepath=i[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function w_(i){let e,t,n=i[153].mfModal.displayed&&v_(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[153].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&R(n,1)):(n=v_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),U(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function k_(i){let e,t;return e=new np({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[w8]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[5]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function w8(i){let e,t;return e=new Ml({props:{area:"drawer",disable:i[12]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function S_(i){let e,t;return e=new dk({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function C_(i){let e,t,n;function l(a){i[74](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new Ik({props:r}),Je.push(()=>bt(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],mt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function k8(i){let e,t,n,l,r,a,o,c;e=new Ml({props:{disable:i[12],$$slots:{default:[C8]},$$scope:{ctx:i}}});let g=i[10]&&P_(),d=!i[24]&&N_(i),h=!i[20]&&T_(i),p=!(i[20]||i[21])&&L_(i),b=i[15]&&!i[20]&&A_(i);return{c(){Ue(e.$$.fragment),t=H(),g&&g.c(),n=H(),d&&d.c(),l=H(),h&&h.c(),r=H(),p&&p.c(),a=H(),b&&b.c(),o=Ce()},m(m,v){Me(e,m,v),A(m,t,v),g&&g.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),h&&h.m(m,v),A(m,r,v),p&&p.m(m,v),A(m,a,v),b&&b.m(m,v),A(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?g||(g=P_(),g.c(),g.m(n.parentNode,n)):g&&(g.d(1),g=null),m[24]?d&&(ke(),U(d,1,1,()=>{d=null}),Se()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=N_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?h&&(ke(),U(h,1,1,()=>{h=null}),Se()):h?(h.p(m,v),v[0]&1048576&&R(h,1)):(h=T_(m),h.c(),R(h,1),h.m(r.parentNode,r)),m[20]||m[21]?p&&(ke(),U(p,1,1,()=>{p=null}),Se()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=L_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=A_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ke(),U(b,1,1,()=>{b=null}),Se())},i(m){c||(R(e.$$.fragment,m),R(d),R(h),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(h),U(p),U(b),c=!1},d(m){Fe(e,m),m&&L(t),g&&g.d(m),m&&L(n),d&&d.d(m),m&&L(l),h&&h.d(m),m&&L(r),p&&p.d(m),m&&L(a),b&&b.d(m),m&&L(o)}}}function S8(i){let e,t,n,l,r,a,o,c,g,d,h,p,b,m=!i[24]&&E_(i),v=!(i[20]||i[21])&&R_(i),C=i[19]&&D_(i);h=new Ml({props:{disable:i[12],$$slots:{default:[y8]},$$scope:{ctx:i}}});let y=i[10]&&M_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=H(),a=S("div"),v&&v.c(),o=H(),c=S("div"),C&&C.c(),g=H(),d=S("div"),Ue(h.$$.fragment),p=H(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1omtujb"),f(c,"class","fd-tool-layout__content-container svelte-1omtujb"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1omtujb"),f(e,"class","lui-core-layout svelte-1omtujb")},m(P,T){A(P,e,T),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),C&&C.m(c,null),w(c,g),w(c,d),Me(h,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,T){P[24]?m&&(ke(),U(m,1,1,()=>{m=null}),Se()):m?(m.p(P,T),T[0]&16777216&&R(m,1)):(m=E_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(ke(),U(v,1,1,()=>{v=null}),Se()):v?(v.p(P,T),T[0]&3145728&&R(v,1)):(v=R_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,T),T[0]&524288&&R(C,1)):(C=D_(P),C.c(),R(C,1),C.m(c,g)):C&&(ke(),U(C,1,1,()=>{C=null}),Se());const E={};T[0]&4096&&(E.disable=P[12]),T[0]&1177600|T[5]&2&&(E.$$scope={dirty:T,ctx:P}),h.$set(E),P[10]?y||(y=M_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(h.$$.fragment,P),b=!0)},o(P){U(m),U(v),U(C),U(h.$$.fragment,P),b=!1},d(P){P&&L(e),m&&m.d(),v&&v.d(),C&&C.d(),Fe(h),y&&y.d()}}}function y_(i){let e,t;return e=new lp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function C8(i){let e,t,n,l,r,a,o,c,g;t=new Ml({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&y_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),r=H(),d&&d.c(),a=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(h,p){A(h,e,p),Me(t,e,null),w(e,n),w(e,l),A(h,r,p),d&&d.m(h,p),A(h,a,p),o=!0,c||(g=q_(i[45].call(null,e)),c=!0)},p(h,p){const b={};p[0]&4096&&(b.disable=h[12]),t.$set(b),(!o||p[0]&2048)&&jt(e,"lui-split-view",h[11].displayed),(!o||p[0]&2048)&&jt(e,"lui-collapsed",h[11].collapsed),h[11].displayed?d?(d.p(h,p),p[0]&2048&&R(d,1)):(d=y_(h),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ke(),U(d,1,1,()=>{d=null}),Se())},i(h){o||(R(t.$$.fragment,h),R(d),o=!0)},o(h){U(t.$$.fragment,h),U(d),o=!1},d(h){h&&L(e),Fe(t),h&&L(r),d&&d.d(h),h&&L(a),c=!1,g()}}}function P_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
60
60
|
<div class="fd-busy-indicator__circle"></div>
|
|
61
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function N_(i){let e,t,n,l,a,
|
|
61
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function N_(i){let e,t,n,l,r,a,o;function c(m){i[80](m)}function g(m){i[81](m)}function d(m){i[82](m)}function h(m){i[83](m)}function p(m){i[84](m)}let b={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.luigiCustomSearchRenderer__slot=i[2]),e=new gp({props:b}),Je.push(()=>bt(e,"isSearchFieldVisible",c,i[0])),Je.push(()=>bt(e,"displaySearchResult",g,i[3])),Je.push(()=>bt(e,"searchResult",d,i[4])),Je.push(()=>bt(e,"inputElem",h,i[1])),Je.push(()=>bt(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};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],mt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],mt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],mt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],mt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],mt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function T_(i){let e,t,n,l;e=new _8({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]);let r=i[19]&&I_(i);return{c(){Ue(e.$$.fragment),t=H(),r&&r.c(),n=Ce()},m(a,o){Me(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=I_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ke(),U(r,1,1,()=>{r=null}),Se())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){Fe(e,a),a&&L(t),r&&r.d(a),a&&L(n)}}}function I_(i){let e,t;return e=new mp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function L_(i){let e,t;return e=new rp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t;return e=new pp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function E_(i){let e,t,n,l,r,a,o;function c(m){i[75](m)}function g(m){i[76](m)}function d(m){i[77](m)}function h(m){i[78](m)}function p(m){i[79](m)}let b={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.luigiCustomSearchRenderer__slot=i[2]),e=new gp({props:b}),Je.push(()=>bt(e,"isSearchFieldVisible",c,i[0])),Je.push(()=>bt(e,"displaySearchResult",g,i[3])),Je.push(()=>bt(e,"searchResult",d,i[4])),Je.push(()=>bt(e,"inputElem",h,i[1])),Je.push(()=>bt(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};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],mt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],mt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],mt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],mt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],mt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function R_(i){let e,t,n,l;return n=new rp({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[30]),n.$on("resizeTabNav",i[31]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-1omtujb"),f(e,"class","fd-tool-layout__navigation-container svelte-1omtujb")},m(r,a){A(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&L(e),Fe(n)}}}function D_(i){let e,t;return e=new mp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function V_(i){let e,t;return e=new pp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function O_(i){let e,t;return e=new lp({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function y8(i){let e,t,n,l,r,a,o,c,g,d;t=new Ml({props:{area:"main",disable:i[12]}});let h=i[15]&&!i[20]&&V_(i),p=i[11].displayed&&O_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),r=H(),h&&h.c(),a=H(),p&&p.c(),o=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),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),Me(t,e,null),w(e,n),w(e,l),A(b,r,m),h&&h.m(b,m),A(b,a,m),p&&p.m(b,m),A(b,o,m),c=!0,g||(d=q_(i[45].call(null,e)),g=!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]?h?(h.p(b,m),m[0]&1081344&&R(h,1)):(h=V_(b),h.c(),R(h,1),h.m(a.parentNode,a)):h&&(ke(),U(h,1,1,()=>{h=null}),Se()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=O_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ke(),U(p,1,1,()=>{p=null}),Se())},i(b){c||(R(t.$$.fragment,b),R(h),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(h),U(p),c=!1},d(b){b&&L(e),Fe(t),b&&L(r),h&&h.d(b),b&&L(a),p&&p.d(b),b&&L(o),g=!1,d()}}}function M_(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-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function P8(i){let e,t,n,l,a,r,o,c,g,d,h,p=i[25]&&i[25].length&&b_(i),b=i[27],m=[];for(let I=0;I<b.length;I+=1)m[I]=w_(m_(i,b,I));const v=I=>U(m[I],1,1,()=>{m[I]=null});let C=i[28].displayed&&i[28].settings.isDrawer&&k_(i),y=i[26].displayed&&S_(i),P=i[17].displayed&&C_(i);const T=[S8,k8],E=[];function V(I,B){return I[29]?0:1}return o=V(i),c=E[o]=T[o](i),{c(){e=S("div"),p&&p.c(),t=H();for(let I=0;I<m.length;I+=1)m[I].c();n=H(),C&&C.c(),l=H(),y&&y.c(),a=H(),P&&P.c(),r=H(),c.c(),f(e,"id","app"),f(e,"configversion",i[23]),f(e,"class","svelte-1omtujb"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[21]),jt(e,"no-top-nav",i[24]),jt(e,"no-animation",i[22]),jt(e,"btp-layout",i[29])},m(I,B){A(I,e,B),p&&p.m(e,null),w(e,t);for(let M=0;M<m.length;M+=1)m[M].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,a),P&&P.m(e,null),w(e,r),E[o].m(e,null),g=!0,d||(h=[ne(p_,"resize",i[35]),ne(p_,"keydown",i[46])],d=!0)},p(I,B){if(I[25]&&I[25].length?p?(p.p(I,B),B[0]&33554432&&R(p,1)):(p=b_(I),p.c(),R(p,1),p.m(e,t)):p&&(ke(),U(p,1,1,()=>{p=null}),Se()),B[0]&134221824|B[1]&896){b=I[27];let M;for(M=0;M<b.length;M+=1){const D=m_(I,b,M);m[M]?(m[M].p(D,B),R(m[M],1)):(m[M]=w_(D),m[M].c(),R(m[M],1),m[M].m(e,n))}for(ke(),M=b.length;M<m.length;M+=1)v(M);Se()}I[28].displayed&&I[28].settings.isDrawer?C?(C.p(I,B),B[0]&268435456&&R(C,1)):(C=k_(I),C.c(),R(C,1),C.m(e,l)):C&&(ke(),U(C,1,1,()=>{C=null}),Se()),I[26].displayed?y?(y.p(I,B),B[0]&67108864&&R(y,1)):(y=S_(I),y.c(),R(y,1),y.m(e,a)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),I[17].displayed?P?(P.p(I,B),B[0]&131072&&R(P,1)):(P=C_(I),P.c(),R(P,1),P.m(e,r)):P&&(ke(),U(P,1,1,()=>{P=null}),Se()),c.p(I,B),(!g||B[0]&8388608)&&f(e,"configversion",I[23]),(!g||B[0]&1048576)&&jt(e,"no-nav",I[20]),(!g||B[0]&2097152)&&jt(e,"no-side-nav",I[21]),(!g||B[0]&16777216)&&jt(e,"no-top-nav",I[24]),(!g||B[0]&4194304)&&jt(e,"no-animation",I[22])},i(I){if(!g){R(p);for(let B=0;B<b.length;B+=1)R(m[B]);R(C),R(y),R(P),R(c),g=!0}},o(I){U(p),m=m.filter(v8);for(let B=0;B<m.length;B+=1)U(m[B]);U(C),U(y),U(P),U(c),g=!1},d(I){I&&L(e),p&&p.d(),ct(m,I),C&&C.d(),y&&y.d(),P&&P.d(),E[o].d(),d=!1,Ze(h)}}}function N8(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:a}=e,r=!1,o={displayed:!1},c,g,d=!1,h,p,b,m,v,C,y,P,T,E,V,I,B,M,D,q,X,Q,ce,x=!0,K=!1,J,j,_e,ie=[],se={isDirty:!1,persistUrl:null},ve,ae,Re=!1,We,te,de={},Te,tt,ze,at=re.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ct}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:$e}=e,{displaySearchResult:wt}=e,{searchResult:qt}=e,{storedUserSettings:Nn}=e;const Ft=async z=>{const fe=z.iframe.luigi,De=fe.currentNode&&fe.currentNode.userSettingsGroup,qe=await re.readUserSettings(),Me=De&&typeof qe=="object"&&qe!==null,he=Ee.applyCoreStateData({isNavigateBack:K,viewStackSize:ie.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Me?qe[De]:null,anchor:ul.getAnchor(),cssVariables:await Do.getCSSVariables()});return Ee.specialIframeTypes.map(Ie=>Ie.iframeConfigKey).forEach(Ie=>{he[Ie]=z[Ie]||!1}),he},Pe=async(z,fe={})=>{if(!z.iframe){console.debug("iframe does not exist, not able to send context.");return}const De={msg:"luigi.init",context:JSON.stringify(Object.assign({},z.context||E,fe)),nodeParams:JSON.stringify(Object.assign({},z.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},z.pathParams||I)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(z.iframe.luigi.currentNode))),internal:JSON.stringify(await Ft(z)),authData:fl.getStoredAuthData()};z.iframe.luigi._lastUpdatedMessage=De,Ee.sendMessageToIframe(z.iframe,De)},dt=z=>{const fe={msg:"luigi.auth.tokenIssued",authData:z};Ee.broadcastMessageToAllIframes(fe)},rt=(z,fe)=>{if(z.params.preserveView||z.params.viewgroup){const De=Tn(z.params),qe=lt.getNodePath(M,B);ie.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?le.replaceVars(qe,fe.iframe.luigi.pathParams,":",!1):qe,nextPath:De.startsWith("/")?De:"/"+De,context:E}),fe.iframe.pv="pv"}},Mt=(z,fe,De,qe)=>{let Me=Tn(z.params,De,qe);const{preventHistoryEntry:he,preserveQueryParams:Ie,preventContextUpdate:kt}=z.params,Bt={keepBrowserHistory:!he,navSync:x,preventContextUpdate:kt};return Me=le.addLeadingSlash(Me),Me=Ie?we.composeSearchParamsToRoute(Me):Me,rt(z,fe),lt.navigateTo(Me,Bt)},zt=z=>z.split("?")[0],wn=(z,fe)=>{if(z.length===0)return!1;const De=fe.startsWith("/")?fe:`/${fe}`,qe=[...z].pop();return[zt(qe.path),zt(qe.nextPath)].includes(zt(De))},ni=z=>{se&&se.dirtySet&&(z?se.dirtySet.delete(z):se.dirtySet.clear())},en=z=>new Promise((fe,De)=>{Hl(z)?Li().then(()=>{ni(),fe()},()=>{De()}):fe()}),kn=()=>({get:()=>({unsavedChanges:se,hideNav:Zt,viewUrl:D,nodeParams:V,viewGroup:q,urlParamsRaw:B,currentNode:M,navigationPath:j,context:E,pathParams:I,hideSideNav:gn,isolateView:X,pageErrorHandler:Q,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:r,tabNav:ae,isNavigateBack:K,goBackContext:J,isNavigationSyncEnabled:x}),set:z=>{z&&(t(22,jn=!1),Object.getOwnPropertyNames(z).forEach(fe=>{fe==="hideNav"?t(20,Zt=z.hideNav):fe==="viewUrl"?D=z.viewUrl:fe==="nodeParams"?V=z.nodeParams:fe==="viewGroup"?q=z.viewGroup:fe==="urlParamsRaw"?B=z.urlParamsRaw:fe==="currentNode"?M=z.currentNode:fe==="navigationPath"?t(14,j=z.navigationPath):fe==="context"?E=z.context:fe==="pathParams"?t(13,I=z.pathParams):fe==="hideSideNav"?(gn!=z.hideSideNav&&(t(22,jn=!0),setTimeout(()=>{const De=document.querySelector("#app");De&&De.classList.remove("no-animation")})),t(21,gn=z.hideSideNav)):fe==="isolateView"?X=z.isolateView:fe==="pageErrorHandler"?Q=z.pageErrorHandler:fe==="previousNodeValues"?ce=z.previousNodeValues:fe==="mfSplitView"?t(11,o=z.mfSplitView):fe==="splitViewValues"?c=z.splitViewValues:fe==="splitViewIframe"?C=z.splitViewIframe:fe=="splitViewWC"?P=z.splitViewWC:fe==="showLoadingIndicator"?z.showLoadingIndicator===!0?(clearTimeout(ze),ze=setTimeout(()=>{t(10,r=!0)},250)):(t(10,r=!1),clearTimeout(ze)):fe==="tabNav"?t(15,ae=z.tabNav):fe==="isNavigateBack"?K=z.isNavigateBack:fe==="goBackContext"?J=z.goBackContext:fe==="isNavigationSyncEnabled"&&(x=z.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Hl,getUnsavedChangesModalPromise:en,showUnsavedChangesModal:Li,showAlert:wl,prepareInternalData:Ft,dispatch:n}),Kn=(z,fe)=>{dn.doOnStoreChange(l,()=>{const De=document.querySelector(".wcContainer");De&&(De.configChangedRequest=!0),qn.deleteCache();const qe=lt.getCurrentPath();lt.handleRouteChange(qe,kn(),z,fe)},["navigation.nodes"]),we.addRouteChangeListener((De,qe)=>{const{withoutSync:Me,preventContextUpdate:he}=qe||{};wn(ie,De)||(ie=[],oi.removeInactiveIframes(z));for(let kt=Y.length;kt--;)Ji(kt);Ya.removeBackdrop(),fi(),lt.handleRouteChange(De,kn(),z,fe,Me,he)})},Yt=(z,fe)=>le.replaceVars(lt.getNodePath(z),fe,":",!1),Tn=(z,fe,De)=>{const qe=fe||M,Me=De||I;let he=j;if(fe){let kt=fe.parent;for(he=[fe];kt;)he.push(kt),kt=kt.parent;he=[...he].reverse()}let Ie=z.link;if(z.fromVirtualTreeRoot){const kt=[...he].reverse().find(Bt=>Bt.virtualTree);if(!kt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ie=lt.concatenatePath(Yt(kt,Me),z.link)}else if(z.fromParent)Ie=lt.concatenatePath(Yt(qe.parent,Me),z.link);else if(z.fromClosestContext){const kt=[...he].reverse().find(Bt=>Bt.navigationContext&&Bt.navigationContext.length>0);Ie=lt.concatenatePath(Yt(kt,Me),z.link)}else if(z.fromContext){const kt=z.fromContext,Bt=[...he].reverse().find(Sa=>kt===Sa.navigationContext);Ie=lt.concatenatePath(Yt(Bt,Me),z.link)}else z.intent?Ie=we.getIntentPath(z.link):z.relative&&(Ie=lt.concatenatePath(Yt(qe,Me),z.link));return z.nodeParams&&Object.keys(z.nodeParams).length>0&&(Ie+=Ie.includes("?")?"&":"?",Object.entries(z.nodeParams).forEach((kt,Bt)=>{Ie+=encodeURIComponent(we.getContentViewParamPrefix()+kt[0])+"="+encodeURIComponent(kt[1])+(Bt<Object.keys(z.nodeParams).length-1?"&":"")})),Ie},ki=z=>{const fe=z.detail.node;en().then(()=>{if(zl(),fe.openNodeInModal){const De=we.buildRoute(fe,`/${fe.pathSegment}`);_n(De,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const De=we.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,Qa(De,fe.drawer)}else kn().set({isNavigationSyncEnabled:!0}),lt.handleRouteClick(fe,kn())},()=>{})},Si=()=>{t(16,Re=!Re)};za("handleNavigation",Mt);const hn=z=>z?!0:(console.warn("No search provider defined."),!1),Ci=()=>{hn(te)&&t(0,Ct=!1)},yi=()=>{hn(te)&&pe&&(t(0,Ct=!0),pe.focus())},Pi=()=>{hn(te)&&pe&&(t(1,pe.value="",pe),Ii())},Ni=()=>{t(0,Ct=!Ct),L2.clearSearchField()},Ti=()=>{if(hn(te)&&pe)return pe.value},_l=z=>{hn(te)&&pe&&(t(1,pe.value=z,pe),le.isFunction(te.onInput)?te.onInput():console.error("onInput is not a function. Please check the global search configuration."))},pl=z=>{hn(te)&&pe&&t(1,pe.placeholder=z,pe)},ml=z=>{if(hn(te))if(z&&z.length>0)if(le.isFunction(te.customSearchResultRenderer)){let fe={fireItemSelected:De=>{te.onSearchResultItemSelected(De)}};te.customSearchResultRenderer(z,$e,fe)}else t(3,wt=!0),t(4,qt=z);else console.warn("Search result array is empty.")},Ii=()=>{if(hn(te)&&(t(3,wt=!1),t(4,qt=[]),$e))for(;$e.lastElementChild;)$e.removeChild($e.lastElementChild)},Wi=z=>{let fe=z.detail.node,De={params:{link:fe.link,nodeParams:fe.params}};Mt(De)},qi=(z,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ft.getDefaultData().mfSplitView),ft.open(kn(),z,fe)},fi=()=>{ft.close(kn())},bl=()=>{ft.collapse(kn()),t(11,o.collapsed=!0,o)},vl=()=>{ft.expand(kn()),t(11,o.collapsed=!1,o)},Gi=()=>o.displayed?o.collapsed:!1,Z=()=>o.displayed?!o.collapsed:!1,Ne=()=>o.displayed,nt=z=>{C=z.detail.splitViewIframe,y=z.detail.splitViewIframeData,t(11,o.collapsed=z.detail.collapsed,o)},ht=z=>{z.detail.displayed!==void 0&&t(11,o.displayed=z.detail.displayed,o),z.detail.collapsed!==void 0&&t(11,o.collapsed=z.detail.collapsed,o)},Tt=z=>{P=z.detail.splitViewWC,z.detail.splitViewWCData,t(11,o.collapsed=z.detail.collapsed,o)};let Zt,gn,jn,On,Fl,Ul;const zl=()=>{document.body.classList.remove("lui-leftNavToggle")},ga=()=>{Yi();const z=window.innerWidth>=rn.desktopMinWidth&&On<rn.desktopMinWidth,fe=window.innerWidth<rn.desktopMinWidth&&On>=rn.desktopMinWidth;(z||fe)&&zl(),On=window.innerWidth};let In=[];const Ki=(z,fe)=>{if(!(!z||!(z.length>0)))return z.filter(De=>De.settings.id===fe)[0]},wl=(z,fe=!1)=>{const De=re.getConfigValue("settings.customAlertHandler");if(le.isFunction(De)){const Me=De(z,fe);if(Me!==!1)return Me}const qe=In;return z.id||(z.id=le.getRandomId()),z.id&&qe&&Ki(qe,z.id)?(console.error(`The alert with id '${z.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(z.closeAfter&&setTimeout(()=>{Ki(In,z.id)&&Bl(z.id)},z.closeAfter),new Promise((Me,he)=>{t(25,In=[...qe||[],{displayed:!0,settings:z,openFromClient:fe,promise:{resolve:Me}}])}))},Bl=(z,fe)=>{const De=Ki(In,z);if(!De){console.error("An unexisting alert has been dismissed.",In,z);return}if(t(25,In=In.filter(qe=>qe.settings.id!==z)),De.openFromClient){const qe=oi.getActiveIframe(_e),Me={msg:"luigi.ux.alert.hide",id:z,dismissKey:fe};Ee.sendMessageToIframe(qe,Me)}else De.promise&&De.promise.resolve(fe||z)},_a=z=>{Bl(z.detail.id,z.detail.dismissKey)};let ji;const kl=()=>{t(26,ji={displayed:!1,content:{},openFromClient:!1,promise:null})};kl();const Sl=(z,fe=!1,De)=>new Promise((qe,Me)=>{t(26,ji={displayed:!0,settings:z,openFromClient:fe,promise:{resolve:qe,reject:Me},targetIframe:De})}),ci=z=>{const{promise:fe,openFromClient:De,targetIframe:qe}=ji;if(kl(),z?fe.resolve():fe.reject(),De&&qe){const Me={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:z}};Ee.sendMessageToIframe(qe,Me)}},Hl=z=>{if(se.dirtySet){if(z)return se.dirtySet.has(z);if(se.dirtySet.size>0)return!0}return!1},Li=()=>Sl({header:St.getTranslation("luigi.unsavedChangesAlert.header"),body:St.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:St.getTranslation("luigi.button.dismiss"),buttonConfirm:St.getTranslation("luigi.button.confirm")}),pa=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;za("getUnsavedChangesModalPromise",en);let Y=[];const Et=(z,fe)=>{var qe;if(typeof z>"u"){t(27,Y=[]);return}let De;if(t(27,Y=Y.filter((Me,he)=>(z===he&&(De=Me),z!==he))),(qe=De==null?void 0:De.mfModal)!=null&&qe.openerIframe){const Me={msg:"luigi.navigation.modal.close",data:fe};Ee.sendMessageToIframe(De.mfModal.openerIframe,Me)}};Et();const _n=async(z,fe,De)=>{if(await oe.shouldPreventNavigationForPath(z))return;const qe={mfModal:{displayed:!0,nodepath:z,settings:fe,openerIframe:De}};t(27,Y=[...Y,qe]),re.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&<.appendModalDataToUrl(z,fe)},ii=(z,fe)=>{t(27,Y[fe].modalIframe=z.detail.modalIframe,Y),t(27,Y[fe].modalIframeData=z.detail.modalIframeData,Y)},ma=(z,fe)=>{t(27,Y[fe].modalWC=z.detail.modalWC,Y),t(27,Y[fe].modalWCData=z.detail.modalWCData,Y)},Ji=(z,fe,De)=>{const qe=(Ie,kt)=>{re.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&<.removeModalDataFromUrl(kt),Et(Ie,De)},Me=Y[z],he=le.getRemotePromise(Me.mfModal.settings.onClosePromiseId);Me&&Me.modalIframe?en(Me.modalIframe.contentWindow).then(()=>{qe(z,fe),he&&he.doResolve(De)},()=>{}):Me&&Me.modalWC&&(qe(z,fe),he&&he.doResolve(De))};za("openViewInModal",_n);let tn={};const Wl=()=>{t(28,tn.displayed=!1,tn),t(28,tn.nodepath=void 0,tn),t(28,tn.settings={},tn),t(12,h=!1)};Wl();const Qa=async(z,fe)=>{await oe.shouldPreventNavigationForPath(z)||(t(28,tn.displayed=!0,tn),t(28,tn.nodepath=z,tn),t(28,tn.settings=fe,tn),tn.settings&&tn.settings.backdrop&&t(12,h=!0))},Za=()=>window.innerWidth>=rn.desktopMinWidth&&tn.displayed&&tn.settings&&!tn.settings.overlap,Yi=(z=!1)=>{if(!Za())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const De=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(z)De.forEach(qe=>{qe==null||qe.style.removeProperty("width")});else{const{width:qe}=getComputedStyle(fe);De.forEach(Me=>{Xa(Me,qe)})}},Xa=(z,fe)=>{z&&!z.style.getPropertyValue("width").includes("calc(")&&z.style.setProperty("width",`calc(${z.clientWidth}px - ${fe})`)},ba=z=>{p=z.detail.modalIframe,b=z.detail.modalIframeData,Yi()},cs=z=>{m=z.detail.modalWC,z.detail.modalWCData,Yi()},$a=z=>{d=z.detail.activeDrawer},Qi=z=>{if(z&&z.detail&&z.detail.activeDrawer!==void 0&&(d=z.detail.activeDrawer),!d||z&&z.detail&&z.detail.type!=="modal")try{p?en(p.contentWindow).then(()=>{Wl()},()=>{}):m&&en().then(()=>{Wl()},()=>{}),Yi(!0)}catch(fe){console.log(fe)}},xa=()=>{const z=oa.processUserSettingGroups();Array.isArray(z)&&z.length>0?(t(17,de.userSettingGroups=[...z],de),t(17,de.displayed=!0,de)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(17,de.displayed=!1,de)},er=async z=>{if(await oe.shouldPreventNavigationForPath(z))return;re.getConfigValue("routing.useHashRouting")&&(z="#"+z),window.open(z,"_blank","noopener,noreferrer")},tr=z=>{let fe=j;if(M){let Me=M.parent;for(fe=[M];Me;)fe.push(Me),Me=Me.parent;fe=[...fe].reverse()}let De=z.link,qe=Yt(M,I);if(z.fromVirtualTreeRoot){const Me=[...fe].reverse().find(Ie=>Ie.virtualTree);if(!Me){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Yt(Me,I);De=qe.split(he).join("")}else if(z.fromParent){const Me=Yt(M.parent,I);De=qe.split(Me).join("")}else if(z.fromClosestContext){const Me=[...fe].reverse().find(Ie=>Ie.navigationContext&&Ie.navigationContext.length>0),he=Yt(Me,I);De=qe.split(he).join("")}else if(z.fromContext){const Me=z.fromContext,he=[...fe].reverse().find(kt=>Me===kt.navigationContext),Ie=Yt(he,I);De=qe.split(Ie).join("")}else De=qe;return De};function va(z){sessionStorage.removeItem("historyState"),sa.shouldPreload=!0,sa.preload(!0),sa.shouldPreload=!1;const fe=re.getConfigValue("navigation.defaults.isolateView"),De=re.getConfigValue("navigation.defaults.pageErrorHandler"),qe=re.getConfigValue("navigation.defaults.runTimeErrorHandler"),Me={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:De};St.addCurrentLocaleChangeListener(he=>{const Ie={msg:"luigi.current-locale-changed",currentLocale:he};Ee.broadcastMessageToAllIframes(Ie)}),Mn.addEventListener("popstate",async he=>{const Ie=In;if(!Ie||!(Ie.length>0))return;const kt=Ie.map(Bt=>{if(Bt&&!Bt.openFromClient&&typeof Bt.settings.ttl=="number"){if(Bt.settings.ttl===0)return null;Bt.settings.ttl--}return Bt}).filter(Bt=>Bt);t(25,In=kt)}),Mn.addEventListener("message",async he=>{const Ie=Ee.getValidMessageSource(he),kt=Y[Y.length-1],Bt=kt&&kt.modalIframe,Sa=kt&&kt.modalIframeData,Xi={modalIframe:Bt,modalIframeData:Sa,drawerIframe:p,drawerIframeData:b,drawer:v,modal:g,splitViewIframe:C,splitViewIframeData:y,splitView:T};if(!Ie)return;Ie._ready=!0;const Ca=Ee.getSpecialIframeMessageSource(he,Xi),$i=Ca&&Ca.length>0,Gl=re.getConfigValue("communication.skipEventsWhenInactive");if(Gl&&Gl.length>0&&!$i&&Ie.contentWindow!==window&&!le.isElementVisible(Ie)&&Gl.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Ke=re.getConfigValue("communication.customMessagesListeners")||{},xe=as.convertCustomMessageInternalToUser(he.data),Lt=Ke[xe.id],Ht="luigi.updateUserSettings";if(de&&xe.id===Ht){Lt&&console.warn(`The key "${Ht}" is not allowed to use for custom messages.`);return}if(typeof Lt=="function"){const Ln=Bi.getMicrofrontends().find(Fn=>Ee.isMessageSource(he,Fn.container));Lt(xe,Ln,le.removeInternalProperties(Ie.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${xe.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ie.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ie.luigi.viewUrl=Ie.luigi.nextViewUrl,Ie.luigi.nextViewUrl="",Ie.luigi.clientPermissions=Ie.luigi.nextClientPermissions,delete Ie.luigi.nextClientPermissions,Me.navigateOk=!0,sa.preload()),he.data.msg==="luigi.get-context"){if(Ie.luigi.clientVersion=he.data.clientVersion,Ie.luigi.initOk=!1,$i)Ca.forEach(async Ke=>{let xe=Xi[Ke.dataKey].context;const Lt={...Me,iframe:Xi[Ke.iframeKey],context:xe,pathParams:Xi[Ke.dataKey].pathParams,nodeParams:Xi[Ke.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Xi[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await Pe(Lt,{})});else if(Me.iframe&&Ee.isMessageSource(he,Me.iframe))await Pe(Me,{}),(!M||!M.loadingIndicator||M.loadingIndicator.hideAutomatically!==!1)&&ir(),sa.preload();else if(Ie.luigi.preloading)await Pe({iframe:Ie,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=oa.findActiveCustomUserSettingsIframe(he.source);if(Ke){let xe=Ke.getAttribute("userSettingsGroup"),Lt={context:{userSettingsData:Nn[xe]},iframe:Ke};await Pe(Lt)}}sa.viewGroupLoaded(Ie)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,r=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(ze),t(10,r=!1)),he.data.msg==="luigi.navigation.open"){K=!1;const Ke=window.location.href,xe=$i?Ie.luigi.currentNode:void 0,Lt=$i?Ie.luigi.pathParams:void 0,Ht=he.data.params,{intent:Ln,newTab:Fn,modal:sn,splitView:Kl,drawer:Cl,withoutSync:ks}=Ht;let jl=Fn||sn||Kl||Cl;const cr=()=>{const Gt=le.getRemotePromise(he.data.remotePromiseId);Gt&&Gt.doResolve()},yl=()=>{const Gt=le.getRemotePromise(he.data.remotePromiseId);Gt&&Gt.doReject()},nn=Gt=>{!Gt||Ke!==window.location.href?cr():yl()};he.source!==window&&!Ln&&Ht.link&&(Ht.link=Ht.link.split("?")[0]);let pn=Tn(he.data.params,xe,Lt);if(jl=jl||Ln&&pn.external,!jl)en().then(()=>{x=!he.data.params.withoutSync,Mt(he.data,Me,xe,Lt).then(()=>{nn(!0)}).catch(()=>{yl()}),Y.forEach((Gt,Ss)=>{Ji(Ss)}),fi(),Qi(),x=!0}).catch(()=>{yl()});else{if(Ln&&pn.external){lt.navigateToExternalLink({url:pn.url,sameWindow:!pn.openInNewTab});return}if(pn=le.addLeadingSlash(pn),Fn){await er(pn),nn();return}const Gt=await ql(pn);if(pn=await we.handlePageNotFoundAndRetrieveRedirectPath(kn(),pn,Gt),!pn){yl();return}_e=z,sn!==void 0?(!sn.keepPrevious&&Et(),await _n(pn,sn===!0?{}:sn,Ie),nn()):Kl!==void 0?(await qi(pn,Kl),nn()):Cl!==void 0&&(Wl(),Cl.isDrawer=!0,await Qa(pn,Cl),nn())}}if(he.data.msg==="luigi.navigation.back"){const Ke=Y[Y.length-1],xe=Y.length>1&&Y[Y.length-2],Lt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ee.isMessageSource(he,Ke&&Ke.modalIframe)){Ji(Y.length-1,!0,Lt);let Ht=Me;if(xe&&xe.modalIframeData&&xe.modalIframe){const Ln=xe,Fn=Ln.modalIframeData;Ht={pathParams:Fn.pathParams,context:Fn.context,iframe:Ln.modalIframe}}Ht.iframe&&await Pe(Ht,{goBackContext:Lt})}else Ee.isMessageSource(he,C)?(fi(),Me.iframe&&await Pe(Me,{goBackContext:Lt})):Ee.isMessageSource(he,p)?(d&&(d=!d),Qi(),Me.iframe&&await Pe(Me,{goBackContext:Lt})):ie&&ie.length>0?en().then(()=>{oi.setActiveIframeToPrevious(z);const Ht=ie.pop();Me.iframe=oi.getActiveIframe(z),K=!0,ie=ie,J=Lt,Mt({params:{link:Ht.path}},Me)},()=>{}):(Lt&&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 Ke=he.data.data,Lt={msg:"luigi.navigation.currentRoute.answer",data:{route:tr(Ke),correlationId:Ke.id}};Ee.sendMessageToIframe(Ie,Lt)}if(he.data.msg==="luigi.auth.tokenIssued"&&dt(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!re.getConfigBooleanValue("routing.showModalPathInUrl"))return;if($i){const Ke=le.addLeadingSlash(Tn(he.data.params,Ie.luigi.currentNode,Ie.luigi.pathParams));lt.updateModalDataInUrl(Ke,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 Ke=Ie.luigi.currentNode,xe=Ie.luigi.pathParams,Lt=he.data.data,Ht=Tn(Lt,Ke,xe),Ln=Ht?await Ot.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),Ht):!1,Fn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Lt.id,pathExists:Ln?Ln.isExistingRoute:!1}};Ee.sendMessageToIframe(Ie,Fn)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const Ke=new Set;Ke.add(he.source),se={dirtySet:Ke}}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 Ke=he.data.data.settings;_e=z,kl(),Sl(Ke,!0,Ie).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=he.data.data;if(!Ke.text&&!le.isFunction(re.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}_e=z,wl(Ke,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ie.luigi.clientPermissions&&Ie.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ke}=he.data.data;Ke&&St.setCurrentLocale(Ke)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(We&&!We.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&nr(),he.data.msg==="storage"&&nk.process(Ie.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Ke=Ie.luigi.currentNode;Ke&&Ke.runTimeErrorHandler&&le.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(he.data.errorObj,Ke):qe&&le.isFunction(qe.errorFn)&&qe.errorFn(he.data.errorObj,Ke)}if(he.data.msg==="luigi.addSearchParams")if(Ie.luigi.currentNode.clientPermissions&&Ie.luigi.currentNode.clientPermissions.urlParameters){const{data:Ke,keepBrowserHistory:xe}=he.data;we.addSearchParamsFromClient(Ie.luigi.currentNode,Ke,xe)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if($i)return;const{data:Ke,keepBrowserHistory:xe}=he.data;ul.addNodeParams(Ke,xe)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Ke}=he.data;ul.setAnchor(Ke)}if(he.data.msg==="luigi.setVGData"){const Ke=he.data,xe=oe.findViewGroup(Ie.luigi.currentNode);if(xe){const Lt=oe.getViewGroupSettings(xe);Lt._liveCustomData=Ke.data,re.configChanged("navigation.viewgroupdata")}}}),Kn(z,Me)}za("store",l),za("getTranslation",a);const nr=z=>{We&&We.thirdPartyCookieErrorHandling&&le.isFunction(We.thirdPartyCookieErrorHandling)&&We.thirdPartyCookieErrorHandling()};function ir(){const z=document.querySelector(".spinnerContainer.appSpinner");z&&z.classList.contains("fade-out")?(z.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(ze),t(10,r=!1)},250)):clearTimeout(ze)}const ql=async z=>{const fe={link:z,relative:z[0]!=="/",intent:we.hasIntent(z)},De=Tn(fe),qe=De?await Ot.getNavigationPath(re.getConfigValueAsync("navigation.nodes"),De):!1;return qe?qe.isExistingRoute:!1},wa=()=>Y.length>0||ie.length!==0;xt(()=>{if(Do._init(),te=re.getConfigValue("globalSearch.searchProvider"),ve=re.getConfigValue("settings.responsiveNavigation"),On=window.innerWidth,ve==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),oe.getBurgerTooltipConfig()){const[z,fe]=oe.getBurgerTooltipConfig();z&&fe&&t(18,Te=document.body.classList.contains("lui-leftNavToggle")?z:fe)}}else if(ve==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(oe.getBurgerTooltipConfig()){const[z,fe]=oe.getBurgerTooltipConfig();if(z&&fe){const De=JSON.parse(localStorage.getItem(oe.COL_NAV_KEY));t(18,Te=De?z:fe)}}document.body.classList.add("lui-semiCollapsible")}We=re.getConfigValue("settings.thirdPartyCookieCheck"),We&&We.thirdPartyCookieScriptLocation&&setTimeout(()=>{let z=document.createElement("iframe");z.width="0px",z.height="0px",z.src=We.thirdPartyCookieScriptLocation,document.body.appendChild(z),z.onload=function(){setTimeout(()=>{b8()==="disabled"&&nr()}),document.body.removeChild(z)}})}),ja(()=>{Yi()}),Gn(()=>{t(19,tt=re.getConfigValue("navigation.breadcrumbs")),te=re.getConfigValue("globalSearch.searchProvider"),t(23,Fl=re.getConfigValue("tag")),t(24,Ul=re.getConfigValue("settings.header.disabled"))});const Zi=z=>{z.keyCode===mi&&Y&&Y.length>0&&Ji(Y.length-1)},lr=z=>Ji(z,!0),ar=(z,fe)=>ii(fe,z),hs=(z,fe)=>ma(fe,z),rr=()=>ci(!0),sr=()=>ci(!1);function or(z){Nn=z,t(5,Nn)}function ur(z){Ct=z,t(0,Ct)}function gs(z){wt=z,t(3,wt)}function _s(z){qt=z,t(4,qt)}function ps(z){pe=z,t(1,pe)}function fr(z){$e=z,t(2,$e)}function ms(z){Ct=z,t(0,Ct)}function bs(z){wt=z,t(3,wt)}function vs(z){qt=z,t(4,qt)}function ws(z){pe=z,t(1,pe)}function ka(z){$e=z,t(2,$e)}return i.$$set=z=>{"store"in z&&t(47,l=z.store),"getTranslation"in z&&t(48,a=z.getTranslation),"isSearchFieldVisible"in z&&t(0,Ct=z.isSearchFieldVisible),"inputElem"in z&&t(1,pe=z.inputElem),"luigiCustomSearchRenderer__slot"in z&&t(2,$e=z.luigiCustomSearchRenderer__slot),"displaySearchResult"in z&&t(3,wt=z.displaySearchResult),"searchResult"in z&&t(4,qt=z.searchResult),"storedUserSettings"in z&&t(5,Nn=z.storedUserSettings)},[Ct,pe,$e,wt,qt,Nn,Ni,Ii,Wi,ds,r,o,h,I,j,ae,Re,de,Te,tt,Zt,gn,jn,Fl,Ul,In,ji,Y,tn,at,ki,Si,nt,ht,Tt,ga,_a,ci,ii,ma,Ji,ba,cs,$a,Qi,va,Zi,l,a,Ci,yi,Pi,Ti,_l,pl,ml,qi,fi,bl,vl,Gi,Z,Ne,wl,Sl,pa,xa,ql,wa,lr,ar,hs,rr,sr,or,ur,gs,_s,ps,fr,ms,bs,vs,ws,ka]}class T8 extends Vt{constructor(e){super(),Dt(this,e,N8,P8,At,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:6,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:7,handleSearchNavigation:8,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:9,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[9]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const I8=()=>{const{subscribe:i,update:e,reset:t}=fa({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,a)=>{let r=n[a];r||(r=new Set,n[a]=r),r.add(l)},fire:(l,a)=>{let r=n[l];r&&[...r].forEach(o=>{o(a)})}}},bp=I8(),L8=S2((i,e,t)=>St.getTranslation(i,e,t));Luigi._store=bp;const A8=()=>new Promise(i=>{St._init(),fn.init().then(()=>{setTimeout(()=>{let e;Bi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new T8({target:Bi.getLuigiContainer(),props:{store:bp,getTranslation:L8}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});re.setConfigCallbacks(A8);
|
|
63
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function P8(i){let e,t,n,l,r,a,o,c,g,d,h,p=i[25]&&i[25].length&&b_(i),b=i[27],m=[];for(let I=0;I<b.length;I+=1)m[I]=w_(m_(i,b,I));const v=I=>U(m[I],1,1,()=>{m[I]=null});let C=i[28].displayed&&i[28].settings.isDrawer&&k_(i),y=i[26].displayed&&S_(i),P=i[17].displayed&&C_(i);const T=[S8,k8],E=[];function V(I,B){return I[29]?0:1}return o=V(i),c=E[o]=T[o](i),{c(){e=S("div"),p&&p.c(),t=H();for(let I=0;I<m.length;I+=1)m[I].c();n=H(),C&&C.c(),l=H(),y&&y.c(),r=H(),P&&P.c(),a=H(),c.c(),f(e,"id","app"),f(e,"configversion",i[23]),f(e,"class","svelte-1omtujb"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[21]),jt(e,"no-top-nav",i[24]),jt(e,"no-animation",i[22]),jt(e,"btp-layout",i[29])},m(I,B){A(I,e,B),p&&p.m(e,null),w(e,t);for(let O=0;O<m.length;O+=1)m[O].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),E[o].m(e,null),g=!0,d||(h=[ne(p_,"resize",i[35]),ne(p_,"keydown",i[46])],d=!0)},p(I,B){if(I[25]&&I[25].length?p?(p.p(I,B),B[0]&33554432&&R(p,1)):(p=b_(I),p.c(),R(p,1),p.m(e,t)):p&&(ke(),U(p,1,1,()=>{p=null}),Se()),B[0]&134221824|B[1]&896){b=I[27];let O;for(O=0;O<b.length;O+=1){const D=m_(I,b,O);m[O]?(m[O].p(D,B),R(m[O],1)):(m[O]=w_(D),m[O].c(),R(m[O],1),m[O].m(e,n))}for(ke(),O=b.length;O<m.length;O+=1)v(O);Se()}I[28].displayed&&I[28].settings.isDrawer?C?(C.p(I,B),B[0]&268435456&&R(C,1)):(C=k_(I),C.c(),R(C,1),C.m(e,l)):C&&(ke(),U(C,1,1,()=>{C=null}),Se()),I[26].displayed?y?(y.p(I,B),B[0]&67108864&&R(y,1)):(y=S_(I),y.c(),R(y,1),y.m(e,r)):y&&(ke(),U(y,1,1,()=>{y=null}),Se()),I[17].displayed?P?(P.p(I,B),B[0]&131072&&R(P,1)):(P=C_(I),P.c(),R(P,1),P.m(e,a)):P&&(ke(),U(P,1,1,()=>{P=null}),Se()),c.p(I,B),(!g||B[0]&8388608)&&f(e,"configversion",I[23]),(!g||B[0]&1048576)&&jt(e,"no-nav",I[20]),(!g||B[0]&2097152)&&jt(e,"no-side-nav",I[21]),(!g||B[0]&16777216)&&jt(e,"no-top-nav",I[24]),(!g||B[0]&4194304)&&jt(e,"no-animation",I[22])},i(I){if(!g){R(p);for(let B=0;B<b.length;B+=1)R(m[B]);R(C),R(y),R(P),R(c),g=!0}},o(I){U(p),m=m.filter(v8);for(let B=0;B<m.length;B+=1)U(m[B]);U(C),U(y),U(P),U(c),g=!1},d(I){I&&L(e),p&&p.d(),ct(m,I),C&&C.d(),y&&y.d(),P&&P.d(),E[o].d(),d=!1,Ze(h)}}}function N8(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,g,d=!1,h,p,b,m,v,C,y,P,T,E,V,I,B,O,D,q,X,Q,ce,x=!0,K=!1,J,j,_e,ie=[],se={isDirty:!1,persistUrl:null},ve,re,Re=!1,We,te,de={},Te,tt,ze,rt=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ct}=e,{inputElem:pe}=e,{luigiCustomSearchRenderer__slot:$e}=e,{displaySearchResult:wt}=e,{searchResult:qt}=e,{storedUserSettings:Nn}=e;const Ft=async z=>{const fe=z.iframe.luigi,De=fe.currentNode&&fe.currentNode.userSettingsGroup,qe=await ae.readUserSettings(),Oe=De&&typeof qe=="object"&&qe!==null,he=Ee.applyCoreStateData({isNavigateBack:K,viewStackSize:ie.length,clientPermissions:fe.nextViewUrl?fe.nextClientPermissions:fe.clientPermissions,userSettings:Oe?qe[De]:null,anchor:ul.getAnchor(),cssVariables:await Do.getCSSVariables()});return Ee.specialIframeTypes.map(Ie=>Ie.iframeConfigKey).forEach(Ie=>{he[Ie]=z[Ie]||!1}),he},Pe=async(z,fe={})=>{if(!z.iframe){console.debug("iframe does not exist, not able to send context.");return}const De={msg:"luigi.init",context:JSON.stringify(Object.assign({},z.context||E,fe)),nodeParams:JSON.stringify(Object.assign({},z.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},z.pathParams||I)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(z.iframe.luigi.currentNode))),internal:JSON.stringify(await Ft(z)),authData:fl.getStoredAuthData()};z.iframe.luigi._lastUpdatedMessage=De,Ee.sendMessageToIframe(z.iframe,De)},dt=z=>{const fe={msg:"luigi.auth.tokenIssued",authData:z};Ee.broadcastMessageToAllIframes(fe)},at=(z,fe)=>{if(z.params.preserveView||z.params.viewgroup){const De=Tn(z.params),qe=lt.getNodePath(O,B);ie.push({path:fe.iframe.luigi&&fe.iframe.luigi.pathParams?le.replaceVars(qe,fe.iframe.luigi.pathParams,":",!1):qe,nextPath:De.startsWith("/")?De:"/"+De,context:E}),fe.iframe.pv="pv"}},Ot=(z,fe,De,qe)=>{let Oe=Tn(z.params,De,qe);const{preventHistoryEntry:he,preserveQueryParams:Ie,preventContextUpdate:kt}=z.params,Bt={keepBrowserHistory:!he,navSync:x,preventContextUpdate:kt};return Oe=le.addLeadingSlash(Oe),Oe=Ie?we.composeSearchParamsToRoute(Oe):Oe,at(z,fe),lt.navigateTo(Oe,Bt)},zt=z=>z.split("?")[0],wn=(z,fe)=>{if(z.length===0)return!1;const De=fe.startsWith("/")?fe:`/${fe}`,qe=[...z].pop();return[zt(qe.path),zt(qe.nextPath)].includes(zt(De))},ni=z=>{se&&se.dirtySet&&(z?se.dirtySet.delete(z):se.dirtySet.clear())},en=z=>new Promise((fe,De)=>{Hl(z)?Li().then(()=>{ni(),fe()},()=>{De()}):fe()}),kn=()=>({get:()=>({unsavedChanges:se,hideNav:Zt,viewUrl:D,nodeParams:V,viewGroup:q,urlParamsRaw:B,currentNode:O,navigationPath:j,context:E,pathParams:I,hideSideNav:gn,isolateView:X,pageErrorHandler:Q,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:K,goBackContext:J,isNavigationSyncEnabled:x}),set:z=>{z&&(t(22,jn=!1),Object.getOwnPropertyNames(z).forEach(fe=>{fe==="hideNav"?t(20,Zt=z.hideNav):fe==="viewUrl"?D=z.viewUrl:fe==="nodeParams"?V=z.nodeParams:fe==="viewGroup"?q=z.viewGroup:fe==="urlParamsRaw"?B=z.urlParamsRaw:fe==="currentNode"?O=z.currentNode:fe==="navigationPath"?t(14,j=z.navigationPath):fe==="context"?E=z.context:fe==="pathParams"?t(13,I=z.pathParams):fe==="hideSideNav"?(gn!=z.hideSideNav&&(t(22,jn=!0),setTimeout(()=>{const De=document.querySelector("#app");De&&De.classList.remove("no-animation")})),t(21,gn=z.hideSideNav)):fe==="isolateView"?X=z.isolateView:fe==="pageErrorHandler"?Q=z.pageErrorHandler:fe==="previousNodeValues"?ce=z.previousNodeValues:fe==="mfSplitView"?t(11,o=z.mfSplitView):fe==="splitViewValues"?c=z.splitViewValues:fe==="splitViewIframe"?C=z.splitViewIframe:fe=="splitViewWC"?P=z.splitViewWC:fe==="showLoadingIndicator"?z.showLoadingIndicator===!0?(clearTimeout(ze),ze=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(ze)):fe==="tabNav"?t(15,re=z.tabNav):fe==="isNavigateBack"?K=z.isNavigateBack:fe==="goBackContext"?J=z.goBackContext:fe==="isNavigationSyncEnabled"&&(x=z.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Hl,getUnsavedChangesModalPromise:en,showUnsavedChangesModal:Li,showAlert:wl,prepareInternalData:Ft,dispatch:n}),Kn=(z,fe)=>{dn.doOnStoreChange(l,()=>{const De=document.querySelector(".wcContainer");De&&(De.configChangedRequest=!0),qn.deleteCache();const qe=lt.getCurrentPath();lt.handleRouteChange(qe,kn(),z,fe)},["navigation.nodes"]),we.addRouteChangeListener((De,qe)=>{const{withoutSync:Oe,preventContextUpdate:he}=qe||{};wn(ie,De)||(ie=[],oi.removeInactiveIframes(z));for(let kt=Y.length;kt--;)Ji(kt);Yr.removeBackdrop(),fi(),lt.handleRouteChange(De,kn(),z,fe,Oe,he)})},Yt=(z,fe)=>le.replaceVars(lt.getNodePath(z),fe,":",!1),Tn=(z,fe,De)=>{const qe=fe||O,Oe=De||I;let he=j;if(fe){let kt=fe.parent;for(he=[fe];kt;)he.push(kt),kt=kt.parent;he=[...he].reverse()}let Ie=z.link;if(z.fromVirtualTreeRoot){const kt=[...he].reverse().find(Bt=>Bt.virtualTree);if(!kt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ie=lt.concatenatePath(Yt(kt,Oe),z.link)}else if(z.fromParent)Ie=lt.concatenatePath(Yt(qe.parent,Oe),z.link);else if(z.fromClosestContext){const kt=[...he].reverse().find(Bt=>Bt.navigationContext&&Bt.navigationContext.length>0);Ie=lt.concatenatePath(Yt(kt,Oe),z.link)}else if(z.fromContext){const kt=z.fromContext,Bt=[...he].reverse().find(Sr=>kt===Sr.navigationContext);Ie=lt.concatenatePath(Yt(Bt,Oe),z.link)}else z.intent?Ie=we.getIntentPath(z.link):z.relative&&(Ie=lt.concatenatePath(Yt(qe,Oe),z.link));return z.nodeParams&&Object.keys(z.nodeParams).length>0&&(Ie+=Ie.includes("?")?"&":"?",Object.entries(z.nodeParams).forEach((kt,Bt)=>{Ie+=encodeURIComponent(we.getContentViewParamPrefix()+kt[0])+"="+encodeURIComponent(kt[1])+(Bt<Object.keys(z.nodeParams).length-1?"&":"")})),Ie},ki=z=>{const fe=z.detail.node;en().then(()=>{if(zl(),fe.openNodeInModal){const De=we.buildRoute(fe,`/${fe.pathSegment}`);_n(De,fe.openNodeInModal===!0?{}:fe.openNodeInModal)}else if(fe.drawer){const De=we.buildRoute(fe,`/${fe.pathSegment}`);fe.drawer.isDrawer=!0,Qr(De,fe.drawer)}else kn().set({isNavigationSyncEnabled:!0}),lt.handleRouteClick(fe,kn())},()=>{})},Si=()=>{t(16,Re=!Re)};zr("handleNavigation",Ot);const hn=z=>z?!0:(console.warn("No search provider defined."),!1),Ci=()=>{hn(te)&&t(0,Ct=!1)},yi=()=>{hn(te)&&pe&&(t(0,Ct=!0),pe.focus())},Pi=()=>{hn(te)&&pe&&(t(1,pe.value="",pe),Ii())},Ni=()=>{t(0,Ct=!Ct),L2.clearSearchField()},Ti=()=>{if(hn(te)&&pe)return pe.value},_l=z=>{hn(te)&&pe&&(t(1,pe.value=z,pe),le.isFunction(te.onInput)?te.onInput():console.error("onInput is not a function. Please check the global search configuration."))},pl=z=>{hn(te)&&pe&&t(1,pe.placeholder=z,pe)},ml=z=>{if(hn(te))if(z&&z.length>0)if(le.isFunction(te.customSearchResultRenderer)){let fe={fireItemSelected:De=>{te.onSearchResultItemSelected(De)}};te.customSearchResultRenderer(z,$e,fe)}else t(3,wt=!0),t(4,qt=z);else console.warn("Search result array is empty.")},Ii=()=>{if(hn(te)&&(t(3,wt=!1),t(4,qt=[]),$e))for(;$e.lastElementChild;)$e.removeChild($e.lastElementChild)},Wi=z=>{let fe=z.detail.node,De={params:{link:fe.link,nodeParams:fe.params}};Ot(De)},qi=(z,fe)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ft.getDefaultData().mfSplitView),ft.open(kn(),z,fe)},fi=()=>{ft.close(kn())},bl=()=>{ft.collapse(kn()),t(11,o.collapsed=!0,o)},vl=()=>{ft.expand(kn()),t(11,o.collapsed=!1,o)},Gi=()=>o.displayed?o.collapsed:!1,Z=()=>o.displayed?!o.collapsed:!1,Ne=()=>o.displayed,nt=z=>{C=z.detail.splitViewIframe,y=z.detail.splitViewIframeData,t(11,o.collapsed=z.detail.collapsed,o)},ht=z=>{z.detail.displayed!==void 0&&t(11,o.displayed=z.detail.displayed,o),z.detail.collapsed!==void 0&&t(11,o.collapsed=z.detail.collapsed,o)},Tt=z=>{P=z.detail.splitViewWC,z.detail.splitViewWCData,t(11,o.collapsed=z.detail.collapsed,o)};let Zt,gn,jn,Mn,Fl,Ul;const zl=()=>{document.body.classList.remove("lui-leftNavToggle")},gr=()=>{Yi();const z=window.innerWidth>=an.desktopMinWidth&&Mn<an.desktopMinWidth,fe=window.innerWidth<an.desktopMinWidth&&Mn>=an.desktopMinWidth;(z||fe)&&zl(),Mn=window.innerWidth};let In=[];const Ki=(z,fe)=>{if(!(!z||!(z.length>0)))return z.filter(De=>De.settings.id===fe)[0]},wl=(z,fe=!1)=>{const De=ae.getConfigValue("settings.customAlertHandler");if(le.isFunction(De)){const Oe=De(z,fe);if(Oe!==!1)return Oe}const qe=In;return z.id||(z.id=le.getRandomId()),z.id&&qe&&Ki(qe,z.id)?(console.error(`The alert with id '${z.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(z.closeAfter&&setTimeout(()=>{Ki(In,z.id)&&Bl(z.id)},z.closeAfter),new Promise((Oe,he)=>{t(25,In=[...qe||[],{displayed:!0,settings:z,openFromClient:fe,promise:{resolve:Oe}}])}))},Bl=(z,fe)=>{const De=Ki(In,z);if(!De){console.error("An unexisting alert has been dismissed.",In,z);return}if(t(25,In=In.filter(qe=>qe.settings.id!==z)),De.openFromClient){const qe=oi.getActiveIframe(_e),Oe={msg:"luigi.ux.alert.hide",id:z,dismissKey:fe};Ee.sendMessageToIframe(qe,Oe)}else De.promise&&De.promise.resolve(fe||z)},_r=z=>{Bl(z.detail.id,z.detail.dismissKey)};let ji;const kl=()=>{t(26,ji={displayed:!1,content:{},openFromClient:!1,promise:null})};kl();const Sl=(z,fe=!1,De)=>new Promise((qe,Oe)=>{t(26,ji={displayed:!0,settings:z,openFromClient:fe,promise:{resolve:qe,reject:Oe},targetIframe:De})}),ci=z=>{const{promise:fe,openFromClient:De,targetIframe:qe}=ji;if(kl(),z?fe.resolve():fe.reject(),De&&qe){const Oe={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:z}};Ee.sendMessageToIframe(qe,Oe)}},Hl=z=>{if(se.dirtySet){if(z)return se.dirtySet.has(z);if(se.dirtySet.size>0)return!0}return!1},Li=()=>Sl({header:St.getTranslation("luigi.unsavedChangesAlert.header"),body:St.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:St.getTranslation("luigi.button.dismiss"),buttonConfirm:St.getTranslation("luigi.button.confirm")}),pr=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;zr("getUnsavedChangesModalPromise",en);let Y=[];const Et=(z,fe)=>{var qe;if(typeof z>"u"){t(27,Y=[]);return}let De;if(t(27,Y=Y.filter((Oe,he)=>(z===he&&(De=Oe),z!==he))),(qe=De==null?void 0:De.mfModal)!=null&&qe.openerIframe){const Oe={msg:"luigi.navigation.modal.close",data:fe};Ee.sendMessageToIframe(De.mfModal.openerIframe,Oe)}};Et();const _n=async(z,fe,De)=>{if(await oe.shouldPreventNavigationForPath(z))return;const qe={mfModal:{displayed:!0,nodepath:z,settings:fe,openerIframe:De}};t(27,Y=[...Y,qe]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&<.appendModalDataToUrl(z,fe)},ii=(z,fe)=>{t(27,Y[fe].modalIframe=z.detail.modalIframe,Y),t(27,Y[fe].modalIframeData=z.detail.modalIframeData,Y)},mr=(z,fe)=>{t(27,Y[fe].modalWC=z.detail.modalWC,Y),t(27,Y[fe].modalWCData=z.detail.modalWCData,Y)},Ji=(z,fe,De)=>{const qe=(Ie,kt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&<.removeModalDataFromUrl(kt),Et(Ie,De)},Oe=Y[z],he=le.getRemotePromise(Oe.mfModal.settings.onClosePromiseId);Oe&&Oe.modalIframe?en(Oe.modalIframe.contentWindow).then(()=>{qe(z,fe),he&&he.doResolve(De)},()=>{}):Oe&&Oe.modalWC&&(qe(z,fe),he&&he.doResolve(De))};zr("openViewInModal",_n);let tn={};const Wl=()=>{t(28,tn.displayed=!1,tn),t(28,tn.nodepath=void 0,tn),t(28,tn.settings={},tn),t(12,h=!1)};Wl();const Qr=async(z,fe)=>{await oe.shouldPreventNavigationForPath(z)||(t(28,tn.displayed=!0,tn),t(28,tn.nodepath=z,tn),t(28,tn.settings=fe,tn),tn.settings&&tn.settings.backdrop&&t(12,h=!0))},Zr=()=>window.innerWidth>=an.desktopMinWidth&&tn.displayed&&tn.settings&&!tn.settings.overlap,Yi=(z=!1)=>{if(!Zr())return;const fe=document.querySelector(".iframeModalCtn._drawer");if(!fe)return;const De=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(z)De.forEach(qe=>{qe==null||qe.style.removeProperty("width")});else{const{width:qe}=getComputedStyle(fe);De.forEach(Oe=>{Xr(Oe,qe)})}},Xr=(z,fe)=>{z&&!z.style.getPropertyValue("width").includes("calc(")&&z.style.setProperty("width",`calc(${z.clientWidth}px - ${fe})`)},br=z=>{p=z.detail.modalIframe,b=z.detail.modalIframeData,Yi()},cs=z=>{m=z.detail.modalWC,z.detail.modalWCData,Yi()},$r=z=>{d=z.detail.activeDrawer},Qi=z=>{if(z&&z.detail&&z.detail.activeDrawer!==void 0&&(d=z.detail.activeDrawer),!d||z&&z.detail&&z.detail.type!=="modal")try{p?en(p.contentWindow).then(()=>{Wl()},()=>{}):m&&en().then(()=>{Wl()},()=>{}),Yi(!0)}catch(fe){console.log(fe)}},xr=()=>{const z=or.processUserSettingGroups();Array.isArray(z)&&z.length>0?(t(17,de.userSettingGroups=[...z],de),t(17,de.displayed=!0,de)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(17,de.displayed=!1,de)},ea=async z=>{if(await oe.shouldPreventNavigationForPath(z))return;ae.getConfigValue("routing.useHashRouting")&&(z="#"+z),window.open(z,"_blank","noopener,noreferrer")},ta=z=>{let fe=j;if(O){let Oe=O.parent;for(fe=[O];Oe;)fe.push(Oe),Oe=Oe.parent;fe=[...fe].reverse()}let De=z.link,qe=Yt(O,I);if(z.fromVirtualTreeRoot){const Oe=[...fe].reverse().find(Ie=>Ie.virtualTree);if(!Oe){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Yt(Oe,I);De=qe.split(he).join("")}else if(z.fromParent){const Oe=Yt(O.parent,I);De=qe.split(Oe).join("")}else if(z.fromClosestContext){const Oe=[...fe].reverse().find(Ie=>Ie.navigationContext&&Ie.navigationContext.length>0),he=Yt(Oe,I);De=qe.split(he).join("")}else if(z.fromContext){const Oe=z.fromContext,he=[...fe].reverse().find(kt=>Oe===kt.navigationContext),Ie=Yt(he,I);De=qe.split(Ie).join("")}else De=qe;return De};function vr(z){sessionStorage.removeItem("historyState"),sr.shouldPreload=!0,sr.preload(!0),sr.shouldPreload=!1;const fe=ae.getConfigValue("navigation.defaults.isolateView"),De=ae.getConfigValue("navigation.defaults.pageErrorHandler"),qe=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Oe={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:fe,defaultPageErrorHandler:De};St.addCurrentLocaleChangeListener(he=>{const Ie={msg:"luigi.current-locale-changed",currentLocale:he};Ee.broadcastMessageToAllIframes(Ie)}),On.addEventListener("popstate",async he=>{const Ie=In;if(!Ie||!(Ie.length>0))return;const kt=Ie.map(Bt=>{if(Bt&&!Bt.openFromClient&&typeof Bt.settings.ttl=="number"){if(Bt.settings.ttl===0)return null;Bt.settings.ttl--}return Bt}).filter(Bt=>Bt);t(25,In=kt)}),On.addEventListener("message",async he=>{const Ie=Ee.getValidMessageSource(he),kt=Y[Y.length-1],Bt=kt&&kt.modalIframe,Sr=kt&&kt.modalIframeData,Xi={modalIframe:Bt,modalIframeData:Sr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:g,splitViewIframe:C,splitViewIframeData:y,splitView:T};if(!Ie)return;Ie._ready=!0;const Cr=Ee.getSpecialIframeMessageSource(he,Xi),$i=Cr&&Cr.length>0,Gl=ae.getConfigValue("communication.skipEventsWhenInactive");if(Gl&&Gl.length>0&&!$i&&Ie.contentWindow!==window&&!le.isElementVisible(Ie)&&Gl.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Ke=ae.getConfigValue("communication.customMessagesListeners")||{},xe=rs.convertCustomMessageInternalToUser(he.data),Lt=Ke[xe.id],Ht="luigi.updateUserSettings";if(de&&xe.id===Ht){Lt&&console.warn(`The key "${Ht}" is not allowed to use for custom messages.`);return}if(typeof Lt=="function"){const Ln=Bi.getMicrofrontends().find(Fn=>Ee.isMessageSource(he,Fn.container));Lt(xe,Ln,le.removeInternalProperties(Ie.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${xe.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ie.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ie.luigi.viewUrl=Ie.luigi.nextViewUrl,Ie.luigi.nextViewUrl="",Ie.luigi.clientPermissions=Ie.luigi.nextClientPermissions,delete Ie.luigi.nextClientPermissions,Oe.navigateOk=!0,sr.preload()),he.data.msg==="luigi.get-context"){if(Ie.luigi.clientVersion=he.data.clientVersion,Ie.luigi.initOk=!1,$i)Cr.forEach(async Ke=>{let xe=Xi[Ke.dataKey].context;const Lt={...Oe,iframe:Xi[Ke.iframeKey],context:xe,pathParams:Xi[Ke.dataKey].pathParams,nodeParams:Xi[Ke.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Xi[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await Pe(Lt,{})});else if(Oe.iframe&&Ee.isMessageSource(he,Oe.iframe))await Pe(Oe,{}),(!O||!O.loadingIndicator||O.loadingIndicator.hideAutomatically!==!1)&&ia(),sr.preload();else if(Ie.luigi.preloading)await Pe({iframe:Ie,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=or.findActiveCustomUserSettingsIframe(he.source);if(Ke){let xe=Ke.getAttribute("userSettingsGroup"),Lt={context:{userSettingsData:Nn[xe]},iframe:Ke};await Pe(Lt)}}sr.viewGroupLoaded(Ie)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(ze),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){K=!1;const Ke=window.location.href,xe=$i?Ie.luigi.currentNode:void 0,Lt=$i?Ie.luigi.pathParams:void 0,Ht=he.data.params,{intent:Ln,newTab:Fn,modal:sn,splitView:Kl,drawer:Cl,withoutSync:ks}=Ht;let jl=Fn||sn||Kl||Cl;const ca=()=>{const Gt=le.getRemotePromise(he.data.remotePromiseId);Gt&&Gt.doResolve()},yl=()=>{const Gt=le.getRemotePromise(he.data.remotePromiseId);Gt&&Gt.doReject()},nn=Gt=>{!Gt||Ke!==window.location.href?ca():yl()};he.source!==window&&!Ln&&Ht.link&&(Ht.link=Ht.link.split("?")[0]);let pn=Tn(he.data.params,xe,Lt);if(jl=jl||Ln&&pn.external,!jl)en().then(()=>{x=!he.data.params.withoutSync,Ot(he.data,Oe,xe,Lt).then(()=>{nn(!0)}).catch(()=>{yl()}),Y.forEach((Gt,Ss)=>{Ji(Ss)}),fi(),Qi(),x=!0}).catch(()=>{yl()});else{if(Ln&&pn.external){lt.navigateToExternalLink({url:pn.url,sameWindow:!pn.openInNewTab});return}if(pn=le.addLeadingSlash(pn),Fn){await ea(pn),nn();return}const Gt=await ql(pn);if(pn=await we.handlePageNotFoundAndRetrieveRedirectPath(kn(),pn,Gt),!pn){yl();return}_e=z,sn!==void 0?(!sn.keepPrevious&&Et(),await _n(pn,sn===!0?{}:sn,Ie),nn()):Kl!==void 0?(await qi(pn,Kl),nn()):Cl!==void 0&&(Wl(),Cl.isDrawer=!0,await Qr(pn,Cl),nn())}}if(he.data.msg==="luigi.navigation.back"){const Ke=Y[Y.length-1],xe=Y.length>1&&Y[Y.length-2],Lt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ee.isMessageSource(he,Ke&&Ke.modalIframe)){Ji(Y.length-1,!0,Lt);let Ht=Oe;if(xe&&xe.modalIframeData&&xe.modalIframe){const Ln=xe,Fn=Ln.modalIframeData;Ht={pathParams:Fn.pathParams,context:Fn.context,iframe:Ln.modalIframe}}Ht.iframe&&await Pe(Ht,{goBackContext:Lt})}else Ee.isMessageSource(he,C)?(fi(),Oe.iframe&&await Pe(Oe,{goBackContext:Lt})):Ee.isMessageSource(he,p)?(d&&(d=!d),Qi(),Oe.iframe&&await Pe(Oe,{goBackContext:Lt})):ie&&ie.length>0?en().then(()=>{oi.setActiveIframeToPrevious(z);const Ht=ie.pop();Oe.iframe=oi.getActiveIframe(z),K=!0,ie=ie,J=Lt,Ot({params:{link:Ht.path}},Oe)},()=>{}):(Lt&&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 Ke=he.data.data,Lt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Ke),correlationId:Ke.id}};Ee.sendMessageToIframe(Ie,Lt)}if(he.data.msg==="luigi.auth.tokenIssued"&&dt(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if($i){const Ke=le.addLeadingSlash(Tn(he.data.params,Ie.luigi.currentNode,Ie.luigi.pathParams));lt.updateModalDataInUrl(Ke,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 Ke=Ie.luigi.currentNode,xe=Ie.luigi.pathParams,Lt=he.data.data,Ht=Tn(Lt,Ke,xe),Ln=Ht?await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Ht):!1,Fn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Lt.id,pathExists:Ln?Ln.isExistingRoute:!1}};Ee.sendMessageToIframe(Ie,Fn)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const Ke=new Set;Ke.add(he.source),se={dirtySet:Ke}}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 Ke=he.data.data.settings;_e=z,kl(),Sl(Ke,!0,Ie).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=he.data.data;if(!Ke.text&&!le.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}_e=z,wl(Ke,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ie.luigi.clientPermissions&&Ie.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ke}=he.data.data;Ke&&St.setCurrentLocale(Ke)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(We&&!We.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&na(),he.data.msg==="storage"&&nk.process(Ie.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Ke=Ie.luigi.currentNode;Ke&&Ke.runTimeErrorHandler&&le.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(he.data.errorObj,Ke):qe&&le.isFunction(qe.errorFn)&&qe.errorFn(he.data.errorObj,Ke)}if(he.data.msg==="luigi.addSearchParams")if(Ie.luigi.currentNode.clientPermissions&&Ie.luigi.currentNode.clientPermissions.urlParameters){const{data:Ke,keepBrowserHistory:xe}=he.data;we.addSearchParamsFromClient(Ie.luigi.currentNode,Ke,xe)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if($i)return;const{data:Ke,keepBrowserHistory:xe}=he.data;ul.addNodeParams(Ke,xe)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Ke}=he.data;ul.setAnchor(Ke)}if(he.data.msg==="luigi.setVGData"){const Ke=he.data,xe=oe.findViewGroup(Ie.luigi.currentNode);if(xe){const Lt=oe.getViewGroupSettings(xe);Lt._liveCustomData=Ke.data,ae.configChanged("navigation.viewgroupdata")}}}),Kn(z,Oe)}zr("store",l),zr("getTranslation",r);const na=z=>{We&&We.thirdPartyCookieErrorHandling&&le.isFunction(We.thirdPartyCookieErrorHandling)&&We.thirdPartyCookieErrorHandling()};function ia(){const z=document.querySelector(".spinnerContainer.appSpinner");z&&z.classList.contains("fade-out")?(z.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(ze),t(10,a=!1)},250)):clearTimeout(ze)}const ql=async z=>{const fe={link:z,relative:z[0]!=="/",intent:we.hasIntent(z)},De=Tn(fe),qe=De?await Mt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),De):!1;return qe?qe.isExistingRoute:!1},wr=()=>Y.length>0||ie.length!==0;xt(()=>{if(Do._init(),te=ae.getConfigValue("globalSearch.searchProvider"),ve=ae.getConfigValue("settings.responsiveNavigation"),Mn=window.innerWidth,ve==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),oe.getBurgerTooltipConfig()){const[z,fe]=oe.getBurgerTooltipConfig();z&&fe&&t(18,Te=document.body.classList.contains("lui-leftNavToggle")?z:fe)}}else if(ve==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(oe.getBurgerTooltipConfig()){const[z,fe]=oe.getBurgerTooltipConfig();if(z&&fe){const De=JSON.parse(localStorage.getItem(oe.COL_NAV_KEY));t(18,Te=De?z:fe)}}document.body.classList.add("lui-semiCollapsible")}We=ae.getConfigValue("settings.thirdPartyCookieCheck"),We&&We.thirdPartyCookieScriptLocation&&setTimeout(()=>{let z=document.createElement("iframe");z.width="0px",z.height="0px",z.src=We.thirdPartyCookieScriptLocation,document.body.appendChild(z),z.onload=function(){setTimeout(()=>{b8()==="disabled"&&na()}),document.body.removeChild(z)}})}),jr(()=>{Yi()}),Gn(()=>{t(19,tt=ae.getConfigValue("navigation.breadcrumbs")),te=ae.getConfigValue("globalSearch.searchProvider"),t(23,Fl=ae.getConfigValue("tag")),t(24,Ul=ae.getConfigValue("settings.header.disabled"))});const Zi=z=>{z.keyCode===mi&&Y&&Y.length>0&&Ji(Y.length-1)},la=z=>Ji(z,!0),ra=(z,fe)=>ii(fe,z),hs=(z,fe)=>mr(fe,z),aa=()=>ci(!0),sa=()=>ci(!1);function oa(z){Nn=z,t(5,Nn)}function ua(z){Ct=z,t(0,Ct)}function gs(z){wt=z,t(3,wt)}function _s(z){qt=z,t(4,qt)}function ps(z){pe=z,t(1,pe)}function fa(z){$e=z,t(2,$e)}function ms(z){Ct=z,t(0,Ct)}function bs(z){wt=z,t(3,wt)}function vs(z){qt=z,t(4,qt)}function ws(z){pe=z,t(1,pe)}function kr(z){$e=z,t(2,$e)}return i.$$set=z=>{"store"in z&&t(47,l=z.store),"getTranslation"in z&&t(48,r=z.getTranslation),"isSearchFieldVisible"in z&&t(0,Ct=z.isSearchFieldVisible),"inputElem"in z&&t(1,pe=z.inputElem),"luigiCustomSearchRenderer__slot"in z&&t(2,$e=z.luigiCustomSearchRenderer__slot),"displaySearchResult"in z&&t(3,wt=z.displaySearchResult),"searchResult"in z&&t(4,qt=z.searchResult),"storedUserSettings"in z&&t(5,Nn=z.storedUserSettings)},[Ct,pe,$e,wt,qt,Nn,Ni,Ii,Wi,ds,a,o,h,I,j,re,Re,de,Te,tt,Zt,gn,jn,Fl,Ul,In,ji,Y,tn,rt,ki,Si,nt,ht,Tt,gr,_r,ci,ii,mr,Ji,br,cs,$r,Qi,vr,Zi,l,r,Ci,yi,Pi,Ti,_l,pl,ml,qi,fi,bl,vl,Gi,Z,Ne,wl,Sl,pr,xr,ql,wr,la,ra,hs,aa,sa,oa,ua,gs,_s,ps,fa,ms,bs,vs,ws,kr]}class T8 extends Vt{constructor(e){super(),Dt(this,e,N8,P8,At,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:6,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:7,handleSearchNavigation:8,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:9,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[9]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const I8=()=>{const{subscribe:i,update:e,reset:t}=fr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let a=n[r];a||(a=new Set,n[r]=a),a.add(l)},fire:(l,r)=>{let a=n[l];a&&[...a].forEach(o=>{o(r)})}}},bp=I8(),L8=S2((i,e,t)=>St.getTranslation(i,e,t));Luigi._store=bp;const A8=()=>new Promise(i=>{St._init(),fn.init().then(()=>{setTimeout(()=>{let e;Bi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new T8({target:Bi.getLuigiContainer(),props:{store:bp,getTranslation:L8}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),i()})})});ae.setConfigCallbacks(A8);
|
|
64
64
|
//# sourceMappingURL=luigi.js.map
|