@luigi-project/core 2.9.1-dev.20240330026 → 2.9.1-dev.202403310028
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/luigi.js +12 -12
- package/luigi.js.map +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Hw=Object.defineProperty;var Ww=(i,e,t)=>e in i?Hw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var zf=(i,e,t)=>(Ww(i,typeof e!="symbol"?e+"":e,t),t);function Be(){}function qw(i,e){for(const t in e)i[t]=e[t];return i}function Gw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function E_(i){return i()}function Bf(){return Object.create(null)}function Qe(i){i.forEach(E_)}function pi(i){return typeof i=="function"}function It(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Xa;function Ze(i,e){return Xa||(Xa=document.createElement("a")),Xa.href=e,i===Xa.href}function Kw(i){return Object.keys(i).length===0}function Oo(i,...e){if(i==null)return Be;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return Oo(i,t=>e=t)(),e}function bi(i,e,t){i.$$.on_destroy.push(Oo(e,t))}function R_(i,e,t,n){if(i){const l=D_(i,e,t,n);return i[0](l)}}function D_(i,e,t,n){return i[1]&&n?qw(t.ctx.slice(),i[1](n(e))):t.ctx}function V_(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 O_(i,e,t,n,l,r){if(l){const a=D_(e,t,n,r);i.p(a,l)}}function M_(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 $n(i){return i??""}function F_(i){return i&&pi(i.destroy)?i.destroy:Be}function w(i,e){i.appendChild(e)}function L(i,e,t){i.insertBefore(e,t||null)}function I(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function jw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Te(i){return document.createTextNode(i)}function H(){return Te(" ")}function Ce(){return Te("")}function ie(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Nt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Dt(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 Jw(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Hf(i,e){i.value=e??""}function An(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Ht(i,e,t){i.classList[t?"add":"remove"](e)}function Yw(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class hr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=jw(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(I)}}let Wr;function Fi(i){Wr=i}function dl(){if(!Wr)throw new Error("Function called outside component initialization");return Wr}function Hn(i){dl().$$.before_update.push(i)}function Qt(i){dl().$$.on_mount.push(i)}function jr(i){dl().$$.after_update.push(i)}function Jr(i){dl().$$.on_destroy.push(i)}function Wt(){const i=dl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=Yw(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function zr(i,e){return dl().$$.context.set(i,e),e}function mt(i){return dl().$$.context.get(i)}function Rl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Hr=[],Xe=[],es=[],Lo=[],Qw=Promise.resolve();let Ao=!1;function Zw(){Ao||(Ao=!0,Qw.then(Mo))}function Eo(i){es.push(i)}function _t(i){Lo.push(i)}const Io=new Set;let $a=0;function Mo(){const i=Wr;do{for(;$a<Hr.length;){const e=Hr[$a];$a++,Fi(e),Xw(e.$$)}for(Fi(null),Hr.length=0,$a=0;Xe.length;)Xe.pop()();for(let e=0;e<es.length;e+=1){const t=es[e];Io.has(t)||(Io.add(t),t())}es.length=0}while(Hr.length);for(;Lo.length;)Lo.pop()();Ao=!1,Io.clear(),Fi(i)}function Xw(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Eo)}}const ts=new Set;let Dl;function ke(){Dl={r:0,c:[],p:Dl}}function Se(){Dl.r||Qe(Dl.c),Dl=Dl.p}function R(i,e){i&&i.i&&(ts.delete(i),i.i(e))}function z(i,e,t,n){if(i&&i.o){if(ts.has(i))return;ts.add(i),Dl.c.push(()=>{ts.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function is(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const g=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((_,p)=>{p!==r&&_&&(ke(),z(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Se())}):e.block.d(1),g.c(),R(g,1),g.m(e.mount(),e.anchor),d=!0),e.block=g,e.blocks&&(e.blocks[r]=g),d&&Mo()}if(Gw(i)){const l=dl();if(i.then(r=>{Fi(l),n(e.then,1,e.value,r),Fi(null)},r=>{if(Fi(l),n(e.catch,2,e.error,r),Fi(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 U_(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 hl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function pt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Me(i){i&&i.c()}function Ve(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Eo(()=>{const a=i.$$.on_mount.map(E_).filter(pi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Qe(a),i.$$.on_mount=[]}),r.forEach(Eo)}function Oe(i,e){const t=i.$$;t.fragment!==null&&(Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function $w(i,e){i.$$.dirty[0]===-1&&(Hr.push(i),Zw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function At(i,e,t,n,l,r,a,o=[-1]){const c=Wr;Fi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Be,not_equal:l,bound:Bf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Bf(),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||{},(_,p,...b)=>{const m=b.length?b[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=m)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](m),d&&$w(i,_)),p}):[],g.update(),d=!0,Qe(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=Jw(e.target);g.fragment&&g.fragment.l(_),_.forEach(I)}else g.fragment&&g.fragment.c();e.intro&&R(i.$$.fragment),Ve(i,e.target,e.anchor,e.customElement),Mo()}Fi(c)}class Et{$destroy(){Oe(this,1),this.$destroy=Be}$on(e,t){if(!pi(t))return Be;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&&!Kw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class xw{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ls=new xw;class e2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const rs=new e2;class t2{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 Bn=new t2;let n2=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()=>{M2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=un.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),Ui.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ls.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await ls.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return gi.isAuthorizationEnabled()}unload(){this.initialized=!1,sn.unload(),En.removeAllEventListeners();const e=Ui.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&le.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&le.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Bn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}};const as=new n2;let i2=class{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&sn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&sn.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:()=>si.getStorageKey(),getStorageType:()=>si.getStorageType(),getAuthData:()=>si.getAuthData(),setAuthData:e=>si.setAuthData(e),removeAuthData:()=>si.removeAuthData(),setNewlyAuthorized:()=>si.setNewlyAuthorized()}}};const z_=new i2,tn={desktopMinWidth:600},l2=[{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"}],r2={cssSelector:"[luigi-app-root]"},a2={cssSelector:"[luigi-app-loading-indicator]"};let s2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(r2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const B_=new s2;class o2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Xn extends o2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class u2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Xn().openAsDrawer(e,t)}fromContext(e){return new Xn().fromContext(e)}fromClosestContext(){return new Xn().fromClosestContext()}fromVirtualTreeRoot(){return new Xn().fromVirtualTreeRoot()}withParams(e){return new Xn().withParams(e)}pathExists(e){return new Xn().pathExists(e)}hasBack(){return new Xn().hasBack()}goBack(e){return new Xn().goBack(e)}}const H_=new u2,f2={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"}}},c2=f2;class d2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=c2,this.listeners={}}_init(){un.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),as.configChanged()}_initCustomImplementation(){this.translationImpl=as.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+dr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const W_=new d2;class h2{sendToAll(e){const t=rs.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=rs.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const g2=new h2,rr=[];function _2(i,e){return{subscribe:fr(i,e).subscribe}}function fr(i,e=Be){let t;const n=new Set;function l(o){if(It(i,o)&&(i=o,t)){const c=!rr.length;for(const g of n)g[1](),rr.push(g,i);if(c){for(let g=0;g<rr.length;g+=2)rr[g][0](rr[g+1]);rr.length=0}}}function r(o){l(o(i))}function a(o,c=Be){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Be),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class p2{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ue.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<tn.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<tn.desktopMinWidth&&this.previousWindowWidth>=tn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>tn.desktopMinWidth&&this.previousWindowWidth>=tn.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(ue.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ue.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 hi=new p2;let m2=class{constructor(){this.documentTitle=fr()}hideAppLoadingIndicator(){const e=document.querySelector(a2.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return ol(this.documentTitle)}collapseLeftSideNav(e){hi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const q_=new m2;let b2=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 G_=new b2;let v2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await ae.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ae.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ae.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ae.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Gr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};un.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const K_=new v2;let w2=class{constructor(){this.featureToggleList=fr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ol(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ol(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ol(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ol(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return ol(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ol(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const j_=new w2;let k2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ae.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ae.getConfigValue("routing.useHashRouting")?n.hash=we.addParamsOnHashRouting(e,n.hash):we.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ae.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=we.getContentViewParamPrefix(),l=new URL(location);ae.getConfigValue("routing.useHashRouting")?l.hash=we.addParamsOnHashRouting(e,l.hash,n):we.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ae.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return ae.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ae.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const J_=new k2,ae=as,gi=z_,Ui=B_,Y_=H_,wt=W_,Yr=q_,S2=G_,Ro=K_,Fo=j_,ul=J_;window.Luigi=as;window.Luigi.auth=()=>z_;window.Luigi.elements=()=>B_;window.Luigi.navigation=()=>H_;window.Luigi.i18n=()=>W_;window.Luigi.customMessages=()=>g2;window.Luigi.ux=()=>q_;window.Luigi.globalSearch=()=>G_;window.Luigi.theming=()=>K_;window.Luigi.featureToggles=()=>j_;window.Luigi.routing=()=>J_;class C2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=ue.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:wt.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=ue.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:wt.getCurrentLocale()})};Ae.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:(Ae.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ue.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=we.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),g=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const _=Ae.getMainIframes(),p=this.getPreservedViewsInDom(_);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ae.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):g||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(n)):Ae.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ae.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ae.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(A=>{A!==e.iframe&&(A.userSettingsGroup?Luigi.readUserSettings().then(T=>{Ae.sendMessageToIframe(A,{msg:"luigi.navigate",context:{userSettingsData:T[A.userSettingsGroup]},internal:Ae.applyCoreStateData(A.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(A,{msg:"luigi.navigate",context:A.luigi._lastUpdatedMessage.context,nodeParams:A.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},A.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(A.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const ai=new C2;class y2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=ue.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=a.map(_=>_.vg).filter(Boolean),d=Object.entries(l).filter(([_,p])=>!g.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&d.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&d.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,n){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const ar=new y2;class P2{async getNavigationPath(e,t=""){try{const n=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Bn.hasRootNode()&&(l=Bn.getRootNode().node),!l){const _=await e;le.isObject(_)?(l=_,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:_},l.children=await this.getChildren(l),Bn.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(_=>_.pathSegment).map(_=>_.pathSegment);c.isExistingRoute=!n||r.length===g.length;const d=n.split("/");return c.matchedPath=d.filter((_,p)=>g[p]&&g[p].startsWith(":")||g[p]===_).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Bn.hasChildren(e)){let r=Bn.getChildren(e);r&&(n=r.children)}else try{n=await ls.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Bn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Bn.hasChildren(e)?Rt.getChildrenFromCache(e):await Rt.getChildren(e)}getChildrenFromCache(e){let t=Bn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ue.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=ue.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=dr.sanitizeParam(o)),g=we.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,g);const _=e.slice(1);a=this.buildNode(_,t,d,g,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,g);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
1
|
+
var Hw=Object.defineProperty;var Ww=(i,e,t)=>e in i?Hw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var zf=(i,e,t)=>(Ww(i,typeof e!="symbol"?e+"":e,t),t);function Be(){}function qw(i,e){for(const t in e)i[t]=e[t];return i}function Gw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function E_(i){return i()}function Bf(){return Object.create(null)}function Qe(i){i.forEach(E_)}function pi(i){return typeof i=="function"}function It(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Xa;function Ze(i,e){return Xa||(Xa=document.createElement("a")),Xa.href=e,i===Xa.href}function Kw(i){return Object.keys(i).length===0}function Mo(i,...e){if(i==null)return Be;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return Mo(i,t=>e=t)(),e}function bi(i,e,t){i.$$.on_destroy.push(Mo(e,t))}function R_(i,e,t,n){if(i){const l=D_(i,e,t,n);return i[0](l)}}function D_(i,e,t,n){return i[1]&&n?qw(t.ctx.slice(),i[1](n(e))):t.ctx}function V_(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 M_(i,e,t,n,l,r){if(l){const a=D_(e,t,n,r);i.p(a,l)}}function O_(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 $n(i){return i??""}function F_(i){return i&&pi(i.destroy)?i.destroy:Be}function w(i,e){i.appendChild(e)}function L(i,e,t){i.insertBefore(e,t||null)}function I(i){i.parentNode&&i.parentNode.removeChild(i)}function ct(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function jw(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Te(i){return document.createTextNode(i)}function H(){return Te(" ")}function Ce(){return Te("")}function ie(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function Nt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Dt(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 Jw(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Hf(i,e){i.value=e??""}function An(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Ht(i,e,t){i.classList[t?"add":"remove"](e)}function Yw(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class hr{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=jw(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(I)}}let Wr;function Fi(i){Wr=i}function dl(){if(!Wr)throw new Error("Function called outside component initialization");return Wr}function Hn(i){dl().$$.before_update.push(i)}function Qt(i){dl().$$.on_mount.push(i)}function jr(i){dl().$$.after_update.push(i)}function Jr(i){dl().$$.on_destroy.push(i)}function Wt(){const i=dl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=Yw(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function zr(i,e){return dl().$$.context.set(i,e),e}function mt(i){return dl().$$.context.get(i)}function Rl(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Hr=[],Xe=[],es=[],Lo=[],Qw=Promise.resolve();let Ao=!1;function Zw(){Ao||(Ao=!0,Qw.then(Oo))}function Eo(i){es.push(i)}function _t(i){Lo.push(i)}const Io=new Set;let $a=0;function Oo(){const i=Wr;do{for(;$a<Hr.length;){const e=Hr[$a];$a++,Fi(e),Xw(e.$$)}for(Fi(null),Hr.length=0,$a=0;Xe.length;)Xe.pop()();for(let e=0;e<es.length;e+=1){const t=es[e];Io.has(t)||(Io.add(t),t())}es.length=0}while(Hr.length);for(;Lo.length;)Lo.pop()();Ao=!1,Io.clear(),Fi(i)}function Xw(i){if(i.fragment!==null){i.update(),Qe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Eo)}}const ts=new Set;let Dl;function ke(){Dl={r:0,c:[],p:Dl}}function Se(){Dl.r||Qe(Dl.c),Dl=Dl.p}function R(i,e){i&&i.i&&(ts.delete(i),i.i(e))}function z(i,e,t,n){if(i&&i.o){if(ts.has(i))return;ts.add(i),Dl.c.push(()=>{ts.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function is(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const g=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((_,p)=>{p!==r&&_&&(ke(),z(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Se())}):e.block.d(1),g.c(),R(g,1),g.m(e.mount(),e.anchor),d=!0),e.block=g,e.blocks&&(e.blocks[r]=g),d&&Oo()}if(Gw(i)){const l=dl();if(i.then(r=>{Fi(l),n(e.then,1,e.value,r),Fi(null)},r=>{if(Fi(l),n(e.catch,2,e.error,r),Fi(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 U_(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 hl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function pt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Ue(i){i&&i.c()}function Me(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Eo(()=>{const a=i.$$.on_mount.map(E_).filter(pi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Qe(a),i.$$.on_mount=[]}),r.forEach(Eo)}function Oe(i,e){const t=i.$$;t.fragment!==null&&(Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function $w(i,e){i.$$.dirty[0]===-1&&(Hr.push(i),Zw(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function At(i,e,t,n,l,r,a,o=[-1]){const c=Wr;Fi(i);const g=i.$$={fragment:null,ctx:[],props:r,update:Be,not_equal:l,bound:Bf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Bf(),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||{},(_,p,...b)=>{const m=b.length?b[0]:p;return g.ctx&&l(g.ctx[_],g.ctx[_]=m)&&(!g.skip_bound&&g.bound[_]&&g.bound[_](m),d&&$w(i,_)),p}):[],g.update(),d=!0,Qe(g.before_update),g.fragment=n?n(g.ctx):!1,e.target){if(e.hydrate){const _=Jw(e.target);g.fragment&&g.fragment.l(_),_.forEach(I)}else g.fragment&&g.fragment.c();e.intro&&R(i.$$.fragment),Me(i,e.target,e.anchor,e.customElement),Oo()}Fi(c)}class Et{$destroy(){Oe(this,1),this.$destroy=Be}$on(e,t){if(!pi(t))return Be;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&&!Kw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class xw{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const ls=new xw;class e2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const rs=new e2;class t2{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 Bn=new t2;let n2=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()=>{O2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=un.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),Ui.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ls.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await ls.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return gi.isAuthorizationEnabled()}unload(){this.initialized=!1,sn.unload(),En.removeAllEventListeners();const e=Ui.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&le.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&le.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Bn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}};const as=new n2;let i2=class{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&sn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&sn.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:()=>si.getStorageKey(),getStorageType:()=>si.getStorageType(),getAuthData:()=>si.getAuthData(),setAuthData:e=>si.setAuthData(e),removeAuthData:()=>si.removeAuthData(),setNewlyAuthorized:()=>si.setNewlyAuthorized()}}};const z_=new i2,tn={desktopMinWidth:600},l2=[{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"}],r2={cssSelector:"[luigi-app-root]"},a2={cssSelector:"[luigi-app-loading-indicator]"};let s2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(r2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const B_=new s2;class o2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Xn extends o2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class u2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Xn().navigate(e,t,n,l,r)}openAsModal(e,t,n){return new Xn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Xn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Xn().openAsDrawer(e,t)}fromContext(e){return new Xn().fromContext(e)}fromClosestContext(){return new Xn().fromClosestContext()}fromVirtualTreeRoot(){return new Xn().fromVirtualTreeRoot()}withParams(e){return new Xn().withParams(e)}pathExists(e){return new Xn().pathExists(e)}hasBack(){return new Xn().hasBack()}goBack(e){return new Xn().goBack(e)}}const H_=new u2,f2={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"}}},c2=f2;class d2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=c2,this.listeners={}}_init(){un.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),as.configChanged()}_initCustomImplementation(){this.translationImpl=as.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+dr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const W_=new d2;class h2{sendToAll(e){const t=rs.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=rs.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const g2=new h2,rr=[];function _2(i,e){return{subscribe:fr(i,e).subscribe}}function fr(i,e=Be){let t;const n=new Set;function l(o){if(It(i,o)&&(i=o,t)){const c=!rr.length;for(const g of n)g[1](),rr.push(g,i);if(c){for(let g=0;g<rr.length;g+=2)rr[g][0](rr[g+1]);rr.length=0}}}function r(o){l(o(i))}function a(o,c=Be){const g=[o,c];return n.add(g),n.size===1&&(t=e(l)||Be),o(i),()=>{n.delete(g),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class p2{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ue.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<tn.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<tn.desktopMinWidth&&this.previousWindowWidth>=tn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>tn.desktopMinWidth&&this.previousWindowWidth>=tn.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(ue.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ue.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 hi=new p2;let m2=class{constructor(){this.documentTitle=fr()}hideAppLoadingIndicator(){const e=document.querySelector(a2.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return ol(this.documentTitle)}collapseLeftSideNav(e){hi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Xn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const q_=new m2;let b2=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 G_=new b2;let v2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await ae.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ae.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ae.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ae.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Gr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};un.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const K_=new v2;let w2=class{constructor(){this.featureToggleList=fr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ol(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ol(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ol(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ol(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return ol(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ol(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const j_=new w2;let k2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ae.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);ae.getConfigValue("routing.useHashRouting")?n.hash=we.addParamsOnHashRouting(e,n.hash):we.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),ae.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=we.getContentViewParamPrefix(),l=new URL(location);ae.getConfigValue("routing.useHashRouting")?l.hash=we.addParamsOnHashRouting(e,l.hash,n):we.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),ae.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return ae.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ae.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const J_=new k2,ae=as,gi=z_,Ui=B_,Y_=H_,wt=W_,Yr=q_,S2=G_,Ro=K_,Fo=j_,ul=J_;window.Luigi=as;window.Luigi.auth=()=>z_;window.Luigi.elements=()=>B_;window.Luigi.navigation=()=>H_;window.Luigi.i18n=()=>W_;window.Luigi.customMessages=()=>g2;window.Luigi.ux=()=>q_;window.Luigi.globalSearch=()=>G_;window.Luigi.theming=()=>K_;window.Luigi.featureToggles=()=>j_;window.Luigi.routing=()=>J_;class C2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=ue.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:wt.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=ue.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:wt.getCurrentLocale()})};Ae.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:(Ae.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ue.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=we.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),g=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const _=Ae.getMainIframes(),p=this.getPreservedViewsInDom(_);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ae.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):g||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(n)):Ae.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ae.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ae.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(A=>{A!==e.iframe&&(A.userSettingsGroup?Luigi.readUserSettings().then(T=>{Ae.sendMessageToIframe(A,{msg:"luigi.navigate",context:{userSettingsData:T[A.userSettingsGroup]},internal:Ae.applyCoreStateData(A.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(A,{msg:"luigi.navigate",context:A.luigi._lastUpdatedMessage.context,nodeParams:A.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},A.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(A.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const ai=new C2;class y2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=ue.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const g=a.map(_=>_.vg).filter(Boolean),d=Object.entries(l).filter(([_,p])=>!g.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&d.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&d.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,n){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const ar=new y2;class P2{async getNavigationPath(e,t=""){try{const n=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Bn.hasRootNode()&&(l=Bn.getRootNode().node),!l){const _=await e;le.isObject(_)?(l=_,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:_},l.children=await this.getChildren(l),Bn.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(_=>_.pathSegment).map(_=>_.pathSegment);c.isExistingRoute=!n||r.length===g.length;const d=n.split("/");return c.matchedPath=d.filter((_,p)=>g[p]&&g[p].startsWith(":")||g[p]===_).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Bn.hasChildren(e)){let r=Bn.getChildren(e);r&&(n=r.children)}else try{n=await ls.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Bn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Bn.hasChildren(e)?Rt.getChildrenFromCache(e):await Rt.getChildren(e)}getChildrenFromCache(e){let t=Bn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>ue.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=ue.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=dr.sanitizeParam(o)),g=we.substituteDynamicParamsInObject(g,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,g);const _=e.slice(1);a=this.buildNode(_,t,d,g,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const g=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,g);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
2
2
|
Children nodes are redundant and ignored when virtualTree is enabled.
|
|
3
3
|
Please refer to documentation`),e.children=[d]}}findMatchingNode(e,t){let n=null;const l=t.filter(a=>!!a.pathSegment).length,r=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":")).length;return e=e.includes("#")?e.split("#").shift():e,l>1&&(r===1&&(console.warn(`Invalid node setup detected.
|
|
4
4
|
Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
|
|
@@ -30,10 +30,10 @@ Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.p
|
|
|
30
30
|
* Released under MIT license <https://lodash.com/license>
|
|
31
31
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
32
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
-
*/ss.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,d="__lodash_placeholder__",_=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,A=8,T=16,V=32,E=64,U=128,F=256,D=512,Z=30,j="...",Q=800,de=16,te=1,G=2,Y=3,X=1/0,pe=9007199254740991,ne=17976931348623157e292,oe=0/0,ve=4294967295,re=ve-1,Ee=ve>>>1,He=[["ary",U],["bind",C],["bindKey",y],["curry",A],["curryRight",T],["flip",D],["partial",V],["partialRight",E],["rearg",F]],q="[object Arguments]",se="[object Array]",Pe="[object AsyncFunction]",$e="[object Boolean]",Fe="[object Date]",_e="[object DOMException]",Ke="[object Error]",at="[object Function]",qt="[object GeneratorFunction]",bt="[object Map]",Vt="[object Number]",Wn="[object Null]",Ut="[object Object]",mn="[object Promise]",Bi="[object Proxy]",gt="[object RegExp]",Zt="[object Set]",Rn="[object String]",ei="[object Symbol]",Hi="[object Undefined]",nn="[object WeakMap]",bn="[object WeakSet]",qn="[object ArrayBuffer]",Gt="[object DataView]",Cn="[object Float32Array]",vi="[object Float64Array]",wi="[object Int8Array]",fn="[object Int16Array]",ki="[object Int32Array]",Si="[object Uint8Array]",Ci="[object Uint8ClampedArray]",yi="[object Uint16Array]",Pi="[object Uint32Array]",gl=/\b__p \+= '';/g,_l=/\b(__p \+=) '' \+/g,pl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ni=/&(?:amp|lt|gt|quot|#39);/g,Wi=/[&<>"']/g,qi=RegExp(Ni.source),oi=RegExp(Wi.source),ml=/<%-([\s\S]+?)%>/g,bl=/<%([\s\S]+?)%>/g,Gi=/<%=([\s\S]+?)%>/g,$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ne=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ut=/[\\^$.*+?()[\]{}|]/g,Ct=RegExp(ut.source),jt=/^\s+/,cn=/\s/,Gn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Dn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ml=/,? & /,Fl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ul=/[()=,{}\[\]\/\s]/,gr=/\\(\\)?/g,yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ki=/\w*$/,vl=/^[-+]0x[0-9a-f]+$/i,zl=/^0b[01]+$/i,_r=/^\[object .+?Constructor\]$/,ji=/^0o[0-7]+$/i,wl=/^(?:0|[1-9]\d*)$/,kl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ui=/($^)/,Bl=/['\n\r\u2028\u2029\\]/g,Ii="\\ud800-\\udfff",pr="\\u0300-\\u036f",J="\\ufe20-\\ufe2f",Tt="\\u20d0-\\u20ff",dn=pr+J+Tt,ti="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",Ji="\\xac\\xb1\\xd7\\xf7",Xt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Hl="\\u2000-\\u206f",Qr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zr="A-Z\\xc0-\\xd6\\xd8-\\xde",Yi="\\ufe0e\\ufe0f",Xr=Ji+Xt+Hl+Qr,br="['’]",cs="["+Ii+"]",$r="["+Xr+"]",Qi="["+dn+"]",xr="\\d+",ds="["+ti+"]",ea="["+mr+"]",ta="[^"+Ii+Xr+xr+ti+mr+Zr+"]",vr="\\ud83c[\\udffb-\\udfff]",na="(?:"+Qi+"|"+vr+")",ia="[^"+Ii+"]",Wl="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+Zr+"]",la="\\u200d",ra="(?:"+ea+"|"+ta+")",hs="(?:"+Zi+"|"+ta+")",aa="(?:"+br+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+br+"(?:D|LL|M|RE|S|T|VE))?",oa=na+"?",ua="["+Yi+"]?",gs="(?:"+la+"(?:"+[ia,Wl,wr].join("|")+")"+ua+oa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+gs,ms="(?:"+[ds,Wl,wr].join("|")+")"+fa,bs="(?:"+[ia+Qi+"?",Qi,Wl,wr,cs].join("|")+")",vs=RegExp(br,"g"),ws=RegExp(Qi,"g"),kr=RegExp(vr+"(?="+vr+")|"+bs+fa,"g"),B=RegExp([Zi+"?"+ea+"+"+aa+"(?="+[$r,Zi,"$"].join("|")+")",hs+"+"+sa+"(?="+[$r,Zi+ra,"$"].join("|")+")",Zi+"?"+ra+"+"+aa,Zi+"+"+sa,ps,_s,xr,ms].join("|"),"g"),ce=RegExp("["+la+Ii+dn+Yi+"]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ue=-1,he={};he[Cn]=he[vi]=he[wi]=he[fn]=he[ki]=he[Si]=he[Ci]=he[yi]=he[Pi]=!0,he[q]=he[se]=he[qn]=he[$e]=he[Gt]=he[Fe]=he[Ke]=he[at]=he[bt]=he[Vt]=he[Ut]=he[gt]=he[Zt]=he[Rn]=he[nn]=!1;var Ie={};Ie[q]=Ie[se]=Ie[qn]=Ie[Gt]=Ie[$e]=Ie[Fe]=Ie[Cn]=Ie[vi]=Ie[wi]=Ie[fn]=Ie[ki]=Ie[bt]=Ie[Vt]=Ie[Ut]=Ie[gt]=Ie[Zt]=Ie[Rn]=Ie[ei]=Ie[Si]=Ie[Ci]=Ie[yi]=Ie[Pi]=!0,Ie[Ke]=Ie[at]=Ie[nn]=!1;var vt={À:"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"},Ot={"&":"&","<":"<",">":">",'"':""","'":"'"},Sr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cr=parseFloat,$i=parseInt,ql=typeof Br=="object"&&Br&&Br.Object===Object&&Br,Ge=typeof self=="object"&&self&&self.Object===Object&&self,xe=ql||Ge||Function("return this")(),Pt=e&&!e.nodeType&&e,Mt=Pt&&!0&&i&&!i.nodeType&&i,Pn=Mt&&Mt.exports===Pt,Vn=Pn&&ql.process,ln=function(){try{var x=Mt&&Mt.require&&Mt.require("util").types;return x||Vn&&Vn.binding&&Vn.binding("util")}catch{}}(),Gl=ln&&ln.isArrayBuffer,Sl=ln&&ln.isDate,ks=ln&&ln.isMap,Kl=ln&&ln.isRegExp,ca=ln&&ln.isSet,Cl=ln&&ln.isTypedArray;function $t(x,ge,fe){switch(fe.length){case 0:return x.call(ge);case 1:return x.call(ge,fe[0]);case 2:return x.call(ge,fe[0],fe[1]);case 3:return x.call(ge,fe[0],fe[1],fe[2])}return x.apply(ge,fe)}function hn(x,ge,fe,ze){for(var et=-1,kt=x==null?0:x.length;++et<kt;){var xt=x[et];ge(ze,xt,fe(xt),x)}return ze}function zt(x,ge){for(var fe=-1,ze=x==null?0:x.length;++fe<ze&&ge(x[fe],fe,x)!==!1;);return x}function Ss(x,ge){for(var fe=x==null?0:x.length;fe--&&ge(x[fe],fe,x)!==!1;);return x}function zo(x,ge){for(var fe=-1,ze=x==null?0:x.length;++fe<ze;)if(!ge(x[fe],fe,x))return!1;return!0}function xi(x,ge){for(var fe=-1,ze=x==null?0:x.length,et=0,kt=[];++fe<ze;){var xt=x[fe];ge(xt,fe,x)&&(kt[et++]=xt)}return kt}function da(x,ge){var fe=x==null?0:x.length;return!!fe&&jl(x,ge,0)>-1}function Cs(x,ge,fe){for(var ze=-1,et=x==null?0:x.length;++ze<et;)if(fe(ge,x[ze]))return!0;return!1}function Ft(x,ge){for(var fe=-1,ze=x==null?0:x.length,et=Array(ze);++fe<ze;)et[fe]=ge(x[fe],fe,x);return et}function el(x,ge){for(var fe=-1,ze=ge.length,et=x.length;++fe<ze;)x[et+fe]=ge[fe];return x}function ys(x,ge,fe,ze){var et=-1,kt=x==null?0:x.length;for(ze&&kt&&(fe=x[++et]);++et<kt;)fe=ge(fe,x[et],et,x);return fe}function dp(x,ge,fe,ze){var et=x==null?0:x.length;for(ze&&et&&(fe=x[--et]);et--;)fe=ge(fe,x[et],et,x);return fe}function Ps(x,ge){for(var fe=-1,ze=x==null?0:x.length;++fe<ze;)if(ge(x[fe],fe,x))return!0;return!1}var hp=Ns("length");function gp(x){return x.split("")}function _p(x){return x.match(Fl)||[]}function Bo(x,ge,fe){var ze;return fe(x,function(et,kt,xt){if(ge(et,kt,xt))return ze=kt,!1}),ze}function ha(x,ge,fe,ze){for(var et=x.length,kt=fe+(ze?1:-1);ze?kt--:++kt<et;)if(ge(x[kt],kt,x))return kt;return-1}function jl(x,ge,fe){return ge===ge?Ip(x,ge,fe):ha(x,Ho,fe)}function pp(x,ge,fe,ze){for(var et=fe-1,kt=x.length;++et<kt;)if(ze(x[et],ge))return et;return-1}function Ho(x){return x!==x}function Wo(x,ge){var fe=x==null?0:x.length;return fe?Ts(x,ge)/fe:oe}function Ns(x){return function(ge){return ge==null?t:ge[x]}}function Is(x){return function(ge){return x==null?t:x[ge]}}function qo(x,ge,fe,ze,et){return et(x,function(kt,xt,Lt){fe=ze?(ze=!1,kt):ge(fe,kt,xt,Lt)}),fe}function mp(x,ge){var fe=x.length;for(x.sort(ge);fe--;)x[fe]=x[fe].value;return x}function Ts(x,ge){for(var fe,ze=-1,et=x.length;++ze<et;){var kt=ge(x[ze]);kt!==t&&(fe=fe===t?kt:fe+kt)}return fe}function Ls(x,ge){for(var fe=-1,ze=Array(x);++fe<x;)ze[fe]=ge(fe);return ze}function bp(x,ge){return Ft(ge,function(fe){return[fe,x[fe]]})}function Go(x){return x&&x.slice(0,Yo(x)+1).replace(jt,"")}function On(x){return function(ge){return x(ge)}}function As(x,ge){return Ft(ge,function(fe){return x[fe]})}function yr(x,ge){return x.has(ge)}function Ko(x,ge){for(var fe=-1,ze=x.length;++fe<ze&&jl(ge,x[fe],0)>-1;);return fe}function jo(x,ge){for(var fe=x.length;fe--&&jl(ge,x[fe],0)>-1;);return fe}function vp(x,ge){for(var fe=x.length,ze=0;fe--;)x[fe]===ge&&++ze;return ze}var wp=Is(vt),kp=Is(Ot);function Sp(x){return"\\"+Xi[x]}function Cp(x,ge){return x==null?t:x[ge]}function Jl(x){return ce.test(x)}function yp(x){return De.test(x)}function Pp(x){for(var ge,fe=[];!(ge=x.next()).done;)fe.push(ge.value);return fe}function Es(x){var ge=-1,fe=Array(x.size);return x.forEach(function(ze,et){fe[++ge]=[et,ze]}),fe}function Jo(x,ge){return function(fe){return x(ge(fe))}}function tl(x,ge){for(var fe=-1,ze=x.length,et=0,kt=[];++fe<ze;){var xt=x[fe];(xt===ge||xt===d)&&(x[fe]=d,kt[et++]=fe)}return kt}function ga(x){var ge=-1,fe=Array(x.size);return x.forEach(function(ze){fe[++ge]=ze}),fe}function Np(x){var ge=-1,fe=Array(x.size);return x.forEach(function(ze){fe[++ge]=[ze,ze]}),fe}function Ip(x,ge,fe){for(var ze=fe-1,et=x.length;++ze<et;)if(x[ze]===ge)return ze;return-1}function Tp(x,ge,fe){for(var ze=fe+1;ze--;)if(x[ze]===ge)return ze;return ze}function Yl(x){return Jl(x)?Ap(x):hp(x)}function ni(x){return Jl(x)?Ep(x):gp(x)}function Yo(x){for(var ge=x.length;ge--&&cn.test(x.charAt(ge)););return ge}var Lp=Is(Sr);function Ap(x){for(var ge=kr.lastIndex=0;kr.test(x);)++ge;return ge}function Ep(x){return x.match(kr)||[]}function Rp(x){return x.match(B)||[]}var Dp=function x(ge){ge=ge==null?xe:Ql.defaults(xe.Object(),ge,Ql.pick(xe,qe));var fe=ge.Array,ze=ge.Date,et=ge.Error,kt=ge.Function,xt=ge.Math,Lt=ge.Object,Rs=ge.RegExp,Vp=ge.String,Kn=ge.TypeError,_a=fe.prototype,Op=kt.prototype,Zl=Lt.prototype,pa=ge["__core-js_shared__"],ma=Op.toString,yt=Zl.hasOwnProperty,Mp=0,Qo=function(){var s=/[^.]+$/.exec(pa&&pa.keys&&pa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ba=Zl.toString,Fp=ma.call(Lt),Up=xe._,zp=Rs("^"+ma.call(yt).replace(ut,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),va=Pn?ge.Buffer:t,nl=ge.Symbol,wa=ge.Uint8Array,Zo=va?va.allocUnsafe:t,ka=Jo(Lt.getPrototypeOf,Lt),Xo=Lt.create,$o=Zl.propertyIsEnumerable,Sa=_a.splice,xo=nl?nl.isConcatSpreadable:t,Pr=nl?nl.iterator:t,yl=nl?nl.toStringTag:t,Ca=function(){try{var s=Ll(Lt,"defineProperty");return s({},"",{}),s}catch{}}(),Bp=ge.clearTimeout!==xe.clearTimeout&&ge.clearTimeout,Hp=ze&&ze.now!==xe.Date.now&&ze.now,Wp=ge.setTimeout!==xe.setTimeout&&ge.setTimeout,ya=xt.ceil,Pa=xt.floor,Ds=Lt.getOwnPropertySymbols,qp=va?va.isBuffer:t,eu=ge.isFinite,Gp=_a.join,Kp=Jo(Lt.keys,Lt),en=xt.max,gn=xt.min,jp=ze.now,Jp=ge.parseInt,tu=xt.random,Yp=_a.reverse,Vs=Ll(ge,"DataView"),Nr=Ll(ge,"Map"),Os=Ll(ge,"Promise"),Xl=Ll(ge,"Set"),Ir=Ll(ge,"WeakMap"),Tr=Ll(Lt,"create"),Na=Ir&&new Ir,$l={},Qp=Al(Vs),Zp=Al(Nr),Xp=Al(Os),$p=Al(Xl),xp=Al(Ir),Ia=nl?nl.prototype:t,Lr=Ia?Ia.valueOf:t,nu=Ia?Ia.toString:t;function O(s){if(Kt(s)&&!nt(s)&&!(s instanceof dt)){if(s instanceof jn)return s;if(yt.call(s,"__wrapped__"))return lf(s)}return new jn(s)}var xl=function(){function s(){}return function(u){if(!Bt(u))return{};if(Xo)return Xo(u);s.prototype=u;var h=new s;return s.prototype=t,h}}();function Ta(){}function jn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}O.templateSettings={escape:ml,evaluate:bl,interpolate:Gi,variable:"",imports:{_:O}},O.prototype=Ta.prototype,O.prototype.constructor=O,jn.prototype=xl(Ta.prototype),jn.prototype.constructor=jn;function dt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function em(){var s=new dt(this.__wrapped__);return s.__actions__=Nn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Nn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Nn(this.__views__),s}function tm(){if(this.__filtered__){var s=new dt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function nm(){var s=this.__wrapped__.value(),u=this.__dir__,h=nt(s),k=u<0,N=h?s.length:0,M=g1(0,N,this.__views__),W=M.start,K=M.end,ee=K-W,me=k?K:W-1,be=this.__iteratees__,ye=be.length,Re=0,We=gn(ee,this.__takeCount__);if(!h||!k&&N==ee&&We==ee)return Nu(s,this.__actions__);var Je=[];e:for(;ee--&&Re<We;){me+=u;for(var rt=-1,Ye=s[me];++rt<ye;){var ft=be[rt],ht=ft.iteratee,Un=ft.type,kn=ht(Ye);if(Un==G)Ye=kn;else if(!kn){if(Un==te)continue e;break e}}Je[Re++]=Ye}return Je}dt.prototype=xl(Ta.prototype),dt.prototype.constructor=dt;function Pl(s){var u=-1,h=s==null?0:s.length;for(this.clear();++u<h;){var k=s[u];this.set(k[0],k[1])}}function im(){this.__data__=Tr?Tr(null):{},this.size=0}function lm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function rm(s){var u=this.__data__;if(Tr){var h=u[s];return h===c?t:h}return yt.call(u,s)?u[s]:t}function am(s){var u=this.__data__;return Tr?u[s]!==t:yt.call(u,s)}function sm(s,u){var h=this.__data__;return this.size+=this.has(s)?0:1,h[s]=Tr&&u===t?c:u,this}Pl.prototype.clear=im,Pl.prototype.delete=lm,Pl.prototype.get=rm,Pl.prototype.has=am,Pl.prototype.set=sm;function Ti(s){var u=-1,h=s==null?0:s.length;for(this.clear();++u<h;){var k=s[u];this.set(k[0],k[1])}}function om(){this.__data__=[],this.size=0}function um(s){var u=this.__data__,h=La(u,s);if(h<0)return!1;var k=u.length-1;return h==k?u.pop():Sa.call(u,h,1),--this.size,!0}function fm(s){var u=this.__data__,h=La(u,s);return h<0?t:u[h][1]}function cm(s){return La(this.__data__,s)>-1}function dm(s,u){var h=this.__data__,k=La(h,s);return k<0?(++this.size,h.push([s,u])):h[k][1]=u,this}Ti.prototype.clear=om,Ti.prototype.delete=um,Ti.prototype.get=fm,Ti.prototype.has=cm,Ti.prototype.set=dm;function Li(s){var u=-1,h=s==null?0:s.length;for(this.clear();++u<h;){var k=s[u];this.set(k[0],k[1])}}function hm(){this.size=0,this.__data__={hash:new Pl,map:new(Nr||Ti),string:new Pl}}function gm(s){var u=Ha(this,s).delete(s);return this.size-=u?1:0,u}function _m(s){return Ha(this,s).get(s)}function pm(s){return Ha(this,s).has(s)}function mm(s,u){var h=Ha(this,s),k=h.size;return h.set(s,u),this.size+=h.size==k?0:1,this}Li.prototype.clear=hm,Li.prototype.delete=gm,Li.prototype.get=_m,Li.prototype.has=pm,Li.prototype.set=mm;function Nl(s){var u=-1,h=s==null?0:s.length;for(this.__data__=new Li;++u<h;)this.add(s[u])}function bm(s){return this.__data__.set(s,c),this}function vm(s){return this.__data__.has(s)}Nl.prototype.add=Nl.prototype.push=bm,Nl.prototype.has=vm;function ii(s){var u=this.__data__=new Ti(s);this.size=u.size}function wm(){this.__data__=new Ti,this.size=0}function km(s){var u=this.__data__,h=u.delete(s);return this.size=u.size,h}function Sm(s){return this.__data__.get(s)}function Cm(s){return this.__data__.has(s)}function ym(s,u){var h=this.__data__;if(h instanceof Ti){var k=h.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++h.size,this;h=this.__data__=new Li(k)}return h.set(s,u),this.size=h.size,this}ii.prototype.clear=wm,ii.prototype.delete=km,ii.prototype.get=Sm,ii.prototype.has=Cm,ii.prototype.set=ym;function iu(s,u){var h=nt(s),k=!h&&El(s),N=!h&&!k&&sl(s),M=!h&&!k&&!N&&ir(s),W=h||k||N||M,K=W?Ls(s.length,Vp):[],ee=K.length;for(var me in s)(u||yt.call(s,me))&&!(W&&(me=="length"||N&&(me=="offset"||me=="parent")||M&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||Di(me,ee)))&&K.push(me);return K}function lu(s){var u=s.length;return u?s[js(0,u-1)]:t}function Pm(s,u){return Wa(Nn(s),Il(u,0,s.length))}function Nm(s){return Wa(Nn(s))}function Ms(s,u,h){(h!==t&&!li(s[u],h)||h===t&&!(u in s))&&Ai(s,u,h)}function Ar(s,u,h){var k=s[u];(!(yt.call(s,u)&&li(k,h))||h===t&&!(u in s))&&Ai(s,u,h)}function La(s,u){for(var h=s.length;h--;)if(li(s[h][0],u))return h;return-1}function Im(s,u,h,k){return il(s,function(N,M,W){u(k,N,h(N),W)}),k}function ru(s,u){return s&&ci(u,rn(u),s)}function Tm(s,u){return s&&ci(u,Tn(u),s)}function Ai(s,u,h){u=="__proto__"&&Ca?Ca(s,u,{configurable:!0,enumerable:!0,value:h,writable:!0}):s[u]=h}function Fs(s,u){for(var h=-1,k=u.length,N=fe(k),M=s==null;++h<k;)N[h]=M?t:bo(s,u[h]);return N}function Il(s,u,h){return s===s&&(h!==t&&(s=s<=h?s:h),u!==t&&(s=s>=u?s:u)),s}function Jn(s,u,h,k,N,M){var W,K=u&_,ee=u&p,me=u&b;if(h&&(W=N?h(s,k,N,M):h(s)),W!==t)return W;if(!Bt(s))return s;var be=nt(s);if(be){if(W=p1(s),!K)return Nn(s,W)}else{var ye=_n(s),Re=ye==at||ye==qt;if(sl(s))return Lu(s,K);if(ye==Ut||ye==q||Re&&!N){if(W=ee||Re?{}:Yu(s),!K)return ee?r1(s,Tm(W,s)):l1(s,ru(W,s))}else{if(!Ie[ye])return N?s:{};W=m1(s,ye,K)}}M||(M=new ii);var We=M.get(s);if(We)return We;M.set(s,W),yf(s)?s.forEach(function(Ye){W.add(Jn(Ye,u,h,Ye,s,M))}):Sf(s)&&s.forEach(function(Ye,ft){W.set(ft,Jn(Ye,u,h,ft,s,M))});var Je=me?ee?io:no:ee?Tn:rn,rt=be?t:Je(s);return zt(rt||s,function(Ye,ft){rt&&(ft=Ye,Ye=s[ft]),Ar(W,ft,Jn(Ye,u,h,ft,s,M))}),W}function Lm(s){var u=rn(s);return function(h){return au(h,s,u)}}function au(s,u,h){var k=h.length;if(s==null)return!k;for(s=Lt(s);k--;){var N=h[k],M=u[N],W=s[N];if(W===t&&!(N in s)||!M(W))return!1}return!0}function su(s,u,h){if(typeof s!="function")throw new Kn(a);return Fr(function(){s.apply(t,h)},u)}function Er(s,u,h,k){var N=-1,M=da,W=!0,K=s.length,ee=[],me=u.length;if(!K)return ee;h&&(u=Ft(u,On(h))),k?(M=Cs,W=!1):u.length>=l&&(M=yr,W=!1,u=new Nl(u));e:for(;++N<K;){var be=s[N],ye=h==null?be:h(be);if(be=k||be!==0?be:0,W&&ye===ye){for(var Re=me;Re--;)if(u[Re]===ye)continue e;ee.push(be)}else M(u,ye,k)||ee.push(be)}return ee}var il=Vu(fi),ou=Vu(zs,!0);function Am(s,u){var h=!0;return il(s,function(k,N,M){return h=!!u(k,N,M),h}),h}function Aa(s,u,h){for(var k=-1,N=s.length;++k<N;){var M=s[k],W=u(M);if(W!=null&&(K===t?W===W&&!Fn(W):h(W,K)))var K=W,ee=M}return ee}function Em(s,u,h,k){var N=s.length;for(h=lt(h),h<0&&(h=-h>N?0:N+h),k=k===t||k>N?N:lt(k),k<0&&(k+=N),k=h>k?0:Nf(k);h<k;)s[h++]=u;return s}function uu(s,u){var h=[];return il(s,function(k,N,M){u(k,N,M)&&h.push(k)}),h}function on(s,u,h,k,N){var M=-1,W=s.length;for(h||(h=v1),N||(N=[]);++M<W;){var K=s[M];u>0&&h(K)?u>1?on(K,u-1,h,k,N):el(N,K):k||(N[N.length]=K)}return N}var Us=Ou(),fu=Ou(!0);function fi(s,u){return s&&Us(s,u,rn)}function zs(s,u){return s&&fu(s,u,rn)}function Ea(s,u){return xi(u,function(h){return Vi(s[h])})}function Tl(s,u){u=rl(u,s);for(var h=0,k=u.length;s!=null&&h<k;)s=s[di(u[h++])];return h&&h==k?s:t}function cu(s,u,h){var k=u(s);return nt(s)?k:el(k,h(s))}function vn(s){return s==null?s===t?Hi:Wn:yl&&yl in Lt(s)?h1(s):N1(s)}function Bs(s,u){return s>u}function Rm(s,u){return s!=null&&yt.call(s,u)}function Dm(s,u){return s!=null&&u in Lt(s)}function Vm(s,u,h){return s>=gn(u,h)&&s<en(u,h)}function Hs(s,u,h){for(var k=h?Cs:da,N=s[0].length,M=s.length,W=M,K=fe(M),ee=1/0,me=[];W--;){var be=s[W];W&&u&&(be=Ft(be,On(u))),ee=gn(be.length,ee),K[W]=!h&&(u||N>=120&&be.length>=120)?new Nl(W&&be):t}be=s[0];var ye=-1,Re=K[0];e:for(;++ye<N&&me.length<ee;){var We=be[ye],Je=u?u(We):We;if(We=h||We!==0?We:0,!(Re?yr(Re,Je):k(me,Je,h))){for(W=M;--W;){var rt=K[W];if(!(rt?yr(rt,Je):k(s[W],Je,h)))continue e}Re&&Re.push(Je),me.push(We)}}return me}function Om(s,u,h,k){return fi(s,function(N,M,W){u(k,h(N),M,W)}),k}function Rr(s,u,h){u=rl(u,s),s=$u(s,u);var k=s==null?s:s[di(Qn(u))];return k==null?t:$t(k,s,h)}function du(s){return Kt(s)&&vn(s)==q}function Mm(s){return Kt(s)&&vn(s)==qn}function Fm(s){return Kt(s)&&vn(s)==Fe}function Dr(s,u,h,k,N){return s===u?!0:s==null||u==null||!Kt(s)&&!Kt(u)?s!==s&&u!==u:Um(s,u,h,k,Dr,N)}function Um(s,u,h,k,N,M){var W=nt(s),K=nt(u),ee=W?se:_n(s),me=K?se:_n(u);ee=ee==q?Ut:ee,me=me==q?Ut:me;var be=ee==Ut,ye=me==Ut,Re=ee==me;if(Re&&sl(s)){if(!sl(u))return!1;W=!0,be=!1}if(Re&&!be)return M||(M=new ii),W||ir(s)?Ku(s,u,h,k,N,M):c1(s,u,ee,h,k,N,M);if(!(h&m)){var We=be&&yt.call(s,"__wrapped__"),Je=ye&&yt.call(u,"__wrapped__");if(We||Je){var rt=We?s.value():s,Ye=Je?u.value():u;return M||(M=new ii),N(rt,Ye,h,k,M)}}return Re?(M||(M=new ii),d1(s,u,h,k,N,M)):!1}function zm(s){return Kt(s)&&_n(s)==bt}function Ws(s,u,h,k){var N=h.length,M=N,W=!k;if(s==null)return!M;for(s=Lt(s);N--;){var K=h[N];if(W&&K[2]?K[1]!==s[K[0]]:!(K[0]in s))return!1}for(;++N<M;){K=h[N];var ee=K[0],me=s[ee],be=K[1];if(W&&K[2]){if(me===t&&!(ee in s))return!1}else{var ye=new ii;if(k)var Re=k(me,be,ee,s,u,ye);if(!(Re===t?Dr(be,me,m|v,k,ye):Re))return!1}}return!0}function hu(s){if(!Bt(s)||k1(s))return!1;var u=Vi(s)?zp:_r;return u.test(Al(s))}function Bm(s){return Kt(s)&&vn(s)==gt}function Hm(s){return Kt(s)&&_n(s)==Zt}function Wm(s){return Kt(s)&&Ya(s.length)&&!!he[vn(s)]}function gu(s){return typeof s=="function"?s:s==null?Ln:typeof s=="object"?nt(s)?mu(s[0],s[1]):pu(s):Ff(s)}function qs(s){if(!Mr(s))return Kp(s);var u=[];for(var h in Lt(s))yt.call(s,h)&&h!="constructor"&&u.push(h);return u}function qm(s){if(!Bt(s))return P1(s);var u=Mr(s),h=[];for(var k in s)k=="constructor"&&(u||!yt.call(s,k))||h.push(k);return h}function Gs(s,u){return s<u}function _u(s,u){var h=-1,k=In(s)?fe(s.length):[];return il(s,function(N,M,W){k[++h]=u(N,M,W)}),k}function pu(s){var u=ro(s);return u.length==1&&u[0][2]?Zu(u[0][0],u[0][1]):function(h){return h===s||Ws(h,s,u)}}function mu(s,u){return so(s)&&Qu(u)?Zu(di(s),u):function(h){var k=bo(h,s);return k===t&&k===u?vo(h,s):Dr(u,k,m|v)}}function Ra(s,u,h,k,N){s!==u&&Us(u,function(M,W){if(N||(N=new ii),Bt(M))Gm(s,u,W,h,Ra,k,N);else{var K=k?k(uo(s,W),M,W+"",s,u,N):t;K===t&&(K=M),Ms(s,W,K)}},Tn)}function Gm(s,u,h,k,N,M,W){var K=uo(s,h),ee=uo(u,h),me=W.get(ee);if(me){Ms(s,h,me);return}var be=M?M(K,ee,h+"",s,u,W):t,ye=be===t;if(ye){var Re=nt(ee),We=!Re&&sl(ee),Je=!Re&&!We&&ir(ee);be=ee,Re||We||Je?nt(K)?be=K:Jt(K)?be=Nn(K):We?(ye=!1,be=Lu(ee,!0)):Je?(ye=!1,be=Au(ee,!0)):be=[]:Ur(ee)||El(ee)?(be=K,El(K)?be=If(K):(!Bt(K)||Vi(K))&&(be=Yu(ee))):ye=!1}ye&&(W.set(ee,be),N(be,ee,k,M,W),W.delete(ee)),Ms(s,h,be)}function bu(s,u){var h=s.length;if(h)return u+=u<0?h:0,Di(u,h)?s[u]:t}function vu(s,u,h){u.length?u=Ft(u,function(M){return nt(M)?function(W){return Tl(W,M.length===1?M[0]:M)}:M}):u=[Ln];var k=-1;u=Ft(u,On(je()));var N=_u(s,function(M,W,K){var ee=Ft(u,function(me){return me(M)});return{criteria:ee,index:++k,value:M}});return mp(N,function(M,W){return i1(M,W,h)})}function Km(s,u){return wu(s,u,function(h,k){return vo(s,k)})}function wu(s,u,h){for(var k=-1,N=u.length,M={};++k<N;){var W=u[k],K=Tl(s,W);h(K,W)&&Vr(M,rl(W,s),K)}return M}function jm(s){return function(u){return Tl(u,s)}}function Ks(s,u,h,k){var N=k?pp:jl,M=-1,W=u.length,K=s;for(s===u&&(u=Nn(u)),h&&(K=Ft(s,On(h)));++M<W;)for(var ee=0,me=u[M],be=h?h(me):me;(ee=N(K,be,ee,k))>-1;)K!==s&&Sa.call(K,ee,1),Sa.call(s,ee,1);return s}function ku(s,u){for(var h=s?u.length:0,k=h-1;h--;){var N=u[h];if(h==k||N!==M){var M=N;Di(N)?Sa.call(s,N,1):Qs(s,N)}}return s}function js(s,u){return s+Pa(tu()*(u-s+1))}function Jm(s,u,h,k){for(var N=-1,M=en(ya((u-s)/(h||1)),0),W=fe(M);M--;)W[k?M:++N]=s,s+=h;return W}function Js(s,u){var h="";if(!s||u<1||u>pe)return h;do u%2&&(h+=s),u=Pa(u/2),u&&(s+=s);while(u);return h}function st(s,u){return fo(Xu(s,u,Ln),s+"")}function Ym(s){return lu(lr(s))}function Qm(s,u){var h=lr(s);return Wa(h,Il(u,0,h.length))}function Vr(s,u,h,k){if(!Bt(s))return s;u=rl(u,s);for(var N=-1,M=u.length,W=M-1,K=s;K!=null&&++N<M;){var ee=di(u[N]),me=h;if(ee==="__proto__"||ee==="constructor"||ee==="prototype")return s;if(N!=W){var be=K[ee];me=k?k(be,ee,K):t,me===t&&(me=Bt(be)?be:Di(u[N+1])?[]:{})}Ar(K,ee,me),K=K[ee]}return s}var Su=Na?function(s,u){return Na.set(s,u),s}:Ln,Zm=Ca?function(s,u){return Ca(s,"toString",{configurable:!0,enumerable:!1,value:ko(u),writable:!0})}:Ln;function Xm(s){return Wa(lr(s))}function Yn(s,u,h){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),h=h>N?N:h,h<0&&(h+=N),N=u>h?0:h-u>>>0,u>>>=0;for(var M=fe(N);++k<N;)M[k]=s[k+u];return M}function $m(s,u){var h;return il(s,function(k,N,M){return h=u(k,N,M),!h}),!!h}function Da(s,u,h){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Ee){for(;k<N;){var M=k+N>>>1,W=s[M];W!==null&&!Fn(W)&&(h?W<=u:W<u)?k=M+1:N=M}return N}return Ys(s,u,Ln,h)}function Ys(s,u,h,k){var N=0,M=s==null?0:s.length;if(M===0)return 0;u=h(u);for(var W=u!==u,K=u===null,ee=Fn(u),me=u===t;N<M;){var be=Pa((N+M)/2),ye=h(s[be]),Re=ye!==t,We=ye===null,Je=ye===ye,rt=Fn(ye);if(W)var Ye=k||Je;else me?Ye=Je&&(k||Re):K?Ye=Je&&Re&&(k||!We):ee?Ye=Je&&Re&&!We&&(k||!rt):We||rt?Ye=!1:Ye=k?ye<=u:ye<u;Ye?N=be+1:M=be}return gn(M,re)}function Cu(s,u){for(var h=-1,k=s.length,N=0,M=[];++h<k;){var W=s[h],K=u?u(W):W;if(!h||!li(K,ee)){var ee=K;M[N++]=W===0?0:W}}return M}function yu(s){return typeof s=="number"?s:Fn(s)?oe:+s}function Mn(s){if(typeof s=="string")return s;if(nt(s))return Ft(s,Mn)+"";if(Fn(s))return nu?nu.call(s):"";var u=s+"";return u=="0"&&1/s==-X?"-0":u}function ll(s,u,h){var k=-1,N=da,M=s.length,W=!0,K=[],ee=K;if(h)W=!1,N=Cs;else if(M>=l){var me=u?null:u1(s);if(me)return ga(me);W=!1,N=yr,ee=new Nl}else ee=u?[]:K;e:for(;++k<M;){var be=s[k],ye=u?u(be):be;if(be=h||be!==0?be:0,W&&ye===ye){for(var Re=ee.length;Re--;)if(ee[Re]===ye)continue e;u&&ee.push(ye),K.push(be)}else N(ee,ye,h)||(ee!==K&&ee.push(ye),K.push(be))}return K}function Qs(s,u){return u=rl(u,s),s=$u(s,u),s==null||delete s[di(Qn(u))]}function Pu(s,u,h,k){return Vr(s,u,h(Tl(s,u)),k)}function Va(s,u,h,k){for(var N=s.length,M=k?N:-1;(k?M--:++M<N)&&u(s[M],M,s););return h?Yn(s,k?0:M,k?M+1:N):Yn(s,k?M+1:0,k?N:M)}function Nu(s,u){var h=s;return h instanceof dt&&(h=h.value()),ys(u,function(k,N){return N.func.apply(N.thisArg,el([k],N.args))},h)}function Zs(s,u,h){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var N=-1,M=fe(k);++N<k;)for(var W=s[N],K=-1;++K<k;)K!=N&&(M[N]=Er(M[N]||W,s[K],u,h));return ll(on(M,1),u,h)}function Iu(s,u,h){for(var k=-1,N=s.length,M=u.length,W={};++k<N;){var K=k<M?u[k]:t;h(W,s[k],K)}return W}function Xs(s){return Jt(s)?s:[]}function $s(s){return typeof s=="function"?s:Ln}function rl(s,u){return nt(s)?s:so(s,u)?[s]:nf(St(s))}var xm=st;function al(s,u,h){var k=s.length;return h=h===t?k:h,!u&&h>=k?s:Yn(s,u,h)}var Tu=Bp||function(s){return xe.clearTimeout(s)};function Lu(s,u){if(u)return s.slice();var h=s.length,k=Zo?Zo(h):new s.constructor(h);return s.copy(k),k}function xs(s){var u=new s.constructor(s.byteLength);return new wa(u).set(new wa(s)),u}function e1(s,u){var h=u?xs(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.byteLength)}function t1(s){var u=new s.constructor(s.source,Ki.exec(s));return u.lastIndex=s.lastIndex,u}function n1(s){return Lr?Lt(Lr.call(s)):{}}function Au(s,u){var h=u?xs(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.length)}function Eu(s,u){if(s!==u){var h=s!==t,k=s===null,N=s===s,M=Fn(s),W=u!==t,K=u===null,ee=u===u,me=Fn(u);if(!K&&!me&&!M&&s>u||M&&W&&ee&&!K&&!me||k&&W&&ee||!h&&ee||!N)return 1;if(!k&&!M&&!me&&s<u||me&&h&&N&&!k&&!M||K&&h&&N||!W&&N||!ee)return-1}return 0}function i1(s,u,h){for(var k=-1,N=s.criteria,M=u.criteria,W=N.length,K=h.length;++k<W;){var ee=Eu(N[k],M[k]);if(ee){if(k>=K)return ee;var me=h[k];return ee*(me=="desc"?-1:1)}}return s.index-u.index}function Ru(s,u,h,k){for(var N=-1,M=s.length,W=h.length,K=-1,ee=u.length,me=en(M-W,0),be=fe(ee+me),ye=!k;++K<ee;)be[K]=u[K];for(;++N<W;)(ye||N<M)&&(be[h[N]]=s[N]);for(;me--;)be[K++]=s[N++];return be}function Du(s,u,h,k){for(var N=-1,M=s.length,W=-1,K=h.length,ee=-1,me=u.length,be=en(M-K,0),ye=fe(be+me),Re=!k;++N<be;)ye[N]=s[N];for(var We=N;++ee<me;)ye[We+ee]=u[ee];for(;++W<K;)(Re||N<M)&&(ye[We+h[W]]=s[N++]);return ye}function Nn(s,u){var h=-1,k=s.length;for(u||(u=fe(k));++h<k;)u[h]=s[h];return u}function ci(s,u,h,k){var N=!h;h||(h={});for(var M=-1,W=u.length;++M<W;){var K=u[M],ee=k?k(h[K],s[K],K,h,s):t;ee===t&&(ee=s[K]),N?Ai(h,K,ee):Ar(h,K,ee)}return h}function l1(s,u){return ci(s,ao(s),u)}function r1(s,u){return ci(s,ju(s),u)}function Oa(s,u){return function(h,k){var N=nt(h)?hn:Im,M=u?u():{};return N(h,s,je(k,2),M)}}function er(s){return st(function(u,h){var k=-1,N=h.length,M=N>1?h[N-1]:t,W=N>2?h[2]:t;for(M=s.length>3&&typeof M=="function"?(N--,M):t,W&&wn(h[0],h[1],W)&&(M=N<3?t:M,N=1),u=Lt(u);++k<N;){var K=h[k];K&&s(u,K,k,M)}return u})}function Vu(s,u){return function(h,k){if(h==null)return h;if(!In(h))return s(h,k);for(var N=h.length,M=u?N:-1,W=Lt(h);(u?M--:++M<N)&&k(W[M],M,W)!==!1;);return h}}function Ou(s){return function(u,h,k){for(var N=-1,M=Lt(u),W=k(u),K=W.length;K--;){var ee=W[s?K:++N];if(h(M[ee],ee,M)===!1)break}return u}}function a1(s,u,h){var k=u&C,N=Or(s);function M(){var W=this&&this!==xe&&this instanceof M?N:s;return W.apply(k?h:this,arguments)}return M}function Mu(s){return function(u){u=St(u);var h=Jl(u)?ni(u):t,k=h?h[0]:u.charAt(0),N=h?al(h,1).join(""):u.slice(1);return k[s]()+N}}function tr(s){return function(u){return ys(Of(Vf(u).replace(vs,"")),s,"")}}function Or(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var h=xl(s.prototype),k=s.apply(h,u);return Bt(k)?k:h}}function s1(s,u,h){var k=Or(s);function N(){for(var M=arguments.length,W=fe(M),K=M,ee=nr(N);K--;)W[K]=arguments[K];var me=M<3&&W[0]!==ee&&W[M-1]!==ee?[]:tl(W,ee);if(M-=me.length,M<h)return Hu(s,u,Ma,N.placeholder,t,W,me,t,t,h-M);var be=this&&this!==xe&&this instanceof N?k:s;return $t(be,this,W)}return N}function Fu(s){return function(u,h,k){var N=Lt(u);if(!In(u)){var M=je(h,3);u=rn(u),h=function(K){return M(N[K],K,N)}}var W=s(u,h,k);return W>-1?N[M?u[W]:W]:t}}function Uu(s){return Ri(function(u){var h=u.length,k=h,N=jn.prototype.thru;for(s&&u.reverse();k--;){var M=u[k];if(typeof M!="function")throw new Kn(a);if(N&&!W&&Ba(M)=="wrapper")var W=new jn([],!0)}for(k=W?k:h;++k<h;){M=u[k];var K=Ba(M),ee=K=="wrapper"?lo(M):t;ee&&oo(ee[0])&&ee[1]==(U|A|V|F)&&!ee[4].length&&ee[9]==1?W=W[Ba(ee[0])].apply(W,ee[3]):W=M.length==1&&oo(M)?W[K]():W.thru(M)}return function(){var me=arguments,be=me[0];if(W&&me.length==1&&nt(be))return W.plant(be).value();for(var ye=0,Re=h?u[ye].apply(this,me):be;++ye<h;)Re=u[ye].call(this,Re);return Re}})}function Ma(s,u,h,k,N,M,W,K,ee,me){var be=u&U,ye=u&C,Re=u&y,We=u&(A|T),Je=u&D,rt=Re?t:Or(s);function Ye(){for(var ft=arguments.length,ht=fe(ft),Un=ft;Un--;)ht[Un]=arguments[Un];if(We)var kn=nr(Ye),zn=vp(ht,kn);if(k&&(ht=Ru(ht,k,N,We)),M&&(ht=Du(ht,M,W,We)),ft-=zn,We&&ft<me){var Yt=tl(ht,kn);return Hu(s,u,Ma,Ye.placeholder,h,ht,Yt,K,ee,me-ft)}var ri=ye?h:this,Mi=Re?ri[s]:s;return ft=ht.length,K?ht=I1(ht,K):Je&&ft>1&&ht.reverse(),be&&ee<ft&&(ht.length=ee),this&&this!==xe&&this instanceof Ye&&(Mi=rt||Or(Mi)),Mi.apply(ri,ht)}return Ye}function zu(s,u){return function(h,k){return Om(h,s,u(k),{})}}function Fa(s,u){return function(h,k){var N;if(h===t&&k===t)return u;if(h!==t&&(N=h),k!==t){if(N===t)return k;typeof h=="string"||typeof k=="string"?(h=Mn(h),k=Mn(k)):(h=yu(h),k=yu(k)),N=s(h,k)}return N}}function eo(s){return Ri(function(u){return u=Ft(u,On(je())),st(function(h){var k=this;return s(u,function(N){return $t(N,k,h)})})})}function Ua(s,u){u=u===t?" ":Mn(u);var h=u.length;if(h<2)return h?Js(u,s):u;var k=Js(u,ya(s/Yl(u)));return Jl(u)?al(ni(k),0,s).join(""):k.slice(0,s)}function o1(s,u,h,k){var N=u&C,M=Or(s);function W(){for(var K=-1,ee=arguments.length,me=-1,be=k.length,ye=fe(be+ee),Re=this&&this!==xe&&this instanceof W?M:s;++me<be;)ye[me]=k[me];for(;ee--;)ye[me++]=arguments[++K];return $t(Re,N?h:this,ye)}return W}function Bu(s){return function(u,h,k){return k&&typeof k!="number"&&wn(u,h,k)&&(h=k=t),u=Oi(u),h===t?(h=u,u=0):h=Oi(h),k=k===t?u<h?1:-1:Oi(k),Jm(u,h,k,s)}}function za(s){return function(u,h){return typeof u=="string"&&typeof h=="string"||(u=Zn(u),h=Zn(h)),s(u,h)}}function Hu(s,u,h,k,N,M,W,K,ee,me){var be=u&A,ye=be?W:t,Re=be?t:W,We=be?M:t,Je=be?t:M;u|=be?V:E,u&=~(be?E:V),u&P||(u&=~(C|y));var rt=[s,u,N,We,ye,Je,Re,K,ee,me],Ye=h.apply(t,rt);return oo(s)&&xu(Ye,rt),Ye.placeholder=k,ef(Ye,s,u)}function to(s){var u=xt[s];return function(h,k){if(h=Zn(h),k=k==null?0:gn(lt(k),292),k&&eu(h)){var N=(St(h)+"e").split("e"),M=u(N[0]+"e"+(+N[1]+k));return N=(St(M)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(h)}}var u1=Xl&&1/ga(new Xl([,-0]))[1]==X?function(s){return new Xl(s)}:yo;function Wu(s){return function(u){var h=_n(u);return h==bt?Es(u):h==Zt?Np(u):bp(u,s(u))}}function Ei(s,u,h,k,N,M,W,K){var ee=u&y;if(!ee&&typeof s!="function")throw new Kn(a);var me=k?k.length:0;if(me||(u&=~(V|E),k=N=t),W=W===t?W:en(lt(W),0),K=K===t?K:lt(K),me-=N?N.length:0,u&E){var be=k,ye=N;k=N=t}var Re=ee?t:lo(s),We=[s,u,h,k,N,be,ye,M,W,K];if(Re&&y1(We,Re),s=We[0],u=We[1],h=We[2],k=We[3],N=We[4],K=We[9]=We[9]===t?ee?0:s.length:en(We[9]-me,0),!K&&u&(A|T)&&(u&=~(A|T)),!u||u==C)var Je=a1(s,u,h);else u==A||u==T?Je=s1(s,u,K):(u==V||u==(C|V))&&!N.length?Je=o1(s,u,h,k):Je=Ma.apply(t,We);var rt=Re?Su:xu;return ef(rt(Je,We),s,u)}function qu(s,u,h,k){return s===t||li(s,Zl[h])&&!yt.call(k,h)?u:s}function Gu(s,u,h,k,N,M){return Bt(s)&&Bt(u)&&(M.set(u,s),Ra(s,u,t,Gu,M),M.delete(u)),s}function f1(s){return Ur(s)?t:s}function Ku(s,u,h,k,N,M){var W=h&m,K=s.length,ee=u.length;if(K!=ee&&!(W&&ee>K))return!1;var me=M.get(s),be=M.get(u);if(me&&be)return me==u&&be==s;var ye=-1,Re=!0,We=h&v?new Nl:t;for(M.set(s,u),M.set(u,s);++ye<K;){var Je=s[ye],rt=u[ye];if(k)var Ye=W?k(rt,Je,ye,u,s,M):k(Je,rt,ye,s,u,M);if(Ye!==t){if(Ye)continue;Re=!1;break}if(We){if(!Ps(u,function(ft,ht){if(!yr(We,ht)&&(Je===ft||N(Je,ft,h,k,M)))return We.push(ht)})){Re=!1;break}}else if(!(Je===rt||N(Je,rt,h,k,M))){Re=!1;break}}return M.delete(s),M.delete(u),Re}function c1(s,u,h,k,N,M,W){switch(h){case Gt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case qn:return!(s.byteLength!=u.byteLength||!M(new wa(s),new wa(u)));case $e:case Fe:case Vt:return li(+s,+u);case Ke:return s.name==u.name&&s.message==u.message;case gt:case Rn:return s==u+"";case bt:var K=Es;case Zt:var ee=k&m;if(K||(K=ga),s.size!=u.size&&!ee)return!1;var me=W.get(s);if(me)return me==u;k|=v,W.set(s,u);var be=Ku(K(s),K(u),k,N,M,W);return W.delete(s),be;case ei:if(Lr)return Lr.call(s)==Lr.call(u)}return!1}function d1(s,u,h,k,N,M){var W=h&m,K=no(s),ee=K.length,me=no(u),be=me.length;if(ee!=be&&!W)return!1;for(var ye=ee;ye--;){var Re=K[ye];if(!(W?Re in u:yt.call(u,Re)))return!1}var We=M.get(s),Je=M.get(u);if(We&&Je)return We==u&&Je==s;var rt=!0;M.set(s,u),M.set(u,s);for(var Ye=W;++ye<ee;){Re=K[ye];var ft=s[Re],ht=u[Re];if(k)var Un=W?k(ht,ft,Re,u,s,M):k(ft,ht,Re,s,u,M);if(!(Un===t?ft===ht||N(ft,ht,h,k,M):Un)){rt=!1;break}Ye||(Ye=Re=="constructor")}if(rt&&!Ye){var kn=s.constructor,zn=u.constructor;kn!=zn&&"constructor"in s&&"constructor"in u&&!(typeof kn=="function"&&kn instanceof kn&&typeof zn=="function"&&zn instanceof zn)&&(rt=!1)}return M.delete(s),M.delete(u),rt}function Ri(s){return fo(Xu(s,t,sf),s+"")}function no(s){return cu(s,rn,ao)}function io(s){return cu(s,Tn,ju)}var lo=Na?function(s){return Na.get(s)}:yo;function Ba(s){for(var u=s.name+"",h=$l[u],k=yt.call($l,u)?h.length:0;k--;){var N=h[k],M=N.func;if(M==null||M==s)return N.name}return u}function nr(s){var u=yt.call(O,"placeholder")?O:s;return u.placeholder}function je(){var s=O.iteratee||So;return s=s===So?gu:s,arguments.length?s(arguments[0],arguments[1]):s}function Ha(s,u){var h=s.__data__;return w1(u)?h[typeof u=="string"?"string":"hash"]:h.map}function ro(s){for(var u=rn(s),h=u.length;h--;){var k=u[h],N=s[k];u[h]=[k,N,Qu(N)]}return u}function Ll(s,u){var h=Cp(s,u);return hu(h)?h:t}function h1(s){var u=yt.call(s,yl),h=s[yl];try{s[yl]=t;var k=!0}catch{}var N=ba.call(s);return k&&(u?s[yl]=h:delete s[yl]),N}var ao=Ds?function(s){return s==null?[]:(s=Lt(s),xi(Ds(s),function(u){return $o.call(s,u)}))}:Po,ju=Ds?function(s){for(var u=[];s;)el(u,ao(s)),s=ka(s);return u}:Po,_n=vn;(Vs&&_n(new Vs(new ArrayBuffer(1)))!=Gt||Nr&&_n(new Nr)!=bt||Os&&_n(Os.resolve())!=mn||Xl&&_n(new Xl)!=Zt||Ir&&_n(new Ir)!=nn)&&(_n=function(s){var u=vn(s),h=u==Ut?s.constructor:t,k=h?Al(h):"";if(k)switch(k){case Qp:return Gt;case Zp:return bt;case Xp:return mn;case $p:return Zt;case xp:return nn}return u});function g1(s,u,h){for(var k=-1,N=h.length;++k<N;){var M=h[k],W=M.size;switch(M.type){case"drop":s+=W;break;case"dropRight":u-=W;break;case"take":u=gn(u,s+W);break;case"takeRight":s=en(s,u-W);break}}return{start:s,end:u}}function _1(s){var u=s.match(Dn);return u?u[1].split(Ml):[]}function Ju(s,u,h){u=rl(u,s);for(var k=-1,N=u.length,M=!1;++k<N;){var W=di(u[k]);if(!(M=s!=null&&h(s,W)))break;s=s[W]}return M||++k!=N?M:(N=s==null?0:s.length,!!N&&Ya(N)&&Di(W,N)&&(nt(s)||El(s)))}function p1(s){var u=s.length,h=new s.constructor(u);return u&&typeof s[0]=="string"&&yt.call(s,"index")&&(h.index=s.index,h.input=s.input),h}function Yu(s){return typeof s.constructor=="function"&&!Mr(s)?xl(ka(s)):{}}function m1(s,u,h){var k=s.constructor;switch(u){case qn:return xs(s);case $e:case Fe:return new k(+s);case Gt:return e1(s,h);case Cn:case vi:case wi:case fn:case ki:case Si:case Ci:case yi:case Pi:return Au(s,h);case bt:return new k;case Vt:case Rn:return new k(s);case gt:return t1(s);case Zt:return new k;case ei:return n1(s)}}function b1(s,u){var h=u.length;if(!h)return s;var k=h-1;return u[k]=(h>1?"& ":"")+u[k],u=u.join(h>2?", ":" "),s.replace(Gn,`{
|
|
33
|
+
*/ss.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",g=500,d="__lodash_placeholder__",_=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,A=8,T=16,V=32,E=64,U=128,F=256,D=512,Z=30,j="...",Q=800,de=16,te=1,G=2,Y=3,X=1/0,pe=9007199254740991,ne=17976931348623157e292,oe=0/0,ve=4294967295,re=ve-1,Ee=ve>>>1,He=[["ary",U],["bind",C],["bindKey",y],["curry",A],["curryRight",T],["flip",D],["partial",V],["partialRight",E],["rearg",F]],q="[object Arguments]",se="[object Array]",Pe="[object AsyncFunction]",$e="[object Boolean]",Fe="[object Date]",_e="[object DOMException]",Ke="[object Error]",at="[object Function]",qt="[object GeneratorFunction]",bt="[object Map]",Vt="[object Number]",Wn="[object Null]",Ut="[object Object]",mn="[object Promise]",Bi="[object Proxy]",gt="[object RegExp]",Zt="[object Set]",Rn="[object String]",ei="[object Symbol]",Hi="[object Undefined]",nn="[object WeakMap]",bn="[object WeakSet]",qn="[object ArrayBuffer]",Gt="[object DataView]",Cn="[object Float32Array]",vi="[object Float64Array]",wi="[object Int8Array]",fn="[object Int16Array]",ki="[object Int32Array]",Si="[object Uint8Array]",Ci="[object Uint8ClampedArray]",yi="[object Uint16Array]",Pi="[object Uint32Array]",gl=/\b__p \+= '';/g,_l=/\b(__p \+=) '' \+/g,pl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ni=/&(?:amp|lt|gt|quot|#39);/g,Wi=/[&<>"']/g,qi=RegExp(Ni.source),oi=RegExp(Wi.source),ml=/<%-([\s\S]+?)%>/g,bl=/<%([\s\S]+?)%>/g,Gi=/<%=([\s\S]+?)%>/g,$=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ne=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ut=/[\\^$.*+?()[\]{}|]/g,Ct=RegExp(ut.source),jt=/^\s+/,cn=/\s/,Gn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Dn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ol=/,? & /,Fl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ul=/[()=,{}\[\]\/\s]/,gr=/\\(\\)?/g,yn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ki=/\w*$/,vl=/^[-+]0x[0-9a-f]+$/i,zl=/^0b[01]+$/i,_r=/^\[object .+?Constructor\]$/,ji=/^0o[0-7]+$/i,wl=/^(?:0|[1-9]\d*)$/,kl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ui=/($^)/,Bl=/['\n\r\u2028\u2029\\]/g,Ii="\\ud800-\\udfff",pr="\\u0300-\\u036f",J="\\ufe20-\\ufe2f",Tt="\\u20d0-\\u20ff",dn=pr+J+Tt,ti="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",Ji="\\xac\\xb1\\xd7\\xf7",Xt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Hl="\\u2000-\\u206f",Qr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zr="A-Z\\xc0-\\xd6\\xd8-\\xde",Yi="\\ufe0e\\ufe0f",Xr=Ji+Xt+Hl+Qr,br="['’]",cs="["+Ii+"]",$r="["+Xr+"]",Qi="["+dn+"]",xr="\\d+",ds="["+ti+"]",ea="["+mr+"]",ta="[^"+Ii+Xr+xr+ti+mr+Zr+"]",vr="\\ud83c[\\udffb-\\udfff]",na="(?:"+Qi+"|"+vr+")",ia="[^"+Ii+"]",Wl="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+Zr+"]",la="\\u200d",ra="(?:"+ea+"|"+ta+")",hs="(?:"+Zi+"|"+ta+")",aa="(?:"+br+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+br+"(?:D|LL|M|RE|S|T|VE))?",oa=na+"?",ua="["+Yi+"]?",gs="(?:"+la+"(?:"+[ia,Wl,wr].join("|")+")"+ua+oa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+gs,ms="(?:"+[ds,Wl,wr].join("|")+")"+fa,bs="(?:"+[ia+Qi+"?",Qi,Wl,wr,cs].join("|")+")",vs=RegExp(br,"g"),ws=RegExp(Qi,"g"),kr=RegExp(vr+"(?="+vr+")|"+bs+fa,"g"),B=RegExp([Zi+"?"+ea+"+"+aa+"(?="+[$r,Zi,"$"].join("|")+")",hs+"+"+sa+"(?="+[$r,Zi+ra,"$"].join("|")+")",Zi+"?"+ra+"+"+aa,Zi+"+"+sa,ps,_s,xr,ms].join("|"),"g"),ce=RegExp("["+la+Ii+dn+Yi+"]"),Re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,We=["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"],Ve=-1,he={};he[Cn]=he[vi]=he[wi]=he[fn]=he[ki]=he[Si]=he[Ci]=he[yi]=he[Pi]=!0,he[q]=he[se]=he[qn]=he[$e]=he[Gt]=he[Fe]=he[Ke]=he[at]=he[bt]=he[Vt]=he[Ut]=he[gt]=he[Zt]=he[Rn]=he[nn]=!1;var Ie={};Ie[q]=Ie[se]=Ie[qn]=Ie[Gt]=Ie[$e]=Ie[Fe]=Ie[Cn]=Ie[vi]=Ie[wi]=Ie[fn]=Ie[ki]=Ie[bt]=Ie[Vt]=Ie[Ut]=Ie[gt]=Ie[Zt]=Ie[Rn]=Ie[ei]=Ie[Si]=Ie[Ci]=Ie[yi]=Ie[Pi]=!0,Ie[Ke]=Ie[at]=Ie[nn]=!1;var vt={À:"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"},Mt={"&":"&","<":"<",">":">",'"':""","'":"'"},Sr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cr=parseFloat,$i=parseInt,ql=typeof Br=="object"&&Br&&Br.Object===Object&&Br,Ge=typeof self=="object"&&self&&self.Object===Object&&self,xe=ql||Ge||Function("return this")(),Pt=e&&!e.nodeType&&e,Ot=Pt&&!0&&i&&!i.nodeType&&i,Pn=Ot&&Ot.exports===Pt,Vn=Pn&&ql.process,ln=function(){try{var x=Ot&&Ot.require&&Ot.require("util").types;return x||Vn&&Vn.binding&&Vn.binding("util")}catch{}}(),Gl=ln&&ln.isArrayBuffer,Sl=ln&&ln.isDate,ks=ln&&ln.isMap,Kl=ln&&ln.isRegExp,ca=ln&&ln.isSet,Cl=ln&&ln.isTypedArray;function $t(x,ge,fe){switch(fe.length){case 0:return x.call(ge);case 1:return x.call(ge,fe[0]);case 2:return x.call(ge,fe[0],fe[1]);case 3:return x.call(ge,fe[0],fe[1],fe[2])}return x.apply(ge,fe)}function hn(x,ge,fe,ze){for(var et=-1,kt=x==null?0:x.length;++et<kt;){var xt=x[et];ge(ze,xt,fe(xt),x)}return ze}function zt(x,ge){for(var fe=-1,ze=x==null?0:x.length;++fe<ze&&ge(x[fe],fe,x)!==!1;);return x}function Ss(x,ge){for(var fe=x==null?0:x.length;fe--&&ge(x[fe],fe,x)!==!1;);return x}function zo(x,ge){for(var fe=-1,ze=x==null?0:x.length;++fe<ze;)if(!ge(x[fe],fe,x))return!1;return!0}function xi(x,ge){for(var fe=-1,ze=x==null?0:x.length,et=0,kt=[];++fe<ze;){var xt=x[fe];ge(xt,fe,x)&&(kt[et++]=xt)}return kt}function da(x,ge){var fe=x==null?0:x.length;return!!fe&&jl(x,ge,0)>-1}function Cs(x,ge,fe){for(var ze=-1,et=x==null?0:x.length;++ze<et;)if(fe(ge,x[ze]))return!0;return!1}function Ft(x,ge){for(var fe=-1,ze=x==null?0:x.length,et=Array(ze);++fe<ze;)et[fe]=ge(x[fe],fe,x);return et}function el(x,ge){for(var fe=-1,ze=ge.length,et=x.length;++fe<ze;)x[et+fe]=ge[fe];return x}function ys(x,ge,fe,ze){var et=-1,kt=x==null?0:x.length;for(ze&&kt&&(fe=x[++et]);++et<kt;)fe=ge(fe,x[et],et,x);return fe}function dp(x,ge,fe,ze){var et=x==null?0:x.length;for(ze&&et&&(fe=x[--et]);et--;)fe=ge(fe,x[et],et,x);return fe}function Ps(x,ge){for(var fe=-1,ze=x==null?0:x.length;++fe<ze;)if(ge(x[fe],fe,x))return!0;return!1}var hp=Ns("length");function gp(x){return x.split("")}function _p(x){return x.match(Fl)||[]}function Bo(x,ge,fe){var ze;return fe(x,function(et,kt,xt){if(ge(et,kt,xt))return ze=kt,!1}),ze}function ha(x,ge,fe,ze){for(var et=x.length,kt=fe+(ze?1:-1);ze?kt--:++kt<et;)if(ge(x[kt],kt,x))return kt;return-1}function jl(x,ge,fe){return ge===ge?Ip(x,ge,fe):ha(x,Ho,fe)}function pp(x,ge,fe,ze){for(var et=fe-1,kt=x.length;++et<kt;)if(ze(x[et],ge))return et;return-1}function Ho(x){return x!==x}function Wo(x,ge){var fe=x==null?0:x.length;return fe?Ts(x,ge)/fe:oe}function Ns(x){return function(ge){return ge==null?t:ge[x]}}function Is(x){return function(ge){return x==null?t:x[ge]}}function qo(x,ge,fe,ze,et){return et(x,function(kt,xt,Lt){fe=ze?(ze=!1,kt):ge(fe,kt,xt,Lt)}),fe}function mp(x,ge){var fe=x.length;for(x.sort(ge);fe--;)x[fe]=x[fe].value;return x}function Ts(x,ge){for(var fe,ze=-1,et=x.length;++ze<et;){var kt=ge(x[ze]);kt!==t&&(fe=fe===t?kt:fe+kt)}return fe}function Ls(x,ge){for(var fe=-1,ze=Array(x);++fe<x;)ze[fe]=ge(fe);return ze}function bp(x,ge){return Ft(ge,function(fe){return[fe,x[fe]]})}function Go(x){return x&&x.slice(0,Yo(x)+1).replace(jt,"")}function Mn(x){return function(ge){return x(ge)}}function As(x,ge){return Ft(ge,function(fe){return x[fe]})}function yr(x,ge){return x.has(ge)}function Ko(x,ge){for(var fe=-1,ze=x.length;++fe<ze&&jl(ge,x[fe],0)>-1;);return fe}function jo(x,ge){for(var fe=x.length;fe--&&jl(ge,x[fe],0)>-1;);return fe}function vp(x,ge){for(var fe=x.length,ze=0;fe--;)x[fe]===ge&&++ze;return ze}var wp=Is(vt),kp=Is(Mt);function Sp(x){return"\\"+Xi[x]}function Cp(x,ge){return x==null?t:x[ge]}function Jl(x){return ce.test(x)}function yp(x){return Re.test(x)}function Pp(x){for(var ge,fe=[];!(ge=x.next()).done;)fe.push(ge.value);return fe}function Es(x){var ge=-1,fe=Array(x.size);return x.forEach(function(ze,et){fe[++ge]=[et,ze]}),fe}function Jo(x,ge){return function(fe){return x(ge(fe))}}function tl(x,ge){for(var fe=-1,ze=x.length,et=0,kt=[];++fe<ze;){var xt=x[fe];(xt===ge||xt===d)&&(x[fe]=d,kt[et++]=fe)}return kt}function ga(x){var ge=-1,fe=Array(x.size);return x.forEach(function(ze){fe[++ge]=ze}),fe}function Np(x){var ge=-1,fe=Array(x.size);return x.forEach(function(ze){fe[++ge]=[ze,ze]}),fe}function Ip(x,ge,fe){for(var ze=fe-1,et=x.length;++ze<et;)if(x[ze]===ge)return ze;return-1}function Tp(x,ge,fe){for(var ze=fe+1;ze--;)if(x[ze]===ge)return ze;return ze}function Yl(x){return Jl(x)?Ap(x):hp(x)}function ni(x){return Jl(x)?Ep(x):gp(x)}function Yo(x){for(var ge=x.length;ge--&&cn.test(x.charAt(ge)););return ge}var Lp=Is(Sr);function Ap(x){for(var ge=kr.lastIndex=0;kr.test(x);)++ge;return ge}function Ep(x){return x.match(kr)||[]}function Rp(x){return x.match(B)||[]}var Dp=function x(ge){ge=ge==null?xe:Ql.defaults(xe.Object(),ge,Ql.pick(xe,We));var fe=ge.Array,ze=ge.Date,et=ge.Error,kt=ge.Function,xt=ge.Math,Lt=ge.Object,Rs=ge.RegExp,Vp=ge.String,Kn=ge.TypeError,_a=fe.prototype,Mp=kt.prototype,Zl=Lt.prototype,pa=ge["__core-js_shared__"],ma=Mp.toString,yt=Zl.hasOwnProperty,Op=0,Qo=function(){var s=/[^.]+$/.exec(pa&&pa.keys&&pa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ba=Zl.toString,Fp=ma.call(Lt),Up=xe._,zp=Rs("^"+ma.call(yt).replace(ut,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),va=Pn?ge.Buffer:t,nl=ge.Symbol,wa=ge.Uint8Array,Zo=va?va.allocUnsafe:t,ka=Jo(Lt.getPrototypeOf,Lt),Xo=Lt.create,$o=Zl.propertyIsEnumerable,Sa=_a.splice,xo=nl?nl.isConcatSpreadable:t,Pr=nl?nl.iterator:t,yl=nl?nl.toStringTag:t,Ca=function(){try{var s=Ll(Lt,"defineProperty");return s({},"",{}),s}catch{}}(),Bp=ge.clearTimeout!==xe.clearTimeout&&ge.clearTimeout,Hp=ze&&ze.now!==xe.Date.now&&ze.now,Wp=ge.setTimeout!==xe.setTimeout&&ge.setTimeout,ya=xt.ceil,Pa=xt.floor,Ds=Lt.getOwnPropertySymbols,qp=va?va.isBuffer:t,eu=ge.isFinite,Gp=_a.join,Kp=Jo(Lt.keys,Lt),en=xt.max,gn=xt.min,jp=ze.now,Jp=ge.parseInt,tu=xt.random,Yp=_a.reverse,Vs=Ll(ge,"DataView"),Nr=Ll(ge,"Map"),Ms=Ll(ge,"Promise"),Xl=Ll(ge,"Set"),Ir=Ll(ge,"WeakMap"),Tr=Ll(Lt,"create"),Na=Ir&&new Ir,$l={},Qp=Al(Vs),Zp=Al(Nr),Xp=Al(Ms),$p=Al(Xl),xp=Al(Ir),Ia=nl?nl.prototype:t,Lr=Ia?Ia.valueOf:t,nu=Ia?Ia.toString:t;function M(s){if(Kt(s)&&!nt(s)&&!(s instanceof dt)){if(s instanceof jn)return s;if(yt.call(s,"__wrapped__"))return lf(s)}return new jn(s)}var xl=function(){function s(){}return function(u){if(!Bt(u))return{};if(Xo)return Xo(u);s.prototype=u;var h=new s;return s.prototype=t,h}}();function Ta(){}function jn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:ml,evaluate:bl,interpolate:Gi,variable:"",imports:{_:M}},M.prototype=Ta.prototype,M.prototype.constructor=M,jn.prototype=xl(Ta.prototype),jn.prototype.constructor=jn;function dt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function em(){var s=new dt(this.__wrapped__);return s.__actions__=Nn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Nn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Nn(this.__views__),s}function tm(){if(this.__filtered__){var s=new dt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function nm(){var s=this.__wrapped__.value(),u=this.__dir__,h=nt(s),k=u<0,N=h?s.length:0,O=g1(0,N,this.__views__),W=O.start,K=O.end,ee=K-W,me=k?K:W-1,be=this.__iteratees__,ye=be.length,De=0,qe=gn(ee,this.__takeCount__);if(!h||!k&&N==ee&&qe==ee)return Nu(s,this.__actions__);var Je=[];e:for(;ee--&&De<qe;){me+=u;for(var rt=-1,Ye=s[me];++rt<ye;){var ft=be[rt],ht=ft.iteratee,Un=ft.type,kn=ht(Ye);if(Un==G)Ye=kn;else if(!kn){if(Un==te)continue e;break e}}Je[De++]=Ye}return Je}dt.prototype=xl(Ta.prototype),dt.prototype.constructor=dt;function Pl(s){var u=-1,h=s==null?0:s.length;for(this.clear();++u<h;){var k=s[u];this.set(k[0],k[1])}}function im(){this.__data__=Tr?Tr(null):{},this.size=0}function lm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function rm(s){var u=this.__data__;if(Tr){var h=u[s];return h===c?t:h}return yt.call(u,s)?u[s]:t}function am(s){var u=this.__data__;return Tr?u[s]!==t:yt.call(u,s)}function sm(s,u){var h=this.__data__;return this.size+=this.has(s)?0:1,h[s]=Tr&&u===t?c:u,this}Pl.prototype.clear=im,Pl.prototype.delete=lm,Pl.prototype.get=rm,Pl.prototype.has=am,Pl.prototype.set=sm;function Ti(s){var u=-1,h=s==null?0:s.length;for(this.clear();++u<h;){var k=s[u];this.set(k[0],k[1])}}function om(){this.__data__=[],this.size=0}function um(s){var u=this.__data__,h=La(u,s);if(h<0)return!1;var k=u.length-1;return h==k?u.pop():Sa.call(u,h,1),--this.size,!0}function fm(s){var u=this.__data__,h=La(u,s);return h<0?t:u[h][1]}function cm(s){return La(this.__data__,s)>-1}function dm(s,u){var h=this.__data__,k=La(h,s);return k<0?(++this.size,h.push([s,u])):h[k][1]=u,this}Ti.prototype.clear=om,Ti.prototype.delete=um,Ti.prototype.get=fm,Ti.prototype.has=cm,Ti.prototype.set=dm;function Li(s){var u=-1,h=s==null?0:s.length;for(this.clear();++u<h;){var k=s[u];this.set(k[0],k[1])}}function hm(){this.size=0,this.__data__={hash:new Pl,map:new(Nr||Ti),string:new Pl}}function gm(s){var u=Ha(this,s).delete(s);return this.size-=u?1:0,u}function _m(s){return Ha(this,s).get(s)}function pm(s){return Ha(this,s).has(s)}function mm(s,u){var h=Ha(this,s),k=h.size;return h.set(s,u),this.size+=h.size==k?0:1,this}Li.prototype.clear=hm,Li.prototype.delete=gm,Li.prototype.get=_m,Li.prototype.has=pm,Li.prototype.set=mm;function Nl(s){var u=-1,h=s==null?0:s.length;for(this.__data__=new Li;++u<h;)this.add(s[u])}function bm(s){return this.__data__.set(s,c),this}function vm(s){return this.__data__.has(s)}Nl.prototype.add=Nl.prototype.push=bm,Nl.prototype.has=vm;function ii(s){var u=this.__data__=new Ti(s);this.size=u.size}function wm(){this.__data__=new Ti,this.size=0}function km(s){var u=this.__data__,h=u.delete(s);return this.size=u.size,h}function Sm(s){return this.__data__.get(s)}function Cm(s){return this.__data__.has(s)}function ym(s,u){var h=this.__data__;if(h instanceof Ti){var k=h.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++h.size,this;h=this.__data__=new Li(k)}return h.set(s,u),this.size=h.size,this}ii.prototype.clear=wm,ii.prototype.delete=km,ii.prototype.get=Sm,ii.prototype.has=Cm,ii.prototype.set=ym;function iu(s,u){var h=nt(s),k=!h&&El(s),N=!h&&!k&&sl(s),O=!h&&!k&&!N&&ir(s),W=h||k||N||O,K=W?Ls(s.length,Vp):[],ee=K.length;for(var me in s)(u||yt.call(s,me))&&!(W&&(me=="length"||N&&(me=="offset"||me=="parent")||O&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||Di(me,ee)))&&K.push(me);return K}function lu(s){var u=s.length;return u?s[js(0,u-1)]:t}function Pm(s,u){return Wa(Nn(s),Il(u,0,s.length))}function Nm(s){return Wa(Nn(s))}function Os(s,u,h){(h!==t&&!li(s[u],h)||h===t&&!(u in s))&&Ai(s,u,h)}function Ar(s,u,h){var k=s[u];(!(yt.call(s,u)&&li(k,h))||h===t&&!(u in s))&&Ai(s,u,h)}function La(s,u){for(var h=s.length;h--;)if(li(s[h][0],u))return h;return-1}function Im(s,u,h,k){return il(s,function(N,O,W){u(k,N,h(N),W)}),k}function ru(s,u){return s&&ci(u,rn(u),s)}function Tm(s,u){return s&&ci(u,Tn(u),s)}function Ai(s,u,h){u=="__proto__"&&Ca?Ca(s,u,{configurable:!0,enumerable:!0,value:h,writable:!0}):s[u]=h}function Fs(s,u){for(var h=-1,k=u.length,N=fe(k),O=s==null;++h<k;)N[h]=O?t:bo(s,u[h]);return N}function Il(s,u,h){return s===s&&(h!==t&&(s=s<=h?s:h),u!==t&&(s=s>=u?s:u)),s}function Jn(s,u,h,k,N,O){var W,K=u&_,ee=u&p,me=u&b;if(h&&(W=N?h(s,k,N,O):h(s)),W!==t)return W;if(!Bt(s))return s;var be=nt(s);if(be){if(W=p1(s),!K)return Nn(s,W)}else{var ye=_n(s),De=ye==at||ye==qt;if(sl(s))return Lu(s,K);if(ye==Ut||ye==q||De&&!N){if(W=ee||De?{}:Yu(s),!K)return ee?r1(s,Tm(W,s)):l1(s,ru(W,s))}else{if(!Ie[ye])return N?s:{};W=m1(s,ye,K)}}O||(O=new ii);var qe=O.get(s);if(qe)return qe;O.set(s,W),yf(s)?s.forEach(function(Ye){W.add(Jn(Ye,u,h,Ye,s,O))}):Sf(s)&&s.forEach(function(Ye,ft){W.set(ft,Jn(Ye,u,h,ft,s,O))});var Je=me?ee?io:no:ee?Tn:rn,rt=be?t:Je(s);return zt(rt||s,function(Ye,ft){rt&&(ft=Ye,Ye=s[ft]),Ar(W,ft,Jn(Ye,u,h,ft,s,O))}),W}function Lm(s){var u=rn(s);return function(h){return au(h,s,u)}}function au(s,u,h){var k=h.length;if(s==null)return!k;for(s=Lt(s);k--;){var N=h[k],O=u[N],W=s[N];if(W===t&&!(N in s)||!O(W))return!1}return!0}function su(s,u,h){if(typeof s!="function")throw new Kn(a);return Fr(function(){s.apply(t,h)},u)}function Er(s,u,h,k){var N=-1,O=da,W=!0,K=s.length,ee=[],me=u.length;if(!K)return ee;h&&(u=Ft(u,Mn(h))),k?(O=Cs,W=!1):u.length>=l&&(O=yr,W=!1,u=new Nl(u));e:for(;++N<K;){var be=s[N],ye=h==null?be:h(be);if(be=k||be!==0?be:0,W&&ye===ye){for(var De=me;De--;)if(u[De]===ye)continue e;ee.push(be)}else O(u,ye,k)||ee.push(be)}return ee}var il=Vu(fi),ou=Vu(zs,!0);function Am(s,u){var h=!0;return il(s,function(k,N,O){return h=!!u(k,N,O),h}),h}function Aa(s,u,h){for(var k=-1,N=s.length;++k<N;){var O=s[k],W=u(O);if(W!=null&&(K===t?W===W&&!Fn(W):h(W,K)))var K=W,ee=O}return ee}function Em(s,u,h,k){var N=s.length;for(h=lt(h),h<0&&(h=-h>N?0:N+h),k=k===t||k>N?N:lt(k),k<0&&(k+=N),k=h>k?0:Nf(k);h<k;)s[h++]=u;return s}function uu(s,u){var h=[];return il(s,function(k,N,O){u(k,N,O)&&h.push(k)}),h}function on(s,u,h,k,N){var O=-1,W=s.length;for(h||(h=v1),N||(N=[]);++O<W;){var K=s[O];u>0&&h(K)?u>1?on(K,u-1,h,k,N):el(N,K):k||(N[N.length]=K)}return N}var Us=Mu(),fu=Mu(!0);function fi(s,u){return s&&Us(s,u,rn)}function zs(s,u){return s&&fu(s,u,rn)}function Ea(s,u){return xi(u,function(h){return Vi(s[h])})}function Tl(s,u){u=rl(u,s);for(var h=0,k=u.length;s!=null&&h<k;)s=s[di(u[h++])];return h&&h==k?s:t}function cu(s,u,h){var k=u(s);return nt(s)?k:el(k,h(s))}function vn(s){return s==null?s===t?Hi:Wn:yl&&yl in Lt(s)?h1(s):N1(s)}function Bs(s,u){return s>u}function Rm(s,u){return s!=null&&yt.call(s,u)}function Dm(s,u){return s!=null&&u in Lt(s)}function Vm(s,u,h){return s>=gn(u,h)&&s<en(u,h)}function Hs(s,u,h){for(var k=h?Cs:da,N=s[0].length,O=s.length,W=O,K=fe(O),ee=1/0,me=[];W--;){var be=s[W];W&&u&&(be=Ft(be,Mn(u))),ee=gn(be.length,ee),K[W]=!h&&(u||N>=120&&be.length>=120)?new Nl(W&&be):t}be=s[0];var ye=-1,De=K[0];e:for(;++ye<N&&me.length<ee;){var qe=be[ye],Je=u?u(qe):qe;if(qe=h||qe!==0?qe:0,!(De?yr(De,Je):k(me,Je,h))){for(W=O;--W;){var rt=K[W];if(!(rt?yr(rt,Je):k(s[W],Je,h)))continue e}De&&De.push(Je),me.push(qe)}}return me}function Mm(s,u,h,k){return fi(s,function(N,O,W){u(k,h(N),O,W)}),k}function Rr(s,u,h){u=rl(u,s),s=$u(s,u);var k=s==null?s:s[di(Qn(u))];return k==null?t:$t(k,s,h)}function du(s){return Kt(s)&&vn(s)==q}function Om(s){return Kt(s)&&vn(s)==qn}function Fm(s){return Kt(s)&&vn(s)==Fe}function Dr(s,u,h,k,N){return s===u?!0:s==null||u==null||!Kt(s)&&!Kt(u)?s!==s&&u!==u:Um(s,u,h,k,Dr,N)}function Um(s,u,h,k,N,O){var W=nt(s),K=nt(u),ee=W?se:_n(s),me=K?se:_n(u);ee=ee==q?Ut:ee,me=me==q?Ut:me;var be=ee==Ut,ye=me==Ut,De=ee==me;if(De&&sl(s)){if(!sl(u))return!1;W=!0,be=!1}if(De&&!be)return O||(O=new ii),W||ir(s)?Ku(s,u,h,k,N,O):c1(s,u,ee,h,k,N,O);if(!(h&m)){var qe=be&&yt.call(s,"__wrapped__"),Je=ye&&yt.call(u,"__wrapped__");if(qe||Je){var rt=qe?s.value():s,Ye=Je?u.value():u;return O||(O=new ii),N(rt,Ye,h,k,O)}}return De?(O||(O=new ii),d1(s,u,h,k,N,O)):!1}function zm(s){return Kt(s)&&_n(s)==bt}function Ws(s,u,h,k){var N=h.length,O=N,W=!k;if(s==null)return!O;for(s=Lt(s);N--;){var K=h[N];if(W&&K[2]?K[1]!==s[K[0]]:!(K[0]in s))return!1}for(;++N<O;){K=h[N];var ee=K[0],me=s[ee],be=K[1];if(W&&K[2]){if(me===t&&!(ee in s))return!1}else{var ye=new ii;if(k)var De=k(me,be,ee,s,u,ye);if(!(De===t?Dr(be,me,m|v,k,ye):De))return!1}}return!0}function hu(s){if(!Bt(s)||k1(s))return!1;var u=Vi(s)?zp:_r;return u.test(Al(s))}function Bm(s){return Kt(s)&&vn(s)==gt}function Hm(s){return Kt(s)&&_n(s)==Zt}function Wm(s){return Kt(s)&&Ya(s.length)&&!!he[vn(s)]}function gu(s){return typeof s=="function"?s:s==null?Ln:typeof s=="object"?nt(s)?mu(s[0],s[1]):pu(s):Ff(s)}function qs(s){if(!Or(s))return Kp(s);var u=[];for(var h in Lt(s))yt.call(s,h)&&h!="constructor"&&u.push(h);return u}function qm(s){if(!Bt(s))return P1(s);var u=Or(s),h=[];for(var k in s)k=="constructor"&&(u||!yt.call(s,k))||h.push(k);return h}function Gs(s,u){return s<u}function _u(s,u){var h=-1,k=In(s)?fe(s.length):[];return il(s,function(N,O,W){k[++h]=u(N,O,W)}),k}function pu(s){var u=ro(s);return u.length==1&&u[0][2]?Zu(u[0][0],u[0][1]):function(h){return h===s||Ws(h,s,u)}}function mu(s,u){return so(s)&&Qu(u)?Zu(di(s),u):function(h){var k=bo(h,s);return k===t&&k===u?vo(h,s):Dr(u,k,m|v)}}function Ra(s,u,h,k,N){s!==u&&Us(u,function(O,W){if(N||(N=new ii),Bt(O))Gm(s,u,W,h,Ra,k,N);else{var K=k?k(uo(s,W),O,W+"",s,u,N):t;K===t&&(K=O),Os(s,W,K)}},Tn)}function Gm(s,u,h,k,N,O,W){var K=uo(s,h),ee=uo(u,h),me=W.get(ee);if(me){Os(s,h,me);return}var be=O?O(K,ee,h+"",s,u,W):t,ye=be===t;if(ye){var De=nt(ee),qe=!De&&sl(ee),Je=!De&&!qe&&ir(ee);be=ee,De||qe||Je?nt(K)?be=K:Jt(K)?be=Nn(K):qe?(ye=!1,be=Lu(ee,!0)):Je?(ye=!1,be=Au(ee,!0)):be=[]:Ur(ee)||El(ee)?(be=K,El(K)?be=If(K):(!Bt(K)||Vi(K))&&(be=Yu(ee))):ye=!1}ye&&(W.set(ee,be),N(be,ee,k,O,W),W.delete(ee)),Os(s,h,be)}function bu(s,u){var h=s.length;if(h)return u+=u<0?h:0,Di(u,h)?s[u]:t}function vu(s,u,h){u.length?u=Ft(u,function(O){return nt(O)?function(W){return Tl(W,O.length===1?O[0]:O)}:O}):u=[Ln];var k=-1;u=Ft(u,Mn(je()));var N=_u(s,function(O,W,K){var ee=Ft(u,function(me){return me(O)});return{criteria:ee,index:++k,value:O}});return mp(N,function(O,W){return i1(O,W,h)})}function Km(s,u){return wu(s,u,function(h,k){return vo(s,k)})}function wu(s,u,h){for(var k=-1,N=u.length,O={};++k<N;){var W=u[k],K=Tl(s,W);h(K,W)&&Vr(O,rl(W,s),K)}return O}function jm(s){return function(u){return Tl(u,s)}}function Ks(s,u,h,k){var N=k?pp:jl,O=-1,W=u.length,K=s;for(s===u&&(u=Nn(u)),h&&(K=Ft(s,Mn(h)));++O<W;)for(var ee=0,me=u[O],be=h?h(me):me;(ee=N(K,be,ee,k))>-1;)K!==s&&Sa.call(K,ee,1),Sa.call(s,ee,1);return s}function ku(s,u){for(var h=s?u.length:0,k=h-1;h--;){var N=u[h];if(h==k||N!==O){var O=N;Di(N)?Sa.call(s,N,1):Qs(s,N)}}return s}function js(s,u){return s+Pa(tu()*(u-s+1))}function Jm(s,u,h,k){for(var N=-1,O=en(ya((u-s)/(h||1)),0),W=fe(O);O--;)W[k?O:++N]=s,s+=h;return W}function Js(s,u){var h="";if(!s||u<1||u>pe)return h;do u%2&&(h+=s),u=Pa(u/2),u&&(s+=s);while(u);return h}function st(s,u){return fo(Xu(s,u,Ln),s+"")}function Ym(s){return lu(lr(s))}function Qm(s,u){var h=lr(s);return Wa(h,Il(u,0,h.length))}function Vr(s,u,h,k){if(!Bt(s))return s;u=rl(u,s);for(var N=-1,O=u.length,W=O-1,K=s;K!=null&&++N<O;){var ee=di(u[N]),me=h;if(ee==="__proto__"||ee==="constructor"||ee==="prototype")return s;if(N!=W){var be=K[ee];me=k?k(be,ee,K):t,me===t&&(me=Bt(be)?be:Di(u[N+1])?[]:{})}Ar(K,ee,me),K=K[ee]}return s}var Su=Na?function(s,u){return Na.set(s,u),s}:Ln,Zm=Ca?function(s,u){return Ca(s,"toString",{configurable:!0,enumerable:!1,value:ko(u),writable:!0})}:Ln;function Xm(s){return Wa(lr(s))}function Yn(s,u,h){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),h=h>N?N:h,h<0&&(h+=N),N=u>h?0:h-u>>>0,u>>>=0;for(var O=fe(N);++k<N;)O[k]=s[k+u];return O}function $m(s,u){var h;return il(s,function(k,N,O){return h=u(k,N,O),!h}),!!h}function Da(s,u,h){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Ee){for(;k<N;){var O=k+N>>>1,W=s[O];W!==null&&!Fn(W)&&(h?W<=u:W<u)?k=O+1:N=O}return N}return Ys(s,u,Ln,h)}function Ys(s,u,h,k){var N=0,O=s==null?0:s.length;if(O===0)return 0;u=h(u);for(var W=u!==u,K=u===null,ee=Fn(u),me=u===t;N<O;){var be=Pa((N+O)/2),ye=h(s[be]),De=ye!==t,qe=ye===null,Je=ye===ye,rt=Fn(ye);if(W)var Ye=k||Je;else me?Ye=Je&&(k||De):K?Ye=Je&&De&&(k||!qe):ee?Ye=Je&&De&&!qe&&(k||!rt):qe||rt?Ye=!1:Ye=k?ye<=u:ye<u;Ye?N=be+1:O=be}return gn(O,re)}function Cu(s,u){for(var h=-1,k=s.length,N=0,O=[];++h<k;){var W=s[h],K=u?u(W):W;if(!h||!li(K,ee)){var ee=K;O[N++]=W===0?0:W}}return O}function yu(s){return typeof s=="number"?s:Fn(s)?oe:+s}function On(s){if(typeof s=="string")return s;if(nt(s))return Ft(s,On)+"";if(Fn(s))return nu?nu.call(s):"";var u=s+"";return u=="0"&&1/s==-X?"-0":u}function ll(s,u,h){var k=-1,N=da,O=s.length,W=!0,K=[],ee=K;if(h)W=!1,N=Cs;else if(O>=l){var me=u?null:u1(s);if(me)return ga(me);W=!1,N=yr,ee=new Nl}else ee=u?[]:K;e:for(;++k<O;){var be=s[k],ye=u?u(be):be;if(be=h||be!==0?be:0,W&&ye===ye){for(var De=ee.length;De--;)if(ee[De]===ye)continue e;u&&ee.push(ye),K.push(be)}else N(ee,ye,h)||(ee!==K&&ee.push(ye),K.push(be))}return K}function Qs(s,u){return u=rl(u,s),s=$u(s,u),s==null||delete s[di(Qn(u))]}function Pu(s,u,h,k){return Vr(s,u,h(Tl(s,u)),k)}function Va(s,u,h,k){for(var N=s.length,O=k?N:-1;(k?O--:++O<N)&&u(s[O],O,s););return h?Yn(s,k?0:O,k?O+1:N):Yn(s,k?O+1:0,k?N:O)}function Nu(s,u){var h=s;return h instanceof dt&&(h=h.value()),ys(u,function(k,N){return N.func.apply(N.thisArg,el([k],N.args))},h)}function Zs(s,u,h){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var N=-1,O=fe(k);++N<k;)for(var W=s[N],K=-1;++K<k;)K!=N&&(O[N]=Er(O[N]||W,s[K],u,h));return ll(on(O,1),u,h)}function Iu(s,u,h){for(var k=-1,N=s.length,O=u.length,W={};++k<N;){var K=k<O?u[k]:t;h(W,s[k],K)}return W}function Xs(s){return Jt(s)?s:[]}function $s(s){return typeof s=="function"?s:Ln}function rl(s,u){return nt(s)?s:so(s,u)?[s]:nf(St(s))}var xm=st;function al(s,u,h){var k=s.length;return h=h===t?k:h,!u&&h>=k?s:Yn(s,u,h)}var Tu=Bp||function(s){return xe.clearTimeout(s)};function Lu(s,u){if(u)return s.slice();var h=s.length,k=Zo?Zo(h):new s.constructor(h);return s.copy(k),k}function xs(s){var u=new s.constructor(s.byteLength);return new wa(u).set(new wa(s)),u}function e1(s,u){var h=u?xs(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.byteLength)}function t1(s){var u=new s.constructor(s.source,Ki.exec(s));return u.lastIndex=s.lastIndex,u}function n1(s){return Lr?Lt(Lr.call(s)):{}}function Au(s,u){var h=u?xs(s.buffer):s.buffer;return new s.constructor(h,s.byteOffset,s.length)}function Eu(s,u){if(s!==u){var h=s!==t,k=s===null,N=s===s,O=Fn(s),W=u!==t,K=u===null,ee=u===u,me=Fn(u);if(!K&&!me&&!O&&s>u||O&&W&&ee&&!K&&!me||k&&W&&ee||!h&&ee||!N)return 1;if(!k&&!O&&!me&&s<u||me&&h&&N&&!k&&!O||K&&h&&N||!W&&N||!ee)return-1}return 0}function i1(s,u,h){for(var k=-1,N=s.criteria,O=u.criteria,W=N.length,K=h.length;++k<W;){var ee=Eu(N[k],O[k]);if(ee){if(k>=K)return ee;var me=h[k];return ee*(me=="desc"?-1:1)}}return s.index-u.index}function Ru(s,u,h,k){for(var N=-1,O=s.length,W=h.length,K=-1,ee=u.length,me=en(O-W,0),be=fe(ee+me),ye=!k;++K<ee;)be[K]=u[K];for(;++N<W;)(ye||N<O)&&(be[h[N]]=s[N]);for(;me--;)be[K++]=s[N++];return be}function Du(s,u,h,k){for(var N=-1,O=s.length,W=-1,K=h.length,ee=-1,me=u.length,be=en(O-K,0),ye=fe(be+me),De=!k;++N<be;)ye[N]=s[N];for(var qe=N;++ee<me;)ye[qe+ee]=u[ee];for(;++W<K;)(De||N<O)&&(ye[qe+h[W]]=s[N++]);return ye}function Nn(s,u){var h=-1,k=s.length;for(u||(u=fe(k));++h<k;)u[h]=s[h];return u}function ci(s,u,h,k){var N=!h;h||(h={});for(var O=-1,W=u.length;++O<W;){var K=u[O],ee=k?k(h[K],s[K],K,h,s):t;ee===t&&(ee=s[K]),N?Ai(h,K,ee):Ar(h,K,ee)}return h}function l1(s,u){return ci(s,ao(s),u)}function r1(s,u){return ci(s,ju(s),u)}function Ma(s,u){return function(h,k){var N=nt(h)?hn:Im,O=u?u():{};return N(h,s,je(k,2),O)}}function er(s){return st(function(u,h){var k=-1,N=h.length,O=N>1?h[N-1]:t,W=N>2?h[2]:t;for(O=s.length>3&&typeof O=="function"?(N--,O):t,W&&wn(h[0],h[1],W)&&(O=N<3?t:O,N=1),u=Lt(u);++k<N;){var K=h[k];K&&s(u,K,k,O)}return u})}function Vu(s,u){return function(h,k){if(h==null)return h;if(!In(h))return s(h,k);for(var N=h.length,O=u?N:-1,W=Lt(h);(u?O--:++O<N)&&k(W[O],O,W)!==!1;);return h}}function Mu(s){return function(u,h,k){for(var N=-1,O=Lt(u),W=k(u),K=W.length;K--;){var ee=W[s?K:++N];if(h(O[ee],ee,O)===!1)break}return u}}function a1(s,u,h){var k=u&C,N=Mr(s);function O(){var W=this&&this!==xe&&this instanceof O?N:s;return W.apply(k?h:this,arguments)}return O}function Ou(s){return function(u){u=St(u);var h=Jl(u)?ni(u):t,k=h?h[0]:u.charAt(0),N=h?al(h,1).join(""):u.slice(1);return k[s]()+N}}function tr(s){return function(u){return ys(Mf(Vf(u).replace(vs,"")),s,"")}}function Mr(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 h=xl(s.prototype),k=s.apply(h,u);return Bt(k)?k:h}}function s1(s,u,h){var k=Mr(s);function N(){for(var O=arguments.length,W=fe(O),K=O,ee=nr(N);K--;)W[K]=arguments[K];var me=O<3&&W[0]!==ee&&W[O-1]!==ee?[]:tl(W,ee);if(O-=me.length,O<h)return Hu(s,u,Oa,N.placeholder,t,W,me,t,t,h-O);var be=this&&this!==xe&&this instanceof N?k:s;return $t(be,this,W)}return N}function Fu(s){return function(u,h,k){var N=Lt(u);if(!In(u)){var O=je(h,3);u=rn(u),h=function(K){return O(N[K],K,N)}}var W=s(u,h,k);return W>-1?N[O?u[W]:W]:t}}function Uu(s){return Ri(function(u){var h=u.length,k=h,N=jn.prototype.thru;for(s&&u.reverse();k--;){var O=u[k];if(typeof O!="function")throw new Kn(a);if(N&&!W&&Ba(O)=="wrapper")var W=new jn([],!0)}for(k=W?k:h;++k<h;){O=u[k];var K=Ba(O),ee=K=="wrapper"?lo(O):t;ee&&oo(ee[0])&&ee[1]==(U|A|V|F)&&!ee[4].length&&ee[9]==1?W=W[Ba(ee[0])].apply(W,ee[3]):W=O.length==1&&oo(O)?W[K]():W.thru(O)}return function(){var me=arguments,be=me[0];if(W&&me.length==1&&nt(be))return W.plant(be).value();for(var ye=0,De=h?u[ye].apply(this,me):be;++ye<h;)De=u[ye].call(this,De);return De}})}function Oa(s,u,h,k,N,O,W,K,ee,me){var be=u&U,ye=u&C,De=u&y,qe=u&(A|T),Je=u&D,rt=De?t:Mr(s);function Ye(){for(var ft=arguments.length,ht=fe(ft),Un=ft;Un--;)ht[Un]=arguments[Un];if(qe)var kn=nr(Ye),zn=vp(ht,kn);if(k&&(ht=Ru(ht,k,N,qe)),O&&(ht=Du(ht,O,W,qe)),ft-=zn,qe&&ft<me){var Yt=tl(ht,kn);return Hu(s,u,Oa,Ye.placeholder,h,ht,Yt,K,ee,me-ft)}var ri=ye?h:this,Oi=De?ri[s]:s;return ft=ht.length,K?ht=I1(ht,K):Je&&ft>1&&ht.reverse(),be&&ee<ft&&(ht.length=ee),this&&this!==xe&&this instanceof Ye&&(Oi=rt||Mr(Oi)),Oi.apply(ri,ht)}return Ye}function zu(s,u){return function(h,k){return Mm(h,s,u(k),{})}}function Fa(s,u){return function(h,k){var N;if(h===t&&k===t)return u;if(h!==t&&(N=h),k!==t){if(N===t)return k;typeof h=="string"||typeof k=="string"?(h=On(h),k=On(k)):(h=yu(h),k=yu(k)),N=s(h,k)}return N}}function eo(s){return Ri(function(u){return u=Ft(u,Mn(je())),st(function(h){var k=this;return s(u,function(N){return $t(N,k,h)})})})}function Ua(s,u){u=u===t?" ":On(u);var h=u.length;if(h<2)return h?Js(u,s):u;var k=Js(u,ya(s/Yl(u)));return Jl(u)?al(ni(k),0,s).join(""):k.slice(0,s)}function o1(s,u,h,k){var N=u&C,O=Mr(s);function W(){for(var K=-1,ee=arguments.length,me=-1,be=k.length,ye=fe(be+ee),De=this&&this!==xe&&this instanceof W?O:s;++me<be;)ye[me]=k[me];for(;ee--;)ye[me++]=arguments[++K];return $t(De,N?h:this,ye)}return W}function Bu(s){return function(u,h,k){return k&&typeof k!="number"&&wn(u,h,k)&&(h=k=t),u=Mi(u),h===t?(h=u,u=0):h=Mi(h),k=k===t?u<h?1:-1:Mi(k),Jm(u,h,k,s)}}function za(s){return function(u,h){return typeof u=="string"&&typeof h=="string"||(u=Zn(u),h=Zn(h)),s(u,h)}}function Hu(s,u,h,k,N,O,W,K,ee,me){var be=u&A,ye=be?W:t,De=be?t:W,qe=be?O:t,Je=be?t:O;u|=be?V:E,u&=~(be?E:V),u&P||(u&=~(C|y));var rt=[s,u,N,qe,ye,Je,De,K,ee,me],Ye=h.apply(t,rt);return oo(s)&&xu(Ye,rt),Ye.placeholder=k,ef(Ye,s,u)}function to(s){var u=xt[s];return function(h,k){if(h=Zn(h),k=k==null?0:gn(lt(k),292),k&&eu(h)){var N=(St(h)+"e").split("e"),O=u(N[0]+"e"+(+N[1]+k));return N=(St(O)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(h)}}var u1=Xl&&1/ga(new Xl([,-0]))[1]==X?function(s){return new Xl(s)}:yo;function Wu(s){return function(u){var h=_n(u);return h==bt?Es(u):h==Zt?Np(u):bp(u,s(u))}}function Ei(s,u,h,k,N,O,W,K){var ee=u&y;if(!ee&&typeof s!="function")throw new Kn(a);var me=k?k.length:0;if(me||(u&=~(V|E),k=N=t),W=W===t?W:en(lt(W),0),K=K===t?K:lt(K),me-=N?N.length:0,u&E){var be=k,ye=N;k=N=t}var De=ee?t:lo(s),qe=[s,u,h,k,N,be,ye,O,W,K];if(De&&y1(qe,De),s=qe[0],u=qe[1],h=qe[2],k=qe[3],N=qe[4],K=qe[9]=qe[9]===t?ee?0:s.length:en(qe[9]-me,0),!K&&u&(A|T)&&(u&=~(A|T)),!u||u==C)var Je=a1(s,u,h);else u==A||u==T?Je=s1(s,u,K):(u==V||u==(C|V))&&!N.length?Je=o1(s,u,h,k):Je=Oa.apply(t,qe);var rt=De?Su:xu;return ef(rt(Je,qe),s,u)}function qu(s,u,h,k){return s===t||li(s,Zl[h])&&!yt.call(k,h)?u:s}function Gu(s,u,h,k,N,O){return Bt(s)&&Bt(u)&&(O.set(u,s),Ra(s,u,t,Gu,O),O.delete(u)),s}function f1(s){return Ur(s)?t:s}function Ku(s,u,h,k,N,O){var W=h&m,K=s.length,ee=u.length;if(K!=ee&&!(W&&ee>K))return!1;var me=O.get(s),be=O.get(u);if(me&&be)return me==u&&be==s;var ye=-1,De=!0,qe=h&v?new Nl:t;for(O.set(s,u),O.set(u,s);++ye<K;){var Je=s[ye],rt=u[ye];if(k)var Ye=W?k(rt,Je,ye,u,s,O):k(Je,rt,ye,s,u,O);if(Ye!==t){if(Ye)continue;De=!1;break}if(qe){if(!Ps(u,function(ft,ht){if(!yr(qe,ht)&&(Je===ft||N(Je,ft,h,k,O)))return qe.push(ht)})){De=!1;break}}else if(!(Je===rt||N(Je,rt,h,k,O))){De=!1;break}}return O.delete(s),O.delete(u),De}function c1(s,u,h,k,N,O,W){switch(h){case Gt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case qn:return!(s.byteLength!=u.byteLength||!O(new wa(s),new wa(u)));case $e:case Fe:case Vt:return li(+s,+u);case Ke:return s.name==u.name&&s.message==u.message;case gt:case Rn:return s==u+"";case bt:var K=Es;case Zt:var ee=k&m;if(K||(K=ga),s.size!=u.size&&!ee)return!1;var me=W.get(s);if(me)return me==u;k|=v,W.set(s,u);var be=Ku(K(s),K(u),k,N,O,W);return W.delete(s),be;case ei:if(Lr)return Lr.call(s)==Lr.call(u)}return!1}function d1(s,u,h,k,N,O){var W=h&m,K=no(s),ee=K.length,me=no(u),be=me.length;if(ee!=be&&!W)return!1;for(var ye=ee;ye--;){var De=K[ye];if(!(W?De in u:yt.call(u,De)))return!1}var qe=O.get(s),Je=O.get(u);if(qe&&Je)return qe==u&&Je==s;var rt=!0;O.set(s,u),O.set(u,s);for(var Ye=W;++ye<ee;){De=K[ye];var ft=s[De],ht=u[De];if(k)var Un=W?k(ht,ft,De,u,s,O):k(ft,ht,De,s,u,O);if(!(Un===t?ft===ht||N(ft,ht,h,k,O):Un)){rt=!1;break}Ye||(Ye=De=="constructor")}if(rt&&!Ye){var kn=s.constructor,zn=u.constructor;kn!=zn&&"constructor"in s&&"constructor"in u&&!(typeof kn=="function"&&kn instanceof kn&&typeof zn=="function"&&zn instanceof zn)&&(rt=!1)}return O.delete(s),O.delete(u),rt}function Ri(s){return fo(Xu(s,t,sf),s+"")}function no(s){return cu(s,rn,ao)}function io(s){return cu(s,Tn,ju)}var lo=Na?function(s){return Na.get(s)}:yo;function Ba(s){for(var u=s.name+"",h=$l[u],k=yt.call($l,u)?h.length:0;k--;){var N=h[k],O=N.func;if(O==null||O==s)return N.name}return u}function nr(s){var u=yt.call(M,"placeholder")?M:s;return u.placeholder}function je(){var s=M.iteratee||So;return s=s===So?gu:s,arguments.length?s(arguments[0],arguments[1]):s}function Ha(s,u){var h=s.__data__;return w1(u)?h[typeof u=="string"?"string":"hash"]:h.map}function ro(s){for(var u=rn(s),h=u.length;h--;){var k=u[h],N=s[k];u[h]=[k,N,Qu(N)]}return u}function Ll(s,u){var h=Cp(s,u);return hu(h)?h:t}function h1(s){var u=yt.call(s,yl),h=s[yl];try{s[yl]=t;var k=!0}catch{}var N=ba.call(s);return k&&(u?s[yl]=h:delete s[yl]),N}var ao=Ds?function(s){return s==null?[]:(s=Lt(s),xi(Ds(s),function(u){return $o.call(s,u)}))}:Po,ju=Ds?function(s){for(var u=[];s;)el(u,ao(s)),s=ka(s);return u}:Po,_n=vn;(Vs&&_n(new Vs(new ArrayBuffer(1)))!=Gt||Nr&&_n(new Nr)!=bt||Ms&&_n(Ms.resolve())!=mn||Xl&&_n(new Xl)!=Zt||Ir&&_n(new Ir)!=nn)&&(_n=function(s){var u=vn(s),h=u==Ut?s.constructor:t,k=h?Al(h):"";if(k)switch(k){case Qp:return Gt;case Zp:return bt;case Xp:return mn;case $p:return Zt;case xp:return nn}return u});function g1(s,u,h){for(var k=-1,N=h.length;++k<N;){var O=h[k],W=O.size;switch(O.type){case"drop":s+=W;break;case"dropRight":u-=W;break;case"take":u=gn(u,s+W);break;case"takeRight":s=en(s,u-W);break}}return{start:s,end:u}}function _1(s){var u=s.match(Dn);return u?u[1].split(Ol):[]}function Ju(s,u,h){u=rl(u,s);for(var k=-1,N=u.length,O=!1;++k<N;){var W=di(u[k]);if(!(O=s!=null&&h(s,W)))break;s=s[W]}return O||++k!=N?O:(N=s==null?0:s.length,!!N&&Ya(N)&&Di(W,N)&&(nt(s)||El(s)))}function p1(s){var u=s.length,h=new s.constructor(u);return u&&typeof s[0]=="string"&&yt.call(s,"index")&&(h.index=s.index,h.input=s.input),h}function Yu(s){return typeof s.constructor=="function"&&!Or(s)?xl(ka(s)):{}}function m1(s,u,h){var k=s.constructor;switch(u){case qn:return xs(s);case $e:case Fe:return new k(+s);case Gt:return e1(s,h);case Cn:case vi:case wi:case fn:case ki:case Si:case Ci:case yi:case Pi:return Au(s,h);case bt:return new k;case Vt:case Rn:return new k(s);case gt:return t1(s);case Zt:return new k;case ei:return n1(s)}}function b1(s,u){var h=u.length;if(!h)return s;var k=h-1;return u[k]=(h>1?"& ":"")+u[k],u=u.join(h>2?", ":" "),s.replace(Gn,`{
|
|
34
34
|
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function v1(s){return nt(s)||El(s)||!!(xo&&s&&s[xo])}function Di(s,u){var h=typeof s;return u=u??pe,!!u&&(h=="number"||h!="symbol"&&wl.test(s))&&s>-1&&s%1==0&&s<u}function wn(s,u,h){if(!Bt(h))return!1;var k=typeof u;return(k=="number"?In(h)&&Di(u,h.length):k=="string"&&u in h)?li(h[u],s):!1}function so(s,u){if(nt(s))return!1;var h=typeof s;return h=="number"||h=="symbol"||h=="boolean"||s==null||Fn(s)?!0:Ne.test(s)||!$.test(s)||u!=null&&s in Lt(u)}function w1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function oo(s){var u=Ba(s),h=O[u];if(typeof h!="function"||!(u in dt.prototype))return!1;if(s===h)return!0;var k=lo(h);return!!k&&s===k[0]}function k1(s){return!!Qo&&Qo in s}var S1=pa?Vi:No;function Mr(s){var u=s&&s.constructor,h=typeof u=="function"&&u.prototype||Zl;return s===h}function Qu(s){return s===s&&!Bt(s)}function Zu(s,u){return function(h){return h==null?!1:h[s]===u&&(u!==t||s in Lt(h))}}function C1(s){var u=ja(s,function(k){return h.size===g&&h.clear(),k}),h=u.cache;return u}function y1(s,u){var h=s[1],k=u[1],N=h|k,M=N<(C|y|U),W=k==U&&h==A||k==U&&h==F&&s[7].length<=u[8]||k==(U|F)&&u[7].length<=u[8]&&h==A;if(!(M||W))return s;k&C&&(s[2]=u[2],N|=h&C?0:P);var K=u[3];if(K){var ee=s[3];s[3]=ee?Ru(ee,K,u[4]):K,s[4]=ee?tl(s[3],d):u[4]}return K=u[5],K&&(ee=s[5],s[5]=ee?Du(ee,K,u[6]):K,s[6]=ee?tl(s[5],d):u[6]),K=u[7],K&&(s[7]=K),k&U&&(s[8]=s[8]==null?u[8]:gn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function P1(s){var u=[];if(s!=null)for(var h in Lt(s))u.push(h);return u}function N1(s){return ba.call(s)}function Xu(s,u,h){return u=en(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,M=en(k.length-u,0),W=fe(M);++N<M;)W[N]=k[u+N];N=-1;for(var K=fe(u+1);++N<u;)K[N]=k[N];return K[u]=h(W),$t(s,this,K)}}function $u(s,u){return u.length<2?s:Tl(s,Yn(u,0,-1))}function I1(s,u){for(var h=s.length,k=gn(u.length,h),N=Nn(s);k--;){var M=u[k];s[k]=Di(M,h)?N[M]:t}return s}function uo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var xu=tf(Su),Fr=Wp||function(s,u){return xe.setTimeout(s,u)},fo=tf(Zm);function ef(s,u,h){var k=u+"";return fo(s,b1(k,T1(_1(k),h)))}function tf(s){var u=0,h=0;return function(){var k=jp(),N=de-(k-h);if(h=k,N>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function Wa(s,u){var h=-1,k=s.length,N=k-1;for(u=u===t?k:u;++h<u;){var M=js(h,N),W=s[M];s[M]=s[h],s[h]=W}return s.length=u,s}var nf=C1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(tt,function(h,k,N,M){u.push(N?M.replace(gr,"$1"):k||h)}),u});function di(s){if(typeof s=="string"||Fn(s))return s;var u=s+"";return u=="0"&&1/s==-X?"-0":u}function Al(s){if(s!=null){try{return ma.call(s)}catch{}try{return s+""}catch{}}return""}function T1(s,u){return zt(He,function(h){var k="_."+h[0];u&h[1]&&!da(s,k)&&s.push(k)}),s.sort()}function lf(s){if(s instanceof dt)return s.clone();var u=new jn(s.__wrapped__,s.__chain__);return u.__actions__=Nn(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function L1(s,u,h){(h?wn(s,u,h):u===t)?u=1:u=en(lt(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,M=0,W=fe(ya(k/u));N<k;)W[M++]=Yn(s,N,N+=u);return W}function A1(s){for(var u=-1,h=s==null?0:s.length,k=0,N=[];++u<h;){var M=s[u];M&&(N[k++]=M)}return N}function E1(){var s=arguments.length;if(!s)return[];for(var u=fe(s-1),h=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(nt(h)?Nn(h):[h],on(u,1))}var R1=st(function(s,u){return Jt(s)?Er(s,on(u,1,Jt,!0)):[]}),D1=st(function(s,u){var h=Qn(u);return Jt(h)&&(h=t),Jt(s)?Er(s,on(u,1,Jt,!0),je(h,2)):[]}),V1=st(function(s,u){var h=Qn(u);return Jt(h)&&(h=t),Jt(s)?Er(s,on(u,1,Jt,!0),t,h):[]});function O1(s,u,h){var k=s==null?0:s.length;return k?(u=h||u===t?1:lt(u),Yn(s,u<0?0:u,k)):[]}function M1(s,u,h){var k=s==null?0:s.length;return k?(u=h||u===t?1:lt(u),u=k-u,Yn(s,0,u<0?0:u)):[]}function F1(s,u){return s&&s.length?Va(s,je(u,3),!0,!0):[]}function U1(s,u){return s&&s.length?Va(s,je(u,3),!0):[]}function z1(s,u,h,k){var N=s==null?0:s.length;return N?(h&&typeof h!="number"&&wn(s,u,h)&&(h=0,k=N),Em(s,u,h,k)):[]}function rf(s,u,h){var k=s==null?0:s.length;if(!k)return-1;var N=h==null?0:lt(h);return N<0&&(N=en(k+N,0)),ha(s,je(u,3),N)}function af(s,u,h){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return h!==t&&(N=lt(h),N=h<0?en(k+N,0):gn(N,k-1)),ha(s,je(u,3),N,!0)}function sf(s){var u=s==null?0:s.length;return u?on(s,1):[]}function B1(s){var u=s==null?0:s.length;return u?on(s,X):[]}function H1(s,u){var h=s==null?0:s.length;return h?(u=u===t?1:lt(u),on(s,u)):[]}function W1(s){for(var u=-1,h=s==null?0:s.length,k={};++u<h;){var N=s[u];k[N[0]]=N[1]}return k}function of(s){return s&&s.length?s[0]:t}function q1(s,u,h){var k=s==null?0:s.length;if(!k)return-1;var N=h==null?0:lt(h);return N<0&&(N=en(k+N,0)),jl(s,u,N)}function G1(s){var u=s==null?0:s.length;return u?Yn(s,0,-1):[]}var K1=st(function(s){var u=Ft(s,Xs);return u.length&&u[0]===s[0]?Hs(u):[]}),j1=st(function(s){var u=Qn(s),h=Ft(s,Xs);return u===Qn(h)?u=t:h.pop(),h.length&&h[0]===s[0]?Hs(h,je(u,2)):[]}),J1=st(function(s){var u=Qn(s),h=Ft(s,Xs);return u=typeof u=="function"?u:t,u&&h.pop(),h.length&&h[0]===s[0]?Hs(h,t,u):[]});function Y1(s,u){return s==null?"":Gp.call(s,u)}function Qn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function Q1(s,u,h){var k=s==null?0:s.length;if(!k)return-1;var N=k;return h!==t&&(N=lt(h),N=N<0?en(k+N,0):gn(N,k-1)),u===u?Tp(s,u,N):ha(s,Ho,N,!0)}function Z1(s,u){return s&&s.length?bu(s,lt(u)):t}var X1=st(uf);function uf(s,u){return s&&s.length&&u&&u.length?Ks(s,u):s}function $1(s,u,h){return s&&s.length&&u&&u.length?Ks(s,u,je(h,2)):s}function x1(s,u,h){return s&&s.length&&u&&u.length?Ks(s,u,t,h):s}var eb=Ri(function(s,u){var h=s==null?0:s.length,k=Fs(s,u);return ku(s,Ft(u,function(N){return Di(N,h)?+N:N}).sort(Eu)),k});function tb(s,u){var h=[];if(!(s&&s.length))return h;var k=-1,N=[],M=s.length;for(u=je(u,3);++k<M;){var W=s[k];u(W,k,s)&&(h.push(W),N.push(k))}return ku(s,N),h}function co(s){return s==null?s:Yp.call(s)}function nb(s,u,h){var k=s==null?0:s.length;return k?(h&&typeof h!="number"&&wn(s,u,h)?(u=0,h=k):(u=u==null?0:lt(u),h=h===t?k:lt(h)),Yn(s,u,h)):[]}function ib(s,u){return Da(s,u)}function lb(s,u,h){return Ys(s,u,je(h,2))}function rb(s,u){var h=s==null?0:s.length;if(h){var k=Da(s,u);if(k<h&&li(s[k],u))return k}return-1}function ab(s,u){return Da(s,u,!0)}function sb(s,u,h){return Ys(s,u,je(h,2),!0)}function ob(s,u){var h=s==null?0:s.length;if(h){var k=Da(s,u,!0)-1;if(li(s[k],u))return k}return-1}function ub(s){return s&&s.length?Cu(s):[]}function fb(s,u){return s&&s.length?Cu(s,je(u,2)):[]}function cb(s){var u=s==null?0:s.length;return u?Yn(s,1,u):[]}function db(s,u,h){return s&&s.length?(u=h||u===t?1:lt(u),Yn(s,0,u<0?0:u)):[]}function hb(s,u,h){var k=s==null?0:s.length;return k?(u=h||u===t?1:lt(u),u=k-u,Yn(s,u<0?0:u,k)):[]}function gb(s,u){return s&&s.length?Va(s,je(u,3),!1,!0):[]}function _b(s,u){return s&&s.length?Va(s,je(u,3)):[]}var pb=st(function(s){return ll(on(s,1,Jt,!0))}),mb=st(function(s){var u=Qn(s);return Jt(u)&&(u=t),ll(on(s,1,Jt,!0),je(u,2))}),bb=st(function(s){var u=Qn(s);return u=typeof u=="function"?u:t,ll(on(s,1,Jt,!0),t,u)});function vb(s){return s&&s.length?ll(s):[]}function wb(s,u){return s&&s.length?ll(s,je(u,2)):[]}function kb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function ho(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(h){if(Jt(h))return u=en(h.length,u),!0}),Ls(u,function(h){return Ft(s,Ns(h))})}function ff(s,u){if(!(s&&s.length))return[];var h=ho(s);return u==null?h:Ft(h,function(k){return $t(u,t,k)})}var Sb=st(function(s,u){return Jt(s)?Er(s,u):[]}),Cb=st(function(s){return Zs(xi(s,Jt))}),yb=st(function(s){var u=Qn(s);return Jt(u)&&(u=t),Zs(xi(s,Jt),je(u,2))}),Pb=st(function(s){var u=Qn(s);return u=typeof u=="function"?u:t,Zs(xi(s,Jt),t,u)}),Nb=st(ho);function Ib(s,u){return Iu(s||[],u||[],Ar)}function Tb(s,u){return Iu(s||[],u||[],Vr)}var Lb=st(function(s){var u=s.length,h=u>1?s[u-1]:t;return h=typeof h=="function"?(s.pop(),h):t,ff(s,h)});function cf(s){var u=O(s);return u.__chain__=!0,u}function Ab(s,u){return u(s),s}function qa(s,u){return u(s)}var Eb=Ri(function(s){var u=s.length,h=u?s[0]:0,k=this.__wrapped__,N=function(M){return Fs(M,s)};return u>1||this.__actions__.length||!(k instanceof dt)||!Di(h)?this.thru(N):(k=k.slice(h,+h+(u?1:0)),k.__actions__.push({func:qa,args:[N],thisArg:t}),new jn(k,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function Rb(){return cf(this)}function Db(){return new jn(this.value(),this.__chain__)}function Vb(){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 Ob(){return this}function Mb(s){for(var u,h=this;h instanceof Ta;){var k=lf(h);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;h=h.__wrapped__}return N.__wrapped__=s,u}function Fb(){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:qa,args:[co],thisArg:t}),new jn(u,this.__chain__)}return this.thru(co)}function Ub(){return Nu(this.__wrapped__,this.__actions__)}var zb=Oa(function(s,u,h){yt.call(s,h)?++s[h]:Ai(s,h,1)});function Bb(s,u,h){var k=nt(s)?zo:Am;return h&&wn(s,u,h)&&(u=t),k(s,je(u,3))}function Hb(s,u){var h=nt(s)?xi:uu;return h(s,je(u,3))}var Wb=Fu(rf),qb=Fu(af);function Gb(s,u){return on(Ga(s,u),1)}function Kb(s,u){return on(Ga(s,u),X)}function jb(s,u,h){return h=h===t?1:lt(h),on(Ga(s,u),h)}function df(s,u){var h=nt(s)?zt:il;return h(s,je(u,3))}function hf(s,u){var h=nt(s)?Ss:ou;return h(s,je(u,3))}var Jb=Oa(function(s,u,h){yt.call(s,h)?s[h].push(u):Ai(s,h,[u])});function Yb(s,u,h,k){s=In(s)?s:lr(s),h=h&&!k?lt(h):0;var N=s.length;return h<0&&(h=en(N+h,0)),Qa(s)?h<=N&&s.indexOf(u,h)>-1:!!N&&jl(s,u,h)>-1}var Qb=st(function(s,u,h){var k=-1,N=typeof u=="function",M=In(s)?fe(s.length):[];return il(s,function(W){M[++k]=N?$t(u,W,h):Rr(W,u,h)}),M}),Zb=Oa(function(s,u,h){Ai(s,h,u)});function Ga(s,u){var h=nt(s)?Ft:_u;return h(s,je(u,3))}function Xb(s,u,h,k){return s==null?[]:(nt(u)||(u=u==null?[]:[u]),h=k?t:h,nt(h)||(h=h==null?[]:[h]),vu(s,u,h))}var $b=Oa(function(s,u,h){s[h?0:1].push(u)},function(){return[[],[]]});function xb(s,u,h){var k=nt(s)?ys:qo,N=arguments.length<3;return k(s,je(u,4),h,N,il)}function ev(s,u,h){var k=nt(s)?dp:qo,N=arguments.length<3;return k(s,je(u,4),h,N,ou)}function tv(s,u){var h=nt(s)?xi:uu;return h(s,Ja(je(u,3)))}function nv(s){var u=nt(s)?lu:Ym;return u(s)}function iv(s,u,h){(h?wn(s,u,h):u===t)?u=1:u=lt(u);var k=nt(s)?Pm:Qm;return k(s,u)}function lv(s){var u=nt(s)?Nm:Xm;return u(s)}function rv(s){if(s==null)return 0;if(In(s))return Qa(s)?Yl(s):s.length;var u=_n(s);return u==bt||u==Zt?s.size:qs(s).length}function av(s,u,h){var k=nt(s)?Ps:$m;return h&&wn(s,u,h)&&(u=t),k(s,je(u,3))}var sv=st(function(s,u){if(s==null)return[];var h=u.length;return h>1&&wn(s,u[0],u[1])?u=[]:h>2&&wn(u[0],u[1],u[2])&&(u=[u[0]]),vu(s,on(u,1),[])}),Ka=Hp||function(){return xe.Date.now()};function ov(s,u){if(typeof u!="function")throw new Kn(a);return s=lt(s),function(){if(--s<1)return u.apply(this,arguments)}}function gf(s,u,h){return u=h?t:u,u=s&&u==null?s.length:u,Ei(s,U,t,t,t,t,u)}function _f(s,u){var h;if(typeof u!="function")throw new Kn(a);return s=lt(s),function(){return--s>0&&(h=u.apply(this,arguments)),s<=1&&(u=t),h}}var go=st(function(s,u,h){var k=C;if(h.length){var N=tl(h,nr(go));k|=V}return Ei(s,k,u,h,N)}),pf=st(function(s,u,h){var k=C|y;if(h.length){var N=tl(h,nr(pf));k|=V}return Ei(u,k,s,h,N)});function mf(s,u,h){u=h?t:u;var k=Ei(s,A,t,t,t,t,t,u);return k.placeholder=mf.placeholder,k}function bf(s,u,h){u=h?t:u;var k=Ei(s,T,t,t,t,t,t,u);return k.placeholder=bf.placeholder,k}function vf(s,u,h){var k,N,M,W,K,ee,me=0,be=!1,ye=!1,Re=!0;if(typeof s!="function")throw new Kn(a);u=Zn(u)||0,Bt(h)&&(be=!!h.leading,ye="maxWait"in h,M=ye?en(Zn(h.maxWait)||0,u):M,Re="trailing"in h?!!h.trailing:Re);function We(Yt){var ri=k,Mi=N;return k=N=t,me=Yt,W=s.apply(Mi,ri),W}function Je(Yt){return me=Yt,K=Fr(ft,u),be?We(Yt):W}function rt(Yt){var ri=Yt-ee,Mi=Yt-me,Uf=u-ri;return ye?gn(Uf,M-Mi):Uf}function Ye(Yt){var ri=Yt-ee,Mi=Yt-me;return ee===t||ri>=u||ri<0||ye&&Mi>=M}function ft(){var Yt=Ka();if(Ye(Yt))return ht(Yt);K=Fr(ft,rt(Yt))}function ht(Yt){return K=t,Re&&k?We(Yt):(k=N=t,W)}function Un(){K!==t&&Tu(K),me=0,k=ee=N=K=t}function kn(){return K===t?W:ht(Ka())}function zn(){var Yt=Ka(),ri=Ye(Yt);if(k=arguments,N=this,ee=Yt,ri){if(K===t)return Je(ee);if(ye)return Tu(K),K=Fr(ft,u),We(ee)}return K===t&&(K=Fr(ft,u)),W}return zn.cancel=Un,zn.flush=kn,zn}var uv=st(function(s,u){return su(s,1,u)}),fv=st(function(s,u,h){return su(s,Zn(u)||0,h)});function cv(s){return Ei(s,D)}function ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Kn(a);var h=function(){var k=arguments,N=u?u.apply(this,k):k[0],M=h.cache;if(M.has(N))return M.get(N);var W=s.apply(this,k);return h.cache=M.set(N,W)||M,W};return h.cache=new(ja.Cache||Li),h}ja.Cache=Li;function Ja(s){if(typeof s!="function")throw new Kn(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 dv(s){return _f(2,s)}var hv=xm(function(s,u){u=u.length==1&&nt(u[0])?Ft(u[0],On(je())):Ft(on(u,1),On(je()));var h=u.length;return st(function(k){for(var N=-1,M=gn(k.length,h);++N<M;)k[N]=u[N].call(this,k[N]);return $t(s,this,k)})}),_o=st(function(s,u){var h=tl(u,nr(_o));return Ei(s,V,t,u,h)}),wf=st(function(s,u){var h=tl(u,nr(wf));return Ei(s,E,t,u,h)}),gv=Ri(function(s,u){return Ei(s,F,t,t,t,u)});function _v(s,u){if(typeof s!="function")throw new Kn(a);return u=u===t?u:lt(u),st(s,u)}function pv(s,u){if(typeof s!="function")throw new Kn(a);return u=u==null?0:en(lt(u),0),st(function(h){var k=h[u],N=al(h,0,u);return k&&el(N,k),$t(s,this,N)})}function mv(s,u,h){var k=!0,N=!0;if(typeof s!="function")throw new Kn(a);return Bt(h)&&(k="leading"in h?!!h.leading:k,N="trailing"in h?!!h.trailing:N),vf(s,u,{leading:k,maxWait:u,trailing:N})}function bv(s){return gf(s,1)}function vv(s,u){return _o($s(u),s)}function wv(){if(!arguments.length)return[];var s=arguments[0];return nt(s)?s:[s]}function kv(s){return Jn(s,b)}function Sv(s,u){return u=typeof u=="function"?u:t,Jn(s,b,u)}function Cv(s){return Jn(s,_|b)}function yv(s,u){return u=typeof u=="function"?u:t,Jn(s,_|b,u)}function Pv(s,u){return u==null||au(s,u,rn(u))}function li(s,u){return s===u||s!==s&&u!==u}var Nv=za(Bs),Iv=za(function(s,u){return s>=u}),El=du(function(){return arguments}())?du:function(s){return Kt(s)&&yt.call(s,"callee")&&!$o.call(s,"callee")},nt=fe.isArray,Tv=Gl?On(Gl):Mm;function In(s){return s!=null&&Ya(s.length)&&!Vi(s)}function Jt(s){return Kt(s)&&In(s)}function Lv(s){return s===!0||s===!1||Kt(s)&&vn(s)==$e}var sl=qp||No,Av=Sl?On(Sl):Fm;function Ev(s){return Kt(s)&&s.nodeType===1&&!Ur(s)}function Rv(s){if(s==null)return!0;if(In(s)&&(nt(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||ir(s)||El(s)))return!s.length;var u=_n(s);if(u==bt||u==Zt)return!s.size;if(Mr(s))return!qs(s).length;for(var h in s)if(yt.call(s,h))return!1;return!0}function Dv(s,u){return Dr(s,u)}function Vv(s,u,h){h=typeof h=="function"?h:t;var k=h?h(s,u):t;return k===t?Dr(s,u,t,h):!!k}function po(s){if(!Kt(s))return!1;var u=vn(s);return u==Ke||u==_e||typeof s.message=="string"&&typeof s.name=="string"&&!Ur(s)}function Ov(s){return typeof s=="number"&&eu(s)}function Vi(s){if(!Bt(s))return!1;var u=vn(s);return u==at||u==qt||u==Pe||u==Bi}function kf(s){return typeof s=="number"&&s==lt(s)}function Ya(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=pe}function Bt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Kt(s){return s!=null&&typeof s=="object"}var Sf=ks?On(ks):zm;function Mv(s,u){return s===u||Ws(s,u,ro(u))}function Fv(s,u,h){return h=typeof h=="function"?h:t,Ws(s,u,ro(u),h)}function Uv(s){return Cf(s)&&s!=+s}function zv(s){if(S1(s))throw new et(r);return hu(s)}function Bv(s){return s===null}function Hv(s){return s==null}function Cf(s){return typeof s=="number"||Kt(s)&&vn(s)==Vt}function Ur(s){if(!Kt(s)||vn(s)!=Ut)return!1;var u=ka(s);if(u===null)return!0;var h=yt.call(u,"constructor")&&u.constructor;return typeof h=="function"&&h instanceof h&&ma.call(h)==Fp}var mo=Kl?On(Kl):Bm;function Wv(s){return kf(s)&&s>=-pe&&s<=pe}var yf=ca?On(ca):Hm;function Qa(s){return typeof s=="string"||!nt(s)&&Kt(s)&&vn(s)==Rn}function Fn(s){return typeof s=="symbol"||Kt(s)&&vn(s)==ei}var ir=Cl?On(Cl):Wm;function qv(s){return s===t}function Gv(s){return Kt(s)&&_n(s)==nn}function Kv(s){return Kt(s)&&vn(s)==bn}var jv=za(Gs),Jv=za(function(s,u){return s<=u});function Pf(s){if(!s)return[];if(In(s))return Qa(s)?ni(s):Nn(s);if(Pr&&s[Pr])return Pp(s[Pr]());var u=_n(s),h=u==bt?Es:u==Zt?ga:lr;return h(s)}function Oi(s){if(!s)return s===0?s:0;if(s=Zn(s),s===X||s===-X){var u=s<0?-1:1;return u*ne}return s===s?s:0}function lt(s){var u=Oi(s),h=u%1;return u===u?h?u-h:u:0}function Nf(s){return s?Il(lt(s),0,ve):0}function Zn(s){if(typeof s=="number")return s;if(Fn(s))return oe;if(Bt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Bt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Go(s);var h=zl.test(s);return h||ji.test(s)?$i(s.slice(2),h?2:8):vl.test(s)?oe:+s}function If(s){return ci(s,Tn(s))}function Yv(s){return s?Il(lt(s),-pe,pe):s===0?s:0}function St(s){return s==null?"":Mn(s)}var Qv=er(function(s,u){if(Mr(u)||In(u)){ci(u,rn(u),s);return}for(var h in u)yt.call(u,h)&&Ar(s,h,u[h])}),Tf=er(function(s,u){ci(u,Tn(u),s)}),Za=er(function(s,u,h,k){ci(u,Tn(u),s,k)}),Zv=er(function(s,u,h,k){ci(u,rn(u),s,k)}),Xv=Ri(Fs);function $v(s,u){var h=xl(s);return u==null?h:ru(h,u)}var xv=st(function(s,u){s=Lt(s);var h=-1,k=u.length,N=k>2?u[2]:t;for(N&&wn(u[0],u[1],N)&&(k=1);++h<k;)for(var M=u[h],W=Tn(M),K=-1,ee=W.length;++K<ee;){var me=W[K],be=s[me];(be===t||li(be,Zl[me])&&!yt.call(s,me))&&(s[me]=M[me])}return s}),e0=st(function(s){return s.push(t,Gu),$t(Lf,t,s)});function t0(s,u){return Bo(s,je(u,3),fi)}function n0(s,u){return Bo(s,je(u,3),zs)}function i0(s,u){return s==null?s:Us(s,je(u,3),Tn)}function l0(s,u){return s==null?s:fu(s,je(u,3),Tn)}function r0(s,u){return s&&fi(s,je(u,3))}function a0(s,u){return s&&zs(s,je(u,3))}function s0(s){return s==null?[]:Ea(s,rn(s))}function o0(s){return s==null?[]:Ea(s,Tn(s))}function bo(s,u,h){var k=s==null?t:Tl(s,u);return k===t?h:k}function u0(s,u){return s!=null&&Ju(s,u,Rm)}function vo(s,u){return s!=null&&Ju(s,u,Dm)}var f0=zu(function(s,u,h){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),s[u]=h},ko(Ln)),c0=zu(function(s,u,h){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),yt.call(s,u)?s[u].push(h):s[u]=[h]},je),d0=st(Rr);function rn(s){return In(s)?iu(s):qs(s)}function Tn(s){return In(s)?iu(s,!0):qm(s)}function h0(s,u){var h={};return u=je(u,3),fi(s,function(k,N,M){Ai(h,u(k,N,M),k)}),h}function g0(s,u){var h={};return u=je(u,3),fi(s,function(k,N,M){Ai(h,N,u(k,N,M))}),h}var _0=er(function(s,u,h){Ra(s,u,h)}),Lf=er(function(s,u,h,k){Ra(s,u,h,k)}),p0=Ri(function(s,u){var h={};if(s==null)return h;var k=!1;u=Ft(u,function(M){return M=rl(M,s),k||(k=M.length>1),M}),ci(s,io(s),h),k&&(h=Jn(h,_|p|b,f1));for(var N=u.length;N--;)Qs(h,u[N]);return h});function m0(s,u){return Af(s,Ja(je(u)))}var b0=Ri(function(s,u){return s==null?{}:Km(s,u)});function Af(s,u){if(s==null)return{};var h=Ft(io(s),function(k){return[k]});return u=je(u),wu(s,h,function(k,N){return u(k,N[0])})}function v0(s,u,h){u=rl(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var M=s==null?t:s[di(u[k])];M===t&&(k=N,M=h),s=Vi(M)?M.call(s):M}return s}function w0(s,u,h){return s==null?s:Vr(s,u,h)}function k0(s,u,h,k){return k=typeof k=="function"?k:t,s==null?s:Vr(s,u,h,k)}var Ef=Wu(rn),Rf=Wu(Tn);function S0(s,u,h){var k=nt(s),N=k||sl(s)||ir(s);if(u=je(u,4),h==null){var M=s&&s.constructor;N?h=k?new M:[]:Bt(s)?h=Vi(M)?xl(ka(s)):{}:h={}}return(N?zt:fi)(s,function(W,K,ee){return u(h,W,K,ee)}),h}function C0(s,u){return s==null?!0:Qs(s,u)}function y0(s,u,h){return s==null?s:Pu(s,u,$s(h))}function P0(s,u,h,k){return k=typeof k=="function"?k:t,s==null?s:Pu(s,u,$s(h),k)}function lr(s){return s==null?[]:As(s,rn(s))}function N0(s){return s==null?[]:As(s,Tn(s))}function I0(s,u,h){return h===t&&(h=u,u=t),h!==t&&(h=Zn(h),h=h===h?h:0),u!==t&&(u=Zn(u),u=u===u?u:0),Il(Zn(s),u,h)}function T0(s,u,h){return u=Oi(u),h===t?(h=u,u=0):h=Oi(h),s=Zn(s),Vm(s,u,h)}function L0(s,u,h){if(h&&typeof h!="boolean"&&wn(s,u,h)&&(u=h=t),h===t&&(typeof u=="boolean"?(h=u,u=t):typeof s=="boolean"&&(h=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Oi(s),u===t?(u=s,s=0):u=Oi(u)),s>u){var k=s;s=u,u=k}if(h||s%1||u%1){var N=tu();return gn(s+N*(u-s+Cr("1e-"+((N+"").length-1))),u)}return js(s,u)}var A0=tr(function(s,u,h){return u=u.toLowerCase(),s+(h?Df(u):u)});function Df(s){return wo(St(s).toLowerCase())}function Vf(s){return s=St(s),s&&s.replace(kl,wp).replace(ws,"")}function E0(s,u,h){s=St(s),u=Mn(u);var k=s.length;h=h===t?k:Il(lt(h),0,k);var N=h;return h-=u.length,h>=0&&s.slice(h,N)==u}function R0(s){return s=St(s),s&&oi.test(s)?s.replace(Wi,kp):s}function D0(s){return s=St(s),s&&Ct.test(s)?s.replace(ut,"\\$&"):s}var V0=tr(function(s,u,h){return s+(h?"-":"")+u.toLowerCase()}),O0=tr(function(s,u,h){return s+(h?" ":"")+u.toLowerCase()}),M0=Mu("toLowerCase");function F0(s,u,h){s=St(s),u=lt(u);var k=u?Yl(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ua(Pa(N),h)+s+Ua(ya(N),h)}function U0(s,u,h){s=St(s),u=lt(u);var k=u?Yl(s):0;return u&&k<u?s+Ua(u-k,h):s}function z0(s,u,h){s=St(s),u=lt(u);var k=u?Yl(s):0;return u&&k<u?Ua(u-k,h)+s:s}function B0(s,u,h){return h||u==null?u=0:u&&(u=+u),Jp(St(s).replace(jt,""),u||0)}function H0(s,u,h){return(h?wn(s,u,h):u===t)?u=1:u=lt(u),Js(St(s),u)}function W0(){var s=arguments,u=St(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var q0=tr(function(s,u,h){return s+(h?"_":"")+u.toLowerCase()});function G0(s,u,h){return h&&typeof h!="number"&&wn(s,u,h)&&(u=h=t),h=h===t?ve:h>>>0,h?(s=St(s),s&&(typeof u=="string"||u!=null&&!mo(u))&&(u=Mn(u),!u&&Jl(s))?al(ni(s),0,h):s.split(u,h)):[]}var K0=tr(function(s,u,h){return s+(h?" ":"")+wo(u)});function j0(s,u,h){return s=St(s),h=h==null?0:Il(lt(h),0,s.length),u=Mn(u),s.slice(h,h+u.length)==u}function J0(s,u,h){var k=O.templateSettings;h&&wn(s,u,h)&&(u=t),s=St(s),u=Za({},u,k,qu);var N=Za({},u.imports,k.imports,qu),M=rn(N),W=As(N,M),K,ee,me=0,be=u.interpolate||ui,ye="__p += '",Re=Rs((u.escape||ui).source+"|"+be.source+"|"+(be===Gi?yn:ui).source+"|"+(u.evaluate||ui).source+"|$","g"),We="//# sourceURL="+(yt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ue+"]")+`
|
|
36
|
-
`;s.replace(
|
|
35
|
+
`)}function v1(s){return nt(s)||El(s)||!!(xo&&s&&s[xo])}function Di(s,u){var h=typeof s;return u=u??pe,!!u&&(h=="number"||h!="symbol"&&wl.test(s))&&s>-1&&s%1==0&&s<u}function wn(s,u,h){if(!Bt(h))return!1;var k=typeof u;return(k=="number"?In(h)&&Di(u,h.length):k=="string"&&u in h)?li(h[u],s):!1}function so(s,u){if(nt(s))return!1;var h=typeof s;return h=="number"||h=="symbol"||h=="boolean"||s==null||Fn(s)?!0:Ne.test(s)||!$.test(s)||u!=null&&s in Lt(u)}function w1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function oo(s){var u=Ba(s),h=M[u];if(typeof h!="function"||!(u in dt.prototype))return!1;if(s===h)return!0;var k=lo(h);return!!k&&s===k[0]}function k1(s){return!!Qo&&Qo in s}var S1=pa?Vi:No;function Or(s){var u=s&&s.constructor,h=typeof u=="function"&&u.prototype||Zl;return s===h}function Qu(s){return s===s&&!Bt(s)}function Zu(s,u){return function(h){return h==null?!1:h[s]===u&&(u!==t||s in Lt(h))}}function C1(s){var u=ja(s,function(k){return h.size===g&&h.clear(),k}),h=u.cache;return u}function y1(s,u){var h=s[1],k=u[1],N=h|k,O=N<(C|y|U),W=k==U&&h==A||k==U&&h==F&&s[7].length<=u[8]||k==(U|F)&&u[7].length<=u[8]&&h==A;if(!(O||W))return s;k&C&&(s[2]=u[2],N|=h&C?0:P);var K=u[3];if(K){var ee=s[3];s[3]=ee?Ru(ee,K,u[4]):K,s[4]=ee?tl(s[3],d):u[4]}return K=u[5],K&&(ee=s[5],s[5]=ee?Du(ee,K,u[6]):K,s[6]=ee?tl(s[5],d):u[6]),K=u[7],K&&(s[7]=K),k&U&&(s[8]=s[8]==null?u[8]:gn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function P1(s){var u=[];if(s!=null)for(var h in Lt(s))u.push(h);return u}function N1(s){return ba.call(s)}function Xu(s,u,h){return u=en(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,O=en(k.length-u,0),W=fe(O);++N<O;)W[N]=k[u+N];N=-1;for(var K=fe(u+1);++N<u;)K[N]=k[N];return K[u]=h(W),$t(s,this,K)}}function $u(s,u){return u.length<2?s:Tl(s,Yn(u,0,-1))}function I1(s,u){for(var h=s.length,k=gn(u.length,h),N=Nn(s);k--;){var O=u[k];s[k]=Di(O,h)?N[O]:t}return s}function uo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var xu=tf(Su),Fr=Wp||function(s,u){return xe.setTimeout(s,u)},fo=tf(Zm);function ef(s,u,h){var k=u+"";return fo(s,b1(k,T1(_1(k),h)))}function tf(s){var u=0,h=0;return function(){var k=jp(),N=de-(k-h);if(h=k,N>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function Wa(s,u){var h=-1,k=s.length,N=k-1;for(u=u===t?k:u;++h<u;){var O=js(h,N),W=s[O];s[O]=s[h],s[h]=W}return s.length=u,s}var nf=C1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(tt,function(h,k,N,O){u.push(N?O.replace(gr,"$1"):k||h)}),u});function di(s){if(typeof s=="string"||Fn(s))return s;var u=s+"";return u=="0"&&1/s==-X?"-0":u}function Al(s){if(s!=null){try{return ma.call(s)}catch{}try{return s+""}catch{}}return""}function T1(s,u){return zt(He,function(h){var k="_."+h[0];u&h[1]&&!da(s,k)&&s.push(k)}),s.sort()}function lf(s){if(s instanceof dt)return s.clone();var u=new jn(s.__wrapped__,s.__chain__);return u.__actions__=Nn(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function L1(s,u,h){(h?wn(s,u,h):u===t)?u=1:u=en(lt(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,O=0,W=fe(ya(k/u));N<k;)W[O++]=Yn(s,N,N+=u);return W}function A1(s){for(var u=-1,h=s==null?0:s.length,k=0,N=[];++u<h;){var O=s[u];O&&(N[k++]=O)}return N}function E1(){var s=arguments.length;if(!s)return[];for(var u=fe(s-1),h=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(nt(h)?Nn(h):[h],on(u,1))}var R1=st(function(s,u){return Jt(s)?Er(s,on(u,1,Jt,!0)):[]}),D1=st(function(s,u){var h=Qn(u);return Jt(h)&&(h=t),Jt(s)?Er(s,on(u,1,Jt,!0),je(h,2)):[]}),V1=st(function(s,u){var h=Qn(u);return Jt(h)&&(h=t),Jt(s)?Er(s,on(u,1,Jt,!0),t,h):[]});function M1(s,u,h){var k=s==null?0:s.length;return k?(u=h||u===t?1:lt(u),Yn(s,u<0?0:u,k)):[]}function O1(s,u,h){var k=s==null?0:s.length;return k?(u=h||u===t?1:lt(u),u=k-u,Yn(s,0,u<0?0:u)):[]}function F1(s,u){return s&&s.length?Va(s,je(u,3),!0,!0):[]}function U1(s,u){return s&&s.length?Va(s,je(u,3),!0):[]}function z1(s,u,h,k){var N=s==null?0:s.length;return N?(h&&typeof h!="number"&&wn(s,u,h)&&(h=0,k=N),Em(s,u,h,k)):[]}function rf(s,u,h){var k=s==null?0:s.length;if(!k)return-1;var N=h==null?0:lt(h);return N<0&&(N=en(k+N,0)),ha(s,je(u,3),N)}function af(s,u,h){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return h!==t&&(N=lt(h),N=h<0?en(k+N,0):gn(N,k-1)),ha(s,je(u,3),N,!0)}function sf(s){var u=s==null?0:s.length;return u?on(s,1):[]}function B1(s){var u=s==null?0:s.length;return u?on(s,X):[]}function H1(s,u){var h=s==null?0:s.length;return h?(u=u===t?1:lt(u),on(s,u)):[]}function W1(s){for(var u=-1,h=s==null?0:s.length,k={};++u<h;){var N=s[u];k[N[0]]=N[1]}return k}function of(s){return s&&s.length?s[0]:t}function q1(s,u,h){var k=s==null?0:s.length;if(!k)return-1;var N=h==null?0:lt(h);return N<0&&(N=en(k+N,0)),jl(s,u,N)}function G1(s){var u=s==null?0:s.length;return u?Yn(s,0,-1):[]}var K1=st(function(s){var u=Ft(s,Xs);return u.length&&u[0]===s[0]?Hs(u):[]}),j1=st(function(s){var u=Qn(s),h=Ft(s,Xs);return u===Qn(h)?u=t:h.pop(),h.length&&h[0]===s[0]?Hs(h,je(u,2)):[]}),J1=st(function(s){var u=Qn(s),h=Ft(s,Xs);return u=typeof u=="function"?u:t,u&&h.pop(),h.length&&h[0]===s[0]?Hs(h,t,u):[]});function Y1(s,u){return s==null?"":Gp.call(s,u)}function Qn(s){var u=s==null?0:s.length;return u?s[u-1]:t}function Q1(s,u,h){var k=s==null?0:s.length;if(!k)return-1;var N=k;return h!==t&&(N=lt(h),N=N<0?en(k+N,0):gn(N,k-1)),u===u?Tp(s,u,N):ha(s,Ho,N,!0)}function Z1(s,u){return s&&s.length?bu(s,lt(u)):t}var X1=st(uf);function uf(s,u){return s&&s.length&&u&&u.length?Ks(s,u):s}function $1(s,u,h){return s&&s.length&&u&&u.length?Ks(s,u,je(h,2)):s}function x1(s,u,h){return s&&s.length&&u&&u.length?Ks(s,u,t,h):s}var eb=Ri(function(s,u){var h=s==null?0:s.length,k=Fs(s,u);return ku(s,Ft(u,function(N){return Di(N,h)?+N:N}).sort(Eu)),k});function tb(s,u){var h=[];if(!(s&&s.length))return h;var k=-1,N=[],O=s.length;for(u=je(u,3);++k<O;){var W=s[k];u(W,k,s)&&(h.push(W),N.push(k))}return ku(s,N),h}function co(s){return s==null?s:Yp.call(s)}function nb(s,u,h){var k=s==null?0:s.length;return k?(h&&typeof h!="number"&&wn(s,u,h)?(u=0,h=k):(u=u==null?0:lt(u),h=h===t?k:lt(h)),Yn(s,u,h)):[]}function ib(s,u){return Da(s,u)}function lb(s,u,h){return Ys(s,u,je(h,2))}function rb(s,u){var h=s==null?0:s.length;if(h){var k=Da(s,u);if(k<h&&li(s[k],u))return k}return-1}function ab(s,u){return Da(s,u,!0)}function sb(s,u,h){return Ys(s,u,je(h,2),!0)}function ob(s,u){var h=s==null?0:s.length;if(h){var k=Da(s,u,!0)-1;if(li(s[k],u))return k}return-1}function ub(s){return s&&s.length?Cu(s):[]}function fb(s,u){return s&&s.length?Cu(s,je(u,2)):[]}function cb(s){var u=s==null?0:s.length;return u?Yn(s,1,u):[]}function db(s,u,h){return s&&s.length?(u=h||u===t?1:lt(u),Yn(s,0,u<0?0:u)):[]}function hb(s,u,h){var k=s==null?0:s.length;return k?(u=h||u===t?1:lt(u),u=k-u,Yn(s,u<0?0:u,k)):[]}function gb(s,u){return s&&s.length?Va(s,je(u,3),!1,!0):[]}function _b(s,u){return s&&s.length?Va(s,je(u,3)):[]}var pb=st(function(s){return ll(on(s,1,Jt,!0))}),mb=st(function(s){var u=Qn(s);return Jt(u)&&(u=t),ll(on(s,1,Jt,!0),je(u,2))}),bb=st(function(s){var u=Qn(s);return u=typeof u=="function"?u:t,ll(on(s,1,Jt,!0),t,u)});function vb(s){return s&&s.length?ll(s):[]}function wb(s,u){return s&&s.length?ll(s,je(u,2)):[]}function kb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function ho(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(h){if(Jt(h))return u=en(h.length,u),!0}),Ls(u,function(h){return Ft(s,Ns(h))})}function ff(s,u){if(!(s&&s.length))return[];var h=ho(s);return u==null?h:Ft(h,function(k){return $t(u,t,k)})}var Sb=st(function(s,u){return Jt(s)?Er(s,u):[]}),Cb=st(function(s){return Zs(xi(s,Jt))}),yb=st(function(s){var u=Qn(s);return Jt(u)&&(u=t),Zs(xi(s,Jt),je(u,2))}),Pb=st(function(s){var u=Qn(s);return u=typeof u=="function"?u:t,Zs(xi(s,Jt),t,u)}),Nb=st(ho);function Ib(s,u){return Iu(s||[],u||[],Ar)}function Tb(s,u){return Iu(s||[],u||[],Vr)}var Lb=st(function(s){var u=s.length,h=u>1?s[u-1]:t;return h=typeof h=="function"?(s.pop(),h):t,ff(s,h)});function cf(s){var u=M(s);return u.__chain__=!0,u}function Ab(s,u){return u(s),s}function qa(s,u){return u(s)}var Eb=Ri(function(s){var u=s.length,h=u?s[0]:0,k=this.__wrapped__,N=function(O){return Fs(O,s)};return u>1||this.__actions__.length||!(k instanceof dt)||!Di(h)?this.thru(N):(k=k.slice(h,+h+(u?1:0)),k.__actions__.push({func:qa,args:[N],thisArg:t}),new jn(k,this.__chain__).thru(function(O){return u&&!O.length&&O.push(t),O}))});function Rb(){return cf(this)}function Db(){return new jn(this.value(),this.__chain__)}function Vb(){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 Mb(){return this}function Ob(s){for(var u,h=this;h instanceof Ta;){var k=lf(h);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;h=h.__wrapped__}return N.__wrapped__=s,u}function Fb(){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:qa,args:[co],thisArg:t}),new jn(u,this.__chain__)}return this.thru(co)}function Ub(){return Nu(this.__wrapped__,this.__actions__)}var zb=Ma(function(s,u,h){yt.call(s,h)?++s[h]:Ai(s,h,1)});function Bb(s,u,h){var k=nt(s)?zo:Am;return h&&wn(s,u,h)&&(u=t),k(s,je(u,3))}function Hb(s,u){var h=nt(s)?xi:uu;return h(s,je(u,3))}var Wb=Fu(rf),qb=Fu(af);function Gb(s,u){return on(Ga(s,u),1)}function Kb(s,u){return on(Ga(s,u),X)}function jb(s,u,h){return h=h===t?1:lt(h),on(Ga(s,u),h)}function df(s,u){var h=nt(s)?zt:il;return h(s,je(u,3))}function hf(s,u){var h=nt(s)?Ss:ou;return h(s,je(u,3))}var Jb=Ma(function(s,u,h){yt.call(s,h)?s[h].push(u):Ai(s,h,[u])});function Yb(s,u,h,k){s=In(s)?s:lr(s),h=h&&!k?lt(h):0;var N=s.length;return h<0&&(h=en(N+h,0)),Qa(s)?h<=N&&s.indexOf(u,h)>-1:!!N&&jl(s,u,h)>-1}var Qb=st(function(s,u,h){var k=-1,N=typeof u=="function",O=In(s)?fe(s.length):[];return il(s,function(W){O[++k]=N?$t(u,W,h):Rr(W,u,h)}),O}),Zb=Ma(function(s,u,h){Ai(s,h,u)});function Ga(s,u){var h=nt(s)?Ft:_u;return h(s,je(u,3))}function Xb(s,u,h,k){return s==null?[]:(nt(u)||(u=u==null?[]:[u]),h=k?t:h,nt(h)||(h=h==null?[]:[h]),vu(s,u,h))}var $b=Ma(function(s,u,h){s[h?0:1].push(u)},function(){return[[],[]]});function xb(s,u,h){var k=nt(s)?ys:qo,N=arguments.length<3;return k(s,je(u,4),h,N,il)}function ev(s,u,h){var k=nt(s)?dp:qo,N=arguments.length<3;return k(s,je(u,4),h,N,ou)}function tv(s,u){var h=nt(s)?xi:uu;return h(s,Ja(je(u,3)))}function nv(s){var u=nt(s)?lu:Ym;return u(s)}function iv(s,u,h){(h?wn(s,u,h):u===t)?u=1:u=lt(u);var k=nt(s)?Pm:Qm;return k(s,u)}function lv(s){var u=nt(s)?Nm:Xm;return u(s)}function rv(s){if(s==null)return 0;if(In(s))return Qa(s)?Yl(s):s.length;var u=_n(s);return u==bt||u==Zt?s.size:qs(s).length}function av(s,u,h){var k=nt(s)?Ps:$m;return h&&wn(s,u,h)&&(u=t),k(s,je(u,3))}var sv=st(function(s,u){if(s==null)return[];var h=u.length;return h>1&&wn(s,u[0],u[1])?u=[]:h>2&&wn(u[0],u[1],u[2])&&(u=[u[0]]),vu(s,on(u,1),[])}),Ka=Hp||function(){return xe.Date.now()};function ov(s,u){if(typeof u!="function")throw new Kn(a);return s=lt(s),function(){if(--s<1)return u.apply(this,arguments)}}function gf(s,u,h){return u=h?t:u,u=s&&u==null?s.length:u,Ei(s,U,t,t,t,t,u)}function _f(s,u){var h;if(typeof u!="function")throw new Kn(a);return s=lt(s),function(){return--s>0&&(h=u.apply(this,arguments)),s<=1&&(u=t),h}}var go=st(function(s,u,h){var k=C;if(h.length){var N=tl(h,nr(go));k|=V}return Ei(s,k,u,h,N)}),pf=st(function(s,u,h){var k=C|y;if(h.length){var N=tl(h,nr(pf));k|=V}return Ei(u,k,s,h,N)});function mf(s,u,h){u=h?t:u;var k=Ei(s,A,t,t,t,t,t,u);return k.placeholder=mf.placeholder,k}function bf(s,u,h){u=h?t:u;var k=Ei(s,T,t,t,t,t,t,u);return k.placeholder=bf.placeholder,k}function vf(s,u,h){var k,N,O,W,K,ee,me=0,be=!1,ye=!1,De=!0;if(typeof s!="function")throw new Kn(a);u=Zn(u)||0,Bt(h)&&(be=!!h.leading,ye="maxWait"in h,O=ye?en(Zn(h.maxWait)||0,u):O,De="trailing"in h?!!h.trailing:De);function qe(Yt){var ri=k,Oi=N;return k=N=t,me=Yt,W=s.apply(Oi,ri),W}function Je(Yt){return me=Yt,K=Fr(ft,u),be?qe(Yt):W}function rt(Yt){var ri=Yt-ee,Oi=Yt-me,Uf=u-ri;return ye?gn(Uf,O-Oi):Uf}function Ye(Yt){var ri=Yt-ee,Oi=Yt-me;return ee===t||ri>=u||ri<0||ye&&Oi>=O}function ft(){var Yt=Ka();if(Ye(Yt))return ht(Yt);K=Fr(ft,rt(Yt))}function ht(Yt){return K=t,De&&k?qe(Yt):(k=N=t,W)}function Un(){K!==t&&Tu(K),me=0,k=ee=N=K=t}function kn(){return K===t?W:ht(Ka())}function zn(){var Yt=Ka(),ri=Ye(Yt);if(k=arguments,N=this,ee=Yt,ri){if(K===t)return Je(ee);if(ye)return Tu(K),K=Fr(ft,u),qe(ee)}return K===t&&(K=Fr(ft,u)),W}return zn.cancel=Un,zn.flush=kn,zn}var uv=st(function(s,u){return su(s,1,u)}),fv=st(function(s,u,h){return su(s,Zn(u)||0,h)});function cv(s){return Ei(s,D)}function ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Kn(a);var h=function(){var k=arguments,N=u?u.apply(this,k):k[0],O=h.cache;if(O.has(N))return O.get(N);var W=s.apply(this,k);return h.cache=O.set(N,W)||O,W};return h.cache=new(ja.Cache||Li),h}ja.Cache=Li;function Ja(s){if(typeof s!="function")throw new Kn(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 dv(s){return _f(2,s)}var hv=xm(function(s,u){u=u.length==1&&nt(u[0])?Ft(u[0],Mn(je())):Ft(on(u,1),Mn(je()));var h=u.length;return st(function(k){for(var N=-1,O=gn(k.length,h);++N<O;)k[N]=u[N].call(this,k[N]);return $t(s,this,k)})}),_o=st(function(s,u){var h=tl(u,nr(_o));return Ei(s,V,t,u,h)}),wf=st(function(s,u){var h=tl(u,nr(wf));return Ei(s,E,t,u,h)}),gv=Ri(function(s,u){return Ei(s,F,t,t,t,u)});function _v(s,u){if(typeof s!="function")throw new Kn(a);return u=u===t?u:lt(u),st(s,u)}function pv(s,u){if(typeof s!="function")throw new Kn(a);return u=u==null?0:en(lt(u),0),st(function(h){var k=h[u],N=al(h,0,u);return k&&el(N,k),$t(s,this,N)})}function mv(s,u,h){var k=!0,N=!0;if(typeof s!="function")throw new Kn(a);return Bt(h)&&(k="leading"in h?!!h.leading:k,N="trailing"in h?!!h.trailing:N),vf(s,u,{leading:k,maxWait:u,trailing:N})}function bv(s){return gf(s,1)}function vv(s,u){return _o($s(u),s)}function wv(){if(!arguments.length)return[];var s=arguments[0];return nt(s)?s:[s]}function kv(s){return Jn(s,b)}function Sv(s,u){return u=typeof u=="function"?u:t,Jn(s,b,u)}function Cv(s){return Jn(s,_|b)}function yv(s,u){return u=typeof u=="function"?u:t,Jn(s,_|b,u)}function Pv(s,u){return u==null||au(s,u,rn(u))}function li(s,u){return s===u||s!==s&&u!==u}var Nv=za(Bs),Iv=za(function(s,u){return s>=u}),El=du(function(){return arguments}())?du:function(s){return Kt(s)&&yt.call(s,"callee")&&!$o.call(s,"callee")},nt=fe.isArray,Tv=Gl?Mn(Gl):Om;function In(s){return s!=null&&Ya(s.length)&&!Vi(s)}function Jt(s){return Kt(s)&&In(s)}function Lv(s){return s===!0||s===!1||Kt(s)&&vn(s)==$e}var sl=qp||No,Av=Sl?Mn(Sl):Fm;function Ev(s){return Kt(s)&&s.nodeType===1&&!Ur(s)}function Rv(s){if(s==null)return!0;if(In(s)&&(nt(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||ir(s)||El(s)))return!s.length;var u=_n(s);if(u==bt||u==Zt)return!s.size;if(Or(s))return!qs(s).length;for(var h in s)if(yt.call(s,h))return!1;return!0}function Dv(s,u){return Dr(s,u)}function Vv(s,u,h){h=typeof h=="function"?h:t;var k=h?h(s,u):t;return k===t?Dr(s,u,t,h):!!k}function po(s){if(!Kt(s))return!1;var u=vn(s);return u==Ke||u==_e||typeof s.message=="string"&&typeof s.name=="string"&&!Ur(s)}function Mv(s){return typeof s=="number"&&eu(s)}function Vi(s){if(!Bt(s))return!1;var u=vn(s);return u==at||u==qt||u==Pe||u==Bi}function kf(s){return typeof s=="number"&&s==lt(s)}function Ya(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=pe}function Bt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Kt(s){return s!=null&&typeof s=="object"}var Sf=ks?Mn(ks):zm;function Ov(s,u){return s===u||Ws(s,u,ro(u))}function Fv(s,u,h){return h=typeof h=="function"?h:t,Ws(s,u,ro(u),h)}function Uv(s){return Cf(s)&&s!=+s}function zv(s){if(S1(s))throw new et(r);return hu(s)}function Bv(s){return s===null}function Hv(s){return s==null}function Cf(s){return typeof s=="number"||Kt(s)&&vn(s)==Vt}function Ur(s){if(!Kt(s)||vn(s)!=Ut)return!1;var u=ka(s);if(u===null)return!0;var h=yt.call(u,"constructor")&&u.constructor;return typeof h=="function"&&h instanceof h&&ma.call(h)==Fp}var mo=Kl?Mn(Kl):Bm;function Wv(s){return kf(s)&&s>=-pe&&s<=pe}var yf=ca?Mn(ca):Hm;function Qa(s){return typeof s=="string"||!nt(s)&&Kt(s)&&vn(s)==Rn}function Fn(s){return typeof s=="symbol"||Kt(s)&&vn(s)==ei}var ir=Cl?Mn(Cl):Wm;function qv(s){return s===t}function Gv(s){return Kt(s)&&_n(s)==nn}function Kv(s){return Kt(s)&&vn(s)==bn}var jv=za(Gs),Jv=za(function(s,u){return s<=u});function Pf(s){if(!s)return[];if(In(s))return Qa(s)?ni(s):Nn(s);if(Pr&&s[Pr])return Pp(s[Pr]());var u=_n(s),h=u==bt?Es:u==Zt?ga:lr;return h(s)}function Mi(s){if(!s)return s===0?s:0;if(s=Zn(s),s===X||s===-X){var u=s<0?-1:1;return u*ne}return s===s?s:0}function lt(s){var u=Mi(s),h=u%1;return u===u?h?u-h:u:0}function Nf(s){return s?Il(lt(s),0,ve):0}function Zn(s){if(typeof s=="number")return s;if(Fn(s))return oe;if(Bt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Bt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Go(s);var h=zl.test(s);return h||ji.test(s)?$i(s.slice(2),h?2:8):vl.test(s)?oe:+s}function If(s){return ci(s,Tn(s))}function Yv(s){return s?Il(lt(s),-pe,pe):s===0?s:0}function St(s){return s==null?"":On(s)}var Qv=er(function(s,u){if(Or(u)||In(u)){ci(u,rn(u),s);return}for(var h in u)yt.call(u,h)&&Ar(s,h,u[h])}),Tf=er(function(s,u){ci(u,Tn(u),s)}),Za=er(function(s,u,h,k){ci(u,Tn(u),s,k)}),Zv=er(function(s,u,h,k){ci(u,rn(u),s,k)}),Xv=Ri(Fs);function $v(s,u){var h=xl(s);return u==null?h:ru(h,u)}var xv=st(function(s,u){s=Lt(s);var h=-1,k=u.length,N=k>2?u[2]:t;for(N&&wn(u[0],u[1],N)&&(k=1);++h<k;)for(var O=u[h],W=Tn(O),K=-1,ee=W.length;++K<ee;){var me=W[K],be=s[me];(be===t||li(be,Zl[me])&&!yt.call(s,me))&&(s[me]=O[me])}return s}),e0=st(function(s){return s.push(t,Gu),$t(Lf,t,s)});function t0(s,u){return Bo(s,je(u,3),fi)}function n0(s,u){return Bo(s,je(u,3),zs)}function i0(s,u){return s==null?s:Us(s,je(u,3),Tn)}function l0(s,u){return s==null?s:fu(s,je(u,3),Tn)}function r0(s,u){return s&&fi(s,je(u,3))}function a0(s,u){return s&&zs(s,je(u,3))}function s0(s){return s==null?[]:Ea(s,rn(s))}function o0(s){return s==null?[]:Ea(s,Tn(s))}function bo(s,u,h){var k=s==null?t:Tl(s,u);return k===t?h:k}function u0(s,u){return s!=null&&Ju(s,u,Rm)}function vo(s,u){return s!=null&&Ju(s,u,Dm)}var f0=zu(function(s,u,h){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),s[u]=h},ko(Ln)),c0=zu(function(s,u,h){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),yt.call(s,u)?s[u].push(h):s[u]=[h]},je),d0=st(Rr);function rn(s){return In(s)?iu(s):qs(s)}function Tn(s){return In(s)?iu(s,!0):qm(s)}function h0(s,u){var h={};return u=je(u,3),fi(s,function(k,N,O){Ai(h,u(k,N,O),k)}),h}function g0(s,u){var h={};return u=je(u,3),fi(s,function(k,N,O){Ai(h,N,u(k,N,O))}),h}var _0=er(function(s,u,h){Ra(s,u,h)}),Lf=er(function(s,u,h,k){Ra(s,u,h,k)}),p0=Ri(function(s,u){var h={};if(s==null)return h;var k=!1;u=Ft(u,function(O){return O=rl(O,s),k||(k=O.length>1),O}),ci(s,io(s),h),k&&(h=Jn(h,_|p|b,f1));for(var N=u.length;N--;)Qs(h,u[N]);return h});function m0(s,u){return Af(s,Ja(je(u)))}var b0=Ri(function(s,u){return s==null?{}:Km(s,u)});function Af(s,u){if(s==null)return{};var h=Ft(io(s),function(k){return[k]});return u=je(u),wu(s,h,function(k,N){return u(k,N[0])})}function v0(s,u,h){u=rl(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var O=s==null?t:s[di(u[k])];O===t&&(k=N,O=h),s=Vi(O)?O.call(s):O}return s}function w0(s,u,h){return s==null?s:Vr(s,u,h)}function k0(s,u,h,k){return k=typeof k=="function"?k:t,s==null?s:Vr(s,u,h,k)}var Ef=Wu(rn),Rf=Wu(Tn);function S0(s,u,h){var k=nt(s),N=k||sl(s)||ir(s);if(u=je(u,4),h==null){var O=s&&s.constructor;N?h=k?new O:[]:Bt(s)?h=Vi(O)?xl(ka(s)):{}:h={}}return(N?zt:fi)(s,function(W,K,ee){return u(h,W,K,ee)}),h}function C0(s,u){return s==null?!0:Qs(s,u)}function y0(s,u,h){return s==null?s:Pu(s,u,$s(h))}function P0(s,u,h,k){return k=typeof k=="function"?k:t,s==null?s:Pu(s,u,$s(h),k)}function lr(s){return s==null?[]:As(s,rn(s))}function N0(s){return s==null?[]:As(s,Tn(s))}function I0(s,u,h){return h===t&&(h=u,u=t),h!==t&&(h=Zn(h),h=h===h?h:0),u!==t&&(u=Zn(u),u=u===u?u:0),Il(Zn(s),u,h)}function T0(s,u,h){return u=Mi(u),h===t?(h=u,u=0):h=Mi(h),s=Zn(s),Vm(s,u,h)}function L0(s,u,h){if(h&&typeof h!="boolean"&&wn(s,u,h)&&(u=h=t),h===t&&(typeof u=="boolean"?(h=u,u=t):typeof s=="boolean"&&(h=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Mi(s),u===t?(u=s,s=0):u=Mi(u)),s>u){var k=s;s=u,u=k}if(h||s%1||u%1){var N=tu();return gn(s+N*(u-s+Cr("1e-"+((N+"").length-1))),u)}return js(s,u)}var A0=tr(function(s,u,h){return u=u.toLowerCase(),s+(h?Df(u):u)});function Df(s){return wo(St(s).toLowerCase())}function Vf(s){return s=St(s),s&&s.replace(kl,wp).replace(ws,"")}function E0(s,u,h){s=St(s),u=On(u);var k=s.length;h=h===t?k:Il(lt(h),0,k);var N=h;return h-=u.length,h>=0&&s.slice(h,N)==u}function R0(s){return s=St(s),s&&oi.test(s)?s.replace(Wi,kp):s}function D0(s){return s=St(s),s&&Ct.test(s)?s.replace(ut,"\\$&"):s}var V0=tr(function(s,u,h){return s+(h?"-":"")+u.toLowerCase()}),M0=tr(function(s,u,h){return s+(h?" ":"")+u.toLowerCase()}),O0=Ou("toLowerCase");function F0(s,u,h){s=St(s),u=lt(u);var k=u?Yl(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ua(Pa(N),h)+s+Ua(ya(N),h)}function U0(s,u,h){s=St(s),u=lt(u);var k=u?Yl(s):0;return u&&k<u?s+Ua(u-k,h):s}function z0(s,u,h){s=St(s),u=lt(u);var k=u?Yl(s):0;return u&&k<u?Ua(u-k,h)+s:s}function B0(s,u,h){return h||u==null?u=0:u&&(u=+u),Jp(St(s).replace(jt,""),u||0)}function H0(s,u,h){return(h?wn(s,u,h):u===t)?u=1:u=lt(u),Js(St(s),u)}function W0(){var s=arguments,u=St(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var q0=tr(function(s,u,h){return s+(h?"_":"")+u.toLowerCase()});function G0(s,u,h){return h&&typeof h!="number"&&wn(s,u,h)&&(u=h=t),h=h===t?ve:h>>>0,h?(s=St(s),s&&(typeof u=="string"||u!=null&&!mo(u))&&(u=On(u),!u&&Jl(s))?al(ni(s),0,h):s.split(u,h)):[]}var K0=tr(function(s,u,h){return s+(h?" ":"")+wo(u)});function j0(s,u,h){return s=St(s),h=h==null?0:Il(lt(h),0,s.length),u=On(u),s.slice(h,h+u.length)==u}function J0(s,u,h){var k=M.templateSettings;h&&wn(s,u,h)&&(u=t),s=St(s),u=Za({},u,k,qu);var N=Za({},u.imports,k.imports,qu),O=rn(N),W=As(N,O),K,ee,me=0,be=u.interpolate||ui,ye="__p += '",De=Rs((u.escape||ui).source+"|"+be.source+"|"+(be===Gi?yn:ui).source+"|"+(u.evaluate||ui).source+"|$","g"),qe="//# sourceURL="+(yt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ve+"]")+`
|
|
36
|
+
`;s.replace(De,function(Ye,ft,ht,Un,kn,zn){return ht||(ht=Un),ye+=s.slice(me,zn).replace(Bl,Sp),ft&&(K=!0,ye+=`' +
|
|
37
37
|
__e(`+ft+`) +
|
|
38
38
|
'`),kn&&(ee=!0,ye+=`';
|
|
39
39
|
`+kn+`;
|
|
@@ -49,16 +49,16 @@ __p += '`),ht&&(ye+=`' +
|
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
|
50
50
|
`:`;
|
|
51
51
|
`)+ye+`return __p
|
|
52
|
-
}`;var rt=Mf(function(){return kt(M,We+"return "+ye).apply(t,W)});if(rt.source=ye,po(rt))throw rt;return rt}function Y0(s){return St(s).toLowerCase()}function Q0(s){return St(s).toUpperCase()}function Z0(s,u,h){if(s=St(s),s&&(h||u===t))return Go(s);if(!s||!(u=Mn(u)))return s;var k=ni(s),N=ni(u),M=Ko(k,N),W=jo(k,N)+1;return al(k,M,W).join("")}function X0(s,u,h){if(s=St(s),s&&(h||u===t))return s.slice(0,Yo(s)+1);if(!s||!(u=Mn(u)))return s;var k=ni(s),N=jo(k,ni(u))+1;return al(k,0,N).join("")}function $0(s,u,h){if(s=St(s),s&&(h||u===t))return s.replace(jt,"");if(!s||!(u=Mn(u)))return s;var k=ni(s),N=Ko(k,ni(u));return al(k,N).join("")}function x0(s,u){var h=Z,k=j;if(Bt(u)){var N="separator"in u?u.separator:N;h="length"in u?lt(u.length):h,k="omission"in u?Mn(u.omission):k}s=St(s);var M=s.length;if(Jl(s)){var W=ni(s);M=W.length}if(h>=M)return s;var K=h-Yl(k);if(K<1)return k;var ee=W?al(W,0,K).join(""):s.slice(0,K);if(N===t)return ee+k;if(W&&(K+=ee.length-K),mo(N)){if(s.slice(K).search(N)){var me,be=ee;for(N.global||(N=Rs(N.source,St(Ki.exec(N))+"g")),N.lastIndex=0;me=N.exec(be);)var ye=me.index;ee=ee.slice(0,ye===t?K:ye)}}else if(s.indexOf(Mn(N),K)!=K){var Re=ee.lastIndexOf(N);Re>-1&&(ee=ee.slice(0,Re))}return ee+k}function ew(s){return s=St(s),s&&qi.test(s)?s.replace(Ni,Lp):s}var tw=tr(function(s,u,h){return s+(h?" ":"")+u.toUpperCase()}),wo=Mu("toUpperCase");function Of(s,u,h){return s=St(s),u=h?t:u,u===t?yp(s)?Rp(s):_p(s):s.match(u)||[]}var Mf=st(function(s,u){try{return $t(s,t,u)}catch(h){return po(h)?h:new et(h)}}),nw=Ri(function(s,u){return zt(u,function(h){h=di(h),Ai(s,h,go(s[h],s))}),s});function iw(s){var u=s==null?0:s.length,h=je();return s=u?Ft(s,function(k){if(typeof k[1]!="function")throw new Kn(a);return[h(k[0]),k[1]]}):[],st(function(k){for(var N=-1;++N<u;){var M=s[N];if($t(M[0],this,k))return $t(M[1],this,k)}})}function lw(s){return Lm(Jn(s,_))}function ko(s){return function(){return s}}function rw(s,u){return s==null||s!==s?u:s}var aw=Uu(),sw=Uu(!0);function Ln(s){return s}function So(s){return gu(typeof s=="function"?s:Jn(s,_))}function ow(s){return pu(Jn(s,_))}function uw(s,u){return mu(s,Jn(u,_))}var fw=st(function(s,u){return function(h){return Rr(h,s,u)}}),cw=st(function(s,u){return function(h){return Rr(s,h,u)}});function Co(s,u,h){var k=rn(u),N=Ea(u,k);h==null&&!(Bt(u)&&(N.length||!k.length))&&(h=u,u=s,s=this,N=Ea(u,rn(u)));var M=!(Bt(h)&&"chain"in h)||!!h.chain,W=Vi(s);return zt(N,function(K){var ee=u[K];s[K]=ee,W&&(s.prototype[K]=function(){var me=this.__chain__;if(M||me){var be=s(this.__wrapped__),ye=be.__actions__=Nn(this.__actions__);return ye.push({func:ee,args:arguments,thisArg:s}),be.__chain__=me,be}return ee.apply(s,el([this.value()],arguments))})}),s}function dw(){return xe._===this&&(xe._=Up),this}function yo(){}function hw(s){return s=lt(s),st(function(u){return bu(u,s)})}var gw=eo(Ft),_w=eo(zo),pw=eo(Ps);function Ff(s){return so(s)?Ns(di(s)):jm(s)}function mw(s){return function(u){return s==null?t:Tl(s,u)}}var bw=Bu(),vw=Bu(!0);function Po(){return[]}function No(){return!1}function ww(){return{}}function kw(){return""}function Sw(){return!0}function Cw(s,u){if(s=lt(s),s<1||s>pe)return[];var h=ve,k=gn(s,ve);u=je(u),s-=ve;for(var N=Ls(k,u);++h<s;)u(h);return N}function yw(s){return nt(s)?Ft(s,di):Fn(s)?[s]:Nn(nf(St(s)))}function Pw(s){var u=++Mp;return St(s)+u}var Nw=Fa(function(s,u){return s+u},0),Iw=to("ceil"),Tw=Fa(function(s,u){return s/u},1),Lw=to("floor");function Aw(s){return s&&s.length?Aa(s,Ln,Bs):t}function Ew(s,u){return s&&s.length?Aa(s,je(u,2),Bs):t}function Rw(s){return Wo(s,Ln)}function Dw(s,u){return Wo(s,je(u,2))}function Vw(s){return s&&s.length?Aa(s,Ln,Gs):t}function Ow(s,u){return s&&s.length?Aa(s,je(u,2),Gs):t}var Mw=Fa(function(s,u){return s*u},1),Fw=to("round"),Uw=Fa(function(s,u){return s-u},0);function zw(s){return s&&s.length?Ts(s,Ln):0}function Bw(s,u){return s&&s.length?Ts(s,je(u,2)):0}return O.after=ov,O.ary=gf,O.assign=Qv,O.assignIn=Tf,O.assignInWith=Za,O.assignWith=Zv,O.at=Xv,O.before=_f,O.bind=go,O.bindAll=nw,O.bindKey=pf,O.castArray=wv,O.chain=cf,O.chunk=L1,O.compact=A1,O.concat=E1,O.cond=iw,O.conforms=lw,O.constant=ko,O.countBy=zb,O.create=$v,O.curry=mf,O.curryRight=bf,O.debounce=vf,O.defaults=xv,O.defaultsDeep=e0,O.defer=uv,O.delay=fv,O.difference=R1,O.differenceBy=D1,O.differenceWith=V1,O.drop=O1,O.dropRight=M1,O.dropRightWhile=F1,O.dropWhile=U1,O.fill=z1,O.filter=Hb,O.flatMap=Gb,O.flatMapDeep=Kb,O.flatMapDepth=jb,O.flatten=sf,O.flattenDeep=B1,O.flattenDepth=H1,O.flip=cv,O.flow=aw,O.flowRight=sw,O.fromPairs=W1,O.functions=s0,O.functionsIn=o0,O.groupBy=Jb,O.initial=G1,O.intersection=K1,O.intersectionBy=j1,O.intersectionWith=J1,O.invert=f0,O.invertBy=c0,O.invokeMap=Qb,O.iteratee=So,O.keyBy=Zb,O.keys=rn,O.keysIn=Tn,O.map=Ga,O.mapKeys=h0,O.mapValues=g0,O.matches=ow,O.matchesProperty=uw,O.memoize=ja,O.merge=_0,O.mergeWith=Lf,O.method=fw,O.methodOf=cw,O.mixin=Co,O.negate=Ja,O.nthArg=hw,O.omit=p0,O.omitBy=m0,O.once=dv,O.orderBy=Xb,O.over=gw,O.overArgs=hv,O.overEvery=_w,O.overSome=pw,O.partial=_o,O.partialRight=wf,O.partition=$b,O.pick=b0,O.pickBy=Af,O.property=Ff,O.propertyOf=mw,O.pull=X1,O.pullAll=uf,O.pullAllBy=$1,O.pullAllWith=x1,O.pullAt=eb,O.range=bw,O.rangeRight=vw,O.rearg=gv,O.reject=tv,O.remove=tb,O.rest=_v,O.reverse=co,O.sampleSize=iv,O.set=w0,O.setWith=k0,O.shuffle=lv,O.slice=nb,O.sortBy=sv,O.sortedUniq=ub,O.sortedUniqBy=fb,O.split=G0,O.spread=pv,O.tail=cb,O.take=db,O.takeRight=hb,O.takeRightWhile=gb,O.takeWhile=_b,O.tap=Ab,O.throttle=mv,O.thru=qa,O.toArray=Pf,O.toPairs=Ef,O.toPairsIn=Rf,O.toPath=yw,O.toPlainObject=If,O.transform=S0,O.unary=bv,O.union=pb,O.unionBy=mb,O.unionWith=bb,O.uniq=vb,O.uniqBy=wb,O.uniqWith=kb,O.unset=C0,O.unzip=ho,O.unzipWith=ff,O.update=y0,O.updateWith=P0,O.values=lr,O.valuesIn=N0,O.without=Sb,O.words=Of,O.wrap=vv,O.xor=Cb,O.xorBy=yb,O.xorWith=Pb,O.zip=Nb,O.zipObject=Ib,O.zipObjectDeep=Tb,O.zipWith=Lb,O.entries=Ef,O.entriesIn=Rf,O.extend=Tf,O.extendWith=Za,Co(O,O),O.add=Nw,O.attempt=Mf,O.camelCase=A0,O.capitalize=Df,O.ceil=Iw,O.clamp=I0,O.clone=kv,O.cloneDeep=Cv,O.cloneDeepWith=yv,O.cloneWith=Sv,O.conformsTo=Pv,O.deburr=Vf,O.defaultTo=rw,O.divide=Tw,O.endsWith=E0,O.eq=li,O.escape=R0,O.escapeRegExp=D0,O.every=Bb,O.find=Wb,O.findIndex=rf,O.findKey=t0,O.findLast=qb,O.findLastIndex=af,O.findLastKey=n0,O.floor=Lw,O.forEach=df,O.forEachRight=hf,O.forIn=i0,O.forInRight=l0,O.forOwn=r0,O.forOwnRight=a0,O.get=bo,O.gt=Nv,O.gte=Iv,O.has=u0,O.hasIn=vo,O.head=of,O.identity=Ln,O.includes=Yb,O.indexOf=q1,O.inRange=T0,O.invoke=d0,O.isArguments=El,O.isArray=nt,O.isArrayBuffer=Tv,O.isArrayLike=In,O.isArrayLikeObject=Jt,O.isBoolean=Lv,O.isBuffer=sl,O.isDate=Av,O.isElement=Ev,O.isEmpty=Rv,O.isEqual=Dv,O.isEqualWith=Vv,O.isError=po,O.isFinite=Ov,O.isFunction=Vi,O.isInteger=kf,O.isLength=Ya,O.isMap=Sf,O.isMatch=Mv,O.isMatchWith=Fv,O.isNaN=Uv,O.isNative=zv,O.isNil=Hv,O.isNull=Bv,O.isNumber=Cf,O.isObject=Bt,O.isObjectLike=Kt,O.isPlainObject=Ur,O.isRegExp=mo,O.isSafeInteger=Wv,O.isSet=yf,O.isString=Qa,O.isSymbol=Fn,O.isTypedArray=ir,O.isUndefined=qv,O.isWeakMap=Gv,O.isWeakSet=Kv,O.join=Y1,O.kebabCase=V0,O.last=Qn,O.lastIndexOf=Q1,O.lowerCase=O0,O.lowerFirst=M0,O.lt=jv,O.lte=Jv,O.max=Aw,O.maxBy=Ew,O.mean=Rw,O.meanBy=Dw,O.min=Vw,O.minBy=Ow,O.stubArray=Po,O.stubFalse=No,O.stubObject=ww,O.stubString=kw,O.stubTrue=Sw,O.multiply=Mw,O.nth=Z1,O.noConflict=dw,O.noop=yo,O.now=Ka,O.pad=F0,O.padEnd=U0,O.padStart=z0,O.parseInt=B0,O.random=L0,O.reduce=xb,O.reduceRight=ev,O.repeat=H0,O.replace=W0,O.result=v0,O.round=Fw,O.runInContext=x,O.sample=nv,O.size=rv,O.snakeCase=q0,O.some=av,O.sortedIndex=ib,O.sortedIndexBy=lb,O.sortedIndexOf=rb,O.sortedLastIndex=ab,O.sortedLastIndexBy=sb,O.sortedLastIndexOf=ob,O.startCase=K0,O.startsWith=j0,O.subtract=Uw,O.sum=zw,O.sumBy=Bw,O.template=J0,O.times=Cw,O.toFinite=Oi,O.toInteger=lt,O.toLength=Nf,O.toLower=Y0,O.toNumber=Zn,O.toSafeInteger=Yv,O.toString=St,O.toUpper=Q0,O.trim=Z0,O.trimEnd=X0,O.trimStart=$0,O.truncate=x0,O.unescape=ew,O.uniqueId=Pw,O.upperCase=tw,O.upperFirst=wo,O.each=df,O.eachRight=hf,O.first=of,Co(O,function(){var s={};return fi(O,function(u,h){yt.call(O.prototype,h)||(s[h]=u)}),s}(),{chain:!1}),O.VERSION=n,zt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){O[s].placeholder=O}),zt(["drop","take"],function(s,u){dt.prototype[s]=function(h){h=h===t?1:en(lt(h),0);var k=this.__filtered__&&!u?new dt(this):this.clone();return k.__filtered__?k.__takeCount__=gn(h,k.__takeCount__):k.__views__.push({size:gn(h,ve),type:s+(k.__dir__<0?"Right":"")}),k},dt.prototype[s+"Right"]=function(h){return this.reverse()[s](h).reverse()}}),zt(["filter","map","takeWhile"],function(s,u){var h=u+1,k=h==te||h==Y;dt.prototype[s]=function(N){var M=this.clone();return M.__iteratees__.push({iteratee:je(N,3),type:h}),M.__filtered__=M.__filtered__||k,M}}),zt(["head","last"],function(s,u){var h="take"+(u?"Right":"");dt.prototype[s]=function(){return this[h](1).value()[0]}}),zt(["initial","tail"],function(s,u){var h="drop"+(u?"":"Right");dt.prototype[s]=function(){return this.__filtered__?new dt(this):this[h](1)}}),dt.prototype.compact=function(){return this.filter(Ln)},dt.prototype.find=function(s){return this.filter(s).head()},dt.prototype.findLast=function(s){return this.reverse().find(s)},dt.prototype.invokeMap=st(function(s,u){return typeof s=="function"?new dt(this):this.map(function(h){return Rr(h,s,u)})}),dt.prototype.reject=function(s){return this.filter(Ja(je(s)))},dt.prototype.slice=function(s,u){s=lt(s);var h=this;return h.__filtered__&&(s>0||u<0)?new dt(h):(s<0?h=h.takeRight(-s):s&&(h=h.drop(s)),u!==t&&(u=lt(u),h=u<0?h.dropRight(-u):h.take(u-s)),h)},dt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},dt.prototype.toArray=function(){return this.take(ve)},fi(dt.prototype,function(s,u){var h=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=O[k?"take"+(u=="last"?"Right":""):u],M=k||/^find/.test(u);N&&(O.prototype[u]=function(){var W=this.__wrapped__,K=k?[1]:arguments,ee=W instanceof dt,me=K[0],be=ee||nt(W),ye=function(ft){var ht=N.apply(O,el([ft],K));return k&&Re?ht[0]:ht};be&&h&&typeof me=="function"&&me.length!=1&&(ee=be=!1);var Re=this.__chain__,We=!!this.__actions__.length,Je=M&&!Re,rt=ee&&!We;if(!M&&be){W=rt?W:new dt(this);var Ye=s.apply(W,K);return Ye.__actions__.push({func:qa,args:[ye],thisArg:t}),new jn(Ye,Re)}return Je&&rt?s.apply(this,K):(Ye=this.thru(ye),Je?k?Ye.value()[0]:Ye.value():Ye)})}),zt(["pop","push","shift","sort","splice","unshift"],function(s){var u=_a[s],h=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);O.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var M=this.value();return u.apply(nt(M)?M:[],N)}return this[h](function(W){return u.apply(nt(W)?W:[],N)})}}),fi(dt.prototype,function(s,u){var h=O[u];if(h){var k=h.name+"";yt.call($l,k)||($l[k]=[]),$l[k].push({name:u,func:h})}}),$l[Ma(t,y).name]=[{name:"wrapper",func:t}],dt.prototype.clone=em,dt.prototype.reverse=tm,dt.prototype.value=nm,O.prototype.at=Eb,O.prototype.chain=Rb,O.prototype.commit=Db,O.prototype.next=Vb,O.prototype.plant=Mb,O.prototype.reverse=Fb,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=Ub,O.prototype.first=O.prototype.head,Pr&&(O.prototype[Pr]=Ob),O},Ql=Dp();Mt?((Mt.exports=Ql)._=Ql,Pt._=Ql):xe._=Ql}).call(Br)})(ss,ss.exports);var qr=ss.exports;class D2{getNodePath(e,t){return e?we.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Rt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Rt.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),g=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=g?we.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const _=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return ae.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=we.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=we.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=we.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ae.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&we.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ae.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ae.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,g=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),_=await we.getDefaultChildNode(d);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await we.getDefaultChildNode(n,async(g,d)=>await Rt.getChildren(g,d));if(n.isExistingRoute){const g=le.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const g=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await we.getDefaultChildNode(g);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:_}=await Rt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,g,t)||await this.handlePageNotFound(d,p,_,o,t,g,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=we.parseParams(g.split("?")[1]),v=we.getNodeParams(m),C=ue.findViewGroup(d),y=decodeURIComponent(g.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let A=!1,T=P;for(;T;){if(T.tabNav===!0){A=!0;break}else if(T.tabNav===!1){A=!1;break}else if(le.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){A=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){A=!1;break}else{A=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=ue.getParentNode(T,_.navigationPath)}let V=P,E=d.hideSideNav;if(E===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){E=!0;break}if(V.hideSideNav===!1){E=!1;break}V=ue.getParentNode(V,_.navigationPath)}const U=we.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=U;const F={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:_.navigationPath,context:U,pathParams:_.pathParams,hideSideNav:E||!1,isolateView:d.isolateView||!1,tabNav:A};t.set(Object.assign({},F,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let D=document.getElementsByClassName("iframeContainer")[0];if(D&&(A?D.classList.add("iframeContainerTabNav"):D.classList.contains("iframeContainerTabNav")&&D.classList.remove("iframeContainerTabNav")),d.compound)ai.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ai.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const j=document.querySelector(".wcContainer");if(j&&(j.configChangedRequest=!1),D&&(D.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await ai.navigateIframe(l,t,n);else{const Q=t.get(),de=await t.prepareInternalData(l);Ae.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(de),withoutSync:!0})}}const Z=document.querySelector(".lui-tab-header");Z&&Z.dispatchEvent(new Event("lui_ctx_update")),Rt.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 Rt.extractDataFromPath(e);Y_.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)){Bn.deleteNodesRecursively(c);break}}else r=!1}}else Bn.deleteCache()}handleRouteClick(e,t){const n=we.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=ai.getActiveIframe(r);a&&a.vg&&ai.canCache(a.vg)?(ai.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{ai.switchActiveIframe(Ae.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=we.getPageNotFoundRedirectResult(n,l),o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}we.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...N2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=we.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ur.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&ur.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&qr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>ue.checkVisibleForFeatureToggles(a))),ur.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=we.getHashQueryParamSeparator();const r=we.getQueryParams(),a=we.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${we.encodeParams(r)}`}else o.search=`?${we.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=we.getHashQueryParamSeparator();const l=we.getQueryParams(),r=we.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let g=history.state,d,_;if(c){let[p,b]=o.hash.split("?");d=p,_=we.getURLWithoutModalData(b,r),_&&(d+="?"+_)}else d=o.pathname,_=we.getURLWithoutModalData(o.search,r),_&&(d+="?"+we.getURLWithoutModalData(o.search,r));if(g=we.handleHistoryState(g,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${we.encodeParams(l)}`}else o.search=`?${we.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;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 D2;class V2{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=Ae.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=we.parseParams(n.split("?")[1]),a=we.getNodeParams(r),o=we.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){ur.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(le.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ae.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ae.getIframeContainer().style.marginBottom="",ot.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ae.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ae.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ae.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ot=new V2;class O2{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Yr.hideAppLoadingIndicator()},0)}}const M2=new O2;class F2{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 si=new F2;class U2{constructor(){return this._userInfoStore=fr({}),this._loggedInStore=fr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ae.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ae.getConfigValue(`auth.${e}`),n=fl.parseUrlAuthErrors()||{};if(await fl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await gi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ol(this._userInfoStore))),le.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&si.isNewlyAuthorized()&&await gi.handleAuthEvent("onAuthSuccessful",e,t),si.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{si.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await gi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),si.removeAuthData()},n=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await gi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const sn=new U2;class z2{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Gr=new z2;class B2{getStoredAuthData(){return si.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await gi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const fl=new B2;class H2{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"),_=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(_,`</${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)),_=`<a id="${g}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,_),links:a.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const dr=new H2;class W2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!a&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return l2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ae.getConfigValue("settings.customSandboxRules"),c=ae.getConfigValue("settings.allowRules"),g=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Gr.hasDecorators()?Gr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=g.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const _=ae.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(_))try{_(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ae.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ae.specialIframeTypes.filter(n=>Ae.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Fo.getActiveFeatureToggleList(),currentLocale:wt.getCurrentLocale(),currentTheme:Ro.getCurrentTheme()}}}const Ae=new W2;class q2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=qr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),qr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ae.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ae.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Ui.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!ae.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=ae._remotePromises;return l||(l={counter:0,promises:[]},ae._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return ae._remotePromises?ae._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new q2;class G2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ae.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Fo.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(gi.isAuthorizationEnabled()){const r=fl.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ae.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=ae.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=g=>{g.sort((d,_)=>{const p=d.order||0,b=_.order||0;return p-b})};return e.forEach(g=>{let d,_;const p=g[t];le.isObject(p)?(d=p.id?p.id:p.label,_=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),_={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=_),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+d:d),g.hideFromNav||b.push(g)}),Object.keys(r).forEach(g=>{const d=r[g].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=ae.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":wt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Rt.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let _;const p=!!d.badgeCounter;if(p&&(_=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>_};else if(p){const m=a[b].badgeCounter.count()+_;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(a[b]);a[b].children.push(d)}else o.push(d);_&&c.push(_)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Rt.getChildren(o[d])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((_,p)=>_+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(le.isObject(e)||e===!0){const t=e.navExpanded?wt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?wt.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 Rt.extractDataFromPath(e);return!!await Rt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:qr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(d=>{try{const _=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{qr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=wt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return ae.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:ue.prepareForTests(e.pathSegment,e.label)}}const ue=new G2;class K2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await ls.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=ae.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ae.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ae.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=we.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?we.parseParams(we.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return we.getLocation().search?we.parseParams(we.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ae.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=ae.getConfigValue("routing.useHashRouting");En.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?it.getHashPath():it.getModifiedPathname();e(l)}}),En.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+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=we.getRouteLink(e,t,ae.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(ae.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=we.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=wt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];ul.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ul.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[dr.sanitizeParam(n[0])]=dr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Fo.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=ae.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=ae.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,g],d)=>{r+=`${d>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in ul.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ul.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&ul.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=ae.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)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:wt.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 K2;class j2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const un=new j2;class J2{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 En=new J2;class Y2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const Q2=new Y2;class Z2{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),n=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const sr=new Z2;class X2{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 Gf=new X2;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=S("div"),t=S("p"),l=H(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=H(),f(t,"class","fd-message-strip__text svelte-dkyena"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){L(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,a),c||(g=ie(r,"click",d),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena")&&f(e,"class",o)},d(_){_&&I(e),c=!1,g()}}}function $2(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=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-dkyena"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=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:Be,o:Be,d(l){l&&I(e),ct(n,l),i[5](null)}}}function x2(i,e,t){const n=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=mt("getUnsavedChangesModalPromise"),c=mt("handleNavigation");Hn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=dr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{g(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Qt(()=>{});function g(p,b){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function _(p){Xe[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,_]}class ek extends Et{constructor(e){super(),At(this,e,x2,$2,It,{alertQueue:0,alertTypeMap:1})}}const Vl=38,zi=40,mi=13,_i=27,Kr=32,tk=36,nk=35;function Jf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=$n(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=$n(n[3](n[0].icon))+" svelte-lzffuc")&&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=S("div"),t=S("button"),l=Te(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ie(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Le(l,n)},d(o){o&&I(e),r=!1,a()}}}function ik(i){let e,t,n,l,r,a,o,c=i[0].header+"",g,d,_,p=i[0].body+"",b,m,v,C,y,P,A=i[0].buttonDismiss+"",T,V,E,U,F,D=i[0].type&&Jf(i),Z=i[0].buttonConfirm!==!1&&Yf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),D&&D.c(),a=H(),o=S("h2"),g=Te(c),d=H(),_=S("div"),b=H(),m=S("footer"),v=S("div"),Z&&Z.c(),C=H(),y=S("div"),P=S("button"),T=Te(A),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(j,Q){L(j,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),D&&D.m(r,null),w(r,a),w(r,o),w(o,g),w(t,d),w(t,_),_.innerHTML=p,w(t,b),w(t,m),w(m,v),Z&&Z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,T),U||(F=[ie(window,"keydown",i[1]),ie(P,"click",i[5])],U=!0)},p(j,[Q]){j[0].type?D?D.p(j,Q):(D=Jf(j),D.c(),D.m(r,a)):D&&(D.d(1),D=null),Q&1&&c!==(c=j[0].header+"")&&Le(g,c),Q&1&&p!==(p=j[0].body+"")&&(_.innerHTML=p),j[0].buttonConfirm!==!1?Z?Z.p(j,Q):(Z=Yf(j),Z.c(),Z.m(v,C)):Z&&(Z.d(1),Z=null),Q&1&&A!==(A=j[0].buttonDismiss+"")&&Le(T,A),Q&1&&V!==(V="fd-button "+(j[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Q&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+j[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Be,o:Be,d(j){j&&I(e),D&&D.d(),Z&&Z.d(),U=!1,Qe(F)}}}function lk(i,e,t){const n=Wt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Qt(()=>{const d={icon:r[l.type],header:wt.getTranslation("luigi.confirmationModal.header"),body:wt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:wt.getTranslation("luigi.button.dismiss"),buttonConfirm:wt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:dr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function a(d){return ue.renderIconClassName(d)}function o(d){d.keyCode===_i&&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 rk extends Et{constructor(e){super(),At(this,e,lk,ik,It,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function ak(i){let e,t,n;const l=i[5].default,r=R_(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&O_(r,l,a,a[4],n?V_(l,a[4],o,null):M_(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){z(r,a),n=!1},d(a){a&&I(e),r&&r.d(a)}}}function sk(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Wt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:d}=e,{disable:_}=e;const p=()=>{const m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,a=m+g.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return Qt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),En.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&_!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.enableA11yOfInactiveIframe()))}))}),Hn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,_=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,_,l,n]}class Ol extends Et{constructor(e){super(),At(this,e,sk,ak,It,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Qf(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m;t=new Ol({props:{disable:i[2]}});let v=i[0].title&&Zf(i);return{c(){e=S("div"),Me(t.$$.fragment),n=H(),l=S("div"),r=S("div"),v&&v.c(),a=H(),o=S("div"),c=S("div"),g=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",_=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(C,y){L(C,e,y),Ve(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,g),w(g,d),p=!0,b||(m=ie(g,"click",i[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=Zf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&_!==(_=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(g,"data-testid",_)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){z(t.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(t),v&&v.d(),b=!1,m()}}}function Zf(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&I(e)}}}function Xf(i){let e;const t=i[10].default,n=R_(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)&&O_(n,t,l,l[9],e?V_(t,l[9],r,null):M_(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){z(n,l),e=!1},d(l){n&&n.d(l)}}}function $f(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
52
|
+
}`;var rt=Of(function(){return kt(O,qe+"return "+ye).apply(t,W)});if(rt.source=ye,po(rt))throw rt;return rt}function Y0(s){return St(s).toLowerCase()}function Q0(s){return St(s).toUpperCase()}function Z0(s,u,h){if(s=St(s),s&&(h||u===t))return Go(s);if(!s||!(u=On(u)))return s;var k=ni(s),N=ni(u),O=Ko(k,N),W=jo(k,N)+1;return al(k,O,W).join("")}function X0(s,u,h){if(s=St(s),s&&(h||u===t))return s.slice(0,Yo(s)+1);if(!s||!(u=On(u)))return s;var k=ni(s),N=jo(k,ni(u))+1;return al(k,0,N).join("")}function $0(s,u,h){if(s=St(s),s&&(h||u===t))return s.replace(jt,"");if(!s||!(u=On(u)))return s;var k=ni(s),N=Ko(k,ni(u));return al(k,N).join("")}function x0(s,u){var h=Z,k=j;if(Bt(u)){var N="separator"in u?u.separator:N;h="length"in u?lt(u.length):h,k="omission"in u?On(u.omission):k}s=St(s);var O=s.length;if(Jl(s)){var W=ni(s);O=W.length}if(h>=O)return s;var K=h-Yl(k);if(K<1)return k;var ee=W?al(W,0,K).join(""):s.slice(0,K);if(N===t)return ee+k;if(W&&(K+=ee.length-K),mo(N)){if(s.slice(K).search(N)){var me,be=ee;for(N.global||(N=Rs(N.source,St(Ki.exec(N))+"g")),N.lastIndex=0;me=N.exec(be);)var ye=me.index;ee=ee.slice(0,ye===t?K:ye)}}else if(s.indexOf(On(N),K)!=K){var De=ee.lastIndexOf(N);De>-1&&(ee=ee.slice(0,De))}return ee+k}function ew(s){return s=St(s),s&&qi.test(s)?s.replace(Ni,Lp):s}var tw=tr(function(s,u,h){return s+(h?" ":"")+u.toUpperCase()}),wo=Ou("toUpperCase");function Mf(s,u,h){return s=St(s),u=h?t:u,u===t?yp(s)?Rp(s):_p(s):s.match(u)||[]}var Of=st(function(s,u){try{return $t(s,t,u)}catch(h){return po(h)?h:new et(h)}}),nw=Ri(function(s,u){return zt(u,function(h){h=di(h),Ai(s,h,go(s[h],s))}),s});function iw(s){var u=s==null?0:s.length,h=je();return s=u?Ft(s,function(k){if(typeof k[1]!="function")throw new Kn(a);return[h(k[0]),k[1]]}):[],st(function(k){for(var N=-1;++N<u;){var O=s[N];if($t(O[0],this,k))return $t(O[1],this,k)}})}function lw(s){return Lm(Jn(s,_))}function ko(s){return function(){return s}}function rw(s,u){return s==null||s!==s?u:s}var aw=Uu(),sw=Uu(!0);function Ln(s){return s}function So(s){return gu(typeof s=="function"?s:Jn(s,_))}function ow(s){return pu(Jn(s,_))}function uw(s,u){return mu(s,Jn(u,_))}var fw=st(function(s,u){return function(h){return Rr(h,s,u)}}),cw=st(function(s,u){return function(h){return Rr(s,h,u)}});function Co(s,u,h){var k=rn(u),N=Ea(u,k);h==null&&!(Bt(u)&&(N.length||!k.length))&&(h=u,u=s,s=this,N=Ea(u,rn(u)));var O=!(Bt(h)&&"chain"in h)||!!h.chain,W=Vi(s);return zt(N,function(K){var ee=u[K];s[K]=ee,W&&(s.prototype[K]=function(){var me=this.__chain__;if(O||me){var be=s(this.__wrapped__),ye=be.__actions__=Nn(this.__actions__);return ye.push({func:ee,args:arguments,thisArg:s}),be.__chain__=me,be}return ee.apply(s,el([this.value()],arguments))})}),s}function dw(){return xe._===this&&(xe._=Up),this}function yo(){}function hw(s){return s=lt(s),st(function(u){return bu(u,s)})}var gw=eo(Ft),_w=eo(zo),pw=eo(Ps);function Ff(s){return so(s)?Ns(di(s)):jm(s)}function mw(s){return function(u){return s==null?t:Tl(s,u)}}var bw=Bu(),vw=Bu(!0);function Po(){return[]}function No(){return!1}function ww(){return{}}function kw(){return""}function Sw(){return!0}function Cw(s,u){if(s=lt(s),s<1||s>pe)return[];var h=ve,k=gn(s,ve);u=je(u),s-=ve;for(var N=Ls(k,u);++h<s;)u(h);return N}function yw(s){return nt(s)?Ft(s,di):Fn(s)?[s]:Nn(nf(St(s)))}function Pw(s){var u=++Op;return St(s)+u}var Nw=Fa(function(s,u){return s+u},0),Iw=to("ceil"),Tw=Fa(function(s,u){return s/u},1),Lw=to("floor");function Aw(s){return s&&s.length?Aa(s,Ln,Bs):t}function Ew(s,u){return s&&s.length?Aa(s,je(u,2),Bs):t}function Rw(s){return Wo(s,Ln)}function Dw(s,u){return Wo(s,je(u,2))}function Vw(s){return s&&s.length?Aa(s,Ln,Gs):t}function Mw(s,u){return s&&s.length?Aa(s,je(u,2),Gs):t}var Ow=Fa(function(s,u){return s*u},1),Fw=to("round"),Uw=Fa(function(s,u){return s-u},0);function zw(s){return s&&s.length?Ts(s,Ln):0}function Bw(s,u){return s&&s.length?Ts(s,je(u,2)):0}return M.after=ov,M.ary=gf,M.assign=Qv,M.assignIn=Tf,M.assignInWith=Za,M.assignWith=Zv,M.at=Xv,M.before=_f,M.bind=go,M.bindAll=nw,M.bindKey=pf,M.castArray=wv,M.chain=cf,M.chunk=L1,M.compact=A1,M.concat=E1,M.cond=iw,M.conforms=lw,M.constant=ko,M.countBy=zb,M.create=$v,M.curry=mf,M.curryRight=bf,M.debounce=vf,M.defaults=xv,M.defaultsDeep=e0,M.defer=uv,M.delay=fv,M.difference=R1,M.differenceBy=D1,M.differenceWith=V1,M.drop=M1,M.dropRight=O1,M.dropRightWhile=F1,M.dropWhile=U1,M.fill=z1,M.filter=Hb,M.flatMap=Gb,M.flatMapDeep=Kb,M.flatMapDepth=jb,M.flatten=sf,M.flattenDeep=B1,M.flattenDepth=H1,M.flip=cv,M.flow=aw,M.flowRight=sw,M.fromPairs=W1,M.functions=s0,M.functionsIn=o0,M.groupBy=Jb,M.initial=G1,M.intersection=K1,M.intersectionBy=j1,M.intersectionWith=J1,M.invert=f0,M.invertBy=c0,M.invokeMap=Qb,M.iteratee=So,M.keyBy=Zb,M.keys=rn,M.keysIn=Tn,M.map=Ga,M.mapKeys=h0,M.mapValues=g0,M.matches=ow,M.matchesProperty=uw,M.memoize=ja,M.merge=_0,M.mergeWith=Lf,M.method=fw,M.methodOf=cw,M.mixin=Co,M.negate=Ja,M.nthArg=hw,M.omit=p0,M.omitBy=m0,M.once=dv,M.orderBy=Xb,M.over=gw,M.overArgs=hv,M.overEvery=_w,M.overSome=pw,M.partial=_o,M.partialRight=wf,M.partition=$b,M.pick=b0,M.pickBy=Af,M.property=Ff,M.propertyOf=mw,M.pull=X1,M.pullAll=uf,M.pullAllBy=$1,M.pullAllWith=x1,M.pullAt=eb,M.range=bw,M.rangeRight=vw,M.rearg=gv,M.reject=tv,M.remove=tb,M.rest=_v,M.reverse=co,M.sampleSize=iv,M.set=w0,M.setWith=k0,M.shuffle=lv,M.slice=nb,M.sortBy=sv,M.sortedUniq=ub,M.sortedUniqBy=fb,M.split=G0,M.spread=pv,M.tail=cb,M.take=db,M.takeRight=hb,M.takeRightWhile=gb,M.takeWhile=_b,M.tap=Ab,M.throttle=mv,M.thru=qa,M.toArray=Pf,M.toPairs=Ef,M.toPairsIn=Rf,M.toPath=yw,M.toPlainObject=If,M.transform=S0,M.unary=bv,M.union=pb,M.unionBy=mb,M.unionWith=bb,M.uniq=vb,M.uniqBy=wb,M.uniqWith=kb,M.unset=C0,M.unzip=ho,M.unzipWith=ff,M.update=y0,M.updateWith=P0,M.values=lr,M.valuesIn=N0,M.without=Sb,M.words=Mf,M.wrap=vv,M.xor=Cb,M.xorBy=yb,M.xorWith=Pb,M.zip=Nb,M.zipObject=Ib,M.zipObjectDeep=Tb,M.zipWith=Lb,M.entries=Ef,M.entriesIn=Rf,M.extend=Tf,M.extendWith=Za,Co(M,M),M.add=Nw,M.attempt=Of,M.camelCase=A0,M.capitalize=Df,M.ceil=Iw,M.clamp=I0,M.clone=kv,M.cloneDeep=Cv,M.cloneDeepWith=yv,M.cloneWith=Sv,M.conformsTo=Pv,M.deburr=Vf,M.defaultTo=rw,M.divide=Tw,M.endsWith=E0,M.eq=li,M.escape=R0,M.escapeRegExp=D0,M.every=Bb,M.find=Wb,M.findIndex=rf,M.findKey=t0,M.findLast=qb,M.findLastIndex=af,M.findLastKey=n0,M.floor=Lw,M.forEach=df,M.forEachRight=hf,M.forIn=i0,M.forInRight=l0,M.forOwn=r0,M.forOwnRight=a0,M.get=bo,M.gt=Nv,M.gte=Iv,M.has=u0,M.hasIn=vo,M.head=of,M.identity=Ln,M.includes=Yb,M.indexOf=q1,M.inRange=T0,M.invoke=d0,M.isArguments=El,M.isArray=nt,M.isArrayBuffer=Tv,M.isArrayLike=In,M.isArrayLikeObject=Jt,M.isBoolean=Lv,M.isBuffer=sl,M.isDate=Av,M.isElement=Ev,M.isEmpty=Rv,M.isEqual=Dv,M.isEqualWith=Vv,M.isError=po,M.isFinite=Mv,M.isFunction=Vi,M.isInteger=kf,M.isLength=Ya,M.isMap=Sf,M.isMatch=Ov,M.isMatchWith=Fv,M.isNaN=Uv,M.isNative=zv,M.isNil=Hv,M.isNull=Bv,M.isNumber=Cf,M.isObject=Bt,M.isObjectLike=Kt,M.isPlainObject=Ur,M.isRegExp=mo,M.isSafeInteger=Wv,M.isSet=yf,M.isString=Qa,M.isSymbol=Fn,M.isTypedArray=ir,M.isUndefined=qv,M.isWeakMap=Gv,M.isWeakSet=Kv,M.join=Y1,M.kebabCase=V0,M.last=Qn,M.lastIndexOf=Q1,M.lowerCase=M0,M.lowerFirst=O0,M.lt=jv,M.lte=Jv,M.max=Aw,M.maxBy=Ew,M.mean=Rw,M.meanBy=Dw,M.min=Vw,M.minBy=Mw,M.stubArray=Po,M.stubFalse=No,M.stubObject=ww,M.stubString=kw,M.stubTrue=Sw,M.multiply=Ow,M.nth=Z1,M.noConflict=dw,M.noop=yo,M.now=Ka,M.pad=F0,M.padEnd=U0,M.padStart=z0,M.parseInt=B0,M.random=L0,M.reduce=xb,M.reduceRight=ev,M.repeat=H0,M.replace=W0,M.result=v0,M.round=Fw,M.runInContext=x,M.sample=nv,M.size=rv,M.snakeCase=q0,M.some=av,M.sortedIndex=ib,M.sortedIndexBy=lb,M.sortedIndexOf=rb,M.sortedLastIndex=ab,M.sortedLastIndexBy=sb,M.sortedLastIndexOf=ob,M.startCase=K0,M.startsWith=j0,M.subtract=Uw,M.sum=zw,M.sumBy=Bw,M.template=J0,M.times=Cw,M.toFinite=Mi,M.toInteger=lt,M.toLength=Nf,M.toLower=Y0,M.toNumber=Zn,M.toSafeInteger=Yv,M.toString=St,M.toUpper=Q0,M.trim=Z0,M.trimEnd=X0,M.trimStart=$0,M.truncate=x0,M.unescape=ew,M.uniqueId=Pw,M.upperCase=tw,M.upperFirst=wo,M.each=df,M.eachRight=hf,M.first=of,Co(M,function(){var s={};return fi(M,function(u,h){yt.call(M.prototype,h)||(s[h]=u)}),s}(),{chain:!1}),M.VERSION=n,zt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),zt(["drop","take"],function(s,u){dt.prototype[s]=function(h){h=h===t?1:en(lt(h),0);var k=this.__filtered__&&!u?new dt(this):this.clone();return k.__filtered__?k.__takeCount__=gn(h,k.__takeCount__):k.__views__.push({size:gn(h,ve),type:s+(k.__dir__<0?"Right":"")}),k},dt.prototype[s+"Right"]=function(h){return this.reverse()[s](h).reverse()}}),zt(["filter","map","takeWhile"],function(s,u){var h=u+1,k=h==te||h==Y;dt.prototype[s]=function(N){var O=this.clone();return O.__iteratees__.push({iteratee:je(N,3),type:h}),O.__filtered__=O.__filtered__||k,O}}),zt(["head","last"],function(s,u){var h="take"+(u?"Right":"");dt.prototype[s]=function(){return this[h](1).value()[0]}}),zt(["initial","tail"],function(s,u){var h="drop"+(u?"":"Right");dt.prototype[s]=function(){return this.__filtered__?new dt(this):this[h](1)}}),dt.prototype.compact=function(){return this.filter(Ln)},dt.prototype.find=function(s){return this.filter(s).head()},dt.prototype.findLast=function(s){return this.reverse().find(s)},dt.prototype.invokeMap=st(function(s,u){return typeof s=="function"?new dt(this):this.map(function(h){return Rr(h,s,u)})}),dt.prototype.reject=function(s){return this.filter(Ja(je(s)))},dt.prototype.slice=function(s,u){s=lt(s);var h=this;return h.__filtered__&&(s>0||u<0)?new dt(h):(s<0?h=h.takeRight(-s):s&&(h=h.drop(s)),u!==t&&(u=lt(u),h=u<0?h.dropRight(-u):h.take(u-s)),h)},dt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},dt.prototype.toArray=function(){return this.take(ve)},fi(dt.prototype,function(s,u){var h=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=M[k?"take"+(u=="last"?"Right":""):u],O=k||/^find/.test(u);N&&(M.prototype[u]=function(){var W=this.__wrapped__,K=k?[1]:arguments,ee=W instanceof dt,me=K[0],be=ee||nt(W),ye=function(ft){var ht=N.apply(M,el([ft],K));return k&&De?ht[0]:ht};be&&h&&typeof me=="function"&&me.length!=1&&(ee=be=!1);var De=this.__chain__,qe=!!this.__actions__.length,Je=O&&!De,rt=ee&&!qe;if(!O&&be){W=rt?W:new dt(this);var Ye=s.apply(W,K);return Ye.__actions__.push({func:qa,args:[ye],thisArg:t}),new jn(Ye,De)}return Je&&rt?s.apply(this,K):(Ye=this.thru(ye),Je?k?Ye.value()[0]:Ye.value():Ye)})}),zt(["pop","push","shift","sort","splice","unshift"],function(s){var u=_a[s],h=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var O=this.value();return u.apply(nt(O)?O:[],N)}return this[h](function(W){return u.apply(nt(W)?W:[],N)})}}),fi(dt.prototype,function(s,u){var h=M[u];if(h){var k=h.name+"";yt.call($l,k)||($l[k]=[]),$l[k].push({name:u,func:h})}}),$l[Oa(t,y).name]=[{name:"wrapper",func:t}],dt.prototype.clone=em,dt.prototype.reverse=tm,dt.prototype.value=nm,M.prototype.at=Eb,M.prototype.chain=Rb,M.prototype.commit=Db,M.prototype.next=Vb,M.prototype.plant=Ob,M.prototype.reverse=Fb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Ub,M.prototype.first=M.prototype.head,Pr&&(M.prototype[Pr]=Mb),M},Ql=Dp();Ot?((Ot.exports=Ql)._=Ql,Pt._=Ql):xe._=Ql}).call(Br)})(ss,ss.exports);var qr=ss.exports;class D2{getNodePath(e,t){return e?we.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Rt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Rt.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),g=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=g?we.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const _=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return ae.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=we.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=we.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=we.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ae.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&we.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ae.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ae.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,g=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!g&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),_=await we.getDefaultChildNode(d);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await we.getDefaultChildNode(n,async(g,d)=>await Rt.getChildren(g,d));if(n.isExistingRoute){const g=le.getTrimmedUrl(l);this.navigateTo(`${g?`/${g}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const g=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await we.getDefaultChildNode(g);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const g=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:_}=await Rt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,g,t)||await this.handlePageNotFound(d,p,_,o,t,g,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=we.parseParams(g.split("?")[1]),v=we.getNodeParams(m),C=ue.findViewGroup(d),y=decodeURIComponent(g.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let A=!1,T=P;for(;T;){if(T.tabNav===!0){A=!0;break}else if(T.tabNav===!1){A=!1;break}else if(le.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){A=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){A=!1;break}else{A=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=ue.getParentNode(T,_.navigationPath)}let V=P,E=d.hideSideNav;if(E===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){E=!0;break}if(V.hideSideNav===!1){E=!1;break}V=ue.getParentNode(V,_.navigationPath)}const U=we.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=U;const F={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:_.navigationPath,context:U,pathParams:_.pathParams,hideSideNav:E||!1,isolateView:d.isolateView||!1,tabNav:A};t.set(Object.assign({},F,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let D=document.getElementsByClassName("iframeContainer")[0];if(D&&(A?D.classList.add("iframeContainerTabNav"):D.classList.contains("iframeContainerTabNav")&&D.classList.remove("iframeContainerTabNav")),d.compound)ai.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)ai.switchActiveIframe(n,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const j=document.querySelector(".wcContainer");if(j&&(j.configChangedRequest=!1),D&&(D.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await ai.navigateIframe(l,t,n);else{const Q=t.get(),de=await t.prepareInternalData(l);Ae.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(de),withoutSync:!0})}}const Z=document.querySelector(".lui-tab-header");Z&&Z.dispatchEvent(new Event("lui_ctx_update")),Rt.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 Rt.extractDataFromPath(e);Y_.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)){Bn.deleteNodesRecursively(c);break}}else r=!1}}else Bn.deleteCache()}handleRouteClick(e,t){const n=we.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=ai.getActiveIframe(r);a&&a.vg&&ai.canCache(a.vg)?(ai.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{ai.switchActiveIframe(Ae.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=we.getPageNotFoundRedirectResult(n,l),o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}we.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...N2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=we.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ur.generateWCId(l)}}navigateWebComponent(e,t){let n=document.querySelector(".wcContainer"),l=n._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!n.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}n.configChangedRequest=!1,n=this.removeLastChildFromWCContainer(),n&&ur.renderWebComponent(a.viewUrl,n,a,t)}navigateWebComponentCompound(e,t){const n=document.querySelector(".wcContainer");if(!n)return;const l=e.get();if(n._luigi_node===t&&qr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>ue.checkVisibleForFeatureToggles(a))),ur.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=we.getHashQueryParamSeparator();const r=we.getQueryParams(),a=we.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){const g=location.hash.indexOf(l);g!==-1&&(o.hash=o.hash.slice(0,g)),o.hash=`${o.hash}${l}${we.encodeParams(r)}`}else o.search=`?${we.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=we.getHashQueryParamSeparator();const l=we.getQueryParams(),r=we.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let g=history.state,d,_;if(c){let[p,b]=o.hash.split("?");d=p,_=we.getURLWithoutModalData(b,r),_&&(d+="?"+_)}else d=o.pathname,_=we.getURLWithoutModalData(o.search,r),_&&(d+="?"+we.getURLWithoutModalData(o.search,r));if(g=we.handleHistoryState(g,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${we.encodeParams(l)}`}else o.search=`?${we.encodeParams(l)}`;history.pushState(g,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;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 D2;class V2{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=Ae.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=we.parseParams(n.split("?")[1]),a=we.getNodeParams(r),o=we.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const g=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:g,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){ur.renderWebComponent(n.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},n,void 0,!0);const r={splitViewWC:document.querySelector(".iframeSplitViewCnt"),splitViewWCData:{...l,nodeParams:t}};e.set(r),e.dispatch("wcCreated",{...r,collapsed:!1});const a=document.querySelector(".wcContainer");if(a&&a.childElementCount){const o=document.getElementsByClassName("iframeContainer")[0];o&&o.classList.add("lui-webComponent")}}else{const a={splitViewIframe:this.setIframe(n.viewUrl,{context:l.context,pathParams:l.pathParams,nodeParams:t},e),splitViewIframeData:{...l,nodeParams:t}};e.set(a),e.dispatch("iframeCreated",{...a,collapsed:!1})}this.fixIOSscroll()}fixIOSscroll(){if(!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)))return;const t=document.querySelector(".iframeSplitViewCnt iframe");t&&t.addEventListener("load",()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="hidden",setTimeout(()=>{document.querySelector(".iframeSplitViewCnt").style.overflow="auto"})})}calculateInitialValues(e,t){if(t){const n=e||40,l=parseInt(le.computePxFromPercent(t,n)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:n,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const n=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ae.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(n,t.innerHeight-n,t)}enforceTresholds(e,t){const n=this.internalValues;return e<=n.thresholdTop?(e=n.thresholdTop,t=n.innerHeight-n.thresholdTop):t<=n.thresholdBottom&&(e=n.innerHeight-n.thresholdBottom,t=n.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(n.rightContentHeight,t)}}open(e,t,n){const l={displayed:!0,collapsed:n.collapsed===!0,nodepath:t,settings:n};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ae.getIframeContainer().style.marginBottom="",ot.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ae.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ae.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ae.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ot=new V2;class M2{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Yr.hideAppLoadingIndicator()},0)}}const O2=new M2;class F2{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 si=new F2;class U2{constructor(){return this._userInfoStore=fr({}),this._loggedInStore=fr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ae.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ae.getConfigValue(`auth.${e}`),n=fl.parseUrlAuthErrors()||{};if(await fl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await gi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ol(this._userInfoStore))),le.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&si.isNewlyAuthorized()&&await gi.handleAuthEvent("onAuthSuccessful",e,t),si.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{si.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await gi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),si.removeAuthData()},n=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await gi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const sn=new U2;class z2{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const Gr=new z2;class B2{getStoredAuthData(){return si.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await gi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const fl=new B2;class H2{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"),_=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(_,`</${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)),_=`<a id="${g}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,_),links:a.links.concat({elemId:g,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const dr=new H2;class W2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;if(l===r&&!a&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,g=n.viewGroup;if(c&&g&&c===g)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return l2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ae.getConfigValue("settings.customSandboxRules"),c=ae.getConfigValue("settings.allowRules"),g=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Gr.hasDecorators()?Gr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=g.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const _=ae.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(_))try{_(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ae.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ae.specialIframeTypes.filter(n=>Ae.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Fo.getActiveFeatureToggleList(),currentLocale:wt.getCurrentLocale(),currentTheme:Ro.getCurrentTheme()}}}const Ae=new W2;class q2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=qr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),qr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(n+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(n)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ae.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ae.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Ui.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!ae.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=ae._remotePromises;return l||(l={counter:0,promises:[]},ae._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return ae._remotePromises?ae._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new q2;class G2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ae.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Fo.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(gi.isAuthorizationEnabled()){const r=fl.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ae.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,n){const l=ae.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=g=>{g.sort((d,_)=>{const p=d.order||0,b=_.order||0;return p-b})};return e.forEach(g=>{let d,_;const p=g[t];le.isObject(p)?(d=p.id?p.id:p.label,_=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),_={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=_),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=g.parent?this.getNodePath(g.parent)+":"+d:d),g.hideFromNav||b.push(g)}),Object.keys(r).forEach(g=>{const d=r[g].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(g=>{c(r[g]),r[g].length===0&&delete r[g]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=ae.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":wt.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Rt.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let _;const p=!!d.badgeCounter;if(p&&(_=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>_};else if(p){const m=a[b].badgeCounter.count()+_;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(a[b]);a[b].children.push(d)}else o.push(d);_&&c.push(_)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Rt.getChildren(o[d])||[]);const g={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((_,p)=>_+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(le.isObject(e)||e===!0){const t=e.navExpanded?wt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?wt.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 Rt.extractDataFromPath(e);return!!await Rt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:qr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(g=>{g.json().then(d=>{try{const _=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:_},n(_)}catch(_){l(_)}})}).catch(g=>{l(g)})}).catch(n=>{qr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=wt.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return ae.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:ue.prepareForTests(e.pathSegment,e.label)}}const ue=new G2;class K2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await ls.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(g=>g.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=ae.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ae.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ae.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=we.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?we.parseParams(we.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return we.getLocation().search?we.parseParams(we.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ae.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=ae.getConfigValue("routing.useHashRouting");En.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?it.getHashPath():it.getModifiedPathname();e(l)}}),En.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+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=we.getRouteLink(e,t,ae.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(ae.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=we.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=wt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,n):e}substituteViewUrl(e,t){const n="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,n),e=le.replaceVars(e,t.nodeParams,l),e=this.getI18nViewUrl(e),e&&e.includes(r)){const a=e.split("?")[1];if(a){const o=a.split("=")[0];ul.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ul.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[dr.sanitizeParam(n[0])]=dr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Fo.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=ae.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=ae.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,g],d)=>{r+=`${d>0?"&"+o:""}${c}=${g}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in ul.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ul.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&ul.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=ae.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&l.redirectTo)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:wt.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 K2;class j2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const un=new j2;class J2{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 En=new J2;class Y2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const Q2=new Y2;class Z2{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),n=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const sr=new Z2;class X2{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 Gf=new X2;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=S("div"),t=S("p"),l=H(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=H(),f(t,"class","fd-message-strip__text svelte-dkyena"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){L(_,e,p),w(e,t),t.innerHTML=n,w(e,l),w(e,r),w(e,a),c||(g=ie(r,"click",d),c=!0)},p(_,p){i=_,p&1&&n!==(n=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(t.innerHTML=n),p&3&&o!==(o="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena")&&f(e,"class",o)},d(_){_&&I(e),c=!1,g()}}}function $2(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=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-dkyena"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=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:Be,o:Be,d(l){l&&I(e),ct(n,l),i[5](null)}}}function x2(i,e,t){const n=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=mt("getUnsavedChangesModalPromise"),c=mt("handleNavigation");Hn(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=dr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{g(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Qt(()=>{});function g(p,b){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function _(p){Xe[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,_]}class ek extends Et{constructor(e){super(),At(this,e,x2,$2,It,{alertQueue:0,alertTypeMap:1})}}const Vl=38,zi=40,mi=13,_i=27,Kr=32,tk=36,nk=35;function Jf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=$n(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t=$n(n[3](n[0].icon))+" svelte-lzffuc")&&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=S("div"),t=S("button"),l=Te(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ie(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Le(l,n)},d(o){o&&I(e),r=!1,a()}}}function ik(i){let e,t,n,l,r,a,o,c=i[0].header+"",g,d,_,p=i[0].body+"",b,m,v,C,y,P,A=i[0].buttonDismiss+"",T,V,E,U,F,D=i[0].type&&Jf(i),Z=i[0].buttonConfirm!==!1&&Yf(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),D&&D.c(),a=H(),o=S("h2"),g=Te(c),d=H(),_=S("div"),b=H(),m=S("footer"),v=S("div"),Z&&Z.c(),C=H(),y=S("div"),P=S("button"),T=Te(A),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(j,Q){L(j,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),D&&D.m(r,null),w(r,a),w(r,o),w(o,g),w(t,d),w(t,_),_.innerHTML=p,w(t,b),w(t,m),w(m,v),Z&&Z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,T),U||(F=[ie(window,"keydown",i[1]),ie(P,"click",i[5])],U=!0)},p(j,[Q]){j[0].type?D?D.p(j,Q):(D=Jf(j),D.c(),D.m(r,a)):D&&(D.d(1),D=null),Q&1&&c!==(c=j[0].header+"")&&Le(g,c),Q&1&&p!==(p=j[0].body+"")&&(_.innerHTML=p),j[0].buttonConfirm!==!1?Z?Z.p(j,Q):(Z=Yf(j),Z.c(),Z.m(v,C)):Z&&(Z.d(1),Z=null),Q&1&&A!==(A=j[0].buttonDismiss+"")&&Le(T,A),Q&1&&V!==(V="fd-button "+(j[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Q&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+j[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:Be,o:Be,d(j){j&&I(e),D&&D.d(),Z&&Z.d(),U=!1,Qe(F)}}}function lk(i,e,t){const n=Wt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Qt(()=>{const d={icon:r[l.type],header:wt.getTranslation("luigi.confirmationModal.header"),body:wt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:wt.getTranslation("luigi.button.dismiss"),buttonConfirm:wt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:dr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function a(d){return ue.renderIconClassName(d)}function o(d){d.keyCode===_i&&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 rk extends Et{constructor(e){super(),At(this,e,lk,ik,It,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function ak(i){let e,t,n;const l=i[5].default,r=R_(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&M_(r,l,a,a[4],n?V_(l,a[4],o,null):O_(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){z(r,a),n=!1},d(a){a&&I(e),r&&r.d(a)}}}function sk(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Wt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,g={},{area:d}=e,{disable:_}=e;const p=()=>{const m="lui-backdrop ";o?g.data&&g.data.heightCssClass?t(0,a=m+g.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return Qt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),En.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&_!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.enableA11yOfInactiveIframe()))}))}),Hn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,_=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,_,l,n]}class Ml extends Et{constructor(e){super(),At(this,e,sk,ak,It,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Qf(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m;t=new Ml({props:{disable:i[2]}});let v=i[0].title&&Zf(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),r=S("div"),v&&v.c(),a=H(),o=S("div"),c=S("div"),g=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(g,"class","fd-button fd-button--transparent fd-button--compact"),f(g,"aria-label","close"),f(g,"data-testid",_=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(C,y){L(C,e,y),Me(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,g),w(g,d),p=!0,b||(m=ie(g,"click",i[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=Zf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&_!==(_=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(g,"data-testid",_)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){z(t.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(t),v&&v.d(),b=!1,m()}}}function Zf(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&I(e)}}}function Xf(i){let e;const t=i[10].default,n=R_(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)&&M_(n,t,l,l[9],e?V_(t,l[9],r,null):O_(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){z(n,l),e=!1},d(l){n&&n.d(l)}}}function $f(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
53
53
|
<div class="fd-busy-indicator__circle"></div>
|
|
54
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function ok(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v=(i[5]||i[4]&&i[0].header)&&Qf(i),C=i[4]&&Xf(i),y=i[3]&&$f();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=H(),l=S("div"),C&&C.c(),r=H(),a=S("div"),g=H(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1rzu3xo"),f(t,"data-testid",_=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=$n(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,g),y&&y.m(t,null),m=!0},p(P,[A]){P[5]||P[4]&&P[0].header?v?(v.p(P,A),A&49&&R(v,1)):(v=Qf(P),v.c(),R(v,1),v.m(t,n)):v&&(ke(),z(v,1,1,()=>{v=null}),Se()),P[4]?C?(C.p(P,A),A&16&&R(C,1)):(C=Xf(P),C.c(),R(C,1),C.m(l,r)):C&&(ke(),z(C,1,1,()=>{C=null}),Se()),(!m||A&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(a,"class",o),(!m||A&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),(!m||A&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1rzu3xo"))&&f(t,"class",d),(!m||A&32&&_!==(_=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||A&49&&p!==(p=$n(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||A&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){z(v),z(C),m=!1},d(P){P&&I(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function uk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const d=Wt();let _,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,A=!0,T,V=mt("store");const E=G=>ue.getNodeLabel(G),U=async G=>{const Y=G&&G.length?le.getPathWithoutHash(G):"",X=we.parseParams(Y.split("?")[1]);b=we.getNodeParams(X);const pe=await Rt.extractDataFromPath(G);_=pe.nodeObject,t(4,P=r.isDrawer||typeof _.drawer=="object"),T=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,A=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)),p=pe.pathData,t(7,a=!0)},F=async G=>{if(!(m||v))if(a)if(_.webcomponent)t(3,C=!1),P?await j():await D(),ur.renderWebComponent(_.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),d("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),v=!0;else{const Y=await Z(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:Y,modalIframeData:{...p,nodeParams:b}}),m=!0}else await U(G)},D=async()=>{let G,Y;const X=document.querySelector(".lui-modal-index-"+c),{size:pe,width:ne,height:oe}=r,ve=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(X.classList.remove("lui-modal-fullscreen"),ne&&ne.match(ve)&&oe&&oe.match(ve))G=oe,Y=ne;else switch(pe){case"fullscreen":G="100vh",Y="100vw",X.classList.add("lui-modal-fullscreen");break;case"m":G="80%",Y="60%";break;case"s":G="80%",Y="40%";break;default:G="80%",Y="80%"}X.setAttribute("style",`width:${Y};height:${G};`)},Z=async(G,Y)=>{P?await j():await D(),G&&(G=we.substituteViewUrl(G,Y));const X=await Ae.createIframe(G,void 0,_,"modal",Y);return document.querySelector(T).appendChild(X),X};async function j(G){let Y="";const X=document.getElementsByClassName("drawer"),pe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Y="width:75%;":r.size==="m"?Y="width:50%;":r.size==="s"?Y="width:25%;":r.size==="xs"&&(Y="width:15.5%;")),r.backdrop?X[0].setAttribute("style",Y):(pe[0].setAttribute("style",Y),X[0].setAttribute("style","width:100%"))}jr(()=>{F(o)});const Q=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&de()),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 D()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&it.updateModalDataInUrl(we.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};Qt(()=>{un.doOnStoreChange(V,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),En.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!_.webcomponent&&((G=_.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Jr(()=>{En.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function de(){let G;A?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const te=()=>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,C,P,A,d,a,o,l,n,te]}class Z_ extends Et{constructor(e){super(),At(this,e,uk,ok,It,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function xf(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function ec(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function tc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function nc(i){let e,t=i[1][1].settings&&ic(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=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=S("div"),t=S("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=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),ct(l,r)}}}function lc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?ck:fk}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function fk(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&I(e)}}}function ck(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=S("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Hf(e,i[0][i[1][0]][i[27]]),l||(r=ie(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Hf(e,i[0][i[1][0]][i[27]])},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[27]],i[28].options)+"",c,g,d,_,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function A(){return i[19](i[28])}let T=v&&ac(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Te(o),d=H(),_=S("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=H(),m=S("div"),T&&T.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,_),w(t,b),w(t,m),T&&T.m(m,null),C||(y=[ie(r,"keydown",P),ie(n,"click",Dt(A))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),E[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",g),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?T?T.p(i,E):(T=ac(i),T.c(),T.m(m,null)):T&&(T.d(1),T=null)},d(V){V&&I(e),T&&T.d(),C=!1,Qe(y)}}}function ac(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=sc(tc(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].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),ct(n,l)}}}function sc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Te(n),r=H(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),Ht(e,"is-selected",i[4]===i[33]),Ht(e,"is-focus",i[4]===i[33])},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),o||(c=[ie(e,"click",g),ie(e,"keydown",i[21])],o=!0)},p(d,_){i=d,_[0]&2&&n!==(n=i[12](i[31])+"")&&Le(l,n),_[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),_[0]&16&&Ht(e,"is-selected",i[4]===i[33]),_[0]&16&&Ht(e,"is-focus",i[4]===i[33])},d(d){d&&I(e),o=!1,Qe(c)}}}function oc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=uc(ec(i,l,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].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[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&I(e),ct(r,a)}}}function uc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,g,d;function _(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Te(t),l=H(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){L(p,e,b),w(e,n),w(e,l),g||(d=ie(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Le(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&I(e),g=!1,d()}}}function fc(i){let e,t,n,l,r,a,o,c,g,d;function _(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=H(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,b){L(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),g||(d=ie(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,d()}}}function cc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ie(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&I(e),n=!1,l()}}}function dc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,g,d,_=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&lc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&rc(i),y=_&&oc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&fc(i),A=i[28].type==="boolean"&&i[28].style==="checkbox"&&cc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Te(l),a=Te(":"),o=H(),c=S("div"),v&&v.c(),g=H(),C&&C.c(),d=H(),y&&y.c(),p=H(),P&&P.c(),b=H(),A&&A.c(),m=H(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(T,V){L(T,e,V),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,g),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),A&&A.m(c,null),w(e,m)},p(T,V){V[0]&34&&l!==(l=T[5](T[28].label)+"")&&Le(r,l),T[28].type==="string"?v?v.p(T,V):(v=lc(T),v.c(),v.m(c,g)):v&&(v.d(1),v=null),T[28].type==="enum"&&(T[28].style===void 0||T[28].style==="list")?C?C.p(T,V):(C=rc(T),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(_=T[28].type==="enum"&&T[28].style==="button"&&Array.isArray(T[28].options)),_?y?y.p(T,V):(y=oc(T),y.c(),y.m(c,p)):y&&(y.d(1),y=null),T[28].type==="boolean"&&(!T[28].style||T[28].style==="switch")?P?P.p(T,V):(P=fc(T),P.c(),P.m(c,b)):P&&(P.d(1),P=null),T[28].type==="boolean"&&T[28].style==="checkbox"?A?A.p(T,V):(A=cc(T),A.c(),A.m(c,null)):A&&(A.d(1),A=null)},d(T){T&&I(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),A&&A.d()}}}function dk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&nc(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[ie(window,"click",i[7]),ie(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:Be,o:Be,d(r){r&&I(e),l&&l.d(),t=!1,Qe(n)}}}function ns(i,e,t){if(i&&t>0)return i.matches(e)?i:ns(i.parentNode,e,t-1)}function hk(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Wt();let o=mt("getTranslation");bi(i,o,te=>t(5,n=te));let c,{isComboOpen:g}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const _=()=>{p()};function p(te){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(te,G){let Y=ns(te.target,".fd-popover__control",20),X=Y.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(Y,!X))}function m(te,G){const Y=te.querySelector(".lui-activate-dropdown"),X=te.parentNode.querySelector(".fd-popover__body"),pe=te.parentNode.querySelector(".fd-select__control");te.setAttribute("aria-expanded",G),X.setAttribute("aria-hidden",!G),pe.setAttribute("aria-expanded",G),Y.setAttribute("aria-expanded",G),t(14,g=G)}function v(te,G,Y){t(4,c=Y),t(0,r[l[0]][te]=G.value||G,r)}function C(te,G){document.querySelectorAll(".enum-buttons-container-"+te+" button").forEach(Y=>{const X=Y.getAttribute("id"),pe=`lui-us-enum_button_${te}_option`;X===pe?Y.classList.add("fd-button--emphasized"):Y.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][te]=G.value||G,r)}function y(te,G){let Y;if(Array.isArray(G)){for(let X=0;X<G.length;X++)if(le.isObject(G[X])){if(G[X].value&&G[X].value===te){Y=G[X].label,t(4,c=X);break}}else{Y=te,t(4,c=G.indexOf(te));break}return n(Y)}}function P(te){return n(le.isObject(te)?te.label:te)}function A(te,G,Y){return le.isObject(Y)?`${te}_${G}_${Y.value}`:`${te}_${G}_${Y}`}function T(te,G,Y,X){let pe=ns(te.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${Y}`).children;let oe=-1;if([...ne].forEach((ve,re)=>{ve.classList.contains("is-focus")&&(oe=re)}),g){if(te.keyCode===Vl&&te.altKey&&(pe.click(),pe.focus()),te.keyCode===zi&&!te.altKey){if(oe===-1){oe=0,ne.item(oe).classList.add("is-focus");return}oe<X.options.length-1&&(ne.item(oe).classList.remove("is-focus"),oe+=1,ne.item(oe).classList.add("is-focus"))}if(te.keyCode===Vl&&!te.altKey){if(oe===-1){oe=oe.length-1,ne.item(oe).classList.add("is-focus");return}oe>0&&oe<X.options.length&&(ne.item(oe).classList.remove("is-focus"),oe-=1,ne.item(oe).classList.add("is-focus"))}(te.keyCode===mi||te.keyCode===Kr)&&v(G,X.options[oe],oe)}else pe.focus(),te.keyCode===zi&&te.altKey&&pe.click(),te.keyCode===zi&&!te.altKey&&oe<X.options.length-1&&v(G,X.options[oe+1],oe+1),te.keyCode===Vl&&!te.altKey&&oe>0&&oe<X.options.length&&v(G,X.options[oe-1],oe-1)}function V(te){if(g){let G=ns(te.target,".fd-popover",20);G.blur(),(te.keyCode===Kr||te.keyCode===mi)&&(te.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(te){r[l[0]][te]=this.value,t(0,r)}const U=(te,G,Y,X)=>T(X,te,G,Y),F=te=>b(event,te.isEditable),D=(te,G,Y)=>v(te,G,Y),Z=te=>V(te),j=(te,G)=>C(te,G);function Q(te){r[l[0]][te]=this.checked,t(0,r)}function de(te){r[l[0]][te]=this.checked,t(0,r)}return i.$$set=te=>{"userSettingGroup"in te&&t(1,l=te.userSettingGroup),"storedUserSettingData"in te&&t(0,r=te.storedUserSettingData),"isComboOpen"in te&&t(14,g=te.isComboOpen)},[r,l,T,V,c,n,o,p,b,v,C,y,P,A,g,d,_,E,U,F,D,Z,j,Q,de]}class gk extends Et{constructor(e){super(),At(this,e,hk,dk,It,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:hc}=hl;function gc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function _c(i,e,t){const n=i.slice();return n[37]=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[37][1])),e?pk:_k}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=H(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&I(t),o&&I(n)}}}function _k(i){let e,t,n,l,r,a=i[37][1].initials&&mc(i);return{c(){e=S("span"),l=H(),a&&a.c(),r=Ce(),f(e,"class",t=$n(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),An(e,"background-image","url('"+i[37][1].icon+"')"),An(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=$n(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&An(e,"background-image","url('"+o[37][1].icon+"')"),o[37][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 pk(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=$n(i[18](i[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=$n(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&I(e)}}}function mc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Te(t),f(e,"class",l=$n(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(n,t),o[0]&2&&l!==(l=$n(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&I(e)}}}function bc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",_,p,b,m,v=i[37][1].icon&&pc(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=H(),l=S("div"),r=S("div"),o=Te(a),c=H(),g=S("div"),_=Te(d),p=H(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-d5kn3x"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),b||(m=[ie(e,"click",Nt(C)),ie(e,"keydown",y)],b=!0)},p(P,A){i=P,i[37][1].icon?v?v.p(i,A):(v=pc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),A[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),A[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(_,d)},d(P){P&&I(e),v&&v.d(),b=!1,Qe(m)}}}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=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=_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){ct(n,l),l&&I(e)}}}function wc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new gk({props:o}),Xe.push(()=>pt(e,"closeDropDown",r,i[9])),Xe.push(()=>pt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Me(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],_t(()=>t=!1)),!n&&g[0]&256&&(n=!0,d.isComboOpen=c[8],_t(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){z(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function mk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",g,d,_,p,b,m,v,C,y,P=i[10](i[7])+"",A,T,V,E,U,F,D,Z,j,Q,de,te=i[10](i[5])+"",G,Y,X,pe,ne=i[10](i[6])+"",oe,ve,re,Ee,He=Object.entries(i[1]),q=[];for(let Pe=0;Pe<He.length;Pe+=1)q[Pe]=vc(gc(i,He,Pe));let se=i[11]&&wc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),g=Te(c),d=H(),_=S("div"),p=S("ul");for(let Pe=0;Pe<q.length;Pe+=1)q[Pe].c();b=H(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=H(),y=S("h2"),A=Te(P),T=H(),V=S("div"),E=S("div"),se&&se.c(),U=H(),F=S("div"),D=H(),Z=S("footer"),j=S("div"),Q=S("div"),de=S("button"),G=Te(te),Y=H(),X=S("div"),pe=S("button"),oe=Te(ne),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(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(E,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(F,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(V,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(de,"data-testid","lui-us-saveBtn"),f(de,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Q,"class","fd-bar__element"),f(pe,"data-testid","lui-us-dismissBtn"),f(pe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(X,"class","fd-bar__element"),f(j,"class","fd-bar__right"),f(Z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-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,$e){L(Pe,e,$e),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,_),w(_,p);for(let Fe=0;Fe<q.length;Fe+=1)q[Fe].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,A),w(n,T),w(n,V),w(V,E),se&&se.m(E,null),w(V,U),w(V,F),w(t,D),w(t,Z),w(Z,j),w(j,Q),w(Q,de),w(de,G),w(j,Y),w(j,X),w(X,pe),w(pe,oe),ve=!0,re||(Ee=[ie(hc,"resize",i[20]),ie(hc,"keydown",i[3]),ie(v,"click",i[17]),ie(de,"click",i[25]),ie(pe,"click",i[26])],re=!0)},p(Pe,$e){if((!ve||$e[0]&1040)&&c!==(c=Pe[10](Pe[4])+"")&&Le(g,c),$e[0]&803846){He=Object.entries(Pe[1]);let Fe;for(Fe=0;Fe<He.length;Fe+=1){const _e=gc(Pe,He,Fe);q[Fe]?q[Fe].p(_e,$e):(q[Fe]=vc(_e),q[Fe].c(),q[Fe].m(p,null))}for(;Fe<q.length;Fe+=1)q[Fe].d(1);q.length=He.length}(!ve||$e[0]&1152)&&P!==(P=Pe[10](Pe[7])+"")&&Le(A,P),Pe[11]?se?(se.p(Pe,$e),$e[0]&2048&&R(se,1)):(se=wc(Pe),se.c(),R(se,1),se.m(E,null)):se&&(ke(),z(se,1,1,()=>{se=null}),Se()),(!ve||$e[0]&1056)&&te!==(te=Pe[10](Pe[5])+"")&&Le(G,te),(!ve||$e[0]&1088)&&ne!==(ne=Pe[10](Pe[6])+"")&&Le(oe,ne)},i(Pe){ve||(R(se),ve=!0)},o(Pe){z(se),ve=!1},d(Pe){Pe&&I(e),ct(q,Pe),se&&se.d(),re=!1,Qe(Ee)}}}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 bk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function vk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function X_(i,e,t){if(i&&t>0)return i.matches(e)?i:X_(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 wk(i,e,t){let n,{userSettingGroups:l}=e;const r=Wt();let a,{storedUserSettings:o={}}=e,c={},g=mt("getTranslation");bi(i,g,oe=>t(10,n=oe));let d=cl.userSettingsDialog.dialogHeader,_=cl.userSettingsDialog.saveBtn,p=cl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Qt(()=>{const oe=ae.getConfigValue("userSettings.userSettingsDialog"),ve=oe||ae.getConfigValue("settings.userSettings.userSettingsDialog");ve&&(t(4,d=ve.dialogHeader?ve.dialogHeader:d),t(5,_=ve.saveBtn?ve.saveBtn:_),t(6,p=ve.dismissBtn?ve.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,En.addEventListener("message",re=>{const Ee=Ae.getValidMessageSource(re);if(!Ee||re.data.msg!=="custom")return;Ee._ready=!0;const He=rs.convertCustomMessageInternalToUser(re.data),q="luigi.updateUserSettings";if(He.id===q){const se=sr.findActiveCustomUserSettingsIframe(re.source);if(se){let Pe=se.getAttribute("userSettingsGroup");t(0,o[Pe]=He.data,o)}}He.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<tn.desktopMinWidth&&U()}),ae.readUserSettings().then(re=>{c=JSON.parse(JSON.stringify(re)),re===null?t(0,o=kc(JSON.parse(JSON.stringify(l)),{})):t(0,o=kc(JSON.parse(JSON.stringify(l)),re)),A([m,l[0][m]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(oe){if(t(7,v=oe.title?oe.title:""),!!le.isObject(oe.settings))for(let ve in oe.settings){let re=oe.settings[ve];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${ve}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${ve}' in the Luigi userSettings config.`)}}function A(oe,ve){t(11,a=oe);let re=oe[0],Ee=oe[1];if(P(Ee),ve?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(q=>{q.classList.remove("is-selected")}),X_(ve.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<tn.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<tn.desktopMinWidth&&Sc()),Ee.viewUrl){if(sr.hideUserSettingsIframe(),b.hasOwnProperty(re))sr.getUserSettingsIframesInDom().forEach(He=>{He.userSettingsGroup===re&&(He.style.display="block")});else{const He=Gr.hasDecorators()?Gr.applyDecorators(Ee.viewUrl):Ee.viewUrl;let q=sr.createIframe(He,re);b[re]=q}bk()}else vk()}const T=oe=>{t(0,o=oe.detail.userSettings)};function V(){ae.storeUserSettings(o,c).then(()=>{r("close")}).catch(oe=>{oe&&oe.message&&console.error(oe.message),oe&&oe.closeDialog&&r("close")})}function E(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<tn.desktopMinWidth&&Sc()}function F(oe){return ue.renderIconClassName(oe)}function D(oe){return ue.isOpenUIiconName(oe.icon)}let Z;const j=()=>{const oe=window.innerWidth>=tn.desktopMinWidth&&Z<tn.desktopMinWidth;if(window.innerWidth<tn.desktopMinWidth&&Z>=tn.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"),oe&&(document.querySelector(".confirm-button").style.display="block"),!Z){let re=document.querySelector(".confirm-button");window.innerWidth<tn.desktopMinWidth?re.style.display="none":re.style.display="block"}Z=window.innerWidth};function Q(oe,ve){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(oe.keyCode===mi||oe.keyCode===Kr)&&re[ve].click(),oe.keyCode===nk&&re[Object.keys(l).length-1].focus(),oe.keyCode===tk&&re[0].focus()}function de(oe){oe.keyCode===_i&&C?y():oe.keyCode===_i&&!C&&r("close")}const te=oe=>A(oe,event),G=(oe,ve)=>Q(ve,[oe]);function Y(oe){y=oe,t(9,y)}function X(oe){C=oe,t(8,C)}const pe=()=>V(),ne=()=>r("close");return i.$$set=oe=>{"userSettingGroups"in oe&&t(1,l=oe.userSettingGroups),"storedUserSettings"in oe&&t(0,o=oe.storedUserSettings)},[o,l,Q,de,d,_,p,v,C,y,n,a,r,g,A,T,V,U,F,D,j,te,G,Y,X,pe,ne]}class kk extends Et{constructor(e){super(),At(this,e,wk,mk,It,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Sk}=hl;function Ck(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1q543h0")},m(t,n){L(t,e,n)},p:Be,d(t){t&&I(e)}}}function yk(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=H(),l=S("h1"),a=Te(r),f(t,"class","lui-collapse-btn svelte-1q543h0"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1q543h0"),f(l,"class","fd-splitView__title svelte-1q543h0")},m(g,d){L(g,e,d),w(e,t),L(g,n,d),L(g,l,d),w(l,a),o||(c=ie(t,"click",Dt(Nt(i[4]))),o=!0)},p(g,d){d&2&&r!==(r=g[1].title+"")&&Le(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=S("div"),t=H(),n=S("div"),l=S("div"),r=H(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1q543h0"),f(n,"id","splitViewDragger")},m(g,d){L(g,e,d),L(g,t,d),L(g,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ie(a,"click",Dt(Nt(i[3]))),ie(n,"mousedown",Dt(i[6]))],o=!0)},p:Be,d(g){g&&I(e),g&&I(t),g&&I(n),o=!1,Qe(c)}}}function Pk(i){let e,t,n,l,r,a,o,c,g,d;t=new Ol({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(v,C){return v[0]?yk:Ck}let p=_(i),b=p(i),m=!i[0]&&Cc(i);return{c(){e=S("div"),Me(t.$$.fragment),n=H(),l=S("div"),b.c(),a=H(),m&&m.c(),o=Ce(),f(l,"class","lui-split-view svelte-1q543h0"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1q543h0")},m(v,C){L(v,e,C),Ve(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,g||(d=ie(Sk,"resize",i[5]),g=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1q543h0"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Cc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&I(e),Oe(t),b.d(),v&&I(a),m&&m.d(v),v&&I(o),g=!1,d()}}}function Nk(i,e,t){const n=Wt();let l={draggable:null,iframe:null,split:null},r,a,o,c,g,d,_,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,A=!1,T=mt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:Y=>{Y&&Object.getOwnPropertyNames(Y).forEach(X=>{X==="splitViewSettings"?t(1,C=Y.splitViewSettings):X==="lastNode"?r=Y.lastNode:X==="pathData"?a=Y.pathData:X==="nodeParams"?o=Y.nodeParams:X==="collapsed"?t(0,v=Y.collapsed):X==="isDataPrepared"?t(8,y=Y.isDataPrepared):X==="currentNode"?c=Y.currentNode:X==="splitViewIframe"?d=Y.splitViewIframe:X==="splitViewIframeData"?_=Y.splitViewIframeData:X==="splitViewWC"?p=Y.splitViewWC:X==="splitViewWCData"&&(b=Y.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:T}),E=async()=>{y?v||ot.createAndSetView(V()):await ot.prepareSplitViewData(V(),m)},U=()=>{l.split=ot.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ot.getDragger()},F=()=>{const Y=ot.getDraggerBackdrop();Y&&(Y.style.display="none"),U(),l.draggable&&(l.draggable.style.top=`${ot.splitViewValues.top}px`),l.split.style.top=`${ot.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function D(Y){if(Ae.getValidMessageSource(Y)&&(Y.data.msg==="luigi.navigation.splitview.close"&&ot.close(V()),Y.data.msg==="luigi.navigation.splitview.collapse"&&Z(),Y.data.msg==="luigi.navigation.splitview.expand"&&j(),Y.data.msg==="luigi.navigation.splitview.resize")){const X=parseInt(Y.data.data);if(ot.calculateAndSetSplitViewValues(X,ot.internalValues),v)return;F(),ot.sendMessageToClients("resize.ok",ot.splitViewValues.percent)}}Qt(()=>{Q(),g=D.bind(this),En.addEventListener("message",g)}),jr(()=>{E(),A!==y&&!v&&(A=y,F())}),Jr(()=>{window.removeEventListener("message",g)});function Z(){ot.collapse(V())}async function j(){await ot.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const Y=le.getShellbarHeight();ot.internalValues.innerHeight=le.getInnerHeight(),ot.internalValues.rightContentHeight=ot.internalValues.innerHeight-Y,ot.internalValues.thresholdBottom=30,ot.internalValues.thresholdTop=Y+30,ot.calculateAndSetSplitViewValues(ot.splitViewValues.percent,ot.internalValues),v||F()}function de(Y){let X=Y.y,pe={};const ne=function(He){const q=X-He.y,se=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(se)||q===0)return;const Pe=se-q,$e=ot.internalValues.innerHeight-Pe,Fe=ot.enforceTresholds(Pe,$e);Pe<Fe.top||$e<Fe.bottom||(pe=Fe,X=He.y,l.draggable.style.top=`${pe.top}px`)},oe=function(){if(ve(),!pe.top||!pe.bottom||pe.top==ot.internalValues.m_pos_prev){ot.getDraggerBackdrop().style.display="none";return}ot.internalValues.m_pos_prev=pe.top,ot.splitViewValues=pe,F(),ot.sendMessageToClients("resize.ok",pe.percent)},ve=function(){document.removeEventListener("mouseup",oe),document.removeEventListener("mousemove",ne)},re=function(){document.addEventListener("mouseup",oe),document.addEventListener("mousemove",ne)};U(),ve(),re(),ot.getDraggerBackdrop().style.display="block"}const te=Y=>{let X=ot.getDraggerButton();X&&(X.style.display=Y?"block":"none"),X=ot.getCollapsedDraggerButton(),X&&(X.style.display=Y?"block":"none")},G=Y=>{te(!Y.detail||Y.detail.backdropActive!==!0)};return i.$$set=Y=>{"nodepath"in Y&&t(9,m=Y.nodepath),"collapsed"in Y&&t(0,v=Y.collapsed),"splitViewSettings"in Y&&t(1,C=Y.splitViewSettings),"isDataPrepared"in Y&&t(8,y=Y.isDataPrepared),"disableBackdrop"in Y&&t(2,P=Y.disableBackdrop)},[v,C,P,Z,j,Q,de,G,y,m]}class $_ extends Et{constructor(e){super(),At(this,e,Nk,Pk,It,{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:Lk,then:Tk,catch:Ik,value:1};return is(t=i[0].badgeCounter.count(),n),{c(){e=Ce(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&is(t,n)||U_(n,i,r)},d(l){l&&I(e),n.block.d(l),n.token=null,n=null}}}function Ik(i){return{c:Be,m:Be,p:Be,d:Be}}function Tk(i){let e,t=i[1]>0&&Pc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(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=S("span"),n=Te(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jwxev"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&I(e)}}}function Lk(i){return{c:Be,m:Be,p:Be,d:Be}}function Ak(i){let e,t=i[0]&&i[0].badgeCounter&&yc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=yc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function Ek(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Sn extends Et{constructor(e){super(),At(this,e,Ek,Ak,It,{node:0})}}function Nc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Te(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Le(l,n)},d(r){r&&I(e)}}}function Rk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Nc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function Dk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class xn extends Et{constructor(e){super(),At(this,e,Dk,Rk,It,{node:0})}}const{window:xa}=hl;function Ic(i,e,t){const n=i.slice();return n[82]=e[t][0],n[83]=e[t][1],n[85]=t,n}function Tc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Lc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[86]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[82]=e[t][0],n[83]=e[t][1],n[85]=t,n}function Dc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Vk(i){let e,t,n,l,r,a,o,c,g,d,_=i[12]&&Oc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Uc(i),b=(i[2]||i[3])&&ud(i);return{c(){e=S("div"),_&&_.c(),t=H(),n=S("nav"),l=S("div"),p&&p.c(),r=H(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-z9apvz"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-z9apvz"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-z9apvz")},m(m,v){L(m,e,v),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,g||(d=ie(n,"keyup",i[18]),g=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Oc(m),_.c(),_.m(e,t)):_&&(_.d(1),_=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Uc(m),p.c(),R(p,1),p.m(l,null)):p&&(ke(),z(p,1,1,()=>{p=null}),Se()),m[2]||m[3]?b?b.p(m,v):(b=ud(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-z9apvz"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-z9apvz"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){z(p),c=!1},d(m){m&&I(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,d()}}}function Ok(i){let e,t,n,l,r=i[12]&&cd(i),a=i[0]&&i[5].length>1&&gd(i);return{c(){e=S("div"),r&&r.c(),t=H(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-z9apvz"),f(e,"role","navigation"),An(e,"width","var(--luigi__left-sidenav--width)"),An(e,"height","100%")},m(o,c){L(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=cd(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=gd(o),a.c(),R(a,1),a.m(e,null)):a&&(ke(),z(a,1,1,()=>{a=null}),Se()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-z9apvz"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){z(a),l=!1},d(o){o&&I(e),r&&r.d(),a&&a.d()}}}function Oc(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,_=i[12].icon&&Mc(i),p=i[12].showUpLink&&Fc(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),_&&_.c(),r=H(),a=S("span"),c=Te(o),g=H(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(l,"class","fd-nested-list__link svelte-z9apvz"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item svelte-z9apvz"),f(t,"class","fd-nested-list svelte-z9apvz"),f(e,"class","lui-nav-title svelte-z9apvz")},m(b,m){L(b,e,m),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?_?_.p(b,m):(_=Mc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=Fc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&I(e),_&&_.d(),p&&p.d()}}}function Mc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?Fk:Mk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function Mk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Ze(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 Fk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function Fc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-z9apvz"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=ie(e,"click",Nt(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 Uc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=od(Ic(i,r,c));const o=c=>z(a[c],1,1,()=>{a[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-z9apvz"),f(e,"class","lui-fd-side-nav-wrapper svelte-z9apvz")},m(c,g){L(c,e,g),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,g){if(g[0]&1922164672|g[1]&455){r=c[13];let d;for(d=0;d<r.length;d+=1){const _=Ic(c,r,d);a[d]?(a[d].p(_,g),R(a[d],1)):(a[d]=od(_),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ke(),d=r.length;d<a.length;d+=1)o(d);Se()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-z9apvz"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)R(a[g]);l=!0}},o(c){a=a.filter(Boolean);for(let g=0;g<a.length;g+=1)z(a[g]);l=!1},d(c){c&&I(e),ct(a,c)}}}function Uk(i){let e,t,n,l;const r=[Hk,Bk],a=[];function o(c,g){return c[83].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Ce()},m(c,g){a[e].m(c,g),L(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(ke(),z(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,g):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){z(t),l=!1},d(c){a[e].d(c),c&&I(n)}}}function zk(i){let e,t,n=i[83],l=[];for(let a=0;a<n.length;a+=1)l[a]=sd(Ec(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){n=a[83];let c;for(c=0;c<n.length;c+=1){const g=Ec(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=sd(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Bk(i){let e,t,n=i[25](i[82])+"",l,r,a,o,c,g,d=i[10]&&i[83].metaInfo.icon&&zc(i),_=i[83],p=[];for(let m=0;m<_.length;m+=1)p[m]=Kc(Tc(i,_,m));const b=m=>z(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=H(),l=Te(n),o=H();for(let m=0;m<p.length;m+=1)p[m].c();c=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-z9apvz"),f(e,"title",r=i[33](i[83],i[25](i[82]))),f(e,"data-testid",a=i[32](i[83].metaInfo,i[82])),f(e,"id","category_list_level1_"+i[85])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);L(m,c,v),g=!0},p(m,v){if(m[10]&&m[83].metaInfo.icon?d?d.p(m,v):(d=zc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!g||v[0]&33562624)&&n!==(n=m[25](m[82])+"")&&Le(l,n),(!g||v[0]&33562624&&r!==(r=m[33](m[83],m[25](m[82]))))&&f(e,"title",r),(!g||v[0]&8192&&a!==(a=m[32](m[83].metaInfo,m[82])))&&f(e,"data-testid",a),v[0]&1887477952|v[1]&133){_=m[83];let C;for(C=0;C<_.length;C+=1){const y=Tc(m,_,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Kc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ke(),C=_.length;C<p.length;C+=1)b(C);Se()}},i(m){if(!g){for(let v=0;v<_.length;v+=1)R(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)z(p[v]);g=!1},d(m){m&&I(e),d&&d.d(),m&&I(o),ct(p,m),m&&I(c)}}}function Hk(i){let e,t,n,l,r,a,o=i[25](i[82])+"",c,g,d,_,p,b,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de;function te(q,se){return se[0]&8192&&(l=null),l==null&&(l=!!q[30](q[83].metaInfo.icon)),l?Qk:Yk}let G=te(i,[-1,-1,-1,-1]),Y=G(i);function X(){return i[58](i[83])}function pe(){return i[59](i[83])}function ne(...q){return i[60](i[83],...q)}let oe=i[83],ve=[];for(let q=0;q<oe.length;q+=1)ve[q]=Zc(Ac(i,oe,q));const re=q=>z(ve[q],1,1,()=>{ve[q]=null});let Ee=i[83].metaInfo&&i[83].metaInfo.label===i[8]&&Xc(i);function He(){return i[65](i[83])}return{c(){e=S("li"),t=S("div"),n=S("a"),Y.c(),r=H(),a=S("span"),c=Te(o),m=H(),v=S("button"),C=S("i"),V=H(),E=S("ul");for(let q=0;q<ve.length;q+=1)ve[q].c();F=H(),Ee&&Ee.c(),D=H(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(n,"title",g=i[33](i[83],i[25](i[82]))),f(n,"class",d="fd-nested-list__link "+(an(i[83],i[9])?"is-expanded":"")+" svelte-z9apvz"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[85]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=an(i[83],i[9])),f(C,"class",y=an(i[83],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-z9apvz"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=an(i[83],i[9])),f(v,"title",A=i[39](i[83],i[9])),f(t,"class","fd-nested-list__content has-child svelte-z9apvz"),f(t,"tabindex",T=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-z9apvz"),f(E,"aria-hidden",U=!an(i[83],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",Z=i[32](i[83].metaInfo,i[82])),Ht(e,"lui-item-expanded",an(i[83],i[9]))},m(q,se){L(q,e,se),w(e,t),w(t,n),Y.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let Pe=0;Pe<ve.length;Pe+=1)ve[Pe].m(E,null);w(e,F),Ee&&Ee.m(e,null),w(e,D),j=!0,Q||(de=[ie(n,"click",Nt(X)),ie(v,"click",Nt(pe)),ie(t,"keypress",ne),ie(e,"click",Dt(He))],Q=!0)},p(q,se){if(i=q,G===(G=te(i,se))&&Y?Y.p(i,se):(Y.d(1),Y=G(i),Y&&(Y.c(),Y.m(n,r))),(!j||se[0]&33562624)&&o!==(o=i[25](i[82])+"")&&Le(c,o),(!j||se[0]&33562624&&g!==(g=i[33](i[83],i[25](i[82]))))&&f(n,"title",g),(!j||se[0]&8704&&d!==(d="fd-nested-list__link "+(an(i[83],i[9])?"is-expanded":"")+" svelte-z9apvz"))&&f(n,"class",d),(!j||se[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!j||se[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!j||se[0]&8704&&b!==(b=an(i[83],i[9])))&&f(n,"aria-expanded",b),(!j||se[0]&8704&&y!==(y=an(i[83],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!j||se[0]&8704&&P!==(P=an(i[83],i[9])))&&f(v,"aria-expanded",P),(!j||se[0]&8704&&A!==(A=i[39](i[83],i[9])))&&f(v,"title",A),(!j||se[0]&64&&T!==(T=i[6]?"0":"-1"))&&f(t,"tabindex",T),se[0]&276865152|se[1]&133){oe=i[83];let Pe;for(Pe=0;Pe<oe.length;Pe+=1){const $e=Ac(i,oe,Pe);ve[Pe]?(ve[Pe].p($e,se),R(ve[Pe],1)):(ve[Pe]=Zc($e),ve[Pe].c(),R(ve[Pe],1),ve[Pe].m(E,null))}for(ke(),Pe=oe.length;Pe<ve.length;Pe+=1)re(Pe);Se()}(!j||se[0]&8704&&U!==(U=!an(i[83],i[9])))&&f(E,"aria-hidden",U),i[83].metaInfo&&i[83].metaInfo.label===i[8]?Ee?(Ee.p(i,se),se[0]&8448&&R(Ee,1)):(Ee=Xc(i),Ee.c(),R(Ee,1),Ee.m(e,D)):Ee&&(ke(),z(Ee,1,1,()=>{Ee=null}),Se()),(!j||se[0]&8192&&Z!==(Z=i[32](i[83].metaInfo,i[82])))&&f(e,"data-testid",Z),(!j||se[0]&8704)&&Ht(e,"lui-item-expanded",an(i[83],i[9]))},i(q){if(!j){for(let se=0;se<oe.length;se+=1)R(ve[se]);R(Ee),j=!0}},o(q){ve=ve.filter(Boolean);for(let se=0;se<ve.length;se+=1)z(ve[se]);z(Ee),j=!1},d(q){q&&I(e),Y.d(),ct(ve,q),Ee&&Ee.d(),Q=!1,Qe(de)}}}function zc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[83].metaInfo.icon)),e?qk:Wk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function Wk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function qk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[83].metaInfo.icon?i[29](i[83].metaInfo.icon):"")+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[83].metaInfo.icon?n[29](n[83].metaInfo.icon):"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function Bc(i){let e,t,n=i[86].label&&Hc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Hc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Hc(i){let e,t,n,l,r=i[28](i[86])+"",a,o,c,g,d,_,p,b,m,v,C,y,P,A;function T(Q,de){return Q[86].icon?Kk:Gk}let V=T(i),E=V(i),U=i[86].statusBadge&&Wc(i),F=i[86].externalLink&&i[86].externalLink.url&&qc(),D=i[86].badgeCounter&&Gc(i);function Z(...Q){return i[66](i[86],...Q)}function j(...Q){return i[67](i[86],...Q)}return{c(){e=S("li"),t=S("a"),E.c(),n=H(),l=S("span"),a=Te(r),o=H(),U&&U.c(),g=H(),F&&F.c(),d=H(),D&&D.c(),v=H(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",_=i[31](i[86])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=ue.getTestId(i[86])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[33](i[86],i[28](i[86]))),f(e,"aria-labelledby","category_list_level1_"+i[85])},m(Q,de){L(Q,e,de),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),U&&U.m(l,null),w(t,g),F&&F.m(t,null),w(t,d),D&&D.m(t,null),w(e,v),y=!0,P||(A=[ie(t,"click",Z),ie(t,"keyup",function(){pi(i[23]?void 0:j)&&(i[23]?void 0:j).apply(this,arguments)})],P=!0)},p(Q,de){i=Q,V===(V=T(i))&&E?E.p(i,de):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||de[0]&8192)&&r!==(r=i[28](i[86])+"")&&Le(a,r),i[86].statusBadge?U?(U.p(i,de),de[0]&8192&&R(U,1)):(U=Wc(i),U.c(),R(U,1),U.m(l,null)):U&&(ke(),z(U,1,1,()=>{U=null}),Se()),(!y||de[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",c),i[86].externalLink&&i[86].externalLink.url?F||(F=qc(),F.c(),F.m(t,d)):F&&(F.d(1),F=null),i[86].badgeCounter?D?(D.p(i,de),de[0]&8192&&R(D,1)):(D=Gc(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),z(D,1,1,()=>{D=null}),Se()),(!y||de[0]&8192&&_!==(_=i[31](i[86])))&&f(t,"href",_),(!y||de[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||de[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||de[0]&8192&&m!==(m=ue.getTestId(i[86])))&&f(t,"data-testid",m),(!y||de[0]&8192&&C!==(C=i[33](i[86],i[28](i[86]))))&&f(e,"title",C)},i(Q){y||(R(U),R(D),y=!0)},o(Q){z(U),z(D),y=!1},d(Q){Q&&I(e),E.d(),U&&U.d(),F&&F.d(),D&&D.d(),P=!1,Qe(A)}}}function Gk(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=H(),l=S("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Le(a,r)},d(o){o&&I(e),o&&I(n),o&&I(l)}}}function Kk(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?Jk:jk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function jk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Jk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[86].icon)+" svelte-z9apvz")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function Wc(i){let e,t;return e=new xn({props:{node:i[86]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function qc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Gc(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Kc(i){let e,t,n=!i[86].hideFromNav&&Bc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Bc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Yk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Qk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[83].metaInfo.icon)+" "+(i[6]&&!i[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[83].metaInfo.icon)+" "+(n[6]&&!n[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function jc(i){let e,t,n=i[86].label&&Jc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Jc(i){let e,t,n,l=i[28](i[86])+"",r,a,o,c,g,d,_,p,b,m,v,C,y,P,A;o=new xn({props:{node:i[86]}});let T=i[86].externalLink&&i[86].externalLink.url&&Yc(),V=i[86].badgeCounter&&Qc(i);function E(...F){return i[61](i[86],...F)}function U(...F){return i[62](i[86],...F)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Me(o.$$.fragment),g=H(),T&&T.c(),d=H(),V&&V.c(),C=H(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",_=i[31](i[86])),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=ue.getTestId(i[86])),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[85])},m(F,D){L(F,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(t,g),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(A=[ie(t,"click",E),ie(t,"keyup",function(){pi(i[23]?void 0:U)&&(i[23]?void 0:U).apply(this,arguments)})],P=!0)},p(F,D){i=F,(!y||D[0]&8192)&&l!==(l=i[28](i[86])+"")&&Le(r,l);const Z={};D[0]&8192&&(Z.node=i[86]),o.$set(Z),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(n,"class",c),i[86].externalLink&&i[86].externalLink.url?T||(T=Yc(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[86].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=Qc(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),z(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&_!==(_=i[31](i[86])))&&f(t,"href",_),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=ue.getTestId(i[86])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(V),y=!0)},o(F){z(o.$$.fragment,F),z(V),y=!1},d(F){F&&I(e),Oe(o),T&&T.d(),V&&V.d(),P=!1,Qe(A)}}}function Yc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Qc(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Zc(i){let e,t,n=!i[86].hideFromNav&&jc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Xc(i){let e,t,n,l=i[25](i[82])+"",r,a,o,c,g=i[83],d=[];for(let p=0;p<g.length;p+=1)d[p]=nd(Lc(i,g,p));const _=p=>z(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Te(l),a=H(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-z9apvz"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-z9apvz"),f(t,"class","lui-flyout-sublist__wrapper svelte-z9apvz"),f(e,"class","lui-flyout-sublist svelte-z9apvz")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&33562624)&&l!==(l=p[25](p[82])+"")&&Le(r,l),b[0]&276865152|b[1]&133){g=p[83];let m;for(m=0;m<g.length;m+=1){const v=Lc(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=nd(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ke(),m=g.length;m<d.length;m+=1)_(m);Se()}},i(p){if(!c){for(let b=0;b<g.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)z(d[b]);c=!1},d(p){p&&I(e),ct(d,p)}}}function $c(i){let e,t,n=i[86].label&&xc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function xc(i){let e,t,n,l=i[28](i[86])+"",r,a,o,c,g,d,_,p,b,m,v,C,y,P,A;o=new xn({props:{node:i[86]}});let T=i[86].externalLink&&i[86].externalLink.url&&ed(),V=i[86].badgeCounter&&td(i);function E(...F){return i[63](i[86],...F)}function U(...F){return i[64](i[86],...F)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Me(o.$$.fragment),g=H(),T&&T.c(),d=H(),V&&V.c(),C=H(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",_=i[31](i[86])),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=ue.getTestId(i[86])),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(e,"class","fd-nested-list__item")},m(F,D){L(F,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(t,g),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(A=[ie(t,"click",E),ie(t,"keyup",function(){pi(i[23]?void 0:U)&&(i[23]?void 0:U).apply(this,arguments)})],P=!0)},p(F,D){i=F,(!y||D[0]&8192)&&l!==(l=i[28](i[86])+"")&&Le(r,l);const Z={};D[0]&8192&&(Z.node=i[86]),o.$set(Z),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(n,"class",c),i[86].externalLink&&i[86].externalLink.url?T||(T=ed(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[86].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=td(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),z(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&_!==(_=i[31](i[86])))&&f(t,"href",_),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=ue.getTestId(i[86])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(V),y=!0)},o(F){z(o.$$.fragment,F),z(V),y=!1},d(F){F&&I(e),Oe(o),T&&T.d(),V&&V.d(),P=!1,Qe(A)}}}function ed(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function td(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function nd(i){let e,t,n=!i[86].hideFromNav&&$c(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function id(i){let e,t,n=i[86].label&&ld(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ld(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function ld(i){let e,t,n,l,r=i[28](i[86])+"",a,o,c,g,d,_,p,b,m,v,C,y,P,A,T;function V(Q,de){return Q[86].icon?Xk:Zk}let E=V(i),U=E(i);c=new xn({props:{node:i[86]}});let F=i[86].externalLink&&i[86].externalLink.url&&rd(),D=i[86].badgeCounter&&ad(i);function Z(...Q){return i[56](i[86],...Q)}function j(...Q){return i[57](i[86],...Q)}return{c(){e=S("li"),t=S("a"),U.c(),n=H(),l=S("span"),a=Te(r),o=H(),Me(c.$$.fragment),d=H(),F&&F.c(),_=H(),D&&D.c(),y=H(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",p=i[31](i[86])),f(t,"title",b=i[33](i[86],i[28](i[86]))),f(t,"class",m="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",C=ue.getTestId(i[86])),f(e,"class","fd-nested-list__item")},m(Q,de){L(Q,e,de),w(e,t),U.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,_),D&&D.m(t,null),w(e,y),P=!0,A||(T=[ie(t,"click",Z),ie(t,"keyup",function(){pi(i[23]?void 0:j)&&(i[23]?void 0:j).apply(this,arguments)})],A=!0)},p(Q,de){i=Q,E===(E=V(i))&&U?U.p(i,de):(U.d(1),U=E(i),U&&(U.c(),U.m(t,n))),(!P||de[0]&8192)&&r!==(r=i[28](i[86])+"")&&Le(a,r);const te={};de[0]&8192&&(te.node=i[86]),c.$set(te),(!P||de[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",g),i[86].externalLink&&i[86].externalLink.url?F||(F=rd(),F.c(),F.m(t,_)):F&&(F.d(1),F=null),i[86].badgeCounter?D?(D.p(i,de),de[0]&8192&&R(D,1)):(D=ad(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),z(D,1,1,()=>{D=null}),Se()),(!P||de[0]&8192&&p!==(p=i[31](i[86])))&&f(t,"href",p),(!P||de[0]&8192&&b!==(b=i[33](i[86],i[28](i[86]))))&&f(t,"title",b),(!P||de[0]&8320&&m!==(m="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",m),(!P||de[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||de[0]&8192&&C!==(C=ue.getTestId(i[86])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(D),P=!0)},o(Q){z(c.$$.fragment,Q),z(D),P=!1},d(Q){Q&&I(e),U.d(),Oe(c),F&&F.d(),D&&D.d(),A=!1,Qe(T)}}}function Zk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&I(e)}}}function Xk(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?xk:$k}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function $k(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function xk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[86].icon)+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function rd(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function ad(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function sd(i){let e,t,n=!i[86].hideFromNav&&id(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=id(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function od(i){let e,t,n,l,r,a;const o=[zk,Uk],c=[];function g(d,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(d[82]==="undefined"||d[82].startsWith(d[14]))),e?0:(t==null&&(t=d[83].filter(pS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=g(d,_),n===p?~n&&c[n].p(d,_):(l&&(ke(),z(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){z(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function ud(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&fd(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Te(l),a=H(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-z9apvz"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-z9apvz"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-z9apvz")},m(c,g){L(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]:"")+"")&&Le(r,l),c[3]?o?o.p(c,g):(o=fd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&I(e),o&&o.d()}}}function fd(i){let e;function t(r,a){return r[4]=="button"?tS:eS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function eS(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[ie(e,"click",i[69]),ie(e,"keydown",i[70])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&I(e),n=!1,Qe(l)}}}function tS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-z9apvz")},m(a,o){L(a,e,o),w(e,t),l||(r=ie(e,"click",i[68]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&I(e),l=!1,r()}}}function cd(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,_=i[12].icon&&dd(i),p=i[12].showUpLink&&hd(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),_&&_.c(),r=H(),a=S("span"),c=Te(o),g=H(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(l,"class","fd-nested-list__link svelte-z9apvz"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-z9apvz"),f(e,"class","lui-nav-title svelte-z9apvz")},m(b,m){L(b,e,m),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?_?_.p(b,m):(_=dd(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=hd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&I(e),_&&_.d(),p&&p.d()}}}function dd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?iS:nS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function nS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Ze(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 iS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function hd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-z9apvz"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=ie(e,"click",Nt(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 gd(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m=i[13],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ad(Rc(i,m,y));const C=y=>z(v[y],1,1,()=>{v[y]=null});return{c(){e=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=H(),l=S("li"),r=H(),a=S("li"),o=S("div"),c=S("a"),c.innerHTML=`<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span>
|
|
55
|
-
<span class="fd-navigation__text">More Items</span>`,g=H(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-z9apvz"></ul></div>',f(l,"class","lui-spacer svelte-z9apvz"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-z9apvz"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(o,"tabindex","-1"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-z9apvz"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-z9apvz"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(y,P){L(y,e,P),w(e,t);for(let A=0;A<v.length;A+=1)v[A].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,g),w(a,d),i[55](e),_=!0,p||(b=ie(c,"click",i[54]),p=!0)},p(y,P){if(P[0]&1922164672|P[1]&135){m=y[13];let A;for(A=0;A<m.length;A+=1){const T=Rc(y,m,A);v[A]?(v[A].p(T,P),R(v[A],1)):(v[A]=Ad(T),v[A].c(),R(v[A],1),v[A].m(t,n))}for(ke(),A=m.length;A<v.length;A+=1)C(A);Se()}},i(y){if(!_){for(let P=0;P<m.length;P+=1)R(v[P]);_=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)z(v[P]);_=!1},d(y){y&&I(e),ct(v,y),i[55](null),p=!1,b()}}}function lS(i){let e,t,n,l,r,a,o=i[25](i[82])+"",c,g,d,_,p,b,m,v,C,y,P,A,T,V,E;function U(de,te){return te[0]&8192&&(l=null),l==null&&(l=!!de[30](de[83].metaInfo.icon)),l?sS:aS}let F=U(i,[-1,-1,-1,-1]),D=F(i);function Z(){return i[48](i[83])}function j(...de){return i[49](i[83],...de)}let Q=(!i[6]||i[83].metaInfo&&i[83].metaInfo.label===i[8])&&_d(i);return{c(){e=S("li"),t=S("div"),n=S("a"),D.c(),r=H(),a=S("span"),c=Te(o),g=H(),d=S("span"),_=H(),p=S("span"),y=H(),Q&&Q.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-z9apvz"),f(n,"role","button"),f(n,"tabindex","-1"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[33](i[83],i[25](i[82]))),f(t,"aria-expanded",v=i[6]?i[83].metaInfo&&i[83].metaInfo.label===i[8]:an(i[83],i[9])),f(t,"aria-selected",C=i[6]&&i[83].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-z9apvz"),f(e,"aria-hidden","true"),f(e,"data-testid",A=i[32](i[83].metaInfo,i[82]))},m(de,te){L(de,e,te),w(e,t),w(t,n),D.m(n,null),w(n,r),w(n,a),w(a,c),w(n,g),w(n,d),w(n,_),w(n,p),w(e,y),Q&&Q.m(e,null),T=!0,V||(E=[ie(n,"click",Nt(Z)),ie(t,"click",Dt(j))],V=!0)},p(de,te){i=de,F===(F=U(i,te))&&D?D.p(i,te):(D.d(1),D=F(i),D&&(D.c(),D.m(n,r))),(!T||te[0]&33562624)&&o!==(o=i[25](i[82])+"")&&Le(c,o),(!T||te[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!T||te[0]&33562624&&m!==(m=i[33](i[83],i[25](i[82]))))&&f(t,"title",m),(!T||te[0]&9024&&v!==(v=i[6]?i[83].metaInfo&&i[83].metaInfo.label===i[8]:an(i[83],i[9])))&&f(t,"aria-expanded",v),(!T||te[0]&8384&&C!==(C=i[6]&&i[83].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[83].metaInfo&&i[83].metaInfo.label===i[8]?Q?(Q.p(i,te),te[0]&8512&&R(Q,1)):(Q=_d(i),Q.c(),R(Q,1),Q.m(e,null)):Q&&(ke(),z(Q,1,1,()=>{Q=null}),Se()),(!T||te[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-z9apvz"))&&f(e,"class",P),(!T||te[0]&8192&&A!==(A=i[32](i[83].metaInfo,i[82])))&&f(e,"data-testid",A)},i(de){T||(R(Q),T=!0)},o(de){z(Q),T=!1},d(de){de&&I(e),D.d(),Q&&Q.d(),V=!1,Qe(E)}}}function rS(i){let e,t,n=i[83],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ld(Vc(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){n=a[83];let c;for(c=0;c<n.length;c+=1){const g=Vc(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ld(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function aS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function sS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[83].metaInfo.icon)+" "+(i[6]&&!i[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[29](n[83].metaInfo.icon)+" "+(n[6]&&!n[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function _d(i){let e,t,n,l,r,a,o,c=i[6]&&pd(i),g=i[83],d=[];for(let p=0;p<g.length;p+=1)d[p]=yd(Dc(i,g,p));const _=p=>z(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=H(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(t,"aria-hidden","true"),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-z9apvz")},m(p,b){L(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=pd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&276865152|b[1]&133){g=p[83];let m;for(m=0;m<g.length;m+=1){const v=Dc(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=yd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ke(),m=g.length;m<d.length;m+=1)_(m);Se()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-z9apvz"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<g.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)z(d[b]);o=!1},d(p){p&&I(e),c&&c.d(),ct(d,p)}}}function pd(i){let e,t,n,l,r=i[25](i[82])+"",a,o,c,g,d,_=i[10]&&i[83].metaInfo.icon&&md(i);return{c(){e=S("div"),t=S("a"),_&&_.c(),n=H(),l=S("span"),a=Te(r),o=H(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-z9apvz"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-z9apvz"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[33](i[83],i[25](i[82]))),f(e,"data-testid",d=i[32](i[83].metaInfo,i[82]))},m(p,b){L(p,e,b),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[83].metaInfo.icon?_?_.p(p,b):(_=md(p),_.c(),_.m(t,n)):_&&(_.d(1),_=null),b[0]&33562624&&r!==(r=p[25](p[82])+"")&&Le(a,r),b[0]&33562624&&g!==(g=p[33](p[83],p[25](p[82])))&&f(e,"title",g),b[0]&8192&&d!==(d=p[32](p[83].metaInfo,p[82]))&&f(e,"data-testid",d)},d(p){p&&I(e),_&&_.d()}}}function md(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[83].metaInfo.icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function oS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function uS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[83].metaInfo.icon)+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[83].metaInfo.icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function bd(i){let e,t,n=i[86].label&&vd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].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&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function vd(i){let e,t,n,l,r=i[28](i[86])+"",a,o,c,g,d,_,p,b,m,v,C,y,P,A,T,V,E=i[28](i[86])+"",U,F,D,Z,j,Q,de,te,G,Y,X,pe,ne,oe;c=new xn({props:{node:i[86]}});let ve=i[86].externalLink&&i[86].externalLink.url&&wd(),re=i[86].badgeCounter&&kd(i);function Ee(...Fe){return i[50](i[86],...Fe)}function He(...Fe){return i[51](i[86],...Fe)}D=new xn({props:{node:i[86]}});let q=i[86].externalLink&&i[86].externalLink.url&&Sd(),se=i[86].badgeCounter&&Cd(i);function Pe(...Fe){return i[52](i[86],...Fe)}function $e(...Fe){return i[53](i[86],...Fe)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Te(r),o=H(),Me(c.$$.fragment),d=H(),_=S("span"),p=H(),ve&&ve.c(),b=H(),re&&re.c(),P=H(),A=S("li"),T=S("a"),V=S("span"),U=Te(E),F=H(),Me(D.$$.fragment),j=H(),q&&q.c(),Q=H(),se&&se.c(),f(l,"class",g="fd-navigation__text badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(_,"class","fd-navigation__selection-indicator"),f(_,"role","presentation"),f(_,"aria-hidden","true"),f(_,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-z9apvz"),f(n,"tabindex","-1"),f(n,"href",m=i[31](i[86])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[86]===i[7]),f(t,"data-testid",y=ue.getTestId(i[86])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",Z="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(T,"href",de=i[31](i[86])),f(T,"class",te="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(T,"role",G=i[23]?void 0:"button"),f(T,"tabindex","0"),f(T,"data-testid",Y=ue.getTestId(i[86])),f(T,"title",X=i[33](i[86],i[28](i[86]))),An(A,"display","none"),f(A,"class","fd-nested-list__item"),f(A,"aria-labelledby","collapsible_listnode_"+i[85])},m(Fe,_e){L(Fe,e,_e),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Ve(c,l,null),w(n,d),w(n,_),w(n,p),ve&&ve.m(n,null),w(n,b),re&&re.m(n,null),L(Fe,P,_e),L(Fe,A,_e),w(A,T),w(T,V),w(V,U),w(V,F),Ve(D,V,null),w(T,j),q&&q.m(T,null),w(T,Q),se&&se.m(T,null),pe=!0,ne||(oe=[ie(n,"click",Ee),ie(n,"keyup",function(){pi(i[23]?void 0:He)&&(i[23]?void 0:He).apply(this,arguments)}),ie(T,"click",Pe),ie(T,"keyup",function(){pi(i[23]?void 0:$e)&&(i[23]?void 0:$e).apply(this,arguments)})],ne=!0)},p(Fe,_e){i=Fe,(!pe||_e[0]&8192)&&r!==(r=i[28](i[86])+"")&&Le(a,r);const Ke={};_e[0]&8192&&(Ke.node=i[86]),c.$set(Ke),(!pe||_e[0]&8192&&g!==(g="fd-navigation__text badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",g),i[86].externalLink&&i[86].externalLink.url?ve||(ve=wd(),ve.c(),ve.m(n,b)):ve&&(ve.d(1),ve=null),i[86].badgeCounter?re?(re.p(i,_e),_e[0]&8192&&R(re,1)):(re=kd(i),re.c(),R(re,1),re.m(n,null)):re&&(ke(),z(re,1,1,()=>{re=null}),Se()),(!pe||_e[0]&8192&&m!==(m=i[31](i[86])))&&f(n,"href",m),(!pe||_e[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v),(!pe||_e[0]&8320&&C!==(C=i[86]===i[7]))&&f(t,"aria-selected",C),(!pe||_e[0]&8192&&y!==(y=ue.getTestId(i[86])))&&f(t,"data-testid",y),(!pe||_e[0]&8192)&&E!==(E=i[28](i[86])+"")&&Le(U,E);const at={};_e[0]&8192&&(at.node=i[86]),D.$set(at),(!pe||_e[0]&8192&&Z!==(Z="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(V,"class",Z),i[86].externalLink&&i[86].externalLink.url?q||(q=Sd(),q.c(),q.m(T,Q)):q&&(q.d(1),q=null),i[86].badgeCounter?se?(se.p(i,_e),_e[0]&8192&&R(se,1)):(se=Cd(i),se.c(),R(se,1),se.m(T,null)):se&&(ke(),z(se,1,1,()=>{se=null}),Se()),(!pe||_e[0]&8192&&de!==(de=i[31](i[86])))&&f(T,"href",de),(!pe||_e[0]&8320&&te!==(te="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(T,"class",te),(!pe||_e[0]&8388608&&G!==(G=i[23]?void 0:"button"))&&f(T,"role",G),(!pe||_e[0]&8192&&Y!==(Y=ue.getTestId(i[86])))&&f(T,"data-testid",Y),(!pe||_e[0]&8192&&X!==(X=i[33](i[86],i[28](i[86]))))&&f(T,"title",X)},i(Fe){pe||(R(c.$$.fragment,Fe),R(re),R(D.$$.fragment,Fe),R(se),pe=!0)},o(Fe){z(c.$$.fragment,Fe),z(re),z(D.$$.fragment,Fe),z(se),pe=!1},d(Fe){Fe&&I(e),Oe(c),ve&&ve.d(),re&&re.d(),Fe&&I(P),Fe&&I(A),Oe(D),q&&q.d(),se&&se.d(),ne=!1,Qe(oe)}}}function wd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function kd(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Sd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Cd(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function yd(i){let e,t,n=!i[86].hideFromNav&&bd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=bd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Pd(i){let e,t,n=i[86].label&&Nd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Nd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Nd(i){let e,t,n,l,r,a=i[28](i[86])+"",o,c,g,d,_,p,b,m,v,C,y,P,A,T,V,E,U;function F(G,Y){return G[86].icon?cS:fS}let D=F(i),Z=D(i);g=new xn({props:{node:i[86]}});let j=i[86].externalLink&&i[86].externalLink.url&&Id(),Q=i[86].badgeCounter&&Td(i);function de(...G){return i[46](i[86],...G)}function te(...G){return i[47](i[86],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),Z.c(),l=H(),r=S("span"),o=Te(a),c=H(),Me(g.$$.fragment),_=H(),j&&j.c(),p=H(),Q&&Q.c(),b=H(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[86]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-z9apvz"),f(n,"tabindex","-1"),f(n,"href",C=i[31](i[86])),f(n,"title",y=i[33](i[86],i[28](i[86]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",A=ue.getTestId(i[86])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",T=i[86]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,Y){L(G,e,Y),w(e,t),w(t,n),Z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Ve(g,r,null),w(n,_),j&&j.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,b),w(n,m),V=!0,E||(U=[ie(n,"click",de),ie(n,"keyup",function(){pi(i[23]?void 0:te)&&(i[23]?void 0:te).apply(this,arguments)})],E=!0)},p(G,Y){i=G,D===(D=F(i))&&Z?Z.p(i,Y):(Z.d(1),Z=D(i),Z&&(Z.c(),Z.m(n,l))),(!V||Y[0]&8192)&&a!==(a=i[28](i[86])+"")&&Le(o,a);const X={};Y[0]&8192&&(X.node=i[86]),g.$set(X),(!V||Y[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(r,"class",d),i[86].externalLink&&i[86].externalLink.url?j||(j=Id(),j.c(),j.m(n,p)):j&&(j.d(1),j=null),i[86].badgeCounter?Q?(Q.p(i,Y),Y[0]&8192&&R(Q,1)):(Q=Td(i),Q.c(),R(Q,1),Q.m(n,b)):Q&&(ke(),z(Q,1,1,()=>{Q=null}),Se()),(!V||Y[0]&8320&&v!==(v="fd-navigation__link "+(i[86]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-z9apvz"))&&f(n,"class",v),(!V||Y[0]&8192&&C!==(C=i[31](i[86])))&&f(n,"href",C),(!V||Y[0]&8192&&y!==(y=i[33](i[86],i[28](i[86]))))&&f(n,"title",y),(!V||Y[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!V||Y[0]&8192&&A!==(A=ue.getTestId(i[86])))&&f(n,"data-testid",A),(!V||Y[0]&8320&&T!==(T=i[86]===i[7]))&&f(t,"aria-selected",T)},i(G){V||(R(g.$$.fragment,G),R(Q),V=!0)},o(G){z(g.$$.fragment,G),z(Q),V=!1},d(G){G&&I(e),Z.d(),Oe(g),j&&j.d(),Q&&Q.d(),E=!1,Qe(U)}}}function fS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&I(e)}}}function cS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?hS:dS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function dS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function hS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[86].icon)+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function Id(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Td(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ld(i){let e,t,n=!i[86].hideFromNav&&Pd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Pd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ad(i){let e,t,n,l,r,a;const o=[rS,lS],c=[];function g(d,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(d[82]==="undefined"||d[82].startsWith(d[14]))),e?0:(t==null&&(t=d[83].filter(_S).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=g(d,_),n===p?~n&&c[n].p(d,_):(l&&(ke(),z(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){z(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function gS(i){let e,t,n,l,r,a;const o=[Ok,Vk],c=[];function g(d,_){return d[27]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,_){c[e].m(d,_),L(d,n,_),l=!0,r||(a=[ie(xa,"resize",i[17]),ie(xa,"click",i[21]),ie(xa,"blur",i[21]),ie(xa,"keydown",i[34])],r=!0)},p(d,_){t.p(d,_)},i(d){l||(R(t),l=!0)},o(d){z(t),l=!1},d(d){c[e].d(d),d&&I(n),r=!1,Qe(a)}}}function an(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Do(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 _S=i=>!i.hideFromNav&&i.label,pS=i=>!i.hideFromNav&&i.label;function mS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:T,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:A,navParentNode:U}),set:async $=>{$&&(Object.getOwnPropertyNames($).forEach(async Ne=>{if(Ne==="pathData")t(5,p=$.pathData);else if(Ne==="context")F=$.context;else if(Ne==="children")t(0,a=$.children);else if(Ne==="selectedNode")t(7,C=$.selectedNode);else if(Ne==="hasCategoriesWithIcon")t(10,A=$.hasCategoriesWithIcon);else if(Ne==="navParent"){t(12,E=void 0);let tt=$.navParent;if(t(42,U=tt),tt&&tt.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let ut=tt.navHeader,Ct=tt;if(ut==="inherit"){for(Ct=tt.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;ut=Ct?Ct.navHeader:void 0}if(ut instanceof Function){t(12,E={});let jt=ut(ue.stripNode(tt),ue.stripNode(Ct),F);jt instanceof Promise?jt.then(cn=>{t(12,E=cn)}):t(12,E=jt)}else if(ut==="auto")t(12,E={label:tt.label,icon:tt.icon});else if(ut&&ut.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,E={...ut,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,E=ut);const jt=we.mapPathToNode(it.getCurrentPath(),Ct);Rt.extractDataFromPath(jt).then(cn=>{const Gn=we.substituteDynamicParamsInObject(Object.assign({},cn.pathData.context,Ct.context),cn.pathData.pathParams);ue.fetchNodeTitleData(Ct,Gn).then(Dn=>{t(12,E={...ut,...Dn})}).catch(Dn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...ut,label:tt.label,icon:tt.icon})})})}else t(12,E=await q(ut,Ct))}}}),t(41,T=ue.getSideNavAccordionMode(C)))}},r=Wt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=ue.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:A}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:U}=e,F,D,Z,j=mt("store"),Q=mt("getTranslation");bi(i,Q,$=>t(25,n=$));let de=!1,te=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G;const Y=$=>ue.getNodeLabel($),X=async()=>{const $=l.get(),Ne=await Rt.getLeftNavData({...$},$);Ne&&(l.set(Ne),D=p,window.LEFTNAVDATA=Ne.children)};Qt(()=>{t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=ae.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,de=ae.getConfigValue("navigation.addNavHrefs")),t(1,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(22,Z=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ue.loadExpandedCategories()),un.doOnStoreChange(j,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),un.doOnStoreChange(j,()=>{X()},["navigation.viewgroupdata"]);let $=hi.initial();t(6,v=$.isSemiCollapsed),t(40,g=$.semiCollapsible),hi.onValueChanged(Ne=>{t(6,v=Ne.isSemiCollapsed)}),En.addEventListener("message",Ne=>{Ne.data.msg==="luigi.navigation.update-badge-counters"&&X()})});const pe=()=>{if(G){const $=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Ne=G.querySelector(".fd-navigation__list"),tt=G.querySelector(".fd-navigation__list > .lui-spacer");$==null||$.forEach(ut=>{Ne.insertBefore(ut,tt)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ne=()=>{const $=G.querySelector(".fd-navigation__list > .lui-spacer"),Ne=G.querySelector(".lui-moreItems"),tt=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if($.clientHeight===0&&tt.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let ut=tt.length-1;ut>0&&(lastNode=tt[ut-1],Ne.insertBefore(tt[ut],Ne.firstChild),!($.clientHeight>0));ut--);}};jr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let $;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Ne,tt)=>{$&&clearTimeout($),v&&($=setTimeout(()=>{pe(),ne()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):pe()}),Hn(()=>{(!D||D!=p)&&X(),t(22,Z=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ue.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:oe}=e;function ve($){return ue.renderIconClassName($)}function re($){return ue.isOpenUIiconName($)}function Ee($){return we.getNodeHref($,b)}function He($,Ne){return $&&$.testId?$.testId:ue.prepareForTests(Ne||$.label)}async function q($,Ne){const tt=we.mapPathToNode(it.getCurrentPath(),Ne),Ct=(await Rt.extractDataFromPath(tt)).pathData.pathParams;return we.substituteDynamicParamsInObject($,Ct)}function se($,Ne){return ue.generateTooltipText($,Ne)}function Pe($){r("handleClick",{node:$})}function $e($,Ne){if(bt(),hi.getCollapsed()){let tt,ut=document.getElementsByClassName("fd-app__sidebar")[0];if($.metaInfo&&$.metaInfo.label?tt=$.metaInfo.label:tt=$.category&&$.category.label||$.category,ut&&!ut.classList.contains("isBlocked")&&(ut.className+=" isBlocked"),tt===y){t(8,y=hi.closePopupMenu(y));return}t(8,y=tt),ut?Fe(Ne):te&&Do(Ne)}}function Fe($){const Ne=$.closest(".fd-nested-list__item"),tt=Ne.offsetTop,ut=Ui.getShellbar().offsetHeight;let Ct;Ui.isCustomLuigiContainer()?Ct=Ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const jt=Ne.getElementsByClassName("lui-flyout-sublist")[0],cn=$.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=tt+ut-cn,Dn=Ct-tt-Ne.offsetHeight+cn-ut;Gn+jt.offsetHeight>=Ct?(jt.style.bottom=Dn+"px",jt.className+=" has-bottom-position"):jt.style.top=Gn-ut+"px"})}function _e(){if(g){let $=hi.onResize(y);t(6,v=$.isSemiCollapsed),t(8,y=$.selectedCategory)}}function Ke($){if($.code==="ArrowRight"){const tt=Ae.getCurrentMicrofrontendIframe();tt&&tt.contentWindow&&tt.contentWindow.focus()}}function at($){let Ne=U?U.parent:void 0;for(;Ne;){if(Ne.pathSegment&&Ne.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ne});return}Ne=Ne.parent}console.warn('Could not resolve "up"-node, redirecting to root'),Y_.navigate("/")}function qt($,Ne){hi.getCollapsed()||t(9,P=ue.storeExpandedState($.metaInfo.categoryUid,Ne,T))}function bt(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function Vt(){t(8,y=hi.closePopupMenu(y)),bt()}function Wn($){$&&$.code==="Escape"&&Vt()}function Ut(){t(6,v=hi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Zt()}function mn($){const Ne=$.code;(Ne==="Enter"||Ne==="Space")&&Ut()}function Bi($,Ne){($.code==="Enter"||$==="Space")&&$e(Ne,$.currentTarget)}function gt($,Ne){$.keyCode===mi&&ue.handleNavAnchorClickedWithoutMetaKey($)&&Pe(Ne)}function Zt(){if(!ue.getBurgerTooltipConfig())return;const[$,Ne]=ue.getBurgerTooltipConfig(),tt=document.body.classList.contains("lui-semiCollapsible");$&&Ne&&tt&&t(11,V=document.body.classList.contains("semiCollapsed")?$:Ne)}function Rn($,Ne){return an($,Ne)?$.metaInfo.titleCollapseButton?n($.metaInfo.titleCollapseButton):void 0:$.metaInfo.titleExpandButton?n($.metaInfo.titleExpandButton):void 0}const ei=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},Hi=($,Ne)=>gt(Ne,$),nn=$=>qt($,!an($,P)),bn=($,Ne)=>$e($,Ne.currentTarget),qn=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},Gt=($,Ne)=>gt(Ne,$),Cn=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},vi=($,Ne)=>gt(Ne,$),wi=$=>{const Ne=$.target.parentElement;Ne.getAttribute("aria-expanded")==="true"?Ne.setAttribute("aria-expanded","false"):(Vt(),Ne.setAttribute("aria-expanded","true")),$.stopPropagation()};function fn($){Xe[$?"unshift":"push"](()=>{G=$,t(24,G)})}const ki=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},Si=($,Ne)=>gt(Ne,$),Ci=$=>qt($,!an($,P)),yi=$=>qt($,!an($,P)),Pi=($,Ne)=>Bi(Ne,$),gl=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},_l=($,Ne)=>gt(Ne,$),pl=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},Ni=($,Ne)=>gt(Ne,$),Wi=$=>$e($,event.currentTarget),qi=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},oi=($,Ne)=>gt(Ne,$),ml=$=>Ut(),bl=$=>Ut(),Gi=$=>mn($);return i.$$set=$=>{"children"in $&&t(0,a=$.children),"hideNavComponent"in $&&t(1,o=$.hideNavComponent),"footerText"in $&&t(2,c=$.footerText),"semiCollapsible"in $&&t(40,g=$.semiCollapsible),"semiCollapsibleButton"in $&&t(3,d=$.semiCollapsibleButton),"semiCollapsibleButtonStyle"in $&&t(4,_=$.semiCollapsibleButtonStyle),"pathData"in $&&t(5,p=$.pathData),"pathParams"in $&&t(43,b=$.pathParams),"virtualGroupPrefix"in $&&t(14,m=$.virtualGroupPrefix),"isSemiCollapsed"in $&&t(6,v=$.isSemiCollapsed),"selectedNode"in $&&t(7,C=$.selectedNode),"selectedCategory"in $&&t(8,y=$.selectedCategory),"expandedCategories"in $&&t(9,P=$.expandedCategories),"hasCategoriesWithIcon"in $&&t(10,A=$.hasCategoriesWithIcon),"sideNavAccordionMode"in $&&t(41,T=$.sideNavAccordionMode),"burgerTooltip"in $&&t(11,V=$.burgerTooltip),"navHeader"in $&&t(12,E=$.navHeader),"navParentNode"in $&&t(42,U=$.navParentNode),"sortedChildrenEntries"in $&&t(13,oe=$.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const $=Object.entries(a);$.sort((Ne,tt)=>Ne[1].metaInfo.order-tt[1].metaInfo.order),t(13,oe=$)}},[a,o,c,d,_,p,v,C,y,P,A,V,E,oe,m,Pe,$e,_e,Ke,at,qt,Vt,Z,de,G,n,Q,te,Y,ve,re,Ee,He,se,Wn,Ut,mn,Bi,gt,Rn,g,T,U,b,Fe,Do,ei,Hi,nn,bn,qn,Gt,Cn,vi,wi,fn,ki,Si,Ci,yi,Pi,gl,_l,pl,Ni,Wi,qi,oi,ml,bl,Gi]}class x_ extends Et{constructor(e){super(),At(this,e,mS,gS,It,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:40,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:43,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:41,burgerTooltip:11,navHeader:12,navParentNode:42,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:44,calculateBTPNavFlyoutPosition:45,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[44]}get calculateBTPNavFlyoutPosition(){return Do}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 bS=i=>{un.doOnStoreChange(i.store,()=>{const e=ae.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),ae.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),ep(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"])},vS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),ep=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!vS(d,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=Yr.getDocumentTitle()||r;i.set({title:r}),document.title=wt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Ed(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Rd(i,e,t){const n=i.slice();return n[43]=e[t],n}function wS(i){let e,t,n,l,r=i[1]&&Dd(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=ie(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Dd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&I(e),r&&r.d(),n=!1,l()}}}function kS(i){let e,t,n,l,r=i[1]&&Vd(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=ie(e,"click",i[27]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Vd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&I(e),r&&r.d(),n=!1,l()}}}function Dd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(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 Vd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(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 Od(i){let e,t;function n(o,c){return o[3]?SS:CS}let l=n(i),r=l(i),a=i[10]&&Kd(i);return{c(){r.c(),e=H(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?a?a.p(o,c):(a=Kd(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 SS(i){let e,t,n,l,r,a,o,c,g,d;function _(C,y){return C[12]?PS:yS}let p=_(i),b=p(i),m=i[4]&&i[5]&&Hd(i),v=i[7]&&i[7].length>0&&Wd(i);return{c(){e=S("div"),t=S("div"),b.c(),n=H(),l=S("div"),r=S("nav"),a=S("ul"),m&&m.c(),o=H(),v&&v.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(C,y){L(C,e,y),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),m&&m.m(a,null),w(a,o),v&&v.m(a,null),i[36](a),g||(d=ie(t,"click",Dt(ES)),g=!0)},p(C,y){p===(p=_(C))&&b?b.p(C,y):(b.d(1),b=p(C),b&&(b.c(),b.m(t,null))),C[4]&&C[5]?m?m.p(C,y):(m=Hd(C),m.c(),m.m(a,o)):m&&(m.d(1),m=null),C[7]&&C[7].length>0?v?v.p(C,y):(v=Wd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!C[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(C){C&&I(e),b.d(),m&&m.d(),v&&v.d(),i[36](null),g=!1,d()}}}function CS(i){let e;function t(r,a){return r[12]?LS:TS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function yS(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g;return{c(){e=S("button"),t=S("span"),l=Te(n),r=H(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=ie(e,"click",Dt(i[34])),c=!0)},p(d,_){_[0]&131076&&n!==(n=d[17](d[2])+"")&&Le(l,n),_[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,g()}}}function PS(i){let e,t,n,l=i[7]&&i[7].length===1&&Md(i),r=i[7]&&i[7].length>1&&Fd(i),a=i[7].length>1&&!i[5]&&Bd(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=H(),a&&a.c(),n=Ce()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=Md(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=Fd(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=Bd(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 Md(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Te(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){L(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&131200&&n!==(n=a[17](a[7][0].title)+"")&&Le(l,n),o[0]&128&&r!==(r=a[22](a[7][0]))&&f(e,"href",r)},d(a){a&&I(e)}}}function Fd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=zd(Rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Rd(l,t,a);n[a]?n[a].p(o,r):(n[a]=zd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ct(n,l),l&&I(e)}}}function Ud(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g,d,_;return{c(){e=S("a"),t=S("span"),l=Te(n),r=H(),a=S("i"),o=H(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[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,b){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(_=ie(e,"click",Nt(i[32])),d=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Le(l,n),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&I(e),d=!1,_()}}}function zd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&Ud(i);return{c(){n&&n.c(),t=Ce()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=Ud(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&I(t)}}}function Bd(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Te(n),r=H(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=ie(e,"click",Nt(i[33])),c=!0)},p(d,_){_[0]&131076&&n!==(n=d[17](d[2])+"")&&Le(l,n),_[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,g()}}}function Hd(i){let e,t,n,l=i[17](i[6])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(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){L(g,e,d),w(e,t),w(t,n),w(n,r),o||(c=ie(t,"click",Nt(i[14])),o=!0)},p(g,d){d[0]&131136&&l!==(l=g[17](g[6])+"")&&Le(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 Wd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=Gd(Ed(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Ed(l,t,a);n[a]?n[a].p(o,r):(n[a]=Gd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ct(n,l),l&&I(e)}}}function NS(i){let e,t,n,l=i[17](i[43].title)+"",r,a,o,c,g,d;function _(...p){return i[35](i[43],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),c=H(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=ie(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Le(r,l),b[0]&4736&&a!==(a=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",a),b[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&I(e),g=!1,d()}}}function IS(i){let e,t=i[16]&&qd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=qd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function qd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=S("li"),t=new hr(!1),l=H(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&I(e)}}}function Gd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!le.isFunction(o[8])),e)return IS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return NS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Ce()},m(o,c){a&&a.m(o,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){a&&a.d(o),o&&I(n)}}}function TS(i){let e,t,n=i[17](i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Te(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ie(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Le(l,n)},d(o){o&&I(e),r=!1,a()}}}function LS(i){let e,t,n=i[17](i[2])+"",l,r,a;return{c(){e=S("a"),t=S("span"),l=Te(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ie(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Le(l,n)},d(o){o&&I(e),r=!1,a()}}}function Kd(i){let e,t=i[17](i[10])+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Le(n,t)},d(l){l&&I(e)}}}function AS(i){let e,t;function n(o,c){return o[12]?kS:wS}let l=n(i),r=l(i),a=i[2]&&Od(i);return{c(){r.c(),e=H(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Od(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:Be,o:Be,d(o){r.d(o),o&&I(e),a&&a.d(o),o&&I(t)}}}const ES=()=>{};function RS(i,e,t){let n;const l=Wt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:d}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:m}=e,{pathParams:v}=e,{subTitle:C}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:A}=e,T,V,E=mt("getUnsavedChangesModalPromise"),U=mt("getTranslation");bi(i,U,_e=>t(17,n=_e));let F=mt("store");const D={closeDropDown:()=>{G("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:P,pathParams:v,appSwitcherItems:b,itemRenderer:m,selectedItem:_,defaultTitle:p,title:o,subTitle:C,defaultSubTitle:y,showMainAppEntry:d,hasApps:c,hasLogo:a,logo:r}),set:_e=>{_e&&Object.getOwnPropertyNames(_e).forEach(Ke=>{Ke==="pathData"?t(24,P=_e.pathData):Ke==="appSwitcherItems"?t(7,b=_e.appSwitcherItems):Ke==="itemRenderer"?t(8,m=_e.itemRenderer):Ke==="pathParams"?t(9,v=_e.pathParams):Ke==="selectedItem"?t(5,_=_e.selectedItem):Ke==="title"?t(2,o=_e.title):Ke==="defaultSubTitle"?t(23,y=_e.defaultSubTitle):Ke==="subTitle"?t(10,C=_e.subTitle):Ke==="defaultTitle"?t(6,p=_e.defaultTitle):Ke==="subTitle"?t(10,C=_e.subTitle):Ke==="showMainAppEntry"?t(4,d=_e.showMainAppEntry):Ke==="hasApps"?t(3,c=_e.hasApps):Ke==="hasLogo"&&t(1,a=_e.hasLogo)})},store:F});Qt(()=>{bS(Z())}),Hn(()=>{(!V||V!=P)&&(ep(Z()),V=P)});function j(_e,Ke,at){return setTimeout(()=>{Ke&&m(_e,Ke.children[at],D)}),""}function Q(_e){E().then(()=>{it.navigateTo(we.applyPathParams(_e,v))},()=>{})}function de(){E().then(()=>{it.navigateTo("/")},()=>{})}function te(_e){l("handleClick",{node:_e}),G("appSwitcherPopover")}function G(_e){l("toggleDropdownState",{name:_e})}function Y(_e){return _e.testId?_e.testId:ue.prepareForTests(_e.title||_e)}function X(_e,Ke){if(_e.link){const at=we.applyPathParams(_e.link,Ke);if(at.indexOf(":")!==0&&at.indexOf("/:")===-1)return!0}return!1}function pe(_e){return we.getNodeHref(_e)}function ne(_e){Xe[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const oe=_e=>{ue.handleNavAnchorClickedWithoutMetaKey(_e)&&Q("/")};function ve(_e){Xe[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const re=()=>Q("/"),Ee=_e=>{ue.handleNavAnchorClickedWithoutMetaKey(_e)&&Q("/")},He=()=>Q("/"),q=()=>G("appSwitcherPopover"),se=()=>G("appSwitcherPopover"),Pe=()=>G("appSwitcherPopover"),$e=(_e,Ke)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ke)&&Q(_e.link)};function Fe(_e){Xe[_e?"unshift":"push"](()=>{T=_e,t(16,T)})}return i.$$set=_e=>{"logo"in _e&&t(0,r=_e.logo),"hasLogo"in _e&&t(1,a=_e.hasLogo),"title"in _e&&t(2,o=_e.title),"hasApps"in _e&&t(3,c=_e.hasApps),"dropDownStates"in _e&&t(11,g=_e.dropDownStates),"showMainAppEntry"in _e&&t(4,d=_e.showMainAppEntry),"selectedItem"in _e&&t(5,_=_e.selectedItem),"defaultTitle"in _e&&t(6,p=_e.defaultTitle),"appSwitcherItems"in _e&&t(7,b=_e.appSwitcherItems),"itemRenderer"in _e&&t(8,m=_e.itemRenderer),"pathParams"in _e&&t(9,v=_e.pathParams),"subTitle"in _e&&t(10,C=_e.subTitle),"defaultSubTitle"in _e&&t(23,y=_e.defaultSubTitle),"pathData"in _e&&t(24,P=_e.pathData),"addNavHrefForAnchor"in _e&&t(12,A=_e.addNavHrefForAnchor)},[r,a,o,c,d,_,p,b,m,v,C,g,A,Q,de,G,T,n,U,j,Y,X,pe,y,P,te,ne,oe,ve,re,Ee,He,q,se,Pe,$e,Fe]}class DS extends Et{constructor(e){super(),At(this,e,RS,AS,It,{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 jd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Jd(i){let e,t,n,l,r,a,o=i[0]&&Yd(i),c=(i[10]||i[11])&&th(i);return{c(){e=S("div"),o&&o.c(),t=H(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,d){L(g,e,d),o&&o.m(e,null),L(g,t,d),L(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=Yd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,d):(c=th(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 Yd(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?OS:VS}let g=c(i),d=g(i),_=i[7].name&&Qd(i),p=i[7].description&&Zd(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=$d(jd(i,b,C));let v=i[12]&&xd(i);return{c(){e=S("div"),d.c(),t=H(),n=S("div"),_&&_.c(),l=H(),p&&p.c(),r=H(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=H(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){L(C,e,y),d.m(e,null),L(C,t,y),L(C,n,y),_&&_.m(n,null),w(n,l),p&&p.m(n,null),L(C,r,y),L(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(g===(g=c(C))&&d?d.p(C,y):(d.d(1),d=g(C),d&&(d.c(),d.m(e,null))),C[7].name?_?_.p(C,y):(_=Qd(C),_.c(),_.m(n,l)):_&&(_.d(1),_=null),C[7].description?p?p.p(C,y):(p=Zd(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const A=jd(C,b,P);m[P]?m[P].p(A,y):(m[P]=$d(A),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=xd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&I(e),d.d(),C&&I(t),C&&I(n),_&&_.d(),p&&p.d(),C&&I(r),C&&I(a),ct(m,C),v&&v.d()}}}function VS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Te(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(n,t)},d(l){l&&I(e)}}}function OS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),An(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&An(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&I(e)}}}function Qd(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&I(e)}}}function Zd(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&I(e)}}}function Xd(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?FS:MS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function MS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),An(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&An(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 FS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&I(e)}}}function $d(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,_=i[34].icon&&Xd(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),_&&_.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[ie(t,"click",i[23]),ie(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?_?_.p(i,m):(_=Xd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&I(e),_&&_.d(),g=!1,Qe(d)}}}function xd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g=i[9].settings.icon&&eh(i);return{c(){e=S("li"),t=S("a"),g&&g.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,_){L(d,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ie(e,"click",Nt(i[5])),ie(e,"keyup",i[25])],o=!0)},p(d,_){d[9].settings.icon?g?g.p(d,_):(g=eh(d),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&I(e),g&&g.d(),o=!1,Qe(c)}}}function eh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?zS:US}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function US(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Ze(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(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 zS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&I(e)}}}function th(i){let e,t,n=(i[8]||!i[10]&&i[11])&&nh(i),l=i[10]&&!i[8]&&ih(i);return{c(){n&&n.c(),e=H(),l&&l.c(),t=Ce()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=nh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=ih(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 nh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Te(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){L(c,e,g),w(e,t),w(t,l),a||(o=ie(t,"click",i[4]),a=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(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 ih(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=H(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){L(a,e,o),L(a,t,o),L(a,n,o),l||(r=[ie(e,"click",i[15]),ie(n,"click",i[15])],l=!0)},p:Be,d(a){a&&I(e),a&&I(t),a&&I(n),l=!1,Qe(r)}}}function BS(i){let e,t=!i[1]&&Jd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Jd(n),t.c(),t.m(e.parentNode,e))},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function HS(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,_,p,b,m,v=mt("store"),C=mt("getTranslation");bi(i,C,ne=>t(13,n=ne));let y=mt("getUnsavedChangesModalPromise"),P=mt("openViewInModal");Qt(async()=>{gi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),F(),sn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),sn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function A(){sn.startAuthorization()}function T(ne){return ue.renderIconClassName(ne)}function V(ne){return ue.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:ue.prepareForTests(ne.label)}function U(ne){return we.getNodeHref(ne)}function F(){b||(un.doOnStoreChange(v,async()=>{const ne=await ae.getConfigValueAsync("navigation.profile.logout"),oe=await ae.getConfigValueAsync("userSettings"),ve=oe||await ae.getConfigValueAsync("settings.userSettings"),re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(ve){const Ee=ve.userSettingsProfileMenuEntry;re.settings={...cl.userSettingsProfileMenuEntry,...Ee}}re.logout={...cl.logout,...ne},t(11,_=!!ne),m=!1,sn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,sn.setProfileLogoutFn(ne.customLogoutFn)),t(9,g=re),t(12,p=!!ve)},["navigation.profile"]),b=!0)}async function D(){const ne=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(sn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function Z(ne){y().then(()=>{if(ne.openNodeInModal){const oe=we.buildRoute(ne,`${ne.link}`);P(oe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else it.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function j(){y().then(()=>{d?de():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Yr.openUserSettings(),l("toggleDropdownState")}function de(){sn.logout()}function te({keyCode:ne}){(ne===mi||ne===Kr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const Y=ne=>{ue.handleNavAnchorClickedWithoutMetaKey(ne)},X=ne=>Z(ne),pe=ne=>te(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,Z,j,Q,te,o,c,g,d,_,p,n,C,A,T,V,E,U,F,D,de,Y,X,pe]}class WS extends Et{constructor(e){super(),At(this,e,HS,BS,It,{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 lh(i,e,t){const n=i.slice();return n[34]=e[t],n}function rh(i){let e,t,n,l,r,a=i[0]&&ah(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=oh(lh(i,o,_));let g=i[12]&&uh(i),d=(i[10]||i[11])&&ch(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=H();for(let _=0;_<c.length;_+=1)c[_].c();l=H(),g&&g.c(),r=H(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(_,p){L(_,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),d&&d.m(t,null)},p(_,p){if(_[0]?a?a.p(_,p):(a=ah(_),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const m=lh(_,o,b);c[b]?c[b].p(m,p):(c[b]=oh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=uh(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?d?d.p(_,p):(d=ch(_),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(_){_&&I(e),a&&a.d(),ct(c,_),g&&g.d(),d&&d.d()}}}function ah(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Te(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,n)},d(r){r&&I(e)}}}function sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?GS:qS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function qS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(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 GS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&I(e)}}}function oh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,_=i[34].icon&&sh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),_&&_.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[ie(t,"click",i[23]),ie(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?_?_.p(i,m):(_=sh(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&I(e),_&&_.d(),g=!1,Qe(d)}}}function uh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g,d=i[9].settings.icon&&fh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){L(_,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=[ie(e,"click",Nt(i[5])),ie(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?d?d.p(_,p):(d=fh(_),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&I(e),d&&d.d(),c=!1,Qe(g)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?jS:KS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function KS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(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 jS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&I(e)}}}function ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&dh(i),l=i[10]&&!i[8]&&gh(i);return{c(){n&&n.c(),e=H(),l&&l.c(),t=Ce()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=dh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=gh(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 dh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,g,d=i[9].logout.icon&&hh(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){L(_,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=ie(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?d?d.p(_,p):(d=hh(_),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&I(e),d&&d.d(),c=!1,g()}}}function hh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?YS:JS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function JS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(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 YS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&I(e)}}}function gh(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=ie(e,"click",i[15]),t=!0)},p:Be,d(l){l&&I(e),t=!1,n()}}}function QS(i){let e,t=!i[1]&&rh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=rh(n),t.c(),t.m(e.parentNode,e))},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function ZS(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,_,p,b,m,v=mt("store"),C=mt("getTranslation");bi(i,C,ne=>t(13,n=ne));let y=mt("getUnsavedChangesModalPromise"),P=mt("openViewInModal");Qt(async()=>{gi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),F(),sn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),sn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function A(){sn.startAuthorization()}function T(ne){return ue.renderIconClassName(ne)}function V(ne){return ue.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:ue.prepareForTests(ne.label)}function U(ne){return we.getNodeHref(ne)}function F(){b||(un.doOnStoreChange(v,async()=>{const ne=await ae.getConfigValueAsync("navigation.profile.logout"),oe=await ae.getConfigValueAsync("userSettings"),ve=oe||await ae.getConfigValueAsync("settings.userSettings");t(12,p=!!ve);const re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ee=ve.userSettingsProfileMenuEntry;re.settings={...cl.userSettingsProfileMenuEntry,...Ee}}re.logout={...cl.logout,...ne},t(11,_=!!ne),m=!1,sn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,sn.setProfileLogoutFn(ne.customLogoutFn)),t(9,g=re)},["navigation.profile"]),b=!0)}async function D(){const ne=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(sn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function Z(ne){y().then(()=>{if(ne.openNodeInModal){const oe=we.buildRoute(ne,`${ne.link}`);P(oe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else it.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function j(){y().then(()=>{d?de():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Yr.openUserSettings(),l("toggleDropdownState")}function de(){sn.logout()}function te({keyCode:ne}){(ne===mi||ne===Kr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const Y=ne=>{ue.handleNavAnchorClickedWithoutMetaKey(ne)},X=ne=>Z(ne),pe=ne=>te(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,Z,j,Q,te,o,c,g,d,_,p,n,C,A,T,V,E,U,F,D,de,Y,X,pe]}class tp extends Et{constructor(e){super(),At(this,e,ZS,QS,It,{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 _h(i,e,t){const n=i.slice();return n[11]=e[t],n}function ph(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=vh(_h(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const g=_h(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=vh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function mh(i){let e,t,n,l,r,a,o,c,g=i[3](i[11])+"",d,_,p=i[4](i[11]),b,m,v,C,y,P;function A(F,D){return D&6&&(n=null),n==null&&(n=!!F[2](F[11])),n?$S:XS}let T=A(i,-1),V=T(i);r=new Sn({props:{node:i[11]}});let E=p&&bh(i);function U(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=H(),Me(r.$$.fragment),a=H(),o=S("div"),c=S("div"),d=Te(g),_=H(),E&&E.c(),b=H(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=ue.getTestId(i[11]))},m(F,D){L(F,e,D),w(e,t),V.m(t,null),w(t,l),Ve(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,_),E&&E.m(o,null),w(e,b),C=!0,y||(P=ie(e,"click",U),y=!0)},p(F,D){i=F,T===(T=A(i,D))&&V?V.p(i,D):(V.d(1),V=T(i),V&&(V.c(),V.m(t,l)));const Z={};D&2&&(Z.node=i[11]),r.$set(Z),(!C||D&10)&&g!==(g=i[3](i[11])+"")&&Le(d,g),D&18&&(p=i[4](i[11])),p?E?E.p(i,D):(E=bh(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||D&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||D&2&&v!==(v=ue.getTestId(i[11])))&&f(e,"data-testid",v)},i(F){C||(R(r.$$.fragment,F),C=!0)},o(F){z(r.$$.fragment,F),C=!1},d(F){F&&I(e),V.d(),Oe(r),E&&E.d(),y=!1,P()}}}function XS(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!Ze(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function $S(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){L(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&I(e)}}}function bh(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&I(e)}}}function vh(i){let e,t,n=i[11].label&&mh(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=mh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function xS(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P,A,T=i[1]&&ph(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Te(i[0]),c=H(),g=S("div"),d=S("div"),_=S("ul"),T&&T.c(),p=H(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,g),w(g,d),w(d,_),T&&T.m(_,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(A=[ie(C,"click",i[8]),ie(e,"click",Dt(eC))],P=!0)},p(V,[E]){(!y||E&1)&&Le(o,V[0]),V[1]?T?(T.p(V,E),E&2&&R(T,1)):(T=ph(V),T.c(),R(T,1),T.m(_,null)):T&&(ke(),z(T,1,1,()=>{T=null}),Se())},i(V){y||(R(T),y=!0)},o(V){z(T),y=!1},d(V){V&&I(e),T&&T.d(),P=!1,Qe(A)}}}const eC=()=>{};function tC(i,e,t){const n=Wt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:g}=e;function d(m){return ue.renderIconClassName(m)}function _(m){n("listClick",m)}function p(m){Rl.call(this,i,m)}const b=m=>_(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,g=m.noSubTitle)},[l,r,a,o,c,g,_,d,p,b]}class np extends Et{constructor(e){super(),At(this,e,tC,xS,It,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:nC}=hl;function wh(i,e,t){const n=i.slice();return n[7]=e[t],n}function kh(i){let e,t,n,l=i[0]&&Sh(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Sh(r),l.c(),R(l,1),l.m(t,null)):l&&(ke(),z(l,1,1,()=>{l=null}),Se())},i(r){n||(R(l),n=!0)},o(r){z(l),n=!1},d(r){r&&I(e),l&&l.d()}}}function Sh(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=yh(wh(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const g=wh(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=yh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Ch(i){let e,t,n,l,r,a,o,c,g=i[11](i[7])+"",d,_,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?lC:iC}let P=y(i,-1),A=P(i);a=new Sn({props:{node:i[7]}});function T(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),A.c(),r=H(),Me(a.$$.fragment),o=H(),c=S("span"),d=Te(g),p=H(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",_=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=ue.getTestId(i[7]))},m(V,E){L(V,e,E),w(e,t),w(t,n),A.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ie(t,"click",i[13]),ie(e,"click",T)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&A?A.p(i,E):(A.d(1),A=P(i),A&&(A.c(),A.m(n,r)));const U={};E&1&&(U.node=i[7]),a.$set(U),(!m||E&1)&&g!==(g=i[11](i[7])+"")&&Le(d,g),(!m||E&5&&_!==(_=i[2]?i[12](i[7]):void 0))&&f(t,"href",_),(!m||E&1&&b!==(b=ue.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){z(a.$$.fragment,V),m=!1},d(V){V&&I(e),A.d(),Oe(a),v=!1,Qe(C)}}}function iC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),Ze(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(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 lC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(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 yh(i){let e,t,n=i[7].label&&Ch(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Ch(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ph(i){let e,t;return e=new np({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function rC(i){let e,t,n,l,r,a=!i[1]&&kh(i),o=i[1]&&Ph(i);return{c(){a&&a.c(),e=H(),o&&o.c(),t=Ce()},m(c,g){a&&a.m(c,g),L(c,e,g),o&&o.m(c,g),L(c,t,g),n=!0,l||(r=ie(nC,"resize",os),l=!0)},p(c,[g]){c[1]?a&&(ke(),z(a,1,1,()=>{a=null}),Se()):a?(a.p(c,g),g&2&&R(a,1)):(a=kh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&R(o,1)):(o=Ph(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ke(),z(o,1,1,()=>{o=null}),Se())},i(c){n||(R(a),R(o),n=!0)},o(c){z(a),z(o),n=!1},d(c){a&&a.d(c),c&&I(e),o&&o.d(c),c&&I(t),l=!1,r()}}}function os(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function aC(i,e,t){const n=Wt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=mt("getUnsavedChangesModalPromise"),g=mt("openViewInModal"),{addNavHrefForAnchor:d}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});Qt(async()=>{os()}),Hn(async()=>{r||t(0,r=await Rt.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const U=we.buildRoute(E,`/${E.pathSegment}`);g(U,E.openNodeInModal===!0?{}:E.openNodeInModal)}else it.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return ue.isOpenUIiconName(E.icon)}function y(E){return ue.renderIconClassName(E)}function P(E){return wt.getTranslation(E.label)}function A(E){return we.getNodeHref(E,o)}const T=E=>{ue.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,os,a,_,C,y,P,A,T,V]}class ip extends Et{constructor(e){super(),At(this,e,aC,rC,It,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return os}}const 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?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(it.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=ae.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=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=le.normalizePath(i),t=le.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 Nh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Ih(i,e,t){const n=i.slice();return n[20]=e[t],n}function Th(i,e,t){const n=i.slice();return n[20]=e[t],n}function Lh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Eh(Th(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Th(l,t,a);n[a]?n[a].p(o,r):(n[a]=Eh(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),ct(n,l)}}}function Ah(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function _(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),o=H(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=ue.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[ie(t,"click",Nt(hC)),ie(e,"click",_)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=ue.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,Qe(d)}}}function Eh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Ah(i);return{c(){n&&n.c(),t=Ce()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Ah(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&I(t)}}}function Rh(i){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
54
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function ok(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v=(i[5]||i[4]&&i[0].header)&&Qf(i),C=i[4]&&Xf(i),y=i[3]&&$f();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=H(),l=S("div"),C&&C.c(),r=H(),a=S("div"),g=H(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1rzu3xo"),f(t,"data-testid",_=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=$n(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,g),y&&y.m(t,null),m=!0},p(P,[A]){P[5]||P[4]&&P[0].header?v?(v.p(P,A),A&49&&R(v,1)):(v=Qf(P),v.c(),R(v,1),v.m(t,n)):v&&(ke(),z(v,1,1,()=>{v=null}),Se()),P[4]?C?(C.p(P,A),A&16&&R(C,1)):(C=Xf(P),C.c(),R(C,1),C.m(l,r)):C&&(ke(),z(C,1,1,()=>{C=null}),Se()),(!m||A&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(a,"class",o),(!m||A&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),(!m||A&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1rzu3xo"))&&f(t,"class",d),(!m||A&32&&_!==(_=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||A&49&&p!==(p=$n(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||A&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){z(v),z(C),m=!1},d(P){P&&I(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function uk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:g}=e;const d=Wt();let _,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,A=!0,T,V=mt("store");const E=G=>ue.getNodeLabel(G),U=async G=>{const Y=G&&G.length?le.getPathWithoutHash(G):"",X=we.parseParams(Y.split("?")[1]);b=we.getNodeParams(X);const pe=await Rt.extractDataFromPath(G);_=pe.nodeObject,t(4,P=r.isDrawer||typeof _.drawer=="object"),T=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,A=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)),p=pe.pathData,t(7,a=!0)},F=async G=>{if(!(m||v))if(a)if(_.webcomponent)t(3,C=!1),P?await j():await D(),ur.renderWebComponent(_.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),d("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),v=!0;else{const Y=await Z(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:Y,modalIframeData:{...p,nodeParams:b}}),m=!0}else await U(G)},D=async()=>{let G,Y;const X=document.querySelector(".lui-modal-index-"+c),{size:pe,width:ne,height:oe}=r,ve=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(X.classList.remove("lui-modal-fullscreen"),ne&&ne.match(ve)&&oe&&oe.match(ve))G=oe,Y=ne;else switch(pe){case"fullscreen":G="100vh",Y="100vw",X.classList.add("lui-modal-fullscreen");break;case"m":G="80%",Y="60%";break;case"s":G="80%",Y="40%";break;default:G="80%",Y="80%"}X.setAttribute("style",`width:${Y};height:${G};`)},Z=async(G,Y)=>{P?await j():await D(),G&&(G=we.substituteViewUrl(G,Y));const X=await Ae.createIframe(G,void 0,_,"modal",Y);return document.querySelector(T).appendChild(X),X};async function j(G){let Y="";const X=document.getElementsByClassName("drawer"),pe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Y="width:75%;":r.size==="m"?Y="width:50%;":r.size==="s"?Y="width:25%;":r.size==="xs"&&(Y="width:15.5%;")),r.backdrop?X[0].setAttribute("style",Y):(pe[0].setAttribute("style",Y),X[0].setAttribute("style","width:100%"))}jr(()=>{F(o)});const Q=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&de()),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 D()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&it.updateModalDataInUrl(we.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};Qt(()=>{un.doOnStoreChange(V,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),En.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!_.webcomponent&&((G=_.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Jr(()=>{En.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function de(){let G;A?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const te=()=>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,C,P,A,d,a,o,l,n,te]}class Z_ extends Et{constructor(e){super(),At(this,e,uk,ok,It,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function xf(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function ec(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function tc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function nc(i){let e,t=i[1][1].settings&&ic(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=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=S("div"),t=S("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=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),ct(l,r)}}}function lc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?ck:fk}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function fk(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){L(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&I(e)}}}function ck(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=S("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){L(o,e,c),Hf(e,i[0][i[1][0]][i[27]]),l||(r=ie(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&Hf(e,i[0][i[1][0]][i[27]])},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[27]],i[28].options)+"",c,g,d,_,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function A(){return i[19](i[28])}let T=v&&ac(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Te(o),d=H(),_=S("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=H(),m=S("div"),T&&T.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",g=!(i[28].isEditable===void 0||i[28].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,_),w(t,b),w(t,m),T&&T.m(m,null),C||(y=[ie(r,"keydown",P),ie(n,"click",Dt(A))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),E[0]&2&&g!==(g=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",g),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?T?T.p(i,E):(T=ac(i),T.c(),T.m(m,null)):T&&(T.d(1),T=null)},d(V){V&&I(e),T&&T.d(),C=!1,Qe(y)}}}function ac(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=sc(tc(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].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),ct(n,l)}}}function sc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function g(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Te(n),r=H(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),Ht(e,"is-selected",i[4]===i[33]),Ht(e,"is-focus",i[4]===i[33])},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),o||(c=[ie(e,"click",g),ie(e,"keydown",i[21])],o=!0)},p(d,_){i=d,_[0]&2&&n!==(n=i[12](i[31])+"")&&Le(l,n),_[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),_[0]&16&&Ht(e,"is-selected",i[4]===i[33]),_[0]&16&&Ht(e,"is-focus",i[4]===i[33])},d(d){d&&I(e),o=!1,Qe(c)}}}function oc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=uc(ec(i,l,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].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[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&I(e),ct(r,a)}}}function uc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,g,d;function _(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Te(t),l=H(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){L(p,e,b),w(e,n),w(e,l),g||(d=ie(e,"click",_),g=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Le(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&I(e),g=!1,d()}}}function fc(i){let e,t,n,l,r,a,o,c,g,d;function _(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=H(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,b){L(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),g||(d=ie(n,"change",_),g=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,d()}}}function cc(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){L(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ie(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&I(e),n=!1,l()}}}function dc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,g,d,_=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&lc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&rc(i),y=_&&oc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&fc(i),A=i[28].type==="boolean"&&i[28].style==="checkbox"&&cc(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Te(l),a=Te(":"),o=H(),c=S("div"),v&&v.c(),g=H(),C&&C.c(),d=H(),y&&y.c(),p=H(),P&&P.c(),b=H(),A&&A.c(),m=H(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(T,V){L(T,e,V),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,g),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),A&&A.m(c,null),w(e,m)},p(T,V){V[0]&34&&l!==(l=T[5](T[28].label)+"")&&Le(r,l),T[28].type==="string"?v?v.p(T,V):(v=lc(T),v.c(),v.m(c,g)):v&&(v.d(1),v=null),T[28].type==="enum"&&(T[28].style===void 0||T[28].style==="list")?C?C.p(T,V):(C=rc(T),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(_=T[28].type==="enum"&&T[28].style==="button"&&Array.isArray(T[28].options)),_?y?y.p(T,V):(y=oc(T),y.c(),y.m(c,p)):y&&(y.d(1),y=null),T[28].type==="boolean"&&(!T[28].style||T[28].style==="switch")?P?P.p(T,V):(P=fc(T),P.c(),P.m(c,b)):P&&(P.d(1),P=null),T[28].type==="boolean"&&T[28].style==="checkbox"?A?A.p(T,V):(A=cc(T),A.c(),A.m(c,null)):A&&(A.d(1),A=null)},d(T){T&&I(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),A&&A.d()}}}function dk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&nc(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(n=[ie(window,"click",i[7]),ie(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:Be,o:Be,d(r){r&&I(e),l&&l.d(),t=!1,Qe(n)}}}function ns(i,e,t){if(i&&t>0)return i.matches(e)?i:ns(i.parentNode,e,t-1)}function hk(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Wt();let o=mt("getTranslation");bi(i,o,te=>t(5,n=te));let c,{isComboOpen:g}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const _=()=>{p()};function p(te){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(te,G){let Y=ns(te.target,".fd-popover__control",20),X=Y.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(Y,!X))}function m(te,G){const Y=te.querySelector(".lui-activate-dropdown"),X=te.parentNode.querySelector(".fd-popover__body"),pe=te.parentNode.querySelector(".fd-select__control");te.setAttribute("aria-expanded",G),X.setAttribute("aria-hidden",!G),pe.setAttribute("aria-expanded",G),Y.setAttribute("aria-expanded",G),t(14,g=G)}function v(te,G,Y){t(4,c=Y),t(0,r[l[0]][te]=G.value||G,r)}function C(te,G){document.querySelectorAll(".enum-buttons-container-"+te+" button").forEach(Y=>{const X=Y.getAttribute("id"),pe=`lui-us-enum_button_${te}_option`;X===pe?Y.classList.add("fd-button--emphasized"):Y.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][te]=G.value||G,r)}function y(te,G){let Y;if(Array.isArray(G)){for(let X=0;X<G.length;X++)if(le.isObject(G[X])){if(G[X].value&&G[X].value===te){Y=G[X].label,t(4,c=X);break}}else{Y=te,t(4,c=G.indexOf(te));break}return n(Y)}}function P(te){return n(le.isObject(te)?te.label:te)}function A(te,G,Y){return le.isObject(Y)?`${te}_${G}_${Y.value}`:`${te}_${G}_${Y}`}function T(te,G,Y,X){let pe=ns(te.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${Y}`).children;let oe=-1;if([...ne].forEach((ve,re)=>{ve.classList.contains("is-focus")&&(oe=re)}),g){if(te.keyCode===Vl&&te.altKey&&(pe.click(),pe.focus()),te.keyCode===zi&&!te.altKey){if(oe===-1){oe=0,ne.item(oe).classList.add("is-focus");return}oe<X.options.length-1&&(ne.item(oe).classList.remove("is-focus"),oe+=1,ne.item(oe).classList.add("is-focus"))}if(te.keyCode===Vl&&!te.altKey){if(oe===-1){oe=oe.length-1,ne.item(oe).classList.add("is-focus");return}oe>0&&oe<X.options.length&&(ne.item(oe).classList.remove("is-focus"),oe-=1,ne.item(oe).classList.add("is-focus"))}(te.keyCode===mi||te.keyCode===Kr)&&v(G,X.options[oe],oe)}else pe.focus(),te.keyCode===zi&&te.altKey&&pe.click(),te.keyCode===zi&&!te.altKey&&oe<X.options.length-1&&v(G,X.options[oe+1],oe+1),te.keyCode===Vl&&!te.altKey&&oe>0&&oe<X.options.length&&v(G,X.options[oe-1],oe-1)}function V(te){if(g){let G=ns(te.target,".fd-popover",20);G.blur(),(te.keyCode===Kr||te.keyCode===mi)&&(te.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(te){r[l[0]][te]=this.value,t(0,r)}const U=(te,G,Y,X)=>T(X,te,G,Y),F=te=>b(event,te.isEditable),D=(te,G,Y)=>v(te,G,Y),Z=te=>V(te),j=(te,G)=>C(te,G);function Q(te){r[l[0]][te]=this.checked,t(0,r)}function de(te){r[l[0]][te]=this.checked,t(0,r)}return i.$$set=te=>{"userSettingGroup"in te&&t(1,l=te.userSettingGroup),"storedUserSettingData"in te&&t(0,r=te.storedUserSettingData),"isComboOpen"in te&&t(14,g=te.isComboOpen)},[r,l,T,V,c,n,o,p,b,v,C,y,P,A,g,d,_,E,U,F,D,Z,j,Q,de]}class gk extends Et{constructor(e){super(),At(this,e,hk,dk,It,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:hc}=hl;function gc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function _c(i,e,t){const n=i.slice();return n[37]=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[37][1])),e?pk:_k}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=H(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&I(t),o&&I(n)}}}function _k(i){let e,t,n,l,r,a=i[37][1].initials&&mc(i);return{c(){e=S("span"),l=H(),a&&a.c(),r=Ce(),f(e,"class",t=$n(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),An(e,"background-image","url('"+i[37][1].icon+"')"),An(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=$n(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&An(e,"background-image","url('"+o[37][1].icon+"')"),o[37][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 pk(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=$n(i[18](i[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=$n(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",n)},d(l){l&&I(e)}}}function mc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Te(t),f(e,"class",l=$n(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){L(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(n,t),o[0]&2&&l!==(l=$n(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&I(e)}}}function bc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,g,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",_,p,b,m,v=i[37][1].icon&&pc(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=H(),l=S("div"),r=S("div"),o=Te(a),c=H(),g=S("div"),_=Te(d),p=H(),f(r,"class","fd-list__title"),f(g,"class","fd-list__byline svelte-d5kn3x"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,g),w(g,_),w(e,p),b||(m=[ie(e,"click",Nt(C)),ie(e,"keydown",y)],b=!0)},p(P,A){i=P,i[37][1].icon?v?v.p(i,A):(v=pc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),A[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),A[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(_,d)},d(P){P&&I(e),v&&v.d(),b=!1,Qe(m)}}}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=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=_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){ct(n,l),l&&I(e)}}}function wc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new gk({props:o}),Xe.push(()=>pt(e,"closeDropDown",r,i[9])),Xe.push(()=>pt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,g){Me(e,c,g),l=!0},p(c,g){const d={};g[0]&1&&(d.storedUserSettingData=c[0]),g[0]&2048&&(d.userSettingGroup=c[11]),!t&&g[0]&512&&(t=!0,d.closeDropDown=c[9],_t(()=>t=!1)),!n&&g[0]&256&&(n=!0,d.isComboOpen=c[8],_t(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){z(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function mk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",g,d,_,p,b,m,v,C,y,P=i[10](i[7])+"",A,T,V,E,U,F,D,Z,j,Q,de,te=i[10](i[5])+"",G,Y,X,pe,ne=i[10](i[6])+"",oe,ve,re,Ee,He=Object.entries(i[1]),q=[];for(let Pe=0;Pe<He.length;Pe+=1)q[Pe]=vc(gc(i,He,Pe));let se=i[11]&&wc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),g=Te(c),d=H(),_=S("div"),p=S("ul");for(let Pe=0;Pe<q.length;Pe+=1)q[Pe].c();b=H(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=H(),y=S("h2"),A=Te(P),T=H(),V=S("div"),E=S("div"),se&&se.c(),U=H(),F=S("div"),D=H(),Z=S("footer"),j=S("div"),Q=S("div"),de=S("button"),G=Te(te),Y=H(),X=S("div"),pe=S("button"),oe=Te(ne),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(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(E,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(F,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(V,"class","lui-usersettings-content svelte-d5kn3x"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(de,"data-testid","lui-us-saveBtn"),f(de,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Q,"class","fd-bar__element"),f(pe,"data-testid","lui-us-dismissBtn"),f(pe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(X,"class","fd-bar__element"),f(j,"class","fd-bar__right"),f(Z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-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,$e){L(Pe,e,$e),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,_),w(_,p);for(let Fe=0;Fe<q.length;Fe+=1)q[Fe].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,A),w(n,T),w(n,V),w(V,E),se&&se.m(E,null),w(V,U),w(V,F),w(t,D),w(t,Z),w(Z,j),w(j,Q),w(Q,de),w(de,G),w(j,Y),w(j,X),w(X,pe),w(pe,oe),ve=!0,re||(Ee=[ie(hc,"resize",i[20]),ie(hc,"keydown",i[3]),ie(v,"click",i[17]),ie(de,"click",i[25]),ie(pe,"click",i[26])],re=!0)},p(Pe,$e){if((!ve||$e[0]&1040)&&c!==(c=Pe[10](Pe[4])+"")&&Le(g,c),$e[0]&803846){He=Object.entries(Pe[1]);let Fe;for(Fe=0;Fe<He.length;Fe+=1){const _e=gc(Pe,He,Fe);q[Fe]?q[Fe].p(_e,$e):(q[Fe]=vc(_e),q[Fe].c(),q[Fe].m(p,null))}for(;Fe<q.length;Fe+=1)q[Fe].d(1);q.length=He.length}(!ve||$e[0]&1152)&&P!==(P=Pe[10](Pe[7])+"")&&Le(A,P),Pe[11]?se?(se.p(Pe,$e),$e[0]&2048&&R(se,1)):(se=wc(Pe),se.c(),R(se,1),se.m(E,null)):se&&(ke(),z(se,1,1,()=>{se=null}),Se()),(!ve||$e[0]&1056)&&te!==(te=Pe[10](Pe[5])+"")&&Le(G,te),(!ve||$e[0]&1088)&&ne!==(ne=Pe[10](Pe[6])+"")&&Le(oe,ne)},i(Pe){ve||(R(se),ve=!0)},o(Pe){z(se),ve=!1},d(Pe){Pe&&I(e),ct(q,Pe),se&&se.d(),re=!1,Qe(Ee)}}}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 bk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function vk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function X_(i,e,t){if(i&&t>0)return i.matches(e)?i:X_(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 wk(i,e,t){let n,{userSettingGroups:l}=e;const r=Wt();let a,{storedUserSettings:o={}}=e,c={},g=mt("getTranslation");bi(i,g,oe=>t(10,n=oe));let d=cl.userSettingsDialog.dialogHeader,_=cl.userSettingsDialog.saveBtn,p=cl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Qt(()=>{const oe=ae.getConfigValue("userSettings.userSettingsDialog"),ve=oe||ae.getConfigValue("settings.userSettings.userSettingsDialog");ve&&(t(4,d=ve.dialogHeader?ve.dialogHeader:d),t(5,_=ve.saveBtn?ve.saveBtn:_),t(6,p=ve.dismissBtn?ve.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,En.addEventListener("message",re=>{const Ee=Ae.getValidMessageSource(re);if(!Ee||re.data.msg!=="custom")return;Ee._ready=!0;const He=rs.convertCustomMessageInternalToUser(re.data),q="luigi.updateUserSettings";if(He.id===q){const se=sr.findActiveCustomUserSettingsIframe(re.source);if(se){let Pe=se.getAttribute("userSettingsGroup");t(0,o[Pe]=He.data,o)}}He.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<tn.desktopMinWidth&&U()}),ae.readUserSettings().then(re=>{c=JSON.parse(JSON.stringify(re)),re===null?t(0,o=kc(JSON.parse(JSON.stringify(l)),{})):t(0,o=kc(JSON.parse(JSON.stringify(l)),re)),A([m,l[0][m]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(oe){if(t(7,v=oe.title?oe.title:""),!!le.isObject(oe.settings))for(let ve in oe.settings){let re=oe.settings[ve];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${ve}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${ve}' in the Luigi userSettings config.`)}}function A(oe,ve){t(11,a=oe);let re=oe[0],Ee=oe[1];if(P(Ee),ve?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(q=>{q.classList.remove("is-selected")}),X_(ve.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<tn.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<tn.desktopMinWidth&&Sc()),Ee.viewUrl){if(sr.hideUserSettingsIframe(),b.hasOwnProperty(re))sr.getUserSettingsIframesInDom().forEach(He=>{He.userSettingsGroup===re&&(He.style.display="block")});else{const He=Gr.hasDecorators()?Gr.applyDecorators(Ee.viewUrl):Ee.viewUrl;let q=sr.createIframe(He,re);b[re]=q}bk()}else vk()}const T=oe=>{t(0,o=oe.detail.userSettings)};function V(){ae.storeUserSettings(o,c).then(()=>{r("close")}).catch(oe=>{oe&&oe.message&&console.error(oe.message),oe&&oe.closeDialog&&r("close")})}function E(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<tn.desktopMinWidth&&Sc()}function F(oe){return ue.renderIconClassName(oe)}function D(oe){return ue.isOpenUIiconName(oe.icon)}let Z;const j=()=>{const oe=window.innerWidth>=tn.desktopMinWidth&&Z<tn.desktopMinWidth;if(window.innerWidth<tn.desktopMinWidth&&Z>=tn.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"),oe&&(document.querySelector(".confirm-button").style.display="block"),!Z){let re=document.querySelector(".confirm-button");window.innerWidth<tn.desktopMinWidth?re.style.display="none":re.style.display="block"}Z=window.innerWidth};function Q(oe,ve){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(oe.keyCode===mi||oe.keyCode===Kr)&&re[ve].click(),oe.keyCode===nk&&re[Object.keys(l).length-1].focus(),oe.keyCode===tk&&re[0].focus()}function de(oe){oe.keyCode===_i&&C?y():oe.keyCode===_i&&!C&&r("close")}const te=oe=>A(oe,event),G=(oe,ve)=>Q(ve,[oe]);function Y(oe){y=oe,t(9,y)}function X(oe){C=oe,t(8,C)}const pe=()=>V(),ne=()=>r("close");return i.$$set=oe=>{"userSettingGroups"in oe&&t(1,l=oe.userSettingGroups),"storedUserSettings"in oe&&t(0,o=oe.storedUserSettings)},[o,l,Q,de,d,_,p,v,C,y,n,a,r,g,A,T,V,U,F,D,j,te,G,Y,X,pe,ne]}class kk extends Et{constructor(e){super(),At(this,e,wk,mk,It,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Sk}=hl;function Ck(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1q543h0")},m(t,n){L(t,e,n)},p:Be,d(t){t&&I(e)}}}function yk(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=H(),l=S("h1"),a=Te(r),f(t,"class","lui-collapse-btn svelte-1q543h0"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1q543h0"),f(l,"class","fd-splitView__title svelte-1q543h0")},m(g,d){L(g,e,d),w(e,t),L(g,n,d),L(g,l,d),w(l,a),o||(c=ie(t,"click",Dt(Nt(i[4]))),o=!0)},p(g,d){d&2&&r!==(r=g[1].title+"")&&Le(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=S("div"),t=H(),n=S("div"),l=S("div"),r=H(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1q543h0"),f(n,"id","splitViewDragger")},m(g,d){L(g,e,d),L(g,t,d),L(g,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ie(a,"click",Dt(Nt(i[3]))),ie(n,"mousedown",Dt(i[6]))],o=!0)},p:Be,d(g){g&&I(e),g&&I(t),g&&I(n),o=!1,Qe(c)}}}function Pk(i){let e,t,n,l,r,a,o,c,g,d;t=new Ml({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function _(v,C){return v[0]?yk:Ck}let p=_(i),b=p(i),m=!i[0]&&Cc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),b.c(),a=H(),m&&m.c(),o=Ce(),f(l,"class","lui-split-view svelte-1q543h0"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1q543h0")},m(v,C){L(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,g||(d=ie(Sk,"resize",i[5]),g=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1q543h0"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Cc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&I(e),Oe(t),b.d(),v&&I(a),m&&m.d(v),v&&I(o),g=!1,d()}}}function Nk(i,e,t){const n=Wt();let l={draggable:null,iframe:null,split:null},r,a,o,c,g,d,_,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,A=!1,T=mt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:Y=>{Y&&Object.getOwnPropertyNames(Y).forEach(X=>{X==="splitViewSettings"?t(1,C=Y.splitViewSettings):X==="lastNode"?r=Y.lastNode:X==="pathData"?a=Y.pathData:X==="nodeParams"?o=Y.nodeParams:X==="collapsed"?t(0,v=Y.collapsed):X==="isDataPrepared"?t(8,y=Y.isDataPrepared):X==="currentNode"?c=Y.currentNode:X==="splitViewIframe"?d=Y.splitViewIframe:X==="splitViewIframeData"?_=Y.splitViewIframeData:X==="splitViewWC"?p=Y.splitViewWC:X==="splitViewWCData"&&(b=Y.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:T}),E=async()=>{y?v||ot.createAndSetView(V()):await ot.prepareSplitViewData(V(),m)},U=()=>{l.split=ot.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ot.getDragger()},F=()=>{const Y=ot.getDraggerBackdrop();Y&&(Y.style.display="none"),U(),l.draggable&&(l.draggable.style.top=`${ot.splitViewValues.top}px`),l.split.style.top=`${ot.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function D(Y){if(Ae.getValidMessageSource(Y)&&(Y.data.msg==="luigi.navigation.splitview.close"&&ot.close(V()),Y.data.msg==="luigi.navigation.splitview.collapse"&&Z(),Y.data.msg==="luigi.navigation.splitview.expand"&&j(),Y.data.msg==="luigi.navigation.splitview.resize")){const X=parseInt(Y.data.data);if(ot.calculateAndSetSplitViewValues(X,ot.internalValues),v)return;F(),ot.sendMessageToClients("resize.ok",ot.splitViewValues.percent)}}Qt(()=>{Q(),g=D.bind(this),En.addEventListener("message",g)}),jr(()=>{E(),A!==y&&!v&&(A=y,F())}),Jr(()=>{window.removeEventListener("message",g)});function Z(){ot.collapse(V())}async function j(){await ot.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const Y=le.getShellbarHeight();ot.internalValues.innerHeight=le.getInnerHeight(),ot.internalValues.rightContentHeight=ot.internalValues.innerHeight-Y,ot.internalValues.thresholdBottom=30,ot.internalValues.thresholdTop=Y+30,ot.calculateAndSetSplitViewValues(ot.splitViewValues.percent,ot.internalValues),v||F()}function de(Y){let X=Y.y,pe={};const ne=function(He){const q=X-He.y,se=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(se)||q===0)return;const Pe=se-q,$e=ot.internalValues.innerHeight-Pe,Fe=ot.enforceTresholds(Pe,$e);Pe<Fe.top||$e<Fe.bottom||(pe=Fe,X=He.y,l.draggable.style.top=`${pe.top}px`)},oe=function(){if(ve(),!pe.top||!pe.bottom||pe.top==ot.internalValues.m_pos_prev){ot.getDraggerBackdrop().style.display="none";return}ot.internalValues.m_pos_prev=pe.top,ot.splitViewValues=pe,F(),ot.sendMessageToClients("resize.ok",pe.percent)},ve=function(){document.removeEventListener("mouseup",oe),document.removeEventListener("mousemove",ne)},re=function(){document.addEventListener("mouseup",oe),document.addEventListener("mousemove",ne)};U(),ve(),re(),ot.getDraggerBackdrop().style.display="block"}const te=Y=>{let X=ot.getDraggerButton();X&&(X.style.display=Y?"block":"none"),X=ot.getCollapsedDraggerButton(),X&&(X.style.display=Y?"block":"none")},G=Y=>{te(!Y.detail||Y.detail.backdropActive!==!0)};return i.$$set=Y=>{"nodepath"in Y&&t(9,m=Y.nodepath),"collapsed"in Y&&t(0,v=Y.collapsed),"splitViewSettings"in Y&&t(1,C=Y.splitViewSettings),"isDataPrepared"in Y&&t(8,y=Y.isDataPrepared),"disableBackdrop"in Y&&t(2,P=Y.disableBackdrop)},[v,C,P,Z,j,Q,de,G,y,m]}class $_ extends Et{constructor(e){super(),At(this,e,Nk,Pk,It,{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:Lk,then:Tk,catch:Ik,value:1};return is(t=i[0].badgeCounter.count(),n),{c(){e=Ce(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&is(t,n)||U_(n,i,r)},d(l){l&&I(e),n.block.d(l),n.token=null,n=null}}}function Ik(i){return{c:Be,m:Be,p:Be,d:Be}}function Tk(i){let e,t=i[1]>0&&Pc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(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=S("span"),n=Te(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jwxev"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&I(e)}}}function Lk(i){return{c:Be,m:Be,p:Be,d:Be}}function Ak(i){let e,t=i[0]&&i[0].badgeCounter&&yc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=yc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function Ek(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Sn extends Et{constructor(e){super(),At(this,e,Ek,Ak,It,{node:0})}}function Nc(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Te(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Le(l,n)},d(r){r&&I(e)}}}function Rk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Nc(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Nc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function Dk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class xn extends Et{constructor(e){super(),At(this,e,Dk,Rk,It,{node:0})}}const{window:xa}=hl;function Ic(i,e,t){const n=i.slice();return n[82]=e[t][0],n[83]=e[t][1],n[85]=t,n}function Tc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Lc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ac(i,e,t){const n=i.slice();return n[86]=e[t],n}function Ec(i,e,t){const n=i.slice();return n[86]=e[t],n}function Rc(i,e,t){const n=i.slice();return n[82]=e[t][0],n[83]=e[t][1],n[85]=t,n}function Dc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[86]=e[t],n}function Vk(i){let e,t,n,l,r,a,o,c,g,d,_=i[12]&&Mc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Uc(i),b=(i[2]||i[3])&&ud(i);return{c(){e=S("div"),_&&_.c(),t=H(),n=S("nav"),l=S("div"),p&&p.c(),r=H(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-z9apvz"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-z9apvz"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-z9apvz")},m(m,v){L(m,e,v),_&&_.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,g||(d=ie(n,"keyup",i[18]),g=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Mc(m),_.c(),_.m(e,t)):_&&(_.d(1),_=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Uc(m),p.c(),R(p,1),p.m(l,null)):p&&(ke(),z(p,1,1,()=>{p=null}),Se()),m[2]||m[3]?b?b.p(m,v):(b=ud(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-z9apvz"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-z9apvz"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){z(p),c=!1},d(m){m&&I(e),_&&_.d(),p&&p.d(),b&&b.d(),g=!1,d()}}}function Mk(i){let e,t,n,l,r=i[12]&&cd(i),a=i[0]&&i[5].length>1&&gd(i);return{c(){e=S("div"),r&&r.c(),t=H(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-z9apvz"),f(e,"role","navigation"),An(e,"width","var(--luigi__left-sidenav--width)"),An(e,"height","100%")},m(o,c){L(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=cd(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=gd(o),a.c(),R(a,1),a.m(e,null)):a&&(ke(),z(a,1,1,()=>{a=null}),Se()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-z9apvz"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){z(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,_=i[12].icon&&Oc(i),p=i[12].showUpLink&&Fc(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),_&&_.c(),r=H(),a=S("span"),c=Te(o),g=H(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(l,"class","fd-nested-list__link svelte-z9apvz"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item svelte-z9apvz"),f(t,"class","fd-nested-list svelte-z9apvz"),f(e,"class","lui-nav-title svelte-z9apvz")},m(b,m){L(b,e,m),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?_?_.p(b,m):(_=Oc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=Fc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&I(e),_&&_.d(),p&&p.d()}}}function Oc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?Fk:Ok}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function Ok(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Ze(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 Fk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function Fc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-z9apvz"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=ie(e,"click",Nt(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 Uc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=od(Ic(i,r,c));const o=c=>z(a[c],1,1,()=>{a[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n="fd-nested-list "+(i[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-z9apvz"),f(e,"class","lui-fd-side-nav-wrapper svelte-z9apvz")},m(c,g){L(c,e,g),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,g){if(g[0]&1922164672|g[1]&455){r=c[13];let d;for(d=0;d<r.length;d+=1){const _=Ic(c,r,d);a[d]?(a[d].p(_,g),R(a[d],1)):(a[d]=od(_),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ke(),d=r.length;d<a.length;d+=1)o(d);Se()}(!l||g[0]&4194304&&n!==(n="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-z9apvz"))&&f(t,"class",n)},i(c){if(!l){for(let g=0;g<r.length;g+=1)R(a[g]);l=!0}},o(c){a=a.filter(Boolean);for(let g=0;g<a.length;g+=1)z(a[g]);l=!1},d(c){c&&I(e),ct(a,c)}}}function Uk(i){let e,t,n,l;const r=[Hk,Bk],a=[];function o(c,g){return c[83].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Ce()},m(c,g){a[e].m(c,g),L(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(ke(),z(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,g):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){z(t),l=!1},d(c){a[e].d(c),c&&I(n)}}}function zk(i){let e,t,n=i[83],l=[];for(let a=0;a<n.length;a+=1)l[a]=sd(Ec(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){n=a[83];let c;for(c=0;c<n.length;c+=1){const g=Ec(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=sd(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Bk(i){let e,t,n=i[25](i[82])+"",l,r,a,o,c,g,d=i[10]&&i[83].metaInfo.icon&&zc(i),_=i[83],p=[];for(let m=0;m<_.length;m+=1)p[m]=Kc(Tc(i,_,m));const b=m=>z(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=H(),l=Te(n),o=H();for(let m=0;m<p.length;m+=1)p[m].c();c=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-z9apvz"),f(e,"title",r=i[33](i[83],i[25](i[82]))),f(e,"data-testid",a=i[32](i[83].metaInfo,i[82])),f(e,"id","category_list_level1_"+i[85])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);L(m,c,v),g=!0},p(m,v){if(m[10]&&m[83].metaInfo.icon?d?d.p(m,v):(d=zc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!g||v[0]&33562624)&&n!==(n=m[25](m[82])+"")&&Le(l,n),(!g||v[0]&33562624&&r!==(r=m[33](m[83],m[25](m[82]))))&&f(e,"title",r),(!g||v[0]&8192&&a!==(a=m[32](m[83].metaInfo,m[82])))&&f(e,"data-testid",a),v[0]&1887477952|v[1]&133){_=m[83];let C;for(C=0;C<_.length;C+=1){const y=Tc(m,_,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Kc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ke(),C=_.length;C<p.length;C+=1)b(C);Se()}},i(m){if(!g){for(let v=0;v<_.length;v+=1)R(p[v]);g=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)z(p[v]);g=!1},d(m){m&&I(e),d&&d.d(),m&&I(o),ct(p,m),m&&I(c)}}}function Hk(i){let e,t,n,l,r,a,o=i[25](i[82])+"",c,g,d,_,p,b,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de;function te(q,se){return se[0]&8192&&(l=null),l==null&&(l=!!q[30](q[83].metaInfo.icon)),l?Qk:Yk}let G=te(i,[-1,-1,-1,-1]),Y=G(i);function X(){return i[58](i[83])}function pe(){return i[59](i[83])}function ne(...q){return i[60](i[83],...q)}let oe=i[83],ve=[];for(let q=0;q<oe.length;q+=1)ve[q]=Zc(Ac(i,oe,q));const re=q=>z(ve[q],1,1,()=>{ve[q]=null});let Ee=i[83].metaInfo&&i[83].metaInfo.label===i[8]&&Xc(i);function He(){return i[65](i[83])}return{c(){e=S("li"),t=S("div"),n=S("a"),Y.c(),r=H(),a=S("span"),c=Te(o),m=H(),v=S("button"),C=S("i"),V=H(),E=S("ul");for(let q=0;q<ve.length;q+=1)ve[q].c();F=H(),Ee&&Ee.c(),D=H(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(n,"title",g=i[33](i[83],i[25](i[82]))),f(n,"class",d="fd-nested-list__link "+(an(i[83],i[9])?"is-expanded":"")+" svelte-z9apvz"),f(n,"tabindex",_=i[6]?"-1":"0"),f(n,"role",p=i[23]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[85]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=an(i[83],i[9])),f(C,"class",y=an(i[83],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-z9apvz"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=an(i[83],i[9])),f(v,"title",A=i[39](i[83],i[9])),f(t,"class","fd-nested-list__content has-child svelte-z9apvz"),f(t,"tabindex",T=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-z9apvz"),f(E,"aria-hidden",U=!an(i[83],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",Z=i[32](i[83].metaInfo,i[82])),Ht(e,"lui-item-expanded",an(i[83],i[9]))},m(q,se){L(q,e,se),w(e,t),w(t,n),Y.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let Pe=0;Pe<ve.length;Pe+=1)ve[Pe].m(E,null);w(e,F),Ee&&Ee.m(e,null),w(e,D),j=!0,Q||(de=[ie(n,"click",Nt(X)),ie(v,"click",Nt(pe)),ie(t,"keypress",ne),ie(e,"click",Dt(He))],Q=!0)},p(q,se){if(i=q,G===(G=te(i,se))&&Y?Y.p(i,se):(Y.d(1),Y=G(i),Y&&(Y.c(),Y.m(n,r))),(!j||se[0]&33562624)&&o!==(o=i[25](i[82])+"")&&Le(c,o),(!j||se[0]&33562624&&g!==(g=i[33](i[83],i[25](i[82]))))&&f(n,"title",g),(!j||se[0]&8704&&d!==(d="fd-nested-list__link "+(an(i[83],i[9])?"is-expanded":"")+" svelte-z9apvz"))&&f(n,"class",d),(!j||se[0]&64&&_!==(_=i[6]?"-1":"0"))&&f(n,"tabindex",_),(!j||se[0]&8388608&&p!==(p=i[23]?void 0:"button"))&&f(n,"role",p),(!j||se[0]&8704&&b!==(b=an(i[83],i[9])))&&f(n,"aria-expanded",b),(!j||se[0]&8704&&y!==(y=an(i[83],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!j||se[0]&8704&&P!==(P=an(i[83],i[9])))&&f(v,"aria-expanded",P),(!j||se[0]&8704&&A!==(A=i[39](i[83],i[9])))&&f(v,"title",A),(!j||se[0]&64&&T!==(T=i[6]?"0":"-1"))&&f(t,"tabindex",T),se[0]&276865152|se[1]&133){oe=i[83];let Pe;for(Pe=0;Pe<oe.length;Pe+=1){const $e=Ac(i,oe,Pe);ve[Pe]?(ve[Pe].p($e,se),R(ve[Pe],1)):(ve[Pe]=Zc($e),ve[Pe].c(),R(ve[Pe],1),ve[Pe].m(E,null))}for(ke(),Pe=oe.length;Pe<ve.length;Pe+=1)re(Pe);Se()}(!j||se[0]&8704&&U!==(U=!an(i[83],i[9])))&&f(E,"aria-hidden",U),i[83].metaInfo&&i[83].metaInfo.label===i[8]?Ee?(Ee.p(i,se),se[0]&8448&&R(Ee,1)):(Ee=Xc(i),Ee.c(),R(Ee,1),Ee.m(e,D)):Ee&&(ke(),z(Ee,1,1,()=>{Ee=null}),Se()),(!j||se[0]&8192&&Z!==(Z=i[32](i[83].metaInfo,i[82])))&&f(e,"data-testid",Z),(!j||se[0]&8704)&&Ht(e,"lui-item-expanded",an(i[83],i[9]))},i(q){if(!j){for(let se=0;se<oe.length;se+=1)R(ve[se]);R(Ee),j=!0}},o(q){ve=ve.filter(Boolean);for(let se=0;se<ve.length;se+=1)z(ve[se]);z(Ee),j=!1},d(q){q&&I(e),Y.d(),ct(ve,q),Ee&&Ee.d(),Q=!1,Qe(de)}}}function zc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[83].metaInfo.icon)),e?qk:Wk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function Wk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function qk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[83].metaInfo.icon?i[29](i[83].metaInfo.icon):"")+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[83].metaInfo.icon?n[29](n[83].metaInfo.icon):"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function Bc(i){let e,t,n=i[86].label&&Hc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Hc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Hc(i){let e,t,n,l,r=i[28](i[86])+"",a,o,c,g,d,_,p,b,m,v,C,y,P,A;function T(Q,de){return Q[86].icon?Kk:Gk}let V=T(i),E=V(i),U=i[86].statusBadge&&Wc(i),F=i[86].externalLink&&i[86].externalLink.url&&qc(),D=i[86].badgeCounter&&Gc(i);function Z(...Q){return i[66](i[86],...Q)}function j(...Q){return i[67](i[86],...Q)}return{c(){e=S("li"),t=S("a"),E.c(),n=H(),l=S("span"),a=Te(r),o=H(),U&&U.c(),g=H(),F&&F.c(),d=H(),D&&D.c(),v=H(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",_=i[31](i[86])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=ue.getTestId(i[86])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[33](i[86],i[28](i[86]))),f(e,"aria-labelledby","category_list_level1_"+i[85])},m(Q,de){L(Q,e,de),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),U&&U.m(l,null),w(t,g),F&&F.m(t,null),w(t,d),D&&D.m(t,null),w(e,v),y=!0,P||(A=[ie(t,"click",Z),ie(t,"keyup",function(){pi(i[23]?void 0:j)&&(i[23]?void 0:j).apply(this,arguments)})],P=!0)},p(Q,de){i=Q,V===(V=T(i))&&E?E.p(i,de):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||de[0]&8192)&&r!==(r=i[28](i[86])+"")&&Le(a,r),i[86].statusBadge?U?(U.p(i,de),de[0]&8192&&R(U,1)):(U=Wc(i),U.c(),R(U,1),U.m(l,null)):U&&(ke(),z(U,1,1,()=>{U=null}),Se()),(!y||de[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",c),i[86].externalLink&&i[86].externalLink.url?F||(F=qc(),F.c(),F.m(t,d)):F&&(F.d(1),F=null),i[86].badgeCounter?D?(D.p(i,de),de[0]&8192&&R(D,1)):(D=Gc(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),z(D,1,1,()=>{D=null}),Se()),(!y||de[0]&8192&&_!==(_=i[31](i[86])))&&f(t,"href",_),(!y||de[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||de[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||de[0]&8192&&m!==(m=ue.getTestId(i[86])))&&f(t,"data-testid",m),(!y||de[0]&8192&&C!==(C=i[33](i[86],i[28](i[86]))))&&f(e,"title",C)},i(Q){y||(R(U),R(D),y=!0)},o(Q){z(U),z(D),y=!1},d(Q){Q&&I(e),E.d(),U&&U.d(),F&&F.d(),D&&D.d(),P=!1,Qe(A)}}}function Gk(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=H(),l=S("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,n,c),L(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Le(a,r)},d(o){o&&I(e),o&&I(n),o&&I(l)}}}function Kk(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?Jk:jk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function jk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Jk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[86].icon)+" svelte-z9apvz")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function Wc(i){let e,t;return e=new xn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function qc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Gc(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Kc(i){let e,t,n=!i[86].hideFromNav&&Bc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Bc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Yk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Qk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[83].metaInfo.icon)+" "+(i[6]&&!i[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[83].metaInfo.icon)+" "+(n[6]&&!n[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function jc(i){let e,t,n=i[86].label&&Jc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Jc(i){let e,t,n,l=i[28](i[86])+"",r,a,o,c,g,d,_,p,b,m,v,C,y,P,A;o=new xn({props:{node:i[86]}});let T=i[86].externalLink&&i[86].externalLink.url&&Yc(),V=i[86].badgeCounter&&Qc(i);function E(...F){return i[61](i[86],...F)}function U(...F){return i[62](i[86],...F)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Ue(o.$$.fragment),g=H(),T&&T.c(),d=H(),V&&V.c(),C=H(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",_=i[31](i[86])),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"role",b=i[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=ue.getTestId(i[86])),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[85])},m(F,D){L(F,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,g),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(A=[ie(t,"click",E),ie(t,"keyup",function(){pi(i[23]?void 0:U)&&(i[23]?void 0:U).apply(this,arguments)})],P=!0)},p(F,D){i=F,(!y||D[0]&8192)&&l!==(l=i[28](i[86])+"")&&Le(r,l);const Z={};D[0]&8192&&(Z.node=i[86]),o.$set(Z),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(n,"class",c),i[86].externalLink&&i[86].externalLink.url?T||(T=Yc(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[86].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=Qc(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),z(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&_!==(_=i[31](i[86])))&&f(t,"href",_),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=ue.getTestId(i[86])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(V),y=!0)},o(F){z(o.$$.fragment,F),z(V),y=!1},d(F){F&&I(e),Oe(o),T&&T.d(),V&&V.d(),P=!1,Qe(A)}}}function Yc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Qc(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Zc(i){let e,t,n=!i[86].hideFromNav&&jc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Xc(i){let e,t,n,l=i[25](i[82])+"",r,a,o,c,g=i[83],d=[];for(let p=0;p<g.length;p+=1)d[p]=nd(Lc(i,g,p));const _=p=>z(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Te(l),a=H(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-z9apvz"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-z9apvz"),f(t,"class","lui-flyout-sublist__wrapper svelte-z9apvz"),f(e,"class","lui-flyout-sublist svelte-z9apvz")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&33562624)&&l!==(l=p[25](p[82])+"")&&Le(r,l),b[0]&276865152|b[1]&133){g=p[83];let m;for(m=0;m<g.length;m+=1){const v=Lc(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=nd(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ke(),m=g.length;m<d.length;m+=1)_(m);Se()}},i(p){if(!c){for(let b=0;b<g.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)z(d[b]);c=!1},d(p){p&&I(e),ct(d,p)}}}function $c(i){let e,t,n=i[86].label&&xc(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function xc(i){let e,t,n,l=i[28](i[86])+"",r,a,o,c,g,d,_,p,b,m,v,C,y,P,A;o=new xn({props:{node:i[86]}});let T=i[86].externalLink&&i[86].externalLink.url&&ed(),V=i[86].badgeCounter&&td(i);function E(...F){return i[63](i[86],...F)}function U(...F){return i[64](i[86],...F)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Ue(o.$$.fragment),g=H(),T&&T.c(),d=H(),V&&V.c(),C=H(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",_=i[31](i[86])),f(t,"class",p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"tabindex","0"),f(t,"role",b=i[23]?void 0:"button"),f(t,"data-testid",m=ue.getTestId(i[86])),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(e,"class","fd-nested-list__item")},m(F,D){L(F,e,D),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,g),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(A=[ie(t,"click",E),ie(t,"keyup",function(){pi(i[23]?void 0:U)&&(i[23]?void 0:U).apply(this,arguments)})],P=!0)},p(F,D){i=F,(!y||D[0]&8192)&&l!==(l=i[28](i[86])+"")&&Le(r,l);const Z={};D[0]&8192&&(Z.node=i[86]),o.$set(Z),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(n,"class",c),i[86].externalLink&&i[86].externalLink.url?T||(T=ed(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[86].badgeCounter?V?(V.p(i,D),D[0]&8192&&R(V,1)):(V=td(i),V.c(),R(V,1),V.m(t,null)):V&&(ke(),z(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&_!==(_=i[31](i[86])))&&f(t,"href",_),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=i[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=ue.getTestId(i[86])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(V),y=!0)},o(F){z(o.$$.fragment,F),z(V),y=!1},d(F){F&&I(e),Oe(o),T&&T.d(),V&&V.d(),P=!1,Qe(A)}}}function ed(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function td(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function nd(i){let e,t,n=!i[86].hideFromNav&&$c(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function id(i){let e,t,n=i[86].label&&ld(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ld(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function ld(i){let e,t,n,l,r=i[28](i[86])+"",a,o,c,g,d,_,p,b,m,v,C,y,P,A,T;function V(Q,de){return Q[86].icon?Xk:Zk}let E=V(i),U=E(i);c=new xn({props:{node:i[86]}});let F=i[86].externalLink&&i[86].externalLink.url&&rd(),D=i[86].badgeCounter&&ad(i);function Z(...Q){return i[56](i[86],...Q)}function j(...Q){return i[57](i[86],...Q)}return{c(){e=S("li"),t=S("a"),U.c(),n=H(),l=S("span"),a=Te(r),o=H(),Ue(c.$$.fragment),d=H(),F&&F.c(),_=H(),D&&D.c(),y=H(),f(l,"class",g="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(t,"href",p=i[31](i[86])),f(t,"title",b=i[33](i[86],i[28](i[86]))),f(t,"class",m="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(t,"tabindex","0"),f(t,"role",v=i[23]?void 0:"button"),f(t,"data-testid",C=ue.getTestId(i[86])),f(e,"class","fd-nested-list__item")},m(Q,de){L(Q,e,de),w(e,t),U.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),F&&F.m(t,null),w(t,_),D&&D.m(t,null),w(e,y),P=!0,A||(T=[ie(t,"click",Z),ie(t,"keyup",function(){pi(i[23]?void 0:j)&&(i[23]?void 0:j).apply(this,arguments)})],A=!0)},p(Q,de){i=Q,E===(E=V(i))&&U?U.p(i,de):(U.d(1),U=E(i),U&&(U.c(),U.m(t,n))),(!P||de[0]&8192)&&r!==(r=i[28](i[86])+"")&&Le(a,r);const te={};de[0]&8192&&(te.node=i[86]),c.$set(te),(!P||de[0]&8192&&g!==(g="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",g),i[86].externalLink&&i[86].externalLink.url?F||(F=rd(),F.c(),F.m(t,_)):F&&(F.d(1),F=null),i[86].badgeCounter?D?(D.p(i,de),de[0]&8192&&R(D,1)):(D=ad(i),D.c(),R(D,1),D.m(t,null)):D&&(ke(),z(D,1,1,()=>{D=null}),Se()),(!P||de[0]&8192&&p!==(p=i[31](i[86])))&&f(t,"href",p),(!P||de[0]&8192&&b!==(b=i[33](i[86],i[28](i[86]))))&&f(t,"title",b),(!P||de[0]&8320&&m!==(m="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(t,"class",m),(!P||de[0]&8388608&&v!==(v=i[23]?void 0:"button"))&&f(t,"role",v),(!P||de[0]&8192&&C!==(C=ue.getTestId(i[86])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(D),P=!0)},o(Q){z(c.$$.fragment,Q),z(D),P=!1},d(Q){Q&&I(e),U.d(),Oe(c),F&&F.d(),D&&D.d(),A=!1,Qe(T)}}}function Zk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&I(e)}}}function Xk(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?xk:$k}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function $k(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function xk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[29](i[86].icon)+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function rd(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function ad(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function sd(i){let e,t,n=!i[86].hideFromNav&&id(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=id(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function od(i){let e,t,n,l,r,a;const o=[zk,Uk],c=[];function g(d,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(d[82]==="undefined"||d[82].startsWith(d[14]))),e?0:(t==null&&(t=d[83].filter(pS).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=g(d,_),n===p?~n&&c[n].p(d,_):(l&&(ke(),z(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){z(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function ud(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&fd(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Te(l),a=H(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-z9apvz"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-z9apvz"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-z9apvz")},m(c,g){L(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]:"")+"")&&Le(r,l),c[3]?o?o.p(c,g):(o=fd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&I(e),o&&o.d()}}}function fd(i){let e;function t(r,a){return r[4]=="button"?tS:eS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function eS(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),n||(l=[ie(e,"click",i[69]),ie(e,"keydown",i[70])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&I(e),n=!1,Qe(l)}}}function tS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-z9apvz")},m(a,o){L(a,e,o),w(e,t),l||(r=ie(e,"click",i[68]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-z9apvz")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&I(e),l=!1,r()}}}function cd(i){let e,t,n,l,r,a,o=i[25](i[12].label)+"",c,g,d,_=i[12].icon&&dd(i),p=i[12].showUpLink&&hd(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),_&&_.c(),r=H(),a=S("span"),c=Te(o),g=H(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-z9apvz"),f(l,"class","fd-nested-list__link svelte-z9apvz"),f(l,"title",d=i[33](i[12],i[25](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-z9apvz"),f(e,"class","lui-nav-title svelte-z9apvz")},m(b,m){L(b,e,m),w(e,t),w(t,n),w(n,l),_&&_.m(l,null),w(l,r),w(l,a),w(a,c),w(l,g),p&&p.m(l,null)},p(b,m){b[12].icon?_?_.p(b,m):(_=dd(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=hd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&I(e),_&&_.d(),p&&p.d()}}}function dd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?iS:nS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function nS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-nested-list__icon sap-icon svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Ze(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 iS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-z9apvz"),f(e,"role","presentation")},m(n,l){L(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function hd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-z9apvz"),f(e,"role","presentation"),f(e,"title",t=i[25]("luigi.navigation.up"))},m(r,a){L(r,e,a),n||(l=ie(e,"click",Nt(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 gd(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m=i[13],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ad(Rc(i,m,y));const C=y=>z(v[y],1,1,()=>{v[y]=null});return{c(){e=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=H(),l=S("li"),r=H(),a=S("li"),o=S("div"),c=S("a"),c.innerHTML=`<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span>
|
|
55
|
+
<span class="fd-navigation__text">More Items</span>`,g=H(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-z9apvz"></ul></div>',f(l,"class","lui-spacer svelte-z9apvz"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-z9apvz"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(o,"tabindex","-1"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-z9apvz"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-z9apvz"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(y,P){L(y,e,P),w(e,t);for(let A=0;A<v.length;A+=1)v[A].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,g),w(a,d),i[55](e),_=!0,p||(b=ie(c,"click",i[54]),p=!0)},p(y,P){if(P[0]&1922164672|P[1]&135){m=y[13];let A;for(A=0;A<m.length;A+=1){const T=Rc(y,m,A);v[A]?(v[A].p(T,P),R(v[A],1)):(v[A]=Ad(T),v[A].c(),R(v[A],1),v[A].m(t,n))}for(ke(),A=m.length;A<v.length;A+=1)C(A);Se()}},i(y){if(!_){for(let P=0;P<m.length;P+=1)R(v[P]);_=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)z(v[P]);_=!1},d(y){y&&I(e),ct(v,y),i[55](null),p=!1,b()}}}function lS(i){let e,t,n,l,r,a,o=i[25](i[82])+"",c,g,d,_,p,b,m,v,C,y,P,A,T,V,E;function U(de,te){return te[0]&8192&&(l=null),l==null&&(l=!!de[30](de[83].metaInfo.icon)),l?sS:aS}let F=U(i,[-1,-1,-1,-1]),D=F(i);function Z(){return i[48](i[83])}function j(...de){return i[49](i[83],...de)}let Q=(!i[6]||i[83].metaInfo&&i[83].metaInfo.label===i[8])&&_d(i);return{c(){e=S("li"),t=S("div"),n=S("a"),D.c(),r=H(),a=S("span"),c=Te(o),g=H(),d=S("span"),_=H(),p=S("span"),y=H(),Q&&Q.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-z9apvz"),f(n,"role","button"),f(n,"tabindex","-1"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[33](i[83],i[25](i[82]))),f(t,"aria-expanded",v=i[6]?i[83].metaInfo&&i[83].metaInfo.label===i[8]:an(i[83],i[9])),f(t,"aria-selected",C=i[6]&&i[83].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-z9apvz"),f(e,"aria-hidden","true"),f(e,"data-testid",A=i[32](i[83].metaInfo,i[82]))},m(de,te){L(de,e,te),w(e,t),w(t,n),D.m(n,null),w(n,r),w(n,a),w(a,c),w(n,g),w(n,d),w(n,_),w(n,p),w(e,y),Q&&Q.m(e,null),T=!0,V||(E=[ie(n,"click",Nt(Z)),ie(t,"click",Dt(j))],V=!0)},p(de,te){i=de,F===(F=U(i,te))&&D?D.p(i,te):(D.d(1),D=F(i),D&&(D.c(),D.m(n,r))),(!T||te[0]&33562624)&&o!==(o=i[25](i[82])+"")&&Le(c,o),(!T||te[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!T||te[0]&33562624&&m!==(m=i[33](i[83],i[25](i[82]))))&&f(t,"title",m),(!T||te[0]&9024&&v!==(v=i[6]?i[83].metaInfo&&i[83].metaInfo.label===i[8]:an(i[83],i[9])))&&f(t,"aria-expanded",v),(!T||te[0]&8384&&C!==(C=i[6]&&i[83].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[83].metaInfo&&i[83].metaInfo.label===i[8]?Q?(Q.p(i,te),te[0]&8512&&R(Q,1)):(Q=_d(i),Q.c(),R(Q,1),Q.m(e,null)):Q&&(ke(),z(Q,1,1,()=>{Q=null}),Se()),(!T||te[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-z9apvz"))&&f(e,"class",P),(!T||te[0]&8192&&A!==(A=i[32](i[83].metaInfo,i[82])))&&f(e,"data-testid",A)},i(de){T||(R(Q),T=!0)},o(de){z(Q),T=!1},d(de){de&&I(e),D.d(),Q&&Q.d(),V=!1,Qe(E)}}}function rS(i){let e,t,n=i[83],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ld(Vc(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){n=a[83];let c;for(c=0;c<n.length;c+=1){const g=Vc(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Ld(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function aS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function sS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[83].metaInfo.icon)+" "+(i[6]&&!i[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-navigation__icon "+n[29](n[83].metaInfo.icon)+" "+(n[6]&&!n[83].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function _d(i){let e,t,n,l,r,a,o,c=i[6]&&pd(i),g=i[83],d=[];for(let p=0;p<g.length;p+=1)d[p]=yd(Dc(i,g,p));const _=p=>z(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=H(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(t,"aria-hidden","true"),f(e,"class",a="fd-navigation__list-container "+(i[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-z9apvz")},m(p,b){L(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=pd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&276865152|b[1]&133){g=p[83];let m;for(m=0;m<g.length;m+=1){const v=Dc(p,g,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=yd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ke(),m=g.length;m<d.length;m+=1)_(m);Se()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-z9apvz"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<g.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)z(d[b]);o=!1},d(p){p&&I(e),c&&c.d(),ct(d,p)}}}function pd(i){let e,t,n,l,r=i[25](i[82])+"",a,o,c,g,d,_=i[10]&&i[83].metaInfo.icon&&md(i);return{c(){e=S("div"),t=S("a"),_&&_.c(),n=H(),l=S("span"),a=Te(r),o=H(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-z9apvz"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-z9apvz"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",g=i[33](i[83],i[25](i[82]))),f(e,"data-testid",d=i[32](i[83].metaInfo,i[82]))},m(p,b){L(p,e,b),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[83].metaInfo.icon?_?_.p(p,b):(_=md(p),_.c(),_.m(t,n)):_&&(_.d(1),_=null),b[0]&33562624&&r!==(r=p[25](p[82])+"")&&Le(a,r),b[0]&33562624&&g!==(g=p[33](p[83],p[25](p[82])))&&f(e,"title",g),b[0]&8192&&d!==(d=p[32](p[83].metaInfo,p[82]))&&f(e,"data-testid",d)},d(p){p&&I(e),_&&_.d()}}}function md(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[83].metaInfo.icon)),e?uS:oS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function oS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[83].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[83].metaInfo.altText?i[83].metaInfo.altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[83].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[83].metaInfo.altText?r[83].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function uS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[29](i[83].metaInfo.icon)+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon "+n[29](n[83].metaInfo.icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function bd(i){let e,t,n=i[86].label&&vd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].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&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function vd(i){let e,t,n,l,r=i[28](i[86])+"",a,o,c,g,d,_,p,b,m,v,C,y,P,A,T,V,E=i[28](i[86])+"",U,F,D,Z,j,Q,de,te,G,Y,X,pe,ne,oe;c=new xn({props:{node:i[86]}});let ve=i[86].externalLink&&i[86].externalLink.url&&wd(),re=i[86].badgeCounter&&kd(i);function Ee(...Fe){return i[50](i[86],...Fe)}function He(...Fe){return i[51](i[86],...Fe)}D=new xn({props:{node:i[86]}});let q=i[86].externalLink&&i[86].externalLink.url&&Sd(),se=i[86].badgeCounter&&Cd(i);function Pe(...Fe){return i[52](i[86],...Fe)}function $e(...Fe){return i[53](i[86],...Fe)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Te(r),o=H(),Ue(c.$$.fragment),d=H(),_=S("span"),p=H(),ve&&ve.c(),b=H(),re&&re.c(),P=H(),A=S("li"),T=S("a"),V=S("span"),U=Te(E),F=H(),Ue(D.$$.fragment),j=H(),q&&q.c(),Q=H(),se&&se.c(),f(l,"class",g="fd-navigation__text badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(_,"class","fd-navigation__selection-indicator"),f(_,"role","presentation"),f(_,"aria-hidden","true"),f(_,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-z9apvz"),f(n,"tabindex","-1"),f(n,"href",m=i[31](i[86])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[33](i[86],i[28](i[86]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[86]===i[7]),f(t,"data-testid",y=ue.getTestId(i[86])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",Z="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(T,"href",de=i[31](i[86])),f(T,"class",te="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"),f(T,"role",G=i[23]?void 0:"button"),f(T,"tabindex","0"),f(T,"data-testid",Y=ue.getTestId(i[86])),f(T,"title",X=i[33](i[86],i[28](i[86]))),An(A,"display","none"),f(A,"class","fd-nested-list__item"),f(A,"aria-labelledby","collapsible_listnode_"+i[85])},m(Fe,_e){L(Fe,e,_e),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,_),w(n,p),ve&&ve.m(n,null),w(n,b),re&&re.m(n,null),L(Fe,P,_e),L(Fe,A,_e),w(A,T),w(T,V),w(V,U),w(V,F),Me(D,V,null),w(T,j),q&&q.m(T,null),w(T,Q),se&&se.m(T,null),pe=!0,ne||(oe=[ie(n,"click",Ee),ie(n,"keyup",function(){pi(i[23]?void 0:He)&&(i[23]?void 0:He).apply(this,arguments)}),ie(T,"click",Pe),ie(T,"keyup",function(){pi(i[23]?void 0:$e)&&(i[23]?void 0:$e).apply(this,arguments)})],ne=!0)},p(Fe,_e){i=Fe,(!pe||_e[0]&8192)&&r!==(r=i[28](i[86])+"")&&Le(a,r);const Ke={};_e[0]&8192&&(Ke.node=i[86]),c.$set(Ke),(!pe||_e[0]&8192&&g!==(g="fd-navigation__text badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(l,"class",g),i[86].externalLink&&i[86].externalLink.url?ve||(ve=wd(),ve.c(),ve.m(n,b)):ve&&(ve.d(1),ve=null),i[86].badgeCounter?re?(re.p(i,_e),_e[0]&8192&&R(re,1)):(re=kd(i),re.c(),R(re,1),re.m(n,null)):re&&(ke(),z(re,1,1,()=>{re=null}),Se()),(!pe||_e[0]&8192&&m!==(m=i[31](i[86])))&&f(n,"href",m),(!pe||_e[0]&8192&&v!==(v=i[33](i[86],i[28](i[86]))))&&f(t,"title",v),(!pe||_e[0]&8320&&C!==(C=i[86]===i[7]))&&f(t,"aria-selected",C),(!pe||_e[0]&8192&&y!==(y=ue.getTestId(i[86])))&&f(t,"data-testid",y),(!pe||_e[0]&8192)&&E!==(E=i[28](i[86])+"")&&Le(U,E);const at={};_e[0]&8192&&(at.node=i[86]),D.$set(at),(!pe||_e[0]&8192&&Z!==(Z="fd-nested-list__title badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(V,"class",Z),i[86].externalLink&&i[86].externalLink.url?q||(q=Sd(),q.c(),q.m(T,Q)):q&&(q.d(1),q=null),i[86].badgeCounter?se?(se.p(i,_e),_e[0]&8192&&R(se,1)):(se=Cd(i),se.c(),R(se,1),se.m(T,null)):se&&(ke(),z(se,1,1,()=>{se=null}),Se()),(!pe||_e[0]&8192&&de!==(de=i[31](i[86])))&&f(T,"href",de),(!pe||_e[0]&8320&&te!==(te="fd-nested-list__link "+(i[86]===i[7]?"is-selected":"")+" svelte-z9apvz"))&&f(T,"class",te),(!pe||_e[0]&8388608&&G!==(G=i[23]?void 0:"button"))&&f(T,"role",G),(!pe||_e[0]&8192&&Y!==(Y=ue.getTestId(i[86])))&&f(T,"data-testid",Y),(!pe||_e[0]&8192&&X!==(X=i[33](i[86],i[28](i[86]))))&&f(T,"title",X)},i(Fe){pe||(R(c.$$.fragment,Fe),R(re),R(D.$$.fragment,Fe),R(se),pe=!0)},o(Fe){z(c.$$.fragment,Fe),z(re),z(D.$$.fragment,Fe),z(se),pe=!1},d(Fe){Fe&&I(e),Oe(c),ve&&ve.d(),re&&re.d(),Fe&&I(P),Fe&&I(A),Oe(D),q&&q.d(),se&&se.d(),ne=!1,Qe(oe)}}}function wd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function kd(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Sd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Cd(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function yd(i){let e,t,n=!i[86].hideFromNav&&bd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=bd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Pd(i){let e,t,n=i[86].label&&Nd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Nd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Nd(i){let e,t,n,l,r,a=i[28](i[86])+"",o,c,g,d,_,p,b,m,v,C,y,P,A,T,V,E,U;function F(G,Y){return G[86].icon?cS:fS}let D=F(i),Z=D(i);g=new xn({props:{node:i[86]}});let j=i[86].externalLink&&i[86].externalLink.url&&Id(),Q=i[86].badgeCounter&&Td(i);function de(...G){return i[46](i[86],...G)}function te(...G){return i[47](i[86],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),Z.c(),l=H(),r=S("span"),o=Te(a),c=H(),Ue(g.$$.fragment),_=H(),j&&j.c(),p=H(),Q&&Q.c(),b=H(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[86]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-z9apvz"),f(n,"tabindex","-1"),f(n,"href",C=i[31](i[86])),f(n,"title",y=i[33](i[86],i[28](i[86]))),f(n,"role",P=i[23]?void 0:"button"),f(n,"data-testid",A=ue.getTestId(i[86])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",T=i[86]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,Y){L(G,e,Y),w(e,t),w(t,n),Z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(g,r,null),w(n,_),j&&j.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,b),w(n,m),V=!0,E||(U=[ie(n,"click",de),ie(n,"keyup",function(){pi(i[23]?void 0:te)&&(i[23]?void 0:te).apply(this,arguments)})],E=!0)},p(G,Y){i=G,D===(D=F(i))&&Z?Z.p(i,Y):(Z.d(1),Z=D(i),Z&&(Z.c(),Z.m(n,l))),(!V||Y[0]&8192)&&a!==(a=i[28](i[86])+"")&&Le(o,a);const X={};Y[0]&8192&&(X.node=i[86]),g.$set(X),(!V||Y[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[86].statusBadge&&i[86].statusBadge.align==="right"?"right":"left")+" svelte-z9apvz"))&&f(r,"class",d),i[86].externalLink&&i[86].externalLink.url?j||(j=Id(),j.c(),j.m(n,p)):j&&(j.d(1),j=null),i[86].badgeCounter?Q?(Q.p(i,Y),Y[0]&8192&&R(Q,1)):(Q=Td(i),Q.c(),R(Q,1),Q.m(n,b)):Q&&(ke(),z(Q,1,1,()=>{Q=null}),Se()),(!V||Y[0]&8320&&v!==(v="fd-navigation__link "+(i[86]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-z9apvz"))&&f(n,"class",v),(!V||Y[0]&8192&&C!==(C=i[31](i[86])))&&f(n,"href",C),(!V||Y[0]&8192&&y!==(y=i[33](i[86],i[28](i[86]))))&&f(n,"title",y),(!V||Y[0]&8388608&&P!==(P=i[23]?void 0:"button"))&&f(n,"role",P),(!V||Y[0]&8192&&A!==(A=ue.getTestId(i[86])))&&f(n,"data-testid",A),(!V||Y[0]&8320&&T!==(T=i[86]===i[7]))&&f(t,"aria-selected",T)},i(G){V||(R(g.$$.fragment,G),R(Q),V=!0)},o(G){z(g.$$.fragment,G),z(Q),V=!1},d(G){G&&I(e),Z.d(),Oe(g),j&&j.d(),Q&&Q.d(),E=!1,Qe(U)}}}function fS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&I(e)}}}function cS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[86].icon)),e?hS:dS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function dS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[86].icon)||f(t,"src",n),f(t,"alt",l=i[86].altText?i[86].altText:""),f(t,"class","svelte-z9apvz"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-z9apvz")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,n=r[86].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[86].altText?r[86].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function hS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[86].icon)+" svelte-z9apvz"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[86].icon)+" svelte-z9apvz")&&f(e,"class",t)},d(n){n&&I(e)}}}function Id(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Td(i){let e,t;return e=new Sn({props:{node:i[86]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[86]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Ld(i){let e,t,n=!i[86].hideFromNav&&Pd(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[86].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Pd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ad(i){let e,t,n,l,r,a;const o=[rS,lS],c=[];function g(d,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(d[82]==="undefined"||d[82].startsWith(d[14]))),e?0:(t==null&&(t=d[83].filter(_S).length>0),t?1:-1)}return~(n=g(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=g(d,_),n===p?~n&&c[n].p(d,_):(l&&(ke(),z(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){z(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function gS(i){let e,t,n,l,r,a;const o=[Mk,Vk],c=[];function g(d,_){return d[27]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,_){c[e].m(d,_),L(d,n,_),l=!0,r||(a=[ie(xa,"resize",i[17]),ie(xa,"click",i[21]),ie(xa,"blur",i[21]),ie(xa,"keydown",i[34])],r=!0)},p(d,_){t.p(d,_)},i(d){l||(R(t),l=!0)},o(d){z(t),l=!1},d(d){c[e].d(d),d&&I(n),r=!1,Qe(a)}}}function an(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Do(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 _S=i=>!i.hideFromNav&&i.label,pS=i=>!i.hideFromNav&&i.label;function mS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:g,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:T,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:A,navParentNode:U}),set:async $=>{$&&(Object.getOwnPropertyNames($).forEach(async Ne=>{if(Ne==="pathData")t(5,p=$.pathData);else if(Ne==="context")F=$.context;else if(Ne==="children")t(0,a=$.children);else if(Ne==="selectedNode")t(7,C=$.selectedNode);else if(Ne==="hasCategoriesWithIcon")t(10,A=$.hasCategoriesWithIcon);else if(Ne==="navParent"){t(12,E=void 0);let tt=$.navParent;if(t(42,U=tt),tt&&tt.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let ut=tt.navHeader,Ct=tt;if(ut==="inherit"){for(Ct=tt.parent;Ct&&Ct.navHeader==="inherit";)Ct=Ct.parent;ut=Ct?Ct.navHeader:void 0}if(ut instanceof Function){t(12,E={});let jt=ut(ue.stripNode(tt),ue.stripNode(Ct),F);jt instanceof Promise?jt.then(cn=>{t(12,E=cn)}):t(12,E=jt)}else if(ut==="auto")t(12,E={label:tt.label,icon:tt.icon});else if(ut&&ut.useTitleResolver&&Ct.titleResolver){Ct.titleResolver.prerenderFallback?t(12,E={...ut,label:Ct.titleResolver.fallbackTitle||"",icon:Ct.titleResolver.fallbackIcon}):t(12,E=ut);const jt=we.mapPathToNode(it.getCurrentPath(),Ct);Rt.extractDataFromPath(jt).then(cn=>{const Gn=we.substituteDynamicParamsInObject(Object.assign({},cn.pathData.context,Ct.context),cn.pathData.pathParams);ue.fetchNodeTitleData(Ct,Gn).then(Dn=>{t(12,E={...ut,...Dn})}).catch(Dn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...ut,label:tt.label,icon:tt.icon})})})}else t(12,E=await q(ut,Ct))}}}),t(41,T=ue.getSideNavAccordionMode(C)))}},r=Wt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:g}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=ue.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:A}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:U}=e,F,D,Z,j=mt("store"),Q=mt("getTranslation");bi(i,Q,$=>t(25,n=$));let de=!1,te=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G;const Y=$=>ue.getNodeLabel($),X=async()=>{const $=l.get(),Ne=await Rt.getLeftNavData({...$},$);Ne&&(l.set(Ne),D=p,window.LEFTNAVDATA=Ne.children)};Qt(()=>{t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=ae.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,de=ae.getConfigValue("navigation.addNavHrefs")),t(1,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(22,Z=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ue.loadExpandedCategories()),un.doOnStoreChange(j,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),un.doOnStoreChange(j,()=>{X()},["navigation.viewgroupdata"]);let $=hi.initial();t(6,v=$.isSemiCollapsed),t(40,g=$.semiCollapsible),hi.onValueChanged(Ne=>{t(6,v=Ne.isSemiCollapsed)}),En.addEventListener("message",Ne=>{Ne.data.msg==="luigi.navigation.update-badge-counters"&&X()})});const pe=()=>{if(G){const $=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Ne=G.querySelector(".fd-navigation__list"),tt=G.querySelector(".fd-navigation__list > .lui-spacer");$==null||$.forEach(ut=>{Ne.insertBefore(ut,tt)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ne=()=>{const $=G.querySelector(".fd-navigation__list > .lui-spacer"),Ne=G.querySelector(".lui-moreItems"),tt=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if($.clientHeight===0&&tt.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let ut=tt.length-1;ut>0&&(lastNode=tt[ut-1],Ne.insertBefore(tt[ut],Ne.firstChild),!($.clientHeight>0));ut--);}};jr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let $;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Ne,tt)=>{$&&clearTimeout($),v&&($=setTimeout(()=>{pe(),ne()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):pe()}),Hn(()=>{(!D||D!=p)&&X(),t(22,Z=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ue.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:oe}=e;function ve($){return ue.renderIconClassName($)}function re($){return ue.isOpenUIiconName($)}function Ee($){return we.getNodeHref($,b)}function He($,Ne){return $&&$.testId?$.testId:ue.prepareForTests(Ne||$.label)}async function q($,Ne){const tt=we.mapPathToNode(it.getCurrentPath(),Ne),Ct=(await Rt.extractDataFromPath(tt)).pathData.pathParams;return we.substituteDynamicParamsInObject($,Ct)}function se($,Ne){return ue.generateTooltipText($,Ne)}function Pe($){r("handleClick",{node:$})}function $e($,Ne){if(bt(),hi.getCollapsed()){let tt,ut=document.getElementsByClassName("fd-app__sidebar")[0];if($.metaInfo&&$.metaInfo.label?tt=$.metaInfo.label:tt=$.category&&$.category.label||$.category,ut&&!ut.classList.contains("isBlocked")&&(ut.className+=" isBlocked"),tt===y){t(8,y=hi.closePopupMenu(y));return}t(8,y=tt),ut?Fe(Ne):te&&Do(Ne)}}function Fe($){const Ne=$.closest(".fd-nested-list__item"),tt=Ne.offsetTop,ut=Ui.getShellbar().offsetHeight;let Ct;Ui.isCustomLuigiContainer()?Ct=Ui.getCustomLuigiContainer().clientHeight:Ct=window.innerHeight,setTimeout(()=>{const jt=Ne.getElementsByClassName("lui-flyout-sublist")[0],cn=$.closest(".lui-fd-side-nav-wrapper").scrollTop,Gn=tt+ut-cn,Dn=Ct-tt-Ne.offsetHeight+cn-ut;Gn+jt.offsetHeight>=Ct?(jt.style.bottom=Dn+"px",jt.className+=" has-bottom-position"):jt.style.top=Gn-ut+"px"})}function _e(){if(g){let $=hi.onResize(y);t(6,v=$.isSemiCollapsed),t(8,y=$.selectedCategory)}}function Ke($){if($.code==="ArrowRight"){const tt=Ae.getCurrentMicrofrontendIframe();tt&&tt.contentWindow&&tt.contentWindow.focus()}}function at($){let Ne=U?U.parent:void 0;for(;Ne;){if(Ne.pathSegment&&Ne.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Ne});return}Ne=Ne.parent}console.warn('Could not resolve "up"-node, redirecting to root'),Y_.navigate("/")}function qt($,Ne){hi.getCollapsed()||t(9,P=ue.storeExpandedState($.metaInfo.categoryUid,Ne,T))}function bt(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function Vt(){t(8,y=hi.closePopupMenu(y)),bt()}function Wn($){$&&$.code==="Escape"&&Vt()}function Ut(){t(6,v=hi.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),Zt()}function mn($){const Ne=$.code;(Ne==="Enter"||Ne==="Space")&&Ut()}function Bi($,Ne){($.code==="Enter"||$==="Space")&&$e(Ne,$.currentTarget)}function gt($,Ne){$.keyCode===mi&&ue.handleNavAnchorClickedWithoutMetaKey($)&&Pe(Ne)}function Zt(){if(!ue.getBurgerTooltipConfig())return;const[$,Ne]=ue.getBurgerTooltipConfig(),tt=document.body.classList.contains("lui-semiCollapsible");$&&Ne&&tt&&t(11,V=document.body.classList.contains("semiCollapsed")?$:Ne)}function Rn($,Ne){return an($,Ne)?$.metaInfo.titleCollapseButton?n($.metaInfo.titleCollapseButton):void 0:$.metaInfo.titleExpandButton?n($.metaInfo.titleExpandButton):void 0}const ei=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},Hi=($,Ne)=>gt(Ne,$),nn=$=>qt($,!an($,P)),bn=($,Ne)=>$e($,Ne.currentTarget),qn=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},Gt=($,Ne)=>gt(Ne,$),Cn=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},vi=($,Ne)=>gt(Ne,$),wi=$=>{const Ne=$.target.parentElement;Ne.getAttribute("aria-expanded")==="true"?Ne.setAttribute("aria-expanded","false"):(Vt(),Ne.setAttribute("aria-expanded","true")),$.stopPropagation()};function fn($){Xe[$?"unshift":"push"](()=>{G=$,t(24,G)})}const ki=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},Si=($,Ne)=>gt(Ne,$),Ci=$=>qt($,!an($,P)),yi=$=>qt($,!an($,P)),Pi=($,Ne)=>Bi(Ne,$),gl=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},_l=($,Ne)=>gt(Ne,$),pl=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},Ni=($,Ne)=>gt(Ne,$),Wi=$=>$e($,event.currentTarget),qi=($,Ne)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ne)&&Pe($)},oi=($,Ne)=>gt(Ne,$),ml=$=>Ut(),bl=$=>Ut(),Gi=$=>mn($);return i.$$set=$=>{"children"in $&&t(0,a=$.children),"hideNavComponent"in $&&t(1,o=$.hideNavComponent),"footerText"in $&&t(2,c=$.footerText),"semiCollapsible"in $&&t(40,g=$.semiCollapsible),"semiCollapsibleButton"in $&&t(3,d=$.semiCollapsibleButton),"semiCollapsibleButtonStyle"in $&&t(4,_=$.semiCollapsibleButtonStyle),"pathData"in $&&t(5,p=$.pathData),"pathParams"in $&&t(43,b=$.pathParams),"virtualGroupPrefix"in $&&t(14,m=$.virtualGroupPrefix),"isSemiCollapsed"in $&&t(6,v=$.isSemiCollapsed),"selectedNode"in $&&t(7,C=$.selectedNode),"selectedCategory"in $&&t(8,y=$.selectedCategory),"expandedCategories"in $&&t(9,P=$.expandedCategories),"hasCategoriesWithIcon"in $&&t(10,A=$.hasCategoriesWithIcon),"sideNavAccordionMode"in $&&t(41,T=$.sideNavAccordionMode),"burgerTooltip"in $&&t(11,V=$.burgerTooltip),"navHeader"in $&&t(12,E=$.navHeader),"navParentNode"in $&&t(42,U=$.navParentNode),"sortedChildrenEntries"in $&&t(13,oe=$.sortedChildrenEntries)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const $=Object.entries(a);$.sort((Ne,tt)=>Ne[1].metaInfo.order-tt[1].metaInfo.order),t(13,oe=$)}},[a,o,c,d,_,p,v,C,y,P,A,V,E,oe,m,Pe,$e,_e,Ke,at,qt,Vt,Z,de,G,n,Q,te,Y,ve,re,Ee,He,se,Wn,Ut,mn,Bi,gt,Rn,g,T,U,b,Fe,Do,ei,Hi,nn,bn,qn,Gt,Cn,vi,wi,fn,ki,Si,Ci,yi,Pi,gl,_l,pl,Ni,Wi,qi,oi,ml,bl,Gi]}class x_ extends Et{constructor(e){super(),At(this,e,mS,gS,It,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:40,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:43,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:41,burgerTooltip:11,navHeader:12,navParentNode:42,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:44,calculateBTPNavFlyoutPosition:45,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[44]}get calculateBTPNavFlyoutPosition(){return Do}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 bS=i=>{un.doOnStoreChange(i.store,()=>{const e=ae.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer})),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),ae.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),ep(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"])},vS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),ep=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,g)=>(g.link||"").localeCompare(c.link||"")).some(c=>{let g=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,_)=>{g&&(_+1>=t.length||!t[_+1].pathSegment||!vS(d,t[_+1].pathSegment,n))&&(g=!1)}),g&&(l=c),g}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=Yr.getDocumentTitle()||r;i.set({title:r}),document.title=wt.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Ed(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Rd(i,e,t){const n=i.slice();return n[43]=e[t],n}function wS(i){let e,t,n,l,r=i[1]&&Dd(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=ie(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Dd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&I(e),r&&r.d(),n=!1,l()}}}function kS(i){let e,t,n,l,r=i[1]&&Vd(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),n||(l=ie(e,"click",i[27]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Vd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&I(e),r&&r.d(),n=!1,l()}}}function Dd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(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 Vd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){L(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 Md(i){let e,t;function n(o,c){return o[3]?SS:CS}let l=n(i),r=l(i),a=i[10]&&Kd(i);return{c(){r.c(),e=H(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?a?a.p(o,c):(a=Kd(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 SS(i){let e,t,n,l,r,a,o,c,g,d;function _(C,y){return C[12]?PS:yS}let p=_(i),b=p(i),m=i[4]&&i[5]&&Hd(i),v=i[7]&&i[7].length>0&&Wd(i);return{c(){e=S("div"),t=S("div"),b.c(),n=H(),l=S("div"),r=S("nav"),a=S("ul"),m&&m.c(),o=H(),v&&v.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(C,y){L(C,e,y),w(e,t),b.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),m&&m.m(a,null),w(a,o),v&&v.m(a,null),i[36](a),g||(d=ie(t,"click",Dt(ES)),g=!0)},p(C,y){p===(p=_(C))&&b?b.p(C,y):(b.d(1),b=p(C),b&&(b.c(),b.m(t,null))),C[4]&&C[5]?m?m.p(C,y):(m=Hd(C),m.c(),m.m(a,o)):m&&(m.d(1),m=null),C[7]&&C[7].length>0?v?v.p(C,y):(v=Wd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!C[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(C){C&&I(e),b.d(),m&&m.d(),v&&v.d(),i[36](null),g=!1,d()}}}function CS(i){let e;function t(r,a){return r[12]?LS:TS}let n=t(i),l=n(i);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function yS(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g;return{c(){e=S("button"),t=S("span"),l=Te(n),r=H(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=ie(e,"click",Dt(i[34])),c=!0)},p(d,_){_[0]&131076&&n!==(n=d[17](d[2])+"")&&Le(l,n),_[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,g()}}}function PS(i){let e,t,n,l=i[7]&&i[7].length===1&&Od(i),r=i[7]&&i[7].length>1&&Fd(i),a=i[7].length>1&&!i[5]&&Bd(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=H(),a&&a.c(),n=Ce()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,n,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=Od(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=Fd(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=Bd(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 Od(i){let e,t,n=i[17](i[7][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Te(n),f(e,"href",r=i[22](i[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){L(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&131200&&n!==(n=a[17](a[7][0].title)+"")&&Le(l,n),o[0]&128&&r!==(r=a[22](a[7][0]))&&f(e,"href",r)},d(a){a&&I(e)}}}function Fd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=zd(Rd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Rd(l,t,a);n[a]?n[a].p(o,r):(n[a]=zd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ct(n,l),l&&I(e)}}}function Ud(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g,d,_;return{c(){e=S("a"),t=S("span"),l=Te(n),r=H(),a=S("i"),o=H(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[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,b){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(_=ie(e,"click",Nt(i[32])),d=!0)},p(p,b){b[0]&131076&&n!==(n=p[17](p[2])+"")&&Le(l,n),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&g!==(g=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",g)},d(p){p&&I(e),d=!1,_()}}}function zd(i){let e=i[43]===i[5]&&i[21](i[43],i[9]),t,n=e&&Ud(i);return{c(){n&&n.c(),t=Ce()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?n?n.p(l,r):(n=Ud(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&I(t)}}}function Bd(i){let e,t,n=i[17](i[2])+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Te(n),r=H(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),w(e,a),c||(g=ie(e,"click",Nt(i[33])),c=!0)},p(d,_){_[0]&131076&&n!==(n=d[17](d[2])+"")&&Le(l,n),_[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,g()}}}function Hd(i){let e,t,n,l=i[17](i[6])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(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){L(g,e,d),w(e,t),w(t,n),w(n,r),o||(c=ie(t,"click",Nt(i[14])),o=!0)},p(g,d){d[0]&131136&&l!==(l=g[17](g[6])+"")&&Le(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 Wd(i){let e,t=i[7],n=[];for(let l=0;l<t.length;l+=1)n[l]=Gd(Ed(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Ed(l,t,a);n[a]?n[a].p(o,r):(n[a]=Gd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ct(n,l),l&&I(e)}}}function NS(i){let e,t,n,l=i[17](i[43].title)+"",r,a,o,c,g,d;function _(...p){return i[35](i[43],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),c=H(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[12]?i[22](i[43],i[9]):void 0),f(t,"data-testid",o=i[20](i[43])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),g||(d=ie(t,"click",_),g=!0)},p(p,b){i=p,b[0]&131200&&l!==(l=i[17](i[43].title)+"")&&Le(r,l),b[0]&4736&&a!==(a=i[12]?i[22](i[43],i[9]):void 0)&&f(t,"href",a),b[0]&128&&o!==(o=i[20](i[43]))&&f(t,"data-testid",o)},d(p){p&&I(e),g=!1,d()}}}function IS(i){let e,t=i[16]&&qd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[16]?t?t.p(n,l):(t=qd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function qd(i){let e,t,n=i[19](i[43],i[16],i[45])+"",l;return{c(){e=S("li"),t=new hr(!1),l=H(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&65664&&n!==(n=r[19](r[43],r[16],r[45])+"")&&t.p(n)},d(r){r&&I(e)}}}function Gd(i){let e,t,n;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!le.isFunction(o[8])),e)return IS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return NS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=Ce()},m(o,c){a&&a.m(o,c),L(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){a&&a.d(o),o&&I(n)}}}function TS(i){let e,t,n=i[17](i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Te(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ie(e,"click",i[31]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Le(l,n)},d(o){o&&I(e),r=!1,a()}}}function LS(i){let e,t,n=i[17](i[2])+"",l,r,a;return{c(){e=S("a"),t=S("span"),l=Te(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ie(e,"click",i[30]),r=!0)},p(o,c){c[0]&131076&&n!==(n=o[17](o[2])+"")&&Le(l,n)},d(o){o&&I(e),r=!1,a()}}}function Kd(i){let e,t=i[17](i[10])+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Le(n,t)},d(l){l&&I(e)}}}function AS(i){let e,t;function n(o,c){return o[12]?kS:wS}let l=n(i),r=l(i),a=i[2]&&Md(i);return{c(){r.c(),e=H(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Md(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:Be,o:Be,d(o){r.d(o),o&&I(e),a&&a.d(o),o&&I(t)}}}const ES=()=>{};function RS(i,e,t){let n;const l=Wt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:g={}}=e,{showMainAppEntry:d}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:m}=e,{pathParams:v}=e,{subTitle:C}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:A}=e,T,V,E=mt("getUnsavedChangesModalPromise"),U=mt("getTranslation");bi(i,U,_e=>t(17,n=_e));let F=mt("store");const D={closeDropDown:()=>{G("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:P,pathParams:v,appSwitcherItems:b,itemRenderer:m,selectedItem:_,defaultTitle:p,title:o,subTitle:C,defaultSubTitle:y,showMainAppEntry:d,hasApps:c,hasLogo:a,logo:r}),set:_e=>{_e&&Object.getOwnPropertyNames(_e).forEach(Ke=>{Ke==="pathData"?t(24,P=_e.pathData):Ke==="appSwitcherItems"?t(7,b=_e.appSwitcherItems):Ke==="itemRenderer"?t(8,m=_e.itemRenderer):Ke==="pathParams"?t(9,v=_e.pathParams):Ke==="selectedItem"?t(5,_=_e.selectedItem):Ke==="title"?t(2,o=_e.title):Ke==="defaultSubTitle"?t(23,y=_e.defaultSubTitle):Ke==="subTitle"?t(10,C=_e.subTitle):Ke==="defaultTitle"?t(6,p=_e.defaultTitle):Ke==="subTitle"?t(10,C=_e.subTitle):Ke==="showMainAppEntry"?t(4,d=_e.showMainAppEntry):Ke==="hasApps"?t(3,c=_e.hasApps):Ke==="hasLogo"&&t(1,a=_e.hasLogo)})},store:F});Qt(()=>{bS(Z())}),Hn(()=>{(!V||V!=P)&&(ep(Z()),V=P)});function j(_e,Ke,at){return setTimeout(()=>{Ke&&m(_e,Ke.children[at],D)}),""}function Q(_e){E().then(()=>{it.navigateTo(we.applyPathParams(_e,v))},()=>{})}function de(){E().then(()=>{it.navigateTo("/")},()=>{})}function te(_e){l("handleClick",{node:_e}),G("appSwitcherPopover")}function G(_e){l("toggleDropdownState",{name:_e})}function Y(_e){return _e.testId?_e.testId:ue.prepareForTests(_e.title||_e)}function X(_e,Ke){if(_e.link){const at=we.applyPathParams(_e.link,Ke);if(at.indexOf(":")!==0&&at.indexOf("/:")===-1)return!0}return!1}function pe(_e){return we.getNodeHref(_e)}function ne(_e){Xe[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const oe=_e=>{ue.handleNavAnchorClickedWithoutMetaKey(_e)&&Q("/")};function ve(_e){Xe[_e?"unshift":"push"](()=>{r=_e,t(0,r)})}const re=()=>Q("/"),Ee=_e=>{ue.handleNavAnchorClickedWithoutMetaKey(_e)&&Q("/")},He=()=>Q("/"),q=()=>G("appSwitcherPopover"),se=()=>G("appSwitcherPopover"),Pe=()=>G("appSwitcherPopover"),$e=(_e,Ke)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ke)&&Q(_e.link)};function Fe(_e){Xe[_e?"unshift":"push"](()=>{T=_e,t(16,T)})}return i.$$set=_e=>{"logo"in _e&&t(0,r=_e.logo),"hasLogo"in _e&&t(1,a=_e.hasLogo),"title"in _e&&t(2,o=_e.title),"hasApps"in _e&&t(3,c=_e.hasApps),"dropDownStates"in _e&&t(11,g=_e.dropDownStates),"showMainAppEntry"in _e&&t(4,d=_e.showMainAppEntry),"selectedItem"in _e&&t(5,_=_e.selectedItem),"defaultTitle"in _e&&t(6,p=_e.defaultTitle),"appSwitcherItems"in _e&&t(7,b=_e.appSwitcherItems),"itemRenderer"in _e&&t(8,m=_e.itemRenderer),"pathParams"in _e&&t(9,v=_e.pathParams),"subTitle"in _e&&t(10,C=_e.subTitle),"defaultSubTitle"in _e&&t(23,y=_e.defaultSubTitle),"pathData"in _e&&t(24,P=_e.pathData),"addNavHrefForAnchor"in _e&&t(12,A=_e.addNavHrefForAnchor)},[r,a,o,c,d,_,p,b,m,v,C,g,A,Q,de,G,T,n,U,j,Y,X,pe,y,P,te,ne,oe,ve,re,Ee,He,q,se,Pe,$e,Fe]}class DS extends Et{constructor(e){super(),At(this,e,RS,AS,It,{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 jd(i,e,t){const n=i.slice();return n[34]=e[t],n}function Jd(i){let e,t,n,l,r,a,o=i[0]&&Yd(i),c=(i[10]||i[11])&&th(i);return{c(){e=S("div"),o&&o.c(),t=H(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(g,d){L(g,e,d),o&&o.m(e,null),L(g,t,d),L(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=Yd(g),o.c(),o.m(e,null)):o&&(o.d(1),o=null),g[10]||g[11]?c?c.p(g,d):(c=th(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 Yd(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?MS:VS}let g=c(i),d=g(i),_=i[7].name&&Qd(i),p=i[7].description&&Zd(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=$d(jd(i,b,C));let v=i[12]&&xd(i);return{c(){e=S("div"),d.c(),t=H(),n=S("div"),_&&_.c(),l=H(),p&&p.c(),r=H(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=H(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){L(C,e,y),d.m(e,null),L(C,t,y),L(C,n,y),_&&_.m(n,null),w(n,l),p&&p.m(n,null),L(C,r,y),L(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(g===(g=c(C))&&d?d.p(C,y):(d.d(1),d=g(C),d&&(d.c(),d.m(e,null))),C[7].name?_?_.p(C,y):(_=Qd(C),_.c(),_.m(n,l)):_&&(_.d(1),_=null),C[7].description?p?p.p(C,y):(p=Zd(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const A=jd(C,b,P);m[P]?m[P].p(A,y):(m[P]=$d(A),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=xd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&I(e),d.d(),C&&I(t),C&&I(n),_&&_.d(),p&&p.d(),C&&I(r),C&&I(a),ct(m,C),v&&v.d()}}}function VS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Te(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(n,t)},d(l){l&&I(e)}}}function MS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),An(e,"background-image","url('"+i[7].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&128&&An(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&I(e)}}}function Qd(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&I(e)}}}function Zd(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&I(e)}}}function Xd(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?FS:OS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function OS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),An(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&An(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 FS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&I(e)}}}function $d(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,_=i[34].icon&&Xd(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),_&&_.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[ie(t,"click",i[23]),ie(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?_?_.p(i,m):(_=Xd(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&I(e),_&&_.d(),g=!1,Qe(d)}}}function xd(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g=i[9].settings.icon&&eh(i);return{c(){e=S("li"),t=S("a"),g&&g.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,_){L(d,e,_),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ie(e,"click",Nt(i[5])),ie(e,"keyup",i[25])],o=!0)},p(d,_){d[9].settings.icon?g?g.p(d,_):(g=eh(d),g.c(),g.m(t,n)):g&&(g.d(1),g=null),_[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&I(e),g&&g.d(),o=!1,Qe(c)}}}function eh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?zS:US}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function US(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Ze(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(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 zS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&I(e)}}}function th(i){let e,t,n=(i[8]||!i[10]&&i[11])&&nh(i),l=i[10]&&!i[8]&&ih(i);return{c(){n&&n.c(),e=H(),l&&l.c(),t=Ce()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=nh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=ih(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 nh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Te(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){L(c,e,g),w(e,t),w(t,l),a||(o=ie(t,"click",i[4]),a=!0)},p(c,g){g[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(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 ih(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=H(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){L(a,e,o),L(a,t,o),L(a,n,o),l||(r=[ie(e,"click",i[15]),ie(n,"click",i[15])],l=!0)},p:Be,d(a){a&&I(e),a&&I(t),a&&I(n),l=!1,Qe(r)}}}function BS(i){let e,t=!i[1]&&Jd(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=Jd(n),t.c(),t.m(e.parentNode,e))},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function HS(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,_,p,b,m,v=mt("store"),C=mt("getTranslation");bi(i,C,ne=>t(13,n=ne));let y=mt("getUnsavedChangesModalPromise"),P=mt("openViewInModal");Qt(async()=>{gi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),F(),sn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),sn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function A(){sn.startAuthorization()}function T(ne){return ue.renderIconClassName(ne)}function V(ne){return ue.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:ue.prepareForTests(ne.label)}function U(ne){return we.getNodeHref(ne)}function F(){b||(un.doOnStoreChange(v,async()=>{const ne=await ae.getConfigValueAsync("navigation.profile.logout"),oe=await ae.getConfigValueAsync("userSettings"),ve=oe||await ae.getConfigValueAsync("settings.userSettings"),re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(ve){const Ee=ve.userSettingsProfileMenuEntry;re.settings={...cl.userSettingsProfileMenuEntry,...Ee}}re.logout={...cl.logout,...ne},t(11,_=!!ne),m=!1,sn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,sn.setProfileLogoutFn(ne.customLogoutFn)),t(9,g=re),t(12,p=!!ve)},["navigation.profile"]),b=!0)}async function D(){const ne=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(sn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function Z(ne){y().then(()=>{if(ne.openNodeInModal){const oe=we.buildRoute(ne,`${ne.link}`);P(oe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else it.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function j(){y().then(()=>{d?de():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Yr.openUserSettings(),l("toggleDropdownState")}function de(){sn.logout()}function te({keyCode:ne}){(ne===mi||ne===Kr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const Y=ne=>{ue.handleNavAnchorClickedWithoutMetaKey(ne)},X=ne=>Z(ne),pe=ne=>te(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,Z,j,Q,te,o,c,g,d,_,p,n,C,A,T,V,E,U,F,D,de,Y,X,pe]}class WS extends Et{constructor(e){super(),At(this,e,HS,BS,It,{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 lh(i,e,t){const n=i.slice();return n[34]=e[t],n}function rh(i){let e,t,n,l,r,a=i[0]&&ah(i),o=i[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=oh(lh(i,o,_));let g=i[12]&&uh(i),d=(i[10]||i[11])&&ch(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=H();for(let _=0;_<c.length;_+=1)c[_].c();l=H(),g&&g.c(),r=H(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(_,p){L(_,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),g&&g.m(t,null),w(t,r),d&&d.m(t,null)},p(_,p){if(_[0]?a?a.p(_,p):(a=ah(_),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const m=lh(_,o,b);c[b]?c[b].p(m,p):(c[b]=oh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}_[12]?g?g.p(_,p):(g=uh(_),g.c(),g.m(t,r)):g&&(g.d(1),g=null),_[10]||_[11]?d?d.p(_,p):(d=ch(_),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(_){_&&I(e),a&&a.d(),ct(c,_),g&&g.d(),d&&d.d()}}}function ah(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Te(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,n)},d(r){r&&I(e)}}}function sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?GS:qS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function qS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(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 GS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&I(e)}}}function oh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,g,d,_=i[34].icon&&sh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),_&&_.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){L(b,e,m),w(e,t),_&&_.m(t,null),w(t,n),w(t,l),w(l,a),g||(d=[ie(t,"click",i[23]),ie(e,"click",p)],g=!0)},p(b,m){i=b,i[34].icon?_?_.p(i,m):(_=sh(i),_.c(),_.m(t,n)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&I(e),_&&_.d(),g=!1,Qe(d)}}}function uh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,g,d=i[9].settings.icon&&fh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(_,p){L(_,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=[ie(e,"click",Nt(i[5])),ie(e,"keyup",i[25])],c=!0)},p(_,p){_[9].settings.icon?d?d.p(_,p):(d=fh(_),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&I(e),d&&d.d(),c=!1,Qe(g)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?jS:KS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function KS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(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 jS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&I(e)}}}function ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&dh(i),l=i[10]&&!i[8]&&gh(i);return{c(){n&&n.c(),e=H(),l&&l.c(),t=Ce()},m(r,a){n&&n.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=dh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=gh(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 dh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,g,d=i[9].logout.icon&&hh(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=H(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(_,p){L(_,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(g=ie(e,"click",i[4]),c=!0)},p(_,p){_[9].logout.icon?d?d.p(_,p):(d=hh(_),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&I(e),d&&d.d(),c=!1,g()}}}function hh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?YS:JS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function JS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(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 YS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){L(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&I(e)}}}function gh(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(n=ie(e,"click",i[15]),t=!0)},p:Be,d(l){l&&I(e),t=!1,n()}}}function QS(i){let e,t=!i[1]&&rh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=rh(n),t.c(),t.m(e.parentNode,e))},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function ZS(i,e,t){let n;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,g={logout:{},items:[],settings:{}},d,_,p,b,m,v=mt("store"),C=mt("getTranslation");bi(i,C,ne=>t(13,n=ne));let y=mt("getUnsavedChangesModalPromise"),P=mt("openViewInModal");Qt(async()=>{gi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),F(),sn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),sn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function A(){sn.startAuthorization()}function T(ne){return ue.renderIconClassName(ne)}function V(ne){return ue.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:ue.prepareForTests(ne.label)}function U(ne){return we.getNodeHref(ne)}function F(){b||(un.doOnStoreChange(v,async()=>{const ne=await ae.getConfigValueAsync("navigation.profile.logout"),oe=await ae.getConfigValueAsync("userSettings"),ve=oe||await ae.getConfigValueAsync("settings.userSettings");t(12,p=!!ve);const re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ee=ve.userSettingsProfileMenuEntry;re.settings={...cl.userSettingsProfileMenuEntry,...Ee}}re.logout={...cl.logout,...ne},t(11,_=!!ne),m=!1,sn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,sn.setProfileLogoutFn(ne.customLogoutFn)),t(9,g=re)},["navigation.profile"]),b=!0)}async function D(){const ne=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(sn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function Z(ne){y().then(()=>{if(ne.openNodeInModal){const oe=we.buildRoute(ne,`${ne.link}`);P(oe,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else it.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function j(){y().then(()=>{d?de():_&&m?g.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Yr.openUserSettings(),l("toggleDropdownState")}function de(){sn.logout()}function te({keyCode:ne}){(ne===mi||ne===Kr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const Y=ne=>{ue.handleNavAnchorClickedWithoutMetaKey(ne)},X=ne=>Z(ne),pe=ne=>te(ne);return i.$$set=ne=>{"isHidden"in ne&&t(1,r=ne.isHidden),"addNavHrefForAnchor"in ne&&t(2,a=ne.addNavHrefForAnchor),"showUserInfo"in ne&&t(0,G=ne.showUserInfo)},i.$$.update=()=>{i.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,Z,j,Q,te,o,c,g,d,_,p,n,C,A,T,V,E,U,F,D,de,Y,X,pe]}class tp extends Et{constructor(e){super(),At(this,e,ZS,QS,It,{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 _h(i,e,t){const n=i.slice();return n[11]=e[t],n}function ph(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=vh(_h(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const g=_h(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=vh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function mh(i){let e,t,n,l,r,a,o,c,g=i[3](i[11])+"",d,_,p=i[4](i[11]),b,m,v,C,y,P;function A(F,D){return D&6&&(n=null),n==null&&(n=!!F[2](F[11])),n?$S:XS}let T=A(i,-1),V=T(i);r=new Sn({props:{node:i[11]}});let E=p&&bh(i);function U(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=H(),Ue(r.$$.fragment),a=H(),o=S("div"),c=S("div"),d=Te(g),_=H(),E&&E.c(),b=H(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=ue.getTestId(i[11]))},m(F,D){L(F,e,D),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,_),E&&E.m(o,null),w(e,b),C=!0,y||(P=ie(e,"click",U),y=!0)},p(F,D){i=F,T===(T=A(i,D))&&V?V.p(i,D):(V.d(1),V=T(i),V&&(V.c(),V.m(t,l)));const Z={};D&2&&(Z.node=i[11]),r.$set(Z),(!C||D&10)&&g!==(g=i[3](i[11])+"")&&Le(d,g),D&18&&(p=i[4](i[11])),p?E?E.p(i,D):(E=bh(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||D&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||D&2&&v!==(v=ue.getTestId(i[11])))&&f(e,"data-testid",v)},i(F){C||(R(r.$$.fragment,F),C=!0)},o(F){z(r.$$.fragment,F),C=!1},d(F){F&&I(e),V.d(),Oe(r),E&&E.d(),y=!1,P()}}}function XS(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!Ze(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function $S(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){L(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&I(e)}}}function bh(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&I(e)}}}function vh(i){let e,t,n=i[11].label&&mh(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=mh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function xS(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P,A,T=i[1]&&ph(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Te(i[0]),c=H(),g=S("div"),d=S("div"),_=S("ul"),T&&T.c(),p=H(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,g),w(g,d),w(d,_),T&&T.m(_,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(A=[ie(C,"click",i[8]),ie(e,"click",Dt(eC))],P=!0)},p(V,[E]){(!y||E&1)&&Le(o,V[0]),V[1]?T?(T.p(V,E),E&2&&R(T,1)):(T=ph(V),T.c(),R(T,1),T.m(_,null)):T&&(ke(),z(T,1,1,()=>{T=null}),Se())},i(V){y||(R(T),y=!0)},o(V){z(T),y=!1},d(V){V&&I(e),T&&T.d(),P=!1,Qe(A)}}}const eC=()=>{};function tC(i,e,t){const n=Wt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:g}=e;function d(m){return ue.renderIconClassName(m)}function _(m){n("listClick",m)}function p(m){Rl.call(this,i,m)}const b=m=>_(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,g=m.noSubTitle)},[l,r,a,o,c,g,_,d,p,b]}class np extends Et{constructor(e){super(),At(this,e,tC,xS,It,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:nC}=hl;function wh(i,e,t){const n=i.slice();return n[7]=e[t],n}function kh(i){let e,t,n,l=i[0]&&Sh(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Sh(r),l.c(),R(l,1),l.m(t,null)):l&&(ke(),z(l,1,1,()=>{l=null}),Se())},i(r){n||(R(l),n=!0)},o(r){z(l),n=!1},d(r){r&&I(e),l&&l.d()}}}function Sh(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=yh(wh(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const g=wh(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=yh(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Ch(i){let e,t,n,l,r,a,o,c,g=i[11](i[7])+"",d,_,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?lC:iC}let P=y(i,-1),A=P(i);a=new Sn({props:{node:i[7]}});function T(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),A.c(),r=H(),Ue(a.$$.fragment),o=H(),c=S("span"),d=Te(g),p=H(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",_=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=ue.getTestId(i[7]))},m(V,E){L(V,e,E),w(e,t),w(t,n),A.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ie(t,"click",i[13]),ie(e,"click",T)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&A?A.p(i,E):(A.d(1),A=P(i),A&&(A.c(),A.m(n,r)));const U={};E&1&&(U.node=i[7]),a.$set(U),(!m||E&1)&&g!==(g=i[11](i[7])+"")&&Le(d,g),(!m||E&5&&_!==(_=i[2]?i[12](i[7]):void 0))&&f(t,"href",_),(!m||E&1&&b!==(b=ue.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){z(a.$$.fragment,V),m=!1},d(V){V&&I(e),A.d(),Oe(a),v=!1,Qe(C)}}}function iC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),Ze(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(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 lC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){L(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 yh(i){let e,t,n=i[7].label&&Ch(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Ch(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ph(i){let e,t;return e=new np({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function rC(i){let e,t,n,l,r,a=!i[1]&&kh(i),o=i[1]&&Ph(i);return{c(){a&&a.c(),e=H(),o&&o.c(),t=Ce()},m(c,g){a&&a.m(c,g),L(c,e,g),o&&o.m(c,g),L(c,t,g),n=!0,l||(r=ie(nC,"resize",os),l=!0)},p(c,[g]){c[1]?a&&(ke(),z(a,1,1,()=>{a=null}),Se()):a?(a.p(c,g),g&2&&R(a,1)):(a=kh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,g),g&2&&R(o,1)):(o=Ph(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ke(),z(o,1,1,()=>{o=null}),Se())},i(c){n||(R(a),R(o),n=!0)},o(c){z(a),z(o),n=!1},d(c){a&&a.d(c),c&&I(e),o&&o.d(c),c&&I(t),l=!1,r()}}}function os(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function aC(i,e,t){const n=Wt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=mt("getUnsavedChangesModalPromise"),g=mt("openViewInModal"),{addNavHrefForAnchor:d}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});Qt(async()=>{os()}),Hn(async()=>{r||t(0,r=await Rt.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const U=we.buildRoute(E,`/${E.pathSegment}`);g(U,E.openNodeInModal===!0?{}:E.openNodeInModal)}else it.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return ue.isOpenUIiconName(E.icon)}function y(E){return ue.renderIconClassName(E)}function P(E){return wt.getTranslation(E.label)}function A(E){return we.getNodeHref(E,o)}const T=E=>{ue.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,os,a,_,C,y,P,A,T,V]}class ip extends Et{constructor(e){super(),At(this,e,aC,rC,It,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return os}}const 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?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(it.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=ae.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=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=le.normalizePath(i),t=le.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 Nh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Ih(i,e,t){const n=i.slice();return n[20]=e[t],n}function Th(i,e,t){const n=i.slice();return n[20]=e[t],n}function Lh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Eh(Th(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Th(l,t,a);n[a]?n[a].p(o,r):(n[a]=Eh(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),ct(n,l)}}}function Ah(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function _(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),o=H(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=ue.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[ie(t,"click",Nt(hC)),ie(e,"click",_)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=ue.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,Qe(d)}}}function Eh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Ah(i);return{c(){n&&n.c(),t=Ce()},m(l,r){n&&n.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Ah(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&I(t)}}}function Rh(i){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
56
56
|
<div class="fd-busy-indicator__circle"></div>
|
|
57
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Dh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vh(Ih(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Ih(l,t,a);n[a]?n[a].p(o,r):(n[a]=Vh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ct(n,l),l&&I(e)}}}function sC(i){return{c:Be,m:Be,p:Be,d:Be}}function oC(i){let e,t,n,l,r;function a(d,_){return d[2]?fC:uC}let o=a(i),c=o(i);function g(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=H(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=ue.getTestId(i[20]))},m(d,_){L(d,e,_),c.m(e,null),L(d,n,_),l||(r=ie(e,"click",g),l=!0)},p(d,_){i=d,o===(o=a(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&8&&t!==(t=ue.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&I(e),c.d(),d&&I(n),l=!1,r()}}}function uC(i){let e,t,n=i[25]+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Te(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,_){L(d,e,_),w(e,t),w(t,l),c||(g=ie(e,"click",i[15]),c=!0)},p(d,_){_&138&&n!==(n=d[25]+"")&&Le(l,n),_&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),_&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),_&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&I(e),c=!1,g()}}}function fC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function cC(i){return{c:Be,m:Be,p:Be,d:Be}}function Vh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:cC,then:oC,catch:sC,value:25};return is(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Ce(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&is(t,n)||U_(n,i,r)},d(l){l&&I(e),n.block.d(l),n.token=null,n=null}}}function Oh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Fh(Nh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Nh(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),ct(n,l)}}}function Mh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function _(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),o=H(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=ue.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[ie(t,"click",i[17]),ie(e,"click",_)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=ue.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,Qe(d)}}}function Fh(i){let e,t=i[20].position==="bottom"&&Mh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Mh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function dC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Lh(i),c=i[3]&&i[3].length===0&&i[10]&&Rh(),g=i[3]&&i[3].length&&Dh(i),d=i[0]&&i[0].length&&Oh(i);return{c(){e=S("nav"),o&&o.c(),t=H(),n=S("ul"),c&&c.c(),l=H(),g&&g.c(),r=H(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(_,p){L(_,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(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=Lh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[10]?c||(c=Rh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=Dh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?d?d.p(_,p):(d=Oh(_),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:Be,o:Be,d(_){_&&I(e),o&&o.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}const hC=()=>{};function gC(i,e,t){let n,l=Be,r=()=>(l(),l=Oo(v,D=>t(13,n=D)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:d}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Wt();function P(D){y("onActionClick",{node:D})}function A(D,Z){y("goToOption",{option:D,selectedOption:Z})}const T=D=>P(D),V=D=>{ue.handleNavAnchorClickedWithoutMetaKey(D)},E=D=>A(D,_),U=D=>{ue.handleNavAnchorClickedWithoutMetaKey(D)},F=D=>P(D);return i.$$set=D=>{"actions"in D&&t(0,a=D.actions),"config"in D&&t(1,o=D.config),"customOptionsRenderer"in D&&t(2,c=D.customOptionsRenderer),"options"in D&&t(3,g=D.options),"selectedLabel"in D&&t(4,d=D.selectedLabel),"selectedOption"in D&&t(5,_=D.selectedOption),"isMobile"in D&&t(6,p=D.isMobile),"getNodeName"in D&&t(7,b=D.getNodeName),"getRouteLink"in D&&t(8,m=D.getRouteLink),"getTranslation"in D&&r(t(9,v=D.getTranslation)),"isContextSwitcherDropdownShown"in D&&t(10,C=D.isContextSwitcherDropdownShown)},[a,o,c,g,d,_,p,b,m,v,C,P,A,n,T,V,E,U,F]}class lp extends Et{constructor(e){super(),At(this,e,gC,dC,It,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Uh(i){let e,t,n,l=!i[9]&&zh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Bh(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(ke(),z(l,1,1,()=>{l=null}),Se()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=zh(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=Bh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){n||(R(l),R(r),n=!0)},o(a){z(l),z(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function zh(i){let e,t,n,l,r,a,o,c,g,d;function _(m,v){return m[10]&&m[2]!==m[5].defaultLabel?pC:_C}let p=_(i),b=p(i);return a=new lp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=H(),r=S("div"),Me(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Ve(a,r,null),c=!0,g||(d=ie(n,"click",Dt(NC)),g=!0)},p(m,v){p===(p=_(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){z(a.$$.fragment,m),c=!1},d(m){m&&I(e),b.d(),Oe(a),g=!1,d()}}}function _C(i){let e,t,n,l,r,a;function o(d,_){return d[2]&&d[7]?bC:mC}let c=o(i),g=c(i);return{c(){e=S("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,_){L(d,e,_),g.m(e,null),r||(a=ie(e,"click",i[29]),r=!0)},p(d,_){c===(c=o(d))&&g?g.p(d,_):(g.d(1),g=c(d),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&I(e),g.d(),r=!1,a()}}}function pC(i){let e,t,n,l,r,a,o;function c(_,p){return _[2]&&_[7]?SC:kC}let g=c(i),d=g(i);return{c(){e=S("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(_,p){L(_,e,p),d.m(e,null),a||(o=ie(e,"click",Nt(i[28])),a=!0)},p(_,p){g===(g=c(_))&&d?d.p(_,p):(d.d(1),d=g(_),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=_[2]?_[19](_[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=_[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=_[4]?_[4]:_[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!_[15])&&f(e,"aria-disabled",r)},d(_){_&&I(e),d.d(),a=!1,o()}}}function mC(i){let e,t;function n(a,o){return a[4]?vC:wC}let l=n(i),r=l(i);return{c(){r.c(),e=H(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&I(e),a&&I(t)}}}function bC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(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=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function wC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&I(t)}}}function kC(i){let e,t;function n(a,o){return a[4]?CC:yC}let l=n(i),r=l(i);return{c(){r.c(),e=H(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&I(e),a&&I(t)}}}function SC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(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 CC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function yC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&I(t)}}}function Bh(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P,A=!i[4]&&Hh(i),T=i[4]&&Wh(i);return d=new lp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),A&&A.c(),o=H(),T&&T.c(),c=H(),g=S("div"),Me(d.$$.fragment),_=H(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),A&&A.m(a,null),w(a,o),T&&T.m(a,null),w(t,c),w(t,g),Ve(d,g,null),w(t,_),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ie(v,"click",i[13]),ie(e,"click",Dt(IC))],y=!0)},p(V,E){V[4]?A&&(A.d(1),A=null):A?A.p(V,E):(A=Hh(V),A.c(),A.m(a,o)),V[4]?T?T.p(V,E):(T=Wh(V),T.c(),T.m(a,null)):T&&(T.d(1),T=null);const U={};E[0]&1&&(U.actions=V[0]),E[0]&32&&(U.config=V[5]),E[0]&64&&(U.customOptionsRenderer=V[6]),E[0]&2&&(U.options=V[1]),E[0]&16&&(U.selectedLabel=V[4]),E[0]&4&&(U.selectedOption=V[2]),E[0]&512&&(U.isMobile=V[9]),E[0]&16384&&(U.isContextSwitcherDropdownShown=V[14]),d.$set(U)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){z(d.$$.fragment,V),C=!1},d(V){V&&I(e),A&&A.d(),T&&T.d(),Oe(d),y=!1,Qe(P)}}}function Hh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&I(t)}}}function Wh(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function PC(i){let e,t,n=i[3]&&Uh(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Uh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}const NC=()=>{},IC=()=>{};function TC(i,e,t){let n,l;const r=Wt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:d=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:A=!1}=e,{defaultLabel:T}=e,V,E=mt("getUnsavedChangesModalPromise"),U=mt("store"),F=mt("getTranslation");bi(i,F,re=>t(16,l=re));let D=!1,{addNavHrefForAnchor:Z}=e,j;Qt(async()=>{un.doOnStoreChange(U,async()=>{const re=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=le.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=le.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,g=re),t(1,_=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ee=it.getCurrentPath();t(20,m=re.fallbackLabelResolver),pn.resetFallbackLabelCache(),re.lazyloadOptions||await te(),pn.isContextSwitcherDetailsView(Ee,re.parentNodePath)&&await G(Ee)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(re=>G(re)),En.addEventListener("message",re=>{Ae.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),te())}),t(21,T=g.defaultLabel)}),Hn(()=>{D!==A&&(D=A,te()),t(14,j=o.contextSwitcherPopover||!1)});function Q(re,Ee,He){return re?Promise.resolve(re):pn.getFallbackLabel(Ee,He)}function de(re){return we.getNodeHref(re,v)}async function te(){t(1,_=await pn.fetchOptions(_));const re=g||{},Ee=re.parentNodePath,He=re.fallbackLabelResolver,q=it.getCurrentPath();t(2,b=await pn.getSelectedOption(q,_,Ee)),t(4,c=await pn.getSelectedLabel(q,_,Ee,He)),await pn.getSelectedNode(q,_,Ee),V=re.preserveSubPathOnSwitch}async function G(re){const Ee=g||{},He=Ee.parentNodePath,q=Ee.fallbackLabelResolver;t(2,b=await pn.getSelectedOption(re,_,He)),t(4,c=await pn.getSelectedLabel(re,_,He,q)),await pn.getSelectedNode(re,_,He)}async function Y(re){let Ee=re.detail.node;Ee.clickHandler&&!await Ee.clickHandler(Ee)||(setTimeout(()=>{X(Ee.link)}),P&&r("toggleDropdownState"))}function X(re){E().then(()=>{it.navigateTo(re)},()=>{})}function pe(re){let Ee=re.detail.option,He=re.detail.selectedOption;E().then(()=>{V&&He?it.navigateTo(pn.getNodePathFromCurrentPath(Ee,He)):it.navigateTo(Ee.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&te()}const oe=()=>{n&&ne()},ve=()=>{n&&ne()};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,_=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,A=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,T=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,Z=re.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||_&&_.length>1||!b)},[d,_,b,a,c,g,C,y,o,P,Z,Y,pe,ne,j,n,l,F,Q,de,m,T,v,A,te,G,X,p,oe,ve]}class rp extends Et{constructor(e){super(),At(this,e,TC,PC,It,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:LC}=hl;function qh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Gh(i){let e,t,n,l=!i[2]&&Kh(i),r=i[2]&&i[3].productSwitcherPopover&&Zh(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=Kh(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=Zh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){n||(R(r),n=!0)},o(a){z(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function Kh(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y;function P(U,F){return F&2&&(a=null),a==null&&(a=!!U[11](U[1])),a?EC:AC}let A=P(i,-1),T=A(i),V=i[0],E=[];for(let U=0;U<V.length;U+=1)E[U]=Qh(qh(i,V,U));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),T.c(),d=H(),_=S("div"),p=S("div"),b=S("ul");for(let U=0;U<E.length;U+=1)E[U].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=$n(i[9])+" svelte-156h3yc"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",v=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(U,F){L(U,e,F),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(n,d),w(n,_),w(_,p),w(p,b);for(let D=0;D<E.length;D+=1)E[D].m(b,null);C||(y=[ie(r,"click",Dt(i[7])),ie(l,"click",Dt(zC))],C=!0)},p(U,F){if(A===(A=P(U,F))&&T?T.p(U,F):(T.d(1),T=A(U),T&&(T.c(),T.m(r,null))),F&8&&o!==(o=U[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),F&2&&c!==(c=U[1].label)&&f(r,"title",c),F&2&&g!==(g=U[14](U[1]))&&f(r,"data-testid",g),F&64561){V=U[0];let D;for(D=0;D<V.length;D+=1){const Z=qh(U,V,D);E[D]?E[D].p(Z,F):(E[D]=Qh(Z),E[D].c(),E[D].m(b,null))}for(;D<E.length;D+=1)E[D].d(1);E.length=V.length}F&512&&m!==(m=$n(U[9])+" svelte-156h3yc")&&f(p,"class",m),F&8&&v!==(v=!U[3].productSwitcherPopover)&&f(_,"aria-hidden",v)},d(U){U&&I(e),T.d(),ct(E,U),C=!1,Qe(y)}}}function AC(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!Ze(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 EC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&I(e)}}}function jh(i){let e,t,n,l,r,a;function o(_,p){return _[4]?DC:RC}let c=o(i),g=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),g.c(),t=H(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){L(_,e,p),g.m(e,null),w(e,t),r||(a=ie(e,"click",d),r=!0)},p(_,p){i=_,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(_){_&&I(e),g.d(),r=!1,a()}}}function RC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,g=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?OC:VC}let _=d(i,-1),p=_(i),b=g&&Jh(i);return{c(){e=S("div"),p.c(),n=H(),l=S("div"),r=S("div"),o=Te(a),c=H(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){_===(_=d(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(g=m[13](m[22])),g?b?b.p(m,v):(b=Jh(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&I(e),p.d(),m&&I(n),m&&I(l),b&&b.d()}}}function DC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,g,d=i[13](i[22]),_,p,b;function m(P,A){return A&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?FC:MC}let v=m(i,-1),C=v(i),y=d&&Yh(i);return{c(){e=S("a"),t=S("div"),C.c(),l=H(),r=S("div"),a=S("div"),c=Te(o),g=H(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,A){L(P,e,A),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,g),y&&y.m(r,null),p||(b=ie(e,"click",i[16]),p=!0)},p(P,A){v===(v=m(P,A))&&C?C.p(P,A):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),A&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),A&1&&(d=P[13](P[22])),d?y?y.p(P,A):(y=Yh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),A&1&&_!==(_=P[15](P[22]))&&f(e,"href",_)},d(P){P&&I(e),C.d(),y&&y.d(),p=!1,b()}}}function VC(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(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 OC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&I(e)}}}function Jh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&I(e)}}}function MC(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(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 FC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&I(e)}}}function Yh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&I(e)}}}function Qh(i){let e,t=i[22].label&&jh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=jh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function Zh(i){let e,t;return e=new np({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function UC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&Gh(i);return{c(){a&&a.c(),t=Ce()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=ie(LC,"resize",us),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=Gh(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),z(a,1,1,()=>{a=null}),Se())},i(o){n||(R(a),n=!0)},o(o){z(a),n=!1},d(o){a&&a.d(o),o&&I(t),l=!1,r()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const zC=()=>{};function BC(i,e,t){const n=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=mt("store"),g=mt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:_}=e;Qt(async()=>{un.doOnStoreChange(c,async()=>{t(1,a=ue.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),A()),us()},["navigation.productSwitcher"])});function p(F){g().then(()=>{it.navigateToLink(F)},()=>{}),m()}function b(F){p(F.detail)}function m(){n("toggleDropdownState")}function v(F){return ue.renderIconClassName(F)}function C(F){return ue.isOpenUIiconName(F.icon)}function y(F){return wt.getTranslation(F.label)}function P(F){return wt.getTranslation(F.subTitle)}function A(){ue.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function T(F){return F.testId?F.testId:ue.prepareForTests(F.label)}function V(F){return we.getNodeHref(F)}const E=F=>{ue.handleNavAnchorClickedWithoutMetaKey(F)},U=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,_=F.addNavHrefForAnchor)},[l,a,r,o,_,p,b,m,us,d,v,C,y,P,T,V,E,U]}class ap extends Et{constructor(e){super(),At(this,e,BC,UC,It,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return us}}function Xh(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function HC(i){let e,t,n;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){L(l,e,r),i[18](e),e.focus(),t||(n=ie(e,"keyup",i[17]),t=!0)},p:Be,d(l){l&&I(e),i[18](null),t=!1,n()}}}function WC(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){L(t,e,n),e.focus()},p:Be,d(t){t&&I(e)}}}function qC(i){let e;return{c(){e=S("div")},m(t,n){L(t,e,n),i[22](e)},p:Be,d(t){t&&I(e),i[22](null)}}}function GC(i){let e,t,n,l=i[5]&&$h(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=$h(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 $h(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=xh(Xh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[21](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=Xh(l,t,a);n[a]?n[a].p(o,r):(n[a]=xh(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),ct(n,l),i[21](null)}}}function KC(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function jC(i){let e,t,n,l=i[30].label+"",r,a,o,c=i[30].description+"",g,d,_;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Te(l),a=H(),o=S("div"),g=Te(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(_=ie(e,"click",Nt(YC)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[30].label+"")&&Le(r,l),b[0]&32&&c!==(c=p[30].description+"")&&Le(g,c)},d(p){p&&I(e),d=!1,_()}}}function xh(i){let e,t,n,l;function r(d,_){return d[9]?KC:jC}let a=r(i),o=a(i);function c(...d){return i[19](i[30],...d)}function g(...d){return i[20](i[30],...d)}return{c(){e=S("li"),o.c(),t=H(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),n||(l=[ie(e,"click",c),ie(e,"keyup",g)],n=!0)},p(d,_){i=d,a===(a=r(i))&&o?o.p(i,_):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&I(e),o.d(),n=!1,Qe(l)}}}function JC(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y;function P(F,D){return F[7]&&F[7].disableInputHandlers?WC:HC}let A=P(i),T=A(i);function V(F,D){return F[8]?qC:GC}let E=V(i),U=E(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),T.c(),r=H(),a=S("div"),o=H(),U.c(),d=H(),_=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(n,"aria-hidden",c=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",g="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[4]),f(b,"data-testid","luigi-search-btn-desktop"),f(_,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(F,D){L(F,e,D),w(e,t),w(t,n),w(n,l),T.m(l,null),w(l,r),w(l,a),w(n,o),U.m(n,null),L(F,d,D),L(F,_,D),w(_,p),w(p,b),w(b,m),C||(y=[ie(window,"click",i[11]),ie(window,"blur",i[11]),ie(n,"click",Dt(QC)),ie(b,"click",i[6]),ie(p,"click",Dt(ZC))],C=!0)},p(F,D){A===(A=P(F))&&T?T.p(F,D):(T.d(1),T=A(F),T&&(T.c(),T.m(l,r))),E===(E=V(F))&&U?U.p(F,D):(U.d(1),U=E(F),U&&(U.c(),U.m(n,null))),D[0]&16&&c!==(c=!F[4])&&f(n,"aria-hidden",c),D[0]&16&&g!==(g="fd-shellbar__action "+(F[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",g),D[0]&16&&v!==(v=!F[4])&&f(b,"aria-expanded",v)},i:Be,o:Be,d(F){F&&I(e),T.d(),U.d(),F&&I(d),F&&I(_),C=!1,Qe(y)}}}const YC=()=>{},QC=()=>{},ZC=()=>{};function XC(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Wt(),_={fireItemSelected:X=>{p.searchProvider.onSearchResultItemSelected(X)}};let p={},b,m;Qt(async()=>{t(7,p=g);let X=a;const pe=C(p.searchProvider);pe&&(X.placeholder=pe),v()}),Hn(()=>{t(7,p=g),v()});function v(){p.searchProvider&&(t(8,b=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function C(X){if(!X||!X.inputPlaceholder)return;const pe=wt.getCurrentLocale();if(le.isFunction(X.inputPlaceholder))return X.inputPlaceholder();if(typeof X.inputPlaceholder=="string"){const ne=wt.getTranslation(X.inputPlaceholder);return ne&&ne.trim().length>0?ne:X.inputPlaceholder}if(typeof X.inputPlaceholder=="object")return X.inputPlaceholder[pe]}function y(X,pe,ne){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(X,pe.children[ne],_)}),""}function P(){d("closeSearchResult")}function A({keyCode:X}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&X===mi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&X===_i?p.searchProvider.onEscape():X===zi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(X){let pe=c.children;if(pe)for(let ne=0;ne<pe.length;ne++){let{childNodes:oe,nextSibling:ve,previousSibling:re}=pe[ne],Ee;if(oe[0].getAttribute("aria-selected")==="true"){X===zi&&(Ee=ve!==null?ve:pe[0]),X===Vl&&(Ee=re!==null?re:pe[pe.length-1]),oe[0].setAttribute("aria-selected","false"),Ee.childNodes[0].setAttribute("aria-selected","true"),Ee.focus();break}}}function V(){let X=c.children;if(X)for(let pe=0;pe<X.length;pe++){let ne=X[pe];ne.childNodes[0].getAttribute("aria-selected")==="true"&&ne.childNodes[0].setAttribute("aria-selected","false")}}function E(X){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(X):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===_i&&p.searchProvider.onEscape()}function U(X,{keyCode:pe}){pe===mi&&p.searchProvider.onSearchResultItemSelected(X),pe===Vl||pe===zi?T(pe):le.isFunction(p.searchProvider.onEscape)&&pe===_i&&(V(),setTimeout(()=>{a.focus()}),p.searchProvider.onEscape())}function F(X){let pe=X.pathObject;pe.externalLink?it.navigateToLink(pe):d("handleSearchNavigation",{node:pe})}function D(){a&&a.focus()}function Z(){if(n?t(0,r=!1):setTimeout(()=>{D()}),d("toggleSearch",{isSearchFieldVisible:n,inputElem:a,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const X=n===void 0?!0:!n;p.searchProvider.toggleSearch(a,X)}}const j=X=>A(X);function Q(X){Xe[X?"unshift":"push"](()=>{a=X,t(1,a)})}const de=(X,pe)=>E(X),te=(X,pe)=>U(X,pe);function G(X){Xe[X?"unshift":"push"](()=>{c=X,t(3,c)})}function Y(X){Xe[X?"unshift":"push"](()=>{o=X,t(2,o)})}return i.$$set=X=>{"isSearchFieldVisible"in X&&t(4,n=X.isSearchFieldVisible),"searchResult"in X&&t(5,l=X.searchResult),"displaySearchResult"in X&&t(0,r=X.displaySearchResult),"inputElem"in X&&t(1,a=X.inputElem),"luigiCustomSearchRenderer__slot"in X&&t(2,o=X.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in X&&t(3,c=X.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in X&&t(15,g=X.globalSearchConfig)},[r,a,o,c,n,l,Z,p,b,m,y,P,A,E,U,g,F,j,Q,de,te,G,Y]}class $C extends Et{constructor(e){super(),At(this,e,XC,JC,It,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function eg(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function xC(i){let e,t,n,l,r,a,o,c,g,d,_;return{c(){e=S("input"),t=H(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=H(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=H(),g=S("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-qeg9jv"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(g,"class","fd-shellbar__search-field-helper")},m(p,b){L(p,e,b),i[24](e),L(p,t,b),L(p,n,b),w(n,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(p,g,b),d||(_=[ie(e,"keyup",i[23]),ie(e,"input",i[25]),ie(l,"click",i[18]),ie(o,"click",i[16])],d=!0)},p:Be,d(p){p&&I(e),i[24](null),p&&I(t),p&&I(n),p&&I(r),p&&I(a),p&&I(c),p&&I(g),d=!1,Qe(_)}}}function e3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){L(t,e,n)},p:Be,d(t){t&&I(e)}}}function t3(i){let e;return{c(){e=S("div")},m(t,n){L(t,e,n),i[29](e)},p:Be,d(t){t&&I(e),i[29](null)}}}function n3(i){let e,t,n,l=i[4]&&tg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-qeg9jv"),f(e,"aria-hidden",n=!i[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=tg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&I(e),l&&l.d()}}}function tg(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ng(eg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[28](e)},p(l,r){if(r[0]&1582104){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=eg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ng(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&I(e),ct(n,l),i[28](null)}}}function i3(i){let e,t=i[13](i[39],i[3],i[41])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function l3(i){let e,t,n,l=i[39].label+"",r,a,o,c=i[39].description+"",g,d,_;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Te(l),a=H(),o=S("div"),g=Te(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(_=ie(e,"click",Nt(a3)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[39].label+"")&&Le(r,l),b[0]&16&&c!==(c=p[39].description+"")&&Le(g,c)},d(p){p&&I(e),d=!1,_()}}}function ng(i){let e,t,n,l;function r(d,_){return d[10]?i3:l3}let a=r(i),o=a(i);function c(...d){return i[26](i[39],...d)}function g(...d){return i[27](i[39],...d)}return{c(){e=S("li"),o.c(),t=H(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),n||(l=[ie(e,"click",c),ie(e,"keyup",g)],n=!0)},p(d,_){i=d,a===(a=r(i))&&o?o.p(i,_):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&I(e),o.d(),n=!1,Qe(l)}}}function ig(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-qeg9jv")},m(c,g){L(c,e,g),w(e,t),w(t,n),w(n,l),a||(o=[ie(n,"click",i[6]),ie(t,"click",Dt(o3))],a=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&I(e),a=!1,Qe(o)}}}function lg(i){let e,t,n=i[11](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Te(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(g,d){L(g,e,d),w(e,t),w(t,l),o||(c=ie(t,"click",Dt(i[30])),o=!0)},p(g,d){d[0]&2176&&n!==(n=g[11](g[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(g){g&&I(e),o=!1,c()}}}function r3(i){let e,t,n,l,r,a,o,c,g,d,_,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?e3:xC}let m=b(i),v=m(i);function C(V,E){return V[9]?t3:n3}let y=C(i),P=y(i),A=!i[5]&&ig(i),T=i[5]&&lg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=H(),P.c(),c=H(),A&&A.c(),g=H(),T&&T.c(),d=Ce(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(V,c,E),A&&A.m(V,E),L(V,g,E),T&&T.m(V,E),L(V,d,E),_||(p=[ie(window,"click",i[14]),ie(window,"blur",i[14]),ie(n,"click",Dt(s3))],_=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?A&&(A.d(1),A=null):A?A.p(V,E):(A=ig(V),A.c(),A.m(g.parentNode,g)),V[5]?T?T.p(V,E):(T=lg(V),T.c(),T.m(d.parentNode,d)):T&&(T.d(1),T=null)},i:Be,o:Be,d(V){V&&I(e),v.d(),P.d(),V&&I(c),A&&A.d(V),V&&I(g),T&&T.d(V),V&&I(d),_=!1,Qe(p)}}}const a3=()=>{},s3=()=>{},o3=()=>{};function u3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Wt(),_={fireItemSelected:q=>{m.searchProvider.onSearchResultItemSelected(q)}};let p=cl.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,m={},v,C,y=mt("getTranslation");bi(i,y,q=>t(11,n=q)),Qt(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let q=a;const se=A(m.searchProvider);se&&(q.placeholder=se),P(),Gf.handleVisibilityGlobalSearch();const Pe=document.querySelector(".lui-global-search");Pe&&new ResizeObserver(Fe=>{Gf.handleVisibilityGlobalSearch()}).observe(Pe)}),Hn(()=>{t(8,m=g),P(),F()});function P(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,C=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function A(q){if(!q||!q.inputPlaceholder)return;const se=wt.getCurrentLocale();if(le.isFunction(q.inputPlaceholder))return q.inputPlaceholder();if(typeof q.inputPlaceholder=="string"){const Pe=wt.getTranslation(q.inputPlaceholder);return Pe&&Pe.trim().length>0?Pe:q.inputPlaceholder}if(typeof q.inputPlaceholder=="object")return q.inputPlaceholder[se]}function T(q,se,Pe){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(q,se.children[Pe],_)}),""}function V(){d("closeSearchResult")}function E({keyCode:q}){m?le.isFunction(m.searchProvider.onEnter)&&q===mi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&q===_i?m.searchProvider.onEscape():q===zi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function U(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function F(){a&&a.value}function D(){t(1,a.value="",a),V()}function Z(q){let se=c.children;if(se)for(let Pe=0;Pe<se.length;Pe++){let{childNodes:$e,nextSibling:Fe,previousSibling:_e}=se[Pe],Ke;if($e[0].getAttribute("aria-selected")==="true"){q===zi&&(Ke=Fe!==null?Fe:se[0]),q===Vl&&(Ke=_e!==null?_e:se[se.length-1]),$e[0].setAttribute("aria-selected","false"),Ke.childNodes[0].setAttribute("aria-selected","true"),Ke.focus();break}}}function j(){let q=c.children;if(q)for(let se=0;se<q.length;se++){let Pe=q[se];Pe.childNodes[0].getAttribute("aria-selected")==="true"&&Pe.childNodes[0].setAttribute("aria-selected","false")}}function Q(q){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(q):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===_i&&m.searchProvider.onEscape()}function de(q,{keyCode:se}){se===mi&&m.searchProvider.onSearchResultItemSelected(q),se===Vl||se===zi?Z(se):le.isFunction(m.searchProvider.onEscape)&&se===_i&&(j(),setTimeout(()=>{a.focus()}),m.searchProvider.onEscape())}function te(q){let se=q.pathObject;se.externalLink?it.navigateToLink(se):d("handleSearchNavigation",{node:se})}function G(){a&&a.focus()}function Y(){if(b?t(0,r=!1):setTimeout(()=>{G()}),d("toggleSearch",{isSearchFieldVisible:b,inputElem:a,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const q=b===void 0?!0:!b;m.searchProvider.toggleSearch(a,q)}}const X=q=>E(q);function pe(q){Xe[q?"unshift":"push"](()=>{a=q,t(1,a)})}const ne=()=>F(),oe=(q,se)=>Q(q),ve=(q,se)=>de(q,se);function re(q){Xe[q?"unshift":"push"](()=>{c=q,t(3,c)})}function Ee(q){Xe[q?"unshift":"push"](()=>{o=q,t(2,o)})}const He=()=>Y();return i.$$set=q=>{"searchResult"in q&&t(4,l=q.searchResult),"displaySearchResult"in q&&t(0,r=q.displaySearchResult),"inputElem"in q&&t(1,a=q.inputElem),"luigiCustomSearchRenderer__slot"in q&&t(2,o=q.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in q&&t(3,c=q.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in q&&t(21,g=q.globalSearchConfig),"isSearchFieldVisible"in q&&t(5,b=q.isSearchFieldVisible)},[r,a,o,c,l,b,Y,p,m,v,C,n,y,T,V,E,U,F,D,Q,de,g,te,X,pe,ne,oe,ve,re,Ee,He]}class f3 extends Et{constructor(e){super(),At(this,e,u3,r3,It,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:21,isSearchFieldVisible:5,onActionClick:22,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[22]}get toggleSearch(){return this.$$.ctx[6]}}function rg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?d3:c3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function c3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),Ze(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(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 d3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&I(e)}}}function ag(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new xn({props:{node:i[0]}}),{c(){e=S("span"),n=Te(t),l=H(),Me(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Ve(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){z(r.$$.fragment,o),a=!1},d(o){o&&I(e),Oe(r)}}}function h3(i){let e,t,n,l=i[0].icon&&rg(i),r=(!i[0].icon||i[0].showLabel)&&ag(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=rg(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=ag(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){n||(R(r),n=!0)},o(a){z(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function g3(i,e,t){let{node:n}=e;function l(o){return ue.isOpenUIiconName(o.icon)}function r(o){return ue.renderIconClassName(o)}function a(o){return ue.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Uo extends Et{constructor(e){super(),At(this,e,g3,h3,It,{node:0})}}const{Boolean:sp,window:sg}=hl;function og(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function ug(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function _3(i){let e,t;return e=new tp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function p3(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&fg(i);function v(E){i[56](E)}let C={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new DS({props:C}),Xe.push(()=>pt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&cg(i),P=(!i[0]||i[1])&&dg(i),A=(i[18]||i[7]&&i[29].length>0)&&gg(i),T=(i[0]||i[16])&&Ag(i),V=i[12]&&Eg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=H(),Me(l.$$.fragment),a=H(),y&&y.c(),o=H(),c=S("div"),P&&P.c(),g=H(),A&&A.c(),d=H(),T&&T.c(),_=H(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(E,U){L(E,e,U),w(e,t),m&&m.m(t,null),w(t,n),Ve(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),A&&A.m(c,null),w(c,d),T&&T.m(c,null),w(c,_),V&&V.m(c,null),b=!0},p(E,U){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,U):(m=fg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const F={};U[0]&536870912&&(F.pathData=E[29]),U[0]&1073741824&&(F.pathParams=E[30]),U[0]&134217728&&(F.addNavHrefForAnchor=E[27]),!r&&U[0]&64&&(r=!0,F.dropDownStates=E[6],_t(()=>r=!1)),l.$set(F),E[18]&&E[19]?y?(y.p(E,U),U[0]&786432&&R(y,1)):(y=cg(E),y.c(),R(y,1),y.m(e,o)):y&&(ke(),z(y,1,1,()=>{y=null}),Se()),!E[0]||E[1]?P?(P.p(E,U),U[0]&3&&R(P,1)):(P=dg(E),P.c(),R(P,1),P.m(c,g)):P&&(ke(),z(P,1,1,()=>{P=null}),Se()),E[18]||E[7]&&E[29].length>0?A?(A.p(E,U),U[0]&537133184&&R(A,1)):(A=gg(E),A.c(),R(A,1),A.m(c,d)):A&&(ke(),z(A,1,1,()=>{A=null}),Se()),E[0]||E[16]?T?(T.p(E,U),U[0]&65537&&R(T,1)):(T=Ag(E),T.c(),R(T,1),T.m(c,_)):T&&(ke(),z(T,1,1,()=>{T=null}),Se()),E[12]?V?(V.p(E,U),U[0]&4096&&R(V,1)):(V=Eg(E),V.c(),R(V,1),V.m(c,null)):V&&(ke(),z(V,1,1,()=>{V=null}),Se()),(!b||U[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(A),R(T),R(V),b=!0)},o(E){z(l.$$.fragment,E),z(y),z(P),z(A),z(T),z(V),b=!1},d(E){E&&I(e),m&&m.d(),Oe(l),y&&y.d(),P&&P.d(),A&&A.d(),T&&T.d(),V&&V.d()}}}function fg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){L(r,e,a),w(e,t),n||(l=ie(e,"click",i[51]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&I(e),n=!1,l()}}}function cg(i){let e,t,n,l,r,a,o,c;function g(v){i[57](v)}function d(v){i[58](v)}function _(v){i[59](v)}function p(v){i[60](v)}function b(v){i[61](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=i[22]),t=new f3({props:m}),Xe.push(()=>pt(t,"isSearchFieldVisible",g,i[20])),Xe.push(()=>pt(t,"searchResult",d,i[24])),Xe.push(()=>pt(t,"displaySearchResult",_,i[23])),Xe.push(()=>pt(t,"inputElem",p,i[21])),Xe.push(()=>pt(t,"luigiCustomSearchRenderer__slot",b,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=S("div"),Me(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Ve(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],_t(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],_t(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],_t(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],_t(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],_t(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&I(e),Oe(t)}}}function dg(i){let e,t,n,l,r=i[18]&&!i[19]&&hg(i);function a(c){i[73](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new rp({props:o}),Xe.push(()=>pt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[74]),{c(){r&&r.c(),e=H(),Me(t.$$.fragment)},m(c,g){r&&r.m(c,g),L(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=hg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),z(r,1,1,()=>{r=null}),Se());const d={};g[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,d.dropDownStates=c[6],_t(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){z(r),z(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&I(e),Oe(t,c)}}}function hg(i){let e,t,n,l,r,a,o;function c(m){i[65](m)}function g(m){i[66](m)}function d(m){i[67](m)}function _(m){i[68](m)}function p(m){i[69](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[22]),e=new $C({props:b}),Xe.push(()=>pt(e,"isSearchFieldVisible",c,i[20])),Xe.push(()=>pt(e,"searchResult",g,i[24])),Xe.push(()=>pt(e,"displaySearchResult",d,i[23])),Xe.push(()=>pt(e,"inputElem",_,i[21])),Xe.push(()=>pt(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[70]),e.$on("handleSearchNavigation",i[71]),e.$on("closeSearchResult",i[72]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],_t(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],_t(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],_t(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],_t(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.luigiCustomSearchRenderer__slot=m[22],_t(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){z(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function gg(i){let e,t,n,l=i[7]&&i[29].length>0&&_g(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&vg(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=_g(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ke(),z(l,1,1,()=>{l=null}),Se()),a[9]-a[10]>0||a[12]||a[45]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&16384&&R(r,1)):(r=vg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){n||(R(l),R(r),n=!0)},o(a){z(l),z(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function _g(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=bg(ug(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1207960032|o[1]&917584){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=ug(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=bg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(sp);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function pg(i){let e,t,n,l;const r=[b3,m3],a=[];function o(c,g){return c[106].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Ce()},m(c,g){a[e].m(c,g),L(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(ke(),z(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,g):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){z(t),l=!1},d(c){a[e].d(c),c&&I(n)}}}function m3(i){let e,t,n,l,r;const a=[w3,v3],o=[];function c(g,d){return g[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=H(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,d){L(g,e,d),o[t].m(e,null),w(e,l),r=!0},p(g,d){let _=t;t=c(g),t===_?o[t].p(g,d):(ke(),z(o[_],1,1,()=>{o[_]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(e,l))},i(g){r||(R(n),r=!0)},o(g){z(n),r=!1},d(g){g&&I(e),o[t].d()}}}function b3(i){let e=i[106].visibleChildren.filter(Rg).length>0,t,n,l=e&&mg(i);return{c(){l&&l.c(),t=Ce()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(Rg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=mg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ke(),z(l,1,1,()=>{l=null}),Se())},i(r){n||(R(l),n=!0)},o(r){z(l),n=!1},d(r){l&&l.d(r),r&&I(t)}}}function v3(i){let e,t,n,l,r,a,o,c,g,d,_;function p(v){i[79](v,i[106],i[109],i[108])}let b={};i[106]!==void 0&&(b.node=i[106]),t=new Uo({props:b}),Xe.push(()=>pt(t,"node",p,i[106])),r=new Sn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=S("button"),Me(t.$$.fragment),l=H(),Me(r.$$.fragment),f(e,"title",a=i[50](i[106],i[48](i[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=ue.getTestId(i[106]))},m(v,C){L(v,e,C),Ve(t,e,null),w(e,l),Ve(r,e,null),g=!0,d||(_=ie(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[106],_t(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[106]),r.$set(P),(!g||C[0]&128&&a!==(a=i[50](i[106],i[48](i[106]))))&&f(e,"title",a),(!g||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!g||C[0]&128&&c!==(c=ue.getTestId(i[106])))&&f(e,"data-testid",c)},i(v){g||(R(t.$$.fragment,v),R(r.$$.fragment,v),g=!0)},o(v){z(t.$$.fragment,v),z(r.$$.fragment,v),g=!1},d(v){v&&I(e),Oe(t),Oe(r),d=!1,_()}}}function w3(i){let e,t,n,l,r,a,o,c,g,d,_,p;function b(C){i[77](C,i[106],i[109],i[108])}let m={};i[106]!==void 0&&(m.node=i[106]),t=new Uo({props:m}),Xe.push(()=>pt(t,"node",b,i[106])),r=new Sn({props:{node:i[106]}});function v(...C){return i[78](i[106],...C)}return{c(){e=S("a"),Me(t.$$.fragment),l=H(),Me(r.$$.fragment),f(e,"href",a=i[49](i[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[50](i[106],i[48](i[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=ue.getTestId(i[106]))},m(C,y){L(C,e,y),Ve(t,e,null),w(e,l),Ve(r,e,null),d=!0,_||(p=ie(e,"click",v),_=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[106],_t(()=>n=!1)),t.$set(P);const A={};y[0]&128&&(A.node=i[106]),r.$set(A),(!d||y[0]&128&&a!==(a=i[49](i[106])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[50](i[106],i[48](i[106]))))&&f(e,"title",c),(!d||y[0]&128&&g!==(g=ue.getTestId(i[106])))&&f(e,"data-testid",g)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){z(t.$$.fragment,C),z(r.$$.fragment,C),d=!1},d(C){C&&I(e),Oe(t),Oe(r),_=!1,p()}}}function mg(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P,A,T;function V(F){i[75](F,i[106],i[109],i[108])}let E={};i[106]!==void 0&&(E.node=i[106]),r=new Uo({props:E}),Xe.push(()=>pt(r,"node",V,i[106])),c=new Sn({props:{node:i[106]}});function U(){return i[76](i[108])}return v=new ip({props:{node:i[106],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Me(r.$$.fragment),o=H(),Me(c.$$.fragment),b=H(),m=S("div"),Me(v.$$.fragment),y=H(),f(l,"title",g=i[50](i[106],i[48](i[106]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[108]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=ue.getTestId(i[106])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[108]}`]),f(m,"id","dropDownPopover-"+i[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(F,D){L(F,e,D),w(e,t),w(t,n),w(n,l),Ve(r,l,null),w(l,o),Ve(c,l,null),w(t,b),w(t,m),Ve(v,m,null),w(e,y),P=!0,A||(T=[ie(l,"click",U),ie(n,"click",Dt(O3))],A=!0)},p(F,D){i=F;const Z={};!a&&D[0]&128&&(a=!0,Z.node=i[106],_t(()=>a=!1)),r.$set(Z);const j={};D[0]&128&&(j.node=i[106]),c.$set(j),(!P||D[0]&128&&g!==(g=i[50](i[106],i[48](i[106]))))&&f(l,"title",g),(!P||D[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||D[0]&64&&_!==(_=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",_),(!P||D[0]&128&&p!==(p=ue.getTestId(i[106])))&&f(l,"data-testid",p);const Q={};D[0]&128&&(Q.node=i[106]),D[0]&1073741824&&(Q.pathParams=i[30]),D[0]&134217728&&(Q.addNavHrefForAnchor=i[27]),v.$set(Q),(!P||D[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",C)},i(F){P||(R(r.$$.fragment,F),R(c.$$.fragment,F),R(v.$$.fragment,F),P=!0)},o(F){z(r.$$.fragment,F),z(c.$$.fragment,F),z(v.$$.fragment,F),P=!1},d(F){F&&I(e),Oe(r),Oe(c),Oe(v),A=!1,Qe(T)}}}function bg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&pg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=pg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function vg(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P,A,T,V,E,U,F;g=new Sn({props:{node:i[11],special:"true"}});let D=i[18]&&!i[19]&&wg(i),Z=i[45]&&(!i[0]||i[1])&&kg(i),j=i[7]&&Sg(i),Q=i[12]&&Ng(i),de=i[12]&&Ig(i),te=i[14]&&Tg(i),G=(!i[0]||i[1])&&Lg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=H(),Me(g.$$.fragment),_=H(),p=S("div"),b=S("nav"),m=S("ul"),D&&D.c(),v=H(),Z&&Z.c(),C=H(),j&&j.c(),y=H(),Q&&Q.c(),A=H(),de&&de.c(),T=H(),te&&te.c(),V=H(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(Y,X){L(Y,e,X),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,_),w(n,p),w(p,b),w(b,m),D&&D.m(m,null),w(m,v),Z&&Z.m(m,null),w(m,C),j&&j.m(m,null),w(m,y),Q&&Q.m(m,null),w(n,A),de&&de.m(n,null),w(n,T),te&&te.m(n,null),w(n,V),G&&G.m(n,null),E=!0,U||(F=[ie(a,"click",i[81]),ie(l,"click",Dt(M3))],U=!0)},p(Y,X){const pe={};X[0]&2048&&(pe.node=Y[11]),g.$set(pe),(!E||X[0]&64&&d!==(d=Y[6].overflowPopover||!1))&&f(a,"aria-expanded",d),Y[18]&&!Y[19]?D?D.p(Y,X):(D=wg(Y),D.c(),D.m(m,v)):D&&(D.d(1),D=null),Y[45]&&(!Y[0]||Y[1])?Z?Z.p(Y,X):(Z=kg(Y),Z.c(),Z.m(m,C)):Z&&(Z.d(1),Z=null),Y[7]?j?(j.p(Y,X),X[0]&128&&R(j,1)):(j=Sg(Y),j.c(),R(j,1),j.m(m,y)):j&&(ke(),z(j,1,1,()=>{j=null}),Se()),Y[12]?Q?Q.p(Y,X):(Q=Ng(Y),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!E||X[0]&64&&P!==(P=!Y[6].overflowPopover))&&f(p,"aria-hidden",P),Y[12]?de?(de.p(Y,X),X[0]&4096&&R(de,1)):(de=Ig(Y),de.c(),R(de,1),de.m(n,T)):de&&(ke(),z(de,1,1,()=>{de=null}),Se()),Y[14]?te?(te.p(Y,X),X[0]&16384&&R(te,1)):(te=Tg(Y),te.c(),R(te,1),te.m(n,V)):te&&(ke(),z(te,1,1,()=>{te=null}),Se()),!Y[0]||Y[1]?G?(G.p(Y,X),X[0]&3&&R(G,1)):(G=Lg(Y),G.c(),R(G,1),G.m(n,null)):G&&(ke(),z(G,1,1,()=>{G=null}),Se())},i(Y){E||(R(g.$$.fragment,Y),R(j),R(de),R(te),R(G),E=!0)},o(Y){z(g.$$.fragment,Y),z(j),z(de),z(te),z(G),E=!1},d(Y){Y&&I(e),Oe(g),D&&D.d(),Z&&Z.d(),j&&j.d(),Q&&Q.d(),de&&de.d(),te&&te.d(),G&&G.d(),U=!1,Qe(F)}}}function wg(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
|
|
58
|
-
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),n||(l=ie(t,"click",Dt(i[82])),n=!0)},p:Be,d(r){r&&I(e),n=!1,l()}}}function kg(i){let e,t,n,l,r,a,o=(i[43]?i[43]:i[44])+"",c,g,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=H(),a=S("span"),c=Te(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){L(_,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),g||(d=ie(t,"click",Dt(i[32])),g=!0)},p(_,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(_[45].icon&&_[47](_[45])?_[46](_[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&12288&&o!==(o=(_[43]?_[43]:_[44])+"")&&Le(c,o)},d(_){_&&I(e),g=!1,d()}}}function Sg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Pg(og(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&1015828){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=og(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Pg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(sp);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Cg(i){let e,t,n,l,r;const a=[S3,k3],o=[];function c(g,d){return d[0]&128&&(e=null),g[106].isCat?(e==null&&(e=g[106].visibleChildren.filter(V3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=Ce()},m(g,d){~t&&o[t].m(g,d),L(g,l,d),r=!0},p(g,d){let _=t;t=c(g,d),t===_?~t&&o[t].p(g,d):(n&&(ke(),z(o[_],1,1,()=>{o[_]=null}),Se()),~t?(n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(R(n),r=!0)},o(g){z(n),r=!1},d(g){~t&&o[t].d(g),g&&I(l)}}}function k3(i){let e,t,n,l,r,a,o,c,g=i[48](i[106])+"",d,_,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?y3:C3}let P=y(i,[-1,-1,-1,-1]),A=P(i);a=new Sn({props:{node:i[106]}});function T(){return i[84](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),A.c(),r=H(),Me(a.$$.fragment),o=H(),c=S("span"),d=Te(g),b=H(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",_=i[49](i[106])),f(t,"title",p=i[50](i[106],i[48](i[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),A.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ie(t,"click",Nt(T)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&A?A.p(i,E):(A.d(1),A=P(i),A&&(A.c(),A.m(n,r)));const U={};E[0]&128&&(U.node=i[106]),a.$set(U),(!m||E[0]&128)&&g!==(g=i[48](i[106])+"")&&Le(d,g),(!m||E[0]&128&&_!==(_=i[49](i[106])))&&f(t,"href",_),(!m||E[0]&128&&p!==(p=i[50](i[106],i[48](i[106]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){z(a.$$.fragment,V),m=!1},d(V){V&&I(e),A.d(),Oe(a),v=!1,C()}}}function S3(i){let e,t,n,l=!i[47](i[106]),r,a,o,c,g,d=i[48](i[106])+"",_,p,b,m,v,C,y,P,A=l&&yg(i);a=new Sn({props:{node:i[106]}});function T(){return i[83](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),A&&A.c(),r=H(),Me(a.$$.fragment),c=H(),g=S("span"),_=Te(d),v=H(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"),f(g,"class","fd-menu__title"),f(t,"href",p=i[49](i[106])),f(t,"class",b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")),f(t,"data-testid",m=ue.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),A&&A.m(n,null),w(n,r),Ve(a,n,null),w(t,c),w(t,g),w(g,_),w(e,v),C=!0,y||(P=ie(t,"click",Nt(T)),y=!0)},p(V,E){i=V,E[0]&128&&(l=!i[47](i[106])),l?A?A.p(i,E):(A=yg(i),A.c(),A.m(n,r)):A&&(A.d(1),A=null);const U={};E[0]&128&&(U.node=i[106]),a.$set(U),(!C||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||E[0]&128)&&d!==(d=i[48](i[106])+"")&&Le(_,d),(!C||E[0]&128&&p!==(p=i[49](i[106])))&&f(t,"href",p),(!C||E[0]&384&&b!==(b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||E[0]&128&&m!==(m=ue.getTestId(i[106])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){z(a.$$.fragment,V),C=!1},d(V){V&&I(e),A&&A.d(),Oe(a),y=!1,P()}}}function C3(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!Ze(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function y3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&I(e)}}}function yg(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!Ze(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function Pg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Cg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Cg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ng(i){let e,t,n,l,r,a=i[13].label+"",o,c,g;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[47](b[13])||!b[13].icon)),n?N3:P3}let _=d(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=S("li"),t=S("a"),p.c(),l=H(),r=S("span"),o=Te(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=ie(t,"click",Dt(i[31])),c=!0)},p(b,m){_===(_=d(b,m))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&I(e),p.d(),c=!1,g()}}}function P3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(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 N3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&I(e)}}}function Ig(i){let e,t,n;function l(a){i[85](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new ap({props:r}),Xe.push(()=>pt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[86]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],_t(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){z(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function Tg(i){let e,t;return e=new ip({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Lg(i){let e,t,n,l,r;function a(d){i[87](d)}function o(d){i[88](d)}function c(d){i[89](d)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new rp({props:g}),Xe.push(()=>pt(e,"dropDownStates",a,i[6])),Xe.push(()=>pt(e,"selectedLabel",o,i[43])),Xe.push(()=>pt(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){Me(e.$$.fragment)},m(d,_){Ve(e,d,_),r=!0},p(d,_){const p={};_[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&_[0]&64&&(t=!0,p.dropDownStates=d[6],_t(()=>t=!1)),!n&&_[1]&4096&&(n=!0,p.selectedLabel=d[43],_t(()=>n=!1)),!l&&_[1]&8192&&(l=!0,p.defaultLabel=d[44],_t(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){z(e.$$.fragment,d),r=!1},d(d){Oe(e,d)}}}function Ag(i){let e,t,n,l,r;const a=[T3,I3],o=[];function c(g,d){return d[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,d){L(g,e,d),o[n].m(e,null),r=!0},p(g,d){let _=n;n=c(g,d),n===_?o[n].p(g,d):(ke(),z(o[_],1,1,()=>{o[_]=null}),Se(),l=o[n],l?l.p(g,d):(l=o[n]=a[n](g),l.c()),R(l,1),l.m(e,null))},i(g){r||(R(l),r=!0)},o(g){z(l),r=!1},d(g){g&&I(e),o[n].d()}}}function I3(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v;function C(A,T){return A[17].picture?A3:L3}let y=C(i),P=y(i);return _=new tp({props:{addNavHrefForAnchor:i[27]}}),_.$on("toggleDropdownState",i[95]),_.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),g=H(),d=S("div"),Me(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-p1ljc7")},m(A,T){L(A,e,T),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,d),Ve(_,d,null),b=!0,m||(v=[ie(r,"click",i[94]),ie(n,"click",Dt(U3))],m=!0)},p(A,T){y===(y=C(A))&&P?P.p(A,T):(P.d(1),P=y(A),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&a!==(a=A[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||T[0]&131072&&o!==(o=A[17].name?A[17].name:void 0))&&f(r,"title",o),(!b||T[0]&131072&&c!==(c=A[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};T[0]&134217728&&(V.addNavHrefForAnchor=A[27]),_.$set(V),(!b||T[0]&64&&p!==(p=!A[6].profilePopover))&&f(d,"aria-hidden",p)},i(A){b||(R(_.$$.fragment,A),b=!0)},o(A){z(_.$$.fragment,A),b=!1},d(A){A&&I(e),P.d(),Oe(_),m=!1,Qe(v)}}}function T3(i){let e,t,n,l,r,a,o,c,g;function d(b,m){return b[17].picture?R3:E3}let _=d(i),p=_(i);return r=new WS({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[93]),r.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),p.c(),n=H(),l=S("div"),Me(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Ve(r,l,null),o=!0,c||(g=ie(t,"click",Dt(F3)),c=!0)},p(b,m){_===(_=d(b))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){z(r.$$.fragment,b),o=!1},d(b){b&&I(e),p.d(),Oe(r),c=!1,g()}}}function L3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){L(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&I(e)}}}function A3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),An(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&An(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&I(e)}}}function E3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Te(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,n),r||(a=ie(e,"click",i[92]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Le(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&I(e),r=!1,a()}}}function R3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),An(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),n||(l=ie(e,"click",i[91]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&An(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&I(e),n=!1,l()}}}function Eg(i){let e,t,n;function l(a){i[96](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new ap({props:r}),Xe.push(()=>pt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[97]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],_t(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){z(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function D3(i){let e,t,n,l,r,a;const o=[p3,_3],c=[];function g(d,_){return d[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,_){c[e].m(d,_),L(d,n,_),l=!0,r||(a=[ie(sg,"click",i[40]),ie(sg,"blur",i[40])],r=!0)},p(d,_){let p=e;e=g(d),e===p?c[e].p(d,_):(ke(),z(c[p],1,1,()=>{c[p]=null}),Se(),t=c[e],t?t.p(d,_):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){z(t),l=!1},d(d){c[e].d(d),d&&I(n),r=!1,Qe(a)}}}const V3=i=>!i.hideFromNav&&i.label,Rg=i=>!i.hideFromNav&&i.label,O3=()=>{},M3=()=>{},F3=()=>{},U3=()=>{};function z3(i,e,t){const n=Wt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:d}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:A}=e,{isProductSwitcherAvailable:T}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:E}=e,{nodeForMobile:U}=e,{profileItemsAvailable:F}=e,{userInfo:D={}}=e,{globalSearchConfig:Z}=e,{isGlobalSearchCentered:j}=e,{isSearchFieldVisible:Q}=e,{inputElem:de}=e,{luigiCustomSearchRenderer__slot:te}=e,{displaySearchResult:G}=e,{searchResult:Y}=e,{burgerTooltip:X}=e,{responsiveShellbarPadding:pe}=e,ne=mt("store"),oe=!1,ve,re,Ee=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:He=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const q=async()=>{if(_&&0<_.length){const J=await ue.generateTopNavNodes(_);t(7,v=J.children),t(8,C=J.selectedNode),t(9,y=J.visibleNodeCount),t(11,A=J.totalBadgeNode),t(10,P=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=_}},se=()=>{t(1,a=fl.isLoggedIn())};Qt(()=>{un.doOnStoreChange(ne,()=>{t(0,l=gi.isAuthorizationEnabled()),t(16,F=ae.getConfigValue("navigation.profile")),t(52,r=!ae.getConfigValue("auth.disableAutoLogin")),t(12,T=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,g=ae.getConfigValue("settings.profileType")),t(26,pe=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=ue.getProductSwitcherConfig()),t(18,Z=ae.getConfigValue("globalSearch")),t(19,j=Z&&Z.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,He=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Ee=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),un.doOnStoreChange(ne,()=>{q()},["navigation.viewgroupdata"]),En.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&q()})}),Hn(()=>{(!p||p!=_)&&q(),se()});let{showTopNav:Pe}=e;function $e(J){return ue.renderIconClassName(J)}function Fe(J){return ue.isOpenUIiconName(J.icon)}const _e=J=>ue.getNodeLabel(J);function Ke(J){return we.getNodeHref(J,b)}function at(J,Tt){return ue.generateTooltipText(J,Tt)}function qt(){gt("productSwitcherPopover")}function bt(){t(42,oe=!oe),gt("contextSwitcherPopover")}function Vt(J){t(14,E=!0),t(15,U=J)}function Wn(){t(14,E=!1)}function Ut(J){n("handleClick",{node:J})}function mn(J){n("handleSearchNavigation",{node:J})}function Bi(J){Ut(J.detail.node)}function gt(J){const Tt=m||{},dn=!Tt[J];Hi(),Wn(),Tt[J]=dn,t(6,m=Tt)}function Zt(J){gt(J.detail.name)}function Rn(){de&&de.focus()}function ei(){Q||setTimeout(()=>{Rn()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:de,luigiCustomSearchRenderer__slot:te})}function Hi(){const J=m||{},Tt=Object.keys(J);Tt&&Tt.length>0&&Tt.forEach(dn=>{J[dn]=!1,t(6,m=J)})}function nn(){c==="simple"||c==="simpleMobileOnly"?qn():Gt(),bn()}function bn(){if(!ue.getBurgerTooltipConfig())return;const[J,Tt]=ue.getBurgerTooltipConfig();J&&Tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,X=document.body.classList.contains("lui-leftNavToggle")?J:Tt),document.body.classList.contains("lui-semiCollapsible")&&t(25,X=document.body.classList.contains("semiCollapsed")?J:Tt))}function qn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function Gt(){hi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function Cn(J){const Tt=J.detail;t(17,D=Tt||{})}function vi(J){m=J,t(6,m)}function wi(J){Q=J,t(20,Q)}function fn(J){Y=J,t(24,Y)}function ki(J){G=J,t(23,G)}function Si(J){de=J,t(21,de)}function Ci(J){te=J,t(22,te)}function yi(J){Rl.call(this,i,J)}function Pi(J){Rl.call(this,i,J)}function gl(J){Rl.call(this,i,J)}function _l(J){Q=J,t(20,Q)}function pl(J){Y=J,t(24,Y)}function Ni(J){G=J,t(23,G)}function Wi(J){de=J,t(21,de)}function qi(J){te=J,t(22,te)}function oi(J){Rl.call(this,i,J)}function ml(J){Rl.call(this,i,J)}function bl(J){Rl.call(this,i,J)}function Gi(J){m=J,t(6,m)}const $=()=>gt("contextSwitcherPopover");function Ne(J,Tt,dn,ti){dn[ti]=J,t(7,v)}const tt=J=>gt(`dropDownPopover-${J}`);function ut(J,Tt,dn,ti){dn[ti]=J,t(7,v)}const Ct=(J,Tt)=>{ue.handleNavAnchorClickedWithoutMetaKey(Tt)&&Ut(J)};function jt(J,Tt,dn,ti){dn[ti]=J,t(7,v)}const cn=J=>Ut(J),Gn=()=>gt("overflowPopover"),Dn=()=>{ei(),gt("overflowPopover")},Ml=J=>Ut(J),Fl=J=>Vt(J);function Ul(J){m=J,t(6,m)}const gr=()=>gt("productSwitcherPopover");function yn(J){m=J,t(6,m)}function Ki(J){ve=J,t(43,ve)}function vl(J){re=J,t(44,re)}const zl=()=>gt("contextSwitcherPopover"),_r=()=>gt("profilePopover"),ji=()=>gt("profilePopover"),wl=()=>gt("profilePopover"),kl=()=>gt("profilePopover"),ui=()=>gt("profilePopover");function Bl(J){m=J,t(6,m)}const Ii=()=>gt("productSwitcherPopover"),pr=()=>gt("profilePopover");return i.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(52,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,a=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,c=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,g=J.profileTypeSettings),"showGlobalNav"in J&&t(5,d=J.showGlobalNav),"pathData"in J&&t(29,_=J.pathData),"pathParams"in J&&t(30,b=J.pathParams),"dropDownStates"in J&&t(6,m=J.dropDownStates),"children"in J&&t(7,v=J.children),"selectedNode"in J&&t(8,C=J.selectedNode),"visibleNodeCount"in J&&t(9,y=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,P=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,A=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,T=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,V=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,E=J.openMobileDropDown),"nodeForMobile"in J&&t(15,U=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,F=J.profileItemsAvailable),"userInfo"in J&&t(17,D=J.userInfo),"globalSearchConfig"in J&&t(18,Z=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,j=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,Q=J.isSearchFieldVisible),"inputElem"in J&&t(21,de=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,te=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,G=J.displaySearchResult),"searchResult"in J&&t(24,Y=J.searchResult),"burgerTooltip"in J&&t(25,X=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(26,pe=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(27,He=J.addNavHrefForAnchor),"showTopNav"in J&&t(28,Pe=J.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,Pe=l&&(!r||a)||!l)},[l,a,o,c,g,d,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de,te,G,Y,X,pe,He,Pe,_,b,qt,bt,Vt,Wn,Ut,Bi,gt,Zt,ei,Hi,Cn,oe,ve,re,Ee,$e,Fe,_e,Ke,at,nn,r,mn,qn,Gt,vi,wi,fn,ki,Si,Ci,yi,Pi,gl,_l,pl,Ni,Wi,qi,oi,ml,bl,Gi,$,Ne,tt,ut,Ct,jt,cn,Gn,Dn,Ml,Fl,Ul,gr,yn,Ki,vl,zl,_r,ji,wl,kl,ui,Bl,Ii,pr]}class op extends Et{constructor(e){super(),At(this,e,z3,D3,It,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function Dg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function B3(i){let e,t=i[0]&&Dg();return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Dg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function H3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=we.mapPathToNode(it.getCurrentPath(),n),a=await Rt.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 Qt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");ur.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class W3 extends Et{constructor(e){super(),At(this,e,H3,B3,It,{node:0})}}const{window:To}=hl;function Vg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Og(i,e,t){const n=i.slice();return n[43]=e[t],n}function Mg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Fg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Ug(i,e,t){const n=i.slice();return n[43]=e[t],n}function zg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Bg(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&Hg(i),A=Object.entries(i[0]),T=[];for(let D=0;D<A.length;D+=1)T[D]=Yg(Fg(i,A,D));const V=D=>z(T[D],1,1,()=>{T[D]=null});let E=Object.entries(i[0]),U=[];for(let D=0;D<E.length;D+=1)U[D]=$g(Vg(i,E,D));const F=D=>z(U[D],1,1,()=>{U[D]=null});return{c(){e=S("div"),P&&P.c(),t=H(),n=S("nav"),l=S("div"),r=S("div");for(let D=0;D<T.length;D+=1)T[D].c();a=H(),o=S("div"),c=S("span"),g=S("div"),d=S("a"),d.innerHTML=`<span class="label fd-tabs__tag svelte-1ioiggc">More</span>
|
|
59
|
-
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-1ioiggc"></span>`,_=H(),p=S("div"),b=S("ul");for(let D=0;D<U.length;D+=1)U[D].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-1ioiggc"),f(l,"class","tabsContainerWrapper svelte-1ioiggc"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-1ioiggc"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1ioiggc"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-1ioiggc"),f(p,"aria-hidden",m=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-1ioiggc"),f(o,"class","luigi-tabsMoreButton svelte-1ioiggc"),f(n,"class","fd-tabs fd-tabs--l svelte-1ioiggc"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-1ioiggc"),f(e,"id","tabsContainer")},m(D,Z){L(D,e,Z),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let j=0;j<T.length;j+=1)T[j].m(r,null);w(n,a),w(n,o),w(o,c),w(c,g),w(g,d),w(g,_),w(g,p),w(p,b);for(let j=0;j<U.length;j+=1)U[j].m(b,null);v=!0,C||(y=[ie(d,"click",Nt(i[10])),ie(c,"click",Z3),ie(n,"toggleDropdownState",i[26])],C=!0)},p(D,Z){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?P?(P.p(D,Z),Z[0]&2048&&R(P,1)):(P=Hg(D),P.c(),R(P,1),P.m(e,t)):P&&(ke(),z(P,1,1,()=>{P=null}),Se()),Z[0]&53485){A=Object.entries(D[0]);let j;for(j=0;j<A.length;j+=1){const Q=Fg(D,A,j);T[j]?(T[j].p(Q,Z),R(T[j],1)):(T[j]=Yg(Q),T[j].c(),R(T[j],1),T[j].m(r,null))}for(ke(),j=A.length;j<T.length;j+=1)V(j);Se()}if(Z[0]&53485){E=Object.entries(D[0]);let j;for(j=0;j<E.length;j+=1){const Q=Vg(D,E,j);U[j]?(U[j].p(Q,Z),R(U[j],1)):(U[j]=$g(Q),U[j].c(),R(U[j],1),U[j].m(b,null))}for(ke(),j=E.length;j<U.length;j+=1)F(j);Se()}(!v||Z[0]&16&&m!==(m=!D[4]))&&f(p,"aria-hidden",m)},i(D){if(!v){R(P);for(let Z=0;Z<A.length;Z+=1)R(T[Z]);for(let Z=0;Z<E.length;Z+=1)R(U[Z]);v=!0}},o(D){z(P),T=T.filter(Boolean);for(let Z=0;Z<T.length;Z+=1)z(T[Z]);U=U.filter(Boolean);for(let Z=0;Z<U.length;Z+=1)z(U[Z]);v=!1},d(D){D&&I(e),P&&P.d(),ct(T,D),ct(U,D),C=!1,Qe(y)}}}function Hg(i){let e,t;return e=new W3({props:{node:i[11].parent}}),{c(){Me(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){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function q3(i){let e,t,n,l,r,a=i[12](i[39])+"",o,c,g,d,_,p,b,m,v,C,y,P,A,T;function V(){return i[20](i[39])}let E=i[40],U=[];for(let D=0;D<E.length;D+=1)U[D]=Gg(Ug(i,E,D));const F=D=>z(U[D],1,1,()=>{U[D]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("span"),o=Te(a),c=H(),g=S("span"),_=H(),p=S("div"),b=S("nav"),m=S("ul");for(let D=0;D<U.length;D+=1)U[D].c();C=H(),f(r,"class","label fd-tabs__tag svelte-1ioiggc"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-1ioiggc"),f(l,"class","fd-tabs__link has-child svelte-1ioiggc"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=or(i[39],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow svelte-1ioiggc"),f(p,"aria-hidden",v=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-1ioiggc"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=or(i[39],i[2]))},m(D,Z){L(D,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,b),w(b,m);for(let j=0;j<U.length;j+=1)U[j].m(m,null);w(e,C),P=!0,A||(T=[ie(l,"click",Nt(V)),ie(e,"click",Q3)],A=!0)},p(D,Z){if(i=D,(!P||Z[0]&4097)&&a!==(a=i[12](i[39])+"")&&Le(o,a),(!P||Z[0]&5&&d!==(d=or(i[39],i[2])))&&f(l,"aria-selected",d),Z[0]&49221){E=i[40];let j;for(j=0;j<E.length;j+=1){const Q=Ug(i,E,j);U[j]?(U[j].p(Q,Z),R(U[j],1)):(U[j]=Gg(Q),U[j].c(),R(U[j],1),U[j].m(m,null))}for(ke(),j=E.length;j<U.length;j+=1)F(j);Se()}(!P||Z[0]&9&&v!==(v=!i[3][i[39]]))&&f(p,"aria-hidden",v),(!P||Z[0]&5&&y!==(y=or(i[39],i[2])))&&f(e,"isselected",y)},i(D){if(!P){for(let Z=0;Z<E.length;Z+=1)R(U[Z]);P=!0}},o(D){U=U.filter(Boolean);for(let Z=0;Z<U.length;Z+=1)z(U[Z]);P=!1},d(D){D&&I(e),ct(U,D),A=!1,Qe(T)}}}function G3(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=Jg(zg(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const g=zg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Jg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Wg(i){let e,t,n=i[43].label&&qg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=qg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function qg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,_,p,b,m;o=new xn({props:{node:i[43]}});function v(){return i[21](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Me(o.$$.fragment),_=H(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"data-testid",g=ue.getTestId(i[43])),f(t,"aria-selected",d=i[43]===i[2]),f(e,"class","fd-menu__item")},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,_),p=!0,b||(m=ie(t,"click",Nt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[43]),o.$set(P),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=ue.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[43]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){z(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function Gg(i){let e,t,n=!i[43].hideFromNav&&Wg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Wg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Kg(i){let e,t,n=i[43].label&&jg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=jg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function jg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,_,p,b,m,v,C;o=new xn({props:{node:i[43]}});function y(){return i[19](i[43])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Te(l),a=H(),Me(o.$$.fragment),_=H(),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,"data-testid",g=ue.getTestId(i[43])),f(t,"aria-selected",d=i[43]===i[2]),f(e,"class",p="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-1ioiggc"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",b=i[43]===i[2])},m(P,A){L(P,e,A),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,_),m=!0,v||(C=ie(t,"click",Nt(y)),v=!0)},p(P,A){i=P,(!m||A[0]&1)&&l!==(l=i[14](i[43])+"")&&Le(r,l);const T={};A[0]&1&&(T.node=i[43]),o.$set(T),(!m||A[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!m||A[0]&1&&g!==(g=ue.getTestId(i[43])))&&f(t,"data-testid",g),(!m||A[0]&5&&d!==(d=i[43]===i[2]))&&f(t,"aria-selected",d),(!m||A[0]&5&&p!==(p="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-1ioiggc"))&&f(e,"class",p),(!m||A[0]&5&&b!==(b=i[43]===i[2]))&&f(e,"isselected",b)},i(P){m||(R(o.$$.fragment,P),m=!0)},o(P){z(o.$$.fragment,P),m=!1},d(P){P&&I(e),Oe(o),v=!1,C()}}}function Jg(i){let e,t,n=!i[43].hideFromNav&&Kg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Kg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Yg(i){let e,t,n,l,r,a;const o=[G3,q3],c=[];function g(d,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(Y3).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=g(d,_),n===p?~n&&c[n].p(d,_):(l&&(ke(),z(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){z(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function K3(i){let e,t,n,l,r=i[12](i[39])+"",a,o,c,g,d,_,p,b,m,v,C,y,P,A,T;function V(){return i[23](i[39],i[42])}function E(){return i[24](i[39],i[42])}let U=i[40],F=[];for(let Z=0;Z<U.length;Z+=1)F[Z]=Zg(Og(i,U,Z));const D=Z=>z(F[Z],1,1,()=>{F[Z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Te(r),g=H(),d=S("button"),_=S("i"),m=H(),v=S("ul");for(let Z=0;Z<F.length;Z+=1)F[Z].c();y=H(),f(l,"class","fd-nested-list__title svelte-1ioiggc"),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=or(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-1ioiggc"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(Z,j){L(Z,e,j),w(e,t),w(t,n),w(n,l),w(l,a),w(t,g),w(t,d),w(d,_),w(e,m),w(e,v);for(let Q=0;Q<F.length;Q+=1)F[Q].m(v,null);w(e,y),P=!0,A||(T=[ie(n,"click",Nt(V)),ie(d,"click",Nt(E))],A=!0)},p(Z,j){if(i=Z,(!P||j[0]&4097)&&r!==(r=i[12](i[39])+"")&&Le(a,r),(!P||j[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||j[0]&5&&c!==(c=or(i[39],i[2])))&&f(n,"aria-selected",c),(!P||j[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!P||j[0]&9&&b!==(b=i[3][i[39]+i[42]]))&&f(d,"aria-expanded",b),j[0]&49221){U=i[40];let Q;for(Q=0;Q<U.length;Q+=1){const de=Og(i,U,Q);F[Q]?(F[Q].p(de,j),R(F[Q],1)):(F[Q]=Zg(de),F[Q].c(),R(F[Q],1),F[Q].m(v,null))}for(ke(),Q=U.length;Q<F.length;Q+=1)D(Q);Se()}(!P||j[0]&9&&C!==(C=!i[3][i[39]+i[42]]))&&f(v,"aria-hidden",C)},i(Z){if(!P){for(let j=0;j<U.length;j+=1)R(F[j]);P=!0}},o(Z){F=F.filter(Boolean);for(let j=0;j<F.length;j+=1)z(F[j]);P=!1},d(Z){Z&&I(e),ct(F,Z),A=!1,Qe(T)}}}function j3(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=Xg(Mg(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const g=Mg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Xg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Qg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,_,p,b,m;o=new xn({props:{node:i[43]}});function v(){return i[25](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Me(o.$$.fragment),_=H(),f(n,"class","fd-nested-list__title svelte-1ioiggc"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"data-testid",g=ue.getTestId(i[43])),f(t,"aria-selected",d=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,_),p=!0,b||(m=ie(t,"click",Nt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[43]),o.$set(P),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=ue.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[43]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){z(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function Zg(i){let e,t,n=i[43].label&&Qg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Qg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(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,a,o,c,g,d,_,p,b,m;o=new xn({props:{node:i[43]}});function v(){return i[22](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Me(o.$$.fragment),_=H(),f(n,"class","fd-nested-list__title svelte-1ioiggc"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",g=ue.getTestId(i[43])),f(t,"aria-selected",d=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,_),p=!0,b||(m=ie(t,"click",Nt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[43]),o.$set(P),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=ue.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[43]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){z(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function $g(i){let e,t,n,l,r;const a=[j3,K3],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=Ce()},m(g,d){o[t].m(g,d),L(g,l,d),r=!0},p(g,d){let _=t;t=c(g,d),t===_?o[t].p(g,d):(ke(),z(o[_],1,1,()=>{o[_]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l))},i(g){r||(R(n),r=!0)},o(g){z(n),r=!1},d(g){o[t].d(g),g&&I(l)}}}function J3(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Bg(i);return{c(){r&&r.c(),e=Ce()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[ie(To,"click",i[8]),ie(To,"blur",i[8]),ie(To,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=Bg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){t||(R(r),t=!0)},o(a){z(r),t=!1},d(a){r&&r.d(a),a&&I(e),n=!1,Qe(l)}}}function or(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const Y3=i=>!i.hideFromNav&&i.label,Q3=i=>i.stopPropagation(),Z3=i=>i.stopPropagation();function X3(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ue.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:m}=e,v,C=mt("getTranslation");bi(i,C,q=>t(12,n=q));let y=mt("store"),P;const A={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:d,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:q=>{q&&Object.getOwnPropertyNames(q).forEach(se=>{se==="pathData"?t(1,r=q.pathData):se==="context"?context=q.context:se==="children"?t(0,l=q.children):se==="selectedNode"?t(11,d=q.selectedNode):se==="selectedNodeForTabNav"&&t(2,_=q.selectedNodeForTabNav)})}},T=Wt();function V(q){return ue.getNodeLabel(q)}const E=async()=>{const q=A.get(),se=await Rt.getTabNavData({...q},q);se&&(A.set({...se}),o=r,window.LEFTNAVDATA=se.groupedChildren,setTimeout(U))},U=()=>{F();let q=document.getElementsByClassName("luigi-tabsContainer")[0],se=document.getElementsByClassName("luigi-tabsMoreButton")[0],Pe=document.getElementsByClassName("luigi__more")[0],$e,Fe=0,_e=!1,Ke,at;Pe&&Pe.setAttribute("aria-selected","false"),q&&($e=q.offsetWidth,[...q.children].forEach(bt=>{Ke=bt.currentStyle||window.getComputedStyle(bt),at=parseFloat(Ke.marginLeft)+parseFloat(Ke.marginRight),Fe+=bt.offsetWidth+at;let Vt=bt.getAttribute("uid");Fe>=$e?(bt.classList.add("hide_element"),bt.getAttribute("isSelected")==="true"&&Pe.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Vt+'"]').classList.remove("hide_element"),_e=!0):document.querySelector('li[uid="'+Vt+'"]').classList.add("hide_element")}),_e?se.classList.remove("hide_element"):se.classList.add("hide_element"))},F=()=>{let q=document.getElementsByClassName("luigi-tabsContainer")[0];q!==void 0&&[...q.children].forEach(Pe=>{Pe.classList.remove("hide_element")})},D=()=>{P=new ResizeObserver(q=>{for(const se of q)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",se.contentRect.height+"px")}),setTimeout(()=>{const q=document.querySelector("#tabsContainer.lui-tabs");q&&P.observe(q)})},Z=()=>{P&&P.disconnect()};Qt(()=>{t(16,c=ae.getConfigBooleanValue("settings.hideNavigation")),D(),un.doOnStoreChange(y,()=>{E()},["navigation.viewgroupdata"])}),Jr(()=>{Z(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Hn(()=>{(!o||o!=r)&&E(),(v===void 0||v!==m)&&(v=m,E())}),jr(()=>{Z(),P?setTimeout(()=>{const q=document.querySelector("#tabsContainer.lui-tabs");q&&P.observe(q)}):D()});function j(q){return we.getNodeHref(q,a)}function Q(q){te(),T("handleClick",{node:q})}function de(q){let se={};p[q]||(se[q]=!0),t(3,p=se)}function te(){t(3,p={}),t(4,b=!1)}function G(){F(),U()}function Y(){t(4,b=!b)}const X=q=>Q(q),pe=q=>de(q),ne=q=>Q(q),oe=q=>Q(q),ve=(q,se)=>de(q+se),re=(q,se)=>de(q+se),Ee=q=>Q(q),He=q=>de(q.name);return i.$$set=q=>{"children"in q&&t(0,l=q.children),"pathData"in q&&t(1,r=q.pathData),"pathParams"in q&&t(17,a=q.pathParams),"hideNavComponent"in q&&t(16,c=q.hideNavComponent),"virtualGroupPrefix"in q&&t(5,g=q.virtualGroupPrefix),"selectedNodeForTabNav"in q&&t(2,_=q.selectedNodeForTabNav),"dropDownStates"in q&&t(3,p=q.dropDownStates),"isMoreBtnExpanded"in q&&t(4,b=q.isMoreBtnExpanded),"resizeTabNavToggle"in q&&t(18,m=q.resizeTabNavToggle)},[l,r,_,p,b,g,Q,de,te,G,Y,d,n,C,V,j,c,a,m,X,pe,ne,oe,ve,re,Ee,He]}class up extends Et{constructor(e){super(),At(this,e,X3,J3,It,{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 xg(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function e_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function t_(i){let e,t,n,l,r,a=i[0]&&i[3].length>0&&n_(i),o=i[0]&&i[3].length>0&&a_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=H(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-u7mfvs"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-u7mfvs"),f(e,"class","lui-globalnav svelte-u7mfvs")},m(c,g){L(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=n_(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=a_(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 n_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=r_(e_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=e_(l,t,a);n[a]?n[a].p(o,r):(n[a]=r_(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),ct(n,l)}}}function i_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,_,p,b,m,v,C,y=i[23].icon&&l_(i);function P(...A){return i[17](i[23],...A)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=H(),r=S("div"),o=Te(a),c=H(),g=S("div"),p=H(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",_=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=ue.getTestId(i[23]))},m(A,T){L(A,e,T),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),v||(C=ie(t,"click",P),v=!0)},p(A,T){i=A,i[23].icon?y?y.p(i,T):(y=l_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),T&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),T&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),T&129&&_!==(_=i[7](i[23].label))&&f(t,"title",_),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),T&1&&m!==(m=ue.getTestId(i[23]))&&f(e,"data-testid",m)},d(A){A&&I(e),y&&y.d(),v=!1,C()}}}function l_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?x3:$3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function $3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Ze(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function x3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&I(e)}}}function r_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&i_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=i_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function a_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=u_(xg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=xg(l,t,a);n[a]?n[a].p(o,r):(n[a]=u_(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),ct(n,l)}}}function s_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,_,p,b,m,v,C,y=i[23].icon&&o_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=H(),r=S("div"),o=Te(a),c=H(),g=S("div"),p=H(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",_=i[7](i[23].label)),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=ue.getTestId(i[23]))},m(A,T){L(A,e,T),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),v||(C=ie(n,"click",Nt(P)),v=!0)},p(A,T){i=A,i[23].icon?y?y.p(i,T):(y=o_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),T&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),T&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),T&129&&_!==(_=i[7](i[23].label))&&f(t,"title",_),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),T&1&&m!==(m=ue.getTestId(i[23]))&&f(e,"data-testid",m)},d(A){A&&I(e),y&&y.d(),v=!1,C()}}}function o_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?t8:e8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function e8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Ze(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function t8(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&I(e)}}}function u_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&s_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=s_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function n8(i){let e,t,n,l=i[2]&&t_(i);return{c(){l&&l.c(),e=Ce()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[ie(window,"click",fs),ie(window,"blur",fs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=t_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Be,o:Be,d(r){l&&l.d(r),r&&I(e),t=!1,Qe(n)}}}function fs(){}function i8(i,e,t){let n;const l=Wt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,d=mt("store"),_=mt("getTranslation");bi(i,_,D=>t(7,n=D));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const D=await ue.generateTopNavNodes(r);t(0,c=D.children),t(1,g=D.selectedNode),a=r}};Qt(()=>{un.doOnStoreChange(d,()=>{t(13,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(14,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!(ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Hn(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(D){return ue.renderIconClassName(D)}function P(D){return ue.isOpenUIiconName(D.icon)}function A(D){return wt.getTranslation(D.label)}function T(D){return we.getNodeHref(D,o)}function V(D){l("handleClick",{node:D})}function E(D){V(D.detail.node)}const U=(D,Z)=>{ue.handleNavAnchorClickedWithoutMetaKey(Z)&&V(D)},F=D=>V(D);return i.$$set=D=>{"pathData"in D&&t(3,r=D.pathData),"pathParams"in D&&t(15,o=D.pathParams),"children"in D&&t(0,c=D.children),"selectedNode"in D&&t(1,g=D.selectedNode),"showGlobalNav"in D&&t(2,p=D.showGlobalNav),"hideNavComponent"in D&&t(13,b=D.hideNavComponent),"responsiveNavSetting"in D&&t(14,m=D.responsiveNavSetting)},[c,g,p,r,V,fs,v,n,_,y,P,A,T,b,m,o,E,U,F]}class l8 extends Et{constructor(e){super(),At(this,e,i8,n8,It,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return fs}}function r8(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){L(t,e,n),i[4](e)},p:Be,i:Be,o:Be,d(t){t&&I(e),i[4](null)}}}function a8(i,e,t){const n=Wt();let{pathData:l}=e,r,a={},o,c=mt("store"),{showBreadcrumb:g}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},_=v=>{v.last||b(v.node)};Qt(()=>{un.doOnStoreChange(c,()=>{},["navigation"])}),Hn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=ae.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!v),g&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,g=!1):C.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=it.getCurrentPath();for(let A=y;A<l.length;A++){const T=l[A],V=we.mapPathToNode(P,T);if(a[V])C.push(a[V]);else if(T.label||T.pathSegment||T.titleResolver)if(document.body.classList.add("lui-breadcrumb"),T.titleResolver)C.push({label:T.titleResolver.prerenderFallback&&T.titleResolver.fallbackTitle?wt.getTranslation(T.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:T,route:V,pending:!0});else{const E=await p(T);E&&C.push({label:E,node:T,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,_),C=[];for(let A=y;A<l.length;A++){const T=l[A],V=we.mapPathToNode(P,T);if(T.titleResolver){const U=await Rt.extractDataFromPath(V),F=we.substituteDynamicParamsInObject(Object.assign({},U.pathData.context,T.context),U.pathData.pathParams);try{const D=await ue.fetchNodeTitleData(T,F);C.push({label:D.label,node:T,route:V});continue}catch{}}const E=await p(T);E&&C.push({label:E,node:T,route:V})}P===it.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,_)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(A=>{a[A.route]=A}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return wt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=we.mapPathToNode(it.getCurrentPath(),v),y=await Rt.extractDataFromPath(C);return we.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Xe[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,g=v.showBreadcrumb)},[o,g,l,b,m]}class fp extends Et{constructor(e){super(),At(this,e,a8,r8,It,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Vo="not_checked";En.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Vo="disabled"):i.data==="luigi.tpcEnabled"&&(Vo="enabled")},!1);function s8(){return Vo}const{Boolean:o8,window:f_}=hl;function c_(i,e,t){const n=i.slice();return n[153]=e[t],n[155]=t,n}function d_(i){let e,t;return e=new ek({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[36]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function h_(i){let e,t;function n(){return i[69](i[155])}function l(...a){return i[70](i[155],...a)}function r(...a){return i[71](i[155],...a)}return e=new Z_({props:{settings:i[153].mfModal.settings,nodepath:i[153].mfModal.nodepath,modalIndex:i[155],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&134217728&&(c.settings=i[153].mfModal.settings),o[0]&134217728&&(c.nodepath=i[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){z(e.$$.fragment,a),t=!1},d(a){Oe(e,a)}}}function g_(i){let e,t,n=i[153].mfModal.displayed&&h_(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[153].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&R(n,1)):(n=h_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function __(i){let e,t;return e=new Z_({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[u8]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[5]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function u8(i){let e,t;return e=new Ol({props:{area:"drawer",disable:i[12]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function p_(i){let e,t;return e=new rk({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function m_(i){let e,t,n;function l(a){i[74](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new kk({props:r}),Xe.push(()=>pt(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],_t(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){z(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function f8(i){let e,t,n,l,r,a,o,c;e=new Ol({props:{disable:i[12],$$slots:{default:[d8]},$$scope:{ctx:i}}});let g=i[10]&&v_(),d=!i[24]&&w_(i),_=!i[20]&&k_(i),p=!(i[20]||i[21])&&C_(i),b=i[15]&&!i[20]&&y_(i);return{c(){Me(e.$$.fragment),t=H(),g&&g.c(),n=H(),d&&d.c(),l=H(),_&&_.c(),r=H(),p&&p.c(),a=H(),b&&b.c(),o=Ce()},m(m,v){Ve(e,m,v),L(m,t,v),g&&g.m(m,v),L(m,n,v),d&&d.m(m,v),L(m,l,v),_&&_.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?g||(g=v_(),g.c(),g.m(n.parentNode,n)):g&&(g.d(1),g=null),m[24]?d&&(ke(),z(d,1,1,()=>{d=null}),Se()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=w_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?_&&(ke(),z(_,1,1,()=>{_=null}),Se()):_?(_.p(m,v),v[0]&1048576&&R(_,1)):(_=k_(m),_.c(),R(_,1),_.m(r.parentNode,r)),m[20]||m[21]?p&&(ke(),z(p,1,1,()=>{p=null}),Se()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=C_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=y_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ke(),z(b,1,1,()=>{b=null}),Se())},i(m){c||(R(e.$$.fragment,m),R(d),R(_),R(p),R(b),c=!0)},o(m){z(e.$$.fragment,m),z(d),z(_),z(p),z(b),c=!1},d(m){Oe(e,m),m&&I(t),g&&g.d(m),m&&I(n),d&&d.d(m),m&&I(l),_&&_.d(m),m&&I(r),p&&p.d(m),m&&I(a),b&&b.d(m),m&&I(o)}}}function c8(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m=!i[24]&&P_(i),v=!(i[20]||i[21])&&N_(i),C=i[19]&&I_(i);_=new Ol({props:{disable:i[12],$$slots:{default:[h8]},$$scope:{ctx:i}}});let y=i[10]&&A_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=H(),a=S("div"),v&&v.c(),o=H(),c=S("div"),C&&C.c(),g=H(),d=S("div"),Me(_.$$.fragment),p=H(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1omtujb"),f(c,"class","fd-tool-layout__content-container svelte-1omtujb"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1omtujb"),f(e,"class","lui-core-layout svelte-1omtujb")},m(P,A){L(P,e,A),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),C&&C.m(c,null),w(c,g),w(c,d),Ve(_,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,A){P[24]?m&&(ke(),z(m,1,1,()=>{m=null}),Se()):m?(m.p(P,A),A[0]&16777216&&R(m,1)):(m=P_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(ke(),z(v,1,1,()=>{v=null}),Se()):v?(v.p(P,A),A[0]&3145728&&R(v,1)):(v=N_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,A),A[0]&524288&&R(C,1)):(C=I_(P),C.c(),R(C,1),C.m(c,g)):C&&(ke(),z(C,1,1,()=>{C=null}),Se());const T={};A[0]&4096&&(T.disable=P[12]),A[0]&1177600|A[5]&2&&(T.$$scope={dirty:A,ctx:P}),_.$set(T),P[10]?y||(y=A_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(_.$$.fragment,P),b=!0)},o(P){z(m),z(v),z(C),z(_.$$.fragment,P),b=!1},d(P){P&&I(e),m&&m.d(),v&&v.d(),C&&C.d(),Oe(_),y&&y.d()}}}function b_(i){let e,t;return e=new $_({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function d8(i){let e,t,n,l,r,a,o,c,g;t=new Ol({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&b_(i);return{c(){e=S("div"),Me(t.$$.fragment),n=H(),l=S("div"),r=H(),d&&d.c(),a=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),f(e,"tabindex","0"),Ht(e,"lui-split-view",i[11].displayed),Ht(e,"lui-collapsed",i[11].collapsed)},m(_,p){L(_,e,p),Ve(t,e,null),w(e,n),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(g=F_(i[45].call(null,e)),c=!0)},p(_,p){const b={};p[0]&4096&&(b.disable=_[12]),t.$set(b),(!o||p[0]&2048)&&Ht(e,"lui-split-view",_[11].displayed),(!o||p[0]&2048)&&Ht(e,"lui-collapsed",_[11].collapsed),_[11].displayed?d?(d.p(_,p),p[0]&2048&&R(d,1)):(d=b_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ke(),z(d,1,1,()=>{d=null}),Se())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){z(t.$$.fragment,_),z(d),o=!1},d(_){_&&I(e),Oe(t),_&&I(r),d&&d.d(_),_&&I(a),c=!1,g()}}}function v_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
57
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function Dh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Vh(Ih(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=Ce()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);L(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Ih(l,t,a);n[a]?n[a].p(o,r):(n[a]=Vh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ct(n,l),l&&I(e)}}}function sC(i){return{c:Be,m:Be,p:Be,d:Be}}function oC(i){let e,t,n,l,r;function a(d,_){return d[2]?fC:uC}let o=a(i),c=o(i);function g(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=H(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=ue.getTestId(i[20]))},m(d,_){L(d,e,_),c.m(e,null),L(d,n,_),l||(r=ie(e,"click",g),l=!0)},p(d,_){i=d,o===(o=a(i))&&c?c.p(i,_):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),_&8&&t!==(t=ue.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&I(e),c.d(),d&&I(n),l=!1,r()}}}function uC(i){let e,t,n=i[25]+"",l,r,a,o,c,g;return{c(){e=S("a"),t=S("span"),l=Te(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,_){L(d,e,_),w(e,t),w(t,l),c||(g=ie(e,"click",i[15]),c=!0)},p(d,_){_&138&&n!==(n=d[25]+"")&&Le(l,n),_&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),_&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),_&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&I(e),c=!1,g()}}}function fC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function cC(i){return{c:Be,m:Be,p:Be,d:Be}}function Vh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:cC,then:oC,catch:sC,value:25};return is(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=Ce(),n.block.c()},m(l,r){L(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&is(t,n)||U_(n,i,r)},d(l){l&&I(e),n.block.d(l),n.token=null,n=null}}}function Mh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Fh(Nh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Nh(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),ct(n,l)}}}function Oh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,g,d;function _(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),o=H(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=ue.getTestId(i[20]))},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),g||(d=[ie(t,"click",i[17]),ie(e,"click",_)],g=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=ue.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&I(e),g=!1,Qe(d)}}}function Fh(i){let e,t=i[20].position==="bottom"&&Oh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Oh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function dC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Lh(i),c=i[3]&&i[3].length===0&&i[10]&&Rh(),g=i[3]&&i[3].length&&Dh(i),d=i[0]&&i[0].length&&Mh(i);return{c(){e=S("nav"),o&&o.c(),t=H(),n=S("ul"),c&&c.c(),l=H(),g&&g.c(),r=H(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(_,p){L(_,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(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=Lh(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[10]?c||(c=Rh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?g?g.p(_,p):(g=Dh(_),g.c(),g.m(n,null)):g&&(g.d(1),g=null),_[0]&&_[0].length?d?d.p(_,p):(d=Mh(_),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:Be,o:Be,d(_){_&&I(e),o&&o.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}const hC=()=>{};function gC(i,e,t){let n,l=Be,r=()=>(l(),l=Mo(v,D=>t(13,n=D)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:g=[]}=e,{selectedLabel:d}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Wt();function P(D){y("onActionClick",{node:D})}function A(D,Z){y("goToOption",{option:D,selectedOption:Z})}const T=D=>P(D),V=D=>{ue.handleNavAnchorClickedWithoutMetaKey(D)},E=D=>A(D,_),U=D=>{ue.handleNavAnchorClickedWithoutMetaKey(D)},F=D=>P(D);return i.$$set=D=>{"actions"in D&&t(0,a=D.actions),"config"in D&&t(1,o=D.config),"customOptionsRenderer"in D&&t(2,c=D.customOptionsRenderer),"options"in D&&t(3,g=D.options),"selectedLabel"in D&&t(4,d=D.selectedLabel),"selectedOption"in D&&t(5,_=D.selectedOption),"isMobile"in D&&t(6,p=D.isMobile),"getNodeName"in D&&t(7,b=D.getNodeName),"getRouteLink"in D&&t(8,m=D.getRouteLink),"getTranslation"in D&&r(t(9,v=D.getTranslation)),"isContextSwitcherDropdownShown"in D&&t(10,C=D.isContextSwitcherDropdownShown)},[a,o,c,g,d,_,p,b,m,v,C,P,A,n,T,V,E,U,F]}class lp extends Et{constructor(e){super(),At(this,e,gC,dC,It,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Uh(i){let e,t,n,l=!i[9]&&zh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Bh(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[9]?l&&(ke(),z(l,1,1,()=>{l=null}),Se()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=zh(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=Bh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){n||(R(l),R(r),n=!0)},o(a){z(l),z(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function zh(i){let e,t,n,l,r,a,o,c,g,d;function _(m,v){return m[10]&&m[2]!==m[5].defaultLabel?pC:_C}let p=_(i),b=p(i);return a=new lp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=H(),r=S("div"),Ue(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,g||(d=ie(n,"click",Dt(NC)),g=!0)},p(m,v){p===(p=_(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){z(a.$$.fragment,m),c=!1},d(m){m&&I(e),b.d(),Oe(a),g=!1,d()}}}function _C(i){let e,t,n,l,r,a;function o(d,_){return d[2]&&d[7]?bC:mC}let c=o(i),g=c(i);return{c(){e=S("button"),g.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,_){L(d,e,_),g.m(e,null),r||(a=ie(e,"click",i[29]),r=!0)},p(d,_){c===(c=o(d))&&g?g.p(d,_):(g.d(1),g=c(d),g&&(g.c(),g.m(e,null))),_[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),_[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&I(e),g.d(),r=!1,a()}}}function pC(i){let e,t,n,l,r,a,o;function c(_,p){return _[2]&&_[7]?SC:kC}let g=c(i),d=g(i);return{c(){e=S("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(_,p){L(_,e,p),d.m(e,null),a||(o=ie(e,"click",Nt(i[28])),a=!0)},p(_,p){g===(g=c(_))&&d?d.p(_,p):(d.d(1),d=g(_),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=_[2]?_[19](_[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=_[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=_[4]?_[4]:_[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!_[15])&&f(e,"aria-disabled",r)},d(_){_&&I(e),d.d(),a=!1,o()}}}function mC(i){let e,t;function n(a,o){return a[4]?vC:wC}let l=n(i),r=l(i);return{c(){r.c(),e=H(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&I(e),a&&I(t)}}}function bC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(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=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function wC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&I(t)}}}function kC(i){let e,t;function n(a,o){return a[4]?CC:yC}let l=n(i),r=l(i);return{c(){r.c(),e=H(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&I(e),a&&I(t)}}}function SC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(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 CC(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function yC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&I(t)}}}function Bh(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P,A=!i[4]&&Hh(i),T=i[4]&&Wh(i);return d=new lp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),A&&A.c(),o=H(),T&&T.c(),c=H(),g=S("div"),Ue(d.$$.fragment),_=H(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),A&&A.m(a,null),w(a,o),T&&T.m(a,null),w(t,c),w(t,g),Me(d,g,null),w(t,_),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ie(v,"click",i[13]),ie(e,"click",Dt(IC))],y=!0)},p(V,E){V[4]?A&&(A.d(1),A=null):A?A.p(V,E):(A=Hh(V),A.c(),A.m(a,o)),V[4]?T?T.p(V,E):(T=Wh(V),T.c(),T.m(a,null)):T&&(T.d(1),T=null);const U={};E[0]&1&&(U.actions=V[0]),E[0]&32&&(U.config=V[5]),E[0]&64&&(U.customOptionsRenderer=V[6]),E[0]&2&&(U.options=V[1]),E[0]&16&&(U.selectedLabel=V[4]),E[0]&4&&(U.selectedOption=V[2]),E[0]&512&&(U.isMobile=V[9]),E[0]&16384&&(U.isContextSwitcherDropdownShown=V[14]),d.$set(U)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){z(d.$$.fragment,V),C=!1},d(V){V&&I(e),A&&A.d(),T&&T.d(),Oe(d),y=!1,Qe(P)}}}function Hh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(n,l){L(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&I(t)}}}function Wh(i){let e;return{c(){e=Te(i[4])},m(t,n){L(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function PC(i){let e,t,n=i[3]&&Uh(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Uh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}const NC=()=>{},IC=()=>{};function TC(i,e,t){let n,l;const r=Wt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:g={}}=e,{actions:d=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:A=!1}=e,{defaultLabel:T}=e,V,E=mt("getUnsavedChangesModalPromise"),U=mt("store"),F=mt("getTranslation");bi(i,F,re=>t(16,l=re));let D=!1,{addNavHrefForAnchor:Z}=e,j;Qt(async()=>{un.doOnStoreChange(U,async()=>{const re=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=le.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=le.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,g=re),t(1,_=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ee=it.getCurrentPath();t(20,m=re.fallbackLabelResolver),pn.resetFallbackLabelCache(),re.lazyloadOptions||await te(),pn.isContextSwitcherDetailsView(Ee,re.parentNodePath)&&await G(Ee)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(re=>G(re)),En.addEventListener("message",re=>{Ae.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),te())}),t(21,T=g.defaultLabel)}),Hn(()=>{D!==A&&(D=A,te()),t(14,j=o.contextSwitcherPopover||!1)});function Q(re,Ee,He){return re?Promise.resolve(re):pn.getFallbackLabel(Ee,He)}function de(re){return we.getNodeHref(re,v)}async function te(){t(1,_=await pn.fetchOptions(_));const re=g||{},Ee=re.parentNodePath,He=re.fallbackLabelResolver,q=it.getCurrentPath();t(2,b=await pn.getSelectedOption(q,_,Ee)),t(4,c=await pn.getSelectedLabel(q,_,Ee,He)),await pn.getSelectedNode(q,_,Ee),V=re.preserveSubPathOnSwitch}async function G(re){const Ee=g||{},He=Ee.parentNodePath,q=Ee.fallbackLabelResolver;t(2,b=await pn.getSelectedOption(re,_,He)),t(4,c=await pn.getSelectedLabel(re,_,He,q)),await pn.getSelectedNode(re,_,He)}async function Y(re){let Ee=re.detail.node;Ee.clickHandler&&!await Ee.clickHandler(Ee)||(setTimeout(()=>{X(Ee.link)}),P&&r("toggleDropdownState"))}function X(re){E().then(()=>{it.navigateTo(re)},()=>{})}function pe(re){let Ee=re.detail.option,He=re.detail.selectedOption;E().then(()=>{V&&He?it.navigateTo(pn.getNodePathFromCurrentPath(Ee,He)):it.navigateTo(Ee.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&te()}const oe=()=>{n&&ne()},ve=()=>{n&&ne()};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,_=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,A=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,T=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,Z=re.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||_&&_.length>1||!b)},[d,_,b,a,c,g,C,y,o,P,Z,Y,pe,ne,j,n,l,F,Q,de,m,T,v,A,te,G,X,p,oe,ve]}class rp extends Et{constructor(e){super(),At(this,e,TC,PC,It,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:LC}=hl;function qh(i,e,t){const n=i.slice();return n[22]=e[t],n}function Gh(i){let e,t,n,l=!i[2]&&Kh(i),r=i[2]&&i[3].productSwitcherPopover&&Zh(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=Kh(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=Zh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){n||(R(r),n=!0)},o(a){z(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function Kh(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y;function P(U,F){return F&2&&(a=null),a==null&&(a=!!U[11](U[1])),a?EC:AC}let A=P(i,-1),T=A(i),V=i[0],E=[];for(let U=0;U<V.length;U+=1)E[U]=Qh(qh(i,V,U));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),T.c(),d=H(),_=S("div"),p=S("div"),b=S("ul");for(let U=0;U<E.length;U+=1)E[U].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",g=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=$n(i[9])+" svelte-156h3yc"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",v=!i[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(U,F){L(U,e,F),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(n,d),w(n,_),w(_,p),w(p,b);for(let D=0;D<E.length;D+=1)E[D].m(b,null);C||(y=[ie(r,"click",Dt(i[7])),ie(l,"click",Dt(zC))],C=!0)},p(U,F){if(A===(A=P(U,F))&&T?T.p(U,F):(T.d(1),T=A(U),T&&(T.c(),T.m(r,null))),F&8&&o!==(o=U[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),F&2&&c!==(c=U[1].label)&&f(r,"title",c),F&2&&g!==(g=U[14](U[1]))&&f(r,"data-testid",g),F&64561){V=U[0];let D;for(D=0;D<V.length;D+=1){const Z=qh(U,V,D);E[D]?E[D].p(Z,F):(E[D]=Qh(Z),E[D].c(),E[D].m(b,null))}for(;D<E.length;D+=1)E[D].d(1);E.length=V.length}F&512&&m!==(m=$n(U[9])+" svelte-156h3yc")&&f(p,"class",m),F&8&&v!==(v=!U[3].productSwitcherPopover)&&f(_,"aria-hidden",v)},d(U){U&&I(e),T.d(),ct(E,U),C=!1,Qe(y)}}}function AC(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!Ze(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 EC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){L(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&I(e)}}}function jh(i){let e,t,n,l,r,a;function o(_,p){return _[4]?DC:RC}let c=o(i),g=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),g.c(),t=H(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(_,p){L(_,e,p),g.m(e,null),w(e,t),r||(a=ie(e,"click",d),r=!0)},p(_,p){i=_,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(_){_&&I(e),g.d(),r=!1,a()}}}function RC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,g=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?MC:VC}let _=d(i,-1),p=_(i),b=g&&Jh(i);return{c(){e=S("div"),p.c(),n=H(),l=S("div"),r=S("div"),o=Te(a),c=H(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,n,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){_===(_=d(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(g=m[13](m[22])),g?b?b.p(m,v):(b=Jh(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&I(e),p.d(),m&&I(n),m&&I(l),b&&b.d()}}}function DC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,g,d=i[13](i[22]),_,p,b;function m(P,A){return A&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?FC:OC}let v=m(i,-1),C=v(i),y=d&&Yh(i);return{c(){e=S("a"),t=S("div"),C.c(),l=H(),r=S("div"),a=S("div"),c=Te(o),g=H(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",_=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,A){L(P,e,A),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,g),y&&y.m(r,null),p||(b=ie(e,"click",i[16]),p=!0)},p(P,A){v===(v=m(P,A))&&C?C.p(P,A):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),A&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),A&1&&(d=P[13](P[22])),d?y?y.p(P,A):(y=Yh(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),A&1&&_!==(_=P[15](P[22]))&&f(e,"href",_)},d(P){P&&I(e),C.d(),y&&y.d(),p=!1,b()}}}function VC(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(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 MC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&I(e)}}}function Jh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&I(e)}}}function OC(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(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 FC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&I(e)}}}function Yh(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&I(e)}}}function Qh(i){let e,t=i[22].label&&jh(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=jh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function Zh(i){let e,t;return e=new np({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function UC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&Gh(i);return{c(){a&&a.c(),t=Ce()},m(o,c){a&&a.m(o,c),L(o,t,c),n=!0,l||(r=ie(LC,"resize",us),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=Gh(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),z(a,1,1,()=>{a=null}),Se())},i(o){n||(R(a),n=!0)},o(o){z(a),n=!1},d(o){a&&a.d(o),o&&I(t),l=!1,r()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const zC=()=>{};function BC(i,e,t){const n=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=mt("store"),g=mt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:_}=e;Qt(async()=>{un.doOnStoreChange(c,async()=>{t(1,a=ue.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),A()),us()},["navigation.productSwitcher"])});function p(F){g().then(()=>{it.navigateToLink(F)},()=>{}),m()}function b(F){p(F.detail)}function m(){n("toggleDropdownState")}function v(F){return ue.renderIconClassName(F)}function C(F){return ue.isOpenUIiconName(F.icon)}function y(F){return wt.getTranslation(F.label)}function P(F){return wt.getTranslation(F.subTitle)}function A(){ue.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function T(F){return F.testId?F.testId:ue.prepareForTests(F.label)}function V(F){return we.getNodeHref(F)}const E=F=>{ue.handleNavAnchorClickedWithoutMetaKey(F)},U=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,_=F.addNavHrefForAnchor)},[l,a,r,o,_,p,b,m,us,d,v,C,y,P,T,V,E,U]}class ap extends Et{constructor(e){super(),At(this,e,BC,UC,It,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return us}}function Xh(i,e,t){const n=i.slice();return n[30]=e[t],n[32]=t,n}function HC(i){let e,t,n;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){L(l,e,r),i[18](e),e.focus(),t||(n=ie(e,"keyup",i[17]),t=!0)},p:Be,d(l){l&&I(e),i[18](null),t=!1,n()}}}function WC(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){L(t,e,n),e.focus()},p:Be,d(t){t&&I(e)}}}function qC(i){let e;return{c(){e=S("div")},m(t,n){L(t,e,n),i[22](e)},p:Be,d(t){t&&I(e),i[22](null)}}}function GC(i){let e,t,n,l=i[5]&&$h(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=$h(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 $h(i){let e,t=i[5],n=[];for(let l=0;l<t.length;l+=1)n[l]=xh(Xh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[21](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=Xh(l,t,a);n[a]?n[a].p(o,r):(n[a]=xh(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),ct(n,l),i[21](null)}}}function KC(i){let e,t=i[10](i[30],i[3],i[32])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function jC(i){let e,t,n,l=i[30].label+"",r,a,o,c=i[30].description+"",g,d,_;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Te(l),a=H(),o=S("div"),g=Te(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(_=ie(e,"click",Nt(YC)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[30].label+"")&&Le(r,l),b[0]&32&&c!==(c=p[30].description+"")&&Le(g,c)},d(p){p&&I(e),d=!1,_()}}}function xh(i){let e,t,n,l;function r(d,_){return d[9]?KC:jC}let a=r(i),o=a(i);function c(...d){return i[19](i[30],...d)}function g(...d){return i[20](i[30],...d)}return{c(){e=S("li"),o.c(),t=H(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[32]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),n||(l=[ie(e,"click",c),ie(e,"keyup",g)],n=!0)},p(d,_){i=d,a===(a=r(i))&&o?o.p(i,_):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&I(e),o.d(),n=!1,Qe(l)}}}function JC(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y;function P(F,D){return F[7]&&F[7].disableInputHandlers?WC:HC}let A=P(i),T=A(i);function V(F,D){return F[8]?qC:GC}let E=V(i),U=E(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),T.c(),r=H(),a=S("div"),o=H(),U.c(),d=H(),_=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(n,"aria-hidden",c=!i[4]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",g="fd-shellbar__action "+(i[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[4]),f(b,"data-testid","luigi-search-btn-desktop"),f(_,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(F,D){L(F,e,D),w(e,t),w(t,n),w(n,l),T.m(l,null),w(l,r),w(l,a),w(n,o),U.m(n,null),L(F,d,D),L(F,_,D),w(_,p),w(p,b),w(b,m),C||(y=[ie(window,"click",i[11]),ie(window,"blur",i[11]),ie(n,"click",Dt(QC)),ie(b,"click",i[6]),ie(p,"click",Dt(ZC))],C=!0)},p(F,D){A===(A=P(F))&&T?T.p(F,D):(T.d(1),T=A(F),T&&(T.c(),T.m(l,r))),E===(E=V(F))&&U?U.p(F,D):(U.d(1),U=E(F),U&&(U.c(),U.m(n,null))),D[0]&16&&c!==(c=!F[4])&&f(n,"aria-hidden",c),D[0]&16&&g!==(g="fd-shellbar__action "+(F[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",g),D[0]&16&&v!==(v=!F[4])&&f(b,"aria-expanded",v)},i:Be,o:Be,d(F){F&&I(e),T.d(),U.d(),F&&I(d),F&&I(_),C=!1,Qe(y)}}}const YC=()=>{},QC=()=>{},ZC=()=>{};function XC(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Wt(),_={fireItemSelected:X=>{p.searchProvider.onSearchResultItemSelected(X)}};let p={},b,m;Qt(async()=>{t(7,p=g);let X=a;const pe=C(p.searchProvider);pe&&(X.placeholder=pe),v()}),Hn(()=>{t(7,p=g),v()});function v(){p.searchProvider&&(t(8,b=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function C(X){if(!X||!X.inputPlaceholder)return;const pe=wt.getCurrentLocale();if(le.isFunction(X.inputPlaceholder))return X.inputPlaceholder();if(typeof X.inputPlaceholder=="string"){const ne=wt.getTranslation(X.inputPlaceholder);return ne&&ne.trim().length>0?ne:X.inputPlaceholder}if(typeof X.inputPlaceholder=="object")return X.inputPlaceholder[pe]}function y(X,pe,ne){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(X,pe.children[ne],_)}),""}function P(){d("closeSearchResult")}function A({keyCode:X}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&X===mi?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&X===_i?p.searchProvider.onEscape():X===zi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(X){let pe=c.children;if(pe)for(let ne=0;ne<pe.length;ne++){let{childNodes:oe,nextSibling:ve,previousSibling:re}=pe[ne],Ee;if(oe[0].getAttribute("aria-selected")==="true"){X===zi&&(Ee=ve!==null?ve:pe[0]),X===Vl&&(Ee=re!==null?re:pe[pe.length-1]),oe[0].setAttribute("aria-selected","false"),Ee.childNodes[0].setAttribute("aria-selected","true"),Ee.focus();break}}}function V(){let X=c.children;if(X)for(let pe=0;pe<X.length;pe++){let ne=X[pe];ne.childNodes[0].getAttribute("aria-selected")==="true"&&ne.childNodes[0].setAttribute("aria-selected","false")}}function E(X){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(X):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===_i&&p.searchProvider.onEscape()}function U(X,{keyCode:pe}){pe===mi&&p.searchProvider.onSearchResultItemSelected(X),pe===Vl||pe===zi?T(pe):le.isFunction(p.searchProvider.onEscape)&&pe===_i&&(V(),setTimeout(()=>{a.focus()}),p.searchProvider.onEscape())}function F(X){let pe=X.pathObject;pe.externalLink?it.navigateToLink(pe):d("handleSearchNavigation",{node:pe})}function D(){a&&a.focus()}function Z(){if(n?t(0,r=!1):setTimeout(()=>{D()}),d("toggleSearch",{isSearchFieldVisible:n,inputElem:a,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const X=n===void 0?!0:!n;p.searchProvider.toggleSearch(a,X)}}const j=X=>A(X);function Q(X){Xe[X?"unshift":"push"](()=>{a=X,t(1,a)})}const de=(X,pe)=>E(X),te=(X,pe)=>U(X,pe);function G(X){Xe[X?"unshift":"push"](()=>{c=X,t(3,c)})}function Y(X){Xe[X?"unshift":"push"](()=>{o=X,t(2,o)})}return i.$$set=X=>{"isSearchFieldVisible"in X&&t(4,n=X.isSearchFieldVisible),"searchResult"in X&&t(5,l=X.searchResult),"displaySearchResult"in X&&t(0,r=X.displaySearchResult),"inputElem"in X&&t(1,a=X.inputElem),"luigiCustomSearchRenderer__slot"in X&&t(2,o=X.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in X&&t(3,c=X.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in X&&t(15,g=X.globalSearchConfig)},[r,a,o,c,n,l,Z,p,b,m,y,P,A,E,U,g,F,j,Q,de,te,G,Y]}class $C extends Et{constructor(e){super(),At(this,e,XC,JC,It,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function eg(i,e,t){const n=i.slice();return n[39]=e[t],n[41]=t,n}function xC(i){let e,t,n,l,r,a,o,c,g,d,_;return{c(){e=S("input"),t=H(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=H(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=H(),g=S("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-qeg9jv"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(g,"class","fd-shellbar__search-field-helper")},m(p,b){L(p,e,b),i[24](e),L(p,t,b),L(p,n,b),w(n,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(p,g,b),d||(_=[ie(e,"keyup",i[23]),ie(e,"input",i[25]),ie(l,"click",i[18]),ie(o,"click",i[16])],d=!0)},p:Be,d(p){p&&I(e),i[24](null),p&&I(t),p&&I(n),p&&I(r),p&&I(a),p&&I(c),p&&I(g),d=!1,Qe(_)}}}function e3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){L(t,e,n)},p:Be,d(t){t&&I(e)}}}function t3(i){let e;return{c(){e=S("div")},m(t,n){L(t,e,n),i[29](e)},p:Be,d(t){t&&I(e),i[29](null)}}}function n3(i){let e,t,n,l=i[4]&&tg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-qeg9jv"),f(e,"aria-hidden",n=!i[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=tg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&n!==(n=!r[0])&&f(e,"aria-hidden",n)},d(r){r&&I(e),l&&l.d()}}}function tg(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ng(eg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[28](e)},p(l,r){if(r[0]&1582104){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=eg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ng(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&I(e),ct(n,l),i[28](null)}}}function i3(i){let e,t=i[13](i[39],i[3],i[41])+"",n;return{c(){e=new hr(!1),n=Ce(),e.a=n},m(l,r){e.m(t,l,r),L(l,n,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&I(n),l&&e.d()}}}function l3(i){let e,t,n,l=i[39].label+"",r,a,o,c=i[39].description+"",g,d,_;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Te(l),a=H(),o=S("div"),g=Te(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,g),d||(_=ie(e,"click",Nt(a3)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[39].label+"")&&Le(r,l),b[0]&16&&c!==(c=p[39].description+"")&&Le(g,c)},d(p){p&&I(e),d=!1,_()}}}function ng(i){let e,t,n,l;function r(d,_){return d[10]?i3:l3}let a=r(i),o=a(i);function c(...d){return i[26](i[39],...d)}function g(...d){return i[27](i[39],...d)}return{c(){e=S("li"),o.c(),t=H(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[41]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),n||(l=[ie(e,"click",c),ie(e,"keyup",g)],n=!0)},p(d,_){i=d,a===(a=r(i))&&o?o.p(i,_):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&I(e),o.d(),n=!1,Qe(l)}}}function ig(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-qeg9jv")},m(c,g){L(c,e,g),w(e,t),w(t,n),w(n,l),a||(o=[ie(n,"click",i[6]),ie(t,"click",Dt(o3))],a=!0)},p(c,g){g[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&I(e),a=!1,Qe(o)}}}function lg(i){let e,t,n=i[11](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Te(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(g,d){L(g,e,d),w(e,t),w(t,l),o||(c=ie(t,"click",Dt(i[30])),o=!0)},p(g,d){d[0]&2176&&n!==(n=g[11](g[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!g[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(g[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(g){g&&I(e),o=!1,c()}}}function r3(i){let e,t,n,l,r,a,o,c,g,d,_,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?e3:xC}let m=b(i),v=m(i);function C(V,E){return V[9]?t3:n3}let y=C(i),P=y(i),A=!i[5]&&ig(i),T=i[5]&&lg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=H(),P.c(),c=H(),A&&A.c(),g=H(),T&&T.c(),d=Ce(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,E){L(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),L(V,c,E),A&&A.m(V,E),L(V,g,E),T&&T.m(V,E),L(V,d,E),_||(p=[ie(window,"click",i[14]),ie(window,"blur",i[14]),ie(n,"click",Dt(s3))],_=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?A&&(A.d(1),A=null):A?A.p(V,E):(A=ig(V),A.c(),A.m(g.parentNode,g)),V[5]?T?T.p(V,E):(T=lg(V),T.c(),T.m(d.parentNode,d)):T&&(T.d(1),T=null)},i:Be,o:Be,d(V){V&&I(e),v.d(),P.d(),V&&I(c),A&&A.d(V),V&&I(g),T&&T.d(V),V&&I(d),_=!1,Qe(p)}}}const a3=()=>{},s3=()=>{},o3=()=>{};function u3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:g}=e;const d=Wt(),_={fireItemSelected:q=>{m.searchProvider.onSearchResultItemSelected(q)}};let p=cl.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,m={},v,C,y=mt("getTranslation");bi(i,y,q=>t(11,n=q)),Qt(async()=>{t(8,m=g),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let q=a;const se=A(m.searchProvider);se&&(q.placeholder=se),P(),Gf.handleVisibilityGlobalSearch();const Pe=document.querySelector(".lui-global-search");Pe&&new ResizeObserver(Fe=>{Gf.handleVisibilityGlobalSearch()}).observe(Pe)}),Hn(()=>{t(8,m=g),P(),F()});function P(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,C=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function A(q){if(!q||!q.inputPlaceholder)return;const se=wt.getCurrentLocale();if(le.isFunction(q.inputPlaceholder))return q.inputPlaceholder();if(typeof q.inputPlaceholder=="string"){const Pe=wt.getTranslation(q.inputPlaceholder);return Pe&&Pe.trim().length>0?Pe:q.inputPlaceholder}if(typeof q.inputPlaceholder=="object")return q.inputPlaceholder[se]}function T(q,se,Pe){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(q,se.children[Pe],_)}),""}function V(){d("closeSearchResult")}function E({keyCode:q}){m?le.isFunction(m.searchProvider.onEnter)&&q===mi?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&q===_i?m.searchProvider.onEscape():q===zi?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function U(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function F(){a&&a.value}function D(){t(1,a.value="",a),V()}function Z(q){let se=c.children;if(se)for(let Pe=0;Pe<se.length;Pe++){let{childNodes:$e,nextSibling:Fe,previousSibling:_e}=se[Pe],Ke;if($e[0].getAttribute("aria-selected")==="true"){q===zi&&(Ke=Fe!==null?Fe:se[0]),q===Vl&&(Ke=_e!==null?_e:se[se.length-1]),$e[0].setAttribute("aria-selected","false"),Ke.childNodes[0].setAttribute("aria-selected","true"),Ke.focus();break}}}function j(){let q=c.children;if(q)for(let se=0;se<q.length;se++){let Pe=q[se];Pe.childNodes[0].getAttribute("aria-selected")==="true"&&Pe.childNodes[0].setAttribute("aria-selected","false")}}function Q(q){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(q):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===_i&&m.searchProvider.onEscape()}function de(q,{keyCode:se}){se===mi&&m.searchProvider.onSearchResultItemSelected(q),se===Vl||se===zi?Z(se):le.isFunction(m.searchProvider.onEscape)&&se===_i&&(j(),setTimeout(()=>{a.focus()}),m.searchProvider.onEscape())}function te(q){let se=q.pathObject;se.externalLink?it.navigateToLink(se):d("handleSearchNavigation",{node:se})}function G(){a&&a.focus()}function Y(){if(b?t(0,r=!1):setTimeout(()=>{G()}),d("toggleSearch",{isSearchFieldVisible:b,inputElem:a,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const q=b===void 0?!0:!b;m.searchProvider.toggleSearch(a,q)}}const X=q=>E(q);function pe(q){Xe[q?"unshift":"push"](()=>{a=q,t(1,a)})}const ne=()=>F(),oe=(q,se)=>Q(q),ve=(q,se)=>de(q,se);function re(q){Xe[q?"unshift":"push"](()=>{c=q,t(3,c)})}function Ee(q){Xe[q?"unshift":"push"](()=>{o=q,t(2,o)})}const He=()=>Y();return i.$$set=q=>{"searchResult"in q&&t(4,l=q.searchResult),"displaySearchResult"in q&&t(0,r=q.displaySearchResult),"inputElem"in q&&t(1,a=q.inputElem),"luigiCustomSearchRenderer__slot"in q&&t(2,o=q.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in q&&t(3,c=q.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in q&&t(21,g=q.globalSearchConfig),"isSearchFieldVisible"in q&&t(5,b=q.isSearchFieldVisible)},[r,a,o,c,l,b,Y,p,m,v,C,n,y,T,V,E,U,F,D,Q,de,g,te,X,pe,ne,oe,ve,re,Ee,He]}class f3 extends Et{constructor(e){super(),At(this,e,u3,r3,It,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:21,isSearchFieldVisible:5,onActionClick:22,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[22]}get toggleSearch(){return this.$$.ctx[6]}}function rg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?d3:c3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function c3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),Ze(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(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 d3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&I(e)}}}function ag(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new xn({props:{node:i[0]}}),{c(){e=S("span"),n=Te(t),l=H(),Ue(r.$$.fragment)},m(o,c){L(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(n,t);const g={};c&1&&(g.node=o[0]),r.$set(g)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){z(r.$$.fragment,o),a=!1},d(o){o&&I(e),Oe(r)}}}function h3(i){let e,t,n,l=i[0].icon&&rg(i),r=(!i[0].icon||i[0].showLabel)&&ag(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=rg(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=ag(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){n||(R(r),n=!0)},o(a){z(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function g3(i,e,t){let{node:n}=e;function l(o){return ue.isOpenUIiconName(o.icon)}function r(o){return ue.renderIconClassName(o)}function a(o){return ue.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Uo extends Et{constructor(e){super(),At(this,e,g3,h3,It,{node:0})}}const{Boolean:sp,window:sg}=hl;function og(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function ug(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function _3(i){let e,t;return e=new tp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function p3(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&fg(i);function v(E){i[56](E)}let C={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new DS({props:C}),Xe.push(()=>pt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&cg(i),P=(!i[0]||i[1])&&dg(i),A=(i[18]||i[7]&&i[29].length>0)&&gg(i),T=(i[0]||i[16])&&Ag(i),V=i[12]&&Eg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=H(),Ue(l.$$.fragment),a=H(),y&&y.c(),o=H(),c=S("div"),P&&P.c(),g=H(),A&&A.c(),d=H(),T&&T.c(),_=H(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(E,U){L(E,e,U),w(e,t),m&&m.m(t,null),w(t,n),Me(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,g),A&&A.m(c,null),w(c,d),T&&T.m(c,null),w(c,_),V&&V.m(c,null),b=!0},p(E,U){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,U):(m=fg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const F={};U[0]&536870912&&(F.pathData=E[29]),U[0]&1073741824&&(F.pathParams=E[30]),U[0]&134217728&&(F.addNavHrefForAnchor=E[27]),!r&&U[0]&64&&(r=!0,F.dropDownStates=E[6],_t(()=>r=!1)),l.$set(F),E[18]&&E[19]?y?(y.p(E,U),U[0]&786432&&R(y,1)):(y=cg(E),y.c(),R(y,1),y.m(e,o)):y&&(ke(),z(y,1,1,()=>{y=null}),Se()),!E[0]||E[1]?P?(P.p(E,U),U[0]&3&&R(P,1)):(P=dg(E),P.c(),R(P,1),P.m(c,g)):P&&(ke(),z(P,1,1,()=>{P=null}),Se()),E[18]||E[7]&&E[29].length>0?A?(A.p(E,U),U[0]&537133184&&R(A,1)):(A=gg(E),A.c(),R(A,1),A.m(c,d)):A&&(ke(),z(A,1,1,()=>{A=null}),Se()),E[0]||E[16]?T?(T.p(E,U),U[0]&65537&&R(T,1)):(T=Ag(E),T.c(),R(T,1),T.m(c,_)):T&&(ke(),z(T,1,1,()=>{T=null}),Se()),E[12]?V?(V.p(E,U),U[0]&4096&&R(V,1)):(V=Eg(E),V.c(),R(V,1),V.m(c,null)):V&&(ke(),z(V,1,1,()=>{V=null}),Se()),(!b||U[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(A),R(T),R(V),b=!0)},o(E){z(l.$$.fragment,E),z(y),z(P),z(A),z(T),z(V),b=!1},d(E){E&&I(e),m&&m.d(),Oe(l),y&&y.d(),P&&P.d(),A&&A.d(),T&&T.d(),V&&V.d()}}}function fg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){L(r,e,a),w(e,t),n||(l=ie(e,"click",i[51]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&I(e),n=!1,l()}}}function cg(i){let e,t,n,l,r,a,o,c;function g(v){i[57](v)}function d(v){i[58](v)}function _(v){i[59](v)}function p(v){i[60](v)}function b(v){i[61](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=i[22]),t=new f3({props:m}),Xe.push(()=>pt(t,"isSearchFieldVisible",g,i[20])),Xe.push(()=>pt(t,"searchResult",d,i[24])),Xe.push(()=>pt(t,"displaySearchResult",_,i[23])),Xe.push(()=>pt(t,"inputElem",p,i[21])),Xe.push(()=>pt(t,"luigiCustomSearchRenderer__slot",b,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],_t(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],_t(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],_t(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],_t(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],_t(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){z(t.$$.fragment,v),c=!1},d(v){v&&I(e),Oe(t)}}}function dg(i){let e,t,n,l,r=i[18]&&!i[19]&&hg(i);function a(c){i[73](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new rp({props:o}),Xe.push(()=>pt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[74]),{c(){r&&r.c(),e=H(),Ue(t.$$.fragment)},m(c,g){r&&r.m(c,g),L(c,e,g),Me(t,c,g),l=!0},p(c,g){c[18]&&!c[19]?r?(r.p(c,g),g[0]&786432&&R(r,1)):(r=hg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),z(r,1,1,()=>{r=null}),Se());const d={};g[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&g[0]&64&&(n=!0,d.dropDownStates=c[6],_t(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){z(r),z(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&I(e),Oe(t,c)}}}function hg(i){let e,t,n,l,r,a,o;function c(m){i[65](m)}function g(m){i[66](m)}function d(m){i[67](m)}function _(m){i[68](m)}function p(m){i[69](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[22]),e=new $C({props:b}),Xe.push(()=>pt(e,"isSearchFieldVisible",c,i[20])),Xe.push(()=>pt(e,"searchResult",g,i[24])),Xe.push(()=>pt(e,"displaySearchResult",d,i[23])),Xe.push(()=>pt(e,"inputElem",_,i[21])),Xe.push(()=>pt(e,"luigiCustomSearchRenderer__slot",p,i[22])),e.$on("toggleSearch",i[70]),e.$on("handleSearchNavigation",i[71]),e.$on("closeSearchResult",i[72]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],_t(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],_t(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],_t(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],_t(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.luigiCustomSearchRenderer__slot=m[22],_t(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){z(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function gg(i){let e,t,n,l=i[7]&&i[29].length>0&&_g(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&vg(i);return{c(){l&&l.c(),e=H(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),n=!0},p(a,o){a[7]&&a[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=_g(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ke(),z(l,1,1,()=>{l=null}),Se()),a[9]-a[10]>0||a[12]||a[45]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&16384&&R(r,1)):(r=vg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){n||(R(l),R(r),n=!0)},o(a){z(l),z(r),n=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function _g(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=bg(ug(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1207960032|o[1]&917584){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=ug(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=bg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(sp);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function pg(i){let e,t,n,l;const r=[b3,m3],a=[];function o(c,g){return c[106].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=Ce()},m(c,g){a[e].m(c,g),L(c,n,g),l=!0},p(c,g){let d=e;e=o(c),e===d?a[e].p(c,g):(ke(),z(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,g):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){z(t),l=!1},d(c){a[e].d(c),c&&I(n)}}}function m3(i){let e,t,n,l,r;const a=[w3,v3],o=[];function c(g,d){return g[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=H(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(g,d){L(g,e,d),o[t].m(e,null),w(e,l),r=!0},p(g,d){let _=t;t=c(g),t===_?o[t].p(g,d):(ke(),z(o[_],1,1,()=>{o[_]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(e,l))},i(g){r||(R(n),r=!0)},o(g){z(n),r=!1},d(g){g&&I(e),o[t].d()}}}function b3(i){let e=i[106].visibleChildren.filter(Rg).length>0,t,n,l=e&&mg(i);return{c(){l&&l.c(),t=Ce()},m(r,a){l&&l.m(r,a),L(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(Rg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=mg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ke(),z(l,1,1,()=>{l=null}),Se())},i(r){n||(R(l),n=!0)},o(r){z(l),n=!1},d(r){l&&l.d(r),r&&I(t)}}}function v3(i){let e,t,n,l,r,a,o,c,g,d,_;function p(v){i[79](v,i[106],i[109],i[108])}let b={};i[106]!==void 0&&(b.node=i[106]),t=new Uo({props:b}),Xe.push(()=>pt(t,"node",p,i[106])),r=new Sn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=S("button"),Ue(t.$$.fragment),l=H(),Ue(r.$$.fragment),f(e,"title",a=i[50](i[106],i[48](i[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=ue.getTestId(i[106]))},m(v,C){L(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),g=!0,d||(_=ie(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[106],_t(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[106]),r.$set(P),(!g||C[0]&128&&a!==(a=i[50](i[106],i[48](i[106]))))&&f(e,"title",a),(!g||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!g||C[0]&128&&c!==(c=ue.getTestId(i[106])))&&f(e,"data-testid",c)},i(v){g||(R(t.$$.fragment,v),R(r.$$.fragment,v),g=!0)},o(v){z(t.$$.fragment,v),z(r.$$.fragment,v),g=!1},d(v){v&&I(e),Oe(t),Oe(r),d=!1,_()}}}function w3(i){let e,t,n,l,r,a,o,c,g,d,_,p;function b(C){i[77](C,i[106],i[109],i[108])}let m={};i[106]!==void 0&&(m.node=i[106]),t=new Uo({props:m}),Xe.push(()=>pt(t,"node",b,i[106])),r=new Sn({props:{node:i[106]}});function v(...C){return i[78](i[106],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=H(),Ue(r.$$.fragment),f(e,"href",a=i[49](i[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[50](i[106],i[48](i[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",g=ue.getTestId(i[106]))},m(C,y){L(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,_||(p=ie(e,"click",v),_=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[106],_t(()=>n=!1)),t.$set(P);const A={};y[0]&128&&(A.node=i[106]),r.$set(A),(!d||y[0]&128&&a!==(a=i[49](i[106])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[50](i[106],i[48](i[106]))))&&f(e,"title",c),(!d||y[0]&128&&g!==(g=ue.getTestId(i[106])))&&f(e,"data-testid",g)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){z(t.$$.fragment,C),z(r.$$.fragment,C),d=!1},d(C){C&&I(e),Oe(t),Oe(r),_=!1,p()}}}function mg(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P,A,T;function V(F){i[75](F,i[106],i[109],i[108])}let E={};i[106]!==void 0&&(E.node=i[106]),r=new Uo({props:E}),Xe.push(()=>pt(r,"node",V,i[106])),c=new Sn({props:{node:i[106]}});function U(){return i[76](i[108])}return v=new ip({props:{node:i[106],isMobile:!1,pathParams:i[30],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Ue(r.$$.fragment),o=H(),Ue(c.$$.fragment),b=H(),m=S("div"),Ue(v.$$.fragment),y=H(),f(l,"title",g=i[50](i[106],i[48](i[106]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[108]),f(l,"aria-expanded",_=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=ue.getTestId(i[106])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[108]}`]),f(m,"id","dropDownPopover-"+i[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(F,D){L(F,e,D),w(e,t),w(t,n),w(n,l),Me(r,l,null),w(l,o),Me(c,l,null),w(t,b),w(t,m),Me(v,m,null),w(e,y),P=!0,A||(T=[ie(l,"click",U),ie(n,"click",Dt(M3))],A=!0)},p(F,D){i=F;const Z={};!a&&D[0]&128&&(a=!0,Z.node=i[106],_t(()=>a=!1)),r.$set(Z);const j={};D[0]&128&&(j.node=i[106]),c.$set(j),(!P||D[0]&128&&g!==(g=i[50](i[106],i[48](i[106]))))&&f(l,"title",g),(!P||D[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[106]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||D[0]&64&&_!==(_=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",_),(!P||D[0]&128&&p!==(p=ue.getTestId(i[106])))&&f(l,"data-testid",p);const Q={};D[0]&128&&(Q.node=i[106]),D[0]&1073741824&&(Q.pathParams=i[30]),D[0]&134217728&&(Q.addNavHrefForAnchor=i[27]),v.$set(Q),(!P||D[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",C)},i(F){P||(R(r.$$.fragment,F),R(c.$$.fragment,F),R(v.$$.fragment,F),P=!0)},o(F){z(r.$$.fragment,F),z(c.$$.fragment,F),z(v.$$.fragment,F),P=!1},d(F){F&&I(e),Oe(r),Oe(c),Oe(v),A=!1,Qe(T)}}}function bg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&pg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=pg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function vg(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P,A,T,V,E,U,F;g=new Sn({props:{node:i[11],special:"true"}});let D=i[18]&&!i[19]&&wg(i),Z=i[45]&&(!i[0]||i[1])&&kg(i),j=i[7]&&Sg(i),Q=i[12]&&Ng(i),de=i[12]&&Ig(i),te=i[14]&&Tg(i),G=(!i[0]||i[1])&&Lg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=H(),Ue(g.$$.fragment),_=H(),p=S("div"),b=S("nav"),m=S("ul"),D&&D.c(),v=H(),Z&&Z.c(),C=H(),j&&j.c(),y=H(),Q&&Q.c(),A=H(),de&&de.c(),T=H(),te&&te.c(),V=H(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(Y,X){L(Y,e,X),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(g,a,null),w(n,_),w(n,p),w(p,b),w(b,m),D&&D.m(m,null),w(m,v),Z&&Z.m(m,null),w(m,C),j&&j.m(m,null),w(m,y),Q&&Q.m(m,null),w(n,A),de&&de.m(n,null),w(n,T),te&&te.m(n,null),w(n,V),G&&G.m(n,null),E=!0,U||(F=[ie(a,"click",i[81]),ie(l,"click",Dt(O3))],U=!0)},p(Y,X){const pe={};X[0]&2048&&(pe.node=Y[11]),g.$set(pe),(!E||X[0]&64&&d!==(d=Y[6].overflowPopover||!1))&&f(a,"aria-expanded",d),Y[18]&&!Y[19]?D?D.p(Y,X):(D=wg(Y),D.c(),D.m(m,v)):D&&(D.d(1),D=null),Y[45]&&(!Y[0]||Y[1])?Z?Z.p(Y,X):(Z=kg(Y),Z.c(),Z.m(m,C)):Z&&(Z.d(1),Z=null),Y[7]?j?(j.p(Y,X),X[0]&128&&R(j,1)):(j=Sg(Y),j.c(),R(j,1),j.m(m,y)):j&&(ke(),z(j,1,1,()=>{j=null}),Se()),Y[12]?Q?Q.p(Y,X):(Q=Ng(Y),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!E||X[0]&64&&P!==(P=!Y[6].overflowPopover))&&f(p,"aria-hidden",P),Y[12]?de?(de.p(Y,X),X[0]&4096&&R(de,1)):(de=Ig(Y),de.c(),R(de,1),de.m(n,T)):de&&(ke(),z(de,1,1,()=>{de=null}),Se()),Y[14]?te?(te.p(Y,X),X[0]&16384&&R(te,1)):(te=Tg(Y),te.c(),R(te,1),te.m(n,V)):te&&(ke(),z(te,1,1,()=>{te=null}),Se()),!Y[0]||Y[1]?G?(G.p(Y,X),X[0]&3&&R(G,1)):(G=Lg(Y),G.c(),R(G,1),G.m(n,null)):G&&(ke(),z(G,1,1,()=>{G=null}),Se())},i(Y){E||(R(g.$$.fragment,Y),R(j),R(de),R(te),R(G),E=!0)},o(Y){z(g.$$.fragment,Y),z(j),z(de),z(te),z(G),E=!1},d(Y){Y&&I(e),Oe(g),D&&D.d(),Z&&Z.d(),j&&j.d(),Q&&Q.d(),de&&de.d(),te&&te.d(),G&&G.d(),U=!1,Qe(F)}}}function wg(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
|
|
58
|
+
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),n||(l=ie(t,"click",Dt(i[82])),n=!0)},p:Be,d(r){r&&I(e),n=!1,l()}}}function kg(i){let e,t,n,l,r,a,o=(i[43]?i[43]:i[44])+"",c,g,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=H(),a=S("span"),c=Te(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[45].icon&&i[47](i[45])?i[46](i[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){L(_,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),g||(d=ie(t,"click",Dt(i[32])),g=!0)},p(_,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(_[45].icon&&_[47](_[45])?_[46](_[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&12288&&o!==(o=(_[43]?_[43]:_[44])+"")&&Le(c,o)},d(_){_&&I(e),g=!1,d()}}}function Sg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Pg(og(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&1015828){n=a[7];let c;for(c=0;c<n.length;c+=1){const g=og(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Pg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(sp);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Cg(i){let e,t,n,l,r;const a=[S3,k3],o=[];function c(g,d){return d[0]&128&&(e=null),g[106].isCat?(e==null&&(e=g[106].visibleChildren.filter(V3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=Ce()},m(g,d){~t&&o[t].m(g,d),L(g,l,d),r=!0},p(g,d){let _=t;t=c(g,d),t===_?~t&&o[t].p(g,d):(n&&(ke(),z(o[_],1,1,()=>{o[_]=null}),Se()),~t?(n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(g){r||(R(n),r=!0)},o(g){z(n),r=!1},d(g){~t&&o[t].d(g),g&&I(l)}}}function k3(i){let e,t,n,l,r,a,o,c,g=i[48](i[106])+"",d,_,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?y3:C3}let P=y(i,[-1,-1,-1,-1]),A=P(i);a=new Sn({props:{node:i[106]}});function T(){return i[84](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),A.c(),r=H(),Ue(a.$$.fragment),o=H(),c=S("span"),d=Te(g),b=H(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",_=i[49](i[106])),f(t,"title",p=i[50](i[106],i[48](i[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),A.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ie(t,"click",Nt(T)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&A?A.p(i,E):(A.d(1),A=P(i),A&&(A.c(),A.m(n,r)));const U={};E[0]&128&&(U.node=i[106]),a.$set(U),(!m||E[0]&128)&&g!==(g=i[48](i[106])+"")&&Le(d,g),(!m||E[0]&128&&_!==(_=i[49](i[106])))&&f(t,"href",_),(!m||E[0]&128&&p!==(p=i[50](i[106],i[48](i[106]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){z(a.$$.fragment,V),m=!1},d(V){V&&I(e),A.d(),Oe(a),v=!1,C()}}}function S3(i){let e,t,n,l=!i[47](i[106]),r,a,o,c,g,d=i[48](i[106])+"",_,p,b,m,v,C,y,P,A=l&&yg(i);a=new Sn({props:{node:i[106]}});function T(){return i[83](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),A&&A.c(),r=H(),Ue(a.$$.fragment),c=H(),g=S("span"),_=Te(d),v=H(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"),f(g,"class","fd-menu__title"),f(t,"href",p=i[49](i[106])),f(t,"class",b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")),f(t,"data-testid",m=ue.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,n),A&&A.m(n,null),w(n,r),Me(a,n,null),w(t,c),w(t,g),w(g,_),w(e,v),C=!0,y||(P=ie(t,"click",Nt(T)),y=!0)},p(V,E){i=V,E[0]&128&&(l=!i[47](i[106])),l?A?A.p(i,E):(A=yg(i),A.c(),A.m(n,r)):A&&(A.d(1),A=null);const U={};E[0]&128&&(U.node=i[106]),a.$set(U),(!C||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||E[0]&128)&&d!==(d=i[48](i[106])+"")&&Le(_,d),(!C||E[0]&128&&p!==(p=i[49](i[106])))&&f(t,"href",p),(!C||E[0]&384&&b!==(b="fd-menu__link "+(i[106]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||E[0]&128&&m!==(m=ue.getTestId(i[106])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){z(a.$$.fragment,V),C=!1},d(V){V&&I(e),A&&A.d(),Oe(a),y=!1,P()}}}function C3(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!Ze(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function y3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")},m(n,l){L(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&I(e)}}}function yg(i){let e,t,n;return{c(){e=S("img"),Ze(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!Ze(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function Pg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Cg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Cg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Ng(i){let e,t,n,l,r,a=i[13].label+"",o,c,g;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[47](b[13])||!b[13].icon)),n?N3:P3}let _=d(i,[-1,-1,-1,-1]),p=_(i);return{c(){e=S("li"),t=S("a"),p.c(),l=H(),r=S("span"),o=Te(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(g=ie(t,"click",Dt(i[31])),c=!0)},p(b,m){_===(_=d(b,m))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&I(e),p.d(),c=!1,g()}}}function P3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(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 N3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){L(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&I(e)}}}function Ig(i){let e,t,n;function l(a){i[85](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new ap({props:r}),Xe.push(()=>pt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[86]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],_t(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){z(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function Tg(i){let e,t;return e=new ip({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Lg(i){let e,t,n,l,r;function a(d){i[87](d)}function o(d){i[88](d)}function c(d){i[89](d)}let g={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(g.dropDownStates=i[6]),i[43]!==void 0&&(g.selectedLabel=i[43]),i[44]!==void 0&&(g.defaultLabel=i[44]),e=new rp({props:g}),Xe.push(()=>pt(e,"dropDownStates",a,i[6])),Xe.push(()=>pt(e,"selectedLabel",o,i[43])),Xe.push(()=>pt(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){Ue(e.$$.fragment)},m(d,_){Me(e,d,_),r=!0},p(d,_){const p={};_[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&_[0]&64&&(t=!0,p.dropDownStates=d[6],_t(()=>t=!1)),!n&&_[1]&4096&&(n=!0,p.selectedLabel=d[43],_t(()=>n=!1)),!l&&_[1]&8192&&(l=!0,p.defaultLabel=d[44],_t(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){z(e.$$.fragment,d),r=!1},d(d){Oe(e,d)}}}function Ag(i){let e,t,n,l,r;const a=[T3,I3],o=[];function c(g,d){return d[0]&16&&(t=null),t==null&&(t=!!(g[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(g,d){L(g,e,d),o[n].m(e,null),r=!0},p(g,d){let _=n;n=c(g,d),n===_?o[n].p(g,d):(ke(),z(o[_],1,1,()=>{o[_]=null}),Se(),l=o[n],l?l.p(g,d):(l=o[n]=a[n](g),l.c()),R(l,1),l.m(e,null))},i(g){r||(R(l),r=!0)},o(g){z(l),r=!1},d(g){g&&I(e),o[n].d()}}}function I3(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v;function C(A,T){return A[17].picture?A3:L3}let y=C(i),P=y(i);return _=new tp({props:{addNavHrefForAnchor:i[27]}}),_.$on("toggleDropdownState",i[95]),_.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),g=H(),d=S("div"),Ue(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-p1ljc7")},m(A,T){L(A,e,T),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,g),w(t,d),Me(_,d,null),b=!0,m||(v=[ie(r,"click",i[94]),ie(n,"click",Dt(U3))],m=!0)},p(A,T){y===(y=C(A))&&P?P.p(A,T):(P.d(1),P=y(A),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&a!==(a=A[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||T[0]&131072&&o!==(o=A[17].name?A[17].name:void 0))&&f(r,"title",o),(!b||T[0]&131072&&c!==(c=A[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};T[0]&134217728&&(V.addNavHrefForAnchor=A[27]),_.$set(V),(!b||T[0]&64&&p!==(p=!A[6].profilePopover))&&f(d,"aria-hidden",p)},i(A){b||(R(_.$$.fragment,A),b=!0)},o(A){z(_.$$.fragment,A),b=!1},d(A){A&&I(e),P.d(),Oe(_),m=!1,Qe(v)}}}function T3(i){let e,t,n,l,r,a,o,c,g;function d(b,m){return b[17].picture?R3:E3}let _=d(i),p=_(i);return r=new WS({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[93]),r.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),p.c(),n=H(),l=S("div"),Ue(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(g=ie(t,"click",Dt(F3)),c=!0)},p(b,m){_===(_=d(b))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){z(r.$$.fragment,b),o=!1},d(b){b&&I(e),p.d(),Oe(r),c=!1,g()}}}function L3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){L(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&I(e)}}}function A3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),An(e,"background-image","url('"+i[17].picture+"')")},m(t,n){L(t,e,n)},p(t,n){n[0]&131072&&An(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&I(e)}}}function E3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Te(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,n),r||(a=ie(e,"click",i[92]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Le(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&I(e),r=!1,a()}}}function R3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),An(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),n||(l=ie(e,"click",i[91]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&An(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&I(e),n=!1,l()}}}function Eg(i){let e,t,n;function l(a){i[96](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new ap({props:r}),Xe.push(()=>pt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[97]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],_t(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){z(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function D3(i){let e,t,n,l,r,a;const o=[p3,_3],c=[];function g(d,_){return d[28]?0:1}return e=g(i),t=c[e]=o[e](i),{c(){t.c(),n=Ce()},m(d,_){c[e].m(d,_),L(d,n,_),l=!0,r||(a=[ie(sg,"click",i[40]),ie(sg,"blur",i[40])],r=!0)},p(d,_){let p=e;e=g(d),e===p?c[e].p(d,_):(ke(),z(c[p],1,1,()=>{c[p]=null}),Se(),t=c[e],t?t.p(d,_):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){z(t),l=!1},d(d){c[e].d(d),d&&I(n),r=!1,Qe(a)}}}const V3=i=>!i.hideFromNav&&i.label,Rg=i=>!i.hideFromNav&&i.label,M3=()=>{},O3=()=>{},F3=()=>{},U3=()=>{};function z3(i,e,t){const n=Wt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:g}=e,{showGlobalNav:d}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:A}=e,{isProductSwitcherAvailable:T}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:E}=e,{nodeForMobile:U}=e,{profileItemsAvailable:F}=e,{userInfo:D={}}=e,{globalSearchConfig:Z}=e,{isGlobalSearchCentered:j}=e,{isSearchFieldVisible:Q}=e,{inputElem:de}=e,{luigiCustomSearchRenderer__slot:te}=e,{displaySearchResult:G}=e,{searchResult:Y}=e,{burgerTooltip:X}=e,{responsiveShellbarPadding:pe}=e,ne=mt("store"),oe=!1,ve,re,Ee=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:He=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const q=async()=>{if(_&&0<_.length){const J=await ue.generateTopNavNodes(_);t(7,v=J.children),t(8,C=J.selectedNode),t(9,y=J.visibleNodeCount),t(11,A=J.totalBadgeNode),t(10,P=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=_}},se=()=>{t(1,a=fl.isLoggedIn())};Qt(()=>{un.doOnStoreChange(ne,()=>{t(0,l=gi.isAuthorizationEnabled()),t(16,F=ae.getConfigValue("navigation.profile")),t(52,r=!ae.getConfigValue("auth.disableAutoLogin")),t(12,T=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,g=ae.getConfigValue("settings.profileType")),t(26,pe=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=ue.getProductSwitcherConfig()),t(18,Z=ae.getConfigValue("globalSearch")),t(19,j=Z&&Z.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,He=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Ee=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),un.doOnStoreChange(ne,()=>{q()},["navigation.viewgroupdata"]),En.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&q()})}),Hn(()=>{(!p||p!=_)&&q(),se()});let{showTopNav:Pe}=e;function $e(J){return ue.renderIconClassName(J)}function Fe(J){return ue.isOpenUIiconName(J.icon)}const _e=J=>ue.getNodeLabel(J);function Ke(J){return we.getNodeHref(J,b)}function at(J,Tt){return ue.generateTooltipText(J,Tt)}function qt(){gt("productSwitcherPopover")}function bt(){t(42,oe=!oe),gt("contextSwitcherPopover")}function Vt(J){t(14,E=!0),t(15,U=J)}function Wn(){t(14,E=!1)}function Ut(J){n("handleClick",{node:J})}function mn(J){n("handleSearchNavigation",{node:J})}function Bi(J){Ut(J.detail.node)}function gt(J){const Tt=m||{},dn=!Tt[J];Hi(),Wn(),Tt[J]=dn,t(6,m=Tt)}function Zt(J){gt(J.detail.name)}function Rn(){de&&de.focus()}function ei(){Q||setTimeout(()=>{Rn()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:de,luigiCustomSearchRenderer__slot:te})}function Hi(){const J=m||{},Tt=Object.keys(J);Tt&&Tt.length>0&&Tt.forEach(dn=>{J[dn]=!1,t(6,m=J)})}function nn(){c==="simple"||c==="simpleMobileOnly"?qn():Gt(),bn()}function bn(){if(!ue.getBurgerTooltipConfig())return;const[J,Tt]=ue.getBurgerTooltipConfig();J&&Tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,X=document.body.classList.contains("lui-leftNavToggle")?J:Tt),document.body.classList.contains("lui-semiCollapsible")&&t(25,X=document.body.classList.contains("semiCollapsed")?J:Tt))}function qn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function Gt(){hi.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&n("resizeTabNav",{})}function Cn(J){const Tt=J.detail;t(17,D=Tt||{})}function vi(J){m=J,t(6,m)}function wi(J){Q=J,t(20,Q)}function fn(J){Y=J,t(24,Y)}function ki(J){G=J,t(23,G)}function Si(J){de=J,t(21,de)}function Ci(J){te=J,t(22,te)}function yi(J){Rl.call(this,i,J)}function Pi(J){Rl.call(this,i,J)}function gl(J){Rl.call(this,i,J)}function _l(J){Q=J,t(20,Q)}function pl(J){Y=J,t(24,Y)}function Ni(J){G=J,t(23,G)}function Wi(J){de=J,t(21,de)}function qi(J){te=J,t(22,te)}function oi(J){Rl.call(this,i,J)}function ml(J){Rl.call(this,i,J)}function bl(J){Rl.call(this,i,J)}function Gi(J){m=J,t(6,m)}const $=()=>gt("contextSwitcherPopover");function Ne(J,Tt,dn,ti){dn[ti]=J,t(7,v)}const tt=J=>gt(`dropDownPopover-${J}`);function ut(J,Tt,dn,ti){dn[ti]=J,t(7,v)}const Ct=(J,Tt)=>{ue.handleNavAnchorClickedWithoutMetaKey(Tt)&&Ut(J)};function jt(J,Tt,dn,ti){dn[ti]=J,t(7,v)}const cn=J=>Ut(J),Gn=()=>gt("overflowPopover"),Dn=()=>{ei(),gt("overflowPopover")},Ol=J=>Ut(J),Fl=J=>Vt(J);function Ul(J){m=J,t(6,m)}const gr=()=>gt("productSwitcherPopover");function yn(J){m=J,t(6,m)}function Ki(J){ve=J,t(43,ve)}function vl(J){re=J,t(44,re)}const zl=()=>gt("contextSwitcherPopover"),_r=()=>gt("profilePopover"),ji=()=>gt("profilePopover"),wl=()=>gt("profilePopover"),kl=()=>gt("profilePopover"),ui=()=>gt("profilePopover");function Bl(J){m=J,t(6,m)}const Ii=()=>gt("productSwitcherPopover"),pr=()=>gt("profilePopover");return i.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(52,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,a=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,c=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,g=J.profileTypeSettings),"showGlobalNav"in J&&t(5,d=J.showGlobalNav),"pathData"in J&&t(29,_=J.pathData),"pathParams"in J&&t(30,b=J.pathParams),"dropDownStates"in J&&t(6,m=J.dropDownStates),"children"in J&&t(7,v=J.children),"selectedNode"in J&&t(8,C=J.selectedNode),"visibleNodeCount"in J&&t(9,y=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,P=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,A=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,T=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,V=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,E=J.openMobileDropDown),"nodeForMobile"in J&&t(15,U=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,F=J.profileItemsAvailable),"userInfo"in J&&t(17,D=J.userInfo),"globalSearchConfig"in J&&t(18,Z=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,j=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,Q=J.isSearchFieldVisible),"inputElem"in J&&t(21,de=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,te=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,G=J.displaySearchResult),"searchResult"in J&&t(24,Y=J.searchResult),"burgerTooltip"in J&&t(25,X=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(26,pe=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(27,He=J.addNavHrefForAnchor),"showTopNav"in J&&t(28,Pe=J.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,Pe=l&&(!r||a)||!l)},[l,a,o,c,g,d,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de,te,G,Y,X,pe,He,Pe,_,b,qt,bt,Vt,Wn,Ut,Bi,gt,Zt,ei,Hi,Cn,oe,ve,re,Ee,$e,Fe,_e,Ke,at,nn,r,mn,qn,Gt,vi,wi,fn,ki,Si,Ci,yi,Pi,gl,_l,pl,Ni,Wi,qi,oi,ml,bl,Gi,$,Ne,tt,ut,Ct,jt,cn,Gn,Dn,Ol,Fl,Ul,gr,yn,Ki,vl,zl,_r,ji,wl,kl,ui,Bl,Ii,pr]}class op extends Et{constructor(e){super(),At(this,e,z3,D3,It,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function Dg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function B3(i){let e,t=i[0]&&Dg();return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,[l]){n[0]?t||(t=Dg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Be,o:Be,d(n){t&&t.d(n),n&&I(e)}}}function H3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=we.mapPathToNode(it.getCurrentPath(),n),a=await Rt.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 Qt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");ur.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class W3 extends Et{constructor(e){super(),At(this,e,H3,B3,It,{node:0})}}const{window:To}=hl;function Vg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Mg(i,e,t){const n=i.slice();return n[43]=e[t],n}function Og(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Fg(i,e,t){const n=i.slice();return n[39]=e[t][0],n[40]=e[t][1],n[42]=t,n}function Ug(i,e,t){const n=i.slice();return n[43]=e[t],n}function zg(i,e,t){const n=i.slice();return n[43]=e[t],n[45]=t,n}function Bg(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m,v,C,y,P=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&Hg(i),A=Object.entries(i[0]),T=[];for(let D=0;D<A.length;D+=1)T[D]=Yg(Fg(i,A,D));const V=D=>z(T[D],1,1,()=>{T[D]=null});let E=Object.entries(i[0]),U=[];for(let D=0;D<E.length;D+=1)U[D]=$g(Vg(i,E,D));const F=D=>z(U[D],1,1,()=>{U[D]=null});return{c(){e=S("div"),P&&P.c(),t=H(),n=S("nav"),l=S("div"),r=S("div");for(let D=0;D<T.length;D+=1)T[D].c();a=H(),o=S("div"),c=S("span"),g=S("div"),d=S("a"),d.innerHTML=`<span class="label fd-tabs__tag svelte-1ioiggc">More</span>
|
|
59
|
+
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-1ioiggc"></span>`,_=H(),p=S("div"),b=S("ul");for(let D=0;D<U.length;D+=1)U[D].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-1ioiggc"),f(l,"class","tabsContainerWrapper svelte-1ioiggc"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-1ioiggc"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1ioiggc"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-1ioiggc"),f(p,"aria-hidden",m=!i[4]),f(g,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-1ioiggc"),f(o,"class","luigi-tabsMoreButton svelte-1ioiggc"),f(n,"class","fd-tabs fd-tabs--l svelte-1ioiggc"),f(n,"role","tablist"),f(e,"class","lui-tabs svelte-1ioiggc"),f(e,"id","tabsContainer")},m(D,Z){L(D,e,Z),P&&P.m(e,null),w(e,t),w(e,n),w(n,l),w(l,r);for(let j=0;j<T.length;j+=1)T[j].m(r,null);w(n,a),w(n,o),w(o,c),w(c,g),w(g,d),w(g,_),w(g,p),w(p,b);for(let j=0;j<U.length;j+=1)U[j].m(b,null);v=!0,C||(y=[ie(d,"click",Nt(i[10])),ie(c,"click",Z3),ie(n,"toggleDropdownState",i[26])],C=!0)},p(D,Z){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?P?(P.p(D,Z),Z[0]&2048&&R(P,1)):(P=Hg(D),P.c(),R(P,1),P.m(e,t)):P&&(ke(),z(P,1,1,()=>{P=null}),Se()),Z[0]&53485){A=Object.entries(D[0]);let j;for(j=0;j<A.length;j+=1){const Q=Fg(D,A,j);T[j]?(T[j].p(Q,Z),R(T[j],1)):(T[j]=Yg(Q),T[j].c(),R(T[j],1),T[j].m(r,null))}for(ke(),j=A.length;j<T.length;j+=1)V(j);Se()}if(Z[0]&53485){E=Object.entries(D[0]);let j;for(j=0;j<E.length;j+=1){const Q=Vg(D,E,j);U[j]?(U[j].p(Q,Z),R(U[j],1)):(U[j]=$g(Q),U[j].c(),R(U[j],1),U[j].m(b,null))}for(ke(),j=E.length;j<U.length;j+=1)F(j);Se()}(!v||Z[0]&16&&m!==(m=!D[4]))&&f(p,"aria-hidden",m)},i(D){if(!v){R(P);for(let Z=0;Z<A.length;Z+=1)R(T[Z]);for(let Z=0;Z<E.length;Z+=1)R(U[Z]);v=!0}},o(D){z(P),T=T.filter(Boolean);for(let Z=0;Z<T.length;Z+=1)z(T[Z]);U=U.filter(Boolean);for(let Z=0;Z<U.length;Z+=1)z(U[Z]);v=!1},d(D){D&&I(e),P&&P.d(),ct(T,D),ct(U,D),C=!1,Qe(y)}}}function Hg(i){let e,t;return e=new W3({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function q3(i){let e,t,n,l,r,a=i[12](i[39])+"",o,c,g,d,_,p,b,m,v,C,y,P,A,T;function V(){return i[20](i[39])}let E=i[40],U=[];for(let D=0;D<E.length;D+=1)U[D]=Gg(Ug(i,E,D));const F=D=>z(U[D],1,1,()=>{U[D]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("span"),o=Te(a),c=H(),g=S("span"),_=H(),p=S("div"),b=S("nav"),m=S("ul");for(let D=0;D<U.length;D+=1)U[D].c();C=H(),f(r,"class","label fd-tabs__tag svelte-1ioiggc"),f(g,"class","sap-icon--dropdown luigi-icon--dropdown svelte-1ioiggc"),f(l,"class","fd-tabs__link has-child svelte-1ioiggc"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=or(i[39],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow svelte-1ioiggc"),f(p,"aria-hidden",v=!i[3][i[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-1ioiggc"),f(e,"uid",i[42]+"-0"),f(e,"isselected",y=or(i[39],i[2]))},m(D,Z){L(D,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),w(r,o),w(l,c),w(l,g),w(t,_),w(t,p),w(p,b),w(b,m);for(let j=0;j<U.length;j+=1)U[j].m(m,null);w(e,C),P=!0,A||(T=[ie(l,"click",Nt(V)),ie(e,"click",Q3)],A=!0)},p(D,Z){if(i=D,(!P||Z[0]&4097)&&a!==(a=i[12](i[39])+"")&&Le(o,a),(!P||Z[0]&5&&d!==(d=or(i[39],i[2])))&&f(l,"aria-selected",d),Z[0]&49221){E=i[40];let j;for(j=0;j<E.length;j+=1){const Q=Ug(i,E,j);U[j]?(U[j].p(Q,Z),R(U[j],1)):(U[j]=Gg(Q),U[j].c(),R(U[j],1),U[j].m(m,null))}for(ke(),j=E.length;j<U.length;j+=1)F(j);Se()}(!P||Z[0]&9&&v!==(v=!i[3][i[39]]))&&f(p,"aria-hidden",v),(!P||Z[0]&5&&y!==(y=or(i[39],i[2])))&&f(e,"isselected",y)},i(D){if(!P){for(let Z=0;Z<E.length;Z+=1)R(U[Z]);P=!0}},o(D){U=U.filter(Boolean);for(let Z=0;Z<U.length;Z+=1)z(U[Z]);P=!1},d(D){D&&I(e),ct(U,D),A=!1,Qe(T)}}}function G3(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=Jg(zg(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const g=zg(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Jg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Wg(i){let e,t,n=i[43].label&&qg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=qg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function qg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,_,p,b,m;o=new xn({props:{node:i[43]}});function v(){return i[21](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Ue(o.$$.fragment),_=H(),f(n,"class","fd-menu__title"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-menu__link"),f(t,"data-testid",g=ue.getTestId(i[43])),f(t,"aria-selected",d=i[43]===i[2]),f(e,"class","fd-menu__item")},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,_),p=!0,b||(m=ie(t,"click",Nt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[43]),o.$set(P),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=ue.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[43]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){z(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function Gg(i){let e,t,n=!i[43].hideFromNav&&Wg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Wg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Kg(i){let e,t,n=i[43].label&&jg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=jg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function jg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,_,p,b,m,v,C;o=new xn({props:{node:i[43]}});function y(){return i[19](i[43])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Te(l),a=H(),Ue(o.$$.fragment),_=H(),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,"data-testid",g=ue.getTestId(i[43])),f(t,"aria-selected",d=i[43]===i[2]),f(e,"class",p="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-1ioiggc"),f(e,"uid",i[42]+"-"+i[45]),f(e,"isselected",b=i[43]===i[2])},m(P,A){L(P,e,A),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,_),m=!0,v||(C=ie(t,"click",Nt(y)),v=!0)},p(P,A){i=P,(!m||A[0]&1)&&l!==(l=i[14](i[43])+"")&&Le(r,l);const T={};A[0]&1&&(T.node=i[43]),o.$set(T),(!m||A[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!m||A[0]&1&&g!==(g=ue.getTestId(i[43])))&&f(t,"data-testid",g),(!m||A[0]&5&&d!==(d=i[43]===i[2]))&&f(t,"aria-selected",d),(!m||A[0]&5&&p!==(p="fd-tabs__item "+(i[43]===i[2]?"is-selected":"")+" svelte-1ioiggc"))&&f(e,"class",p),(!m||A[0]&5&&b!==(b=i[43]===i[2]))&&f(e,"isselected",b)},i(P){m||(R(o.$$.fragment,P),m=!0)},o(P){z(o.$$.fragment,P),m=!1},d(P){P&&I(e),Oe(o),v=!1,C()}}}function Jg(i){let e,t,n=!i[43].hideFromNav&&Kg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?n&&(ke(),z(n,1,1,()=>{n=null}),Se()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Kg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function Yg(i){let e,t,n,l,r,a;const o=[G3,q3],c=[];function g(d,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(Y3).length>0),t?1:-1)}return~(n=g(i,[-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=Ce()},m(d,_){~n&&c[n].m(d,_),L(d,r,_),a=!0},p(d,_){let p=n;n=g(d,_),n===p?~n&&c[n].p(d,_):(l&&(ke(),z(c[p],1,1,()=>{c[p]=null}),Se()),~n?(l=c[n],l?l.p(d,_):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){z(l),a=!1},d(d){~n&&c[n].d(d),d&&I(r)}}}function K3(i){let e,t,n,l,r=i[12](i[39])+"",a,o,c,g,d,_,p,b,m,v,C,y,P,A,T;function V(){return i[23](i[39],i[42])}function E(){return i[24](i[39],i[42])}let U=i[40],F=[];for(let Z=0;Z<U.length;Z+=1)F[Z]=Zg(Mg(i,U,Z));const D=Z=>z(F[Z],1,1,()=>{F[Z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Te(r),g=H(),d=S("button"),_=S("i"),m=H(),v=S("ul");for(let Z=0;Z<F.length;Z+=1)F[Z].c();y=H(),f(l,"class","fd-nested-list__title svelte-1ioiggc"),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=or(i[39],i[2])),f(_,"class",p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[39]+i[42]]),f(t,"class","fd-nested-list__content has-child svelte-1ioiggc"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[39]+i[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-0")},m(Z,j){L(Z,e,j),w(e,t),w(t,n),w(n,l),w(l,a),w(t,g),w(t,d),w(d,_),w(e,m),w(e,v);for(let Q=0;Q<F.length;Q+=1)F[Q].m(v,null);w(e,y),P=!0,A||(T=[ie(n,"click",Nt(V)),ie(d,"click",Nt(E))],A=!0)},p(Z,j){if(i=Z,(!P||j[0]&4097)&&r!==(r=i[12](i[39])+"")&&Le(a,r),(!P||j[0]&9&&o!==(o=i[3][i[39]+i[42]]))&&f(n,"aria-expanded",o),(!P||j[0]&5&&c!==(c=or(i[39],i[2])))&&f(n,"aria-selected",c),(!P||j[0]&9&&p!==(p=i[3][i[39]+i[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!P||j[0]&9&&b!==(b=i[3][i[39]+i[42]]))&&f(d,"aria-expanded",b),j[0]&49221){U=i[40];let Q;for(Q=0;Q<U.length;Q+=1){const de=Mg(i,U,Q);F[Q]?(F[Q].p(de,j),R(F[Q],1)):(F[Q]=Zg(de),F[Q].c(),R(F[Q],1),F[Q].m(v,null))}for(ke(),Q=U.length;Q<F.length;Q+=1)D(Q);Se()}(!P||j[0]&9&&C!==(C=!i[3][i[39]+i[42]]))&&f(v,"aria-hidden",C)},i(Z){if(!P){for(let j=0;j<U.length;j+=1)R(F[j]);P=!0}},o(Z){F=F.filter(Boolean);for(let j=0;j<F.length;j+=1)z(F[j]);P=!1},d(Z){Z&&I(e),ct(F,Z),A=!1,Qe(T)}}}function j3(i){let e,t,n=i[40],l=[];for(let a=0;a<n.length;a+=1)l[a]=Xg(Og(i,n,a));const r=a=>z(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){n=a[40];let c;for(c=0;c<n.length;c+=1){const g=Og(a,n,c);l[c]?(l[c].p(g,o),R(l[c],1)):(l[c]=Xg(g),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=n.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)z(l[o]);t=!1},d(a){ct(l,a),a&&I(e)}}}function Qg(i){let e,t,n,l=i[14](i[43])+"",r,a,o,c,g,d,_,p,b,m;o=new xn({props:{node:i[43]}});function v(){return i[25](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Ue(o.$$.fragment),_=H(),f(n,"class","fd-nested-list__title svelte-1ioiggc"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[15](i[43])),f(t,"data-testid",g=ue.getTestId(i[43])),f(t,"aria-selected",d=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+i[42])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,_),p=!0,b||(m=ie(t,"click",Nt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[43]),o.$set(P),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=ue.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[43]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){z(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function Zg(i){let e,t,n=i[43].label&&Qg(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Qg(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(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,a,o,c,g,d,_,p,b,m;o=new xn({props:{node:i[43]}});function v(){return i[22](i[43])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Te(l),a=H(),Ue(o.$$.fragment),_=H(),f(n,"class","fd-nested-list__title svelte-1ioiggc"),f(t,"href",c=i[15](i[43])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",g=ue.getTestId(i[43])),f(t,"aria-selected",d=i[43]===i[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",i[42]+"-"+i[45])},m(C,y){L(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,_),p=!0,b||(m=ie(t,"click",Nt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[14](i[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[43]),o.$set(P),(!p||y[0]&1&&c!==(c=i[15](i[43])))&&f(t,"href",c),(!p||y[0]&1&&g!==(g=ue.getTestId(i[43])))&&f(t,"data-testid",g),(!p||y[0]&5&&d!==(d=i[43]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){z(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function $g(i){let e,t,n,l,r;const a=[j3,K3],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=Ce()},m(g,d){o[t].m(g,d),L(g,l,d),r=!0},p(g,d){let _=t;t=c(g,d),t===_?o[t].p(g,d):(ke(),z(o[_],1,1,()=>{o[_]=null}),Se(),n=o[t],n?n.p(g,d):(n=o[t]=a[t](g),n.c()),R(n,1),n.m(l.parentNode,l))},i(g){r||(R(n),r=!0)},o(g){z(n),r=!1},d(g){o[t].d(g),g&&I(l)}}}function J3(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Bg(i);return{c(){r&&r.c(),e=Ce()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,n||(l=[ie(To,"click",i[8]),ie(To,"blur",i[8]),ie(To,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=Bg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){t||(R(r),t=!0)},o(a){z(r),t=!1},d(a){r&&r.d(a),a&&I(e),n=!1,Qe(l)}}}function or(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}const Y3=i=>!i.hideFromNav&&i.label,Q3=i=>i.stopPropagation(),Z3=i=>i.stopPropagation();function X3(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:g=ue.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:m}=e,v,C=mt("getTranslation");bi(i,C,q=>t(12,n=q));let y=mt("store"),P;const A={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:g,selectedNode:d,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:q=>{q&&Object.getOwnPropertyNames(q).forEach(se=>{se==="pathData"?t(1,r=q.pathData):se==="context"?context=q.context:se==="children"?t(0,l=q.children):se==="selectedNode"?t(11,d=q.selectedNode):se==="selectedNodeForTabNav"&&t(2,_=q.selectedNodeForTabNav)})}},T=Wt();function V(q){return ue.getNodeLabel(q)}const E=async()=>{const q=A.get(),se=await Rt.getTabNavData({...q},q);se&&(A.set({...se}),o=r,window.LEFTNAVDATA=se.groupedChildren,setTimeout(U))},U=()=>{F();let q=document.getElementsByClassName("luigi-tabsContainer")[0],se=document.getElementsByClassName("luigi-tabsMoreButton")[0],Pe=document.getElementsByClassName("luigi__more")[0],$e,Fe=0,_e=!1,Ke,at;Pe&&Pe.setAttribute("aria-selected","false"),q&&($e=q.offsetWidth,[...q.children].forEach(bt=>{Ke=bt.currentStyle||window.getComputedStyle(bt),at=parseFloat(Ke.marginLeft)+parseFloat(Ke.marginRight),Fe+=bt.offsetWidth+at;let Vt=bt.getAttribute("uid");Fe>=$e?(bt.classList.add("hide_element"),bt.getAttribute("isSelected")==="true"&&Pe.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Vt+'"]').classList.remove("hide_element"),_e=!0):document.querySelector('li[uid="'+Vt+'"]').classList.add("hide_element")}),_e?se.classList.remove("hide_element"):se.classList.add("hide_element"))},F=()=>{let q=document.getElementsByClassName("luigi-tabsContainer")[0];q!==void 0&&[...q.children].forEach(Pe=>{Pe.classList.remove("hide_element")})},D=()=>{P=new ResizeObserver(q=>{for(const se of q)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",se.contentRect.height+"px")}),setTimeout(()=>{const q=document.querySelector("#tabsContainer.lui-tabs");q&&P.observe(q)})},Z=()=>{P&&P.disconnect()};Qt(()=>{t(16,c=ae.getConfigBooleanValue("settings.hideNavigation")),D(),un.doOnStoreChange(y,()=>{E()},["navigation.viewgroupdata"])}),Jr(()=>{Z(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Hn(()=>{(!o||o!=r)&&E(),(v===void 0||v!==m)&&(v=m,E())}),jr(()=>{Z(),P?setTimeout(()=>{const q=document.querySelector("#tabsContainer.lui-tabs");q&&P.observe(q)}):D()});function j(q){return we.getNodeHref(q,a)}function Q(q){te(),T("handleClick",{node:q})}function de(q){let se={};p[q]||(se[q]=!0),t(3,p=se)}function te(){t(3,p={}),t(4,b=!1)}function G(){F(),U()}function Y(){t(4,b=!b)}const X=q=>Q(q),pe=q=>de(q),ne=q=>Q(q),oe=q=>Q(q),ve=(q,se)=>de(q+se),re=(q,se)=>de(q+se),Ee=q=>Q(q),He=q=>de(q.name);return i.$$set=q=>{"children"in q&&t(0,l=q.children),"pathData"in q&&t(1,r=q.pathData),"pathParams"in q&&t(17,a=q.pathParams),"hideNavComponent"in q&&t(16,c=q.hideNavComponent),"virtualGroupPrefix"in q&&t(5,g=q.virtualGroupPrefix),"selectedNodeForTabNav"in q&&t(2,_=q.selectedNodeForTabNav),"dropDownStates"in q&&t(3,p=q.dropDownStates),"isMoreBtnExpanded"in q&&t(4,b=q.isMoreBtnExpanded),"resizeTabNavToggle"in q&&t(18,m=q.resizeTabNavToggle)},[l,r,_,p,b,g,Q,de,te,G,Y,d,n,C,V,j,c,a,m,X,pe,ne,oe,ve,re,Ee,He]}class up extends Et{constructor(e){super(),At(this,e,X3,J3,It,{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 xg(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function e_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function t_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&n_(i),o=i[0]&&i[3].length>=0&&a_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=H(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-u7mfvs"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-u7mfvs"),f(e,"class","lui-globalnav svelte-u7mfvs")},m(c,g){L(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=n_(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=a_(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 n_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=r_(e_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=e_(l,t,a);n[a]?n[a].p(o,r):(n[a]=r_(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),ct(n,l)}}}function i_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,_,p,b,m,v,C,y=i[23].icon&&l_(i);function P(...A){return i[17](i[23],...A)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=H(),r=S("div"),o=Te(a),c=H(),g=S("div"),p=H(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",_=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=ue.getTestId(i[23]))},m(A,T){L(A,e,T),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),v||(C=ie(t,"click",P),v=!0)},p(A,T){i=A,i[23].icon?y?y.p(i,T):(y=l_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),T&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),T&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),T&129&&_!==(_=i[7](i[23].label))&&f(t,"title",_),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),T&1&&m!==(m=ue.getTestId(i[23]))&&f(e,"data-testid",m)},d(A){A&&I(e),y&&y.d(),v=!1,C()}}}function l_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?x3:$3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function $3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Ze(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function x3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&I(e)}}}function r_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&i_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=i_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function a_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=u_(xg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){L(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=xg(l,t,a);n[a]?n[a].p(o,r):(n[a]=u_(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),ct(n,l)}}}function s_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,g,d,_,p,b,m,v,C,y=i[23].icon&&o_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=H(),r=S("div"),o=Te(a),c=H(),g=S("div"),p=H(),f(r,"class","lui-text svelte-u7mfvs"),f(g,"class","lui-indicator svelte-u7mfvs"),f(n,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",_=i[7](i[23].label)),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=ue.getTestId(i[23]))},m(A,T){L(A,e,T),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,g),w(e,p),v||(C=ie(n,"click",Nt(P)),v=!0)},p(A,T){i=A,i[23].icon?y?y.p(i,T):(y=o_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),T&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),T&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),T&129&&_!==(_=i[7](i[23].label))&&f(t,"title",_),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),T&1&&m!==(m=ue.getTestId(i[23]))&&f(e,"data-testid",m)},d(A){A&&I(e),y&&y.d(),v=!1,C()}}}function o_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?t8:e8}let l=n(i,-1),r=l(i);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function e8(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Ze(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&I(e)}}}function t8(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")},m(n,l){L(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(n){n&&I(e)}}}function u_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&s_(i);return{c(){t&&t.c(),e=Ce()},m(n,l){t&&t.m(n,l),L(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=s_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&I(e)}}}function n8(i){let e,t,n,l=i[2]&&t_(i);return{c(){l&&l.c(),e=Ce()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(n=[ie(window,"click",fs),ie(window,"blur",fs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=t_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:Be,o:Be,d(r){l&&l.d(r),r&&I(e),t=!1,Qe(n)}}}function fs(){}function i8(i,e,t){let n;const l=Wt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:g}=e,d=mt("store"),_=mt("getTranslation");bi(i,_,D=>t(7,n=D));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const D=await ue.generateTopNavNodes(r);t(0,c=D.children),t(1,g=D.selectedNode),a=r}};Qt(()=>{un.doOnStoreChange(d,()=>{t(13,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(14,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!(ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Hn(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(D){return ue.renderIconClassName(D)}function P(D){return ue.isOpenUIiconName(D.icon)}function A(D){return wt.getTranslation(D.label)}function T(D){return we.getNodeHref(D,o)}function V(D){l("handleClick",{node:D})}function E(D){V(D.detail.node)}const U=(D,Z)=>{ue.handleNavAnchorClickedWithoutMetaKey(Z)&&V(D)},F=D=>V(D);return i.$$set=D=>{"pathData"in D&&t(3,r=D.pathData),"pathParams"in D&&t(15,o=D.pathParams),"children"in D&&t(0,c=D.children),"selectedNode"in D&&t(1,g=D.selectedNode),"showGlobalNav"in D&&t(2,p=D.showGlobalNav),"hideNavComponent"in D&&t(13,b=D.hideNavComponent),"responsiveNavSetting"in D&&t(14,m=D.responsiveNavSetting)},[c,g,p,r,V,fs,v,n,_,y,P,A,T,b,m,o,E,U,F]}class l8 extends Et{constructor(e){super(),At(this,e,i8,n8,It,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return fs}}function r8(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){L(t,e,n),i[4](e)},p:Be,i:Be,o:Be,d(t){t&&I(e),i[4](null)}}}function a8(i,e,t){const n=Wt();let{pathData:l}=e,r,a={},o,c=mt("store"),{showBreadcrumb:g}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},_=v=>{v.last||b(v.node)};Qt(()=>{un.doOnStoreChange(c,()=>{},["navigation"])}),Hn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=ae.getConfigValue("navigation.breadcrumbs");if(t(1,g=!!v),g&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,g=!1):C.showBreadcrumbs===!0&&t(1,g=!0)}),g)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=it.getCurrentPath();for(let A=y;A<l.length;A++){const T=l[A],V=we.mapPathToNode(P,T);if(a[V])C.push(a[V]);else if(T.label||T.pathSegment||T.titleResolver)if(document.body.classList.add("lui-breadcrumb"),T.titleResolver)C.push({label:T.titleResolver.prerenderFallback&&T.titleResolver.fallbackTitle?wt.getTranslation(T.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:T,route:V,pending:!0});else{const E=await p(T);E&&C.push({label:E,node:T,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,_),C=[];for(let A=y;A<l.length;A++){const T=l[A],V=we.mapPathToNode(P,T);if(T.titleResolver){const U=await Rt.extractDataFromPath(V),F=we.substituteDynamicParamsInObject(Object.assign({},U.pathData.context,T.context),U.pathData.pathParams);try{const D=await ue.fetchNodeTitleData(T,F);C.push({label:D.label,node:T,route:V});continue}catch{}}const E=await p(T);E&&C.push({label:E,node:T,route:V})}P===it.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,_)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(A=>{a[A.route]=A}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return wt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=we.mapPathToNode(it.getCurrentPath(),v),y=await Rt.extractDataFromPath(C);return we.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Xe[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,g=v.showBreadcrumb)},[o,g,l,b,m]}class fp extends Et{constructor(e){super(),At(this,e,a8,r8,It,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Vo="not_checked";En.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Vo="disabled"):i.data==="luigi.tpcEnabled"&&(Vo="enabled")},!1);function s8(){return Vo}const{Boolean:o8,window:f_}=hl;function c_(i,e,t){const n=i.slice();return n[153]=e[t],n[155]=t,n}function d_(i){let e,t;return e=new ek({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[36]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function h_(i){let e,t;function n(){return i[69](i[155])}function l(...a){return i[70](i[155],...a)}function r(...a){return i[71](i[155],...a)}return e=new Z_({props:{settings:i[153].mfModal.settings,nodepath:i[153].mfModal.nodepath,modalIndex:i[155],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&134217728&&(c.settings=i[153].mfModal.settings),o[0]&134217728&&(c.nodepath=i[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){z(e.$$.fragment,a),t=!1},d(a){Oe(e,a)}}}function g_(i){let e,t,n=i[153].mfModal.displayed&&h_(i);return{c(){n&&n.c(),e=Ce()},m(l,r){n&&n.m(l,r),L(l,e,r),t=!0},p(l,r){l[153].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&R(n,1)):(n=h_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ke(),z(n,1,1,()=>{n=null}),Se())},i(l){t||(R(n),t=!0)},o(l){z(n),t=!1},d(l){n&&n.d(l),l&&I(e)}}}function __(i){let e,t;return e=new Z_({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[u8]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[5]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function u8(i){let e,t;return e=new Ml({props:{area:"drawer",disable:i[12]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function p_(i){let e,t;return e=new rk({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[72]),e.$on("modalDismiss",i[73]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function m_(i){let e,t,n;function l(a){i[74](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new kk({props:r}),Xe.push(()=>pt(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],_t(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){z(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function f8(i){let e,t,n,l,r,a,o,c;e=new Ml({props:{disable:i[12],$$slots:{default:[d8]},$$scope:{ctx:i}}});let g=i[10]&&v_(),d=!i[24]&&w_(i),_=!i[20]&&k_(i),p=!(i[20]||i[21])&&C_(i),b=i[15]&&!i[20]&&y_(i);return{c(){Ue(e.$$.fragment),t=H(),g&&g.c(),n=H(),d&&d.c(),l=H(),_&&_.c(),r=H(),p&&p.c(),a=H(),b&&b.c(),o=Ce()},m(m,v){Me(e,m,v),L(m,t,v),g&&g.m(m,v),L(m,n,v),d&&d.m(m,v),L(m,l,v),_&&_.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?g||(g=v_(),g.c(),g.m(n.parentNode,n)):g&&(g.d(1),g=null),m[24]?d&&(ke(),z(d,1,1,()=>{d=null}),Se()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=w_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?_&&(ke(),z(_,1,1,()=>{_=null}),Se()):_?(_.p(m,v),v[0]&1048576&&R(_,1)):(_=k_(m),_.c(),R(_,1),_.m(r.parentNode,r)),m[20]||m[21]?p&&(ke(),z(p,1,1,()=>{p=null}),Se()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=C_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=y_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ke(),z(b,1,1,()=>{b=null}),Se())},i(m){c||(R(e.$$.fragment,m),R(d),R(_),R(p),R(b),c=!0)},o(m){z(e.$$.fragment,m),z(d),z(_),z(p),z(b),c=!1},d(m){Oe(e,m),m&&I(t),g&&g.d(m),m&&I(n),d&&d.d(m),m&&I(l),_&&_.d(m),m&&I(r),p&&p.d(m),m&&I(a),b&&b.d(m),m&&I(o)}}}function c8(i){let e,t,n,l,r,a,o,c,g,d,_,p,b,m=!i[24]&&P_(i),v=!(i[20]||i[21])&&N_(i),C=i[19]&&I_(i);_=new Ml({props:{disable:i[12],$$slots:{default:[h8]},$$scope:{ctx:i}}});let y=i[10]&&A_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=H(),a=S("div"),v&&v.c(),o=H(),c=S("div"),C&&C.c(),g=H(),d=S("div"),Ue(_.$$.fragment),p=H(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1omtujb"),f(c,"class","fd-tool-layout__content-container svelte-1omtujb"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1omtujb"),f(e,"class","lui-core-layout svelte-1omtujb")},m(P,A){L(P,e,A),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),C&&C.m(c,null),w(c,g),w(c,d),Me(_,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,A){P[24]?m&&(ke(),z(m,1,1,()=>{m=null}),Se()):m?(m.p(P,A),A[0]&16777216&&R(m,1)):(m=P_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(ke(),z(v,1,1,()=>{v=null}),Se()):v?(v.p(P,A),A[0]&3145728&&R(v,1)):(v=N_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,A),A[0]&524288&&R(C,1)):(C=I_(P),C.c(),R(C,1),C.m(c,g)):C&&(ke(),z(C,1,1,()=>{C=null}),Se());const T={};A[0]&4096&&(T.disable=P[12]),A[0]&1177600|A[5]&2&&(T.$$scope={dirty:A,ctx:P}),_.$set(T),P[10]?y||(y=A_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(_.$$.fragment,P),b=!0)},o(P){z(m),z(v),z(C),z(_.$$.fragment,P),b=!1},d(P){P&&I(e),m&&m.d(),v&&v.d(),C&&C.d(),Oe(_),y&&y.d()}}}function b_(i){let e,t;return e=new $_({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function d8(i){let e,t,n,l,r,a,o,c,g;t=new Ml({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&b_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),r=H(),d&&d.c(),a=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),f(e,"tabindex","0"),Ht(e,"lui-split-view",i[11].displayed),Ht(e,"lui-collapsed",i[11].collapsed)},m(_,p){L(_,e,p),Me(t,e,null),w(e,n),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(g=F_(i[45].call(null,e)),c=!0)},p(_,p){const b={};p[0]&4096&&(b.disable=_[12]),t.$set(b),(!o||p[0]&2048)&&Ht(e,"lui-split-view",_[11].displayed),(!o||p[0]&2048)&&Ht(e,"lui-collapsed",_[11].collapsed),_[11].displayed?d?(d.p(_,p),p[0]&2048&&R(d,1)):(d=b_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ke(),z(d,1,1,()=>{d=null}),Se())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){z(t.$$.fragment,_),z(d),o=!1},d(_){_&&I(e),Oe(t),_&&I(r),d&&d.d(_),_&&I(a),c=!1,g()}}}function v_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
60
60
|
<div class="fd-busy-indicator__circle"></div>
|
|
61
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function w_(i){let e,t,n,l,r,a,o;function c(m){i[80](m)}function g(m){i[81](m)}function d(m){i[82](m)}function _(m){i[83](m)}function p(m){i[84](m)}let b={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[2]),e=new op({props:b}),Xe.push(()=>pt(e,"isSearchFieldVisible",c,i[0])),Xe.push(()=>pt(e,"displaySearchResult",g,i[3])),Xe.push(()=>pt(e,"searchResult",d,i[4])),Xe.push(()=>pt(e,"inputElem",_,i[1])),Xe.push(()=>pt(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){
|
|
61
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function w_(i){let e,t,n,l,r,a,o;function c(m){i[80](m)}function g(m){i[81](m)}function d(m){i[82](m)}function _(m){i[83](m)}function p(m){i[84](m)}let b={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[2]),e=new op({props:b}),Xe.push(()=>pt(e,"isSearchFieldVisible",c,i[0])),Xe.push(()=>pt(e,"displaySearchResult",g,i[3])),Xe.push(()=>pt(e,"searchResult",d,i[4])),Xe.push(()=>pt(e,"inputElem",_,i[1])),Xe.push(()=>pt(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],_t(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],_t(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],_t(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],_t(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],_t(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){z(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function k_(i){let e,t,n,l;e=new l8({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]);let r=i[19]&&S_(i);return{c(){Ue(e.$$.fragment),t=H(),r&&r.c(),n=Ce()},m(a,o){Me(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=S_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ke(),z(r,1,1,()=>{r=null}),Se())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){z(e.$$.fragment,a),z(r),l=!1},d(a){Oe(e,a),a&&I(t),r&&r.d(a),a&&I(n)}}}function S_(i){let e,t;return e=new fp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function C_(i){let e,t;return e=new x_({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function y_(i){let e,t;return e=new up({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function P_(i){let e,t,n,l,r,a,o;function c(m){i[75](m)}function g(m){i[76](m)}function d(m){i[77](m)}function _(m){i[78](m)}function p(m){i[79](m)}let b={pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=i[2]),e=new op({props:b}),Xe.push(()=>pt(e,"isSearchFieldVisible",c,i[0])),Xe.push(()=>pt(e,"displaySearchResult",g,i[3])),Xe.push(()=>pt(e,"searchResult",d,i[4])),Xe.push(()=>pt(e,"inputElem",_,i[1])),Xe.push(()=>pt(e,"luigiCustomSearchRenderer__slot",p,i[2])),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Ue(e.$$.fragment)},m(m,v){Me(e,m,v),o=!0},p(m,v){const C={};v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],_t(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],_t(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],_t(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],_t(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],_t(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){z(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function N_(i){let e,t,n,l;return n=new x_({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[30]),n.$on("resizeTabNav",i[31]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-1omtujb"),f(e,"class","fd-tool-layout__navigation-container svelte-1omtujb")},m(r,a){L(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){z(n.$$.fragment,r),l=!1},d(r){r&&I(e),Oe(n)}}}function I_(i){let e,t;return e=new fp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function T_(i){let e,t;return e=new up({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function L_(i){let e,t;return e=new $_({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){z(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function h8(i){let e,t,n,l,r,a,o,c,g,d;t=new Ml({props:{area:"main",disable:i[12]}});let _=i[15]&&!i[20]&&T_(i),p=i[11].displayed&&L_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=H(),l=S("div"),r=H(),_&&_.c(),a=H(),p&&p.c(),o=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),f(e,"tabindex","0"),Ht(e,"lui-split-view",i[11].displayed),Ht(e,"lui-collapsed",i[11].collapsed)},m(b,m){L(b,e,m),Me(t,e,null),w(e,n),w(e,l),L(b,r,m),_&&_.m(b,m),L(b,a,m),p&&p.m(b,m),L(b,o,m),c=!0,g||(d=F_(i[45].call(null,e)),g=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&Ht(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Ht(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?_?(_.p(b,m),m[0]&1081344&&R(_,1)):(_=T_(b),_.c(),R(_,1),_.m(a.parentNode,a)):_&&(ke(),z(_,1,1,()=>{_=null}),Se()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=L_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ke(),z(p,1,1,()=>{p=null}),Se())},i(b){c||(R(t.$$.fragment,b),R(_),R(p),c=!0)},o(b){z(t.$$.fragment,b),z(_),z(p),c=!1},d(b){b&&I(e),Oe(t),b&&I(r),_&&_.d(b),b&&I(a),p&&p.d(b),b&&I(o),g=!1,d()}}}function A_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
62
62
|
<div class="fd-busy-indicator__circle"></div>
|
|
63
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function g8(i){let e,t,n,l,r,a,o,c,g,d,_,p=i[25]&&i[25].length&&d_(i),b=i[27],m=[];for(let E=0;E<b.length;E+=1)m[E]=g_(c_(i,b,E));const v=E=>z(m[E],1,1,()=>{m[E]=null});let C=i[28].displayed&&i[28].settings.isDrawer&&__(i),y=i[26].displayed&&p_(i),P=i[17].displayed&&m_(i);const A=[c8,f8],T=[];function V(E,U){return E[29]?0:1}return o=V(i),c=T[o]=A[o](i),{c(){e=S("div"),p&&p.c(),t=H();for(let E=0;E<m.length;E+=1)m[E].c();n=H(),C&&C.c(),l=H(),y&&y.c(),r=H(),P&&P.c(),a=H(),c.c(),f(e,"id","app"),f(e,"configversion",i[23]),f(e,"class","svelte-1omtujb"),Ht(e,"no-nav",i[20]),Ht(e,"no-side-nav",i[21]),Ht(e,"no-top-nav",i[24]),Ht(e,"no-animation",i[22]),Ht(e,"btp-layout",i[29])},m(E,U){L(E,e,U),p&&p.m(e,null),w(e,t);for(let F=0;F<m.length;F+=1)m[F].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),T[o].m(e,null),g=!0,d||(_=[ie(f_,"resize",i[35]),ie(f_,"keydown",i[46])],d=!0)},p(E,U){if(E[25]&&E[25].length?p?(p.p(E,U),U[0]&33554432&&R(p,1)):(p=d_(E),p.c(),R(p,1),p.m(e,t)):p&&(ke(),z(p,1,1,()=>{p=null}),Se()),U[0]&134221824|U[1]&896){b=E[27];let F;for(F=0;F<b.length;F+=1){const D=c_(E,b,F);m[F]?(m[F].p(D,U),R(m[F],1)):(m[F]=g_(D),m[F].c(),R(m[F],1),m[F].m(e,n))}for(ke(),F=b.length;F<m.length;F+=1)v(F);Se()}E[28].displayed&&E[28].settings.isDrawer?C?(C.p(E,U),U[0]&268435456&&R(C,1)):(C=__(E),C.c(),R(C,1),C.m(e,l)):C&&(ke(),z(C,1,1,()=>{C=null}),Se()),E[26].displayed?y?(y.p(E,U),U[0]&67108864&&R(y,1)):(y=p_(E),y.c(),R(y,1),y.m(e,r)):y&&(ke(),z(y,1,1,()=>{y=null}),Se()),E[17].displayed?P?(P.p(E,U),U[0]&131072&&R(P,1)):(P=m_(E),P.c(),R(P,1),P.m(e,a)):P&&(ke(),z(P,1,1,()=>{P=null}),Se()),c.p(E,U),(!g||U[0]&8388608)&&f(e,"configversion",E[23]),(!g||U[0]&1048576)&&Ht(e,"no-nav",E[20]),(!g||U[0]&2097152)&&Ht(e,"no-side-nav",E[21]),(!g||U[0]&16777216)&&Ht(e,"no-top-nav",E[24]),(!g||U[0]&4194304)&&Ht(e,"no-animation",E[22])},i(E){if(!g){R(p);for(let U=0;U<b.length;U+=1)R(m[U]);R(C),R(y),R(P),R(c),g=!0}},o(E){z(p),m=m.filter(o8);for(let U=0;U<m.length;U+=1)z(m[U]);z(C),z(y),z(P),z(c),g=!1},d(E){E&&I(e),p&&p.d(),ct(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Qe(_)}}}function _8(i,e,t){const n=Wt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,g,d=!1,_,p,b,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de,te=!0,G=!1,Y,X,pe,ne=[],oe={isDirty:!1,persistUrl:null},ve,re,Ee=!1,He,q,se={},Pe,$e,Fe,_e=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ke}=e,{inputElem:at}=e,{luigiCustomSearchRenderer__slot:qt}=e,{displaySearchResult:bt}=e,{searchResult:Vt}=e,{storedUserSettings:Wn}=e;const Ut=async B=>{const ce=B.iframe.luigi,De=ce.currentNode&&ce.currentNode.userSettingsGroup,qe=await ae.readUserSettings(),Ue=De&&typeof qe=="object"&&qe!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ce.nextViewUrl?ce.nextClientPermissions:ce.clientPermissions,userSettings:Ue?qe[De]:null,anchor:ul.getAnchor(),cssVariables:await Ro.getCSSVariables()});return Ae.specialIframeTypes.map(Ie=>Ie.iframeConfigKey).forEach(Ie=>{he[Ie]=B[Ie]||!1}),he},mn=async(B,ce={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const De={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||T,ce)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await Ut(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=De,Ae.sendMessageToIframe(B.iframe,De)},Bi=B=>{const ce={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ce)},gt=(B,ce)=>{if(B.params.preserveView||B.params.viewgroup){const De=Cn(B.params),qe=it.getNodePath(F,U);ne.push({path:ce.iframe.luigi&&ce.iframe.luigi.pathParams?le.replaceVars(qe,ce.iframe.luigi.pathParams,":",!1):qe,nextPath:De.startsWith("/")?De:"/"+De,context:T}),ce.iframe.pv="pv"}},Zt=(B,ce,De,qe)=>{let Ue=Cn(B.params,De,qe);const{preventHistoryEntry:he,preserveQueryParams:Ie,preventContextUpdate:vt}=B.params,Ot={keepBrowserHistory:!he,navSync:te,preventContextUpdate:vt};return Ue=le.addLeadingSlash(Ue),Ue=Ie?we.composeSearchParamsToRoute(Ue):Ue,gt(B,ce),it.navigateTo(Ue,Ot)},Rn=B=>B.split("?")[0],ei=(B,ce)=>{if(B.length===0)return!1;const De=ce.startsWith("/")?ce:`/${ce}`,qe=[...B].pop();return[Rn(qe.path),Rn(qe.nextPath)].includes(Rn(De))},Hi=B=>{oe&&oe.dirtySet&&(B?oe.dirtySet.delete(B):oe.dirtySet.clear())},nn=B=>new Promise((ce,De)=>{Bl(B)?Ii().then(()=>{Hi(),ce()},()=>{De()}):ce()}),bn=()=>({get:()=>({unsavedChanges:oe,hideNav:jt,viewUrl:D,nodeParams:V,viewGroup:Z,urlParamsRaw:U,currentNode:F,navigationPath:X,context:T,pathParams:E,hideSideNav:cn,isolateView:j,pageErrorHandler:Q,previousNodeValues:de,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:G,goBackContext:Y,isNavigationSyncEnabled:te}),set:B=>{B&&(t(22,Gn=!1),Object.getOwnPropertyNames(B).forEach(ce=>{ce==="hideNav"?t(20,jt=B.hideNav):ce==="viewUrl"?D=B.viewUrl:ce==="nodeParams"?V=B.nodeParams:ce==="viewGroup"?Z=B.viewGroup:ce==="urlParamsRaw"?U=B.urlParamsRaw:ce==="currentNode"?F=B.currentNode:ce==="navigationPath"?t(14,X=B.navigationPath):ce==="context"?T=B.context:ce==="pathParams"?t(13,E=B.pathParams):ce==="hideSideNav"?(cn!=B.hideSideNav&&(t(22,Gn=!0),setTimeout(()=>{const De=document.querySelector("#app");De&&De.classList.remove("no-animation")})),t(21,cn=B.hideSideNav)):ce==="isolateView"?j=B.isolateView:ce==="pageErrorHandler"?Q=B.pageErrorHandler:ce==="previousNodeValues"?de=B.previousNodeValues:ce==="mfSplitView"?t(11,o=B.mfSplitView):ce==="splitViewValues"?c=B.splitViewValues:ce==="splitViewIframe"?C=B.splitViewIframe:ce=="splitViewWC"?P=B.splitViewWC:ce==="showLoadingIndicator"?B.showLoadingIndicator===!0?Fe=setTimeout(()=>{t(10,a=!0)},250):(t(10,a=!1),clearTimeout(Fe)):ce==="tabNav"?t(15,re=B.tabNav):ce==="isNavigateBack"?G=B.isNavigateBack:ce==="goBackContext"?Y=B.goBackContext:ce==="isNavigationSyncEnabled"&&(te=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Bl,getUnsavedChangesModalPromise:nn,showUnsavedChangesModal:Ii,showAlert:vl,prepareInternalData:Ut,dispatch:n}),qn=(B,ce)=>{un.doOnStoreChange(l,()=>{const De=document.querySelector(".wcContainer");De&&(De.configChangedRequest=!0),Bn.deleteCache();const qe=it.getCurrentPath();it.handleRouteChange(qe,bn(),B,ce)},["navigation.nodes"]),we.addRouteChangeListener((De,qe)=>{const{withoutSync:Ue,preventContextUpdate:he}=qe||{};ei(ne,De)||(ne=[],ai.removeInactiveIframes(B));for(let vt=J.length;vt--;)Ji(vt);Yr.removeBackdrop(),oi(),it.handleRouteChange(De,bn(),B,ce,Ue,he)})},Gt=(B,ce)=>le.replaceVars(it.getNodePath(B),ce,":",!1),Cn=(B,ce,De)=>{const qe=ce||F,Ue=De||E;let he=X;if(ce){let vt=ce.parent;for(he=[ce];vt;)he.push(vt),vt=vt.parent;he=[...he].reverse()}let Ie=B.link;if(B.fromVirtualTreeRoot){const vt=[...he].reverse().find(Ot=>Ot.virtualTree);if(!vt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ie=it.concatenatePath(Gt(vt,Ue),B.link)}else if(B.fromParent)Ie=it.concatenatePath(Gt(qe.parent,Ue),B.link);else if(B.fromClosestContext){const vt=[...he].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);Ie=it.concatenatePath(Gt(vt,Ue),B.link)}else if(B.fromContext){const vt=B.fromContext,Ot=[...he].reverse().find(Sr=>vt===Sr.navigationContext);Ie=it.concatenatePath(Gt(Ot,Ue),B.link)}else B.intent?Ie=we.getIntentPath(B.link):B.relative&&(Ie=it.concatenatePath(Gt(qe,Ue),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ie+=Ie.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((vt,Ot)=>{Ie+=encodeURIComponent(we.getContentViewParamPrefix()+vt[0])+"="+encodeURIComponent(vt[1])+(Ot<Object.keys(B.nodeParams).length-1?"&":"")})),Ie},vi=B=>{const ce=B.detail.node;nn().then(()=>{if(Ul(),ce.openNodeInModal){const De=we.buildRoute(ce,`/${ce.pathSegment}`);dn(De,ce.openNodeInModal===!0?{}:ce.openNodeInModal)}else if(ce.drawer){const De=we.buildRoute(ce,`/${ce.pathSegment}`);ce.drawer.isDrawer=!0,Qr(De,ce.drawer)}else bn().set({isNavigationSyncEnabled:!0}),it.handleRouteClick(ce,bn())},()=>{})},wi=()=>{t(16,Ee=!Ee)};zr("handleNavigation",Zt);const fn=B=>B?!0:(console.warn("No search provider defined."),!1),ki=()=>{fn(q)&&t(0,Ke=!1)},Si=()=>{fn(q)&&at&&(t(0,Ke=!0),at.focus())},Ci=()=>{fn(q)&&at&&(t(1,at.value="",at),Ni())},yi=()=>{t(0,Ke=!Ke),S2.clearSearchField()},Pi=()=>{if(fn(q)&&at)return at.value},gl=B=>{fn(q)&&at&&(t(1,at.value=B,at),le.isFunction(q.onInput)?q.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=B=>{fn(q)&&at&&t(1,at.placeholder=B,at)},pl=B=>{if(fn(q))if(B&&B.length>0)if(le.isFunction(q.customSearchResultRenderer)){let ce={fireItemSelected:De=>{q.onSearchResultItemSelected(De)}};q.customSearchResultRenderer(B,qt,ce)}else t(3,bt=!0),t(4,Vt=B);else console.warn("Search result array is empty.")},Ni=()=>{if(fn(q)&&(t(3,bt=!1),t(4,Vt=[]),qt))for(;qt.lastElementChild;)qt.removeChild(qt.lastElementChild)},Wi=B=>{let ce=B.detail.node,De={params:{link:ce.link,nodeParams:ce.params}};Zt(De)},qi=(B,ce)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ot.getDefaultData().mfSplitView),ot.open(bn(),B,ce)},oi=()=>{ot.close(bn())},ml=()=>{ot.collapse(bn()),t(11,o.collapsed=!0,o)},bl=()=>{ot.expand(bn()),t(11,o.collapsed=!1,o)},Gi=()=>o.displayed?o.collapsed:!1,$=()=>o.displayed?!o.collapsed:!1,Ne=()=>o.displayed,tt=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},ut=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},Ct=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let jt,cn,Gn,Dn,Ml,Fl;const Ul=()=>{document.body.classList.remove("lui-leftNavToggle")},gr=()=>{Yi();const B=window.innerWidth>=tn.desktopMinWidth&&Dn<tn.desktopMinWidth,ce=window.innerWidth<tn.desktopMinWidth&&Dn>=tn.desktopMinWidth;(B||ce)&&Ul(),Dn=window.innerWidth};let yn=[];const Ki=(B,ce)=>{if(!(!B||!(B.length>0)))return B.filter(De=>De.settings.id===ce)[0]},vl=(B,ce=!1)=>{const De=ae.getConfigValue("settings.customAlertHandler");if(le.isFunction(De)){const Ue=De(B,ce);if(Ue!==!1)return Ue}const qe=yn;return B.id||(B.id=le.getRandomId()),B.id&&qe&&Ki(qe,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{Ki(yn,B.id)&&zl(B.id)},B.closeAfter),new Promise((Ue,he)=>{t(25,yn=[...qe||[],{displayed:!0,settings:B,openFromClient:ce,promise:{resolve:Ue}}])}))},zl=(B,ce)=>{const De=Ki(yn,B);if(!De){console.error("An unexisting alert has been dismissed.",yn,B);return}if(t(25,yn=yn.filter(qe=>qe.settings.id!==B)),De.openFromClient){const qe=ai.getActiveIframe(pe),Ue={msg:"luigi.ux.alert.hide",id:B,dismissKey:ce};Ae.sendMessageToIframe(qe,Ue)}else De.promise&&De.promise.resolve(ce||B)},_r=B=>{zl(B.detail.id,B.detail.dismissKey)};let ji;const wl=()=>{t(26,ji={displayed:!1,content:{},openFromClient:!1,promise:null})};wl();const kl=(B,ce=!1,De)=>new Promise((qe,Ue)=>{t(26,ji={displayed:!0,settings:B,openFromClient:ce,promise:{resolve:qe,reject:Ue},targetIframe:De})}),ui=B=>{const{promise:ce,openFromClient:De,targetIframe:qe}=ji;if(wl(),B?ce.resolve():ce.reject(),De&&qe){const Ue={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(qe,Ue)}},Bl=B=>{if(oe.dirtySet){if(B)return oe.dirtySet.has(B);if(oe.dirtySet.size>0)return!0}return!1},Ii=()=>kl({header:wt.getTranslation("luigi.unsavedChangesAlert.header"),body:wt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:wt.getTranslation("luigi.button.dismiss"),buttonConfirm:wt.getTranslation("luigi.button.confirm")}),pr=()=>oe.dirtySet?oe.dirtySet.size>0:oe.isDirty;zr("getUnsavedChangesModalPromise",nn);let J=[];const Tt=B=>{if(typeof B>"u"){t(27,J=[]);return}t(27,J=J.filter((ce,De)=>B!==De))};Tt();const dn=async(B,ce)=>{if(await ue.shouldPreventNavigationForPath(B))return;const De={mfModal:{displayed:!0,nodepath:B,settings:ce}};t(27,J=[...J,De]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&J.length===1&&it.appendModalDataToUrl(B,ce)},ti=(B,ce)=>{t(27,J[ce].modalIframe=B.detail.modalIframe,J),t(27,J[ce].modalIframeData=B.detail.modalIframeData,J)},mr=(B,ce)=>{t(27,J[ce].modalWC=B.detail.modalWC,J),t(27,J[ce].modalWCData=B.detail.modalWCData,J)},Ji=(B,ce,De)=>{const qe=(Ie,vt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&J.length===1&&it.removeModalDataFromUrl(vt),Tt(Ie)},Ue=J[B],he=le.getRemotePromise(Ue.mfModal.settings.onClosePromiseId);Ue&&Ue.modalIframe?nn(Ue.modalIframe.contentWindow).then(()=>{qe(B,ce),he&&he.doResolve(De)},()=>{}):Ue&&Ue.modalWC&&(qe(B,ce),he&&he.doResolve(De))};zr("openViewInModal",dn);let Xt={};const Hl=()=>{t(28,Xt.displayed=!1,Xt),t(28,Xt.nodepath=void 0,Xt),t(28,Xt.settings={},Xt),t(12,_=!1)};Hl();const Qr=async(B,ce)=>{await ue.shouldPreventNavigationForPath(B)||(t(28,Xt.displayed=!0,Xt),t(28,Xt.nodepath=B,Xt),t(28,Xt.settings=ce,Xt),Xt.settings&&Xt.settings.backdrop&&t(12,_=!0))},Zr=()=>window.innerWidth>=tn.desktopMinWidth&&Xt.displayed&&Xt.settings&&!Xt.settings.overlap,Yi=(B=!1)=>{if(!Zr())return;const ce=document.querySelector(".iframeModalCtn._drawer");if(!ce)return;const De=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)De.forEach(qe=>{qe==null||qe.style.removeProperty("width")});else{const{width:qe}=getComputedStyle(ce);De.forEach(Ue=>{Xr(Ue,qe)})}},Xr=(B,ce)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ce})`)},br=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Yi()},cs=B=>{m=B.detail.modalWC,B.detail.modalWCData,Yi()},$r=B=>{d=B.detail.activeDrawer},Qi=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?nn(p.contentWindow).then(()=>{Hl()},()=>{}):m&&nn().then(()=>{Hl()},()=>{}),Yi(!0)}catch(ce){console.log(ce)}},xr=()=>{const B=sr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,se.userSettingGroups=[...B],se),t(17,se.displayed=!0,se)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(17,se.displayed=!1,se)},ea=async B=>{if(await ue.shouldPreventNavigationForPath(B))return;ae.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},ta=B=>{let ce=X;if(F){let Ue=F.parent;for(ce=[F];Ue;)ce.push(Ue),Ue=Ue.parent;ce=[...ce].reverse()}let De=B.link,qe=Gt(F,E);if(B.fromVirtualTreeRoot){const Ue=[...ce].reverse().find(Ie=>Ie.virtualTree);if(!Ue){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Gt(Ue,E);De=qe.split(he).join("")}else if(B.fromParent){const Ue=Gt(F.parent,E);De=qe.split(Ue).join("")}else if(B.fromClosestContext){const Ue=[...ce].reverse().find(Ie=>Ie.navigationContext&&Ie.navigationContext.length>0),he=Gt(Ue,E);De=qe.split(he).join("")}else if(B.fromContext){const Ue=B.fromContext,he=[...ce].reverse().find(vt=>Ue===vt.navigationContext),Ie=Gt(he,E);De=qe.split(Ie).join("")}else De=qe;return De};function vr(B){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const ce=ae.getConfigValue("navigation.defaults.isolateView"),De=ae.getConfigValue("navigation.defaults.pageErrorHandler"),qe=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ue={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ce,defaultPageErrorHandler:De};wt.addCurrentLocaleChangeListener(he=>{const Ie={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Ie)}),En.addEventListener("popstate",async he=>{const Ie=yn;if(!Ie||!(Ie.length>0))return;const vt=Ie.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(25,yn=vt)}),En.addEventListener("message",async he=>{const Ie=Ae.getValidMessageSource(he),vt=J[J.length-1],Ot=vt&&vt.modalIframe,Sr=vt&&vt.modalIframeData,Xi={modalIframe:Ot,modalIframeData:Sr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:g,splitViewIframe:C,splitViewIframeData:y,splitView:A};if(!Ie)return;Ie._ready=!0;const Cr=Ae.getSpecialIframeMessageSource(he,Xi),$i=Cr&&Cr.length>0,ql=ae.getConfigValue("communication.skipEventsWhenInactive");if(ql&&ql.length>0&&!$i&&Ie.contentWindow!==window&&!le.isElementVisible(Ie)&&ql.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Ge=ae.getConfigValue("communication.customMessagesListeners")||{},xe=rs.convertCustomMessageInternalToUser(he.data),Pt=Ge[xe.id],Mt="luigi.updateUserSettings";if(se&&xe.id===Mt){Pt&&console.warn(`The key "${Mt}" is not allowed to use for custom messages.`);return}if(typeof Pt=="function"){const Pn=Ui.getMicrofrontends().find(Vn=>Ae.isMessageSource(he,Vn.container));Pt(xe,Pn,le.removeInternalProperties(Ie.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${xe.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ie.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ie.luigi.viewUrl=Ie.luigi.nextViewUrl,Ie.luigi.nextViewUrl="",Ie.luigi.clientPermissions=Ie.luigi.nextClientPermissions,delete Ie.luigi.nextClientPermissions,Ue.navigateOk=!0,ar.preload()),he.data.msg==="luigi.get-context"){if(Ie.luigi.clientVersion=he.data.clientVersion,Ie.luigi.initOk=!1,$i)Cr.forEach(async Ge=>{let xe=Xi[Ge.dataKey].context;const Pt={...Ue,iframe:Xi[Ge.iframeKey],context:xe,pathParams:Xi[Ge.dataKey].pathParams,nodeParams:Xi[Ge.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Xi[Ge.iframeKey].luigi.currentNode),modal:Ge.iframeKey.startsWith("modal"),drawer:Ge.iframeKey.startsWith("drawer"),splitView:Ge.iframeKey.startsWith("splitView")};await mn(Pt,{})});else if(Ue.iframe&&Ae.isMessageSource(he,Ue.iframe))await mn(Ue,{}),(!F||!F.loadingIndicator||F.loadingIndicator.hideAutomatically!==!1)&&ia(),ar.preload();else if(Ie.luigi.preloading)await mn({iframe:Ie,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ge=sr.findActiveCustomUserSettingsIframe(he.source);if(Ge){let xe=Ge.getAttribute("userSettingsGroup"),Pt={context:{userSettingsData:Wn[xe]},iframe:Ge};await mn(Pt)}}ar.viewGroupLoaded(Ie)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Fe),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const Ge=window.location.href,xe=$i?Ie.luigi.currentNode:void 0,Pt=$i?Ie.luigi.pathParams:void 0,Mt=he.data.params,{intent:Pn,newTab:Vn,modal:ln,splitView:Gl,drawer:Sl,withoutSync:ks}=Mt;let Kl=Vn||ln||Gl||Sl;const ca=()=>{const zt=le.getRemotePromise(he.data.remotePromiseId);zt&&zt.doResolve()},Cl=()=>{const zt=le.getRemotePromise(he.data.remotePromiseId);zt&&zt.doReject()},$t=zt=>{!zt||Ge!==window.location.href?ca():Cl()};he.source!==window&&!Pn&&Mt.link&&(Mt.link=Mt.link.split("?")[0]);let hn=Cn(he.data.params,xe,Pt);if(Kl=Kl||Pn&&hn.external,!Kl)nn().then(()=>{te=!he.data.params.withoutSync,Zt(he.data,Ue,xe,Pt).then(()=>{$t(!0)}).catch(()=>{Cl()}),J.forEach((zt,Ss)=>{Ji(Ss)}),oi(),Qi(),te=!0}).catch(()=>{Cl()});else{if(Pn&&hn.external){it.navigateToExternalLink({url:hn.url,sameWindow:!hn.openInNewTab});return}if(hn=le.addLeadingSlash(hn),Vn){await ea(hn),$t();return}const zt=await Wl(hn);if(hn=await we.handlePageNotFoundAndRetrieveRedirectPath(bn(),hn,zt),!hn){Cl();return}pe=B,ln!==void 0?(!ln.keepPrevious&&Tt(),await dn(hn,ln===!0?{}:ln),$t()):Gl!==void 0?(await qi(hn,Gl),$t()):Sl!==void 0&&(Hl(),Sl.isDrawer=!0,await Qr(hn,Sl),$t())}}if(he.data.msg==="luigi.navigation.back"){const Ge=J[J.length-1],xe=J.length>1&&J[J.length-2],Pt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,Ge&&Ge.modalIframe)){Ji(J.length-1,!0,Pt);let Mt=Ue;if(xe&&xe.modalIframeData&&xe.modalIframe){const Pn=xe,Vn=Pn.modalIframeData;Mt={pathParams:Vn.pathParams,context:Vn.context,iframe:Pn.modalIframe}}Mt.iframe&&await mn(Mt,{goBackContext:Pt})}else Ae.isMessageSource(he,C)?(oi(),Ue.iframe&&await mn(Ue,{goBackContext:Pt})):Ae.isMessageSource(he,p)?(d&&(d=!d),Qi(),Ue.iframe&&await mn(Ue,{goBackContext:Pt})):ne&&ne.length>0?nn().then(()=>{ai.setActiveIframeToPrevious(B);const Mt=ne.pop();Ue.iframe=ai.getActiveIframe(B),G=!0,ne=ne,Y=Pt,Zt({params:{link:Mt.path}},Ue)},()=>{}):(Pt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Ge=he.data.data,Pt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Ge),correlationId:Ge.id}};Ae.sendMessageToIframe(Ie,Pt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Bi(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if($i){const Ge=le.addLeadingSlash(Cn(he.data.params,Ie.luigi.currentNode,Ie.luigi.pathParams));it.updateModalDataInUrl(Ge,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Ge=Ie.luigi.currentNode,xe=Ie.luigi.pathParams,Pt=he.data.data,Mt=Cn(Pt,Ge,xe),Pn=Mt?await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Mt):!1,Vn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Pt.id,pathExists:Pn?Pn.isExistingRoute:!1}};Ae.sendMessageToIframe(Ie,Vn)}if(he.data.msg==="luigi.set-page-dirty"){if(!oe.dirtySet){const Ge=new Set;Ge.add(he.source),oe={dirtySet:Ge}}oe.persistUrl=window.location.href,he.data.dirty?oe.dirtySet.add(he.source):oe.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Ge=he.data.data.settings;pe=B,wl(),kl(Ge,!0,Ie).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Ge}=he.data.data;if(!Ge.text&&!le.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}pe=B,vl(Ge,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ie.luigi.clientPermissions&&Ie.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ge}=he.data.data;Ge&&wt.setCurrentLocale(Ge)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(He&&!He.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&na(),he.data.msg==="storage"&&Q2.process(Ie.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Ge=Ie.luigi.currentNode;Ge&&Ge.runTimeErrorHandler&&le.isFunction(Ge.runTimeErrorHandler.errorFn)?Ge.runTimeErrorHandler.errorFn(he.data.errorObj,Ge):qe&&le.isFunction(qe.errorFn)&&qe.errorFn(he.data.errorObj,Ge)}if(he.data.msg==="luigi.addSearchParams")if(Ie.luigi.currentNode.clientPermissions&&Ie.luigi.currentNode.clientPermissions.urlParameters){const{data:Ge,keepBrowserHistory:xe}=he.data;we.addSearchParamsFromClient(Ie.luigi.currentNode,Ge,xe)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if($i)return;const{data:Ge,keepBrowserHistory:xe}=he.data;ul.addNodeParams(Ge,xe)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Ge}=he.data;ul.setAnchor(Ge)}if(he.data.msg==="luigi.setVGData"){const Ge=he.data,xe=ue.findViewGroup(Ie.luigi.currentNode);if(xe){const Pt=ue.getViewGroupSettings(xe);Pt._liveCustomData=Ge.data,ae.configChanged("navigation.viewgroupdata")}}}),qn(B,Ue)}zr("store",l),zr("getTranslation",r);const na=B=>{He&&He.thirdPartyCookieErrorHandling&&le.isFunction(He.thirdPartyCookieErrorHandling)&&He.thirdPartyCookieErrorHandling()};function ia(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Fe),t(10,a=!1)},250)):clearTimeout(Fe)}const Wl=async B=>{const ce={link:B,relative:B[0]!=="/",intent:we.hasIntent(B)},De=Cn(ce),qe=De?await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),De):!1;return qe?qe.isExistingRoute:!1},wr=()=>J.length>0||ne.length!==0;Qt(()=>{if(Ro._init(),q=ae.getConfigValue("globalSearch.searchProvider"),ve=ae.getConfigValue("settings.responsiveNavigation"),Dn=window.innerWidth,ve==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ue.getBurgerTooltipConfig()){const[B,ce]=ue.getBurgerTooltipConfig();B&&ce&&t(18,Pe=document.body.classList.contains("lui-leftNavToggle")?B:ce)}}else if(ve==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ue.getBurgerTooltipConfig()){const[B,ce]=ue.getBurgerTooltipConfig();if(B&&ce){const De=JSON.parse(localStorage.getItem(ue.COL_NAV_KEY));t(18,Pe=De?B:ce)}}document.body.classList.add("lui-semiCollapsible")}He=ae.getConfigValue("settings.thirdPartyCookieCheck"),He&&He.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=He.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{s8()==="disabled"&&na()}),document.body.removeChild(B)}})}),jr(()=>{Yi()}),Hn(()=>{t(19,$e=ae.getConfigValue("navigation.breadcrumbs")),q=ae.getConfigValue("globalSearch.searchProvider"),t(23,Ml=ae.getConfigValue("tag")),t(24,Fl=ae.getConfigValue("settings.header.disabled"))});const Zi=B=>{B.keyCode===_i&&J&&J.length>0&&Ji(J.length-1)},la=B=>Ji(B,!0),ra=(B,ce)=>ti(ce,B),hs=(B,ce)=>mr(ce,B),aa=()=>ui(!0),sa=()=>ui(!1);function oa(B){Wn=B,t(5,Wn)}function ua(B){Ke=B,t(0,Ke)}function gs(B){bt=B,t(3,bt)}function _s(B){Vt=B,t(4,Vt)}function ps(B){at=B,t(1,at)}function fa(B){qt=B,t(2,qt)}function ms(B){Ke=B,t(0,Ke)}function bs(B){bt=B,t(3,bt)}function vs(B){Vt=B,t(4,Vt)}function ws(B){at=B,t(1,at)}function kr(B){qt=B,t(2,qt)}return i.$$set=B=>{"store"in B&&t(47,l=B.store),"getTranslation"in B&&t(48,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ke=B.isSearchFieldVisible),"inputElem"in B&&t(1,at=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,qt=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,bt=B.displaySearchResult),"searchResult"in B&&t(4,Vt=B.searchResult),"storedUserSettings"in B&&t(5,Wn=B.storedUserSettings)},[Ke,at,qt,bt,Vt,Wn,yi,Ni,Wi,ds,a,o,_,E,X,re,Ee,se,Pe,$e,jt,cn,Gn,Ml,Fl,yn,ji,J,Xt,_e,vi,wi,tt,ut,Ct,gr,_r,ui,ti,mr,Ji,br,cs,$r,Qi,vr,Zi,l,r,ki,Si,Ci,Pi,gl,_l,pl,qi,oi,ml,bl,Gi,$,Ne,vl,kl,pr,xr,Wl,wr,la,ra,hs,aa,sa,oa,ua,gs,_s,ps,fa,ms,bs,vs,ws,kr]}class p8 extends Et{constructor(e){super(),At(this,e,_8,g8,It,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:6,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:7,handleSearchNavigation:8,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:9,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[9]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const m8=()=>{const{subscribe:i,update:e,reset:t}=fr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let a=n[r];a||(a=new Set,n[r]=a),a.add(l)},fire:(l,r)=>{let a=n[l];a&&[...a].forEach(o=>{o(r)})}}},cp=m8(),b8=_2((i,e,t)=>wt.getTranslation(i,e,t));Luigi._store=cp;const v8=()=>new Promise(i=>{wt._init(),sn.init().then(()=>{setTimeout(()=>{let e;Ui.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new p8({target:Ui.getLuigiContainer(),props:{store:cp,getTranslation:b8}}),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(v8);
|
|
63
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){L(t,e,n)},d(t){t&&I(e)}}}function g8(i){let e,t,n,l,r,a,o,c,g,d,_,p=i[25]&&i[25].length&&d_(i),b=i[27],m=[];for(let E=0;E<b.length;E+=1)m[E]=g_(c_(i,b,E));const v=E=>z(m[E],1,1,()=>{m[E]=null});let C=i[28].displayed&&i[28].settings.isDrawer&&__(i),y=i[26].displayed&&p_(i),P=i[17].displayed&&m_(i);const A=[c8,f8],T=[];function V(E,U){return E[29]?0:1}return o=V(i),c=T[o]=A[o](i),{c(){e=S("div"),p&&p.c(),t=H();for(let E=0;E<m.length;E+=1)m[E].c();n=H(),C&&C.c(),l=H(),y&&y.c(),r=H(),P&&P.c(),a=H(),c.c(),f(e,"id","app"),f(e,"configversion",i[23]),f(e,"class","svelte-1omtujb"),Ht(e,"no-nav",i[20]),Ht(e,"no-side-nav",i[21]),Ht(e,"no-top-nav",i[24]),Ht(e,"no-animation",i[22]),Ht(e,"btp-layout",i[29])},m(E,U){L(E,e,U),p&&p.m(e,null),w(e,t);for(let F=0;F<m.length;F+=1)m[F].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),T[o].m(e,null),g=!0,d||(_=[ie(f_,"resize",i[35]),ie(f_,"keydown",i[46])],d=!0)},p(E,U){if(E[25]&&E[25].length?p?(p.p(E,U),U[0]&33554432&&R(p,1)):(p=d_(E),p.c(),R(p,1),p.m(e,t)):p&&(ke(),z(p,1,1,()=>{p=null}),Se()),U[0]&134221824|U[1]&896){b=E[27];let F;for(F=0;F<b.length;F+=1){const D=c_(E,b,F);m[F]?(m[F].p(D,U),R(m[F],1)):(m[F]=g_(D),m[F].c(),R(m[F],1),m[F].m(e,n))}for(ke(),F=b.length;F<m.length;F+=1)v(F);Se()}E[28].displayed&&E[28].settings.isDrawer?C?(C.p(E,U),U[0]&268435456&&R(C,1)):(C=__(E),C.c(),R(C,1),C.m(e,l)):C&&(ke(),z(C,1,1,()=>{C=null}),Se()),E[26].displayed?y?(y.p(E,U),U[0]&67108864&&R(y,1)):(y=p_(E),y.c(),R(y,1),y.m(e,r)):y&&(ke(),z(y,1,1,()=>{y=null}),Se()),E[17].displayed?P?(P.p(E,U),U[0]&131072&&R(P,1)):(P=m_(E),P.c(),R(P,1),P.m(e,a)):P&&(ke(),z(P,1,1,()=>{P=null}),Se()),c.p(E,U),(!g||U[0]&8388608)&&f(e,"configversion",E[23]),(!g||U[0]&1048576)&&Ht(e,"no-nav",E[20]),(!g||U[0]&2097152)&&Ht(e,"no-side-nav",E[21]),(!g||U[0]&16777216)&&Ht(e,"no-top-nav",E[24]),(!g||U[0]&4194304)&&Ht(e,"no-animation",E[22])},i(E){if(!g){R(p);for(let U=0;U<b.length;U+=1)R(m[U]);R(C),R(y),R(P),R(c),g=!0}},o(E){z(p),m=m.filter(o8);for(let U=0;U<m.length;U+=1)z(m[U]);z(C),z(y),z(P),z(c),g=!1},d(E){E&&I(e),p&&p.d(),ct(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Qe(_)}}}function _8(i,e,t){const n=Wt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,g,d=!1,_,p,b,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de,te=!0,G=!1,Y,X,pe,ne=[],oe={isDirty:!1,persistUrl:null},ve,re,Ee=!1,He,q,se={},Pe,$e,Fe,_e=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ke}=e,{inputElem:at}=e,{luigiCustomSearchRenderer__slot:qt}=e,{displaySearchResult:bt}=e,{searchResult:Vt}=e,{storedUserSettings:Wn}=e;const Ut=async B=>{const ce=B.iframe.luigi,Re=ce.currentNode&&ce.currentNode.userSettingsGroup,We=await ae.readUserSettings(),Ve=Re&&typeof We=="object"&&We!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ce.nextViewUrl?ce.nextClientPermissions:ce.clientPermissions,userSettings:Ve?We[Re]:null,anchor:ul.getAnchor(),cssVariables:await Ro.getCSSVariables()});return Ae.specialIframeTypes.map(Ie=>Ie.iframeConfigKey).forEach(Ie=>{he[Ie]=B[Ie]||!1}),he},mn=async(B,ce={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Re={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||T,ce)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await Ut(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Re,Ae.sendMessageToIframe(B.iframe,Re)},Bi=B=>{const ce={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ce)},gt=(B,ce)=>{if(B.params.preserveView||B.params.viewgroup){const Re=Cn(B.params),We=it.getNodePath(F,U);ne.push({path:ce.iframe.luigi&&ce.iframe.luigi.pathParams?le.replaceVars(We,ce.iframe.luigi.pathParams,":",!1):We,nextPath:Re.startsWith("/")?Re:"/"+Re,context:T}),ce.iframe.pv="pv"}},Zt=(B,ce,Re,We)=>{let Ve=Cn(B.params,Re,We);const{preventHistoryEntry:he,preserveQueryParams:Ie,preventContextUpdate:vt}=B.params,Mt={keepBrowserHistory:!he,navSync:te,preventContextUpdate:vt};return Ve=le.addLeadingSlash(Ve),Ve=Ie?we.composeSearchParamsToRoute(Ve):Ve,gt(B,ce),it.navigateTo(Ve,Mt)},Rn=B=>B.split("?")[0],ei=(B,ce)=>{if(B.length===0)return!1;const Re=ce.startsWith("/")?ce:`/${ce}`,We=[...B].pop();return[Rn(We.path),Rn(We.nextPath)].includes(Rn(Re))},Hi=B=>{oe&&oe.dirtySet&&(B?oe.dirtySet.delete(B):oe.dirtySet.clear())},nn=B=>new Promise((ce,Re)=>{Bl(B)?Ii().then(()=>{Hi(),ce()},()=>{Re()}):ce()}),bn=()=>({get:()=>({unsavedChanges:oe,hideNav:jt,viewUrl:D,nodeParams:V,viewGroup:Z,urlParamsRaw:U,currentNode:F,navigationPath:X,context:T,pathParams:E,hideSideNav:cn,isolateView:j,pageErrorHandler:Q,previousNodeValues:de,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:G,goBackContext:Y,isNavigationSyncEnabled:te}),set:B=>{B&&(t(22,Gn=!1),Object.getOwnPropertyNames(B).forEach(ce=>{ce==="hideNav"?t(20,jt=B.hideNav):ce==="viewUrl"?D=B.viewUrl:ce==="nodeParams"?V=B.nodeParams:ce==="viewGroup"?Z=B.viewGroup:ce==="urlParamsRaw"?U=B.urlParamsRaw:ce==="currentNode"?F=B.currentNode:ce==="navigationPath"?t(14,X=B.navigationPath):ce==="context"?T=B.context:ce==="pathParams"?t(13,E=B.pathParams):ce==="hideSideNav"?(cn!=B.hideSideNav&&(t(22,Gn=!0),setTimeout(()=>{const Re=document.querySelector("#app");Re&&Re.classList.remove("no-animation")})),t(21,cn=B.hideSideNav)):ce==="isolateView"?j=B.isolateView:ce==="pageErrorHandler"?Q=B.pageErrorHandler:ce==="previousNodeValues"?de=B.previousNodeValues:ce==="mfSplitView"?t(11,o=B.mfSplitView):ce==="splitViewValues"?c=B.splitViewValues:ce==="splitViewIframe"?C=B.splitViewIframe:ce=="splitViewWC"?P=B.splitViewWC:ce==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(Fe),Fe=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(Fe)):ce==="tabNav"?t(15,re=B.tabNav):ce==="isNavigateBack"?G=B.isNavigateBack:ce==="goBackContext"?Y=B.goBackContext:ce==="isNavigationSyncEnabled"&&(te=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Bl,getUnsavedChangesModalPromise:nn,showUnsavedChangesModal:Ii,showAlert:vl,prepareInternalData:Ut,dispatch:n}),qn=(B,ce)=>{un.doOnStoreChange(l,()=>{const Re=document.querySelector(".wcContainer");Re&&(Re.configChangedRequest=!0),Bn.deleteCache();const We=it.getCurrentPath();it.handleRouteChange(We,bn(),B,ce)},["navigation.nodes"]),we.addRouteChangeListener((Re,We)=>{const{withoutSync:Ve,preventContextUpdate:he}=We||{};ei(ne,Re)||(ne=[],ai.removeInactiveIframes(B));for(let vt=J.length;vt--;)Ji(vt);Yr.removeBackdrop(),oi(),it.handleRouteChange(Re,bn(),B,ce,Ve,he)})},Gt=(B,ce)=>le.replaceVars(it.getNodePath(B),ce,":",!1),Cn=(B,ce,Re)=>{const We=ce||F,Ve=Re||E;let he=X;if(ce){let vt=ce.parent;for(he=[ce];vt;)he.push(vt),vt=vt.parent;he=[...he].reverse()}let Ie=B.link;if(B.fromVirtualTreeRoot){const vt=[...he].reverse().find(Mt=>Mt.virtualTree);if(!vt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ie=it.concatenatePath(Gt(vt,Ve),B.link)}else if(B.fromParent)Ie=it.concatenatePath(Gt(We.parent,Ve),B.link);else if(B.fromClosestContext){const vt=[...he].reverse().find(Mt=>Mt.navigationContext&&Mt.navigationContext.length>0);Ie=it.concatenatePath(Gt(vt,Ve),B.link)}else if(B.fromContext){const vt=B.fromContext,Mt=[...he].reverse().find(Sr=>vt===Sr.navigationContext);Ie=it.concatenatePath(Gt(Mt,Ve),B.link)}else B.intent?Ie=we.getIntentPath(B.link):B.relative&&(Ie=it.concatenatePath(Gt(We,Ve),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ie+=Ie.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((vt,Mt)=>{Ie+=encodeURIComponent(we.getContentViewParamPrefix()+vt[0])+"="+encodeURIComponent(vt[1])+(Mt<Object.keys(B.nodeParams).length-1?"&":"")})),Ie},vi=B=>{const ce=B.detail.node;nn().then(()=>{if(Ul(),ce.openNodeInModal){const Re=we.buildRoute(ce,`/${ce.pathSegment}`);dn(Re,ce.openNodeInModal===!0?{}:ce.openNodeInModal)}else if(ce.drawer){const Re=we.buildRoute(ce,`/${ce.pathSegment}`);ce.drawer.isDrawer=!0,Qr(Re,ce.drawer)}else bn().set({isNavigationSyncEnabled:!0}),it.handleRouteClick(ce,bn())},()=>{})},wi=()=>{t(16,Ee=!Ee)};zr("handleNavigation",Zt);const fn=B=>B?!0:(console.warn("No search provider defined."),!1),ki=()=>{fn(q)&&t(0,Ke=!1)},Si=()=>{fn(q)&&at&&(t(0,Ke=!0),at.focus())},Ci=()=>{fn(q)&&at&&(t(1,at.value="",at),Ni())},yi=()=>{t(0,Ke=!Ke),S2.clearSearchField()},Pi=()=>{if(fn(q)&&at)return at.value},gl=B=>{fn(q)&&at&&(t(1,at.value=B,at),le.isFunction(q.onInput)?q.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=B=>{fn(q)&&at&&t(1,at.placeholder=B,at)},pl=B=>{if(fn(q))if(B&&B.length>0)if(le.isFunction(q.customSearchResultRenderer)){let ce={fireItemSelected:Re=>{q.onSearchResultItemSelected(Re)}};q.customSearchResultRenderer(B,qt,ce)}else t(3,bt=!0),t(4,Vt=B);else console.warn("Search result array is empty.")},Ni=()=>{if(fn(q)&&(t(3,bt=!1),t(4,Vt=[]),qt))for(;qt.lastElementChild;)qt.removeChild(qt.lastElementChild)},Wi=B=>{let ce=B.detail.node,Re={params:{link:ce.link,nodeParams:ce.params}};Zt(Re)},qi=(B,ce)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ot.getDefaultData().mfSplitView),ot.open(bn(),B,ce)},oi=()=>{ot.close(bn())},ml=()=>{ot.collapse(bn()),t(11,o.collapsed=!0,o)},bl=()=>{ot.expand(bn()),t(11,o.collapsed=!1,o)},Gi=()=>o.displayed?o.collapsed:!1,$=()=>o.displayed?!o.collapsed:!1,Ne=()=>o.displayed,tt=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},ut=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},Ct=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let jt,cn,Gn,Dn,Ol,Fl;const Ul=()=>{document.body.classList.remove("lui-leftNavToggle")},gr=()=>{Yi();const B=window.innerWidth>=tn.desktopMinWidth&&Dn<tn.desktopMinWidth,ce=window.innerWidth<tn.desktopMinWidth&&Dn>=tn.desktopMinWidth;(B||ce)&&Ul(),Dn=window.innerWidth};let yn=[];const Ki=(B,ce)=>{if(!(!B||!(B.length>0)))return B.filter(Re=>Re.settings.id===ce)[0]},vl=(B,ce=!1)=>{const Re=ae.getConfigValue("settings.customAlertHandler");if(le.isFunction(Re)){const Ve=Re(B,ce);if(Ve!==!1)return Ve}const We=yn;return B.id||(B.id=le.getRandomId()),B.id&&We&&Ki(We,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{Ki(yn,B.id)&&zl(B.id)},B.closeAfter),new Promise((Ve,he)=>{t(25,yn=[...We||[],{displayed:!0,settings:B,openFromClient:ce,promise:{resolve:Ve}}])}))},zl=(B,ce)=>{const Re=Ki(yn,B);if(!Re){console.error("An unexisting alert has been dismissed.",yn,B);return}if(t(25,yn=yn.filter(We=>We.settings.id!==B)),Re.openFromClient){const We=ai.getActiveIframe(pe),Ve={msg:"luigi.ux.alert.hide",id:B,dismissKey:ce};Ae.sendMessageToIframe(We,Ve)}else Re.promise&&Re.promise.resolve(ce||B)},_r=B=>{zl(B.detail.id,B.detail.dismissKey)};let ji;const wl=()=>{t(26,ji={displayed:!1,content:{},openFromClient:!1,promise:null})};wl();const kl=(B,ce=!1,Re)=>new Promise((We,Ve)=>{t(26,ji={displayed:!0,settings:B,openFromClient:ce,promise:{resolve:We,reject:Ve},targetIframe:Re})}),ui=B=>{const{promise:ce,openFromClient:Re,targetIframe:We}=ji;if(wl(),B?ce.resolve():ce.reject(),Re&&We){const Ve={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(We,Ve)}},Bl=B=>{if(oe.dirtySet){if(B)return oe.dirtySet.has(B);if(oe.dirtySet.size>0)return!0}return!1},Ii=()=>kl({header:wt.getTranslation("luigi.unsavedChangesAlert.header"),body:wt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:wt.getTranslation("luigi.button.dismiss"),buttonConfirm:wt.getTranslation("luigi.button.confirm")}),pr=()=>oe.dirtySet?oe.dirtySet.size>0:oe.isDirty;zr("getUnsavedChangesModalPromise",nn);let J=[];const Tt=(B,ce)=>{var We;if(typeof B>"u"){t(27,J=[]);return}let Re;if(t(27,J=J.filter((Ve,he)=>(B===he&&(Re=Ve),B!==he))),(We=Re==null?void 0:Re.mfModal)!=null&&We.openerIframe){const Ve={msg:"luigi.navigation.modal.close",data:ce};Ae.sendMessageToIframe(Re.mfModal.openerIframe,Ve)}};Tt();const dn=async(B,ce,Re)=>{if(await ue.shouldPreventNavigationForPath(B))return;const We={mfModal:{displayed:!0,nodepath:B,settings:ce,openerIframe:Re}};t(27,J=[...J,We]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&J.length===1&&it.appendModalDataToUrl(B,ce)},ti=(B,ce)=>{t(27,J[ce].modalIframe=B.detail.modalIframe,J),t(27,J[ce].modalIframeData=B.detail.modalIframeData,J)},mr=(B,ce)=>{t(27,J[ce].modalWC=B.detail.modalWC,J),t(27,J[ce].modalWCData=B.detail.modalWCData,J)},Ji=(B,ce,Re)=>{const We=(Ie,vt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&J.length===1&&it.removeModalDataFromUrl(vt),Tt(Ie,Re)},Ve=J[B],he=le.getRemotePromise(Ve.mfModal.settings.onClosePromiseId);Ve&&Ve.modalIframe?nn(Ve.modalIframe.contentWindow).then(()=>{We(B,ce),he&&he.doResolve(Re)},()=>{}):Ve&&Ve.modalWC&&(We(B,ce),he&&he.doResolve(Re))};zr("openViewInModal",dn);let Xt={};const Hl=()=>{t(28,Xt.displayed=!1,Xt),t(28,Xt.nodepath=void 0,Xt),t(28,Xt.settings={},Xt),t(12,_=!1)};Hl();const Qr=async(B,ce)=>{await ue.shouldPreventNavigationForPath(B)||(t(28,Xt.displayed=!0,Xt),t(28,Xt.nodepath=B,Xt),t(28,Xt.settings=ce,Xt),Xt.settings&&Xt.settings.backdrop&&t(12,_=!0))},Zr=()=>window.innerWidth>=tn.desktopMinWidth&&Xt.displayed&&Xt.settings&&!Xt.settings.overlap,Yi=(B=!1)=>{if(!Zr())return;const ce=document.querySelector(".iframeModalCtn._drawer");if(!ce)return;const Re=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Re.forEach(We=>{We==null||We.style.removeProperty("width")});else{const{width:We}=getComputedStyle(ce);Re.forEach(Ve=>{Xr(Ve,We)})}},Xr=(B,ce)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ce})`)},br=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Yi()},cs=B=>{m=B.detail.modalWC,B.detail.modalWCData,Yi()},$r=B=>{d=B.detail.activeDrawer},Qi=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?nn(p.contentWindow).then(()=>{Hl()},()=>{}):m&&nn().then(()=>{Hl()},()=>{}),Yi(!0)}catch(ce){console.log(ce)}},xr=()=>{const B=sr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,se.userSettingGroups=[...B],se),t(17,se.displayed=!0,se)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(17,se.displayed=!1,se)},ea=async B=>{if(await ue.shouldPreventNavigationForPath(B))return;ae.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},ta=B=>{let ce=X;if(F){let Ve=F.parent;for(ce=[F];Ve;)ce.push(Ve),Ve=Ve.parent;ce=[...ce].reverse()}let Re=B.link,We=Gt(F,E);if(B.fromVirtualTreeRoot){const Ve=[...ce].reverse().find(Ie=>Ie.virtualTree);if(!Ve){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Gt(Ve,E);Re=We.split(he).join("")}else if(B.fromParent){const Ve=Gt(F.parent,E);Re=We.split(Ve).join("")}else if(B.fromClosestContext){const Ve=[...ce].reverse().find(Ie=>Ie.navigationContext&&Ie.navigationContext.length>0),he=Gt(Ve,E);Re=We.split(he).join("")}else if(B.fromContext){const Ve=B.fromContext,he=[...ce].reverse().find(vt=>Ve===vt.navigationContext),Ie=Gt(he,E);Re=We.split(Ie).join("")}else Re=We;return Re};function vr(B){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const ce=ae.getConfigValue("navigation.defaults.isolateView"),Re=ae.getConfigValue("navigation.defaults.pageErrorHandler"),We=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ve={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ce,defaultPageErrorHandler:Re};wt.addCurrentLocaleChangeListener(he=>{const Ie={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Ie)}),En.addEventListener("popstate",async he=>{const Ie=yn;if(!Ie||!(Ie.length>0))return;const vt=Ie.map(Mt=>{if(Mt&&!Mt.openFromClient&&typeof Mt.settings.ttl=="number"){if(Mt.settings.ttl===0)return null;Mt.settings.ttl--}return Mt}).filter(Mt=>Mt);t(25,yn=vt)}),En.addEventListener("message",async he=>{const Ie=Ae.getValidMessageSource(he),vt=J[J.length-1],Mt=vt&&vt.modalIframe,Sr=vt&&vt.modalIframeData,Xi={modalIframe:Mt,modalIframeData:Sr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:g,splitViewIframe:C,splitViewIframeData:y,splitView:A};if(!Ie)return;Ie._ready=!0;const Cr=Ae.getSpecialIframeMessageSource(he,Xi),$i=Cr&&Cr.length>0,ql=ae.getConfigValue("communication.skipEventsWhenInactive");if(ql&&ql.length>0&&!$i&&Ie.contentWindow!==window&&!le.isElementVisible(Ie)&&ql.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Ge=ae.getConfigValue("communication.customMessagesListeners")||{},xe=rs.convertCustomMessageInternalToUser(he.data),Pt=Ge[xe.id],Ot="luigi.updateUserSettings";if(se&&xe.id===Ot){Pt&&console.warn(`The key "${Ot}" is not allowed to use for custom messages.`);return}if(typeof Pt=="function"){const Pn=Ui.getMicrofrontends().find(Vn=>Ae.isMessageSource(he,Vn.container));Pt(xe,Pn,le.removeInternalProperties(Ie.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${xe.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ie.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ie.luigi.viewUrl=Ie.luigi.nextViewUrl,Ie.luigi.nextViewUrl="",Ie.luigi.clientPermissions=Ie.luigi.nextClientPermissions,delete Ie.luigi.nextClientPermissions,Ve.navigateOk=!0,ar.preload()),he.data.msg==="luigi.get-context"){if(Ie.luigi.clientVersion=he.data.clientVersion,Ie.luigi.initOk=!1,$i)Cr.forEach(async Ge=>{let xe=Xi[Ge.dataKey].context;const Pt={...Ve,iframe:Xi[Ge.iframeKey],context:xe,pathParams:Xi[Ge.dataKey].pathParams,nodeParams:Xi[Ge.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Xi[Ge.iframeKey].luigi.currentNode),modal:Ge.iframeKey.startsWith("modal"),drawer:Ge.iframeKey.startsWith("drawer"),splitView:Ge.iframeKey.startsWith("splitView")};await mn(Pt,{})});else if(Ve.iframe&&Ae.isMessageSource(he,Ve.iframe))await mn(Ve,{}),(!F||!F.loadingIndicator||F.loadingIndicator.hideAutomatically!==!1)&&ia(),ar.preload();else if(Ie.luigi.preloading)await mn({iframe:Ie,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ge=sr.findActiveCustomUserSettingsIframe(he.source);if(Ge){let xe=Ge.getAttribute("userSettingsGroup"),Pt={context:{userSettingsData:Wn[xe]},iframe:Ge};await mn(Pt)}}ar.viewGroupLoaded(Ie)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Fe),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const Ge=window.location.href,xe=$i?Ie.luigi.currentNode:void 0,Pt=$i?Ie.luigi.pathParams:void 0,Ot=he.data.params,{intent:Pn,newTab:Vn,modal:ln,splitView:Gl,drawer:Sl,withoutSync:ks}=Ot;let Kl=Vn||ln||Gl||Sl;const ca=()=>{const zt=le.getRemotePromise(he.data.remotePromiseId);zt&&zt.doResolve()},Cl=()=>{const zt=le.getRemotePromise(he.data.remotePromiseId);zt&&zt.doReject()},$t=zt=>{!zt||Ge!==window.location.href?ca():Cl()};he.source!==window&&!Pn&&Ot.link&&(Ot.link=Ot.link.split("?")[0]);let hn=Cn(he.data.params,xe,Pt);if(Kl=Kl||Pn&&hn.external,!Kl)nn().then(()=>{te=!he.data.params.withoutSync,Zt(he.data,Ve,xe,Pt).then(()=>{$t(!0)}).catch(()=>{Cl()}),J.forEach((zt,Ss)=>{Ji(Ss)}),oi(),Qi(),te=!0}).catch(()=>{Cl()});else{if(Pn&&hn.external){it.navigateToExternalLink({url:hn.url,sameWindow:!hn.openInNewTab});return}if(hn=le.addLeadingSlash(hn),Vn){await ea(hn),$t();return}const zt=await Wl(hn);if(hn=await we.handlePageNotFoundAndRetrieveRedirectPath(bn(),hn,zt),!hn){Cl();return}pe=B,ln!==void 0?(!ln.keepPrevious&&Tt(),await dn(hn,ln===!0?{}:ln,Ie),$t()):Gl!==void 0?(await qi(hn,Gl),$t()):Sl!==void 0&&(Hl(),Sl.isDrawer=!0,await Qr(hn,Sl),$t())}}if(he.data.msg==="luigi.navigation.back"){const Ge=J[J.length-1],xe=J.length>1&&J[J.length-2],Pt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,Ge&&Ge.modalIframe)){Ji(J.length-1,!0,Pt);let Ot=Ve;if(xe&&xe.modalIframeData&&xe.modalIframe){const Pn=xe,Vn=Pn.modalIframeData;Ot={pathParams:Vn.pathParams,context:Vn.context,iframe:Pn.modalIframe}}Ot.iframe&&await mn(Ot,{goBackContext:Pt})}else Ae.isMessageSource(he,C)?(oi(),Ve.iframe&&await mn(Ve,{goBackContext:Pt})):Ae.isMessageSource(he,p)?(d&&(d=!d),Qi(),Ve.iframe&&await mn(Ve,{goBackContext:Pt})):ne&&ne.length>0?nn().then(()=>{ai.setActiveIframeToPrevious(B);const Ot=ne.pop();Ve.iframe=ai.getActiveIframe(B),G=!0,ne=ne,Y=Pt,Zt({params:{link:Ot.path}},Ve)},()=>{}):(Pt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Ge=he.data.data,Pt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Ge),correlationId:Ge.id}};Ae.sendMessageToIframe(Ie,Pt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Bi(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if($i){const Ge=le.addLeadingSlash(Cn(he.data.params,Ie.luigi.currentNode,Ie.luigi.pathParams));it.updateModalDataInUrl(Ge,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Ge=Ie.luigi.currentNode,xe=Ie.luigi.pathParams,Pt=he.data.data,Ot=Cn(Pt,Ge,xe),Pn=Ot?await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Ot):!1,Vn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Pt.id,pathExists:Pn?Pn.isExistingRoute:!1}};Ae.sendMessageToIframe(Ie,Vn)}if(he.data.msg==="luigi.set-page-dirty"){if(!oe.dirtySet){const Ge=new Set;Ge.add(he.source),oe={dirtySet:Ge}}oe.persistUrl=window.location.href,he.data.dirty?oe.dirtySet.add(he.source):oe.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Ge=he.data.data.settings;pe=B,wl(),kl(Ge,!0,Ie).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Ge}=he.data.data;if(!Ge.text&&!le.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}pe=B,vl(Ge,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ie.luigi.clientPermissions&&Ie.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ge}=he.data.data;Ge&&wt.setCurrentLocale(Ge)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(He&&!He.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&na(),he.data.msg==="storage"&&Q2.process(Ie.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Ge=Ie.luigi.currentNode;Ge&&Ge.runTimeErrorHandler&&le.isFunction(Ge.runTimeErrorHandler.errorFn)?Ge.runTimeErrorHandler.errorFn(he.data.errorObj,Ge):We&&le.isFunction(We.errorFn)&&We.errorFn(he.data.errorObj,Ge)}if(he.data.msg==="luigi.addSearchParams")if(Ie.luigi.currentNode.clientPermissions&&Ie.luigi.currentNode.clientPermissions.urlParameters){const{data:Ge,keepBrowserHistory:xe}=he.data;we.addSearchParamsFromClient(Ie.luigi.currentNode,Ge,xe)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if($i)return;const{data:Ge,keepBrowserHistory:xe}=he.data;ul.addNodeParams(Ge,xe)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Ge}=he.data;ul.setAnchor(Ge)}if(he.data.msg==="luigi.setVGData"){const Ge=he.data,xe=ue.findViewGroup(Ie.luigi.currentNode);if(xe){const Pt=ue.getViewGroupSettings(xe);Pt._liveCustomData=Ge.data,ae.configChanged("navigation.viewgroupdata")}}}),qn(B,Ve)}zr("store",l),zr("getTranslation",r);const na=B=>{He&&He.thirdPartyCookieErrorHandling&&le.isFunction(He.thirdPartyCookieErrorHandling)&&He.thirdPartyCookieErrorHandling()};function ia(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Fe),t(10,a=!1)},250)):clearTimeout(Fe)}const Wl=async B=>{const ce={link:B,relative:B[0]!=="/",intent:we.hasIntent(B)},Re=Cn(ce),We=Re?await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Re):!1;return We?We.isExistingRoute:!1},wr=()=>J.length>0||ne.length!==0;Qt(()=>{if(Ro._init(),q=ae.getConfigValue("globalSearch.searchProvider"),ve=ae.getConfigValue("settings.responsiveNavigation"),Dn=window.innerWidth,ve==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ue.getBurgerTooltipConfig()){const[B,ce]=ue.getBurgerTooltipConfig();B&&ce&&t(18,Pe=document.body.classList.contains("lui-leftNavToggle")?B:ce)}}else if(ve==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ue.getBurgerTooltipConfig()){const[B,ce]=ue.getBurgerTooltipConfig();if(B&&ce){const Re=JSON.parse(localStorage.getItem(ue.COL_NAV_KEY));t(18,Pe=Re?B:ce)}}document.body.classList.add("lui-semiCollapsible")}He=ae.getConfigValue("settings.thirdPartyCookieCheck"),He&&He.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=He.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{s8()==="disabled"&&na()}),document.body.removeChild(B)}})}),jr(()=>{Yi()}),Hn(()=>{t(19,$e=ae.getConfigValue("navigation.breadcrumbs")),q=ae.getConfigValue("globalSearch.searchProvider"),t(23,Ol=ae.getConfigValue("tag")),t(24,Fl=ae.getConfigValue("settings.header.disabled"))});const Zi=B=>{B.keyCode===_i&&J&&J.length>0&&Ji(J.length-1)},la=B=>Ji(B,!0),ra=(B,ce)=>ti(ce,B),hs=(B,ce)=>mr(ce,B),aa=()=>ui(!0),sa=()=>ui(!1);function oa(B){Wn=B,t(5,Wn)}function ua(B){Ke=B,t(0,Ke)}function gs(B){bt=B,t(3,bt)}function _s(B){Vt=B,t(4,Vt)}function ps(B){at=B,t(1,at)}function fa(B){qt=B,t(2,qt)}function ms(B){Ke=B,t(0,Ke)}function bs(B){bt=B,t(3,bt)}function vs(B){Vt=B,t(4,Vt)}function ws(B){at=B,t(1,at)}function kr(B){qt=B,t(2,qt)}return i.$$set=B=>{"store"in B&&t(47,l=B.store),"getTranslation"in B&&t(48,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ke=B.isSearchFieldVisible),"inputElem"in B&&t(1,at=B.inputElem),"luigiCustomSearchRenderer__slot"in B&&t(2,qt=B.luigiCustomSearchRenderer__slot),"displaySearchResult"in B&&t(3,bt=B.displaySearchResult),"searchResult"in B&&t(4,Vt=B.searchResult),"storedUserSettings"in B&&t(5,Wn=B.storedUserSettings)},[Ke,at,qt,bt,Vt,Wn,yi,Ni,Wi,ds,a,o,_,E,X,re,Ee,se,Pe,$e,jt,cn,Gn,Ol,Fl,yn,ji,J,Xt,_e,vi,wi,tt,ut,Ct,gr,_r,ui,ti,mr,Ji,br,cs,$r,Qi,vr,Zi,l,r,ki,Si,Ci,Pi,gl,_l,pl,qi,oi,ml,bl,Gi,$,Ne,vl,kl,pr,xr,Wl,wr,la,ra,hs,aa,sa,oa,ua,gs,_s,ps,fa,ms,bs,vs,ws,kr]}class p8 extends Et{constructor(e){super(),At(this,e,_8,g8,It,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:6,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:7,handleSearchNavigation:8,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:9,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[9]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const m8=()=>{const{subscribe:i,update:e,reset:t}=fr({}),n={};return{subscribe:i,update:e,reset:t,subscribeToScope:(l,r)=>{let a=n[r];a||(a=new Set,n[r]=a),a.add(l)},fire:(l,r)=>{let a=n[l];a&&[...a].forEach(o=>{o(r)})}}},cp=m8(),b8=_2((i,e,t)=>wt.getTranslation(i,e,t));Luigi._store=cp;const v8=()=>new Promise(i=>{wt._init(),sn.init().then(()=>{setTimeout(()=>{let e;Ui.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new p8({target:Ui.getLuigiContainer(),props:{store:cp,getTranslation:b8}}),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(v8);
|
|
64
64
|
//# sourceMappingURL=luigi.js.map
|