@luigi-project/core 2.15.1-dev.20240980032 → 2.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/luigi.css +1 -1
- package/luigi.js +24 -24
- package/luigi.js.map +1 -1
- package/luigi_core.css +1 -1
- package/luigi_horizon.css +1 -1
- package/package.json +1 -1
package/luigi.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
var Zw=Object.defineProperty;var Xw=(i,e,t)=>e in i?Zw(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Ol=(i,e,t)=>(Xw(i,typeof e!="symbol"?e+"":e,t),t);function He(){}function $w(i,e){for(const t in e)i[t]=e[t];return i}function xw(i){return i&&typeof i=="object"&&typeof i.then=="function"}function q_(i){return i()}function Kf(){return Object.create(null)}function Je(i){i.forEach(q_)}function mi(i){return typeof i=="function"}function Et(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let $a;function xe(i,e){return $a||($a=document.createElement("a")),$a.href=e,i===$a.href}function e2(i){return Object.keys(i).length===0}function Wo(i,...e){if(i==null)return He;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function rl(i){let e;return Wo(i,t=>e=t)(),e}function bi(i,e,t){i.$$.on_destroy.push(Wo(e,t))}function ds(i,e,t,n){if(i){const l=z_(i,e,t,n);return i[0](l)}}function z_(i,e,t,n){return i[1]&&n?$w(t.ctx.slice(),i[1](n(e))):t.ctx}function hs(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function gs(i,e,t,n,l,r){if(l){const a=z_(e,t,n,r);i.p(a,l)}}function _s(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function ei(i){return i??""}function G_(i){return i&&mi(i.destroy)?i.destroy:He}function w(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function ft(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function t2(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function W(){return Ne(" ")}function we(){return Ne("")}function ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Bt(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function n2(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function jf(i,e){i.value=e??""}function On(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function jt(i,e,t){i.classList[t?"add":"remove"](e)}function i2(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class gr{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=t2(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let Gr;function Ui(i){Gr=i}function cl(){if(!Gr)throw new Error("Function called outside component initialization");return Gr}function Kn(i){cl().$$.before_update.push(i)}function ln(i){cl().$$.on_mount.push(i)}function Yr(i){cl().$$.after_update.push(i)}function Qr(i){cl().$$.on_destroy.push(i)}function Jt(){const i=cl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=i2(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Hr(i,e){return cl().$$.context.set(i,e),e}function wt(i){return cl().$$.context.get(i)}function Ml(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const qr=[],Ze=[],ts=[],Oo=[],l2=Promise.resolve();let Mo=!1;function r2(){Mo||(Mo=!0,l2.then(qo))}function Fo(i){ts.push(i)}function bt(i){Oo.push(i)}const Ro=new Set;let xa=0;function qo(){const i=Gr;do{for(;xa<qr.length;){const e=qr[xa];xa++,Ui(e),a2(e.$$)}for(Ui(null),qr.length=0,xa=0;Ze.length;)Ze.pop()();for(let e=0;e<ts.length;e+=1){const t=ts[e];Ro.has(t)||(Ro.add(t),t())}ts.length=0}while(qr.length);for(;Oo.length;)Oo.pop()();Mo=!1,Ro.clear(),Ui(i)}function a2(i){if(i.fragment!==null){i.update(),Je(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Fo)}}const ns=new Set;let Fl;function be(){Fl={r:0,c:[],p:Fl}}function ve(){Fl.r||Je(Fl.c),Fl=Fl.p}function R(i,e){i&&i.i&&(ns.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(ns.has(i))return;ns.add(i),Fl.c.push(()=>{ns.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ls(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const h=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((g,p)=>{p!==r&&g&&(be(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),ve())}):e.block.d(1),h.c(),R(h,1),h.m(e.mount(),e.anchor),d=!0),e.block=h,e.blocks&&(e.blocks[r]=h),d&&qo()}if(xw(i)){const l=cl();if(i.then(r=>{Ui(l),n(e.then,1,e.value,r),Ui(null)},r=>{if(Ui(l),n(e.catch,2,e.error,r),Ui(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function K_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const dl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function vt(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||Fo(()=>{const a=i.$$.on_mount.map(q_).filter(mi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Je(a),i.$$.on_mount=[]}),r.forEach(Fo)}function Fe(i,e){const t=i.$$;t.fragment!==null&&(Je(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function s2(i,e){i.$$.dirty[0]===-1&&(qr.push(i),r2(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Vt(i,e,t,n,l,r,a,o=[-1]){const c=Gr;Ui(i);const h=i.$$={fragment:null,ctx:[],props:r,update:He,not_equal:l,bound:Kf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Kf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(h.root);let d=!1;if(h.ctx=t?t(i,e.props||{},(g,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[g],h.ctx[g]=m)&&(!h.skip_bound&&h.bound[g]&&h.bound[g](m),d&&s2(i,g)),p}):[],h.update(),d=!0,Je(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=n2(e.target);h.fragment&&h.fragment.l(g),g.forEach(L)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Me(i,e.target,e.anchor,e.customElement),qo()}Ui(c)}class Ot{$destroy(){Fe(this,1),this.$destroy=He}$on(e,t){if(!mi(t))return He;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!e2(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class o2{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const rs=new o2;class u2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const as=new u2;class f2{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const Gn=new f2;let c2=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()=>{K2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=mn.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),Bi.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return rs.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await rs.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return pi.isAuthorizationEnabled()}unload(){this.initialized=!1,_n.unload(),Mn.removeAllEventListeners();const e=Bi.getLuigiContainer();for(;e.firstChild;)e.removeChild(e.lastChild)}async readUserSettings(){const e=await this.getConfigValueAsync("userSettings"),t=e||await this.getConfigValueAsync("settings.userSettings");if(t&&le.isFunction(t.readUserSettings))return t.readUserSettings();const n=localStorage.getItem(this.USER_SETTINGS_KEY);return n&&JSON.parse(n)}async storeUserSettings(e,t){const n=await this.getConfigValueAsync("userSettings"),l=n||await this.getConfigValueAsync("settings.userSettings");if(l&&le.isFunction(l.storeUserSettings))return l.storeUserSettings(e,t);localStorage.setItem(this.USER_SETTINGS_KEY,JSON.stringify(e)),this.configChanged()}reset(){const e=this.getConfig();this.unload(),this.setConfig(e)}clearNavigationCache(){Gn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ae.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ae.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ae.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const ss=new c2;let d2=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&_n.startAuthorization()}logout(){this.isAuthorizationEnabled()&&_n.logout()}async handleAuthEvent(e,t,n,l){const r=await te.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return te.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ui.getStorageKey(),getStorageType:()=>ui.getStorageType(),getAuthData:()=>ui.getAuthData(),setAuthData:e=>ui.setAuthData(e),removeAuthData:()=>ui.removeAuthData(),setNewlyAuthorized:()=>ui.setNewlyAuthorized()}}};const j_=new d2,un={desktopMinWidth:600},h2=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],g2={cssSelector:"[luigi-app-root]"},_2={cssSelector:"[luigi-app-loading-indicator]"};let p2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(g2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const J_=new p2;class m2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Nn extends m2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromParent:!1,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}navigateToIntent(e,t={}){var l;let n="#?intent=";if(n+=e,t&&((l=Object.keys(t))!=null&&l.length)){const r=Object.entries(t);if(r.length>0){n+="?";for(const[a,o]of r)n+=a+"="+o+"&";n=n.slice(0,-1)}}this.navigate(n)}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this.options.fromParent=!1,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this.options.fromParent=!1,this}fromParent(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!1,this.options.fromParent=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}getCurrentRoute(){return Luigi._app.ctx[Luigi._app.props.buildPathForGetCurrentRoute](this.options)}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class b2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new Nn().navigate(e,t,n,l,r)}navigateToIntent(e,t){return new Nn().navigateToIntent(e,t)}openAsModal(e,t,n){return new Nn().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Nn().openAsSplitView(e,t)}openAsDrawer(e,t){return new Nn().openAsDrawer(e,t)}fromContext(e){return new Nn().fromContext(e)}fromClosestContext(){return new Nn().fromClosestContext()}fromVirtualTreeRoot(){return new Nn().fromVirtualTreeRoot()}fromParent(){return new Nn().fromParent()}getCurrentRoute(){return new Nn().getCurrentRoute()}withParams(e){return new Nn().withParams(e)}pathExists(e){return new Nn().pathExists(e)}hasBack(){return new Nn().hasBack()}goBack(e){return new Nn().goBack(e)}}const Y_=new b2,v2={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"}}},w2=v2;class k2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=w2,this.listeners={}}_init(){mn.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),ss.configChanged()}_initCustomImplementation(){this.translationImpl=ss.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return typeof e!="string"||!e.trim()||Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+hr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const Q_=new k2;class S2{sendToAll(e){const t=as.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=as.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const C2=new S2,ar=[];function y2(i,e){return{subscribe:cr(i,e).subscribe}}function cr(i,e=He){let t;const n=new Set;function l(o){if(Et(i,o)&&(i=o,t)){const c=!ar.length;for(const h of n)h[1](),ar.push(h,i);if(c){for(let h=0;h<ar.length;h+=2)ar[h][0](ar[h+1]);ar.length=0}}}function r(o){l(o(i))}function a(o,c=He){const h=[o,c];return n.add(h),n.size===1&&(t=e(l)||He),o(i),()=>{n.delete(h),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class P2{initial(){this.responsiveNavSetting=te.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(re.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<un.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<un.desktopMinWidth&&this.previousWindowWidth>=un.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>un.desktopMinWidth&&this.previousWindowWidth>=un.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(re.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(re.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const _i=new P2;let I2=class{constructor(){this.documentTitle=cr()}hideAppLoadingIndicator(){const e=document.querySelector(_2.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 rl(this.documentTitle)}collapseLeftSideNav(e){_i.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Nn().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const Z_=new I2;let N2=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const X_=new N2;let T2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await te.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=te.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!te.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=te.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(te.getConfigValue("settings.theming.variables.errorHandling"))?te.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else te.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=te.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&jr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};mn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const $_=new T2;let L2=class{constructor(){this.featureToggleList=cr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||rl(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=rl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}rl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...rl(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 rl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):rl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const x_=new L2;let A2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(te.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);te.getConfigValue("routing.useHashRouting")?n.hash=me.addParamsOnHashRouting(e,n.hash):me.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),te.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=me.getContentViewParamPrefix(),l=new URL(location);te.getConfigValue("routing.useHashRouting")?l.hash=me.addParamsOnHashRouting(e,l.hash,n):me.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),te.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return te.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(te.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const ep=new A2,te=ss,pi=j_,Bi=J_,tp=Y_,It=Q_,Zr=Z_,E2=X_,Uo=$_,zo=x_,al=ep;window.Luigi=ss;window.Luigi.auth=()=>j_;window.Luigi.elements=()=>J_;window.Luigi.navigation=()=>Y_;window.Luigi.i18n=()=>Q_;window.Luigi.customMessages=()=>C2;window.Luigi.ux=()=>Z_;window.Luigi.globalSearch=()=>X_;window.Luigi.theming=()=>$_;window.Luigi.featureToggles=()=>x_;window.Luigi.routing=()=>ep;class R2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=re.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:It.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=re.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const h={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:It.getCurrentLocale()})};Ae.sendMessageToIframe(o,h)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ae.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):re.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=me.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ae.getMainIframes(),p=this.getPreservedViewsInDom(g);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ae.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):h||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(n)):Ae.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ae.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ae.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(T=>{Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:T[I.userSettingsGroup]},internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const oi=new R2;class D2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=re.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(g=>g.luigi&&g.luigi.preloading&&o-g.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(g=>g.vg).filter(Boolean),d=Object.entries(l).filter(([g,p])=>!h.includes(g)).filter(([g,p])=>p&&p.preloadUrl);t&&d.forEach(([g,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,g,r)}),!t&&d.filter((g,p)=>p<e).forEach(([g,p])=>{console.debug("preloading view group "+g+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,g,r)})}preloadIframeOnBackground(e,t,n){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const sr=new D2;class V2{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(Gn.hasRootNode()&&(l=Gn.getRootNode().node),!l){const g=await e;le.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),Gn.setRootNode(l)}const r=n.split("/"),o={...te.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);c.isExistingRoute=!n||r.length===h.length;const d=n.split("/");return c.matchedPath=d.filter((g,p)=>h[p]&&h[p].startsWith(":")||h[p]===g).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Gn.hasChildren(e)){let r=Gn.getChildren(e);r&&(n=r.children)}else try{n=await rs.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Gn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Gn.hasChildren(e)?Ut.getChildrenFromCache(e):await Ut.getChildren(e)}getChildrenFromCache(e){let t=Gn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>re.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,a)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,a.hideFromNav&&(c.hideFromNav=a.hideFromNav),c.children=[l(r,a)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let h=re.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=hr.sanitizeParam(o)),h=me.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const g=e.slice(1);a=this.buildNode(g,t,d,h,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const h=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const g=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!g&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
1
|
+
var $w=Object.defineProperty;var xw=(i,e,t)=>e in i?$w(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Fl=(i,e,t)=>(xw(i,typeof e!="symbol"?e+"":e,t),t);function He(){}function ek(i,e){for(const t in e)i[t]=e[t];return i}function tk(i){return i&&typeof i=="object"&&typeof i.then=="function"}function G_(i){return i()}function Kf(){return Object.create(null)}function Qe(i){i.forEach(G_)}function vi(i){return typeof i=="function"}function Tt(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let $a;function et(i,e){return $a||($a=document.createElement("a")),$a.href=e,i===$a.href}function nk(i){return Object.keys(i).length===0}function Wo(i,...e){if(i==null)return He;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function ol(i){let e;return Wo(i,t=>e=t)(),e}function wi(i,e,t){i.$$.on_destroy.push(Wo(e,t))}function ds(i,e,t,n){if(i){const l=K_(i,e,t,n);return i[0](l)}}function K_(i,e,t,n){return i[1]&&n?ek(t.ctx.slice(),i[1](n(e))):t.ctx}function hs(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function gs(i,e,t,n,l,r){if(l){const a=K_(e,t,n,r);i.p(a,l)}}function _s(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function ei(i){return i??""}function j_(i){return i&&vi(i.destroy)?i.destroy:He}function w(i,e){i.appendChild(e)}function A(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode&&i.parentNode.removeChild(i)}function ut(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function S(i){return document.createElement(i)}function ik(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function Ne(i){return document.createTextNode(i)}function W(){return Ne(" ")}function ke(){return Ne("")}function ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function mt(i){return function(e){return e.preventDefault(),i.call(this,e)}}function Ut(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function f(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function lk(i){return Array.from(i.childNodes)}function Le(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function jf(i,e){i.value=e??""}function Mn(i,e,t,n){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}function Jt(i,e,t){i.classList[t?"add":"remove"](e)}function rk(i,e,{bubbles:t=!1,cancelable:n=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(i,t,n,e),l}class _r{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=ik(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)A(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(L)}}let Gr;function Wi(i){Gr=i}function gl(){if(!Gr)throw new Error("Function called outside component initialization");return Gr}function jn(i){gl().$$.before_update.push(i)}function rn(i){gl().$$.on_mount.push(i)}function Yr(i){gl().$$.after_update.push(i)}function Qr(i){gl().$$.on_destroy.push(i)}function Yt(){const i=gl();return(e,t,{cancelable:n=!1}={})=>{const l=i.$$.callbacks[e];if(l){const r=rk(e,t,{cancelable:n});return l.slice().forEach(a=>{a.call(i,r)}),!r.defaultPrevented}return!0}}function Hr(i,e){return gl().$$.context.set(i,e),e}function kt(i){return gl().$$.context.get(i)}function Ul(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const qr=[],Je=[],ts=[],Oo=[],ak=Promise.resolve();let Mo=!1;function sk(){Mo||(Mo=!0,ak.then(qo))}function Fo(i){ts.push(i)}function vt(i){Oo.push(i)}const Ro=new Set;let xa=0;function qo(){const i=Gr;do{for(;xa<qr.length;){const e=qr[xa];xa++,Wi(e),ok(e.$$)}for(Wi(null),qr.length=0,xa=0;Je.length;)Je.pop()();for(let e=0;e<ts.length;e+=1){const t=ts[e];Ro.has(t)||(Ro.add(t),t())}ts.length=0}while(qr.length);for(;Oo.length;)Oo.pop()();Mo=!1,Ro.clear(),Wi(i)}function ok(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(Fo)}}const ns=new Set;let Bl;function ve(){Bl={r:0,c:[],p:Bl}}function we(){Bl.r||Qe(Bl.c),Bl=Bl.p}function R(i,e){i&&i.i&&(ns.delete(i),i.i(e))}function U(i,e,t,n){if(i&&i.o){if(ns.has(i))return;ns.add(i),Bl.c.push(()=>{ns.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ls(i,e){const t=e.token={};function n(l,r,a,o){if(e.token!==t)return;e.resolved=o;let c=e.ctx;a!==void 0&&(c=c.slice(),c[a]=o);const h=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((g,p)=>{p!==r&&g&&(ve(),U(g,1,1,()=>{e.blocks[p]===g&&(e.blocks[p]=null)}),we())}):e.block.d(1),h.c(),R(h,1),h.m(e.mount(),e.anchor),d=!0),e.block=h,e.blocks&&(e.blocks[r]=h),d&&qo()}if(tk(i)){const l=gl();if(i.then(r=>{Wi(l),n(e.then,1,e.value,r),Wi(null)},r=>{if(Wi(l),n(e.catch,2,e.error,r),Wi(null),!e.hasCatch)throw r}),e.current!==e.pending)return n(e.pending,0),!0}else{if(e.current!==e.then)return n(e.then,1,e.value,i),!0;e.resolved=i}}function J_(i,e,t){const n=e.slice(),{resolved:l}=i;i.current===i.then&&(n[i.value]=l),i.current===i.catch&&(n[i.error]=l),i.block.p(n,t)}const _l=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function wt(i,e,t,n){const l=i.$$.props[e];l!==void 0&&(i.$$.bound[l]=t,n===void 0&&t(i.$$.ctx[l]))}function Ue(i){i&&i.c()}function Me(i,e,t,n){const{fragment:l,after_update:r}=i.$$;l&&l.m(e,t),n||Fo(()=>{const a=i.$$.on_mount.map(G_).filter(vi);i.$$.on_destroy?i.$$.on_destroy.push(...a):Qe(a),i.$$.on_mount=[]}),r.forEach(Fo)}function Fe(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 uk(i,e){i.$$.dirty[0]===-1&&(qr.push(i),sk(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Et(i,e,t,n,l,r,a,o=[-1]){const c=Gr;Wi(i);const h=i.$$={fragment:null,ctx:[],props:r,update:He,not_equal:l,bound:Kf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Kf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(h.root);let d=!1;if(h.ctx=t?t(i,e.props||{},(g,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[g],h.ctx[g]=m)&&(!h.skip_bound&&h.bound[g]&&h.bound[g](m),d&&uk(i,g)),p}):[],h.update(),d=!0,Qe(h.before_update),h.fragment=n?n(h.ctx):!1,e.target){if(e.hydrate){const g=lk(e.target);h.fragment&&h.fragment.l(g),g.forEach(L)}else h.fragment&&h.fragment.c();e.intro&&R(i.$$.fragment),Me(i,e.target,e.anchor,e.customElement),qo()}Wi(c)}class Rt{$destroy(){Fe(this,1),this.$destroy=He}$on(e,t){if(!vi(t))return He;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!nk(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class fk{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...n){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,n):this.wrapAsPromise(l)}}const rs=new fk;class ck{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const as=new ck;class dk{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let n=0;n<t.length;n++)this.deleteNodesRecursively(t[n])}this.dataManagement.delete(e)}}const Kn=new dk;let hk=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{Jk.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=pn.optimizeScope(e);t.length>0?t.forEach(n=>{window.Luigi._store.fire(n,{current:window.Luigi._store})}):window.Luigi._store.update(n=>n)}setErrorMessage(e){var t=document.createTextNode(e),n=document.createElement("div");n.setAttribute("class","fd-ui"),n.setAttribute("style","text-align: center;");var l=document.createElement("div");l.setAttribute("class","fd-message-strip fd-message-strip--error"),l.setAttribute("style","max-width: 800px; display: inline-block; margin-top: 40px;"),l.appendChild(t),n.appendChild(l),qi.getLuigiContainer().appendChild(n)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return rs.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...n){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await rs.applyFunctionPromisified(l,n)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return bi.isAuthorizationEnabled()}unload(){this.initialized=!1,hn.unload(),Fn.removeAllEventListeners();const e=qi.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(){Kn.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(n=>{n.titleResolver&&n.titleResolver._cache&&(n.titleResolver._cache=void 0),n.children&&e(n.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}updateContextValues(e){const t=Ae.getMicrofrontendIframes();t&&t.length>0&&t.forEach(n=>{n.luigi&&Ae.sendMessageToIframe(n,{msg:"luigi.navigate",context:JSON.stringify(Object.assign({},JSON.parse(n.luigi._lastUpdatedMessage.context),e)),nodeParams:n.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},n.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(n.luigi.currentNode))),internal:Ae.applyCoreStateData(JSON.parse(n.luigi._lastUpdatedMessage.internal))})}),document.querySelector(".wcContainer")&&document.querySelectorAll("[lui_web_component=true]").forEach(l=>{l.context=Object.assign({},l.context,e)})}};const ss=new hk;let gk=class{constructor(){}isAuthorizationEnabled(){return!!te.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&hn.startAuthorization()}logout(){this.isAuthorizationEnabled()&&hn.logout()}async handleAuthEvent(e,t,n,l){const r=await te.executeConfigFnAsync("auth.events."+e,!1,t,n);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return te.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>ui.getStorageKey(),getStorageType:()=>ui.getStorageType(),getAuthData:()=>ui.getAuthData(),setAuthData:e=>ui.setAuthData(e),removeAuthData:()=>ui.removeAuthData(),setNewlyAuthorized:()=>ui.setNewlyAuthorized()}}};const Y_=new gk,fn={desktopMinWidth:600},_k=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],pk={cssSelector:"[luigi-app-root]"},mk={cssSelector:"[luigi-app-loading-indicator]"};let bk=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(pk.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const Q_=new bk;class vk{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class In extends vk{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromParent:!1,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,n,l,r){if(this.options.errorSkipNavigation)return this.options.errorSkipNavigation=!1,Promise.reject(new Error("navigation skipped"));this.options.preserveView=t;const a=e[0]!=="/";if(e==="/"&&(n||l||r))return console.warn("Navigation with an absolute path prevented."),Promise.reject(new Error("Navigation with an absolute path prevented."));const o=le.createRemotePromise(),c={msg:"luigi.navigation.open",params:Object.assign(this.options,{link:e,relative:a,modal:n,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}navigateToIntent(e,t={}){var l;let n="#?intent=";if(n+=e,t&&((l=Object.keys(t))!=null&&l.length)){const r=Object.entries(t);if(r.length>0){n+="?";for(const[a,o]of r)n+=a+"="+o+"&";n=n.slice(0,-1)}}this.navigate(n)}openAsModal(e,t={},n){if(le.isFunction(n)){const l=le.createRemotePromise();l.then(r=>{n(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this.options.fromParent=!1,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this.options.fromParent=!1,this}fromParent(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!1,this.options.fromParent=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}getCurrentRoute(){return Luigi._app.ctx[Luigi._app.props.buildPathForGetCurrentRoute](this.options)}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class wk{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,n,l,r){return new In().navigate(e,t,n,l,r)}navigateToIntent(e,t){return new In().navigateToIntent(e,t)}openAsModal(e,t,n){return new In().openAsModal(e,t,n)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new In().openAsSplitView(e,t)}openAsDrawer(e,t){return new In().openAsDrawer(e,t)}fromContext(e){return new In().fromContext(e)}fromClosestContext(){return new In().fromClosestContext()}fromVirtualTreeRoot(){return new In().fromVirtualTreeRoot()}fromParent(){return new In().fromParent()}getCurrentRoute(){return new In().getCurrentRoute()}withParams(e){return new In().withParams(e)}pathExists(e){return new In().pathExists(e)}hasBack(){return new In().hasBack()}goBack(e){return new In().goBack(e)}}const Z_=new wk,kk={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},Sk=kk;class Ck{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=Sk,this.listeners={}}_init(){pn.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),ss.configChanged()}_initCustomImplementation(){this.translationImpl=ss.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,n=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,n);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,n){let l=e.split(".");for(let r=0;r<l.length;r++){let a=l[r];if(t.hasOwnProperty(a)&&typeof t[a]=="object")t=t[a];else return n?this.findInterpolations(t[a],n):t[a]}}findInterpolations(e,t){return typeof e!="string"||!e.trim()||Object.keys(t).forEach(n=>{e=e.replace(new RegExp("{"+gr.escapeKeyForRegexp(n)+"}","gi"),t[n])}),e}}const X_=new Ck;class yk{sendToAll(e){const t=as.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(n=>n.container).map(n=>Ae.sendMessageToIframe(n,t))}send(e,t){const n=as.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,n))}}const Pk=new yk,sr=[];function Ik(i,e){return{subscribe:dr(i,e).subscribe}}function dr(i,e=He){let t;const n=new Set;function l(o){if(Tt(i,o)&&(i=o,t)){const c=!sr.length;for(const h of n)h[1](),sr.push(h,i);if(c){for(let h=0;h<sr.length;h+=2)sr[h][0](sr[h+1]);sr.length=0}}}function r(o){l(o(i))}function a(o,c=He){const h=[o,c];return n.add(h),n.size===1&&(t=e(l)||He),o(i),()=>{n.delete(h),n.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class Nk{initial(){this.responsiveNavSetting=te.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(re.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth?this.isSemiCollapsed=t?!0:this.getCollapsed():this.isSemiCollapsed=t?!1:this.getCollapsed(),this.setCollapsed(this.isSemiCollapsed),this.previousWindowWidth=window.innerWidth,{isSemiCollapsed:this.isSemiCollapsed,semiCollapsible:this.semiCollapsible}}onValueChanged(e){this.valueChangedFns?this.valueChangedFns.push(e):this.valueChangedFns=[e]}onResize(e){const t=window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&this.previousWindowWidth>=fn.desktopMinWidth,n=window.innerWidth!==0&&window.innerWidth>fn.desktopMinWidth&&this.previousWindowWidth>=fn.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&n&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(re.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(n=>n({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(re.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const mi=new Nk;let Tk=class{constructor(){this.documentTitle=dr()}hideAppLoadingIndicator(){const e=document.querySelector(mk.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return ol(this.documentTitle)}collapseLeftSideNav(e){mi.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new In().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}getCurrentTheme(){return Luigi.theming().getCurrentTheme()}};const $_=new Tk;let Lk=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const x_=new Lk;let Ak=class{constructor(){this.currentTheme}async getAvailableThemes(){return await te.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(n=>n.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=te.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!te.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=te.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(n=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+n);l&&(window.Luigi.__cssVars[n]=l)})}catch(t){le.isFunction(te.getConfigValue("settings.theming.variables.errorHandling"))?te.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else te.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=te.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&jr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const n=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(n):n}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};pn.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const ep=new Ak;let Ek=class{constructor(){this.featureToggleList=dr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||ol(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=ol(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}ol(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...ol(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return ol(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):ol(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const tp=new Ek;let Rk=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(te.getConfigValue("routing.useHashRouting"))for(const[n,l]of new URLSearchParams(t.hash.split("?")[1]))e[n]=l;else for(const[n,l]of t.searchParams.entries())e[n]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=new URL(location);te.getConfigValue("routing.useHashRouting")?n.hash=be.addParamsOnHashRouting(e,n.hash):be.modifySearchParams(e,n.searchParams),this.handleBrowserHistory(t,n),te.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const n=be.getContentViewParamPrefix(),l=new URL(location);te.getConfigValue("routing.useHashRouting")?l.hash=be.addParamsOnHashRouting(e,l.hash,n):be.modifySearchParams(e,l.searchParams,n),this.handleBrowserHistory(t,l),te.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const n=this.sanitizeUrl(t.href);if(!n){console.warn("invalid url: "+n);return}e?window.history.pushState({},"",n):window.history.replaceState({},"",n)}getAnchor(){const{hash:e}=new URL(location);return te.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(te.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),n=t.split("#"),r=n.length>2?n.slice(0,-1):n;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const np=new Rk,te=ss,bi=Y_,qi=Q_,ip=Z_,It=X_,Zr=$_,Dk=x_,Uo=ep,zo=tp,ul=np;window.Luigi=ss;window.Luigi.auth=()=>Y_;window.Luigi.elements=()=>Q_;window.Luigi.navigation=()=>Z_;window.Luigi.i18n=()=>X_;window.Luigi.customMessages=()=>Pk;window.Luigi.ux=()=>$_;window.Luigi.globalSearch=()=>x_;window.Luigi.theming=()=>ep;window.Luigi.featureToggles=()=>tp;window.Luigi.routing=()=>np;class Vk{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(n=>n.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),n=this.getPreservedViewsInDom(t);if(n.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),n[0].pv=void 0,n[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(n=>{!le.isElementVisible(n)&&!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}hasIsolatedView(e,t,n){return e||n&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=re.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:It.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,n){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(n)e.removeChild(o);else{const c=re.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const h={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:It.getCurrentLocale()})};Ae.sendMessageToIframe(o,h)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,n){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ae.removeIframe(e.iframe,n),e.iframe=void 0,e.isFallbackFrame=!0,console.info("navigate: luigi-client did not respond, using fallback by replacing iframe"),await this.navigateIframe(e,t,n))},this.iframeNavFallbackTimeout)}checkIframe(e,t,n,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(n=e.viewUrl,t.set({viewUrl:n}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):re.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,n){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=be.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(n);const g=Ae.getMainIframes(),p=this.getPreservedViewsInDom(g);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(n,void 0,!0)),d&&c&&(d=this.switchActiveIframe(n,void 0,!d.vg));let v;if(!c&&l.viewGroup){const y=Ae.getMainIframes().filter(P=>P.vg===l.viewGroup);y.length>0&&(v=y[0],d=this.switchActiveIframe(n,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(n,void 0,!1):h||(d=this.switchActiveIframe(n,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&n.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(n)):Ae.removeElementChildren(n),l.viewUrl){le.getConfigValueFromObject(l,"currentNode.loadingIndicator.enabled")!==!1?t.set({showLoadingIndicator:!0}):t.set({showLoadingIndicator:!1}),e.navigateOk=void 0;const v=l.viewGroup&&!c&&this.canCache(l.viewGroup);e.iframe=Ae.createIframe(r,v?l.viewGroup:void 0,t.get().currentNode,"main",l),n.insertBefore(e.iframe,n.firstChild),e.builderCompatibilityMode?e.iframe.addEventListener("load",()=>{e.iframe._ready=!0;const y=["init",JSON.stringify(l.context)];Ae.sendMessageToIframe(e.iframe,y)}):e.iframe.addEventListener("load",()=>{e.iframe._ready=!0});const C=l.currentNode.pageErrorHandler;C?this.checkIframe(C,t,r,e,n):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,n)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(T=>{Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:T[I.userSettingsGroup]},internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:I.luigi._lastUpdatedMessage.context,nodeParams:I.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},I.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,n)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const oi=new Vk;class Ok{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(te.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=re.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(g=>g.luigi&&g.luigi.preloading&&o-g.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(g=>g.vg).filter(Boolean),d=Object.entries(l).filter(([g,p])=>!h.includes(g)).filter(([g,p])=>p&&p.preloadUrl);t&&d.forEach(([g,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,g,r)}),!t&&d.filter((g,p)=>p<e).forEach(([g,p])=>{console.debug("preloading view group "+g+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,g,r)})}preloadIframeOnBackground(e,t,n){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,n.appendChild(l)}preload(e){this.shouldPreload&&setTimeout(()=>{this.preloadViewGroups(this.preloadBatchSize,e)},e),this.shouldPreload=!0}viewGroupLoaded(e){if(e.luigi.preloading){const t=new Date().getTime()-e.luigi.createdAt;let n=1;t<500?n=3:t<1e3&&(n=2),this.preloadBatchSize=n,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const or=new Ok;class Mk{async getNavigationPath(e,t=""){try{const n=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Kn.hasRootNode()&&(l=Kn.getRootNode().node),!l){const g=await e;le.isObject(g)?(l=g,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:g},l.children=await this.getChildren(l),Kn.setRootNode(l)}const r=n.split("/"),o={...te.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(g=>g.pathSegment).map(g=>g.pathSegment);c.isExistingRoute=!n||r.length===h.length;const d=n.split("/");return c.matchedPath=d.filter((g,p)=>h[p]&&h[p].startsWith(":")||h[p]===g).join("/"),c}catch(n){console.error("Failed to load top navigation nodes.",n)}}async getChildren(e,t){if(!e)return[];let n=[];if(Kn.hasChildren(e)){let r=Kn.getChildren(e);r&&(n=r.children)}else try{n=await rs.getConfigValueFromObjectAsync(e,"children",t||e.context),n==null&&(n=[]),n=n.map(r=>this.getExpandStructuralPathSegment(r)).map(r=>this.bindChildToParent(r,e))||[]}catch(r){console.error("Could not lazy-load children for node",r)}let l=this.getAccessibleNodes(e,n,t);return Kn.setChildren(e,{children:n,filteredChildren:l}),l}async getFilteredChildren(e){return Kn.hasChildren(e)?Ft.getChildrenFromCache(e):await Ft.getChildren(e)}getChildrenFromCache(e){let t=Kn.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,n){return t?t.filter(l=>re.isNodeAccessPermitted(l,e,n)):[]}bindChildToParent(e,t){return t&&t.pathSegment&&(e.parent=t),e}getExpandStructuralPathSegment(e){if(e&&e.pathSegment&&e.pathSegment.indexOf("/")!==-1){const t=e.pathSegment.split("/"),n={...e},l=(r,a)=>{const o=r.shift();let c={};return r.length?(c.pathSegment=o,a.hideFromNav&&(c.hideFromNav=a.hideFromNav),c.children=[l(r,a)]):(c=n,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,n,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&n&&n.length>0){const o=e[0],c=this.findMatchingNode(o,n);if(c){t.push(c);let h=re.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=gr.sanitizeParam(o)),h=be.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const g=e.slice(1);a=this.buildNode(g,t,d,h,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,n){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return n?(l+=":virtualSegment_"+n+"/",e+"/"+l):e}buildVirtualTree(e,t,n){const l=e.virtualTree,r=e._virtualTree,a=e._virtualViewUrl||e.viewUrl;if((l||r)&&t[0]){let o=e._virtualPathIndex;if(l&&(o=0,e.keepSelectedForChildren=!0),o>50)return;o++;const h=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,h);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,n,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const g=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!g&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
2
2
|
Children nodes are redundant and ignored when virtualTree is enabled.
|
|
3
3
|
Please refer to documentation`),e.children=[d]}}findMatchingNode(e,t){let n=null;const l=t.filter(a=>!!a.pathSegment).length,r=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":")).length;return e=e.includes("#")?e.split("#").shift():e,l>1&&(r===1&&(console.warn(`Invalid node setup detected.
|
|
4
4
|
Static and dynamic nodes cannot be used together on the same level. Static node gets cleaned up.
|
|
5
5
|
Remove the static node from the configuration to resolve this warning.
|
|
6
6
|
Affected pathSegment:`,e,"Children:",t),t=t.filter(a=>a.pathSegment&&a.pathSegment.startsWith(":"))),r>1)?(console.error(`Invalid node setup detected.
|
|
7
7
|
Multiple dynamic nodes are not allowed on the same level. Stopped navigation.
|
|
8
|
-
Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.pathSegment.startsWith(":"))return n=a,!0}),n)}onNodeChange(e,t){const n=te.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(
|
|
8
|
+
Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.pathSegment.startsWith(":"))return n=a,!0}),n)}onNodeChange(e,t){const n=te.getConfigValue("navigation.nodeChangeHook");typeof n=="function"?n(e,t):n!==void 0&&console.warn("nodeChangeHook is not a function!")}getNodesToDisplay(e,t){if(e&&e.length>0)return{children:e};if(t.length>1&&(t[0].topNav===!1||t.length>2)){const n=t[t.length-2];if(Kn.hasChildren(n))return{children:this.getChildrenFromCache(n),parent:n}}return{children:[]}}getGroupedChildren(e,t){const n=this.getNodesToDisplay(e,t.pathData);return Array.isArray(n)?re.groupNodesBy(n,"category",!0):{children:re.groupNodesBy(n.children,"category",!0),parent:n.parent}}getTruncatedChildren(e){let t=!1,n=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(n=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!n&&!be.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const r=this.getTruncatedChildren(t.pathData);let a=[...r].pop(),o;(a.keepSelectedForChildren||a.tabNav)&&(o=a,r.pop(),a=[...r].pop());const c=await this.getChildren(a,(l=t.pathData)==null?void 0:l._context),h=this.getGroupedChildren(c,e);n.navParent=h.parent||a,n.context=e.pathData._context,n.hasCategoriesWithIcon=!1;const d=h.children;Object.values(d).forEach(p=>{!n.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(n.hasCategoriesWithIcon=!0)}),n.selectedNode=o||a,n.children=d,te.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(n.children,n.selectedNode,re.getSideNavAccordionMode(n.selectedNode))}return n}expandCategoriesByNavigationFn(e,t,n){if(e)for(const[l,r]of Object.entries(e))r.forEach(a=>{a===t&&r.metaInfo&&r.metaInfo.collapsible&&re.storeExpandedState(r.metaInfo.categoryUid,!0,n)})}getTruncatedChildrenForTabNav(e){const t=[];for(let n=e.length-1;n>=0;n--)if(e[n].tabNav)return e.slice(0,n+2);return t}async getTabNavData(e,t){var l;const n={};if(e.pathData&&e.pathData.length>0&&(e.pathData[0].topNav===!1||e.pathData.length>1)){const a=[...this.getTruncatedChildrenForTabNav(t.pathData)].pop(),o=await this.getChildren(a.tabNav?a:re.getParentNode(a,e.pathData),(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;n.selectedNode=a,n.selectedNodeForTabNav=a,n.children=c}return n}async extractDataFromPath(e){const t=await this.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:be.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(le.isFunction(e.onNodeActivation)||le.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Ft=new Mk,dl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},Fk={externalLink:{sameWindow:!1}};class hr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class Uk extends hr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=lp({use:e.use.extends,config:e.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class Bk extends hr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let n="";return this.config.layouts&&this.config.layouts.forEach(l=>{if(l.minWidth||l.maxWidth){let r="@media only screen ";l.minWidth!=null&&(r+=`and (min-width: ${l.minWidth}px) `),l.maxWidth!=null&&(r+=`and (max-width: ${l.maxWidth}px) `),r+=`{
|
|
9
9
|
.${e} {
|
|
10
10
|
grid-template-columns: ${l.columns||"auto"};
|
|
11
11
|
grid-template-rows: ${l.rows||"auto"};
|
|
@@ -23,42 +23,42 @@ Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.p
|
|
|
23
23
|
}
|
|
24
24
|
${n}
|
|
25
25
|
</style>
|
|
26
|
-
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const
|
|
26
|
+
`,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n}}const lp=i=>{const e=i.use;if(e){if(e==="grid")return new Bk(i);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new Uk(i)}else return new hr(i);return new hr(i)},Jf=(i,e,t,n)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,a=i[r],o={wcElementId:t,wcElement:n,action:l.action,converter:l.dataConverter};a?a.push(o):i[r]=[o]})},Hk=i=>Object.entries(i).reduce((e,t)=>(e[Yf(t[0])]=Yf(t[1]),e),{}),Yf=(i="")=>String(i).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/"),Wk="500px",qk="0px";class zk{constructor(){Fl(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(/* webpackIgnore: true */e)}attachWC(e,t,n,l,r,a,o,c){if(n&&n.contains(t)){const h=document.createElement(e);a&&h.setAttribute("nodeId",a),h.setAttribute("lui_web_component",!0),this.initWC(h,e,n,r,l,a,o),n.replaceChild(h,t),c&&(this.removeTemporaryHeightFromCompoundItemContainer(n),this.wcContainerData.delete(n))}}initWC(e,t,n,l,r,a,o){const c=r.context;e.extendedContext=r,e.extendedContext.currentNode&&(e.extendedContext.clientPermissions=e.extendedContext.currentNode.clientPermissions);const h={linkManager:window.Luigi.navigation,uxManager:window.Luigi.ux,getCurrentLocale:()=>window.Luigi.i18n().getCurrentLocale(),publishEvent:g=>{n.eventBus&&n.eventBus.onPublishEvent(g,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var g;return(g=e.extendedContext)!=null&&g.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const g={clientPermissions:e.extendedContext.clientPermissions};return be.prepareSearchParamsForClient(g)},getClientPermissions:()=>{var g;return(g=e.extendedContext)!=null&&g.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(g,p)=>{o||window.Luigi.routing().addNodeParams(g,p)},getNodeParams:g=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return g?Hk(p):e.extendedContext.nodeParams},setAnchor:g=>{o||window.Luigi.routing().setAnchor(g)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(n._luigi_node),setViewGroupData:g=>{const p=re.findViewGroup(n._luigi_node);if(p){const b=re.getViewGroupSettings(p);b._liveCustomData=g,te.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const g=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,h,g.origin+g.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=h;const d=te.getConfigValue("settings.webcomponentCreationInterceptor");le.isFunction(d)&&d(e,r.currentNode,r,a,o)}generateWCId(e){let t="",n=new URL(e,encodeURI(location.href)).href;for(let l=0;l<n.length;l++)t+=n.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=be.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(n)?this.dynamicImport(n).then(a=>{try{if(!window.customElements.get(t)){let o=a.default;if(!HTMLElement.isPrototypeOf(o)){let c=Object.keys(a);for(let h=0;h<c.length&&(o=a[c[h]],!HTMLElement.isPrototypeOf(o));h++);}window.customElements.define(t,o)}l()}catch(o){r(o)}}).catch(a=>r(a)):(console.warn(`View URL '${n}' not allowed to be included`),r(`View URL '${n}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(r,a)=>{const o=this.generateWCId(r);window.customElements.get(o)||window.customElements.define(o,a)});let l=document.createElement("script");l.setAttribute("src",t),e.webcomponent.type==="module"&&l.setAttribute("type","module"),l.setAttribute("defer",!0),l.addEventListener("load",()=>{n()}),document.body.appendChild(l)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){if(e.indexOf("://")>0||e.trim().indexOf("//")===0){if(new URL(e).host===window.location.host)return!0;const n=te.getConfigValue("navigation.validWebcomponentUrls");if(n&&n.length>0)for(let l of n)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,n,l,r,a,o){var p;const c=n.context,h=be.substituteViewUrl(e,{context:c}),d=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(h),g=document.createElement("div");t.appendChild(g),t._luigi_node=l,window.customElements.get(d)?this.attachWC(d,g,t,n,h,r,a,o):window.luigiWCFn?window.luigiWCFn(h,d,g,()=>{this.attachWC(d,g,t,n,h,r,a,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,h,()=>{this.attachWC(d,g,t,n,h,r,a,o)}):this.registerWCFromUrl(h,d).then(()=>{this.attachWC(d,g,t,n,h,r,a,o)})}createCompoundContainerAsync(e,t,n){return new Promise((l,r)=>{var a,o;if(e.viewUrl)try{const c=((a=n==null?void 0:n.webcomponent)==null?void 0:a.tagName)||this.generateWCId(e.viewUrl);(o=n==null?void 0:n.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,()=>{const h=document.createElement(c);h.setAttribute("lui_web_component",!0),this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const h=document.createElement(c);h.setAttribute("lui_web_component",!0),this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)})}catch(c){r(c)}else l(e.createCompoundContainer())})}intersectionObserverCallback(e,t){e.filter(l=>l.isIntersecting).forEach(l=>{const r=l.target,a=this.wcContainerData.get(r);a?this.renderWebComponent(a.viewUrl,a.wc_container,a.extendedContext,a.node,a.nodeId,a.isSpecialMf,!0):console.error("Could not find WC container data",{for:r}),t.unobserve(r)})}setTemporaryHeightForCompoundItemContainer(e,t,n){var r,a,o;if(((r=t.lazyLoadingOptions)==null?void 0:r.noTemporaryContainerHeight)===!0)return;const l=((a=n.layoutConfig)==null?void 0:a.temporaryContainerHeight)||((o=t.lazyLoadingOptions)==null?void 0:o.temporaryContainerHeight)||Wk;e.style.height=l}removeTemporaryHeightFromCompoundItemContainer(e){const t=this.wcContainerData.get(e);(t==null?void 0:t.noTemporaryContainerHeight)!==!0&&e.style.removeProperty("height")}getCompoundRenderer(e,t){const n=e.webcomponent&&!!e.viewUrl;let l;return n?(l=new hr,l.viewUrl=be.substituteViewUrl(e.viewUrl,{context:t}),l.createCompoundItemContainer=r=>{var a=document.createElement("div");return r&&r.slot&&a.setAttribute("slot",r.slot),a}):e.compound.renderer?l=lp(e.compound.renderer):l=new hr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((n,l)=>{this.intersectionObserverCallback(n,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||qk})}renderWebComponentCompound(e,t,n){var c,h;const l=((h=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:h.enabled)===!0,r=n.context,a=this.getCompoundRenderer(e,r);let o;return l&&(o=this.createIntersectionObserver(e)),t._luigi_node=e,new Promise(d=>{this.createCompoundContainerAsync(a,n,e).then(g=>{const p={};g.eventBus={listeners:p,onPublishEvent:(b,m,v)=>{const C=p[m+"."+b.type]||[];C.push(...p["*."+b.type]||[]),C.forEach(y=>{const P=y.wcElement||g.querySelector("[nodeId="+y.wcElementId+"]");P?P.dispatchEvent(new CustomEvent(y.action,{detail:y.converter?y.converter(b.detail):b.detail})):console.debug("Could not find event target",y)})}},e.compound.children.forEach((b,m)=>{var P;const v={...r,...b.context},C=a.createCompoundItemContainer(b.layoutConfig),y=b.id||"gen_"+m;C.eventBus=g.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(C,e.compound,b),a.attachCompoundItem(g,C),this.wcContainerData.set(C,{viewUrl:b.viewUrl,wc_container:C,extendedContext:{context:v},node:b,nodeId:y,isSpecialMf:!0,noTemporaryContainerHeight:(P=e.compound.lazyLoadingOptions)==null?void 0:P.noTemporaryContainerHeight}),o.observe(C)):(a.attachCompoundItem(g,C),this.renderWebComponent(b.viewUrl,C,{context:v},b,y,!0,!1)),Jf(p,b,y)}),t.appendChild(g),Jf(p,e.compound,"_root",g),d(g)})})}getUserSettingsForWc(e){return new Promise((t,n)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;te.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else n(null)})}}const fr=new zk;var Wr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},os={exports:{}};/**
|
|
27
27
|
* @license
|
|
28
28
|
* Lodash <https://lodash.com/>
|
|
29
29
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
30
30
|
* Released under MIT license <https://lodash.com/license>
|
|
31
31
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
32
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
-
*/os.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",g=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,I=8,T=16,V=32,E=64,H=128,D=256,O=512,z=30,Z="...",Q=800,ce=16,$=1,G=2,K=3,fe=1/0,oe=9007199254740991,ne=17976931348623157e292,ae=0/0,Se=4294967295,ie=Se-1,Re=Se>>>1,qe=[["ary",H],["bind",C],["bindKey",y],["curry",I],["curryRight",T],["flip",O],["partial",V],["partialRight",E],["rearg",D]],ye="[object Arguments]",Pe="[object Array]",Ve="[object AsyncFunction]",ht="[object Boolean]",We="[object Date]",et="[object DOMException]",Nt="[object Error]",ge="[object Function]",lt="[object GeneratorFunction]",St="[object Map]",Zt="[object Number]",fn="[object Null]",zt="[object Object]",cn="[object Promise]",Te="[object Proxy]",Ke="[object RegExp]",Rt="[object Set]",Xt="[object String]",Tt="[object Symbol]",jn="[object Undefined]",$t="[object WeakMap]",dn="[object WeakSet]",Jn="[object ArrayBuffer]",Yt="[object DataView]",Ln="[object Float32Array]",vi="[object Float64Array]",wi="[object Int8Array]",bn="[object Int16Array]",ki="[object Int32Array]",Si="[object Uint8Array]",Ci="[object Uint8ClampedArray]",yi="[object Uint16Array]",Pi="[object Uint32Array]",hl=/\b__p \+= '';/g,gl=/\b(__p \+=) '' \+/g,_l=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ii=/&(?:amp|lt|gt|quot|#39);/g,Hi=/[&<>"']/g,Wi=RegExp(Ii.source),fi=RegExp(Hi.source),pl=/<%-([\s\S]+?)%>/g,ml=/<%([\s\S]+?)%>/g,qi=/<%=([\s\S]+?)%>/g,bl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,vl=/^\w*$/,wl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ni=/[\\^$.*+?()[\]{}|]/g,kl=RegExp(Ni.source),ni=/^\s+/,J=/\s/,ke=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ye=/\{\n\/\* \[wrapped with (.+)\] \*/,tt=/,? & /,pt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ct=/[()=,{}\[\]\/\s]/,xt=/\\(\\)?/g,Lt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Fn=/\w*$/,Sl=/^[-+]0x[0-9a-f]+$/i,Hl=/^0b[01]+$/i,_r=/^\[object .+?Constructor\]$/,zi=/^0o[0-7]+$/i,Cl=/^(?:0|[1-9]\d*)$/,yl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ci=/($^)/,Wl=/['\n\r\u2028\u2029\\]/g,Ti="\\ud800-\\udfff",pr="\\u0300-\\u036f",Y="\\ufe20-\\ufe2f",Mt="\\u20d0-\\u20ff",vn=pr+Y+Mt,ii="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",Gi="\\xac\\xb1\\xd7\\xf7",rn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ql="\\u2000-\\u206f",Xr=" \\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",$r="A-Z\\xc0-\\xd6\\xd8-\\xde",Ki="\\ufe0e\\ufe0f",xr=Gi+rn+ql+Xr,br="['’]",ps="["+Ti+"]",ea="["+xr+"]",ji="["+vn+"]",ta="\\d+",ms="["+ii+"]",na="["+mr+"]",vr="[^"+Ti+xr+ta+ii+mr+$r+"]",wr="\\ud83c[\\udffb-\\udfff]",ia="(?:"+ji+"|"+wr+")",la="[^"+Ti+"]",zl="(?:\\ud83c[\\udde6-\\uddff]){2}",kr="[\\ud800-\\udbff][\\udc00-\\udfff]",Ji="["+$r+"]",ra="\\u200d",aa="(?:"+na+"|"+vr+")",bs="(?:"+Ji+"|"+vr+")",sa="(?:"+br+"(?:d|ll|m|re|s|t|ve))?",oa="(?:"+br+"(?:D|LL|M|RE|S|T|VE))?",ua=ia+"?",fa="["+Ki+"]?",vs="(?:"+ra+"(?:"+[la,zl,kr].join("|")+")"+fa+ua+")*",ws="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ks="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ca=fa+ua+vs,Ss="(?:"+[ms,zl,kr].join("|")+")"+ca,Cs="(?:"+[la+ji+"?",ji,zl,kr,ps].join("|")+")",ys=RegExp(br,"g"),Ps=RegExp(ji,"g"),Sr=RegExp(wr+"(?="+wr+")|"+Cs+ca,"g"),B=RegExp([Ji+"?"+na+"+"+sa+"(?="+[ea,Ji,"$"].join("|")+")",bs+"+"+oa+"(?="+[ea,Ji+aa,"$"].join("|")+")",Ji+"?"+aa+"+"+sa,Ji+"+"+oa,ks,ws,ta,Ss].join("|"),"g"),ue=RegExp("["+ra+Ti+vn+Ki+"]"),Ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ze=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Oe=-1,de={};de[Ln]=de[vi]=de[wi]=de[bn]=de[ki]=de[Si]=de[Ci]=de[yi]=de[Pi]=!0,de[ye]=de[Pe]=de[Jn]=de[ht]=de[Yt]=de[We]=de[Nt]=de[ge]=de[St]=de[Zt]=de[zt]=de[Ke]=de[Rt]=de[Xt]=de[$t]=!1;var Ie={};Ie[ye]=Ie[Pe]=Ie[Jn]=Ie[Yt]=Ie[ht]=Ie[We]=Ie[Ln]=Ie[vi]=Ie[wi]=Ie[bn]=Ie[ki]=Ie[St]=Ie[Zt]=Ie[zt]=Ie[Ke]=Ie[Rt]=Ie[Xt]=Ie[Tt]=Ie[Si]=Ie[Ci]=Ie[yi]=Ie[Pi]=!0,Ie[Nt]=Ie[ge]=Ie[$t]=!1;var kt={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ht={"&":"&","<":"<",">":">",'"':""","'":"'"},Cr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Yi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},yr=parseFloat,Qi=parseInt,Gl=typeof Wr=="object"&&Wr&&Wr.Object===Object&&Wr,je=typeof self=="object"&&self&&self.Object===Object&&self,nt=Gl||je||Function("return this")(),Dt=e&&!e.nodeType&&e,Wt=Dt&&!0&&i&&!i.nodeType&&i,An=Wt&&Wt.exports===Dt,Un=An&&Gl.process,hn=function(){try{var X=Wt&&Wt.require&&Wt.require("util").types;return X||Un&&Un.binding&&Un.binding("util")}catch{}}(),Kl=hn&&hn.isArrayBuffer,Pl=hn&&hn.isDate,Is=hn&&hn.isMap,jl=hn&&hn.isRegExp,da=hn&&hn.isSet,Il=hn&&hn.isTypedArray;function an(X,he,se){switch(se.length){case 0:return X.call(he);case 1:return X.call(he,se[0]);case 2:return X.call(he,se[0],se[1]);case 3:return X.call(he,se[0],se[1],se[2])}return X.apply(he,se)}function wn(X,he,se,Be){for(var it=-1,yt=X==null?0:X.length;++it<yt;){var sn=X[it];he(Be,sn,se(sn),X)}return Be}function Gt(X,he){for(var se=-1,Be=X==null?0:X.length;++se<Be&&he(X[se],se,X)!==!1;);return X}function Ns(X,he){for(var se=X==null?0:X.length;se--&&he(X[se],se,X)!==!1;);return X}function Ko(X,he){for(var se=-1,Be=X==null?0:X.length;++se<Be;)if(!he(X[se],se,X))return!1;return!0}function Zi(X,he){for(var se=-1,Be=X==null?0:X.length,it=0,yt=[];++se<Be;){var sn=X[se];he(sn,se,X)&&(yt[it++]=sn)}return yt}function ha(X,he){var se=X==null?0:X.length;return!!se&&Jl(X,he,0)>-1}function Ts(X,he,se){for(var Be=-1,it=X==null?0:X.length;++Be<it;)if(se(he,X[Be]))return!0;return!1}function qt(X,he){for(var se=-1,Be=X==null?0:X.length,it=Array(Be);++se<Be;)it[se]=he(X[se],se,X);return it}function Xi(X,he){for(var se=-1,Be=he.length,it=X.length;++se<Be;)X[it+se]=he[se];return X}function Ls(X,he,se,Be){var it=-1,yt=X==null?0:X.length;for(Be&&yt&&(se=X[++it]);++it<yt;)se=he(se,X[it],it,X);return se}function kp(X,he,se,Be){var it=X==null?0:X.length;for(Be&&it&&(se=X[--it]);it--;)se=he(se,X[it],it,X);return se}function As(X,he){for(var se=-1,Be=X==null?0:X.length;++se<Be;)if(he(X[se],se,X))return!0;return!1}var Sp=Es("length");function Cp(X){return X.split("")}function yp(X){return X.match(pt)||[]}function jo(X,he,se){var Be;return se(X,function(it,yt,sn){if(he(it,yt,sn))return Be=yt,!1}),Be}function ga(X,he,se,Be){for(var it=X.length,yt=se+(Be?1:-1);Be?yt--:++yt<it;)if(he(X[yt],yt,X))return yt;return-1}function Jl(X,he,se){return he===he?Mp(X,he,se):ga(X,Jo,se)}function Pp(X,he,se,Be){for(var it=se-1,yt=X.length;++it<yt;)if(Be(X[it],he))return it;return-1}function Jo(X){return X!==X}function Yo(X,he){var se=X==null?0:X.length;return se?Ds(X,he)/se:ae}function Es(X){return function(he){return he==null?t:he[X]}}function Rs(X){return function(he){return X==null?t:X[he]}}function Qo(X,he,se,Be,it){return it(X,function(yt,sn,Ft){se=Be?(Be=!1,yt):he(se,yt,sn,Ft)}),se}function Ip(X,he){var se=X.length;for(X.sort(he);se--;)X[se]=X[se].value;return X}function Ds(X,he){for(var se,Be=-1,it=X.length;++Be<it;){var yt=he(X[Be]);yt!==t&&(se=se===t?yt:se+yt)}return se}function Vs(X,he){for(var se=-1,Be=Array(X);++se<X;)Be[se]=he(se);return Be}function Np(X,he){return qt(he,function(se){return[se,X[se]]})}function Zo(X){return X&&X.slice(0,eu(X)+1).replace(ni,"")}function Bn(X){return function(he){return X(he)}}function Os(X,he){return qt(he,function(se){return X[se]})}function Pr(X,he){return X.has(he)}function Xo(X,he){for(var se=-1,Be=X.length;++se<Be&&Jl(he,X[se],0)>-1;);return se}function $o(X,he){for(var se=X.length;se--&&Jl(he,X[se],0)>-1;);return se}function Tp(X,he){for(var se=X.length,Be=0;se--;)X[se]===he&&++Be;return Be}var Lp=Rs(kt),Ap=Rs(Ht);function Ep(X){return"\\"+Yi[X]}function Rp(X,he){return X==null?t:X[he]}function Yl(X){return ue.test(X)}function Dp(X){return Ee.test(X)}function Vp(X){for(var he,se=[];!(he=X.next()).done;)se.push(he.value);return se}function Ms(X){var he=-1,se=Array(X.size);return X.forEach(function(Be,it){se[++he]=[it,Be]}),se}function xo(X,he){return function(se){return X(he(se))}}function $i(X,he){for(var se=-1,Be=X.length,it=0,yt=[];++se<Be;){var sn=X[se];(sn===he||sn===d)&&(X[se]=d,yt[it++]=se)}return yt}function _a(X){var he=-1,se=Array(X.size);return X.forEach(function(Be){se[++he]=Be}),se}function Op(X){var he=-1,se=Array(X.size);return X.forEach(function(Be){se[++he]=[Be,Be]}),se}function Mp(X,he,se){for(var Be=se-1,it=X.length;++Be<it;)if(X[Be]===he)return Be;return-1}function Fp(X,he,se){for(var Be=se+1;Be--;)if(X[Be]===he)return Be;return Be}function Ql(X){return Yl(X)?Bp(X):Sp(X)}function li(X){return Yl(X)?Hp(X):Cp(X)}function eu(X){for(var he=X.length;he--&&J.test(X.charAt(he)););return he}var Up=Rs(Cr);function Bp(X){for(var he=Sr.lastIndex=0;Sr.test(X);)++he;return he}function Hp(X){return X.match(Sr)||[]}function Wp(X){return X.match(B)||[]}var qp=function X(he){he=he==null?nt:Zl.defaults(nt.Object(),he,Zl.pick(nt,ze));var se=he.Array,Be=he.Date,it=he.Error,yt=he.Function,sn=he.Math,Ft=he.Object,Fs=he.RegExp,zp=he.String,Yn=he.TypeError,pa=se.prototype,Gp=yt.prototype,Xl=Ft.prototype,ma=he["__core-js_shared__"],ba=Gp.toString,At=Xl.hasOwnProperty,Kp=0,tu=function(){var s=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),va=Xl.toString,jp=ba.call(Ft),Jp=nt._,Yp=Fs("^"+ba.call(At).replace(Ni,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wa=An?he.Buffer:t,xi=he.Symbol,ka=he.Uint8Array,nu=wa?wa.allocUnsafe:t,Sa=xo(Ft.getPrototypeOf,Ft),iu=Ft.create,lu=Xl.propertyIsEnumerable,Ca=pa.splice,ru=xi?xi.isConcatSpreadable:t,Ir=xi?xi.iterator:t,Nl=xi?xi.toStringTag:t,ya=function(){try{var s=Rl(Ft,"defineProperty");return s({},"",{}),s}catch{}}(),Qp=he.clearTimeout!==nt.clearTimeout&&he.clearTimeout,Zp=Be&&Be.now!==nt.Date.now&&Be.now,Xp=he.setTimeout!==nt.setTimeout&&he.setTimeout,Pa=sn.ceil,Ia=sn.floor,Us=Ft.getOwnPropertySymbols,$p=wa?wa.isBuffer:t,au=he.isFinite,xp=pa.join,em=xo(Ft.keys,Ft),on=sn.max,kn=sn.min,tm=Be.now,nm=he.parseInt,su=sn.random,im=pa.reverse,Bs=Rl(he,"DataView"),Nr=Rl(he,"Map"),Hs=Rl(he,"Promise"),$l=Rl(he,"Set"),Tr=Rl(he,"WeakMap"),Lr=Rl(Ft,"create"),Na=Tr&&new Tr,xl={},lm=Dl(Bs),rm=Dl(Nr),am=Dl(Hs),sm=Dl($l),om=Dl(Tr),Ta=xi?xi.prototype:t,Ar=Ta?Ta.valueOf:t,ou=Ta?Ta.toString:t;function M(s){if(Qt(s)&&!rt(s)&&!(s instanceof gt)){if(s instanceof Qn)return s;if(At.call(s,"__wrapped__"))return ff(s)}return new Qn(s)}var er=function(){function s(){}return function(u){if(!Kt(u))return{};if(iu)return iu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function La(){}function Qn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:pl,evaluate:ml,interpolate:qi,variable:"",imports:{_:M}},M.prototype=La.prototype,M.prototype.constructor=M,Qn.prototype=er(La.prototype),Qn.prototype.constructor=Qn;function gt(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function um(){var s=new gt(this.__wrapped__);return s.__actions__=En(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=En(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=En(this.__views__),s}function fm(){if(this.__filtered__){var s=new gt(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function cm(){var s=this.__wrapped__.value(),u=this.__dir__,_=rt(s),k=u<0,N=_?s.length:0,F=C1(0,N,this.__views__),q=F.start,j=F.end,x=j-q,_e=k?j:q-1,pe=this.__iteratees__,Ce=pe.length,De=0,Ge=kn(x,this.__takeCount__);if(!_||!k&&N==x&&Ge==x)return Ru(s,this.__actions__);var Xe=[];e:for(;x--&&De<Ge;){_e+=u;for(var ot=-1,$e=s[_e];++ot<Ce;){var dt=pe[ot],_t=dt.iteratee,qn=dt.type,In=_t($e);if(qn==G)$e=In;else if(!In){if(qn==$)continue e;break e}}Xe[De++]=$e}return Xe}gt.prototype=er(La.prototype),gt.prototype.constructor=gt;function Tl(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function dm(){this.__data__=Lr?Lr(null):{},this.size=0}function hm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function gm(s){var u=this.__data__;if(Lr){var _=u[s];return _===c?t:_}return At.call(u,s)?u[s]:t}function _m(s){var u=this.__data__;return Lr?u[s]!==t:At.call(u,s)}function pm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Lr&&u===t?c:u,this}Tl.prototype.clear=dm,Tl.prototype.delete=hm,Tl.prototype.get=gm,Tl.prototype.has=_m,Tl.prototype.set=pm;function Li(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function mm(){this.__data__=[],this.size=0}function bm(s){var u=this.__data__,_=Aa(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Ca.call(u,_,1),--this.size,!0}function vm(s){var u=this.__data__,_=Aa(u,s);return _<0?t:u[_][1]}function wm(s){return Aa(this.__data__,s)>-1}function km(s,u){var _=this.__data__,k=Aa(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Li.prototype.clear=mm,Li.prototype.delete=bm,Li.prototype.get=vm,Li.prototype.has=wm,Li.prototype.set=km;function Ai(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function Sm(){this.size=0,this.__data__={hash:new Tl,map:new(Nr||Li),string:new Tl}}function Cm(s){var u=qa(this,s).delete(s);return this.size-=u?1:0,u}function ym(s){return qa(this,s).get(s)}function Pm(s){return qa(this,s).has(s)}function Im(s,u){var _=qa(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Ai.prototype.clear=Sm,Ai.prototype.delete=Cm,Ai.prototype.get=ym,Ai.prototype.has=Pm,Ai.prototype.set=Im;function Ll(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Ai;++u<_;)this.add(s[u])}function Nm(s){return this.__data__.set(s,c),this}function Tm(s){return this.__data__.has(s)}Ll.prototype.add=Ll.prototype.push=Nm,Ll.prototype.has=Tm;function ri(s){var u=this.__data__=new Li(s);this.size=u.size}function Lm(){this.__data__=new Li,this.size=0}function Am(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Em(s){return this.__data__.get(s)}function Rm(s){return this.__data__.has(s)}function Dm(s,u){var _=this.__data__;if(_ instanceof Li){var k=_.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Ai(k)}return _.set(s,u),this.size=_.size,this}ri.prototype.clear=Lm,ri.prototype.delete=Am,ri.prototype.get=Em,ri.prototype.has=Rm,ri.prototype.set=Dm;function uu(s,u){var _=rt(s),k=!_&&Vl(s),N=!_&&!k&&ll(s),F=!_&&!k&&!N&&lr(s),q=_||k||N||F,j=q?Vs(s.length,zp):[],x=j.length;for(var _e in s)(u||At.call(s,_e))&&!(q&&(_e=="length"||N&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Vi(_e,x)))&&j.push(_e);return j}function fu(s){var u=s.length;return u?s[Xs(0,u-1)]:t}function Vm(s,u){return za(En(s),Al(u,0,s.length))}function Om(s){return za(En(s))}function Ws(s,u,_){(_!==t&&!ai(s[u],_)||_===t&&!(u in s))&&Ei(s,u,_)}function Er(s,u,_){var k=s[u];(!(At.call(s,u)&&ai(k,_))||_===t&&!(u in s))&&Ei(s,u,_)}function Aa(s,u){for(var _=s.length;_--;)if(ai(s[_][0],u))return _;return-1}function Mm(s,u,_,k){return el(s,function(N,F,q){u(k,N,_(N),q)}),k}function cu(s,u){return s&&hi(u,gn(u),s)}function Fm(s,u){return s&&hi(u,Dn(u),s)}function Ei(s,u,_){u=="__proto__"&&ya?ya(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function qs(s,u){for(var _=-1,k=u.length,N=se(k),F=s==null;++_<k;)N[_]=F?t:Co(s,u[_]);return N}function Al(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Zn(s,u,_,k,N,F){var q,j=u&g,x=u&p,_e=u&b;if(_&&(q=N?_(s,k,N,F):_(s)),q!==t)return q;if(!Kt(s))return s;var pe=rt(s);if(pe){if(q=P1(s),!j)return En(s,q)}else{var Ce=Sn(s),De=Ce==ge||Ce==lt;if(ll(s))return Ou(s,j);if(Ce==zt||Ce==ye||De&&!N){if(q=x||De?{}:ef(s),!j)return x?g1(s,Fm(q,s)):h1(s,cu(q,s))}else{if(!Ie[Ce])return N?s:{};q=I1(s,Ce,j)}}F||(F=new ri);var Ge=F.get(s);if(Ge)return Ge;F.set(s,q),Af(s)?s.forEach(function($e){q.add(Zn($e,u,_,$e,s,F))}):Tf(s)&&s.forEach(function($e,dt){q.set(dt,Zn($e,u,_,dt,s,F))});var Xe=_e?x?oo:so:x?Dn:gn,ot=pe?t:Xe(s);return Gt(ot||s,function($e,dt){ot&&(dt=$e,$e=s[dt]),Er(q,dt,Zn($e,u,_,dt,s,F))}),q}function Um(s){var u=gn(s);return function(_){return du(_,s,u)}}function du(s,u,_){var k=_.length;if(s==null)return!k;for(s=Ft(s);k--;){var N=_[k],F=u[N],q=s[N];if(q===t&&!(N in s)||!F(q))return!1}return!0}function hu(s,u,_){if(typeof s!="function")throw new Yn(a);return Ur(function(){s.apply(t,_)},u)}function Rr(s,u,_,k){var N=-1,F=ha,q=!0,j=s.length,x=[],_e=u.length;if(!j)return x;_&&(u=qt(u,Bn(_))),k?(F=Ts,q=!1):u.length>=l&&(F=Pr,q=!1,u=new Ll(u));e:for(;++N<j;){var pe=s[N],Ce=_==null?pe:_(pe);if(pe=k||pe!==0?pe:0,q&&Ce===Ce){for(var De=_e;De--;)if(u[De]===Ce)continue e;x.push(pe)}else F(u,Ce,k)||x.push(pe)}return x}var el=Hu(di),gu=Hu(Gs,!0);function Bm(s,u){var _=!0;return el(s,function(k,N,F){return _=!!u(k,N,F),_}),_}function Ea(s,u,_){for(var k=-1,N=s.length;++k<N;){var F=s[k],q=u(F);if(q!=null&&(j===t?q===q&&!Wn(q):_(q,j)))var j=q,x=F}return x}function Hm(s,u,_,k){var N=s.length;for(_=st(_),_<0&&(_=-_>N?0:N+_),k=k===t||k>N?N:st(k),k<0&&(k+=N),k=_>k?0:Rf(k);_<k;)s[_++]=u;return s}function _u(s,u){var _=[];return el(s,function(k,N,F){u(k,N,F)&&_.push(k)}),_}function pn(s,u,_,k,N){var F=-1,q=s.length;for(_||(_=T1),N||(N=[]);++F<q;){var j=s[F];u>0&&_(j)?u>1?pn(j,u-1,_,k,N):Xi(N,j):k||(N[N.length]=j)}return N}var zs=Wu(),pu=Wu(!0);function di(s,u){return s&&zs(s,u,gn)}function Gs(s,u){return s&&pu(s,u,gn)}function Ra(s,u){return Zi(u,function(_){return Oi(s[_])})}function El(s,u){u=nl(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[gi(u[_++])];return _&&_==k?s:t}function mu(s,u,_){var k=u(s);return rt(s)?k:Xi(k,_(s))}function yn(s){return s==null?s===t?jn:fn:Nl&&Nl in Ft(s)?S1(s):O1(s)}function Ks(s,u){return s>u}function Wm(s,u){return s!=null&&At.call(s,u)}function qm(s,u){return s!=null&&u in Ft(s)}function zm(s,u,_){return s>=kn(u,_)&&s<on(u,_)}function js(s,u,_){for(var k=_?Ts:ha,N=s[0].length,F=s.length,q=F,j=se(F),x=1/0,_e=[];q--;){var pe=s[q];q&&u&&(pe=qt(pe,Bn(u))),x=kn(pe.length,x),j[q]=!_&&(u||N>=120&&pe.length>=120)?new Ll(q&&pe):t}pe=s[0];var Ce=-1,De=j[0];e:for(;++Ce<N&&_e.length<x;){var Ge=pe[Ce],Xe=u?u(Ge):Ge;if(Ge=_||Ge!==0?Ge:0,!(De?Pr(De,Xe):k(_e,Xe,_))){for(q=F;--q;){var ot=j[q];if(!(ot?Pr(ot,Xe):k(s[q],Xe,_)))continue e}De&&De.push(Xe),_e.push(Ge)}}return _e}function Gm(s,u,_,k){return di(s,function(N,F,q){u(k,_(N),F,q)}),k}function Dr(s,u,_){u=nl(u,s),s=rf(s,u);var k=s==null?s:s[gi($n(u))];return k==null?t:an(k,s,_)}function bu(s){return Qt(s)&&yn(s)==ye}function Km(s){return Qt(s)&&yn(s)==Jn}function jm(s){return Qt(s)&&yn(s)==We}function Vr(s,u,_,k,N){return s===u?!0:s==null||u==null||!Qt(s)&&!Qt(u)?s!==s&&u!==u:Jm(s,u,_,k,Vr,N)}function Jm(s,u,_,k,N,F){var q=rt(s),j=rt(u),x=q?Pe:Sn(s),_e=j?Pe:Sn(u);x=x==ye?zt:x,_e=_e==ye?zt:_e;var pe=x==zt,Ce=_e==zt,De=x==_e;if(De&&ll(s)){if(!ll(u))return!1;q=!0,pe=!1}if(De&&!pe)return F||(F=new ri),q||lr(s)?Xu(s,u,_,k,N,F):w1(s,u,x,_,k,N,F);if(!(_&m)){var Ge=pe&&At.call(s,"__wrapped__"),Xe=Ce&&At.call(u,"__wrapped__");if(Ge||Xe){var ot=Ge?s.value():s,$e=Xe?u.value():u;return F||(F=new ri),N(ot,$e,_,k,F)}}return De?(F||(F=new ri),k1(s,u,_,k,N,F)):!1}function Ym(s){return Qt(s)&&Sn(s)==St}function Js(s,u,_,k){var N=_.length,F=N,q=!k;if(s==null)return!F;for(s=Ft(s);N--;){var j=_[N];if(q&&j[2]?j[1]!==s[j[0]]:!(j[0]in s))return!1}for(;++N<F;){j=_[N];var x=j[0],_e=s[x],pe=j[1];if(q&&j[2]){if(_e===t&&!(x in s))return!1}else{var Ce=new ri;if(k)var De=k(_e,pe,x,s,u,Ce);if(!(De===t?Vr(pe,_e,m|v,k,Ce):De))return!1}}return!0}function vu(s){if(!Kt(s)||A1(s))return!1;var u=Oi(s)?Yp:_r;return u.test(Dl(s))}function Qm(s){return Qt(s)&&yn(s)==Ke}function Zm(s){return Qt(s)&&Sn(s)==Rt}function Xm(s){return Qt(s)&&Qa(s.length)&&!!de[yn(s)]}function wu(s){return typeof s=="function"?s:s==null?Vn:typeof s=="object"?rt(s)?Cu(s[0],s[1]):Su(s):zf(s)}function Ys(s){if(!Fr(s))return em(s);var u=[];for(var _ in Ft(s))At.call(s,_)&&_!="constructor"&&u.push(_);return u}function $m(s){if(!Kt(s))return V1(s);var u=Fr(s),_=[];for(var k in s)k=="constructor"&&(u||!At.call(s,k))||_.push(k);return _}function Qs(s,u){return s<u}function ku(s,u){var _=-1,k=Rn(s)?se(s.length):[];return el(s,function(N,F,q){k[++_]=u(N,F,q)}),k}function Su(s){var u=fo(s);return u.length==1&&u[0][2]?nf(u[0][0],u[0][1]):function(_){return _===s||Js(_,s,u)}}function Cu(s,u){return ho(s)&&tf(u)?nf(gi(s),u):function(_){var k=Co(_,s);return k===t&&k===u?yo(_,s):Vr(u,k,m|v)}}function Da(s,u,_,k,N){s!==u&&zs(u,function(F,q){if(N||(N=new ri),Kt(F))xm(s,u,q,_,Da,k,N);else{var j=k?k(_o(s,q),F,q+"",s,u,N):t;j===t&&(j=F),Ws(s,q,j)}},Dn)}function xm(s,u,_,k,N,F,q){var j=_o(s,_),x=_o(u,_),_e=q.get(x);if(_e){Ws(s,_,_e);return}var pe=F?F(j,x,_+"",s,u,q):t,Ce=pe===t;if(Ce){var De=rt(x),Ge=!De&&ll(x),Xe=!De&&!Ge&&lr(x);pe=x,De||Ge||Xe?rt(j)?pe=j:en(j)?pe=En(j):Ge?(Ce=!1,pe=Ou(x,!0)):Xe?(Ce=!1,pe=Mu(x,!0)):pe=[]:Br(x)||Vl(x)?(pe=j,Vl(j)?pe=Df(j):(!Kt(j)||Oi(j))&&(pe=ef(x))):Ce=!1}Ce&&(q.set(x,pe),N(pe,x,k,F,q),q.delete(x)),Ws(s,_,pe)}function yu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Vi(u,_)?s[u]:t}function Pu(s,u,_){u.length?u=qt(u,function(F){return rt(F)?function(q){return El(q,F.length===1?F[0]:F)}:F}):u=[Vn];var k=-1;u=qt(u,Bn(Qe()));var N=ku(s,function(F,q,j){var x=qt(u,function(_e){return _e(F)});return{criteria:x,index:++k,value:F}});return Ip(N,function(F,q){return d1(F,q,_)})}function e1(s,u){return Iu(s,u,function(_,k){return yo(s,k)})}function Iu(s,u,_){for(var k=-1,N=u.length,F={};++k<N;){var q=u[k],j=El(s,q);_(j,q)&&Or(F,nl(q,s),j)}return F}function t1(s){return function(u){return El(u,s)}}function Zs(s,u,_,k){var N=k?Pp:Jl,F=-1,q=u.length,j=s;for(s===u&&(u=En(u)),_&&(j=qt(s,Bn(_)));++F<q;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=N(j,pe,x,k))>-1;)j!==s&&Ca.call(j,x,1),Ca.call(s,x,1);return s}function Nu(s,u){for(var _=s?u.length:0,k=_-1;_--;){var N=u[_];if(_==k||N!==F){var F=N;Vi(N)?Ca.call(s,N,1):eo(s,N)}}return s}function Xs(s,u){return s+Ia(su()*(u-s+1))}function n1(s,u,_,k){for(var N=-1,F=on(Pa((u-s)/(_||1)),0),q=se(F);F--;)q[k?F:++N]=s,s+=_;return q}function $s(s,u){var _="";if(!s||u<1||u>oe)return _;do u%2&&(_+=s),u=Ia(u/2),u&&(s+=s);while(u);return _}function ut(s,u){return po(lf(s,u,Vn),s+"")}function i1(s){return fu(rr(s))}function l1(s,u){var _=rr(s);return za(_,Al(u,0,_.length))}function Or(s,u,_,k){if(!Kt(s))return s;u=nl(u,s);for(var N=-1,F=u.length,q=F-1,j=s;j!=null&&++N<F;){var x=gi(u[N]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(N!=q){var pe=j[x];_e=k?k(pe,x,j):t,_e===t&&(_e=Kt(pe)?pe:Vi(u[N+1])?[]:{})}Er(j,x,_e),j=j[x]}return s}var Tu=Na?function(s,u){return Na.set(s,u),s}:Vn,r1=ya?function(s,u){return ya(s,"toString",{configurable:!0,enumerable:!1,value:Io(u),writable:!0})}:Vn;function a1(s){return za(rr(s))}function Xn(s,u,_){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),_=_>N?N:_,_<0&&(_+=N),N=u>_?0:_-u>>>0,u>>>=0;for(var F=se(N);++k<N;)F[k]=s[k+u];return F}function s1(s,u){var _;return el(s,function(k,N,F){return _=u(k,N,F),!_}),!!_}function Va(s,u,_){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Re){for(;k<N;){var F=k+N>>>1,q=s[F];q!==null&&!Wn(q)&&(_?q<=u:q<u)?k=F+1:N=F}return N}return xs(s,u,Vn,_)}function xs(s,u,_,k){var N=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,j=u===null,x=Wn(u),_e=u===t;N<F;){var pe=Ia((N+F)/2),Ce=_(s[pe]),De=Ce!==t,Ge=Ce===null,Xe=Ce===Ce,ot=Wn(Ce);if(q)var $e=k||Xe;else _e?$e=Xe&&(k||De):j?$e=Xe&&De&&(k||!Ge):x?$e=Xe&&De&&!Ge&&(k||!ot):Ge||ot?$e=!1:$e=k?Ce<=u:Ce<u;$e?N=pe+1:F=pe}return kn(F,ie)}function Lu(s,u){for(var _=-1,k=s.length,N=0,F=[];++_<k;){var q=s[_],j=u?u(q):q;if(!_||!ai(j,x)){var x=j;F[N++]=q===0?0:q}}return F}function Au(s){return typeof s=="number"?s:Wn(s)?ae:+s}function Hn(s){if(typeof s=="string")return s;if(rt(s))return qt(s,Hn)+"";if(Wn(s))return ou?ou.call(s):"";var u=s+"";return u=="0"&&1/s==-fe?"-0":u}function tl(s,u,_){var k=-1,N=ha,F=s.length,q=!0,j=[],x=j;if(_)q=!1,N=Ts;else if(F>=l){var _e=u?null:b1(s);if(_e)return _a(_e);q=!1,N=Pr,x=new Ll}else x=u?[]:j;e:for(;++k<F;){var pe=s[k],Ce=u?u(pe):pe;if(pe=_||pe!==0?pe:0,q&&Ce===Ce){for(var De=x.length;De--;)if(x[De]===Ce)continue e;u&&x.push(Ce),j.push(pe)}else N(x,Ce,_)||(x!==j&&x.push(Ce),j.push(pe))}return j}function eo(s,u){return u=nl(u,s),s=rf(s,u),s==null||delete s[gi($n(u))]}function Eu(s,u,_,k){return Or(s,u,_(El(s,u)),k)}function Oa(s,u,_,k){for(var N=s.length,F=k?N:-1;(k?F--:++F<N)&&u(s[F],F,s););return _?Xn(s,k?0:F,k?F+1:N):Xn(s,k?F+1:0,k?N:F)}function Ru(s,u){var _=s;return _ instanceof gt&&(_=_.value()),Ls(u,function(k,N){return N.func.apply(N.thisArg,Xi([k],N.args))},_)}function to(s,u,_){var k=s.length;if(k<2)return k?tl(s[0]):[];for(var N=-1,F=se(k);++N<k;)for(var q=s[N],j=-1;++j<k;)j!=N&&(F[N]=Rr(F[N]||q,s[j],u,_));return tl(pn(F,1),u,_)}function Du(s,u,_){for(var k=-1,N=s.length,F=u.length,q={};++k<N;){var j=k<F?u[k]:t;_(q,s[k],j)}return q}function no(s){return en(s)?s:[]}function io(s){return typeof s=="function"?s:Vn}function nl(s,u){return rt(s)?s:ho(s,u)?[s]:uf(Pt(s))}var o1=ut;function il(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Xn(s,u,_)}var Vu=Qp||function(s){return nt.clearTimeout(s)};function Ou(s,u){if(u)return s.slice();var _=s.length,k=nu?nu(_):new s.constructor(_);return s.copy(k),k}function lo(s){var u=new s.constructor(s.byteLength);return new ka(u).set(new ka(s)),u}function u1(s,u){var _=u?lo(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function f1(s){var u=new s.constructor(s.source,Fn.exec(s));return u.lastIndex=s.lastIndex,u}function c1(s){return Ar?Ft(Ar.call(s)):{}}function Mu(s,u){var _=u?lo(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Fu(s,u){if(s!==u){var _=s!==t,k=s===null,N=s===s,F=Wn(s),q=u!==t,j=u===null,x=u===u,_e=Wn(u);if(!j&&!_e&&!F&&s>u||F&&q&&x&&!j&&!_e||k&&q&&x||!_&&x||!N)return 1;if(!k&&!F&&!_e&&s<u||_e&&_&&N&&!k&&!F||j&&_&&N||!q&&N||!x)return-1}return 0}function d1(s,u,_){for(var k=-1,N=s.criteria,F=u.criteria,q=N.length,j=_.length;++k<q;){var x=Fu(N[k],F[k]);if(x){if(k>=j)return x;var _e=_[k];return x*(_e=="desc"?-1:1)}}return s.index-u.index}function Uu(s,u,_,k){for(var N=-1,F=s.length,q=_.length,j=-1,x=u.length,_e=on(F-q,0),pe=se(x+_e),Ce=!k;++j<x;)pe[j]=u[j];for(;++N<q;)(Ce||N<F)&&(pe[_[N]]=s[N]);for(;_e--;)pe[j++]=s[N++];return pe}function Bu(s,u,_,k){for(var N=-1,F=s.length,q=-1,j=_.length,x=-1,_e=u.length,pe=on(F-j,0),Ce=se(pe+_e),De=!k;++N<pe;)Ce[N]=s[N];for(var Ge=N;++x<_e;)Ce[Ge+x]=u[x];for(;++q<j;)(De||N<F)&&(Ce[Ge+_[q]]=s[N++]);return Ce}function En(s,u){var _=-1,k=s.length;for(u||(u=se(k));++_<k;)u[_]=s[_];return u}function hi(s,u,_,k){var N=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var j=u[F],x=k?k(_[j],s[j],j,_,s):t;x===t&&(x=s[j]),N?Ei(_,j,x):Er(_,j,x)}return _}function h1(s,u){return hi(s,co(s),u)}function g1(s,u){return hi(s,$u(s),u)}function Ma(s,u){return function(_,k){var N=rt(_)?wn:Mm,F=u?u():{};return N(_,s,Qe(k,2),F)}}function tr(s){return ut(function(u,_){var k=-1,N=_.length,F=N>1?_[N-1]:t,q=N>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(N--,F):t,q&&Pn(_[0],_[1],q)&&(F=N<3?t:F,N=1),u=Ft(u);++k<N;){var j=_[k];j&&s(u,j,k,F)}return u})}function Hu(s,u){return function(_,k){if(_==null)return _;if(!Rn(_))return s(_,k);for(var N=_.length,F=u?N:-1,q=Ft(_);(u?F--:++F<N)&&k(q[F],F,q)!==!1;);return _}}function Wu(s){return function(u,_,k){for(var N=-1,F=Ft(u),q=k(u),j=q.length;j--;){var x=q[s?j:++N];if(_(F[x],x,F)===!1)break}return u}}function _1(s,u,_){var k=u&C,N=Mr(s);function F(){var q=this&&this!==nt&&this instanceof F?N:s;return q.apply(k?_:this,arguments)}return F}function qu(s){return function(u){u=Pt(u);var _=Yl(u)?li(u):t,k=_?_[0]:u.charAt(0),N=_?il(_,1).join(""):u.slice(1);return k[s]()+N}}function nr(s){return function(u){return Ls(Wf(Hf(u).replace(ys,"")),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 _=er(s.prototype),k=s.apply(_,u);return Kt(k)?k:_}}function p1(s,u,_){var k=Mr(s);function N(){for(var F=arguments.length,q=se(F),j=F,x=ir(N);j--;)q[j]=arguments[j];var _e=F<3&&q[0]!==x&&q[F-1]!==x?[]:$i(q,x);if(F-=_e.length,F<_)return Ju(s,u,Fa,N.placeholder,t,q,_e,t,t,_-F);var pe=this&&this!==nt&&this instanceof N?k:s;return an(pe,this,q)}return N}function zu(s){return function(u,_,k){var N=Ft(u);if(!Rn(u)){var F=Qe(_,3);u=gn(u),_=function(j){return F(N[j],j,N)}}var q=s(u,_,k);return q>-1?N[F?u[q]:q]:t}}function Gu(s){return Di(function(u){var _=u.length,k=_,N=Qn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new Yn(a);if(N&&!q&&Wa(F)=="wrapper")var q=new Qn([],!0)}for(k=q?k:_;++k<_;){F=u[k];var j=Wa(F),x=j=="wrapper"?uo(F):t;x&&go(x[0])&&x[1]==(H|I|V|D)&&!x[4].length&&x[9]==1?q=q[Wa(x[0])].apply(q,x[3]):q=F.length==1&&go(F)?q[j]():q.thru(F)}return function(){var _e=arguments,pe=_e[0];if(q&&_e.length==1&&rt(pe))return q.plant(pe).value();for(var Ce=0,De=_?u[Ce].apply(this,_e):pe;++Ce<_;)De=u[Ce].call(this,De);return De}})}function Fa(s,u,_,k,N,F,q,j,x,_e){var pe=u&H,Ce=u&C,De=u&y,Ge=u&(I|T),Xe=u&O,ot=De?t:Mr(s);function $e(){for(var dt=arguments.length,_t=se(dt),qn=dt;qn--;)_t[qn]=arguments[qn];if(Ge)var In=ir($e),zn=Tp(_t,In);if(k&&(_t=Uu(_t,k,N,Ge)),F&&(_t=Bu(_t,F,q,Ge)),dt-=zn,Ge&&dt<_e){var tn=$i(_t,In);return Ju(s,u,Fa,$e.placeholder,_,_t,tn,j,x,_e-dt)}var si=Ce?_:this,Fi=De?si[s]:s;return dt=_t.length,j?_t=M1(_t,j):Xe&&dt>1&&_t.reverse(),pe&&x<dt&&(_t.length=x),this&&this!==nt&&this instanceof $e&&(Fi=ot||Mr(Fi)),Fi.apply(si,_t)}return $e}function Ku(s,u){return function(_,k){return Gm(_,s,u(k),{})}}function Ua(s,u){return function(_,k){var N;if(_===t&&k===t)return u;if(_!==t&&(N=_),k!==t){if(N===t)return k;typeof _=="string"||typeof k=="string"?(_=Hn(_),k=Hn(k)):(_=Au(_),k=Au(k)),N=s(_,k)}return N}}function ro(s){return Di(function(u){return u=qt(u,Bn(Qe())),ut(function(_){var k=this;return s(u,function(N){return an(N,k,_)})})})}function Ba(s,u){u=u===t?" ":Hn(u);var _=u.length;if(_<2)return _?$s(u,s):u;var k=$s(u,Pa(s/Ql(u)));return Yl(u)?il(li(k),0,s).join(""):k.slice(0,s)}function m1(s,u,_,k){var N=u&C,F=Mr(s);function q(){for(var j=-1,x=arguments.length,_e=-1,pe=k.length,Ce=se(pe+x),De=this&&this!==nt&&this instanceof q?F:s;++_e<pe;)Ce[_e]=k[_e];for(;x--;)Ce[_e++]=arguments[++j];return an(De,N?_:this,Ce)}return q}function ju(s){return function(u,_,k){return k&&typeof k!="number"&&Pn(u,_,k)&&(_=k=t),u=Mi(u),_===t?(_=u,u=0):_=Mi(_),k=k===t?u<_?1:-1:Mi(k),n1(u,_,k,s)}}function Ha(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=xn(u),_=xn(_)),s(u,_)}}function Ju(s,u,_,k,N,F,q,j,x,_e){var pe=u&I,Ce=pe?q:t,De=pe?t:q,Ge=pe?F:t,Xe=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=~(C|y));var ot=[s,u,N,Ge,Ce,Xe,De,j,x,_e],$e=_.apply(t,ot);return go(s)&&af($e,ot),$e.placeholder=k,sf($e,s,u)}function ao(s){var u=sn[s];return function(_,k){if(_=xn(_),k=k==null?0:kn(st(k),292),k&&au(_)){var N=(Pt(_)+"e").split("e"),F=u(N[0]+"e"+(+N[1]+k));return N=(Pt(F)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(_)}}var b1=$l&&1/_a(new $l([,-0]))[1]==fe?function(s){return new $l(s)}:Lo;function Yu(s){return function(u){var _=Sn(u);return _==St?Ms(u):_==Rt?Op(u):Np(u,s(u))}}function Ri(s,u,_,k,N,F,q,j){var x=u&y;if(!x&&typeof s!="function")throw new Yn(a);var _e=k?k.length:0;if(_e||(u&=~(V|E),k=N=t),q=q===t?q:on(st(q),0),j=j===t?j:st(j),_e-=N?N.length:0,u&E){var pe=k,Ce=N;k=N=t}var De=x?t:uo(s),Ge=[s,u,_,k,N,pe,Ce,F,q,j];if(De&&D1(Ge,De),s=Ge[0],u=Ge[1],_=Ge[2],k=Ge[3],N=Ge[4],j=Ge[9]=Ge[9]===t?x?0:s.length:on(Ge[9]-_e,0),!j&&u&(I|T)&&(u&=~(I|T)),!u||u==C)var Xe=_1(s,u,_);else u==I||u==T?Xe=p1(s,u,j):(u==V||u==(C|V))&&!N.length?Xe=m1(s,u,_,k):Xe=Fa.apply(t,Ge);var ot=De?Tu:af;return sf(ot(Xe,Ge),s,u)}function Qu(s,u,_,k){return s===t||ai(s,Xl[_])&&!At.call(k,_)?u:s}function Zu(s,u,_,k,N,F){return Kt(s)&&Kt(u)&&(F.set(u,s),Da(s,u,t,Zu,F),F.delete(u)),s}function v1(s){return Br(s)?t:s}function Xu(s,u,_,k,N,F){var q=_&m,j=s.length,x=u.length;if(j!=x&&!(q&&x>j))return!1;var _e=F.get(s),pe=F.get(u);if(_e&&pe)return _e==u&&pe==s;var Ce=-1,De=!0,Ge=_&v?new Ll:t;for(F.set(s,u),F.set(u,s);++Ce<j;){var Xe=s[Ce],ot=u[Ce];if(k)var $e=q?k(ot,Xe,Ce,u,s,F):k(Xe,ot,Ce,s,u,F);if($e!==t){if($e)continue;De=!1;break}if(Ge){if(!As(u,function(dt,_t){if(!Pr(Ge,_t)&&(Xe===dt||N(Xe,dt,_,k,F)))return Ge.push(_t)})){De=!1;break}}else if(!(Xe===ot||N(Xe,ot,_,k,F))){De=!1;break}}return F.delete(s),F.delete(u),De}function w1(s,u,_,k,N,F,q){switch(_){case Yt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Jn:return!(s.byteLength!=u.byteLength||!F(new ka(s),new ka(u)));case ht:case We:case Zt:return ai(+s,+u);case Nt:return s.name==u.name&&s.message==u.message;case Ke:case Xt:return s==u+"";case St:var j=Ms;case Rt:var x=k&m;if(j||(j=_a),s.size!=u.size&&!x)return!1;var _e=q.get(s);if(_e)return _e==u;k|=v,q.set(s,u);var pe=Xu(j(s),j(u),k,N,F,q);return q.delete(s),pe;case Tt:if(Ar)return Ar.call(s)==Ar.call(u)}return!1}function k1(s,u,_,k,N,F){var q=_&m,j=so(s),x=j.length,_e=so(u),pe=_e.length;if(x!=pe&&!q)return!1;for(var Ce=x;Ce--;){var De=j[Ce];if(!(q?De in u:At.call(u,De)))return!1}var Ge=F.get(s),Xe=F.get(u);if(Ge&&Xe)return Ge==u&&Xe==s;var ot=!0;F.set(s,u),F.set(u,s);for(var $e=q;++Ce<x;){De=j[Ce];var dt=s[De],_t=u[De];if(k)var qn=q?k(_t,dt,De,u,s,F):k(dt,_t,De,s,u,F);if(!(qn===t?dt===_t||N(dt,_t,_,k,F):qn)){ot=!1;break}$e||($e=De=="constructor")}if(ot&&!$e){var In=s.constructor,zn=u.constructor;In!=zn&&"constructor"in s&&"constructor"in u&&!(typeof In=="function"&&In instanceof In&&typeof zn=="function"&&zn instanceof zn)&&(ot=!1)}return F.delete(s),F.delete(u),ot}function Di(s){return po(lf(s,t,hf),s+"")}function so(s){return mu(s,gn,co)}function oo(s){return mu(s,Dn,$u)}var uo=Na?function(s){return Na.get(s)}:Lo;function Wa(s){for(var u=s.name+"",_=xl[u],k=At.call(xl,u)?_.length:0;k--;){var N=_[k],F=N.func;if(F==null||F==s)return N.name}return u}function ir(s){var u=At.call(M,"placeholder")?M:s;return u.placeholder}function Qe(){var s=M.iteratee||No;return s=s===No?wu:s,arguments.length?s(arguments[0],arguments[1]):s}function qa(s,u){var _=s.__data__;return L1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function fo(s){for(var u=gn(s),_=u.length;_--;){var k=u[_],N=s[k];u[_]=[k,N,tf(N)]}return u}function Rl(s,u){var _=Rp(s,u);return vu(_)?_:t}function S1(s){var u=At.call(s,Nl),_=s[Nl];try{s[Nl]=t;var k=!0}catch{}var N=va.call(s);return k&&(u?s[Nl]=_:delete s[Nl]),N}var co=Us?function(s){return s==null?[]:(s=Ft(s),Zi(Us(s),function(u){return lu.call(s,u)}))}:Ao,$u=Us?function(s){for(var u=[];s;)Xi(u,co(s)),s=Sa(s);return u}:Ao,Sn=yn;(Bs&&Sn(new Bs(new ArrayBuffer(1)))!=Yt||Nr&&Sn(new Nr)!=St||Hs&&Sn(Hs.resolve())!=cn||$l&&Sn(new $l)!=Rt||Tr&&Sn(new Tr)!=$t)&&(Sn=function(s){var u=yn(s),_=u==zt?s.constructor:t,k=_?Dl(_):"";if(k)switch(k){case lm:return Yt;case rm:return St;case am:return cn;case sm:return Rt;case om:return $t}return u});function C1(s,u,_){for(var k=-1,N=_.length;++k<N;){var F=_[k],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=kn(u,s+q);break;case"takeRight":s=on(s,u-q);break}}return{start:s,end:u}}function y1(s){var u=s.match(Ye);return u?u[1].split(tt):[]}function xu(s,u,_){u=nl(u,s);for(var k=-1,N=u.length,F=!1;++k<N;){var q=gi(u[k]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++k!=N?F:(N=s==null?0:s.length,!!N&&Qa(N)&&Vi(q,N)&&(rt(s)||Vl(s)))}function P1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&At.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function ef(s){return typeof s.constructor=="function"&&!Fr(s)?er(Sa(s)):{}}function I1(s,u,_){var k=s.constructor;switch(u){case Jn:return lo(s);case ht:case We:return new k(+s);case Yt:return u1(s,_);case Ln:case vi:case wi:case bn:case ki:case Si:case Ci:case yi:case Pi:return Mu(s,_);case St:return new k;case Zt:case Xt:return new k(s);case Ke:return f1(s);case Rt:return new k;case Tt:return c1(s)}}function N1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(ke,`{
|
|
33
|
+
*/os.exports;(function(i,e){(function(){var t,n="4.17.21",l=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",o="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",g=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,I=8,T=16,V=32,E=64,H=128,D=256,O=512,z=30,Z="...",Q=800,ce=16,$=1,G=2,j=3,ae=1/0,fe=9007199254740991,ne=17976931348623157e292,se=0/0,Se=4294967295,ie=Se-1,Re=Se>>>1,qe=[["ary",H],["bind",C],["bindKey",y],["curry",I],["curryRight",T],["flip",O],["partial",V],["partialRight",E],["rearg",D]],Ce="[object Arguments]",Pe="[object Array]",Ve="[object AsyncFunction]",ht="[object Boolean]",We="[object Date]",ft="[object DOMException]",Mt="[object Error]",de="[object Function]",tt="[object GeneratorFunction]",St="[object Map]",$t="[object Number]",Tn="[object Null]",Qt="[object Object]",xt="[object Promise]",Te="[object Proxy]",Ke="[object RegExp]",Dt="[object Set]",Zt="[object String]",qt="[object Symbol]",Ln="[object Undefined]",Lt="[object WeakMap]",gn="[object WeakSet]",Jn="[object ArrayBuffer]",zt="[object DataView]",An="[object Float32Array]",ki="[object Float64Array]",Si="[object Int8Array]",mn="[object Int16Array]",Ci="[object Int32Array]",yi="[object Uint8Array]",Pi="[object Uint8ClampedArray]",Ii="[object Uint16Array]",Ni="[object Uint32Array]",pl=/\b__p \+= '';/g,ml=/\b(__p \+=) '' \+/g,bl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ti=/&(?:amp|lt|gt|quot|#39);/g,zi=/[&<>"']/g,Gi=RegExp(Ti.source),fi=RegExp(zi.source),vl=/<%-([\s\S]+?)%>/g,wl=/<%([\s\S]+?)%>/g,Ki=/<%=([\s\S]+?)%>/g,kl=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Sl=/^\w*$/,Cl=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Li=/[\\^$.*+?()[\]{}|]/g,yl=RegExp(Li.source),ni=/^\s+/,ci=/\s/,Ai=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,di=/\{\n\/\* \[wrapped with (.+)\] \*/,ji=/,? & /,K=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,me=/[()=,{}\[\]\/\s]/,xe=/\\(\\)?/g,Ye=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,Gt=/^0b[01]+$/i,en=/^\[object .+?Constructor\]$/,Un=/^0o[0-7]+$/i,Pl=/^(?:0|[1-9]\d*)$/,Il=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hi=/($^)/,ql=/['\n\r\u2028\u2029\\]/g,Ei="\\ud800-\\udfff",pr="\\u0300-\\u036f",Y="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",bn=pr+Y+Vt,ii="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",Ji="\\xac\\xb1\\xd7\\xf7",an="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",zl="\\u2000-\\u206f",Xr=" \\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",$r="A-Z\\xc0-\\xd6\\xd8-\\xde",Yi="\\ufe0e\\ufe0f",xr=Ji+an+zl+Xr,br="['’]",ps="["+Ei+"]",ea="["+xr+"]",Qi="["+bn+"]",ta="\\d+",ms="["+ii+"]",na="["+mr+"]",vr="[^"+Ei+xr+ta+ii+mr+$r+"]",wr="\\ud83c[\\udffb-\\udfff]",ia="(?:"+Qi+"|"+wr+")",la="[^"+Ei+"]",Gl="(?:\\ud83c[\\udde6-\\uddff]){2}",kr="[\\ud800-\\udbff][\\udc00-\\udfff]",Zi="["+$r+"]",ra="\\u200d",aa="(?:"+na+"|"+vr+")",bs="(?:"+Zi+"|"+vr+")",sa="(?:"+br+"(?:d|ll|m|re|s|t|ve))?",oa="(?:"+br+"(?:D|LL|M|RE|S|T|VE))?",ua=ia+"?",fa="["+Yi+"]?",vs="(?:"+ra+"(?:"+[la,Gl,kr].join("|")+")"+fa+ua+")*",ws="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ks="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ca=fa+ua+vs,Ss="(?:"+[ms,Gl,kr].join("|")+")"+ca,Cs="(?:"+[la+Qi+"?",Qi,Gl,kr,ps].join("|")+")",ys=RegExp(br,"g"),Ps=RegExp(Qi,"g"),Sr=RegExp(wr+"(?="+wr+")|"+Cs+ca,"g"),B=RegExp([Zi+"?"+na+"+"+sa+"(?="+[ea,Zi,"$"].join("|")+")",bs+"+"+oa+"(?="+[ea,Zi+aa,"$"].join("|")+")",Zi+"?"+aa+"+"+sa,Zi+"+"+oa,ks,ws,ta,Ss].join("|"),"g"),ue=RegExp("["+ra+Ei+bn+Yi+"]"),Ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ze=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Oe=-1,he={};he[An]=he[ki]=he[Si]=he[mn]=he[Ci]=he[yi]=he[Pi]=he[Ii]=he[Ni]=!0,he[Ce]=he[Pe]=he[Jn]=he[ht]=he[zt]=he[We]=he[Mt]=he[de]=he[St]=he[$t]=he[Qt]=he[Ke]=he[Dt]=he[Zt]=he[Lt]=!1;var Ie={};Ie[Ce]=Ie[Pe]=Ie[Jn]=Ie[zt]=Ie[ht]=Ie[We]=Ie[An]=Ie[ki]=Ie[Si]=Ie[mn]=Ie[Ci]=Ie[St]=Ie[$t]=Ie[Qt]=Ie[Ke]=Ie[Dt]=Ie[Zt]=Ie[qt]=Ie[yi]=Ie[Pi]=Ie[Ii]=Ie[Ni]=!0,Ie[Mt]=Ie[de]=Ie[Lt]=!1;var Ct={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Bt={"&":"&","<":"<",">":">",'"':""","'":"'"},Cr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Xi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},yr=parseFloat,$i=parseInt,Kl=typeof Wr=="object"&&Wr&&Wr.Object===Object&&Wr,je=typeof self=="object"&&self&&self.Object===Object&&self,nt=Kl||je||Function("return this")(),At=e&&!e.nodeType&&e,Ht=At&&!0&&i&&!i.nodeType&&i,En=Ht&&Ht.exports===At,Bn=En&&Kl.process,cn=function(){try{var X=Ht&&Ht.require&&Ht.require("util").types;return X||Bn&&Bn.binding&&Bn.binding("util")}catch{}}(),jl=cn&&cn.isArrayBuffer,Nl=cn&&cn.isDate,Is=cn&&cn.isMap,Jl=cn&&cn.isRegExp,da=cn&&cn.isSet,Tl=cn&&cn.isTypedArray;function sn(X,ge,oe){switch(oe.length){case 0:return X.call(ge);case 1:return X.call(ge,oe[0]);case 2:return X.call(ge,oe[0],oe[1]);case 3:return X.call(ge,oe[0],oe[1],oe[2])}return X.apply(ge,oe)}function vn(X,ge,oe,Be){for(var it=-1,yt=X==null?0:X.length;++it<yt;){var on=X[it];ge(Be,on,oe(on),X)}return Be}function Kt(X,ge){for(var oe=-1,Be=X==null?0:X.length;++oe<Be&&ge(X[oe],oe,X)!==!1;);return X}function Ns(X,ge){for(var oe=X==null?0:X.length;oe--&&ge(X[oe],oe,X)!==!1;);return X}function Ko(X,ge){for(var oe=-1,Be=X==null?0:X.length;++oe<Be;)if(!ge(X[oe],oe,X))return!1;return!0}function xi(X,ge){for(var oe=-1,Be=X==null?0:X.length,it=0,yt=[];++oe<Be;){var on=X[oe];ge(on,oe,X)&&(yt[it++]=on)}return yt}function ha(X,ge){var oe=X==null?0:X.length;return!!oe&&Yl(X,ge,0)>-1}function Ts(X,ge,oe){for(var Be=-1,it=X==null?0:X.length;++Be<it;)if(oe(ge,X[Be]))return!0;return!1}function Wt(X,ge){for(var oe=-1,Be=X==null?0:X.length,it=Array(Be);++oe<Be;)it[oe]=ge(X[oe],oe,X);return it}function el(X,ge){for(var oe=-1,Be=ge.length,it=X.length;++oe<Be;)X[it+oe]=ge[oe];return X}function Ls(X,ge,oe,Be){var it=-1,yt=X==null?0:X.length;for(Be&&yt&&(oe=X[++it]);++it<yt;)oe=ge(oe,X[it],it,X);return oe}function Cp(X,ge,oe,Be){var it=X==null?0:X.length;for(Be&&it&&(oe=X[--it]);it--;)oe=ge(oe,X[it],it,X);return oe}function As(X,ge){for(var oe=-1,Be=X==null?0:X.length;++oe<Be;)if(ge(X[oe],oe,X))return!0;return!1}var yp=Es("length");function Pp(X){return X.split("")}function Ip(X){return X.match(K)||[]}function jo(X,ge,oe){var Be;return oe(X,function(it,yt,on){if(ge(it,yt,on))return Be=yt,!1}),Be}function ga(X,ge,oe,Be){for(var it=X.length,yt=oe+(Be?1:-1);Be?yt--:++yt<it;)if(ge(X[yt],yt,X))return yt;return-1}function Yl(X,ge,oe){return ge===ge?Up(X,ge,oe):ga(X,Jo,oe)}function Np(X,ge,oe,Be){for(var it=oe-1,yt=X.length;++it<yt;)if(Be(X[it],ge))return it;return-1}function Jo(X){return X!==X}function Yo(X,ge){var oe=X==null?0:X.length;return oe?Ds(X,ge)/oe:se}function Es(X){return function(ge){return ge==null?t:ge[X]}}function Rs(X){return function(ge){return X==null?t:X[ge]}}function Qo(X,ge,oe,Be,it){return it(X,function(yt,on,Ot){oe=Be?(Be=!1,yt):ge(oe,yt,on,Ot)}),oe}function Tp(X,ge){var oe=X.length;for(X.sort(ge);oe--;)X[oe]=X[oe].value;return X}function Ds(X,ge){for(var oe,Be=-1,it=X.length;++Be<it;){var yt=ge(X[Be]);yt!==t&&(oe=oe===t?yt:oe+yt)}return oe}function Vs(X,ge){for(var oe=-1,Be=Array(X);++oe<X;)Be[oe]=ge(oe);return Be}function Lp(X,ge){return Wt(ge,function(oe){return[oe,X[oe]]})}function Zo(X){return X&&X.slice(0,eu(X)+1).replace(ni,"")}function Hn(X){return function(ge){return X(ge)}}function Os(X,ge){return Wt(ge,function(oe){return X[oe]})}function Pr(X,ge){return X.has(ge)}function Xo(X,ge){for(var oe=-1,Be=X.length;++oe<Be&&Yl(ge,X[oe],0)>-1;);return oe}function $o(X,ge){for(var oe=X.length;oe--&&Yl(ge,X[oe],0)>-1;);return oe}function Ap(X,ge){for(var oe=X.length,Be=0;oe--;)X[oe]===ge&&++Be;return Be}var Ep=Rs(Ct),Rp=Rs(Bt);function Dp(X){return"\\"+Xi[X]}function Vp(X,ge){return X==null?t:X[ge]}function Ql(X){return ue.test(X)}function Op(X){return Ee.test(X)}function Mp(X){for(var ge,oe=[];!(ge=X.next()).done;)oe.push(ge.value);return oe}function Ms(X){var ge=-1,oe=Array(X.size);return X.forEach(function(Be,it){oe[++ge]=[it,Be]}),oe}function xo(X,ge){return function(oe){return X(ge(oe))}}function tl(X,ge){for(var oe=-1,Be=X.length,it=0,yt=[];++oe<Be;){var on=X[oe];(on===ge||on===d)&&(X[oe]=d,yt[it++]=oe)}return yt}function _a(X){var ge=-1,oe=Array(X.size);return X.forEach(function(Be){oe[++ge]=Be}),oe}function Fp(X){var ge=-1,oe=Array(X.size);return X.forEach(function(Be){oe[++ge]=[Be,Be]}),oe}function Up(X,ge,oe){for(var Be=oe-1,it=X.length;++Be<it;)if(X[Be]===ge)return Be;return-1}function Bp(X,ge,oe){for(var Be=oe+1;Be--;)if(X[Be]===ge)return Be;return Be}function Zl(X){return Ql(X)?Wp(X):yp(X)}function li(X){return Ql(X)?qp(X):Pp(X)}function eu(X){for(var ge=X.length;ge--&&ci.test(X.charAt(ge)););return ge}var Hp=Rs(Cr);function Wp(X){for(var ge=Sr.lastIndex=0;Sr.test(X);)++ge;return ge}function qp(X){return X.match(Sr)||[]}function zp(X){return X.match(B)||[]}var Gp=function X(ge){ge=ge==null?nt:Xl.defaults(nt.Object(),ge,Xl.pick(nt,ze));var oe=ge.Array,Be=ge.Date,it=ge.Error,yt=ge.Function,on=ge.Math,Ot=ge.Object,Fs=ge.RegExp,Kp=ge.String,Yn=ge.TypeError,pa=oe.prototype,jp=yt.prototype,$l=Ot.prototype,ma=ge["__core-js_shared__"],ba=jp.toString,Nt=$l.hasOwnProperty,Jp=0,tu=function(){var s=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),va=$l.toString,Yp=ba.call(Ot),Qp=nt._,Zp=Fs("^"+ba.call(Nt).replace(Li,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wa=En?ge.Buffer:t,nl=ge.Symbol,ka=ge.Uint8Array,nu=wa?wa.allocUnsafe:t,Sa=xo(Ot.getPrototypeOf,Ot),iu=Ot.create,lu=$l.propertyIsEnumerable,Ca=pa.splice,ru=nl?nl.isConcatSpreadable:t,Ir=nl?nl.iterator:t,Ll=nl?nl.toStringTag:t,ya=function(){try{var s=Vl(Ot,"defineProperty");return s({},"",{}),s}catch{}}(),Xp=ge.clearTimeout!==nt.clearTimeout&&ge.clearTimeout,$p=Be&&Be.now!==nt.Date.now&&Be.now,xp=ge.setTimeout!==nt.setTimeout&&ge.setTimeout,Pa=on.ceil,Ia=on.floor,Us=Ot.getOwnPropertySymbols,em=wa?wa.isBuffer:t,au=ge.isFinite,tm=pa.join,nm=xo(Ot.keys,Ot),un=on.max,wn=on.min,im=Be.now,lm=ge.parseInt,su=on.random,rm=pa.reverse,Bs=Vl(ge,"DataView"),Nr=Vl(ge,"Map"),Hs=Vl(ge,"Promise"),xl=Vl(ge,"Set"),Tr=Vl(ge,"WeakMap"),Lr=Vl(Ot,"create"),Na=Tr&&new Tr,er={},am=Ol(Bs),sm=Ol(Nr),om=Ol(Hs),um=Ol(xl),fm=Ol(Tr),Ta=nl?nl.prototype:t,Ar=Ta?Ta.valueOf:t,ou=Ta?Ta.toString:t;function M(s){if(Xt(s)&&!lt(s)&&!(s instanceof _t)){if(s instanceof Qn)return s;if(Nt.call(s,"__wrapped__"))return ff(s)}return new Qn(s)}var tr=function(){function s(){}return function(u){if(!jt(u))return{};if(iu)return iu(u);s.prototype=u;var _=new s;return s.prototype=t,_}}();function La(){}function Qn(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}M.templateSettings={escape:vl,evaluate:wl,interpolate:Ki,variable:"",imports:{_:M}},M.prototype=La.prototype,M.prototype.constructor=M,Qn.prototype=tr(La.prototype),Qn.prototype.constructor=Qn;function _t(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function cm(){var s=new _t(this.__wrapped__);return s.__actions__=Rn(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Rn(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Rn(this.__views__),s}function dm(){if(this.__filtered__){var s=new _t(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function hm(){var s=this.__wrapped__.value(),u=this.__dir__,_=lt(s),k=u<0,N=_?s.length:0,F=P1(0,N,this.__views__),q=F.start,J=F.end,x=J-q,_e=k?J:q-1,pe=this.__iteratees__,ye=pe.length,De=0,Ge=wn(x,this.__takeCount__);if(!_||!k&&N==x&&Ge==x)return Ru(s,this.__actions__);var Xe=[];e:for(;x--&&De<Ge;){_e+=u;for(var st=-1,$e=s[_e];++st<ye;){var dt=pe[st],pt=dt.iteratee,zn=dt.type,Pn=pt($e);if(zn==G)$e=Pn;else if(!Pn){if(zn==$)continue e;break e}}Xe[De++]=$e}return Xe}_t.prototype=tr(La.prototype),_t.prototype.constructor=_t;function Al(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function gm(){this.__data__=Lr?Lr(null):{},this.size=0}function _m(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function pm(s){var u=this.__data__;if(Lr){var _=u[s];return _===c?t:_}return Nt.call(u,s)?u[s]:t}function mm(s){var u=this.__data__;return Lr?u[s]!==t:Nt.call(u,s)}function bm(s,u){var _=this.__data__;return this.size+=this.has(s)?0:1,_[s]=Lr&&u===t?c:u,this}Al.prototype.clear=gm,Al.prototype.delete=_m,Al.prototype.get=pm,Al.prototype.has=mm,Al.prototype.set=bm;function Ri(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function vm(){this.__data__=[],this.size=0}function wm(s){var u=this.__data__,_=Aa(u,s);if(_<0)return!1;var k=u.length-1;return _==k?u.pop():Ca.call(u,_,1),--this.size,!0}function km(s){var u=this.__data__,_=Aa(u,s);return _<0?t:u[_][1]}function Sm(s){return Aa(this.__data__,s)>-1}function Cm(s,u){var _=this.__data__,k=Aa(_,s);return k<0?(++this.size,_.push([s,u])):_[k][1]=u,this}Ri.prototype.clear=vm,Ri.prototype.delete=wm,Ri.prototype.get=km,Ri.prototype.has=Sm,Ri.prototype.set=Cm;function Di(s){var u=-1,_=s==null?0:s.length;for(this.clear();++u<_;){var k=s[u];this.set(k[0],k[1])}}function ym(){this.size=0,this.__data__={hash:new Al,map:new(Nr||Ri),string:new Al}}function Pm(s){var u=qa(this,s).delete(s);return this.size-=u?1:0,u}function Im(s){return qa(this,s).get(s)}function Nm(s){return qa(this,s).has(s)}function Tm(s,u){var _=qa(this,s),k=_.size;return _.set(s,u),this.size+=_.size==k?0:1,this}Di.prototype.clear=ym,Di.prototype.delete=Pm,Di.prototype.get=Im,Di.prototype.has=Nm,Di.prototype.set=Tm;function El(s){var u=-1,_=s==null?0:s.length;for(this.__data__=new Di;++u<_;)this.add(s[u])}function Lm(s){return this.__data__.set(s,c),this}function Am(s){return this.__data__.has(s)}El.prototype.add=El.prototype.push=Lm,El.prototype.has=Am;function ri(s){var u=this.__data__=new Ri(s);this.size=u.size}function Em(){this.__data__=new Ri,this.size=0}function Rm(s){var u=this.__data__,_=u.delete(s);return this.size=u.size,_}function Dm(s){return this.__data__.get(s)}function Vm(s){return this.__data__.has(s)}function Om(s,u){var _=this.__data__;if(_ instanceof Ri){var k=_.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++_.size,this;_=this.__data__=new Di(k)}return _.set(s,u),this.size=_.size,this}ri.prototype.clear=Em,ri.prototype.delete=Rm,ri.prototype.get=Dm,ri.prototype.has=Vm,ri.prototype.set=Om;function uu(s,u){var _=lt(s),k=!_&&Ml(s),N=!_&&!k&&sl(s),F=!_&&!k&&!N&&rr(s),q=_||k||N||F,J=q?Vs(s.length,Kp):[],x=J.length;for(var _e in s)(u||Nt.call(s,_e))&&!(q&&(_e=="length"||N&&(_e=="offset"||_e=="parent")||F&&(_e=="buffer"||_e=="byteLength"||_e=="byteOffset")||Fi(_e,x)))&&J.push(_e);return J}function fu(s){var u=s.length;return u?s[Xs(0,u-1)]:t}function Mm(s,u){return za(Rn(s),Rl(u,0,s.length))}function Fm(s){return za(Rn(s))}function Ws(s,u,_){(_!==t&&!ai(s[u],_)||_===t&&!(u in s))&&Vi(s,u,_)}function Er(s,u,_){var k=s[u];(!(Nt.call(s,u)&&ai(k,_))||_===t&&!(u in s))&&Vi(s,u,_)}function Aa(s,u){for(var _=s.length;_--;)if(ai(s[_][0],u))return _;return-1}function Um(s,u,_,k){return il(s,function(N,F,q){u(k,N,_(N),q)}),k}function cu(s,u){return s&&_i(u,dn(u),s)}function Bm(s,u){return s&&_i(u,Vn(u),s)}function Vi(s,u,_){u=="__proto__"&&ya?ya(s,u,{configurable:!0,enumerable:!0,value:_,writable:!0}):s[u]=_}function qs(s,u){for(var _=-1,k=u.length,N=oe(k),F=s==null;++_<k;)N[_]=F?t:Co(s,u[_]);return N}function Rl(s,u,_){return s===s&&(_!==t&&(s=s<=_?s:_),u!==t&&(s=s>=u?s:u)),s}function Zn(s,u,_,k,N,F){var q,J=u&g,x=u&p,_e=u&b;if(_&&(q=N?_(s,k,N,F):_(s)),q!==t)return q;if(!jt(s))return s;var pe=lt(s);if(pe){if(q=N1(s),!J)return Rn(s,q)}else{var ye=kn(s),De=ye==de||ye==tt;if(sl(s))return Ou(s,J);if(ye==Qt||ye==Ce||De&&!N){if(q=x||De?{}:ef(s),!J)return x?p1(s,Bm(q,s)):_1(s,cu(q,s))}else{if(!Ie[ye])return N?s:{};q=T1(s,ye,J)}}F||(F=new ri);var Ge=F.get(s);if(Ge)return Ge;F.set(s,q),Af(s)?s.forEach(function($e){q.add(Zn($e,u,_,$e,s,F))}):Tf(s)&&s.forEach(function($e,dt){q.set(dt,Zn($e,u,_,dt,s,F))});var Xe=_e?x?oo:so:x?Vn:dn,st=pe?t:Xe(s);return Kt(st||s,function($e,dt){st&&(dt=$e,$e=s[dt]),Er(q,dt,Zn($e,u,_,dt,s,F))}),q}function Hm(s){var u=dn(s);return function(_){return du(_,s,u)}}function du(s,u,_){var k=_.length;if(s==null)return!k;for(s=Ot(s);k--;){var N=_[k],F=u[N],q=s[N];if(q===t&&!(N in s)||!F(q))return!1}return!0}function hu(s,u,_){if(typeof s!="function")throw new Yn(a);return Ur(function(){s.apply(t,_)},u)}function Rr(s,u,_,k){var N=-1,F=ha,q=!0,J=s.length,x=[],_e=u.length;if(!J)return x;_&&(u=Wt(u,Hn(_))),k?(F=Ts,q=!1):u.length>=l&&(F=Pr,q=!1,u=new El(u));e:for(;++N<J;){var pe=s[N],ye=_==null?pe:_(pe);if(pe=k||pe!==0?pe:0,q&&ye===ye){for(var De=_e;De--;)if(u[De]===ye)continue e;x.push(pe)}else F(u,ye,k)||x.push(pe)}return x}var il=Hu(gi),gu=Hu(Gs,!0);function Wm(s,u){var _=!0;return il(s,function(k,N,F){return _=!!u(k,N,F),_}),_}function Ea(s,u,_){for(var k=-1,N=s.length;++k<N;){var F=s[k],q=u(F);if(q!=null&&(J===t?q===q&&!qn(q):_(q,J)))var J=q,x=F}return x}function qm(s,u,_,k){var N=s.length;for(_=at(_),_<0&&(_=-_>N?0:N+_),k=k===t||k>N?N:at(k),k<0&&(k+=N),k=_>k?0:Rf(k);_<k;)s[_++]=u;return s}function _u(s,u){var _=[];return il(s,function(k,N,F){u(k,N,F)&&_.push(k)}),_}function _n(s,u,_,k,N){var F=-1,q=s.length;for(_||(_=A1),N||(N=[]);++F<q;){var J=s[F];u>0&&_(J)?u>1?_n(J,u-1,_,k,N):el(N,J):k||(N[N.length]=J)}return N}var zs=Wu(),pu=Wu(!0);function gi(s,u){return s&&zs(s,u,dn)}function Gs(s,u){return s&&pu(s,u,dn)}function Ra(s,u){return xi(u,function(_){return Ui(s[_])})}function Dl(s,u){u=rl(u,s);for(var _=0,k=u.length;s!=null&&_<k;)s=s[pi(u[_++])];return _&&_==k?s:t}function mu(s,u,_){var k=u(s);return lt(s)?k:el(k,_(s))}function Cn(s){return s==null?s===t?Ln:Tn:Ll&&Ll in Ot(s)?y1(s):F1(s)}function Ks(s,u){return s>u}function zm(s,u){return s!=null&&Nt.call(s,u)}function Gm(s,u){return s!=null&&u in Ot(s)}function Km(s,u,_){return s>=wn(u,_)&&s<un(u,_)}function js(s,u,_){for(var k=_?Ts:ha,N=s[0].length,F=s.length,q=F,J=oe(F),x=1/0,_e=[];q--;){var pe=s[q];q&&u&&(pe=Wt(pe,Hn(u))),x=wn(pe.length,x),J[q]=!_&&(u||N>=120&&pe.length>=120)?new El(q&&pe):t}pe=s[0];var ye=-1,De=J[0];e:for(;++ye<N&&_e.length<x;){var Ge=pe[ye],Xe=u?u(Ge):Ge;if(Ge=_||Ge!==0?Ge:0,!(De?Pr(De,Xe):k(_e,Xe,_))){for(q=F;--q;){var st=J[q];if(!(st?Pr(st,Xe):k(s[q],Xe,_)))continue e}De&&De.push(Xe),_e.push(Ge)}}return _e}function jm(s,u,_,k){return gi(s,function(N,F,q){u(k,_(N),F,q)}),k}function Dr(s,u,_){u=rl(u,s),s=rf(s,u);var k=s==null?s:s[pi($n(u))];return k==null?t:sn(k,s,_)}function bu(s){return Xt(s)&&Cn(s)==Ce}function Jm(s){return Xt(s)&&Cn(s)==Jn}function Ym(s){return Xt(s)&&Cn(s)==We}function Vr(s,u,_,k,N){return s===u?!0:s==null||u==null||!Xt(s)&&!Xt(u)?s!==s&&u!==u:Qm(s,u,_,k,Vr,N)}function Qm(s,u,_,k,N,F){var q=lt(s),J=lt(u),x=q?Pe:kn(s),_e=J?Pe:kn(u);x=x==Ce?Qt:x,_e=_e==Ce?Qt:_e;var pe=x==Qt,ye=_e==Qt,De=x==_e;if(De&&sl(s)){if(!sl(u))return!1;q=!0,pe=!1}if(De&&!pe)return F||(F=new ri),q||rr(s)?Xu(s,u,_,k,N,F):S1(s,u,x,_,k,N,F);if(!(_&m)){var Ge=pe&&Nt.call(s,"__wrapped__"),Xe=ye&&Nt.call(u,"__wrapped__");if(Ge||Xe){var st=Ge?s.value():s,$e=Xe?u.value():u;return F||(F=new ri),N(st,$e,_,k,F)}}return De?(F||(F=new ri),C1(s,u,_,k,N,F)):!1}function Zm(s){return Xt(s)&&kn(s)==St}function Js(s,u,_,k){var N=_.length,F=N,q=!k;if(s==null)return!F;for(s=Ot(s);N--;){var J=_[N];if(q&&J[2]?J[1]!==s[J[0]]:!(J[0]in s))return!1}for(;++N<F;){J=_[N];var x=J[0],_e=s[x],pe=J[1];if(q&&J[2]){if(_e===t&&!(x in s))return!1}else{var ye=new ri;if(k)var De=k(_e,pe,x,s,u,ye);if(!(De===t?Vr(pe,_e,m|v,k,ye):De))return!1}}return!0}function vu(s){if(!jt(s)||R1(s))return!1;var u=Ui(s)?Zp:en;return u.test(Ol(s))}function Xm(s){return Xt(s)&&Cn(s)==Ke}function $m(s){return Xt(s)&&kn(s)==Dt}function xm(s){return Xt(s)&&Qa(s.length)&&!!he[Cn(s)]}function wu(s){return typeof s=="function"?s:s==null?On:typeof s=="object"?lt(s)?Cu(s[0],s[1]):Su(s):zf(s)}function Ys(s){if(!Fr(s))return nm(s);var u=[];for(var _ in Ot(s))Nt.call(s,_)&&_!="constructor"&&u.push(_);return u}function e1(s){if(!jt(s))return M1(s);var u=Fr(s),_=[];for(var k in s)k=="constructor"&&(u||!Nt.call(s,k))||_.push(k);return _}function Qs(s,u){return s<u}function ku(s,u){var _=-1,k=Dn(s)?oe(s.length):[];return il(s,function(N,F,q){k[++_]=u(N,F,q)}),k}function Su(s){var u=fo(s);return u.length==1&&u[0][2]?nf(u[0][0],u[0][1]):function(_){return _===s||Js(_,s,u)}}function Cu(s,u){return ho(s)&&tf(u)?nf(pi(s),u):function(_){var k=Co(_,s);return k===t&&k===u?yo(_,s):Vr(u,k,m|v)}}function Da(s,u,_,k,N){s!==u&&zs(u,function(F,q){if(N||(N=new ri),jt(F))t1(s,u,q,_,Da,k,N);else{var J=k?k(_o(s,q),F,q+"",s,u,N):t;J===t&&(J=F),Ws(s,q,J)}},Vn)}function t1(s,u,_,k,N,F,q){var J=_o(s,_),x=_o(u,_),_e=q.get(x);if(_e){Ws(s,_,_e);return}var pe=F?F(J,x,_+"",s,u,q):t,ye=pe===t;if(ye){var De=lt(x),Ge=!De&&sl(x),Xe=!De&&!Ge&&rr(x);pe=x,De||Ge||Xe?lt(J)?pe=J:tn(J)?pe=Rn(J):Ge?(ye=!1,pe=Ou(x,!0)):Xe?(ye=!1,pe=Mu(x,!0)):pe=[]:Br(x)||Ml(x)?(pe=J,Ml(J)?pe=Df(J):(!jt(J)||Ui(J))&&(pe=ef(x))):ye=!1}ye&&(q.set(x,pe),N(pe,x,k,F,q),q.delete(x)),Ws(s,_,pe)}function yu(s,u){var _=s.length;if(_)return u+=u<0?_:0,Fi(u,_)?s[u]:t}function Pu(s,u,_){u.length?u=Wt(u,function(F){return lt(F)?function(q){return Dl(q,F.length===1?F[0]:F)}:F}):u=[On];var k=-1;u=Wt(u,Hn(Ze()));var N=ku(s,function(F,q,J){var x=Wt(u,function(_e){return _e(F)});return{criteria:x,index:++k,value:F}});return Tp(N,function(F,q){return g1(F,q,_)})}function n1(s,u){return Iu(s,u,function(_,k){return yo(s,k)})}function Iu(s,u,_){for(var k=-1,N=u.length,F={};++k<N;){var q=u[k],J=Dl(s,q);_(J,q)&&Or(F,rl(q,s),J)}return F}function i1(s){return function(u){return Dl(u,s)}}function Zs(s,u,_,k){var N=k?Np:Yl,F=-1,q=u.length,J=s;for(s===u&&(u=Rn(u)),_&&(J=Wt(s,Hn(_)));++F<q;)for(var x=0,_e=u[F],pe=_?_(_e):_e;(x=N(J,pe,x,k))>-1;)J!==s&&Ca.call(J,x,1),Ca.call(s,x,1);return s}function Nu(s,u){for(var _=s?u.length:0,k=_-1;_--;){var N=u[_];if(_==k||N!==F){var F=N;Fi(N)?Ca.call(s,N,1):eo(s,N)}}return s}function Xs(s,u){return s+Ia(su()*(u-s+1))}function l1(s,u,_,k){for(var N=-1,F=un(Pa((u-s)/(_||1)),0),q=oe(F);F--;)q[k?F:++N]=s,s+=_;return q}function $s(s,u){var _="";if(!s||u<1||u>fe)return _;do u%2&&(_+=s),u=Ia(u/2),u&&(s+=s);while(u);return _}function ot(s,u){return po(lf(s,u,On),s+"")}function r1(s){return fu(ar(s))}function a1(s,u){var _=ar(s);return za(_,Rl(u,0,_.length))}function Or(s,u,_,k){if(!jt(s))return s;u=rl(u,s);for(var N=-1,F=u.length,q=F-1,J=s;J!=null&&++N<F;){var x=pi(u[N]),_e=_;if(x==="__proto__"||x==="constructor"||x==="prototype")return s;if(N!=q){var pe=J[x];_e=k?k(pe,x,J):t,_e===t&&(_e=jt(pe)?pe:Fi(u[N+1])?[]:{})}Er(J,x,_e),J=J[x]}return s}var Tu=Na?function(s,u){return Na.set(s,u),s}:On,s1=ya?function(s,u){return ya(s,"toString",{configurable:!0,enumerable:!1,value:Io(u),writable:!0})}:On;function o1(s){return za(ar(s))}function Xn(s,u,_){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),_=_>N?N:_,_<0&&(_+=N),N=u>_?0:_-u>>>0,u>>>=0;for(var F=oe(N);++k<N;)F[k]=s[k+u];return F}function u1(s,u){var _;return il(s,function(k,N,F){return _=u(k,N,F),!_}),!!_}function Va(s,u,_){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Re){for(;k<N;){var F=k+N>>>1,q=s[F];q!==null&&!qn(q)&&(_?q<=u:q<u)?k=F+1:N=F}return N}return xs(s,u,On,_)}function xs(s,u,_,k){var N=0,F=s==null?0:s.length;if(F===0)return 0;u=_(u);for(var q=u!==u,J=u===null,x=qn(u),_e=u===t;N<F;){var pe=Ia((N+F)/2),ye=_(s[pe]),De=ye!==t,Ge=ye===null,Xe=ye===ye,st=qn(ye);if(q)var $e=k||Xe;else _e?$e=Xe&&(k||De):J?$e=Xe&&De&&(k||!Ge):x?$e=Xe&&De&&!Ge&&(k||!st):Ge||st?$e=!1:$e=k?ye<=u:ye<u;$e?N=pe+1:F=pe}return wn(F,ie)}function Lu(s,u){for(var _=-1,k=s.length,N=0,F=[];++_<k;){var q=s[_],J=u?u(q):q;if(!_||!ai(J,x)){var x=J;F[N++]=q===0?0:q}}return F}function Au(s){return typeof s=="number"?s:qn(s)?se:+s}function Wn(s){if(typeof s=="string")return s;if(lt(s))return Wt(s,Wn)+"";if(qn(s))return ou?ou.call(s):"";var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function ll(s,u,_){var k=-1,N=ha,F=s.length,q=!0,J=[],x=J;if(_)q=!1,N=Ts;else if(F>=l){var _e=u?null:w1(s);if(_e)return _a(_e);q=!1,N=Pr,x=new El}else x=u?[]:J;e:for(;++k<F;){var pe=s[k],ye=u?u(pe):pe;if(pe=_||pe!==0?pe:0,q&&ye===ye){for(var De=x.length;De--;)if(x[De]===ye)continue e;u&&x.push(ye),J.push(pe)}else N(x,ye,_)||(x!==J&&x.push(ye),J.push(pe))}return J}function eo(s,u){return u=rl(u,s),s=rf(s,u),s==null||delete s[pi($n(u))]}function Eu(s,u,_,k){return Or(s,u,_(Dl(s,u)),k)}function Oa(s,u,_,k){for(var N=s.length,F=k?N:-1;(k?F--:++F<N)&&u(s[F],F,s););return _?Xn(s,k?0:F,k?F+1:N):Xn(s,k?F+1:0,k?N:F)}function Ru(s,u){var _=s;return _ instanceof _t&&(_=_.value()),Ls(u,function(k,N){return N.func.apply(N.thisArg,el([k],N.args))},_)}function to(s,u,_){var k=s.length;if(k<2)return k?ll(s[0]):[];for(var N=-1,F=oe(k);++N<k;)for(var q=s[N],J=-1;++J<k;)J!=N&&(F[N]=Rr(F[N]||q,s[J],u,_));return ll(_n(F,1),u,_)}function Du(s,u,_){for(var k=-1,N=s.length,F=u.length,q={};++k<N;){var J=k<F?u[k]:t;_(q,s[k],J)}return q}function no(s){return tn(s)?s:[]}function io(s){return typeof s=="function"?s:On}function rl(s,u){return lt(s)?s:ho(s,u)?[s]:uf(Pt(s))}var f1=ot;function al(s,u,_){var k=s.length;return _=_===t?k:_,!u&&_>=k?s:Xn(s,u,_)}var Vu=Xp||function(s){return nt.clearTimeout(s)};function Ou(s,u){if(u)return s.slice();var _=s.length,k=nu?nu(_):new s.constructor(_);return s.copy(k),k}function lo(s){var u=new s.constructor(s.byteLength);return new ka(u).set(new ka(s)),u}function c1(s,u){var _=u?lo(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.byteLength)}function d1(s){var u=new s.constructor(s.source,gt.exec(s));return u.lastIndex=s.lastIndex,u}function h1(s){return Ar?Ot(Ar.call(s)):{}}function Mu(s,u){var _=u?lo(s.buffer):s.buffer;return new s.constructor(_,s.byteOffset,s.length)}function Fu(s,u){if(s!==u){var _=s!==t,k=s===null,N=s===s,F=qn(s),q=u!==t,J=u===null,x=u===u,_e=qn(u);if(!J&&!_e&&!F&&s>u||F&&q&&x&&!J&&!_e||k&&q&&x||!_&&x||!N)return 1;if(!k&&!F&&!_e&&s<u||_e&&_&&N&&!k&&!F||J&&_&&N||!q&&N||!x)return-1}return 0}function g1(s,u,_){for(var k=-1,N=s.criteria,F=u.criteria,q=N.length,J=_.length;++k<q;){var x=Fu(N[k],F[k]);if(x){if(k>=J)return x;var _e=_[k];return x*(_e=="desc"?-1:1)}}return s.index-u.index}function Uu(s,u,_,k){for(var N=-1,F=s.length,q=_.length,J=-1,x=u.length,_e=un(F-q,0),pe=oe(x+_e),ye=!k;++J<x;)pe[J]=u[J];for(;++N<q;)(ye||N<F)&&(pe[_[N]]=s[N]);for(;_e--;)pe[J++]=s[N++];return pe}function Bu(s,u,_,k){for(var N=-1,F=s.length,q=-1,J=_.length,x=-1,_e=u.length,pe=un(F-J,0),ye=oe(pe+_e),De=!k;++N<pe;)ye[N]=s[N];for(var Ge=N;++x<_e;)ye[Ge+x]=u[x];for(;++q<J;)(De||N<F)&&(ye[Ge+_[q]]=s[N++]);return ye}function Rn(s,u){var _=-1,k=s.length;for(u||(u=oe(k));++_<k;)u[_]=s[_];return u}function _i(s,u,_,k){var N=!_;_||(_={});for(var F=-1,q=u.length;++F<q;){var J=u[F],x=k?k(_[J],s[J],J,_,s):t;x===t&&(x=s[J]),N?Vi(_,J,x):Er(_,J,x)}return _}function _1(s,u){return _i(s,co(s),u)}function p1(s,u){return _i(s,$u(s),u)}function Ma(s,u){return function(_,k){var N=lt(_)?vn:Um,F=u?u():{};return N(_,s,Ze(k,2),F)}}function nr(s){return ot(function(u,_){var k=-1,N=_.length,F=N>1?_[N-1]:t,q=N>2?_[2]:t;for(F=s.length>3&&typeof F=="function"?(N--,F):t,q&&yn(_[0],_[1],q)&&(F=N<3?t:F,N=1),u=Ot(u);++k<N;){var J=_[k];J&&s(u,J,k,F)}return u})}function Hu(s,u){return function(_,k){if(_==null)return _;if(!Dn(_))return s(_,k);for(var N=_.length,F=u?N:-1,q=Ot(_);(u?F--:++F<N)&&k(q[F],F,q)!==!1;);return _}}function Wu(s){return function(u,_,k){for(var N=-1,F=Ot(u),q=k(u),J=q.length;J--;){var x=q[s?J:++N];if(_(F[x],x,F)===!1)break}return u}}function m1(s,u,_){var k=u&C,N=Mr(s);function F(){var q=this&&this!==nt&&this instanceof F?N:s;return q.apply(k?_:this,arguments)}return F}function qu(s){return function(u){u=Pt(u);var _=Ql(u)?li(u):t,k=_?_[0]:u.charAt(0),N=_?al(_,1).join(""):u.slice(1);return k[s]()+N}}function ir(s){return function(u){return Ls(Wf(Hf(u).replace(ys,"")),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 _=tr(s.prototype),k=s.apply(_,u);return jt(k)?k:_}}function b1(s,u,_){var k=Mr(s);function N(){for(var F=arguments.length,q=oe(F),J=F,x=lr(N);J--;)q[J]=arguments[J];var _e=F<3&&q[0]!==x&&q[F-1]!==x?[]:tl(q,x);if(F-=_e.length,F<_)return Ju(s,u,Fa,N.placeholder,t,q,_e,t,t,_-F);var pe=this&&this!==nt&&this instanceof N?k:s;return sn(pe,this,q)}return N}function zu(s){return function(u,_,k){var N=Ot(u);if(!Dn(u)){var F=Ze(_,3);u=dn(u),_=function(J){return F(N[J],J,N)}}var q=s(u,_,k);return q>-1?N[F?u[q]:q]:t}}function Gu(s){return Mi(function(u){var _=u.length,k=_,N=Qn.prototype.thru;for(s&&u.reverse();k--;){var F=u[k];if(typeof F!="function")throw new Yn(a);if(N&&!q&&Wa(F)=="wrapper")var q=new Qn([],!0)}for(k=q?k:_;++k<_;){F=u[k];var J=Wa(F),x=J=="wrapper"?uo(F):t;x&&go(x[0])&&x[1]==(H|I|V|D)&&!x[4].length&&x[9]==1?q=q[Wa(x[0])].apply(q,x[3]):q=F.length==1&&go(F)?q[J]():q.thru(F)}return function(){var _e=arguments,pe=_e[0];if(q&&_e.length==1&<(pe))return q.plant(pe).value();for(var ye=0,De=_?u[ye].apply(this,_e):pe;++ye<_;)De=u[ye].call(this,De);return De}})}function Fa(s,u,_,k,N,F,q,J,x,_e){var pe=u&H,ye=u&C,De=u&y,Ge=u&(I|T),Xe=u&O,st=De?t:Mr(s);function $e(){for(var dt=arguments.length,pt=oe(dt),zn=dt;zn--;)pt[zn]=arguments[zn];if(Ge)var Pn=lr($e),Gn=Ap(pt,Pn);if(k&&(pt=Uu(pt,k,N,Ge)),F&&(pt=Bu(pt,F,q,Ge)),dt-=Gn,Ge&&dt<_e){var nn=tl(pt,Pn);return Ju(s,u,Fa,$e.placeholder,_,pt,nn,J,x,_e-dt)}var si=ye?_:this,Hi=De?si[s]:s;return dt=pt.length,J?pt=U1(pt,J):Xe&&dt>1&&pt.reverse(),pe&&x<dt&&(pt.length=x),this&&this!==nt&&this instanceof $e&&(Hi=st||Mr(Hi)),Hi.apply(si,pt)}return $e}function Ku(s,u){return function(_,k){return jm(_,s,u(k),{})}}function Ua(s,u){return function(_,k){var N;if(_===t&&k===t)return u;if(_!==t&&(N=_),k!==t){if(N===t)return k;typeof _=="string"||typeof k=="string"?(_=Wn(_),k=Wn(k)):(_=Au(_),k=Au(k)),N=s(_,k)}return N}}function ro(s){return Mi(function(u){return u=Wt(u,Hn(Ze())),ot(function(_){var k=this;return s(u,function(N){return sn(N,k,_)})})})}function Ba(s,u){u=u===t?" ":Wn(u);var _=u.length;if(_<2)return _?$s(u,s):u;var k=$s(u,Pa(s/Zl(u)));return Ql(u)?al(li(k),0,s).join(""):k.slice(0,s)}function v1(s,u,_,k){var N=u&C,F=Mr(s);function q(){for(var J=-1,x=arguments.length,_e=-1,pe=k.length,ye=oe(pe+x),De=this&&this!==nt&&this instanceof q?F:s;++_e<pe;)ye[_e]=k[_e];for(;x--;)ye[_e++]=arguments[++J];return sn(De,N?_:this,ye)}return q}function ju(s){return function(u,_,k){return k&&typeof k!="number"&&yn(u,_,k)&&(_=k=t),u=Bi(u),_===t?(_=u,u=0):_=Bi(_),k=k===t?u<_?1:-1:Bi(k),l1(u,_,k,s)}}function Ha(s){return function(u,_){return typeof u=="string"&&typeof _=="string"||(u=xn(u),_=xn(_)),s(u,_)}}function Ju(s,u,_,k,N,F,q,J,x,_e){var pe=u&I,ye=pe?q:t,De=pe?t:q,Ge=pe?F:t,Xe=pe?t:F;u|=pe?V:E,u&=~(pe?E:V),u&P||(u&=~(C|y));var st=[s,u,N,Ge,ye,Xe,De,J,x,_e],$e=_.apply(t,st);return go(s)&&af($e,st),$e.placeholder=k,sf($e,s,u)}function ao(s){var u=on[s];return function(_,k){if(_=xn(_),k=k==null?0:wn(at(k),292),k&&au(_)){var N=(Pt(_)+"e").split("e"),F=u(N[0]+"e"+(+N[1]+k));return N=(Pt(F)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(_)}}var w1=xl&&1/_a(new xl([,-0]))[1]==ae?function(s){return new xl(s)}:Lo;function Yu(s){return function(u){var _=kn(u);return _==St?Ms(u):_==Dt?Fp(u):Lp(u,s(u))}}function Oi(s,u,_,k,N,F,q,J){var x=u&y;if(!x&&typeof s!="function")throw new Yn(a);var _e=k?k.length:0;if(_e||(u&=~(V|E),k=N=t),q=q===t?q:un(at(q),0),J=J===t?J:at(J),_e-=N?N.length:0,u&E){var pe=k,ye=N;k=N=t}var De=x?t:uo(s),Ge=[s,u,_,k,N,pe,ye,F,q,J];if(De&&O1(Ge,De),s=Ge[0],u=Ge[1],_=Ge[2],k=Ge[3],N=Ge[4],J=Ge[9]=Ge[9]===t?x?0:s.length:un(Ge[9]-_e,0),!J&&u&(I|T)&&(u&=~(I|T)),!u||u==C)var Xe=m1(s,u,_);else u==I||u==T?Xe=b1(s,u,J):(u==V||u==(C|V))&&!N.length?Xe=v1(s,u,_,k):Xe=Fa.apply(t,Ge);var st=De?Tu:af;return sf(st(Xe,Ge),s,u)}function Qu(s,u,_,k){return s===t||ai(s,$l[_])&&!Nt.call(k,_)?u:s}function Zu(s,u,_,k,N,F){return jt(s)&&jt(u)&&(F.set(u,s),Da(s,u,t,Zu,F),F.delete(u)),s}function k1(s){return Br(s)?t:s}function Xu(s,u,_,k,N,F){var q=_&m,J=s.length,x=u.length;if(J!=x&&!(q&&x>J))return!1;var _e=F.get(s),pe=F.get(u);if(_e&&pe)return _e==u&&pe==s;var ye=-1,De=!0,Ge=_&v?new El:t;for(F.set(s,u),F.set(u,s);++ye<J;){var Xe=s[ye],st=u[ye];if(k)var $e=q?k(st,Xe,ye,u,s,F):k(Xe,st,ye,s,u,F);if($e!==t){if($e)continue;De=!1;break}if(Ge){if(!As(u,function(dt,pt){if(!Pr(Ge,pt)&&(Xe===dt||N(Xe,dt,_,k,F)))return Ge.push(pt)})){De=!1;break}}else if(!(Xe===st||N(Xe,st,_,k,F))){De=!1;break}}return F.delete(s),F.delete(u),De}function S1(s,u,_,k,N,F,q){switch(_){case zt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case Jn:return!(s.byteLength!=u.byteLength||!F(new ka(s),new ka(u)));case ht:case We:case $t:return ai(+s,+u);case Mt:return s.name==u.name&&s.message==u.message;case Ke:case Zt:return s==u+"";case St:var J=Ms;case Dt:var x=k&m;if(J||(J=_a),s.size!=u.size&&!x)return!1;var _e=q.get(s);if(_e)return _e==u;k|=v,q.set(s,u);var pe=Xu(J(s),J(u),k,N,F,q);return q.delete(s),pe;case qt:if(Ar)return Ar.call(s)==Ar.call(u)}return!1}function C1(s,u,_,k,N,F){var q=_&m,J=so(s),x=J.length,_e=so(u),pe=_e.length;if(x!=pe&&!q)return!1;for(var ye=x;ye--;){var De=J[ye];if(!(q?De in u:Nt.call(u,De)))return!1}var Ge=F.get(s),Xe=F.get(u);if(Ge&&Xe)return Ge==u&&Xe==s;var st=!0;F.set(s,u),F.set(u,s);for(var $e=q;++ye<x;){De=J[ye];var dt=s[De],pt=u[De];if(k)var zn=q?k(pt,dt,De,u,s,F):k(dt,pt,De,s,u,F);if(!(zn===t?dt===pt||N(dt,pt,_,k,F):zn)){st=!1;break}$e||($e=De=="constructor")}if(st&&!$e){var Pn=s.constructor,Gn=u.constructor;Pn!=Gn&&"constructor"in s&&"constructor"in u&&!(typeof Pn=="function"&&Pn instanceof Pn&&typeof Gn=="function"&&Gn instanceof Gn)&&(st=!1)}return F.delete(s),F.delete(u),st}function Mi(s){return po(lf(s,t,hf),s+"")}function so(s){return mu(s,dn,co)}function oo(s){return mu(s,Vn,$u)}var uo=Na?function(s){return Na.get(s)}:Lo;function Wa(s){for(var u=s.name+"",_=er[u],k=Nt.call(er,u)?_.length:0;k--;){var N=_[k],F=N.func;if(F==null||F==s)return N.name}return u}function lr(s){var u=Nt.call(M,"placeholder")?M:s;return u.placeholder}function Ze(){var s=M.iteratee||No;return s=s===No?wu:s,arguments.length?s(arguments[0],arguments[1]):s}function qa(s,u){var _=s.__data__;return E1(u)?_[typeof u=="string"?"string":"hash"]:_.map}function fo(s){for(var u=dn(s),_=u.length;_--;){var k=u[_],N=s[k];u[_]=[k,N,tf(N)]}return u}function Vl(s,u){var _=Vp(s,u);return vu(_)?_:t}function y1(s){var u=Nt.call(s,Ll),_=s[Ll];try{s[Ll]=t;var k=!0}catch{}var N=va.call(s);return k&&(u?s[Ll]=_:delete s[Ll]),N}var co=Us?function(s){return s==null?[]:(s=Ot(s),xi(Us(s),function(u){return lu.call(s,u)}))}:Ao,$u=Us?function(s){for(var u=[];s;)el(u,co(s)),s=Sa(s);return u}:Ao,kn=Cn;(Bs&&kn(new Bs(new ArrayBuffer(1)))!=zt||Nr&&kn(new Nr)!=St||Hs&&kn(Hs.resolve())!=xt||xl&&kn(new xl)!=Dt||Tr&&kn(new Tr)!=Lt)&&(kn=function(s){var u=Cn(s),_=u==Qt?s.constructor:t,k=_?Ol(_):"";if(k)switch(k){case am:return zt;case sm:return St;case om:return xt;case um:return Dt;case fm:return Lt}return u});function P1(s,u,_){for(var k=-1,N=_.length;++k<N;){var F=_[k],q=F.size;switch(F.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=wn(u,s+q);break;case"takeRight":s=un(s,u-q);break}}return{start:s,end:u}}function I1(s){var u=s.match(di);return u?u[1].split(ji):[]}function xu(s,u,_){u=rl(u,s);for(var k=-1,N=u.length,F=!1;++k<N;){var q=pi(u[k]);if(!(F=s!=null&&_(s,q)))break;s=s[q]}return F||++k!=N?F:(N=s==null?0:s.length,!!N&&Qa(N)&&Fi(q,N)&&(lt(s)||Ml(s)))}function N1(s){var u=s.length,_=new s.constructor(u);return u&&typeof s[0]=="string"&&Nt.call(s,"index")&&(_.index=s.index,_.input=s.input),_}function ef(s){return typeof s.constructor=="function"&&!Fr(s)?tr(Sa(s)):{}}function T1(s,u,_){var k=s.constructor;switch(u){case Jn:return lo(s);case ht:case We:return new k(+s);case zt:return c1(s,_);case An:case ki:case Si:case mn:case Ci:case yi:case Pi:case Ii:case Ni:return Mu(s,_);case St:return new k;case $t:case Zt:return new k(s);case Ke:return d1(s);case Dt:return new k;case qt:return h1(s)}}function L1(s,u){var _=u.length;if(!_)return s;var k=_-1;return u[k]=(_>1?"& ":"")+u[k],u=u.join(_>2?", ":" "),s.replace(Ai,`{
|
|
34
34
|
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function T1(s){return rt(s)||Vl(s)||!!(ru&&s&&s[ru])}function Vi(s,u){var _=typeof s;return u=u??oe,!!u&&(_=="number"||_!="symbol"&&Cl.test(s))&&s>-1&&s%1==0&&s<u}function Pn(s,u,_){if(!Kt(_))return!1;var k=typeof u;return(k=="number"?Rn(_)&&Vi(u,_.length):k=="string"&&u in _)?ai(_[u],s):!1}function ho(s,u){if(rt(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||Wn(s)?!0:vl.test(s)||!bl.test(s)||u!=null&&s in Ft(u)}function L1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function go(s){var u=Wa(s),_=M[u];if(typeof _!="function"||!(u in gt.prototype))return!1;if(s===_)return!0;var k=uo(_);return!!k&&s===k[0]}function A1(s){return!!tu&&tu in s}var E1=ma?Oi:Eo;function Fr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||Xl;return s===_}function tf(s){return s===s&&!Kt(s)}function nf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Ft(_))}}function R1(s){var u=Ja(s,function(k){return _.size===h&&_.clear(),k}),_=u.cache;return u}function D1(s,u){var _=s[1],k=u[1],N=_|k,F=N<(C|y|H),q=k==H&&_==I||k==H&&_==D&&s[7].length<=u[8]||k==(H|D)&&u[7].length<=u[8]&&_==I;if(!(F||q))return s;k&C&&(s[2]=u[2],N|=_&C?0:P);var j=u[3];if(j){var x=s[3];s[3]=x?Uu(x,j,u[4]):j,s[4]=x?$i(s[3],d):u[4]}return j=u[5],j&&(x=s[5],s[5]=x?Bu(x,j,u[6]):j,s[6]=x?$i(s[5],d):u[6]),j=u[7],j&&(s[7]=j),k&H&&(s[8]=s[8]==null?u[8]:kn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function V1(s){var u=[];if(s!=null)for(var _ in Ft(s))u.push(_);return u}function O1(s){return va.call(s)}function lf(s,u,_){return u=on(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,F=on(k.length-u,0),q=se(F);++N<F;)q[N]=k[u+N];N=-1;for(var j=se(u+1);++N<u;)j[N]=k[N];return j[u]=_(q),an(s,this,j)}}function rf(s,u){return u.length<2?s:El(s,Xn(u,0,-1))}function M1(s,u){for(var _=s.length,k=kn(u.length,_),N=En(s);k--;){var F=u[k];s[k]=Vi(F,_)?N[F]:t}return s}function _o(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var af=of(Tu),Ur=Xp||function(s,u){return nt.setTimeout(s,u)},po=of(r1);function sf(s,u,_){var k=u+"";return po(s,N1(k,F1(y1(k),_)))}function of(s){var u=0,_=0;return function(){var k=tm(),N=ce-(k-_);if(_=k,N>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function za(s,u){var _=-1,k=s.length,N=k-1;for(u=u===t?k:u;++_<u;){var F=Xs(_,N),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var uf=R1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(wl,function(_,k,N,F){u.push(N?F.replace(xt,"$1"):k||_)}),u});function gi(s){if(typeof s=="string"||Wn(s))return s;var u=s+"";return u=="0"&&1/s==-fe?"-0":u}function Dl(s){if(s!=null){try{return ba.call(s)}catch{}try{return s+""}catch{}}return""}function F1(s,u){return Gt(qe,function(_){var k="_."+_[0];u&_[1]&&!ha(s,k)&&s.push(k)}),s.sort()}function ff(s){if(s instanceof gt)return s.clone();var u=new Qn(s.__wrapped__,s.__chain__);return u.__actions__=En(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function U1(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=on(st(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,F=0,q=se(Pa(k/u));N<k;)q[F++]=Xn(s,N,N+=u);return q}function B1(s){for(var u=-1,_=s==null?0:s.length,k=0,N=[];++u<_;){var F=s[u];F&&(N[k++]=F)}return N}function H1(){var s=arguments.length;if(!s)return[];for(var u=se(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return Xi(rt(_)?En(_):[_],pn(u,1))}var W1=ut(function(s,u){return en(s)?Rr(s,pn(u,1,en,!0)):[]}),q1=ut(function(s,u){var _=$n(u);return en(_)&&(_=t),en(s)?Rr(s,pn(u,1,en,!0),Qe(_,2)):[]}),z1=ut(function(s,u){var _=$n(u);return en(_)&&(_=t),en(s)?Rr(s,pn(u,1,en,!0),t,_):[]});function G1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),Xn(s,u<0?0:u,k)):[]}function K1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Xn(s,0,u<0?0:u)):[]}function j1(s,u){return s&&s.length?Oa(s,Qe(u,3),!0,!0):[]}function J1(s,u){return s&&s.length?Oa(s,Qe(u,3),!0):[]}function Y1(s,u,_,k){var N=s==null?0:s.length;return N?(_&&typeof _!="number"&&Pn(s,u,_)&&(_=0,k=N),Hm(s,u,_,k)):[]}function cf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=on(k+N,0)),ga(s,Qe(u,3),N)}function df(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return _!==t&&(N=st(_),N=_<0?on(k+N,0):kn(N,k-1)),ga(s,Qe(u,3),N,!0)}function hf(s){var u=s==null?0:s.length;return u?pn(s,1):[]}function Q1(s){var u=s==null?0:s.length;return u?pn(s,fe):[]}function Z1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:st(u),pn(s,u)):[]}function X1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var N=s[u];k[N[0]]=N[1]}return k}function gf(s){return s&&s.length?s[0]:t}function $1(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:st(_);return N<0&&(N=on(k+N,0)),Jl(s,u,N)}function x1(s){var u=s==null?0:s.length;return u?Xn(s,0,-1):[]}var eb=ut(function(s){var u=qt(s,no);return u.length&&u[0]===s[0]?js(u):[]}),tb=ut(function(s){var u=$n(s),_=qt(s,no);return u===$n(_)?u=t:_.pop(),_.length&&_[0]===s[0]?js(_,Qe(u,2)):[]}),nb=ut(function(s){var u=$n(s),_=qt(s,no);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?js(_,t,u):[]});function ib(s,u){return s==null?"":xp.call(s,u)}function $n(s){var u=s==null?0:s.length;return u?s[u-1]:t}function lb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k;return _!==t&&(N=st(_),N=N<0?on(k+N,0):kn(N,k-1)),u===u?Fp(s,u,N):ga(s,Jo,N,!0)}function rb(s,u){return s&&s.length?yu(s,st(u)):t}var ab=ut(_f);function _f(s,u){return s&&s.length&&u&&u.length?Zs(s,u):s}function sb(s,u,_){return s&&s.length&&u&&u.length?Zs(s,u,Qe(_,2)):s}function ob(s,u,_){return s&&s.length&&u&&u.length?Zs(s,u,t,_):s}var ub=Di(function(s,u){var _=s==null?0:s.length,k=qs(s,u);return Nu(s,qt(u,function(N){return Vi(N,_)?+N:N}).sort(Fu)),k});function fb(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,N=[],F=s.length;for(u=Qe(u,3);++k<F;){var q=s[k];u(q,k,s)&&(_.push(q),N.push(k))}return Nu(s,N),_}function mo(s){return s==null?s:im.call(s)}function cb(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&Pn(s,u,_)?(u=0,_=k):(u=u==null?0:st(u),_=_===t?k:st(_)),Xn(s,u,_)):[]}function db(s,u){return Va(s,u)}function hb(s,u,_){return xs(s,u,Qe(_,2))}function gb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u);if(k<_&&ai(s[k],u))return k}return-1}function _b(s,u){return Va(s,u,!0)}function pb(s,u,_){return xs(s,u,Qe(_,2),!0)}function mb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u,!0)-1;if(ai(s[k],u))return k}return-1}function bb(s){return s&&s.length?Lu(s):[]}function vb(s,u){return s&&s.length?Lu(s,Qe(u,2)):[]}function wb(s){var u=s==null?0:s.length;return u?Xn(s,1,u):[]}function kb(s,u,_){return s&&s.length?(u=_||u===t?1:st(u),Xn(s,0,u<0?0:u)):[]}function Sb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:st(u),u=k-u,Xn(s,u<0?0:u,k)):[]}function Cb(s,u){return s&&s.length?Oa(s,Qe(u,3),!1,!0):[]}function yb(s,u){return s&&s.length?Oa(s,Qe(u,3)):[]}var Pb=ut(function(s){return tl(pn(s,1,en,!0))}),Ib=ut(function(s){var u=$n(s);return en(u)&&(u=t),tl(pn(s,1,en,!0),Qe(u,2))}),Nb=ut(function(s){var u=$n(s);return u=typeof u=="function"?u:t,tl(pn(s,1,en,!0),t,u)});function Tb(s){return s&&s.length?tl(s):[]}function Lb(s,u){return s&&s.length?tl(s,Qe(u,2)):[]}function Ab(s,u){return u=typeof u=="function"?u:t,s&&s.length?tl(s,t,u):[]}function bo(s){if(!(s&&s.length))return[];var u=0;return s=Zi(s,function(_){if(en(_))return u=on(_.length,u),!0}),Vs(u,function(_){return qt(s,Es(_))})}function pf(s,u){if(!(s&&s.length))return[];var _=bo(s);return u==null?_:qt(_,function(k){return an(u,t,k)})}var Eb=ut(function(s,u){return en(s)?Rr(s,u):[]}),Rb=ut(function(s){return to(Zi(s,en))}),Db=ut(function(s){var u=$n(s);return en(u)&&(u=t),to(Zi(s,en),Qe(u,2))}),Vb=ut(function(s){var u=$n(s);return u=typeof u=="function"?u:t,to(Zi(s,en),t,u)}),Ob=ut(bo);function Mb(s,u){return Du(s||[],u||[],Er)}function Fb(s,u){return Du(s||[],u||[],Or)}var Ub=ut(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,pf(s,_)});function mf(s){var u=M(s);return u.__chain__=!0,u}function Bb(s,u){return u(s),s}function Ga(s,u){return u(s)}var Hb=Di(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,N=function(F){return qs(F,s)};return u>1||this.__actions__.length||!(k instanceof gt)||!Vi(_)?this.thru(N):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:Ga,args:[N],thisArg:t}),new Qn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function Wb(){return mf(this)}function qb(){return new Qn(this.value(),this.__chain__)}function zb(){this.__values__===t&&(this.__values__=Ef(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Gb(){return this}function Kb(s){for(var u,_=this;_ instanceof La;){var k=ff(_);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;_=_.__wrapped__}return N.__wrapped__=s,u}function jb(){var s=this.__wrapped__;if(s instanceof gt){var u=s;return this.__actions__.length&&(u=new gt(this)),u=u.reverse(),u.__actions__.push({func:Ga,args:[mo],thisArg:t}),new Qn(u,this.__chain__)}return this.thru(mo)}function Jb(){return Ru(this.__wrapped__,this.__actions__)}var Yb=Ma(function(s,u,_){At.call(s,_)?++s[_]:Ei(s,_,1)});function Qb(s,u,_){var k=rt(s)?Ko:Bm;return _&&Pn(s,u,_)&&(u=t),k(s,Qe(u,3))}function Zb(s,u){var _=rt(s)?Zi:_u;return _(s,Qe(u,3))}var Xb=zu(cf),$b=zu(df);function xb(s,u){return pn(Ka(s,u),1)}function ev(s,u){return pn(Ka(s,u),fe)}function tv(s,u,_){return _=_===t?1:st(_),pn(Ka(s,u),_)}function bf(s,u){var _=rt(s)?Gt:el;return _(s,Qe(u,3))}function vf(s,u){var _=rt(s)?Ns:gu;return _(s,Qe(u,3))}var nv=Ma(function(s,u,_){At.call(s,_)?s[_].push(u):Ei(s,_,[u])});function iv(s,u,_,k){s=Rn(s)?s:rr(s),_=_&&!k?st(_):0;var N=s.length;return _<0&&(_=on(N+_,0)),Za(s)?_<=N&&s.indexOf(u,_)>-1:!!N&&Jl(s,u,_)>-1}var lv=ut(function(s,u,_){var k=-1,N=typeof u=="function",F=Rn(s)?se(s.length):[];return el(s,function(q){F[++k]=N?an(u,q,_):Dr(q,u,_)}),F}),rv=Ma(function(s,u,_){Ei(s,_,u)});function Ka(s,u){var _=rt(s)?qt:ku;return _(s,Qe(u,3))}function av(s,u,_,k){return s==null?[]:(rt(u)||(u=u==null?[]:[u]),_=k?t:_,rt(_)||(_=_==null?[]:[_]),Pu(s,u,_))}var sv=Ma(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function ov(s,u,_){var k=rt(s)?Ls:Qo,N=arguments.length<3;return k(s,Qe(u,4),_,N,el)}function uv(s,u,_){var k=rt(s)?kp:Qo,N=arguments.length<3;return k(s,Qe(u,4),_,N,gu)}function fv(s,u){var _=rt(s)?Zi:_u;return _(s,Ya(Qe(u,3)))}function cv(s){var u=rt(s)?fu:i1;return u(s)}function dv(s,u,_){(_?Pn(s,u,_):u===t)?u=1:u=st(u);var k=rt(s)?Vm:l1;return k(s,u)}function hv(s){var u=rt(s)?Om:a1;return u(s)}function gv(s){if(s==null)return 0;if(Rn(s))return Za(s)?Ql(s):s.length;var u=Sn(s);return u==St||u==Rt?s.size:Ys(s).length}function _v(s,u,_){var k=rt(s)?As:s1;return _&&Pn(s,u,_)&&(u=t),k(s,Qe(u,3))}var pv=ut(function(s,u){if(s==null)return[];var _=u.length;return _>1&&Pn(s,u[0],u[1])?u=[]:_>2&&Pn(u[0],u[1],u[2])&&(u=[u[0]]),Pu(s,pn(u,1),[])}),ja=Zp||function(){return nt.Date.now()};function mv(s,u){if(typeof u!="function")throw new Yn(a);return s=st(s),function(){if(--s<1)return u.apply(this,arguments)}}function wf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Ri(s,H,t,t,t,t,u)}function kf(s,u){var _;if(typeof u!="function")throw new Yn(a);return s=st(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var vo=ut(function(s,u,_){var k=C;if(_.length){var N=$i(_,ir(vo));k|=V}return Ri(s,k,u,_,N)}),Sf=ut(function(s,u,_){var k=C|y;if(_.length){var N=$i(_,ir(Sf));k|=V}return Ri(u,k,s,_,N)});function Cf(s,u,_){u=_?t:u;var k=Ri(s,I,t,t,t,t,t,u);return k.placeholder=Cf.placeholder,k}function yf(s,u,_){u=_?t:u;var k=Ri(s,T,t,t,t,t,t,u);return k.placeholder=yf.placeholder,k}function Pf(s,u,_){var k,N,F,q,j,x,_e=0,pe=!1,Ce=!1,De=!0;if(typeof s!="function")throw new Yn(a);u=xn(u)||0,Kt(_)&&(pe=!!_.leading,Ce="maxWait"in _,F=Ce?on(xn(_.maxWait)||0,u):F,De="trailing"in _?!!_.trailing:De);function Ge(tn){var si=k,Fi=N;return k=N=t,_e=tn,q=s.apply(Fi,si),q}function Xe(tn){return _e=tn,j=Ur(dt,u),pe?Ge(tn):q}function ot(tn){var si=tn-x,Fi=tn-_e,Gf=u-si;return Ce?kn(Gf,F-Fi):Gf}function $e(tn){var si=tn-x,Fi=tn-_e;return x===t||si>=u||si<0||Ce&&Fi>=F}function dt(){var tn=ja();if($e(tn))return _t(tn);j=Ur(dt,ot(tn))}function _t(tn){return j=t,De&&k?Ge(tn):(k=N=t,q)}function qn(){j!==t&&Vu(j),_e=0,k=x=N=j=t}function In(){return j===t?q:_t(ja())}function zn(){var tn=ja(),si=$e(tn);if(k=arguments,N=this,x=tn,si){if(j===t)return Xe(x);if(Ce)return Vu(j),j=Ur(dt,u),Ge(x)}return j===t&&(j=Ur(dt,u)),q}return zn.cancel=qn,zn.flush=In,zn}var bv=ut(function(s,u){return hu(s,1,u)}),vv=ut(function(s,u,_){return hu(s,xn(u)||0,_)});function wv(s){return Ri(s,O)}function Ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Yn(a);var _=function(){var k=arguments,N=u?u.apply(this,k):k[0],F=_.cache;if(F.has(N))return F.get(N);var q=s.apply(this,k);return _.cache=F.set(N,q)||F,q};return _.cache=new(Ja.Cache||Ai),_}Ja.Cache=Ai;function Ya(s){if(typeof s!="function")throw new Yn(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 kv(s){return kf(2,s)}var Sv=o1(function(s,u){u=u.length==1&&rt(u[0])?qt(u[0],Bn(Qe())):qt(pn(u,1),Bn(Qe()));var _=u.length;return ut(function(k){for(var N=-1,F=kn(k.length,_);++N<F;)k[N]=u[N].call(this,k[N]);return an(s,this,k)})}),wo=ut(function(s,u){var _=$i(u,ir(wo));return Ri(s,V,t,u,_)}),If=ut(function(s,u){var _=$i(u,ir(If));return Ri(s,E,t,u,_)}),Cv=Di(function(s,u){return Ri(s,D,t,t,t,u)});function yv(s,u){if(typeof s!="function")throw new Yn(a);return u=u===t?u:st(u),ut(s,u)}function Pv(s,u){if(typeof s!="function")throw new Yn(a);return u=u==null?0:on(st(u),0),ut(function(_){var k=_[u],N=il(_,0,u);return k&&Xi(N,k),an(s,this,N)})}function Iv(s,u,_){var k=!0,N=!0;if(typeof s!="function")throw new Yn(a);return Kt(_)&&(k="leading"in _?!!_.leading:k,N="trailing"in _?!!_.trailing:N),Pf(s,u,{leading:k,maxWait:u,trailing:N})}function Nv(s){return wf(s,1)}function Tv(s,u){return wo(io(u),s)}function Lv(){if(!arguments.length)return[];var s=arguments[0];return rt(s)?s:[s]}function Av(s){return Zn(s,b)}function Ev(s,u){return u=typeof u=="function"?u:t,Zn(s,b,u)}function Rv(s){return Zn(s,g|b)}function Dv(s,u){return u=typeof u=="function"?u:t,Zn(s,g|b,u)}function Vv(s,u){return u==null||du(s,u,gn(u))}function ai(s,u){return s===u||s!==s&&u!==u}var Ov=Ha(Ks),Mv=Ha(function(s,u){return s>=u}),Vl=bu(function(){return arguments}())?bu:function(s){return Qt(s)&&At.call(s,"callee")&&!lu.call(s,"callee")},rt=se.isArray,Fv=Kl?Bn(Kl):Km;function Rn(s){return s!=null&&Qa(s.length)&&!Oi(s)}function en(s){return Qt(s)&&Rn(s)}function Uv(s){return s===!0||s===!1||Qt(s)&&yn(s)==ht}var ll=$p||Eo,Bv=Pl?Bn(Pl):jm;function Hv(s){return Qt(s)&&s.nodeType===1&&!Br(s)}function Wv(s){if(s==null)return!0;if(Rn(s)&&(rt(s)||typeof s=="string"||typeof s.splice=="function"||ll(s)||lr(s)||Vl(s)))return!s.length;var u=Sn(s);if(u==St||u==Rt)return!s.size;if(Fr(s))return!Ys(s).length;for(var _ in s)if(At.call(s,_))return!1;return!0}function qv(s,u){return Vr(s,u)}function zv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Vr(s,u,t,_):!!k}function ko(s){if(!Qt(s))return!1;var u=yn(s);return u==Nt||u==et||typeof s.message=="string"&&typeof s.name=="string"&&!Br(s)}function Gv(s){return typeof s=="number"&&au(s)}function Oi(s){if(!Kt(s))return!1;var u=yn(s);return u==ge||u==lt||u==Ve||u==Te}function Nf(s){return typeof s=="number"&&s==st(s)}function Qa(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=oe}function Kt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Qt(s){return s!=null&&typeof s=="object"}var Tf=Is?Bn(Is):Ym;function Kv(s,u){return s===u||Js(s,u,fo(u))}function jv(s,u,_){return _=typeof _=="function"?_:t,Js(s,u,fo(u),_)}function Jv(s){return Lf(s)&&s!=+s}function Yv(s){if(E1(s))throw new it(r);return vu(s)}function Qv(s){return s===null}function Zv(s){return s==null}function Lf(s){return typeof s=="number"||Qt(s)&&yn(s)==Zt}function Br(s){if(!Qt(s)||yn(s)!=zt)return!1;var u=Sa(s);if(u===null)return!0;var _=At.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ba.call(_)==jp}var So=jl?Bn(jl):Qm;function Xv(s){return Nf(s)&&s>=-oe&&s<=oe}var Af=da?Bn(da):Zm;function Za(s){return typeof s=="string"||!rt(s)&&Qt(s)&&yn(s)==Xt}function Wn(s){return typeof s=="symbol"||Qt(s)&&yn(s)==Tt}var lr=Il?Bn(Il):Xm;function $v(s){return s===t}function xv(s){return Qt(s)&&Sn(s)==$t}function e0(s){return Qt(s)&&yn(s)==dn}var t0=Ha(Qs),n0=Ha(function(s,u){return s<=u});function Ef(s){if(!s)return[];if(Rn(s))return Za(s)?li(s):En(s);if(Ir&&s[Ir])return Vp(s[Ir]());var u=Sn(s),_=u==St?Ms:u==Rt?_a:rr;return _(s)}function Mi(s){if(!s)return s===0?s:0;if(s=xn(s),s===fe||s===-fe){var u=s<0?-1:1;return u*ne}return s===s?s:0}function st(s){var u=Mi(s),_=u%1;return u===u?_?u-_:u:0}function Rf(s){return s?Al(st(s),0,Se):0}function xn(s){if(typeof s=="number")return s;if(Wn(s))return ae;if(Kt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Kt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Zo(s);var _=Hl.test(s);return _||zi.test(s)?Qi(s.slice(2),_?2:8):Sl.test(s)?ae:+s}function Df(s){return hi(s,Dn(s))}function i0(s){return s?Al(st(s),-oe,oe):s===0?s:0}function Pt(s){return s==null?"":Hn(s)}var l0=tr(function(s,u){if(Fr(u)||Rn(u)){hi(u,gn(u),s);return}for(var _ in u)At.call(u,_)&&Er(s,_,u[_])}),Vf=tr(function(s,u){hi(u,Dn(u),s)}),Xa=tr(function(s,u,_,k){hi(u,Dn(u),s,k)}),r0=tr(function(s,u,_,k){hi(u,gn(u),s,k)}),a0=Di(qs);function s0(s,u){var _=er(s);return u==null?_:cu(_,u)}var o0=ut(function(s,u){s=Ft(s);var _=-1,k=u.length,N=k>2?u[2]:t;for(N&&Pn(u[0],u[1],N)&&(k=1);++_<k;)for(var F=u[_],q=Dn(F),j=-1,x=q.length;++j<x;){var _e=q[j],pe=s[_e];(pe===t||ai(pe,Xl[_e])&&!At.call(s,_e))&&(s[_e]=F[_e])}return s}),u0=ut(function(s){return s.push(t,Zu),an(Of,t,s)});function f0(s,u){return jo(s,Qe(u,3),di)}function c0(s,u){return jo(s,Qe(u,3),Gs)}function d0(s,u){return s==null?s:zs(s,Qe(u,3),Dn)}function h0(s,u){return s==null?s:pu(s,Qe(u,3),Dn)}function g0(s,u){return s&&di(s,Qe(u,3))}function _0(s,u){return s&&Gs(s,Qe(u,3))}function p0(s){return s==null?[]:Ra(s,gn(s))}function m0(s){return s==null?[]:Ra(s,Dn(s))}function Co(s,u,_){var k=s==null?t:El(s,u);return k===t?_:k}function b0(s,u){return s!=null&&xu(s,u,Wm)}function yo(s,u){return s!=null&&xu(s,u,qm)}var v0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),s[u]=_},Io(Vn)),w0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),At.call(s,u)?s[u].push(_):s[u]=[_]},Qe),k0=ut(Dr);function gn(s){return Rn(s)?uu(s):Ys(s)}function Dn(s){return Rn(s)?uu(s,!0):$m(s)}function S0(s,u){var _={};return u=Qe(u,3),di(s,function(k,N,F){Ei(_,u(k,N,F),k)}),_}function C0(s,u){var _={};return u=Qe(u,3),di(s,function(k,N,F){Ei(_,N,u(k,N,F))}),_}var y0=tr(function(s,u,_){Da(s,u,_)}),Of=tr(function(s,u,_,k){Da(s,u,_,k)}),P0=Di(function(s,u){var _={};if(s==null)return _;var k=!1;u=qt(u,function(F){return F=nl(F,s),k||(k=F.length>1),F}),hi(s,oo(s),_),k&&(_=Zn(_,g|p|b,v1));for(var N=u.length;N--;)eo(_,u[N]);return _});function I0(s,u){return Mf(s,Ya(Qe(u)))}var N0=Di(function(s,u){return s==null?{}:e1(s,u)});function Mf(s,u){if(s==null)return{};var _=qt(oo(s),function(k){return[k]});return u=Qe(u),Iu(s,_,function(k,N){return u(k,N[0])})}function T0(s,u,_){u=nl(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var F=s==null?t:s[gi(u[k])];F===t&&(k=N,F=_),s=Oi(F)?F.call(s):F}return s}function L0(s,u,_){return s==null?s:Or(s,u,_)}function A0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Or(s,u,_,k)}var Ff=Yu(gn),Uf=Yu(Dn);function E0(s,u,_){var k=rt(s),N=k||ll(s)||lr(s);if(u=Qe(u,4),_==null){var F=s&&s.constructor;N?_=k?new F:[]:Kt(s)?_=Oi(F)?er(Sa(s)):{}:_={}}return(N?Gt:di)(s,function(q,j,x){return u(_,q,j,x)}),_}function R0(s,u){return s==null?!0:eo(s,u)}function D0(s,u,_){return s==null?s:Eu(s,u,io(_))}function V0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Eu(s,u,io(_),k)}function rr(s){return s==null?[]:Os(s,gn(s))}function O0(s){return s==null?[]:Os(s,Dn(s))}function M0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=xn(_),_=_===_?_:0),u!==t&&(u=xn(u),u=u===u?u:0),Al(xn(s),u,_)}function F0(s,u,_){return u=Mi(u),_===t?(_=u,u=0):_=Mi(_),s=xn(s),zm(s,u,_)}function U0(s,u,_){if(_&&typeof _!="boolean"&&Pn(s,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof s=="boolean"&&(_=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Mi(s),u===t?(u=s,s=0):u=Mi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var N=su();return kn(s+N*(u-s+yr("1e-"+((N+"").length-1))),u)}return Xs(s,u)}var B0=nr(function(s,u,_){return u=u.toLowerCase(),s+(_?Bf(u):u)});function Bf(s){return Po(Pt(s).toLowerCase())}function Hf(s){return s=Pt(s),s&&s.replace(yl,Lp).replace(Ps,"")}function H0(s,u,_){s=Pt(s),u=Hn(u);var k=s.length;_=_===t?k:Al(st(_),0,k);var N=_;return _-=u.length,_>=0&&s.slice(_,N)==u}function W0(s){return s=Pt(s),s&&fi.test(s)?s.replace(Hi,Ap):s}function q0(s){return s=Pt(s),s&&kl.test(s)?s.replace(Ni,"\\$&"):s}var z0=nr(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),G0=nr(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),K0=qu("toLowerCase");function j0(s,u,_){s=Pt(s),u=st(u);var k=u?Ql(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ba(Ia(N),_)+s+Ba(Pa(N),_)}function J0(s,u,_){s=Pt(s),u=st(u);var k=u?Ql(s):0;return u&&k<u?s+Ba(u-k,_):s}function Y0(s,u,_){s=Pt(s),u=st(u);var k=u?Ql(s):0;return u&&k<u?Ba(u-k,_)+s:s}function Q0(s,u,_){return _||u==null?u=0:u&&(u=+u),nm(Pt(s).replace(ni,""),u||0)}function Z0(s,u,_){return(_?Pn(s,u,_):u===t)?u=1:u=st(u),$s(Pt(s),u)}function X0(){var s=arguments,u=Pt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var $0=nr(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function x0(s,u,_){return _&&typeof _!="number"&&Pn(s,u,_)&&(u=_=t),_=_===t?Se:_>>>0,_?(s=Pt(s),s&&(typeof u=="string"||u!=null&&!So(u))&&(u=Hn(u),!u&&Yl(s))?il(li(s),0,_):s.split(u,_)):[]}var ew=nr(function(s,u,_){return s+(_?" ":"")+Po(u)});function tw(s,u,_){return s=Pt(s),_=_==null?0:Al(st(_),0,s.length),u=Hn(u),s.slice(_,_+u.length)==u}function nw(s,u,_){var k=M.templateSettings;_&&Pn(s,u,_)&&(u=t),s=Pt(s),u=Xa({},u,k,Qu);var N=Xa({},u.imports,k.imports,Qu),F=gn(N),q=Os(N,F),j,x,_e=0,pe=u.interpolate||ci,Ce="__p += '",De=Fs((u.escape||ci).source+"|"+pe.source+"|"+(pe===qi?Lt:ci).source+"|"+(u.evaluate||ci).source+"|$","g"),Ge="//# sourceURL="+(At.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Oe+"]")+`
|
|
36
|
-
`;s.replace(De,function($e,dt,
|
|
35
|
+
`)}function A1(s){return lt(s)||Ml(s)||!!(ru&&s&&s[ru])}function Fi(s,u){var _=typeof s;return u=u??fe,!!u&&(_=="number"||_!="symbol"&&Pl.test(s))&&s>-1&&s%1==0&&s<u}function yn(s,u,_){if(!jt(_))return!1;var k=typeof u;return(k=="number"?Dn(_)&&Fi(u,_.length):k=="string"&&u in _)?ai(_[u],s):!1}function ho(s,u){if(lt(s))return!1;var _=typeof s;return _=="number"||_=="symbol"||_=="boolean"||s==null||qn(s)?!0:Sl.test(s)||!kl.test(s)||u!=null&&s in Ot(u)}function E1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function go(s){var u=Wa(s),_=M[u];if(typeof _!="function"||!(u in _t.prototype))return!1;if(s===_)return!0;var k=uo(_);return!!k&&s===k[0]}function R1(s){return!!tu&&tu in s}var D1=ma?Ui:Eo;function Fr(s){var u=s&&s.constructor,_=typeof u=="function"&&u.prototype||$l;return s===_}function tf(s){return s===s&&!jt(s)}function nf(s,u){return function(_){return _==null?!1:_[s]===u&&(u!==t||s in Ot(_))}}function V1(s){var u=Ja(s,function(k){return _.size===h&&_.clear(),k}),_=u.cache;return u}function O1(s,u){var _=s[1],k=u[1],N=_|k,F=N<(C|y|H),q=k==H&&_==I||k==H&&_==D&&s[7].length<=u[8]||k==(H|D)&&u[7].length<=u[8]&&_==I;if(!(F||q))return s;k&C&&(s[2]=u[2],N|=_&C?0:P);var J=u[3];if(J){var x=s[3];s[3]=x?Uu(x,J,u[4]):J,s[4]=x?tl(s[3],d):u[4]}return J=u[5],J&&(x=s[5],s[5]=x?Bu(x,J,u[6]):J,s[6]=x?tl(s[5],d):u[6]),J=u[7],J&&(s[7]=J),k&H&&(s[8]=s[8]==null?u[8]:wn(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function M1(s){var u=[];if(s!=null)for(var _ in Ot(s))u.push(_);return u}function F1(s){return va.call(s)}function lf(s,u,_){return u=un(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,F=un(k.length-u,0),q=oe(F);++N<F;)q[N]=k[u+N];N=-1;for(var J=oe(u+1);++N<u;)J[N]=k[N];return J[u]=_(q),sn(s,this,J)}}function rf(s,u){return u.length<2?s:Dl(s,Xn(u,0,-1))}function U1(s,u){for(var _=s.length,k=wn(u.length,_),N=Rn(s);k--;){var F=u[k];s[k]=Fi(F,_)?N[F]:t}return s}function _o(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var af=of(Tu),Ur=xp||function(s,u){return nt.setTimeout(s,u)},po=of(s1);function sf(s,u,_){var k=u+"";return po(s,L1(k,B1(I1(k),_)))}function of(s){var u=0,_=0;return function(){var k=im(),N=ce-(k-_);if(_=k,N>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function za(s,u){var _=-1,k=s.length,N=k-1;for(u=u===t?k:u;++_<u;){var F=Xs(_,N),q=s[F];s[F]=s[_],s[_]=q}return s.length=u,s}var uf=V1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(Cl,function(_,k,N,F){u.push(N?F.replace(xe,"$1"):k||_)}),u});function pi(s){if(typeof s=="string"||qn(s))return s;var u=s+"";return u=="0"&&1/s==-ae?"-0":u}function Ol(s){if(s!=null){try{return ba.call(s)}catch{}try{return s+""}catch{}}return""}function B1(s,u){return Kt(qe,function(_){var k="_."+_[0];u&_[1]&&!ha(s,k)&&s.push(k)}),s.sort()}function ff(s){if(s instanceof _t)return s.clone();var u=new Qn(s.__wrapped__,s.__chain__);return u.__actions__=Rn(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function H1(s,u,_){(_?yn(s,u,_):u===t)?u=1:u=un(at(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,F=0,q=oe(Pa(k/u));N<k;)q[F++]=Xn(s,N,N+=u);return q}function W1(s){for(var u=-1,_=s==null?0:s.length,k=0,N=[];++u<_;){var F=s[u];F&&(N[k++]=F)}return N}function q1(){var s=arguments.length;if(!s)return[];for(var u=oe(s-1),_=arguments[0],k=s;k--;)u[k-1]=arguments[k];return el(lt(_)?Rn(_):[_],_n(u,1))}var z1=ot(function(s,u){return tn(s)?Rr(s,_n(u,1,tn,!0)):[]}),G1=ot(function(s,u){var _=$n(u);return tn(_)&&(_=t),tn(s)?Rr(s,_n(u,1,tn,!0),Ze(_,2)):[]}),K1=ot(function(s,u){var _=$n(u);return tn(_)&&(_=t),tn(s)?Rr(s,_n(u,1,tn,!0),t,_):[]});function j1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:at(u),Xn(s,u<0?0:u,k)):[]}function J1(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:at(u),u=k-u,Xn(s,0,u<0?0:u)):[]}function Y1(s,u){return s&&s.length?Oa(s,Ze(u,3),!0,!0):[]}function Q1(s,u){return s&&s.length?Oa(s,Ze(u,3),!0):[]}function Z1(s,u,_,k){var N=s==null?0:s.length;return N?(_&&typeof _!="number"&&yn(s,u,_)&&(_=0,k=N),qm(s,u,_,k)):[]}function cf(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:at(_);return N<0&&(N=un(k+N,0)),ga(s,Ze(u,3),N)}function df(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return _!==t&&(N=at(_),N=_<0?un(k+N,0):wn(N,k-1)),ga(s,Ze(u,3),N,!0)}function hf(s){var u=s==null?0:s.length;return u?_n(s,1):[]}function X1(s){var u=s==null?0:s.length;return u?_n(s,ae):[]}function $1(s,u){var _=s==null?0:s.length;return _?(u=u===t?1:at(u),_n(s,u)):[]}function x1(s){for(var u=-1,_=s==null?0:s.length,k={};++u<_;){var N=s[u];k[N[0]]=N[1]}return k}function gf(s){return s&&s.length?s[0]:t}function eb(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=_==null?0:at(_);return N<0&&(N=un(k+N,0)),Yl(s,u,N)}function tb(s){var u=s==null?0:s.length;return u?Xn(s,0,-1):[]}var nb=ot(function(s){var u=Wt(s,no);return u.length&&u[0]===s[0]?js(u):[]}),ib=ot(function(s){var u=$n(s),_=Wt(s,no);return u===$n(_)?u=t:_.pop(),_.length&&_[0]===s[0]?js(_,Ze(u,2)):[]}),lb=ot(function(s){var u=$n(s),_=Wt(s,no);return u=typeof u=="function"?u:t,u&&_.pop(),_.length&&_[0]===s[0]?js(_,t,u):[]});function rb(s,u){return s==null?"":tm.call(s,u)}function $n(s){var u=s==null?0:s.length;return u?s[u-1]:t}function ab(s,u,_){var k=s==null?0:s.length;if(!k)return-1;var N=k;return _!==t&&(N=at(_),N=N<0?un(k+N,0):wn(N,k-1)),u===u?Bp(s,u,N):ga(s,Jo,N,!0)}function sb(s,u){return s&&s.length?yu(s,at(u)):t}var ob=ot(_f);function _f(s,u){return s&&s.length&&u&&u.length?Zs(s,u):s}function ub(s,u,_){return s&&s.length&&u&&u.length?Zs(s,u,Ze(_,2)):s}function fb(s,u,_){return s&&s.length&&u&&u.length?Zs(s,u,t,_):s}var cb=Mi(function(s,u){var _=s==null?0:s.length,k=qs(s,u);return Nu(s,Wt(u,function(N){return Fi(N,_)?+N:N}).sort(Fu)),k});function db(s,u){var _=[];if(!(s&&s.length))return _;var k=-1,N=[],F=s.length;for(u=Ze(u,3);++k<F;){var q=s[k];u(q,k,s)&&(_.push(q),N.push(k))}return Nu(s,N),_}function mo(s){return s==null?s:rm.call(s)}function hb(s,u,_){var k=s==null?0:s.length;return k?(_&&typeof _!="number"&&yn(s,u,_)?(u=0,_=k):(u=u==null?0:at(u),_=_===t?k:at(_)),Xn(s,u,_)):[]}function gb(s,u){return Va(s,u)}function _b(s,u,_){return xs(s,u,Ze(_,2))}function pb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u);if(k<_&&ai(s[k],u))return k}return-1}function mb(s,u){return Va(s,u,!0)}function bb(s,u,_){return xs(s,u,Ze(_,2),!0)}function vb(s,u){var _=s==null?0:s.length;if(_){var k=Va(s,u,!0)-1;if(ai(s[k],u))return k}return-1}function wb(s){return s&&s.length?Lu(s):[]}function kb(s,u){return s&&s.length?Lu(s,Ze(u,2)):[]}function Sb(s){var u=s==null?0:s.length;return u?Xn(s,1,u):[]}function Cb(s,u,_){return s&&s.length?(u=_||u===t?1:at(u),Xn(s,0,u<0?0:u)):[]}function yb(s,u,_){var k=s==null?0:s.length;return k?(u=_||u===t?1:at(u),u=k-u,Xn(s,u<0?0:u,k)):[]}function Pb(s,u){return s&&s.length?Oa(s,Ze(u,3),!1,!0):[]}function Ib(s,u){return s&&s.length?Oa(s,Ze(u,3)):[]}var Nb=ot(function(s){return ll(_n(s,1,tn,!0))}),Tb=ot(function(s){var u=$n(s);return tn(u)&&(u=t),ll(_n(s,1,tn,!0),Ze(u,2))}),Lb=ot(function(s){var u=$n(s);return u=typeof u=="function"?u:t,ll(_n(s,1,tn,!0),t,u)});function Ab(s){return s&&s.length?ll(s):[]}function Eb(s,u){return s&&s.length?ll(s,Ze(u,2)):[]}function Rb(s,u){return u=typeof u=="function"?u:t,s&&s.length?ll(s,t,u):[]}function bo(s){if(!(s&&s.length))return[];var u=0;return s=xi(s,function(_){if(tn(_))return u=un(_.length,u),!0}),Vs(u,function(_){return Wt(s,Es(_))})}function pf(s,u){if(!(s&&s.length))return[];var _=bo(s);return u==null?_:Wt(_,function(k){return sn(u,t,k)})}var Db=ot(function(s,u){return tn(s)?Rr(s,u):[]}),Vb=ot(function(s){return to(xi(s,tn))}),Ob=ot(function(s){var u=$n(s);return tn(u)&&(u=t),to(xi(s,tn),Ze(u,2))}),Mb=ot(function(s){var u=$n(s);return u=typeof u=="function"?u:t,to(xi(s,tn),t,u)}),Fb=ot(bo);function Ub(s,u){return Du(s||[],u||[],Er)}function Bb(s,u){return Du(s||[],u||[],Or)}var Hb=ot(function(s){var u=s.length,_=u>1?s[u-1]:t;return _=typeof _=="function"?(s.pop(),_):t,pf(s,_)});function mf(s){var u=M(s);return u.__chain__=!0,u}function Wb(s,u){return u(s),s}function Ga(s,u){return u(s)}var qb=Mi(function(s){var u=s.length,_=u?s[0]:0,k=this.__wrapped__,N=function(F){return qs(F,s)};return u>1||this.__actions__.length||!(k instanceof _t)||!Fi(_)?this.thru(N):(k=k.slice(_,+_+(u?1:0)),k.__actions__.push({func:Ga,args:[N],thisArg:t}),new Qn(k,this.__chain__).thru(function(F){return u&&!F.length&&F.push(t),F}))});function zb(){return mf(this)}function Gb(){return new Qn(this.value(),this.__chain__)}function Kb(){this.__values__===t&&(this.__values__=Ef(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function jb(){return this}function Jb(s){for(var u,_=this;_ instanceof La;){var k=ff(_);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;_=_.__wrapped__}return N.__wrapped__=s,u}function Yb(){var s=this.__wrapped__;if(s instanceof _t){var u=s;return this.__actions__.length&&(u=new _t(this)),u=u.reverse(),u.__actions__.push({func:Ga,args:[mo],thisArg:t}),new Qn(u,this.__chain__)}return this.thru(mo)}function Qb(){return Ru(this.__wrapped__,this.__actions__)}var Zb=Ma(function(s,u,_){Nt.call(s,_)?++s[_]:Vi(s,_,1)});function Xb(s,u,_){var k=lt(s)?Ko:Wm;return _&&yn(s,u,_)&&(u=t),k(s,Ze(u,3))}function $b(s,u){var _=lt(s)?xi:_u;return _(s,Ze(u,3))}var xb=zu(cf),ev=zu(df);function tv(s,u){return _n(Ka(s,u),1)}function nv(s,u){return _n(Ka(s,u),ae)}function iv(s,u,_){return _=_===t?1:at(_),_n(Ka(s,u),_)}function bf(s,u){var _=lt(s)?Kt:il;return _(s,Ze(u,3))}function vf(s,u){var _=lt(s)?Ns:gu;return _(s,Ze(u,3))}var lv=Ma(function(s,u,_){Nt.call(s,_)?s[_].push(u):Vi(s,_,[u])});function rv(s,u,_,k){s=Dn(s)?s:ar(s),_=_&&!k?at(_):0;var N=s.length;return _<0&&(_=un(N+_,0)),Za(s)?_<=N&&s.indexOf(u,_)>-1:!!N&&Yl(s,u,_)>-1}var av=ot(function(s,u,_){var k=-1,N=typeof u=="function",F=Dn(s)?oe(s.length):[];return il(s,function(q){F[++k]=N?sn(u,q,_):Dr(q,u,_)}),F}),sv=Ma(function(s,u,_){Vi(s,_,u)});function Ka(s,u){var _=lt(s)?Wt:ku;return _(s,Ze(u,3))}function ov(s,u,_,k){return s==null?[]:(lt(u)||(u=u==null?[]:[u]),_=k?t:_,lt(_)||(_=_==null?[]:[_]),Pu(s,u,_))}var uv=Ma(function(s,u,_){s[_?0:1].push(u)},function(){return[[],[]]});function fv(s,u,_){var k=lt(s)?Ls:Qo,N=arguments.length<3;return k(s,Ze(u,4),_,N,il)}function cv(s,u,_){var k=lt(s)?Cp:Qo,N=arguments.length<3;return k(s,Ze(u,4),_,N,gu)}function dv(s,u){var _=lt(s)?xi:_u;return _(s,Ya(Ze(u,3)))}function hv(s){var u=lt(s)?fu:r1;return u(s)}function gv(s,u,_){(_?yn(s,u,_):u===t)?u=1:u=at(u);var k=lt(s)?Mm:a1;return k(s,u)}function _v(s){var u=lt(s)?Fm:o1;return u(s)}function pv(s){if(s==null)return 0;if(Dn(s))return Za(s)?Zl(s):s.length;var u=kn(s);return u==St||u==Dt?s.size:Ys(s).length}function mv(s,u,_){var k=lt(s)?As:u1;return _&&yn(s,u,_)&&(u=t),k(s,Ze(u,3))}var bv=ot(function(s,u){if(s==null)return[];var _=u.length;return _>1&&yn(s,u[0],u[1])?u=[]:_>2&&yn(u[0],u[1],u[2])&&(u=[u[0]]),Pu(s,_n(u,1),[])}),ja=$p||function(){return nt.Date.now()};function vv(s,u){if(typeof u!="function")throw new Yn(a);return s=at(s),function(){if(--s<1)return u.apply(this,arguments)}}function wf(s,u,_){return u=_?t:u,u=s&&u==null?s.length:u,Oi(s,H,t,t,t,t,u)}function kf(s,u){var _;if(typeof u!="function")throw new Yn(a);return s=at(s),function(){return--s>0&&(_=u.apply(this,arguments)),s<=1&&(u=t),_}}var vo=ot(function(s,u,_){var k=C;if(_.length){var N=tl(_,lr(vo));k|=V}return Oi(s,k,u,_,N)}),Sf=ot(function(s,u,_){var k=C|y;if(_.length){var N=tl(_,lr(Sf));k|=V}return Oi(u,k,s,_,N)});function Cf(s,u,_){u=_?t:u;var k=Oi(s,I,t,t,t,t,t,u);return k.placeholder=Cf.placeholder,k}function yf(s,u,_){u=_?t:u;var k=Oi(s,T,t,t,t,t,t,u);return k.placeholder=yf.placeholder,k}function Pf(s,u,_){var k,N,F,q,J,x,_e=0,pe=!1,ye=!1,De=!0;if(typeof s!="function")throw new Yn(a);u=xn(u)||0,jt(_)&&(pe=!!_.leading,ye="maxWait"in _,F=ye?un(xn(_.maxWait)||0,u):F,De="trailing"in _?!!_.trailing:De);function Ge(nn){var si=k,Hi=N;return k=N=t,_e=nn,q=s.apply(Hi,si),q}function Xe(nn){return _e=nn,J=Ur(dt,u),pe?Ge(nn):q}function st(nn){var si=nn-x,Hi=nn-_e,Gf=u-si;return ye?wn(Gf,F-Hi):Gf}function $e(nn){var si=nn-x,Hi=nn-_e;return x===t||si>=u||si<0||ye&&Hi>=F}function dt(){var nn=ja();if($e(nn))return pt(nn);J=Ur(dt,st(nn))}function pt(nn){return J=t,De&&k?Ge(nn):(k=N=t,q)}function zn(){J!==t&&Vu(J),_e=0,k=x=N=J=t}function Pn(){return J===t?q:pt(ja())}function Gn(){var nn=ja(),si=$e(nn);if(k=arguments,N=this,x=nn,si){if(J===t)return Xe(x);if(ye)return Vu(J),J=Ur(dt,u),Ge(x)}return J===t&&(J=Ur(dt,u)),q}return Gn.cancel=zn,Gn.flush=Pn,Gn}var wv=ot(function(s,u){return hu(s,1,u)}),kv=ot(function(s,u,_){return hu(s,xn(u)||0,_)});function Sv(s){return Oi(s,O)}function Ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Yn(a);var _=function(){var k=arguments,N=u?u.apply(this,k):k[0],F=_.cache;if(F.has(N))return F.get(N);var q=s.apply(this,k);return _.cache=F.set(N,q)||F,q};return _.cache=new(Ja.Cache||Di),_}Ja.Cache=Di;function Ya(s){if(typeof s!="function")throw new Yn(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function Cv(s){return kf(2,s)}var yv=f1(function(s,u){u=u.length==1&<(u[0])?Wt(u[0],Hn(Ze())):Wt(_n(u,1),Hn(Ze()));var _=u.length;return ot(function(k){for(var N=-1,F=wn(k.length,_);++N<F;)k[N]=u[N].call(this,k[N]);return sn(s,this,k)})}),wo=ot(function(s,u){var _=tl(u,lr(wo));return Oi(s,V,t,u,_)}),If=ot(function(s,u){var _=tl(u,lr(If));return Oi(s,E,t,u,_)}),Pv=Mi(function(s,u){return Oi(s,D,t,t,t,u)});function Iv(s,u){if(typeof s!="function")throw new Yn(a);return u=u===t?u:at(u),ot(s,u)}function Nv(s,u){if(typeof s!="function")throw new Yn(a);return u=u==null?0:un(at(u),0),ot(function(_){var k=_[u],N=al(_,0,u);return k&&el(N,k),sn(s,this,N)})}function Tv(s,u,_){var k=!0,N=!0;if(typeof s!="function")throw new Yn(a);return jt(_)&&(k="leading"in _?!!_.leading:k,N="trailing"in _?!!_.trailing:N),Pf(s,u,{leading:k,maxWait:u,trailing:N})}function Lv(s){return wf(s,1)}function Av(s,u){return wo(io(u),s)}function Ev(){if(!arguments.length)return[];var s=arguments[0];return lt(s)?s:[s]}function Rv(s){return Zn(s,b)}function Dv(s,u){return u=typeof u=="function"?u:t,Zn(s,b,u)}function Vv(s){return Zn(s,g|b)}function Ov(s,u){return u=typeof u=="function"?u:t,Zn(s,g|b,u)}function Mv(s,u){return u==null||du(s,u,dn(u))}function ai(s,u){return s===u||s!==s&&u!==u}var Fv=Ha(Ks),Uv=Ha(function(s,u){return s>=u}),Ml=bu(function(){return arguments}())?bu:function(s){return Xt(s)&&Nt.call(s,"callee")&&!lu.call(s,"callee")},lt=oe.isArray,Bv=jl?Hn(jl):Jm;function Dn(s){return s!=null&&Qa(s.length)&&!Ui(s)}function tn(s){return Xt(s)&&Dn(s)}function Hv(s){return s===!0||s===!1||Xt(s)&&Cn(s)==ht}var sl=em||Eo,Wv=Nl?Hn(Nl):Ym;function qv(s){return Xt(s)&&s.nodeType===1&&!Br(s)}function zv(s){if(s==null)return!0;if(Dn(s)&&(lt(s)||typeof s=="string"||typeof s.splice=="function"||sl(s)||rr(s)||Ml(s)))return!s.length;var u=kn(s);if(u==St||u==Dt)return!s.size;if(Fr(s))return!Ys(s).length;for(var _ in s)if(Nt.call(s,_))return!1;return!0}function Gv(s,u){return Vr(s,u)}function Kv(s,u,_){_=typeof _=="function"?_:t;var k=_?_(s,u):t;return k===t?Vr(s,u,t,_):!!k}function ko(s){if(!Xt(s))return!1;var u=Cn(s);return u==Mt||u==ft||typeof s.message=="string"&&typeof s.name=="string"&&!Br(s)}function jv(s){return typeof s=="number"&&au(s)}function Ui(s){if(!jt(s))return!1;var u=Cn(s);return u==de||u==tt||u==Ve||u==Te}function Nf(s){return typeof s=="number"&&s==at(s)}function Qa(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=fe}function jt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function Xt(s){return s!=null&&typeof s=="object"}var Tf=Is?Hn(Is):Zm;function Jv(s,u){return s===u||Js(s,u,fo(u))}function Yv(s,u,_){return _=typeof _=="function"?_:t,Js(s,u,fo(u),_)}function Qv(s){return Lf(s)&&s!=+s}function Zv(s){if(D1(s))throw new it(r);return vu(s)}function Xv(s){return s===null}function $v(s){return s==null}function Lf(s){return typeof s=="number"||Xt(s)&&Cn(s)==$t}function Br(s){if(!Xt(s)||Cn(s)!=Qt)return!1;var u=Sa(s);if(u===null)return!0;var _=Nt.call(u,"constructor")&&u.constructor;return typeof _=="function"&&_ instanceof _&&ba.call(_)==Yp}var So=Jl?Hn(Jl):Xm;function xv(s){return Nf(s)&&s>=-fe&&s<=fe}var Af=da?Hn(da):$m;function Za(s){return typeof s=="string"||!lt(s)&&Xt(s)&&Cn(s)==Zt}function qn(s){return typeof s=="symbol"||Xt(s)&&Cn(s)==qt}var rr=Tl?Hn(Tl):xm;function e0(s){return s===t}function t0(s){return Xt(s)&&kn(s)==Lt}function n0(s){return Xt(s)&&Cn(s)==gn}var i0=Ha(Qs),l0=Ha(function(s,u){return s<=u});function Ef(s){if(!s)return[];if(Dn(s))return Za(s)?li(s):Rn(s);if(Ir&&s[Ir])return Mp(s[Ir]());var u=kn(s),_=u==St?Ms:u==Dt?_a:ar;return _(s)}function Bi(s){if(!s)return s===0?s:0;if(s=xn(s),s===ae||s===-ae){var u=s<0?-1:1;return u*ne}return s===s?s:0}function at(s){var u=Bi(s),_=u%1;return u===u?_?u-_:u:0}function Rf(s){return s?Rl(at(s),0,Se):0}function xn(s){if(typeof s=="number")return s;if(qn(s))return se;if(jt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=jt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Zo(s);var _=Gt.test(s);return _||Un.test(s)?$i(s.slice(2),_?2:8):bt.test(s)?se:+s}function Df(s){return _i(s,Vn(s))}function r0(s){return s?Rl(at(s),-fe,fe):s===0?s:0}function Pt(s){return s==null?"":Wn(s)}var a0=nr(function(s,u){if(Fr(u)||Dn(u)){_i(u,dn(u),s);return}for(var _ in u)Nt.call(u,_)&&Er(s,_,u[_])}),Vf=nr(function(s,u){_i(u,Vn(u),s)}),Xa=nr(function(s,u,_,k){_i(u,Vn(u),s,k)}),s0=nr(function(s,u,_,k){_i(u,dn(u),s,k)}),o0=Mi(qs);function u0(s,u){var _=tr(s);return u==null?_:cu(_,u)}var f0=ot(function(s,u){s=Ot(s);var _=-1,k=u.length,N=k>2?u[2]:t;for(N&&yn(u[0],u[1],N)&&(k=1);++_<k;)for(var F=u[_],q=Vn(F),J=-1,x=q.length;++J<x;){var _e=q[J],pe=s[_e];(pe===t||ai(pe,$l[_e])&&!Nt.call(s,_e))&&(s[_e]=F[_e])}return s}),c0=ot(function(s){return s.push(t,Zu),sn(Of,t,s)});function d0(s,u){return jo(s,Ze(u,3),gi)}function h0(s,u){return jo(s,Ze(u,3),Gs)}function g0(s,u){return s==null?s:zs(s,Ze(u,3),Vn)}function _0(s,u){return s==null?s:pu(s,Ze(u,3),Vn)}function p0(s,u){return s&&gi(s,Ze(u,3))}function m0(s,u){return s&&Gs(s,Ze(u,3))}function b0(s){return s==null?[]:Ra(s,dn(s))}function v0(s){return s==null?[]:Ra(s,Vn(s))}function Co(s,u,_){var k=s==null?t:Dl(s,u);return k===t?_:k}function w0(s,u){return s!=null&&xu(s,u,zm)}function yo(s,u){return s!=null&&xu(s,u,Gm)}var k0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),s[u]=_},Io(On)),S0=Ku(function(s,u,_){u!=null&&typeof u.toString!="function"&&(u=va.call(u)),Nt.call(s,u)?s[u].push(_):s[u]=[_]},Ze),C0=ot(Dr);function dn(s){return Dn(s)?uu(s):Ys(s)}function Vn(s){return Dn(s)?uu(s,!0):e1(s)}function y0(s,u){var _={};return u=Ze(u,3),gi(s,function(k,N,F){Vi(_,u(k,N,F),k)}),_}function P0(s,u){var _={};return u=Ze(u,3),gi(s,function(k,N,F){Vi(_,N,u(k,N,F))}),_}var I0=nr(function(s,u,_){Da(s,u,_)}),Of=nr(function(s,u,_,k){Da(s,u,_,k)}),N0=Mi(function(s,u){var _={};if(s==null)return _;var k=!1;u=Wt(u,function(F){return F=rl(F,s),k||(k=F.length>1),F}),_i(s,oo(s),_),k&&(_=Zn(_,g|p|b,k1));for(var N=u.length;N--;)eo(_,u[N]);return _});function T0(s,u){return Mf(s,Ya(Ze(u)))}var L0=Mi(function(s,u){return s==null?{}:n1(s,u)});function Mf(s,u){if(s==null)return{};var _=Wt(oo(s),function(k){return[k]});return u=Ze(u),Iu(s,_,function(k,N){return u(k,N[0])})}function A0(s,u,_){u=rl(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var F=s==null?t:s[pi(u[k])];F===t&&(k=N,F=_),s=Ui(F)?F.call(s):F}return s}function E0(s,u,_){return s==null?s:Or(s,u,_)}function R0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Or(s,u,_,k)}var Ff=Yu(dn),Uf=Yu(Vn);function D0(s,u,_){var k=lt(s),N=k||sl(s)||rr(s);if(u=Ze(u,4),_==null){var F=s&&s.constructor;N?_=k?new F:[]:jt(s)?_=Ui(F)?tr(Sa(s)):{}:_={}}return(N?Kt:gi)(s,function(q,J,x){return u(_,q,J,x)}),_}function V0(s,u){return s==null?!0:eo(s,u)}function O0(s,u,_){return s==null?s:Eu(s,u,io(_))}function M0(s,u,_,k){return k=typeof k=="function"?k:t,s==null?s:Eu(s,u,io(_),k)}function ar(s){return s==null?[]:Os(s,dn(s))}function F0(s){return s==null?[]:Os(s,Vn(s))}function U0(s,u,_){return _===t&&(_=u,u=t),_!==t&&(_=xn(_),_=_===_?_:0),u!==t&&(u=xn(u),u=u===u?u:0),Rl(xn(s),u,_)}function B0(s,u,_){return u=Bi(u),_===t?(_=u,u=0):_=Bi(_),s=xn(s),Km(s,u,_)}function H0(s,u,_){if(_&&typeof _!="boolean"&&yn(s,u,_)&&(u=_=t),_===t&&(typeof u=="boolean"?(_=u,u=t):typeof s=="boolean"&&(_=s,s=t)),s===t&&u===t?(s=0,u=1):(s=Bi(s),u===t?(u=s,s=0):u=Bi(u)),s>u){var k=s;s=u,u=k}if(_||s%1||u%1){var N=su();return wn(s+N*(u-s+yr("1e-"+((N+"").length-1))),u)}return Xs(s,u)}var W0=ir(function(s,u,_){return u=u.toLowerCase(),s+(_?Bf(u):u)});function Bf(s){return Po(Pt(s).toLowerCase())}function Hf(s){return s=Pt(s),s&&s.replace(Il,Ep).replace(Ps,"")}function q0(s,u,_){s=Pt(s),u=Wn(u);var k=s.length;_=_===t?k:Rl(at(_),0,k);var N=_;return _-=u.length,_>=0&&s.slice(_,N)==u}function z0(s){return s=Pt(s),s&&fi.test(s)?s.replace(zi,Rp):s}function G0(s){return s=Pt(s),s&&yl.test(s)?s.replace(Li,"\\$&"):s}var K0=ir(function(s,u,_){return s+(_?"-":"")+u.toLowerCase()}),j0=ir(function(s,u,_){return s+(_?" ":"")+u.toLowerCase()}),J0=qu("toLowerCase");function Y0(s,u,_){s=Pt(s),u=at(u);var k=u?Zl(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ba(Ia(N),_)+s+Ba(Pa(N),_)}function Q0(s,u,_){s=Pt(s),u=at(u);var k=u?Zl(s):0;return u&&k<u?s+Ba(u-k,_):s}function Z0(s,u,_){s=Pt(s),u=at(u);var k=u?Zl(s):0;return u&&k<u?Ba(u-k,_)+s:s}function X0(s,u,_){return _||u==null?u=0:u&&(u=+u),lm(Pt(s).replace(ni,""),u||0)}function $0(s,u,_){return(_?yn(s,u,_):u===t)?u=1:u=at(u),$s(Pt(s),u)}function x0(){var s=arguments,u=Pt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var ew=ir(function(s,u,_){return s+(_?"_":"")+u.toLowerCase()});function tw(s,u,_){return _&&typeof _!="number"&&yn(s,u,_)&&(u=_=t),_=_===t?Se:_>>>0,_?(s=Pt(s),s&&(typeof u=="string"||u!=null&&!So(u))&&(u=Wn(u),!u&&Ql(s))?al(li(s),0,_):s.split(u,_)):[]}var nw=ir(function(s,u,_){return s+(_?" ":"")+Po(u)});function iw(s,u,_){return s=Pt(s),_=_==null?0:Rl(at(_),0,s.length),u=Wn(u),s.slice(_,_+u.length)==u}function lw(s,u,_){var k=M.templateSettings;_&&yn(s,u,_)&&(u=t),s=Pt(s),u=Xa({},u,k,Qu);var N=Xa({},u.imports,k.imports,Qu),F=dn(N),q=Os(N,F),J,x,_e=0,pe=u.interpolate||hi,ye="__p += '",De=Fs((u.escape||hi).source+"|"+pe.source+"|"+(pe===Ki?Ye:hi).source+"|"+(u.evaluate||hi).source+"|$","g"),Ge="//# sourceURL="+(Nt.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Oe+"]")+`
|
|
36
|
+
`;s.replace(De,function($e,dt,pt,zn,Pn,Gn){return pt||(pt=zn),ye+=s.slice(_e,Gn).replace(ql,Dp),dt&&(J=!0,ye+=`' +
|
|
37
37
|
__e(`+dt+`) +
|
|
38
|
-
'`),
|
|
39
|
-
`+
|
|
40
|
-
__p += '`),
|
|
41
|
-
((__t = (`+
|
|
42
|
-
'`),_e=
|
|
43
|
-
`;var Xe=
|
|
44
|
-
`+
|
|
38
|
+
'`),Pn&&(x=!0,ye+=`';
|
|
39
|
+
`+Pn+`;
|
|
40
|
+
__p += '`),pt&&(ye+=`' +
|
|
41
|
+
((__t = (`+pt+`)) == null ? '' : __t) +
|
|
42
|
+
'`),_e=Gn+$e.length,$e}),ye+=`';
|
|
43
|
+
`;var Xe=Nt.call(u,"variable")&&u.variable;if(!Xe)ye=`with (obj) {
|
|
44
|
+
`+ye+`
|
|
45
45
|
}
|
|
46
|
-
`;else if(
|
|
46
|
+
`;else if(me.test(Xe))throw new it(o);ye=(x?ye.replace(pl,""):ye).replace(ml,"$1").replace(bl,"$1;"),ye="function("+(Xe||"obj")+`) {
|
|
47
47
|
`+(Xe?"":`obj || (obj = {});
|
|
48
|
-
`)+"var __t, __p = ''"+(
|
|
48
|
+
`)+"var __t, __p = ''"+(J?", __e = _.escape":"")+(x?`, __j = Array.prototype.join;
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
|
50
50
|
`:`;
|
|
51
|
-
`)+
|
|
52
|
-
}`;var ot=qf(function(){return yt(F,Ge+"return "+Ce).apply(t,q)});if(ot.source=Ce,ko(ot))throw ot;return ot}function iw(s){return Pt(s).toLowerCase()}function lw(s){return Pt(s).toUpperCase()}function rw(s,u,_){if(s=Pt(s),s&&(_||u===t))return Zo(s);if(!s||!(u=Hn(u)))return s;var k=li(s),N=li(u),F=Xo(k,N),q=$o(k,N)+1;return il(k,F,q).join("")}function aw(s,u,_){if(s=Pt(s),s&&(_||u===t))return s.slice(0,eu(s)+1);if(!s||!(u=Hn(u)))return s;var k=li(s),N=$o(k,li(u))+1;return il(k,0,N).join("")}function sw(s,u,_){if(s=Pt(s),s&&(_||u===t))return s.replace(ni,"");if(!s||!(u=Hn(u)))return s;var k=li(s),N=Xo(k,li(u));return il(k,N).join("")}function ow(s,u){var _=z,k=Z;if(Kt(u)){var N="separator"in u?u.separator:N;_="length"in u?st(u.length):_,k="omission"in u?Hn(u.omission):k}s=Pt(s);var F=s.length;if(Yl(s)){var q=li(s);F=q.length}if(_>=F)return s;var j=_-Ql(k);if(j<1)return k;var x=q?il(q,0,j).join(""):s.slice(0,j);if(N===t)return x+k;if(q&&(j+=x.length-j),So(N)){if(s.slice(j).search(N)){var _e,pe=x;for(N.global||(N=Fs(N.source,Pt(Fn.exec(N))+"g")),N.lastIndex=0;_e=N.exec(pe);)var Ce=_e.index;x=x.slice(0,Ce===t?j:Ce)}}else if(s.indexOf(Hn(N),j)!=j){var De=x.lastIndexOf(N);De>-1&&(x=x.slice(0,De))}return x+k}function uw(s){return s=Pt(s),s&&Wi.test(s)?s.replace(Ii,Up):s}var fw=nr(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),Po=qu("toUpperCase");function Wf(s,u,_){return s=Pt(s),u=_?t:u,u===t?Dp(s)?Wp(s):yp(s):s.match(u)||[]}var qf=ut(function(s,u){try{return an(s,t,u)}catch(_){return ko(_)?_:new it(_)}}),cw=Di(function(s,u){return Gt(u,function(_){_=gi(_),Ei(s,_,vo(s[_],s))}),s});function dw(s){var u=s==null?0:s.length,_=Qe();return s=u?qt(s,function(k){if(typeof k[1]!="function")throw new Yn(a);return[_(k[0]),k[1]]}):[],ut(function(k){for(var N=-1;++N<u;){var F=s[N];if(an(F[0],this,k))return an(F[1],this,k)}})}function hw(s){return Um(Zn(s,g))}function Io(s){return function(){return s}}function gw(s,u){return s==null||s!==s?u:s}var _w=Gu(),pw=Gu(!0);function Vn(s){return s}function No(s){return wu(typeof s=="function"?s:Zn(s,g))}function mw(s){return Su(Zn(s,g))}function bw(s,u){return Cu(s,Zn(u,g))}var vw=ut(function(s,u){return function(_){return Dr(_,s,u)}}),ww=ut(function(s,u){return function(_){return Dr(s,_,u)}});function To(s,u,_){var k=gn(u),N=Ra(u,k);_==null&&!(Kt(u)&&(N.length||!k.length))&&(_=u,u=s,s=this,N=Ra(u,gn(u)));var F=!(Kt(_)&&"chain"in _)||!!_.chain,q=Oi(s);return Gt(N,function(j){var x=u[j];s[j]=x,q&&(s.prototype[j]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),Ce=pe.__actions__=En(this.__actions__);return Ce.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,Xi([this.value()],arguments))})}),s}function kw(){return nt._===this&&(nt._=Jp),this}function Lo(){}function Sw(s){return s=st(s),ut(function(u){return yu(u,s)})}var Cw=ro(qt),yw=ro(Ko),Pw=ro(As);function zf(s){return ho(s)?Es(gi(s)):t1(s)}function Iw(s){return function(u){return s==null?t:El(s,u)}}var Nw=ju(),Tw=ju(!0);function Ao(){return[]}function Eo(){return!1}function Lw(){return{}}function Aw(){return""}function Ew(){return!0}function Rw(s,u){if(s=st(s),s<1||s>oe)return[];var _=Se,k=kn(s,Se);u=Qe(u),s-=Se;for(var N=Vs(k,u);++_<s;)u(_);return N}function Dw(s){return rt(s)?qt(s,gi):Wn(s)?[s]:En(uf(Pt(s)))}function Vw(s){var u=++Kp;return Pt(s)+u}var Ow=Ua(function(s,u){return s+u},0),Mw=ao("ceil"),Fw=Ua(function(s,u){return s/u},1),Uw=ao("floor");function Bw(s){return s&&s.length?Ea(s,Vn,Ks):t}function Hw(s,u){return s&&s.length?Ea(s,Qe(u,2),Ks):t}function Ww(s){return Yo(s,Vn)}function qw(s,u){return Yo(s,Qe(u,2))}function zw(s){return s&&s.length?Ea(s,Vn,Qs):t}function Gw(s,u){return s&&s.length?Ea(s,Qe(u,2),Qs):t}var Kw=Ua(function(s,u){return s*u},1),jw=ao("round"),Jw=Ua(function(s,u){return s-u},0);function Yw(s){return s&&s.length?Ds(s,Vn):0}function Qw(s,u){return s&&s.length?Ds(s,Qe(u,2)):0}return M.after=mv,M.ary=wf,M.assign=l0,M.assignIn=Vf,M.assignInWith=Xa,M.assignWith=r0,M.at=a0,M.before=kf,M.bind=vo,M.bindAll=cw,M.bindKey=Sf,M.castArray=Lv,M.chain=mf,M.chunk=U1,M.compact=B1,M.concat=H1,M.cond=dw,M.conforms=hw,M.constant=Io,M.countBy=Yb,M.create=s0,M.curry=Cf,M.curryRight=yf,M.debounce=Pf,M.defaults=o0,M.defaultsDeep=u0,M.defer=bv,M.delay=vv,M.difference=W1,M.differenceBy=q1,M.differenceWith=z1,M.drop=G1,M.dropRight=K1,M.dropRightWhile=j1,M.dropWhile=J1,M.fill=Y1,M.filter=Zb,M.flatMap=xb,M.flatMapDeep=ev,M.flatMapDepth=tv,M.flatten=hf,M.flattenDeep=Q1,M.flattenDepth=Z1,M.flip=wv,M.flow=_w,M.flowRight=pw,M.fromPairs=X1,M.functions=p0,M.functionsIn=m0,M.groupBy=nv,M.initial=x1,M.intersection=eb,M.intersectionBy=tb,M.intersectionWith=nb,M.invert=v0,M.invertBy=w0,M.invokeMap=lv,M.iteratee=No,M.keyBy=rv,M.keys=gn,M.keysIn=Dn,M.map=Ka,M.mapKeys=S0,M.mapValues=C0,M.matches=mw,M.matchesProperty=bw,M.memoize=Ja,M.merge=y0,M.mergeWith=Of,M.method=vw,M.methodOf=ww,M.mixin=To,M.negate=Ya,M.nthArg=Sw,M.omit=P0,M.omitBy=I0,M.once=kv,M.orderBy=av,M.over=Cw,M.overArgs=Sv,M.overEvery=yw,M.overSome=Pw,M.partial=wo,M.partialRight=If,M.partition=sv,M.pick=N0,M.pickBy=Mf,M.property=zf,M.propertyOf=Iw,M.pull=ab,M.pullAll=_f,M.pullAllBy=sb,M.pullAllWith=ob,M.pullAt=ub,M.range=Nw,M.rangeRight=Tw,M.rearg=Cv,M.reject=fv,M.remove=fb,M.rest=yv,M.reverse=mo,M.sampleSize=dv,M.set=L0,M.setWith=A0,M.shuffle=hv,M.slice=cb,M.sortBy=pv,M.sortedUniq=bb,M.sortedUniqBy=vb,M.split=x0,M.spread=Pv,M.tail=wb,M.take=kb,M.takeRight=Sb,M.takeRightWhile=Cb,M.takeWhile=yb,M.tap=Bb,M.throttle=Iv,M.thru=Ga,M.toArray=Ef,M.toPairs=Ff,M.toPairsIn=Uf,M.toPath=Dw,M.toPlainObject=Df,M.transform=E0,M.unary=Nv,M.union=Pb,M.unionBy=Ib,M.unionWith=Nb,M.uniq=Tb,M.uniqBy=Lb,M.uniqWith=Ab,M.unset=R0,M.unzip=bo,M.unzipWith=pf,M.update=D0,M.updateWith=V0,M.values=rr,M.valuesIn=O0,M.without=Eb,M.words=Wf,M.wrap=Tv,M.xor=Rb,M.xorBy=Db,M.xorWith=Vb,M.zip=Ob,M.zipObject=Mb,M.zipObjectDeep=Fb,M.zipWith=Ub,M.entries=Ff,M.entriesIn=Uf,M.extend=Vf,M.extendWith=Xa,To(M,M),M.add=Ow,M.attempt=qf,M.camelCase=B0,M.capitalize=Bf,M.ceil=Mw,M.clamp=M0,M.clone=Av,M.cloneDeep=Rv,M.cloneDeepWith=Dv,M.cloneWith=Ev,M.conformsTo=Vv,M.deburr=Hf,M.defaultTo=gw,M.divide=Fw,M.endsWith=H0,M.eq=ai,M.escape=W0,M.escapeRegExp=q0,M.every=Qb,M.find=Xb,M.findIndex=cf,M.findKey=f0,M.findLast=$b,M.findLastIndex=df,M.findLastKey=c0,M.floor=Uw,M.forEach=bf,M.forEachRight=vf,M.forIn=d0,M.forInRight=h0,M.forOwn=g0,M.forOwnRight=_0,M.get=Co,M.gt=Ov,M.gte=Mv,M.has=b0,M.hasIn=yo,M.head=gf,M.identity=Vn,M.includes=iv,M.indexOf=$1,M.inRange=F0,M.invoke=k0,M.isArguments=Vl,M.isArray=rt,M.isArrayBuffer=Fv,M.isArrayLike=Rn,M.isArrayLikeObject=en,M.isBoolean=Uv,M.isBuffer=ll,M.isDate=Bv,M.isElement=Hv,M.isEmpty=Wv,M.isEqual=qv,M.isEqualWith=zv,M.isError=ko,M.isFinite=Gv,M.isFunction=Oi,M.isInteger=Nf,M.isLength=Qa,M.isMap=Tf,M.isMatch=Kv,M.isMatchWith=jv,M.isNaN=Jv,M.isNative=Yv,M.isNil=Zv,M.isNull=Qv,M.isNumber=Lf,M.isObject=Kt,M.isObjectLike=Qt,M.isPlainObject=Br,M.isRegExp=So,M.isSafeInteger=Xv,M.isSet=Af,M.isString=Za,M.isSymbol=Wn,M.isTypedArray=lr,M.isUndefined=$v,M.isWeakMap=xv,M.isWeakSet=e0,M.join=ib,M.kebabCase=z0,M.last=$n,M.lastIndexOf=lb,M.lowerCase=G0,M.lowerFirst=K0,M.lt=t0,M.lte=n0,M.max=Bw,M.maxBy=Hw,M.mean=Ww,M.meanBy=qw,M.min=zw,M.minBy=Gw,M.stubArray=Ao,M.stubFalse=Eo,M.stubObject=Lw,M.stubString=Aw,M.stubTrue=Ew,M.multiply=Kw,M.nth=rb,M.noConflict=kw,M.noop=Lo,M.now=ja,M.pad=j0,M.padEnd=J0,M.padStart=Y0,M.parseInt=Q0,M.random=U0,M.reduce=ov,M.reduceRight=uv,M.repeat=Z0,M.replace=X0,M.result=T0,M.round=jw,M.runInContext=X,M.sample=cv,M.size=gv,M.snakeCase=$0,M.some=_v,M.sortedIndex=db,M.sortedIndexBy=hb,M.sortedIndexOf=gb,M.sortedLastIndex=_b,M.sortedLastIndexBy=pb,M.sortedLastIndexOf=mb,M.startCase=ew,M.startsWith=tw,M.subtract=Jw,M.sum=Yw,M.sumBy=Qw,M.template=nw,M.times=Rw,M.toFinite=Mi,M.toInteger=st,M.toLength=Rf,M.toLower=iw,M.toNumber=xn,M.toSafeInteger=i0,M.toString=Pt,M.toUpper=lw,M.trim=rw,M.trimEnd=aw,M.trimStart=sw,M.truncate=ow,M.unescape=uw,M.uniqueId=Vw,M.upperCase=fw,M.upperFirst=Po,M.each=bf,M.eachRight=vf,M.first=gf,To(M,function(){var s={};return di(M,function(u,_){At.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Gt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Gt(["drop","take"],function(s,u){gt.prototype[s]=function(_){_=_===t?1:on(st(_),0);var k=this.__filtered__&&!u?new gt(this):this.clone();return k.__filtered__?k.__takeCount__=kn(_,k.__takeCount__):k.__views__.push({size:kn(_,Se),type:s+(k.__dir__<0?"Right":"")}),k},gt.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Gt(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==$||_==K;gt.prototype[s]=function(N){var F=this.clone();return F.__iteratees__.push({iteratee:Qe(N,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Gt(["head","last"],function(s,u){var _="take"+(u?"Right":"");gt.prototype[s]=function(){return this[_](1).value()[0]}}),Gt(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");gt.prototype[s]=function(){return this.__filtered__?new gt(this):this[_](1)}}),gt.prototype.compact=function(){return this.filter(Vn)},gt.prototype.find=function(s){return this.filter(s).head()},gt.prototype.findLast=function(s){return this.reverse().find(s)},gt.prototype.invokeMap=ut(function(s,u){return typeof s=="function"?new gt(this):this.map(function(_){return Dr(_,s,u)})}),gt.prototype.reject=function(s){return this.filter(Ya(Qe(s)))},gt.prototype.slice=function(s,u){s=st(s);var _=this;return _.__filtered__&&(s>0||u<0)?new gt(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=st(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},gt.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},gt.prototype.toArray=function(){return this.take(Se)},di(gt.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);N&&(M.prototype[u]=function(){var q=this.__wrapped__,j=k?[1]:arguments,x=q instanceof gt,_e=j[0],pe=x||rt(q),Ce=function(dt){var _t=N.apply(M,Xi([dt],j));return k&&De?_t[0]:_t};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var De=this.__chain__,Ge=!!this.__actions__.length,Xe=F&&!De,ot=x&&!Ge;if(!F&&pe){q=ot?q:new gt(this);var $e=s.apply(q,j);return $e.__actions__.push({func:Ga,args:[Ce],thisArg:t}),new Qn($e,De)}return Xe&&ot?s.apply(this,j):($e=this.thru(Ce),Xe?k?$e.value()[0]:$e.value():$e)})}),Gt(["pop","push","shift","sort","splice","unshift"],function(s){var u=pa[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(rt(F)?F:[],N)}return this[_](function(q){return u.apply(rt(q)?q:[],N)})}}),di(gt.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";At.call(xl,k)||(xl[k]=[]),xl[k].push({name:u,func:_})}}),xl[Fa(t,y).name]=[{name:"wrapper",func:t}],gt.prototype.clone=um,gt.prototype.reverse=fm,gt.prototype.value=cm,M.prototype.at=Hb,M.prototype.chain=Wb,M.prototype.commit=qb,M.prototype.next=zb,M.prototype.plant=Kb,M.prototype.reverse=jb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Jb,M.prototype.first=M.prototype.head,Ir&&(M.prototype[Ir]=Gb),M},Zl=qp();Wt?((Wt.exports=Zl)._=Zl,Dt._=Zl):nt._=Zl}).call(Wr)})(os,os.exports);var Kr=os.exports;class q2{getNodePath(e,t){return me.getNodePath(e,t)}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ut.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ut.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=te.getConfigValue("routing.useHashRouting"),h=te.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?me.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=te.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return te.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=me.getIntentPath(t.split("#")[1]);if(n)return n}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const n=window.location.hash.replace("#/#","").replace("#",""),l=me.getIntentPath(n);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=me.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return te.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&me.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){te.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),g=await me.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await me.getDefaultChildNode(n,async(h,d)=>await Ut.getChildren(h,d));if(n.isExistingRoute){const h=le.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),d=await me.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await Ut.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=me.parseParams(h.split("?")[1]),v=me.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let I=!1,T=P;for(;T;){if(T.tabNav===!0){I=!0;break}else if(T.tabNav===!1){I=!1;break}else if(le.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=re.getParentNode(T,g.navigationPath)}let V=P,E=d.hideSideNav;if(E===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){E=!0;break}if(V.hideSideNav===!1){E=!1;break}V=re.getParentNode(V,g.navigationPath)}const H=me.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=H;const D={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:H,pathParams:g.pathParams,hideSideNav:E||!1,isolateView:d.isolateView||!1,tabNav:I};t.set(Object.assign({},D,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(I?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),d.compound)oi.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)oi.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),O&&(O.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await oi.navigateIframe(l,t,n);else{const Q=t.get(),ce=await t.prepareInternalData(l);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(me.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ce),withoutSync:!0})}}const z=document.querySelector(".lui-tab-header");z&&z.dispatchEvent(new Event("lui_ctx_update")),Ut.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=me.getModalPathFromPath();if(e){const t=me.getModalParamsFromPath(),{nodeObject:n}=await Ut.extractDataFromPath(e);tp.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(me.isDynamicNode(c)){if(!r||o!==me.getDynamicNodeValue(c,e.pathParams)){Gn.deleteNodesRecursively(c);break}}else r=!1}}else Gn.deleteCache()}handleRouteClick(e,t){const n=me.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(n,e,t.get().pathParams);else if(e.link)this.navigateTo(n);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(n)){const r=Ae.getIframeContainer(),a=oi.getActiveIframe(r);a&&a.vg&&oi.canCache(a.vg)?(oi.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{oi.switchActiveIframe(Ae.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(n)}async showPageNotFoundError(e,t,n,l=!1,r={}){const a=me.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}me.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...O2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=me.calculateNodeHref(t,n),window.open(l.url,l.sameWindow?"_self":"_blank").focus()}else le.isObject(e)&&window.open(e.url,e.sameWindow?"_self":"_blank").focus()}getGeneratedWCId(e){const{viewUrl:t,context:n}=e;if(t){const l=me.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName: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&&Kr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>re.checkVisibleForFeatureToggles(a))),ur.renderWebComponentCompound(t,n,l),n._luigi_pathParams=l.pathParams}removeLastChildFromWCContainer(){const e=document.querySelector(".wcContainer");if(e){for(;e.lastChild;)e.lastChild.remove();return e._luigi_node=void 0,e}}updateModalDataInUrl(e,t,n){let l=me.getHashQueryParamSeparator();const r=me.getQueryParams(),a=me.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${me.encodeParams(r)}`}else o.search=`?${me.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=me.getHashQueryParamSeparator();const l=me.getQueryParams(),r=me.getModalViewParamName(),a=l[r],o=new URL(location.href),c=te.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=me.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=me.getURLWithoutModalData(o.search,r),g&&(d+="?"+me.getURLWithoutModalData(o.search,r));if(h=me.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${me.encodeParams(l)}`}else o.search=`?${me.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=me.getQueryParams(),n=me.getModalViewParamName();let l=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=me.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(n),a.delete(`${n}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const at=new q2;class z2{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=me.substituteViewUrl(e,t));const l=Ae.createIframe(e,void 0,n.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const n=t&&t.length?le.getPathWithoutHash(t):"",l=await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),t),r=me.parseParams(n.split("?")[1]),a=me.getNodeParams(r),o=me.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){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="",ct.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 ct=new z2;class G2{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const K2=new G2;class j2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=te.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ui=new j2;class J2{constructor(){return this._userInfoStore=cr({}),this._loggedInStore=cr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.getConfigValue(`auth.${e}`),n=sl.parseUrlAuthErrors()||{};if(await sl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=sl.getStoredAuthData();if(!t||!sl.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await pi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(rl(this._userInfoStore))),le.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&ui.isNewlyAuthorized()&&await pi.handleAuthEvent("onAuthSuccessful",e,t),ui.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ui.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=sl.getStoredAuthData(),t=async l=>{await pi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ui.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await pi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const _n=new J2;class Y2{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 jr=new Y2;class Q2{getStoredAuthData(){return ui.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await pi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const sl=new Q2;class Z2{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"),h=new RegExp(`</${n[l]}[/]>`,"g"),d=new RegExp(`</${n[l]} [/]>`,"g"),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(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").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 h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const hr=new Z2;class X2{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return h2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=jr.hasDecorators()?jr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=te.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(g))try{g(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ae.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ae.specialIframeTypes.filter(n=>Ae.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:zo.getActiveFeatureToggleList(),currentLocale:It.getCurrentLocale(),currentTheme:Uo.getCurrentTheme()}}}const Ae=new X2;class $2{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Kr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Kr.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(Bi.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!te.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=te._remotePromises;return l||(l={counter:0,promises:[]},te._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new $2;class x2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=te.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=zo.getActiveFeatureToggleList();for(const n of e.visibleForFeatureToggles)if(n.startsWith("!")){if(t.includes(n.slice(1)))return!1}else if(!t.includes(n))return!1}return!0}isNodeAccessPermitted(e,t,n){if(pi.isAuthorizationEnabled()){const r=sl.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=te.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return me.getNodePath(e,null)}groupNodesBy(e,t,n){const l=te.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];le.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":It.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ut.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let g;const p=!!d.badgeCounter;if(p&&(g=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Ut.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:te.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";at.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?It.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?It.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Ut.extractDataFromPath(e);return!!await Ut.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Kr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{Kr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=It.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return te.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:re.prepareForTests(e.pathSegment,e.label)}}const re=new x2;class ek{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await rs.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=me.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?me.parseParams(me.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return me.getLocation().search?me.parseParams(me.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(te.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=te.getConfigValue("routing.useHashRouting");Mn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?at.getHashPath():at.getModifiedPathname();e(l)}}),Mn.addEventListener("popstate",n=>{const l=t?at.getHashPath(location.href):at.getModifiedPathname();e(l,n.detail)})}buildRoute(e,t,n){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,n):t+(n?"?"+n:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,n){const l=n||"";if(e.externalLink&&e.externalLink.url){const a=e.externalLink.url,o={context:me.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:at.buildFromRelativePath(e);return l+a}const r=me.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=me.getRouteLink(e,t,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=me.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(n.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(n[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+n[o]}return a}isDynamicNode(e){return e.pathSegment&&e.pathSegment.length>0&&e.pathSegment[0]===":"}getDynamicNodeValue(e,t){return this.isDynamicNode(e)?t[e.pathSegment.substring(1)]:void 0}getI18nViewUrl(e){const t="{i18n.currentLocale}",n=It.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];al.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,al.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,n)=>(t[hr.sanitizeParam(n[0])]=hr.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=>zo.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=te.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=te.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in al.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=al.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&&al.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=te.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&(l.redirectTo||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:It.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 me=new ek;class tk{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 mn=new tk;class nk{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Mn=new nk;class ik{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 lk=new ik;class rk{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const or=new rk,zr=38,fr=40,fl=13,Ul=27,Jr=32,ak=36,sk=35;class ip{constructor(e,t){Ol(this,"dispatch");Ol(this,"search");Ol(this,"isCustomSearchRenderer");Ol(this,"isCustomSearchResultItemRenderer");Ol(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=le.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=le.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=It.getCurrentLocale();if(le.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=It.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?le.isFunction(this.search.searchProvider.onEnter)&&e===fl?this.search.searchProvider.onEnter():le.isFunction(this.search.searchProvider.onEscape)&&e===Ul?this.search.searchProvider.onEscape():e===fr?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===fr&&(o=r!==null?r:t[0]),e===zr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&le.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):le.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Ul&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===fl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===zr||t===fr?this.calcSearchResultItemSelected(t):le.isFunction(this.search.searchProvider.onEscape)&&t===Ul&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>{this.setFocusOnGlobalSearchFieldDesktop(n)}),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?at.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>{this.setFocusOnGlobalSearchFieldDesktop()}),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&le.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Qf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Zf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=S("div"),t=S("div"),n=S("span"),r=W(),a=S("p"),c=W(),h=S("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){A(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=ee(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&L(e),p=!1,b()}}}function ok(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Zf(Qf(i,t,l));return{c(){e=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-120xz9q"),f(e,"aria-hidden","false")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Qf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Zf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:He,o:He,d(l){l&&L(e),ft(n,l),i[5](null)}}}function uk(i,e,t){const n=Jt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=wt("getUnsavedChangesModalPromise"),c=wt("handleNavigation");Kn(()=>{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=hr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),ln(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function g(p){Ze[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class fk extends Ot{constructor(e){super(),Vt(this,e,uk,ok,Et,{alertQueue:0,alertTypeMap:1})}}function Xf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function $f(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function ck(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,I=i[0].buttonDismiss+"",T,V,E,H,D,O=i[0].type&&Xf(i),z=i[0].buttonConfirm!==!1&&$f(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=W(),o=S("h2"),h=Ne(c),d=W(),g=S("div"),b=W(),m=S("footer"),v=S("div"),z&&z.c(),C=W(),y=S("div"),P=S("button"),T=Ne(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(g,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Z,Q){A(Z,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,T),H||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Z,[Q]){Z[0].type?O?O.p(Z,Q):(O=Xf(Z),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Q&1&&c!==(c=Z[0].header+"")&&Le(h,c),Q&1&&p!==(p=Z[0].body+"")&&(g.innerHTML=p),Z[0].buttonConfirm!==!1?z?z.p(Z,Q):(z=$f(Z),z.c(),z.m(v,C)):z&&(z.d(1),z=null),Q&1&&I!==(I=Z[0].buttonDismiss+"")&&Le(T,I),Q&1&&V!==(V="fd-button "+(Z[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--"+Z[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:He,o:He,d(Z){Z&&L(e),O&&O.d(),z&&z.d(),H=!1,Je(D)}}}function dk(i,e,t){const n=Jt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Qr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),ln(()=>{const d={icon:r[l.type],header:It.getTranslation("luigi.confirmationModal.header"),body:It.getTranslation("luigi.confirmationModal.body"),buttonDismiss:It.getTranslation("luigi.button.dismiss"),buttonConfirm:It.getTranslation("luigi.button.confirm")};t(0,l={...l,body:hr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===Ul&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class hk extends Ot{constructor(e){super(),Vt(this,e,dk,ck,Et,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function gk(i){let e,t,n;const l=i[5].default,r=ds(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){A(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&gs(r,l,a,a[4],n?hs(l,a[4],o,null):_s(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&L(e),r&&r.d(a)}}}function _k(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Jt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return ln(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Mn.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.enableA11yOfInactiveIframe()))}))}),Kn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class Bl extends Ot{constructor(e){super(),Vt(this,e,_k,gk,Et,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function xf(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new Bl({props:{disable:i[2]}});let v=i[0].title&&ec(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),h=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(C,y){A(C,e,y),Me(t,e,null),w(e,n),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,h),w(h,d),p=!0,b||(m=ee(h,"click",i[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=ec(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(t),v&&v.d(),b=!1,m()}}}function ec(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&L(e)}}}function tc(i){let e;const t=i[10].default,n=ds(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&gs(n,t,l,l[9],e?hs(t,l[9],r,null):_s(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function nc(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
51
|
+
`)+ye+`return __p
|
|
52
|
+
}`;var st=qf(function(){return yt(F,Ge+"return "+ye).apply(t,q)});if(st.source=ye,ko(st))throw st;return st}function rw(s){return Pt(s).toLowerCase()}function aw(s){return Pt(s).toUpperCase()}function sw(s,u,_){if(s=Pt(s),s&&(_||u===t))return Zo(s);if(!s||!(u=Wn(u)))return s;var k=li(s),N=li(u),F=Xo(k,N),q=$o(k,N)+1;return al(k,F,q).join("")}function ow(s,u,_){if(s=Pt(s),s&&(_||u===t))return s.slice(0,eu(s)+1);if(!s||!(u=Wn(u)))return s;var k=li(s),N=$o(k,li(u))+1;return al(k,0,N).join("")}function uw(s,u,_){if(s=Pt(s),s&&(_||u===t))return s.replace(ni,"");if(!s||!(u=Wn(u)))return s;var k=li(s),N=Xo(k,li(u));return al(k,N).join("")}function fw(s,u){var _=z,k=Z;if(jt(u)){var N="separator"in u?u.separator:N;_="length"in u?at(u.length):_,k="omission"in u?Wn(u.omission):k}s=Pt(s);var F=s.length;if(Ql(s)){var q=li(s);F=q.length}if(_>=F)return s;var J=_-Zl(k);if(J<1)return k;var x=q?al(q,0,J).join(""):s.slice(0,J);if(N===t)return x+k;if(q&&(J+=x.length-J),So(N)){if(s.slice(J).search(N)){var _e,pe=x;for(N.global||(N=Fs(N.source,Pt(gt.exec(N))+"g")),N.lastIndex=0;_e=N.exec(pe);)var ye=_e.index;x=x.slice(0,ye===t?J:ye)}}else if(s.indexOf(Wn(N),J)!=J){var De=x.lastIndexOf(N);De>-1&&(x=x.slice(0,De))}return x+k}function cw(s){return s=Pt(s),s&&Gi.test(s)?s.replace(Ti,Hp):s}var dw=ir(function(s,u,_){return s+(_?" ":"")+u.toUpperCase()}),Po=qu("toUpperCase");function Wf(s,u,_){return s=Pt(s),u=_?t:u,u===t?Op(s)?zp(s):Ip(s):s.match(u)||[]}var qf=ot(function(s,u){try{return sn(s,t,u)}catch(_){return ko(_)?_:new it(_)}}),hw=Mi(function(s,u){return Kt(u,function(_){_=pi(_),Vi(s,_,vo(s[_],s))}),s});function gw(s){var u=s==null?0:s.length,_=Ze();return s=u?Wt(s,function(k){if(typeof k[1]!="function")throw new Yn(a);return[_(k[0]),k[1]]}):[],ot(function(k){for(var N=-1;++N<u;){var F=s[N];if(sn(F[0],this,k))return sn(F[1],this,k)}})}function _w(s){return Hm(Zn(s,g))}function Io(s){return function(){return s}}function pw(s,u){return s==null||s!==s?u:s}var mw=Gu(),bw=Gu(!0);function On(s){return s}function No(s){return wu(typeof s=="function"?s:Zn(s,g))}function vw(s){return Su(Zn(s,g))}function ww(s,u){return Cu(s,Zn(u,g))}var kw=ot(function(s,u){return function(_){return Dr(_,s,u)}}),Sw=ot(function(s,u){return function(_){return Dr(s,_,u)}});function To(s,u,_){var k=dn(u),N=Ra(u,k);_==null&&!(jt(u)&&(N.length||!k.length))&&(_=u,u=s,s=this,N=Ra(u,dn(u)));var F=!(jt(_)&&"chain"in _)||!!_.chain,q=Ui(s);return Kt(N,function(J){var x=u[J];s[J]=x,q&&(s.prototype[J]=function(){var _e=this.__chain__;if(F||_e){var pe=s(this.__wrapped__),ye=pe.__actions__=Rn(this.__actions__);return ye.push({func:x,args:arguments,thisArg:s}),pe.__chain__=_e,pe}return x.apply(s,el([this.value()],arguments))})}),s}function Cw(){return nt._===this&&(nt._=Qp),this}function Lo(){}function yw(s){return s=at(s),ot(function(u){return yu(u,s)})}var Pw=ro(Wt),Iw=ro(Ko),Nw=ro(As);function zf(s){return ho(s)?Es(pi(s)):i1(s)}function Tw(s){return function(u){return s==null?t:Dl(s,u)}}var Lw=ju(),Aw=ju(!0);function Ao(){return[]}function Eo(){return!1}function Ew(){return{}}function Rw(){return""}function Dw(){return!0}function Vw(s,u){if(s=at(s),s<1||s>fe)return[];var _=Se,k=wn(s,Se);u=Ze(u),s-=Se;for(var N=Vs(k,u);++_<s;)u(_);return N}function Ow(s){return lt(s)?Wt(s,pi):qn(s)?[s]:Rn(uf(Pt(s)))}function Mw(s){var u=++Jp;return Pt(s)+u}var Fw=Ua(function(s,u){return s+u},0),Uw=ao("ceil"),Bw=Ua(function(s,u){return s/u},1),Hw=ao("floor");function Ww(s){return s&&s.length?Ea(s,On,Ks):t}function qw(s,u){return s&&s.length?Ea(s,Ze(u,2),Ks):t}function zw(s){return Yo(s,On)}function Gw(s,u){return Yo(s,Ze(u,2))}function Kw(s){return s&&s.length?Ea(s,On,Qs):t}function jw(s,u){return s&&s.length?Ea(s,Ze(u,2),Qs):t}var Jw=Ua(function(s,u){return s*u},1),Yw=ao("round"),Qw=Ua(function(s,u){return s-u},0);function Zw(s){return s&&s.length?Ds(s,On):0}function Xw(s,u){return s&&s.length?Ds(s,Ze(u,2)):0}return M.after=vv,M.ary=wf,M.assign=a0,M.assignIn=Vf,M.assignInWith=Xa,M.assignWith=s0,M.at=o0,M.before=kf,M.bind=vo,M.bindAll=hw,M.bindKey=Sf,M.castArray=Ev,M.chain=mf,M.chunk=H1,M.compact=W1,M.concat=q1,M.cond=gw,M.conforms=_w,M.constant=Io,M.countBy=Zb,M.create=u0,M.curry=Cf,M.curryRight=yf,M.debounce=Pf,M.defaults=f0,M.defaultsDeep=c0,M.defer=wv,M.delay=kv,M.difference=z1,M.differenceBy=G1,M.differenceWith=K1,M.drop=j1,M.dropRight=J1,M.dropRightWhile=Y1,M.dropWhile=Q1,M.fill=Z1,M.filter=$b,M.flatMap=tv,M.flatMapDeep=nv,M.flatMapDepth=iv,M.flatten=hf,M.flattenDeep=X1,M.flattenDepth=$1,M.flip=Sv,M.flow=mw,M.flowRight=bw,M.fromPairs=x1,M.functions=b0,M.functionsIn=v0,M.groupBy=lv,M.initial=tb,M.intersection=nb,M.intersectionBy=ib,M.intersectionWith=lb,M.invert=k0,M.invertBy=S0,M.invokeMap=av,M.iteratee=No,M.keyBy=sv,M.keys=dn,M.keysIn=Vn,M.map=Ka,M.mapKeys=y0,M.mapValues=P0,M.matches=vw,M.matchesProperty=ww,M.memoize=Ja,M.merge=I0,M.mergeWith=Of,M.method=kw,M.methodOf=Sw,M.mixin=To,M.negate=Ya,M.nthArg=yw,M.omit=N0,M.omitBy=T0,M.once=Cv,M.orderBy=ov,M.over=Pw,M.overArgs=yv,M.overEvery=Iw,M.overSome=Nw,M.partial=wo,M.partialRight=If,M.partition=uv,M.pick=L0,M.pickBy=Mf,M.property=zf,M.propertyOf=Tw,M.pull=ob,M.pullAll=_f,M.pullAllBy=ub,M.pullAllWith=fb,M.pullAt=cb,M.range=Lw,M.rangeRight=Aw,M.rearg=Pv,M.reject=dv,M.remove=db,M.rest=Iv,M.reverse=mo,M.sampleSize=gv,M.set=E0,M.setWith=R0,M.shuffle=_v,M.slice=hb,M.sortBy=bv,M.sortedUniq=wb,M.sortedUniqBy=kb,M.split=tw,M.spread=Nv,M.tail=Sb,M.take=Cb,M.takeRight=yb,M.takeRightWhile=Pb,M.takeWhile=Ib,M.tap=Wb,M.throttle=Tv,M.thru=Ga,M.toArray=Ef,M.toPairs=Ff,M.toPairsIn=Uf,M.toPath=Ow,M.toPlainObject=Df,M.transform=D0,M.unary=Lv,M.union=Nb,M.unionBy=Tb,M.unionWith=Lb,M.uniq=Ab,M.uniqBy=Eb,M.uniqWith=Rb,M.unset=V0,M.unzip=bo,M.unzipWith=pf,M.update=O0,M.updateWith=M0,M.values=ar,M.valuesIn=F0,M.without=Db,M.words=Wf,M.wrap=Av,M.xor=Vb,M.xorBy=Ob,M.xorWith=Mb,M.zip=Fb,M.zipObject=Ub,M.zipObjectDeep=Bb,M.zipWith=Hb,M.entries=Ff,M.entriesIn=Uf,M.extend=Vf,M.extendWith=Xa,To(M,M),M.add=Fw,M.attempt=qf,M.camelCase=W0,M.capitalize=Bf,M.ceil=Uw,M.clamp=U0,M.clone=Rv,M.cloneDeep=Vv,M.cloneDeepWith=Ov,M.cloneWith=Dv,M.conformsTo=Mv,M.deburr=Hf,M.defaultTo=pw,M.divide=Bw,M.endsWith=q0,M.eq=ai,M.escape=z0,M.escapeRegExp=G0,M.every=Xb,M.find=xb,M.findIndex=cf,M.findKey=d0,M.findLast=ev,M.findLastIndex=df,M.findLastKey=h0,M.floor=Hw,M.forEach=bf,M.forEachRight=vf,M.forIn=g0,M.forInRight=_0,M.forOwn=p0,M.forOwnRight=m0,M.get=Co,M.gt=Fv,M.gte=Uv,M.has=w0,M.hasIn=yo,M.head=gf,M.identity=On,M.includes=rv,M.indexOf=eb,M.inRange=B0,M.invoke=C0,M.isArguments=Ml,M.isArray=lt,M.isArrayBuffer=Bv,M.isArrayLike=Dn,M.isArrayLikeObject=tn,M.isBoolean=Hv,M.isBuffer=sl,M.isDate=Wv,M.isElement=qv,M.isEmpty=zv,M.isEqual=Gv,M.isEqualWith=Kv,M.isError=ko,M.isFinite=jv,M.isFunction=Ui,M.isInteger=Nf,M.isLength=Qa,M.isMap=Tf,M.isMatch=Jv,M.isMatchWith=Yv,M.isNaN=Qv,M.isNative=Zv,M.isNil=$v,M.isNull=Xv,M.isNumber=Lf,M.isObject=jt,M.isObjectLike=Xt,M.isPlainObject=Br,M.isRegExp=So,M.isSafeInteger=xv,M.isSet=Af,M.isString=Za,M.isSymbol=qn,M.isTypedArray=rr,M.isUndefined=e0,M.isWeakMap=t0,M.isWeakSet=n0,M.join=rb,M.kebabCase=K0,M.last=$n,M.lastIndexOf=ab,M.lowerCase=j0,M.lowerFirst=J0,M.lt=i0,M.lte=l0,M.max=Ww,M.maxBy=qw,M.mean=zw,M.meanBy=Gw,M.min=Kw,M.minBy=jw,M.stubArray=Ao,M.stubFalse=Eo,M.stubObject=Ew,M.stubString=Rw,M.stubTrue=Dw,M.multiply=Jw,M.nth=sb,M.noConflict=Cw,M.noop=Lo,M.now=ja,M.pad=Y0,M.padEnd=Q0,M.padStart=Z0,M.parseInt=X0,M.random=H0,M.reduce=fv,M.reduceRight=cv,M.repeat=$0,M.replace=x0,M.result=A0,M.round=Yw,M.runInContext=X,M.sample=hv,M.size=pv,M.snakeCase=ew,M.some=mv,M.sortedIndex=gb,M.sortedIndexBy=_b,M.sortedIndexOf=pb,M.sortedLastIndex=mb,M.sortedLastIndexBy=bb,M.sortedLastIndexOf=vb,M.startCase=nw,M.startsWith=iw,M.subtract=Qw,M.sum=Zw,M.sumBy=Xw,M.template=lw,M.times=Vw,M.toFinite=Bi,M.toInteger=at,M.toLength=Rf,M.toLower=rw,M.toNumber=xn,M.toSafeInteger=r0,M.toString=Pt,M.toUpper=aw,M.trim=sw,M.trimEnd=ow,M.trimStart=uw,M.truncate=fw,M.unescape=cw,M.uniqueId=Mw,M.upperCase=dw,M.upperFirst=Po,M.each=bf,M.eachRight=vf,M.first=gf,To(M,function(){var s={};return gi(M,function(u,_){Nt.call(M.prototype,_)||(s[_]=u)}),s}(),{chain:!1}),M.VERSION=n,Kt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){M[s].placeholder=M}),Kt(["drop","take"],function(s,u){_t.prototype[s]=function(_){_=_===t?1:un(at(_),0);var k=this.__filtered__&&!u?new _t(this):this.clone();return k.__filtered__?k.__takeCount__=wn(_,k.__takeCount__):k.__views__.push({size:wn(_,Se),type:s+(k.__dir__<0?"Right":"")}),k},_t.prototype[s+"Right"]=function(_){return this.reverse()[s](_).reverse()}}),Kt(["filter","map","takeWhile"],function(s,u){var _=u+1,k=_==$||_==j;_t.prototype[s]=function(N){var F=this.clone();return F.__iteratees__.push({iteratee:Ze(N,3),type:_}),F.__filtered__=F.__filtered__||k,F}}),Kt(["head","last"],function(s,u){var _="take"+(u?"Right":"");_t.prototype[s]=function(){return this[_](1).value()[0]}}),Kt(["initial","tail"],function(s,u){var _="drop"+(u?"":"Right");_t.prototype[s]=function(){return this.__filtered__?new _t(this):this[_](1)}}),_t.prototype.compact=function(){return this.filter(On)},_t.prototype.find=function(s){return this.filter(s).head()},_t.prototype.findLast=function(s){return this.reverse().find(s)},_t.prototype.invokeMap=ot(function(s,u){return typeof s=="function"?new _t(this):this.map(function(_){return Dr(_,s,u)})}),_t.prototype.reject=function(s){return this.filter(Ya(Ze(s)))},_t.prototype.slice=function(s,u){s=at(s);var _=this;return _.__filtered__&&(s>0||u<0)?new _t(_):(s<0?_=_.takeRight(-s):s&&(_=_.drop(s)),u!==t&&(u=at(u),_=u<0?_.dropRight(-u):_.take(u-s)),_)},_t.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},_t.prototype.toArray=function(){return this.take(Se)},gi(_t.prototype,function(s,u){var _=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=M[k?"take"+(u=="last"?"Right":""):u],F=k||/^find/.test(u);N&&(M.prototype[u]=function(){var q=this.__wrapped__,J=k?[1]:arguments,x=q instanceof _t,_e=J[0],pe=x||lt(q),ye=function(dt){var pt=N.apply(M,el([dt],J));return k&&De?pt[0]:pt};pe&&_&&typeof _e=="function"&&_e.length!=1&&(x=pe=!1);var De=this.__chain__,Ge=!!this.__actions__.length,Xe=F&&!De,st=x&&!Ge;if(!F&&pe){q=st?q:new _t(this);var $e=s.apply(q,J);return $e.__actions__.push({func:Ga,args:[ye],thisArg:t}),new Qn($e,De)}return Xe&&st?s.apply(this,J):($e=this.thru(ye),Xe?k?$e.value()[0]:$e.value():$e)})}),Kt(["pop","push","shift","sort","splice","unshift"],function(s){var u=pa[s],_=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);M.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var F=this.value();return u.apply(lt(F)?F:[],N)}return this[_](function(q){return u.apply(lt(q)?q:[],N)})}}),gi(_t.prototype,function(s,u){var _=M[u];if(_){var k=_.name+"";Nt.call(er,k)||(er[k]=[]),er[k].push({name:u,func:_})}}),er[Fa(t,y).name]=[{name:"wrapper",func:t}],_t.prototype.clone=cm,_t.prototype.reverse=dm,_t.prototype.value=hm,M.prototype.at=qb,M.prototype.chain=zb,M.prototype.commit=Gb,M.prototype.next=Kb,M.prototype.plant=Jb,M.prototype.reverse=Yb,M.prototype.toJSON=M.prototype.valueOf=M.prototype.value=Qb,M.prototype.first=M.prototype.head,Ir&&(M.prototype[Ir]=jb),M},Xl=Gp();Ht?((Ht.exports=Xl)._=Xl,At._=Xl):nt._=Xl}).call(Wr)})(os,os.exports);var Kr=os.exports;class Gk{getNodePath(e,t){return be.getNodePath(e,t)}normalizePath(e){const t=e.indexOf("/")===0;let n=new URL(e,"http://valid.url");const l=n.pathname+n.search+n.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let n=le.getPathWithoutHash(e);return n?(t&&(n.endsWith("/")&&(n=n.substring(0,n.length-1)),t.startsWith("/")||(n+="/"),n+=t),n):t}async navigateTo(e,t={}){const{nodeObject:n}=await Ft.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Ft.shouldPreventNavigation(n)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=te.getConfigValue("routing.useHashRouting"),h=te.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?be.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const g=l?"pushState":"replaceState",p=te.getConfigValue("routing.disableBrowserHistory")?"replaceState":g;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return te.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const n=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>n.length&&(t=l.slice(0,n.length).join("/"))}return this.normalizePath(le.addLeadingSlash(this.concatenatePath(t,e.link)))}getHashPath(e=window.location.hash){if(e&&/\?intent=/i.test(e)){const t=e.replace("#/#","#"),n=be.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=be.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=be.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return te.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=te.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&be.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(te.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(n=>location.href.match(n)).length!==0}handleUnsavedChangesModal(e,t,n,l){const r=window.location.href,a=t.get().unsavedChanges.persistUrl;return a&&history.pushState(window.state,"",a),t.getUnsavedChangesModalPromise().then(()=>{this.resolveUnsavedChanges(e,t,n,l,r)},()=>{})}resolveUnsavedChanges(e,t,n,l,r){e&&(this.handleRouteChange(e,t,n,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){te.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,n,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,h=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!h&&!o){if(console.warn("The intended target route can't be accessed since it has neither a viewUrl nor children. This is most likely a misconfiguration."),!(n&&(n.viewUrl||n.currentNode&&n.currentNode.compound))){const d=await Ft.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),g=await be.getDefaultChildNode(d);this.showPageNotFoundError(r,g,l),this.navigateTo(g)}return!0}return!1}async handlePageNotFound(e,t,n,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await be.getDefaultChildNode(n,async(h,d)=>await Ft.getChildren(h,d));if(n.isExistingRoute){const h=le.getTrimmedUrl(l);return this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),!1}else{if(c&&n.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(n.matchedPath)+"/"+c,a,!0),!0;const h=await Ft.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),"/"),d=await be.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return n.isExistingRoute?!1:(this.showPageNotFoundError(r,n.matchedPath,a,!0),!0)}async handleRouteChange(e,t,n,l,r,a=!1){const o=e||"";if(o.external){this.navigateToExternalLink({url:o.url,sameWindow:!o.openInNewTab});return}if(this.setFeatureToggle(o),!this.shouldSkipRoutingForUrlPatterns()){if(window.Luigi.preventLoadingModalData){window.Luigi.preventLoadingModalData=!1;return}try{if(t.shouldShowUnsavedChangesModal()){await this.handleUnsavedChangesModal(o,t,n,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:g}=await Ft.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,g,o,t,h,l))return;const b=te.getConfigBooleanValue("settings.hideNavigation"),m=be.parseParams(h.split("?")[1]),v=be.getNodeParams(m),C=re.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=g.navigationPath&&g.navigationPath.length>0?g.navigationPath[g.navigationPath.length-1]:null;let I=!1,T=P;for(;T;){if(T.tabNav===!0){I=!0;break}else if(T.tabNav===!1){I=!1;break}else if(le.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=re.getParentNode(T,g.navigationPath)}let V=P,E=d.hideSideNav;if(E===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){E=!0;break}if(V.hideSideNav===!1){E=!1;break}V=re.getParentNode(V,g.navigationPath)}const H=be.substituteDynamicParamsInObject(Object.assign({},g.context,P.context),g.pathParams);g.navigationPath._context=H;const D={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:g.navigationPath,context:H,pathParams:g.pathParams,hideSideNav:E||!1,isolateView:d.isolateView||!1,tabNav:I};t.set(Object.assign({},D,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let O=document.getElementsByClassName("iframeContainer")[0];if(O&&(I?O.classList.add("iframeContainerTabNav"):O.classList.contains("iframeContainerTabNav")&&O.classList.remove("iframeContainerTabNav")),d.compound)oi.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)oi.switchActiveIframe(n,void 0,!1),O&&O.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const Z=document.querySelector(".wcContainer");if(Z&&(Z.configChangedRequest=!1),O&&(O.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await oi.navigateIframe(l,t,n);else{const Q=t.get(),ce=await t.prepareInternalData(l);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(be.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(ce),withoutSync:!0})}}const z=document.querySelector(".lui-tab-header");z&&z.dispatchEvent(new Event("lui_ctx_update")),Ft.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=be.getModalPathFromPath();if(e){const t=be.getModalParamsFromPath(),{nodeObject:n}=await Ft.extractDataFromPath(e);ip.openAsModal(e,t||n.openNodeInModal)}}checkInvalidateCache(e,t){let n=t.split("/");if(e.navigationPath&&e.navigationPath.length>0){let l=e.navigationPath.slice(1),r=!0;for(let a=0;a<l.length;a++){let o=n.length>a?n[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(be.isDynamicNode(c)){if(!r||o!==be.getDynamicNodeValue(c,e.pathParams)){Kn.deleteNodesRecursively(c);break}}else r=!1}}else Kn.deleteCache()}handleRouteClick(e,t){const n=be.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=oi.getActiveIframe(r);a&&a.vg&&oi.canCache(a.vg)?(oi.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{oi.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=be.getPageNotFoundRedirectResult(n,l);if(a.ignoreLuigiErrorHandling)return;const o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}be.showRouteNotFoundAlert(e,n,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,n){if(t){const l={...Fk.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=be.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=be.substituteViewUrl(t,{context:n});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:fr.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&&fr.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&&Kr.isEqual(n._luigi_pathParams,l.pathParams)&&!n.configChangedRequest)return;n.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>re.checkVisibleForFeatureToggles(a))),fr.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=be.getHashQueryParamSeparator();const r=be.getQueryParams(),a=be.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${be.encodeParams(r)}`}else o.search=`?${be.encodeParams(r)}`;n?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let n=be.getHashQueryParamSeparator();const l=be.getQueryParams(),r=be.getModalViewParamName(),a=l[r],o=new URL(location.href),c=te.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,g;if(c){let[p,b]=o.hash.split("?");d=p,g=be.getURLWithoutModalData(b,r),g&&(d+="?"+g)}else d=o.pathname,g=be.getURLWithoutModalData(o.search,r),g&&(d+="?"+be.getURLWithoutModalData(o.search,r));if(h=be.handleHistoryState(h,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(n);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${n}${be.encodeParams(l)}`}else o.search=`?${be.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,g&&(p.hash+="?"+g)}else p.search=g;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=be.getQueryParams(),n=be.getModalViewParamName();let l=new URL(location.href);if(te.getConfigBooleanValue("routing.useHashRouting")){let a={};t[n]&&(a[n]=t[n]),t[`${n}Params`]&&(a[`${n}Params`]=t[`${n}Params`]);let o=be.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 rt=new Gk;class Kk{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,n){e&&(e=be.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 Ft.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),t),r=be.parseParams(n.split("?")[1]),a=be.getNodeParams(r),o=be.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const h=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:h,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:n,pathData:l}=e.get();if(n.webcomponent){fr.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="",ct.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 ct=new Kk;class jk{luigiAfterInit(){te.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Zr.hideAppLoadingIndicator()},0)}}const Jk=new jk;class Yk{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=te.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const ui=new Yk;class Qk{constructor(){return this._userInfoStore=dr({}),this._loggedInStore=dr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=te.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=te.getConfigValue(`auth.${e}`),n=fl.parseUrlAuthErrors()||{};if(await fl.handleUrlAuthErrors(t,n.error,n.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),te.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=fl.getStoredAuthData();if(!t||!fl.isLoggedIn()){if(te.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await bi.handleAuthEvent("onAuthExpired",e)),l?this.startAuthorization():void 0}this.idpProviderInstance.settings&&le.isFunction(this.idpProviderInstance.settings.userInfoFn)?this.idpProviderInstance.settings.userInfoFn(this.idpProviderInstance.settings,t).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):le.isFunction(this.idpProviderInstance.userInfo)?this.idpProviderInstance.userInfo(e).then(l=>{this.setUserInfo(l),this.setLoggedIn(!0)}):(this.setLoggedIn(!0),this.setUserInfo(ol(this._userInfoStore))),le.isFunction(te.getConfigValue("auth.events.onAuthSuccessful"))&&ui.isNewlyAuthorized()&&await bi.handleAuthEvent("onAuthSuccessful",e,t),ui.removeNewlyAuthorized(),le.isFunction(this.idpProviderInstance.setTokenExpirationAction)&&this.idpProviderInstance.setTokenExpirationAction(),le.isFunction(this.idpProviderInstance.setTokenExpireSoonAction)&&this.idpProviderInstance.setTokenExpireSoonAction()}async startAuthorization(){if(this.idpProviderInstance)return this.idpProviderInstance.login().then(e=>{ui.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=fl.getStoredAuthData(),t=async l=>{await bi.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),ui.removeAuthData()},n=te.getConfigValue(`auth.${te.getConfigValue("auth.use")}.logoutFn`);le.isFunction(n)?n(this.idpProviderInstance.settings,e,t):le.isFunction(this.idpProviderInstance.logout)?this.idpProviderInstance.logout(e,t):this._profileLogoutFn?this._profileLogoutFn(e,t):t(this.idpProviderInstance.settings.logoutUrl)}IdpProviderException(e){return{message:e,name:"IdpProviderException"}}async getIdpProviderInstance(e,t){const n=le.getConfigValueFromObject(t,"idpProvider");if(n){const r=await new n(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(te.getConfigValue("auth.events.onAuthConfigError")))await bi.handleAuthEvent("onAuthConfigError",{idpProviderName:e,type:"IdpProviderException"});else throw this.IdpProviderException(`IDP Provider ${e} does not exist.`)}unload(){this.idpProviderInstance&&le.isFunction(this.idpProviderInstance.unload)&&this.idpProviderInstance.unload()}}const hn=new Qk;class Zk{constructor(){this.decorators=[]}hasDecorators(){return this.decorators.length>0}add(e){this.decorators=this.decorators.filter(t=>t.uid!==e.uid).concat(e)}applyDecorators(e,t){if(!e)return e;const n=new URL(le.prependOrigin(e)),l=this.decorators.filter(r=>r.type==="queryString");for(let r=0;r<l.length;r++){const a=l[r];n.searchParams.has(a.key)&&n.searchParams.delete(a.key);const o=a.valueFn();n.searchParams.append(a.key,o)}return t&&(n.search=decodeURIComponent(n.search)),n.href}}const jr=new Zk;class Xk{getStoredAuthData(){return ui.getAuthData()}isLoggedIn(){const e=this.getStoredAuthData();return e&&(()=>e.accessTokenExpirationDate>Number(new Date))()}parseUrlAuthErrors(){const e=le.getUrlParameter("error"),t=le.getUrlParameter("errorDescription");if(e)return{error:e,errorDescription:t}}async handleUrlAuthErrors(e,t,n){return t?await bi.handleAuthEvent("onAuthError",e,{error:t,errorDescription:n},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+n):!0}}const fl=new Xk;class $k{sanitizeHtml(e=""){return e.replace(/&/g,"&").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"),h=new RegExp(`</${n[l]}[/]>`,"g"),d=new RegExp(`</${n[l]} [/]>`,"g"),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(h,`</${n[l]}>`).replace(d,`</${n[l]}>`).replace(g,`</${n[l]}>`).replace(p,`</${n[l]}>`)}return t}sanatizeHtmlExceptTextFormatting(e=""){return this.restoreSanitizedElements(this.sanitizeHtml(e))}sanitizeParam(e=""){return String(e).replace(/</g,"<").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 h=`_luigi_alert_${n}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),g=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,g),links:a.links.concat({elemId:h,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const gr=new $k;class xk{get specialIframeTypes(){return[{iframeKey:"modalIframe",dataKey:"modalIframeData",iframeConfigKey:"modal"},{iframeKey:"drawerIframe",dataKey:"drawerIframeData",iframeConfigKey:"drawer"},{iframeKey:"splitViewIframe",dataKey:"splitViewIframeData",iframeConfigKey:"splitView"}]}hideElementChildren(e){e.children&&Array.from(e.children).forEach(t=>{t.tagName==="IFRAME"&&(t.style.display="none")})}removeElementChildren(e){[...e.children].forEach(n=>{!n.vg&&n.tagName==="IFRAME"&&e.removeChild(n)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameUrl(e,t){if(!e.iframe)return!1;const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=n.previousNodeValues.viewGroup,o=n.viewGroup;return l===r&&!a&&!o}isSameViewGroup(e,t){if(e.iframe){const n=t.get(),l=le.getUrlWithoutHash(n.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(n.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=n.previousNodeValues.viewGroup,h=n.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameUrl(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return _k.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(n=>({id:n.luigi.id,container:n,active:le.isElementVisible(n),type:e}))).reduce((e,t)=>e.concat(t),[])}getMicrofrontendIframes(){return this.getMicrofrontendsInDom().map(e=>e.container)}getCurrentWebcomponentCtnInDom(){return document.querySelector(".iframeContainer.lui-webComponent")}getCurrentMicrofrontendIframe(){const e=this.getModalIframes(),t=this.getMainIframes().filter(le.isElementVisible),n=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||n||null}getIframesWithType(e){return this.getMicrofrontendsInDom().filter(t=>t.type===e).map(t=>t.container)}getMainIframes(){return this.getIframesWithType("main")}getModalIframes(){return this.getIframesWithType("modal")}getVisibleIframes(){return this.getMicrofrontendsInDom().filter(e=>e.active).map(e=>e.container)}sendMessageToIframe(e,t){if(!(e.luigi&&e.luigi.viewUrl&&e._ready))return;const n=this.getLocation(e.luigi.viewUrl);n!==""&&e.contentWindow&&e.contentWindow.postMessage(t,n)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,n,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=te.getConfigValue("settings.customSandboxRules"),c=te.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=jr.hasDecorators()?jr.applyDecorators(e,n?n.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=h.join(" "),d.luigi={viewUrl:e,currentNode:n,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),n&&n.clientPermissions&&(d.luigi.clientPermissions=n.clientPermissions);const g=te.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(g))try{g(d,t,n,l)}catch(p){console.error("Error applying iframe creation interceptor: ",p)}return d}isMessageSource(e,t){return t&&t.contentWindow===e.source}getValidMessageSource(e){const n=[...Ae.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!n||!n.luigi||!n.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!n.luigi.nextViewUrl)return;const r=l?n.luigi.nextViewUrl:n.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return n}getSpecialIframeMessageSource(e,t){return Ae.specialIframeTypes.filter(n=>Ae.isMessageSource(e,t[n.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(n=>{n.getAttribute("oldTab")||n.setAttribute("oldTab",n.getAttribute("tabindex")),n!==e&&n.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const n=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),n&&n!=="null"&&t.setAttribute("tabindex",n)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=!n.closest(e),r=n.getAttribute("tabindex");(r||r===0)&&l&&!n.hasAttribute("oldtab")&&n.setAttribute("oldtab",r),l&&n.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(n=>{const l=n.getAttribute("oldtab");!n.closest(e)&&n.removeAttribute("tabindex"),l&&l!=="null"&&(n.setAttribute("tabindex",l),n.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:zo.getActiveFeatureToggleList(),currentLocale:It.getCurrentLocale(),currentTheme:Uo.getCurrentTheme()}}}const Ae=new xk;class e2{getRandomId(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const n=t.shift();if(this.isObject(e)&&this.isObject(n))for(const l in n)this.isObject(n[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],n[l])):Object.assign(e,{[l]:n[l]});return this.deepMerge(e,...t)}getUrlWithoutHash(e){if(!e)return!1;const t=e.split("#")[0];return t.startsWith("http")?t:window.location.origin+(t.startsWith("/")?"":"/")+t}hasHash(e){return e&&e.search(/^[#\/].*$/)===0}getPathWithoutHash(e){for(;this.hasHash(e);)e=e.substr(1);return e}getUrlParameter(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");const n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return n&&decodeURIComponent(n[1].replace(/\+/g," "))||""}prependOrigin(e){if(!e||e.startsWith("http"))return e;const t=e.startsWith("/");return e.length?window.location.origin+(t?"":"/")+e:window.location.origin}addLeadingSlash(e){return(e.startsWith("/")?"":"/")+e}addTrailingSlash(e){return typeof e!="string"?e:e.replace(/\/?$/,"/")}trimLeadingSlash(e){return this.isString(e)?e.replace(/^\/+/g,""):""}trimTrailingSlash(e){return this.isString(e)?e.replace(/\/+$/,""):""}getTrimmedUrl(e){const t=e.length>0?this.getPathWithoutHash(e):e;return this.trimTrailingSlash(t.split("?")[0])}normalizePath(e){return typeof e!="string"?e:this.addLeadingSlash(this.addTrailingSlash(e))}getConfigValueFromObject(e,t){let n=0,l=e;const r=t.split(".");for(;l&&n<r.length;)l=l[r[n++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,n,l=!0){let r=e;return t&&(l?r=Kr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(n)===0&&(o=o.substring(n.length)),Kr.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(qi.getShellbar()||{}).clientHeight||0}computePxFromPercent(e,t){return e/100*t}computePercentFromPx(e,t){return Math.floor(100*t/e)}isElementVisible(e){return window.getComputedStyle(e,null).getPropertyValue("display")!=="none"}removeInternalProperties(e){return e&&Object.keys(e).filter(t=>!t.startsWith("_")).reduce((t,n)=>(t[n]=e[n],t),{})||e}removeProperties(e,t){const n={};if(!t instanceof Array||!t.length)return console.error("[ERROR] removeProperties requires second parameter: array of keys to remove from object."),e;for(const l in e)if(e.hasOwnProperty(l)){const r=t.filter(o=>l.includes(o)).length===0,a=t.filter(o=>o.endsWith("*")).map(o=>o.slice(0,-1)).filter(o=>l.startsWith(o)).length===0;r&&a&&(n[l]=e[l])}return n}semverCompare(e,t){const n=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(n[r]),o=Number(l[r]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}return 0}requestExperimentalFeature(e,t){const n=!!te.getConfigValue("settings.experimental."+e);return t&&!n&&console.warn("Experimental feature not enabled: ",e),n}createRemotePromise(){let e,t;const n=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=te._remotePromises;return l||(l={counter:0,promises:[]},te._remotePromises=l),n.id=l.counter++,l.promises[n.id]=n,n.doResolve=r=>{delete l.promises[n.id],e(r)},n.doReject=()=>{delete l.promises[n.id],t()},n}getRemotePromise(e){return te._remotePromises?te._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new e2;class t2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.COLLAPSED_SUPER_CATEGORIES_KEY="luigi.preferences.navigation.collapsedSuperCategories",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=te.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,n;return le.isFunction(e.items)?n=e.items().length:n=e.items.length,t==="auto"?n<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(n=>{n&&(t+=(t?"_":"")+encodeURIComponent(n.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=zo.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(bi.isAuthorizationEnabled()){const r=fl.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=te.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,n)}applyContext(e,t,n){if(t)for(var l in t)e[l]=t[l];return n&&e.parentNavigationContexts.unshift(n),e}getNodePath(e){return be.getNodePath(e,null)}groupNodesBy(e,t,n){const l=te.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,g)=>{const p=d.order||0,b=g.order||0;return p-b})};return e.forEach(h=>{let d,g;const p=h[t];le.isObject(p)?(d=p.id?p.id:p.label,g=Object.assign({},p)):(d=p,n&&!p&&(d=this.virtualGroupPrefix+o),g={label:d,_fromString:!0});let b=r[d];b||(n&&p&&o++,(g.order===void 0||g.order===null||g.order==="")&&(g.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=g),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),b.push(h)}),Object.keys(r).forEach(h=>{const d=r[h].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(h=>{c(r[h]),r[h].length===0&&delete r[h]}),r}generateTooltipText(e,t){let n=e.tooltipText;return n===void 0&&(n=te.getConfigValue("navigation.defaults.tooltipText")),n===void 0?t:n===!1?"":It.getTranslation(n)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Ft.getFilteredChildren(e[0]);let n=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!n&&b===d&&(n=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let g;const p=!!d.badgeCounter;if(p&&(g=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>g};else if(p){const m=a[b].badgeCounter.count()+g;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>g}},o.push(a[b]);a[b].children.push(d)}else o.push(d);g&&c.push(g)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Ft.getChildren(o[d])||[]);const h={children:o,selectedNode:n,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((g,p)=>g+p);h.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return h}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:te.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeCollapsedSuperCategoriesState(e,t){let n=JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[];t?n=n.filter(l=>l!==e):n.includes(e)||n.push(e),localStorage.setItem(this.COLLAPSED_SUPER_CATEGORIES_KEY,JSON.stringify(n))}isCollapsedSuperCategory(e){return(JSON.parse(localStorage.getItem(this.COLLAPSED_SUPER_CATEGORIES_KEY))||[]).includes(e)}storeExpandedState(e,t,n=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)n&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";rt.navigateTo(t)}}getBurgerTooltipConfig(){const e=te.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?It.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?It.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 Ft.extractDataFromPath(e);return!!await Ft.shouldPreventNavigation(t)}getPropertyChainValue(e,t,n){return!t||!e?n:Kr.get(e,t,n)}substituteVars(e,t){const l=JSON.stringify(e).replace(/\$\{[a-zA-Z0-9$_.]+\}/g,r=>{const a=r.substr(2,r.length-3);return this.getPropertyChainValue(t,a)||r});return JSON.parse(l)}_fetch(e,t){return fetch(e,t)}processTitleData(e,t){let n=this.getPropertyChainValue(e,t.titlePropertyChain);return n&&(n=n.trim()),n&&t.titleDecorator&&(n=t.titleDecorator.replace("%s",n)),{label:n||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((n,l)=>{if(!e.titleResolver){l(new Error("No title resolver defined at node"));return}const r={...e.titleResolver};delete r._cache;const a=this.substituteVars(r,t),o=JSON.stringify(a);if(e.titleResolver._cache&&e.titleResolver._cache.key===o){n(e.titleResolver._cache.value);return}const c=a.request;this._fetch(c.url,{method:c.method,headers:c.headers,body:JSON.stringify(c.body)}).then(h=>{h.json().then(d=>{try{const g=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:g},n(g)}catch(g){l(g)}})}).catch(h=>{l(h)})}).catch(n=>{Kr.reject(n)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=It.getTranslation(e.label);const n=this.findViewGroup(e);if(n){const l=this.getViewGroupSettings(n)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let n=e.parent;return!n&&t.length>0&&t[1]===e&&(n=t[0]),n}getAllViewGroupSettings(){return te.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:re.prepareForTests(e.pathSegment,e.label)}}const re=new t2;class n2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const n=e.navigationPath[e.navigationPath.length-1],l=t?await t(n,e.context):await rs.getConfigValueFromObjectAsync(n,"children",e.context),r=l.find(a=>a.pathSegment===n.defaultChildNode);if(n.defaultChildNode&&r)return n.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(h=>h.pathSegment);return c&&c.pathSegment||console.error("At least one navigation node in the root hierarchy must have a pathSegment.")}const o=l.find(c=>c.pathSegment&&(c.viewUrl||c.compound||c.externalLink&&c.externalLink.url));if(o)return o.pathSegment}return""}parseParams(e){if(!e)return{};const t={},n=e.replace(/\+/g," "),l=n?n.split("&"):null;return l&&l.forEach(r=>{const a=r.split("=");a&&a.length>0&&(t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]))}),t}encodeParams(e){const t=[];for(const n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}getNodeParams(e){const t={},n=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(n)){const r=l[0].substr(n.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let n=e;return t&&Object.entries(t).forEach(([l,r])=>{n=n.replace(new RegExp(":"+l,"g"),r)}),n}getContentViewParamPrefix(){let e=te.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=te.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return te.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=be.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?be.parseParams(be.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return be.getLocation().search?be.parseParams(be.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(te.getConfigBooleanValue("routing.useHashRouting")){const n=location.hash.indexOf(this.defaultQueryParamSeparator);return n!==-1?e+location.hash.slice(n):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=te.getConfigValue("routing.useHashRouting");Fn.addEventListener("message",n=>{if(n.data.msg==="refreshRoute"&&n.origin===window.origin){const l=t?rt.getHashPath():rt.getModifiedPathname();e(l)}}),Fn.addEventListener("popstate",n=>{const l=t?rt.getHashPath(location.href):rt.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:be.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:rt.buildFromRelativePath(e);return l+a}const r=be.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const n=be.getRouteLink(e,t,te.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(n.url)||n}getNodeHref(e,t){if(te.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}getNodePath(e,t){return!e||t?e?this.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):"":`${e.parent?this.getNodePath(e.parent):""}/${e.pathSegment}`}substituteDynamicParamsInObject(e,t,n=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(n+c)>=0):Object.keys(t).find(c=>a===n+c);return[r,o?l?a.replace(n+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const n=le.trimLeadingSlash(e).split("/"),l=be.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=It.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[gr.sanitizeParam(n[0])]=gr.sanitizeParam(n[1]),t),{})}setFeatureToggles(e,t){let n;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(n=l[e]),!n)return;const r=n.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>zo.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const n=t.split("?"),l=n[0].split("-"),r=Object.fromEntries(new URLSearchParams(n[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=te.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const n=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(n);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=te.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,h],d)=>{r+=`${d>0?"&"+o:""}${c}=${h}`})}return r}else console.warn("Could not parse given intent link.")}else console.warn("No intent mappings are defined in Luigi configuration.");return!1}resolveDynamicIntentPath(e,t){if(!t)return e;let n=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");n=n.replace(a,`/${r}/`)}return n=n.replace(/\/$/,""),n}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(n=>{n in ul.getSearchParams()&&e.clientPermissions.urlParameters[n].read===!0&&(t[n]=ul.getSearchParams()[n])}),t}addSearchParamsFromClient(e,t,n){const l={...t};if(le.isObject(l)&&e&&e.clientPermissions&&e.clientPermissions.urlParameters){const r={};Object.keys(e.clientPermissions.urlParameters).forEach(a=>{a in l&&e.clientPermissions.urlParameters[a].write===!0&&(r[a]=l[a],delete l[a])});for(const a in l)console.warn(`No permission to add the search param "${a}" to the url`);Object.keys(r).length>0&&ul.addSearchParams(r,n)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const n=te.getConfigValue("routing.pageNotFoundHandler");if(typeof n=="function"){const l=n(e,t);if(l&&(l.redirectTo||l.ignoreLuigiErrorHandling))return{path:l.redirectTo,keepURL:l.keepURL,ignoreLuigiErrorHandling:l.ignoreLuigiErrorHandling}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,n){if(n)return t;const l=this.getPageNotFoundRedirectResult(t).path;if(l!==void 0)return l;this.showRouteNotFoundAlert(e,t),console.warn(`Could not find the requested route: ${t}`)}showRouteNotFoundAlert(e,t,n=!1){const l={text:It.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 be=new n2;class i2{optimizeScope(e){let t="";const n=[];return[...e].sort().forEach(l=>{l&&!n.includes(l)&&(!t||l.indexOf(t)!==0)&&(n.push(l),t=l)}),n}expandScope(e){const t=[];return e.forEach(n=>{let l="";n.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,n=[]){e.subscribe(t),this.expandScope(n).forEach(l=>{e.subscribeToScope(t,l)})}}const pn=new i2;class l2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(n=>!(n.type===e&&n.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Fn=new l2;class r2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,n,l,r){try{this.checkInit(),this.checkStorageBrowserSupport();const a=this[l];if(typeof a!="function")throw l+" is not a supported operation for the storage";const o=a.bind(this,this.cleanHostname(t),r)();this.sendBackOperation(e,n,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,n,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const n=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,n)}getItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.parseJsonIfPossible(l)}buildKey(e,t){return this.buildPrefix(e)+t.trim()}buildPrefix(e){return"Luigi#"+e+"#"}removeItem(e,t){this.checkKey(t);const n=this.buildKey(e,t.key),l=this.storage.getItem(n);if(l)return this.storage.removeItem(n),l}clear(e,t){const n=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(n)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const n=this.buildKey(e,t.key);return!!this.storage.getItem(n)}getAllKeys(e,t){const n=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(n)).map(l=>l.substring(n.length))}checkKey(e){if(!e.key||e.key.trim().length===0)throw"Missing key, we cannot execute storage operation"}parseJsonIfPossible(e){try{return JSON.parse(e)}catch{return e}}stringifyValue(e){if(!e)throw"Value is empty";if(typeof e=="string"||e instanceof String)return e;try{return JSON.stringify(e)}catch(t){throw"Value cannot be stringify, error: "+t}}sendBackOperation(e,t,n,l){let r={msg:"storage",data:{id:t,status:n,result:l}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const a2=new r2;class s2{constructor(){}processUserSettingGroups(){const e=[],t=te.getConfigValue("userSettings.userSettingGroups"),n=te.getConfigValue("settings.userSettings.userSettingGroups"),l=t||n;if(le.isObject(l)){for(const r in l){let a={};a[r]=l[r],e.push(a)}return e}return e}createIframe(e,t){const n=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return n.setAttribute("userSettingsGroup",t),n.userSettingsGroup=t,l.appendChild(n),n}getUserSettingsIframesInDom(){const e=document.querySelector(".iframeUserSettingsCtn");return e?[...e.children]:[]}hideUserSettingsIframe(){this.getUserSettingsIframesInDom().forEach(e=>{e.style.display="none"})}findActiveCustomUserSettingsIframe(e){let t=document.querySelectorAll("[userSettingsGroup]");for(let n=0;n<t.length;n++)if(t[n].contentWindow===e)return t[n];return null}}const ur=new s2,zr=38,cr=40,hl=13,Hl=27,Jr=32,o2=36,u2=35;class rp{constructor(e,t){Fl(this,"dispatch");Fl(this,"search");Fl(this,"isCustomSearchRenderer");Fl(this,"isCustomSearchResultItemRenderer");Fl(this,"customSearchItemRendererSlotContainer");this.search=e,this.dispatch=t}getCustomRenderer(){this.search.searchProvider&&(this.isCustomSearchRenderer=le.isFunction(this.search.searchProvider.customSearchResultRenderer),this.isCustomSearchResultItemRenderer=le.isFunction(this.search.searchProvider.customSearchResultItemRenderer))}updateCustomSearchItemRendererSlotContainer(e){this.customSearchItemRendererSlotContainer=e}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}setSearchPlaceholder(e){const t=this.getSearchPlaceholder();t&&(e.placeholder=t)}getSearchPlaceholder(){const e=this.search.searchProvider;if(!e||!e.inputPlaceholder)return;const t=It.getCurrentLocale();if(le.isFunction(e.inputPlaceholder))return e.inputPlaceholder();if(typeof e.inputPlaceholder=="string"){const n=It.getTranslation(e.inputPlaceholder);return n&&n.trim().length>0?n:e.inputPlaceholder}if(typeof e.inputPlaceholder=="object")return e.inputPlaceholder[t]}renderCustomSearchItem(e,t,n){return setTimeout(()=>{search.searchProvider.customSearchResultItemRenderer(e,t.children[n],searchApiObj)}),""}onKeyUp({keyCode:e},t){this.search&&this.search.searchProvider?le.isFunction(this.search.searchProvider.onEnter)&&e===hl?this.search.searchProvider.onEnter():le.isFunction(this.search.searchProvider.onEscape)&&e===Hl?this.search.searchProvider.onEscape():e===cr?t&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(this.search.searchProvider.onInput)&&this.search.searchProvider.onInput():console.warn("GlobalSearch is not available.")}calcSearchResultItemSelected(e){let t=this.customSearchItemRendererSlotContainer.children;if(t)for(let n=0;n<t.length;n++){let{childNodes:l,nextSibling:r,previousSibling:a}=t[n],o;if(l[0].getAttribute("aria-selected")==="true"){e===cr&&(o=r!==null?r:t[0]),e===zr&&(o=a!==null?a:t[t.length-1]),l[0].setAttribute("aria-selected","false"),o.childNodes[0].setAttribute("aria-selected","true"),o.focus();break}}}clearAriaSelected(){let e=this.customSearchItemRendererSlotContainer.children;if(e)for(let t=0;t<e.length;t++){let n=e[t];n.childNodes[0].getAttribute("aria-selected")==="true"&&n.childNodes[0].setAttribute("aria-selected","false")}}closeSearchResult(){this.dispatch("closeSearchResult")}onSearchResultItemSelected(e){this.search&&le.isFunction(this.search.searchProvider.onSearchResultItemSelected)?this.search.searchProvider.onSearchResultItemSelected(e):le.isFunction(this.search.searchProvider.onEscape)&&event.keyCode===Hl&&this.search.searchProvider.onEscape()}handleKeydown(e,{keyCode:t},n,l){this.updateCustomSearchItemRendererSlotContainer(l),t===hl&&this.search.searchProvider.onSearchResultItemSelected(e,this.search),t===zr||t===cr?this.calcSearchResultItemSelected(t):le.isFunction(this.search.searchProvider.onEscape)&&t===Hl&&(this.clearAriaSelected(this.customSearchItemRendererSlotContainer),setTimeout(()=>{this.setFocusOnGlobalSearchFieldDesktop(n)}),this.search.searchProvider.onEscape())}setFocusOnGlobalSearchFieldDesktop(e){e&&e.focus()}onActionClick(e){let t=e.pathObject;t.externalLink?rt.navigateToLink(t):this.dispatch("handleSearchNavigation",{node:t})}toggleSearch(e,t,n,l){if(e||setTimeout(()=>{this.setFocusOnGlobalSearchFieldDesktop()}),this.dispatch("toggleSearch",{isSearchFieldVisible:e,inputElem:n,customSearchItemRendererSlot:l}),this.search&&this.search.searchProvider&&le.isFunction(this.search.searchProvider.toggleSearch)){const r=e===void 0?!0:!e;this.search.searchProvider.toggleSearch(n,r)}}}function Qf(i,e,t){const n=i.slice();return n[9]=e[t],n}function Zf(i){let e,t,n,l,r,a,o=(i[9].dataSanitized?i[9].settings.text:"")+"",c,h,d,g,p,b;function m(){return i[4](i[9])}return{c(){e=S("div"),t=S("div"),n=S("span"),r=W(),a=S("p"),c=W(),h=S("button"),h.innerHTML='<i class="sap-icon sap-icon--decline"></i>',d=W(),f(n,"class",l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q"),f(n,"focusable","false"),f(n,"role","presentation"),f(n,"aria-hidden","true"),f(t,"class","fd-message-strip__icon-container"),f(t,"aria-hidden","true"),f(a,"class","fd-message-strip__text svelte-120xz9q"),f(h,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(h,"aria-label","Close"),f(h,"aria-controls","j2ALl423"),f(h,"data-testid","luigi-alert-dismiss"),f(e,"class",g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(v,C){A(v,e,C),w(e,t),w(t,n),w(e,r),w(e,a),a.innerHTML=o,w(e,c),w(e,h),w(e,d),p||(b=ee(h,"click",m),p=!0)},p(v,C){i=v,C&3&&l!==(l="sap-icon sap-icon--message-"+i[1][i[9].settings.type]+" svelte-120xz9q")&&f(n,"class",l),C&1&&o!==(o=(i[9].dataSanitized?i[9].settings.text:"")+"")&&(a.innerHTML=o),C&3&&g!==(g="fd-message-strip fd-message-strip--"+i[1][i[9].settings.type]+" fd-message-strip--dismissible svelte-120xz9q")&&f(e,"class",g)},d(v){v&&L(e),p=!1,b()}}}function f2(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Zf(Qf(i,t,l));return{c(){e=S("div");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-120xz9q"),f(e,"aria-hidden","false")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Qf(l,t,a);n[a]?n[a].p(o,r):(n[a]=Zf(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},i:He,o:He,d(l){l&&L(e),ut(n,l),i[5](null)}}}function c2(i,e,t){const n=Yt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=kt("getUnsavedChangesModalPromise"),c=kt("handleNavigation");jn(()=>{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=gr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?n("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),rn(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);if(!m)return;m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&n("alertDismiss",{id:b,dismissKey:p.dismissKey})};m.addEventListener("click",v),m.dismissListener=v}catch(m){console.error("Error on Alert::addClickListener",m)}}const d=p=>n("alertDismiss",{id:p.settings.id});function g(p){Je[p?"unshift":"push"](()=>{a=p,t(2,a)})}return i.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,n,d,g]}class d2 extends Rt{constructor(e){super(),Et(this,e,c2,f2,Tt,{alertQueue:0,alertTypeMap:1})}}function Xf(i){let e,t;return{c(){e=S("i"),f(e,"class",t=ei(i[3](i[0].icon))+" svelte-lzffuc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t=ei(n[3](n[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(n){n&&L(e)}}}function $f(i){let e,t,n=i[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(t,"click",i[4]),r=!0)},p(o,c){c&1&&n!==(n=o[0].buttonConfirm+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function h2(i){let e,t,n,l,r,a,o,c=i[0].header+"",h,d,g,p=i[0].body+"",b,m,v,C,y,P,I=i[0].buttonDismiss+"",T,V,E,H,D,O=i[0].type&&Xf(i),z=i[0].buttonConfirm!==!1&&$f(i);return{c(){e=S("div"),t=S("section"),n=S("header"),l=S("div"),r=S("div"),O&&O.c(),a=W(),o=S("h2"),h=Ne(c),d=W(),g=S("div"),b=W(),m=S("footer"),v=S("div"),z&&z.c(),C=W(),y=S("div"),P=S("button"),T=Ne(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-bar fd-bar--header fd-message-box__header"),f(g,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(i[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button"),f(y,"class","fd-bar__element"),f(v,"class","fd-bar__right"),f(m,"class","fd-bar fd-bar--footer fd-message-box__footer"),f(t,"class","fd-message-box__content svelte-lzffuc"),f(e,"class",E="fd-message-box-docs-static fd-message-box fd-message-box--"+i[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(Z,Q){A(Z,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),O&&O.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,g),g.innerHTML=p,w(t,b),w(t,m),w(m,v),z&&z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,T),H||(D=[ee(window,"keydown",i[1]),ee(P,"click",i[5])],H=!0)},p(Z,[Q]){Z[0].type?O?O.p(Z,Q):(O=Xf(Z),O.c(),O.m(r,a)):O&&(O.d(1),O=null),Q&1&&c!==(c=Z[0].header+"")&&Le(h,c),Q&1&&p!==(p=Z[0].body+"")&&(g.innerHTML=p),Z[0].buttonConfirm!==!1?z?z.p(Z,Q):(z=$f(Z),z.c(),z.m(v,C)):z&&(z.d(1),z=null),Q&1&&I!==(I=Z[0].buttonDismiss+"")&&Le(T,I),Q&1&&V!==(V="fd-button "+(Z[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--"+Z[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:He,o:He,d(Z){Z&&L(e),O&&O.d(),z&&z.d(),H=!1,Qe(D)}}}function g2(i,e,t){const n=Yt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Qr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),rn(()=>{const d={icon:r[l.type],header:It.getTranslation("luigi.confirmationModal.header"),body:It.getTranslation("luigi.confirmationModal.body"),buttonDismiss:It.getTranslation("luigi.button.dismiss"),buttonConfirm:It.getTranslation("luigi.button.confirm")};t(0,l={...l,body:gr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const g=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${g}`).focus()}catch{console.warn(`Couldn't focus ${g} in modal`)}});function a(d){return re.renderIconClassName(d)}function o(d){d.keyCode===Hl&&n("modalDismiss")}const c=()=>n("modalConfirm"),h=()=>n("modalDismiss");return i.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,n,a,c,h]}class _2 extends Rt{constructor(e){super(),Et(this,e,g2,h2,Tt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function p2(i){let e,t,n;const l=i[5].default,r=ds(l,i,i[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=i[0]+" "+(i[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){A(a,e,o),r&&r.m(e,null),n=!0},p(a,[o]){r&&r.p&&(!n||o&16)&&gs(r,l,a,a[4],n?hs(l,a[4],o,null):_s(a[4]),null),(!n||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){n||(R(r,a),n=!0)},o(a){U(r,a),n=!1},d(a){a&&L(e),r&&r.d(a)}}}function m2(i,e,t){let{$$slots:n={},$$scope:l}=e;const r=Yt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:g}=e;const p=()=>{const m="lui-backdrop ";o?h.data&&h.data.heightCssClass?t(0,a=m+h.data.heightCssClass):t(0,a=m+"height-auto"):t(0,a="")},b=m=>{if(!d)return!0;const C=[...Ae.getMicrofrontendsInDom(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(y=>y.container&&y.container.contentWindow===m.source);return!(C&&d===C.type)};return rn(()=>{te.getConfigValue("settings.backdropDisabled")||(p(),Fn.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&g!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.enableA11yOfInactiveIframe()))}))}),jn(()=>{o!==c&&(c=o,p())}),i.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,g=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,g,l,n]}class Wl extends Rt{constructor(e){super(),Et(this,e,m2,p2,Tt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function xf(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m;t=new Wl({props:{disable:i[2]}});let v=i[0].title&&ec(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=S("div"),v&&v.c(),a=W(),o=S("div"),c=S("div"),h=S("button"),d=S("i"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(d,"class","sap-icon sap-icon--decline"),f(h,"class","fd-button fd-button--transparent fd-button--compact"),f(h,"aria-label","close"),f(h,"data-testid",g=i[0].closebtn_data_testid&&i[5]?i[0].closebtn_data_testid:"lui-modal-index-"+i[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1hy363a")},m(C,y){A(C,e,y),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,h),w(h,d),p=!0,b||(m=ee(h,"click",i[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=ec(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&g!==(g=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",g)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){U(t.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(t),v&&v.d(),b=!1,m()}}}function ec(i){let e,t=i[0].title+"",n;return{c(){e=S("h2"),n=Ne(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(n,t)},d(l){l&&L(e)}}}function tc(i){let e;const t=i[10].default,n=ds(t,i,i[9],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&512)&&gs(n,t,l,l[9],e?hs(t,l[9],r,null):_s(l[9]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function nc(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
53
53
|
<div class="fd-busy-indicator__circle"></div>
|
|
54
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function pk(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&xf(i),C=i[4]&&tc(i),y=i[3]&&nc();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-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",g=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=ei(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,I){A(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,h),y&&y.m(t,null),m=!0},p(P,[I]){P[5]||P[4]&&P[0].header?v?(v.p(P,I),I&49&&R(v,1)):(v=xf(P),v.c(),R(v,1),v.m(t,n)):v&&(be(),U(v,1,1,()=>{v=null}),ve()),P[4]?C?(C.p(P,I),I&16&&R(C,1)):(C=tc(P),C.c(),R(C,1),C.m(l,r)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),(!m||I&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(a,"class",o),(!m||I&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=nc(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1rzu3xo"))&&f(t,"class",d),(!m||I&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||I&49&&p!==(p=ei(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||I&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&L(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function mk(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=Jt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,I=!0,T,V=wt("store");const E=G=>re.getNodeLabel(G),H=async G=>{const K=G&&G.length?le.getPathWithoutHash(G):"",fe=me.parseParams(K.split("?")[1]);b=me.getNodeParams(fe);const oe=await Ut.extractDataFromPath(G);g=oe.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),T=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(g),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(g),r),t(0,r._liveLabel=!0,r)),p=oe.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Z():await O(),ur.renderWebComponent(g.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),v=!0;else{const K=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:K,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,K;const fe=document.querySelector(".lui-modal-index-"+c),{size:oe,width:ne,height:ae}=r,Se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(fe.classList.remove("lui-modal-fullscreen"),ne&&ne.match(Se)&&ae&&ae.match(Se))G=ae,K=ne;else switch(oe){case"fullscreen":G="100vh",K="100vw",fe.classList.add("lui-modal-fullscreen");break;case"m":G="80%",K="60%";break;case"s":G="80%",K="40%";break;default:G="80%",K="80%"}fe.setAttribute("style",`width:${K};height:${G};`)},z=async(G,K)=>{P?await Z():await O(),G&&(G=me.substituteViewUrl(G,K));const fe=await Ae.createIframe(G,void 0,g,"modal",K);return document.querySelector(T).appendChild(fe),fe};async function Z(G){let K="";const fe=document.getElementsByClassName("drawer"),oe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?K="width:75%;":r.size==="m"?K="width:50%;":r.size==="s"?K="width:25%;":r.size==="xs"&&(K="width:15.5%;")),r.backdrop?fe[0].setAttribute("style",K):(oe[0].setAttribute("style",K),fe[0].setAttribute("style","width:100%"))}Yr(()=>{D(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,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&ce()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&at.updateModalDataInUrl(me.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};ln(()=>{mn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),Mn.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Qr(()=>{Mn.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let G;I?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const $=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,I,d,a,o,l,n,$]}class lp extends Ot{constructor(e){super(),Vt(this,e,mk,pk,Et,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ic(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function lc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i){let e,t=i[1][1].settings&&sc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function sc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=pc(ic(i,n,r));return{c(){e=S("div"),t=S("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){A(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=ic(r,n,o);l[o]?l[o].p(c,a):(l[o]=pc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&L(e),ft(l,r)}}}function oc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?vk:bk}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function bk(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){A(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function vk(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=S("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){A(o,e,c),jf(e,i[0][i[1][0]][i[27]]),l||(r=ee(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&jf(e,i[0][i[1][0]][i[27]])},d(o){o&&L(e),l=!1,r()}}}function uc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,h,d,g,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function I(){return i[19](i[28])}let T=v&&fc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=W(),g=S("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),T&&T.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",h=!(i[28].isEditable===void 0||i[28].isEditable)),f(g,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),T&&T.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Bt(I))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?T?T.p(i,E):(T=fc(i),T.c(),T.m(m,null)):T&&(T.d(1),T=null)},d(V){V&&L(e),T&&T.d(),C=!1,Je(y)}}}function fc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=cc(rc(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let a;for(a=0;a<t.length;a+=1){const o=rc(l,t,a);n[a]?n[a].p(o,r):(n[a]=cc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function cc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function h(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Ne(n),r=W(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),jt(e,"is-selected",i[4]===i[33]),jt(e,"is-focus",i[4]===i[33])},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[ee(e,"click",h),ee(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Le(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&jt(e,"is-selected",i[4]===i[33]),g[0]&16&&jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Je(c)}}}function dc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=hc(lc(i,l,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){A(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].options;let c;for(c=0;c<l.length;c+=1){const h=lc(a,l,c);r[c]?r[c].p(h,o):(r[c]=hc(h),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&L(e),ft(r,a)}}}function hc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,h,d;function g(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Ne(t),l=W(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){A(p,e,b),w(e,n),w(e,l),h||(d=ee(e,"click",g),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Le(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&L(e),h=!1,d()}}}function gc(i){let e,t,n,l,r,a,o,c,h,d;function g(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=W(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,b){A(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),h||(d=ee(n,"change",g),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,d()}}}function _c(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){A(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ee(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&L(e),n=!1,l()}}}function pc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,h,d,g=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&oc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&uc(i),y=g&&dc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&gc(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&_c(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=W(),c=S("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),I&&I.c(),m=W(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(T,V){A(T,e,V),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),I&&I.m(c,null),w(e,m)},p(T,V){V[0]&34&&l!==(l=T[5](T[28].label)+"")&&Le(r,l),T[28].type==="string"?v?v.p(T,V):(v=oc(T),v.c(),v.m(c,h)):v&&(v.d(1),v=null),T[28].type==="enum"&&(T[28].style===void 0||T[28].style==="list")?C?C.p(T,V):(C=uc(T),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=T[28].type==="enum"&&T[28].style==="button"&&Array.isArray(T[28].options)),g?y?y.p(T,V):(y=dc(T),y.c(),y.m(c,p)):y&&(y.d(1),y=null),T[28].type==="boolean"&&(!T[28].style||T[28].style==="switch")?P?P.p(T,V):(P=gc(T),P.c(),P.m(c,b)):P&&(P.d(1),P=null),T[28].type==="boolean"&&T[28].style==="checkbox"?I?I.p(T,V):(I=_c(T),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(T){T&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),I&&I.d()}}}function wk(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ac(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){A(r,e,a),l&&l.m(e,null),t||(n=[ee(window,"click",i[7]),ee(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=ac(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:He,o:He,d(r){r&&L(e),l&&l.d(),t=!1,Je(n)}}}function is(i,e,t){if(i&&t>0)return i.matches(e)?i:is(i.parentNode,e,t-1)}function kk(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Jt();let o=wt("getTranslation");bi(i,o,$=>t(5,n=$));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p($){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b($,G){let K=is($.target,".fd-popover__control",20),fe=K.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(K,!fe))}function m($,G){const K=$.querySelector(".lui-activate-dropdown"),fe=$.parentNode.querySelector(".fd-popover__body"),oe=$.parentNode.querySelector(".fd-select__control");$.setAttribute("aria-expanded",G),fe.setAttribute("aria-hidden",!G),oe.setAttribute("aria-expanded",G),K.setAttribute("aria-expanded",G),t(14,h=G)}function v($,G,K){t(4,c=K),t(0,r[l[0]][$]=G.value||G,r)}function C($,G){document.querySelectorAll(".enum-buttons-container-"+$+" button").forEach(K=>{const fe=K.getAttribute("id"),oe=`lui-us-enum_button_${$}_option`;fe===oe?K.classList.add("fd-button--emphasized"):K.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][$]=G.value||G,r)}function y($,G){let K;if(Array.isArray(G)){for(let fe=0;fe<G.length;fe++)if(le.isObject(G[fe])){if(G[fe].value&&G[fe].value===$){K=G[fe].label,t(4,c=fe);break}}else{K=$,t(4,c=G.indexOf($));break}return n(K)}}function P($){return n(le.isObject($)?$.label:$)}function I($,G,K){return le.isObject(K)?`${$}_${G}_${K.value}`:`${$}_${G}_${K}`}function T($,G,K,fe){let oe=is($.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${K}`).children;let ae=-1;if([...ne].forEach((Se,ie)=>{Se.classList.contains("is-focus")&&(ae=ie)}),h){if($.keyCode===zr&&$.altKey&&(oe.click(),oe.focus()),$.keyCode===fr&&!$.altKey){if(ae===-1){ae=0,ne.item(ae).classList.add("is-focus");return}ae<fe.options.length-1&&(ne.item(ae).classList.remove("is-focus"),ae+=1,ne.item(ae).classList.add("is-focus"))}if($.keyCode===zr&&!$.altKey){if(ae===-1){ae=ae.length-1,ne.item(ae).classList.add("is-focus");return}ae>0&&ae<fe.options.length&&(ne.item(ae).classList.remove("is-focus"),ae-=1,ne.item(ae).classList.add("is-focus"))}($.keyCode===fl||$.keyCode===Jr)&&v(G,fe.options[ae],ae)}else oe.focus(),$.keyCode===fr&&$.altKey&&oe.click(),$.keyCode===fr&&!$.altKey&&ae<fe.options.length-1&&v(G,fe.options[ae+1],ae+1),$.keyCode===zr&&!$.altKey&&ae>0&&ae<fe.options.length&&v(G,fe.options[ae-1],ae-1)}function V($){if(h){let G=is($.target,".fd-popover",20);G.blur(),($.keyCode===Jr||$.keyCode===fl)&&($.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E($){r[l[0]][$]=this.value,t(0,r)}const H=($,G,K,fe)=>T(fe,$,G,K),D=$=>b(event,$.isEditable),O=($,G,K)=>v($,G,K),z=$=>V($),Z=($,G)=>C($,G);function Q($){r[l[0]][$]=this.checked,t(0,r)}function ce($){r[l[0]][$]=this.checked,t(0,r)}return i.$$set=$=>{"userSettingGroup"in $&&t(1,l=$.userSettingGroup),"storedUserSettingData"in $&&t(0,r=$.storedUserSettingData),"isComboOpen"in $&&t(14,h=$.isComboOpen)},[r,l,T,V,c,n,o,p,b,v,C,y,P,I,h,d,g,E,H,D,O,z,Z,Q,ce]}class Sk extends Ot{constructor(e){super(),Vt(this,e,kk,wk,Et,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:mc}=dl;function bc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function vc(i,e,t){const n=i.slice();return n[37]=e[t],n}function wc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?yk:Ck}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),A(o,t,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&L(t),o&&L(n)}}}function Ck(i){let e,t,n,l,r,a=i[37][1].initials&&kc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=we(),f(e,"class",t=ei(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),On(e,"background-image","url('"+i[37][1].icon+"')"),On(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),a&&a.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=ei(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&On(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=kc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&L(e),o&&L(l),a&&a.d(o),o&&L(r)}}}function yk(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n)},d(l){l&&L(e)}}}function kc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=ei(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){A(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(n,t),o[0]&2&&l!==(l=ei(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&L(e)}}}function Sc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,h,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",g,p,b,m,v=i[37][1].icon&&wc(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),h=S("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-12fj8b7"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,I){A(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,g),w(e,p),b||(m=[ee(e,"click",mt(C)),ee(e,"keydown",y)],b=!0)},p(P,I){i=P,i[37][1].icon?v?v.p(i,I):(v=wc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),I[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(g,d)},d(P){P&&L(e),v&&v.d(),b=!1,Je(m)}}}function Cc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Sc(vc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=vc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Sc(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function yc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new Sk({props:o}),Ze.push(()=>vt(e,"closeDropDown",r,i[9])),Ze.push(()=>vt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,h){Me(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],bt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],bt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function Pk(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,g,p,b,m,v,C,y,P=i[10](i[7])+"",I,T,V,E,H,D,O,z,Z,Q,ce,$=i[10](i[5])+"",G,K,fe,oe,ne=i[10](i[6])+"",ae,Se,ie,Re,qe=Object.entries(i[1]),ye=[];for(let Ve=0;Ve<qe.length;Ve+=1)ye[Ve]=Cc(bc(i,qe,Ve));let Pe=i[11]&&yc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=W(),g=S("div"),p=S("ul");for(let Ve=0;Ve<ye.length;Ve+=1)ye[Ve].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),I=Ne(P),T=W(),V=S("div"),E=S("div"),Pe&&Pe.c(),H=W(),D=S("div"),O=W(),z=S("footer"),Z=S("div"),Q=S("div"),ce=S("button"),G=Ne($),K=W(),fe=S("div"),oe=S("button"),ae=Ne(ne),f(o,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-12fj8b7"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(g,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-12fj8b7"),f(r,"class","fd-side-nav svelte-12fj8b7"),f(l,"class","lui-usersettings-left-nav svelte-12fj8b7"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-12fj8b7"),f(y,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-12fj8b7"),f(E,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-12fj8b7"),f(V,"class","lui-usersettings-content svelte-12fj8b7"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-12fj8b7"),f(ce,"data-testid","lui-us-saveBtn"),f(ce,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Q,"class","fd-bar__element"),f(oe,"data-testid","lui-us-dismissBtn"),f(oe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(fe,"class","fd-bar__element"),f(Z,"class","fd-bar__right"),f(z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-12fj8b7"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-12fj8b7"),f(e,"tabindex","0")},m(Ve,ht){A(Ve,e,ht),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,g),w(g,p);for(let We=0;We<ye.length;We+=1)ye[We].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,I),w(n,T),w(n,V),w(V,E),Pe&&Pe.m(E,null),w(V,H),w(V,D),w(t,O),w(t,z),w(z,Z),w(Z,Q),w(Q,ce),w(ce,G),w(Z,K),w(Z,fe),w(fe,oe),w(oe,ae),Se=!0,ie||(Re=[ee(mc,"resize",i[20]),ee(mc,"keydown",i[3]),ee(v,"click",i[17]),ee(ce,"click",i[25]),ee(oe,"click",i[26])],ie=!0)},p(Ve,ht){if((!Se||ht[0]&1040)&&c!==(c=Ve[10](Ve[4])+"")&&Le(h,c),ht[0]&803846){qe=Object.entries(Ve[1]);let We;for(We=0;We<qe.length;We+=1){const et=bc(Ve,qe,We);ye[We]?ye[We].p(et,ht):(ye[We]=Cc(et),ye[We].c(),ye[We].m(p,null))}for(;We<ye.length;We+=1)ye[We].d(1);ye.length=qe.length}(!Se||ht[0]&1152)&&P!==(P=Ve[10](Ve[7])+"")&&Le(I,P),Ve[11]?Pe?(Pe.p(Ve,ht),ht[0]&2048&&R(Pe,1)):(Pe=yc(Ve),Pe.c(),R(Pe,1),Pe.m(E,null)):Pe&&(be(),U(Pe,1,1,()=>{Pe=null}),ve()),(!Se||ht[0]&1056)&&$!==($=Ve[10](Ve[5])+"")&&Le(G,$),(!Se||ht[0]&1088)&&ne!==(ne=Ve[10](Ve[6])+"")&&Le(ae,ne)},i(Ve){Se||(R(Pe),Se=!0)},o(Ve){U(Pe),Se=!1},d(Ve){Ve&&L(e),ft(ye,Ve),Pe&&Pe.d(),ie=!1,Je(Re)}}}function Pc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function Ik(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function Nk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function rp(i,e,t){if(i&&t>0)return i.matches(e)?i:rp(i.parentNode,e,t-1)}function Ic(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function Tk(i,e,t){let n,{userSettingGroups:l}=e;const r=Jt();let a,{storedUserSettings:o={}}=e,c={},h=wt("getTranslation");bi(i,h,ae=>t(10,n=ae));let d=ul.userSettingsDialog.dialogHeader,g=ul.userSettingsDialog.saveBtn,p=ul.userSettingsDialog.dismissBtn,b={},m,v,C,y;Qr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),ln(()=>{const ae=te.getConfigValue("userSettings.userSettingsDialog"),Se=ae||te.getConfigValue("settings.userSettings.userSettingsDialog");Se&&(t(4,d=Se.dialogHeader?Se.dialogHeader:d),t(5,g=Se.saveBtn?Se.saveBtn:g),t(6,p=Se.dismissBtn?Se.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Mn.addEventListener("message",ie=>{const Re=Ae.getValidMessageSource(ie);if(!Re||ie.data.msg!=="custom")return;Re._ready=!0;const qe=as.convertCustomMessageInternalToUser(ie.data),ye="luigi.updateUserSettings";if(qe.id===ye){const Pe=or.findActiveCustomUserSettingsIframe(ie.source);if(Pe){let Ve=Pe.getAttribute("userSettingsGroup");t(0,o[Ve]=qe.data,o)}}qe.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<un.desktopMinWidth&&H()}),te.readUserSettings().then(ie=>{c=JSON.parse(JSON.stringify(ie)),ie===null?t(0,o=Pc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Pc(JSON.parse(JSON.stringify(l)),ie)),I([m,l[0][m]])}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(ae){if(t(7,v=ae.title?ae.title:""),!!le.isObject(ae.settings))for(let Se in ae.settings){let ie=ae.settings[Se];ie.type==="enum"?Array.isArray(ie.options)||console.error(`There is no options array for '${Se}' defined in the Luigi userSettings config.`):ie.type===void 0&&console.error(`There is no data type defined for '${Se}' in the Luigi userSettings config.`)}}function I(ae,Se){t(11,a=ae);let ie=ae[0],Re=ae[1];if(P(Re),Se?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(ye=>{ye.classList.remove("is-selected")}),rp(Se.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<un.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<un.desktopMinWidth&&Ic()),Re.viewUrl){if(or.hideUserSettingsIframe(),b.hasOwnProperty(ie))or.getUserSettingsIframesInDom().forEach(qe=>{qe.userSettingsGroup===ie&&(qe.style.display="block")});else{const qe=jr.hasDecorators()?jr.applyDecorators(Re.viewUrl):Re.viewUrl;let ye=or.createIframe(qe,ie);b[ie]=ye}Ik()}else Nk()}const T=ae=>{t(0,o=ae.detail.userSettings)};function V(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(ae=>{ae&&ae.message&&console.error(ae.message),ae&&ae.closeDialog&&r("close")})}function E(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<un.desktopMinWidth&&Ic()}function D(ae){return re.renderIconClassName(ae)}function O(ae){return re.isOpenUIiconName(ae.icon)}let z;const Z=()=>{const ae=window.innerWidth>=un.desktopMinWidth&&z<un.desktopMinWidth;if(window.innerWidth<un.desktopMinWidth&&z>=un.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"),ae&&(document.querySelector(".confirm-button").style.display="block"),!z){let ie=document.querySelector(".confirm-button");window.innerWidth<un.desktopMinWidth?ie.style.display="none":ie.style.display="block"}z=window.innerWidth};function Q(ae,Se){let ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(ae.keyCode===fl||ae.keyCode===Jr)&&ie[Se].click(),ae.keyCode===sk&&ie[Object.keys(l).length-1].focus(),ae.keyCode===ak&&ie[0].focus()}function ce(ae){ae.keyCode===Ul&&C?y():ae.keyCode===Ul&&!C&&r("close")}const $=ae=>I(ae,event),G=(ae,Se)=>Q(Se,[ae]);function K(ae){y=ae,t(9,y)}function fe(ae){C=ae,t(8,C)}const oe=()=>V(),ne=()=>r("close");return i.$$set=ae=>{"userSettingGroups"in ae&&t(1,l=ae.userSettingGroups),"storedUserSettings"in ae&&t(0,o=ae.storedUserSettings)},[o,l,Q,ce,d,g,p,v,C,y,n,a,r,h,I,T,V,H,D,O,Z,$,G,K,fe,oe,ne]}class Lk extends Ot{constructor(e){super(),Vt(this,e,Tk,Pk,Et,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Ak}=dl;function Ek(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){A(t,e,n)},p:He,d(t){t&&L(e)}}}function Rk(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=S("h1"),a=Ne(r),f(t,"class","lui-collapse-btn svelte-1dkgq68"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),f(l,"class","fd-splitView__title svelte-1dkgq68")},m(h,d){A(h,e,d),w(e,t),A(h,n,d),A(h,l,d),w(l,a),o||(c=ee(t,"click",Bt(mt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Le(a,r)},d(h){h&&L(e),h&&L(n),h&&L(l),o=!1,c()}}}function Nc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=W(),n=S("div"),l=S("div"),r=W(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1dkgq68"),f(n,"id","splitViewDragger")},m(h,d){A(h,e,d),A(h,t,d),A(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Bt(mt(i[3]))),ee(n,"mousedown",Bt(i[6]))],o=!0)},p:He,d(h){h&&L(e),h&&L(t),h&&L(n),o=!1,Je(c)}}}function Dk(i){let e,t,n,l,r,a,o,c,h,d;t=new Bl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?Rk:Ek}let p=g(i),b=p(i),m=!i[0]&&Nc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=we(),f(l,"class","lui-split-view svelte-1dkgq68"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(v,C){A(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),A(v,a,C),m&&m.m(v,C),A(v,o,C),c=!0,h||(d=ee(Ak,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=g(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1dkgq68"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Nc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Fe(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),h=!1,d()}}}function Vk(i,e,t){const n=Jt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,g,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,I=!1,T=wt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:g,splitViewWC:p,splitViewWCData:b}),set:K=>{K&&Object.getOwnPropertyNames(K).forEach(fe=>{fe==="splitViewSettings"?t(1,C=K.splitViewSettings):fe==="lastNode"?r=K.lastNode:fe==="pathData"?a=K.pathData:fe==="nodeParams"?o=K.nodeParams:fe==="collapsed"?t(0,v=K.collapsed):fe==="isDataPrepared"?t(8,y=K.isDataPrepared):fe==="currentNode"?c=K.currentNode:fe==="splitViewIframe"?d=K.splitViewIframe:fe==="splitViewIframeData"?g=K.splitViewIframeData:fe==="splitViewWC"?p=K.splitViewWC:fe==="splitViewWCData"&&(b=K.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:T}),E=async()=>{y?v||ct.createAndSetView(V()):await ct.prepareSplitViewData(V(),m)},H=()=>{l.split=ct.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ct.getDragger()},D=()=>{const K=ct.getDraggerBackdrop();K&&(K.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${ct.splitViewValues.top}px`),l.split.style.top=`${ct.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(K){if(Ae.getValidMessageSource(K)&&(K.data.msg==="luigi.navigation.splitview.close"&&ct.close(V()),K.data.msg==="luigi.navigation.splitview.collapse"&&z(),K.data.msg==="luigi.navigation.splitview.expand"&&Z(),K.data.msg==="luigi.navigation.splitview.resize")){const fe=parseInt(K.data.data);if(ct.calculateAndSetSplitViewValues(fe,ct.internalValues),v)return;D(),ct.sendMessageToClients("resize.ok",ct.splitViewValues.percent)}}ln(()=>{Q(),h=O.bind(this),Mn.addEventListener("message",h)}),Yr(()=>{E(),I!==y&&!v&&(I=y,D())}),Qr(()=>{window.removeEventListener("message",h)});function z(){ct.collapse(V())}async function Z(){await ct.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const K=le.getShellbarHeight();ct.internalValues.innerHeight=le.getInnerHeight(),ct.internalValues.rightContentHeight=ct.internalValues.innerHeight-K,ct.internalValues.thresholdBottom=30,ct.internalValues.thresholdTop=K+30,ct.calculateAndSetSplitViewValues(ct.splitViewValues.percent,ct.internalValues),v||D()}function ce(K){let fe=K.y,oe={};const ne=function(qe){const ye=fe-qe.y,Pe=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Pe)||ye===0)return;const Ve=Pe-ye,ht=ct.internalValues.innerHeight-Ve,We=ct.enforceTresholds(Ve,ht);Ve<We.top||ht<We.bottom||(oe=We,fe=qe.y,l.draggable.style.top=`${oe.top}px`)},ae=function(){if(Se(),!oe.top||!oe.bottom||oe.top==ct.internalValues.m_pos_prev){ct.getDraggerBackdrop().style.display="none";return}ct.internalValues.m_pos_prev=oe.top,ct.splitViewValues=oe,D(),ct.sendMessageToClients("resize.ok",oe.percent)},Se=function(){document.removeEventListener("mouseup",ae),document.removeEventListener("mousemove",ne)},ie=function(){document.addEventListener("mouseup",ae),document.addEventListener("mousemove",ne)};H(),Se(),ie(),ct.getDraggerBackdrop().style.display="block"}const $=K=>{let fe=ct.getDraggerButton();fe&&(fe.style.display=K?"block":"none"),fe=ct.getCollapsedDraggerButton(),fe&&(fe.style.display=K?"block":"none")},G=K=>{$(!K.detail||K.detail.backdropActive!==!0)};return i.$$set=K=>{"nodepath"in K&&t(9,m=K.nodepath),"collapsed"in K&&t(0,v=K.collapsed),"splitViewSettings"in K&&t(1,C=K.splitViewSettings),"isDataPrepared"in K&&t(8,y=K.isDataPrepared),"disableBackdrop"in K&&t(2,P=K.disableBackdrop)},[v,C,P,z,Z,Q,ce,G,y,m]}class ap extends Ot{constructor(e){super(),Vt(this,e,Vk,Dk,Et,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Tc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:Fk,then:Mk,catch:Ok,value:1};return ls(t=i[0].badgeCounter.count(),n),{c(){e=we(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ls(t,n)||K_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Ok(i){return{c:He,m:He,p:He,d:He}}function Mk(i){let e,t=i[1]>0&&Lc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Lc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){A(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function Fk(i){return{c:He,m:He,p:He,d:He}}function Uk(i){let e,t=i[0]&&i[0].badgeCounter&&Tc(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function Bk(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Tn extends Ot{constructor(e){super(),Vt(this,e,Bk,Uk,Et,{node:0})}}function Ac(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Le(l,n)},d(r){r&&L(e)}}}function Hk(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ac(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function Wk(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class ti extends Ot{constructor(e){super(),Vt(this,e,Wk,Hk,Et,{node:0})}}function qk(i){let e,t,n,l,r=i[1].title+"",a,o,c,h,d,g,p,b,m,v,C,y;const P=i[4].default,I=ds(P,i,i[3],null);return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),c=S("span"),d=W(),g=S("ul"),I&&I.c(),p=W(),b=S("li"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__has-children-indicator"),f(c,"role","presentation"),f(c,"aria-hidden","true"),f(c,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1p4gus"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class","fd-navigation__item fd-navigation__item--group"),f(t,"aria-level","1"),f(t,"role","treeitem"),f(t,"title",h=i[1].title+" Group"),f(t,"aria-roledescription","Navigation List Tree Item - Group"),f(t,"aria-selected","false"),f(t,"aria-expanded",i[0]),f(b,"class","fd-navigation__list-item fd-navigation__list-item--separator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(g,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),f(g,"role","tree"),f(g,"aria-roledescription","Navigation List Tree - Parent Items"),f(g,"tabindex","-1"),f(g,"navgroupid",m=i[1].uid),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true")},m(T,V){A(T,e,V),w(e,t),w(t,n),w(n,l),w(l,a),w(n,o),w(n,c),w(e,d),w(e,g),I&&I.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Bt(mt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(T,V){(!v||V&2)&&r!==(r=T[1].title+"")&&Le(a,r),(!v||V&2&&h!==(h=T[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",T[0]),I&&I.p&&(!v||V&8)&&gs(I,P,T,T[3],v?hs(P,T[3],V,null):_s(T[3]),null),(!v||V&2&&m!==(m=T[1].uid))&&f(g,"navgroupid",m)},i(T){v||(R(I,T),v=!0)},o(T){U(I,T),v=!1},d(T){T&&L(e),I&&I.d(T),C=!1,Je(y)}}}function zk(i){let e;const t=i[4].default,n=ds(t,i,i[3],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8)&&gs(n,t,l,l[3],e?hs(t,l[3],r,null):_s(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function Gk(i){let e,t,n,l;const r=[zk,qk],a=[];function o(c,h){return c[1].isSingleEntry?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function Kk(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class jk extends Ot{constructor(e){super(),Vt(this,e,Kk,Gk,Et,{navGroup:1,expanded:0})}}const{window:es}=dl;function Ec(i,e,t){const n=i.slice();return n[91]=e[t][0],n[92]=e[t][1],n[94]=t,n}function Rc(i,e,t){const n=i.slice();return n[95]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[95]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[95]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[95]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[88]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[91]=e[t][0],n[92]=e[t][1],n[94]=t,n}function Uc(i,e,t){const n=i.slice();return n[95]=e[t],n}function Bc(i,e,t){const n=i.slice();return n[95]=e[t],n}function Jk(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Hc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&zc(i),b=(i[2]||i[3])&&gd(i);return{c(){e=S("div"),g&&g.c(),t=W(),n=S("nav"),l=S("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1bekqg6")},m(m,v){A(m,e,v),g&&g.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=ee(n,"keyup",i[19]),h=!0)},p(m,v){m[12]?g?g.p(m,v):(g=Hc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=zc(m),p.c(),R(p,1),p.m(l,null)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),m[2]||m[3]?b?b.p(m,v):(b=gd(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-1bekqg6"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Yk(i){let e,t,n,l,r=i[12]&&pd(i),a=i[0]&&i[5].length>1&&vd(i);return{c(){e=S("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"),f(e,"role","navigation"),On(e,"width","var(--luigi__left-sidenav--width)"),On(e,"height","100%")},m(o,c){A(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=pd(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=vd(o),a.c(),R(a,1),a.m(e,null)):a&&(be(),U(a,1,1,()=>{a=null}),ve()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&L(e),r&&r.d(),a&&a.d()}}}function Hc(i){let e,t,n,l,r,a,o=i[26](i[12].label)+"",c,h,d,g=i[12].icon&&Wc(i),p=i[12].showUpLink&&qc(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),g&&g.c(),r=W(),a=S("span"),c=Ne(o),h=W(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(l,"class","fd-nested-list__link svelte-1bekqg6"),f(l,"title",d=i[34](i[12],i[26](i[12].label))),f(n,"class","fd-nested-list__item svelte-1bekqg6"),f(t,"class","fd-nested-list svelte-1bekqg6"),f(e,"class","lui-nav-title svelte-1bekqg6")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),g&&g.m(l,null),w(l,r),w(l,a),w(a,c),w(l,h),p&&p.m(l,null)},p(b,m){b[12].icon?g?g.p(b,m):(g=Wc(b),g.c(),g.m(l,r)):g&&(g.d(1),g=null),m[0]&67112960&&o!==(o=b[26](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=qc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&67112960&&d!==(d=b[34](b[12],b[26](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),g&&g.d(),p&&p.d()}}}function Wc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[31](a[12].icon)),e?Zk:Qk}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function Qk(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!xe(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function Zk(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[30](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[30](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function qc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[26]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&67108864&&t!==(t=r[26]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function zc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=hd(Ec(i,r,c));const o=c=>U(a[c],1,1,()=>{a[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n="fd-nested-list "+(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},m(c,h){A(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,h){if(h[0]&1696835520|h[1]&911){r=c[13];let d;for(d=0;d<r.length;d+=1){const g=Ec(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=hd(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(be(),d=r.length;d<a.length;d+=1)o(d);ve()}(!l||h[0]&8388608&&n!==(n="fd-nested-list "+(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&L(e),ft(a,c)}}}function Xk(i){let e,t,n,l;const r=[eS,xk],a=[];function o(c,h){return c[92].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function $k(i){let e,t,n=i[92],l=[];for(let a=0;a<n.length;a+=1)l[a]=dd(Oc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1627463872|o[1]&267){n=a[92];let c;for(c=0;c<n.length;c+=1){const h=Oc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=dd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function xk(i){let e,t,n=i[26](i[91])+"",l,r,a,o,c,h,d=i[10]&&i[92].metaInfo.icon&&Gc(i),g=i[92],p=[];for(let m=0;m<g.length;m+=1)p[m]=Zc(Rc(i,g,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=W(),l=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=we(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[34](i[92],i[26](i[91]))),f(e,"data-testid",a=i[33](i[92].metaInfo,i[91])),f(e,"id","category_list_level1_"+i[94])},m(m,v){A(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),A(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);A(m,c,v),h=!0},p(m,v){if(m[10]&&m[92].metaInfo.icon?d?d.p(m,v):(d=Gc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&67117056)&&n!==(n=m[26](m[91])+"")&&Le(l,n),(!h||v[0]&67117056&&r!==(r=m[34](m[92],m[26](m[91]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[33](m[92].metaInfo,m[91])))&&f(e,"data-testid",a),v[0]&1627463872|v[1]&267){g=m[92];let C;for(C=0;C<g.length;C+=1){const y=Rc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Zc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(be(),C=g.length;C<p.length;C+=1)b(C);ve()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ft(p,m),m&&L(c)}}}function eS(i){let e,t,n,l,r,a,o=i[26](i[91])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Z,Q,ce;function $(ye,Pe){return Pe[0]&8192&&(l=null),l==null&&(l=!!ye[31](ye[92].metaInfo.icon)),l?oS:sS}let G=$(i,[-1,-1,-1,-1]),K=G(i);function fe(){return i[62](i[92])}function oe(){return i[63](i[92])}function ne(...ye){return i[64](i[92],...ye)}let ae=i[92],Se=[];for(let ye=0;ye<ae.length;ye+=1)Se[ye]=td(Vc(i,ae,ye));const ie=ye=>U(Se[ye],1,1,()=>{Se[ye]=null});let Re=i[92].metaInfo&&i[92].metaInfo.label===i[8]&&nd(i);function qe(){return i[69](i[92])}return{c(){e=S("li"),t=S("div"),n=S("a"),K.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),E=S("ul");for(let ye=0;ye<Se.length;ye+=1)Se[ye].c();D=W(),Re&&Re.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[34](i[92],i[26](i[91]))),f(n,"class",d="fd-nested-list__link "+(nn(i[92],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[94]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=nn(i[92],i[9])),f(C,"class",y=nn(i[92],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=nn(i[92],i[9])),f(v,"title",I=i[40](i[92],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",T=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(E,"aria-hidden",H=!nn(i[92],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[33](i[92].metaInfo,i[91])),jt(e,"lui-item-expanded",nn(i[92],i[9]))},m(ye,Pe){A(ye,e,Pe),w(e,t),w(t,n),K.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 Ve=0;Ve<Se.length;Ve+=1)Se[Ve].m(E,null);w(e,D),Re&&Re.m(e,null),w(e,O),Z=!0,Q||(ce=[ee(n,"click",mt(fe)),ee(v,"click",mt(oe)),ee(t,"keypress",ne),ee(e,"click",Bt(qe))],Q=!0)},p(ye,Pe){if(i=ye,G===(G=$(i,Pe))&&K?K.p(i,Pe):(K.d(1),K=G(i),K&&(K.c(),K.m(n,r))),(!Z||Pe[0]&67117056)&&o!==(o=i[26](i[91])+"")&&Le(c,o),(!Z||Pe[0]&67117056&&h!==(h=i[34](i[92],i[26](i[91]))))&&f(n,"title",h),(!Z||Pe[0]&8704&&d!==(d="fd-nested-list__link "+(nn(i[92],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Z||Pe[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Z||Pe[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Z||Pe[0]&8704&&b!==(b=nn(i[92],i[9])))&&f(n,"aria-expanded",b),(!Z||Pe[0]&8704&&y!==(y=nn(i[92],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Z||Pe[0]&8704&&P!==(P=nn(i[92],i[9])))&&f(v,"aria-expanded",P),(!Z||Pe[0]&8704&&I!==(I=i[40](i[92],i[9])))&&f(v,"title",I),(!Z||Pe[0]&64&&T!==(T=i[6]?"0":"-1"))&&f(t,"tabindex",T),Pe[0]&553721984|Pe[1]&266){ae=i[92];let Ve;for(Ve=0;Ve<ae.length;Ve+=1){const ht=Vc(i,ae,Ve);Se[Ve]?(Se[Ve].p(ht,Pe),R(Se[Ve],1)):(Se[Ve]=td(ht),Se[Ve].c(),R(Se[Ve],1),Se[Ve].m(E,null))}for(be(),Ve=ae.length;Ve<Se.length;Ve+=1)ie(Ve);ve()}(!Z||Pe[0]&8704&&H!==(H=!nn(i[92],i[9])))&&f(E,"aria-hidden",H),i[92].metaInfo&&i[92].metaInfo.label===i[8]?Re?(Re.p(i,Pe),Pe[0]&8448&&R(Re,1)):(Re=nd(i),Re.c(),R(Re,1),Re.m(e,O)):Re&&(be(),U(Re,1,1,()=>{Re=null}),ve()),(!Z||Pe[0]&8192&&z!==(z=i[33](i[92].metaInfo,i[91])))&&f(e,"data-testid",z),(!Z||Pe[0]&8704)&&jt(e,"lui-item-expanded",nn(i[92],i[9]))},i(ye){if(!Z){for(let Pe=0;Pe<ae.length;Pe+=1)R(Se[Pe]);R(Re),Z=!0}},o(ye){Se=Se.filter(Boolean);for(let Pe=0;Pe<Se.length;Pe+=1)U(Se[Pe]);U(Re),Z=!1},d(ye){ye&&L(e),K.d(),ft(Se,ye),Re&&Re.d(),Q=!1,Je(ce)}}}function Gc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[31](a[92].metaInfo.icon)),e?nS:tS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function tS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[92].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[92].metaInfo.altText?i[92].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[92].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[92].metaInfo.altText?r[92].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function nS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[92].metaInfo.icon?i[30](i[92].metaInfo.icon):"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[92].metaInfo.icon?n[30](n[92].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Kc(i){let e,t,n=i[95].label&&jc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function jc(i){let e,t,n,l,r=i[29](i[95])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I;function T(Q,ce){return Q[95].icon?lS:iS}let V=T(i),E=V(i),H=i[95].statusBadge&&Jc(i),D=i[95].externalLink&&i[95].externalLink.url&&Yc(),O=i[95].badgeCounter&&Qc(i);function z(...Q){return i[70](i[95],...Q)}function Z(...Q){return i[71](i[95],...Q)}return{c(){e=S("li"),t=S("a"),E.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[32](i[95])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[95])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[34](i[95],i[29](i[95]))),f(e,"aria-labelledby","category_list_level1_"+i[94])},m(Q,ce){A(Q,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(I=[ee(t,"click",z),ee(t,"keyup",function(){mi(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],P=!0)},p(Q,ce){i=Q,V===(V=T(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[29](i[95])+"")&&Le(a,r),i[95].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Jc(i),H.c(),R(H,1),H.m(l,null)):H&&(be(),U(H,1,1,()=>{H=null}),ve()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[95].externalLink&&i[95].externalLink.url?D||(D=Yc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[95].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Qc(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!y||ce[0]&8192&&g!==(g=i[32](i[95])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[95])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[34](i[95],i[29](i[95]))))&&f(e,"title",C)},i(Q){y||(R(H),R(O),y=!0)},o(Q){U(H),U(O),y=!1},d(Q){Q&&L(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Je(I)}}}function iS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=W(),l=S("span"),a=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){A(o,e,c),A(o,n,c),A(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Le(a,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function lS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[31](a[95].icon)),e?aS:rS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function rS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[95].icon)||f(t,"src",n),f(t,"alt",l=i[95].altText?i[95].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[95].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[95].altText?r[95].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function aS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[30](i[95].icon)+" svelte-1bekqg6")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[30](n[95].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Jc(i){let e,t;return e=new ti({props:{node:i[95]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[95]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Yc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Qc(i){let e,t;return e=new Tn({props:{node:i[95]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[95]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Zc(i){let e,t,n=!i[95].hideFromNav&&Kc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Kc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function sS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[92].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[92].metaInfo.altText?i[92].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[92].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[92].metaInfo.altText?r[92].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function oS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[30](i[92].metaInfo.icon)+" "+(i[6]&&!i[92].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[30](n[92].metaInfo.icon)+" "+(n[6]&&!n[92].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Xc(i){let e,t,n=i[95].label&&$c(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function $c(i){let e,t,n,l=i[29](i[95])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ti({props:{node:i[95]}});let T=i[95].externalLink&&i[95].externalLink.url&&xc(),V=i[95].badgeCounter&&ed(i);function E(...D){return i[65](i[95],...D)}function H(...D){return i[66](i[95],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),h=W(),T&&T.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[32](i[95])),f(t,"class",p="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=re.getTestId(i[95])),f(t,"title",v=i[34](i[95],i[29](i[95]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[94])},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[ee(t,"click",E),ee(t,"keyup",function(){mi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[29](i[95])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[95]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[95].externalLink&&i[95].externalLink.url?T||(T=xc(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[95].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=ed(i),V.c(),R(V,1),V.m(t,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[32](i[95])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[95])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[34](i[95],i[29](i[95]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Fe(o),T&&T.d(),V&&V.d(),P=!1,Je(I)}}}function xc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function ed(i){let e,t;return e=new Tn({props:{node:i[95]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[95]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function td(i){let e,t,n=!i[95].hideFromNav&&Xc(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Xc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function nd(i){let e,t,n,l=i[26](i[91])+"",r,a,o,c,h=i[92],d=[];for(let p=0;p<h.length;p+=1)d[p]=sd(Dc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Ne(l),a=W(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&67117056)&&l!==(l=p[26](p[91])+"")&&Le(r,l),b[0]&553721984|b[1]&266){h=p[92];let m;for(m=0;m<h.length;m+=1){const v=Dc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=sd(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(be(),m=h.length;m<d.length;m+=1)g(m);ve()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&L(e),ft(d,p)}}}function id(i){let e,t,n=i[95].label&&ld(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].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&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ld(i){let e,t,n,l=i[29](i[95])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ti({props:{node:i[95]}});let T=i[95].externalLink&&i[95].externalLink.url&&rd(),V=i[95].badgeCounter&&ad(i);function E(...D){return i[67](i[95],...D)}function H(...D){return i[68](i[95],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),h=W(),T&&T.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[32](i[95])),f(t,"class",p="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[95])),f(t,"title",v=i[34](i[95],i[29](i[95]))),f(e,"class","fd-nested-list__item")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[ee(t,"click",E),ee(t,"keyup",function(){mi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[29](i[95])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[95]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[95].externalLink&&i[95].externalLink.url?T||(T=rd(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[95].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=ad(i),V.c(),R(V,1),V.m(t,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!y||O[0]&8192&&g!==(g=i[32](i[95])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[95])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[34](i[95],i[29](i[95]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Fe(o),T&&T.d(),V&&V.d(),P=!1,Je(I)}}}function rd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function ad(i){let e,t;return e=new Tn({props:{node:i[95]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[95]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function sd(i){let e,t,n=!i[95].hideFromNav&&id(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):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){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function od(i){let e,t,n=i[95].label&&ud(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ud(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ud(i){let e,t,n,l,r=i[29](i[95])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(Q,ce){return Q[95].icon?fS:uS}let E=V(i),H=E(i);c=new ti({props:{node:i[95]}});let D=i[95].externalLink&&i[95].externalLink.url&&fd(),O=i[95].badgeCounter&&cd(i);function z(...Q){return i[60](i[95],...Q)}function Z(...Q){return i[61](i[95],...Q)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Ue(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[32](i[95])),f(t,"title",b=i[34](i[95],i[29](i[95]))),f(t,"class",m="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=re.getTestId(i[95])),f(e,"class","fd-nested-list__item")},m(Q,ce){A(Q,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,I||(T=[ee(t,"click",z),ee(t,"keyup",function(){mi(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],I=!0)},p(Q,ce){i=Q,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[29](i[95])+"")&&Le(a,r);const $={};ce[0]&8192&&($.node=i[95]),c.$set($),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[95].externalLink&&i[95].externalLink.url?D||(D=fd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[95].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=cd(i),O.c(),R(O,1),O.m(t,null)):O&&(be(),U(O,1,1,()=>{O=null}),ve()),(!P||ce[0]&8192&&p!==(p=i[32](i[95])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[34](i[95],i[29](i[95]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[95])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(O),P=!0)},o(Q){U(c.$$.fragment,Q),U(O),P=!1},d(Q){Q&&L(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),I=!1,Je(T)}}}function uS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function fS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[31](a[95].icon)),e?dS:cS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function cS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[95].icon)||f(t,"src",n),f(t,"alt",l=i[95].altText?i[95].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[95].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[95].altText?r[95].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function dS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[30](i[95].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[30](n[95].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function fd(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function cd(i){let e,t;return e=new Tn({props:{node:i[95]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[95]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function dd(i){let e,t,n=!i[95].hideFromNav&&od(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=od(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function hd(i){let e,t,n,l,r,a;const o=[$k,Xk],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[91]==="undefined"||d[91].startsWith(d[15]))),e?0:(t==null&&(t=d[92].filter(AS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function gd(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&_d(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},m(c,h){A(c,e,h),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,h){h[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Le(r,l),c[3]?o?o.p(c,h):(o=_d(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function _d(i){let e;function t(r,a){return r[4]=="button"?gS:hS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function hS(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){A(r,e,a),n||(l=[ee(e,"click",i[73]),ee(e,"keydown",i[74])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Je(l)}}}function gS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1bekqg6")},m(a,o){A(a,e,o),w(e,t),l||(r=ee(e,"click",i[72]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&L(e),l=!1,r()}}}function pd(i){let e,t,n,l,r,a,o=i[26](i[12].label)+"",c,h,d,g=i[12].icon&&md(i),p=i[12].showUpLink&&bd(i);return{c(){e=S("div"),t=S("ul"),n=S("li"),l=S("a"),g&&g.c(),r=W(),a=S("span"),c=Ne(o),h=W(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(l,"class","fd-nested-list__link svelte-1bekqg6"),f(l,"title",d=i[34](i[12],i[26](i[12].label))),f(n,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-1bekqg6"),f(e,"class","lui-nav-title svelte-1bekqg6")},m(b,m){A(b,e,m),w(e,t),w(t,n),w(n,l),g&&g.m(l,null),w(l,r),w(l,a),w(a,c),w(l,h),p&&p.m(l,null)},p(b,m){b[12].icon?g?g.p(b,m):(g=md(b),g.c(),g.m(l,r)):g&&(g.d(1),g=null),m[0]&67112960&&o!==(o=b[26](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=bd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&67112960&&d!==(d=b[34](b[12],b[26](b[12].label)))&&f(l,"title",d)},d(b){b&&L(e),g&&g.d(),p&&p.d()}}}function md(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[31](a[12].icon)),e?pS:_S}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function _S(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!xe(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function pS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[30](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[30](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function bd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[26]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&67108864&&t!==(t=r[26]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function vd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=i[14],v=[];for(let y=0;y<m.length;y+=1)v[y]=Md(Mc(i,m,y));const C=y=>U(v[y],1,1,()=>{v[y]=null});return{c(){e=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=S("li"),r=W(),a=S("li"),o=S("div"),c=S("a"),c.innerHTML=`<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span>
|
|
55
|
-
<span class="fd-navigation__text">More Items</span>`,h=W(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(o,"tabindex","-1"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){A(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[59](e),g=!0,p||(b=[ee(c,"click",i[41]),ee(c,"keypress",i[58])],p=!0)},p(y,P){if(P[0]&1696843712|P[1]&399){m=y[14];let I;for(I=0;I<m.length;I+=1){const T=Mc(y,m,I);v[I]?(v[I].p(T,P),R(v[I],1)):(v[I]=Md(T),v[I].c(),R(v[I],1),v[I].m(t,n))}for(be(),I=m.length;I<v.length;I+=1)C(I);ve()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&L(e),ft(v,y),i[59](null),p=!1,Je(b)}}}function mS(i){let e,t,n,l,r,a,o=i[26](i[91])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V,E;function H(G,K){return K[0]&16384&&(l=null),l==null&&(l=!!G[31](G[92].metaInfo.icon)),l?wS:vS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[50](i[92])}function Z(){return i[51](i[92])}function Q(...G){return i[52](i[92],...G)}function ce(...G){return i[53](i[92],...G)}let $=(!i[6]||i[92].metaInfo&&i[92].metaInfo.label===i[8])&&wd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),O.c(),r=W(),a=S("span"),c=Ne(o),h=W(),d=S("span"),g=W(),p=S("span"),y=W(),$&&$.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[34](i[92],i[26](i[91]))),f(t,"aria-expanded",v=i[6]?i[92].metaInfo&&i[92].metaInfo.label===i[8]:nn(i[92],i[9])),f(t,"aria-selected",C=i[6]&&i[92].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"aria-hidden","true"),f(e,"data-testid",I=i[33](i[92].metaInfo,i[91]))},m(G,K){A(G,e,K),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),$&&$.m(e,null),T=!0,V||(E=[ee(n,"click",mt(z)),ee(n,"keypress",mt(Z)),ee(n,"keypress",mt(Q)),ee(t,"click",Bt(ce))],V=!0)},p(G,K){i=G,D===(D=H(i,K))&&O?O.p(i,K):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!T||K[0]&67125248)&&o!==(o=i[26](i[91])+"")&&Le(c,o),(!T||K[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!T||K[0]&67125248&&m!==(m=i[34](i[92],i[26](i[91]))))&&f(t,"title",m),(!T||K[0]&17216&&v!==(v=i[6]?i[92].metaInfo&&i[92].metaInfo.label===i[8]:nn(i[92],i[9])))&&f(t,"aria-expanded",v),(!T||K[0]&16576&&C!==(C=i[6]&&i[92].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[92].metaInfo&&i[92].metaInfo.label===i[8]?$?($.p(i,K),K[0]&16704&&R($,1)):($=wd(i),$.c(),R($,1),$.m(e,null)):$&&(be(),U($,1,1,()=>{$=null}),ve()),(!T||K[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!T||K[0]&16384&&I!==(I=i[33](i[92].metaInfo,i[91])))&&f(e,"data-testid",I)},i(G){T||(R($),T=!0)},o(G){U($),T=!1},d(G){G&&L(e),O.d(),$&&$.d(),V=!1,Je(E)}}}function bS(i){let e,t,n=i[92],l=[];for(let a=0;a<n.length;a+=1)l[a]=Vd(Bc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1627472064|o[1]&267){n=a[92];let c;for(c=0;c<n.length;c+=1){const h=Bc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Vd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function vS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[92].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[92].metaInfo.altText?i[92].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!xe(t.src,n=r[92].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[92].metaInfo.altText?r[92].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function wS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[30](i[92].metaInfo.icon)+" "+(i[6]&&!i[92].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[30](n[92].metaInfo.icon)+" "+(n[6]&&!n[92].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function wd(i){let e,t,n,l,r,a,o,c=i[6]&&kd(i),h=i[92],d=[];for(let p=0;p<h.length;p+=1)d[p]=Ld(Uc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=W(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(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-1bekqg6")},m(p,b){A(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=kd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&553730176|b[1]&266){h=p[92];let m;for(m=0;m<h.length;m+=1){const v=Uc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Ld(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(be(),m=h.length;m<d.length;m+=1)g(m);ve()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1bekqg6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&L(e),c&&c.d(),ft(d,p)}}}function kd(i){let e,t,n,l,r=i[26](i[91])+"",a,o,c,h,d,g=i[10]&&i[92].metaInfo.icon&&Sd(i);return{c(){e=S("div"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),o=W(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[34](i[92],i[26](i[91]))),f(e,"data-testid",d=i[33](i[92].metaInfo,i[91]))},m(p,b){A(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[92].metaInfo.icon?g?g.p(p,b):(g=Sd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&67125248&&r!==(r=p[26](p[91])+"")&&Le(a,r),b[0]&67125248&&h!==(h=p[34](p[92],p[26](p[91])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[33](p[92].metaInfo,p[91]))&&f(e,"data-testid",d)},d(p){p&&L(e),g&&g.d()}}}function Sd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[31](a[92].metaInfo.icon)),e?SS:kS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function kS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[92].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[92].metaInfo.altText?i[92].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!xe(t.src,n=r[92].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[92].metaInfo.altText?r[92].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function SS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[30](i[92].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[30](n[92].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Cd(i){let e,t,n=i[95].label&&yd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=yd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function yd(i){let e,t,n,l,r=i[29](i[95])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E=i[29](i[95])+"",H,D,O,z,Z,Q,ce,$,G,K,fe,oe,ne,ae;c=new ti({props:{node:i[95]}});let Se=i[95].externalLink&&i[95].externalLink.url&&Pd(),ie=i[95].badgeCounter&&Id(i);function Re(...We){return i[54](i[95],...We)}function qe(...We){return i[55](i[95],...We)}O=new ti({props:{node:i[95]}});let ye=i[95].externalLink&&i[95].externalLink.url&&Nd(),Pe=i[95].badgeCounter&&Td(i);function Ve(...We){return i[56](i[95],...We)}function ht(...We){return i[57](i[95],...We)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Ue(c.$$.fragment),d=W(),g=S("span"),p=W(),Se&&Se.c(),b=W(),ie&&ie.c(),P=W(),I=S("li"),T=S("a"),V=S("span"),H=Ne(E),D=W(),Ue(O.$$.fragment),Z=W(),ye&&ye.c(),Q=W(),Pe&&Pe.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[32](i[95])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[34](i[95],i[29](i[95]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[95]===i[7]),f(t,"data-testid",y=re.getTestId(i[95])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(T,"href",ce=i[32](i[95])),f(T,"class",$="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(T,"role",G=i[24]?void 0:"button"),f(T,"tabindex","0"),f(T,"data-testid",K=re.getTestId(i[95])),f(T,"title",fe=i[34](i[95],i[29](i[95]))),On(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+i[94])},m(We,et){A(We,e,et),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,g),w(n,p),Se&&Se.m(n,null),w(n,b),ie&&ie.m(n,null),A(We,P,et),A(We,I,et),w(I,T),w(T,V),w(V,H),w(V,D),Me(O,V,null),w(T,Z),ye&&ye.m(T,null),w(T,Q),Pe&&Pe.m(T,null),oe=!0,ne||(ae=[ee(n,"click",Re),ee(n,"keyup",function(){mi(i[24]?void 0:qe)&&(i[24]?void 0:qe).apply(this,arguments)}),ee(T,"click",Ve),ee(T,"keyup",function(){mi(i[24]?void 0:ht)&&(i[24]?void 0:ht).apply(this,arguments)})],ne=!0)},p(We,et){i=We,(!oe||et[0]&16384)&&r!==(r=i[29](i[95])+"")&&Le(a,r);const Nt={};et[0]&16384&&(Nt.node=i[95]),c.$set(Nt),(!oe||et[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[95].externalLink&&i[95].externalLink.url?Se||(Se=Pd(),Se.c(),Se.m(n,b)):Se&&(Se.d(1),Se=null),i[95].badgeCounter?ie?(ie.p(i,et),et[0]&16384&&R(ie,1)):(ie=Id(i),ie.c(),R(ie,1),ie.m(n,null)):ie&&(be(),U(ie,1,1,()=>{ie=null}),ve()),(!oe||et[0]&16384&&m!==(m=i[32](i[95])))&&f(n,"href",m),(!oe||et[0]&16384&&v!==(v=i[34](i[95],i[29](i[95]))))&&f(t,"title",v),(!oe||et[0]&16512&&C!==(C=i[95]===i[7]))&&f(t,"aria-selected",C),(!oe||et[0]&16384&&y!==(y=re.getTestId(i[95])))&&f(t,"data-testid",y),(!oe||et[0]&16384)&&E!==(E=i[29](i[95])+"")&&Le(H,E);const ge={};et[0]&16384&&(ge.node=i[95]),O.$set(ge),(!oe||et[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[95].externalLink&&i[95].externalLink.url?ye||(ye=Nd(),ye.c(),ye.m(T,Q)):ye&&(ye.d(1),ye=null),i[95].badgeCounter?Pe?(Pe.p(i,et),et[0]&16384&&R(Pe,1)):(Pe=Td(i),Pe.c(),R(Pe,1),Pe.m(T,null)):Pe&&(be(),U(Pe,1,1,()=>{Pe=null}),ve()),(!oe||et[0]&16384&&ce!==(ce=i[32](i[95])))&&f(T,"href",ce),(!oe||et[0]&16512&&$!==($="fd-nested-list__link "+(i[95]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(T,"class",$),(!oe||et[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(T,"role",G),(!oe||et[0]&16384&&K!==(K=re.getTestId(i[95])))&&f(T,"data-testid",K),(!oe||et[0]&16384&&fe!==(fe=i[34](i[95],i[29](i[95]))))&&f(T,"title",fe)},i(We){oe||(R(c.$$.fragment,We),R(ie),R(O.$$.fragment,We),R(Pe),oe=!0)},o(We){U(c.$$.fragment,We),U(ie),U(O.$$.fragment,We),U(Pe),oe=!1},d(We){We&&L(e),Fe(c),Se&&Se.d(),ie&&ie.d(),We&&L(P),We&&L(I),Fe(O),ye&&ye.d(),Pe&&Pe.d(),ne=!1,Je(ae)}}}function Pd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Id(i){let e,t;return e=new Tn({props:{node:i[95]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[95]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Nd(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Td(i){let e,t;return e=new Tn({props:{node:i[95]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[95]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ld(i){let e,t,n=!i[95].hideFromNav&&Cd(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Cd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Ad(i){let e,t,n=i[95].label&&Ed(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Ed(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Ed(i){let e,t,n,l,r,a=i[29](i[95])+"",o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H;function D(G,K){return G[95].icon?yS:CS}let O=D(i),z=O(i);h=new ti({props:{node:i[95]}});let Z=i[95].externalLink&&i[95].externalLink.url&&Rd(),Q=i[95].badgeCounter&&Dd(i);function ce(...G){return i[48](i[95],...G)}function $(...G){return i[49](i[95],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),l=W(),r=S("span"),o=Ne(a),c=W(),Ue(h.$$.fragment),g=W(),Z&&Z.c(),p=W(),Q&&Q.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[95]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[32](i[95])),f(n,"title",y=i[34](i[95],i[29](i[95]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",I=re.getTestId(i[95])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",T=i[95]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,K){A(G,e,K),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),Z&&Z.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",ce),ee(n,"keyup",function(){mi(i[24]?void 0:$)&&(i[24]?void 0:$).apply(this,arguments)})],E=!0)},p(G,K){i=G,O===(O=D(i))&&z?z.p(i,K):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||K[0]&16384)&&a!==(a=i[29](i[95])+"")&&Le(o,a);const fe={};K[0]&16384&&(fe.node=i[95]),h.$set(fe),(!V||K[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[95].statusBadge&&i[95].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[95].externalLink&&i[95].externalLink.url?Z||(Z=Rd(),Z.c(),Z.m(n,p)):Z&&(Z.d(1),Z=null),i[95].badgeCounter?Q?(Q.p(i,K),K[0]&16384&&R(Q,1)):(Q=Dd(i),Q.c(),R(Q,1),Q.m(n,b)):Q&&(be(),U(Q,1,1,()=>{Q=null}),ve()),(!V||K[0]&16512&&v!==(v="fd-navigation__link "+(i[95]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||K[0]&16384&&C!==(C=i[32](i[95])))&&f(n,"href",C),(!V||K[0]&16384&&y!==(y=i[34](i[95],i[29](i[95]))))&&f(n,"title",y),(!V||K[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||K[0]&16384&&I!==(I=re.getTestId(i[95])))&&f(n,"data-testid",I),(!V||K[0]&16512&&T!==(T=i[95]===i[7]))&&f(t,"aria-selected",T)},i(G){V||(R(h.$$.fragment,G),R(Q),V=!0)},o(G){U(h.$$.fragment,G),U(Q),V=!1},d(G){G&&L(e),z.d(),Fe(h),Z&&Z.d(),Q&&Q.d(),E=!1,Je(H)}}}function CS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function yS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[31](a[95].icon)),e?IS:PS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function PS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[95].icon)||f(t,"src",n),f(t,"alt",l=i[95].altText?i[95].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!xe(t.src,n=r[95].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[95].altText?r[95].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function IS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[30](i[95].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[30](n[95].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Rd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Dd(i){let e,t;return e=new Tn({props:{node:i[95]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[95]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Vd(i){let e,t,n=!i[95].hideFromNav&&Ad(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[95].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Ad(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Od(i){let e,t,n,l,r,a;const o=[bS,mS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[91]==="undefined"||d[91].startsWith(d[15]))),e?0:(t==null&&(t=d[92].filter(LS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=we()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(be(),U(c[p],1,1,()=>{c[p]=null}),ve()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function NS(i){let e,t,n=i[88].entries,l=[];for(let a=0;a<n.length;a+=1)l[a]=Od(Fc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1696843712|o[1]&399){n=a[88].entries;let c;for(c=0;c<n.length;c+=1){const h=Fc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Od(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Md(i){let e,t;return e=new jk({props:{navGroup:i[88],expanded:i[88].groupEntry&&nn(i[88].groupEntry[1],i[9]),$$slots:{default:[NS]},$$scope:{ctx:i}}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[88]),l[0]&16896&&(r.expanded=n[88].groupEntry&&nn(n[88].groupEntry[1],n[9])),l[0]&83937216|l[3]&65536&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function TS(i){let e,t,n,l,r,a;const o=[Yk,Jk],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(es,"resize",i[18]),ee(es,"click",i[22]),ee(es,"blur",i[22]),ee(es,"keydown",i[35])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Je(a)}}}function nn(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Bo(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const LS=i=>!i.hideFromNav&&i.label,AS=i=>!i.hideFromNav&&i.label;function ES(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:T,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:H}),set:async J=>{J&&(Object.getOwnPropertyNames(J).forEach(async ke=>{if(ke==="pathData")t(5,p=J.pathData);else if(ke==="context")D=J.context;else if(ke==="children")t(0,a=J.children);else if(ke==="selectedNode")t(7,C=J.selectedNode);else if(ke==="hasCategoriesWithIcon")t(10,I=J.hasCategoriesWithIcon);else if(ke==="navParent"){t(12,E=void 0);let Ye=J.navParent;if(t(44,H=Ye),Ye&&Ye.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let tt=Ye.navHeader,pt=Ye;if(tt==="inherit"){for(pt=Ye.parent;pt&&pt.navHeader==="inherit";)pt=pt.parent;tt=pt?pt.navHeader:void 0}if(tt instanceof Function){t(12,E={});let Ct=tt(re.stripNode(Ye),re.stripNode(pt),D);Ct instanceof Promise?Ct.then(xt=>{t(12,E=xt)}):t(12,E=Ct)}else if(tt==="auto")t(12,E={label:Ye.label,icon:Ye.icon});else if(tt&&tt.useTitleResolver&&pt.titleResolver){pt.titleResolver.prerenderFallback?t(12,E={...tt,label:pt.titleResolver.fallbackTitle||"",icon:pt.titleResolver.fallbackIcon}):t(12,E=tt);const Ct=me.mapPathToNode(at.getCurrentPath(),pt);Ut.extractDataFromPath(Ct).then(xt=>{const Lt=me.substituteDynamicParamsInObject(Object.assign({},xt.pathData.context,pt.context),xt.pathData.pathParams);re.fetchNodeTitleData(pt,Lt).then(Fn=>{t(12,E={...tt,...Fn})}).catch(Fn=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...tt,label:Ye.label,icon:Ye.icon})})})}else t(12,E=await ht(tt,pt))}}}),t(43,T=re.getSideNavAccordionMode(C)))}},r=Jt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,z,Z=wt("store"),Q=wt("getTranslation");bi(i,Q,J=>t(26,n=J));let ce=!1,$=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G,K=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::";const fe=J=>re.getNodeLabel(J),oe=async()=>{const J=l.get(),ke=await Ut.getLeftNavData({...J},J);ke&&(l.set(ke),O=p,window.LEFTNAVDATA=ke.children)};ln(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),mn.doOnStoreChange(Z,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),mn.doOnStoreChange(Z,()=>{oe()},["navigation.viewgroupdata"]);let J=_i.initial();t(6,v=J.isSemiCollapsed),t(42,h=J.semiCollapsible),_i.onValueChanged(ke=>{t(6,v=ke.isSemiCollapsed)}),Mn.addEventListener("message",ke=>{ke.data.msg==="luigi.navigation.update-badge-counters"&&oe()})});const ne=()=>{if(G){const J=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),ke=G.querySelector(".fd-navigation__list"),Ye=G.querySelector(".fd-navigation__list > .lui-spacer");J==null||J.forEach(tt=>{tt.navGroupId?ke.querySelector(`[navGroupId="${tt.navGroupId}"]`).appendChild(tt):ke.insertBefore(tt,Ye)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},ae=()=>{const J=G.querySelector(".fd-navigation__list > .lui-spacer"),ke=G.querySelector(".lui-moreItems"),Ye=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(J.clientHeight===0&&Ye.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let tt=Ye.length-1;tt>0&&(lastNode=Ye[tt-1],Ye[tt].navGroupId=Ye[tt].parentNode.getAttribute("navGroupId"),ke.insertBefore(Ye[tt],ke.firstChild),!(J.clientHeight>0));tt--);}};Yr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let J;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((ke,Ye)=>{J&&clearTimeout(J),v&&(J=setTimeout(()=>{ne(),ae()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):ne()}),Kn(()=>{(!O||O!=p)&&oe(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function Se(J){if($){const ke={},Ye=[],tt=K;let pt=[];return J.forEach(Ct=>{if(Ct[0].startsWith(m))pt.push({isSingleEntry:!0,entries:[Ct]});else{const xt=Ct[1].metaInfo.categoryUid;if(xt&&xt.indexOf(tt)>0)Ye.push(Ct);else{const Lt=Ct[1].metaInfo.isGroup;ke[xt]={isSingleEntry:!Lt,title:n(Ct[1].metaInfo.label),groupEntry:Ct,uid:xt,entries:[Lt?["undefined",Ct[1]]:Ct]},pt.push(ke[xt])}}}),Ye.forEach(Ct=>{const xt=Ct[1].metaInfo.categoryUid.split(tt)[0],Lt=ke[xt];Lt&&(Lt.isSingleEntry&&(Lt.isSingleEntry=!1,Lt.entries=[["undefined",Lt.groupEntry[1]]]),Lt.entries.push(Ct))}),pt}else return J}let{sortedChildrenEntries:ie}=e,{sortedVerticalNavGroups:Re}=e;function qe(J){return re.renderIconClassName(J)}function ye(J){return re.isOpenUIiconName(J)}function Pe(J){return me.getNodeHref(J,b)}function Ve(J,ke){return J&&J.testId?J.testId:re.prepareForTests(ke||J.label)}async function ht(J,ke){const Ye=me.mapPathToNode(at.getCurrentPath(),ke),pt=(await Ut.extractDataFromPath(Ye)).pathData.pathParams;return me.substituteDynamicParamsInObject(J,pt)}function We(J,ke){return re.generateTooltipText(J,ke)}function et(J){r("handleClick",{node:J})}function Nt(J,ke){if(_i.getCollapsed()){let Ye,tt=document.getElementsByClassName("fd-app__sidebar")[0];if(J.metaInfo&&J.metaInfo.label?Ye=J.metaInfo.label:Ye=J.category&&J.category.label||J.category,tt&&!tt.classList.contains("isBlocked")&&(tt.className+=" isBlocked"),Ye===y){t(8,y=_i.closePopupMenu(y));return}t(8,y=Ye),tt?ge(ke):$&&(Bo(ke),ke.closest(".lui-moreItems")||zt())}}function ge(J){const ke=J.closest(".fd-nested-list__item"),Ye=ke.offsetTop,tt=Bi.getShellbar().offsetHeight;let pt;Bi.isCustomLuigiContainer()?pt=Bi.getCustomLuigiContainer().clientHeight:pt=window.innerHeight,setTimeout(()=>{const Ct=ke.getElementsByClassName("lui-flyout-sublist")[0],xt=J.closest(".lui-fd-side-nav-wrapper").scrollTop,Lt=Ye+tt-xt,Fn=pt-Ye-ke.offsetHeight+xt-tt;Lt+Ct.offsetHeight>=pt?(Ct.style.bottom=Fn+"px",Ct.className+=" has-bottom-position"):Ct.style.top=Lt-tt+"px"})}function lt(){if(h){let J=_i.onResize(y);t(6,v=J.isSemiCollapsed),t(8,y=J.selectedCategory)}}function St(J){if(J.code==="ArrowRight"){const Ye=Ae.getCurrentMicrofrontendIframe();Ye&&Ye.contentWindow&&Ye.contentWindow.focus()}}function Zt(J){let ke=H?H.parent:void 0;for(;ke;){if(ke.pathSegment&&ke.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:ke});return}ke=ke.parent}console.warn('Could not resolve "up"-node, redirecting to root'),tp.navigate("/")}function fn(J,ke){_i.getCollapsed()||t(9,P=re.storeExpandedState(J.metaInfo.categoryUid,ke,T))}function zt(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function cn(){t(8,y=_i.closePopupMenu(y)),zt()}function Te(J){J&&J.code==="Escape"&&cn()}function Ke(){t(6,v=_i.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),jn()}function Rt(J){const ke=J.code;(ke==="Enter"||ke==="Space")&&Ke()}function Xt(J,ke){(J.code==="Enter"||J==="Space")&&Nt(ke,J.currentTarget)}function Tt(J,ke){J.keyCode===fl&&re.handleNavAnchorClickedWithoutMetaKey(J)&&et(ke)}function jn(){if(!re.getBurgerTooltipConfig())return;const[J,ke]=re.getBurgerTooltipConfig(),Ye=document.body.classList.contains("lui-semiCollapsible");J&&ke&&Ye&&t(11,V=document.body.classList.contains("semiCollapsed")?J:ke)}function $t(J,ke){return nn(J,ke)?J.metaInfo.titleCollapseButton?n(J.metaInfo.titleCollapseButton):void 0:J.metaInfo.titleExpandButton?n(J.metaInfo.titleExpandButton):void 0}function dn(J){if(!J)return;const ke=J.target.parentElement;ke.getAttribute("aria-expanded")==="true"?ke.setAttribute("aria-expanded","false"):(cn(),ke.setAttribute("aria-expanded","true")),J.stopPropagation()}const Jn=(J,ke)=>{re.handleNavAnchorClickedWithoutMetaKey(ke)&&et(J)},Yt=(J,ke)=>Tt(ke,J),Ln=J=>fn(J,!nn(J,P)),vi=J=>fn(J,!nn(J,P)),wi=(J,ke)=>Xt(ke,J),bn=(J,ke)=>Nt(J,ke.currentTarget),ki=(J,ke)=>{re.handleNavAnchorClickedWithoutMetaKey(ke)&&et(J)},Si=(J,ke)=>Tt(ke,J),Ci=(J,ke)=>{re.handleNavAnchorClickedWithoutMetaKey(ke)&&et(J)},yi=(J,ke)=>Tt(ke,J),Pi=J=>{(J.code==="Enter"||J.code==="Space")&&dn(J)};function hl(J){Ze[J?"unshift":"push"](()=>{G=J,t(25,G)})}const gl=(J,ke)=>{re.handleNavAnchorClickedWithoutMetaKey(ke)&&et(J)},_l=(J,ke)=>Tt(ke,J),Ii=J=>fn(J,!nn(J,P)),Hi=J=>fn(J,!nn(J,P)),Wi=(J,ke)=>Xt(ke,J),fi=(J,ke)=>{re.handleNavAnchorClickedWithoutMetaKey(ke)&&et(J)},pl=(J,ke)=>Tt(ke,J),ml=(J,ke)=>{re.handleNavAnchorClickedWithoutMetaKey(ke)&&et(J)},qi=(J,ke)=>Tt(ke,J),bl=J=>Nt(J,event.currentTarget),vl=(J,ke)=>{re.handleNavAnchorClickedWithoutMetaKey(ke)&&et(J)},wl=(J,ke)=>Tt(ke,J),Ni=J=>Ke(),kl=J=>Ke(),ni=J=>Rt(J);return i.$$set=J=>{"children"in J&&t(0,a=J.children),"hideNavComponent"in J&&t(1,o=J.hideNavComponent),"footerText"in J&&t(2,c=J.footerText),"semiCollapsible"in J&&t(42,h=J.semiCollapsible),"semiCollapsibleButton"in J&&t(3,d=J.semiCollapsibleButton),"semiCollapsibleButtonStyle"in J&&t(4,g=J.semiCollapsibleButtonStyle),"pathData"in J&&t(5,p=J.pathData),"pathParams"in J&&t(45,b=J.pathParams),"virtualGroupPrefix"in J&&t(15,m=J.virtualGroupPrefix),"isSemiCollapsed"in J&&t(6,v=J.isSemiCollapsed),"selectedNode"in J&&t(7,C=J.selectedNode),"selectedCategory"in J&&t(8,y=J.selectedCategory),"expandedCategories"in J&&t(9,P=J.expandedCategories),"hasCategoriesWithIcon"in J&&t(10,I=J.hasCategoriesWithIcon),"sideNavAccordionMode"in J&&t(43,T=J.sideNavAccordionMode),"burgerTooltip"in J&&t(11,V=J.burgerTooltip),"navHeader"in J&&t(12,E=J.navHeader),"navParentNode"in J&&t(44,H=J.navParentNode),"sortedChildrenEntries"in J&&t(13,ie=J.sortedChildrenEntries),"sortedVerticalNavGroups"in J&&t(14,Re=J.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const J=Object.entries(a);J.sort((ke,Ye)=>ke[1].metaInfo.order-Ye[1].metaInfo.order),t(13,ie=J),t(14,Re=Se(J))}},[a,o,c,d,g,p,v,C,y,P,I,V,E,ie,Re,m,et,Nt,lt,St,Zt,fn,cn,z,ce,G,n,Q,$,fe,qe,ye,Pe,Ve,We,Te,Ke,Rt,Xt,Tt,$t,dn,h,T,H,b,ge,Bo,Jn,Yt,Ln,vi,wi,bn,ki,Si,Ci,yi,Pi,hl,gl,_l,Ii,Hi,Wi,fi,pl,ml,qi,bl,vl,wl,Ni,kl,ni]}class sp extends Ot{constructor(e){super(),Vt(this,e,ES,TS,Et,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:42,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:45,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:43,burgerTooltip:11,navHeader:12,navParentNode:44,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:46,calculateBTPNavFlyoutPosition:47,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[46]}get calculateBTPNavFlyoutPosition(){return Bo}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const RS=i=>{mn.doOnStoreChange(i.store,()=>{const e=te.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),le.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),op(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},DS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),op=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{let h=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,g)=>{h&&(g+1>=t.length||!t[g+1].pathSegment||!DS(d,t[g+1].pathSegment,n))&&(h=!1)}),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=It.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Fd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Ud(i,e,t){const n=i.slice();return n[45]=e[t],n}function VS(i){let e,t,n,l,r=i[1]&&Bd(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Bd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function OS(i){let e,t,n,l,r=i[1]&&Hd(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Hd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function Bd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[30](null)}}}function Hd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function Wd(i){let e,t,n,l=(!i[3]||i[4])&&qd(i),r=i[3]&&zd(i),a=i[12]&&i[5]&&xd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=we()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=qd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=zd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=xd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function qd(i){let e;function t(r,a){return r[14]?FS:MS}let n=t(i),l=n(i);return{c(){l.c(),e=we()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function MS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function FS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"class",r="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Le(l,n),h[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&L(e),a=!1,o()}}}function zd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?BS:US}let b=p(i),m=b(i),v=i[6]&&i[7]&&Qd(i),C=i[9]&&i[9].length>0&&Zd(i);return{c(){e=S("div"),t=S("div"),m.c(),n=W(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",h="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){A(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(g=ee(t,"click",Bt(zS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=Qd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=Zd(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function US(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Bt(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function BS(i){let e,t,n,l=i[9]&&i[9].length===1&&Gd(i),r=i[9]&&i[9].length>1&&Kd(i),a=i[9].length>1&&!i[7]&&Yd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=we()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=Gd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Kd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=Yd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Gd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){A(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Le(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&L(e)}}}function Kd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jd(Ud(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&25832068){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Ud(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function jd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),o=W(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[45])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",h=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",mt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Le(l,n),b[0]&512&&c!==(c=p[24](p[45]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&L(e),d=!1,g()}}}function Jd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&jd(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=jd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Yd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",mt(i[35])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function Qd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){A(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",mt(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Le(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&L(e),o=!1,c()}}}function Zd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=$d(Fd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&32296576){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Fd(l,t,a);n[a]?n[a].p(o,r):(n[a]=$d(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function HS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),f(e,"class","fd-menu__item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Le(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&L(e),h=!1,d()}}}function WS(i){let e,t=i[18]&&Xd(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=Xd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Xd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new gr(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){A(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&L(e)}}}function $d(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!le.isFunction(o[10])),e)return WS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return HS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=we()},m(o,c){a&&a.m(o,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){a&&a.d(o),o&&L(n)}}}function xd(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Le(n,t)},d(l){l&&L(e)}}}function qS(i){let e,t;function n(o,c){return o[14]?OS:VS}let l=n(i),r=l(i),a=i[2]&&Wd(i);return{c(){r.c(),e=W(),a&&a.c(),t=we()},m(o,c){r.m(o,c),A(o,e,c),a&&a.m(o,c),A(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Wd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:He,o:He,d(o){r.d(o),o&&L(e),a&&a.d(o),o&&L(t)}}}const zS=()=>{};function GS(i,e,t){let n;const l=Jt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:I}=e,{pathData:T}=e,{addNavHrefForAnchor:V}=e,E,H,D=wt("getUnsavedChangesModalPromise"),O=wt("getTranslation");bi(i,O,ge=>t(19,n=ge));let z=wt("store");const Z={closeDropDown:()=>{fe("appSwitcherPopover")}},Q=()=>({get:()=>({pathData:T,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:I,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:ge=>{ge&&Object.getOwnPropertyNames(ge).forEach(lt=>{lt==="pathData"?t(26,T=ge.pathData):lt==="appSwitcherItems"?t(9,v=ge.appSwitcherItems):lt==="itemRenderer"?t(10,C=ge.itemRenderer):lt==="pathParams"?t(11,y=ge.pathParams):lt==="selectedItem"?t(7,b=ge.selectedItem):lt==="title"?t(2,o=ge.title):lt==="defaultSubTitle"?t(25,I=ge.defaultSubTitle):lt==="subTitle"?t(12,P=ge.subTitle):lt==="defaultTitle"?t(8,m=ge.defaultTitle):lt==="subTitle"?t(12,P=ge.subTitle):lt==="showMainAppEntry"?t(6,p=ge.showMainAppEntry):lt==="hasApps"?t(3,c=ge.hasApps):lt==="keepMainTitle"?t(4,h=ge.keepMainTitle):lt==="showSubTitle"?t(5,d=ge.showSubTitle):lt==="hasLogo"&&t(1,a=ge.hasLogo)})},store:z});ln(()=>{RS(Q())}),Kn(()=>{(!H||H!=T)&&(op(Q()),H=T)});function ce(ge,lt,St){return setTimeout(()=>{lt&&C(ge,lt.children[St],Z)}),""}function $(ge){D().then(()=>{at.navigateTo(me.applyPathParams(ge,y))},()=>{})}function G(){D().then(()=>{at.navigateTo("/")},()=>{})}function K(ge){l("handleClick",{node:ge}),fe("appSwitcherPopover")}function fe(ge){l("toggleDropdownState",{name:ge})}function oe(ge){return ge.testId?ge.testId:re.prepareForTests(ge.title||ge)}function ne(ge,lt){if(ge.link){const St=me.applyPathParams(ge.link,lt);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function ae(ge){return me.getNodeHref(ge)}function Se(ge){Ze[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const ie=ge=>{re.handleNavAnchorClickedWithoutMetaKey(ge)&&$("/")};function Re(ge){Ze[ge?"unshift":"push"](()=>{r=ge,t(0,r)})}const qe=()=>$("/"),ye=ge=>{re.handleNavAnchorClickedWithoutMetaKey(ge)&&$("/")},Pe=()=>$("/"),Ve=()=>fe("appSwitcherPopover"),ht=()=>fe("appSwitcherPopover"),We=()=>fe("appSwitcherPopover"),et=(ge,lt)=>{re.handleNavAnchorClickedWithoutMetaKey(lt)&&$(ge.link)};function Nt(ge){Ze[ge?"unshift":"push"](()=>{E=ge,t(18,E)})}return i.$$set=ge=>{"logo"in ge&&t(0,r=ge.logo),"hasLogo"in ge&&t(1,a=ge.hasLogo),"title"in ge&&t(2,o=ge.title),"hasApps"in ge&&t(3,c=ge.hasApps),"keepMainTitle"in ge&&t(4,h=ge.keepMainTitle),"showSubTitle"in ge&&t(5,d=ge.showSubTitle),"dropDownStates"in ge&&t(13,g=ge.dropDownStates),"showMainAppEntry"in ge&&t(6,p=ge.showMainAppEntry),"selectedItem"in ge&&t(7,b=ge.selectedItem),"defaultTitle"in ge&&t(8,m=ge.defaultTitle),"appSwitcherItems"in ge&&t(9,v=ge.appSwitcherItems),"itemRenderer"in ge&&t(10,C=ge.itemRenderer),"pathParams"in ge&&t(11,y=ge.pathParams),"subTitle"in ge&&t(12,P=ge.subTitle),"defaultSubTitle"in ge&&t(25,I=ge.defaultSubTitle),"pathData"in ge&&t(26,T=ge.pathData),"addNavHrefForAnchor"in ge&&t(14,V=ge.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,$,G,fe,E,n,O,ce,oe,ne,ae,I,T,K,Se,ie,Re,qe,ye,Pe,Ve,ht,We,et,Nt]}class KS extends Ot{constructor(e){super(),Vt(this,e,GS,qS,Et,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function eh(i,e,t){const n=i.slice();return n[34]=e[t],n}function th(i){let e,t,n,l,r,a,o=i[0]&&nh(i),c=(i[10]||i[11])&&uh(i);return{c(){e=S("div"),o&&o.c(),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(h,d){A(h,e,d),o&&o.m(e,null),A(h,t,d),A(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=nh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=uh(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&L(e),o&&o.d(),h&&L(t),h&&L(n),c&&c.d()}}}function nh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?JS:jS}let h=c(i),d=h(i),g=i[7].name&&ih(i),p=i[7].description&&lh(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=ah(eh(i,b,C));let v=i[12]&&sh(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){A(C,e,y),d.m(e,null),A(C,t,y),A(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),A(C,r,y),A(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=ih(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=lh(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const I=eh(C,b,P);m[P]?m[P].p(I,y):(m[P]=ah(I),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=sh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&L(e),d.d(),C&&L(t),C&&L(n),g&&g.d(),p&&p.d(),C&&L(r),C&&L(a),ft(m,C),v&&v.d()}}}function jS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(n,t)},d(l){l&&L(e)}}}function JS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),On(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&On(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function ih(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&L(e)}}}function lh(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&L(e)}}}function rh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?QS:YS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function YS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),On(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&On(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&L(e)}}}function QS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function ah(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&rh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=rh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),g&&g.d(),h=!1,Je(d)}}}function sh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&oh(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){A(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=oh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&L(e),h&&h.d(),o=!1,Je(c)}}}function oh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function ZS(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),xe(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!xe(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function XS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function uh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&fh(i),l=i[10]&&!i[8]&&ch(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=fh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=ch(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function fh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function ch(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=W(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){A(a,e,o),A(a,t,o),A(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:He,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Je(r)}}}function $S(i){let e,t=!i[1]&&th(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=th(n),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function xS(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=wt("store"),C=wt("getTranslation");bi(i,C,ne=>t(13,n=ne));let y=wt("getUnsavedChangesModalPromise"),P=wt("openViewInModal");ln(async()=>{pi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),_n.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),_n.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){_n.startAuthorization()}function T(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(mn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),ae=await te.getConfigValueAsync("userSettings"),Se=ae||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...ul.userSettingsProfileMenuEntry,...Re}}ie.logout={...ul.logout,...ne},t(11,g=!!ne),m=!1,_n.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,_n.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(_n.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const ae=me.buildRoute(ne,`${ne.link}`);P(ae,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Z(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Zr.openUserSettings(),l("toggleDropdownState")}function ce(){_n.logout()}function $({keyCode:ne}){(ne===fl||ne===Jr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const K=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},fe=ne=>z(ne),oe=ne=>$(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,Z,Q,$,o,c,h,d,g,p,n,C,I,T,V,E,H,D,O,ce,K,fe,oe]}class eC extends Ot{constructor(e){super(),Vt(this,e,xS,$S,Et,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function dh(i,e,t){const n=i.slice();return n[34]=e[t],n}function hh(i){let e,t,n,l,r,a=i[0]&&gh(i),o=i[9].items,c=[];for(let g=0;g<o.length;g+=1)c[g]=ph(dh(i,o,g));let h=i[12]&&mh(i),d=(i[10]||i[11])&&vh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(g,p){A(g,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=gh(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=g[9].items;let b;for(b=0;b<o.length;b+=1){const m=dh(g,o,b);c[b]?c[b].p(m,p):(c[b]=ph(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=mh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=vh(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&L(e),a&&a.d(),ft(c,g),h&&h.d(),d&&d.d()}}}function gh(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,n)},d(r){r&&L(e)}}}function _h(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?nC:tC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function tC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),xe(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!xe(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function nC(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function ph(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&_h(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=_h(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),g&&g.d(),h=!1,Je(d)}}}function mh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&bh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=bh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,Je(h)}}}function bh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function iC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),xe(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!xe(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function lC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function vh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&wh(i),l=i[10]&&!i[8]&&Sh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=we()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=wh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=Sh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function wh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&kh(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=kh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,h()}}}function kh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function rC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),xe(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!xe(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function aC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function Sh(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){A(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:He,d(l){l&&L(e),t=!1,n()}}}function sC(i){let e,t=!i[1]&&hh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=hh(n),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function oC(i,e,t){let n;const l=Jt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=wt("store"),C=wt("getTranslation");bi(i,C,ne=>t(13,n=ne));let y=wt("getUnsavedChangesModalPromise"),P=wt("openViewInModal");ln(async()=>{pi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),_n.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),_n.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){_n.startAuthorization()}function T(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return me.getNodeHref(ne)}function D(){b||(mn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),ae=await te.getConfigValueAsync("userSettings"),Se=ae||await te.getConfigValueAsync("settings.userSettings");t(12,p=!!Se);const ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...ul.userSettingsProfileMenuEntry,...Re}}ie.logout={...ul.logout,...ne},t(11,g=!!ne),m=!1,_n.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,_n.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(_n.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const ae=me.buildRoute(ne,`${ne.link}`);P(ae,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else at.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Z(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Zr.openUserSettings(),l("toggleDropdownState")}function ce(){_n.logout()}function $({keyCode:ne}){(ne===fl||ne===Jr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const K=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},fe=ne=>z(ne),oe=ne=>$(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,Z,Q,$,o,c,h,d,g,p,n,C,I,T,V,E,H,D,O,ce,K,fe,oe]}class up extends Ot{constructor(e){super(),Vt(this,e,oC,sC,Et,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Ch(i,e,t){const n=i.slice();return n[11]=e[t],n}function yh(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Nh(Ch(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const h=Ch(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Nh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Ph(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function I(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?fC:uC}let T=I(i,-1),V=T(i);r=new Tn({props:{node:i[11]}});let E=p&&Ih(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Ue(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=re.getTestId(i[11]))},m(D,O){A(D,e,O),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(D,O){i=D,T===(T=I(i,O))&&V?V.p(i,O):(V.d(1),V=T(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Le(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Ih(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&L(e),V.d(),Fe(r),E&&E.d(),y=!1,P()}}}function uC(i){let e,t,n;return{c(){e=S("img"),xe(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){A(l,e,r)},p(l,r){r&2&&!xe(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function fC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){A(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&L(e)}}}function Ih(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&L(e)}}}function Nh(i){let e,t,n=i[11].label&&Ph(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Ph(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function cC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T=i[1]&&yh(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=W(),h=S("div"),d=S("div"),g=S("ul"),T&&T.c(),p=W(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),T&&T.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[ee(C,"click",i[8]),ee(e,"click",Bt(dC))],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=yh(V),T.c(),R(T,1),T.m(g,null)):T&&(be(),U(T,1,1,()=>{T=null}),ve())},i(V){y||(R(T),y=!0)},o(V){U(T),y=!1},d(V){V&&L(e),T&&T.d(),P=!1,Je(I)}}}const dC=()=>{};function hC(i,e,t){const n=Jt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Ml.call(this,i,m)}const b=m=>g(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class fp extends Ot{constructor(e){super(),Vt(this,e,hC,cC,Et,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:gC}=dl;function Th(i,e,t){const n=i.slice();return n[7]=e[t],n}function Lh(i){let e,t,n,l=i[0]&&Ah(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Ah(r),l.c(),R(l,1),l.m(t,null)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Ah(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Rh(Th(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const h=Th(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Rh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Eh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?pC:_C}let P=y(i,-1),I=P(i);a=new Tn({props:{node:i[7]}});function T(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),I.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=re.getTestId(i[7]))},m(V,E){A(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ee(t,"click",i[13]),ee(e,"click",T)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Le(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=re.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),I.d(),Fe(a),v=!1,Je(C)}}}function _C(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),xe(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!xe(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function pC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Rh(i){let e,t,n=i[7].label&&Eh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Eh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dh(i){let e,t;return e=new fp({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function mC(i){let e,t,n,l,r,a=!i[1]&&Lh(i),o=i[1]&&Dh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=we()},m(c,h){a&&a.m(c,h),A(c,e,h),o&&o.m(c,h),A(c,t,h),n=!0,l||(r=ee(gC,"resize",us),l=!0)},p(c,[h]){c[1]?a&&(be(),U(a,1,1,()=>{a=null}),ve()):a?(a.p(c,h),h&2&&R(a,1)):(a=Lh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Dh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(be(),U(o,1,1,()=>{o=null}),ve())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){a&&a.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function bC(i,e,t){const n=Jt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=wt("getUnsavedChangesModalPromise"),h=wt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});ln(async()=>{us()}),Kn(async()=>{r||t(0,r=await Ut.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=me.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else at.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return re.isOpenUIiconName(E.icon)}function y(E){return re.renderIconClassName(E)}function P(E){return It.getTranslation(E.label)}function I(E){return me.getNodeHref(E,o)}const T=E=>{re.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,us,a,g,C,y,P,I,T,V]}class cp extends Ot{constructor(e){super(),Vt(this,e,bC,mC,Et,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return us}}const Cn={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(i){return(!i.parentNodePath||!i.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),i.parentNodePath?le.addTrailingSlash(i.parentNodePath):i.parentNodePath},generateSwitcherNav(i,e){const t=this.getPreparedParentNodePath(i);return e.map(n=>({label:n.label,link:(t||"/")+n.pathValue,id:n.pathValue,testId:n.testId,customRendererCategory:n.customRendererCategory}))},getNodePathFromCurrentPath(i,e){const t=le.addLeadingSlash(at.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=Cn._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),!!Cn.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=Cn.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 Cn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await Cn.generateSwitcherNav(e,t)}};function Vh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Oh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Mh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Fh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Bh(Mh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Mh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Bh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function Uh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",mt(PC)),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Bh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Uh(i);return{c(){n&&n.c(),t=we()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Uh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Hh(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-1hy363a"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function b2(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v=(i[5]||i[4]&&i[0].header)&&xf(i),C=i[4]&&tc(i),y=i[3]&&nc();return{c(){e=S("div"),t=S("div"),v&&v.c(),n=W(),l=S("div"),C&&C.c(),r=W(),a=S("div"),h=W(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(i[4]?"_drawer":"_modal")+" svelte-1hy363a"),f(a,"modal-container-index",c=i[4]?void 0:i[1]),f(l,"class","fd-dialog__body svelte-1hy363a"),f(t,"class",d="fd-dialog__content "+(i[4]?i[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+i[1])+" svelte-1hy363a"),f(t,"data-testid",g=i[5]?"modal-mf":"drawer-mf"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-1"),f(e,"class",p=ei(i[5]||i[4]&&i[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"),f(e,"style",b=i[5]?"z-index:1001":"")},m(P,I){A(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,h),y&&y.m(t,null),m=!0},p(P,[I]){P[5]||P[4]&&P[0].header?v?(v.p(P,I),I&49&&R(v,1)):(v=xf(P),v.c(),R(v,1),v.m(t,n)):v&&(ve(),U(v,1,1,()=>{v=null}),we()),P[4]?C?(C.p(P,I),I&16&&R(C,1)):(C=tc(P),C.c(),R(C,1),C.m(l,r)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),(!m||I&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1hy363a"))&&f(a,"class",o),(!m||I&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=nc(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||I&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1hy363a"))&&f(t,"class",d),(!m||I&32&&g!==(g=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",g),(!m||I&49&&p!==(p=ei(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1hy363a"))&&f(e,"class",p),(!m||I&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){U(v),U(C),m=!1},d(P){P&&L(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function v2(i,e,t){let{$$slots:n={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=Yt();let g,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,I=!0,T,V=kt("store");const E=G=>re.getNodeLabel(G),H=async G=>{const j=G&&G.length?le.getPathWithoutHash(G):"",ae=be.parseParams(j.split("?")[1]);b=be.getNodeParams(ae);const fe=await Ft.extractDataFromPath(G);g=fe.nodeObject,t(4,P=r.isDrawer||typeof g.drawer=="object"),T=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(g),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(g),r),t(0,r._liveLabel=!0,r)),p=fe.pathData,t(7,a=!0)},D=async G=>{if(!(m||v))if(a)if(g.webcomponent)t(3,C=!1),P?await Z():await O(),fr.renderWebComponent(g.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:g.clientPermissions||{},pathParams:p.pathParams||{}},g,void 0,!0),d("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),v=!0;else{const j=await z(g.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:j,modalIframeData:{...p,nodeParams:b}}),m=!0}else await H(G)},O=async()=>{let G,j;const ae=document.querySelector(".lui-modal-index-"+c),{size:fe,width:ne,height:se}=r,Se=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(ae.classList.remove("lui-modal-fullscreen"),ne&&ne.match(Se)&&se&&se.match(Se))G=se,j=ne;else switch(fe){case"fullscreen":G="100vh",j="100vw",ae.classList.add("lui-modal-fullscreen");break;case"m":G="80%",j="60%";break;case"s":G="80%",j="40%";break;default:G="80%",j="80%"}ae.setAttribute("style",`width:${j};height:${G};`)},z=async(G,j)=>{P?await Z():await O(),G&&(G=be.substituteViewUrl(G,j));const ae=await Ae.createIframe(G,void 0,g,"modal",j);return document.querySelector(T).appendChild(ae),ae};async function Z(G){let j="";const ae=document.getElementsByClassName("drawer"),fe=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?j="width:75%;":r.size==="m"?j="width:50%;":r.size==="s"?j="width:25%;":r.size==="xs"&&(j="width:15.5%;")),r.backdrop?ae[0].setAttribute("style",j):(fe[0].setAttribute("style",j),ae[0].setAttribute("style","width:100%"))}Yr(()=>{D(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,(!g||!g.loadingIndicator||g.loadingIndicator.hideAutomatically!==!1)&&ce()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await O()),te.getConfigBooleanValue("routing.showModalPathInUrl")&&rt.updateModalDataInUrl(be.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};rn(()=>{pn.doOnStoreChange(V,()=>{r._liveLabel&&g&&t(0,r.title=E(g),r)},["navigation.viewgroupdata"]),Fn.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!g.webcomponent&&((G=g.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Qr(()=>{Fn.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function ce(){let G;I?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const $=()=>d("close",{activeDrawer:!1});return i.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,h=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,h,C,P,I,d,a,o,l,n,$]}class ap extends Rt{constructor(e){super(),Et(this,e,v2,b2,Tt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function ic(i,e,t){const n=i.slice();return n[27]=e[t][0],n[28]=e[t][1],n[29]=e,n[30]=t,n}function lc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function rc(i,e,t){const n=i.slice();return n[31]=e[t],n[33]=t,n}function ac(i){let e,t=i[1][1].settings&&sc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1][1].settings?t?t.p(n,l):(t=sc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function sc(i){let e,t,n=Object.entries(i[1][1].settings),l=[];for(let r=0;r<n.length;r+=1)l[r]=pc(ic(i,n,r));return{c(){e=S("div"),t=S("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){A(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){n=Object.entries(r[1][1].settings);let o;for(o=0;o<n.length;o+=1){const c=ic(r,n,o);l[o]?l[o].p(c,a):(l[o]=pc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=n.length}},d(r){r&&L(e),ut(l,r)}}}function oc(i){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?k2:w2}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function w2(i){let e,t=i[0][i[1][0]][i[27]]+"",n,l;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),f(e,"disabled",l=!(i[28].isEditable===void 0||i[28].isEditable))},m(r,a){A(r,e,a),w(e,n)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(n,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&L(e)}}}function k2(i){let e,t,n,l,r;function a(){i[17].call(e,i[27])}return{c(){e=S("input"),f(e,"class","fd-input fd-input--compact"),f(e,"type","text"),f(e,"aria-label","Image label"),f(e,"placeholder",t=i[5](i[28].placeholder)),f(e,"data-testid","lui-us-input"+i[30]),f(e,"id","fd-form-input-"+i[30]),e.disabled=n=!(i[28].isEditable===void 0||i[28].isEditable)},m(o,c){A(o,e,c),jf(e,i[0][i[1][0]][i[27]]),l||(r=ee(e,"input",a),l=!0)},p(o,c){i=o,c[0]&34&&t!==(t=i[5](i[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&n!==(n=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=n),c[0]&3&&e.value!==i[0][i[1][0]][i[27]]&&jf(e,i[0][i[1][0]][i[27]])},d(o){o&&L(e),l=!1,r()}}}function uc(i){let e,t,n,l,r,a,o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"",c,h,d,g,p,b,m,v=Array.isArray(i[28].options),C,y;function P(...V){return i[18](i[27],i[30],i[28],...V)}function I(){return i[19](i[28])}let T=v&&fc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Ne(o),d=W(),g=S("span"),g.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=W(),m=S("div"),T&&T.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+i[30]),f(a,"disabled",h=!(i[28].isEditable===void 0||i[28].isEditable)),f(g,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(r,"data-testid",p="lui-us-"+i[28].type+"-"+i[30]),f(r,"id","fd-form-input-"+i[30]),f(l,"class","fd-select fd-select--compact"),f(n,"class","fd-popover__control"),f(n,"aria-expanded","false"),f(n,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,g),w(t,b),w(t,m),T&&T.m(m,null),C||(y=[ee(r,"keydown",P),ee(n,"click",Ut(I))],C=!0)},p(V,E){i=V,E[0]&3&&o!==(o=i[11](i[0][i[1][0]][i[27]],i[28].options)+"")&&Le(c,o),E[0]&2&&h!==(h=!(i[28].isEditable===void 0||i[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+i[28].type+"-"+i[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(i[28].options)),v?T?T.p(i,E):(T=fc(i),T.c(),T.m(m,null)):T&&(T.d(1),T=null)},d(V){V&&L(e),T&&T.d(),C=!1,Qe(y)}}}function fc(i){let e,t=i[28].options,n=[];for(let l=0;l<t.length;l+=1)n[l]=cc(rc(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+i[30]),f(e,"role","listbox")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let a;for(a=0;a<t.length;a+=1){const o=rc(l,t,a);n[a]?n[a].p(o,r):(n[a]=cc(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ut(n,l)}}}function cc(i){let e,t,n=i[12](i[31])+"",l,r,a,o,c;function h(){return i[20](i[27],i[31],i[33])}return{c(){e=S("li"),t=S("span"),l=Ne(n),r=W(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+i[30]+"_"+i[33]),f(e,"aria-selected",a=i[4]===i[33]),f(e,"tabindex","0"),Jt(e,"is-selected",i[4]===i[33]),Jt(e,"is-focus",i[4]===i[33])},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),o||(c=[ee(e,"click",h),ee(e,"keydown",i[21])],o=!0)},p(d,g){i=d,g[0]&2&&n!==(n=i[12](i[31])+"")&&Le(l,n),g[0]&16&&a!==(a=i[4]===i[33])&&f(e,"aria-selected",a),g[0]&16&&Jt(e,"is-selected",i[4]===i[33]),g[0]&16&&Jt(e,"is-focus",i[4]===i[33])},d(d){d&&L(e),o=!1,Qe(c)}}}function dc(i){let e,t,n,l=i[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=hc(lc(i,l,a));return{c(){e=S("div"),t=S("div");for(let a=0;a<r.length;a+=1)r[a].c();f(t,"class",n="fd-segmented-button enum-buttons-container-"+i[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){A(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].options;let c;for(c=0;c<l.length;c+=1){const h=lc(a,l,c);r[c]?r[c].p(h,o):(r[c]=hc(h),r[c].c(),r[c].m(t,null))}for(;c<r.length;c+=1)r[c].d(1);r.length=l.length}o[0]&2&&n!==(n="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",n)},d(a){a&&L(e),ut(r,a)}}}function hc(i){let e,t=i[12](i[31])+"",n,l,r,a,o,c,h,d;function g(){return i[22](i[27],i[31])}return{c(){e=S("button"),n=Ne(t),l=W(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":"")),f(e,"id",a=i[13]("lui-us-enum_button",i[27],i[31])),f(e,"data-testid",o=i[13]("lui-us-enum_button",i[27],i[31])),e.disabled=c=!(i[28].isEditable===void 0||i[28].isEditable)},m(p,b){A(p,e,b),w(e,n),w(e,l),h||(d=ee(e,"click",g),h=!0)},p(p,b){i=p,b[0]&2&&t!==(t=i[12](i[31])+"")&&Le(n,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(i[0][i[1][0]][i[27]]===(i[31].value||i[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"id",a),b[0]&2&&o!==(o=i[13]("lui-us-enum_button",i[27],i[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=c)},d(p){p&&L(e),h=!1,d()}}}function gc(i){let e,t,n,l,r,a,o,c,h,d;function g(){i[23].call(n,i[27])}return{c(){e=S("label"),t=S("span"),n=S("input"),a=W(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(n,"class","fd-switch__input"),f(n,"type","checkbox"),f(n,"aria-labelledby","label1"),f(n,"data-testid",l="lui-us-checkbox-switch_"+i[27]),n.disabled=r=!(i[28].isEditable===void 0||i[28].isEditable),f(o,"class","fd-switch__slider"),f(t,"class","fd-switch__control"),f(e,"class","fd-switch fd-switch--compact"),f(e,"data-testid",c="lui-us-label-switch_"+i[27])},m(p,b){A(p,e,b),w(e,t),w(t,n),n.checked=i[0][i[1][0]][i[27]],w(t,a),w(t,o),h||(d=ee(n,"change",g),h=!0)},p(p,b){i=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+i[27])&&f(n,"data-testid",l),b[0]&2&&r!==(r=!(i[28].isEditable===void 0||i[28].isEditable))&&(n.disabled=r),b[0]&3&&(n.checked=i[0][i[1][0]][i[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+i[27])&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,d()}}}function _c(i){let e,t,n,l;function r(){i[24].call(e,i[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(i[28].isEditable===void 0||i[28].isEditable)},m(a,o){A(a,e,o),e.checked=i[0][i[1][0]][i[27]],n||(l=ee(e,"change",r),n=!0)},p(a,o){i=a,o[0]&2&&t!==(t=!(i[28].isEditable===void 0||i[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=i[0][i[1][0]][i[27]])},d(a){a&&L(e),n=!1,l()}}}function pc(i){let e,t,n,l=i[5](i[28].label)+"",r,a,o,c,h,d,g=i[28].type==="enum"&&i[28].style==="button"&&Array.isArray(i[28].options),p,b,m,v=i[28].type==="string"&&oc(i),C=i[28].type==="enum"&&(i[28].style===void 0||i[28].style==="list")&&uc(i),y=g&&dc(i),P=i[28].type==="boolean"&&(!i[28].style||i[28].style==="switch")&&gc(i),I=i[28].type==="boolean"&&i[28].style==="checkbox"&&_c(i);return{c(){e=S("div"),t=S("div"),n=S("label"),r=Ne(l),a=Ne(":"),o=W(),c=S("div"),v&&v.c(),h=W(),C&&C.c(),d=W(),y&&y.c(),p=W(),P&&P.c(),b=W(),I&&I.c(),m=W(),f(n,"class","fd-form-label svelte-1q4f8ra"),f(n,"for","fd-form-input-"+i[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(T,V){A(T,e,V),w(e,t),w(t,n),w(n,r),w(n,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,h),C&&C.m(c,null),w(c,d),y&&y.m(c,null),w(c,p),P&&P.m(c,null),w(c,b),I&&I.m(c,null),w(e,m)},p(T,V){V[0]&34&&l!==(l=T[5](T[28].label)+"")&&Le(r,l),T[28].type==="string"?v?v.p(T,V):(v=oc(T),v.c(),v.m(c,h)):v&&(v.d(1),v=null),T[28].type==="enum"&&(T[28].style===void 0||T[28].style==="list")?C?C.p(T,V):(C=uc(T),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(g=T[28].type==="enum"&&T[28].style==="button"&&Array.isArray(T[28].options)),g?y?y.p(T,V):(y=dc(T),y.c(),y.m(c,p)):y&&(y.d(1),y=null),T[28].type==="boolean"&&(!T[28].style||T[28].style==="switch")?P?P.p(T,V):(P=gc(T),P.c(),P.m(c,b)):P&&(P.d(1),P=null),T[28].type==="boolean"&&T[28].style==="checkbox"?I?I.p(T,V):(I=_c(T),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(T){T&&L(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),I&&I.d()}}}function S2(i){let e,t,n,l=i[1]&&i[1][0]&&i[1][1]&&ac(i);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){A(r,e,a),l&&l.m(e,null),t||(n=[ee(window,"click",i[7]),ee(window,"blur",i[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=ac(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:He,o:He,d(r){r&&L(e),l&&l.d(),t=!1,Qe(n)}}}function is(i,e,t){if(i&&t>0)return i.matches(e)?i:is(i.parentNode,e,t-1)}function C2(i,e,t){let n,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Yt();let o=kt("getTranslation");wi(i,o,$=>t(5,n=$));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const g=()=>{p()};function p($){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b($,G){let j=is($.target,".fd-popover__control",20),ae=j.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(j,!ae))}function m($,G){const j=$.querySelector(".lui-activate-dropdown"),ae=$.parentNode.querySelector(".fd-popover__body"),fe=$.parentNode.querySelector(".fd-select__control");$.setAttribute("aria-expanded",G),ae.setAttribute("aria-hidden",!G),fe.setAttribute("aria-expanded",G),j.setAttribute("aria-expanded",G),t(14,h=G)}function v($,G,j){t(4,c=j),t(0,r[l[0]][$]=G.value||G,r)}function C($,G){document.querySelectorAll(".enum-buttons-container-"+$+" button").forEach(j=>{const ae=j.getAttribute("id"),fe=`lui-us-enum_button_${$}_option`;ae===fe?j.classList.add("fd-button--emphasized"):j.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][$]=G.value||G,r)}function y($,G){let j;if(Array.isArray(G)){for(let ae=0;ae<G.length;ae++)if(le.isObject(G[ae])){if(G[ae].value&&G[ae].value===$){j=G[ae].label,t(4,c=ae);break}}else{j=$,t(4,c=G.indexOf($));break}return n(j)}}function P($){return n(le.isObject($)?$.label:$)}function I($,G,j){return le.isObject(j)?`${$}_${G}_${j.value}`:`${$}_${G}_${j}`}function T($,G,j,ae){let fe=is($.target,".lui-anchor-node",20);const ne=document.getElementById(`fd-form-input-dropdown-${j}`).children;let se=-1;if([...ne].forEach((Se,ie)=>{Se.classList.contains("is-focus")&&(se=ie)}),h){if($.keyCode===zr&&$.altKey&&(fe.click(),fe.focus()),$.keyCode===cr&&!$.altKey){if(se===-1){se=0,ne.item(se).classList.add("is-focus");return}se<ae.options.length-1&&(ne.item(se).classList.remove("is-focus"),se+=1,ne.item(se).classList.add("is-focus"))}if($.keyCode===zr&&!$.altKey){if(se===-1){se=se.length-1,ne.item(se).classList.add("is-focus");return}se>0&&se<ae.options.length&&(ne.item(se).classList.remove("is-focus"),se-=1,ne.item(se).classList.add("is-focus"))}($.keyCode===hl||$.keyCode===Jr)&&v(G,ae.options[se],se)}else fe.focus(),$.keyCode===cr&&$.altKey&&fe.click(),$.keyCode===cr&&!$.altKey&&se<ae.options.length-1&&v(G,ae.options[se+1],se+1),$.keyCode===zr&&!$.altKey&&se>0&&se<ae.options.length&&v(G,ae.options[se-1],se-1)}function V($){if(h){let G=is($.target,".fd-popover",20);G.blur(),($.keyCode===Jr||$.keyCode===hl)&&($.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E($){r[l[0]][$]=this.value,t(0,r)}const H=($,G,j,ae)=>T(ae,$,G,j),D=$=>b(event,$.isEditable),O=($,G,j)=>v($,G,j),z=$=>V($),Z=($,G)=>C($,G);function Q($){r[l[0]][$]=this.checked,t(0,r)}function ce($){r[l[0]][$]=this.checked,t(0,r)}return i.$$set=$=>{"userSettingGroup"in $&&t(1,l=$.userSettingGroup),"storedUserSettingData"in $&&t(0,r=$.storedUserSettingData),"isComboOpen"in $&&t(14,h=$.isComboOpen)},[r,l,T,V,c,n,o,p,b,v,C,y,P,I,h,d,g,E,H,D,O,z,Z,Q,ce]}class y2 extends Rt{constructor(e){super(),Et(this,e,C2,S2,Tt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:mc}=_l;function bc(i,e,t){const n=i.slice();return n[30]=e[t][0],n[11]=e[t][1],n[36]=t,n}function vc(i,e,t){const n=i.slice();return n[37]=e[t],n}function wc(i){let e,t,n;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?I2:P2}let r=l(i,[-1,-1]),a=r(i);return{c(){a.c(),t=W(),n=S("i"),f(n,"role","presentation"),f(n,"class","sap-icon")},m(o,c){a.m(o,c),A(o,t,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&L(t),o&&L(n)}}}function P2(i){let e,t,n,l,r,a=i[37][1].initials&&kc(i);return{c(){e=S("span"),l=W(),a&&a.c(),r=ke(),f(e,"class",t=ei(i[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",n=i[37][1].altText?i[37][1].altText:""),Mn(e,"background-image","url('"+i[37][1].icon+"')"),Mn(e,"background-size","cover")},m(o,c){A(o,e,c),A(o,l,c),a&&a.m(o,c),A(o,r,c)},p(o,c){c[0]&2&&t!==(t=ei(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",t),c[0]&2&&n!==(n=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",n),c[0]&2&&Mn(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=kc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&L(e),o&&L(l),a&&a.d(o),o&&L(r)}}}function I2(i){let e,t,n;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",n=ei(i[18](i[37][1].icon))+" svelte-12fj8b7"),f(e,"class","fd-list__thumbnail")},m(l,r){A(l,e,r),w(e,t)},p(l,r){r[0]&2&&n!==(n=ei(l[18](l[37][1].icon))+" svelte-12fj8b7")&&f(t,"class",n)},d(l){l&&L(e)}}}function kc(i){let e,t=(i[37][1].initials?i[37][1].initials:"")+"",n,l,r;return{c(){e=S("span"),n=Ne(t),f(e,"class",l=ei(i[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7"),f(e,"aria-label",r=i[37][1].altText?i[37][1].altText:"")},m(a,o){A(a,e,o),w(e,n)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(n,t),o[0]&2&&l!==(l=ei(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-12fj8b7")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&L(e)}}}function Sc(i){let e,t,n,l,r,a=i[10](i[37][1].label?i[37][1].label:"")+"",o,c,h,d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"",g,p,b,m,v=i[37][1].icon&&wc(i);function C(){return i[21](i[37])}function y(...P){return i[22](i[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),h=S("div"),g=Ne(d),p=W(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-12fj8b7"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,I){A(P,e,I),w(e,t),v&&v.m(t,null),w(t,n),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,g),w(e,p),b||(m=[ee(e,"click",mt(C)),ee(e,"keydown",y)],b=!0)},p(P,I){i=P,i[37][1].icon?v?v.p(i,I):(v=wc(i),v.c(),v.m(t,n)):v&&(v.d(1),v=null),I[0]&1026&&a!==(a=i[10](i[37][1].label?i[37][1].label:"")+"")&&Le(o,a),I[0]&1026&&d!==(d=i[10](i[37][1].sublabel?i[37][1].sublabel:"")+"")&&Le(g,d)},d(P){P&&L(e),v&&v.d(),b=!1,Qe(m)}}}function Cc(i){let e,t=Object.entries(i[11]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Sc(vc(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=vc(l,t,a);n[a]?n[a].p(o,r):(n[a]=Sc(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ut(n,l),l&&L(e)}}}function yc(i){let e,t,n,l;function r(c){i[23](c)}function a(c){i[24](c)}let o={storedUserSettingData:i[0],userSettingGroup:i[11]};return i[9]!==void 0&&(o.closeDropDown=i[9]),i[8]!==void 0&&(o.isComboOpen=i[8]),e=new y2({props:o}),Je.push(()=>wt(e,"closeDropDown",r,i[9])),Je.push(()=>wt(e,"isComboOpen",a,i[8])),e.$on("updateSettingsObject",i[15]),{c(){Ue(e.$$.fragment)},m(c,h){Me(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],vt(()=>t=!1)),!n&&h[0]&256&&(n=!0,d.isComboOpen=c[8],vt(()=>n=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){U(e.$$.fragment,c),l=!1},d(c){Fe(e,c)}}}function N2(i){let e,t,n,l,r,a,o,c=i[10](i[4])+"",h,d,g,p,b,m,v,C,y,P=i[10](i[7])+"",I,T,V,E,H,D,O,z,Z,Q,ce,$=i[10](i[5])+"",G,j,ae,fe,ne=i[10](i[6])+"",se,Se,ie,Re,qe=Object.entries(i[1]),Ce=[];for(let Ve=0;Ve<qe.length;Ve+=1)Ce[Ve]=Cc(bc(i,qe,Ve));let Pe=i[11]&&yc(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Ne(c),d=W(),g=S("div"),p=S("ul");for(let Ve=0;Ve<Ce.length;Ve+=1)Ce[Ve].c();b=W(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=W(),y=S("h2"),I=Ne(P),T=W(),V=S("div"),E=S("div"),Pe&&Pe.c(),H=W(),D=S("div"),O=W(),z=S("footer"),Z=S("div"),Q=S("div"),ce=S("button"),G=Ne($),j=W(),ae=S("div"),fe=S("button"),se=Ne(ne),f(o,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-12fj8b7"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(g,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-12fj8b7"),f(r,"class","fd-side-nav svelte-12fj8b7"),f(l,"class","lui-usersettings-left-nav svelte-12fj8b7"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-12fj8b7"),f(y,"class","fd-title fd-title--h5 svelte-12fj8b7"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-12fj8b7"),f(E,"class","usersettingseditor mf-wrapper svelte-12fj8b7"),f(D,"class","iframeUserSettingsCtn iframe-wrapper svelte-12fj8b7"),f(V,"class","lui-usersettings-content svelte-12fj8b7"),f(n,"class","fd-dialog__body lui-usersettings-body svelte-12fj8b7"),f(ce,"data-testid","lui-us-saveBtn"),f(ce,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Q,"class","fd-bar__element"),f(fe,"data-testid","lui-us-dismissBtn"),f(fe,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(ae,"class","fd-bar__element"),f(Z,"class","fd-bar__right"),f(z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-12fj8b7"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-12fj8b7"),f(e,"tabindex","0")},m(Ve,ht){A(Ve,e,ht),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,g),w(g,p);for(let We=0;We<Ce.length;We+=1)Ce[We].m(p,null);w(n,b),w(n,m),w(m,v),w(m,C),w(m,y),w(y,I),w(n,T),w(n,V),w(V,E),Pe&&Pe.m(E,null),w(V,H),w(V,D),w(t,O),w(t,z),w(z,Z),w(Z,Q),w(Q,ce),w(ce,G),w(Z,j),w(Z,ae),w(ae,fe),w(fe,se),Se=!0,ie||(Re=[ee(mc,"resize",i[20]),ee(mc,"keydown",i[3]),ee(v,"click",i[17]),ee(ce,"click",i[25]),ee(fe,"click",i[26])],ie=!0)},p(Ve,ht){if((!Se||ht[0]&1040)&&c!==(c=Ve[10](Ve[4])+"")&&Le(h,c),ht[0]&803846){qe=Object.entries(Ve[1]);let We;for(We=0;We<qe.length;We+=1){const ft=bc(Ve,qe,We);Ce[We]?Ce[We].p(ft,ht):(Ce[We]=Cc(ft),Ce[We].c(),Ce[We].m(p,null))}for(;We<Ce.length;We+=1)Ce[We].d(1);Ce.length=qe.length}(!Se||ht[0]&1152)&&P!==(P=Ve[10](Ve[7])+"")&&Le(I,P),Ve[11]?Pe?(Pe.p(Ve,ht),ht[0]&2048&&R(Pe,1)):(Pe=yc(Ve),Pe.c(),R(Pe,1),Pe.m(E,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!Se||ht[0]&1056)&&$!==($=Ve[10](Ve[5])+"")&&Le(G,$),(!Se||ht[0]&1088)&&ne!==(ne=Ve[10](Ve[6])+"")&&Le(se,ne)},i(Ve){Se||(R(Pe),Se=!0)},o(Ve){U(Pe),Se=!1},d(Ve){Ve&&L(e),ut(Ce,Ve),Pe&&Pe.d(),ie=!1,Qe(Re)}}}function Pc(i,e){let t={};return i.forEach(n=>{for(let l in n){for(let r in n[l].settings)n[l].settings[r]="";t[l]={...n[l].settings,...e[l]}}}),t}function T2(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function L2(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function sp(i,e,t){if(i&&t>0)return i.matches(e)?i:sp(i.parentNode,e,t-1)}function Ic(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function A2(i,e,t){let n,{userSettingGroups:l}=e;const r=Yt();let a,{storedUserSettings:o={}}=e,c={},h=kt("getTranslation");wi(i,h,se=>t(10,n=se));let d=dl.userSettingsDialog.dialogHeader,g=dl.userSettingsDialog.saveBtn,p=dl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Qr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),rn(()=>{const se=te.getConfigValue("userSettings.userSettingsDialog"),Se=se||te.getConfigValue("settings.userSettings.userSettingsDialog");Se&&(t(4,d=Se.dialogHeader?Se.dialogHeader:d),t(5,g=Se.saveBtn?Se.saveBtn:g),t(6,p=Se.dismissBtn?Se.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Fn.addEventListener("message",ie=>{const Re=Ae.getValidMessageSource(ie);if(!Re||ie.data.msg!=="custom")return;Re._ready=!0;const qe=as.convertCustomMessageInternalToUser(ie.data),Ce="luigi.updateUserSettings";if(qe.id===Ce){const Pe=ur.findActiveCustomUserSettingsIframe(ie.source);if(Pe){let Ve=Pe.getAttribute("userSettingsGroup");t(0,o[Ve]=qe.data,o)}}qe.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&H()}),te.readUserSettings().then(ie=>{c=JSON.parse(JSON.stringify(ie)),ie===null?t(0,o=Pc(JSON.parse(JSON.stringify(l)),{})):t(0,o=Pc(JSON.parse(JSON.stringify(l)),ie)),I([m,l[0][m]])}).catch(ie=>{ie&&ie.message&&console.error(ie.message),ie&&ie.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(se){if(t(7,v=se.title?se.title:""),!!le.isObject(se.settings))for(let Se in se.settings){let ie=se.settings[Se];ie.type==="enum"?Array.isArray(ie.options)||console.error(`There is no options array for '${Se}' defined in the Luigi userSettings config.`):ie.type===void 0&&console.error(`There is no data type defined for '${Se}' in the Luigi userSettings config.`)}}function I(se,Se){t(11,a=se);let ie=se[0],Re=se[1];if(P(Re),Se?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(Ce=>{Ce.classList.remove("is-selected")}),sp(Se.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<fn.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()),Re.viewUrl){if(ur.hideUserSettingsIframe(),b.hasOwnProperty(ie))ur.getUserSettingsIframesInDom().forEach(qe=>{qe.userSettingsGroup===ie&&(qe.style.display="block")});else{const qe=jr.hasDecorators()?jr.applyDecorators(Re.viewUrl):Re.viewUrl;let Ce=ur.createIframe(qe,ie);b[ie]=Ce}T2()}else L2()}const T=se=>{t(0,o=se.detail.userSettings)};function V(){te.storeUserSettings(o,c).then(()=>{r("close")}).catch(se=>{se&&se.message&&console.error(se.message),se&&se.closeDialog&&r("close")})}function E(){H()}function H(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<fn.desktopMinWidth&&Ic()}function D(se){return re.renderIconClassName(se)}function O(se){return re.isOpenUIiconName(se.icon)}let z;const Z=()=>{const se=window.innerWidth>=fn.desktopMinWidth&&z<fn.desktopMinWidth;if(window.innerWidth<fn.desktopMinWidth&&z>=fn.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),se&&(document.querySelector(".confirm-button").style.display="block"),!z){let ie=document.querySelector(".confirm-button");window.innerWidth<fn.desktopMinWidth?ie.style.display="none":ie.style.display="block"}z=window.innerWidth};function Q(se,Se){let ie=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(se.keyCode===hl||se.keyCode===Jr)&&ie[Se].click(),se.keyCode===u2&&ie[Object.keys(l).length-1].focus(),se.keyCode===o2&&ie[0].focus()}function ce(se){se.keyCode===Hl&&C?y():se.keyCode===Hl&&!C&&r("close")}const $=se=>I(se,event),G=(se,Se)=>Q(Se,[se]);function j(se){y=se,t(9,y)}function ae(se){C=se,t(8,C)}const fe=()=>V(),ne=()=>r("close");return i.$$set=se=>{"userSettingGroups"in se&&t(1,l=se.userSettingGroups),"storedUserSettings"in se&&t(0,o=se.storedUserSettings)},[o,l,Q,ce,d,g,p,v,C,y,n,a,r,h,I,T,V,H,D,O,Z,$,G,j,ae,fe,ne]}class E2 extends Rt{constructor(e){super(),Et(this,e,A2,N2,Tt,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:R2}=_l;function D2(i){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1dkgq68")},m(t,n){A(t,e,n)},p:He,d(t){t&&L(e)}}}function V2(i){let e,t,n,l,r=i[1].title+"",a,o,c;return{c(){e=S("div"),t=S("a"),t.innerHTML='<i class="sap-icon sap-icon--navigation-up-arrow"></i>',n=W(),l=S("h1"),a=Ne(r),f(t,"class","lui-collapse-btn svelte-1dkgq68"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1dkgq68"),f(l,"class","fd-splitView__title svelte-1dkgq68")},m(h,d){A(h,e,d),w(e,t),A(h,n,d),A(h,l,d),w(l,a),o||(c=ee(t,"click",Ut(mt(i[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Le(a,r)},d(h){h&&L(e),h&&L(n),h&&L(l),o=!1,c()}}}function Nc(i){let e,t,n,l,r,a,o,c;return{c(){e=S("div"),t=W(),n=S("div"),l=S("div"),r=W(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1dkgq68"),f(n,"id","splitViewDragger")},m(h,d){A(h,e,d),A(h,t,d),A(h,n,d),w(n,l),w(n,r),w(n,a),o||(c=[ee(a,"click",Ut(mt(i[3]))),ee(n,"mousedown",Ut(i[6]))],o=!0)},p:He,d(h){h&&L(e),h&&L(t),h&&L(n),o=!1,Qe(c)}}}function O2(i){let e,t,n,l,r,a,o,c,h,d;t=new Wl({props:{area:"split-view",disable:i[2]}}),t.$on("stateChanged",i[7]);function g(v,C){return v[0]?V2:D2}let p=g(i),b=p(i),m=!i[0]&&Nc(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),b.c(),a=W(),m&&m.c(),o=ke(),f(l,"class","lui-split-view svelte-1dkgq68"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(i[0]?"lui-collapsed":"")+" svelte-1dkgq68")},m(v,C){A(v,e,C),Me(t,e,null),w(e,n),w(e,l),b.m(l,null),A(v,a,C),m&&m.m(v,C),A(v,o,C),c=!0,h||(d=ee(R2,"resize",i[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=g(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1dkgq68"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Nc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Fe(t),b.d(),v&&L(a),m&&m.d(v),v&&L(o),h=!1,d()}}}function M2(i,e,t){const n=Yt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,g,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,I=!1,T=kt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:g,splitViewWC:p,splitViewWCData:b}),set:j=>{j&&Object.getOwnPropertyNames(j).forEach(ae=>{ae==="splitViewSettings"?t(1,C=j.splitViewSettings):ae==="lastNode"?r=j.lastNode:ae==="pathData"?a=j.pathData:ae==="nodeParams"?o=j.nodeParams:ae==="collapsed"?t(0,v=j.collapsed):ae==="isDataPrepared"?t(8,y=j.isDataPrepared):ae==="currentNode"?c=j.currentNode:ae==="splitViewIframe"?d=j.splitViewIframe:ae==="splitViewIframeData"?g=j.splitViewIframeData:ae==="splitViewWC"?p=j.splitViewWC:ae==="splitViewWCData"&&(b=j.splitViewWCData)})},dispatch:n,getUnsavedChangesModalPromise:T}),E=async()=>{y?v||ct.createAndSetView(V()):await ct.prepareSplitViewData(V(),m)},H=()=>{l.split=ct.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ct.getDragger()},D=()=>{const j=ct.getDraggerBackdrop();j&&(j.style.display="none"),H(),l.draggable&&(l.draggable.style.top=`${ct.splitViewValues.top}px`),l.split.style.top=`${ct.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function O(j){if(Ae.getValidMessageSource(j)&&(j.data.msg==="luigi.navigation.splitview.close"&&ct.close(V()),j.data.msg==="luigi.navigation.splitview.collapse"&&z(),j.data.msg==="luigi.navigation.splitview.expand"&&Z(),j.data.msg==="luigi.navigation.splitview.resize")){const ae=parseInt(j.data.data);if(ct.calculateAndSetSplitViewValues(ae,ct.internalValues),v)return;D(),ct.sendMessageToClients("resize.ok",ct.splitViewValues.percent)}}rn(()=>{Q(),h=O.bind(this),Fn.addEventListener("message",h)}),Yr(()=>{E(),I!==y&&!v&&(I=y,D())}),Qr(()=>{window.removeEventListener("message",h)});function z(){ct.collapse(V())}async function Z(){await ct.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const j=le.getShellbarHeight();ct.internalValues.innerHeight=le.getInnerHeight(),ct.internalValues.rightContentHeight=ct.internalValues.innerHeight-j,ct.internalValues.thresholdBottom=30,ct.internalValues.thresholdTop=j+30,ct.calculateAndSetSplitViewValues(ct.splitViewValues.percent,ct.internalValues),v||D()}function ce(j){let ae=j.y,fe={};const ne=function(qe){const Ce=ae-qe.y,Pe=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(Pe)||Ce===0)return;const Ve=Pe-Ce,ht=ct.internalValues.innerHeight-Ve,We=ct.enforceTresholds(Ve,ht);Ve<We.top||ht<We.bottom||(fe=We,ae=qe.y,l.draggable.style.top=`${fe.top}px`)},se=function(){if(Se(),!fe.top||!fe.bottom||fe.top==ct.internalValues.m_pos_prev){ct.getDraggerBackdrop().style.display="none";return}ct.internalValues.m_pos_prev=fe.top,ct.splitViewValues=fe,D(),ct.sendMessageToClients("resize.ok",fe.percent)},Se=function(){document.removeEventListener("mouseup",se),document.removeEventListener("mousemove",ne)},ie=function(){document.addEventListener("mouseup",se),document.addEventListener("mousemove",ne)};H(),Se(),ie(),ct.getDraggerBackdrop().style.display="block"}const $=j=>{let ae=ct.getDraggerButton();ae&&(ae.style.display=j?"block":"none"),ae=ct.getCollapsedDraggerButton(),ae&&(ae.style.display=j?"block":"none")},G=j=>{$(!j.detail||j.detail.backdropActive!==!0)};return i.$$set=j=>{"nodepath"in j&&t(9,m=j.nodepath),"collapsed"in j&&t(0,v=j.collapsed),"splitViewSettings"in j&&t(1,C=j.splitViewSettings),"isDataPrepared"in j&&t(8,y=j.isDataPrepared),"disableBackdrop"in j&&t(2,P=j.disableBackdrop)},[v,C,P,z,Z,Q,ce,G,y,m]}class op extends Rt{constructor(e){super(),Et(this,e,M2,O2,Tt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function Tc(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:B2,then:U2,catch:F2,value:1};return ls(t=i[0].badgeCounter.count(),n),{c(){e=ke(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&1&&t!==(t=i[0].badgeCounter.count())&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function F2(i){return{c:He,m:He,p:He,d:He}}function U2(i){let e,t=i[1]>0&&Lc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]>0?t?t.p(n,l):(t=Lc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Lc(i){let e,t=i[1]+"",n,l;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-x8m4yt"),f(e,"aria-label",l=i[0].badgeCounter.label)},m(r,a){A(r,e,a),w(e,n)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(n,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&L(e)}}}function B2(i){return{c:He,m:He,p:He,d:He}}function H2(i){let e,t=i[0]&&i[0].badgeCounter&&Tc(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]&&n[0].badgeCounter?t?t.p(n,l):(t=Tc(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function W2(i,e,t){let{node:n}=e;return i.$$set=l=>{"node"in l&&t(0,n=l.node)},[n]}class Nn extends Rt{constructor(e){super(),Et(this,e,W2,H2,Tt,{node:0})}}function Ac(i){let e,t,n=i[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+i[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&n!==(n=r[0].statusBadge.label+"")&&Le(l,n)},d(r){r&&L(e)}}}function q2(i){let e,t=i[0].statusBadge&&i[0].statusBadge.label&&Ac(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0].statusBadge&&n[0].statusBadge.label?t?t.p(n,l):(t=Ac(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function z2(i,e,t){let{node:n}=e;const l=["negative","positive","critical","informative"],r=n&&n.statusBadge&&n.statusBadge.type,a=l.includes(r)?r:"none";return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,a]}class ti extends Rt{constructor(e){super(),Et(this,e,z2,q2,Tt,{node:0})}}function G2(i){let e,t,n,l,r=i[1].title+"",a,o,c,h,d,g,p,b,m,v,C,y;const P=i[4].default,I=ds(P,i,i[3],null);return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),c=S("span"),d=W(),g=S("ul"),I&&I.c(),p=W(),b=S("li"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__has-children-indicator"),f(c,"role","presentation"),f(c,"aria-hidden","true"),f(c,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1p4gus"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class","fd-navigation__item fd-navigation__item--group"),f(t,"aria-level","1"),f(t,"role","treeitem"),f(t,"title",h=i[1].title+" Group"),f(t,"aria-roledescription","Navigation List Tree Item - Group"),f(t,"aria-selected","false"),f(t,"aria-expanded",i[0]),f(b,"class","fd-navigation__list-item fd-navigation__list-item--separator"),f(b,"role","presentation"),f(b,"aria-hidden","true"),f(g,"class","fd-navigation__list fd-navigation__list--parent-items svelte-1p4gus"),f(g,"role","tree"),f(g,"aria-roledescription","Navigation List Tree - Parent Items"),f(g,"tabindex","-1"),f(g,"navgroupid",m=i[1].uid),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true")},m(T,V){A(T,e,V),w(e,t),w(t,n),w(n,l),w(l,a),w(n,o),w(n,c),w(e,d),w(e,g),I&&I.m(g,null),w(g,p),w(g,b),v=!0,C||(y=[ee(n,"click",Ut(mt(i[2]))),ee(n,"keyup",i[5])],C=!0)},p(T,V){(!v||V&2)&&r!==(r=T[1].title+"")&&Le(a,r),(!v||V&2&&h!==(h=T[1].title+" Group"))&&f(t,"title",h),(!v||V&1)&&f(t,"aria-expanded",T[0]),I&&I.p&&(!v||V&8)&&gs(I,P,T,T[3],v?hs(P,T[3],V,null):_s(T[3]),null),(!v||V&2&&m!==(m=T[1].uid))&&f(g,"navgroupid",m)},i(T){v||(R(I,T),v=!0)},o(T){U(I,T),v=!1},d(T){T&&L(e),I&&I.d(T),C=!1,Qe(y)}}}function K2(i){let e;const t=i[4].default,n=ds(t,i,i[3],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8)&&gs(n,t,l,l[3],e?hs(t,l[3],r,null):_s(l[3]),null)},i(l){e||(R(n,l),e=!0)},o(l){U(n,l),e=!1},d(l){n&&n.d(l)}}}function j2(i){let e,t,n,l;const r=[K2,G2],a=[];function o(c,h){return c[1].isSingleEntry?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,[h]){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function J2(i,e,t){let{$$slots:n={},$$scope:l}=e,{navGroup:r}=e,{expanded:a=!0}=e;function o(){t(0,a=!a),re.storeExpandedState(r.uid,a),r.isSingleEntry||re.storeCollapsedSuperCategoriesState(r.uid,a)}const c=h=>{(h.code==="Enter"||h.code==="Space")&&o()};return i.$$set=h=>{"navGroup"in h&&t(1,r=h.navGroup),"expanded"in h&&t(0,a=h.expanded),"$$scope"in h&&t(3,l=h.$$scope)},[a,r,o,l,n,c]}class Y2 extends Rt{constructor(e){super(),Et(this,e,J2,j2,Tt,{navGroup:1,expanded:0})}}const{window:es}=_l;function Ec(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Rc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Dc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Vc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Oc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Mc(i,e,t){const n=i.slice();return n[92]=e[t],n}function Fc(i,e,t){const n=i.slice();return n[95]=e[t][0],n[96]=e[t][1],n[98]=t,n}function Uc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Bc(i,e,t){const n=i.slice();return n[99]=e[t],n}function Q2(i){let e,t,n,l,r,a,o,c,h,d,g=i[12]&&Hc(i),p=i[0]&&i[5].length>0&&(i[5][0].topNav===!1||i[5].length>1)&&Gc(i),b=(i[2]||i[3])&&_d(i);return{c(){e=S("div"),g&&g.c(),t=W(),n=S("nav"),l=S("div"),p&&p.c(),r=W(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-1bekqg6"),f(n,"class",a="fd-side-nav "+(i[6]?"fd-side-nav--condensed":"")+" "+(i[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"),f(n,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" svelte-1bekqg6")},m(m,v){A(m,e,v),g&&g.m(e,null),w(e,t),w(e,n),w(n,l),p&&p.m(l,null),w(n,r),b&&b.m(n,null),c=!0,h||(d=ee(n,"keyup",i[19]),h=!0)},p(m,v){m[12]?g?g.p(m,v):(g=Hc(m),g.c(),g.m(e,t)):g&&(g.d(1),g=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Gc(m),p.c(),R(p,1),p.m(l,null)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),m[2]||m[3]?b?b.p(m,v):(b=_d(m),b.c(),b.m(n,null)):b&&(b.d(1),b=null),(!c||v[0]&4160&&a!==(a="fd-side-nav "+(m[6]?"fd-side-nav--condensed":"")+" "+(m[12]?"lui-nav-header-visible":"")+" svelte-1bekqg6"))&&f(n,"class",a),(!c||v[0]&14&&o!==(o="fd-app__sidebar fd-navigation "+(m[1]?"hideNavComponent":"")+" "+(m[2]||m[3]?"hasFooter":"")+" "+(m[2]&&!m[3]?"hasOnlyFooterText":"")+" svelte-1bekqg6"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){U(p),c=!1},d(m){m&&L(e),g&&g.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Z2(i){let e,t,n,l,r=i[12]&&md(i),a=i[0]&&i[5].length>1&&kd(i);return{c(){e=S("div"),r&&r.c(),t=W(),a&&a.c(),f(e,"class",n="fd-navigation fd-navigation--vertical "+(i[1]?"hideNavComponent":"")+" "+(i[2]||i[3]?"hasFooter":"")+" "+(i[2]&&!i[3]?"hasOnlyFooterText":"")+" "+(i[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"),f(e,"role","navigation"),Mn(e,"width","var(--luigi__left-sidenav--width)"),Mn(e,"height","100%")},m(o,c){A(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=md(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=kd(o),a.c(),R(a,1),a.m(e,null)):a&&(ve(),U(a,1,1,()=>{a=null}),we()),(!l||c[0]&78&&n!==(n="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-1bekqg6"))&&f(e,"class",n)},i(o){l||(R(a),l=!0)},o(o){U(a),l=!1},d(o){o&&L(e),r&&r.d(),a&&a.d()}}}function Hc(i){let e,t=!i[12].renderer&&Wc(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(n,e,l),t&&t.m(e,null),i[62](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=Wc(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[62](null)}}}function Wc(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&qc(i),g=i[12].showUpLink&&zc(i);return{c(){e=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item svelte-1bekqg6"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=qc(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=zc(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&L(e),d&&d.d(),g&&g.d()}}}function qc(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?$2:X2}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function X2(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!et(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function $2(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function zc(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function Gc(i){let e,t,n,l,r=i[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=gd(Ec(i,r,c));const o=c=>U(a[c],1,1,()=>{a[c]=null});return{c(){e=S("div"),t=S("ul");for(let c=0;c<a.length;c+=1)a[c].c();f(t,"class",n="fd-nested-list "+(i[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"),f(e,"class","lui-fd-side-nav-wrapper svelte-1bekqg6")},m(c,h){A(c,e,h),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,h){if(h[0]&1227073472|h[1]&1823){r=c[13];let d;for(d=0;d<r.length;d+=1){const g=Ec(c,r,d);a[d]?(a[d].p(g,h),R(a[d],1)):(a[d]=gd(g),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ve(),d=r.length;d<a.length;d+=1)o(d);we()}(!l||h[0]&8388608&&n!==(n="fd-nested-list "+(c[23]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-1bekqg6"))&&f(t,"class",n)},i(c){if(!l){for(let h=0;h<r.length;h+=1)R(a[h]);l=!0}},o(c){a=a.filter(Boolean);for(let h=0;h<a.length;h+=1)U(a[h]);l=!1},d(c){c&&L(e),ut(a,c)}}}function x2(i){let e,t,n,l;const r=[nS,tS],a=[];function o(c,h){return c[96].metaInfo.collapsible?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function eS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=hd(Oc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1090592960|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Oc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=hd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function tS(i){let e,t,n=i[27](i[95])+"",l,r,a,o,c,h,d=i[10]&&i[96].metaInfo.icon&&Kc(i),g=i[96],p=[];for(let m=0;m<g.length;m+=1)p[m]=Xc(Rc(i,g,m));const b=m=>U(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=W(),l=Ne(n),o=W();for(let m=0;m<p.length;m+=1)p[m].c();c=ke(),f(e,"class","fd-nested-list__group-header lui-category svelte-1bekqg6"),f(e,"title",r=i[35](i[96],i[27](i[95]))),f(e,"data-testid",a=i[34](i[96].metaInfo,i[95])),f(e,"id","category_list_level1_"+i[98])},m(m,v){A(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),A(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);A(m,c,v),h=!0},p(m,v){if(m[10]&&m[96].metaInfo.icon?d?d.p(m,v):(d=Kc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&134225920)&&n!==(n=m[27](m[95])+"")&&Le(l,n),(!h||v[0]&134225920&&r!==(r=m[35](m[96],m[27](m[95]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[34](m[96].metaInfo,m[95])))&&f(e,"data-testid",a),v[0]&1090592960|v[1]&535){g=m[96];let C;for(C=0;C<g.length;C+=1){const y=Rc(m,g,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Xc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ve(),C=g.length;C<p.length;C+=1)b(C);we()}},i(m){if(!h){for(let v=0;v<g.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)U(p[v]);h=!1},d(m){m&&L(e),d&&d.d(),m&&L(o),ut(p,m),m&&L(c)}}}function nS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Z,Q,ce;function $(Ce,Pe){return Pe[0]&8192&&(l=null),l==null&&(l=!!Ce[32](Ce[96].metaInfo.icon)),l?fS:uS}let G=$(i,[-1,-1,-1,-1]),j=G(i);function ae(){return i[65](i[96])}function fe(){return i[66](i[96])}function ne(...Ce){return i[67](i[96],...Ce)}let se=i[96],Se=[];for(let Ce=0;Ce<se.length;Ce+=1)Se[Ce]=nd(Vc(i,se,Ce));const ie=Ce=>U(Se[Ce],1,1,()=>{Se[Ce]=null});let Re=i[96].metaInfo&&i[96].metaInfo.label===i[8]&&id(i);function qe(){return i[72](i[96])}return{c(){e=S("li"),t=S("div"),n=S("a"),j.c(),r=W(),a=S("span"),c=Ne(o),m=W(),v=S("button"),C=S("i"),V=W(),E=S("ul");for(let Ce=0;Ce<Se.length;Ce+=1)Se[Ce].c();D=W(),Re&&Re.c(),O=W(),f(a,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"title",h=i[35](i[96],i[27](i[95]))),f(n,"class",d="fd-nested-list__link "+(ln(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"),f(n,"tabindex",g=i[6]?"-1":"0"),f(n,"role",p=i[24]?void 0:"button"),f(n,"id","collapsible_listnode_"+i[98]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",b=ln(i[96],i[9])),f(C,"class",y=ln(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(C,"role","presentation"),f(v,"class","fd-button fd-nested-list__button svelte-1bekqg6"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=ln(i[96],i[9])),f(v,"title",I=i[41](i[96],i[9])),f(t,"class","fd-nested-list__content has-child"),f(t,"tabindex",T=i[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-1bekqg6"),f(E,"aria-hidden",H=!ln(i[96],i[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",z=i[34](i[96].metaInfo,i[95])),Jt(e,"lui-item-expanded",ln(i[96],i[9]))},m(Ce,Pe){A(Ce,e,Pe),w(e,t),w(t,n),j.m(n,null),w(n,r),w(n,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let Ve=0;Ve<Se.length;Ve+=1)Se[Ve].m(E,null);w(e,D),Re&&Re.m(e,null),w(e,O),Z=!0,Q||(ce=[ee(n,"click",mt(ae)),ee(v,"click",mt(fe)),ee(t,"keypress",ne),ee(e,"click",Ut(qe))],Q=!0)},p(Ce,Pe){if(i=Ce,G===(G=$(i,Pe))&&j?j.p(i,Pe):(j.d(1),j=G(i),j&&(j.c(),j.m(n,r))),(!Z||Pe[0]&134225920)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!Z||Pe[0]&134225920&&h!==(h=i[35](i[96],i[27](i[95]))))&&f(n,"title",h),(!Z||Pe[0]&8704&&d!==(d="fd-nested-list__link "+(ln(i[96],i[9])?"is-expanded":"")+" svelte-1bekqg6"))&&f(n,"class",d),(!Z||Pe[0]&64&&g!==(g=i[6]?"-1":"0"))&&f(n,"tabindex",g),(!Z||Pe[0]&16777216&&p!==(p=i[24]?void 0:"button"))&&f(n,"role",p),(!Z||Pe[0]&8704&&b!==(b=ln(i[96],i[9])))&&f(n,"aria-expanded",b),(!Z||Pe[0]&8704&&y!==(y=ln(i[96],i[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!Z||Pe[0]&8704&&P!==(P=ln(i[96],i[9])))&&f(v,"aria-expanded",P),(!Z||Pe[0]&8704&&I!==(I=i[41](i[96],i[9])))&&f(v,"title",I),(!Z||Pe[0]&64&&T!==(T=i[6]?"0":"-1"))&&f(t,"tabindex",T),Pe[0]&1090592896|Pe[1]&532){se=i[96];let Ve;for(Ve=0;Ve<se.length;Ve+=1){const ht=Vc(i,se,Ve);Se[Ve]?(Se[Ve].p(ht,Pe),R(Se[Ve],1)):(Se[Ve]=nd(ht),Se[Ve].c(),R(Se[Ve],1),Se[Ve].m(E,null))}for(ve(),Ve=se.length;Ve<Se.length;Ve+=1)ie(Ve);we()}(!Z||Pe[0]&8704&&H!==(H=!ln(i[96],i[9])))&&f(E,"aria-hidden",H),i[96].metaInfo&&i[96].metaInfo.label===i[8]?Re?(Re.p(i,Pe),Pe[0]&8448&&R(Re,1)):(Re=id(i),Re.c(),R(Re,1),Re.m(e,O)):Re&&(ve(),U(Re,1,1,()=>{Re=null}),we()),(!Z||Pe[0]&8192&&z!==(z=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",z),(!Z||Pe[0]&8704)&&Jt(e,"lui-item-expanded",ln(i[96],i[9]))},i(Ce){if(!Z){for(let Pe=0;Pe<se.length;Pe+=1)R(Se[Pe]);R(Re),Z=!0}},o(Ce){Se=Se.filter(Boolean);for(let Pe=0;Pe<Se.length;Pe+=1)U(Se[Pe]);U(Re),Z=!1},d(Ce){Ce&&L(e),j.d(),ut(Se,Ce),Re&&Re.d(),Q=!1,Qe(ce)}}}function Kc(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?lS:iS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function iS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function lS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[96].metaInfo.icon?i[31](i[96].metaInfo.icon):"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(n[96].metaInfo.icon?n[31](n[96].metaInfo.icon):"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function jc(i){let e,t,n=i[99].label&&Jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=Jc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Jc(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I;function T(Q,ce){return Q[99].icon?aS:rS}let V=T(i),E=V(i),H=i[99].statusBadge&&Yc(i),D=i[99].externalLink&&i[99].externalLink.url&&Qc(),O=i[99].badgeCounter&&Zc(i);function z(...Q){return i[73](i[99],...Q)}function Z(...Q){return i[74](i[99],...Q)}return{c(){e=S("li"),t=S("a"),E.c(),n=W(),l=S("span"),a=Ne(r),o=W(),H&&H.c(),h=W(),D&&D.c(),d=W(),O&&O.c(),v=W(),f(l,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[99])),f(e,"class","fd-nested-list__item"),f(e,"title",C=i[35](i[99],i[30](i[99]))),f(e,"aria-labelledby","category_list_level1_"+i[98])},m(Q,ce){A(Q,e,ce),w(e,t),E.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),H&&H.m(l,null),w(t,h),D&&D.m(t,null),w(t,d),O&&O.m(t,null),w(e,v),y=!0,P||(I=[ee(t,"click",z),ee(t,"keyup",function(){vi(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],P=!0)},p(Q,ce){i=Q,V===(V=T(i))&&E?E.p(i,ce):(E.d(1),E=V(i),E&&(E.c(),E.m(t,n))),(!y||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r),i[99].statusBadge?H?(H.p(i,ce),ce[0]&8192&&R(H,1)):(H=Yc(i),H.c(),R(H,1),H.m(l,null)):H&&(ve(),U(H,1,1,()=>{H=null}),we()),(!y||ce[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",c),i[99].externalLink&&i[99].externalLink.url?D||(D=Qc(),D.c(),D.m(t,d)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=Zc(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!y||ce[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||ce[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||ce[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||ce[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||ce[0]&8192&&C!==(C=i[35](i[99],i[30](i[99]))))&&f(e,"title",C)},i(Q){y||(R(H),R(O),y=!0)},o(Q){U(H),U(O),y=!1},d(Q){Q&&L(e),E.d(),H&&H.d(),D&&D.d(),O&&O.d(),P=!1,Qe(I)}}}function rS(i){let e,t,n,l,r=i[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),n=W(),l=S("span"),a=Ne(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){A(o,e,c),A(o,n,c),A(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Le(a,r)},d(o){o&&L(e),o&&L(n),o&&L(l)}}}function aS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?oS:sS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function sS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function oS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Yc(i){let e,t;return e=new ti({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Qc(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Zc(i){let e,t;return e=new Nn({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Xc(i){let e,t,n=!i[99].hideFromNav&&jc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=jc(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function uS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function fS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function $c(i){let e,t,n=i[99].label&&xc(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=xc(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function xc(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ti({props:{node:i[99]}});let T=i[99].externalLink&&i[99].externalLink.url&&ed(),V=i[99].badgeCounter&&td(i);function E(...D){return i[68](i[99],...D)}function H(...D){return i[69](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),h=W(),T&&T.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"role",b=i[24]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+i[98])},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[ee(t,"click",E),ee(t,"keyup",function(){vi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?T||(T=ed(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=td(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Fe(o),T&&T.d(),V&&V.d(),P=!1,Qe(I)}}}function ed(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function td(i){let e,t;return e=new Nn({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function nd(i){let e,t,n=!i[99].hideFromNav&&$c(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=$c(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function id(i){let e,t,n,l=i[27](i[95])+"",r,a,o,c,h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=od(Dc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),n=S("h5"),r=Ne(l),a=W(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(n,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-1bekqg6"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-1bekqg6"),f(t,"class","lui-flyout-sublist__wrapper svelte-1bekqg6"),f(e,"class","lui-flyout-sublist svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&134225920)&&l!==(l=p[27](p[95])+"")&&Le(r,l),b[0]&1090592896|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Dc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=od(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}},i(p){if(!c){for(let b=0;b<h.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);c=!1},d(p){p&&L(e),ut(d,p)}}}function ld(i){let e,t,n=i[99].label&&rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=rd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function rd(i){let e,t,n,l=i[30](i[99])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I;o=new ti({props:{node:i[99]}});let T=i[99].externalLink&&i[99].externalLink.url&&ad(),V=i[99].badgeCounter&&sd(i);function E(...D){return i[70](i[99],...D)}function H(...D){return i[71](i[99],...D)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),h=W(),T&&T.c(),d=W(),V&&V.c(),C=W(),f(n,"class",c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",g=i[33](i[99])),f(t,"class",p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",b=i[24]?void 0:"button"),f(t,"data-testid",m=re.getTestId(i[99])),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(e,"class","fd-nested-list__item")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(t,h),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(I=[ee(t,"click",E),ee(t,"keyup",function(){vi(i[24]?void 0:H)&&(i[24]?void 0:H).apply(this,arguments)})],P=!0)},p(D,O){i=D,(!y||O[0]&8192)&&l!==(l=i[30](i[99])+"")&&Le(r,l);const z={};O[0]&8192&&(z.node=i[99]),o.$set(z),(!y||O[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(n,"class",c),i[99].externalLink&&i[99].externalLink.url?T||(T=ad(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),i[99].badgeCounter?V?(V.p(i,O),O[0]&8192&&R(V,1)):(V=sd(i),V.c(),R(V,1),V.m(t,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!y||O[0]&8192&&g!==(g=i[33](i[99])))&&f(t,"href",g),(!y||O[0]&8320&&p!==(p="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",p),(!y||O[0]&16777216&&b!==(b=i[24]?void 0:"button"))&&f(t,"role",b),(!y||O[0]&8192&&m!==(m=re.getTestId(i[99])))&&f(t,"data-testid",m),(!y||O[0]&8192&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v)},i(D){y||(R(o.$$.fragment,D),R(V),y=!0)},o(D){U(o.$$.fragment,D),U(V),y=!1},d(D){D&&L(e),Fe(o),T&&T.d(),V&&V.d(),P=!1,Qe(I)}}}function ad(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function sd(i){let e,t;return e=new Nn({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function od(i){let e,t,n=!i[99].hideFromNav&&ld(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ld(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function ud(i){let e,t,n=i[99].label&&fd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=fd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function fd(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(Q,ce){return Q[99].icon?dS:cS}let E=V(i),H=E(i);c=new ti({props:{node:i[99]}});let D=i[99].externalLink&&i[99].externalLink.url&&cd(),O=i[99].badgeCounter&&dd(i);function z(...Q){return i[63](i[99],...Q)}function Z(...Q){return i[64](i[99],...Q)}return{c(){e=S("li"),t=S("a"),H.c(),n=W(),l=S("span"),a=Ne(r),o=W(),Ue(c.$$.fragment),d=W(),D&&D.c(),g=W(),O&&O.c(),y=W(),f(l,"class",h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(t,"href",p=i[33](i[99])),f(t,"title",b=i[35](i[99],i[30](i[99]))),f(t,"class",m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(t,"tabindex","0"),f(t,"role",v=i[24]?void 0:"button"),f(t,"data-testid",C=re.getTestId(i[99])),f(e,"class","fd-nested-list__item")},m(Q,ce){A(Q,e,ce),w(e,t),H.m(t,null),w(t,n),w(t,l),w(l,a),w(l,o),Me(c,l,null),w(t,d),D&&D.m(t,null),w(t,g),O&&O.m(t,null),w(e,y),P=!0,I||(T=[ee(t,"click",z),ee(t,"keyup",function(){vi(i[24]?void 0:Z)&&(i[24]?void 0:Z).apply(this,arguments)})],I=!0)},p(Q,ce){i=Q,E===(E=V(i))&&H?H.p(i,ce):(H.d(1),H=E(i),H&&(H.c(),H.m(t,n))),(!P||ce[0]&8192)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const $={};ce[0]&8192&&($.node=i[99]),c.$set($),(!P||ce[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?D||(D=cd(),D.c(),D.m(t,g)):D&&(D.d(1),D=null),i[99].badgeCounter?O?(O.p(i,ce),ce[0]&8192&&R(O,1)):(O=dd(i),O.c(),R(O,1),O.m(t,null)):O&&(ve(),U(O,1,1,()=>{O=null}),we()),(!P||ce[0]&8192&&p!==(p=i[33](i[99])))&&f(t,"href",p),(!P||ce[0]&8192&&b!==(b=i[35](i[99],i[30](i[99]))))&&f(t,"title",b),(!P||ce[0]&8320&&m!==(m="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(t,"class",m),(!P||ce[0]&16777216&&v!==(v=i[24]?void 0:"button"))&&f(t,"role",v),(!P||ce[0]&8192&&C!==(C=re.getTestId(i[99])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(O),P=!0)},o(Q){U(c.$$.fragment,Q),U(O),P=!1},d(Q){Q&&L(e),H.d(),Fe(c),D&&D.d(),O&&O.d(),I=!1,Qe(T)}}}function cS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function dS(i){let e,t;function n(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?gS:hS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function hS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function gS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function cd(i){let e;return{c(){e=S("i"),f(e,"class","fd-nested-list__icon sap-icon sap-icon--action"),f(e,"role","presentation")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function dd(i){let e,t;return e=new Nn({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function hd(i){let e,t,n=!i[99].hideFromNav&&ud(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&8192&&R(n,1)):(n=ud(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function gd(i){let e,t,n,l,r,a;const o=[eS,x2],c=[];function h(d,g){return g[0]&40960&&(e=null),g[0]&8192&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(RS).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function _d(i){let e,t,n,l=(i[2]?i[2]:"")+"",r,a,o=i[3]&&pd(i);return{c(){e=S("div"),t=S("span"),n=S("span"),r=Ne(l),a=W(),o&&o.c(),f(n,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-1bekqg6"),f(n,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-1bekqg6"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-1bekqg6")},m(c,h){A(c,e,h),w(e,t),w(t,n),w(n,r),w(t,a),o&&o.m(t,null)},p(c,h){h[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Le(r,l),c[3]?o?o.p(c,h):(o=pd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),o&&o.d()}}}function pd(i){let e;function t(r,a){return r[4]=="button"?pS:_S}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function _S(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0")},m(r,a){A(r,e,a),n||(l=[ee(e,"click",i[76]),ee(e,"keydown",i[77])],n=!0)},p(r,a){a[0]&64&&t!==(t="lui-side-nav__footer--icon "+(r[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&L(e),n=!1,Qe(l)}}}function pS(i){let e,t,n,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",n="lui-side-nav__footer--icon "+(i[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",i[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-1bekqg6")},m(a,o){A(a,e,o),w(e,t),l||(r=ee(e,"click",i[75]),l=!0)},p(a,o){o[0]&64&&n!==(n="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-1bekqg6")&&f(t,"class",n),o[0]&2048&&f(e,"title",a[11])},d(a){a&&L(e),l=!1,r()}}}function md(i){let e,t=!i[12].renderer&&bd(i);return{c(){e=S("div"),t&&t.c(),f(e,"class","lui-nav-title svelte-1bekqg6")},m(n,l){A(n,e,l),t&&t.m(e,null),i[49](e)},p(n,l){n[12].renderer?t&&(t.d(1),t=null):t?t.p(n,l):(t=bd(n),t.c(),t.m(e,null))},d(n){n&&L(e),t&&t.d(),i[49](null)}}}function bd(i){let e,t,n,l,r,a=i[27](i[12].label)+"",o,c,h,d=i[12].icon&&vd(i),g=i[12].showUpLink&&wd(i);return{c(){e=S("ul"),t=S("li"),n=S("a"),d&&d.c(),l=W(),r=S("span"),o=Ne(a),c=W(),g&&g.c(),f(r,"class","fd-nested-list__title svelte-1bekqg6"),f(n,"class","fd-nested-list__link svelte-1bekqg6"),f(n,"title",h=i[35](i[12],i[27](i[12].label))),f(t,"class","fd-nested-list__item"),f(e,"class","fd-nested-list svelte-1bekqg6")},m(p,b){A(p,e,b),w(e,t),w(t,n),d&&d.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),g&&g.m(n,null)},p(p,b){p[12].icon?d?d.p(p,b):(d=vd(p),d.c(),d.m(n,l)):d&&(d.d(1),d=null),b[0]&134221824&&a!==(a=p[27](p[12].label)+"")&&Le(o,a),p[12].showUpLink?g?g.p(p,b):(g=wd(p),g.c(),g.m(n,null)):g&&(g.d(1),g=null),b[0]&134221824&&h!==(h=p[35](p[12],p[27](p[12].label)))&&f(n,"title",h)},d(p){p&&L(e),d&&d.d(),g&&g.d()}}}function vd(i){let e,t;function n(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[32](a[12].icon)),e?bS:mS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function mS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[12].icon)||f(t,"src",n),f(t,"alt",l=i[12].altText?i[12].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-nested-list__icon sap-icon svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!et(t.src,n=r[12].icon)&&f(t,"src",n),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function bS(i){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+i[31](i[12].icon)+" svelte-1bekqg6"),f(e,"role","presentation")},m(n,l){A(n,e,l)},p(n,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+n[31](n[12].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function wd(i){let e,t,n,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-1bekqg6"),f(e,"role","presentation"),f(e,"title",t=i[27]("luigi.navigation.up"))},m(r,a){A(r,e,a),n||(l=ee(e,"click",mt(i[20])),n=!0)},p(r,a){a[0]&134217728&&t!==(t=r[27]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&L(e),n=!1,l()}}}function kd(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=i[14],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ud(Mc(i,m,y));const C=y=>U(v[y],1,1,()=>{v[y]=null});return{c(){e=S("div"),t=S("ul");for(let y=0;y<v.length;y+=1)v[y].c();n=W(),l=S("li"),r=W(),a=S("li"),o=S("div"),c=S("a"),c.innerHTML=`<span class="fd-navigation__icon sap-icon--overflow" role="presentation" aria-hidden="true"></span>
|
|
55
|
+
<span class="fd-navigation__text">More Items</span>`,h=W(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-1bekqg6"></ul></div>',f(l,"class","lui-spacer svelte-1bekqg6"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-1bekqg6"),f(c,"role","button"),f(c,"tabindex","0"),f(o,"class","fd-navigation__item lui-nav-more"),f(o,"aria-haspopup","menu"),f(o,"role","menuitem"),f(o,"aria-expanded","false"),f(o,"tabindex","-1"),f(d,"class","fd-navigation__list-container fd-navigation__list-container--menu fd-menu svelte-1bekqg6"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-1bekqg6"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list svelte-1bekqg6"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top svelte-1bekqg6")},m(y,P){A(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I].m(t,null);w(t,n),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),i[61](e),g=!0,p||(b=[ee(c,"click",i[42]),ee(c,"keypress",i[60])],p=!0)},p(y,P){if(P[0]&1227081664|P[1]&799){m=y[14];let I;for(I=0;I<m.length;I+=1){const T=Mc(y,m,I);v[I]?(v[I].p(T,P),R(v[I],1)):(v[I]=Ud(T),v[I].c(),R(v[I],1),v[I].m(t,n))}for(ve(),I=m.length;I<v.length;I+=1)C(I);we()}},i(y){if(!g){for(let P=0;P<m.length;P+=1)R(v[P]);g=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)U(v[P]);g=!1},d(y){y&&L(e),ut(v,y),i[61](null),p=!1,Qe(b)}}}function vS(i){let e,t,n,l,r,a,o=i[27](i[95])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V,E;function H(G,j){return j[0]&16384&&(l=null),l==null&&(l=!!G[32](G[96].metaInfo.icon)),l?SS:kS}let D=H(i,[-1,-1,-1,-1]),O=D(i);function z(){return i[52](i[96])}function Z(){return i[53](i[96])}function Q(...G){return i[54](i[96],...G)}function ce(...G){return i[55](i[96],...G)}let $=(!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8])&&Sd(i);return{c(){e=S("li"),t=S("div"),n=S("a"),O.c(),r=W(),a=S("span"),c=Ne(o),h=W(),d=S("span"),g=W(),p=S("span"),y=W(),$&&$.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"role","button"),f(n,"tabindex","0"),f(t,"class",b="fd-navigation__item "+(i[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=i[35](i[96],i[27](i[95]))),f(t,"aria-expanded",v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:ln(i[96],i[9])),f(t,"aria-selected",C=i[6]&&i[96].indexOf(i[7])>=0),f(e,"class",P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"),f(e,"aria-hidden","true"),f(e,"data-testid",I=i[34](i[96].metaInfo,i[95]))},m(G,j){A(G,e,j),w(e,t),w(t,n),O.m(n,null),w(n,r),w(n,a),w(a,c),w(n,h),w(n,d),w(n,g),w(n,p),w(e,y),$&&$.m(e,null),T=!0,V||(E=[ee(n,"click",mt(z)),ee(n,"keypress",mt(Z)),ee(n,"keypress",mt(Q)),ee(t,"click",Ut(ce))],V=!0)},p(G,j){i=G,D===(D=H(i,j))&&O?O.p(i,j):(O.d(1),O=D(i),O&&(O.c(),O.m(n,r))),(!T||j[0]&134234112)&&o!==(o=i[27](i[95])+"")&&Le(c,o),(!T||j[0]&64&&b!==(b="fd-navigation__item "+(i[6]?"fd-popover__control":"")))&&f(t,"class",b),(!T||j[0]&134234112&&m!==(m=i[35](i[96],i[27](i[95]))))&&f(t,"title",m),(!T||j[0]&17216&&v!==(v=i[6]?i[96].metaInfo&&i[96].metaInfo.label===i[8]:ln(i[96],i[9])))&&f(t,"aria-expanded",v),(!T||j[0]&16576&&C!==(C=i[6]&&i[96].indexOf(i[7])>=0))&&f(t,"aria-selected",C),!i[6]||i[96].metaInfo&&i[96].metaInfo.label===i[8]?$?($.p(i,j),j[0]&16704&&R($,1)):($=Sd(i),$.c(),R($,1),$.m(e,null)):$&&(ve(),U($,1,1,()=>{$=null}),we()),(!T||j[0]&64&&P!==(P="fd-navigation__list-item "+(i[6]?"fd-popover":"")+" lui-nav-entry svelte-1bekqg6"))&&f(e,"class",P),(!T||j[0]&16384&&I!==(I=i[34](i[96].metaInfo,i[95])))&&f(e,"data-testid",I)},i(G){T||(R($),T=!0)},o(G){U($),T=!1},d(G){G&&L(e),O.d(),$&&$.d(),V=!1,Qe(E)}}}function wS(i){let e,t,n=i[96],l=[];for(let a=0;a<n.length;a+=1)l[a]=Md(Bc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1090601152|o[1]&535){n=a[96];let c;for(c=0;c<n.length;c+=1){const h=Bc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Md(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function kS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!et(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function SS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" "+(i[6]&&!i[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16448&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" "+(n[6]&&!n[96].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Sd(i){let e,t,n,l,r,a,o,c=i[6]&&Cd(i),h=i[96],d=[];for(let p=0;p<h.length;p+=1)d[p]=Ed(Uc(i,h,p));const g=p=>U(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),n=W(),l=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(l,"class","fd-navigation__list fd-navigation__list--child-items"),f(l,"role","tree"),f(l,"tabindex","-1"),f(t,"class",r="fd-navigation__list-wrapper "+(i[6]?"fd-popover__wrapper":"")),f(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-1bekqg6")},m(p,b){A(p,e,b),w(e,t),c&&c.m(t,null),w(t,n),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=Cd(p),c.c(),c.m(t,n)):c&&(c.d(1),c=null),b[0]&1090601088|b[1]&532){h=p[96];let m;for(m=0;m<h.length;m+=1){const v=Uc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=Ed(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ve(),m=h.length;m<d.length;m+=1)g(m);we()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-1bekqg6"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<h.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)U(d[b]);o=!1},d(p){p&&L(e),c&&c.d(),ut(d,p)}}}function Cd(i){let e,t,n,l,r=i[27](i[95])+"",a,o,c,h,d,g=i[10]&&i[96].metaInfo.icon&&yd(i);return{c(){e=S("div"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),o=W(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-1bekqg6"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-1bekqg6"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=i[35](i[96],i[27](i[95]))),f(e,"data-testid",d=i[34](i[96].metaInfo,i[95]))},m(p,b){A(p,e,b),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[96].metaInfo.icon?g?g.p(p,b):(g=yd(p),g.c(),g.m(t,n)):g&&(g.d(1),g=null),b[0]&134234112&&r!==(r=p[27](p[95])+"")&&Le(a,r),b[0]&134234112&&h!==(h=p[35](p[96],p[27](p[95])))&&f(e,"title",h),b[0]&16384&&d!==(d=p[34](p[96].metaInfo,p[95]))&&f(e,"data-testid",d)},d(p){p&&L(e),g&&g.d()}}}function yd(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[96].metaInfo.icon)),e?yS:CS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function CS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[96].metaInfo.icon)||f(t,"src",n),f(t,"alt",l=i[96].metaInfo.altText?i[96].metaInfo.altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!et(t.src,n=r[96].metaInfo.icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[96].metaInfo.altText?r[96].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function yS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+i[31](i[96].metaInfo.icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon "+n[31](n[96].metaInfo.icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Pd(i){let e,t,n=i[99].label&&Id(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Id(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Id(i){let e,t,n,l,r=i[30](i[99])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E=i[30](i[99])+"",H,D,O,z,Z,Q,ce,$,G,j,ae,fe,ne,se;c=new ti({props:{node:i[99]}});let Se=i[99].externalLink&&i[99].externalLink.url&&Nd(),ie=i[99].badgeCounter&&Td(i);function Re(...We){return i[56](i[99],...We)}function qe(...We){return i[57](i[99],...We)}O=new ti({props:{node:i[99]}});let Ce=i[99].externalLink&&i[99].externalLink.url&&Ld(),Pe=i[99].badgeCounter&&Ad(i);function Ve(...We){return i[58](i[99],...We)}function ht(...We){return i[59](i[99],...We)}return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),o=W(),Ue(c.$$.fragment),d=W(),g=S("span"),p=W(),Se&&Se.c(),b=W(),ie&&ie.c(),P=W(),I=S("li"),T=S("a"),V=S("span"),H=Ne(E),D=W(),Ue(O.$$.fragment),Z=W(),Ce&&Ce.c(),Q=W(),Pe&&Pe.c(),f(l,"class",h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(g,"class","fd-navigation__selection-indicator"),f(g,"role","presentation"),f(g,"aria-hidden","true"),f(g,"aria-label","selection indicator"),f(n,"class","fd-navigation__link svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",m=i[33](i[99])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=i[35](i[99],i[30](i[99]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=i[99]===i[7]),f(t,"data-testid",y=re.getTestId(i[99])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(T,"href",ce=i[33](i[99])),f(T,"class",$="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"),f(T,"role",G=i[24]?void 0:"button"),f(T,"tabindex","0"),f(T,"data-testid",j=re.getTestId(i[99])),f(T,"title",ae=i[35](i[99],i[30](i[99]))),Mn(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+i[98])},m(We,ft){A(We,e,ft),w(e,t),w(t,n),w(n,l),w(l,a),w(l,o),Me(c,l,null),w(n,d),w(n,g),w(n,p),Se&&Se.m(n,null),w(n,b),ie&&ie.m(n,null),A(We,P,ft),A(We,I,ft),w(I,T),w(T,V),w(V,H),w(V,D),Me(O,V,null),w(T,Z),Ce&&Ce.m(T,null),w(T,Q),Pe&&Pe.m(T,null),fe=!0,ne||(se=[ee(n,"click",Re),ee(n,"keyup",function(){vi(i[24]?void 0:qe)&&(i[24]?void 0:qe).apply(this,arguments)}),ee(T,"click",Ve),ee(T,"keyup",function(){vi(i[24]?void 0:ht)&&(i[24]?void 0:ht).apply(this,arguments)})],ne=!0)},p(We,ft){i=We,(!fe||ft[0]&16384)&&r!==(r=i[30](i[99])+"")&&Le(a,r);const Mt={};ft[0]&16384&&(Mt.node=i[99]),c.$set(Mt),(!fe||ft[0]&16384&&h!==(h="fd-navigation__text badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(l,"class",h),i[99].externalLink&&i[99].externalLink.url?Se||(Se=Nd(),Se.c(),Se.m(n,b)):Se&&(Se.d(1),Se=null),i[99].badgeCounter?ie?(ie.p(i,ft),ft[0]&16384&&R(ie,1)):(ie=Td(i),ie.c(),R(ie,1),ie.m(n,null)):ie&&(ve(),U(ie,1,1,()=>{ie=null}),we()),(!fe||ft[0]&16384&&m!==(m=i[33](i[99])))&&f(n,"href",m),(!fe||ft[0]&16384&&v!==(v=i[35](i[99],i[30](i[99]))))&&f(t,"title",v),(!fe||ft[0]&16512&&C!==(C=i[99]===i[7]))&&f(t,"aria-selected",C),(!fe||ft[0]&16384&&y!==(y=re.getTestId(i[99])))&&f(t,"data-testid",y),(!fe||ft[0]&16384)&&E!==(E=i[30](i[99])+"")&&Le(H,E);const de={};ft[0]&16384&&(de.node=i[99]),O.$set(de),(!fe||ft[0]&16384&&z!==(z="fd-nested-list__title badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(V,"class",z),i[99].externalLink&&i[99].externalLink.url?Ce||(Ce=Ld(),Ce.c(),Ce.m(T,Q)):Ce&&(Ce.d(1),Ce=null),i[99].badgeCounter?Pe?(Pe.p(i,ft),ft[0]&16384&&R(Pe,1)):(Pe=Ad(i),Pe.c(),R(Pe,1),Pe.m(T,null)):Pe&&(ve(),U(Pe,1,1,()=>{Pe=null}),we()),(!fe||ft[0]&16384&&ce!==(ce=i[33](i[99])))&&f(T,"href",ce),(!fe||ft[0]&16512&&$!==($="fd-nested-list__link "+(i[99]===i[7]?"is-selected":"")+" svelte-1bekqg6"))&&f(T,"class",$),(!fe||ft[0]&16777216&&G!==(G=i[24]?void 0:"button"))&&f(T,"role",G),(!fe||ft[0]&16384&&j!==(j=re.getTestId(i[99])))&&f(T,"data-testid",j),(!fe||ft[0]&16384&&ae!==(ae=i[35](i[99],i[30](i[99]))))&&f(T,"title",ae)},i(We){fe||(R(c.$$.fragment,We),R(ie),R(O.$$.fragment,We),R(Pe),fe=!0)},o(We){U(c.$$.fragment,We),U(ie),U(O.$$.fragment,We),U(Pe),fe=!1},d(We){We&&L(e),Fe(c),Se&&Se.d(),ie&&ie.d(),We&&L(P),We&&L(I),Fe(O),Ce&&Ce.d(),Pe&&Pe.d(),ne=!1,Qe(se)}}}function Nd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Td(i){let e,t;return e=new Nn({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ld(i){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Ad(i){let e,t;return e=new Nn({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ed(i){let e,t,n=!i[99].hideFromNav&&Pd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Pd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Rd(i){let e,t,n=i[99].label&&Dd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].label?n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Dd(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Dd(i){let e,t,n,l,r,a=i[30](i[99])+"",o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H;function D(G,j){return G[99].icon?IS:PS}let O=D(i),z=O(i);h=new ti({props:{node:i[99]}});let Z=i[99].externalLink&&i[99].externalLink.url&&Vd(),Q=i[99].badgeCounter&&Od(i);function ce(...G){return i[50](i[99],...G)}function $(...G){return i[51](i[99],...G)}return{c(){e=S("li"),t=S("div"),n=S("a"),z.c(),l=W(),r=S("span"),o=Ne(a),c=W(),Ue(h.$$.fragment),g=W(),Z&&Z.c(),p=W(),Q&&Q.c(),b=W(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(n,"class",v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"),f(n,"tabindex","0"),f(n,"href",C=i[33](i[99])),f(n,"title",y=i[35](i[99],i[30](i[99]))),f(n,"role",P=i[24]?void 0:"button"),f(n,"data-testid",I=re.getTestId(i[99])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",T=i[99]===i[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,j){A(G,e,j),w(e,t),w(t,n),z.m(n,null),w(n,l),w(n,r),w(r,o),w(r,c),Me(h,r,null),w(n,g),Z&&Z.m(n,null),w(n,p),Q&&Q.m(n,null),w(n,b),w(n,m),V=!0,E||(H=[ee(n,"click",ce),ee(n,"keyup",function(){vi(i[24]?void 0:$)&&(i[24]?void 0:$).apply(this,arguments)})],E=!0)},p(G,j){i=G,O===(O=D(i))&&z?z.p(i,j):(z.d(1),z=O(i),z&&(z.c(),z.m(n,l))),(!V||j[0]&16384)&&a!==(a=i[30](i[99])+"")&&Le(o,a);const ae={};j[0]&16384&&(ae.node=i[99]),h.$set(ae),(!V||j[0]&16384&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(i[99].statusBadge&&i[99].statusBadge.align==="right"?"right":"left")+" svelte-1bekqg6"))&&f(r,"class",d),i[99].externalLink&&i[99].externalLink.url?Z||(Z=Vd(),Z.c(),Z.m(n,p)):Z&&(Z.d(1),Z=null),i[99].badgeCounter?Q?(Q.p(i,j),j[0]&16384&&R(Q,1)):(Q=Od(i),Q.c(),R(Q,1),Q.m(n,b)):Q&&(ve(),U(Q,1,1,()=>{Q=null}),we()),(!V||j[0]&16512&&v!==(v="fd-navigation__link "+(i[99]===i[7]?"is-selected":"")+" lui-hideOnHover svelte-1bekqg6"))&&f(n,"class",v),(!V||j[0]&16384&&C!==(C=i[33](i[99])))&&f(n,"href",C),(!V||j[0]&16384&&y!==(y=i[35](i[99],i[30](i[99]))))&&f(n,"title",y),(!V||j[0]&16777216&&P!==(P=i[24]?void 0:"button"))&&f(n,"role",P),(!V||j[0]&16384&&I!==(I=re.getTestId(i[99])))&&f(n,"data-testid",I),(!V||j[0]&16512&&T!==(T=i[99]===i[7]))&&f(t,"aria-selected",T)},i(G){V||(R(h.$$.fragment,G),R(Q),V=!0)},o(G){U(h.$$.fragment,G),U(Q),V=!1},d(G){G&&L(e),z.d(),Fe(h),Z&&Z.d(),Q&&Q.d(),E=!1,Qe(H)}}}function PS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(n){n&&L(e)}}}function IS(i){let e,t;function n(a,o){return o[0]&16384&&(e=null),e==null&&(e=!!a[32](a[99].icon)),e?TS:NS}let l=n(i,[-1,-1,-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function NS(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[99].icon)||f(t,"src",n),f(t,"alt",l=i[99].altText?i[99].altText:""),f(t,"class","svelte-1bekqg6"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-1bekqg6")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&16384&&!et(t.src,n=r[99].icon)&&f(t,"src",n),a[0]&16384&&l!==(l=r[99].altText?r[99].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function TS(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+i[31](i[99].icon)+" svelte-1bekqg6"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(n,l){A(n,e,l)},p(n,l){l[0]&16384&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+n[31](n[99].icon)+" svelte-1bekqg6")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vd(i){let e;return{c(){e=S("span"),f(e,"class","fd-navigation__external-link-indicator"),f(e,"role","presentation"),f(e,"aria-hidden","true"),f(e,"aria-label","external link indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Od(i){let e,t;return e=new Nn({props:{node:i[99]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.node=n[99]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Md(i){let e,t,n=!i[99].hideFromNav&&Rd(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[99].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&16384&&R(n,1)):(n=Rd(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Fd(i){let e,t,n,l,r,a;const o=[wS,vS],c=[];function h(d,g){return g[0]&49152&&(e=null),g[0]&16384&&(t=null),e==null&&(e=!!(d[95]==="undefined"||d[95].startsWith(d[15]))),e?0:(t==null&&(t=d[96].filter(ES).length>0),t?1:-1)}return~(n=h(i,[-1,-1,-1,-1]))&&(l=c[n]=o[n](i)),{c(){l&&l.c(),r=ke()},m(d,g){~n&&c[n].m(d,g),A(d,r,g),a=!0},p(d,g){let p=n;n=h(d,g),n===p?~n&&c[n].p(d,g):(l&&(ve(),U(c[p],1,1,()=>{c[p]=null}),we()),~n?(l=c[n],l?l.p(d,g):(l=c[n]=o[n](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){U(l),a=!1},d(d){~n&&c[n].d(d),d&&L(r)}}}function LS(i){let e,t,n=i[92].entries,l=[];for(let a=0;a<n.length;a+=1)l[a]=Fd(Fc(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1227081664|o[1]&799){n=a[92].entries;let c;for(c=0;c<n.length;c+=1){const h=Fc(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Fd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function Ud(i){let e,t;return e=new Y2({props:{navGroup:i[92],expanded:i[92].groupEntry&&ln(i[92].groupEntry[1],i[9]),$$slots:{default:[LS]},$$scope:{ctx:i}}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.navGroup=n[92]),l[0]&16896&&(r.expanded=n[92].groupEntry&&ln(n[92].groupEntry[1],n[9])),l[0]&151046080|l[3]&1048576&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function AS(i){let e,t,n,l,r,a;const o=[Z2,Q2],c=[];function h(d,g){return d[29]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(es,"resize",i[18]),ee(es,"click",i[22]),ee(es,"blur",i[22]),ee(es,"keydown",i[36])],r=!0)},p(d,g){t.p(d,g)},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Qe(a)}}}function ln(i,e){return e&&e.indexOf(i.metaInfo.categoryUid)>=0}function Bo(i){const e=i.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const n=e.querySelector(".fd-popover__body").getBoundingClientRect();n.top+n.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",n.top+n.height-window.innerHeight+"px")})}const ES=i=>!i.hideFromNav&&i.label,RS=i=>!i.hideFromNav&&i.label;function DS(i,e,t){let n;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:h,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:T,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:H}),set:async K=>{K&&(Object.getOwnPropertyNames(K).forEach(async me=>{if(me==="pathData")t(5,p=K.pathData);else if(me==="context")D=K.context;else if(me==="children")t(0,a=K.children);else if(me==="selectedNode")t(7,C=K.selectedNode);else if(me==="hasCategoriesWithIcon")t(10,I=K.hasCategoriesWithIcon);else if(me==="navParent"){t(12,E=void 0);let xe=K.navParent;if(t(45,H=xe),xe&&xe.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let Ye=xe.navHeader,gt=xe;if(Ye==="inherit"){for(gt=xe.parent;gt&>.navHeader==="inherit";)gt=gt.parent;Ye=gt?gt.navHeader:void 0}if(Ye instanceof Function){t(12,E={});let bt=Ye(re.stripNode(xe),re.stripNode(gt),D);bt instanceof Promise?bt.then(Gt=>{t(12,E=Gt)}):t(12,E=bt)}else if(Ye==="auto")t(12,E={label:xe.label,icon:xe.icon});else if(Ye&&Ye.useTitleResolver&>.titleResolver){gt.titleResolver.prerenderFallback?t(12,E={...Ye,label:gt.titleResolver.fallbackTitle||"",icon:gt.titleResolver.fallbackIcon}):t(12,E=Ye);const bt=be.mapPathToNode(rt.getCurrentPath(),gt);Ft.extractDataFromPath(bt).then(Gt=>{const en=be.substituteDynamicParamsInObject(Object.assign({},Gt.pathData.context,gt.context),Gt.pathData.pathParams);re.fetchNodeTitleData(gt,en).then(Un=>{t(12,E={...Ye,...Un})}).catch(Un=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...Ye,label:xe.label,icon:xe.icon})})})}else t(12,E=await ft(Ye,gt))}}}),t(44,T=re.getSideNavAccordionMode(C)))}},r=Yt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:g}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=re.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:H}=e,D,O,z,Z=kt("store"),Q=kt("getTranslation");wi(i,Q,K=>t(27,n=K));let ce=!1,$=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G,j=te.getConfigValue("settings.btpToolLayout.subCategoryDelimiter")||"::",ae;const fe=K=>re.getNodeLabel(K),ne=async()=>{const K=l.get(),me=await Ft.getLeftNavData({...K},K);me&&(l.set(me),O=p,window.LEFTNAVDATA=me.children)};rn(()=>{t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,g=te.getConfigValue("settings.semiCollapsibleButtonStyle")),t(24,ce=te.getConfigValue("navigation.addNavHrefs")),t(1,o=te.getConfigBooleanValue("settings.hideNavigation")),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),pn.doOnStoreChange(Z,()=>{t(2,c=te.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),pn.doOnStoreChange(Z,()=>{ne()},["navigation.viewgroupdata"]);let K=mi.initial();t(6,v=K.isSemiCollapsed),t(43,h=K.semiCollapsible),mi.onValueChanged(me=>{t(6,v=me.isSemiCollapsed)}),Fn.addEventListener("message",me=>{me.data.msg==="luigi.navigation.update-badge-counters"&&ne()})});const se=()=>{if(G){const K=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),me=G.querySelector(".fd-navigation__list"),xe=G.querySelector(".fd-navigation__list > .lui-spacer");K==null||K.forEach(Ye=>{Ye.navGroupId?me.querySelector(`[navGroupId="${Ye.navGroupId}"]`).appendChild(Ye):me.insertBefore(Ye,xe)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},Se=()=>{const K=G.querySelector(".fd-navigation__list > .lui-spacer"),me=G.querySelector(".lui-moreItems"),xe=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if(K.clientHeight===0&&xe.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let Ye=xe.length-1;Ye>0&&(lastNode=xe[Ye-1],xe[Ye].navGroupId=xe[Ye].parentNode.getAttribute("navGroupId"),me.insertBefore(xe[Ye],me.firstChild),!(K.clientHeight>0));Ye--);}},ie=()=>{const K=me=>{me&&de(me)};E!=null&&E.renderer&&ae&&(E.clearBeforeRender&&t(26,ae.innerHTML="",ae),E.renderer(ae,H,K))};Yr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let K;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((me,xe)=>{K&&clearTimeout(K),v&&(K=setTimeout(()=>{se(),Se()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):se(),ie()}),jn(()=>{(!O||O!=p)&&ne(),t(23,z=te.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=re.loadExpandedCategories()),t(3,d=te.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});function Re(K){if($){const me={},xe=[],Ye=j;let gt=[];return K.forEach(bt=>{if(bt[0].startsWith(m))gt.push({isSingleEntry:!0,entries:[bt]});else{const Gt=bt[1].metaInfo.categoryUid;if(Gt&&Gt.indexOf(Ye)>0)xe.push(bt);else{const en=bt[1].metaInfo.isGroup;me[Gt]={isSingleEntry:!en,title:n(bt[1].metaInfo.label),groupEntry:bt,uid:Gt,entries:[en?["undefined",bt[1]]:bt]},gt.push(me[Gt]),!re.isCollapsedSuperCategory(Gt)&&en&&xt(bt[1],!0)}}}),xe.forEach(bt=>{const Gt=bt[1].metaInfo.categoryUid.split(Ye)[0],en=me[Gt];en&&(en.isSingleEntry&&(en.isSingleEntry=!1,en.entries=[["undefined",en.groupEntry[1]]]),en.entries.push(bt))}),gt}else return K}let{sortedChildrenEntries:qe}=e,{sortedVerticalNavGroups:Ce}=e;function Pe(K){return re.renderIconClassName(K)}function Ve(K){return re.isOpenUIiconName(K)}function ht(K){return be.getNodeHref(K,b)}function We(K,me){return K&&K.testId?K.testId:re.prepareForTests(me||K.label)}async function ft(K,me){const xe=be.mapPathToNode(rt.getCurrentPath(),me),gt=(await Ft.extractDataFromPath(xe)).pathData.pathParams;return be.substituteDynamicParamsInObject(K,gt)}function Mt(K,me){return re.generateTooltipText(K,me)}function de(K){r("handleClick",{node:K})}function tt(K,me){if(mi.getCollapsed()){let xe,Ye=document.getElementsByClassName("fd-app__sidebar")[0];if(K.metaInfo&&K.metaInfo.label?xe=K.metaInfo.label:xe=K.category&&K.category.label||K.category,Ye&&!Ye.classList.contains("isBlocked")&&(Ye.className+=" isBlocked"),xe===y){t(8,y=mi.closePopupMenu(y));return}t(8,y=xe),Ye?St(me):$&&(Bo(me),me.closest(".lui-moreItems")||Te())}}function St(K){const me=K.closest(".fd-nested-list__item"),xe=me.offsetTop,Ye=qi.getShellbar().offsetHeight;let gt;qi.isCustomLuigiContainer()?gt=qi.getCustomLuigiContainer().clientHeight:gt=window.innerHeight,setTimeout(()=>{const bt=me.getElementsByClassName("lui-flyout-sublist")[0],Gt=K.closest(".lui-fd-side-nav-wrapper").scrollTop,en=xe+Ye-Gt,Un=gt-xe-me.offsetHeight+Gt-Ye;en+bt.offsetHeight>=gt?(bt.style.bottom=Un+"px",bt.className+=" has-bottom-position"):bt.style.top=en-Ye+"px"})}function $t(){if(h){let K=mi.onResize(y);t(6,v=K.isSemiCollapsed),t(8,y=K.selectedCategory)}}function Tn(K){if(K.code==="ArrowRight"){const xe=Ae.getCurrentMicrofrontendIframe();xe&&xe.contentWindow&&xe.contentWindow.focus()}}function Qt(K){let me=H?H.parent:void 0;for(;me;){if(me.pathSegment&&me.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:me});return}me=me.parent}console.warn('Could not resolve "up"-node, redirecting to root'),ip.navigate("/")}function xt(K,me){mi.getCollapsed()||t(9,P=re.storeExpandedState(K.metaInfo.categoryUid,me,T))}function Te(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function Ke(){t(8,y=mi.closePopupMenu(y)),Te()}function Dt(K){K&&K.code==="Escape"&&Ke()}function Zt(){t(6,v=mi.buttonClicked()),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&r("resizeTabNav",{}),gn()}function qt(K){const me=K.code;(me==="Enter"||me==="Space")&&Zt()}function Ln(K,me){(K.code==="Enter"||K==="Space")&&tt(me,K.currentTarget)}function Lt(K,me){K.keyCode===hl&&re.handleNavAnchorClickedWithoutMetaKey(K)&&de(me)}function gn(){if(!re.getBurgerTooltipConfig())return;const[K,me]=re.getBurgerTooltipConfig(),xe=document.body.classList.contains("lui-semiCollapsible");K&&me&&xe&&t(11,V=document.body.classList.contains("semiCollapsed")?K:me)}function Jn(K,me){return ln(K,me)?K.metaInfo.titleCollapseButton?n(K.metaInfo.titleCollapseButton):void 0:K.metaInfo.titleExpandButton?n(K.metaInfo.titleExpandButton):void 0}function zt(K){if(!K)return;const me=K.target.parentElement;me.getAttribute("aria-expanded")==="true"?me.setAttribute("aria-expanded","false"):(Ke(),me.setAttribute("aria-expanded","true")),K.stopPropagation()}function An(K){Je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const ki=(K,me)=>{re.handleNavAnchorClickedWithoutMetaKey(me)&&de(K)},Si=(K,me)=>Lt(me,K),mn=K=>xt(K,!ln(K,P)),Ci=K=>xt(K,!ln(K,P)),yi=(K,me)=>Ln(me,K),Pi=(K,me)=>tt(K,me.currentTarget),Ii=(K,me)=>{re.handleNavAnchorClickedWithoutMetaKey(me)&&de(K)},Ni=(K,me)=>Lt(me,K),pl=(K,me)=>{re.handleNavAnchorClickedWithoutMetaKey(me)&&de(K)},ml=(K,me)=>Lt(me,K),bl=K=>{(K.code==="Enter"||K.code==="Space")&&zt(K)};function Ti(K){Je[K?"unshift":"push"](()=>{G=K,t(25,G)})}function zi(K){Je[K?"unshift":"push"](()=>{ae=K,t(26,ae)})}const Gi=(K,me)=>{re.handleNavAnchorClickedWithoutMetaKey(me)&&de(K)},fi=(K,me)=>Lt(me,K),vl=K=>xt(K,!ln(K,P)),wl=K=>xt(K,!ln(K,P)),Ki=(K,me)=>Ln(me,K),kl=(K,me)=>{re.handleNavAnchorClickedWithoutMetaKey(me)&&de(K)},Sl=(K,me)=>Lt(me,K),Cl=(K,me)=>{re.handleNavAnchorClickedWithoutMetaKey(me)&&de(K)},Li=(K,me)=>Lt(me,K),yl=K=>tt(K,event.currentTarget),ni=(K,me)=>{re.handleNavAnchorClickedWithoutMetaKey(me)&&de(K)},ci=(K,me)=>Lt(me,K),Ai=K=>Zt(),di=K=>Zt(),ji=K=>qt(K);return i.$$set=K=>{"children"in K&&t(0,a=K.children),"hideNavComponent"in K&&t(1,o=K.hideNavComponent),"footerText"in K&&t(2,c=K.footerText),"semiCollapsible"in K&&t(43,h=K.semiCollapsible),"semiCollapsibleButton"in K&&t(3,d=K.semiCollapsibleButton),"semiCollapsibleButtonStyle"in K&&t(4,g=K.semiCollapsibleButtonStyle),"pathData"in K&&t(5,p=K.pathData),"pathParams"in K&&t(46,b=K.pathParams),"virtualGroupPrefix"in K&&t(15,m=K.virtualGroupPrefix),"isSemiCollapsed"in K&&t(6,v=K.isSemiCollapsed),"selectedNode"in K&&t(7,C=K.selectedNode),"selectedCategory"in K&&t(8,y=K.selectedCategory),"expandedCategories"in K&&t(9,P=K.expandedCategories),"hasCategoriesWithIcon"in K&&t(10,I=K.hasCategoriesWithIcon),"sideNavAccordionMode"in K&&t(44,T=K.sideNavAccordionMode),"burgerTooltip"in K&&t(11,V=K.burgerTooltip),"navHeader"in K&&t(12,E=K.navHeader),"navParentNode"in K&&t(45,H=K.navParentNode),"sortedChildrenEntries"in K&&t(13,qe=K.sortedChildrenEntries),"sortedVerticalNavGroups"in K&&t(14,Ce=K.sortedVerticalNavGroups)},i.$$.update=()=>{if(i.$$.dirty[0]&1&&a){const K=Object.entries(a);K.sort((me,xe)=>me[1].metaInfo.order-xe[1].metaInfo.order),t(13,qe=K),t(14,Ce=Re(K))}},[a,o,c,d,g,p,v,C,y,P,I,V,E,qe,Ce,m,de,tt,$t,Tn,Qt,xt,Ke,z,ce,G,ae,n,Q,$,fe,Pe,Ve,ht,We,Mt,Dt,Zt,qt,Ln,Lt,Jn,zt,h,T,H,b,St,Bo,An,ki,Si,mn,Ci,yi,Pi,Ii,Ni,pl,ml,bl,Ti,zi,Gi,fi,vl,wl,Ki,kl,Sl,Cl,Li,yl,ni,ci,Ai,di,ji]}class up extends Rt{constructor(e){super(),Et(this,e,DS,AS,Tt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:43,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:46,virtualGroupPrefix:15,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:44,burgerTooltip:11,navHeader:12,navParentNode:45,sortedChildrenEntries:13,sortedVerticalNavGroups:14,handleClick:16,handleIconClick:17,calculateFlyoutPosition:47,calculateBTPNavFlyoutPosition:48,onResize:18,handleKey:19,handleUp:20,setExpandedState:21,closePopupMenu:22},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[16]}get handleIconClick(){return this.$$.ctx[17]}get calculateFlyoutPosition(){return this.$$.ctx[47]}get calculateBTPNavFlyoutPosition(){return Bo}get onResize(){return this.$$.ctx[18]}get handleKey(){return this.$$.ctx[19]}get handleUp(){return this.$$.ctx[20]}get setExpandedState(){return this.$$.ctx[21]}get closePopupMenu(){return this.$$.ctx[22]}}const VS=i=>{pn.doOnStoreChange(i.store,()=>{const e=te.getConfigValue("navigation.appSwitcher");return e&&(i.set({appSwitcherItems:e.items}),i.set({showMainAppEntry:e.showMainAppEntry}),i.set({itemRenderer:e.itemRenderer}),le.requestExperimentalFeature("btpToolLayout")&&(i.set({keepMainTitle:e.keepMainTitle}),i.set({showSubTitle:e.showSubTitle!==!1}))),i.set({hasApps:i.get().showMainAppEntry||i.get().appSwitcherItems&&i.get().appSwitcherItems.length>0}),te.getConfigValueAsync("settings.header").then(t=>{if(t&&(i.set({defaultTitle:t.title||""}),i.set({defaultSubTitle:t.subTitle||""})),fp(i),!t)return;const n=!!t.logo;if(i.set({hasLogo:n}),setTimeout(()=>{n&&i.get().logo&&(i.get().logo.src=t.logo,t.altText&&(i.get().logo.alt=t.altText))}),t.favicon){const l=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),r=document.getElementsByTagName("head")[0];for(const a of r.childNodes)a.rel==="shortcut icon"&&a.remove();r.appendChild(l)}})},["settings.header"])},OS=(i,e,t)=>!!(i===e||e.startsWith(":")&&t&&t[e.substr(1)]===i),fp=i=>{const e=i.get().appSwitcherItems,t=i.get().pathData,n=i.get().pathParams;let l;e&&t&&[...e].sort((c,h)=>(h.link||"").localeCompare(c.link||"")).some(c=>{let h=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,g)=>{h&&(g+1>=t.length||!t[g+1].pathSegment||!OS(d,t[g+1].pathSegment,n))&&(h=!1)}),h&&(l=c),h}),i.set({selectedItem:l});const r=l&&l.title?l.title:i.get().defaultTitle,a=Zr.getDocumentTitle()||r;i.set({title:r}),document.title=It.getTranslation(a);const o=l?l.subTitle||"":i.get().defaultSubTitle;i.set({subTitle:o})};function Bd(i,e,t){const n=i.slice();return n[45]=e[t],n[47]=t,n}function Hd(i,e,t){const n=i.slice();return n[45]=e[t],n}function MS(i){let e,t,n,l,r=i[1]&&Wd(i);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[31]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Wd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function FS(i){let e,t,n,l,r=i[1]&&qd(i);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(i[1]?"":"fd-shellbar__logo--image-replaced")+" "+(i[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",i[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){A(a,e,o),r&&r.m(e,null),n||(l=ee(e,"click",i[29]),n=!0)},p(a,o){a[1]?r?r.p(a,o):(r=qd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&L(e),r&&r.d(),n=!1,l()}}}function Wd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[30](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[30](null)}}}function qd(i){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",i[2]),f(e,"class","svelte-bbvnsa")},m(t,n){A(t,e,n),i[28](e)},p(t,n){n[0]&4&&f(e,"alt",t[2])},d(t){t&&L(e),i[28](null)}}}function zd(i){let e,t,n,l=(!i[3]||i[4])&&Gd(i),r=i[3]&&Kd(i),a=i[12]&&i[5]&&th(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){!o[3]||o[4]?l?l.p(o,c):(l=Gd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[3]?r?r.p(o,c):(r=Kd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[12]&&o[5]?a?a.p(o,c):(a=th(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function Gd(i){let e;function t(r,a){return r[14]?BS:US}let n=t(i),l=n(i);return{c(){l.c(),e=ke()},m(r,a){l.m(r,a),A(r,e,a)},p(r,a){n===(n=t(r))&&l?l.p(r,a):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&L(e)}}}function US(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Ne(n),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){A(o,e,c),w(e,t),w(t,l),r||(a=ee(e,"click",i[33]),r=!0)},p(o,c){c[0]&524564&&n!==(n=o[19](o[4]?o[8]:o[2])+"")&&Le(l,n)},d(o){o&&L(e),r=!1,a()}}}function BS(i){let e,t,n=i[19](i[4]?i[8]:i[2])+"",l,r,a,o;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"class",r="fd-shellbar__title lui-shellbar-single-app-title "+(i[3]&&"lui-has-apps")+" svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(e,"click",i[32]),a=!0)},p(c,h){h[0]&524564&&n!==(n=c[19](c[4]?c[8]:c[2])+"")&&Le(l,n),h[0]&8&&r!==(r="fd-shellbar__title lui-shellbar-single-app-title "+(c[3]&&"lui-has-apps")+" svelte-bbvnsa")&&f(e,"class",r)},d(c){c&&L(e),a=!1,o()}}}function Kd(i){let e,t,n,l,r,a,o,c,h,d,g;function p(y,P){return y[14]?WS:HS}let b=p(i),m=b(i),v=i[6]&&i[7]&&Xd(i),C=i[9]&&i[9].length>0&&$d(i);return{c(){e=S("div"),t=S("div"),m.c(),n=W(),l=S("div"),r=S("nav"),a=S("ul"),v&&v.c(),o=W(),C&&C.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!i[13].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class",h="fd-popover "+(i[4]&&"lui-keep-main")+" svelte-bbvnsa")},m(y,P){A(y,e,P),w(e,t),m.m(t,null),w(e,n),w(e,l),w(l,r),w(r,a),v&&v.m(a,null),w(a,o),C&&C.m(a,null),i[38](a),d||(g=ee(t,"click",Ut(KS)),d=!0)},p(y,P){b===(b=p(y))&&m?m.p(y,P):(m.d(1),m=b(y),m&&(m.c(),m.m(t,null))),y[6]&&y[7]?v?v.p(y,P):(v=Xd(y),v.c(),v.m(a,o)):v&&(v.d(1),v=null),y[9]&&y[9].length>0?C?C.p(y,P):(C=$d(y),C.c(),C.m(a,null)):C&&(C.d(1),C=null),P[0]&8192&&c!==(c=!y[13].appSwitcherPopover)&&f(l,"aria-hidden",c),P[0]&16&&h!==(h="fd-popover "+(y[4]&&"lui-keep-main")+" svelte-bbvnsa")&&f(e,"class",h)},d(y){y&&L(e),m.d(),v&&v.d(),C&&C.d(),i[38](null),d=!1,g()}}}function HS(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Ne(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",Ut(i[36])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function WS(i){let e,t,n,l=i[9]&&i[9].length===1&&jd(i),r=i[9]&&i[9].length>1&&Jd(i),a=i[9].length>1&&!i[7]&&Zd(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=W(),a&&a.c(),n=ke()},m(o,c){l&&l.m(o,c),A(o,e,c),r&&r.m(o,c),A(o,t,c),a&&a.m(o,c),A(o,n,c)},p(o,c){o[9]&&o[9].length===1?l?l.p(o,c):(l=jd(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[9]&&o[9].length>1?r?r.p(o,c):(r=Jd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[9].length>1&&!o[7]?a?a.p(o,c):(a=Zd(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&L(e),r&&r.d(o),o&&L(t),a&&a.d(o),o&&L(n)}}}function jd(i){let e,t,n=i[19](i[9][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(e,"href",r=i[24](i[9][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){A(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&524800&&n!==(n=a[19](a[9][0].title)+"")&&Le(l,n),o[0]&512&&r!==(r=a[24](a[9][0]))&&f(e,"href",r)},d(a){a&&L(e)}}}function Jd(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=Qd(Hd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&25832068){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Hd(l,t,a);n[a]?n[a].p(o,r):(n[a]=Qd(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ut(n,l),l&&L(e)}}}function Yd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h,d,g;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),o=W(),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href",c=i[24](i[45])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",h=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){A(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(g=ee(e,"click",mt(i[34])),d=!0)},p(p,b){b[0]&524292&&n!==(n=p[19](p[2])+"")&&Le(l,n),b[0]&512&&c!==(c=p[24](p[45]))&&f(e,"href",c),b[0]&8192&&h!==(h=p[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&L(e),d=!1,g()}}}function Qd(i){let e=i[45]===i[7]&&i[23](i[45],i[11]),t,n=e&&Yd(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r[0]&2688&&(e=l[45]===l[7]&&l[23](l[45],l[11])),e?n?n.p(l,r):(n=Yd(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function Zd(i){let e,t,n=i[19](i[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),r=W(),a=S("i"),f(t,"class","fd-shellbar__title svelte-bbvnsa"),f(t,"data-testid","luigi-topnav-title"),f(a,"class","sap-icon sap-icon--megamenu fd-shellbar__button--icon"),f(e,"href","/"),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",o=i[13].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,g){A(d,e,g),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ee(e,"click",mt(i[35])),c=!0)},p(d,g){g[0]&524292&&n!==(n=d[19](d[2])+"")&&Le(l,n),g[0]&8192&&o!==(o=d[13].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&L(e),c=!1,h()}}}function Xd(i){let e,t,n,l=i[19](i[8])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),f(n,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=i[22](i[8])),f(e,"class","fd-menu__item")},m(h,d){A(h,e,d),w(e,t),w(t,n),w(n,r),o||(c=ee(t,"click",mt(i[16])),o=!0)},p(h,d){d[0]&524544&&l!==(l=h[19](h[8])+"")&&Le(r,l),d[0]&256&&a!==(a=h[22](h[8]))&&f(t,"data-testid",a)},d(h){h&&L(e),o=!1,c()}}}function $d(i){let e,t=i[9],n=[];for(let l=0;l<t.length;l+=1)n[l]=eh(Bd(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r[0]&32296576){t=l[9];let a;for(a=0;a<t.length;a+=1){const o=Bd(l,t,a);n[a]?n[a].p(o,r):(n[a]=eh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ut(n,l),l&&L(e)}}}function qS(i){let e,t,n,l=i[19](i[45].title)+"",r,a,o,c,h,d;function g(...p){return i[37](i[45],...p)}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=W(),f(n,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=i[14]?i[24](i[45],i[11]):void 0),f(t,"data-testid",o=i[22](i[45])),f(e,"class","fd-menu__item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",g),h=!0)},p(p,b){i=p,b[0]&524800&&l!==(l=i[19](i[45].title)+"")&&Le(r,l),b[0]&18944&&a!==(a=i[14]?i[24](i[45],i[11]):void 0)&&f(t,"href",a),b[0]&512&&o!==(o=i[22](i[45]))&&f(t,"data-testid",o)},d(p){p&&L(e),h=!1,d()}}}function zS(i){let e,t=i[18]&&xd(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[18]?t?t.p(n,l):(t=xd(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function xd(i){let e,t,n=i[21](i[45],i[18],i[47])+"",l;return{c(){e=S("li"),t=new _r(!1),l=W(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){A(r,e,a),t.m(n,e),w(e,l)},p(r,a){a[0]&262656&&n!==(n=r[21](r[45],r[18],r[47])+"")&&t.p(n)},d(r){r&&L(e)}}}function eh(i){let e,t,n;function l(o,c){if(c[0]&1024&&(e=null),c[0]&2688&&(t=null),e==null&&(e=!!le.isFunction(o[10])),e)return zS;if(t==null&&(t=!!(o[45]!==o[7]&&o[23](o[45],o[11]))),t)return qS}let r=l(i,[-1,-1]),a=r&&r(i);return{c(){a&&a.c(),n=ke()},m(o,c){a&&a.m(o,c),A(o,n,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a&&a.d(1),a=r&&r(o),a&&(a.c(),a.m(n.parentNode,n)))},d(o){a&&a.d(o),o&&L(n)}}}function th(i){let e,t=i[19](i[12])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&528384&&t!==(t=l[19](l[12])+"")&&Le(n,t)},d(l){l&&L(e)}}}function GS(i){let e,t;function n(o,c){return o[14]?FS:MS}let l=n(i),r=l(i),a=i[2]&&zd(i);return{c(){r.c(),e=W(),a&&a.c(),t=ke()},m(o,c){r.m(o,c),A(o,e,c),a&&a.m(o,c),A(o,t,c)},p(o,c){l===(l=n(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=zd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:He,o:He,d(o){r.d(o),o&&L(e),a&&a.d(o),o&&L(t)}}}const KS=()=>{};function jS(i,e,t){let n;const l=Yt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{keepMainTitle:h}=e,{showSubTitle:d=!0}=e,{dropDownStates:g={}}=e,{showMainAppEntry:p}=e,{selectedItem:b}=e,{defaultTitle:m}=e,{appSwitcherItems:v}=e,{itemRenderer:C}=e,{pathParams:y}=e,{subTitle:P}=e,{defaultSubTitle:I}=e,{pathData:T}=e,{addNavHrefForAnchor:V}=e,E,H,D=kt("getUnsavedChangesModalPromise"),O=kt("getTranslation");wi(i,O,de=>t(19,n=de));let z=kt("store");const Z={closeDropDown:()=>{ae("appSwitcherPopover")}},Q=()=>({get:()=>({pathData:T,pathParams:y,appSwitcherItems:v,itemRenderer:C,selectedItem:b,defaultTitle:m,title:o,subTitle:P,defaultSubTitle:I,showMainAppEntry:p,hasApps:c,keepMainTitle:h,showSubTitle:d,hasLogo:a,logo:r}),set:de=>{de&&Object.getOwnPropertyNames(de).forEach(tt=>{tt==="pathData"?t(26,T=de.pathData):tt==="appSwitcherItems"?t(9,v=de.appSwitcherItems):tt==="itemRenderer"?t(10,C=de.itemRenderer):tt==="pathParams"?t(11,y=de.pathParams):tt==="selectedItem"?t(7,b=de.selectedItem):tt==="title"?t(2,o=de.title):tt==="defaultSubTitle"?t(25,I=de.defaultSubTitle):tt==="subTitle"?t(12,P=de.subTitle):tt==="defaultTitle"?t(8,m=de.defaultTitle):tt==="subTitle"?t(12,P=de.subTitle):tt==="showMainAppEntry"?t(6,p=de.showMainAppEntry):tt==="hasApps"?t(3,c=de.hasApps):tt==="keepMainTitle"?t(4,h=de.keepMainTitle):tt==="showSubTitle"?t(5,d=de.showSubTitle):tt==="hasLogo"&&t(1,a=de.hasLogo)})},store:z});rn(()=>{VS(Q())}),jn(()=>{(!H||H!=T)&&(fp(Q()),H=T)});function ce(de,tt,St){return setTimeout(()=>{tt&&C(de,tt.children[St],Z)}),""}function $(de){D().then(()=>{rt.navigateTo(be.applyPathParams(de,y))},()=>{})}function G(){D().then(()=>{rt.navigateTo("/")},()=>{})}function j(de){l("handleClick",{node:de}),ae("appSwitcherPopover")}function ae(de){l("toggleDropdownState",{name:de})}function fe(de){return de.testId?de.testId:re.prepareForTests(de.title||de)}function ne(de,tt){if(de.link){const St=be.applyPathParams(de.link,tt);if(St.indexOf(":")!==0&&St.indexOf("/:")===-1)return!0}return!1}function se(de){return be.getNodeHref(de)}function Se(de){Je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const ie=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&$("/")};function Re(de){Je[de?"unshift":"push"](()=>{r=de,t(0,r)})}const qe=()=>$("/"),Ce=de=>{re.handleNavAnchorClickedWithoutMetaKey(de)&&$("/")},Pe=()=>$("/"),Ve=()=>ae("appSwitcherPopover"),ht=()=>ae("appSwitcherPopover"),We=()=>ae("appSwitcherPopover"),ft=(de,tt)=>{re.handleNavAnchorClickedWithoutMetaKey(tt)&&$(de.link)};function Mt(de){Je[de?"unshift":"push"](()=>{E=de,t(18,E)})}return i.$$set=de=>{"logo"in de&&t(0,r=de.logo),"hasLogo"in de&&t(1,a=de.hasLogo),"title"in de&&t(2,o=de.title),"hasApps"in de&&t(3,c=de.hasApps),"keepMainTitle"in de&&t(4,h=de.keepMainTitle),"showSubTitle"in de&&t(5,d=de.showSubTitle),"dropDownStates"in de&&t(13,g=de.dropDownStates),"showMainAppEntry"in de&&t(6,p=de.showMainAppEntry),"selectedItem"in de&&t(7,b=de.selectedItem),"defaultTitle"in de&&t(8,m=de.defaultTitle),"appSwitcherItems"in de&&t(9,v=de.appSwitcherItems),"itemRenderer"in de&&t(10,C=de.itemRenderer),"pathParams"in de&&t(11,y=de.pathParams),"subTitle"in de&&t(12,P=de.subTitle),"defaultSubTitle"in de&&t(25,I=de.defaultSubTitle),"pathData"in de&&t(26,T=de.pathData),"addNavHrefForAnchor"in de&&t(14,V=de.addNavHrefForAnchor)},[r,a,o,c,h,d,p,b,m,v,C,y,P,g,V,$,G,ae,E,n,O,ce,fe,ne,se,I,T,j,Se,ie,Re,qe,Ce,Pe,Ve,ht,We,ft,Mt]}class JS extends Rt{constructor(e){super(),Et(this,e,jS,GS,Tt,{logo:0,hasLogo:1,title:2,hasApps:3,keepMainTitle:4,showSubTitle:5,dropDownStates:13,showMainAppEntry:6,selectedItem:7,defaultTitle:8,appSwitcherItems:9,itemRenderer:10,pathParams:11,subTitle:12,defaultSubTitle:25,pathData:26,addNavHrefForAnchor:14,goTo:15,goToRoot:16,handleClick:27,toggleDropdownState:17},null,[-1,-1])}get goTo(){return this.$$.ctx[15]}get goToRoot(){return this.$$.ctx[16]}get handleClick(){return this.$$.ctx[27]}get toggleDropdownState(){return this.$$.ctx[17]}}function nh(i,e,t){const n=i.slice();return n[34]=e[t],n}function ih(i){let e,t,n,l,r,a,o=i[0]&&lh(i),c=(i[10]||i[11])&&ch(i);return{c(){e=S("div"),o&&o.c(),t=W(),n=S("div"),l=S("div"),r=S("div"),a=S("div"),c&&c.c(),f(e,"class","fd-user-menu__body lui-user-menu-fiori svelte-ydef8m"),f(a,"class","fd-bar__element"),f(r,"class","fd-bar__right"),f(l,"class","fd-bar fd-bar--footer"),f(n,"class","fd-popover__body-footer")},m(h,d){A(h,e,d),o&&o.m(e,null),A(h,t,d),A(h,n,d),w(n,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=lh(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=ch(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&L(e),o&&o.d(),h&&L(t),h&&L(n),c&&c.d()}}}function lh(i){let e,t,n,l,r,a,o;function c(C,y){return C[7].picture?QS:YS}let h=c(i),d=h(i),g=i[7].name&&rh(i),p=i[7].description&&ah(i),b=i[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=oh(nh(i,b,C));let v=i[12]&&uh(i);return{c(){e=S("div"),d.c(),t=W(),n=S("div"),g&&g.c(),l=W(),p&&p.c(),r=W(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=W(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(n,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){A(C,e,y),d.m(e,null),A(C,t,y),A(C,n,y),g&&g.m(n,null),w(n,l),p&&p.m(n,null),A(C,r,y),A(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(h===(h=c(C))&&d?d.p(C,y):(d.d(1),d=h(C),d&&(d.c(),d.m(e,null))),C[7].name?g?g.p(C,y):(g=rh(C),g.c(),g.m(n,l)):g&&(g.d(1),g=null),C[7].description?p?p.p(C,y):(p=ah(C),p.c(),p.m(n,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const I=nh(C,b,P);m[P]?m[P].p(I,y):(m[P]=oh(I),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=uh(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&L(e),d.d(),C&&L(t),C&&L(n),g&&g.d(),p&&p.d(),C&&L(r),C&&L(a),ut(m,C),v&&v.d()}}}function YS(i){let e,t=(i[7].initials?i[7].initials:"")+"",n;return{c(){e=S("span"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(n,t)},d(l){l&&L(e)}}}function QS(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar"),f(e,"data-testid","luigi-topnav-profile-avatar"),Mn(e,"background-image","url('"+i[7].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&128&&Mn(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&L(e)}}}function rh(i){let e,t=i[7].name+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(n,t)},d(l){l&&L(e)}}}function ah(i){let e,t=i[7].description+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(n,t)},d(l){l&&L(e)}}}function sh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?XS:ZS}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function ZS(i){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Mn(e,"background-image","url('"+i[7].icon+"')"),f(e,"alt",t=i[34].altText?i[34].altText:"")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&Mn(e,"background-image","url('"+n[7].icon+"')"),l[0]&512&&t!==(t=n[34].altText?n[34].altText:"")&&f(e,"alt",t)},d(n){n&&L(e)}}}function XS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function oh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&sh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=sh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),g&&g.d(),h=!1,Qe(d)}}}function uh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h=i[9].settings.icon&&fh(i);return{c(){e=S("li"),t=S("a"),h&&h.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,g){A(d,e,g),w(e,t),h&&h.m(t,null),w(t,n),w(t,l),w(l,a),o||(c=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],o=!0)},p(d,g){d[9].settings.icon?h?h.p(d,g):(h=fh(d),h.c(),h.m(t,n)):h&&(h.d(1),h=null),g[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&L(e),h&&h.d(),o=!1,Qe(c)}}}function fh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?xS:$S}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function $S(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),et(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!et(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function xS(i){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(n){n&&L(e)}}}function ch(i){let e,t,n=(i[8]||!i[10]&&i[11])&&dh(i),l=i[10]&&!i[8]&&hh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=dh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=hh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function dh(i){let e,t,n=i[13](i[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-button--compact"),f(t,"tabindex","0"),f(t,"data-testid","logout-btn"),f(e,"class","fd-bar__element"),f(e,"data-testid",r=i[18](i[9].logout))},m(c,h){A(c,e,h),w(e,t),w(t,l),a||(o=ee(t,"click",i[4]),a=!0)},p(c,h){h[0]&8704&&n!==(n=c[13](c[9].logout.label)+"")&&Le(l,n),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&L(e),a=!1,o()}}}function hh(i){let e,t,n,l,r;return{c(){e=S("button"),e.textContent="Login",t=W(),n=S("button"),n.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(n,"class","fd-button fd-button--transparent fd-button--compact"),f(n,"tabindex","0"),f(n,"data-testid","login-btn")},m(a,o){A(a,e,o),A(a,t,o),A(a,n,o),l||(r=[ee(e,"click",i[15]),ee(n,"click",i[15])],l=!0)},p:He,d(a){a&&L(e),a&&L(t),a&&L(n),l=!1,Qe(r)}}}function eC(i){let e,t=!i[1]&&ih(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=ih(n),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function tC(i,e,t){let n;const l=Yt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");wi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");rn(async()=>{bi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),hn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),hn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){hn.startAuthorization()}function T(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return be.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings"),ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(Se){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,hn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,hn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie),t(12,p=!!Se)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(hn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=be.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else rt.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Z(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Zr.openUserSettings(),l("toggleDropdownState")}function ce(){hn.logout()}function $({keyCode:ne}){(ne===hl||ne===Jr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>$(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,Z,Q,$,o,c,h,d,g,p,n,C,I,T,V,E,H,D,O,ce,j,ae,fe]}class nC extends Rt{constructor(e){super(),Et(this,e,tC,eC,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function gh(i,e,t){const n=i.slice();return n[34]=e[t],n}function _h(i){let e,t,n,l,r,a=i[0]&&ph(i),o=i[9].items,c=[];for(let g=0;g<o.length;g+=1)c[g]=bh(gh(i,o,g));let h=i[12]&&vh(i),d=(i[10]||i[11])&&kh(i);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),n=W();for(let g=0;g<c.length;g+=1)c[g].c();l=W(),h&&h.c(),r=W(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(g,p){A(g,e,p),w(e,t),a&&a.m(t,null),w(t,n);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),h&&h.m(t,null),w(t,r),d&&d.m(t,null)},p(g,p){if(g[0]?a?a.p(g,p):(a=ph(g),a.c(),a.m(t,n)):a&&(a.d(1),a=null),p[0]&991756){o=g[9].items;let b;for(b=0;b<o.length;b+=1){const m=gh(g,o,b);c[b]?c[b].p(m,p):(c[b]=bh(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}g[12]?h?h.p(g,p):(h=vh(g),h.c(),h.m(t,r)):h&&(h.d(1),h=null),g[10]||g[11]?d?d.p(g,p):(d=kh(g),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(g){g&&L(e),a&&a.d(),ut(c,g),h&&h.d(),d&&d.d()}}}function ph(i){let e,t,n=(i[7].name?i[7].name:i[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Ne(n),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&n!==(n=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,n)},d(r){r&&L(e)}}}function mh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?lC:iC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function iC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),et(e.src,t=i[34].icon)||f(e,"src",t),f(e,"alt",n=i[34].altText?i[34].altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!et(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[34].altText?l[34].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function lC(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function bh(i){let e,t,n,l,r=i[13](i[34].label)+"",a,o,c,h,d,g=i[34].icon&&mh(i);function p(){return i[24](i[34])}return{c(){e=S("li"),t=S("a"),g&&g.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=i[2]?i[19](i[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=i[18](i[34]))},m(b,m){A(b,e,m),w(e,t),g&&g.m(t,null),w(t,n),w(t,l),w(l,a),h||(d=[ee(t,"click",i[23]),ee(e,"click",p)],h=!0)},p(b,m){i=b,i[34].icon?g?g.p(i,m):(g=mh(i),g.c(),g.m(t,n)):g&&(g.d(1),g=null),m[0]&8704&&r!==(r=i[13](i[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=i[2]?i[19](i[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=i[18](i[34]))&&f(e,"data-testid",c)},d(b){b&&L(e),g&&g.d(),h=!1,Qe(d)}}}function vh(i){let e,t,n,l,r=i[13](i[9].settings.label)+"",a,o,c,h,d=i[9].settings.icon&&wh(i);return{c(){e=S("li"),t=S("a"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=i[18](i[9].settings))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=[ee(e,"click",mt(i[5])),ee(e,"keyup",i[25])],c=!0)},p(g,p){g[9].settings.icon?d?d.p(g,p):(d=wh(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].settings))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,Qe(h)}}}function wh(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?aC:rC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function rC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),et(e.src,t=i[9].settings.icon)||f(e,"src",t),f(e,"alt",n=i[9].settings.altText?i[9].settings.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!et(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function aC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function kh(i){let e,t,n=(i[8]||!i[10]&&i[11])&&Sh(i),l=i[10]&&!i[8]&&yh(i);return{c(){n&&n.c(),e=W(),l&&l.c(),t=ke()},m(r,a){n&&n.m(r,a),A(r,e,a),l&&l.m(r,a),A(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?n?n.p(r,a):(n=Sh(r),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),r[10]&&!r[8]?l?l.p(r,a):(l=yh(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){n&&n.d(r),r&&L(e),l&&l.d(r),r&&L(t)}}}function Sh(i){let e,t,n,l,r=i[13](i[9].logout.label)+"",a,o,c,h,d=i[9].logout.icon&&Ch(i);return{c(){e=S("li"),t=S("button"),d&&d.c(),n=W(),l=S("span"),a=Ne(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=i[18](i[9].logout))},m(g,p){A(g,e,p),w(e,t),d&&d.m(t,null),w(t,n),w(t,l),w(l,a),c||(h=ee(e,"click",i[4]),c=!0)},p(g,p){g[9].logout.icon?d?d.p(g,p):(d=Ch(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=g[13](g[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=g[18](g[9].logout))&&f(e,"data-testid",o)},d(g){g&&L(e),d&&d.d(),c=!1,h()}}}function Ch(i){let e,t;function n(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?oC:sC}let l=n(i,[-1,-1]),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function sC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),et(e.src,t=i[9].logout.icon)||f(e,"src",t),f(e,"alt",n=i[9].logout.altText?i[9].logout.altText:"")},m(l,r){A(l,e,r)},p(l,r){r[0]&512&&!et(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&n!==(n=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function oC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")},m(n,l){A(n,e,l)},p(n,l){l[0]&512&&t!==(t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(n){n&&L(e)}}}function yh(i){let e,t,n;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){A(l,e,r),t||(n=ee(e,"click",i[15]),t=!0)},p:He,d(l){l&&L(e),t=!1,n()}}}function uC(i){let e,t=!i[1]&&_h(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[1]?t&&(t.d(1),t=null):t?t.p(n,l):(t=_h(n),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function fC(i,e,t){let n;const l=Yt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,g,p,b,m,v=kt("store"),C=kt("getTranslation");wi(i,C,ne=>t(13,n=ne));let y=kt("getUnsavedChangesModalPromise"),P=kt("openViewInModal");rn(async()=>{bi.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),O()),D(),hn.getLoggedInStore().subscribe(ne=>{t(8,c=ne)}),hn.getUserInfoStore().subscribe(ne=>{t(7,o=ne),l("userInfoUpdated",o)})});function I(){hn.startAuthorization()}function T(ne){return re.renderIconClassName(ne)}function V(ne){return re.isOpenUIiconName(ne.icon)}function E(ne){return ne.testId?ne.testId:re.prepareForTests(ne.label)}function H(ne){return be.getNodeHref(ne)}function D(){b||(pn.doOnStoreChange(v,async()=>{const ne=await te.getConfigValueAsync("navigation.profile.logout"),se=await te.getConfigValueAsync("userSettings"),Se=se||await te.getConfigValueAsync("settings.userSettings");t(12,p=!!Se);const ie={items:await te.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Re=Se.userSettingsProfileMenuEntry;ie.settings={...dl.userSettingsProfileMenuEntry,...Re}}ie.logout={...dl.logout,...ne},t(11,g=!!ne),m=!1,hn.setProfileLogoutFn(null),ne&&le.isFunction(ne.customLogoutFn)&&(m=!0,hn.setProfileLogoutFn(ne.customLogoutFn)),t(9,h=ie)},["navigation.profile"]),b=!0)}async function O(){const ne=await te.getConfigValueAsync("navigation.profile.staticUserInfoFn");ne&&(hn.setUserInfo(o),t(7,o=ne),l("userInfoUpdated",o))}function z(ne){y().then(()=>{if(ne.openNodeInModal){const se=be.buildRoute(ne,`${ne.link}`);P(se,ne.openNodeInModal===!0?{}:ne.openNodeInModal)}else rt.navigateToLink(ne)},()=>{}),l("toggleDropdownState")}function Z(){y().then(()=>{d?ce():g&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Zr.openUserSettings(),l("toggleDropdownState")}function ce(){hn.logout()}function $({keyCode:ne}){(ne===hl||ne===Jr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const j=ne=>{re.handleNavAnchorClickedWithoutMetaKey(ne)},ae=ne=>z(ne),fe=ne=>$(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,Z,Q,$,o,c,h,d,g,p,n,C,I,T,V,E,H,D,O,ce,j,ae,fe]}class cp extends Rt{constructor(e){super(),Et(this,e,fC,uC,Tt,{isHidden:1,addNavHrefForAnchor:2,setProfileNavData:20,setProfileUserData:21,onActionClick:3,onLogoutClick:4,onUserSettingsClick:5,logout:22,handleKeyUp:6,showUserInfo:0},null,[-1,-1])}get setProfileNavData(){return this.$$.ctx[20]}get setProfileUserData(){return this.$$.ctx[21]}get onActionClick(){return this.$$.ctx[3]}get onLogoutClick(){return this.$$.ctx[4]}get onUserSettingsClick(){return this.$$.ctx[5]}get logout(){return this.$$.ctx[22]}get handleKeyUp(){return this.$$.ctx[6]}}function Ph(i,e,t){const n=i.slice();return n[11]=e[t],n}function Ih(i){let e,t,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=Lh(Ph(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&254){n=a[1];let c;for(c=0;c<n.length;c+=1){const h=Ph(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Lh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function Nh(i){let e,t,n,l,r,a,o,c,h=i[3](i[11])+"",d,g,p=i[4](i[11]),b,m,v,C,y,P;function I(D,O){return O&6&&(n=null),n==null&&(n=!!D[2](D[11])),n?dC:cC}let T=I(i,-1),V=T(i);r=new Nn({props:{node:i[11]}});let E=p&&Th(i);function H(){return i[9](i[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=W(),Ue(r.$$.fragment),a=W(),o=S("div"),c=S("div"),d=Ne(h),g=W(),E&&E.c(),b=W(),f(t,"class","lui-product-switch__icon svelte-t09cq9"),f(c,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__text svelte-t09cq9"),f(e,"class",m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=re.getTestId(i[11]))},m(D,O){A(D,e,O),w(e,t),V.m(t,null),w(t,l),Me(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,g),E&&E.m(o,null),w(e,b),C=!0,y||(P=ee(e,"click",H),y=!0)},p(D,O){i=D,T===(T=I(i,O))&&V?V.p(i,O):(V.d(1),V=T(i),V&&(V.c(),V.m(t,l)));const z={};O&2&&(z.node=i[11]),r.$set(z),(!C||O&10)&&h!==(h=i[3](i[11])+"")&&Le(d,h),O&18&&(p=i[4](i[11])),p?E?E.p(i,O):(E=Th(i),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||O&34&&m!==(m="fd-product-switch__item "+(i[5]=="true"?"y-has-no-subtitle":"")+" "+(i[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||O&2&&v!==(v=re.getTestId(i[11])))&&f(e,"data-testid",v)},i(D){C||(R(r.$$.fragment,D),C=!0)},o(D){U(r.$$.fragment,D),C=!1},d(D){D&&L(e),V.d(),Fe(r),E&&E.d(),y=!1,P()}}}function cC(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[11].icon)||f(e,"src",t),f(e,"alt",n=i[11].altText?i[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){A(l,e,r)},p(l,r){r&2&&!et(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&n!==(n=l[11].altText?l[11].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function dC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")},m(n,l){A(n,e,l)},p(n,l){l&6&&t!==(t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(n){n&&L(e)}}}function Th(i){let e,t=i[4](i[11])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(n,t)},d(l){l&&L(e)}}}function Lh(i){let e,t,n=i[11].label&&Nh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[11].label?n?(n.p(l,r),r&2&&R(n,1)):(n=Nh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function hC(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T=i[1]&&Ih(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Ne(i[0]),c=W(),h=S("div"),d=S("div"),g=S("ul"),T&&T.c(),p=W(),b=S("footer"),m=S("div"),v=S("div"),C=S("button"),C.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-4"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(g,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(C,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(C,"data-testid","mobile-topnav-close"),f(v,"class","fd-bar__element"),f(m,"class","fd-bar__right"),f(b,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-4"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,g),T&&T.m(g,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[ee(C,"click",i[8]),ee(e,"click",Ut(gC))],P=!0)},p(V,[E]){(!y||E&1)&&Le(o,V[0]),V[1]?T?(T.p(V,E),E&2&&R(T,1)):(T=Ih(V),T.c(),R(T,1),T.m(g,null)):T&&(ve(),U(T,1,1,()=>{T=null}),we())},i(V){y||(R(T),y=!0)},o(V){U(T),y=!1},d(V){V&&L(e),T&&T.d(),P=!1,Qe(I)}}}const gC=()=>{};function _C(i,e,t){const n=Yt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return re.renderIconClassName(m)}function g(m){n("listClick",m)}function p(m){Ul.call(this,i,m)}const b=m=>g(m);return i.$$set=m=>{"label"in m&&t(0,l=m.label),"nodes"in m&&t(1,r=m.nodes),"hasOpenUIicon"in m&&t(2,a=m.hasOpenUIicon),"getNodeLabel"in m&&t(3,o=m.getNodeLabel),"getNodeSubtitle"in m&&t(4,c=m.getNodeSubtitle),"noSubTitle"in m&&t(5,h=m.noSubTitle)},[l,r,a,o,c,h,g,d,p,b]}class dp extends Rt{constructor(e){super(),Et(this,e,_C,hC,Tt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:pC}=_l;function Ah(i,e,t){const n=i.slice();return n[7]=e[t],n}function Eh(i){let e,t,n,l=i[0]&&Rh(i);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null),n=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Rh(r),l.c(),R(l,1),l.m(t,null)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){r&&L(e),l&&l.d()}}}function Rh(i){let e,t,n=i[0],l=[];for(let a=0;a<n.length;a+=1)l[a]=Vh(Ah(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o&7693){n=a[0];let c;for(c=0;c<n.length;c+=1){const h=Ah(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Vh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function Dh(i){let e,t,n,l,r,a,o,c,h=i[11](i[7])+"",d,g,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?bC:mC}let P=y(i,-1),I=P(i);a=new Nn({props:{node:i[7]}});function T(){return i[14](i[7])}return{c(){e=S("li"),t=S("a"),n=S("span"),I.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),p=W(),f(n,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",g=i[2]?i[12](i[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=re.getTestId(i[7]))},m(V,E){A(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Me(a,n,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ee(t,"click",i[13]),ee(e,"click",T)],v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E&1&&(H.node=i[7]),a.$set(H),(!m||E&1)&&h!==(h=i[11](i[7])+"")&&Le(d,h),(!m||E&5&&g!==(g=i[2]?i[12](i[7]):void 0))&&f(t,"href",g),(!m||E&1&&b!==(b=re.getTestId(i[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),I.d(),Fe(a),v=!1,Qe(C)}}}function mC(i){let e,t,n;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),et(e.src,t=i[7].icon)||f(e,"src",t),f(e,"alt",n=i[7].altText?i[7].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&n!==(n=l[7].altText?l[7].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function bC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[7].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+n[10](n[7].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function Vh(i){let e,t,n=i[7].label&&Dh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[7].label?n?(n.p(l,r),r&1&&R(n,1)):(n=Dh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Oh(i){let e,t;return e=new dp({props:{nodes:i[7].children,label:i[11](i[7]),hasOpenUIicon:i[9],getNodeLabel:i[11],getNodeSubtitle:i[8],noSubTitle:"true"}}),e.$on("click",i[5]),e.$on("listClick",i[4]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&128&&(r.nodes=n[7].children),l&128&&(r.label=n[11](n[7])),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function vC(i){let e,t,n,l,r,a=!i[1]&&Eh(i),o=i[1]&&Oh(i);return{c(){a&&a.c(),e=W(),o&&o.c(),t=ke()},m(c,h){a&&a.m(c,h),A(c,e,h),o&&o.m(c,h),A(c,t,h),n=!0,l||(r=ee(pC,"resize",us),l=!0)},p(c,[h]){c[1]?a&&(ve(),U(a,1,1,()=>{a=null}),we()):a?(a.p(c,h),h&2&&R(a,1)):(a=Eh(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Oh(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ve(),U(o,1,1,()=>{o=null}),we())},i(c){n||(R(a),R(o),n=!0)},o(c){U(a),U(o),n=!1},d(c){a&&a.d(c),c&&L(e),o&&o.d(c),c&&L(t),l=!1,r()}}}function us(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}function wC(i,e,t){const n=Yt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=kt("getUnsavedChangesModalPromise"),h=kt("openViewInModal"),{addNavHrefForAnchor:d}=e;const g=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});rn(async()=>{us()}),jn(async()=>{r||t(0,r=await Ft.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const H=be.buildRoute(E,`/${E.pathSegment}`);h(H,E.openNodeInModal===!0?{}:E.openNodeInModal)}else rt.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){n("close")}function C(E){return re.isOpenUIiconName(E.icon)}function y(E){return re.renderIconClassName(E)}function P(E){return It.getTranslation(E.label)}function I(E){return be.getNodeHref(E,o)}const T=E=>{re.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return i.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,us,a,g,C,y,P,I,T,V]}class hp extends Rt{constructor(e){super(),Et(this,e,wC,vC,Tt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return us}}const Sn={_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(rt.getCurrentPath()),n=le.addLeadingSlash(e.link);return t.startsWith(n)?i.link+le.addLeadingSlash(t.substring(n.length)):i.link},getOptionById(i,e){return i.find(t=>t.id===e)},getLabelFromOptions(i,e){const t=i.find(n=>n.id===e);return t&&t.label},isContextSwitcherDetailsView(i,e){const t=le.normalizePath(i),n=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(n)&&t!==n)},async getFallbackLabel(i,e){if(!i)return e;const t=te.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),n=Sn._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),!!Sn.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=Sn.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 Sn.getFallbackLabel(n,l)},async getSelectedNode(i,e,t){if(!this.getSelectedId(i,e,t))return;let l=await this.getSelectedOption(i,e,t);return l?l.link:void 0},async fetchOptions(i=[]){const e=te.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&i.length)return i;const t=await te.getConfigValueAsync("navigation.contextSwitcher.options");return await Sn.generateSwitcherNav(e,t)}};function Mh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Fh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Uh(i,e,t){const n=i.slice();return n[20]=e[t],n}function Bh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Wh(Uh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Uh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Wh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ut(n,l)}}}function Hh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[14](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",mt(NC)),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Qe(d)}}}function Wh(i){let e=i[20].position==="top"||!["top","bottom"].includes(i[20].position),t,n=e&&Hh(i);return{c(){n&&n.c(),t=ke()},m(l,r){n&&n.m(l,r),A(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?n?n.p(l,r):(n=Hh(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(l){n&&n.d(l),l&&L(t)}}}function qh(i){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
56
56
|
<div class="fd-busy-indicator__circle"></div>
|
|
57
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Wh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=qh(Oh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=we()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Oh(l,t,a);n[a]?n[a].p(o,r):(n[a]=qh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function vC(i){return{c:He,m:He,p:He,d:He}}function wC(i){let e,t,n,l,r;function a(d,g){return d[2]?SC:kC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=re.getTestId(i[20]))},m(d,g){A(d,e,g),c.m(e,null),A(d,n,g),l||(r=ee(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function kC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){A(d,e,g),w(e,t),w(t,l),c||(h=ee(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Le(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,h()}}}function SC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new gr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function CC(i){return{c:He,m:He,p:He,d:He}}function qh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:CC,then:wC,catch:vC,value:25};return ls(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=we(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&ls(t,n)||K_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function zh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Kh(Vh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Vh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Kh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function Gh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",i[17]),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Kh(i){let e,t=i[20].position==="bottom"&&Gh(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=Gh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function yC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Fh(i),c=i[3]&&i[3].length===0&&i[10]&&Hh(),h=i[3]&&i[3].length&&Wh(i),d=i[0]&&i[0].length&&zh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("ul"),c&&c.c(),l=W(),h&&h.c(),r=W(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(g,p){A(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=Fh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=Hh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=Wh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=zh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:He,o:He,d(g){g&&L(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const PC=()=>{};function IC(i,e,t){let n,l=He,r=()=>(l(),l=Wo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Jt();function P(O){y("onActionClick",{node:O})}function I(O,z){y("goToOption",{option:O,selectedOption:z})}const T=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>I(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,I,n,T,V,E,H,D]}class dp extends Ot{constructor(e){super(),Vt(this,e,IC,yC,Et,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function jh(i){let e,t,n,l=!i[9]&&Jh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Yh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[9]?l&&(be(),U(l,1,1,()=>{l=null}),ve()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Jh(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=Yh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Jh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?TC:NC}let p=g(i),b=p(i);return a=new dp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=W(),r=S("div"),Ue(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){A(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,h||(d=ee(n,"click",Bt(UC)),h=!0)},p(m,v){p===(p=g(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&L(e),b.d(),Fe(a),h=!1,d()}}}function NC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?AC:LC}let c=o(i),h=c(i);return{c(){e=S("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,g){A(d,e,g),h.m(e,null),r||(a=ee(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),h.d(),r=!1,a()}}}function TC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?VC:DC}let h=c(i),d=h(i);return{c(){e=S("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(g,p){A(g,e,p),d.m(e,null),a||(o=ee(e,"click",mt(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&L(e),d.d(),a=!1,o()}}}function LC(i){let e,t;function n(a,o){return a[4]?EC:RC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&L(e),a&&L(t)}}}function AC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new gr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function EC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function RC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function DC(i){let e,t;function n(a,o){return a[4]?OC:MC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&L(e),a&&L(t)}}}function VC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new gr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function OC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function MC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function Yh(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I=!i[4]&&Qh(i),T=i[4]&&Zh(i);return d=new dp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),I&&I.c(),o=W(),T&&T.c(),c=W(),h=S("div"),Ue(d.$$.fragment),g=W(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),T&&T.m(a,null),w(t,c),w(t,h),Me(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ee(v,"click",i[13]),ee(e,"click",Bt(BC))],y=!0)},p(V,E){V[4]?I&&(I.d(1),I=null):I?I.p(V,E):(I=Qh(V),I.c(),I.m(a,o)),V[4]?T?T.p(V,E):(T=Zh(V),T.c(),T.m(a,null)):T&&(T.d(1),T=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),I&&I.d(),T&&T.d(),Fe(d),y=!1,Je(P)}}}function Qh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function Zh(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function FC(i){let e,t,n=i[3]&&jh(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=jh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const UC=()=>{},BC=()=>{};function HC(i,e,t){let n,l;const r=Jt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:T}=e,V,E=wt("getUnsavedChangesModalPromise"),H=wt("store"),D=wt("getTranslation");bi(i,D,ie=>t(16,l=ie));let O=!1,{addNavHrefForAnchor:z}=e,Z;ln(async()=>{mn.doOnStoreChange(H,async()=>{const ie=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ie),!!a&&(t(6,C=le.isFunction(ie.customOptionsRenderer)?ie.customOptionsRenderer:void 0),t(7,y=le.isFunction(ie.customSelectedOptionRenderer)?ie.customSelectedOptionRenderer:void 0),t(5,h=ie),t(1,g=void 0),ie)){t(27,p=ie.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=at.getCurrentPath();t(20,m=ie.fallbackLabelResolver),Cn.resetFallbackLabelCache(),ie.lazyloadOptions||await $(),Cn.isContextSwitcherDetailsView(Re,ie.parentNodePath)&&await G(Re)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ie=>G(ie)),Mn.addEventListener("message",ie=>{Ae.getValidMessageSource(ie)&&ie.data&&ie.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),$())}),t(21,T=h.defaultLabel)}),Kn(()=>{O!==I&&(O=I,$()),t(14,Z=o.contextSwitcherPopover||!1)});function Q(ie,Re,qe){return ie?Promise.resolve(ie):Cn.getFallbackLabel(Re,qe)}function ce(ie){return me.getNodeHref(ie,v)}async function $(){t(1,g=await Cn.fetchOptions(g));const ie=h||{},Re=ie.parentNodePath,qe=ie.fallbackLabelResolver,ye=at.getCurrentPath();t(2,b=await Cn.getSelectedOption(ye,g,Re)),t(4,c=await Cn.getSelectedLabel(ye,g,Re,qe)),await Cn.getSelectedNode(ye,g,Re),V=ie.preserveSubPathOnSwitch}async function G(ie){const Re=h||{},qe=Re.parentNodePath,ye=Re.fallbackLabelResolver;t(2,b=await Cn.getSelectedOption(ie,g,qe)),t(4,c=await Cn.getSelectedLabel(ie,g,qe,ye)),await Cn.getSelectedNode(ie,g,qe)}async function K(ie){let Re=ie.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{fe(Re.link)}),P&&r("toggleDropdownState"))}function fe(ie){E().then(()=>{at.navigateTo(ie)},()=>{})}function oe(ie){let Re=ie.detail.option,qe=ie.detail.selectedOption;E().then(()=>{V&&qe?at.navigateTo(Cn.getNodePathFromCurrentPath(Re,qe)):at.navigateTo(Re.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&$()}const ae=()=>{n&&ne()},Se=()=>{n&&ne()};return i.$$set=ie=>{"contextSwitcherEnabled"in ie&&t(3,a=ie.contextSwitcherEnabled),"dropDownStates"in ie&&t(8,o=ie.dropDownStates),"selectedLabel"in ie&&t(4,c=ie.selectedLabel),"config"in ie&&t(5,h=ie.config),"actions"in ie&&t(0,d=ie.actions),"options"in ie&&t(1,g=ie.options),"selectedOption"in ie&&t(2,b=ie.selectedOption),"fallbackLabelResolver"in ie&&t(20,m=ie.fallbackLabelResolver),"pathParams"in ie&&t(22,v=ie.pathParams),"customOptionsRenderer"in ie&&t(6,C=ie.customOptionsRenderer),"customSelectedOptionRenderer"in ie&&t(7,y=ie.customSelectedOptionRenderer),"isMobile"in ie&&t(9,P=ie.isMobile),"contextSwitcherToggle"in ie&&t(23,I=ie.contextSwitcherToggle),"defaultLabel"in ie&&t(21,T=ie.defaultLabel),"addNavHrefForAnchor"in ie&&t(10,z=ie.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,z,K,oe,ne,Z,n,l,D,Q,ce,m,T,v,I,$,G,fe,p,ae,Se]}class hp extends Ot{constructor(e){super(),Vt(this,e,HC,FC,Et,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:WC}=dl;function Xh(i,e,t){const n=i.slice();return n[22]=e[t],n}function $h(i){let e,t,n,l=!i[2]&&xh(i),r=i[2]&&i[3].productSwitcherPopover&&lg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=xh(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=lg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function xh(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?zC:qC}let I=P(i,-1),T=I(i),V=i[0],E=[];for(let H=0;H<V.length;H+=1)E[H]=ig(Xh(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),T.c(),d=W(),g=S("div"),p=S("div"),b=S("ul");for(let H=0;H<E.length;H+=1)E[H].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=ei(i[9])+" svelte-156h3yc"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(H,D){A(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O].m(b,null);C||(y=[ee(r,"click",Bt(i[7])),ee(l,"click",Bt(XC))],C=!0)},p(H,D){if(I===(I=P(H,D))&&T?T.p(H,D):(T.d(1),T=I(H),T&&(T.c(),T.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=H[0];let O;for(O=0;O<V.length;O+=1){const z=Xh(H,V,O);E[O]?E[O].p(z,D):(E[O]=ig(z),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=ei(H[9])+" svelte-156h3yc")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&L(e),T.d(),ft(E,H),C=!1,Je(y)}}}function qC(i){let e,t,n;return{c(){e=S("img"),xe(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!xe(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function zC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function eg(i){let e,t,n,l,r,a;function o(g,p){return g[4]?KC:GC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(g,p){A(g,e,p),h.m(e,null),w(e,t),r||(a=ee(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&L(e),h.d(),r=!1,a()}}}function GC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?JC:jC}let g=d(i,-1),p=g(i),b=h&&tg(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){A(m,e,v),p.m(e,null),A(m,n,v),A(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=tg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&L(e),p.d(),m&&L(n),m&&L(l),b&&b.d()}}}function KC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?QC:YC}let v=m(i,-1),C=v(i),y=d&&ng(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ne(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,I){A(P,e,I),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=ee(e,"click",i[16]),p=!0)},p(P,I){v===(v=m(P,I))&&C?C.p(P,I):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),I&1&&(d=P[13](P[22])),d?y?y.p(P,I):(y=ng(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function jC(i){let e,t,n;return{c(){e=S("img"),xe(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!xe(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function JC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function tg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function YC(i){let e,t,n;return{c(){e=S("img"),xe(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!xe(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function QC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function ng(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function ig(i){let e,t=i[22].label&&eg(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=eg(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function lg(i){let e,t;return e=new fp({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ZC(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&$h(i);return{c(){a&&a.c(),t=we()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=ee(WC,"resize",fs),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=$h(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(be(),U(a,1,1,()=>{a=null}),ve())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){a&&a.d(o),o&&L(t),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const XC=()=>{};function $C(i,e,t){const n=Jt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=wt("store"),h=wt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;ln(async()=>{mn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),I()),fs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{at.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return It.getTranslation(D.label)}function P(D){return It.getTranslation(D.subTitle)}function I(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function T(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,fs,d,v,C,y,P,T,V,E,H]}class gp extends Ot{constructor(e){super(),Vt(this,e,$C,ZC,Et,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return fs}}function rg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function xC(i){let e,t,n;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){A(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:He,d(l){l&&L(e),i[15](null),t=!1,n()}}}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 svelte-zbxrcf"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){A(t,e,n),e.focus()},p:He,d(t){t&&L(e)}}}function t3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[19](e)},p:He,d(t){t&&L(e),i[19](null)}}}function n3(i){let e,t,n,l=i[4]&&ag(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[5])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=ag(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function ag(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=sg(rg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=rg(l,t,a);n[a]?n[a].p(o,r):(n[a]=sg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l),i[18](null)}}}function i3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new gr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function l3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(a3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Le(r,l),b&16&&c!==(c=p[21].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function sg(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?i3:l3}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Je(l)}}}function r3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?e3:xC}let I=P(i),T=I(i);function V(D,O){return D[8].isCustomSearchRenderer?t3:n3}let E=V(i),H=E(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),T.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),g=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),T.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),A(D,d,O),A(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Bt(s3)),ee(b,"click",i[6]),ee(p,"click",Bt(o3))],C=!0)},p(D,[O]){I===(I=P(D))&&T?T.p(D,O):(T.d(1),T=I(D),T&&(T.c(),T.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:He,o:He,d(D){D&&L(e),T.d(),H.d(),D&&L(d),D&&L(g),C=!1,Je(y)}}}const a3=()=>{},s3=()=>{},o3=()=>{};function u3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Jt();let g={},p;ln(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),Kn(()=>{t(7,g=h),p||t(8,p=new ip(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function I(D){Ze[D?"unshift":"push"](()=>{a=D,t(0,a)})}const T=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){Ze[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Ze[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,I,T,V,E,H]}class f3 extends Ot{constructor(e){super(),Vt(this,e,u3,r3,Et,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function og(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function c3(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=S("input"),t=W(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=S("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-qeg9jv"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[23](e),A(p,t,b),A(p,n,b),w(n,l),A(p,r,b),A(p,a,b),w(a,o),A(p,c,b),A(p,h,b),d||(g=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(o,"click",i[15])],d=!0)},p:He,d(p){p&&L(e),i[23](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(h),d=!1,Je(g)}}}function d3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){A(t,e,n)},p:He,d(t){t&&L(e)}}}function h3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[28](e)},p:He,d(t){t&&L(e),i[28](null)}}}function g3(i){let e,t,n,l=i[3]&&ug(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-qeg9jv"),f(e,"aria-hidden",n=!i[4])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=ug(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function ug(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=fg(og(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=og(l,t,a);n[a]?n[a].p(o,r):(n[a]=fg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l),i[27](null)}}}function _3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new gr(!1),n=we(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function p3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(b3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Le(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function fg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?_3:p3}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Je(l)}}}function cg(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-qeg9jv")},m(c,h){A(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Bt(w3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Je(o)}}}function dg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(h,d){A(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Bt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(h){h&&L(e),o=!1,c()}}}function m3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?d3:c3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?h3:g3}let y=C(i),P=y(i),I=!i[5]&&cg(i),T=i[5]&&dg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),I&&I.c(),h=W(),T&&T.c(),d=we(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,E),I&&I.m(V,E),A(V,h,E),T&&T.m(V,E),A(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Bt(v3))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?I&&(I.d(1),I=null):I?I.p(V,E):(I=cg(V),I.c(),I.m(h.parentNode,h)),V[5]?T?T.p(V,E):(T=dg(V),T.c(),T.m(d.parentNode,d)):T&&(T.d(1),T=null)},i:He,o:He,d(V){V&&L(e),v.d(),P.d(),V&&L(c),I&&I.d(V),V&&L(h),T&&T.d(V),V&&L(d),g=!1,Je(p)}}}const b3=()=>{},v3=()=>{},w3=()=>{};function k3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Jt();let g=ul.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=wt("getTranslation");bi(i,m,oe=>t(10,n=oe));let v;ln(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const oe=document.querySelector(".lui-global-search");oe&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(oe)}),Kn(()=>{t(8,b=h),v||t(9,v=new ip(b,d)),v.getCustomRenderer(),T()});function C(oe,ne,ae){v.renderCustomSearchItem(oe,ne,ae)}function y(){v.closeSearchResult()}function P(oe){v.onKeyUp(oe,r)}function I(){b&&le.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function T(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(oe){v.onSearchResultItemSelected(oe)}function H(oe,ne){v.handleKeydown(oe,ne,a,c)}function D(oe){v.onActionClick(oe)}function O(){v.toggleSearch(p,r,a,o)}const z=oe=>P(oe);function Z(oe){Ze[oe?"unshift":"push"](()=>{a=oe,t(0,a)})}const Q=()=>T(),ce=(oe,ne)=>E(oe),$=(oe,ne)=>H(oe,ne);function G(oe){Ze[oe?"unshift":"push"](()=>{c=oe,t(2,c)})}function K(oe){Ze[oe?"unshift":"push"](()=>{o=oe,t(1,o)})}const fe=()=>O();return i.$$set=oe=>{"searchResult"in oe&&t(3,l=oe.searchResult),"displaySearchResult"in oe&&t(4,r=oe.displaySearchResult),"inputElem"in oe&&t(0,a=oe.inputElem),"customSearchItemRendererSlot"in oe&&t(1,o=oe.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in oe&&t(2,c=oe.customSearchItemRendererSlotContainer),"globalSearchConfig"in oe&&t(20,h=oe.globalSearchConfig),"isSearchFieldVisible"in oe&&t(5,p=oe.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,I,T,V,E,H,h,D,z,Z,Q,ce,$,G,K,fe]}class S3 extends Ot{constructor(e){super(),Vt(this,e,k3,m3,Et,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function hg(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?y3:C3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function C3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),xe(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!xe(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function y3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function gg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ti({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=W(),Ue(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Fe(r)}}}function P3(i){let e,t,n,l=i[0].icon&&hg(i),r=(!i[0].icon||i[0].showLabel)&&gg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=hg(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=gg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function I3(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Go extends Ot{constructor(e){super(),Vt(this,e,I3,P3,Et,{node:0})}}const{Boolean:_p,window:_g}=dl;function pg(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function mg(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function N3(i){let e,t;return e=new up({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function T3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&bg(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 KS({props:C}),Ze.push(()=>vt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&vg(i),P=(!i[0]||i[1])&&wg(i),I=(i[18]||i[7]&&i[29].length>0)&&Sg(i),T=(i[0]||i[16])&&Ug(i),V=i[12]&&Bg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Ue(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),h=W(),I&&I.c(),d=W(),T&&T.c(),g=W(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(E,H){A(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),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,h),I&&I.m(c,null),w(c,d),T&&T.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=bg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&536870912&&(D.pathData=E[29]),H[0]&1073741824&&(D.pathParams=E[30]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],bt(()=>r=!1)),l.$set(D),E[18]&&E[19]?y?(y.p(E,H),H[0]&786432&&R(y,1)):(y=vg(E),y.c(),R(y,1),y.m(e,o)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=wg(E),P.c(),R(P,1),P.m(c,h)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),E[18]||E[7]&&E[29].length>0?I?(I.p(E,H),H[0]&537133184&&R(I,1)):(I=Sg(E),I.c(),R(I,1),I.m(c,d)):I&&(be(),U(I,1,1,()=>{I=null}),ve()),E[0]||E[16]?T?(T.p(E,H),H[0]&65537&&R(T,1)):(T=Ug(E),T.c(),R(T,1),T.m(c,g)):T&&(be(),U(T,1,1,()=>{T=null}),ve()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Bg(E),V.c(),R(V,1),V.m(c,null)):V&&(be(),U(V,1,1,()=>{V=null}),ve()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(I),R(T),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(I),U(T),U(V),b=!1},d(E){E&&L(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),I&&I.d(),T&&T.d(),V&&V.d()}}}function bg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){A(r,e,a),w(e,t),n||(l=ee(e,"click",i[51]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&L(e),n=!1,l()}}}function vg(i){let e,t,n,l,r,a,o,c;function h(v){i[57](v)}function d(v){i[58](v)}function g(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.customSearchItemRendererSlot=i[22]),t=new S3({props:m}),Ze.push(()=>vt(t,"isSearchFieldVisible",h,i[20])),Ze.push(()=>vt(t,"searchResult",d,i[24])),Ze.push(()=>vt(t,"displaySearchResult",g,i[23])),Ze.push(()=>vt(t,"inputElem",p,i[21])),Ze.push(()=>vt(t,"customSearchItemRendererSlot",b,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],bt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],bt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],bt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],bt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],bt(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Fe(t)}}}function wg(i){let e,t,n,l,r=i[18]&&!i[19]&&kg(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 hp({props:o}),Ze.push(()=>vt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[74]),{c(){r&&r.c(),e=W(),Ue(t.$$.fragment)},m(c,h){r&&r.m(c,h),A(c,e,h),Me(t,c,h),l=!0},p(c,h){c[18]&&!c[19]?r?(r.p(c,h),h[0]&786432&&R(r,1)):(r=kg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],bt(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),Fe(t,c)}}}function kg(i){let e,t,n,l,r,a,o;function c(m){i[65](m)}function h(m){i[66](m)}function d(m){i[67](m)}function g(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.customSearchItemRendererSlot=i[22]),e=new f3({props:b}),Ze.push(()=>vt(e,"isSearchFieldVisible",c,i[20])),Ze.push(()=>vt(e,"searchResult",h,i[24])),Ze.push(()=>vt(e,"displaySearchResult",d,i[23])),Ze.push(()=>vt(e,"inputElem",g,i[21])),Ze.push(()=>vt(e,"customSearchItemRendererSlot",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],bt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],bt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],bt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],bt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],bt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function Sg(i){let e,t,n,l=i[7]&&i[29].length>0&&Cg(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&Ng(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=we()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[7]&&a[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=Cg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(be(),U(l,1,1,()=>{l=null}),ve()),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=Ng(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Cg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Ig(mg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1207960032|o[1]&917584){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=mg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ig(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(_p);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function yg(i){let e,t,n,l;const r=[A3,L3],a=[];function o(c,h){return c[106].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=we()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(be(),U(a[d],1,1,()=>{a[d]=null}),ve(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function L3(i){let e,t,n,l,r;const a=[R3,E3],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){A(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&L(e),o[t].d()}}}function A3(i){let e=i[106].visibleChildren.filter(Hg).length>0,t,n,l=e&&Pg(i);return{c(){l&&l.c(),t=we()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(Hg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Pg(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(be(),U(l,1,1,()=>{l=null}),ve())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function E3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[79](v,i[106],i[109],i[108])}let b={};i[106]!==void 0&&(b.node=i[106]),t=new Go({props:b}),Ze.push(()=>vt(t,"node",p,i[106])),r=new Tn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=S("button"),Ue(t.$$.fragment),l=W(),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=re.getTestId(i[106]))},m(v,C){A(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),h=!0,d||(g=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[106],bt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[106]),r.$set(P),(!h||C[0]&128&&a!==(a=i[50](i[106],i[48](i[106]))))&&f(e,"title",a),(!h||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),(!h||C[0]&128&&c!==(c=re.getTestId(i[106])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&L(e),Fe(t),Fe(r),d=!1,g()}}}function R3(i){let e,t,n,l,r,a,o,c,h,d,g,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 Go({props:m}),Ze.push(()=>vt(t,"node",b,i[106])),r=new Tn({props:{node:i[106]}});function v(...C){return i[78](i[106],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=W(),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",h=re.getTestId(i[106]))},m(C,y){A(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[106],bt(()=>n=!1)),t.$set(P);const I={};y[0]&128&&(I.node=i[106]),r.$set(I),(!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&&h!==(h=re.getTestId(i[106])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&L(e),Fe(t),Fe(r),g=!1,p()}}}function Pg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(D){i[75](D,i[106],i[109],i[108])}let E={};i[106]!==void 0&&(E.node=i[106]),r=new Go({props:E}),Ze.push(()=>vt(r,"node",V,i[106])),c=new Tn({props:{node:i[106]}});function H(){return i[76](i[108])}return v=new cp({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=W(),Ue(c.$$.fragment),b=W(),m=S("div"),Ue(v.$$.fragment),y=W(),f(l,"title",h=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",g=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=re.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(D,O){A(D,e,O),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,I||(T=[ee(l,"click",H),ee(n,"click",Bt(J3))],I=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[106],bt(()=>a=!1)),r.$set(z);const Z={};O[0]&128&&(Z.node=i[106]),c.$set(Z),(!P||O[0]&128&&h!==(h=i[50](i[106],i[48](i[106]))))&&f(l,"title",h),(!P||O[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||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=re.getTestId(i[106])))&&f(l,"data-testid",p);const Q={};O[0]&128&&(Q.node=i[106]),O[0]&1073741824&&(Q.pathParams=i[30]),O[0]&134217728&&(Q.addNavHrefForAnchor=i[27]),v.$set(Q),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&L(e),Fe(r),Fe(c),Fe(v),I=!1,Je(T)}}}function Ig(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&yg(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=yg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Ng(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H,D;h=new Tn({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&Tg(i),z=i[45]&&(!i[0]||i[1])&&Lg(i),Z=i[7]&&Ag(i),Q=i[12]&&Vg(i),ce=i[12]&&Og(i),$=i[14]&&Mg(i),G=(!i[0]||i[1])&&Fg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=W(),Ue(h.$$.fragment),g=W(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Z&&Z.c(),y=W(),Q&&Q.c(),I=W(),ce&&ce.c(),T=W(),$&&$.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(K,fe){A(K,e,fe),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),z&&z.m(m,null),w(m,C),Z&&Z.m(m,null),w(m,y),Q&&Q.m(m,null),w(n,I),ce&&ce.m(n,null),w(n,T),$&&$.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[81]),ee(l,"click",Bt(Y3))],H=!0)},p(K,fe){const oe={};fe[0]&2048&&(oe.node=K[11]),h.$set(oe),(!E||fe[0]&64&&d!==(d=K[6].overflowPopover||!1))&&f(a,"aria-expanded",d),K[18]&&!K[19]?O?O.p(K,fe):(O=Tg(K),O.c(),O.m(m,v)):O&&(O.d(1),O=null),K[45]&&(!K[0]||K[1])?z?z.p(K,fe):(z=Lg(K),z.c(),z.m(m,C)):z&&(z.d(1),z=null),K[7]?Z?(Z.p(K,fe),fe[0]&128&&R(Z,1)):(Z=Ag(K),Z.c(),R(Z,1),Z.m(m,y)):Z&&(be(),U(Z,1,1,()=>{Z=null}),ve()),K[12]?Q?Q.p(K,fe):(Q=Vg(K),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!E||fe[0]&64&&P!==(P=!K[6].overflowPopover))&&f(p,"aria-hidden",P),K[12]?ce?(ce.p(K,fe),fe[0]&4096&&R(ce,1)):(ce=Og(K),ce.c(),R(ce,1),ce.m(n,T)):ce&&(be(),U(ce,1,1,()=>{ce=null}),ve()),K[14]?$?($.p(K,fe),fe[0]&16384&&R($,1)):($=Mg(K),$.c(),R($,1),$.m(n,V)):$&&(be(),U($,1,1,()=>{$=null}),ve()),!K[0]||K[1]?G?(G.p(K,fe),fe[0]&3&&R(G,1)):(G=Fg(K),G.c(),R(G,1),G.m(n,null)):G&&(be(),U(G,1,1,()=>{G=null}),ve())},i(K){E||(R(h.$$.fragment,K),R(Z),R(ce),R($),R(G),E=!0)},o(K){U(h.$$.fragment,K),U(Z),U(ce),U($),U(G),E=!1},d(K){K&&L(e),Fe(h),O&&O.d(),z&&z.d(),Z&&Z.d(),Q&&Q.d(),ce&&ce.d(),$&&$.d(),G&&G.d(),H=!1,Je(D)}}}function Tg(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
|
|
58
|
-
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),n||(l=ee(t,"click",Bt(i[82])),n=!0)},p:He,d(r){r&&L(e),n=!1,l()}}}function Lg(i){let e,t,n,l,r,a,o=(i[43]?i[43]:i[44])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[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(g,p){A(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Bt(i[32])),h=!0)},p(g,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(g[45].icon&&g[47](g[45])?g[46](g[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&12288&&o!==(o=(g[43]?g[43]:g[44])+"")&&Le(c,o)},d(g){g&&L(e),h=!1,d()}}}function Ag(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Dg(pg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&1015828){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=pg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Dg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(_p);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Eg(i){let e,t,n,l,r;const a=[V3,D3],o=[];function c(h,d){return d[0]&128&&(e=null),h[106].isCat?(e==null&&(e=h[106].visibleChildren.filter(j3).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=we()},m(h,d){~t&&o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(be(),U(o[g],1,1,()=>{o[g]=null}),ve()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){~t&&o[t].d(h),h&&L(l)}}}function D3(i){let e,t,n,l,r,a,o,c,h=i[48](i[106])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?M3:O3}let P=y(i,[-1,-1,-1,-1]),I=P(i);a=new Tn({props:{node:i[106]}});function T(){return i[84](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),I.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",g=i[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){A(V,e,E),w(e,t),w(t,n),I.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=ee(t,"click",mt(T)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E[0]&128&&(H.node=i[106]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[48](i[106])+"")&&Le(d,h),(!m||E[0]&128&&g!==(g=i[49](i[106])))&&f(t,"href",g),(!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){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),I.d(),Fe(a),v=!1,C()}}}function V3(i){let e,t,n,l=!i[47](i[106]),r,a,o,c,h,d=i[48](i[106])+"",g,p,b,m,v,C,y,P,I=l&&Rg(i);a=new Tn({props:{node:i[106]}});function T(){return i[83](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),I&&I.c(),r=W(),Ue(a.$$.fragment),c=W(),h=S("span"),g=Ne(d),v=W(),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(h,"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=re.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,E){A(V,e,E),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),Me(a,n,null),w(t,c),w(t,h),w(h,g),w(e,v),C=!0,y||(P=ee(t,"click",mt(T)),y=!0)},p(V,E){i=V,E[0]&128&&(l=!i[47](i[106])),l?I?I.p(i,E):(I=Rg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const H={};E[0]&128&&(H.node=i[106]),a.$set(H),(!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(g,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=re.getTestId(i[106])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){U(a.$$.fragment,V),C=!1},d(V){V&&L(e),I&&I.d(),Fe(a),y=!1,P()}}}function O3(i){let e,t,n;return{c(){e=S("img"),xe(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!xe(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function M3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Rg(i){let e,t,n;return{c(){e=S("img"),xe(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!xe(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Dg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Eg(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Eg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Vg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[47](b[13])||!b[13].icon)),n?U3:F3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ne(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Bt(i[31])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&L(e),p.d(),c=!1,h()}}}function F3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),xe(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!xe(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function U3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Og(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 gp({props:r}),Ze.push(()=>vt(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],bt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Mg(i){let e,t;return e=new cp({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Fg(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 h={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[43]!==void 0&&(h.selectedLabel=i[43]),i[44]!==void 0&&(h.defaultLabel=i[44]),e=new hp({props:h}),Ze.push(()=>vt(e,"dropDownStates",a,i[6])),Ze.push(()=>vt(e,"selectedLabel",o,i[43])),Ze.push(()=>vt(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){Ue(e.$$.fragment)},m(d,g){Me(e,d,g),r=!0},p(d,g){const p={};g[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],bt(()=>t=!1)),!n&&g[1]&4096&&(n=!0,p.selectedLabel=d[43],bt(()=>n=!1)),!l&&g[1]&8192&&(l=!0,p.defaultLabel=d[44],bt(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Ug(i){let e,t,n,l,r;const a=[H3,B3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){A(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&L(e),o[n].d()}}}function B3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(I,T){return I[17].picture?q3:W3}let y=C(i),P=y(i);return g=new up({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[95]),g.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=W(),d=S("div"),Ue(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-p1ljc7")},m(I,T){A(I,e,T),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Me(g,d,null),b=!0,m||(v=[ee(r,"click",i[94]),ee(n,"click",Bt(Z3))],m=!0)},p(I,T){y===(y=C(I))&&P?P.p(I,T):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||T[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||T[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};T[0]&134217728&&(V.addNavHrefForAnchor=I[27]),g.$set(V),(!b||T[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(g.$$.fragment,I),b=!0)},o(I){U(g.$$.fragment,I),b=!1},d(I){I&&L(e),P.d(),Fe(g),m=!1,Je(v)}}}function H3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?G3:z3}let g=d(i),p=g(i);return r=new eC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[93]),r.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),l=S("div"),Ue(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(h=ee(t,"click",Bt(Q3)),c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){U(r.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),Fe(r),c=!1,h()}}}function W3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){A(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&L(e)}}}function q3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),On(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&On(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function z3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){A(o,e,c),w(e,n),r||(a=ee(e,"click",i[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&&L(e),r=!1,a()}}}function G3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),On(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){A(r,e,a),n||(l=ee(e,"click",i[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&&On(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function Bg(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 gp({props:r}),Ze.push(()=>vt(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],bt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function K3(i){let e,t,n,l,r,a;const o=[T3,N3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=we()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(_g,"click",i[40]),ee(_g,"blur",i[40])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(be(),U(c[p],1,1,()=>{c[p]=null}),ve(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Je(a)}}}const j3=i=>!i.hideFromNav&&i.label,Hg=i=>!i.hideFromNav&&i.label,J3=()=>{},Y3=()=>{},Q3=()=>{},Z3=()=>{};function X3(i,e,t){const n=Jt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:h}=e,{showGlobalNav:d}=e,{pathData:g}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:T}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:E}=e,{nodeForMobile:H}=e,{profileItemsAvailable:D}=e,{userInfo:O={}}=e,{globalSearchConfig:z}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:Q}=e,{inputElem:ce}=e,{customSearchItemRendererSlot:$}=e,{displaySearchResult:G}=e,{searchResult:K}=e,{burgerTooltip:fe}=e,{responsiveShellbarPadding:oe}=e,ne=wt("store"),ae=!1,Se,ie,Re=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:qe=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const ye=async()=>{if(g&&0<g.length){const Y=await re.generateTopNavNodes(g);t(7,v=Y.children),t(8,C=Y.selectedNode),t(9,y=Y.visibleNodeCount),t(11,I=Y.totalBadgeNode),t(10,P=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,p=g}},Pe=()=>{t(1,a=sl.isLoggedIn())};ln(()=>{mn.doOnStoreChange(ne,()=>{t(0,l=pi.isAuthorizationEnabled()),t(16,D=te.getConfigValue("navigation.profile")),t(52,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,T=te.getConfigValue("navigation.productSwitcher")),t(2,o=te.getConfigBooleanValue("settings.hideNavigation")),t(3,c=te.getConfigValue("settings.responsiveNavigation")),t(4,h=te.getConfigValue("settings.profileType")),t(26,oe=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=re.getProductSwitcherConfig()),t(18,z=te.getConfigValue("globalSearch")),t(19,Z=z&&z.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,qe=te.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Re=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),mn.doOnStoreChange(ne,()=>{ye()},["navigation.viewgroupdata"]),Mn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&ye()})}),Kn(()=>{(!p||p!=g)&&ye(),Pe()});let{showTopNav:Ve}=e;function ht(Y){return re.renderIconClassName(Y)}function We(Y){return re.isOpenUIiconName(Y.icon)}const et=Y=>re.getNodeLabel(Y);function Nt(Y){return me.getNodeHref(Y,b)}function ge(Y,Mt){return re.generateTooltipText(Y,Mt)}function lt(){Ke("productSwitcherPopover")}function St(){t(42,ae=!ae),Ke("contextSwitcherPopover")}function Zt(Y){t(14,E=!0),t(15,H=Y)}function fn(){t(14,E=!1)}function zt(Y){n("handleClick",{node:Y})}function cn(Y){n("handleSearchNavigation",{node:Y})}function Te(Y){zt(Y.detail.node)}function Ke(Y){const Mt=m||{},vn=!Mt[Y];jn(),fn(),Mt[Y]=vn,t(6,m=Mt)}function Rt(Y){Ke(Y.detail.name)}function Xt(){ce&&ce.focus()}function Tt(){Q||setTimeout(()=>{Xt()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:ce,customSearchItemRendererSlot:$})}function jn(){const Y=m||{},Mt=Object.keys(Y);Mt&&Mt.length>0&&Mt.forEach(vn=>{Y[vn]=!1,t(6,m=Y)})}function $t(){c==="simple"||c==="simpleMobileOnly"?Jn():Yt(),dn()}function dn(){if(!re.getBurgerTooltipConfig())return;const[Y,Mt]=re.getBurgerTooltipConfig();Y&&Mt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,fe=document.body.classList.contains("lui-leftNavToggle")?Y:Mt),document.body.classList.contains("lui-semiCollapsible")&&t(25,fe=document.body.classList.contains("semiCollapsed")?Y:Mt))}function Jn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Yt(){_i.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Ln(Y){const Mt=Y.detail;t(17,O=Mt||{})}function vi(Y){m=Y,t(6,m)}function wi(Y){Q=Y,t(20,Q)}function bn(Y){K=Y,t(24,K)}function ki(Y){G=Y,t(23,G)}function Si(Y){ce=Y,t(21,ce)}function Ci(Y){$=Y,t(22,$)}function yi(Y){Ml.call(this,i,Y)}function Pi(Y){Ml.call(this,i,Y)}function hl(Y){Ml.call(this,i,Y)}function gl(Y){Q=Y,t(20,Q)}function _l(Y){K=Y,t(24,K)}function Ii(Y){G=Y,t(23,G)}function Hi(Y){ce=Y,t(21,ce)}function Wi(Y){$=Y,t(22,$)}function fi(Y){Ml.call(this,i,Y)}function pl(Y){Ml.call(this,i,Y)}function ml(Y){Ml.call(this,i,Y)}function qi(Y){m=Y,t(6,m)}const bl=()=>Ke("contextSwitcherPopover");function vl(Y,Mt,vn,ii){vn[ii]=Y,t(7,v)}const wl=Y=>Ke(`dropDownPopover-${Y}`);function Ni(Y,Mt,vn,ii){vn[ii]=Y,t(7,v)}const kl=(Y,Mt)=>{re.handleNavAnchorClickedWithoutMetaKey(Mt)&&zt(Y)};function ni(Y,Mt,vn,ii){vn[ii]=Y,t(7,v)}const J=Y=>zt(Y),ke=()=>Ke("overflowPopover"),Ye=()=>{Tt(),Ke("overflowPopover")},tt=Y=>zt(Y),pt=Y=>Zt(Y);function Ct(Y){m=Y,t(6,m)}const xt=()=>Ke("productSwitcherPopover");function Lt(Y){m=Y,t(6,m)}function Fn(Y){Se=Y,t(43,Se)}function Sl(Y){ie=Y,t(44,ie)}const Hl=()=>Ke("contextSwitcherPopover"),_r=()=>Ke("profilePopover"),zi=()=>Ke("profilePopover"),Cl=()=>Ke("profilePopover"),yl=()=>Ke("profilePopover"),ci=()=>Ke("profilePopover");function Wl(Y){m=Y,t(6,m)}const Ti=()=>Ke("productSwitcherPopover"),pr=()=>Ke("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(52,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideNavComponent"in Y&&t(2,o=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,c=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,h=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,d=Y.showGlobalNav),"pathData"in Y&&t(29,g=Y.pathData),"pathParams"in Y&&t(30,b=Y.pathParams),"dropDownStates"in Y&&t(6,m=Y.dropDownStates),"children"in Y&&t(7,v=Y.children),"selectedNode"in Y&&t(8,C=Y.selectedNode),"visibleNodeCount"in Y&&t(9,y=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,P=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,I=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,T=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,V=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,E=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,H=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,D=Y.profileItemsAvailable),"userInfo"in Y&&t(17,O=Y.userInfo),"globalSearchConfig"in Y&&t(18,z=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,Z=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,Q=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,ce=Y.inputElem),"customSearchItemRendererSlot"in Y&&t(22,$=Y.customSearchItemRendererSlot),"displaySearchResult"in Y&&t(23,G=Y.displaySearchResult),"searchResult"in Y&&t(24,K=Y.searchResult),"burgerTooltip"in Y&&t(25,fe=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,oe=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,qe=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,Ve=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,Ve=l&&(!r||a)||!l)},[l,a,o,c,h,d,m,v,C,y,P,I,T,V,E,H,D,O,z,Z,Q,ce,$,G,K,fe,oe,qe,Ve,g,b,lt,St,Zt,fn,zt,Te,Ke,Rt,Tt,jn,Ln,ae,Se,ie,Re,ht,We,et,Nt,ge,$t,r,cn,Jn,Yt,vi,wi,bn,ki,Si,Ci,yi,Pi,hl,gl,_l,Ii,Hi,Wi,fi,pl,ml,qi,bl,vl,wl,Ni,kl,ni,J,ke,Ye,tt,pt,Ct,xt,Lt,Fn,Sl,Hl,_r,zi,Cl,yl,ci,Wl,Ti,pr]}class pp extends Ot{constructor(e){super(),Vt(this,e,X3,K3,Et,{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,customSearchItemRendererSlot: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 Wg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function $3(i){let e,t=i[0]&&Wg();return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=Wg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function x3(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(at.getCurrentPath(),n),a=await Ut.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||n.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return ln(()=>{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)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class ey extends Ot{constructor(e){super(),Vt(this,e,x3,$3,Et,{node:0})}}const{window:Do}=dl;function qg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function zg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Gg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Kg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function jg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Jg(i,e,t){const n=i.slice();return n[57]=e[t],n}function ty(i){const e=i.slice(),t=mp(e[54]);return e[67]=t,e}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Vo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function ny(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function Qg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&Zg(i),P=Object.entries(i[0]),I=[];for(let D=0;D<P.length;D+=1)I[D]=r_(Kg(i,P,D));const T=D=>U(I[D],1,1,()=>{I[D]=null});let V=Object.entries(i[0]),E=[];for(let D=0;D<V.length;D+=1)E[D]=u_(qg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let D=0;D<I.length;D+=1)I[D].c();r=W(),a=S("span"),o=S("div"),c=S("div"),h=S("button"),h.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
|
|
59
|
-
<span class="sap-icon--slim-arrow-down"></span>`,d=W(),g=S("div"),p=S("ul");for(let D=0;D<E.length;D+=1)E[D].c();f(h,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(D,O){A(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let z=0;z<I.length;z+=1)I[z].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let z=0;z<E.length;z+=1)E[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",mt(i[10])),ee(a,"click",py),ee(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=Zg(D),y.c(),R(y,1),y.m(e,t)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),O[0]&3866829){P=Object.entries(D[0]);let z;for(z=0;z<P.length;z+=1){const Z=Kg(D,P,z);I[z]?(I[z].p(Z,O),R(I[z],1)):(I[z]=r_(Z),I[z].c(),R(I[z],1),I[z].m(l,r))}for(be(),z=P.length;z<I.length;z+=1)T(z);ve()}if(O[0]&1704173){V=Object.entries(D[0]);let z;for(z=0;z<V.length;z+=1){const Z=qg(D,V,z);E[z]?(E[z].p(Z,O),R(E[z],1)):(E[z]=u_(Z),E[z].c(),R(E[z],1),E[z].m(p,null))}for(be(),z=V.length;z<E.length;z+=1)H(z);ve()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(I[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),I=I.filter(Boolean);for(let O=0;O<I.length;O+=1)U(I[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&L(e),y&&y.d(),ft(I,D),i[31](null),ft(E,D),i[36](null),i[37](null),i[39](null),v=!1,Je(C)}}}function Zg(i){let e,t;return e=new ey({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function iy(i){let e,t,n,l,r;const a=[ay,ry],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!cy(d[54])),e?0:1}function h(d,g){return g===0?ty(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=we()},m(d,g){o[t].m(d,g),A(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(be(),U(o[p],1,1,()=>{o[p]=null}),ve(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){o[t].d(d),d&&L(l)}}}function ly(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=l_(Yg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=Yg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=l_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function ry(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V;function E(){return i[29](i[53])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=xg(jg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ne(o),h=W(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=S("div"),m=S("ul");for(let z=0;z<D.length;z+=1)D[z].c();y=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",g=ol(i[53],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=ol(i[53],i[2]))},m(z,Z){A(z,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let Q=0;Q<D.length;Q+=1)D[Q].m(m,null);w(e,y),I=!0,T||(V=[ee(l,"click",mt(E)),ee(e,"click",_y)],T=!0)},p(z,Z){if(i=z,(!I||Z[0]&131073)&&o!==(o=i[17](i[53])+"")&&Le(c,o),(!I||Z[0]&5&&g!==(g=ol(i[53],i[2])))&&f(l,"aria-selected",g),Z[0]&1572933){H=i[54];let Q;for(Q=0;Q<H.length;Q+=1){const ce=jg(i,H,Q);D[Q]?(D[Q].p(ce,Z),R(D[Q],1)):(D[Q]=xg(ce),D[Q].c(),R(D[Q],1),D[Q].m(m,null))}for(be(),Q=H.length;Q<D.length;Q+=1)O(Q);ve()}(!I||Z[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!I||Z[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!I||Z[0]&5&&P!==(P=ol(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!I){for(let Z=0;Z<H.length;Z+=1)R(D[Z]);I=!0}},o(z){D=D.filter(Boolean);for(let Z=0;Z<D.length;Z+=1)U(D[Z]);I=!1},d(z){z&&L(e),ft(D,z),T=!1,Je(V)}}}function ay(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=i[54],z=[];for(let Z=0;Z<O.length;Z+=1)z[Z]=t_(Jg(i,O,Z));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),c=W(),h=S("div"),d=S("div"),g=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let Z=0;Z<z.length;Z+=1)z[Z].c();T=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=ol(i[53],i[2])),f(t,"href",o=i[20](i[67])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",I=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Z,Q){A(Z,e,Q),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<z.length;ce+=1)z[ce].m(y,null);w(e,T),V||(E=[ee(t,"click",mt(H)),ee(p,"click",mt(D)),ee(e,"click",gy)],V=!0)},p(Z,Q){if(i=Z,Q[0]&131073&&l!==(l=i[17](i[53])+"")&&Le(r,l),Q[0]&5&&a!==(a=ol(i[53],i[2]))&&f(t,"aria-selected",a),Q[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),Q[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),Q[0]&1572933){O=i[54];let ce;for(ce=0;ce<O.length;ce+=1){const $=Jg(i,O,ce);z[ce]?z[ce].p($,Q):(z[ce]=t_($),z[ce].c(),z[ce].m(y,null))}for(;ce<z.length;ce+=1)z[ce].d(1);z.length=O.length}Q[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),Q[0]&9&&I!==(I=!i[3][i[53]])&&f(C,"aria-hidden",I)},i:He,o:He,d(Z){Z&&L(e),ft(z,Z),V=!1,Je(E)}}}function Xg(i){let e,t,n=i[57].label&&$g(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=$g(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function $g(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function xg(i){let e,t,n=!i[57].hideFromNav&&Xg(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=Xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function e_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[20](i[57])),f(t,"aria-selected",o=i[57]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",mt(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Le(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),h=!1,d()}}}function t_(i){let e,t=!i[57].hideFromNav&&i[57].label&&e_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=e_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function n_(i){let e,t,n=i[57].label&&i_(Vo(i));return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Vo(l),r),r[0]&1&&R(n,1)):(n=i_(Vo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function i_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ti({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),g=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),b=!0,m||(v=ee(t,"click",mt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const I={};P[0]&1&&(I.node=i[57]),o.$set(I),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&L(e),Fe(o),m=!1,v()}}}function l_(i){let e,t,n=!i[57].hideFromNav&&n_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(be(),U(n,1,1,()=>{n=null}),ve()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=n_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function r_(i){let e,t,n,l,r,a;const o=[ly,iy],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!fy(g[54])),t?1:-1)}function d(g,p){return p===1?ny(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=we()},m(g,p){~n&&c[n].m(g,p),A(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(be(),U(c[b],1,1,()=>{c[b]=null}),ve()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){~n&&c[n].d(g),g&&L(r)}}}function sy(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=s_(zg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=W(),d=S("button"),g=S("i"),m=W(),v=S("ul");for(let z=0;z<D.length;z+=1)D[z].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=ol(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"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[53]+i[56]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(z,Z){A(z,e,Z),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let Q=0;Q<D.length;Q+=1)D[Q].m(v,null);w(e,y),P=!0,I||(T=[ee(n,"click",mt(V)),ee(d,"click",mt(E))],I=!0)},p(z,Z){if(i=z,(!P||Z[0]&131073)&&r!==(r=i[17](i[53])+"")&&Le(a,r),(!P||Z[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Z[0]&5&&c!==(c=ol(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Z[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Z[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Z[0]&1572933){H=i[54];let Q;for(Q=0;Q<H.length;Q+=1){const ce=zg(i,H,Q);D[Q]?(D[Q].p(ce,Z),R(D[Q],1)):(D[Q]=s_(ce),D[Q].c(),R(D[Q],1),D[Q].m(v,null))}for(be(),Q=H.length;Q<D.length;Q+=1)O(Q);ve()}(!P||Z[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Z=0;Z<H.length;Z+=1)R(D[Z]);P=!0}},o(z){D=D.filter(Boolean);for(let Z=0;Z<D.length;Z+=1)U(D[Z]);P=!1},d(z){z&&L(e),ft(D,z),I=!1,Je(T)}}}function oy(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=o_(Gg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=we()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=Gg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=o_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(be(),c=n.length;c<l.length;c+=1)r(c);ve()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function a_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function s_(i){let e,t,n=i[57].label&&a_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=a_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function o_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function u_(i){let e,t,n,l,r;const a=[oy,sy],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=we()},m(h,d){o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(be(),U(o[g],1,1,()=>{o[g]=null}),ve(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){o[t].d(h),h&&L(l)}}}function uy(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Qg(i);return{c(){r&&r.c(),e=we()},m(a,o){r&&r.m(a,o),A(a,e,o),t=!0,n||(l=[ee(Do,"click",i[8]),ee(Do,"blur",i[8]),ee(Do,"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=Qg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(be(),U(r,1,1,()=>{r=null}),ve())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){r&&r.d(a),a&&L(e),n=!1,Je(l)}}}function ol(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function fy(i){return i.some(e=>!e.hideFromNav&&e.label)}function mp(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function cy(i){return!!mp(i)}function dy(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function hy(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),dy(e)||e.classList.add("fd-popover__body--right")})}const gy=i=>i.stopPropagation(),_y=i=>i.stopPropagation(),py=i=>i.stopPropagation();function my(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=re.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=wt("getTranslation");bi(i,C,Te=>t(17,n=Te));let y=wt("store"),P,I,T,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(Ke=>{Ke==="pathData"?t(1,r=Te.pathData):Ke==="context"?context=Te.context:Ke==="children"?t(0,l=Te.children):Ke==="selectedNode"?t(11,b=Te.selectedNode):Ke==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Jt();function z(Te){return re.getNodeLabel(Te)}const Z=async()=>{const Te=D.get(),Ke=await Ut.getTabNavData({...Te},Te);Ke&&(D.set({...Ke}),m=r,window.LEFTNAVDATA=Ke.groupedChildren,setTimeout(Q))},Q=()=>{if(ce(),T&&V&&E){E.classList.remove("is-active");const Te=getComputedStyle(T),Ke=T.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let Rt=0,Xt=!1;[...T.children].forEach(Tt=>{const jn=Tt.getAttribute("uid");if(!jn)return;const $t=getComputedStyle(Tt),dn=parseFloat($t.marginLeft)+parseFloat($t.marginRight);Rt+=Tt.offsetWidth+dn,Rt>=Ke?(Tt.classList.add("hide_element"),Tt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+jn+'"]').classList.remove("hide_element"),Xt=!0):document.querySelector('li[uid="'+jn+'"]').classList.add("hide_element")}),Xt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{T!==void 0&&[...T.children].forEach(Ke=>{Ke.classList.remove("hide_element")})},$=()=>{P=new ResizeObserver(Te=>{for(const Ke of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",Ke.contentRect.height+"px");H&&hy()}),setTimeout(()=>{I&&P.observe(I)})},G=()=>{P&&P.disconnect()};ln(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),$(),mn.doOnStoreChange(y,()=>{Z()},["navigation.viewgroupdata"])}),Qr(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),Kn(()=>{(!m||m!=r)&&Z(),(v===void 0||v!==p)&&(v=p,Z())}),Yr(()=>{G(),P?setTimeout(()=>{I&&P.observe(I)}):$()});function K(Te){return me.getNodeHref(Te,a)}function fe(Te){ne(),O("handleClick",{node:Te})}function oe(Te){let Ke={};d[Te]||(Ke[Te]=!0),t(3,d=Ke)}function ne(){t(3,d={}),t(4,g=!1)}function ae(){ce(),Q()}function Se(){t(4,g=!g)}function ie(Te,Ke){const Rt=Te==="undefined",Xt=Te.indexOf(c)===0;if(Rt||Xt||Re(Ke))return!0}function Re(Te){const Ke=Te.find(Tt=>le.isObject(Tt.category));if(!Ke)return;const Rt=Ke.category.label||Ke.category.id;return Te.filter(Tt=>Tt.category===Rt&&Tt.hideFromNav===!0).length===1}const qe=Te=>fe(Te),ye=Te=>fe(Te),Pe=Te=>oe(Te),Ve=Te=>fe(Te),ht=Te=>oe(Te),We=Te=>fe(Te);function et(Te){Ze[Te?"unshift":"push"](()=>{E=Te,t(15,E)})}const Nt=Te=>fe(Te),ge=(Te,Ke)=>oe(Te+Ke),lt=(Te,Ke)=>oe(Te+Ke),St=Te=>fe(Te);function Zt(Te){Ze[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function fn(Te){Ze[Te?"unshift":"push"](()=>{T=Te,t(13,T)})}const zt=Te=>oe(Te.name);function cn(Te){Ze[Te?"unshift":"push"](()=>{I=Te,t(12,I)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,fe,oe,ne,ae,Se,b,I,T,V,E,H,n,C,z,K,ie,o,a,p,qe,ye,Pe,Ve,ht,We,et,Nt,ge,lt,St,Zt,fn,zt,cn]}class bp extends Ot{constructor(e){super(),Vt(this,e,my,uy,Et,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function f_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function c_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function d_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&h_(i),o=i[0]&&i[3].length>=0&&m_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=W(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){A(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=h_(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=m_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),a&&a.d(),o&&o.d()}}}function h_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=p_(c_(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-fn8cef")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=c_(l,t,a);n[a]?n[a].p(o,r):(n[a]=p_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function g_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&__(i);function P(...I){return i[17](i[23],...I)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,T){A(I,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,h),w(e,p),v||(C=ee(t,"click",P),v=!0)},p(I,T){i=I,i[23].icon?y?y.p(i,T):(y=__(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&&g!==(g=i[7](i[23].label))&&f(t,"title",g),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),T&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&L(e),y&&y.d(),v=!1,C()}}}function __(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?vy:by}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function by(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!xe(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function vy(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-fn8cef")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function p_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&g_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=g_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function m_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=w_(f_(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-fn8cef")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=f_(l,t,a);n[a]?n[a].p(o,r):(n[a]=w_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function b_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&v_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,T){A(I,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,h),w(e,p),v||(C=ee(n,"click",mt(P)),v=!0)},p(I,T){i=I,i[23].icon?y?y.p(i,T):(y=v_(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&&g!==(g=i[7](i[23].label))&&f(t,"title",g),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),T&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&L(e),y&&y.d(),v=!1,C()}}}function v_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?ky:wy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=we()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function wy(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),xe(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!xe(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function ky(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-fn8cef")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function w_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&b_(i);return{c(){t&&t.c(),e=we()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=b_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function Sy(i){let e,t,n,l=i[2]&&d_(i);return{c(){l&&l.c(),e=we()},m(r,a){l&&l.m(r,a),A(r,e,a),t||(n=[ee(window,"click",cs),ee(window,"blur",cs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=d_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:He,o:He,d(r){l&&l.d(r),r&&L(e),t=!1,Je(n)}}}function cs(){}function Cy(i,e,t){let n;const l=Jt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=wt("store"),g=wt("getTranslation");bi(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await re.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};ln(()=>{mn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),Kn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return re.renderIconClassName(O)}function P(O){return re.isOpenUIiconName(O.icon)}function I(O){return It.getTranslation(O.label)}function T(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,z)=>{re.handleNavAnchorClickedWithoutMetaKey(z)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,cs,v,n,g,y,P,I,T,b,m,o,E,H,D]}class yy extends Ot{constructor(e){super(),Vt(this,e,Cy,Sy,Et,{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 cs}}function Py(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){A(t,e,n),i[4](e)},p:He,i:He,o:He,d(t){t&&L(e),i[4](null)}}}function Iy(i,e,t){const n=Jt();let{pathData:l}=e,r,a={},o,c=wt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};ln(()=>{mn.doOnStoreChange(c,()=>{},["navigation"])}),Kn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=at.getCurrentPath();for(let I=y;I<l.length;I++){const T=l[I],V=me.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?It.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,g),C=[];for(let I=y;I<l.length;I++){const T=l[I],V=me.mapPathToNode(P,T);if(T.titleResolver){const H=await Ut.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,T.context),H.pathData.pathParams);try{const O=await re.fetchNodeTitleData(T,D);C.push({label:O.label,node:T,route:V});continue}catch{}}const E=await p(T);E&&C.push({label:E,node:T,route:V})}P===at.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,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(I=>{a[I.route]=I}))}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 It.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(at.getCurrentPath(),v),y=await Ut.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Ze[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,h=v.showBreadcrumb)},[o,h,l,b,m]}class vp extends Ot{constructor(e){super(),Vt(this,e,Iy,Py,Et,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Ho="not_checked";Mn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Ho="disabled"):i.data==="luigi.tpcEnabled"&&(Ho="enabled")},!1);function Ny(){return Ho}const{Boolean:Ty,window:k_}=dl;function S_(i,e,t){const n=i.slice();return n[153]=e[t],n[155]=t,n}function C_(i){let e,t;return e=new fk({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[36]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function y_(i){let e,t;function n(){return i[70](i[155])}function l(...a){return i[71](i[155],...a)}function r(...a){return i[72](i[155],...a)}return e=new lp({props:{settings:i[153].mfModal.settings,nodepath:i[153].mfModal.nodepath,modalIndex:i[155],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&134217728&&(c.settings=i[153].mfModal.settings),o[0]&134217728&&(c.nodepath=i[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function P_(i){let e,t,n=i[153].mfModal.displayed&&y_(i);return{c(){n&&n.c(),e=we()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[153].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&R(n,1)):(n=y_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(be(),U(n,1,1,()=>{n=null}),ve())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function I_(i){let e,t;return e=new lp({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[Ly]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[5]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ly(i){let e,t;return e=new Bl({props:{area:"drawer",disable:i[12]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function N_(i){let e,t;return e=new hk({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[73]),e.$on("modalDismiss",i[74]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function T_(i){let e,t,n;function l(a){i[75](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new Lk({props:r}),Ze.push(()=>vt(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],bt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Ay(i){let e,t,n,l,r,a,o,c;e=new Bl({props:{disable:i[12],$$slots:{default:[Ry]},$$scope:{ctx:i}}});let h=i[10]&&A_(),d=!i[24]&&E_(i),g=!i[20]&&R_(i),p=!(i[20]||i[21])&&V_(i),b=i[15]&&!i[20]&&O_(i);return{c(){Ue(e.$$.fragment),t=W(),h&&h.c(),n=W(),d&&d.c(),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=we()},m(m,v){Me(e,m,v),A(m,t,v),h&&h.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),g&&g.m(m,v),A(m,r,v),p&&p.m(m,v),A(m,a,v),b&&b.m(m,v),A(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?h||(h=A_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[24]?d&&(be(),U(d,1,1,()=>{d=null}),ve()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=E_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?g&&(be(),U(g,1,1,()=>{g=null}),ve()):g?(g.p(m,v),v[0]&1048576&&R(g,1)):(g=R_(m),g.c(),R(g,1),g.m(r.parentNode,r)),m[20]||m[21]?p&&(be(),U(p,1,1,()=>{p=null}),ve()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=V_(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=O_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(be(),U(b,1,1,()=>{b=null}),ve())},i(m){c||(R(e.$$.fragment,m),R(d),R(g),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(g),U(p),U(b),c=!1},d(m){Fe(e,m),m&&L(t),h&&h.d(m),m&&L(n),d&&d.d(m),m&&L(l),g&&g.d(m),m&&L(r),p&&p.d(m),m&&L(a),b&&b.d(m),m&&L(o)}}}function Ey(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=!i[24]&&M_(i),v=!(i[20]||i[21])&&F_(i),C=i[19]&&U_(i);g=new Bl({props:{disable:i[12],$$slots:{default:[Dy]},$$scope:{ctx:i}}});let y=i[10]&&W_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=W(),a=S("div"),v&&v.c(),o=W(),c=S("div"),C&&C.c(),h=W(),d=S("div"),Ue(g.$$.fragment),p=W(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1dwxj5w"),f(c,"class","fd-tool-layout__content-container svelte-1dwxj5w"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1dwxj5w"),f(e,"class","lui-core-layout svelte-1dwxj5w")},m(P,I){A(P,e,I),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,h),w(c,d),Me(g,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,I){P[24]?m&&(be(),U(m,1,1,()=>{m=null}),ve()):m?(m.p(P,I),I[0]&16777216&&R(m,1)):(m=M_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(be(),U(v,1,1,()=>{v=null}),ve()):v?(v.p(P,I),I[0]&3145728&&R(v,1)):(v=F_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,I),I[0]&524288&&R(C,1)):(C=U_(P),C.c(),R(C,1),C.m(c,h)):C&&(be(),U(C,1,1,()=>{C=null}),ve());const T={};I[0]&4096&&(T.disable=P[12]),I[0]&1177600|I[5]&2&&(T.$$scope={dirty:I,ctx:P}),g.$set(T),P[10]?y||(y=W_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(g.$$.fragment,P),b=!0)},o(P){U(m),U(v),U(C),U(g.$$.fragment,P),b=!1},d(P){P&&L(e),m&&m.d(),v&&v.d(),C&&C.d(),Fe(g),y&&y.d()}}}function L_(i){let e,t;return e=new ap({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ry(i){let e,t,n,l,r,a,o,c,h;t=new Bl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&L_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=we(),f(l,"class","wcContainer svelte-1dwxj5w"),f(e,"class","fd-page iframeContainer svelte-1dwxj5w"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(g,p){A(g,e,p),Me(t,e,null),w(e,n),w(e,l),A(g,r,p),d&&d.m(g,p),A(g,a,p),o=!0,c||(h=G_(i[45].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&jt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&jt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=L_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(be(),U(d,1,1,()=>{d=null}),ve())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&L(e),Fe(t),g&&L(r),d&&d.d(g),g&&L(a),c=!1,h()}}}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>
|
|
57
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function zh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Gh(Fh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Fh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Gh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ut(n,l),l&&L(e)}}}function kC(i){return{c:He,m:He,p:He,d:He}}function SC(i){let e,t,n,l,r;function a(d,g){return d[2]?yC:CC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=re.getTestId(i[20]))},m(d,g){A(d,e,g),c.m(e,null),A(d,n,g),l||(r=ee(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function CC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){A(d,e,g),w(e,t),w(t,l),c||(h=ee(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Le(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,h()}}}function yC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function PC(i){return{c:He,m:He,p:He,d:He}}function Gh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:PC,then:SC,catch:kC,value:25};return ls(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=ke(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Kh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jh(Mh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Mh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ut(n,l)}}}function jh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",i[17]),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Qe(d)}}}function Jh(i){let e,t=i[20].position==="bottom"&&jh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=jh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function IC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Bh(i),c=i[3]&&i[3].length===0&&i[10]&&qh(),h=i[3]&&i[3].length&&zh(i),d=i[0]&&i[0].length&&Kh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("ul"),c&&c.c(),l=W(),h&&h.c(),r=W(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(g,p){A(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=Bh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=qh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=zh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Kh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:He,o:He,d(g){g&&L(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const NC=()=>{};function TC(i,e,t){let n,l=He,r=()=>(l(),l=Wo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Yt();function P(O){y("onActionClick",{node:O})}function I(O,z){y("goToOption",{option:O,selectedOption:z})}const T=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>I(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,I,n,T,V,E,H,D]}class gp extends Rt{constructor(e){super(),Et(this,e,TC,IC,Tt,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Yh(i){let e,t,n,l=!i[9]&&Qh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Zh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[9]?l&&(ve(),U(l,1,1,()=>{l=null}),we()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Qh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=Zh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Qh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?AC:LC}let p=g(i),b=p(i);return a=new gp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=W(),r=S("div"),Ue(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){A(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Me(a,r,null),c=!0,h||(d=ee(n,"click",Ut(HC)),h=!0)},p(m,v){p===(p=g(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&L(e),b.d(),Fe(a),h=!1,d()}}}function LC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?RC:EC}let c=o(i),h=c(i);return{c(){e=S("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,g){A(d,e,g),h.m(e,null),r||(a=ee(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),h.d(),r=!1,a()}}}function AC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?MC:OC}let h=c(i),d=h(i);return{c(){e=S("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(g,p){A(g,e,p),d.m(e,null),a||(o=ee(e,"click",mt(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&L(e),d.d(),a=!1,o()}}}function EC(i){let e,t;function n(a,o){return a[4]?DC:VC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&L(e),a&&L(t)}}}function RC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function DC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function VC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function OC(i){let e,t;function n(a,o){return a[4]?FC:UC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&L(e),a&&L(t)}}}function MC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function FC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function UC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function Zh(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I=!i[4]&&Xh(i),T=i[4]&&$h(i);return d=new gp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),I&&I.c(),o=W(),T&&T.c(),c=W(),h=S("div"),Ue(d.$$.fragment),g=W(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),T&&T.m(a,null),w(t,c),w(t,h),Me(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ee(v,"click",i[13]),ee(e,"click",Ut(WC))],y=!0)},p(V,E){V[4]?I&&(I.d(1),I=null):I?I.p(V,E):(I=Xh(V),I.c(),I.m(a,o)),V[4]?T?T.p(V,E):(T=$h(V),T.c(),T.m(a,null)):T&&(T.d(1),T=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),I&&I.d(),T&&T.d(),Fe(d),y=!1,Qe(P)}}}function Xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function $h(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function BC(i){let e,t,n=i[3]&&Yh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Yh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const HC=()=>{},WC=()=>{};function qC(i,e,t){let n,l;const r=Yt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:T}=e,V,E=kt("getUnsavedChangesModalPromise"),H=kt("store"),D=kt("getTranslation");wi(i,D,ie=>t(16,l=ie));let O=!1,{addNavHrefForAnchor:z}=e,Z;rn(async()=>{pn.doOnStoreChange(H,async()=>{const ie=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ie),!!a&&(t(6,C=le.isFunction(ie.customOptionsRenderer)?ie.customOptionsRenderer:void 0),t(7,y=le.isFunction(ie.customSelectedOptionRenderer)?ie.customSelectedOptionRenderer:void 0),t(5,h=ie),t(1,g=void 0),ie)){t(27,p=ie.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=rt.getCurrentPath();t(20,m=ie.fallbackLabelResolver),Sn.resetFallbackLabelCache(),ie.lazyloadOptions||await $(),Sn.isContextSwitcherDetailsView(Re,ie.parentNodePath)&&await G(Re)}},["navigation.contextSwitcher"]),be.addRouteChangeListener(ie=>G(ie)),Fn.addEventListener("message",ie=>{Ae.getValidMessageSource(ie)&&ie.data&&ie.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),$())}),t(21,T=h.defaultLabel)}),jn(()=>{O!==I&&(O=I,$()),t(14,Z=o.contextSwitcherPopover||!1)});function Q(ie,Re,qe){return ie?Promise.resolve(ie):Sn.getFallbackLabel(Re,qe)}function ce(ie){return be.getNodeHref(ie,v)}async function $(){t(1,g=await Sn.fetchOptions(g));const ie=h||{},Re=ie.parentNodePath,qe=ie.fallbackLabelResolver,Ce=rt.getCurrentPath();t(2,b=await Sn.getSelectedOption(Ce,g,Re)),t(4,c=await Sn.getSelectedLabel(Ce,g,Re,qe)),await Sn.getSelectedNode(Ce,g,Re),V=ie.preserveSubPathOnSwitch}async function G(ie){const Re=h||{},qe=Re.parentNodePath,Ce=Re.fallbackLabelResolver;t(2,b=await Sn.getSelectedOption(ie,g,qe)),t(4,c=await Sn.getSelectedLabel(ie,g,qe,Ce)),await Sn.getSelectedNode(ie,g,qe)}async function j(ie){let Re=ie.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{ae(Re.link)}),P&&r("toggleDropdownState"))}function ae(ie){E().then(()=>{rt.navigateTo(ie)},()=>{})}function fe(ie){let Re=ie.detail.option,qe=ie.detail.selectedOption;E().then(()=>{V&&qe?rt.navigateTo(Sn.getNodePathFromCurrentPath(Re,qe)):rt.navigateTo(Re.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&$()}const se=()=>{n&&ne()},Se=()=>{n&&ne()};return i.$$set=ie=>{"contextSwitcherEnabled"in ie&&t(3,a=ie.contextSwitcherEnabled),"dropDownStates"in ie&&t(8,o=ie.dropDownStates),"selectedLabel"in ie&&t(4,c=ie.selectedLabel),"config"in ie&&t(5,h=ie.config),"actions"in ie&&t(0,d=ie.actions),"options"in ie&&t(1,g=ie.options),"selectedOption"in ie&&t(2,b=ie.selectedOption),"fallbackLabelResolver"in ie&&t(20,m=ie.fallbackLabelResolver),"pathParams"in ie&&t(22,v=ie.pathParams),"customOptionsRenderer"in ie&&t(6,C=ie.customOptionsRenderer),"customSelectedOptionRenderer"in ie&&t(7,y=ie.customSelectedOptionRenderer),"isMobile"in ie&&t(9,P=ie.isMobile),"contextSwitcherToggle"in ie&&t(23,I=ie.contextSwitcherToggle),"defaultLabel"in ie&&t(21,T=ie.defaultLabel),"addNavHrefForAnchor"in ie&&t(10,z=ie.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,z,j,fe,ne,Z,n,l,D,Q,ce,m,T,v,I,$,G,ae,p,se,Se]}class _p extends Rt{constructor(e){super(),Et(this,e,qC,BC,Tt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:zC}=_l;function xh(i,e,t){const n=i.slice();return n[22]=e[t],n}function eg(i){let e,t,n,l=!i[2]&&tg(i),r=i[2]&&i[3].productSwitcherPopover&&ag(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=tg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=ag(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function tg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?KC:GC}let I=P(i,-1),T=I(i),V=i[0],E=[];for(let H=0;H<V.length;H+=1)E[H]=rg(xh(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),T.c(),d=W(),g=S("div"),p=S("div"),b=S("ul");for(let H=0;H<E.length;H+=1)E[H].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=ei(i[9])+" svelte-156h3yc"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(H,D){A(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O].m(b,null);C||(y=[ee(r,"click",Ut(i[7])),ee(l,"click",Ut(xC))],C=!0)},p(H,D){if(I===(I=P(H,D))&&T?T.p(H,D):(T.d(1),T=I(H),T&&(T.c(),T.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=H[0];let O;for(O=0;O<V.length;O+=1){const z=xh(H,V,O);E[O]?E[O].p(z,D):(E[O]=rg(z),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=ei(H[9])+" svelte-156h3yc")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&L(e),T.d(),ut(E,H),C=!1,Qe(y)}}}function GC(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!et(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function KC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function ng(i){let e,t,n,l,r,a;function o(g,p){return g[4]?JC:jC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(g,p){A(g,e,p),h.m(e,null),w(e,t),r||(a=ee(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&L(e),h.d(),r=!1,a()}}}function jC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?QC:YC}let g=d(i,-1),p=g(i),b=h&&ig(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){A(m,e,v),p.m(e,null),A(m,n,v),A(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=ig(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&L(e),p.d(),m&&L(n),m&&L(l),b&&b.d()}}}function JC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?XC:ZC}let v=m(i,-1),C=v(i),y=d&&lg(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ne(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,I){A(P,e,I),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=ee(e,"click",i[16]),p=!0)},p(P,I){v===(v=m(P,I))&&C?C.p(P,I):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),I&1&&(d=P[13](P[22])),d?y?y.p(P,I):(y=lg(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function YC(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function QC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function ig(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function ZC(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function XC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function lg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function rg(i){let e,t=i[22].label&&ng(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ng(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function ag(i){let e,t;return e=new dp({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function $C(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&eg(i);return{c(){a&&a.c(),t=ke()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=ee(zC,"resize",fs),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=eg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ve(),U(a,1,1,()=>{a=null}),we())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){a&&a.d(o),o&&L(t),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const xC=()=>{};function e3(i,e,t){const n=Yt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=kt("store"),h=kt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;rn(async()=>{pn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),I()),fs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{rt.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return It.getTranslation(D.label)}function P(D){return It.getTranslation(D.subTitle)}function I(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function T(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return be.getNodeHref(D)}const E=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,fs,d,v,C,y,P,T,V,E,H]}class pp extends Rt{constructor(e){super(),Et(this,e,e3,$C,Tt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return fs}}function sg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function t3(i){let e,t,n;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){A(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:He,d(l){l&&L(e),i[15](null),t=!1,n()}}}function n3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){A(t,e,n),e.focus()},p:He,d(t){t&&L(e)}}}function i3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[19](e)},p:He,d(t){t&&L(e),i[19](null)}}}function l3(i){let e,t,n,l=i[4]&&og(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[5])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=og(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function og(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ug(sg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=sg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ug(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ut(n,l),i[18](null)}}}function r3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function a3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(o3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Le(r,l),b&16&&c!==(c=p[21].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function ug(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?r3:a3}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Qe(l)}}}function s3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?n3:t3}let I=P(i),T=I(i);function V(D,O){return D[8].isCustomSearchRenderer?i3:l3}let E=V(i),H=E(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),T.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),g=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),T.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),A(D,d,O),A(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Ut(u3)),ee(b,"click",i[6]),ee(p,"click",Ut(f3))],C=!0)},p(D,[O]){I===(I=P(D))&&T?T.p(D,O):(T.d(1),T=I(D),T&&(T.c(),T.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:He,o:He,d(D){D&&L(e),T.d(),H.d(),D&&L(d),D&&L(g),C=!1,Qe(y)}}}const o3=()=>{},u3=()=>{},f3=()=>{};function c3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Yt();let g={},p;rn(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),jn(()=>{t(7,g=h),p||t(8,p=new rp(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function I(D){Je[D?"unshift":"push"](()=>{a=D,t(0,a)})}const T=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){Je[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){Je[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,I,T,V,E,H]}class d3 extends Rt{constructor(e){super(),Et(this,e,c3,s3,Tt,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function fg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function h3(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=S("input"),t=W(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=S("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-qeg9jv"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[23](e),A(p,t,b),A(p,n,b),w(n,l),A(p,r,b),A(p,a,b),w(a,o),A(p,c,b),A(p,h,b),d||(g=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(o,"click",i[15])],d=!0)},p:He,d(p){p&&L(e),i[23](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(h),d=!1,Qe(g)}}}function g3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){A(t,e,n)},p:He,d(t){t&&L(e)}}}function _3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[28](e)},p:He,d(t){t&&L(e),i[28](null)}}}function p3(i){let e,t,n,l=i[3]&&cg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-qeg9jv"),f(e,"aria-hidden",n=!i[4])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=cg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function cg(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=dg(fg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=fg(l,t,a);n[a]?n[a].p(o,r):(n[a]=dg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ut(n,l),i[27](null)}}}function m3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new _r(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function b3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(w3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Le(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function dg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?m3:b3}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Qe(l)}}}function hg(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-qeg9jv")},m(c,h){A(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Ut(S3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Qe(o)}}}function gg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(h,d){A(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Ut(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(h){h&&L(e),o=!1,c()}}}function v3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?g3:h3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?_3:p3}let y=C(i),P=y(i),I=!i[5]&&hg(i),T=i[5]&&gg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),I&&I.c(),h=W(),T&&T.c(),d=ke(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,E),I&&I.m(V,E),A(V,h,E),T&&T.m(V,E),A(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Ut(k3))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?I&&(I.d(1),I=null):I?I.p(V,E):(I=hg(V),I.c(),I.m(h.parentNode,h)),V[5]?T?T.p(V,E):(T=gg(V),T.c(),T.m(d.parentNode,d)):T&&(T.d(1),T=null)},i:He,o:He,d(V){V&&L(e),v.d(),P.d(),V&&L(c),I&&I.d(V),V&&L(h),T&&T.d(V),V&&L(d),g=!1,Qe(p)}}}const w3=()=>{},k3=()=>{},S3=()=>{};function C3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Yt();let g=dl.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=kt("getTranslation");wi(i,m,fe=>t(10,n=fe));let v;rn(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const fe=document.querySelector(".lui-global-search");fe&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(fe)}),jn(()=>{t(8,b=h),v||t(9,v=new rp(b,d)),v.getCustomRenderer(),T()});function C(fe,ne,se){v.renderCustomSearchItem(fe,ne,se)}function y(){v.closeSearchResult()}function P(fe){v.onKeyUp(fe,r)}function I(){b&&le.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function T(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(fe){v.onSearchResultItemSelected(fe)}function H(fe,ne){v.handleKeydown(fe,ne,a,c)}function D(fe){v.onActionClick(fe)}function O(){v.toggleSearch(p,r,a,o)}const z=fe=>P(fe);function Z(fe){Je[fe?"unshift":"push"](()=>{a=fe,t(0,a)})}const Q=()=>T(),ce=(fe,ne)=>E(fe),$=(fe,ne)=>H(fe,ne);function G(fe){Je[fe?"unshift":"push"](()=>{c=fe,t(2,c)})}function j(fe){Je[fe?"unshift":"push"](()=>{o=fe,t(1,o)})}const ae=()=>O();return i.$$set=fe=>{"searchResult"in fe&&t(3,l=fe.searchResult),"displaySearchResult"in fe&&t(4,r=fe.displaySearchResult),"inputElem"in fe&&t(0,a=fe.inputElem),"customSearchItemRendererSlot"in fe&&t(1,o=fe.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in fe&&t(2,c=fe.customSearchItemRendererSlotContainer),"globalSearchConfig"in fe&&t(20,h=fe.globalSearchConfig),"isSearchFieldVisible"in fe&&t(5,p=fe.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,I,T,V,E,H,h,D,z,Z,Q,ce,$,G,j,ae]}class y3 extends Rt{constructor(e){super(),Et(this,e,C3,v3,Tt,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function _g(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?I3:P3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function P3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),et(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function I3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function pg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new ti({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=W(),Ue(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Me(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Fe(r)}}}function N3(i){let e,t,n,l=i[0].icon&&_g(i),r=(!i[0].icon||i[0].showLabel)&&pg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=_g(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=pg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function T3(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Go extends Rt{constructor(e){super(),Et(this,e,T3,N3,Tt,{node:0})}}const{Boolean:mp,window:mg}=_l;function bg(i,e,t){const n=i.slice();return n[106]=e[t],n[108]=t,n}function vg(i,e,t){const n=i.slice();return n[106]=e[t],n[109]=e,n[108]=t,n}function L3(i){let e,t;return e=new cp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[98]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&wg(i);function v(E){i[56](E)}let C={pathData:i[29],pathParams:i[30],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new JS({props:C}),Je.push(()=>wt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[38]),l.$on("handleClick",i[36]);let y=i[18]&&i[19]&&kg(i),P=(!i[0]||i[1])&&Sg(i),I=(i[18]||i[7]&&i[29].length>0)&&yg(i),T=(i[0]||i[16])&&Hg(i),V=i[12]&&Wg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Ue(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),h=W(),I&&I.c(),d=W(),T&&T.c(),g=W(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(E,H){A(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),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,h),I&&I.m(c,null),w(c,d),T&&T.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=wg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&536870912&&(D.pathData=E[29]),H[0]&1073741824&&(D.pathParams=E[30]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],vt(()=>r=!1)),l.$set(D),E[18]&&E[19]?y?(y.p(E,H),H[0]&786432&&R(y,1)):(y=kg(E),y.c(),R(y,1),y.m(e,o)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Sg(E),P.c(),R(P,1),P.m(c,h)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),E[18]||E[7]&&E[29].length>0?I?(I.p(E,H),H[0]&537133184&&R(I,1)):(I=yg(E),I.c(),R(I,1),I.m(c,d)):I&&(ve(),U(I,1,1,()=>{I=null}),we()),E[0]||E[16]?T?(T.p(E,H),H[0]&65537&&R(T,1)):(T=Hg(E),T.c(),R(T,1),T.m(c,g)):T&&(ve(),U(T,1,1,()=>{T=null}),we()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Wg(E),V.c(),R(V,1),V.m(c,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(I),R(T),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(I),U(T),U(V),b=!1},d(E){E&&L(e),m&&m.d(),Fe(l),y&&y.d(),P&&P.d(),I&&I.d(),T&&T.d(),V&&V.d()}}}function wg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){A(r,e,a),w(e,t),n||(l=ee(e,"click",i[51]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&L(e),n=!1,l()}}}function kg(i){let e,t,n,l,r,a,o,c;function h(v){i[57](v)}function d(v){i[58](v)}function g(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.customSearchItemRendererSlot=i[22]),t=new y3({props:m}),Je.push(()=>wt(t,"isSearchFieldVisible",h,i[20])),Je.push(()=>wt(t,"searchResult",d,i[24])),Je.push(()=>wt(t,"displaySearchResult",g,i[23])),Je.push(()=>wt(t,"inputElem",p,i[21])),Je.push(()=>wt(t,"customSearchItemRendererSlot",b,i[22])),t.$on("toggleSearch",i[62]),t.$on("handleSearchNavigation",i[63]),t.$on("closeSearchResult",i[64]),{c(){e=S("div"),Ue(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Me(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],vt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],vt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],vt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],vt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],vt(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Fe(t)}}}function Sg(i){let e,t,n,l,r=i[18]&&!i[19]&&Cg(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 _p({props:o}),Je.push(()=>wt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[74]),{c(){r&&r.c(),e=W(),Ue(t.$$.fragment)},m(c,h){r&&r.m(c,h),A(c,e,h),Me(t,c,h),l=!0},p(c,h){c[18]&&!c[19]?r?(r.p(c,h),h[0]&786432&&R(r,1)):(r=Cg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],vt(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),Fe(t,c)}}}function Cg(i){let e,t,n,l,r,a,o;function c(m){i[65](m)}function h(m){i[66](m)}function d(m){i[67](m)}function g(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.customSearchItemRendererSlot=i[22]),e=new d3({props:b}),Je.push(()=>wt(e,"isSearchFieldVisible",c,i[20])),Je.push(()=>wt(e,"searchResult",h,i[24])),Je.push(()=>wt(e,"displaySearchResult",d,i[23])),Je.push(()=>wt(e,"inputElem",g,i[21])),Je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[22])),e.$on("toggleSearch",i[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],vt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],vt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],vt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],vt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function yg(i){let e,t,n,l=i[7]&&i[29].length>0&&Pg(i),r=(i[9]-i[10]>0||i[12]||i[45]||i[18])&&Lg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[7]&&a[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=Pg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ve(),U(l,1,1,()=>{l=null}),we()),a[9]-a[10]>0||a[12]||a[45]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&16384&&R(r,1)):(r=Lg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Pg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Tg(vg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1207960032|o[1]&917584){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=vg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Tg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function Ig(i){let e,t,n,l;const r=[R3,E3],a=[];function o(c,h){return c[106].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function E3(i){let e,t,n,l,r;const a=[V3,D3],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){A(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&L(e),o[t].d()}}}function R3(i){let e=i[106].visibleChildren.filter(qg).length>0,t,n,l=e&&Ng(i);return{c(){l&&l.c(),t=ke()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(qg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Ng(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function D3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[79](v,i[106],i[109],i[108])}let b={};i[106]!==void 0&&(b.node=i[106]),t=new Go({props:b}),Je.push(()=>wt(t,"node",p,i[106])),r=new Nn({props:{node:i[106]}});function m(){return i[80](i[106])}return{c(){e=S("button"),Ue(t.$$.fragment),l=W(),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=re.getTestId(i[106]))},m(v,C){A(v,e,C),Me(t,e,null),w(e,l),Me(r,e,null),h=!0,d||(g=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[106],vt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[106]),r.$set(P),(!h||C[0]&128&&a!==(a=i[50](i[106],i[48](i[106]))))&&f(e,"title",a),(!h||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),(!h||C[0]&128&&c!==(c=re.getTestId(i[106])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&L(e),Fe(t),Fe(r),d=!1,g()}}}function V3(i){let e,t,n,l,r,a,o,c,h,d,g,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 Go({props:m}),Je.push(()=>wt(t,"node",b,i[106])),r=new Nn({props:{node:i[106]}});function v(...C){return i[78](i[106],...C)}return{c(){e=S("a"),Ue(t.$$.fragment),l=W(),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",h=re.getTestId(i[106]))},m(C,y){A(C,e,y),Me(t,e,null),w(e,l),Me(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[106],vt(()=>n=!1)),t.$set(P);const I={};y[0]&128&&(I.node=i[106]),r.$set(I),(!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&&h!==(h=re.getTestId(i[106])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&L(e),Fe(t),Fe(r),g=!1,p()}}}function Ng(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(D){i[75](D,i[106],i[109],i[108])}let E={};i[106]!==void 0&&(E.node=i[106]),r=new Go({props:E}),Je.push(()=>wt(r,"node",V,i[106])),c=new Nn({props:{node:i[106]}});function H(){return i[76](i[108])}return v=new hp({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=W(),Ue(c.$$.fragment),b=W(),m=S("div"),Ue(v.$$.fragment),y=W(),f(l,"title",h=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",g=i[6][`dropDownPopover-${i[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=re.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(D,O){A(D,e,O),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,I||(T=[ee(l,"click",H),ee(n,"click",Ut(Q3))],I=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[106],vt(()=>a=!1)),r.$set(z);const Z={};O[0]&128&&(Z.node=i[106]),c.$set(Z),(!P||O[0]&128&&h!==(h=i[50](i[106],i[48](i[106]))))&&f(l,"title",h),(!P||O[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||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[108]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=re.getTestId(i[106])))&&f(l,"data-testid",p);const Q={};O[0]&128&&(Q.node=i[106]),O[0]&1073741824&&(Q.pathParams=i[30]),O[0]&134217728&&(Q.addNavHrefForAnchor=i[27]),v.$set(Q),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[108]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&L(e),Fe(r),Fe(c),Fe(v),I=!1,Qe(T)}}}function Tg(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Ig(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ig(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Lg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H,D;h=new Nn({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&Ag(i),z=i[45]&&(!i[0]||i[1])&&Eg(i),Z=i[7]&&Rg(i),Q=i[12]&&Mg(i),ce=i[12]&&Fg(i),$=i[14]&&Ug(i),G=(!i[0]||i[1])&&Bg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=W(),Ue(h.$$.fragment),g=W(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Z&&Z.c(),y=W(),Q&&Q.c(),I=W(),ce&&ce.c(),T=W(),$&&$.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(j,ae){A(j,e,ae),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Me(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),z&&z.m(m,null),w(m,C),Z&&Z.m(m,null),w(m,y),Q&&Q.m(m,null),w(n,I),ce&&ce.m(n,null),w(n,T),$&&$.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[81]),ee(l,"click",Ut(Z3))],H=!0)},p(j,ae){const fe={};ae[0]&2048&&(fe.node=j[11]),h.$set(fe),(!E||ae[0]&64&&d!==(d=j[6].overflowPopover||!1))&&f(a,"aria-expanded",d),j[18]&&!j[19]?O?O.p(j,ae):(O=Ag(j),O.c(),O.m(m,v)):O&&(O.d(1),O=null),j[45]&&(!j[0]||j[1])?z?z.p(j,ae):(z=Eg(j),z.c(),z.m(m,C)):z&&(z.d(1),z=null),j[7]?Z?(Z.p(j,ae),ae[0]&128&&R(Z,1)):(Z=Rg(j),Z.c(),R(Z,1),Z.m(m,y)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),j[12]?Q?Q.p(j,ae):(Q=Mg(j),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!E||ae[0]&64&&P!==(P=!j[6].overflowPopover))&&f(p,"aria-hidden",P),j[12]?ce?(ce.p(j,ae),ae[0]&4096&&R(ce,1)):(ce=Fg(j),ce.c(),R(ce,1),ce.m(n,T)):ce&&(ve(),U(ce,1,1,()=>{ce=null}),we()),j[14]?$?($.p(j,ae),ae[0]&16384&&R($,1)):($=Ug(j),$.c(),R($,1),$.m(n,V)):$&&(ve(),U($,1,1,()=>{$=null}),we()),!j[0]||j[1]?G?(G.p(j,ae),ae[0]&3&&R(G,1)):(G=Bg(j),G.c(),R(G,1),G.m(n,null)):G&&(ve(),U(G,1,1,()=>{G=null}),we())},i(j){E||(R(h.$$.fragment,j),R(Z),R(ce),R($),R(G),E=!0)},o(j){U(h.$$.fragment,j),U(Z),U(ce),U($),U(G),E=!1},d(j){j&&L(e),Fe(h),O&&O.d(),z&&z.d(),Z&&Z.d(),Q&&Q.d(),ce&&ce.d(),$&&$.d(),G&&G.d(),H=!1,Qe(D)}}}function Ag(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
|
|
58
|
+
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),n||(l=ee(t,"click",Ut(i[82])),n=!0)},p:He,d(r){r&&L(e),n=!1,l()}}}function Eg(i){let e,t,n,l,r,a,o=(i[43]?i[43]:i[44])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[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(g,p){A(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Ut(i[32])),h=!0)},p(g,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(g[45].icon&&g[47](g[45])?g[46](g[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&12288&&o!==(o=(g[43]?g[43]:g[44])+"")&&Le(c,o)},d(g){g&&L(e),h=!1,d()}}}function Rg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Og(bg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&1015828){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=bg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Og(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function Dg(i){let e,t,n,l,r;const a=[M3,O3],o=[];function c(h,d){return d[0]&128&&(e=null),h[106].isCat?(e==null&&(e=h[106].visibleChildren.filter(Y3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=ke()},m(h,d){~t&&o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(ve(),U(o[g],1,1,()=>{o[g]=null}),we()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){~t&&o[t].d(h),h&&L(l)}}}function O3(i){let e,t,n,l,r,a,o,c,h=i[48](i[106])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?U3:F3}let P=y(i,[-1,-1,-1,-1]),I=P(i);a=new Nn({props:{node:i[106]}});function T(){return i[84](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),I.c(),r=W(),Ue(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",g=i[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){A(V,e,E),w(e,t),w(t,n),I.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=ee(t,"click",mt(T)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E[0]&128&&(H.node=i[106]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[48](i[106])+"")&&Le(d,h),(!m||E[0]&128&&g!==(g=i[49](i[106])))&&f(t,"href",g),(!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){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),I.d(),Fe(a),v=!1,C()}}}function M3(i){let e,t,n,l=!i[47](i[106]),r,a,o,c,h,d=i[48](i[106])+"",g,p,b,m,v,C,y,P,I=l&&Vg(i);a=new Nn({props:{node:i[106]}});function T(){return i[83](i[106])}return{c(){e=S("li"),t=S("a"),n=S("span"),I&&I.c(),r=W(),Ue(a.$$.fragment),c=W(),h=S("span"),g=Ne(d),v=W(),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(h,"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=re.getTestId(i[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,E){A(V,e,E),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),Me(a,n,null),w(t,c),w(t,h),w(h,g),w(e,v),C=!0,y||(P=ee(t,"click",mt(T)),y=!0)},p(V,E){i=V,E[0]&128&&(l=!i[47](i[106])),l?I?I.p(i,E):(I=Vg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const H={};E[0]&128&&(H.node=i[106]),a.$set(H),(!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(g,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=re.getTestId(i[106])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){U(a.$$.fragment,V),C=!1},d(V){V&&L(e),I&&I.d(),Fe(a),y=!1,P()}}}function F3(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!et(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function U3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vg(i){let e,t,n;return{c(){e=S("img"),et(e.src,t=i[106].icon)||f(e,"src",t),f(e,"alt",n=i[106].altText?i[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!et(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[106].altText?l[106].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Og(i){let e,t,n=!(i[106].hideFromNav||i[5]&&i[106].globalNav)&&Dg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Dg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Mg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[47](b[13])||!b[13].icon)),n?H3:B3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ne(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Ut(i[31])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&L(e),p.d(),c=!1,h()}}}function B3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),et(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!et(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function H3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Fg(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 pp({props:r}),Je.push(()=>wt(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],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Ug(i){let e,t;return e=new hp({props:{node:i[15],isMobile:!0,pathParams:i[30]}}),e.$on("close",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[0]&1073741824&&(r.pathParams=n[30]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Bg(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 h={isMobile:!0,contextSwitcherToggle:i[42]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[43]!==void 0&&(h.selectedLabel=i[43]),i[44]!==void 0&&(h.defaultLabel=i[44]),e=new _p({props:h}),Je.push(()=>wt(e,"dropDownStates",a,i[6])),Je.push(()=>wt(e,"selectedLabel",o,i[43])),Je.push(()=>wt(e,"defaultLabel",c,i[44])),e.$on("toggleDropdownState",i[90]),{c(){Ue(e.$$.fragment)},m(d,g){Me(e,d,g),r=!0},p(d,g){const p={};g[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],vt(()=>t=!1)),!n&&g[1]&4096&&(n=!0,p.selectedLabel=d[43],vt(()=>n=!1)),!l&&g[1]&8192&&(l=!0,p.defaultLabel=d[44],vt(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Fe(e,d)}}}function Hg(i){let e,t,n,l,r;const a=[q3,W3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){A(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&L(e),o[n].d()}}}function W3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(I,T){return I[17].picture?G3:z3}let y=C(i),P=y(i);return g=new cp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[95]),g.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=W(),d=S("div"),Ue(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-p1ljc7")},m(I,T){A(I,e,T),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Me(g,d,null),b=!0,m||(v=[ee(r,"click",i[94]),ee(n,"click",Ut($3))],m=!0)},p(I,T){y===(y=C(I))&&P?P.p(I,T):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||T[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||T[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};T[0]&134217728&&(V.addNavHrefForAnchor=I[27]),g.$set(V),(!b||T[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(g.$$.fragment,I),b=!0)},o(I){U(g.$$.fragment,I),b=!1},d(I){I&&L(e),P.d(),Fe(g),m=!1,Qe(v)}}}function q3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?j3:K3}let g=d(i),p=g(i);return r=new nC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[93]),r.$on("userInfoUpdated",i[41]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),l=S("div"),Ue(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Me(r,l,null),o=!0,c||(h=ee(t,"click",Ut(X3)),c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){U(r.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),Fe(r),c=!1,h()}}}function z3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){A(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&L(e)}}}function G3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Mn(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&Mn(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function K3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){A(o,e,c),w(e,n),r||(a=ee(e,"click",i[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&&L(e),r=!1,a()}}}function j3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),Mn(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){A(r,e,a),n||(l=ee(e,"click",i[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&&Mn(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function Wg(i){let e,t,n;function l(a){i[96](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new pp({props:r}),Je.push(()=>wt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[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],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function J3(i){let e,t,n,l,r,a;const o=[A3,L3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(mg,"click",i[40]),ee(mg,"blur",i[40])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(ve(),U(c[p],1,1,()=>{c[p]=null}),we(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Qe(a)}}}const Y3=i=>!i.hideFromNav&&i.label,qg=i=>!i.hideFromNav&&i.label,Q3=()=>{},Z3=()=>{},X3=()=>{},$3=()=>{};function x3(i,e,t){const n=Yt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:h}=e,{showGlobalNav:d}=e,{pathData:g}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:T}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:E}=e,{nodeForMobile:H}=e,{profileItemsAvailable:D}=e,{userInfo:O={}}=e,{globalSearchConfig:z}=e,{isGlobalSearchCentered:Z}=e,{isSearchFieldVisible:Q}=e,{inputElem:ce}=e,{customSearchItemRendererSlot:$}=e,{displaySearchResult:G}=e,{searchResult:j}=e,{burgerTooltip:ae}=e,{responsiveShellbarPadding:fe}=e,ne=kt("store"),se=!1,Se,ie,Re=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:qe=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Ce=async()=>{if(g&&0<g.length){const Y=await re.generateTopNavNodes(g);t(7,v=Y.children),t(8,C=Y.selectedNode),t(9,y=Y.visibleNodeCount),t(11,I=Y.totalBadgeNode),t(10,P=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,p=g}},Pe=()=>{t(1,a=fl.isLoggedIn())};rn(()=>{pn.doOnStoreChange(ne,()=>{t(0,l=bi.isAuthorizationEnabled()),t(16,D=te.getConfigValue("navigation.profile")),t(52,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,T=te.getConfigValue("navigation.productSwitcher")),t(2,o=te.getConfigBooleanValue("settings.hideNavigation")),t(3,c=te.getConfigValue("settings.responsiveNavigation")),t(4,h=te.getConfigValue("settings.profileType")),t(26,fe=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=re.getProductSwitcherConfig()),t(18,z=te.getConfigValue("globalSearch")),t(19,Z=z&&z.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,qe=te.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Re=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),pn.doOnStoreChange(ne,()=>{Ce()},["navigation.viewgroupdata"]),Fn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&Ce()})}),jn(()=>{(!p||p!=g)&&Ce(),Pe()});let{showTopNav:Ve}=e;function ht(Y){return re.renderIconClassName(Y)}function We(Y){return re.isOpenUIiconName(Y.icon)}const ft=Y=>re.getNodeLabel(Y);function Mt(Y){return be.getNodeHref(Y,b)}function de(Y,Vt){return re.generateTooltipText(Y,Vt)}function tt(){Ke("productSwitcherPopover")}function St(){t(42,se=!se),Ke("contextSwitcherPopover")}function $t(Y){t(14,E=!0),t(15,H=Y)}function Tn(){t(14,E=!1)}function Qt(Y){n("handleClick",{node:Y})}function xt(Y){n("handleSearchNavigation",{node:Y})}function Te(Y){Qt(Y.detail.node)}function Ke(Y){const Vt=m||{},bn=!Vt[Y];Ln(),Tn(),Vt[Y]=bn,t(6,m=Vt)}function Dt(Y){Ke(Y.detail.name)}function Zt(){ce&&ce.focus()}function qt(){Q||setTimeout(()=>{Zt()}),n("toggleSearch",{isSearchFieldVisible:Q,inputElem:ce,customSearchItemRendererSlot:$})}function Ln(){const Y=m||{},Vt=Object.keys(Y);Vt&&Vt.length>0&&Vt.forEach(bn=>{Y[bn]=!1,t(6,m=Y)})}function Lt(){c==="simple"||c==="simpleMobileOnly"?Jn():zt(),gn()}function gn(){if(!re.getBurgerTooltipConfig())return;const[Y,Vt]=re.getBurgerTooltipConfig();Y&&Vt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,ae=document.body.classList.contains("lui-leftNavToggle")?Y:Vt),document.body.classList.contains("lui-semiCollapsible")&&t(25,ae=document.body.classList.contains("semiCollapsed")?Y:Vt))}function Jn(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function zt(){mi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function An(Y){const Vt=Y.detail;t(17,O=Vt||{})}function ki(Y){m=Y,t(6,m)}function Si(Y){Q=Y,t(20,Q)}function mn(Y){j=Y,t(24,j)}function Ci(Y){G=Y,t(23,G)}function yi(Y){ce=Y,t(21,ce)}function Pi(Y){$=Y,t(22,$)}function Ii(Y){Ul.call(this,i,Y)}function Ni(Y){Ul.call(this,i,Y)}function pl(Y){Ul.call(this,i,Y)}function ml(Y){Q=Y,t(20,Q)}function bl(Y){j=Y,t(24,j)}function Ti(Y){G=Y,t(23,G)}function zi(Y){ce=Y,t(21,ce)}function Gi(Y){$=Y,t(22,$)}function fi(Y){Ul.call(this,i,Y)}function vl(Y){Ul.call(this,i,Y)}function wl(Y){Ul.call(this,i,Y)}function Ki(Y){m=Y,t(6,m)}const kl=()=>Ke("contextSwitcherPopover");function Sl(Y,Vt,bn,ii){bn[ii]=Y,t(7,v)}const Cl=Y=>Ke(`dropDownPopover-${Y}`);function Li(Y,Vt,bn,ii){bn[ii]=Y,t(7,v)}const yl=(Y,Vt)=>{re.handleNavAnchorClickedWithoutMetaKey(Vt)&&Qt(Y)};function ni(Y,Vt,bn,ii){bn[ii]=Y,t(7,v)}const ci=Y=>Qt(Y),Ai=()=>Ke("overflowPopover"),di=()=>{qt(),Ke("overflowPopover")},ji=Y=>Qt(Y),K=Y=>$t(Y);function me(Y){m=Y,t(6,m)}const xe=()=>Ke("productSwitcherPopover");function Ye(Y){m=Y,t(6,m)}function gt(Y){Se=Y,t(43,Se)}function bt(Y){ie=Y,t(44,ie)}const Gt=()=>Ke("contextSwitcherPopover"),en=()=>Ke("profilePopover"),Un=()=>Ke("profilePopover"),Pl=()=>Ke("profilePopover"),Il=()=>Ke("profilePopover"),hi=()=>Ke("profilePopover");function ql(Y){m=Y,t(6,m)}const Ei=()=>Ke("productSwitcherPopover"),pr=()=>Ke("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(52,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideNavComponent"in Y&&t(2,o=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,c=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,h=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,d=Y.showGlobalNav),"pathData"in Y&&t(29,g=Y.pathData),"pathParams"in Y&&t(30,b=Y.pathParams),"dropDownStates"in Y&&t(6,m=Y.dropDownStates),"children"in Y&&t(7,v=Y.children),"selectedNode"in Y&&t(8,C=Y.selectedNode),"visibleNodeCount"in Y&&t(9,y=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,P=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,I=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,T=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,V=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,E=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,H=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,D=Y.profileItemsAvailable),"userInfo"in Y&&t(17,O=Y.userInfo),"globalSearchConfig"in Y&&t(18,z=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,Z=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,Q=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,ce=Y.inputElem),"customSearchItemRendererSlot"in Y&&t(22,$=Y.customSearchItemRendererSlot),"displaySearchResult"in Y&&t(23,G=Y.displaySearchResult),"searchResult"in Y&&t(24,j=Y.searchResult),"burgerTooltip"in Y&&t(25,ae=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,fe=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,qe=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,Ve=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&2097152&&t(28,Ve=l&&(!r||a)||!l)},[l,a,o,c,h,d,m,v,C,y,P,I,T,V,E,H,D,O,z,Z,Q,ce,$,G,j,ae,fe,qe,Ve,g,b,tt,St,$t,Tn,Qt,Te,Ke,Dt,qt,Ln,An,se,Se,ie,Re,ht,We,ft,Mt,de,Lt,r,xt,Jn,zt,ki,Si,mn,Ci,yi,Pi,Ii,Ni,pl,ml,bl,Ti,zi,Gi,fi,vl,wl,Ki,kl,Sl,Cl,Li,yl,ni,ci,Ai,di,ji,K,me,xe,Ye,gt,bt,Gt,en,Un,Pl,Il,hi,ql,Ei,pr]}class bp extends Rt{constructor(e){super(),Et(this,e,x3,J3,Tt,{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,customSearchItemRendererSlot: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 zg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function ey(i){let e,t=i[0]&&zg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=zg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(n){t&&t.d(n),n&&L(e)}}}function ty(i,e,t){let{node:n}=e;async function l(){var o,c;const r=be.mapPathToNode(rt.getCurrentPath(),n),a=await Ft.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 rn(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");fr.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class ny extends Rt{constructor(e){super(),Et(this,e,ty,ey,Tt,{node:0})}}const{window:Do}=_l;function Gg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Kg(i,e,t){const n=i.slice();return n[57]=e[t],n}function jg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Jg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Qg(i,e,t){const n=i.slice();return n[57]=e[t],n}function iy(i){const e=i.slice(),t=vp(e[54]);return e[67]=t,e}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Vo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function ly(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function Xg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&$g(i),P=Object.entries(i[0]),I=[];for(let D=0;D<P.length;D+=1)I[D]=s_(Jg(i,P,D));const T=D=>U(I[D],1,1,()=>{I[D]=null});let V=Object.entries(i[0]),E=[];for(let D=0;D<V.length;D+=1)E[D]=c_(Gg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let D=0;D<I.length;D+=1)I[D].c();r=W(),a=S("span"),o=S("div"),c=S("div"),h=S("button"),h.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
|
|
59
|
+
<span class="sap-icon--slim-arrow-down"></span>`,d=W(),g=S("div"),p=S("ul");for(let D=0;D<E.length;D+=1)E[D].c();f(h,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(D,O){A(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let z=0;z<I.length;z+=1)I[z].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let z=0;z<E.length;z+=1)E[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",mt(i[10])),ee(a,"click",by),ee(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=$g(D),y.c(),R(y,1),y.m(e,t)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),O[0]&3866829){P=Object.entries(D[0]);let z;for(z=0;z<P.length;z+=1){const Z=Jg(D,P,z);I[z]?(I[z].p(Z,O),R(I[z],1)):(I[z]=s_(Z),I[z].c(),R(I[z],1),I[z].m(l,r))}for(ve(),z=P.length;z<I.length;z+=1)T(z);we()}if(O[0]&1704173){V=Object.entries(D[0]);let z;for(z=0;z<V.length;z+=1){const Z=Gg(D,V,z);E[z]?(E[z].p(Z,O),R(E[z],1)):(E[z]=c_(Z),E[z].c(),R(E[z],1),E[z].m(p,null))}for(ve(),z=V.length;z<E.length;z+=1)H(z);we()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(I[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),I=I.filter(Boolean);for(let O=0;O<I.length;O+=1)U(I[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&L(e),y&&y.d(),ut(I,D),i[31](null),ut(E,D),i[36](null),i[37](null),i[39](null),v=!1,Qe(C)}}}function $g(i){let e,t;return e=new ny({props:{node:i[11].parent}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function ry(i){let e,t,n,l,r;const a=[oy,sy],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!hy(d[54])),e?0:1}function h(d,g){return g===0?iy(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=ke()},m(d,g){o[t].m(d,g),A(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(ve(),U(o[p],1,1,()=>{o[p]=null}),we(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){o[t].d(d),d&&L(l)}}}function ay(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=a_(Zg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=Zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=a_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function sy(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V;function E(){return i[29](i[53])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=t_(Yg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ne(o),h=W(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=S("div"),m=S("ul");for(let z=0;z<D.length;z+=1)D[z].c();y=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",g=cl(i[53],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=cl(i[53],i[2]))},m(z,Z){A(z,e,Z),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let Q=0;Q<D.length;Q+=1)D[Q].m(m,null);w(e,y),I=!0,T||(V=[ee(l,"click",mt(E)),ee(e,"click",my)],T=!0)},p(z,Z){if(i=z,(!I||Z[0]&131073)&&o!==(o=i[17](i[53])+"")&&Le(c,o),(!I||Z[0]&5&&g!==(g=cl(i[53],i[2])))&&f(l,"aria-selected",g),Z[0]&1572933){H=i[54];let Q;for(Q=0;Q<H.length;Q+=1){const ce=Yg(i,H,Q);D[Q]?(D[Q].p(ce,Z),R(D[Q],1)):(D[Q]=t_(ce),D[Q].c(),R(D[Q],1),D[Q].m(m,null))}for(ve(),Q=H.length;Q<D.length;Q+=1)O(Q);we()}(!I||Z[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!I||Z[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!I||Z[0]&5&&P!==(P=cl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!I){for(let Z=0;Z<H.length;Z+=1)R(D[Z]);I=!0}},o(z){D=D.filter(Boolean);for(let Z=0;Z<D.length;Z+=1)U(D[Z]);I=!1},d(z){z&&L(e),ut(D,z),T=!1,Qe(V)}}}function oy(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=i[54],z=[];for(let Z=0;Z<O.length;Z+=1)z[Z]=i_(Qg(i,O,Z));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),c=W(),h=S("div"),d=S("div"),g=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let Z=0;Z<z.length;Z+=1)z[Z].c();T=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=cl(i[53],i[2])),f(t,"href",o=i[20](i[67])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",I=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Z,Q){A(Z,e,Q),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<z.length;ce+=1)z[ce].m(y,null);w(e,T),V||(E=[ee(t,"click",mt(H)),ee(p,"click",mt(D)),ee(e,"click",py)],V=!0)},p(Z,Q){if(i=Z,Q[0]&131073&&l!==(l=i[17](i[53])+"")&&Le(r,l),Q[0]&5&&a!==(a=cl(i[53],i[2]))&&f(t,"aria-selected",a),Q[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),Q[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),Q[0]&1572933){O=i[54];let ce;for(ce=0;ce<O.length;ce+=1){const $=Qg(i,O,ce);z[ce]?z[ce].p($,Q):(z[ce]=i_($),z[ce].c(),z[ce].m(y,null))}for(;ce<z.length;ce+=1)z[ce].d(1);z.length=O.length}Q[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),Q[0]&9&&I!==(I=!i[3][i[53]])&&f(C,"aria-hidden",I)},i:He,o:He,d(Z){Z&&L(e),ut(z,Z),V=!1,Qe(E)}}}function xg(i){let e,t,n=i[57].label&&e_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=e_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function e_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function t_(i){let e,t,n=!i[57].hideFromNav&&xg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[20](i[57])),f(t,"aria-selected",o=i[57]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",mt(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Le(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),h=!1,d()}}}function i_(i){let e,t=!i[57].hideFromNav&&i[57].label&&n_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=n_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function l_(i){let e,t,n=i[57].label&&r_(Vo(i));return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Vo(l),r),r[0]&1&&R(n,1)):(n=r_(Vo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function r_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new ti({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),g=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),b=!0,m||(v=ee(t,"click",mt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const I={};P[0]&1&&(I.node=i[57]),o.$set(I),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&L(e),Fe(o),m=!1,v()}}}function a_(i){let e,t,n=!i[57].hideFromNav&&l_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=l_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function s_(i){let e,t,n,l,r,a;const o=[ay,ry],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!dy(g[54])),t?1:-1)}function d(g,p){return p===1?ly(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=ke()},m(g,p){~n&&c[n].m(g,p),A(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(ve(),U(c[b],1,1,()=>{c[b]=null}),we()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){~n&&c[n].d(g),g&&L(r)}}}function uy(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=u_(Kg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=W(),d=S("button"),g=S("i"),m=W(),v=S("ul");for(let z=0;z<D.length;z+=1)D[z].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=cl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"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[53]+i[56]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(z,Z){A(z,e,Z),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let Q=0;Q<D.length;Q+=1)D[Q].m(v,null);w(e,y),P=!0,I||(T=[ee(n,"click",mt(V)),ee(d,"click",mt(E))],I=!0)},p(z,Z){if(i=z,(!P||Z[0]&131073)&&r!==(r=i[17](i[53])+"")&&Le(a,r),(!P||Z[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Z[0]&5&&c!==(c=cl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Z[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Z[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Z[0]&1572933){H=i[54];let Q;for(Q=0;Q<H.length;Q+=1){const ce=Kg(i,H,Q);D[Q]?(D[Q].p(ce,Z),R(D[Q],1)):(D[Q]=u_(ce),D[Q].c(),R(D[Q],1),D[Q].m(v,null))}for(ve(),Q=H.length;Q<D.length;Q+=1)O(Q);we()}(!P||Z[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Z=0;Z<H.length;Z+=1)R(D[Z]);P=!0}},o(z){D=D.filter(Boolean);for(let Z=0;Z<D.length;Z+=1)U(D[Z]);P=!1},d(z){z&&L(e),ut(D,z),I=!1,Qe(T)}}}function fy(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=f_(jg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=jg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=f_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ut(l,a),a&&L(e)}}}function o_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function u_(i){let e,t,n=i[57].label&&o_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=o_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new ti({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Ue(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Me(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Fe(o),b=!1,m()}}}function c_(i){let e,t,n,l,r;const a=[fy,uy],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ke()},m(h,d){o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){o[t].d(h),h&&L(l)}}}function cy(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Xg(i);return{c(){r&&r.c(),e=ke()},m(a,o){r&&r.m(a,o),A(a,e,o),t=!0,n||(l=[ee(Do,"click",i[8]),ee(Do,"blur",i[8]),ee(Do,"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=Xg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){r&&r.d(a),a&&L(e),n=!1,Qe(l)}}}function cl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function dy(i){return i.some(e=>!e.hideFromNav&&e.label)}function vp(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function hy(i){return!!vp(i)}function gy(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function _y(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),gy(e)||e.classList.add("fd-popover__body--right")})}const py=i=>i.stopPropagation(),my=i=>i.stopPropagation(),by=i=>i.stopPropagation();function vy(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=re.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=kt("getTranslation");wi(i,C,Te=>t(17,n=Te));let y=kt("store"),P,I,T,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(Ke=>{Ke==="pathData"?t(1,r=Te.pathData):Ke==="context"?context=Te.context:Ke==="children"?t(0,l=Te.children):Ke==="selectedNode"?t(11,b=Te.selectedNode):Ke==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Yt();function z(Te){return re.getNodeLabel(Te)}const Z=async()=>{const Te=D.get(),Ke=await Ft.getTabNavData({...Te},Te);Ke&&(D.set({...Ke}),m=r,window.LEFTNAVDATA=Ke.groupedChildren,setTimeout(Q))},Q=()=>{if(ce(),T&&V&&E){E.classList.remove("is-active");const Te=getComputedStyle(T),Ke=T.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let Dt=0,Zt=!1;[...T.children].forEach(qt=>{const Ln=qt.getAttribute("uid");if(!Ln)return;const Lt=getComputedStyle(qt),gn=parseFloat(Lt.marginLeft)+parseFloat(Lt.marginRight);Dt+=qt.offsetWidth+gn,Dt>=Ke?(qt.classList.add("hide_element"),qt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+Ln+'"]').classList.remove("hide_element"),Zt=!0):document.querySelector('li[uid="'+Ln+'"]').classList.add("hide_element")}),Zt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{T!==void 0&&[...T.children].forEach(Ke=>{Ke.classList.remove("hide_element")})},$=()=>{P=new ResizeObserver(Te=>{for(const Ke of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",Ke.contentRect.height+"px");H&&_y()}),setTimeout(()=>{I&&P.observe(I)})},G=()=>{P&&P.disconnect()};rn(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),$(),pn.doOnStoreChange(y,()=>{Z()},["navigation.viewgroupdata"])}),Qr(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),jn(()=>{(!m||m!=r)&&Z(),(v===void 0||v!==p)&&(v=p,Z())}),Yr(()=>{G(),P?setTimeout(()=>{I&&P.observe(I)}):$()});function j(Te){return be.getNodeHref(Te,a)}function ae(Te){ne(),O("handleClick",{node:Te})}function fe(Te){let Ke={};d[Te]||(Ke[Te]=!0),t(3,d=Ke)}function ne(){t(3,d={}),t(4,g=!1)}function se(){ce(),Q()}function Se(){t(4,g=!g)}function ie(Te,Ke){const Dt=Te==="undefined",Zt=Te.indexOf(c)===0;if(Dt||Zt||Re(Ke))return!0}function Re(Te){const Ke=Te.find(qt=>le.isObject(qt.category));if(!Ke)return;const Dt=Ke.category.label||Ke.category.id;return Te.filter(qt=>qt.category===Dt&&qt.hideFromNav===!0).length===1}const qe=Te=>ae(Te),Ce=Te=>ae(Te),Pe=Te=>fe(Te),Ve=Te=>ae(Te),ht=Te=>fe(Te),We=Te=>ae(Te);function ft(Te){Je[Te?"unshift":"push"](()=>{E=Te,t(15,E)})}const Mt=Te=>ae(Te),de=(Te,Ke)=>fe(Te+Ke),tt=(Te,Ke)=>fe(Te+Ke),St=Te=>ae(Te);function $t(Te){Je[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function Tn(Te){Je[Te?"unshift":"push"](()=>{T=Te,t(13,T)})}const Qt=Te=>fe(Te.name);function xt(Te){Je[Te?"unshift":"push"](()=>{I=Te,t(12,I)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,ae,fe,ne,se,Se,b,I,T,V,E,H,n,C,z,j,ie,o,a,p,qe,Ce,Pe,Ve,ht,We,ft,Mt,de,tt,St,$t,Tn,Qt,xt]}class wp extends Rt{constructor(e){super(),Et(this,e,vy,cy,Tt,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function d_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function h_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function g_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&__(i),o=i[0]&&i[3].length>=0&&v_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=W(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){A(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=__(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=v_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),a&&a.d(),o&&o.d()}}}function __(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=b_(h_(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-fn8cef")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=h_(l,t,a);n[a]?n[a].p(o,r):(n[a]=b_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ut(n,l)}}}function p_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&m_(i);function P(...I){return i[17](i[23],...I)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,T){A(I,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,h),w(e,p),v||(C=ee(t,"click",P),v=!0)},p(I,T){i=I,i[23].icon?y?y.p(i,T):(y=m_(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&&g!==(g=i[7](i[23].label))&&f(t,"title",g),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),T&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&L(e),y&&y.d(),v=!1,C()}}}function m_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?ky:wy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function wy(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),et(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function ky(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-fn8cef")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function b_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&p_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=p_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function v_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=S_(d_(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-fn8cef")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=d_(l,t,a);n[a]?n[a].p(o,r):(n[a]=S_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ut(n,l)}}}function w_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&k_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,T){A(I,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,h),w(e,p),v||(C=ee(n,"click",mt(P)),v=!0)},p(I,T){i=I,i[23].icon?y?y.p(i,T):(y=k_(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&&g!==(g=i[7](i[23].label))&&f(t,"title",g),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),T&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&L(e),y&&y.d(),v=!1,C()}}}function k_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?Cy:Sy}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function Sy(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),et(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!et(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Cy(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-fn8cef")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function S_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&w_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=w_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function yy(i){let e,t,n,l=i[2]&&g_(i);return{c(){l&&l.c(),e=ke()},m(r,a){l&&l.m(r,a),A(r,e,a),t||(n=[ee(window,"click",cs),ee(window,"blur",cs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=g_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:He,o:He,d(r){l&&l.d(r),r&&L(e),t=!1,Qe(n)}}}function cs(){}function Py(i,e,t){let n;const l=Yt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=kt("store"),g=kt("getTranslation");wi(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await re.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};rn(()=>{pn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),jn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return re.renderIconClassName(O)}function P(O){return re.isOpenUIiconName(O.icon)}function I(O){return It.getTranslation(O.label)}function T(O){return be.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,z)=>{re.handleNavAnchorClickedWithoutMetaKey(z)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,cs,v,n,g,y,P,I,T,b,m,o,E,H,D]}class Iy extends Rt{constructor(e){super(),Et(this,e,Py,yy,Tt,{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 cs}}function Ny(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){A(t,e,n),i[4](e)},p:He,i:He,o:He,d(t){t&&L(e),i[4](null)}}}function Ty(i,e,t){const n=Yt();let{pathData:l}=e,r,a={},o,c=kt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};rn(()=>{pn.doOnStoreChange(c,()=>{},["navigation"])}),jn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=rt.getCurrentPath();for(let I=y;I<l.length;I++){const T=l[I],V=be.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?It.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,g),C=[];for(let I=y;I<l.length;I++){const T=l[I],V=be.mapPathToNode(P,T);if(T.titleResolver){const H=await Ft.extractDataFromPath(V),D=be.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,T.context),H.pathData.pathParams);try{const O=await re.fetchNodeTitleData(T,D);C.push({label:O.label,node:T,route:V});continue}catch{}}const E=await p(T);E&&C.push({label:E,node:T,route:V})}P===rt.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,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(I=>{a[I.route]=I}))}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 It.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=be.mapPathToNode(rt.getCurrentPath(),v),y=await Ft.extractDataFromPath(C);return be.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){Je[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class kp extends Rt{constructor(e){super(),Et(this,e,Ty,Ny,Tt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Ho="not_checked";Fn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Ho="disabled"):i.data==="luigi.tpcEnabled"&&(Ho="enabled")},!1);function Ly(){return Ho}const{Boolean:Ay,window:C_}=_l;function y_(i,e,t){const n=i.slice();return n[153]=e[t],n[155]=t,n}function P_(i){let e,t;return e=new d2({props:{alertQueue:i[25]}}),e.$on("alertDismiss",i[36]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&33554432&&(r.alertQueue=n[25]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function I_(i){let e,t;function n(){return i[70](i[155])}function l(...a){return i[71](i[155],...a)}function r(...a){return i[72](i[155],...a)}return e=new ap({props:{settings:i[153].mfModal.settings,nodepath:i[153].mfModal.nodepath,modalIndex:i[155],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Ue(e.$$.fragment)},m(a,o){Me(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&134217728&&(c.settings=i[153].mfModal.settings),o[0]&134217728&&(c.nodepath=i[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Fe(e,a)}}}function N_(i){let e,t,n=i[153].mfModal.displayed&&I_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[153].mfModal.displayed?n?(n.p(l,r),r[0]&134217728&&R(n,1)):(n=I_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function T_(i){let e,t;return e=new ap({props:{settings:i[28].settings,nodepath:i[28].nodepath,$$slots:{default:[Ey]},$$scope:{ctx:i}}}),e.$on("close",i[44]),e.$on("drawerState",i[43]),e.$on("iframeCreated",i[41]),e.$on("wcCreated",i[42]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.settings=n[28].settings),l[0]&268435456&&(r.nodepath=n[28].nodepath),l[0]&4096|l[5]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Ey(i){let e,t;return e=new Wl({props:{area:"drawer",disable:i[12]}}),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function L_(i){let e,t;return e=new _2({props:{settings:i[26].settings}}),e.$on("modalConfirm",i[73]),e.$on("modalDismiss",i[74]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.settings=n[26].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function A_(i){let e,t,n;function l(a){i[75](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new E2({props:r}),Je.push(()=>wt(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],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Fe(e,a)}}}function Ry(i){let e,t,n,l,r,a,o,c;e=new Wl({props:{disable:i[12],$$slots:{default:[Vy]},$$scope:{ctx:i}}});let h=i[10]&&R_(),d=!i[24]&&D_(i),g=!i[20]&&V_(i),p=!(i[20]||i[21])&&M_(i),b=i[15]&&!i[20]&&F_(i);return{c(){Ue(e.$$.fragment),t=W(),h&&h.c(),n=W(),d&&d.c(),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=ke()},m(m,v){Me(e,m,v),A(m,t,v),h&&h.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),g&&g.m(m,v),A(m,r,v),p&&p.m(m,v),A(m,a,v),b&&b.m(m,v),A(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?h||(h=R_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[24]?d&&(ve(),U(d,1,1,()=>{d=null}),we()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=D_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?g&&(ve(),U(g,1,1,()=>{g=null}),we()):g?(g.p(m,v),v[0]&1048576&&R(g,1)):(g=V_(m),g.c(),R(g,1),g.m(r.parentNode,r)),m[20]||m[21]?p&&(ve(),U(p,1,1,()=>{p=null}),we()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=M_(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=F_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ve(),U(b,1,1,()=>{b=null}),we())},i(m){c||(R(e.$$.fragment,m),R(d),R(g),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(g),U(p),U(b),c=!1},d(m){Fe(e,m),m&&L(t),h&&h.d(m),m&&L(n),d&&d.d(m),m&&L(l),g&&g.d(m),m&&L(r),p&&p.d(m),m&&L(a),b&&b.d(m),m&&L(o)}}}function Dy(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=!i[24]&&U_(i),v=!(i[20]||i[21])&&B_(i),C=i[19]&&H_(i);g=new Wl({props:{disable:i[12],$$slots:{default:[Oy]},$$scope:{ctx:i}}});let y=i[10]&&z_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=W(),a=S("div"),v&&v.c(),o=W(),c=S("div"),C&&C.c(),h=W(),d=S("div"),Ue(g.$$.fragment),p=W(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1dwxj5w"),f(c,"class","fd-tool-layout__content-container svelte-1dwxj5w"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1dwxj5w"),f(e,"class","lui-core-layout svelte-1dwxj5w")},m(P,I){A(P,e,I),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,h),w(c,d),Me(g,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,I){P[24]?m&&(ve(),U(m,1,1,()=>{m=null}),we()):m?(m.p(P,I),I[0]&16777216&&R(m,1)):(m=U_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(ve(),U(v,1,1,()=>{v=null}),we()):v?(v.p(P,I),I[0]&3145728&&R(v,1)):(v=B_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,I),I[0]&524288&&R(C,1)):(C=H_(P),C.c(),R(C,1),C.m(c,h)):C&&(ve(),U(C,1,1,()=>{C=null}),we());const T={};I[0]&4096&&(T.disable=P[12]),I[0]&1177600|I[5]&2&&(T.$$scope={dirty:I,ctx:P}),g.$set(T),P[10]?y||(y=z_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(g.$$.fragment,P),b=!0)},o(P){U(m),U(v),U(C),U(g.$$.fragment,P),b=!1},d(P){P&&L(e),m&&m.d(),v&&v.d(),C&&C.d(),Fe(g),y&&y.d()}}}function E_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Vy(i){let e,t,n,l,r,a,o,c,h;t=new Wl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&E_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=ke(),f(l,"class","wcContainer svelte-1dwxj5w"),f(e,"class","fd-page iframeContainer svelte-1dwxj5w"),f(e,"tabindex","0"),Jt(e,"lui-split-view",i[11].displayed),Jt(e,"lui-collapsed",i[11].collapsed)},m(g,p){A(g,e,p),Me(t,e,null),w(e,n),w(e,l),A(g,r,p),d&&d.m(g,p),A(g,a,p),o=!0,c||(h=j_(i[45].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&Jt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&Jt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=E_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ve(),U(d,1,1,()=>{d=null}),we())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&L(e),Fe(t),g&&L(r),d&&d.d(g),g&&L(a),c=!1,h()}}}function R_(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-1dwxj5w"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function
|
|
61
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1dwxj5w"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function D_(i){let e,t,n,l,r,a,o;function c(m){i[81](m)}function h(m){i[82](m)}function d(m){i[83](m)}function g(m){i[84](m)}function p(m){i[85](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.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),Je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),Je.push(()=>wt(e,"displaySearchResult",h,i[3])),Je.push(()=>wt(e,"searchResult",d,i[4])),Je.push(()=>wt(e,"inputElem",g,i[1])),Je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[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],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function V_(i){let e,t,n,l;e=new Iy({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]);let r=i[19]&&O_(i);return{c(){Ue(e.$$.fragment),t=W(),r&&r.c(),n=ke()},m(a,o){Me(e,a,o),A(a,t,o),r&&r.m(a,o),A(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=O_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){Fe(e,a),a&&L(t),r&&r.d(a),a&&L(n)}}}function O_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function M_(i){let e,t;return e=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[30]),e.$on("resizeTabNav",i[31]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function F_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function U_(i){let e,t,n,l,r,a,o;function c(m){i[76](m)}function h(m){i[77](m)}function d(m){i[78](m)}function g(m){i[79](m)}function p(m){i[80](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.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),Je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),Je.push(()=>wt(e,"displaySearchResult",h,i[3])),Je.push(()=>wt(e,"searchResult",d,i[4])),Je.push(()=>wt(e,"inputElem",g,i[1])),Je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[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],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Fe(e,m)}}}function B_(i){let e,t,n,l;return n=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[30]),n.$on("resizeTabNav",i[31]),{c(){e=S("div"),t=S("div"),Ue(n.$$.fragment),f(t,"class","lui-box svelte-1dwxj5w"),f(e,"class","fd-tool-layout__navigation-container svelte-1dwxj5w")},m(r,a){A(r,e,a),w(e,t),Me(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&L(e),Fe(n)}}}function H_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function W_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[30]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function q_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[32]),e.$on("statusChanged",i[33]),e.$on("wcCreated",i[34]),{c(){Ue(e.$$.fragment)},m(n,l){Me(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Fe(e,n)}}}function Oy(i){let e,t,n,l,r,a,o,c,h,d;t=new Wl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&W_(i),p=i[11].displayed&&q_(i);return{c(){e=S("div"),Ue(t.$$.fragment),n=W(),l=S("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=ke(),f(l,"class","wcContainer svelte-1dwxj5w"),f(e,"class","fd-page iframeContainer svelte-1dwxj5w"),f(e,"tabindex","0"),Jt(e,"lui-split-view",i[11].displayed),Jt(e,"lui-collapsed",i[11].collapsed)},m(b,m){A(b,e,m),Me(t,e,null),w(e,n),w(e,l),A(b,r,m),g&&g.m(b,m),A(b,a,m),p&&p.m(b,m),A(b,o,m),c=!0,h||(d=j_(i[45].call(null,e)),h=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&Jt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Jt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=W_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(ve(),U(g,1,1,()=>{g=null}),we()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=q_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ve(),U(p,1,1,()=>{p=null}),we())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&L(e),Fe(t),b&&L(r),g&&g.d(b),b&&L(a),p&&p.d(b),b&&L(o),h=!1,d()}}}function z_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
62
62
|
<div class="fd-busy-indicator__circle"></div>
|
|
63
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1dwxj5w"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function Vy(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[25]&&i[25].length&&C_(i),b=i[27],m=[];for(let E=0;E<b.length;E+=1)m[E]=P_(S_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[28].displayed&&i[28].settings.isDrawer&&I_(i),y=i[26].displayed&&N_(i),P=i[17].displayed&&T_(i);const I=[Ey,Ay],T=[];function V(E,H){return E[29]?0:1}return o=V(i),c=T[o]=I[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[23]),f(e,"class","svelte-1dwxj5w"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[21]),jt(e,"no-top-nav",i[24]),jt(e,"no-animation",i[22]),jt(e,"btp-layout",i[29])},m(E,H){A(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),T[o].m(e,null),h=!0,d||(g=[ee(k_,"resize",i[35]),ee(k_,"keydown",i[46])],d=!0)},p(E,H){if(E[25]&&E[25].length?p?(p.p(E,H),H[0]&33554432&&R(p,1)):(p=C_(E),p.c(),R(p,1),p.m(e,t)):p&&(be(),U(p,1,1,()=>{p=null}),ve()),H[0]&134221824|H[1]&896){b=E[27];let D;for(D=0;D<b.length;D+=1){const O=S_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=P_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(be(),D=b.length;D<m.length;D+=1)v(D);ve()}E[28].displayed&&E[28].settings.isDrawer?C?(C.p(E,H),H[0]&268435456&&R(C,1)):(C=I_(E),C.c(),R(C,1),C.m(e,l)):C&&(be(),U(C,1,1,()=>{C=null}),ve()),E[26].displayed?y?(y.p(E,H),H[0]&67108864&&R(y,1)):(y=N_(E),y.c(),R(y,1),y.m(e,r)):y&&(be(),U(y,1,1,()=>{y=null}),ve()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=T_(E),P.c(),R(P,1),P.m(e,a)):P&&(be(),U(P,1,1,()=>{P=null}),ve()),c.p(E,H),(!h||H[0]&8388608)&&f(e,"configversion",E[23]),(!h||H[0]&1048576)&&jt(e,"no-nav",E[20]),(!h||H[0]&2097152)&&jt(e,"no-side-nav",E[21]),(!h||H[0]&16777216)&&jt(e,"no-top-nav",E[24]),(!h||H[0]&4194304)&&jt(e,"no-animation",E[22])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(Ty);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&L(e),p&&p.d(),ft(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Je(g)}}}function Oy(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Z,Q,ce,$=!0,G=!1,K,fe,oe,ne=[],ae={isDirty:!1,persistUrl:null},Se,ie,Re=!1,qe,ye,Pe={},Ve,ht,We,et=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Nt}=e,{inputElem:ge}=e,{customSearchItemRendererSlot:lt}=e,{displaySearchResult:St}=e,{searchResult:Zt}=e,{storedUserSettings:fn}=e;const zt=async B=>{const ue=B.iframe.luigi,Ee=ue.currentNode&&ue.currentNode.userSettingsGroup,ze=await te.readUserSettings(),Oe=Ee&&typeof ze=="object"&&ze!==null,de=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Oe?ze[Ee]:null,anchor:al.getAnchor(),cssVariables:await Uo.getCSSVariables()});return Ae.specialIframeTypes.map(Ie=>Ie.iframeConfigKey).forEach(Ie=>{de[Ie]=B[Ie]||!1}),de},cn=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||T,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await zt(B)),authData:sl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Ae.sendMessageToIframe(B.iframe,Ee)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ue)},Ke=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Ln(B.params),ze=at.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?le.replaceVars(ze,ue.iframe.luigi.pathParams,":",!1):ze,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:T}),ue.iframe.pv="pv"}},Rt=(B,ue,Ee,ze)=>{let Oe=Ln(B.params,Ee,ze);const{preventHistoryEntry:de,preserveQueryParams:Ie,preventContextUpdate:kt}=B.params,Ht={keepBrowserHistory:!de,navSync:$,preventContextUpdate:kt};return Oe=le.addLeadingSlash(Oe),Oe=Ie?me.composeSearchParamsToRoute(Oe):Oe,Ke(B,ue),at.navigateTo(Oe,Ht)},Xt=B=>B.split("?")[0],Tt=(B,ue)=>{if(B.length===0)return!1;const Ee=ue.startsWith("/")?ue:`/${ue}`,ze=[...B].pop();return[Xt(ze.path),Xt(ze.nextPath)].includes(Xt(Ee))},jn=B=>{ae&&ae.dirtySet&&(B?ae.dirtySet.delete(B):ae.dirtySet.clear())},$t=B=>new Promise((ue,Ee)=>{Wl(B)?Ti().then(()=>{jn(),ue()},()=>{Ee()}):ue()}),dn=()=>({get:()=>({unsavedChanges:ae,hideNav:ni,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:fe,context:T,pathParams:E,hideSideNav:J,isolateView:Z,pageErrorHandler:Q,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ie,isNavigateBack:G,goBackContext:K,isNavigationSyncEnabled:$}),set:B=>{B&&(t(22,ke=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ni=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,fe=B.navigationPath):ue==="context"?T=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideSideNav"?(J!=B.hideSideNav&&(t(22,ke=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(21,J=B.hideSideNav)):ue==="isolateView"?Z=B.isolateView:ue==="pageErrorHandler"?Q=B.pageErrorHandler:ue==="previousNodeValues"?ce=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(We),We=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(We)):ue==="tabNav"?t(15,ie=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?K=B.goBackContext:ue==="isNavigationSyncEnabled"&&($=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Wl,getUnsavedChangesModalPromise:$t,showUnsavedChangesModal:Ti,showAlert:Sl,prepareInternalData:zt,dispatch:n}),Jn=(B,ue)=>{mn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Gn.deleteCache();const ze=at.getCurrentPath();at.handleRouteChange(ze,dn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ee,ze)=>{const{withoutSync:Oe,preventContextUpdate:de}=ze||{};Tt(ne,Ee)||(ne=[],oi.removeInactiveIframes(B));for(let kt=Y.length;kt--;)Gi(kt);Zr.removeBackdrop(),fi(),at.handleRouteChange(Ee,dn(),B,ue,Oe,de)})},Yt=(B,ue)=>le.replaceVars(at.getNodePath(B),ue,":",!1),Ln=(B,ue,Ee)=>{const ze=ue||D,Oe=Ee||E;let de=fe;if(ue){let kt=ue.parent;for(de=[ue];kt;)de.push(kt),kt=kt.parent;de=[...de].reverse()}let Ie=B.link;if(B.fromVirtualTreeRoot){const kt=[...de].reverse().find(Ht=>Ht.virtualTree);if(!kt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ie=at.concatenatePath(Yt(kt,Oe),B.link)}else if(B.fromParent)Ie=at.concatenatePath(Yt(ze.parent,Oe),B.link);else if(B.fromClosestContext){const kt=[...de].reverse().find(Ht=>Ht.navigationContext&&Ht.navigationContext.length>0);Ie=at.concatenatePath(Yt(kt,Oe),B.link)}else if(B.fromContext){const kt=B.fromContext,Ht=[...de].reverse().find(Cr=>kt===Cr.navigationContext);Ie=at.concatenatePath(Yt(Ht,Oe),B.link)}else B.intent?Ie=me.getIntentPath(B.link):B.relative&&(Ie=at.concatenatePath(Yt(ze,Oe),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ie+=Ie.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((kt,Ht)=>{Ie+=encodeURIComponent(me.getContentViewParamPrefix()+kt[0])+"="+encodeURIComponent(kt[1])+(Ht<Object.keys(B.nodeParams).length-1?"&":"")})),Ie},vi=B=>{const ue=B.detail.node;$t().then(()=>{if(Ct(),ue.openNodeInModal){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);vn(Ee,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,Xr(Ee,ue.drawer)}else dn().set({isNavigationSyncEnabled:!0}),at.handleRouteClick(ue,dn())},()=>{})},wi=()=>{t(16,Re=!Re)};Hr("handleNavigation",Rt);const bn=B=>B?!0:(console.warn("No search provider defined."),!1),ki=()=>{bn(ye)&&t(0,Nt=!1)},Si=()=>{bn(ye)&&ge&&(t(0,Nt=!0),ge.focus())},Ci=()=>{bn(ye)&&ge&&(t(1,ge.value="",ge),Ii())},yi=()=>{t(0,Nt=!Nt),E2.clearSearchField()},Pi=()=>{if(bn(ye)&&ge)return ge.value},hl=B=>{bn(ye)&&ge&&(t(1,ge.value=B,ge),le.isFunction(ye.onInput)?ye.onInput():console.error("onInput is not a function. Please check the global search configuration."))},gl=B=>{bn(ye)&&ge&&t(1,ge.placeholder=B,ge)},_l=B=>{if(bn(ye))if(B&&B.length>0)if(le.isFunction(ye.customSearchResultRenderer)){let ue={fireItemSelected:Ee=>{ye.onSearchResultItemSelected(Ee)}};ye.customSearchResultRenderer(B,lt,ue)}else t(3,St=!0),t(4,Zt=B);else console.warn("Search result array is empty.")},Ii=()=>{if(bn(ye)&&(t(3,St=!1),t(4,Zt=[]),lt))for(;lt.lastElementChild;)lt.removeChild(lt.lastElementChild)},Hi=B=>{let ue=B.detail.node,Ee={params:{link:ue.link,nodeParams:ue.params}};Rt(Ee)},Wi=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ct.getDefaultData().mfSplitView),ct.open(dn(),B,ue)},fi=()=>{ct.close(dn())},pl=()=>{ct.collapse(dn()),t(11,o.collapsed=!0,o)},ml=()=>{ct.expand(dn()),t(11,o.collapsed=!1,o)},qi=()=>o.displayed?o.collapsed:!1,bl=()=>o.displayed?!o.collapsed:!1,vl=()=>o.displayed,wl=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ni=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)},kl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ni,J,ke,Ye,tt,pt;const Ct=()=>{document.body.classList.remove("lui-leftNavToggle")},xt=()=>{Ki();const B=window.innerWidth>=un.desktopMinWidth&&Ye<un.desktopMinWidth,ue=window.innerWidth<un.desktopMinWidth&&Ye>=un.desktopMinWidth;(B||ue)&&Ct(),Ye=window.innerWidth};let Lt=[];const Fn=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===ue)[0]},Sl=(B,ue=!1)=>{const Ee=te.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Oe=Ee(B,ue);if(Oe!==!1)return Oe}const ze=Lt;return B.id||(B.id=le.getRandomId()),B.id&&ze&&Fn(ze,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(()=>{Fn(Lt,B.id)&&Hl(B.id)},B.closeAfter),new Promise((Oe,de)=>{t(25,Lt=[...ze||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Oe}}])}))},Hl=(B,ue)=>{const Ee=Fn(Lt,B);if(!Ee){console.error("An unexisting alert has been dismissed.",Lt,B);return}if(t(25,Lt=Lt.filter(ze=>ze.settings.id!==B)),Ee.openFromClient){const ze=oi.getActiveIframe(oe),Oe={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ae.sendMessageToIframe(ze,Oe)}else Ee.promise&&Ee.promise.resolve(ue||B)},_r=B=>{Hl(B.detail.id,B.detail.dismissKey)};let zi;const Cl=()=>{t(26,zi={displayed:!1,content:{},openFromClient:!1,promise:null})};Cl();const yl=(B,ue=!1,Ee)=>new Promise((ze,Oe)=>{t(26,zi={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:ze,reject:Oe},targetIframe:Ee})}),ci=B=>{const{promise:ue,openFromClient:Ee,targetIframe:ze}=zi;if(Cl(),B?ue.resolve():ue.reject(),Ee&&ze){const Oe={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(ze,Oe)}},Wl=B=>{if(ae.dirtySet){if(B)return ae.dirtySet.has(B);if(ae.dirtySet.size>0)return!0}return!1},Ti=()=>yl({header:It.getTranslation("luigi.unsavedChangesAlert.header"),body:It.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:It.getTranslation("luigi.button.dismiss"),buttonConfirm:It.getTranslation("luigi.button.confirm")}),pr=()=>ae.dirtySet?ae.dirtySet.size>0:ae.isDirty;Hr("getUnsavedChangesModalPromise",$t);let Y=[];const Mt=(B,ue)=>{var ze;if(typeof B>"u"){t(27,Y=[]);return}let Ee;if(t(27,Y=Y.filter((Oe,de)=>(B===de&&(Ee=Oe),B!==de))),(ze=Ee==null?void 0:Ee.mfModal)!=null&&ze.openerIframe){const Oe={msg:"luigi.navigation.modal.close",data:ue};Ae.sendMessageToIframe(Ee.mfModal.openerIframe,Oe)}};Mt();const vn=async(B,ue,Ee)=>{if(await re.shouldPreventNavigationForPath(B))return;const ze={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Ee}};t(27,Y=[...Y,ze]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.appendModalDataToUrl(B,ue)},ii=(B,ue)=>{t(27,Y[ue].modalIframe=B.detail.modalIframe,Y),t(27,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},mr=(B,ue)=>{t(27,Y[ue].modalWC=B.detail.modalWC,Y),t(27,Y[ue].modalWCData=B.detail.modalWCData,Y)},Gi=(B,ue,Ee)=>{const ze=(Ie,kt)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.removeModalDataFromUrl(kt),Mt(Ie,Ee)},Oe=Y[B],de=le.getRemotePromise(Oe.mfModal.settings.onClosePromiseId);Oe&&Oe.modalIframe?$t(Oe.modalIframe.contentWindow).then(()=>{ze(B,ue),de&&de.doResolve(Ee)},()=>{}):Oe&&Oe.modalWC&&(ze(B,ue),de&&de.doResolve(Ee))};Hr("openViewInModal",vn);let rn={};const ql=()=>{t(28,rn.displayed=!1,rn),t(28,rn.nodepath=void 0,rn),t(28,rn.settings={},rn),t(12,g=!1)};ql();const Xr=async(B,ue)=>{await re.shouldPreventNavigationForPath(B)||(t(28,rn.displayed=!0,rn),t(28,rn.nodepath=B,rn),t(28,rn.settings=ue,rn),rn.settings&&rn.settings.backdrop&&t(12,g=!0))},$r=()=>window.innerWidth>=un.desktopMinWidth&&rn.displayed&&rn.settings&&!rn.settings.overlap,Ki=(B=!1)=>{if(!$r())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Ee.forEach(ze=>{ze==null||ze.style.removeProperty("width")});else{const{width:ze}=getComputedStyle(ue);Ee.forEach(Oe=>{xr(Oe,ze)})}},xr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},br=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Ki()},ps=B=>{m=B.detail.modalWC,B.detail.modalWCData,Ki()},ea=B=>{d=B.detail.activeDrawer},ji=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?$t(p.contentWindow).then(()=>{ql()},()=>{}):m&&$t().then(()=>{ql()},()=>{}),Ki(!0)}catch(ue){console.log(ue)}},ta=()=>{const B=or.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Pe.userSettingGroups=[...B],Pe),t(17,Pe.displayed=!0,Pe)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ms=()=>{t(17,Pe.displayed=!1,Pe)},na=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},vr=B=>{let ue=fe;if(D){let Oe=D.parent;for(ue=[D];Oe;)ue.push(Oe),Oe=Oe.parent;ue=[...ue].reverse()}let Ee=B.link,ze=Yt(D,E);if(B.fromVirtualTreeRoot){const Oe=[...ue].reverse().find(Ie=>Ie.virtualTree);if(!Oe){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const de=Yt(Oe,E);Ee=ze.split(de).join("")}else if(B.fromParent){const Oe=Yt(D.parent,E);Ee=ze.split(Oe).join("")}else if(B.fromClosestContext){const Oe=[...ue].reverse().find(Ie=>Ie.navigationContext&&Ie.navigationContext.length>0),de=Yt(Oe,E);Ee=ze.split(de).join("")}else if(B.fromContext){const Oe=B.fromContext,de=[...ue].reverse().find(kt=>Oe===kt.navigationContext),Ie=Yt(de,E);Ee=ze.split(Ie).join("")}else Ee=ze;return Ee};function wr(B){sessionStorage.removeItem("historyState"),sr.shouldPreload=!0,sr.preload(!0),sr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Ee=te.getConfigValue("navigation.defaults.pageErrorHandler"),ze=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Oe={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ee};It.addCurrentLocaleChangeListener(de=>{const Ie={msg:"luigi.current-locale-changed",currentLocale:de};Ae.broadcastMessageToAllIframes(Ie)}),Mn.addEventListener("popstate",async de=>{const Ie=Lt;if(!Ie||!(Ie.length>0))return;const kt=Ie.map(Ht=>{if(Ht&&!Ht.openFromClient&&typeof Ht.settings.ttl=="number"){if(Ht.settings.ttl===0)return null;Ht.settings.ttl--}return Ht}).filter(Ht=>Ht);t(25,Lt=kt)}),Mn.addEventListener("message",async de=>{const Ie=Ae.getValidMessageSource(de),kt=Y[Y.length-1],Ht=kt&&kt.modalIframe,Cr=kt&&kt.modalIframeData,Yi={modalIframe:Ht,modalIframeData:Cr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!Ie)return;Ie._ready=!0;const yr=Ae.getSpecialIframeMessageSource(de,Yi),Qi=yr&&yr.length>0,Gl=te.getConfigValue("communication.skipEventsWhenInactive");if(Gl&&Gl.length>0&&!Qi&&Ie.contentWindow!==window&&!le.isElementVisible(Ie)&&Gl.includes(de.data.msg)){console.debug(`EVENT '${de.data.msg}' from inactive iframe -> SKIPPED`);return}if(de.data.msg==="custom"){const je=te.getConfigValue("communication.customMessagesListeners")||{},nt=as.convertCustomMessageInternalToUser(de.data),Dt=je[nt.id],Wt="luigi.updateUserSettings";if(Pe&&nt.id===Wt){Dt&&console.warn(`The key "${Wt}" is not allowed to use for custom messages.`);return}if(typeof Dt=="function"){const An=Bi.getMicrofrontends().find(Un=>Ae.isMessageSource(de,Un.container));Dt(nt,An,le.removeInternalProperties(Ie.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${nt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(de.data.msg==="luigi.init.ok"&&(Ie.luigi.initOk=!0),de.data.msg==="luigi.navigate.ok"&&(Ie.luigi.viewUrl=Ie.luigi.nextViewUrl,Ie.luigi.nextViewUrl="",Ie.luigi.clientPermissions=Ie.luigi.nextClientPermissions,delete Ie.luigi.nextClientPermissions,Oe.navigateOk=!0,sr.preload()),de.data.msg==="luigi.get-context"){if(Ie.luigi.clientVersion=de.data.clientVersion,Ie.luigi.initOk=!1,Qi)yr.forEach(async je=>{let nt=Yi[je.dataKey].context;const Dt={...Oe,iframe:Yi[je.iframeKey],context:nt,pathParams:Yi[je.dataKey].pathParams,nodeParams:Yi[je.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Yi[je.iframeKey].luigi.currentNode),modal:je.iframeKey.startsWith("modal"),drawer:je.iframeKey.startsWith("drawer"),splitView:je.iframeKey.startsWith("splitView")};await cn(Dt,{})});else if(Oe.iframe&&Ae.isMessageSource(de,Oe.iframe))await cn(Oe,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&la(),sr.preload();else if(Ie.luigi.preloading)await cn({iframe:Ie,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let je=or.findActiveCustomUserSettingsIframe(de.source);if(je){let nt=je.getAttribute("userSettingsGroup"),Dt={context:{userSettingsData:fn[nt]},iframe:je};await cn(Dt)}}sr.viewGroupLoaded(Ie)}if(de.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),de.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(We),t(10,a=!1)),de.data.msg==="luigi.navigation.open"){G=!1;const je=window.location.href,nt=Qi?Ie.luigi.currentNode:void 0,Dt=Qi?Ie.luigi.pathParams:void 0,Wt=de.data.params,{intent:An,newTab:Un,modal:hn,splitView:Kl,drawer:Pl,withoutSync:Is}=Wt;let jl=Un||hn||Kl||Pl;const da=()=>{const Gt=le.getRemotePromise(de.data.remotePromiseId);Gt&&Gt.doResolve()},Il=()=>{const Gt=le.getRemotePromise(de.data.remotePromiseId);Gt&&Gt.doReject()},an=Gt=>{!Gt||je!==window.location.href?da():Il()};de.source!==window&&!An&&Wt.link&&(Wt.link=Wt.link.split("?")[0]);let wn=Ln(de.data.params,nt,Dt);if(jl=jl||An&&wn.external,!jl)$t().then(()=>{$=!de.data.params.withoutSync,Rt(de.data,Oe,nt,Dt).then(()=>{an(!0)}).catch(()=>{Il()}),Y.forEach((Gt,Ns)=>{Gi(Ns)}),fi(),ji(),$=!0}).catch(()=>{Il()});else{if(An&&wn.external){at.navigateToExternalLink({url:wn.url,sameWindow:!wn.openInNewTab});return}if(wn=le.addLeadingSlash(wn),Un){await na(wn),an();return}const Gt=await zl(wn);if(wn=await me.handlePageNotFoundAndRetrieveRedirectPath(dn(),wn,Gt),!wn){Il();return}oe=B,hn!==void 0?(!hn.keepPrevious&&Mt(),await vn(wn,hn===!0?{}:hn,Ie),an()):Kl!==void 0?(await Wi(wn,Kl),an()):Pl!==void 0&&(ql(),Pl.isDrawer=!0,await Xr(wn,Pl),an())}}if(de.data.msg==="luigi.navigation.back"){const je=Y[Y.length-1],nt=Y.length>1&&Y[Y.length-2],Dt=de.data.goBackContext&&JSON.parse(de.data.goBackContext);if(Ae.isMessageSource(de,je&&je.modalIframe)){Gi(Y.length-1,!0,Dt);let Wt=Oe;if(nt&&nt.modalIframeData&&nt.modalIframe){const An=nt,Un=An.modalIframeData;Wt={pathParams:Un.pathParams,context:Un.context,iframe:An.modalIframe}}Wt.iframe&&await cn(Wt,{goBackContext:Dt})}else Ae.isMessageSource(de,C)?(fi(),Oe.iframe&&await cn(Oe,{goBackContext:Dt})):Ae.isMessageSource(de,p)?(d&&(d=!d),ji(),Oe.iframe&&await cn(Oe,{goBackContext:Dt})):ne&&ne.length>0?$t().then(()=>{oi.setActiveIframeToPrevious(B);const Wt=ne.pop();Oe.iframe=oi.getActiveIframe(B),G=!0,ne=ne,K=Dt,Rt({params:{link:Wt.path}},Oe)},()=>{}):(Dt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(de.data.msg==="luigi.navigation.currentRoute"){const je=de.data.data,Dt={msg:"luigi.navigation.currentRoute.answer",data:{route:vr(je),correlationId:je.id}};Ae.sendMessageToIframe(Ie,Dt)}if(de.data.msg==="luigi.auth.tokenIssued"&&Te(de.data.authData),de.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Qi){const je=le.addLeadingSlash(Ln(de.data.params,Ie.luigi.currentNode,Ie.luigi.pathParams));at.updateModalDataInUrl(je,de.data.params.modal,de.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(de.data.msg==="luigi.navigation.pathExists"){const je=Ie.luigi.currentNode,nt=Ie.luigi.pathParams,Dt=de.data.data,Wt=Ln(Dt,je,nt),An=Wt?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Wt):!1,Un={msg:"luigi.navigation.pathExists.answer",data:{correlationId:Dt.id,pathExists:An?An.isExistingRoute:!1}};Ae.sendMessageToIframe(Ie,Un)}if(de.data.msg==="luigi.set-page-dirty"){if(!ae.dirtySet){const je=new Set;je.add(de.source),ae={dirtySet:je}}ae.persistUrl=window.location.href,de.data.dirty?ae.dirtySet.add(de.source):ae.dirtySet.delete(de.source)}if(de.data.msg==="luigi.ux.confirmationModal.show"){const je=de.data.data.settings;oe=B,Cl(),yl(je,!0,Ie).catch(()=>{})}if(de.data.msg==="luigi.ux.alert.show"){const{settings:je}=de.data.data;if(!je.text&&!le.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}oe=B,Sl(je,!0).catch(()=>{})}if(de.data.msg==="luigi.ux.set-current-locale")if(Ie.luigi.clientPermissions&&Ie.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:je}=de.data.data;je&&It.setCurrentLocale(je)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(qe&&!qe.thirdPartyCookieScriptLocation&&de.data.msg==="luigi.third-party-cookie"&&de.data.tpc==="disabled"&&ia(),de.data.msg==="storage"&&lk.process(Ie.luigi.id,de.origin,de.data.data.id,de.data.data.operation,de.data.data.params),de.data.msg==="luigi-runtime-error-handling"){let je=Ie.luigi.currentNode;je&&je.runTimeErrorHandler&&le.isFunction(je.runTimeErrorHandler.errorFn)?je.runTimeErrorHandler.errorFn(de.data.errorObj,je):ze&&le.isFunction(ze.errorFn)&&ze.errorFn(de.data.errorObj,je)}if(de.data.msg==="luigi.addSearchParams")if(Ie.luigi.currentNode.clientPermissions&&Ie.luigi.currentNode.clientPermissions.urlParameters){const{data:je,keepBrowserHistory:nt}=de.data;me.addSearchParamsFromClient(Ie.luigi.currentNode,je,nt)}else console.warn("No client permissions to add url parameter for this node.");if(de.data.msg==="luigi.addNodeParams"){if(Qi)return;const{data:je,keepBrowserHistory:nt}=de.data;al.addNodeParams(je,nt)}if(de.data.msg==="luigi.setAnchor"){const{anchor:je}=de.data;al.setAnchor(je)}if(de.data.msg==="luigi.setVGData"){const je=de.data,nt=re.findViewGroup(Ie.luigi.currentNode);if(nt){const Dt=re.getViewGroupSettings(nt);Dt._liveCustomData=je.data,te.configChanged("navigation.viewgroupdata")}}}),Jn(B,Oe)}Hr("store",l),Hr("getTranslation",r);const ia=B=>{qe&&qe.thirdPartyCookieErrorHandling&&le.isFunction(qe.thirdPartyCookieErrorHandling)&&qe.thirdPartyCookieErrorHandling()};function la(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(We),t(10,a=!1)},250)):clearTimeout(We)}const zl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Ln(ue),ze=Ee?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ee):!1;return ze?ze.isExistingRoute:!1},kr=()=>Y.length>0||ne.length!==0;ln(()=>{if(Uo._init(),ye=te.getConfigValue("globalSearch.searchProvider"),Se=te.getConfigValue("settings.responsiveNavigation"),Ye=window.innerWidth,Se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();B&&ue&&t(18,Ve=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(Se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();if(B&&ue){const Ee=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,Ve=Ee?B:ue)}}document.body.classList.add("lui-semiCollapsible")}qe=te.getConfigValue("settings.thirdPartyCookieCheck"),qe&&qe.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=qe.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{Ny()==="disabled"&&ia()}),document.body.removeChild(B)}})}),Yr(()=>{Ki()}),Kn(()=>{t(19,ht=te.getConfigValue("navigation.breadcrumbs")),ye=te.getConfigValue("globalSearch.searchProvider"),t(23,tt=te.getConfigValue("tag")),t(24,pt=te.getConfigValue("settings.header.disabled"))});const Ji=B=>{B.keyCode===Ul&&Y&&Y.length>0&&Gi(Y.length-1)},ra=B=>Gi(B,!0),aa=(B,ue)=>ii(ue,B),bs=(B,ue)=>mr(ue,B),sa=()=>ci(!0),oa=()=>ci(!1);function ua(B){fn=B,t(5,fn)}function fa(B){Nt=B,t(0,Nt)}function vs(B){St=B,t(3,St)}function ws(B){Zt=B,t(4,Zt)}function ks(B){ge=B,t(1,ge)}function ca(B){lt=B,t(2,lt)}function Ss(B){Nt=B,t(0,Nt)}function Cs(B){St=B,t(3,St)}function ys(B){Zt=B,t(4,Zt)}function Ps(B){ge=B,t(1,ge)}function Sr(B){lt=B,t(2,lt)}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,Nt=B.isSearchFieldVisible),"inputElem"in B&&t(1,ge=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,lt=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,St=B.displaySearchResult),"searchResult"in B&&t(4,Zt=B.searchResult),"storedUserSettings"in B&&t(5,fn=B.storedUserSettings)},[Nt,ge,lt,St,Zt,fn,yi,Ii,Hi,ms,a,o,g,E,fe,ie,Re,Pe,Ve,ht,ni,J,ke,tt,pt,Lt,zi,Y,rn,et,vi,wi,wl,Ni,kl,xt,_r,ci,ii,mr,Gi,br,ps,ea,ji,wr,Ji,l,r,ki,Si,Ci,Pi,hl,gl,_l,Wi,fi,pl,ml,qi,bl,vl,Sl,yl,pr,ta,vr,zl,kr,ra,aa,bs,sa,oa,ua,fa,vs,ws,ks,ca,Ss,Cs,ys,Ps,Sr]}class My extends Ot{constructor(e){super(),Vt(this,e,Oy,Vy,Et,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot: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,buildPathForGetCurrentRoute:67,pathExists:68,hasBack:69},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 buildPathForGetCurrentRoute(){return this.$$.ctx[67]}get pathExists(){return this.$$.ctx[68]}get hasBack(){return this.$$.ctx[69]}}const Fy=()=>{const{subscribe:i,update:e,reset:t}=cr({}),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)})}}},wp=Fy(),Uy=y2((i,e,t)=>It.getTranslation(i,e,t));Luigi._store=wp;const By=()=>new Promise(i=>{It._init(),_n.init().then(()=>{setTimeout(()=>{let e;Bi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new My({target:Bi.getLuigiContainer(),props:{store:wp,getTranslation:Uy}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(By);
|
|
63
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1dwxj5w"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function My(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[25]&&i[25].length&&P_(i),b=i[27],m=[];for(let E=0;E<b.length;E+=1)m[E]=N_(y_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[28].displayed&&i[28].settings.isDrawer&&T_(i),y=i[26].displayed&&L_(i),P=i[17].displayed&&A_(i);const I=[Dy,Ry],T=[];function V(E,H){return E[29]?0:1}return o=V(i),c=T[o]=I[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[23]),f(e,"class","svelte-1dwxj5w"),Jt(e,"no-nav",i[20]),Jt(e,"no-side-nav",i[21]),Jt(e,"no-top-nav",i[24]),Jt(e,"no-animation",i[22]),Jt(e,"btp-layout",i[29])},m(E,H){A(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),T[o].m(e,null),h=!0,d||(g=[ee(C_,"resize",i[35]),ee(C_,"keydown",i[46])],d=!0)},p(E,H){if(E[25]&&E[25].length?p?(p.p(E,H),H[0]&33554432&&R(p,1)):(p=P_(E),p.c(),R(p,1),p.m(e,t)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),H[0]&134221824|H[1]&896){b=E[27];let D;for(D=0;D<b.length;D+=1){const O=y_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=N_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(ve(),D=b.length;D<m.length;D+=1)v(D);we()}E[28].displayed&&E[28].settings.isDrawer?C?(C.p(E,H),H[0]&268435456&&R(C,1)):(C=T_(E),C.c(),R(C,1),C.m(e,l)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),E[26].displayed?y?(y.p(E,H),H[0]&67108864&&R(y,1)):(y=L_(E),y.c(),R(y,1),y.m(e,r)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=A_(E),P.c(),R(P,1),P.m(e,a)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),c.p(E,H),(!h||H[0]&8388608)&&f(e,"configversion",E[23]),(!h||H[0]&1048576)&&Jt(e,"no-nav",E[20]),(!h||H[0]&2097152)&&Jt(e,"no-side-nav",E[21]),(!h||H[0]&16777216)&&Jt(e,"no-top-nav",E[24]),(!h||H[0]&4194304)&&Jt(e,"no-animation",E[22])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(Ay);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&L(e),p&&p.d(),ut(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Qe(g)}}}function Fy(i,e,t){const n=Yt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Z,Q,ce,$=!0,G=!1,j,ae,fe,ne=[],se={isDirty:!1,persistUrl:null},Se,ie,Re=!1,qe,Ce,Pe={},Ve,ht,We,ft=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Mt}=e,{inputElem:de}=e,{customSearchItemRendererSlot:tt}=e,{displaySearchResult:St}=e,{searchResult:$t}=e,{storedUserSettings:Tn}=e;const Qt=async B=>{const ue=B.iframe.luigi,Ee=ue.currentNode&&ue.currentNode.userSettingsGroup,ze=await te.readUserSettings(),Oe=Ee&&typeof ze=="object"&&ze!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Oe?ze[Ee]:null,anchor:ul.getAnchor(),cssVariables:await Uo.getCSSVariables()});return Ae.specialIframeTypes.map(Ie=>Ie.iframeConfigKey).forEach(Ie=>{he[Ie]=B[Ie]||!1}),he},xt=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||T,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},be.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await Qt(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Ae.sendMessageToIframe(B.iframe,Ee)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ue)},Ke=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=An(B.params),ze=rt.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?le.replaceVars(ze,ue.iframe.luigi.pathParams,":",!1):ze,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:T}),ue.iframe.pv="pv"}},Dt=(B,ue,Ee,ze)=>{let Oe=An(B.params,Ee,ze);const{preventHistoryEntry:he,preserveQueryParams:Ie,preventContextUpdate:Ct}=B.params,Bt={keepBrowserHistory:!he,navSync:$,preventContextUpdate:Ct};return Oe=le.addLeadingSlash(Oe),Oe=Ie?be.composeSearchParamsToRoute(Oe):Oe,Ke(B,ue),rt.navigateTo(Oe,Bt)},Zt=B=>B.split("?")[0],qt=(B,ue)=>{if(B.length===0)return!1;const Ee=ue.startsWith("/")?ue:`/${ue}`,ze=[...B].pop();return[Zt(ze.path),Zt(ze.nextPath)].includes(Zt(Ee))},Ln=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},Lt=B=>new Promise((ue,Ee)=>{ql(B)?Ei().then(()=>{Ln(),ue()},()=>{Ee()}):ue()}),gn=()=>({get:()=>({unsavedChanges:se,hideNav:ni,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:T,pathParams:E,hideSideNav:ci,isolateView:Z,pageErrorHandler:Q,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ie,isNavigateBack:G,goBackContext:j,isNavigationSyncEnabled:$}),set:B=>{B&&(t(22,Ai=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ni=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,ae=B.navigationPath):ue==="context"?T=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideSideNav"?(ci!=B.hideSideNav&&(t(22,Ai=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(21,ci=B.hideSideNav)):ue==="isolateView"?Z=B.isolateView:ue==="pageErrorHandler"?Q=B.pageErrorHandler:ue==="previousNodeValues"?ce=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(We),We=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(We)):ue==="tabNav"?t(15,ie=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?j=B.goBackContext:ue==="isNavigationSyncEnabled"&&($=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:ql,getUnsavedChangesModalPromise:Lt,showUnsavedChangesModal:Ei,showAlert:bt,prepareInternalData:Qt,dispatch:n}),Jn=(B,ue)=>{pn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),Kn.deleteCache();const ze=rt.getCurrentPath();rt.handleRouteChange(ze,gn(),B,ue)},["navigation.nodes"]),be.addRouteChangeListener((Ee,ze)=>{const{withoutSync:Oe,preventContextUpdate:he}=ze||{};qt(ne,Ee)||(ne=[],oi.removeInactiveIframes(B));for(let Ct=Y.length;Ct--;)Ji(Ct);Zr.removeBackdrop(),fi(),rt.handleRouteChange(Ee,gn(),B,ue,Oe,he)})},zt=(B,ue)=>le.replaceVars(rt.getNodePath(B),ue,":",!1),An=(B,ue,Ee)=>{const ze=ue||D,Oe=Ee||E;let he=ae;if(ue){let Ct=ue.parent;for(he=[ue];Ct;)he.push(Ct),Ct=Ct.parent;he=[...he].reverse()}let Ie=B.link;if(B.fromVirtualTreeRoot){const Ct=[...he].reverse().find(Bt=>Bt.virtualTree);if(!Ct){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ie=rt.concatenatePath(zt(Ct,Oe),B.link)}else if(B.fromParent)Ie=rt.concatenatePath(zt(ze.parent,Oe),B.link);else if(B.fromClosestContext){const Ct=[...he].reverse().find(Bt=>Bt.navigationContext&&Bt.navigationContext.length>0);Ie=rt.concatenatePath(zt(Ct,Oe),B.link)}else if(B.fromContext){const Ct=B.fromContext,Bt=[...he].reverse().find(Cr=>Ct===Cr.navigationContext);Ie=rt.concatenatePath(zt(Bt,Oe),B.link)}else B.intent?Ie=be.getIntentPath(B.link):B.relative&&(Ie=rt.concatenatePath(zt(ze,Oe),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ie+=Ie.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Ct,Bt)=>{Ie+=encodeURIComponent(be.getContentViewParamPrefix()+Ct[0])+"="+encodeURIComponent(Ct[1])+(Bt<Object.keys(B.nodeParams).length-1?"&":"")})),Ie},ki=B=>{const ue=B.detail.node;Lt().then(()=>{if(me(),ue.openNodeInModal){const Ee=be.buildRoute(ue,`/${ue.pathSegment}`);bn(Ee,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ee=be.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,Xr(Ee,ue.drawer)}else gn().set({isNavigationSyncEnabled:!0}),rt.handleRouteClick(ue,gn())},()=>{})},Si=()=>{t(16,Re=!Re)};Hr("handleNavigation",Dt);const mn=B=>B?!0:(console.warn("No search provider defined."),!1),Ci=()=>{mn(Ce)&&t(0,Mt=!1)},yi=()=>{mn(Ce)&&de&&(t(0,Mt=!0),de.focus())},Pi=()=>{mn(Ce)&&de&&(t(1,de.value="",de),Ti())},Ii=()=>{t(0,Mt=!Mt),Dk.clearSearchField()},Ni=()=>{if(mn(Ce)&&de)return de.value},pl=B=>{mn(Ce)&&de&&(t(1,de.value=B,de),le.isFunction(Ce.onInput)?Ce.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ml=B=>{mn(Ce)&&de&&t(1,de.placeholder=B,de)},bl=B=>{if(mn(Ce))if(B&&B.length>0)if(le.isFunction(Ce.customSearchResultRenderer)){let ue={fireItemSelected:Ee=>{Ce.onSearchResultItemSelected(Ee)}};Ce.customSearchResultRenderer(B,tt,ue)}else t(3,St=!0),t(4,$t=B);else console.warn("Search result array is empty.")},Ti=()=>{if(mn(Ce)&&(t(3,St=!1),t(4,$t=[]),tt))for(;tt.lastElementChild;)tt.removeChild(tt.lastElementChild)},zi=B=>{let ue=B.detail.node,Ee={params:{link:ue.link,nodeParams:ue.params}};Dt(Ee)},Gi=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ct.getDefaultData().mfSplitView),ct.open(gn(),B,ue)},fi=()=>{ct.close(gn())},vl=()=>{ct.collapse(gn()),t(11,o.collapsed=!0,o)},wl=()=>{ct.expand(gn()),t(11,o.collapsed=!1,o)},Ki=()=>o.displayed?o.collapsed:!1,kl=()=>o.displayed?!o.collapsed:!1,Sl=()=>o.displayed,Cl=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Li=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},yl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ni,ci,Ai,di,ji,K;const me=()=>{document.body.classList.remove("lui-leftNavToggle")},xe=()=>{Yi();const B=window.innerWidth>=fn.desktopMinWidth&&di<fn.desktopMinWidth,ue=window.innerWidth<fn.desktopMinWidth&&di>=fn.desktopMinWidth;(B||ue)&&me(),di=window.innerWidth};let Ye=[];const gt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===ue)[0]},bt=(B,ue=!1)=>{const Ee=te.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Oe=Ee(B,ue);if(Oe!==!1)return Oe}const ze=Ye;return B.id||(B.id=le.getRandomId()),B.id&&ze&>(ze,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(()=>{gt(Ye,B.id)&&Gt(B.id)},B.closeAfter),new Promise((Oe,he)=>{t(25,Ye=[...ze||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Oe}}])}))},Gt=(B,ue)=>{const Ee=gt(Ye,B);if(!Ee){console.error("An unexisting alert has been dismissed.",Ye,B);return}if(t(25,Ye=Ye.filter(ze=>ze.settings.id!==B)),Ee.openFromClient){const ze=oi.getActiveIframe(fe),Oe={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ae.sendMessageToIframe(ze,Oe)}else Ee.promise&&Ee.promise.resolve(ue||B)},en=B=>{Gt(B.detail.id,B.detail.dismissKey)};let Un;const Pl=()=>{t(26,Un={displayed:!1,content:{},openFromClient:!1,promise:null})};Pl();const Il=(B,ue=!1,Ee)=>new Promise((ze,Oe)=>{t(26,Un={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:ze,reject:Oe},targetIframe:Ee})}),hi=B=>{const{promise:ue,openFromClient:Ee,targetIframe:ze}=Un;if(Pl(),B?ue.resolve():ue.reject(),Ee&&ze){const Oe={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(ze,Oe)}},ql=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},Ei=()=>Il({header:It.getTranslation("luigi.unsavedChangesAlert.header"),body:It.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:It.getTranslation("luigi.button.dismiss"),buttonConfirm:It.getTranslation("luigi.button.confirm")}),pr=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;Hr("getUnsavedChangesModalPromise",Lt);let Y=[];const Vt=(B,ue)=>{var ze;if(typeof B>"u"){t(27,Y=[]);return}let Ee;if(t(27,Y=Y.filter((Oe,he)=>(B===he&&(Ee=Oe),B!==he))),(ze=Ee==null?void 0:Ee.mfModal)!=null&&ze.openerIframe){const Oe={msg:"luigi.navigation.modal.close",data:ue};Ae.sendMessageToIframe(Ee.mfModal.openerIframe,Oe)}};Vt();const bn=async(B,ue,Ee)=>{if(await re.shouldPreventNavigationForPath(B))return;const ze={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Ee}};t(27,Y=[...Y,ze]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&rt.appendModalDataToUrl(B,ue)},ii=(B,ue)=>{t(27,Y[ue].modalIframe=B.detail.modalIframe,Y),t(27,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},mr=(B,ue)=>{t(27,Y[ue].modalWC=B.detail.modalWC,Y),t(27,Y[ue].modalWCData=B.detail.modalWCData,Y)},Ji=(B,ue,Ee)=>{const ze=(Ie,Ct)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&rt.removeModalDataFromUrl(Ct),Vt(Ie,Ee)},Oe=Y[B],he=le.getRemotePromise(Oe.mfModal.settings.onClosePromiseId);Oe&&Oe.modalIframe?Lt(Oe.modalIframe.contentWindow).then(()=>{ze(B,ue),he&&he.doResolve(Ee)},()=>{}):Oe&&Oe.modalWC&&(ze(B,ue),he&&he.doResolve(Ee))};Hr("openViewInModal",bn);let an={};const zl=()=>{t(28,an.displayed=!1,an),t(28,an.nodepath=void 0,an),t(28,an.settings={},an),t(12,g=!1)};zl();const Xr=async(B,ue)=>{await re.shouldPreventNavigationForPath(B)||(t(28,an.displayed=!0,an),t(28,an.nodepath=B,an),t(28,an.settings=ue,an),an.settings&&an.settings.backdrop&&t(12,g=!0))},$r=()=>window.innerWidth>=fn.desktopMinWidth&&an.displayed&&an.settings&&!an.settings.overlap,Yi=(B=!1)=>{if(!$r())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Ee.forEach(ze=>{ze==null||ze.style.removeProperty("width")});else{const{width:ze}=getComputedStyle(ue);Ee.forEach(Oe=>{xr(Oe,ze)})}},xr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},br=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Yi()},ps=B=>{m=B.detail.modalWC,B.detail.modalWCData,Yi()},ea=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?Lt(p.contentWindow).then(()=>{zl()},()=>{}):m&&Lt().then(()=>{zl()},()=>{}),Yi(!0)}catch(ue){console.log(ue)}},ta=()=>{const B=ur.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Pe.userSettingGroups=[...B],Pe),t(17,Pe.displayed=!0,Pe)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ms=()=>{t(17,Pe.displayed=!1,Pe)},na=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},vr=B=>{let ue=ae;if(D){let Oe=D.parent;for(ue=[D];Oe;)ue.push(Oe),Oe=Oe.parent;ue=[...ue].reverse()}let Ee=B.link,ze=zt(D,E);if(B.fromVirtualTreeRoot){const Oe=[...ue].reverse().find(Ie=>Ie.virtualTree);if(!Oe){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=zt(Oe,E);Ee=ze.split(he).join("")}else if(B.fromParent){const Oe=zt(D.parent,E);Ee=ze.split(Oe).join("")}else if(B.fromClosestContext){const Oe=[...ue].reverse().find(Ie=>Ie.navigationContext&&Ie.navigationContext.length>0),he=zt(Oe,E);Ee=ze.split(he).join("")}else if(B.fromContext){const Oe=B.fromContext,he=[...ue].reverse().find(Ct=>Oe===Ct.navigationContext),Ie=zt(he,E);Ee=ze.split(Ie).join("")}else Ee=ze;return Ee};function wr(B){sessionStorage.removeItem("historyState"),or.shouldPreload=!0,or.preload(!0),or.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Ee=te.getConfigValue("navigation.defaults.pageErrorHandler"),ze=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Oe={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ee};It.addCurrentLocaleChangeListener(he=>{const Ie={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Ie)}),Fn.addEventListener("popstate",async he=>{const Ie=Ye;if(!Ie||!(Ie.length>0))return;const Ct=Ie.map(Bt=>{if(Bt&&!Bt.openFromClient&&typeof Bt.settings.ttl=="number"){if(Bt.settings.ttl===0)return null;Bt.settings.ttl--}return Bt}).filter(Bt=>Bt);t(25,Ye=Ct)}),Fn.addEventListener("message",async he=>{const Ie=Ae.getValidMessageSource(he),Ct=Y[Y.length-1],Bt=Ct&&Ct.modalIframe,Cr=Ct&&Ct.modalIframeData,Xi={modalIframe:Bt,modalIframeData:Cr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!Ie)return;Ie._ready=!0;const yr=Ae.getSpecialIframeMessageSource(he,Xi),$i=yr&&yr.length>0,Kl=te.getConfigValue("communication.skipEventsWhenInactive");if(Kl&&Kl.length>0&&!$i&&Ie.contentWindow!==window&&!le.isElementVisible(Ie)&&Kl.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const je=te.getConfigValue("communication.customMessagesListeners")||{},nt=as.convertCustomMessageInternalToUser(he.data),At=je[nt.id],Ht="luigi.updateUserSettings";if(Pe&&nt.id===Ht){At&&console.warn(`The key "${Ht}" is not allowed to use for custom messages.`);return}if(typeof At=="function"){const En=qi.getMicrofrontends().find(Bn=>Ae.isMessageSource(he,Bn.container));At(nt,En,le.removeInternalProperties(Ie.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${nt.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ie.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ie.luigi.viewUrl=Ie.luigi.nextViewUrl,Ie.luigi.nextViewUrl="",Ie.luigi.clientPermissions=Ie.luigi.nextClientPermissions,delete Ie.luigi.nextClientPermissions,Oe.navigateOk=!0,or.preload()),he.data.msg==="luigi.get-context"){if(Ie.luigi.clientVersion=he.data.clientVersion,Ie.luigi.initOk=!1,$i)yr.forEach(async je=>{let nt=Xi[je.dataKey].context;const At={...Oe,iframe:Xi[je.iframeKey],context:nt,pathParams:Xi[je.dataKey].pathParams,nodeParams:Xi[je.dataKey].nodeParams,searchParams:be.prepareSearchParamsForClient(Xi[je.iframeKey].luigi.currentNode),modal:je.iframeKey.startsWith("modal"),drawer:je.iframeKey.startsWith("drawer"),splitView:je.iframeKey.startsWith("splitView")};await xt(At,{})});else if(Oe.iframe&&Ae.isMessageSource(he,Oe.iframe))await xt(Oe,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&la(),or.preload();else if(Ie.luigi.preloading)await xt({iframe:Ie,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let je=ur.findActiveCustomUserSettingsIframe(he.source);if(je){let nt=je.getAttribute("userSettingsGroup"),At={context:{userSettingsData:Tn[nt]},iframe:je};await xt(At)}}or.viewGroupLoaded(Ie)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(We),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const je=window.location.href,nt=$i?Ie.luigi.currentNode:void 0,At=$i?Ie.luigi.pathParams:void 0,Ht=he.data.params,{intent:En,newTab:Bn,modal:cn,splitView:jl,drawer:Nl,withoutSync:Is}=Ht;let Jl=Bn||cn||jl||Nl;const da=()=>{const Kt=le.getRemotePromise(he.data.remotePromiseId);Kt&&Kt.doResolve()},Tl=()=>{const Kt=le.getRemotePromise(he.data.remotePromiseId);Kt&&Kt.doReject()},sn=Kt=>{!Kt||je!==window.location.href?da():Tl()};he.source!==window&&!En&&Ht.link&&(Ht.link=Ht.link.split("?")[0]);let vn=An(he.data.params,nt,At);if(Jl=Jl||En&&vn.external,!Jl)Lt().then(()=>{$=!he.data.params.withoutSync,Dt(he.data,Oe,nt,At).then(()=>{sn(!0)}).catch(()=>{Tl()}),Y.forEach((Kt,Ns)=>{Ji(Ns)}),fi(),Qi(),$=!0}).catch(()=>{Tl()});else{if(En&&vn.external){rt.navigateToExternalLink({url:vn.url,sameWindow:!vn.openInNewTab});return}if(vn=le.addLeadingSlash(vn),Bn){await na(vn),sn();return}const Kt=await Gl(vn);if(vn=await be.handlePageNotFoundAndRetrieveRedirectPath(gn(),vn,Kt),!vn){Tl();return}fe=B,cn!==void 0?(!cn.keepPrevious&&Vt(),await bn(vn,cn===!0?{}:cn,Ie),sn()):jl!==void 0?(await Gi(vn,jl),sn()):Nl!==void 0&&(zl(),Nl.isDrawer=!0,await Xr(vn,Nl),sn())}}if(he.data.msg==="luigi.navigation.back"){const je=Y[Y.length-1],nt=Y.length>1&&Y[Y.length-2],At=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,je&&je.modalIframe)){Ji(Y.length-1,!0,At);let Ht=Oe;if(nt&&nt.modalIframeData&&nt.modalIframe){const En=nt,Bn=En.modalIframeData;Ht={pathParams:Bn.pathParams,context:Bn.context,iframe:En.modalIframe}}Ht.iframe&&await xt(Ht,{goBackContext:At})}else Ae.isMessageSource(he,C)?(fi(),Oe.iframe&&await xt(Oe,{goBackContext:At})):Ae.isMessageSource(he,p)?(d&&(d=!d),Qi(),Oe.iframe&&await xt(Oe,{goBackContext:At})):ne&&ne.length>0?Lt().then(()=>{oi.setActiveIframeToPrevious(B);const Ht=ne.pop();Oe.iframe=oi.getActiveIframe(B),G=!0,ne=ne,j=At,Dt({params:{link:Ht.path}},Oe)},()=>{}):(At&&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 je=he.data.data,At={msg:"luigi.navigation.currentRoute.answer",data:{route:vr(je),correlationId:je.id}};Ae.sendMessageToIframe(Ie,At)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if($i){const je=le.addLeadingSlash(An(he.data.params,Ie.luigi.currentNode,Ie.luigi.pathParams));rt.updateModalDataInUrl(je,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 je=Ie.luigi.currentNode,nt=Ie.luigi.pathParams,At=he.data.data,Ht=An(At,je,nt),En=Ht?await Ft.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ht):!1,Bn={msg:"luigi.navigation.pathExists.answer",data:{correlationId:At.id,pathExists:En?En.isExistingRoute:!1}};Ae.sendMessageToIframe(Ie,Bn)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const je=new Set;je.add(he.source),se={dirtySet:je}}se.persistUrl=window.location.href,he.data.dirty?se.dirtySet.add(he.source):se.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const je=he.data.data.settings;fe=B,Pl(),Il(je,!0,Ie).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:je}=he.data.data;if(!je.text&&!le.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}fe=B,bt(je,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ie.luigi.clientPermissions&&Ie.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:je}=he.data.data;je&&It.setCurrentLocale(je)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(qe&&!qe.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&ia(),he.data.msg==="storage"&&a2.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 je=Ie.luigi.currentNode;je&&je.runTimeErrorHandler&&le.isFunction(je.runTimeErrorHandler.errorFn)?je.runTimeErrorHandler.errorFn(he.data.errorObj,je):ze&&le.isFunction(ze.errorFn)&&ze.errorFn(he.data.errorObj,je)}if(he.data.msg==="luigi.addSearchParams")if(Ie.luigi.currentNode.clientPermissions&&Ie.luigi.currentNode.clientPermissions.urlParameters){const{data:je,keepBrowserHistory:nt}=he.data;be.addSearchParamsFromClient(Ie.luigi.currentNode,je,nt)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if($i)return;const{data:je,keepBrowserHistory:nt}=he.data;ul.addNodeParams(je,nt)}if(he.data.msg==="luigi.setAnchor"){const{anchor:je}=he.data;ul.setAnchor(je)}if(he.data.msg==="luigi.setVGData"){const je=he.data,nt=re.findViewGroup(Ie.luigi.currentNode);if(nt){const At=re.getViewGroupSettings(nt);At._liveCustomData=je.data,te.configChanged("navigation.viewgroupdata")}}}),Jn(B,Oe)}Hr("store",l),Hr("getTranslation",r);const ia=B=>{qe&&qe.thirdPartyCookieErrorHandling&&le.isFunction(qe.thirdPartyCookieErrorHandling)&&qe.thirdPartyCookieErrorHandling()};function la(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(We),t(10,a=!1)},250)):clearTimeout(We)}const Gl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:be.hasIntent(B)},Ee=An(ue),ze=Ee?await Ft.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ee):!1;return ze?ze.isExistingRoute:!1},kr=()=>Y.length>0||ne.length!==0;rn(()=>{if(Uo._init(),Ce=te.getConfigValue("globalSearch.searchProvider"),Se=te.getConfigValue("settings.responsiveNavigation"),di=window.innerWidth,Se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();B&&ue&&t(18,Ve=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(Se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();if(B&&ue){const Ee=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,Ve=Ee?B:ue)}}document.body.classList.add("lui-semiCollapsible")}qe=te.getConfigValue("settings.thirdPartyCookieCheck"),qe&&qe.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=qe.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{Ly()==="disabled"&&ia()}),document.body.removeChild(B)}})}),Yr(()=>{Yi()}),jn(()=>{t(19,ht=te.getConfigValue("navigation.breadcrumbs")),Ce=te.getConfigValue("globalSearch.searchProvider"),t(23,ji=te.getConfigValue("tag")),t(24,K=te.getConfigValue("settings.header.disabled"))});const Zi=B=>{B.keyCode===Hl&&Y&&Y.length>0&&Ji(Y.length-1)},ra=B=>Ji(B,!0),aa=(B,ue)=>ii(ue,B),bs=(B,ue)=>mr(ue,B),sa=()=>hi(!0),oa=()=>hi(!1);function ua(B){Tn=B,t(5,Tn)}function fa(B){Mt=B,t(0,Mt)}function vs(B){St=B,t(3,St)}function ws(B){$t=B,t(4,$t)}function ks(B){de=B,t(1,de)}function ca(B){tt=B,t(2,tt)}function Ss(B){Mt=B,t(0,Mt)}function Cs(B){St=B,t(3,St)}function ys(B){$t=B,t(4,$t)}function Ps(B){de=B,t(1,de)}function Sr(B){tt=B,t(2,tt)}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,Mt=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,tt=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,St=B.displaySearchResult),"searchResult"in B&&t(4,$t=B.searchResult),"storedUserSettings"in B&&t(5,Tn=B.storedUserSettings)},[Mt,de,tt,St,$t,Tn,Ii,Ti,zi,ms,a,o,g,E,ae,ie,Re,Pe,Ve,ht,ni,ci,Ai,ji,K,Ye,Un,Y,an,ft,ki,Si,Cl,Li,yl,xe,en,hi,ii,mr,Ji,br,ps,ea,Qi,wr,Zi,l,r,Ci,yi,Pi,Ni,pl,ml,bl,Gi,fi,vl,wl,Ki,kl,Sl,bt,Il,pr,ta,vr,Gl,kr,ra,aa,bs,sa,oa,ua,fa,vs,ws,ks,ca,Ss,Cs,ys,Ps,Sr]}class Uy extends Rt{constructor(e){super(),Et(this,e,Fy,My,Tt,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot: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,buildPathForGetCurrentRoute:67,pathExists:68,hasBack:69},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 buildPathForGetCurrentRoute(){return this.$$.ctx[67]}get pathExists(){return this.$$.ctx[68]}get hasBack(){return this.$$.ctx[69]}}const By=()=>{const{subscribe:i,update:e,reset:t}=dr({}),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)})}}},Sp=By(),Hy=Ik((i,e,t)=>It.getTranslation(i,e,t));Luigi._store=Sp;const Wy=()=>new Promise(i=>{It._init(),hn.init().then(()=>{setTimeout(()=>{let e;qi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new Uy({target:qi.getLuigiContainer(),props:{store:Sp,getTranslation:Hy}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(Wy);
|
|
64
64
|
//# sourceMappingURL=luigi.js.map
|