@luigi-project/core 2.8.1-dev.202401251637 → 2.8.1-dev.202401261451
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.css +1 -1
- package/luigi.js +18 -18
- package/luigi.js.map +1 -1
- package/luigi_core.css +1 -1
- package/luigi_horizon.css +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var jw=Object.defineProperty;var Yw=(i,e,t)=>e in i?jw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Bf=(i,e,t)=>(Yw(i,typeof e!="symbol"?e+"":e,t),t);function ze(){}function Qw(i,e){for(const t in e)i[t]=e[t];return i}function Zw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function U_(i){return i()}function Hf(){return Object.create(null)}function $e(i){i.forEach(U_)}function di(i){return typeof i=="function"}function Rt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ys;function Je(i,e){return Ys||(Ys=document.createElement("a")),Ys.href=e,i===Ys.href}function Xw(i){return Object.keys(i).length===0}function Mo(i,...e){if(i==null)return ze;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function sl(i){let e;return Mo(i,t=>e=t)(),e}function Ci(i,e,t){i.$$.on_destroy.push(Mo(e,t))}function B_(i,e,t,n){if(i){const l=H_(i,e,t,n);return i[0](l)}}function H_(i,e,t,n){return i[1]&&n?Qw(t.ctx.slice(),i[1](n(e))):t.ctx}function W_(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],s=Math.max(e.dirty.length,l.length);for(let o=0;o<s;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function z_(i,e,t,n,l,r){if(l){const s=H_(e,t,n,r);i.p(s,l)}}function G_(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 ii(i){return i??""}function q_(i){return i&&di(i.destroy)?i.destroy:ze}function w(i,e){i.appendChild(e)}function T(i,e,t){i.insertBefore(e,t||null)}function I(i){i.parentNode&&i.parentNode.removeChild(i)}function ot(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function C(i){return document.createElement(i)}function $w(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ie(i){return document.createTextNode(i)}function z(){return Ie(" ")}function me(){return Ie("")}function le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function At(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Mt(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 xw(i){return Array.from(i.childNodes)}function Te(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Wf(i,e){i.value=e??""}function On(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Vn(i,e,t){i.classList[t?"add":"remove"](e)}function e2(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class pr{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=$w(t.nodeName):this.e=C(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)T(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(I)}}let Jr;function Wi(i){Jr=i}function fl(){if(!Jr)throw new Error("Function called outside component initialization");return Jr}function Kn(i){fl().$$.before_update.push(i)}function Jt(i){fl().$$.on_mount.push(i)}function Zr(i){fl().$$.after_update.push(i)}function Xr(i){fl().$$.on_destroy.push(i)}function zt(){const i=fl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=e2(e,t,{cancelable:n});return l.slice().forEach(s=>{s.call(i,r)}),!r.defaultPrevented}return!0}}function Gr(i,e){return fl().$$.context.set(i,e),e}function pt(i){return fl().$$.context.get(i)}function Ol(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Kr=[],Ye=[],Xs=[],Ao=[],t2=Promise.resolve();let Ro=!1;function n2(){Ro||(Ro=!0,t2.then(Fo))}function Eo(i){Xs.push(i)}function ft(i){Ao.push(i)}const To=new Set;let Qs=0;function Fo(){const i=Jr;do{for(;Qs<Kr.length;){const e=Kr[Qs];Qs++,Wi(e),i2(e.$$)}for(Wi(null),Kr.length=0,Qs=0;Ye.length;)Ye.pop()();for(let e=0;e<Xs.length;e+=1){const t=Xs[e];To.has(t)||(To.add(t),t())}Xs.length=0}while(Kr.length);for(;Ao.length;)Ao.pop()();Ro=!1,To.clear(),Wi(i)}function i2(i){if(i.fragment!==null){i.update(),$e(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Eo)}}const $s=new Set;let Ml;function be(){Ml={r:0,c:[],p:Ml}}function ve(){Ml.r||$e(Ml.c),Ml=Ml.p}function R(i,e){i&&i.i&&($s.delete(i),i.i(e))}function B(i,e,t,n){if(i&&i.o){if($s.has(i))return;$s.add(i),Ml.c.push(()=>{$s.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ea(i,e){const t=e.token={};function n(l,r,s,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;s!==void 0&&(c=c.slice(),c[s]=o);const g=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((h,p)=>{p!==r&&h&&(be(),B(h,1,1,()=>{e.blocks[p]===h&&(e.blocks[p]=null)}),ve())}):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(Zw(i)){const l=fl();if(i.then(r=>{Wi(l),n(e.then,1,e.value,r),Wi(null)},r=>{if(Wi(l),n(e.catch,2,e.error,r),Wi(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 K_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const cl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function ct(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Fe(i){i&&i.c()}function Oe(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Eo(()=>{const s=i.$$.on_mount.map(U_).filter(di);i.$$.on_destroy?i.$$.on_destroy.push(...s):$e(s),i.$$.on_mount=[]}),r.forEach(Eo)}function Me(i,e){const t=i.$$;t.fragment!==null&&($e(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function l2(i,e){i.$$.dirty[0]===-1&&(Kr.push(i),n2(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Dt(i,e,t,n,l,r,s,o=[-1]){const c=Jr;Wi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:ze,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};s&&s(g.root);let d=!1;if(g.ctx=t?t(i,e.props||{},(h,p,...m)=>{const b=m.length?m[0]:p;return g.ctx&&l(g.ctx[h],g.ctx[h]=b)&&(!g.skip_bound&&g.bound[h]&&g.bound[h](b),d&&l2(i,h)),p}):[],g.update(),d=!0,$e(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const h=xw(e.target);g.fragment&&g.fragment.l(h),h.forEach(I)}else g.fragment&&g.fragment.c();e.intro&&R(i.$$.fragment),Oe(i,e.target,e.anchor,e.customElement),Fo()}Wi(c)}class Vt{$destroy(){Me(this,1),this.$destroy=ze}$on(e,t){if(!di(t))return ze;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&&!Xw(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),ae.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=ae.getConfigValueFromObject(e,t);return ae.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ta=new r2;class s2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const na=new s2;class a2{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 Gn=new a2;let o2=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()=>{z2.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),ci.getLuigiContainer().appendChild(n)}getConfigValue(e){return ae.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=ae.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ta.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(ae.isFunction(l))try{return await ta.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return wi.isAuthorizationEnabled()}unload(){this.initialized=!1,rn.unload(),Mn.removeAllEventListeners();const e=ci.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&&ae.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&&ae.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(){Gn.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 ia=new o2;let u2=class{constructor(){}isAuthorizationEnabled(){return!!se.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&rn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&rn.logout()}async handleAuthEvent(e,t,n,l){const r=await se.executeConfigFnAsync("auth.events."+e,!1,t,n);let s=r===void 0||!!r;if(s&&l){window.location.href=l;return}return s}get store(){return se.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:()=>fi.getStorageKey(),getStorageType:()=>fi.getStorageType(),getAuthData:()=>fi.getAuthData(),setAuthData:e=>fi.setAuthData(e),removeAuthData:()=>fi.removeAuthData(),setNewlyAuthorized:()=>fi.setNewlyAuthorized()}}};const J_=new u2,xt={desktopMinWidth:600},f2=[{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"}],c2={cssSelector:"[luigi-app-root]"},d2={cssSelector:"[luigi-app-loading-indicator]"};let h2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(c2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Re.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Re.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Re.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const j_=new h2;class g2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class ni extends g2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const s=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=ae.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:s,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(ae.isFunction(n)){const l=ae.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(ae.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 _2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new ni().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new ni().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new ni().openAsSplitView(e,t)}openAsDrawer(e,t){return new ni().openAsDrawer(e,t)}fromContext(e){return new ni().fromContext(e)}fromClosestContext(){return new ni().fromClosestContext()}fromVirtualTreeRoot(){return new ni().fromVirtualTreeRoot()}withParams(e){return new ni().withParams(e)}pathExists(e){return new ni().pathExists(e)}hasBack(){return new ni().hasBack()}goBack(e){return new ni().goBack(e)}}const Y_=new _2,p2={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"}}},m2=p2;class b2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=m2,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(ae.isFunction(e)){const t=ae.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)}),ia.configChanged()}_initCustomImplementation(){this.translationImpl=ia.getConfigValue("settings.customTranslationImplementation"),ae.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let s=l[r];if(t.hasOwnProperty(s)&&typeof t[s]=="object")t=t[s];else return n?this.findInterpolations(t[s],n):t[s]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+_r.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const Q_=new b2;class v2{sendToAll(e){const t=na.convertCustomMessageUserToInternal(e);Re.getMicrofrontendsInDom().map(n=>n.container).map(n=>Re.sendMessageToIframe(n,t))}send(e,t){const n=na.convertCustomMessageUserToInternal(t);Re.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Re.sendMessageToIframe(l,n))}}const w2=new v2,or=[];function k2(i,e){return{subscribe:hr(i,e).subscribe}}function hr(i,e=ze){let t;const n=new Set;function l(o){if(Rt(i,o)&&(i=o,t)){const c=!or.length;for(const g of n)g[1](),or.push(g,i);if(c){for(let g=0;g<or.length;g+=2)or[g][0](or[g+1]);or.length=0}}}function r(o){l(o(i))}function s(o,c=ze){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||ze),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:s}}class S2{initial(){this.responsiveNavSetting=se.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&this.previousWindowWidth>=xt.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>xt.desktopMinWidth&&this.previousWindowWidth>=xt.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(ke.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const vi=new S2;let C2=class{constructor(){this.documentTitle=hr()}hideAppLoadingIndicator(){const e=document.querySelector(d2.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(ae.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(ae.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return sl(this.documentTitle)}collapseLeftSideNav(e){vi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new ni().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const Z_=new C2;let y2=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const X_=new y2;let P2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await se.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=se.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!!se.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=se.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){ae.isFunction(se.getConfigValue("settings.theming.variables.errorHandling"))?se.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else se.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=se.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Yr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};dn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const $_=new P2;let N2=class{constructor(){this.featureToggleList=hr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||sl(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=sl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}sl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...sl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return ae.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return sl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):sl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const x_=new N2;let I2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(se.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(!ae.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);se.getConfigValue("routing.useHashRouting")?n.hash=we.addParamsOnHashRouting(e,n.hash):we.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),se.configChanged()}addNodeParams(e,t){if(!ae.isObject(e)){console.log("Params argument must be an object");return}const n=we.getContentViewParamPrefix(),l=new URL(location);se.getConfigValue("routing.useHashRouting")?l.hash=we.addParamsOnHashRouting(e,l.hash,n):we.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),se.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 se.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(se.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 ep=new I2,se=ia,wi=J_,ci=j_,tp=Y_,bt=Q_,$r=Z_,T2=X_,Do=$_,Uo=x_,al=ep;window.Luigi=ia;window.Luigi.auth=()=>J_;window.Luigi.elements=()=>j_;window.Luigi.navigation=()=>Y_;window.Luigi.i18n=()=>Q_;window.Luigi.customMessages=()=>w2;window.Luigi.ux=()=>Z_;window.Luigi.globalSearch=()=>X_;window.Luigi.theming=()=>$_;window.Luigi.featureToggles=()=>x_;window.Luigi.routing=()=>ep;class L2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(ae.isElementVisible)}setActiveIframeToPrevious(e){const t=Re.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Re.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!ae.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=ke.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:bt.getCurrentLocale()})};Re.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=ke.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:bt.getCurrentLocale()})};Re.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:(Re.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ke.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||ae.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 s=Re.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,s,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,s,e.isolateAllViews),g=Re.canReuseIframe(e,t);let d=this.getActiveIframe(n);const h=Re.getMainIframes(),p=this.getPreservedViewsInDom(h);let m,b=!1;if(p.length>0&&(m=p.shift(),m===d&&(b=!0,d=void 0,e.iframe=void 0)),!b&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Re.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):g||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),b?(this.notifyInactiveIframes(),Re.hideElementChildren(n)):Re.removeElementChildren(n),l.viewUrl){ae.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Re.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Re.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const k=l.currentNode.pageErrorHandler;k?this.checkIframe(k,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 k=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(k)};l.isNavigationSyncEnabled?(Re.getVisibleIframes().forEach(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(A=>{Re.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:A[N.userSettingsGroup]},internal:Re.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Re.sendMessageToIframe(N,{msg:"luigi.navigate",context:N.luigi._lastUpdatedMessage.context,nodeParams:N.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},N.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Re.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)}))}),Re.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const ui=new L2;class A2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(se.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=ke.getAllViewGroupSettings();if(!l)return;const r=Re.getIframeContainer(),s=Re.getMainIframes(),o=new Date().getTime();if(s.filter(h=>h.luigi&&h.luigi.preloading&&o-h.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=s.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=Re.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const ur=new A2;class R2{async getNavigationPath(e,t=""){try{const n=ae.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Gn.hasRootNode()&&(l=Gn.getRootNode().node),!l){const h=await e;ae.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),Gn.setRootNode(l)}const r=n.split("/"),o={...se.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(Gn.hasChildren(e)){let r=Gn.getChildren(e);r&&(n=r.children)}else try{n=await ta.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 Gn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Gn.hasChildren(e)?Ot.getChildrenFromCache(e):await Ot.getChildren(e)}getChildrenFromCache(e){let t=Gn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ke.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,s)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,s.hideFromNav&&(c.hideFromNav=s.hideFromNav),c.children=[l(r,s)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let s={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let g=ke.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=_r.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);s=this.buildNode(h,t,d,g,r)}catch(d){console.error("Error getting nodes children",d)}}}return s}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,s=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=ae.removeProperties(e,g);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:ae.trimTrailingSlash(this.buildVirtualViewUrl(s,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:s});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 Qw=Object.defineProperty;var Zw=(i,e,t)=>e in i?Qw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Bf=(i,e,t)=>(Zw(i,typeof e!="symbol"?e+"":e,t),t);function ze(){}function Xw(i,e){for(const t in e)i[t]=e[t];return i}function $w(i){return i&&typeof i=="object"&&typeof i.then=="function"}function B_(i){return i()}function Hf(){return Object.create(null)}function $e(i){i.forEach(B_)}function di(i){return typeof i=="function"}function Rt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ya;function Je(i,e){return Ya||(Ya=document.createElement("a")),Ya.href=e,i===Ya.href}function xw(i){return Object.keys(i).length===0}function Mo(i,...e){if(i==null)return ze;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function al(i){let e;return Mo(i,t=>e=t)(),e}function Ci(i,e,t){i.$$.on_destroy.push(Mo(e,t))}function H_(i,e,t,n){if(i){const l=W_(i,e,t,n);return i[0](l)}}function W_(i,e,t,n){return i[1]&&n?Xw(t.ctx.slice(),i[1](n(e))):t.ctx}function z_(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 G_(i,e,t,n,l,r){if(l){const a=W_(e,t,n,r);i.p(a,l)}}function q_(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 ii(i){return i??""}function K_(i){return i&&di(i.destroy)?i.destroy:ze}function w(i,e){i.appendChild(e)}function T(i,e,t){i.insertBefore(e,t||null)}function I(i){i.parentNode&&i.parentNode.removeChild(i)}function ot(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function C(i){return document.createElement(i)}function e2(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ie(i){return document.createTextNode(i)}function z(){return Ie(" ")}function ve(){return Ie("")}function le(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function At(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Mt(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 t2(i){return Array.from(i.childNodes)}function Te(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Wf(i,e){i.value=e??""}function On(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Vn(i,e,t){i.classList[t?"add":"remove"](e)}function n2(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class pr{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=e2(t.nodeName):this.e=C(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)T(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(I)}}let Jr;function Wi(i){Jr=i}function fl(){if(!Jr)throw new Error("Function called outside component initialization");return Jr}function Kn(i){fl().$$.before_update.push(i)}function Jt(i){fl().$$.on_mount.push(i)}function Zr(i){fl().$$.after_update.push(i)}function Xr(i){fl().$$.on_destroy.push(i)}function zt(){const i=fl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=n2(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Gr(i,e){return fl().$$.context.set(i,e),e}function pt(i){return fl().$$.context.get(i)}function Ol(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Kr=[],Ye=[],Xa=[],Ao=[],i2=Promise.resolve();let Ro=!1;function l2(){Ro||(Ro=!0,i2.then(Fo))}function Eo(i){Xa.push(i)}function ft(i){Ao.push(i)}const To=new Set;let Qa=0;function Fo(){const i=Jr;do{for(;Qa<Kr.length;){const e=Kr[Qa];Qa++,Wi(e),r2(e.$$)}for(Wi(null),Kr.length=0,Qa=0;Ye.length;)Ye.pop()();for(let e=0;e<Xa.length;e+=1){const t=Xa[e];To.has(t)||(To.add(t),t())}Xa.length=0}while(Kr.length);for(;Ao.length;)Ao.pop()();Ro=!1,To.clear(),Wi(i)}function r2(i){if(i.fragment!==null){i.update(),$e(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Eo)}}const $a=new Set;let Ml;function me(){Ml={r:0,c:[],p:Ml}}function be(){Ml.r||$e(Ml.c),Ml=Ml.p}function R(i,e){i&&i.i&&($a.delete(i),i.i(e))}function B(i,e,t,n){if(i&&i.o){if($a.has(i))return;$a.add(i),Ml.c.push(()=>{$a.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function es(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&&(me(),B(h,1,1,()=>{e.blocks[p]===h&&(e.blocks[p]=null)}),be())}):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($w(i)){const l=fl();if(i.then(r=>{Wi(l),n(e.then,1,e.value,r),Wi(null)},r=>{if(Wi(l),n(e.catch,2,e.error,r),Wi(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function J_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const cl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function ct(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Fe(i){i&&i.c()}function Ve(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Eo(()=>{const a=i.$$.on_mount.map(B_).filter(di);i.$$.on_destroy?i.$$.on_destroy.push(...a):$e(a),i.$$.on_mount=[]}),r.forEach(Eo)}function Oe(i,e){const t=i.$$;t.fragment!==null&&($e(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function a2(i,e){i.$$.dirty[0]===-1&&(Kr.push(i),l2(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Dt(i,e,t,n,l,r,a,o=[-1]){const c=Jr;Wi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:ze,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,...m)=>{const b=m.length?m[0]:p;return g.ctx&&l(g.ctx[h],g.ctx[h]=b)&&(!g.skip_bound&&g.bound[h]&&g.bound[h](b),d&&a2(i,h)),p}):[],g.update(),d=!0,$e(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const h=t2(e.target);g.fragment&&g.fragment.l(h),h.forEach(I)}else g.fragment&&g.fragment.c();e.intro&&R(i.$$.fragment),Ve(i,e.target,e.anchor,e.customElement),Fo()}Wi(c)}class Vt{$destroy(){Oe(this,1),this.$destroy=ze}$on(e,t){if(!di(t))return ze;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&&!xw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class s2{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),se.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=se.getConfigValueFromObject(e,t);return se.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ts=new s2;class o2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const ns=new o2;class u2{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 Gn=new u2;let f2=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),ci.getLuigiContainer().appendChild(n)}getConfigValue(e){return se.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=se.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ts.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(se.isFunction(l))try{return await ts.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return wi.isAuthorizationEnabled()}unload(){this.initialized=!1,rn.unload(),Mn.removeAllEventListeners();const e=ci.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&se.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&se.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Gn.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 is=new f2;let c2=class{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&rn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&rn.logout()}async handleAuthEvent(e,t,n,l){const r=await ae.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return ae.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>fi.getStorageKey(),getStorageType:()=>fi.getStorageType(),getAuthData:()=>fi.getAuthData(),setAuthData:e=>fi.setAuthData(e),removeAuthData:()=>fi.removeAuthData(),setNewlyAuthorized:()=>fi.setNewlyAuthorized()}}};const j_=new c2,xt={desktopMinWidth:600},d2=[{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"}],g2={cssSelector:"[luigi-app-root]"},h2={cssSelector:"[luigi-app-loading-indicator]"};let _2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(g2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Re.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Re.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Re.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const Y_=new _2;class p2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class ni extends p2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=se.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(se.isFunction(n)){const l=se.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(se.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class m2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new ni().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new ni().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new ni().openAsSplitView(e,t)}openAsDrawer(e,t){return new ni().openAsDrawer(e,t)}fromContext(e){return new ni().fromContext(e)}fromClosestContext(){return new ni().fromClosestContext()}fromVirtualTreeRoot(){return new ni().fromVirtualTreeRoot()}withParams(e){return new ni().withParams(e)}pathExists(e){return new ni().pathExists(e)}hasBack(){return new ni().hasBack()}goBack(e){return new ni().goBack(e)}}const Q_=new m2,b2={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"}}},v2=b2;class w2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=v2,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(se.isFunction(e)){const t=se.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),is.configChanged()}_initCustomImplementation(){this.translationImpl=is.getConfigValue("settings.customTranslationImplementation"),se.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+_r.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const Z_=new w2;class k2{sendToAll(e){const t=ns.convertCustomMessageUserToInternal(e);Re.getMicrofrontendsInDom().map(n=>n.container).map(n=>Re.sendMessageToIframe(n,t))}send(e,t){const n=ns.convertCustomMessageUserToInternal(t);Re.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Re.sendMessageToIframe(l,n))}}const S2=new k2,or=[];function C2(i,e){return{subscribe:gr(i,e).subscribe}}function gr(i,e=ze){let t;const n=new Set;function l(o){if(Rt(i,o)&&(i=o,t)){const c=!or.length;for(const g of n)g[1](),or.push(g,i);if(c){for(let g=0;g<or.length;g+=2)or[g][0](or[g+1]);or.length=0}}}function r(o){l(o(i))}function a(o,c=ze){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||ze),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class y2{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&this.previousWindowWidth>=xt.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>xt.desktopMinWidth&&this.previousWindowWidth>=xt.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(ke.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ke.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const vi=new y2;let P2=class{constructor(){this.documentTitle=gr()}hideAppLoadingIndicator(){const e=document.querySelector(h2.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(se.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(se.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return al(this.documentTitle)}collapseLeftSideNav(e){vi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new ni().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const X_=new P2;let N2=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 $_=new N2;let I2=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){se.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Yr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};dn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const x_=new I2;let T2=class{constructor(){this.featureToggleList=gr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||al(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=al(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}al(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...al(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return se.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return al(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):al(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const ep=new T2;let L2=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(!se.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(!se.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 tp=new L2,ae=is,wi=j_,ci=Y_,np=Q_,bt=Z_,$r=X_,A2=$_,Do=x_,Uo=ep,sl=tp;window.Luigi=is;window.Luigi.auth=()=>j_;window.Luigi.elements=()=>Y_;window.Luigi.navigation=()=>Q_;window.Luigi.i18n=()=>Z_;window.Luigi.customMessages=()=>S2;window.Luigi.ux=()=>X_;window.Luigi.globalSearch=()=>$_;window.Luigi.theming=()=>x_;window.Luigi.featureToggles=()=>ep;window.Luigi.routing=()=>tp;class R2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(se.isElementVisible)}setActiveIframeToPrevious(e){const t=Re.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Re.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!se.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=ke.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:bt.getCurrentLocale()})};Re.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=ke.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:bt.getCurrentLocale()})};Re.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:(Re.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ke.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||se.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=we.substituteViewUrl(r,l));const a=Re.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),g=Re.canReuseIframe(e,t);let d=this.getActiveIframe(n);const h=Re.getMainIframes(),p=this.getPreservedViewsInDom(h);let m,b=!1;if(p.length>0&&(m=p.shift(),m===d&&(b=!0,d=void 0,e.iframe=void 0)),!b&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Re.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):g||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),b?(this.notifyInactiveIframes(),Re.hideElementChildren(n)):Re.removeElementChildren(n),l.viewUrl){se.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Re.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Re.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const k=l.currentNode.pageErrorHandler;k?this.checkIframe(k,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 k=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(k)};l.isNavigationSyncEnabled?(Re.getVisibleIframes().forEach(N=>{N!==e.iframe&&(N.userSettingsGroup?Luigi.readUserSettings().then(A=>{Re.sendMessageToIframe(N,{msg:"luigi.navigate",context:{userSettingsData:A[N.userSettingsGroup]},internal:Re.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)})}):Re.sendMessageToIframe(N,{msg:"luigi.navigate",context:N.luigi._lastUpdatedMessage.context,nodeParams:N.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},N.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Re.applyCoreStateData(N.luigi._lastUpdatedMessage.internal)}))}),Re.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const ui=new R2;class E2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=ke.getAllViewGroupSettings();if(!l)return;const r=Re.getIframeContainer(),a=Re.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=Re.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const ur=new E2;class D2{async getNavigationPath(e,t=""){try{const n=se.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Gn.hasRootNode()&&(l=Gn.getRootNode().node),!l){const h=await e;se.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),Gn.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(Gn.hasChildren(e)){let r=Gn.getChildren(e);r&&(n=r.children)}else try{n=await ts.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 Gn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Gn.hasChildren(e)?Ot.getChildrenFromCache(e):await Ot.getChildren(e)}getChildrenFromCache(e){let t=Gn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ke.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=ke.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=_r.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=se.removeProperties(e,g);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:se.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(Gn.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)?ke.groupNodesBy(n,"category",!0):{children:ke.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,ke.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&&ke.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:ke.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&&(se.isFunction(e.onNodeActivation)||se.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Ot=new D2,ul={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},V2={externalLink:{sameWindow:!1}};class hr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class O2 extends hr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=ip({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 M2 extends hr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
|
|
9
9
|
.${e} {
|
|
10
10
|
grid-template-columns: ${l.columns||"auto"};
|
|
11
11
|
grid-template-rows: ${l.rows||"auto"};
|
|
@@ -23,42 +23,42 @@ Invalid Children:`,t),null):(t.some(s=>{if(s.pathSegment===e||s.pathSegment&&s.p
|
|
|
23
23
|
}
|
|
24
24
|
${n}
|
|
25
25
|
</style>
|
|
26
|
-
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const
|
|
26
|
+
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const ip=i=>{const e=i.use;if(e){if(e==="grid")return new M2(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new O2(i)}else return new hr(i);return new hr(i)},zf=(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]})},F2=i=>Object.entries(i).reduce((e,t)=>(e[Gf(t[0])]=Gf(t[1]),e),{}),Gf=(i="")=>String(i).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/"),U2="500px",B2="0px";class H2{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 m;if(o)return{};const p=(m=e.extendedContext)!=null&&m.nodeParams?e.extendedContext.nodeParams:{};return h?F2(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=ke.findViewGroup(n._luigi_node);if(p){const m=ke.getViewGroupSettings(p);m._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");se.isFunction(d)&&d(e,r.currentNode,r,a,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=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);this.initWC(g,c,g,e.viewUrl,t,"_root"),l(g)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const g=document.createElement(c);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)||U2;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 hr,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=ip(e.compound.renderer):l=new hr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||B2})}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:(m,b,v)=>{const k=p[b+"."+m.type]||[];k.push(...p["*."+m.type]||[]),k.forEach(y=>{const P=y.wcElement||h.querySelector("[nodeId="+y.wcElementId+"]");P?P.dispatchEvent(new CustomEvent(y.action,{detail:y.converter?y.converter(m.detail):m.detail})):console.debug("Could not find event target",y)})}},e.compound.children.forEach((m,b)=>{var P;const v={...r,...m.context},k=a.createCompoundItemContainer(m.layoutConfig),y=m.id||"gen_"+b;k.eventBus=h.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(k,e.compound,m),a.attachCompoundItem(h,k),this.wcContainerData.set(k,{viewUrl:m.viewUrl,wc_container:k,extendedContext:{context:v},node:m,nodeId:y,isSpecialMf:!0,noTemporaryContainerHeight:(P=e.compound.lazyLoadingOptions)==null?void 0:P.noTemporaryContainerHeight}),o.observe(k)):(a.attachCompoundItem(h,k),this.renderWebComponent(m.viewUrl,k,{context:v},m,y,!0,!1)),zf(p,m,y)}),t.appendChild(h),zf(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 dr=new H2;var qr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ls={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
|
-
*/la.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.",s="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,d="__lodash_placeholder__",h=1,p=2,m=4,b=1,v=2,k=1,y=2,P=4,N=8,A=16,E=32,V=64,D=128,F=256,M=512,W=30,K="...",Q=800,ce=16,Ce=1,G=2,J=3,fe=1/0,te=9007199254740991,x=17976931348623157e292,Le=0/0,ie=4294967295,Ee=ie-1,re=ie>>>1,Ve=[["ary",D],["bind",k],["bindKey",y],["curry",N],["curryRight",A],["flip",M],["partial",E],["partialRight",V],["rearg",F]],$="[object Arguments]",j="[object Array]",pe="[object AsyncFunction]",Ke="[object Boolean]",Ue="[object Date]",he="[object DOMException]",Qe="[object Error]",xe="[object Function]",jt="[object GeneratorFunction]",vt="[object Map]",Ht="[object Number]",bn="[object Null]",Yt="[object Object]",en="[object Promise]",In="[object Proxy]",vn="[object RegExp]",sn="[object Set]",Tn="[object String]",Tt="[object Symbol]",dl="[object Undefined]",li="[object WeakMap]",wn="[object WeakSet]",Qt="[object ArrayBuffer]",Jn="[object DataView]",tn="[object Float32Array]",kn="[object Float64Array]",hi="[object Int8Array]",yi="[object Int16Array]",hn="[object Int32Array]",Pi="[object Uint8Array]",Ni="[object Uint8ClampedArray]",Ii="[object Uint16Array]",Ti="[object Uint32Array]",hl=/\b__p \+= '';/g,gl=/\b(__p \+=) '' \+/g,_l=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gi=/&(?:amp|lt|gt|quot|#39);/g,Li=/[&<>"']/g,pl=RegExp(Gi.source),qi=RegExp(Li.source),gi=/<%-([\s\S]+?)%>/g,ml=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tt=/^\w*$/,ht=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wt=/[\\^$.*+?()[\]{}|]/g,an=RegExp(wt.source),Sn=/^\s+/,jn=/\s/,Fn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bl=/\{\n\/\* \[wrapped with (.+)\] \*/,Ki=/,? & /,Bl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Hl=/[()=,{}\[\]\/\s]/,Wl=/\\(\\)?/g,mr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Cn=/\w*$/,vl=/^[-+]0x[0-9a-f]+$/i,wl=/^0b[01]+$/i,zl=/^\[object .+?Constructor\]$/,br=/^0o[0-7]+$/i,Ji=/^(?:0|[1-9]\d*)$/,kl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_i=/($^)/,Sl=/['\n\r\u2028\u2029\\]/g,Ai="\\ud800-\\udfff",Gl="\\u0300-\\u036f",vr="\\ufe20-\\ufe2f",gt="\\u20d0-\\u20ff",ji=Gl+vr+gt,Yi="\\u2700-\\u27bf",Cl="a-z\\xdf-\\xf6\\xf8-\\xff",X="\\xac\\xb1\\xd7\\xf7",St="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ct="\\u2000-\\u206f",Yn=" \\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",wr="A-Z\\xc0-\\xd6\\xd8-\\xde",xr="\\ufe0e\\ufe0f",Qi=X+St+Ct+Yn,kr="['’]",oa="["+Ai+"]",es="["+Qi+"]",ql="["+ji+"]",Kl="\\d+",ua="["+Yi+"]",ts="["+Cl+"]",ns="[^"+Ai+Qi+Kl+Yi+Cl+wr+"]",Sr="\\ud83c[\\udffb-\\udfff]",fa="(?:"+ql+"|"+Sr+")",Cr="[^"+Ai+"]",yr="(?:\\ud83c[\\udde6-\\uddff]){2}",Jl="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+wr+"]",is="\\u200d",ls="(?:"+ts+"|"+ns+")",ca="(?:"+Zi+"|"+ns+")",rs="(?:"+kr+"(?:d|ll|m|re|s|t|ve))?",ss="(?:"+kr+"(?:D|LL|M|RE|S|T|VE))?",as=fa+"?",os="["+xr+"]?",da="(?:"+is+"(?:"+[Cr,yr,Jl].join("|")+")"+os+as+")*",ha="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ga="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",us=os+as+da,_a="(?:"+[ua,yr,Jl].join("|")+")"+us,pa="(?:"+[Cr+ql+"?",ql,yr,Jl,oa].join("|")+")",ma=RegExp(kr,"g"),ba=RegExp(ql,"g"),Pr=RegExp(Sr+"(?="+Sr+")|"+pa+us,"g"),va=RegExp([Zi+"?"+ts+"+"+rs+"(?="+[es,Zi,"$"].join("|")+")",ca+"+"+ss+"(?="+[es,Zi+ls,"$"].join("|")+")",Zi+"?"+ls+"+"+rs,Zi+"+"+ss,ga,ha,Kl,_a].join("|"),"g"),wa=RegExp("["+is+Ai+ji+xr+"]"),ka=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,H=["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"],ue=-1,Ne={};Ne[tn]=Ne[kn]=Ne[hi]=Ne[yi]=Ne[hn]=Ne[Pi]=Ne[Ni]=Ne[Ii]=Ne[Ti]=!0,Ne[$]=Ne[j]=Ne[Qt]=Ne[Ke]=Ne[Jn]=Ne[Ue]=Ne[Qe]=Ne[xe]=Ne[vt]=Ne[Ht]=Ne[Yt]=Ne[vn]=Ne[sn]=Ne[Tn]=Ne[li]=!1;var Ae={};Ae[$]=Ae[j]=Ae[Qt]=Ae[Jn]=Ae[Ke]=Ae[Ue]=Ae[tn]=Ae[kn]=Ae[hi]=Ae[yi]=Ae[hn]=Ae[vt]=Ae[Ht]=Ae[Yt]=Ae[vn]=Ae[sn]=Ae[Tn]=Ae[Tt]=Ae[Pi]=Ae[Ni]=Ae[Ii]=Ae[Ti]=!0,Ae[Qe]=Ae[xe]=Ae[li]=!1;var He={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},ye={"&":"&","<":"<",">":">",'"':""","'":"'"},Be={"&":"&","<":"<",">":">",""":'"',"'":"'"},mt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ft=parseFloat,Nr=parseInt,Ri=typeof qr=="object"&&qr&&qr.Object===Object&&qr,Ir=typeof self=="object"&&self&&self.Object===Object&&self,Ut=Ri||Ir||Function("return this")(),yl=e&&!e.nodeType&&e,Ge=yl&&!0&&i&&!i.nodeType&&i,Pt=Ge&&Ge.exports===yl,Lt=Pt&&Ri.process,Nt=function(){try{var ee=Ge&&Ge.require&&Ge.require("util").types;return ee||Lt&&Lt.binding&&Lt.binding("util")}catch{}}(),Ln=Nt&&Nt.isArrayBuffer,Qn=Nt&&Nt.isDate,Xi=Nt&&Nt.isMap,jl=Nt&&Nt.isRegExp,Pl=Nt&&Nt.isSet,Sa=Nt&&Nt.isTypedArray;function on(ee,de,oe){switch(oe.length){case 0:return ee.call(de);case 1:return ee.call(de,oe[0]);case 2:return ee.call(de,oe[0],oe[1]);case 3:return ee.call(de,oe[0],oe[1],oe[2])}return ee.apply(de,oe)}function Ca(ee,de,oe,We){for(var et=-1,kt=ee==null?0:ee.length;++et<kt;){var Xt=ee[et];de(We,Xt,oe(Xt),ee)}return We}function un(ee,de){for(var oe=-1,We=ee==null?0:ee.length;++oe<We&&de(ee[oe],oe,ee)!==!1;);return ee}function Nl(ee,de){for(var oe=ee==null?0:ee.length;oe--&&de(ee[oe],oe,ee)!==!1;);return ee}function fn(ee,de){for(var oe=-1,We=ee==null?0:ee.length;++oe<We;)if(!de(ee[oe],oe,ee))return!1;return!0}function Zt(ee,de){for(var oe=-1,We=ee==null?0:ee.length,et=0,kt=[];++oe<We;){var Xt=ee[oe];de(Xt,oe,ee)&&(kt[et++]=Xt)}return kt}function Yl(ee,de){var oe=ee==null?0:ee.length;return!!oe&&Ql(ee,de,0)>-1}function ya(ee,de,oe){for(var We=-1,et=ee==null?0:ee.length;++We<et;)if(oe(de,ee[We]))return!0;return!1}function Bt(ee,de){for(var oe=-1,We=ee==null?0:ee.length,et=Array(We);++oe<We;)et[oe]=de(ee[oe],oe,ee);return et}function $i(ee,de){for(var oe=-1,We=de.length,et=ee.length;++oe<We;)ee[et+oe]=de[oe];return ee}function Pa(ee,de,oe,We){var et=-1,kt=ee==null?0:ee.length;for(We&&kt&&(oe=ee[++et]);++et<kt;)oe=de(oe,ee[et],et,ee);return oe}function bp(ee,de,oe,We){var et=ee==null?0:ee.length;for(We&&et&&(oe=ee[--et]);et--;)oe=de(oe,ee[et],et,ee);return oe}function Na(ee,de){for(var oe=-1,We=ee==null?0:ee.length;++oe<We;)if(de(ee[oe],oe,ee))return!0;return!1}var vp=Ia("length");function wp(ee){return ee.split("")}function kp(ee){return ee.match(Bl)||[]}function Ho(ee,de,oe){var We;return oe(ee,function(et,kt,Xt){if(de(et,kt,Xt))return We=kt,!1}),We}function fs(ee,de,oe,We){for(var et=ee.length,kt=oe+(We?1:-1);We?kt--:++kt<et;)if(de(ee[kt],kt,ee))return kt;return-1}function Ql(ee,de,oe){return de===de?Dp(ee,de,oe):fs(ee,Wo,oe)}function Sp(ee,de,oe,We){for(var et=oe-1,kt=ee.length;++et<kt;)if(We(ee[et],de))return et;return-1}function Wo(ee){return ee!==ee}function zo(ee,de){var oe=ee==null?0:ee.length;return oe?La(ee,de)/oe:Le}function Ia(ee){return function(de){return de==null?t:de[ee]}}function Ta(ee){return function(de){return ee==null?t:ee[de]}}function Go(ee,de,oe,We,et){return et(ee,function(kt,Xt,Et){oe=We?(We=!1,kt):de(oe,kt,Xt,Et)}),oe}function Cp(ee,de){var oe=ee.length;for(ee.sort(de);oe--;)ee[oe]=ee[oe].value;return ee}function La(ee,de){for(var oe,We=-1,et=ee.length;++We<et;){var kt=de(ee[We]);kt!==t&&(oe=oe===t?kt:oe+kt)}return oe}function Aa(ee,de){for(var oe=-1,We=Array(ee);++oe<ee;)We[oe]=de(oe);return We}function yp(ee,de){return Bt(de,function(oe){return[oe,ee[oe]]})}function qo(ee){return ee&&ee.slice(0,Yo(ee)+1).replace(Sn,"")}function Un(ee){return function(de){return ee(de)}}function Ra(ee,de){return Bt(de,function(oe){return ee[oe]})}function Tr(ee,de){return ee.has(de)}function Ko(ee,de){for(var oe=-1,We=ee.length;++oe<We&&Ql(de,ee[oe],0)>-1;);return oe}function Jo(ee,de){for(var oe=ee.length;oe--&&Ql(de,ee[oe],0)>-1;);return oe}function Pp(ee,de){for(var oe=ee.length,We=0;oe--;)ee[oe]===de&&++We;return We}var Np=Ta(He),Ip=Ta(ye);function Tp(ee){return"\\"+mt[ee]}function Lp(ee,de){return ee==null?t:ee[de]}function Zl(ee){return wa.test(ee)}function Ap(ee){return ka.test(ee)}function Rp(ee){for(var de,oe=[];!(de=ee.next()).done;)oe.push(de.value);return oe}function Ea(ee){var de=-1,oe=Array(ee.size);return ee.forEach(function(We,et){oe[++de]=[et,We]}),oe}function jo(ee,de){return function(oe){return ee(de(oe))}}function xi(ee,de){for(var oe=-1,We=ee.length,et=0,kt=[];++oe<We;){var Xt=ee[oe];(Xt===de||Xt===d)&&(ee[oe]=d,kt[et++]=oe)}return kt}function cs(ee){var de=-1,oe=Array(ee.size);return ee.forEach(function(We){oe[++de]=We}),oe}function Ep(ee){var de=-1,oe=Array(ee.size);return ee.forEach(function(We){oe[++de]=[We,We]}),oe}function Dp(ee,de,oe){for(var We=oe-1,et=ee.length;++We<et;)if(ee[We]===de)return We;return-1}function Vp(ee,de,oe){for(var We=oe+1;We--;)if(ee[We]===de)return We;return We}function Xl(ee){return Zl(ee)?Mp(ee):vp(ee)}function ri(ee){return Zl(ee)?Fp(ee):wp(ee)}function Yo(ee){for(var de=ee.length;de--&&jn.test(ee.charAt(de)););return de}var Op=Ta(Be);function Mp(ee){for(var de=Pr.lastIndex=0;Pr.test(ee);)++de;return de}function Fp(ee){return ee.match(Pr)||[]}function Up(ee){return ee.match(va)||[]}var Bp=function ee(de){de=de==null?Ut:$l.defaults(Ut.Object(),de,$l.pick(Ut,H));var oe=de.Array,We=de.Date,et=de.Error,kt=de.Function,Xt=de.Math,Et=de.Object,Da=de.RegExp,Hp=de.String,Zn=de.TypeError,ds=oe.prototype,Wp=kt.prototype,xl=Et.prototype,hs=de["__core-js_shared__"],gs=Wp.toString,It=xl.hasOwnProperty,zp=0,Qo=function(){var a=/[^.]+$/.exec(hs&&hs.keys&&hs.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),_s=xl.toString,Gp=gs.call(Et),qp=Ut._,Kp=Da("^"+gs.call(It).replace(wt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ps=Pt?de.Buffer:t,el=de.Symbol,ms=de.Uint8Array,Zo=ps?ps.allocUnsafe:t,bs=jo(Et.getPrototypeOf,Et),Xo=Et.create,$o=xl.propertyIsEnumerable,vs=ds.splice,xo=el?el.isConcatSpreadable:t,Lr=el?el.iterator:t,Il=el?el.toStringTag:t,ws=function(){try{var a=El(Et,"defineProperty");return a({},"",{}),a}catch{}}(),Jp=de.clearTimeout!==Ut.clearTimeout&&de.clearTimeout,jp=We&&We.now!==Ut.Date.now&&We.now,Yp=de.setTimeout!==Ut.setTimeout&&de.setTimeout,ks=Xt.ceil,Ss=Xt.floor,Va=Et.getOwnPropertySymbols,Qp=ps?ps.isBuffer:t,eu=de.isFinite,Zp=ds.join,Xp=jo(Et.keys,Et),$t=Xt.max,gn=Xt.min,$p=We.now,xp=de.parseInt,tu=Xt.random,em=ds.reverse,Oa=El(de,"DataView"),Ar=El(de,"Map"),Ma=El(de,"Promise"),er=El(de,"Set"),Rr=El(de,"WeakMap"),Er=El(Et,"create"),Cs=Rr&&new Rr,tr={},tm=Dl(Oa),nm=Dl(Ar),im=Dl(Ma),lm=Dl(er),rm=Dl(Rr),ys=el?el.prototype:t,Dr=ys?ys.valueOf:t,nu=ys?ys.toString:t;function O(a){if(Gt(a)&&!nt(a)&&!(a instanceof dt)){if(a instanceof Xn)return a;if(It.call(a,"__wrapped__"))return lf(a)}return new Xn(a)}var nr=function(){function a(){}return function(u){if(!Wt(u))return{};if(Xo)return Xo(u);a.prototype=u;var _=new a;return a.prototype=t,_}}();function Ps(){}function Xn(a,u){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}O.templateSettings={escape:gi,evaluate:ml,interpolate:Z,variable:"",imports:{_:O}},O.prototype=Ps.prototype,O.prototype.constructor=O,Xn.prototype=nr(Ps.prototype),Xn.prototype.constructor=Xn;function dt(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function sm(){var a=new dt(this.__wrapped__);return a.__actions__=An(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=An(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=An(this.__views__),a}function am(){if(this.__filtered__){var a=new dt(this);a.__dir__=-1,a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a}function om(){var a=this.__wrapped__.value(),u=this.__dir__,_=nt(a),S=u<0,L=_?a.length:0,U=w1(0,L,this.__views__),q=U.start,Y=U.end,ne=Y-q,ge=S?Y:q-1,_e=this.__iteratees__,Se=_e.length,De=0,qe=gn(ne,this.__takeCount__);if(!_||!S&&L==ne&&qe==ne)return Nu(a,this.__actions__);var Ze=[];e:for(;ne--&&De<qe;){ge+=u;for(var rt=-1,Xe=a[ge];++rt<Se;){var ut=_e[rt],_t=ut.iteratee,Wn=ut.type,Nn=_t(Xe);if(Wn==G)Xe=Nn;else if(!Nn){if(Wn==Ce)continue e;break e}}Ze[De++]=Xe}return Ze}dt.prototype=nr(Ps.prototype),dt.prototype.constructor=dt;function Tl(a){var u=-1,_=a==null?0:a.length;for(this.clear();++u<_;){var S=a[u];this.set(S[0],S[1])}}function um(){this.__data__=Er?Er(null):{},this.size=0}function fm(a){var u=this.has(a)&&delete this.__data__[a];return this.size-=u?1:0,u}function cm(a){var u=this.__data__;if(Er){var _=u[a];return _===c?t:_}return It.call(u,a)?u[a]:t}function dm(a){var u=this.__data__;return Er?u[a]!==t:It.call(u,a)}function hm(a,u){var _=this.__data__;return this.size+=this.has(a)?0:1,_[a]=Er&&u===t?c:u,this}Tl.prototype.clear=um,Tl.prototype.delete=fm,Tl.prototype.get=cm,Tl.prototype.has=dm,Tl.prototype.set=hm;function Ei(a){var u=-1,_=a==null?0:a.length;for(this.clear();++u<_;){var S=a[u];this.set(S[0],S[1])}}function gm(){this.__data__=[],this.size=0}function _m(a){var u=this.__data__,_=Ns(u,a);if(_<0)return!1;var S=u.length-1;return _==S?u.pop():vs.call(u,_,1),--this.size,!0}function pm(a){var u=this.__data__,_=Ns(u,a);return _<0?t:u[_][1]}function mm(a){return Ns(this.__data__,a)>-1}function bm(a,u){var _=this.__data__,S=Ns(_,a);return S<0?(++this.size,_.push([a,u])):_[S][1]=u,this}Ei.prototype.clear=gm,Ei.prototype.delete=_m,Ei.prototype.get=pm,Ei.prototype.has=mm,Ei.prototype.set=bm;function Di(a){var u=-1,_=a==null?0:a.length;for(this.clear();++u<_;){var S=a[u];this.set(S[0],S[1])}}function vm(){this.size=0,this.__data__={hash:new Tl,map:new(Ar||Ei),string:new Tl}}function wm(a){var u=Us(this,a).delete(a);return this.size-=u?1:0,u}function km(a){return Us(this,a).get(a)}function Sm(a){return Us(this,a).has(a)}function Cm(a,u){var _=Us(this,a),S=_.size;return _.set(a,u),this.size+=_.size==S?0:1,this}Di.prototype.clear=vm,Di.prototype.delete=wm,Di.prototype.get=km,Di.prototype.has=Sm,Di.prototype.set=Cm;function Ll(a){var u=-1,_=a==null?0:a.length;for(this.__data__=new Di;++u<_;)this.add(a[u])}function ym(a){return this.__data__.set(a,c),this}function Pm(a){return this.__data__.has(a)}Ll.prototype.add=Ll.prototype.push=ym,Ll.prototype.has=Pm;function si(a){var u=this.__data__=new Ei(a);this.size=u.size}function Nm(){this.__data__=new Ei,this.size=0}function Im(a){var u=this.__data__,_=u.delete(a);return this.size=u.size,_}function Tm(a){return this.__data__.get(a)}function Lm(a){return this.__data__.has(a)}function Am(a,u){var _=this.__data__;if(_ instanceof Ei){var S=_.__data__;if(!Ar||S.length<l-1)return S.push([a,u]),this.size=++_.size,this;_=this.__data__=new Di(S)}return _.set(a,u),this.size=_.size,this}si.prototype.clear=Nm,si.prototype.delete=Im,si.prototype.get=Tm,si.prototype.has=Lm,si.prototype.set=Am;function iu(a,u){var _=nt(a),S=!_&&Vl(a),L=!_&&!S&&rl(a),U=!_&&!S&&!L&&sr(a),q=_||S||L||U,Y=q?Aa(a.length,Hp):[],ne=Y.length;for(var ge in a)(u||It.call(a,ge))&&!(q&&(ge=="length"||L&&(ge=="offset"||ge=="parent")||U&&(ge=="buffer"||ge=="byteLength"||ge=="byteOffset")||Fi(ge,ne)))&&Y.push(ge);return Y}function lu(a){var u=a.length;return u?a[ja(0,u-1)]:t}function Rm(a,u){return Bs(An(a),Al(u,0,a.length))}function Em(a){return Bs(An(a))}function Fa(a,u,_){(_!==t&&!ai(a[u],_)||_===t&&!(u in a))&&Vi(a,u,_)}function Vr(a,u,_){var S=a[u];(!(It.call(a,u)&&ai(S,_))||_===t&&!(u in a))&&Vi(a,u,_)}function Ns(a,u){for(var _=a.length;_--;)if(ai(a[_][0],u))return _;return-1}function Dm(a,u,_,S){return tl(a,function(L,U,q){u(S,L,_(L),q)}),S}function ru(a,u){return a&&mi(u,nn(u),a)}function Vm(a,u){return a&&mi(u,En(u),a)}function Vi(a,u,_){u=="__proto__"&&ws?ws(a,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):a[u]=_}function Ua(a,u){for(var _=-1,S=u.length,L=oe(S),U=a==null;++_<S;)L[_]=U?t:vo(a,u[_]);return L}function Al(a,u,_){return a===a&&(_!==t&&(a=a<=_?a:_),u!==t&&(a=a>=u?a:u)),a}function $n(a,u,_,S,L,U){var q,Y=u&h,ne=u&p,ge=u&m;if(_&&(q=L?_(a,S,L,U):_(a)),q!==t)return q;if(!Wt(a))return a;var _e=nt(a);if(_e){if(q=S1(a),!Y)return An(a,q)}else{var Se=_n(a),De=Se==xe||Se==jt;if(rl(a))return Lu(a,Y);if(Se==Yt||Se==$||De&&!L){if(q=ne||De?{}:Yu(a),!Y)return ne?c1(a,Vm(q,a)):f1(a,ru(q,a))}else{if(!Ae[Se])return L?a:{};q=C1(a,Se,Y)}}U||(U=new si);var qe=U.get(a);if(qe)return qe;U.set(a,q),yf(a)?a.forEach(function(Xe){q.add($n(Xe,u,_,Xe,a,U))}):Sf(a)&&a.forEach(function(Xe,ut){q.set(ut,$n(Xe,u,_,ut,a,U))});var Ze=ge?ne?lo:io:ne?En:nn,rt=_e?t:Ze(a);return un(rt||a,function(Xe,ut){rt&&(ut=Xe,Xe=a[ut]),Vr(q,ut,$n(Xe,u,_,ut,a,U))}),q}function Om(a){var u=nn(a);return function(_){return su(_,a,u)}}function su(a,u,_){var S=_.length;if(a==null)return!S;for(a=Et(a);S--;){var L=_[S],U=u[L],q=a[L];if(q===t&&!(L in a)||!U(q))return!1}return!0}function au(a,u,_){if(typeof a!="function")throw new Zn(s);return Wr(function(){a.apply(t,_)},u)}function Or(a,u,_,S){var L=-1,U=Yl,q=!0,Y=a.length,ne=[],ge=u.length;if(!Y)return ne;_&&(u=Bt(u,Un(_))),S?(U=ya,q=!1):u.length>=l&&(U=Tr,q=!1,u=new Ll(u));e:for(;++L<Y;){var _e=a[L],Se=_==null?_e:_(_e);if(_e=S||_e!==0?_e:0,q&&Se===Se){for(var De=ge;De--;)if(u[De]===Se)continue e;ne.push(_e)}else U(u,Se,S)||ne.push(_e)}return ne}var tl=Vu(pi),ou=Vu(Ha,!0);function Mm(a,u){var _=!0;return tl(a,function(S,L,U){return _=!!u(S,L,U),_}),_}function Is(a,u,_){for(var S=-1,L=a.length;++S<L;){var U=a[S],q=u(U);if(q!=null&&(Y===t?q===q&&!Hn(q):_(q,Y)))var Y=q,ne=U}return ne}function Fm(a,u,_,S){var L=a.length;for(_=lt(_),_<0&&(_=-_>L?0:L+_),S=S===t||S>L?L:lt(S),S<0&&(S+=L),S=_>S?0:Nf(S);_<S;)a[_++]=u;return a}function uu(a,u){var _=[];return tl(a,function(S,L,U){u(S,L,U)&&_.push(S)}),_}function cn(a,u,_,S,L){var U=-1,q=a.length;for(_||(_=P1),L||(L=[]);++U<q;){var Y=a[U];u>0&&_(Y)?u>1?cn(Y,u-1,_,S,L):$i(L,Y):S||(L[L.length]=Y)}return L}var Ba=Ou(),fu=Ou(!0);function pi(a,u){return a&&Ba(a,u,nn)}function Ha(a,u){return a&&fu(a,u,nn)}function Ts(a,u){return Zt(u,function(_){return Ui(a[_])})}function Rl(a,u){u=il(u,a);for(var _=0,S=u.length;a!=null&&_<S;)a=a[bi(u[_++])];return _&&_==S?a:t}function cu(a,u,_){var S=u(a);return nt(a)?S:$i(S,_(a))}function yn(a){return a==null?a===t?dl:bn:Il&&Il in Et(a)?v1(a):E1(a)}function Wa(a,u){return a>u}function Um(a,u){return a!=null&&It.call(a,u)}function Bm(a,u){return a!=null&&u in Et(a)}function Hm(a,u,_){return a>=gn(u,_)&&a<$t(u,_)}function za(a,u,_){for(var S=_?ya:Yl,L=a[0].length,U=a.length,q=U,Y=oe(U),ne=1/0,ge=[];q--;){var _e=a[q];q&&u&&(_e=Bt(_e,Un(u))),ne=gn(_e.length,ne),Y[q]=!_&&(u||L>=120&&_e.length>=120)?new Ll(q&&_e):t}_e=a[0];var Se=-1,De=Y[0];e:for(;++Se<L&&ge.length<ne;){var qe=_e[Se],Ze=u?u(qe):qe;if(qe=_||qe!==0?qe:0,!(De?Tr(De,Ze):S(ge,Ze,_))){for(q=U;--q;){var rt=Y[q];if(!(rt?Tr(rt,Ze):S(a[q],Ze,_)))continue e}De&&De.push(Ze),ge.push(qe)}}return ge}function Wm(a,u,_,S){return pi(a,function(L,U,q){u(S,_(L),U,q)}),S}function Mr(a,u,_){u=il(u,a),a=$u(a,u);var S=a==null?a:a[bi(ei(u))];return S==null?t:on(S,a,_)}function du(a){return Gt(a)&&yn(a)==$}function zm(a){return Gt(a)&&yn(a)==Qt}function Gm(a){return Gt(a)&&yn(a)==Ue}function Fr(a,u,_,S,L){return a===u?!0:a==null||u==null||!Gt(a)&&!Gt(u)?a!==a&&u!==u:qm(a,u,_,S,Fr,L)}function qm(a,u,_,S,L,U){var q=nt(a),Y=nt(u),ne=q?j:_n(a),ge=Y?j:_n(u);ne=ne==$?Yt:ne,ge=ge==$?Yt:ge;var _e=ne==Yt,Se=ge==Yt,De=ne==ge;if(De&&rl(a)){if(!rl(u))return!1;q=!0,_e=!1}if(De&&!_e)return U||(U=new si),q||sr(a)?Ku(a,u,_,S,L,U):m1(a,u,ne,_,S,L,U);if(!(_&b)){var qe=_e&&It.call(a,"__wrapped__"),Ze=Se&&It.call(u,"__wrapped__");if(qe||Ze){var rt=qe?a.value():a,Xe=Ze?u.value():u;return U||(U=new si),L(rt,Xe,_,S,U)}}return De?(U||(U=new si),b1(a,u,_,S,L,U)):!1}function Km(a){return Gt(a)&&_n(a)==vt}function Ga(a,u,_,S){var L=_.length,U=L,q=!S;if(a==null)return!U;for(a=Et(a);L--;){var Y=_[L];if(q&&Y[2]?Y[1]!==a[Y[0]]:!(Y[0]in a))return!1}for(;++L<U;){Y=_[L];var ne=Y[0],ge=a[ne],_e=Y[1];if(q&&Y[2]){if(ge===t&&!(ne in a))return!1}else{var Se=new si;if(S)var De=S(ge,_e,ne,a,u,Se);if(!(De===t?Fr(_e,ge,b|v,S,Se):De))return!1}}return!0}function hu(a){if(!Wt(a)||I1(a))return!1;var u=Ui(a)?Kp:zl;return u.test(Dl(a))}function Jm(a){return Gt(a)&&yn(a)==vn}function jm(a){return Gt(a)&&_n(a)==sn}function Ym(a){return Gt(a)&&Ks(a.length)&&!!Ne[yn(a)]}function gu(a){return typeof a=="function"?a:a==null?Dn:typeof a=="object"?nt(a)?mu(a[0],a[1]):pu(a):Ff(a)}function qa(a){if(!Hr(a))return Xp(a);var u=[];for(var _ in Et(a))It.call(a,_)&&_!="constructor"&&u.push(_);return u}function Qm(a){if(!Wt(a))return R1(a);var u=Hr(a),_=[];for(var S in a)S=="constructor"&&(u||!It.call(a,S))||_.push(S);return _}function Ka(a,u){return a<u}function _u(a,u){var _=-1,S=Rn(a)?oe(a.length):[];return tl(a,function(L,U,q){S[++_]=u(L,U,q)}),S}function pu(a){var u=so(a);return u.length==1&&u[0][2]?Zu(u[0][0],u[0][1]):function(_){return _===a||Ga(_,a,u)}}function mu(a,u){return oo(a)&&Qu(u)?Zu(bi(a),u):function(_){var S=vo(_,a);return S===t&&S===u?wo(_,a):Fr(u,S,b|v)}}function Ls(a,u,_,S,L){a!==u&&Ba(u,function(U,q){if(L||(L=new si),Wt(U))Zm(a,u,q,_,Ls,S,L);else{var Y=S?S(fo(a,q),U,q+"",a,u,L):t;Y===t&&(Y=U),Fa(a,q,Y)}},En)}function Zm(a,u,_,S,L,U,q){var Y=fo(a,_),ne=fo(u,_),ge=q.get(ne);if(ge){Fa(a,_,ge);return}var _e=U?U(Y,ne,_+"",a,u,q):t,Se=_e===t;if(Se){var De=nt(ne),qe=!De&&rl(ne),Ze=!De&&!qe&&sr(ne);_e=ne,De||qe||Ze?nt(Y)?_e=Y:qt(Y)?_e=An(Y):qe?(Se=!1,_e=Lu(ne,!0)):Ze?(Se=!1,_e=Au(ne,!0)):_e=[]:zr(ne)||Vl(ne)?(_e=Y,Vl(Y)?_e=If(Y):(!Wt(Y)||Ui(Y))&&(_e=Yu(ne))):Se=!1}Se&&(q.set(ne,_e),L(_e,ne,S,U,q),q.delete(ne)),Fa(a,_,_e)}function bu(a,u){var _=a.length;if(_)return u+=u<0?_:0,Fi(u,_)?a[u]:t}function vu(a,u,_){u.length?u=Bt(u,function(U){return nt(U)?function(q){return Rl(q,U.length===1?U[0]:U)}:U}):u=[Dn];var S=-1;u=Bt(u,Un(je()));var L=_u(a,function(U,q,Y){var ne=Bt(u,function(ge){return ge(U)});return{criteria:ne,index:++S,value:U}});return Cp(L,function(U,q){return u1(U,q,_)})}function Xm(a,u){return wu(a,u,function(_,S){return wo(a,S)})}function wu(a,u,_){for(var S=-1,L=u.length,U={};++S<L;){var q=u[S],Y=Rl(a,q);_(Y,q)&&Ur(U,il(q,a),Y)}return U}function $m(a){return function(u){return Rl(u,a)}}function Ja(a,u,_,S){var L=S?Sp:Ql,U=-1,q=u.length,Y=a;for(a===u&&(u=An(u)),_&&(Y=Bt(a,Un(_)));++U<q;)for(var ne=0,ge=u[U],_e=_?_(ge):ge;(ne=L(Y,_e,ne,S))>-1;)Y!==a&&vs.call(Y,ne,1),vs.call(a,ne,1);return a}function ku(a,u){for(var _=a?u.length:0,S=_-1;_--;){var L=u[_];if(_==S||L!==U){var U=L;Fi(L)?vs.call(a,L,1):Za(a,L)}}return a}function ja(a,u){return a+Ss(tu()*(u-a+1))}function xm(a,u,_,S){for(var L=-1,U=$t(ks((u-a)/(_||1)),0),q=oe(U);U--;)q[S?U:++L]=a,a+=_;return q}function Ya(a,u){var _="";if(!a||u<1||u>te)return _;do u%2&&(_+=a),u=Ss(u/2),u&&(a+=a);while(u);return _}function st(a,u){return co(Xu(a,u,Dn),a+"")}function e1(a){return lu(ar(a))}function t1(a,u){var _=ar(a);return Bs(_,Al(u,0,_.length))}function Ur(a,u,_,S){if(!Wt(a))return a;u=il(u,a);for(var L=-1,U=u.length,q=U-1,Y=a;Y!=null&&++L<U;){var ne=bi(u[L]),ge=_;if(ne==="__proto__"||ne==="constructor"||ne==="prototype")return a;if(L!=q){var _e=Y[ne];ge=S?S(_e,ne,Y):t,ge===t&&(ge=Wt(_e)?_e:Fi(u[L+1])?[]:{})}Vr(Y,ne,ge),Y=Y[ne]}return a}var Su=Cs?function(a,u){return Cs.set(a,u),a}:Dn,n1=ws?function(a,u){return ws(a,"toString",{configurable:!0,enumerable:!1,value:So(u),writable:!0})}:Dn;function i1(a){return Bs(ar(a))}function xn(a,u,_){var S=-1,L=a.length;u<0&&(u=-u>L?0:L+u),_=_>L?L:_,_<0&&(_+=L),L=u>_?0:_-u>>>0,u>>>=0;for(var U=oe(L);++S<L;)U[S]=a[S+u];return U}function l1(a,u){var _;return tl(a,function(S,L,U){return _=u(S,L,U),!_}),!!_}function As(a,u,_){var S=0,L=a==null?S:a.length;if(typeof u=="number"&&u===u&&L<=re){for(;S<L;){var U=S+L>>>1,q=a[U];q!==null&&!Hn(q)&&(_?q<=u:q<u)?S=U+1:L=U}return L}return Qa(a,u,Dn,_)}function Qa(a,u,_,S){var L=0,U=a==null?0:a.length;if(U===0)return 0;u=_(u);for(var q=u!==u,Y=u===null,ne=Hn(u),ge=u===t;L<U;){var _e=Ss((L+U)/2),Se=_(a[_e]),De=Se!==t,qe=Se===null,Ze=Se===Se,rt=Hn(Se);if(q)var Xe=S||Ze;else ge?Xe=Ze&&(S||De):Y?Xe=Ze&&De&&(S||!qe):ne?Xe=Ze&&De&&!qe&&(S||!rt):qe||rt?Xe=!1:Xe=S?Se<=u:Se<u;Xe?L=_e+1:U=_e}return gn(U,Ee)}function Cu(a,u){for(var _=-1,S=a.length,L=0,U=[];++_<S;){var q=a[_],Y=u?u(q):q;if(!_||!ai(Y,ne)){var ne=Y;U[L++]=q===0?0:q}}return U}function yu(a){return typeof a=="number"?a:Hn(a)?Le:+a}function Bn(a){if(typeof a=="string")return a;if(nt(a))return Bt(a,Bn)+"";if(Hn(a))return nu?nu.call(a):"";var u=a+"";return u=="0"&&1/a==-fe?"-0":u}function nl(a,u,_){var S=-1,L=Yl,U=a.length,q=!0,Y=[],ne=Y;if(_)q=!1,L=ya;else if(U>=l){var ge=u?null:_1(a);if(ge)return cs(ge);q=!1,L=Tr,ne=new Ll}else ne=u?[]:Y;e:for(;++S<U;){var _e=a[S],Se=u?u(_e):_e;if(_e=_||_e!==0?_e:0,q&&Se===Se){for(var De=ne.length;De--;)if(ne[De]===Se)continue e;u&&ne.push(Se),Y.push(_e)}else L(ne,Se,_)||(ne!==Y&&ne.push(Se),Y.push(_e))}return Y}function Za(a,u){return u=il(u,a),a=$u(a,u),a==null||delete a[bi(ei(u))]}function Pu(a,u,_,S){return Ur(a,u,_(Rl(a,u)),S)}function Rs(a,u,_,S){for(var L=a.length,U=S?L:-1;(S?U--:++U<L)&&u(a[U],U,a););return _?xn(a,S?0:U,S?U+1:L):xn(a,S?U+1:0,S?L:U)}function Nu(a,u){var _=a;return _ instanceof dt&&(_=_.value()),Pa(u,function(S,L){return L.func.apply(L.thisArg,$i([S],L.args))},_)}function Xa(a,u,_){var S=a.length;if(S<2)return S?nl(a[0]):[];for(var L=-1,U=oe(S);++L<S;)for(var q=a[L],Y=-1;++Y<S;)Y!=L&&(U[L]=Or(U[L]||q,a[Y],u,_));return nl(cn(U,1),u,_)}function Iu(a,u,_){for(var S=-1,L=a.length,U=u.length,q={};++S<L;){var Y=S<U?u[S]:t;_(q,a[S],Y)}return q}function $a(a){return qt(a)?a:[]}function xa(a){return typeof a=="function"?a:Dn}function il(a,u){return nt(a)?a:oo(a,u)?[a]:nf(yt(a))}var r1=st;function ll(a,u,_){var S=a.length;return _=_===t?S:_,!u&&_>=S?a:xn(a,u,_)}var Tu=Jp||function(a){return Ut.clearTimeout(a)};function Lu(a,u){if(u)return a.slice();var _=a.length,S=Zo?Zo(_):new a.constructor(_);return a.copy(S),S}function eo(a){var u=new a.constructor(a.byteLength);return new ms(u).set(new ms(a)),u}function s1(a,u){var _=u?eo(a.buffer):a.buffer;return new a.constructor(_,a.byteOffset,a.byteLength)}function a1(a){var u=new a.constructor(a.source,Cn.exec(a));return u.lastIndex=a.lastIndex,u}function o1(a){return Dr?Et(Dr.call(a)):{}}function Au(a,u){var _=u?eo(a.buffer):a.buffer;return new a.constructor(_,a.byteOffset,a.length)}function Ru(a,u){if(a!==u){var _=a!==t,S=a===null,L=a===a,U=Hn(a),q=u!==t,Y=u===null,ne=u===u,ge=Hn(u);if(!Y&&!ge&&!U&&a>u||U&&q&&ne&&!Y&&!ge||S&&q&&ne||!_&&ne||!L)return 1;if(!S&&!U&&!ge&&a<u||ge&&_&&L&&!S&&!U||Y&&_&&L||!q&&L||!ne)return-1}return 0}function u1(a,u,_){for(var S=-1,L=a.criteria,U=u.criteria,q=L.length,Y=_.length;++S<q;){var ne=Ru(L[S],U[S]);if(ne){if(S>=Y)return ne;var ge=_[S];return ne*(ge=="desc"?-1:1)}}return a.index-u.index}function Eu(a,u,_,S){for(var L=-1,U=a.length,q=_.length,Y=-1,ne=u.length,ge=$t(U-q,0),_e=oe(ne+ge),Se=!S;++Y<ne;)_e[Y]=u[Y];for(;++L<q;)(Se||L<U)&&(_e[_[L]]=a[L]);for(;ge--;)_e[Y++]=a[L++];return _e}function Du(a,u,_,S){for(var L=-1,U=a.length,q=-1,Y=_.length,ne=-1,ge=u.length,_e=$t(U-Y,0),Se=oe(_e+ge),De=!S;++L<_e;)Se[L]=a[L];for(var qe=L;++ne<ge;)Se[qe+ne]=u[ne];for(;++q<Y;)(De||L<U)&&(Se[qe+_[q]]=a[L++]);return Se}function An(a,u){var _=-1,S=a.length;for(u||(u=oe(S));++_<S;)u[_]=a[_];return u}function mi(a,u,_,S){var L=!_;_||(_={});for(var U=-1,q=u.length;++U<q;){var Y=u[U],ne=S?S(_[Y],a[Y],Y,_,a):t;ne===t&&(ne=a[Y]),L?Vi(_,Y,ne):Vr(_,Y,ne)}return _}function f1(a,u){return mi(a,ao(a),u)}function c1(a,u){return mi(a,Ju(a),u)}function Es(a,u){return function(_,S){var L=nt(_)?Ca:Dm,U=u?u():{};return L(_,a,je(S,2),U)}}function ir(a){return st(function(u,_){var S=-1,L=_.length,U=L>1?_[L-1]:t,q=L>2?_[2]:t;for(U=a.length>3&&typeof U=="function"?(L--,U):t,q&&Pn(_[0],_[1],q)&&(U=L<3?t:U,L=1),u=Et(u);++S<L;){var Y=_[S];Y&&a(u,Y,S,U)}return u})}function Vu(a,u){return function(_,S){if(_==null)return _;if(!Rn(_))return a(_,S);for(var L=_.length,U=u?L:-1,q=Et(_);(u?U--:++U<L)&&S(q[U],U,q)!==!1;);return _}}function Ou(a){return function(u,_,S){for(var L=-1,U=Et(u),q=S(u),Y=q.length;Y--;){var ne=q[a?Y:++L];if(_(U[ne],ne,U)===!1)break}return u}}function d1(a,u,_){var S=u&k,L=Br(a);function U(){var q=this&&this!==Ut&&this instanceof U?L:a;return q.apply(S?_:this,arguments)}return U}function Mu(a){return function(u){u=yt(u);var _=Zl(u)?ri(u):t,S=_?_[0]:u.charAt(0),L=_?ll(_,1).join(""):u.slice(1);return S[a]()+L}}function lr(a){return function(u){return Pa(Of(Vf(u).replace(ma,"")),a,"")}}function Br(a){return function(){var u=arguments;switch(u.length){case 0:return new a;case 1:return new a(u[0]);case 2:return new a(u[0],u[1]);case 3:return new a(u[0],u[1],u[2]);case 4:return new a(u[0],u[1],u[2],u[3]);case 5:return new a(u[0],u[1],u[2],u[3],u[4]);case 6:return new a(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new a(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var _=nr(a.prototype),S=a.apply(_,u);return Wt(S)?S:_}}function h1(a,u,_){var S=Br(a);function L(){for(var U=arguments.length,q=oe(U),Y=U,ne=rr(L);Y--;)q[Y]=arguments[Y];var ge=U<3&&q[0]!==ne&&q[U-1]!==ne?[]:xi(q,ne);if(U-=ge.length,U<_)return Wu(a,u,Ds,L.placeholder,t,q,ge,t,t,_-U);var _e=this&&this!==Ut&&this instanceof L?S:a;return on(_e,this,q)}return L}function Fu(a){return function(u,_,S){var L=Et(u);if(!Rn(u)){var U=je(_,3);u=nn(u),_=function(Y){return U(L[Y],Y,L)}}var q=a(u,_,S);return q>-1?L[U?u[q]:q]:t}}function Uu(a){return Mi(function(u){var _=u.length,S=_,L=Xn.prototype.thru;for(a&&u.reverse();S--;){var U=u[S];if(typeof U!="function")throw new Zn(s);if(L&&!q&&Fs(U)=="wrapper")var q=new Xn([],!0)}for(S=q?S:_;++S<_;){U=u[S];var Y=Fs(U),ne=Y=="wrapper"?ro(U):t;ne&&uo(ne[0])&&ne[1]==(D|N|E|F)&&!ne[4].length&&ne[9]==1?q=q[Fs(ne[0])].apply(q,ne[3]):q=U.length==1&&uo(U)?q[Y]():q.thru(U)}return function(){var ge=arguments,_e=ge[0];if(q&&ge.length==1&&nt(_e))return q.plant(_e).value();for(var Se=0,De=_?u[Se].apply(this,ge):_e;++Se<_;)De=u[Se].call(this,De);return De}})}function Ds(a,u,_,S,L,U,q,Y,ne,ge){var _e=u&D,Se=u&k,De=u&y,qe=u&(N|A),Ze=u&M,rt=De?t:Br(a);function Xe(){for(var ut=arguments.length,_t=oe(ut),Wn=ut;Wn--;)_t[Wn]=arguments[Wn];if(qe)var Nn=rr(Xe),zn=Pp(_t,Nn);if(S&&(_t=Eu(_t,S,L,qe)),U&&(_t=Du(_t,U,q,qe)),ut-=zn,qe&&ut<ge){var Kt=xi(_t,Nn);return Wu(a,u,Ds,Xe.placeholder,_,_t,Kt,Y,ne,ge-ut)}var oi=Se?_:this,Hi=De?oi[a]:a;return ut=_t.length,Y?_t=D1(_t,Y):Ze&&ut>1&&_t.reverse(),_e&&ne<ut&&(_t.length=ne),this&&this!==Ut&&this instanceof Xe&&(Hi=rt||Br(Hi)),Hi.apply(oi,_t)}return Xe}function Bu(a,u){return function(_,S){return Wm(_,a,u(S),{})}}function Vs(a,u){return function(_,S){var L;if(_===t&&S===t)return u;if(_!==t&&(L=_),S!==t){if(L===t)return S;typeof _=="string"||typeof S=="string"?(_=Bn(_),S=Bn(S)):(_=yu(_),S=yu(S)),L=a(_,S)}return L}}function to(a){return Mi(function(u){return u=Bt(u,Un(je())),st(function(_){var S=this;return a(u,function(L){return on(L,S,_)})})})}function Os(a,u){u=u===t?" ":Bn(u);var _=u.length;if(_<2)return _?Ya(u,a):u;var S=Ya(u,ks(a/Xl(u)));return Zl(u)?ll(ri(S),0,a).join(""):S.slice(0,a)}function g1(a,u,_,S){var L=u&k,U=Br(a);function q(){for(var Y=-1,ne=arguments.length,ge=-1,_e=S.length,Se=oe(_e+ne),De=this&&this!==Ut&&this instanceof q?U:a;++ge<_e;)Se[ge]=S[ge];for(;ne--;)Se[ge++]=arguments[++Y];return on(De,L?_:this,Se)}return q}function Hu(a){return function(u,_,S){return S&&typeof S!="number"&&Pn(u,_,S)&&(_=S=t),u=Bi(u),_===t?(_=u,u=0):_=Bi(_),S=S===t?u<_?1:-1:Bi(S),xm(u,_,S,a)}}function Ms(a){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=ti(u),_=ti(_)),a(u,_)}}function Wu(a,u,_,S,L,U,q,Y,ne,ge){var _e=u&N,Se=_e?q:t,De=_e?t:q,qe=_e?U:t,Ze=_e?t:U;u|=_e?E:V,u&=~(_e?V:E),u&P||(u&=~(k|y));var rt=[a,u,L,qe,Se,Ze,De,Y,ne,ge],Xe=_.apply(t,rt);return uo(a)&&xu(Xe,rt),Xe.placeholder=S,ef(Xe,a,u)}function no(a){var u=Xt[a];return function(_,S){if(_=ti(_),S=S==null?0:gn(lt(S),292),S&&eu(_)){var L=(yt(_)+"e").split("e"),U=u(L[0]+"e"+(+L[1]+S));return L=(yt(U)+"e").split("e"),+(L[0]+"e"+(+L[1]-S))}return u(_)}}var _1=er&&1/cs(new er([,-0]))[1]==fe?function(a){return new er(a)}:Po;function zu(a){return function(u){var _=_n(u);return _==vt?Ea(u):_==sn?Ep(u):yp(u,a(u))}}function Oi(a,u,_,S,L,U,q,Y){var ne=u&y;if(!ne&&typeof a!="function")throw new Zn(s);var ge=S?S.length:0;if(ge||(u&=~(E|V),S=L=t),q=q===t?q:$t(lt(q),0),Y=Y===t?Y:lt(Y),ge-=L?L.length:0,u&V){var _e=S,Se=L;S=L=t}var De=ne?t:ro(a),qe=[a,u,_,S,L,_e,Se,U,q,Y];if(De&&A1(qe,De),a=qe[0],u=qe[1],_=qe[2],S=qe[3],L=qe[4],Y=qe[9]=qe[9]===t?ne?0:a.length:$t(qe[9]-ge,0),!Y&&u&(N|A)&&(u&=~(N|A)),!u||u==k)var Ze=d1(a,u,_);else u==N||u==A?Ze=h1(a,u,Y):(u==E||u==(k|E))&&!L.length?Ze=g1(a,u,_,S):Ze=Ds.apply(t,qe);var rt=De?Su:xu;return ef(rt(Ze,qe),a,u)}function Gu(a,u,_,S){return a===t||ai(a,xl[_])&&!It.call(S,_)?u:a}function qu(a,u,_,S,L,U){return Wt(a)&&Wt(u)&&(U.set(u,a),Ls(a,u,t,qu,U),U.delete(u)),a}function p1(a){return zr(a)?t:a}function Ku(a,u,_,S,L,U){var q=_&b,Y=a.length,ne=u.length;if(Y!=ne&&!(q&&ne>Y))return!1;var ge=U.get(a),_e=U.get(u);if(ge&&_e)return ge==u&&_e==a;var Se=-1,De=!0,qe=_&v?new Ll:t;for(U.set(a,u),U.set(u,a);++Se<Y;){var Ze=a[Se],rt=u[Se];if(S)var Xe=q?S(rt,Ze,Se,u,a,U):S(Ze,rt,Se,a,u,U);if(Xe!==t){if(Xe)continue;De=!1;break}if(qe){if(!Na(u,function(ut,_t){if(!Tr(qe,_t)&&(Ze===ut||L(Ze,ut,_,S,U)))return qe.push(_t)})){De=!1;break}}else if(!(Ze===rt||L(Ze,rt,_,S,U))){De=!1;break}}return U.delete(a),U.delete(u),De}function m1(a,u,_,S,L,U,q){switch(_){case Jn:if(a.byteLength!=u.byteLength||a.byteOffset!=u.byteOffset)return!1;a=a.buffer,u=u.buffer;case Qt:return!(a.byteLength!=u.byteLength||!U(new ms(a),new ms(u)));case Ke:case Ue:case Ht:return ai(+a,+u);case Qe:return a.name==u.name&&a.message==u.message;case vn:case Tn:return a==u+"";case vt:var Y=Ea;case sn:var ne=S&b;if(Y||(Y=cs),a.size!=u.size&&!ne)return!1;var ge=q.get(a);if(ge)return ge==u;S|=v,q.set(a,u);var _e=Ku(Y(a),Y(u),S,L,U,q);return q.delete(a),_e;case Tt:if(Dr)return Dr.call(a)==Dr.call(u)}return!1}function b1(a,u,_,S,L,U){var q=_&b,Y=io(a),ne=Y.length,ge=io(u),_e=ge.length;if(ne!=_e&&!q)return!1;for(var Se=ne;Se--;){var De=Y[Se];if(!(q?De in u:It.call(u,De)))return!1}var qe=U.get(a),Ze=U.get(u);if(qe&&Ze)return qe==u&&Ze==a;var rt=!0;U.set(a,u),U.set(u,a);for(var Xe=q;++Se<ne;){De=Y[Se];var ut=a[De],_t=u[De];if(S)var Wn=q?S(_t,ut,De,u,a,U):S(ut,_t,De,a,u,U);if(!(Wn===t?ut===_t||L(ut,_t,_,S,U):Wn)){rt=!1;break}Xe||(Xe=De=="constructor")}if(rt&&!Xe){var Nn=a.constructor,zn=u.constructor;Nn!=zn&&"constructor"in a&&"constructor"in u&&!(typeof Nn=="function"&&Nn instanceof Nn&&typeof zn=="function"&&zn instanceof zn)&&(rt=!1)}return U.delete(a),U.delete(u),rt}function Mi(a){return co(Xu(a,t,af),a+"")}function io(a){return cu(a,nn,ao)}function lo(a){return cu(a,En,Ju)}var ro=Cs?function(a){return Cs.get(a)}:Po;function Fs(a){for(var u=a.name+"",_=tr[u],S=It.call(tr,u)?_.length:0;S--;){var L=_[S],U=L.func;if(U==null||U==a)return L.name}return u}function rr(a){var u=It.call(O,"placeholder")?O:a;return u.placeholder}function je(){var a=O.iteratee||Co;return a=a===Co?gu:a,arguments.length?a(arguments[0],arguments[1]):a}function Us(a,u){var _=a.__data__;return N1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function so(a){for(var u=nn(a),_=u.length;_--;){var S=u[_],L=a[S];u[_]=[S,L,Qu(L)]}return u}function El(a,u){var _=Lp(a,u);return hu(_)?_:t}function v1(a){var u=It.call(a,Il),_=a[Il];try{a[Il]=t;var S=!0}catch{}var L=_s.call(a);return S&&(u?a[Il]=_:delete a[Il]),L}var ao=Va?function(a){return a==null?[]:(a=Et(a),Zt(Va(a),function(u){return $o.call(a,u)}))}:No,Ju=Va?function(a){for(var u=[];a;)$i(u,ao(a)),a=bs(a);return u}:No,_n=yn;(Oa&&_n(new Oa(new ArrayBuffer(1)))!=Jn||Ar&&_n(new Ar)!=vt||Ma&&_n(Ma.resolve())!=en||er&&_n(new er)!=sn||Rr&&_n(new Rr)!=li)&&(_n=function(a){var u=yn(a),_=u==Yt?a.constructor:t,S=_?Dl(_):"";if(S)switch(S){case tm:return Jn;case nm:return vt;case im:return en;case lm:return sn;case rm:return li}return u});function w1(a,u,_){for(var S=-1,L=_.length;++S<L;){var U=_[S],q=U.size;switch(U.type){case"drop":a+=q;break;case"dropRight":u-=q;break;case"take":u=gn(u,a+q);break;case"takeRight":a=$t(a,u-q);break}}return{start:a,end:u}}function k1(a){var u=a.match(bl);return u?u[1].split(Ki):[]}function ju(a,u,_){u=il(u,a);for(var S=-1,L=u.length,U=!1;++S<L;){var q=bi(u[S]);if(!(U=a!=null&&_(a,q)))break;a=a[q]}return U||++S!=L?U:(L=a==null?0:a.length,!!L&&Ks(L)&&Fi(q,L)&&(nt(a)||Vl(a)))}function S1(a){var u=a.length,_=new a.constructor(u);return u&&typeof a[0]=="string"&&It.call(a,"index")&&(_.index=a.index,_.input=a.input),_}function Yu(a){return typeof a.constructor=="function"&&!Hr(a)?nr(bs(a)):{}}function C1(a,u,_){var S=a.constructor;switch(u){case Qt:return eo(a);case Ke:case Ue:return new S(+a);case Jn:return s1(a,_);case tn:case kn:case hi:case yi:case hn:case Pi:case Ni:case Ii:case Ti:return Au(a,_);case vt:return new S;case Ht:case Tn:return new S(a);case vn:return a1(a);case sn:return new S;case Tt:return o1(a)}}function y1(a,u){var _=u.length;if(!_)return a;var S=_-1;return u[S]=(_>1?"& ":"")+u[S],u=u.join(_>2?", ":" "),a.replace(Fn,`{
|
|
33
|
+
*/ls.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,m=4,b=1,v=2,k=1,y=2,P=4,N=8,A=16,E=32,V=64,D=128,F=256,M=512,W=30,K="...",Q=800,ce=16,Ce=1,G=2,J=3,fe=1/0,te=9007199254740991,x=17976931348623157e292,Le=0/0,ie=4294967295,Ee=ie-1,re=ie>>>1,Me=[["ary",D],["bind",k],["bindKey",y],["curry",N],["curryRight",A],["flip",M],["partial",E],["partialRight",V],["rearg",F]],$="[object Arguments]",j="[object Array]",pe="[object AsyncFunction]",Ke="[object Boolean]",Ue="[object Date]",ge="[object DOMException]",Qe="[object Error]",xe="[object Function]",jt="[object GeneratorFunction]",vt="[object Map]",Ht="[object Number]",bn="[object Null]",Yt="[object Object]",en="[object Promise]",In="[object Proxy]",vn="[object RegExp]",an="[object Set]",Tn="[object String]",Tt="[object Symbol]",dl="[object Undefined]",li="[object WeakMap]",wn="[object WeakSet]",Qt="[object ArrayBuffer]",Jn="[object DataView]",tn="[object Float32Array]",kn="[object Float64Array]",gi="[object Int8Array]",yi="[object Int16Array]",gn="[object Int32Array]",Pi="[object Uint8Array]",Ni="[object Uint8ClampedArray]",Ii="[object Uint16Array]",Ti="[object Uint32Array]",gl=/\b__p \+= '';/g,hl=/\b(__p \+=) '' \+/g,_l=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Gi=/&(?:amp|lt|gt|quot|#39);/g,Li=/[&<>"']/g,pl=RegExp(Gi.source),qi=RegExp(Li.source),hi=/<%-([\s\S]+?)%>/g,ml=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tt=/^\w*$/,gt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wt=/[\\^$.*+?()[\]{}|]/g,sn=RegExp(wt.source),Sn=/^\s+/,jn=/\s/,Fn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,bl=/\{\n\/\* \[wrapped with (.+)\] \*/,Ki=/,? & /,Bl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Hl=/[()=,{}\[\]\/\s]/,Wl=/\\(\\)?/g,mr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Cn=/\w*$/,vl=/^[-+]0x[0-9a-f]+$/i,wl=/^0b[01]+$/i,zl=/^\[object .+?Constructor\]$/,br=/^0o[0-7]+$/i,Ji=/^(?:0|[1-9]\d*)$/,kl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_i=/($^)/,Sl=/['\n\r\u2028\u2029\\]/g,Ai="\\ud800-\\udfff",Gl="\\u0300-\\u036f",vr="\\ufe20-\\ufe2f",ht="\\u20d0-\\u20ff",ji=Gl+vr+ht,Yi="\\u2700-\\u27bf",Cl="a-z\\xdf-\\xf6\\xf8-\\xff",X="\\xac\\xb1\\xd7\\xf7",St="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ct="\\u2000-\\u206f",Yn=" \\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",wr="A-Z\\xc0-\\xd6\\xd8-\\xde",xr="\\ufe0e\\ufe0f",Qi=X+St+Ct+Yn,kr="['’]",os="["+Ai+"]",ea="["+Qi+"]",ql="["+ji+"]",Kl="\\d+",us="["+Yi+"]",ta="["+Cl+"]",na="[^"+Ai+Qi+Kl+Yi+Cl+wr+"]",Sr="\\ud83c[\\udffb-\\udfff]",fs="(?:"+ql+"|"+Sr+")",Cr="[^"+Ai+"]",yr="(?:\\ud83c[\\udde6-\\uddff]){2}",Jl="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+wr+"]",ia="\\u200d",la="(?:"+ta+"|"+na+")",cs="(?:"+Zi+"|"+na+")",ra="(?:"+kr+"(?:d|ll|m|re|s|t|ve))?",aa="(?:"+kr+"(?:D|LL|M|RE|S|T|VE))?",sa=fs+"?",oa="["+xr+"]?",ds="(?:"+ia+"(?:"+[Cr,yr,Jl].join("|")+")"+oa+sa+")*",gs="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",hs="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ua=oa+sa+ds,_s="(?:"+[us,yr,Jl].join("|")+")"+ua,ps="(?:"+[Cr+ql+"?",ql,yr,Jl,os].join("|")+")",ms=RegExp(kr,"g"),bs=RegExp(ql,"g"),Pr=RegExp(Sr+"(?="+Sr+")|"+ps+ua,"g"),vs=RegExp([Zi+"?"+ta+"+"+ra+"(?="+[ea,Zi,"$"].join("|")+")",cs+"+"+aa+"(?="+[ea,Zi+la,"$"].join("|")+")",Zi+"?"+la+"+"+ra,Zi+"+"+aa,hs,gs,Kl,_s].join("|"),"g"),ws=RegExp("["+ia+Ai+ji+xr+"]"),ks=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,H=["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"],ue=-1,Ne={};Ne[tn]=Ne[kn]=Ne[gi]=Ne[yi]=Ne[gn]=Ne[Pi]=Ne[Ni]=Ne[Ii]=Ne[Ti]=!0,Ne[$]=Ne[j]=Ne[Qt]=Ne[Ke]=Ne[Jn]=Ne[Ue]=Ne[Qe]=Ne[xe]=Ne[vt]=Ne[Ht]=Ne[Yt]=Ne[vn]=Ne[an]=Ne[Tn]=Ne[li]=!1;var Ae={};Ae[$]=Ae[j]=Ae[Qt]=Ae[Jn]=Ae[Ke]=Ae[Ue]=Ae[tn]=Ae[kn]=Ae[gi]=Ae[yi]=Ae[gn]=Ae[vt]=Ae[Ht]=Ae[Yt]=Ae[vn]=Ae[an]=Ae[Tn]=Ae[Tt]=Ae[Pi]=Ae[Ni]=Ae[Ii]=Ae[Ti]=!0,Ae[Qe]=Ae[xe]=Ae[li]=!1;var He={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},ye={"&":"&","<":"<",">":">",'"':""","'":"'"},Be={"&":"&","<":"<",">":">",""":'"',"'":"'"},mt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ft=parseFloat,Nr=parseInt,Ri=typeof qr=="object"&&qr&&qr.Object===Object&&qr,Ir=typeof self=="object"&&self&&self.Object===Object&&self,Ut=Ri||Ir||Function("return this")(),yl=e&&!e.nodeType&&e,Ge=yl&&!0&&i&&!i.nodeType&&i,Pt=Ge&&Ge.exports===yl,Lt=Pt&&Ri.process,Nt=function(){try{var ee=Ge&&Ge.require&&Ge.require("util").types;return ee||Lt&&Lt.binding&&Lt.binding("util")}catch{}}(),Ln=Nt&&Nt.isArrayBuffer,Qn=Nt&&Nt.isDate,Xi=Nt&&Nt.isMap,jl=Nt&&Nt.isRegExp,Pl=Nt&&Nt.isSet,Ss=Nt&&Nt.isTypedArray;function on(ee,de,oe){switch(oe.length){case 0:return ee.call(de);case 1:return ee.call(de,oe[0]);case 2:return ee.call(de,oe[0],oe[1]);case 3:return ee.call(de,oe[0],oe[1],oe[2])}return ee.apply(de,oe)}function Cs(ee,de,oe,We){for(var et=-1,kt=ee==null?0:ee.length;++et<kt;){var Xt=ee[et];de(We,Xt,oe(Xt),ee)}return We}function un(ee,de){for(var oe=-1,We=ee==null?0:ee.length;++oe<We&&de(ee[oe],oe,ee)!==!1;);return ee}function Nl(ee,de){for(var oe=ee==null?0:ee.length;oe--&&de(ee[oe],oe,ee)!==!1;);return ee}function fn(ee,de){for(var oe=-1,We=ee==null?0:ee.length;++oe<We;)if(!de(ee[oe],oe,ee))return!1;return!0}function Zt(ee,de){for(var oe=-1,We=ee==null?0:ee.length,et=0,kt=[];++oe<We;){var Xt=ee[oe];de(Xt,oe,ee)&&(kt[et++]=Xt)}return kt}function Yl(ee,de){var oe=ee==null?0:ee.length;return!!oe&&Ql(ee,de,0)>-1}function ys(ee,de,oe){for(var We=-1,et=ee==null?0:ee.length;++We<et;)if(oe(de,ee[We]))return!0;return!1}function Bt(ee,de){for(var oe=-1,We=ee==null?0:ee.length,et=Array(We);++oe<We;)et[oe]=de(ee[oe],oe,ee);return et}function $i(ee,de){for(var oe=-1,We=de.length,et=ee.length;++oe<We;)ee[et+oe]=de[oe];return ee}function Ps(ee,de,oe,We){var et=-1,kt=ee==null?0:ee.length;for(We&&kt&&(oe=ee[++et]);++et<kt;)oe=de(oe,ee[et],et,ee);return oe}function wp(ee,de,oe,We){var et=ee==null?0:ee.length;for(We&&et&&(oe=ee[--et]);et--;)oe=de(oe,ee[et],et,ee);return oe}function Ns(ee,de){for(var oe=-1,We=ee==null?0:ee.length;++oe<We;)if(de(ee[oe],oe,ee))return!0;return!1}var kp=Is("length");function Sp(ee){return ee.split("")}function Cp(ee){return ee.match(Bl)||[]}function Ho(ee,de,oe){var We;return oe(ee,function(et,kt,Xt){if(de(et,kt,Xt))return We=kt,!1}),We}function fa(ee,de,oe,We){for(var et=ee.length,kt=oe+(We?1:-1);We?kt--:++kt<et;)if(de(ee[kt],kt,ee))return kt;return-1}function Ql(ee,de,oe){return de===de?Op(ee,de,oe):fa(ee,Wo,oe)}function yp(ee,de,oe,We){for(var et=oe-1,kt=ee.length;++et<kt;)if(We(ee[et],de))return et;return-1}function Wo(ee){return ee!==ee}function zo(ee,de){var oe=ee==null?0:ee.length;return oe?Ls(ee,de)/oe:Le}function Is(ee){return function(de){return de==null?t:de[ee]}}function Ts(ee){return function(de){return ee==null?t:ee[de]}}function Go(ee,de,oe,We,et){return et(ee,function(kt,Xt,Et){oe=We?(We=!1,kt):de(oe,kt,Xt,Et)}),oe}function Pp(ee,de){var oe=ee.length;for(ee.sort(de);oe--;)ee[oe]=ee[oe].value;return ee}function Ls(ee,de){for(var oe,We=-1,et=ee.length;++We<et;){var kt=de(ee[We]);kt!==t&&(oe=oe===t?kt:oe+kt)}return oe}function As(ee,de){for(var oe=-1,We=Array(ee);++oe<ee;)We[oe]=de(oe);return We}function Np(ee,de){return Bt(de,function(oe){return[oe,ee[oe]]})}function qo(ee){return ee&&ee.slice(0,Yo(ee)+1).replace(Sn,"")}function Un(ee){return function(de){return ee(de)}}function Rs(ee,de){return Bt(de,function(oe){return ee[oe]})}function Tr(ee,de){return ee.has(de)}function Ko(ee,de){for(var oe=-1,We=ee.length;++oe<We&&Ql(de,ee[oe],0)>-1;);return oe}function Jo(ee,de){for(var oe=ee.length;oe--&&Ql(de,ee[oe],0)>-1;);return oe}function Ip(ee,de){for(var oe=ee.length,We=0;oe--;)ee[oe]===de&&++We;return We}var Tp=Ts(He),Lp=Ts(ye);function Ap(ee){return"\\"+mt[ee]}function Rp(ee,de){return ee==null?t:ee[de]}function Zl(ee){return ws.test(ee)}function Ep(ee){return ks.test(ee)}function Dp(ee){for(var de,oe=[];!(de=ee.next()).done;)oe.push(de.value);return oe}function Es(ee){var de=-1,oe=Array(ee.size);return ee.forEach(function(We,et){oe[++de]=[et,We]}),oe}function jo(ee,de){return function(oe){return ee(de(oe))}}function xi(ee,de){for(var oe=-1,We=ee.length,et=0,kt=[];++oe<We;){var Xt=ee[oe];(Xt===de||Xt===d)&&(ee[oe]=d,kt[et++]=oe)}return kt}function ca(ee){var de=-1,oe=Array(ee.size);return ee.forEach(function(We){oe[++de]=We}),oe}function Vp(ee){var de=-1,oe=Array(ee.size);return ee.forEach(function(We){oe[++de]=[We,We]}),oe}function Op(ee,de,oe){for(var We=oe-1,et=ee.length;++We<et;)if(ee[We]===de)return We;return-1}function Mp(ee,de,oe){for(var We=oe+1;We--;)if(ee[We]===de)return We;return We}function Xl(ee){return Zl(ee)?Up(ee):kp(ee)}function ri(ee){return Zl(ee)?Bp(ee):Sp(ee)}function Yo(ee){for(var de=ee.length;de--&&jn.test(ee.charAt(de)););return de}var Fp=Ts(Be);function Up(ee){for(var de=Pr.lastIndex=0;Pr.test(ee);)++de;return de}function Bp(ee){return ee.match(Pr)||[]}function Hp(ee){return ee.match(vs)||[]}var Wp=function ee(de){de=de==null?Ut:$l.defaults(Ut.Object(),de,$l.pick(Ut,H));var oe=de.Array,We=de.Date,et=de.Error,kt=de.Function,Xt=de.Math,Et=de.Object,Ds=de.RegExp,zp=de.String,Zn=de.TypeError,da=oe.prototype,Gp=kt.prototype,xl=Et.prototype,ga=de["__core-js_shared__"],ha=Gp.toString,It=xl.hasOwnProperty,qp=0,Qo=function(){var s=/[^.]+$/.exec(ga&&ga.keys&&ga.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),_a=xl.toString,Kp=ha.call(Et),Jp=Ut._,jp=Ds("^"+ha.call(It).replace(wt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pa=Pt?de.Buffer:t,el=de.Symbol,ma=de.Uint8Array,Zo=pa?pa.allocUnsafe:t,ba=jo(Et.getPrototypeOf,Et),Xo=Et.create,$o=xl.propertyIsEnumerable,va=da.splice,xo=el?el.isConcatSpreadable:t,Lr=el?el.iterator:t,Il=el?el.toStringTag:t,wa=function(){try{var s=El(Et,"defineProperty");return s({},"",{}),s}catch{}}(),Yp=de.clearTimeout!==Ut.clearTimeout&&de.clearTimeout,Qp=We&&We.now!==Ut.Date.now&&We.now,Zp=de.setTimeout!==Ut.setTimeout&&de.setTimeout,ka=Xt.ceil,Sa=Xt.floor,Vs=Et.getOwnPropertySymbols,Xp=pa?pa.isBuffer:t,eu=de.isFinite,$p=da.join,xp=jo(Et.keys,Et),$t=Xt.max,hn=Xt.min,em=We.now,tm=de.parseInt,tu=Xt.random,nm=da.reverse,Os=El(de,"DataView"),Ar=El(de,"Map"),Ms=El(de,"Promise"),er=El(de,"Set"),Rr=El(de,"WeakMap"),Er=El(Et,"create"),Ca=Rr&&new Rr,tr={},im=Dl(Os),lm=Dl(Ar),rm=Dl(Ms),am=Dl(er),sm=Dl(Rr),ya=el?el.prototype:t,Dr=ya?ya.valueOf:t,nu=ya?ya.toString:t;function O(s){if(Gt(s)&&!nt(s)&&!(s instanceof dt)){if(s instanceof Xn)return s;if(It.call(s,"__wrapped__"))return lf(s)}return new Xn(s)}var nr=function(){function s(){}return function(u){if(!Wt(u))return{};if(Xo)return Xo(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function Pa(){}function Xn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}O.templateSettings={escape:hi,evaluate:ml,interpolate:Z,variable:"",imports:{_:O}},O.prototype=Pa.prototype,O.prototype.constructor=O,Xn.prototype=nr(Pa.prototype),Xn.prototype.constructor=Xn;function dt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ie,this.__views__=[]}function om(){var s=new dt(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 um(){if(this.__filtered__){var s=new dt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function fm(){var s=this.__wrapped__.value(),u=this.__dir__,_=nt(s),S=u<0,L=_?s.length:0,U=S1(0,L,this.__views__),q=U.start,Y=U.end,ne=Y-q,he=S?Y:q-1,_e=this.__iteratees__,Se=_e.length,De=0,qe=hn(ne,this.__takeCount__);if(!_||!S&&L==ne&&qe==ne)return Nu(s,this.__actions__);var Ze=[];e:for(;ne--&&De<qe;){he+=u;for(var rt=-1,Xe=s[he];++rt<Se;){var ut=_e[rt],_t=ut.iteratee,Wn=ut.type,Nn=_t(Xe);if(Wn==G)Xe=Nn;else if(!Nn){if(Wn==Ce)continue e;break e}}Ze[De++]=Xe}return Ze}dt.prototype=nr(Pa.prototype),dt.prototype.constructor=dt;function Tl(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function cm(){this.__data__=Er?Er(null):{},this.size=0}function dm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function gm(s){var u=this.__data__;if(Er){var _=u[s];return _===c?t:_}return It.call(u,s)?u[s]:t}function hm(s){var u=this.__data__;return Er?u[s]!==t:It.call(u,s)}function _m(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Er&&u===t?c:u,this}Tl.prototype.clear=cm,Tl.prototype.delete=dm,Tl.prototype.get=gm,Tl.prototype.has=hm,Tl.prototype.set=_m;function Ei(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function pm(){this.__data__=[],this.size=0}function mm(s){var u=this.__data__,_=Na(u,s);if(_<0)return!1;var S=u.length-1;return _==S?u.pop():va.call(u,_,1),--this.size,!0}function bm(s){var u=this.__data__,_=Na(u,s);return _<0?t:u[_][1]}function vm(s){return Na(this.__data__,s)>-1}function wm(s,u){var _=this.__data__,S=Na(_,s);return S<0?(++this.size,_.push([s,u])):_[S][1]=u,this}Ei.prototype.clear=pm,Ei.prototype.delete=mm,Ei.prototype.get=bm,Ei.prototype.has=vm,Ei.prototype.set=wm;function Di(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var S=s[u];this.set(S[0],S[1])}}function km(){this.size=0,this.__data__={hash:new Tl,map:new(Ar||Ei),string:new Tl}}function Sm(s){var u=Ua(this,s).delete(s);return this.size-=u?1:0,u}function Cm(s){return Ua(this,s).get(s)}function ym(s){return Ua(this,s).has(s)}function Pm(s,u){var _=Ua(this,s),S=_.size;return _.set(s,u),this.size+=_.size==S?0:1,this}Di.prototype.clear=km,Di.prototype.delete=Sm,Di.prototype.get=Cm,Di.prototype.has=ym,Di.prototype.set=Pm;function Ll(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Di;++u<_;)this.add(s[u])}function Nm(s){return this.__data__.set(s,c),this}function Im(s){return this.__data__.has(s)}Ll.prototype.add=Ll.prototype.push=Nm,Ll.prototype.has=Im;function ai(s){var u=this.__data__=new Ei(s);this.size=u.size}function Tm(){this.__data__=new Ei,this.size=0}function Lm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Am(s){return this.__data__.get(s)}function Rm(s){return this.__data__.has(s)}function Em(s,u){var _=this.__data__;if(_ instanceof Ei){var S=_.__data__;if(!Ar||S.length<l-1)return S.push([s,u]),this.size=++_.size,this;_=this.__data__=new Di(S)}return _.set(s,u),this.size=_.size,this}ai.prototype.clear=Tm,ai.prototype.delete=Lm,ai.prototype.get=Am,ai.prototype.has=Rm,ai.prototype.set=Em;function iu(s,u){var _=nt(s),S=!_&&Vl(s),L=!_&&!S&&rl(s),U=!_&&!S&&!L&&ar(s),q=_||S||L||U,Y=q?As(s.length,zp):[],ne=Y.length;for(var he in s)(u||It.call(s,he))&&!(q&&(he=="length"||L&&(he=="offset"||he=="parent")||U&&(he=="buffer"||he=="byteLength"||he=="byteOffset")||Fi(he,ne)))&&Y.push(he);return Y}function lu(s){var u=s.length;return u?s[js(0,u-1)]:t}function Dm(s,u){return Ba(An(s),Al(u,0,s.length))}function Vm(s){return Ba(An(s))}function Fs(s,u,_){(_!==t&&!si(s[u],_)||_===t&&!(u in s))&&Vi(s,u,_)}function Vr(s,u,_){var S=s[u];(!(It.call(s,u)&&si(S,_))||_===t&&!(u in s))&&Vi(s,u,_)}function Na(s,u){for(var _=s.length;_--;)if(si(s[_][0],u))return _;return-1}function Om(s,u,_,S){return tl(s,function(L,U,q){u(S,L,_(L),q)}),S}function ru(s,u){return s&&mi(u,nn(u),s)}function Mm(s,u){return s&&mi(u,En(u),s)}function Vi(s,u,_){u=="__proto__"&&wa?wa(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function Us(s,u){for(var _=-1,S=u.length,L=oe(S),U=s==null;++_<S;)L[_]=U?t:vo(s,u[_]);return L}function Al(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function $n(s,u,_,S,L,U){var q,Y=u&h,ne=u&p,he=u&m;if(_&&(q=L?_(s,S,L,U):_(s)),q!==t)return q;if(!Wt(s))return s;var _e=nt(s);if(_e){if(q=y1(s),!Y)return An(s,q)}else{var Se=_n(s),De=Se==xe||Se==jt;if(rl(s))return Lu(s,Y);if(Se==Yt||Se==$||De&&!L){if(q=ne||De?{}:Yu(s),!Y)return ne?g1(s,Mm(q,s)):d1(s,ru(q,s))}else{if(!Ae[Se])return L?s:{};q=P1(s,Se,Y)}}U||(U=new ai);var qe=U.get(s);if(qe)return qe;U.set(s,q),yf(s)?s.forEach(function(Xe){q.add($n(Xe,u,_,Xe,s,U))}):Sf(s)&&s.forEach(function(Xe,ut){q.set(ut,$n(Xe,u,_,ut,s,U))});var Ze=he?ne?lo:io:ne?En:nn,rt=_e?t:Ze(s);return un(rt||s,function(Xe,ut){rt&&(ut=Xe,Xe=s[ut]),Vr(q,ut,$n(Xe,u,_,ut,s,U))}),q}function Fm(s){var u=nn(s);return function(_){return au(_,s,u)}}function au(s,u,_){var S=_.length;if(s==null)return!S;for(s=Et(s);S--;){var L=_[S],U=u[L],q=s[L];if(q===t&&!(L in s)||!U(q))return!1}return!0}function su(s,u,_){if(typeof s!="function")throw new Zn(a);return Wr(function(){s.apply(t,_)},u)}function Or(s,u,_,S){var L=-1,U=Yl,q=!0,Y=s.length,ne=[],he=u.length;if(!Y)return ne;_&&(u=Bt(u,Un(_))),S?(U=ys,q=!1):u.length>=l&&(U=Tr,q=!1,u=new Ll(u));e:for(;++L<Y;){var _e=s[L],Se=_==null?_e:_(_e);if(_e=S||_e!==0?_e:0,q&&Se===Se){for(var De=he;De--;)if(u[De]===Se)continue e;ne.push(_e)}else U(u,Se,S)||ne.push(_e)}return ne}var tl=Vu(pi),ou=Vu(Hs,!0);function Um(s,u){var _=!0;return tl(s,function(S,L,U){return _=!!u(S,L,U),_}),_}function Ia(s,u,_){for(var S=-1,L=s.length;++S<L;){var U=s[S],q=u(U);if(q!=null&&(Y===t?q===q&&!Hn(q):_(q,Y)))var Y=q,ne=U}return ne}function Bm(s,u,_,S){var L=s.length;for(_=lt(_),_<0&&(_=-_>L?0:L+_),S=S===t||S>L?L:lt(S),S<0&&(S+=L),S=_>S?0:Nf(S);_<S;)s[_++]=u;return s}function uu(s,u){var _=[];return tl(s,function(S,L,U){u(S,L,U)&&_.push(S)}),_}function cn(s,u,_,S,L){var U=-1,q=s.length;for(_||(_=I1),L||(L=[]);++U<q;){var Y=s[U];u>0&&_(Y)?u>1?cn(Y,u-1,_,S,L):$i(L,Y):S||(L[L.length]=Y)}return L}var Bs=Ou(),fu=Ou(!0);function pi(s,u){return s&&Bs(s,u,nn)}function Hs(s,u){return s&&fu(s,u,nn)}function Ta(s,u){return Zt(u,function(_){return Ui(s[_])})}function Rl(s,u){u=il(u,s);for(var _=0,S=u.length;s!=null&&_<S;)s=s[bi(u[_++])];return _&&_==S?s:t}function cu(s,u,_){var S=u(s);return nt(s)?S:$i(S,_(s))}function yn(s){return s==null?s===t?dl:bn:Il&&Il in Et(s)?k1(s):V1(s)}function Ws(s,u){return s>u}function Hm(s,u){return s!=null&&It.call(s,u)}function Wm(s,u){return s!=null&&u in Et(s)}function zm(s,u,_){return s>=hn(u,_)&&s<$t(u,_)}function zs(s,u,_){for(var S=_?ys:Yl,L=s[0].length,U=s.length,q=U,Y=oe(U),ne=1/0,he=[];q--;){var _e=s[q];q&&u&&(_e=Bt(_e,Un(u))),ne=hn(_e.length,ne),Y[q]=!_&&(u||L>=120&&_e.length>=120)?new Ll(q&&_e):t}_e=s[0];var Se=-1,De=Y[0];e:for(;++Se<L&&he.length<ne;){var qe=_e[Se],Ze=u?u(qe):qe;if(qe=_||qe!==0?qe:0,!(De?Tr(De,Ze):S(he,Ze,_))){for(q=U;--q;){var rt=Y[q];if(!(rt?Tr(rt,Ze):S(s[q],Ze,_)))continue e}De&&De.push(Ze),he.push(qe)}}return he}function Gm(s,u,_,S){return pi(s,function(L,U,q){u(S,_(L),U,q)}),S}function Mr(s,u,_){u=il(u,s),s=$u(s,u);var S=s==null?s:s[bi(ei(u))];return S==null?t:on(S,s,_)}function du(s){return Gt(s)&&yn(s)==$}function qm(s){return Gt(s)&&yn(s)==Qt}function Km(s){return Gt(s)&&yn(s)==Ue}function Fr(s,u,_,S,L){return s===u?!0:s==null||u==null||!Gt(s)&&!Gt(u)?s!==s&&u!==u:Jm(s,u,_,S,Fr,L)}function Jm(s,u,_,S,L,U){var q=nt(s),Y=nt(u),ne=q?j:_n(s),he=Y?j:_n(u);ne=ne==$?Yt:ne,he=he==$?Yt:he;var _e=ne==Yt,Se=he==Yt,De=ne==he;if(De&&rl(s)){if(!rl(u))return!1;q=!0,_e=!1}if(De&&!_e)return U||(U=new ai),q||ar(s)?Ku(s,u,_,S,L,U):v1(s,u,ne,_,S,L,U);if(!(_&b)){var qe=_e&&It.call(s,"__wrapped__"),Ze=Se&&It.call(u,"__wrapped__");if(qe||Ze){var rt=qe?s.value():s,Xe=Ze?u.value():u;return U||(U=new ai),L(rt,Xe,_,S,U)}}return De?(U||(U=new ai),w1(s,u,_,S,L,U)):!1}function jm(s){return Gt(s)&&_n(s)==vt}function Gs(s,u,_,S){var L=_.length,U=L,q=!S;if(s==null)return!U;for(s=Et(s);L--;){var Y=_[L];if(q&&Y[2]?Y[1]!==s[Y[0]]:!(Y[0]in s))return!1}for(;++L<U;){Y=_[L];var ne=Y[0],he=s[ne],_e=Y[1];if(q&&Y[2]){if(he===t&&!(ne in s))return!1}else{var Se=new ai;if(S)var De=S(he,_e,ne,s,u,Se);if(!(De===t?Fr(_e,he,b|v,S,Se):De))return!1}}return!0}function gu(s){if(!Wt(s)||L1(s))return!1;var u=Ui(s)?jp:zl;return u.test(Dl(s))}function Ym(s){return Gt(s)&&yn(s)==vn}function Qm(s){return Gt(s)&&_n(s)==an}function Zm(s){return Gt(s)&&Ka(s.length)&&!!Ne[yn(s)]}function hu(s){return typeof s=="function"?s:s==null?Dn:typeof s=="object"?nt(s)?mu(s[0],s[1]):pu(s):Ff(s)}function qs(s){if(!Hr(s))return xp(s);var u=[];for(var _ in Et(s))It.call(s,_)&&_!="constructor"&&u.push(_);return u}function Xm(s){if(!Wt(s))return D1(s);var u=Hr(s),_=[];for(var S in s)S=="constructor"&&(u||!It.call(s,S))||_.push(S);return _}function Ks(s,u){return s<u}function _u(s,u){var _=-1,S=Rn(s)?oe(s.length):[];return tl(s,function(L,U,q){S[++_]=u(L,U,q)}),S}function pu(s){var u=ao(s);return u.length==1&&u[0][2]?Zu(u[0][0],u[0][1]):function(_){return _===s||Gs(_,s,u)}}function mu(s,u){return oo(s)&&Qu(u)?Zu(bi(s),u):function(_){var S=vo(_,s);return S===t&&S===u?wo(_,s):Fr(u,S,b|v)}}function La(s,u,_,S,L){s!==u&&Bs(u,function(U,q){if(L||(L=new ai),Wt(U))$m(s,u,q,_,La,S,L);else{var Y=S?S(fo(s,q),U,q+"",s,u,L):t;Y===t&&(Y=U),Fs(s,q,Y)}},En)}function $m(s,u,_,S,L,U,q){var Y=fo(s,_),ne=fo(u,_),he=q.get(ne);if(he){Fs(s,_,he);return}var _e=U?U(Y,ne,_+"",s,u,q):t,Se=_e===t;if(Se){var De=nt(ne),qe=!De&&rl(ne),Ze=!De&&!qe&&ar(ne);_e=ne,De||qe||Ze?nt(Y)?_e=Y:qt(Y)?_e=An(Y):qe?(Se=!1,_e=Lu(ne,!0)):Ze?(Se=!1,_e=Au(ne,!0)):_e=[]:zr(ne)||Vl(ne)?(_e=Y,Vl(Y)?_e=If(Y):(!Wt(Y)||Ui(Y))&&(_e=Yu(ne))):Se=!1}Se&&(q.set(ne,_e),L(_e,ne,S,U,q),q.delete(ne)),Fs(s,_,_e)}function bu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Fi(u,_)?s[u]:t}function vu(s,u,_){u.length?u=Bt(u,function(U){return nt(U)?function(q){return Rl(q,U.length===1?U[0]:U)}:U}):u=[Dn];var S=-1;u=Bt(u,Un(je()));var L=_u(s,function(U,q,Y){var ne=Bt(u,function(he){return he(U)});return{criteria:ne,index:++S,value:U}});return Pp(L,function(U,q){return c1(U,q,_)})}function xm(s,u){return wu(s,u,function(_,S){return wo(s,S)})}function wu(s,u,_){for(var S=-1,L=u.length,U={};++S<L;){var q=u[S],Y=Rl(s,q);_(Y,q)&&Ur(U,il(q,s),Y)}return U}function e1(s){return function(u){return Rl(u,s)}}function Js(s,u,_,S){var L=S?yp:Ql,U=-1,q=u.length,Y=s;for(s===u&&(u=An(u)),_&&(Y=Bt(s,Un(_)));++U<q;)for(var ne=0,he=u[U],_e=_?_(he):he;(ne=L(Y,_e,ne,S))>-1;)Y!==s&&va.call(Y,ne,1),va.call(s,ne,1);return s}function ku(s,u){for(var _=s?u.length:0,S=_-1;_--;){var L=u[_];if(_==S||L!==U){var U=L;Fi(L)?va.call(s,L,1):Zs(s,L)}}return s}function js(s,u){return s+Sa(tu()*(u-s+1))}function t1(s,u,_,S){for(var L=-1,U=$t(ka((u-s)/(_||1)),0),q=oe(U);U--;)q[S?U:++L]=s,s+=_;return q}function Ys(s,u){var _="";if(!s||u<1||u>te)return _;do u%2&&(_+=s),u=Sa(u/2),u&&(s+=s);while(u);return _}function at(s,u){return co(Xu(s,u,Dn),s+"")}function n1(s){return lu(sr(s))}function i1(s,u){var _=sr(s);return Ba(_,Al(u,0,_.length))}function Ur(s,u,_,S){if(!Wt(s))return s;u=il(u,s);for(var L=-1,U=u.length,q=U-1,Y=s;Y!=null&&++L<U;){var ne=bi(u[L]),he=_;if(ne==="__proto__"||ne==="constructor"||ne==="prototype")return s;if(L!=q){var _e=Y[ne];he=S?S(_e,ne,Y):t,he===t&&(he=Wt(_e)?_e:Fi(u[L+1])?[]:{})}Vr(Y,ne,he),Y=Y[ne]}return s}var Su=Ca?function(s,u){return Ca.set(s,u),s}:Dn,l1=wa?function(s,u){return wa(s,"toString",{configurable:!0,enumerable:!1,value:So(u),writable:!0})}:Dn;function r1(s){return Ba(sr(s))}function xn(s,u,_){var S=-1,L=s.length;u<0&&(u=-u>L?0:L+u),_=_>L?L:_,_<0&&(_+=L),L=u>_?0:_-u>>>0,u>>>=0;for(var U=oe(L);++S<L;)U[S]=s[S+u];return U}function a1(s,u){var _;return tl(s,function(S,L,U){return _=u(S,L,U),!_}),!!_}function Aa(s,u,_){var S=0,L=s==null?S:s.length;if(typeof u=="number"&&u===u&&L<=re){for(;S<L;){var U=S+L>>>1,q=s[U];q!==null&&!Hn(q)&&(_?q<=u:q<u)?S=U+1:L=U}return L}return Qs(s,u,Dn,_)}function Qs(s,u,_,S){var L=0,U=s==null?0:s.length;if(U===0)return 0;u=_(u);for(var q=u!==u,Y=u===null,ne=Hn(u),he=u===t;L<U;){var _e=Sa((L+U)/2),Se=_(s[_e]),De=Se!==t,qe=Se===null,Ze=Se===Se,rt=Hn(Se);if(q)var Xe=S||Ze;else he?Xe=Ze&&(S||De):Y?Xe=Ze&&De&&(S||!qe):ne?Xe=Ze&&De&&!qe&&(S||!rt):qe||rt?Xe=!1:Xe=S?Se<=u:Se<u;Xe?L=_e+1:U=_e}return hn(U,Ee)}function Cu(s,u){for(var _=-1,S=s.length,L=0,U=[];++_<S;){var q=s[_],Y=u?u(q):q;if(!_||!si(Y,ne)){var ne=Y;U[L++]=q===0?0:q}}return U}function yu(s){return typeof s=="number"?s:Hn(s)?Le:+s}function Bn(s){if(typeof s=="string")return s;if(nt(s))return Bt(s,Bn)+"";if(Hn(s))return nu?nu.call(s):"";var u=s+"";return u=="0"&&1/s==-fe?"-0":u}function nl(s,u,_){var S=-1,L=Yl,U=s.length,q=!0,Y=[],ne=Y;if(_)q=!1,L=ys;else if(U>=l){var he=u?null:m1(s);if(he)return ca(he);q=!1,L=Tr,ne=new Ll}else ne=u?[]:Y;e:for(;++S<U;){var _e=s[S],Se=u?u(_e):_e;if(_e=_||_e!==0?_e:0,q&&Se===Se){for(var De=ne.length;De--;)if(ne[De]===Se)continue e;u&&ne.push(Se),Y.push(_e)}else L(ne,Se,_)||(ne!==Y&&ne.push(Se),Y.push(_e))}return Y}function Zs(s,u){return u=il(u,s),s=$u(s,u),s==null||delete s[bi(ei(u))]}function Pu(s,u,_,S){return Ur(s,u,_(Rl(s,u)),S)}function Ra(s,u,_,S){for(var L=s.length,U=S?L:-1;(S?U--:++U<L)&&u(s[U],U,s););return _?xn(s,S?0:U,S?U+1:L):xn(s,S?U+1:0,S?L:U)}function Nu(s,u){var _=s;return _ instanceof dt&&(_=_.value()),Ps(u,function(S,L){return L.func.apply(L.thisArg,$i([S],L.args))},_)}function Xs(s,u,_){var S=s.length;if(S<2)return S?nl(s[0]):[];for(var L=-1,U=oe(S);++L<S;)for(var q=s[L],Y=-1;++Y<S;)Y!=L&&(U[L]=Or(U[L]||q,s[Y],u,_));return nl(cn(U,1),u,_)}function Iu(s,u,_){for(var S=-1,L=s.length,U=u.length,q={};++S<L;){var Y=S<U?u[S]:t;_(q,s[S],Y)}return q}function $s(s){return qt(s)?s:[]}function xs(s){return typeof s=="function"?s:Dn}function il(s,u){return nt(s)?s:oo(s,u)?[s]:nf(yt(s))}var s1=at;function ll(s,u,_){var S=s.length;return _=_===t?S:_,!u&&_>=S?s:xn(s,u,_)}var Tu=Yp||function(s){return Ut.clearTimeout(s)};function Lu(s,u){if(u)return s.slice();var _=s.length,S=Zo?Zo(_):new s.constructor(_);return s.copy(S),S}function eo(s){var u=new s.constructor(s.byteLength);return new ma(u).set(new ma(s)),u}function o1(s,u){var _=u?eo(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function u1(s){var u=new s.constructor(s.source,Cn.exec(s));return u.lastIndex=s.lastIndex,u}function f1(s){return Dr?Et(Dr.call(s)):{}}function Au(s,u){var _=u?eo(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Ru(s,u){if(s!==u){var _=s!==t,S=s===null,L=s===s,U=Hn(s),q=u!==t,Y=u===null,ne=u===u,he=Hn(u);if(!Y&&!he&&!U&&s>u||U&&q&&ne&&!Y&&!he||S&&q&&ne||!_&&ne||!L)return 1;if(!S&&!U&&!he&&s<u||he&&_&&L&&!S&&!U||Y&&_&&L||!q&&L||!ne)return-1}return 0}function c1(s,u,_){for(var S=-1,L=s.criteria,U=u.criteria,q=L.length,Y=_.length;++S<q;){var ne=Ru(L[S],U[S]);if(ne){if(S>=Y)return ne;var he=_[S];return ne*(he=="desc"?-1:1)}}return s.index-u.index}function Eu(s,u,_,S){for(var L=-1,U=s.length,q=_.length,Y=-1,ne=u.length,he=$t(U-q,0),_e=oe(ne+he),Se=!S;++Y<ne;)_e[Y]=u[Y];for(;++L<q;)(Se||L<U)&&(_e[_[L]]=s[L]);for(;he--;)_e[Y++]=s[L++];return _e}function Du(s,u,_,S){for(var L=-1,U=s.length,q=-1,Y=_.length,ne=-1,he=u.length,_e=$t(U-Y,0),Se=oe(_e+he),De=!S;++L<_e;)Se[L]=s[L];for(var qe=L;++ne<he;)Se[qe+ne]=u[ne];for(;++q<Y;)(De||L<U)&&(Se[qe+_[q]]=s[L++]);return Se}function An(s,u){var _=-1,S=s.length;for(u||(u=oe(S));++_<S;)u[_]=s[_];return u}function mi(s,u,_,S){var L=!_;_||(_={});for(var U=-1,q=u.length;++U<q;){var Y=u[U],ne=S?S(_[Y],s[Y],Y,_,s):t;ne===t&&(ne=s[Y]),L?Vi(_,Y,ne):Vr(_,Y,ne)}return _}function d1(s,u){return mi(s,so(s),u)}function g1(s,u){return mi(s,Ju(s),u)}function Ea(s,u){return function(_,S){var L=nt(_)?Cs:Om,U=u?u():{};return L(_,s,je(S,2),U)}}function ir(s){return at(function(u,_){var S=-1,L=_.length,U=L>1?_[L-1]:t,q=L>2?_[2]:t;for(U=s.length>3&&typeof U=="function"?(L--,U):t,q&&Pn(_[0],_[1],q)&&(U=L<3?t:U,L=1),u=Et(u);++S<L;){var Y=_[S];Y&&s(u,Y,S,U)}return u})}function Vu(s,u){return function(_,S){if(_==null)return _;if(!Rn(_))return s(_,S);for(var L=_.length,U=u?L:-1,q=Et(_);(u?U--:++U<L)&&S(q[U],U,q)!==!1;);return _}}function Ou(s){return function(u,_,S){for(var L=-1,U=Et(u),q=S(u),Y=q.length;Y--;){var ne=q[s?Y:++L];if(_(U[ne],ne,U)===!1)break}return u}}function h1(s,u,_){var S=u&k,L=Br(s);function U(){var q=this&&this!==Ut&&this instanceof U?L:s;return q.apply(S?_:this,arguments)}return U}function Mu(s){return function(u){u=yt(u);var _=Zl(u)?ri(u):t,S=_?_[0]:u.charAt(0),L=_?ll(_,1).join(""):u.slice(1);return S[s]()+L}}function lr(s){return function(u){return Ps(Of(Vf(u).replace(ms,"")),s,"")}}function Br(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 _=nr(s.prototype),S=s.apply(_,u);return Wt(S)?S:_}}function _1(s,u,_){var S=Br(s);function L(){for(var U=arguments.length,q=oe(U),Y=U,ne=rr(L);Y--;)q[Y]=arguments[Y];var he=U<3&&q[0]!==ne&&q[U-1]!==ne?[]:xi(q,ne);if(U-=he.length,U<_)return Wu(s,u,Da,L.placeholder,t,q,he,t,t,_-U);var _e=this&&this!==Ut&&this instanceof L?S:s;return on(_e,this,q)}return L}function Fu(s){return function(u,_,S){var L=Et(u);if(!Rn(u)){var U=je(_,3);u=nn(u),_=function(Y){return U(L[Y],Y,L)}}var q=s(u,_,S);return q>-1?L[U?u[q]:q]:t}}function Uu(s){return Mi(function(u){var _=u.length,S=_,L=Xn.prototype.thru;for(s&&u.reverse();S--;){var U=u[S];if(typeof U!="function")throw new Zn(a);if(L&&!q&&Fa(U)=="wrapper")var q=new Xn([],!0)}for(S=q?S:_;++S<_;){U=u[S];var Y=Fa(U),ne=Y=="wrapper"?ro(U):t;ne&&uo(ne[0])&&ne[1]==(D|N|E|F)&&!ne[4].length&&ne[9]==1?q=q[Fa(ne[0])].apply(q,ne[3]):q=U.length==1&&uo(U)?q[Y]():q.thru(U)}return function(){var he=arguments,_e=he[0];if(q&&he.length==1&&nt(_e))return q.plant(_e).value();for(var Se=0,De=_?u[Se].apply(this,he):_e;++Se<_;)De=u[Se].call(this,De);return De}})}function Da(s,u,_,S,L,U,q,Y,ne,he){var _e=u&D,Se=u&k,De=u&y,qe=u&(N|A),Ze=u&M,rt=De?t:Br(s);function Xe(){for(var ut=arguments.length,_t=oe(ut),Wn=ut;Wn--;)_t[Wn]=arguments[Wn];if(qe)var Nn=rr(Xe),zn=Ip(_t,Nn);if(S&&(_t=Eu(_t,S,L,qe)),U&&(_t=Du(_t,U,q,qe)),ut-=zn,qe&&ut<he){var Kt=xi(_t,Nn);return Wu(s,u,Da,Xe.placeholder,_,_t,Kt,Y,ne,he-ut)}var oi=Se?_:this,Hi=De?oi[s]:s;return ut=_t.length,Y?_t=O1(_t,Y):Ze&&ut>1&&_t.reverse(),_e&&ne<ut&&(_t.length=ne),this&&this!==Ut&&this instanceof Xe&&(Hi=rt||Br(Hi)),Hi.apply(oi,_t)}return Xe}function Bu(s,u){return function(_,S){return Gm(_,s,u(S),{})}}function Va(s,u){return function(_,S){var L;if(_===t&&S===t)return u;if(_!==t&&(L=_),S!==t){if(L===t)return S;typeof _=="string"||typeof S=="string"?(_=Bn(_),S=Bn(S)):(_=yu(_),S=yu(S)),L=s(_,S)}return L}}function to(s){return Mi(function(u){return u=Bt(u,Un(je())),at(function(_){var S=this;return s(u,function(L){return on(L,S,_)})})})}function Oa(s,u){u=u===t?" ":Bn(u);var _=u.length;if(_<2)return _?Ys(u,s):u;var S=Ys(u,ka(s/Xl(u)));return Zl(u)?ll(ri(S),0,s).join(""):S.slice(0,s)}function p1(s,u,_,S){var L=u&k,U=Br(s);function q(){for(var Y=-1,ne=arguments.length,he=-1,_e=S.length,Se=oe(_e+ne),De=this&&this!==Ut&&this instanceof q?U:s;++he<_e;)Se[he]=S[he];for(;ne--;)Se[he++]=arguments[++Y];return on(De,L?_:this,Se)}return q}function Hu(s){return function(u,_,S){return S&&typeof S!="number"&&Pn(u,_,S)&&(_=S=t),u=Bi(u),_===t?(_=u,u=0):_=Bi(_),S=S===t?u<_?1:-1:Bi(S),t1(u,_,S,s)}}function Ma(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=ti(u),_=ti(_)),s(u,_)}}function Wu(s,u,_,S,L,U,q,Y,ne,he){var _e=u&N,Se=_e?q:t,De=_e?t:q,qe=_e?U:t,Ze=_e?t:U;u|=_e?E:V,u&=~(_e?V:E),u&P||(u&=~(k|y));var rt=[s,u,L,qe,Se,Ze,De,Y,ne,he],Xe=_.apply(t,rt);return uo(s)&&xu(Xe,rt),Xe.placeholder=S,ef(Xe,s,u)}function no(s){var u=Xt[s];return function(_,S){if(_=ti(_),S=S==null?0:hn(lt(S),292),S&&eu(_)){var L=(yt(_)+"e").split("e"),U=u(L[0]+"e"+(+L[1]+S));return L=(yt(U)+"e").split("e"),+(L[0]+"e"+(+L[1]-S))}return u(_)}}var m1=er&&1/ca(new er([,-0]))[1]==fe?function(s){return new er(s)}:Po;function zu(s){return function(u){var _=_n(u);return _==vt?Es(u):_==an?Vp(u):Np(u,s(u))}}function Oi(s,u,_,S,L,U,q,Y){var ne=u&y;if(!ne&&typeof s!="function")throw new Zn(a);var he=S?S.length:0;if(he||(u&=~(E|V),S=L=t),q=q===t?q:$t(lt(q),0),Y=Y===t?Y:lt(Y),he-=L?L.length:0,u&V){var _e=S,Se=L;S=L=t}var De=ne?t:ro(s),qe=[s,u,_,S,L,_e,Se,U,q,Y];if(De&&E1(qe,De),s=qe[0],u=qe[1],_=qe[2],S=qe[3],L=qe[4],Y=qe[9]=qe[9]===t?ne?0:s.length:$t(qe[9]-he,0),!Y&&u&(N|A)&&(u&=~(N|A)),!u||u==k)var Ze=h1(s,u,_);else u==N||u==A?Ze=_1(s,u,Y):(u==E||u==(k|E))&&!L.length?Ze=p1(s,u,_,S):Ze=Da.apply(t,qe);var rt=De?Su:xu;return ef(rt(Ze,qe),s,u)}function Gu(s,u,_,S){return s===t||si(s,xl[_])&&!It.call(S,_)?u:s}function qu(s,u,_,S,L,U){return Wt(s)&&Wt(u)&&(U.set(u,s),La(s,u,t,qu,U),U.delete(u)),s}function b1(s){return zr(s)?t:s}function Ku(s,u,_,S,L,U){var q=_&b,Y=s.length,ne=u.length;if(Y!=ne&&!(q&&ne>Y))return!1;var he=U.get(s),_e=U.get(u);if(he&&_e)return he==u&&_e==s;var Se=-1,De=!0,qe=_&v?new Ll:t;for(U.set(s,u),U.set(u,s);++Se<Y;){var Ze=s[Se],rt=u[Se];if(S)var Xe=q?S(rt,Ze,Se,u,s,U):S(Ze,rt,Se,s,u,U);if(Xe!==t){if(Xe)continue;De=!1;break}if(qe){if(!Ns(u,function(ut,_t){if(!Tr(qe,_t)&&(Ze===ut||L(Ze,ut,_,S,U)))return qe.push(_t)})){De=!1;break}}else if(!(Ze===rt||L(Ze,rt,_,S,U))){De=!1;break}}return U.delete(s),U.delete(u),De}function v1(s,u,_,S,L,U,q){switch(_){case Jn:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Qt:return!(s.byteLength!=u.byteLength||!U(new ma(s),new ma(u)));case Ke:case Ue:case Ht:return si(+s,+u);case Qe:return s.name==u.name&&s.message==u.message;case vn:case Tn:return s==u+"";case vt:var Y=Es;case an:var ne=S&b;if(Y||(Y=ca),s.size!=u.size&&!ne)return!1;var he=q.get(s);if(he)return he==u;S|=v,q.set(s,u);var _e=Ku(Y(s),Y(u),S,L,U,q);return q.delete(s),_e;case Tt:if(Dr)return Dr.call(s)==Dr.call(u)}return!1}function w1(s,u,_,S,L,U){var q=_&b,Y=io(s),ne=Y.length,he=io(u),_e=he.length;if(ne!=_e&&!q)return!1;for(var Se=ne;Se--;){var De=Y[Se];if(!(q?De in u:It.call(u,De)))return!1}var qe=U.get(s),Ze=U.get(u);if(qe&&Ze)return qe==u&&Ze==s;var rt=!0;U.set(s,u),U.set(u,s);for(var Xe=q;++Se<ne;){De=Y[Se];var ut=s[De],_t=u[De];if(S)var Wn=q?S(_t,ut,De,u,s,U):S(ut,_t,De,s,u,U);if(!(Wn===t?ut===_t||L(ut,_t,_,S,U):Wn)){rt=!1;break}Xe||(Xe=De=="constructor")}if(rt&&!Xe){var Nn=s.constructor,zn=u.constructor;Nn!=zn&&"constructor"in s&&"constructor"in u&&!(typeof Nn=="function"&&Nn instanceof Nn&&typeof zn=="function"&&zn instanceof zn)&&(rt=!1)}return U.delete(s),U.delete(u),rt}function Mi(s){return co(Xu(s,t,sf),s+"")}function io(s){return cu(s,nn,so)}function lo(s){return cu(s,En,Ju)}var ro=Ca?function(s){return Ca.get(s)}:Po;function Fa(s){for(var u=s.name+"",_=tr[u],S=It.call(tr,u)?_.length:0;S--;){var L=_[S],U=L.func;if(U==null||U==s)return L.name}return u}function rr(s){var u=It.call(O,"placeholder")?O:s;return u.placeholder}function je(){var s=O.iteratee||Co;return s=s===Co?hu:s,arguments.length?s(arguments[0],arguments[1]):s}function Ua(s,u){var _=s.__data__;return T1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function ao(s){for(var u=nn(s),_=u.length;_--;){var S=u[_],L=s[S];u[_]=[S,L,Qu(L)]}return u}function El(s,u){var _=Rp(s,u);return gu(_)?_:t}function k1(s){var u=It.call(s,Il),_=s[Il];try{s[Il]=t;var S=!0}catch{}var L=_a.call(s);return S&&(u?s[Il]=_:delete s[Il]),L}var so=Vs?function(s){return s==null?[]:(s=Et(s),Zt(Vs(s),function(u){return $o.call(s,u)}))}:No,Ju=Vs?function(s){for(var u=[];s;)$i(u,so(s)),s=ba(s);return u}:No,_n=yn;(Os&&_n(new Os(new ArrayBuffer(1)))!=Jn||Ar&&_n(new Ar)!=vt||Ms&&_n(Ms.resolve())!=en||er&&_n(new er)!=an||Rr&&_n(new Rr)!=li)&&(_n=function(s){var u=yn(s),_=u==Yt?s.constructor:t,S=_?Dl(_):"";if(S)switch(S){case im:return Jn;case lm:return vt;case rm:return en;case am:return an;case sm:return li}return u});function S1(s,u,_){for(var S=-1,L=_.length;++S<L;){var U=_[S],q=U.size;switch(U.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=hn(u,s+q);break;case"takeRight":s=$t(s,u-q);break}}return{start:s,end:u}}function C1(s){var u=s.match(bl);return u?u[1].split(Ki):[]}function ju(s,u,_){u=il(u,s);for(var S=-1,L=u.length,U=!1;++S<L;){var q=bi(u[S]);if(!(U=s!=null&&_(s,q)))break;s=s[q]}return U||++S!=L?U:(L=s==null?0:s.length,!!L&&Ka(L)&&Fi(q,L)&&(nt(s)||Vl(s)))}function y1(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 Yu(s){return typeof s.constructor=="function"&&!Hr(s)?nr(ba(s)):{}}function P1(s,u,_){var S=s.constructor;switch(u){case Qt:return eo(s);case Ke:case Ue:return new S(+s);case Jn:return o1(s,_);case tn:case kn:case gi:case yi:case gn:case Pi:case Ni:case Ii:case Ti:return Au(s,_);case vt:return new S;case Ht:case Tn:return new S(s);case vn:return u1(s);case an:return new S;case Tt:return f1(s)}}function N1(s,u){var _=u.length;if(!_)return s;var S=_-1;return u[S]=(_>1?"& ":"")+u[S],u=u.join(_>2?", ":" "),s.replace(Fn,`{
|
|
34
34
|
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function P1(a){return nt(a)||Vl(a)||!!(xo&&a&&a[xo])}function Fi(a,u){var _=typeof a;return u=u??te,!!u&&(_=="number"||_!="symbol"&&Ji.test(a))&&a>-1&&a%1==0&&a<u}function Pn(a,u,_){if(!Wt(_))return!1;var S=typeof u;return(S=="number"?Rn(_)&&Fi(u,_.length):S=="string"&&u in _)?ai(_[u],a):!1}function oo(a,u){if(nt(a))return!1;var _=typeof a;return _=="number"||_=="symbol"||_=="boolean"||a==null||Hn(a)?!0:tt.test(a)||!Pe.test(a)||u!=null&&a in Et(u)}function N1(a){var u=typeof a;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?a!=="__proto__":a===null}function uo(a){var u=Fs(a),_=O[u];if(typeof _!="function"||!(u in dt.prototype))return!1;if(a===_)return!0;var S=ro(_);return!!S&&a===S[0]}function I1(a){return!!Qo&&Qo in a}var T1=hs?Ui:Io;function Hr(a){var u=a&&a.constructor,_=typeof u=="function"&&u.prototype||xl;return a===_}function Qu(a){return a===a&&!Wt(a)}function Zu(a,u){return function(_){return _==null?!1:_[a]===u&&(u!==t||a in Et(_))}}function L1(a){var u=Gs(a,function(S){return _.size===g&&_.clear(),S}),_=u.cache;return u}function A1(a,u){var _=a[1],S=u[1],L=_|S,U=L<(k|y|D),q=S==D&&_==N||S==D&&_==F&&a[7].length<=u[8]||S==(D|F)&&u[7].length<=u[8]&&_==N;if(!(U||q))return a;S&k&&(a[2]=u[2],L|=_&k?0:P);var Y=u[3];if(Y){var ne=a[3];a[3]=ne?Eu(ne,Y,u[4]):Y,a[4]=ne?xi(a[3],d):u[4]}return Y=u[5],Y&&(ne=a[5],a[5]=ne?Du(ne,Y,u[6]):Y,a[6]=ne?xi(a[5],d):u[6]),Y=u[7],Y&&(a[7]=Y),S&D&&(a[8]=a[8]==null?u[8]:gn(a[8],u[8])),a[9]==null&&(a[9]=u[9]),a[0]=u[0],a[1]=L,a}function R1(a){var u=[];if(a!=null)for(var _ in Et(a))u.push(_);return u}function E1(a){return _s.call(a)}function Xu(a,u,_){return u=$t(u===t?a.length-1:u,0),function(){for(var S=arguments,L=-1,U=$t(S.length-u,0),q=oe(U);++L<U;)q[L]=S[u+L];L=-1;for(var Y=oe(u+1);++L<u;)Y[L]=S[L];return Y[u]=_(q),on(a,this,Y)}}function $u(a,u){return u.length<2?a:Rl(a,xn(u,0,-1))}function D1(a,u){for(var _=a.length,S=gn(u.length,_),L=An(a);S--;){var U=u[S];a[S]=Fi(U,_)?L[U]:t}return a}function fo(a,u){if(!(u==="constructor"&&typeof a[u]=="function")&&u!="__proto__")return a[u]}var xu=tf(Su),Wr=Yp||function(a,u){return Ut.setTimeout(a,u)},co=tf(n1);function ef(a,u,_){var S=u+"";return co(a,y1(S,V1(k1(S),_)))}function tf(a){var u=0,_=0;return function(){var S=$p(),L=ce-(S-_);if(_=S,L>0){if(++u>=Q)return arguments[0]}else u=0;return a.apply(t,arguments)}}function Bs(a,u){var _=-1,S=a.length,L=S-1;for(u=u===t?S:u;++_<u;){var U=ja(_,L),q=a[U];a[U]=a[_],a[_]=q}return a.length=u,a}var nf=L1(function(a){var u=[];return a.charCodeAt(0)===46&&u.push(""),a.replace(ht,function(_,S,L,U){u.push(L?U.replace(Wl,"$1"):S||_)}),u});function bi(a){if(typeof a=="string"||Hn(a))return a;var u=a+"";return u=="0"&&1/a==-fe?"-0":u}function Dl(a){if(a!=null){try{return gs.call(a)}catch{}try{return a+""}catch{}}return""}function V1(a,u){return un(Ve,function(_){var S="_."+_[0];u&_[1]&&!Yl(a,S)&&a.push(S)}),a.sort()}function lf(a){if(a instanceof dt)return a.clone();var u=new Xn(a.__wrapped__,a.__chain__);return u.__actions__=An(a.__actions__),u.__index__=a.__index__,u.__values__=a.__values__,u}function O1(a,u,_){(_?Pn(a,u,_):u===t)?u=1:u=$t(lt(u),0);var S=a==null?0:a.length;if(!S||u<1)return[];for(var L=0,U=0,q=oe(ks(S/u));L<S;)q[U++]=xn(a,L,L+=u);return q}function M1(a){for(var u=-1,_=a==null?0:a.length,S=0,L=[];++u<_;){var U=a[u];U&&(L[S++]=U)}return L}function F1(){var a=arguments.length;if(!a)return[];for(var u=oe(a-1),_=arguments[0],S=a;S--;)u[S-1]=arguments[S];return $i(nt(_)?An(_):[_],cn(u,1))}var U1=st(function(a,u){return qt(a)?Or(a,cn(u,1,qt,!0)):[]}),B1=st(function(a,u){var _=ei(u);return qt(_)&&(_=t),qt(a)?Or(a,cn(u,1,qt,!0),je(_,2)):[]}),H1=st(function(a,u){var _=ei(u);return qt(_)&&(_=t),qt(a)?Or(a,cn(u,1,qt,!0),t,_):[]});function W1(a,u,_){var S=a==null?0:a.length;return S?(u=_||u===t?1:lt(u),xn(a,u<0?0:u,S)):[]}function z1(a,u,_){var S=a==null?0:a.length;return S?(u=_||u===t?1:lt(u),u=S-u,xn(a,0,u<0?0:u)):[]}function G1(a,u){return a&&a.length?Rs(a,je(u,3),!0,!0):[]}function q1(a,u){return a&&a.length?Rs(a,je(u,3),!0):[]}function K1(a,u,_,S){var L=a==null?0:a.length;return L?(_&&typeof _!="number"&&Pn(a,u,_)&&(_=0,S=L),Fm(a,u,_,S)):[]}function rf(a,u,_){var S=a==null?0:a.length;if(!S)return-1;var L=_==null?0:lt(_);return L<0&&(L=$t(S+L,0)),fs(a,je(u,3),L)}function sf(a,u,_){var S=a==null?0:a.length;if(!S)return-1;var L=S-1;return _!==t&&(L=lt(_),L=_<0?$t(S+L,0):gn(L,S-1)),fs(a,je(u,3),L,!0)}function af(a){var u=a==null?0:a.length;return u?cn(a,1):[]}function J1(a){var u=a==null?0:a.length;return u?cn(a,fe):[]}function j1(a,u){var _=a==null?0:a.length;return _?(u=u===t?1:lt(u),cn(a,u)):[]}function Y1(a){for(var u=-1,_=a==null?0:a.length,S={};++u<_;){var L=a[u];S[L[0]]=L[1]}return S}function of(a){return a&&a.length?a[0]:t}function Q1(a,u,_){var S=a==null?0:a.length;if(!S)return-1;var L=_==null?0:lt(_);return L<0&&(L=$t(S+L,0)),Ql(a,u,L)}function Z1(a){var u=a==null?0:a.length;return u?xn(a,0,-1):[]}var X1=st(function(a){var u=Bt(a,$a);return u.length&&u[0]===a[0]?za(u):[]}),$1=st(function(a){var u=ei(a),_=Bt(a,$a);return u===ei(_)?u=t:_.pop(),_.length&&_[0]===a[0]?za(_,je(u,2)):[]}),x1=st(function(a){var u=ei(a),_=Bt(a,$a);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===a[0]?za(_,t,u):[]});function eb(a,u){return a==null?"":Zp.call(a,u)}function ei(a){var u=a==null?0:a.length;return u?a[u-1]:t}function tb(a,u,_){var S=a==null?0:a.length;if(!S)return-1;var L=S;return _!==t&&(L=lt(_),L=L<0?$t(S+L,0):gn(L,S-1)),u===u?Vp(a,u,L):fs(a,Wo,L,!0)}function nb(a,u){return a&&a.length?bu(a,lt(u)):t}var ib=st(uf);function uf(a,u){return a&&a.length&&u&&u.length?Ja(a,u):a}function lb(a,u,_){return a&&a.length&&u&&u.length?Ja(a,u,je(_,2)):a}function rb(a,u,_){return a&&a.length&&u&&u.length?Ja(a,u,t,_):a}var sb=Mi(function(a,u){var _=a==null?0:a.length,S=Ua(a,u);return ku(a,Bt(u,function(L){return Fi(L,_)?+L:L}).sort(Ru)),S});function ab(a,u){var _=[];if(!(a&&a.length))return _;var S=-1,L=[],U=a.length;for(u=je(u,3);++S<U;){var q=a[S];u(q,S,a)&&(_.push(q),L.push(S))}return ku(a,L),_}function ho(a){return a==null?a:em.call(a)}function ob(a,u,_){var S=a==null?0:a.length;return S?(_&&typeof _!="number"&&Pn(a,u,_)?(u=0,_=S):(u=u==null?0:lt(u),_=_===t?S:lt(_)),xn(a,u,_)):[]}function ub(a,u){return As(a,u)}function fb(a,u,_){return Qa(a,u,je(_,2))}function cb(a,u){var _=a==null?0:a.length;if(_){var S=As(a,u);if(S<_&&ai(a[S],u))return S}return-1}function db(a,u){return As(a,u,!0)}function hb(a,u,_){return Qa(a,u,je(_,2),!0)}function gb(a,u){var _=a==null?0:a.length;if(_){var S=As(a,u,!0)-1;if(ai(a[S],u))return S}return-1}function _b(a){return a&&a.length?Cu(a):[]}function pb(a,u){return a&&a.length?Cu(a,je(u,2)):[]}function mb(a){var u=a==null?0:a.length;return u?xn(a,1,u):[]}function bb(a,u,_){return a&&a.length?(u=_||u===t?1:lt(u),xn(a,0,u<0?0:u)):[]}function vb(a,u,_){var S=a==null?0:a.length;return S?(u=_||u===t?1:lt(u),u=S-u,xn(a,u<0?0:u,S)):[]}function wb(a,u){return a&&a.length?Rs(a,je(u,3),!1,!0):[]}function kb(a,u){return a&&a.length?Rs(a,je(u,3)):[]}var Sb=st(function(a){return nl(cn(a,1,qt,!0))}),Cb=st(function(a){var u=ei(a);return qt(u)&&(u=t),nl(cn(a,1,qt,!0),je(u,2))}),yb=st(function(a){var u=ei(a);return u=typeof u=="function"?u:t,nl(cn(a,1,qt,!0),t,u)});function Pb(a){return a&&a.length?nl(a):[]}function Nb(a,u){return a&&a.length?nl(a,je(u,2)):[]}function Ib(a,u){return u=typeof u=="function"?u:t,a&&a.length?nl(a,t,u):[]}function go(a){if(!(a&&a.length))return[];var u=0;return a=Zt(a,function(_){if(qt(_))return u=$t(_.length,u),!0}),Aa(u,function(_){return Bt(a,Ia(_))})}function ff(a,u){if(!(a&&a.length))return[];var _=go(a);return u==null?_:Bt(_,function(S){return on(u,t,S)})}var Tb=st(function(a,u){return qt(a)?Or(a,u):[]}),Lb=st(function(a){return Xa(Zt(a,qt))}),Ab=st(function(a){var u=ei(a);return qt(u)&&(u=t),Xa(Zt(a,qt),je(u,2))}),Rb=st(function(a){var u=ei(a);return u=typeof u=="function"?u:t,Xa(Zt(a,qt),t,u)}),Eb=st(go);function Db(a,u){return Iu(a||[],u||[],Vr)}function Vb(a,u){return Iu(a||[],u||[],Ur)}var Ob=st(function(a){var u=a.length,_=u>1?a[u-1]:t;return _=typeof _=="function"?(a.pop(),_):t,ff(a,_)});function cf(a){var u=O(a);return u.__chain__=!0,u}function Mb(a,u){return u(a),a}function Hs(a,u){return u(a)}var Fb=Mi(function(a){var u=a.length,_=u?a[0]:0,S=this.__wrapped__,L=function(U){return Ua(U,a)};return u>1||this.__actions__.length||!(S instanceof dt)||!Fi(_)?this.thru(L):(S=S.slice(_,+_+(u?1:0)),S.__actions__.push({func:Hs,args:[L],thisArg:t}),new Xn(S,this.__chain__).thru(function(U){return u&&!U.length&&U.push(t),U}))});function Ub(){return cf(this)}function Bb(){return new Xn(this.value(),this.__chain__)}function Hb(){this.__values__===t&&(this.__values__=Pf(this.value()));var a=this.__index__>=this.__values__.length,u=a?t:this.__values__[this.__index__++];return{done:a,value:u}}function Wb(){return this}function zb(a){for(var u,_=this;_ instanceof Ps;){var S=lf(_);S.__index__=0,S.__values__=t,u?L.__wrapped__=S:u=S;var L=S;_=_.__wrapped__}return L.__wrapped__=a,u}function Gb(){var a=this.__wrapped__;if(a instanceof dt){var u=a;return this.__actions__.length&&(u=new dt(this)),u=u.reverse(),u.__actions__.push({func:Hs,args:[ho],thisArg:t}),new Xn(u,this.__chain__)}return this.thru(ho)}function qb(){return Nu(this.__wrapped__,this.__actions__)}var Kb=Es(function(a,u,_){It.call(a,_)?++a[_]:Vi(a,_,1)});function Jb(a,u,_){var S=nt(a)?fn:Mm;return _&&Pn(a,u,_)&&(u=t),S(a,je(u,3))}function jb(a,u){var _=nt(a)?Zt:uu;return _(a,je(u,3))}var Yb=Fu(rf),Qb=Fu(sf);function Zb(a,u){return cn(Ws(a,u),1)}function Xb(a,u){return cn(Ws(a,u),fe)}function $b(a,u,_){return _=_===t?1:lt(_),cn(Ws(a,u),_)}function df(a,u){var _=nt(a)?un:tl;return _(a,je(u,3))}function hf(a,u){var _=nt(a)?Nl:ou;return _(a,je(u,3))}var xb=Es(function(a,u,_){It.call(a,_)?a[_].push(u):Vi(a,_,[u])});function ev(a,u,_,S){a=Rn(a)?a:ar(a),_=_&&!S?lt(_):0;var L=a.length;return _<0&&(_=$t(L+_,0)),Js(a)?_<=L&&a.indexOf(u,_)>-1:!!L&&Ql(a,u,_)>-1}var tv=st(function(a,u,_){var S=-1,L=typeof u=="function",U=Rn(a)?oe(a.length):[];return tl(a,function(q){U[++S]=L?on(u,q,_):Mr(q,u,_)}),U}),nv=Es(function(a,u,_){Vi(a,_,u)});function Ws(a,u){var _=nt(a)?Bt:_u;return _(a,je(u,3))}function iv(a,u,_,S){return a==null?[]:(nt(u)||(u=u==null?[]:[u]),_=S?t:_,nt(_)||(_=_==null?[]:[_]),vu(a,u,_))}var lv=Es(function(a,u,_){a[_?0:1].push(u)},function(){return[[],[]]});function rv(a,u,_){var S=nt(a)?Pa:Go,L=arguments.length<3;return S(a,je(u,4),_,L,tl)}function sv(a,u,_){var S=nt(a)?bp:Go,L=arguments.length<3;return S(a,je(u,4),_,L,ou)}function av(a,u){var _=nt(a)?Zt:uu;return _(a,qs(je(u,3)))}function ov(a){var u=nt(a)?lu:e1;return u(a)}function uv(a,u,_){(_?Pn(a,u,_):u===t)?u=1:u=lt(u);var S=nt(a)?Rm:t1;return S(a,u)}function fv(a){var u=nt(a)?Em:i1;return u(a)}function cv(a){if(a==null)return 0;if(Rn(a))return Js(a)?Xl(a):a.length;var u=_n(a);return u==vt||u==sn?a.size:qa(a).length}function dv(a,u,_){var S=nt(a)?Na:l1;return _&&Pn(a,u,_)&&(u=t),S(a,je(u,3))}var hv=st(function(a,u){if(a==null)return[];var _=u.length;return _>1&&Pn(a,u[0],u[1])?u=[]:_>2&&Pn(u[0],u[1],u[2])&&(u=[u[0]]),vu(a,cn(u,1),[])}),zs=jp||function(){return Ut.Date.now()};function gv(a,u){if(typeof u!="function")throw new Zn(s);return a=lt(a),function(){if(--a<1)return u.apply(this,arguments)}}function gf(a,u,_){return u=_?t:u,u=a&&u==null?a.length:u,Oi(a,D,t,t,t,t,u)}function _f(a,u){var _;if(typeof u!="function")throw new Zn(s);return a=lt(a),function(){return--a>0&&(_=u.apply(this,arguments)),a<=1&&(u=t),_}}var _o=st(function(a,u,_){var S=k;if(_.length){var L=xi(_,rr(_o));S|=E}return Oi(a,S,u,_,L)}),pf=st(function(a,u,_){var S=k|y;if(_.length){var L=xi(_,rr(pf));S|=E}return Oi(u,S,a,_,L)});function mf(a,u,_){u=_?t:u;var S=Oi(a,N,t,t,t,t,t,u);return S.placeholder=mf.placeholder,S}function bf(a,u,_){u=_?t:u;var S=Oi(a,A,t,t,t,t,t,u);return S.placeholder=bf.placeholder,S}function vf(a,u,_){var S,L,U,q,Y,ne,ge=0,_e=!1,Se=!1,De=!0;if(typeof a!="function")throw new Zn(s);u=ti(u)||0,Wt(_)&&(_e=!!_.leading,Se="maxWait"in _,U=Se?$t(ti(_.maxWait)||0,u):U,De="trailing"in _?!!_.trailing:De);function qe(Kt){var oi=S,Hi=L;return S=L=t,ge=Kt,q=a.apply(Hi,oi),q}function Ze(Kt){return ge=Kt,Y=Wr(ut,u),_e?qe(Kt):q}function rt(Kt){var oi=Kt-ne,Hi=Kt-ge,Uf=u-oi;return Se?gn(Uf,U-Hi):Uf}function Xe(Kt){var oi=Kt-ne,Hi=Kt-ge;return ne===t||oi>=u||oi<0||Se&&Hi>=U}function ut(){var Kt=zs();if(Xe(Kt))return _t(Kt);Y=Wr(ut,rt(Kt))}function _t(Kt){return Y=t,De&&S?qe(Kt):(S=L=t,q)}function Wn(){Y!==t&&Tu(Y),ge=0,S=ne=L=Y=t}function Nn(){return Y===t?q:_t(zs())}function zn(){var Kt=zs(),oi=Xe(Kt);if(S=arguments,L=this,ne=Kt,oi){if(Y===t)return Ze(ne);if(Se)return Tu(Y),Y=Wr(ut,u),qe(ne)}return Y===t&&(Y=Wr(ut,u)),q}return zn.cancel=Wn,zn.flush=Nn,zn}var _v=st(function(a,u){return au(a,1,u)}),pv=st(function(a,u,_){return au(a,ti(u)||0,_)});function mv(a){return Oi(a,M)}function Gs(a,u){if(typeof a!="function"||u!=null&&typeof u!="function")throw new Zn(s);var _=function(){var S=arguments,L=u?u.apply(this,S):S[0],U=_.cache;if(U.has(L))return U.get(L);var q=a.apply(this,S);return _.cache=U.set(L,q)||U,q};return _.cache=new(Gs.Cache||Di),_}Gs.Cache=Di;function qs(a){if(typeof a!="function")throw new Zn(s);return function(){var u=arguments;switch(u.length){case 0:return!a.call(this);case 1:return!a.call(this,u[0]);case 2:return!a.call(this,u[0],u[1]);case 3:return!a.call(this,u[0],u[1],u[2])}return!a.apply(this,u)}}function bv(a){return _f(2,a)}var vv=r1(function(a,u){u=u.length==1&&nt(u[0])?Bt(u[0],Un(je())):Bt(cn(u,1),Un(je()));var _=u.length;return st(function(S){for(var L=-1,U=gn(S.length,_);++L<U;)S[L]=u[L].call(this,S[L]);return on(a,this,S)})}),po=st(function(a,u){var _=xi(u,rr(po));return Oi(a,E,t,u,_)}),wf=st(function(a,u){var _=xi(u,rr(wf));return Oi(a,V,t,u,_)}),wv=Mi(function(a,u){return Oi(a,F,t,t,t,u)});function kv(a,u){if(typeof a!="function")throw new Zn(s);return u=u===t?u:lt(u),st(a,u)}function Sv(a,u){if(typeof a!="function")throw new Zn(s);return u=u==null?0:$t(lt(u),0),st(function(_){var S=_[u],L=ll(_,0,u);return S&&$i(L,S),on(a,this,L)})}function Cv(a,u,_){var S=!0,L=!0;if(typeof a!="function")throw new Zn(s);return Wt(_)&&(S="leading"in _?!!_.leading:S,L="trailing"in _?!!_.trailing:L),vf(a,u,{leading:S,maxWait:u,trailing:L})}function yv(a){return gf(a,1)}function Pv(a,u){return po(xa(u),a)}function Nv(){if(!arguments.length)return[];var a=arguments[0];return nt(a)?a:[a]}function Iv(a){return $n(a,m)}function Tv(a,u){return u=typeof u=="function"?u:t,$n(a,m,u)}function Lv(a){return $n(a,h|m)}function Av(a,u){return u=typeof u=="function"?u:t,$n(a,h|m,u)}function Rv(a,u){return u==null||su(a,u,nn(u))}function ai(a,u){return a===u||a!==a&&u!==u}var Ev=Ms(Wa),Dv=Ms(function(a,u){return a>=u}),Vl=du(function(){return arguments}())?du:function(a){return Gt(a)&&It.call(a,"callee")&&!$o.call(a,"callee")},nt=oe.isArray,Vv=Ln?Un(Ln):zm;function Rn(a){return a!=null&&Ks(a.length)&&!Ui(a)}function qt(a){return Gt(a)&&Rn(a)}function Ov(a){return a===!0||a===!1||Gt(a)&&yn(a)==Ke}var rl=Qp||Io,Mv=Qn?Un(Qn):Gm;function Fv(a){return Gt(a)&&a.nodeType===1&&!zr(a)}function Uv(a){if(a==null)return!0;if(Rn(a)&&(nt(a)||typeof a=="string"||typeof a.splice=="function"||rl(a)||sr(a)||Vl(a)))return!a.length;var u=_n(a);if(u==vt||u==sn)return!a.size;if(Hr(a))return!qa(a).length;for(var _ in a)if(It.call(a,_))return!1;return!0}function Bv(a,u){return Fr(a,u)}function Hv(a,u,_){_=typeof _=="function"?_:t;var S=_?_(a,u):t;return S===t?Fr(a,u,t,_):!!S}function mo(a){if(!Gt(a))return!1;var u=yn(a);return u==Qe||u==he||typeof a.message=="string"&&typeof a.name=="string"&&!zr(a)}function Wv(a){return typeof a=="number"&&eu(a)}function Ui(a){if(!Wt(a))return!1;var u=yn(a);return u==xe||u==jt||u==pe||u==In}function kf(a){return typeof a=="number"&&a==lt(a)}function Ks(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=te}function Wt(a){var u=typeof a;return a!=null&&(u=="object"||u=="function")}function Gt(a){return a!=null&&typeof a=="object"}var Sf=Xi?Un(Xi):Km;function zv(a,u){return a===u||Ga(a,u,so(u))}function Gv(a,u,_){return _=typeof _=="function"?_:t,Ga(a,u,so(u),_)}function qv(a){return Cf(a)&&a!=+a}function Kv(a){if(T1(a))throw new et(r);return hu(a)}function Jv(a){return a===null}function jv(a){return a==null}function Cf(a){return typeof a=="number"||Gt(a)&&yn(a)==Ht}function zr(a){if(!Gt(a)||yn(a)!=Yt)return!1;var u=bs(a);if(u===null)return!0;var _=It.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&gs.call(_)==Gp}var bo=jl?Un(jl):Jm;function Yv(a){return kf(a)&&a>=-te&&a<=te}var yf=Pl?Un(Pl):jm;function Js(a){return typeof a=="string"||!nt(a)&&Gt(a)&&yn(a)==Tn}function Hn(a){return typeof a=="symbol"||Gt(a)&&yn(a)==Tt}var sr=Sa?Un(Sa):Ym;function Qv(a){return a===t}function Zv(a){return Gt(a)&&_n(a)==li}function Xv(a){return Gt(a)&&yn(a)==wn}var $v=Ms(Ka),xv=Ms(function(a,u){return a<=u});function Pf(a){if(!a)return[];if(Rn(a))return Js(a)?ri(a):An(a);if(Lr&&a[Lr])return Rp(a[Lr]());var u=_n(a),_=u==vt?Ea:u==sn?cs:ar;return _(a)}function Bi(a){if(!a)return a===0?a:0;if(a=ti(a),a===fe||a===-fe){var u=a<0?-1:1;return u*x}return a===a?a:0}function lt(a){var u=Bi(a),_=u%1;return u===u?_?u-_:u:0}function Nf(a){return a?Al(lt(a),0,ie):0}function ti(a){if(typeof a=="number")return a;if(Hn(a))return Le;if(Wt(a)){var u=typeof a.valueOf=="function"?a.valueOf():a;a=Wt(u)?u+"":u}if(typeof a!="string")return a===0?a:+a;a=qo(a);var _=wl.test(a);return _||br.test(a)?Nr(a.slice(2),_?2:8):vl.test(a)?Le:+a}function If(a){return mi(a,En(a))}function e0(a){return a?Al(lt(a),-te,te):a===0?a:0}function yt(a){return a==null?"":Bn(a)}var t0=ir(function(a,u){if(Hr(u)||Rn(u)){mi(u,nn(u),a);return}for(var _ in u)It.call(u,_)&&Vr(a,_,u[_])}),Tf=ir(function(a,u){mi(u,En(u),a)}),js=ir(function(a,u,_,S){mi(u,En(u),a,S)}),n0=ir(function(a,u,_,S){mi(u,nn(u),a,S)}),i0=Mi(Ua);function l0(a,u){var _=nr(a);return u==null?_:ru(_,u)}var r0=st(function(a,u){a=Et(a);var _=-1,S=u.length,L=S>2?u[2]:t;for(L&&Pn(u[0],u[1],L)&&(S=1);++_<S;)for(var U=u[_],q=En(U),Y=-1,ne=q.length;++Y<ne;){var ge=q[Y],_e=a[ge];(_e===t||ai(_e,xl[ge])&&!It.call(a,ge))&&(a[ge]=U[ge])}return a}),s0=st(function(a){return a.push(t,qu),on(Lf,t,a)});function a0(a,u){return Ho(a,je(u,3),pi)}function o0(a,u){return Ho(a,je(u,3),Ha)}function u0(a,u){return a==null?a:Ba(a,je(u,3),En)}function f0(a,u){return a==null?a:fu(a,je(u,3),En)}function c0(a,u){return a&&pi(a,je(u,3))}function d0(a,u){return a&&Ha(a,je(u,3))}function h0(a){return a==null?[]:Ts(a,nn(a))}function g0(a){return a==null?[]:Ts(a,En(a))}function vo(a,u,_){var S=a==null?t:Rl(a,u);return S===t?_:S}function _0(a,u){return a!=null&&ju(a,u,Um)}function wo(a,u){return a!=null&&ju(a,u,Bm)}var p0=Bu(function(a,u,_){u!=null&&typeof u.toString!="function"&&(u=_s.call(u)),a[u]=_},So(Dn)),m0=Bu(function(a,u,_){u!=null&&typeof u.toString!="function"&&(u=_s.call(u)),It.call(a,u)?a[u].push(_):a[u]=[_]},je),b0=st(Mr);function nn(a){return Rn(a)?iu(a):qa(a)}function En(a){return Rn(a)?iu(a,!0):Qm(a)}function v0(a,u){var _={};return u=je(u,3),pi(a,function(S,L,U){Vi(_,u(S,L,U),S)}),_}function w0(a,u){var _={};return u=je(u,3),pi(a,function(S,L,U){Vi(_,L,u(S,L,U))}),_}var k0=ir(function(a,u,_){Ls(a,u,_)}),Lf=ir(function(a,u,_,S){Ls(a,u,_,S)}),S0=Mi(function(a,u){var _={};if(a==null)return _;var S=!1;u=Bt(u,function(U){return U=il(U,a),S||(S=U.length>1),U}),mi(a,lo(a),_),S&&(_=$n(_,h|p|m,p1));for(var L=u.length;L--;)Za(_,u[L]);return _});function C0(a,u){return Af(a,qs(je(u)))}var y0=Mi(function(a,u){return a==null?{}:Xm(a,u)});function Af(a,u){if(a==null)return{};var _=Bt(lo(a),function(S){return[S]});return u=je(u),wu(a,_,function(S,L){return u(S,L[0])})}function P0(a,u,_){u=il(u,a);var S=-1,L=u.length;for(L||(L=1,a=t);++S<L;){var U=a==null?t:a[bi(u[S])];U===t&&(S=L,U=_),a=Ui(U)?U.call(a):U}return a}function N0(a,u,_){return a==null?a:Ur(a,u,_)}function I0(a,u,_,S){return S=typeof S=="function"?S:t,a==null?a:Ur(a,u,_,S)}var Rf=zu(nn),Ef=zu(En);function T0(a,u,_){var S=nt(a),L=S||rl(a)||sr(a);if(u=je(u,4),_==null){var U=a&&a.constructor;L?_=S?new U:[]:Wt(a)?_=Ui(U)?nr(bs(a)):{}:_={}}return(L?un:pi)(a,function(q,Y,ne){return u(_,q,Y,ne)}),_}function L0(a,u){return a==null?!0:Za(a,u)}function A0(a,u,_){return a==null?a:Pu(a,u,xa(_))}function R0(a,u,_,S){return S=typeof S=="function"?S:t,a==null?a:Pu(a,u,xa(_),S)}function ar(a){return a==null?[]:Ra(a,nn(a))}function E0(a){return a==null?[]:Ra(a,En(a))}function D0(a,u,_){return _===t&&(_=u,u=t),_!==t&&(_=ti(_),_=_===_?_:0),u!==t&&(u=ti(u),u=u===u?u:0),Al(ti(a),u,_)}function V0(a,u,_){return u=Bi(u),_===t?(_=u,u=0):_=Bi(_),a=ti(a),Hm(a,u,_)}function O0(a,u,_){if(_&&typeof _!="boolean"&&Pn(a,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof a=="boolean"&&(_=a,a=t)),a===t&&u===t?(a=0,u=1):(a=Bi(a),u===t?(u=a,a=0):u=Bi(u)),a>u){var S=a;a=u,u=S}if(_||a%1||u%1){var L=tu();return gn(a+L*(u-a+Ft("1e-"+((L+"").length-1))),u)}return ja(a,u)}var M0=lr(function(a,u,_){return u=u.toLowerCase(),a+(_?Df(u):u)});function Df(a){return ko(yt(a).toLowerCase())}function Vf(a){return a=yt(a),a&&a.replace(kl,Np).replace(ba,"")}function F0(a,u,_){a=yt(a),u=Bn(u);var S=a.length;_=_===t?S:Al(lt(_),0,S);var L=_;return _-=u.length,_>=0&&a.slice(_,L)==u}function U0(a){return a=yt(a),a&&qi.test(a)?a.replace(Li,Ip):a}function B0(a){return a=yt(a),a&&an.test(a)?a.replace(wt,"\\$&"):a}var H0=lr(function(a,u,_){return a+(_?"-":"")+u.toLowerCase()}),W0=lr(function(a,u,_){return a+(_?" ":"")+u.toLowerCase()}),z0=Mu("toLowerCase");function G0(a,u,_){a=yt(a),u=lt(u);var S=u?Xl(a):0;if(!u||S>=u)return a;var L=(u-S)/2;return Os(Ss(L),_)+a+Os(ks(L),_)}function q0(a,u,_){a=yt(a),u=lt(u);var S=u?Xl(a):0;return u&&S<u?a+Os(u-S,_):a}function K0(a,u,_){a=yt(a),u=lt(u);var S=u?Xl(a):0;return u&&S<u?Os(u-S,_)+a:a}function J0(a,u,_){return _||u==null?u=0:u&&(u=+u),xp(yt(a).replace(Sn,""),u||0)}function j0(a,u,_){return(_?Pn(a,u,_):u===t)?u=1:u=lt(u),Ya(yt(a),u)}function Y0(){var a=arguments,u=yt(a[0]);return a.length<3?u:u.replace(a[1],a[2])}var Q0=lr(function(a,u,_){return a+(_?"_":"")+u.toLowerCase()});function Z0(a,u,_){return _&&typeof _!="number"&&Pn(a,u,_)&&(u=_=t),_=_===t?ie:_>>>0,_?(a=yt(a),a&&(typeof u=="string"||u!=null&&!bo(u))&&(u=Bn(u),!u&&Zl(a))?ll(ri(a),0,_):a.split(u,_)):[]}var X0=lr(function(a,u,_){return a+(_?" ":"")+ko(u)});function $0(a,u,_){return a=yt(a),_=_==null?0:Al(lt(_),0,a.length),u=Bn(u),a.slice(_,_+u.length)==u}function x0(a,u,_){var S=O.templateSettings;_&&Pn(a,u,_)&&(u=t),a=yt(a),u=js({},u,S,Gu);var L=js({},u.imports,S.imports,Gu),U=nn(L),q=Ra(L,U),Y,ne,ge=0,_e=u.interpolate||_i,Se="__p += '",De=Da((u.escape||_i).source+"|"+_e.source+"|"+(_e===Z?mr:_i).source+"|"+(u.evaluate||_i).source+"|$","g"),qe="//# sourceURL="+(It.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ue+"]")+`
|
|
36
|
-
`;
|
|
35
|
+
`)}function I1(s){return nt(s)||Vl(s)||!!(xo&&s&&s[xo])}function Fi(s,u){var _=typeof s;return u=u??te,!!u&&(_=="number"||_!="symbol"&&Ji.test(s))&&s>-1&&s%1==0&&s<u}function Pn(s,u,_){if(!Wt(_))return!1;var S=typeof u;return(S=="number"?Rn(_)&&Fi(u,_.length):S=="string"&&u in _)?si(_[u],s):!1}function oo(s,u){if(nt(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Hn(s)?!0:tt.test(s)||!Pe.test(s)||u!=null&&s in Et(u)}function T1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function uo(s){var u=Fa(s),_=O[u];if(typeof _!="function"||!(u in dt.prototype))return!1;if(s===_)return!0;var S=ro(_);return!!S&&s===S[0]}function L1(s){return!!Qo&&Qo in s}var A1=ga?Ui:Io;function Hr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||xl;return s===_}function Qu(s){return s===s&&!Wt(s)}function Zu(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Et(_))}}function R1(s){var u=Ga(s,function(S){return _.size===g&&_.clear(),S}),_=u.cache;return u}function E1(s,u){var _=s[1],S=u[1],L=_|S,U=L<(k|y|D),q=S==D&&_==N||S==D&&_==F&&s[7].length<=u[8]||S==(D|F)&&u[7].length<=u[8]&&_==N;if(!(U||q))return s;S&k&&(s[2]=u[2],L|=_&k?0:P);var Y=u[3];if(Y){var ne=s[3];s[3]=ne?Eu(ne,Y,u[4]):Y,s[4]=ne?xi(s[3],d):u[4]}return Y=u[5],Y&&(ne=s[5],s[5]=ne?Du(ne,Y,u[6]):Y,s[6]=ne?xi(s[5],d):u[6]),Y=u[7],Y&&(s[7]=Y),S&D&&(s[8]=s[8]==null?u[8]:hn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=L,s}function D1(s){var u=[];if(s!=null)for(var _ in Et(s))u.push(_);return u}function V1(s){return _a.call(s)}function Xu(s,u,_){return u=$t(u===t?s.length-1:u,0),function(){for(var S=arguments,L=-1,U=$t(S.length-u,0),q=oe(U);++L<U;)q[L]=S[u+L];L=-1;for(var Y=oe(u+1);++L<u;)Y[L]=S[L];return Y[u]=_(q),on(s,this,Y)}}function $u(s,u){return u.length<2?s:Rl(s,xn(u,0,-1))}function O1(s,u){for(var _=s.length,S=hn(u.length,_),L=An(s);S--;){var U=u[S];s[S]=Fi(U,_)?L[U]:t}return s}function fo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var xu=tf(Su),Wr=Zp||function(s,u){return Ut.setTimeout(s,u)},co=tf(l1);function ef(s,u,_){var S=u+"";return co(s,N1(S,M1(C1(S),_)))}function tf(s){var u=0,_=0;return function(){var S=em(),L=ce-(S-_);if(_=S,L>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function Ba(s,u){var _=-1,S=s.length,L=S-1;for(u=u===t?S:u;++_<u;){var U=js(_,L),q=s[U];s[U]=s[_],s[_]=q}return s.length=u,s}var nf=R1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(gt,function(_,S,L,U){u.push(L?U.replace(Wl,"$1"):S||_)}),u});function bi(s){if(typeof s=="string"||Hn(s))return s;var u=s+"";return u=="0"&&1/s==-fe?"-0":u}function Dl(s){if(s!=null){try{return ha.call(s)}catch{}try{return s+""}catch{}}return""}function M1(s,u){return un(Me,function(_){var S="_."+_[0];u&_[1]&&!Yl(s,S)&&s.push(S)}),s.sort()}function lf(s){if(s instanceof dt)return s.clone();var u=new Xn(s.__wrapped__,s.__chain__);return u.__actions__=An(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function F1(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=$t(lt(u),0);var S=s==null?0:s.length;if(!S||u<1)return[];for(var L=0,U=0,q=oe(ka(S/u));L<S;)q[U++]=xn(s,L,L+=u);return q}function U1(s){for(var u=-1,_=s==null?0:s.length,S=0,L=[];++u<_;){var U=s[u];U&&(L[S++]=U)}return L}function B1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],S=s;S--;)u[S-1]=arguments[S];return $i(nt(_)?An(_):[_],cn(u,1))}var H1=at(function(s,u){return qt(s)?Or(s,cn(u,1,qt,!0)):[]}),W1=at(function(s,u){var _=ei(u);return qt(_)&&(_=t),qt(s)?Or(s,cn(u,1,qt,!0),je(_,2)):[]}),z1=at(function(s,u){var _=ei(u);return qt(_)&&(_=t),qt(s)?Or(s,cn(u,1,qt,!0),t,_):[]});function G1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:lt(u),xn(s,u<0?0:u,S)):[]}function q1(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:lt(u),u=S-u,xn(s,0,u<0?0:u)):[]}function K1(s,u){return s&&s.length?Ra(s,je(u,3),!0,!0):[]}function J1(s,u){return s&&s.length?Ra(s,je(u,3),!0):[]}function j1(s,u,_,S){var L=s==null?0:s.length;return L?(_&&typeof _!="number"&&Pn(s,u,_)&&(_=0,S=L),Bm(s,u,_,S)):[]}function rf(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var L=_==null?0:lt(_);return L<0&&(L=$t(S+L,0)),fa(s,je(u,3),L)}function af(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var L=S-1;return _!==t&&(L=lt(_),L=_<0?$t(S+L,0):hn(L,S-1)),fa(s,je(u,3),L,!0)}function sf(s){var u=s==null?0:s.length;return u?cn(s,1):[]}function Y1(s){var u=s==null?0:s.length;return u?cn(s,fe):[]}function Q1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:lt(u),cn(s,u)):[]}function Z1(s){for(var u=-1,_=s==null?0:s.length,S={};++u<_;){var L=s[u];S[L[0]]=L[1]}return S}function of(s){return s&&s.length?s[0]:t}function X1(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var L=_==null?0:lt(_);return L<0&&(L=$t(S+L,0)),Ql(s,u,L)}function $1(s){var u=s==null?0:s.length;return u?xn(s,0,-1):[]}var x1=at(function(s){var u=Bt(s,$s);return u.length&&u[0]===s[0]?zs(u):[]}),eb=at(function(s){var u=ei(s),_=Bt(s,$s);return u===ei(_)?u=t:_.pop(),_.length&&_[0]===s[0]?zs(_,je(u,2)):[]}),tb=at(function(s){var u=ei(s),_=Bt(s,$s);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?zs(_,t,u):[]});function nb(s,u){return s==null?"":$p.call(s,u)}function ei(s){var u=s==null?0:s.length;return u?s[u-1]:t}function ib(s,u,_){var S=s==null?0:s.length;if(!S)return-1;var L=S;return _!==t&&(L=lt(_),L=L<0?$t(S+L,0):hn(L,S-1)),u===u?Mp(s,u,L):fa(s,Wo,L,!0)}function lb(s,u){return s&&s.length?bu(s,lt(u)):t}var rb=at(uf);function uf(s,u){return s&&s.length&&u&&u.length?Js(s,u):s}function ab(s,u,_){return s&&s.length&&u&&u.length?Js(s,u,je(_,2)):s}function sb(s,u,_){return s&&s.length&&u&&u.length?Js(s,u,t,_):s}var ob=Mi(function(s,u){var _=s==null?0:s.length,S=Us(s,u);return ku(s,Bt(u,function(L){return Fi(L,_)?+L:L}).sort(Ru)),S});function ub(s,u){var _=[];if(!(s&&s.length))return _;var S=-1,L=[],U=s.length;for(u=je(u,3);++S<U;){var q=s[S];u(q,S,s)&&(_.push(q),L.push(S))}return ku(s,L),_}function go(s){return s==null?s:nm.call(s)}function fb(s,u,_){var S=s==null?0:s.length;return S?(_&&typeof _!="number"&&Pn(s,u,_)?(u=0,_=S):(u=u==null?0:lt(u),_=_===t?S:lt(_)),xn(s,u,_)):[]}function cb(s,u){return Aa(s,u)}function db(s,u,_){return Qs(s,u,je(_,2))}function gb(s,u){var _=s==null?0:s.length;if(_){var S=Aa(s,u);if(S<_&&si(s[S],u))return S}return-1}function hb(s,u){return Aa(s,u,!0)}function _b(s,u,_){return Qs(s,u,je(_,2),!0)}function pb(s,u){var _=s==null?0:s.length;if(_){var S=Aa(s,u,!0)-1;if(si(s[S],u))return S}return-1}function mb(s){return s&&s.length?Cu(s):[]}function bb(s,u){return s&&s.length?Cu(s,je(u,2)):[]}function vb(s){var u=s==null?0:s.length;return u?xn(s,1,u):[]}function wb(s,u,_){return s&&s.length?(u=_||u===t?1:lt(u),xn(s,0,u<0?0:u)):[]}function kb(s,u,_){var S=s==null?0:s.length;return S?(u=_||u===t?1:lt(u),u=S-u,xn(s,u<0?0:u,S)):[]}function Sb(s,u){return s&&s.length?Ra(s,je(u,3),!1,!0):[]}function Cb(s,u){return s&&s.length?Ra(s,je(u,3)):[]}var yb=at(function(s){return nl(cn(s,1,qt,!0))}),Pb=at(function(s){var u=ei(s);return qt(u)&&(u=t),nl(cn(s,1,qt,!0),je(u,2))}),Nb=at(function(s){var u=ei(s);return u=typeof u=="function"?u:t,nl(cn(s,1,qt,!0),t,u)});function Ib(s){return s&&s.length?nl(s):[]}function Tb(s,u){return s&&s.length?nl(s,je(u,2)):[]}function Lb(s,u){return u=typeof u=="function"?u:t,s&&s.length?nl(s,t,u):[]}function ho(s){if(!(s&&s.length))return[];var u=0;return s=Zt(s,function(_){if(qt(_))return u=$t(_.length,u),!0}),As(u,function(_){return Bt(s,Is(_))})}function ff(s,u){if(!(s&&s.length))return[];var _=ho(s);return u==null?_:Bt(_,function(S){return on(u,t,S)})}var Ab=at(function(s,u){return qt(s)?Or(s,u):[]}),Rb=at(function(s){return Xs(Zt(s,qt))}),Eb=at(function(s){var u=ei(s);return qt(u)&&(u=t),Xs(Zt(s,qt),je(u,2))}),Db=at(function(s){var u=ei(s);return u=typeof u=="function"?u:t,Xs(Zt(s,qt),t,u)}),Vb=at(ho);function Ob(s,u){return Iu(s||[],u||[],Vr)}function Mb(s,u){return Iu(s||[],u||[],Ur)}var Fb=at(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,ff(s,_)});function cf(s){var u=O(s);return u.__chain__=!0,u}function Ub(s,u){return u(s),s}function Ha(s,u){return u(s)}var Bb=Mi(function(s){var u=s.length,_=u?s[0]:0,S=this.__wrapped__,L=function(U){return Us(U,s)};return u>1||this.__actions__.length||!(S instanceof dt)||!Fi(_)?this.thru(L):(S=S.slice(_,+_+(u?1:0)),S.__actions__.push({func:Ha,args:[L],thisArg:t}),new Xn(S,this.__chain__).thru(function(U){return u&&!U.length&&U.push(t),U}))});function Hb(){return cf(this)}function Wb(){return new Xn(this.value(),this.__chain__)}function zb(){this.__values__===t&&(this.__values__=Pf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Gb(){return this}function qb(s){for(var u,_=this;_ instanceof Pa;){var S=lf(_);S.__index__=0,S.__values__=t,u?L.__wrapped__=S:u=S;var L=S;_=_.__wrapped__}return L.__wrapped__=s,u}function Kb(){var s=this.__wrapped__;if(s instanceof dt){var u=s;return this.__actions__.length&&(u=new dt(this)),u=u.reverse(),u.__actions__.push({func:Ha,args:[go],thisArg:t}),new Xn(u,this.__chain__)}return this.thru(go)}function Jb(){return Nu(this.__wrapped__,this.__actions__)}var jb=Ea(function(s,u,_){It.call(s,_)?++s[_]:Vi(s,_,1)});function Yb(s,u,_){var S=nt(s)?fn:Um;return _&&Pn(s,u,_)&&(u=t),S(s,je(u,3))}function Qb(s,u){var _=nt(s)?Zt:uu;return _(s,je(u,3))}var Zb=Fu(rf),Xb=Fu(af);function $b(s,u){return cn(Wa(s,u),1)}function xb(s,u){return cn(Wa(s,u),fe)}function ev(s,u,_){return _=_===t?1:lt(_),cn(Wa(s,u),_)}function df(s,u){var _=nt(s)?un:tl;return _(s,je(u,3))}function gf(s,u){var _=nt(s)?Nl:ou;return _(s,je(u,3))}var tv=Ea(function(s,u,_){It.call(s,_)?s[_].push(u):Vi(s,_,[u])});function nv(s,u,_,S){s=Rn(s)?s:sr(s),_=_&&!S?lt(_):0;var L=s.length;return _<0&&(_=$t(L+_,0)),Ja(s)?_<=L&&s.indexOf(u,_)>-1:!!L&&Ql(s,u,_)>-1}var iv=at(function(s,u,_){var S=-1,L=typeof u=="function",U=Rn(s)?oe(s.length):[];return tl(s,function(q){U[++S]=L?on(u,q,_):Mr(q,u,_)}),U}),lv=Ea(function(s,u,_){Vi(s,_,u)});function Wa(s,u){var _=nt(s)?Bt:_u;return _(s,je(u,3))}function rv(s,u,_,S){return s==null?[]:(nt(u)||(u=u==null?[]:[u]),_=S?t:_,nt(_)||(_=_==null?[]:[_]),vu(s,u,_))}var av=Ea(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function sv(s,u,_){var S=nt(s)?Ps:Go,L=arguments.length<3;return S(s,je(u,4),_,L,tl)}function ov(s,u,_){var S=nt(s)?wp:Go,L=arguments.length<3;return S(s,je(u,4),_,L,ou)}function uv(s,u){var _=nt(s)?Zt:uu;return _(s,qa(je(u,3)))}function fv(s){var u=nt(s)?lu:n1;return u(s)}function cv(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=lt(u);var S=nt(s)?Dm:i1;return S(s,u)}function dv(s){var u=nt(s)?Vm:r1;return u(s)}function gv(s){if(s==null)return 0;if(Rn(s))return Ja(s)?Xl(s):s.length;var u=_n(s);return u==vt||u==an?s.size:qs(s).length}function hv(s,u,_){var S=nt(s)?Ns:a1;return _&&Pn(s,u,_)&&(u=t),S(s,je(u,3))}var _v=at(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Pn(s,u[0],u[1])?u=[]:_>2&&Pn(u[0],u[1],u[2])&&(u=[u[0]]),vu(s,cn(u,1),[])}),za=Qp||function(){return Ut.Date.now()};function pv(s,u){if(typeof u!="function")throw new Zn(a);return s=lt(s),function(){if(--s<1)return u.apply(this,arguments)}}function hf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Oi(s,D,t,t,t,t,u)}function _f(s,u){var _;if(typeof u!="function")throw new Zn(a);return s=lt(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var _o=at(function(s,u,_){var S=k;if(_.length){var L=xi(_,rr(_o));S|=E}return Oi(s,S,u,_,L)}),pf=at(function(s,u,_){var S=k|y;if(_.length){var L=xi(_,rr(pf));S|=E}return Oi(u,S,s,_,L)});function mf(s,u,_){u=_?t:u;var S=Oi(s,N,t,t,t,t,t,u);return S.placeholder=mf.placeholder,S}function bf(s,u,_){u=_?t:u;var S=Oi(s,A,t,t,t,t,t,u);return S.placeholder=bf.placeholder,S}function vf(s,u,_){var S,L,U,q,Y,ne,he=0,_e=!1,Se=!1,De=!0;if(typeof s!="function")throw new Zn(a);u=ti(u)||0,Wt(_)&&(_e=!!_.leading,Se="maxWait"in _,U=Se?$t(ti(_.maxWait)||0,u):U,De="trailing"in _?!!_.trailing:De);function qe(Kt){var oi=S,Hi=L;return S=L=t,he=Kt,q=s.apply(Hi,oi),q}function Ze(Kt){return he=Kt,Y=Wr(ut,u),_e?qe(Kt):q}function rt(Kt){var oi=Kt-ne,Hi=Kt-he,Uf=u-oi;return Se?hn(Uf,U-Hi):Uf}function Xe(Kt){var oi=Kt-ne,Hi=Kt-he;return ne===t||oi>=u||oi<0||Se&&Hi>=U}function ut(){var Kt=za();if(Xe(Kt))return _t(Kt);Y=Wr(ut,rt(Kt))}function _t(Kt){return Y=t,De&&S?qe(Kt):(S=L=t,q)}function Wn(){Y!==t&&Tu(Y),he=0,S=ne=L=Y=t}function Nn(){return Y===t?q:_t(za())}function zn(){var Kt=za(),oi=Xe(Kt);if(S=arguments,L=this,ne=Kt,oi){if(Y===t)return Ze(ne);if(Se)return Tu(Y),Y=Wr(ut,u),qe(ne)}return Y===t&&(Y=Wr(ut,u)),q}return zn.cancel=Wn,zn.flush=Nn,zn}var mv=at(function(s,u){return su(s,1,u)}),bv=at(function(s,u,_){return su(s,ti(u)||0,_)});function vv(s){return Oi(s,M)}function Ga(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Zn(a);var _=function(){var S=arguments,L=u?u.apply(this,S):S[0],U=_.cache;if(U.has(L))return U.get(L);var q=s.apply(this,S);return _.cache=U.set(L,q)||U,q};return _.cache=new(Ga.Cache||Di),_}Ga.Cache=Di;function qa(s){if(typeof s!="function")throw new Zn(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function wv(s){return _f(2,s)}var kv=s1(function(s,u){u=u.length==1&&nt(u[0])?Bt(u[0],Un(je())):Bt(cn(u,1),Un(je()));var _=u.length;return at(function(S){for(var L=-1,U=hn(S.length,_);++L<U;)S[L]=u[L].call(this,S[L]);return on(s,this,S)})}),po=at(function(s,u){var _=xi(u,rr(po));return Oi(s,E,t,u,_)}),wf=at(function(s,u){var _=xi(u,rr(wf));return Oi(s,V,t,u,_)}),Sv=Mi(function(s,u){return Oi(s,F,t,t,t,u)});function Cv(s,u){if(typeof s!="function")throw new Zn(a);return u=u===t?u:lt(u),at(s,u)}function yv(s,u){if(typeof s!="function")throw new Zn(a);return u=u==null?0:$t(lt(u),0),at(function(_){var S=_[u],L=ll(_,0,u);return S&&$i(L,S),on(s,this,L)})}function Pv(s,u,_){var S=!0,L=!0;if(typeof s!="function")throw new Zn(a);return Wt(_)&&(S="leading"in _?!!_.leading:S,L="trailing"in _?!!_.trailing:L),vf(s,u,{leading:S,maxWait:u,trailing:L})}function Nv(s){return hf(s,1)}function Iv(s,u){return po(xs(u),s)}function Tv(){if(!arguments.length)return[];var s=arguments[0];return nt(s)?s:[s]}function Lv(s){return $n(s,m)}function Av(s,u){return u=typeof u=="function"?u:t,$n(s,m,u)}function Rv(s){return $n(s,h|m)}function Ev(s,u){return u=typeof u=="function"?u:t,$n(s,h|m,u)}function Dv(s,u){return u==null||au(s,u,nn(u))}function si(s,u){return s===u||s!==s&&u!==u}var Vv=Ma(Ws),Ov=Ma(function(s,u){return s>=u}),Vl=du(function(){return arguments}())?du:function(s){return Gt(s)&&It.call(s,"callee")&&!$o.call(s,"callee")},nt=oe.isArray,Mv=Ln?Un(Ln):qm;function Rn(s){return s!=null&&Ka(s.length)&&!Ui(s)}function qt(s){return Gt(s)&&Rn(s)}function Fv(s){return s===!0||s===!1||Gt(s)&&yn(s)==Ke}var rl=Xp||Io,Uv=Qn?Un(Qn):Km;function Bv(s){return Gt(s)&&s.nodeType===1&&!zr(s)}function Hv(s){if(s==null)return!0;if(Rn(s)&&(nt(s)||typeof s=="string"||typeof s.splice=="function"||rl(s)||ar(s)||Vl(s)))return!s.length;var u=_n(s);if(u==vt||u==an)return!s.size;if(Hr(s))return!qs(s).length;for(var _ in s)if(It.call(s,_))return!1;return!0}function Wv(s,u){return Fr(s,u)}function zv(s,u,_){_=typeof _=="function"?_:t;var S=_?_(s,u):t;return S===t?Fr(s,u,t,_):!!S}function mo(s){if(!Gt(s))return!1;var u=yn(s);return u==Qe||u==ge||typeof s.message=="string"&&typeof s.name=="string"&&!zr(s)}function Gv(s){return typeof s=="number"&&eu(s)}function Ui(s){if(!Wt(s))return!1;var u=yn(s);return u==xe||u==jt||u==pe||u==In}function kf(s){return typeof s=="number"&&s==lt(s)}function Ka(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=te}function Wt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Gt(s){return s!=null&&typeof s=="object"}var Sf=Xi?Un(Xi):jm;function qv(s,u){return s===u||Gs(s,u,ao(u))}function Kv(s,u,_){return _=typeof _=="function"?_:t,Gs(s,u,ao(u),_)}function Jv(s){return Cf(s)&&s!=+s}function jv(s){if(A1(s))throw new et(r);return gu(s)}function Yv(s){return s===null}function Qv(s){return s==null}function Cf(s){return typeof s=="number"||Gt(s)&&yn(s)==Ht}function zr(s){if(!Gt(s)||yn(s)!=Yt)return!1;var u=ba(s);if(u===null)return!0;var _=It.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ha.call(_)==Kp}var bo=jl?Un(jl):Ym;function Zv(s){return kf(s)&&s>=-te&&s<=te}var yf=Pl?Un(Pl):Qm;function Ja(s){return typeof s=="string"||!nt(s)&&Gt(s)&&yn(s)==Tn}function Hn(s){return typeof s=="symbol"||Gt(s)&&yn(s)==Tt}var ar=Ss?Un(Ss):Zm;function Xv(s){return s===t}function $v(s){return Gt(s)&&_n(s)==li}function xv(s){return Gt(s)&&yn(s)==wn}var e0=Ma(Ks),t0=Ma(function(s,u){return s<=u});function Pf(s){if(!s)return[];if(Rn(s))return Ja(s)?ri(s):An(s);if(Lr&&s[Lr])return Dp(s[Lr]());var u=_n(s),_=u==vt?Es:u==an?ca:sr;return _(s)}function Bi(s){if(!s)return s===0?s:0;if(s=ti(s),s===fe||s===-fe){var u=s<0?-1:1;return u*x}return s===s?s:0}function lt(s){var u=Bi(s),_=u%1;return u===u?_?u-_:u:0}function Nf(s){return s?Al(lt(s),0,ie):0}function ti(s){if(typeof s=="number")return s;if(Hn(s))return Le;if(Wt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Wt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=qo(s);var _=wl.test(s);return _||br.test(s)?Nr(s.slice(2),_?2:8):vl.test(s)?Le:+s}function If(s){return mi(s,En(s))}function n0(s){return s?Al(lt(s),-te,te):s===0?s:0}function yt(s){return s==null?"":Bn(s)}var i0=ir(function(s,u){if(Hr(u)||Rn(u)){mi(u,nn(u),s);return}for(var _ in u)It.call(u,_)&&Vr(s,_,u[_])}),Tf=ir(function(s,u){mi(u,En(u),s)}),ja=ir(function(s,u,_,S){mi(u,En(u),s,S)}),l0=ir(function(s,u,_,S){mi(u,nn(u),s,S)}),r0=Mi(Us);function a0(s,u){var _=nr(s);return u==null?_:ru(_,u)}var s0=at(function(s,u){s=Et(s);var _=-1,S=u.length,L=S>2?u[2]:t;for(L&&Pn(u[0],u[1],L)&&(S=1);++_<S;)for(var U=u[_],q=En(U),Y=-1,ne=q.length;++Y<ne;){var he=q[Y],_e=s[he];(_e===t||si(_e,xl[he])&&!It.call(s,he))&&(s[he]=U[he])}return s}),o0=at(function(s){return s.push(t,qu),on(Lf,t,s)});function u0(s,u){return Ho(s,je(u,3),pi)}function f0(s,u){return Ho(s,je(u,3),Hs)}function c0(s,u){return s==null?s:Bs(s,je(u,3),En)}function d0(s,u){return s==null?s:fu(s,je(u,3),En)}function g0(s,u){return s&&pi(s,je(u,3))}function h0(s,u){return s&&Hs(s,je(u,3))}function _0(s){return s==null?[]:Ta(s,nn(s))}function p0(s){return s==null?[]:Ta(s,En(s))}function vo(s,u,_){var S=s==null?t:Rl(s,u);return S===t?_:S}function m0(s,u){return s!=null&&ju(s,u,Hm)}function wo(s,u){return s!=null&&ju(s,u,Wm)}var b0=Bu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=_a.call(u)),s[u]=_},So(Dn)),v0=Bu(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=_a.call(u)),It.call(s,u)?s[u].push(_):s[u]=[_]},je),w0=at(Mr);function nn(s){return Rn(s)?iu(s):qs(s)}function En(s){return Rn(s)?iu(s,!0):Xm(s)}function k0(s,u){var _={};return u=je(u,3),pi(s,function(S,L,U){Vi(_,u(S,L,U),S)}),_}function S0(s,u){var _={};return u=je(u,3),pi(s,function(S,L,U){Vi(_,L,u(S,L,U))}),_}var C0=ir(function(s,u,_){La(s,u,_)}),Lf=ir(function(s,u,_,S){La(s,u,_,S)}),y0=Mi(function(s,u){var _={};if(s==null)return _;var S=!1;u=Bt(u,function(U){return U=il(U,s),S||(S=U.length>1),U}),mi(s,lo(s),_),S&&(_=$n(_,h|p|m,b1));for(var L=u.length;L--;)Zs(_,u[L]);return _});function P0(s,u){return Af(s,qa(je(u)))}var N0=Mi(function(s,u){return s==null?{}:xm(s,u)});function Af(s,u){if(s==null)return{};var _=Bt(lo(s),function(S){return[S]});return u=je(u),wu(s,_,function(S,L){return u(S,L[0])})}function I0(s,u,_){u=il(u,s);var S=-1,L=u.length;for(L||(L=1,s=t);++S<L;){var U=s==null?t:s[bi(u[S])];U===t&&(S=L,U=_),s=Ui(U)?U.call(s):U}return s}function T0(s,u,_){return s==null?s:Ur(s,u,_)}function L0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:Ur(s,u,_,S)}var Rf=zu(nn),Ef=zu(En);function A0(s,u,_){var S=nt(s),L=S||rl(s)||ar(s);if(u=je(u,4),_==null){var U=s&&s.constructor;L?_=S?new U:[]:Wt(s)?_=Ui(U)?nr(ba(s)):{}:_={}}return(L?un:pi)(s,function(q,Y,ne){return u(_,q,Y,ne)}),_}function R0(s,u){return s==null?!0:Zs(s,u)}function E0(s,u,_){return s==null?s:Pu(s,u,xs(_))}function D0(s,u,_,S){return S=typeof S=="function"?S:t,s==null?s:Pu(s,u,xs(_),S)}function sr(s){return s==null?[]:Rs(s,nn(s))}function V0(s){return s==null?[]:Rs(s,En(s))}function O0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=ti(_),_=_===_?_:0),u!==t&&(u=ti(u),u=u===u?u:0),Al(ti(s),u,_)}function M0(s,u,_){return u=Bi(u),_===t?(_=u,u=0):_=Bi(_),s=ti(s),zm(s,u,_)}function F0(s,u,_){if(_&&typeof _!="boolean"&&Pn(s,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof s=="boolean"&&(_=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Bi(s),u===t?(u=s,s=0):u=Bi(u)),s>u){var S=s;s=u,u=S}if(_||s%1||u%1){var L=tu();return hn(s+L*(u-s+Ft("1e-"+((L+"").length-1))),u)}return js(s,u)}var U0=lr(function(s,u,_){return u=u.toLowerCase(),s+(_?Df(u):u)});function Df(s){return ko(yt(s).toLowerCase())}function Vf(s){return s=yt(s),s&&s.replace(kl,Tp).replace(bs,"")}function B0(s,u,_){s=yt(s),u=Bn(u);var S=s.length;_=_===t?S:Al(lt(_),0,S);var L=_;return _-=u.length,_>=0&&s.slice(_,L)==u}function H0(s){return s=yt(s),s&&qi.test(s)?s.replace(Li,Lp):s}function W0(s){return s=yt(s),s&&sn.test(s)?s.replace(wt,"\\$&"):s}var z0=lr(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),G0=lr(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),q0=Mu("toLowerCase");function K0(s,u,_){s=yt(s),u=lt(u);var S=u?Xl(s):0;if(!u||S>=u)return s;var L=(u-S)/2;return Oa(Sa(L),_)+s+Oa(ka(L),_)}function J0(s,u,_){s=yt(s),u=lt(u);var S=u?Xl(s):0;return u&&S<u?s+Oa(u-S,_):s}function j0(s,u,_){s=yt(s),u=lt(u);var S=u?Xl(s):0;return u&&S<u?Oa(u-S,_)+s:s}function Y0(s,u,_){return _||u==null?u=0:u&&(u=+u),tm(yt(s).replace(Sn,""),u||0)}function Q0(s,u,_){return(_?Pn(s,u,_):u===t)?u=1:u=lt(u),Ys(yt(s),u)}function Z0(){var s=arguments,u=yt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var X0=lr(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function $0(s,u,_){return _&&typeof _!="number"&&Pn(s,u,_)&&(u=_=t),_=_===t?ie:_>>>0,_?(s=yt(s),s&&(typeof u=="string"||u!=null&&!bo(u))&&(u=Bn(u),!u&&Zl(s))?ll(ri(s),0,_):s.split(u,_)):[]}var x0=lr(function(s,u,_){return s+(_?" ":"")+ko(u)});function ew(s,u,_){return s=yt(s),_=_==null?0:Al(lt(_),0,s.length),u=Bn(u),s.slice(_,_+u.length)==u}function tw(s,u,_){var S=O.templateSettings;_&&Pn(s,u,_)&&(u=t),s=yt(s),u=ja({},u,S,Gu);var L=ja({},u.imports,S.imports,Gu),U=nn(L),q=Rs(L,U),Y,ne,he=0,_e=u.interpolate||_i,Se="__p += '",De=Ds((u.escape||_i).source+"|"+_e.source+"|"+(_e===Z?mr:_i).source+"|"+(u.evaluate||_i).source+"|$","g"),qe="//# sourceURL="+(It.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ue+"]")+`
|
|
36
|
+
`;s.replace(De,function(Xe,ut,_t,Wn,Nn,zn){return _t||(_t=Wn),Se+=s.slice(he,zn).replace(Sl,Ap),ut&&(Y=!0,Se+=`' +
|
|
37
37
|
__e(`+ut+`) +
|
|
38
38
|
'`),Nn&&(ne=!0,Se+=`';
|
|
39
39
|
`+Nn+`;
|
|
40
40
|
__p += '`),_t&&(Se+=`' +
|
|
41
41
|
((__t = (`+_t+`)) == null ? '' : __t) +
|
|
42
|
-
'`),
|
|
42
|
+
'`),he=zn+Xe.length,Xe}),Se+=`';
|
|
43
43
|
`;var Ze=It.call(u,"variable")&&u.variable;if(!Ze)Se=`with (obj) {
|
|
44
44
|
`+Se+`
|
|
45
45
|
}
|
|
46
|
-
`;else if(Hl.test(Ze))throw new et(o);Se=(ne?Se.replace(
|
|
46
|
+
`;else if(Hl.test(Ze))throw new et(o);Se=(ne?Se.replace(gl,""):Se).replace(hl,"$1").replace(_l,"$1;"),Se="function("+(Ze||"obj")+`) {
|
|
47
47
|
`+(Ze?"":`obj || (obj = {});
|
|
48
48
|
`)+"var __t, __p = ''"+(Y?", __e = _.escape":"")+(ne?`, __j = Array.prototype.join;
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
|
50
50
|
`:`;
|
|
51
51
|
`)+Se+`return __p
|
|
52
|
-
}`;var rt=Mf(function(){return kt(U,qe+"return "+Se).apply(t,q)});if(rt.source=Se,mo(rt))throw rt;return rt}function ew(a){return yt(a).toLowerCase()}function tw(a){return yt(a).toUpperCase()}function nw(a,u,_){if(a=yt(a),a&&(_||u===t))return qo(a);if(!a||!(u=Bn(u)))return a;var S=ri(a),L=ri(u),U=Ko(S,L),q=Jo(S,L)+1;return ll(S,U,q).join("")}function iw(a,u,_){if(a=yt(a),a&&(_||u===t))return a.slice(0,Yo(a)+1);if(!a||!(u=Bn(u)))return a;var S=ri(a),L=Jo(S,ri(u))+1;return ll(S,0,L).join("")}function lw(a,u,_){if(a=yt(a),a&&(_||u===t))return a.replace(Sn,"");if(!a||!(u=Bn(u)))return a;var S=ri(a),L=Ko(S,ri(u));return ll(S,L).join("")}function rw(a,u){var _=W,S=K;if(Wt(u)){var L="separator"in u?u.separator:L;_="length"in u?lt(u.length):_,S="omission"in u?Bn(u.omission):S}a=yt(a);var U=a.length;if(Zl(a)){var q=ri(a);U=q.length}if(_>=U)return a;var Y=_-Xl(S);if(Y<1)return S;var ne=q?ll(q,0,Y).join(""):a.slice(0,Y);if(L===t)return ne+S;if(q&&(Y+=ne.length-Y),bo(L)){if(a.slice(Y).search(L)){var ge,_e=ne;for(L.global||(L=Da(L.source,yt(Cn.exec(L))+"g")),L.lastIndex=0;ge=L.exec(_e);)var Se=ge.index;ne=ne.slice(0,Se===t?Y:Se)}}else if(a.indexOf(Bn(L),Y)!=Y){var De=ne.lastIndexOf(L);De>-1&&(ne=ne.slice(0,De))}return ne+S}function sw(a){return a=yt(a),a&&pl.test(a)?a.replace(Gi,Op):a}var aw=lr(function(a,u,_){return a+(_?" ":"")+u.toUpperCase()}),ko=Mu("toUpperCase");function Of(a,u,_){return a=yt(a),u=_?t:u,u===t?Ap(a)?Up(a):kp(a):a.match(u)||[]}var Mf=st(function(a,u){try{return on(a,t,u)}catch(_){return mo(_)?_:new et(_)}}),ow=Mi(function(a,u){return un(u,function(_){_=bi(_),Vi(a,_,_o(a[_],a))}),a});function uw(a){var u=a==null?0:a.length,_=je();return a=u?Bt(a,function(S){if(typeof S[1]!="function")throw new Zn(s);return[_(S[0]),S[1]]}):[],st(function(S){for(var L=-1;++L<u;){var U=a[L];if(on(U[0],this,S))return on(U[1],this,S)}})}function fw(a){return Om($n(a,h))}function So(a){return function(){return a}}function cw(a,u){return a==null||a!==a?u:a}var dw=Uu(),hw=Uu(!0);function Dn(a){return a}function Co(a){return gu(typeof a=="function"?a:$n(a,h))}function gw(a){return pu($n(a,h))}function _w(a,u){return mu(a,$n(u,h))}var pw=st(function(a,u){return function(_){return Mr(_,a,u)}}),mw=st(function(a,u){return function(_){return Mr(a,_,u)}});function yo(a,u,_){var S=nn(u),L=Ts(u,S);_==null&&!(Wt(u)&&(L.length||!S.length))&&(_=u,u=a,a=this,L=Ts(u,nn(u)));var U=!(Wt(_)&&"chain"in _)||!!_.chain,q=Ui(a);return un(L,function(Y){var ne=u[Y];a[Y]=ne,q&&(a.prototype[Y]=function(){var ge=this.__chain__;if(U||ge){var _e=a(this.__wrapped__),Se=_e.__actions__=An(this.__actions__);return Se.push({func:ne,args:arguments,thisArg:a}),_e.__chain__=ge,_e}return ne.apply(a,$i([this.value()],arguments))})}),a}function bw(){return Ut._===this&&(Ut._=qp),this}function Po(){}function vw(a){return a=lt(a),st(function(u){return bu(u,a)})}var ww=to(Bt),kw=to(fn),Sw=to(Na);function Ff(a){return oo(a)?Ia(bi(a)):$m(a)}function Cw(a){return function(u){return a==null?t:Rl(a,u)}}var yw=Hu(),Pw=Hu(!0);function No(){return[]}function Io(){return!1}function Nw(){return{}}function Iw(){return""}function Tw(){return!0}function Lw(a,u){if(a=lt(a),a<1||a>te)return[];var _=ie,S=gn(a,ie);u=je(u),a-=ie;for(var L=Aa(S,u);++_<a;)u(_);return L}function Aw(a){return nt(a)?Bt(a,bi):Hn(a)?[a]:An(nf(yt(a)))}function Rw(a){var u=++zp;return yt(a)+u}var Ew=Vs(function(a,u){return a+u},0),Dw=no("ceil"),Vw=Vs(function(a,u){return a/u},1),Ow=no("floor");function Mw(a){return a&&a.length?Is(a,Dn,Wa):t}function Fw(a,u){return a&&a.length?Is(a,je(u,2),Wa):t}function Uw(a){return zo(a,Dn)}function Bw(a,u){return zo(a,je(u,2))}function Hw(a){return a&&a.length?Is(a,Dn,Ka):t}function Ww(a,u){return a&&a.length?Is(a,je(u,2),Ka):t}var zw=Vs(function(a,u){return a*u},1),Gw=no("round"),qw=Vs(function(a,u){return a-u},0);function Kw(a){return a&&a.length?La(a,Dn):0}function Jw(a,u){return a&&a.length?La(a,je(u,2)):0}return O.after=gv,O.ary=gf,O.assign=t0,O.assignIn=Tf,O.assignInWith=js,O.assignWith=n0,O.at=i0,O.before=_f,O.bind=_o,O.bindAll=ow,O.bindKey=pf,O.castArray=Nv,O.chain=cf,O.chunk=O1,O.compact=M1,O.concat=F1,O.cond=uw,O.conforms=fw,O.constant=So,O.countBy=Kb,O.create=l0,O.curry=mf,O.curryRight=bf,O.debounce=vf,O.defaults=r0,O.defaultsDeep=s0,O.defer=_v,O.delay=pv,O.difference=U1,O.differenceBy=B1,O.differenceWith=H1,O.drop=W1,O.dropRight=z1,O.dropRightWhile=G1,O.dropWhile=q1,O.fill=K1,O.filter=jb,O.flatMap=Zb,O.flatMapDeep=Xb,O.flatMapDepth=$b,O.flatten=af,O.flattenDeep=J1,O.flattenDepth=j1,O.flip=mv,O.flow=dw,O.flowRight=hw,O.fromPairs=Y1,O.functions=h0,O.functionsIn=g0,O.groupBy=xb,O.initial=Z1,O.intersection=X1,O.intersectionBy=$1,O.intersectionWith=x1,O.invert=p0,O.invertBy=m0,O.invokeMap=tv,O.iteratee=Co,O.keyBy=nv,O.keys=nn,O.keysIn=En,O.map=Ws,O.mapKeys=v0,O.mapValues=w0,O.matches=gw,O.matchesProperty=_w,O.memoize=Gs,O.merge=k0,O.mergeWith=Lf,O.method=pw,O.methodOf=mw,O.mixin=yo,O.negate=qs,O.nthArg=vw,O.omit=S0,O.omitBy=C0,O.once=bv,O.orderBy=iv,O.over=ww,O.overArgs=vv,O.overEvery=kw,O.overSome=Sw,O.partial=po,O.partialRight=wf,O.partition=lv,O.pick=y0,O.pickBy=Af,O.property=Ff,O.propertyOf=Cw,O.pull=ib,O.pullAll=uf,O.pullAllBy=lb,O.pullAllWith=rb,O.pullAt=sb,O.range=yw,O.rangeRight=Pw,O.rearg=wv,O.reject=av,O.remove=ab,O.rest=kv,O.reverse=ho,O.sampleSize=uv,O.set=N0,O.setWith=I0,O.shuffle=fv,O.slice=ob,O.sortBy=hv,O.sortedUniq=_b,O.sortedUniqBy=pb,O.split=Z0,O.spread=Sv,O.tail=mb,O.take=bb,O.takeRight=vb,O.takeRightWhile=wb,O.takeWhile=kb,O.tap=Mb,O.throttle=Cv,O.thru=Hs,O.toArray=Pf,O.toPairs=Rf,O.toPairsIn=Ef,O.toPath=Aw,O.toPlainObject=If,O.transform=T0,O.unary=yv,O.union=Sb,O.unionBy=Cb,O.unionWith=yb,O.uniq=Pb,O.uniqBy=Nb,O.uniqWith=Ib,O.unset=L0,O.unzip=go,O.unzipWith=ff,O.update=A0,O.updateWith=R0,O.values=ar,O.valuesIn=E0,O.without=Tb,O.words=Of,O.wrap=Pv,O.xor=Lb,O.xorBy=Ab,O.xorWith=Rb,O.zip=Eb,O.zipObject=Db,O.zipObjectDeep=Vb,O.zipWith=Ob,O.entries=Rf,O.entriesIn=Ef,O.extend=Tf,O.extendWith=js,yo(O,O),O.add=Ew,O.attempt=Mf,O.camelCase=M0,O.capitalize=Df,O.ceil=Dw,O.clamp=D0,O.clone=Iv,O.cloneDeep=Lv,O.cloneDeepWith=Av,O.cloneWith=Tv,O.conformsTo=Rv,O.deburr=Vf,O.defaultTo=cw,O.divide=Vw,O.endsWith=F0,O.eq=ai,O.escape=U0,O.escapeRegExp=B0,O.every=Jb,O.find=Yb,O.findIndex=rf,O.findKey=a0,O.findLast=Qb,O.findLastIndex=sf,O.findLastKey=o0,O.floor=Ow,O.forEach=df,O.forEachRight=hf,O.forIn=u0,O.forInRight=f0,O.forOwn=c0,O.forOwnRight=d0,O.get=vo,O.gt=Ev,O.gte=Dv,O.has=_0,O.hasIn=wo,O.head=of,O.identity=Dn,O.includes=ev,O.indexOf=Q1,O.inRange=V0,O.invoke=b0,O.isArguments=Vl,O.isArray=nt,O.isArrayBuffer=Vv,O.isArrayLike=Rn,O.isArrayLikeObject=qt,O.isBoolean=Ov,O.isBuffer=rl,O.isDate=Mv,O.isElement=Fv,O.isEmpty=Uv,O.isEqual=Bv,O.isEqualWith=Hv,O.isError=mo,O.isFinite=Wv,O.isFunction=Ui,O.isInteger=kf,O.isLength=Ks,O.isMap=Sf,O.isMatch=zv,O.isMatchWith=Gv,O.isNaN=qv,O.isNative=Kv,O.isNil=jv,O.isNull=Jv,O.isNumber=Cf,O.isObject=Wt,O.isObjectLike=Gt,O.isPlainObject=zr,O.isRegExp=bo,O.isSafeInteger=Yv,O.isSet=yf,O.isString=Js,O.isSymbol=Hn,O.isTypedArray=sr,O.isUndefined=Qv,O.isWeakMap=Zv,O.isWeakSet=Xv,O.join=eb,O.kebabCase=H0,O.last=ei,O.lastIndexOf=tb,O.lowerCase=W0,O.lowerFirst=z0,O.lt=$v,O.lte=xv,O.max=Mw,O.maxBy=Fw,O.mean=Uw,O.meanBy=Bw,O.min=Hw,O.minBy=Ww,O.stubArray=No,O.stubFalse=Io,O.stubObject=Nw,O.stubString=Iw,O.stubTrue=Tw,O.multiply=zw,O.nth=nb,O.noConflict=bw,O.noop=Po,O.now=zs,O.pad=G0,O.padEnd=q0,O.padStart=K0,O.parseInt=J0,O.random=O0,O.reduce=rv,O.reduceRight=sv,O.repeat=j0,O.replace=Y0,O.result=P0,O.round=Gw,O.runInContext=ee,O.sample=ov,O.size=cv,O.snakeCase=Q0,O.some=dv,O.sortedIndex=ub,O.sortedIndexBy=fb,O.sortedIndexOf=cb,O.sortedLastIndex=db,O.sortedLastIndexBy=hb,O.sortedLastIndexOf=gb,O.startCase=X0,O.startsWith=$0,O.subtract=qw,O.sum=Kw,O.sumBy=Jw,O.template=x0,O.times=Lw,O.toFinite=Bi,O.toInteger=lt,O.toLength=Nf,O.toLower=ew,O.toNumber=ti,O.toSafeInteger=e0,O.toString=yt,O.toUpper=tw,O.trim=nw,O.trimEnd=iw,O.trimStart=lw,O.truncate=rw,O.unescape=sw,O.uniqueId=Rw,O.upperCase=aw,O.upperFirst=ko,O.each=df,O.eachRight=hf,O.first=of,yo(O,function(){var a={};return pi(O,function(u,_){It.call(O.prototype,_)||(a[_]=u)}),a}(),{chain:!1}),O.VERSION=n,un(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){O[a].placeholder=O}),un(["drop","take"],function(a,u){dt.prototype[a]=function(_){_=_===t?1:$t(lt(_),0);var S=this.__filtered__&&!u?new dt(this):this.clone();return S.__filtered__?S.__takeCount__=gn(_,S.__takeCount__):S.__views__.push({size:gn(_,ie),type:a+(S.__dir__<0?"Right":"")}),S},dt.prototype[a+"Right"]=function(_){return this.reverse()[a](_).reverse()}}),un(["filter","map","takeWhile"],function(a,u){var _=u+1,S=_==Ce||_==J;dt.prototype[a]=function(L){var U=this.clone();return U.__iteratees__.push({iteratee:je(L,3),type:_}),U.__filtered__=U.__filtered__||S,U}}),un(["head","last"],function(a,u){var _="take"+(u?"Right":"");dt.prototype[a]=function(){return this[_](1).value()[0]}}),un(["initial","tail"],function(a,u){var _="drop"+(u?"":"Right");dt.prototype[a]=function(){return this.__filtered__?new dt(this):this[_](1)}}),dt.prototype.compact=function(){return this.filter(Dn)},dt.prototype.find=function(a){return this.filter(a).head()},dt.prototype.findLast=function(a){return this.reverse().find(a)},dt.prototype.invokeMap=st(function(a,u){return typeof a=="function"?new dt(this):this.map(function(_){return Mr(_,a,u)})}),dt.prototype.reject=function(a){return this.filter(qs(je(a)))},dt.prototype.slice=function(a,u){a=lt(a);var _=this;return _.__filtered__&&(a>0||u<0)?new dt(_):(a<0?_=_.takeRight(-a):a&&(_=_.drop(a)),u!==t&&(u=lt(u),_=u<0?_.dropRight(-u):_.take(u-a)),_)},dt.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},dt.prototype.toArray=function(){return this.take(ie)},pi(dt.prototype,function(a,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),S=/^(?:head|last)$/.test(u),L=O[S?"take"+(u=="last"?"Right":""):u],U=S||/^find/.test(u);L&&(O.prototype[u]=function(){var q=this.__wrapped__,Y=S?[1]:arguments,ne=q instanceof dt,ge=Y[0],_e=ne||nt(q),Se=function(ut){var _t=L.apply(O,$i([ut],Y));return S&&De?_t[0]:_t};_e&&_&&typeof ge=="function"&&ge.length!=1&&(ne=_e=!1);var De=this.__chain__,qe=!!this.__actions__.length,Ze=U&&!De,rt=ne&&!qe;if(!U&&_e){q=rt?q:new dt(this);var Xe=a.apply(q,Y);return Xe.__actions__.push({func:Hs,args:[Se],thisArg:t}),new Xn(Xe,De)}return Ze&&rt?a.apply(this,Y):(Xe=this.thru(Se),Ze?S?Xe.value()[0]:Xe.value():Xe)})}),un(["pop","push","shift","sort","splice","unshift"],function(a){var u=ds[a],_=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",S=/^(?:pop|shift)$/.test(a);O.prototype[a]=function(){var L=arguments;if(S&&!this.__chain__){var U=this.value();return u.apply(nt(U)?U:[],L)}return this[_](function(q){return u.apply(nt(q)?q:[],L)})}}),pi(dt.prototype,function(a,u){var _=O[u];if(_){var S=_.name+"";It.call(tr,S)||(tr[S]=[]),tr[S].push({name:u,func:_})}}),tr[Ds(t,y).name]=[{name:"wrapper",func:t}],dt.prototype.clone=sm,dt.prototype.reverse=am,dt.prototype.value=om,O.prototype.at=Fb,O.prototype.chain=Ub,O.prototype.commit=Bb,O.prototype.next=Hb,O.prototype.plant=zb,O.prototype.reverse=Gb,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=qb,O.prototype.first=O.prototype.head,Lr&&(O.prototype[Lr]=Wb),O},$l=Bp();Ge?((Ge.exports=$l)._=$l,yl._=$l):Ut._=$l}).call(qr)})(la,la.exports);var jr=la.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=ae.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:r=!0,preventContextUpdate:s=!1}=t;if(await Ot.shouldPreventNavigation(n)||ae.trimLeadingSlash(this.getWindowPath())===ae.trimLeadingSlash(e))return;const c=se.getConfigValue("routing.useHashRouting"),g=se.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=se.getConfigValue("routing.disableBrowserHistory")?"replaceState":h;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const m={detail:{preventContextUpdate:s,withoutSync:!r}},b=new CustomEvent("popstate",m);window.dispatchEvent(b)}getWindowPath(){return se.getConfigValue("routing.useHashRouting")?ae.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=ae.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=ae.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(ae.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 se.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?ae.trimLeadingSlash(window.location.pathname)+window.location.search:ae.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=se.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&we.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(se.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,s=t.get().unsavedChanges.persistUrl;return s&&history.pushState(window.state,"",s),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){se.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:s,intendToHaveEmptyViewUrl:o,compound:c}=e,g=s&&Array.isArray(s)&&s.length>0||s||!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(se.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,s,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=ae.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,ae.trimTrailingSlash(n.matchedPath)+"/"+c,s,!0),!0;const g=await Ot.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),"/"),d=await we.getDefaultChildNode(g);this.showPageNotFoundError(r,d,s,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,s,!0),!0)}async handleRouteChange(e,t,n,l,r,s=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const g=o&&o.length?ae.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 m=se.getConfigBooleanValue("settings.hideNavigation"),b=we.parseParams(g.split("?")[1]),v=we.getNodeParams(b),k=ke.findViewGroup(d),y=decodeURIComponent(g.split("?")[1]||""),P=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let N=!1,A=P;for(;A;){if(A.tabNav===!0){N=!0;break}else if(A.tabNav===!1){N=!1;break}else if(ae.isObject(A.tabNav)){if(A.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in A.tabNav&&A.children)if(A.tabNav.hideTabNavAutomatically===!0&&A.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}A=ke.getParentNode(A,h.navigationPath)}let E=P,V=d.hideSideNav;if(V===void 0)for(;E;){if(E.tabNav&&E.hideSideNav===!0){V=!0;break}if(E.hideSideNav===!1){V=!1;break}E=ke.getParentNode(E,h.navigationPath)}const D=we.substituteDynamicParamsInObject(Object.assign({},h.context,P.context),h.pathParams);h.navigationPath._context=D;const F={hideNav:m,viewUrl:p,nodeParams:v,viewGroup:k,urlParamsRaw:y,currentNode:P,navigationPath:h.navigationPath,context:D,pathParams:h.pathParams,hideSideNav:V||!1,isolateView:d.isolateView||!1,tabNav:N};t.set(Object.assign({},F,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let M=document.getElementsByClassName("iframeContainer")[0];if(M&&(N?M.classList.add("iframeContainerTabNav"):M.classList.contains("iframeContainerTabNav")&&M.classList.remove("iframeContainerTabNav")),d.compound)ui.switchActiveIframe(n,void 0,!1),M&&M.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ui.switchActiveIframe(n,void 0,!1),M&&M.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const K=document.querySelector(".wcContainer");if(K&&(K.configChangedRequest=!1),M&&(M.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!s)if(!r)await ui.navigateIframe(l,t,n);else{const Q=t.get(),ce=await t.prepareInternalData(l);Re.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 W=document.querySelector(".lui-tab-header");W&&W.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);tp.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let s=0;s<l.length;s++){let o=n.length>s?n[s]:void 0,c=l[s];if(o!==c.pathSegment||!r)if(we.isDynamicNode(c)){if(!r||o!==we.getDynamicNodeValue(c,e.pathParams)){Gn.deleteNodesRecursively(c);break}}else r=!1}}else Gn.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(ae.trimLeadingSlash(this.getWindowPath())===ae.trimLeadingSlash(n)){const r=Re.getIframeContainer(),s=ui.getActiveIframe(r);s&&s.vg&&ui.canCache(s.vg)?(ui.switchActiveIframe(Re.getIframeContainer(),void 0,!1),setTimeout(()=>{ui.switchActiveIframe(Re.getIframeContainer(),s,!1),window.postMessage({msg:"refreshRoute"},"*")})):(s&&r.removeChild(s),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const s=we.getPageNotFoundRedirectResult(n,l),o=s.path;if(o){s.keepURL?this.handleRouteChange(o,e,Re.getIframeContainer(),r):this.navigateTo(o);return}we.showRouteNotFoundAlert(e,n,l),this.navigateTo(ae.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={...E2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else ae.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:dr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),s=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=s.context,o.extendedContext&&(o.extendedContext.nodeParams=s.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&dr.renderWebComponent(s.viewUrl,n,s,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&jr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(s=>ke.checkVisibleForFeatureToggles(s))),dr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=we.getHashQueryParamSeparator();const r=we.getQueryParams(),s=we.getModalViewParamName();r[s]=e,t&&Object.keys(t).length&&(r[`${s}Params`]=JSON.stringify(t));const o=new URL(location.href);if(se.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(),s=l[r],o=new URL(location.href),c=se.getConfigBooleanValue("routing.useHashRouting");let g=history.state,d,h;if(c){let[p,m]=o.hash.split("?");d=p,h=we.getURLWithoutModalData(m,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),s!==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 m=p.hash.split("?")[0];p.hash=m,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(se.getConfigBooleanValue("routing.useHashRouting")){let s={};t[n]&&(s[n]=t[n]),t[`${n}Params`]&&(s[`${n}Params`]=t[`${n}Params`]);let o=we.encodeParams(s);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let s=new URLSearchParams(l.search.slice(1));s.delete(n),s.delete(`${n}Params`);let o="";Array.from(s.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+s.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const s=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",s),history.pushState({},"",s),history.back()):(history.pushState({},"",s),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const 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 it=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=Re.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?ae.getPathWithoutHash(t):"",l=await Ot.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),t),r=we.parseParams(n.split("?")[1]),s=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:s,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){dr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const s=document.querySelector(".wcContainer");if(s&&s.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const s={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(s),e.dispatch("iframeCreated",{...s,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(ae.computePxFromPercent(t,n)),r=e?100-e:60,s=parseInt(ae.computePxFromPercent(t,r));return{percent:n,bottom:l,top:s}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(ae.computePxFromPercent(t.rightContentHeight,100-e))+ae.getShellbarHeight();this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:ae.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,ae.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Re.getIframeContainer().style.marginBottom="",at.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Re.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Re.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Re.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const at=new H2;class W2{luigiAfterInit(){se.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const z2=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=se.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 fi=new G2;class q2{constructor(){return this._userInfoStore=hr({}),this._loggedInStore=hr(!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=se.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=se.getConfigValue(`auth.${e}`),n=ol.parseUrlAuthErrors()||{};if(await ol.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),ae.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const s=`Error: ${r.message||r}`;console.error(s,r.message&&r),se.setErrorMessage(s)}):this.checkAuth(t)}async checkAuth(e){const t=ol.getStoredAuthData();if(!t||!ol.isLoggedIn()){if(se.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await wi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&ae.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):ae.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(sl(this._userInfoStore))),ae.isFunction(se.getConfigValue("auth.events.onAuthSuccessful"))&&fi.isNewlyAuthorized()&&await wi.handleAuthEvent("onAuthSuccessful",e,t),fi.removeNewlyAuthorized(),ae.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),ae.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{fi.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ol.getStoredAuthData(),t=async l=>{await wi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),fi.removeAuthData()},n=se.getConfigValue(`auth.${se.getConfigValue("auth.use")}.logoutFn`);ae.isFunction(n)?n(this.idpProviderInstance.settings,e,t):ae.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=ae.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(s=>{if(!ae.isFunction(r[s]))throw this.IdpProviderException(`${s} function does not exist in custom IDP Provider ${e}`)}),r}if(ae.isFunction(se.getConfigValue("auth.events.onAuthConfigError")))await wi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&ae.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const rn=new q2;class K2{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(ae.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const s=l[r];n.searchParams.has(s.key)&&n.searchParams.delete(s.key);const o=s.valueFn();n.searchParams.append(s.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Yr=new K2;class J2{getStoredAuthData(){return fi.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=ae.getUrlParameter("error"),t=ae.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await wi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ol=new J2;class j2{sanitizeHtml(e=""){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/javascript:/g,"")}restoreSanitizedBrs(e=""){return e.replace(/<br\/>/g,"<br>").replace(/<br \/>/g,"<br>").replace(/<br>/g,"<br>").replace(/<br >/g,"<br>")}restoreSanitizedElements(e=""){let t=e;const n=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<n.length;l++){const r=new RegExp(`<${n[l]}/>`,"g"),s=new RegExp(`<${n[l]} />`,"g"),o=new RegExp(`<${n[l]}>`,"g"),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(s,`<${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((s,[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),m=new RegExp(`({${p}})`,"g");return{sanitizedText:s.sanitizedText.replace(m,h),links:s.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 _r=new j2;class Y2{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=jr.replace(r,/{([\s\S]+?)}/g,s=>{let o=s.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),jr.get(t,o,s)}):Object.entries(t).forEach(s=>{r=r.replace(new RegExp(this.escapeRegExp(n+s[0]),"g"),encodeURIComponent(s[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ci.isCustomLuigiContainer()?ci.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ci.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,s=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&s&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const s=Number(n[r]),o=Number(l[r]);if(s>o)return 1;if(o>s)return-1;if(!isNaN(s)&&isNaN(o))return 1;if(isNaN(s)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!se.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=s=>{r(s||!0)},t=()=>{r(!1)}});let l=se._remotePromises;return l||(l={counter:0,promises:[]},se._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 se._remotePromises?se._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const ae=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=ae.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ae.getUrlWithoutHash(n.viewUrl),s=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!s&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=ae.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=ae.getUrlWithoutHash(n.viewUrl),s=this.getLocation(l),o=this.getLocation(r);if(s===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 f2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:ae.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(ae.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Re.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const s=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=se.getConfigValue("settings.customSandboxRules"),c=se.getConfigValue("settings.allowRules"),g=o?[...new Set([...s,...o])]:s,d=document.createElement("iframe");d.src=Yr.hasDecorators()?Yr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,m)=>{c[m]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=g.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:ae.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const h=se.getConfigValue("settings.iframeCreationInterceptor");if(ae.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=[...Re.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(s=>this.isMessageSource(e,s));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Re.specialIframeTypes.filter(n=>Re.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Uo.getActiveFeatureToggleList(),currentLocale:bt.getCurrentLocale(),currentTheme:Do.getCurrentTheme()}}}const Re=new Q2;class Z2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=se.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 ae.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(wi.isAuthorizationEnabled()){const r=ol.isLoggedIn(),s=e.anonymousAccess;if(r&&s==="exclusive"||!r&&s!=="exclusive"&&s!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=se.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=se.getConfigValue("navigation.defaults.category");let r={},s=0,o=0;const c=g=>{g.sort((d,h)=>{const p=d.order||0,m=h.order||0;return p-m})};return e.forEach(g=>{let d,h;const p=g[t];ae.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 m=r[d];m||(n&&p&&o++,(h.order===void 0||h.order===null||h.order==="")&&(h.order=d?s++:-1),m=[],r[d]=m),m.metaInfo||(m.metaInfo=h),ae.isObject(p)&&m.metaInfo._fromString&&(delete m.metaInfo._fromString,m.metaInfo={...m.metaInfo,...p}),ae.isObject(p)&&l&&(p.titleExpandButton?m.metaInfo.titleExpandButton=p.titleExpandButton:m.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?m.metaInfo.titleCollapseButton=p.titleCollapseButton:m.metaInfo.titleCollapseButton=l.titleCollapseButton),!m.metaInfo.categoryUid&&d&&(m.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+d:d),g.hideFromNav||m.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=se.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":bt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ot.getFilteredChildren(e[0]);let n=null,l=0,r=0,s={};const o=[];let c=[];for(const d of t){e.forEach(m=>{!n&&m===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 m=d.category.label||d.category;if(s[m]){if(s[m].icon||(s[m].icon=d.category.icon,s[m].altText=d.category.altText),p&&!s[m].badgeCounter)s[m].badgeCounter={label:"",count:()=>h};else if(p){const b=s[m].badgeCounter.count()+h;s[m].badgeCounter.count=()=>b}}else s[m]={isCat:!0,label:m,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>h}},o.push(s[m]);s[m].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: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:se.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(s=>s.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let s=l.indexOf(e);s>=0&&l.splice(s,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";it.navigateTo(t)}}getBurgerTooltipConfig(){const e=se.getConfigValue("settings.burgerTooltip");if(ae.isObject(e)||e===!0){const t=e.navExpanded?bt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?bt.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:jr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const s=r.substr(2,r.length-3);return this.getPropertyChainValue(t,s)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const s=this.substituteVars(r,t),o=JSON.stringify(s);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=s.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,s,e);e.titleResolver._cache={key:o,value:h},n(h)}catch(h){l(h)}})}).catch(g=>{l(g)})}).catch(n=>{jr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=bt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=ae.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 se.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&&Re.getLocation(e.viewUrl)===Re.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}}const ke=new Z2;class X2{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 ta.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(s=>s.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const 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 s=r.split("=");s&&s.length>0&&(t[decodeURIComponent(s[0])]=decodeURIComponent(s[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=se.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=se.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return se.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(se.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=se.getConfigValue("routing.useHashRouting");Mn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?it.getHashPath():it.getModifiedPathname();e(l)}}),Mn.addEventListener("popstate",n=>{const l=t?it.getHashPath(location.href):it.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const s=e.externalLink.url,o={context:we.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(s,o)}else if(e.link){const s=e.link.startsWith("/")?e.link:it.buildFromRelativePath(e);return l+s}const r=we.buildRoute(e,`/${e.pathSegment}`);return l+ae.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=we.getRouteLink(e,t,se.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(se.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,s])=>{const o=l?Object.keys(t).find(c=>s&&s.indexOf(n+c)>=0):Object.keys(t).find(c=>s===n+c);return[r,o?l?s.replace(n+o,t[o]):t[o]:s]}).reduce((r,[s,o])=>Object.assign(r,{[s]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=ae.trimLeadingSlash(e).split("/"),l=we.buildRoute(t,`/${t.pathSegment}`),r=ae.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let s="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;s+="/"+n[o]}return s}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=bt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=ae.replaceVars(e,t.pathParams,":",!1),e=ae.replaceVars(e,t.context,n),e=ae.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const s=e.split("?")[1];if(s){const o=s.split("=")[0];al.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,al.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[_r.sanitizeParam(n[0])]=_r.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(s=>Uo.setFeatureToggle(s,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=se.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const s=Object.entries(l.params);if(s&&s.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=se.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),s.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 s=new RegExp("/:"+l+"(/|$)","g");n=n.replace(s,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in al.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=al.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(ae.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(s=>{s in l&&e.clientPermissions.urlParameters[s].write===!0&&(r[s]=l[s],delete l[s])});for(const s in l)console.warn(`No permission to add the search param "${s}" to the url`);Object.keys(r).length>0&&al.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=se.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:bt.getTranslation(n?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,n){for(const[l,r]of Object.entries(e)){const s=n?`${n}${l}`:l;t.set(s,r),r===void 0&&t.delete(s)}}addParamsOnHashRouting(e,t,n){let l=t;const[r,s]=l.split("?"),o=new URLSearchParams(s);return this.modifySearchParams(e,o,n),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let n=new URLSearchParams(e);return n.delete(t),n.delete(`${t}Params`),n.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const we=new X2;class $2{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 $2;class x2{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 x2;class ek{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const s=this[l];if(typeof s!="function")throw l+" is not a supported operation for the storage";const o=s.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(s){console.log(s),this.sendBackOperation(e,n,"ERROR",s)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Re.getMicrofrontendsInDom().filter(s=>s.id===e).map(s=>s.container).map(s=>Re.sendMessageToIframe(s,r))}}const tk=new ek;class nk{constructor(){}processUserSettingGroups(){const e=[],t=se.getConfigValue("userSettings.userSettingGroups"),n=se.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(ae.isObject(l)){for(const r in l){let s={};s[r]=l[r],e.push(s)}return e}return e}createIframe(e,t){const n=Re.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const fr=new nk;class ik{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 qf=new ik;function Kf(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,s,o,c,g;function d(){return i[4](i[9])}return{c(){e=C("div"),t=C("p"),l=z(),r=C("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',s=z(),f(t,"class","fd-message-strip__text svelte-1os9sp8"),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-1os9sp8"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(h,p){T(h,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,s),c||(g=le(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-1os9sp8")&&f(e,"class",o)},d(h){h&&I(e),c=!1,g()}}}function lk(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jf(Kf(i,t,l));return{c(){e=C("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1os9sp8"),f(e,"aria-hidden","false")},m(l,r){T(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Kf(l,t,s);n[s]?n[s].p(o,r):(n[s]=Jf(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},i:ze,o:ze,d(l){l&&I(e),ot(n,l),i[5](null)}}}function rk(i,e,t){const n=zt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,s;const o=pt("getUnsavedChangesModalPromise"),c=pt("handleNavigation");Kn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(m=>{const{text:b,links:v,closeAfter:k}=m.settings,y=_r.processTextAndLinks(b,v,m.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{g(P,m.settings.id)})}),m.settings.afterInit){const P=s;m.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...m.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Jt(()=>{});function g(p,m){try{const b=document.getElementById(p.elemId);b.dismissListener&&b.removeEventListener("click",b.dismissListener);const v=k=>{if(p.url){const y=!p.url.startsWith("/");k.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:m,dismissKey:p.dismissKey})};b.addEventListener("click",v),b.dismissListener=v}catch(b){console.error("Error on Alert::addClickListener",b)}}const d=p=>n("alertDismiss",{id:p.settings.id});function h(p){Ye[p?"unshift":"push"](()=>{s=p,t(2,s)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,s,n,d,h]}class sk extends Vt{constructor(e){super(),Dt(this,e,rk,lk,Rt,{alertQueue:0,alertTypeMap:1})}}const Fl=38,zi=40,Si=13,ki=27,Qr=32,ak=36,ok=35;function jf(i){let e,t;return{c(){e=C("i"),f(e,"class",t=ii(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t=ii(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&I(e)}}}function Yf(i){let e,t,n=i[0].buttonConfirm+"",l,r,s;return{c(){e=C("div"),t=C("button"),l=Ie(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){T(o,e,c),w(e,t),w(t,l),r||(s=le(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Te(l,n)},d(o){o&&I(e),r=!1,s()}}}function uk(i){let e,t,n,l,r,s,o,c=i[0].header+"",g,d,h,p=i[0].body+"",m,b,v,k,y,P,N=i[0].buttonDismiss+"",A,E,V,D,F,M=i[0].type&&jf(i),W=i[0].buttonConfirm!==!1&&Yf(i);return{c(){e=C("div"),t=C("section"),n=C("header"),l=C("div"),r=C("div"),M&&M.c(),s=z(),o=C("h2"),g=Ie(c),d=z(),h=C("div"),m=z(),b=C("footer"),v=C("div"),W&&W.c(),k=z(),y=C("div"),P=C("button"),A=Ie(N),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(h,"class","fd-message-box__body svelte-1d21c96"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",E="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(b,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",V="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(K,Q){T(K,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),M&&M.m(r,null),w(r,s),w(r,o),w(o,g),w(t,d),w(t,h),h.innerHTML=p,w(t,m),w(t,b),w(b,v),W&&W.m(v,null),w(v,k),w(v,y),w(y,P),w(P,A),D||(F=[le(window,"keydown",i[1]),le(P,"click",i[5])],D=!0)},p(K,[Q]){K[0].type?M?M.p(K,Q):(M=jf(K),M.c(),M.m(r,s)):M&&(M.d(1),M=null),Q&1&&c!==(c=K[0].header+"")&&Te(g,c),Q&1&&p!==(p=K[0].body+"")&&(h.innerHTML=p),K[0].buttonConfirm!==!1?W?W.p(K,Q):(W=Yf(K),W.c(),W.m(v,k)):W&&(W.d(1),W=null),Q&1&&N!==(N=K[0].buttonDismiss+"")&&Te(A,N),Q&1&&E!==(E="fd-button "+(K[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",E),Q&1&&V!==(V="fd-message-box-docs-static fd-message-box fd-message-box--"+K[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",V)},i:ze,o:ze,d(K){K&&I(e),M&&M.d(),W&&W.d(),D=!1,$e(F)}}}function fk(i,e,t){const n=zt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Xr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{const d={icon:r[l.type],header:bt.getTranslation("luigi.confirmationModal.header"),body:bt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:bt.getTranslation("luigi.button.dismiss"),buttonConfirm:bt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:_r.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Re.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 s(d){return ke.renderIconClassName(d)}function o(d){d.keyCode===ki&&n("modalDismiss")}const c=()=>n("modalConfirm"),g=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,s,c,g]}class ck extends Vt{constructor(e){super(),Dt(this,e,fk,uk,Rt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function dk(i){let e,t,n;const l=i[5].default,r=B_(l,i,i[4],null);return{c(){e=C("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(s,o){T(s,e,o),r&&r.m(e,null),n=!0},p(s,[o]){r&&r.p&&(!n||o&16)&&z_(r,l,s,s[4],n?W_(l,s[4],o,null):G_(s[4]),null),(!n||o&3&&t!==(t=s[0]+" "+(s[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(s){n||(R(r,s),n=!0)},o(s){B(r,s),n=!1},d(s){s&&I(e),r&&r.d(s)}}}function hk(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=zt();let{backdropClass:s=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:d}=e,{disable:h}=e;const p=()=>{const b="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,s=b+g.data.heightCssClass):t(0,s=b+"height-auto"):t(0,s="")},m=b=>{if(!d)return!0;const k=[...Re.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===b.source);return!(k&&d===k.type)};return Jt(()=>{se.getConfigValue("settings.backdropDisabled")||(p(),Mn.addEventListener("message",v=>{const k=Re.getValidMessageSource(v);k&&h!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=m(v)),r("stateChanged",{backdropActive:!0}),Re.disableA11yOfInactiveIframe(k)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Re.enableA11yOfInactiveIframe()))}))}),Kn(()=>{o!==c&&(c=o,p())}),i.$$set=b=>{"backdropClass"in b&&t(0,s=b.backdropClass),"backdropActive"in b&&t(2,o=b.backdropActive),"area"in b&&t(1,d=b.area),"disable"in b&&t(3,h=b.disable),"$$scope"in b&&t(4,l=b.$$scope)},[s,d,o,h,l,n]}class Ul extends Vt{constructor(e){super(),Dt(this,e,hk,dk,Rt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Qf(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b;t=new Ul({props:{disable:i[2]}});let v=i[0].title&&Zf(i);return{c(){e=C("div"),Fe(t.$$.fragment),n=z(),l=C("div"),r=C("div"),v&&v.c(),s=z(),o=C("div"),c=C("div"),g=C("button"),d=C("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-k9bftu")},m(k,y){T(k,e,y),Oe(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,s),w(e,o),w(o,c),w(c,g),w(g,d),p=!0,m||(b=le(g,"click",i[11]),m=!0)},p(k,y){const P={};y&4&&(P.disable=k[2]),t.$set(P),k[0].title?v?v.p(k,y):(v=Zf(k),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&h!==(h=k[0].closebtn_data_testid&&k[5]?k[0].closebtn_data_testid:"lui-modal-index-"+k[1]))&&f(g,"data-testid",h)},i(k){p||(R(t.$$.fragment,k),p=!0)},o(k){B(t.$$.fragment,k),p=!1},d(k){k&&I(e),Me(t),v&&v.d(),m=!1,b()}}}function Zf(i){let e,t=i[0].title+"",n;return{c(){e=C("h2"),n=Ie(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Te(n,t)},d(l){l&&I(e)}}}function Xf(i){let e;const t=i[10].default,n=B_(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)&&z_(n,t,l,l[9],e?W_(t,l[9],r,null):G_(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){B(n,l),e=!1},d(l){n&&n.d(l)}}}function $f(i){let e;return{c(){e=C("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 rt=Mf(function(){return kt(U,qe+"return "+Se).apply(t,q)});if(rt.source=Se,mo(rt))throw rt;return rt}function nw(s){return yt(s).toLowerCase()}function iw(s){return yt(s).toUpperCase()}function lw(s,u,_){if(s=yt(s),s&&(_||u===t))return qo(s);if(!s||!(u=Bn(u)))return s;var S=ri(s),L=ri(u),U=Ko(S,L),q=Jo(S,L)+1;return ll(S,U,q).join("")}function rw(s,u,_){if(s=yt(s),s&&(_||u===t))return s.slice(0,Yo(s)+1);if(!s||!(u=Bn(u)))return s;var S=ri(s),L=Jo(S,ri(u))+1;return ll(S,0,L).join("")}function aw(s,u,_){if(s=yt(s),s&&(_||u===t))return s.replace(Sn,"");if(!s||!(u=Bn(u)))return s;var S=ri(s),L=Ko(S,ri(u));return ll(S,L).join("")}function sw(s,u){var _=W,S=K;if(Wt(u)){var L="separator"in u?u.separator:L;_="length"in u?lt(u.length):_,S="omission"in u?Bn(u.omission):S}s=yt(s);var U=s.length;if(Zl(s)){var q=ri(s);U=q.length}if(_>=U)return s;var Y=_-Xl(S);if(Y<1)return S;var ne=q?ll(q,0,Y).join(""):s.slice(0,Y);if(L===t)return ne+S;if(q&&(Y+=ne.length-Y),bo(L)){if(s.slice(Y).search(L)){var he,_e=ne;for(L.global||(L=Ds(L.source,yt(Cn.exec(L))+"g")),L.lastIndex=0;he=L.exec(_e);)var Se=he.index;ne=ne.slice(0,Se===t?Y:Se)}}else if(s.indexOf(Bn(L),Y)!=Y){var De=ne.lastIndexOf(L);De>-1&&(ne=ne.slice(0,De))}return ne+S}function ow(s){return s=yt(s),s&&pl.test(s)?s.replace(Gi,Fp):s}var uw=lr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),ko=Mu("toUpperCase");function Of(s,u,_){return s=yt(s),u=_?t:u,u===t?Ep(s)?Hp(s):Cp(s):s.match(u)||[]}var Mf=at(function(s,u){try{return on(s,t,u)}catch(_){return mo(_)?_:new et(_)}}),fw=Mi(function(s,u){return un(u,function(_){_=bi(_),Vi(s,_,_o(s[_],s))}),s});function cw(s){var u=s==null?0:s.length,_=je();return s=u?Bt(s,function(S){if(typeof S[1]!="function")throw new Zn(a);return[_(S[0]),S[1]]}):[],at(function(S){for(var L=-1;++L<u;){var U=s[L];if(on(U[0],this,S))return on(U[1],this,S)}})}function dw(s){return Fm($n(s,h))}function So(s){return function(){return s}}function gw(s,u){return s==null||s!==s?u:s}var hw=Uu(),_w=Uu(!0);function Dn(s){return s}function Co(s){return hu(typeof s=="function"?s:$n(s,h))}function pw(s){return pu($n(s,h))}function mw(s,u){return mu(s,$n(u,h))}var bw=at(function(s,u){return function(_){return Mr(_,s,u)}}),vw=at(function(s,u){return function(_){return Mr(s,_,u)}});function yo(s,u,_){var S=nn(u),L=Ta(u,S);_==null&&!(Wt(u)&&(L.length||!S.length))&&(_=u,u=s,s=this,L=Ta(u,nn(u)));var U=!(Wt(_)&&"chain"in _)||!!_.chain,q=Ui(s);return un(L,function(Y){var ne=u[Y];s[Y]=ne,q&&(s.prototype[Y]=function(){var he=this.__chain__;if(U||he){var _e=s(this.__wrapped__),Se=_e.__actions__=An(this.__actions__);return Se.push({func:ne,args:arguments,thisArg:s}),_e.__chain__=he,_e}return ne.apply(s,$i([this.value()],arguments))})}),s}function ww(){return Ut._===this&&(Ut._=Jp),this}function Po(){}function kw(s){return s=lt(s),at(function(u){return bu(u,s)})}var Sw=to(Bt),Cw=to(fn),yw=to(Ns);function Ff(s){return oo(s)?Is(bi(s)):e1(s)}function Pw(s){return function(u){return s==null?t:Rl(s,u)}}var Nw=Hu(),Iw=Hu(!0);function No(){return[]}function Io(){return!1}function Tw(){return{}}function Lw(){return""}function Aw(){return!0}function Rw(s,u){if(s=lt(s),s<1||s>te)return[];var _=ie,S=hn(s,ie);u=je(u),s-=ie;for(var L=As(S,u);++_<s;)u(_);return L}function Ew(s){return nt(s)?Bt(s,bi):Hn(s)?[s]:An(nf(yt(s)))}function Dw(s){var u=++qp;return yt(s)+u}var Vw=Va(function(s,u){return s+u},0),Ow=no("ceil"),Mw=Va(function(s,u){return s/u},1),Fw=no("floor");function Uw(s){return s&&s.length?Ia(s,Dn,Ws):t}function Bw(s,u){return s&&s.length?Ia(s,je(u,2),Ws):t}function Hw(s){return zo(s,Dn)}function Ww(s,u){return zo(s,je(u,2))}function zw(s){return s&&s.length?Ia(s,Dn,Ks):t}function Gw(s,u){return s&&s.length?Ia(s,je(u,2),Ks):t}var qw=Va(function(s,u){return s*u},1),Kw=no("round"),Jw=Va(function(s,u){return s-u},0);function jw(s){return s&&s.length?Ls(s,Dn):0}function Yw(s,u){return s&&s.length?Ls(s,je(u,2)):0}return O.after=pv,O.ary=hf,O.assign=i0,O.assignIn=Tf,O.assignInWith=ja,O.assignWith=l0,O.at=r0,O.before=_f,O.bind=_o,O.bindAll=fw,O.bindKey=pf,O.castArray=Tv,O.chain=cf,O.chunk=F1,O.compact=U1,O.concat=B1,O.cond=cw,O.conforms=dw,O.constant=So,O.countBy=jb,O.create=a0,O.curry=mf,O.curryRight=bf,O.debounce=vf,O.defaults=s0,O.defaultsDeep=o0,O.defer=mv,O.delay=bv,O.difference=H1,O.differenceBy=W1,O.differenceWith=z1,O.drop=G1,O.dropRight=q1,O.dropRightWhile=K1,O.dropWhile=J1,O.fill=j1,O.filter=Qb,O.flatMap=$b,O.flatMapDeep=xb,O.flatMapDepth=ev,O.flatten=sf,O.flattenDeep=Y1,O.flattenDepth=Q1,O.flip=vv,O.flow=hw,O.flowRight=_w,O.fromPairs=Z1,O.functions=_0,O.functionsIn=p0,O.groupBy=tv,O.initial=$1,O.intersection=x1,O.intersectionBy=eb,O.intersectionWith=tb,O.invert=b0,O.invertBy=v0,O.invokeMap=iv,O.iteratee=Co,O.keyBy=lv,O.keys=nn,O.keysIn=En,O.map=Wa,O.mapKeys=k0,O.mapValues=S0,O.matches=pw,O.matchesProperty=mw,O.memoize=Ga,O.merge=C0,O.mergeWith=Lf,O.method=bw,O.methodOf=vw,O.mixin=yo,O.negate=qa,O.nthArg=kw,O.omit=y0,O.omitBy=P0,O.once=wv,O.orderBy=rv,O.over=Sw,O.overArgs=kv,O.overEvery=Cw,O.overSome=yw,O.partial=po,O.partialRight=wf,O.partition=av,O.pick=N0,O.pickBy=Af,O.property=Ff,O.propertyOf=Pw,O.pull=rb,O.pullAll=uf,O.pullAllBy=ab,O.pullAllWith=sb,O.pullAt=ob,O.range=Nw,O.rangeRight=Iw,O.rearg=Sv,O.reject=uv,O.remove=ub,O.rest=Cv,O.reverse=go,O.sampleSize=cv,O.set=T0,O.setWith=L0,O.shuffle=dv,O.slice=fb,O.sortBy=_v,O.sortedUniq=mb,O.sortedUniqBy=bb,O.split=$0,O.spread=yv,O.tail=vb,O.take=wb,O.takeRight=kb,O.takeRightWhile=Sb,O.takeWhile=Cb,O.tap=Ub,O.throttle=Pv,O.thru=Ha,O.toArray=Pf,O.toPairs=Rf,O.toPairsIn=Ef,O.toPath=Ew,O.toPlainObject=If,O.transform=A0,O.unary=Nv,O.union=yb,O.unionBy=Pb,O.unionWith=Nb,O.uniq=Ib,O.uniqBy=Tb,O.uniqWith=Lb,O.unset=R0,O.unzip=ho,O.unzipWith=ff,O.update=E0,O.updateWith=D0,O.values=sr,O.valuesIn=V0,O.without=Ab,O.words=Of,O.wrap=Iv,O.xor=Rb,O.xorBy=Eb,O.xorWith=Db,O.zip=Vb,O.zipObject=Ob,O.zipObjectDeep=Mb,O.zipWith=Fb,O.entries=Rf,O.entriesIn=Ef,O.extend=Tf,O.extendWith=ja,yo(O,O),O.add=Vw,O.attempt=Mf,O.camelCase=U0,O.capitalize=Df,O.ceil=Ow,O.clamp=O0,O.clone=Lv,O.cloneDeep=Rv,O.cloneDeepWith=Ev,O.cloneWith=Av,O.conformsTo=Dv,O.deburr=Vf,O.defaultTo=gw,O.divide=Mw,O.endsWith=B0,O.eq=si,O.escape=H0,O.escapeRegExp=W0,O.every=Yb,O.find=Zb,O.findIndex=rf,O.findKey=u0,O.findLast=Xb,O.findLastIndex=af,O.findLastKey=f0,O.floor=Fw,O.forEach=df,O.forEachRight=gf,O.forIn=c0,O.forInRight=d0,O.forOwn=g0,O.forOwnRight=h0,O.get=vo,O.gt=Vv,O.gte=Ov,O.has=m0,O.hasIn=wo,O.head=of,O.identity=Dn,O.includes=nv,O.indexOf=X1,O.inRange=M0,O.invoke=w0,O.isArguments=Vl,O.isArray=nt,O.isArrayBuffer=Mv,O.isArrayLike=Rn,O.isArrayLikeObject=qt,O.isBoolean=Fv,O.isBuffer=rl,O.isDate=Uv,O.isElement=Bv,O.isEmpty=Hv,O.isEqual=Wv,O.isEqualWith=zv,O.isError=mo,O.isFinite=Gv,O.isFunction=Ui,O.isInteger=kf,O.isLength=Ka,O.isMap=Sf,O.isMatch=qv,O.isMatchWith=Kv,O.isNaN=Jv,O.isNative=jv,O.isNil=Qv,O.isNull=Yv,O.isNumber=Cf,O.isObject=Wt,O.isObjectLike=Gt,O.isPlainObject=zr,O.isRegExp=bo,O.isSafeInteger=Zv,O.isSet=yf,O.isString=Ja,O.isSymbol=Hn,O.isTypedArray=ar,O.isUndefined=Xv,O.isWeakMap=$v,O.isWeakSet=xv,O.join=nb,O.kebabCase=z0,O.last=ei,O.lastIndexOf=ib,O.lowerCase=G0,O.lowerFirst=q0,O.lt=e0,O.lte=t0,O.max=Uw,O.maxBy=Bw,O.mean=Hw,O.meanBy=Ww,O.min=zw,O.minBy=Gw,O.stubArray=No,O.stubFalse=Io,O.stubObject=Tw,O.stubString=Lw,O.stubTrue=Aw,O.multiply=qw,O.nth=lb,O.noConflict=ww,O.noop=Po,O.now=za,O.pad=K0,O.padEnd=J0,O.padStart=j0,O.parseInt=Y0,O.random=F0,O.reduce=sv,O.reduceRight=ov,O.repeat=Q0,O.replace=Z0,O.result=I0,O.round=Kw,O.runInContext=ee,O.sample=fv,O.size=gv,O.snakeCase=X0,O.some=hv,O.sortedIndex=cb,O.sortedIndexBy=db,O.sortedIndexOf=gb,O.sortedLastIndex=hb,O.sortedLastIndexBy=_b,O.sortedLastIndexOf=pb,O.startCase=x0,O.startsWith=ew,O.subtract=Jw,O.sum=jw,O.sumBy=Yw,O.template=tw,O.times=Rw,O.toFinite=Bi,O.toInteger=lt,O.toLength=Nf,O.toLower=nw,O.toNumber=ti,O.toSafeInteger=n0,O.toString=yt,O.toUpper=iw,O.trim=lw,O.trimEnd=rw,O.trimStart=aw,O.truncate=sw,O.unescape=ow,O.uniqueId=Dw,O.upperCase=uw,O.upperFirst=ko,O.each=df,O.eachRight=gf,O.first=of,yo(O,function(){var s={};return pi(O,function(u,_){It.call(O.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),O.VERSION=n,un(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){O[s].placeholder=O}),un(["drop","take"],function(s,u){dt.prototype[s]=function(_){_=_===t?1:$t(lt(_),0);var S=this.__filtered__&&!u?new dt(this):this.clone();return S.__filtered__?S.__takeCount__=hn(_,S.__takeCount__):S.__views__.push({size:hn(_,ie),type:s+(S.__dir__<0?"Right":"")}),S},dt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),un(["filter","map","takeWhile"],function(s,u){var _=u+1,S=_==Ce||_==J;dt.prototype[s]=function(L){var U=this.clone();return U.__iteratees__.push({iteratee:je(L,3),type:_}),U.__filtered__=U.__filtered__||S,U}}),un(["head","last"],function(s,u){var _="take"+(u?"Right":"");dt.prototype[s]=function(){return this[_](1).value()[0]}}),un(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");dt.prototype[s]=function(){return this.__filtered__?new dt(this):this[_](1)}}),dt.prototype.compact=function(){return this.filter(Dn)},dt.prototype.find=function(s){return this.filter(s).head()},dt.prototype.findLast=function(s){return this.reverse().find(s)},dt.prototype.invokeMap=at(function(s,u){return typeof s=="function"?new dt(this):this.map(function(_){return Mr(_,s,u)})}),dt.prototype.reject=function(s){return this.filter(qa(je(s)))},dt.prototype.slice=function(s,u){s=lt(s);var _=this;return _.__filtered__&&(s>0||u<0)?new dt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=lt(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},dt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},dt.prototype.toArray=function(){return this.take(ie)},pi(dt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),S=/^(?:head|last)$/.test(u),L=O[S?"take"+(u=="last"?"Right":""):u],U=S||/^find/.test(u);L&&(O.prototype[u]=function(){var q=this.__wrapped__,Y=S?[1]:arguments,ne=q instanceof dt,he=Y[0],_e=ne||nt(q),Se=function(ut){var _t=L.apply(O,$i([ut],Y));return S&&De?_t[0]:_t};_e&&_&&typeof he=="function"&&he.length!=1&&(ne=_e=!1);var De=this.__chain__,qe=!!this.__actions__.length,Ze=U&&!De,rt=ne&&!qe;if(!U&&_e){q=rt?q:new dt(this);var Xe=s.apply(q,Y);return Xe.__actions__.push({func:Ha,args:[Se],thisArg:t}),new Xn(Xe,De)}return Ze&&rt?s.apply(this,Y):(Xe=this.thru(Se),Ze?S?Xe.value()[0]:Xe.value():Xe)})}),un(["pop","push","shift","sort","splice","unshift"],function(s){var u=da[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",S=/^(?:pop|shift)$/.test(s);O.prototype[s]=function(){var L=arguments;if(S&&!this.__chain__){var U=this.value();return u.apply(nt(U)?U:[],L)}return this[_](function(q){return u.apply(nt(q)?q:[],L)})}}),pi(dt.prototype,function(s,u){var _=O[u];if(_){var S=_.name+"";It.call(tr,S)||(tr[S]=[]),tr[S].push({name:u,func:_})}}),tr[Da(t,y).name]=[{name:"wrapper",func:t}],dt.prototype.clone=om,dt.prototype.reverse=um,dt.prototype.value=fm,O.prototype.at=Bb,O.prototype.chain=Hb,O.prototype.commit=Wb,O.prototype.next=zb,O.prototype.plant=qb,O.prototype.reverse=Kb,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=Jb,O.prototype.first=O.prototype.head,Lr&&(O.prototype[Lr]=Gb),O},$l=Wp();Ge?((Ge.exports=$l)._=$l,yl._=$l):Ut._=$l}).call(qr)})(ls,ls.exports);var jr=ls.exports;class W2{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=se.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ot.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ot.shouldPreventNavigation(n)||se.trimLeadingSlash(this.getWindowPath())===se.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 m={detail:{preventContextUpdate:a,withoutSync:!r}},b=new CustomEvent("popstate",m);window.dispatchEvent(b)}getWindowPath(){return ae.getConfigValue("routing.useHashRouting")?se.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=se.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=se.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(se.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=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?se.trimLeadingSlash(window.location.pathname)+window.location.search:se.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&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 Ot.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 Ot.getChildren(g,d));if(n.isExistingRoute){const g=se.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,se.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const g=await Ot.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?se.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 m=ae.getConfigBooleanValue("settings.hideNavigation"),b=we.parseParams(g.split("?")[1]),v=we.getNodeParams(b),k=ke.findViewGroup(d),y=decodeURIComponent(g.split("?")[1]||""),P=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let N=!1,A=P;for(;A;){if(A.tabNav===!0){N=!0;break}else if(A.tabNav===!1){N=!1;break}else if(se.isObject(A.tabNav)){if(A.tabNav.showAsTabHeader){N=!0;break}if("hideTabNavAutomatically"in A.tabNav&&A.children)if(A.tabNav.hideTabNavAutomatically===!0&&A.children.length===1){N=!1;break}else{N=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}A=ke.getParentNode(A,h.navigationPath)}let E=P,V=d.hideSideNav;if(V===void 0)for(;E;){if(E.tabNav&&E.hideSideNav===!0){V=!0;break}if(E.hideSideNav===!1){V=!1;break}E=ke.getParentNode(E,h.navigationPath)}const D=we.substituteDynamicParamsInObject(Object.assign({},h.context,P.context),h.pathParams);h.navigationPath._context=D;const F={hideNav:m,viewUrl:p,nodeParams:v,viewGroup:k,urlParamsRaw:y,currentNode:P,navigationPath:h.navigationPath,context:D,pathParams:h.pathParams,hideSideNav:V||!1,isolateView:d.isolateView||!1,tabNav:N};t.set(Object.assign({},F,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let M=document.getElementsByClassName("iframeContainer")[0];if(M&&(N?M.classList.add("iframeContainerTabNav"):M.classList.contains("iframeContainerTabNav")&&M.classList.remove("iframeContainerTabNav")),d.compound)ui.switchActiveIframe(n,void 0,!1),M&&M.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ui.switchActiveIframe(n,void 0,!1),M&&M.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const K=document.querySelector(".wcContainer");if(K&&(K.configChangedRequest=!1),M&&(M.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await ui.navigateIframe(l,t,n);else{const Q=t.get(),ce=await t.prepareInternalData(l);Re.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 W=document.querySelector(".lui-tab-header");W&&W.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);np.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)){Gn.deleteNodesRecursively(c);break}}else r=!1}}else Gn.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(se.trimLeadingSlash(this.getWindowPath())===se.trimLeadingSlash(n)){const r=Re.getIframeContainer(),a=ui.getActiveIframe(r);a&&a.vg&&ui.canCache(a.vg)?(ui.switchActiveIframe(Re.getIframeContainer(),void 0,!1),setTimeout(()=>{ui.switchActiveIframe(Re.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=we.getPageNotFoundRedirectResult(n,l),o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Re.getIframeContainer(),r):this.navigateTo(o);return}we.showRouteNotFoundAlert(e,n,l),this.navigateTo(se.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...V2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else se.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=we.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:dr.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&dr.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&jr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>ke.checkVisibleForFeatureToggles(a))),dr.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=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,m]=o.hash.split("?");d=p,h=we.getURLWithoutModalData(m,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 m=p.hash.split("?")[0];p.hash=m,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 it=new W2;class z2{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=Re.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?se.getPathWithoutHash(t):"",l=await Ot.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){dr.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(se.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(se.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(se.computePxFromPercent(t.rightContentHeight,100-e))+se.getShellbarHeight();this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:se.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,se.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Re.getIframeContainer().style.marginBottom="",st.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Re.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Re.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Re.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const st=new z2;class G2{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{$r.hideAppLoadingIndicator()},0)}}const q2=new G2;class K2{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 fi=new K2;class J2{constructor(){return this._userInfoStore=gr({}),this._loggedInStore=gr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ae.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ae.getConfigValue(`auth.${e}`),n=ol.parseUrlAuthErrors()||{};if(await ol.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),se.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=ol.getStoredAuthData();if(!t||!ol.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await wi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&se.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):se.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(al(this._userInfoStore))),se.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&fi.isNewlyAuthorized()&&await wi.handleAuthEvent("onAuthSuccessful",e,t),fi.removeNewlyAuthorized(),se.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),se.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{fi.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ol.getStoredAuthData(),t=async l=>{await wi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),fi.removeAuthData()},n=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);se.isFunction(n)?n(this.idpProviderInstance.settings,e,t):se.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=se.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!se.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(se.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await wi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&se.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const rn=new J2;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(se.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Yr=new j2;class Y2{getStoredAuthData(){return fi.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=se.getUrlParameter("error"),t=se.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await wi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const ol=new Y2;class Q2{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),m=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(m,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 _r=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=jr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),jr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return ci.isCustomLuigiContainer()?ci.getLuigiContainer().clientHeight:window.innerHeight}getContentAreaHeight(){return this.getInnerHeight()-this.getShellbarHeight()}getShellbarHeight(){return(ci.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 se=new Z2;class X2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=se.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=se.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!a&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=se.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=se.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,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 d2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:se.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(se.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Re.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ae.getConfigValue("settings.customSandboxRules"),c=ae.getConfigValue("settings.allowRules"),g=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Yr.hasDecorators()?Yr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,m)=>{c[m]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=g.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:se.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const h=ae.getConfigValue("settings.iframeCreationInterceptor");if(se.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=[...Re.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Re.specialIframeTypes.filter(n=>Re.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Uo.getActiveFeatureToggleList(),currentLocale:bt.getCurrentLocale(),currentTheme:Do.getCurrentTheme()}}}const Re=new X2;class $2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ae.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return se.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=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(wi.isAuthorizationEnabled()){const r=ol.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,m=h.order||0;return p-m})};return e.forEach(g=>{let d,h;const p=g[t];se.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 m=r[d];m||(n&&p&&o++,(h.order===void 0||h.order===null||h.order==="")&&(h.order=d?a++:-1),m=[],r[d]=m),m.metaInfo||(m.metaInfo=h),se.isObject(p)&&m.metaInfo._fromString&&(delete m.metaInfo._fromString,m.metaInfo={...m.metaInfo,...p}),se.isObject(p)&&l&&(p.titleExpandButton?m.metaInfo.titleExpandButton=p.titleExpandButton:m.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?m.metaInfo.titleCollapseButton=p.titleCollapseButton:m.metaInfo.titleCollapseButton=l.titleCollapseButton),!m.metaInfo.categoryUid&&d&&(m.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+d:d),g.hideFromNav||m.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?"":bt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ot.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(m=>{!n&&m===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 m=d.category.label||d.category;if(a[m]){if(a[m].icon||(a[m].icon=d.category.icon,a[m].altText=d.category.altText),p&&!a[m].badgeCounter)a[m].badgeCounter={label:"",count:()=>h};else if(p){const b=a[m].badgeCounter.count()+h;a[m].badgeCounter.count=()=>b}}else a[m]={isCat:!0,label:m,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>h}},o.push(a[m]);a[m].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: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||"/";it.navigateTo(t)}}getBurgerTooltipConfig(){const e=ae.getConfigValue("settings.burgerTooltip");if(se.isObject(e)||e===!0){const t=e.navExpanded?bt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?bt.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:jr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(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=>{jr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=bt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=se.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}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&&Re.getLocation(e.viewUrl)===Re.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}}const ke=new $2;class x2{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 ts.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");Mn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?it.getHashPath():it.getModifiedPathname();e(l)}}),Mn.addEventListener("popstate",n=>{const l=t?it.getHashPath(location.href):it.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:it.buildFromRelativePath(e);return l+a}const r=we.buildRoute(e,`/${e.pathSegment}`);return l+se.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=se.trimLeadingSlash(e).split("/"),l=we.buildRoute(t,`/${t.pathSegment}`),r=se.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=bt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=se.replaceVars(e,t.pathParams,":",!1),e=se.replaceVars(e,t.context,n),e=se.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];sl.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,sl.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[_r.sanitizeParam(n[0])]=_r.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 sl.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=sl.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(se.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&sl.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=ae.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:bt.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 x2;class ek{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 ek;class tk{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 tk;class nk{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Re.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Re.sendMessageToIframe(a,r))}}const ik=new nk;class lk{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),n=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(se.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Re.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const fr=new lk;class rk{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 qf=new rk;function Kf(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=C("div"),t=C("p"),l=z(),r=C("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=z(),f(t,"class","fd-message-strip__text svelte-1os9sp8"),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-1os9sp8"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(h,p){T(h,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,a),c||(g=le(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-1os9sp8")&&f(e,"class",o)},d(h){h&&I(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(Kf(i,t,l));return{c(){e=C("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-1os9sp8"),f(e,"aria-hidden","false")},m(l,r){T(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=Kf(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:ze,o:ze,d(l){l&&I(e),ot(n,l),i[5](null)}}}function sk(i,e,t){const n=zt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=pt("getUnsavedChangesModalPromise"),c=pt("handleNavigation");Kn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(m=>{const{text:b,links:v,closeAfter:k}=m.settings,y=_r.processTextAndLinks(b,v,m.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{g(P,m.settings.id)})}),m.settings.afterInit){const P=a;m.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:m.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...m.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Jt(()=>{});function g(p,m){try{const b=document.getElementById(p.elemId);b.dismissListener&&b.removeEventListener("click",b.dismissListener);const v=k=>{if(p.url){const y=!p.url.startsWith("/");k.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:m,dismissKey:p.dismissKey})};b.addEventListener("click",v),b.dismissListener=v}catch(b){console.error("Error on Alert::addClickListener",b)}}const d=p=>n("alertDismiss",{id:p.settings.id});function h(p){Ye[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,h]}class ok extends Vt{constructor(e){super(),Dt(this,e,sk,ak,Rt,{alertQueue:0,alertTypeMap:1})}}const Fl=38,zi=40,Si=13,ki=27,Qr=32,uk=36,fk=35;function jf(i){let e,t;return{c(){e=C("i"),f(e,"class",t=ii(i[3](i[0].icon))+" svelte-1d21c96")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t=ii(n[3](n[0].icon))+" svelte-1d21c96")&&f(e,"class",t)},d(n){n&&I(e)}}}function Yf(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=C("div"),t=C("button"),l=Ie(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){T(o,e,c),w(e,t),w(t,l),r||(a=le(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Te(l,n)},d(o){o&&I(e),r=!1,a()}}}function ck(i){let e,t,n,l,r,a,o,c=i[0].header+"",g,d,h,p=i[0].body+"",m,b,v,k,y,P,N=i[0].buttonDismiss+"",A,E,V,D,F,M=i[0].type&&jf(i),W=i[0].buttonConfirm!==!1&&Yf(i);return{c(){e=C("div"),t=C("section"),n=C("header"),l=C("div"),r=C("div"),M&&M.c(),a=z(),o=C("h2"),g=Ie(c),d=z(),h=C("div"),m=z(),b=C("footer"),v=C("div"),W&&W.c(),k=z(),y=C("div"),P=C("button"),A=Ie(N),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(h,"class","fd-message-box__body svelte-1d21c96"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",E="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(b,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-1d21c96"),f(e,"class",V="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-1d21c96"),f(e,"data-testid","luigi-confirmation-modal")},m(K,Q){T(K,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),M&&M.m(r,null),w(r,a),w(r,o),w(o,g),w(t,d),w(t,h),h.innerHTML=p,w(t,m),w(t,b),w(b,v),W&&W.m(v,null),w(v,k),w(v,y),w(y,P),w(P,A),D||(F=[le(window,"keydown",i[1]),le(P,"click",i[5])],D=!0)},p(K,[Q]){K[0].type?M?M.p(K,Q):(M=jf(K),M.c(),M.m(r,a)):M&&(M.d(1),M=null),Q&1&&c!==(c=K[0].header+"")&&Te(g,c),Q&1&&p!==(p=K[0].body+"")&&(h.innerHTML=p),K[0].buttonConfirm!==!1?W?W.p(K,Q):(W=Yf(K),W.c(),W.m(v,k)):W&&(W.d(1),W=null),Q&1&&N!==(N=K[0].buttonDismiss+"")&&Te(A,N),Q&1&&E!==(E="fd-button "+(K[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",E),Q&1&&V!==(V="fd-message-box-docs-static fd-message-box fd-message-box--"+K[0].type+" fd-message-box--active svelte-1d21c96")&&f(e,"class",V)},i:ze,o:ze,d(K){K&&I(e),M&&M.d(),W&&W.d(),D=!1,$e(F)}}}function dk(i,e,t){const n=zt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Xr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Jt(()=>{const d={icon:r[l.type],header:bt.getTranslation("luigi.confirmationModal.header"),body:bt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:bt.getTranslation("luigi.button.dismiss"),buttonConfirm:bt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:_r.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Re.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 ke.renderIconClassName(d)}function o(d){d.keyCode===ki&&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 gk extends Vt{constructor(e){super(),Dt(this,e,dk,ck,Rt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function hk(i){let e,t,n;const l=i[5].default,r=H_(l,i,i[4],null);return{c(){e=C("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"),f(e,"aria-hidden","false")},m(a,o){T(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&G_(r,l,a,a[4],n?z_(l,a[4],o,null):q_(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-f5j52v"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){B(r,a),n=!1},d(a){a&&I(e),r&&r.d(a)}}}function _k(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=zt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:d}=e,{disable:h}=e;const p=()=>{const b="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,a=b+g.data.heightCssClass):t(0,a=b+"height-auto"):t(0,a="")},m=b=>{if(!d)return!0;const k=[...Re.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===b.source);return!(k&&d===k.type)};return Jt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),Mn.addEventListener("message",v=>{const k=Re.getValidMessageSource(v);k&&h!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=m(v)),r("stateChanged",{backdropActive:!0}),Re.disableA11yOfInactiveIframe(k)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Re.enableA11yOfInactiveIframe()))}))}),Kn(()=>{o!==c&&(c=o,p())}),i.$$set=b=>{"backdropClass"in b&&t(0,a=b.backdropClass),"backdropActive"in b&&t(2,o=b.backdropActive),"area"in b&&t(1,d=b.area),"disable"in b&&t(3,h=b.disable),"$$scope"in b&&t(4,l=b.$$scope)},[a,d,o,h,l,n]}class Ul extends Vt{constructor(e){super(),Dt(this,e,_k,hk,Rt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Qf(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b;t=new Ul({props:{disable:i[2]}});let v=i[0].title&&Zf(i);return{c(){e=C("div"),Fe(t.$$.fragment),n=z(),l=C("div"),r=C("div"),v&&v.c(),a=z(),o=C("div"),c=C("div"),g=C("button"),d=C("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-k9bftu")},m(k,y){T(k,e,y),Ve(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,g),w(g,d),p=!0,m||(b=le(g,"click",i[11]),m=!0)},p(k,y){const P={};y&4&&(P.disable=k[2]),t.$set(P),k[0].title?v?v.p(k,y):(v=Zf(k),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&h!==(h=k[0].closebtn_data_testid&&k[5]?k[0].closebtn_data_testid:"lui-modal-index-"+k[1]))&&f(g,"data-testid",h)},i(k){p||(R(t.$$.fragment,k),p=!0)},o(k){B(t.$$.fragment,k),p=!1},d(k){k&&I(e),Oe(t),v&&v.d(),m=!1,b()}}}function Zf(i){let e,t=i[0].title+"",n;return{c(){e=C("h2"),n=Ie(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Te(n,t)},d(l){l&&I(e)}}}function Xf(i){let e;const t=i[10].default,n=H_(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)&&G_(n,t,l,l[9],e?z_(t,l[9],r,null):q_(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){B(n,l),e=!1},d(l){n&&n.d(l)}}}function $f(i){let e;return{c(){e=C("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-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function gk(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v=(i[5]||i[4]&&i[0].header)&&Qf(i),k=i[4]&&Xf(i),y=i[3]&&$f();return{c(){e=C("div"),t=C("div"),v&&v.c(),n=z(),l=C("div"),k&&k.c(),r=z(),s=C("div"),g=z(),y&&y.c(),f(s,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-k9bftu"),f(s,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),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-k9bftu"),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=ii(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",m=i[5]?"z-index:1001":"")},m(P,N){T(P,e,N),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),k&&k.m(l,null),w(l,r),w(l,s),w(t,g),y&&y.m(t,null),b=!0},p(P,[N]){P[5]||P[4]&&P[0].header?v?(v.p(P,N),N&49&&R(v,1)):(v=Qf(P),v.c(),R(v,1),v.m(t,n)):v&&(be(),B(v,1,1,()=>{v=null}),ve()),P[4]?k?(k.p(P,N),N&16&&R(k,1)):(k=Xf(P),k.c(),R(k,1),k.m(l,r)):k&&(be(),B(k,1,1,()=>{k=null}),ve()),(!b||N&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(s,"class",o),(!b||N&18&&c!==(c=P[4]?void 0:P[1]))&&f(s,"modal-container-index",c),P[3]?y||(y=$f(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!b||N&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-k9bftu"))&&f(t,"class",d),(!b||N&32&&h!==(h=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",h),(!b||N&49&&p!==(p=ii(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!b||N&32&&m!==(m=P[5]?"z-index:1001":""))&&f(e,"style",m)},i(P){b||(R(v),R(k),b=!0)},o(P){B(v),B(k),b=!1},d(P){P&&I(e),v&&v.d(),k&&k.d(),y&&y.d()}}}function _k(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:s=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const d=zt();let h,p,m,b=!1,v=!1,k=!1,y=!1,P=!1,N=!0,A,E=pt("store");const V=G=>ke.getNodeLabel(G),D=async G=>{const J=G&&G.length?ae.getPathWithoutHash(G):"",fe=we.parseParams(J.split("?")[1]);m=we.getNodeParams(fe);const te=await Ot.extractDataFromPath(G);h=te.nodeObject,t(4,P=r.isDrawer||typeof h.drawer=="object"),A=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=V(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=V(h),r),t(0,r._liveLabel=!0,r)),p=te.pathData,t(7,s=!0)},F=async G=>{if(!(b||v))if(s)if(h.webcomponent)t(3,k=!1),P?await K():await M(),dr.renderWebComponent(h.viewUrl,document.querySelector(A),{context:p.context,clientPermissions:h.clientPermissions||{},pathParams:p.pathParams||{}},h,void 0,!0),d("wcCreated",{modalWC:document.querySelector(A),modalWCData:{...p,nodeParams:m}}),v=!0;else{const J=await W(h.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});d("iframeCreated",{modalIframe:J,modalIframeData:{...p,nodeParams:m}}),b=!0}else await D(G)},M=async()=>{let G,J;const fe=document.querySelector(".lui-modal-index-"+c),{size:te,width:x,height:Le}=r,ie=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(fe.classList.remove("lui-modal-fullscreen"),x&&x.match(ie)&&Le&&Le.match(ie))G=Le,J=x;else switch(te){case"fullscreen":G="100vh",J="100vw",fe.classList.add("lui-modal-fullscreen");break;case"m":G="80%",J="60%";break;case"s":G="80%",J="40%";break;default:G="80%",J="80%"}fe.setAttribute("style",`width:${J};height:${G};`)},W=async(G,J)=>{P?await K():await M(),G&&(G=we.substituteViewUrl(G,J));const fe=await Re.createIframe(G,void 0,h,"modal",J);return document.querySelector(A).appendChild(fe),fe};async function K(G){let J="";const fe=document.getElementsByClassName("drawer"),te=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?fe[0].setAttribute("style",J):(te[0].setAttribute("style",J),fe[0].setAttribute("style","width:100%"))}Zr(()=>{F(o)});const Q=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,k=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,k=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!h||!h.loadingIndicator||h.loadingIndicator.hideAutomatically!==!1)&&ce()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await M()),se.getConfigBooleanValue("routing.showModalPathInUrl")&&it.updateModalDataInUrl(we.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};Jt(()=>{dn.doOnStoreChange(E,()=>{r._liveLabel&&h&&t(0,r.title=V(h),r)},["navigation.viewgroupdata"]),Mn.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Re.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!h.webcomponent&&((G=h.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,k=!0)},250)}),Xr(()=>{Mn.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Re.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let G;N?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,k=!1)},250))}const Ce=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,s=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,g=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,g,k,P,N,d,s,o,l,n,Ce]}class ip extends Vt{constructor(e){super(),Dt(this,e,_k,gk,Rt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function xf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function ec(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function tc(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function nc(i){let e,t=i[1][1].settings&&ic(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=ic(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function ic(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=dc(xf(i,n,r));return{c(){e=C("div"),t=C("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,s){T(r,e,s),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,s){if(s[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=xf(r,n,o);l[o]?l[o].p(c,s):(l[o]=dc(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&&I(e),ot(l,r)}}}function lc(i){let e;function t(r,s){return r[29].isEditable||r[29].isEditable===void 0?mk:pk}let n=t(i),l=n(i);return{c(){l.c(),e=me()},m(r,s){l.m(r,s),T(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function pk(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,s){T(r,e,s),w(e,n)},p(r,s){s[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Te(n,t),s[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&I(e)}}}function mk(i){let e,t,n,l,r;function s(){i[18].call(e,i[28])}return{c(){e=C("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){T(o,e,c),Wf(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",s),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Wf(e,i[0][i[1][0]][i[28]])},d(o){o&&I(e),l=!1,r()}}}function rc(i){let e,t,n,l,r,s,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,d,h,p,m,b,v=Array.isArray(i[29].options),k,y;function P(...E){return i[19](i[28],i[31],i[29],...E)}function N(){return i[20](i[29])}let A=v&&sc(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),s=C("span"),c=Ie(o),d=z(),h=C("span"),h.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',m=z(),b=C("div"),A&&A.c(),f(s,"class","fd-select__text-content"),f(s,"data-testid","lui-us-input"+i[31]),f(s,"disabled",g=!(i[29].isEditable===void 0||i[29].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-1riziao"),f(r,"data-testid",p="lui-us-"+i[29].type+"-"+i[31]),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(b,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(E,V){T(E,e,V),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,c),w(r,d),w(r,h),w(t,m),w(t,b),A&&A.m(b,null),k||(y=[le(r,"keydown",P),le(n,"click",Mt(N))],k=!0)},p(E,V){i=E,V[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Te(c,o),V[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(s,"disabled",g),V[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&f(r,"data-testid",p),V[0]&2&&(v=Array.isArray(i[29].options)),v?A?A.p(i,V):(A=sc(i),A.c(),A.m(b,null)):A&&(A.d(1),A=null)},d(E){E&&I(e),A&&A.d(),k=!1,$e(y)}}}function sc(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=ac(tc(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){T(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let s;for(s=0;s<t.length;s+=1){const o=tc(l,t,s);n[s]?n[s].p(o,r):(n[s]=ac(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&I(e),ot(n,l)}}}function ac(i){let e,t,n=i[12](i[32])+"",l,r,s,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=C("li"),t=C("span"),l=Ie(n),r=z(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),Vn(e,"is-selected",i[4]===i[34]),Vn(e,"is-focus",i[4]===i[34])},m(g,d){T(g,e,d),w(e,t),w(t,l),w(e,r),s||(o=[le(e,"click",c),le(e,"keydown",i[22])],s=!0)},p(g,d){i=g,d[0]&2&&n!==(n=i[12](i[32])+"")&&Te(l,n),d[0]&16&&Vn(e,"is-selected",i[4]===i[34]),d[0]&16&&Vn(e,"is-focus",i[4]===i[34])},d(g){g&&I(e),s=!1,$e(o)}}}function oc(i){let e,t,n,l=i[29].options,r=[];for(let s=0;s<l.length;s+=1)r[s]=uc(ec(i,l,s));return{c(){e=C("div"),t=C("div");for(let s=0;s<r.length;s+=1)r[s].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1riziao"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(s,o){T(s,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(s,o){if(o[0]&13315){l=s[29].options;let c;for(c=0;c<l.length;c+=1){const g=ec(s,l,c);r[c]?r[c].p(g,o):(r[c]=uc(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-"+s[28]+" svelte-1riziao")&&f(t,"class",n)},d(s){s&&I(e),ot(r,s)}}}function uc(i){let e,t=i[12](i[32])+"",n,l,r,s,o,c,g,d;function h(){return i[23](i[28],i[32])}return{c(){e=C("button"),n=Ie(t),l=z(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",s=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,m){T(p,e,m),w(e,n),w(e,l),g||(d=le(e,"click",h),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[32])+"")&&Te(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),m[0]&2&&s!==(s=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",s),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&I(e),g=!1,d()}}}function fc(i){let e,t,n,l,r,s,o,c,g,d;function h(){i[24].call(n,i[28])}return{c(){e=C("label"),t=C("span"),n=C("input"),s=z(),o=C("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,m){T(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,s),w(t,o),g||(d=le(n,"change",h),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,d()}}}function cc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=C("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(s,o){T(s,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(s,o){i=s,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(s){s&&I(e),n=!1,l()}}}function dc(i){let e,t,n,l=i[5](i[29].label)+"",r,s,o,c,g,d,h=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,m,b,v=i[29].type==="string"&&lc(i),k=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&rc(i),y=h&&oc(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&fc(i),N=i[29].type==="boolean"&&i[29].style==="checkbox"&&cc(i);return{c(){e=C("div"),t=C("div"),n=C("label"),r=Ie(l),s=Ie(":"),o=z(),c=C("div"),v&&v.c(),g=z(),k&&k.c(),d=z(),y&&y.c(),p=z(),P&&P.c(),m=z(),N&&N.c(),b=z(),f(n,"class","fd-form-label svelte-1riziao"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1riziao"),f(c,"class","fd-col fd-col--8 svelte-1riziao"),f(e,"class","fd-row svelte-1riziao")},m(A,E){T(A,e,E),w(e,t),w(t,n),w(n,r),w(n,s),w(e,o),w(e,c),v&&v.m(c,null),w(c,g),k&&k.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,m),N&&N.m(c,null),w(e,b)},p(A,E){E[0]&34&&l!==(l=A[5](A[29].label)+"")&&Te(r,l),A[29].type==="string"?v?v.p(A,E):(v=lc(A),v.c(),v.m(c,g)):v&&(v.d(1),v=null),A[29].type==="enum"&&(A[29].style===void 0||A[29].style==="list")?k?k.p(A,E):(k=rc(A),k.c(),k.m(c,d)):k&&(k.d(1),k=null),E[0]&2&&(h=A[29].type==="enum"&&A[29].style==="button"&&Array.isArray(A[29].options)),h?y?y.p(A,E):(y=oc(A),y.c(),y.m(c,p)):y&&(y.d(1),y=null),A[29].type==="boolean"&&(!A[29].style||A[29].style==="switch")?P?P.p(A,E):(P=fc(A),P.c(),P.m(c,m)):P&&(P.d(1),P=null),A[29].type==="boolean"&&A[29].style==="checkbox"?N?N.p(A,E):(N=cc(A),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(A){A&&I(e),v&&v.d(),k&&k.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function bk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&nc(i);return{c(){e=C("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1riziao")},m(r,s){T(r,e,s),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,s){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,s):(l=nc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:ze,o:ze,d(r){r&&I(e),l&&l.d(),t=!1,$e(n)}}}function xs(i,e,t){if(i&&t>0)return i.matches(e)?i:xs(i.parentNode,e,t-1)}function vk(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:s}=e;const o=zt();let c=pt("getTranslation");Ci(i,c,G=>t(5,n=G));let g,{isComboOpen:d}=e;function h(){o("updateSettingsObject",{storedUserSettingData:s})}const p=()=>{m()};function m(G){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(J=>{v(J,!1)})}function b(G,J){let fe=xs(G.target,".fd-popover__control",20),te=fe.getAttribute("aria-expanded")==="true";(J||J===void 0)&&(m(),v(fe,!te))}function v(G,J){const fe=G.querySelector(".lui-activate-dropdown"),te=G.parentNode.querySelector(".fd-popover__body"),x=G.parentNode.querySelector(".fd-select__control");G.setAttribute("aria-expanded",J),te.setAttribute("aria-hidden",!J),x.setAttribute("aria-expanded",J),fe.setAttribute("aria-expanded",J),t(14,d=J)}function k(G,J,fe){t(4,g=fe),t(0,s[l[0]][G]=J.value||J,s)}function y(G,J){document.querySelectorAll(".enum-buttons-container-"+G+" button").forEach(fe=>{const te=fe.getAttribute("id"),x=`lui-us-enum_button_${G}_option`;te===x?fe.classList.add("fd-button--emphasized"):fe.classList.remove("fd-button--emphasized")}),t(0,s[l[0]][G]=J.value||J,s)}function P(G,J){let fe;if(Array.isArray(J)){for(let te=0;te<J.length;te++)if(ae.isObject(J[te])){if(J[te].value&&J[te].value===G){fe=J[te].label,t(4,g=te);break}}else{fe=G,t(4,g=J.indexOf(G));break}return n(fe)}}function N(G){return n(ae.isObject(G)?G.label:G)}function A(G,J,fe){return ae.isObject(fe)?`${G}_${J}_${fe.value}`:`${G}_${J}_${fe}`}function E(G,J,fe,te){let x=xs(G.target,".lui-anchor-node",20);const Le=document.getElementById(`fd-form-input-dropdown-${fe}`).children;let ie=-1;if([...Le].forEach((Ee,re)=>{Ee.classList.contains("is-focus")&&(ie=re)}),d){if(G.keyCode===Fl&&G.altKey&&(x.click(),x.focus()),G.keyCode===zi&&!G.altKey){if(ie===-1){ie=0,Le.item(ie).classList.add("is-focus");return}ie<te.options.length-1&&(Le.item(ie).classList.remove("is-focus"),ie+=1,Le.item(ie).classList.add("is-focus"))}if(G.keyCode===Fl&&!G.altKey){if(ie===-1){ie=ie.length-1,Le.item(ie).classList.add("is-focus");return}ie>0&&ie<te.options.length&&(Le.item(ie).classList.remove("is-focus"),ie-=1,Le.item(ie).classList.add("is-focus"))}(G.keyCode===Si||G.keyCode===Qr)&&k(J,te.options[ie],ie)}else x.focus(),G.keyCode===zi&&G.altKey&&x.click(),G.keyCode===zi&&!G.altKey&&ie<te.options.length-1&&k(J,te.options[ie+1],ie+1),G.keyCode===Fl&&!G.altKey&&ie>0&&ie<te.options.length&&k(J,te.options[ie-1],ie-1)}function V(G){if(d){let J=xs(G.target,".fd-popover",20);J.blur(),(G.keyCode===Qr||G.keyCode===Si)&&(G.target.click(),m(),setTimeout(()=>{J.focus()},0))}}P();function D(G){s[l[0]][G]=this.value,t(0,s)}const F=(G,J,fe,te)=>E(te,G,J,fe),M=G=>b(event,G.isEditable),W=(G,J,fe)=>k(G,J,fe),K=G=>V(G),Q=(G,J)=>y(G,J);function ce(G){s[l[0]][G]=this.checked,t(0,s)}function Ce(G){s[l[0]][G]=this.checked,t(0,s)}return i.$$set=G=>{"userSettingGroup"in G&&t(1,l=G.userSettingGroup),"userSettingsGroupKey"in G&&t(15,r=G.userSettingsGroupKey),"storedUserSettingData"in G&&t(0,s=G.storedUserSettingData),"isComboOpen"in G&&t(14,d=G.isComboOpen)},[s,l,E,V,g,n,c,m,b,k,y,P,N,A,d,r,h,p,D,F,M,W,K,Q,ce,Ce]}class wk extends Vt{constructor(e){super(),Dt(this,e,vk,bk,Rt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:hc}=cl;function gc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function _c(i,e,t){const n=i.slice();return n[38]=e[t],n}function pc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?Sk:kk}let r=l(i,[-1,-1]),s=r(i);return{c(){s.c(),t=z(),n=C("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){s.m(o,c),T(o,t,c),T(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s.d(1),s=r(o),s&&(s.c(),s.m(t.parentNode,t)))},d(o){s.d(o),o&&I(t),o&&I(n)}}}function kk(i){let e,t,n,l,r,s=i[38][1].initials&&mc(i);return{c(){e=C("span"),l=z(),s&&s.c(),r=me(),f(e,"class",t=ii(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),On(e,"background-image","url('"+i[38][1].icon+"')"),On(e,"background-size","cover")},m(o,c){T(o,e,c),T(o,l,c),s&&s.m(o,c),T(o,r,c)},p(o,c){c[0]&2&&t!==(t=ii(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&On(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?s?s.p(o,c):(s=mc(o),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(o){o&&I(e),o&&I(l),s&&s.d(o),o&&I(r)}}}function Sk(i){let e,t,n;return{c(){e=C("span"),t=C("i"),f(t,"role","presentation"),f(t,"class",n=ii(i[18](i[38][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){T(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ii(l[18](l[38][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&I(e)}}}function mc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=C("span"),n=Ie(t),f(e,"class",l=ii(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(s,o){T(s,e,o),w(e,n)},p(s,o){o[0]&2&&t!==(t=(s[38][1].initials?s[38][1].initials:"")+"")&&Te(n,t),o[0]&2&&l!==(l=ii(s[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=s[38][1].altText?s[38][1].altText:"")&&f(e,"aria-label",r)},d(s){s&&I(e)}}}function bc(i){let e,t,n,l,r,s=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",h,p,m,b,v=i[38][1].icon&&pc(i);function k(){return i[22](i[38])}function y(...P){return i[23](i[37],...P)}return{c(){e=C("li"),t=C("a"),v&&v.c(),n=z(),l=C("div"),r=C("div"),o=Ie(s),c=z(),g=C("div"),h=Ie(d),p=z(),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,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,N){T(P,e,N),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,h),w(e,p),m||(b=[le(e,"click",At(k)),le(e,"keydown",y)],m=!0)},p(P,N){i=P,i[38][1].icon?v?v.p(i,N):(v=pc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&s!==(s=i[10](i[38][1].label?i[38][1].label:"")+"")&&Te(o,s),N[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Te(h,d)},d(P){P&&I(e),v&&v.d(),m=!1,$e(b)}}}function vc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=bc(_c(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=me()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);T(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let s;for(s=0;s<t.length;s+=1){const o=_c(l,t,s);n[s]?n[s].p(o,r):(n[s]=bc(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ot(n,l),l&&I(e)}}}function wc(i){let e,t,n,l;function r(c){i[24](c)}function s(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new wk({props:o}),Ye.push(()=>ct(e,"closeDropDown",r,i[9])),Ye.push(()=>ct(e,"isComboOpen",s,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Fe(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],ft(()=>t=!1)),!n&&g[0]&256&&(n=!0,d.isComboOpen=c[8],ft(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){B(e.$$.fragment,c),l=!1},d(c){Me(e,c)}}}function Ck(i){let e,t,n,l,r,s,o,c=i[10](i[4])+"",g,d,h,p,m,b,v,k,y,P=i[10](i[7])+"",N,A,E,V,D,F,M,W,K,Q,ce,Ce=i[10](i[5])+"",G,J,fe,te,x=i[10](i[6])+"",Le,ie,Ee,re,Ve=Object.entries(i[1]),$=[];for(let pe=0;pe<Ve.length;pe+=1)$[pe]=vc(gc(i,Ve,pe));let j=i[11]&&wc(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("div"),o=C("h2"),g=Ie(c),d=z(),h=C("div"),p=C("ul");for(let pe=0;pe<$.length;pe+=1)$[pe].c();m=z(),b=C("div"),v=C("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',k=z(),y=C("h2"),N=Ie(P),A=z(),E=C("div"),V=C("div"),j&&j.c(),D=z(),F=C("div"),M=z(),W=C("footer"),K=C("div"),Q=C("div"),ce=C("button"),G=Ie(Ce),J=z(),fe=C("div"),te=C("button"),Le=Ie(x),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(s,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(p,"role","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(b,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(V,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(F,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(E,"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(te,"data-testid","lui-us-dismissBtn"),f(te,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(fe,"class","fd-bar__element"),f(K,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-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(pe,Ke){T(pe,e,Ke),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(o,g),w(r,d),w(r,h),w(h,p);for(let Ue=0;Ue<$.length;Ue+=1)$[Ue].m(p,null);w(n,m),w(n,b),w(b,v),w(b,k),w(b,y),w(y,N),w(n,A),w(n,E),w(E,V),j&&j.m(V,null),w(E,D),w(E,F),w(t,M),w(t,W),w(W,K),w(K,Q),w(Q,ce),w(ce,G),w(K,J),w(K,fe),w(fe,te),w(te,Le),ie=!0,Ee||(re=[le(hc,"resize",i[20]),le(hc,"keydown",i[3]),le(v,"click",i[17]),le(ce,"click",i[26]),le(te,"click",i[27])],Ee=!0)},p(pe,Ke){if((!ie||Ke[0]&1040)&&c!==(c=pe[10](pe[4])+"")&&Te(g,c),Ke[0]&803846){Ve=Object.entries(pe[1]);let Ue;for(Ue=0;Ue<Ve.length;Ue+=1){const he=gc(pe,Ve,Ue);$[Ue]?$[Ue].p(he,Ke):($[Ue]=vc(he),$[Ue].c(),$[Ue].m(p,null))}for(;Ue<$.length;Ue+=1)$[Ue].d(1);$.length=Ve.length}(!ie||Ke[0]&1152)&&P!==(P=pe[10](pe[7])+"")&&Te(N,P),pe[11]?j?(j.p(pe,Ke),Ke[0]&2048&&R(j,1)):(j=wc(pe),j.c(),R(j,1),j.m(V,null)):j&&(be(),B(j,1,1,()=>{j=null}),ve()),(!ie||Ke[0]&1056)&&Ce!==(Ce=pe[10](pe[5])+"")&&Te(G,Ce),(!ie||Ke[0]&1088)&&x!==(x=pe[10](pe[6])+"")&&Te(Le,x)},i(pe){ie||(R(j),ie=!0)},o(pe){B(j),ie=!1},d(pe){pe&&I(e),ot($,pe),j&&j.d(),Ee=!1,$e(re)}}}function kc(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 yk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Pk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function lp(i,e,t){if(i&&t>0)return i.matches(e)?i:lp(i.parentNode,e,t-1)}function Sc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function Nk(i,e,t){let n,{schemaObj:l}=e,{userSettingGroups:r}=e;const s=zt();let o,{storedUserSettings:c={}}=e,g={},d=pt("getTranslation");Ci(i,d,ie=>t(10,n=ie));let h=ul.userSettingsDialog.dialogHeader,p=ul.userSettingsDialog.saveBtn,m=ul.userSettingsDialog.dismissBtn,b={},v,k,y,P;Xr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const ie=se.getConfigValue("userSettings.userSettingsDialog"),Ee=ie||se.getConfigValue("settings.userSettings.userSettingsDialog");Ee&&(t(4,h=Ee.dialogHeader?Ee.dialogHeader:h),t(5,p=Ee.saveBtn?Ee.saveBtn:p),t(6,m=Ee.dismissBtn?Ee.dismissBtn:m)),v=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Mn.addEventListener("message",re=>{const Ve=Re.getValidMessageSource(re);if(!Ve||re.data.msg!=="custom")return;Ve._ready=!0;const $=na.convertCustomMessageInternalToUser(re.data),j="luigi.updateUserSettings";if($.id===j){const pe=fr.findActiveCustomUserSettingsIframe(re.source);if(pe){let Ke=pe.getAttribute("userSettingsGroup");t(0,c[Ke]=$.data,c)}}$.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&F()}),se.readUserSettings().then(re=>{g=JSON.parse(JSON.stringify(re)),re===null?t(0,c=kc(JSON.parse(JSON.stringify(r)),{})):t(0,c=kc(JSON.parse(JSON.stringify(r)),re)),A([v,r[0][v]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&s("close")}),Re.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function N(ie){if(t(7,k=ie.title?ie.title:""),!!ae.isObject(ie.settings))for(let Ee in ie.settings){let re=ie.settings[Ee];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${Ee}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${Ee}' in the Luigi userSettings config.`)}}function A(ie,Ee){t(11,o=ie);let re=ie[0],Ve=ie[1];if(N(Ve),Ee?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(j=>{j.classList.remove("is-selected")}),lp(Ee.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&D()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&Sc()),Ve.viewUrl){if(fr.hideUserSettingsIframe(),b.hasOwnProperty(re))fr.getUserSettingsIframesInDom().forEach($=>{$.userSettingsGroup===re&&($.style.display="block")});else{const $=Yr.hasDecorators()?Yr.applyDecorators(Ve.viewUrl):Ve.viewUrl;let j=fr.createIframe($,re);b[re]=j}yk()}else Pk()}const E=ie=>{t(0,c=ie.detail.userSettings)};function V(){se.storeUserSettings(c,g).then(()=>{s("close")}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&s("close")})}function D(){F()}function F(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&Sc()}function M(ie){return ke.renderIconClassName(ie)}function W(ie){return ke.isOpenUIiconName(ie.icon)}let K;const Q=()=>{const ie=window.innerWidth>=xt.desktopMinWidth&&K<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&K>=xt.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),ie&&(document.querySelector(".confirm-button").style.display="block"),!K){let re=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?re.style.display="none":re.style.display="block"}K=window.innerWidth};function ce(ie,Ee){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(ie.keyCode===Si||ie.keyCode===Qr)&&re[Ee].click(),ie.keyCode===ok&&re[Object.keys(r).length-1].focus(),ie.keyCode===ak&&re[0].focus()}function Ce(ie){ie.keyCode===ki&&y?P():ie.keyCode===ki&&!y&&s("close")}const G=ie=>A(ie,event),J=(ie,Ee)=>ce(Ee,[ie]);function fe(ie){P=ie,t(9,P)}function te(ie){y=ie,t(8,y)}const x=()=>V(),Le=()=>s("close");return i.$$set=ie=>{"schemaObj"in ie&&t(21,l=ie.schemaObj),"userSettingGroups"in ie&&t(1,r=ie.userSettingGroups),"storedUserSettings"in ie&&t(0,c=ie.storedUserSettings)},[c,r,ce,Ce,h,p,m,k,y,P,n,o,s,d,A,E,V,F,M,W,Q,l,G,J,fe,te,x,Le]}class Ik extends Vt{constructor(e){super(),Dt(this,e,Nk,Ck,Rt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Tk}=cl;function Lk(i){let e;return{c(){e=C("div"),f(e,"class","iframeSplitViewCnt svelte-15bout7")},m(t,n){T(t,e,n)},p:ze,d(t){t&&I(e)}}}function Ak(i){let e,t,n,l,r=i[1].title+"",s,o,c;return{c(){e=C("div"),t=C("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=z(),l=C("h1"),s=Ie(r),f(t,"class","lui-collapse-btn svelte-15bout7"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-15bout7"),f(l,"class","fd-splitView__title svelte-15bout7")},m(g,d){T(g,e,d),w(e,t),T(g,n,d),T(g,l,d),w(l,s),o||(c=le(t,"click",Mt(At(i[4]))),o=!0)},p(g,d){d&2&&r!==(r=g[1].title+"")&&Te(s,r)},d(g){g&&I(e),g&&I(n),g&&I(l),o=!1,c()}}}function Cc(i){let e,t,n,l,r,s,o,c;return{c(){e=C("div"),t=z(),n=C("div"),l=C("div"),r=z(),s=C("a"),s.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(s,"class","lui-collapse-btn svelte-15bout7"),f(n,"id","splitViewDragger")},m(g,d){T(g,e,d),T(g,t,d),T(g,n,d),w(n,l),w(n,r),w(n,s),o||(c=[le(s,"click",Mt(At(i[3]))),le(n,"mousedown",Mt(i[6]))],o=!0)},p:ze,d(g){g&&I(e),g&&I(t),g&&I(n),o=!1,$e(c)}}}function Rk(i){let e,t,n,l,r,s,o,c,g,d;t=new Ul({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function h(v,k){return v[0]?Ak:Lk}let p=h(i),m=p(i),b=!i[0]&&Cc(i);return{c(){e=C("div"),Fe(t.$$.fragment),n=z(),l=C("div"),m.c(),s=z(),b&&b.c(),o=me(),f(l,"class","lui-split-view svelte-15bout7"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-15bout7")},m(v,k){T(v,e,k),Oe(t,e,null),w(e,n),w(e,l),m.m(l,null),T(v,s,k),b&&b.m(v,k),T(v,o,k),c=!0,g||(d=le(Tk,"resize",i[5]),g=!0)},p(v,[k]){const y={};k&4&&(y.disable=v[2]),t.$set(y),p===(p=h(v))&&m?m.p(v,k):(m.d(1),m=p(v),m&&(m.c(),m.m(l,null))),(!c||k&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-15bout7"))&&f(e,"class",r),v[0]?b&&(b.d(1),b=null):b?b.p(v,k):(b=Cc(v),b.c(),b.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&I(e),Me(t),m.d(),v&&I(s),b&&b.d(v),v&&I(o),g=!1,d()}}}function Ek(i,e,t){const n=zt();let l={draggable:null,iframe:null,split:null},r,s,o,c,g,d,h,p,m,{nodepath:b}=e,{collapsed:v}=e,{splitViewSettings:k={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,N=!1,A=pt("getUnsavedChangesModalPromise");const E=()=>({get:()=>({collapsed:v,splitViewSettings:k,isDataPrepared:y,lastNode:r,pathData:s,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:h,splitViewWC:p,splitViewWCData:m}),set:J=>{J&&Object.getOwnPropertyNames(J).forEach(fe=>{fe==="splitViewSettings"?t(1,k=J.splitViewSettings):fe==="lastNode"?r=J.lastNode:fe==="pathData"?s=J.pathData:fe==="nodeParams"?o=J.nodeParams:fe==="collapsed"?t(0,v=J.collapsed):fe==="isDataPrepared"?t(8,y=J.isDataPrepared):fe==="currentNode"?c=J.currentNode:fe==="splitViewIframe"?d=J.splitViewIframe:fe==="splitViewIframeData"?h=J.splitViewIframeData:fe==="splitViewWC"?p=J.splitViewWC:fe==="splitViewWCData"&&(m=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:A}),V=async()=>{y?v||at.createAndSetView(E()):await at.prepareSplitViewData(E(),b)},D=()=>{l.split=at.getContainer(),l.iframe=Re.getIframeContainer(),l.draggable=at.getDragger()},F=()=>{const J=at.getDraggerBackdrop();J&&(J.style.display="none"),D(),l.draggable&&(l.draggable.style.top=`${at.splitViewValues.top}px`),l.split.style.top=`${at.splitViewValues.top}px`,l.iframe.style.marginBottom=`${at.splitViewValues.bottom}px`};function M(J){if(Re.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&at.close(E()),J.data.msg==="luigi.navigation.splitview.collapse"&&W(),J.data.msg==="luigi.navigation.splitview.expand"&&K(),J.data.msg==="luigi.navigation.splitview.resize")){const fe=parseInt(J.data.data);if(at.calculateAndSetSplitViewValues(fe,at.internalValues),v)return;F(),at.sendMessageToClients("resize.ok",at.splitViewValues.percent)}}Jt(()=>{Q(),g=M.bind(this),Mn.addEventListener("message",g)}),Zr(()=>{V(),N!==y&&!v&&(N=y,F())}),Xr(()=>{window.removeEventListener("message",g)});function W(){at.collapse(E())}async function K(){await at.expand(E()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const J=ae.getShellbarHeight();at.internalValues.innerHeight=ae.getInnerHeight(),at.internalValues.rightContentHeight=at.internalValues.innerHeight-J,at.internalValues.thresholdBottom=30,at.internalValues.thresholdTop=J+30,at.calculateAndSetSplitViewValues(at.splitViewValues.percent,at.internalValues),v||F()}function ce(J){let fe=J.y,te={};const x=function(Ve){const $=fe-Ve.y,j=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(j)||$===0)return;const pe=j-$,Ke=at.internalValues.innerHeight-pe,Ue=at.enforceTresholds(pe,Ke);pe<Ue.top||Ke<Ue.bottom||(te=Ue,fe=Ve.y,l.draggable.style.top=`${te.top}px`)},Le=function(){if(ie(),!te.top||!te.bottom||te.top==at.internalValues.m_pos_prev){at.getDraggerBackdrop().style.display="none";return}at.internalValues.m_pos_prev=te.top,at.splitViewValues=te,F(),at.sendMessageToClients("resize.ok",te.percent)},ie=function(){document.removeEventListener("mouseup",Le),document.removeEventListener("mousemove",x)},Ee=function(){document.addEventListener("mouseup",Le),document.addEventListener("mousemove",x)};D(),ie(),Ee(),at.getDraggerBackdrop().style.display="block"}const Ce=J=>{let fe=at.getDraggerButton();fe&&(fe.style.display=J?"block":"none"),fe=at.getCollapsedDraggerButton(),fe&&(fe.style.display=J?"block":"none")},G=J=>{Ce(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,b=J.nodepath),"collapsed"in J&&t(0,v=J.collapsed),"splitViewSettings"in J&&t(1,k=J.splitViewSettings),"isDataPrepared"in J&&t(8,y=J.isDataPrepared),"disableBackdrop"in J&&t(2,P=J.disableBackdrop)},[v,k,P,W,K,Q,ce,G,y,b]}class rp extends Vt{constructor(e){super(),Dt(this,e,Ek,Rk,Rt,{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 yc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Ok,then:Vk,catch:Dk,value:1};return ea(t=i[0].badgeCounter.count(),n),{c(){e=me(),n.block.c()},m(l,r){T(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())&&ea(t,n)||K_(n,i,r)},d(l){l&&I(e),n.block.d(l),n.token=null,n=null}}}function Dk(i){return{c:ze,m:ze,p:ze,d:ze}}function Vk(i){let e,t=i[1]>0&&Pc(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function Pc(i){let e,t=i[1]+"",n,l;return{c(){e=C("span"),n=Ie(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-i2n6n9"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,s){T(r,e,s),w(e,n)},p(r,s){s&1&&t!==(t=r[1]+"")&&Te(n,t),s&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&I(e)}}}function Ok(i){return{c:ze,m:ze,p:ze,d:ze}}function Mk(i){let e,t=i[0]&&i[0].badgeCounter&&yc(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=yc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function Fk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class mn extends Vt{constructor(e){super(),Dt(this,e,Fk,Mk,Rt,{node:0})}}function Nc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=C("span"),t=C("span"),l=Ie(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,s){T(r,e,s),w(e,t),w(t,l)},p(r,s){s&1&&n!==(n=r[0].statusBadge.label+"")&&Te(l,n)},d(r){r&&I(e)}}}function Uk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Nc(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function Bk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,s=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,s]}class qn extends Vt{constructor(e){super(),Dt(this,e,Bk,Uk,Rt,{node:0})}}const{window:Zs}=cl;function Ic(i,e,t){const n=i.slice();return n[81]=e[t][0],n[82]=e[t][1],n[84]=t,n}function Tc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Lc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[85]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[81]=e[t][0],n[82]=e[t][1],n[84]=t,n}function Dc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Hk(i){let e,t,n,l,r,s,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)&&Bc(i),m=(i[2]||i[3])&&fd(i);return{c(){e=C("div"),h&&h.c(),t=z(),n=C("nav"),l=C("div"),p&&p.c(),r=z(),m&&m.c(),f(l,"class","fd-side-nav__main-navigation svelte-17n27g5"),f(n,"class",s="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-17n27g5"),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-17n27g5")},m(b,v){T(b,e,v),h&&h.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),m&&m.m(n,null),c=!0,g||(d=le(n,"keyup",i[18]),g=!0)},p(b,v){b[12]?h?h.p(b,v):(h=Mc(b),h.c(),h.m(e,t)):h&&(h.d(1),h=null),b[0]&&b[5].length>0&&(b[5][0].topNav===!1||b[5].length>1)?p?(p.p(b,v),v[0]&33&&R(p,1)):(p=Bc(b),p.c(),R(p,1),p.m(l,null)):p&&(be(),B(p,1,1,()=>{p=null}),ve()),b[2]||b[3]?m?m.p(b,v):(m=fd(b),m.c(),m.m(n,null)):m&&(m.d(1),m=null),(!c||v[0]&4160&&s!==(s="fd-side-nav "+(b[6]?"fd-side-nav--condensed":"")+" "+(b[12]?"lui-nav-header-visible":"")+" svelte-17n27g5"))&&f(n,"class",s),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(b[1]?"hideNavComponent":"")+" "+(b[2]||b[3]?"hasFooter":"")+" "+(b[2]&&!b[3]?"hasOnlyFooterText":"")+" svelte-17n27g5"))&&f(e,"class",o)},i(b){c||(R(p),c=!0)},o(b){B(p),c=!1},d(b){b&&I(e),h&&h.d(),p&&p.d(),m&&m.d(),g=!1,d()}}}function Wk(i){let e,t,n,l,r=i[12]&&dd(i),s=i[0]&&i[5].length>1&&_d(i);return{c(){e=C("div"),r&&r.c(),t=z(),s&&s.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-17n27g5"),f(e,"role","navigation"),On(e,"width","var(--luigi__left-sidenav--width)"),On(e,"height","100%")},m(o,c){T(o,e,c),r&&r.m(e,null),w(e,t),s&&s.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?s?(s.p(o,c),c[0]&33&&R(s,1)):(s=_d(o),s.c(),R(s,1),s.m(e,null)):s&&(be(),B(s,1,1,()=>{s=null}),ve()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-17n27g5"))&&f(e,"class",n)},i(o){l||(R(s),l=!0)},o(o){B(s),l=!1},d(o){o&&I(e),r&&r.d(),s&&s.d()}}}function Mc(i){let e,t,n,l,r,s,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&Fc(i),p=i[12].showUpLink&&Uc(i);return{c(){e=C("div"),t=C("ul"),n=C("li"),l=C("a"),h&&h.c(),r=z(),s=C("span"),c=Ie(o),g=z(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-17n27g5"),f(l,"class","fd-nested-list__link svelte-17n27g5"),f(l,"title",d=i[34](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item svelte-17n27g5"),f(t,"class","fd-nested-list svelte-17n27g5"),f(e,"class","lui-nav-title svelte-17n27g5")},m(m,b){T(m,e,b),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(m,b){m[12].icon?h?h.p(m,b):(h=Fc(m),h.c(),h.m(l,r)):h&&(h.d(1),h=null),b[0]&33558528&&o!==(o=m[25](m[12].label)+"")&&Te(c,o),m[12].showUpLink?p?p.p(m,b):(p=Uc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),b[0]&33558528&&d!==(d=m[34](m[12],m[25](m[12].label)))&&f(l,"title",d)},d(m){m&&I(e),h&&h.d(),p&&p.d()}}}function Fc(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[30](s[12].icon)),e?Gk:zk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function zk(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!Je(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Gk(i){let e,t;return{c(){e=C("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(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-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Uc(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-17n27g5"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,s){T(r,e,s),n||(l=le(e,"click",At(i[19])),n=!0)},p(r,s){s[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&I(e),n=!1,l()}}}function Bc(i){let e,t,n,l,r=i[13],s=[];for(let c=0;c<r.length;c+=1)s[c]=ud(Ic(i,r,c));const o=c=>B(s[c],1,1,()=>{s[c]=null});return{c(){e=C("div"),t=C("ul");for(let c=0;c<s.length;c+=1)s[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-17n27g5"),f(e,"class","lui-fd-side-nav-wrapper svelte-17n27g5")},m(c,g){T(c,e,g),w(e,t);for(let d=0;d<s.length;d+=1)s[d].m(t,null);l=!0},p(c,g){if(g[0]&1922164672|g[1]&911){r=c[13];let d;for(d=0;d<r.length;d+=1){const h=Ic(c,r,d);s[d]?(s[d].p(h,g),R(s[d],1)):(s[d]=ud(h),s[d].c(),R(s[d],1),s[d].m(t,null))}for(be(),d=r.length;d<s.length;d+=1)o(d);ve()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-17n27g5"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)R(s[g]);l=!0}},o(c){s=s.filter(Boolean);for(let g=0;g<s.length;g+=1)B(s[g]);l=!1},d(c){c&&I(e),ot(s,c)}}}function qk(i){let e,t,n,l;const r=[jk,Jk],s=[];function o(c,g){return c[82].metaInfo.collapsible?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=me()},m(c,g){s[e].m(c,g),T(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?s[e].p(c,g):(be(),B(s[d],1,1,()=>{s[d]=null}),ve(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){s[e].d(c),c&&I(n)}}}function Kk(i){let e,t,n=i[82],l=[];for(let s=0;s<n.length;s+=1)l[s]=od(Rc(i,n,s));const r=s=>B(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=me()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);T(s,e,o),t=!0},p(s,o){if(o[0]&1887477952|o[1]&267){n=s[82];let c;for(c=0;c<n.length;c+=1){const g=Rc(s,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(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(s){ot(l,s),s&&I(e)}}}function Jk(i){let e,t,n=i[25](i[81])+"",l,r,s,o,c,g,d=i[10]&&i[82].metaInfo.icon&&Hc(i),h=i[82],p=[];for(let b=0;b<h.length;b+=1)p[b]=Jc(Tc(i,h,b));const m=b=>B(p[b],1,1,()=>{p[b]=null});return{c(){e=C("li"),d&&d.c(),t=z(),l=Ie(n),o=z();for(let b=0;b<p.length;b+=1)p[b].c();c=me(),f(e,"class","fd-nested-list__group-header lui-category svelte-17n27g5"),f(e,"title",r=i[34](i[82],i[25](i[81]))),f(e,"data-testid",s=i[33](i[82].metaInfo,i[81])),f(e,"id","category_list_level1_"+i[84])},m(b,v){T(b,e,v),d&&d.m(e,null),w(e,t),w(e,l),T(b,o,v);for(let k=0;k<p.length;k+=1)p[k].m(b,v);T(b,c,v),g=!0},p(b,v){if(b[10]&&b[82].metaInfo.icon?d?d.p(b,v):(d=Hc(b),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!g||v[0]&33562624)&&n!==(n=b[25](b[81])+"")&&Te(l,n),(!g||v[0]&33562624&&r!==(r=b[34](b[82],b[25](b[81]))))&&f(e,"title",r),(!g||v[0]&8192&&s!==(s=b[33](b[82].metaInfo,b[81])))&&f(e,"data-testid",s),v[0]&1887477952|v[1]&267){h=b[82];let k;for(k=0;k<h.length;k+=1){const y=Tc(b,h,k);p[k]?(p[k].p(y,v),R(p[k],1)):(p[k]=Jc(y),p[k].c(),R(p[k],1),p[k].m(c.parentNode,c))}for(be(),k=h.length;k<p.length;k+=1)m(k);ve()}},i(b){if(!g){for(let v=0;v<h.length;v+=1)R(p[v]);g=!0}},o(b){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)B(p[v]);g=!1},d(b){b&&I(e),d&&d.d(),b&&I(o),ot(p,b),b&&I(c)}}}function jk(i){let e,t,n,l,r,s,o=i[25](i[81])+"",c,g,d,h,p,m,b,v,k,y,P,N,A,E,V,D,F,M,W,K,Q,ce;function Ce($,j){return j[0]&8192&&(l=null),l==null&&(l=!!$[30]($[82].metaInfo.icon)),l?tS:eS}let G=Ce(i,[-1,-1,-1,-1]),J=G(i);function fe(){return i[60](i[82])}function te(){return i[61](i[82])}function x(...$){return i[62](i[82],...$)}let Le=i[82],ie=[];for(let $=0;$<Le.length;$+=1)ie[$]=Xc(Ac(i,Le,$));const Ee=$=>B(ie[$],1,1,()=>{ie[$]=null});let re=i[82].metaInfo&&i[82].metaInfo.label===i[8]&&$c(i);function Ve(){return i[67](i[82])}return{c(){e=C("li"),t=C("div"),n=C("a"),J.c(),r=z(),s=C("span"),c=Ie(o),b=z(),v=C("button"),k=C("i"),E=z(),V=C("ul");for(let $=0;$<ie.length;$+=1)ie[$].c();F=z(),re&&re.c(),M=z(),f(s,"class","fd-nested-list__title svelte-17n27g5"),f(n,"title",g=i[34](i[82],i[25](i[81]))),f(n,"class",d="fd-nested-list__link "+(ln(i[82],i[9])?"is-expanded":"")+" svelte-17n27g5"),f(n,"tabindex",h=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[84]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=ln(i[82],i[9])),f(k,"class",y=ln(i[82],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(k,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-17n27g5"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=ln(i[82],i[9])),f(v,"title",N=i[40](i[82],i[9])),f(t,"class","fd-nested-list__content has-child svelte-17n27g5"),f(t,"tabindex",A=i[6]?"0":"-1"),f(V,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-17n27g5"),f(V,"aria-hidden",D=!ln(i[82],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",W=i[33](i[82].metaInfo,i[81])),Vn(e,"lui-item-expanded",ln(i[82],i[9]))},m($,j){T($,e,j),w(e,t),w(t,n),J.m(n,null),w(n,r),w(n,s),w(s,c),w(t,b),w(t,v),w(v,k),w(e,E),w(e,V);for(let pe=0;pe<ie.length;pe+=1)ie[pe].m(V,null);w(e,F),re&&re.m(e,null),w(e,M),K=!0,Q||(ce=[le(n,"click",At(fe)),le(v,"click",At(te)),le(t,"keypress",x),le(e,"click",Mt(Ve))],Q=!0)},p($,j){if(i=$,G===(G=Ce(i,j))&&J?J.p(i,j):(J.d(1),J=G(i),J&&(J.c(),J.m(n,r))),(!K||j[0]&33562624)&&o!==(o=i[25](i[81])+"")&&Te(c,o),(!K||j[0]&33562624&&g!==(g=i[34](i[82],i[25](i[81]))))&&f(n,"title",g),(!K||j[0]&8704&&d!==(d="fd-nested-list__link "+(ln(i[82],i[9])?"is-expanded":"")+" svelte-17n27g5"))&&f(n,"class",d),(!K||j[0]&64&&h!==(h=i[6]?"-1":"0"))&&f(n,"tabindex",h),(!K||j[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!K||j[0]&8704&&m!==(m=ln(i[82],i[9])))&&f(n,"aria-expanded",m),(!K||j[0]&8704&&y!==(y=ln(i[82],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(k,"class",y),(!K||j[0]&8704&&P!==(P=ln(i[82],i[9])))&&f(v,"aria-expanded",P),(!K||j[0]&8704&&N!==(N=i[40](i[82],i[9])))&&f(v,"title",N),(!K||j[0]&64&&A!==(A=i[6]?"0":"-1"))&&f(t,"tabindex",A),j[0]&276865152|j[1]&267){Le=i[82];let pe;for(pe=0;pe<Le.length;pe+=1){const Ke=Ac(i,Le,pe);ie[pe]?(ie[pe].p(Ke,j),R(ie[pe],1)):(ie[pe]=Xc(Ke),ie[pe].c(),R(ie[pe],1),ie[pe].m(V,null))}for(be(),pe=Le.length;pe<ie.length;pe+=1)Ee(pe);ve()}(!K||j[0]&8704&&D!==(D=!ln(i[82],i[9])))&&f(V,"aria-hidden",D),i[82].metaInfo&&i[82].metaInfo.label===i[8]?re?(re.p(i,j),j[0]&8448&&R(re,1)):(re=$c(i),re.c(),R(re,1),re.m(e,M)):re&&(be(),B(re,1,1,()=>{re=null}),ve()),(!K||j[0]&8192&&W!==(W=i[33](i[82].metaInfo,i[81])))&&f(e,"data-testid",W),(!K||j[0]&8704)&&Vn(e,"lui-item-expanded",ln(i[82],i[9]))},i($){if(!K){for(let j=0;j<Le.length;j+=1)R(ie[j]);R(re),K=!0}},o($){ie=ie.filter(Boolean);for(let j=0;j<ie.length;j+=1)B(ie[j]);B(re),K=!1},d($){$&&I(e),J.d(),ot(ie,$),re&&re.d(),Q=!1,$e(ce)}}}function Hc(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[30](s[82].metaInfo.icon)),e?Qk:Yk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function Yk(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Qk(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[82].metaInfo.icon?i[29](i[82].metaInfo.icon):"")+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[82].metaInfo.icon?n[29](n[82].metaInfo.icon):"")+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Wc(i){let e,t,n=i[85].label&&zc(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=zc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function zc(i){let e,t,n,l,r=i[28](i[85])+"",s,o,c,g,d,h,p,m,b,v,k,y,P,N;function A(Q,ce){return Q[85].icon?Xk:Zk}let E=A(i),V=E(i),D=i[85].statusBadge&&Gc(i),F=i[85].externalLink&&i[85].externalLink.url&&qc(),M=i[85].badgeCounter&&Kc(i);function W(...Q){return i[68](i[85],...Q)}function K(...Q){return i[69](i[85],...Q)}return{c(){e=C("li"),t=C("a"),V.c(),n=z(),l=C("span"),s=Ie(r),o=z(),D&&D.c(),g=z(),F&&F.c(),d=z(),M&&M.c(),v=z(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",h=i[32](i[85])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",b=i[31](i[85])),f(e,"class","fd-nested-list__item"),f(e,"title",k=i[34](i[85],i[28](i[85]))),f(e,"aria-labelledby","category_list_level1_"+i[84])},m(Q,ce){T(Q,e,ce),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),D&&D.m(l,null),w(t,g),F&&F.m(t,null),w(t,d),M&&M.m(t,null),w(e,v),y=!0,P||(N=[le(t,"click",W),le(t,"keyup",function(){di(i[23]?void 0:K)&&(i[23]?void 0:K).apply(this,arguments)})],P=!0)},p(Q,ce){i=Q,E===(E=A(i))&&V?V.p(i,ce):(V.d(1),V=E(i),V&&(V.c(),V.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[28](i[85])+"")&&Te(s,r),i[85].statusBadge?D?(D.p(i,ce),ce[0]&8192&&R(D,1)):(D=Gc(i),D.c(),R(D,1),D.m(l,null)):D&&(be(),B(D,1,1,()=>{D=null}),ve()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(l,"class",c),i[85].externalLink&&i[85].externalLink.url?F||(F=qc(),F.c(),F.m(t,d)):F&&(F.d(1),F=null),i[85].badgeCounter?M?(M.p(i,ce),ce[0]&8192&&R(M,1)):(M=Kc(i),M.c(),R(M,1),M.m(t,null)):M&&(be(),B(M,1,1,()=>{M=null}),ve()),(!y||ce[0]&8192&&h!==(h=i[32](i[85])))&&f(t,"href",h),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",p),(!y||ce[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!y||ce[0]&8192&&b!==(b=i[31](i[85])))&&f(t,"data-testid",b),(!y||ce[0]&8192&&k!==(k=i[34](i[85],i[28](i[85]))))&&f(e,"title",k)},i(Q){y||(R(D),R(M),y=!0)},o(Q){B(D),B(M),y=!1},d(Q){Q&&I(e),V.d(),D&&D.d(),F&&F.d(),M&&M.d(),P=!1,$e(N)}}}function Zk(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=C("i"),n=z(),l=C("span"),s=Ie(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){T(o,e,c),T(o,n,c),T(o,l,c),w(l,s)},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":"")&&Te(s,r)},d(o){o&&I(e),o&&I(n),o&&I(l)}}}function Xk(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[30](s[85].icon)),e?xk:$k}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function $k(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[85].icon)||f(t,"src",n),f(t,"alt",l=i[85].altText?i[85].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[85].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[85].altText?r[85].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function xk(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[85].icon)+" svelte-17n27g5")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[85].icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Gc(i){let e,t;return e=new qn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function qc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function Kc(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Jc(i){let e,t,n=!i[85].hideFromNav&&Wc(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Wc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function eS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function tS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[82].metaInfo.icon)+" "+(i[6]&&!i[82].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[82].metaInfo.icon)+" "+(n[6]&&!n[82].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function jc(i){let e,t,n=i[85].label&&Yc(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Yc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Yc(i){let e,t,n,l=i[28](i[85])+"",r,s,o,c,g,d,h,p,m,b,v,k,y,P,N;o=new qn({props:{node:i[85]}});let A=i[85].externalLink&&i[85].externalLink.url&&Qc(),E=i[85].badgeCounter&&Zc(i);function V(...F){return i[63](i[85],...F)}function D(...F){return i[64](i[85],...F)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),s=z(),Fe(o.$$.fragment),g=z(),A&&A.c(),d=z(),E&&E.c(),k=z(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",h=i[32](i[85])),f(t,"class",p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"role",m=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",b=i[31](i[85])),f(t,"title",v=i[34](i[85],i[28](i[85]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[84])},m(F,M){T(F,e,M),w(e,t),w(t,n),w(n,r),w(n,s),Oe(o,n,null),w(t,g),A&&A.m(t,null),w(t,d),E&&E.m(t,null),w(e,k),y=!0,P||(N=[le(t,"click",V),le(t,"keyup",function(){di(i[23]?void 0:D)&&(i[23]?void 0:D).apply(this,arguments)})],P=!0)},p(F,M){i=F,(!y||M[0]&8192)&&l!==(l=i[28](i[85])+"")&&Te(r,l);const W={};M[0]&8192&&(W.node=i[85]),o.$set(W),(!y||M[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(n,"class",c),i[85].externalLink&&i[85].externalLink.url?A||(A=Qc(),A.c(),A.m(t,d)):A&&(A.d(1),A=null),i[85].badgeCounter?E?(E.p(i,M),M[0]&8192&&R(E,1)):(E=Zc(i),E.c(),R(E,1),E.m(t,null)):E&&(be(),B(E,1,1,()=>{E=null}),ve()),(!y||M[0]&8192&&h!==(h=i[32](i[85])))&&f(t,"href",h),(!y||M[0]&8320&&p!==(p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",p),(!y||M[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!y||M[0]&8192&&b!==(b=i[31](i[85])))&&f(t,"data-testid",b),(!y||M[0]&8192&&v!==(v=i[34](i[85],i[28](i[85]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(E),y=!0)},o(F){B(o.$$.fragment,F),B(E),y=!1},d(F){F&&I(e),Me(o),A&&A.d(),E&&E.d(),P=!1,$e(N)}}}function Qc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function Zc(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Xc(i){let e,t,n=!i[85].hideFromNav&&jc(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function $c(i){let e,t,n,l=i[25](i[81])+"",r,s,o,c,g=i[82],d=[];for(let p=0;p<g.length;p+=1)d[p]=id(Lc(i,g,p));const h=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=C("div"),t=C("div"),n=C("h5"),r=Ie(l),s=z(),o=C("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-17n27g5"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-17n27g5"),f(t,"class","lui-flyout-sublist__wrapper svelte-17n27g5"),f(e,"class","lui-flyout-sublist svelte-17n27g5")},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o);for(let b=0;b<d.length;b+=1)d[b].m(o,null);c=!0},p(p,m){if((!c||m[0]&33562624)&&l!==(l=p[25](p[81])+"")&&Te(r,l),m[0]&276865152|m[1]&267){g=p[82];let b;for(b=0;b<g.length;b+=1){const v=Lc(p,g,b);d[b]?(d[b].p(v,m),R(d[b],1)):(d[b]=id(v),d[b].c(),R(d[b],1),d[b].m(o,null))}for(be(),b=g.length;b<d.length;b+=1)h(b);ve()}},i(p){if(!c){for(let m=0;m<g.length;m+=1)R(d[m]);c=!0}},o(p){d=d.filter(Boolean);for(let m=0;m<d.length;m+=1)B(d[m]);c=!1},d(p){p&&I(e),ot(d,p)}}}function xc(i){let e,t,n=i[85].label&&ed(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ed(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function ed(i){let e,t,n,l=i[28](i[85])+"",r,s,o,c,g,d,h,p,m,b,v,k,y,P,N;o=new qn({props:{node:i[85]}});let A=i[85].externalLink&&i[85].externalLink.url&&td(),E=i[85].badgeCounter&&nd(i);function V(...F){return i[65](i[85],...F)}function D(...F){return i[66](i[85],...F)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),s=z(),Fe(o.$$.fragment),g=z(),A&&A.c(),d=z(),E&&E.c(),k=z(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",h=i[32](i[85])),f(t,"class",p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"tabindex","0"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",b=i[31](i[85])),f(t,"title",v=i[34](i[85],i[28](i[85]))),f(e,"class","fd-nested-list__item")},m(F,M){T(F,e,M),w(e,t),w(t,n),w(n,r),w(n,s),Oe(o,n,null),w(t,g),A&&A.m(t,null),w(t,d),E&&E.m(t,null),w(e,k),y=!0,P||(N=[le(t,"click",V),le(t,"keyup",function(){di(i[23]?void 0:D)&&(i[23]?void 0:D).apply(this,arguments)})],P=!0)},p(F,M){i=F,(!y||M[0]&8192)&&l!==(l=i[28](i[85])+"")&&Te(r,l);const W={};M[0]&8192&&(W.node=i[85]),o.$set(W),(!y||M[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(n,"class",c),i[85].externalLink&&i[85].externalLink.url?A||(A=td(),A.c(),A.m(t,d)):A&&(A.d(1),A=null),i[85].badgeCounter?E?(E.p(i,M),M[0]&8192&&R(E,1)):(E=nd(i),E.c(),R(E,1),E.m(t,null)):E&&(be(),B(E,1,1,()=>{E=null}),ve()),(!y||M[0]&8192&&h!==(h=i[32](i[85])))&&f(t,"href",h),(!y||M[0]&8320&&p!==(p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",p),(!y||M[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!y||M[0]&8192&&b!==(b=i[31](i[85])))&&f(t,"data-testid",b),(!y||M[0]&8192&&v!==(v=i[34](i[85],i[28](i[85]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(E),y=!0)},o(F){B(o.$$.fragment,F),B(E),y=!1},d(F){F&&I(e),Me(o),A&&A.d(),E&&E.d(),P=!1,$e(N)}}}function td(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function nd(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function id(i){let e,t,n=!i[85].hideFromNav&&xc(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function ld(i){let e,t,n=i[85].label&&rd(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].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&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function rd(i){let e,t,n,l,r=i[28](i[85])+"",s,o,c,g,d,h,p,m,b,v,k,y,P,N,A;function E(Q,ce){return Q[85].icon?iS:nS}let V=E(i),D=V(i);c=new qn({props:{node:i[85]}});let F=i[85].externalLink&&i[85].externalLink.url&&sd(),M=i[85].badgeCounter&&ad(i);function W(...Q){return i[58](i[85],...Q)}function K(...Q){return i[59](i[85],...Q)}return{c(){e=C("li"),t=C("a"),D.c(),n=z(),l=C("span"),s=Ie(r),o=z(),Fe(c.$$.fragment),d=z(),F&&F.c(),h=z(),M&&M.c(),y=z(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",p=i[32](i[85])),f(t,"title",m=i[34](i[85],i[28](i[85]))),f(t,"class",b="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",k=i[31](i[85])),f(e,"class","fd-nested-list__item")},m(Q,ce){T(Q,e,ce),w(e,t),D.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),Oe(c,l,null),w(t,d),F&&F.m(t,null),w(t,h),M&&M.m(t,null),w(e,y),P=!0,N||(A=[le(t,"click",W),le(t,"keyup",function(){di(i[23]?void 0:K)&&(i[23]?void 0:K).apply(this,arguments)})],N=!0)},p(Q,ce){i=Q,V===(V=E(i))&&D?D.p(i,ce):(D.d(1),D=V(i),D&&(D.c(),D.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[28](i[85])+"")&&Te(s,r);const Ce={};ce[0]&8192&&(Ce.node=i[85]),c.$set(Ce),(!P||ce[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(l,"class",g),i[85].externalLink&&i[85].externalLink.url?F||(F=sd(),F.c(),F.m(t,h)):F&&(F.d(1),F=null),i[85].badgeCounter?M?(M.p(i,ce),ce[0]&8192&&R(M,1)):(M=ad(i),M.c(),R(M,1),M.m(t,null)):M&&(be(),B(M,1,1,()=>{M=null}),ve()),(!P||ce[0]&8192&&p!==(p=i[32](i[85])))&&f(t,"href",p),(!P||ce[0]&8192&&m!==(m=i[34](i[85],i[28](i[85]))))&&f(t,"title",m),(!P||ce[0]&8320&&b!==(b="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",b),(!P||ce[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&k!==(k=i[31](i[85])))&&f(t,"data-testid",k)},i(Q){P||(R(c.$$.fragment,Q),R(M),P=!0)},o(Q){B(c.$$.fragment,Q),B(M),P=!1},d(Q){Q&&I(e),D.d(),Me(c),F&&F.d(),M&&M.d(),N=!1,$e(A)}}}function nS(i){let e,t;return{c(){e=C("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){T(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&&I(e)}}}function iS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[30](s[85].icon)),e?rS:lS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function lS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[85].icon)||f(t,"src",n),f(t,"alt",l=i[85].altText?i[85].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[85].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[85].altText?r[85].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function rS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[85].icon)+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[85].icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function sd(i){let e;return{c(){e=C("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function ad(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function od(i){let e,t,n=!i[85].hideFromNav&&ld(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):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){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function ud(i){let e,t,n,l,r,s;const o=[Kk,qk],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[81]==="undefined"||d[81].startsWith(d[14]))),e?0:(t==null&&(t=d[82].filter(AS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=me()},m(d,h){~n&&c[n].m(d,h),T(d,r,h),s=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(be(),B(c[p],1,1,()=>{c[p]=null}),ve()),~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){s||(R(l),s=!0)},o(d){B(l),s=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function fd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,s,o=i[3]&&cd(i);return{c(){e=C("div"),t=C("span"),n=C("span"),r=Ie(l),s=z(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-17n27g5"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-17n27g5"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-17n27g5")},m(c,g){T(c,e,g),w(e,t),w(t,n),w(n,r),w(t,s),o&&o.m(t,null)},p(c,g){g[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Te(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&&I(e),o&&o.d()}}}function cd(i){let e;function t(r,s){return r[4]=="button"?aS:sS}let n=t(i),l=n(i);return{c(){l.c(),e=me()},m(r,s){l.m(r,s),T(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function sS(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-17n27g5"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,s){T(r,e,s),n||(l=[le(e,"click",i[71]),le(e,"keydown",i[72])],n=!0)},p(r,s){s[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-17n27g5")&&f(e,"class",t),s[0]&2048&&f(e,"title",r[11])},d(r){r&&I(e),n=!1,$e(l)}}}function aS(i){let e,t,n,l,r;return{c(){e=C("button"),t=C("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-17n27g5"),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-17n27g5")},m(s,o){T(s,e,o),w(e,t),l||(r=le(e,"click",i[70]),l=!0)},p(s,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(s[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-17n27g5")&&f(t,"class",n),o[0]&2048&&f(e,"title",s[11])},d(s){s&&I(e),l=!1,r()}}}function dd(i){let e,t,n,l,r,s,o=i[25](i[12].label)+"",c,g,d,h=i[12].icon&&hd(i),p=i[12].showUpLink&&gd(i);return{c(){e=C("div"),t=C("ul"),n=C("li"),l=C("a"),h&&h.c(),r=z(),s=C("span"),c=Ie(o),g=z(),p&&p.c(),f(s,"class","fd-nested-list__title svelte-17n27g5"),f(l,"class","fd-nested-list__link svelte-17n27g5"),f(l,"title",d=i[34](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-17n27g5"),f(e,"class","lui-nav-title svelte-17n27g5")},m(m,b){T(m,e,b),w(e,t),w(t,n),w(n,l),h&&h.m(l,null),w(l,r),w(l,s),w(s,c),w(l,g),p&&p.m(l,null)},p(m,b){m[12].icon?h?h.p(m,b):(h=hd(m),h.c(),h.m(l,r)):h&&(h.d(1),h=null),b[0]&33558528&&o!==(o=m[25](m[12].label)+"")&&Te(c,o),m[12].showUpLink?p?p.p(m,b):(p=gd(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),b[0]&33558528&&d!==(d=m[34](m[12],m[25](m[12].label)))&&f(l,"title",d)},d(m){m&&I(e),h&&h.d(),p&&p.d()}}}function hd(i){let e,t;function n(s,o){return o[0]&4096&&(e=null),e==null&&(e=!!s[30](s[12].icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function oS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&4096&&!Je(t.src,n=r[12].icon)&&f(t,"src",n),s[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function uS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(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-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function gd(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-17n27g5"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,s){T(r,e,s),n||(l=le(e,"click",At(i[19])),n=!0)},p(r,s){s[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&I(e),n=!1,l()}}}function _d(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b=i[13],v=[];for(let y=0;y<b.length;y+=1)v[y]=Ud(Ec(i,b,y));const k=y=>B(v[y],1,1,()=>{v[y]=null});return{c(){e=C("div"),t=C("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=z(),l=C("li"),r=z(),s=C("li"),o=C("div"),c=C("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=z(),d=C("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-17n27g5"></ul></div>',f(l,"class","lui-spacer svelte-17n27g5"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-17n27g5"),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-17n27g5"),f(d,"aria-hidden","false"),f(s,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-17n27g5"),f(s,"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){T(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)v[N].m(t,null);w(t,n),w(t,l),w(t,r),w(t,s),w(s,o),w(o,c),w(s,g),w(s,d),i[57](e),h=!0,p||(m=le(c,"click",RS),p=!0)},p(y,P){if(P[0]&1922164672|P[1]&271){b=y[13];let N;for(N=0;N<b.length;N+=1){const A=Ec(y,b,N);v[N]?(v[N].p(A,P),R(v[N],1)):(v[N]=Ud(A),v[N].c(),R(v[N],1),v[N].m(t,n))}for(be(),N=b.length;N<v.length;N+=1)k(N);ve()}},i(y){if(!h){for(let P=0;P<b.length;P+=1)R(v[P]);h=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)B(v[P]);h=!1},d(y){y&&I(e),ot(v,y),i[57](null),p=!1,m()}}}function fS(i){let e,t,n,l;const r=[hS,dS],s=[];function o(c,g){return 0}return e=o(),t=s[e]=r[e](i),{c(){t.c(),n=me()},m(c,g){s[e].m(c,g),T(c,n,g),l=!0},p(c,g){t.p(c,g)},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){s[e].d(c),c&&I(n)}}}function cS(i){let e,t,n=i[82],l=[];for(let s=0;s<n.length;s+=1)l[s]=Fd(Oc(i,n,s));const r=s=>B(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=me()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);T(s,e,o),t=!0},p(s,o){if(o[0]&1887477952|o[1]&267){n=s[82];let c;for(c=0;c<n.length;c+=1){const g=Oc(s,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Fd(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(s){ot(l,s),s&&I(e)}}}function dS(i){let e,t,n,l,r=i[25](i[81])+"",s,o,c,g,d,h,p,m,b=i[10]&&i[82].metaInfo.icon&&pd(i),v=i[82],k=[];for(let P=0;P<v.length;P+=1)k[P]=Sd(Dc(i,v,P));const y=P=>B(k[P],1,1,()=>{k[P]=null});return{c(){e=C("div"),t=C("a"),b&&b.c(),n=z(),l=C("span"),s=Ie(r),o=z(),c=C("span"),h=z();for(let P=0;P<k.length;P+=1)k[P].c();p=me(),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-17n27g5"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title lui-nav-entry svelte-17n27g5"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[34](i[82],i[25](i[81]))),f(e,"data-testid",d=i[33](i[82].metaInfo,i[81]))},m(P,N){T(P,e,N),w(e,t),b&&b.m(t,null),w(t,n),w(t,l),w(l,s),w(t,o),w(t,c),T(P,h,N);for(let A=0;A<k.length;A+=1)k[A].m(P,N);T(P,p,N),m=!0},p(P,N){if(P[10]&&P[82].metaInfo.icon?b?b.p(P,N):(b=pd(P),b.c(),b.m(t,n)):b&&(b.d(1),b=null),(!m||N[0]&33562624)&&r!==(r=P[25](P[81])+"")&&Te(s,r),(!m||N[0]&33562624&&g!==(g=P[34](P[82],P[25](P[81]))))&&f(e,"title",g),(!m||N[0]&8192&&d!==(d=P[33](P[82].metaInfo,P[81])))&&f(e,"data-testid",d),N[0]&1887477952|N[1]&267){v=P[82];let A;for(A=0;A<v.length;A+=1){const E=Dc(P,v,A);k[A]?(k[A].p(E,N),R(k[A],1)):(k[A]=Sd(E),k[A].c(),R(k[A],1),k[A].m(p.parentNode,p))}for(be(),A=v.length;A<k.length;A+=1)y(A);ve()}},i(P){if(!m){for(let N=0;N<v.length;N+=1)R(k[N]);m=!0}},o(P){k=k.filter(Boolean);for(let N=0;N<k.length;N+=1)B(k[N]);m=!1},d(P){P&&I(e),b&&b.d(),P&&I(h),ot(k,P),P&&I(p)}}}function hS(i){let e,t,n,l,r,s,o=i[25](i[81])+"",c,g,d,h,p,m,b,v,k,y,P,N,A,E,V;function D(ce,Ce){return Ce[0]&8192&&(l=null),l==null&&(l=!!ce[30](ce[82].metaInfo.icon)),l?kS:wS}let F=D(i,[-1,-1,-1,-1]),M=F(i);function W(){return i[49](i[82])}function K(...ce){return i[50](i[82],...ce)}let Q=(!i[6]||i[82].metaInfo&&i[82].metaInfo.label===i[8])&&Cd(i);return{c(){e=C("li"),t=C("div"),n=C("a"),M.c(),r=z(),s=C("span"),c=Ie(o),g=z(),d=C("span"),h=z(),p=C("span"),y=z(),Q&&Q.c(),f(s,"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-17n27g5"),f(n,"role","button"),f(n,"tabindex","-1"),f(t,"class",m="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",b=i[34](i[82],i[25](i[81]))),f(t,"aria-expanded",v=i[6]?i[82].metaInfo&&i[82].metaInfo.label===i[8]:ln(i[82],i[9])),f(t,"aria-selected",k=i[6]&&i[82].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-17n27g5"),f(e,"aria-hidden","true"),f(e,"data-testid",N=i[33](i[82].metaInfo,i[81]))},m(ce,Ce){T(ce,e,Ce),w(e,t),w(t,n),M.m(n,null),w(n,r),w(n,s),w(s,c),w(n,g),w(n,d),w(n,h),w(n,p),w(e,y),Q&&Q.m(e,null),A=!0,E||(V=[le(n,"click",At(W)),le(t,"click",Mt(K))],E=!0)},p(ce,Ce){i=ce,F===(F=D(i,Ce))&&M?M.p(i,Ce):(M.d(1),M=F(i),M&&(M.c(),M.m(n,r))),(!A||Ce[0]&33562624)&&o!==(o=i[25](i[81])+"")&&Te(c,o),(!A||Ce[0]&64&&m!==(m="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",m),(!A||Ce[0]&33562624&&b!==(b=i[34](i[82],i[25](i[81]))))&&f(t,"title",b),(!A||Ce[0]&9024&&v!==(v=i[6]?i[82].metaInfo&&i[82].metaInfo.label===i[8]:ln(i[82],i[9])))&&f(t,"aria-expanded",v),(!A||Ce[0]&8384&&k!==(k=i[6]&&i[82].indexOf(i[7])>=0))&&f(t,"aria-selected",k),!i[6]||i[82].metaInfo&&i[82].metaInfo.label===i[8]?Q?(Q.p(i,Ce),Ce[0]&8512&&R(Q,1)):(Q=Cd(i),Q.c(),R(Q,1),Q.m(e,null)):Q&&(be(),B(Q,1,1,()=>{Q=null}),ve()),(!A||Ce[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-17n27g5"))&&f(e,"class",P),(!A||Ce[0]&8192&&N!==(N=i[33](i[82].metaInfo,i[81])))&&f(e,"data-testid",N)},i(ce){A||(R(Q),A=!0)},o(ce){B(Q),A=!1},d(ce){ce&&I(e),M.d(),Q&&Q.d(),E=!1,$e(V)}}}function pd(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[30](s[82].metaInfo.icon)),e?_S:gS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function gS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-navigation__icon svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function _S(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[82].metaInfo.icon)+" svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[82].metaInfo.icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function md(i){let e,t,n=i[85].label&&bd(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=bd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function bd(i){let e,t,n,l,r=i[28](i[85])+"",s,o,c,g,d,h,p,m,b,v,k,y,P;function N(K,Q){return K[85].icon?mS:pS}let A=N(i),E=A(i),V=i[85].statusBadge&&vd(i),D=i[85].externalLink&&i[85].externalLink.url&&wd(),F=i[85].badgeCounter&&kd(i);function M(...K){return i[55](i[85],...K)}function W(...K){return i[56](i[85],...K)}return{c(){e=C("li"),t=C("a"),E.c(),n=z(),l=C("span"),s=Ie(r),o=z(),V&&V.c(),g=z(),D&&D.c(),d=z(),F&&F.c(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",h=i[32](i[85])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",b=i[31](i[85])),f(e,"class","fd-nested-list__item"),f(e,"title",v=i[34](i[85],i[28](i[85]))),f(e,"aria-labelledby","category_list_level1_"+i[84])},m(K,Q){T(K,e,Q),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,s),w(l,o),V&&V.m(l,null),w(t,g),D&&D.m(t,null),w(t,d),F&&F.m(t,null),k=!0,y||(P=[le(t,"click",M),le(t,"keyup",function(){di(i[23]?void 0:W)&&(i[23]?void 0:W).apply(this,arguments)})],y=!0)},p(K,Q){i=K,A===(A=N(i))&&E?E.p(i,Q):(E.d(1),E=A(i),E&&(E.c(),E.m(t,n))),(!k||Q[0]&8192)&&r!==(r=i[28](i[85])+"")&&Te(s,r),i[85].statusBadge?V?(V.p(i,Q),Q[0]&8192&&R(V,1)):(V=vd(i),V.c(),R(V,1),V.m(l,null)):V&&(be(),B(V,1,1,()=>{V=null}),ve()),(!k||Q[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(l,"class",c),i[85].externalLink&&i[85].externalLink.url?D||(D=wd(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[85].badgeCounter?F?(F.p(i,Q),Q[0]&8192&&R(F,1)):(F=kd(i),F.c(),R(F,1),F.m(t,null)):F&&(be(),B(F,1,1,()=>{F=null}),ve()),(!k||Q[0]&8192&&h!==(h=i[32](i[85])))&&f(t,"href",h),(!k||Q[0]&8320&&p!==(p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",p),(!k||Q[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!k||Q[0]&8192&&b!==(b=i[31](i[85])))&&f(t,"data-testid",b),(!k||Q[0]&8192&&v!==(v=i[34](i[85],i[28](i[85]))))&&f(e,"title",v)},i(K){k||(R(V),R(F),k=!0)},o(K){B(V),B(F),k=!1},d(K){K&&I(e),E.d(),V&&V.d(),D&&D.d(),F&&F.d(),y=!1,$e(P)}}}function pS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",s;return{c(){e=C("i"),n=z(),l=C("span"),s=Ie(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){T(o,e,c),T(o,n,c),T(o,l,c),w(l,s)},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":"")&&Te(s,r)},d(o){o&&I(e),o&&I(n),o&&I(l)}}}function mS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[30](s[85].icon)),e?vS:bS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function bS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[85].icon)||f(t,"src",n),f(t,"alt",l=i[85].altText?i[85].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[85].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[85].altText?r[85].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function vS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[85].icon)+" svelte-17n27g5")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[85].icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function vd(i){let e,t;return e=new qn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function wd(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function kd(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Sd(i){let e,t,n=!i[85].hideFromNav&&md(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=md(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function wS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-navigation__icon svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function kS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[82].metaInfo.icon)+" "+(i[6]&&!i[82].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){T(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[29](n[82].metaInfo.icon)+" "+(n[6]&&!n[82].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Cd(i){let e,t,n,l,r,s,o,c=i[6]&&yd(i),g=i[82],d=[];for(let p=0;p<g.length;p+=1)d[p]=Ed(Vc(i,g,p));const h=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=C("div"),t=C("div"),c&&c.c(),n=z(),l=C("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",s="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-17n27g5")},m(p,m){T(p,e,m),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let b=0;b<d.length;b+=1)d[b].m(l,null);o=!0},p(p,m){if(p[6]?c?c.p(p,m):(c=yd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),m[0]&276865152|m[1]&267){g=p[82];let b;for(b=0;b<g.length;b+=1){const v=Vc(p,g,b);d[b]?(d[b].p(v,m),R(d[b],1)):(d[b]=Ed(v),d[b].c(),R(d[b],1),d[b].m(l,null))}for(be(),b=g.length;b<d.length;b+=1)h(b);ve()}(!o||m[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||m[0]&64&&s!==(s="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-17n27g5"))&&f(e,"class",s)},i(p){if(!o){for(let m=0;m<g.length;m+=1)R(d[m]);o=!0}},o(p){d=d.filter(Boolean);for(let m=0;m<d.length;m+=1)B(d[m]);o=!1},d(p){p&&I(e),c&&c.d(),ot(d,p)}}}function yd(i){let e,t,n,l,r=i[25](i[81])+"",s,o,c,g,d,h=i[10]&&i[82].metaInfo.icon&&Pd(i);return{c(){e=C("div"),t=C("a"),h&&h.c(),n=z(),l=C("span"),s=Ie(r),o=z(),c=C("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-17n27g5"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-17n27g5"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[34](i[82],i[25](i[81]))),f(e,"data-testid",d=i[33](i[82].metaInfo,i[81]))},m(p,m){T(p,e,m),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),w(t,o),w(t,c)},p(p,m){p[10]&&p[82].metaInfo.icon?h?h.p(p,m):(h=Pd(p),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&33562624&&r!==(r=p[25](p[81])+"")&&Te(s,r),m[0]&33562624&&g!==(g=p[34](p[82],p[25](p[81])))&&f(e,"title",g),m[0]&8192&&d!==(d=p[33](p[82].metaInfo,p[81]))&&f(e,"data-testid",d)},d(p){p&&I(e),h&&h.d()}}}function Pd(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[30](s[82].metaInfo.icon)),e?CS:SS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function SS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-navigation__icon svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function CS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[82].metaInfo.icon)+" svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[82].metaInfo.icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Nd(i){let e,t,n=i[85].label&&Id(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Id(i){let e,t,n,l,r=i[28](i[85])+"",s,o,c,g,d,h,p,m,b,v,k,y,P,N,A,E,V=i[28](i[85])+"",D,F,M,W,K,Q,ce,Ce,G,J,fe,te,x,Le;c=new qn({props:{node:i[85]}});let ie=i[85].externalLink&&i[85].externalLink.url&&Td(),Ee=i[85].badgeCounter&&Ld(i);function re(...Ue){return i[51](i[85],...Ue)}function Ve(...Ue){return i[52](i[85],...Ue)}M=new qn({props:{node:i[85]}});let $=i[85].externalLink&&i[85].externalLink.url&&Ad(),j=i[85].badgeCounter&&Rd(i);function pe(...Ue){return i[53](i[85],...Ue)}function Ke(...Ue){return i[54](i[85],...Ue)}return{c(){e=C("li"),t=C("div"),n=C("a"),l=C("span"),s=Ie(r),o=z(),Fe(c.$$.fragment),d=z(),h=C("span"),p=z(),ie&&ie.c(),m=z(),Ee&&Ee.c(),P=z(),N=C("li"),A=C("a"),E=C("span"),D=Ie(V),F=z(),Fe(M.$$.fragment),K=z(),$&&$.c(),Q=z(),j&&j.c(),f(l,"class",g="fd-navigation__text badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),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-17n27g5"),f(n,"role","link"),f(n,"tabindex","-1"),f(n,"href",b=i[32](i[85])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[34](i[85],i[28](i[85]))),f(t,"aria-expanded","false"),f(t,"aria-selected",k=i[85]===i[7]),f(t,"data-testid",y=i[31](i[85])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(E,"class",W="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(A,"href",ce=i[32](i[85])),f(A,"class",Ce="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(A,"role",G=i[23]?void 0:"button"),f(A,"tabindex","0"),f(A,"data-testid",J=i[31](i[85])),f(A,"title",fe=i[34](i[85],i[28](i[85]))),On(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[84])},m(Ue,he){T(Ue,e,he),w(e,t),w(t,n),w(n,l),w(l,s),w(l,o),Oe(c,l,null),w(n,d),w(n,h),w(n,p),ie&&ie.m(n,null),w(n,m),Ee&&Ee.m(n,null),T(Ue,P,he),T(Ue,N,he),w(N,A),w(A,E),w(E,D),w(E,F),Oe(M,E,null),w(A,K),$&&$.m(A,null),w(A,Q),j&&j.m(A,null),te=!0,x||(Le=[le(n,"click",re),le(n,"keyup",function(){di(i[23]?void 0:Ve)&&(i[23]?void 0:Ve).apply(this,arguments)}),le(A,"click",pe),le(A,"keyup",function(){di(i[23]?void 0:Ke)&&(i[23]?void 0:Ke).apply(this,arguments)})],x=!0)},p(Ue,he){i=Ue,(!te||he[0]&8192)&&r!==(r=i[28](i[85])+"")&&Te(s,r);const Qe={};he[0]&8192&&(Qe.node=i[85]),c.$set(Qe),(!te||he[0]&8192&&g!==(g="fd-navigation__text badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(l,"class",g),i[85].externalLink&&i[85].externalLink.url?ie||(ie=Td(),ie.c(),ie.m(n,m)):ie&&(ie.d(1),ie=null),i[85].badgeCounter?Ee?(Ee.p(i,he),he[0]&8192&&R(Ee,1)):(Ee=Ld(i),Ee.c(),R(Ee,1),Ee.m(n,null)):Ee&&(be(),B(Ee,1,1,()=>{Ee=null}),ve()),(!te||he[0]&8192&&b!==(b=i[32](i[85])))&&f(n,"href",b),(!te||he[0]&8192&&v!==(v=i[34](i[85],i[28](i[85]))))&&f(t,"title",v),(!te||he[0]&8320&&k!==(k=i[85]===i[7]))&&f(t,"aria-selected",k),(!te||he[0]&8192&&y!==(y=i[31](i[85])))&&f(t,"data-testid",y),(!te||he[0]&8192)&&V!==(V=i[28](i[85])+"")&&Te(D,V);const xe={};he[0]&8192&&(xe.node=i[85]),M.$set(xe),(!te||he[0]&8192&&W!==(W="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(E,"class",W),i[85].externalLink&&i[85].externalLink.url?$||($=Ad(),$.c(),$.m(A,Q)):$&&($.d(1),$=null),i[85].badgeCounter?j?(j.p(i,he),he[0]&8192&&R(j,1)):(j=Rd(i),j.c(),R(j,1),j.m(A,null)):j&&(be(),B(j,1,1,()=>{j=null}),ve()),(!te||he[0]&8192&&ce!==(ce=i[32](i[85])))&&f(A,"href",ce),(!te||he[0]&8320&&Ce!==(Ce="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(A,"class",Ce),(!te||he[0]&8388608&&G!==(G=i[23]?void 0:"button"))&&f(A,"role",G),(!te||he[0]&8192&&J!==(J=i[31](i[85])))&&f(A,"data-testid",J),(!te||he[0]&8192&&fe!==(fe=i[34](i[85],i[28](i[85]))))&&f(A,"title",fe)},i(Ue){te||(R(c.$$.fragment,Ue),R(Ee),R(M.$$.fragment,Ue),R(j),te=!0)},o(Ue){B(c.$$.fragment,Ue),B(Ee),B(M.$$.fragment,Ue),B(j),te=!1},d(Ue){Ue&&I(e),Me(c),ie&&ie.d(),Ee&&Ee.d(),Ue&&I(P),Ue&&I(N),Me(M),$&&$.d(),j&&j.d(),x=!1,$e(Le)}}}function Td(i){let e;return{c(){e=C("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){T(t,e,n)},d(t){t&&I(e)}}}function Ld(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Ad(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function Rd(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Ed(i){let e,t,n=!i[85].hideFromNav&&Nd(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):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){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Dd(i){let e,t,n=i[85].label&&Vd(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Vd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Vd(i){let e,t,n,l,r,s=i[28](i[85])+"",o,c,g,d,h,p,m,b,v,k,y,P,N,A,E,V,D;function F(G,J){return G[85].icon?PS:yS}let M=F(i),W=M(i);g=new qn({props:{node:i[85]}});let K=i[85].externalLink&&i[85].externalLink.url&&Od(),Q=i[85].badgeCounter&&Md(i);function ce(...G){return i[47](i[85],...G)}function Ce(...G){return i[48](i[85],...G)}return{c(){e=C("li"),t=C("div"),n=C("a"),W.c(),l=z(),r=C("span"),o=Ie(s),c=z(),Fe(g.$$.fragment),h=z(),K&&K.c(),p=z(),Q&&Q.c(),m=z(),b=C("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(b,"class","fd-navigation__selection-indicator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(b,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[85]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-17n27g5"),f(n,"tabindex","-1"),f(n,"href",k=i[32](i[85])),f(n,"title",y=i[34](i[85],i[28](i[85]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",N=i[31](i[85])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",A=i[85]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,J){T(G,e,J),w(e,t),w(t,n),W.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Oe(g,r,null),w(n,h),K&&K.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,m),w(n,b),E=!0,V||(D=[le(n,"click",ce),le(n,"keyup",function(){di(i[23]?void 0:Ce)&&(i[23]?void 0:Ce).apply(this,arguments)})],V=!0)},p(G,J){i=G,M===(M=F(i))&&W?W.p(i,J):(W.d(1),W=M(i),W&&(W.c(),W.m(n,l))),(!E||J[0]&8192)&&s!==(s=i[28](i[85])+"")&&Te(o,s);const fe={};J[0]&8192&&(fe.node=i[85]),g.$set(fe),(!E||J[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(r,"class",d),i[85].externalLink&&i[85].externalLink.url?K||(K=Od(),K.c(),K.m(n,p)):K&&(K.d(1),K=null),i[85].badgeCounter?Q?(Q.p(i,J),J[0]&8192&&R(Q,1)):(Q=Md(i),Q.c(),R(Q,1),Q.m(n,m)):Q&&(be(),B(Q,1,1,()=>{Q=null}),ve()),(!E||J[0]&8320&&v!==(v="fd-navigation__link "+(i[85]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-17n27g5"))&&f(n,"class",v),(!E||J[0]&8192&&k!==(k=i[32](i[85])))&&f(n,"href",k),(!E||J[0]&8192&&y!==(y=i[34](i[85],i[28](i[85]))))&&f(n,"title",y),(!E||J[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!E||J[0]&8192&&N!==(N=i[31](i[85])))&&f(n,"data-testid",N),(!E||J[0]&8320&&A!==(A=i[85]===i[7]))&&f(t,"aria-selected",A)},i(G){E||(R(g.$$.fragment,G),R(Q),E=!0)},o(G){B(g.$$.fragment,G),B(Q),E=!1},d(G){G&&I(e),W.d(),Me(g),K&&K.d(),Q&&Q.d(),V=!1,$e(D)}}}function yS(i){let e,t;return{c(){e=C("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){T(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&&I(e)}}}function PS(i){let e,t;function n(s,o){return o[0]&8192&&(e=null),e==null&&(e=!!s[30](s[85].icon)),e?IS:NS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function NS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[85].icon)||f(t,"src",n),f(t,"alt",l=i[85].altText?i[85].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-17n27g5")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[85].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[85].altText?r[85].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function IS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[85].icon)+" svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[85].icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Od(i){let e;return{c(){e=C("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){T(t,e,n)},d(t){t&&I(e)}}}function Md(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Fd(i){let e,t,n=!i[85].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ud(i){let e,t,n,l,r,s;const o=[cS,fS],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[81]==="undefined"||d[81].startsWith(d[14]))),e?0:(t==null&&(t=d[82].filter(LS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=me()},m(d,h){~n&&c[n].m(d,h),T(d,r,h),s=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(be(),B(c[p],1,1,()=>{c[p]=null}),ve()),~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){s||(R(l),s=!0)},o(d){B(l),s=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function TS(i){let e,t,n,l,r,s;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=me()},m(d,h){c[e].m(d,h),T(d,n,h),l=!0,r||(s=[le(Zs,"resize",i[17]),le(Zs,"click",i[21]),le(Zs,"blur",i[21]),le(Zs,"keydown",i[35])],r=!0)},p(d,h){t.p(d,h)},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&I(n),r=!1,$e(s)}}}function ln(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 LS=i=>!i.hideFromNav&&i.label,AS=i=>!i.hideFromNav&&i.label,RS=i=>{const e=i.target.parentElement;e.getAttribute("aria-expanded")==="true"?e.setAttribute("aria-expanded","false"):e.setAttribute("aria-expanded","true"),i.stopPropagation()};function ES(i,e,t){let n;const l={get:()=>({children:s,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:b,isSemiCollapsed:v,selectedNode:k,sideNavAccordionMode:A,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:N,navParentNode:D}),set:async Z=>{Z&&(Object.getOwnPropertyNames(Z).forEach(async Pe=>{if(Pe==="pathData")t(5,p=Z.pathData);else if(Pe==="context")F=Z.context;else if(Pe==="children")t(0,s=Z.children);else if(Pe==="selectedNode")t(7,k=Z.selectedNode);else if(Pe==="hasCategoriesWithIcon")t(10,N=Z.hasCategoriesWithIcon);else if(Pe==="navParent"){t(12,V=void 0);let tt=Z.navParent;if(t(43,D=tt),tt&&tt.navHeader&&ae.requestExperimentalFeature("navHeader",!0)){let ht=tt.navHeader,wt=tt;if(ht==="inherit"){for(wt=tt.parent;wt&&wt.navHeader==="inherit";)wt=wt.parent;ht=wt?wt.navHeader:void 0}if(ht instanceof Function){t(12,V={});let an=ht(ke.stripNode(tt),ke.stripNode(wt),F);an instanceof Promise?an.then(Sn=>{t(12,V=Sn)}):t(12,V=an)}else if(ht==="auto")t(12,V={label:tt.label,icon:tt.icon});else if(ht&&ht.useTitleResolver&&wt.titleResolver){wt.titleResolver.prerenderFallback?t(12,V={...ht,label:wt.titleResolver.fallbackTitle||"",icon:wt.titleResolver.fallbackIcon}):t(12,V=ht);const an=we.mapPathToNode(it.getCurrentPath(),wt);Ot.extractDataFromPath(an).then(Sn=>{const jn=we.substituteDynamicParamsInObject(Object.assign({},Sn.pathData.context,wt.context),Sn.pathData.pathParams);ke.fetchNodeTitleData(wt,jn).then(Fn=>{t(12,V={...ht,...Fn})}).catch(Fn=>{console.error("Error while retrieving title, fallback to node label"),t(12,V={...ht,label:tt.label,icon:tt.icon})})})}else t(12,V=await Ve(ht,wt))}}}),t(42,A=ke.getSideNavAccordionMode(k)))}},r=zt();let{children:s}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:h}=e,{pathData:p}=e,{pathParams:m}=e,{virtualGroupPrefix:b=ke.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:k}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:A}=e,{burgerTooltip:E}=e,{navHeader:V}=e,{navParentNode:D}=e,F,M,W,K=pt("store"),Q=pt("getTranslation");Ci(i,Q,Z=>t(25,n=Z));let ce=!1,Ce=se.getConfigBooleanValue("settings.btpToolLayout"),G;const J=Z=>ke.getNodeLabel(Z),fe=async()=>{const Z=l.get(),Pe=await Ot.getLeftNavData({...Z},Z);Pe&&(l.set(Pe),M=p,window.LEFTNAVDATA=Pe.children)};Jt(()=>{t(3,d=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,h=se.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,ce=se.getConfigValue("navigation.addNavHrefs")),t(1,o=se.getConfigBooleanValue("settings.hideNavigation")),t(22,W=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ke.loadExpandedCategories()),dn.doOnStoreChange(K,()=>{t(2,c=se.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),dn.doOnStoreChange(K,()=>{fe()},["navigation.viewgroupdata"]);let Z=vi.initial();t(6,v=Z.isSemiCollapsed),t(41,g=Z.semiCollapsible),vi.onValueChanged(Pe=>{t(6,v=Pe.isSemiCollapsed)}),Mn.addEventListener("message",Pe=>{Pe.data.msg==="luigi.navigation.update-badge-counters"&&fe()})}),resetNavEntries=()=>{if(G){const Z=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Pe=G.querySelector(".fd-navigation__list"),tt=G.querySelector(".fd-navigation__list > .lui-spacer");Z==null||Z.forEach(ht=>{Pe.insertBefore(ht,tt)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},calculateNavEntries=()=>{const Z=G.querySelector(".fd-navigation__list > .lui-spacer"),Pe=G.querySelector(".lui-moreItems"),tt=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(!(tt.length<=0)&&Z.clientHeight===0){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let ht=tt.length-1;ht>0&&(lastNode=tt[ht-1],Pe.insertBefore(tt[ht],Pe.firstChild),!(Z.clientHeight>0));ht--);}},Zr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let Z;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Pe,tt)=>{Z&&clearTimeout(Z),v&&(Z=setTimeout(()=>{resetNavEntries(),calculateNavEntries()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):resetNavEntries()}),Kn(()=>{(!M||M!=p)&&fe(),t(22,W=se.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ke.loadExpandedCategories()),t(3,d=se.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:te}=e;function x(Z){return ke.renderIconClassName(Z)}function Le(Z){return ke.isOpenUIiconName(Z)}function ie(Z){return Z.testId?Z.testId:ke.prepareForTests(Z.pathSegment,Z.label)}function Ee(Z){return we.getNodeHref(Z,m)}function re(Z,Pe){return Z&&Z.testId?Z.testId:ke.prepareForTests(Pe||Z.label)}async function Ve(Z,Pe){const tt=we.mapPathToNode(it.getCurrentPath(),Pe),wt=(await Ot.extractDataFromPath(tt)).pathData.pathParams;return we.substituteDynamicParamsInObject(Z,wt)}function $(Z,Pe){return ke.generateTooltipText(Z,Pe)}function j(Z){r("handleClick",{node:Z})}function pe(Z,Pe){if(vi.getCollapsed()){let tt,ht=document.getElementsByClassName("fd-app__sidebar")[0];if(Z.metaInfo&&Z.metaInfo.label?tt=Z.metaInfo.label:tt=Z.category&&Z.category.label||Z.category,ht&&!ht.classList.contains("isBlocked")&&(ht.className+=" isBlocked"),tt===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=tt),ht?Ke(Pe):Ce&&Vo(Pe)}}function Ke(Z){const Pe=Z.closest(".fd-nested-list__item"),tt=Pe.offsetTop,ht=ci.getShellbar().offsetHeight;let wt;ci.isCustomLuigiContainer()?wt=ci.getCustomLuigiContainer().clientHeight:wt=window.innerHeight,setTimeout(()=>{const an=Pe.getElementsByClassName("lui-flyout-sublist")[0],Sn=Z.closest(".lui-fd-side-nav-wrapper").scrollTop,jn=tt+ht-Sn,Fn=wt-tt-Pe.offsetHeight+Sn-ht;jn+an.offsetHeight>=wt?(an.style.bottom=Fn+"px",an.className+=" has-bottom-position"):an.style.top=jn-ht+"px"})}function Ue(){if(g){let Z=vi.onResize(y);t(6,v=Z.isSemiCollapsed),t(8,y=Z.selectedCategory)}}function he(Z){if(Z.code==="ArrowRight"){const tt=Re.getCurrentMicrofrontendIframe();tt&&tt.contentWindow&&tt.contentWindow.focus()}}function Qe(Z){let Pe=D?D.parent:void 0;for(;Pe;){if(Pe.pathSegment&&Pe.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Pe});return}Pe=Pe.parent}console.warn('Could not resolve "up"-node, redirecting to root'),tp.navigate("/")}function xe(Z,Pe){vi.getCollapsed()||t(9,P=ke.storeExpandedState(Z.metaInfo.categoryUid,Pe,A))}function jt(){t(8,y=vi.closePopupMenu(y)),G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function vt(Z){Z&&Z.code==="Escape"&&jt()}function Ht(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),In()}function bn(Z){const Pe=Z.code;(Pe==="Enter"||Pe==="Space")&&Ht()}function Yt(Z,Pe){(Z.code==="Enter"||Z==="Space")&&pe(Pe,Z.currentTarget)}function en(Z,Pe){Z.keyCode===Si&&ke.handleNavAnchorClickedWithoutMetaKey(Z)&&j(Pe)}function In(){if(!ke.getBurgerTooltipConfig())return;const[Z,Pe]=ke.getBurgerTooltipConfig(),tt=document.body.classList.contains("lui-semiCollapsible");Z&&Pe&&tt&&t(11,E=document.body.classList.contains("semiCollapsed")?Z:Pe)}function vn(Z,Pe){return ln(Z,Pe)?Z.metaInfo.titleCollapseButton?n(Z.metaInfo.titleCollapseButton):void 0:Z.metaInfo.titleExpandButton?n(Z.metaInfo.titleExpandButton):void 0}const sn=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},Tn=(Z,Pe)=>en(Pe,Z),Tt=Z=>xe(Z,!ln(Z,P)),dl=(Z,Pe)=>pe(Z,Pe.currentTarget),li=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},wn=(Z,Pe)=>en(Pe,Z),Qt=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},Jn=(Z,Pe)=>en(Pe,Z),tn=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},kn=(Z,Pe)=>en(Pe,Z);function hi(Z){Ye[Z?"unshift":"push"](()=>{G=Z,t(24,G)})}const yi=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},hn=(Z,Pe)=>en(Pe,Z),Pi=Z=>xe(Z,!ln(Z,P)),Ni=Z=>xe(Z,!ln(Z,P)),Ii=(Z,Pe)=>Yt(Pe,Z),Ti=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},hl=(Z,Pe)=>en(Pe,Z),gl=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},_l=(Z,Pe)=>en(Pe,Z),Gi=Z=>pe(Z,event.currentTarget),Li=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},pl=(Z,Pe)=>en(Pe,Z),qi=Z=>Ht(),gi=Z=>Ht(),ml=Z=>bn(Z);return i.$$set=Z=>{"children"in Z&&t(0,s=Z.children),"hideNavComponent"in Z&&t(1,o=Z.hideNavComponent),"footerText"in Z&&t(2,c=Z.footerText),"semiCollapsible"in Z&&t(41,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(44,m=Z.pathParams),"virtualGroupPrefix"in Z&&t(14,b=Z.virtualGroupPrefix),"isSemiCollapsed"in Z&&t(6,v=Z.isSemiCollapsed),"selectedNode"in Z&&t(7,k=Z.selectedNode),"selectedCategory"in Z&&t(8,y=Z.selectedCategory),"expandedCategories"in Z&&t(9,P=Z.expandedCategories),"hasCategoriesWithIcon"in Z&&t(10,N=Z.hasCategoriesWithIcon),"sideNavAccordionMode"in Z&&t(42,A=Z.sideNavAccordionMode),"burgerTooltip"in Z&&t(11,E=Z.burgerTooltip),"navHeader"in Z&&t(12,V=Z.navHeader),"navParentNode"in Z&&t(43,D=Z.navParentNode),"sortedChildrenEntries"in Z&&t(13,te=Z.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&s){const Z=Object.entries(s);Z.sort((Pe,tt)=>Pe[1].metaInfo.order-tt[1].metaInfo.order),t(13,te=Z)}},[s,o,c,d,h,p,v,k,y,P,N,E,V,te,b,j,pe,Ue,he,Qe,xe,jt,W,ce,G,n,Q,Ce,J,x,Le,ie,Ee,re,$,vt,Ht,bn,Yt,en,vn,g,A,D,m,Ke,Vo,sn,Tn,Tt,dl,li,wn,Qt,Jn,tn,kn,hi,yi,hn,Pi,Ni,Ii,Ti,hl,gl,_l,Gi,Li,pl,qi,gi,ml]}class sp extends Vt{constructor(e){super(),Dt(this,e,ES,TS,Rt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:41,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:44,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:42,burgerTooltip:11,navHeader:12,navParentNode:43,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:45,calculateBTPNavFlyoutPosition:46,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[45]}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 DS=i=>{dn.doOnStoreChange(i.store,()=>{const e=se.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),se.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){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),s=document.getElementsByTagName("head")[0];for(const o of s.childNodes)o.rel==="shortcut icon"&&o.remove();s.appendChild(r)}})},["settings.header"])},VS=(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 ae.trimTrailingSlash(ae.trimLeadingSlash(c.link)).split("/").forEach((d,h)=>{g&&(h+1>=t.length||!t[h+1].pathSegment||!VS(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,s=$r.getDocumentTitle()||r;i.set({title:r}),document.title=bt.getTranslation(s);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Bd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Hd(i,e,t){const n=i.slice();return n[43]=e[t],n}function OS(i){let e,t,n,l,r=i[1]&&Wd(i);return{c(){e=C("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){T(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[29]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=Wd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&I(e),r&&r.d(),n=!1,l()}}}function MS(i){let e,t,n,l,r=i[1]&&zd(i);return{c(){e=C("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(s,o){T(s,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[27]),n=!0)},p(s,o){s[1]?r?r.p(s,o):(r=zd(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(s[1]?"":"fd-shellbar__logo--image-replaced")+" "+(s[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",s[2])},d(s){s&&I(e),r&&r.d(),n=!1,l()}}}function Wd(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){T(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&I(e),i[28](null)}}}function zd(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){T(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&I(e),i[26](null)}}}function Gd(i){let e,t;function n(o,c){return o[3]?FS:US}let l=n(i),r=l(i),s=i[10]&&xd(i);return{c(){r.c(),e=z(),s&&s.c(),t=me()},m(o,c){r.m(o,c),T(o,e,c),s&&s.m(o,c),T(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?s?s.p(o,c):(s=xd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(o){r.d(o),o&&I(e),s&&s.d(o),o&&I(t)}}}function FS(i){let e,t,n,l,r,s,o,c,g,d;function h(k,y){return k[12]?HS:BS}let p=h(i),m=p(i),b=i[4]&&i[5]&&Qd(i),v=i[7]&&i[7].length>0&&Zd(i);return{c(){e=C("div"),t=C("div"),m.c(),n=z(),l=C("div"),r=C("nav"),s=C("ul"),b&&b.c(),o=z(),v&&v.c(),f(t,"class","fd-popover__control"),f(s,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(k,y){T(k,e,y),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,s),b&&b.m(s,null),w(s,o),v&&v.m(s,null),i[36](s),g||(d=le(t,"click",Mt(JS)),g=!0)},p(k,y){p===(p=h(k))&&m?m.p(k,y):(m.d(1),m=p(k),m&&(m.c(),m.m(t,null))),k[4]&&k[5]?b?b.p(k,y):(b=Qd(k),b.c(),b.m(s,o)):b&&(b.d(1),b=null),k[7]&&k[7].length>0?v?v.p(k,y):(v=Zd(k),v.c(),v.m(s,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!k[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(k){k&&I(e),m.d(),b&&b.d(),v&&v.d(),i[36](null),g=!1,d()}}}function US(i){let e;function t(r,s){return r[12]?qS:GS}let n=t(i),l=n(i);return{c(){l.c(),e=me()},m(r,s){l.m(r,s),T(r,e,s)},p(r,s){n===(n=t(r))&&l?l.p(r,s):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function BS(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("button"),t=C("span"),l=Ie(n),r=z(),s=C("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){T(d,e,h),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",Mt(i[34])),c=!0)},p(d,h){h[0]&131076&&n!==(n=d[17](d[2])+"")&&Te(l,n),h[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,g()}}}function HS(i){let e,t,n,l=i[7]&&i[7].length===1&&qd(i),r=i[7]&&i[7].length>1&&Kd(i),s=i[7].length>1&&!i[5]&&Yd(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=z(),s&&s.c(),n=me()},m(o,c){l&&l.m(o,c),T(o,e,c),r&&r.m(o,c),T(o,t,c),s&&s.m(o,c),T(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=qd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=Kd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?s?s.p(o,c):(s=Yd(o),s.c(),s.m(n.parentNode,n)):s&&(s.d(1),s=null)},d(o){l&&l.d(o),o&&I(e),r&&r.d(o),o&&I(t),s&&s.d(o),o&&I(n)}}}function qd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=C("a"),t=C("span"),l=Ie(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(s,o){T(s,e,o),w(e,t),w(t,l)},p(s,o){o[0]&131200&&n!==(n=s[17](s[7][0].title)+"")&&Te(l,n),o[0]&128&&r!==(r=s[22](s[7][0]))&&f(e,"href",r)},d(s){s&&I(e)}}}function Kd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=jd(Hd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=me()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);T(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=Hd(l,t,s);n[s]?n[s].p(o,r):(n[s]=jd(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ot(n,l),l&&I(e)}}}function Jd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g,d,h;return{c(){e=C("a"),t=C("span"),l=Ie(n),r=z(),s=C("i"),o=z(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,m){T(p,e,m),w(e,t),w(t,l),w(e,r),w(e,s),w(e,o),d||(h=le(e,"click",At(i[32])),d=!0)},p(p,m){m[0]&131076&&n!==(n=p[17](p[2])+"")&&Te(l,n),m[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),m[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&I(e),d=!1,h()}}}function jd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&Jd(i);return{c(){n&&n.c(),t=me()},m(l,r){n&&n.m(l,r),T(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=Jd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&I(t)}}}function Yd(i){let e,t,n=i[17](i[2])+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ie(n),r=z(),s=C("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(s,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){T(d,e,h),w(e,t),w(t,l),w(e,r),w(e,s),c||(g=le(e,"click",At(i[33])),c=!0)},p(d,h){h[0]&131076&&n!==(n=d[17](d[2])+"")&&Te(l,n),h[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,g()}}}function Qd(i){let e,t,n,l=i[17](i[6])+"",r,s,o,c;return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",s=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,d){T(g,e,d),w(e,t),w(t,n),w(n,r),o||(c=le(t,"click",At(i[14])),o=!0)},p(g,d){d[0]&131136&&l!==(l=g[17](g[6])+"")&&Te(r,l),d[0]&64&&s!==(s=g[20](g[6]))&&f(t,"data-testid",s)},d(g){g&&I(e),o=!1,c()}}}function Zd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=$d(Bd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=me()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);T(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let s;for(s=0;s<t.length;s+=1){const o=Bd(l,t,s);n[s]?n[s].p(o,r):(n[s]=$d(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ot(n,l),l&&I(e)}}}function WS(i){let e,t,n,l=i[17](i[43].title)+"",r,s,o,c,g,d;function h(...p){return i[35](i[43],...p)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),c=z(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",s=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=le(t,"click",h),g=!0)},p(p,m){i=p,m[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Te(r,l),m[0]&4736&&s!==(s=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",s),m[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&I(e),g=!1,d()}}}function zS(i){let e,t=i[16]&&Xd(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Xd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function Xd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=C("li"),t=new pr(!1),l=z(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,s){T(r,e,s),t.m(n,e),w(e,l)},p(r,s){s[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&I(e)}}}function $d(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!ae.isFunction(o[8])),e)return zS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return WS}let r=l(i,[-1,-1]),s=r&&r(i);return{c(){s&&s.c(),n=me()},m(o,c){s&&s.m(o,c),T(o,n,c)},p(o,c){r===(r=l(o,c))&&s?s.p(o,c):(s&&s.d(1),s=r&&r(o),s&&(s.c(),s.m(n.parentNode,n)))},d(o){s&&s.d(o),o&&I(n)}}}function GS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("span"),t=C("span"),l=Ie(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){T(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&I(e),r=!1,s()}}}function qS(i){let e,t,n=i[17](i[2])+"",l,r,s;return{c(){e=C("a"),t=C("span"),l=Ie(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){T(o,e,c),w(e,t),w(t,l),r||(s=le(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&I(e),r=!1,s()}}}function xd(i){let e,t=i[17](i[10])+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Te(n,t)},d(l){l&&I(e)}}}function KS(i){let e,t;function n(o,c){return o[12]?MS:OS}let l=n(i),r=l(i),s=i[2]&&Gd(i);return{c(){r.c(),e=z(),s&&s.c(),t=me()},m(o,c){r.m(o,c),T(o,e,c),s&&s.m(o,c),T(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]?s?s.p(o,c):(s=Gd(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},i:ze,o:ze,d(o){r.d(o),o&&I(e),s&&s.d(o),o&&I(t)}}}const JS=()=>{};function jS(i,e,t){let n;const l=zt();let{logo:r}=e,{hasLogo:s}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:d}=e,{selectedItem:h}=e,{defaultTitle:p}=e,{appSwitcherItems:m}=e,{itemRenderer:b}=e,{pathParams:v}=e,{subTitle:k}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:N}=e,A,E,V=pt("getUnsavedChangesModalPromise"),D=pt("getTranslation");Ci(i,D,he=>t(17,n=he));let F=pt("store");const M={closeDropDown:()=>{G("appSwitcherPopover")}},W=()=>({get:()=>({pathData:P,pathParams:v,appSwitcherItems:m,itemRenderer:b,selectedItem:h,defaultTitle:p,title:o,subTitle:k,defaultSubTitle:y,showMainAppEntry:d,hasApps:c,hasLogo:s,logo:r}),set:he=>{he&&Object.getOwnPropertyNames(he).forEach(Qe=>{Qe==="pathData"?t(24,P=he.pathData):Qe==="appSwitcherItems"?t(7,m=he.appSwitcherItems):Qe==="itemRenderer"?t(8,b=he.itemRenderer):Qe==="pathParams"?t(9,v=he.pathParams):Qe==="selectedItem"?t(5,h=he.selectedItem):Qe==="title"?t(2,o=he.title):Qe==="defaultSubTitle"?t(23,y=he.defaultSubTitle):Qe==="subTitle"?t(10,k=he.subTitle):Qe==="defaultTitle"?t(6,p=he.defaultTitle):Qe==="subTitle"?t(10,k=he.subTitle):Qe==="showMainAppEntry"?t(4,d=he.showMainAppEntry):Qe==="hasApps"?t(3,c=he.hasApps):Qe==="hasLogo"&&t(1,s=he.hasLogo)})},store:F});Jt(()=>{DS(W())}),Kn(()=>{(!E||E!=P)&&(ap(W()),E=P)});function K(he,Qe,xe){return setTimeout(()=>{Qe&&b(he,Qe.children[xe],M)}),""}function Q(he){V().then(()=>{it.navigateTo(we.applyPathParams(he,v))},()=>{})}function ce(){V().then(()=>{it.navigateTo("/")},()=>{})}function Ce(he){l("handleClick",{node:he}),G("appSwitcherPopover")}function G(he){l("toggleDropdownState",{name:he})}function J(he){return he.testId?he.testId:ke.prepareForTests(he.title||he)}function fe(he,Qe){if(he.link){const xe=we.applyPathParams(he.link,Qe);if(xe.indexOf(":")!==0&&xe.indexOf("/:")===-1)return!0}return!1}function te(he){return we.getNodeHref(he)}function x(he){Ye[he?"unshift":"push"](()=>{r=he,t(0,r)})}const Le=he=>{ke.handleNavAnchorClickedWithoutMetaKey(he)&&Q("/")};function ie(he){Ye[he?"unshift":"push"](()=>{r=he,t(0,r)})}const Ee=()=>Q("/"),re=he=>{ke.handleNavAnchorClickedWithoutMetaKey(he)&&Q("/")},Ve=()=>Q("/"),$=()=>G("appSwitcherPopover"),j=()=>G("appSwitcherPopover"),pe=()=>G("appSwitcherPopover"),Ke=(he,Qe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Qe)&&Q(he.link)};function Ue(he){Ye[he?"unshift":"push"](()=>{A=he,t(16,A)})}return i.$$set=he=>{"logo"in he&&t(0,r=he.logo),"hasLogo"in he&&t(1,s=he.hasLogo),"title"in he&&t(2,o=he.title),"hasApps"in he&&t(3,c=he.hasApps),"dropDownStates"in he&&t(11,g=he.dropDownStates),"showMainAppEntry"in he&&t(4,d=he.showMainAppEntry),"selectedItem"in he&&t(5,h=he.selectedItem),"defaultTitle"in he&&t(6,p=he.defaultTitle),"appSwitcherItems"in he&&t(7,m=he.appSwitcherItems),"itemRenderer"in he&&t(8,b=he.itemRenderer),"pathParams"in he&&t(9,v=he.pathParams),"subTitle"in he&&t(10,k=he.subTitle),"defaultSubTitle"in he&&t(23,y=he.defaultSubTitle),"pathData"in he&&t(24,P=he.pathData),"addNavHrefForAnchor"in he&&t(12,N=he.addNavHrefForAnchor)},[r,s,o,c,d,h,p,m,b,v,k,g,N,Q,ce,G,A,n,D,K,J,fe,te,y,P,Ce,x,Le,ie,Ee,re,Ve,$,j,pe,Ke,Ue]}class YS extends Vt{constructor(e){super(),Dt(this,e,jS,KS,Rt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function eh(i,e,t){const n=i.slice();return n[34]=e[t],n}function th(i){let e,t,n,l,r,s,o=i[0]&&nh(i),c=(i[10]||i[11])&&uh(i);return{c(){e=C("div"),o&&o.c(),t=z(),n=C("div"),l=C("div"),r=C("div"),s=C("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(s,"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){T(g,e,d),o&&o.m(e,null),T(g,t,d),T(g,n,d),w(n,l),w(l,r),w(r,s),c&&c.m(s,null)},p(g,d){g[0]?o?o.p(g,d):(o=nh(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,d):(c=uh(g),c.c(),c.m(s,null)):c&&(c.d(1),c=null)},d(g){g&&I(e),o&&o.d(),g&&I(t),g&&I(n),c&&c.d()}}}function nh(i){let e,t,n,l,r,s,o;function c(k,y){return k[7].picture?ZS:QS}let g=c(i),d=g(i),h=i[7].name&&ih(i),p=i[7].description&&lh(i),m=i[9].items,b=[];for(let k=0;k<m.length;k+=1)b[k]=sh(eh(i,m,k));let v=i[12]&&ah(i);return{c(){e=C("div"),d.c(),t=z(),n=C("div"),h&&h.c(),l=z(),p&&p.c(),r=z(),s=C("ul");for(let k=0;k<b.length;k+=1)b[k].c();o=z(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(s,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(s,"role","list")},m(k,y){T(k,e,y),d.m(e,null),T(k,t,y),T(k,n,y),h&&h.m(n,null),w(n,l),p&&p.m(n,null),T(k,r,y),T(k,s,y);for(let P=0;P<b.length;P+=1)b[P].m(s,null);w(s,o),v&&v.m(s,null)},p(k,y){if(g===(g=c(k))&&d?d.p(k,y):(d.d(1),d=g(k),d&&(d.c(),d.m(e,null))),k[7].name?h?h.p(k,y):(h=ih(k),h.c(),h.m(n,l)):h&&(h.d(1),h=null),k[7].description?p?p.p(k,y):(p=lh(k),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){m=k[9].items;let P;for(P=0;P<m.length;P+=1){const N=eh(k,m,P);b[P]?b[P].p(N,y):(b[P]=sh(N),b[P].c(),b[P].m(s,o))}for(;P<b.length;P+=1)b[P].d(1);b.length=m.length}k[12]?v?v.p(k,y):(v=ah(k),v.c(),v.m(s,null)):v&&(v.d(1),v=null)},d(k){k&&I(e),d.d(),k&&I(t),k&&I(n),h&&h.d(),p&&p.d(),k&&I(r),k&&I(s),ot(b,k),v&&v.d()}}}function QS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=C("span"),n=Ie(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){T(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Te(n,t)},d(l){l&&I(e)}}}function ZS(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),On(e,"background-image","url('"+i[7].picture+"')")},m(t,n){T(t,e,n)},p(t,n){n[0]&128&&On(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&I(e)}}}function ih(i){let e,t=i[7].name+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Te(n,t)},d(l){l&&I(e)}}}function lh(i){let e,t=i[7].description+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Te(n,t)},d(l){l&&I(e)}}}function rh(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?$S:XS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function XS(i){let e,t;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),On(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){T(n,e,l)},p(n,l){l[0]&128&&On(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&I(e)}}}function $S(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&I(e)}}}function sh(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,d,h=i[34].icon&&rh(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),h&&h.c(),n=z(),l=C("span"),s=Ie(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(m,b){T(m,e,b),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),g||(d=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,b){i=m,i[34].icon?h?h.p(i,b):(h=rh(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),b[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),b[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),b[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&I(e),h&&h.d(),g=!1,$e(d)}}}function ah(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g=i[9].settings.icon&&oh(i);return{c(){e=C("li"),t=C("a"),g&&g.c(),n=z(),l=C("span"),s=Ie(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,h){T(d,e,h),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,s),o||(c=[le(e,"click",At(i[5])),le(e,"keyup",i[25])],o=!0)},p(d,h){d[9].settings.icon?g?g.p(d,h):(g=oh(d),g.c(),g.m(t,n)):g&&(g.d(1),g=null),h[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Te(s,r)},d(d){d&&I(e),g&&g.d(),o=!1,$e(c)}}}function oh(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?eC:xS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function xS(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),Je(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){T(l,e,r)},p(l,r){r[0]&512&&!Je(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function eC(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&I(e)}}}function uh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&fh(i),l=i[10]&&!i[8]&&ch(i);return{c(){n&&n.c(),e=z(),l&&l.c(),t=me()},m(r,s){n&&n.m(r,s),T(r,e,s),l&&l.m(r,s),T(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=fh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=ch(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&I(e),l&&l.d(r),r&&I(t)}}}function fh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,s,o;return{c(){e=C("div"),t=C("button"),l=Ie(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){T(c,e,g),w(e,t),w(t,l),s||(o=le(t,"click",i[4]),s=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Te(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&I(e),s=!1,o()}}}function ch(i){let e,t,n,l,r;return{c(){e=C("button"),e.textContent="Login",t=z(),n=C("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(s,o){T(s,e,o),T(s,t,o),T(s,n,o),l||(r=[le(e,"click",i[15]),le(n,"click",i[15])],l=!0)},p:ze,d(s){s&&I(e),s&&I(t),s&&I(n),l=!1,$e(r)}}}function tC(i){let e,t=!i[1]&&th(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=th(n),t.c(),t.m(e.parentNode,e))},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function nC(i,e,t){let n;const l=zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,m,b,v=pt("store"),k=pt("getTranslation");Ci(i,k,x=>t(13,n=x));let y=pt("getUnsavedChangesModalPromise"),P=pt("openViewInModal");Jt(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),M()),F(),rn.getLoggedInStore().subscribe(x=>{t(8,c=x)}),rn.getUserInfoStore().subscribe(x=>{t(7,o=x),l("userInfoUpdated",o)})});function N(){rn.startAuthorization()}function A(x){return ke.renderIconClassName(x)}function E(x){return ke.isOpenUIiconName(x.icon)}function V(x){return x.testId?x.testId:ke.prepareForTests(x.label)}function D(x){return we.getNodeHref(x)}function F(){m||(dn.doOnStoreChange(v,async()=>{const x=await se.getConfigValueAsync("navigation.profile.logout"),Le=await se.getConfigValueAsync("userSettings"),ie=Le||await se.getConfigValueAsync("settings.userSettings"),Ee={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(ie){const re=ie.userSettingsProfileMenuEntry;Ee.settings={...ul.userSettingsProfileMenuEntry,...re}}Ee.logout={...ul.logout,...x},t(11,h=!!x),b=!1,rn.setProfileLogoutFn(null),x&&ae.isFunction(x.customLogoutFn)&&(b=!0,rn.setProfileLogoutFn(x.customLogoutFn)),t(9,g=Ee),t(12,p=!!ie)},["navigation.profile"]),m=!0)}async function M(){const x=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");x&&(rn.setUserInfo(o),t(7,o=x),l("userInfoUpdated",o))}function W(x){y().then(()=>{if(x.openNodeInModal){const Le=we.buildRoute(x,`${x.link}`);P(Le,x.openNodeInModal===!0?{}:x.openNodeInModal)}else it.navigateToLink(x)},()=>{}),l("toggleDropdownState")}function K(){y().then(()=>{d?ce():h&&b?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){rn.logout()}function Ce({keyCode:x}){(x===Si||x===Qr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const J=x=>{ke.handleNavAnchorClickedWithoutMetaKey(x)},fe=x=>W(x),te=x=>Ce(x);return i.$$set=x=>{"isHidden"in x&&t(1,r=x.isHidden),"addNavHrefForAnchor"in x&&t(2,s=x.addNavHrefForAnchor),"showUserInfo"in x&&t(0,G=x.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,s,W,K,Q,Ce,o,c,g,d,h,p,n,k,N,A,E,V,D,F,M,ce,J,fe,te]}class iC extends Vt{constructor(e){super(),Dt(this,e,nC,tC,Rt,{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 dh(i,e,t){const n=i.slice();return n[34]=e[t],n}function hh(i){let e,t,n,l,r,s=i[0]&&gh(i),o=i[9].items,c=[];for(let h=0;h<o.length;h+=1)c[h]=ph(dh(i,o,h));let g=i[12]&&mh(i),d=(i[10]||i[11])&&vh(i);return{c(){e=C("nav"),t=C("ul"),s&&s.c(),n=z();for(let h=0;h<c.length;h+=1)c[h].c();l=z(),g&&g.c(),r=z(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(h,p){T(h,e,p),w(e,t),s&&s.m(t,null),w(t,n);for(let m=0;m<c.length;m+=1)c[m].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]?s?s.p(h,p):(s=gh(h),s.c(),s.m(t,n)):s&&(s.d(1),s=null),p[0]&991756){o=h[9].items;let m;for(m=0;m<o.length;m+=1){const b=dh(h,o,m);c[m]?c[m].p(b,p):(c[m]=ph(b),c[m].c(),c[m].m(t,l))}for(;m<c.length;m+=1)c[m].d(1);c.length=o.length}h[12]?g?g.p(h,p):(g=mh(h),g.c(),g.m(t,r)):g&&(g.d(1),g=null),h[10]||h[11]?d?d.p(h,p):(d=vh(h),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(h){h&&I(e),s&&s.d(),ot(c,h),g&&g.d(),d&&d.d()}}}function gh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=C("li"),t=C("span"),l=Ie(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,s){T(r,e,s),w(e,t),w(t,l)},p(r,s){s[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Te(l,n)},d(r){r&&I(e)}}}function _h(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[34])),e?rC:lC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function lC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),Je(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){T(l,e,r)},p(l,r){r[0]&512&&!Je(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function rC(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&I(e)}}}function ph(i){let e,t,n,l,r=i[13](i[34].label)+"",s,o,c,g,d,h=i[34].icon&&_h(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),h&&h.c(),n=z(),l=C("span"),s=Ie(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(m,b){T(m,e,b),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,s),g||(d=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,b){i=m,i[34].icon?h?h.p(i,b):(h=_h(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),b[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(s,r),b[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),b[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&I(e),h&&h.d(),g=!1,$e(d)}}}function mh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",s,o,c,g,d=i[9].settings.icon&&bh(i);return{c(){e=C("li"),t=C("a"),d&&d.c(),n=z(),l=C("span"),s=Ie(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){T(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=[le(e,"click",At(i[5])),le(e,"keyup",i[25])],c=!0)},p(h,p){h[9].settings.icon?d?d.p(h,p):(d=bh(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Te(s,r),p[0]&512&&o!==(o=h[18](h[9].settings))&&f(e,"data-testid",o)},d(h){h&&I(e),d&&d.d(),c=!1,$e(g)}}}function bh(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].settings)),e?aC:sC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function sC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),Je(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){T(l,e,r)},p(l,r){r[0]&512&&!Je(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function aC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&I(e)}}}function vh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&wh(i),l=i[10]&&!i[8]&&Sh(i);return{c(){n&&n.c(),e=z(),l&&l.c(),t=me()},m(r,s){n&&n.m(r,s),T(r,e,s),l&&l.m(r,s),T(r,t,s)},p(r,s){r[8]||!r[10]&&r[11]?n?n.p(r,s):(n=wh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,s):(l=Sh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&I(e),l&&l.d(r),r&&I(t)}}}function wh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",s,o,c,g,d=i[9].logout.icon&&kh(i);return{c(){e=C("li"),t=C("button"),d&&d.c(),n=z(),l=C("span"),s=Ie(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(h,p){T(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,s),c||(g=le(e,"click",i[4]),c=!0)},p(h,p){h[9].logout.icon?d?d.p(h,p):(d=kh(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].logout.label)+"")&&Te(s,r),p[0]&512&&o!==(o=h[18](h[9].logout))&&f(e,"data-testid",o)},d(h){h&&I(e),d&&d.d(),c=!1,g()}}}function kh(i){let e,t;function n(s,o){return o[0]&512&&(e=null),e==null&&(e=!!s[17](s[9].logout)),e?uC:oC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function oC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),Je(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){T(l,e,r)},p(l,r){r[0]&512&&!Je(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function uC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&I(e)}}}function Sh(i){let e,t,n;return{c(){e=C("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){T(l,e,r),t||(n=le(e,"click",i[15]),t=!0)},p:ze,d(l){l&&I(e),t=!1,n()}}}function fC(i){let e,t=!i[1]&&hh(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=hh(n),t.c(),t.m(e.parentNode,e))},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function cC(i,e,t){let n;const l=zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:s}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,m,b,v=pt("store"),k=pt("getTranslation");Ci(i,k,x=>t(13,n=x));let y=pt("getUnsavedChangesModalPromise"),P=pt("openViewInModal");Jt(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),M()),F(),rn.getLoggedInStore().subscribe(x=>{t(8,c=x)}),rn.getUserInfoStore().subscribe(x=>{t(7,o=x),l("userInfoUpdated",o)})});function N(){rn.startAuthorization()}function A(x){return ke.renderIconClassName(x)}function E(x){return ke.isOpenUIiconName(x.icon)}function V(x){return x.testId?x.testId:ke.prepareForTests(x.label)}function D(x){return we.getNodeHref(x)}function F(){m||(dn.doOnStoreChange(v,async()=>{const x=await se.getConfigValueAsync("navigation.profile.logout"),Le=await se.getConfigValueAsync("userSettings"),ie=Le||await se.getConfigValueAsync("settings.userSettings");t(12,p=!!ie);const Ee={items:await se.getConfigValueAsync("navigation.profile.items")||[]};if(p){const re=ie.userSettingsProfileMenuEntry;Ee.settings={...ul.userSettingsProfileMenuEntry,...re}}Ee.logout={...ul.logout,...x},t(11,h=!!x),b=!1,rn.setProfileLogoutFn(null),x&&ae.isFunction(x.customLogoutFn)&&(b=!0,rn.setProfileLogoutFn(x.customLogoutFn)),t(9,g=Ee)},["navigation.profile"]),m=!0)}async function M(){const x=await se.getConfigValueAsync("navigation.profile.staticUserInfoFn");x&&(rn.setUserInfo(o),t(7,o=x),l("userInfoUpdated",o))}function W(x){y().then(()=>{if(x.openNodeInModal){const Le=we.buildRoute(x,`${x.link}`);P(Le,x.openNodeInModal===!0?{}:x.openNodeInModal)}else it.navigateToLink(x)},()=>{}),l("toggleDropdownState")}function K(){y().then(()=>{d?ce():h&&b?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){rn.logout()}function Ce({keyCode:x}){(x===Si||x===Qr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const J=x=>{ke.handleNavAnchorClickedWithoutMetaKey(x)},fe=x=>W(x),te=x=>Ce(x);return i.$$set=x=>{"isHidden"in x&&t(1,r=x.isHidden),"addNavHrefForAnchor"in x&&t(2,s=x.addNavHrefForAnchor),"showUserInfo"in x&&t(0,G=x.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,s,W,K,Q,Ce,o,c,g,d,h,p,n,k,N,A,E,V,D,F,M,ce,J,fe,te]}class op extends Vt{constructor(e){super(),Dt(this,e,cC,fC,Rt,{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 Ch(i,e,t){const n=i.slice();return n[12]=e[t],n}function yh(i){let e,t,n=i[1],l=[];for(let s=0;s<n.length;s+=1)l[s]=Ih(Ch(i,n,s));const r=s=>B(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=me()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);T(s,e,o),t=!0},p(s,o){if(o&510){n=s[1];let c;for(c=0;c<n.length;c+=1){const g=Ch(s,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ih(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(s){ot(l,s),s&&I(e)}}}function Ph(i){let e,t,n,l,r,s,o,c,g=i[4](i[12])+"",d,h,p=i[5](i[12]),m,b,v,k,y,P;function N(F,M){return M&10&&(n=null),n==null&&(n=!!F[3](F[12])),n?hC:dC}let A=N(i,-1),E=A(i);r=new mn({props:{node:i[12]}});let V=p&&Nh(i);function D(){return i[10](i[12])}return{c(){e=C("li"),t=C("div"),E.c(),l=z(),Fe(r.$$.fragment),s=z(),o=C("div"),c=C("div"),d=Ie(g),h=z(),V&&V.c(),m=z(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",b="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=i[2](i[12]))},m(F,M){T(F,e,M),w(e,t),E.m(t,null),w(t,l),Oe(r,t,null),w(e,s),w(e,o),w(o,c),w(c,d),w(o,h),V&&V.m(o,null),w(e,m),k=!0,y||(P=le(e,"click",D),y=!0)},p(F,M){i=F,A===(A=N(i,M))&&E?E.p(i,M):(E.d(1),E=A(i),E&&(E.c(),E.m(t,l)));const W={};M&2&&(W.node=i[12]),r.$set(W),(!k||M&18)&&g!==(g=i[4](i[12])+"")&&Te(d,g),M&34&&(p=i[5](i[12])),p?V?V.p(i,M):(V=Nh(i),V.c(),V.m(o,null)):V&&(V.d(1),V=null),(!k||M&66&&b!==(b="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",b),(!k||M&6&&v!==(v=i[2](i[12])))&&f(e,"data-testid",v)},i(F){k||(R(r.$$.fragment,F),k=!0)},o(F){B(r.$$.fragment,F),k=!1},d(F){F&&I(e),E.d(),Me(r),V&&V.d(),y=!1,P()}}}function dC(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){T(l,e,r)},p(l,r){r&2&&!Je(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function hC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){T(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&I(e)}}}function Nh(i){let e,t=i[5](i[12])+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Te(n,t)},d(l){l&&I(e)}}}function Ih(i){let e,t,n=i[12].label&&Ph(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Ph(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function gC(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v,k,y,P,N,A=i[1]&&yh(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),o=Ie(i[0]),c=z(),g=C("div"),d=C("div"),h=C("ul"),A&&A.c(),p=z(),m=C("footer"),b=C("div"),v=C("div"),k=C("button"),k.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"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-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(k,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(k,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(m,"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(E,V){T(E,e,V),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(t,c),w(t,g),w(g,d),w(d,h),A&&A.m(h,null),w(t,p),w(t,m),w(m,b),w(b,v),w(v,k),y=!0,P||(N=[le(k,"click",i[9]),le(e,"click",Mt(_C))],P=!0)},p(E,[V]){(!y||V&1)&&Te(o,E[0]),E[1]?A?(A.p(E,V),V&2&&R(A,1)):(A=yh(E),A.c(),R(A,1),A.m(h,null)):A&&(be(),B(A,1,1,()=>{A=null}),ve())},i(E){y||(R(A),y=!0)},o(E){B(A),y=!1},d(E){E&&I(e),A&&A.d(),P=!1,$e(N)}}}const _C=()=>{};function pC(i,e,t){const n=zt();let{label:l}=e,{nodes:r}=e,{getTestId:s}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:d}=e;function h(v){return ke.renderIconClassName(v)}function p(v){n("listClick",v)}function m(v){Ol.call(this,i,v)}const b=v=>p(v);return i.$$set=v=>{"label"in v&&t(0,l=v.label),"nodes"in v&&t(1,r=v.nodes),"getTestId"in v&&t(2,s=v.getTestId),"hasOpenUIicon"in v&&t(3,o=v.hasOpenUIicon),"getNodeLabel"in v&&t(4,c=v.getNodeLabel),"getNodeSubtitle"in v&&t(5,g=v.getNodeSubtitle),"noSubTitle"in v&&t(6,d=v.noSubTitle)},[l,r,s,o,c,g,d,p,h,m,b]}class up extends Vt{constructor(e){super(),Dt(this,e,pC,gC,Rt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:mC}=cl;function Th(i,e,t){const n=i.slice();return n[7]=e[t],n}function Lh(i){let e,t,n,l=i[0]&&Ah(i);return{c(){e=C("nav"),t=C("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,s){T(r,e,s),w(e,t),l&&l.m(t,null),n=!0},p(r,s){r[0]?l?(l.p(r,s),s&1&&R(l,1)):(l=Ah(r),l.c(),R(l,1),l.m(t,null)):l&&(be(),B(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){B(l),n=!1},d(r){r&&I(e),l&&l.d()}}}function Ah(i){let e,t,n=i[0],l=[];for(let s=0;s<n.length;s+=1)l[s]=Eh(Th(i,n,s));const r=s=>B(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=me()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);T(s,e,o),t=!0},p(s,o){if(o&15885){n=s[0];let c;for(c=0;c<n.length;c+=1){const g=Th(s,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Eh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(s){ot(l,s),s&&I(e)}}}function Rh(i){let e,t,n,l,r,s,o,c,g=i[11](i[7])+"",d,h,p,m,b,v,k;function y(E,V){return V&1&&(l=null),l==null&&(l=!!(E[7].icon&&E[9](E[7]))),l?vC:bC}let P=y(i,-1),N=P(i);s=new mn({props:{node:i[7]}});function A(){return i[15](i[7])}return{c(){e=C("li"),t=C("a"),n=C("span"),N.c(),r=z(),Fe(s.$$.fragment),o=z(),c=C("span"),d=Ie(g),p=z(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",h=i[2]?i[13](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",m=i[12](i[7]))},m(E,V){T(E,e,V),w(e,t),w(t,n),N.m(n,null),w(n,r),Oe(s,n,null),w(t,o),w(t,c),w(c,d),w(e,p),b=!0,v||(k=[le(t,"click",i[14]),le(e,"click",A)],v=!0)},p(E,V){i=E,P===(P=y(i,V))&&N?N.p(i,V):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const D={};V&1&&(D.node=i[7]),s.$set(D),(!b||V&1)&&g!==(g=i[11](i[7])+"")&&Te(d,g),(!b||V&5&&h!==(h=i[2]?i[13](i[7]):void 0))&&f(t,"href",h),(!b||V&1&&m!==(m=i[12](i[7])))&&f(e,"data-testid",m)},i(E){b||(R(s.$$.fragment,E),b=!0)},o(E){B(s.$$.fragment,E),b=!1},d(E){E&&I(e),N.d(),Me(s),v=!1,$e(k)}}}function bC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","sap-icon svelte-1gqx0dl"),Je(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(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&&I(e)}}}function vC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&I(e)}}}function Eh(i){let e,t,n=i[7].label&&Rh(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Rh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Dh(i){let e,t;return e=new up({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(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){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function wC(i){let e,t,n,l,r,s=!i[1]&&Lh(i),o=i[1]&&Dh(i);return{c(){s&&s.c(),e=z(),o&&o.c(),t=me()},m(c,g){s&&s.m(c,g),T(c,e,g),o&&o.m(c,g),T(c,t,g),n=!0,l||(r=le(mC,"resize",ra),l=!0)},p(c,[g]){c[1]?s&&(be(),B(s,1,1,()=>{s=null}),ve()):s?(s.p(c,g),g&2&&R(s,1)):(s=Lh(c),s.c(),R(s,1),s.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&R(o,1)):(o=Dh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(be(),B(o,1,1,()=>{o=null}),ve())},i(c){n||(R(s),R(o),n=!0)},o(c){B(s),B(o),n=!1},d(c){s&&s.d(c),c&&I(e),o&&o.d(c),c&&I(t),l=!1,r()}}}function ra(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function kC(i,e,t){const n=zt();let{isMobile:l}=e,{children:r}=e,{node:s}=e,o,c=pt("getUnsavedChangesModalPromise"),g=pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const h=()=>{},p=()=>({get:()=>({pathParams:o}),set:D=>{}});Jt(async()=>{ra()}),Kn(async()=>{r||t(0,r=await Ot.getChildren(s)),t(0,r)});function m(D){c().then(()=>{if(D.openNodeInModal){const F=we.buildRoute(D,`/${D.pathSegment}`);g(F,D.openNodeInModal===!0?{}:D.openNodeInModal)}else it.handleRouteClick(D,p())},()=>{}),v()}function b(D){m(D.detail)}function v(){n("close")}function k(D){return ke.isOpenUIiconName(D.icon)}function y(D){return ke.renderIconClassName(D)}function P(D){return bt.getTranslation(D.label)}function N(D){return D.testId?D.testId:ke.prepareForTests(D.pathSegment,D.label)}function A(D){return we.getNodeHref(D,o)}const E=D=>{ke.handleNavAnchorClickedWithoutMetaKey(D)},V=D=>m(D);return i.$$set=D=>{"isMobile"in D&&t(1,l=D.isMobile),"children"in D&&t(0,r=D.children),"node"in D&&t(7,s=D.node),"addNavHrefForAnchor"in D&&t(2,d=D.addNavHrefForAnchor)},[r,l,d,m,b,v,ra,s,h,k,y,P,N,A,E,V]}class fp extends Vt{constructor(e){super(),Dt(this,e,kC,wC,Rt,{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 ra}}const pn={_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?ae.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=ae.addLeadingSlash(it.getCurrentPath()),n=ae.addLeadingSlash(e.link);return t.startsWith(n)?i.link+ae.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=ae.normalizePath(i),n=ae.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=se.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=pn._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=ae.normalizePath(i),t=ae.normalizePath(t),!!pn.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=pn.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 pn.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=se.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await se.getConfigValueAsync("navigation.contextSwitcher.options");return await pn.generateSwitcherNav(e,t)}};function Vh(i,e,t){const n=i.slice();return n[21]=e[t],n}function Oh(i,e,t){const n=i.slice();return n[21]=e[t],n}function Mh(i,e,t){const n=i.slice();return n[21]=e[t],n}function Fh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Bh(Mh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){T(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Mh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Bh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&I(e),ot(n,l)}}}function Uh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,d;function h(){return i[15](i[21])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),o=z(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[le(t,"click",At(TC)),le(e,"click",h)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,$e(d)}}}function Bh(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&Uh(i);return{c(){n&&n.c(),t=me()},m(l,r){n&&n.m(l,r),T(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=Uh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&I(t)}}}function Hh(i){let e;return{c(){e=C("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
54
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-k9bftu"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function pk(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v=(i[5]||i[4]&&i[0].header)&&Qf(i),k=i[4]&&Xf(i),y=i[3]&&$f();return{c(){e=C("div"),t=C("div"),v&&v.c(),n=z(),l=C("div"),k&&k.c(),r=z(),a=C("div"),g=z(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-k9bftu"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-k9bftu"),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-k9bftu"),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=ii(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"),f(e,"style",m=i[5]?"z-index:1001":"")},m(P,N){T(P,e,N),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),k&&k.m(l,null),w(l,r),w(l,a),w(t,g),y&&y.m(t,null),b=!0},p(P,[N]){P[5]||P[4]&&P[0].header?v?(v.p(P,N),N&49&&R(v,1)):(v=Qf(P),v.c(),R(v,1),v.m(t,n)):v&&(me(),B(v,1,1,()=>{v=null}),be()),P[4]?k?(k.p(P,N),N&16&&R(k,1)):(k=Xf(P),k.c(),R(k,1),k.m(l,r)):k&&(me(),B(k,1,1,()=>{k=null}),be()),(!b||N&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-k9bftu"))&&f(a,"class",o),(!b||N&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=$f(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!b||N&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-k9bftu"))&&f(t,"class",d),(!b||N&32&&h!==(h=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",h),(!b||N&49&&p!==(p=ii(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-k9bftu"))&&f(e,"class",p),(!b||N&32&&m!==(m=P[5]?"z-index:1001":""))&&f(e,"style",m)},i(P){b||(R(v),R(k),b=!0)},o(P){B(v),B(k),b=!1},d(P){P&&I(e),v&&v.d(),k&&k.d(),y&&y.d()}}}function mk(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=zt();let h,p,m,b=!1,v=!1,k=!1,y=!1,P=!1,N=!0,A,E=pt("store");const V=G=>ke.getNodeLabel(G),D=async G=>{const J=G&&G.length?se.getPathWithoutHash(G):"",fe=we.parseParams(J.split("?")[1]);m=we.getNodeParams(fe);const te=await Ot.extractDataFromPath(G);h=te.nodeObject,t(4,P=r.isDrawer||typeof h.drawer=="object"),A=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,N=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=V(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=V(h),r),t(0,r._liveLabel=!0,r)),p=te.pathData,t(7,a=!0)},F=async G=>{if(!(b||v))if(a)if(h.webcomponent)t(3,k=!1),P?await K():await M(),dr.renderWebComponent(h.viewUrl,document.querySelector(A),{context:p.context,clientPermissions:h.clientPermissions||{},pathParams:p.pathParams||{}},h,void 0,!0),d("wcCreated",{modalWC:document.querySelector(A),modalWCData:{...p,nodeParams:m}}),v=!0;else{const J=await W(h.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:m});d("iframeCreated",{modalIframe:J,modalIframeData:{...p,nodeParams:m}}),b=!0}else await D(G)},M=async()=>{let G,J;const fe=document.querySelector(".lui-modal-index-"+c),{size:te,width:x,height:Le}=r,ie=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(fe.classList.remove("lui-modal-fullscreen"),x&&x.match(ie)&&Le&&Le.match(ie))G=Le,J=x;else switch(te){case"fullscreen":G="100vh",J="100vw",fe.classList.add("lui-modal-fullscreen");break;case"m":G="80%",J="60%";break;case"s":G="80%",J="40%";break;default:G="80%",J="80%"}fe.setAttribute("style",`width:${J};height:${G};`)},W=async(G,J)=>{P?await K():await M(),G&&(G=we.substituteViewUrl(G,J));const fe=await Re.createIframe(G,void 0,h,"modal",J);return document.querySelector(A).appendChild(fe),fe};async function K(G){let J="";const fe=document.getElementsByClassName("drawer"),te=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?fe[0].setAttribute("style",J):(te[0].setAttribute("style",J),fe[0].setAttribute("style","width:100%"))}Zr(()=>{F(o)});const Q=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,k=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,k=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!h||!h.loadingIndicator||h.loadingIndicator.hideAutomatically!==!1)&&ce()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await M()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&it.updateModalDataInUrl(we.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};Jt(()=>{dn.doOnStoreChange(E,()=>{r._liveLabel&&h&&t(0,r.title=V(h),r)},["navigation.viewgroupdata"]),Mn.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Re.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!h.webcomponent&&((G=h.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,k=!0)},250)}),Xr(()=>{Mn.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Re.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let G;N?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,k=!1)},250))}const Ce=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,g=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,g,k,P,N,d,a,o,l,n,Ce]}class lp extends Vt{constructor(e){super(),Dt(this,e,mk,pk,Rt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function xf(i,e,t){const n=i.slice();return n[28]=e[t][0],n[29]=e[t][1],n[30]=e,n[31]=t,n}function ec(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function tc(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function nc(i){let e,t=i[1][1].settings&&ic(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=ic(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function ic(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=dc(xf(i,n,r));return{c(){e=C("div"),t=C("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){T(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=xf(r,n,o);l[o]?l[o].p(c,a):(l[o]=dc(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&&I(e),ot(l,r)}}}function lc(i){let e;function t(r,a){return r[29].isEditable||r[29].isEditable===void 0?vk:bk}let n=t(i),l=n(i);return{c(){l.c(),e=ve()},m(r,a){l.m(r,a),T(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&&I(e)}}}function bk(i){let e,t=i[0][i[1][0]][i[28]]+"",n,l;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),f(e,"disabled",l=!(i[29].isEditable===void 0||i[29].isEditable))},m(r,a){T(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[28]]+"")&&Te(n,t),a[0]&2&&l!==(l=!(r[29].isEditable===void 0||r[29].isEditable))&&f(e,"disabled",l)},d(r){r&&I(e)}}}function vk(i){let e,t,n,l,r;function a(){i[18].call(e,i[28])}return{c(){e=C("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[29].placeholder)),f(e,"data-testid","lui-us-input"+i[31]),f(e,"id","fd-form-input-"+i[31]),e.disabled=n=!(i[29].isEditable===void 0||i[29].isEditable)},m(o,c){T(o,e,c),Wf(e,i[0][i[1][0]][i[28]]),l||(r=le(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[29].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[28]]&&Wf(e,i[0][i[1][0]][i[28]])},d(o){o&&I(e),l=!1,r()}}}function rc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"",c,g,d,h,p,m,b,v=Array.isArray(i[29].options),k,y;function P(...E){return i[19](i[28],i[31],i[29],...E)}function N(){return i[20](i[29])}let A=v&&ac(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),a=C("span"),c=Ie(o),d=z(),h=C("span"),h.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',m=z(),b=C("div"),A&&A.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[31]),f(a,"disabled",g=!(i[29].isEditable===void 0||i[29].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-1riziao"),f(r,"data-testid",p="lui-us-"+i[29].type+"-"+i[31]),f(r,"id","fd-form-input-"+i[31]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(b,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(b,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(E,V){T(E,e,V),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,m),w(t,b),A&&A.m(b,null),k||(y=[le(r,"keydown",P),le(n,"click",Mt(N))],k=!0)},p(E,V){i=E,V[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[28]],i[29].options)+"")&&Te(c,o),V[0]&2&&g!==(g=!(i[29].isEditable===void 0||i[29].isEditable))&&f(a,"disabled",g),V[0]&2&&p!==(p="lui-us-"+i[29].type+"-"+i[31])&&f(r,"data-testid",p),V[0]&2&&(v=Array.isArray(i[29].options)),v?A?A.p(i,V):(A=ac(i),A.c(),A.m(b,null)):A&&(A.d(1),A=null)},d(E){E&&I(e),A&&A.d(),k=!1,$e(y)}}}function ac(i){let e,t=i[29].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=sc(tc(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[31]),f(e,"role","listbox")},m(l,r){T(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[29].options;let a;for(a=0;a<t.length;a+=1){const o=tc(l,t,a);n[a]?n[a].p(o,r):(n[a]=sc(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&&I(e),ot(n,l)}}}function sc(i){let e,t,n=i[12](i[32])+"",l,r,a,o;function c(){return i[21](i[28],i[32],i[34])}return{c(){e=C("li"),t=C("span"),l=Ie(n),r=z(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[31]+"_"+i[34]),f(e,"tabindex","0"),Vn(e,"is-selected",i[4]===i[34]),Vn(e,"is-focus",i[4]===i[34])},m(g,d){T(g,e,d),w(e,t),w(t,l),w(e,r),a||(o=[le(e,"click",c),le(e,"keydown",i[22])],a=!0)},p(g,d){i=g,d[0]&2&&n!==(n=i[12](i[32])+"")&&Te(l,n),d[0]&16&&Vn(e,"is-selected",i[4]===i[34]),d[0]&16&&Vn(e,"is-focus",i[4]===i[34])},d(g){g&&I(e),a=!1,$e(o)}}}function oc(i){let e,t,n,l=i[29].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=uc(ec(i,l,a));return{c(){e=C("div"),t=C("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[28]+" svelte-1riziao"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){T(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[29].options;let c;for(c=0;c<l.length;c+=1){const g=ec(a,l,c);r[c]?r[c].p(g,o):(r[c]=uc(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[28]+" svelte-1riziao")&&f(t,"class",n)},d(a){a&&I(e),ot(r,a)}}}function uc(i){let e,t=i[12](i[32])+"",n,l,r,a,o,c,g,d;function h(){return i[23](i[28],i[32])}return{c(){e=C("button"),n=Ie(t),l=z(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[28],i[32])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[28],i[32])),e.disabled=c=!(i[29].isEditable===void 0||i[29].isEditable)},m(p,m){T(p,e,m),w(e,n),w(e,l),g||(d=le(e,"click",h),g=!0)},p(p,m){i=p,m[0]&2&&t!==(t=i[12](i[32])+"")&&Te(n,t),m[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[28]]===(i[32].value||i[32])?"is-selected":""))&&f(e,"class",r),m[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"id",a),m[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[28],i[32]))&&f(e,"data-testid",o),m[0]&2&&c!==(c=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=c)},d(p){p&&I(e),g=!1,d()}}}function fc(i){let e,t,n,l,r,a,o,c,g,d;function h(){i[24].call(n,i[28])}return{c(){e=C("label"),t=C("span"),n=C("input"),a=z(),o=C("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[28]),n.disabled=r=!(i[29].isEditable===void 0||i[29].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[28])},m(p,m){T(p,e,m),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[28]],w(t,a),w(t,o),g||(d=le(n,"change",h),g=!0)},p(p,m){i=p,m[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[28])&&f(n,"data-testid",l),m[0]&2&&r!==(r=!(i[29].isEditable===void 0||i[29].isEditable))&&(n.disabled=r),m[0]&3&&(n.checked=i[0][i[1][0]][i[28]]),m[0]&2&&c!==(c="lui-us-label-switch_"+i[28])&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,d()}}}function cc(i){let e,t,n,l;function r(){i[25].call(e,i[28])}return{c(){e=C("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[29].isEditable===void 0||i[29].isEditable)},m(a,o){T(a,e,o),e.checked=i[0][i[1][0]][i[28]],n||(l=le(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[29].isEditable===void 0||i[29].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[28]])},d(a){a&&I(e),n=!1,l()}}}function dc(i){let e,t,n,l=i[5](i[29].label)+"",r,a,o,c,g,d,h=i[29].type==="enum"&&i[29].style==="button"&&Array.isArray(i[29].options),p,m,b,v=i[29].type==="string"&&lc(i),k=i[29].type==="enum"&&(i[29].style===void 0||i[29].style==="list")&&rc(i),y=h&&oc(i),P=i[29].type==="boolean"&&(!i[29].style||i[29].style==="switch")&&fc(i),N=i[29].type==="boolean"&&i[29].style==="checkbox"&&cc(i);return{c(){e=C("div"),t=C("div"),n=C("label"),r=Ie(l),a=Ie(":"),o=z(),c=C("div"),v&&v.c(),g=z(),k&&k.c(),d=z(),y&&y.c(),p=z(),P&&P.c(),m=z(),N&&N.c(),b=z(),f(n,"class","fd-form-label svelte-1riziao"),f(n,"for","fd-form-input-"+i[31]),f(t,"class","fd-col fd-col--4 svelte-1riziao"),f(c,"class","fd-col fd-col--8 svelte-1riziao"),f(e,"class","fd-row svelte-1riziao")},m(A,E){T(A,e,E),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),k&&k.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,m),N&&N.m(c,null),w(e,b)},p(A,E){E[0]&34&&l!==(l=A[5](A[29].label)+"")&&Te(r,l),A[29].type==="string"?v?v.p(A,E):(v=lc(A),v.c(),v.m(c,g)):v&&(v.d(1),v=null),A[29].type==="enum"&&(A[29].style===void 0||A[29].style==="list")?k?k.p(A,E):(k=rc(A),k.c(),k.m(c,d)):k&&(k.d(1),k=null),E[0]&2&&(h=A[29].type==="enum"&&A[29].style==="button"&&Array.isArray(A[29].options)),h?y?y.p(A,E):(y=oc(A),y.c(),y.m(c,p)):y&&(y.d(1),y=null),A[29].type==="boolean"&&(!A[29].style||A[29].style==="switch")?P?P.p(A,E):(P=fc(A),P.c(),P.m(c,m)):P&&(P.d(1),P=null),A[29].type==="boolean"&&A[29].style==="checkbox"?N?N.p(A,E):(N=cc(A),N.c(),N.m(c,null)):N&&(N.d(1),N=null)},d(A){A&&I(e),v&&v.d(),k&&k.d(),y&&y.d(),P&&P.d(),N&&N.d()}}}function wk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&nc(i);return{c(){e=C("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1riziao")},m(r,a){T(r,e,a),l&&l.m(e,null),t||(n=[le(window,"click",i[7]),le(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=nc(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:ze,o:ze,d(r){r&&I(e),l&&l.d(),t=!1,$e(n)}}}function xa(i,e,t){if(i&&t>0)return i.matches(e)?i:xa(i.parentNode,e,t-1)}function kk(i,e,t){let n,{userSettingGroup:l}=e,{userSettingsGroupKey:r}=e,{storedUserSettingData:a}=e;const o=zt();let c=pt("getTranslation");Ci(i,c,G=>t(5,n=G));let g,{isComboOpen:d}=e;function h(){o("updateSettingsObject",{storedUserSettingData:a})}const p=()=>{m()};function m(G){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(J=>{v(J,!1)})}function b(G,J){let fe=xa(G.target,".fd-popover__control",20),te=fe.getAttribute("aria-expanded")==="true";(J||J===void 0)&&(m(),v(fe,!te))}function v(G,J){const fe=G.querySelector(".lui-activate-dropdown"),te=G.parentNode.querySelector(".fd-popover__body"),x=G.parentNode.querySelector(".fd-select__control");G.setAttribute("aria-expanded",J),te.setAttribute("aria-hidden",!J),x.setAttribute("aria-expanded",J),fe.setAttribute("aria-expanded",J),t(14,d=J)}function k(G,J,fe){t(4,g=fe),t(0,a[l[0]][G]=J.value||J,a)}function y(G,J){document.querySelectorAll(".enum-buttons-container-"+G+" button").forEach(fe=>{const te=fe.getAttribute("id"),x=`lui-us-enum_button_${G}_option`;te===x?fe.classList.add("fd-button--emphasized"):fe.classList.remove("fd-button--emphasized")}),t(0,a[l[0]][G]=J.value||J,a)}function P(G,J){let fe;if(Array.isArray(J)){for(let te=0;te<J.length;te++)if(se.isObject(J[te])){if(J[te].value&&J[te].value===G){fe=J[te].label,t(4,g=te);break}}else{fe=G,t(4,g=J.indexOf(G));break}return n(fe)}}function N(G){return n(se.isObject(G)?G.label:G)}function A(G,J,fe){return se.isObject(fe)?`${G}_${J}_${fe.value}`:`${G}_${J}_${fe}`}function E(G,J,fe,te){let x=xa(G.target,".lui-anchor-node",20);const Le=document.getElementById(`fd-form-input-dropdown-${fe}`).children;let ie=-1;if([...Le].forEach((Ee,re)=>{Ee.classList.contains("is-focus")&&(ie=re)}),d){if(G.keyCode===Fl&&G.altKey&&(x.click(),x.focus()),G.keyCode===zi&&!G.altKey){if(ie===-1){ie=0,Le.item(ie).classList.add("is-focus");return}ie<te.options.length-1&&(Le.item(ie).classList.remove("is-focus"),ie+=1,Le.item(ie).classList.add("is-focus"))}if(G.keyCode===Fl&&!G.altKey){if(ie===-1){ie=ie.length-1,Le.item(ie).classList.add("is-focus");return}ie>0&&ie<te.options.length&&(Le.item(ie).classList.remove("is-focus"),ie-=1,Le.item(ie).classList.add("is-focus"))}(G.keyCode===Si||G.keyCode===Qr)&&k(J,te.options[ie],ie)}else x.focus(),G.keyCode===zi&&G.altKey&&x.click(),G.keyCode===zi&&!G.altKey&&ie<te.options.length-1&&k(J,te.options[ie+1],ie+1),G.keyCode===Fl&&!G.altKey&&ie>0&&ie<te.options.length&&k(J,te.options[ie-1],ie-1)}function V(G){if(d){let J=xa(G.target,".fd-popover",20);J.blur(),(G.keyCode===Qr||G.keyCode===Si)&&(G.target.click(),m(),setTimeout(()=>{J.focus()},0))}}P();function D(G){a[l[0]][G]=this.value,t(0,a)}const F=(G,J,fe,te)=>E(te,G,J,fe),M=G=>b(event,G.isEditable),W=(G,J,fe)=>k(G,J,fe),K=G=>V(G),Q=(G,J)=>y(G,J);function ce(G){a[l[0]][G]=this.checked,t(0,a)}function Ce(G){a[l[0]][G]=this.checked,t(0,a)}return i.$$set=G=>{"userSettingGroup"in G&&t(1,l=G.userSettingGroup),"userSettingsGroupKey"in G&&t(15,r=G.userSettingsGroupKey),"storedUserSettingData"in G&&t(0,a=G.storedUserSettingData),"isComboOpen"in G&&t(14,d=G.isComboOpen)},[a,l,E,V,g,n,c,m,b,k,y,P,N,A,d,r,h,p,D,F,M,W,K,Q,ce,Ce]}class Sk extends Vt{constructor(e){super(),Dt(this,e,kk,wk,Rt,{userSettingGroup:1,userSettingsGroupKey:15,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:16,closeDropDown:17,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[16]}get closeDropDown(){return this.$$.ctx[17]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:gc}=cl;function hc(i,e,t){const n=i.slice();return n[31]=e[t][0],n[11]=e[t][1],n[37]=t,n}function _c(i,e,t){const n=i.slice();return n[38]=e[t],n}function pc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[38][1])),e?yk:Ck}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=z(),n=C("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),T(o,t,c),T(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&&I(t),o&&I(n)}}}function Ck(i){let e,t,n,l,r,a=i[38][1].initials&&mc(i);return{c(){e=C("span"),l=z(),a&&a.c(),r=ve(),f(e,"class",t=ii(i[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[38][1].altText?i[38][1].altText:""),On(e,"background-image","url('"+i[38][1].icon+"')"),On(e,"background-size","cover")},m(o,c){T(o,e,c),T(o,l,c),a&&a.m(o,c),T(o,r,c)},p(o,c){c[0]&2&&t!==(t=ii(o[38][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[38][1].altText?o[38][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&On(e,"background-image","url('"+o[38][1].icon+"')"),o[38][1].initials?a?a.p(o,c):(a=mc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&I(e),o&&I(l),a&&a.d(o),o&&I(r)}}}function yk(i){let e,t,n;return{c(){e=C("span"),t=C("i"),f(t,"role","presentation"),f(t,"class",n=ii(i[18](i[38][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){T(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ii(l[18](l[38][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&I(e)}}}function mc(i){let e,t=(i[38][1].initials?i[38][1].initials:"")+"",n,l,r;return{c(){e=C("span"),n=Ie(t),f(e,"class",l=ii(i[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[38][1].altText?i[38][1].altText:"")},m(a,o){T(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[38][1].initials?a[38][1].initials:"")+"")&&Te(n,t),o[0]&2&&l!==(l=ii(a[38][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=a[38][1].altText?a[38][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&I(e)}}}function bc(i){let e,t,n,l,r,a=i[10](i[38][1].label?i[38][1].label:"")+"",o,c,g,d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"",h,p,m,b,v=i[38][1].icon&&pc(i);function k(){return i[22](i[38])}function y(...P){return i[23](i[37],...P)}return{c(){e=C("li"),t=C("a"),v&&v.c(),n=z(),l=C("div"),r=C("div"),o=Ie(a),c=z(),g=C("div"),h=Ie(d),p=z(),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,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,N){T(P,e,N),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,h),w(e,p),m||(b=[le(e,"click",At(k)),le(e,"keydown",y)],m=!0)},p(P,N){i=P,i[38][1].icon?v?v.p(i,N):(v=pc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),N[0]&1026&&a!==(a=i[10](i[38][1].label?i[38][1].label:"")+"")&&Te(o,a),N[0]&1026&&d!==(d=i[10](i[38][1].sublabel?i[38][1].sublabel:"")+"")&&Te(h,d)},d(P){P&&I(e),v&&v.d(),m=!1,$e(b)}}}function vc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=bc(_c(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);T(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=_c(l,t,a);n[a]?n[a].p(o,r):(n[a]=bc(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){ot(n,l),l&&I(e)}}}function wc(i){let e,t,n,l;function r(c){i[24](c)}function a(c){i[25](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new Sk({props:o}),Ye.push(()=>ct(e,"closeDropDown",r,i[9])),Ye.push(()=>ct(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Fe(e.$$.fragment)},m(c,g){Ve(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],ft(()=>t=!1)),!n&&g[0]&256&&(n=!0,d.isComboOpen=c[8],ft(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){B(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function Pk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",g,d,h,p,m,b,v,k,y,P=i[10](i[7])+"",N,A,E,V,D,F,M,W,K,Q,ce,Ce=i[10](i[5])+"",G,J,fe,te,x=i[10](i[6])+"",Le,ie,Ee,re,Me=Object.entries(i[1]),$=[];for(let pe=0;pe<Me.length;pe+=1)$[pe]=vc(hc(i,Me,pe));let j=i[11]&&wc(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),a=C("div"),o=C("h2"),g=Ie(c),d=z(),h=C("div"),p=C("ul");for(let pe=0;pe<$.length;pe+=1)$[pe].c();m=z(),b=C("div"),v=C("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',k=z(),y=C("h2"),N=Ie(P),A=z(),E=C("div"),V=C("div"),j&&j.c(),D=z(),F=C("div"),M=z(),W=C("footer"),K=C("div"),Q=C("div"),ce=C("button"),G=Ie(Ce),J=z(),fe=C("div"),te=C("button"),Le=Ie(x),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(p,"role","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(b,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(V,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(F,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(E,"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(te,"data-testid","lui-us-dismissBtn"),f(te,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(fe,"class","fd-bar__element"),f(K,"class","fd-bar__right"),f(W,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-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(pe,Ke){T(pe,e,Ke),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 Ue=0;Ue<$.length;Ue+=1)$[Ue].m(p,null);w(n,m),w(n,b),w(b,v),w(b,k),w(b,y),w(y,N),w(n,A),w(n,E),w(E,V),j&&j.m(V,null),w(E,D),w(E,F),w(t,M),w(t,W),w(W,K),w(K,Q),w(Q,ce),w(ce,G),w(K,J),w(K,fe),w(fe,te),w(te,Le),ie=!0,Ee||(re=[le(gc,"resize",i[20]),le(gc,"keydown",i[3]),le(v,"click",i[17]),le(ce,"click",i[26]),le(te,"click",i[27])],Ee=!0)},p(pe,Ke){if((!ie||Ke[0]&1040)&&c!==(c=pe[10](pe[4])+"")&&Te(g,c),Ke[0]&803846){Me=Object.entries(pe[1]);let Ue;for(Ue=0;Ue<Me.length;Ue+=1){const ge=hc(pe,Me,Ue);$[Ue]?$[Ue].p(ge,Ke):($[Ue]=vc(ge),$[Ue].c(),$[Ue].m(p,null))}for(;Ue<$.length;Ue+=1)$[Ue].d(1);$.length=Me.length}(!ie||Ke[0]&1152)&&P!==(P=pe[10](pe[7])+"")&&Te(N,P),pe[11]?j?(j.p(pe,Ke),Ke[0]&2048&&R(j,1)):(j=wc(pe),j.c(),R(j,1),j.m(V,null)):j&&(me(),B(j,1,1,()=>{j=null}),be()),(!ie||Ke[0]&1056)&&Ce!==(Ce=pe[10](pe[5])+"")&&Te(G,Ce),(!ie||Ke[0]&1088)&&x!==(x=pe[10](pe[6])+"")&&Te(Le,x)},i(pe){ie||(R(j),ie=!0)},o(pe){B(j),ie=!1},d(pe){pe&&I(e),ot($,pe),j&&j.d(),Ee=!1,$e(re)}}}function kc(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 Nk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Ik(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function rp(i,e,t){if(i&&t>0)return i.matches(e)?i:rp(i.parentNode,e,t-1)}function Sc(){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,{schemaObj:l}=e,{userSettingGroups:r}=e;const a=zt();let o,{storedUserSettings:c={}}=e,g={},d=pt("getTranslation");Ci(i,d,ie=>t(10,n=ie));let h=ul.userSettingsDialog.dialogHeader,p=ul.userSettingsDialog.saveBtn,m=ul.userSettingsDialog.dismissBtn,b={},v,k,y,P;Xr(()=>{Re.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Jt(()=>{const ie=ae.getConfigValue("userSettings.userSettingsDialog"),Ee=ie||ae.getConfigValue("settings.userSettings.userSettingsDialog");Ee&&(t(4,h=Ee.dialogHeader?Ee.dialogHeader:h),t(5,p=Ee.saveBtn?Ee.saveBtn:p),t(6,m=Ee.dismissBtn?Ee.dismissBtn:m)),v=Object.keys(r[0]).length>0?Object.keys(r[0])[0]:void 0,Mn.addEventListener("message",re=>{const Me=Re.getValidMessageSource(re);if(!Me||re.data.msg!=="custom")return;Me._ready=!0;const $=ns.convertCustomMessageInternalToUser(re.data),j="luigi.updateUserSettings";if($.id===j){const pe=fr.findActiveCustomUserSettingsIframe(re.source);if(pe){let Ke=pe.getAttribute("userSettingsGroup");t(0,c[Ke]=$.data,c)}}$.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&F()}),ae.readUserSettings().then(re=>{g=JSON.parse(JSON.stringify(re)),re===null?t(0,c=kc(JSON.parse(JSON.stringify(r)),{})):t(0,c=kc(JSON.parse(JSON.stringify(r)),re)),A([v,r[0][v]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&a("close")}),Re.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function N(ie){if(t(7,k=ie.title?ie.title:""),!!se.isObject(ie.settings))for(let Ee in ie.settings){let re=ie.settings[Ee];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${Ee}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${Ee}' in the Luigi userSettings config.`)}}function A(ie,Ee){t(11,o=ie);let re=ie[0],Me=ie[1];if(N(Me),Ee?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(j=>{j.classList.remove("is-selected")}),rp(Ee.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<xt.desktopMinWidth&&D()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&Sc()),Me.viewUrl){if(fr.hideUserSettingsIframe(),b.hasOwnProperty(re))fr.getUserSettingsIframesInDom().forEach($=>{$.userSettingsGroup===re&&($.style.display="block")});else{const $=Yr.hasDecorators()?Yr.applyDecorators(Me.viewUrl):Me.viewUrl;let j=fr.createIframe($,re);b[re]=j}Nk()}else Ik()}const E=ie=>{t(0,c=ie.detail.userSettings)};function V(){ae.storeUserSettings(c,g).then(()=>{a("close")}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&a("close")})}function D(){F()}function F(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<xt.desktopMinWidth&&Sc()}function M(ie){return ke.renderIconClassName(ie)}function W(ie){return ke.isOpenUIiconName(ie.icon)}let K;const Q=()=>{const ie=window.innerWidth>=xt.desktopMinWidth&&K<xt.desktopMinWidth;if(window.innerWidth<xt.desktopMinWidth&&K>=xt.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),ie&&(document.querySelector(".confirm-button").style.display="block"),!K){let re=document.querySelector(".confirm-button");window.innerWidth<xt.desktopMinWidth?re.style.display="none":re.style.display="block"}K=window.innerWidth};function ce(ie,Ee){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(ie.keyCode===Si||ie.keyCode===Qr)&&re[Ee].click(),ie.keyCode===fk&&re[Object.keys(r).length-1].focus(),ie.keyCode===uk&&re[0].focus()}function Ce(ie){ie.keyCode===ki&&y?P():ie.keyCode===ki&&!y&&a("close")}const G=ie=>A(ie,event),J=(ie,Ee)=>ce(Ee,[ie]);function fe(ie){P=ie,t(9,P)}function te(ie){y=ie,t(8,y)}const x=()=>V(),Le=()=>a("close");return i.$$set=ie=>{"schemaObj"in ie&&t(21,l=ie.schemaObj),"userSettingGroups"in ie&&t(1,r=ie.userSettingGroups),"storedUserSettings"in ie&&t(0,c=ie.storedUserSettings)},[c,r,ce,Ce,h,p,m,k,y,P,n,o,a,d,A,E,V,F,M,W,Q,l,G,J,fe,te,x,Le]}class Lk extends Vt{constructor(e){super(),Dt(this,e,Tk,Pk,Rt,{schemaObj:21,userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Ak}=cl;function Rk(i){let e;return{c(){e=C("div"),f(e,"class","iframeSplitViewCnt svelte-15bout7")},m(t,n){T(t,e,n)},p:ze,d(t){t&&I(e)}}}function Ek(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=C("div"),t=C("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=z(),l=C("h1"),a=Ie(r),f(t,"class","lui-collapse-btn svelte-15bout7"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-15bout7"),f(l,"class","fd-splitView__title svelte-15bout7")},m(g,d){T(g,e,d),w(e,t),T(g,n,d),T(g,l,d),w(l,a),o||(c=le(t,"click",Mt(At(i[4]))),o=!0)},p(g,d){d&2&&r!==(r=g[1].title+"")&&Te(a,r)},d(g){g&&I(e),g&&I(n),g&&I(l),o=!1,c()}}}function Cc(i){let e,t,n,l,r,a,o,c;return{c(){e=C("div"),t=z(),n=C("div"),l=C("div"),r=z(),a=C("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-15bout7"),f(n,"id","splitViewDragger")},m(g,d){T(g,e,d),T(g,t,d),T(g,n,d),w(n,l),w(n,r),w(n,a),o||(c=[le(a,"click",Mt(At(i[3]))),le(n,"mousedown",Mt(i[6]))],o=!0)},p:ze,d(g){g&&I(e),g&&I(t),g&&I(n),o=!1,$e(c)}}}function Dk(i){let e,t,n,l,r,a,o,c,g,d;t=new Ul({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function h(v,k){return v[0]?Ek:Rk}let p=h(i),m=p(i),b=!i[0]&&Cc(i);return{c(){e=C("div"),Fe(t.$$.fragment),n=z(),l=C("div"),m.c(),a=z(),b&&b.c(),o=ve(),f(l,"class","lui-split-view svelte-15bout7"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-15bout7")},m(v,k){T(v,e,k),Ve(t,e,null),w(e,n),w(e,l),m.m(l,null),T(v,a,k),b&&b.m(v,k),T(v,o,k),c=!0,g||(d=le(Ak,"resize",i[5]),g=!0)},p(v,[k]){const y={};k&4&&(y.disable=v[2]),t.$set(y),p===(p=h(v))&&m?m.p(v,k):(m.d(1),m=p(v),m&&(m.c(),m.m(l,null))),(!c||k&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-15bout7"))&&f(e,"class",r),v[0]?b&&(b.d(1),b=null):b?b.p(v,k):(b=Cc(v),b.c(),b.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&I(e),Oe(t),m.d(),v&&I(a),b&&b.d(v),v&&I(o),g=!1,d()}}}function Vk(i,e,t){const n=zt();let l={draggable:null,iframe:null,split:null},r,a,o,c,g,d,h,p,m,{nodepath:b}=e,{collapsed:v}=e,{splitViewSettings:k={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,N=!1,A=pt("getUnsavedChangesModalPromise");const E=()=>({get:()=>({collapsed:v,splitViewSettings:k,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:h,splitViewWC:p,splitViewWCData:m}),set:J=>{J&&Object.getOwnPropertyNames(J).forEach(fe=>{fe==="splitViewSettings"?t(1,k=J.splitViewSettings):fe==="lastNode"?r=J.lastNode:fe==="pathData"?a=J.pathData:fe==="nodeParams"?o=J.nodeParams:fe==="collapsed"?t(0,v=J.collapsed):fe==="isDataPrepared"?t(8,y=J.isDataPrepared):fe==="currentNode"?c=J.currentNode:fe==="splitViewIframe"?d=J.splitViewIframe:fe==="splitViewIframeData"?h=J.splitViewIframeData:fe==="splitViewWC"?p=J.splitViewWC:fe==="splitViewWCData"&&(m=J.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:A}),V=async()=>{y?v||st.createAndSetView(E()):await st.prepareSplitViewData(E(),b)},D=()=>{l.split=st.getContainer(),l.iframe=Re.getIframeContainer(),l.draggable=st.getDragger()},F=()=>{const J=st.getDraggerBackdrop();J&&(J.style.display="none"),D(),l.draggable&&(l.draggable.style.top=`${st.splitViewValues.top}px`),l.split.style.top=`${st.splitViewValues.top}px`,l.iframe.style.marginBottom=`${st.splitViewValues.bottom}px`};function M(J){if(Re.getValidMessageSource(J)&&(J.data.msg==="luigi.navigation.splitview.close"&&st.close(E()),J.data.msg==="luigi.navigation.splitview.collapse"&&W(),J.data.msg==="luigi.navigation.splitview.expand"&&K(),J.data.msg==="luigi.navigation.splitview.resize")){const fe=parseInt(J.data.data);if(st.calculateAndSetSplitViewValues(fe,st.internalValues),v)return;F(),st.sendMessageToClients("resize.ok",st.splitViewValues.percent)}}Jt(()=>{Q(),g=M.bind(this),Mn.addEventListener("message",g)}),Zr(()=>{V(),N!==y&&!v&&(N=y,F())}),Xr(()=>{window.removeEventListener("message",g)});function W(){st.collapse(E())}async function K(){await st.expand(E()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const J=se.getShellbarHeight();st.internalValues.innerHeight=se.getInnerHeight(),st.internalValues.rightContentHeight=st.internalValues.innerHeight-J,st.internalValues.thresholdBottom=30,st.internalValues.thresholdTop=J+30,st.calculateAndSetSplitViewValues(st.splitViewValues.percent,st.internalValues),v||F()}function ce(J){let fe=J.y,te={};const x=function(Me){const $=fe-Me.y,j=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(j)||$===0)return;const pe=j-$,Ke=st.internalValues.innerHeight-pe,Ue=st.enforceTresholds(pe,Ke);pe<Ue.top||Ke<Ue.bottom||(te=Ue,fe=Me.y,l.draggable.style.top=`${te.top}px`)},Le=function(){if(ie(),!te.top||!te.bottom||te.top==st.internalValues.m_pos_prev){st.getDraggerBackdrop().style.display="none";return}st.internalValues.m_pos_prev=te.top,st.splitViewValues=te,F(),st.sendMessageToClients("resize.ok",te.percent)},ie=function(){document.removeEventListener("mouseup",Le),document.removeEventListener("mousemove",x)},Ee=function(){document.addEventListener("mouseup",Le),document.addEventListener("mousemove",x)};D(),ie(),Ee(),st.getDraggerBackdrop().style.display="block"}const Ce=J=>{let fe=st.getDraggerButton();fe&&(fe.style.display=J?"block":"none"),fe=st.getCollapsedDraggerButton(),fe&&(fe.style.display=J?"block":"none")},G=J=>{Ce(!J.detail||J.detail.backdropActive!==!0)};return i.$$set=J=>{"nodepath"in J&&t(9,b=J.nodepath),"collapsed"in J&&t(0,v=J.collapsed),"splitViewSettings"in J&&t(1,k=J.splitViewSettings),"isDataPrepared"in J&&t(8,y=J.isDataPrepared),"disableBackdrop"in J&&t(2,P=J.disableBackdrop)},[v,k,P,W,K,Q,ce,G,y,b]}class ap extends Vt{constructor(e){super(),Dt(this,e,Vk,Dk,Rt,{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 yc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Fk,then:Mk,catch:Ok,value:1};return es(t=i[0].badgeCounter.count(),n),{c(){e=ve(),n.block.c()},m(l,r){T(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())&&es(t,n)||J_(n,i,r)},d(l){l&&I(e),n.block.d(l),n.token=null,n=null}}}function Ok(i){return{c:ze,m:ze,p:ze,d:ze}}function Mk(i){let e,t=i[1]>0&&Pc(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Pc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function Pc(i){let e,t=i[1]+"",n,l;return{c(){e=C("span"),n=Ie(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-i2n6n9"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){T(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Te(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&I(e)}}}function Fk(i){return{c:ze,m:ze,p:ze,d:ze}}function Uk(i){let e,t=i[0]&&i[0].badgeCounter&&yc(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=yc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function Bk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class mn extends Vt{constructor(e){super(),Dt(this,e,Bk,Uk,Rt,{node:0})}}function Nc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=C("span"),t=C("span"),l=Ie(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1c6n42g")},m(r,a){T(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Te(l,n)},d(r){r&&I(e)}}}function Hk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Nc(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function Wk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"neutral";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class qn extends Vt{constructor(e){super(),Dt(this,e,Wk,Hk,Rt,{node:0})}}const{window:Za}=cl;function Ic(i,e,t){const n=i.slice();return n[81]=e[t][0],n[82]=e[t][1],n[84]=t,n}function Tc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Lc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[85]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[81]=e[t][0],n[82]=e[t][1],n[84]=t,n}function Dc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[85]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[85]=e[t],n}function zk(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)&&Bc(i),m=(i[2]||i[3])&&fd(i);return{c(){e=C("div"),h&&h.c(),t=z(),n=C("nav"),l=C("div"),p&&p.c(),r=z(),m&&m.c(),f(l,"class","fd-side-nav__main-navigation svelte-17n27g5"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-17n27g5"),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-17n27g5")},m(b,v){T(b,e,v),h&&h.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),m&&m.m(n,null),c=!0,g||(d=le(n,"keyup",i[18]),g=!0)},p(b,v){b[12]?h?h.p(b,v):(h=Mc(b),h.c(),h.m(e,t)):h&&(h.d(1),h=null),b[0]&&b[5].length>0&&(b[5][0].topNav===!1||b[5].length>1)?p?(p.p(b,v),v[0]&33&&R(p,1)):(p=Bc(b),p.c(),R(p,1),p.m(l,null)):p&&(me(),B(p,1,1,()=>{p=null}),be()),b[2]||b[3]?m?m.p(b,v):(m=fd(b),m.c(),m.m(n,null)):m&&(m.d(1),m=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(b[6]?"fd-side-nav--condensed":"")+" "+(b[12]?"lui-nav-header-visible":"")+" svelte-17n27g5"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(b[1]?"hideNavComponent":"")+" "+(b[2]||b[3]?"hasFooter":"")+" "+(b[2]&&!b[3]?"hasOnlyFooterText":"")+" svelte-17n27g5"))&&f(e,"class",o)},i(b){c||(R(p),c=!0)},o(b){B(p),c=!1},d(b){b&&I(e),h&&h.d(),p&&p.d(),m&&m.d(),g=!1,d()}}}function Gk(i){let e,t,n,l,r=i[12]&&dd(i),a=i[0]&&i[5].length>1&&_d(i);return{c(){e=C("div"),r&&r.c(),t=z(),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-17n27g5"),f(e,"role","navigation"),On(e,"width","var(--luigi__left-sidenav--width)"),On(e,"height","100%")},m(o,c){T(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&&(me(),B(a,1,1,()=>{a=null}),be()),(!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-17n27g5"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){B(a),l=!1},d(o){o&&I(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=C("div"),t=C("ul"),n=C("li"),l=C("a"),h&&h.c(),r=z(),a=C("span"),c=Ie(o),g=z(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-17n27g5"),f(l,"class","fd-nested-list__link svelte-17n27g5"),f(l,"title",d=i[34](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item svelte-17n27g5"),f(t,"class","fd-nested-list svelte-17n27g5"),f(e,"class","lui-nav-title svelte-17n27g5")},m(m,b){T(m,e,b),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(m,b){m[12].icon?h?h.p(m,b):(h=Fc(m),h.c(),h.m(l,r)):h&&(h.d(1),h=null),b[0]&33558528&&o!==(o=m[25](m[12].label)+"")&&Te(c,o),m[12].showUpLink?p?p.p(m,b):(p=Uc(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),b[0]&33558528&&d!==(d=m[34](m[12],m[25](m[12].label)))&&f(l,"title",d)},d(m){m&&I(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?Kk:qk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function qk(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Je(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Kk(i){let e,t;return{c(){e=C("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(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-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Uc(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-17n27g5"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){T(r,e,a),n||(l=le(e,"click",At(i[19])),n=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&I(e),n=!1,l()}}}function Bc(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=>B(a[c],1,1,()=>{a[c]=null});return{c(){e=C("div"),t=C("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-17n27g5"),f(e,"class","lui-fd-side-nav-wrapper svelte-17n27g5")},m(c,g){T(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]&911){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(me(),d=r.length;d<a.length;d+=1)o(d);be()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-17n27g5"))&&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)B(a[g]);l=!1},d(c){c&&I(e),ot(a,c)}}}function Jk(i){let e,t,n,l;const r=[Qk,Yk],a=[];function o(c,g){return c[82].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ve()},m(c,g){a[e].m(c,g),T(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(me(),B(a[d],1,1,()=>{a[d]=null}),be(),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){B(t),l=!1},d(c){a[e].d(c),c&&I(n)}}}function jk(i){let e,t,n=i[82],l=[];for(let a=0;a<n.length;a+=1)l[a]=od(Rc(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);T(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&267){n=a[82];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(me(),c=n.length;c<l.length;c+=1)r(c);be()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ot(l,a),a&&I(e)}}}function Yk(i){let e,t,n=i[25](i[81])+"",l,r,a,o,c,g,d=i[10]&&i[82].metaInfo.icon&&Hc(i),h=i[82],p=[];for(let b=0;b<h.length;b+=1)p[b]=Jc(Tc(i,h,b));const m=b=>B(p[b],1,1,()=>{p[b]=null});return{c(){e=C("li"),d&&d.c(),t=z(),l=Ie(n),o=z();for(let b=0;b<p.length;b+=1)p[b].c();c=ve(),f(e,"class","fd-nested-list__group-header lui-category svelte-17n27g5"),f(e,"title",r=i[34](i[82],i[25](i[81]))),f(e,"data-testid",a=i[33](i[82].metaInfo,i[81])),f(e,"id","category_list_level1_"+i[84])},m(b,v){T(b,e,v),d&&d.m(e,null),w(e,t),w(e,l),T(b,o,v);for(let k=0;k<p.length;k+=1)p[k].m(b,v);T(b,c,v),g=!0},p(b,v){if(b[10]&&b[82].metaInfo.icon?d?d.p(b,v):(d=Hc(b),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!g||v[0]&33562624)&&n!==(n=b[25](b[81])+"")&&Te(l,n),(!g||v[0]&33562624&&r!==(r=b[34](b[82],b[25](b[81]))))&&f(e,"title",r),(!g||v[0]&8192&&a!==(a=b[33](b[82].metaInfo,b[81])))&&f(e,"data-testid",a),v[0]&1887477952|v[1]&267){h=b[82];let k;for(k=0;k<h.length;k+=1){const y=Tc(b,h,k);p[k]?(p[k].p(y,v),R(p[k],1)):(p[k]=Jc(y),p[k].c(),R(p[k],1),p[k].m(c.parentNode,c))}for(me(),k=h.length;k<p.length;k+=1)m(k);be()}},i(b){if(!g){for(let v=0;v<h.length;v+=1)R(p[v]);g=!0}},o(b){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)B(p[v]);g=!1},d(b){b&&I(e),d&&d.d(),b&&I(o),ot(p,b),b&&I(c)}}}function Qk(i){let e,t,n,l,r,a,o=i[25](i[81])+"",c,g,d,h,p,m,b,v,k,y,P,N,A,E,V,D,F,M,W,K,Q,ce;function Ce($,j){return j[0]&8192&&(l=null),l==null&&(l=!!$[30]($[82].metaInfo.icon)),l?iS:nS}let G=Ce(i,[-1,-1,-1,-1]),J=G(i);function fe(){return i[60](i[82])}function te(){return i[61](i[82])}function x(...$){return i[62](i[82],...$)}let Le=i[82],ie=[];for(let $=0;$<Le.length;$+=1)ie[$]=Xc(Ac(i,Le,$));const Ee=$=>B(ie[$],1,1,()=>{ie[$]=null});let re=i[82].metaInfo&&i[82].metaInfo.label===i[8]&&$c(i);function Me(){return i[67](i[82])}return{c(){e=C("li"),t=C("div"),n=C("a"),J.c(),r=z(),a=C("span"),c=Ie(o),b=z(),v=C("button"),k=C("i"),E=z(),V=C("ul");for(let $=0;$<ie.length;$+=1)ie[$].c();F=z(),re&&re.c(),M=z(),f(a,"class","fd-nested-list__title svelte-17n27g5"),f(n,"title",g=i[34](i[82],i[25](i[81]))),f(n,"class",d="fd-nested-list__link "+(ln(i[82],i[9])?"is-expanded":"")+" svelte-17n27g5"),f(n,"tabindex",h=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[84]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",m=ln(i[82],i[9])),f(k,"class",y=ln(i[82],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(k,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-17n27g5"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=ln(i[82],i[9])),f(v,"title",N=i[40](i[82],i[9])),f(t,"class","fd-nested-list__content has-child svelte-17n27g5"),f(t,"tabindex",A=i[6]?"0":"-1"),f(V,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-17n27g5"),f(V,"aria-hidden",D=!ln(i[82],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",W=i[33](i[82].metaInfo,i[81])),Vn(e,"lui-item-expanded",ln(i[82],i[9]))},m($,j){T($,e,j),w(e,t),w(t,n),J.m(n,null),w(n,r),w(n,a),w(a,c),w(t,b),w(t,v),w(v,k),w(e,E),w(e,V);for(let pe=0;pe<ie.length;pe+=1)ie[pe].m(V,null);w(e,F),re&&re.m(e,null),w(e,M),K=!0,Q||(ce=[le(n,"click",At(fe)),le(v,"click",At(te)),le(t,"keypress",x),le(e,"click",Mt(Me))],Q=!0)},p($,j){if(i=$,G===(G=Ce(i,j))&&J?J.p(i,j):(J.d(1),J=G(i),J&&(J.c(),J.m(n,r))),(!K||j[0]&33562624)&&o!==(o=i[25](i[81])+"")&&Te(c,o),(!K||j[0]&33562624&&g!==(g=i[34](i[82],i[25](i[81]))))&&f(n,"title",g),(!K||j[0]&8704&&d!==(d="fd-nested-list__link "+(ln(i[82],i[9])?"is-expanded":"")+" svelte-17n27g5"))&&f(n,"class",d),(!K||j[0]&64&&h!==(h=i[6]?"-1":"0"))&&f(n,"tabindex",h),(!K||j[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!K||j[0]&8704&&m!==(m=ln(i[82],i[9])))&&f(n,"aria-expanded",m),(!K||j[0]&8704&&y!==(y=ln(i[82],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(k,"class",y),(!K||j[0]&8704&&P!==(P=ln(i[82],i[9])))&&f(v,"aria-expanded",P),(!K||j[0]&8704&&N!==(N=i[40](i[82],i[9])))&&f(v,"title",N),(!K||j[0]&64&&A!==(A=i[6]?"0":"-1"))&&f(t,"tabindex",A),j[0]&276865152|j[1]&267){Le=i[82];let pe;for(pe=0;pe<Le.length;pe+=1){const Ke=Ac(i,Le,pe);ie[pe]?(ie[pe].p(Ke,j),R(ie[pe],1)):(ie[pe]=Xc(Ke),ie[pe].c(),R(ie[pe],1),ie[pe].m(V,null))}for(me(),pe=Le.length;pe<ie.length;pe+=1)Ee(pe);be()}(!K||j[0]&8704&&D!==(D=!ln(i[82],i[9])))&&f(V,"aria-hidden",D),i[82].metaInfo&&i[82].metaInfo.label===i[8]?re?(re.p(i,j),j[0]&8448&&R(re,1)):(re=$c(i),re.c(),R(re,1),re.m(e,M)):re&&(me(),B(re,1,1,()=>{re=null}),be()),(!K||j[0]&8192&&W!==(W=i[33](i[82].metaInfo,i[81])))&&f(e,"data-testid",W),(!K||j[0]&8704)&&Vn(e,"lui-item-expanded",ln(i[82],i[9]))},i($){if(!K){for(let j=0;j<Le.length;j+=1)R(ie[j]);R(re),K=!0}},o($){ie=ie.filter(Boolean);for(let j=0;j<ie.length;j+=1)B(ie[j]);B(re),K=!1},d($){$&&I(e),J.d(),ot(ie,$),re&&re.d(),Q=!1,$e(ce)}}}function Hc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[82].metaInfo.icon)),e?Xk:Zk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function Zk(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Xk(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[82].metaInfo.icon?i[29](i[82].metaInfo.icon):"")+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[82].metaInfo.icon?n[29](n[82].metaInfo.icon):"")+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Wc(i){let e,t,n=i[85].label&&zc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=zc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function zc(i){let e,t,n,l,r=i[28](i[85])+"",a,o,c,g,d,h,p,m,b,v,k,y,P,N;function A(Q,ce){return Q[85].icon?xk:$k}let E=A(i),V=E(i),D=i[85].statusBadge&&Gc(i),F=i[85].externalLink&&i[85].externalLink.url&&qc(),M=i[85].badgeCounter&&Kc(i);function W(...Q){return i[68](i[85],...Q)}function K(...Q){return i[69](i[85],...Q)}return{c(){e=C("li"),t=C("a"),V.c(),n=z(),l=C("span"),a=Ie(r),o=z(),D&&D.c(),g=z(),F&&F.c(),d=z(),M&&M.c(),v=z(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",h=i[32](i[85])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",b=i[31](i[85])),f(e,"class","fd-nested-list__item"),f(e,"title",k=i[34](i[85],i[28](i[85]))),f(e,"aria-labelledby","category_list_level1_"+i[84])},m(Q,ce){T(Q,e,ce),w(e,t),V.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),D&&D.m(l,null),w(t,g),F&&F.m(t,null),w(t,d),M&&M.m(t,null),w(e,v),y=!0,P||(N=[le(t,"click",W),le(t,"keyup",function(){di(i[23]?void 0:K)&&(i[23]?void 0:K).apply(this,arguments)})],P=!0)},p(Q,ce){i=Q,E===(E=A(i))&&V?V.p(i,ce):(V.d(1),V=E(i),V&&(V.c(),V.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[28](i[85])+"")&&Te(a,r),i[85].statusBadge?D?(D.p(i,ce),ce[0]&8192&&R(D,1)):(D=Gc(i),D.c(),R(D,1),D.m(l,null)):D&&(me(),B(D,1,1,()=>{D=null}),be()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(l,"class",c),i[85].externalLink&&i[85].externalLink.url?F||(F=qc(),F.c(),F.m(t,d)):F&&(F.d(1),F=null),i[85].badgeCounter?M?(M.p(i,ce),ce[0]&8192&&R(M,1)):(M=Kc(i),M.c(),R(M,1),M.m(t,null)):M&&(me(),B(M,1,1,()=>{M=null}),be()),(!y||ce[0]&8192&&h!==(h=i[32](i[85])))&&f(t,"href",h),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",p),(!y||ce[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!y||ce[0]&8192&&b!==(b=i[31](i[85])))&&f(t,"data-testid",b),(!y||ce[0]&8192&&k!==(k=i[34](i[85],i[28](i[85]))))&&f(e,"title",k)},i(Q){y||(R(D),R(M),y=!0)},o(Q){B(D),B(M),y=!1},d(Q){Q&&I(e),V.d(),D&&D.d(),F&&F.d(),M&&M.d(),P=!1,$e(N)}}}function $k(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=C("i"),n=z(),l=C("span"),a=Ie(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){T(o,e,c),T(o,n,c),T(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":"")&&Te(a,r)},d(o){o&&I(e),o&&I(n),o&&I(l)}}}function xk(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[85].icon)),e?tS:eS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function eS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[85].icon)||f(t,"src",n),f(t,"alt",l=i[85].altText?i[85].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[85].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].altText?r[85].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function tS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[85].icon)+" svelte-17n27g5")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[85].icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Gc(i){let e,t;return e=new qn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function qc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function Kc(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Jc(i){let e,t,n=!i[85].hideFromNav&&Wc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Wc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function nS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function iS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[82].metaInfo.icon)+" "+(i[6]&&!i[82].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[82].metaInfo.icon)+" "+(n[6]&&!n[82].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function jc(i){let e,t,n=i[85].label&&Yc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].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&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Yc(i){let e,t,n,l=i[28](i[85])+"",r,a,o,c,g,d,h,p,m,b,v,k,y,P,N;o=new qn({props:{node:i[85]}});let A=i[85].externalLink&&i[85].externalLink.url&&Qc(),E=i[85].badgeCounter&&Zc(i);function V(...F){return i[63](i[85],...F)}function D(...F){return i[64](i[85],...F)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),a=z(),Fe(o.$$.fragment),g=z(),A&&A.c(),d=z(),E&&E.c(),k=z(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",h=i[32](i[85])),f(t,"class",p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"role",m=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",b=i[31](i[85])),f(t,"title",v=i[34](i[85],i[28](i[85]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[84])},m(F,M){T(F,e,M),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(t,g),A&&A.m(t,null),w(t,d),E&&E.m(t,null),w(e,k),y=!0,P||(N=[le(t,"click",V),le(t,"keyup",function(){di(i[23]?void 0:D)&&(i[23]?void 0:D).apply(this,arguments)})],P=!0)},p(F,M){i=F,(!y||M[0]&8192)&&l!==(l=i[28](i[85])+"")&&Te(r,l);const W={};M[0]&8192&&(W.node=i[85]),o.$set(W),(!y||M[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(n,"class",c),i[85].externalLink&&i[85].externalLink.url?A||(A=Qc(),A.c(),A.m(t,d)):A&&(A.d(1),A=null),i[85].badgeCounter?E?(E.p(i,M),M[0]&8192&&R(E,1)):(E=Zc(i),E.c(),R(E,1),E.m(t,null)):E&&(me(),B(E,1,1,()=>{E=null}),be()),(!y||M[0]&8192&&h!==(h=i[32](i[85])))&&f(t,"href",h),(!y||M[0]&8320&&p!==(p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",p),(!y||M[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!y||M[0]&8192&&b!==(b=i[31](i[85])))&&f(t,"data-testid",b),(!y||M[0]&8192&&v!==(v=i[34](i[85],i[28](i[85]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(E),y=!0)},o(F){B(o.$$.fragment,F),B(E),y=!1},d(F){F&&I(e),Oe(o),A&&A.d(),E&&E.d(),P=!1,$e(N)}}}function Qc(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function Zc(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Xc(i){let e,t,n=!i[85].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):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){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function $c(i){let e,t,n,l=i[25](i[81])+"",r,a,o,c,g=i[82],d=[];for(let p=0;p<g.length;p+=1)d[p]=id(Lc(i,g,p));const h=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=C("div"),t=C("div"),n=C("h5"),r=Ie(l),a=z(),o=C("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-17n27g5"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-17n27g5"),f(t,"class","lui-flyout-sublist__wrapper svelte-17n27g5"),f(e,"class","lui-flyout-sublist svelte-17n27g5")},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let b=0;b<d.length;b+=1)d[b].m(o,null);c=!0},p(p,m){if((!c||m[0]&33562624)&&l!==(l=p[25](p[81])+"")&&Te(r,l),m[0]&276865152|m[1]&267){g=p[82];let b;for(b=0;b<g.length;b+=1){const v=Lc(p,g,b);d[b]?(d[b].p(v,m),R(d[b],1)):(d[b]=id(v),d[b].c(),R(d[b],1),d[b].m(o,null))}for(me(),b=g.length;b<d.length;b+=1)h(b);be()}},i(p){if(!c){for(let m=0;m<g.length;m+=1)R(d[m]);c=!0}},o(p){d=d.filter(Boolean);for(let m=0;m<d.length;m+=1)B(d[m]);c=!1},d(p){p&&I(e),ot(d,p)}}}function xc(i){let e,t,n=i[85].label&&ed(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].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&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function ed(i){let e,t,n,l=i[28](i[85])+"",r,a,o,c,g,d,h,p,m,b,v,k,y,P,N;o=new qn({props:{node:i[85]}});let A=i[85].externalLink&&i[85].externalLink.url&&td(),E=i[85].badgeCounter&&nd(i);function V(...F){return i[65](i[85],...F)}function D(...F){return i[66](i[85],...F)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),a=z(),Fe(o.$$.fragment),g=z(),A&&A.c(),d=z(),E&&E.c(),k=z(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",h=i[32](i[85])),f(t,"class",p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"tabindex","0"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",b=i[31](i[85])),f(t,"title",v=i[34](i[85],i[28](i[85]))),f(e,"class","fd-nested-list__item")},m(F,M){T(F,e,M),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(t,g),A&&A.m(t,null),w(t,d),E&&E.m(t,null),w(e,k),y=!0,P||(N=[le(t,"click",V),le(t,"keyup",function(){di(i[23]?void 0:D)&&(i[23]?void 0:D).apply(this,arguments)})],P=!0)},p(F,M){i=F,(!y||M[0]&8192)&&l!==(l=i[28](i[85])+"")&&Te(r,l);const W={};M[0]&8192&&(W.node=i[85]),o.$set(W),(!y||M[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(n,"class",c),i[85].externalLink&&i[85].externalLink.url?A||(A=td(),A.c(),A.m(t,d)):A&&(A.d(1),A=null),i[85].badgeCounter?E?(E.p(i,M),M[0]&8192&&R(E,1)):(E=nd(i),E.c(),R(E,1),E.m(t,null)):E&&(me(),B(E,1,1,()=>{E=null}),be()),(!y||M[0]&8192&&h!==(h=i[32](i[85])))&&f(t,"href",h),(!y||M[0]&8320&&p!==(p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",p),(!y||M[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!y||M[0]&8192&&b!==(b=i[31](i[85])))&&f(t,"data-testid",b),(!y||M[0]&8192&&v!==(v=i[34](i[85],i[28](i[85]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(E),y=!0)},o(F){B(o.$$.fragment,F),B(E),y=!1},d(F){F&&I(e),Oe(o),A&&A.d(),E&&E.d(),P=!1,$e(N)}}}function td(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function nd(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function id(i){let e,t,n=!i[85].hideFromNav&&xc(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):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){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function ld(i){let e,t,n=i[85].label&&rd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].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&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function rd(i){let e,t,n,l,r=i[28](i[85])+"",a,o,c,g,d,h,p,m,b,v,k,y,P,N,A;function E(Q,ce){return Q[85].icon?rS:lS}let V=E(i),D=V(i);c=new qn({props:{node:i[85]}});let F=i[85].externalLink&&i[85].externalLink.url&&ad(),M=i[85].badgeCounter&&sd(i);function W(...Q){return i[58](i[85],...Q)}function K(...Q){return i[59](i[85],...Q)}return{c(){e=C("li"),t=C("a"),D.c(),n=z(),l=C("span"),a=Ie(r),o=z(),Fe(c.$$.fragment),d=z(),F&&F.c(),h=z(),M&&M.c(),y=z(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",p=i[32](i[85])),f(t,"title",m=i[34](i[85],i[28](i[85]))),f(t,"class",b="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",k=i[31](i[85])),f(e,"class","fd-nested-list__item")},m(Q,ce){T(Q,e,ce),w(e,t),D.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Ve(c,l,null),w(t,d),F&&F.m(t,null),w(t,h),M&&M.m(t,null),w(e,y),P=!0,N||(A=[le(t,"click",W),le(t,"keyup",function(){di(i[23]?void 0:K)&&(i[23]?void 0:K).apply(this,arguments)})],N=!0)},p(Q,ce){i=Q,V===(V=E(i))&&D?D.p(i,ce):(D.d(1),D=V(i),D&&(D.c(),D.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[28](i[85])+"")&&Te(a,r);const Ce={};ce[0]&8192&&(Ce.node=i[85]),c.$set(Ce),(!P||ce[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(l,"class",g),i[85].externalLink&&i[85].externalLink.url?F||(F=ad(),F.c(),F.m(t,h)):F&&(F.d(1),F=null),i[85].badgeCounter?M?(M.p(i,ce),ce[0]&8192&&R(M,1)):(M=sd(i),M.c(),R(M,1),M.m(t,null)):M&&(me(),B(M,1,1,()=>{M=null}),be()),(!P||ce[0]&8192&&p!==(p=i[32](i[85])))&&f(t,"href",p),(!P||ce[0]&8192&&m!==(m=i[34](i[85],i[28](i[85]))))&&f(t,"title",m),(!P||ce[0]&8320&&b!==(b="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",b),(!P||ce[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&k!==(k=i[31](i[85])))&&f(t,"data-testid",k)},i(Q){P||(R(c.$$.fragment,Q),R(M),P=!0)},o(Q){B(c.$$.fragment,Q),B(M),P=!1},d(Q){Q&&I(e),D.d(),Oe(c),F&&F.d(),M&&M.d(),N=!1,$e(A)}}}function lS(i){let e,t;return{c(){e=C("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){T(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&&I(e)}}}function rS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[85].icon)),e?sS:aS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function aS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[85].icon)||f(t,"src",n),f(t,"alt",l=i[85].altText?i[85].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[85].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].altText?r[85].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function sS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[85].icon)+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[85].icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function ad(i){let e;return{c(){e=C("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function sd(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function od(i){let e,t,n=!i[85].hideFromNav&&ld(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):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){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function ud(i){let e,t,n,l,r,a;const o=[jk,Jk],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[81]==="undefined"||d[81].startsWith(d[14]))),e?0:(t==null&&(t=d[82].filter(ES).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ve()},m(d,h){~n&&c[n].m(d,h),T(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(me(),B(c[p],1,1,()=>{c[p]=null}),be()),~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){B(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function fd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&cd(i);return{c(){e=C("div"),t=C("span"),n=C("span"),r=Ie(l),a=z(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-17n27g5"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-17n27g5"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-17n27g5")},m(c,g){T(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]:"")+"")&&Te(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&&I(e),o&&o.d()}}}function cd(i){let e;function t(r,a){return r[4]=="button"?uS:oS}let n=t(i),l=n(i);return{c(){l.c(),e=ve()},m(r,a){l.m(r,a),T(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&&I(e)}}}function oS(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-17n27g5"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){T(r,e,a),n||(l=[le(e,"click",i[71]),le(e,"keydown",i[72])],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-17n27g5")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&I(e),n=!1,$e(l)}}}function uS(i){let e,t,n,l,r;return{c(){e=C("button"),t=C("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-17n27g5"),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-17n27g5")},m(a,o){T(a,e,o),w(e,t),l||(r=le(e,"click",i[70]),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-17n27g5")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&I(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&&gd(i),p=i[12].showUpLink&&hd(i);return{c(){e=C("div"),t=C("ul"),n=C("li"),l=C("a"),h&&h.c(),r=z(),a=C("span"),c=Ie(o),g=z(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-17n27g5"),f(l,"class","fd-nested-list__link svelte-17n27g5"),f(l,"title",d=i[34](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-17n27g5"),f(e,"class","lui-nav-title svelte-17n27g5")},m(m,b){T(m,e,b),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(m,b){m[12].icon?h?h.p(m,b):(h=gd(m),h.c(),h.m(l,r)):h&&(h.d(1),h=null),b[0]&33558528&&o!==(o=m[25](m[12].label)+"")&&Te(c,o),m[12].showUpLink?p?p.p(m,b):(p=hd(m),p.c(),p.m(l,null)):p&&(p.d(1),p=null),b[0]&33558528&&d!==(d=m[34](m[12],m[25](m[12].label)))&&f(l,"title",d)},d(m){m&&I(e),h&&h.d(),p&&p.d()}}}function gd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?cS:fS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function fS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Je(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function cS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-17n27g5"),f(e,"role","presentation")},m(n,l){T(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-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function hd(i){let e,t,n,l;return{c(){e=C("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-17n27g5"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){T(r,e,a),n||(l=le(e,"click",At(i[19])),n=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&I(e),n=!1,l()}}}function _d(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b=i[13],v=[];for(let y=0;y<b.length;y+=1)v[y]=Ud(Ec(i,b,y));const k=y=>B(v[y],1,1,()=>{v[y]=null});return{c(){e=C("div"),t=C("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=z(),l=C("li"),r=z(),a=C("li"),o=C("div"),c=C("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=z(),d=C("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-17n27g5"></ul></div>',f(l,"class","lui-spacer svelte-17n27g5"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-17n27g5"),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-17n27g5"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-17n27g5"),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){T(y,e,P),w(e,t);for(let N=0;N<v.length;N+=1)v[N].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,g),w(a,d),i[57](e),h=!0,p||(m=le(c,"click",DS),p=!0)},p(y,P){if(P[0]&1922164672|P[1]&271){b=y[13];let N;for(N=0;N<b.length;N+=1){const A=Ec(y,b,N);v[N]?(v[N].p(A,P),R(v[N],1)):(v[N]=Ud(A),v[N].c(),R(v[N],1),v[N].m(t,n))}for(me(),N=b.length;N<v.length;N+=1)k(N);be()}},i(y){if(!h){for(let P=0;P<b.length;P+=1)R(v[P]);h=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)B(v[P]);h=!1},d(y){y&&I(e),ot(v,y),i[57](null),p=!1,m()}}}function dS(i){let e,t,n,l;const r=[_S,hS],a=[];function o(c,g){return 0}return e=o(),t=a[e]=r[e](i),{c(){t.c(),n=ve()},m(c,g){a[e].m(c,g),T(c,n,g),l=!0},p(c,g){t.p(c,g)},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&I(n)}}}function gS(i){let e,t,n=i[82],l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Oc(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);T(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&267){n=a[82];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]=Fd(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(me(),c=n.length;c<l.length;c+=1)r(c);be()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ot(l,a),a&&I(e)}}}function hS(i){let e,t,n,l,r=i[25](i[81])+"",a,o,c,g,d,h,p,m,b=i[10]&&i[82].metaInfo.icon&&pd(i),v=i[82],k=[];for(let P=0;P<v.length;P+=1)k[P]=Sd(Dc(i,v,P));const y=P=>B(k[P],1,1,()=>{k[P]=null});return{c(){e=C("div"),t=C("a"),b&&b.c(),n=z(),l=C("span"),a=Ie(r),o=z(),c=C("span"),h=z();for(let P=0;P<k.length;P+=1)k[P].c();p=ve(),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-17n27g5"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title lui-nav-entry svelte-17n27g5"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[34](i[82],i[25](i[81]))),f(e,"data-testid",d=i[33](i[82].metaInfo,i[81]))},m(P,N){T(P,e,N),w(e,t),b&&b.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c),T(P,h,N);for(let A=0;A<k.length;A+=1)k[A].m(P,N);T(P,p,N),m=!0},p(P,N){if(P[10]&&P[82].metaInfo.icon?b?b.p(P,N):(b=pd(P),b.c(),b.m(t,n)):b&&(b.d(1),b=null),(!m||N[0]&33562624)&&r!==(r=P[25](P[81])+"")&&Te(a,r),(!m||N[0]&33562624&&g!==(g=P[34](P[82],P[25](P[81]))))&&f(e,"title",g),(!m||N[0]&8192&&d!==(d=P[33](P[82].metaInfo,P[81])))&&f(e,"data-testid",d),N[0]&1887477952|N[1]&267){v=P[82];let A;for(A=0;A<v.length;A+=1){const E=Dc(P,v,A);k[A]?(k[A].p(E,N),R(k[A],1)):(k[A]=Sd(E),k[A].c(),R(k[A],1),k[A].m(p.parentNode,p))}for(me(),A=v.length;A<k.length;A+=1)y(A);be()}},i(P){if(!m){for(let N=0;N<v.length;N+=1)R(k[N]);m=!0}},o(P){k=k.filter(Boolean);for(let N=0;N<k.length;N+=1)B(k[N]);m=!1},d(P){P&&I(e),b&&b.d(),P&&I(h),ot(k,P),P&&I(p)}}}function _S(i){let e,t,n,l,r,a,o=i[25](i[81])+"",c,g,d,h,p,m,b,v,k,y,P,N,A,E,V;function D(ce,Ce){return Ce[0]&8192&&(l=null),l==null&&(l=!!ce[30](ce[82].metaInfo.icon)),l?CS:SS}let F=D(i,[-1,-1,-1,-1]),M=F(i);function W(){return i[49](i[82])}function K(...ce){return i[50](i[82],...ce)}let Q=(!i[6]||i[82].metaInfo&&i[82].metaInfo.label===i[8])&&Cd(i);return{c(){e=C("li"),t=C("div"),n=C("a"),M.c(),r=z(),a=C("span"),c=Ie(o),g=z(),d=C("span"),h=z(),p=C("span"),y=z(),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-17n27g5"),f(n,"role","button"),f(n,"tabindex","-1"),f(t,"class",m="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",b=i[34](i[82],i[25](i[81]))),f(t,"aria-expanded",v=i[6]?i[82].metaInfo&&i[82].metaInfo.label===i[8]:ln(i[82],i[9])),f(t,"aria-selected",k=i[6]&&i[82].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-17n27g5"),f(e,"aria-hidden","true"),f(e,"data-testid",N=i[33](i[82].metaInfo,i[81]))},m(ce,Ce){T(ce,e,Ce),w(e,t),w(t,n),M.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),A=!0,E||(V=[le(n,"click",At(W)),le(t,"click",Mt(K))],E=!0)},p(ce,Ce){i=ce,F===(F=D(i,Ce))&&M?M.p(i,Ce):(M.d(1),M=F(i),M&&(M.c(),M.m(n,r))),(!A||Ce[0]&33562624)&&o!==(o=i[25](i[81])+"")&&Te(c,o),(!A||Ce[0]&64&&m!==(m="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",m),(!A||Ce[0]&33562624&&b!==(b=i[34](i[82],i[25](i[81]))))&&f(t,"title",b),(!A||Ce[0]&9024&&v!==(v=i[6]?i[82].metaInfo&&i[82].metaInfo.label===i[8]:ln(i[82],i[9])))&&f(t,"aria-expanded",v),(!A||Ce[0]&8384&&k!==(k=i[6]&&i[82].indexOf(i[7])>=0))&&f(t,"aria-selected",k),!i[6]||i[82].metaInfo&&i[82].metaInfo.label===i[8]?Q?(Q.p(i,Ce),Ce[0]&8512&&R(Q,1)):(Q=Cd(i),Q.c(),R(Q,1),Q.m(e,null)):Q&&(me(),B(Q,1,1,()=>{Q=null}),be()),(!A||Ce[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-17n27g5"))&&f(e,"class",P),(!A||Ce[0]&8192&&N!==(N=i[33](i[82].metaInfo,i[81])))&&f(e,"data-testid",N)},i(ce){A||(R(Q),A=!0)},o(ce){B(Q),A=!1},d(ce){ce&&I(e),M.d(),Q&&Q.d(),E=!1,$e(V)}}}function pd(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[82].metaInfo.icon)),e?mS:pS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function pS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-navigation__icon svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function mS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[82].metaInfo.icon)+" svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[82].metaInfo.icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function md(i){let e,t,n=i[85].label&&bd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=bd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function bd(i){let e,t,n,l,r=i[28](i[85])+"",a,o,c,g,d,h,p,m,b,v,k,y,P;function N(K,Q){return K[85].icon?vS:bS}let A=N(i),E=A(i),V=i[85].statusBadge&&vd(i),D=i[85].externalLink&&i[85].externalLink.url&&wd(),F=i[85].badgeCounter&&kd(i);function M(...K){return i[55](i[85],...K)}function W(...K){return i[56](i[85],...K)}return{c(){e=C("li"),t=C("a"),E.c(),n=z(),l=C("span"),a=Ie(r),o=z(),V&&V.c(),g=z(),D&&D.c(),d=z(),F&&F.c(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(t,"href",h=i[32](i[85])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(t,"role",m=i[23]?void 0:"button"),f(t,"data-testid",b=i[31](i[85])),f(e,"class","fd-nested-list__item"),f(e,"title",v=i[34](i[85],i[28](i[85]))),f(e,"aria-labelledby","category_list_level1_"+i[84])},m(K,Q){T(K,e,Q),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),V&&V.m(l,null),w(t,g),D&&D.m(t,null),w(t,d),F&&F.m(t,null),k=!0,y||(P=[le(t,"click",M),le(t,"keyup",function(){di(i[23]?void 0:W)&&(i[23]?void 0:W).apply(this,arguments)})],y=!0)},p(K,Q){i=K,A===(A=N(i))&&E?E.p(i,Q):(E.d(1),E=A(i),E&&(E.c(),E.m(t,n))),(!k||Q[0]&8192)&&r!==(r=i[28](i[85])+"")&&Te(a,r),i[85].statusBadge?V?(V.p(i,Q),Q[0]&8192&&R(V,1)):(V=vd(i),V.c(),R(V,1),V.m(l,null)):V&&(me(),B(V,1,1,()=>{V=null}),be()),(!k||Q[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(l,"class",c),i[85].externalLink&&i[85].externalLink.url?D||(D=wd(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[85].badgeCounter?F?(F.p(i,Q),Q[0]&8192&&R(F,1)):(F=kd(i),F.c(),R(F,1),F.m(t,null)):F&&(me(),B(F,1,1,()=>{F=null}),be()),(!k||Q[0]&8192&&h!==(h=i[32](i[85])))&&f(t,"href",h),(!k||Q[0]&8320&&p!==(p="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(t,"class",p),(!k||Q[0]&8388608&&m!==(m=i[23]?void 0:"button"))&&f(t,"role",m),(!k||Q[0]&8192&&b!==(b=i[31](i[85])))&&f(t,"data-testid",b),(!k||Q[0]&8192&&v!==(v=i[34](i[85],i[28](i[85]))))&&f(e,"title",v)},i(K){k||(R(V),R(F),k=!0)},o(K){B(V),B(F),k=!1},d(K){K&&I(e),E.d(),V&&V.d(),D&&D.d(),F&&F.d(),y=!1,$e(P)}}}function bS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=C("i"),n=z(),l=C("span"),a=Ie(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){T(o,e,c),T(o,n,c),T(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":"")&&Te(a,r)},d(o){o&&I(e),o&&I(n),o&&I(l)}}}function vS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[85].icon)),e?kS:wS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function wS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[85].icon)||f(t,"src",n),f(t,"alt",l=i[85].altText?i[85].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-nested-list__icon sap-icon svelte-17n27g5")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[85].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].altText?r[85].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function kS(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[85].icon)+" svelte-17n27g5")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[85].icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function vd(i){let e,t;return e=new qn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function wd(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function kd(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Sd(i){let e,t,n=!i[85].hideFromNav&&md(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=md(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function SS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-navigation__icon svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function CS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[82].metaInfo.icon)+" "+(i[6]&&!i[82].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){T(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[29](n[82].metaInfo.icon)+" "+(n[6]&&!n[82].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Cd(i){let e,t,n,l,r,a,o,c=i[6]&&yd(i),g=i[82],d=[];for(let p=0;p<g.length;p+=1)d[p]=Ed(Vc(i,g,p));const h=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=C("div"),t=C("div"),c&&c.c(),n=z(),l=C("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-17n27g5")},m(p,m){T(p,e,m),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let b=0;b<d.length;b+=1)d[b].m(l,null);o=!0},p(p,m){if(p[6]?c?c.p(p,m):(c=yd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),m[0]&276865152|m[1]&267){g=p[82];let b;for(b=0;b<g.length;b+=1){const v=Vc(p,g,b);d[b]?(d[b].p(v,m),R(d[b],1)):(d[b]=Ed(v),d[b].c(),R(d[b],1),d[b].m(l,null))}for(me(),b=g.length;b<d.length;b+=1)h(b);be()}(!o||m[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||m[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-17n27g5"))&&f(e,"class",a)},i(p){if(!o){for(let m=0;m<g.length;m+=1)R(d[m]);o=!0}},o(p){d=d.filter(Boolean);for(let m=0;m<d.length;m+=1)B(d[m]);o=!1},d(p){p&&I(e),c&&c.d(),ot(d,p)}}}function yd(i){let e,t,n,l,r=i[25](i[81])+"",a,o,c,g,d,h=i[10]&&i[82].metaInfo.icon&&Pd(i);return{c(){e=C("div"),t=C("a"),h&&h.c(),n=z(),l=C("span"),a=Ie(r),o=z(),c=C("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-17n27g5"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-17n27g5"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[34](i[82],i[25](i[81]))),f(e,"data-testid",d=i[33](i[82].metaInfo,i[81]))},m(p,m){T(p,e,m),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,m){p[10]&&p[82].metaInfo.icon?h?h.p(p,m):(h=Pd(p),h.c(),h.m(t,n)):h&&(h.d(1),h=null),m[0]&33562624&&r!==(r=p[25](p[81])+"")&&Te(a,r),m[0]&33562624&&g!==(g=p[34](p[82],p[25](p[81])))&&f(e,"title",g),m[0]&8192&&d!==(d=p[33](p[82].metaInfo,p[81]))&&f(e,"data-testid",d)},d(p){p&&I(e),h&&h.d()}}}function Pd(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[82].metaInfo.icon)),e?PS:yS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function yS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[82].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[82].metaInfo.altText?i[82].metaInfo.altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-navigation__icon svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[82].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[82].metaInfo.altText?r[82].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function PS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[82].metaInfo.icon)+" svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[82].metaInfo.icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Nd(i){let e,t,n=i[85].label&&Id(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Id(i){let e,t,n,l,r=i[28](i[85])+"",a,o,c,g,d,h,p,m,b,v,k,y,P,N,A,E,V=i[28](i[85])+"",D,F,M,W,K,Q,ce,Ce,G,J,fe,te,x,Le;c=new qn({props:{node:i[85]}});let ie=i[85].externalLink&&i[85].externalLink.url&&Td(),Ee=i[85].badgeCounter&&Ld(i);function re(...Ue){return i[51](i[85],...Ue)}function Me(...Ue){return i[52](i[85],...Ue)}M=new qn({props:{node:i[85]}});let $=i[85].externalLink&&i[85].externalLink.url&&Ad(),j=i[85].badgeCounter&&Rd(i);function pe(...Ue){return i[53](i[85],...Ue)}function Ke(...Ue){return i[54](i[85],...Ue)}return{c(){e=C("li"),t=C("div"),n=C("a"),l=C("span"),a=Ie(r),o=z(),Fe(c.$$.fragment),d=z(),h=C("span"),p=z(),ie&&ie.c(),m=z(),Ee&&Ee.c(),P=z(),N=C("li"),A=C("a"),E=C("span"),D=Ie(V),F=z(),Fe(M.$$.fragment),K=z(),$&&$.c(),Q=z(),j&&j.c(),f(l,"class",g="fd-navigation__text badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),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-17n27g5"),f(n,"role","link"),f(n,"tabindex","-1"),f(n,"href",b=i[32](i[85])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[34](i[85],i[28](i[85]))),f(t,"aria-expanded","false"),f(t,"aria-selected",k=i[85]===i[7]),f(t,"data-testid",y=i[31](i[85])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(E,"class",W="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(A,"href",ce=i[32](i[85])),f(A,"class",Ce="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"),f(A,"role",G=i[23]?void 0:"button"),f(A,"tabindex","0"),f(A,"data-testid",J=i[31](i[85])),f(A,"title",fe=i[34](i[85],i[28](i[85]))),On(N,"display","none"),f(N,"class","fd-nested-list__item"),f(N,"aria-labelledby","collapsible_listnode_"+i[84])},m(Ue,ge){T(Ue,e,ge),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Ve(c,l,null),w(n,d),w(n,h),w(n,p),ie&&ie.m(n,null),w(n,m),Ee&&Ee.m(n,null),T(Ue,P,ge),T(Ue,N,ge),w(N,A),w(A,E),w(E,D),w(E,F),Ve(M,E,null),w(A,K),$&&$.m(A,null),w(A,Q),j&&j.m(A,null),te=!0,x||(Le=[le(n,"click",re),le(n,"keyup",function(){di(i[23]?void 0:Me)&&(i[23]?void 0:Me).apply(this,arguments)}),le(A,"click",pe),le(A,"keyup",function(){di(i[23]?void 0:Ke)&&(i[23]?void 0:Ke).apply(this,arguments)})],x=!0)},p(Ue,ge){i=Ue,(!te||ge[0]&8192)&&r!==(r=i[28](i[85])+"")&&Te(a,r);const Qe={};ge[0]&8192&&(Qe.node=i[85]),c.$set(Qe),(!te||ge[0]&8192&&g!==(g="fd-navigation__text badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(l,"class",g),i[85].externalLink&&i[85].externalLink.url?ie||(ie=Td(),ie.c(),ie.m(n,m)):ie&&(ie.d(1),ie=null),i[85].badgeCounter?Ee?(Ee.p(i,ge),ge[0]&8192&&R(Ee,1)):(Ee=Ld(i),Ee.c(),R(Ee,1),Ee.m(n,null)):Ee&&(me(),B(Ee,1,1,()=>{Ee=null}),be()),(!te||ge[0]&8192&&b!==(b=i[32](i[85])))&&f(n,"href",b),(!te||ge[0]&8192&&v!==(v=i[34](i[85],i[28](i[85]))))&&f(t,"title",v),(!te||ge[0]&8320&&k!==(k=i[85]===i[7]))&&f(t,"aria-selected",k),(!te||ge[0]&8192&&y!==(y=i[31](i[85])))&&f(t,"data-testid",y),(!te||ge[0]&8192)&&V!==(V=i[28](i[85])+"")&&Te(D,V);const xe={};ge[0]&8192&&(xe.node=i[85]),M.$set(xe),(!te||ge[0]&8192&&W!==(W="fd-nested-list__title badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(E,"class",W),i[85].externalLink&&i[85].externalLink.url?$||($=Ad(),$.c(),$.m(A,Q)):$&&($.d(1),$=null),i[85].badgeCounter?j?(j.p(i,ge),ge[0]&8192&&R(j,1)):(j=Rd(i),j.c(),R(j,1),j.m(A,null)):j&&(me(),B(j,1,1,()=>{j=null}),be()),(!te||ge[0]&8192&&ce!==(ce=i[32](i[85])))&&f(A,"href",ce),(!te||ge[0]&8320&&Ce!==(Ce="fd-nested-list__link "+(i[85]===i[7]?"is-selected":"")+" svelte-17n27g5"))&&f(A,"class",Ce),(!te||ge[0]&8388608&&G!==(G=i[23]?void 0:"button"))&&f(A,"role",G),(!te||ge[0]&8192&&J!==(J=i[31](i[85])))&&f(A,"data-testid",J),(!te||ge[0]&8192&&fe!==(fe=i[34](i[85],i[28](i[85]))))&&f(A,"title",fe)},i(Ue){te||(R(c.$$.fragment,Ue),R(Ee),R(M.$$.fragment,Ue),R(j),te=!0)},o(Ue){B(c.$$.fragment,Ue),B(Ee),B(M.$$.fragment,Ue),B(j),te=!1},d(Ue){Ue&&I(e),Oe(c),ie&&ie.d(),Ee&&Ee.d(),Ue&&I(P),Ue&&I(N),Oe(M),$&&$.d(),j&&j.d(),x=!1,$e(Le)}}}function Td(i){let e;return{c(){e=C("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){T(t,e,n)},d(t){t&&I(e)}}}function Ld(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ad(i){let e;return{c(){e=C("i"),f(e,"class","sap-icon--action")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function Rd(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ed(i){let e,t,n=!i[85].hideFromNav&&Nd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):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){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Dd(i){let e,t,n=i[85].label&&Vd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Vd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Vd(i){let e,t,n,l,r,a=i[28](i[85])+"",o,c,g,d,h,p,m,b,v,k,y,P,N,A,E,V,D;function F(G,J){return G[85].icon?IS:NS}let M=F(i),W=M(i);g=new qn({props:{node:i[85]}});let K=i[85].externalLink&&i[85].externalLink.url&&Od(),Q=i[85].badgeCounter&&Md(i);function ce(...G){return i[47](i[85],...G)}function Ce(...G){return i[48](i[85],...G)}return{c(){e=C("li"),t=C("div"),n=C("a"),W.c(),l=z(),r=C("span"),o=Ie(a),c=z(),Fe(g.$$.fragment),h=z(),K&&K.c(),p=z(),Q&&Q.c(),m=z(),b=C("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"),f(b,"class","fd-navigation__selection-indicator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(b,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[85]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-17n27g5"),f(n,"tabindex","-1"),f(n,"href",k=i[32](i[85])),f(n,"title",y=i[34](i[85],i[28](i[85]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",N=i[31](i[85])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",A=i[85]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,J){T(G,e,J),w(e,t),w(t,n),W.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Ve(g,r,null),w(n,h),K&&K.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,m),w(n,b),E=!0,V||(D=[le(n,"click",ce),le(n,"keyup",function(){di(i[23]?void 0:Ce)&&(i[23]?void 0:Ce).apply(this,arguments)})],V=!0)},p(G,J){i=G,M===(M=F(i))&&W?W.p(i,J):(W.d(1),W=M(i),W&&(W.c(),W.m(n,l))),(!E||J[0]&8192)&&a!==(a=i[28](i[85])+"")&&Te(o,a);const fe={};J[0]&8192&&(fe.node=i[85]),g.$set(fe),(!E||J[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[85].statusBadge&&i[85].statusBadge.align==="right"?"right":"left")+" svelte-17n27g5"))&&f(r,"class",d),i[85].externalLink&&i[85].externalLink.url?K||(K=Od(),K.c(),K.m(n,p)):K&&(K.d(1),K=null),i[85].badgeCounter?Q?(Q.p(i,J),J[0]&8192&&R(Q,1)):(Q=Md(i),Q.c(),R(Q,1),Q.m(n,m)):Q&&(me(),B(Q,1,1,()=>{Q=null}),be()),(!E||J[0]&8320&&v!==(v="fd-navigation__link "+(i[85]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-17n27g5"))&&f(n,"class",v),(!E||J[0]&8192&&k!==(k=i[32](i[85])))&&f(n,"href",k),(!E||J[0]&8192&&y!==(y=i[34](i[85],i[28](i[85]))))&&f(n,"title",y),(!E||J[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!E||J[0]&8192&&N!==(N=i[31](i[85])))&&f(n,"data-testid",N),(!E||J[0]&8320&&A!==(A=i[85]===i[7]))&&f(t,"aria-selected",A)},i(G){E||(R(g.$$.fragment,G),R(Q),E=!0)},o(G){B(g.$$.fragment,G),B(Q),E=!1},d(G){G&&I(e),W.d(),Oe(g),K&&K.d(),Q&&Q.d(),V=!1,$e(D)}}}function NS(i){let e,t;return{c(){e=C("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){T(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&&I(e)}}}function IS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[85].icon)),e?LS:TS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function TS(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[85].icon)||f(t,"src",n),f(t,"alt",l=i[85].altText?i[85].altText:""),f(t,"class","svelte-17n27g5"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-17n27g5")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[85].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[85].altText?r[85].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function LS(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[85].icon)+" svelte-17n27g5"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[85].icon)+" svelte-17n27g5")&&f(e,"class",t)},d(n){n&&I(e)}}}function Od(i){let e;return{c(){e=C("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){T(t,e,n)},d(t){t&&I(e)}}}function Md(i){let e,t;return e=new mn({props:{node:i[85]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[85]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Fd(i){let e,t,n=!i[85].hideFromNav&&Dd(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[85].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ud(i){let e,t,n,l,r,a;const o=[gS,dS],c=[];function g(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[81]==="undefined"||d[81].startsWith(d[14]))),e?0:(t==null&&(t=d[82].filter(RS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ve()},m(d,h){~n&&c[n].m(d,h),T(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(me(),B(c[p],1,1,()=>{c[p]=null}),be()),~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){B(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function AS(i){let e,t,n,l,r,a;const o=[Gk,zk],c=[];function g(d,h){return d[27]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=ve()},m(d,h){c[e].m(d,h),T(d,n,h),l=!0,r||(a=[le(Za,"resize",i[17]),le(Za,"click",i[21]),le(Za,"blur",i[21]),le(Za,"keydown",i[35])],r=!0)},p(d,h){t.p(d,h)},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&I(n),r=!1,$e(a)}}}function ln(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 RS=i=>!i.hideFromNav&&i.label,ES=i=>!i.hideFromNav&&i.label,DS=i=>{const e=i.target.parentElement;e.getAttribute("aria-expanded")==="true"?e.setAttribute("aria-expanded","false"):e.setAttribute("aria-expanded","true"),i.stopPropagation()};function VS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:b,isSemiCollapsed:v,selectedNode:k,sideNavAccordionMode:A,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:N,navParentNode:D}),set:async Z=>{Z&&(Object.getOwnPropertyNames(Z).forEach(async Pe=>{if(Pe==="pathData")t(5,p=Z.pathData);else if(Pe==="context")F=Z.context;else if(Pe==="children")t(0,a=Z.children);else if(Pe==="selectedNode")t(7,k=Z.selectedNode);else if(Pe==="hasCategoriesWithIcon")t(10,N=Z.hasCategoriesWithIcon);else if(Pe==="navParent"){t(12,V=void 0);let tt=Z.navParent;if(t(43,D=tt),tt&&tt.navHeader&&se.requestExperimentalFeature("navHeader",!0)){let gt=tt.navHeader,wt=tt;if(gt==="inherit"){for(wt=tt.parent;wt&&wt.navHeader==="inherit";)wt=wt.parent;gt=wt?wt.navHeader:void 0}if(gt instanceof Function){t(12,V={});let sn=gt(ke.stripNode(tt),ke.stripNode(wt),F);sn instanceof Promise?sn.then(Sn=>{t(12,V=Sn)}):t(12,V=sn)}else if(gt==="auto")t(12,V={label:tt.label,icon:tt.icon});else if(gt&>.useTitleResolver&&wt.titleResolver){wt.titleResolver.prerenderFallback?t(12,V={...gt,label:wt.titleResolver.fallbackTitle||"",icon:wt.titleResolver.fallbackIcon}):t(12,V=gt);const sn=we.mapPathToNode(it.getCurrentPath(),wt);Ot.extractDataFromPath(sn).then(Sn=>{const jn=we.substituteDynamicParamsInObject(Object.assign({},Sn.pathData.context,wt.context),Sn.pathData.pathParams);ke.fetchNodeTitleData(wt,jn).then(Fn=>{t(12,V={...gt,...Fn})}).catch(Fn=>{console.error("Error while retrieving title, fallback to node label"),t(12,V={...gt,label:tt.label,icon:tt.icon})})})}else t(12,V=await Me(gt,wt))}}}),t(42,A=ke.getSideNavAccordionMode(k)))}},r=zt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:h}=e,{pathData:p}=e,{pathParams:m}=e,{virtualGroupPrefix:b=ke.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:k}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:N}=e,{sideNavAccordionMode:A}=e,{burgerTooltip:E}=e,{navHeader:V}=e,{navParentNode:D}=e,F,M,W,K=pt("store"),Q=pt("getTranslation");Ci(i,Q,Z=>t(25,n=Z));let ce=!1,Ce=ae.getConfigBooleanValue("settings.btpToolLayout"),G;const J=Z=>ke.getNodeLabel(Z),fe=async()=>{const Z=l.get(),Pe=await Ot.getLeftNavData({...Z},Z);Pe&&(l.set(Pe),M=p,window.LEFTNAVDATA=Pe.children)};Jt(()=>{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,W=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ke.loadExpandedCategories()),dn.doOnStoreChange(K,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),dn.doOnStoreChange(K,()=>{fe()},["navigation.viewgroupdata"]);let Z=vi.initial();t(6,v=Z.isSemiCollapsed),t(41,g=Z.semiCollapsible),vi.onValueChanged(Pe=>{t(6,v=Pe.isSemiCollapsed)}),Mn.addEventListener("message",Pe=>{Pe.data.msg==="luigi.navigation.update-badge-counters"&&fe()})}),resetNavEntries=()=>{if(G){const Z=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Pe=G.querySelector(".fd-navigation__list"),tt=G.querySelector(".fd-navigation__list > .lui-spacer");Z==null||Z.forEach(gt=>{Pe.insertBefore(gt,tt)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},calculateNavEntries=()=>{const Z=G.querySelector(".fd-navigation__list > .lui-spacer"),Pe=G.querySelector(".lui-moreItems"),tt=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(!(tt.length<=0)&&Z.clientHeight===0){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let gt=tt.length-1;gt>0&&(lastNode=tt[gt-1],Pe.insertBefore(tt[gt],Pe.firstChild),!(Z.clientHeight>0));gt--);}},Zr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let Z;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Pe,tt)=>{Z&&clearTimeout(Z),v&&(Z=setTimeout(()=>{resetNavEntries(),calculateNavEntries()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):resetNavEntries()}),Kn(()=>{(!M||M!=p)&&fe(),t(22,W=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ke.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:te}=e;function x(Z){return ke.renderIconClassName(Z)}function Le(Z){return ke.isOpenUIiconName(Z)}function ie(Z){return Z.testId?Z.testId:ke.prepareForTests(Z.pathSegment,Z.label)}function Ee(Z){return we.getNodeHref(Z,m)}function re(Z,Pe){return Z&&Z.testId?Z.testId:ke.prepareForTests(Pe||Z.label)}async function Me(Z,Pe){const tt=we.mapPathToNode(it.getCurrentPath(),Pe),wt=(await Ot.extractDataFromPath(tt)).pathData.pathParams;return we.substituteDynamicParamsInObject(Z,wt)}function $(Z,Pe){return ke.generateTooltipText(Z,Pe)}function j(Z){r("handleClick",{node:Z})}function pe(Z,Pe){if(vi.getCollapsed()){let tt,gt=document.getElementsByClassName("fd-app__sidebar")[0];if(Z.metaInfo&&Z.metaInfo.label?tt=Z.metaInfo.label:tt=Z.category&&Z.category.label||Z.category,gt&&!gt.classList.contains("isBlocked")&&(gt.className+=" isBlocked"),tt===y){t(8,y=vi.closePopupMenu(y));return}t(8,y=tt),gt?Ke(Pe):Ce&&Vo(Pe)}}function Ke(Z){const Pe=Z.closest(".fd-nested-list__item"),tt=Pe.offsetTop,gt=ci.getShellbar().offsetHeight;let wt;ci.isCustomLuigiContainer()?wt=ci.getCustomLuigiContainer().clientHeight:wt=window.innerHeight,setTimeout(()=>{const sn=Pe.getElementsByClassName("lui-flyout-sublist")[0],Sn=Z.closest(".lui-fd-side-nav-wrapper").scrollTop,jn=tt+gt-Sn,Fn=wt-tt-Pe.offsetHeight+Sn-gt;jn+sn.offsetHeight>=wt?(sn.style.bottom=Fn+"px",sn.className+=" has-bottom-position"):sn.style.top=jn-gt+"px"})}function Ue(){if(g){let Z=vi.onResize(y);t(6,v=Z.isSemiCollapsed),t(8,y=Z.selectedCategory)}}function ge(Z){if(Z.code==="ArrowRight"){const tt=Re.getCurrentMicrofrontendIframe();tt&&tt.contentWindow&&tt.contentWindow.focus()}}function Qe(Z){let Pe=D?D.parent:void 0;for(;Pe;){if(Pe.pathSegment&&Pe.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Pe});return}Pe=Pe.parent}console.warn('Could not resolve "up"-node, redirecting to root'),np.navigate("/")}function xe(Z,Pe){vi.getCollapsed()||t(9,P=ke.storeExpandedState(Z.metaInfo.categoryUid,Pe,A))}function jt(){t(8,y=vi.closePopupMenu(y)),G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function vt(Z){Z&&Z.code==="Escape"&&jt()}function Ht(){t(6,v=vi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),In()}function bn(Z){const Pe=Z.code;(Pe==="Enter"||Pe==="Space")&&Ht()}function Yt(Z,Pe){(Z.code==="Enter"||Z==="Space")&&pe(Pe,Z.currentTarget)}function en(Z,Pe){Z.keyCode===Si&&ke.handleNavAnchorClickedWithoutMetaKey(Z)&&j(Pe)}function In(){if(!ke.getBurgerTooltipConfig())return;const[Z,Pe]=ke.getBurgerTooltipConfig(),tt=document.body.classList.contains("lui-semiCollapsible");Z&&Pe&&tt&&t(11,E=document.body.classList.contains("semiCollapsed")?Z:Pe)}function vn(Z,Pe){return ln(Z,Pe)?Z.metaInfo.titleCollapseButton?n(Z.metaInfo.titleCollapseButton):void 0:Z.metaInfo.titleExpandButton?n(Z.metaInfo.titleExpandButton):void 0}const an=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},Tn=(Z,Pe)=>en(Pe,Z),Tt=Z=>xe(Z,!ln(Z,P)),dl=(Z,Pe)=>pe(Z,Pe.currentTarget),li=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},wn=(Z,Pe)=>en(Pe,Z),Qt=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},Jn=(Z,Pe)=>en(Pe,Z),tn=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},kn=(Z,Pe)=>en(Pe,Z);function gi(Z){Ye[Z?"unshift":"push"](()=>{G=Z,t(24,G)})}const yi=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},gn=(Z,Pe)=>en(Pe,Z),Pi=Z=>xe(Z,!ln(Z,P)),Ni=Z=>xe(Z,!ln(Z,P)),Ii=(Z,Pe)=>Yt(Pe,Z),Ti=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},gl=(Z,Pe)=>en(Pe,Z),hl=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},_l=(Z,Pe)=>en(Pe,Z),Gi=Z=>pe(Z,event.currentTarget),Li=(Z,Pe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Pe)&&j(Z)},pl=(Z,Pe)=>en(Pe,Z),qi=Z=>Ht(),hi=Z=>Ht(),ml=Z=>bn(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(41,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(44,m=Z.pathParams),"virtualGroupPrefix"in Z&&t(14,b=Z.virtualGroupPrefix),"isSemiCollapsed"in Z&&t(6,v=Z.isSemiCollapsed),"selectedNode"in Z&&t(7,k=Z.selectedNode),"selectedCategory"in Z&&t(8,y=Z.selectedCategory),"expandedCategories"in Z&&t(9,P=Z.expandedCategories),"hasCategoriesWithIcon"in Z&&t(10,N=Z.hasCategoriesWithIcon),"sideNavAccordionMode"in Z&&t(42,A=Z.sideNavAccordionMode),"burgerTooltip"in Z&&t(11,E=Z.burgerTooltip),"navHeader"in Z&&t(12,V=Z.navHeader),"navParentNode"in Z&&t(43,D=Z.navParentNode),"sortedChildrenEntries"in Z&&t(13,te=Z.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const Z=Object.entries(a);Z.sort((Pe,tt)=>Pe[1].metaInfo.order-tt[1].metaInfo.order),t(13,te=Z)}},[a,o,c,d,h,p,v,k,y,P,N,E,V,te,b,j,pe,Ue,ge,Qe,xe,jt,W,ce,G,n,Q,Ce,J,x,Le,ie,Ee,re,$,vt,Ht,bn,Yt,en,vn,g,A,D,m,Ke,Vo,an,Tn,Tt,dl,li,wn,Qt,Jn,tn,kn,gi,yi,gn,Pi,Ni,Ii,Ti,gl,hl,_l,Gi,Li,pl,qi,hi,ml]}class sp extends Vt{constructor(e){super(),Dt(this,e,VS,AS,Rt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:41,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:44,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:42,burgerTooltip:11,navHeader:12,navParentNode:43,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:45,calculateBTPNavFlyoutPosition:46,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[45]}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 OS=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})),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||""})),op(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 r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),a=document.getElementsByTagName("head")[0];for(const o of a.childNodes)o.rel==="shortcut icon"&&o.remove();a.appendChild(r)}})},["settings.header"])},MS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),op=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 se.trimTrailingSlash(se.trimLeadingSlash(c.link)).split("/").forEach((d,h)=>{g&&(h+1>=t.length||!t[h+1].pathSegment||!MS(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=$r.getDocumentTitle()||r;i.set({title:r}),document.title=bt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Bd(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Hd(i,e,t){const n=i.slice();return n[43]=e[t],n}function FS(i){let e,t,n,l,r=i[1]&&Wd(i);return{c(){e=C("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){T(a,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Wd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&I(e),r&&r.d(),n=!1,l()}}}function US(i){let e,t,n,l,r=i[1]&&zd(i);return{c(){e=C("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-sikqr4"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){T(a,e,o),r&&r.m(e,null),n||(l=le(e,"click",i[27]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=zd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-sikqr4")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&I(e),r&&r.d(),n=!1,l()}}}function Wd(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){T(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&I(e),i[28](null)}}}function zd(i){let e;return{c(){e=C("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-sikqr4")},m(t,n){T(t,e,n),i[26](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&I(e),i[26](null)}}}function Gd(i){let e,t;function n(o,c){return o[3]?BS:HS}let l=n(i),r=l(i),a=i[10]&&xd(i);return{c(){r.c(),e=z(),a&&a.c(),t=ve()},m(o,c){r.m(o,c),T(o,e,c),a&&a.m(o,c),T(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?a?a.p(o,c):(a=xd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(o){r.d(o),o&&I(e),a&&a.d(o),o&&I(t)}}}function BS(i){let e,t,n,l,r,a,o,c,g,d;function h(k,y){return k[12]?zS:WS}let p=h(i),m=p(i),b=i[4]&&i[5]&&Qd(i),v=i[7]&&i[7].length>0&&Zd(i);return{c(){e=C("div"),t=C("div"),m.c(),n=z(),l=C("div"),r=C("nav"),a=C("ul"),b&&b.c(),o=z(),v&&v.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(k,y){T(k,e,y),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),b&&b.m(a,null),w(a,o),v&&v.m(a,null),i[36](a),g||(d=le(t,"click",Mt(YS)),g=!0)},p(k,y){p===(p=h(k))&&m?m.p(k,y):(m.d(1),m=p(k),m&&(m.c(),m.m(t,null))),k[4]&&k[5]?b?b.p(k,y):(b=Qd(k),b.c(),b.m(a,o)):b&&(b.d(1),b=null),k[7]&&k[7].length>0?v?v.p(k,y):(v=Zd(k),v.c(),v.m(a,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!k[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(k){k&&I(e),m.d(),b&&b.d(),v&&v.d(),i[36](null),g=!1,d()}}}function HS(i){let e;function t(r,a){return r[12]?JS:KS}let n=t(i),l=n(i);return{c(){l.c(),e=ve()},m(r,a){l.m(r,a),T(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&&I(e)}}}function WS(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g;return{c(){e=C("button"),t=C("span"),l=Ie(n),r=z(),a=C("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){T(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=le(e,"click",Mt(i[34])),c=!0)},p(d,h){h[0]&131076&&n!==(n=d[17](d[2])+"")&&Te(l,n),h[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,g()}}}function zS(i){let e,t,n,l=i[7]&&i[7].length===1&&qd(i),r=i[7]&&i[7].length>1&&Kd(i),a=i[7].length>1&&!i[5]&&Yd(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=z(),a&&a.c(),n=ve()},m(o,c){l&&l.m(o,c),T(o,e,c),r&&r.m(o,c),T(o,t,c),a&&a.m(o,c),T(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=qd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=Kd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?a?a.p(o,c):(a=Yd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&I(e),r&&r.d(o),o&&I(t),a&&a.d(o),o&&I(n)}}}function qd(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=C("a"),t=C("span"),l=Ie(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4")},m(a,o){T(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&131200&&n!==(n=a[17](a[7][0].title)+"")&&Te(l,n),o[0]&128&&r!==(r=a[22](a[7][0]))&&f(e,"href",r)},d(a){a&&I(e)}}}function Kd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=jd(Hd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);T(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Hd(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){ot(n,l),l&&I(e)}}}function Jd(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g,d,h;return{c(){e=C("a"),t=C("span"),l=Ie(n),r=z(),a=C("i"),o=z(),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[22](i[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",g=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,m){T(p,e,m),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(h=le(e,"click",At(i[32])),d=!0)},p(p,m){m[0]&131076&&n!==(n=p[17](p[2])+"")&&Te(l,n),m[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),m[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&I(e),d=!1,h()}}}function jd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&Jd(i);return{c(){n&&n.c(),t=ve()},m(l,r){n&&n.m(l,r),T(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=Jd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&I(t)}}}function Yd(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ie(n),r=z(),a=C("i"),f(t,"class","fd-shellbar__title svelte-sikqr4"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){T(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=le(e,"click",At(i[33])),c=!0)},p(d,h){h[0]&131076&&n!==(n=d[17](d[2])+"")&&Te(l,n),h[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,g()}}}function Qd(i){let e,t,n,l=i[17](i[6])+"",r,a,o,c;return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[20](i[6])),f(e,"class","fd-menu__item")},m(g,d){T(g,e,d),w(e,t),w(t,n),w(n,r),o||(c=le(t,"click",At(i[14])),o=!0)},p(g,d){d[0]&131136&&l!==(l=g[17](g[6])+"")&&Te(r,l),d[0]&64&&a!==(a=g[20](g[6]))&&f(t,"data-testid",a)},d(g){g&&I(e),o=!1,c()}}}function Zd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=$d(Bd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);T(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Bd(l,t,a);n[a]?n[a].p(o,r):(n[a]=$d(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){ot(n,l),l&&I(e)}}}function GS(i){let e,t,n,l=i[17](i[43].title)+"",r,a,o,c,g,d;function h(...p){return i[35](i[43],...p)}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),c=z(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=le(t,"click",h),g=!0)},p(p,m){i=p,m[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Te(r,l),m[0]&4736&&a!==(a=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",a),m[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&I(e),g=!1,d()}}}function qS(i){let e,t=i[16]&&Xd(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=Xd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function Xd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=C("li"),t=new pr(!1),l=z(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){T(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&I(e)}}}function $d(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!se.isFunction(o[8])),e)return qS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return GS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=ve()},m(o,c){a&&a.m(o,c),T(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&&I(n)}}}function KS(i){let e,t,n=i[17](i[2])+"",l,r,a;return{c(){e=C("span"),t=C("span"),l=Ie(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title")},m(o,c){T(o,e,c),w(e,t),w(t,l),r||(a=le(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&I(e),r=!1,a()}}}function JS(i){let e,t,n=i[17](i[2])+"",l,r,a;return{c(){e=C("a"),t=C("span"),l=Ie(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-sikqr4"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){T(o,e,c),w(e,t),w(t,l),r||(a=le(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Te(l,n)},d(o){o&&I(e),r=!1,a()}}}function xd(i){let e,t=i[17](i[10])+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-shellbar__subtitle svelte-sikqr4")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Te(n,t)},d(l){l&&I(e)}}}function jS(i){let e,t;function n(o,c){return o[12]?US:FS}let l=n(i),r=l(i),a=i[2]&&Gd(i);return{c(){r.c(),e=z(),a&&a.c(),t=ve()},m(o,c){r.m(o,c),T(o,e,c),a&&a.m(o,c),T(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=Gd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:ze,o:ze,d(o){r.d(o),o&&I(e),a&&a.d(o),o&&I(t)}}}const YS=()=>{};function QS(i,e,t){let n;const l=zt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:d}=e,{selectedItem:h}=e,{defaultTitle:p}=e,{appSwitcherItems:m}=e,{itemRenderer:b}=e,{pathParams:v}=e,{subTitle:k}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:N}=e,A,E,V=pt("getUnsavedChangesModalPromise"),D=pt("getTranslation");Ci(i,D,ge=>t(17,n=ge));let F=pt("store");const M={closeDropDown:()=>{G("appSwitcherPopover")}},W=()=>({get:()=>({pathData:P,pathParams:v,appSwitcherItems:m,itemRenderer:b,selectedItem:h,defaultTitle:p,title:o,subTitle:k,defaultSubTitle:y,showMainAppEntry:d,hasApps:c,hasLogo:a,logo:r}),set:ge=>{ge&&Object.getOwnPropertyNames(ge).forEach(Qe=>{Qe==="pathData"?t(24,P=ge.pathData):Qe==="appSwitcherItems"?t(7,m=ge.appSwitcherItems):Qe==="itemRenderer"?t(8,b=ge.itemRenderer):Qe==="pathParams"?t(9,v=ge.pathParams):Qe==="selectedItem"?t(5,h=ge.selectedItem):Qe==="title"?t(2,o=ge.title):Qe==="defaultSubTitle"?t(23,y=ge.defaultSubTitle):Qe==="subTitle"?t(10,k=ge.subTitle):Qe==="defaultTitle"?t(6,p=ge.defaultTitle):Qe==="subTitle"?t(10,k=ge.subTitle):Qe==="showMainAppEntry"?t(4,d=ge.showMainAppEntry):Qe==="hasApps"?t(3,c=ge.hasApps):Qe==="hasLogo"&&t(1,a=ge.hasLogo)})},store:F});Jt(()=>{OS(W())}),Kn(()=>{(!E||E!=P)&&(op(W()),E=P)});function K(ge,Qe,xe){return setTimeout(()=>{Qe&&b(ge,Qe.children[xe],M)}),""}function Q(ge){V().then(()=>{it.navigateTo(we.applyPathParams(ge,v))},()=>{})}function ce(){V().then(()=>{it.navigateTo("/")},()=>{})}function Ce(ge){l("handleClick",{node:ge}),G("appSwitcherPopover")}function G(ge){l("toggleDropdownState",{name:ge})}function J(ge){return ge.testId?ge.testId:ke.prepareForTests(ge.title||ge)}function fe(ge,Qe){if(ge.link){const xe=we.applyPathParams(ge.link,Qe);if(xe.indexOf(":")!==0&&xe.indexOf("/:")===-1)return!0}return!1}function te(ge){return we.getNodeHref(ge)}function x(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const Le=ge=>{ke.handleNavAnchorClickedWithoutMetaKey(ge)&&Q("/")};function ie(ge){Ye[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const Ee=()=>Q("/"),re=ge=>{ke.handleNavAnchorClickedWithoutMetaKey(ge)&&Q("/")},Me=()=>Q("/"),$=()=>G("appSwitcherPopover"),j=()=>G("appSwitcherPopover"),pe=()=>G("appSwitcherPopover"),Ke=(ge,Qe)=>{ke.handleNavAnchorClickedWithoutMetaKey(Qe)&&Q(ge.link)};function Ue(ge){Ye[ge?"unshift":"push"](()=>{A=ge,t(16,A)})}return i.$$set=ge=>{"logo"in ge&&t(0,r=ge.logo),"hasLogo"in ge&&t(1,a=ge.hasLogo),"title"in ge&&t(2,o=ge.title),"hasApps"in ge&&t(3,c=ge.hasApps),"dropDownStates"in ge&&t(11,g=ge.dropDownStates),"showMainAppEntry"in ge&&t(4,d=ge.showMainAppEntry),"selectedItem"in ge&&t(5,h=ge.selectedItem),"defaultTitle"in ge&&t(6,p=ge.defaultTitle),"appSwitcherItems"in ge&&t(7,m=ge.appSwitcherItems),"itemRenderer"in ge&&t(8,b=ge.itemRenderer),"pathParams"in ge&&t(9,v=ge.pathParams),"subTitle"in ge&&t(10,k=ge.subTitle),"defaultSubTitle"in ge&&t(23,y=ge.defaultSubTitle),"pathData"in ge&&t(24,P=ge.pathData),"addNavHrefForAnchor"in ge&&t(12,N=ge.addNavHrefForAnchor)},[r,a,o,c,d,h,p,m,b,v,k,g,N,Q,ce,G,A,n,D,K,J,fe,te,y,P,Ce,x,Le,ie,Ee,re,Me,$,j,pe,Ke,Ue]}class ZS extends Vt{constructor(e){super(),Dt(this,e,QS,jS,Rt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function eg(i,e,t){const n=i.slice();return n[34]=e[t],n}function tg(i){let e,t,n,l,r,a,o=i[0]&&ng(i),c=(i[10]||i[11])&&ug(i);return{c(){e=C("div"),o&&o.c(),t=z(),n=C("div"),l=C("div"),r=C("div"),a=C("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-x3xwcc"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,d){T(g,e,d),o&&o.m(e,null),T(g,t,d),T(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=ng(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,d):(c=ug(g),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(g){g&&I(e),o&&o.d(),g&&I(t),g&&I(n),c&&c.d()}}}function ng(i){let e,t,n,l,r,a,o;function c(k,y){return k[7].picture?$S:XS}let g=c(i),d=g(i),h=i[7].name&&ig(i),p=i[7].description&&lg(i),m=i[9].items,b=[];for(let k=0;k<m.length;k+=1)b[k]=ag(eg(i,m,k));let v=i[12]&&sg(i);return{c(){e=C("div"),d.c(),t=z(),n=C("div"),h&&h.c(),l=z(),p&&p.c(),r=z(),a=C("ul");for(let k=0;k<b.length;k+=1)b[k].c();o=z(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border"),f(a,"role","list")},m(k,y){T(k,e,y),d.m(e,null),T(k,t,y),T(k,n,y),h&&h.m(n,null),w(n,l),p&&p.m(n,null),T(k,r,y),T(k,a,y);for(let P=0;P<b.length;P+=1)b[P].m(a,null);w(a,o),v&&v.m(a,null)},p(k,y){if(g===(g=c(k))&&d?d.p(k,y):(d.d(1),d=g(k),d&&(d.c(),d.m(e,null))),k[7].name?h?h.p(k,y):(h=ig(k),h.c(),h.m(n,l)):h&&(h.d(1),h=null),k[7].description?p?p.p(k,y):(p=lg(k),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){m=k[9].items;let P;for(P=0;P<m.length;P+=1){const N=eg(k,m,P);b[P]?b[P].p(N,y):(b[P]=ag(N),b[P].c(),b[P].m(a,o))}for(;P<b.length;P+=1)b[P].d(1);b.length=m.length}k[12]?v?v.p(k,y):(v=sg(k),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(k){k&&I(e),d.d(),k&&I(t),k&&I(n),h&&h.d(),p&&p.d(),k&&I(r),k&&I(a),ot(b,k),v&&v.d()}}}function XS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=C("span"),n=Ie(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){T(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Te(n,t)},d(l){l&&I(e)}}}function $S(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),On(e,"background-image","url('"+i[7].picture+"')")},m(t,n){T(t,e,n)},p(t,n){n[0]&128&&On(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&I(e)}}}function ig(i){let e,t=i[7].name+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-user-menu__user-name svelte-x3xwcc"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Te(n,t)},d(l){l&&I(e)}}}function lg(i){let e,t=i[7].description+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-user-menu__user-role svelte-x3xwcc"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Te(n,t)},d(l){l&&I(e)}}}function rg(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?eC:xS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function xS(i){let e,t;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),On(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){T(n,e,l)},p(n,l){l[0]&128&&On(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&I(e)}}}function eC(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-x3xwcc")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&I(e)}}}function ag(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,h=i[34].icon&&rg(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),h&&h.c(),n=z(),l=C("span"),a=Ie(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(m,b){T(m,e,b),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,b){i=m,i[34].icon?h?h.p(i,b):(h=rg(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),b[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(a,r),b[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),b[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&I(e),h&&h.d(),g=!1,$e(d)}}}function sg(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g=i[9].settings.icon&&og(i);return{c(){e=C("li"),t=C("a"),g&&g.c(),n=z(),l=C("span"),a=Ie(r),f(l,"class","fd-list__title svelte-x3xwcc"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"role","listitem"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,h){T(d,e,h),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[le(e,"click",At(i[5])),le(e,"keyup",i[25])],o=!0)},p(d,h){d[9].settings.icon?g?g.p(d,h):(g=og(d),g.c(),g.m(t,n)):g&&(g.d(1),g=null),h[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Te(a,r)},d(d){d&&I(e),g&&g.d(),o=!1,$e(c)}}}function og(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?nC:tC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function tC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-x3xwcc"),Je(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){T(l,e,r)},p(l,r){r[0]&512&&!Je(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function nC(i){let e,t;return{c(){e=C("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-x3xwcc")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-x3xwcc")&&f(e,"class",t)},d(n){n&&I(e)}}}function ug(i){let e,t,n=(i[8]||!i[10]&&i[11])&&fg(i),l=i[10]&&!i[8]&&cg(i);return{c(){n&&n.c(),e=z(),l&&l.c(),t=ve()},m(r,a){n&&n.m(r,a),T(r,e,a),l&&l.m(r,a),T(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=fg(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=cg(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&I(e),l&&l.d(r),r&&I(t)}}}function fg(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=C("div"),t=C("button"),l=Ie(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){T(c,e,g),w(e,t),w(t,l),a||(o=le(t,"click",i[4]),a=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Te(l,n),g[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&I(e),a=!1,o()}}}function cg(i){let e,t,n,l,r;return{c(){e=C("button"),e.textContent="Login",t=z(),n=C("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){T(a,e,o),T(a,t,o),T(a,n,o),l||(r=[le(e,"click",i[15]),le(n,"click",i[15])],l=!0)},p:ze,d(a){a&&I(e),a&&I(t),a&&I(n),l=!1,$e(r)}}}function iC(i){let e,t=!i[1]&&tg(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=tg(n),t.c(),t.m(e.parentNode,e))},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function lC(i,e,t){let n;const l=zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,m,b,v=pt("store"),k=pt("getTranslation");Ci(i,k,x=>t(13,n=x));let y=pt("getUnsavedChangesModalPromise"),P=pt("openViewInModal");Jt(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),M()),F(),rn.getLoggedInStore().subscribe(x=>{t(8,c=x)}),rn.getUserInfoStore().subscribe(x=>{t(7,o=x),l("userInfoUpdated",o)})});function N(){rn.startAuthorization()}function A(x){return ke.renderIconClassName(x)}function E(x){return ke.isOpenUIiconName(x.icon)}function V(x){return x.testId?x.testId:ke.prepareForTests(x.label)}function D(x){return we.getNodeHref(x)}function F(){m||(dn.doOnStoreChange(v,async()=>{const x=await ae.getConfigValueAsync("navigation.profile.logout"),Le=await ae.getConfigValueAsync("userSettings"),ie=Le||await ae.getConfigValueAsync("settings.userSettings"),Ee={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(ie){const re=ie.userSettingsProfileMenuEntry;Ee.settings={...ul.userSettingsProfileMenuEntry,...re}}Ee.logout={...ul.logout,...x},t(11,h=!!x),b=!1,rn.setProfileLogoutFn(null),x&&se.isFunction(x.customLogoutFn)&&(b=!0,rn.setProfileLogoutFn(x.customLogoutFn)),t(9,g=Ee),t(12,p=!!ie)},["navigation.profile"]),m=!0)}async function M(){const x=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");x&&(rn.setUserInfo(o),t(7,o=x),l("userInfoUpdated",o))}function W(x){y().then(()=>{if(x.openNodeInModal){const Le=we.buildRoute(x,`${x.link}`);P(Le,x.openNodeInModal===!0?{}:x.openNodeInModal)}else it.navigateToLink(x)},()=>{}),l("toggleDropdownState")}function K(){y().then(()=>{d?ce():h&&b?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){rn.logout()}function Ce({keyCode:x}){(x===Si||x===Qr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const J=x=>{ke.handleNavAnchorClickedWithoutMetaKey(x)},fe=x=>W(x),te=x=>Ce(x);return i.$$set=x=>{"isHidden"in x&&t(1,r=x.isHidden),"addNavHrefForAnchor"in x&&t(2,a=x.addNavHrefForAnchor),"showUserInfo"in x&&t(0,G=x.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,W,K,Q,Ce,o,c,g,d,h,p,n,k,N,A,E,V,D,F,M,ce,J,fe,te]}class rC extends Vt{constructor(e){super(),Dt(this,e,lC,iC,Rt,{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 dg(i,e,t){const n=i.slice();return n[34]=e[t],n}function gg(i){let e,t,n,l,r,a=i[0]&&hg(i),o=i[9].items,c=[];for(let h=0;h<o.length;h+=1)c[h]=pg(dg(i,o,h));let g=i[12]&&mg(i),d=(i[10]||i[11])&&vg(i);return{c(){e=C("nav"),t=C("ul"),a&&a.c(),n=z();for(let h=0;h<c.length;h+=1)c[h].c();l=z(),g&&g.c(),r=z(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1lwfozx")},m(h,p){T(h,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let m=0;m<c.length;m+=1)c[m].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=hg(h),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=h[9].items;let m;for(m=0;m<o.length;m+=1){const b=dg(h,o,m);c[m]?c[m].p(b,p):(c[m]=pg(b),c[m].c(),c[m].m(t,l))}for(;m<c.length;m+=1)c[m].d(1);c.length=o.length}h[12]?g?g.p(h,p):(g=mg(h),g.c(),g.m(t,r)):g&&(g.d(1),g=null),h[10]||h[11]?d?d.p(h,p):(d=vg(h),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(h){h&&I(e),a&&a.d(),ot(c,h),g&&g.d(),d&&d.d()}}}function hg(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=C("li"),t=C("span"),l=Ie(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1lwfozx"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){T(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)+"")&&Te(l,n)},d(r){r&&I(e)}}}function _g(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?sC:aC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function aC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),Je(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){T(l,e,r)},p(l,r){r[0]&512&&!Je(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function sC(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1lwfozx")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&I(e)}}}function pg(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,h=i[34].icon&&_g(i);function p(){return i[24](i[34])}return{c(){e=C("li"),t=C("a"),h&&h.c(),n=z(),l=C("span"),a=Ie(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(m,b){T(m,e,b),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[le(t,"click",i[23]),le(e,"click",p)],g=!0)},p(m,b){i=m,i[34].icon?h?h.p(i,b):(h=_g(i),h.c(),h.m(t,n)):h&&(h.d(1),h=null),b[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Te(a,r),b[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),b[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(m){m&&I(e),h&&h.d(),g=!1,$e(d)}}}function mg(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g,d=i[9].settings.icon&&bg(i);return{c(){e=C("li"),t=C("a"),d&&d.c(),n=z(),l=C("span"),a=Ie(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){T(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=[le(e,"click",At(i[5])),le(e,"keyup",i[25])],c=!0)},p(h,p){h[9].settings.icon?d?d.p(h,p):(d=bg(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Te(a,r),p[0]&512&&o!==(o=h[18](h[9].settings))&&f(e,"data-testid",o)},d(h){h&&I(e),d&&d.d(),c=!1,$e(g)}}}function bg(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?uC:oC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function oC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),Je(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){T(l,e,r)},p(l,r){r[0]&512&&!Je(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function uC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1lwfozx")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&I(e)}}}function vg(i){let e,t,n=(i[8]||!i[10]&&i[11])&&wg(i),l=i[10]&&!i[8]&&Sg(i);return{c(){n&&n.c(),e=z(),l&&l.c(),t=ve()},m(r,a){n&&n.m(r,a),T(r,e,a),l&&l.m(r,a),T(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=wg(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Sg(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&I(e),l&&l.d(r),r&&I(t)}}}function wg(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,g,d=i[9].logout.icon&&kg(i);return{c(){e=C("li"),t=C("button"),d&&d.c(),n=z(),l=C("span"),a=Ie(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1lwfozx"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1lwfozx"),f(e,"data-testid",o=i[18](i[9].logout))},m(h,p){T(h,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=le(e,"click",i[4]),c=!0)},p(h,p){h[9].logout.icon?d?d.p(h,p):(d=kg(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].logout.label)+"")&&Te(a,r),p[0]&512&&o!==(o=h[18](h[9].logout))&&f(e,"data-testid",o)},d(h){h&&I(e),d&&d.d(),c=!1,g()}}}function kg(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?cC:fC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function fC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1lwfozx"),Je(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){T(l,e,r)},p(l,r){r[0]&512&&!Je(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function cC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1lwfozx")},m(n,l){T(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1lwfozx")&&f(e,"class",t)},d(n){n&&I(e)}}}function Sg(i){let e,t,n;return{c(){e=C("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){T(l,e,r),t||(n=le(e,"click",i[15]),t=!0)},p:ze,d(l){l&&I(e),t=!1,n()}}}function dC(i){let e,t=!i[1]&&gg(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=gg(n),t.c(),t.m(e.parentNode,e))},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function gC(i,e,t){let n;const l=zt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,h,p,m,b,v=pt("store"),k=pt("getTranslation");Ci(i,k,x=>t(13,n=x));let y=pt("getUnsavedChangesModalPromise"),P=pt("openViewInModal");Jt(async()=>{wi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),M()),F(),rn.getLoggedInStore().subscribe(x=>{t(8,c=x)}),rn.getUserInfoStore().subscribe(x=>{t(7,o=x),l("userInfoUpdated",o)})});function N(){rn.startAuthorization()}function A(x){return ke.renderIconClassName(x)}function E(x){return ke.isOpenUIiconName(x.icon)}function V(x){return x.testId?x.testId:ke.prepareForTests(x.label)}function D(x){return we.getNodeHref(x)}function F(){m||(dn.doOnStoreChange(v,async()=>{const x=await ae.getConfigValueAsync("navigation.profile.logout"),Le=await ae.getConfigValueAsync("userSettings"),ie=Le||await ae.getConfigValueAsync("settings.userSettings");t(12,p=!!ie);const Ee={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const re=ie.userSettingsProfileMenuEntry;Ee.settings={...ul.userSettingsProfileMenuEntry,...re}}Ee.logout={...ul.logout,...x},t(11,h=!!x),b=!1,rn.setProfileLogoutFn(null),x&&se.isFunction(x.customLogoutFn)&&(b=!0,rn.setProfileLogoutFn(x.customLogoutFn)),t(9,g=Ee)},["navigation.profile"]),m=!0)}async function M(){const x=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");x&&(rn.setUserInfo(o),t(7,o=x),l("userInfoUpdated",o))}function W(x){y().then(()=>{if(x.openNodeInModal){const Le=we.buildRoute(x,`${x.link}`);P(Le,x.openNodeInModal===!0?{}:x.openNodeInModal)}else it.navigateToLink(x)},()=>{}),l("toggleDropdownState")}function K(){y().then(()=>{d?ce():h&&b?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){$r.openUserSettings(),l("toggleDropdownState")}function ce(){rn.logout()}function Ce({keyCode:x}){(x===Si||x===Qr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const J=x=>{ke.handleNavAnchorClickedWithoutMetaKey(x)},fe=x=>W(x),te=x=>Ce(x);return i.$$set=x=>{"isHidden"in x&&t(1,r=x.isHidden),"addNavHrefForAnchor"in x&&t(2,a=x.addNavHrefForAnchor),"showUserInfo"in x&&t(0,G=x.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,W,K,Q,Ce,o,c,g,d,h,p,n,k,N,A,E,V,D,F,M,ce,J,fe,te]}class up extends Vt{constructor(e){super(),Dt(this,e,gC,dC,Rt,{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 Cg(i,e,t){const n=i.slice();return n[12]=e[t],n}function yg(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ig(Cg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);T(a,e,o),t=!0},p(a,o){if(o&510){n=a[1];let c;for(c=0;c<n.length;c+=1){const 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(me(),c=n.length;c<l.length;c+=1)r(c);be()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ot(l,a),a&&I(e)}}}function Pg(i){let e,t,n,l,r,a,o,c,g=i[4](i[12])+"",d,h,p=i[5](i[12]),m,b,v,k,y,P;function N(F,M){return M&10&&(n=null),n==null&&(n=!!F[3](F[12])),n?_C:hC}let A=N(i,-1),E=A(i);r=new mn({props:{node:i[12]}});let V=p&&Ng(i);function D(){return i[10](i[12])}return{c(){e=C("li"),t=C("div"),E.c(),l=z(),Fe(r.$$.fragment),a=z(),o=C("div"),c=C("div"),d=Ie(g),h=z(),V&&V.c(),m=z(),f(t,"class","lui-product-switch__icon svelte-503htr"),f(c,"class","fd-product-switch__title svelte-503htr"),f(o,"class","fd-product-switch__text svelte-503htr"),f(e,"class",b="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=i[2](i[12]))},m(F,M){T(F,e,M),w(e,t),E.m(t,null),w(t,l),Ve(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,h),V&&V.m(o,null),w(e,m),k=!0,y||(P=le(e,"click",D),y=!0)},p(F,M){i=F,A===(A=N(i,M))&&E?E.p(i,M):(E.d(1),E=A(i),E&&(E.c(),E.m(t,l)));const W={};M&2&&(W.node=i[12]),r.$set(W),(!k||M&18)&&g!==(g=i[4](i[12])+"")&&Te(d,g),M&34&&(p=i[5](i[12])),p?V?V.p(i,M):(V=Ng(i),V.c(),V.m(o,null)):V&&(V.d(1),V=null),(!k||M&66&&b!==(b="fd-product-switch__item "+(i[6]=="true"?"y-has-no-subtitle":"")+" "+(i[12].selected?"selected":"")+" svelte-503htr"))&&f(e,"class",b),(!k||M&6&&v!==(v=i[2](i[12])))&&f(e,"data-testid",v)},i(F){k||(R(r.$$.fragment,F),k=!0)},o(F){B(r.$$.fragment,F),k=!1},d(F){F&&I(e),E.d(),Oe(r),V&&V.d(),y=!1,P()}}}function hC(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[12].icon)||f(e,"src",t),f(e,"alt",n=i[12].altText?i[12].altText:""),f(e,"class","svelte-503htr")},m(l,r){T(l,e,r)},p(l,r){r&2&&!Je(e.src,t=l[12].icon)&&f(e,"src",t),r&2&&n!==(n=l[12].altText?l[12].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function _C(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[12].icon&&i[3](i[12])?i[8](i[12].icon):"")+" svelte-503htr")},m(n,l){T(n,e,l)},p(n,l){l&10&&t!==(t="sap-icon "+(n[12].icon&&n[3](n[12])?n[8](n[12].icon):"")+" svelte-503htr")&&f(e,"class",t)},d(n){n&&I(e)}}}function Ng(i){let e,t=i[5](i[12])+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r&34&&t!==(t=l[5](l[12])+"")&&Te(n,t)},d(l){l&&I(e)}}}function Ig(i){let e,t,n=i[12].label&&Pg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[12].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Pg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function pC(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v,k,y,P,N,A=i[1]&&yg(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),a=C("h2"),o=Ie(i[0]),c=z(),g=C("div"),d=C("div"),h=C("ul"),A&&A.c(),p=z(),m=C("footer"),b=C("div"),v=C("div"),k=C("button"),k.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-503htr"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(k,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(k,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(m,"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(E,V){T(E,e,V),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),A&&A.m(h,null),w(t,p),w(t,m),w(m,b),w(b,v),w(v,k),y=!0,P||(N=[le(k,"click",i[9]),le(e,"click",Mt(mC))],P=!0)},p(E,[V]){(!y||V&1)&&Te(o,E[0]),E[1]?A?(A.p(E,V),V&2&&R(A,1)):(A=yg(E),A.c(),R(A,1),A.m(h,null)):A&&(me(),B(A,1,1,()=>{A=null}),be())},i(E){y||(R(A),y=!0)},o(E){B(A),y=!1},d(E){E&&I(e),A&&A.d(),P=!1,$e(N)}}}const mC=()=>{};function bC(i,e,t){const n=zt();let{label:l}=e,{nodes:r}=e,{getTestId:a}=e,{hasOpenUIicon:o}=e,{getNodeLabel:c}=e,{getNodeSubtitle:g}=e,{noSubTitle:d}=e;function h(v){return ke.renderIconClassName(v)}function p(v){n("listClick",v)}function m(v){Ol.call(this,i,v)}const b=v=>p(v);return i.$$set=v=>{"label"in v&&t(0,l=v.label),"nodes"in v&&t(1,r=v.nodes),"getTestId"in v&&t(2,a=v.getTestId),"hasOpenUIicon"in v&&t(3,o=v.hasOpenUIicon),"getNodeLabel"in v&&t(4,c=v.getNodeLabel),"getNodeSubtitle"in v&&t(5,g=v.getNodeSubtitle),"noSubTitle"in v&&t(6,d=v.noSubTitle)},[l,r,a,o,c,g,d,p,h,m,b]}class fp extends Vt{constructor(e){super(),Dt(this,e,bC,pC,Rt,{label:0,nodes:1,getTestId:2,hasOpenUIicon:3,getNodeLabel:4,getNodeSubtitle:5,noSubTitle:6,onActionClick:7})}get onActionClick(){return this.$$.ctx[7]}}const{window:vC}=cl;function Tg(i,e,t){const n=i.slice();return n[7]=e[t],n}function Lg(i){let e,t,n,l=i[0]&&Ag(i);return{c(){e=C("nav"),t=C("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){T(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=Ag(r),l.c(),R(l,1),l.m(t,null)):l&&(me(),B(l,1,1,()=>{l=null}),be())},i(r){n||(R(l),n=!0)},o(r){B(l),n=!1},d(r){r&&I(e),l&&l.d()}}}function Ag(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Eg(Tg(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);T(a,e,o),t=!0},p(a,o){if(o&15885){n=a[0];let c;for(c=0;c<n.length;c+=1){const g=Tg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Eg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(me(),c=n.length;c<l.length;c+=1)r(c);be()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ot(l,a),a&&I(e)}}}function Rg(i){let e,t,n,l,r,a,o,c,g=i[11](i[7])+"",d,h,p,m,b,v,k;function y(E,V){return V&1&&(l=null),l==null&&(l=!!(E[7].icon&&E[9](E[7]))),l?kC:wC}let P=y(i,-1),N=P(i);a=new mn({props:{node:i[7]}});function A(){return i[15](i[7])}return{c(){e=C("li"),t=C("a"),n=C("span"),N.c(),r=z(),Fe(a.$$.fragment),o=z(),c=C("span"),d=Ie(g),p=z(),f(n,"class","fd-top-nav__icon svelte-1gqx0dl"),f(c,"class","fd-menu__title"),f(t,"href",h=i[2]?i[13](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",m=i[12](i[7]))},m(E,V){T(E,e,V),w(e,t),w(t,n),N.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),b=!0,v||(k=[le(t,"click",i[14]),le(e,"click",A)],v=!0)},p(E,V){i=E,P===(P=y(i,V))&&N?N.p(i,V):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const D={};V&1&&(D.node=i[7]),a.$set(D),(!b||V&1)&&g!==(g=i[11](i[7])+"")&&Te(d,g),(!b||V&5&&h!==(h=i[2]?i[13](i[7]):void 0))&&f(t,"href",h),(!b||V&1&&m!==(m=i[12](i[7])))&&f(e,"data-testid",m)},i(E){b||(R(a.$$.fragment,E),b=!0)},o(E){B(a.$$.fragment,E),b=!1},d(E){E&&I(e),N.d(),Oe(a),v=!1,$e(k)}}}function wC(i){let e,t,n;return{c(){e=C("img"),f(e,"class","sap-icon svelte-1gqx0dl"),Je(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(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&&I(e)}}}function kC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&I(e)}}}function Eg(i){let e,t,n=i[7].label&&Rg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Rg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Dg(i){let e,t;return e=new fp({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],getTestId:i[12],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function SC(i){let e,t,n,l,r,a=!i[1]&&Lg(i),o=i[1]&&Dg(i);return{c(){a&&a.c(),e=z(),o&&o.c(),t=ve()},m(c,g){a&&a.m(c,g),T(c,e,g),o&&o.m(c,g),T(c,t,g),n=!0,l||(r=le(vC,"resize",rs),l=!0)},p(c,[g]){c[1]?a&&(me(),B(a,1,1,()=>{a=null}),be()):a?(a.p(c,g),g&2&&R(a,1)):(a=Lg(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&R(o,1)):(o=Dg(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(me(),B(o,1,1,()=>{o=null}),be())},i(c){n||(R(a),R(o),n=!0)},o(c){B(a),B(o),n=!1},d(c){a&&a.d(c),c&&I(e),o&&o.d(c),c&&I(t),l=!1,r()}}}function rs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function CC(i,e,t){const n=zt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=pt("getUnsavedChangesModalPromise"),g=pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const h=()=>{},p=()=>({get:()=>({pathParams:o}),set:D=>{}});Jt(async()=>{rs()}),Kn(async()=>{r||t(0,r=await Ot.getChildren(a)),t(0,r)});function m(D){c().then(()=>{if(D.openNodeInModal){const F=we.buildRoute(D,`/${D.pathSegment}`);g(F,D.openNodeInModal===!0?{}:D.openNodeInModal)}else it.handleRouteClick(D,p())},()=>{}),v()}function b(D){m(D.detail)}function v(){n("close")}function k(D){return ke.isOpenUIiconName(D.icon)}function y(D){return ke.renderIconClassName(D)}function P(D){return bt.getTranslation(D.label)}function N(D){return D.testId?D.testId:ke.prepareForTests(D.pathSegment,D.label)}function A(D){return we.getNodeHref(D,o)}const E=D=>{ke.handleNavAnchorClickedWithoutMetaKey(D)},V=D=>m(D);return i.$$set=D=>{"isMobile"in D&&t(1,l=D.isMobile),"children"in D&&t(0,r=D.children),"node"in D&&t(7,a=D.node),"addNavHrefForAnchor"in D&&t(2,d=D.addNavHrefForAnchor)},[r,l,d,m,b,v,rs,a,h,k,y,P,N,A,E,V]}class cp extends Vt{constructor(e){super(),Dt(this,e,CC,SC,Rt,{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 rs}}const pn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?se.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=se.addLeadingSlash(it.getCurrentPath()),n=se.addLeadingSlash(e.link);return t.startsWith(n)?i.link+se.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=se.normalizePath(i),n=se.normalizePath(e);return!!(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=pn._fallbackLabels;if(t&&n.has(e))return n.get(e);const l=await i(e);return t&&n.set(e,l),l},getSelectedId(i,e,t){if(i=se.normalizePath(i),t=se.normalizePath(t),!!pn.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=pn.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 pn.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 pn.generateSwitcherNav(e,t)}};function Vg(i,e,t){const n=i.slice();return n[21]=e[t],n}function Og(i,e,t){const n=i.slice();return n[21]=e[t],n}function Mg(i,e,t){const n=i.slice();return n[21]=e[t],n}function Fg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Bg(Mg(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-qht2wo")},m(l,r){T(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&21249){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Mg(l,t,a);n[a]?n[a].p(o,r):(n[a]=Bg(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&&I(e),ot(n,l)}}}function Ug(i){let e,t,n,l=i[14](i[21].label)+"",r,a,o,c,g,d;function h(){return i[15](i[21])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),o=z(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[le(t,"click",At(AC)),le(e,"click",h)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),m&257&&a!==(a=i[8](i[21]))&&f(t,"href",a),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,$e(d)}}}function Bg(i){let e=i[21].position==="top"||!["top","bottom"].includes(i[21].position),t,n=e&&Ug(i);return{c(){n&&n.c(),t=ve()},m(l,r){n&&n.m(l,r),T(l,t,r)},p(l,r){r&1&&(e=l[21].position==="top"||!["top","bottom"].includes(l[21].position)),e?n?n.p(l,r):(n=Ug(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&I(t)}}}function Hg(i){let e;return{c(){e=C("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){T(t,e,n)},d(t){t&&I(e)}}}function Wh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=zh(Oh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=me()},m(l,r){for(let s=0;s<n.length;s+=1)n[s].m(l,r);T(l,e,r)},p(l,r){if(r&9150){t=l[3];let s;for(s=0;s<t.length;s+=1){const o=Oh(l,t,s);n[s]?n[s].p(o,r):(n[s]=zh(o),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){ot(n,l),l&&I(e)}}}function SC(i){return{c:ze,m:ze,p:ze,d:ze}}function CC(i){let e,t,n,l,r;function s(d,h){return d[2]?PC:yC}let o=s(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=C("li"),c.c(),n=z(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(d,h){T(d,e,h),c.m(e,null),T(d,n,h),l||(r=le(e,"click",g),l=!0)},p(d,h){i=d,o===(o=s(i))&&c?c.p(i,h):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),h&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(d){d&&I(e),c.d(),d&&I(n),l=!1,r()}}}function yC(i){let e,t,n=i[26]+"",l,r,s,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ie(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",s="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(d,h){T(d,e,h),w(e,t),w(t,l),c||(g=le(e,"click",i[16]),c=!0)},p(d,h){h&138&&n!==(n=d[26]+"")&&Te(l,n),h&264&&r!==(r=d[8](d[21]))&&f(e,"href",r),h&154&&s!==(s="fd-menu__link "+(d[26]===d[4]?"is-selected":""))&&f(e,"class",s),h&138&&o!==(o=d[26])&&f(e,"title",o)},d(d){d&&I(e),c=!1,g()}}}function PC(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new pr(!1),n=me(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function NC(i){return{c:ze,m:ze,p:ze,d:ze}}function zh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:NC,then:CC,catch:SC,value:26};return ea(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=me(),n.block.c()},m(l,r){T(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&ea(t,n)||K_(n,i,r)},d(l){l&&I(e),n.block.d(l),n.token=null,n=null}}}function Gh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Kh(Vh(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){T(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&21249){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=Vh(l,t,s);n[s]?n[s].p(o,r):(n[s]=Kh(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&I(e),ot(n,l)}}}function qh(i){let e,t,n,l=i[14](i[21].label)+"",r,s,o,c,g,d;function h(){return i[19](i[21])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),o=z(),f(n,"class","fd-menu__title"),f(t,"href",s=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[le(t,"click",i[18]),le(e,"click",h)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),m&257&&s!==(s=i[8](i[21]))&&f(t,"href",s),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,$e(d)}}}function Kh(i){let e,t=i[21].position==="bottom"&&qh(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[21].position==="bottom"?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&&I(e)}}}function IC(i){let e,t,n,l,r,s,o=i[0]&&i[0].length&&Fh(i),c=i[3]&&i[3].length===0&&i[11]&&Hh(),g=i[3]&&i[3].length&&Wh(i),d=i[0]&&i[0].length&&Gh(i);return{c(){e=C("nav"),o&&o.c(),t=z(),n=C("ul"),c&&c.c(),l=z(),g&&g.c(),r=z(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",s="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(h,p){T(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=Fh(h),o.c(),o.m(e,t)):o&&(o.d(1),o=null),h[3]&&h[3].length===0&&h[11]?c||(c=Hh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),h[3]&&h[3].length?g?g.p(h,p):(g=Wh(h),g.c(),g.m(n,null)):g&&(g.d(1),g=null),h[0]&&h[0].length?d?d.p(h,p):(d=Gh(h),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&s!==(s="fd-menu lui-ctx-switch-nav "+(h[6]?"fd-menu--mobile":"")+" svelte-qht2wo")&&f(e,"class",s)},i:ze,o:ze,d(h){h&&I(e),o&&o.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}const TC=()=>{};function LC(i,e,t){let n,l=ze,r=()=>(l(),l=Mo(k,W=>t(14,n=W)),k);i.$$.on_destroy.push(()=>l());let{actions:s=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:d}=e,{selectedOption:h}=e,{isMobile:p}=e,{getNodeName:m}=e,{getRouteLink:b}=e,{getTestId:v}=e,{getTranslation:k}=e;r();let{isContextSwitcherDropdownShown:y}=e;const P=zt();function N(W){P("onActionClick",{node:W})}function A(W,K){P("goToOption",{option:W,selectedOption:K})}const E=W=>N(W),V=W=>{ke.handleNavAnchorClickedWithoutMetaKey(W)},D=W=>A(W,h),F=W=>{ke.handleNavAnchorClickedWithoutMetaKey(W)},M=W=>N(W);return i.$$set=W=>{"actions"in W&&t(0,s=W.actions),"config"in W&&t(1,o=W.config),"customOptionsRenderer"in W&&t(2,c=W.customOptionsRenderer),"options"in W&&t(3,g=W.options),"selectedLabel"in W&&t(4,d=W.selectedLabel),"selectedOption"in W&&t(5,h=W.selectedOption),"isMobile"in W&&t(6,p=W.isMobile),"getNodeName"in W&&t(7,m=W.getNodeName),"getRouteLink"in W&&t(8,b=W.getRouteLink),"getTestId"in W&&t(9,v=W.getTestId),"getTranslation"in W&&r(t(10,k=W.getTranslation)),"isContextSwitcherDropdownShown"in W&&t(11,y=W.isContextSwitcherDropdownShown)},[s,o,c,g,d,h,p,m,b,v,k,y,N,A,n,E,V,D,F,M]}class cp extends Vt{constructor(e){super(),Dt(this,e,LC,IC,Rt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function Jh(i){let e,t,n,l=!i[9]&&jh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Yh(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=me()},m(s,o){l&&l.m(s,o),T(s,e,o),r&&r.m(s,o),T(s,t,o),n=!0},p(s,o){s[9]?l&&(be(),B(l,1,1,()=>{l=null}),ve()):l?(l.p(s,o),o[0]&512&&R(l,1)):(l=jh(s),l.c(),R(l,1),l.m(e.parentNode,e)),s[9]&&s[8].contextSwitcherPopover&&s[15]?r?(r.p(s,o),o[0]&33536&&R(r,1)):(r=Yh(s),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),B(r,1,1,()=>{r=null}),ve())},i(s){n||(R(l),R(r),n=!0)},o(s){B(l),B(r),n=!1},d(s){l&&l.d(s),s&&I(e),r&&r.d(s),s&&I(t)}}}function jh(i){let e,t,n,l,r,s,o,c,g,d;function h(b,v){return b[10]&&b[2]!==b[5].defaultLabel?RC:AC}let p=h(i),m=p(i);return s=new cp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),s.$on("onActionClick",i[11]),s.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),m.c(),l=z(),r=C("div"),Fe(s.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(b,v){T(b,e,v),w(e,t),w(t,n),m.m(n,null),w(t,l),w(t,r),Oe(s,r,null),c=!0,g||(d=le(n,"click",Mt(WC)),g=!0)},p(b,v){p===(p=h(b))&&m?m.p(b,v):(m.d(1),m=p(b),m&&(m.c(),m.m(n,null)));const k={};v[0]&1&&(k.actions=b[0]),v[0]&32&&(k.config=b[5]),v[0]&64&&(k.customOptionsRenderer=b[6]),v[0]&2&&(k.options=b[1]),v[0]&16&&(k.selectedLabel=b[4]),v[0]&4&&(k.selectedOption=b[2]),v[0]&512&&(k.isMobile=b[9]),v[0]&16384&&(k.isContextSwitcherDropdownShown=b[14]),s.$set(k),(!c||v[0]&256&&o!==(o=!b[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(b){c||(R(s.$$.fragment,b),c=!0)},o(b){B(s.$$.fragment,b),c=!1},d(b){b&&I(e),m.d(),Me(s),g=!1,d()}}}function AC(i){let e,t,n,l,r,s;function o(d,h){return d[2]&&d[7]?DC:EC}let c=o(i),g=c(i);return{c(){e=C("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-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,h){T(d,e,h),g.m(e,null),r||(s=le(e,"click",i[30]),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&&I(e),g.d(),r=!1,s()}}}function RC(i){let e,t,n,l,r,s,o;function c(h,p){return h[2]&&h[7]?FC:MC}let g=c(i),d=g(i);return{c(){e=C("a"),d.c(),f(e,"href",t=i[2]?i[20](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-11j1get"),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){T(h,e,p),d.m(e,null),s||(o=le(e,"click",At(i[29])),s=!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[20](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&&I(e),d.d(),s=!1,o()}}}function EC(i){let e,t;function n(s,o){return s[4]?VC:OC}let l=n(i),r=l(i);return{c(){r.c(),e=z(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),T(s,e,o),T(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&I(e),s&&I(t)}}}function DC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new pr(!1),n=me(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function VC(i){let e;return{c(){e=Ie(i[4])},m(t,n){T(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&I(e)}}}function OC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){T(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&I(t)}}}function MC(i){let e,t;function n(s,o){return s[4]?UC:BC}let l=n(i),r=l(i);return{c(){r.c(),e=z(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(s,o){r.m(s,o),T(s,e,o),T(s,t,o)},p(s,o){l===(l=n(s))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(e.parentNode,e)))},d(s){r.d(s),s&&I(e),s&&I(t)}}}function FC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new pr(!1),n=me(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function UC(i){let e;return{c(){e=Ie(i[4])},m(t,n){T(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&I(e)}}}function BC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){T(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&I(t)}}}function Yh(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v,k,y,P,N=!i[4]&&Qh(i),A=i[4]&&Zh(i);return d=new cp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("h2"),N&&N.c(),o=z(),A&&A.c(),c=z(),g=C("div"),Fe(d.$$.fragment),h=z(),p=C("footer"),m=C("div"),b=C("div"),v=C("button"),v.textContent="Cancel",f(s,"class","fd-title fd-title--h5"),f(s,"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(b,"class","fd-bar__element"),f(m,"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(E,V){T(E,e,V),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),N&&N.m(s,null),w(s,o),A&&A.m(s,null),w(t,c),w(t,g),Oe(d,g,null),w(t,h),w(t,p),w(p,m),w(m,b),w(b,v),k=!0,y||(P=[le(v,"click",i[13]),le(e,"click",Mt(zC))],y=!0)},p(E,V){E[4]?N&&(N.d(1),N=null):N?N.p(E,V):(N=Qh(E),N.c(),N.m(s,o)),E[4]?A?A.p(E,V):(A=Zh(E),A.c(),A.m(s,null)):A&&(A.d(1),A=null);const D={};V[0]&1&&(D.actions=E[0]),V[0]&32&&(D.config=E[5]),V[0]&64&&(D.customOptionsRenderer=E[6]),V[0]&2&&(D.options=E[1]),V[0]&16&&(D.selectedLabel=E[4]),V[0]&4&&(D.selectedOption=E[2]),V[0]&512&&(D.isMobile=E[9]),V[0]&16384&&(D.isContextSwitcherDropdownShown=E[14]),d.$set(D)},i(E){k||(R(d.$$.fragment,E),k=!0)},o(E){B(d.$$.fragment,E),k=!1},d(E){E&&I(e),N&&N.d(),A&&A.d(),Me(d),y=!1,$e(P)}}}function Qh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){T(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&I(t)}}}function Zh(i){let e;return{c(){e=Ie(i[4])},m(t,n){T(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&I(e)}}}function HC(i){let e,t,n=i[3]&&Jh(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Jh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}const WC=()=>{},zC=()=>{};function GC(i,e,t){let n,l;const r=zt();let{contextSwitcherEnabled:s=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:d=[]}=e,{options:h=null}=e,p=!0,{selectedOption:m}=e,{fallbackLabelResolver:b=null}=e,{pathParams:v}=e,{customOptionsRenderer:k}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:N=!1}=e,{defaultLabel:A}=e,E,V=pt("getUnsavedChangesModalPromise"),D=pt("store"),F=pt("getTranslation");Ci(i,F,re=>t(16,l=re));let M=!1,{addNavHrefForAnchor:W}=e,K;Jt(async()=>{dn.doOnStoreChange(D,async()=>{const re=se.getConfigValue("navigation.contextSwitcher");if(t(3,s=!!re),!!s&&(t(6,k=ae.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=ae.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,g=re),t(1,h=void 0),re)){t(28,p=re.alwaysShowDropdown!==!1),t(0,d=await se.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ve=it.getCurrentPath();t(21,b=re.fallbackLabelResolver),pn.resetFallbackLabelCache(),re.lazyloadOptions||await G(),pn.isContextSwitcherDetailsView(Ve,re.parentNodePath)&&await J(Ve)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(re=>J(re)),Mn.addEventListener("message",re=>{Re.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,h=null),G())}),t(22,A=g.defaultLabel)}),Kn(()=>{M!==N&&(M=N,G()),t(14,K=o.contextSwitcherPopover||!1)});function Q(re,Ve,$){return re?Promise.resolve(re):pn.getFallbackLabel(Ve,$)}function ce(re){return re.testId?re.testId:ke.prepareForTests(re.pathSegment,re.label)}function Ce(re){return we.getNodeHref(re,v)}async function G(){t(1,h=await pn.fetchOptions(h));const re=g||{},Ve=re.parentNodePath,$=re.fallbackLabelResolver,j=it.getCurrentPath();t(2,m=await pn.getSelectedOption(j,h,Ve)),t(4,c=await pn.getSelectedLabel(j,h,Ve,$)),await pn.getSelectedNode(j,h,Ve),E=re.preserveSubPathOnSwitch}async function J(re){const Ve=g||{},$=Ve.parentNodePath,j=Ve.fallbackLabelResolver;t(2,m=await pn.getSelectedOption(re,h,$)),t(4,c=await pn.getSelectedLabel(re,h,$,j)),await pn.getSelectedNode(re,h,$)}async function fe(re){let Ve=re.detail.node;Ve.clickHandler&&!await Ve.clickHandler(Ve)||(setTimeout(()=>{te(Ve.link)}),P&&r("toggleDropdownState"))}function te(re){V().then(()=>{it.navigateTo(re)},()=>{})}function x(re){let Ve=re.detail.option,$=re.detail.selectedOption;V().then(()=>{E&&$?it.navigateTo(pn.getNodePathFromCurrentPath(Ve,$)):it.navigateTo(Ve.link),P&&r("toggleDropdownState")},()=>{})}function Le(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&G()}const ie=()=>{n&&Le()},Ee=()=>{n&&Le()};return i.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,s=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,m=re.selectedOption),"fallbackLabelResolver"in re&&t(21,b=re.fallbackLabelResolver),"pathParams"in re&&t(23,v=re.pathParams),"customOptionsRenderer"in re&&t(6,k=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(24,N=re.contextSwitcherToggle),"defaultLabel"in re&&t(22,A=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,W=re.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&268435463&&t(15,n=p||d&&d.length>0||h&&h.length>1||!m)},[d,h,m,s,c,g,k,y,o,P,W,fe,x,Le,K,n,l,F,Q,ce,Ce,b,A,v,N,G,J,te,p,ie,Ee]}class dp extends Vt{constructor(e){super(),Dt(this,e,GC,HC,Rt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:21,pathParams:23,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:24,defaultLabel:22,addNavHrefForAnchor:10,fetchOptions:25,setSelectedContext:26,onActionClick:11,goToPath:27,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[25]}get setSelectedContext(){return this.$$.ctx[26]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[27]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:qC}=cl;function Xh(i,e,t){const n=i.slice();return n[22]=e[t],n}function $h(i){let e,t,n,l=!i[2]&&xh(i),r=i[2]&&i[3].productSwitcherPopover&&lg(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=me()},m(s,o){l&&l.m(s,o),T(s,e,o),r&&r.m(s,o),T(s,t,o),n=!0},p(s,o){s[2]?l&&(l.d(1),l=null):l?l.p(s,o):(l=xh(s),l.c(),l.m(e.parentNode,e)),s[2]&&s[3].productSwitcherPopover?r?(r.p(s,o),o&12&&R(r,1)):(r=lg(s),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),B(r,1,1,()=>{r=null}),ve())},i(s){n||(R(r),n=!0)},o(s){B(r),n=!1},d(s){l&&l.d(s),s&&I(e),r&&r.d(s),s&&I(t)}}}function xh(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v,k,y;function P(D,F){return F&2&&(s=null),s==null&&(s=!!D[11](D[1])),s?JC:KC}let N=P(i,-1),A=N(i),E=i[0],V=[];for(let D=0;D<E.length;D+=1)V[D]=ig(Xh(i,E,D));return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),A.c(),d=z(),h=C("div"),p=C("div"),m=C("ul");for(let D=0;D<V.length;D+=1)V[D].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(m,"class","fd-product-switch__list"),f(p,"class",b=ii(i[9])+" svelte-1e1qi56"),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(D,F){T(D,e,F),w(e,t),w(t,n),w(n,l),w(l,r),A.m(r,null),w(n,d),w(n,h),w(h,p),w(p,m);for(let M=0;M<V.length;M+=1)V[M].m(m,null);k||(y=[le(r,"click",Mt(i[7])),le(l,"click",Mt(ey))],k=!0)},p(D,F){if(N===(N=P(D,F))&&A?A.p(D,F):(A.d(1),A=N(D),A&&(A.c(),A.m(r,null))),F&8&&o!==(o=D[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),F&2&&c!==(c=D[1].label)&&f(r,"title",c),F&2&&g!==(g=D[14](D[1]))&&f(r,"data-testid",g),F&64561){E=D[0];let M;for(M=0;M<E.length;M+=1){const W=Xh(D,E,M);V[M]?V[M].p(W,F):(V[M]=ig(W),V[M].c(),V[M].m(m,null))}for(;M<V.length;M+=1)V[M].d(1);V.length=E.length}F&512&&b!==(b=ii(D[9])+" svelte-1e1qi56")&&f(p,"class",b),F&8&&v!==(v=!D[3].productSwitcherPopover)&&f(h,"aria-hidden",v)},d(D){D&&I(e),A.d(),ot(V,D),k=!1,$e(y)}}}function KC(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&2&&!Je(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function JC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){T(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&I(e)}}}function eg(i){let e,t,n,l,r,s;function o(h,p){return h[4]?YC:jC}let c=o(i),g=c(i);function d(){return i[17](i[22])}return{c(){e=C("li"),g.c(),t=z(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(h,p){T(h,e,p),g.m(e,null),w(e,t),r||(s=le(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&&I(e),g.d(),r=!1,s()}}}function jC(i){let e,t,n,l,r,s=i[12](i[22])+"",o,c,g=i[13](i[22]);function d(b,v){return v&1&&(t=null),t==null&&(t=!!b[11](b[22])),t?ZC:QC}let h=d(i,-1),p=h(i),m=g&&tg(i);return{c(){e=C("div"),p.c(),n=z(),l=C("div"),r=C("div"),o=Ie(s),c=z(),m&&m.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(b,v){T(b,e,v),p.m(e,null),T(b,n,v),T(b,l,v),w(l,r),w(r,o),w(l,c),m&&m.m(l,null)},p(b,v){h===(h=d(b,v))&&p?p.p(b,v):(p.d(1),p=h(b),p&&(p.c(),p.m(e,null))),v&1&&s!==(s=b[12](b[22])+"")&&Te(o,s),v&1&&(g=b[13](b[22])),g?m?m.p(b,v):(m=tg(b),m.c(),m.m(l,null)):m&&(m.d(1),m=null)},d(b){b&&I(e),p.d(),b&&I(n),b&&I(l),m&&m.d()}}}function YC(i){let e,t,n,l,r,s,o=i[12](i[22])+"",c,g,d=i[13](i[22]),h,p,m;function b(P,N){return N&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?$C:XC}let v=b(i,-1),k=v(i),y=d&&ng(i);return{c(){e=C("a"),t=C("div"),k.c(),l=z(),r=C("div"),s=C("div"),c=Ie(o),g=z(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(s,"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,N){T(P,e,N),w(e,t),k.m(t,null),w(e,l),w(e,r),w(r,s),w(s,c),w(r,g),y&&y.m(r,null),p||(m=le(e,"click",i[16]),p=!0)},p(P,N){v===(v=b(P,N))&&k?k.p(P,N):(k.d(1),k=v(P),k&&(k.c(),k.m(t,null))),N&1&&o!==(o=P[12](P[22])+"")&&Te(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=ng(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),N&1&&h!==(h=P[15](P[22]))&&f(e,"href",h)},d(P){P&&I(e),k.d(),y&&y.d(),p=!1,m()}}}function QC(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function ZC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&I(e)}}}function tg(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&I(e)}}}function XC(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function $C(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&I(e)}}}function ng(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&I(e)}}}function ig(i){let e,t=i[22].label&&eg(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=eg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function lg(i){let e,t;return e=new up({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function xC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,s=e&&$h(i);return{c(){s&&s.c(),t=me()},m(o,c){s&&s.m(o,c),T(o,t,c),n=!0,l||(r=le(qC,"resize",sa),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?s?(s.p(o,c),c&1&&R(s,1)):(s=$h(o),s.c(),R(s,1),s.m(t.parentNode,t)):s&&(be(),B(s,1,1,()=>{s=null}),ve())},i(o){n||(R(s),n=!0)},o(o){B(s),n=!1},d(o){s&&s.d(o),o&&I(t),l=!1,r()}}}function sa(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const ey=()=>{};function ty(i,e,t){const n=zt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:s}=e,{dropDownStates:o}=e,c=pt("store"),g=pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:h}=e;Jt(async()=>{dn.doOnStoreChange(c,async()=>{t(1,s=ke.getProductSwitcherConfig()),s&&(t(0,l=await se.getConfigValueAsync("navigation.productSwitcher.items")),N()),sa()},["navigation.productSwitcher"])});function p(F){g().then(()=>{it.navigateToLink(F)},()=>{}),b()}function m(F){p(F.detail)}function b(){n("toggleDropdownState")}function v(F){return ke.renderIconClassName(F)}function k(F){return ke.isOpenUIiconName(F.icon)}function y(F){return bt.getTranslation(F.label)}function P(F){return bt.getTranslation(F.subTitle)}function N(){ke.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function A(F){return F.testId?F.testId:ke.prepareForTests(F.label)}function E(F){return we.getNodeHref(F)}const V=F=>{ke.handleNavAnchorClickedWithoutMetaKey(F)},D=F=>p(F);return i.$$set=F=>{"productSwitcherItems"in F&&t(0,l=F.productSwitcherItems),"isMobile"in F&&t(2,r=F.isMobile),"config"in F&&t(1,s=F.config),"dropDownStates"in F&&t(3,o=F.dropDownStates),"addNavHrefForAnchor"in F&&t(4,h=F.addNavHrefForAnchor)},[l,s,r,o,h,p,m,b,sa,d,v,k,y,P,A,E,V,D]}class hp extends Vt{constructor(e){super(),Dt(this,e,ty,xC,Rt,{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 sa}}function rg(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ny(i){let e,t,n;return{c(){e=C("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-17k2cvd"),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){T(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:ze,d(l){l&&I(e),i[19](null),t=!1,n()}}}function iy(i){let e;return{c(){e=C("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-17k2cvd"),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){T(t,e,n),e.focus()},p:ze,d(t){t&&I(e)}}}function ly(i){let e;return{c(){e=C("div")},m(t,n){T(t,e,n),i[23](e)},p:ze,d(t){t&&I(e),i[23](null)}}}function ry(i){let e,t,n,l=i[5]&&sg(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu svelte-17k2cvd"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-17k2cvd"),f(e,"aria-hidden",n=!i[0])},m(r,s){T(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[5]?l?l.p(r,s):(l=sg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&I(e),l&&l.d()}}}function sg(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=ag(rg(i,t,l));return{c(){e=C("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){T(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let s;for(s=0;s<t.length;s+=1){const o=rg(l,t,s);n[s]?n[s].p(o,r):(n[s]=ag(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&I(e),ot(n,l),i[22](null)}}}function sy(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new pr(!1),n=me(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function ay(i){let e,t,n,l=i[31].label+"",r,s,o,c=i[31].description+"",g,d,h;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ie(l),s=z(),o=C("div"),g=Ie(c),f(n,"class","fd-product-switch__title svelte-17k2cvd"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-17k2cvd")},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),d||(h=le(e,"click",At(uy)),d=!0)},p(p,m){m[0]&32&&l!==(l=p[31].label+"")&&Te(r,l),m[0]&32&&c!==(c=p[31].description+"")&&Te(g,c)},d(p){p&&I(e),d=!1,h()}}}function ag(i){let e,t,n,l;function r(d,h){return d[9]?sy:ay}let s=r(i),o=s(i);function c(...d){return i[20](i[31],...d)}function g(...d){return i[21](i[31],...d)}return{c(){e=C("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-17k2cvd"),f(e,"tabindex","0")},m(d,h){T(d,e,h),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(d,h){i=d,s===(s=r(i))&&o?o.p(i,h):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(d){d&&I(e),o.d(),n=!1,$e(l)}}}function oy(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v,k,y;function P(F,M){return F[7]&&F[7].disableInputHandlers?iy:ny}let N=P(i),A=N(i);function E(F,M){return F[8]?ly:ry}let V=E(i),D=V(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),A.c(),r=z(),s=C("div"),o=z(),D.c(),d=z(),h=C("div"),p=C("div"),m=C("button"),b=C("i"),f(s,"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-17k2cvd"),f(n,"aria-hidden",c=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-17k2cvd"),f(e,"class",g="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-17k2cvd"),f(b,"class","sap-icon sap-icon--search"),f(m,"class","fd-button fd-button--transparent fd-shellbar__button"),f(m,"aria-haspopup","true"),f(m,"aria-expanded",v=!i[4]),f(m,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(F,M){T(F,e,M),w(e,t),w(t,n),w(n,l),A.m(l,null),w(l,r),w(l,s),w(n,o),D.m(n,null),T(F,d,M),T(F,h,M),w(h,p),w(p,m),w(m,b),k||(y=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Mt(fy)),le(m,"click",i[6]),le(p,"click",Mt(cy))],k=!0)},p(F,M){N===(N=P(F))&&A?A.p(F,M):(A.d(1),A=N(F),A&&(A.c(),A.m(l,r))),V===(V=E(F))&&D?D.p(F,M):(D.d(1),D=V(F),D&&(D.c(),D.m(n,null))),M[0]&16&&c!==(c=!F[4])&&f(n,"aria-hidden",c),M[0]&16&&g!==(g="fd-shellbar__action "+(F[4]?"luigi-search-shell__mobile":"")+" svelte-17k2cvd")&&f(e,"class",g),M[0]&16&&v!==(v=!F[4])&&f(m,"aria-expanded",v)},i:ze,o:ze,d(F){F&&I(e),A.d(),D.d(),F&&I(d),F&&I(h),k=!1,$e(y)}}}const uy=()=>{},fy=()=>{},cy=()=>{};function dy(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:d}=e;const h=zt(),p={fireItemSelected:te=>{m.searchProvider.onSearchResultItemSelected(te)}};let m={},b,v;Jt(async()=>{t(7,m=d);let te=o;const x=y(m.searchProvider);x&&(te.placeholder=x),k()}),Kn(()=>{t(7,m=d),k()});function k(){m.searchProvider&&(t(8,b=ae.isFunction(m.searchProvider.customSearchResultRenderer)),t(9,v=ae.isFunction(m.searchProvider.customSearchResultItemRenderer)))}function y(te){if(!te||!te.inputPlaceholder)return;const x=bt.getCurrentLocale();if(ae.isFunction(te.inputPlaceholder))return te.inputPlaceholder();if(typeof te.inputPlaceholder=="string"){const Le=bt.getTranslation(te.inputPlaceholder);return Le&&Le.trim().length>0?Le:te.inputPlaceholder}if(typeof te.inputPlaceholder=="object")return te.inputPlaceholder[x]}function P(te,x,Le){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(te,x.children[Le],p)}),""}function N(){h("closeSearchResult")}function A({keyCode:te}){m&&m.searchProvider?ae.isFunction(m.searchProvider.onEnter)&&te===Si?m.searchProvider.onEnter():ae.isFunction(m.searchProvider.onEscape)&&te===ki?m.searchProvider.onEscape():te===zi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ae.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function E(te){let x=g.children;if(x)for(let Le=0;Le<x.length;Le++){let{childNodes:ie,nextSibling:Ee,previousSibling:re}=x[Le],Ve;if(ie[0].getAttribute("aria-selected")==="true"){te===zi&&(Ve=Ee!==null?Ee:x[0]),te===Fl&&(Ve=re!==null?re:x[x.length-1]),ie[0].setAttribute("aria-selected","false"),Ve.childNodes[0].setAttribute("aria-selected","true"),Ve.focus();break}}}function V(){let te=g.children;if(te)for(let x=0;x<te.length;x++){let Le=te[x];Le.childNodes[0].getAttribute("aria-selected")==="true"&&Le.childNodes[0].setAttribute("aria-selected","false")}}function D(te){m&&ae.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(te):ae.isFunction(m.searchProvider.onEscape)&&event.keyCode===ki&&m.searchProvider.onEscape()}function F(te,{keyCode:x}){x===Si&&m.searchProvider.onSearchResultItemSelected(te),x===Fl||x===zi?E(x):ae.isFunction(m.searchProvider.onEscape)&&x===ki&&(V(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function M(te){let x=te.pathObject;x.externalLink?it.navigateToLink(x):h("handleSearchNavigation",{node:x})}function W(){o&&o.focus()}function K(){if(n?t(0,r=!1):setTimeout(()=>{W()}),h("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&ae.isFunction(m.searchProvider.toggleSearch)){const te=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,te)}}const Q=te=>A(te);function ce(te){Ye[te?"unshift":"push"](()=>{o=te,t(1,o)})}const Ce=(te,x)=>D(te),G=(te,x)=>F(te,x);function J(te){Ye[te?"unshift":"push"](()=>{g=te,t(3,g)})}function fe(te){Ye[te?"unshift":"push"](()=>{c=te,t(2,c)})}return i.$$set=te=>{"isSearchFieldVisible"in te&&t(4,n=te.isSearchFieldVisible),"searchResult"in te&&t(5,l=te.searchResult),"displaySearchResult"in te&&t(0,r=te.displaySearchResult),"displayCustomSearchResult"in te&&t(15,s=te.displayCustomSearchResult),"inputElem"in te&&t(1,o=te.inputElem),"luigiCustomSearchRenderer__slot"in te&&t(2,c=te.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in te&&t(3,g=te.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in te&&t(16,d=te.globalSearchConfig)},[r,o,c,g,n,l,K,m,b,v,P,N,A,D,F,s,d,M,Q,ce,Ce,G,J,fe]}class hy extends Vt{constructor(e){super(),Dt(this,e,dy,oy,Rt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function og(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function gy(i){let e,t,n,l,r,s,o,c,g,d,h;return{c(){e=C("input"),t=z(),n=C("div"),l=C("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=z(),s=C("div"),o=C("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=z(),g=C("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-av5ckm"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-av5ckm"),f(g,"class","fd-shellbar__search-field-helper")},m(p,m){T(p,e,m),i[25](e),T(p,t,m),T(p,n,m),w(n,l),T(p,r,m),T(p,s,m),w(s,o),T(p,c,m),T(p,g,m),d||(h=[le(e,"keyup",i[24]),le(e,"input",i[26]),le(l,"click",i[18]),le(o,"click",i[16])],d=!0)},p:ze,d(p){p&&I(e),i[25](null),p&&I(t),p&&I(n),p&&I(r),p&&I(s),p&&I(c),p&&I(g),d=!1,$e(h)}}}function _y(i){let e;return{c(){e=C("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){T(t,e,n)},p:ze,d(t){t&&I(e)}}}function py(i){let e;return{c(){e=C("div")},m(t,n){T(t,e,n),i[30](e)},p:ze,d(t){t&&I(e),i[30](null)}}}function my(i){let e,t,n,l=i[4]&&ug(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-av5ckm"),f(e,"aria-hidden",n=!i[0])},m(r,s){T(r,e,s),w(e,t),l&&l.m(t,null)},p(r,s){r[4]?l?l.p(r,s):(l=ug(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),s[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&I(e),l&&l.d()}}}function ug(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=fg(og(i,t,l));return{c(){e=C("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){T(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null);i[29](e)},p(l,r){if(r[0]&1582104){t=l[4];let s;for(s=0;s<t.length;s+=1){const o=og(l,t,s);n[s]?n[s].p(o,r):(n[s]=fg(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&I(e),ot(n,l),i[29](null)}}}function by(i){let e,t=i[13](i[40],i[3],i[42])+"",n;return{c(){e=new pr(!1),n=me(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function vy(i){let e,t,n,l=i[40].label+"",r,s,o,c=i[40].description+"",g,d,h;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ie(l),s=z(),o=C("div"),g=Ie(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,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(t,s),w(t,o),w(o,g),d||(h=le(e,"click",At(ky)),d=!0)},p(p,m){m[0]&16&&l!==(l=p[40].label+"")&&Te(r,l),m[0]&16&&c!==(c=p[40].description+"")&&Te(g,c)},d(p){p&&I(e),d=!1,h()}}}function fg(i){let e,t,n,l;function r(d,h){return d[10]?by:vy}let s=r(i),o=s(i);function c(...d){return i[27](i[40],...d)}function g(...d){return i[28](i[40],...d)}return{c(){e=C("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-av5ckm"),f(e,"tabindex","0")},m(d,h){T(d,e,h),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(e,"keyup",g)],n=!0)},p(d,h){i=d,s===(s=r(i))&&o?o.p(i,h):(o.d(1),o=s(i),o&&(o.c(),o.m(e,t)))},d(d){d&&I(e),o.d(),n=!1,$e(l)}}}function cg(i){let e,t,n,l,r,s,o;return{c(){e=C("div"),t=C("div"),n=C("button"),l=C("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-av5ckm")},m(c,g){T(c,e,g),w(e,t),w(t,n),w(n,l),s||(o=[le(n,"click",i[6]),le(t,"click",Mt(Cy))],s=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&I(e),s=!1,$e(o)}}}function dg(i){let e,t,n=i[11](i[7])+"",l,r,s,o,c;return{c(){e=C("div"),t=C("button"),l=Ie(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-av5ckm"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",s="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-av5ckm")},m(g,d){T(g,e,d),w(e,t),w(t,l),o||(c=le(t,"click",Mt(i[31])),o=!0)},p(g,d){d[0]&2176&&n!==(n=g[11](g[7])+"")&&Te(l,n),d[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),d[0]&32&&s!==(s="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-av5ckm")&&f(e,"class",s)},d(g){g&&I(e),o=!1,c()}}}function wy(i){let e,t,n,l,r,s,o,c,g,d,h,p;function m(E,V){return E[8]&&E[8].disableInputHandlers?_y:gy}let b=m(i),v=b(i);function k(E,V){return E[9]?py:my}let y=k(i),P=y(i),N=!i[5]&&cg(i),A=i[5]&&dg(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),v.c(),r=z(),P.c(),c=z(),N&&N.c(),g=z(),A&&A.c(),d=me(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-av5ckm"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",s=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-av5ckm"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-av5ckm")},m(E,V){T(E,e,V),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),T(E,c,V),N&&N.m(E,V),T(E,g,V),A&&A.m(E,V),T(E,d,V),h||(p=[le(window,"click",i[14]),le(window,"blur",i[14]),le(n,"click",Mt(Sy))],h=!0)},p(E,V){b===(b=m(E))&&v?v.p(E,V):(v.d(1),v=b(E),v&&(v.c(),v.m(l,null))),y===(y=k(E))&&P?P.p(E,V):(P.d(1),P=y(E),P&&(P.c(),P.m(n,null))),V[0]&32&&s!==(s=!E[5])&&f(n,"aria-hidden",s),V[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(E[5]?"lui-global-search-mobile--active":"")+" svelte-av5ckm")&&f(e,"class",o),E[5]?N&&(N.d(1),N=null):N?N.p(E,V):(N=cg(E),N.c(),N.m(g.parentNode,g)),E[5]?A?A.p(E,V):(A=dg(E),A.c(),A.m(d.parentNode,d)):A&&(A.d(1),A=null)},i:ze,o:ze,d(E){E&&I(e),v.d(),P.d(),E&&I(c),N&&N.d(E),E&&I(g),A&&A.d(E),E&&I(d),h=!1,$e(p)}}}const ky=()=>{},Sy=()=>{},Cy=()=>{};function yy(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:s}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:d}=e;const h=zt(),p={fireItemSelected:j=>{v.searchProvider.onSearchResultItemSelected(j)}};let m=ul.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,v={},k,y,P=pt("getTranslation");Ci(i,P,j=>t(11,n=j)),Jt(async()=>{t(8,v=d),t(7,m=v.globalSearchCenteredCancelButton?v.globalSearchCenteredCancelButton:m);let j=o;const pe=A(v.searchProvider);pe&&(j.placeholder=pe),N(),qf.handleVisibilityGlobalSearch();const Ke=document.querySelector(".lui-global-search");Ke&&new ResizeObserver(he=>{qf.handleVisibilityGlobalSearch()}).observe(Ke)}),Kn(()=>{t(8,v=d),N(),M()});function N(){t(9,k=v.searchProvider&&ae.isFunction(v.searchProvider.customSearchResultRenderer)),t(10,y=v.searchProvider&&ae.isFunction(v.searchProvider.customSearchResultItemRenderer))}function A(j){if(!j||!j.inputPlaceholder)return;const pe=bt.getCurrentLocale();if(ae.isFunction(j.inputPlaceholder))return j.inputPlaceholder();if(typeof j.inputPlaceholder=="string"){const Ke=bt.getTranslation(j.inputPlaceholder);return Ke&&Ke.trim().length>0?Ke:j.inputPlaceholder}if(typeof j.inputPlaceholder=="object")return j.inputPlaceholder[pe]}function E(j,pe,Ke){return setTimeout(()=>{v.searchProvider.customSearchResultItemRenderer(j,pe.children[Ke],p)}),""}function V(){h("closeSearchResult")}function D({keyCode:j}){v?ae.isFunction(v.searchProvider.onEnter)&&j===Si?v.searchProvider.onEnter():ae.isFunction(v.searchProvider.onEscape)&&j===ki?v.searchProvider.onEscape():j===zi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):ae.isFunction(v.searchProvider.onInput)&&v.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){v&&ae.isFunction(v.searchProvider.onSearchBtnClick)&&v.searchProvider.onSearchBtnClick()}function M(){o&&o.value}function W(){t(1,o.value="",o),V()}function K(j){let pe=g.children;if(pe)for(let Ke=0;Ke<pe.length;Ke++){let{childNodes:Ue,nextSibling:he,previousSibling:Qe}=pe[Ke],xe;if(Ue[0].getAttribute("aria-selected")==="true"){j===zi&&(xe=he!==null?he:pe[0]),j===Fl&&(xe=Qe!==null?Qe:pe[pe.length-1]),Ue[0].setAttribute("aria-selected","false"),xe.childNodes[0].setAttribute("aria-selected","true"),xe.focus();break}}}function Q(){let j=g.children;if(j)for(let pe=0;pe<j.length;pe++){let Ke=j[pe];Ke.childNodes[0].getAttribute("aria-selected")==="true"&&Ke.childNodes[0].setAttribute("aria-selected","false")}}function ce(j){v&&ae.isFunction(v.searchProvider.onSearchResultItemSelected)?v.searchProvider.onSearchResultItemSelected(j):ae.isFunction(v.searchProvider.onEscape)&&event.keyCode===ki&&v.searchProvider.onEscape()}function Ce(j,{keyCode:pe}){pe===Si&&v.searchProvider.onSearchResultItemSelected(j),pe===Fl||pe===zi?K(pe):ae.isFunction(v.searchProvider.onEscape)&&pe===ki&&(Q(),setTimeout(()=>{o.focus()}),v.searchProvider.onEscape())}function G(j){let pe=j.pathObject;pe.externalLink?it.navigateToLink(pe):h("handleSearchNavigation",{node:pe})}function J(){o&&o.focus()}function fe(){if(b?t(0,r=!1):setTimeout(()=>{J()}),h("toggleSearch",{isSearchFieldVisible:b,inputElem:o,luigiCustomSearchRenderer__slot:c}),ae.isFunction(v.searchProvider.toggleSearch)){const j=b===void 0?!0:!b;v.searchProvider.toggleSearch(o,j)}}const te=j=>D(j);function x(j){Ye[j?"unshift":"push"](()=>{o=j,t(1,o)})}const Le=()=>M(),ie=(j,pe)=>ce(j),Ee=(j,pe)=>Ce(j,pe);function re(j){Ye[j?"unshift":"push"](()=>{g=j,t(3,g)})}function Ve(j){Ye[j?"unshift":"push"](()=>{c=j,t(2,c)})}const $=()=>fe();return i.$$set=j=>{"searchResult"in j&&t(4,l=j.searchResult),"displaySearchResult"in j&&t(0,r=j.displaySearchResult),"displayCustomSearchResult"in j&&t(21,s=j.displayCustomSearchResult),"inputElem"in j&&t(1,o=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(2,c=j.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in j&&t(3,g=j.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in j&&t(22,d=j.globalSearchConfig),"isSearchFieldVisible"in j&&t(5,b=j.isSearchFieldVisible)},[r,o,c,g,l,b,fe,m,v,k,y,n,P,E,V,D,F,M,W,ce,Ce,s,d,G,te,x,Le,ie,Ee,re,Ve,$]}class Py extends Vt{constructor(e){super(),Dt(this,e,yy,wy,Rt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:21,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:22,isSearchFieldVisible:5,onActionClick:23,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[23]}get toggleSearch(){return this.$$.ctx[6]}}function hg(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[1](s[0])),e?Iy:Ny}let l=n(i,-1),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function Ny(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon sap-icon"),Je(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function Iy(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){T(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&&I(e)}}}function gg(i){let e,t=i[3](i[0])+"",n,l,r,s;return r=new qn({props:{node:i[0]}}),{c(){e=C("span"),n=Ie(t),l=z(),Fe(r.$$.fragment)},m(o,c){T(o,e,c),w(e,n),w(e,l),Oe(r,e,null),s=!0},p(o,c){(!s||c&1)&&t!==(t=o[3](o[0])+"")&&Te(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){s||(R(r.$$.fragment,o),s=!0)},o(o){B(r.$$.fragment,o),s=!1},d(o){o&&I(e),Me(r)}}}function Ty(i){let e,t,n,l=i[0].icon&&hg(i),r=(!i[0].icon||i[0].showLabel)&&gg(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=me()},m(s,o){l&&l.m(s,o),T(s,e,o),r&&r.m(s,o),T(s,t,o),n=!0},p(s,[o]){s[0].icon?l?l.p(s,o):(l=hg(s),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!s[0].icon||s[0].showLabel?r?(r.p(s,o),o&1&&R(r,1)):(r=gg(s),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),B(r,1,1,()=>{r=null}),ve())},i(s){n||(R(r),n=!0)},o(s){B(r),n=!1},d(s){l&&l.d(s),s&&I(e),r&&r.d(s),s&&I(t)}}}function Ly(i,e,t){let{node:n}=e;function l(o){return ke.isOpenUIiconName(o.icon)}function r(o){return ke.renderIconClassName(o)}function s(o){return ke.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,s]}class Bo extends Vt{constructor(e){super(),Dt(this,e,Ly,Ty,Rt,{node:0})}}const{Boolean:gp,window:_g}=cl;function pg(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function mg(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function Ay(i){let e,t;return e=new op({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Ry(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&bg(i);function v(V){i[59](V)}let k={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(k.dropDownStates=i[6]),l=new YS({props:k}),Ye.push(()=>ct(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&vg(i),P=(!i[0]||i[1])&&wg(i),N=(i[18]||i[7]&&i[30].length>0)&&Sg(i),A=(i[0]||i[16])&&Ug(i),E=i[12]&&Bg(i);return{c(){e=C("div"),t=C("div"),b&&b.c(),n=z(),Fe(l.$$.fragment),s=z(),y&&y.c(),o=z(),c=C("div"),P&&P.c(),g=z(),N&&N.c(),d=z(),A&&A.c(),h=z(),E&&E.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(V,D){T(V,e,D),w(e,t),b&&b.m(t,null),w(t,n),Oe(l,t,null),w(e,s),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),N&&N.m(c,null),w(c,d),A&&A.m(c,null),w(c,h),E&&E.m(c,null),m=!0},p(V,D){V[3]==="simple"||V[3]==="simpleMobileOnly"||V[3]==="Fiori3"?b?b.p(V,D):(b=bg(V),b.c(),b.m(t,n)):b&&(b.d(1),b=null);const F={};D[0]&1073741824&&(F.pathData=V[30]),D[1]&1&&(F.pathParams=V[31]),D[0]&268435456&&(F.addNavHrefForAnchor=V[28]),!r&&D[0]&64&&(r=!0,F.dropDownStates=V[6],ft(()=>r=!1)),l.$set(F),V[18]&&V[19]?y?(y.p(V,D),D[0]&786432&&R(y,1)):(y=vg(V),y.c(),R(y,1),y.m(e,o)):y&&(be(),B(y,1,1,()=>{y=null}),ve()),!V[0]||V[1]?P?(P.p(V,D),D[0]&3&&R(P,1)):(P=wg(V),P.c(),R(P,1),P.m(c,g)):P&&(be(),B(P,1,1,()=>{P=null}),ve()),V[18]||V[7]&&V[30].length>0?N?(N.p(V,D),D[0]&1074004096&&R(N,1)):(N=Sg(V),N.c(),R(N,1),N.m(c,d)):N&&(be(),B(N,1,1,()=>{N=null}),ve()),V[0]||V[16]?A?(A.p(V,D),D[0]&65537&&R(A,1)):(A=Ug(V),A.c(),R(A,1),A.m(c,h)):A&&(be(),B(A,1,1,()=>{A=null}),ve()),V[12]?E?(E.p(V,D),D[0]&4096&&R(E,1)):(E=Bg(V),E.c(),R(E,1),E.m(c,null)):E&&(be(),B(E,1,1,()=>{E=null}),ve()),(!m||D[0]&134217732&&p!==(p="fd-shellbar "+(V[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(V[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(V){m||(R(l.$$.fragment,V),R(y),R(P),R(N),R(A),R(E),m=!0)},o(V){B(l.$$.fragment,V),B(y),B(P),B(N),B(A),B(E),m=!1},d(V){V&&I(e),b&&b.d(),Me(l),y&&y.d(),P&&P.d(),N&&N.d(),A&&A.d(),E&&E.d()}}}function bg(i){let e,t,n,l;return{c(){e=C("button"),t=C("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,s){T(r,e,s),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,s){s[0]&67108864&&f(e,"title",r[26])},d(r){r&&I(e),n=!1,l()}}}function vg(i){let e,t,n,l,r,s,o,c,g;function d(y){i[60](y)}function h(y){i[61](y)}function p(y){i[62](y)}function m(y){i[63](y)}function b(y){i[64](y)}function v(y){i[65](y)}let k={globalSearchConfig:i[18]};return i[20]!==void 0&&(k.isSearchFieldVisible=i[20]),i[25]!==void 0&&(k.searchResult=i[25]),i[23]!==void 0&&(k.displaySearchResult=i[23]),i[24]!==void 0&&(k.displayCustomSearchResult=i[24]),i[21]!==void 0&&(k.inputElem=i[21]),i[22]!==void 0&&(k.luigiCustomSearchRenderer__slot=i[22]),t=new Py({props:k}),Ye.push(()=>ct(t,"isSearchFieldVisible",d,i[20])),Ye.push(()=>ct(t,"searchResult",h,i[25])),Ye.push(()=>ct(t,"displaySearchResult",p,i[23])),Ye.push(()=>ct(t,"displayCustomSearchResult",m,i[24])),Ye.push(()=>ct(t,"inputElem",b,i[21])),Ye.push(()=>ct(t,"luigiCustomSearchRenderer__slot",v,i[22])),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=C("div"),Fe(t.$$.fragment),f(e,"class","lui-global-search")},m(y,P){T(y,e,P),Oe(t,e,null),g=!0},p(y,P){const N={};P[0]&262144&&(N.globalSearchConfig=y[18]),!n&&P[0]&1048576&&(n=!0,N.isSearchFieldVisible=y[20],ft(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,N.searchResult=y[25],ft(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,N.displaySearchResult=y[23],ft(()=>r=!1)),!s&&P[0]&16777216&&(s=!0,N.displayCustomSearchResult=y[24],ft(()=>s=!1)),!o&&P[0]&2097152&&(o=!0,N.inputElem=y[21],ft(()=>o=!1)),!c&&P[0]&4194304&&(c=!0,N.luigiCustomSearchRenderer__slot=y[22],ft(()=>c=!1)),t.$set(N)},i(y){g||(R(t.$$.fragment,y),g=!0)},o(y){B(t.$$.fragment,y),g=!1},d(y){y&&I(e),Me(t)}}}function wg(i){let e,t,n,l,r=i[18]&&!i[19]&&kg(i);function s(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new dp({props:o}),Ye.push(()=>ct(t,"dropDownStates",s,i[6])),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=z(),Fe(t.$$.fragment)},m(c,g){r&&r.m(c,g),T(c,e,g),Oe(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&R(r,1)):(r=kg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),B(r,1,1,()=>{r=null}),ve());const d={};g[0]&268435456&&(d.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,d.dropDownStates=c[6],ft(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){B(r),B(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&I(e),Me(t,c)}}}function kg(i){let e,t,n,l,r,s,o,c;function g(k){i[69](k)}function d(k){i[70](k)}function h(k){i[71](k)}function p(k){i[72](k)}function m(k){i[73](k)}function b(k){i[74](k)}let v={globalSearchConfig:i[18]};return i[20]!==void 0&&(v.isSearchFieldVisible=i[20]),i[25]!==void 0&&(v.searchResult=i[25]),i[23]!==void 0&&(v.displaySearchResult=i[23]),i[24]!==void 0&&(v.displayCustomSearchResult=i[24]),i[21]!==void 0&&(v.inputElem=i[21]),i[22]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[22]),e=new hy({props:v}),Ye.push(()=>ct(e,"isSearchFieldVisible",g,i[20])),Ye.push(()=>ct(e,"searchResult",d,i[25])),Ye.push(()=>ct(e,"displaySearchResult",h,i[23])),Ye.push(()=>ct(e,"displayCustomSearchResult",p,i[24])),Ye.push(()=>ct(e,"inputElem",m,i[21])),Ye.push(()=>ct(e,"luigiCustomSearchRenderer__slot",b,i[22])),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){Fe(e.$$.fragment)},m(k,y){Oe(e,k,y),c=!0},p(k,y){const P={};y[0]&262144&&(P.globalSearchConfig=k[18]),!t&&y[0]&1048576&&(t=!0,P.isSearchFieldVisible=k[20],ft(()=>t=!1)),!n&&y[0]&33554432&&(n=!0,P.searchResult=k[25],ft(()=>n=!1)),!l&&y[0]&8388608&&(l=!0,P.displaySearchResult=k[23],ft(()=>l=!1)),!r&&y[0]&16777216&&(r=!0,P.displayCustomSearchResult=k[24],ft(()=>r=!1)),!s&&y[0]&2097152&&(s=!0,P.inputElem=k[21],ft(()=>s=!1)),!o&&y[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=k[22],ft(()=>o=!1)),e.$set(P)},i(k){c||(R(e.$$.fragment,k),c=!0)},o(k){B(e.$$.fragment,k),c=!1},d(k){Me(e,k)}}}function Sg(i){let e,t,n,l=i[7]&&i[30].length>0&&Cg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Ig(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=me()},m(s,o){l&&l.m(s,o),T(s,e,o),r&&r.m(s,o),T(s,t,o),n=!0},p(s,o){s[7]&&s[30].length>0?l?(l.p(s,o),o[0]&1073741952&&R(l,1)):(l=Cg(s),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(be(),B(l,1,1,()=>{l=null}),ve()),s[9]-s[10]>0||s[12]||s[46]||s[18]?r?(r.p(s,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Ig(s),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),B(r,1,1,()=>{r=null}),ve())},i(s){n||(R(l),R(r),n=!0)},o(s){B(l),B(r),n=!1},d(s){l&&l.d(s),s&&I(e),r&&r.d(s),s&&I(t)}}}function Cg(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Ng(mg(i,n,s));const r=s=>B(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=me()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);T(s,e,o),t=!0},p(s,o){if(o[0]&268435936|o[1]&3932321){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=mg(s,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ng(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(s){l=l.filter(gp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(s){ot(l,s),s&&I(e)}}}function yg(i){let e,t,n,l;const r=[Dy,Ey],s=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=s[e]=r[e](i),{c(){t.c(),n=me()},m(c,g){s[e].m(c,g),T(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?s[e].p(c,g):(be(),B(s[d],1,1,()=>{s[d]=null}),ve(),t=s[e],t?t.p(c,g):(t=s[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){s[e].d(c),c&&I(n)}}}function Ey(i){let e,t,n,l,r;const s=[Oy,Vy],o=[];function c(g,d){return g[28]?0:1}return t=c(i),n=o[t]=s[t](i),{c(){e=C("div"),n.c(),l=z(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,d){T(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):(be(),B(o[h],1,1,()=>{o[h]=null}),ve(),n=o[t],n?n.p(g,d):(n=o[t]=s[t](g),n.c()),R(n,1),n.m(e,l))},i(g){r||(R(n),r=!0)},o(g){B(n),r=!1},d(g){g&&I(e),o[t].d()}}}function Dy(i){let e=i[111].visibleChildren.filter(Hg).length>0,t,n,l=e&&Pg(i);return{c(){l&&l.c(),t=me()},m(r,s){l&&l.m(r,s),T(r,t,s),n=!0},p(r,s){s[0]&128&&(e=r[111].visibleChildren.filter(Hg).length>0),e?l?(l.p(r,s),s[0]&128&&R(l,1)):(l=Pg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(be(),B(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){B(l),n=!1},d(r){l&&l.d(r),r&&I(t)}}}function Vy(i){let e,t,n,l,r,s,o,c,g,d,h;function p(v){i[84](v,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Bo({props:m}),Ye.push(()=>ct(t,"node",p,i[111])),r=new mn({props:{node:i[111]}});function b(){return i[85](i[111])}return{c(){e=C("button"),Fe(t.$$.fragment),l=z(),Fe(r.$$.fragment),f(e,"title",s=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(v,k){T(v,e,k),Oe(t,e,null),w(e,l),Oe(r,e,null),g=!0,d||(h=le(e,"click",b),d=!0)},p(v,k){i=v;const y={};!n&&k[0]&128&&(n=!0,y.node=i[111],ft(()=>n=!1)),t.$set(y);const P={};k[0]&128&&(P.node=i[111]),r.$set(P),(!g||k[0]&128&&s!==(s=i[52](i[111],i[49](i[111]))))&&f(e,"title",s),(!g||k[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||k[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(v){g||(R(t.$$.fragment,v),R(r.$$.fragment,v),g=!0)},o(v){B(t.$$.fragment,v),B(r.$$.fragment,v),g=!1},d(v){v&&I(e),Me(t),Me(r),d=!1,h()}}}function Oy(i){let e,t,n,l,r,s,o,c,g,d,h,p;function m(k){i[82](k,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Bo({props:b}),Ye.push(()=>ct(t,"node",m,i[111])),r=new mn({props:{node:i[111]}});function v(...k){return i[83](i[111],...k)}return{c(){e=C("a"),Fe(t.$$.fragment),l=z(),Fe(r.$$.fragment),f(e,"href",s=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(k,y){T(k,e,y),Oe(t,e,null),w(e,l),Oe(r,e,null),d=!0,h||(p=le(e,"click",v),h=!0)},p(k,y){i=k;const P={};!n&&y[0]&128&&(n=!0,P.node=i[111],ft(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!d||y[0]&128&&s!==(s=i[51](i[111])))&&f(e,"href",s),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!d||y[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(k){d||(R(t.$$.fragment,k),R(r.$$.fragment,k),d=!0)},o(k){B(t.$$.fragment,k),B(r.$$.fragment,k),d=!1},d(k){k&&I(e),Me(t),Me(r),h=!1,p()}}}function Pg(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v,k,y,P,N,A;function E(F){i[80](F,i[111],i[114],i[113])}let V={};i[111]!==void 0&&(V.node=i[111]),r=new Bo({props:V}),Ye.push(()=>ct(r,"node",E,i[111])),c=new mn({props:{node:i[111]}});function D(){return i[81](i[113])}return v=new fp({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("button"),Fe(r.$$.fragment),o=z(),Fe(c.$$.fragment),m=z(),b=C("div"),Fe(v.$$.fragment),y=z(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",h=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(b,"class","fd-popover__body fd-popover__body--right"),f(b,"aria-hidden",k=!i[6][`dropDownPopover-${i[113]}`]),f(b,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(F,M){T(F,e,M),w(e,t),w(t,n),w(n,l),Oe(r,l,null),w(l,o),Oe(c,l,null),w(t,m),w(t,b),Oe(v,b,null),w(e,y),P=!0,N||(A=[le(l,"click",D),le(n,"click",Mt(Zy))],N=!0)},p(F,M){i=F;const W={};!s&&M[0]&128&&(s=!0,W.node=i[111],ft(()=>s=!1)),r.$set(W);const K={};M[0]&128&&(K.node=i[111]),c.$set(K),(!P||M[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!P||M[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",d),(!P||M[0]&64&&h!==(h=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",h),(!P||M[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const Q={};M[0]&128&&(Q.node=i[111]),M[1]&1&&(Q.pathParams=i[31]),M[0]&268435456&&(Q.addNavHrefForAnchor=i[28]),v.$set(Q),(!P||M[0]&64&&k!==(k=!i[6][`dropDownPopover-${i[113]}`]))&&f(b,"aria-hidden",k)},i(F){P||(R(r.$$.fragment,F),R(c.$$.fragment,F),R(v.$$.fragment,F),P=!0)},o(F){B(r.$$.fragment,F),B(c.$$.fragment,F),B(v.$$.fragment,F),P=!1},d(F){F&&I(e),Me(r),Me(c),Me(v),N=!1,$e(A)}}}function Ng(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&yg(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=yg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ig(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v,k,y,P,N,A,E,V,D,F;g=new mn({props:{node:i[11],special:"true"}});let M=i[18]&&!i[19]&&Tg(i),W=i[46]&&(!i[0]||i[1])&&Lg(i),K=i[7]&&Ag(i),Q=i[12]&&Vg(i),ce=i[12]&&Og(i),Ce=i[14]&&Mg(i),G=(!i[0]||i[1])&&Fg(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),s=C("button"),o=C("i"),c=z(),Fe(g.$$.fragment),h=z(),p=C("div"),m=C("nav"),b=C("ul"),M&&M.c(),v=z(),W&&W.c(),k=z(),K&&K.c(),y=z(),Q&&Q.c(),N=z(),ce&&ce.c(),A=z(),Ce&&Ce.c(),E=z(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(s,"class","fd-shellbar__button fd-button fd-button--transparent"),f(s,"aria-controls","overflowPopover"),f(s,"aria-expanded",d=i[6].overflowPopover||!1),f(s,"aria-haspopup","true"),f(s,"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(b,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(J,fe){T(J,e,fe),w(e,t),w(t,n),w(n,l),w(l,r),w(r,s),w(s,o),w(s,c),Oe(g,s,null),w(n,h),w(n,p),w(p,m),w(m,b),M&&M.m(b,null),w(b,v),W&&W.m(b,null),w(b,k),K&&K.m(b,null),w(b,y),Q&&Q.m(b,null),w(n,N),ce&&ce.m(n,null),w(n,A),Ce&&Ce.m(n,null),w(n,E),G&&G.m(n,null),V=!0,D||(F=[le(s,"click",i[86]),le(l,"click",Mt(Xy))],D=!0)},p(J,fe){const te={};fe[0]&2048&&(te.node=J[11]),g.$set(te),(!V||fe[0]&64&&d!==(d=J[6].overflowPopover||!1))&&f(s,"aria-expanded",d),J[18]&&!J[19]?M?M.p(J,fe):(M=Tg(J),M.c(),M.m(b,v)):M&&(M.d(1),M=null),J[46]&&(!J[0]||J[1])?W?W.p(J,fe):(W=Lg(J),W.c(),W.m(b,k)):W&&(W.d(1),W=null),J[7]?K?(K.p(J,fe),fe[0]&128&&R(K,1)):(K=Ag(J),K.c(),R(K,1),K.m(b,y)):K&&(be(),B(K,1,1,()=>{K=null}),ve()),J[12]?Q?Q.p(J,fe):(Q=Vg(J),Q.c(),Q.m(b,null)):Q&&(Q.d(1),Q=null),(!V||fe[0]&64&&P!==(P=!J[6].overflowPopover))&&f(p,"aria-hidden",P),J[12]?ce?(ce.p(J,fe),fe[0]&4096&&R(ce,1)):(ce=Og(J),ce.c(),R(ce,1),ce.m(n,A)):ce&&(be(),B(ce,1,1,()=>{ce=null}),ve()),J[14]?Ce?(Ce.p(J,fe),fe[0]&16384&&R(Ce,1)):(Ce=Mg(J),Ce.c(),R(Ce,1),Ce.m(n,E)):Ce&&(be(),B(Ce,1,1,()=>{Ce=null}),ve()),!J[0]||J[1]?G?(G.p(J,fe),fe[0]&3&&R(G,1)):(G=Fg(J),G.c(),R(G,1),G.m(n,null)):G&&(be(),B(G,1,1,()=>{G=null}),ve())},i(J){V||(R(g.$$.fragment,J),R(K),R(ce),R(Ce),R(G),V=!0)},o(J){B(g.$$.fragment,J),B(K),B(ce),B(Ce),B(G),V=!1},d(J){J&&I(e),Me(g),M&&M.d(),W&&W.d(),K&&K.d(),Q&&Q.d(),ce&&ce.d(),Ce&&Ce.d(),G&&G.d(),D=!1,$e(F)}}}function Tg(i){let e,t,n,l;return{c(){e=C("li"),t=C("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></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,s){T(r,e,s),w(e,t),n||(l=le(t,"click",Mt(i[87])),n=!0)},p:ze,d(r){r&&I(e),n=!1,l()}}}function Lg(i){let e,t,n,l,r,s,o=(i[44]?i[44]:i[45])+"",c,g,d;return{c(){e=C("li"),t=C("a"),n=C("i"),r=z(),s=C("span"),c=Ie(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(s,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(h,p){T(h,e,p),w(e,t),w(t,n),w(t,r),w(t,s),w(s,c),g||(d=le(t,"click",Mt(i[33])),g=!0)},p(h,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(h[46].icon&&h[48](h[46])?h[47](h[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(h[44]?h[44]:h[45])+"")&&Te(c,o)},d(h){h&&I(e),g=!1,d()}}}function Ag(i){let e,t,n=i[7],l=[];for(let s=0;s<n.length;s+=1)l[s]=Dg(pg(i,n,s));const r=s=>B(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=me()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);T(s,e,o),t=!0},p(s,o){if(o[0]&416|o[1]&4128808){n=s[7];let c;for(c=0;c<n.length;c+=1){const g=pg(s,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Dg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(s){l=l.filter(gp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(s){ot(l,s),s&&I(e)}}}function Rg(i){let e,t,n,l,r;const s=[Fy,My],o=[];function c(g,d){return d[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(Qy).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=s[t](i)),{c(){n&&n.c(),l=me()},m(g,d){~t&&o[t].m(g,d),T(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?~t&&o[t].p(g,d):(n&&(be(),B(o[h],1,1,()=>{o[h]=null}),ve()),~t?(n=o[t],n?n.p(g,d):(n=o[t]=s[t](g),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(R(n),r=!0)},o(g){B(n),r=!1},d(g){~t&&o[t].d(g),g&&I(l)}}}function My(i){let e,t,n,l,r,s,o,c,g=i[49](i[111])+"",d,h,p,m,b,v,k;function y(E,V){return V[0]&128&&(l=null),l==null&&(l=!!E[48](E[111])),l?By:Uy}let P=y(i,[-1,-1,-1,-1]),N=P(i);s=new mn({props:{node:i[111]}});function A(){return i[89](i[111])}return{c(){e=C("li"),t=C("a"),n=C("span"),N.c(),r=z(),Fe(s.$$.fragment),o=z(),c=C("span"),d=Ie(g),m=z(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",h=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(E,V){T(E,e,V),w(e,t),w(t,n),N.m(n,null),w(n,r),Oe(s,n,null),w(t,o),w(t,c),w(c,d),w(e,m),b=!0,v||(k=le(t,"click",At(A)),v=!0)},p(E,V){i=E,P===(P=y(i,V))&&N?N.p(i,V):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const D={};V[0]&128&&(D.node=i[111]),s.$set(D),(!b||V[0]&128)&&g!==(g=i[49](i[111])+"")&&Te(d,g),(!b||V[0]&128&&h!==(h=i[51](i[111])))&&f(t,"href",h),(!b||V[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(E){b||(R(s.$$.fragment,E),b=!0)},o(E){B(s.$$.fragment,E),b=!1},d(E){E&&I(e),N.d(),Me(s),v=!1,k()}}}function Fy(i){let e,t,n,l=!i[48](i[111]),r,s,o,c,g,d=i[49](i[111])+"",h,p,m,b,v,k,y,P,N=l&&Eg(i);s=new mn({props:{node:i[111]}});function A(){return i[88](i[111])}return{c(){e=C("li"),t=C("a"),n=C("span"),N&&N.c(),r=z(),Fe(s.$$.fragment),c=z(),g=C("span"),h=Ie(d),v=z(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",b=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(E,V){T(E,e,V),w(e,t),w(t,n),N&&N.m(n,null),w(n,r),Oe(s,n,null),w(t,c),w(t,g),w(g,h),w(e,v),k=!0,y||(P=le(t,"click",At(A)),y=!0)},p(E,V){i=E,V[0]&128&&(l=!i[48](i[111])),l?N?N.p(i,V):(N=Eg(i),N.c(),N.m(n,r)):N&&(N.d(1),N=null);const D={};V[0]&128&&(D.node=i[111]),s.$set(D),(!k||V[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!k||V[0]&128)&&d!==(d=i[49](i[111])+"")&&Te(h,d),(!k||V[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!k||V[0]&384&&m!==(m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",m),(!k||V[0]&128&&b!==(b=i[50](i[111])+"-mobile"))&&f(t,"data-testid",b)},i(E){k||(R(s.$$.fragment,E),k=!0)},o(E){B(s.$$.fragment,E),k=!1},d(E){E&&I(e),N&&N.d(),Me(s),y=!1,P()}}}function Uy(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){T(l,e,r)},p(l,r){r[0]&128&&!Je(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function By(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){T(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&I(e)}}}function Eg(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){T(l,e,r)},p(l,r){r[0]&128&&!Je(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function Dg(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Rg(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Rg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Vg(i){let e,t,n,l,r,s=i[13].label+"",o,c,g;function d(m,b){return b[0]&8192&&(n=null),n==null&&(n=!!(m[48](m[13])||!m[13].icon)),n?Wy:Hy}let h=d(i,[-1,-1,-1,-1]),p=h(i);return{c(){e=C("li"),t=C("a"),p.c(),l=z(),r=C("span"),o=Ie(s),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(m,b){T(m,e,b),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=le(t,"click",Mt(i[32])),c=!0)},p(m,b){h===(h=d(m,b))&&p?p.p(m,b):(p.d(1),p=h(m),p&&(p.c(),p.m(t,l))),b[0]&8192&&s!==(s=m[13].label+"")&&Te(o,s)},d(m){m&&I(e),p.d(),c=!1,g()}}}function Hy(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,s){T(r,e,s),w(e,t)},p(r,s){s[0]&8192&&!Je(t.src,n=r[13].icon)&&f(t,"src",n),s[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Wy(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&I(e)}}}function Og(i){let e,t,n;function l(s){i[90](s)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new hp({props:r}),Ye.push(()=>ct(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[91]),{c(){Fe(e.$$.fragment)},m(s,o){Oe(e,s,o),n=!0},p(s,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],ft(()=>t=!1)),e.$set(c)},i(s){n||(R(e.$$.fragment,s),n=!0)},o(s){B(e.$$.fragment,s),n=!1},d(s){Me(e,s)}}}function Mg(i){let e,t;return e=new fp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function Fg(i){let e,t,n,l,r;function s(d){i[92](d)}function o(d){i[93](d)}function c(d){i[94](d)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new dp({props:g}),Ye.push(()=>ct(e,"dropDownStates",s,i[6])),Ye.push(()=>ct(e,"selectedLabel",o,i[44])),Ye.push(()=>ct(e,"defaultLabel",c,i[45])),e.$on("toggleDropdownState",i[95]),{c(){Fe(e.$$.fragment)},m(d,h){Oe(e,d,h),r=!0},p(d,h){const p={};h[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&h[0]&64&&(t=!0,p.dropDownStates=d[6],ft(()=>t=!1)),!n&&h[1]&8192&&(n=!0,p.selectedLabel=d[44],ft(()=>n=!1)),!l&&h[1]&16384&&(l=!0,p.defaultLabel=d[45],ft(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){B(e.$$.fragment,d),r=!1},d(d){Me(e,d)}}}function Ug(i){let e,t,n,l,r;const s=[Gy,zy],o=[];function c(g,d){return d[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&ae.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=s[n](i),{c(){e=C("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,d){T(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):(be(),B(o[h],1,1,()=>{o[h]=null}),ve(),l=o[n],l?l.p(g,d):(l=o[n]=s[n](g),l.c()),R(l,1),l.m(e,null))},i(g){r||(R(l),r=!0)},o(g){B(l),r=!1},d(g){g&&I(e),o[n].d()}}}function zy(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v;function k(N,A){return N[17].picture?Ky:qy}let y=k(i),P=y(i);return h=new op({props:{addNavHrefForAnchor:i[28]}}),h.$on("toggleDropdownState",i[100]),h.$on("userInfoUpdated",i[42]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),P.c(),g=z(),d=C("div"),Fe(h.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",s=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(N,A){T(N,e,A),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,d),Oe(h,d,null),m=!0,b||(v=[le(r,"click",i[99]),le(n,"click",Mt(xy))],b=!0)},p(N,A){y===(y=k(N))&&P?P.p(N,A):(P.d(1),P=y(N),P&&(P.c(),P.m(r,null))),(!m||A[0]&64&&s!==(s=N[6].profilePopover||!1))&&f(r,"aria-expanded",s),(!m||A[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!m||A[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const E={};A[0]&268435456&&(E.addNavHrefForAnchor=N[28]),h.$set(E),(!m||A[0]&64&&p!==(p=!N[6].profilePopover))&&f(d,"aria-hidden",p)},i(N){m||(R(h.$$.fragment,N),m=!0)},o(N){B(h.$$.fragment,N),m=!1},d(N){N&&I(e),P.d(),Me(h),b=!1,$e(v)}}}function Gy(i){let e,t,n,l,r,s,o,c,g;function d(m,b){return m[17].picture?jy:Jy}let h=d(i),p=h(i);return r=new iC({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=C("div"),t=C("div"),p.c(),n=z(),l=C("div"),Fe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",s=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(m,b){T(m,e,b),w(e,t),p.m(t,null),w(e,n),w(e,l),Oe(r,l,null),o=!0,c||(g=le(t,"click",Mt($y)),c=!0)},p(m,b){h===(h=d(m))&&p?p.p(m,b):(p.d(1),p=h(m),p&&(p.c(),p.m(t,null)));const v={};b[0]&268435456&&(v.addNavHrefForAnchor=m[28]),r.$set(v),(!o||b[0]&64&&s!==(s=!m[6].profilePopover))&&f(l,"aria-hidden",s)},i(m){o||(R(r.$$.fragment,m),o=!0)},o(m){B(r.$$.fragment,m),o=!1},d(m){m&&I(e),p.d(),Me(r),c=!1,g()}}}function qy(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){T(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&&I(e)}}}function Ky(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),On(e,"background-image","url('"+i[17].picture+"')")},m(t,n){T(t,e,n)},p(t,n){n[0]&131072&&On(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&I(e)}}}function Jy(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,s;return{c(){e=C("button"),n=Ie(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){T(o,e,c),w(e,n),r||(s=le(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Te(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&I(e),r=!1,s()}}}function jy(i){let e,t,n,l;return{c(){e=C("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),On(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,s){T(r,e,s),n||(l=le(e,"click",i[96]),n=!0)},p(r,s){s[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),s[0]&131072&&On(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&I(e),n=!1,l()}}}function Bg(i){let e,t,n;function l(s){i[101](s)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new hp({props:r}),Ye.push(()=>ct(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[102]),{c(){Fe(e.$$.fragment)},m(s,o){Oe(e,s,o),n=!0},p(s,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=s[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=s[6],ft(()=>t=!1)),e.$set(c)},i(s){n||(R(e.$$.fragment,s),n=!0)},o(s){B(e.$$.fragment,s),n=!1},d(s){Me(e,s)}}}function Yy(i){let e,t,n,l,r,s;const o=[Ry,Ay],c=[];function g(d,h){return d[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=me()},m(d,h){c[e].m(d,h),T(d,n,h),l=!0,r||(s=[le(_g,"click",i[41]),le(_g,"blur",i[41])],r=!0)},p(d,h){let p=e;e=g(d),e===p?c[e].p(d,h):(be(),B(c[p],1,1,()=>{c[p]=null}),ve(),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){B(t),l=!1},d(d){c[e].d(d),d&&I(n),r=!1,$e(s)}}}const Qy=i=>!i.hideFromNav&&i.label,Hg=i=>!i.hideFromNav&&i.label,Zy=()=>{},Xy=()=>{},$y=()=>{},xy=()=>{};function e8(i,e,t){const n=zt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:s=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:d}=e,{pathData:h}=e,p,{pathParams:m}=e,{dropDownStates:b={}}=e,{children:v}=e,{selectedNode:k}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:N}=e,{isProductSwitcherAvailable:A}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:V}=e,{nodeForMobile:D}=e,{profileItemsAvailable:F}=e,{userInfo:M={}}=e,{urlAuthError:W}=e,{globalSearchConfig:K}=e,{isGlobalSearchCentered:Q}=e,{isSearchFieldVisible:ce}=e,{inputElem:Ce}=e,{luigiCustomSearchRenderer__slot:G}=e,{displaySearchResult:J}=e,{displayCustomSearchResult:fe}=e,{searchResult:te}=e,{burgerTooltip:x}=e,{responsiveShellbarPadding:Le}=e,ie=pt("store"),Ee=!1,re,Ve,$=se.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:j=se.getConfigBooleanValue("navigation.addNavHrefs")}=e;const pe=async()=>{if(h&&0<h.length){const X=await ke.generateTopNavNodes(h);t(7,v=X.children),t(8,k=X.selectedNode),t(9,y=X.visibleNodeCount),t(11,N=X.totalBadgeNode),t(10,P=X.globalNavNodeCount),window.TOPNAVDATA=X.children,p=h}},Ke=()=>{t(1,s=ol.isLoggedIn())};Jt(()=>{dn.doOnStoreChange(ie,()=>{t(0,l=wi.isAuthorizationEnabled()),t(16,F=se.getConfigValue("navigation.profile")),t(54,r=!se.getConfigValue("auth.disableAutoLogin")),t(12,A=se.getConfigValue("navigation.productSwitcher")),t(2,o=se.getConfigBooleanValue("settings.hideNavigation")),t(3,c=se.getConfigValue("settings.responsiveNavigation")),t(4,g=se.getConfigValue("settings.profileType")),t(27,Le=se.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=ke.getProductSwitcherConfig()),t(18,K=se.getConfigValue("globalSearch")),t(19,Q=K&&K.searchFieldCentered&&ae.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=se.getConfigBooleanValue("settings.globalSideNavigation")&&ae.requestExperimentalFeature("globalNav",!0)),t(28,j=se.getConfigBooleanValue("navigation.addNavHrefs")),t(46,$=se.getConfigValue("navigation.contextSwitcher"))},["navigation"]),dn.doOnStoreChange(ie,()=>{pe()},["navigation.viewgroupdata"]),Mn.addEventListener("message",X=>{X.data.msg==="luigi.navigation.update-badge-counters"&&pe()})}),Kn(()=>{(!p||p!=h)&&pe(),Ke()});let{showTopNav:Ue}=e;function he(X){return ke.renderIconClassName(X)}function Qe(X){return ke.isOpenUIiconName(X.icon)}const xe=X=>ke.getNodeLabel(X);function jt(X){return X.testId?X.testId:ke.prepareForTests(X.pathSegment,X.label)}function vt(X){return we.getNodeHref(X,m)}function Ht(X,St){return ke.generateTooltipText(X,St)}function bn(){Tt("productSwitcherPopover")}function Yt(){t(43,Ee=!Ee),Tt("contextSwitcherPopover")}function en(X){t(14,V=!0),t(15,D=X)}function In(){t(14,V=!1)}function vn(X){n("handleClick",{node:X})}function sn(X){n("handleSearchNavigation",{node:X})}function Tn(X){vn(X.detail.node)}function Tt(X){const St=b||{},Ct=!St[X];Qt(),In(),St[X]=Ct,t(6,b=St)}function dl(X){Tt(X.detail.name)}function li(){Ce&&Ce.focus()}function wn(){ce||setTimeout(()=>{li()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Ce,luigiCustomSearchRenderer__slot:G})}function Qt(){const X=b||{},St=Object.keys(X);St&&St.length>0&&St.forEach(Ct=>{X[Ct]=!1,t(6,b=X)})}function Jn(){c==="simple"||c==="simpleMobileOnly"?kn():hi(),tn()}function tn(){if(!ke.getBurgerTooltipConfig())return;const[X,St]=ke.getBurgerTooltipConfig();X&&St&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,x=document.body.classList.contains("lui-leftNavToggle")?X:St),document.body.classList.contains("lui-semiCollapsible")&&t(26,x=document.body.classList.contains("semiCollapsed")?X:St))}function kn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function hi(){vi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function yi(X){const St=X.detail;t(17,M=St||{})}function hn(X){b=X,t(6,b)}function Pi(X){ce=X,t(20,ce)}function Ni(X){te=X,t(25,te)}function Ii(X){J=X,t(23,J)}function Ti(X){fe=X,t(24,fe)}function hl(X){Ce=X,t(21,Ce)}function gl(X){G=X,t(22,G)}function _l(X){Ol.call(this,i,X)}function Gi(X){Ol.call(this,i,X)}function Li(X){Ol.call(this,i,X)}function pl(X){ce=X,t(20,ce)}function qi(X){te=X,t(25,te)}function gi(X){J=X,t(23,J)}function ml(X){fe=X,t(24,fe)}function Z(X){Ce=X,t(21,Ce)}function Pe(X){G=X,t(22,G)}function tt(X){Ol.call(this,i,X)}function ht(X){Ol.call(this,i,X)}function wt(X){Ol.call(this,i,X)}function an(X){b=X,t(6,b)}const Sn=()=>Tt("contextSwitcherPopover");function jn(X,St,Ct,Yn){Ct[Yn]=X,t(7,v)}const Fn=X=>Tt(`dropDownPopover-${X}`);function bl(X,St,Ct,Yn){Ct[Yn]=X,t(7,v)}const Ki=(X,St)=>{ke.handleNavAnchorClickedWithoutMetaKey(St)&&vn(X)};function Bl(X,St,Ct,Yn){Ct[Yn]=X,t(7,v)}const Hl=X=>vn(X),Wl=()=>Tt("overflowPopover"),mr=()=>{wn(),Tt("overflowPopover")},Cn=X=>vn(X),vl=X=>en(X);function wl(X){b=X,t(6,b)}const zl=()=>Tt("productSwitcherPopover");function br(X){b=X,t(6,b)}function Ji(X){re=X,t(44,re)}function kl(X){Ve=X,t(45,Ve)}const _i=()=>Tt("contextSwitcherPopover"),Sl=()=>Tt("profilePopover"),Ai=()=>Tt("profilePopover"),Gl=()=>Tt("profilePopover"),vr=()=>Tt("profilePopover"),gt=()=>Tt("profilePopover");function ji(X){b=X,t(6,b)}const Yi=()=>Tt("productSwitcherPopover"),Cl=()=>Tt("profilePopover");return i.$$set=X=>{"authorizationEnabled"in X&&t(0,l=X.authorizationEnabled),"autologinEnabled"in X&&t(54,r=X.autologinEnabled),"isLoggedIn"in X&&t(1,s=X.isLoggedIn),"hideNavComponent"in X&&t(2,o=X.hideNavComponent),"responsiveNavSetting"in X&&t(3,c=X.responsiveNavSetting),"profileTypeSettings"in X&&t(4,g=X.profileTypeSettings),"showGlobalNav"in X&&t(5,d=X.showGlobalNav),"pathData"in X&&t(30,h=X.pathData),"pathParams"in X&&t(31,m=X.pathParams),"dropDownStates"in X&&t(6,b=X.dropDownStates),"children"in X&&t(7,v=X.children),"selectedNode"in X&&t(8,k=X.selectedNode),"visibleNodeCount"in X&&t(9,y=X.visibleNodeCount),"globalNavNodeCount"in X&&t(10,P=X.globalNavNodeCount),"totalBadgeNode"in X&&t(11,N=X.totalBadgeNode),"isProductSwitcherAvailable"in X&&t(12,A=X.isProductSwitcherAvailable),"productSwitcherConfig"in X&&t(13,E=X.productSwitcherConfig),"openMobileDropDown"in X&&t(14,V=X.openMobileDropDown),"nodeForMobile"in X&&t(15,D=X.nodeForMobile),"profileItemsAvailable"in X&&t(16,F=X.profileItemsAvailable),"userInfo"in X&&t(17,M=X.userInfo),"urlAuthError"in X&&t(55,W=X.urlAuthError),"globalSearchConfig"in X&&t(18,K=X.globalSearchConfig),"isGlobalSearchCentered"in X&&t(19,Q=X.isGlobalSearchCentered),"isSearchFieldVisible"in X&&t(20,ce=X.isSearchFieldVisible),"inputElem"in X&&t(21,Ce=X.inputElem),"luigiCustomSearchRenderer__slot"in X&&t(22,G=X.luigiCustomSearchRenderer__slot),"displaySearchResult"in X&&t(23,J=X.displaySearchResult),"displayCustomSearchResult"in X&&t(24,fe=X.displayCustomSearchResult),"searchResult"in X&&t(25,te=X.searchResult),"burgerTooltip"in X&&t(26,x=X.burgerTooltip),"responsiveShellbarPadding"in X&&t(27,Le=X.responsiveShellbarPadding),"addNavHrefForAnchor"in X&&t(28,j=X.addNavHrefForAnchor),"showTopNav"in X&&t(29,Ue=X.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Ue=l&&(!r||s)||!l)},[l,s,o,c,g,d,b,v,k,y,P,N,A,E,V,D,F,M,K,Q,ce,Ce,G,J,fe,te,x,Le,j,Ue,h,m,bn,Yt,en,In,vn,Tn,Tt,dl,wn,Qt,yi,Ee,re,Ve,$,he,Qe,xe,jt,vt,Ht,Jn,r,W,sn,kn,hi,hn,Pi,Ni,Ii,Ti,hl,gl,_l,Gi,Li,pl,qi,gi,ml,Z,Pe,tt,ht,wt,an,Sn,jn,Fn,bl,Ki,Bl,Hl,Wl,mr,Cn,vl,wl,zl,br,Ji,kl,_i,Sl,Ai,Gl,vr,gt,ji,Yi,Cl]}class _p extends Vt{constructor(e){super(),Dt(this,e,e8,Yy,Rt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function Wg(i){let e;return{c(){e=C("div"),f(e,"class","lui-tab-header")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function t8(i){let e,t=i[0]&&Wg();return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,[l]){n[0]?t||(t=Wg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function n8(i,e,t){let{node:n}=e;async function l(){var o,c;const r=we.mapPathToNode(it.getCurrentPath(),n),s=await Ot.extractDataFromPath(r);return{context:((o=s==null?void 0:s.pathData)==null?void 0:o.context)||n.context,pathParams:((c=s.pathData)==null?void 0:c.pathParams)||{},clientPermissions:s.nodeObject.clientPermissions||{}}}return Jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),s=document.querySelector(".lui-tab-header");dr.renderWebComponent(n.viewUrl,s,r,n),s.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class i8 extends Vt{constructor(e){super(),Dt(this,e,n8,t8,Rt,{node:0})}}const{window:Lo}=cl;function zg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Gg(i,e,t){const n=i.slice();return n[43]=e[t],n}function qg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Kg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Jg(i,e,t){const n=i.slice();return n[43]=e[t],n}function jg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Yg(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b,v,k,y,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&Qg(i),N=Object.entries(i[0]),A=[];for(let M=0;M<N.length;M+=1)A[M]=n_(Kg(i,N,M));const E=M=>B(A[M],1,1,()=>{A[M]=null});let V=Object.entries(i[0]),D=[];for(let M=0;M<V.length;M+=1)D[M]=s_(zg(i,V,M));const F=M=>B(D[M],1,1,()=>{D[M]=null});return{c(){e=C("div"),P&&P.c(),t=z(),n=C("nav"),l=C("div"),r=C("div");for(let M=0;M<A.length;M+=1)A[M].c();s=z(),o=C("div"),c=C("span"),g=C("div"),d=C("a"),d.innerHTML=`<span class="label fd-tabs__tag svelte-1lysnpp">More</span>
|
|
59
|
-
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-1lysnpp"></span>`,h=z(),p=C("div"),m=C("ul");for(let M=0;M<D.length;M+=1)D[M].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-1lysnpp"),f(l,"class","tabsContainerWrapper svelte-1lysnpp"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-1lysnpp"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(m,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1lysnpp"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-1lysnpp"),f(p,"aria-hidden",b=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-1lysnpp"),f(o,"class","luigi-tabsMoreButton svelte-1lysnpp"),f(n,"class","fd-tabs fd-tabs--l svelte-1lysnpp"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-1lysnpp"),f(e,"id","tabsContainer")},m(M,W){T(M,e,W),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let K=0;K<A.length;K+=1)A[K].m(r,null);w(n,s),w(n,o),w(o,c),w(c,g),w(g,d),w(g,h),w(g,p),w(p,m);for(let K=0;K<D.length;K+=1)D[K].m(m,null);v=!0,k||(y=[le(d,"click",At(i[10])),le(c,"click",c8),le(n,"toggleDropdownState",i[26])],k=!0)},p(M,W){if(M[11].parent&&M[11].parent.tabNav&&M[11].parent.tabNav.showAsTabHeader?P?(P.p(M,W),W[0]&2048&&R(P,1)):(P=Qg(M),P.c(),R(P,1),P.m(e,t)):P&&(be(),B(P,1,1,()=>{P=null}),ve()),W[0]&53485){N=Object.entries(M[0]);let K;for(K=0;K<N.length;K+=1){const Q=Kg(M,N,K);A[K]?(A[K].p(Q,W),R(A[K],1)):(A[K]=n_(Q),A[K].c(),R(A[K],1),A[K].m(r,null))}for(be(),K=N.length;K<A.length;K+=1)E(K);ve()}if(W[0]&53485){V=Object.entries(M[0]);let K;for(K=0;K<V.length;K+=1){const Q=zg(M,V,K);D[K]?(D[K].p(Q,W),R(D[K],1)):(D[K]=s_(Q),D[K].c(),R(D[K],1),D[K].m(m,null))}for(be(),K=V.length;K<D.length;K+=1)F(K);ve()}(!v||W[0]&16&&b!==(b=!M[4]))&&f(p,"aria-hidden",b)},i(M){if(!v){R(P);for(let W=0;W<N.length;W+=1)R(A[W]);for(let W=0;W<V.length;W+=1)R(D[W]);v=!0}},o(M){B(P),A=A.filter(Boolean);for(let W=0;W<A.length;W+=1)B(A[W]);D=D.filter(Boolean);for(let W=0;W<D.length;W+=1)B(D[W]);v=!1},d(M){M&&I(e),P&&P.d(),ot(A,M),ot(D,M),k=!1,$e(y)}}}function Qg(i){let e,t;return e=new i8({props:{node:i[11].parent}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function l8(i){let e,t,n,l,r,s=i[12](i[39])+"",o,c,g,d,h,p,m,b,v,k,y,P,N,A;function E(){return i[20](i[39])}let V=i[40],D=[];for(let M=0;M<V.length;M+=1)D[M]=$g(Jg(i,V,M));const F=M=>B(D[M],1,1,()=>{D[M]=null});return{c(){e=C("span"),t=C("div"),n=C("div"),l=C("a"),r=C("span"),o=Ie(s),c=z(),g=C("span"),h=z(),p=C("div"),m=C("nav"),b=C("ul");for(let M=0;M<D.length;M+=1)D[M].c();k=z(),f(r,"class","label fd-tabs__tag svelte-1lysnpp"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-1lysnpp"),f(l,"class","fd-tabs__link has-child svelte-1lysnpp"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=cr(i[39],i[2])),f(n,"class","fd-popover__control"),f(b,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow svelte-1lysnpp"),f(p,"aria-hidden",v=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-1lysnpp"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=cr(i[39],i[2]))},m(M,W){T(M,e,W),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,h),w(t,p),w(p,m),w(m,b);for(let K=0;K<D.length;K+=1)D[K].m(b,null);w(e,k),P=!0,N||(A=[le(l,"click",At(E)),le(e,"click",f8)],N=!0)},p(M,W){if(i=M,(!P||W[0]&4097)&&s!==(s=i[12](i[39])+"")&&Te(o,s),(!P||W[0]&5&&d!==(d=cr(i[39],i[2])))&&f(l,"aria-selected",d),W[0]&49221){V=i[40];let K;for(K=0;K<V.length;K+=1){const Q=Jg(i,V,K);D[K]?(D[K].p(Q,W),R(D[K],1)):(D[K]=$g(Q),D[K].c(),R(D[K],1),D[K].m(b,null))}for(be(),K=V.length;K<D.length;K+=1)F(K);ve()}(!P||W[0]&9&&v!==(v=!i[3][i[39]]))&&f(p,"aria-hidden",v),(!P||W[0]&5&&y!==(y=cr(i[39],i[2])))&&f(e,"isselected",y)},i(M){if(!P){for(let W=0;W<V.length;W+=1)R(D[W]);P=!0}},o(M){D=D.filter(Boolean);for(let W=0;W<D.length;W+=1)B(D[W]);P=!1},d(M){M&&I(e),ot(D,M),N=!1,$e(A)}}}function r8(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=t_(jg(i,n,s));const r=s=>B(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=me()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);T(s,e,o),t=!0},p(s,o){if(o[0]&49221){n=s[40];let c;for(c=0;c<n.length;c+=1){const g=jg(s,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=t_(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(s){ot(l,s),s&&I(e)}}}function Zg(i){let e,t,n=i[43].label&&Xg(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Xg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Xg(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,d,h,p,m;o=new qn({props:{node:i[43]}});function b(){return i[21](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),s=z(),Fe(o.$$.fragment),d=z(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-menu__item")},m(v,k){T(v,e,k),w(e,t),w(t,n),w(n,r),w(n,s),Oe(o,n,null),w(e,d),h=!0,p||(m=le(t,"click",At(b)),p=!0)},p(v,k){i=v,(!h||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!h||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!h||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){h||(R(o.$$.fragment,v),h=!0)},o(v){B(o.$$.fragment,v),h=!1},d(v){v&&I(e),Me(o),p=!1,m()}}}function $g(i){let e,t,n=!i[43].hideFromNav&&Zg(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Zg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function xg(i){let e,t,n=i[43].label&&e_(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=e_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function e_(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,d,h,p,m,b,v;o=new qn({props:{node:i[43]}});function k(){return i[19](i[43])}return{c(){e=C("span"),t=C("a"),n=C("span"),r=Ie(l),s=z(),Fe(o.$$.fragment),d=z(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class",h="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-1lysnpp"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",p=i[43]===i[2])},m(y,P){T(y,e,P),w(e,t),w(t,n),w(n,r),w(n,s),Oe(o,n,null),w(e,d),m=!0,b||(v=le(t,"click",At(k)),b=!0)},p(y,P){i=y,(!m||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const N={};P[0]&1&&(N.node=i[43]),o.$set(N),(!m||P[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!m||P[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g),(!m||P[0]&5&&h!==(h="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-1lysnpp"))&&f(e,"class",h),(!m||P[0]&5&&p!==(p=i[43]===i[2]))&&f(e,"isselected",p)},i(y){m||(R(o.$$.fragment,y),m=!0)},o(y){B(o.$$.fragment,y),m=!1},d(y){y&&I(e),Me(o),b=!1,v()}}}function t_(i){let e,t,n=!i[43].hideFromNav&&xg(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(be(),B(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function n_(i){let e,t,n,l,r,s;const o=[r8,l8],c=[];function g(d,h){return h[0]&33&&(e=null),h[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(u8).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=me()},m(d,h){~n&&c[n].m(d,h),T(d,r,h),s=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(be(),B(c[p],1,1,()=>{c[p]=null}),ve()),~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){s||(R(l),s=!0)},o(d){B(l),s=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function s8(i){let e,t,n,l,r=i[12](i[39])+"",s,o,c,g,d,h,p,m,b,v,k,y,P,N,A;function E(){return i[23](i[39],i[42])}function V(){return i[24](i[39],i[42])}let D=i[40],F=[];for(let W=0;W<D.length;W+=1)F[W]=l_(Gg(i,D,W));const M=W=>B(F[W],1,1,()=>{F[W]=null});return{c(){e=C("li"),t=C("div"),n=C("a"),l=C("span"),s=Ie(r),g=z(),d=C("button"),h=C("i"),b=z(),v=C("ul");for(let W=0;W<F.length;W+=1)F[W].c();y=z(),f(l,"class","fd-nested-list__title svelte-1lysnpp"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=cr(i[39],i[2])),f(h,"class",p=i[3][i[39]+i[42]]?"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",m=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-1lysnpp"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",k=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(W,K){T(W,e,K),w(e,t),w(t,n),w(n,l),w(l,s),w(t,g),w(t,d),w(d,h),w(e,b),w(e,v);for(let Q=0;Q<F.length;Q+=1)F[Q].m(v,null);w(e,y),P=!0,N||(A=[le(n,"click",At(E)),le(d,"click",At(V))],N=!0)},p(W,K){if(i=W,(!P||K[0]&4097)&&r!==(r=i[12](i[39])+"")&&Te(s,r),(!P||K[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||K[0]&5&&c!==(c=cr(i[39],i[2])))&&f(n,"aria-selected",c),(!P||K[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(h,"class",p),(!P||K[0]&9&&m!==(m=i[3][i[39]+i[42]]))&&f(d,"aria-expanded",m),K[0]&49221){D=i[40];let Q;for(Q=0;Q<D.length;Q+=1){const ce=Gg(i,D,Q);F[Q]?(F[Q].p(ce,K),R(F[Q],1)):(F[Q]=l_(ce),F[Q].c(),R(F[Q],1),F[Q].m(v,null))}for(be(),Q=D.length;Q<F.length;Q+=1)M(Q);ve()}(!P||K[0]&9&&k!==(k=!i[3][i[39]+i[42]]))&&f(v,"aria-hidden",k)},i(W){if(!P){for(let K=0;K<D.length;K+=1)R(F[K]);P=!0}},o(W){F=F.filter(Boolean);for(let K=0;K<F.length;K+=1)B(F[K]);P=!1},d(W){W&&I(e),ot(F,W),N=!1,$e(A)}}}function a8(i){let e,t,n=i[40],l=[];for(let s=0;s<n.length;s+=1)l[s]=r_(qg(i,n,s));const r=s=>B(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s<l.length;s+=1)l[s].c();e=me()},m(s,o){for(let c=0;c<l.length;c+=1)l[c].m(s,o);T(s,e,o),t=!0},p(s,o){if(o[0]&49221){n=s[40];let c;for(c=0;c<n.length;c+=1){const g=qg(s,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=r_(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(s){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(s){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(s){ot(l,s),s&&I(e)}}}function i_(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,d,h,p,m;o=new qn({props:{node:i[43]}});function b(){return i[25](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),s=z(),Fe(o.$$.fragment),d=z(),f(n,"class","fd-nested-list__title svelte-1lysnpp"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(v,k){T(v,e,k),w(e,t),w(t,n),w(n,r),w(n,s),Oe(o,n,null),w(e,d),h=!0,p||(m=le(t,"click",At(b)),p=!0)},p(v,k){i=v,(!h||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!h||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!h||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){h||(R(o.$$.fragment,v),h=!0)},o(v){B(o.$$.fragment,v),h=!1},d(v){v&&I(e),Me(o),p=!1,m()}}}function l_(i){let e,t,n=i[43].label&&i_(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=i_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function r_(i){let e,t,n,l=i[14](i[43])+"",r,s,o,c,g,d,h,p,m;o=new qn({props:{node:i[43]}});function b(){return i[22](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),s=z(),Fe(o.$$.fragment),d=z(),f(n,"class","fd-nested-list__title svelte-1lysnpp"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(v,k){T(v,e,k),w(e,t),w(t,n),w(n,r),w(n,s),Oe(o,n,null),w(e,d),h=!0,p||(m=le(t,"click",At(b)),p=!0)},p(v,k){i=v,(!h||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!h||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!h||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){h||(R(o.$$.fragment,v),h=!0)},o(v){B(o.$$.fragment,v),h=!1},d(v){v&&I(e),Me(o),p=!1,m()}}}function s_(i){let e,t,n,l,r;const s=[a8,s8],o=[];function c(g,d){return d[0]&33&&(e=null),e==null&&(e=g[39]==="undefined"||g[39].indexOf(g[5])===0),e?0:1}return t=c(i,[-1,-1]),n=o[t]=s[t](i),{c(){n.c(),l=me()},m(g,d){o[t].m(g,d),T(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?o[t].p(g,d):(be(),B(o[h],1,1,()=>{o[h]=null}),ve(),n=o[t],n?n.p(g,d):(n=o[t]=s[t](g),n.c()),R(n,1),n.m(l.parentNode,l))},i(g){r||(R(n),r=!0)},o(g){B(n),r=!1},d(g){o[t].d(g),g&&I(l)}}}function o8(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Yg(i);return{c(){r&&r.c(),e=me()},m(s,o){r&&r.m(s,o),T(s,e,o),t=!0,n||(l=[le(Lo,"click",i[8]),le(Lo,"blur",i[8]),le(Lo,"resize",i[9])],n=!0)},p(s,o){s[0]&&s[1].length>0&&(s[1][0].topNav===!1||s[1].length>1)?r?(r.p(s,o),o[0]&3&&R(r,1)):(r=Yg(s),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),B(r,1,1,()=>{r=null}),ve())},i(s){t||(R(r),t=!0)},o(s){B(r),t=!1},d(s){r&&r.d(s),s&&I(e),n=!1,$e(l)}}}function cr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const u8=i=>!i.hideFromNav&&i.label,f8=i=>i.stopPropagation(),c8=i=>i.stopPropagation();function d8(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:s}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ke.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:h}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:b}=e,v,k=pt("getTranslation");Ci(i,k,$=>t(12,n=$));let y=pt("store"),P;const N={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:d,selectedNodeForTabNav:h,dropDownStates:p,isMoreBtnExpanded:m}),set:$=>{$&&Object.getOwnPropertyNames($).forEach(j=>{j==="pathData"?t(1,r=$.pathData):j==="context"?context=$.context:j==="children"?t(0,l=$.children):j==="selectedNode"?t(11,d=$.selectedNode):j==="selectedNodeForTabNav"&&t(2,h=$.selectedNodeForTabNav)})}},A=zt();function E($){return ke.getNodeLabel($)}const V=async()=>{const $=N.get(),j=await Ot.getTabNavData({...$},$);j&&(N.set({...j}),o=r,window.LEFTNAVDATA=j.groupedChildren,setTimeout(D))},D=()=>{F();let $=document.getElementsByClassName("luigi-tabsContainer")[0],j=document.getElementsByClassName("luigi-tabsMoreButton")[0],pe=document.getElementsByClassName("luigi__more")[0],Ke,Ue=0,he=!1,Qe,xe;pe&&pe.setAttribute("aria-selected","false"),$&&(Ke=$.offsetWidth,[...$.children].forEach(vt=>{Qe=vt.currentStyle||window.getComputedStyle(vt),xe=parseFloat(Qe.marginLeft)+parseFloat(Qe.marginRight),Ue+=vt.offsetWidth+xe;let Ht=vt.getAttribute("uid");Ue>=Ke?(vt.classList.add("hide_element"),vt.getAttribute("isSelected")==="true"&&pe.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Ht+'"]').classList.remove("hide_element"),he=!0):document.querySelector('li[uid="'+Ht+'"]').classList.add("hide_element")}),he?j.classList.remove("hide_element"):j.classList.add("hide_element"))},F=()=>{let $=document.getElementsByClassName("luigi-tabsContainer")[0];$!==void 0&&[...$.children].forEach(pe=>{pe.classList.remove("hide_element")})},M=()=>{P=new ResizeObserver($=>{for(const j of $)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",j.contentRect.height+"px")}),setTimeout(()=>{const $=document.querySelector("#tabsContainer.lui-tabs");$&&P.observe($)})},W=()=>{P&&P.disconnect()};Jt(()=>{t(16,c=se.getConfigBooleanValue("settings.hideNavigation")),M(),dn.doOnStoreChange(y,()=>{V()},["navigation.viewgroupdata"])}),Xr(()=>{W(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Kn(()=>{(!o||o!=r)&&V(),(v===void 0||v!==b)&&(v=b,V())}),Zr(()=>{W(),P?setTimeout(()=>{const $=document.querySelector("#tabsContainer.lui-tabs");$&&P.observe($)}):M()});function K($){return we.getNodeHref($,s)}function Q($){Ce(),A("handleClick",{node:$})}function ce($){let j={};p[$]||(j[$]=!0),t(3,p=j)}function Ce(){t(3,p={}),t(4,m=!1)}function G(){F(),D()}function J(){t(4,m=!m)}const fe=$=>Q($),te=$=>ce($),x=$=>Q($),Le=$=>Q($),ie=($,j)=>ce($+j),Ee=($,j)=>ce($+j),re=$=>Q($),Ve=$=>ce($.name);return i.$$set=$=>{"children"in $&&t(0,l=$.children),"pathData"in $&&t(1,r=$.pathData),"pathParams"in $&&t(17,s=$.pathParams),"hideNavComponent"in $&&t(16,c=$.hideNavComponent),"virtualGroupPrefix"in $&&t(5,g=$.virtualGroupPrefix),"selectedNodeForTabNav"in $&&t(2,h=$.selectedNodeForTabNav),"dropDownStates"in $&&t(3,p=$.dropDownStates),"isMoreBtnExpanded"in $&&t(4,m=$.isMoreBtnExpanded),"resizeTabNavToggle"in $&&t(18,b=$.resizeTabNavToggle)},[l,r,h,p,m,g,Q,ce,Ce,G,J,d,n,k,E,K,c,s,b,fe,te,x,Le,ie,Ee,re,Ve]}class h8 extends Vt{constructor(e){super(),Dt(this,e,d8,o8,Rt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function a_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function o_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function u_(i){let e,t,n,l,r,s=i[0]&&i[3].length>0&&f_(i),o=i[0]&&i[3].length>0&&g_(i);return{c(){e=C("div"),t=C("nav"),n=C("div"),s&&s.c(),l=z(),r=C("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-vdj4oe"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-vdj4oe"),f(e,"class","lui-globalnav svelte-vdj4oe")},m(c,g){T(c,e,g),w(e,t),w(t,n),s&&s.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,g){c[0]&&c[3].length>0?s?s.p(c,g):(s=f_(c),s.c(),s.m(n,null)):s&&(s.d(1),s=null),c[0]&&c[3].length>0?o?o.p(c,g):(o=g_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&I(e),s&&s.d(),o&&o.d()}}}function f_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=h_(o_(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-vdj4oe")},m(l,r){T(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=o_(l,t,s);n[s]?n[s].p(o,r):(n[s]=h_(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&I(e),ot(n,l)}}}function c_(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,d,h,p,m,b,v,k,y=i[24].icon&&d_(i);function P(...N){return i[18](i[24],...N)}return{c(){e=C("li"),t=C("a"),n=C("div"),y&&y.c(),l=z(),r=C("div"),o=Ie(s),c=z(),g=C("div"),p=z(),f(r,"class","lui-text svelte-vdj4oe"),f(g,"class","lui-indicator svelte-vdj4oe"),f(n,"class","lui-fd-nested-list__content svelte-vdj4oe"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",h=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-vdj4oe"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-vdj4oe"),f(e,"data-testid",b=i[12](i[24]))},m(N,A){T(N,e,A),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||(k=le(t,"click",P),v=!0)},p(N,A){i=N,i[24].icon?y?y.p(i,A):(y=d_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),A&1&&s!==(s=i[11](i[24])+"")&&Te(o,s),A&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),A&129&&h!==(h=i[7](i[24].label))&&f(t,"title",h),A&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-vdj4oe")&&f(e,"class",m),A&1&&b!==(b=i[12](i[24]))&&f(e,"data-testid",b)},d(N){N&&I(e),y&&y.d(),v=!1,k()}}}function d_(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?_8:g8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function g8(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-vdj4oe"),Je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function _8(i){let e,t;return{c(){e=C("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-vdj4oe")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-vdj4oe")&&f(e,"class",t)},d(n){n&&I(e)}}}function h_(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&c_(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=c_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function g_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=m_(a_(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-vdj4oe")},m(l,r){T(l,e,r);for(let s=0;s<n.length;s+=1)n[s].m(e,null)},p(l,r){if(r&16083){t=l[0];let s;for(s=0;s<t.length;s+=1){const o=a_(l,t,s);n[s]?n[s].p(o,r):(n[s]=m_(o),n[s].c(),n[s].m(e,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(l){l&&I(e),ot(n,l)}}}function __(i){let e,t,n,l,r,s=i[11](i[24])+"",o,c,g,d,h,p,m,b,v,k,y=i[24].icon&&p_(i);function P(){return i[19](i[24])}return{c(){e=C("li"),t=C("a"),n=C("div"),y&&y.c(),l=z(),r=C("div"),o=Ie(s),c=z(),g=C("div"),p=z(),f(r,"class","lui-text svelte-vdj4oe"),f(g,"class","lui-indicator svelte-vdj4oe"),f(n,"class","lui-fd-nested-list__content svelte-vdj4oe"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",h=i[7](i[24].label)),f(t,"class","svelte-vdj4oe"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-vdj4oe"),f(e,"data-testid",b=i[12](i[24]))},m(N,A){T(N,e,A),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||(k=le(n,"click",At(P)),v=!0)},p(N,A){i=N,i[24].icon?y?y.p(i,A):(y=p_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),A&1&&s!==(s=i[11](i[24])+"")&&Te(o,s),A&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),A&129&&h!==(h=i[7](i[24].label))&&f(t,"title",h),A&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-vdj4oe")&&f(e,"class",m),A&1&&b!==(b=i[12](i[24]))&&f(e,"data-testid",b)},d(N){N&&I(e),y&&y.d(),v=!1,k()}}}function p_(i){let e,t;function n(s,o){return o&1&&(e=null),e==null&&(e=!!s[10](s[24])),e?m8:p8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=me()},m(s,o){r.m(s,o),T(s,t,o)},p(s,o){l===(l=n(s,o))&&r?r.p(s,o):(r.d(1),r=l(s),r&&(r.c(),r.m(t.parentNode,t)))},d(s){r.d(s),s&&I(t)}}}function p8(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-vdj4oe"),Je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function m8(i){let e,t;return{c(){e=C("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-vdj4oe")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-vdj4oe")&&f(e,"class",t)},d(n){n&&I(e)}}}function m_(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&__(i);return{c(){t&&t.c(),e=me()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=__(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function b8(i){let e,t,n,l=i[2]&&u_(i);return{c(){l&&l.c(),e=me()},m(r,s){l&&l.m(r,s),T(r,e,s),t||(n=[le(window,"click",aa),le(window,"blur",aa)],t=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=u_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:ze,o:ze,d(r){l&&l.d(r),r&&I(e),t=!1,$e(n)}}}function aa(){}function v8(i,e,t){let n;const l=zt();let{pathData:r}=e,s,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,d=pt("store"),h=pt("getTranslation");Ci(i,h,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:b}=e,v=se.getConfigBooleanValue("navigation.addNavHrefs");const k=async()=>{if(r&&0<r.length){const W=await ke.generateTopNavNodes(r);t(0,c=W.children),t(1,g=W.selectedNode),s=r}};Jt(()=>{dn.doOnStoreChange(d,()=>{t(14,m=se.getConfigBooleanValue("settings.hideNavigation")),t(15,b=se.getConfigValue("settings.responsiveNavigation")),t(2,p=!se.getConfigBooleanValue("settings.btpToolLayout")&&se.getConfigBooleanValue("settings.globalSideNavigation")&&ae.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Kn(()=>{(!s||s!=r)&&k(),t(6,v=se.getConfigBooleanValue("navigation.addNavHrefs"))});function y(W){return ke.renderIconClassName(W)}function P(W){return ke.isOpenUIiconName(W.icon)}function N(W){return bt.getTranslation(W.label)}function A(W){return W.testId?W.testId:ke.prepareForTests(W.pathSegment,W.label)}function E(W){return we.getNodeHref(W,o)}function V(W){l("handleClick",{node:W})}function D(W){V(W.detail.node)}const F=(W,K)=>{ke.handleNavAnchorClickedWithoutMetaKey(K)&&V(W)},M=W=>V(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,g=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,m=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,b=W.responsiveNavSetting)},[c,g,p,r,V,aa,v,n,h,y,P,N,A,E,m,b,o,D,F,M]}class w8 extends Vt{constructor(e){super(),Dt(this,e,v8,b8,Rt,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return aa}}function k8(i){let e;return{c(){e=C("div"),f(e,"class","lui-breadcrumb-container svelte-1kit7ok")},m(t,n){T(t,e,n),i[6](e)},p:ze,i:ze,o:ze,d(t){t&&I(e),i[6](null)}}}function S8(i,e,t){const n=zt();let{pathData:l}=e,r,s={},o,c=pt("store"),{showBreadcrumb:g}=e,{hideNavComponent:d}=e,{responsiveNavSetting:h}=e;se.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=y=>{y.last||v(y.node)};Jt(()=>{dn.doOnStoreChange(c,()=>{},["navigation"])}),Kn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const y=se.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!y),g&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,g=!1):P.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(se.getConfigBooleanValue("navigation.addNavHrefs"),y.renderer){let P=[];const N=y.omitRoot?2:1,A=it.getCurrentPath();for(let E=N;E<l.length;E++){const V=l[E],D=we.mapPathToNode(A,V);if(s[D])P.push(s[D]);else if(V.label||V.pathSegment||V.titleResolver)if(document.body.classList.add("lui-breadcrumb"),V.titleResolver)P.push({label:V.titleResolver.prerenderFallback&&V.titleResolver.fallbackTitle?bt.getTranslation(V.titleResolver.fallbackTitle):y.pendingItemLabel||"",node:V,route:D,pending:!0});else{const F=await b(V);F&&P.push({label:F,node:V,route:D})}}y.clearBeforeRender&&t(0,o.innerHTML="",o),y.renderer(o,P,m),P=[];for(let E=N;E<l.length;E++){const V=l[E],D=we.mapPathToNode(A,V);if(V.titleResolver){const M=await Ot.extractDataFromPath(D),W=we.substituteDynamicParamsInObject(Object.assign({},M.pathData.context,V.context),M.pathData.pathParams);try{const K=await ke.fetchNodeTitleData(V,W);P.push({label:K.label,node:V,route:D});continue}catch{}}const F=await b(V);F&&P.push({label:F,node:V,route:D})}A===it.getCurrentPath()&&(y.clearBeforeRender&&t(0,o.innerHTML="",o),P.length>1?(P[P.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),y.renderer(o,P,m)):y.autoHide&&document.body.classList.remove("lui-breadcrumb"),s={},P.map(E=>{s[E.route]=E}))}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 b(y){if(y.label&&!y._virtualTree)return bt.getTranslation(y.label)||y.label;if(y.pathSegment&&y.pathSegment.indexOf(":")===0){const P=we.mapPathToNode(it.getCurrentPath(),y),N=await Ot.extractDataFromPath(P);return we.getDynamicNodeValue(y,N.pathData.pathParams)}return y.pathSegment?y.pathSegment:""}function v(y){n("handleClick",{node:y})}function k(y){Ye[y?"unshift":"push"](()=>{o=y,t(0,o)})}return i.$$set=y=>{"pathData"in y&&t(2,l=y.pathData),"showBreadcrumb"in y&&t(1,g=y.showBreadcrumb),"hideNavComponent"in y&&t(3,d=y.hideNavComponent),"responsiveNavSetting"in y&&t(4,h=y.responsiveNavSetting)},[o,g,l,d,h,v,k]}class pp extends Vt{constructor(e){super(),Dt(this,e,S8,k8,Rt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Oo="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!"),Oo="disabled"):i.data==="luigi.tpcEnabled"&&(Oo="enabled")},!1);function C8(){return Oo}const{Boolean:y8,window:b_}=cl;function v_(i,e,t){const n=i.slice();return n[156]=e[t],n[158]=t,n}function w_(i){let e,t;return e=new sk({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function k_(i){let e,t;function n(){return i[70](i[158])}function l(...s){return i[71](i[158],...s)}function r(...s){return i[72](i[158],...s)}return e=new ip({props:{settings:i[156].mfModal.settings,nodepath:i[156].mfModal.nodepath,modalIndex:i[158],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Fe(e.$$.fragment)},m(s,o){Oe(e,s,o),t=!0},p(s,o){i=s;const c={};o[0]&268435456&&(c.settings=i[156].mfModal.settings),o[0]&268435456&&(c.nodepath=i[156].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(s){t||(R(e.$$.fragment,s),t=!0)},o(s){B(e.$$.fragment,s),t=!1},d(s){Me(e,s)}}}function S_(i){let e,t,n=i[156].mfModal.displayed&&k_(i);return{c(){n&&n.c(),e=me()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[156].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=k_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),B(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function C_(i){let e,t;return e=new ip({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[P8]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[5]&16&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function P8(i){let e,t;return e=new Ul({props:{area:"drawer",disable:i[13]}}),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function y_(i){let e,t;return e=new ck({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[73]),e.$on("modalDismiss",i[74]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function P_(i){let e,t,n;function l(s){i[75](s)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new Ik({props:r}),Ye.push(()=>ct(e,"storedUserSettings",l,i[6])),e.$on("close",i[10]),{c(){Fe(e.$$.fragment)},m(s,o){Oe(e,s,o),n=!0},p(s,o){const c={};o[0]&262144&&(c.userSettingGroups=s[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=s[6],ft(()=>t=!1)),e.$set(c)},i(s){n||(R(e.$$.fragment,s),n=!0)},o(s){B(e.$$.fragment,s),n=!1},d(s){Me(e,s)}}}function N8(i){let e,t,n,l,r,s,o,c;e=new Ul({props:{disable:i[13],$$slots:{default:[T8]},$$scope:{ctx:i}}});let g=i[11]&&I_(),d=!i[25]&&T_(i),h=!i[21]&&L_(i),p=!(i[21]||i[22])&&R_(i),m=i[16]&&!i[21]&&E_(i);return{c(){Fe(e.$$.fragment),t=z(),g&&g.c(),n=z(),d&&d.c(),l=z(),h&&h.c(),r=z(),p&&p.c(),s=z(),m&&m.c(),o=me()},m(b,v){Oe(e,b,v),T(b,t,v),g&&g.m(b,v),T(b,n,v),d&&d.m(b,v),T(b,l,v),h&&h.m(b,v),T(b,r,v),p&&p.m(b,v),T(b,s,v),m&&m.m(b,v),T(b,o,v),c=!0},p(b,v){const k={};v[0]&8192&&(k.disable=b[13]),v[0]&12288|v[5]&16&&(k.$$scope={dirty:v,ctx:b}),e.$set(k),b[11]?g||(g=I_(),g.c(),g.m(n.parentNode,n)):g&&(g.d(1),g=null),b[25]?d&&(be(),B(d,1,1,()=>{d=null}),ve()):d?(d.p(b,v),v[0]&33554432&&R(d,1)):(d=T_(b),d.c(),R(d,1),d.m(l.parentNode,l)),b[21]?h&&(be(),B(h,1,1,()=>{h=null}),ve()):h?(h.p(b,v),v[0]&2097152&&R(h,1)):(h=L_(b),h.c(),R(h,1),h.m(r.parentNode,r)),b[21]||b[22]?p&&(be(),B(p,1,1,()=>{p=null}),ve()):p?(p.p(b,v),v[0]&6291456&&R(p,1)):(p=R_(b),p.c(),R(p,1),p.m(s.parentNode,s)),b[16]&&!b[21]?m?(m.p(b,v),v[0]&2162688&&R(m,1)):(m=E_(b),m.c(),R(m,1),m.m(o.parentNode,o)):m&&(be(),B(m,1,1,()=>{m=null}),ve())},i(b){c||(R(e.$$.fragment,b),R(d),R(h),R(p),R(m),c=!0)},o(b){B(e.$$.fragment,b),B(d),B(h),B(p),B(m),c=!1},d(b){Me(e,b),b&&I(t),g&&g.d(b),b&&I(n),d&&d.d(b),b&&I(l),h&&h.d(b),b&&I(r),p&&p.d(b),b&&I(s),m&&m.d(b),b&&I(o)}}}function I8(i){let e,t,n,l,r,s,o,c,g,d,h,p,m,b=!i[25]&&D_(i),v=!(i[21]||i[22])&&V_(i),k=i[20]&&O_(i);h=new Ul({props:{disable:i[13],$$slots:{default:[L8]},$$scope:{ctx:i}}});let y=i[11]&&F_();return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),b&&b.c(),r=z(),s=C("div"),v&&v.c(),o=z(),c=C("div"),k&&k.c(),g=z(),d=C("div"),Fe(h.$$.fragment),p=z(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-ylrzru"),f(c,"class","fd-tool-layout__content-container svelte-ylrzru"),f(s,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-ylrzru"),f(e,"class","lui-core-layout svelte-ylrzru")},m(P,N){T(P,e,N),w(e,t),w(t,n),w(n,l),b&&b.m(l,null),w(t,r),w(t,s),v&&v.m(s,null),w(s,o),w(s,c),k&&k.m(c,null),w(c,g),w(c,d),Oe(h,d,null),w(d,p),y&&y.m(d,null),m=!0},p(P,N){P[25]?b&&(be(),B(b,1,1,()=>{b=null}),ve()):b?(b.p(P,N),N[0]&33554432&&R(b,1)):(b=D_(P),b.c(),R(b,1),b.m(l,null)),P[21]||P[22]?v&&(be(),B(v,1,1,()=>{v=null}),ve()):v?(v.p(P,N),N[0]&6291456&&R(v,1)):(v=V_(P),v.c(),R(v,1),v.m(s,o)),P[20]?k?(k.p(P,N),N[0]&1048576&&R(k,1)):(k=O_(P),k.c(),R(k,1),k.m(c,g)):k&&(be(),B(k,1,1,()=>{k=null}),ve());const A={};N[0]&8192&&(A.disable=P[13]),N[0]&12288|N[5]&16&&(A.$$scope={dirty:N,ctx:P}),h.$set(A),P[11]?y||(y=F_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){m||(R(b),R(v),R(k),R(h.$$.fragment,P),m=!0)},o(P){B(b),B(v),B(k),B(h.$$.fragment,P),m=!1},d(P){P&&I(e),b&&b.d(),v&&v.d(),k&&k.d(),Me(h),y&&y.d()}}}function N_(i){let e,t;return e=new rp({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Fe(e.$$.fragment)},m(n,l){Oe(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Me(e,n)}}}function T8(i){let e,t,n,l,r,s,o,c,g;t=new Ul({props:{area:"main",disable:i[13]}});let d=i[12].displayed&&N_(i);return{c(){e=C("div"),Fe(t.$$.fragment),n=z(),l=C("div"),r=z(),d&&d.c(),s=me(),f(l,"class","wcContainer svelte-ylrzru"),f(e,"class","fd-page iframeContainer svelte-ylrzru"),f(e,"tabindex","0"),Vn(e,"lui-split-view",i[12].displayed),Vn(e,"lui-collapsed",i[12].collapsed)},m(h,p){T(h,e,p),Oe(t,e,null),w(e,n),w(e,l),T(h,r,p),d&&d.m(h,p),T(h,s,p),o=!0,c||(g=q_(i[46].call(null,e)),c=!0)},p(h,p){const m={};p[0]&8192&&(m.disable=h[13]),t.$set(m),(!o||p[0]&4096)&&Vn(e,"lui-split-view",h[12].displayed),(!o||p[0]&4096)&&Vn(e,"lui-collapsed",h[12].collapsed),h[12].displayed?d?(d.p(h,p),p[0]&4096&&R(d,1)):(d=N_(h),d.c(),R(d,1),d.m(s.parentNode,s)):d&&(be(),B(d,1,1,()=>{d=null}),ve())},i(h){o||(R(t.$$.fragment,h),R(d),o=!0)},o(h){B(t.$$.fragment,h),B(d),o=!1},d(h){h&&I(e),Me(t),h&&I(r),d&&d.d(h),h&&I(s),c=!1,g()}}}function I_(i){let e;return{c(){e=C("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){T(t,e,n)},d(t){t&&I(e)}}}function Wg(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=zg(Og(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ve()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);T(l,e,r)},p(l,r){if(r&9150){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Og(l,t,a);n[a]?n[a].p(o,r):(n[a]=zg(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){ot(n,l),l&&I(e)}}}function yC(i){return{c:ze,m:ze,p:ze,d:ze}}function PC(i){let e,t,n,l,r;function a(d,h){return d[2]?IC:NC}let o=a(i),c=o(i);function g(){return i[17](i[21])}return{c(){e=C("li"),c.c(),n=z(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=i[9](i[21]))},m(d,h){T(d,e,h),c.m(e,null),T(d,n,h),l||(r=le(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&520&&t!==(t=i[9](i[21]))&&f(e,"data-testid",t)},d(d){d&&I(e),c.d(),d&&I(n),l=!1,r()}}}function NC(i){let e,t,n=i[26]+"",l,r,a,o,c,g;return{c(){e=C("a"),t=C("span"),l=Ie(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[21])),f(e,"class",a="fd-menu__link "+(i[26]===i[4]?"is-selected":"")),f(e,"title",o=i[26])},m(d,h){T(d,e,h),w(e,t),w(t,l),c||(g=le(e,"click",i[16]),c=!0)},p(d,h){h&138&&n!==(n=d[26]+"")&&Te(l,n),h&264&&r!==(r=d[8](d[21]))&&f(e,"href",r),h&154&&a!==(a="fd-menu__link "+(d[26]===d[4]?"is-selected":""))&&f(e,"class",a),h&138&&o!==(o=d[26])&&f(e,"title",o)},d(d){d&&I(e),c=!1,g()}}}function IC(i){let e,t=i[2](i[21],i[26]===i[4])+"",n;return{c(){e=new pr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[21],l[26]===l[4])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function TC(i){return{c:ze,m:ze,p:ze,d:ze}}function zg(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:TC,then:PC,catch:yC,value:26};return es(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id),n),{c(){e=ve(),n.block.c()},m(l,r){T(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[21].label,i[1].fallbackLabelResolver,i[21].id))&&es(t,n)||J_(n,i,r)},d(l){l&&I(e),n.block.d(l),n.token=null,n=null}}}function Gg(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Kg(Vg(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-qht2wo")},m(l,r){T(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&21249){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Vg(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kg(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&&I(e),ot(n,l)}}}function qg(i){let e,t,n,l=i[14](i[21].label)+"",r,a,o,c,g,d;function h(){return i[19](i[21])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),o=z(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[21])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[9](i[21]))},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[le(t,"click",i[18]),le(e,"click",h)],g=!0)},p(p,m){i=p,m&16385&&l!==(l=i[14](i[21].label)+"")&&Te(r,l),m&257&&a!==(a=i[8](i[21]))&&f(t,"href",a),m&513&&c!==(c=i[9](i[21]))&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,$e(d)}}}function Kg(i){let e,t=i[21].position==="bottom"&&qg(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[21].position==="bottom"?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&&I(e)}}}function LC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Fg(i),c=i[3]&&i[3].length===0&&i[11]&&Hg(),g=i[3]&&i[3].length&&Wg(i),d=i[0]&&i[0].length&&Gg(i);return{c(){e=C("nav"),o&&o.c(),t=z(),n=C("ul"),c&&c.c(),l=z(),g&&g.c(),r=z(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-qht2wo")},m(h,p){T(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=Fg(h),o.c(),o.m(e,t)):o&&(o.d(1),o=null),h[3]&&h[3].length===0&&h[11]?c||(c=Hg(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),h[3]&&h[3].length?g?g.p(h,p):(g=Wg(h),g.c(),g.m(n,null)):g&&(g.d(1),g=null),h[0]&&h[0].length?d?d.p(h,p):(d=Gg(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-qht2wo")&&f(e,"class",a)},i:ze,o:ze,d(h){h&&I(e),o&&o.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}const AC=()=>{};function RC(i,e,t){let n,l=ze,r=()=>(l(),l=Mo(k,W=>t(14,n=W)),k);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:m}=e,{getRouteLink:b}=e,{getTestId:v}=e,{getTranslation:k}=e;r();let{isContextSwitcherDropdownShown:y}=e;const P=zt();function N(W){P("onActionClick",{node:W})}function A(W,K){P("goToOption",{option:W,selectedOption:K})}const E=W=>N(W),V=W=>{ke.handleNavAnchorClickedWithoutMetaKey(W)},D=W=>A(W,h),F=W=>{ke.handleNavAnchorClickedWithoutMetaKey(W)},M=W=>N(W);return i.$$set=W=>{"actions"in W&&t(0,a=W.actions),"config"in W&&t(1,o=W.config),"customOptionsRenderer"in W&&t(2,c=W.customOptionsRenderer),"options"in W&&t(3,g=W.options),"selectedLabel"in W&&t(4,d=W.selectedLabel),"selectedOption"in W&&t(5,h=W.selectedOption),"isMobile"in W&&t(6,p=W.isMobile),"getNodeName"in W&&t(7,m=W.getNodeName),"getRouteLink"in W&&t(8,b=W.getRouteLink),"getTestId"in W&&t(9,v=W.getTestId),"getTranslation"in W&&r(t(10,k=W.getTranslation)),"isContextSwitcherDropdownShown"in W&&t(11,y=W.isContextSwitcherDropdownShown)},[a,o,c,g,d,h,p,m,b,v,k,y,N,A,n,E,V,D,F,M]}class dp extends Vt{constructor(e){super(),Dt(this,e,RC,LC,Rt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTestId:9,getTranslation:10,isContextSwitcherDropdownShown:11,onActionClick:12,goToOption:13})}get onActionClick(){return this.$$.ctx[12]}get goToOption(){return this.$$.ctx[13]}}function Jg(i){let e,t,n,l=!i[9]&&jg(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Yg(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),T(a,e,o),r&&r.m(a,o),T(a,t,o),n=!0},p(a,o){a[9]?l&&(me(),B(l,1,1,()=>{l=null}),be()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=jg(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=Yg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(me(),B(r,1,1,()=>{r=null}),be())},i(a){n||(R(l),R(r),n=!0)},o(a){B(l),B(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function jg(i){let e,t,n,l,r,a,o,c,g,d;function h(b,v){return b[10]&&b[2]!==b[5].defaultLabel?DC:EC}let p=h(i),m=p(i);return a=new dp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),m.c(),l=z(),r=C("div"),Fe(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-11j1get"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-11j1get"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(b,v){T(b,e,v),w(e,t),w(t,n),m.m(n,null),w(t,l),w(t,r),Ve(a,r,null),c=!0,g||(d=le(n,"click",Mt(GC)),g=!0)},p(b,v){p===(p=h(b))&&m?m.p(b,v):(m.d(1),m=p(b),m&&(m.c(),m.m(n,null)));const k={};v[0]&1&&(k.actions=b[0]),v[0]&32&&(k.config=b[5]),v[0]&64&&(k.customOptionsRenderer=b[6]),v[0]&2&&(k.options=b[1]),v[0]&16&&(k.selectedLabel=b[4]),v[0]&4&&(k.selectedOption=b[2]),v[0]&512&&(k.isMobile=b[9]),v[0]&16384&&(k.isContextSwitcherDropdownShown=b[14]),a.$set(k),(!c||v[0]&256&&o!==(o=!b[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(b){c||(R(a.$$.fragment,b),c=!0)},o(b){B(a.$$.fragment,b),c=!1},d(b){b&&I(e),m.d(),Oe(a),g=!1,d()}}}function EC(i){let e,t,n,l,r,a;function o(d,h){return d[2]&&d[7]?OC:VC}let c=o(i),g=c(i);return{c(){e=C("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-11j1get"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,h){T(d,e,h),g.m(e,null),r||(a=le(e,"click",i[30]),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&&I(e),g.d(),r=!1,a()}}}function DC(i){let e,t,n,l,r,a,o;function c(h,p){return h[2]&&h[7]?BC:UC}let g=c(i),d=g(i);return{c(){e=C("a"),d.c(),f(e,"href",t=i[2]?i[20](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-11j1get"),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){T(h,e,p),d.m(e,null),a||(o=le(e,"click",At(i[29])),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[20](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&&I(e),d.d(),a=!1,o()}}}function VC(i){let e,t;function n(a,o){return a[4]?MC:FC}let l=n(i),r=l(i);return{c(){r.c(),e=z(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),T(a,e,o),T(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&&I(e),a&&I(t)}}}function OC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new pr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function MC(i){let e;return{c(){e=Ie(i[4])},m(t,n){T(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&I(e)}}}function FC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){T(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&I(t)}}}function UC(i){let e,t;function n(a,o){return a[4]?HC:WC}let l=n(i),r=l(i);return{c(){r.c(),e=z(),t=C("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),T(a,e,o),T(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&&I(e),a&&I(t)}}}function BC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new pr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function HC(i){let e;return{c(){e=Ie(i[4])},m(t,n){T(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&I(e)}}}function WC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){T(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&I(t)}}}function Yg(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v,k,y,P,N=!i[4]&&Qg(i),A=i[4]&&Zg(i);return d=new dp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[20],getTestId:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),a=C("h2"),N&&N.c(),o=z(),A&&A.c(),c=z(),g=C("div"),Fe(d.$$.fragment),h=z(),p=C("footer"),m=C("div"),b=C("div"),v=C("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(b,"class","fd-bar__element"),f(m,"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(E,V){T(E,e,V),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),N&&N.m(a,null),w(a,o),A&&A.m(a,null),w(t,c),w(t,g),Ve(d,g,null),w(t,h),w(t,p),w(p,m),w(m,b),w(b,v),k=!0,y||(P=[le(v,"click",i[13]),le(e,"click",Mt(qC))],y=!0)},p(E,V){E[4]?N&&(N.d(1),N=null):N?N.p(E,V):(N=Qg(E),N.c(),N.m(a,o)),E[4]?A?A.p(E,V):(A=Zg(E),A.c(),A.m(a,null)):A&&(A.d(1),A=null);const D={};V[0]&1&&(D.actions=E[0]),V[0]&32&&(D.config=E[5]),V[0]&64&&(D.customOptionsRenderer=E[6]),V[0]&2&&(D.options=E[1]),V[0]&16&&(D.selectedLabel=E[4]),V[0]&4&&(D.selectedOption=E[2]),V[0]&512&&(D.isMobile=E[9]),V[0]&16384&&(D.isContextSwitcherDropdownShown=E[14]),d.$set(D)},i(E){k||(R(d.$$.fragment,E),k=!0)},o(E){B(d.$$.fragment,E),k=!1},d(E){E&&I(e),N&&N.d(),A&&A.d(),Oe(d),y=!1,$e(P)}}}function Qg(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ie(e)},m(n,l){T(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Te(t,e)},d(n){n&&I(t)}}}function Zg(i){let e;return{c(){e=Ie(i[4])},m(t,n){T(t,e,n)},p(t,n){n[0]&16&&Te(e,t[4])},d(t){t&&I(e)}}}function zC(i){let e,t,n=i[3]&&Jg(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Jg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}const GC=()=>{},qC=()=>{};function KC(i,e,t){let n,l;const r=zt();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:m}=e,{fallbackLabelResolver:b=null}=e,{pathParams:v}=e,{customOptionsRenderer:k}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:N=!1}=e,{defaultLabel:A}=e,E,V=pt("getUnsavedChangesModalPromise"),D=pt("store"),F=pt("getTranslation");Ci(i,F,re=>t(16,l=re));let M=!1,{addNavHrefForAnchor:W}=e,K;Jt(async()=>{dn.doOnStoreChange(D,async()=>{const re=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,k=se.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=se.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,g=re),t(1,h=void 0),re)){t(28,p=re.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Me=it.getCurrentPath();t(21,b=re.fallbackLabelResolver),pn.resetFallbackLabelCache(),re.lazyloadOptions||await G(),pn.isContextSwitcherDetailsView(Me,re.parentNodePath)&&await J(Me)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(re=>J(re)),Mn.addEventListener("message",re=>{Re.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,h=null),G())}),t(22,A=g.defaultLabel)}),Kn(()=>{M!==N&&(M=N,G()),t(14,K=o.contextSwitcherPopover||!1)});function Q(re,Me,$){return re?Promise.resolve(re):pn.getFallbackLabel(Me,$)}function ce(re){return re.testId?re.testId:ke.prepareForTests(re.pathSegment,re.label)}function Ce(re){return we.getNodeHref(re,v)}async function G(){t(1,h=await pn.fetchOptions(h));const re=g||{},Me=re.parentNodePath,$=re.fallbackLabelResolver,j=it.getCurrentPath();t(2,m=await pn.getSelectedOption(j,h,Me)),t(4,c=await pn.getSelectedLabel(j,h,Me,$)),await pn.getSelectedNode(j,h,Me),E=re.preserveSubPathOnSwitch}async function J(re){const Me=g||{},$=Me.parentNodePath,j=Me.fallbackLabelResolver;t(2,m=await pn.getSelectedOption(re,h,$)),t(4,c=await pn.getSelectedLabel(re,h,$,j)),await pn.getSelectedNode(re,h,$)}async function fe(re){let Me=re.detail.node;Me.clickHandler&&!await Me.clickHandler(Me)||(setTimeout(()=>{te(Me.link)}),P&&r("toggleDropdownState"))}function te(re){V().then(()=>{it.navigateTo(re)},()=>{})}function x(re){let Me=re.detail.option,$=re.detail.selectedOption;V().then(()=>{E&&$?it.navigateTo(pn.getNodePathFromCurrentPath(Me,$)):it.navigateTo(Me.link),P&&r("toggleDropdownState")},()=>{})}function Le(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&G()}const ie=()=>{n&&Le()},Ee=()=>{n&&Le()};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,m=re.selectedOption),"fallbackLabelResolver"in re&&t(21,b=re.fallbackLabelResolver),"pathParams"in re&&t(23,v=re.pathParams),"customOptionsRenderer"in re&&t(6,k=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(24,N=re.contextSwitcherToggle),"defaultLabel"in re&&t(22,A=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,W=re.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&268435463&&t(15,n=p||d&&d.length>0||h&&h.length>1||!m)},[d,h,m,a,c,g,k,y,o,P,W,fe,x,Le,K,n,l,F,Q,ce,Ce,b,A,v,N,G,J,te,p,ie,Ee]}class gp extends Vt{constructor(e){super(),Dt(this,e,KC,zC,Rt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:21,pathParams:23,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:24,defaultLabel:22,addNavHrefForAnchor:10,fetchOptions:25,setSelectedContext:26,onActionClick:11,goToPath:27,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[25]}get setSelectedContext(){return this.$$.ctx[26]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[27]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:JC}=cl;function Xg(i,e,t){const n=i.slice();return n[22]=e[t],n}function $g(i){let e,t,n,l=!i[2]&&xg(i),r=i[2]&&i[3].productSwitcherPopover&&lh(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),T(a,e,o),r&&r.m(a,o),T(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=xg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=lh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(me(),B(r,1,1,()=>{r=null}),be())},i(a){n||(R(r),n=!0)},o(a){B(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function xg(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v,k,y;function P(D,F){return F&2&&(a=null),a==null&&(a=!!D[11](D[1])),a?YC:jC}let N=P(i,-1),A=N(i),E=i[0],V=[];for(let D=0;D<E.length;D+=1)V[D]=ih(Xg(i,E,D));return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),A.c(),d=z(),h=C("div"),p=C("div"),m=C("ul");for(let D=0;D<V.length;D+=1)V[D].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(m,"class","fd-product-switch__list"),f(p,"class",b=ii(i[9])+" svelte-1e1qi56"),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(D,F){T(D,e,F),w(e,t),w(t,n),w(n,l),w(l,r),A.m(r,null),w(n,d),w(n,h),w(h,p),w(p,m);for(let M=0;M<V.length;M+=1)V[M].m(m,null);k||(y=[le(r,"click",Mt(i[7])),le(l,"click",Mt(ny))],k=!0)},p(D,F){if(N===(N=P(D,F))&&A?A.p(D,F):(A.d(1),A=N(D),A&&(A.c(),A.m(r,null))),F&8&&o!==(o=D[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),F&2&&c!==(c=D[1].label)&&f(r,"title",c),F&2&&g!==(g=D[14](D[1]))&&f(r,"data-testid",g),F&64561){E=D[0];let M;for(M=0;M<E.length;M+=1){const W=Xg(D,E,M);V[M]?V[M].p(W,F):(V[M]=ih(W),V[M].c(),V[M].m(m,null))}for(;M<V.length;M+=1)V[M].d(1);V.length=E.length}F&512&&b!==(b=ii(D[9])+" svelte-1e1qi56")&&f(p,"class",b),F&8&&v!==(v=!D[3].productSwitcherPopover)&&f(h,"aria-hidden",v)},d(D){D&&I(e),A.d(),ot(V,D),k=!1,$e(y)}}}function jC(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&2&&!Je(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function YC(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){T(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&I(e)}}}function eh(i){let e,t,n,l,r,a;function o(h,p){return h[4]?ZC:QC}let c=o(i),g=c(i);function d(){return i[17](i[22])}return{c(){e=C("li"),g.c(),t=z(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(h,p){T(h,e,p),g.m(e,null),w(e,t),r||(a=le(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&&I(e),g.d(),r=!1,a()}}}function QC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,g=i[13](i[22]);function d(b,v){return v&1&&(t=null),t==null&&(t=!!b[11](b[22])),t?$C:XC}let h=d(i,-1),p=h(i),m=g&&th(i);return{c(){e=C("div"),p.c(),n=z(),l=C("div"),r=C("div"),o=Ie(a),c=z(),m&&m.c(),f(e,"class","lui-product-switch__icon svelte-1e1qi56"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(b,v){T(b,e,v),p.m(e,null),T(b,n,v),T(b,l,v),w(l,r),w(r,o),w(l,c),m&&m.m(l,null)},p(b,v){h===(h=d(b,v))&&p?p.p(b,v):(p.d(1),p=h(b),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=b[12](b[22])+"")&&Te(o,a),v&1&&(g=b[13](b[22])),g?m?m.p(b,v):(m=th(b),m.c(),m.m(l,null)):m&&(m.d(1),m=null)},d(b){b&&I(e),p.d(),b&&I(n),b&&I(l),m&&m.d()}}}function ZC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,g,d=i[13](i[22]),h,p,m;function b(P,N){return N&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?ey:xC}let v=b(i,-1),k=v(i),y=d&&nh(i);return{c(){e=C("a"),t=C("div"),k.c(),l=z(),r=C("div"),a=C("div"),c=Ie(o),g=z(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-1e1qi56"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",h=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,N){T(P,e,N),w(e,t),k.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,g),y&&y.m(r,null),p||(m=le(e,"click",i[16]),p=!0)},p(P,N){v===(v=b(P,N))&&k?k.p(P,N):(k.d(1),k=v(P),k&&(k.c(),k.m(t,null))),N&1&&o!==(o=P[12](P[22])+"")&&Te(c,o),N&1&&(d=P[13](P[22])),d?y?y.p(P,N):(y=nh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),N&1&&h!==(h=P[15](P[22]))&&f(e,"href",h)},d(P){P&&I(e),k.d(),y&&y.d(),p=!1,m()}}}function XC(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function $C(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&I(e)}}}function th(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&I(e)}}}function xC(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-1e1qi56")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function ey(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-1e1qi56")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-1e1qi56")&&f(e,"class",t)},d(n){n&&I(e)}}}function nh(i){let e,t=i[13](i[22])+"",n;return{c(){e=C("div"),n=Ie(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){T(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Te(n,t)},d(l){l&&I(e)}}}function ih(i){let e,t=i[22].label&&eh(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=eh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function lh(i){let e,t;return e=new fp({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13],getTestId:i[14]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function ty(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&$g(i);return{c(){a&&a.c(),t=ve()},m(o,c){a&&a.m(o,c),T(o,t,c),n=!0,l||(r=le(JC,"resize",as),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=$g(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(me(),B(a,1,1,()=>{a=null}),be())},i(o){n||(R(a),n=!0)},o(o){B(a),n=!1},d(o){a&&a.d(o),o&&I(t),l=!1,r()}}}function as(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const ny=()=>{};function iy(i,e,t){const n=zt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=pt("store"),g=pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:h}=e;Jt(async()=>{dn.doOnStoreChange(c,async()=>{t(1,a=ke.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),N()),as()},["navigation.productSwitcher"])});function p(F){g().then(()=>{it.navigateToLink(F)},()=>{}),b()}function m(F){p(F.detail)}function b(){n("toggleDropdownState")}function v(F){return ke.renderIconClassName(F)}function k(F){return ke.isOpenUIiconName(F.icon)}function y(F){return bt.getTranslation(F.label)}function P(F){return bt.getTranslation(F.subTitle)}function N(){ke.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function A(F){return F.testId?F.testId:ke.prepareForTests(F.label)}function E(F){return we.getNodeHref(F)}const V=F=>{ke.handleNavAnchorClickedWithoutMetaKey(F)},D=F=>p(F);return i.$$set=F=>{"productSwitcherItems"in F&&t(0,l=F.productSwitcherItems),"isMobile"in F&&t(2,r=F.isMobile),"config"in F&&t(1,a=F.config),"dropDownStates"in F&&t(3,o=F.dropDownStates),"addNavHrefForAnchor"in F&&t(4,h=F.addNavHrefForAnchor)},[l,a,r,o,h,p,m,b,as,d,v,k,y,P,A,E,V,D]}class hp extends Vt{constructor(e){super(),Dt(this,e,iy,ty,Rt,{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 as}}function rh(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ly(i){let e,t,n;return{c(){e=C("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-17k2cvd"),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){T(l,e,r),i[19](e),e.focus(),t||(n=le(e,"keyup",i[18]),t=!0)},p:ze,d(l){l&&I(e),i[19](null),t=!1,n()}}}function ry(i){let e;return{c(){e=C("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-17k2cvd"),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){T(t,e,n),e.focus()},p:ze,d(t){t&&I(e)}}}function ay(i){let e;return{c(){e=C("div")},m(t,n){T(t,e,n),i[23](e)},p:ze,d(t){t&&I(e),i[23](null)}}}function sy(i){let e,t,n,l=i[5]&&ah(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu svelte-17k2cvd"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-17k2cvd"),f(e,"aria-hidden",n=!i[0])},m(r,a){T(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=ah(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&&I(e),l&&l.d()}}}function ah(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=sh(rh(i,t,l));return{c(){e=C("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){T(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[22](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=rh(l,t,a);n[a]?n[a].p(o,r):(n[a]=sh(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&&I(e),ot(n,l),i[22](null)}}}function oy(i){let e,t=i[10](i[31],i[3],i[33])+"",n;return{c(){e=new pr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[31],l[3],l[33])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function uy(i){let e,t,n,l=i[31].label+"",r,a,o,c=i[31].description+"",g,d,h;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ie(l),a=z(),o=C("div"),g=Ie(c),f(n,"class","fd-product-switch__title svelte-17k2cvd"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-17k2cvd")},m(p,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(h=le(e,"click",At(cy)),d=!0)},p(p,m){m[0]&32&&l!==(l=p[31].label+"")&&Te(r,l),m[0]&32&&c!==(c=p[31].description+"")&&Te(g,c)},d(p){p&&I(e),d=!1,h()}}}function sh(i){let e,t,n,l;function r(d,h){return d[9]?oy:uy}let a=r(i),o=a(i);function c(...d){return i[20](i[31],...d)}function g(...d){return i[21](i[31],...d)}return{c(){e=C("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[33]+" svelte-17k2cvd"),f(e,"tabindex","0")},m(d,h){T(d,e,h),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(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&&I(e),o.d(),n=!1,$e(l)}}}function fy(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v,k,y;function P(F,M){return F[7]&&F[7].disableInputHandlers?ry:ly}let N=P(i),A=N(i);function E(F,M){return F[8]?ay:sy}let V=E(i),D=V(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),A.c(),r=z(),a=C("div"),o=z(),D.c(),d=z(),h=C("div"),p=C("div"),m=C("button"),b=C("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-17k2cvd"),f(n,"aria-hidden",c=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-17k2cvd"),f(e,"class",g="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-17k2cvd"),f(b,"class","sap-icon sap-icon--search"),f(m,"class","fd-button fd-button--transparent fd-shellbar__button"),f(m,"aria-haspopup","true"),f(m,"aria-expanded",v=!i[4]),f(m,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(F,M){T(F,e,M),w(e,t),w(t,n),w(n,l),A.m(l,null),w(l,r),w(l,a),w(n,o),D.m(n,null),T(F,d,M),T(F,h,M),w(h,p),w(p,m),w(m,b),k||(y=[le(window,"click",i[11]),le(window,"blur",i[11]),le(n,"click",Mt(dy)),le(m,"click",i[6]),le(p,"click",Mt(gy))],k=!0)},p(F,M){N===(N=P(F))&&A?A.p(F,M):(A.d(1),A=N(F),A&&(A.c(),A.m(l,r))),V===(V=E(F))&&D?D.p(F,M):(D.d(1),D=V(F),D&&(D.c(),D.m(n,null))),M[0]&16&&c!==(c=!F[4])&&f(n,"aria-hidden",c),M[0]&16&&g!==(g="fd-shellbar__action "+(F[4]?"luigi-search-shell__mobile":"")+" svelte-17k2cvd")&&f(e,"class",g),M[0]&16&&v!==(v=!F[4])&&f(m,"aria-expanded",v)},i:ze,o:ze,d(F){F&&I(e),A.d(),D.d(),F&&I(d),F&&I(h),k=!1,$e(y)}}}const cy=()=>{},dy=()=>{},gy=()=>{};function hy(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:a}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:d}=e;const h=zt(),p={fireItemSelected:te=>{m.searchProvider.onSearchResultItemSelected(te)}};let m={},b,v;Jt(async()=>{t(7,m=d);let te=o;const x=y(m.searchProvider);x&&(te.placeholder=x),k()}),Kn(()=>{t(7,m=d),k()});function k(){m.searchProvider&&(t(8,b=se.isFunction(m.searchProvider.customSearchResultRenderer)),t(9,v=se.isFunction(m.searchProvider.customSearchResultItemRenderer)))}function y(te){if(!te||!te.inputPlaceholder)return;const x=bt.getCurrentLocale();if(se.isFunction(te.inputPlaceholder))return te.inputPlaceholder();if(typeof te.inputPlaceholder=="string"){const Le=bt.getTranslation(te.inputPlaceholder);return Le&&Le.trim().length>0?Le:te.inputPlaceholder}if(typeof te.inputPlaceholder=="object")return te.inputPlaceholder[x]}function P(te,x,Le){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(te,x.children[Le],p)}),""}function N(){h("closeSearchResult")}function A({keyCode:te}){m&&m.searchProvider?se.isFunction(m.searchProvider.onEnter)&&te===Si?m.searchProvider.onEnter():se.isFunction(m.searchProvider.onEscape)&&te===ki?m.searchProvider.onEscape():te===zi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):se.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function E(te){let x=g.children;if(x)for(let Le=0;Le<x.length;Le++){let{childNodes:ie,nextSibling:Ee,previousSibling:re}=x[Le],Me;if(ie[0].getAttribute("aria-selected")==="true"){te===zi&&(Me=Ee!==null?Ee:x[0]),te===Fl&&(Me=re!==null?re:x[x.length-1]),ie[0].setAttribute("aria-selected","false"),Me.childNodes[0].setAttribute("aria-selected","true"),Me.focus();break}}}function V(){let te=g.children;if(te)for(let x=0;x<te.length;x++){let Le=te[x];Le.childNodes[0].getAttribute("aria-selected")==="true"&&Le.childNodes[0].setAttribute("aria-selected","false")}}function D(te){m&&se.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(te):se.isFunction(m.searchProvider.onEscape)&&event.keyCode===ki&&m.searchProvider.onEscape()}function F(te,{keyCode:x}){x===Si&&m.searchProvider.onSearchResultItemSelected(te),x===Fl||x===zi?E(x):se.isFunction(m.searchProvider.onEscape)&&x===ki&&(V(),setTimeout(()=>{o.focus()}),m.searchProvider.onEscape())}function M(te){let x=te.pathObject;x.externalLink?it.navigateToLink(x):h("handleSearchNavigation",{node:x})}function W(){o&&o.focus()}function K(){if(n?t(0,r=!1):setTimeout(()=>{W()}),h("toggleSearch",{isSearchFieldVisible:n,inputElem:o,luigiCustomSearchRenderer__slot:c}),m&&m.searchProvider&&se.isFunction(m.searchProvider.toggleSearch)){const te=n===void 0?!0:!n;m.searchProvider.toggleSearch(o,te)}}const Q=te=>A(te);function ce(te){Ye[te?"unshift":"push"](()=>{o=te,t(1,o)})}const Ce=(te,x)=>D(te),G=(te,x)=>F(te,x);function J(te){Ye[te?"unshift":"push"](()=>{g=te,t(3,g)})}function fe(te){Ye[te?"unshift":"push"](()=>{c=te,t(2,c)})}return i.$$set=te=>{"isSearchFieldVisible"in te&&t(4,n=te.isSearchFieldVisible),"searchResult"in te&&t(5,l=te.searchResult),"displaySearchResult"in te&&t(0,r=te.displaySearchResult),"displayCustomSearchResult"in te&&t(15,a=te.displayCustomSearchResult),"inputElem"in te&&t(1,o=te.inputElem),"luigiCustomSearchRenderer__slot"in te&&t(2,c=te.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in te&&t(3,g=te.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in te&&t(16,d=te.globalSearchConfig)},[r,o,c,g,n,l,K,m,b,v,P,N,A,D,F,a,d,M,Q,ce,Ce,G,J,fe]}class _y extends Vt{constructor(e){super(),Dt(this,e,hy,fy,Rt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,displayCustomSearchResult:15,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:16,onActionClick:17,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[17]}get toggleSearch(){return this.$$.ctx[6]}}function oh(i,e,t){const n=i.slice();return n[40]=e[t],n[42]=t,n}function py(i){let e,t,n,l,r,a,o,c,g,d,h;return{c(){e=C("input"),t=z(),n=C("div"),l=C("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=z(),a=C("div"),o=C("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=z(),g=C("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-av5ckm"),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-av5ckm"),f(g,"class","fd-shellbar__search-field-helper")},m(p,m){T(p,e,m),i[25](e),T(p,t,m),T(p,n,m),w(n,l),T(p,r,m),T(p,a,m),w(a,o),T(p,c,m),T(p,g,m),d||(h=[le(e,"keyup",i[24]),le(e,"input",i[26]),le(l,"click",i[18]),le(o,"click",i[16])],d=!0)},p:ze,d(p){p&&I(e),i[25](null),p&&I(t),p&&I(n),p&&I(r),p&&I(a),p&&I(c),p&&I(g),d=!1,$e(h)}}}function my(i){let e;return{c(){e=C("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){T(t,e,n)},p:ze,d(t){t&&I(e)}}}function by(i){let e;return{c(){e=C("div")},m(t,n){T(t,e,n),i[30](e)},p:ze,d(t){t&&I(e),i[30](null)}}}function vy(i){let e,t,n,l=i[4]&&uh(i);return{c(){e=C("div"),t=C("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-av5ckm"),f(e,"aria-hidden",n=!i[0])},m(r,a){T(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=uh(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&&I(e),l&&l.d()}}}function uh(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=fh(oh(i,t,l));return{c(){e=C("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){T(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[29](e)},p(l,r){if(r[0]&1582104){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=oh(l,t,a);n[a]?n[a].p(o,r):(n[a]=fh(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&&I(e),ot(n,l),i[29](null)}}}function wy(i){let e,t=i[13](i[40],i[3],i[42])+"",n;return{c(){e=new pr(!1),n=ve(),e.a=n},m(l,r){e.m(t,l,r),T(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[40],l[3],l[42])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function ky(i){let e,t,n,l=i[40].label+"",r,a,o,c=i[40].description+"",g,d,h;return{c(){e=C("a"),t=C("div"),n=C("div"),r=Ie(l),a=z(),o=C("div"),g=Ie(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,m){T(p,e,m),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(h=le(e,"click",At(Cy)),d=!0)},p(p,m){m[0]&16&&l!==(l=p[40].label+"")&&Te(r,l),m[0]&16&&c!==(c=p[40].description+"")&&Te(g,c)},d(p){p&&I(e),d=!1,h()}}}function fh(i){let e,t,n,l;function r(d,h){return d[10]?wy:ky}let a=r(i),o=a(i);function c(...d){return i[27](i[40],...d)}function g(...d){return i[28](i[40],...d)}return{c(){e=C("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[42]+" svelte-av5ckm"),f(e,"tabindex","0")},m(d,h){T(d,e,h),o.m(e,null),w(e,t),n||(l=[le(e,"click",c),le(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&&I(e),o.d(),n=!1,$e(l)}}}function ch(i){let e,t,n,l,r,a,o;return{c(){e=C("div"),t=C("div"),n=C("button"),l=C("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-av5ckm")},m(c,g){T(c,e,g),w(e,t),w(t,n),w(n,l),a||(o=[le(n,"click",i[6]),le(t,"click",Mt(Py))],a=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&I(e),a=!1,$e(o)}}}function dh(i){let e,t,n=i[11](i[7])+"",l,r,a,o,c;return{c(){e=C("div"),t=C("button"),l=Ie(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-av5ckm"),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-av5ckm")},m(g,d){T(g,e,d),w(e,t),w(t,l),o||(c=le(t,"click",Mt(i[31])),o=!0)},p(g,d){d[0]&2176&&n!==(n=g[11](g[7])+"")&&Te(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-av5ckm")&&f(e,"class",a)},d(g){g&&I(e),o=!1,c()}}}function Sy(i){let e,t,n,l,r,a,o,c,g,d,h,p;function m(E,V){return E[8]&&E[8].disableInputHandlers?my:py}let b=m(i),v=b(i);function k(E,V){return E[9]?by:vy}let y=k(i),P=y(i),N=!i[5]&&ch(i),A=i[5]&&dh(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),v.c(),r=z(),P.c(),c=z(),N&&N.c(),g=z(),A&&A.c(),d=ve(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-av5ckm"),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-av5ckm"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-av5ckm")},m(E,V){T(E,e,V),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),T(E,c,V),N&&N.m(E,V),T(E,g,V),A&&A.m(E,V),T(E,d,V),h||(p=[le(window,"click",i[14]),le(window,"blur",i[14]),le(n,"click",Mt(yy))],h=!0)},p(E,V){b===(b=m(E))&&v?v.p(E,V):(v.d(1),v=b(E),v&&(v.c(),v.m(l,null))),y===(y=k(E))&&P?P.p(E,V):(P.d(1),P=y(E),P&&(P.c(),P.m(n,null))),V[0]&32&&a!==(a=!E[5])&&f(n,"aria-hidden",a),V[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(E[5]?"lui-global-search-mobile--active":"")+" svelte-av5ckm")&&f(e,"class",o),E[5]?N&&(N.d(1),N=null):N?N.p(E,V):(N=ch(E),N.c(),N.m(g.parentNode,g)),E[5]?A?A.p(E,V):(A=dh(E),A.c(),A.m(d.parentNode,d)):A&&(A.d(1),A=null)},i:ze,o:ze,d(E){E&&I(e),v.d(),P.d(),E&&I(c),N&&N.d(E),E&&I(g),A&&A.d(E),E&&I(d),h=!1,$e(p)}}}const Cy=()=>{},yy=()=>{},Py=()=>{};function Ny(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{displayCustomSearchResult:a}=e,{inputElem:o}=e,{luigiCustomSearchRenderer__slot:c}=e,{luigiCustomSearchItemRenderer__slotContainer:g}=e,{globalSearchConfig:d}=e;const h=zt(),p={fireItemSelected:j=>{v.searchProvider.onSearchResultItemSelected(j)}};let m=ul.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,v={},k,y,P=pt("getTranslation");Ci(i,P,j=>t(11,n=j)),Jt(async()=>{t(8,v=d),t(7,m=v.globalSearchCenteredCancelButton?v.globalSearchCenteredCancelButton:m);let j=o;const pe=A(v.searchProvider);pe&&(j.placeholder=pe),N(),qf.handleVisibilityGlobalSearch();const Ke=document.querySelector(".lui-global-search");Ke&&new ResizeObserver(ge=>{qf.handleVisibilityGlobalSearch()}).observe(Ke)}),Kn(()=>{t(8,v=d),N(),M()});function N(){t(9,k=v.searchProvider&&se.isFunction(v.searchProvider.customSearchResultRenderer)),t(10,y=v.searchProvider&&se.isFunction(v.searchProvider.customSearchResultItemRenderer))}function A(j){if(!j||!j.inputPlaceholder)return;const pe=bt.getCurrentLocale();if(se.isFunction(j.inputPlaceholder))return j.inputPlaceholder();if(typeof j.inputPlaceholder=="string"){const Ke=bt.getTranslation(j.inputPlaceholder);return Ke&&Ke.trim().length>0?Ke:j.inputPlaceholder}if(typeof j.inputPlaceholder=="object")return j.inputPlaceholder[pe]}function E(j,pe,Ke){return setTimeout(()=>{v.searchProvider.customSearchResultItemRenderer(j,pe.children[Ke],p)}),""}function V(){h("closeSearchResult")}function D({keyCode:j}){v?se.isFunction(v.searchProvider.onEnter)&&j===Si?v.searchProvider.onEnter():se.isFunction(v.searchProvider.onEscape)&&j===ki?v.searchProvider.onEscape():j===zi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):se.isFunction(v.searchProvider.onInput)&&v.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){v&&se.isFunction(v.searchProvider.onSearchBtnClick)&&v.searchProvider.onSearchBtnClick()}function M(){o&&o.value}function W(){t(1,o.value="",o),V()}function K(j){let pe=g.children;if(pe)for(let Ke=0;Ke<pe.length;Ke++){let{childNodes:Ue,nextSibling:ge,previousSibling:Qe}=pe[Ke],xe;if(Ue[0].getAttribute("aria-selected")==="true"){j===zi&&(xe=ge!==null?ge:pe[0]),j===Fl&&(xe=Qe!==null?Qe:pe[pe.length-1]),Ue[0].setAttribute("aria-selected","false"),xe.childNodes[0].setAttribute("aria-selected","true"),xe.focus();break}}}function Q(){let j=g.children;if(j)for(let pe=0;pe<j.length;pe++){let Ke=j[pe];Ke.childNodes[0].getAttribute("aria-selected")==="true"&&Ke.childNodes[0].setAttribute("aria-selected","false")}}function ce(j){v&&se.isFunction(v.searchProvider.onSearchResultItemSelected)?v.searchProvider.onSearchResultItemSelected(j):se.isFunction(v.searchProvider.onEscape)&&event.keyCode===ki&&v.searchProvider.onEscape()}function Ce(j,{keyCode:pe}){pe===Si&&v.searchProvider.onSearchResultItemSelected(j),pe===Fl||pe===zi?K(pe):se.isFunction(v.searchProvider.onEscape)&&pe===ki&&(Q(),setTimeout(()=>{o.focus()}),v.searchProvider.onEscape())}function G(j){let pe=j.pathObject;pe.externalLink?it.navigateToLink(pe):h("handleSearchNavigation",{node:pe})}function J(){o&&o.focus()}function fe(){if(b?t(0,r=!1):setTimeout(()=>{J()}),h("toggleSearch",{isSearchFieldVisible:b,inputElem:o,luigiCustomSearchRenderer__slot:c}),se.isFunction(v.searchProvider.toggleSearch)){const j=b===void 0?!0:!b;v.searchProvider.toggleSearch(o,j)}}const te=j=>D(j);function x(j){Ye[j?"unshift":"push"](()=>{o=j,t(1,o)})}const Le=()=>M(),ie=(j,pe)=>ce(j),Ee=(j,pe)=>Ce(j,pe);function re(j){Ye[j?"unshift":"push"](()=>{g=j,t(3,g)})}function Me(j){Ye[j?"unshift":"push"](()=>{c=j,t(2,c)})}const $=()=>fe();return i.$$set=j=>{"searchResult"in j&&t(4,l=j.searchResult),"displaySearchResult"in j&&t(0,r=j.displaySearchResult),"displayCustomSearchResult"in j&&t(21,a=j.displayCustomSearchResult),"inputElem"in j&&t(1,o=j.inputElem),"luigiCustomSearchRenderer__slot"in j&&t(2,c=j.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in j&&t(3,g=j.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in j&&t(22,d=j.globalSearchConfig),"isSearchFieldVisible"in j&&t(5,b=j.isSearchFieldVisible)},[r,o,c,g,l,b,fe,m,v,k,y,n,P,E,V,D,F,M,W,ce,Ce,a,d,G,te,x,Le,ie,Ee,re,Me,$]}class Iy extends Vt{constructor(e){super(),Dt(this,e,Ny,Sy,Rt,{searchResult:4,displaySearchResult:0,displayCustomSearchResult:21,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:22,isSearchFieldVisible:5,onActionClick:23,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[23]}get toggleSearch(){return this.$$.ctx[6]}}function gh(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?Ly:Ty}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function Ty(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon sap-icon"),Je(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function Ly(i){let e,t;return{c(){e=C("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){T(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&&I(e)}}}function hh(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new qn({props:{node:i[0]}}),{c(){e=C("span"),n=Ie(t),l=z(),Fe(r.$$.fragment)},m(o,c){T(o,e,c),w(e,n),w(e,l),Ve(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Te(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){B(r.$$.fragment,o),a=!1},d(o){o&&I(e),Oe(r)}}}function Ay(i){let e,t,n,l=i[0].icon&&gh(i),r=(!i[0].icon||i[0].showLabel)&&hh(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),T(a,e,o),r&&r.m(a,o),T(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=gh(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=hh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(me(),B(r,1,1,()=>{r=null}),be())},i(a){n||(R(r),n=!0)},o(a){B(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function Ry(i,e,t){let{node:n}=e;function l(o){return ke.isOpenUIiconName(o.icon)}function r(o){return ke.renderIconClassName(o)}function a(o){return ke.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Bo extends Vt{constructor(e){super(),Dt(this,e,Ry,Ay,Rt,{node:0})}}const{Boolean:_p,window:_h}=cl;function ph(i,e,t){const n=i.slice();return n[111]=e[t],n[113]=t,n}function mh(i,e,t){const n=i.slice();return n[111]=e[t],n[114]=e,n[113]=t,n}function Ey(i){let e,t;return e=new up({props:{isHidden:!0,addNavHrefForAnchor:i[28]}}),e.$on("toggleDropdownState",i[103]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.addNavHrefForAnchor=n[28]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Dy(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&bh(i);function v(V){i[59](V)}let k={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[28]};i[6]!==void 0&&(k.dropDownStates=i[6]),l=new ZS({props:k}),Ye.push(()=>ct(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&vh(i),P=(!i[0]||i[1])&&wh(i),N=(i[18]||i[7]&&i[30].length>0)&&Sh(i),A=(i[0]||i[16])&&Uh(i),E=i[12]&&Bh(i);return{c(){e=C("div"),t=C("div"),b&&b.c(),n=z(),Fe(l.$$.fragment),a=z(),y&&y.c(),o=z(),c=C("div"),P&&P.c(),g=z(),N&&N.c(),d=z(),A&&A.c(),h=z(),E&&E.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-1kyy3lw"),f(e,"tabindex","0")},m(V,D){T(V,e,D),w(e,t),b&&b.m(t,null),w(t,n),Ve(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),N&&N.m(c,null),w(c,d),A&&A.m(c,null),w(c,h),E&&E.m(c,null),m=!0},p(V,D){V[3]==="simple"||V[3]==="simpleMobileOnly"||V[3]==="Fiori3"?b?b.p(V,D):(b=bh(V),b.c(),b.m(t,n)):b&&(b.d(1),b=null);const F={};D[0]&1073741824&&(F.pathData=V[30]),D[1]&1&&(F.pathParams=V[31]),D[0]&268435456&&(F.addNavHrefForAnchor=V[28]),!r&&D[0]&64&&(r=!0,F.dropDownStates=V[6],ft(()=>r=!1)),l.$set(F),V[18]&&V[19]?y?(y.p(V,D),D[0]&786432&&R(y,1)):(y=vh(V),y.c(),R(y,1),y.m(e,o)):y&&(me(),B(y,1,1,()=>{y=null}),be()),!V[0]||V[1]?P?(P.p(V,D),D[0]&3&&R(P,1)):(P=wh(V),P.c(),R(P,1),P.m(c,g)):P&&(me(),B(P,1,1,()=>{P=null}),be()),V[18]||V[7]&&V[30].length>0?N?(N.p(V,D),D[0]&1074004096&&R(N,1)):(N=Sh(V),N.c(),R(N,1),N.m(c,d)):N&&(me(),B(N,1,1,()=>{N=null}),be()),V[0]||V[16]?A?(A.p(V,D),D[0]&65537&&R(A,1)):(A=Uh(V),A.c(),R(A,1),A.m(c,h)):A&&(me(),B(A,1,1,()=>{A=null}),be()),V[12]?E?(E.p(V,D),D[0]&4096&&R(E,1)):(E=Bh(V),E.c(),R(E,1),E.m(c,null)):E&&(me(),B(E,1,1,()=>{E=null}),be()),(!m||D[0]&134217732&&p!==(p="fd-shellbar "+(V[27]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(V[2]?"hideNavComponent":"")+" svelte-1kyy3lw"))&&f(e,"class",p)},i(V){m||(R(l.$$.fragment,V),R(y),R(P),R(N),R(A),R(E),m=!0)},o(V){B(l.$$.fragment,V),B(y),B(P),B(N),B(A),B(E),m=!1},d(V){V&&I(e),b&&b.d(),Oe(l),y&&y.d(),P&&P.d(),N&&N.d(),A&&A.d(),E&&E.d()}}}function bh(i){let e,t,n,l;return{c(){e=C("button"),t=C("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-1kyy3lw"),f(e,"tabindex","0"),f(e,"title",i[26])},m(r,a){T(r,e,a),w(e,t),n||(l=le(e,"click",i[53]),n=!0)},p(r,a){a[0]&67108864&&f(e,"title",r[26])},d(r){r&&I(e),n=!1,l()}}}function vh(i){let e,t,n,l,r,a,o,c,g;function d(y){i[60](y)}function h(y){i[61](y)}function p(y){i[62](y)}function m(y){i[63](y)}function b(y){i[64](y)}function v(y){i[65](y)}let k={globalSearchConfig:i[18]};return i[20]!==void 0&&(k.isSearchFieldVisible=i[20]),i[25]!==void 0&&(k.searchResult=i[25]),i[23]!==void 0&&(k.displaySearchResult=i[23]),i[24]!==void 0&&(k.displayCustomSearchResult=i[24]),i[21]!==void 0&&(k.inputElem=i[21]),i[22]!==void 0&&(k.luigiCustomSearchRenderer__slot=i[22]),t=new Iy({props:k}),Ye.push(()=>ct(t,"isSearchFieldVisible",d,i[20])),Ye.push(()=>ct(t,"searchResult",h,i[25])),Ye.push(()=>ct(t,"displaySearchResult",p,i[23])),Ye.push(()=>ct(t,"displayCustomSearchResult",m,i[24])),Ye.push(()=>ct(t,"inputElem",b,i[21])),Ye.push(()=>ct(t,"luigiCustomSearchRenderer__slot",v,i[22])),t.$on("toggleSearch",i[66]),t.$on("handleSearchNavigation",i[67]),t.$on("closeSearchResult",i[68]),{c(){e=C("div"),Fe(t.$$.fragment),f(e,"class","lui-global-search")},m(y,P){T(y,e,P),Ve(t,e,null),g=!0},p(y,P){const N={};P[0]&262144&&(N.globalSearchConfig=y[18]),!n&&P[0]&1048576&&(n=!0,N.isSearchFieldVisible=y[20],ft(()=>n=!1)),!l&&P[0]&33554432&&(l=!0,N.searchResult=y[25],ft(()=>l=!1)),!r&&P[0]&8388608&&(r=!0,N.displaySearchResult=y[23],ft(()=>r=!1)),!a&&P[0]&16777216&&(a=!0,N.displayCustomSearchResult=y[24],ft(()=>a=!1)),!o&&P[0]&2097152&&(o=!0,N.inputElem=y[21],ft(()=>o=!1)),!c&&P[0]&4194304&&(c=!0,N.luigiCustomSearchRenderer__slot=y[22],ft(()=>c=!1)),t.$set(N)},i(y){g||(R(t.$$.fragment,y),g=!0)},o(y){B(t.$$.fragment,y),g=!1},d(y){y&&I(e),Oe(t)}}}function wh(i){let e,t,n,l,r=i[18]&&!i[19]&&kh(i);function a(c){i[78](c)}let o={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new gp({props:o}),Ye.push(()=>ct(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[79]),{c(){r&&r.c(),e=z(),Fe(t.$$.fragment)},m(c,g){r&&r.m(c,g),T(c,e,g),Ve(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&R(r,1)):(r=kh(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(me(),B(r,1,1,()=>{r=null}),be());const d={};g[0]&268435456&&(d.addNavHrefForAnchor=c[28]),!n&&g[0]&64&&(n=!0,d.dropDownStates=c[6],ft(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){B(r),B(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&I(e),Oe(t,c)}}}function kh(i){let e,t,n,l,r,a,o,c;function g(k){i[69](k)}function d(k){i[70](k)}function h(k){i[71](k)}function p(k){i[72](k)}function m(k){i[73](k)}function b(k){i[74](k)}let v={globalSearchConfig:i[18]};return i[20]!==void 0&&(v.isSearchFieldVisible=i[20]),i[25]!==void 0&&(v.searchResult=i[25]),i[23]!==void 0&&(v.displaySearchResult=i[23]),i[24]!==void 0&&(v.displayCustomSearchResult=i[24]),i[21]!==void 0&&(v.inputElem=i[21]),i[22]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[22]),e=new _y({props:v}),Ye.push(()=>ct(e,"isSearchFieldVisible",g,i[20])),Ye.push(()=>ct(e,"searchResult",d,i[25])),Ye.push(()=>ct(e,"displaySearchResult",h,i[23])),Ye.push(()=>ct(e,"displayCustomSearchResult",p,i[24])),Ye.push(()=>ct(e,"inputElem",m,i[21])),Ye.push(()=>ct(e,"luigiCustomSearchRenderer__slot",b,i[22])),e.$on("toggleSearch",i[75]),e.$on("handleSearchNavigation",i[76]),e.$on("closeSearchResult",i[77]),{c(){Fe(e.$$.fragment)},m(k,y){Ve(e,k,y),c=!0},p(k,y){const P={};y[0]&262144&&(P.globalSearchConfig=k[18]),!t&&y[0]&1048576&&(t=!0,P.isSearchFieldVisible=k[20],ft(()=>t=!1)),!n&&y[0]&33554432&&(n=!0,P.searchResult=k[25],ft(()=>n=!1)),!l&&y[0]&8388608&&(l=!0,P.displaySearchResult=k[23],ft(()=>l=!1)),!r&&y[0]&16777216&&(r=!0,P.displayCustomSearchResult=k[24],ft(()=>r=!1)),!a&&y[0]&2097152&&(a=!0,P.inputElem=k[21],ft(()=>a=!1)),!o&&y[0]&4194304&&(o=!0,P.luigiCustomSearchRenderer__slot=k[22],ft(()=>o=!1)),e.$set(P)},i(k){c||(R(e.$$.fragment,k),c=!0)},o(k){B(e.$$.fragment,k),c=!1},d(k){Oe(e,k)}}}function Sh(i){let e,t,n,l=i[7]&&i[30].length>0&&Ch(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Ih(i);return{c(){l&&l.c(),e=z(),r&&r.c(),t=ve()},m(a,o){l&&l.m(a,o),T(a,e,o),r&&r.m(a,o),T(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Ch(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(me(),B(l,1,1,()=>{l=null}),be()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Ih(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(me(),B(r,1,1,()=>{r=null}),be())},i(a){n||(R(l),R(r),n=!0)},o(a){B(l),B(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function Ch(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Nh(mh(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);T(a,e,o),t=!0},p(a,o){if(o[0]&268435936|o[1]&3932321){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=mh(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Nh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(me(),c=n.length;c<l.length;c+=1)r(c);be()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(_p);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ot(l,a),a&&I(e)}}}function yh(i){let e,t,n,l;const r=[Oy,Vy],a=[];function o(c,g){return c[111].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ve()},m(c,g){a[e].m(c,g),T(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(me(),B(a[d],1,1,()=>{a[d]=null}),be(),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){B(t),l=!1},d(c){a[e].d(c),c&&I(n)}}}function Vy(i){let e,t,n,l,r;const a=[Fy,My],o=[];function c(g,d){return g[28]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=C("div"),n.c(),l=z(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,d){T(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):(me(),B(o[h],1,1,()=>{o[h]=null}),be(),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){B(n),r=!1},d(g){g&&I(e),o[t].d()}}}function Oy(i){let e=i[111].visibleChildren.filter(Hh).length>0,t,n,l=e&&Ph(i);return{c(){l&&l.c(),t=ve()},m(r,a){l&&l.m(r,a),T(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[111].visibleChildren.filter(Hh).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Ph(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(me(),B(l,1,1,()=>{l=null}),be())},i(r){n||(R(l),n=!0)},o(r){B(l),n=!1},d(r){l&&l.d(r),r&&I(t)}}}function My(i){let e,t,n,l,r,a,o,c,g,d,h;function p(v){i[84](v,i[111],i[114],i[113])}let m={};i[111]!==void 0&&(m.node=i[111]),t=new Bo({props:m}),Ye.push(()=>ct(t,"node",p,i[111])),r=new mn({props:{node:i[111]}});function b(){return i[85](i[111])}return{c(){e=C("button"),Fe(t.$$.fragment),l=z(),Fe(r.$$.fragment),f(e,"title",a=i[52](i[111],i[49](i[111]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=i[50](i[111]))},m(v,k){T(v,e,k),Ve(t,e,null),w(e,l),Ve(r,e,null),g=!0,d||(h=le(e,"click",b),d=!0)},p(v,k){i=v;const y={};!n&&k[0]&128&&(n=!0,y.node=i[111],ft(()=>n=!1)),t.$set(y);const P={};k[0]&128&&(P.node=i[111]),r.$set(P),(!g||k[0]&128&&a!==(a=i[52](i[111],i[49](i[111]))))&&f(e,"title",a),(!g||k[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!g||k[0]&128&&c!==(c=i[50](i[111])))&&f(e,"data-testid",c)},i(v){g||(R(t.$$.fragment,v),R(r.$$.fragment,v),g=!0)},o(v){B(t.$$.fragment,v),B(r.$$.fragment,v),g=!1},d(v){v&&I(e),Oe(t),Oe(r),d=!1,h()}}}function Fy(i){let e,t,n,l,r,a,o,c,g,d,h,p;function m(k){i[82](k,i[111],i[114],i[113])}let b={};i[111]!==void 0&&(b.node=i[111]),t=new Bo({props:b}),Ye.push(()=>ct(t,"node",m,i[111])),r=new mn({props:{node:i[111]}});function v(...k){return i[83](i[111],...k)}return{c(){e=C("a"),Fe(t.$$.fragment),l=z(),Fe(r.$$.fragment),f(e,"href",a=i[51](i[111])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(e,"title",c=i[52](i[111],i[49](i[111]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=i[50](i[111]))},m(k,y){T(k,e,y),Ve(t,e,null),w(e,l),Ve(r,e,null),d=!0,h||(p=le(e,"click",v),h=!0)},p(k,y){i=k;const P={};!n&&y[0]&128&&(n=!0,P.node=i[111],ft(()=>n=!1)),t.$set(P);const N={};y[0]&128&&(N.node=i[111]),r.$set(N),(!d||y[0]&128&&a!==(a=i[51](i[111])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[52](i[111],i[49](i[111]))))&&f(e,"title",c),(!d||y[0]&128&&g!==(g=i[50](i[111])))&&f(e,"data-testid",g)},i(k){d||(R(t.$$.fragment,k),R(r.$$.fragment,k),d=!0)},o(k){B(t.$$.fragment,k),B(r.$$.fragment,k),d=!1},d(k){k&&I(e),Oe(t),Oe(r),h=!1,p()}}}function Ph(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v,k,y,P,N,A;function E(F){i[80](F,i[111],i[114],i[113])}let V={};i[111]!==void 0&&(V.node=i[111]),r=new Bo({props:V}),Ye.push(()=>ct(r,"node",E,i[111])),c=new mn({props:{node:i[111]}});function D(){return i[81](i[113])}return v=new cp({props:{node:i[111],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[28]}}),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("button"),Fe(r.$$.fragment),o=z(),Fe(c.$$.fragment),m=z(),b=C("div"),Fe(v.$$.fragment),y=z(),f(l,"title",g=i[52](i[111],i[49](i[111]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")),f(l,"aria-controls","dropDownPopover-"+i[113]),f(l,"aria-expanded",h=i[6][`dropDownPopover-${i[113]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=i[50](i[111])),f(n,"class","fd-popover__control"),f(b,"class","fd-popover__body fd-popover__body--right"),f(b,"aria-hidden",k=!i[6][`dropDownPopover-${i[113]}`]),f(b,"id","dropDownPopover-"+i[113]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(F,M){T(F,e,M),w(e,t),w(t,n),w(n,l),Ve(r,l,null),w(l,o),Ve(c,l,null),w(t,m),w(t,b),Ve(v,b,null),w(e,y),P=!0,N||(A=[le(l,"click",D),le(n,"click",Mt($y))],N=!0)},p(F,M){i=F;const W={};!a&&M[0]&128&&(a=!0,W.node=i[111],ft(()=>a=!1)),r.$set(W);const K={};M[0]&128&&(K.node=i[111]),c.$set(K),(!P||M[0]&128&&g!==(g=i[52](i[111],i[49](i[111]))))&&f(l,"title",g),(!P||M[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[111]===i[8]?"is-selected":"")))&&f(l,"class",d),(!P||M[0]&64&&h!==(h=i[6][`dropDownPopover-${i[113]}`]||!1))&&f(l,"aria-expanded",h),(!P||M[0]&128&&p!==(p=i[50](i[111])))&&f(l,"data-testid",p);const Q={};M[0]&128&&(Q.node=i[111]),M[1]&1&&(Q.pathParams=i[31]),M[0]&268435456&&(Q.addNavHrefForAnchor=i[28]),v.$set(Q),(!P||M[0]&64&&k!==(k=!i[6][`dropDownPopover-${i[113]}`]))&&f(b,"aria-hidden",k)},i(F){P||(R(r.$$.fragment,F),R(c.$$.fragment,F),R(v.$$.fragment,F),P=!0)},o(F){B(r.$$.fragment,F),B(c.$$.fragment,F),B(v.$$.fragment,F),P=!1},d(F){F&&I(e),Oe(r),Oe(c),Oe(v),N=!1,$e(A)}}}function Nh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&yh(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=yh(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ih(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v,k,y,P,N,A,E,V,D,F;g=new mn({props:{node:i[11],special:"true"}});let M=i[18]&&!i[19]&&Th(i),W=i[46]&&(!i[0]||i[1])&&Lh(i),K=i[7]&&Ah(i),Q=i[12]&&Vh(i),ce=i[12]&&Oh(i),Ce=i[14]&&Mh(i),G=(!i[0]||i[1])&&Fh(i);return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("div"),a=C("button"),o=C("i"),c=z(),Fe(g.$$.fragment),h=z(),p=C("div"),m=C("nav"),b=C("ul"),M&&M.c(),v=z(),W&&W.c(),k=z(),K&&K.c(),y=z(),Q&&Q.c(),N=z(),ce&&ce.c(),A=z(),Ce&&Ce.c(),E=z(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(b,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-1kyy3lw"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(J,fe){T(J,e,fe),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Ve(g,a,null),w(n,h),w(n,p),w(p,m),w(m,b),M&&M.m(b,null),w(b,v),W&&W.m(b,null),w(b,k),K&&K.m(b,null),w(b,y),Q&&Q.m(b,null),w(n,N),ce&&ce.m(n,null),w(n,A),Ce&&Ce.m(n,null),w(n,E),G&&G.m(n,null),V=!0,D||(F=[le(a,"click",i[86]),le(l,"click",Mt(xy))],D=!0)},p(J,fe){const te={};fe[0]&2048&&(te.node=J[11]),g.$set(te),(!V||fe[0]&64&&d!==(d=J[6].overflowPopover||!1))&&f(a,"aria-expanded",d),J[18]&&!J[19]?M?M.p(J,fe):(M=Th(J),M.c(),M.m(b,v)):M&&(M.d(1),M=null),J[46]&&(!J[0]||J[1])?W?W.p(J,fe):(W=Lh(J),W.c(),W.m(b,k)):W&&(W.d(1),W=null),J[7]?K?(K.p(J,fe),fe[0]&128&&R(K,1)):(K=Ah(J),K.c(),R(K,1),K.m(b,y)):K&&(me(),B(K,1,1,()=>{K=null}),be()),J[12]?Q?Q.p(J,fe):(Q=Vh(J),Q.c(),Q.m(b,null)):Q&&(Q.d(1),Q=null),(!V||fe[0]&64&&P!==(P=!J[6].overflowPopover))&&f(p,"aria-hidden",P),J[12]?ce?(ce.p(J,fe),fe[0]&4096&&R(ce,1)):(ce=Oh(J),ce.c(),R(ce,1),ce.m(n,A)):ce&&(me(),B(ce,1,1,()=>{ce=null}),be()),J[14]?Ce?(Ce.p(J,fe),fe[0]&16384&&R(Ce,1)):(Ce=Mh(J),Ce.c(),R(Ce,1),Ce.m(n,E)):Ce&&(me(),B(Ce,1,1,()=>{Ce=null}),be()),!J[0]||J[1]?G?(G.p(J,fe),fe[0]&3&&R(G,1)):(G=Fh(J),G.c(),R(G,1),G.m(n,null)):G&&(me(),B(G,1,1,()=>{G=null}),be())},i(J){V||(R(g.$$.fragment,J),R(K),R(ce),R(Ce),R(G),V=!0)},o(J){B(g.$$.fragment,J),B(K),B(ce),B(Ce),B(G),V=!1},d(J){J&&I(e),Oe(g),M&&M.d(),W&&W.d(),K&&K.d(),Q&&Q.d(),ce&&ce.d(),Ce&&Ce.d(),G&&G.d(),D=!1,$e(F)}}}function Th(i){let e,t,n,l;return{c(){e=C("li"),t=C("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-1kyy3lw"></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){T(r,e,a),w(e,t),n||(l=le(t,"click",Mt(i[87])),n=!0)},p:ze,d(r){r&&I(e),n=!1,l()}}}function Lh(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,g,d;return{c(){e=C("li"),t=C("a"),n=C("i"),r=z(),a=C("span"),c=Ie(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(h,p){T(h,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),g||(d=le(t,"click",Mt(i[33])),g=!0)},p(h,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(h[46].icon&&h[48](h[46])?h[47](h[46].icon):"sap-icon--switch-views")+" svelte-1kyy3lw")&&f(n,"class",l),p[1]&24576&&o!==(o=(h[44]?h[44]:h[45])+"")&&Te(c,o)},d(h){h&&I(e),g=!1,d()}}}function Ah(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Dh(ph(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);T(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&4128808){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=ph(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Dh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(me(),c=n.length;c<l.length;c+=1)r(c);be()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(_p);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ot(l,a),a&&I(e)}}}function Rh(i){let e,t,n,l,r;const a=[By,Uy],o=[];function c(g,d){return d[0]&128&&(e=null),g[111].isCat?(e==null&&(e=g[111].visibleChildren.filter(Xy).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=ve()},m(g,d){~t&&o[t].m(g,d),T(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?~t&&o[t].p(g,d):(n&&(me(),B(o[h],1,1,()=>{o[h]=null}),be()),~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){B(n),r=!1},d(g){~t&&o[t].d(g),g&&I(l)}}}function Uy(i){let e,t,n,l,r,a,o,c,g=i[49](i[111])+"",d,h,p,m,b,v,k;function y(E,V){return V[0]&128&&(l=null),l==null&&(l=!!E[48](E[111])),l?Wy:Hy}let P=y(i,[-1,-1,-1,-1]),N=P(i);a=new mn({props:{node:i[111]}});function A(){return i[89](i[111])}return{c(){e=C("li"),t=C("a"),n=C("span"),N.c(),r=z(),Fe(a.$$.fragment),o=z(),c=C("span"),d=Ie(g),m=z(),f(n,"class","fd-top-nav__icon svelte-1kyy3lw"),f(c,"class","fd-list__title"),f(t,"href",h=i[51](i[111])),f(t,"title",p=i[52](i[111],i[49](i[111]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(E,V){T(E,e,V),w(e,t),w(t,n),N.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,m),b=!0,v||(k=le(t,"click",At(A)),v=!0)},p(E,V){i=E,P===(P=y(i,V))&&N?N.p(i,V):(N.d(1),N=P(i),N&&(N.c(),N.m(n,r)));const D={};V[0]&128&&(D.node=i[111]),a.$set(D),(!b||V[0]&128)&&g!==(g=i[49](i[111])+"")&&Te(d,g),(!b||V[0]&128&&h!==(h=i[51](i[111])))&&f(t,"href",h),(!b||V[0]&128&&p!==(p=i[52](i[111],i[49](i[111]))))&&f(t,"title",p)},i(E){b||(R(a.$$.fragment,E),b=!0)},o(E){B(a.$$.fragment,E),b=!1},d(E){E&&I(e),N.d(),Oe(a),v=!1,k()}}}function By(i){let e,t,n,l=!i[48](i[111]),r,a,o,c,g,d=i[49](i[111])+"",h,p,m,b,v,k,y,P,N=l&&Eh(i);a=new mn({props:{node:i[111]}});function A(){return i[88](i[111])}return{c(){e=C("li"),t=C("a"),n=C("span"),N&&N.c(),r=z(),Fe(a.$$.fragment),c=z(),g=C("span"),h=Ie(d),v=z(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"),f(g,"class","fd-menu__title"),f(t,"href",p=i[51](i[111])),f(t,"class",m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")),f(t,"data-testid",b=i[50](i[111])+"-mobile"),f(e,"class","fd-menu__item")},m(E,V){T(E,e,V),w(e,t),w(t,n),N&&N.m(n,null),w(n,r),Ve(a,n,null),w(t,c),w(t,g),w(g,h),w(e,v),k=!0,y||(P=le(t,"click",At(A)),y=!0)},p(E,V){i=E,V[0]&128&&(l=!i[48](i[111])),l?N?N.p(i,V):(N=Eh(i),N.c(),N.m(n,r)):N&&(N.d(1),N=null);const D={};V[0]&128&&(D.node=i[111]),a.$set(D),(!k||V[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw"))&&f(n,"class",o),(!k||V[0]&128)&&d!==(d=i[49](i[111])+"")&&Te(h,d),(!k||V[0]&128&&p!==(p=i[51](i[111])))&&f(t,"href",p),(!k||V[0]&384&&m!==(m="fd-menu__link "+(i[111]===i[8]?"is-selected":"")))&&f(t,"class",m),(!k||V[0]&128&&b!==(b=i[50](i[111])+"-mobile"))&&f(t,"data-testid",b)},i(E){k||(R(a.$$.fragment,E),k=!0)},o(E){B(a.$$.fragment,E),k=!1},d(E){E&&I(e),N&&N.d(),Oe(a),y=!1,P()}}}function Hy(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){T(l,e,r)},p(l,r){r[0]&128&&!Je(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function Wy(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[111].icon&&i[48](i[111])?i[47](i[111].icon):"")+" svelte-1kyy3lw")},m(n,l){T(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[111].icon&&n[48](n[111])?n[47](n[111].icon):"")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&I(e)}}}function Eh(i){let e,t,n;return{c(){e=C("img"),Je(e.src,t=i[111].icon)||f(e,"src",t),f(e,"alt",n=i[111].altText?i[111].altText:""),f(e,"class","svelte-1kyy3lw")},m(l,r){T(l,e,r)},p(l,r){r[0]&128&&!Je(e.src,t=l[111].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[111].altText?l[111].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function Dh(i){let e,t,n=!(i[111].hideFromNav||i[5]&&i[111].globalNav)&&Rh(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[111].hideFromNav||l[5]&&l[111].globalNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Rh(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Vh(i){let e,t,n,l,r,a=i[13].label+"",o,c,g;function d(m,b){return b[0]&8192&&(n=null),n==null&&(n=!!(m[48](m[13])||!m[13].icon)),n?Gy:zy}let h=d(i,[-1,-1,-1,-1]),p=h(i);return{c(){e=C("li"),t=C("a"),p.c(),l=z(),r=C("span"),o=Ie(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(m,b){T(m,e,b),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=le(t,"click",Mt(i[32])),c=!0)},p(m,b){h===(h=d(m,b))&&p?p.p(m,b):(p.d(1),p=h(m),p&&(p.c(),p.m(t,l))),b[0]&8192&&a!==(a=m[13].label+"")&&Te(o,a)},d(m){m&&I(e),p.d(),c=!1,g()}}}function zy(i){let e,t,n,l;return{c(){e=C("span"),t=C("img"),Je(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-1kyy3lw"),f(e,"class","fd-top-nav__icon sap-icon svelte-1kyy3lw")},m(r,a){T(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Je(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Gy(i){let e,t;return{c(){e=C("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-1kyy3lw")},m(n,l){T(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-1kyy3lw")&&f(e,"class",t)},d(n){n&&I(e)}}}function Oh(i){let e,t,n;function l(a){i[90](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new hp({props:r}),Ye.push(()=>ct(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[91]),{c(){Fe(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ft(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function Mh(i){let e,t;return e=new cp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Fh(i){let e,t,n,l,r;function a(d){i[92](d)}function o(d){i[93](d)}function c(d){i[94](d)}let g={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[44]!==void 0&&(g.selectedLabel=i[44]),i[45]!==void 0&&(g.defaultLabel=i[45]),e=new gp({props:g}),Ye.push(()=>ct(e,"dropDownStates",a,i[6])),Ye.push(()=>ct(e,"selectedLabel",o,i[44])),Ye.push(()=>ct(e,"defaultLabel",c,i[45])),e.$on("toggleDropdownState",i[95]),{c(){Fe(e.$$.fragment)},m(d,h){Ve(e,d,h),r=!0},p(d,h){const p={};h[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&h[0]&64&&(t=!0,p.dropDownStates=d[6],ft(()=>t=!1)),!n&&h[1]&8192&&(n=!0,p.selectedLabel=d[44],ft(()=>n=!1)),!l&&h[1]&16384&&(l=!0,p.defaultLabel=d[45],ft(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){B(e.$$.fragment,d),r=!1},d(d){Oe(e,d)}}}function Uh(i){let e,t,n,l,r;const a=[Ky,qy],o=[];function c(g,d){return d[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&se.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=C("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,d){T(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):(me(),B(o[h],1,1,()=>{o[h]=null}),be(),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){B(l),r=!1},d(g){g&&I(e),o[n].d()}}}function qy(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v;function k(N,A){return N[17].picture?jy:Jy}let y=k(i),P=y(i);return h=new up({props:{addNavHrefForAnchor:i[28]}}),h.$on("toggleDropdownState",i[100]),h.$on("userInfoUpdated",i[42]),{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),r=C("button"),P.c(),g=z(),d=C("div"),Fe(h.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-1kyy3lw"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-1kyy3lw")},m(N,A){T(N,e,A),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,d),Ve(h,d,null),m=!0,b||(v=[le(r,"click",i[99]),le(n,"click",Mt(t8))],b=!0)},p(N,A){y===(y=k(N))&&P?P.p(N,A):(P.d(1),P=y(N),P&&(P.c(),P.m(r,null))),(!m||A[0]&64&&a!==(a=N[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!m||A[0]&131072&&o!==(o=N[17].name?N[17].name:void 0))&&f(r,"title",o),(!m||A[0]&131072&&c!==(c=N[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const E={};A[0]&268435456&&(E.addNavHrefForAnchor=N[28]),h.$set(E),(!m||A[0]&64&&p!==(p=!N[6].profilePopover))&&f(d,"aria-hidden",p)},i(N){m||(R(h.$$.fragment,N),m=!0)},o(N){B(h.$$.fragment,N),m=!1},d(N){N&&I(e),P.d(),Oe(h),b=!1,$e(v)}}}function Ky(i){let e,t,n,l,r,a,o,c,g;function d(m,b){return m[17].picture?Qy:Yy}let h=d(i),p=h(i);return r=new rC({props:{addNavHrefForAnchor:i[28]}}),r.$on("toggleDropdownState",i[98]),r.$on("userInfoUpdated",i[42]),{c(){e=C("div"),t=C("div"),p.c(),n=z(),l=C("div"),Fe(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-1kyy3lw")},m(m,b){T(m,e,b),w(e,t),p.m(t,null),w(e,n),w(e,l),Ve(r,l,null),o=!0,c||(g=le(t,"click",Mt(e8)),c=!0)},p(m,b){h===(h=d(m))&&p?p.p(m,b):(p.d(1),p=h(m),p&&(p.c(),p.m(t,null)));const v={};b[0]&268435456&&(v.addNavHrefForAnchor=m[28]),r.$set(v),(!o||b[0]&64&&a!==(a=!m[6].profilePopover))&&f(l,"aria-hidden",a)},i(m){o||(R(r.$$.fragment,m),o=!0)},o(m){B(r.$$.fragment,m),o=!1},d(m){m&&I(e),p.d(),Oe(r),c=!1,g()}}}function Jy(i){let e,t;return{c(){e=C("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){T(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&&I(e)}}}function jy(i){let e;return{c(){e=C("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-1kyy3lw"),On(e,"background-image","url('"+i[17].picture+"')")},m(t,n){T(t,e,n)},p(t,n){n[0]&131072&&On(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&I(e)}}}function Yy(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=C("button"),n=Ie(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){T(o,e,c),w(e,n),r||(a=le(e,"click",i[97]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Te(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&I(e),r=!1,a()}}}function Qy(i){let e,t,n,l;return{c(){e=C("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-1kyy3lw"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),On(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){T(r,e,a),n||(l=le(e,"click",i[96]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&On(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&I(e),n=!1,l()}}}function Bh(i){let e,t,n;function l(a){i[101](a)}let r={isMobile:!1,addNavHrefForAnchor:i[28]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new hp({props:r}),Ye.push(()=>ct(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[102]),{c(){Fe(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};o[0]&268435456&&(c.addNavHrefForAnchor=a[28]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ft(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function Zy(i){let e,t,n,l,r,a;const o=[Dy,Ey],c=[];function g(d,h){return d[29]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=ve()},m(d,h){c[e].m(d,h),T(d,n,h),l=!0,r||(a=[le(_h,"click",i[41]),le(_h,"blur",i[41])],r=!0)},p(d,h){let p=e;e=g(d),e===p?c[e].p(d,h):(me(),B(c[p],1,1,()=>{c[p]=null}),be(),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){B(t),l=!1},d(d){c[e].d(d),d&&I(n),r=!1,$e(a)}}}const Xy=i=>!i.hideFromNav&&i.label,Hh=i=>!i.hideFromNav&&i.label,$y=()=>{},xy=()=>{},e8=()=>{},t8=()=>{};function n8(i,e,t){const n=zt();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:m}=e,{dropDownStates:b={}}=e,{children:v}=e,{selectedNode:k}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:N}=e,{isProductSwitcherAvailable:A}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:V}=e,{nodeForMobile:D}=e,{profileItemsAvailable:F}=e,{userInfo:M={}}=e,{urlAuthError:W}=e,{globalSearchConfig:K}=e,{isGlobalSearchCentered:Q}=e,{isSearchFieldVisible:ce}=e,{inputElem:Ce}=e,{luigiCustomSearchRenderer__slot:G}=e,{displaySearchResult:J}=e,{displayCustomSearchResult:fe}=e,{searchResult:te}=e,{burgerTooltip:x}=e,{responsiveShellbarPadding:Le}=e,ie=pt("store"),Ee=!1,re,Me,$=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:j=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const pe=async()=>{if(h&&0<h.length){const X=await ke.generateTopNavNodes(h);t(7,v=X.children),t(8,k=X.selectedNode),t(9,y=X.visibleNodeCount),t(11,N=X.totalBadgeNode),t(10,P=X.globalNavNodeCount),window.TOPNAVDATA=X.children,p=h}},Ke=()=>{t(1,a=ol.isLoggedIn())};Jt(()=>{dn.doOnStoreChange(ie,()=>{t(0,l=wi.isAuthorizationEnabled()),t(16,F=ae.getConfigValue("navigation.profile")),t(54,r=!ae.getConfigValue("auth.disableAutoLogin")),t(12,A=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(27,Le=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=ke.getProductSwitcherConfig()),t(18,K=ae.getConfigValue("globalSearch")),t(19,Q=K&&K.searchFieldCentered&&se.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&se.requestExperimentalFeature("globalNav",!0)),t(28,j=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(46,$=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),dn.doOnStoreChange(ie,()=>{pe()},["navigation.viewgroupdata"]),Mn.addEventListener("message",X=>{X.data.msg==="luigi.navigation.update-badge-counters"&&pe()})}),Kn(()=>{(!p||p!=h)&&pe(),Ke()});let{showTopNav:Ue}=e;function ge(X){return ke.renderIconClassName(X)}function Qe(X){return ke.isOpenUIiconName(X.icon)}const xe=X=>ke.getNodeLabel(X);function jt(X){return X.testId?X.testId:ke.prepareForTests(X.pathSegment,X.label)}function vt(X){return we.getNodeHref(X,m)}function Ht(X,St){return ke.generateTooltipText(X,St)}function bn(){Tt("productSwitcherPopover")}function Yt(){t(43,Ee=!Ee),Tt("contextSwitcherPopover")}function en(X){t(14,V=!0),t(15,D=X)}function In(){t(14,V=!1)}function vn(X){n("handleClick",{node:X})}function an(X){n("handleSearchNavigation",{node:X})}function Tn(X){vn(X.detail.node)}function Tt(X){const St=b||{},Ct=!St[X];Qt(),In(),St[X]=Ct,t(6,b=St)}function dl(X){Tt(X.detail.name)}function li(){Ce&&Ce.focus()}function wn(){ce||setTimeout(()=>{li()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Ce,luigiCustomSearchRenderer__slot:G})}function Qt(){const X=b||{},St=Object.keys(X);St&&St.length>0&&St.forEach(Ct=>{X[Ct]=!1,t(6,b=X)})}function Jn(){c==="simple"||c==="simpleMobileOnly"?kn():gi(),tn()}function tn(){if(!ke.getBurgerTooltipConfig())return;const[X,St]=ke.getBurgerTooltipConfig();X&&St&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(26,x=document.body.classList.contains("lui-leftNavToggle")?X:St),document.body.classList.contains("lui-semiCollapsible")&&t(26,x=document.body.classList.contains("semiCollapsed")?X:St))}function kn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function gi(){vi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function yi(X){const St=X.detail;t(17,M=St||{})}function gn(X){b=X,t(6,b)}function Pi(X){ce=X,t(20,ce)}function Ni(X){te=X,t(25,te)}function Ii(X){J=X,t(23,J)}function Ti(X){fe=X,t(24,fe)}function gl(X){Ce=X,t(21,Ce)}function hl(X){G=X,t(22,G)}function _l(X){Ol.call(this,i,X)}function Gi(X){Ol.call(this,i,X)}function Li(X){Ol.call(this,i,X)}function pl(X){ce=X,t(20,ce)}function qi(X){te=X,t(25,te)}function hi(X){J=X,t(23,J)}function ml(X){fe=X,t(24,fe)}function Z(X){Ce=X,t(21,Ce)}function Pe(X){G=X,t(22,G)}function tt(X){Ol.call(this,i,X)}function gt(X){Ol.call(this,i,X)}function wt(X){Ol.call(this,i,X)}function sn(X){b=X,t(6,b)}const Sn=()=>Tt("contextSwitcherPopover");function jn(X,St,Ct,Yn){Ct[Yn]=X,t(7,v)}const Fn=X=>Tt(`dropDownPopover-${X}`);function bl(X,St,Ct,Yn){Ct[Yn]=X,t(7,v)}const Ki=(X,St)=>{ke.handleNavAnchorClickedWithoutMetaKey(St)&&vn(X)};function Bl(X,St,Ct,Yn){Ct[Yn]=X,t(7,v)}const Hl=X=>vn(X),Wl=()=>Tt("overflowPopover"),mr=()=>{wn(),Tt("overflowPopover")},Cn=X=>vn(X),vl=X=>en(X);function wl(X){b=X,t(6,b)}const zl=()=>Tt("productSwitcherPopover");function br(X){b=X,t(6,b)}function Ji(X){re=X,t(44,re)}function kl(X){Me=X,t(45,Me)}const _i=()=>Tt("contextSwitcherPopover"),Sl=()=>Tt("profilePopover"),Ai=()=>Tt("profilePopover"),Gl=()=>Tt("profilePopover"),vr=()=>Tt("profilePopover"),ht=()=>Tt("profilePopover");function ji(X){b=X,t(6,b)}const Yi=()=>Tt("productSwitcherPopover"),Cl=()=>Tt("profilePopover");return i.$$set=X=>{"authorizationEnabled"in X&&t(0,l=X.authorizationEnabled),"autologinEnabled"in X&&t(54,r=X.autologinEnabled),"isLoggedIn"in X&&t(1,a=X.isLoggedIn),"hideNavComponent"in X&&t(2,o=X.hideNavComponent),"responsiveNavSetting"in X&&t(3,c=X.responsiveNavSetting),"profileTypeSettings"in X&&t(4,g=X.profileTypeSettings),"showGlobalNav"in X&&t(5,d=X.showGlobalNav),"pathData"in X&&t(30,h=X.pathData),"pathParams"in X&&t(31,m=X.pathParams),"dropDownStates"in X&&t(6,b=X.dropDownStates),"children"in X&&t(7,v=X.children),"selectedNode"in X&&t(8,k=X.selectedNode),"visibleNodeCount"in X&&t(9,y=X.visibleNodeCount),"globalNavNodeCount"in X&&t(10,P=X.globalNavNodeCount),"totalBadgeNode"in X&&t(11,N=X.totalBadgeNode),"isProductSwitcherAvailable"in X&&t(12,A=X.isProductSwitcherAvailable),"productSwitcherConfig"in X&&t(13,E=X.productSwitcherConfig),"openMobileDropDown"in X&&t(14,V=X.openMobileDropDown),"nodeForMobile"in X&&t(15,D=X.nodeForMobile),"profileItemsAvailable"in X&&t(16,F=X.profileItemsAvailable),"userInfo"in X&&t(17,M=X.userInfo),"urlAuthError"in X&&t(55,W=X.urlAuthError),"globalSearchConfig"in X&&t(18,K=X.globalSearchConfig),"isGlobalSearchCentered"in X&&t(19,Q=X.isGlobalSearchCentered),"isSearchFieldVisible"in X&&t(20,ce=X.isSearchFieldVisible),"inputElem"in X&&t(21,Ce=X.inputElem),"luigiCustomSearchRenderer__slot"in X&&t(22,G=X.luigiCustomSearchRenderer__slot),"displaySearchResult"in X&&t(23,J=X.displaySearchResult),"displayCustomSearchResult"in X&&t(24,fe=X.displayCustomSearchResult),"searchResult"in X&&t(25,te=X.searchResult),"burgerTooltip"in X&&t(26,x=X.burgerTooltip),"responsiveShellbarPadding"in X&&t(27,Le=X.responsiveShellbarPadding),"addNavHrefForAnchor"in X&&t(28,j=X.addNavHrefForAnchor),"showTopNav"in X&&t(29,Ue=X.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&8388608&&t(29,Ue=l&&(!r||a)||!l)},[l,a,o,c,g,d,b,v,k,y,P,N,A,E,V,D,F,M,K,Q,ce,Ce,G,J,fe,te,x,Le,j,Ue,h,m,bn,Yt,en,In,vn,Tn,Tt,dl,wn,Qt,yi,Ee,re,Me,$,ge,Qe,xe,jt,vt,Ht,Jn,r,W,an,kn,gi,gn,Pi,Ni,Ii,Ti,gl,hl,_l,Gi,Li,pl,qi,hi,ml,Z,Pe,tt,gt,wt,sn,Sn,jn,Fn,bl,Ki,Bl,Hl,Wl,mr,Cn,vl,wl,zl,br,Ji,kl,_i,Sl,Ai,Gl,vr,ht,ji,Yi,Cl]}class pp extends Vt{constructor(e){super(),Dt(this,e,n8,Zy,Rt,{authorizationEnabled:0,autologinEnabled:54,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,urlAuthError:55,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,displayCustomSearchResult:24,searchResult:25,burgerTooltip:26,responsiveShellbarPadding:27,addNavHrefForAnchor:28,showTopNav:29,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:56,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:57,semicollapsedNav:58,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[56]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[57]}get semicollapsedNav(){return this.$$.ctx[58]}get userInfoUpdate(){return this.$$.ctx[42]}}function Wh(i){let e;return{c(){e=C("div"),f(e,"class","lui-tab-header")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function i8(i){let e,t=i[0]&&Wh();return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,[l]){n[0]?t||(t=Wh(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:ze,o:ze,d(n){t&&t.d(n),n&&I(e)}}}function l8(i,e,t){let{node:n}=e;async function l(){var o,c;const r=we.mapPathToNode(it.getCurrentPath(),n),a=await Ot.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 Jt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");dr.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}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 r8 extends Vt{constructor(e){super(),Dt(this,e,l8,i8,Rt,{node:0})}}const{window:Lo}=cl;function zh(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Gh(i,e,t){const n=i.slice();return n[43]=e[t],n}function qh(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Kh(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Jh(i,e,t){const n=i.slice();return n[43]=e[t],n}function jh(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Yh(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b,v,k,y,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&Qh(i),N=Object.entries(i[0]),A=[];for(let M=0;M<N.length;M+=1)A[M]=n_(Kh(i,N,M));const E=M=>B(A[M],1,1,()=>{A[M]=null});let V=Object.entries(i[0]),D=[];for(let M=0;M<V.length;M+=1)D[M]=a_(zh(i,V,M));const F=M=>B(D[M],1,1,()=>{D[M]=null});return{c(){e=C("div"),P&&P.c(),t=z(),n=C("nav"),l=C("div"),r=C("div");for(let M=0;M<A.length;M+=1)A[M].c();a=z(),o=C("div"),c=C("span"),g=C("div"),d=C("a"),d.innerHTML=`<span class="label fd-tabs__tag svelte-1fy5y9u">More</span>
|
|
59
|
+
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-1fy5y9u"></span>`,h=z(),p=C("div"),m=C("ul");for(let M=0;M<D.length;M+=1)D[M].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-1fy5y9u"),f(l,"class","tabsContainerWrapper svelte-1fy5y9u"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-1fy5y9u"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(m,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1fy5y9u"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-1fy5y9u"),f(p,"aria-hidden",b=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-1fy5y9u"),f(o,"class","luigi-tabsMoreButton svelte-1fy5y9u"),f(n,"class","fd-tabs fd-tabs--l svelte-1fy5y9u"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-1fy5y9u"),f(e,"id","tabsContainer")},m(M,W){T(M,e,W),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let K=0;K<A.length;K+=1)A[K].m(r,null);w(n,a),w(n,o),w(o,c),w(c,g),w(g,d),w(g,h),w(g,p),w(p,m);for(let K=0;K<D.length;K+=1)D[K].m(m,null);v=!0,k||(y=[le(d,"click",At(i[10])),le(c,"click",g8),le(n,"toggleDropdownState",i[26])],k=!0)},p(M,W){if(M[11].parent&&M[11].parent.tabNav&&M[11].parent.tabNav.showAsTabHeader?P?(P.p(M,W),W[0]&2048&&R(P,1)):(P=Qh(M),P.c(),R(P,1),P.m(e,t)):P&&(me(),B(P,1,1,()=>{P=null}),be()),W[0]&53485){N=Object.entries(M[0]);let K;for(K=0;K<N.length;K+=1){const Q=Kh(M,N,K);A[K]?(A[K].p(Q,W),R(A[K],1)):(A[K]=n_(Q),A[K].c(),R(A[K],1),A[K].m(r,null))}for(me(),K=N.length;K<A.length;K+=1)E(K);be()}if(W[0]&53485){V=Object.entries(M[0]);let K;for(K=0;K<V.length;K+=1){const Q=zh(M,V,K);D[K]?(D[K].p(Q,W),R(D[K],1)):(D[K]=a_(Q),D[K].c(),R(D[K],1),D[K].m(m,null))}for(me(),K=V.length;K<D.length;K+=1)F(K);be()}(!v||W[0]&16&&b!==(b=!M[4]))&&f(p,"aria-hidden",b)},i(M){if(!v){R(P);for(let W=0;W<N.length;W+=1)R(A[W]);for(let W=0;W<V.length;W+=1)R(D[W]);v=!0}},o(M){B(P),A=A.filter(Boolean);for(let W=0;W<A.length;W+=1)B(A[W]);D=D.filter(Boolean);for(let W=0;W<D.length;W+=1)B(D[W]);v=!1},d(M){M&&I(e),P&&P.d(),ot(A,M),ot(D,M),k=!1,$e(y)}}}function Qh(i){let e,t;return e=new r8({props:{node:i[11].parent}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function a8(i){let e,t,n,l,r,a=i[12](i[39])+"",o,c,g,d,h,p,m,b,v,k,y,P,N,A;function E(){return i[20](i[39])}let V=i[40],D=[];for(let M=0;M<V.length;M+=1)D[M]=$h(Jh(i,V,M));const F=M=>B(D[M],1,1,()=>{D[M]=null});return{c(){e=C("span"),t=C("div"),n=C("div"),l=C("a"),r=C("span"),o=Ie(a),c=z(),g=C("span"),h=z(),p=C("div"),m=C("nav"),b=C("ul");for(let M=0;M<D.length;M+=1)D[M].c();k=z(),f(r,"class","label fd-tabs__tag svelte-1fy5y9u"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-1fy5y9u"),f(l,"class","fd-tabs__link has-child svelte-1fy5y9u"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=cr(i[39],i[2])),f(n,"class","fd-popover__control"),f(b,"class","fd-menu__list fd-menu__list--no-shadow"),f(m,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow svelte-1fy5y9u"),f(p,"aria-hidden",v=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-1fy5y9u"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=cr(i[39],i[2]))},m(M,W){T(M,e,W),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,h),w(t,p),w(p,m),w(m,b);for(let K=0;K<D.length;K+=1)D[K].m(b,null);w(e,k),P=!0,N||(A=[le(l,"click",At(E)),le(e,"click",d8)],N=!0)},p(M,W){if(i=M,(!P||W[0]&4097)&&a!==(a=i[12](i[39])+"")&&Te(o,a),(!P||W[0]&5&&d!==(d=cr(i[39],i[2])))&&f(l,"aria-selected",d),W[0]&49221){V=i[40];let K;for(K=0;K<V.length;K+=1){const Q=Jh(i,V,K);D[K]?(D[K].p(Q,W),R(D[K],1)):(D[K]=$h(Q),D[K].c(),R(D[K],1),D[K].m(b,null))}for(me(),K=V.length;K<D.length;K+=1)F(K);be()}(!P||W[0]&9&&v!==(v=!i[3][i[39]]))&&f(p,"aria-hidden",v),(!P||W[0]&5&&y!==(y=cr(i[39],i[2])))&&f(e,"isselected",y)},i(M){if(!P){for(let W=0;W<V.length;W+=1)R(D[W]);P=!0}},o(M){D=D.filter(Boolean);for(let W=0;W<D.length;W+=1)B(D[W]);P=!1},d(M){M&&I(e),ot(D,M),N=!1,$e(A)}}}function s8(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=t_(jh(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);T(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const g=jh(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=t_(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(me(),c=n.length;c<l.length;c+=1)r(c);be()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ot(l,a),a&&I(e)}}}function Zh(i){let e,t,n=i[43].label&&Xh(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Xh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Xh(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,h,p,m;o=new qn({props:{node:i[43]}});function b(){return i[21](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),a=z(),Fe(o.$$.fragment),d=z(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-menu__item")},m(v,k){T(v,e,k),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,d),h=!0,p||(m=le(t,"click",At(b)),p=!0)},p(v,k){i=v,(!h||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!h||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!h||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){h||(R(o.$$.fragment,v),h=!0)},o(v){B(o.$$.fragment,v),h=!1},d(v){v&&I(e),Oe(o),p=!1,m()}}}function $h(i){let e,t,n=!i[43].hideFromNav&&Zh(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Zh(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function xh(i){let e,t,n=i[43].label&&e_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=e_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function e_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,h,p,m,b,v;o=new qn({props:{node:i[43]}});function k(){return i[19](i[43])}return{c(){e=C("span"),t=C("a"),n=C("span"),r=Ie(l),a=z(),Fe(o.$$.fragment),d=z(),f(n,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=i[15](i[43])),f(t,"role","tab"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class",h="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-1fy5y9u"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",p=i[43]===i[2])},m(y,P){T(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,d),m=!0,b||(v=le(t,"click",At(k)),b=!0)},p(y,P){i=y,(!m||P[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const N={};P[0]&1&&(N.node=i[43]),o.$set(N),(!m||P[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!m||P[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g),(!m||P[0]&5&&h!==(h="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-1fy5y9u"))&&f(e,"class",h),(!m||P[0]&5&&p!==(p=i[43]===i[2]))&&f(e,"isselected",p)},i(y){m||(R(o.$$.fragment,y),m=!0)},o(y){B(o.$$.fragment,y),m=!1},d(y){y&&I(e),Oe(o),b=!1,v()}}}function t_(i){let e,t,n=!i[43].hideFromNav&&xh(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(me(),B(n,1,1,()=>{n=null}),be()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=xh(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function n_(i){let e,t,n,l,r,a;const o=[s8,a8],c=[];function g(d,h){return h[0]&33&&(e=null),h[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(c8).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ve()},m(d,h){~n&&c[n].m(d,h),T(d,r,h),a=!0},p(d,h){let p=n;n=g(d,h),n===p?~n&&c[n].p(d,h):(l&&(me(),B(c[p],1,1,()=>{c[p]=null}),be()),~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){B(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function o8(i){let e,t,n,l,r=i[12](i[39])+"",a,o,c,g,d,h,p,m,b,v,k,y,P,N,A;function E(){return i[23](i[39],i[42])}function V(){return i[24](i[39],i[42])}let D=i[40],F=[];for(let W=0;W<D.length;W+=1)F[W]=l_(Gh(i,D,W));const M=W=>B(F[W],1,1,()=>{F[W]=null});return{c(){e=C("li"),t=C("div"),n=C("a"),l=C("span"),a=Ie(r),g=z(),d=C("button"),h=C("i"),b=z(),v=C("ul");for(let W=0;W<F.length;W+=1)F[W].c();y=z(),f(l,"class","fd-nested-list__title svelte-1fy5y9u"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link"),f(n,"id","tabnav_list_level1_"+i[42]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[39]+i[42]]),f(n,"aria-selected",c=cr(i[39],i[2])),f(h,"class",p=i[3][i[39]+i[42]]?"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",m=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-1fy5y9u"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",k=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(W,K){T(W,e,K),w(e,t),w(t,n),w(n,l),w(l,a),w(t,g),w(t,d),w(d,h),w(e,b),w(e,v);for(let Q=0;Q<F.length;Q+=1)F[Q].m(v,null);w(e,y),P=!0,N||(A=[le(n,"click",At(E)),le(d,"click",At(V))],N=!0)},p(W,K){if(i=W,(!P||K[0]&4097)&&r!==(r=i[12](i[39])+"")&&Te(a,r),(!P||K[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||K[0]&5&&c!==(c=cr(i[39],i[2])))&&f(n,"aria-selected",c),(!P||K[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(h,"class",p),(!P||K[0]&9&&m!==(m=i[3][i[39]+i[42]]))&&f(d,"aria-expanded",m),K[0]&49221){D=i[40];let Q;for(Q=0;Q<D.length;Q+=1){const ce=Gh(i,D,Q);F[Q]?(F[Q].p(ce,K),R(F[Q],1)):(F[Q]=l_(ce),F[Q].c(),R(F[Q],1),F[Q].m(v,null))}for(me(),Q=D.length;Q<F.length;Q+=1)M(Q);be()}(!P||K[0]&9&&k!==(k=!i[3][i[39]+i[42]]))&&f(v,"aria-hidden",k)},i(W){if(!P){for(let K=0;K<D.length;K+=1)R(F[K]);P=!0}},o(W){F=F.filter(Boolean);for(let K=0;K<F.length;K+=1)B(F[K]);P=!1},d(W){W&&I(e),ot(F,W),N=!1,$e(A)}}}function u8(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=r_(qh(i,n,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ve()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);T(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const g=qh(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=r_(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(me(),c=n.length;c<l.length;c+=1)r(c);be()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ot(l,a),a&&I(e)}}}function i_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,h,p,m;o=new qn({props:{node:i[43]}});function b(){return i[25](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),a=z(),Fe(o.$$.fragment),d=z(),f(n,"class","fd-nested-list__title svelte-1fy5y9u"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(v,k){T(v,e,k),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,d),h=!0,p||(m=le(t,"click",At(b)),p=!0)},p(v,k){i=v,(!h||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!h||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!h||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){h||(R(o.$$.fragment,v),h=!0)},o(v){B(o.$$.fragment,v),h=!1},d(v){v&&I(e),Oe(o),p=!1,m()}}}function l_(i){let e,t,n=i[43].label&&i_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=i_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function r_(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,h,p,m;o=new qn({props:{node:i[43]}});function b(){return i[22](i[43])}return{c(){e=C("li"),t=C("a"),n=C("span"),r=Ie(l),a=z(),Fe(o.$$.fragment),d=z(),f(n,"class","fd-nested-list__title svelte-1fy5y9u"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"aria-selected",g=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(v,k){T(v,e,k),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,d),h=!0,p||(m=le(t,"click",At(b)),p=!0)},p(v,k){i=v,(!h||k[0]&1)&&l!==(l=i[14](i[43])+"")&&Te(r,l);const y={};k[0]&1&&(y.node=i[43]),o.$set(y),(!h||k[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!h||k[0]&5&&g!==(g=i[43]===i[2]))&&f(t,"aria-selected",g)},i(v){h||(R(o.$$.fragment,v),h=!0)},o(v){B(o.$$.fragment,v),h=!1},d(v){v&&I(e),Oe(o),p=!1,m()}}}function a_(i){let e,t,n,l,r;const a=[u8,o8],o=[];function c(g,d){return d[0]&33&&(e=null),e==null&&(e=g[39]==="undefined"||g[39].indexOf(g[5])===0),e?0:1}return t=c(i,[-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ve()},m(g,d){o[t].m(g,d),T(g,l,d),r=!0},p(g,d){let h=t;t=c(g,d),t===h?o[t].p(g,d):(me(),B(o[h],1,1,()=>{o[h]=null}),be(),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){B(n),r=!1},d(g){o[t].d(g),g&&I(l)}}}function f8(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Yh(i);return{c(){r&&r.c(),e=ve()},m(a,o){r&&r.m(a,o),T(a,e,o),t=!0,n||(l=[le(Lo,"click",i[8]),le(Lo,"blur",i[8]),le(Lo,"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=Yh(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(me(),B(r,1,1,()=>{r=null}),be())},i(a){t||(R(r),t=!0)},o(a){B(r),t=!1},d(a){r&&r.d(a),a&&I(e),n=!1,$e(l)}}}function cr(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const c8=i=>!i.hideFromNav&&i.label,d8=i=>i.stopPropagation(),g8=i=>i.stopPropagation();function h8(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ke.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:h}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:m=!1}=e,{resizeTabNavToggle:b}=e,v,k=pt("getTranslation");Ci(i,k,$=>t(12,n=$));let y=pt("store"),P;const N={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:d,selectedNodeForTabNav:h,dropDownStates:p,isMoreBtnExpanded:m}),set:$=>{$&&Object.getOwnPropertyNames($).forEach(j=>{j==="pathData"?t(1,r=$.pathData):j==="context"?context=$.context:j==="children"?t(0,l=$.children):j==="selectedNode"?t(11,d=$.selectedNode):j==="selectedNodeForTabNav"&&t(2,h=$.selectedNodeForTabNav)})}},A=zt();function E($){return ke.getNodeLabel($)}const V=async()=>{const $=N.get(),j=await Ot.getTabNavData({...$},$);j&&(N.set({...j}),o=r,window.LEFTNAVDATA=j.groupedChildren,setTimeout(D))},D=()=>{F();let $=document.getElementsByClassName("luigi-tabsContainer")[0],j=document.getElementsByClassName("luigi-tabsMoreButton")[0],pe=document.getElementsByClassName("luigi__more")[0],Ke,Ue=0,ge=!1,Qe,xe;pe&&pe.setAttribute("aria-selected","false"),$&&(Ke=$.offsetWidth,[...$.children].forEach(vt=>{Qe=vt.currentStyle||window.getComputedStyle(vt),xe=parseFloat(Qe.marginLeft)+parseFloat(Qe.marginRight),Ue+=vt.offsetWidth+xe;let Ht=vt.getAttribute("uid");Ue>=Ke?(vt.classList.add("hide_element"),vt.getAttribute("isSelected")==="true"&&pe.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Ht+'"]').classList.remove("hide_element"),ge=!0):document.querySelector('li[uid="'+Ht+'"]').classList.add("hide_element")}),ge?j.classList.remove("hide_element"):j.classList.add("hide_element"))},F=()=>{let $=document.getElementsByClassName("luigi-tabsContainer")[0];$!==void 0&&[...$.children].forEach(pe=>{pe.classList.remove("hide_element")})},M=()=>{P=new ResizeObserver($=>{for(const j of $)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",j.contentRect.height+"px")}),setTimeout(()=>{const $=document.querySelector("#tabsContainer.lui-tabs");$&&P.observe($)})},W=()=>{P&&P.disconnect()};Jt(()=>{t(16,c=ae.getConfigBooleanValue("settings.hideNavigation")),M(),dn.doOnStoreChange(y,()=>{V()},["navigation.viewgroupdata"])}),Xr(()=>{W(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Kn(()=>{(!o||o!=r)&&V(),(v===void 0||v!==b)&&(v=b,V())}),Zr(()=>{W(),P?setTimeout(()=>{const $=document.querySelector("#tabsContainer.lui-tabs");$&&P.observe($)}):M()});function K($){return we.getNodeHref($,a)}function Q($){Ce(),A("handleClick",{node:$})}function ce($){let j={};p[$]||(j[$]=!0),t(3,p=j)}function Ce(){t(3,p={}),t(4,m=!1)}function G(){F(),D()}function J(){t(4,m=!m)}const fe=$=>Q($),te=$=>ce($),x=$=>Q($),Le=$=>Q($),ie=($,j)=>ce($+j),Ee=($,j)=>ce($+j),re=$=>Q($),Me=$=>ce($.name);return i.$$set=$=>{"children"in $&&t(0,l=$.children),"pathData"in $&&t(1,r=$.pathData),"pathParams"in $&&t(17,a=$.pathParams),"hideNavComponent"in $&&t(16,c=$.hideNavComponent),"virtualGroupPrefix"in $&&t(5,g=$.virtualGroupPrefix),"selectedNodeForTabNav"in $&&t(2,h=$.selectedNodeForTabNav),"dropDownStates"in $&&t(3,p=$.dropDownStates),"isMoreBtnExpanded"in $&&t(4,m=$.isMoreBtnExpanded),"resizeTabNavToggle"in $&&t(18,b=$.resizeTabNavToggle)},[l,r,h,p,m,g,Q,ce,Ce,G,J,d,n,k,E,K,c,a,b,fe,te,x,Le,ie,Ee,re,Me]}class mp extends Vt{constructor(e){super(),Dt(this,e,h8,f8,Rt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function s_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function o_(i,e,t){const n=i.slice();return n[24]=e[t],n[26]=t,n}function u_(i){let e,t,n,l,r,a=i[0]&&i[3].length>0&&f_(i),o=i[0]&&i[3].length>0&&h_(i);return{c(){e=C("div"),t=C("nav"),n=C("div"),a&&a.c(),l=z(),r=C("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-vdj4oe"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-vdj4oe"),f(e,"class","lui-globalnav svelte-vdj4oe")},m(c,g){T(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=f_(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=h_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&I(e),a&&a.d(),o&&o.d()}}}function f_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=g_(o_(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-vdj4oe")},m(l,r){T(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&16083){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=o_(l,t,a);n[a]?n[a].p(o,r):(n[a]=g_(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&&I(e),ot(n,l)}}}function c_(i){let e,t,n,l,r,a=i[11](i[24])+"",o,c,g,d,h,p,m,b,v,k,y=i[24].icon&&d_(i);function P(...N){return i[18](i[24],...N)}return{c(){e=C("li"),t=C("a"),n=C("div"),y&&y.c(),l=z(),r=C("div"),o=Ie(a),c=z(),g=C("div"),p=z(),f(r,"class","lui-text svelte-vdj4oe"),f(g,"class","lui-indicator svelte-vdj4oe"),f(n,"class","lui-fd-nested-list__content svelte-vdj4oe"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",h=i[7](i[24].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-vdj4oe"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-vdj4oe"),f(e,"data-testid",b=i[12](i[24]))},m(N,A){T(N,e,A),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||(k=le(t,"click",P),v=!0)},p(N,A){i=N,i[24].icon?y?y.p(i,A):(y=d_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),A&1&&a!==(a=i[11](i[24])+"")&&Te(o,a),A&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),A&129&&h!==(h=i[7](i[24].label))&&f(t,"title",h),A&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-vdj4oe")&&f(e,"class",m),A&1&&b!==(b=i[12](i[24]))&&f(e,"data-testid",b)},d(N){N&&I(e),y&&y.d(),v=!1,k()}}}function d_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[24])),e?p8:_8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function _8(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-vdj4oe"),Je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function p8(i){let e,t;return{c(){e=C("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-vdj4oe")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-vdj4oe")&&f(e,"class",t)},d(n){n&&I(e)}}}function g_(i){let e,t=i[24].globalNav===!0&&!i[24].separator&&c_(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[24].globalNav===!0&&!n[24].separator?t?t.p(n,l):(t=c_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function h_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=m_(s_(i,t,l));return{c(){e=C("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-vdj4oe")},m(l,r){T(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&16083){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=s_(l,t,a);n[a]?n[a].p(o,r):(n[a]=m_(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&&I(e),ot(n,l)}}}function __(i){let e,t,n,l,r,a=i[11](i[24])+"",o,c,g,d,h,p,m,b,v,k,y=i[24].icon&&p_(i);function P(){return i[19](i[24])}return{c(){e=C("li"),t=C("a"),n=C("div"),y&&y.c(),l=z(),r=C("div"),o=Ie(a),c=z(),g=C("div"),p=z(),f(r,"class","lui-text svelte-vdj4oe"),f(g,"class","lui-indicator svelte-vdj4oe"),f(n,"class","lui-fd-nested-list__content svelte-vdj4oe"),f(t,"href",d=i[6]?i[13](i[24]):void 0),f(t,"title",h=i[7](i[24].label)),f(t,"class","svelte-vdj4oe"),f(e,"class",m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-vdj4oe"),f(e,"data-testid",b=i[12](i[24]))},m(N,A){T(N,e,A),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||(k=le(n,"click",At(P)),v=!0)},p(N,A){i=N,i[24].icon?y?y.p(i,A):(y=p_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),A&1&&a!==(a=i[11](i[24])+"")&&Te(o,a),A&65&&d!==(d=i[6]?i[13](i[24]):void 0)&&f(t,"href",d),A&129&&h!==(h=i[7](i[24].label))&&f(t,"title",h),A&3&&m!==(m="fd-nested-list__item "+(i[24]===i[1]?"is-selected":"")+" svelte-vdj4oe")&&f(e,"class",m),A&1&&b!==(b=i[12](i[24]))&&f(e,"data-testid",b)},d(N){N&&I(e),y&&y.d(),v=!1,k()}}}function p_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[24])),e?b8:m8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ve()},m(a,o){r.m(a,o),T(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&&I(t)}}}function m8(i){let e,t,n;return{c(){e=C("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-vdj4oe"),Je(e.src,t=i[24].icon)||f(e,"src",t),f(e,"alt",n=i[24].altText?i[24].altText:"")},m(l,r){T(l,e,r)},p(l,r){r&1&&!Je(e.src,t=l[24].icon)&&f(e,"src",t),r&1&&n!==(n=l[24].altText?l[24].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function b8(i){let e,t;return{c(){e=C("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[24].icon)+" svelte-vdj4oe")},m(n,l){T(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[24].icon)+" svelte-vdj4oe")&&f(e,"class",t)},d(n){n&&I(e)}}}function m_(i){let e,t=i[24].globalNav==="bottom"&&!i[24].separator&&__(i);return{c(){t&&t.c(),e=ve()},m(n,l){t&&t.m(n,l),T(n,e,l)},p(n,l){n[24].globalNav==="bottom"&&!n[24].separator?t?t.p(n,l):(t=__(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function v8(i){let e,t,n,l=i[2]&&u_(i);return{c(){l&&l.c(),e=ve()},m(r,a){l&&l.m(r,a),T(r,e,a),t||(n=[le(window,"click",ss),le(window,"blur",ss)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=u_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:ze,o:ze,d(r){l&&l.d(r),r&&I(e),t=!1,$e(n)}}}function ss(){}function w8(i,e,t){let n;const l=zt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,d=pt("store"),h=pt("getTranslation");Ci(i,h,W=>t(7,n=W));let{showGlobalNav:p}=e,{hideNavComponent:m}=e,{responsiveNavSetting:b}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const k=async()=>{if(r&&0<r.length){const W=await ke.generateTopNavNodes(r);t(0,c=W.children),t(1,g=W.selectedNode),a=r}};Jt(()=>{dn.doOnStoreChange(d,()=>{t(14,m=ae.getConfigBooleanValue("settings.hideNavigation")),t(15,b=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!ae.getConfigBooleanValue("settings.btpToolLayout")&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&se.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Kn(()=>{(!a||a!=r)&&k(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(W){return ke.renderIconClassName(W)}function P(W){return ke.isOpenUIiconName(W.icon)}function N(W){return bt.getTranslation(W.label)}function A(W){return W.testId?W.testId:ke.prepareForTests(W.pathSegment,W.label)}function E(W){return we.getNodeHref(W,o)}function V(W){l("handleClick",{node:W})}function D(W){V(W.detail.node)}const F=(W,K)=>{ke.handleNavAnchorClickedWithoutMetaKey(K)&&V(W)},M=W=>V(W);return i.$$set=W=>{"pathData"in W&&t(3,r=W.pathData),"pathParams"in W&&t(16,o=W.pathParams),"children"in W&&t(0,c=W.children),"selectedNode"in W&&t(1,g=W.selectedNode),"showGlobalNav"in W&&t(2,p=W.showGlobalNav),"hideNavComponent"in W&&t(14,m=W.hideNavComponent),"responsiveNavSetting"in W&&t(15,b=W.responsiveNavSetting)},[c,g,p,r,V,ss,v,n,h,y,P,N,A,E,m,b,o,D,F,M]}class k8 extends Vt{constructor(e){super(),Dt(this,e,w8,v8,Rt,{pathData:3,pathParams:16,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:14,responsiveNavSetting:15,handleClick:4,handleClickExternal:17,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[17]}get closeAllDropdowns(){return ss}}function S8(i){let e;return{c(){e=C("div"),f(e,"class","lui-breadcrumb-container svelte-1kit7ok")},m(t,n){T(t,e,n),i[6](e)},p:ze,i:ze,o:ze,d(t){t&&I(e),i[6](null)}}}function C8(i,e,t){const n=zt();let{pathData:l}=e,r,a={},o,c=pt("store"),{showBreadcrumb:g}=e,{hideNavComponent:d}=e,{responsiveNavSetting:h}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const p=async()=>{l&&0<l.length&&(r=l)},m=y=>{y.last||v(y.node)};Jt(()=>{dn.doOnStoreChange(c,()=>{},["navigation"])}),Kn(async()=>{if(l&&(!r||r!=l)){if(p(),l.length===0)return;const y=ae.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!y),g&&l.forEach(P=>{P.showBreadcrumbs===!1?t(1,g=!1):P.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),y.renderer){let P=[];const N=y.omitRoot?2:1,A=it.getCurrentPath();for(let E=N;E<l.length;E++){const V=l[E],D=we.mapPathToNode(A,V);if(a[D])P.push(a[D]);else if(V.label||V.pathSegment||V.titleResolver)if(document.body.classList.add("lui-breadcrumb"),V.titleResolver)P.push({label:V.titleResolver.prerenderFallback&&V.titleResolver.fallbackTitle?bt.getTranslation(V.titleResolver.fallbackTitle):y.pendingItemLabel||"",node:V,route:D,pending:!0});else{const F=await b(V);F&&P.push({label:F,node:V,route:D})}}y.clearBeforeRender&&t(0,o.innerHTML="",o),y.renderer(o,P,m),P=[];for(let E=N;E<l.length;E++){const V=l[E],D=we.mapPathToNode(A,V);if(V.titleResolver){const M=await Ot.extractDataFromPath(D),W=we.substituteDynamicParamsInObject(Object.assign({},M.pathData.context,V.context),M.pathData.pathParams);try{const K=await ke.fetchNodeTitleData(V,W);P.push({label:K.label,node:V,route:D});continue}catch{}}const F=await b(V);F&&P.push({label:F,node:V,route:D})}A===it.getCurrentPath()&&(y.clearBeforeRender&&t(0,o.innerHTML="",o),P.length>1?(P[P.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),y.renderer(o,P,m)):y.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},P.map(E=>{a[E.route]=E}))}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 b(y){if(y.label&&!y._virtualTree)return bt.getTranslation(y.label)||y.label;if(y.pathSegment&&y.pathSegment.indexOf(":")===0){const P=we.mapPathToNode(it.getCurrentPath(),y),N=await Ot.extractDataFromPath(P);return we.getDynamicNodeValue(y,N.pathData.pathParams)}return y.pathSegment?y.pathSegment:""}function v(y){n("handleClick",{node:y})}function k(y){Ye[y?"unshift":"push"](()=>{o=y,t(0,o)})}return i.$$set=y=>{"pathData"in y&&t(2,l=y.pathData),"showBreadcrumb"in y&&t(1,g=y.showBreadcrumb),"hideNavComponent"in y&&t(3,d=y.hideNavComponent),"responsiveNavSetting"in y&&t(4,h=y.responsiveNavSetting)},[o,g,l,d,h,v,k]}class bp extends Vt{constructor(e){super(),Dt(this,e,C8,S8,Rt,{pathData:2,showBreadcrumb:1,hideNavComponent:3,responsiveNavSetting:4,handleClick:5})}get handleClick(){return this.$$.ctx[5]}}let Oo="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!"),Oo="disabled"):i.data==="luigi.tpcEnabled"&&(Oo="enabled")},!1);function y8(){return Oo}const{Boolean:P8,window:b_}=cl;function v_(i,e,t){const n=i.slice();return n[156]=e[t],n[158]=t,n}function w_(i){let e,t;return e=new ok({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function k_(i){let e,t;function n(){return i[70](i[158])}function l(...a){return i[71](i[158],...a)}function r(...a){return i[72](i[158],...a)}return e=new lp({props:{settings:i[156].mfModal.settings,nodepath:i[156].mfModal.nodepath,modalIndex:i[158],disableBackdrop:i[13]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Fe(e.$$.fragment)},m(a,o){Ve(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[156].mfModal.settings),o[0]&268435456&&(c.nodepath=i[156].mfModal.nodepath),o[0]&8192&&(c.disableBackdrop=i[13]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){B(e.$$.fragment,a),t=!1},d(a){Oe(e,a)}}}function S_(i){let e,t,n=i[156].mfModal.displayed&&k_(i);return{c(){n&&n.c(),e=ve()},m(l,r){n&&n.m(l,r),T(l,e,r),t=!0},p(l,r){l[156].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=k_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(me(),B(n,1,1,()=>{n=null}),be())},i(l){t||(R(n),t=!0)},o(l){B(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function C_(i){let e,t;return e=new lp({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[N8]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&8192|l[5]&16&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function N8(i){let e,t;return e=new Ul({props:{area:"drawer",disable:i[13]}}),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.disable=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function y_(i){let e,t;return e=new gk({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[73]),e.$on("modalDismiss",i[74]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function P_(i){let e,t,n;function l(a){i[75](a)}let r={userSettingGroups:i[18].userSettingGroups};return i[6]!==void 0&&(r.storedUserSettings=i[6]),e=new Lk({props:r}),Ye.push(()=>ct(e,"storedUserSettings",l,i[6])),e.$on("close",i[10]),{c(){Fe(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};o[0]&262144&&(c.userSettingGroups=a[18].userSettingGroups),!t&&o[0]&64&&(t=!0,c.storedUserSettings=a[6],ft(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){B(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function I8(i){let e,t,n,l,r,a,o,c;e=new Ul({props:{disable:i[13],$$slots:{default:[L8]},$$scope:{ctx:i}}});let g=i[11]&&I_(),d=!i[25]&&T_(i),h=!i[21]&&L_(i),p=!(i[21]||i[22])&&R_(i),m=i[16]&&!i[21]&&E_(i);return{c(){Fe(e.$$.fragment),t=z(),g&&g.c(),n=z(),d&&d.c(),l=z(),h&&h.c(),r=z(),p&&p.c(),a=z(),m&&m.c(),o=ve()},m(b,v){Ve(e,b,v),T(b,t,v),g&&g.m(b,v),T(b,n,v),d&&d.m(b,v),T(b,l,v),h&&h.m(b,v),T(b,r,v),p&&p.m(b,v),T(b,a,v),m&&m.m(b,v),T(b,o,v),c=!0},p(b,v){const k={};v[0]&8192&&(k.disable=b[13]),v[0]&12288|v[5]&16&&(k.$$scope={dirty:v,ctx:b}),e.$set(k),b[11]?g||(g=I_(),g.c(),g.m(n.parentNode,n)):g&&(g.d(1),g=null),b[25]?d&&(me(),B(d,1,1,()=>{d=null}),be()):d?(d.p(b,v),v[0]&33554432&&R(d,1)):(d=T_(b),d.c(),R(d,1),d.m(l.parentNode,l)),b[21]?h&&(me(),B(h,1,1,()=>{h=null}),be()):h?(h.p(b,v),v[0]&2097152&&R(h,1)):(h=L_(b),h.c(),R(h,1),h.m(r.parentNode,r)),b[21]||b[22]?p&&(me(),B(p,1,1,()=>{p=null}),be()):p?(p.p(b,v),v[0]&6291456&&R(p,1)):(p=R_(b),p.c(),R(p,1),p.m(a.parentNode,a)),b[16]&&!b[21]?m?(m.p(b,v),v[0]&2162688&&R(m,1)):(m=E_(b),m.c(),R(m,1),m.m(o.parentNode,o)):m&&(me(),B(m,1,1,()=>{m=null}),be())},i(b){c||(R(e.$$.fragment,b),R(d),R(h),R(p),R(m),c=!0)},o(b){B(e.$$.fragment,b),B(d),B(h),B(p),B(m),c=!1},d(b){Oe(e,b),b&&I(t),g&&g.d(b),b&&I(n),d&&d.d(b),b&&I(l),h&&h.d(b),b&&I(r),p&&p.d(b),b&&I(a),m&&m.d(b),b&&I(o)}}}function T8(i){let e,t,n,l,r,a,o,c,g,d,h,p,m,b=!i[25]&&D_(i),v=!(i[21]||i[22])&&V_(i),k=i[20]&&O_(i);h=new Ul({props:{disable:i[13],$$slots:{default:[A8]},$$scope:{ctx:i}}});let y=i[11]&&U_();return{c(){e=C("div"),t=C("div"),n=C("div"),l=C("div"),b&&b.c(),r=z(),a=C("div"),v&&v.c(),o=z(),c=C("div"),k&&k.c(),g=z(),d=C("div"),Fe(h.$$.fragment),p=z(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-gra29n"),f(c,"class","fd-tool-layout__content-container svelte-gra29n"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-gra29n"),f(e,"class","lui-core-layout svelte-gra29n")},m(P,N){T(P,e,N),w(e,t),w(t,n),w(n,l),b&&b.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),k&&k.m(c,null),w(c,g),w(c,d),Ve(h,d,null),w(d,p),y&&y.m(d,null),m=!0},p(P,N){P[25]?b&&(me(),B(b,1,1,()=>{b=null}),be()):b?(b.p(P,N),N[0]&33554432&&R(b,1)):(b=D_(P),b.c(),R(b,1),b.m(l,null)),P[21]||P[22]?v&&(me(),B(v,1,1,()=>{v=null}),be()):v?(v.p(P,N),N[0]&6291456&&R(v,1)):(v=V_(P),v.c(),R(v,1),v.m(a,o)),P[20]?k?(k.p(P,N),N[0]&1048576&&R(k,1)):(k=O_(P),k.c(),R(k,1),k.m(c,g)):k&&(me(),B(k,1,1,()=>{k=null}),be());const A={};N[0]&8192&&(A.disable=P[13]),N[0]&2355200|N[5]&16&&(A.$$scope={dirty:N,ctx:P}),h.$set(A),P[11]?y||(y=U_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){m||(R(b),R(v),R(k),R(h.$$.fragment,P),m=!0)},o(P){B(b),B(v),B(k),B(h.$$.fragment,P),m=!1},d(P){P&&I(e),b&&b.d(),v&&v.d(),k&&k.d(),Oe(h),y&&y.d()}}}function N_(i){let e,t;return e=new ap({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function L8(i){let e,t,n,l,r,a,o,c,g;t=new Ul({props:{area:"main",disable:i[13]}});let d=i[12].displayed&&N_(i);return{c(){e=C("div"),Fe(t.$$.fragment),n=z(),l=C("div"),r=z(),d&&d.c(),a=ve(),f(l,"class","wcContainer svelte-gra29n"),f(e,"class","fd-page iframeContainer svelte-gra29n"),f(e,"tabindex","0"),Vn(e,"lui-split-view",i[12].displayed),Vn(e,"lui-collapsed",i[12].collapsed)},m(h,p){T(h,e,p),Ve(t,e,null),w(e,n),w(e,l),T(h,r,p),d&&d.m(h,p),T(h,a,p),o=!0,c||(g=K_(i[46].call(null,e)),c=!0)},p(h,p){const m={};p[0]&8192&&(m.disable=h[13]),t.$set(m),(!o||p[0]&4096)&&Vn(e,"lui-split-view",h[12].displayed),(!o||p[0]&4096)&&Vn(e,"lui-collapsed",h[12].collapsed),h[12].displayed?d?(d.p(h,p),p[0]&4096&&R(d,1)):(d=N_(h),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(me(),B(d,1,1,()=>{d=null}),be())},i(h){o||(R(t.$$.fragment,h),R(d),o=!0)},o(h){B(t.$$.fragment,h),B(d),o=!1},d(h){h&&I(e),Oe(t),h&&I(r),d&&d.d(h),h&&I(a),c=!1,g()}}}function I_(i){let e;return{c(){e=C("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-
|
|
61
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-gra29n"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function T_(i){let e,t,n,l,r,a,o,c;function g(k){i[82](k)}function d(k){i[83](k)}function h(k){i[84](k)}function p(k){i[85](k)}function m(k){i[86](k)}function b(k){i[87](k)}let v={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.displayCustomSearchResult=i[4]),i[5]!==void 0&&(v.searchResult=i[5]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new pp({props:v}),Ye.push(()=>ct(e,"isSearchFieldVisible",g,i[0])),Ye.push(()=>ct(e,"displaySearchResult",d,i[3])),Ye.push(()=>ct(e,"displayCustomSearchResult",h,i[4])),Ye.push(()=>ct(e,"searchResult",p,i[5])),Ye.push(()=>ct(e,"inputElem",m,i[1])),Ye.push(()=>ct(e,"luigiCustomSearchRenderer__slot",b,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){Fe(e.$$.fragment)},m(k,y){Ve(e,k,y),c=!0},p(k,y){const P={};y[0]&32768&&(P.pathData=k[15]),y[0]&16384&&(P.pathParams=k[14]),y[0]&524288&&(P.burgerTooltip=k[19]),!t&&y[0]&1&&(t=!0,P.isSearchFieldVisible=k[0],ft(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=k[3],ft(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=k[4],ft(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=k[5],ft(()=>r=!1)),!a&&y[0]&2&&(a=!0,P.inputElem=k[1],ft(()=>a=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=k[2],ft(()=>o=!1)),e.$set(P)},i(k){c||(R(e.$$.fragment,k),c=!0)},o(k){B(e.$$.fragment,k),c=!1},d(k){Oe(e,k)}}}function L_(i){let e,t,n,l;e=new k8({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]);let r=i[20]&&A_(i);return{c(){Fe(e.$$.fragment),t=z(),r&&r.c(),n=ve()},m(a,o){Ve(e,a,o),T(a,t,o),r&&r.m(a,o),T(a,n,o),l=!0},p(a,o){const c={};o[0]&32768&&(c.pathData=a[15]),o[0]&16384&&(c.pathParams=a[14]),e.$set(c),a[20]?r?(r.p(a,o),o[0]&1048576&&R(r,1)):(r=A_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(me(),B(r,1,1,()=>{r=null}),be())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){B(e.$$.fragment,a),B(r),l=!1},d(a){Oe(e,a),a&&I(t),r&&r.d(a),a&&I(n)}}}function A_(i){let e,t;return e=new bp({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function R_(i){let e,t;return e=new sp({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&524288&&(r.burgerTooltip=n[19]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function E_(i){let e,t;return e=new mp({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[31]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function D_(i){let e,t,n,l,r,a,o,c;function g(k){i[76](k)}function d(k){i[77](k)}function h(k){i[78](k)}function p(k){i[79](k)}function m(k){i[80](k)}function b(k){i[81](k)}let v={pathData:i[15],pathParams:i[14],burgerTooltip:i[19]};return i[0]!==void 0&&(v.isSearchFieldVisible=i[0]),i[3]!==void 0&&(v.displaySearchResult=i[3]),i[4]!==void 0&&(v.displayCustomSearchResult=i[4]),i[5]!==void 0&&(v.searchResult=i[5]),i[1]!==void 0&&(v.inputElem=i[1]),i[2]!==void 0&&(v.luigiCustomSearchRenderer__slot=i[2]),e=new pp({props:v}),Ye.push(()=>ct(e,"isSearchFieldVisible",g,i[0])),Ye.push(()=>ct(e,"displaySearchResult",d,i[3])),Ye.push(()=>ct(e,"displayCustomSearchResult",h,i[4])),Ye.push(()=>ct(e,"searchResult",p,i[5])),Ye.push(()=>ct(e,"inputElem",m,i[1])),Ye.push(()=>ct(e,"luigiCustomSearchRenderer__slot",b,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[7]),e.$on("closeSearchResult",i[8]),e.$on("handleSearchNavigation",i[9]),{c(){Fe(e.$$.fragment)},m(k,y){Ve(e,k,y),c=!0},p(k,y){const P={};y[0]&32768&&(P.pathData=k[15]),y[0]&16384&&(P.pathParams=k[14]),y[0]&524288&&(P.burgerTooltip=k[19]),!t&&y[0]&1&&(t=!0,P.isSearchFieldVisible=k[0],ft(()=>t=!1)),!n&&y[0]&8&&(n=!0,P.displaySearchResult=k[3],ft(()=>n=!1)),!l&&y[0]&16&&(l=!0,P.displayCustomSearchResult=k[4],ft(()=>l=!1)),!r&&y[0]&32&&(r=!0,P.searchResult=k[5],ft(()=>r=!1)),!a&&y[0]&2&&(a=!0,P.inputElem=k[1],ft(()=>a=!1)),!o&&y[0]&4&&(o=!0,P.luigiCustomSearchRenderer__slot=k[2],ft(()=>o=!1)),e.$set(P)},i(k){c||(R(e.$$.fragment,k),c=!0)},o(k){B(e.$$.fragment,k),c=!1},d(k){Oe(e,k)}}}function V_(i){let e,t,n,l;return n=new sp({props:{pathData:i[15],pathParams:i[14],burgerTooltip:i[19]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=C("div"),t=C("div"),Fe(n.$$.fragment),f(t,"class","lui-box svelte-gra29n"),f(e,"class","fd-tool-layout__navigation-container svelte-gra29n")},m(r,a){T(r,e,a),w(e,t),Ve(n,t,null),l=!0},p(r,a){const o={};a[0]&32768&&(o.pathData=r[15]),a[0]&16384&&(o.pathParams=r[14]),a[0]&524288&&(o.burgerTooltip=r[19]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){B(n.$$.fragment,r),l=!1},d(r){r&&I(e),Oe(n)}}}function O_(i){let e,t;return e=new bp({props:{pathData:i[15],pathParams:i[14]}}),e.$on("handleClick",i[31]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function M_(i){let e,t;return e=new mp({props:{pathData:i[15],pathParams:i[14],resizeTabNavToggle:i[17]}}),e.$on("handleClick",i[31]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.pathData=n[15]),l[0]&16384&&(r.pathParams=n[14]),l[0]&131072&&(r.resizeTabNavToggle=n[17]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function F_(i){let e,t;return e=new ap({props:{splitViewSettings:i[12].settings,collapsed:i[12].collapsed,nodepath:i[12].nodepath,disableBackdrop:i[13]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Fe(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.splitViewSettings=n[12].settings),l[0]&4096&&(r.collapsed=n[12].collapsed),l[0]&4096&&(r.nodepath=n[12].nodepath),l[0]&8192&&(r.disableBackdrop=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){B(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function A8(i){let e,t,n,l,r,a,o,c,g,d;t=new Ul({props:{area:"main",disable:i[13]}});let h=i[16]&&!i[21]&&M_(i),p=i[12].displayed&&F_(i);return{c(){e=C("div"),Fe(t.$$.fragment),n=z(),l=C("div"),r=z(),h&&h.c(),a=z(),p&&p.c(),o=ve(),f(l,"class","wcContainer svelte-gra29n"),f(e,"class","fd-page iframeContainer svelte-gra29n"),f(e,"tabindex","0"),Vn(e,"lui-split-view",i[12].displayed),Vn(e,"lui-collapsed",i[12].collapsed)},m(m,b){T(m,e,b),Ve(t,e,null),w(e,n),w(e,l),T(m,r,b),h&&h.m(m,b),T(m,a,b),p&&p.m(m,b),T(m,o,b),c=!0,g||(d=K_(i[46].call(null,e)),g=!0)},p(m,b){const v={};b[0]&8192&&(v.disable=m[13]),t.$set(v),(!c||b[0]&4096)&&Vn(e,"lui-split-view",m[12].displayed),(!c||b[0]&4096)&&Vn(e,"lui-collapsed",m[12].collapsed),m[16]&&!m[21]?h?(h.p(m,b),b[0]&2162688&&R(h,1)):(h=M_(m),h.c(),R(h,1),h.m(a.parentNode,a)):h&&(me(),B(h,1,1,()=>{h=null}),be()),m[12].displayed?p?(p.p(m,b),b[0]&4096&&R(p,1)):(p=F_(m),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(me(),B(p,1,1,()=>{p=null}),be())},i(m){c||(R(t.$$.fragment,m),R(h),R(p),c=!0)},o(m){B(t.$$.fragment,m),B(h),B(p),c=!1},d(m){m&&I(e),Oe(t),m&&I(r),h&&h.d(m),m&&I(a),p&&p.d(m),m&&I(o),g=!1,d()}}}function U_(i){let e;return{c(){e=C("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-ylrzru"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function A8(i){let e,t,n,l,r,s,o,c,g,d,h,p,m=i[26]&&i[26].length&&w_(i),b=i[28],v=[];for(let D=0;D<b.length;D+=1)v[D]=S_(v_(i,b,D));const k=D=>B(v[D],1,1,()=>{v[D]=null});let y=i[29].displayed&&i[29].settings.isDrawer&&C_(i),P=i[27].displayed&&y_(i),N=i[18].displayed&&P_(i);const A=[I8,N8],E=[];function V(D,F){return D[30]?0:1}return o=V(i),c=E[o]=A[o](i),{c(){e=C("div"),m&&m.c(),t=z();for(let D=0;D<v.length;D+=1)v[D].c();n=z(),y&&y.c(),l=z(),P&&P.c(),r=z(),N&&N.c(),s=z(),c.c(),f(e,"id","app"),f(e,"class",g=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-ylrzru"),f(e,"configversion",i[24])},m(D,F){T(D,e,F),m&&m.m(e,null),w(e,t);for(let M=0;M<v.length;M+=1)v[M].m(e,null);w(e,n),y&&y.m(e,null),w(e,l),P&&P.m(e,null),w(e,r),N&&N.m(e,null),w(e,s),E[o].m(e,null),d=!0,h||(p=[le(b_,"resize",i[36]),le(b_,"keydown",i[47])],h=!0)},p(D,F){if(D[26]&&D[26].length?m?(m.p(D,F),F[0]&67108864&&R(m,1)):(m=w_(D),m.c(),R(m,1),m.m(e,t)):m&&(be(),B(m,1,1,()=>{m=null}),ve()),F[0]&268443648|F[1]&1792){b=D[28];let M;for(M=0;M<b.length;M+=1){const W=v_(D,b,M);v[M]?(v[M].p(W,F),R(v[M],1)):(v[M]=S_(W),v[M].c(),R(v[M],1),v[M].m(e,n))}for(be(),M=b.length;M<v.length;M+=1)k(M);ve()}D[29].displayed&&D[29].settings.isDrawer?y?(y.p(D,F),F[0]&536870912&&R(y,1)):(y=C_(D),y.c(),R(y,1),y.m(e,l)):y&&(be(),B(y,1,1,()=>{y=null}),ve()),D[27].displayed?P?(P.p(D,F),F[0]&134217728&&R(P,1)):(P=y_(D),P.c(),R(P,1),P.m(e,r)):P&&(be(),B(P,1,1,()=>{P=null}),ve()),D[18].displayed?N?(N.p(D,F),F[0]&262144&&R(N,1)):(N=P_(D),N.c(),R(N,1),N.m(e,s)):N&&(be(),B(N,1,1,()=>{N=null}),ve()),c.p(D,F),(!d||F[0]&48234496&&g!==(g=(D[21]?"no-nav":"")+" "+(D[22]?"no-side-nav":"")+" "+(D[25]?"no-top-nav":"")+" "+(D[23]?"no-animation":"")+" svelte-ylrzru"))&&f(e,"class",g),(!d||F[0]&16777216)&&f(e,"configversion",D[24])},i(D){if(!d){R(m);for(let F=0;F<b.length;F+=1)R(v[F]);R(y),R(P),R(N),R(c),d=!0}},o(D){B(m),v=v.filter(y8);for(let F=0;F<v.length;F+=1)B(v[F]);B(y),B(P),B(N),B(c),d=!1},d(D){D&&I(e),m&&m.d(),ot(v,D),y&&y.d(),P&&P.d(),N&&N.d(),E[o].d(),h=!1,$e(p)}}}function R8(i,e,t){const n=zt();let{store:l}=e,{getTranslation:r}=e,s=!1,o={displayed:!1},c,g,d=!1,h,p,m,b,v,k,y,P,N,A,E,V,D,F,M,W,K,Q,ce,Ce=!0,G=!1,J,fe,te,x=[],Le={isDirty:!1,persistUrl:null},ie,Ee,re=!1,Ve,$,j={},pe,Ke,Ue,he=se.getConfigBooleanValue("settings.btpToolLayout"),{isSearchFieldVisible:Qe}=e,{inputElem:xe}=e,{luigiCustomSearchRenderer__slot:jt}=e,{displaySearchResult:vt}=e,{displayCustomSearchResult:Ht=!0}=e,{searchResult:bn}=e,{storedUserSettings:Yt}=e;const en=async H=>{const ue=H.iframe.luigi,Ne=ue.currentNode&&ue.currentNode.userSettingsGroup,Ae=await se.readUserSettings(),He=Ne&&typeof Ae=="object"&&Ae!==null,ye=Re.applyCoreStateData({isNavigateBack:G,viewStackSize:x.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:He?Ae[Ne]:null,anchor:al.getAnchor(),cssVariables:await Do.getCSSVariables()});return Re.specialIframeTypes.map(Be=>Be.iframeConfigKey).forEach(Be=>{ye[Be]=H[Be]||!1}),ye},In=async(H,ue={})=>{if(!H.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ne={msg:"luigi.init",context:JSON.stringify(Object.assign({},H.context||A,ue)),nodeParams:JSON.stringify(Object.assign({},H.nodeParams||E)),pathParams:JSON.stringify(Object.assign({},H.pathParams||V)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(H.iframe.luigi.currentNode))),internal:JSON.stringify(await en(H)),authData:ol.getStoredAuthData()};H.iframe.luigi._lastUpdatedMessage=Ne,Re.sendMessageToIframe(H.iframe,Ne)},vn=H=>{const ue={msg:"luigi.auth.tokenIssued",authData:H};Re.broadcastMessageToAllIframes(ue)},sn=(H,ue)=>{if(H.params.preserveView||H.params.viewgroup){const Ne=kn(H.params),Ae=it.getNodePath(F,D);x.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?ae.replaceVars(Ae,ue.iframe.luigi.pathParams,":",!1):Ae,nextPath:Ne.startsWith("/")?Ne:"/"+Ne,context:A}),ue.iframe.pv="pv"}},Tn=(H,ue,Ne,Ae)=>{let He=kn(H.params,Ne,Ae);const{preventHistoryEntry:ye,preserveQueryParams:Be,preventContextUpdate:mt}=H.params,Ft={keepBrowserHistory:!ye,navSync:Ce,preventContextUpdate:mt};return He=ae.addLeadingSlash(He),He=Be?we.composeSearchParamsToRoute(He):He,sn(H,ue),it.navigateTo(He,Ft)},Tt=H=>H.split("?")[0],dl=(H,ue)=>{if(H.length===0)return!1;const Ne=ue.startsWith("/")?ue:`/${ue}`,Ae=[...H].pop();return[Tt(Ae.path),Tt(Ae.nextPath)].includes(Tt(Ne))},li=H=>{Le&&Le.dirtySet&&(H?Le.dirtySet.delete(H):Le.dirtySet.clear())},wn=H=>new Promise((ue,Ne)=>{Ai(H)?Gl().then(()=>{li(),ue()},()=>{Ne()}):ue()}),Qt=()=>({get:()=>({unsavedChanges:Le,hideNav:jn,viewUrl:M,nodeParams:E,viewGroup:W,urlParamsRaw:D,currentNode:F,navigationPath:fe,context:A,pathParams:V,hideSideNav:Fn,isolateView:K,pageErrorHandler:Q,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:k,splitViewWC:P,showLoadingIndicator:s,tabNav:Ee,isNavigateBack:G,goBackContext:J,isNavigationSyncEnabled:Ce}),set:H=>{H&&(t(23,bl=!1),Object.getOwnPropertyNames(H).forEach(ue=>{ue==="hideNav"?t(21,jn=H.hideNav):ue==="viewUrl"?M=H.viewUrl:ue==="nodeParams"?E=H.nodeParams:ue==="viewGroup"?W=H.viewGroup:ue==="urlParamsRaw"?D=H.urlParamsRaw:ue==="currentNode"?F=H.currentNode:ue==="navigationPath"?t(15,fe=H.navigationPath):ue==="context"?A=H.context:ue==="pathParams"?t(14,V=H.pathParams):ue==="hideSideNav"?(Fn!=H.hideSideNav&&(t(23,bl=!0),setTimeout(()=>{const Ne=document.querySelector("#app");Ne&&Ne.classList.remove("no-animation")})),t(22,Fn=H.hideSideNav)):ue==="isolateView"?K=H.isolateView:ue==="pageErrorHandler"?Q=H.pageErrorHandler:ue==="previousNodeValues"?ce=H.previousNodeValues:ue==="mfSplitView"?t(12,o=H.mfSplitView):ue==="splitViewValues"?c=H.splitViewValues:ue==="splitViewIframe"?k=H.splitViewIframe:ue=="splitViewWC"?P=H.splitViewWC:ue==="showLoadingIndicator"?H.showLoadingIndicator===!0?Ue=setTimeout(()=>{t(11,s=!0)},250):(t(11,s=!1),clearTimeout(Ue)):ue==="tabNav"?t(16,Ee=H.tabNav):ue==="isNavigateBack"?G=H.isNavigateBack:ue==="goBackContext"?J=H.goBackContext:ue==="isNavigationSyncEnabled"&&(Ce=H.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ai,getUnsavedChangesModalPromise:wn,showUnsavedChangesModal:Gl,showAlert:wl,prepareInternalData:en,dispatch:n}),Jn=(H,ue)=>{dn.doOnStoreChange(l,()=>{const Ne=document.querySelector(".wcContainer");Ne&&(Ne.configChangedRequest=!0),Gn.deleteCache();const Ae=it.getCurrentPath();it.handleRouteChange(Ae,Qt(),H,ue)},["navigation.nodes"]),we.addRouteChangeListener((Ne,Ae)=>{const{withoutSync:He,preventContextUpdate:ye}=Ae||{};dl(x,Ne)||(x=[],ui.removeInactiveIframes(H));for(let mt=gt.length;mt--;)St(mt);$r.removeBackdrop(),gi(),it.handleRouteChange(Ne,Qt(),H,ue,He,ye)})},tn=(H,ue)=>ae.replaceVars(it.getNodePath(H),ue,":",!1),kn=(H,ue,Ne)=>{const Ae=ue||F,He=Ne||V;let ye=fe;if(ue){let mt=ue.parent;for(ye=[ue];mt;)ye.push(mt),mt=mt.parent;ye=[...ye].reverse()}let Be=H.link;if(H.fromVirtualTreeRoot){const mt=[...ye].reverse().find(Ft=>Ft.virtualTree);if(!mt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Be=it.concatenatePath(tn(mt,He),H.link)}else if(H.fromParent)Be=it.concatenatePath(tn(Ae.parent,He),H.link);else if(H.fromClosestContext){const mt=[...ye].reverse().find(Ft=>Ft.navigationContext&&Ft.navigationContext.length>0);Be=it.concatenatePath(tn(mt,He),H.link)}else if(H.fromContext){const mt=H.fromContext,Ft=[...ye].reverse().find(Nr=>mt===Nr.navigationContext);Be=it.concatenatePath(tn(Ft,He),H.link)}else H.intent?Be=we.getIntentPath(H.link):H.relative&&(Be=it.concatenatePath(tn(Ae,He),H.link));return H.nodeParams&&Object.keys(H.nodeParams).length>0&&(Be+=Be.includes("?")?"&":"?",Object.entries(H.nodeParams).forEach((mt,Ft)=>{Be+=encodeURIComponent(we.getContentViewParamPrefix()+mt[0])+"="+encodeURIComponent(mt[1])+(Ft<Object.keys(H.nodeParams).length-1?"&":"")})),Be},hi=H=>{const ue=H.detail.node;wn().then(()=>{if(Wl(),ue.openNodeInModal){const Ne=we.buildRoute(ue,`/${ue.pathSegment}`);Yi(Ne,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ne=we.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,wr(Ne,ue.drawer)}else Qt().set({isNavigationSyncEnabled:!0}),it.handleRouteClick(ue,Qt())},()=>{})},yi=()=>{t(17,re=!re)};Gr("handleNavigation",Tn);const hn=H=>H?!0:(console.warn("No search provider defined."),!1),Pi=()=>{hn($)&&t(0,Qe=!1)},Ni=()=>{hn($)&&xe&&(t(0,Qe=!0),xe.focus())},Ii=()=>{hn($)&&xe&&(t(1,xe.value="",xe),Li())},Ti=()=>{t(0,Qe=!Qe),T2.clearSearchField()},hl=()=>{if(hn($)&&xe)return xe.value},gl=H=>{hn($)&&xe&&(t(1,xe.value=H,xe),ae.isFunction($.onInput)?$.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=H=>{hn($)&&xe&&t(1,xe.placeholder=H,xe)},Gi=H=>{if(hn($))if(H&&H.length>0)if(ae.isFunction($.customSearchResultRenderer)){t(4,Ht=!0);let ue={fireItemSelected:Ne=>{$.onSearchResultItemSelected(Ne)}};$.customSearchResultRenderer(H,jt,ue)}else t(3,vt=!0),t(5,bn=H);else console.warn("Search result array is empty.")},Li=()=>{if(hn($)&&(t(3,vt=!1),t(5,bn=[]),jt))for(;jt.lastElementChild;)jt.removeChild(jt.lastElementChild)},pl=H=>{let ue=H.detail.node,Ne={params:{link:ue.link,nodeParams:ue.params}};Tn(Ne)},qi=(H,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=at.getDefaultData().mfSplitView),at.open(Qt(),H,ue)},gi=()=>{at.close(Qt())},ml=()=>{at.collapse(Qt()),t(12,o.collapsed=!0,o)},Z=()=>{at.expand(Qt()),t(12,o.collapsed=!1,o)},Pe=()=>o.displayed?o.collapsed:!1,tt=()=>o.displayed?!o.collapsed:!1,ht=()=>o.displayed,wt=H=>{k=H.detail.splitViewIframe,y=H.detail.splitViewIframeData,t(12,o.collapsed=H.detail.collapsed,o)},an=H=>{H.detail.displayed!==void 0&&t(12,o.displayed=H.detail.displayed,o),H.detail.collapsed!==void 0&&t(12,o.collapsed=H.detail.collapsed,o)},Sn=H=>{P=H.detail.splitViewWC,H.detail.splitViewWCData,t(12,o.collapsed=H.detail.collapsed,o)};let jn,Fn,bl,Ki,Bl,Hl;const Wl=()=>{document.body.classList.remove("lui-leftNavToggle")},mr=()=>{Qi();const H=window.innerWidth>=xt.desktopMinWidth&&Ki<xt.desktopMinWidth,ue=window.innerWidth<xt.desktopMinWidth&&Ki>=xt.desktopMinWidth;(H||ue)&&Wl(),Ki=window.innerWidth};let Cn=[];const vl=(H,ue)=>{if(!(!H||!(H.length>0)))return H.filter(Ne=>Ne.settings.id===ue)[0]},wl=(H,ue=!1)=>{const Ne=se.getConfigValue("settings.customAlertHandler");if(ae.isFunction(Ne)){const He=Ne(H,ue);if(He!==!1)return He}const Ae=Cn;return H.id||(H.id=ae.getRandomId()),H.id&&Ae&&vl(Ae,H.id)?(console.error(`The alert with id '${H.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(H.closeAfter&&setTimeout(()=>{vl(Cn,H.id)&&zl(H.id)},H.closeAfter),new Promise((He,ye)=>{t(26,Cn=[...Ae||[],{displayed:!0,settings:H,openFromClient:ue,promise:{resolve:He}}])}))},zl=(H,ue)=>{const Ne=vl(Cn,H);if(!Ne){console.error("An unexisting alert has been dismissed.",Cn,H);return}if(t(26,Cn=Cn.filter(Ae=>Ae.settings.id!==H)),Ne.openFromClient){const Ae=ui.getActiveIframe(te),He={msg:"luigi.ux.alert.hide",id:H,dismissKey:ue};Re.sendMessageToIframe(Ae,He)}else Ne.promise&&Ne.promise.resolve(ue||H)},br=H=>{zl(H.detail.id,H.detail.dismissKey)};let Ji;const kl=()=>{t(27,Ji={displayed:!1,content:{},openFromClient:!1,promise:null})};kl();const _i=(H,ue=!1,Ne)=>new Promise((Ae,He)=>{t(27,Ji={displayed:!0,settings:H,openFromClient:ue,promise:{resolve:Ae,reject:He},targetIframe:Ne})}),Sl=H=>{const{promise:ue,openFromClient:Ne,targetIframe:Ae}=Ji;if(kl(),H?ue.resolve():ue.reject(),Ne&&Ae){const He={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:H}};Re.sendMessageToIframe(Ae,He)}},Ai=H=>{if(Le.dirtySet){if(H)return Le.dirtySet.has(H);if(Le.dirtySet.size>0)return!0}return!1},Gl=()=>_i({header:bt.getTranslation("luigi.unsavedChangesAlert.header"),body:bt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:bt.getTranslation("luigi.button.dismiss"),buttonConfirm:bt.getTranslation("luigi.button.confirm")}),vr=()=>Le.dirtySet?Le.dirtySet.size>0:Le.isDirty;Gr("getUnsavedChangesModalPromise",wn);let gt=[];const ji=H=>{if(typeof H>"u"){t(28,gt=[]);return}t(28,gt=gt.filter((ue,Ne)=>H!==Ne))};ji();const Yi=async(H,ue)=>{if(await ke.shouldPreventNavigationForPath(H))return;const Ne={mfModal:{displayed:!0,nodepath:H,settings:ue}};t(28,gt=[...gt,Ne]),se.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&it.appendModalDataToUrl(H,ue)},Cl=(H,ue)=>{t(28,gt[ue].modalIframe=H.detail.modalIframe,gt),t(28,gt[ue].modalIframeData=H.detail.modalIframeData,gt)},X=(H,ue)=>{t(28,gt[ue].modalWC=H.detail.modalWC,gt),t(28,gt[ue].modalWCData=H.detail.modalWCData,gt)},St=(H,ue,Ne)=>{const Ae=(Be,mt)=>{se.getConfigBooleanValue("routing.showModalPathInUrl")&>.length===1&&it.removeModalDataFromUrl(mt),ji(Be)},He=gt[H],ye=ae.getRemotePromise(He.mfModal.settings.onClosePromiseId);He&&He.modalIframe?wn(He.modalIframe.contentWindow).then(()=>{Ae(H,ue),ye&&ye.doResolve(Ne)},()=>{}):He&&He.modalWC&&(Ae(H,ue),ye&&ye.doResolve(Ne))};Gr("openViewInModal",Yi);let Ct={};const Yn=()=>{t(29,Ct.displayed=!1,Ct),t(29,Ct.nodepath=void 0,Ct),t(29,Ct.settings={},Ct),t(13,h=!1)};Yn();const wr=async(H,ue)=>{await ke.shouldPreventNavigationForPath(H)||(t(29,Ct.displayed=!0,Ct),t(29,Ct.nodepath=H,Ct),t(29,Ct.settings=ue,Ct),Ct.settings&&Ct.settings.backdrop&&t(13,h=!0))},xr=()=>window.innerWidth>=xt.desktopMinWidth&&Ct.displayed&&Ct.settings&&!Ct.settings.overlap,Qi=(H=!1)=>{if(!xr())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ne=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(H)Ne.forEach(Ae=>{Ae==null||Ae.style.removeProperty("width")});else{const{width:Ae}=getComputedStyle(ue);Ne.forEach(He=>{kr(He,Ae)})}},kr=(H,ue)=>{H&&!H.style.getPropertyValue("width").includes("calc(")&&H.style.setProperty("width",`calc(${H.clientWidth}px - ${ue})`)},oa=H=>{p=H.detail.modalIframe,m=H.detail.modalIframeData,Qi()},es=H=>{b=H.detail.modalWC,H.detail.modalWCData,Qi()},ql=H=>{d=H.detail.activeDrawer},Kl=H=>{if(H&&H.detail&&H.detail.activeDrawer!==void 0&&(d=H.detail.activeDrawer),!d||H&&H.detail&&H.detail.type!=="modal")try{p?wn(p.contentWindow).then(()=>{Yn()},()=>{}):b&&wn().then(()=>{Yn()},()=>{}),Qi(!0)}catch(ue){console.log(ue)}},ua=()=>{const H=fr.processUserSettingGroups();Array.isArray(H)&&H.length>0?(t(18,j.userSettingGroups=[...H],j),t(18,j.displayed=!0,j)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ts=()=>{t(18,j.displayed=!1,j)},ns=async H=>{if(await ke.shouldPreventNavigationForPath(H))return;se.getConfigValue("routing.useHashRouting")&&(H="#"+H),window.open(H,"_blank","noopener,noreferrer")},Sr=H=>{let ue=fe;if(F){let He=F.parent;for(ue=[F];He;)ue.push(He),He=He.parent;ue=[...ue].reverse()}let Ne=H.link,Ae=tn(F,V);if(H.fromVirtualTreeRoot){const He=[...ue].reverse().find(Be=>Be.virtualTree);if(!He){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const ye=tn(He,V);Ne=Ae.split(ye).join("")}else if(H.fromParent){const He=tn(F.parent,V);Ne=Ae.split(He).join("")}else if(H.fromClosestContext){const He=[...ue].reverse().find(Be=>Be.navigationContext&&Be.navigationContext.length>0),ye=tn(He,V);Ne=Ae.split(ye).join("")}else if(H.fromContext){const He=H.fromContext,ye=[...ue].reverse().find(mt=>He===mt.navigationContext),Be=tn(ye,V);Ne=Ae.split(Be).join("")}else Ne=Ae;return Ne};function fa(H){sessionStorage.removeItem("historyState"),ur.shouldPreload=!0,ur.preload(!0),ur.shouldPreload=!1;const ue=se.getConfigValue("navigation.defaults.isolateView"),Ne=se.getConfigValue("navigation.defaults.pageErrorHandler"),Ae=se.getConfigValue("navigation.defaults.runTimeErrorHandler"),He={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ne};bt.addCurrentLocaleChangeListener(ye=>{const Be={msg:"luigi.current-locale-changed",currentLocale:ye};Re.broadcastMessageToAllIframes(Be)}),Mn.addEventListener("popstate",async ye=>{const Be=Cn;if(!Be||!(Be.length>0))return;const mt=Be.map(Ft=>{if(Ft&&!Ft.openFromClient&&typeof Ft.settings.ttl=="number"){if(Ft.settings.ttl===0)return null;Ft.settings.ttl--}return Ft}).filter(Ft=>Ft);t(26,Cn=mt)}),Mn.addEventListener("message",async ye=>{const Be=Re.getValidMessageSource(ye),mt=gt[gt.length-1],Ft=mt&&mt.modalIframe,Nr=mt&&mt.modalIframeData,Ri={modalIframe:Ft,modalIframeData:Nr,drawerIframe:p,drawerIframeData:m,drawer:v,modal:g,splitViewIframe:k,splitViewIframeData:y,splitView:N};if(!Be)return;Be._ready=!0;const Ir=Re.getSpecialIframeMessageSource(ye,Ri),Ut=Ir&&Ir.length>0,yl=se.getConfigValue("communication.skipEventsWhenInactive");if(yl&&yl.length>0&&!Ut&&Be.contentWindow!==window&&!ae.isElementVisible(Be)&&yl.includes(ye.data.msg)){console.debug(`EVENT '${ye.data.msg}' from inactive iframe -> SKIPPED`);return}if(ye.data.msg==="custom"){const Ge=se.getConfigValue("communication.customMessagesListeners")||{},Pt=na.convertCustomMessageInternalToUser(ye.data),Lt=Ge[Pt.id],Nt="luigi.updateUserSettings";if(j&&Pt.id===Nt){Lt&&console.warn(`The key "${Nt}" is not allowed to use for custom messages.`);return}if(typeof Lt=="function"){const Ln=ci.getMicrofrontends().find(Qn=>Re.isMessageSource(ye,Qn.container));Lt(Pt,Ln,ae.removeInternalProperties(Be.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Pt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(ye.data.msg==="luigi.init.ok"&&(Be.luigi.initOk=!0),ye.data.msg==="luigi.navigate.ok"&&(Be.luigi.viewUrl=Be.luigi.nextViewUrl,Be.luigi.nextViewUrl="",Be.luigi.clientPermissions=Be.luigi.nextClientPermissions,delete Be.luigi.nextClientPermissions,He.navigateOk=!0,ur.preload()),ye.data.msg==="luigi.get-context"){if(Be.luigi.clientVersion=ye.data.clientVersion,Be.luigi.initOk=!1,Ut)Ir.forEach(async Ge=>{let Pt=Ri[Ge.dataKey].context;const Lt={...He,iframe:Ri[Ge.iframeKey],context:Pt,pathParams:Ri[Ge.dataKey].pathParams,nodeParams:Ri[Ge.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Ri[Ge.iframeKey].luigi.currentNode),modal:Ge.iframeKey.startsWith("modal"),drawer:Ge.iframeKey.startsWith("drawer"),splitView:Ge.iframeKey.startsWith("splitView")};await In(Lt,{})});else if(He.iframe&&Re.isMessageSource(ye,He.iframe))await In(He,{}),(!F||!F.loadingIndicator||F.loadingIndicator.hideAutomatically!==!1)&&yr(),ur.preload();else if(Be.luigi.preloading)await In({iframe:Be,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ge=fr.findActiveCustomUserSettingsIframe(ye.source);if(Ge){let Pt=Ge.getAttribute("userSettingsGroup"),Lt={context:{userSettingsData:Yt[Pt]},iframe:Ge};await In(Lt)}}ur.viewGroupLoaded(Be)}if(ye.data.msg==="luigi.show-loading-indicator"&&t(11,s=!0),ye.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Ue),t(11,s=!1)),ye.data.msg==="luigi.navigation.open"){G=!1;const Ge=window.location.href,Pt=Ut?Be.luigi.currentNode:void 0,Lt=Ut?Be.luigi.pathParams:void 0,Nt=ye.data.params,{intent:Ln,newTab:Qn,modal:Xi,splitView:jl,drawer:Pl,withoutSync:Sa}=Nt;let on=Qn||Xi||jl||Pl;const Ca=()=>{const Zt=ae.getRemotePromise(ye.data.remotePromiseId);Zt&&Zt.doResolve()},un=()=>{const Zt=ae.getRemotePromise(ye.data.remotePromiseId);Zt&&Zt.doReject()},Nl=Zt=>{!Zt||Ge!==window.location.href?Ca():un()};ye.source!==window&&!Ln&&Nt.link&&(Nt.link=Nt.link.split("?")[0]);let fn=kn(ye.data.params,Pt,Lt);if(on=on||Ln&&fn.external,!on)wn().then(()=>{Ce=!ye.data.params.withoutSync,Tn(ye.data,He,Pt,Lt).then(()=>{Nl(!0)}).catch(()=>{un()}),gt.forEach((Zt,Yl)=>{St(Yl)}),gi(),Kl(),Ce=!0}).catch(()=>{un()});else{if(Ln&&fn.external){it.navigateToExternalLink({url:fn.url,sameWindow:!fn.openInNewTab});return}if(fn=ae.addLeadingSlash(fn),Qn){await ns(fn),Nl();return}const Zt=await Jl(fn);if(fn=await we.handlePageNotFoundAndRetrieveRedirectPath(Qt(),fn,Zt),!fn){un();return}te=H,Xi!==void 0?(!Xi.keepPrevious&&ji(),await Yi(fn,Xi===!0?{}:Xi),Nl()):jl!==void 0?(await qi(fn,jl),Nl()):Pl!==void 0&&(Yn(),Pl.isDrawer=!0,await wr(fn,Pl),Nl())}}if(ye.data.msg==="luigi.navigation.back"){const Ge=gt[gt.length-1],Pt=gt.length>1&>[gt.length-2],Lt=ye.data.goBackContext&&JSON.parse(ye.data.goBackContext);if(Re.isMessageSource(ye,Ge&&Ge.modalIframe)){St(gt.length-1,!0,Lt);let Nt=He;if(Pt&&Pt.modalIframeData&&Pt.modalIframe){const Ln=Pt,Qn=Ln.modalIframeData;Nt={pathParams:Qn.pathParams,context:Qn.context,iframe:Ln.modalIframe}}Nt.iframe&&await In(Nt,{goBackContext:Lt})}else Re.isMessageSource(ye,k)?(gi(),He.iframe&&await In(He,{goBackContext:Lt})):Re.isMessageSource(ye,p)?(d&&(d=!d),Kl(),He.iframe&&await In(He,{goBackContext:Lt})):x&&x.length>0?wn().then(()=>{ui.setActiveIframeToPrevious(H);const Nt=x.pop();He.iframe=ui.getActiveIframe(H),G=!0,x=x,J=Lt,Tn({params:{link:Nt.path}},He)},()=>{}):(Lt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(ye.data.msg==="luigi.navigation.currentRoute"){const Ge=ye.data.data,Lt={msg:"luigi.navigation.currentRoute.answer",data:{route:Sr(Ge),correlationId:Ge.id}};Re.sendMessageToIframe(Be,Lt)}if(ye.data.msg==="luigi.auth.tokenIssued"&&vn(ye.data.authData),ye.data.msg==="luigi.navigation.updateModalDataPath"){if(!se.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ut){const Ge=ae.addLeadingSlash(kn(ye.data.params,Be.luigi.currentNode,Be.luigi.pathParams));it.updateModalDataInUrl(Ge,ye.data.params.modal,ye.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(ye.data.msg==="luigi.navigation.pathExists"){const Ge=Be.luigi.currentNode,Pt=Be.luigi.pathParams,Lt=ye.data.data,Nt=kn(Lt,Ge,Pt),Ln=Nt?await Ot.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),Nt):!1,Qn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Lt.id,pathExists:Ln?Ln.isExistingRoute:!1}};Re.sendMessageToIframe(Be,Qn)}if(ye.data.msg==="luigi.set-page-dirty"){if(!Le.dirtySet){const Ge=new Set;Ge.add(ye.source),Le={dirtySet:Ge}}Le.persistUrl=window.location.href,ye.data.dirty?Le.dirtySet.add(ye.source):Le.dirtySet.delete(ye.source)}if(ye.data.msg==="luigi.ux.confirmationModal.show"){const Ge=ye.data.data.settings;te=H,kl(),_i(Ge,!0,Be).catch(()=>{})}if(ye.data.msg==="luigi.ux.alert.show"){const{settings:Ge}=ye.data.data;if(!Ge.text&&!ae.isFunction(se.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}te=H,wl(Ge,!0).catch(()=>{})}if(ye.data.msg==="luigi.ux.set-current-locale")if(Be.luigi.clientPermissions&&Be.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ge}=ye.data.data;Ge&&bt.setCurrentLocale(Ge)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Ve&&!Ve.thirdPartyCookieScriptLocation&&ye.data.msg==="luigi.third-party-cookie"&&ye.data.tpc==="disabled"&&Cr(),ye.data.msg==="storage"&&tk.process(Be.luigi.id,ye.origin,ye.data.data.id,ye.data.data.operation,ye.data.data.params),ye.data.msg==="luigi-runtime-error-handling"){let Ge=Be.luigi.currentNode;Ge&&Ge.runTimeErrorHandler&&ae.isFunction(Ge.runTimeErrorHandler.errorFn)?Ge.runTimeErrorHandler.errorFn(ye.data.errorObj,Ge):Ae&&ae.isFunction(Ae.errorFn)&&Ae.errorFn(ye.data.errorObj,Ge)}if(ye.data.msg==="luigi.addSearchParams")if(Be.luigi.currentNode.clientPermissions&&Be.luigi.currentNode.clientPermissions.urlParameters){const{data:Ge,keepBrowserHistory:Pt}=ye.data;we.addSearchParamsFromClient(Be.luigi.currentNode,Ge,Pt)}else console.warn("No client permissions to add url parameter for this node.");if(ye.data.msg==="luigi.addNodeParams"){if(Ut)return;const{data:Ge,keepBrowserHistory:Pt}=ye.data;al.addNodeParams(Ge,Pt)}if(ye.data.msg==="luigi.setAnchor"){const{anchor:Ge}=ye.data;al.setAnchor(Ge)}if(ye.data.msg==="luigi.setVGData"){const Ge=ye.data,Pt=ke.findViewGroup(Be.luigi.currentNode);if(Pt){const Lt=ke.getViewGroupSettings(Pt);Lt._liveCustomData=Ge.data,se.configChanged("navigation.viewgroupdata")}}}),Jn(H,He)}Gr("store",l),Gr("getTranslation",r);const Cr=H=>{Ve&&Ve.thirdPartyCookieErrorHandling&&ae.isFunction(Ve.thirdPartyCookieErrorHandling)&&Ve.thirdPartyCookieErrorHandling()};function yr(){const H=document.querySelector(".spinnerContainer.appSpinner");H&&H.classList.contains("fade-out")?(H.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Ue),t(11,s=!1)},250)):clearTimeout(Ue)}const Jl=async H=>{const ue={link:H,relative:H[0]!=="/",intent:we.hasIntent(H)},Ne=kn(ue),Ae=Ne?await Ot.getNavigationPath(se.getConfigValueAsync("navigation.nodes"),Ne):!1;return Ae?Ae.isExistingRoute:!1},Zi=()=>gt.length>0||x.length!==0;Jt(()=>{if(Do._init(),$=se.getConfigValue("globalSearch.searchProvider"),ie=se.getConfigValue("settings.responsiveNavigation"),Ki=window.innerWidth,ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ke.getBurgerTooltipConfig()){const[H,ue]=ke.getBurgerTooltipConfig();H&&ue&&t(19,pe=document.body.classList.contains("lui-leftNavToggle")?H:ue)}}else if(ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ke.getBurgerTooltipConfig()){const[H,ue]=ke.getBurgerTooltipConfig();if(H&&ue){const Ne=JSON.parse(localStorage.getItem(ke.COL_NAV_KEY));t(19,pe=Ne?H:ue)}}document.body.classList.add("lui-semiCollapsible")}Ve=se.getConfigValue("settings.thirdPartyCookieCheck"),Ve&&Ve.thirdPartyCookieScriptLocation&&setTimeout(()=>{let H=document.createElement("iframe");H.width="0px",H.height="0px",H.src=Ve.thirdPartyCookieScriptLocation,document.body.appendChild(H),H.onload=function(){setTimeout(()=>{C8()==="disabled"&&Cr()}),document.body.removeChild(H)}})}),Zr(()=>{Qi()}),Kn(()=>{t(20,Ke=se.getConfigValue("navigation.breadcrumbs")),$=se.getConfigValue("globalSearch.searchProvider"),t(24,Bl=se.getConfigValue("tag")),t(25,Hl=se.getConfigValue("settings.header.disabled"))});const is=H=>{H.keyCode===ki&>&>.length>0&&St(gt.length-1)},ls=H=>St(H,!0),ca=(H,ue)=>Cl(ue,H),rs=(H,ue)=>X(ue,H),ss=()=>Sl(!0),as=()=>Sl(!1);function os(H){Yt=H,t(6,Yt)}function da(H){Qe=H,t(0,Qe)}function ha(H){vt=H,t(3,vt)}function ga(H){Ht=H,t(4,Ht)}function us(H){bn=H,t(5,bn)}function _a(H){xe=H,t(1,xe)}function pa(H){jt=H,t(2,jt)}function ma(H){Qe=H,t(0,Qe)}function ba(H){vt=H,t(3,vt)}function Pr(H){Ht=H,t(4,Ht)}function va(H){bn=H,t(5,bn)}function wa(H){xe=H,t(1,xe)}function ka(H){jt=H,t(2,jt)}return i.$$set=H=>{"store"in H&&t(48,l=H.store),"getTranslation"in H&&t(49,r=H.getTranslation),"isSearchFieldVisible"in H&&t(0,Qe=H.isSearchFieldVisible),"inputElem"in H&&t(1,xe=H.inputElem),"luigiCustomSearchRenderer__slot"in H&&t(2,jt=H.luigiCustomSearchRenderer__slot),"displaySearchResult"in H&&t(3,vt=H.displaySearchResult),"displayCustomSearchResult"in H&&t(4,Ht=H.displayCustomSearchResult),"searchResult"in H&&t(5,bn=H.searchResult),"storedUserSettings"in H&&t(6,Yt=H.storedUserSettings)},[Qe,xe,jt,vt,Ht,bn,Yt,Ti,Li,pl,ts,s,o,h,V,fe,Ee,re,j,pe,Ke,jn,Fn,bl,Bl,Hl,Cn,Ji,gt,Ct,he,hi,yi,wt,an,Sn,mr,br,Sl,Cl,X,St,oa,es,ql,Kl,fa,is,l,r,Pi,Ni,Ii,hl,gl,_l,Gi,qi,gi,ml,Z,Pe,tt,ht,wl,_i,vr,ua,Jl,Zi,ls,ca,rs,ss,as,os,da,ha,ga,us,_a,pa,ma,ba,Pr,va,wa,ka]}class E8 extends Vt{constructor(e){super(),Dt(this,e,R8,A8,Rt,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:7,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:8,handleSearchNavigation:9,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:10,pathExists:68,hasBack:69},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[68]}get hasBack(){return this.$$.ctx[69]}}const D8=()=>{const{subscribe:i,update:e,reset:t}=hr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let s=n[r];s||(s=new Set,n[r]=s),s.add(l)},fire:(l,r)=>{let s=n[l];s&&[...s].forEach(o=>{o(r)})}}},mp=D8(),V8=k2((i,e,t)=>bt.getTranslation(i,e,t));Luigi._store=mp;const O8=()=>new Promise(i=>{bt._init(),rn.init().then(()=>{setTimeout(()=>{let e;ci.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new E8({target:ci.getLuigiContainer(),props:{store:mp,getTranslation:V8}}),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()})})});se.setConfigCallbacks(O8);
|
|
63
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-gra29n"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){T(t,e,n)},d(t){t&&I(e)}}}function R8(i){let e,t,n,l,r,a,o,c,g,d,h,p,m=i[26]&&i[26].length&&w_(i),b=i[28],v=[];for(let D=0;D<b.length;D+=1)v[D]=S_(v_(i,b,D));const k=D=>B(v[D],1,1,()=>{v[D]=null});let y=i[29].displayed&&i[29].settings.isDrawer&&C_(i),P=i[27].displayed&&y_(i),N=i[18].displayed&&P_(i);const A=[T8,I8],E=[];function V(D,F){return D[30]?0:1}return o=V(i),c=E[o]=A[o](i),{c(){e=C("div"),m&&m.c(),t=z();for(let D=0;D<v.length;D+=1)v[D].c();n=z(),y&&y.c(),l=z(),P&&P.c(),r=z(),N&&N.c(),a=z(),c.c(),f(e,"id","app"),f(e,"class",g=(i[21]?"no-nav":"")+" "+(i[22]?"no-side-nav":"")+" "+(i[25]?"no-top-nav":"")+" "+(i[23]?"no-animation":"")+" svelte-gra29n"),f(e,"configversion",i[24])},m(D,F){T(D,e,F),m&&m.m(e,null),w(e,t);for(let M=0;M<v.length;M+=1)v[M].m(e,null);w(e,n),y&&y.m(e,null),w(e,l),P&&P.m(e,null),w(e,r),N&&N.m(e,null),w(e,a),E[o].m(e,null),d=!0,h||(p=[le(b_,"resize",i[36]),le(b_,"keydown",i[47])],h=!0)},p(D,F){if(D[26]&&D[26].length?m?(m.p(D,F),F[0]&67108864&&R(m,1)):(m=w_(D),m.c(),R(m,1),m.m(e,t)):m&&(me(),B(m,1,1,()=>{m=null}),be()),F[0]&268443648|F[1]&1792){b=D[28];let M;for(M=0;M<b.length;M+=1){const W=v_(D,b,M);v[M]?(v[M].p(W,F),R(v[M],1)):(v[M]=S_(W),v[M].c(),R(v[M],1),v[M].m(e,n))}for(me(),M=b.length;M<v.length;M+=1)k(M);be()}D[29].displayed&&D[29].settings.isDrawer?y?(y.p(D,F),F[0]&536870912&&R(y,1)):(y=C_(D),y.c(),R(y,1),y.m(e,l)):y&&(me(),B(y,1,1,()=>{y=null}),be()),D[27].displayed?P?(P.p(D,F),F[0]&134217728&&R(P,1)):(P=y_(D),P.c(),R(P,1),P.m(e,r)):P&&(me(),B(P,1,1,()=>{P=null}),be()),D[18].displayed?N?(N.p(D,F),F[0]&262144&&R(N,1)):(N=P_(D),N.c(),R(N,1),N.m(e,a)):N&&(me(),B(N,1,1,()=>{N=null}),be()),c.p(D,F),(!d||F[0]&48234496&&g!==(g=(D[21]?"no-nav":"")+" "+(D[22]?"no-side-nav":"")+" "+(D[25]?"no-top-nav":"")+" "+(D[23]?"no-animation":"")+" svelte-gra29n"))&&f(e,"class",g),(!d||F[0]&16777216)&&f(e,"configversion",D[24])},i(D){if(!d){R(m);for(let F=0;F<b.length;F+=1)R(v[F]);R(y),R(P),R(N),R(c),d=!0}},o(D){B(m),v=v.filter(P8);for(let F=0;F<v.length;F+=1)B(v[F]);B(y),B(P),B(N),B(c),d=!1},d(D){D&&I(e),m&&m.d(),ot(v,D),y&&y.d(),P&&P.d(),N&&N.d(),E[o].d(),h=!1,$e(p)}}}function E8(i,e,t){const n=zt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,g,d=!1,h,p,m,b,v,k,y,P,N,A,E,V,D,F,M,W,K,Q,ce,Ce=!0,G=!1,J,fe,te,x=[],Le={isDirty:!1,persistUrl:null},ie,Ee,re=!1,Me,$,j={},pe,Ke,Ue,ge=ae.getConfigBooleanValue("settings.btpToolLayout"),{isSearchFieldVisible:Qe}=e,{inputElem:xe}=e,{luigiCustomSearchRenderer__slot:jt}=e,{displaySearchResult:vt}=e,{displayCustomSearchResult:Ht=!0}=e,{searchResult:bn}=e,{storedUserSettings:Yt}=e;const en=async H=>{const ue=H.iframe.luigi,Ne=ue.currentNode&&ue.currentNode.userSettingsGroup,Ae=await ae.readUserSettings(),He=Ne&&typeof Ae=="object"&&Ae!==null,ye=Re.applyCoreStateData({isNavigateBack:G,viewStackSize:x.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:He?Ae[Ne]:null,anchor:sl.getAnchor(),cssVariables:await Do.getCSSVariables()});return Re.specialIframeTypes.map(Be=>Be.iframeConfigKey).forEach(Be=>{ye[Be]=H[Be]||!1}),ye},In=async(H,ue={})=>{if(!H.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ne={msg:"luigi.init",context:JSON.stringify(Object.assign({},H.context||A,ue)),nodeParams:JSON.stringify(Object.assign({},H.nodeParams||E)),pathParams:JSON.stringify(Object.assign({},H.pathParams||V)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(H.iframe.luigi.currentNode))),internal:JSON.stringify(await en(H)),authData:ol.getStoredAuthData()};H.iframe.luigi._lastUpdatedMessage=Ne,Re.sendMessageToIframe(H.iframe,Ne)},vn=H=>{const ue={msg:"luigi.auth.tokenIssued",authData:H};Re.broadcastMessageToAllIframes(ue)},an=(H,ue)=>{if(H.params.preserveView||H.params.viewgroup){const Ne=kn(H.params),Ae=it.getNodePath(F,D);x.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?se.replaceVars(Ae,ue.iframe.luigi.pathParams,":",!1):Ae,nextPath:Ne.startsWith("/")?Ne:"/"+Ne,context:A}),ue.iframe.pv="pv"}},Tn=(H,ue,Ne,Ae)=>{let He=kn(H.params,Ne,Ae);const{preventHistoryEntry:ye,preserveQueryParams:Be,preventContextUpdate:mt}=H.params,Ft={keepBrowserHistory:!ye,navSync:Ce,preventContextUpdate:mt};return He=se.addLeadingSlash(He),He=Be?we.composeSearchParamsToRoute(He):He,an(H,ue),it.navigateTo(He,Ft)},Tt=H=>H.split("?")[0],dl=(H,ue)=>{if(H.length===0)return!1;const Ne=ue.startsWith("/")?ue:`/${ue}`,Ae=[...H].pop();return[Tt(Ae.path),Tt(Ae.nextPath)].includes(Tt(Ne))},li=H=>{Le&&Le.dirtySet&&(H?Le.dirtySet.delete(H):Le.dirtySet.clear())},wn=H=>new Promise((ue,Ne)=>{Ai(H)?Gl().then(()=>{li(),ue()},()=>{Ne()}):ue()}),Qt=()=>({get:()=>({unsavedChanges:Le,hideNav:jn,viewUrl:M,nodeParams:E,viewGroup:W,urlParamsRaw:D,currentNode:F,navigationPath:fe,context:A,pathParams:V,hideSideNav:Fn,isolateView:K,pageErrorHandler:Q,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:k,splitViewWC:P,showLoadingIndicator:a,tabNav:Ee,isNavigateBack:G,goBackContext:J,isNavigationSyncEnabled:Ce}),set:H=>{H&&(t(23,bl=!1),Object.getOwnPropertyNames(H).forEach(ue=>{ue==="hideNav"?t(21,jn=H.hideNav):ue==="viewUrl"?M=H.viewUrl:ue==="nodeParams"?E=H.nodeParams:ue==="viewGroup"?W=H.viewGroup:ue==="urlParamsRaw"?D=H.urlParamsRaw:ue==="currentNode"?F=H.currentNode:ue==="navigationPath"?t(15,fe=H.navigationPath):ue==="context"?A=H.context:ue==="pathParams"?t(14,V=H.pathParams):ue==="hideSideNav"?(Fn!=H.hideSideNav&&(t(23,bl=!0),setTimeout(()=>{const Ne=document.querySelector("#app");Ne&&Ne.classList.remove("no-animation")})),t(22,Fn=H.hideSideNav)):ue==="isolateView"?K=H.isolateView:ue==="pageErrorHandler"?Q=H.pageErrorHandler:ue==="previousNodeValues"?ce=H.previousNodeValues:ue==="mfSplitView"?t(12,o=H.mfSplitView):ue==="splitViewValues"?c=H.splitViewValues:ue==="splitViewIframe"?k=H.splitViewIframe:ue=="splitViewWC"?P=H.splitViewWC:ue==="showLoadingIndicator"?H.showLoadingIndicator===!0?Ue=setTimeout(()=>{t(11,a=!0)},250):(t(11,a=!1),clearTimeout(Ue)):ue==="tabNav"?t(16,Ee=H.tabNav):ue==="isNavigateBack"?G=H.isNavigateBack:ue==="goBackContext"?J=H.goBackContext:ue==="isNavigationSyncEnabled"&&(Ce=H.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ai,getUnsavedChangesModalPromise:wn,showUnsavedChangesModal:Gl,showAlert:wl,prepareInternalData:en,dispatch:n}),Jn=(H,ue)=>{dn.doOnStoreChange(l,()=>{const Ne=document.querySelector(".wcContainer");Ne&&(Ne.configChangedRequest=!0),Gn.deleteCache();const Ae=it.getCurrentPath();it.handleRouteChange(Ae,Qt(),H,ue)},["navigation.nodes"]),we.addRouteChangeListener((Ne,Ae)=>{const{withoutSync:He,preventContextUpdate:ye}=Ae||{};dl(x,Ne)||(x=[],ui.removeInactiveIframes(H));for(let mt=ht.length;mt--;)St(mt);$r.removeBackdrop(),hi(),it.handleRouteChange(Ne,Qt(),H,ue,He,ye)})},tn=(H,ue)=>se.replaceVars(it.getNodePath(H),ue,":",!1),kn=(H,ue,Ne)=>{const Ae=ue||F,He=Ne||V;let ye=fe;if(ue){let mt=ue.parent;for(ye=[ue];mt;)ye.push(mt),mt=mt.parent;ye=[...ye].reverse()}let Be=H.link;if(H.fromVirtualTreeRoot){const mt=[...ye].reverse().find(Ft=>Ft.virtualTree);if(!mt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Be=it.concatenatePath(tn(mt,He),H.link)}else if(H.fromParent)Be=it.concatenatePath(tn(Ae.parent,He),H.link);else if(H.fromClosestContext){const mt=[...ye].reverse().find(Ft=>Ft.navigationContext&&Ft.navigationContext.length>0);Be=it.concatenatePath(tn(mt,He),H.link)}else if(H.fromContext){const mt=H.fromContext,Ft=[...ye].reverse().find(Nr=>mt===Nr.navigationContext);Be=it.concatenatePath(tn(Ft,He),H.link)}else H.intent?Be=we.getIntentPath(H.link):H.relative&&(Be=it.concatenatePath(tn(Ae,He),H.link));return H.nodeParams&&Object.keys(H.nodeParams).length>0&&(Be+=Be.includes("?")?"&":"?",Object.entries(H.nodeParams).forEach((mt,Ft)=>{Be+=encodeURIComponent(we.getContentViewParamPrefix()+mt[0])+"="+encodeURIComponent(mt[1])+(Ft<Object.keys(H.nodeParams).length-1?"&":"")})),Be},gi=H=>{const ue=H.detail.node;wn().then(()=>{if(Wl(),ue.openNodeInModal){const Ne=we.buildRoute(ue,`/${ue.pathSegment}`);Yi(Ne,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ne=we.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,wr(Ne,ue.drawer)}else Qt().set({isNavigationSyncEnabled:!0}),it.handleRouteClick(ue,Qt())},()=>{})},yi=()=>{t(17,re=!re)};Gr("handleNavigation",Tn);const gn=H=>H?!0:(console.warn("No search provider defined."),!1),Pi=()=>{gn($)&&t(0,Qe=!1)},Ni=()=>{gn($)&&xe&&(t(0,Qe=!0),xe.focus())},Ii=()=>{gn($)&&xe&&(t(1,xe.value="",xe),Li())},Ti=()=>{t(0,Qe=!Qe),A2.clearSearchField()},gl=()=>{if(gn($)&&xe)return xe.value},hl=H=>{gn($)&&xe&&(t(1,xe.value=H,xe),se.isFunction($.onInput)?$.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=H=>{gn($)&&xe&&t(1,xe.placeholder=H,xe)},Gi=H=>{if(gn($))if(H&&H.length>0)if(se.isFunction($.customSearchResultRenderer)){t(4,Ht=!0);let ue={fireItemSelected:Ne=>{$.onSearchResultItemSelected(Ne)}};$.customSearchResultRenderer(H,jt,ue)}else t(3,vt=!0),t(5,bn=H);else console.warn("Search result array is empty.")},Li=()=>{if(gn($)&&(t(3,vt=!1),t(5,bn=[]),jt))for(;jt.lastElementChild;)jt.removeChild(jt.lastElementChild)},pl=H=>{let ue=H.detail.node,Ne={params:{link:ue.link,nodeParams:ue.params}};Tn(Ne)},qi=(H,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(12,o=st.getDefaultData().mfSplitView),st.open(Qt(),H,ue)},hi=()=>{st.close(Qt())},ml=()=>{st.collapse(Qt()),t(12,o.collapsed=!0,o)},Z=()=>{st.expand(Qt()),t(12,o.collapsed=!1,o)},Pe=()=>o.displayed?o.collapsed:!1,tt=()=>o.displayed?!o.collapsed:!1,gt=()=>o.displayed,wt=H=>{k=H.detail.splitViewIframe,y=H.detail.splitViewIframeData,t(12,o.collapsed=H.detail.collapsed,o)},sn=H=>{H.detail.displayed!==void 0&&t(12,o.displayed=H.detail.displayed,o),H.detail.collapsed!==void 0&&t(12,o.collapsed=H.detail.collapsed,o)},Sn=H=>{P=H.detail.splitViewWC,H.detail.splitViewWCData,t(12,o.collapsed=H.detail.collapsed,o)};let jn,Fn,bl,Ki,Bl,Hl;const Wl=()=>{document.body.classList.remove("lui-leftNavToggle")},mr=()=>{Qi();const H=window.innerWidth>=xt.desktopMinWidth&&Ki<xt.desktopMinWidth,ue=window.innerWidth<xt.desktopMinWidth&&Ki>=xt.desktopMinWidth;(H||ue)&&Wl(),Ki=window.innerWidth};let Cn=[];const vl=(H,ue)=>{if(!(!H||!(H.length>0)))return H.filter(Ne=>Ne.settings.id===ue)[0]},wl=(H,ue=!1)=>{const Ne=ae.getConfigValue("settings.customAlertHandler");if(se.isFunction(Ne)){const He=Ne(H,ue);if(He!==!1)return He}const Ae=Cn;return H.id||(H.id=se.getRandomId()),H.id&&Ae&&vl(Ae,H.id)?(console.error(`The alert with id '${H.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(H.closeAfter&&setTimeout(()=>{vl(Cn,H.id)&&zl(H.id)},H.closeAfter),new Promise((He,ye)=>{t(26,Cn=[...Ae||[],{displayed:!0,settings:H,openFromClient:ue,promise:{resolve:He}}])}))},zl=(H,ue)=>{const Ne=vl(Cn,H);if(!Ne){console.error("An unexisting alert has been dismissed.",Cn,H);return}if(t(26,Cn=Cn.filter(Ae=>Ae.settings.id!==H)),Ne.openFromClient){const Ae=ui.getActiveIframe(te),He={msg:"luigi.ux.alert.hide",id:H,dismissKey:ue};Re.sendMessageToIframe(Ae,He)}else Ne.promise&&Ne.promise.resolve(ue||H)},br=H=>{zl(H.detail.id,H.detail.dismissKey)};let Ji;const kl=()=>{t(27,Ji={displayed:!1,content:{},openFromClient:!1,promise:null})};kl();const _i=(H,ue=!1,Ne)=>new Promise((Ae,He)=>{t(27,Ji={displayed:!0,settings:H,openFromClient:ue,promise:{resolve:Ae,reject:He},targetIframe:Ne})}),Sl=H=>{const{promise:ue,openFromClient:Ne,targetIframe:Ae}=Ji;if(kl(),H?ue.resolve():ue.reject(),Ne&&Ae){const He={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:H}};Re.sendMessageToIframe(Ae,He)}},Ai=H=>{if(Le.dirtySet){if(H)return Le.dirtySet.has(H);if(Le.dirtySet.size>0)return!0}return!1},Gl=()=>_i({header:bt.getTranslation("luigi.unsavedChangesAlert.header"),body:bt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:bt.getTranslation("luigi.button.dismiss"),buttonConfirm:bt.getTranslation("luigi.button.confirm")}),vr=()=>Le.dirtySet?Le.dirtySet.size>0:Le.isDirty;Gr("getUnsavedChangesModalPromise",wn);let ht=[];const ji=H=>{if(typeof H>"u"){t(28,ht=[]);return}t(28,ht=ht.filter((ue,Ne)=>H!==Ne))};ji();const Yi=async(H,ue)=>{if(await ke.shouldPreventNavigationForPath(H))return;const Ne={mfModal:{displayed:!0,nodepath:H,settings:ue}};t(28,ht=[...ht,Ne]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&ht.length===1&&it.appendModalDataToUrl(H,ue)},Cl=(H,ue)=>{t(28,ht[ue].modalIframe=H.detail.modalIframe,ht),t(28,ht[ue].modalIframeData=H.detail.modalIframeData,ht)},X=(H,ue)=>{t(28,ht[ue].modalWC=H.detail.modalWC,ht),t(28,ht[ue].modalWCData=H.detail.modalWCData,ht)},St=(H,ue,Ne)=>{const Ae=(Be,mt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&ht.length===1&&it.removeModalDataFromUrl(mt),ji(Be)},He=ht[H],ye=se.getRemotePromise(He.mfModal.settings.onClosePromiseId);He&&He.modalIframe?wn(He.modalIframe.contentWindow).then(()=>{Ae(H,ue),ye&&ye.doResolve(Ne)},()=>{}):He&&He.modalWC&&(Ae(H,ue),ye&&ye.doResolve(Ne))};Gr("openViewInModal",Yi);let Ct={};const Yn=()=>{t(29,Ct.displayed=!1,Ct),t(29,Ct.nodepath=void 0,Ct),t(29,Ct.settings={},Ct),t(13,h=!1)};Yn();const wr=async(H,ue)=>{await ke.shouldPreventNavigationForPath(H)||(t(29,Ct.displayed=!0,Ct),t(29,Ct.nodepath=H,Ct),t(29,Ct.settings=ue,Ct),Ct.settings&&Ct.settings.backdrop&&t(13,h=!0))},xr=()=>window.innerWidth>=xt.desktopMinWidth&&Ct.displayed&&Ct.settings&&!Ct.settings.overlap,Qi=(H=!1)=>{if(!xr())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ne=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(H)Ne.forEach(Ae=>{Ae==null||Ae.style.removeProperty("width")});else{const{width:Ae}=getComputedStyle(ue);Ne.forEach(He=>{kr(He,Ae)})}},kr=(H,ue)=>{H&&!H.style.getPropertyValue("width").includes("calc(")&&H.style.setProperty("width",`calc(${H.clientWidth}px - ${ue})`)},os=H=>{p=H.detail.modalIframe,m=H.detail.modalIframeData,Qi()},ea=H=>{b=H.detail.modalWC,H.detail.modalWCData,Qi()},ql=H=>{d=H.detail.activeDrawer},Kl=H=>{if(H&&H.detail&&H.detail.activeDrawer!==void 0&&(d=H.detail.activeDrawer),!d||H&&H.detail&&H.detail.type!=="modal")try{p?wn(p.contentWindow).then(()=>{Yn()},()=>{}):b&&wn().then(()=>{Yn()},()=>{}),Qi(!0)}catch(ue){console.log(ue)}},us=()=>{const H=fr.processUserSettingGroups();Array.isArray(H)&&H.length>0?(t(18,j.userSettingGroups=[...H],j),t(18,j.displayed=!0,j)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ta=()=>{t(18,j.displayed=!1,j)},na=async H=>{if(await ke.shouldPreventNavigationForPath(H))return;ae.getConfigValue("routing.useHashRouting")&&(H="#"+H),window.open(H,"_blank","noopener,noreferrer")},Sr=H=>{let ue=fe;if(F){let He=F.parent;for(ue=[F];He;)ue.push(He),He=He.parent;ue=[...ue].reverse()}let Ne=H.link,Ae=tn(F,V);if(H.fromVirtualTreeRoot){const He=[...ue].reverse().find(Be=>Be.virtualTree);if(!He){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const ye=tn(He,V);Ne=Ae.split(ye).join("")}else if(H.fromParent){const He=tn(F.parent,V);Ne=Ae.split(He).join("")}else if(H.fromClosestContext){const He=[...ue].reverse().find(Be=>Be.navigationContext&&Be.navigationContext.length>0),ye=tn(He,V);Ne=Ae.split(ye).join("")}else if(H.fromContext){const He=H.fromContext,ye=[...ue].reverse().find(mt=>He===mt.navigationContext),Be=tn(ye,V);Ne=Ae.split(Be).join("")}else Ne=Ae;return Ne};function fs(H){sessionStorage.removeItem("historyState"),ur.shouldPreload=!0,ur.preload(!0),ur.shouldPreload=!1;const ue=ae.getConfigValue("navigation.defaults.isolateView"),Ne=ae.getConfigValue("navigation.defaults.pageErrorHandler"),Ae=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),He={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ne};bt.addCurrentLocaleChangeListener(ye=>{const Be={msg:"luigi.current-locale-changed",currentLocale:ye};Re.broadcastMessageToAllIframes(Be)}),Mn.addEventListener("popstate",async ye=>{const Be=Cn;if(!Be||!(Be.length>0))return;const mt=Be.map(Ft=>{if(Ft&&!Ft.openFromClient&&typeof Ft.settings.ttl=="number"){if(Ft.settings.ttl===0)return null;Ft.settings.ttl--}return Ft}).filter(Ft=>Ft);t(26,Cn=mt)}),Mn.addEventListener("message",async ye=>{const Be=Re.getValidMessageSource(ye),mt=ht[ht.length-1],Ft=mt&&mt.modalIframe,Nr=mt&&mt.modalIframeData,Ri={modalIframe:Ft,modalIframeData:Nr,drawerIframe:p,drawerIframeData:m,drawer:v,modal:g,splitViewIframe:k,splitViewIframeData:y,splitView:N};if(!Be)return;Be._ready=!0;const Ir=Re.getSpecialIframeMessageSource(ye,Ri),Ut=Ir&&Ir.length>0,yl=ae.getConfigValue("communication.skipEventsWhenInactive");if(yl&&yl.length>0&&!Ut&&Be.contentWindow!==window&&!se.isElementVisible(Be)&&yl.includes(ye.data.msg)){console.debug(`EVENT '${ye.data.msg}' from inactive iframe -> SKIPPED`);return}if(ye.data.msg==="custom"){const Ge=ae.getConfigValue("communication.customMessagesListeners")||{},Pt=ns.convertCustomMessageInternalToUser(ye.data),Lt=Ge[Pt.id],Nt="luigi.updateUserSettings";if(j&&Pt.id===Nt){Lt&&console.warn(`The key "${Nt}" is not allowed to use for custom messages.`);return}if(typeof Lt=="function"){const Ln=ci.getMicrofrontends().find(Qn=>Re.isMessageSource(ye,Qn.container));Lt(Pt,Ln,se.removeInternalProperties(Be.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${Pt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(ye.data.msg==="luigi.init.ok"&&(Be.luigi.initOk=!0),ye.data.msg==="luigi.navigate.ok"&&(Be.luigi.viewUrl=Be.luigi.nextViewUrl,Be.luigi.nextViewUrl="",Be.luigi.clientPermissions=Be.luigi.nextClientPermissions,delete Be.luigi.nextClientPermissions,He.navigateOk=!0,ur.preload()),ye.data.msg==="luigi.get-context"){if(Be.luigi.clientVersion=ye.data.clientVersion,Be.luigi.initOk=!1,Ut)Ir.forEach(async Ge=>{let Pt=Ri[Ge.dataKey].context;const Lt={...He,iframe:Ri[Ge.iframeKey],context:Pt,pathParams:Ri[Ge.dataKey].pathParams,nodeParams:Ri[Ge.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Ri[Ge.iframeKey].luigi.currentNode),modal:Ge.iframeKey.startsWith("modal"),drawer:Ge.iframeKey.startsWith("drawer"),splitView:Ge.iframeKey.startsWith("splitView")};await In(Lt,{})});else if(He.iframe&&Re.isMessageSource(ye,He.iframe))await In(He,{}),(!F||!F.loadingIndicator||F.loadingIndicator.hideAutomatically!==!1)&&yr(),ur.preload();else if(Be.luigi.preloading)await In({iframe:Be,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ge=fr.findActiveCustomUserSettingsIframe(ye.source);if(Ge){let Pt=Ge.getAttribute("userSettingsGroup"),Lt={context:{userSettingsData:Yt[Pt]},iframe:Ge};await In(Lt)}}ur.viewGroupLoaded(Be)}if(ye.data.msg==="luigi.show-loading-indicator"&&t(11,a=!0),ye.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Ue),t(11,a=!1)),ye.data.msg==="luigi.navigation.open"){G=!1;const Ge=window.location.href,Pt=Ut?Be.luigi.currentNode:void 0,Lt=Ut?Be.luigi.pathParams:void 0,Nt=ye.data.params,{intent:Ln,newTab:Qn,modal:Xi,splitView:jl,drawer:Pl,withoutSync:Ss}=Nt;let on=Qn||Xi||jl||Pl;const Cs=()=>{const Zt=se.getRemotePromise(ye.data.remotePromiseId);Zt&&Zt.doResolve()},un=()=>{const Zt=se.getRemotePromise(ye.data.remotePromiseId);Zt&&Zt.doReject()},Nl=Zt=>{!Zt||Ge!==window.location.href?Cs():un()};ye.source!==window&&!Ln&&Nt.link&&(Nt.link=Nt.link.split("?")[0]);let fn=kn(ye.data.params,Pt,Lt);if(on=on||Ln&&fn.external,!on)wn().then(()=>{Ce=!ye.data.params.withoutSync,Tn(ye.data,He,Pt,Lt).then(()=>{Nl(!0)}).catch(()=>{un()}),ht.forEach((Zt,Yl)=>{St(Yl)}),hi(),Kl(),Ce=!0}).catch(()=>{un()});else{if(Ln&&fn.external){it.navigateToExternalLink({url:fn.url,sameWindow:!fn.openInNewTab});return}if(fn=se.addLeadingSlash(fn),Qn){await na(fn),Nl();return}const Zt=await Jl(fn);if(fn=await we.handlePageNotFoundAndRetrieveRedirectPath(Qt(),fn,Zt),!fn){un();return}te=H,Xi!==void 0?(!Xi.keepPrevious&&ji(),await Yi(fn,Xi===!0?{}:Xi),Nl()):jl!==void 0?(await qi(fn,jl),Nl()):Pl!==void 0&&(Yn(),Pl.isDrawer=!0,await wr(fn,Pl),Nl())}}if(ye.data.msg==="luigi.navigation.back"){const Ge=ht[ht.length-1],Pt=ht.length>1&&ht[ht.length-2],Lt=ye.data.goBackContext&&JSON.parse(ye.data.goBackContext);if(Re.isMessageSource(ye,Ge&&Ge.modalIframe)){St(ht.length-1,!0,Lt);let Nt=He;if(Pt&&Pt.modalIframeData&&Pt.modalIframe){const Ln=Pt,Qn=Ln.modalIframeData;Nt={pathParams:Qn.pathParams,context:Qn.context,iframe:Ln.modalIframe}}Nt.iframe&&await In(Nt,{goBackContext:Lt})}else Re.isMessageSource(ye,k)?(hi(),He.iframe&&await In(He,{goBackContext:Lt})):Re.isMessageSource(ye,p)?(d&&(d=!d),Kl(),He.iframe&&await In(He,{goBackContext:Lt})):x&&x.length>0?wn().then(()=>{ui.setActiveIframeToPrevious(H);const Nt=x.pop();He.iframe=ui.getActiveIframe(H),G=!0,x=x,J=Lt,Tn({params:{link:Nt.path}},He)},()=>{}):(Lt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(ye.data.msg==="luigi.navigation.currentRoute"){const Ge=ye.data.data,Lt={msg:"luigi.navigation.currentRoute.answer",data:{route:Sr(Ge),correlationId:Ge.id}};Re.sendMessageToIframe(Be,Lt)}if(ye.data.msg==="luigi.auth.tokenIssued"&&vn(ye.data.authData),ye.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ut){const Ge=se.addLeadingSlash(kn(ye.data.params,Be.luigi.currentNode,Be.luigi.pathParams));it.updateModalDataInUrl(Ge,ye.data.params.modal,ye.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(ye.data.msg==="luigi.navigation.pathExists"){const Ge=Be.luigi.currentNode,Pt=Be.luigi.pathParams,Lt=ye.data.data,Nt=kn(Lt,Ge,Pt),Ln=Nt?await Ot.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Nt):!1,Qn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Lt.id,pathExists:Ln?Ln.isExistingRoute:!1}};Re.sendMessageToIframe(Be,Qn)}if(ye.data.msg==="luigi.set-page-dirty"){if(!Le.dirtySet){const Ge=new Set;Ge.add(ye.source),Le={dirtySet:Ge}}Le.persistUrl=window.location.href,ye.data.dirty?Le.dirtySet.add(ye.source):Le.dirtySet.delete(ye.source)}if(ye.data.msg==="luigi.ux.confirmationModal.show"){const Ge=ye.data.data.settings;te=H,kl(),_i(Ge,!0,Be).catch(()=>{})}if(ye.data.msg==="luigi.ux.alert.show"){const{settings:Ge}=ye.data.data;if(!Ge.text&&!se.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}te=H,wl(Ge,!0).catch(()=>{})}if(ye.data.msg==="luigi.ux.set-current-locale")if(Be.luigi.clientPermissions&&Be.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ge}=ye.data.data;Ge&&bt.setCurrentLocale(Ge)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(Me&&!Me.thirdPartyCookieScriptLocation&&ye.data.msg==="luigi.third-party-cookie"&&ye.data.tpc==="disabled"&&Cr(),ye.data.msg==="storage"&&ik.process(Be.luigi.id,ye.origin,ye.data.data.id,ye.data.data.operation,ye.data.data.params),ye.data.msg==="luigi-runtime-error-handling"){let Ge=Be.luigi.currentNode;Ge&&Ge.runTimeErrorHandler&&se.isFunction(Ge.runTimeErrorHandler.errorFn)?Ge.runTimeErrorHandler.errorFn(ye.data.errorObj,Ge):Ae&&se.isFunction(Ae.errorFn)&&Ae.errorFn(ye.data.errorObj,Ge)}if(ye.data.msg==="luigi.addSearchParams")if(Be.luigi.currentNode.clientPermissions&&Be.luigi.currentNode.clientPermissions.urlParameters){const{data:Ge,keepBrowserHistory:Pt}=ye.data;we.addSearchParamsFromClient(Be.luigi.currentNode,Ge,Pt)}else console.warn("No client permissions to add url parameter for this node.");if(ye.data.msg==="luigi.addNodeParams"){if(Ut)return;const{data:Ge,keepBrowserHistory:Pt}=ye.data;sl.addNodeParams(Ge,Pt)}if(ye.data.msg==="luigi.setAnchor"){const{anchor:Ge}=ye.data;sl.setAnchor(Ge)}if(ye.data.msg==="luigi.setVGData"){const Ge=ye.data,Pt=ke.findViewGroup(Be.luigi.currentNode);if(Pt){const Lt=ke.getViewGroupSettings(Pt);Lt._liveCustomData=Ge.data,ae.configChanged("navigation.viewgroupdata")}}}),Jn(H,He)}Gr("store",l),Gr("getTranslation",r);const Cr=H=>{Me&&Me.thirdPartyCookieErrorHandling&&se.isFunction(Me.thirdPartyCookieErrorHandling)&&Me.thirdPartyCookieErrorHandling()};function yr(){const H=document.querySelector(".spinnerContainer.appSpinner");H&&H.classList.contains("fade-out")?(H.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Ue),t(11,a=!1)},250)):clearTimeout(Ue)}const Jl=async H=>{const ue={link:H,relative:H[0]!=="/",intent:we.hasIntent(H)},Ne=kn(ue),Ae=Ne?await Ot.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Ne):!1;return Ae?Ae.isExistingRoute:!1},Zi=()=>ht.length>0||x.length!==0;Jt(()=>{if(Do._init(),$=ae.getConfigValue("globalSearch.searchProvider"),ie=ae.getConfigValue("settings.responsiveNavigation"),Ki=window.innerWidth,ie==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ke.getBurgerTooltipConfig()){const[H,ue]=ke.getBurgerTooltipConfig();H&&ue&&t(19,pe=document.body.classList.contains("lui-leftNavToggle")?H:ue)}}else if(ie==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ke.getBurgerTooltipConfig()){const[H,ue]=ke.getBurgerTooltipConfig();if(H&&ue){const Ne=JSON.parse(localStorage.getItem(ke.COL_NAV_KEY));t(19,pe=Ne?H:ue)}}document.body.classList.add("lui-semiCollapsible")}Me=ae.getConfigValue("settings.thirdPartyCookieCheck"),Me&&Me.thirdPartyCookieScriptLocation&&setTimeout(()=>{let H=document.createElement("iframe");H.width="0px",H.height="0px",H.src=Me.thirdPartyCookieScriptLocation,document.body.appendChild(H),H.onload=function(){setTimeout(()=>{y8()==="disabled"&&Cr()}),document.body.removeChild(H)}})}),Zr(()=>{Qi()}),Kn(()=>{t(20,Ke=ae.getConfigValue("navigation.breadcrumbs")),$=ae.getConfigValue("globalSearch.searchProvider"),t(24,Bl=ae.getConfigValue("tag")),t(25,Hl=ae.getConfigValue("settings.header.disabled"))});const ia=H=>{H.keyCode===ki&&ht&&ht.length>0&&St(ht.length-1)},la=H=>St(H,!0),cs=(H,ue)=>Cl(ue,H),ra=(H,ue)=>X(ue,H),aa=()=>Sl(!0),sa=()=>Sl(!1);function oa(H){Yt=H,t(6,Yt)}function ds(H){Qe=H,t(0,Qe)}function gs(H){vt=H,t(3,vt)}function hs(H){Ht=H,t(4,Ht)}function ua(H){bn=H,t(5,bn)}function _s(H){xe=H,t(1,xe)}function ps(H){jt=H,t(2,jt)}function ms(H){Qe=H,t(0,Qe)}function bs(H){vt=H,t(3,vt)}function Pr(H){Ht=H,t(4,Ht)}function vs(H){bn=H,t(5,bn)}function ws(H){xe=H,t(1,xe)}function ks(H){jt=H,t(2,jt)}return i.$$set=H=>{"store"in H&&t(48,l=H.store),"getTranslation"in H&&t(49,r=H.getTranslation),"isSearchFieldVisible"in H&&t(0,Qe=H.isSearchFieldVisible),"inputElem"in H&&t(1,xe=H.inputElem),"luigiCustomSearchRenderer__slot"in H&&t(2,jt=H.luigiCustomSearchRenderer__slot),"displaySearchResult"in H&&t(3,vt=H.displaySearchResult),"displayCustomSearchResult"in H&&t(4,Ht=H.displayCustomSearchResult),"searchResult"in H&&t(5,bn=H.searchResult),"storedUserSettings"in H&&t(6,Yt=H.storedUserSettings)},[Qe,xe,jt,vt,Ht,bn,Yt,Ti,Li,pl,ta,a,o,h,V,fe,Ee,re,j,pe,Ke,jn,Fn,bl,Bl,Hl,Cn,Ji,ht,Ct,ge,gi,yi,wt,sn,Sn,mr,br,Sl,Cl,X,St,os,ea,ql,Kl,fs,ia,l,r,Pi,Ni,Ii,gl,hl,_l,Gi,qi,hi,ml,Z,Pe,tt,gt,wl,_i,vr,us,Jl,Zi,la,cs,ra,aa,sa,oa,ds,gs,hs,ua,_s,ps,ms,bs,Pr,vs,ws,ks]}class D8 extends Vt{constructor(e){super(),Dt(this,e,E8,R8,Rt,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,displayCustomSearchResult:4,searchResult:5,storedUserSettings:6,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:7,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:8,handleSearchNavigation:9,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:10,pathExists:68,hasBack:69},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[7]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[8]}get handleSearchNavigation(){return this.$$.ctx[9]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[10]}get pathExists(){return this.$$.ctx[68]}get hasBack(){return this.$$.ctx[69]}}const V8=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let a=n[r];a||(a=new Set,n[r]=a),a.add(l)},fire:(l,r)=>{let a=n[l];a&&[...a].forEach(o=>{o(r)})}}},vp=V8(),O8=C2((i,e,t)=>bt.getTranslation(i,e,t));Luigi._store=vp;const M8=()=>new Promise(i=>{bt._init(),rn.init().then(()=>{setTimeout(()=>{let e;ci.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new D8({target:ci.getLuigiContainer(),props:{store:vp,getTranslation:O8}}),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(M8);
|
|
64
64
|
//# sourceMappingURL=luigi.js.map
|