@luigi-project/core 2.9.0 → 2.9.1-dev.202402240023
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 +16 -16
- 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 Ww=Object.defineProperty;var zw=(n,e,t)=>e in n?Ww(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Bf=(n,e,t)=>(zw(n,typeof e!="symbol"?e+"":e,t),t);function He(){}function qw(n,e){for(const t in e)n[t]=e[t];return n}function Gw(n){return n&&typeof n=="object"&&typeof n.then=="function"}function E_(n){return n()}function Hf(){return Object.create(null)}function Qe(n){n.forEach(E_)}function pn(n){return typeof n=="function"}function Nt(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Xa;function Ze(n,e){return Xa||(Xa=document.createElement("a")),Xa.href=e,n===Xa.href}function Kw(n){return Object.keys(n).length===0}function Oo(n,...e){if(n==null)return He;const t=n.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function sl(n){let e;return Oo(n,t=>e=t)(),e}function bn(n,e,t){n.$$.on_destroy.push(Oo(e,t))}function R_(n,e,t,i){if(n){const l=D_(n,e,t,i);return n[0](l)}}function D_(n,e,t,i){return n[1]&&i?qw(t.ctx.slice(),n[1](i(e))):t.ctx}function V_(n,e,t,i){if(n[2]&&i){const l=n[2](i(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function O_(n,e,t,i,l,r){if(l){const a=D_(e,t,i,r);n.p(a,l)}}function M_(n){if(n.ctx.length>32){const e=[],t=n.ctx.length/32;for(let i=0;i<t;i++)e[i]=-1;return e}return-1}function Xi(n){return n??""}function F_(n){return n&&pn(n.destroy)?n.destroy:He}function w(n,e){n.appendChild(e)}function L(n,e,t){n.insertBefore(e,t||null)}function T(n){n.parentNode&&n.parentNode.removeChild(n)}function ft(n,e){for(let t=0;t<n.length;t+=1)n[t]&&n[t].d(e)}function S(n){return document.createElement(n)}function jw(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function Te(n){return document.createTextNode(n)}function z(){return Te(" ")}function Ce(){return Te("")}function ne(n,e,t,i){return n.addEventListener(e,t,i),()=>n.removeEventListener(e,t,i)}function Pt(n){return function(e){return e.preventDefault(),n.call(this,e)}}function Vt(n){return function(e){return e.stopPropagation(),n.call(this,e)}}function f(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function Jw(n){return Array.from(n.childNodes)}function Le(n,e){e=""+e,n.wholeText!==e&&(n.data=e)}function Wf(n,e){n.value=e??""}function Li(n,e,t,i){t===null?n.style.removeProperty(e):n.style.setProperty(e,t,i?"important":"")}function Ti(n,e,t){n.classList[t?"add":"remove"](e)}function Yw(n,e,{bubbles:t=!1,cancelable:i=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(n,t,i,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,i=null){this.e||(this.is_svg?this.e=jw(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(T)}}let zr;function Fn(n){zr=n}function cl(){if(!zr)throw new Error("Function called outside component initialization");return zr}function zi(n){cl().$$.before_update.push(n)}function Yt(n){cl().$$.on_mount.push(n)}function jr(n){cl().$$.after_update.push(n)}function Jr(n){cl().$$.on_destroy.push(n)}function Ht(){const n=cl();return(e,t,{cancelable:i=!1}={})=>{const l=n.$$.callbacks[e];if(l){const r=Yw(e,t,{cancelable:i});return l.slice().forEach(a=>{a.call(n,r)}),!r.defaultPrevented}return!0}}function Br(n,e){return cl().$$.context.set(n,e),e}function pt(n){return cl().$$.context.get(n)}function Rl(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const Wr=[],Xe=[],es=[],Lo=[],Qw=Promise.resolve();let Ao=!1;function Zw(){Ao||(Ao=!0,Qw.then(Mo))}function Eo(n){es.push(n)}function ht(n){Lo.push(n)}const Io=new Set;let $a=0;function Mo(){const n=zr;do{for(;$a<Wr.length;){const e=Wr[$a];$a++,Fn(e),Xw(e.$$)}for(Fn(null),Wr.length=0,$a=0;Xe.length;)Xe.pop()();for(let e=0;e<es.length;e+=1){const t=es[e];Io.has(t)||(Io.add(t),t())}es.length=0}while(Wr.length);for(;Lo.length;)Lo.pop()();Ao=!1,Io.clear(),Fn(n)}function Xw(n){if(n.fragment!==null){n.update(),Qe(n.before_update);const e=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(Eo)}}const ts=new Set;let Dl;function ke(){Dl={r:0,c:[],p:Dl}}function Se(){Dl.r||Qe(Dl.c),Dl=Dl.p}function R(n,e){n&&n.i&&(ts.delete(n),n.i(e))}function B(n,e,t,i){if(n&&n.o){if(ts.has(n))return;ts.add(n),Dl.c.push(()=>{ts.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}function ns(n,e){const t=e.token={};function i(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 _=l&&(e.current=l)(c);let d=!1;e.block&&(e.blocks?e.blocks.forEach((h,p)=>{p!==r&&h&&(ke(),B(h,1,1,()=>{e.blocks[p]===h&&(e.blocks[p]=null)}),Se())}):e.block.d(1),_.c(),R(_,1),_.m(e.mount(),e.anchor),d=!0),e.block=_,e.blocks&&(e.blocks[r]=_),d&&Mo()}if(Gw(n)){const l=cl();if(n.then(r=>{Fn(l),i(e.then,1,e.value,r),Fn(null)},r=>{if(Fn(l),i(e.catch,2,e.error,r),Fn(null),!e.hasCatch)throw r}),e.current!==e.pending)return i(e.pending,0),!0}else{if(e.current!==e.then)return i(e.then,1,e.value,n),!0;e.resolved=n}}function U_(n,e,t){const i=e.slice(),{resolved:l}=n;n.current===n.then&&(i[n.value]=l),n.current===n.catch&&(i[n.error]=l),n.block.p(i,t)}const dl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function _t(n,e,t,i){const l=n.$$.props[e];l!==void 0&&(n.$$.bound[l]=t,i===void 0&&t(n.$$.ctx[l]))}function Me(n){n&&n.c()}function Ve(n,e,t,i){const{fragment:l,after_update:r}=n.$$;l&&l.m(e,t),i||Eo(()=>{const a=n.$$.on_mount.map(E_).filter(pn);n.$$.on_destroy?n.$$.on_destroy.push(...a):Qe(a),n.$$.on_mount=[]}),r.forEach(Eo)}function Oe(n,e){const t=n.$$;t.fragment!==null&&(Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function $w(n,e){n.$$.dirty[0]===-1&&(Wr.push(n),Zw(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<<e%31}function At(n,e,t,i,l,r,a,o=[-1]){const c=zr;Fn(n);const _=n.$$={fragment:null,ctx:[],props:r,update:He,not_equal:l,bound:Hf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Hf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(_.root);let d=!1;if(_.ctx=t?t(n,e.props||{},(h,p,...b)=>{const m=b.length?b[0]:p;return _.ctx&&l(_.ctx[h],_.ctx[h]=m)&&(!_.skip_bound&&_.bound[h]&&_.bound[h](m),d&&$w(n,h)),p}):[],_.update(),d=!0,Qe(_.before_update),_.fragment=i?i(_.ctx):!1,e.target){if(e.hydrate){const h=Jw(e.target);_.fragment&&_.fragment.l(h),h.forEach(T)}else _.fragment&&_.fragment.c();e.intro&&R(n.$$.fragment),Ve(n,e.target,e.anchor,e.customElement),Mo()}Fn(c)}class Et{$destroy(){Oe(this,1),this.$destroy=He}$on(e,t){if(!pn(t))return He;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const l=i.indexOf(t);l!==-1&&i.splice(l,1)}}$set(e){this.$$set&&!Kw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class xw{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...i){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,i):this.wrapAsPromise(l)}}const ls=new xw;class e2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const rs=new e2;class t2{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let i=0;i<t.length;i++)this.deleteNodesRecursively(t[i])}this.dataManagement.delete(e)}}const Wi=new t2;let i2=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{M2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=oi.optimizeScope(e);t.length>0?t.forEach(i=>{window.Luigi._store.fire(i,{current:window.Luigi._store})}):window.Luigi._store.update(i=>i)}setErrorMessage(e){var t=document.createTextNode(e),i=document.createElement("div");i.setAttribute("class","fd-ui"),i.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),i.appendChild(l),Un.getLuigiContainer().appendChild(i)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ls.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...i){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await ls.applyFunctionPromisified(l,i)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return hn.isAuthorizationEnabled()}unload(){this.initialized=!1,ai.unload(),Ai.removeAllEventListeners();const e=Un.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 i=localStorage.getItem(this.USER_SETTINGS_KEY);return i&&JSON.parse(i)}async storeUserSettings(e,t){const i=await this.getConfigValueAsync("userSettings"),l=i||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(){Wi.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(i=>{i.titleResolver&&i.titleResolver._cache&&(i.titleResolver._cache=void 0),i.children&&e(i.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}};const as=new i2;let n2=class{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&ai.startAuthorization()}logout(){this.isAuthorizationEnabled()&&ai.logout()}async handleAuthEvent(e,t,i,l){const r=await ae.executeConfigFnAsync("auth.events."+e,!1,t,i);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return ae.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>sn.getStorageKey(),getStorageType:()=>sn.getStorageType(),getAuthData:()=>sn.getAuthData(),setAuthData:e=>sn.setAuthData(e),removeAuthData:()=>sn.removeAuthData(),setNewlyAuthorized:()=>sn.setNewlyAuthorized()}}};const B_=new n2,ti={desktopMinWidth:600},l2=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],r2={cssSelector:"[luigi-app-root]"},a2={cssSelector:"[luigi-app-loading-indicator]"};let s2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(r2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const H_=new s2;class o2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Zi extends o2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,i,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==="/"&&(i||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:i,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},i){if(le.isFunction(i)){const l=le.createRemotePromise();l.then(r=>{i(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class u2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,i,l,r){return new Zi().navigate(e,t,i,l,r)}openAsModal(e,t,i){return new Zi().openAsModal(e,t,i)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Zi().openAsSplitView(e,t)}openAsDrawer(e,t){return new Zi().openAsDrawer(e,t)}fromContext(e){return new Zi().fromContext(e)}fromClosestContext(){return new Zi().fromClosestContext()}fromVirtualTreeRoot(){return new Zi().fromVirtualTreeRoot()}withParams(e){return new Zi().withParams(e)}pathExists(e){return new Zi().pathExists(e)}hasBack(){return new Zi().hasBack()}goBack(e){return new Zi().goBack(e)}}const W_=new u2,f2={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},c2=f2;class d2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=c2,this.listeners={}}_init(){oi.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),as.configChanged()}_initCustomImplementation(){this.translationImpl=as.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,i=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,i);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,i){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 i?this.findInterpolations(t[a],i):t[a]}}findInterpolations(e,t){return Object.keys(t).forEach(i=>{e=e.replace(new RegExp("{"+dr.escapeKeyForRegexp(i)+"}","gi"),t[i])}),e}}const z_=new d2;class g2{sendToAll(e){const t=rs.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(i=>i.container).map(i=>Ae.sendMessageToIframe(i,t))}send(e,t){const i=rs.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,i))}}const h2=new g2,rr=[];function _2(n,e){return{subscribe:fr(n,e).subscribe}}function fr(n,e=He){let t;const i=new Set;function l(o){if(Nt(n,o)&&(n=o,t)){const c=!rr.length;for(const _ of i)_[1](),rr.push(_,n);if(c){for(let _=0;_<rr.length;_+=2)rr[_][0](rr[_+1]);rr.length=0}}}function r(o){l(o(n))}function a(o,c=He){const _=[o,c];return i.add(_),i.size===1&&(t=e(l)||He),o(n),()=>{i.delete(_),i.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class p2{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ue.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<ti.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<ti.desktopMinWidth&&this.previousWindowWidth>=ti.desktopMinWidth,i=window.innerWidth!==0&&window.innerWidth>ti.desktopMinWidth&&this.previousWindowWidth>=ti.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&i&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(ue.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(i=>i({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ue.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const gn=new p2;let m2=class{constructor(){this.documentTitle=fr()}hideAppLoadingIndicator(){const e=document.querySelector(a2.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return sl(this.documentTitle)}collapseLeftSideNav(e){gn.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Zi().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const q_=new m2;let b2=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const G_=new b2;let v2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await ae.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(i=>i.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ae.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ae.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ae.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(i=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+i);l&&(window.Luigi.__cssVars[i]=l)})}catch(t){le.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Gr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const i=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(i):i}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};oi.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const K_=new v2;let w2=class{constructor(){this.featureToggleList=fr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||sl(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=sl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}sl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...sl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return sl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):sl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const j_=new w2;let k2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ae.getConfigValue("routing.useHashRouting"))for(const[i,l]of new URLSearchParams(t.hash.split("?")[1]))e[i]=l;else for(const[i,l]of t.searchParams.entries())e[i]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const i=new URL(location);ae.getConfigValue("routing.useHashRouting")?i.hash=we.addParamsOnHashRouting(e,i.hash):we.modifySearchParams(e,i.searchParams),this.handleBrowserHistory(t,i),ae.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const i=we.getContentViewParamPrefix(),l=new URL(location);ae.getConfigValue("routing.useHashRouting")?l.hash=we.addParamsOnHashRouting(e,l.hash,i):we.modifySearchParams(e,l.searchParams,i),this.handleBrowserHistory(t,l),ae.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const i=this.sanitizeUrl(t.href);if(!i){console.warn("invalid url: "+i);return}e?window.history.pushState({},"",i):window.history.replaceState({},"",i)}getAnchor(){const{hash:e}=new URL(location);return ae.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ae.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),i=t.split("#"),r=i.length>2?i.slice(0,-1):i;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const J_=new k2,ae=as,hn=B_,Un=H_,Y_=W_,bt=z_,Yr=q_,S2=G_,Ro=K_,Fo=j_,ol=J_;window.Luigi=as;window.Luigi.auth=()=>B_;window.Luigi.elements=()=>H_;window.Luigi.navigation=()=>W_;window.Luigi.i18n=()=>z_;window.Luigi.customMessages=()=>h2;window.Luigi.ux=()=>q_;window.Luigi.globalSearch=()=>G_;window.Luigi.theming=()=>K_;window.Luigi.featureToggles=()=>j_;window.Luigi.routing=()=>J_;class C2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(i=>i.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),i=this.getPreservedViewsInDom(t);if(i.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),i[0].pv=void 0,i[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(i=>{!le.isElementVisible(i)&&!i.vg&&i.tagName==="IFRAME"&&e.removeChild(i)})}hasIsolatedView(e,t,i){return e||i&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=ue.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:bt.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,i){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(i)e.removeChild(o);else{const c=ue.getViewGroupSettings(o.vg);if(c&&this.notifyInactiveIframes(),o.style.display="none",c.preloadUrl){const _={msg:"luigi.navigate",viewUrl:c.preloadUrl,context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:bt.getCurrentLocale()})};Ae.sendMessageToIframe(o,_)}}o===t&&(r=!0)}),t&&(t.style.display="block",r||e.insertBefore(t,e.firstChild))}return t}setOkResponseHandler(e,t,i){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ae.removeIframe(e.iframe,i),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,i))},this.iframeNavFallbackTimeout)}checkIframe(e,t,i,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(i=e.viewUrl,t.set({viewUrl:i}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ue.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,i){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=we.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),_=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(i);const h=Ae.getMainIframes(),p=this.getPreservedViewsInDom(h);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(i,void 0,!0)),d&&c&&(d=this.switchActiveIframe(i,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(i,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(i,void 0,!1):_||(d=this.switchActiveIframe(i,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&i.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(i)):Ae.removeElementChildren(i),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),i.insertBefore(e.iframe,i.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,i):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,i)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(I=>{I!==e.iframe&&(I.userSettingsGroup?Luigi.readUserSettings().then(A=>{Ae.sendMessageToIframe(I,{msg:"luigi.navigate",context:{userSettingsData:A[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({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(I.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,i)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const an=new C2;class y2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=ue.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(h=>h.luigi&&h.luigi.preloading&&o-h.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const _=a.map(h=>h.vg).filter(Boolean),d=Object.entries(l).filter(([h,p])=>!_.includes(h)).filter(([h,p])=>p&&p.preloadUrl);t&&d.forEach(([h,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,h,r)}),!t&&d.filter((h,p)=>p<e).forEach(([h,p])=>{console.debug("preloading view group "+h+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,h,r)})}preloadIframeOnBackground(e,t,i){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,i.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 i=1;t<500?i=3:t<1e3&&(i=2),this.preloadBatchSize=i,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const ar=new y2;class P2{async getNavigationPath(e,t=""){try{const i=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Wi.hasRootNode()&&(l=Wi.getRootNode().node),!l){const h=await e;le.isObject(h)?(l=h,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:h},l.children=await this.getChildren(l),Wi.setRootNode(l)}const r=i.split("/"),o={...ae.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),_=c.navigationPath.filter(h=>h.pathSegment).map(h=>h.pathSegment);c.isExistingRoute=!i||r.length===_.length;const d=i.split("/");return c.matchedPath=d.filter((h,p)=>_[p]&&_[p].startsWith(":")||_[p]===h).join("/"),c}catch(i){console.error("Failed to load top navigation nodes.",i)}}async getChildren(e,t){if(!e)return[];let i=[];if(Wi.hasChildren(e)){let r=Wi.getChildren(e);r&&(i=r.children)}else try{i=await ls.getConfigValueFromObjectAsync(e,"children",t||e.context),i==null&&(i=[]),i=i.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,i,t);return Wi.setChildren(e,{children:i,filteredChildren:l}),l}async getFilteredChildren(e){return Wi.hasChildren(e)?Rt.getChildrenFromCache(e):await Rt.getChildren(e)}getChildrenFromCache(e){let t=Wi.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,i){return t?t.filter(l=>ue.isNodeAccessPermitted(l,e,i)):[]}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("/"),i={...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=i,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,i,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&i&&i.length>0){const o=e[0],c=this.findMatchingNode(o,i);if(c){t.push(c);let _=ue.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=dr.sanitizeParam(o)),_=we.substituteDynamicParamsInObject(_,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,_);const h=e.slice(1);a=this.buildNode(h,t,d,_,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,i){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return i?(l+=":virtualSegment_"+i+"/",e+"/"+l):e}buildVirtualTree(e,t,i){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 _=["_*","virtualTree","parent","children","keepSelectedForChildren","navigationContext"],d=le.removeProperties(e,_);Object.assign(d,{pathSegment:":virtualSegment_"+o,label:":virtualSegment_"+o,viewUrl:le.trimTrailingSlash(this.buildVirtualViewUrl(a,i,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const h=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!h&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
1
|
+
var Ww=Object.defineProperty;var zw=(n,e,t)=>e in n?Ww(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Bf=(n,e,t)=>(zw(n,typeof e!="symbol"?e+"":e,t),t);function He(){}function qw(n,e){for(const t in e)n[t]=e[t];return n}function Gw(n){return n&&typeof n=="object"&&typeof n.then=="function"}function E_(n){return n()}function Hf(){return Object.create(null)}function Qe(n){n.forEach(E_)}function pn(n){return typeof n=="function"}function Nt(n,e){return n!=n?e==e:n!==e||n&&typeof n=="object"||typeof n=="function"}let Xa;function Ze(n,e){return Xa||(Xa=document.createElement("a")),Xa.href=e,n===Xa.href}function Kw(n){return Object.keys(n).length===0}function Oo(n,...e){if(n==null)return He;const t=n.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function sl(n){let e;return Oo(n,t=>e=t)(),e}function bn(n,e,t){n.$$.on_destroy.push(Oo(e,t))}function R_(n,e,t,i){if(n){const l=D_(n,e,t,i);return n[0](l)}}function D_(n,e,t,i){return n[1]&&i?qw(t.ctx.slice(),n[1](i(e))):t.ctx}function V_(n,e,t,i){if(n[2]&&i){const l=n[2](i(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],a=Math.max(e.dirty.length,l.length);for(let o=0;o<a;o+=1)r[o]=e.dirty[o]|l[o];return r}return e.dirty|l}return e.dirty}function O_(n,e,t,i,l,r){if(l){const a=D_(e,t,i,r);n.p(a,l)}}function M_(n){if(n.ctx.length>32){const e=[],t=n.ctx.length/32;for(let i=0;i<t;i++)e[i]=-1;return e}return-1}function Xi(n){return n??""}function F_(n){return n&&pn(n.destroy)?n.destroy:He}function w(n,e){n.appendChild(e)}function L(n,e,t){n.insertBefore(e,t||null)}function I(n){n.parentNode&&n.parentNode.removeChild(n)}function ft(n,e){for(let t=0;t<n.length;t+=1)n[t]&&n[t].d(e)}function S(n){return document.createElement(n)}function jw(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function Te(n){return document.createTextNode(n)}function z(){return Te(" ")}function Ce(){return Te("")}function ne(n,e,t,i){return n.addEventListener(e,t,i),()=>n.removeEventListener(e,t,i)}function Pt(n){return function(e){return e.preventDefault(),n.call(this,e)}}function Vt(n){return function(e){return e.stopPropagation(),n.call(this,e)}}function f(n,e,t){t==null?n.removeAttribute(e):n.getAttribute(e)!==t&&n.setAttribute(e,t)}function Jw(n){return Array.from(n.childNodes)}function Le(n,e){e=""+e,n.wholeText!==e&&(n.data=e)}function Wf(n,e){n.value=e??""}function Li(n,e,t,i){t===null?n.style.removeProperty(e):n.style.setProperty(e,t,i?"important":"")}function Ht(n,e,t){n.classList[t?"add":"remove"](e)}function Yw(n,e,{bubbles:t=!1,cancelable:i=!1}={}){const l=document.createEvent("CustomEvent");return l.initCustomEvent(n,t,i,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,i=null){this.e||(this.is_svg?this.e=jw(t.nodeName):this.e=S(t.nodeName),this.t=t,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)L(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(I)}}let zr;function Fn(n){zr=n}function cl(){if(!zr)throw new Error("Function called outside component initialization");return zr}function zi(n){cl().$$.before_update.push(n)}function Qt(n){cl().$$.on_mount.push(n)}function jr(n){cl().$$.after_update.push(n)}function Jr(n){cl().$$.on_destroy.push(n)}function Wt(){const n=cl();return(e,t,{cancelable:i=!1}={})=>{const l=n.$$.callbacks[e];if(l){const r=Yw(e,t,{cancelable:i});return l.slice().forEach(a=>{a.call(n,r)}),!r.defaultPrevented}return!0}}function Br(n,e){return cl().$$.context.set(n,e),e}function pt(n){return cl().$$.context.get(n)}function Rl(n,e){const t=n.$$.callbacks[e.type];t&&t.slice().forEach(i=>i.call(this,e))}const Wr=[],Xe=[],es=[],Lo=[],Qw=Promise.resolve();let Ao=!1;function Zw(){Ao||(Ao=!0,Qw.then(Mo))}function Eo(n){es.push(n)}function ht(n){Lo.push(n)}const Io=new Set;let $a=0;function Mo(){const n=zr;do{for(;$a<Wr.length;){const e=Wr[$a];$a++,Fn(e),Xw(e.$$)}for(Fn(null),Wr.length=0,$a=0;Xe.length;)Xe.pop()();for(let e=0;e<es.length;e+=1){const t=es[e];Io.has(t)||(Io.add(t),t())}es.length=0}while(Wr.length);for(;Lo.length;)Lo.pop()();Ao=!1,Io.clear(),Fn(n)}function Xw(n){if(n.fragment!==null){n.update(),Qe(n.before_update);const e=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,e),n.after_update.forEach(Eo)}}const ts=new Set;let Dl;function ke(){Dl={r:0,c:[],p:Dl}}function Se(){Dl.r||Qe(Dl.c),Dl=Dl.p}function R(n,e){n&&n.i&&(ts.delete(n),n.i(e))}function B(n,e,t,i){if(n&&n.o){if(ts.has(n))return;ts.add(n),Dl.c.push(()=>{ts.delete(n),i&&(t&&n.d(1),i())}),n.o(e)}else i&&i()}function ns(n,e){const t=e.token={};function i(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((_,p)=>{p!==r&&_&&(ke(),B(_,1,1,()=>{e.blocks[p]===_&&(e.blocks[p]=null)}),Se())}):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&&Mo()}if(Gw(n)){const l=cl();if(n.then(r=>{Fn(l),i(e.then,1,e.value,r),Fn(null)},r=>{if(Fn(l),i(e.catch,2,e.error,r),Fn(null),!e.hasCatch)throw r}),e.current!==e.pending)return i(e.pending,0),!0}else{if(e.current!==e.then)return i(e.then,1,e.value,n),!0;e.resolved=n}}function U_(n,e,t){const i=e.slice(),{resolved:l}=n;n.current===n.then&&(i[n.value]=l),n.current===n.catch&&(i[n.error]=l),n.block.p(i,t)}const dl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function _t(n,e,t,i){const l=n.$$.props[e];l!==void 0&&(n.$$.bound[l]=t,i===void 0&&t(n.$$.ctx[l]))}function Me(n){n&&n.c()}function Ve(n,e,t,i){const{fragment:l,after_update:r}=n.$$;l&&l.m(e,t),i||Eo(()=>{const a=n.$$.on_mount.map(E_).filter(pn);n.$$.on_destroy?n.$$.on_destroy.push(...a):Qe(a),n.$$.on_mount=[]}),r.forEach(Eo)}function Oe(n,e){const t=n.$$;t.fragment!==null&&(Qe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function $w(n,e){n.$$.dirty[0]===-1&&(Wr.push(n),Zw(),n.$$.dirty.fill(0)),n.$$.dirty[e/31|0]|=1<<e%31}function At(n,e,t,i,l,r,a,o=[-1]){const c=zr;Fn(n);const h=n.$$={fragment:null,ctx:[],props:r,update:He,not_equal:l,bound:Hf(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:Hf(),dirty:o,skip_bound:!1,root:e.target||c.$$.root};a&&a(h.root);let d=!1;if(h.ctx=t?t(n,e.props||{},(_,p,...b)=>{const m=b.length?b[0]:p;return h.ctx&&l(h.ctx[_],h.ctx[_]=m)&&(!h.skip_bound&&h.bound[_]&&h.bound[_](m),d&&$w(n,_)),p}):[],h.update(),d=!0,Qe(h.before_update),h.fragment=i?i(h.ctx):!1,e.target){if(e.hydrate){const _=Jw(e.target);h.fragment&&h.fragment.l(_),_.forEach(I)}else h.fragment&&h.fragment.c();e.intro&&R(n.$$.fragment),Ve(n,e.target,e.anchor,e.customElement),Mo()}Fn(c)}class Et{$destroy(){Oe(this,1),this.$destroy=He}$on(e,t){if(!pn(t))return He;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const l=i.indexOf(t);l!==-1&&i.splice(l,1)}}$set(e){this.$$set&&!Kw(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}class xw{constructor(){this.handles={},this.keyExistencyTimeout=2e4,this.keyExistencyCheckInterval=50}wrapAsPromise(e){return new Promise(t=>{t(e)})}applyFunctionPromisified(e,t){return e=e.apply(this,t),le.isPromise(e)?e:this.wrapAsPromise(e)}getConfigValueFromObjectAsync(e,t,...i){let l=le.getConfigValueFromObject(e,t);return le.isFunction(l)?this.applyFunctionPromisified(l,i):this.wrapAsPromise(l)}}const ls=new xw;class e2{convertCustomMessageInternalToUser(e){return e.data}convertCustomMessageUserToInternal(e){return{msg:"custom",data:e}}}const rs=new e2;class t2{constructor(){this.dataManagement=new Map}setChildren(e,t){this.dataManagement.set(e,t),this.navPath=""}getChildren(e){return e?this.dataManagement.get(e):{}}hasChildren(e){const t=this.getChildren(e);return t&&t.hasOwnProperty("children")}setRootNode(e){this.dataManagement.set("_luigiRootNode",{node:e})}getRootNode(){return this.dataManagement.get("_luigiRootNode")}hasRootNode(){return!!this.getRootNode()}deleteCache(){this.dataManagement.clear()}deleteNodesRecursively(e){if(this.hasChildren(e)){let t=this.getChildren(e).children;for(let i=0;i<t.length;i++)this.deleteNodesRecursively(t[i])}this.dataManagement.delete(e)}}const Wi=new t2;let i2=class{constructor(){this.configReadyCallback=function(){},this.initialized=!1,this.USER_SETTINGS_KEY="luigi.preferences.userSettings"}setConfigCallbacks(e){this.configReadyCallback=e}async setConfig(e){this.config=e,window.Luigi._store.update(()=>({config:e})),this._configModificationTimestamp=new Date,this.initialized||(this.initialized=!0,this.configReadyCallback().then(async()=>{M2.luigiAfterInit(),await this.executeConfigFnAsync("lifecycleHooks.luigiAfterInit")}))}getConfig(){return this.config}configChanged(...e){const t=ui.optimizeScope(e);t.length>0?t.forEach(i=>{window.Luigi._store.fire(i,{current:window.Luigi._store})}):window.Luigi._store.update(i=>i)}setErrorMessage(e){var t=document.createTextNode(e),i=document.createElement("div");i.setAttribute("class","fd-ui"),i.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),i.appendChild(l),Un.getLuigiContainer().appendChild(i)}getConfigValue(e){return le.getConfigValueFromObject(this.getConfig(),e)}getConfigBooleanValue(e){const t=le.getConfigValueFromObject(this.getConfig(),e);return t===!0||t==="true"}getConfigValueAsync(e,...t){return ls.getConfigValueFromObjectAsync(this.getConfig(),e,t)}async executeConfigFnAsync(e,t=!1,...i){const l=this.getConfigValue(e);if(le.isFunction(l))try{return await ls.applyFunctionPromisified(l,i)}catch(r){if(t)return Promise.reject(r)}return Promise.resolve(void 0)}isAuthorizationEnabled(){return hn.isAuthorizationEnabled()}unload(){this.initialized=!1,si.unload(),Ai.removeAllEventListeners();const e=Un.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 i=localStorage.getItem(this.USER_SETTINGS_KEY);return i&&JSON.parse(i)}async storeUserSettings(e,t){const i=await this.getConfigValueAsync("userSettings"),l=i||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(){Wi.deleteCache();const e=t=>{t&&t.forEach&&t.forEach(i=>{i.titleResolver&&i.titleResolver._cache&&(i.titleResolver._cache=void 0),i.children&&e(i.children)})};e(this.getConfig().navigation.nodes)}setGlobalContext(e,t){this.config&&this.config.navigation&&(this.config.navigation.globalContext=e,t||this.configChanged("navigation"))}getGlobalContext(){var e,t;return((t=(e=this.config)==null?void 0:e.navigation)==null?void 0:t.globalContext)||{}}};const as=new i2;let n2=class{constructor(){}isAuthorizationEnabled(){return!!ae.getConfigValue("auth.use")}login(){this.isAuthorizationEnabled()&&si.startAuthorization()}logout(){this.isAuthorizationEnabled()&&si.logout()}async handleAuthEvent(e,t,i,l){const r=await ae.executeConfigFnAsync("auth.events."+e,!1,t,i);let a=r===void 0||!!r;if(a&&l){window.location.href=l;return}return a}get store(){return ae.initialized||console.warn("Luigi Core is not initialized yet. Consider moving your code to the luigiAfterInit lifecycle hook. Documentation: https://docs.luigi-project.io/docs/lifecycle-hooks"),{getStorageKey:()=>sn.getStorageKey(),getStorageType:()=>sn.getStorageType(),getAuthData:()=>sn.getAuthData(),setAuthData:e=>sn.setAuthData(e),removeAuthData:()=>sn.removeAuthData(),setNewlyAuthorized:()=>sn.setNewlyAuthorized()}}};const B_=new n2,ii={desktopMinWidth:600},l2=[{type:"main",selector:".iframeContainer iframe"},{type:"split-view",selector:".iframeSplitViewCnt iframe"},{type:"modal",selector:".iframeModalCtn._modal iframe"},{type:"drawer",selector:".iframeModalCtn._drawer iframe"},{type:"user-settings",selector:".iframeUserSettingsCtn iframe"}],r2={cssSelector:"[luigi-app-root]"},a2={cssSelector:"[luigi-app-loading-indicator]"};let s2=class{getLuigiContainer(){return this.getCustomLuigiContainer()||this.getDefaultLuigiContainer()}isCustomLuigiContainer(){return this.getLuigiContainer()===this.getCustomLuigiContainer()}getCustomLuigiContainer(){return document.querySelector(r2.cssSelector)}getDefaultLuigiContainer(){return document.querySelector("body")}getShellbar(){return document.getElementsByClassName("lui-shellbar-wrapper")[0]}getShellbarActions(){return document.getElementsByClassName("lui-shellbar_group--actions")[0]}getMicrofrontends(){return Ae.getMicrofrontendsInDom()}getMicrofrontendIframes(){return Ae.getMicrofrontendIframes()}getCurrentMicrofrontendIframe(){return Ae.getCurrentMicrofrontendIframe()}getNavFooterContainer(){return document.getElementsByClassName("lui-side-nav__footer")[0]}};const H_=new s2;class o2{constructor(){this.promises={}}setPromise(e,t){this.promises[e]=t}getPromise(e){return this.promises[e]}}class Zi extends o2{constructor(e){super(),Object.assign(this,e),this.options={preserveView:!1,nodeParams:{},errorSkipNavigation:!1,fromContext:null,fromClosestContext:!1,relative:!1,link:""}}async navigate(e,t,i,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==="/"&&(i||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:i,splitView:l,drawer:r}),remotePromiseId:o.id};return this.sendPostMessageToLuigiCore(c),o}openAsModal(e,t={},i){if(le.isFunction(i)){const l=le.createRemotePromise();l.then(r=>{i(r)}),t.onClosePromiseId=l.id}return this.navigate(e,!0,t)}openAsDrawer(e,t={}){return this.navigate(e,!0,void 0,void 0,t)}openAsSplitView(e,t={}){return this.navigate(e,!0,void 0,t),Luigi.splitView.splitViewHandle}fromContext(e){return this.options.fromContext=e,this}fromClosestContext(){return this.options.fromContext=null,this.options.fromClosestContext=!0,this}fromVirtualTreeRoot(){return this.options.fromContext=null,this.options.fromClosestContext=!1,this.options.fromVirtualTreeRoot=!0,this}withParams(e){return e&&Object.assign(this.options.nodeParams,e),this}pathExists(e){if(le.isFunction(Luigi.pathExists))return Luigi.pathExists(e);console.error("Luigi.navigation().pathExists(path) is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}hasBack(){return Luigi.hasBack()}goBack(e){this.sendPostMessageToLuigiCore({msg:"luigi.navigation.back",goBackContext:e&&JSON.stringify(e)})}sendPostMessageToLuigiCore(e){window.postMessage(e,"*")}}class u2{constructor(){}updateTopNavigation(){window.postMessage({msg:"luigi.navigation.update-badge-counters"},"*")}navigate(e,t,i,l,r){return new Zi().navigate(e,t,i,l,r)}openAsModal(e,t,i){return new Zi().openAsModal(e,t,i)}openAsSplitView(e,t={}){if(e==="/"){console.warn("Navigation with an absolute path prevented.");return}return new Zi().openAsSplitView(e,t)}openAsDrawer(e,t){return new Zi().openAsDrawer(e,t)}fromContext(e){return new Zi().fromContext(e)}fromClosestContext(){return new Zi().fromClosestContext()}fromVirtualTreeRoot(){return new Zi().fromVirtualTreeRoot()}withParams(e){return new Zi().withParams(e)}pathExists(e){return new Zi().pathExists(e)}hasBack(){return new Zi().hasBack()}goBack(e){return new Zi().goBack(e)}}const W_=new u2,f2={luigi:{unsavedChangesAlert:{header:"Unsaved changes detected",body:"Unsaved changes will be lost. Do you want to continue?"},confirmationModal:{header:"Confirmation",body:"Are you sure you want to do this?"},button:{dismiss:"No",confirm:"Yes"},requestedRouteNotFound:"Could not find the requested route {route}.",notExactTargetNode:"Could not map the exact target node for the requested route {route}.",navigation:{up:"Up"}}},c2=f2;class d2{constructor(){this.currentLocaleStorageKey="luigi.currentLocale",this.defaultLocale="en",this.translationTable=c2,this.listeners={}}_init(){ui.doOnStoreChange(window.Luigi._store,()=>{this._initCustomImplementation()},["settings"])}getCurrentLocale(){return sessionStorage.getItem(this.currentLocaleStorageKey)||this.defaultLocale}setCurrentLocale(e){e&&(sessionStorage.setItem(this.currentLocaleStorageKey,e),this._notifyLocaleChange(e))}addCurrentLocaleChangeListener(e){if(le.isFunction(e)){const t=le.getRandomId();return this.listeners[t]=e,t}else console.error("Provided locale change listener is not a function.")}removeCurrentLocaleChangeListener(e){e&&this.listeners[e]?delete this.listeners[e]:console.error("Unable to remove locale change listener - no listener registered for given ID.")}_notifyLocaleChange(e){Object.getOwnPropertyNames(this.listeners).forEach(t=>{this.listeners[t](e)}),as.configChanged()}_initCustomImplementation(){this.translationImpl=as.getConfigValue("settings.customTranslationImplementation"),le.isFunction(this.translationImpl)&&(this.translationImpl=this.translationImpl())}getTranslation(e,t=void 0,i=void 0){if(!e)return"";if(this.translationImpl){const r=this.translationImpl.getTranslation(e,t,i);if(r!==e)return r}const l=this.findTranslation(e,this.translationTable,t);return l||e}findTranslation(e,t,i){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 i?this.findInterpolations(t[a],i):t[a]}}findInterpolations(e,t){return Object.keys(t).forEach(i=>{e=e.replace(new RegExp("{"+dr.escapeKeyForRegexp(i)+"}","gi"),t[i])}),e}}const z_=new d2;class g2{sendToAll(e){const t=rs.convertCustomMessageUserToInternal(e);Ae.getMicrofrontendsInDom().map(i=>i.container).map(i=>Ae.sendMessageToIframe(i,t))}send(e,t){const i=rs.convertCustomMessageUserToInternal(t);Ae.getMicrofrontendsInDom().filter(l=>l.id===e).map(l=>l.container).map(l=>Ae.sendMessageToIframe(l,i))}}const h2=new g2,rr=[];function _2(n,e){return{subscribe:fr(n,e).subscribe}}function fr(n,e=He){let t;const i=new Set;function l(o){if(Nt(n,o)&&(n=o,t)){const c=!rr.length;for(const h of i)h[1](),rr.push(h,n);if(c){for(let h=0;h<rr.length;h+=2)rr[h][0](rr[h+1]);rr.length=0}}}function r(o){l(o(n))}function a(o,c=He){const h=[o,c];return i.add(h),i.size===1&&(t=e(l)||He),o(n),()=>{i.delete(h),i.size===0&&(t(),t=null)}}return{set:l,update:r,subscribe:a}}class p2{initial(){this.responsiveNavSetting=ae.getConfigValue("settings.responsiveNavigation");const e=this.responsiveNavSetting==="semiCollapsible"||this.responsiveNavSetting==="Fiori3";JSON.parse(localStorage.getItem(ue.COL_NAV_KEY))!==!1&&e&&(this.isSemiCollapsed=this.getCollapsed()),this.semiCollapsible=!!e;let t=this.isSemiCollapsed===void 0;return this.semiCollapsible&&window.innerWidth!==0&&window.innerWidth<ii.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<ii.desktopMinWidth&&this.previousWindowWidth>=ii.desktopMinWidth,i=window.innerWidth!==0&&window.innerWidth>ii.desktopMinWidth&&this.previousWindowWidth>=ii.desktopMinWidth;return t&&this.setCollapsed(!0,!1),!this.isStoredCollapsed()&&i&&this.setCollapsed(!1,!1),e=this.closePopupMenu(e),{isSemiCollapsed:this.isSemiCollapsed,selectedCategory:e}}setCollapsed(e,t=!0){document.body.classList.remove("semiCollapsed"),e&&document.body.classList.add("semiCollapsed"),this.isSemiCollapsed=e,t&&localStorage.setItem(ue.COL_NAV_KEY,e),this.valueChangedFns instanceof Array&&this.valueChangedFns.forEach(i=>i({isSemiCollapsed:this.isSemiCollapsed}))}isStoredCollapsed(){return JSON.parse(localStorage.getItem(ue.COL_NAV_KEY))}getCollapsed(){return this.isStoredCollapsed()?!0:this.isSemiCollapsed}closePopupMenu(e){var t;return e&&(e=null,(t=document.getElementsByClassName("fd-app__sidebar")[0])==null||t.classList.remove("isBlocked")),e}buttonClicked(e){return this.closePopupMenu(),this.getCollapsed()?this.setCollapsed(!1):(this.setCollapsed(!0),document.getElementsByClassName("lui-fd-side-nav-wrapper")[0]&&(document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:hidden;"),window.setTimeout(function(){document.getElementsByClassName("lui-fd-side-nav-wrapper")[0].setAttribute("style","overflow-y:auto;")}))),this.isSemiCollapsed}}const gn=new p2;let m2=class{constructor(){this.documentTitle=fr()}hideAppLoadingIndicator(){const e=document.querySelector(a2.cssSelector);e&&(e.classList.add("hidden"),setTimeout(()=>{e.parentNode&&e.parentNode.removeChild(e)},500))}showAlert(e){if(le.isFunction(Luigi.showAlert))return Luigi.showAlert(e);console.error("Luigi.ux().showAlert() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}showConfirmationModal(e){if(le.isFunction(Luigi.showConfirmationModal))return Luigi.showConfirmationModal(e);console.error("Luigi.ux().showConfirmationModal() is only available inside your configuration, after the configuration was initialized with Luigi.setConfig().")}setDocumentTitle(e){this.documentTitle.set(e),Luigi.configChanged("settings.header")}getDocumentTitle(){return sl(this.documentTitle)}collapseLeftSideNav(e){gn.setCollapsed(e)}openUserSettings(){Luigi.openUserSettings()}closeUserSettings(){Luigi.closeUserSettings()}removeBackdrop(){new Zi().sendPostMessageToLuigiCore({msg:"luigi.remove-backdrop"})}getDirtyStatus(){return Luigi.getDirtyStatus()}};const q_=new m2;let b2=class{openSearchField(){Luigi.openSearchField()}closeSearchField(){Luigi.closeSearchField()}clearSearchField(){Luigi.clearSearchField()}showSearchResult(e){Luigi.showSearchResult(e)}closeSearchResult(){Luigi.closeSearchResult()}getSearchString(){return Luigi.getGlobalSearchString()}setSearchString(e){Luigi.setGlobalSearchString(e)}setSearchInputPlaceholder(e){Luigi.setSearchInputPlaceholder(e)}};const G_=new b2;let v2=class{constructor(){this.currentTheme}async getAvailableThemes(){return await ae.getConfigValueAsync("settings.theming.themes")}setCurrentTheme(e){this.currentTheme=e,window.Luigi.__cssVars=void 0}async getThemeObject(e){const t=await this.getAvailableThemes();return t&&t.find(i=>i.id===e)}getCurrentTheme(){if(!this.isThemingAvailable())return!1;if(this.currentTheme)return this.currentTheme;const e=ae.getConfigValue("settings.theming");return e.defaultTheme||console.error("[Theming] getCurrentTheme() error. No theme set and no defaultTheme found in configuration",e),e.defaultTheme}isThemingAvailable(){return!!ae.getConfigValue("settings.theming")}async getCSSVariables(){if(!window.Luigi.__cssVars){const e=ae.getConfigValue("settings.theming.variables.file");if(e)try{const t=await fetch(e);window.Luigi.__cssVars=(await t.json()).root,Object.keys(window.Luigi.__cssVars).forEach(i=>{const l=getComputedStyle(document.documentElement).getPropertyValue("--"+i);l&&(window.Luigi.__cssVars[i]=l)})}catch(t){le.isFunction(ae.getConfigValue("settings.theming.variables.errorHandling"))?ae.getConfigValue("settings.theming.variables.errorHandling")(t):console.error("CSS variables file error: ",t)}else ae.getConfigValue("settings.theming.variables")==="fiori"&&window.__luigiThemeVars?(window.Luigi.__cssVars={},window.__luigiThemeVars.forEach(t=>{window.Luigi.__cssVars[t]=getComputedStyle(document.documentElement).getPropertyValue("--"+t)})):window.Luigi.__cssVars={}}return window.Luigi.__cssVars}_init(){const e=()=>{const t=ae.getConfigValue("settings.theming");t&&t.nodeViewURLDecorator&&t.nodeViewURLDecorator.queryStringParameter&&Gr.add({type:"queryString",uid:"theming",key:t.nodeViewURLDecorator.queryStringParameter.keyName,valueFn:()=>{const i=this.getCurrentTheme(),l=t.nodeViewURLDecorator.queryStringParameter.value;return l?l(i):i}}),t&&t.useFioriScrollbars===!0&&document.body.classList.add("fioriScrollbars")};ui.doOnStoreChange(window.Luigi._store,()=>{e()},["settings.theming"])}};const K_=new v2;let w2=class{constructor(){this.featureToggleList=fr([])}setFeatureToggle(e,t=!1){this.isValid(e)&&(e.startsWith("!")&&!t||this.isDuplicatedOrDisabled(e)||sl(this.featureToggleList).push(e))}unsetFeatureToggle(e){if(!this.isValid(e))return;const t=sl(this.featureToggleList).indexOf(e);if(t===-1){console.warn("Feature toggle name is not in the list.");return}sl(this.featureToggleList).splice(t,1)}getActiveFeatureToggleList(){return[...sl(this.featureToggleList)].filter(e=>!e.startsWith("!"))}isValid(e){return le.isString(e)?!0:(console.warn("Feature toggle name is not valid or not of type 'string'"),!1)}isDuplicatedOrDisabled(e){return sl(this.featureToggleList).includes(e)?(console.warn("Feature toggle name already exists"),!0):sl(this.featureToggleList).includes(`!${e}`)?(console.warn("Disabled feature toggle can not be activated"),!0):!1}};const j_=new w2;let k2=class{constructor(){}getSearchParams(){const e={},t=new URL(location);if(ae.getConfigValue("routing.useHashRouting"))for(const[i,l]of new URLSearchParams(t.hash.split("?")[1]))e[i]=l;else for(const[i,l]of t.searchParams.entries())e[i]=l;return e}addSearchParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const i=new URL(location);ae.getConfigValue("routing.useHashRouting")?i.hash=we.addParamsOnHashRouting(e,i.hash):we.modifySearchParams(e,i.searchParams),this.handleBrowserHistory(t,i),ae.configChanged()}addNodeParams(e,t){if(!le.isObject(e)){console.log("Params argument must be an object");return}const i=we.getContentViewParamPrefix(),l=new URL(location);ae.getConfigValue("routing.useHashRouting")?l.hash=we.addParamsOnHashRouting(e,l.hash,i):we.modifySearchParams(e,l.searchParams,i),this.handleBrowserHistory(t,l),ae.configChanged()}sanitizeUrl(e){return new URL(location).origin===new URL(e).origin?e:void 0}handleBrowserHistory(e,t){const i=this.sanitizeUrl(t.href);if(!i){console.warn("invalid url: "+i);return}e?window.history.pushState({},"",i):window.history.replaceState({},"",i)}getAnchor(){const{hash:e}=new URL(location);return ae.getConfigValue("routing.useHashRouting")&&e.split("#").length===2?"":e.split("#").pop()}setAnchor(e){if(ae.getConfigValue("routing.useHashRouting")){const{hash:t}=new URL(location),i=t.split("#"),r=i.length>2?i.slice(0,-1):i;window.location.hash=[...r,e].join("#")}else window.location.hash=e}};const J_=new k2,ae=as,hn=B_,Un=H_,Y_=W_,bt=z_,Yr=q_,S2=G_,Ro=K_,Fo=j_,ol=J_;window.Luigi=as;window.Luigi.auth=()=>B_;window.Luigi.elements=()=>H_;window.Luigi.navigation=()=>W_;window.Luigi.i18n=()=>z_;window.Luigi.customMessages=()=>h2;window.Luigi.ux=()=>q_;window.Luigi.globalSearch=()=>G_;window.Luigi.theming=()=>K_;window.Luigi.featureToggles=()=>j_;window.Luigi.routing=()=>J_;class C2{constructor(){this.iframeNavFallbackTimeout=2e3,this.timeoutHandle}getActiveIframe(e){return[...e.children].filter(i=>i.tagName==="IFRAME").find(le.isElementVisible)}setActiveIframeToPrevious(e){const t=Ae.getMainIframes(),i=this.getPreservedViewsInDom(t);if(i.length===0)return;const l=this.getActiveIframe(e);Ae.hideElementChildren(e),l&&e.removeChild(l),i[0].pv=void 0,i[0].style.display="block"}removeInactiveIframes(e){Array.from(e.children).forEach(i=>{!le.isElementVisible(i)&&!i.vg&&i.tagName==="IFRAME"&&e.removeChild(i)})}hasIsolatedView(e,t,i){return e||i&&e!==!1&&!t}getPreservedViewsInDom(e){return e.filter(t=>t.pv)}canCache(e){const t=ue.getViewGroupSettings(e);return t&&t.preloadUrl}notifyInactiveIframes(){const e={msg:"luigi-client.inactive-microfrontend",context:JSON.stringify({}),nodeParams:JSON.stringify({}),pathParams:JSON.stringify({}),internal:JSON.stringify({currentLocale:bt.getCurrentLocale()})};Ae.sendMessageToVisibleIframes(e)}switchActiveIframe(e,t,i){const l=this.getActiveIframe(e);if(l!==t){let r=!1;Array.from(e.children).forEach(o=>{if(o===l)if(i)e.removeChild(o);else{const c=ue.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:bt.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,i){this.timeoutHandle=setTimeout(async()=>{e.navigateOk?e.navigateOk=void 0:(Ae.removeIframe(e.iframe,i),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,i))},this.iframeNavFallbackTimeout)}checkIframe(e,t,i,l,r){this.timeoutHandle=setTimeout(()=>{t.get().showLoadingIndicator&&(e.viewUrl?(i=e.viewUrl,t.set({viewUrl:i}),this.iframeNavFallbackTimeout=0,this.setOkResponseHandler(l,t,r)):ue.handleUnresponsiveClient(e))},e.timeout)}initHandshakeFailed(e){if(!(e&&e.iframe&&e.iframe.luigi))return!0;const t=e.iframe.luigi.clientVersion;return e.iframe.luigi.initOk===void 0?!0:!t||le.semverCompare("1.1.1",t)!==-1?!1:!e.iframe.luigi.initOk}async navigateIframe(e,t,i){clearTimeout(this.timeoutHandle);const l=t.get();let r=l.viewUrl;r&&(r=we.substituteViewUrl(r,l));const a=Ae.isSameViewGroup(e,t),o=this.hasIsolatedView(l.previousNodeValues.isolateView,a,e.isolateAllViews),c=this.hasIsolatedView(l.isolateView,a,e.isolateAllViews),h=Ae.canReuseIframe(e,t);let d=this.getActiveIframe(i);const _=Ae.getMainIframes(),p=this.getPreservedViewsInDom(_);let b,m=!1;if(p.length>0&&(b=p.shift(),b===d&&(m=!0,d=void 0,e.iframe=void 0)),!m&&!t.get().isNavigateBack){d&&o&&(d=this.switchActiveIframe(i,void 0,!0)),d&&c&&(d=this.switchActiveIframe(i,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(i,v,d&&!d.vg))}d&&!v&&(d.vg?d=this.switchActiveIframe(i,void 0,!1):h||(d=this.switchActiveIframe(i,void 0,!0))),e.iframe=d}if(!e.iframe||this.initHandshakeFailed(e)){if(e.iframe&&i.removeChild(e.iframe),m?(this.notifyInactiveIframes(),Ae.hideElementChildren(i)):Ae.removeElementChildren(i),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),i.insertBefore(e.iframe,i.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,i):e.defaultPageErrorHandler&&this.checkIframe(e.defaultPageErrorHandler,t,r,e,i)}}else{t.set({showLoadingIndicator:!1});const v=t.get().goBackContext;e.iframe.style.display="block",e.iframe.luigi.nextViewUrl=r,e.iframe.luigi.nextClientPermissions=t.get().currentNode.clientPermissions,e.iframe.vg=this.canCache(l.viewGroup)?l.viewGroup:void 0,e.iframe.luigi.currentNode=l.currentNode;const C=await t.prepareInternalData(e),y={msg:"luigi.navigate",viewUrl:r,context:JSON.stringify(Object.assign({},l.context,{goBackContext:v})),nodeParams:JSON.stringify(Object.assign({},l.nodeParams)),pathParams:JSON.stringify(Object.assign({},l.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:JSON.stringify(C)};l.isNavigationSyncEnabled?(Ae.getVisibleIframes().forEach(A=>{A!==e.iframe&&(A.userSettingsGroup?Luigi.readUserSettings().then(T=>{Ae.sendMessageToIframe(A,{msg:"luigi.navigate",context:{userSettingsData:T[A.userSettingsGroup]},internal:Ae.applyCoreStateData(A.luigi._lastUpdatedMessage.internal)})}):Ae.sendMessageToIframe(A,{msg:"luigi.navigate",context:A.luigi._lastUpdatedMessage.context,nodeParams:A.luigi._lastUpdatedMessage.nodeParams,pathParams:JSON.stringify(Object.assign({},A.luigi.pathParams)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(e.iframe.luigi.currentNode))),internal:Ae.applyCoreStateData(A.luigi._lastUpdatedMessage.internal)}))}),Ae.sendMessageToIframe(e.iframe,y),this.setOkResponseHandler(e,t,i)):t.set({isNavigationSyncEnabled:!0}),t.set({goBackContext:void 0,isNavigateBack:!1})}}}const an=new C2;class y2{constructor(){this.preloadBatchSize=1,this.shouldPreload=!1}preloadViewGroups(e=3,t){if(ae.getConfigValue("navigation.preloadViewGroups")===!1)return;const l=ue.getAllViewGroupSettings();if(!l)return;const r=Ae.getIframeContainer(),a=Ae.getMainIframes(),o=new Date().getTime();if(a.filter(_=>_.luigi&&_.luigi.preloading&&o-_.luigi.createdAt<3e4).length>0){console.debug("skipping view group preloading (busy)");return}const h=a.map(_=>_.vg).filter(Boolean),d=Object.entries(l).filter(([_,p])=>!h.includes(_)).filter(([_,p])=>p&&p.preloadUrl);t&&d.forEach(([_,p])=>{p.loadOnStartup&&this.preloadIframeOnBackground(p,_,r)}),!t&&d.filter((_,p)=>p<e).forEach(([_,p])=>{console.debug("preloading view group "+_+" - "+p.preloadUrl),this.preloadIframeOnBackground(p,_,r)})}preloadIframeOnBackground(e,t,i){const l=Ae.createIframe(e.preloadUrl,t,null,"main");l.style.display="none",l.luigi.preloading=!0,i.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 i=1;t<500?i=3:t<1e3&&(i=2),this.preloadBatchSize=i,console.debug("preload batch size: "+this.preloadBatchSize),setTimeout(()=>{e.luigi.preloading=!1},this.preloadBatchSize>2?500:1e3)}}}const ar=new y2;class P2{async getNavigationPath(e,t=""){try{const i=le.getTrimmedUrl(t);if(!e)return console.error("No navigation nodes provided in the configuration."),[{}];let l;if(Wi.hasRootNode()&&(l=Wi.getRootNode().node),!l){const _=await e;le.isObject(_)?(l=_,l.pathSegment&&(l.pathSegment="",console.warn("Root node must have an empty path segment. Provided path segment will be ignored."))):l={children:_},l.children=await this.getChildren(l),Wi.setRootNode(l)}const r=i.split("/"),o={...ae.getConfigValue("navigation.globalContext")||{},...l.context||{}},c=await this.buildNode(r,[l],l.children,o),h=c.navigationPath.filter(_=>_.pathSegment).map(_=>_.pathSegment);c.isExistingRoute=!i||r.length===h.length;const d=i.split("/");return c.matchedPath=d.filter((_,p)=>h[p]&&h[p].startsWith(":")||h[p]===_).join("/"),c}catch(i){console.error("Failed to load top navigation nodes.",i)}}async getChildren(e,t){if(!e)return[];let i=[];if(Wi.hasChildren(e)){let r=Wi.getChildren(e);r&&(i=r.children)}else try{i=await ls.getConfigValueFromObjectAsync(e,"children",t||e.context),i==null&&(i=[]),i=i.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,i,t);return Wi.setChildren(e,{children:i,filteredChildren:l}),l}async getFilteredChildren(e){return Wi.hasChildren(e)?Rt.getChildrenFromCache(e):await Rt.getChildren(e)}getChildrenFromCache(e){let t=Wi.getChildren(e);return t?t.filteredChildren:[]}getAccessibleNodes(e,t,i){return t?t.filter(l=>ue.isNodeAccessPermitted(l,e,i)):[]}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("/"),i={...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=i,c.pathSegment=o),c};return l(t,e)}return e}async buildNode(e,t,i,l,r={}){l.parentNavigationContexts||(l.parentNavigationContexts=[]);let a={navigationPath:t,context:l,pathParams:r};if(e.length>0&&i&&i.length>0){const o=e[0],c=this.findMatchingNode(o,i);if(c){t.push(c);let h=ue.applyContext(l,c.context,c.navigationContext);c.pathSegment.startsWith(":")&&(r[c.pathSegment.replace(":","")]=dr.sanitizeParam(o)),h=we.substituteDynamicParamsInObject(h,r);try{this.buildVirtualTree(c,e,r);let d=await this.getChildren(c,h);const _=e.slice(1);a=this.buildNode(_,t,d,h,r)}catch(d){console.error("Error getting nodes children",d)}}}return a}buildVirtualViewUrl(e,t,i){let l="";for(const r in t)r.startsWith("virtualSegment")&&(l+=":"+r+"/");return i?(l+=":virtualSegment_"+i+"/",e+"/"+l):e}buildVirtualTree(e,t,i){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,i,o)),_virtualTree:!0,_virtualPathIndex:o,_virtualViewUrl:a});const _=Array.isArray(e.children)&&e.children.length>0?e.children[0]._virtualTree:!1;e.children&&!_&&console.warn(`Found both virtualTree and children nodes defined on a navigation node.
|
|
2
2
|
Children nodes are redundant and ignored when virtualTree is enabled.
|
|
3
3
|
Please refer to documentation`),e.children=[d]}}findMatchingNode(e,t){let i=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 i=a,!0}),i)}onNodeChange(e,t){const i=ae.getConfigValue("navigation.nodeChangeHook");typeof i=="function"?i(e,t):i!==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 i=t[t.length-2];if(Wi.hasChildren(i))return{children:this.getChildrenFromCache(i),parent:i}}return{children:[]}}getGroupedChildren(e,t){const i=this.getNodesToDisplay(e,t.pathData);return Array.isArray(i)?ue.groupNodesBy(i,"category",!0):{children:ue.groupNodesBy(i.children,"category",!0),parent:i.parent}}getTruncatedChildren(e){let t=!1,i=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(i=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!i&&!we.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const i={};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),
|
|
8
|
+
Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.pathSegment.startsWith(":"))return i=a,!0}),i)}onNodeChange(e,t){const i=ae.getConfigValue("navigation.nodeChangeHook");typeof i=="function"?i(e,t):i!==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 i=t[t.length-2];if(Wi.hasChildren(i))return{children:this.getChildrenFromCache(i),parent:i}}return{children:[]}}getGroupedChildren(e,t){const i=this.getNodesToDisplay(e,t.pathData);return Array.isArray(i)?ue.groupNodesBy(i,"category",!0):{children:ue.groupNodesBy(i.children,"category",!0),parent:i.parent}}getTruncatedChildren(e){let t=!1,i=!1,l=[];return e.slice().reverse().forEach(r=>{(!t||r.tabNav)&&(r.tabNav===!1&&(i=!0),r.keepSelectedForChildren===!1?t=!0:(r.keepSelectedForChildren||r.tabNav&&!i&&!we.isDynamicNode(r))&&(t=!0,l=[])),l.push(r)}),l.reverse()}async getLeftNavData(e,t){var l;const i={};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);i.navParent=h.parent||a,i.context=e.pathData._context,i.hasCategoriesWithIcon=!1;const d=h.children;Object.values(d).forEach(p=>{!i.hasCategoriesWithIcon&&p&&p.metaInfo&&p.metaInfo.icon&&(i.hasCategoriesWithIcon=!0)}),i.selectedNode=o||a,i.children=d,ae.getConfigValue("settings.expandCategoryByNavigation")&&this.expandCategoriesByNavigationFn(i.children,i.selectedNode,ue.getSideNavAccordionMode(i.selectedNode))}return i}expandCategoriesByNavigationFn(e,t,i){if(e)for(const[l,r]of Object.entries(e))r.forEach(a=>{a===t&&r.metaInfo&&r.metaInfo.collapsible&&ue.storeExpandedState(r.metaInfo.categoryUid,!0,i)})}getTruncatedChildrenForTabNav(e){const t=[];for(let i=e.length-1;i>=0;i--)if(e[i].tabNav)return e.slice(0,i+2);return t}async getTabNavData(e,t){var l;const i={};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:ue.getParentNode(a,e.pathData),(l=e.pathData)==null?void 0:l._context),c=this.getGroupedChildren(o,e).children;i.selectedNode=a,i.selectedNodeForTabNav=a,i.children=c}return i}async extractDataFromPath(e){const t=await this.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),e);return{nodeObject:we.getLastNodeObject(t),pathData:t}}async shouldPreventNavigation(e){return!!(e&&(le.isFunction(e.onNodeActivation)||le.isAsyncFunction(e.onNodeActivation))&&await e.onNodeActivation(e)===!1)}}const Rt=new P2,fl={logout:{label:"Sign Out",icon:"log"},userSettingsProfileMenuEntry:{label:"Settings",icon:"settings"},userSettingsDialog:{dialogHeader:"User Settings",saveBtn:"Save",dismissBtn:"Cancel"},globalSearchCenteredCancelButton:"Cancel"},N2={externalLink:{sameWindow:!1}};class cr{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class I2 extends cr{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=Q_({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 T2 extends cr{createCompoundContainer(){const e="__lui_compound_"+new Date().getTime(),t=document.createElement("div");t.classList.add(e);let i="";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,20 +23,20 @@ Invalid Children:`,t),null):(t.some(a=>{if(a.pathSegment===e||a.pathSegment&&a.p
|
|
|
23
23
|
}
|
|
24
24
|
${i}
|
|
25
25
|
</style>
|
|
26
|
-
`,t}createCompoundItemContainer(e){const t=e||{},i=document.createElement("div");return i.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),i}}const Q_=n=>{const e=n.use;if(e){if(e==="grid")return new T2(n);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new I2(n)}else return new cr(n);return new cr(n)},zf=(n,e,t,i)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,a=n[r],o={wcElementId:t,wcElement:i,action:l.action,converter:l.dataConverter};a?a.push(o):n[r]=[o]})},L2=n=>Object.entries(n).reduce((e,t)=>(e[qf(t[0])]=qf(t[1]),e),{}),qf=(n="")=>String(n).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/"),A2="500px",E2="0px";class R2{constructor(){Bf(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(e)}attachWC(e,t,i,l,r,a,o,c){if(i&&i.contains(t)){const
|
|
26
|
+
`,t}createCompoundItemContainer(e){const t=e||{},i=document.createElement("div");return i.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),i}}const Q_=n=>{const e=n.use;if(e){if(e==="grid")return new T2(n);if(e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem)return new I2(n)}else return new cr(n);return new cr(n)},zf=(n,e,t,i)=>{e.eventListeners&&e.eventListeners.forEach(l=>{const r=l.source+"."+l.name,a=n[r],o={wcElementId:t,wcElement:i,action:l.action,converter:l.dataConverter};a?a.push(o):n[r]=[o]})},L2=n=>Object.entries(n).reduce((e,t)=>(e[qf(t[0])]=qf(t[1]),e),{}),qf=(n="")=>String(n).replaceAll("<","<").replaceAll(">",">").replaceAll(""",'"').replaceAll("'","'").replaceAll("/","/"),A2="500px",E2="0px";class R2{constructor(){Bf(this,"wcContainerData",new WeakMap)}dynamicImport(e){return import(e)}attachWC(e,t,i,l,r,a,o,c){if(i&&i.contains(t)){const h=document.createElement(e);a&&h.setAttribute("nodeId",a),h.setAttribute("lui_web_component",!0),this.initWC(h,e,i,r,l,a,o),i.replaceChild(h,t),c&&(this.removeTemporaryHeightFromCompoundItemContainer(i),this.wcContainerData.delete(i))}}initWC(e,t,i,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:_=>{i.eventBus&&i.eventBus.onPublishEvent(_,a,t)},getActiveFeatureToggleList:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getActiveFeatureToggles:()=>window.Luigi.featureToggles().getActiveFeatureToggleList(),getPathParams:()=>{var _;return(_=e.extendedContext)!=null&&_.pathParams?e.extendedContext.pathParams:{}},getCoreSearchParams:()=>{const _={clientPermissions:e.extendedContext.clientPermissions};return we.prepareSearchParamsForClient(_)},getClientPermissions:()=>{var _;return(_=e.extendedContext)!=null&&_.clientPermissions?e.extendedContext.clientPermissions:{}},addNodeParams:(_,p)=>{o||window.Luigi.routing().addNodeParams(_,p)},getNodeParams:_=>{var b;if(o)return{};const p=(b=e.extendedContext)!=null&&b.nodeParams?e.extendedContext.nodeParams:{};return _?L2(p):e.extendedContext.nodeParams},setAnchor:_=>{o||window.Luigi.routing().setAnchor(_)},getAnchor:()=>window.Luigi.routing().getAnchor(),getUserSettings:async()=>await this.getUserSettingsForWc(i._luigi_node),setViewGroupData:_=>{const p=ue.findViewGroup(i._luigi_node);if(p){const b=ue.getViewGroupSettings(p);b._liveCustomData=_,ae.configChanged("navigation.viewgroupdata")}}};if(e.__postProcess){const _=new URL(document.baseURI).origin===new URL(l,document.baseURI).origin?new URL(l,document.baseURI):new URL("./",l);e.__postProcess(c,h,_.origin+_.pathname)}else e.context=c,e.nodeParams=r.nodeParams,e.LuigiClient=h;const d=ae.getConfigValue("settings.webcomponentCreationInterceptor");le.isFunction(d)&&d(e,r.currentNode,r,a,o)}generateWCId(e){let t="",i=new URL(e,encodeURI(location.href)).href;for(let l=0;l<i.length;l++)t+=i.charCodeAt(l).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const i=we.getI18nViewUrl(e);return new Promise((l,r)=>{this.checkWCUrl(i)?this.dynamicImport(i).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 '${i}' not allowed to be included`),r(`View URL '${i}' not allowed`))})}includeSelfRegisteredWCFromUrl(e,t,i){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",()=>{i()}),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 i=ae.getConfigValue("navigation.validWebcomponentUrls");if(i&&i.length>0)for(let l of i)try{if(new RegExp(l).test(e))return!0}catch(r){console.error(r)}return!1}return!0}renderWebComponent(e,t,i,l,r,a,o){var p;const c=i.context,h=we.substituteViewUrl(e,{context:c}),d=((p=l==null?void 0:l.webcomponent)==null?void 0:p.tagName)||this.generateWCId(h),_=document.createElement("div");t.appendChild(_),t._luigi_node=l,window.customElements.get(d)?this.attachWC(d,_,t,i,h,r,a,o):window.luigiWCFn?window.luigiWCFn(h,d,_,()=>{this.attachWC(d,_,t,i,h,r,a,o)}):l.webcomponent&&l.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(l,h,()=>{this.attachWC(d,_,t,i,h,r,a,o)}):this.registerWCFromUrl(h,d).then(()=>{this.attachWC(d,_,t,i,h,r,a,o)})}createCompoundContainerAsync(e,t,i){return new Promise((l,r)=>{var a,o;if(e.viewUrl)try{const c=((a=i==null?void 0:i.webcomponent)==null?void 0:a.tagName)||this.generateWCId(e.viewUrl);(o=i==null?void 0:i.webcomponent)!=null&&o.selfRegistered?this.includeSelfRegisteredWCFromUrl(i,e.viewUrl,()=>{const h=document.createElement(c);this.initWC(h,c,h,e.viewUrl,t,"_root"),l(h)}):this.registerWCFromUrl(e.viewUrl,c).then(()=>{const h=document.createElement(c);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,i){var r,a,o;if(((r=t.lazyLoadingOptions)==null?void 0:r.noTemporaryContainerHeight)===!0)return;const l=((a=i.layoutConfig)==null?void 0:a.temporaryContainerHeight)||((o=t.lazyLoadingOptions)==null?void 0:o.temporaryContainerHeight)||A2;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 i=e.webcomponent&&!!e.viewUrl;let l;return i?(l=new cr,l.viewUrl=we.substituteViewUrl(e.viewUrl,{context:t}),l.createCompoundItemContainer=r=>{var a=document.createElement("div");return r&&r.slot&&a.setAttribute("slot",r.slot),a}):e.compound.renderer?l=Q_(e.compound.renderer):l=new cr,l}createIntersectionObserver(e){var t;return new IntersectionObserver((i,l)=>{this.intersectionObserverCallback(i,l)},{rootMargin:((t=e.compound.lazyLoadingOptions)==null?void 0:t.intersectionRootMargin)||E2})}renderWebComponentCompound(e,t,i){var c,h;const l=((h=(c=e.compound)==null?void 0:c.lazyLoadingOptions)==null?void 0:h.enabled)===!0,r=i.context,a=this.getCompoundRenderer(e,r);let o;return l&&(o=this.createIntersectionObserver(e)),new Promise(d=>{this.createCompoundContainerAsync(a,i,e).then(_=>{const p={};_.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||_.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=_.eventBus,l?(this.setTemporaryHeightForCompoundItemContainer(C,e.compound,b),a.attachCompoundItem(_,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(_,C),this.renderWebComponent(b.viewUrl,C,{context:v},b,y,!0,!1)),zf(p,b,y)}),t.appendChild(_),zf(p,e.compound,"_root",_),d(_)})})}getUserSettingsForWc(e){return new Promise((t,i)=>{if(e.userSettingsGroup){const l=e.userSettingsGroup;ae.readUserSettings().then(r=>{const o=l&&typeof r=="object"&&r!==null?r[l]:null;t(o)})}else i(null)})}}const ur=new R2;var Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ss={exports:{}};/**
|
|
27
27
|
* @license
|
|
28
28
|
* Lodash <https://lodash.com/>
|
|
29
29
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
30
30
|
* Released under MIT license <https://lodash.com/license>
|
|
31
31
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
32
32
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
33
|
-
*/ss.exports;(function(n,e){(function(){var t,i="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__",_=500,d="__lodash_placeholder__",h=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,I=8,A=16,D=32,V=64,F=128,U=256,E=512,Y=30,j="...",Z=800,de=16,te=1,G=2,Q=3,X=1/0,_e=9007199254740991,ie=17976931348623157e292,oe=0/0,ve=4294967295,re=ve-1,Ee=ve>>>1,We=[["ary",F],["bind",C],["bindKey",y],["curry",I],["curryRight",A],["flip",E],["partial",D],["partialRight",V],["rearg",U]],W="[object Arguments]",se="[object Array]",Ie="[object AsyncFunction]",nt="[object Boolean]",Fe="[object Date]",pe="[object DOMException]",Ge="[object Error]",rt="[object Function]",qt="[object GeneratorFunction]",vt="[object Map]",Dt="[object Number]",Ei="[object Null]",Gt="[object Object]",Kt="[object Promise]",gl="[object Proxy]",It="[object RegExp]",Qt="[object Set]",Ri="[object String]",xi="[object Symbol]",Hn="[object Undefined]",ii="[object WeakMap]",_i="[object WeakSet]",qi="[object ArrayBuffer]",Wt="[object DataView]",wi="[object Float32Array]",vn="[object Float64Array]",wn="[object Int8Array]",ui="[object Int16Array]",kn="[object Int32Array]",Sn="[object Uint8Array]",Cn="[object Uint8ClampedArray]",yn="[object Uint16Array]",Pn="[object Uint32Array]",hl=/\b__p \+= '';/g,_l=/\b(__p \+=) '' \+/g,pl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Nn=/&(?:amp|lt|gt|quot|#39);/g,Wn=/[&<>"']/g,zn=RegExp(Nn.source),on=RegExp(Wn.source),ml=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dt=/^\w*$/,St=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xt=/[\\^$.*+?()[\]{}|]/g,Di=RegExp(Xt.source),ki=/^\s+/,Vi=/\s/,bl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ml=/,? & /,Fl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ul=/[()=,{}\[\]\/\s]/,hr=/\\(\\)?/g,Si=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gn=/\w*$/,vl=/^[-+]0x[0-9a-f]+$/i,Bl=/^0b[01]+$/i,_r=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,wl=/^(?:0|[1-9]\d*)$/,kl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,un=/($^)/,Hl=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",pr="\\u0300-\\u036f",J="\\ufe20-\\ufe2f",Tt="\\u20d0-\\u20ff",fi=pr+J+Tt,en="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",jn="\\xac\\xb1\\xd7\\xf7",Zt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wl="\\u2000-\\u206f",Qr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zr="A-Z\\xc0-\\xd6\\xd8-\\xde",Jn="\\ufe0e\\ufe0f",Xr=jn+Zt+Wl+Qr,br="['’]",cs="["+In+"]",$r="["+Xr+"]",Yn="["+fi+"]",xr="\\d+",ds="["+en+"]",ea="["+mr+"]",ta="[^"+In+Xr+xr+en+mr+Zr+"]",vr="\\ud83c[\\udffb-\\udfff]",ia="(?:"+Yn+"|"+vr+")",na="[^"+In+"]",zl="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Qn="["+Zr+"]",la="\\u200d",ra="(?:"+ea+"|"+ta+")",gs="(?:"+Qn+"|"+ta+")",aa="(?:"+br+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+br+"(?:D|LL|M|RE|S|T|VE))?",oa=ia+"?",ua="["+Jn+"]?",hs="(?:"+la+"(?:"+[na,zl,wr].join("|")+")"+ua+oa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+hs,ms="(?:"+[ds,zl,wr].join("|")+")"+fa,bs="(?:"+[na+Yn+"?",Yn,zl,wr,cs].join("|")+")",vs=RegExp(br,"g"),ws=RegExp(Yn,"g"),kr=RegExp(vr+"(?="+vr+")|"+bs+fa,"g"),H=RegExp([Qn+"?"+ea+"+"+aa+"(?="+[$r,Qn,"$"].join("|")+")",gs+"+"+sa+"(?="+[$r,Qn+ra,"$"].join("|")+")",Qn+"?"+ra+"+"+aa,Qn+"+"+sa,ps,_s,xr,ms].join("|"),"g"),ce=RegExp("["+la+In+fi+Jn+"]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ue=-1,ge={};ge[wi]=ge[vn]=ge[wn]=ge[ui]=ge[kn]=ge[Sn]=ge[Cn]=ge[yn]=ge[Pn]=!0,ge[W]=ge[se]=ge[qi]=ge[nt]=ge[Wt]=ge[Fe]=ge[Ge]=ge[rt]=ge[vt]=ge[Dt]=ge[Gt]=ge[It]=ge[Qt]=ge[Ri]=ge[ii]=!1;var Ne={};Ne[W]=Ne[se]=Ne[qi]=Ne[Wt]=Ne[nt]=Ne[Fe]=Ne[wi]=Ne[vn]=Ne[wn]=Ne[ui]=Ne[kn]=Ne[vt]=Ne[Dt]=Ne[Gt]=Ne[It]=Ne[Qt]=Ne[Ri]=Ne[xi]=Ne[Sn]=Ne[Cn]=Ne[yn]=Ne[Pn]=!0,Ne[Ge]=Ne[rt]=Ne[ii]=!1;var mt={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ot={"&":"&","<":"<",">":">",'"':""","'":"'"},Sr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Zn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cr=parseFloat,Xn=parseInt,ql=typeof Hr=="object"&&Hr&&Hr.Object===Object&&Hr,Ke=typeof self=="object"&&self&&self.Object===Object&&self,$e=ql||Ke||Function("return this")(),yt=e&&!e.nodeType&&e,Mt=yt&&!0&&n&&!n.nodeType&&n,Ci=Mt&&Mt.exports===yt,Oi=Ci&&ql.process,ni=function(){try{var x=Mt&&Mt.require&&Mt.require("util").types;return x||Oi&&Oi.binding&&Oi.binding("util")}catch{}}(),Gl=ni&&ni.isArrayBuffer,Sl=ni&&ni.isDate,ks=ni&&ni.isMap,Kl=ni&&ni.isRegExp,ca=ni&&ni.isSet,Cl=ni&&ni.isTypedArray;function $t(x,he,fe){switch(fe.length){case 0:return x.call(he);case 1:return x.call(he,fe[0]);case 2:return x.call(he,fe[0],fe[1]);case 3:return x.call(he,fe[0],fe[1],fe[2])}return x.apply(he,fe)}function ci(x,he,fe,Be){for(var xe=-1,wt=x==null?0:x.length;++xe<wt;){var xt=x[xe];he(Be,xt,fe(xt),x)}return Be}function Ut(x,he){for(var fe=-1,Be=x==null?0:x.length;++fe<Be&&he(x[fe],fe,x)!==!1;);return x}function Ss(x,he){for(var fe=x==null?0:x.length;fe--&&he(x[fe],fe,x)!==!1;);return x}function Bo(x,he){for(var fe=-1,Be=x==null?0:x.length;++fe<Be;)if(!he(x[fe],fe,x))return!1;return!0}function $n(x,he){for(var fe=-1,Be=x==null?0:x.length,xe=0,wt=[];++fe<Be;){var xt=x[fe];he(xt,fe,x)&&(wt[xe++]=xt)}return wt}function da(x,he){var fe=x==null?0:x.length;return!!fe&&jl(x,he,0)>-1}function Cs(x,he,fe){for(var Be=-1,xe=x==null?0:x.length;++Be<xe;)if(fe(he,x[Be]))return!0;return!1}function Ft(x,he){for(var fe=-1,Be=x==null?0:x.length,xe=Array(Be);++fe<Be;)xe[fe]=he(x[fe],fe,x);return xe}function xn(x,he){for(var fe=-1,Be=he.length,xe=x.length;++fe<Be;)x[xe+fe]=he[fe];return x}function ys(x,he,fe,Be){var xe=-1,wt=x==null?0:x.length;for(Be&&wt&&(fe=x[++xe]);++xe<wt;)fe=he(fe,x[xe],xe,x);return fe}function dp(x,he,fe,Be){var xe=x==null?0:x.length;for(Be&&xe&&(fe=x[--xe]);xe--;)fe=he(fe,x[xe],xe,x);return fe}function Ps(x,he){for(var fe=-1,Be=x==null?0:x.length;++fe<Be;)if(he(x[fe],fe,x))return!0;return!1}var gp=Ns("length");function hp(x){return x.split("")}function _p(x){return x.match(Fl)||[]}function Ho(x,he,fe){var Be;return fe(x,function(xe,wt,xt){if(he(xe,wt,xt))return Be=wt,!1}),Be}function ga(x,he,fe,Be){for(var xe=x.length,wt=fe+(Be?1:-1);Be?wt--:++wt<xe;)if(he(x[wt],wt,x))return wt;return-1}function jl(x,he,fe){return he===he?Ip(x,he,fe):ga(x,Wo,fe)}function pp(x,he,fe,Be){for(var xe=fe-1,wt=x.length;++xe<wt;)if(Be(x[xe],he))return xe;return-1}function Wo(x){return x!==x}function zo(x,he){var fe=x==null?0:x.length;return fe?Ts(x,he)/fe:oe}function Ns(x){return function(he){return he==null?t:he[x]}}function Is(x){return function(he){return x==null?t:x[he]}}function qo(x,he,fe,Be,xe){return xe(x,function(wt,xt,Lt){fe=Be?(Be=!1,wt):he(fe,wt,xt,Lt)}),fe}function mp(x,he){var fe=x.length;for(x.sort(he);fe--;)x[fe]=x[fe].value;return x}function Ts(x,he){for(var fe,Be=-1,xe=x.length;++Be<xe;){var wt=he(x[Be]);wt!==t&&(fe=fe===t?wt:fe+wt)}return fe}function Ls(x,he){for(var fe=-1,Be=Array(x);++fe<x;)Be[fe]=he(fe);return Be}function bp(x,he){return Ft(he,function(fe){return[fe,x[fe]]})}function Go(x){return x&&x.slice(0,Yo(x)+1).replace(ki,"")}function Mi(x){return function(he){return x(he)}}function As(x,he){return Ft(he,function(fe){return x[fe]})}function yr(x,he){return x.has(he)}function Ko(x,he){for(var fe=-1,Be=x.length;++fe<Be&&jl(he,x[fe],0)>-1;);return fe}function jo(x,he){for(var fe=x.length;fe--&&jl(he,x[fe],0)>-1;);return fe}function vp(x,he){for(var fe=x.length,Be=0;fe--;)x[fe]===he&&++Be;return Be}var wp=Is(mt),kp=Is(Ot);function Sp(x){return"\\"+Zn[x]}function Cp(x,he){return x==null?t:x[he]}function Jl(x){return ce.test(x)}function yp(x){return De.test(x)}function Pp(x){for(var he,fe=[];!(he=x.next()).done;)fe.push(he.value);return fe}function Es(x){var he=-1,fe=Array(x.size);return x.forEach(function(Be,xe){fe[++he]=[xe,Be]}),fe}function Jo(x,he){return function(fe){return x(he(fe))}}function el(x,he){for(var fe=-1,Be=x.length,xe=0,wt=[];++fe<Be;){var xt=x[fe];(xt===he||xt===d)&&(x[fe]=d,wt[xe++]=fe)}return wt}function ha(x){var he=-1,fe=Array(x.size);return x.forEach(function(Be){fe[++he]=Be}),fe}function Np(x){var he=-1,fe=Array(x.size);return x.forEach(function(Be){fe[++he]=[Be,Be]}),fe}function Ip(x,he,fe){for(var Be=fe-1,xe=x.length;++Be<xe;)if(x[Be]===he)return Be;return-1}function Tp(x,he,fe){for(var Be=fe+1;Be--;)if(x[Be]===he)return Be;return Be}function Yl(x){return Jl(x)?Ap(x):gp(x)}function tn(x){return Jl(x)?Ep(x):hp(x)}function Yo(x){for(var he=x.length;he--&&Vi.test(x.charAt(he)););return he}var Lp=Is(Sr);function Ap(x){for(var he=kr.lastIndex=0;kr.test(x);)++he;return he}function Ep(x){return x.match(kr)||[]}function Rp(x){return x.match(H)||[]}var Dp=function x(he){he=he==null?$e:Ql.defaults($e.Object(),he,Ql.pick($e,qe));var fe=he.Array,Be=he.Date,xe=he.Error,wt=he.Function,xt=he.Math,Lt=he.Object,Rs=he.RegExp,Vp=he.String,Gi=he.TypeError,_a=fe.prototype,Op=wt.prototype,Zl=Lt.prototype,pa=he["__core-js_shared__"],ma=Op.toString,Ct=Zl.hasOwnProperty,Mp=0,Qo=function(){var s=/[^.]+$/.exec(pa&&pa.keys&&pa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ba=Zl.toString,Fp=ma.call(Lt),Up=$e._,Bp=Rs("^"+ma.call(Ct).replace(Xt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),va=Ci?he.Buffer:t,tl=he.Symbol,wa=he.Uint8Array,Zo=va?va.allocUnsafe:t,ka=Jo(Lt.getPrototypeOf,Lt),Xo=Lt.create,$o=Zl.propertyIsEnumerable,Sa=_a.splice,xo=tl?tl.isConcatSpreadable:t,Pr=tl?tl.iterator:t,yl=tl?tl.toStringTag:t,Ca=function(){try{var s=Ll(Lt,"defineProperty");return s({},"",{}),s}catch{}}(),Hp=he.clearTimeout!==$e.clearTimeout&&he.clearTimeout,Wp=Be&&Be.now!==$e.Date.now&&Be.now,zp=he.setTimeout!==$e.setTimeout&&he.setTimeout,ya=xt.ceil,Pa=xt.floor,Ds=Lt.getOwnPropertySymbols,qp=va?va.isBuffer:t,eu=he.isFinite,Gp=_a.join,Kp=Jo(Lt.keys,Lt),ei=xt.max,di=xt.min,jp=Be.now,Jp=he.parseInt,tu=xt.random,Yp=_a.reverse,Vs=Ll(he,"DataView"),Nr=Ll(he,"Map"),Os=Ll(he,"Promise"),Xl=Ll(he,"Set"),Ir=Ll(he,"WeakMap"),Tr=Ll(Lt,"create"),Na=Ir&&new Ir,$l={},Qp=Al(Vs),Zp=Al(Nr),Xp=Al(Os),$p=Al(Xl),xp=Al(Ir),Ia=tl?tl.prototype:t,Lr=Ia?Ia.valueOf:t,iu=Ia?Ia.toString:t;function O(s){if(zt(s)&&!tt(s)&&!(s instanceof ct)){if(s instanceof Ki)return s;if(Ct.call(s,"__wrapped__"))return lf(s)}return new Ki(s)}var xl=function(){function s(){}return function(u){if(!Bt(u))return{};if(Xo)return Xo(u);s.prototype=u;var g=new s;return s.prototype=t,g}}();function Ta(){}function Ki(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}O.templateSettings={escape:ml,evaluate:$,interpolate:Pe,variable:"",imports:{_:O}},O.prototype=Ta.prototype,O.prototype.constructor=O,Ki.prototype=xl(Ta.prototype),Ki.prototype.constructor=Ki;function ct(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function em(){var s=new ct(this.__wrapped__);return s.__actions__=yi(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=yi(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=yi(this.__views__),s}function tm(){if(this.__filtered__){var s=new ct(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function im(){var s=this.__wrapped__.value(),u=this.__dir__,g=tt(s),k=u<0,N=g?s.length:0,M=h1(0,N,this.__views__),q=M.start,K=M.end,ee=K-q,me=k?K:q-1,be=this.__iteratees__,ye=be.length,Re=0,ze=di(ee,this.__takeCount__);if(!g||!k&&N==ee&&ze==ee)return Nu(s,this.__actions__);var Je=[];e:for(;ee--&&Re<ze;){me+=u;for(var at=-1,Ye=s[me];++at<ye;){var ut=be[at],gt=ut.iteratee,Bi=ut.type,bi=gt(Ye);if(Bi==G)Ye=bi;else if(!bi){if(Bi==te)continue e;break e}}Je[Re++]=Ye}return Je}ct.prototype=xl(Ta.prototype),ct.prototype.constructor=ct;function Pl(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function nm(){this.__data__=Tr?Tr(null):{},this.size=0}function lm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function rm(s){var u=this.__data__;if(Tr){var g=u[s];return g===c?t:g}return Ct.call(u,s)?u[s]:t}function am(s){var u=this.__data__;return Tr?u[s]!==t:Ct.call(u,s)}function sm(s,u){var g=this.__data__;return this.size+=this.has(s)?0:1,g[s]=Tr&&u===t?c:u,this}Pl.prototype.clear=nm,Pl.prototype.delete=lm,Pl.prototype.get=rm,Pl.prototype.has=am,Pl.prototype.set=sm;function Tn(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function om(){this.__data__=[],this.size=0}function um(s){var u=this.__data__,g=La(u,s);if(g<0)return!1;var k=u.length-1;return g==k?u.pop():Sa.call(u,g,1),--this.size,!0}function fm(s){var u=this.__data__,g=La(u,s);return g<0?t:u[g][1]}function cm(s){return La(this.__data__,s)>-1}function dm(s,u){var g=this.__data__,k=La(g,s);return k<0?(++this.size,g.push([s,u])):g[k][1]=u,this}Tn.prototype.clear=om,Tn.prototype.delete=um,Tn.prototype.get=fm,Tn.prototype.has=cm,Tn.prototype.set=dm;function Ln(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function gm(){this.size=0,this.__data__={hash:new Pl,map:new(Nr||Tn),string:new Pl}}function hm(s){var u=Wa(this,s).delete(s);return this.size-=u?1:0,u}function _m(s){return Wa(this,s).get(s)}function pm(s){return Wa(this,s).has(s)}function mm(s,u){var g=Wa(this,s),k=g.size;return g.set(s,u),this.size+=g.size==k?0:1,this}Ln.prototype.clear=gm,Ln.prototype.delete=hm,Ln.prototype.get=_m,Ln.prototype.has=pm,Ln.prototype.set=mm;function Nl(s){var u=-1,g=s==null?0:s.length;for(this.__data__=new Ln;++u<g;)this.add(s[u])}function bm(s){return this.__data__.set(s,c),this}function vm(s){return this.__data__.has(s)}Nl.prototype.add=Nl.prototype.push=bm,Nl.prototype.has=vm;function nn(s){var u=this.__data__=new Tn(s);this.size=u.size}function wm(){this.__data__=new Tn,this.size=0}function km(s){var u=this.__data__,g=u.delete(s);return this.size=u.size,g}function Sm(s){return this.__data__.get(s)}function Cm(s){return this.__data__.has(s)}function ym(s,u){var g=this.__data__;if(g instanceof Tn){var k=g.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++g.size,this;g=this.__data__=new Ln(k)}return g.set(s,u),this.size=g.size,this}nn.prototype.clear=wm,nn.prototype.delete=km,nn.prototype.get=Sm,nn.prototype.has=Cm,nn.prototype.set=ym;function nu(s,u){var g=tt(s),k=!g&&El(s),N=!g&&!k&&al(s),M=!g&&!k&&!N&&nr(s),q=g||k||N||M,K=q?Ls(s.length,Vp):[],ee=K.length;for(var me in s)(u||Ct.call(s,me))&&!(q&&(me=="length"||N&&(me=="offset"||me=="parent")||M&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||Dn(me,ee)))&&K.push(me);return K}function lu(s){var u=s.length;return u?s[js(0,u-1)]:t}function Pm(s,u){return za(yi(s),Il(u,0,s.length))}function Nm(s){return za(yi(s))}function Ms(s,u,g){(g!==t&&!ln(s[u],g)||g===t&&!(u in s))&&An(s,u,g)}function Ar(s,u,g){var k=s[u];(!(Ct.call(s,u)&&ln(k,g))||g===t&&!(u in s))&&An(s,u,g)}function La(s,u){for(var g=s.length;g--;)if(ln(s[g][0],u))return g;return-1}function Im(s,u,g,k){return il(s,function(N,M,q){u(k,N,g(N),q)}),k}function ru(s,u){return s&&cn(u,li(u),s)}function Tm(s,u){return s&&cn(u,Ni(u),s)}function An(s,u,g){u=="__proto__"&&Ca?Ca(s,u,{configurable:!0,enumerable:!0,value:g,writable:!0}):s[u]=g}function Fs(s,u){for(var g=-1,k=u.length,N=fe(k),M=s==null;++g<k;)N[g]=M?t:bo(s,u[g]);return N}function Il(s,u,g){return s===s&&(g!==t&&(s=s<=g?s:g),u!==t&&(s=s>=u?s:u)),s}function ji(s,u,g,k,N,M){var q,K=u&h,ee=u&p,me=u&b;if(g&&(q=N?g(s,k,N,M):g(s)),q!==t)return q;if(!Bt(s))return s;var be=tt(s);if(be){if(q=p1(s),!K)return yi(s,q)}else{var ye=gi(s),Re=ye==rt||ye==qt;if(al(s))return Lu(s,K);if(ye==Gt||ye==W||Re&&!N){if(q=ee||Re?{}:Yu(s),!K)return ee?r1(s,Tm(q,s)):l1(s,ru(q,s))}else{if(!Ne[ye])return N?s:{};q=m1(s,ye,K)}}M||(M=new nn);var ze=M.get(s);if(ze)return ze;M.set(s,q),yf(s)?s.forEach(function(Ye){q.add(ji(Ye,u,g,Ye,s,M))}):Sf(s)&&s.forEach(function(Ye,ut){q.set(ut,ji(Ye,u,g,ut,s,M))});var Je=me?ee?no:io:ee?Ni:li,at=be?t:Je(s);return Ut(at||s,function(Ye,ut){at&&(ut=Ye,Ye=s[ut]),Ar(q,ut,ji(Ye,u,g,ut,s,M))}),q}function Lm(s){var u=li(s);return function(g){return au(g,s,u)}}function au(s,u,g){var k=g.length;if(s==null)return!k;for(s=Lt(s);k--;){var N=g[k],M=u[N],q=s[N];if(q===t&&!(N in s)||!M(q))return!1}return!0}function su(s,u,g){if(typeof s!="function")throw new Gi(a);return Fr(function(){s.apply(t,g)},u)}function Er(s,u,g,k){var N=-1,M=da,q=!0,K=s.length,ee=[],me=u.length;if(!K)return ee;g&&(u=Ft(u,Mi(g))),k?(M=Cs,q=!1):u.length>=l&&(M=yr,q=!1,u=new Nl(u));e:for(;++N<K;){var be=s[N],ye=g==null?be:g(be);if(be=k||be!==0?be:0,q&&ye===ye){for(var Re=me;Re--;)if(u[Re]===ye)continue e;ee.push(be)}else M(u,ye,k)||ee.push(be)}return ee}var il=Vu(fn),ou=Vu(Bs,!0);function Am(s,u){var g=!0;return il(s,function(k,N,M){return g=!!u(k,N,M),g}),g}function Aa(s,u,g){for(var k=-1,N=s.length;++k<N;){var M=s[k],q=u(M);if(q!=null&&(K===t?q===q&&!Ui(q):g(q,K)))var K=q,ee=M}return ee}function Em(s,u,g,k){var N=s.length;for(g=lt(g),g<0&&(g=-g>N?0:N+g),k=k===t||k>N?N:lt(k),k<0&&(k+=N),k=g>k?0:Nf(k);g<k;)s[g++]=u;return s}function uu(s,u){var g=[];return il(s,function(k,N,M){u(k,N,M)&&g.push(k)}),g}function si(s,u,g,k,N){var M=-1,q=s.length;for(g||(g=v1),N||(N=[]);++M<q;){var K=s[M];u>0&&g(K)?u>1?si(K,u-1,g,k,N):xn(N,K):k||(N[N.length]=K)}return N}var Us=Ou(),fu=Ou(!0);function fn(s,u){return s&&Us(s,u,li)}function Bs(s,u){return s&&fu(s,u,li)}function Ea(s,u){return $n(u,function(g){return Vn(s[g])})}function Tl(s,u){u=ll(u,s);for(var g=0,k=u.length;s!=null&&g<k;)s=s[dn(u[g++])];return g&&g==k?s:t}function cu(s,u,g){var k=u(s);return tt(s)?k:xn(k,g(s))}function pi(s){return s==null?s===t?Hn:Ei:yl&&yl in Lt(s)?g1(s):N1(s)}function Hs(s,u){return s>u}function Rm(s,u){return s!=null&&Ct.call(s,u)}function Dm(s,u){return s!=null&&u in Lt(s)}function Vm(s,u,g){return s>=di(u,g)&&s<ei(u,g)}function Ws(s,u,g){for(var k=g?Cs:da,N=s[0].length,M=s.length,q=M,K=fe(M),ee=1/0,me=[];q--;){var be=s[q];q&&u&&(be=Ft(be,Mi(u))),ee=di(be.length,ee),K[q]=!g&&(u||N>=120&&be.length>=120)?new Nl(q&&be):t}be=s[0];var ye=-1,Re=K[0];e:for(;++ye<N&&me.length<ee;){var ze=be[ye],Je=u?u(ze):ze;if(ze=g||ze!==0?ze:0,!(Re?yr(Re,Je):k(me,Je,g))){for(q=M;--q;){var at=K[q];if(!(at?yr(at,Je):k(s[q],Je,g)))continue e}Re&&Re.push(Je),me.push(ze)}}return me}function Om(s,u,g,k){return fn(s,function(N,M,q){u(k,g(N),M,q)}),k}function Rr(s,u,g){u=ll(u,s),s=$u(s,u);var k=s==null?s:s[dn(Yi(u))];return k==null?t:$t(k,s,g)}function du(s){return zt(s)&&pi(s)==W}function Mm(s){return zt(s)&&pi(s)==qi}function Fm(s){return zt(s)&&pi(s)==Fe}function Dr(s,u,g,k,N){return s===u?!0:s==null||u==null||!zt(s)&&!zt(u)?s!==s&&u!==u:Um(s,u,g,k,Dr,N)}function Um(s,u,g,k,N,M){var q=tt(s),K=tt(u),ee=q?se:gi(s),me=K?se:gi(u);ee=ee==W?Gt:ee,me=me==W?Gt:me;var be=ee==Gt,ye=me==Gt,Re=ee==me;if(Re&&al(s)){if(!al(u))return!1;q=!0,be=!1}if(Re&&!be)return M||(M=new nn),q||nr(s)?Ku(s,u,g,k,N,M):c1(s,u,ee,g,k,N,M);if(!(g&m)){var ze=be&&Ct.call(s,"__wrapped__"),Je=ye&&Ct.call(u,"__wrapped__");if(ze||Je){var at=ze?s.value():s,Ye=Je?u.value():u;return M||(M=new nn),N(at,Ye,g,k,M)}}return Re?(M||(M=new nn),d1(s,u,g,k,N,M)):!1}function Bm(s){return zt(s)&&gi(s)==vt}function zs(s,u,g,k){var N=g.length,M=N,q=!k;if(s==null)return!M;for(s=Lt(s);N--;){var K=g[N];if(q&&K[2]?K[1]!==s[K[0]]:!(K[0]in s))return!1}for(;++N<M;){K=g[N];var ee=K[0],me=s[ee],be=K[1];if(q&&K[2]){if(me===t&&!(ee in s))return!1}else{var ye=new nn;if(k)var Re=k(me,be,ee,s,u,ye);if(!(Re===t?Dr(be,me,m|v,k,ye):Re))return!1}}return!0}function gu(s){if(!Bt(s)||k1(s))return!1;var u=Vn(s)?Bp:_r;return u.test(Al(s))}function Hm(s){return zt(s)&&pi(s)==It}function Wm(s){return zt(s)&&gi(s)==Qt}function zm(s){return zt(s)&&Ya(s.length)&&!!ge[pi(s)]}function hu(s){return typeof s=="function"?s:s==null?Ii:typeof s=="object"?tt(s)?mu(s[0],s[1]):pu(s):Ff(s)}function qs(s){if(!Mr(s))return Kp(s);var u=[];for(var g in Lt(s))Ct.call(s,g)&&g!="constructor"&&u.push(g);return u}function qm(s){if(!Bt(s))return P1(s);var u=Mr(s),g=[];for(var k in s)k=="constructor"&&(u||!Ct.call(s,k))||g.push(k);return g}function Gs(s,u){return s<u}function _u(s,u){var g=-1,k=Pi(s)?fe(s.length):[];return il(s,function(N,M,q){k[++g]=u(N,M,q)}),k}function pu(s){var u=ro(s);return u.length==1&&u[0][2]?Zu(u[0][0],u[0][1]):function(g){return g===s||zs(g,s,u)}}function mu(s,u){return so(s)&&Qu(u)?Zu(dn(s),u):function(g){var k=bo(g,s);return k===t&&k===u?vo(g,s):Dr(u,k,m|v)}}function Ra(s,u,g,k,N){s!==u&&Us(u,function(M,q){if(N||(N=new nn),Bt(M))Gm(s,u,q,g,Ra,k,N);else{var K=k?k(uo(s,q),M,q+"",s,u,N):t;K===t&&(K=M),Ms(s,q,K)}},Ni)}function Gm(s,u,g,k,N,M,q){var K=uo(s,g),ee=uo(u,g),me=q.get(ee);if(me){Ms(s,g,me);return}var be=M?M(K,ee,g+"",s,u,q):t,ye=be===t;if(ye){var Re=tt(ee),ze=!Re&&al(ee),Je=!Re&&!ze&&nr(ee);be=ee,Re||ze||Je?tt(K)?be=K:jt(K)?be=yi(K):ze?(ye=!1,be=Lu(ee,!0)):Je?(ye=!1,be=Au(ee,!0)):be=[]:Ur(ee)||El(ee)?(be=K,El(K)?be=If(K):(!Bt(K)||Vn(K))&&(be=Yu(ee))):ye=!1}ye&&(q.set(ee,be),N(be,ee,k,M,q),q.delete(ee)),Ms(s,g,be)}function bu(s,u){var g=s.length;if(g)return u+=u<0?g:0,Dn(u,g)?s[u]:t}function vu(s,u,g){u.length?u=Ft(u,function(M){return tt(M)?function(q){return Tl(q,M.length===1?M[0]:M)}:M}):u=[Ii];var k=-1;u=Ft(u,Mi(je()));var N=_u(s,function(M,q,K){var ee=Ft(u,function(me){return me(M)});return{criteria:ee,index:++k,value:M}});return mp(N,function(M,q){return n1(M,q,g)})}function Km(s,u){return wu(s,u,function(g,k){return vo(s,k)})}function wu(s,u,g){for(var k=-1,N=u.length,M={};++k<N;){var q=u[k],K=Tl(s,q);g(K,q)&&Vr(M,ll(q,s),K)}return M}function jm(s){return function(u){return Tl(u,s)}}function Ks(s,u,g,k){var N=k?pp:jl,M=-1,q=u.length,K=s;for(s===u&&(u=yi(u)),g&&(K=Ft(s,Mi(g)));++M<q;)for(var ee=0,me=u[M],be=g?g(me):me;(ee=N(K,be,ee,k))>-1;)K!==s&&Sa.call(K,ee,1),Sa.call(s,ee,1);return s}function ku(s,u){for(var g=s?u.length:0,k=g-1;g--;){var N=u[g];if(g==k||N!==M){var M=N;Dn(N)?Sa.call(s,N,1):Qs(s,N)}}return s}function js(s,u){return s+Pa(tu()*(u-s+1))}function Jm(s,u,g,k){for(var N=-1,M=ei(ya((u-s)/(g||1)),0),q=fe(M);M--;)q[k?M:++N]=s,s+=g;return q}function Js(s,u){var g="";if(!s||u<1||u>_e)return g;do u%2&&(g+=s),u=Pa(u/2),u&&(s+=s);while(u);return g}function st(s,u){return fo(Xu(s,u,Ii),s+"")}function Ym(s){return lu(lr(s))}function Qm(s,u){var g=lr(s);return za(g,Il(u,0,g.length))}function Vr(s,u,g,k){if(!Bt(s))return s;u=ll(u,s);for(var N=-1,M=u.length,q=M-1,K=s;K!=null&&++N<M;){var ee=dn(u[N]),me=g;if(ee==="__proto__"||ee==="constructor"||ee==="prototype")return s;if(N!=q){var be=K[ee];me=k?k(be,ee,K):t,me===t&&(me=Bt(be)?be:Dn(u[N+1])?[]:{})}Ar(K,ee,me),K=K[ee]}return s}var Su=Na?function(s,u){return Na.set(s,u),s}:Ii,Zm=Ca?function(s,u){return Ca(s,"toString",{configurable:!0,enumerable:!1,value:ko(u),writable:!0})}:Ii;function Xm(s){return za(lr(s))}function Ji(s,u,g){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),g=g>N?N:g,g<0&&(g+=N),N=u>g?0:g-u>>>0,u>>>=0;for(var M=fe(N);++k<N;)M[k]=s[k+u];return M}function $m(s,u){var g;return il(s,function(k,N,M){return g=u(k,N,M),!g}),!!g}function Da(s,u,g){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Ee){for(;k<N;){var M=k+N>>>1,q=s[M];q!==null&&!Ui(q)&&(g?q<=u:q<u)?k=M+1:N=M}return N}return Ys(s,u,Ii,g)}function Ys(s,u,g,k){var N=0,M=s==null?0:s.length;if(M===0)return 0;u=g(u);for(var q=u!==u,K=u===null,ee=Ui(u),me=u===t;N<M;){var be=Pa((N+M)/2),ye=g(s[be]),Re=ye!==t,ze=ye===null,Je=ye===ye,at=Ui(ye);if(q)var Ye=k||Je;else me?Ye=Je&&(k||Re):K?Ye=Je&&Re&&(k||!ze):ee?Ye=Je&&Re&&!ze&&(k||!at):ze||at?Ye=!1:Ye=k?ye<=u:ye<u;Ye?N=be+1:M=be}return di(M,re)}function Cu(s,u){for(var g=-1,k=s.length,N=0,M=[];++g<k;){var q=s[g],K=u?u(q):q;if(!g||!ln(K,ee)){var ee=K;M[N++]=q===0?0:q}}return M}function yu(s){return typeof s=="number"?s:Ui(s)?oe:+s}function Fi(s){if(typeof s=="string")return s;if(tt(s))return Ft(s,Fi)+"";if(Ui(s))return iu?iu.call(s):"";var u=s+"";return u=="0"&&1/s==-X?"-0":u}function nl(s,u,g){var k=-1,N=da,M=s.length,q=!0,K=[],ee=K;if(g)q=!1,N=Cs;else if(M>=l){var me=u?null:u1(s);if(me)return ha(me);q=!1,N=yr,ee=new Nl}else ee=u?[]:K;e:for(;++k<M;){var be=s[k],ye=u?u(be):be;if(be=g||be!==0?be:0,q&&ye===ye){for(var Re=ee.length;Re--;)if(ee[Re]===ye)continue e;u&&ee.push(ye),K.push(be)}else N(ee,ye,g)||(ee!==K&&ee.push(ye),K.push(be))}return K}function Qs(s,u){return u=ll(u,s),s=$u(s,u),s==null||delete s[dn(Yi(u))]}function Pu(s,u,g,k){return Vr(s,u,g(Tl(s,u)),k)}function Va(s,u,g,k){for(var N=s.length,M=k?N:-1;(k?M--:++M<N)&&u(s[M],M,s););return g?Ji(s,k?0:M,k?M+1:N):Ji(s,k?M+1:0,k?N:M)}function Nu(s,u){var g=s;return g instanceof ct&&(g=g.value()),ys(u,function(k,N){return N.func.apply(N.thisArg,xn([k],N.args))},g)}function Zs(s,u,g){var k=s.length;if(k<2)return k?nl(s[0]):[];for(var N=-1,M=fe(k);++N<k;)for(var q=s[N],K=-1;++K<k;)K!=N&&(M[N]=Er(M[N]||q,s[K],u,g));return nl(si(M,1),u,g)}function Iu(s,u,g){for(var k=-1,N=s.length,M=u.length,q={};++k<N;){var K=k<M?u[k]:t;g(q,s[k],K)}return q}function Xs(s){return jt(s)?s:[]}function $s(s){return typeof s=="function"?s:Ii}function ll(s,u){return tt(s)?s:so(s,u)?[s]:nf(kt(s))}var xm=st;function rl(s,u,g){var k=s.length;return g=g===t?k:g,!u&&g>=k?s:Ji(s,u,g)}var Tu=Hp||function(s){return $e.clearTimeout(s)};function Lu(s,u){if(u)return s.slice();var g=s.length,k=Zo?Zo(g):new s.constructor(g);return s.copy(k),k}function xs(s){var u=new s.constructor(s.byteLength);return new wa(u).set(new wa(s)),u}function e1(s,u){var g=u?xs(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.byteLength)}function t1(s){var u=new s.constructor(s.source,Gn.exec(s));return u.lastIndex=s.lastIndex,u}function i1(s){return Lr?Lt(Lr.call(s)):{}}function Au(s,u){var g=u?xs(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.length)}function Eu(s,u){if(s!==u){var g=s!==t,k=s===null,N=s===s,M=Ui(s),q=u!==t,K=u===null,ee=u===u,me=Ui(u);if(!K&&!me&&!M&&s>u||M&&q&&ee&&!K&&!me||k&&q&&ee||!g&&ee||!N)return 1;if(!k&&!M&&!me&&s<u||me&&g&&N&&!k&&!M||K&&g&&N||!q&&N||!ee)return-1}return 0}function n1(s,u,g){for(var k=-1,N=s.criteria,M=u.criteria,q=N.length,K=g.length;++k<q;){var ee=Eu(N[k],M[k]);if(ee){if(k>=K)return ee;var me=g[k];return ee*(me=="desc"?-1:1)}}return s.index-u.index}function Ru(s,u,g,k){for(var N=-1,M=s.length,q=g.length,K=-1,ee=u.length,me=ei(M-q,0),be=fe(ee+me),ye=!k;++K<ee;)be[K]=u[K];for(;++N<q;)(ye||N<M)&&(be[g[N]]=s[N]);for(;me--;)be[K++]=s[N++];return be}function Du(s,u,g,k){for(var N=-1,M=s.length,q=-1,K=g.length,ee=-1,me=u.length,be=ei(M-K,0),ye=fe(be+me),Re=!k;++N<be;)ye[N]=s[N];for(var ze=N;++ee<me;)ye[ze+ee]=u[ee];for(;++q<K;)(Re||N<M)&&(ye[ze+g[q]]=s[N++]);return ye}function yi(s,u){var g=-1,k=s.length;for(u||(u=fe(k));++g<k;)u[g]=s[g];return u}function cn(s,u,g,k){var N=!g;g||(g={});for(var M=-1,q=u.length;++M<q;){var K=u[M],ee=k?k(g[K],s[K],K,g,s):t;ee===t&&(ee=s[K]),N?An(g,K,ee):Ar(g,K,ee)}return g}function l1(s,u){return cn(s,ao(s),u)}function r1(s,u){return cn(s,ju(s),u)}function Oa(s,u){return function(g,k){var N=tt(g)?ci:Im,M=u?u():{};return N(g,s,je(k,2),M)}}function er(s){return st(function(u,g){var k=-1,N=g.length,M=N>1?g[N-1]:t,q=N>2?g[2]:t;for(M=s.length>3&&typeof M=="function"?(N--,M):t,q&&mi(g[0],g[1],q)&&(M=N<3?t:M,N=1),u=Lt(u);++k<N;){var K=g[k];K&&s(u,K,k,M)}return u})}function Vu(s,u){return function(g,k){if(g==null)return g;if(!Pi(g))return s(g,k);for(var N=g.length,M=u?N:-1,q=Lt(g);(u?M--:++M<N)&&k(q[M],M,q)!==!1;);return g}}function Ou(s){return function(u,g,k){for(var N=-1,M=Lt(u),q=k(u),K=q.length;K--;){var ee=q[s?K:++N];if(g(M[ee],ee,M)===!1)break}return u}}function a1(s,u,g){var k=u&C,N=Or(s);function M(){var q=this&&this!==$e&&this instanceof M?N:s;return q.apply(k?g:this,arguments)}return M}function Mu(s){return function(u){u=kt(u);var g=Jl(u)?tn(u):t,k=g?g[0]:u.charAt(0),N=g?rl(g,1).join(""):u.slice(1);return k[s]()+N}}function tr(s){return function(u){return ys(Of(Vf(u).replace(vs,"")),s,"")}}function Or(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var g=xl(s.prototype),k=s.apply(g,u);return Bt(k)?k:g}}function s1(s,u,g){var k=Or(s);function N(){for(var M=arguments.length,q=fe(M),K=M,ee=ir(N);K--;)q[K]=arguments[K];var me=M<3&&q[0]!==ee&&q[M-1]!==ee?[]:el(q,ee);if(M-=me.length,M<g)return Wu(s,u,Ma,N.placeholder,t,q,me,t,t,g-M);var be=this&&this!==$e&&this instanceof N?k:s;return $t(be,this,q)}return N}function Fu(s){return function(u,g,k){var N=Lt(u);if(!Pi(u)){var M=je(g,3);u=li(u),g=function(K){return M(N[K],K,N)}}var q=s(u,g,k);return q>-1?N[M?u[q]:q]:t}}function Uu(s){return Rn(function(u){var g=u.length,k=g,N=Ki.prototype.thru;for(s&&u.reverse();k--;){var M=u[k];if(typeof M!="function")throw new Gi(a);if(N&&!q&&Ha(M)=="wrapper")var q=new Ki([],!0)}for(k=q?k:g;++k<g;){M=u[k];var K=Ha(M),ee=K=="wrapper"?lo(M):t;ee&&oo(ee[0])&&ee[1]==(F|I|D|U)&&!ee[4].length&&ee[9]==1?q=q[Ha(ee[0])].apply(q,ee[3]):q=M.length==1&&oo(M)?q[K]():q.thru(M)}return function(){var me=arguments,be=me[0];if(q&&me.length==1&&tt(be))return q.plant(be).value();for(var ye=0,Re=g?u[ye].apply(this,me):be;++ye<g;)Re=u[ye].call(this,Re);return Re}})}function Ma(s,u,g,k,N,M,q,K,ee,me){var be=u&F,ye=u&C,Re=u&y,ze=u&(I|A),Je=u&E,at=Re?t:Or(s);function Ye(){for(var ut=arguments.length,gt=fe(ut),Bi=ut;Bi--;)gt[Bi]=arguments[Bi];if(ze)var bi=ir(Ye),Hi=vp(gt,bi);if(k&&(gt=Ru(gt,k,N,ze)),M&&(gt=Du(gt,M,q,ze)),ut-=Hi,ze&&ut<me){var Jt=el(gt,bi);return Wu(s,u,Ma,Ye.placeholder,g,gt,Jt,K,ee,me-ut)}var rn=ye?g:this,Mn=Re?rn[s]:s;return ut=gt.length,K?gt=I1(gt,K):Je&&ut>1&>.reverse(),be&&ee<ut&&(gt.length=ee),this&&this!==$e&&this instanceof Ye&&(Mn=at||Or(Mn)),Mn.apply(rn,gt)}return Ye}function Bu(s,u){return function(g,k){return Om(g,s,u(k),{})}}function Fa(s,u){return function(g,k){var N;if(g===t&&k===t)return u;if(g!==t&&(N=g),k!==t){if(N===t)return k;typeof g=="string"||typeof k=="string"?(g=Fi(g),k=Fi(k)):(g=yu(g),k=yu(k)),N=s(g,k)}return N}}function eo(s){return Rn(function(u){return u=Ft(u,Mi(je())),st(function(g){var k=this;return s(u,function(N){return $t(N,k,g)})})})}function Ua(s,u){u=u===t?" ":Fi(u);var g=u.length;if(g<2)return g?Js(u,s):u;var k=Js(u,ya(s/Yl(u)));return Jl(u)?rl(tn(k),0,s).join(""):k.slice(0,s)}function o1(s,u,g,k){var N=u&C,M=Or(s);function q(){for(var K=-1,ee=arguments.length,me=-1,be=k.length,ye=fe(be+ee),Re=this&&this!==$e&&this instanceof q?M:s;++me<be;)ye[me]=k[me];for(;ee--;)ye[me++]=arguments[++K];return $t(Re,N?g:this,ye)}return q}function Hu(s){return function(u,g,k){return k&&typeof k!="number"&&mi(u,g,k)&&(g=k=t),u=On(u),g===t?(g=u,u=0):g=On(g),k=k===t?u<g?1:-1:On(k),Jm(u,g,k,s)}}function Ba(s){return function(u,g){return typeof u=="string"&&typeof g=="string"||(u=Qi(u),g=Qi(g)),s(u,g)}}function Wu(s,u,g,k,N,M,q,K,ee,me){var be=u&I,ye=be?q:t,Re=be?t:q,ze=be?M:t,Je=be?t:M;u|=be?D:V,u&=~(be?V:D),u&P||(u&=~(C|y));var at=[s,u,N,ze,ye,Je,Re,K,ee,me],Ye=g.apply(t,at);return oo(s)&&xu(Ye,at),Ye.placeholder=k,ef(Ye,s,u)}function to(s){var u=xt[s];return function(g,k){if(g=Qi(g),k=k==null?0:di(lt(k),292),k&&eu(g)){var N=(kt(g)+"e").split("e"),M=u(N[0]+"e"+(+N[1]+k));return N=(kt(M)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(g)}}var u1=Xl&&1/ha(new Xl([,-0]))[1]==X?function(s){return new Xl(s)}:yo;function zu(s){return function(u){var g=gi(u);return g==vt?Es(u):g==Qt?Np(u):bp(u,s(u))}}function En(s,u,g,k,N,M,q,K){var ee=u&y;if(!ee&&typeof s!="function")throw new Gi(a);var me=k?k.length:0;if(me||(u&=~(D|V),k=N=t),q=q===t?q:ei(lt(q),0),K=K===t?K:lt(K),me-=N?N.length:0,u&V){var be=k,ye=N;k=N=t}var Re=ee?t:lo(s),ze=[s,u,g,k,N,be,ye,M,q,K];if(Re&&y1(ze,Re),s=ze[0],u=ze[1],g=ze[2],k=ze[3],N=ze[4],K=ze[9]=ze[9]===t?ee?0:s.length:ei(ze[9]-me,0),!K&&u&(I|A)&&(u&=~(I|A)),!u||u==C)var Je=a1(s,u,g);else u==I||u==A?Je=s1(s,u,K):(u==D||u==(C|D))&&!N.length?Je=o1(s,u,g,k):Je=Ma.apply(t,ze);var at=Re?Su:xu;return ef(at(Je,ze),s,u)}function qu(s,u,g,k){return s===t||ln(s,Zl[g])&&!Ct.call(k,g)?u:s}function Gu(s,u,g,k,N,M){return Bt(s)&&Bt(u)&&(M.set(u,s),Ra(s,u,t,Gu,M),M.delete(u)),s}function f1(s){return Ur(s)?t:s}function Ku(s,u,g,k,N,M){var q=g&m,K=s.length,ee=u.length;if(K!=ee&&!(q&&ee>K))return!1;var me=M.get(s),be=M.get(u);if(me&&be)return me==u&&be==s;var ye=-1,Re=!0,ze=g&v?new Nl:t;for(M.set(s,u),M.set(u,s);++ye<K;){var Je=s[ye],at=u[ye];if(k)var Ye=q?k(at,Je,ye,u,s,M):k(Je,at,ye,s,u,M);if(Ye!==t){if(Ye)continue;Re=!1;break}if(ze){if(!Ps(u,function(ut,gt){if(!yr(ze,gt)&&(Je===ut||N(Je,ut,g,k,M)))return ze.push(gt)})){Re=!1;break}}else if(!(Je===at||N(Je,at,g,k,M))){Re=!1;break}}return M.delete(s),M.delete(u),Re}function c1(s,u,g,k,N,M,q){switch(g){case Wt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case qi:return!(s.byteLength!=u.byteLength||!M(new wa(s),new wa(u)));case nt:case Fe:case Dt:return ln(+s,+u);case Ge:return s.name==u.name&&s.message==u.message;case It:case Ri:return s==u+"";case vt:var K=Es;case Qt:var ee=k&m;if(K||(K=ha),s.size!=u.size&&!ee)return!1;var me=q.get(s);if(me)return me==u;k|=v,q.set(s,u);var be=Ku(K(s),K(u),k,N,M,q);return q.delete(s),be;case xi:if(Lr)return Lr.call(s)==Lr.call(u)}return!1}function d1(s,u,g,k,N,M){var q=g&m,K=io(s),ee=K.length,me=io(u),be=me.length;if(ee!=be&&!q)return!1;for(var ye=ee;ye--;){var Re=K[ye];if(!(q?Re in u:Ct.call(u,Re)))return!1}var ze=M.get(s),Je=M.get(u);if(ze&&Je)return ze==u&&Je==s;var at=!0;M.set(s,u),M.set(u,s);for(var Ye=q;++ye<ee;){Re=K[ye];var ut=s[Re],gt=u[Re];if(k)var Bi=q?k(gt,ut,Re,u,s,M):k(ut,gt,Re,s,u,M);if(!(Bi===t?ut===gt||N(ut,gt,g,k,M):Bi)){at=!1;break}Ye||(Ye=Re=="constructor")}if(at&&!Ye){var bi=s.constructor,Hi=u.constructor;bi!=Hi&&"constructor"in s&&"constructor"in u&&!(typeof bi=="function"&&bi instanceof bi&&typeof Hi=="function"&&Hi instanceof Hi)&&(at=!1)}return M.delete(s),M.delete(u),at}function Rn(s){return fo(Xu(s,t,sf),s+"")}function io(s){return cu(s,li,ao)}function no(s){return cu(s,Ni,ju)}var lo=Na?function(s){return Na.get(s)}:yo;function Ha(s){for(var u=s.name+"",g=$l[u],k=Ct.call($l,u)?g.length:0;k--;){var N=g[k],M=N.func;if(M==null||M==s)return N.name}return u}function ir(s){var u=Ct.call(O,"placeholder")?O:s;return u.placeholder}function je(){var s=O.iteratee||So;return s=s===So?hu:s,arguments.length?s(arguments[0],arguments[1]):s}function Wa(s,u){var g=s.__data__;return w1(u)?g[typeof u=="string"?"string":"hash"]:g.map}function ro(s){for(var u=li(s),g=u.length;g--;){var k=u[g],N=s[k];u[g]=[k,N,Qu(N)]}return u}function Ll(s,u){var g=Cp(s,u);return gu(g)?g:t}function g1(s){var u=Ct.call(s,yl),g=s[yl];try{s[yl]=t;var k=!0}catch{}var N=ba.call(s);return k&&(u?s[yl]=g:delete s[yl]),N}var ao=Ds?function(s){return s==null?[]:(s=Lt(s),$n(Ds(s),function(u){return $o.call(s,u)}))}:Po,ju=Ds?function(s){for(var u=[];s;)xn(u,ao(s)),s=ka(s);return u}:Po,gi=pi;(Vs&&gi(new Vs(new ArrayBuffer(1)))!=Wt||Nr&&gi(new Nr)!=vt||Os&&gi(Os.resolve())!=Kt||Xl&&gi(new Xl)!=Qt||Ir&&gi(new Ir)!=ii)&&(gi=function(s){var u=pi(s),g=u==Gt?s.constructor:t,k=g?Al(g):"";if(k)switch(k){case Qp:return Wt;case Zp:return vt;case Xp:return Kt;case $p:return Qt;case xp:return ii}return u});function h1(s,u,g){for(var k=-1,N=g.length;++k<N;){var M=g[k],q=M.size;switch(M.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=di(u,s+q);break;case"takeRight":s=ei(s,u-q);break}}return{start:s,end:u}}function _1(s){var u=s.match(qn);return u?u[1].split(Ml):[]}function Ju(s,u,g){u=ll(u,s);for(var k=-1,N=u.length,M=!1;++k<N;){var q=dn(u[k]);if(!(M=s!=null&&g(s,q)))break;s=s[q]}return M||++k!=N?M:(N=s==null?0:s.length,!!N&&Ya(N)&&Dn(q,N)&&(tt(s)||El(s)))}function p1(s){var u=s.length,g=new s.constructor(u);return u&&typeof s[0]=="string"&&Ct.call(s,"index")&&(g.index=s.index,g.input=s.input),g}function Yu(s){return typeof s.constructor=="function"&&!Mr(s)?xl(ka(s)):{}}function m1(s,u,g){var k=s.constructor;switch(u){case qi:return xs(s);case nt:case Fe:return new k(+s);case Wt:return e1(s,g);case wi:case vn:case wn:case ui:case kn:case Sn:case Cn:case yn:case Pn:return Au(s,g);case vt:return new k;case Dt:case Ri:return new k(s);case It:return t1(s);case Qt:return new k;case xi:return i1(s)}}function b1(s,u){var g=u.length;if(!g)return s;var k=g-1;return u[k]=(g>1?"& ":"")+u[k],u=u.join(g>2?", ":" "),s.replace(bl,`{
|
|
33
|
+
*/ss.exports;(function(n,e){(function(){var t,i="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__",_=1,p=2,b=4,m=1,v=2,C=1,y=2,P=4,A=8,T=16,V=32,E=64,U=128,F=256,D=512,Z=30,j="...",Q=800,de=16,te=1,G=2,Y=3,X=1/0,_e=9007199254740991,ie=17976931348623157e292,oe=0/0,ve=4294967295,re=ve-1,Ee=ve>>>1,We=[["ary",U],["bind",C],["bindKey",y],["curry",A],["curryRight",T],["flip",D],["partial",V],["partialRight",E],["rearg",F]],W="[object Arguments]",se="[object Array]",Ie="[object AsyncFunction]",nt="[object Boolean]",Fe="[object Date]",pe="[object DOMException]",Ge="[object Error]",rt="[object Function]",Gt="[object GeneratorFunction]",vt="[object Map]",Dt="[object Number]",Ei="[object Null]",Kt="[object Object]",jt="[object Promise]",gl="[object Proxy]",It="[object RegExp]",Zt="[object Set]",Ri="[object String]",xi="[object Symbol]",Hn="[object Undefined]",ni="[object WeakMap]",pi="[object WeakSet]",qi="[object ArrayBuffer]",zt="[object DataView]",ki="[object Float32Array]",vn="[object Float64Array]",wn="[object Int8Array]",fi="[object Int16Array]",kn="[object Int32Array]",Sn="[object Uint8Array]",Cn="[object Uint8ClampedArray]",yn="[object Uint16Array]",Pn="[object Uint32Array]",hl=/\b__p \+= '';/g,_l=/\b(__p \+=) '' \+/g,pl=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Nn=/&(?:amp|lt|gt|quot|#39);/g,Wn=/[&<>"']/g,zn=RegExp(Nn.source),on=RegExp(Wn.source),ml=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,Pe=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dt=/^\w*$/,St=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$t=/[\\^$.*+?()[\]{}|]/g,Di=RegExp($t.source),Si=/^\s+/,Vi=/\s/,bl=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qn=/\{\n\/\* \[wrapped with (.+)\] \*/,Ml=/,? & /,Fl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ul=/[()=,{}\[\]\/\s]/,hr=/\\(\\)?/g,Ci=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Gn=/\w*$/,vl=/^[-+]0x[0-9a-f]+$/i,Bl=/^0b[01]+$/i,_r=/^\[object .+?Constructor\]$/,Kn=/^0o[0-7]+$/i,wl=/^(?:0|[1-9]\d*)$/,kl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,un=/($^)/,Hl=/['\n\r\u2028\u2029\\]/g,In="\\ud800-\\udfff",pr="\\u0300-\\u036f",J="\\ufe20-\\ufe2f",Tt="\\u20d0-\\u20ff",ci=pr+J+Tt,en="\\u2700-\\u27bf",mr="a-z\\xdf-\\xf6\\xf8-\\xff",jn="\\xac\\xb1\\xd7\\xf7",Xt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Wl="\\u2000-\\u206f",Qr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Zr="A-Z\\xc0-\\xd6\\xd8-\\xde",Jn="\\ufe0e\\ufe0f",Xr=jn+Xt+Wl+Qr,br="['’]",cs="["+In+"]",$r="["+Xr+"]",Yn="["+ci+"]",xr="\\d+",ds="["+en+"]",ea="["+mr+"]",ta="[^"+In+Xr+xr+en+mr+Zr+"]",vr="\\ud83c[\\udffb-\\udfff]",ia="(?:"+Yn+"|"+vr+")",na="[^"+In+"]",zl="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Qn="["+Zr+"]",la="\\u200d",ra="(?:"+ea+"|"+ta+")",gs="(?:"+Qn+"|"+ta+")",aa="(?:"+br+"(?:d|ll|m|re|s|t|ve))?",sa="(?:"+br+"(?:D|LL|M|RE|S|T|VE))?",oa=ia+"?",ua="["+Jn+"]?",hs="(?:"+la+"(?:"+[na,zl,wr].join("|")+")"+ua+oa+")*",_s="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ps="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",fa=ua+oa+hs,ms="(?:"+[ds,zl,wr].join("|")+")"+fa,bs="(?:"+[na+Yn+"?",Yn,zl,wr,cs].join("|")+")",vs=RegExp(br,"g"),ws=RegExp(Yn,"g"),kr=RegExp(vr+"(?="+vr+")|"+bs+fa,"g"),H=RegExp([Qn+"?"+ea+"+"+aa+"(?="+[$r,Qn,"$"].join("|")+")",gs+"+"+sa+"(?="+[$r,Qn+ra,"$"].join("|")+")",Qn+"?"+ra+"+"+aa,Qn+"+"+sa,ps,_s,xr,ms].join("|"),"g"),ce=RegExp("["+la+In+ci+Jn+"]"),De=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ue=-1,ge={};ge[ki]=ge[vn]=ge[wn]=ge[fi]=ge[kn]=ge[Sn]=ge[Cn]=ge[yn]=ge[Pn]=!0,ge[W]=ge[se]=ge[qi]=ge[nt]=ge[zt]=ge[Fe]=ge[Ge]=ge[rt]=ge[vt]=ge[Dt]=ge[Kt]=ge[It]=ge[Zt]=ge[Ri]=ge[ni]=!1;var Ne={};Ne[W]=Ne[se]=Ne[qi]=Ne[zt]=Ne[nt]=Ne[Fe]=Ne[ki]=Ne[vn]=Ne[wn]=Ne[fi]=Ne[kn]=Ne[vt]=Ne[Dt]=Ne[Kt]=Ne[It]=Ne[Zt]=Ne[Ri]=Ne[xi]=Ne[Sn]=Ne[Cn]=Ne[yn]=Ne[Pn]=!0,Ne[Ge]=Ne[rt]=Ne[ni]=!1;var mt={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ot={"&":"&","<":"<",">":">",'"':""","'":"'"},Sr={"&":"&","<":"<",">":">",""":'"',"'":"'"},Zn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Cr=parseFloat,Xn=parseInt,ql=typeof Hr=="object"&&Hr&&Hr.Object===Object&&Hr,Ke=typeof self=="object"&&self&&self.Object===Object&&self,$e=ql||Ke||Function("return this")(),yt=e&&!e.nodeType&&e,Mt=yt&&!0&&n&&!n.nodeType&&n,yi=Mt&&Mt.exports===yt,Oi=yi&&ql.process,li=function(){try{var x=Mt&&Mt.require&&Mt.require("util").types;return x||Oi&&Oi.binding&&Oi.binding("util")}catch{}}(),Gl=li&&li.isArrayBuffer,Sl=li&&li.isDate,ks=li&&li.isMap,Kl=li&&li.isRegExp,ca=li&&li.isSet,Cl=li&&li.isTypedArray;function xt(x,he,fe){switch(fe.length){case 0:return x.call(he);case 1:return x.call(he,fe[0]);case 2:return x.call(he,fe[0],fe[1]);case 3:return x.call(he,fe[0],fe[1],fe[2])}return x.apply(he,fe)}function di(x,he,fe,Be){for(var xe=-1,wt=x==null?0:x.length;++xe<wt;){var ei=x[xe];he(Be,ei,fe(ei),x)}return Be}function Ut(x,he){for(var fe=-1,Be=x==null?0:x.length;++fe<Be&&he(x[fe],fe,x)!==!1;);return x}function Ss(x,he){for(var fe=x==null?0:x.length;fe--&&he(x[fe],fe,x)!==!1;);return x}function Bo(x,he){for(var fe=-1,Be=x==null?0:x.length;++fe<Be;)if(!he(x[fe],fe,x))return!1;return!0}function $n(x,he){for(var fe=-1,Be=x==null?0:x.length,xe=0,wt=[];++fe<Be;){var ei=x[fe];he(ei,fe,x)&&(wt[xe++]=ei)}return wt}function da(x,he){var fe=x==null?0:x.length;return!!fe&&jl(x,he,0)>-1}function Cs(x,he,fe){for(var Be=-1,xe=x==null?0:x.length;++Be<xe;)if(fe(he,x[Be]))return!0;return!1}function Ft(x,he){for(var fe=-1,Be=x==null?0:x.length,xe=Array(Be);++fe<Be;)xe[fe]=he(x[fe],fe,x);return xe}function xn(x,he){for(var fe=-1,Be=he.length,xe=x.length;++fe<Be;)x[xe+fe]=he[fe];return x}function ys(x,he,fe,Be){var xe=-1,wt=x==null?0:x.length;for(Be&&wt&&(fe=x[++xe]);++xe<wt;)fe=he(fe,x[xe],xe,x);return fe}function dp(x,he,fe,Be){var xe=x==null?0:x.length;for(Be&&xe&&(fe=x[--xe]);xe--;)fe=he(fe,x[xe],xe,x);return fe}function Ps(x,he){for(var fe=-1,Be=x==null?0:x.length;++fe<Be;)if(he(x[fe],fe,x))return!0;return!1}var gp=Ns("length");function hp(x){return x.split("")}function _p(x){return x.match(Fl)||[]}function Ho(x,he,fe){var Be;return fe(x,function(xe,wt,ei){if(he(xe,wt,ei))return Be=wt,!1}),Be}function ga(x,he,fe,Be){for(var xe=x.length,wt=fe+(Be?1:-1);Be?wt--:++wt<xe;)if(he(x[wt],wt,x))return wt;return-1}function jl(x,he,fe){return he===he?Ip(x,he,fe):ga(x,Wo,fe)}function pp(x,he,fe,Be){for(var xe=fe-1,wt=x.length;++xe<wt;)if(Be(x[xe],he))return xe;return-1}function Wo(x){return x!==x}function zo(x,he){var fe=x==null?0:x.length;return fe?Ts(x,he)/fe:oe}function Ns(x){return function(he){return he==null?t:he[x]}}function Is(x){return function(he){return x==null?t:x[he]}}function qo(x,he,fe,Be,xe){return xe(x,function(wt,ei,Lt){fe=Be?(Be=!1,wt):he(fe,wt,ei,Lt)}),fe}function mp(x,he){var fe=x.length;for(x.sort(he);fe--;)x[fe]=x[fe].value;return x}function Ts(x,he){for(var fe,Be=-1,xe=x.length;++Be<xe;){var wt=he(x[Be]);wt!==t&&(fe=fe===t?wt:fe+wt)}return fe}function Ls(x,he){for(var fe=-1,Be=Array(x);++fe<x;)Be[fe]=he(fe);return Be}function bp(x,he){return Ft(he,function(fe){return[fe,x[fe]]})}function Go(x){return x&&x.slice(0,Yo(x)+1).replace(Si,"")}function Mi(x){return function(he){return x(he)}}function As(x,he){return Ft(he,function(fe){return x[fe]})}function yr(x,he){return x.has(he)}function Ko(x,he){for(var fe=-1,Be=x.length;++fe<Be&&jl(he,x[fe],0)>-1;);return fe}function jo(x,he){for(var fe=x.length;fe--&&jl(he,x[fe],0)>-1;);return fe}function vp(x,he){for(var fe=x.length,Be=0;fe--;)x[fe]===he&&++Be;return Be}var wp=Is(mt),kp=Is(Ot);function Sp(x){return"\\"+Zn[x]}function Cp(x,he){return x==null?t:x[he]}function Jl(x){return ce.test(x)}function yp(x){return De.test(x)}function Pp(x){for(var he,fe=[];!(he=x.next()).done;)fe.push(he.value);return fe}function Es(x){var he=-1,fe=Array(x.size);return x.forEach(function(Be,xe){fe[++he]=[xe,Be]}),fe}function Jo(x,he){return function(fe){return x(he(fe))}}function el(x,he){for(var fe=-1,Be=x.length,xe=0,wt=[];++fe<Be;){var ei=x[fe];(ei===he||ei===d)&&(x[fe]=d,wt[xe++]=fe)}return wt}function ha(x){var he=-1,fe=Array(x.size);return x.forEach(function(Be){fe[++he]=Be}),fe}function Np(x){var he=-1,fe=Array(x.size);return x.forEach(function(Be){fe[++he]=[Be,Be]}),fe}function Ip(x,he,fe){for(var Be=fe-1,xe=x.length;++Be<xe;)if(x[Be]===he)return Be;return-1}function Tp(x,he,fe){for(var Be=fe+1;Be--;)if(x[Be]===he)return Be;return Be}function Yl(x){return Jl(x)?Ap(x):gp(x)}function tn(x){return Jl(x)?Ep(x):hp(x)}function Yo(x){for(var he=x.length;he--&&Vi.test(x.charAt(he)););return he}var Lp=Is(Sr);function Ap(x){for(var he=kr.lastIndex=0;kr.test(x);)++he;return he}function Ep(x){return x.match(kr)||[]}function Rp(x){return x.match(H)||[]}var Dp=function x(he){he=he==null?$e:Ql.defaults($e.Object(),he,Ql.pick($e,qe));var fe=he.Array,Be=he.Date,xe=he.Error,wt=he.Function,ei=he.Math,Lt=he.Object,Rs=he.RegExp,Vp=he.String,Gi=he.TypeError,_a=fe.prototype,Op=wt.prototype,Zl=Lt.prototype,pa=he["__core-js_shared__"],ma=Op.toString,Ct=Zl.hasOwnProperty,Mp=0,Qo=function(){var s=/[^.]+$/.exec(pa&&pa.keys&&pa.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}(),ba=Zl.toString,Fp=ma.call(Lt),Up=$e._,Bp=Rs("^"+ma.call(Ct).replace($t,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),va=yi?he.Buffer:t,tl=he.Symbol,wa=he.Uint8Array,Zo=va?va.allocUnsafe:t,ka=Jo(Lt.getPrototypeOf,Lt),Xo=Lt.create,$o=Zl.propertyIsEnumerable,Sa=_a.splice,xo=tl?tl.isConcatSpreadable:t,Pr=tl?tl.iterator:t,yl=tl?tl.toStringTag:t,Ca=function(){try{var s=Ll(Lt,"defineProperty");return s({},"",{}),s}catch{}}(),Hp=he.clearTimeout!==$e.clearTimeout&&he.clearTimeout,Wp=Be&&Be.now!==$e.Date.now&&Be.now,zp=he.setTimeout!==$e.setTimeout&&he.setTimeout,ya=ei.ceil,Pa=ei.floor,Ds=Lt.getOwnPropertySymbols,qp=va?va.isBuffer:t,eu=he.isFinite,Gp=_a.join,Kp=Jo(Lt.keys,Lt),ti=ei.max,gi=ei.min,jp=Be.now,Jp=he.parseInt,tu=ei.random,Yp=_a.reverse,Vs=Ll(he,"DataView"),Nr=Ll(he,"Map"),Os=Ll(he,"Promise"),Xl=Ll(he,"Set"),Ir=Ll(he,"WeakMap"),Tr=Ll(Lt,"create"),Na=Ir&&new Ir,$l={},Qp=Al(Vs),Zp=Al(Nr),Xp=Al(Os),$p=Al(Xl),xp=Al(Ir),Ia=tl?tl.prototype:t,Lr=Ia?Ia.valueOf:t,iu=Ia?Ia.toString:t;function O(s){if(qt(s)&&!tt(s)&&!(s instanceof ct)){if(s instanceof Ki)return s;if(Ct.call(s,"__wrapped__"))return lf(s)}return new Ki(s)}var xl=function(){function s(){}return function(u){if(!Bt(u))return{};if(Xo)return Xo(u);s.prototype=u;var g=new s;return s.prototype=t,g}}();function Ta(){}function Ki(s,u){this.__wrapped__=s,this.__actions__=[],this.__chain__=!!u,this.__index__=0,this.__values__=t}O.templateSettings={escape:ml,evaluate:$,interpolate:Pe,variable:"",imports:{_:O}},O.prototype=Ta.prototype,O.prototype.constructor=O,Ki.prototype=xl(Ta.prototype),Ki.prototype.constructor=Ki;function ct(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ve,this.__views__=[]}function em(){var s=new ct(this.__wrapped__);return s.__actions__=Pi(this.__actions__),s.__dir__=this.__dir__,s.__filtered__=this.__filtered__,s.__iteratees__=Pi(this.__iteratees__),s.__takeCount__=this.__takeCount__,s.__views__=Pi(this.__views__),s}function tm(){if(this.__filtered__){var s=new ct(this);s.__dir__=-1,s.__filtered__=!0}else s=this.clone(),s.__dir__*=-1;return s}function im(){var s=this.__wrapped__.value(),u=this.__dir__,g=tt(s),k=u<0,N=g?s.length:0,M=h1(0,N,this.__views__),q=M.start,K=M.end,ee=K-q,me=k?K:q-1,be=this.__iteratees__,ye=be.length,Re=0,ze=gi(ee,this.__takeCount__);if(!g||!k&&N==ee&&ze==ee)return Nu(s,this.__actions__);var Je=[];e:for(;ee--&&Re<ze;){me+=u;for(var at=-1,Ye=s[me];++at<ye;){var ut=be[at],gt=ut.iteratee,Bi=ut.type,vi=gt(Ye);if(Bi==G)Ye=vi;else if(!vi){if(Bi==te)continue e;break e}}Je[Re++]=Ye}return Je}ct.prototype=xl(Ta.prototype),ct.prototype.constructor=ct;function Pl(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function nm(){this.__data__=Tr?Tr(null):{},this.size=0}function lm(s){var u=this.has(s)&&delete this.__data__[s];return this.size-=u?1:0,u}function rm(s){var u=this.__data__;if(Tr){var g=u[s];return g===c?t:g}return Ct.call(u,s)?u[s]:t}function am(s){var u=this.__data__;return Tr?u[s]!==t:Ct.call(u,s)}function sm(s,u){var g=this.__data__;return this.size+=this.has(s)?0:1,g[s]=Tr&&u===t?c:u,this}Pl.prototype.clear=nm,Pl.prototype.delete=lm,Pl.prototype.get=rm,Pl.prototype.has=am,Pl.prototype.set=sm;function Tn(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function om(){this.__data__=[],this.size=0}function um(s){var u=this.__data__,g=La(u,s);if(g<0)return!1;var k=u.length-1;return g==k?u.pop():Sa.call(u,g,1),--this.size,!0}function fm(s){var u=this.__data__,g=La(u,s);return g<0?t:u[g][1]}function cm(s){return La(this.__data__,s)>-1}function dm(s,u){var g=this.__data__,k=La(g,s);return k<0?(++this.size,g.push([s,u])):g[k][1]=u,this}Tn.prototype.clear=om,Tn.prototype.delete=um,Tn.prototype.get=fm,Tn.prototype.has=cm,Tn.prototype.set=dm;function Ln(s){var u=-1,g=s==null?0:s.length;for(this.clear();++u<g;){var k=s[u];this.set(k[0],k[1])}}function gm(){this.size=0,this.__data__={hash:new Pl,map:new(Nr||Tn),string:new Pl}}function hm(s){var u=Wa(this,s).delete(s);return this.size-=u?1:0,u}function _m(s){return Wa(this,s).get(s)}function pm(s){return Wa(this,s).has(s)}function mm(s,u){var g=Wa(this,s),k=g.size;return g.set(s,u),this.size+=g.size==k?0:1,this}Ln.prototype.clear=gm,Ln.prototype.delete=hm,Ln.prototype.get=_m,Ln.prototype.has=pm,Ln.prototype.set=mm;function Nl(s){var u=-1,g=s==null?0:s.length;for(this.__data__=new Ln;++u<g;)this.add(s[u])}function bm(s){return this.__data__.set(s,c),this}function vm(s){return this.__data__.has(s)}Nl.prototype.add=Nl.prototype.push=bm,Nl.prototype.has=vm;function nn(s){var u=this.__data__=new Tn(s);this.size=u.size}function wm(){this.__data__=new Tn,this.size=0}function km(s){var u=this.__data__,g=u.delete(s);return this.size=u.size,g}function Sm(s){return this.__data__.get(s)}function Cm(s){return this.__data__.has(s)}function ym(s,u){var g=this.__data__;if(g instanceof Tn){var k=g.__data__;if(!Nr||k.length<l-1)return k.push([s,u]),this.size=++g.size,this;g=this.__data__=new Ln(k)}return g.set(s,u),this.size=g.size,this}nn.prototype.clear=wm,nn.prototype.delete=km,nn.prototype.get=Sm,nn.prototype.has=Cm,nn.prototype.set=ym;function nu(s,u){var g=tt(s),k=!g&&El(s),N=!g&&!k&&al(s),M=!g&&!k&&!N&&nr(s),q=g||k||N||M,K=q?Ls(s.length,Vp):[],ee=K.length;for(var me in s)(u||Ct.call(s,me))&&!(q&&(me=="length"||N&&(me=="offset"||me=="parent")||M&&(me=="buffer"||me=="byteLength"||me=="byteOffset")||Dn(me,ee)))&&K.push(me);return K}function lu(s){var u=s.length;return u?s[js(0,u-1)]:t}function Pm(s,u){return za(Pi(s),Il(u,0,s.length))}function Nm(s){return za(Pi(s))}function Ms(s,u,g){(g!==t&&!ln(s[u],g)||g===t&&!(u in s))&&An(s,u,g)}function Ar(s,u,g){var k=s[u];(!(Ct.call(s,u)&&ln(k,g))||g===t&&!(u in s))&&An(s,u,g)}function La(s,u){for(var g=s.length;g--;)if(ln(s[g][0],u))return g;return-1}function Im(s,u,g,k){return il(s,function(N,M,q){u(k,N,g(N),q)}),k}function ru(s,u){return s&&cn(u,ri(u),s)}function Tm(s,u){return s&&cn(u,Ii(u),s)}function An(s,u,g){u=="__proto__"&&Ca?Ca(s,u,{configurable:!0,enumerable:!0,value:g,writable:!0}):s[u]=g}function Fs(s,u){for(var g=-1,k=u.length,N=fe(k),M=s==null;++g<k;)N[g]=M?t:bo(s,u[g]);return N}function Il(s,u,g){return s===s&&(g!==t&&(s=s<=g?s:g),u!==t&&(s=s>=u?s:u)),s}function ji(s,u,g,k,N,M){var q,K=u&_,ee=u&p,me=u&b;if(g&&(q=N?g(s,k,N,M):g(s)),q!==t)return q;if(!Bt(s))return s;var be=tt(s);if(be){if(q=p1(s),!K)return Pi(s,q)}else{var ye=hi(s),Re=ye==rt||ye==Gt;if(al(s))return Lu(s,K);if(ye==Kt||ye==W||Re&&!N){if(q=ee||Re?{}:Yu(s),!K)return ee?r1(s,Tm(q,s)):l1(s,ru(q,s))}else{if(!Ne[ye])return N?s:{};q=m1(s,ye,K)}}M||(M=new nn);var ze=M.get(s);if(ze)return ze;M.set(s,q),yf(s)?s.forEach(function(Ye){q.add(ji(Ye,u,g,Ye,s,M))}):Sf(s)&&s.forEach(function(Ye,ut){q.set(ut,ji(Ye,u,g,ut,s,M))});var Je=me?ee?no:io:ee?Ii:ri,at=be?t:Je(s);return Ut(at||s,function(Ye,ut){at&&(ut=Ye,Ye=s[ut]),Ar(q,ut,ji(Ye,u,g,ut,s,M))}),q}function Lm(s){var u=ri(s);return function(g){return au(g,s,u)}}function au(s,u,g){var k=g.length;if(s==null)return!k;for(s=Lt(s);k--;){var N=g[k],M=u[N],q=s[N];if(q===t&&!(N in s)||!M(q))return!1}return!0}function su(s,u,g){if(typeof s!="function")throw new Gi(a);return Fr(function(){s.apply(t,g)},u)}function Er(s,u,g,k){var N=-1,M=da,q=!0,K=s.length,ee=[],me=u.length;if(!K)return ee;g&&(u=Ft(u,Mi(g))),k?(M=Cs,q=!1):u.length>=l&&(M=yr,q=!1,u=new Nl(u));e:for(;++N<K;){var be=s[N],ye=g==null?be:g(be);if(be=k||be!==0?be:0,q&&ye===ye){for(var Re=me;Re--;)if(u[Re]===ye)continue e;ee.push(be)}else M(u,ye,k)||ee.push(be)}return ee}var il=Vu(fn),ou=Vu(Bs,!0);function Am(s,u){var g=!0;return il(s,function(k,N,M){return g=!!u(k,N,M),g}),g}function Aa(s,u,g){for(var k=-1,N=s.length;++k<N;){var M=s[k],q=u(M);if(q!=null&&(K===t?q===q&&!Ui(q):g(q,K)))var K=q,ee=M}return ee}function Em(s,u,g,k){var N=s.length;for(g=lt(g),g<0&&(g=-g>N?0:N+g),k=k===t||k>N?N:lt(k),k<0&&(k+=N),k=g>k?0:Nf(k);g<k;)s[g++]=u;return s}function uu(s,u){var g=[];return il(s,function(k,N,M){u(k,N,M)&&g.push(k)}),g}function oi(s,u,g,k,N){var M=-1,q=s.length;for(g||(g=v1),N||(N=[]);++M<q;){var K=s[M];u>0&&g(K)?u>1?oi(K,u-1,g,k,N):xn(N,K):k||(N[N.length]=K)}return N}var Us=Ou(),fu=Ou(!0);function fn(s,u){return s&&Us(s,u,ri)}function Bs(s,u){return s&&fu(s,u,ri)}function Ea(s,u){return $n(u,function(g){return Vn(s[g])})}function Tl(s,u){u=ll(u,s);for(var g=0,k=u.length;s!=null&&g<k;)s=s[dn(u[g++])];return g&&g==k?s:t}function cu(s,u,g){var k=u(s);return tt(s)?k:xn(k,g(s))}function mi(s){return s==null?s===t?Hn:Ei:yl&&yl in Lt(s)?g1(s):N1(s)}function Hs(s,u){return s>u}function Rm(s,u){return s!=null&&Ct.call(s,u)}function Dm(s,u){return s!=null&&u in Lt(s)}function Vm(s,u,g){return s>=gi(u,g)&&s<ti(u,g)}function Ws(s,u,g){for(var k=g?Cs:da,N=s[0].length,M=s.length,q=M,K=fe(M),ee=1/0,me=[];q--;){var be=s[q];q&&u&&(be=Ft(be,Mi(u))),ee=gi(be.length,ee),K[q]=!g&&(u||N>=120&&be.length>=120)?new Nl(q&&be):t}be=s[0];var ye=-1,Re=K[0];e:for(;++ye<N&&me.length<ee;){var ze=be[ye],Je=u?u(ze):ze;if(ze=g||ze!==0?ze:0,!(Re?yr(Re,Je):k(me,Je,g))){for(q=M;--q;){var at=K[q];if(!(at?yr(at,Je):k(s[q],Je,g)))continue e}Re&&Re.push(Je),me.push(ze)}}return me}function Om(s,u,g,k){return fn(s,function(N,M,q){u(k,g(N),M,q)}),k}function Rr(s,u,g){u=ll(u,s),s=$u(s,u);var k=s==null?s:s[dn(Yi(u))];return k==null?t:xt(k,s,g)}function du(s){return qt(s)&&mi(s)==W}function Mm(s){return qt(s)&&mi(s)==qi}function Fm(s){return qt(s)&&mi(s)==Fe}function Dr(s,u,g,k,N){return s===u?!0:s==null||u==null||!qt(s)&&!qt(u)?s!==s&&u!==u:Um(s,u,g,k,Dr,N)}function Um(s,u,g,k,N,M){var q=tt(s),K=tt(u),ee=q?se:hi(s),me=K?se:hi(u);ee=ee==W?Kt:ee,me=me==W?Kt:me;var be=ee==Kt,ye=me==Kt,Re=ee==me;if(Re&&al(s)){if(!al(u))return!1;q=!0,be=!1}if(Re&&!be)return M||(M=new nn),q||nr(s)?Ku(s,u,g,k,N,M):c1(s,u,ee,g,k,N,M);if(!(g&m)){var ze=be&&Ct.call(s,"__wrapped__"),Je=ye&&Ct.call(u,"__wrapped__");if(ze||Je){var at=ze?s.value():s,Ye=Je?u.value():u;return M||(M=new nn),N(at,Ye,g,k,M)}}return Re?(M||(M=new nn),d1(s,u,g,k,N,M)):!1}function Bm(s){return qt(s)&&hi(s)==vt}function zs(s,u,g,k){var N=g.length,M=N,q=!k;if(s==null)return!M;for(s=Lt(s);N--;){var K=g[N];if(q&&K[2]?K[1]!==s[K[0]]:!(K[0]in s))return!1}for(;++N<M;){K=g[N];var ee=K[0],me=s[ee],be=K[1];if(q&&K[2]){if(me===t&&!(ee in s))return!1}else{var ye=new nn;if(k)var Re=k(me,be,ee,s,u,ye);if(!(Re===t?Dr(be,me,m|v,k,ye):Re))return!1}}return!0}function gu(s){if(!Bt(s)||k1(s))return!1;var u=Vn(s)?Bp:_r;return u.test(Al(s))}function Hm(s){return qt(s)&&mi(s)==It}function Wm(s){return qt(s)&&hi(s)==Zt}function zm(s){return qt(s)&&Ya(s.length)&&!!ge[mi(s)]}function hu(s){return typeof s=="function"?s:s==null?Ti:typeof s=="object"?tt(s)?mu(s[0],s[1]):pu(s):Ff(s)}function qs(s){if(!Mr(s))return Kp(s);var u=[];for(var g in Lt(s))Ct.call(s,g)&&g!="constructor"&&u.push(g);return u}function qm(s){if(!Bt(s))return P1(s);var u=Mr(s),g=[];for(var k in s)k=="constructor"&&(u||!Ct.call(s,k))||g.push(k);return g}function Gs(s,u){return s<u}function _u(s,u){var g=-1,k=Ni(s)?fe(s.length):[];return il(s,function(N,M,q){k[++g]=u(N,M,q)}),k}function pu(s){var u=ro(s);return u.length==1&&u[0][2]?Zu(u[0][0],u[0][1]):function(g){return g===s||zs(g,s,u)}}function mu(s,u){return so(s)&&Qu(u)?Zu(dn(s),u):function(g){var k=bo(g,s);return k===t&&k===u?vo(g,s):Dr(u,k,m|v)}}function Ra(s,u,g,k,N){s!==u&&Us(u,function(M,q){if(N||(N=new nn),Bt(M))Gm(s,u,q,g,Ra,k,N);else{var K=k?k(uo(s,q),M,q+"",s,u,N):t;K===t&&(K=M),Ms(s,q,K)}},Ii)}function Gm(s,u,g,k,N,M,q){var K=uo(s,g),ee=uo(u,g),me=q.get(ee);if(me){Ms(s,g,me);return}var be=M?M(K,ee,g+"",s,u,q):t,ye=be===t;if(ye){var Re=tt(ee),ze=!Re&&al(ee),Je=!Re&&!ze&&nr(ee);be=ee,Re||ze||Je?tt(K)?be=K:Jt(K)?be=Pi(K):ze?(ye=!1,be=Lu(ee,!0)):Je?(ye=!1,be=Au(ee,!0)):be=[]:Ur(ee)||El(ee)?(be=K,El(K)?be=If(K):(!Bt(K)||Vn(K))&&(be=Yu(ee))):ye=!1}ye&&(q.set(ee,be),N(be,ee,k,M,q),q.delete(ee)),Ms(s,g,be)}function bu(s,u){var g=s.length;if(g)return u+=u<0?g:0,Dn(u,g)?s[u]:t}function vu(s,u,g){u.length?u=Ft(u,function(M){return tt(M)?function(q){return Tl(q,M.length===1?M[0]:M)}:M}):u=[Ti];var k=-1;u=Ft(u,Mi(je()));var N=_u(s,function(M,q,K){var ee=Ft(u,function(me){return me(M)});return{criteria:ee,index:++k,value:M}});return mp(N,function(M,q){return n1(M,q,g)})}function Km(s,u){return wu(s,u,function(g,k){return vo(s,k)})}function wu(s,u,g){for(var k=-1,N=u.length,M={};++k<N;){var q=u[k],K=Tl(s,q);g(K,q)&&Vr(M,ll(q,s),K)}return M}function jm(s){return function(u){return Tl(u,s)}}function Ks(s,u,g,k){var N=k?pp:jl,M=-1,q=u.length,K=s;for(s===u&&(u=Pi(u)),g&&(K=Ft(s,Mi(g)));++M<q;)for(var ee=0,me=u[M],be=g?g(me):me;(ee=N(K,be,ee,k))>-1;)K!==s&&Sa.call(K,ee,1),Sa.call(s,ee,1);return s}function ku(s,u){for(var g=s?u.length:0,k=g-1;g--;){var N=u[g];if(g==k||N!==M){var M=N;Dn(N)?Sa.call(s,N,1):Qs(s,N)}}return s}function js(s,u){return s+Pa(tu()*(u-s+1))}function Jm(s,u,g,k){for(var N=-1,M=ti(ya((u-s)/(g||1)),0),q=fe(M);M--;)q[k?M:++N]=s,s+=g;return q}function Js(s,u){var g="";if(!s||u<1||u>_e)return g;do u%2&&(g+=s),u=Pa(u/2),u&&(s+=s);while(u);return g}function st(s,u){return fo(Xu(s,u,Ti),s+"")}function Ym(s){return lu(lr(s))}function Qm(s,u){var g=lr(s);return za(g,Il(u,0,g.length))}function Vr(s,u,g,k){if(!Bt(s))return s;u=ll(u,s);for(var N=-1,M=u.length,q=M-1,K=s;K!=null&&++N<M;){var ee=dn(u[N]),me=g;if(ee==="__proto__"||ee==="constructor"||ee==="prototype")return s;if(N!=q){var be=K[ee];me=k?k(be,ee,K):t,me===t&&(me=Bt(be)?be:Dn(u[N+1])?[]:{})}Ar(K,ee,me),K=K[ee]}return s}var Su=Na?function(s,u){return Na.set(s,u),s}:Ti,Zm=Ca?function(s,u){return Ca(s,"toString",{configurable:!0,enumerable:!1,value:ko(u),writable:!0})}:Ti;function Xm(s){return za(lr(s))}function Ji(s,u,g){var k=-1,N=s.length;u<0&&(u=-u>N?0:N+u),g=g>N?N:g,g<0&&(g+=N),N=u>g?0:g-u>>>0,u>>>=0;for(var M=fe(N);++k<N;)M[k]=s[k+u];return M}function $m(s,u){var g;return il(s,function(k,N,M){return g=u(k,N,M),!g}),!!g}function Da(s,u,g){var k=0,N=s==null?k:s.length;if(typeof u=="number"&&u===u&&N<=Ee){for(;k<N;){var M=k+N>>>1,q=s[M];q!==null&&!Ui(q)&&(g?q<=u:q<u)?k=M+1:N=M}return N}return Ys(s,u,Ti,g)}function Ys(s,u,g,k){var N=0,M=s==null?0:s.length;if(M===0)return 0;u=g(u);for(var q=u!==u,K=u===null,ee=Ui(u),me=u===t;N<M;){var be=Pa((N+M)/2),ye=g(s[be]),Re=ye!==t,ze=ye===null,Je=ye===ye,at=Ui(ye);if(q)var Ye=k||Je;else me?Ye=Je&&(k||Re):K?Ye=Je&&Re&&(k||!ze):ee?Ye=Je&&Re&&!ze&&(k||!at):ze||at?Ye=!1:Ye=k?ye<=u:ye<u;Ye?N=be+1:M=be}return gi(M,re)}function Cu(s,u){for(var g=-1,k=s.length,N=0,M=[];++g<k;){var q=s[g],K=u?u(q):q;if(!g||!ln(K,ee)){var ee=K;M[N++]=q===0?0:q}}return M}function yu(s){return typeof s=="number"?s:Ui(s)?oe:+s}function Fi(s){if(typeof s=="string")return s;if(tt(s))return Ft(s,Fi)+"";if(Ui(s))return iu?iu.call(s):"";var u=s+"";return u=="0"&&1/s==-X?"-0":u}function nl(s,u,g){var k=-1,N=da,M=s.length,q=!0,K=[],ee=K;if(g)q=!1,N=Cs;else if(M>=l){var me=u?null:u1(s);if(me)return ha(me);q=!1,N=yr,ee=new Nl}else ee=u?[]:K;e:for(;++k<M;){var be=s[k],ye=u?u(be):be;if(be=g||be!==0?be:0,q&&ye===ye){for(var Re=ee.length;Re--;)if(ee[Re]===ye)continue e;u&&ee.push(ye),K.push(be)}else N(ee,ye,g)||(ee!==K&&ee.push(ye),K.push(be))}return K}function Qs(s,u){return u=ll(u,s),s=$u(s,u),s==null||delete s[dn(Yi(u))]}function Pu(s,u,g,k){return Vr(s,u,g(Tl(s,u)),k)}function Va(s,u,g,k){for(var N=s.length,M=k?N:-1;(k?M--:++M<N)&&u(s[M],M,s););return g?Ji(s,k?0:M,k?M+1:N):Ji(s,k?M+1:0,k?N:M)}function Nu(s,u){var g=s;return g instanceof ct&&(g=g.value()),ys(u,function(k,N){return N.func.apply(N.thisArg,xn([k],N.args))},g)}function Zs(s,u,g){var k=s.length;if(k<2)return k?nl(s[0]):[];for(var N=-1,M=fe(k);++N<k;)for(var q=s[N],K=-1;++K<k;)K!=N&&(M[N]=Er(M[N]||q,s[K],u,g));return nl(oi(M,1),u,g)}function Iu(s,u,g){for(var k=-1,N=s.length,M=u.length,q={};++k<N;){var K=k<M?u[k]:t;g(q,s[k],K)}return q}function Xs(s){return Jt(s)?s:[]}function $s(s){return typeof s=="function"?s:Ti}function ll(s,u){return tt(s)?s:so(s,u)?[s]:nf(kt(s))}var xm=st;function rl(s,u,g){var k=s.length;return g=g===t?k:g,!u&&g>=k?s:Ji(s,u,g)}var Tu=Hp||function(s){return $e.clearTimeout(s)};function Lu(s,u){if(u)return s.slice();var g=s.length,k=Zo?Zo(g):new s.constructor(g);return s.copy(k),k}function xs(s){var u=new s.constructor(s.byteLength);return new wa(u).set(new wa(s)),u}function e1(s,u){var g=u?xs(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.byteLength)}function t1(s){var u=new s.constructor(s.source,Gn.exec(s));return u.lastIndex=s.lastIndex,u}function i1(s){return Lr?Lt(Lr.call(s)):{}}function Au(s,u){var g=u?xs(s.buffer):s.buffer;return new s.constructor(g,s.byteOffset,s.length)}function Eu(s,u){if(s!==u){var g=s!==t,k=s===null,N=s===s,M=Ui(s),q=u!==t,K=u===null,ee=u===u,me=Ui(u);if(!K&&!me&&!M&&s>u||M&&q&&ee&&!K&&!me||k&&q&&ee||!g&&ee||!N)return 1;if(!k&&!M&&!me&&s<u||me&&g&&N&&!k&&!M||K&&g&&N||!q&&N||!ee)return-1}return 0}function n1(s,u,g){for(var k=-1,N=s.criteria,M=u.criteria,q=N.length,K=g.length;++k<q;){var ee=Eu(N[k],M[k]);if(ee){if(k>=K)return ee;var me=g[k];return ee*(me=="desc"?-1:1)}}return s.index-u.index}function Ru(s,u,g,k){for(var N=-1,M=s.length,q=g.length,K=-1,ee=u.length,me=ti(M-q,0),be=fe(ee+me),ye=!k;++K<ee;)be[K]=u[K];for(;++N<q;)(ye||N<M)&&(be[g[N]]=s[N]);for(;me--;)be[K++]=s[N++];return be}function Du(s,u,g,k){for(var N=-1,M=s.length,q=-1,K=g.length,ee=-1,me=u.length,be=ti(M-K,0),ye=fe(be+me),Re=!k;++N<be;)ye[N]=s[N];for(var ze=N;++ee<me;)ye[ze+ee]=u[ee];for(;++q<K;)(Re||N<M)&&(ye[ze+g[q]]=s[N++]);return ye}function Pi(s,u){var g=-1,k=s.length;for(u||(u=fe(k));++g<k;)u[g]=s[g];return u}function cn(s,u,g,k){var N=!g;g||(g={});for(var M=-1,q=u.length;++M<q;){var K=u[M],ee=k?k(g[K],s[K],K,g,s):t;ee===t&&(ee=s[K]),N?An(g,K,ee):Ar(g,K,ee)}return g}function l1(s,u){return cn(s,ao(s),u)}function r1(s,u){return cn(s,ju(s),u)}function Oa(s,u){return function(g,k){var N=tt(g)?di:Im,M=u?u():{};return N(g,s,je(k,2),M)}}function er(s){return st(function(u,g){var k=-1,N=g.length,M=N>1?g[N-1]:t,q=N>2?g[2]:t;for(M=s.length>3&&typeof M=="function"?(N--,M):t,q&&bi(g[0],g[1],q)&&(M=N<3?t:M,N=1),u=Lt(u);++k<N;){var K=g[k];K&&s(u,K,k,M)}return u})}function Vu(s,u){return function(g,k){if(g==null)return g;if(!Ni(g))return s(g,k);for(var N=g.length,M=u?N:-1,q=Lt(g);(u?M--:++M<N)&&k(q[M],M,q)!==!1;);return g}}function Ou(s){return function(u,g,k){for(var N=-1,M=Lt(u),q=k(u),K=q.length;K--;){var ee=q[s?K:++N];if(g(M[ee],ee,M)===!1)break}return u}}function a1(s,u,g){var k=u&C,N=Or(s);function M(){var q=this&&this!==$e&&this instanceof M?N:s;return q.apply(k?g:this,arguments)}return M}function Mu(s){return function(u){u=kt(u);var g=Jl(u)?tn(u):t,k=g?g[0]:u.charAt(0),N=g?rl(g,1).join(""):u.slice(1);return k[s]()+N}}function tr(s){return function(u){return ys(Of(Vf(u).replace(vs,"")),s,"")}}function Or(s){return function(){var u=arguments;switch(u.length){case 0:return new s;case 1:return new s(u[0]);case 2:return new s(u[0],u[1]);case 3:return new s(u[0],u[1],u[2]);case 4:return new s(u[0],u[1],u[2],u[3]);case 5:return new s(u[0],u[1],u[2],u[3],u[4]);case 6:return new s(u[0],u[1],u[2],u[3],u[4],u[5]);case 7:return new s(u[0],u[1],u[2],u[3],u[4],u[5],u[6])}var g=xl(s.prototype),k=s.apply(g,u);return Bt(k)?k:g}}function s1(s,u,g){var k=Or(s);function N(){for(var M=arguments.length,q=fe(M),K=M,ee=ir(N);K--;)q[K]=arguments[K];var me=M<3&&q[0]!==ee&&q[M-1]!==ee?[]:el(q,ee);if(M-=me.length,M<g)return Wu(s,u,Ma,N.placeholder,t,q,me,t,t,g-M);var be=this&&this!==$e&&this instanceof N?k:s;return xt(be,this,q)}return N}function Fu(s){return function(u,g,k){var N=Lt(u);if(!Ni(u)){var M=je(g,3);u=ri(u),g=function(K){return M(N[K],K,N)}}var q=s(u,g,k);return q>-1?N[M?u[q]:q]:t}}function Uu(s){return Rn(function(u){var g=u.length,k=g,N=Ki.prototype.thru;for(s&&u.reverse();k--;){var M=u[k];if(typeof M!="function")throw new Gi(a);if(N&&!q&&Ha(M)=="wrapper")var q=new Ki([],!0)}for(k=q?k:g;++k<g;){M=u[k];var K=Ha(M),ee=K=="wrapper"?lo(M):t;ee&&oo(ee[0])&&ee[1]==(U|A|V|F)&&!ee[4].length&&ee[9]==1?q=q[Ha(ee[0])].apply(q,ee[3]):q=M.length==1&&oo(M)?q[K]():q.thru(M)}return function(){var me=arguments,be=me[0];if(q&&me.length==1&&tt(be))return q.plant(be).value();for(var ye=0,Re=g?u[ye].apply(this,me):be;++ye<g;)Re=u[ye].call(this,Re);return Re}})}function Ma(s,u,g,k,N,M,q,K,ee,me){var be=u&U,ye=u&C,Re=u&y,ze=u&(A|T),Je=u&D,at=Re?t:Or(s);function Ye(){for(var ut=arguments.length,gt=fe(ut),Bi=ut;Bi--;)gt[Bi]=arguments[Bi];if(ze)var vi=ir(Ye),Hi=vp(gt,vi);if(k&&(gt=Ru(gt,k,N,ze)),M&&(gt=Du(gt,M,q,ze)),ut-=Hi,ze&&ut<me){var Yt=el(gt,vi);return Wu(s,u,Ma,Ye.placeholder,g,gt,Yt,K,ee,me-ut)}var rn=ye?g:this,Mn=Re?rn[s]:s;return ut=gt.length,K?gt=I1(gt,K):Je&&ut>1&>.reverse(),be&&ee<ut&&(gt.length=ee),this&&this!==$e&&this instanceof Ye&&(Mn=at||Or(Mn)),Mn.apply(rn,gt)}return Ye}function Bu(s,u){return function(g,k){return Om(g,s,u(k),{})}}function Fa(s,u){return function(g,k){var N;if(g===t&&k===t)return u;if(g!==t&&(N=g),k!==t){if(N===t)return k;typeof g=="string"||typeof k=="string"?(g=Fi(g),k=Fi(k)):(g=yu(g),k=yu(k)),N=s(g,k)}return N}}function eo(s){return Rn(function(u){return u=Ft(u,Mi(je())),st(function(g){var k=this;return s(u,function(N){return xt(N,k,g)})})})}function Ua(s,u){u=u===t?" ":Fi(u);var g=u.length;if(g<2)return g?Js(u,s):u;var k=Js(u,ya(s/Yl(u)));return Jl(u)?rl(tn(k),0,s).join(""):k.slice(0,s)}function o1(s,u,g,k){var N=u&C,M=Or(s);function q(){for(var K=-1,ee=arguments.length,me=-1,be=k.length,ye=fe(be+ee),Re=this&&this!==$e&&this instanceof q?M:s;++me<be;)ye[me]=k[me];for(;ee--;)ye[me++]=arguments[++K];return xt(Re,N?g:this,ye)}return q}function Hu(s){return function(u,g,k){return k&&typeof k!="number"&&bi(u,g,k)&&(g=k=t),u=On(u),g===t?(g=u,u=0):g=On(g),k=k===t?u<g?1:-1:On(k),Jm(u,g,k,s)}}function Ba(s){return function(u,g){return typeof u=="string"&&typeof g=="string"||(u=Qi(u),g=Qi(g)),s(u,g)}}function Wu(s,u,g,k,N,M,q,K,ee,me){var be=u&A,ye=be?q:t,Re=be?t:q,ze=be?M:t,Je=be?t:M;u|=be?V:E,u&=~(be?E:V),u&P||(u&=~(C|y));var at=[s,u,N,ze,ye,Je,Re,K,ee,me],Ye=g.apply(t,at);return oo(s)&&xu(Ye,at),Ye.placeholder=k,ef(Ye,s,u)}function to(s){var u=ei[s];return function(g,k){if(g=Qi(g),k=k==null?0:gi(lt(k),292),k&&eu(g)){var N=(kt(g)+"e").split("e"),M=u(N[0]+"e"+(+N[1]+k));return N=(kt(M)+"e").split("e"),+(N[0]+"e"+(+N[1]-k))}return u(g)}}var u1=Xl&&1/ha(new Xl([,-0]))[1]==X?function(s){return new Xl(s)}:yo;function zu(s){return function(u){var g=hi(u);return g==vt?Es(u):g==Zt?Np(u):bp(u,s(u))}}function En(s,u,g,k,N,M,q,K){var ee=u&y;if(!ee&&typeof s!="function")throw new Gi(a);var me=k?k.length:0;if(me||(u&=~(V|E),k=N=t),q=q===t?q:ti(lt(q),0),K=K===t?K:lt(K),me-=N?N.length:0,u&E){var be=k,ye=N;k=N=t}var Re=ee?t:lo(s),ze=[s,u,g,k,N,be,ye,M,q,K];if(Re&&y1(ze,Re),s=ze[0],u=ze[1],g=ze[2],k=ze[3],N=ze[4],K=ze[9]=ze[9]===t?ee?0:s.length:ti(ze[9]-me,0),!K&&u&(A|T)&&(u&=~(A|T)),!u||u==C)var Je=a1(s,u,g);else u==A||u==T?Je=s1(s,u,K):(u==V||u==(C|V))&&!N.length?Je=o1(s,u,g,k):Je=Ma.apply(t,ze);var at=Re?Su:xu;return ef(at(Je,ze),s,u)}function qu(s,u,g,k){return s===t||ln(s,Zl[g])&&!Ct.call(k,g)?u:s}function Gu(s,u,g,k,N,M){return Bt(s)&&Bt(u)&&(M.set(u,s),Ra(s,u,t,Gu,M),M.delete(u)),s}function f1(s){return Ur(s)?t:s}function Ku(s,u,g,k,N,M){var q=g&m,K=s.length,ee=u.length;if(K!=ee&&!(q&&ee>K))return!1;var me=M.get(s),be=M.get(u);if(me&&be)return me==u&&be==s;var ye=-1,Re=!0,ze=g&v?new Nl:t;for(M.set(s,u),M.set(u,s);++ye<K;){var Je=s[ye],at=u[ye];if(k)var Ye=q?k(at,Je,ye,u,s,M):k(Je,at,ye,s,u,M);if(Ye!==t){if(Ye)continue;Re=!1;break}if(ze){if(!Ps(u,function(ut,gt){if(!yr(ze,gt)&&(Je===ut||N(Je,ut,g,k,M)))return ze.push(gt)})){Re=!1;break}}else if(!(Je===at||N(Je,at,g,k,M))){Re=!1;break}}return M.delete(s),M.delete(u),Re}function c1(s,u,g,k,N,M,q){switch(g){case zt:if(s.byteLength!=u.byteLength||s.byteOffset!=u.byteOffset)return!1;s=s.buffer,u=u.buffer;case qi:return!(s.byteLength!=u.byteLength||!M(new wa(s),new wa(u)));case nt:case Fe:case Dt:return ln(+s,+u);case Ge:return s.name==u.name&&s.message==u.message;case It:case Ri:return s==u+"";case vt:var K=Es;case Zt:var ee=k&m;if(K||(K=ha),s.size!=u.size&&!ee)return!1;var me=q.get(s);if(me)return me==u;k|=v,q.set(s,u);var be=Ku(K(s),K(u),k,N,M,q);return q.delete(s),be;case xi:if(Lr)return Lr.call(s)==Lr.call(u)}return!1}function d1(s,u,g,k,N,M){var q=g&m,K=io(s),ee=K.length,me=io(u),be=me.length;if(ee!=be&&!q)return!1;for(var ye=ee;ye--;){var Re=K[ye];if(!(q?Re in u:Ct.call(u,Re)))return!1}var ze=M.get(s),Je=M.get(u);if(ze&&Je)return ze==u&&Je==s;var at=!0;M.set(s,u),M.set(u,s);for(var Ye=q;++ye<ee;){Re=K[ye];var ut=s[Re],gt=u[Re];if(k)var Bi=q?k(gt,ut,Re,u,s,M):k(ut,gt,Re,s,u,M);if(!(Bi===t?ut===gt||N(ut,gt,g,k,M):Bi)){at=!1;break}Ye||(Ye=Re=="constructor")}if(at&&!Ye){var vi=s.constructor,Hi=u.constructor;vi!=Hi&&"constructor"in s&&"constructor"in u&&!(typeof vi=="function"&&vi instanceof vi&&typeof Hi=="function"&&Hi instanceof Hi)&&(at=!1)}return M.delete(s),M.delete(u),at}function Rn(s){return fo(Xu(s,t,sf),s+"")}function io(s){return cu(s,ri,ao)}function no(s){return cu(s,Ii,ju)}var lo=Na?function(s){return Na.get(s)}:yo;function Ha(s){for(var u=s.name+"",g=$l[u],k=Ct.call($l,u)?g.length:0;k--;){var N=g[k],M=N.func;if(M==null||M==s)return N.name}return u}function ir(s){var u=Ct.call(O,"placeholder")?O:s;return u.placeholder}function je(){var s=O.iteratee||So;return s=s===So?hu:s,arguments.length?s(arguments[0],arguments[1]):s}function Wa(s,u){var g=s.__data__;return w1(u)?g[typeof u=="string"?"string":"hash"]:g.map}function ro(s){for(var u=ri(s),g=u.length;g--;){var k=u[g],N=s[k];u[g]=[k,N,Qu(N)]}return u}function Ll(s,u){var g=Cp(s,u);return gu(g)?g:t}function g1(s){var u=Ct.call(s,yl),g=s[yl];try{s[yl]=t;var k=!0}catch{}var N=ba.call(s);return k&&(u?s[yl]=g:delete s[yl]),N}var ao=Ds?function(s){return s==null?[]:(s=Lt(s),$n(Ds(s),function(u){return $o.call(s,u)}))}:Po,ju=Ds?function(s){for(var u=[];s;)xn(u,ao(s)),s=ka(s);return u}:Po,hi=mi;(Vs&&hi(new Vs(new ArrayBuffer(1)))!=zt||Nr&&hi(new Nr)!=vt||Os&&hi(Os.resolve())!=jt||Xl&&hi(new Xl)!=Zt||Ir&&hi(new Ir)!=ni)&&(hi=function(s){var u=mi(s),g=u==Kt?s.constructor:t,k=g?Al(g):"";if(k)switch(k){case Qp:return zt;case Zp:return vt;case Xp:return jt;case $p:return Zt;case xp:return ni}return u});function h1(s,u,g){for(var k=-1,N=g.length;++k<N;){var M=g[k],q=M.size;switch(M.type){case"drop":s+=q;break;case"dropRight":u-=q;break;case"take":u=gi(u,s+q);break;case"takeRight":s=ti(s,u-q);break}}return{start:s,end:u}}function _1(s){var u=s.match(qn);return u?u[1].split(Ml):[]}function Ju(s,u,g){u=ll(u,s);for(var k=-1,N=u.length,M=!1;++k<N;){var q=dn(u[k]);if(!(M=s!=null&&g(s,q)))break;s=s[q]}return M||++k!=N?M:(N=s==null?0:s.length,!!N&&Ya(N)&&Dn(q,N)&&(tt(s)||El(s)))}function p1(s){var u=s.length,g=new s.constructor(u);return u&&typeof s[0]=="string"&&Ct.call(s,"index")&&(g.index=s.index,g.input=s.input),g}function Yu(s){return typeof s.constructor=="function"&&!Mr(s)?xl(ka(s)):{}}function m1(s,u,g){var k=s.constructor;switch(u){case qi:return xs(s);case nt:case Fe:return new k(+s);case zt:return e1(s,g);case ki:case vn:case wn:case fi:case kn:case Sn:case Cn:case yn:case Pn:return Au(s,g);case vt:return new k;case Dt:case Ri:return new k(s);case It:return t1(s);case Zt:return new k;case xi:return i1(s)}}function b1(s,u){var g=u.length;if(!g)return s;var k=g-1;return u[k]=(g>1?"& ":"")+u[k],u=u.join(g>2?", ":" "),s.replace(bl,`{
|
|
34
34
|
/* [wrapped with `+u+`] */
|
|
35
|
-
`)}function v1(s){return tt(s)||El(s)||!!(xo&&s&&s[xo])}function Dn(s,u){var g=typeof s;return u=u??_e,!!u&&(g=="number"||g!="symbol"&&wl.test(s))&&s>-1&&s%1==0&&s<u}function mi(s,u,g){if(!Bt(g))return!1;var k=typeof u;return(k=="number"?Pi(g)&&Dn(u,g.length):k=="string"&&u in g)?ln(g[u],s):!1}function so(s,u){if(tt(s))return!1;var g=typeof s;return g=="number"||g=="symbol"||g=="boolean"||s==null||Ui(s)?!0:dt.test(s)||!et.test(s)||u!=null&&s in Lt(u)}function w1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function oo(s){var u=Ha(s),g=O[u];if(typeof g!="function"||!(u in ct.prototype))return!1;if(s===g)return!0;var k=lo(g);return!!k&&s===k[0]}function k1(s){return!!Qo&&Qo in s}var S1=pa?Vn:No;function Mr(s){var u=s&&s.constructor,g=typeof u=="function"&&u.prototype||Zl;return s===g}function Qu(s){return s===s&&!Bt(s)}function Zu(s,u){return function(g){return g==null?!1:g[s]===u&&(u!==t||s in Lt(g))}}function C1(s){var u=ja(s,function(k){return g.size===_&&g.clear(),k}),g=u.cache;return u}function y1(s,u){var g=s[1],k=u[1],N=g|k,M=N<(C|y|F),q=k==F&&g==I||k==F&&g==U&&s[7].length<=u[8]||k==(F|U)&&u[7].length<=u[8]&&g==I;if(!(M||q))return s;k&C&&(s[2]=u[2],N|=g&C?0:P);var K=u[3];if(K){var ee=s[3];s[3]=ee?Ru(ee,K,u[4]):K,s[4]=ee?el(s[3],d):u[4]}return K=u[5],K&&(ee=s[5],s[5]=ee?Du(ee,K,u[6]):K,s[6]=ee?el(s[5],d):u[6]),K=u[7],K&&(s[7]=K),k&F&&(s[8]=s[8]==null?u[8]:di(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function P1(s){var u=[];if(s!=null)for(var g in Lt(s))u.push(g);return u}function N1(s){return ba.call(s)}function Xu(s,u,g){return u=ei(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,M=ei(k.length-u,0),q=fe(M);++N<M;)q[N]=k[u+N];N=-1;for(var K=fe(u+1);++N<u;)K[N]=k[N];return K[u]=g(q),$t(s,this,K)}}function $u(s,u){return u.length<2?s:Tl(s,Ji(u,0,-1))}function I1(s,u){for(var g=s.length,k=di(u.length,g),N=yi(s);k--;){var M=u[k];s[k]=Dn(M,g)?N[M]:t}return s}function uo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var xu=tf(Su),Fr=zp||function(s,u){return $e.setTimeout(s,u)},fo=tf(Zm);function ef(s,u,g){var k=u+"";return fo(s,b1(k,T1(_1(k),g)))}function tf(s){var u=0,g=0;return function(){var k=jp(),N=de-(k-g);if(g=k,N>0){if(++u>=Z)return arguments[0]}else u=0;return s.apply(t,arguments)}}function za(s,u){var g=-1,k=s.length,N=k-1;for(u=u===t?k:u;++g<u;){var M=js(g,N),q=s[M];s[M]=s[g],s[g]=q}return s.length=u,s}var nf=C1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(St,function(g,k,N,M){u.push(N?M.replace(hr,"$1"):k||g)}),u});function dn(s){if(typeof s=="string"||Ui(s))return s;var u=s+"";return u=="0"&&1/s==-X?"-0":u}function Al(s){if(s!=null){try{return ma.call(s)}catch{}try{return s+""}catch{}}return""}function T1(s,u){return Ut(We,function(g){var k="_."+g[0];u&g[1]&&!da(s,k)&&s.push(k)}),s.sort()}function lf(s){if(s instanceof ct)return s.clone();var u=new Ki(s.__wrapped__,s.__chain__);return u.__actions__=yi(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function L1(s,u,g){(g?mi(s,u,g):u===t)?u=1:u=ei(lt(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,M=0,q=fe(ya(k/u));N<k;)q[M++]=Ji(s,N,N+=u);return q}function A1(s){for(var u=-1,g=s==null?0:s.length,k=0,N=[];++u<g;){var M=s[u];M&&(N[k++]=M)}return N}function E1(){var s=arguments.length;if(!s)return[];for(var u=fe(s-1),g=arguments[0],k=s;k--;)u[k-1]=arguments[k];return xn(tt(g)?yi(g):[g],si(u,1))}var R1=st(function(s,u){return jt(s)?Er(s,si(u,1,jt,!0)):[]}),D1=st(function(s,u){var g=Yi(u);return jt(g)&&(g=t),jt(s)?Er(s,si(u,1,jt,!0),je(g,2)):[]}),V1=st(function(s,u){var g=Yi(u);return jt(g)&&(g=t),jt(s)?Er(s,si(u,1,jt,!0),t,g):[]});function O1(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:lt(u),Ji(s,u<0?0:u,k)):[]}function M1(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:lt(u),u=k-u,Ji(s,0,u<0?0:u)):[]}function F1(s,u){return s&&s.length?Va(s,je(u,3),!0,!0):[]}function U1(s,u){return s&&s.length?Va(s,je(u,3),!0):[]}function B1(s,u,g,k){var N=s==null?0:s.length;return N?(g&&typeof g!="number"&&mi(s,u,g)&&(g=0,k=N),Em(s,u,g,k)):[]}function rf(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var N=g==null?0:lt(g);return N<0&&(N=ei(k+N,0)),ga(s,je(u,3),N)}function af(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return g!==t&&(N=lt(g),N=g<0?ei(k+N,0):di(N,k-1)),ga(s,je(u,3),N,!0)}function sf(s){var u=s==null?0:s.length;return u?si(s,1):[]}function H1(s){var u=s==null?0:s.length;return u?si(s,X):[]}function W1(s,u){var g=s==null?0:s.length;return g?(u=u===t?1:lt(u),si(s,u)):[]}function z1(s){for(var u=-1,g=s==null?0:s.length,k={};++u<g;){var N=s[u];k[N[0]]=N[1]}return k}function of(s){return s&&s.length?s[0]:t}function q1(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var N=g==null?0:lt(g);return N<0&&(N=ei(k+N,0)),jl(s,u,N)}function G1(s){var u=s==null?0:s.length;return u?Ji(s,0,-1):[]}var K1=st(function(s){var u=Ft(s,Xs);return u.length&&u[0]===s[0]?Ws(u):[]}),j1=st(function(s){var u=Yi(s),g=Ft(s,Xs);return u===Yi(g)?u=t:g.pop(),g.length&&g[0]===s[0]?Ws(g,je(u,2)):[]}),J1=st(function(s){var u=Yi(s),g=Ft(s,Xs);return u=typeof u=="function"?u:t,u&&g.pop(),g.length&&g[0]===s[0]?Ws(g,t,u):[]});function Y1(s,u){return s==null?"":Gp.call(s,u)}function Yi(s){var u=s==null?0:s.length;return u?s[u-1]:t}function Q1(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var N=k;return g!==t&&(N=lt(g),N=N<0?ei(k+N,0):di(N,k-1)),u===u?Tp(s,u,N):ga(s,Wo,N,!0)}function Z1(s,u){return s&&s.length?bu(s,lt(u)):t}var X1=st(uf);function uf(s,u){return s&&s.length&&u&&u.length?Ks(s,u):s}function $1(s,u,g){return s&&s.length&&u&&u.length?Ks(s,u,je(g,2)):s}function x1(s,u,g){return s&&s.length&&u&&u.length?Ks(s,u,t,g):s}var eb=Rn(function(s,u){var g=s==null?0:s.length,k=Fs(s,u);return ku(s,Ft(u,function(N){return Dn(N,g)?+N:N}).sort(Eu)),k});function tb(s,u){var g=[];if(!(s&&s.length))return g;var k=-1,N=[],M=s.length;for(u=je(u,3);++k<M;){var q=s[k];u(q,k,s)&&(g.push(q),N.push(k))}return ku(s,N),g}function co(s){return s==null?s:Yp.call(s)}function ib(s,u,g){var k=s==null?0:s.length;return k?(g&&typeof g!="number"&&mi(s,u,g)?(u=0,g=k):(u=u==null?0:lt(u),g=g===t?k:lt(g)),Ji(s,u,g)):[]}function nb(s,u){return Da(s,u)}function lb(s,u,g){return Ys(s,u,je(g,2))}function rb(s,u){var g=s==null?0:s.length;if(g){var k=Da(s,u);if(k<g&&ln(s[k],u))return k}return-1}function ab(s,u){return Da(s,u,!0)}function sb(s,u,g){return Ys(s,u,je(g,2),!0)}function ob(s,u){var g=s==null?0:s.length;if(g){var k=Da(s,u,!0)-1;if(ln(s[k],u))return k}return-1}function ub(s){return s&&s.length?Cu(s):[]}function fb(s,u){return s&&s.length?Cu(s,je(u,2)):[]}function cb(s){var u=s==null?0:s.length;return u?Ji(s,1,u):[]}function db(s,u,g){return s&&s.length?(u=g||u===t?1:lt(u),Ji(s,0,u<0?0:u)):[]}function gb(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:lt(u),u=k-u,Ji(s,u<0?0:u,k)):[]}function hb(s,u){return s&&s.length?Va(s,je(u,3),!1,!0):[]}function _b(s,u){return s&&s.length?Va(s,je(u,3)):[]}var pb=st(function(s){return nl(si(s,1,jt,!0))}),mb=st(function(s){var u=Yi(s);return jt(u)&&(u=t),nl(si(s,1,jt,!0),je(u,2))}),bb=st(function(s){var u=Yi(s);return u=typeof u=="function"?u:t,nl(si(s,1,jt,!0),t,u)});function vb(s){return s&&s.length?nl(s):[]}function wb(s,u){return s&&s.length?nl(s,je(u,2)):[]}function kb(s,u){return u=typeof u=="function"?u:t,s&&s.length?nl(s,t,u):[]}function go(s){if(!(s&&s.length))return[];var u=0;return s=$n(s,function(g){if(jt(g))return u=ei(g.length,u),!0}),Ls(u,function(g){return Ft(s,Ns(g))})}function ff(s,u){if(!(s&&s.length))return[];var g=go(s);return u==null?g:Ft(g,function(k){return $t(u,t,k)})}var Sb=st(function(s,u){return jt(s)?Er(s,u):[]}),Cb=st(function(s){return Zs($n(s,jt))}),yb=st(function(s){var u=Yi(s);return jt(u)&&(u=t),Zs($n(s,jt),je(u,2))}),Pb=st(function(s){var u=Yi(s);return u=typeof u=="function"?u:t,Zs($n(s,jt),t,u)}),Nb=st(go);function Ib(s,u){return Iu(s||[],u||[],Ar)}function Tb(s,u){return Iu(s||[],u||[],Vr)}var Lb=st(function(s){var u=s.length,g=u>1?s[u-1]:t;return g=typeof g=="function"?(s.pop(),g):t,ff(s,g)});function cf(s){var u=O(s);return u.__chain__=!0,u}function Ab(s,u){return u(s),s}function qa(s,u){return u(s)}var Eb=Rn(function(s){var u=s.length,g=u?s[0]:0,k=this.__wrapped__,N=function(M){return Fs(M,s)};return u>1||this.__actions__.length||!(k instanceof ct)||!Dn(g)?this.thru(N):(k=k.slice(g,+g+(u?1:0)),k.__actions__.push({func:qa,args:[N],thisArg:t}),new Ki(k,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function Rb(){return cf(this)}function Db(){return new Ki(this.value(),this.__chain__)}function Vb(){this.__values__===t&&(this.__values__=Pf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Ob(){return this}function Mb(s){for(var u,g=this;g instanceof Ta;){var k=lf(g);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;g=g.__wrapped__}return N.__wrapped__=s,u}function Fb(){var s=this.__wrapped__;if(s instanceof ct){var u=s;return this.__actions__.length&&(u=new ct(this)),u=u.reverse(),u.__actions__.push({func:qa,args:[co],thisArg:t}),new Ki(u,this.__chain__)}return this.thru(co)}function Ub(){return Nu(this.__wrapped__,this.__actions__)}var Bb=Oa(function(s,u,g){Ct.call(s,g)?++s[g]:An(s,g,1)});function Hb(s,u,g){var k=tt(s)?Bo:Am;return g&&mi(s,u,g)&&(u=t),k(s,je(u,3))}function Wb(s,u){var g=tt(s)?$n:uu;return g(s,je(u,3))}var zb=Fu(rf),qb=Fu(af);function Gb(s,u){return si(Ga(s,u),1)}function Kb(s,u){return si(Ga(s,u),X)}function jb(s,u,g){return g=g===t?1:lt(g),si(Ga(s,u),g)}function df(s,u){var g=tt(s)?Ut:il;return g(s,je(u,3))}function gf(s,u){var g=tt(s)?Ss:ou;return g(s,je(u,3))}var Jb=Oa(function(s,u,g){Ct.call(s,g)?s[g].push(u):An(s,g,[u])});function Yb(s,u,g,k){s=Pi(s)?s:lr(s),g=g&&!k?lt(g):0;var N=s.length;return g<0&&(g=ei(N+g,0)),Qa(s)?g<=N&&s.indexOf(u,g)>-1:!!N&&jl(s,u,g)>-1}var Qb=st(function(s,u,g){var k=-1,N=typeof u=="function",M=Pi(s)?fe(s.length):[];return il(s,function(q){M[++k]=N?$t(u,q,g):Rr(q,u,g)}),M}),Zb=Oa(function(s,u,g){An(s,g,u)});function Ga(s,u){var g=tt(s)?Ft:_u;return g(s,je(u,3))}function Xb(s,u,g,k){return s==null?[]:(tt(u)||(u=u==null?[]:[u]),g=k?t:g,tt(g)||(g=g==null?[]:[g]),vu(s,u,g))}var $b=Oa(function(s,u,g){s[g?0:1].push(u)},function(){return[[],[]]});function xb(s,u,g){var k=tt(s)?ys:qo,N=arguments.length<3;return k(s,je(u,4),g,N,il)}function ev(s,u,g){var k=tt(s)?dp:qo,N=arguments.length<3;return k(s,je(u,4),g,N,ou)}function tv(s,u){var g=tt(s)?$n:uu;return g(s,Ja(je(u,3)))}function iv(s){var u=tt(s)?lu:Ym;return u(s)}function nv(s,u,g){(g?mi(s,u,g):u===t)?u=1:u=lt(u);var k=tt(s)?Pm:Qm;return k(s,u)}function lv(s){var u=tt(s)?Nm:Xm;return u(s)}function rv(s){if(s==null)return 0;if(Pi(s))return Qa(s)?Yl(s):s.length;var u=gi(s);return u==vt||u==Qt?s.size:qs(s).length}function av(s,u,g){var k=tt(s)?Ps:$m;return g&&mi(s,u,g)&&(u=t),k(s,je(u,3))}var sv=st(function(s,u){if(s==null)return[];var g=u.length;return g>1&&mi(s,u[0],u[1])?u=[]:g>2&&mi(u[0],u[1],u[2])&&(u=[u[0]]),vu(s,si(u,1),[])}),Ka=Wp||function(){return $e.Date.now()};function ov(s,u){if(typeof u!="function")throw new Gi(a);return s=lt(s),function(){if(--s<1)return u.apply(this,arguments)}}function hf(s,u,g){return u=g?t:u,u=s&&u==null?s.length:u,En(s,F,t,t,t,t,u)}function _f(s,u){var g;if(typeof u!="function")throw new Gi(a);return s=lt(s),function(){return--s>0&&(g=u.apply(this,arguments)),s<=1&&(u=t),g}}var ho=st(function(s,u,g){var k=C;if(g.length){var N=el(g,ir(ho));k|=D}return En(s,k,u,g,N)}),pf=st(function(s,u,g){var k=C|y;if(g.length){var N=el(g,ir(pf));k|=D}return En(u,k,s,g,N)});function mf(s,u,g){u=g?t:u;var k=En(s,I,t,t,t,t,t,u);return k.placeholder=mf.placeholder,k}function bf(s,u,g){u=g?t:u;var k=En(s,A,t,t,t,t,t,u);return k.placeholder=bf.placeholder,k}function vf(s,u,g){var k,N,M,q,K,ee,me=0,be=!1,ye=!1,Re=!0;if(typeof s!="function")throw new Gi(a);u=Qi(u)||0,Bt(g)&&(be=!!g.leading,ye="maxWait"in g,M=ye?ei(Qi(g.maxWait)||0,u):M,Re="trailing"in g?!!g.trailing:Re);function ze(Jt){var rn=k,Mn=N;return k=N=t,me=Jt,q=s.apply(Mn,rn),q}function Je(Jt){return me=Jt,K=Fr(ut,u),be?ze(Jt):q}function at(Jt){var rn=Jt-ee,Mn=Jt-me,Uf=u-rn;return ye?di(Uf,M-Mn):Uf}function Ye(Jt){var rn=Jt-ee,Mn=Jt-me;return ee===t||rn>=u||rn<0||ye&&Mn>=M}function ut(){var Jt=Ka();if(Ye(Jt))return gt(Jt);K=Fr(ut,at(Jt))}function gt(Jt){return K=t,Re&&k?ze(Jt):(k=N=t,q)}function Bi(){K!==t&&Tu(K),me=0,k=ee=N=K=t}function bi(){return K===t?q:gt(Ka())}function Hi(){var Jt=Ka(),rn=Ye(Jt);if(k=arguments,N=this,ee=Jt,rn){if(K===t)return Je(ee);if(ye)return Tu(K),K=Fr(ut,u),ze(ee)}return K===t&&(K=Fr(ut,u)),q}return Hi.cancel=Bi,Hi.flush=bi,Hi}var uv=st(function(s,u){return su(s,1,u)}),fv=st(function(s,u,g){return su(s,Qi(u)||0,g)});function cv(s){return En(s,E)}function ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Gi(a);var g=function(){var k=arguments,N=u?u.apply(this,k):k[0],M=g.cache;if(M.has(N))return M.get(N);var q=s.apply(this,k);return g.cache=M.set(N,q)||M,q};return g.cache=new(ja.Cache||Ln),g}ja.Cache=Ln;function Ja(s){if(typeof s!="function")throw new Gi(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function dv(s){return _f(2,s)}var gv=xm(function(s,u){u=u.length==1&&tt(u[0])?Ft(u[0],Mi(je())):Ft(si(u,1),Mi(je()));var g=u.length;return st(function(k){for(var N=-1,M=di(k.length,g);++N<M;)k[N]=u[N].call(this,k[N]);return $t(s,this,k)})}),_o=st(function(s,u){var g=el(u,ir(_o));return En(s,D,t,u,g)}),wf=st(function(s,u){var g=el(u,ir(wf));return En(s,V,t,u,g)}),hv=Rn(function(s,u){return En(s,U,t,t,t,u)});function _v(s,u){if(typeof s!="function")throw new Gi(a);return u=u===t?u:lt(u),st(s,u)}function pv(s,u){if(typeof s!="function")throw new Gi(a);return u=u==null?0:ei(lt(u),0),st(function(g){var k=g[u],N=rl(g,0,u);return k&&xn(N,k),$t(s,this,N)})}function mv(s,u,g){var k=!0,N=!0;if(typeof s!="function")throw new Gi(a);return Bt(g)&&(k="leading"in g?!!g.leading:k,N="trailing"in g?!!g.trailing:N),vf(s,u,{leading:k,maxWait:u,trailing:N})}function bv(s){return hf(s,1)}function vv(s,u){return _o($s(u),s)}function wv(){if(!arguments.length)return[];var s=arguments[0];return tt(s)?s:[s]}function kv(s){return ji(s,b)}function Sv(s,u){return u=typeof u=="function"?u:t,ji(s,b,u)}function Cv(s){return ji(s,h|b)}function yv(s,u){return u=typeof u=="function"?u:t,ji(s,h|b,u)}function Pv(s,u){return u==null||au(s,u,li(u))}function ln(s,u){return s===u||s!==s&&u!==u}var Nv=Ba(Hs),Iv=Ba(function(s,u){return s>=u}),El=du(function(){return arguments}())?du:function(s){return zt(s)&&Ct.call(s,"callee")&&!$o.call(s,"callee")},tt=fe.isArray,Tv=Gl?Mi(Gl):Mm;function Pi(s){return s!=null&&Ya(s.length)&&!Vn(s)}function jt(s){return zt(s)&&Pi(s)}function Lv(s){return s===!0||s===!1||zt(s)&&pi(s)==nt}var al=qp||No,Av=Sl?Mi(Sl):Fm;function Ev(s){return zt(s)&&s.nodeType===1&&!Ur(s)}function Rv(s){if(s==null)return!0;if(Pi(s)&&(tt(s)||typeof s=="string"||typeof s.splice=="function"||al(s)||nr(s)||El(s)))return!s.length;var u=gi(s);if(u==vt||u==Qt)return!s.size;if(Mr(s))return!qs(s).length;for(var g in s)if(Ct.call(s,g))return!1;return!0}function Dv(s,u){return Dr(s,u)}function Vv(s,u,g){g=typeof g=="function"?g:t;var k=g?g(s,u):t;return k===t?Dr(s,u,t,g):!!k}function po(s){if(!zt(s))return!1;var u=pi(s);return u==Ge||u==pe||typeof s.message=="string"&&typeof s.name=="string"&&!Ur(s)}function Ov(s){return typeof s=="number"&&eu(s)}function Vn(s){if(!Bt(s))return!1;var u=pi(s);return u==rt||u==qt||u==Ie||u==gl}function kf(s){return typeof s=="number"&&s==lt(s)}function Ya(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=_e}function Bt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function zt(s){return s!=null&&typeof s=="object"}var Sf=ks?Mi(ks):Bm;function Mv(s,u){return s===u||zs(s,u,ro(u))}function Fv(s,u,g){return g=typeof g=="function"?g:t,zs(s,u,ro(u),g)}function Uv(s){return Cf(s)&&s!=+s}function Bv(s){if(S1(s))throw new xe(r);return gu(s)}function Hv(s){return s===null}function Wv(s){return s==null}function Cf(s){return typeof s=="number"||zt(s)&&pi(s)==Dt}function Ur(s){if(!zt(s)||pi(s)!=Gt)return!1;var u=ka(s);if(u===null)return!0;var g=Ct.call(u,"constructor")&&u.constructor;return typeof g=="function"&&g instanceof g&&ma.call(g)==Fp}var mo=Kl?Mi(Kl):Hm;function zv(s){return kf(s)&&s>=-_e&&s<=_e}var yf=ca?Mi(ca):Wm;function Qa(s){return typeof s=="string"||!tt(s)&&zt(s)&&pi(s)==Ri}function Ui(s){return typeof s=="symbol"||zt(s)&&pi(s)==xi}var nr=Cl?Mi(Cl):zm;function qv(s){return s===t}function Gv(s){return zt(s)&&gi(s)==ii}function Kv(s){return zt(s)&&pi(s)==_i}var jv=Ba(Gs),Jv=Ba(function(s,u){return s<=u});function Pf(s){if(!s)return[];if(Pi(s))return Qa(s)?tn(s):yi(s);if(Pr&&s[Pr])return Pp(s[Pr]());var u=gi(s),g=u==vt?Es:u==Qt?ha:lr;return g(s)}function On(s){if(!s)return s===0?s:0;if(s=Qi(s),s===X||s===-X){var u=s<0?-1:1;return u*ie}return s===s?s:0}function lt(s){var u=On(s),g=u%1;return u===u?g?u-g:u:0}function Nf(s){return s?Il(lt(s),0,ve):0}function Qi(s){if(typeof s=="number")return s;if(Ui(s))return oe;if(Bt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Bt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Go(s);var g=Bl.test(s);return g||Kn.test(s)?Xn(s.slice(2),g?2:8):vl.test(s)?oe:+s}function If(s){return cn(s,Ni(s))}function Yv(s){return s?Il(lt(s),-_e,_e):s===0?s:0}function kt(s){return s==null?"":Fi(s)}var Qv=er(function(s,u){if(Mr(u)||Pi(u)){cn(u,li(u),s);return}for(var g in u)Ct.call(u,g)&&Ar(s,g,u[g])}),Tf=er(function(s,u){cn(u,Ni(u),s)}),Za=er(function(s,u,g,k){cn(u,Ni(u),s,k)}),Zv=er(function(s,u,g,k){cn(u,li(u),s,k)}),Xv=Rn(Fs);function $v(s,u){var g=xl(s);return u==null?g:ru(g,u)}var xv=st(function(s,u){s=Lt(s);var g=-1,k=u.length,N=k>2?u[2]:t;for(N&&mi(u[0],u[1],N)&&(k=1);++g<k;)for(var M=u[g],q=Ni(M),K=-1,ee=q.length;++K<ee;){var me=q[K],be=s[me];(be===t||ln(be,Zl[me])&&!Ct.call(s,me))&&(s[me]=M[me])}return s}),e0=st(function(s){return s.push(t,Gu),$t(Lf,t,s)});function t0(s,u){return Ho(s,je(u,3),fn)}function i0(s,u){return Ho(s,je(u,3),Bs)}function n0(s,u){return s==null?s:Us(s,je(u,3),Ni)}function l0(s,u){return s==null?s:fu(s,je(u,3),Ni)}function r0(s,u){return s&&fn(s,je(u,3))}function a0(s,u){return s&&Bs(s,je(u,3))}function s0(s){return s==null?[]:Ea(s,li(s))}function o0(s){return s==null?[]:Ea(s,Ni(s))}function bo(s,u,g){var k=s==null?t:Tl(s,u);return k===t?g:k}function u0(s,u){return s!=null&&Ju(s,u,Rm)}function vo(s,u){return s!=null&&Ju(s,u,Dm)}var f0=Bu(function(s,u,g){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),s[u]=g},ko(Ii)),c0=Bu(function(s,u,g){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),Ct.call(s,u)?s[u].push(g):s[u]=[g]},je),d0=st(Rr);function li(s){return Pi(s)?nu(s):qs(s)}function Ni(s){return Pi(s)?nu(s,!0):qm(s)}function g0(s,u){var g={};return u=je(u,3),fn(s,function(k,N,M){An(g,u(k,N,M),k)}),g}function h0(s,u){var g={};return u=je(u,3),fn(s,function(k,N,M){An(g,N,u(k,N,M))}),g}var _0=er(function(s,u,g){Ra(s,u,g)}),Lf=er(function(s,u,g,k){Ra(s,u,g,k)}),p0=Rn(function(s,u){var g={};if(s==null)return g;var k=!1;u=Ft(u,function(M){return M=ll(M,s),k||(k=M.length>1),M}),cn(s,no(s),g),k&&(g=ji(g,h|p|b,f1));for(var N=u.length;N--;)Qs(g,u[N]);return g});function m0(s,u){return Af(s,Ja(je(u)))}var b0=Rn(function(s,u){return s==null?{}:Km(s,u)});function Af(s,u){if(s==null)return{};var g=Ft(no(s),function(k){return[k]});return u=je(u),wu(s,g,function(k,N){return u(k,N[0])})}function v0(s,u,g){u=ll(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var M=s==null?t:s[dn(u[k])];M===t&&(k=N,M=g),s=Vn(M)?M.call(s):M}return s}function w0(s,u,g){return s==null?s:Vr(s,u,g)}function k0(s,u,g,k){return k=typeof k=="function"?k:t,s==null?s:Vr(s,u,g,k)}var Ef=zu(li),Rf=zu(Ni);function S0(s,u,g){var k=tt(s),N=k||al(s)||nr(s);if(u=je(u,4),g==null){var M=s&&s.constructor;N?g=k?new M:[]:Bt(s)?g=Vn(M)?xl(ka(s)):{}:g={}}return(N?Ut:fn)(s,function(q,K,ee){return u(g,q,K,ee)}),g}function C0(s,u){return s==null?!0:Qs(s,u)}function y0(s,u,g){return s==null?s:Pu(s,u,$s(g))}function P0(s,u,g,k){return k=typeof k=="function"?k:t,s==null?s:Pu(s,u,$s(g),k)}function lr(s){return s==null?[]:As(s,li(s))}function N0(s){return s==null?[]:As(s,Ni(s))}function I0(s,u,g){return g===t&&(g=u,u=t),g!==t&&(g=Qi(g),g=g===g?g:0),u!==t&&(u=Qi(u),u=u===u?u:0),Il(Qi(s),u,g)}function T0(s,u,g){return u=On(u),g===t?(g=u,u=0):g=On(g),s=Qi(s),Vm(s,u,g)}function L0(s,u,g){if(g&&typeof g!="boolean"&&mi(s,u,g)&&(u=g=t),g===t&&(typeof u=="boolean"?(g=u,u=t):typeof s=="boolean"&&(g=s,s=t)),s===t&&u===t?(s=0,u=1):(s=On(s),u===t?(u=s,s=0):u=On(u)),s>u){var k=s;s=u,u=k}if(g||s%1||u%1){var N=tu();return di(s+N*(u-s+Cr("1e-"+((N+"").length-1))),u)}return js(s,u)}var A0=tr(function(s,u,g){return u=u.toLowerCase(),s+(g?Df(u):u)});function Df(s){return wo(kt(s).toLowerCase())}function Vf(s){return s=kt(s),s&&s.replace(kl,wp).replace(ws,"")}function E0(s,u,g){s=kt(s),u=Fi(u);var k=s.length;g=g===t?k:Il(lt(g),0,k);var N=g;return g-=u.length,g>=0&&s.slice(g,N)==u}function R0(s){return s=kt(s),s&&on.test(s)?s.replace(Wn,kp):s}function D0(s){return s=kt(s),s&&Di.test(s)?s.replace(Xt,"\\$&"):s}var V0=tr(function(s,u,g){return s+(g?"-":"")+u.toLowerCase()}),O0=tr(function(s,u,g){return s+(g?" ":"")+u.toLowerCase()}),M0=Mu("toLowerCase");function F0(s,u,g){s=kt(s),u=lt(u);var k=u?Yl(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ua(Pa(N),g)+s+Ua(ya(N),g)}function U0(s,u,g){s=kt(s),u=lt(u);var k=u?Yl(s):0;return u&&k<u?s+Ua(u-k,g):s}function B0(s,u,g){s=kt(s),u=lt(u);var k=u?Yl(s):0;return u&&k<u?Ua(u-k,g)+s:s}function H0(s,u,g){return g||u==null?u=0:u&&(u=+u),Jp(kt(s).replace(ki,""),u||0)}function W0(s,u,g){return(g?mi(s,u,g):u===t)?u=1:u=lt(u),Js(kt(s),u)}function z0(){var s=arguments,u=kt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var q0=tr(function(s,u,g){return s+(g?"_":"")+u.toLowerCase()});function G0(s,u,g){return g&&typeof g!="number"&&mi(s,u,g)&&(u=g=t),g=g===t?ve:g>>>0,g?(s=kt(s),s&&(typeof u=="string"||u!=null&&!mo(u))&&(u=Fi(u),!u&&Jl(s))?rl(tn(s),0,g):s.split(u,g)):[]}var K0=tr(function(s,u,g){return s+(g?" ":"")+wo(u)});function j0(s,u,g){return s=kt(s),g=g==null?0:Il(lt(g),0,s.length),u=Fi(u),s.slice(g,g+u.length)==u}function J0(s,u,g){var k=O.templateSettings;g&&mi(s,u,g)&&(u=t),s=kt(s),u=Za({},u,k,qu);var N=Za({},u.imports,k.imports,qu),M=li(N),q=As(N,M),K,ee,me=0,be=u.interpolate||un,ye="__p += '",Re=Rs((u.escape||un).source+"|"+be.source+"|"+(be===Pe?Si:un).source+"|"+(u.evaluate||un).source+"|$","g"),ze="//# sourceURL="+(Ct.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ue+"]")+`
|
|
36
|
-
`;s.replace(Re,function(Ye,ut,gt,Bi,
|
|
35
|
+
`)}function v1(s){return tt(s)||El(s)||!!(xo&&s&&s[xo])}function Dn(s,u){var g=typeof s;return u=u??_e,!!u&&(g=="number"||g!="symbol"&&wl.test(s))&&s>-1&&s%1==0&&s<u}function bi(s,u,g){if(!Bt(g))return!1;var k=typeof u;return(k=="number"?Ni(g)&&Dn(u,g.length):k=="string"&&u in g)?ln(g[u],s):!1}function so(s,u){if(tt(s))return!1;var g=typeof s;return g=="number"||g=="symbol"||g=="boolean"||s==null||Ui(s)?!0:dt.test(s)||!et.test(s)||u!=null&&s in Lt(u)}function w1(s){var u=typeof s;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?s!=="__proto__":s===null}function oo(s){var u=Ha(s),g=O[u];if(typeof g!="function"||!(u in ct.prototype))return!1;if(s===g)return!0;var k=lo(g);return!!k&&s===k[0]}function k1(s){return!!Qo&&Qo in s}var S1=pa?Vn:No;function Mr(s){var u=s&&s.constructor,g=typeof u=="function"&&u.prototype||Zl;return s===g}function Qu(s){return s===s&&!Bt(s)}function Zu(s,u){return function(g){return g==null?!1:g[s]===u&&(u!==t||s in Lt(g))}}function C1(s){var u=ja(s,function(k){return g.size===h&&g.clear(),k}),g=u.cache;return u}function y1(s,u){var g=s[1],k=u[1],N=g|k,M=N<(C|y|U),q=k==U&&g==A||k==U&&g==F&&s[7].length<=u[8]||k==(U|F)&&u[7].length<=u[8]&&g==A;if(!(M||q))return s;k&C&&(s[2]=u[2],N|=g&C?0:P);var K=u[3];if(K){var ee=s[3];s[3]=ee?Ru(ee,K,u[4]):K,s[4]=ee?el(s[3],d):u[4]}return K=u[5],K&&(ee=s[5],s[5]=ee?Du(ee,K,u[6]):K,s[6]=ee?el(s[5],d):u[6]),K=u[7],K&&(s[7]=K),k&U&&(s[8]=s[8]==null?u[8]:gi(s[8],u[8])),s[9]==null&&(s[9]=u[9]),s[0]=u[0],s[1]=N,s}function P1(s){var u=[];if(s!=null)for(var g in Lt(s))u.push(g);return u}function N1(s){return ba.call(s)}function Xu(s,u,g){return u=ti(u===t?s.length-1:u,0),function(){for(var k=arguments,N=-1,M=ti(k.length-u,0),q=fe(M);++N<M;)q[N]=k[u+N];N=-1;for(var K=fe(u+1);++N<u;)K[N]=k[N];return K[u]=g(q),xt(s,this,K)}}function $u(s,u){return u.length<2?s:Tl(s,Ji(u,0,-1))}function I1(s,u){for(var g=s.length,k=gi(u.length,g),N=Pi(s);k--;){var M=u[k];s[k]=Dn(M,g)?N[M]:t}return s}function uo(s,u){if(!(u==="constructor"&&typeof s[u]=="function")&&u!="__proto__")return s[u]}var xu=tf(Su),Fr=zp||function(s,u){return $e.setTimeout(s,u)},fo=tf(Zm);function ef(s,u,g){var k=u+"";return fo(s,b1(k,T1(_1(k),g)))}function tf(s){var u=0,g=0;return function(){var k=jp(),N=de-(k-g);if(g=k,N>0){if(++u>=Q)return arguments[0]}else u=0;return s.apply(t,arguments)}}function za(s,u){var g=-1,k=s.length,N=k-1;for(u=u===t?k:u;++g<u;){var M=js(g,N),q=s[M];s[M]=s[g],s[g]=q}return s.length=u,s}var nf=C1(function(s){var u=[];return s.charCodeAt(0)===46&&u.push(""),s.replace(St,function(g,k,N,M){u.push(N?M.replace(hr,"$1"):k||g)}),u});function dn(s){if(typeof s=="string"||Ui(s))return s;var u=s+"";return u=="0"&&1/s==-X?"-0":u}function Al(s){if(s!=null){try{return ma.call(s)}catch{}try{return s+""}catch{}}return""}function T1(s,u){return Ut(We,function(g){var k="_."+g[0];u&g[1]&&!da(s,k)&&s.push(k)}),s.sort()}function lf(s){if(s instanceof ct)return s.clone();var u=new Ki(s.__wrapped__,s.__chain__);return u.__actions__=Pi(s.__actions__),u.__index__=s.__index__,u.__values__=s.__values__,u}function L1(s,u,g){(g?bi(s,u,g):u===t)?u=1:u=ti(lt(u),0);var k=s==null?0:s.length;if(!k||u<1)return[];for(var N=0,M=0,q=fe(ya(k/u));N<k;)q[M++]=Ji(s,N,N+=u);return q}function A1(s){for(var u=-1,g=s==null?0:s.length,k=0,N=[];++u<g;){var M=s[u];M&&(N[k++]=M)}return N}function E1(){var s=arguments.length;if(!s)return[];for(var u=fe(s-1),g=arguments[0],k=s;k--;)u[k-1]=arguments[k];return xn(tt(g)?Pi(g):[g],oi(u,1))}var R1=st(function(s,u){return Jt(s)?Er(s,oi(u,1,Jt,!0)):[]}),D1=st(function(s,u){var g=Yi(u);return Jt(g)&&(g=t),Jt(s)?Er(s,oi(u,1,Jt,!0),je(g,2)):[]}),V1=st(function(s,u){var g=Yi(u);return Jt(g)&&(g=t),Jt(s)?Er(s,oi(u,1,Jt,!0),t,g):[]});function O1(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:lt(u),Ji(s,u<0?0:u,k)):[]}function M1(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:lt(u),u=k-u,Ji(s,0,u<0?0:u)):[]}function F1(s,u){return s&&s.length?Va(s,je(u,3),!0,!0):[]}function U1(s,u){return s&&s.length?Va(s,je(u,3),!0):[]}function B1(s,u,g,k){var N=s==null?0:s.length;return N?(g&&typeof g!="number"&&bi(s,u,g)&&(g=0,k=N),Em(s,u,g,k)):[]}function rf(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var N=g==null?0:lt(g);return N<0&&(N=ti(k+N,0)),ga(s,je(u,3),N)}function af(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var N=k-1;return g!==t&&(N=lt(g),N=g<0?ti(k+N,0):gi(N,k-1)),ga(s,je(u,3),N,!0)}function sf(s){var u=s==null?0:s.length;return u?oi(s,1):[]}function H1(s){var u=s==null?0:s.length;return u?oi(s,X):[]}function W1(s,u){var g=s==null?0:s.length;return g?(u=u===t?1:lt(u),oi(s,u)):[]}function z1(s){for(var u=-1,g=s==null?0:s.length,k={};++u<g;){var N=s[u];k[N[0]]=N[1]}return k}function of(s){return s&&s.length?s[0]:t}function q1(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var N=g==null?0:lt(g);return N<0&&(N=ti(k+N,0)),jl(s,u,N)}function G1(s){var u=s==null?0:s.length;return u?Ji(s,0,-1):[]}var K1=st(function(s){var u=Ft(s,Xs);return u.length&&u[0]===s[0]?Ws(u):[]}),j1=st(function(s){var u=Yi(s),g=Ft(s,Xs);return u===Yi(g)?u=t:g.pop(),g.length&&g[0]===s[0]?Ws(g,je(u,2)):[]}),J1=st(function(s){var u=Yi(s),g=Ft(s,Xs);return u=typeof u=="function"?u:t,u&&g.pop(),g.length&&g[0]===s[0]?Ws(g,t,u):[]});function Y1(s,u){return s==null?"":Gp.call(s,u)}function Yi(s){var u=s==null?0:s.length;return u?s[u-1]:t}function Q1(s,u,g){var k=s==null?0:s.length;if(!k)return-1;var N=k;return g!==t&&(N=lt(g),N=N<0?ti(k+N,0):gi(N,k-1)),u===u?Tp(s,u,N):ga(s,Wo,N,!0)}function Z1(s,u){return s&&s.length?bu(s,lt(u)):t}var X1=st(uf);function uf(s,u){return s&&s.length&&u&&u.length?Ks(s,u):s}function $1(s,u,g){return s&&s.length&&u&&u.length?Ks(s,u,je(g,2)):s}function x1(s,u,g){return s&&s.length&&u&&u.length?Ks(s,u,t,g):s}var eb=Rn(function(s,u){var g=s==null?0:s.length,k=Fs(s,u);return ku(s,Ft(u,function(N){return Dn(N,g)?+N:N}).sort(Eu)),k});function tb(s,u){var g=[];if(!(s&&s.length))return g;var k=-1,N=[],M=s.length;for(u=je(u,3);++k<M;){var q=s[k];u(q,k,s)&&(g.push(q),N.push(k))}return ku(s,N),g}function co(s){return s==null?s:Yp.call(s)}function ib(s,u,g){var k=s==null?0:s.length;return k?(g&&typeof g!="number"&&bi(s,u,g)?(u=0,g=k):(u=u==null?0:lt(u),g=g===t?k:lt(g)),Ji(s,u,g)):[]}function nb(s,u){return Da(s,u)}function lb(s,u,g){return Ys(s,u,je(g,2))}function rb(s,u){var g=s==null?0:s.length;if(g){var k=Da(s,u);if(k<g&&ln(s[k],u))return k}return-1}function ab(s,u){return Da(s,u,!0)}function sb(s,u,g){return Ys(s,u,je(g,2),!0)}function ob(s,u){var g=s==null?0:s.length;if(g){var k=Da(s,u,!0)-1;if(ln(s[k],u))return k}return-1}function ub(s){return s&&s.length?Cu(s):[]}function fb(s,u){return s&&s.length?Cu(s,je(u,2)):[]}function cb(s){var u=s==null?0:s.length;return u?Ji(s,1,u):[]}function db(s,u,g){return s&&s.length?(u=g||u===t?1:lt(u),Ji(s,0,u<0?0:u)):[]}function gb(s,u,g){var k=s==null?0:s.length;return k?(u=g||u===t?1:lt(u),u=k-u,Ji(s,u<0?0:u,k)):[]}function hb(s,u){return s&&s.length?Va(s,je(u,3),!1,!0):[]}function _b(s,u){return s&&s.length?Va(s,je(u,3)):[]}var pb=st(function(s){return nl(oi(s,1,Jt,!0))}),mb=st(function(s){var u=Yi(s);return Jt(u)&&(u=t),nl(oi(s,1,Jt,!0),je(u,2))}),bb=st(function(s){var u=Yi(s);return u=typeof u=="function"?u:t,nl(oi(s,1,Jt,!0),t,u)});function vb(s){return s&&s.length?nl(s):[]}function wb(s,u){return s&&s.length?nl(s,je(u,2)):[]}function kb(s,u){return u=typeof u=="function"?u:t,s&&s.length?nl(s,t,u):[]}function go(s){if(!(s&&s.length))return[];var u=0;return s=$n(s,function(g){if(Jt(g))return u=ti(g.length,u),!0}),Ls(u,function(g){return Ft(s,Ns(g))})}function ff(s,u){if(!(s&&s.length))return[];var g=go(s);return u==null?g:Ft(g,function(k){return xt(u,t,k)})}var Sb=st(function(s,u){return Jt(s)?Er(s,u):[]}),Cb=st(function(s){return Zs($n(s,Jt))}),yb=st(function(s){var u=Yi(s);return Jt(u)&&(u=t),Zs($n(s,Jt),je(u,2))}),Pb=st(function(s){var u=Yi(s);return u=typeof u=="function"?u:t,Zs($n(s,Jt),t,u)}),Nb=st(go);function Ib(s,u){return Iu(s||[],u||[],Ar)}function Tb(s,u){return Iu(s||[],u||[],Vr)}var Lb=st(function(s){var u=s.length,g=u>1?s[u-1]:t;return g=typeof g=="function"?(s.pop(),g):t,ff(s,g)});function cf(s){var u=O(s);return u.__chain__=!0,u}function Ab(s,u){return u(s),s}function qa(s,u){return u(s)}var Eb=Rn(function(s){var u=s.length,g=u?s[0]:0,k=this.__wrapped__,N=function(M){return Fs(M,s)};return u>1||this.__actions__.length||!(k instanceof ct)||!Dn(g)?this.thru(N):(k=k.slice(g,+g+(u?1:0)),k.__actions__.push({func:qa,args:[N],thisArg:t}),new Ki(k,this.__chain__).thru(function(M){return u&&!M.length&&M.push(t),M}))});function Rb(){return cf(this)}function Db(){return new Ki(this.value(),this.__chain__)}function Vb(){this.__values__===t&&(this.__values__=Pf(this.value()));var s=this.__index__>=this.__values__.length,u=s?t:this.__values__[this.__index__++];return{done:s,value:u}}function Ob(){return this}function Mb(s){for(var u,g=this;g instanceof Ta;){var k=lf(g);k.__index__=0,k.__values__=t,u?N.__wrapped__=k:u=k;var N=k;g=g.__wrapped__}return N.__wrapped__=s,u}function Fb(){var s=this.__wrapped__;if(s instanceof ct){var u=s;return this.__actions__.length&&(u=new ct(this)),u=u.reverse(),u.__actions__.push({func:qa,args:[co],thisArg:t}),new Ki(u,this.__chain__)}return this.thru(co)}function Ub(){return Nu(this.__wrapped__,this.__actions__)}var Bb=Oa(function(s,u,g){Ct.call(s,g)?++s[g]:An(s,g,1)});function Hb(s,u,g){var k=tt(s)?Bo:Am;return g&&bi(s,u,g)&&(u=t),k(s,je(u,3))}function Wb(s,u){var g=tt(s)?$n:uu;return g(s,je(u,3))}var zb=Fu(rf),qb=Fu(af);function Gb(s,u){return oi(Ga(s,u),1)}function Kb(s,u){return oi(Ga(s,u),X)}function jb(s,u,g){return g=g===t?1:lt(g),oi(Ga(s,u),g)}function df(s,u){var g=tt(s)?Ut:il;return g(s,je(u,3))}function gf(s,u){var g=tt(s)?Ss:ou;return g(s,je(u,3))}var Jb=Oa(function(s,u,g){Ct.call(s,g)?s[g].push(u):An(s,g,[u])});function Yb(s,u,g,k){s=Ni(s)?s:lr(s),g=g&&!k?lt(g):0;var N=s.length;return g<0&&(g=ti(N+g,0)),Qa(s)?g<=N&&s.indexOf(u,g)>-1:!!N&&jl(s,u,g)>-1}var Qb=st(function(s,u,g){var k=-1,N=typeof u=="function",M=Ni(s)?fe(s.length):[];return il(s,function(q){M[++k]=N?xt(u,q,g):Rr(q,u,g)}),M}),Zb=Oa(function(s,u,g){An(s,g,u)});function Ga(s,u){var g=tt(s)?Ft:_u;return g(s,je(u,3))}function Xb(s,u,g,k){return s==null?[]:(tt(u)||(u=u==null?[]:[u]),g=k?t:g,tt(g)||(g=g==null?[]:[g]),vu(s,u,g))}var $b=Oa(function(s,u,g){s[g?0:1].push(u)},function(){return[[],[]]});function xb(s,u,g){var k=tt(s)?ys:qo,N=arguments.length<3;return k(s,je(u,4),g,N,il)}function ev(s,u,g){var k=tt(s)?dp:qo,N=arguments.length<3;return k(s,je(u,4),g,N,ou)}function tv(s,u){var g=tt(s)?$n:uu;return g(s,Ja(je(u,3)))}function iv(s){var u=tt(s)?lu:Ym;return u(s)}function nv(s,u,g){(g?bi(s,u,g):u===t)?u=1:u=lt(u);var k=tt(s)?Pm:Qm;return k(s,u)}function lv(s){var u=tt(s)?Nm:Xm;return u(s)}function rv(s){if(s==null)return 0;if(Ni(s))return Qa(s)?Yl(s):s.length;var u=hi(s);return u==vt||u==Zt?s.size:qs(s).length}function av(s,u,g){var k=tt(s)?Ps:$m;return g&&bi(s,u,g)&&(u=t),k(s,je(u,3))}var sv=st(function(s,u){if(s==null)return[];var g=u.length;return g>1&&bi(s,u[0],u[1])?u=[]:g>2&&bi(u[0],u[1],u[2])&&(u=[u[0]]),vu(s,oi(u,1),[])}),Ka=Wp||function(){return $e.Date.now()};function ov(s,u){if(typeof u!="function")throw new Gi(a);return s=lt(s),function(){if(--s<1)return u.apply(this,arguments)}}function hf(s,u,g){return u=g?t:u,u=s&&u==null?s.length:u,En(s,U,t,t,t,t,u)}function _f(s,u){var g;if(typeof u!="function")throw new Gi(a);return s=lt(s),function(){return--s>0&&(g=u.apply(this,arguments)),s<=1&&(u=t),g}}var ho=st(function(s,u,g){var k=C;if(g.length){var N=el(g,ir(ho));k|=V}return En(s,k,u,g,N)}),pf=st(function(s,u,g){var k=C|y;if(g.length){var N=el(g,ir(pf));k|=V}return En(u,k,s,g,N)});function mf(s,u,g){u=g?t:u;var k=En(s,A,t,t,t,t,t,u);return k.placeholder=mf.placeholder,k}function bf(s,u,g){u=g?t:u;var k=En(s,T,t,t,t,t,t,u);return k.placeholder=bf.placeholder,k}function vf(s,u,g){var k,N,M,q,K,ee,me=0,be=!1,ye=!1,Re=!0;if(typeof s!="function")throw new Gi(a);u=Qi(u)||0,Bt(g)&&(be=!!g.leading,ye="maxWait"in g,M=ye?ti(Qi(g.maxWait)||0,u):M,Re="trailing"in g?!!g.trailing:Re);function ze(Yt){var rn=k,Mn=N;return k=N=t,me=Yt,q=s.apply(Mn,rn),q}function Je(Yt){return me=Yt,K=Fr(ut,u),be?ze(Yt):q}function at(Yt){var rn=Yt-ee,Mn=Yt-me,Uf=u-rn;return ye?gi(Uf,M-Mn):Uf}function Ye(Yt){var rn=Yt-ee,Mn=Yt-me;return ee===t||rn>=u||rn<0||ye&&Mn>=M}function ut(){var Yt=Ka();if(Ye(Yt))return gt(Yt);K=Fr(ut,at(Yt))}function gt(Yt){return K=t,Re&&k?ze(Yt):(k=N=t,q)}function Bi(){K!==t&&Tu(K),me=0,k=ee=N=K=t}function vi(){return K===t?q:gt(Ka())}function Hi(){var Yt=Ka(),rn=Ye(Yt);if(k=arguments,N=this,ee=Yt,rn){if(K===t)return Je(ee);if(ye)return Tu(K),K=Fr(ut,u),ze(ee)}return K===t&&(K=Fr(ut,u)),q}return Hi.cancel=Bi,Hi.flush=vi,Hi}var uv=st(function(s,u){return su(s,1,u)}),fv=st(function(s,u,g){return su(s,Qi(u)||0,g)});function cv(s){return En(s,D)}function ja(s,u){if(typeof s!="function"||u!=null&&typeof u!="function")throw new Gi(a);var g=function(){var k=arguments,N=u?u.apply(this,k):k[0],M=g.cache;if(M.has(N))return M.get(N);var q=s.apply(this,k);return g.cache=M.set(N,q)||M,q};return g.cache=new(ja.Cache||Ln),g}ja.Cache=Ln;function Ja(s){if(typeof s!="function")throw new Gi(a);return function(){var u=arguments;switch(u.length){case 0:return!s.call(this);case 1:return!s.call(this,u[0]);case 2:return!s.call(this,u[0],u[1]);case 3:return!s.call(this,u[0],u[1],u[2])}return!s.apply(this,u)}}function dv(s){return _f(2,s)}var gv=xm(function(s,u){u=u.length==1&&tt(u[0])?Ft(u[0],Mi(je())):Ft(oi(u,1),Mi(je()));var g=u.length;return st(function(k){for(var N=-1,M=gi(k.length,g);++N<M;)k[N]=u[N].call(this,k[N]);return xt(s,this,k)})}),_o=st(function(s,u){var g=el(u,ir(_o));return En(s,V,t,u,g)}),wf=st(function(s,u){var g=el(u,ir(wf));return En(s,E,t,u,g)}),hv=Rn(function(s,u){return En(s,F,t,t,t,u)});function _v(s,u){if(typeof s!="function")throw new Gi(a);return u=u===t?u:lt(u),st(s,u)}function pv(s,u){if(typeof s!="function")throw new Gi(a);return u=u==null?0:ti(lt(u),0),st(function(g){var k=g[u],N=rl(g,0,u);return k&&xn(N,k),xt(s,this,N)})}function mv(s,u,g){var k=!0,N=!0;if(typeof s!="function")throw new Gi(a);return Bt(g)&&(k="leading"in g?!!g.leading:k,N="trailing"in g?!!g.trailing:N),vf(s,u,{leading:k,maxWait:u,trailing:N})}function bv(s){return hf(s,1)}function vv(s,u){return _o($s(u),s)}function wv(){if(!arguments.length)return[];var s=arguments[0];return tt(s)?s:[s]}function kv(s){return ji(s,b)}function Sv(s,u){return u=typeof u=="function"?u:t,ji(s,b,u)}function Cv(s){return ji(s,_|b)}function yv(s,u){return u=typeof u=="function"?u:t,ji(s,_|b,u)}function Pv(s,u){return u==null||au(s,u,ri(u))}function ln(s,u){return s===u||s!==s&&u!==u}var Nv=Ba(Hs),Iv=Ba(function(s,u){return s>=u}),El=du(function(){return arguments}())?du:function(s){return qt(s)&&Ct.call(s,"callee")&&!$o.call(s,"callee")},tt=fe.isArray,Tv=Gl?Mi(Gl):Mm;function Ni(s){return s!=null&&Ya(s.length)&&!Vn(s)}function Jt(s){return qt(s)&&Ni(s)}function Lv(s){return s===!0||s===!1||qt(s)&&mi(s)==nt}var al=qp||No,Av=Sl?Mi(Sl):Fm;function Ev(s){return qt(s)&&s.nodeType===1&&!Ur(s)}function Rv(s){if(s==null)return!0;if(Ni(s)&&(tt(s)||typeof s=="string"||typeof s.splice=="function"||al(s)||nr(s)||El(s)))return!s.length;var u=hi(s);if(u==vt||u==Zt)return!s.size;if(Mr(s))return!qs(s).length;for(var g in s)if(Ct.call(s,g))return!1;return!0}function Dv(s,u){return Dr(s,u)}function Vv(s,u,g){g=typeof g=="function"?g:t;var k=g?g(s,u):t;return k===t?Dr(s,u,t,g):!!k}function po(s){if(!qt(s))return!1;var u=mi(s);return u==Ge||u==pe||typeof s.message=="string"&&typeof s.name=="string"&&!Ur(s)}function Ov(s){return typeof s=="number"&&eu(s)}function Vn(s){if(!Bt(s))return!1;var u=mi(s);return u==rt||u==Gt||u==Ie||u==gl}function kf(s){return typeof s=="number"&&s==lt(s)}function Ya(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=_e}function Bt(s){var u=typeof s;return s!=null&&(u=="object"||u=="function")}function qt(s){return s!=null&&typeof s=="object"}var Sf=ks?Mi(ks):Bm;function Mv(s,u){return s===u||zs(s,u,ro(u))}function Fv(s,u,g){return g=typeof g=="function"?g:t,zs(s,u,ro(u),g)}function Uv(s){return Cf(s)&&s!=+s}function Bv(s){if(S1(s))throw new xe(r);return gu(s)}function Hv(s){return s===null}function Wv(s){return s==null}function Cf(s){return typeof s=="number"||qt(s)&&mi(s)==Dt}function Ur(s){if(!qt(s)||mi(s)!=Kt)return!1;var u=ka(s);if(u===null)return!0;var g=Ct.call(u,"constructor")&&u.constructor;return typeof g=="function"&&g instanceof g&&ma.call(g)==Fp}var mo=Kl?Mi(Kl):Hm;function zv(s){return kf(s)&&s>=-_e&&s<=_e}var yf=ca?Mi(ca):Wm;function Qa(s){return typeof s=="string"||!tt(s)&&qt(s)&&mi(s)==Ri}function Ui(s){return typeof s=="symbol"||qt(s)&&mi(s)==xi}var nr=Cl?Mi(Cl):zm;function qv(s){return s===t}function Gv(s){return qt(s)&&hi(s)==ni}function Kv(s){return qt(s)&&mi(s)==pi}var jv=Ba(Gs),Jv=Ba(function(s,u){return s<=u});function Pf(s){if(!s)return[];if(Ni(s))return Qa(s)?tn(s):Pi(s);if(Pr&&s[Pr])return Pp(s[Pr]());var u=hi(s),g=u==vt?Es:u==Zt?ha:lr;return g(s)}function On(s){if(!s)return s===0?s:0;if(s=Qi(s),s===X||s===-X){var u=s<0?-1:1;return u*ie}return s===s?s:0}function lt(s){var u=On(s),g=u%1;return u===u?g?u-g:u:0}function Nf(s){return s?Il(lt(s),0,ve):0}function Qi(s){if(typeof s=="number")return s;if(Ui(s))return oe;if(Bt(s)){var u=typeof s.valueOf=="function"?s.valueOf():s;s=Bt(u)?u+"":u}if(typeof s!="string")return s===0?s:+s;s=Go(s);var g=Bl.test(s);return g||Kn.test(s)?Xn(s.slice(2),g?2:8):vl.test(s)?oe:+s}function If(s){return cn(s,Ii(s))}function Yv(s){return s?Il(lt(s),-_e,_e):s===0?s:0}function kt(s){return s==null?"":Fi(s)}var Qv=er(function(s,u){if(Mr(u)||Ni(u)){cn(u,ri(u),s);return}for(var g in u)Ct.call(u,g)&&Ar(s,g,u[g])}),Tf=er(function(s,u){cn(u,Ii(u),s)}),Za=er(function(s,u,g,k){cn(u,Ii(u),s,k)}),Zv=er(function(s,u,g,k){cn(u,ri(u),s,k)}),Xv=Rn(Fs);function $v(s,u){var g=xl(s);return u==null?g:ru(g,u)}var xv=st(function(s,u){s=Lt(s);var g=-1,k=u.length,N=k>2?u[2]:t;for(N&&bi(u[0],u[1],N)&&(k=1);++g<k;)for(var M=u[g],q=Ii(M),K=-1,ee=q.length;++K<ee;){var me=q[K],be=s[me];(be===t||ln(be,Zl[me])&&!Ct.call(s,me))&&(s[me]=M[me])}return s}),e0=st(function(s){return s.push(t,Gu),xt(Lf,t,s)});function t0(s,u){return Ho(s,je(u,3),fn)}function i0(s,u){return Ho(s,je(u,3),Bs)}function n0(s,u){return s==null?s:Us(s,je(u,3),Ii)}function l0(s,u){return s==null?s:fu(s,je(u,3),Ii)}function r0(s,u){return s&&fn(s,je(u,3))}function a0(s,u){return s&&Bs(s,je(u,3))}function s0(s){return s==null?[]:Ea(s,ri(s))}function o0(s){return s==null?[]:Ea(s,Ii(s))}function bo(s,u,g){var k=s==null?t:Tl(s,u);return k===t?g:k}function u0(s,u){return s!=null&&Ju(s,u,Rm)}function vo(s,u){return s!=null&&Ju(s,u,Dm)}var f0=Bu(function(s,u,g){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),s[u]=g},ko(Ti)),c0=Bu(function(s,u,g){u!=null&&typeof u.toString!="function"&&(u=ba.call(u)),Ct.call(s,u)?s[u].push(g):s[u]=[g]},je),d0=st(Rr);function ri(s){return Ni(s)?nu(s):qs(s)}function Ii(s){return Ni(s)?nu(s,!0):qm(s)}function g0(s,u){var g={};return u=je(u,3),fn(s,function(k,N,M){An(g,u(k,N,M),k)}),g}function h0(s,u){var g={};return u=je(u,3),fn(s,function(k,N,M){An(g,N,u(k,N,M))}),g}var _0=er(function(s,u,g){Ra(s,u,g)}),Lf=er(function(s,u,g,k){Ra(s,u,g,k)}),p0=Rn(function(s,u){var g={};if(s==null)return g;var k=!1;u=Ft(u,function(M){return M=ll(M,s),k||(k=M.length>1),M}),cn(s,no(s),g),k&&(g=ji(g,_|p|b,f1));for(var N=u.length;N--;)Qs(g,u[N]);return g});function m0(s,u){return Af(s,Ja(je(u)))}var b0=Rn(function(s,u){return s==null?{}:Km(s,u)});function Af(s,u){if(s==null)return{};var g=Ft(no(s),function(k){return[k]});return u=je(u),wu(s,g,function(k,N){return u(k,N[0])})}function v0(s,u,g){u=ll(u,s);var k=-1,N=u.length;for(N||(N=1,s=t);++k<N;){var M=s==null?t:s[dn(u[k])];M===t&&(k=N,M=g),s=Vn(M)?M.call(s):M}return s}function w0(s,u,g){return s==null?s:Vr(s,u,g)}function k0(s,u,g,k){return k=typeof k=="function"?k:t,s==null?s:Vr(s,u,g,k)}var Ef=zu(ri),Rf=zu(Ii);function S0(s,u,g){var k=tt(s),N=k||al(s)||nr(s);if(u=je(u,4),g==null){var M=s&&s.constructor;N?g=k?new M:[]:Bt(s)?g=Vn(M)?xl(ka(s)):{}:g={}}return(N?Ut:fn)(s,function(q,K,ee){return u(g,q,K,ee)}),g}function C0(s,u){return s==null?!0:Qs(s,u)}function y0(s,u,g){return s==null?s:Pu(s,u,$s(g))}function P0(s,u,g,k){return k=typeof k=="function"?k:t,s==null?s:Pu(s,u,$s(g),k)}function lr(s){return s==null?[]:As(s,ri(s))}function N0(s){return s==null?[]:As(s,Ii(s))}function I0(s,u,g){return g===t&&(g=u,u=t),g!==t&&(g=Qi(g),g=g===g?g:0),u!==t&&(u=Qi(u),u=u===u?u:0),Il(Qi(s),u,g)}function T0(s,u,g){return u=On(u),g===t?(g=u,u=0):g=On(g),s=Qi(s),Vm(s,u,g)}function L0(s,u,g){if(g&&typeof g!="boolean"&&bi(s,u,g)&&(u=g=t),g===t&&(typeof u=="boolean"?(g=u,u=t):typeof s=="boolean"&&(g=s,s=t)),s===t&&u===t?(s=0,u=1):(s=On(s),u===t?(u=s,s=0):u=On(u)),s>u){var k=s;s=u,u=k}if(g||s%1||u%1){var N=tu();return gi(s+N*(u-s+Cr("1e-"+((N+"").length-1))),u)}return js(s,u)}var A0=tr(function(s,u,g){return u=u.toLowerCase(),s+(g?Df(u):u)});function Df(s){return wo(kt(s).toLowerCase())}function Vf(s){return s=kt(s),s&&s.replace(kl,wp).replace(ws,"")}function E0(s,u,g){s=kt(s),u=Fi(u);var k=s.length;g=g===t?k:Il(lt(g),0,k);var N=g;return g-=u.length,g>=0&&s.slice(g,N)==u}function R0(s){return s=kt(s),s&&on.test(s)?s.replace(Wn,kp):s}function D0(s){return s=kt(s),s&&Di.test(s)?s.replace($t,"\\$&"):s}var V0=tr(function(s,u,g){return s+(g?"-":"")+u.toLowerCase()}),O0=tr(function(s,u,g){return s+(g?" ":"")+u.toLowerCase()}),M0=Mu("toLowerCase");function F0(s,u,g){s=kt(s),u=lt(u);var k=u?Yl(s):0;if(!u||k>=u)return s;var N=(u-k)/2;return Ua(Pa(N),g)+s+Ua(ya(N),g)}function U0(s,u,g){s=kt(s),u=lt(u);var k=u?Yl(s):0;return u&&k<u?s+Ua(u-k,g):s}function B0(s,u,g){s=kt(s),u=lt(u);var k=u?Yl(s):0;return u&&k<u?Ua(u-k,g)+s:s}function H0(s,u,g){return g||u==null?u=0:u&&(u=+u),Jp(kt(s).replace(Si,""),u||0)}function W0(s,u,g){return(g?bi(s,u,g):u===t)?u=1:u=lt(u),Js(kt(s),u)}function z0(){var s=arguments,u=kt(s[0]);return s.length<3?u:u.replace(s[1],s[2])}var q0=tr(function(s,u,g){return s+(g?"_":"")+u.toLowerCase()});function G0(s,u,g){return g&&typeof g!="number"&&bi(s,u,g)&&(u=g=t),g=g===t?ve:g>>>0,g?(s=kt(s),s&&(typeof u=="string"||u!=null&&!mo(u))&&(u=Fi(u),!u&&Jl(s))?rl(tn(s),0,g):s.split(u,g)):[]}var K0=tr(function(s,u,g){return s+(g?" ":"")+wo(u)});function j0(s,u,g){return s=kt(s),g=g==null?0:Il(lt(g),0,s.length),u=Fi(u),s.slice(g,g+u.length)==u}function J0(s,u,g){var k=O.templateSettings;g&&bi(s,u,g)&&(u=t),s=kt(s),u=Za({},u,k,qu);var N=Za({},u.imports,k.imports,qu),M=ri(N),q=As(N,M),K,ee,me=0,be=u.interpolate||un,ye="__p += '",Re=Rs((u.escape||un).source+"|"+be.source+"|"+(be===Pe?Ci:un).source+"|"+(u.evaluate||un).source+"|$","g"),ze="//# sourceURL="+(Ct.call(u,"sourceURL")?(u.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ue+"]")+`
|
|
36
|
+
`;s.replace(Re,function(Ye,ut,gt,Bi,vi,Hi){return gt||(gt=Bi),ye+=s.slice(me,Hi).replace(Hl,Sp),ut&&(K=!0,ye+=`' +
|
|
37
37
|
__e(`+ut+`) +
|
|
38
|
-
'`),
|
|
39
|
-
`+
|
|
38
|
+
'`),vi&&(ee=!0,ye+=`';
|
|
39
|
+
`+vi+`;
|
|
40
40
|
__p += '`),gt&&(ye+=`' +
|
|
41
41
|
((__t = (`+gt+`)) == null ? '' : __t) +
|
|
42
42
|
'`),me=Hi+Ye.length,Ye}),ye+=`';
|
|
@@ -49,16 +49,16 @@ __p += '`),gt&&(ye+=`' +
|
|
|
49
49
|
function print() { __p += __j.call(arguments, '') }
|
|
50
50
|
`:`;
|
|
51
51
|
`)+ye+`return __p
|
|
52
|
-
}`;var at=Mf(function(){return wt(M,ze+"return "+ye).apply(t,q)});if(at.source=ye,po(at))throw at;return at}function Y0(s){return kt(s).toLowerCase()}function Q0(s){return kt(s).toUpperCase()}function Z0(s,u,g){if(s=kt(s),s&&(g||u===t))return Go(s);if(!s||!(u=Fi(u)))return s;var k=tn(s),N=tn(u),M=Ko(k,N),q=jo(k,N)+1;return rl(k,M,q).join("")}function X0(s,u,g){if(s=kt(s),s&&(g||u===t))return s.slice(0,Yo(s)+1);if(!s||!(u=Fi(u)))return s;var k=tn(s),N=jo(k,tn(u))+1;return rl(k,0,N).join("")}function $0(s,u,g){if(s=kt(s),s&&(g||u===t))return s.replace(ki,"");if(!s||!(u=Fi(u)))return s;var k=tn(s),N=Ko(k,tn(u));return rl(k,N).join("")}function x0(s,u){var g=Y,k=j;if(Bt(u)){var N="separator"in u?u.separator:N;g="length"in u?lt(u.length):g,k="omission"in u?Fi(u.omission):k}s=kt(s);var M=s.length;if(Jl(s)){var q=tn(s);M=q.length}if(g>=M)return s;var K=g-Yl(k);if(K<1)return k;var ee=q?rl(q,0,K).join(""):s.slice(0,K);if(N===t)return ee+k;if(q&&(K+=ee.length-K),mo(N)){if(s.slice(K).search(N)){var me,be=ee;for(N.global||(N=Rs(N.source,kt(Gn.exec(N))+"g")),N.lastIndex=0;me=N.exec(be);)var ye=me.index;ee=ee.slice(0,ye===t?K:ye)}}else if(s.indexOf(Fi(N),K)!=K){var Re=ee.lastIndexOf(N);Re>-1&&(ee=ee.slice(0,Re))}return ee+k}function ew(s){return s=kt(s),s&&zn.test(s)?s.replace(Nn,Lp):s}var tw=tr(function(s,u,g){return s+(g?" ":"")+u.toUpperCase()}),wo=Mu("toUpperCase");function Of(s,u,g){return s=kt(s),u=g?t:u,u===t?yp(s)?Rp(s):_p(s):s.match(u)||[]}var Mf=st(function(s,u){try{return $t(s,t,u)}catch(g){return po(g)?g:new xe(g)}}),iw=Rn(function(s,u){return Ut(u,function(g){g=dn(g),An(s,g,ho(s[g],s))}),s});function nw(s){var u=s==null?0:s.length,g=je();return s=u?Ft(s,function(k){if(typeof k[1]!="function")throw new Gi(a);return[g(k[0]),k[1]]}):[],st(function(k){for(var N=-1;++N<u;){var M=s[N];if($t(M[0],this,k))return $t(M[1],this,k)}})}function lw(s){return Lm(ji(s,h))}function ko(s){return function(){return s}}function rw(s,u){return s==null||s!==s?u:s}var aw=Uu(),sw=Uu(!0);function Ii(s){return s}function So(s){return hu(typeof s=="function"?s:ji(s,h))}function ow(s){return pu(ji(s,h))}function uw(s,u){return mu(s,ji(u,h))}var fw=st(function(s,u){return function(g){return Rr(g,s,u)}}),cw=st(function(s,u){return function(g){return Rr(s,g,u)}});function Co(s,u,g){var k=li(u),N=Ea(u,k);g==null&&!(Bt(u)&&(N.length||!k.length))&&(g=u,u=s,s=this,N=Ea(u,li(u)));var M=!(Bt(g)&&"chain"in g)||!!g.chain,q=Vn(s);return Ut(N,function(K){var ee=u[K];s[K]=ee,q&&(s.prototype[K]=function(){var me=this.__chain__;if(M||me){var be=s(this.__wrapped__),ye=be.__actions__=yi(this.__actions__);return ye.push({func:ee,args:arguments,thisArg:s}),be.__chain__=me,be}return ee.apply(s,xn([this.value()],arguments))})}),s}function dw(){return $e._===this&&($e._=Up),this}function yo(){}function gw(s){return s=lt(s),st(function(u){return bu(u,s)})}var hw=eo(Ft),_w=eo(Bo),pw=eo(Ps);function Ff(s){return so(s)?Ns(dn(s)):jm(s)}function mw(s){return function(u){return s==null?t:Tl(s,u)}}var bw=Hu(),vw=Hu(!0);function Po(){return[]}function No(){return!1}function ww(){return{}}function kw(){return""}function Sw(){return!0}function Cw(s,u){if(s=lt(s),s<1||s>_e)return[];var g=ve,k=di(s,ve);u=je(u),s-=ve;for(var N=Ls(k,u);++g<s;)u(g);return N}function yw(s){return tt(s)?Ft(s,dn):Ui(s)?[s]:yi(nf(kt(s)))}function Pw(s){var u=++Mp;return kt(s)+u}var Nw=Fa(function(s,u){return s+u},0),Iw=to("ceil"),Tw=Fa(function(s,u){return s/u},1),Lw=to("floor");function Aw(s){return s&&s.length?Aa(s,Ii,Hs):t}function Ew(s,u){return s&&s.length?Aa(s,je(u,2),Hs):t}function Rw(s){return zo(s,Ii)}function Dw(s,u){return zo(s,je(u,2))}function Vw(s){return s&&s.length?Aa(s,Ii,Gs):t}function Ow(s,u){return s&&s.length?Aa(s,je(u,2),Gs):t}var Mw=Fa(function(s,u){return s*u},1),Fw=to("round"),Uw=Fa(function(s,u){return s-u},0);function Bw(s){return s&&s.length?Ts(s,Ii):0}function Hw(s,u){return s&&s.length?Ts(s,je(u,2)):0}return O.after=ov,O.ary=hf,O.assign=Qv,O.assignIn=Tf,O.assignInWith=Za,O.assignWith=Zv,O.at=Xv,O.before=_f,O.bind=ho,O.bindAll=iw,O.bindKey=pf,O.castArray=wv,O.chain=cf,O.chunk=L1,O.compact=A1,O.concat=E1,O.cond=nw,O.conforms=lw,O.constant=ko,O.countBy=Bb,O.create=$v,O.curry=mf,O.curryRight=bf,O.debounce=vf,O.defaults=xv,O.defaultsDeep=e0,O.defer=uv,O.delay=fv,O.difference=R1,O.differenceBy=D1,O.differenceWith=V1,O.drop=O1,O.dropRight=M1,O.dropRightWhile=F1,O.dropWhile=U1,O.fill=B1,O.filter=Wb,O.flatMap=Gb,O.flatMapDeep=Kb,O.flatMapDepth=jb,O.flatten=sf,O.flattenDeep=H1,O.flattenDepth=W1,O.flip=cv,O.flow=aw,O.flowRight=sw,O.fromPairs=z1,O.functions=s0,O.functionsIn=o0,O.groupBy=Jb,O.initial=G1,O.intersection=K1,O.intersectionBy=j1,O.intersectionWith=J1,O.invert=f0,O.invertBy=c0,O.invokeMap=Qb,O.iteratee=So,O.keyBy=Zb,O.keys=li,O.keysIn=Ni,O.map=Ga,O.mapKeys=g0,O.mapValues=h0,O.matches=ow,O.matchesProperty=uw,O.memoize=ja,O.merge=_0,O.mergeWith=Lf,O.method=fw,O.methodOf=cw,O.mixin=Co,O.negate=Ja,O.nthArg=gw,O.omit=p0,O.omitBy=m0,O.once=dv,O.orderBy=Xb,O.over=hw,O.overArgs=gv,O.overEvery=_w,O.overSome=pw,O.partial=_o,O.partialRight=wf,O.partition=$b,O.pick=b0,O.pickBy=Af,O.property=Ff,O.propertyOf=mw,O.pull=X1,O.pullAll=uf,O.pullAllBy=$1,O.pullAllWith=x1,O.pullAt=eb,O.range=bw,O.rangeRight=vw,O.rearg=hv,O.reject=tv,O.remove=tb,O.rest=_v,O.reverse=co,O.sampleSize=nv,O.set=w0,O.setWith=k0,O.shuffle=lv,O.slice=ib,O.sortBy=sv,O.sortedUniq=ub,O.sortedUniqBy=fb,O.split=G0,O.spread=pv,O.tail=cb,O.take=db,O.takeRight=gb,O.takeRightWhile=hb,O.takeWhile=_b,O.tap=Ab,O.throttle=mv,O.thru=qa,O.toArray=Pf,O.toPairs=Ef,O.toPairsIn=Rf,O.toPath=yw,O.toPlainObject=If,O.transform=S0,O.unary=bv,O.union=pb,O.unionBy=mb,O.unionWith=bb,O.uniq=vb,O.uniqBy=wb,O.uniqWith=kb,O.unset=C0,O.unzip=go,O.unzipWith=ff,O.update=y0,O.updateWith=P0,O.values=lr,O.valuesIn=N0,O.without=Sb,O.words=Of,O.wrap=vv,O.xor=Cb,O.xorBy=yb,O.xorWith=Pb,O.zip=Nb,O.zipObject=Ib,O.zipObjectDeep=Tb,O.zipWith=Lb,O.entries=Ef,O.entriesIn=Rf,O.extend=Tf,O.extendWith=Za,Co(O,O),O.add=Nw,O.attempt=Mf,O.camelCase=A0,O.capitalize=Df,O.ceil=Iw,O.clamp=I0,O.clone=kv,O.cloneDeep=Cv,O.cloneDeepWith=yv,O.cloneWith=Sv,O.conformsTo=Pv,O.deburr=Vf,O.defaultTo=rw,O.divide=Tw,O.endsWith=E0,O.eq=ln,O.escape=R0,O.escapeRegExp=D0,O.every=Hb,O.find=zb,O.findIndex=rf,O.findKey=t0,O.findLast=qb,O.findLastIndex=af,O.findLastKey=i0,O.floor=Lw,O.forEach=df,O.forEachRight=gf,O.forIn=n0,O.forInRight=l0,O.forOwn=r0,O.forOwnRight=a0,O.get=bo,O.gt=Nv,O.gte=Iv,O.has=u0,O.hasIn=vo,O.head=of,O.identity=Ii,O.includes=Yb,O.indexOf=q1,O.inRange=T0,O.invoke=d0,O.isArguments=El,O.isArray=tt,O.isArrayBuffer=Tv,O.isArrayLike=Pi,O.isArrayLikeObject=jt,O.isBoolean=Lv,O.isBuffer=al,O.isDate=Av,O.isElement=Ev,O.isEmpty=Rv,O.isEqual=Dv,O.isEqualWith=Vv,O.isError=po,O.isFinite=Ov,O.isFunction=Vn,O.isInteger=kf,O.isLength=Ya,O.isMap=Sf,O.isMatch=Mv,O.isMatchWith=Fv,O.isNaN=Uv,O.isNative=Bv,O.isNil=Wv,O.isNull=Hv,O.isNumber=Cf,O.isObject=Bt,O.isObjectLike=zt,O.isPlainObject=Ur,O.isRegExp=mo,O.isSafeInteger=zv,O.isSet=yf,O.isString=Qa,O.isSymbol=Ui,O.isTypedArray=nr,O.isUndefined=qv,O.isWeakMap=Gv,O.isWeakSet=Kv,O.join=Y1,O.kebabCase=V0,O.last=Yi,O.lastIndexOf=Q1,O.lowerCase=O0,O.lowerFirst=M0,O.lt=jv,O.lte=Jv,O.max=Aw,O.maxBy=Ew,O.mean=Rw,O.meanBy=Dw,O.min=Vw,O.minBy=Ow,O.stubArray=Po,O.stubFalse=No,O.stubObject=ww,O.stubString=kw,O.stubTrue=Sw,O.multiply=Mw,O.nth=Z1,O.noConflict=dw,O.noop=yo,O.now=Ka,O.pad=F0,O.padEnd=U0,O.padStart=B0,O.parseInt=H0,O.random=L0,O.reduce=xb,O.reduceRight=ev,O.repeat=W0,O.replace=z0,O.result=v0,O.round=Fw,O.runInContext=x,O.sample=iv,O.size=rv,O.snakeCase=q0,O.some=av,O.sortedIndex=nb,O.sortedIndexBy=lb,O.sortedIndexOf=rb,O.sortedLastIndex=ab,O.sortedLastIndexBy=sb,O.sortedLastIndexOf=ob,O.startCase=K0,O.startsWith=j0,O.subtract=Uw,O.sum=Bw,O.sumBy=Hw,O.template=J0,O.times=Cw,O.toFinite=On,O.toInteger=lt,O.toLength=Nf,O.toLower=Y0,O.toNumber=Qi,O.toSafeInteger=Yv,O.toString=kt,O.toUpper=Q0,O.trim=Z0,O.trimEnd=X0,O.trimStart=$0,O.truncate=x0,O.unescape=ew,O.uniqueId=Pw,O.upperCase=tw,O.upperFirst=wo,O.each=df,O.eachRight=gf,O.first=of,Co(O,function(){var s={};return fn(O,function(u,g){Ct.call(O.prototype,g)||(s[g]=u)}),s}(),{chain:!1}),O.VERSION=i,Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){O[s].placeholder=O}),Ut(["drop","take"],function(s,u){ct.prototype[s]=function(g){g=g===t?1:ei(lt(g),0);var k=this.__filtered__&&!u?new ct(this):this.clone();return k.__filtered__?k.__takeCount__=di(g,k.__takeCount__):k.__views__.push({size:di(g,ve),type:s+(k.__dir__<0?"Right":"")}),k},ct.prototype[s+"Right"]=function(g){return this.reverse()[s](g).reverse()}}),Ut(["filter","map","takeWhile"],function(s,u){var g=u+1,k=g==te||g==Q;ct.prototype[s]=function(N){var M=this.clone();return M.__iteratees__.push({iteratee:je(N,3),type:g}),M.__filtered__=M.__filtered__||k,M}}),Ut(["head","last"],function(s,u){var g="take"+(u?"Right":"");ct.prototype[s]=function(){return this[g](1).value()[0]}}),Ut(["initial","tail"],function(s,u){var g="drop"+(u?"":"Right");ct.prototype[s]=function(){return this.__filtered__?new ct(this):this[g](1)}}),ct.prototype.compact=function(){return this.filter(Ii)},ct.prototype.find=function(s){return this.filter(s).head()},ct.prototype.findLast=function(s){return this.reverse().find(s)},ct.prototype.invokeMap=st(function(s,u){return typeof s=="function"?new ct(this):this.map(function(g){return Rr(g,s,u)})}),ct.prototype.reject=function(s){return this.filter(Ja(je(s)))},ct.prototype.slice=function(s,u){s=lt(s);var g=this;return g.__filtered__&&(s>0||u<0)?new ct(g):(s<0?g=g.takeRight(-s):s&&(g=g.drop(s)),u!==t&&(u=lt(u),g=u<0?g.dropRight(-u):g.take(u-s)),g)},ct.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},ct.prototype.toArray=function(){return this.take(ve)},fn(ct.prototype,function(s,u){var g=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=O[k?"take"+(u=="last"?"Right":""):u],M=k||/^find/.test(u);N&&(O.prototype[u]=function(){var q=this.__wrapped__,K=k?[1]:arguments,ee=q instanceof ct,me=K[0],be=ee||tt(q),ye=function(ut){var gt=N.apply(O,xn([ut],K));return k&&Re?gt[0]:gt};be&&g&&typeof me=="function"&&me.length!=1&&(ee=be=!1);var Re=this.__chain__,ze=!!this.__actions__.length,Je=M&&!Re,at=ee&&!ze;if(!M&&be){q=at?q:new ct(this);var Ye=s.apply(q,K);return Ye.__actions__.push({func:qa,args:[ye],thisArg:t}),new Ki(Ye,Re)}return Je&&at?s.apply(this,K):(Ye=this.thru(ye),Je?k?Ye.value()[0]:Ye.value():Ye)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(s){var u=_a[s],g=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);O.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var M=this.value();return u.apply(tt(M)?M:[],N)}return this[g](function(q){return u.apply(tt(q)?q:[],N)})}}),fn(ct.prototype,function(s,u){var g=O[u];if(g){var k=g.name+"";Ct.call($l,k)||($l[k]=[]),$l[k].push({name:u,func:g})}}),$l[Ma(t,y).name]=[{name:"wrapper",func:t}],ct.prototype.clone=em,ct.prototype.reverse=tm,ct.prototype.value=im,O.prototype.at=Eb,O.prototype.chain=Rb,O.prototype.commit=Db,O.prototype.next=Vb,O.prototype.plant=Mb,O.prototype.reverse=Fb,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=Ub,O.prototype.first=O.prototype.head,Pr&&(O.prototype[Pr]=Ob),O},Ql=Dp();Mt?((Mt.exports=Ql)._=Ql,yt._=Ql):$e._=Ql}).call(Hr)})(ss,ss.exports);var qr=ss.exports;class D2{getNodePath(e,t){return e?we.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let i=new URL(e,"http://valid.url");const l=i.pathname+i.search+i.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let i=le.getPathWithoutHash(e);return i?(t&&(i.endsWith("/")&&(i=i.substring(0,i.length-1)),t.startsWith("/")||(i+="/"),i+=t),i):t}async navigateTo(e,t={}){const{nodeObject:i}=await Rt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Rt.shouldPreventNavigation(i)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),_=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=_?we.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const h=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":h;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return ae.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const i=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>i.length&&(t=l.slice(0,i.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("#/#","#"),i=we.getIntentPath(t.split("#")[1]);if(i)return i}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const i=window.location.hash.replace("#/#","").replace("#",""),l=we.getIntentPath(i);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=we.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ae.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&we.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ae.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(i=>location.href.match(i)).length!==0}handleUnsavedChangesModal(e,t,i,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,i,l,r)},()=>{})}resolveUnsavedChanges(e,t,i,l,r){e&&(this.handleRouteChange(e,t,i,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ae.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,i,l,r){const{children:a,intendToHaveEmptyViewUrl:o,compound:c}=e,_=a&&Array.isArray(a)&&a.length>0||a||!1;if(!c&&t.trim()===""&&!_&&!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."),!(i&&(i.viewUrl||i.currentNode&&i.currentNode.compound))){const d=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),h=await we.getDefaultChildNode(d);this.showPageNotFoundError(r,h,l),this.navigateTo(h)}return!0}return!1}async handlePageNotFound(e,t,i,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await we.getDefaultChildNode(i,async(_,d)=>await Rt.getChildren(_,d));if(i.isExistingRoute){const _=le.getTrimmedUrl(l);this.navigateTo(`${_?`/${_}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&i.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(i.matchedPath)+"/"+c,a,!0),!0;const _=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await we.getDefaultChildNode(_);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return i.isExistingRoute?!1:(this.showPageNotFoundError(r,i.matchedPath,a,!0),!0)}async handleRouteChange(e,t,i,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,i,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const _=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:h}=await Rt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,_,t)||await this.handlePageNotFound(d,p,h,o,t,_,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=we.parseParams(_.split("?")[1]),v=we.getNodeParams(m),C=ue.findViewGroup(d),y=decodeURIComponent(_.split("?")[1]||""),P=h.navigationPath&&h.navigationPath.length>0?h.navigationPath[h.navigationPath.length-1]:null;let I=!1,A=P;for(;A;){if(A.tabNav===!0){I=!0;break}else if(A.tabNav===!1){I=!1;break}else if(le.isObject(A.tabNav)){if(A.tabNav.showAsTabHeader){I=!0;break}if("hideTabNavAutomatically"in A.tabNav&&A.children)if(A.tabNav.hideTabNavAutomatically===!0&&A.children.length===1){I=!1;break}else{I=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}A=ue.getParentNode(A,h.navigationPath)}let D=P,V=d.hideSideNav;if(V===void 0)for(;D;){if(D.tabNav&&D.hideSideNav===!0){V=!0;break}if(D.hideSideNav===!1){V=!1;break}D=ue.getParentNode(D,h.navigationPath)}const F=we.substituteDynamicParamsInObject(Object.assign({},h.context,P.context),h.pathParams);h.navigationPath._context=F;const U={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:h.navigationPath,context:F,pathParams:h.pathParams,hideSideNav:V||!1,isolateView:d.isolateView||!1,tabNav:I};t.set(Object.assign({},U,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let E=document.getElementsByClassName("iframeContainer")[0];if(E&&(I?E.classList.add("iframeContainerTabNav"):E.classList.contains("iframeContainerTabNav")&&E.classList.remove("iframeContainerTabNav")),d.compound)an.switchActiveIframe(i,void 0,!1),E&&E.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)an.switchActiveIframe(i,void 0,!1),E&&E.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const j=document.querySelector(".wcContainer");if(j&&(j.configChangedRequest=!1),E&&(E.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await an.navigateIframe(l,t,i);else{const Z=t.get(),de=await t.prepareInternalData(l);Ae.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(Z.context),nodeParams:JSON.stringify(Z.nodeParams),pathParams:JSON.stringify(Z.pathParams),searchParams:JSON.stringify(we.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(de),withoutSync:!0})}}const Y=document.querySelector(".lui-tab-header");Y&&Y.dispatchEvent(new Event("lui_ctx_update")),Rt.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=we.getModalPathFromPath();if(e){const t=we.getModalParamsFromPath(),{nodeObject:i}=await Rt.extractDataFromPath(e);Y_.openAsModal(e,t||i.openNodeInModal)}}checkInvalidateCache(e,t){let i=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=i.length>a?i[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(we.isDynamicNode(c)){if(!r||o!==we.getDynamicNodeValue(c,e.pathParams)){Wi.deleteNodesRecursively(c);break}}else r=!1}}else Wi.deleteCache()}handleRouteClick(e,t){const i=we.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(i,e,t.get().pathParams);else if(e.link)this.navigateTo(i);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(i)){const r=Ae.getIframeContainer(),a=an.getActiveIframe(r);a&&a.vg&&an.canCache(a.vg)?(an.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{an.switchActiveIframe(Ae.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(i)}async showPageNotFoundError(e,t,i,l=!1,r={}){const a=we.getPageNotFoundRedirectResult(i,l),o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}we.showRouteNotFoundAlert(e,i,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,i){if(t){const l={...N2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.calculateNodeHref(t,i),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:i}=e;if(t){const l=we.substituteViewUrl(t,{context:i});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ur.generateWCId(l)}}navigateWebComponent(e,t){let i=document.querySelector(".wcContainer"),l=i._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!i.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}i.configChangedRequest=!1,i=this.removeLastChildFromWCContainer(),i&&ur.renderWebComponent(a.viewUrl,i,a,t)}navigateWebComponentCompound(e,t){const i=document.querySelector(".wcContainer");if(!i)return;const l=e.get();if(i._luigi_node===t&&qr.isEqual(i._luigi_pathParams,l.pathParams)&&!i.configChangedRequest)return;i.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>ue.checkVisibleForFeatureToggles(a))),ur.renderWebComponentCompound(t,i,l),i._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,i){let l=we.getHashQueryParamSeparator();const r=we.getQueryParams(),a=we.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){const _=location.hash.indexOf(l);_!==-1&&(o.hash=o.hash.slice(0,_)),o.hash=`${o.hash}${l}${we.encodeParams(r)}`}else o.search=`?${we.encodeParams(r)}`;i?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let i=we.getHashQueryParamSeparator();const l=we.getQueryParams(),r=we.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let _=history.state,d,h;if(c){let[p,b]=o.hash.split("?");d=p,h=we.getURLWithoutModalData(b,r),h&&(d+="?"+h)}else d=o.pathname,h=we.getURLWithoutModalData(o.search,r),h&&(d+="?"+we.getURLWithoutModalData(o.search,r));if(_=we.handleHistoryState(_,d),a!==e){if(l[r]=e,t&&Object.keys(t).length&&(l[`${r}Params`]=JSON.stringify(t)),c){const p=location.hash.indexOf(i);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${i}${we.encodeParams(l)}`}else o.search=`?${we.encodeParams(l)}`;history.pushState(_,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,h&&(p.hash+="?"+h)}else p.search=h;history.replaceState({},"",p.href),history.pushState(_,"",o.href)}}removeModalDataFromUrl(e){const t=we.getQueryParams(),i=we.getModalViewParamName();let l=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){let a={};t[i]&&(a[i]=t[i]),t[`${i}Params`]&&(a[`${i}Params`]=t[`${i}Params`]);let o=we.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(i),a.delete(`${i}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const it=new D2;class V2{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,i){e&&(e=we.substituteViewUrl(e,t));const l=Ae.createIframe(e,void 0,i.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const i=t&&t.length?le.getPathWithoutHash(t):"",l=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=we.parseParams(i.split("?")[1]),a=we.getNodeParams(r),o=we.getLastNodeObject(l),c=e.get().splitViewSettings;c.title||(c.title=o.label);const _=c.collapsed||!1;e.set({splitViewSettings:c,lastNode:o,pathData:l,nodeParams:a,collapsed:_,isDataPrepared:!0})}createAndSetView(e){const{nodeParams:t,lastNode:i,pathData:l}=e.get();if(i.webcomponent){ur.renderWebComponent(i.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},i,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(i.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 i=e||40,l=parseInt(le.computePxFromPercent(t,i)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:i,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const i=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ae.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(i,t.innerHeight-i,t)}enforceTresholds(e,t){const i=this.internalValues;return e<=i.thresholdTop?(e=i.thresholdTop,t=i.innerHeight-i.thresholdTop):t<=i.thresholdBottom&&(e=i.innerHeight-i.thresholdBottom,t=i.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(i.rightContentHeight,t)}}open(e,t,i){const l={displayed:!0,collapsed:i.collapsed===!0,nodepath:t,settings:i};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ae.getIframeContainer().style.marginBottom="",ot.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ae.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ae.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ae.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ot=new V2;class O2{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Yr.hideAppLoadingIndicator()},0)}}const M2=new O2;class F2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=ae.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const sn=new F2;class U2{constructor(){return this._userInfoStore=fr({}),this._loggedInStore=fr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ae.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ae.getConfigValue(`auth.${e}`),i=ul.parseUrlAuthErrors()||{};if(await ul.handleUrlAuthErrors(t,i.error,i.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=ul.getStoredAuthData();if(!t||!ul.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await hn.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(sl(this._userInfoStore))),le.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&sn.isNewlyAuthorized()&&await hn.handleAuthEvent("onAuthSuccessful",e,t),sn.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=>{sn.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ul.getStoredAuthData(),t=async l=>{await hn.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),sn.removeAuthData()},i=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);le.isFunction(i)?i(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 i=le.getConfigValueFromObject(t,"idpProvider");if(i){const r=await new i(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await hn.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 ai=new U2;class B2{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 i=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];i.searchParams.has(a.key)&&i.searchParams.delete(a.key);const o=a.valueFn();i.searchParams.append(a.key,o)}return t&&(i.search=decodeURIComponent(i.search)),i.href}}const Gr=new B2;class H2{getStoredAuthData(){return sn.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,i){return t?await hn.handleAuthEvent("onAuthError",e,{error:t,errorDescription:i},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+i):!0}}const ul=new H2;class W2{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 i=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<i.length;l++){const r=new RegExp(`<${i[l]}/>`,"g"),a=new RegExp(`<${i[l]} />`,"g"),o=new RegExp(`<${i[l]}>`,"g"),c=new RegExp(`<${i[l]} >`,"g"),_=new RegExp(`</${i[l]}[/]>`,"g"),d=new RegExp(`</${i[l]} [/]>`,"g"),h=new RegExp(`<[/]${i[l]}>`,"g"),p=new RegExp(`<[/]${i[l]} >`,"g");t=t.replace(r,`<${i[l]}>`).replace(a,`<${i[l]}>`).replace(o,`<${i[l]}>`).replace(c,`<${i[l]}>`).replace(_,`</${i[l]}>`).replace(d,`</${i[l]}>`).replace(h,`</${i[l]}>`).replace(p,`</${i[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,i){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const _=`_luigi_alert_${i}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),h=`<a id="${_}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,h),links:a.links.concat({elemId:_,url:c.url?encodeURI(this.sanitizeHtml(c.url)):void 0,dismissKey:c.dismissKey?encodeURI(this.sanitizeHtml(c.dismissKey)):void 0})}},r):r}}const dr=new W2;class z2{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(i=>{!i.vg&&i.tagName==="IFRAME"&&e.removeChild(i)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const i=t.get(),l=le.getUrlWithoutHash(i.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(i.viewUrl),a=i.previousNodeValues.viewGroup,o=i.viewGroup;if(l===r&&!a&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const i=t.get(),l=le.getUrlWithoutHash(i.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(i.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=i.previousNodeValues.viewGroup,_=i.viewGroup;if(c&&_&&c===_)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return l2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(i=>({id:i.luigi.id,container:i,active:le.isElementVisible(i),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),i=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||i||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 i=this.getLocation(e.luigi.viewUrl);i!==""&&e.contentWindow&&e.contentWindow.postMessage(t,i)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,i,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ae.getConfigValue("settings.customSandboxRules"),c=ae.getConfigValue("settings.allowRules"),_=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Gr.hasDecorators()?Gr.applyDecorators(e,i?i.decodeViewUrl:void 0):e,c&&(c.forEach((p,b)=>{c[b]=p+(p.indexOf(";")!=-1?"":";")}),d.allow=c.join(" ")),d.sandbox=_.join(" "),d.luigi={viewUrl:e,currentNode:i,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),i&&i.clientPermissions&&(d.luigi.clientPermissions=i.clientPermissions);const h=ae.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(h))try{h(d,t,i,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 i=[...Ae.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!i||!i.luigi||!i.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!i.luigi.nextViewUrl)return;const r=l?i.luigi.nextViewUrl:i.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return i}getSpecialIframeMessageSource(e,t){return Ae.specialIframeTypes.filter(i=>Ae.isMessageSource(e,t[i.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(i=>{i.getAttribute("oldTab")||i.setAttribute("oldTab",i.getAttribute("tabindex")),i!==e&&i.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const i=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),i&&i!=="null"&&t.setAttribute("tabindex",i)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(i=>{const l=!i.closest(e),r=i.getAttribute("tabindex");(r||r===0)&&l&&!i.hasAttribute("oldtab")&&i.setAttribute("oldtab",r),l&&i.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(i=>{const l=i.getAttribute("oldtab");!i.closest(e)&&i.removeAttribute("tabindex"),l&&l!=="null"&&(i.setAttribute("tabindex",l),i.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Fo.getActiveFeatureToggleList(),currentLocale:bt.getCurrentLocale(),currentTheme:Ro.getCurrentTheme()}}}const Ae=new z2;class q2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const i=t.shift();if(this.isObject(e)&&this.isObject(i))for(const l in i)this.isObject(i[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],i[l])):Object.assign(e,{[l]:i[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 i=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return i&&decodeURIComponent(i[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 i=0,l=e;const r=t.split(".");for(;l&&i<r.length;)l=l[r[i++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,i,l=!0){let r=e;return t&&(l?r=qr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(i)===0&&(o=o.substring(i.length)),qr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(i+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(i)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ae.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ae.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Un.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,i)=>(t[i]=e[i],t),{})||e}removeProperties(e,t){const i={};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&&(i[l]=e[l])}return i}semverCompare(e,t){const i=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(i[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 i=!!ae.getConfigValue("settings.experimental."+e);return t&&!i&&console.warn("Experimental feature not enabled: ",e),i}createRemotePromise(){let e,t;const i=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=ae._remotePromises;return l||(l={counter:0,promises:[]},ae._remotePromises=l),i.id=l.counter++,l.promises[i.id]=i,i.doResolve=r=>{delete l.promises[i.id],e(r)},i.doReject=()=>{delete l.promises[i.id],t()},i}getRemotePromise(e){return ae._remotePromises?ae._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new q2;class G2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ae.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,i;return le.isFunction(e.items)?i=e.items().length:i=e.items.length,t==="auto"?i<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(i=>{i&&(t+=(t?"_":"")+encodeURIComponent(i.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Fo.getActiveFeatureToggleList();for(const i of e.visibleForFeatureToggles)if(i.startsWith("!")){if(t.includes(i.slice(1)))return!1}else if(!t.includes(i))return!1}return!0}isNodeAccessPermitted(e,t,i){if(hn.isAuthorizationEnabled()){const r=ul.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ae.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,i)}applyContext(e,t,i){if(t)for(var l in t)e[l]=t[l];return i&&e.parentNavigationContexts.unshift(i),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,i){const l=ae.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=_=>{_.sort((d,h)=>{const p=d.order||0,b=h.order||0;return p-b})};return e.forEach(_=>{let d,h;const p=_[t];le.isObject(p)?(d=p.id?p.id:p.label,h=Object.assign({},p)):(d=p,i&&!p&&(d=this.virtualGroupPrefix+o),h={label:d,_fromString:!0});let b=r[d];b||(i&&p&&o++,(h.order===void 0||h.order===null||h.order==="")&&(h.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=h),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=_.parent?this.getNodePath(_.parent)+":"+d:d),_.hideFromNav||b.push(_)}),Object.keys(r).forEach(_=>{const d=r[_].metaInfo;d&&d.id&&(r[d.label]=r[d.id],delete r[d.id])}),Object.keys(r).forEach(_=>{c(r[_]),r[_].length===0&&delete r[_]}),r}generateTooltipText(e,t){let i=e.tooltipText;return i===void 0&&(i=ae.getConfigValue("navigation.defaults.tooltipText")),i===void 0?t:i===!1?"":bt.getTranslation(i)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Rt.getFilteredChildren(e[0]);let i=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!i&&b===d&&(i=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let h;const p=!!d.badgeCounter;if(p&&(h=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>h};else if(p){const m=a[b].badgeCounter.count()+h;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>h}},o.push(a[b]);a[b].children.push(d)}else o.push(d);h&&c.push(h)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Rt.getChildren(o[d])||[]);const _={children:o,selectedNode:i,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((h,p)=>h+p);_.totalBadgeNode={badgeCounter:{count:()=>d,label:""}}}return _}getSideNavAccordionMode(e){let t=e&&e.sideNavAccordionMode||e&&e.parent&&e.parent.sideNavAccordionMode;return typeof t<"u"?t:ae.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,i=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)i&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";it.navigateTo(t)}}getBurgerTooltipConfig(){const e=ae.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?bt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?bt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Rt.extractDataFromPath(e);return!!await Rt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,i){return!t||!e?i:qr.get(e,t,i)}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 i=this.getPropertyChainValue(e,t.titlePropertyChain);return i&&(i=i.trim()),i&&t.titleDecorator&&(i=t.titleDecorator.replace("%s",i)),{label:i||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((i,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){i(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(_=>{_.json().then(d=>{try{const h=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:h},i(h)}catch(h){l(h)}})}).catch(_=>{l(_)})}).catch(i=>{qr.reject(i)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=bt.getTranslation(e.label);const i=this.findViewGroup(e);if(i){const l=this.getViewGroupSettings(i)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let i=e.parent;return!i&&t.length>0&&t[1]===e&&(i=t[0]),i}getAllViewGroupSettings(){return ae.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:ue.prepareForTests(e.pathSegment,e.label)}}const ue=new G2;class K2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const i=e.navigationPath[e.navigationPath.length-1],l=t?await t(i,e.context):await ls.getConfigValueFromObjectAsync(i,"children",e.context),r=l.find(a=>a.pathSegment===i.defaultChildNode);if(i.defaultChildNode&&r)return i.defaultChildNode;if(l&&l.length){if(e.navigationPath.length===1){const c=l.find(_=>_.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={},i=e.replace(/\+/g," "),l=i?i.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 i in e)t.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return t.join("&")}getNodeParams(e){const t={},i=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(i)){const r=l[0].substr(i.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let i=e;return t&&Object.entries(t).forEach(([l,r])=>{i=i.replace(new RegExp(":"+l,"g"),r)}),i}getContentViewParamPrefix(){let e=ae.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ae.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ae.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=we.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?we.parseParams(we.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return we.getLocation().search?we.parseParams(we.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ae.getConfigBooleanValue("routing.useHashRouting")){const i=location.hash.indexOf(this.defaultQueryParamSeparator);return i!==-1?e+location.hash.slice(i):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=ae.getConfigValue("routing.useHashRouting");Ai.addEventListener("message",i=>{if(i.data.msg==="refreshRoute"&&i.origin===window.origin){const l=t?it.getHashPath():it.getModifiedPathname();e(l)}}),Ai.addEventListener("popstate",i=>{const l=t?it.getHashPath(location.href):it.getModifiedPathname();e(l,i.detail)})}buildRoute(e,t,i){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,i):t+(i?"?"+i:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,i){const l=i||"";if(e.externalLink&&e.externalLink.url){const a=e.externalLink.url,o={context:we.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:it.buildFromRelativePath(e);return l+a}const r=we.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const i=we.getRouteLink(e,t,ae.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(i.url)||i}getNodeHref(e,t){if(ae.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,i=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(i+c)>=0):Object.keys(t).find(c=>a===i+c);return[r,o?l?a.replace(i+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const i=le.trimLeadingSlash(e).split("/"),l=we.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(i.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(i[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+i[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}",i=bt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,i):e}substituteViewUrl(e,t){const i="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,i),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];ol.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ol.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,i)=>(t[dr.sanitizeParam(i[0])]=dr.sanitizeParam(i[1]),t),{})}setFeatureToggles(e,t){let i;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(i=l[e]),!i)return;const r=i.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Fo.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const i=t.split("?"),l=i[0].split("-"),r=Object.fromEntries(new URLSearchParams(i[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=ae.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const i=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(i);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=ae.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,_],d)=>{r+=`${d>0?"&"+o:""}${c}=${_}`})}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 i=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");i=i.replace(a,`/${r}/`)}return i=i.replace(/\/$/,""),i}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(i=>{i in ol.getSearchParams()&&e.clientPermissions.urlParameters[i].read===!0&&(t[i]=ol.getSearchParams()[i])}),t}addSearchParamsFromClient(e,t,i){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&&ol.addSearchParams(r,i)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const i=ae.getConfigValue("routing.pageNotFoundHandler");if(typeof i=="function"){const l=i(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,i){if(i)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,i=!1){const l={text:bt.getTranslation(i?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,i){for(const[l,r]of Object.entries(e)){const a=i?`${i}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,i){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);return this.modifySearchParams(e,o,i),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let i=new URLSearchParams(e);return i.delete(t),i.delete(`${t}Params`),i.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const we=new K2;class j2{optimizeScope(e){let t="";const i=[];return[...e].sort().forEach(l=>{l&&!i.includes(l)&&(!t||l.indexOf(t)!==0)&&(i.push(l),t=l)}),i}expandScope(e){const t=[];return e.forEach(i=>{let l="";i.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,i=[]){e.subscribe(t),this.expandScope(i).forEach(l=>{e.subscribeToScope(t,l)})}}const oi=new j2;class J2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(i=>!(i.type===e&&i.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Ai=new J2;class Y2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,i,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,i,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,i,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const i=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,i)}getItem(e,t){this.checkKey(t);const i=this.buildKey(e,t.key),l=this.storage.getItem(i);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 i=this.buildKey(e,t.key),l=this.storage.getItem(i);if(l)return this.storage.removeItem(i),l}clear(e,t){const i=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(i)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const i=this.buildKey(e,t.key);return!!this.storage.getItem(i)}getAllKeys(e,t){const i=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(i)).map(l=>l.substring(i.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,i,l){let r={msg:"storage",data:{id:t,status:i,result:l}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const Q2=new Y2;class Z2{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),i=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||i;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 i=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return i.setAttribute("userSettingsGroup",t),i.userSettingsGroup=t,l.appendChild(i),i}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 i=0;i<t.length;i++)if(t[i].contentWindow===e)return t[i];return null}}const sr=new Z2;class X2{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Gf=new X2;function Kf(n,e,t){const i=n.slice();return i[9]=e[t],i}function jf(n){let e,t,i=(n[9].dataSanitized?n[9].settings.text:"")+"",l,r,a,o,c,_;function d(){return n[4](n[9])}return{c(){e=S("div"),t=S("p"),l=z(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=z(),f(t,"class","fd-message-strip__text svelte-dkyena"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+n[1][n[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(h,p){L(h,e,p),w(e,t),t.innerHTML=i,w(e,l),w(e,r),w(e,a),c||(_=ne(r,"click",d),c=!0)},p(h,p){n=h,p&1&&i!==(i=(n[9].dataSanitized?n[9].settings.text:"")+"")&&(t.innerHTML=i),p&3&&o!==(o="fd-message-strip fd-message-strip--"+n[1][n[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena")&&f(e,"class",o)},d(h){h&&T(e),c=!1,_()}}}function $2(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=jf(Kf(n,t,l));return{c(){e=S("div");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-dkyena"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null);n[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Kf(l,t,a);i[a]?i[a].p(o,r):(i[a]=jf(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},i:He,o:He,d(l){l&&T(e),ft(i,l),n[5](null)}}}function x2(n,e,t){const i=Ht();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=pt("getUnsavedChangesModalPromise"),c=pt("handleNavigation");zi(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=dr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{_(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?i("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)}),Yt(()=>{});function _(p,b){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&i("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=>i("alertDismiss",{id:p.settings.id});function h(p){Xe[p?"unshift":"push"](()=>{a=p,t(2,a)})}return n.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,i,d,h]}class ek extends Et{constructor(e){super(),At(this,e,x2,$2,Nt,{alertQueue:0,alertTypeMap:1})}}const Vl=38,Bn=40,mn=13,_n=27,Kr=32,tk=36,ik=35;function Jf(n){let e,t;return{c(){e=S("i"),f(e,"class",t=Xi(n[3](n[0].icon))+" svelte-lzffuc")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t=Xi(i[3](i[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(i){i&&T(e)}}}function Yf(n){let e,t,i=n[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Te(i),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ne(t,"click",n[4]),r=!0)},p(o,c){c&1&&i!==(i=o[0].buttonConfirm+"")&&Le(l,i)},d(o){o&&T(e),r=!1,a()}}}function nk(n){let e,t,i,l,r,a,o,c=n[0].header+"",_,d,h,p=n[0].body+"",b,m,v,C,y,P,I=n[0].buttonDismiss+"",A,D,V,F,U,E=n[0].type&&Jf(n),Y=n[0].buttonConfirm!==!1&&Yf(n);return{c(){e=S("div"),t=S("section"),i=S("header"),l=S("div"),r=S("div"),E&&E.c(),a=z(),o=S("h2"),_=Te(c),d=z(),h=S("div"),b=z(),m=S("footer"),v=S("div"),Y&&Y.c(),C=z(),y=S("div"),P=S("button"),A=Te(I),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(i,"class","fd-bar fd-bar--header fd-message-box__header"),f(h,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",D="fd-button "+(n[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",V="fd-message-box-docs-static fd-message-box fd-message-box--"+n[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(j,Z){L(j,e,Z),w(e,t),w(t,i),w(i,l),w(l,r),E&&E.m(r,null),w(r,a),w(r,o),w(o,_),w(t,d),w(t,h),h.innerHTML=p,w(t,b),w(t,m),w(m,v),Y&&Y.m(v,null),w(v,C),w(v,y),w(y,P),w(P,A),F||(U=[ne(window,"keydown",n[1]),ne(P,"click",n[5])],F=!0)},p(j,[Z]){j[0].type?E?E.p(j,Z):(E=Jf(j),E.c(),E.m(r,a)):E&&(E.d(1),E=null),Z&1&&c!==(c=j[0].header+"")&&Le(_,c),Z&1&&p!==(p=j[0].body+"")&&(h.innerHTML=p),j[0].buttonConfirm!==!1?Y?Y.p(j,Z):(Y=Yf(j),Y.c(),Y.m(v,C)):Y&&(Y.d(1),Y=null),Z&1&&I!==(I=j[0].buttonDismiss+"")&&Le(A,I),Z&1&&D!==(D="fd-button "+(j[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",D),Z&1&&V!==(V="fd-message-box-docs-static fd-message-box fd-message-box--"+j[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",V)},i:He,o:He,d(j){j&&T(e),E&&E.d(),Y&&Y.d(),F=!1,Qe(U)}}}function lk(n,e,t){const i=Ht();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Yt(()=>{const d={icon:r[l.type],header:bt.getTranslation("luigi.confirmationModal.header"),body:bt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:bt.getTranslation("luigi.button.dismiss"),buttonConfirm:bt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:dr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const h=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${h}`).focus()}catch{console.warn(`Couldn't focus ${h} in modal`)}});function a(d){return ue.renderIconClassName(d)}function o(d){d.keyCode===_n&&i("modalDismiss")}const c=()=>i("modalConfirm"),_=()=>i("modalDismiss");return n.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,i,a,c,_]}class rk extends Et{constructor(e){super(),At(this,e,lk,nk,Nt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function ak(n){let e,t,i;const l=n[5].default,r=R_(l,n,n[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=n[0]+" "+(n[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),i=!0},p(a,[o]){r&&r.p&&(!i||o&16)&&O_(r,l,a,a[4],i?V_(l,a[4],o,null):M_(a[4]),null),(!i||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){i||(R(r,a),i=!0)},o(a){B(r,a),i=!1},d(a){a&&T(e),r&&r.d(a)}}}function sk(n,e,t){let{$$slots:i={},$$scope:l}=e;const r=Ht();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,_={},{area:d}=e,{disable:h}=e;const p=()=>{const m="lui-backdrop ";o?_.data&&_.data.heightCssClass?t(0,a=m+_.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 Yt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),Ai.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&h!==!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()))}))}),zi(()=>{o!==c&&(c=o,p())}),n.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,h=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,h,l,i]}class Ol extends Et{constructor(e){super(),At(this,e,sk,ak,Nt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Qf(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m;t=new Ol({props:{disable:n[2]}});let v=n[0].title&&Zf(n);return{c(){e=S("div"),Me(t.$$.fragment),i=z(),l=S("div"),r=S("div"),v&&v.c(),a=z(),o=S("div"),c=S("div"),_=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(_,"class","fd-button fd-button--transparent fd-button--compact"),f(_,"aria-label","close"),f(_,"data-testid",h=n[0].closebtn_data_testid&&n[5]?n[0].closebtn_data_testid:"lui-modal-index-"+n[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(C,y){L(C,e,y),Ve(t,e,null),w(e,i),w(e,l),w(l,r),v&&v.m(r,null),w(e,a),w(e,o),w(o,c),w(c,_),w(_,d),p=!0,b||(m=ne(_,"click",n[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=Zf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&h!==(h=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(_,"data-testid",h)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){B(t.$$.fragment,C),p=!1},d(C){C&&T(e),Oe(t),v&&v.d(),b=!1,m()}}}function Zf(n){let e,t=n[0].title+"",i;return{c(){e=S("h2"),i=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(i,t)},d(l){l&&T(e)}}}function Xf(n){let e;const t=n[10].default,i=R_(t,n,n[9],null);return{c(){i&&i.c()},m(l,r){i&&i.m(l,r),e=!0},p(l,r){i&&i.p&&(!e||r&512)&&O_(i,t,l,l[9],e?V_(t,l[9],r,null):M_(l[9]),null)},i(l){e||(R(i,l),e=!0)},o(l){B(i,l),e=!1},d(l){i&&i.d(l)}}}function $f(n){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
52
|
+
}`;var at=Mf(function(){return wt(M,ze+"return "+ye).apply(t,q)});if(at.source=ye,po(at))throw at;return at}function Y0(s){return kt(s).toLowerCase()}function Q0(s){return kt(s).toUpperCase()}function Z0(s,u,g){if(s=kt(s),s&&(g||u===t))return Go(s);if(!s||!(u=Fi(u)))return s;var k=tn(s),N=tn(u),M=Ko(k,N),q=jo(k,N)+1;return rl(k,M,q).join("")}function X0(s,u,g){if(s=kt(s),s&&(g||u===t))return s.slice(0,Yo(s)+1);if(!s||!(u=Fi(u)))return s;var k=tn(s),N=jo(k,tn(u))+1;return rl(k,0,N).join("")}function $0(s,u,g){if(s=kt(s),s&&(g||u===t))return s.replace(Si,"");if(!s||!(u=Fi(u)))return s;var k=tn(s),N=Ko(k,tn(u));return rl(k,N).join("")}function x0(s,u){var g=Z,k=j;if(Bt(u)){var N="separator"in u?u.separator:N;g="length"in u?lt(u.length):g,k="omission"in u?Fi(u.omission):k}s=kt(s);var M=s.length;if(Jl(s)){var q=tn(s);M=q.length}if(g>=M)return s;var K=g-Yl(k);if(K<1)return k;var ee=q?rl(q,0,K).join(""):s.slice(0,K);if(N===t)return ee+k;if(q&&(K+=ee.length-K),mo(N)){if(s.slice(K).search(N)){var me,be=ee;for(N.global||(N=Rs(N.source,kt(Gn.exec(N))+"g")),N.lastIndex=0;me=N.exec(be);)var ye=me.index;ee=ee.slice(0,ye===t?K:ye)}}else if(s.indexOf(Fi(N),K)!=K){var Re=ee.lastIndexOf(N);Re>-1&&(ee=ee.slice(0,Re))}return ee+k}function ew(s){return s=kt(s),s&&zn.test(s)?s.replace(Nn,Lp):s}var tw=tr(function(s,u,g){return s+(g?" ":"")+u.toUpperCase()}),wo=Mu("toUpperCase");function Of(s,u,g){return s=kt(s),u=g?t:u,u===t?yp(s)?Rp(s):_p(s):s.match(u)||[]}var Mf=st(function(s,u){try{return xt(s,t,u)}catch(g){return po(g)?g:new xe(g)}}),iw=Rn(function(s,u){return Ut(u,function(g){g=dn(g),An(s,g,ho(s[g],s))}),s});function nw(s){var u=s==null?0:s.length,g=je();return s=u?Ft(s,function(k){if(typeof k[1]!="function")throw new Gi(a);return[g(k[0]),k[1]]}):[],st(function(k){for(var N=-1;++N<u;){var M=s[N];if(xt(M[0],this,k))return xt(M[1],this,k)}})}function lw(s){return Lm(ji(s,_))}function ko(s){return function(){return s}}function rw(s,u){return s==null||s!==s?u:s}var aw=Uu(),sw=Uu(!0);function Ti(s){return s}function So(s){return hu(typeof s=="function"?s:ji(s,_))}function ow(s){return pu(ji(s,_))}function uw(s,u){return mu(s,ji(u,_))}var fw=st(function(s,u){return function(g){return Rr(g,s,u)}}),cw=st(function(s,u){return function(g){return Rr(s,g,u)}});function Co(s,u,g){var k=ri(u),N=Ea(u,k);g==null&&!(Bt(u)&&(N.length||!k.length))&&(g=u,u=s,s=this,N=Ea(u,ri(u)));var M=!(Bt(g)&&"chain"in g)||!!g.chain,q=Vn(s);return Ut(N,function(K){var ee=u[K];s[K]=ee,q&&(s.prototype[K]=function(){var me=this.__chain__;if(M||me){var be=s(this.__wrapped__),ye=be.__actions__=Pi(this.__actions__);return ye.push({func:ee,args:arguments,thisArg:s}),be.__chain__=me,be}return ee.apply(s,xn([this.value()],arguments))})}),s}function dw(){return $e._===this&&($e._=Up),this}function yo(){}function gw(s){return s=lt(s),st(function(u){return bu(u,s)})}var hw=eo(Ft),_w=eo(Bo),pw=eo(Ps);function Ff(s){return so(s)?Ns(dn(s)):jm(s)}function mw(s){return function(u){return s==null?t:Tl(s,u)}}var bw=Hu(),vw=Hu(!0);function Po(){return[]}function No(){return!1}function ww(){return{}}function kw(){return""}function Sw(){return!0}function Cw(s,u){if(s=lt(s),s<1||s>_e)return[];var g=ve,k=gi(s,ve);u=je(u),s-=ve;for(var N=Ls(k,u);++g<s;)u(g);return N}function yw(s){return tt(s)?Ft(s,dn):Ui(s)?[s]:Pi(nf(kt(s)))}function Pw(s){var u=++Mp;return kt(s)+u}var Nw=Fa(function(s,u){return s+u},0),Iw=to("ceil"),Tw=Fa(function(s,u){return s/u},1),Lw=to("floor");function Aw(s){return s&&s.length?Aa(s,Ti,Hs):t}function Ew(s,u){return s&&s.length?Aa(s,je(u,2),Hs):t}function Rw(s){return zo(s,Ti)}function Dw(s,u){return zo(s,je(u,2))}function Vw(s){return s&&s.length?Aa(s,Ti,Gs):t}function Ow(s,u){return s&&s.length?Aa(s,je(u,2),Gs):t}var Mw=Fa(function(s,u){return s*u},1),Fw=to("round"),Uw=Fa(function(s,u){return s-u},0);function Bw(s){return s&&s.length?Ts(s,Ti):0}function Hw(s,u){return s&&s.length?Ts(s,je(u,2)):0}return O.after=ov,O.ary=hf,O.assign=Qv,O.assignIn=Tf,O.assignInWith=Za,O.assignWith=Zv,O.at=Xv,O.before=_f,O.bind=ho,O.bindAll=iw,O.bindKey=pf,O.castArray=wv,O.chain=cf,O.chunk=L1,O.compact=A1,O.concat=E1,O.cond=nw,O.conforms=lw,O.constant=ko,O.countBy=Bb,O.create=$v,O.curry=mf,O.curryRight=bf,O.debounce=vf,O.defaults=xv,O.defaultsDeep=e0,O.defer=uv,O.delay=fv,O.difference=R1,O.differenceBy=D1,O.differenceWith=V1,O.drop=O1,O.dropRight=M1,O.dropRightWhile=F1,O.dropWhile=U1,O.fill=B1,O.filter=Wb,O.flatMap=Gb,O.flatMapDeep=Kb,O.flatMapDepth=jb,O.flatten=sf,O.flattenDeep=H1,O.flattenDepth=W1,O.flip=cv,O.flow=aw,O.flowRight=sw,O.fromPairs=z1,O.functions=s0,O.functionsIn=o0,O.groupBy=Jb,O.initial=G1,O.intersection=K1,O.intersectionBy=j1,O.intersectionWith=J1,O.invert=f0,O.invertBy=c0,O.invokeMap=Qb,O.iteratee=So,O.keyBy=Zb,O.keys=ri,O.keysIn=Ii,O.map=Ga,O.mapKeys=g0,O.mapValues=h0,O.matches=ow,O.matchesProperty=uw,O.memoize=ja,O.merge=_0,O.mergeWith=Lf,O.method=fw,O.methodOf=cw,O.mixin=Co,O.negate=Ja,O.nthArg=gw,O.omit=p0,O.omitBy=m0,O.once=dv,O.orderBy=Xb,O.over=hw,O.overArgs=gv,O.overEvery=_w,O.overSome=pw,O.partial=_o,O.partialRight=wf,O.partition=$b,O.pick=b0,O.pickBy=Af,O.property=Ff,O.propertyOf=mw,O.pull=X1,O.pullAll=uf,O.pullAllBy=$1,O.pullAllWith=x1,O.pullAt=eb,O.range=bw,O.rangeRight=vw,O.rearg=hv,O.reject=tv,O.remove=tb,O.rest=_v,O.reverse=co,O.sampleSize=nv,O.set=w0,O.setWith=k0,O.shuffle=lv,O.slice=ib,O.sortBy=sv,O.sortedUniq=ub,O.sortedUniqBy=fb,O.split=G0,O.spread=pv,O.tail=cb,O.take=db,O.takeRight=gb,O.takeRightWhile=hb,O.takeWhile=_b,O.tap=Ab,O.throttle=mv,O.thru=qa,O.toArray=Pf,O.toPairs=Ef,O.toPairsIn=Rf,O.toPath=yw,O.toPlainObject=If,O.transform=S0,O.unary=bv,O.union=pb,O.unionBy=mb,O.unionWith=bb,O.uniq=vb,O.uniqBy=wb,O.uniqWith=kb,O.unset=C0,O.unzip=go,O.unzipWith=ff,O.update=y0,O.updateWith=P0,O.values=lr,O.valuesIn=N0,O.without=Sb,O.words=Of,O.wrap=vv,O.xor=Cb,O.xorBy=yb,O.xorWith=Pb,O.zip=Nb,O.zipObject=Ib,O.zipObjectDeep=Tb,O.zipWith=Lb,O.entries=Ef,O.entriesIn=Rf,O.extend=Tf,O.extendWith=Za,Co(O,O),O.add=Nw,O.attempt=Mf,O.camelCase=A0,O.capitalize=Df,O.ceil=Iw,O.clamp=I0,O.clone=kv,O.cloneDeep=Cv,O.cloneDeepWith=yv,O.cloneWith=Sv,O.conformsTo=Pv,O.deburr=Vf,O.defaultTo=rw,O.divide=Tw,O.endsWith=E0,O.eq=ln,O.escape=R0,O.escapeRegExp=D0,O.every=Hb,O.find=zb,O.findIndex=rf,O.findKey=t0,O.findLast=qb,O.findLastIndex=af,O.findLastKey=i0,O.floor=Lw,O.forEach=df,O.forEachRight=gf,O.forIn=n0,O.forInRight=l0,O.forOwn=r0,O.forOwnRight=a0,O.get=bo,O.gt=Nv,O.gte=Iv,O.has=u0,O.hasIn=vo,O.head=of,O.identity=Ti,O.includes=Yb,O.indexOf=q1,O.inRange=T0,O.invoke=d0,O.isArguments=El,O.isArray=tt,O.isArrayBuffer=Tv,O.isArrayLike=Ni,O.isArrayLikeObject=Jt,O.isBoolean=Lv,O.isBuffer=al,O.isDate=Av,O.isElement=Ev,O.isEmpty=Rv,O.isEqual=Dv,O.isEqualWith=Vv,O.isError=po,O.isFinite=Ov,O.isFunction=Vn,O.isInteger=kf,O.isLength=Ya,O.isMap=Sf,O.isMatch=Mv,O.isMatchWith=Fv,O.isNaN=Uv,O.isNative=Bv,O.isNil=Wv,O.isNull=Hv,O.isNumber=Cf,O.isObject=Bt,O.isObjectLike=qt,O.isPlainObject=Ur,O.isRegExp=mo,O.isSafeInteger=zv,O.isSet=yf,O.isString=Qa,O.isSymbol=Ui,O.isTypedArray=nr,O.isUndefined=qv,O.isWeakMap=Gv,O.isWeakSet=Kv,O.join=Y1,O.kebabCase=V0,O.last=Yi,O.lastIndexOf=Q1,O.lowerCase=O0,O.lowerFirst=M0,O.lt=jv,O.lte=Jv,O.max=Aw,O.maxBy=Ew,O.mean=Rw,O.meanBy=Dw,O.min=Vw,O.minBy=Ow,O.stubArray=Po,O.stubFalse=No,O.stubObject=ww,O.stubString=kw,O.stubTrue=Sw,O.multiply=Mw,O.nth=Z1,O.noConflict=dw,O.noop=yo,O.now=Ka,O.pad=F0,O.padEnd=U0,O.padStart=B0,O.parseInt=H0,O.random=L0,O.reduce=xb,O.reduceRight=ev,O.repeat=W0,O.replace=z0,O.result=v0,O.round=Fw,O.runInContext=x,O.sample=iv,O.size=rv,O.snakeCase=q0,O.some=av,O.sortedIndex=nb,O.sortedIndexBy=lb,O.sortedIndexOf=rb,O.sortedLastIndex=ab,O.sortedLastIndexBy=sb,O.sortedLastIndexOf=ob,O.startCase=K0,O.startsWith=j0,O.subtract=Uw,O.sum=Bw,O.sumBy=Hw,O.template=J0,O.times=Cw,O.toFinite=On,O.toInteger=lt,O.toLength=Nf,O.toLower=Y0,O.toNumber=Qi,O.toSafeInteger=Yv,O.toString=kt,O.toUpper=Q0,O.trim=Z0,O.trimEnd=X0,O.trimStart=$0,O.truncate=x0,O.unescape=ew,O.uniqueId=Pw,O.upperCase=tw,O.upperFirst=wo,O.each=df,O.eachRight=gf,O.first=of,Co(O,function(){var s={};return fn(O,function(u,g){Ct.call(O.prototype,g)||(s[g]=u)}),s}(),{chain:!1}),O.VERSION=i,Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(s){O[s].placeholder=O}),Ut(["drop","take"],function(s,u){ct.prototype[s]=function(g){g=g===t?1:ti(lt(g),0);var k=this.__filtered__&&!u?new ct(this):this.clone();return k.__filtered__?k.__takeCount__=gi(g,k.__takeCount__):k.__views__.push({size:gi(g,ve),type:s+(k.__dir__<0?"Right":"")}),k},ct.prototype[s+"Right"]=function(g){return this.reverse()[s](g).reverse()}}),Ut(["filter","map","takeWhile"],function(s,u){var g=u+1,k=g==te||g==Y;ct.prototype[s]=function(N){var M=this.clone();return M.__iteratees__.push({iteratee:je(N,3),type:g}),M.__filtered__=M.__filtered__||k,M}}),Ut(["head","last"],function(s,u){var g="take"+(u?"Right":"");ct.prototype[s]=function(){return this[g](1).value()[0]}}),Ut(["initial","tail"],function(s,u){var g="drop"+(u?"":"Right");ct.prototype[s]=function(){return this.__filtered__?new ct(this):this[g](1)}}),ct.prototype.compact=function(){return this.filter(Ti)},ct.prototype.find=function(s){return this.filter(s).head()},ct.prototype.findLast=function(s){return this.reverse().find(s)},ct.prototype.invokeMap=st(function(s,u){return typeof s=="function"?new ct(this):this.map(function(g){return Rr(g,s,u)})}),ct.prototype.reject=function(s){return this.filter(Ja(je(s)))},ct.prototype.slice=function(s,u){s=lt(s);var g=this;return g.__filtered__&&(s>0||u<0)?new ct(g):(s<0?g=g.takeRight(-s):s&&(g=g.drop(s)),u!==t&&(u=lt(u),g=u<0?g.dropRight(-u):g.take(u-s)),g)},ct.prototype.takeRightWhile=function(s){return this.reverse().takeWhile(s).reverse()},ct.prototype.toArray=function(){return this.take(ve)},fn(ct.prototype,function(s,u){var g=/^(?:filter|find|map|reject)|While$/.test(u),k=/^(?:head|last)$/.test(u),N=O[k?"take"+(u=="last"?"Right":""):u],M=k||/^find/.test(u);N&&(O.prototype[u]=function(){var q=this.__wrapped__,K=k?[1]:arguments,ee=q instanceof ct,me=K[0],be=ee||tt(q),ye=function(ut){var gt=N.apply(O,xn([ut],K));return k&&Re?gt[0]:gt};be&&g&&typeof me=="function"&&me.length!=1&&(ee=be=!1);var Re=this.__chain__,ze=!!this.__actions__.length,Je=M&&!Re,at=ee&&!ze;if(!M&&be){q=at?q:new ct(this);var Ye=s.apply(q,K);return Ye.__actions__.push({func:qa,args:[ye],thisArg:t}),new Ki(Ye,Re)}return Je&&at?s.apply(this,K):(Ye=this.thru(ye),Je?k?Ye.value()[0]:Ye.value():Ye)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(s){var u=_a[s],g=/^(?:push|sort|unshift)$/.test(s)?"tap":"thru",k=/^(?:pop|shift)$/.test(s);O.prototype[s]=function(){var N=arguments;if(k&&!this.__chain__){var M=this.value();return u.apply(tt(M)?M:[],N)}return this[g](function(q){return u.apply(tt(q)?q:[],N)})}}),fn(ct.prototype,function(s,u){var g=O[u];if(g){var k=g.name+"";Ct.call($l,k)||($l[k]=[]),$l[k].push({name:u,func:g})}}),$l[Ma(t,y).name]=[{name:"wrapper",func:t}],ct.prototype.clone=em,ct.prototype.reverse=tm,ct.prototype.value=im,O.prototype.at=Eb,O.prototype.chain=Rb,O.prototype.commit=Db,O.prototype.next=Vb,O.prototype.plant=Mb,O.prototype.reverse=Fb,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=Ub,O.prototype.first=O.prototype.head,Pr&&(O.prototype[Pr]=Ob),O},Ql=Dp();Mt?((Mt.exports=Ql)._=Ql,yt._=Ql):$e._=Ql}).call(Hr)})(ss,ss.exports);var qr=ss.exports;class D2{getNodePath(e,t){return e?we.buildRoute(e,e.pathSegment?"/"+e.pathSegment:"",t):""}normalizePath(e){const t=e.indexOf("/")===0;let i=new URL(e,"http://valid.url");const l=i.pathname+i.search+i.hash;return!t&&l.indexOf("/")===0?l.substr(1):l}concatenatePath(e,t){let i=le.getPathWithoutHash(e);return i?(t&&(i.endsWith("/")&&(i=i.substring(0,i.length-1)),t.startsWith("/")||(i+="/"),i+=t),i):t}async navigateTo(e,t={}){const{nodeObject:i}=await Rt.extractDataFromPath(e),{keepBrowserHistory:l=!0,navSync:r=!0,preventContextUpdate:a=!1}=t;if(await Rt.shouldPreventNavigation(i)||le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(e))return;const c=ae.getConfigValue("routing.useHashRouting"),h=ae.getConfigValue("routing.preserveQueryParams");let d=new URL(location.href);e=h?we.composeSearchParamsToRoute(e):e,c&&(d.hash=e);const _=l?"pushState":"replaceState",p=ae.getConfigValue("routing.disableBrowserHistory")?"replaceState":_;window.history[p]({path:c?d.hash:e},"",c?d.hash:e);const b={detail:{preventContextUpdate:a,withoutSync:!r}},m=new CustomEvent("popstate",b);window.dispatchEvent(m)}getWindowPath(){return ae.getConfigValue("routing.useHashRouting")?le.getPathWithoutHash(window.location.hash):window.location.pathname+window.location.search}buildFromRelativePath(e){let t=this.getWindowPath();if(e.parent&&e.parent.pathSegment){const i=le.trimLeadingSlash(this.getNodePath(e.parent)).split("/"),l=le.trimLeadingSlash(t).split("/");l.length>i.length&&(t=l.slice(0,i.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("#/#","#"),i=we.getIntentPath(t.split("#")[1]);if(i)return i}return e.split("#/")[1]}getModifiedPathname(){if(window.location.hash&&/\?intent=/i.test(window.location.hash)){const i=window.location.hash.replace("#/#","").replace("#",""),l=we.getIntentPath(i);return l||"/"}const e=window.location.search?window.location.search:"";return(window.history.state&&window.history.state.path||window.location.pathname+e).split("/").slice(1).join("/")}getCurrentPath(){if(/\?intent=/i.test(window.location.hash)){const e=window.location.hash.replace("#/#","").replace("#",""),t=we.getIntentPath(e);if(t)return Luigi.getConfigValue("routing.replaceIntentRoute")&&history.replaceState(window.state,"",t),t}return ae.getConfigValue("routing.useHashRouting")?window.location.hash.replace("#",""):window.location.search?le.trimLeadingSlash(window.location.pathname)+window.location.search:le.trimLeadingSlash(window.location.pathname)}setFeatureToggle(e){const t=ae.getConfigValue("settings.featureToggles.queryStringParam");t&&typeof e=="string"&&we.setFeatureToggles(t,e)}shouldSkipRoutingForUrlPatterns(){const e=[/access_token=/,/id_token=/];return(ae.getConfigValue("routing.skipRoutingForUrlPatterns")||e).filter(i=>location.href.match(i)).length!==0}handleUnsavedChangesModal(e,t,i,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,i,l,r)},()=>{})}resolveUnsavedChanges(e,t,i,l,r){e&&(this.handleRouteChange(e,t,i,l),history.replaceState(window.state,"",r))}async shouldShowModalPathInUrl(){ae.getConfigValue("routing.showModalPathInUrl")&&await this.handleBookmarkableModalPath()}async handleViewUrlMisconfigured(e,t,i,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."),!(i&&(i.viewUrl||i.currentNode&&i.currentNode.compound))){const d=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),_=await we.getDefaultChildNode(d);this.showPageNotFoundError(r,_,l),this.navigateTo(_)}return!0}return!1}async handlePageNotFound(e,t,i,l,r,a,o){if(!t&&!e.compound||e.tabNav&&e.tabNav.showAsTabHeader){const c=await we.getDefaultChildNode(i,async(h,d)=>await Rt.getChildren(h,d));if(i.isExistingRoute){const h=le.getTrimmedUrl(l);this.navigateTo(`${h?`/${h}`:""}/${c}`,{keepBrowserHistory:!1}),r.set({navigationPath:[]})}else{if(c&&i.navigationPath.length>1)return this.showPageNotFoundError(r,le.trimTrailingSlash(i.matchedPath)+"/"+c,a,!0),!0;const h=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),"/"),d=await we.getDefaultChildNode(h);this.showPageNotFoundError(r,d,a,!1,o)}return!0}return i.isExistingRoute?!1:(this.showPageNotFoundError(r,i.matchedPath,a,!0),!0)}async handleRouteChange(e,t,i,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,i,l);return}await this.shouldShowModalPathInUrl();const c=t.get();this.checkInvalidateCache(c,o);const h=o&&o.length?le.getPathWithoutHash(o):"",{nodeObject:d,pathData:_}=await Rt.extractDataFromPath(o),p=d.viewUrl||"";if(await this.handleViewUrlMisconfigured(d,p,c,h,t)||await this.handlePageNotFound(d,p,_,o,t,h,l))return;const b=ae.getConfigBooleanValue("settings.hideNavigation"),m=we.parseParams(h.split("?")[1]),v=we.getNodeParams(m),C=ue.findViewGroup(d),y=decodeURIComponent(h.split("?")[1]||""),P=_.navigationPath&&_.navigationPath.length>0?_.navigationPath[_.navigationPath.length-1]:null;let A=!1,T=P;for(;T;){if(T.tabNav===!0){A=!0;break}else if(T.tabNav===!1){A=!1;break}else if(le.isObject(T.tabNav)){if(T.tabNav.showAsTabHeader){A=!0;break}if("hideTabNavAutomatically"in T.tabNav&&T.children)if(T.tabNav.hideTabNavAutomatically===!0&&T.children.length===1){A=!1;break}else{A=!0;break}else console.warn("tabNav:{hideTabNavAutomatically:true|false} is not configured correctly.")}T=ue.getParentNode(T,_.navigationPath)}let V=P,E=d.hideSideNav;if(E===void 0)for(;V;){if(V.tabNav&&V.hideSideNav===!0){E=!0;break}if(V.hideSideNav===!1){E=!1;break}V=ue.getParentNode(V,_.navigationPath)}const U=we.substituteDynamicParamsInObject(Object.assign({},_.context,P.context),_.pathParams);_.navigationPath._context=U;const F={hideNav:b,viewUrl:p,nodeParams:v,viewGroup:C,urlParamsRaw:y,currentNode:P,navigationPath:_.navigationPath,context:U,pathParams:_.pathParams,hideSideNav:E||!1,isolateView:d.isolateView||!1,tabNav:A};t.set(Object.assign({},F,{previousNodeValues:c?{viewUrl:c.viewUrl,isolateView:c.isolateView,viewGroup:c.viewGroup}:{}}));let D=document.getElementsByClassName("iframeContainer")[0];if(D&&(A?D.classList.add("iframeContainerTabNav"):D.classList.contains("iframeContainerTabNav")&&D.classList.remove("iframeContainerTabNav")),d.compound)an.switchActiveIframe(i,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponentCompound(t,d);else if(d.webcomponent)an.switchActiveIframe(i,void 0,!1),D&&D.classList.add("lui-webComponent"),this.navigateWebComponent(t,d);else{const j=document.querySelector(".wcContainer");if(j&&(j.configChangedRequest=!1),D&&(D.classList.remove("lui-webComponent"),this.removeLastChildFromWCContainer()),!a)if(!r)await an.navigateIframe(l,t,i);else{const Q=t.get(),de=await t.prepareInternalData(l);Ae.sendMessageToIframe(l.iframe,{msg:"luigi.navigate",viewUrl:p,context:JSON.stringify(Q.context),nodeParams:JSON.stringify(Q.nodeParams),pathParams:JSON.stringify(Q.pathParams),searchParams:JSON.stringify(we.prepareSearchParamsForClient(l.iframe.luigi.currentNode)),internal:JSON.stringify(de),withoutSync:!0})}}const Z=document.querySelector(".lui-tab-header");Z&&Z.dispatchEvent(new Event("lui_ctx_update")),Rt.onNodeChange(c.currentNode,P)}catch(c){console.info("Could not handle route change",c)}}}async handleBookmarkableModalPath(){const e=we.getModalPathFromPath();if(e){const t=we.getModalParamsFromPath(),{nodeObject:i}=await Rt.extractDataFromPath(e);Y_.openAsModal(e,t||i.openNodeInModal)}}checkInvalidateCache(e,t){let i=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=i.length>a?i[a]:void 0,c=l[a];if(o!==c.pathSegment||!r)if(we.isDynamicNode(c)){if(!r||o!==we.getDynamicNodeValue(c,e.pathParams)){Wi.deleteNodesRecursively(c);break}}else r=!1}}else Wi.deleteCache()}handleRouteClick(e,t){const i=we.getRouteLink(e,t.get().pathParams);if(e.externalLink&&e.externalLink.url)this.navigateToExternalLink(i,e,t.get().pathParams);else if(e.link)this.navigateTo(i);else if(le.trimLeadingSlash(this.getWindowPath())===le.trimLeadingSlash(i)){const r=Ae.getIframeContainer(),a=an.getActiveIframe(r);a&&a.vg&&an.canCache(a.vg)?(an.switchActiveIframe(Ae.getIframeContainer(),void 0,!1),setTimeout(()=>{an.switchActiveIframe(Ae.getIframeContainer(),a,!1),window.postMessage({msg:"refreshRoute"},"*")})):(a&&r.removeChild(a),window.postMessage({msg:"refreshRoute"},"*"))}else this.navigateTo(i)}async showPageNotFoundError(e,t,i,l=!1,r={}){const a=we.getPageNotFoundRedirectResult(i,l),o=a.path;if(o){a.keepURL?this.handleRouteChange(o,e,Ae.getIframeContainer(),r):this.navigateTo(o);return}we.showRouteNotFoundAlert(e,i,l),this.navigateTo(le.addLeadingSlash(t))}navigateToLink(e){e.externalLink&&e.externalLink.url?this.navigateToExternalLink(e.externalLink):this.navigateTo(e.link)}navigateToExternalLink(e,t,i){if(t){const l={...N2.externalLink,...(t==null?void 0:t.externalLink)||{}};l.url=we.calculateNodeHref(t,i),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:i}=e;if(t){const l=we.substituteViewUrl(t,{context:i});return e.webcomponent&&e.webcomponent.tagName?e.webcomponent.tagName:ur.generateWCId(l)}}navigateWebComponent(e,t){let i=document.querySelector(".wcContainer"),l=i._luigi_node;const r=this.getGeneratedWCId(t),a=e.get();if(t===l&&!i.configChangedRequest){const o=document.querySelector(r);o.context=a.context,o.extendedContext&&(o.extendedContext.nodeParams=a.nodeParams);return}i.configChangedRequest=!1,i=this.removeLastChildFromWCContainer(),i&&ur.renderWebComponent(a.viewUrl,i,a,t)}navigateWebComponentCompound(e,t){const i=document.querySelector(".wcContainer");if(!i)return;const l=e.get();if(i._luigi_node===t&&qr.isEqual(i._luigi_pathParams,l.pathParams)&&!i.configChangedRequest)return;i.configChangedRequest=!1;const{compound:r}=t;this.removeLastChildFromWCContainer(),r&&r.children&&(r.children=r.children.filter(a=>ue.checkVisibleForFeatureToggles(a))),ur.renderWebComponentCompound(t,i,l),i._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,i){let l=we.getHashQueryParamSeparator();const r=we.getQueryParams(),a=we.getModalViewParamName();r[a]=e,t&&Object.keys(t).length&&(r[`${a}Params`]=JSON.stringify(t));const o=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){const h=location.hash.indexOf(l);h!==-1&&(o.hash=o.hash.slice(0,h)),o.hash=`${o.hash}${l}${we.encodeParams(r)}`}else o.search=`?${we.encodeParams(r)}`;i?history.pushState(window.state,"",o.href):history.replaceState(window.state,"",o.href)}appendModalDataToUrl(e,t){let i=we.getHashQueryParamSeparator();const l=we.getQueryParams(),r=we.getModalViewParamName(),a=l[r],o=new URL(location.href),c=ae.getConfigBooleanValue("routing.useHashRouting");let h=history.state,d,_;if(c){let[p,b]=o.hash.split("?");d=p,_=we.getURLWithoutModalData(b,r),_&&(d+="?"+_)}else d=o.pathname,_=we.getURLWithoutModalData(o.search,r),_&&(d+="?"+we.getURLWithoutModalData(o.search,r));if(h=we.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(i);p!==-1&&(o.hash=o.hash.slice(0,p)),o.hash=`${o.hash}${i}${we.encodeParams(l)}`}else o.search=`?${we.encodeParams(l)}`;history.pushState(h,"",o.href)}else{const p=new URL(o);if(c){let b=p.hash.split("?")[0];p.hash=b,_&&(p.hash+="?"+_)}else p.search=_;history.replaceState({},"",p.href),history.pushState(h,"",o.href)}}removeModalDataFromUrl(e){const t=we.getQueryParams(),i=we.getModalViewParamName();let l=new URL(location.href);if(ae.getConfigBooleanValue("routing.useHashRouting")){let a={};t[i]&&(a[i]=t[i]),t[`${i}Params`]&&(a[`${i}Params`]=t[`${i}Params`]);let o=we.encodeParams(a);l.hash.includes(`?${o}`)?l.hash=l.hash.replace(`?${o}`,""):l.hash.includes(`&${o}`)&&(l.hash=l.hash.replace(`&${o}`,""))}else{let a=new URLSearchParams(l.search.slice(1));a.delete(i),a.delete(`${i}Params`);let o="";Array.from(a.keys()).forEach(c=>{o+=(o===""?"?":"&")+c+"="+a.get(c)}),l.search=o}if(history.state&&history.state.modalHistoryLength>=0&&e){history.state.modalHistoryLength;const a=history.state.pathBeforeHistory;let o=!1;if(window.addEventListener("popstate",c=>{o?(history.replaceState({},"",a),history.pushState({},"",a),history.back()):(history.pushState({},"",a),history.back())},{once:!0}),history.state.historygap===history.length-history.state.modalHistoryLength)history.go(-history.state.modalHistoryLength);else if(history.state.modalHistoryLength>history.length){const c=history.length-1;o=!0,history.go(-c),window.Luigi.preventLoadingModalData=!0}else{const c=history.state.modalHistoryLength;history.go(-c)}}else history.pushState({},"",l.href)}}const it=new D2;class V2{constructor(){this.splitViewValues,this.internalValues={innerHeight:null,rightContentHeight:null,thresholdTop:null,thresholdBottom:null,m_pos_prev:null}}getContainer(){return document.getElementById("splitViewContainer")}getDragger(){return document.getElementById("splitViewDragger")}getDraggerButton(){return document.querySelector("#splitViewDragger>.lui-collapse-btn")}getCollapsedDraggerButton(){return document.querySelector("#splitViewDraggerCollapsed>.lui-collapse-btn")}getDraggerBackdrop(){return document.getElementById("splitViewDraggerBackdrop")}getDefaultData(){return{mfSplitView:{displayed:!1,settings:{}}}}setIframe(e,t,i){e&&(e=we.substituteViewUrl(e,t));const l=Ae.createIframe(e,void 0,i.get().lastNode,"split-view",t);return document.querySelector(".iframeSplitViewCnt").appendChild(l),l}async prepareSplitViewData(e,t){const i=t&&t.length?le.getPathWithoutHash(t):"",l=await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),t),r=we.parseParams(i.split("?")[1]),a=we.getNodeParams(r),o=we.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:i,pathData:l}=e.get();if(i.webcomponent){ur.renderWebComponent(i.viewUrl,document.querySelector(".iframeSplitViewCnt"),{context:l.context},i,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(i.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 i=e||40,l=parseInt(le.computePxFromPercent(t,i)),r=e?100-e:60,a=parseInt(le.computePxFromPercent(t,r));return{percent:i,bottom:l,top:a}}}calculateAndSetSplitViewValues(e,t){const i=parseInt(le.computePxFromPercent(t.rightContentHeight,100-e))+Ae.getIframeContainer().getBoundingClientRect().top;this.splitViewValues=this.enforceTresholds(i,t.innerHeight-i,t)}enforceTresholds(e,t){const i=this.internalValues;return e<=i.thresholdTop?(e=i.thresholdTop,t=i.innerHeight-i.thresholdTop):t<=i.thresholdBottom&&(e=i.innerHeight-i.thresholdBottom,t=i.thresholdBottom),{top:e,bottom:t,percent:le.computePercentFromPx(i.rightContentHeight,t)}}open(e,t,i){const l={displayed:!0,collapsed:i.collapsed===!0,nodepath:t,settings:i};this.splitViewValues=this.calculateInitialValues(l.settings&&l.settings.size,le.getContentAreaHeight()),this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:l.collapsed}),e.set({mfSplitView:l,splitViewValues:this.splitViewValues})}close(e){e.get().splitViewIframe||e.get().splitViewWC?e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{e.get().mfSplitView&&(e.get().mfSplitView.displayed=!1,e.get().mfSplitView.collapsed=!1,e.set({mfSplitView:e.get().mfSplitView})),e.dispatch("statusChanged",{displayed:!1}),Ae.getIframeContainer().style.marginBottom="",ot.sendMessageToClients("close.ok")},()=>{}):e.get().mfSplitView.displayed&&(e.get().mfSplitView.displayed=!1,e.set({mfSplitView:e.get().mfSplitView}))}async expand(e){this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!1}),this.sendMessageToClients("expand.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!1}),this.getContainer().style.top=`${this.splitViewValues.top}px`,Ae.getIframeContainer().style.marginBottom=`${this.splitViewValues.bottom}px`,setTimeout(()=>{this.getDragger().style.top=`${this.splitViewValues.top}px`})}collapse(e){(e.get().splitViewIframe||e.get().splitViewWC)&&e.getUnsavedChangesModalPromise(e.get().splitViewWC?e.get().splitViewWC:e.get().splitViewIframe.contentWindow).then(()=>{this.sendMessageToClients("internal",{exists:!0,size:this.splitViewValues.percent,collapsed:!0}),this.sendMessageToClients("collapse.ok"),e.dispatch("statusChanged",{displayed:!0,collapsed:!0}),this.getContainer().style.top="",Ae.getIframeContainer().style.marginBottom=""},()=>{})}sendMessageToClients(e,t){Ae.sendMessageToVisibleIframes({msg:`luigi.navigation.splitview.${e}`,data:t})}}const ot=new V2;class O2{luigiAfterInit(){ae.getConfigBooleanValue("settings.appLoadingIndicator.hideAutomatically")&&setTimeout(()=>{Yr.hideAppLoadingIndicator()},0)}}const M2=new O2;class F2{constructor(){this._defaultStorage="localStorage",this._authKey="luigi.auth",this._newlyAuthorizedKey="luigi.newlyAuthorized",this._invalidStorageMsg="Configuration Error: Invalid auth.storage value defined. Must be one of localStorage, sessionStorage or none."}getStorageKey(){return this._authKey}getStorageType(){return this._storageType||(this._storageType=ae.getConfigValue("auth.storage")||this._defaultStorage),this._storageType}getAuthData(){return this._getStore(this.getStorageKey())}setAuthData(e){this._setStore(this.getStorageKey(),e)}removeAuthData(){this._setStore(this.getStorageKey(),void 0)}isNewlyAuthorized(){return!!this._getStore(this._newlyAuthorizedKey)}setNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,!0)}removeNewlyAuthorized(){this._setStore(this._newlyAuthorizedKey,void 0)}_setStore(e,t){switch(this.getStorageType()){case"localStorage":case"sessionStorage":t!==void 0?window[this.getStorageType()].setItem(e,JSON.stringify(t)):window[this.getStorageType()].removeItem(e);break;case"none":this[e]=t;break;default:console.error(this._invalidStorageMsg)}}_getStore(e){try{switch(this.getStorageType()){case"localStorage":case"sessionStorage":return JSON.parse(window[this.getStorageType()].getItem(e));case"none":return this[e];default:console.error(this._invalidStorageMsg)}}catch{console.warn("Error parsing authorization data. Auto-logout might not work!")}}}const sn=new F2;class U2{constructor(){return this._userInfoStore=fr({}),this._loggedInStore=fr(!1),this}setUserInfo(e){this._userInfoStore.set(e)}setLoggedIn(e){this._loggedInStore.set(e)}getUserInfoStore(){return this._userInfoStore}getLoggedInStore(){return this._loggedInStore}setProfileLogoutFn(e){this._profileLogoutFn=e}async init(){const e=ae.getConfigValue("auth.use");if(!e)return Promise.resolve(!0);const t=ae.getConfigValue(`auth.${e}`),i=ul.parseUrlAuthErrors()||{};if(await ul.handleUrlAuthErrors(t,i.error,i.errorDescription))return this.idpProviderInstance=this.getIdpProviderInstance(e,t),le.isPromise(this.idpProviderInstance)?this.idpProviderInstance.then(r=>(this.idpProviderInstance=r,this.checkAuth(t))).catch(r=>{const a=`Error: ${r.message||r}`;console.error(a,r.message&&r),ae.setErrorMessage(a)}):this.checkAuth(t)}async checkAuth(e){const t=ul.getStoredAuthData();if(!t||!ul.isLoggedIn()){if(ae.getConfigValue("auth.disableAutoLogin"))return;let l=!0;return t&&(l=await hn.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(sl(this._userInfoStore))),le.isFunction(ae.getConfigValue("auth.events.onAuthSuccessful"))&&sn.isNewlyAuthorized()&&await hn.handleAuthEvent("onAuthSuccessful",e,t),sn.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=>{sn.setNewlyAuthorized(),e&&console.error(e)})}logout(){const e=ul.getStoredAuthData(),t=async l=>{await hn.handleAuthEvent("onLogout",this.idpProviderInstance.settings,void 0,l),sn.removeAuthData()},i=ae.getConfigValue(`auth.${ae.getConfigValue("auth.use")}.logoutFn`);le.isFunction(i)?i(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 i=le.getConfigValueFromObject(t,"idpProvider");if(i){const r=await new i(t);return["login"].forEach(a=>{if(!le.isFunction(r[a]))throw this.IdpProviderException(`${a} function does not exist in custom IDP Provider ${e}`)}),r}if(le.isFunction(ae.getConfigValue("auth.events.onAuthConfigError")))await hn.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 si=new U2;class B2{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 i=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];i.searchParams.has(a.key)&&i.searchParams.delete(a.key);const o=a.valueFn();i.searchParams.append(a.key,o)}return t&&(i.search=decodeURIComponent(i.search)),i.href}}const Gr=new B2;class H2{getStoredAuthData(){return sn.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,i){return t?await hn.handleAuthEvent("onAuthError",e,{error:t,errorDescription:i},e.logoutUrl+"?post_logout_redirect_uri="+e.post_logout_redirect_uri+"&error="+t+"&errorDescription="+i):!0}}const ul=new H2;class W2{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 i=["i","b","br","mark","strong","em","small","del","ins","sub","sup"];for(let l=0;l<i.length;l++){const r=new RegExp(`<${i[l]}/>`,"g"),a=new RegExp(`<${i[l]} />`,"g"),o=new RegExp(`<${i[l]}>`,"g"),c=new RegExp(`<${i[l]} >`,"g"),h=new RegExp(`</${i[l]}[/]>`,"g"),d=new RegExp(`</${i[l]} [/]>`,"g"),_=new RegExp(`<[/]${i[l]}>`,"g"),p=new RegExp(`<[/]${i[l]} >`,"g");t=t.replace(r,`<${i[l]}>`).replace(a,`<${i[l]}>`).replace(o,`<${i[l]}>`).replace(c,`<${i[l]}>`).replace(h,`</${i[l]}>`).replace(d,`</${i[l]}>`).replace(_,`</${i[l]}>`).replace(p,`</${i[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,i){let r={sanitizedText:this.restoreSanitizedBrs(this.sanitizeHtml(e)),links:[]};return t?Object.entries(t).reduce((a,[o,c])=>{const h=`_luigi_alert_${i}_link_${this.sanitizeParam(o)}`,d=this.restoreSanitizedBrs(this.sanitizeHtml(c.text)),_=`<a id="${h}">${d}</a>`,p=this.escapeKeyForRegexp(o),b=new RegExp(`({${p}})`,"g");return{sanitizedText:a.sanitizedText.replace(b,_),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 dr=new W2;class z2{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(i=>{!i.vg&&i.tagName==="IFRAME"&&e.removeChild(i)})}removeIframe(e,t){Array.from(t.children).forEach(l=>{l===e&&t.removeChild(l)})}isSameDomain(e,t){if(e.iframe){const i=t.get(),l=le.getUrlWithoutHash(i.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(i.viewUrl),a=i.previousNodeValues.viewGroup,o=i.viewGroup;if(l===r&&!a&&!o)return!0}return!1}isSameViewGroup(e,t){if(e.iframe){const i=t.get(),l=le.getUrlWithoutHash(i.previousNodeValues.viewUrl),r=le.getUrlWithoutHash(i.viewUrl),a=this.getLocation(l),o=this.getLocation(r);if(a===o){const c=i.previousNodeValues.viewGroup,h=i.viewGroup;if(c&&h&&c===h)return!0}}return!1}canReuseIframe(e,t){return this.isSameDomain(e,t)||this.isSameViewGroup(e,t)}getLocation(e){const t=document.createElement("a");if(t.href=e,t.origin)return t.origin}urlMatchesTheDomain(e="",t){return this.getLocation(e)===this.getLocation(t)}iframeIsSameDomain(e,t){return this.urlMatchesTheDomain(e,t)}getIframeContainer(){const e=Array.from(document.querySelectorAll(".iframeContainer"));return e.length>0?e[0]:void 0}getMicrofrontendsInDom(){return l2.map(({type:e,selector:t})=>Array.from(document.querySelectorAll(t)).map(i=>({id:i.luigi.id,container:i,active:le.isElementVisible(i),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),i=this.getCurrentWebcomponentCtnInDom();return e[0]||t[0]||i||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 i=this.getLocation(e.luigi.viewUrl);i!==""&&e.contentWindow&&e.contentWindow.postMessage(t,i)}sendMessageToVisibleIframes(e){this.getVisibleIframes().forEach(t=>this.sendMessageToIframe(t,e))}broadcastMessageToAllIframes(e){Ae.getMicrofrontendIframes().forEach(t=>this.sendMessageToIframe(t,e))}createIframe(e,t,i,l,r){const a=["allow-forms","allow-modals","allow-popups","allow-popups-to-escape-sandbox","allow-same-origin","allow-scripts"],o=ae.getConfigValue("settings.customSandboxRules"),c=ae.getConfigValue("settings.allowRules"),h=o?[...new Set([...a,...o])]:a,d=document.createElement("iframe");d.src=Gr.hasDecorators()?Gr.applyDecorators(e,i?i.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:i,createdAt:new Date().getTime(),id:le.getRandomId(),pathParams:r?r.pathParams:void 0},t&&(d.vg=t),i&&i.clientPermissions&&(d.luigi.clientPermissions=i.clientPermissions);const _=ae.getConfigValue("settings.iframeCreationInterceptor");if(le.isFunction(_))try{_(d,t,i,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 i=[...Ae.getMicrofrontendIframes(),{contentWindow:window,luigi:{viewUrl:window.location.href}}].find(a=>this.isMessageSource(e,a));if(!i||!i.luigi||!i.luigi.viewUrl)return;const l=e.data.msg==="luigi.navigate.ok";if(l&&!i.luigi.nextViewUrl)return;const r=l?i.luigi.nextViewUrl:i.luigi.viewUrl;if(this.iframeIsSameDomain(r,e.origin))return i}getSpecialIframeMessageSource(e,t){return Ae.specialIframeTypes.filter(i=>Ae.isMessageSource(e,t[i.iframeKey]))}disableA11yOfInactiveIframe(e){[...document.querySelectorAll("*")].forEach(i=>{i.getAttribute("oldTab")||i.setAttribute("oldTab",i.getAttribute("tabindex")),i!==e&&i.setAttribute("tabindex","-1")})}enableA11yOfInactiveIframe(){[...document.querySelectorAll("*")].forEach(t=>{const i=t.getAttribute("oldTab");t.getAttribute("oldTab")==="null"&&t.removeAttribute("tabindex"),t.removeAttribute("oldTab"),i&&i!=="null"&&t.setAttribute("tabindex",i)})}disableA11YKeyboardExceptClassName(e){[...document.querySelectorAll("*")].forEach(i=>{const l=!i.closest(e),r=i.getAttribute("tabindex");(r||r===0)&&l&&!i.hasAttribute("oldtab")&&i.setAttribute("oldtab",r),l&&i.setAttribute("tabindex","-1")})}enableA11YKeyboardBackdropExceptClassName(e){[...document.querySelectorAll("*")].forEach(i=>{const l=i.getAttribute("oldtab");!i.closest(e)&&i.removeAttribute("tabindex"),l&&l!=="null"&&(i.setAttribute("tabindex",l),i.removeAttribute("oldtab"))})}applyCoreStateData(e){return{...e,activeFeatureToggleList:Fo.getActiveFeatureToggleList(),currentLocale:bt.getCurrentLocale(),currentTheme:Ro.getCurrentTheme()}}}const Ae=new z2;class q2{getRandomId(){return(window.crypto||window.msCrypto).getRandomValues(new Uint32Array(1))[0]}isFunction(e){return e&&{}.toString.call(e)==="[object Function]"}isAsyncFunction(e){return e&&{}.toString.call(e)==="[object AsyncFunction]"}isPromise(e){return e&&this.isFunction(e.then)}isString(e){return typeof e=="string"||e instanceof String}isIE(){const e=navigator.userAgent;return!!(e.includes("MSIE ")||e.includes("Trident/"))}isObject(e){return!!(e&&typeof e=="object"&&!Array.isArray(e))}isEmptyObject(e){return this.isObject(e)&&Object.keys(e).length===0}deepMerge(e,...t){if(!t.length)return e;const i=t.shift();if(this.isObject(e)&&this.isObject(i))for(const l in i)this.isObject(i[l])?(e[l]||Object.assign(e,{[l]:{}}),this.deepMerge(e[l],i[l])):Object.assign(e,{[l]:i[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 i=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return i&&decodeURIComponent(i[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 i=0,l=e;const r=t.split(".");for(;l&&i<r.length;)l=l[r[i++]];return l}canComponentHandleModal(e){return e&&typeof e.get=="function"}escapeRegExp(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}replaceVars(e,t,i,l=!0){let r=e;return t&&(l?r=qr.replace(r,/{([\s\S]+?)}/g,a=>{let o=a.slice(1,-1).trim();return o.indexOf(i)===0&&(o=o.substring(i.length)),qr.get(t,o,a)}):Object.entries(t).forEach(a=>{r=r.replace(new RegExp(this.escapeRegExp(i+a[0]),"g"),encodeURIComponent(a[1]))})),l&&(r=r.replace(new RegExp("\\{"+this.escapeRegExp(i)+"[^\\}]+\\}","g"),"")),r}getInnerHeight(){return Ae.getIframeContainer().clientHeight}getContentAreaHeight(){return this.getInnerHeight()-Ae.getIframeContainer().getBoundingClientRect().top}getShellbarHeight(){return(Un.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,i)=>(t[i]=e[i],t),{})||e}removeProperties(e,t){const i={};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&&(i[l]=e[l])}return i}semverCompare(e,t){const i=e.split("-")[0].split("."),l=t.split("-")[0].split(".");for(let r=0;r<3;r++){const a=Number(i[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 i=!!ae.getConfigValue("settings.experimental."+e);return t&&!i&&console.warn("Experimental feature not enabled: ",e),i}createRemotePromise(){let e,t;const i=new Promise(r=>{e=a=>{r(a||!0)},t=()=>{r(!1)}});let l=ae._remotePromises;return l||(l={counter:0,promises:[]},ae._remotePromises=l),i.id=l.counter++,l.promises[i.id]=i,i.doResolve=r=>{delete l.promises[i.id],e(r)},i.doReject=()=>{delete l.promises[i.id],t()},i}getRemotePromise(e){return ae._remotePromises?ae._remotePromises.promises[e]:void 0}isString(e){return typeof e=="string"||e instanceof String}}const le=new q2;class G2{constructor(){this.EXP_CAT_KEY="luigi.preferences.navigation.expandedCategories",this.COL_NAV_KEY="luigi.preferences.navigation.collapsedNavigation",this.virtualGroupPrefix="___"}getProductSwitcherConfig(){const e=ae.getConfigValue("navigation.productSwitcher");return Object.assign({icon:"grid",label:"My Products"},e)}getProductSwitcherColumnsNumber(){const e=this.getProductSwitcherConfig();if(!e.items)return;let t=e.columns,i;return le.isFunction(e.items)?i=e.items().length:i=e.items.length,t==="auto"?i<=6?e.columns=3:e.columns=4:e.columns===3?3:4}prepareForTests(...e){let t="";return e.forEach(i=>{i&&(t+=(t?"_":"")+encodeURIComponent(i.toLowerCase().split(" ").join("")))}),t}checkVisibleForFeatureToggles(e){if(e&&e.visibleForFeatureToggles){const t=Fo.getActiveFeatureToggleList();for(const i of e.visibleForFeatureToggles)if(i.startsWith("!")){if(t.includes(i.slice(1)))return!1}else if(!t.includes(i))return!1}return!0}isNodeAccessPermitted(e,t,i){if(hn.isAuthorizationEnabled()){const r=ul.isLoggedIn(),a=e.anonymousAccess;if(r&&a==="exclusive"||!r&&a!=="exclusive"&&a!==!0)return!1}if(!this.checkVisibleForFeatureToggles(e))return!1;const l=ae.getConfigValue("navigation.nodeAccessibilityResolver");return typeof l!="function"?!0:l(e,t,i)}applyContext(e,t,i){if(t)for(var l in t)e[l]=t[l];return i&&e.parentNavigationContexts.unshift(i),e}getNodePath(e){return e.parent?this.getNodePath(e.parent)+"/"+e.pathSegment:e.pathSegment}groupNodesBy(e,t,i){const l=ae.getConfigValue("navigation.defaults.category");let r={},a=0,o=0;const c=h=>{h.sort((d,_)=>{const p=d.order||0,b=_.order||0;return p-b})};return e.forEach(h=>{let d,_;const p=h[t];le.isObject(p)?(d=p.id?p.id:p.label,_=Object.assign({},p)):(d=p,i&&!p&&(d=this.virtualGroupPrefix+o),_={label:d,_fromString:!0});let b=r[d];b||(i&&p&&o++,(_.order===void 0||_.order===null||_.order==="")&&(_.order=d?a++:-1),b=[],r[d]=b),b.metaInfo||(b.metaInfo=_),le.isObject(p)&&b.metaInfo._fromString&&(delete b.metaInfo._fromString,b.metaInfo={...b.metaInfo,...p}),le.isObject(p)&&l&&(p.titleExpandButton?b.metaInfo.titleExpandButton=p.titleExpandButton:b.metaInfo.titleExpandButton=l.titleExpandButton,p.titleCollapseButton?b.metaInfo.titleCollapseButton=p.titleCollapseButton:b.metaInfo.titleCollapseButton=l.titleCollapseButton),!b.metaInfo.categoryUid&&d&&(b.metaInfo.categoryUid=h.parent?this.getNodePath(h.parent)+":"+d:d),h.hideFromNav||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 i=e.tooltipText;return i===void 0&&(i=ae.getConfigValue("navigation.defaults.tooltipText")),i===void 0?t:i===!1?"":bt.getTranslation(i)}async generateTopNavNodes(e){const t=e[0].topNav===!1?[]:await Rt.getFilteredChildren(e[0]);let i=null,l=0,r=0,a={};const o=[];let c=[];for(const d of t){e.forEach(b=>{!i&&b===d&&(i=d)}),d.hideFromNav||(l++,d.globalNav&&r++);let _;const p=!!d.badgeCounter;if(p&&(_=await d.badgeCounter.count()),d.category){const b=d.category.label||d.category;if(a[b]){if(a[b].icon||(a[b].icon=d.category.icon,a[b].altText=d.category.altText),p&&!a[b].badgeCounter)a[b].badgeCounter={label:"",count:()=>_};else if(p){const m=a[b].badgeCounter.count()+_;a[b].badgeCounter.count=()=>m}}else a[b]={isCat:!0,label:b,icon:d.category.icon,altText:d.category.altText,children:[],badgeCounter:p&&{label:"",count:()=>_}},o.push(a[b]);a[b].children.push(d)}else o.push(d);_&&c.push(_)}for(let d=0;d<o.length;d++)o[d].isCat&&(o[d].visibleChildren=await Rt.getChildren(o[d])||[]);const h={children:o,selectedNode:i,visibleNodeCount:l,globalNavNodeCount:r};if(c.length){const d=c.reduce((_,p)=>_+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:ae.getConfigBooleanValue("navigation.defaults.sideNavAccordionMode")}loadExpandedCategories(){let e=[];const t=localStorage.getItem(this.EXP_CAT_KEY);if(t)try{e=JSON.parse(t)}catch{console.warn("Preference data corrupted, using default")}return e}storeExpandedState(e,t,i=!1){let l=this.loadExpandedCategories(),r=e.split(":")[0];if(t)i&&(l=l.filter(a=>a.indexOf(r+":")===-1)),l.indexOf(e)<0&&l.push(e);else{let a=l.indexOf(e);a>=0&&l.splice(a,1)}return localStorage.setItem(this.EXP_CAT_KEY,JSON.stringify(l)),l}isOpenUIiconName(e){return/^[a-z0-9\-]+$/i.test(e)}renderIconClassName(e){if(!e)return"";let t="sap-icon-";return e.startsWith("businessSuiteInAppSymbols")||e.startsWith("TNT")?t+=e:t+="-"+e,t}handleUnresponsiveClient(e){if(e.errorFn)e.errorFn();else{console.warn("Something went wrong with a client! You will be redirected to another page.");const t=e.redirectPath||"/";it.navigateTo(t)}}getBurgerTooltipConfig(){const e=ae.getConfigValue("settings.burgerTooltip");if(le.isObject(e)||e===!0){const t=e.navExpanded?bt.getTranslation(e.navExpanded):"Collapse navigation";return[e.navCollapsed?bt.getTranslation(e.navCollapsed):"Expand navigation",t]}}stripNode(e){const t={...e};return delete t.parent,delete t.children,delete t.navHeader,t}async shouldPreventNavigationForPath(e){const{nodeObject:t}=await Rt.extractDataFromPath(e);return!!await Rt.shouldPreventNavigation(t)}getPropertyChainValue(e,t,i){return!t||!e?i:qr.get(e,t,i)}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 i=this.getPropertyChainValue(e,t.titlePropertyChain);return i&&(i=i.trim()),i&&t.titleDecorator&&(i=t.titleDecorator.replace("%s",i)),{label:i||t.fallbackTitle,icon:this.getPropertyChainValue(e,t.iconPropertyChain,t.fallbackIcon)}}async fetchNodeTitleData(e,t){return new Promise((i,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){i(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 _=this.processTitleData(d,a,e);e.titleResolver._cache={key:o,value:_},i(_)}catch(_){l(_)}})}).catch(h=>{l(h)})}).catch(i=>{qr.reject(i)})}handleNavAnchorClickedWithoutMetaKey(e){return e.ctrlKey||e.metaKey||e.shiftKey?(e.stopPropagation(),!1):(e.preventDefault(),!0)}getNodeLabel(e){let t=bt.getTranslation(e.label);const i=this.findViewGroup(e);if(i){const l=this.getViewGroupSettings(i)||{};let r={...l.customData||{},...l._liveCustomData||{}};t=le.replaceVars(t,r,"viewGroupData.")}return t}getParentNode(e,t){let i=e.parent;return!i&&t.length>0&&t[1]===e&&(i=t[0]),i}getAllViewGroupSettings(){return ae.getConfigValue("navigation.viewGroupSettings")}getViewGroupSettings(e){const t=this.getAllViewGroupSettings();return e&&t&&t[e]?t[e]:{}}findViewGroup(e,t){if(e.viewGroup)return t&&t!==e?e.viewUrl&&t.viewUrl&&Ae.getLocation(e.viewUrl)===Ae.getLocation(t.viewUrl)?e.viewGroup:void 0:e.viewGroup;if(e.parent)return this.findViewGroup(e.parent,t||e)}getTestId(e){return e.testId?e.testId:ue.prepareForTests(e.pathSegment,e.label)}}const ue=new G2;class K2{constructor(){this.defaultContentViewParamPrefix="~",this.defaultQueryParamSeparator="?",this.defaultModalViewParamName="modal"}getLastNodeObject(e){return[...e.navigationPath].pop()||{}}async getDefaultChildNode(e,t){const i=e.navigationPath[e.navigationPath.length-1],l=t?await t(i,e.context):await ls.getConfigValueFromObjectAsync(i,"children",e.context),r=l.find(a=>a.pathSegment===i.defaultChildNode);if(i.defaultChildNode&&r)return i.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={},i=e.replace(/\+/g," "),l=i?i.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 i in e)t.push(encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return t.join("&")}getNodeParams(e){const t={},i=this.getContentViewParamPrefix();return e&&Object.entries(e).forEach(l=>{if(l[0].startsWith(i)){const r=l[0].substr(i.length);t[r]=l[1]}}),this.sanitizeParamsMap(t)}applyPathParams(e,t){let i=e;return t&&Object.entries(t).forEach(([l,r])=>{i=i.replace(new RegExp(":"+l,"g"),r)}),i}getContentViewParamPrefix(){let e=ae.getConfigValue("routing.nodeParamPrefix");return e===!1?e="":e||(e=this.defaultContentViewParamPrefix),e}getModalViewParamName(){let e=ae.getConfigValue("routing.modalPathParam");return e||(e=this.defaultModalViewParamName),e}getHashQueryParamSeparator(){return this.defaultQueryParamSeparator}getQueryParam(e){return this.getQueryParams()[e]}getQueryParams(){return ae.getConfigBooleanValue("routing.useHashRouting")?this.getLocationHashQueryParams():this.getLocationSearchQueryParams()}getLocation(){return location}getLocationHashQueryParams(){const e=we.getLocation().hash.indexOf(this.defaultQueryParamSeparator);return e!==-1?we.parseParams(we.getLocation().hash.slice(e+1)):{}}getLocationSearchQueryParams(){return we.getLocation().search?we.parseParams(we.getLocation().search.slice(1)):{}}composeSearchParamsToRoute(e){if(ae.getConfigBooleanValue("routing.useHashRouting")){const i=location.hash.indexOf(this.defaultQueryParamSeparator);return i!==-1?e+location.hash.slice(i):e}return location.search?e+location.search:e}getModalPathFromPath(){return this.getQueryParam(this.getModalViewParamName())}getModalParamsFromPath(){const e=this.getQueryParam(`${this.getModalViewParamName()}Params`);return e&&JSON.parse(e)}addRouteChangeListener(e){const t=ae.getConfigValue("routing.useHashRouting");Ai.addEventListener("message",i=>{if(i.data.msg==="refreshRoute"&&i.origin===window.origin){const l=t?it.getHashPath():it.getModifiedPathname();e(l)}}),Ai.addEventListener("popstate",i=>{const l=t?it.getHashPath(location.href):it.getModifiedPathname();e(l,i.detail)})}buildRoute(e,t,i){return e.parent?this.buildRoute(e.parent,`/${e.parent.pathSegment}${t}`,i):t+(i?"?"+i:"")}getContext(e,t){return t==null?this.getContext(e,e.context||{}):e.parent?{...this.getContext(e.parent),...t}:t}getRouteLink(e,t,i){const l=i||"";if(e.externalLink&&e.externalLink.url){const a=e.externalLink.url,o={context:we.substituteDynamicParamsInObject(this.getContext(e),t),pathParams:t,nodeParams:{}};return this.substituteViewUrl(a,o)}else if(e.link){const a=e.link.startsWith("/")?e.link:it.buildFromRelativePath(e);return l+a}const r=we.buildRoute(e,`/${e.pathSegment}`);return l+le.replaceVars(r,t,":",!1)}calculateNodeHref(e,t){const i=we.getRouteLink(e,t,ae.getConfigValue("routing.useHashRouting")?"#":"");return this.getI18nViewUrl(i.url)||i}getNodeHref(e,t){if(ae.getConfigBooleanValue("navigation.addNavHrefs"))return this.calculateNodeHref(e,t)}substituteDynamicParamsInObject(e,t,i=":",l=!1){return Object.entries(e).map(([r,a])=>{const o=l?Object.keys(t).find(c=>a&&a.indexOf(i+c)>=0):Object.keys(t).find(c=>a===i+c);return[r,o?l?a.replace(i+o,t[o]):t[o]:a]}).reduce((r,[a,o])=>Object.assign(r,{[a]:o}),{})}mapPathToNode(e,t){if(!e||!t)return;const i=le.trimLeadingSlash(e).split("/"),l=we.buildRoute(t,`/${t.pathSegment}`),r=le.trimLeadingSlash(l).split("/");if(i.length<r.length)return;let a="";for(let o=0;o<r.length;o++){if(i[o]!==r[o]&&r[o].indexOf(":")!==0)return;a+="/"+i[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}",i=bt.getCurrentLocale();return e&&e.includes(t)?e.replace(t,i):e}substituteViewUrl(e,t){const i="context.",l="nodeParams.",r="routing.queryParams";if(e=le.replaceVars(e,t.pathParams,":",!1),e=le.replaceVars(e,t.context,i),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];ol.getSearchParams()[o]?e=e.replace(`{${r}.${o}}`,ol.getSearchParams()[o]):e=e.replace(`?${o}={${r}.${o}}`,"")}}return e}sanitizeParamsMap(e){return Object.entries(e).reduce((t,i)=>(t[dr.sanitizeParam(i[0])]=dr.sanitizeParam(i[1]),t),{})}setFeatureToggles(e,t){let i;const l=this.sanitizeParamsMap(this.parseParams(t.split("?")[1]));if(l[e]&&(i=l[e]),!i)return;const r=i.split(",");r.length>0&&r[0]!==""&&r.forEach(a=>Fo.setFeatureToggle(a,!0))}getIntentObject(e){const t=e.split("?intent=")[1];if(t){const i=t.split("?"),l=i[0].split("-"),r=Object.fromEntries(new URLSearchParams(i[1]).entries());return{semanticObject:l[0],action:l[1],params:r}}}getIntentPath(e){const t=ae.getConfigValue("navigation.intentMapping");if(t&&t.length>0){const i=e.replace(/\?intent=/i,"?intent="),l=this.getIntentObject(i);if(l){let r=t.find(o=>o.semanticObject===l.semanticObject&&o.action===l.action);if(!r)return!1;if(r.externalLink)return{...r.externalLink,external:!0};r=r.pathSegment;const a=Object.entries(l.params);if(a&&a.length>0){r=this.resolveDynamicIntentPath(r,l.params);let o=ae.getConfigValue("routing.nodeParamPrefix");o=o||"~",r=r.concat(`?${o}`),a.forEach(([c,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 i=e;for(const[l,r]of Object.entries(t)){const a=new RegExp("/:"+l+"(/|$)","g");i=i.replace(a,`/${r}/`)}return i=i.replace(/\/$/,""),i}prepareSearchParamsForClient(e){const t={};return e&&e.clientPermissions&&e.clientPermissions.urlParameters&&Object.keys(e.clientPermissions.urlParameters).forEach(i=>{i in ol.getSearchParams()&&e.clientPermissions.urlParameters[i].read===!0&&(t[i]=ol.getSearchParams()[i])}),t}addSearchParamsFromClient(e,t,i){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&&ol.addSearchParams(r,i)}}hasIntent(e){return!!e&&e.toLowerCase().includes("#?intent=")}getPageNotFoundRedirectResult(e,t=!1){const i=ae.getConfigValue("routing.pageNotFoundHandler");if(typeof i=="function"){const l=i(e,t);if(l&&l.redirectTo)return{path:l.redirectTo,keepURL:l.keepURL}}return{}}async handlePageNotFoundAndRetrieveRedirectPath(e,t,i){if(i)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,i=!1){const l={text:bt.getTranslation(i?"luigi.notExactTargetNode":"luigi.requestedRouteNotFound",{route:t}),type:"error",ttl:1};e.showAlert(l,!1)}modifySearchParams(e,t,i){for(const[l,r]of Object.entries(e)){const a=i?`${i}${l}`:l;t.set(a,r),r===void 0&&t.delete(a)}}addParamsOnHashRouting(e,t,i){let l=t;const[r,a]=l.split("?"),o=new URLSearchParams(a);return this.modifySearchParams(e,o,i),l=r,o.toString()!==""&&(l+=`?${o.toString()}`),l}getURLWithoutModalData(e,t){let i=new URLSearchParams(e);return i.delete(t),i.delete(`${t}Params`),i.toString()}handleHistoryState(e,t){return e&&e.modalHistoryLength?e.modalHistoryLength+=1:e={modalHistoryLength:1,historygap:history.length,pathBeforeHistory:t},e}}const we=new K2;class j2{optimizeScope(e){let t="";const i=[];return[...e].sort().forEach(l=>{l&&!i.includes(l)&&(!t||l.indexOf(t)!==0)&&(i.push(l),t=l)}),i}expandScope(e){const t=[];return e.forEach(i=>{let l="";i.split(".").forEach(r=>{l=l+(l?".":"")+r,t.push(l)})}),[...new Set(t)]}doOnStoreChange(e,t,i=[]){e.subscribe(t),this.expandScope(i).forEach(l=>{e.subscribeToScope(t,l)})}}const ui=new j2;class J2{constructor(){this.listeners=[],this.hashChangeWithoutSync=!1}addEventListener(e,t){this.listeners.push({type:e,listenerFn:t}),window.addEventListener(e,t)}removeEventListener(e,t){this.listeners=this.listeners.filter(i=>!(i.type===e&&i.listenerFn===t)),window.removeEventListener(e,t)}removeAllEventListeners(){this.listeners.forEach(e=>{window.removeEventListener(e.type,e.listenerFn)}),this.listeners=[]}}const Ai=new J2;class Y2{constructor(){this.init=!1,this.storage=void 0,this.browseSupported=void 0}checkInit(){this.init||(this.storage=window.localStorage,this.browseSupported=this.supportLocalStorage(),this.init=!0)}supportLocalStorage(){try{return"localStorage"in window&&window.localStorage!==null}catch{return!1}}checkStorageBrowserSupport(){if(!this.browseSupported)throw"Browser does not support local storage"}process(e,t,i,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,i,"OK",o)}catch(a){console.log(a),this.sendBackOperation(e,i,"ERROR",a)}}cleanHostname(e){return e.replace("http://","").replace("https://","")}setItem(e,t){this.checkKey(t);const i=this.stringifyValue(t.value),l=this.buildKey(e,t.key);this.storage.setItem(l,i)}getItem(e,t){this.checkKey(t);const i=this.buildKey(e,t.key),l=this.storage.getItem(i);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 i=this.buildKey(e,t.key),l=this.storage.getItem(i);if(l)return this.storage.removeItem(i),l}clear(e,t){const i=this.buildPrefix(e);Object.keys(this.storage).filter(l=>l.startsWith(i)).forEach(l=>this.storage.removeItem(l))}has(e,t){this.checkKey(t);const i=this.buildKey(e,t.key);return!!this.storage.getItem(i)}getAllKeys(e,t){const i=this.buildPrefix(e);return Object.keys(this.storage).filter(l=>l.startsWith(i)).map(l=>l.substring(i.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,i,l){let r={msg:"storage",data:{id:t,status:i,result:l}};Ae.getMicrofrontendsInDom().filter(a=>a.id===e).map(a=>a.container).map(a=>Ae.sendMessageToIframe(a,r))}}const Q2=new Y2;class Z2{constructor(){}processUserSettingGroups(){const e=[],t=ae.getConfigValue("userSettings.userSettingGroups"),i=ae.getConfigValue("settings.userSettings.userSettingGroups"),l=t||i;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 i=Ae.createIframe(e,void 0,void 0,"usersettings"),l=document.querySelector(".iframeUserSettingsCtn");return i.setAttribute("userSettingsGroup",t),i.userSettingsGroup=t,l.appendChild(i),i}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 i=0;i<t.length;i++)if(t[i].contentWindow===e)return t[i];return null}}const sr=new Z2;class X2{constructor(){}handleVisibilityGlobalSearch(){if(!document.querySelector(".lui-global-search"))return;const e=document.querySelector(".lui-global-search"),t=e.offsetWidth<=384;e.classList.toggle("lui-global-search-toggle",t)}}const Gf=new X2;function Kf(n,e,t){const i=n.slice();return i[9]=e[t],i}function jf(n){let e,t,i=(n[9].dataSanitized?n[9].settings.text:"")+"",l,r,a,o,c,h;function d(){return n[4](n[9])}return{c(){e=S("div"),t=S("p"),l=z(),r=S("button"),r.innerHTML='<i class="sap-icon sap-icon--decline"></i>',a=z(),f(t,"class","fd-message-strip__text svelte-dkyena"),f(r,"class","fd-button fd-button--transparent fd-button--compact fd-message-strip__close"),f(r,"aria-label","Close"),f(r,"aria-controls","j2ALl423"),f(r,"data-testid","luigi-alert-dismiss"),f(e,"class",o="fd-message-strip fd-message-strip--"+n[1][n[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena"),f(e,"role","alert"),f(e,"id","j2ALl423"),f(e,"data-testid","luigi-alert")},m(_,p){L(_,e,p),w(e,t),t.innerHTML=i,w(e,l),w(e,r),w(e,a),c||(h=ne(r,"click",d),c=!0)},p(_,p){n=_,p&1&&i!==(i=(n[9].dataSanitized?n[9].settings.text:"")+"")&&(t.innerHTML=i),p&3&&o!==(o="fd-message-strip fd-message-strip--"+n[1][n[9].settings.type]+" fd-message-strip--dismissible svelte-dkyena")&&f(e,"class",o)},d(_){_&&I(e),c=!1,h()}}}function $2(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=jf(Kf(n,t,l));return{c(){e=S("div");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-shell__overlay luigi-alert--overlay svelte-dkyena"),f(e,"aria-hidden","false")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null);n[5](e)},p(l,[r]){if(r&11){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Kf(l,t,a);i[a]?i[a].p(o,r):(i[a]=jf(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},i:He,o:He,d(l){l&&I(e),ft(i,l),n[5](null)}}}function x2(n,e,t){const i=Wt();let{alertQueue:l}=e,{alertTypeMap:r={info:"information",success:"success",warning:"warning",error:"error"}}=e,a;const o=pt("getUnsavedChangesModalPromise"),c=pt("handleNavigation");zi(()=>{if(!l||!l.length){console.warn("There are no alerts to display");return}if(l.processed)return;const p=l.map(b=>{const{text:m,links:v,closeAfter:C}=b.settings,y=dr.processTextAndLinks(m,v,b.settings.id);if(setTimeout(()=>{y.links.forEach(P=>{h(P,b.settings.id)})}),b.settings.afterInit){const P=a;b.settings.afterInit({dismiss:()=>{P&&P.isConnected?i("alertDismiss",{id:b.settings.id}):console.debug("Alert already dismissed: ",P)},element:P})}return{settings:{...b.settings,text:y.sanitizedText},dataSanitized:!0}});p.processed=!0,t(0,l=p)}),Qt(()=>{});function h(p,b){try{const m=document.getElementById(p.elemId);m.dismissListener&&m.removeEventListener("click",m.dismissListener);const v=C=>{if(p.url){const y=!p.url.startsWith("/");C.stopPropagation(),o().then(()=>{const P={params:{link:p.url,relative:y}};c(P)},()=>{})}else p.dismissKey&&i("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=>i("alertDismiss",{id:p.settings.id});function _(p){Xe[p?"unshift":"push"](()=>{a=p,t(2,a)})}return n.$$set=p=>{"alertQueue"in p&&t(0,l=p.alertQueue),"alertTypeMap"in p&&t(1,r=p.alertTypeMap)},[l,r,a,i,d,_]}class ek extends Et{constructor(e){super(),At(this,e,x2,$2,Nt,{alertQueue:0,alertTypeMap:1})}}const Vl=38,Bn=40,mn=13,_n=27,Kr=32,tk=36,ik=35;function Jf(n){let e,t;return{c(){e=S("i"),f(e,"class",t=Xi(n[3](n[0].icon))+" svelte-lzffuc")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t=Xi(i[3](i[0].icon))+" svelte-lzffuc")&&f(e,"class",t)},d(i){i&&I(e)}}}function Yf(n){let e,t,i=n[0].buttonConfirm+"",l,r,a;return{c(){e=S("div"),t=S("button"),l=Te(i),f(t,"data-testid","luigi-modal-confirm"),f(t,"class","fd-button fd-button--emphasized fd-button--compact fd-message-box__decisive-button confirm-button"),f(e,"class","fd-bar__element")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ne(t,"click",n[4]),r=!0)},p(o,c){c&1&&i!==(i=o[0].buttonConfirm+"")&&Le(l,i)},d(o){o&&I(e),r=!1,a()}}}function nk(n){let e,t,i,l,r,a,o,c=n[0].header+"",h,d,_,p=n[0].body+"",b,m,v,C,y,P,A=n[0].buttonDismiss+"",T,V,E,U,F,D=n[0].type&&Jf(n),Z=n[0].buttonConfirm!==!1&&Yf(n);return{c(){e=S("div"),t=S("section"),i=S("header"),l=S("div"),r=S("div"),D&&D.c(),a=z(),o=S("h2"),h=Te(c),d=z(),_=S("div"),b=z(),m=S("footer"),v=S("div"),Z&&Z.c(),C=z(),y=S("div"),P=S("button"),T=Te(A),f(o,"class","fd-title fd-title--h5"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(i,"class","fd-bar fd-bar--header fd-message-box__header"),f(_,"class","fd-message-box__body svelte-lzffuc"),f(P,"data-testid","luigi-modal-dismiss"),f(P,"class",V="fd-button "+(n[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--"+n[0].type+" fd-message-box--active svelte-lzffuc"),f(e,"data-testid","luigi-confirmation-modal")},m(j,Q){L(j,e,Q),w(e,t),w(t,i),w(i,l),w(l,r),D&&D.m(r,null),w(r,a),w(r,o),w(o,h),w(t,d),w(t,_),_.innerHTML=p,w(t,b),w(t,m),w(m,v),Z&&Z.m(v,null),w(v,C),w(v,y),w(y,P),w(P,T),U||(F=[ne(window,"keydown",n[1]),ne(P,"click",n[5])],U=!0)},p(j,[Q]){j[0].type?D?D.p(j,Q):(D=Jf(j),D.c(),D.m(r,a)):D&&(D.d(1),D=null),Q&1&&c!==(c=j[0].header+"")&&Le(h,c),Q&1&&p!==(p=j[0].body+"")&&(_.innerHTML=p),j[0].buttonConfirm!==!1?Z?Z.p(j,Q):(Z=Yf(j),Z.c(),Z.m(v,C)):Z&&(Z.d(1),Z=null),Q&1&&A!==(A=j[0].buttonDismiss+"")&&Le(T,A),Q&1&&V!==(V="fd-button "+(j[0].buttonConfirm===!1?"fd-button--emphasized":"fd-button--transparent")+" fd-button--compact fd-message-box__decisive-button dismiss-button")&&f(P,"class",V),Q&1&&E!==(E="fd-message-box-docs-static fd-message-box fd-message-box--"+j[0].type+" fd-message-box--active svelte-lzffuc")&&f(e,"class",E)},i:He,o:He,d(j){j&&I(e),D&&D.d(),Z&&Z.d(),U=!1,Qe(F)}}}function lk(n,e,t){const i=Wt();let{settings:l}=e;const r={confirmation:"question-mark",information:"message-information",warning:"message-warning",error:"message-error",success:"message-success"};Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".fd-message-box-docs-static")}),Qt(()=>{const d={icon:r[l.type],header:bt.getTranslation("luigi.confirmationModal.header"),body:bt.getTranslation("luigi.confirmationModal.body"),buttonDismiss:bt.getTranslation("luigi.button.dismiss"),buttonConfirm:bt.getTranslation("luigi.button.confirm")};t(0,l={...l,body:dr.sanatizeHtmlExceptTextFormatting(l.body)}),t(0,l=Object.assign(d,l)),Ae.disableA11YKeyboardExceptClassName(".fd-message-box-docs-static");const _=l.buttonConfirm?"confirm-button":"dismiss-button";try{document.querySelector(`.${_}`).focus()}catch{console.warn(`Couldn't focus ${_} in modal`)}});function a(d){return ue.renderIconClassName(d)}function o(d){d.keyCode===_n&&i("modalDismiss")}const c=()=>i("modalConfirm"),h=()=>i("modalDismiss");return n.$$set=d=>{"settings"in d&&t(0,l=d.settings)},[l,o,i,a,c,h]}class rk extends Et{constructor(e){super(),At(this,e,lk,nk,Nt,{settings:0,handleKeydown:1})}get handleKeydown(){return this.$$.ctx[1]}}function ak(n){let e,t,i;const l=n[5].default,r=R_(l,n,n[4],null);return{c(){e=S("div"),r&&r.c(),f(e,"class",t=n[0]+" "+(n[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"),f(e,"aria-hidden","false")},m(a,o){L(a,e,o),r&&r.m(e,null),i=!0},p(a,[o]){r&&r.p&&(!i||o&16)&&O_(r,l,a,a[4],i?V_(l,a[4],o,null):M_(a[4]),null),(!i||o&3&&t!==(t=a[0]+" "+(a[1]==="main"?"zIndexZero":"")+" svelte-az6f9h"))&&f(e,"class",t)},i(a){i||(R(r,a),i=!0)},o(a){B(r,a),i=!1},d(a){a&&I(e),r&&r.d(a)}}}function sk(n,e,t){let{$$slots:i={},$$scope:l}=e;const r=Wt();let{backdropClass:a=""}=e,{backdropActive:o=!1}=e,c=!1,h={},{area:d}=e,{disable:_}=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 Qt(()=>{ae.getConfigValue("settings.backdropDisabled")||(p(),Ai.addEventListener("message",v=>{const C=Ae.getValidMessageSource(v);C&&_!==!0&&(v.data.msg==="luigi.add-backdrop"&&(t(2,o=b(v)),r("stateChanged",{backdropActive:!0}),Ae.disableA11yOfInactiveIframe(C)),v.data.msg==="luigi.remove-backdrop"&&(t(2,o=!1),r("stateChanged",{backdropActive:!1}),c&&Ae.enableA11yOfInactiveIframe()))}))}),zi(()=>{o!==c&&(c=o,p())}),n.$$set=m=>{"backdropClass"in m&&t(0,a=m.backdropClass),"backdropActive"in m&&t(2,o=m.backdropActive),"area"in m&&t(1,d=m.area),"disable"in m&&t(3,_=m.disable),"$$scope"in m&&t(4,l=m.$$scope)},[a,d,o,_,l,i]}class Ol extends Et{constructor(e){super(),At(this,e,sk,ak,Nt,{backdropClass:0,backdropActive:2,area:1,disable:3})}}function Qf(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m;t=new Ol({props:{disable:n[2]}});let v=n[0].title&&Zf(n);return{c(){e=S("div"),Me(t.$$.fragment),i=z(),l=S("div"),r=S("div"),v&&v.c(),a=z(),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",_=n[0].closebtn_data_testid&&n[5]?n[0].closebtn_data_testid:"lui-modal-index-"+n[1]),f(c,"class","fd-bar__element"),f(o,"class","fd-bar__right"),f(e,"class","lui-modal-header fd-dialog__header fd-bar fd-bar--header svelte-1rzu3xo")},m(C,y){L(C,e,y),Ve(t,e,null),w(e,i),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=ne(h,"click",n[11]),b=!0)},p(C,y){const P={};y&4&&(P.disable=C[2]),t.$set(P),C[0].title?v?v.p(C,y):(v=Zf(C),v.c(),v.m(r,null)):v&&(v.d(1),v=null),(!p||y&35&&_!==(_=C[0].closebtn_data_testid&&C[5]?C[0].closebtn_data_testid:"lui-modal-index-"+C[1]))&&f(h,"data-testid",_)},i(C){p||(R(t.$$.fragment,C),p=!0)},o(C){B(t.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(t),v&&v.d(),b=!1,m()}}}function Zf(n){let e,t=n[0].title+"",i;return{c(){e=S("h2"),i=Te(t),f(e,"class","fd-title fd-title--h5"),f(e,"id","dialog-title-1")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r&1&&t!==(t=l[0].title+"")&&Le(i,t)},d(l){l&&I(e)}}}function Xf(n){let e;const t=n[10].default,i=R_(t,n,n[9],null);return{c(){i&&i.c()},m(l,r){i&&i.m(l,r),e=!0},p(l,r){i&&i.p&&(!e||r&512)&&O_(i,t,l,l[9],e?V_(t,l[9],r,null):M_(l[9]),null)},i(l){e||(R(i,l),e=!0)},o(l){B(i,l),e=!1},d(l){i&&i.d(l)}}}function $f(n){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,i){L(t,e,i)},d(t){t&&T(e)}}}function ok(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v=(n[5]||n[4]&&n[0].header)&&Qf(n),C=n[4]&&Xf(n),y=n[3]&&$f();return{c(){e=S("div"),t=S("div"),v&&v.c(),i=z(),l=S("div"),C&&C.c(),r=z(),a=S("div"),_=z(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(n[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(a,"modal-container-index",c=n[4]?void 0:n[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",d="fd-dialog__content "+(n[4]?n[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+n[1])+" svelte-1rzu3xo"),f(t,"data-testid",h=n[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=Xi(n[5]||n[4]&&n[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=n[5]?"z-index:1001":"")},m(P,I){L(P,e,I),w(e,t),v&&v.m(t,null),w(t,i),w(t,l),C&&C.m(l,null),w(l,r),w(l,a),w(t,_),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=Qf(P),v.c(),R(v,1),v.m(t,i)):v&&(ke(),B(v,1,1,()=>{v=null}),Se()),P[4]?C?(C.p(P,I),I&16&&R(C,1)):(C=Xf(P),C.c(),R(C,1),C.m(l,r)):C&&(ke(),B(C,1,1,()=>{C=null}),Se()),(!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=$f(),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&&h!==(h=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",h),(!m||I&49&&p!==(p=Xi(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){B(v),B(C),m=!1},d(P){P&&T(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function uk(n,e,t){let{$$slots:i={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:_}=e;const d=Ht();let h,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,I=!0,A,D=pt("store");const V=G=>ue.getNodeLabel(G),F=async G=>{const Q=G&&G.length?le.getPathWithoutHash(G):"",X=we.parseParams(Q.split("?")[1]);b=we.getNodeParams(X);const _e=await Rt.extractDataFromPath(G);h=_e.nodeObject,t(4,P=r.isDrawer||typeof h.drawer=="object"),A=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,I=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=V(h),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=V(h),r),t(0,r._liveLabel=!0,r)),p=_e.pathData,t(7,a=!0)},U=async G=>{if(!(m||v))if(a)if(h.webcomponent)t(3,C=!1),P?await j():await E(),ur.renderWebComponent(h.viewUrl,document.querySelector(A),{context:p.context,clientPermissions:h.clientPermissions||{},pathParams:p.pathParams||{}},h,void 0,!0),d("wcCreated",{modalWC:document.querySelector(A),modalWCData:{...p,nodeParams:b}}),v=!0;else{const Q=await Y(h.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:Q,modalIframeData:{...p,nodeParams:b}}),m=!0}else await F(G)},E=async()=>{let G,Q;const X=document.querySelector(".lui-modal-index-"+c),{size:_e,width:ie,height:oe}=r,ve=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(X.classList.remove("lui-modal-fullscreen"),ie&&ie.match(ve)&&oe&&oe.match(ve))G=oe,Q=ie;else switch(_e){case"fullscreen":G="100vh",Q="100vw",X.classList.add("lui-modal-fullscreen");break;case"m":G="80%",Q="60%";break;case"s":G="80%",Q="40%";break;default:G="80%",Q="80%"}X.setAttribute("style",`width:${Q};height:${G};`)},Y=async(G,Q)=>{P?await j():await E(),G&&(G=we.substituteViewUrl(G,Q));const X=await Ae.createIframe(G,void 0,h,"modal",Q);return document.querySelector(A).appendChild(X),X};async function j(G){let Q="";const X=document.getElementsByClassName("drawer"),_e=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Q="width:75%;":r.size==="m"?Q="width:50%;":r.size==="s"?Q="width:25%;":r.size==="xs"&&(Q="width:15.5%;")),r.backdrop?X[0].setAttribute("style",Q):(_e[0].setAttribute("style",Q),X[0].setAttribute("style","width:100%"))}jr(()=>{U(o)});const Z=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,(!h||!h.loadingIndicator||h.loadingIndicator.hideAutomatically!==!1)&&de()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await E()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&it.updateModalDataInUrl(we.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};Yt(()=>{oi.doOnStoreChange(D,()=>{r._liveLabel&&h&&t(0,r.title=V(h),r)},["navigation.viewgroupdata"]),Ai.addEventListener("message",Z),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!h.webcomponent&&((G=h.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Jr(()=>{Ai.removeEventListener("message",Z),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function de(){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 te=()=>d("close",{activeDrawer:!1});return n.$$set=G=>{"settings"in G&&t(0,r=G.settings),"isDataPrepared"in G&&t(7,a=G.isDataPrepared),"nodepath"in G&&t(8,o=G.nodepath),"modalIndex"in G&&t(1,c=G.modalIndex),"disableBackdrop"in G&&t(2,_=G.disableBackdrop),"$$scope"in G&&t(9,l=G.$$scope)},[r,c,_,C,P,I,d,a,o,l,i,te]}class Z_ extends Et{constructor(e){super(),At(this,e,uk,ok,Nt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function xf(n,e,t){const i=n.slice();return i[27]=e[t][0],i[28]=e[t][1],i[29]=e,i[30]=t,i}function ec(n,e,t){const i=n.slice();return i[31]=e[t],i[33]=t,i}function tc(n,e,t){const i=n.slice();return i[31]=e[t],i[33]=t,i}function ic(n){let e,t=n[1][1].settings&&nc(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[1][1].settings?t?t.p(i,l):(t=nc(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&T(e)}}}function nc(n){let e,t,i=Object.entries(n[1][1].settings),l=[];for(let r=0;r<i.length;r+=1)l[r]=dc(xf(n,i,r));return{c(){e=S("div"),t=S("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){i=Object.entries(r[1][1].settings);let o;for(o=0;o<i.length;o+=1){const c=xf(r,i,o);l[o]?l[o].p(c,a):(l[o]=dc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=i.length}},d(r){r&&T(e),ft(l,r)}}}function lc(n){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?ck:fk}let i=t(n),l=i(n);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){i===(i=t(r))&&l?l.p(r,a):(l.d(1),l=i(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function fk(n){let e,t=n[0][n[1][0]][n[27]]+"",i,l;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+n[30]),f(e,"id","fd-form-input-"+n[30]),f(e,"disabled",l=!(n[28].isEditable===void 0||n[28].isEditable))},m(r,a){L(r,e,a),w(e,i)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(i,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&T(e)}}}function ck(n){let e,t,i,l,r;function a(){n[17].call(e,n[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=n[5](n[28].placeholder)),f(e,"data-testid","lui-us-input"+n[30]),f(e,"id","fd-form-input-"+n[30]),e.disabled=i=!(n[28].isEditable===void 0||n[28].isEditable)},m(o,c){L(o,e,c),Wf(e,n[0][n[1][0]][n[27]]),l||(r=ne(e,"input",a),l=!0)},p(o,c){n=o,c[0]&34&&t!==(t=n[5](n[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&i!==(i=!(n[28].isEditable===void 0||n[28].isEditable))&&(e.disabled=i),c[0]&3&&e.value!==n[0][n[1][0]][n[27]]&&Wf(e,n[0][n[1][0]][n[27]])},d(o){o&&T(e),l=!1,r()}}}function rc(n){let e,t,i,l,r,a,o=n[11](n[0][n[1][0]][n[27]],n[28].options)+"",c,_,d,h,p,b,m,v=Array.isArray(n[28].options),C,y;function P(...D){return n[18](n[27],n[30],n[28],...D)}function I(){return n[19](n[28])}let A=v&&ac(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Te(o),d=z(),h=S("span"),h.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=z(),m=S("div"),A&&A.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+n[30]),f(a,"disabled",_=!(n[28].isEditable===void 0||n[28].isEditable)),f(h,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(r,"data-testid",p="lui-us-"+n[28].type+"-"+n[30]),f(r,"id","fd-form-input-"+n[30]),f(l,"class","fd-select fd-select--compact"),f(i,"class","fd-popover__control"),f(i,"aria-expanded","false"),f(i,"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(D,V){L(D,e,V),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,h),w(t,b),w(t,m),A&&A.m(m,null),C||(y=[ne(r,"keydown",P),ne(i,"click",Vt(I))],C=!0)},p(D,V){n=D,V[0]&3&&o!==(o=n[11](n[0][n[1][0]][n[27]],n[28].options)+"")&&Le(c,o),V[0]&2&&_!==(_=!(n[28].isEditable===void 0||n[28].isEditable))&&f(a,"disabled",_),V[0]&2&&p!==(p="lui-us-"+n[28].type+"-"+n[30])&&f(r,"data-testid",p),V[0]&2&&(v=Array.isArray(n[28].options)),v?A?A.p(n,V):(A=ac(n),A.c(),A.m(m,null)):A&&(A.d(1),A=null)},d(D){D&&T(e),A&&A.d(),C=!1,Qe(y)}}}function ac(n){let e,t=n[28].options,i=[];for(let l=0;l<t.length;l+=1)i[l]=sc(tc(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+n[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let a;for(a=0;a<t.length;a+=1){const o=tc(l,t,a);i[a]?i[a].p(o,r):(i[a]=sc(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&T(e),ft(i,l)}}}function sc(n){let e,t,i=n[12](n[31])+"",l,r,a,o,c;function _(){return n[20](n[27],n[31],n[33])}return{c(){e=S("li"),t=S("span"),l=Te(i),r=z(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+n[30]+"_"+n[33]),f(e,"aria-selected",a=n[4]===n[33]),f(e,"tabindex","0"),Ti(e,"is-selected",n[4]===n[33]),Ti(e,"is-focus",n[4]===n[33])},m(d,h){L(d,e,h),w(e,t),w(t,l),w(e,r),o||(c=[ne(e,"click",_),ne(e,"keydown",n[21])],o=!0)},p(d,h){n=d,h[0]&2&&i!==(i=n[12](n[31])+"")&&Le(l,i),h[0]&16&&a!==(a=n[4]===n[33])&&f(e,"aria-selected",a),h[0]&16&&Ti(e,"is-selected",n[4]===n[33]),h[0]&16&&Ti(e,"is-focus",n[4]===n[33])},d(d){d&&T(e),o=!1,Qe(c)}}}function oc(n){let e,t,i,l=n[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=uc(ec(n,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",i="fd-segmented-button enum-buttons-container-"+n[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].options;let c;for(c=0;c<l.length;c+=1){const _=ec(a,l,c);r[c]?r[c].p(_,o):(r[c]=uc(_),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&&i!==(i="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",i)},d(a){a&&T(e),ft(r,a)}}}function uc(n){let e,t=n[12](n[31])+"",i,l,r,a,o,c,_,d;function h(){return n[22](n[27],n[31])}return{c(){e=S("button"),i=Te(t),l=z(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(n[0][n[1][0]][n[27]]===(n[31].value||n[31])?"is-selected":"")),f(e,"id",a=n[13]("lui-us-enum_button",n[27],n[31])),f(e,"data-testid",o=n[13]("lui-us-enum_button",n[27],n[31])),e.disabled=c=!(n[28].isEditable===void 0||n[28].isEditable)},m(p,b){L(p,e,b),w(e,i),w(e,l),_||(d=ne(e,"click",h),_=!0)},p(p,b){n=p,b[0]&2&&t!==(t=n[12](n[31])+"")&&Le(i,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(n[0][n[1][0]][n[27]]===(n[31].value||n[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=n[13]("lui-us-enum_button",n[27],n[31]))&&f(e,"id",a),b[0]&2&&o!==(o=n[13]("lui-us-enum_button",n[27],n[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(n[28].isEditable===void 0||n[28].isEditable))&&(e.disabled=c)},d(p){p&&T(e),_=!1,d()}}}function fc(n){let e,t,i,l,r,a,o,c,_,d;function h(){n[23].call(i,n[27])}return{c(){e=S("label"),t=S("span"),i=S("input"),a=z(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(i,"class","fd-switch__input"),f(i,"type","checkbox"),f(i,"aria-labelledby","label1"),f(i,"data-testid",l="lui-us-checkbox-switch_"+n[27]),i.disabled=r=!(n[28].isEditable===void 0||n[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_"+n[27])},m(p,b){L(p,e,b),w(e,t),w(t,i),i.checked=n[0][n[1][0]][n[27]],w(t,a),w(t,o),_||(d=ne(i,"change",h),_=!0)},p(p,b){n=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+n[27])&&f(i,"data-testid",l),b[0]&2&&r!==(r=!(n[28].isEditable===void 0||n[28].isEditable))&&(i.disabled=r),b[0]&3&&(i.checked=n[0][n[1][0]][n[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+n[27])&&f(e,"data-testid",c)},d(p){p&&T(e),_=!1,d()}}}function cc(n){let e,t,i,l;function r(){n[24].call(e,n[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(n[28].isEditable===void 0||n[28].isEditable)},m(a,o){L(a,e,o),e.checked=n[0][n[1][0]][n[27]],i||(l=ne(e,"change",r),i=!0)},p(a,o){n=a,o[0]&2&&t!==(t=!(n[28].isEditable===void 0||n[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=n[0][n[1][0]][n[27]])},d(a){a&&T(e),i=!1,l()}}}function dc(n){let e,t,i,l=n[5](n[28].label)+"",r,a,o,c,_,d,h=n[28].type==="enum"&&n[28].style==="button"&&Array.isArray(n[28].options),p,b,m,v=n[28].type==="string"&&lc(n),C=n[28].type==="enum"&&(n[28].style===void 0||n[28].style==="list")&&rc(n),y=h&&oc(n),P=n[28].type==="boolean"&&(!n[28].style||n[28].style==="switch")&&fc(n),I=n[28].type==="boolean"&&n[28].style==="checkbox"&&cc(n);return{c(){e=S("div"),t=S("div"),i=S("label"),r=Te(l),a=Te(":"),o=z(),c=S("div"),v&&v.c(),_=z(),C&&C.c(),d=z(),y&&y.c(),p=z(),P&&P.c(),b=z(),I&&I.c(),m=z(),f(i,"class","fd-form-label svelte-1q4f8ra"),f(i,"for","fd-form-input-"+n[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(A,D){L(A,e,D),w(e,t),w(t,i),w(i,r),w(i,a),w(e,o),w(e,c),v&&v.m(c,null),w(c,_),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(A,D){D[0]&34&&l!==(l=A[5](A[28].label)+"")&&Le(r,l),A[28].type==="string"?v?v.p(A,D):(v=lc(A),v.c(),v.m(c,_)):v&&(v.d(1),v=null),A[28].type==="enum"&&(A[28].style===void 0||A[28].style==="list")?C?C.p(A,D):(C=rc(A),C.c(),C.m(c,d)):C&&(C.d(1),C=null),D[0]&2&&(h=A[28].type==="enum"&&A[28].style==="button"&&Array.isArray(A[28].options)),h?y?y.p(A,D):(y=oc(A),y.c(),y.m(c,p)):y&&(y.d(1),y=null),A[28].type==="boolean"&&(!A[28].style||A[28].style==="switch")?P?P.p(A,D):(P=fc(A),P.c(),P.m(c,b)):P&&(P.d(1),P=null),A[28].type==="boolean"&&A[28].style==="checkbox"?I?I.p(A,D):(I=cc(A),I.c(),I.m(c,null)):I&&(I.d(1),I=null)},d(A){A&&T(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),I&&I.d()}}}function dk(n){let e,t,i,l=n[1]&&n[1][0]&&n[1][1]&&ic(n);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(i=[ne(window,"click",n[7]),ne(window,"blur",n[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=ic(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:He,o:He,d(r){r&&T(e),l&&l.d(),t=!1,Qe(i)}}}function is(n,e,t){if(n&&t>0)return n.matches(e)?n:is(n.parentNode,e,t-1)}function gk(n,e,t){let i,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Ht();let o=pt("getTranslation");bn(n,o,te=>t(5,i=te));let c,{isComboOpen:_}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const h=()=>{p()};function p(te){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(te,G){let Q=is(te.target,".fd-popover__control",20),X=Q.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(Q,!X))}function m(te,G){const Q=te.querySelector(".lui-activate-dropdown"),X=te.parentNode.querySelector(".fd-popover__body"),_e=te.parentNode.querySelector(".fd-select__control");te.setAttribute("aria-expanded",G),X.setAttribute("aria-hidden",!G),_e.setAttribute("aria-expanded",G),Q.setAttribute("aria-expanded",G),t(14,_=G)}function v(te,G,Q){t(4,c=Q),t(0,r[l[0]][te]=G.value||G,r)}function C(te,G){document.querySelectorAll(".enum-buttons-container-"+te+" button").forEach(Q=>{const X=Q.getAttribute("id"),_e=`lui-us-enum_button_${te}_option`;X===_e?Q.classList.add("fd-button--emphasized"):Q.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][te]=G.value||G,r)}function y(te,G){let Q;if(Array.isArray(G)){for(let X=0;X<G.length;X++)if(le.isObject(G[X])){if(G[X].value&&G[X].value===te){Q=G[X].label,t(4,c=X);break}}else{Q=te,t(4,c=G.indexOf(te));break}return i(Q)}}function P(te){return i(le.isObject(te)?te.label:te)}function I(te,G,Q){return le.isObject(Q)?`${te}_${G}_${Q.value}`:`${te}_${G}_${Q}`}function A(te,G,Q,X){let _e=is(te.target,".lui-anchor-node",20);const ie=document.getElementById(`fd-form-input-dropdown-${Q}`).children;let oe=-1;if([...ie].forEach((ve,re)=>{ve.classList.contains("is-focus")&&(oe=re)}),_){if(te.keyCode===Vl&&te.altKey&&(_e.click(),_e.focus()),te.keyCode===Bn&&!te.altKey){if(oe===-1){oe=0,ie.item(oe).classList.add("is-focus");return}oe<X.options.length-1&&(ie.item(oe).classList.remove("is-focus"),oe+=1,ie.item(oe).classList.add("is-focus"))}if(te.keyCode===Vl&&!te.altKey){if(oe===-1){oe=oe.length-1,ie.item(oe).classList.add("is-focus");return}oe>0&&oe<X.options.length&&(ie.item(oe).classList.remove("is-focus"),oe-=1,ie.item(oe).classList.add("is-focus"))}(te.keyCode===mn||te.keyCode===Kr)&&v(G,X.options[oe],oe)}else _e.focus(),te.keyCode===Bn&&te.altKey&&_e.click(),te.keyCode===Bn&&!te.altKey&&oe<X.options.length-1&&v(G,X.options[oe+1],oe+1),te.keyCode===Vl&&!te.altKey&&oe>0&&oe<X.options.length&&v(G,X.options[oe-1],oe-1)}function D(te){if(_){let G=is(te.target,".fd-popover",20);G.blur(),(te.keyCode===Kr||te.keyCode===mn)&&(te.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function V(te){r[l[0]][te]=this.value,t(0,r)}const F=(te,G,Q,X)=>A(X,te,G,Q),U=te=>b(event,te.isEditable),E=(te,G,Q)=>v(te,G,Q),Y=te=>D(te),j=(te,G)=>C(te,G);function Z(te){r[l[0]][te]=this.checked,t(0,r)}function de(te){r[l[0]][te]=this.checked,t(0,r)}return n.$$set=te=>{"userSettingGroup"in te&&t(1,l=te.userSettingGroup),"storedUserSettingData"in te&&t(0,r=te.storedUserSettingData),"isComboOpen"in te&&t(14,_=te.isComboOpen)},[r,l,A,D,c,i,o,p,b,v,C,y,P,I,_,d,h,V,F,U,E,Y,j,Z,de]}class hk extends Et{constructor(e){super(),At(this,e,gk,dk,Nt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:gc}=dl;function hc(n,e,t){const i=n.slice();return i[30]=e[t][0],i[11]=e[t][1],i[36]=t,i}function _c(n,e,t){const i=n.slice();return i[37]=e[t],i}function pc(n){let e,t,i;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?pk:_k}let r=l(n,[-1,-1]),a=r(n);return{c(){a.c(),t=z(),i=S("i"),f(i,"role","presentation"),f(i,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,i,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&&T(t),o&&T(i)}}}function _k(n){let e,t,i,l,r,a=n[37][1].initials&&mc(n);return{c(){e=S("span"),l=z(),a&&a.c(),r=Ce(),f(e,"class",t=Xi(n[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",i=n[37][1].altText?n[37][1].altText:""),Li(e,"background-image","url('"+n[37][1].icon+"')"),Li(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=Xi(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&i!==(i=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",i),c[0]&2&&Li(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=mc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&T(e),o&&T(l),a&&a.d(o),o&&T(r)}}}function pk(n){let e,t,i;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",i=Xi(n[18](n[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),w(e,t)},p(l,r){r[0]&2&&i!==(i=Xi(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",i)},d(l){l&&T(e)}}}function mc(n){let e,t=(n[37][1].initials?n[37][1].initials:"")+"",i,l,r;return{c(){e=S("span"),i=Te(t),f(e,"class",l=Xi(n[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=n[37][1].altText?n[37][1].altText:"")},m(a,o){L(a,e,o),w(e,i)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(i,t),o[0]&2&&l!==(l=Xi(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&T(e)}}}function bc(n){let e,t,i,l,r,a=n[10](n[37][1].label?n[37][1].label:"")+"",o,c,_,d=n[10](n[37][1].sublabel?n[37][1].sublabel:"")+"",h,p,b,m,v=n[37][1].icon&&pc(n);function C(){return n[21](n[37])}function y(...P){return n[22](n[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),i=z(),l=S("div"),r=S("div"),o=Te(a),c=z(),_=S("div"),h=Te(d),p=z(),f(r,"class","fd-list__title"),f(_,"class","fd-list__byline svelte-d5kn3x"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,I){L(P,e,I),w(e,t),v&&v.m(t,null),w(t,i),w(t,l),w(l,r),w(r,o),w(l,c),w(l,_),w(_,h),w(e,p),b||(m=[ne(e,"click",Pt(C)),ne(e,"keydown",y)],b=!0)},p(P,I){n=P,n[37][1].icon?v?v.p(n,I):(v=pc(n),v.c(),v.m(t,i)):v&&(v.d(1),v=null),I[0]&1026&&a!==(a=n[10](n[37][1].label?n[37][1].label:"")+"")&&Le(o,a),I[0]&1026&&d!==(d=n[10](n[37][1].sublabel?n[37][1].sublabel:"")+"")&&Le(h,d)},d(P){P&&T(e),v&&v.d(),b=!1,Qe(m)}}}function vc(n){let e,t=Object.entries(n[11]),i=[];for(let l=0;l<t.length;l+=1)i[l]=bc(_c(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=Ce()},m(l,r){for(let a=0;a<i.length;a+=1)i[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=_c(l,t,a);i[a]?i[a].p(o,r):(i[a]=bc(o),i[a].c(),i[a].m(e.parentNode,e))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){ft(i,l),l&&T(e)}}}function wc(n){let e,t,i,l;function r(c){n[23](c)}function a(c){n[24](c)}let o={storedUserSettingData:n[0],userSettingGroup:n[11]};return n[9]!==void 0&&(o.closeDropDown=n[9]),n[8]!==void 0&&(o.isComboOpen=n[8]),e=new hk({props:o}),Xe.push(()=>_t(e,"closeDropDown",r,n[9])),Xe.push(()=>_t(e,"isComboOpen",a,n[8])),e.$on("updateSettingsObject",n[15]),{c(){Me(e.$$.fragment)},m(c,_){Ve(e,c,_),l=!0},p(c,_){const d={};_[0]&1&&(d.storedUserSettingData=c[0]),_[0]&2048&&(d.userSettingGroup=c[11]),!t&&_[0]&512&&(t=!0,d.closeDropDown=c[9],ht(()=>t=!1)),!i&&_[0]&256&&(i=!0,d.isComboOpen=c[8],ht(()=>i=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){B(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function mk(n){let e,t,i,l,r,a,o,c=n[10](n[4])+"",_,d,h,p,b,m,v,C,y,P=n[10](n[7])+"",I,A,D,V,F,U,E,Y,j,Z,de,te=n[10](n[5])+"",G,Q,X,_e,ie=n[10](n[6])+"",oe,ve,re,Ee,We=Object.entries(n[1]),W=[];for(let Ie=0;Ie<We.length;Ie+=1)W[Ie]=vc(hc(n,We,Ie));let se=n[11]&&wc(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),_=Te(c),d=z(),h=S("div"),p=S("ul");for(let Ie=0;Ie<W.length;Ie+=1)W[Ie].c();b=z(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=z(),y=S("h2"),I=Te(P),A=z(),D=S("div"),V=S("div"),se&&se.c(),F=z(),U=S("div"),E=z(),Y=S("footer"),j=S("div"),Z=S("div"),de=S("button"),G=Te(te),Q=z(),X=S("div"),_e=S("button"),oe=Te(ie),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(h,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(V,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(U,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(D,"class","lui-usersettings-content svelte-d5kn3x"),f(i,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(de,"data-testid","lui-us-saveBtn"),f(de,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Z,"class","fd-bar__element"),f(_e,"data-testid","lui-us-dismissBtn"),f(_e,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(X,"class","fd-bar__element"),f(j,"class","fd-bar__right"),f(Y,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-d5kn3x"),f(e,"tabindex","0")},m(Ie,nt){L(Ie,e,nt),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),w(a,o),w(o,_),w(r,d),w(r,h),w(h,p);for(let Fe=0;Fe<W.length;Fe+=1)W[Fe].m(p,null);w(i,b),w(i,m),w(m,v),w(m,C),w(m,y),w(y,I),w(i,A),w(i,D),w(D,V),se&&se.m(V,null),w(D,F),w(D,U),w(t,E),w(t,Y),w(Y,j),w(j,Z),w(Z,de),w(de,G),w(j,Q),w(j,X),w(X,_e),w(_e,oe),ve=!0,re||(Ee=[ne(gc,"resize",n[20]),ne(gc,"keydown",n[3]),ne(v,"click",n[17]),ne(de,"click",n[25]),ne(_e,"click",n[26])],re=!0)},p(Ie,nt){if((!ve||nt[0]&1040)&&c!==(c=Ie[10](Ie[4])+"")&&Le(_,c),nt[0]&803846){We=Object.entries(Ie[1]);let Fe;for(Fe=0;Fe<We.length;Fe+=1){const pe=hc(Ie,We,Fe);W[Fe]?W[Fe].p(pe,nt):(W[Fe]=vc(pe),W[Fe].c(),W[Fe].m(p,null))}for(;Fe<W.length;Fe+=1)W[Fe].d(1);W.length=We.length}(!ve||nt[0]&1152)&&P!==(P=Ie[10](Ie[7])+"")&&Le(I,P),Ie[11]?se?(se.p(Ie,nt),nt[0]&2048&&R(se,1)):(se=wc(Ie),se.c(),R(se,1),se.m(V,null)):se&&(ke(),B(se,1,1,()=>{se=null}),Se()),(!ve||nt[0]&1056)&&te!==(te=Ie[10](Ie[5])+"")&&Le(G,te),(!ve||nt[0]&1088)&&ie!==(ie=Ie[10](Ie[6])+"")&&Le(oe,ie)},i(Ie){ve||(R(se),ve=!0)},o(Ie){B(se),ve=!1},d(Ie){Ie&&T(e),ft(W,Ie),se&&se.d(),re=!1,Qe(Ee)}}}function kc(n,e){let t={};return n.forEach(i=>{for(let l in i){for(let r in i[l].settings)i[l].settings[r]="";t[l]={...i[l].settings,...e[l]}}}),t}function bk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function vk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function X_(n,e,t){if(n&&t>0)return n.matches(e)?n:X_(n.parentNode,e,t-1)}function Sc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function wk(n,e,t){let i,{userSettingGroups:l}=e;const r=Ht();let a,{storedUserSettings:o={}}=e,c={},_=pt("getTranslation");bn(n,_,oe=>t(10,i=oe));let d=fl.userSettingsDialog.dialogHeader,h=fl.userSettingsDialog.saveBtn,p=fl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Yt(()=>{const oe=ae.getConfigValue("userSettings.userSettingsDialog"),ve=oe||ae.getConfigValue("settings.userSettings.userSettingsDialog");ve&&(t(4,d=ve.dialogHeader?ve.dialogHeader:d),t(5,h=ve.saveBtn?ve.saveBtn:h),t(6,p=ve.dismissBtn?ve.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Ai.addEventListener("message",re=>{const Ee=Ae.getValidMessageSource(re);if(!Ee||re.data.msg!=="custom")return;Ee._ready=!0;const We=rs.convertCustomMessageInternalToUser(re.data),W="luigi.updateUserSettings";if(We.id===W){const se=sr.findActiveCustomUserSettingsIframe(re.source);if(se){let Ie=se.getAttribute("userSettingsGroup");t(0,o[Ie]=We.data,o)}}We.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<ti.desktopMinWidth&&F()}),ae.readUserSettings().then(re=>{c=JSON.parse(JSON.stringify(re)),re===null?t(0,o=kc(JSON.parse(JSON.stringify(l)),{})):t(0,o=kc(JSON.parse(JSON.stringify(l)),re)),I([m,l[0][m]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(oe){if(t(7,v=oe.title?oe.title:""),!!le.isObject(oe.settings))for(let ve in oe.settings){let re=oe.settings[ve];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${ve}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${ve}' in the Luigi userSettings config.`)}}function I(oe,ve){t(11,a=oe);let re=oe[0],Ee=oe[1];if(P(Ee),ve?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(W=>{W.classList.remove("is-selected")}),X_(ve.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<ti.desktopMinWidth&&V()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<ti.desktopMinWidth&&Sc()),Ee.viewUrl){if(sr.hideUserSettingsIframe(),b.hasOwnProperty(re))sr.getUserSettingsIframesInDom().forEach(We=>{We.userSettingsGroup===re&&(We.style.display="block")});else{const We=Gr.hasDecorators()?Gr.applyDecorators(Ee.viewUrl):Ee.viewUrl;let W=sr.createIframe(We,re);b[re]=W}bk()}else vk()}const A=oe=>{t(0,o=oe.detail.userSettings)};function D(){ae.storeUserSettings(o,c).then(()=>{r("close")}).catch(oe=>{oe&&oe.message&&console.error(oe.message),oe&&oe.closeDialog&&r("close")})}function V(){F()}function F(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<ti.desktopMinWidth&&Sc()}function U(oe){return ue.renderIconClassName(oe)}function E(oe){return ue.isOpenUIiconName(oe.icon)}let Y;const j=()=>{const oe=window.innerWidth>=ti.desktopMinWidth&&Y<ti.desktopMinWidth;if(window.innerWidth<ti.desktopMinWidth&&Y>=ti.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),oe&&(document.querySelector(".confirm-button").style.display="block"),!Y){let re=document.querySelector(".confirm-button");window.innerWidth<ti.desktopMinWidth?re.style.display="none":re.style.display="block"}Y=window.innerWidth};function Z(oe,ve){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(oe.keyCode===mn||oe.keyCode===Kr)&&re[ve].click(),oe.keyCode===ik&&re[Object.keys(l).length-1].focus(),oe.keyCode===tk&&re[0].focus()}function de(oe){oe.keyCode===_n&&C?y():oe.keyCode===_n&&!C&&r("close")}const te=oe=>I(oe,event),G=(oe,ve)=>Z(ve,[oe]);function Q(oe){y=oe,t(9,y)}function X(oe){C=oe,t(8,C)}const _e=()=>D(),ie=()=>r("close");return n.$$set=oe=>{"userSettingGroups"in oe&&t(1,l=oe.userSettingGroups),"storedUserSettings"in oe&&t(0,o=oe.storedUserSettings)},[o,l,Z,de,d,h,p,v,C,y,i,a,r,_,I,A,D,F,U,E,j,te,G,Q,X,_e,ie]}class kk extends Et{constructor(e){super(),At(this,e,wk,mk,Nt,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Sk}=dl;function Ck(n){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1n00ko9")},m(t,i){L(t,e,i)},p:He,d(t){t&&T(e)}}}function yk(n){let e,t,i,l,r=n[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>',i=z(),l=S("h1"),a=Te(r),f(t,"class","lui-collapse-btn svelte-1n00ko9"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1n00ko9"),f(l,"class","fd-splitView__title svelte-1n00ko9")},m(_,d){L(_,e,d),w(e,t),L(_,i,d),L(_,l,d),w(l,a),o||(c=ne(t,"click",Vt(Pt(n[4]))),o=!0)},p(_,d){d&2&&r!==(r=_[1].title+"")&&Le(a,r)},d(_){_&&T(e),_&&T(i),_&&T(l),o=!1,c()}}}function Cc(n){let e,t,i,l,r,a,o,c;return{c(){e=S("div"),t=z(),i=S("div"),l=S("div"),r=z(),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-1n00ko9"),f(i,"id","splitViewDragger")},m(_,d){L(_,e,d),L(_,t,d),L(_,i,d),w(i,l),w(i,r),w(i,a),o||(c=[ne(a,"click",Vt(Pt(n[3]))),ne(i,"mousedown",Vt(n[6]))],o=!0)},p:He,d(_){_&&T(e),_&&T(t),_&&T(i),o=!1,Qe(c)}}}function Pk(n){let e,t,i,l,r,a,o,c,_,d;t=new Ol({props:{area:"split-view",disable:n[2]}}),t.$on("stateChanged",n[7]);function h(v,C){return v[0]?yk:Ck}let p=h(n),b=p(n),m=!n[0]&&Cc(n);return{c(){e=S("div"),Me(t.$$.fragment),i=z(),l=S("div"),b.c(),a=z(),m&&m.c(),o=Ce(),f(l,"class","lui-split-view svelte-1n00ko9"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(n[0]?"lui-collapsed":"")+" svelte-1n00ko9")},m(v,C){L(v,e,C),Ve(t,e,null),w(e,i),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,_||(d=ne(Sk,"resize",n[5]),_=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=h(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1n00ko9"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Cc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&T(e),Oe(t),b.d(),v&&T(a),m&&m.d(v),v&&T(o),_=!1,d()}}}function Nk(n,e,t){const i=Ht();let l={draggable:null,iframe:null,split:null},r,a,o,c,_,d,h,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,I=!1,A=pt("getUnsavedChangesModalPromise");const D=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:h,splitViewWC:p,splitViewWCData:b}),set:Q=>{Q&&Object.getOwnPropertyNames(Q).forEach(X=>{X==="splitViewSettings"?t(1,C=Q.splitViewSettings):X==="lastNode"?r=Q.lastNode:X==="pathData"?a=Q.pathData:X==="nodeParams"?o=Q.nodeParams:X==="collapsed"?t(0,v=Q.collapsed):X==="isDataPrepared"?t(8,y=Q.isDataPrepared):X==="currentNode"?c=Q.currentNode:X==="splitViewIframe"?d=Q.splitViewIframe:X==="splitViewIframeData"?h=Q.splitViewIframeData:X==="splitViewWC"?p=Q.splitViewWC:X==="splitViewWCData"&&(b=Q.splitViewWCData)})},dispatch:i,getUnsavedChangesModalPromise:A}),V=async()=>{y?v||ot.createAndSetView(D()):await ot.prepareSplitViewData(D(),m)},F=()=>{l.split=ot.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ot.getDragger()},U=()=>{const Q=ot.getDraggerBackdrop();Q&&(Q.style.display="none"),F(),l.draggable&&(l.draggable.style.top=`${ot.splitViewValues.top}px`),l.split.style.top=`${ot.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function E(Q){if(Ae.getValidMessageSource(Q)&&(Q.data.msg==="luigi.navigation.splitview.close"&&ot.close(D()),Q.data.msg==="luigi.navigation.splitview.collapse"&&Y(),Q.data.msg==="luigi.navigation.splitview.expand"&&j(),Q.data.msg==="luigi.navigation.splitview.resize")){const X=parseInt(Q.data.data);if(ot.calculateAndSetSplitViewValues(X,ot.internalValues),v)return;U(),ot.sendMessageToClients("resize.ok",ot.splitViewValues.percent)}}Yt(()=>{Z(),_=E.bind(this),Ai.addEventListener("message",_)}),jr(()=>{V(),I!==y&&!v&&(I=y,U())}),Jr(()=>{window.removeEventListener("message",_)});function Y(){ot.collapse(D())}async function j(){await ot.expand(D()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Z(){const Q=le.getShellbarHeight();ot.internalValues.innerHeight=le.getInnerHeight(),ot.internalValues.rightContentHeight=ot.internalValues.innerHeight-Q,ot.internalValues.thresholdBottom=30,ot.internalValues.thresholdTop=Q+30,ot.calculateAndSetSplitViewValues(ot.splitViewValues.percent,ot.internalValues),v||U()}function de(Q){let X=Q.y,_e={};const ie=function(We){const W=X-We.y,se=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(se)||W===0)return;const Ie=se-W,nt=ot.internalValues.innerHeight-Ie,Fe=ot.enforceTresholds(Ie,nt);Ie<Fe.top||nt<Fe.bottom||(_e=Fe,X=We.y,l.draggable.style.top=`${_e.top}px`)},oe=function(){if(ve(),!_e.top||!_e.bottom||_e.top==ot.internalValues.m_pos_prev){ot.getDraggerBackdrop().style.display="none";return}ot.internalValues.m_pos_prev=_e.top,ot.splitViewValues=_e,U(),ot.sendMessageToClients("resize.ok",_e.percent)},ve=function(){document.removeEventListener("mouseup",oe),document.removeEventListener("mousemove",ie)},re=function(){document.addEventListener("mouseup",oe),document.addEventListener("mousemove",ie)};F(),ve(),re(),ot.getDraggerBackdrop().style.display="block"}const te=Q=>{let X=ot.getDraggerButton();X&&(X.style.display=Q?"block":"none"),X=ot.getCollapsedDraggerButton(),X&&(X.style.display=Q?"block":"none")},G=Q=>{te(!Q.detail||Q.detail.backdropActive!==!0)};return n.$$set=Q=>{"nodepath"in Q&&t(9,m=Q.nodepath),"collapsed"in Q&&t(0,v=Q.collapsed),"splitViewSettings"in Q&&t(1,C=Q.splitViewSettings),"isDataPrepared"in Q&&t(8,y=Q.isDataPrepared),"disableBackdrop"in Q&&t(2,P=Q.disableBackdrop)},[v,C,P,Y,j,Z,de,G,y,m]}class $_ extends Et{constructor(e){super(),At(this,e,Nk,Pk,Nt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function yc(n){let e,t,i={ctx:n,current:null,token:null,hasCatch:!1,pending:Lk,then:Tk,catch:Ik,value:1};return ns(t=n[0].badgeCounter.count(),i),{c(){e=Ce(),i.block.c()},m(l,r){L(l,e,r),i.block.m(l,i.anchor=r),i.mount=()=>e.parentNode,i.anchor=e},p(l,r){n=l,i.ctx=n,r&1&&t!==(t=n[0].badgeCounter.count())&&ns(t,i)||U_(i,n,r)},d(l){l&&T(e),i.block.d(l),i.token=null,i=null}}}function Ik(n){return{c:He,m:He,p:He,d:He}}function Tk(n){let e,t=n[1]>0&&Pc(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[1]>0?t?t.p(i,l):(t=Pc(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&T(e)}}}function Pc(n){let e,t=n[1]+"",i,l;return{c(){e=S("span"),i=Te(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jwxev"),f(e,"aria-label",l=n[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,i)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(i,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&T(e)}}}function Lk(n){return{c:He,m:He,p:He,d:He}}function Ak(n){let e,t=n[0]&&n[0].badgeCounter&&yc(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,[l]){i[0]&&i[0].badgeCounter?t?t.p(i,l):(t=yc(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(i){t&&t.d(i),i&&T(e)}}}function Ek(n,e,t){let{node:i}=e;return n.$$set=l=>{"node"in l&&t(0,i=l.node)},[i]}class vi extends Et{constructor(e){super(),At(this,e,Ek,Ak,Nt,{node:0})}}function Nc(n){let e,t,i=n[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Te(i),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+n[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&i!==(i=r[0].statusBadge.label+"")&&Le(l,i)},d(r){r&&T(e)}}}function Rk(n){let e,t=n[0].statusBadge&&n[0].statusBadge.label&&Nc(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,[l]){i[0].statusBadge&&i[0].statusBadge.label?t?t.p(i,l):(t=Nc(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(i){t&&t.d(i),i&&T(e)}}}function Dk(n,e,t){let{node:i}=e;const l=["negative","positive","critical","informative"],r=i&&i.statusBadge&&i.statusBadge.type,a=l.includes(r)?r:"none";return n.$$set=o=>{"node"in o&&t(0,i=o.node)},[i,a]}class $i extends Et{constructor(e){super(),At(this,e,Dk,Rk,Nt,{node:0})}}const{window:xa}=dl;function Ic(n,e,t){const i=n.slice();return i[80]=e[t][0],i[81]=e[t][1],i[83]=t,i}function Tc(n,e,t){const i=n.slice();return i[84]=e[t],i}function Lc(n,e,t){const i=n.slice();return i[84]=e[t],i}function Ac(n,e,t){const i=n.slice();return i[84]=e[t],i}function Ec(n,e,t){const i=n.slice();return i[84]=e[t],i}function Rc(n,e,t){const i=n.slice();return i[80]=e[t][0],i[81]=e[t][1],i[83]=t,i}function Dc(n,e,t){const i=n.slice();return i[84]=e[t],i}function Vc(n,e,t){const i=n.slice();return i[84]=e[t],i}function Vk(n){let e,t,i,l,r,a,o,c,_,d,h=n[12]&&Oc(n),p=n[0]&&n[5].length>0&&(n[5][0].topNav===!1||n[5].length>1)&&Uc(n),b=(n[2]||n[3])&&ud(n);return{c(){e=S("div"),h&&h.c(),t=z(),i=S("nav"),l=S("div"),p&&p.c(),r=z(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-4pigtp"),f(i,"class",a="fd-side-nav "+(n[6]?"fd-side-nav--condensed":"")+" "+(n[12]?"lui-nav-header-visible":"")+" svelte-4pigtp"),f(i,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(n[1]?"hideNavComponent":"")+" "+(n[2]||n[3]?"hasFooter":"")+" "+(n[2]&&!n[3]?"hasOnlyFooterText":"")+" svelte-4pigtp")},m(m,v){L(m,e,v),h&&h.m(e,null),w(e,t),w(e,i),w(i,l),p&&p.m(l,null),w(i,r),b&&b.m(i,null),c=!0,_||(d=ne(i,"keyup",n[18]),_=!0)},p(m,v){m[12]?h?h.p(m,v):(h=Oc(m),h.c(),h.m(e,t)):h&&(h.d(1),h=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Uc(m),p.c(),R(p,1),p.m(l,null)):p&&(ke(),B(p,1,1,()=>{p=null}),Se()),m[2]||m[3]?b?b.p(m,v):(b=ud(m),b.c(),b.m(i,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-4pigtp"))&&f(i,"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-4pigtp"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){B(p),c=!1},d(m){m&&T(e),h&&h.d(),p&&p.d(),b&&b.d(),_=!1,d()}}}function Ok(n){let e,t,i,l,r=n[12]&&cd(n),a=n[0]&&n[5].length>1&&hd(n);return{c(){e=S("div"),r&&r.c(),t=z(),a&&a.c(),f(e,"class",i="fd-navigation fd-navigation--vertical "+(n[1]?"hideNavComponent":"")+" "+(n[2]||n[3]?"hasFooter":"")+" "+(n[2]&&!n[3]?"hasOnlyFooterText":"")+" "+(n[6]?"fd-navigation--snapped":"")+" svelte-4pigtp"),f(e,"role","navigation"),Li(e,"width","var(--luigi__left-sidenav--width)"),Li(e,"height","100%")},m(o,c){L(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=cd(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=hd(o),a.c(),R(a,1),a.m(e,null)):a&&(ke(),B(a,1,1,()=>{a=null}),Se()),(!l||c[0]&78&&i!==(i="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-4pigtp"))&&f(e,"class",i)},i(o){l||(R(a),l=!0)},o(o){B(a),l=!1},d(o){o&&T(e),r&&r.d(),a&&a.d()}}}function Oc(n){let e,t,i,l,r,a,o=n[25](n[12].label)+"",c,_,d,h=n[12].icon&&Mc(n),p=n[12].showUpLink&&Fc(n);return{c(){e=S("div"),t=S("ul"),i=S("li"),l=S("a"),h&&h.c(),r=z(),a=S("span"),c=Te(o),_=z(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-4pigtp"),f(l,"class","fd-nested-list__link svelte-4pigtp"),f(l,"title",d=n[33](n[12],n[25](n[12].label))),f(i,"class","fd-nested-list__item svelte-4pigtp"),f(t,"class","fd-nested-list svelte-4pigtp"),f(e,"class","lui-nav-title svelte-4pigtp")},m(b,m){L(b,e,m),w(e,t),w(t,i),w(i,l),h&&h.m(l,null),w(l,r),w(l,a),w(a,c),w(l,_),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=Mc(b),h.c(),h.m(l,r)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=Fc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&T(e),h&&h.d(),p&&p.d()}}}function Mc(n){let e,t;function i(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?Fk:Mk}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function Mk(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[12].icon)||f(t,"src",i),f(t,"alt",l=n[12].altText?n[12].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Ze(t.src,i=r[12].icon)&&f(t,"src",i),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Fk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function Fc(n){let e,t,i,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-4pigtp"),f(e,"role","presentation"),f(e,"title",t=n[25]("luigi.navigation.up"))},m(r,a){L(r,e,a),i||(l=ne(e,"click",Pt(n[19])),i=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),i=!1,l()}}}function Uc(n){let e,t,i,l,r=n[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=od(Ic(n,r,c));const o=c=>B(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",i="fd-nested-list "+(n[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-4pigtp"),f(e,"class","lui-fd-side-nav-wrapper svelte-4pigtp")},m(c,_){L(c,e,_),w(e,t);for(let d=0;d<a.length;d+=1)a[d].m(t,null);l=!0},p(c,_){if(_[0]&1922164672|_[1]&455){r=c[13];let d;for(d=0;d<r.length;d+=1){const h=Ic(c,r,d);a[d]?(a[d].p(h,_),R(a[d],1)):(a[d]=od(h),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ke(),d=r.length;d<a.length;d+=1)o(d);Se()}(!l||_[0]&4194304&&i!==(i="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-4pigtp"))&&f(t,"class",i)},i(c){if(!l){for(let _=0;_<r.length;_+=1)R(a[_]);l=!0}},o(c){a=a.filter(Boolean);for(let _=0;_<a.length;_+=1)B(a[_]);l=!1},d(c){c&&T(e),ft(a,c)}}}function Uk(n){let e,t,i,l;const r=[Wk,Hk],a=[];function o(c,_){return c[81].metaInfo.collapsible?0:1}return e=o(n),t=a[e]=r[e](n),{c(){t.c(),i=Ce()},m(c,_){a[e].m(c,_),L(c,i,_),l=!0},p(c,_){let d=e;e=o(c),e===d?a[e].p(c,_):(ke(),B(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,_):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(i.parentNode,i))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&T(i)}}}function Bk(n){let e,t,i=n[81],l=[];for(let a=0;a<i.length;a+=1)l[a]=sd(Ec(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){i=a[81];let c;for(c=0;c<i.length;c+=1){const _=Ec(a,i,c);l[c]?(l[c].p(_,o),R(l[c],1)):(l[c]=sd(_),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&T(e)}}}function Hk(n){let e,t,i=n[25](n[80])+"",l,r,a,o,c,_,d=n[10]&&n[81].metaInfo.icon&&Bc(n),h=n[81],p=[];for(let m=0;m<h.length;m+=1)p[m]=Kc(Tc(n,h,m));const b=m=>B(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=z(),l=Te(i),o=z();for(let m=0;m<p.length;m+=1)p[m].c();c=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-4pigtp"),f(e,"title",r=n[33](n[81],n[25](n[80]))),f(e,"data-testid",a=n[32](n[81].metaInfo,n[80])),f(e,"id","category_list_level1_"+n[83])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);L(m,c,v),_=!0},p(m,v){if(m[10]&&m[81].metaInfo.icon?d?d.p(m,v):(d=Bc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!_||v[0]&33562624)&&i!==(i=m[25](m[80])+"")&&Le(l,i),(!_||v[0]&33562624&&r!==(r=m[33](m[81],m[25](m[80]))))&&f(e,"title",r),(!_||v[0]&8192&&a!==(a=m[32](m[81].metaInfo,m[80])))&&f(e,"data-testid",a),v[0]&1887477952|v[1]&133){h=m[81];let C;for(C=0;C<h.length;C+=1){const y=Tc(m,h,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Kc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ke(),C=h.length;C<p.length;C+=1)b(C);Se()}},i(m){if(!_){for(let v=0;v<h.length;v+=1)R(p[v]);_=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)B(p[v]);_=!1},d(m){m&&T(e),d&&d.d(),m&&T(o),ft(p,m),m&&T(c)}}}function Wk(n){let e,t,i,l,r,a,o=n[25](n[80])+"",c,_,d,h,p,b,m,v,C,y,P,I,A,D,V,F,U,E,Y,j,Z,de;function te(W,se){return se[0]&8192&&(l=null),l==null&&(l=!!W[30](W[81].metaInfo.icon)),l?Qk:Yk}let G=te(n,[-1,-1,-1,-1]),Q=G(n);function X(){return n[58](n[81])}function _e(){return n[59](n[81])}function ie(...W){return n[60](n[81],...W)}let oe=n[81],ve=[];for(let W=0;W<oe.length;W+=1)ve[W]=Zc(Ac(n,oe,W));const re=W=>B(ve[W],1,1,()=>{ve[W]=null});let Ee=n[81].metaInfo&&n[81].metaInfo.label===n[8]&&Xc(n);function We(){return n[65](n[81])}return{c(){e=S("li"),t=S("div"),i=S("a"),Q.c(),r=z(),a=S("span"),c=Te(o),m=z(),v=S("button"),C=S("i"),D=z(),V=S("ul");for(let W=0;W<ve.length;W+=1)ve[W].c();U=z(),Ee&&Ee.c(),E=z(),f(a,"class","fd-nested-list__title svelte-4pigtp"),f(i,"title",_=n[33](n[81],n[25](n[80]))),f(i,"class",d="fd-nested-list__link "+(ri(n[81],n[9])?"is-expanded":"")+" svelte-4pigtp"),f(i,"tabindex",h=n[6]?"-1":"0"),f(i,"role",p=n[23]?void 0:"button"),f(i,"id","collapsible_listnode_"+n[83]),f(i,"aria-haspopup","true"),f(i,"aria-expanded",b=ri(n[81],n[9])),f(C,"class",y=ri(n[81],n[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-4pigtp"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=ri(n[81],n[9])),f(v,"title",I=n[39](n[81],n[9])),f(t,"class","fd-nested-list__content has-child svelte-4pigtp"),f(t,"tabindex",A=n[6]?"0":"-1"),f(V,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-4pigtp"),f(V,"aria-hidden",F=!ri(n[81],n[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",Y=n[32](n[81].metaInfo,n[80])),Ti(e,"lui-item-expanded",ri(n[81],n[9]))},m(W,se){L(W,e,se),w(e,t),w(t,i),Q.m(i,null),w(i,r),w(i,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,D),w(e,V);for(let Ie=0;Ie<ve.length;Ie+=1)ve[Ie].m(V,null);w(e,U),Ee&&Ee.m(e,null),w(e,E),j=!0,Z||(de=[ne(i,"click",Pt(X)),ne(v,"click",Pt(_e)),ne(t,"keypress",ie),ne(e,"click",Vt(We))],Z=!0)},p(W,se){if(n=W,G===(G=te(n,se))&&Q?Q.p(n,se):(Q.d(1),Q=G(n),Q&&(Q.c(),Q.m(i,r))),(!j||se[0]&33562624)&&o!==(o=n[25](n[80])+"")&&Le(c,o),(!j||se[0]&33562624&&_!==(_=n[33](n[81],n[25](n[80]))))&&f(i,"title",_),(!j||se[0]&8704&&d!==(d="fd-nested-list__link "+(ri(n[81],n[9])?"is-expanded":"")+" svelte-4pigtp"))&&f(i,"class",d),(!j||se[0]&64&&h!==(h=n[6]?"-1":"0"))&&f(i,"tabindex",h),(!j||se[0]&8388608&&p!==(p=n[23]?void 0:"button"))&&f(i,"role",p),(!j||se[0]&8704&&b!==(b=ri(n[81],n[9])))&&f(i,"aria-expanded",b),(!j||se[0]&8704&&y!==(y=ri(n[81],n[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!j||se[0]&8704&&P!==(P=ri(n[81],n[9])))&&f(v,"aria-expanded",P),(!j||se[0]&8704&&I!==(I=n[39](n[81],n[9])))&&f(v,"title",I),(!j||se[0]&64&&A!==(A=n[6]?"0":"-1"))&&f(t,"tabindex",A),se[0]&276865152|se[1]&133){oe=n[81];let Ie;for(Ie=0;Ie<oe.length;Ie+=1){const nt=Ac(n,oe,Ie);ve[Ie]?(ve[Ie].p(nt,se),R(ve[Ie],1)):(ve[Ie]=Zc(nt),ve[Ie].c(),R(ve[Ie],1),ve[Ie].m(V,null))}for(ke(),Ie=oe.length;Ie<ve.length;Ie+=1)re(Ie);Se()}(!j||se[0]&8704&&F!==(F=!ri(n[81],n[9])))&&f(V,"aria-hidden",F),n[81].metaInfo&&n[81].metaInfo.label===n[8]?Ee?(Ee.p(n,se),se[0]&8448&&R(Ee,1)):(Ee=Xc(n),Ee.c(),R(Ee,1),Ee.m(e,E)):Ee&&(ke(),B(Ee,1,1,()=>{Ee=null}),Se()),(!j||se[0]&8192&&Y!==(Y=n[32](n[81].metaInfo,n[80])))&&f(e,"data-testid",Y),(!j||se[0]&8704)&&Ti(e,"lui-item-expanded",ri(n[81],n[9]))},i(W){if(!j){for(let se=0;se<oe.length;se+=1)R(ve[se]);R(Ee),j=!0}},o(W){ve=ve.filter(Boolean);for(let se=0;se<ve.length;se+=1)B(ve[se]);B(Ee),j=!1},d(W){W&&T(e),Q.d(),ft(ve,W),Ee&&Ee.d(),Z=!1,Qe(de)}}}function Bc(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[81].metaInfo.icon)),e?qk:zk}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function zk(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[81].metaInfo.icon)||f(t,"src",i),f(t,"alt",l=n[81].metaInfo.altText?n[81].metaInfo.altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[81].metaInfo.icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[81].metaInfo.altText?r[81].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function qk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(n[81].metaInfo.icon?n[29](n[81].metaInfo.icon):"")+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(i[81].metaInfo.icon?i[29](i[81].metaInfo.icon):"")+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function Hc(n){let e,t,i=n[84].label&&Wc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Wc(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Wc(n){let e,t,i,l,r=n[28](n[84])+"",a,o,c,_,d,h,p,b,m,v,C,y,P,I;function A(Z,de){return Z[84].icon?Kk:Gk}let D=A(n),V=D(n),F=n[84].statusBadge&&zc(n),U=n[84].externalLink&&n[84].externalLink.url&&qc(),E=n[84].badgeCounter&&Gc(n);function Y(...Z){return n[66](n[84],...Z)}function j(...Z){return n[67](n[84],...Z)}return{c(){e=S("li"),t=S("a"),V.c(),i=z(),l=S("span"),a=Te(r),o=z(),F&&F.c(),_=z(),U&&U.c(),d=z(),E&&E.c(),v=z(),f(l,"class",c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(t,"href",h=n[31](n[84])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(t,"role",b=n[23]?void 0:"button"),f(t,"data-testid",m=ue.getTestId(n[84])),f(e,"class","fd-nested-list__item"),f(e,"title",C=n[33](n[84],n[28](n[84]))),f(e,"aria-labelledby","category_list_level1_"+n[83])},m(Z,de){L(Z,e,de),w(e,t),V.m(t,null),w(t,i),w(t,l),w(l,a),w(l,o),F&&F.m(l,null),w(t,_),U&&U.m(t,null),w(t,d),E&&E.m(t,null),w(e,v),y=!0,P||(I=[ne(t,"click",Y),ne(t,"keyup",function(){pn(n[23]?void 0:j)&&(n[23]?void 0:j).apply(this,arguments)})],P=!0)},p(Z,de){n=Z,D===(D=A(n))&&V?V.p(n,de):(V.d(1),V=D(n),V&&(V.c(),V.m(t,i))),(!y||de[0]&8192)&&r!==(r=n[28](n[84])+"")&&Le(a,r),n[84].statusBadge?F?(F.p(n,de),de[0]&8192&&R(F,1)):(F=zc(n),F.c(),R(F,1),F.m(l,null)):F&&(ke(),B(F,1,1,()=>{F=null}),Se()),(!y||de[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(l,"class",c),n[84].externalLink&&n[84].externalLink.url?U||(U=qc(),U.c(),U.m(t,d)):U&&(U.d(1),U=null),n[84].badgeCounter?E?(E.p(n,de),de[0]&8192&&R(E,1)):(E=Gc(n),E.c(),R(E,1),E.m(t,null)):E&&(ke(),B(E,1,1,()=>{E=null}),Se()),(!y||de[0]&8192&&h!==(h=n[31](n[84])))&&f(t,"href",h),(!y||de[0]&8320&&p!==(p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(t,"class",p),(!y||de[0]&8388608&&b!==(b=n[23]?void 0:"button"))&&f(t,"role",b),(!y||de[0]&8192&&m!==(m=ue.getTestId(n[84])))&&f(t,"data-testid",m),(!y||de[0]&8192&&C!==(C=n[33](n[84],n[28](n[84]))))&&f(e,"title",C)},i(Z){y||(R(F),R(E),y=!0)},o(Z){B(F),B(E),y=!1},d(Z){Z&&T(e),V.d(),F&&F.d(),U&&U.d(),E&&E.d(),P=!1,Qe(I)}}}function Gk(n){let e,t,i,l,r=n[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),i=z(),l=S("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,i,c),L(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Le(a,r)},d(o){o&&T(e),o&&T(i),o&&T(l)}}}function Kk(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[84].icon)),e?Jk:jk}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function jk(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[84].icon)||f(t,"src",i),f(t,"alt",l=n[84].altText?n[84].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[84].icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[84].altText?r[84].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Jk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+n[29](n[84].icon)+" svelte-4pigtp")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+i[29](i[84].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function zc(n){let e,t;return e=new $i({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function qc(n){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,i){L(t,e,i)},d(t){t&&T(e)}}}function Gc(n){let e,t;return e=new vi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Kc(n){let e,t,i=!n[84].hideFromNav&&Hc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Hc(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Yk(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[81].metaInfo.icon)||f(t,"src",i),f(t,"alt",l=n[81].metaInfo.altText?n[81].metaInfo.altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[81].metaInfo.icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[81].metaInfo.altText?r[81].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function Qk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+n[29](n[81].metaInfo.icon)+" "+(n[6]&&!n[81].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+i[29](i[81].metaInfo.icon)+" "+(i[6]&&!i[81].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function jc(n){let e,t,i=n[84].label&&Jc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Jc(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Jc(n){let e,t,i,l=n[28](n[84])+"",r,a,o,c,_,d,h,p,b,m,v,C,y,P,I;o=new $i({props:{node:n[84]}});let A=n[84].externalLink&&n[84].externalLink.url&&Yc(),D=n[84].badgeCounter&&Qc(n);function V(...U){return n[61](n[84],...U)}function F(...U){return n[62](n[84],...U)}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),_=z(),A&&A.c(),d=z(),D&&D.c(),C=z(),f(i,"class",c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(t,"href",h=n[31](n[84])),f(t,"class",p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(t,"role",b=n[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=ue.getTestId(n[84])),f(t,"title",v=n[33](n[84],n[28](n[84]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+n[83])},m(U,E){L(U,e,E),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(t,_),A&&A.m(t,null),w(t,d),D&&D.m(t,null),w(e,C),y=!0,P||(I=[ne(t,"click",V),ne(t,"keyup",function(){pn(n[23]?void 0:F)&&(n[23]?void 0:F).apply(this,arguments)})],P=!0)},p(U,E){n=U,(!y||E[0]&8192)&&l!==(l=n[28](n[84])+"")&&Le(r,l);const Y={};E[0]&8192&&(Y.node=n[84]),o.$set(Y),(!y||E[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(i,"class",c),n[84].externalLink&&n[84].externalLink.url?A||(A=Yc(),A.c(),A.m(t,d)):A&&(A.d(1),A=null),n[84].badgeCounter?D?(D.p(n,E),E[0]&8192&&R(D,1)):(D=Qc(n),D.c(),R(D,1),D.m(t,null)):D&&(ke(),B(D,1,1,()=>{D=null}),Se()),(!y||E[0]&8192&&h!==(h=n[31](n[84])))&&f(t,"href",h),(!y||E[0]&8320&&p!==(p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(t,"class",p),(!y||E[0]&8388608&&b!==(b=n[23]?void 0:"button"))&&f(t,"role",b),(!y||E[0]&8192&&m!==(m=ue.getTestId(n[84])))&&f(t,"data-testid",m),(!y||E[0]&8192&&v!==(v=n[33](n[84],n[28](n[84]))))&&f(t,"title",v)},i(U){y||(R(o.$$.fragment,U),R(D),y=!0)},o(U){B(o.$$.fragment,U),B(D),y=!1},d(U){U&&T(e),Oe(o),A&&A.d(),D&&D.d(),P=!1,Qe(I)}}}function Yc(n){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,i){L(t,e,i)},d(t){t&&T(e)}}}function Qc(n){let e,t;return e=new vi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Zc(n){let e,t,i=!n[84].hideFromNav&&jc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=jc(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Xc(n){let e,t,i,l=n[25](n[80])+"",r,a,o,c,_=n[81],d=[];for(let p=0;p<_.length;p+=1)d[p]=id(Lc(n,_,p));const h=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),i=S("h5"),r=Te(l),a=z(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(i,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-4pigtp"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-4pigtp"),f(t,"class","lui-flyout-sublist__wrapper svelte-4pigtp"),f(e,"class","lui-flyout-sublist svelte-4pigtp")},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&33562624)&&l!==(l=p[25](p[80])+"")&&Le(r,l),b[0]&276865152|b[1]&133){_=p[81];let m;for(m=0;m<_.length;m+=1){const v=Lc(p,_,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=id(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ke(),m=_.length;m<d.length;m+=1)h(m);Se()}},i(p){if(!c){for(let b=0;b<_.length;b+=1)R(d[b]);c=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)B(d[b]);c=!1},d(p){p&&T(e),ft(d,p)}}}function $c(n){let e,t,i=n[84].label&&xc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=xc(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function xc(n){let e,t,i,l=n[28](n[84])+"",r,a,o,c,_,d,h,p,b,m,v,C,y,P,I;o=new $i({props:{node:n[84]}});let A=n[84].externalLink&&n[84].externalLink.url&&ed(),D=n[84].badgeCounter&&td(n);function V(...U){return n[63](n[84],...U)}function F(...U){return n[64](n[84],...U)}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),_=z(),A&&A.c(),d=z(),D&&D.c(),C=z(),f(i,"class",c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(t,"href",h=n[31](n[84])),f(t,"class",p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(t,"tabindex","0"),f(t,"role",b=n[23]?void 0:"button"),f(t,"data-testid",m=ue.getTestId(n[84])),f(t,"title",v=n[33](n[84],n[28](n[84]))),f(e,"class","fd-nested-list__item")},m(U,E){L(U,e,E),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(t,_),A&&A.m(t,null),w(t,d),D&&D.m(t,null),w(e,C),y=!0,P||(I=[ne(t,"click",V),ne(t,"keyup",function(){pn(n[23]?void 0:F)&&(n[23]?void 0:F).apply(this,arguments)})],P=!0)},p(U,E){n=U,(!y||E[0]&8192)&&l!==(l=n[28](n[84])+"")&&Le(r,l);const Y={};E[0]&8192&&(Y.node=n[84]),o.$set(Y),(!y||E[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(i,"class",c),n[84].externalLink&&n[84].externalLink.url?A||(A=ed(),A.c(),A.m(t,d)):A&&(A.d(1),A=null),n[84].badgeCounter?D?(D.p(n,E),E[0]&8192&&R(D,1)):(D=td(n),D.c(),R(D,1),D.m(t,null)):D&&(ke(),B(D,1,1,()=>{D=null}),Se()),(!y||E[0]&8192&&h!==(h=n[31](n[84])))&&f(t,"href",h),(!y||E[0]&8320&&p!==(p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(t,"class",p),(!y||E[0]&8388608&&b!==(b=n[23]?void 0:"button"))&&f(t,"role",b),(!y||E[0]&8192&&m!==(m=ue.getTestId(n[84])))&&f(t,"data-testid",m),(!y||E[0]&8192&&v!==(v=n[33](n[84],n[28](n[84]))))&&f(t,"title",v)},i(U){y||(R(o.$$.fragment,U),R(D),y=!0)},o(U){B(o.$$.fragment,U),B(D),y=!1},d(U){U&&T(e),Oe(o),A&&A.d(),D&&D.d(),P=!1,Qe(I)}}}function ed(n){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,i){L(t,e,i)},d(t){t&&T(e)}}}function td(n){let e,t;return e=new vi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function id(n){let e,t,i=!n[84].hideFromNav&&$c(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=$c(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function nd(n){let e,t,i=n[84].label&&ld(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=ld(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function ld(n){let e,t,i,l,r=n[28](n[84])+"",a,o,c,_,d,h,p,b,m,v,C,y,P,I,A;function D(Z,de){return Z[84].icon?Xk:Zk}let V=D(n),F=V(n);c=new $i({props:{node:n[84]}});let U=n[84].externalLink&&n[84].externalLink.url&&rd(),E=n[84].badgeCounter&&ad(n);function Y(...Z){return n[56](n[84],...Z)}function j(...Z){return n[57](n[84],...Z)}return{c(){e=S("li"),t=S("a"),F.c(),i=z(),l=S("span"),a=Te(r),o=z(),Me(c.$$.fragment),d=z(),U&&U.c(),h=z(),E&&E.c(),y=z(),f(l,"class",_="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(t,"href",p=n[31](n[84])),f(t,"title",b=n[33](n[84],n[28](n[84]))),f(t,"class",m="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(t,"tabindex","0"),f(t,"role",v=n[23]?void 0:"button"),f(t,"data-testid",C=ue.getTestId(n[84])),f(e,"class","fd-nested-list__item")},m(Z,de){L(Z,e,de),w(e,t),F.m(t,null),w(t,i),w(t,l),w(l,a),w(l,o),Ve(c,l,null),w(t,d),U&&U.m(t,null),w(t,h),E&&E.m(t,null),w(e,y),P=!0,I||(A=[ne(t,"click",Y),ne(t,"keyup",function(){pn(n[23]?void 0:j)&&(n[23]?void 0:j).apply(this,arguments)})],I=!0)},p(Z,de){n=Z,V===(V=D(n))&&F?F.p(n,de):(F.d(1),F=V(n),F&&(F.c(),F.m(t,i))),(!P||de[0]&8192)&&r!==(r=n[28](n[84])+"")&&Le(a,r);const te={};de[0]&8192&&(te.node=n[84]),c.$set(te),(!P||de[0]&8192&&_!==(_="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(l,"class",_),n[84].externalLink&&n[84].externalLink.url?U||(U=rd(),U.c(),U.m(t,h)):U&&(U.d(1),U=null),n[84].badgeCounter?E?(E.p(n,de),de[0]&8192&&R(E,1)):(E=ad(n),E.c(),R(E,1),E.m(t,null)):E&&(ke(),B(E,1,1,()=>{E=null}),Se()),(!P||de[0]&8192&&p!==(p=n[31](n[84])))&&f(t,"href",p),(!P||de[0]&8192&&b!==(b=n[33](n[84],n[28](n[84]))))&&f(t,"title",b),(!P||de[0]&8320&&m!==(m="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(t,"class",m),(!P||de[0]&8388608&&v!==(v=n[23]?void 0:"button"))&&f(t,"role",v),(!P||de[0]&8192&&C!==(C=ue.getTestId(n[84])))&&f(t,"data-testid",C)},i(Z){P||(R(c.$$.fragment,Z),R(E),P=!0)},o(Z){B(c.$$.fragment,Z),B(E),P=!1},d(Z){Z&&T(e),F.d(),Oe(c),U&&U.d(),E&&E.d(),I=!1,Qe(A)}}}function Zk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(i){i&&T(e)}}}function Xk(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[84].icon)),e?xk:$k}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function $k(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[84].icon)||f(t,"src",i),f(t,"alt",l=n[84].altText?n[84].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[84].icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[84].altText?r[84].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function xk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+n[29](n[84].icon)+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+i[29](i[84].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function rd(n){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,i){L(t,e,i)},d(t){t&&T(e)}}}function ad(n){let e,t;return e=new vi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function sd(n){let e,t,i=!n[84].hideFromNav&&nd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=nd(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function od(n){let e,t,i,l,r,a;const o=[Bk,Uk],c=[];function _(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[80]==="undefined"||d[80].startsWith(d[14]))),e?0:(t==null&&(t=d[81].filter(pS).length>0),t?1:-1)}return~(i=_(n,[-1,-1,-1,-1]))&&(l=c[i]=o[i](n)),{c(){l&&l.c(),r=Ce()},m(d,h){~i&&c[i].m(d,h),L(d,r,h),a=!0},p(d,h){let p=i;i=_(d,h),i===p?~i&&c[i].p(d,h):(l&&(ke(),B(c[p],1,1,()=>{c[p]=null}),Se()),~i?(l=c[i],l?l.p(d,h):(l=c[i]=o[i](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~i&&c[i].d(d),d&&T(r)}}}function ud(n){let e,t,i,l=(n[2]?n[2]:"")+"",r,a,o=n[3]&&fd(n);return{c(){e=S("div"),t=S("span"),i=S("span"),r=Te(l),a=z(),o&&o.c(),f(i,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-4pigtp"),f(i,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-4pigtp"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-4pigtp")},m(c,_){L(c,e,_),w(e,t),w(t,i),w(i,r),w(t,a),o&&o.m(t,null)},p(c,_){_[0]&4&&l!==(l=(c[2]?c[2]:"")+"")&&Le(r,l),c[3]?o?o.p(c,_):(o=fd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),o&&o.d()}}}function fd(n){let e;function t(r,a){return r[4]=="button"?tS:eS}let i=t(n),l=i(n);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){i===(i=t(r))&&l?l.p(r,a):(l.d(1),l=i(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function eS(n){let e,t,i,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(n[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-4pigtp"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",n[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),i||(l=[ne(e,"click",n[69]),ne(e,"keydown",n[70])],i=!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-4pigtp")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&T(e),i=!1,Qe(l)}}}function tS(n){let e,t,i,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",i="lui-side-nav__footer--icon "+(n[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-4pigtp"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",n[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-4pigtp")},m(a,o){L(a,e,o),w(e,t),l||(r=ne(e,"click",n[68]),l=!0)},p(a,o){o[0]&64&&i!==(i="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-4pigtp")&&f(t,"class",i),o[0]&2048&&f(e,"title",a[11])},d(a){a&&T(e),l=!1,r()}}}function cd(n){let e,t,i,l,r,a,o=n[25](n[12].label)+"",c,_,d,h=n[12].icon&&dd(n),p=n[12].showUpLink&&gd(n);return{c(){e=S("div"),t=S("ul"),i=S("li"),l=S("a"),h&&h.c(),r=z(),a=S("span"),c=Te(o),_=z(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-4pigtp"),f(l,"class","fd-nested-list__link svelte-4pigtp"),f(l,"title",d=n[33](n[12],n[25](n[12].label))),f(i,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-4pigtp"),f(e,"class","lui-nav-title svelte-4pigtp")},m(b,m){L(b,e,m),w(e,t),w(t,i),w(i,l),h&&h.m(l,null),w(l,r),w(l,a),w(a,c),w(l,_),p&&p.m(l,null)},p(b,m){b[12].icon?h?h.p(b,m):(h=dd(b),h.c(),h.m(l,r)):h&&(h.d(1),h=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=gd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&T(e),h&&h.d(),p&&p.d()}}}function dd(n){let e,t;function i(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?nS:iS}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function iS(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[12].icon)||f(t,"src",i),f(t,"alt",l=n[12].altText?n[12].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Ze(t.src,i=r[12].icon)&&f(t,"src",i),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function nS(n){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function gd(n){let e,t,i,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-4pigtp"),f(e,"role","presentation"),f(e,"title",t=n[25]("luigi.navigation.up"))},m(r,a){L(r,e,a),i||(l=ne(e,"click",Pt(n[19])),i=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&T(e),i=!1,l()}}}function hd(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m=n[13],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ad(Rc(n,m,y));const C=y=>B(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();i=z(),l=S("li"),r=z(),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>`,_=z(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-4pigtp"></ul></div>',f(l,"class","lui-spacer svelte-4pigtp"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-4pigtp"),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-4pigtp"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-4pigtp"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(y,P){L(y,e,P),w(e,t);for(let I=0;I<v.length;I+=1)v[I].m(t,null);w(t,i),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,_),w(a,d),n[55](e),h=!0,p||(b=ne(c,"click",n[54]),p=!0)},p(y,P){if(P[0]&1922164672|P[1]&135){m=y[13];let I;for(I=0;I<m.length;I+=1){const A=Rc(y,m,I);v[I]?(v[I].p(A,P),R(v[I],1)):(v[I]=Ad(A),v[I].c(),R(v[I],1),v[I].m(t,i))}for(ke(),I=m.length;I<v.length;I+=1)C(I);Se()}},i(y){if(!h){for(let P=0;P<m.length;P+=1)R(v[P]);h=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)B(v[P]);h=!1},d(y){y&&T(e),ft(v,y),n[55](null),p=!1,b()}}}function lS(n){let e,t,i,l,r,a,o=n[25](n[80])+"",c,_,d,h,p,b,m,v,C,y,P,I,A,D,V;function F(de,te){return te[0]&8192&&(l=null),l==null&&(l=!!de[30](de[81].metaInfo.icon)),l?sS:aS}let U=F(n,[-1,-1,-1,-1]),E=U(n);function Y(){return n[48](n[81])}function j(...de){return n[49](n[81],...de)}let Z=(!n[6]||n[81].metaInfo&&n[81].metaInfo.label===n[8])&&_d(n);return{c(){e=S("li"),t=S("div"),i=S("a"),E.c(),r=z(),a=S("span"),c=Te(o),_=z(),d=S("span"),h=z(),p=S("span"),y=z(),Z&&Z.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(i,"class","fd-navigation__link svelte-4pigtp"),f(i,"role","button"),f(i,"tabindex","-1"),f(t,"class",b="fd-navigation__item "+(n[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=n[33](n[81],n[25](n[80]))),f(t,"aria-expanded",v=n[6]?n[81].metaInfo&&n[81].metaInfo.label===n[8]:ri(n[81],n[9])),f(t,"aria-selected",C=n[6]&&n[81].indexOf(n[7])>=0),f(e,"class",P="fd-navigation__list-item "+(n[6]?"fd-popover":"")+" lui-nav-entry svelte-4pigtp"),f(e,"aria-hidden","true"),f(e,"data-testid",I=n[32](n[81].metaInfo,n[80]))},m(de,te){L(de,e,te),w(e,t),w(t,i),E.m(i,null),w(i,r),w(i,a),w(a,c),w(i,_),w(i,d),w(i,h),w(i,p),w(e,y),Z&&Z.m(e,null),A=!0,D||(V=[ne(i,"click",Pt(Y)),ne(t,"click",Vt(j))],D=!0)},p(de,te){n=de,U===(U=F(n,te))&&E?E.p(n,te):(E.d(1),E=U(n),E&&(E.c(),E.m(i,r))),(!A||te[0]&33562624)&&o!==(o=n[25](n[80])+"")&&Le(c,o),(!A||te[0]&64&&b!==(b="fd-navigation__item "+(n[6]?"fd-popover__control":"")))&&f(t,"class",b),(!A||te[0]&33562624&&m!==(m=n[33](n[81],n[25](n[80]))))&&f(t,"title",m),(!A||te[0]&9024&&v!==(v=n[6]?n[81].metaInfo&&n[81].metaInfo.label===n[8]:ri(n[81],n[9])))&&f(t,"aria-expanded",v),(!A||te[0]&8384&&C!==(C=n[6]&&n[81].indexOf(n[7])>=0))&&f(t,"aria-selected",C),!n[6]||n[81].metaInfo&&n[81].metaInfo.label===n[8]?Z?(Z.p(n,te),te[0]&8512&&R(Z,1)):(Z=_d(n),Z.c(),R(Z,1),Z.m(e,null)):Z&&(ke(),B(Z,1,1,()=>{Z=null}),Se()),(!A||te[0]&64&&P!==(P="fd-navigation__list-item "+(n[6]?"fd-popover":"")+" lui-nav-entry svelte-4pigtp"))&&f(e,"class",P),(!A||te[0]&8192&&I!==(I=n[32](n[81].metaInfo,n[80])))&&f(e,"data-testid",I)},i(de){A||(R(Z),A=!0)},o(de){B(Z),A=!1},d(de){de&&T(e),E.d(),Z&&Z.d(),D=!1,Qe(V)}}}function rS(n){let e,t,i=n[81],l=[];for(let a=0;a<i.length;a+=1)l[a]=Ld(Vc(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){i=a[81];let c;for(c=0;c<i.length;c+=1){const _=Vc(a,i,c);l[c]?(l[c].p(_,o),R(l[c],1)):(l[c]=Ld(_),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&T(e)}}}function aS(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[81].metaInfo.icon)||f(t,"src",i),f(t,"alt",l=n[81].metaInfo.altText?n[81].metaInfo.altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-navigation__icon svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[81].metaInfo.icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[81].metaInfo.altText?r[81].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function sS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+n[29](n[81].metaInfo.icon)+" "+(n[6]&&!n[81].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(i,l){L(i,e,l)},p(i,l){l[0]&8256&&t!==(t="fd-navigation__icon "+i[29](i[81].metaInfo.icon)+" "+(i[6]&&!i[81].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function _d(n){let e,t,i,l,r,a,o,c=n[6]&&pd(n),_=n[81],d=[];for(let p=0;p<_.length;p+=1)d[p]=yd(Dc(n,_,p));const h=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),i=z(),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 "+(n[6]?"fd-popover__wrapper":"")),f(t,"aria-hidden","true"),f(e,"class",a="fd-navigation__list-container "+(n[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-4pigtp")},m(p,b){L(p,e,b),w(e,t),c&&c.m(t,null),w(t,i),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=pd(p),c.c(),c.m(t,i)):c&&(c.d(1),c=null),b[0]&276865152|b[1]&133){_=p[81];let m;for(m=0;m<_.length;m+=1){const v=Dc(p,_,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=yd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ke(),m=_.length;m<d.length;m+=1)h(m);Se()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-4pigtp"))&&f(e,"class",a)},i(p){if(!o){for(let b=0;b<_.length;b+=1)R(d[b]);o=!0}},o(p){d=d.filter(Boolean);for(let b=0;b<d.length;b+=1)B(d[b]);o=!1},d(p){p&&T(e),c&&c.d(),ft(d,p)}}}function pd(n){let e,t,i,l,r=n[25](n[80])+"",a,o,c,_,d,h=n[10]&&n[81].metaInfo.icon&&md(n);return{c(){e=S("div"),t=S("a"),h&&h.c(),i=z(),l=S("span"),a=Te(r),o=z(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-4pigtp"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-4pigtp"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",_=n[33](n[81],n[25](n[80]))),f(e,"data-testid",d=n[32](n[81].metaInfo,n[80]))},m(p,b){L(p,e,b),w(e,t),h&&h.m(t,null),w(t,i),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[81].metaInfo.icon?h?h.p(p,b):(h=md(p),h.c(),h.m(t,i)):h&&(h.d(1),h=null),b[0]&33562624&&r!==(r=p[25](p[80])+"")&&Le(a,r),b[0]&33562624&&_!==(_=p[33](p[81],p[25](p[80])))&&f(e,"title",_),b[0]&8192&&d!==(d=p[32](p[81].metaInfo,p[80]))&&f(e,"data-testid",d)},d(p){p&&T(e),h&&h.d()}}}function md(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[81].metaInfo.icon)),e?uS:oS}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function oS(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[81].metaInfo.icon)||f(t,"src",i),f(t,"alt",l=n[81].metaInfo.altText?n[81].metaInfo.altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-navigation__icon svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[81].metaInfo.icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[81].metaInfo.altText?r[81].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function uS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+n[29](n[81].metaInfo.icon)+" svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-navigation__icon "+i[29](i[81].metaInfo.icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function bd(n){let e,t,i=n[84].label&&vd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=vd(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function vd(n){let e,t,i,l,r=n[28](n[84])+"",a,o,c,_,d,h,p,b,m,v,C,y,P,I,A,D,V=n[28](n[84])+"",F,U,E,Y,j,Z,de,te,G,Q,X,_e,ie,oe;c=new $i({props:{node:n[84]}});let ve=n[84].externalLink&&n[84].externalLink.url&&wd(),re=n[84].badgeCounter&&kd(n);function Ee(...Fe){return n[50](n[84],...Fe)}function We(...Fe){return n[51](n[84],...Fe)}E=new $i({props:{node:n[84]}});let W=n[84].externalLink&&n[84].externalLink.url&&Sd(),se=n[84].badgeCounter&&Cd(n);function Ie(...Fe){return n[52](n[84],...Fe)}function nt(...Fe){return n[53](n[84],...Fe)}return{c(){e=S("li"),t=S("div"),i=S("a"),l=S("span"),a=Te(r),o=z(),Me(c.$$.fragment),d=z(),h=S("span"),p=z(),ve&&ve.c(),b=z(),re&&re.c(),P=z(),I=S("li"),A=S("a"),D=S("span"),F=Te(V),U=z(),Me(E.$$.fragment),j=z(),W&&W.c(),Z=z(),se&&se.c(),f(l,"class",_="fd-navigation__text badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(h,"class","fd-navigation__selection-indicator"),f(h,"role","presentation"),f(h,"aria-hidden","true"),f(h,"aria-label","selection indicator"),f(i,"class","fd-navigation__link svelte-4pigtp"),f(i,"tabindex","-1"),f(i,"href",m=n[31](n[84])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=n[33](n[84],n[28](n[84]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=n[84]===n[7]),f(t,"data-testid",y=ue.getTestId(n[84])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(D,"class",Y="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(A,"href",de=n[31](n[84])),f(A,"class",te="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(A,"role",G=n[23]?void 0:"button"),f(A,"tabindex","0"),f(A,"data-testid",Q=ue.getTestId(n[84])),f(A,"title",X=n[33](n[84],n[28](n[84]))),Li(I,"display","none"),f(I,"class","fd-nested-list__item"),f(I,"aria-labelledby","collapsible_listnode_"+n[83])},m(Fe,pe){L(Fe,e,pe),w(e,t),w(t,i),w(i,l),w(l,a),w(l,o),Ve(c,l,null),w(i,d),w(i,h),w(i,p),ve&&ve.m(i,null),w(i,b),re&&re.m(i,null),L(Fe,P,pe),L(Fe,I,pe),w(I,A),w(A,D),w(D,F),w(D,U),Ve(E,D,null),w(A,j),W&&W.m(A,null),w(A,Z),se&&se.m(A,null),_e=!0,ie||(oe=[ne(i,"click",Ee),ne(i,"keyup",function(){pn(n[23]?void 0:We)&&(n[23]?void 0:We).apply(this,arguments)}),ne(A,"click",Ie),ne(A,"keyup",function(){pn(n[23]?void 0:nt)&&(n[23]?void 0:nt).apply(this,arguments)})],ie=!0)},p(Fe,pe){n=Fe,(!_e||pe[0]&8192)&&r!==(r=n[28](n[84])+"")&&Le(a,r);const Ge={};pe[0]&8192&&(Ge.node=n[84]),c.$set(Ge),(!_e||pe[0]&8192&&_!==(_="fd-navigation__text badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(l,"class",_),n[84].externalLink&&n[84].externalLink.url?ve||(ve=wd(),ve.c(),ve.m(i,b)):ve&&(ve.d(1),ve=null),n[84].badgeCounter?re?(re.p(n,pe),pe[0]&8192&&R(re,1)):(re=kd(n),re.c(),R(re,1),re.m(i,null)):re&&(ke(),B(re,1,1,()=>{re=null}),Se()),(!_e||pe[0]&8192&&m!==(m=n[31](n[84])))&&f(i,"href",m),(!_e||pe[0]&8192&&v!==(v=n[33](n[84],n[28](n[84]))))&&f(t,"title",v),(!_e||pe[0]&8320&&C!==(C=n[84]===n[7]))&&f(t,"aria-selected",C),(!_e||pe[0]&8192&&y!==(y=ue.getTestId(n[84])))&&f(t,"data-testid",y),(!_e||pe[0]&8192)&&V!==(V=n[28](n[84])+"")&&Le(F,V);const rt={};pe[0]&8192&&(rt.node=n[84]),E.$set(rt),(!_e||pe[0]&8192&&Y!==(Y="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(D,"class",Y),n[84].externalLink&&n[84].externalLink.url?W||(W=Sd(),W.c(),W.m(A,Z)):W&&(W.d(1),W=null),n[84].badgeCounter?se?(se.p(n,pe),pe[0]&8192&&R(se,1)):(se=Cd(n),se.c(),R(se,1),se.m(A,null)):se&&(ke(),B(se,1,1,()=>{se=null}),Se()),(!_e||pe[0]&8192&&de!==(de=n[31](n[84])))&&f(A,"href",de),(!_e||pe[0]&8320&&te!==(te="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(A,"class",te),(!_e||pe[0]&8388608&&G!==(G=n[23]?void 0:"button"))&&f(A,"role",G),(!_e||pe[0]&8192&&Q!==(Q=ue.getTestId(n[84])))&&f(A,"data-testid",Q),(!_e||pe[0]&8192&&X!==(X=n[33](n[84],n[28](n[84]))))&&f(A,"title",X)},i(Fe){_e||(R(c.$$.fragment,Fe),R(re),R(E.$$.fragment,Fe),R(se),_e=!0)},o(Fe){B(c.$$.fragment,Fe),B(re),B(E.$$.fragment,Fe),B(se),_e=!1},d(Fe){Fe&&T(e),Oe(c),ve&&ve.d(),re&&re.d(),Fe&&T(P),Fe&&T(I),Oe(E),W&&W.d(),se&&se.d(),ie=!1,Qe(oe)}}}function wd(n){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,i){L(t,e,i)},d(t){t&&T(e)}}}function kd(n){let e,t;return e=new vi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Sd(n){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,i){L(t,e,i)},d(t){t&&T(e)}}}function Cd(n){let e,t;return e=new vi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function yd(n){let e,t,i=!n[84].hideFromNav&&bd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=bd(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Pd(n){let e,t,i=n[84].label&&Nd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Nd(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Nd(n){let e,t,i,l,r,a=n[28](n[84])+"",o,c,_,d,h,p,b,m,v,C,y,P,I,A,D,V,F;function U(G,Q){return G[84].icon?cS:fS}let E=U(n),Y=E(n);_=new $i({props:{node:n[84]}});let j=n[84].externalLink&&n[84].externalLink.url&&Id(),Z=n[84].badgeCounter&&Td(n);function de(...G){return n[46](n[84],...G)}function te(...G){return n[47](n[84],...G)}return{c(){e=S("li"),t=S("div"),i=S("a"),Y.c(),l=z(),r=S("span"),o=Te(a),c=z(),Me(_.$$.fragment),h=z(),j&&j.c(),p=z(),Z&&Z.c(),b=z(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(i,"class",v="fd-navigation__link "+(n[84]===n[7]?"is-selected":"")+" lui-hideOnHover svelte-4pigtp"),f(i,"tabindex","-1"),f(i,"href",C=n[31](n[84])),f(i,"title",y=n[33](n[84],n[28](n[84]))),f(i,"role",P=n[23]?void 0:"button"),f(i,"data-testid",I=ue.getTestId(n[84])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",A=n[84]===n[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,Q){L(G,e,Q),w(e,t),w(t,i),Y.m(i,null),w(i,l),w(i,r),w(r,o),w(r,c),Ve(_,r,null),w(i,h),j&&j.m(i,null),w(i,p),Z&&Z.m(i,null),w(i,b),w(i,m),D=!0,V||(F=[ne(i,"click",de),ne(i,"keyup",function(){pn(n[23]?void 0:te)&&(n[23]?void 0:te).apply(this,arguments)})],V=!0)},p(G,Q){n=G,E===(E=U(n))&&Y?Y.p(n,Q):(Y.d(1),Y=E(n),Y&&(Y.c(),Y.m(i,l))),(!D||Q[0]&8192)&&a!==(a=n[28](n[84])+"")&&Le(o,a);const X={};Q[0]&8192&&(X.node=n[84]),_.$set(X),(!D||Q[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(r,"class",d),n[84].externalLink&&n[84].externalLink.url?j||(j=Id(),j.c(),j.m(i,p)):j&&(j.d(1),j=null),n[84].badgeCounter?Z?(Z.p(n,Q),Q[0]&8192&&R(Z,1)):(Z=Td(n),Z.c(),R(Z,1),Z.m(i,b)):Z&&(ke(),B(Z,1,1,()=>{Z=null}),Se()),(!D||Q[0]&8320&&v!==(v="fd-navigation__link "+(n[84]===n[7]?"is-selected":"")+" lui-hideOnHover svelte-4pigtp"))&&f(i,"class",v),(!D||Q[0]&8192&&C!==(C=n[31](n[84])))&&f(i,"href",C),(!D||Q[0]&8192&&y!==(y=n[33](n[84],n[28](n[84]))))&&f(i,"title",y),(!D||Q[0]&8388608&&P!==(P=n[23]?void 0:"button"))&&f(i,"role",P),(!D||Q[0]&8192&&I!==(I=ue.getTestId(n[84])))&&f(i,"data-testid",I),(!D||Q[0]&8320&&A!==(A=n[84]===n[7]))&&f(t,"aria-selected",A)},i(G){D||(R(_.$$.fragment,G),R(Z),D=!0)},o(G){B(_.$$.fragment,G),B(Z),D=!1},d(G){G&&T(e),Y.d(),Oe(_),j&&j.d(),Z&&Z.d(),V=!1,Qe(F)}}}function fS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(i,l){L(i,e,l)},p(i,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(i){i&&T(e)}}}function cS(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[84].icon)),e?gS:dS}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function dS(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[84].icon)||f(t,"src",i),f(t,"alt",l=n[84].altText?n[84].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[84].icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[84].altText?r[84].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function gS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[84].icon)+" svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[84].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&T(e)}}}function Id(n){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,i){L(t,e,i)},d(t){t&&T(e)}}}function Td(n){let e,t;return e=new vi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Ld(n){let e,t,i=!n[84].hideFromNav&&Pd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Pd(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Ad(n){let e,t,i,l,r,a;const o=[rS,lS],c=[];function _(d,h){return h[0]&24576&&(e=null),h[0]&8192&&(t=null),e==null&&(e=!!(d[80]==="undefined"||d[80].startsWith(d[14]))),e?0:(t==null&&(t=d[81].filter(_S).length>0),t?1:-1)}return~(i=_(n,[-1,-1,-1,-1]))&&(l=c[i]=o[i](n)),{c(){l&&l.c(),r=Ce()},m(d,h){~i&&c[i].m(d,h),L(d,r,h),a=!0},p(d,h){let p=i;i=_(d,h),i===p?~i&&c[i].p(d,h):(l&&(ke(),B(c[p],1,1,()=>{c[p]=null}),Se()),~i?(l=c[i],l?l.p(d,h):(l=c[i]=o[i](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~i&&c[i].d(d),d&&T(r)}}}function hS(n){let e,t,i,l,r,a;const o=[Ok,Vk],c=[];function _(d,h){return d[27]?0:1}return e=_(n),t=c[e]=o[e](n),{c(){t.c(),i=Ce()},m(d,h){c[e].m(d,h),L(d,i,h),l=!0,r||(a=[ne(xa,"resize",n[17]),ne(xa,"click",n[21]),ne(xa,"blur",n[21]),ne(xa,"keydown",n[34])],r=!0)},p(d,h){t.p(d,h)},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&T(i),r=!1,Qe(a)}}}function ri(n,e){return e&&e.indexOf(n.metaInfo.categoryUid)>=0}function Do(n){const e=n.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const i=e.querySelector(".fd-popover__body").getBoundingClientRect();i.top+i.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",i.top+i.height-window.innerHeight+"px")})}const _S=n=>!n.hideFromNav&&n.label,pS=n=>!n.hideFromNav&&n.label;function mS(n,e,t){let i;const l={get:()=>({children:a,hideNavComponent:o,footerText:c,semiCollapsible:_,pathData:p,virtualGroupPrefix:m,isSemiCollapsed:v,selectedNode:C,sideNavAccordionMode:A,selectedCategory:y,expandedCategories:P,hasCategoriesWithIcon:I,navParentNode:F}),set:async $=>{$&&(Object.getOwnPropertyNames($).forEach(async Pe=>{if(Pe==="pathData")t(5,p=$.pathData);else if(Pe==="context")U=$.context;else if(Pe==="children")t(0,a=$.children);else if(Pe==="selectedNode")t(7,C=$.selectedNode);else if(Pe==="hasCategoriesWithIcon")t(10,I=$.hasCategoriesWithIcon);else if(Pe==="navParent"){t(12,V=void 0);let et=$.navParent;if(t(42,F=et),et&&et.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let dt=et.navHeader,St=et;if(dt==="inherit"){for(St=et.parent;St&&St.navHeader==="inherit";)St=St.parent;dt=St?St.navHeader:void 0}if(dt instanceof Function){t(12,V={});let Xt=dt(ue.stripNode(et),ue.stripNode(St),U);Xt instanceof Promise?Xt.then(Di=>{t(12,V=Di)}):t(12,V=Xt)}else if(dt==="auto")t(12,V={label:et.label,icon:et.icon});else if(dt&&dt.useTitleResolver&&St.titleResolver){St.titleResolver.prerenderFallback?t(12,V={...dt,label:St.titleResolver.fallbackTitle||"",icon:St.titleResolver.fallbackIcon}):t(12,V=dt);const Xt=we.mapPathToNode(it.getCurrentPath(),St);Rt.extractDataFromPath(Xt).then(Di=>{const ki=we.substituteDynamicParamsInObject(Object.assign({},Di.pathData.context,St.context),Di.pathData.pathParams);ue.fetchNodeTitleData(St,ki).then(Vi=>{t(12,V={...dt,...Vi})}).catch(Vi=>{console.error("Error while retrieving title, fallback to node label"),t(12,V={...dt,label:et.label,icon:et.icon})})})}else t(12,V=await Ee(dt,St))}}}),t(41,A=ue.getSideNavAccordionMode(C)))}},r=Ht();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:_}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:h}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=ue.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:I}=e,{sideNavAccordionMode:A}=e,{burgerTooltip:D}=e,{navHeader:V}=e,{navParentNode:F}=e,U,E,Y,j=pt("store"),Z=pt("getTranslation");bn(n,Z,$=>t(25,i=$));let de=!1,te=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G;const Q=$=>ue.getNodeLabel($),X=async()=>{const $=l.get(),Pe=await Rt.getLeftNavData({...$},$);Pe&&(l.set(Pe),E=p,window.LEFTNAVDATA=Pe.children)};Yt(()=>{t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,h=ae.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,de=ae.getConfigValue("navigation.addNavHrefs")),t(1,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(22,Y=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ue.loadExpandedCategories()),oi.doOnStoreChange(j,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),oi.doOnStoreChange(j,()=>{X()},["navigation.viewgroupdata"]);let $=gn.initial();t(6,v=$.isSemiCollapsed),t(40,_=$.semiCollapsible),gn.onValueChanged(Pe=>{t(6,v=Pe.isSemiCollapsed)}),Ai.addEventListener("message",Pe=>{Pe.data.msg==="luigi.navigation.update-badge-counters"&&X()})}),resetNavEntries=()=>{if(G){const $=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Pe=G.querySelector(".fd-navigation__list"),et=G.querySelector(".fd-navigation__list > .lui-spacer");$==null||$.forEach(dt=>{Pe.insertBefore(dt,et)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},calculateNavEntries=()=>{const $=G.querySelector(".fd-navigation__list > .lui-spacer"),Pe=G.querySelector(".lui-moreItems"),et=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if($.clientHeight===0&&et.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let dt=et.length-1;dt>0&&(lastNode=et[dt-1],Pe.insertBefore(et[dt],Pe.firstChild),!($.clientHeight>0));dt--);}},jr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let $;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Pe,et)=>{$&&clearTimeout($),v&&($=setTimeout(()=>{resetNavEntries(),calculateNavEntries()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):resetNavEntries()}),zi(()=>{(!E||E!=p)&&X(),t(22,Y=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ue.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:_e}=e;function ie($){return ue.renderIconClassName($)}function oe($){return ue.isOpenUIiconName($)}function ve($){return we.getNodeHref($,b)}function re($,Pe){return $&&$.testId?$.testId:ue.prepareForTests(Pe||$.label)}async function Ee($,Pe){const et=we.mapPathToNode(it.getCurrentPath(),Pe),St=(await Rt.extractDataFromPath(et)).pathData.pathParams;return we.substituteDynamicParamsInObject($,St)}function We($,Pe){return ue.generateTooltipText($,Pe)}function W($){r("handleClick",{node:$})}function se($,Pe){if(rt(),gn.getCollapsed()){let et,dt=document.getElementsByClassName("fd-app__sidebar")[0];if($.metaInfo&&$.metaInfo.label?et=$.metaInfo.label:et=$.category&&$.category.label||$.category,dt&&!dt.classList.contains("isBlocked")&&(dt.className+=" isBlocked"),et===y){t(8,y=gn.closePopupMenu(y));return}t(8,y=et),dt?Ie(Pe):te&&Do(Pe)}}function Ie($){const Pe=$.closest(".fd-nested-list__item"),et=Pe.offsetTop,dt=Un.getShellbar().offsetHeight;let St;Un.isCustomLuigiContainer()?St=Un.getCustomLuigiContainer().clientHeight:St=window.innerHeight,setTimeout(()=>{const Xt=Pe.getElementsByClassName("lui-flyout-sublist")[0],Di=$.closest(".lui-fd-side-nav-wrapper").scrollTop,ki=et+dt-Di,Vi=St-et-Pe.offsetHeight+Di-dt;ki+Xt.offsetHeight>=St?(Xt.style.bottom=Vi+"px",Xt.className+=" has-bottom-position"):Xt.style.top=ki-dt+"px"})}function nt(){if(_){let $=gn.onResize(y);t(6,v=$.isSemiCollapsed),t(8,y=$.selectedCategory)}}function Fe($){if($.code==="ArrowRight"){const et=Ae.getCurrentMicrofrontendIframe();et&&et.contentWindow&&et.contentWindow.focus()}}function pe($){let Pe=F?F.parent:void 0;for(;Pe;){if(Pe.pathSegment&&Pe.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Pe});return}Pe=Pe.parent}console.warn('Could not resolve "up"-node, redirecting to root'),Y_.navigate("/")}function Ge($,Pe){gn.getCollapsed()||t(9,P=ue.storeExpandedState($.metaInfo.categoryUid,Pe,A))}function rt(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function qt(){t(8,y=gn.closePopupMenu(y)),rt()}function vt($){$&&$.code==="Escape"&&qt()}function Dt(){t(6,v=gn.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),gl()}function Ei($){const Pe=$.code;(Pe==="Enter"||Pe==="Space")&&Dt()}function Gt($,Pe){($.code==="Enter"||$==="Space")&&se(Pe,$.currentTarget)}function Kt($,Pe){$.keyCode===mn&&ue.handleNavAnchorClickedWithoutMetaKey($)&&W(Pe)}function gl(){if(!ue.getBurgerTooltipConfig())return;const[$,Pe]=ue.getBurgerTooltipConfig(),et=document.body.classList.contains("lui-semiCollapsible");$&&Pe&&et&&t(11,D=document.body.classList.contains("semiCollapsed")?$:Pe)}function It($,Pe){return ri($,Pe)?$.metaInfo.titleCollapseButton?i($.metaInfo.titleCollapseButton):void 0:$.metaInfo.titleExpandButton?i($.metaInfo.titleExpandButton):void 0}const Qt=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},Ri=($,Pe)=>Kt(Pe,$),xi=$=>Ge($,!ri($,P)),Hn=($,Pe)=>se($,Pe.currentTarget),ii=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},_i=($,Pe)=>Kt(Pe,$),qi=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},Wt=($,Pe)=>Kt(Pe,$),wi=$=>{const Pe=$.target.parentElement;Pe.getAttribute("aria-expanded")==="true"?Pe.setAttribute("aria-expanded","false"):(qt(),Pe.setAttribute("aria-expanded","true")),$.stopPropagation()};function vn($){Xe[$?"unshift":"push"](()=>{G=$,t(24,G)})}const wn=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},ui=($,Pe)=>Kt(Pe,$),kn=$=>Ge($,!ri($,P)),Sn=$=>Ge($,!ri($,P)),Cn=($,Pe)=>Gt(Pe,$),yn=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},Pn=($,Pe)=>Kt(Pe,$),hl=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},_l=($,Pe)=>Kt(Pe,$),pl=$=>se($,event.currentTarget),Nn=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},Wn=($,Pe)=>Kt(Pe,$),zn=$=>Dt(),on=$=>Dt(),ml=$=>Ei($);return n.$$set=$=>{"children"in $&&t(0,a=$.children),"hideNavComponent"in $&&t(1,o=$.hideNavComponent),"footerText"in $&&t(2,c=$.footerText),"semiCollapsible"in $&&t(40,_=$.semiCollapsible),"semiCollapsibleButton"in $&&t(3,d=$.semiCollapsibleButton),"semiCollapsibleButtonStyle"in $&&t(4,h=$.semiCollapsibleButtonStyle),"pathData"in $&&t(5,p=$.pathData),"pathParams"in $&&t(43,b=$.pathParams),"virtualGroupPrefix"in $&&t(14,m=$.virtualGroupPrefix),"isSemiCollapsed"in $&&t(6,v=$.isSemiCollapsed),"selectedNode"in $&&t(7,C=$.selectedNode),"selectedCategory"in $&&t(8,y=$.selectedCategory),"expandedCategories"in $&&t(9,P=$.expandedCategories),"hasCategoriesWithIcon"in $&&t(10,I=$.hasCategoriesWithIcon),"sideNavAccordionMode"in $&&t(41,A=$.sideNavAccordionMode),"burgerTooltip"in $&&t(11,D=$.burgerTooltip),"navHeader"in $&&t(12,V=$.navHeader),"navParentNode"in $&&t(42,F=$.navParentNode),"sortedChildrenEntries"in $&&t(13,_e=$.sortedChildrenEntries)},n.$$.update=()=>{if(n.$$.dirty[0]&1&&a){const $=Object.entries(a);$.sort((Pe,et)=>Pe[1].metaInfo.order-et[1].metaInfo.order),t(13,_e=$)}},[a,o,c,d,h,p,v,C,y,P,I,D,V,_e,m,W,se,nt,Fe,pe,Ge,qt,Y,de,G,i,Z,te,Q,ie,oe,ve,re,We,vt,Dt,Ei,Gt,Kt,It,_,A,F,b,Ie,Do,Qt,Ri,xi,Hn,ii,_i,qi,Wt,wi,vn,wn,ui,kn,Sn,Cn,yn,Pn,hl,_l,pl,Nn,Wn,zn,on,ml]}class x_ extends Et{constructor(e){super(),At(this,e,mS,hS,Nt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:40,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:43,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:41,burgerTooltip:11,navHeader:12,navParentNode:42,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:44,calculateBTPNavFlyoutPosition:45,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[44]}get calculateBTPNavFlyoutPosition(){return Do}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const bS=n=>{oi.doOnStoreChange(n.store,()=>{const e=ae.getConfigValue("navigation.appSwitcher");return e&&(n.set({appSwitcherItems:e.items}),n.set({showMainAppEntry:e.showMainAppEntry}),n.set({itemRenderer:e.itemRenderer})),n.set({hasApps:n.get().showMainAppEntry||n.get().appSwitcherItems&&n.get().appSwitcherItems.length>0}),ae.getConfigValueAsync("settings.header").then(t=>{if(t&&(n.set({defaultTitle:t.title||""}),n.set({defaultSubTitle:t.subTitle||""})),ep(n),!t)return;const i=!!t.logo;if(n.set({hasLogo:i}),setTimeout(()=>{i&&n.get().logo&&(n.get().logo.src=t.logo,t.altText&&(n.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),a=document.getElementsByTagName("head")[0];for(const o of a.childNodes)o.rel==="shortcut icon"&&o.remove();a.appendChild(r)}})},["settings.header"])},vS=(n,e,t)=>!!(n===e||e.startsWith(":")&&t&&t[e.substr(1)]===n),ep=n=>{const e=n.get().appSwitcherItems,t=n.get().pathData,i=n.get().pathParams;let l;e&&t&&[...e].sort((c,_)=>(_.link||"").localeCompare(c.link||"")).some(c=>{let _=!0;return le.trimTrailingSlash(le.trimLeadingSlash(c.link)).split("/").forEach((d,h)=>{_&&(h+1>=t.length||!t[h+1].pathSegment||!vS(d,t[h+1].pathSegment,i))&&(_=!1)}),_&&(l=c),_}),n.set({selectedItem:l});const r=l&&l.title?l.title:n.get().defaultTitle,a=Yr.getDocumentTitle()||r;n.set({title:r}),document.title=bt.getTranslation(a);const o=l?l.subTitle||"":n.get().defaultSubTitle;n.set({subTitle:o})};function Ed(n,e,t){const i=n.slice();return i[43]=e[t],i[45]=t,i}function Rd(n,e,t){const i=n.slice();return i[43]=e[t],i}function wS(n){let e,t,i,l,r=n[1]&&Dd(n);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(n[1]?"":"fd-shellbar__logo--image-replaced")+" "+(n[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",n[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),i||(l=ne(e,"click",n[29]),i=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Dd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&T(e),r&&r.d(),i=!1,l()}}}function kS(n){let e,t,i,l,r=n[1]&&Vd(n);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(n[1]?"":"fd-shellbar__logo--image-replaced")+" "+(n[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",n[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),i||(l=ne(e,"click",n[27]),i=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Vd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&T(e),r&&r.d(),i=!1,l()}}}function Dd(n){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",n[2]),f(e,"class","svelte-bbvnsa")},m(t,i){L(t,e,i),n[28](e)},p(t,i){i[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),n[28](null)}}}function Vd(n){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",n[2]),f(e,"class","svelte-bbvnsa")},m(t,i){L(t,e,i),n[26](e)},p(t,i){i[0]&4&&f(e,"alt",t[2])},d(t){t&&T(e),n[26](null)}}}function Od(n){let e,t;function i(o,c){return o[3]?SS:CS}let l=i(n),r=l(n),a=n[10]&&Kd(n);return{c(){r.c(),e=z(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=i(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?a?a.p(o,c):(a=Kd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(o){r.d(o),o&&T(e),a&&a.d(o),o&&T(t)}}}function SS(n){let e,t,i,l,r,a,o,c,_,d;function h(C,y){return C[12]?PS:yS}let p=h(n),b=p(n),m=n[4]&&n[5]&&Wd(n),v=n[7]&&n[7].length>0&&zd(n);return{c(){e=S("div"),t=S("div"),b.c(),i=z(),l=S("div"),r=S("nav"),a=S("ul"),m&&m.c(),o=z(),v&&v.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!n[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(C,y){L(C,e,y),w(e,t),b.m(t,null),w(e,i),w(e,l),w(l,r),w(r,a),m&&m.m(a,null),w(a,o),v&&v.m(a,null),n[36](a),_||(d=ne(t,"click",Vt(ES)),_=!0)},p(C,y){p===(p=h(C))&&b?b.p(C,y):(b.d(1),b=p(C),b&&(b.c(),b.m(t,null))),C[4]&&C[5]?m?m.p(C,y):(m=Wd(C),m.c(),m.m(a,o)):m&&(m.d(1),m=null),C[7]&&C[7].length>0?v?v.p(C,y):(v=zd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!C[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(C){C&&T(e),b.d(),m&&m.d(),v&&v.d(),n[36](null),_=!1,d()}}}function CS(n){let e;function t(r,a){return r[12]?LS:TS}let i=t(n),l=i(n);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){i===(i=t(r))&&l?l.p(r,a):(l.d(1),l=i(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&T(e)}}}function yS(n){let e,t,i=n[17](n[2])+"",l,r,a,o,c,_;return{c(){e=S("button"),t=S("span"),l=Te(i),r=z(),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=n[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){L(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(_=ne(e,"click",Vt(n[34])),c=!0)},p(d,h){h[0]&131076&&i!==(i=d[17](d[2])+"")&&Le(l,i),h[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,_()}}}function PS(n){let e,t,i,l=n[7]&&n[7].length===1&&Md(n),r=n[7]&&n[7].length>1&&Fd(n),a=n[7].length>1&&!n[5]&&Hd(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=z(),a&&a.c(),i=Ce()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,i,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=Md(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=Fd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?a?a.p(o,c):(a=Hd(o),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&T(e),r&&r.d(o),o&&T(t),a&&a.d(o),o&&T(i)}}}function Md(n){let e,t,i=n[17](n[7][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Te(i),f(e,"href",r=n[22](n[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){L(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&131200&&i!==(i=a[17](a[7][0].title)+"")&&Le(l,i),o[0]&128&&r!==(r=a[22](a[7][0]))&&f(e,"href",r)},d(a){a&&T(e)}}}function Fd(n){let e,t=n[7],i=[];for(let l=0;l<t.length;l+=1)i[l]=Bd(Rd(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=Ce()},m(l,r){for(let a=0;a<i.length;a+=1)i[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Rd(l,t,a);i[a]?i[a].p(o,r):(i[a]=Bd(o),i[a].c(),i[a].m(e.parentNode,e))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){ft(i,l),l&&T(e)}}}function Ud(n){let e,t,i=n[17](n[2])+"",l,r,a,o,c,_,d,h;return{c(){e=S("a"),t=S("span"),l=Te(i),r=z(),a=S("i"),o=z(),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=n[22](n[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",_=n[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(h=ne(e,"click",Pt(n[32])),d=!0)},p(p,b){b[0]&131076&&i!==(i=p[17](p[2])+"")&&Le(l,i),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&_!==(_=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",_)},d(p){p&&T(e),d=!1,h()}}}function Bd(n){let e=n[43]===n[5]&&n[21](n[43],n[9]),t,i=e&&Ud(n);return{c(){i&&i.c(),t=Ce()},m(l,r){i&&i.m(l,r),L(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?i?i.p(l,r):(i=Ud(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(l){i&&i.d(l),l&&T(t)}}}function Hd(n){let e,t,i=n[17](n[2])+"",l,r,a,o,c,_;return{c(){e=S("a"),t=S("span"),l=Te(i),r=z(),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=n[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,h){L(d,e,h),w(e,t),w(t,l),w(e,r),w(e,a),c||(_=ne(e,"click",Pt(n[33])),c=!0)},p(d,h){h[0]&131076&&i!==(i=d[17](d[2])+"")&&Le(l,i),h[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&T(e),c=!1,_()}}}function Wd(n){let e,t,i,l=n[17](n[6])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),f(i,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=n[20](n[6])),f(e,"class","fd-menu__item")},m(_,d){L(_,e,d),w(e,t),w(t,i),w(i,r),o||(c=ne(t,"click",Pt(n[14])),o=!0)},p(_,d){d[0]&131136&&l!==(l=_[17](_[6])+"")&&Le(r,l),d[0]&64&&a!==(a=_[20](_[6]))&&f(t,"data-testid",a)},d(_){_&&T(e),o=!1,c()}}}function zd(n){let e,t=n[7],i=[];for(let l=0;l<t.length;l+=1)i[l]=Gd(Ed(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=Ce()},m(l,r){for(let a=0;a<i.length;a+=1)i[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Ed(l,t,a);i[a]?i[a].p(o,r):(i[a]=Gd(o),i[a].c(),i[a].m(e.parentNode,e))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){ft(i,l),l&&T(e)}}}function NS(n){let e,t,i,l=n[17](n[43].title)+"",r,a,o,c,_,d;function h(...p){return n[35](n[43],...p)}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),c=z(),f(i,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=n[12]?n[22](n[43],n[9]):void 0),f(t,"data-testid",o=n[20](n[43])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(e,c),_||(d=ne(t,"click",h),_=!0)},p(p,b){n=p,b[0]&131200&&l!==(l=n[17](n[43].title)+"")&&Le(r,l),b[0]&4736&&a!==(a=n[12]?n[22](n[43],n[9]):void 0)&&f(t,"href",a),b[0]&128&&o!==(o=n[20](n[43]))&&f(t,"data-testid",o)},d(p){p&&T(e),_=!1,d()}}}function IS(n){let e,t=n[16]&&qd(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[16]?t?t.p(i,l):(t=qd(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&T(e)}}}function qd(n){let e,t,i=n[19](n[43],n[16],n[45])+"",l;return{c(){e=S("li"),t=new gr(!1),l=z(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(i,e),w(e,l)},p(r,a){a[0]&65664&&i!==(i=r[19](r[43],r[16],r[45])+"")&&t.p(i)},d(r){r&&T(e)}}}function Gd(n){let e,t,i;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!le.isFunction(o[8])),e)return IS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return NS}let r=l(n,[-1,-1]),a=r&&r(n);return{c(){a&&a.c(),i=Ce()},m(o,c){a&&a.m(o,c),L(o,i,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(i.parentNode,i)))},d(o){a&&a.d(o),o&&T(i)}}}function TS(n){let e,t,i=n[17](n[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Te(i),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ne(e,"click",n[31]),r=!0)},p(o,c){c[0]&131076&&i!==(i=o[17](o[2])+"")&&Le(l,i)},d(o){o&&T(e),r=!1,a()}}}function LS(n){let e,t,i=n[17](n[2])+"",l,r,a;return{c(){e=S("a"),t=S("span"),l=Te(i),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ne(e,"click",n[30]),r=!0)},p(o,c){c[0]&131076&&i!==(i=o[17](o[2])+"")&&Le(l,i)},d(o){o&&T(e),r=!1,a()}}}function Kd(n){let e,t=n[17](n[10])+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Le(i,t)},d(l){l&&T(e)}}}function AS(n){let e,t;function i(o,c){return o[12]?kS:wS}let l=i(n),r=l(n),a=n[2]&&Od(n);return{c(){r.c(),e=z(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=i(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Od(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:He,o:He,d(o){r.d(o),o&&T(e),a&&a.d(o),o&&T(t)}}}const ES=()=>{};function RS(n,e,t){let i;const l=Ht();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:_={}}=e,{showMainAppEntry:d}=e,{selectedItem:h}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:m}=e,{pathParams:v}=e,{subTitle:C}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:I}=e,A,D,V=pt("getUnsavedChangesModalPromise"),F=pt("getTranslation");bn(n,F,pe=>t(17,i=pe));let U=pt("store");const E={closeDropDown:()=>{G("appSwitcherPopover")}},Y=()=>({get:()=>({pathData:P,pathParams:v,appSwitcherItems:b,itemRenderer:m,selectedItem:h,defaultTitle:p,title:o,subTitle:C,defaultSubTitle:y,showMainAppEntry:d,hasApps:c,hasLogo:a,logo:r}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach(Ge=>{Ge==="pathData"?t(24,P=pe.pathData):Ge==="appSwitcherItems"?t(7,b=pe.appSwitcherItems):Ge==="itemRenderer"?t(8,m=pe.itemRenderer):Ge==="pathParams"?t(9,v=pe.pathParams):Ge==="selectedItem"?t(5,h=pe.selectedItem):Ge==="title"?t(2,o=pe.title):Ge==="defaultSubTitle"?t(23,y=pe.defaultSubTitle):Ge==="subTitle"?t(10,C=pe.subTitle):Ge==="defaultTitle"?t(6,p=pe.defaultTitle):Ge==="subTitle"?t(10,C=pe.subTitle):Ge==="showMainAppEntry"?t(4,d=pe.showMainAppEntry):Ge==="hasApps"?t(3,c=pe.hasApps):Ge==="hasLogo"&&t(1,a=pe.hasLogo)})},store:U});Yt(()=>{bS(Y())}),zi(()=>{(!D||D!=P)&&(ep(Y()),D=P)});function j(pe,Ge,rt){return setTimeout(()=>{Ge&&m(pe,Ge.children[rt],E)}),""}function Z(pe){V().then(()=>{it.navigateTo(we.applyPathParams(pe,v))},()=>{})}function de(){V().then(()=>{it.navigateTo("/")},()=>{})}function te(pe){l("handleClick",{node:pe}),G("appSwitcherPopover")}function G(pe){l("toggleDropdownState",{name:pe})}function Q(pe){return pe.testId?pe.testId:ue.prepareForTests(pe.title||pe)}function X(pe,Ge){if(pe.link){const rt=we.applyPathParams(pe.link,Ge);if(rt.indexOf(":")!==0&&rt.indexOf("/:")===-1)return!0}return!1}function _e(pe){return we.getNodeHref(pe)}function ie(pe){Xe[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const oe=pe=>{ue.handleNavAnchorClickedWithoutMetaKey(pe)&&Z("/")};function ve(pe){Xe[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const re=()=>Z("/"),Ee=pe=>{ue.handleNavAnchorClickedWithoutMetaKey(pe)&&Z("/")},We=()=>Z("/"),W=()=>G("appSwitcherPopover"),se=()=>G("appSwitcherPopover"),Ie=()=>G("appSwitcherPopover"),nt=(pe,Ge)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ge)&&Z(pe.link)};function Fe(pe){Xe[pe?"unshift":"push"](()=>{A=pe,t(16,A)})}return n.$$set=pe=>{"logo"in pe&&t(0,r=pe.logo),"hasLogo"in pe&&t(1,a=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"dropDownStates"in pe&&t(11,_=pe.dropDownStates),"showMainAppEntry"in pe&&t(4,d=pe.showMainAppEntry),"selectedItem"in pe&&t(5,h=pe.selectedItem),"defaultTitle"in pe&&t(6,p=pe.defaultTitle),"appSwitcherItems"in pe&&t(7,b=pe.appSwitcherItems),"itemRenderer"in pe&&t(8,m=pe.itemRenderer),"pathParams"in pe&&t(9,v=pe.pathParams),"subTitle"in pe&&t(10,C=pe.subTitle),"defaultSubTitle"in pe&&t(23,y=pe.defaultSubTitle),"pathData"in pe&&t(24,P=pe.pathData),"addNavHrefForAnchor"in pe&&t(12,I=pe.addNavHrefForAnchor)},[r,a,o,c,d,h,p,b,m,v,C,_,I,Z,de,G,A,i,F,j,Q,X,_e,y,P,te,ie,oe,ve,re,Ee,We,W,se,Ie,nt,Fe]}class DS extends Et{constructor(e){super(),At(this,e,RS,AS,Nt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function jd(n,e,t){const i=n.slice();return i[34]=e[t],i}function Jd(n){let e,t,i,l,r,a,o=n[0]&&Yd(n),c=(n[10]||n[11])&&tg(n);return{c(){e=S("div"),o&&o.c(),t=z(),i=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(i,"class","fd-popover__body-footer")},m(_,d){L(_,e,d),o&&o.m(e,null),L(_,t,d),L(_,i,d),w(i,l),w(l,r),w(r,a),c&&c.m(a,null)},p(_,d){_[0]?o?o.p(_,d):(o=Yd(_),o.c(),o.m(e,null)):o&&(o.d(1),o=null),_[10]||_[11]?c?c.p(_,d):(c=tg(_),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(_){_&&T(e),o&&o.d(),_&&T(t),_&&T(i),c&&c.d()}}}function Yd(n){let e,t,i,l,r,a,o;function c(C,y){return C[7].picture?OS:VS}let _=c(n),d=_(n),h=n[7].name&&Qd(n),p=n[7].description&&Zd(n),b=n[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=$d(jd(n,b,C));let v=n[12]&&xd(n);return{c(){e=S("div"),d.c(),t=z(),i=S("div"),h&&h.c(),l=z(),p&&p.c(),r=z(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=z(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(i,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){L(C,e,y),d.m(e,null),L(C,t,y),L(C,i,y),h&&h.m(i,null),w(i,l),p&&p.m(i,null),L(C,r,y),L(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(_===(_=c(C))&&d?d.p(C,y):(d.d(1),d=_(C),d&&(d.c(),d.m(e,null))),C[7].name?h?h.p(C,y):(h=Qd(C),h.c(),h.m(i,l)):h&&(h.d(1),h=null),C[7].description?p?p.p(C,y):(p=Zd(C),p.c(),p.m(i,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=jd(C,b,P);m[P]?m[P].p(I,y):(m[P]=$d(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=xd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&T(e),d.d(),C&&T(t),C&&T(i),h&&h.d(),p&&p.d(),C&&T(r),C&&T(a),ft(m,C),v&&v.d()}}}function VS(n){let e,t=(n[7].initials?n[7].initials:"")+"",i;return{c(){e=S("span"),i=Te(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(i,t)},d(l){l&&T(e)}}}function OS(n){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"),Li(e,"background-image","url('"+n[7].picture+"')")},m(t,i){L(t,e,i)},p(t,i){i[0]&128&&Li(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&T(e)}}}function Qd(n){let e,t=n[7].name+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(i,t)},d(l){l&&T(e)}}}function Zd(n){let e,t=n[7].description+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(i,t)},d(l){l&&T(e)}}}function Xd(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?FS:MS}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function MS(n){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Li(e,"background-image","url('"+n[7].icon+"')"),f(e,"alt",t=n[34].altText?n[34].altText:"")},m(i,l){L(i,e,l)},p(i,l){l[0]&128&&Li(e,"background-image","url('"+i[7].icon+"')"),l[0]&512&&t!==(t=i[34].altText?i[34].altText:"")&&f(e,"alt",t)},d(i){i&&T(e)}}}function FS(n){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(i){i&&T(e)}}}function $d(n){let e,t,i,l,r=n[13](n[34].label)+"",a,o,c,_,d,h=n[34].icon&&Xd(n);function p(){return n[24](n[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=n[2]?n[19](n[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=n[18](n[34]))},m(b,m){L(b,e,m),w(e,t),h&&h.m(t,null),w(t,i),w(t,l),w(l,a),_||(d=[ne(t,"click",n[23]),ne(e,"click",p)],_=!0)},p(b,m){n=b,n[34].icon?h?h.p(n,m):(h=Xd(n),h.c(),h.m(t,i)):h&&(h.d(1),h=null),m[0]&8704&&r!==(r=n[13](n[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=n[2]?n[19](n[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=n[18](n[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),h&&h.d(),_=!1,Qe(d)}}}function xd(n){let e,t,i,l,r=n[13](n[9].settings.label)+"",a,o,c,_=n[9].settings.icon&&eg(n);return{c(){e=S("li"),t=S("a"),_&&_.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,h){L(d,e,h),w(e,t),_&&_.m(t,null),w(t,i),w(t,l),w(l,a),o||(c=[ne(e,"click",Pt(n[5])),ne(e,"keyup",n[25])],o=!0)},p(d,h){d[9].settings.icon?_?_.p(d,h):(_=eg(d),_.c(),_.m(t,i)):_&&(_.d(1),_=null),h[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&T(e),_&&_.d(),o=!1,Qe(c)}}}function eg(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?BS:US}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function US(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Ze(e.src,t=n[9].settings.icon)||f(e,"src",t),f(e,"alt",i=n[9].settings.altText?n[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&i!==(i=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function BS(n){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(i){i&&T(e)}}}function tg(n){let e,t,i=(n[8]||!n[10]&&n[11])&&ig(n),l=n[10]&&!n[8]&&ng(n);return{c(){i&&i.c(),e=z(),l&&l.c(),t=Ce()},m(r,a){i&&i.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?i?i.p(r,a):(i=ig(r),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null),r[10]&&!r[8]?l?l.p(r,a):(l=ng(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){i&&i.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function ig(n){let e,t,i=n[13](n[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Te(i),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=n[18](n[9].logout))},m(c,_){L(c,e,_),w(e,t),w(t,l),a||(o=ne(t,"click",n[4]),a=!0)},p(c,_){_[0]&8704&&i!==(i=c[13](c[9].logout.label)+"")&&Le(l,i),_[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&T(e),a=!1,o()}}}function ng(n){let e,t,i,l,r;return{c(){e=S("button"),e.textContent="Login",t=z(),i=S("button"),i.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(i,"class","fd-button fd-button--transparent fd-button--compact"),f(i,"tabindex","0"),f(i,"data-testid","login-btn")},m(a,o){L(a,e,o),L(a,t,o),L(a,i,o),l||(r=[ne(e,"click",n[15]),ne(i,"click",n[15])],l=!0)},p:He,d(a){a&&T(e),a&&T(t),a&&T(i),l=!1,Qe(r)}}}function HS(n){let e,t=!n[1]&&Jd(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[1]?t&&(t.d(1),t=null):t?t.p(i,l):(t=Jd(i),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(i){t&&t.d(i),i&&T(e)}}}function WS(n,e,t){let i;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,_={logout:{},items:[],settings:{}},d,h,p,b,m,v=pt("store"),C=pt("getTranslation");bn(n,C,ie=>t(13,i=ie));let y=pt("getUnsavedChangesModalPromise"),P=pt("openViewInModal");Yt(async()=>{hn.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),E()),U(),ai.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),ai.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function I(){ai.startAuthorization()}function A(ie){return ue.renderIconClassName(ie)}function D(ie){return ue.isOpenUIiconName(ie.icon)}function V(ie){return ie.testId?ie.testId:ue.prepareForTests(ie.label)}function F(ie){return we.getNodeHref(ie)}function U(){b||(oi.doOnStoreChange(v,async()=>{const ie=await ae.getConfigValueAsync("navigation.profile.logout"),oe=await ae.getConfigValueAsync("userSettings"),ve=oe||await ae.getConfigValueAsync("settings.userSettings"),re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(ve){const Ee=ve.userSettingsProfileMenuEntry;re.settings={...fl.userSettingsProfileMenuEntry,...Ee}}re.logout={...fl.logout,...ie},t(11,h=!!ie),m=!1,ai.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,ai.setProfileLogoutFn(ie.customLogoutFn)),t(9,_=re),t(12,p=!!ve)},["navigation.profile"]),b=!0)}async function E(){const ie=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(ai.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function Y(ie){y().then(()=>{if(ie.openNodeInModal){const oe=we.buildRoute(ie,`${ie.link}`);P(oe,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else it.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function j(){y().then(()=>{d?de():h&&m?_.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){Yr.openUserSettings(),l("toggleDropdownState")}function de(){ai.logout()}function te({keyCode:ie}){(ie===mn||ie===Kr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const Q=ie=>{ue.handleNavAnchorClickedWithoutMetaKey(ie)},X=ie=>Y(ie),_e=ie=>te(ie);return n.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,a=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,G=ie.showUserInfo)},n.$$.update=()=>{n.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,Y,j,Z,te,o,c,_,d,h,p,i,C,I,A,D,V,F,U,E,de,Q,X,_e]}class zS extends Et{constructor(e){super(),At(this,e,WS,HS,Nt,{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 lg(n,e,t){const i=n.slice();return i[34]=e[t],i}function rg(n){let e,t,i,l,r,a=n[0]&&ag(n),o=n[9].items,c=[];for(let h=0;h<o.length;h+=1)c[h]=og(lg(n,o,h));let _=n[12]&&ug(n),d=(n[10]||n[11])&&cg(n);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),i=z();for(let h=0;h<c.length;h+=1)c[h].c();l=z(),_&&_.c(),r=z(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(h,p){L(h,e,p),w(e,t),a&&a.m(t,null),w(t,i);for(let b=0;b<c.length;b+=1)c[b].m(t,null);w(t,l),_&&_.m(t,null),w(t,r),d&&d.m(t,null)},p(h,p){if(h[0]?a?a.p(h,p):(a=ag(h),a.c(),a.m(t,i)):a&&(a.d(1),a=null),p[0]&991756){o=h[9].items;let b;for(b=0;b<o.length;b+=1){const m=lg(h,o,b);c[b]?c[b].p(m,p):(c[b]=og(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}h[12]?_?_.p(h,p):(_=ug(h),_.c(),_.m(t,r)):_&&(_.d(1),_=null),h[10]||h[11]?d?d.p(h,p):(d=cg(h),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(h){h&&T(e),a&&a.d(),ft(c,h),_&&_.d(),d&&d.d()}}}function ag(n){let e,t,i=(n[7].name?n[7].name:n[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Te(i),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&i!==(i=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,i)},d(r){r&&T(e)}}}function sg(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?GS:qS}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function qS(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=n[34].icon)||f(e,"src",t),f(e,"alt",i=n[34].altText?n[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&i!==(i=l[34].altText?l[34].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function GS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(i){i&&T(e)}}}function og(n){let e,t,i,l,r=n[13](n[34].label)+"",a,o,c,_,d,h=n[34].icon&&sg(n);function p(){return n[24](n[34])}return{c(){e=S("li"),t=S("a"),h&&h.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=n[2]?n[19](n[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=n[18](n[34]))},m(b,m){L(b,e,m),w(e,t),h&&h.m(t,null),w(t,i),w(t,l),w(l,a),_||(d=[ne(t,"click",n[23]),ne(e,"click",p)],_=!0)},p(b,m){n=b,n[34].icon?h?h.p(n,m):(h=sg(n),h.c(),h.m(t,i)):h&&(h.d(1),h=null),m[0]&8704&&r!==(r=n[13](n[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=n[2]?n[19](n[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=n[18](n[34]))&&f(e,"data-testid",c)},d(b){b&&T(e),h&&h.d(),_=!1,Qe(d)}}}function ug(n){let e,t,i,l,r=n[13](n[9].settings.label)+"",a,o,c,_,d=n[9].settings.icon&&fg(n);return{c(){e=S("li"),t=S("a"),d&&d.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=n[18](n[9].settings))},m(h,p){L(h,e,p),w(e,t),d&&d.m(t,null),w(t,i),w(t,l),w(l,a),c||(_=[ne(e,"click",Pt(n[5])),ne(e,"keyup",n[25])],c=!0)},p(h,p){h[9].settings.icon?d?d.p(h,p):(d=fg(h),d.c(),d.m(t,i)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=h[18](h[9].settings))&&f(e,"data-testid",o)},d(h){h&&T(e),d&&d.d(),c=!1,Qe(_)}}}function fg(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?jS:KS}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function KS(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=n[9].settings.icon)||f(e,"src",t),f(e,"alt",i=n[9].settings.altText?n[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&i!==(i=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function jS(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(i){i&&T(e)}}}function cg(n){let e,t,i=(n[8]||!n[10]&&n[11])&&dg(n),l=n[10]&&!n[8]&&hg(n);return{c(){i&&i.c(),e=z(),l&&l.c(),t=Ce()},m(r,a){i&&i.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?i?i.p(r,a):(i=dg(r),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null),r[10]&&!r[8]?l?l.p(r,a):(l=hg(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){i&&i.d(r),r&&T(e),l&&l.d(r),r&&T(t)}}}function dg(n){let e,t,i,l,r=n[13](n[9].logout.label)+"",a,o,c,_,d=n[9].logout.icon&&gg(n);return{c(){e=S("li"),t=S("button"),d&&d.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=n[18](n[9].logout))},m(h,p){L(h,e,p),w(e,t),d&&d.m(t,null),w(t,i),w(t,l),w(l,a),c||(_=ne(e,"click",n[4]),c=!0)},p(h,p){h[9].logout.icon?d?d.p(h,p):(d=gg(h),d.c(),d.m(t,i)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=h[13](h[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=h[18](h[9].logout))&&f(e,"data-testid",o)},d(h){h&&T(e),d&&d.d(),c=!1,_()}}}function gg(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?YS:JS}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function JS(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=n[9].logout.icon)||f(e,"src",t),f(e,"alt",i=n[9].logout.altText?n[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&i!==(i=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function YS(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(i){i&&T(e)}}}function hg(n){let e,t,i;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(i=ne(e,"click",n[15]),t=!0)},p:He,d(l){l&&T(e),t=!1,i()}}}function QS(n){let e,t=!n[1]&&rg(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[1]?t&&(t.d(1),t=null):t?t.p(i,l):(t=rg(i),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(i){t&&t.d(i),i&&T(e)}}}function ZS(n,e,t){let i;const l=Ht();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,_={logout:{},items:[],settings:{}},d,h,p,b,m,v=pt("store"),C=pt("getTranslation");bn(n,C,ie=>t(13,i=ie));let y=pt("getUnsavedChangesModalPromise"),P=pt("openViewInModal");Yt(async()=>{hn.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),E()),U(),ai.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),ai.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function I(){ai.startAuthorization()}function A(ie){return ue.renderIconClassName(ie)}function D(ie){return ue.isOpenUIiconName(ie.icon)}function V(ie){return ie.testId?ie.testId:ue.prepareForTests(ie.label)}function F(ie){return we.getNodeHref(ie)}function U(){b||(oi.doOnStoreChange(v,async()=>{const ie=await ae.getConfigValueAsync("navigation.profile.logout"),oe=await ae.getConfigValueAsync("userSettings"),ve=oe||await ae.getConfigValueAsync("settings.userSettings");t(12,p=!!ve);const re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ee=ve.userSettingsProfileMenuEntry;re.settings={...fl.userSettingsProfileMenuEntry,...Ee}}re.logout={...fl.logout,...ie},t(11,h=!!ie),m=!1,ai.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,ai.setProfileLogoutFn(ie.customLogoutFn)),t(9,_=re)},["navigation.profile"]),b=!0)}async function E(){const ie=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(ai.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function Y(ie){y().then(()=>{if(ie.openNodeInModal){const oe=we.buildRoute(ie,`${ie.link}`);P(oe,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else it.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function j(){y().then(()=>{d?de():h&&m?_.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Z(){Yr.openUserSettings(),l("toggleDropdownState")}function de(){ai.logout()}function te({keyCode:ie}){(ie===mn||ie===Kr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const Q=ie=>{ue.handleNavAnchorClickedWithoutMetaKey(ie)},X=ie=>Y(ie),_e=ie=>te(ie);return n.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,a=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,G=ie.showUserInfo)},n.$$.update=()=>{n.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,Y,j,Z,te,o,c,_,d,h,p,i,C,I,A,D,V,F,U,E,de,Q,X,_e]}class tp extends Et{constructor(e){super(),At(this,e,ZS,QS,Nt,{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 _g(n,e,t){const i=n.slice();return i[11]=e[t],i}function pg(n){let e,t,i=n[1],l=[];for(let a=0;a<i.length;a+=1)l[a]=vg(_g(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&254){i=a[1];let c;for(c=0;c<i.length;c+=1){const _=_g(a,i,c);l[c]?(l[c].p(_,o),R(l[c],1)):(l[c]=vg(_),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&T(e)}}}function mg(n){let e,t,i,l,r,a,o,c,_=n[3](n[11])+"",d,h,p=n[4](n[11]),b,m,v,C,y,P;function I(U,E){return E&6&&(i=null),i==null&&(i=!!U[2](U[11])),i?$S:XS}let A=I(n,-1),D=A(n);r=new vi({props:{node:n[11]}});let V=p&&bg(n);function F(){return n[9](n[11])}return{c(){e=S("li"),t=S("div"),D.c(),l=z(),Me(r.$$.fragment),a=z(),o=S("div"),c=S("div"),d=Te(_),h=z(),V&&V.c(),b=z(),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 "+(n[5]=="true"?"y-has-no-subtitle":"")+" "+(n[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=ue.getTestId(n[11]))},m(U,E){L(U,e,E),w(e,t),D.m(t,null),w(t,l),Ve(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,h),V&&V.m(o,null),w(e,b),C=!0,y||(P=ne(e,"click",F),y=!0)},p(U,E){n=U,A===(A=I(n,E))&&D?D.p(n,E):(D.d(1),D=A(n),D&&(D.c(),D.m(t,l)));const Y={};E&2&&(Y.node=n[11]),r.$set(Y),(!C||E&10)&&_!==(_=n[3](n[11])+"")&&Le(d,_),E&18&&(p=n[4](n[11])),p?V?V.p(n,E):(V=bg(n),V.c(),V.m(o,null)):V&&(V.d(1),V=null),(!C||E&34&&m!==(m="fd-product-switch__item "+(n[5]=="true"?"y-has-no-subtitle":"")+" "+(n[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||E&2&&v!==(v=ue.getTestId(n[11])))&&f(e,"data-testid",v)},i(U){C||(R(r.$$.fragment,U),C=!0)},o(U){B(r.$$.fragment,U),C=!1},d(U){U&&T(e),D.d(),Oe(r),V&&V.d(),y=!1,P()}}}function XS(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[11].icon)||f(e,"src",t),f(e,"alt",i=n[11].altText?n[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!Ze(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&i!==(i=l[11].altText?l[11].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function $S(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")},m(i,l){L(i,e,l)},p(i,l){l&6&&t!==(t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(i){i&&T(e)}}}function bg(n){let e,t=n[4](n[11])+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(i,t)},d(l){l&&T(e)}}}function vg(n){let e,t,i=n[11].label&&mg(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?i?(i.p(l,r),r&2&&R(i,1)):(i=mg(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function xS(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v,C,y,P,I,A=n[1]&&pg(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Te(n[0]),c=z(),_=S("div"),d=S("div"),h=S("ul"),A&&A.c(),p=z(),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(i,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(_,"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(D,V){L(D,e,V),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,_),w(_,d),w(d,h),A&&A.m(h,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(I=[ne(C,"click",n[8]),ne(e,"click",Vt(eC))],P=!0)},p(D,[V]){(!y||V&1)&&Le(o,D[0]),D[1]?A?(A.p(D,V),V&2&&R(A,1)):(A=pg(D),A.c(),R(A,1),A.m(h,null)):A&&(ke(),B(A,1,1,()=>{A=null}),Se())},i(D){y||(R(A),y=!0)},o(D){B(A),y=!1},d(D){D&&T(e),A&&A.d(),P=!1,Qe(I)}}}const eC=()=>{};function tC(n,e,t){const i=Ht();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:_}=e;function d(m){return ue.renderIconClassName(m)}function h(m){i("listClick",m)}function p(m){Rl.call(this,n,m)}const b=m=>h(m);return n.$$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,_=m.noSubTitle)},[l,r,a,o,c,_,h,d,p,b]}class ip extends Et{constructor(e){super(),At(this,e,tC,xS,Nt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:iC}=dl;function wg(n,e,t){const i=n.slice();return i[7]=e[t],i}function kg(n){let e,t,i,l=n[0]&&Sg(n);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null),i=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Sg(r),l.c(),R(l,1),l.m(t,null)):l&&(ke(),B(l,1,1,()=>{l=null}),Se())},i(r){i||(R(l),i=!0)},o(r){B(l),i=!1},d(r){r&&T(e),l&&l.d()}}}function Sg(n){let e,t,i=n[0],l=[];for(let a=0;a<i.length;a+=1)l[a]=yg(wg(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&7693){i=a[0];let c;for(c=0;c<i.length;c+=1){const _=wg(a,i,c);l[c]?(l[c].p(_,o),R(l[c],1)):(l[c]=yg(_),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&T(e)}}}function Cg(n){let e,t,i,l,r,a,o,c,_=n[11](n[7])+"",d,h,p,b,m,v,C;function y(D,V){return V&1&&(l=null),l==null&&(l=!!(D[7].icon&&D[9](D[7]))),l?lC:nC}let P=y(n,-1),I=P(n);a=new vi({props:{node:n[7]}});function A(){return n[14](n[7])}return{c(){e=S("li"),t=S("a"),i=S("span"),I.c(),r=z(),Me(a.$$.fragment),o=z(),c=S("span"),d=Te(_),p=z(),f(i,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",h=n[2]?n[12](n[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=ue.getTestId(n[7]))},m(D,V){L(D,e,V),w(e,t),w(t,i),I.m(i,null),w(i,r),Ve(a,i,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ne(t,"click",n[13]),ne(e,"click",A)],v=!0)},p(D,V){n=D,P===(P=y(n,V))&&I?I.p(n,V):(I.d(1),I=P(n),I&&(I.c(),I.m(i,r)));const F={};V&1&&(F.node=n[7]),a.$set(F),(!m||V&1)&&_!==(_=n[11](n[7])+"")&&Le(d,_),(!m||V&5&&h!==(h=n[2]?n[12](n[7]):void 0))&&f(t,"href",h),(!m||V&1&&b!==(b=ue.getTestId(n[7])))&&f(e,"data-testid",b)},i(D){m||(R(a.$$.fragment,D),m=!0)},o(D){B(a.$$.fragment,D),m=!1},d(D){D&&T(e),I.d(),Oe(a),v=!1,Qe(C)}}}function nC(n){let e,t,i;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),Ze(e.src,t=n[7].icon)||f(e,"src",t),f(e,"alt",i=n[7].altText?n[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&i!==(i=l[7].altText?l[7].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function lC(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+n[10](n[7].icon))},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="sap-icon "+i[10](i[7].icon))&&f(e,"class",t)},d(i){i&&T(e)}}}function yg(n){let e,t,i=n[7].label&&Cg(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?i?(i.p(l,r),r&1&&R(i,1)):(i=Cg(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Pg(n){let e,t;return e=new ip({props:{nodes:n[7].children,label:n[11](n[7]),hasOpenUIicon:n[9],getNodeLabel:n[11],getNodeSubtitle:n[8],noSubTitle:"true"}}),e.$on("click",n[5]),e.$on("listClick",n[4]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l&128&&(r.nodes=i[7].children),l&128&&(r.label=i[11](i[7])),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function rC(n){let e,t,i,l,r,a=!n[1]&&kg(n),o=n[1]&&Pg(n);return{c(){a&&a.c(),e=z(),o&&o.c(),t=Ce()},m(c,_){a&&a.m(c,_),L(c,e,_),o&&o.m(c,_),L(c,t,_),i=!0,l||(r=ne(iC,"resize",os),l=!0)},p(c,[_]){c[1]?a&&(ke(),B(a,1,1,()=>{a=null}),Se()):a?(a.p(c,_),_&2&&R(a,1)):(a=kg(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,_),_&2&&R(o,1)):(o=Pg(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ke(),B(o,1,1,()=>{o=null}),Se())},i(c){i||(R(a),R(o),i=!0)},o(c){B(a),B(o),i=!1},d(c){a&&a.d(c),c&&T(e),o&&o.d(c),c&&T(t),l=!1,r()}}}function os(){let n=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${n}px`)}function aC(n,e,t){const i=Ht();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=pt("getUnsavedChangesModalPromise"),_=pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const h=()=>{},p=()=>({get:()=>({pathParams:o}),set:V=>{}});Yt(async()=>{os()}),zi(async()=>{r||t(0,r=await Rt.getChildren(a)),t(0,r)});function b(V){c().then(()=>{if(V.openNodeInModal){const F=we.buildRoute(V,`/${V.pathSegment}`);_(F,V.openNodeInModal===!0?{}:V.openNodeInModal)}else it.handleRouteClick(V,p())},()=>{}),v()}function m(V){b(V.detail)}function v(){i("close")}function C(V){return ue.isOpenUIiconName(V.icon)}function y(V){return ue.renderIconClassName(V)}function P(V){return bt.getTranslation(V.label)}function I(V){return we.getNodeHref(V,o)}const A=V=>{ue.handleNavAnchorClickedWithoutMetaKey(V)},D=V=>b(V);return n.$$set=V=>{"isMobile"in V&&t(1,l=V.isMobile),"children"in V&&t(0,r=V.children),"node"in V&&t(7,a=V.node),"addNavHrefForAnchor"in V&&t(2,d=V.addNavHrefForAnchor)},[r,l,d,b,m,v,os,a,h,C,y,P,I,A,D]}class np extends Et{constructor(e){super(),At(this,e,aC,rC,Nt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return os}}const hi={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(n){return(!n.parentNodePath||!n.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),n.parentNodePath?le.addTrailingSlash(n.parentNodePath):n.parentNodePath},generateSwitcherNav(n,e){const t=this.getPreparedParentNodePath(n);return e.map(i=>({label:i.label,link:(t||"/")+i.pathValue,id:i.pathValue,testId:i.testId,customRendererCategory:i.customRendererCategory}))},getNodePathFromCurrentPath(n,e){const t=le.addLeadingSlash(it.getCurrentPath()),i=le.addLeadingSlash(e.link);return t.startsWith(i)?n.link+le.addLeadingSlash(t.substring(i.length)):n.link},getOptionById(n,e){return n.find(t=>t.id===e)},getLabelFromOptions(n,e){const t=n.find(i=>i.id===e);return t&&t.label},isContextSwitcherDetailsView(n,e){const t=le.normalizePath(n),i=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(i)&&t!==i)},async getFallbackLabel(n,e){if(!n)return e;const t=ae.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),i=hi._fallbackLabels;if(t&&i.has(e))return i.get(e);const l=await n(e);return t&&i.set(e,l),l},getSelectedId(n,e,t){if(n=le.normalizePath(n),t=le.normalizePath(t),!!hi.isContextSwitcherDetailsView(n,t))return n.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(n,e,t){let i;const l=this.getSelectedId(n,e,t);return l&&e&&(i=hi.getOptionById(e,l)),i},async getSelectedLabel(n,e,t,i){const l=this.getSelectedId(n,e,t);if(!l)return;const r=await this.getSelectedOption(n,e,t);return(r?r.label:void 0)||await hi.getFallbackLabel(i,l)},async getSelectedNode(n,e,t){if(!this.getSelectedId(n,e,t))return;let l=await this.getSelectedOption(n,e,t);return l?l.link:void 0},async fetchOptions(n=[]){const e=ae.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&n.length)return n;const t=await ae.getConfigValueAsync("navigation.contextSwitcher.options");return await hi.generateSwitcherNav(e,t)}};function Ng(n,e,t){const i=n.slice();return i[20]=e[t],i}function Ig(n,e,t){const i=n.slice();return i[20]=e[t],i}function Tg(n,e,t){const i=n.slice();return i[20]=e[t],i}function Lg(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=Eg(Tg(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[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=Tg(l,t,a);i[a]?i[a].p(o,r):(i[a]=Eg(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&T(e),ft(i,l)}}}function Ag(n){let e,t,i,l=n[13](n[20].label)+"",r,a,o,c,_,d;function h(){return n[14](n[20])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),o=z(),f(i,"class","fd-menu__title"),f(t,"href",a=n[8](n[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=ue.getTestId(n[20]))},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(e,o),_||(d=[ne(t,"click",Pt(gC)),ne(e,"click",h)],_=!0)},p(p,b){n=p,b&8193&&l!==(l=n[13](n[20].label)+"")&&Le(r,l),b&257&&a!==(a=n[8](n[20]))&&f(t,"href",a),b&1&&c!==(c=ue.getTestId(n[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),_=!1,Qe(d)}}}function Eg(n){let e=n[20].position==="top"||!["top","bottom"].includes(n[20].position),t,i=e&&Ag(n);return{c(){i&&i.c(),t=Ce()},m(l,r){i&&i.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?i?i.p(l,r):(i=Ag(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(l){i&&i.d(l),l&&T(t)}}}function Rg(n){let e;return{c(){e=S("li"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
54
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer fade-out svelte-1rzu3xo"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,i){L(t,e,i)},d(t){t&&I(e)}}}function ok(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v=(n[5]||n[4]&&n[0].header)&&Qf(n),C=n[4]&&Xf(n),y=n[3]&&$f();return{c(){e=S("div"),t=S("div"),v&&v.c(),i=z(),l=S("div"),C&&C.c(),r=z(),a=S("div"),h=z(),y&&y.c(),f(a,"class",o="iframeModalCtn "+(n[4]?"_drawer":"_modal")+" svelte-1rzu3xo"),f(a,"modal-container-index",c=n[4]?void 0:n[1]),f(l,"class","fd-dialog__body svelte-1rzu3xo"),f(t,"class",d="fd-dialog__content "+(n[4]?n[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+n[1])+" svelte-1rzu3xo"),f(t,"data-testid",_=n[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=Xi(n[5]||n[4]&&n[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"),f(e,"style",b=n[5]?"z-index:1001":"")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,i),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,[A]){P[5]||P[4]&&P[0].header?v?(v.p(P,A),A&49&&R(v,1)):(v=Qf(P),v.c(),R(v,1),v.m(t,i)):v&&(ke(),B(v,1,1,()=>{v=null}),Se()),P[4]?C?(C.p(P,A),A&16&&R(C,1)):(C=Xf(P),C.c(),R(C,1),C.m(l,r)):C&&(ke(),B(C,1,1,()=>{C=null}),Se()),(!m||A&16&&o!==(o="iframeModalCtn "+(P[4]?"_drawer":"_modal")+" svelte-1rzu3xo"))&&f(a,"class",o),(!m||A&18&&c!==(c=P[4]?void 0:P[1]))&&f(a,"modal-container-index",c),P[3]?y||(y=$f(),y.c(),y.m(t,null)):y&&(y.d(1),y=null),(!m||A&19&&d!==(d="fd-dialog__content "+(P[4]?P[0].backdrop?"drawer drawer-dialog__content drawer__backdrop":"drawer drawer-dialog__content":"lui-modal-mf lui-modal-index-"+P[1])+" svelte-1rzu3xo"))&&f(t,"class",d),(!m||A&32&&_!==(_=P[5]?"modal-mf":"drawer-mf"))&&f(t,"data-testid",_),(!m||A&49&&p!==(p=Xi(P[5]||P[4]&&P[0].backdrop?"fd-dialog fd-dialog--active":"drawer-dialog")+" svelte-1rzu3xo"))&&f(e,"class",p),(!m||A&32&&b!==(b=P[5]?"z-index:1001":""))&&f(e,"style",b)},i(P){m||(R(v),R(C),m=!0)},o(P){B(v),B(C),m=!1},d(P){P&&I(e),v&&v.d(),C&&C.d(),y&&y.d()}}}function uk(n,e,t){let{$$slots:i={},$$scope:l}=e,{settings:r}=e,{isDataPrepared:a=!1}=e,{nodepath:o}=e,{modalIndex:c}=e,{disableBackdrop:h}=e;const d=Wt();let _,p,b,m=!1,v=!1,C=!1,y=!1,P=!1,A=!0,T,V=pt("store");const E=G=>ue.getNodeLabel(G),U=async G=>{const Y=G&&G.length?le.getPathWithoutHash(G):"",X=we.parseParams(Y.split("?")[1]);b=we.getNodeParams(X);const _e=await Rt.extractDataFromPath(G);_=_e.nodeObject,t(4,P=r.isDrawer||typeof _.drawer=="object"),T=P?"._drawer":`[modal-container-index="${c}"]`,t(0,r._liveLabel=!1,r),P?(t(5,A=!1),r.header===void 0?(t(0,r.header=!0,r),t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)):r.header&&r.header.title&&t(0,r.title=r.header.title,r),(r.backdrop===void 0||!r.backdrop)&&(t(0,r.backdrop=!1,r),d("drawerState",{activeDrawer:!0})),r.size||t(0,r.size="s",r),r.overlap===void 0&&t(0,r.overlap=!0,r)):r.title||(t(0,r.title=E(_),r),t(0,r._liveLabel=!0,r)),p=_e.pathData,t(7,a=!0)},F=async G=>{if(!(m||v))if(a)if(_.webcomponent)t(3,C=!1),P?await j():await D(),ur.renderWebComponent(_.viewUrl,document.querySelector(T),{context:p.context,clientPermissions:_.clientPermissions||{},pathParams:p.pathParams||{}},_,void 0,!0),d("wcCreated",{modalWC:document.querySelector(T),modalWCData:{...p,nodeParams:b}}),v=!0;else{const Y=await Z(_.viewUrl,{context:p.context,pathParams:p.pathParams,nodeParams:b});d("iframeCreated",{modalIframe:Y,modalIframeData:{...p,nodeParams:b}}),m=!0}else await U(G)},D=async()=>{let G,Y;const X=document.querySelector(".lui-modal-index-"+c),{size:_e,width:ie,height:oe}=r,ve=/^.?[0-9]{1,3}(%|px|rem|em|vh|vw)$/;if(X.classList.remove("lui-modal-fullscreen"),ie&&ie.match(ve)&&oe&&oe.match(ve))G=oe,Y=ie;else switch(_e){case"fullscreen":G="100vh",Y="100vw",X.classList.add("lui-modal-fullscreen");break;case"m":G="80%",Y="60%";break;case"s":G="80%",Y="40%";break;default:G="80%",Y="80%"}X.setAttribute("style",`width:${Y};height:${G};`)},Z=async(G,Y)=>{P?await j():await D(),G&&(G=we.substituteViewUrl(G,Y));const X=await Ae.createIframe(G,void 0,_,"modal",Y);return document.querySelector(T).appendChild(X),X};async function j(G){let Y="";const X=document.getElementsByClassName("drawer"),_e=document.getElementsByClassName("drawer-dialog");r.size&&(r.size==="l"?Y="width:75%;":r.size==="m"?Y="width:50%;":r.size==="s"?Y="width:25%;":r.size==="xs"&&(Y="width:15.5%;")),r.backdrop?X[0].setAttribute("style",Y):(_e[0].setAttribute("style",Y),X[0].setAttribute("style","width:100%"))}jr(()=>{F(o)});const Q=async G=>{G.data.msg==="luigi.show-loading-indicator"&&t(3,C=!0),G.data.msg==="luigi.hide-loading-indicator"&&t(3,C=!1),G.data.msg==="luigi.get-context"&&(y=!0,(!_||!_.loadingIndicator||_.loadingIndicator.hideAutomatically!==!1)&&de()),G.data.msg==="luigi.close-modal"&&d("close",{type:"modal"}),G.data.msg==="luigi.navigation.updateModalSettings"&&((G.data.updatedModalSettings.title||G.data.updatedModalSettings.title==="")&&t(0,r.title=G.data.updatedModalSettings.title,r),(G.data.updatedModalSettings.size||G.data.updatedModalSettings.width||G.data.updatedModalSettings.height)&&(t(0,r.size=G.data.updatedModalSettings.size,r),t(0,r.height=G.data.updatedModalSettings.height,r),t(0,r.width=G.data.updatedModalSettings.width,r),await D()),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&it.updateModalDataInUrl(we.getModalPathFromPath(),{title:r.title,size:r.size,height:r.height,width:r.width},G.data.addHistoryEntry))};Qt(()=>{ui.doOnStoreChange(V,()=>{r._liveLabel&&_&&t(0,r.title=E(_),r)},["navigation.viewgroupdata"]),Ai.addEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.disableA11YKeyboardExceptClassName(".lui-modal-index-"+c),window.focus(),setTimeout(()=>{var G;!y&&!_.webcomponent&&((G=_.loadingIndicator)==null?void 0:G.enabled)!==!1&&t(3,C=!0)},250)}),Jr(()=>{Ai.removeEventListener("message",Q),r.isDrawer&&!r.backdrop||Ae.enableA11YKeyboardBackdropExceptClassName(".lui-modal-index-"+c)});function de(){let G;A?G=document.querySelector(`.lui-modal-mf.lui-modal-index-${c} .spinnerContainer`):G=document.querySelector(".drawer .spinnerContainer"),G&&G.classList.contains("fade-out")&&(G.classList.remove("fade-out"),setTimeout(()=>{t(3,C=!1)},250))}const te=()=>d("close",{activeDrawer:!1});return n.$$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,A,d,a,o,l,i,te]}class Z_ extends Et{constructor(e){super(),At(this,e,uk,ok,Nt,{settings:0,isDataPrepared:7,nodepath:8,modalIndex:1,disableBackdrop:2})}}function xf(n,e,t){const i=n.slice();return i[27]=e[t][0],i[28]=e[t][1],i[29]=e,i[30]=t,i}function ec(n,e,t){const i=n.slice();return i[31]=e[t],i[33]=t,i}function tc(n,e,t){const i=n.slice();return i[31]=e[t],i[33]=t,i}function ic(n){let e,t=n[1][1].settings&&nc(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[1][1].settings?t?t.p(i,l):(t=nc(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&I(e)}}}function nc(n){let e,t,i=Object.entries(n[1][1].settings),l=[];for(let r=0;r<i.length;r+=1)l[r]=dc(xf(n,i,r));return{c(){e=S("div"),t=S("div");for(let r=0;r<l.length;r+=1)l[r].c();f(t,"class","fd-container fd-form-layout-grid-container"),f(e,"class","fd-page__content")},m(r,a){L(r,e,a),w(e,t);for(let o=0;o<l.length;o+=1)l[o].m(t,null)},p(r,a){if(a[0]&16191){i=Object.entries(r[1][1].settings);let o;for(o=0;o<i.length;o+=1){const c=xf(r,i,o);l[o]?l[o].p(c,a):(l[o]=dc(c),l[o].c(),l[o].m(t,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=i.length}},d(r){r&&I(e),ft(l,r)}}}function lc(n){let e;function t(r,a){return r[28].isEditable||r[28].isEditable===void 0?ck:fk}let i=t(n),l=i(n);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){i===(i=t(r))&&l?l.p(r,a):(l.d(1),l=i(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function fk(n){let e,t=n[0][n[1][0]][n[27]]+"",i,l;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-text"),f(e,"data-testid","lui-us-input"+n[30]),f(e,"id","fd-form-input-"+n[30]),f(e,"disabled",l=!(n[28].isEditable===void 0||n[28].isEditable))},m(r,a){L(r,e,a),w(e,i)},p(r,a){a[0]&3&&t!==(t=r[0][r[1][0]][r[27]]+"")&&Le(i,t),a[0]&2&&l!==(l=!(r[28].isEditable===void 0||r[28].isEditable))&&f(e,"disabled",l)},d(r){r&&I(e)}}}function ck(n){let e,t,i,l,r;function a(){n[17].call(e,n[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=n[5](n[28].placeholder)),f(e,"data-testid","lui-us-input"+n[30]),f(e,"id","fd-form-input-"+n[30]),e.disabled=i=!(n[28].isEditable===void 0||n[28].isEditable)},m(o,c){L(o,e,c),Wf(e,n[0][n[1][0]][n[27]]),l||(r=ne(e,"input",a),l=!0)},p(o,c){n=o,c[0]&34&&t!==(t=n[5](n[28].placeholder))&&f(e,"placeholder",t),c[0]&2&&i!==(i=!(n[28].isEditable===void 0||n[28].isEditable))&&(e.disabled=i),c[0]&3&&e.value!==n[0][n[1][0]][n[27]]&&Wf(e,n[0][n[1][0]][n[27]])},d(o){o&&I(e),l=!1,r()}}}function rc(n){let e,t,i,l,r,a,o=n[11](n[0][n[1][0]][n[27]],n[28].options)+"",c,h,d,_,p,b,m,v=Array.isArray(n[28].options),C,y;function P(...V){return n[18](n[27],n[30],n[28],...V)}function A(){return n[19](n[28])}let T=v&&ac(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("button"),a=S("span"),c=Te(o),d=z(),_=S("span"),_.innerHTML='<i class="sap-icon--slim-arrow-down"></i>',b=z(),m=S("div"),T&&T.c(),f(a,"class","fd-select__text-content"),f(a,"data-testid","lui-us-input"+n[30]),f(a,"disabled",h=!(n[28].isEditable===void 0||n[28].isEditable)),f(_,"class","fd-button fd-button--transparent fd-select__button lui-activate-dropdown"),f(r,"tabindex","0"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","listbox"),f(r,"aria-label","Language"),f(r,"class","fd-select__control lui-anchor-node svelte-1q4f8ra"),f(r,"data-testid",p="lui-us-"+n[28].type+"-"+n[30]),f(r,"id","fd-form-input-"+n[30]),f(l,"class","fd-select fd-select--compact"),f(i,"class","fd-popover__control"),f(i,"aria-expanded","false"),f(i,"aria-haspopup","true"),f(m,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--dropdown fd-popover__body--dropdown-fill"),f(m,"aria-hidden","true"),f(t,"class","fd-popover"),f(e,"class","fd-form-item")},m(V,E){L(V,e,E),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),w(a,c),w(r,d),w(r,_),w(t,b),w(t,m),T&&T.m(m,null),C||(y=[ne(r,"keydown",P),ne(i,"click",Vt(A))],C=!0)},p(V,E){n=V,E[0]&3&&o!==(o=n[11](n[0][n[1][0]][n[27]],n[28].options)+"")&&Le(c,o),E[0]&2&&h!==(h=!(n[28].isEditable===void 0||n[28].isEditable))&&f(a,"disabled",h),E[0]&2&&p!==(p="lui-us-"+n[28].type+"-"+n[30])&&f(r,"data-testid",p),E[0]&2&&(v=Array.isArray(n[28].options)),v?T?T.p(n,E):(T=ac(n),T.c(),T.m(m,null)):T&&(T.d(1),T=null)},d(V){V&&I(e),T&&T.d(),C=!1,Qe(y)}}}function ac(n){let e,t=n[28].options,i=[];for(let l=0;l<t.length;l+=1)i[l]=sc(tc(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-list fd-list--compact fd-list--dropdown"),f(e,"id","fd-form-input-dropdown-"+n[30]),f(e,"role","listbox")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null)},p(l,r){if(r[0]&4634){t=l[28].options;let a;for(a=0;a<t.length;a+=1){const o=tc(l,t,a);i[a]?i[a].p(o,r):(i[a]=sc(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&I(e),ft(i,l)}}}function sc(n){let e,t,i=n[12](n[31])+"",l,r,a,o,c;function h(){return n[20](n[27],n[31],n[33])}return{c(){e=S("li"),t=S("span"),l=Te(i),r=z(),f(t,"class","fd-list__title"),f(e,"role","option"),f(e,"class","fd-list__item"),f(e,"data-testid","lui-us-option"+n[30]+"_"+n[33]),f(e,"aria-selected",a=n[4]===n[33]),f(e,"tabindex","0"),Ht(e,"is-selected",n[4]===n[33]),Ht(e,"is-focus",n[4]===n[33])},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),o||(c=[ne(e,"click",h),ne(e,"keydown",n[21])],o=!0)},p(d,_){n=d,_[0]&2&&i!==(i=n[12](n[31])+"")&&Le(l,i),_[0]&16&&a!==(a=n[4]===n[33])&&f(e,"aria-selected",a),_[0]&16&&Ht(e,"is-selected",n[4]===n[33]),_[0]&16&&Ht(e,"is-focus",n[4]===n[33])},d(d){d&&I(e),o=!1,Qe(c)}}}function oc(n){let e,t,i,l=n[28].options,r=[];for(let a=0;a<l.length;a+=1)r[a]=uc(ec(n,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",i="fd-segmented-button enum-buttons-container-"+n[27]+" svelte-1q4f8ra"),f(t,"role","group"),f(t,"aria-label","Group label"),f(e,"class","fd-form-item")},m(a,o){L(a,e,o),w(e,t);for(let c=0;c<r.length;c+=1)r[c].m(t,null)},p(a,o){if(o[0]&13315){l=a[28].options;let c;for(c=0;c<l.length;c+=1){const h=ec(a,l,c);r[c]?r[c].p(h,o):(r[c]=uc(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&&i!==(i="fd-segmented-button enum-buttons-container-"+a[27]+" svelte-1q4f8ra")&&f(t,"class",i)},d(a){a&&I(e),ft(r,a)}}}function uc(n){let e,t=n[12](n[31])+"",i,l,r,a,o,c,h,d;function _(){return n[22](n[27],n[31])}return{c(){e=S("button"),i=Te(t),l=z(),f(e,"class",r="lui-fd-enum-button fd-button fd-button--compact "+(n[0][n[1][0]][n[27]]===(n[31].value||n[31])?"is-selected":"")),f(e,"id",a=n[13]("lui-us-enum_button",n[27],n[31])),f(e,"data-testid",o=n[13]("lui-us-enum_button",n[27],n[31])),e.disabled=c=!(n[28].isEditable===void 0||n[28].isEditable)},m(p,b){L(p,e,b),w(e,i),w(e,l),h||(d=ne(e,"click",_),h=!0)},p(p,b){n=p,b[0]&2&&t!==(t=n[12](n[31])+"")&&Le(i,t),b[0]&3&&r!==(r="lui-fd-enum-button fd-button fd-button--compact "+(n[0][n[1][0]][n[27]]===(n[31].value||n[31])?"is-selected":""))&&f(e,"class",r),b[0]&2&&a!==(a=n[13]("lui-us-enum_button",n[27],n[31]))&&f(e,"id",a),b[0]&2&&o!==(o=n[13]("lui-us-enum_button",n[27],n[31]))&&f(e,"data-testid",o),b[0]&2&&c!==(c=!(n[28].isEditable===void 0||n[28].isEditable))&&(e.disabled=c)},d(p){p&&I(e),h=!1,d()}}}function fc(n){let e,t,i,l,r,a,o,c,h,d;function _(){n[23].call(i,n[27])}return{c(){e=S("label"),t=S("span"),i=S("input"),a=z(),o=S("div"),o.innerHTML='<div class="fd-switch__track"><span class="fd-switch__handle" role="presentation"></span></div>',f(i,"class","fd-switch__input"),f(i,"type","checkbox"),f(i,"aria-labelledby","label1"),f(i,"data-testid",l="lui-us-checkbox-switch_"+n[27]),i.disabled=r=!(n[28].isEditable===void 0||n[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_"+n[27])},m(p,b){L(p,e,b),w(e,t),w(t,i),i.checked=n[0][n[1][0]][n[27]],w(t,a),w(t,o),h||(d=ne(i,"change",_),h=!0)},p(p,b){n=p,b[0]&2&&l!==(l="lui-us-checkbox-switch_"+n[27])&&f(i,"data-testid",l),b[0]&2&&r!==(r=!(n[28].isEditable===void 0||n[28].isEditable))&&(i.disabled=r),b[0]&3&&(i.checked=n[0][n[1][0]][n[27]]),b[0]&2&&c!==(c="lui-us-label-switch_"+n[27])&&f(e,"data-testid",c)},d(p){p&&I(e),h=!1,d()}}}function cc(n){let e,t,i,l;function r(){n[24].call(e,n[27])}return{c(){e=S("input"),f(e,"type","checkbox"),f(e,"class","fd-checkbox"),e.disabled=t=!(n[28].isEditable===void 0||n[28].isEditable)},m(a,o){L(a,e,o),e.checked=n[0][n[1][0]][n[27]],i||(l=ne(e,"change",r),i=!0)},p(a,o){n=a,o[0]&2&&t!==(t=!(n[28].isEditable===void 0||n[28].isEditable))&&(e.disabled=t),o[0]&3&&(e.checked=n[0][n[1][0]][n[27]])},d(a){a&&I(e),i=!1,l()}}}function dc(n){let e,t,i,l=n[5](n[28].label)+"",r,a,o,c,h,d,_=n[28].type==="enum"&&n[28].style==="button"&&Array.isArray(n[28].options),p,b,m,v=n[28].type==="string"&&lc(n),C=n[28].type==="enum"&&(n[28].style===void 0||n[28].style==="list")&&rc(n),y=_&&oc(n),P=n[28].type==="boolean"&&(!n[28].style||n[28].style==="switch")&&fc(n),A=n[28].type==="boolean"&&n[28].style==="checkbox"&&cc(n);return{c(){e=S("div"),t=S("div"),i=S("label"),r=Te(l),a=Te(":"),o=z(),c=S("div"),v&&v.c(),h=z(),C&&C.c(),d=z(),y&&y.c(),p=z(),P&&P.c(),b=z(),A&&A.c(),m=z(),f(i,"class","fd-form-label svelte-1q4f8ra"),f(i,"for","fd-form-input-"+n[30]),f(t,"class","fd-col fd-col--4 svelte-1q4f8ra"),f(c,"class","fd-col fd-col--8 svelte-1q4f8ra"),f(e,"class","fd-row svelte-1q4f8ra")},m(T,V){L(T,e,V),w(e,t),w(t,i),w(i,r),w(i,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),A&&A.m(c,null),w(e,m)},p(T,V){V[0]&34&&l!==(l=T[5](T[28].label)+"")&&Le(r,l),T[28].type==="string"?v?v.p(T,V):(v=lc(T),v.c(),v.m(c,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=rc(T),C.c(),C.m(c,d)):C&&(C.d(1),C=null),V[0]&2&&(_=T[28].type==="enum"&&T[28].style==="button"&&Array.isArray(T[28].options)),_?y?y.p(T,V):(y=oc(T),y.c(),y.m(c,p)):y&&(y.d(1),y=null),T[28].type==="boolean"&&(!T[28].style||T[28].style==="switch")?P?P.p(T,V):(P=fc(T),P.c(),P.m(c,b)):P&&(P.d(1),P=null),T[28].type==="boolean"&&T[28].style==="checkbox"?A?A.p(T,V):(A=cc(T),A.c(),A.m(c,null)):A&&(A.d(1),A=null)},d(T){T&&I(e),v&&v.d(),C&&C.d(),y&&y.d(),P&&P.d(),A&&A.d()}}}function dk(n){let e,t,i,l=n[1]&&n[1][0]&&n[1][1]&&ic(n);return{c(){e=S("div"),l&&l.c(),f(e,"class","lui-usersettings-content svelte-1q4f8ra")},m(r,a){L(r,e,a),l&&l.m(e,null),t||(i=[ne(window,"click",n[7]),ne(window,"blur",n[7])],t=!0)},p(r,a){r[1]&&r[1][0]&&r[1][1]?l?l.p(r,a):(l=ic(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:He,o:He,d(r){r&&I(e),l&&l.d(),t=!1,Qe(i)}}}function is(n,e,t){if(n&&t>0)return n.matches(e)?n:is(n.parentNode,e,t-1)}function gk(n,e,t){let i,{userSettingGroup:l}=e,{storedUserSettingData:r}=e;const a=Wt();let o=pt("getTranslation");bn(n,o,te=>t(5,i=te));let c,{isComboOpen:h}=e;function d(){a("updateSettingsObject",{storedUserSettingData:r})}const _=()=>{p()};function p(te){document.querySelectorAll(".lui-usersettings-content .fd-popover__control").forEach(G=>{m(G,!1)})}function b(te,G){let Y=is(te.target,".fd-popover__control",20),X=Y.getAttribute("aria-expanded")==="true";(G||G===void 0)&&(p(),m(Y,!X))}function m(te,G){const Y=te.querySelector(".lui-activate-dropdown"),X=te.parentNode.querySelector(".fd-popover__body"),_e=te.parentNode.querySelector(".fd-select__control");te.setAttribute("aria-expanded",G),X.setAttribute("aria-hidden",!G),_e.setAttribute("aria-expanded",G),Y.setAttribute("aria-expanded",G),t(14,h=G)}function v(te,G,Y){t(4,c=Y),t(0,r[l[0]][te]=G.value||G,r)}function C(te,G){document.querySelectorAll(".enum-buttons-container-"+te+" button").forEach(Y=>{const X=Y.getAttribute("id"),_e=`lui-us-enum_button_${te}_option`;X===_e?Y.classList.add("fd-button--emphasized"):Y.classList.remove("fd-button--emphasized")}),t(0,r[l[0]][te]=G.value||G,r)}function y(te,G){let Y;if(Array.isArray(G)){for(let X=0;X<G.length;X++)if(le.isObject(G[X])){if(G[X].value&&G[X].value===te){Y=G[X].label,t(4,c=X);break}}else{Y=te,t(4,c=G.indexOf(te));break}return i(Y)}}function P(te){return i(le.isObject(te)?te.label:te)}function A(te,G,Y){return le.isObject(Y)?`${te}_${G}_${Y.value}`:`${te}_${G}_${Y}`}function T(te,G,Y,X){let _e=is(te.target,".lui-anchor-node",20);const ie=document.getElementById(`fd-form-input-dropdown-${Y}`).children;let oe=-1;if([...ie].forEach((ve,re)=>{ve.classList.contains("is-focus")&&(oe=re)}),h){if(te.keyCode===Vl&&te.altKey&&(_e.click(),_e.focus()),te.keyCode===Bn&&!te.altKey){if(oe===-1){oe=0,ie.item(oe).classList.add("is-focus");return}oe<X.options.length-1&&(ie.item(oe).classList.remove("is-focus"),oe+=1,ie.item(oe).classList.add("is-focus"))}if(te.keyCode===Vl&&!te.altKey){if(oe===-1){oe=oe.length-1,ie.item(oe).classList.add("is-focus");return}oe>0&&oe<X.options.length&&(ie.item(oe).classList.remove("is-focus"),oe-=1,ie.item(oe).classList.add("is-focus"))}(te.keyCode===mn||te.keyCode===Kr)&&v(G,X.options[oe],oe)}else _e.focus(),te.keyCode===Bn&&te.altKey&&_e.click(),te.keyCode===Bn&&!te.altKey&&oe<X.options.length-1&&v(G,X.options[oe+1],oe+1),te.keyCode===Vl&&!te.altKey&&oe>0&&oe<X.options.length&&v(G,X.options[oe-1],oe-1)}function V(te){if(h){let G=is(te.target,".fd-popover",20);G.blur(),(te.keyCode===Kr||te.keyCode===mn)&&(te.target.click(),p(),setTimeout(()=>{G.focus()},0))}}y();function E(te){r[l[0]][te]=this.value,t(0,r)}const U=(te,G,Y,X)=>T(X,te,G,Y),F=te=>b(event,te.isEditable),D=(te,G,Y)=>v(te,G,Y),Z=te=>V(te),j=(te,G)=>C(te,G);function Q(te){r[l[0]][te]=this.checked,t(0,r)}function de(te){r[l[0]][te]=this.checked,t(0,r)}return n.$$set=te=>{"userSettingGroup"in te&&t(1,l=te.userSettingGroup),"storedUserSettingData"in te&&t(0,r=te.storedUserSettingData),"isComboOpen"in te&&t(14,h=te.isComboOpen)},[r,l,T,V,c,i,o,p,b,v,C,y,P,A,h,d,_,E,U,F,D,Z,j,Q,de]}class hk extends Et{constructor(e){super(),At(this,e,gk,dk,Nt,{userSettingGroup:1,storedUserSettingData:0,isComboOpen:14,updateSettingsObject:15,closeDropDown:16,handleKeyListDropdown:2,keyPressDropdownNode:3},null,[-1,-1])}get updateSettingsObject(){return this.$$.ctx[15]}get closeDropDown(){return this.$$.ctx[16]}get handleKeyListDropdown(){return this.$$.ctx[2]}get keyPressDropdownNode(){return this.$$.ctx[3]}}const{window:gc}=dl;function hc(n,e,t){const i=n.slice();return i[30]=e[t][0],i[11]=e[t][1],i[36]=t,i}function _c(n,e,t){const i=n.slice();return i[37]=e[t],i}function pc(n){let e,t,i;function l(o,c){return c[0]&2&&(e=null),e==null&&(e=!!o[19](o[37][1])),e?pk:_k}let r=l(n,[-1,-1]),a=r(n);return{c(){a.c(),t=z(),i=S("i"),f(i,"role","presentation"),f(i,"class","sap-icon")},m(o,c){a.m(o,c),L(o,t,c),L(o,i,c)},p(o,c){r===(r=l(o,c))&&a?a.p(o,c):(a.d(1),a=r(o),a&&(a.c(),a.m(t.parentNode,t)))},d(o){a.d(o),o&&I(t),o&&I(i)}}}function _k(n){let e,t,i,l,r,a=n[37][1].initials&&mc(n);return{c(){e=S("span"),l=z(),a&&a.c(),r=Ce(),f(e,"class",t=Xi(n[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",i=n[37][1].altText?n[37][1].altText:""),Li(e,"background-image","url('"+n[37][1].icon+"')"),Li(e,"background-size","cover")},m(o,c){L(o,e,c),L(o,l,c),a&&a.m(o,c),L(o,r,c)},p(o,c){c[0]&2&&t!==(t=Xi(o[37][1].iconClassAttribute||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",t),c[0]&2&&i!==(i=o[37][1].altText?o[37][1].altText:"")&&f(e,"aria-label",i),c[0]&2&&Li(e,"background-image","url('"+o[37][1].icon+"')"),o[37][1].initials?a?a.p(o,c):(a=mc(o),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(o){o&&I(e),o&&I(l),a&&a.d(o),o&&I(r)}}}function pk(n){let e,t,i;return{c(){e=S("span"),t=S("i"),f(t,"role","presentation"),f(t,"class",i=Xi(n[18](n[37][1].icon))+" svelte-d5kn3x"),f(e,"class","fd-list__thumbnail")},m(l,r){L(l,e,r),w(e,t)},p(l,r){r[0]&2&&i!==(i=Xi(l[18](l[37][1].icon))+" svelte-d5kn3x")&&f(t,"class",i)},d(l){l&&I(e)}}}function mc(n){let e,t=(n[37][1].initials?n[37][1].initials:"")+"",i,l,r;return{c(){e=S("span"),i=Te(t),f(e,"class",l=Xi(n[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x"),f(e,"aria-label",r=n[37][1].altText?n[37][1].altText:"")},m(a,o){L(a,e,o),w(e,i)},p(a,o){o[0]&2&&t!==(t=(a[37][1].initials?a[37][1].initials:"")+"")&&Le(i,t),o[0]&2&&l!==(l=Xi(a[37][1].iconClassAttribute+" lui-profile-initials"||"fd-image--s fd-list__thumbnail")+" svelte-d5kn3x")&&f(e,"class",l),o[0]&2&&r!==(r=a[37][1].altText?a[37][1].altText:"")&&f(e,"aria-label",r)},d(a){a&&I(e)}}}function bc(n){let e,t,i,l,r,a=n[10](n[37][1].label?n[37][1].label:"")+"",o,c,h,d=n[10](n[37][1].sublabel?n[37][1].sublabel:"")+"",_,p,b,m,v=n[37][1].icon&&pc(n);function C(){return n[21](n[37])}function y(...P){return n[22](n[36],...P)}return{c(){e=S("li"),t=S("a"),v&&v.c(),i=z(),l=S("div"),r=S("div"),o=Te(a),c=z(),h=S("div"),_=Te(d),p=z(),f(r,"class","fd-list__title"),f(h,"class","fd-list__byline svelte-d5kn3x"),f(l,"class","fd-list__content"),f(t,"tabindex","-1"),f(t,"class","fd-list__link"),f(t,"href","#"),f(e,"class","fd-list__item fd-list__item--link lui-us-navlist__item"),f(e,"data-testid","us-navigation-item"),f(e,"tabindex","0")},m(P,A){L(P,e,A),w(e,t),v&&v.m(t,null),w(t,i),w(t,l),w(l,r),w(r,o),w(l,c),w(l,h),w(h,_),w(e,p),b||(m=[ne(e,"click",Pt(C)),ne(e,"keydown",y)],b=!0)},p(P,A){n=P,n[37][1].icon?v?v.p(n,A):(v=pc(n),v.c(),v.m(t,i)):v&&(v.d(1),v=null),A[0]&1026&&a!==(a=n[10](n[37][1].label?n[37][1].label:"")+"")&&Le(o,a),A[0]&1026&&d!==(d=n[10](n[37][1].sublabel?n[37][1].sublabel:"")+"")&&Le(_,d)},d(P){P&&I(e),v&&v.d(),b=!1,Qe(m)}}}function vc(n){let e,t=Object.entries(n[11]),i=[];for(let l=0;l<t.length;l+=1)i[l]=bc(_c(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=Ce()},m(l,r){for(let a=0;a<i.length;a+=1)i[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&803846){t=Object.entries(l[11]);let a;for(a=0;a<t.length;a+=1){const o=_c(l,t,a);i[a]?i[a].p(o,r):(i[a]=bc(o),i[a].c(),i[a].m(e.parentNode,e))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){ft(i,l),l&&I(e)}}}function wc(n){let e,t,i,l;function r(c){n[23](c)}function a(c){n[24](c)}let o={storedUserSettingData:n[0],userSettingGroup:n[11]};return n[9]!==void 0&&(o.closeDropDown=n[9]),n[8]!==void 0&&(o.isComboOpen=n[8]),e=new hk({props:o}),Xe.push(()=>_t(e,"closeDropDown",r,n[9])),Xe.push(()=>_t(e,"isComboOpen",a,n[8])),e.$on("updateSettingsObject",n[15]),{c(){Me(e.$$.fragment)},m(c,h){Ve(e,c,h),l=!0},p(c,h){const d={};h[0]&1&&(d.storedUserSettingData=c[0]),h[0]&2048&&(d.userSettingGroup=c[11]),!t&&h[0]&512&&(t=!0,d.closeDropDown=c[9],ht(()=>t=!1)),!i&&h[0]&256&&(i=!0,d.isComboOpen=c[8],ht(()=>i=!1)),e.$set(d)},i(c){l||(R(e.$$.fragment,c),l=!0)},o(c){B(e.$$.fragment,c),l=!1},d(c){Oe(e,c)}}}function mk(n){let e,t,i,l,r,a,o,c=n[10](n[4])+"",h,d,_,p,b,m,v,C,y,P=n[10](n[7])+"",A,T,V,E,U,F,D,Z,j,Q,de,te=n[10](n[5])+"",G,Y,X,_e,ie=n[10](n[6])+"",oe,ve,re,Ee,We=Object.entries(n[1]),W=[];for(let Ie=0;Ie<We.length;Ie+=1)W[Ie]=vc(hc(n,We,Ie));let se=n[11]&&wc(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("div"),a=S("div"),o=S("h2"),h=Te(c),d=z(),_=S("div"),p=S("ul");for(let Ie=0;Ie<W.length;Ie+=1)W[Ie].c();b=z(),m=S("div"),v=S("button"),v.innerHTML='<i class="sap-icon--navigation-left-arrow"></i>',C=z(),y=S("h2"),A=Te(P),T=z(),V=S("div"),E=S("div"),se&&se.c(),U=z(),F=S("div"),D=z(),Z=S("footer"),j=S("div"),Q=S("div"),de=S("button"),G=Te(te),Y=z(),X=S("div"),_e=S("button"),oe=Te(ie),f(o,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(o,"id","dialog-title-2"),f(a,"class","fd-side-nav__group-header svelte-d5kn3x"),f(p,"class","fd-list fd-list--byline fd-list--navigation lui-us-list"),f(_,"class","fd-side-nav__main-navigation lui-fd-side-nav__main-navigation svelte-d5kn3x"),f(r,"class","fd-side-nav svelte-d5kn3x"),f(l,"class","lui-usersettings-left-nav svelte-d5kn3x"),f(v,"class","fd-button fd-button--transparent fd-button--compact lui-usersettings-content-header__back-btn svelte-d5kn3x"),f(y,"class","fd-title fd-title--h5 svelte-d5kn3x"),f(m,"class","fd-side-nav__group-header lui-usersettings-dialog-sub-header svelte-d5kn3x"),f(E,"class","usersettingseditor mf-wrapper svelte-d5kn3x"),f(F,"class","iframeUserSettingsCtn iframe-wrapper svelte-d5kn3x"),f(V,"class","lui-usersettings-content svelte-d5kn3x"),f(i,"class","fd-dialog__body lui-usersettings-body svelte-d5kn3x"),f(de,"data-testid","lui-us-saveBtn"),f(de,"class","fd-dialog__decisive-button fd-button fd-button--emphasized fd-button--compact confirm-button"),f(Q,"class","fd-bar__element"),f(_e,"data-testid","lui-us-dismissBtn"),f(_e,"class","fd-dialog__decisive-button fd-button fd-button--transparent fd-button--compact"),f(X,"class","fd-bar__element"),f(j,"class","fd-bar__right"),f(Z,"class","fd-dialog__footer fd-bar fd-bar--footer"),f(t,"class","fd-dialog__content lui-usersettings-dialog-size svelte-d5kn3x"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-2"),f(e,"class","fd-dialog fd-dialog--active lui-usersettings-dialog svelte-d5kn3x"),f(e,"tabindex","0")},m(Ie,nt){L(Ie,e,nt),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),w(a,o),w(o,h),w(r,d),w(r,_),w(_,p);for(let Fe=0;Fe<W.length;Fe+=1)W[Fe].m(p,null);w(i,b),w(i,m),w(m,v),w(m,C),w(m,y),w(y,A),w(i,T),w(i,V),w(V,E),se&&se.m(E,null),w(V,U),w(V,F),w(t,D),w(t,Z),w(Z,j),w(j,Q),w(Q,de),w(de,G),w(j,Y),w(j,X),w(X,_e),w(_e,oe),ve=!0,re||(Ee=[ne(gc,"resize",n[20]),ne(gc,"keydown",n[3]),ne(v,"click",n[17]),ne(de,"click",n[25]),ne(_e,"click",n[26])],re=!0)},p(Ie,nt){if((!ve||nt[0]&1040)&&c!==(c=Ie[10](Ie[4])+"")&&Le(h,c),nt[0]&803846){We=Object.entries(Ie[1]);let Fe;for(Fe=0;Fe<We.length;Fe+=1){const pe=hc(Ie,We,Fe);W[Fe]?W[Fe].p(pe,nt):(W[Fe]=vc(pe),W[Fe].c(),W[Fe].m(p,null))}for(;Fe<W.length;Fe+=1)W[Fe].d(1);W.length=We.length}(!ve||nt[0]&1152)&&P!==(P=Ie[10](Ie[7])+"")&&Le(A,P),Ie[11]?se?(se.p(Ie,nt),nt[0]&2048&&R(se,1)):(se=wc(Ie),se.c(),R(se,1),se.m(E,null)):se&&(ke(),B(se,1,1,()=>{se=null}),Se()),(!ve||nt[0]&1056)&&te!==(te=Ie[10](Ie[5])+"")&&Le(G,te),(!ve||nt[0]&1088)&&ie!==(ie=Ie[10](Ie[6])+"")&&Le(oe,ie)},i(Ie){ve||(R(se),ve=!0)},o(Ie){B(se),ve=!1},d(Ie){Ie&&I(e),ft(W,Ie),se&&se.d(),re=!1,Qe(Ee)}}}function kc(n,e){let t={};return n.forEach(i=>{for(let l in i){for(let r in i[l].settings)i[l].settings[r]="";t[l]={...i[l].settings,...e[l]}}}),t}function bk(){document.querySelector(".iframeUserSettingsCtn").style.display="block",document.querySelector(".usersettingseditor").style.display="none"}function vk(){document.querySelector(".iframeUserSettingsCtn").style.display="none",document.querySelector(".usersettingseditor").style.display="block"}function X_(n,e,t){if(n&&t>0)return n.matches(e)?n:X_(n.parentNode,e,t-1)}function Sc(){document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"}function wk(n,e,t){let i,{userSettingGroups:l}=e;const r=Wt();let a,{storedUserSettings:o={}}=e,c={},h=pt("getTranslation");bn(n,h,oe=>t(10,i=oe));let d=fl.userSettingsDialog.dialogHeader,_=fl.userSettingsDialog.saveBtn,p=fl.userSettingsDialog.dismissBtn,b={},m,v,C,y;Jr(()=>{Ae.enableA11YKeyboardBackdropExceptClassName(".lui-usersettings-dialog")}),Qt(()=>{const oe=ae.getConfigValue("userSettings.userSettingsDialog"),ve=oe||ae.getConfigValue("settings.userSettings.userSettingsDialog");ve&&(t(4,d=ve.dialogHeader?ve.dialogHeader:d),t(5,_=ve.saveBtn?ve.saveBtn:_),t(6,p=ve.dismissBtn?ve.dismissBtn:p)),m=Object.keys(l[0]).length>0?Object.keys(l[0])[0]:void 0,Ai.addEventListener("message",re=>{const Ee=Ae.getValidMessageSource(re);if(!Ee||re.data.msg!=="custom")return;Ee._ready=!0;const We=rs.convertCustomMessageInternalToUser(re.data),W="luigi.updateUserSettings";if(We.id===W){const se=sr.findActiveCustomUserSettingsIframe(re.source);if(se){let Ie=se.getAttribute("userSettingsGroup");t(0,o[Ie]=We.data,o)}}We.id==="luigi.navBackMobile"&&window.window.innerWidth!==0&&window.innerWidth<ii.desktopMinWidth&&U()}),ae.readUserSettings().then(re=>{c=JSON.parse(JSON.stringify(re)),re===null?t(0,o=kc(JSON.parse(JSON.stringify(l)),{})):t(0,o=kc(JSON.parse(JSON.stringify(l)),re)),A([m,l[0][m]])}).catch(re=>{re&&re.message&&console.error(re.message),re&&re.closeDialog&&r("close")}),Ae.disableA11YKeyboardExceptClassName(".lui-usersettings-dialog")});function P(oe){if(t(7,v=oe.title?oe.title:""),!!le.isObject(oe.settings))for(let ve in oe.settings){let re=oe.settings[ve];re.type==="enum"?Array.isArray(re.options)||console.error(`There is no options array for '${ve}' defined in the Luigi userSettings config.`):re.type===void 0&&console.error(`There is no data type defined for '${ve}' in the Luigi userSettings config.`)}}function A(oe,ve){t(11,a=oe);let re=oe[0],Ee=oe[1];if(P(Ee),ve?(document.querySelectorAll(".lui-us-list .lui-us-navlist__item").forEach(W=>{W.classList.remove("is-selected")}),X_(ve.target,".lui-us-navlist__item",20).classList.add("is-selected"),window.innerWidth<ii.desktopMinWidth&&E()):(document.querySelectorAll(".lui-us-list .lui-us-navlist__item")[0].classList.add("is-selected"),window.innerWidth!==0&&window.innerWidth<ii.desktopMinWidth&&Sc()),Ee.viewUrl){if(sr.hideUserSettingsIframe(),b.hasOwnProperty(re))sr.getUserSettingsIframesInDom().forEach(We=>{We.userSettingsGroup===re&&(We.style.display="block")});else{const We=Gr.hasDecorators()?Gr.applyDecorators(Ee.viewUrl):Ee.viewUrl;let W=sr.createIframe(We,re);b[re]=W}bk()}else vk()}const T=oe=>{t(0,o=oe.detail.userSettings)};function V(){ae.storeUserSettings(o,c).then(()=>{r("close")}).catch(oe=>{oe&&oe.message&&console.error(oe.message),oe&&oe.closeDialog&&r("close")})}function E(){U()}function U(){document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),window.innerWidth!==0&&window.innerWidth<ii.desktopMinWidth&&Sc()}function F(oe){return ue.renderIconClassName(oe)}function D(oe){return ue.isOpenUIiconName(oe.icon)}let Z;const j=()=>{const oe=window.innerWidth>=ii.desktopMinWidth&&Z<ii.desktopMinWidth;if(window.innerWidth<ii.desktopMinWidth&&Z>=ii.desktopMinWidth&&(document.querySelector(".lui-usersettings-dialog").classList.toggle("usersettings-leftNavVisible"),document.querySelector(".usersettings-leftNavVisible")?document.querySelector(".confirm-button").style.display="block":document.querySelector(".confirm-button").style.display="none"),oe&&(document.querySelector(".confirm-button").style.display="block"),!Z){let re=document.querySelector(".confirm-button");window.innerWidth<ii.desktopMinWidth?re.style.display="none":re.style.display="block"}Z=window.innerWidth};function Q(oe,ve){let re=document.querySelectorAll(".lui-us-list .lui-us-navlist__item");(oe.keyCode===mn||oe.keyCode===Kr)&&re[ve].click(),oe.keyCode===ik&&re[Object.keys(l).length-1].focus(),oe.keyCode===tk&&re[0].focus()}function de(oe){oe.keyCode===_n&&C?y():oe.keyCode===_n&&!C&&r("close")}const te=oe=>A(oe,event),G=(oe,ve)=>Q(ve,[oe]);function Y(oe){y=oe,t(9,y)}function X(oe){C=oe,t(8,C)}const _e=()=>V(),ie=()=>r("close");return n.$$set=oe=>{"userSettingGroups"in oe&&t(1,l=oe.userSettingGroups),"storedUserSettings"in oe&&t(0,o=oe.storedUserSettings)},[o,l,Q,de,d,_,p,v,C,y,i,a,r,h,A,T,V,U,F,D,j,te,G,Y,X,_e,ie]}class kk extends Et{constructor(e){super(),At(this,e,wk,mk,Nt,{userSettingGroups:1,storedUserSettings:0,handleKeyUp:2,handleKeyDown:3},null,[-1,-1])}get handleKeyUp(){return this.$$.ctx[2]}get handleKeyDown(){return this.$$.ctx[3]}}const{window:Sk}=dl;function Ck(n){let e;return{c(){e=S("div"),f(e,"class","iframeSplitViewCnt svelte-1q543h0")},m(t,i){L(t,e,i)},p:He,d(t){t&&I(e)}}}function yk(n){let e,t,i,l,r=n[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>',i=z(),l=S("h1"),a=Te(r),f(t,"class","lui-collapse-btn svelte-1q543h0"),f(e,"id","splitViewDraggerCollapsed"),f(e,"class","splitViewSeparator isCollapsed svelte-1q543h0"),f(l,"class","fd-splitView__title svelte-1q543h0")},m(h,d){L(h,e,d),w(e,t),L(h,i,d),L(h,l,d),w(l,a),o||(c=ne(t,"click",Vt(Pt(n[4]))),o=!0)},p(h,d){d&2&&r!==(r=h[1].title+"")&&Le(a,r)},d(h){h&&I(e),h&&I(i),h&&I(l),o=!1,c()}}}function Cc(n){let e,t,i,l,r,a,o,c;return{c(){e=S("div"),t=z(),i=S("div"),l=S("div"),r=z(),a=S("a"),a.innerHTML='<i class="sap-icon sap-icon--navigation-down-arrow"></i>',f(e,"id","splitViewDraggerBackdrop"),f(l,"class","splitViewSeparator"),f(a,"class","lui-collapse-btn svelte-1q543h0"),f(i,"id","splitViewDragger")},m(h,d){L(h,e,d),L(h,t,d),L(h,i,d),w(i,l),w(i,r),w(i,a),o||(c=[ne(a,"click",Vt(Pt(n[3]))),ne(i,"mousedown",Vt(n[6]))],o=!0)},p:He,d(h){h&&I(e),h&&I(t),h&&I(i),o=!1,Qe(c)}}}function Pk(n){let e,t,i,l,r,a,o,c,h,d;t=new Ol({props:{area:"split-view",disable:n[2]}}),t.$on("stateChanged",n[7]);function _(v,C){return v[0]?yk:Ck}let p=_(n),b=p(n),m=!n[0]&&Cc(n);return{c(){e=S("div"),Me(t.$$.fragment),i=z(),l=S("div"),b.c(),a=z(),m&&m.c(),o=Ce(),f(l,"class","lui-split-view svelte-1q543h0"),f(e,"id","splitViewContainer"),f(e,"class",r="fd-page splitViewContainer "+(n[0]?"lui-collapsed":"")+" svelte-1q543h0")},m(v,C){L(v,e,C),Ve(t,e,null),w(e,i),w(e,l),b.m(l,null),L(v,a,C),m&&m.m(v,C),L(v,o,C),c=!0,h||(d=ne(Sk,"resize",n[5]),h=!0)},p(v,[C]){const y={};C&4&&(y.disable=v[2]),t.$set(y),p===(p=_(v))&&b?b.p(v,C):(b.d(1),b=p(v),b&&(b.c(),b.m(l,null))),(!c||C&1&&r!==(r="fd-page splitViewContainer "+(v[0]?"lui-collapsed":"")+" svelte-1q543h0"))&&f(e,"class",r),v[0]?m&&(m.d(1),m=null):m?m.p(v,C):(m=Cc(v),m.c(),m.m(o.parentNode,o))},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&I(e),Oe(t),b.d(),v&&I(a),m&&m.d(v),v&&I(o),h=!1,d()}}}function Nk(n,e,t){const i=Wt();let l={draggable:null,iframe:null,split:null},r,a,o,c,h,d,_,p,b,{nodepath:m}=e,{collapsed:v}=e,{splitViewSettings:C={}}=e,{isDataPrepared:y=!1}=e,{disableBackdrop:P}=e,A=!1,T=pt("getUnsavedChangesModalPromise");const V=()=>({get:()=>({collapsed:v,splitViewSettings:C,isDataPrepared:y,lastNode:r,pathData:a,nodeParams:o,currentNode:c,splitViewIframe:d,splitViewIframeData:_,splitViewWC:p,splitViewWCData:b}),set:Y=>{Y&&Object.getOwnPropertyNames(Y).forEach(X=>{X==="splitViewSettings"?t(1,C=Y.splitViewSettings):X==="lastNode"?r=Y.lastNode:X==="pathData"?a=Y.pathData:X==="nodeParams"?o=Y.nodeParams:X==="collapsed"?t(0,v=Y.collapsed):X==="isDataPrepared"?t(8,y=Y.isDataPrepared):X==="currentNode"?c=Y.currentNode:X==="splitViewIframe"?d=Y.splitViewIframe:X==="splitViewIframeData"?_=Y.splitViewIframeData:X==="splitViewWC"?p=Y.splitViewWC:X==="splitViewWCData"&&(b=Y.splitViewWCData)})},dispatch:i,getUnsavedChangesModalPromise:T}),E=async()=>{y?v||ot.createAndSetView(V()):await ot.prepareSplitViewData(V(),m)},U=()=>{l.split=ot.getContainer(),l.iframe=Ae.getIframeContainer(),l.draggable=ot.getDragger()},F=()=>{const Y=ot.getDraggerBackdrop();Y&&(Y.style.display="none"),U(),l.draggable&&(l.draggable.style.top=`${ot.splitViewValues.top}px`),l.split.style.top=`${ot.splitViewValues.top}px`,l.iframe.style.marginBottom=`${l.split.clientHeight}px`};function D(Y){if(Ae.getValidMessageSource(Y)&&(Y.data.msg==="luigi.navigation.splitview.close"&&ot.close(V()),Y.data.msg==="luigi.navigation.splitview.collapse"&&Z(),Y.data.msg==="luigi.navigation.splitview.expand"&&j(),Y.data.msg==="luigi.navigation.splitview.resize")){const X=parseInt(Y.data.data);if(ot.calculateAndSetSplitViewValues(X,ot.internalValues),v)return;F(),ot.sendMessageToClients("resize.ok",ot.splitViewValues.percent)}}Qt(()=>{Q(),h=D.bind(this),Ai.addEventListener("message",h)}),jr(()=>{E(),A!==y&&!v&&(A=y,F())}),Jr(()=>{window.removeEventListener("message",h)});function Z(){ot.collapse(V())}async function j(){await ot.expand(V()),l.draggerBackdrop&&(l.draggerBackdrop.style.display="none")}function Q(){const Y=le.getShellbarHeight();ot.internalValues.innerHeight=le.getInnerHeight(),ot.internalValues.rightContentHeight=ot.internalValues.innerHeight-Y,ot.internalValues.thresholdBottom=30,ot.internalValues.thresholdTop=Y+30,ot.calculateAndSetSplitViewValues(ot.splitViewValues.percent,ot.internalValues),v||F()}function de(Y){let X=Y.y,_e={};const ie=function(We){const W=X-We.y,se=parseInt(getComputedStyle(l.draggable,"").top);if(isNaN(se)||W===0)return;const Ie=se-W,nt=ot.internalValues.innerHeight-Ie,Fe=ot.enforceTresholds(Ie,nt);Ie<Fe.top||nt<Fe.bottom||(_e=Fe,X=We.y,l.draggable.style.top=`${_e.top}px`)},oe=function(){if(ve(),!_e.top||!_e.bottom||_e.top==ot.internalValues.m_pos_prev){ot.getDraggerBackdrop().style.display="none";return}ot.internalValues.m_pos_prev=_e.top,ot.splitViewValues=_e,F(),ot.sendMessageToClients("resize.ok",_e.percent)},ve=function(){document.removeEventListener("mouseup",oe),document.removeEventListener("mousemove",ie)},re=function(){document.addEventListener("mouseup",oe),document.addEventListener("mousemove",ie)};U(),ve(),re(),ot.getDraggerBackdrop().style.display="block"}const te=Y=>{let X=ot.getDraggerButton();X&&(X.style.display=Y?"block":"none"),X=ot.getCollapsedDraggerButton(),X&&(X.style.display=Y?"block":"none")},G=Y=>{te(!Y.detail||Y.detail.backdropActive!==!0)};return n.$$set=Y=>{"nodepath"in Y&&t(9,m=Y.nodepath),"collapsed"in Y&&t(0,v=Y.collapsed),"splitViewSettings"in Y&&t(1,C=Y.splitViewSettings),"isDataPrepared"in Y&&t(8,y=Y.isDataPrepared),"disableBackdrop"in Y&&t(2,P=Y.disableBackdrop)},[v,C,P,Z,j,Q,de,G,y,m]}class $_ extends Et{constructor(e){super(),At(this,e,Nk,Pk,Nt,{nodepath:9,collapsed:0,splitViewSettings:1,isDataPrepared:8,disableBackdrop:2,collapse:3,expand:4,updateSizes:5,onDragStart:6})}get collapse(){return this.$$.ctx[3]}get expand(){return this.$$.ctx[4]}get updateSizes(){return this.$$.ctx[5]}get onDragStart(){return this.$$.ctx[6]}}function yc(n){let e,t,i={ctx:n,current:null,token:null,hasCatch:!1,pending:Lk,then:Tk,catch:Ik,value:1};return ns(t=n[0].badgeCounter.count(),i),{c(){e=Ce(),i.block.c()},m(l,r){L(l,e,r),i.block.m(l,i.anchor=r),i.mount=()=>e.parentNode,i.anchor=e},p(l,r){n=l,i.ctx=n,r&1&&t!==(t=n[0].badgeCounter.count())&&ns(t,i)||U_(i,n,r)},d(l){l&&I(e),i.block.d(l),i.token=null,i=null}}}function Ik(n){return{c:He,m:He,p:He,d:He}}function Tk(n){let e,t=n[1]>0&&Pc(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[1]>0?t?t.p(i,l):(t=Pc(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&I(e)}}}function Pc(n){let e,t=n[1]+"",i,l;return{c(){e=S("span"),i=Te(t),f(e,"class","fd-counter fd-counter--notification fd-shellbar__counter--notification svelte-1jwxev"),f(e,"aria-label",l=n[0].badgeCounter.label)},m(r,a){L(r,e,a),w(e,i)},p(r,a){a&1&&t!==(t=r[1]+"")&&Le(i,t),a&1&&l!==(l=r[0].badgeCounter.label)&&f(e,"aria-label",l)},d(r){r&&I(e)}}}function Lk(n){return{c:He,m:He,p:He,d:He}}function Ak(n){let e,t=n[0]&&n[0].badgeCounter&&yc(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,[l]){i[0]&&i[0].badgeCounter?t?t.p(i,l):(t=yc(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(i){t&&t.d(i),i&&I(e)}}}function Ek(n,e,t){let{node:i}=e;return n.$$set=l=>{"node"in l&&t(0,i=l.node)},[i]}class wi extends Et{constructor(e){super(),At(this,e,Ek,Ak,Nt,{node:0})}}function Nc(n){let e,t,i=n[0].statusBadge.label+"",l;return{c(){e=S("span"),t=S("span"),l=Te(i),f(t,"class","fd-object-status__text"),f(e,"class","fd-object-status fd-object-status--"+n[1]+" fd-object-status--inverted svelte-1ooarw2")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a&1&&i!==(i=r[0].statusBadge.label+"")&&Le(l,i)},d(r){r&&I(e)}}}function Rk(n){let e,t=n[0].statusBadge&&n[0].statusBadge.label&&Nc(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,[l]){i[0].statusBadge&&i[0].statusBadge.label?t?t.p(i,l):(t=Nc(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(i){t&&t.d(i),i&&I(e)}}}function Dk(n,e,t){let{node:i}=e;const l=["negative","positive","critical","informative"],r=i&&i.statusBadge&&i.statusBadge.type,a=l.includes(r)?r:"none";return n.$$set=o=>{"node"in o&&t(0,i=o.node)},[i,a]}class $i extends Et{constructor(e){super(),At(this,e,Dk,Rk,Nt,{node:0})}}const{window:xa}=dl;function Ic(n,e,t){const i=n.slice();return i[80]=e[t][0],i[81]=e[t][1],i[83]=t,i}function Tc(n,e,t){const i=n.slice();return i[84]=e[t],i}function Lc(n,e,t){const i=n.slice();return i[84]=e[t],i}function Ac(n,e,t){const i=n.slice();return i[84]=e[t],i}function Ec(n,e,t){const i=n.slice();return i[84]=e[t],i}function Rc(n,e,t){const i=n.slice();return i[80]=e[t][0],i[81]=e[t][1],i[83]=t,i}function Dc(n,e,t){const i=n.slice();return i[84]=e[t],i}function Vc(n,e,t){const i=n.slice();return i[84]=e[t],i}function Vk(n){let e,t,i,l,r,a,o,c,h,d,_=n[12]&&Oc(n),p=n[0]&&n[5].length>0&&(n[5][0].topNav===!1||n[5].length>1)&&Uc(n),b=(n[2]||n[3])&&ud(n);return{c(){e=S("div"),_&&_.c(),t=z(),i=S("nav"),l=S("div"),p&&p.c(),r=z(),b&&b.c(),f(l,"class","fd-side-nav__main-navigation svelte-4pigtp"),f(i,"class",a="fd-side-nav "+(n[6]?"fd-side-nav--condensed":"")+" "+(n[12]?"lui-nav-header-visible":"")+" svelte-4pigtp"),f(i,"data-testid","semiCollapsibleLeftNav"),f(e,"class",o="fd-app__sidebar fd-navigation "+(n[1]?"hideNavComponent":"")+" "+(n[2]||n[3]?"hasFooter":"")+" "+(n[2]&&!n[3]?"hasOnlyFooterText":"")+" svelte-4pigtp")},m(m,v){L(m,e,v),_&&_.m(e,null),w(e,t),w(e,i),w(i,l),p&&p.m(l,null),w(i,r),b&&b.m(i,null),c=!0,h||(d=ne(i,"keyup",n[18]),h=!0)},p(m,v){m[12]?_?_.p(m,v):(_=Oc(m),_.c(),_.m(e,t)):_&&(_.d(1),_=null),m[0]&&m[5].length>0&&(m[5][0].topNav===!1||m[5].length>1)?p?(p.p(m,v),v[0]&33&&R(p,1)):(p=Uc(m),p.c(),R(p,1),p.m(l,null)):p&&(ke(),B(p,1,1,()=>{p=null}),Se()),m[2]||m[3]?b?b.p(m,v):(b=ud(m),b.c(),b.m(i,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-4pigtp"))&&f(i,"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-4pigtp"))&&f(e,"class",o)},i(m){c||(R(p),c=!0)},o(m){B(p),c=!1},d(m){m&&I(e),_&&_.d(),p&&p.d(),b&&b.d(),h=!1,d()}}}function Ok(n){let e,t,i,l,r=n[12]&&cd(n),a=n[0]&&n[5].length>1&&hd(n);return{c(){e=S("div"),r&&r.c(),t=z(),a&&a.c(),f(e,"class",i="fd-navigation fd-navigation--vertical "+(n[1]?"hideNavComponent":"")+" "+(n[2]||n[3]?"hasFooter":"")+" "+(n[2]&&!n[3]?"hasOnlyFooterText":"")+" "+(n[6]?"fd-navigation--snapped":"")+" svelte-4pigtp"),f(e,"role","navigation"),Li(e,"width","var(--luigi__left-sidenav--width)"),Li(e,"height","100%")},m(o,c){L(o,e,c),r&&r.m(e,null),w(e,t),a&&a.m(e,null),l=!0},p(o,c){o[12]?r?r.p(o,c):(r=cd(o),r.c(),r.m(e,t)):r&&(r.d(1),r=null),o[0]&&o[5].length>1?a?(a.p(o,c),c[0]&33&&R(a,1)):(a=hd(o),a.c(),R(a,1),a.m(e,null)):a&&(ke(),B(a,1,1,()=>{a=null}),Se()),(!l||c[0]&78&&i!==(i="fd-navigation fd-navigation--vertical "+(o[1]?"hideNavComponent":"")+" "+(o[2]||o[3]?"hasFooter":"")+" "+(o[2]&&!o[3]?"hasOnlyFooterText":"")+" "+(o[6]?"fd-navigation--snapped":"")+" svelte-4pigtp"))&&f(e,"class",i)},i(o){l||(R(a),l=!0)},o(o){B(a),l=!1},d(o){o&&I(e),r&&r.d(),a&&a.d()}}}function Oc(n){let e,t,i,l,r,a,o=n[25](n[12].label)+"",c,h,d,_=n[12].icon&&Mc(n),p=n[12].showUpLink&&Fc(n);return{c(){e=S("div"),t=S("ul"),i=S("li"),l=S("a"),_&&_.c(),r=z(),a=S("span"),c=Te(o),h=z(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-4pigtp"),f(l,"class","fd-nested-list__link svelte-4pigtp"),f(l,"title",d=n[33](n[12],n[25](n[12].label))),f(i,"class","fd-nested-list__item svelte-4pigtp"),f(t,"class","fd-nested-list svelte-4pigtp"),f(e,"class","lui-nav-title svelte-4pigtp")},m(b,m){L(b,e,m),w(e,t),w(t,i),w(i,l),_&&_.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?_?_.p(b,m):(_=Mc(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=Fc(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&I(e),_&&_.d(),p&&p.d()}}}function Mc(n){let e,t;function i(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?Fk:Mk}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function Mk(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[12].icon)||f(t,"src",i),f(t,"alt",l=n[12].altText?n[12].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Ze(t.src,i=r[12].icon)&&f(t,"src",i),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Fk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function Fc(n){let e,t,i,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-4pigtp"),f(e,"role","presentation"),f(e,"title",t=n[25]("luigi.navigation.up"))},m(r,a){L(r,e,a),i||(l=ne(e,"click",Pt(n[19])),i=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&I(e),i=!1,l()}}}function Uc(n){let e,t,i,l,r=n[13],a=[];for(let c=0;c<r.length;c+=1)a[c]=od(Ic(n,r,c));const o=c=>B(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",i="fd-nested-list "+(n[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-4pigtp"),f(e,"class","lui-fd-side-nav-wrapper svelte-4pigtp")},m(c,h){L(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]&1922164672|h[1]&455){r=c[13];let d;for(d=0;d<r.length;d+=1){const _=Ic(c,r,d);a[d]?(a[d].p(_,h),R(a[d],1)):(a[d]=od(_),a[d].c(),R(a[d],1),a[d].m(t,null))}for(ke(),d=r.length;d<a.length;d+=1)o(d);Se()}(!l||h[0]&4194304&&i!==(i="fd-nested-list "+(c[22]?"fd-nested-list fd-nested-list--compact":"fd-nested-list")+" svelte-4pigtp"))&&f(t,"class",i)},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)B(a[h]);l=!1},d(c){c&&I(e),ft(a,c)}}}function Uk(n){let e,t,i,l;const r=[Wk,Hk],a=[];function o(c,h){return c[81].metaInfo.collapsible?0:1}return e=o(n),t=a[e]=r[e](n),{c(){t.c(),i=Ce()},m(c,h){a[e].m(c,h),L(c,i,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ke(),B(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(i.parentNode,i))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&I(i)}}}function Bk(n){let e,t,i=n[81],l=[];for(let a=0;a<i.length;a+=1)l[a]=sd(Ec(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){i=a[81];let c;for(c=0;c<i.length;c+=1){const h=Ec(a,i,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=sd(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&I(e)}}}function Hk(n){let e,t,i=n[25](n[80])+"",l,r,a,o,c,h,d=n[10]&&n[81].metaInfo.icon&&Bc(n),_=n[81],p=[];for(let m=0;m<_.length;m+=1)p[m]=Kc(Tc(n,_,m));const b=m=>B(p[m],1,1,()=>{p[m]=null});return{c(){e=S("li"),d&&d.c(),t=z(),l=Te(i),o=z();for(let m=0;m<p.length;m+=1)p[m].c();c=Ce(),f(e,"class","fd-nested-list__group-header lui-category svelte-4pigtp"),f(e,"title",r=n[33](n[81],n[25](n[80]))),f(e,"data-testid",a=n[32](n[81].metaInfo,n[80])),f(e,"id","category_list_level1_"+n[83])},m(m,v){L(m,e,v),d&&d.m(e,null),w(e,t),w(e,l),L(m,o,v);for(let C=0;C<p.length;C+=1)p[C].m(m,v);L(m,c,v),h=!0},p(m,v){if(m[10]&&m[81].metaInfo.icon?d?d.p(m,v):(d=Bc(m),d.c(),d.m(e,t)):d&&(d.d(1),d=null),(!h||v[0]&33562624)&&i!==(i=m[25](m[80])+"")&&Le(l,i),(!h||v[0]&33562624&&r!==(r=m[33](m[81],m[25](m[80]))))&&f(e,"title",r),(!h||v[0]&8192&&a!==(a=m[32](m[81].metaInfo,m[80])))&&f(e,"data-testid",a),v[0]&1887477952|v[1]&133){_=m[81];let C;for(C=0;C<_.length;C+=1){const y=Tc(m,_,C);p[C]?(p[C].p(y,v),R(p[C],1)):(p[C]=Kc(y),p[C].c(),R(p[C],1),p[C].m(c.parentNode,c))}for(ke(),C=_.length;C<p.length;C+=1)b(C);Se()}},i(m){if(!h){for(let v=0;v<_.length;v+=1)R(p[v]);h=!0}},o(m){p=p.filter(Boolean);for(let v=0;v<p.length;v+=1)B(p[v]);h=!1},d(m){m&&I(e),d&&d.d(),m&&I(o),ft(p,m),m&&I(c)}}}function Wk(n){let e,t,i,l,r,a,o=n[25](n[80])+"",c,h,d,_,p,b,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de;function te(W,se){return se[0]&8192&&(l=null),l==null&&(l=!!W[30](W[81].metaInfo.icon)),l?Qk:Yk}let G=te(n,[-1,-1,-1,-1]),Y=G(n);function X(){return n[58](n[81])}function _e(){return n[59](n[81])}function ie(...W){return n[60](n[81],...W)}let oe=n[81],ve=[];for(let W=0;W<oe.length;W+=1)ve[W]=Zc(Ac(n,oe,W));const re=W=>B(ve[W],1,1,()=>{ve[W]=null});let Ee=n[81].metaInfo&&n[81].metaInfo.label===n[8]&&Xc(n);function We(){return n[65](n[81])}return{c(){e=S("li"),t=S("div"),i=S("a"),Y.c(),r=z(),a=S("span"),c=Te(o),m=z(),v=S("button"),C=S("i"),V=z(),E=S("ul");for(let W=0;W<ve.length;W+=1)ve[W].c();F=z(),Ee&&Ee.c(),D=z(),f(a,"class","fd-nested-list__title svelte-4pigtp"),f(i,"title",h=n[33](n[81],n[25](n[80]))),f(i,"class",d="fd-nested-list__link "+(ai(n[81],n[9])?"is-expanded":"")+" svelte-4pigtp"),f(i,"tabindex",_=n[6]?"-1":"0"),f(i,"role",p=n[23]?void 0:"button"),f(i,"id","collapsible_listnode_"+n[83]),f(i,"aria-haspopup","true"),f(i,"aria-expanded",b=ai(n[81],n[9])),f(C,"class",y=ai(n[81],n[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-4pigtp"),f(v,"href","#"),f(v,"tabindex","0"),f(v,"aria-label","Expand categories"),f(v,"aria-haspopup","true"),f(v,"aria-expanded",P=ai(n[81],n[9])),f(v,"title",A=n[39](n[81],n[9])),f(t,"class","fd-nested-list__content has-child svelte-4pigtp"),f(t,"tabindex",T=n[6]?"0":"-1"),f(E,"class","fd-nested-list fd-nested-list--text-only level-2 svelte-4pigtp"),f(E,"aria-hidden",U=!ai(n[81],n[9])),f(e,"class","fd-nested-list__item lui-collapsible-item"),f(e,"data-testid",Z=n[32](n[81].metaInfo,n[80])),Ht(e,"lui-item-expanded",ai(n[81],n[9]))},m(W,se){L(W,e,se),w(e,t),w(t,i),Y.m(i,null),w(i,r),w(i,a),w(a,c),w(t,m),w(t,v),w(v,C),w(e,V),w(e,E);for(let Ie=0;Ie<ve.length;Ie+=1)ve[Ie].m(E,null);w(e,F),Ee&&Ee.m(e,null),w(e,D),j=!0,Q||(de=[ne(i,"click",Pt(X)),ne(v,"click",Pt(_e)),ne(t,"keypress",ie),ne(e,"click",Vt(We))],Q=!0)},p(W,se){if(n=W,G===(G=te(n,se))&&Y?Y.p(n,se):(Y.d(1),Y=G(n),Y&&(Y.c(),Y.m(i,r))),(!j||se[0]&33562624)&&o!==(o=n[25](n[80])+"")&&Le(c,o),(!j||se[0]&33562624&&h!==(h=n[33](n[81],n[25](n[80]))))&&f(i,"title",h),(!j||se[0]&8704&&d!==(d="fd-nested-list__link "+(ai(n[81],n[9])?"is-expanded":"")+" svelte-4pigtp"))&&f(i,"class",d),(!j||se[0]&64&&_!==(_=n[6]?"-1":"0"))&&f(i,"tabindex",_),(!j||se[0]&8388608&&p!==(p=n[23]?void 0:"button"))&&f(i,"role",p),(!j||se[0]&8704&&b!==(b=ai(n[81],n[9])))&&f(i,"aria-expanded",b),(!j||se[0]&8704&&y!==(y=ai(n[81],n[9])?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(C,"class",y),(!j||se[0]&8704&&P!==(P=ai(n[81],n[9])))&&f(v,"aria-expanded",P),(!j||se[0]&8704&&A!==(A=n[39](n[81],n[9])))&&f(v,"title",A),(!j||se[0]&64&&T!==(T=n[6]?"0":"-1"))&&f(t,"tabindex",T),se[0]&276865152|se[1]&133){oe=n[81];let Ie;for(Ie=0;Ie<oe.length;Ie+=1){const nt=Ac(n,oe,Ie);ve[Ie]?(ve[Ie].p(nt,se),R(ve[Ie],1)):(ve[Ie]=Zc(nt),ve[Ie].c(),R(ve[Ie],1),ve[Ie].m(E,null))}for(ke(),Ie=oe.length;Ie<ve.length;Ie+=1)re(Ie);Se()}(!j||se[0]&8704&&U!==(U=!ai(n[81],n[9])))&&f(E,"aria-hidden",U),n[81].metaInfo&&n[81].metaInfo.label===n[8]?Ee?(Ee.p(n,se),se[0]&8448&&R(Ee,1)):(Ee=Xc(n),Ee.c(),R(Ee,1),Ee.m(e,D)):Ee&&(ke(),B(Ee,1,1,()=>{Ee=null}),Se()),(!j||se[0]&8192&&Z!==(Z=n[32](n[81].metaInfo,n[80])))&&f(e,"data-testid",Z),(!j||se[0]&8704)&&Ht(e,"lui-item-expanded",ai(n[81],n[9]))},i(W){if(!j){for(let se=0;se<oe.length;se+=1)R(ve[se]);R(Ee),j=!0}},o(W){ve=ve.filter(Boolean);for(let se=0;se<ve.length;se+=1)B(ve[se]);B(Ee),j=!1},d(W){W&&I(e),Y.d(),ft(ve,W),Ee&&Ee.d(),Q=!1,Qe(de)}}}function Bc(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[81].metaInfo.icon)),e?qk:zk}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function zk(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[81].metaInfo.icon)||f(t,"src",i),f(t,"alt",l=n[81].metaInfo.altText?n[81].metaInfo.altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[81].metaInfo.icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[81].metaInfo.altText?r[81].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function qk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(n[81].metaInfo.icon?n[29](n[81].metaInfo.icon):"")+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+(i[81].metaInfo.icon?i[29](i[81].metaInfo.icon):"")+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function Hc(n){let e,t,i=n[84].label&&Wc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Wc(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Wc(n){let e,t,i,l,r=n[28](n[84])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A;function T(Q,de){return Q[84].icon?Kk:Gk}let V=T(n),E=V(n),U=n[84].statusBadge&&zc(n),F=n[84].externalLink&&n[84].externalLink.url&&qc(),D=n[84].badgeCounter&&Gc(n);function Z(...Q){return n[66](n[84],...Q)}function j(...Q){return n[67](n[84],...Q)}return{c(){e=S("li"),t=S("a"),E.c(),i=z(),l=S("span"),a=Te(r),o=z(),U&&U.c(),h=z(),F&&F.c(),d=z(),D&&D.c(),v=z(),f(l,"class",c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(t,"href",_=n[31](n[84])),f(t,"tabindex","0"),f(t,"class",p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(t,"role",b=n[23]?void 0:"button"),f(t,"data-testid",m=ue.getTestId(n[84])),f(e,"class","fd-nested-list__item"),f(e,"title",C=n[33](n[84],n[28](n[84]))),f(e,"aria-labelledby","category_list_level1_"+n[83])},m(Q,de){L(Q,e,de),w(e,t),E.m(t,null),w(t,i),w(t,l),w(l,a),w(l,o),U&&U.m(l,null),w(t,h),F&&F.m(t,null),w(t,d),D&&D.m(t,null),w(e,v),y=!0,P||(A=[ne(t,"click",Z),ne(t,"keyup",function(){pn(n[23]?void 0:j)&&(n[23]?void 0:j).apply(this,arguments)})],P=!0)},p(Q,de){n=Q,V===(V=T(n))&&E?E.p(n,de):(E.d(1),E=V(n),E&&(E.c(),E.m(t,i))),(!y||de[0]&8192)&&r!==(r=n[28](n[84])+"")&&Le(a,r),n[84].statusBadge?U?(U.p(n,de),de[0]&8192&&R(U,1)):(U=zc(n),U.c(),R(U,1),U.m(l,null)):U&&(ke(),B(U,1,1,()=>{U=null}),Se()),(!y||de[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(l,"class",c),n[84].externalLink&&n[84].externalLink.url?F||(F=qc(),F.c(),F.m(t,d)):F&&(F.d(1),F=null),n[84].badgeCounter?D?(D.p(n,de),de[0]&8192&&R(D,1)):(D=Gc(n),D.c(),R(D,1),D.m(t,null)):D&&(ke(),B(D,1,1,()=>{D=null}),Se()),(!y||de[0]&8192&&_!==(_=n[31](n[84])))&&f(t,"href",_),(!y||de[0]&8320&&p!==(p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(t,"class",p),(!y||de[0]&8388608&&b!==(b=n[23]?void 0:"button"))&&f(t,"role",b),(!y||de[0]&8192&&m!==(m=ue.getTestId(n[84])))&&f(t,"data-testid",m),(!y||de[0]&8192&&C!==(C=n[33](n[84],n[28](n[84]))))&&f(e,"title",C)},i(Q){y||(R(U),R(D),y=!0)},o(Q){B(U),B(D),y=!1},d(Q){Q&&I(e),E.d(),U&&U.d(),F&&F.d(),D&&D.d(),P=!1,Qe(A)}}}function Gk(n){let e,t,i,l,r=n[6]?"sap-icon--rhombus-milestone-2":"",a;return{c(){e=S("i"),i=z(),l=S("span"),a=Te(r),f(e,"class",t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":""))},m(o,c){L(o,e,c),L(o,i,c),L(o,l,c),w(l,a)},p(o,c){c[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(o[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t),c[0]&64&&r!==(r=o[6]?"sap-icon--rhombus-milestone-2":"")&&Le(a,r)},d(o){o&&I(e),o&&I(i),o&&I(l)}}}function Kk(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[84].icon)),e?Jk:jk}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function jk(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[84].icon)||f(t,"src",i),f(t,"alt",l=n[84].altText?n[84].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[84].icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[84].altText?r[84].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Jk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+n[29](n[84].icon)+" svelte-4pigtp")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+i[29](i[84].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function zc(n){let e,t;return e=new $i({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function qc(n){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,i){L(t,e,i)},d(t){t&&I(e)}}}function Gc(n){let e,t;return e=new wi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Kc(n){let e,t,i=!n[84].hideFromNav&&Hc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Hc(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Yk(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[81].metaInfo.icon)||f(t,"src",i),f(t,"alt",l=n[81].metaInfo.altText?n[81].metaInfo.altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[81].metaInfo.icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[81].metaInfo.altText?r[81].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function Qk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+n[29](n[81].metaInfo.icon)+" "+(n[6]&&!n[81].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&8256&&t!==(t="fd-nested-list__icon sap-icon "+i[29](i[81].metaInfo.icon)+" "+(i[6]&&!i[81].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function jc(n){let e,t,i=n[84].label&&Jc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Jc(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Jc(n){let e,t,i,l=n[28](n[84])+"",r,a,o,c,h,d,_,p,b,m,v,C,y,P,A;o=new $i({props:{node:n[84]}});let T=n[84].externalLink&&n[84].externalLink.url&&Yc(),V=n[84].badgeCounter&&Qc(n);function E(...F){return n[61](n[84],...F)}function U(...F){return n[62](n[84],...F)}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),h=z(),T&&T.c(),d=z(),V&&V.c(),C=z(),f(i,"class",c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(t,"href",_=n[31](n[84])),f(t,"class",p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(t,"role",b=n[23]?void 0:"button"),f(t,"tabindex","0"),f(t,"data-testid",m=ue.getTestId(n[84])),f(t,"title",v=n[33](n[84],n[28](n[84]))),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","collapsible_listnode_"+n[83])},m(F,D){L(F,e,D),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(t,h),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(A=[ne(t,"click",E),ne(t,"keyup",function(){pn(n[23]?void 0:U)&&(n[23]?void 0:U).apply(this,arguments)})],P=!0)},p(F,D){n=F,(!y||D[0]&8192)&&l!==(l=n[28](n[84])+"")&&Le(r,l);const Z={};D[0]&8192&&(Z.node=n[84]),o.$set(Z),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(i,"class",c),n[84].externalLink&&n[84].externalLink.url?T||(T=Yc(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),n[84].badgeCounter?V?(V.p(n,D),D[0]&8192&&R(V,1)):(V=Qc(n),V.c(),R(V,1),V.m(t,null)):V&&(ke(),B(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&_!==(_=n[31](n[84])))&&f(t,"href",_),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=n[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=ue.getTestId(n[84])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=n[33](n[84],n[28](n[84]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(V),y=!0)},o(F){B(o.$$.fragment,F),B(V),y=!1},d(F){F&&I(e),Oe(o),T&&T.d(),V&&V.d(),P=!1,Qe(A)}}}function Yc(n){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,i){L(t,e,i)},d(t){t&&I(e)}}}function Qc(n){let e,t;return e=new wi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Zc(n){let e,t,i=!n[84].hideFromNav&&jc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=jc(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Xc(n){let e,t,i,l=n[25](n[80])+"",r,a,o,c,h=n[81],d=[];for(let p=0;p<h.length;p+=1)d[p]=id(Lc(n,h,p));const _=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),i=S("h5"),r=Te(l),a=z(),o=S("ul");for(let p=0;p<d.length;p+=1)d[p].c();f(i,"class","lui-flyout-sublist__title fd-has-type-minus-1 fd-has-color-text-4 svelte-4pigtp"),f(o,"class","fd-nested-list fd-nested-list--text-only svelte-4pigtp"),f(t,"class","lui-flyout-sublist__wrapper svelte-4pigtp"),f(e,"class","lui-flyout-sublist svelte-4pigtp")},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(t,a),w(t,o);for(let m=0;m<d.length;m+=1)d[m].m(o,null);c=!0},p(p,b){if((!c||b[0]&33562624)&&l!==(l=p[25](p[80])+"")&&Le(r,l),b[0]&276865152|b[1]&133){h=p[81];let m;for(m=0;m<h.length;m+=1){const v=Lc(p,h,m);d[m]?(d[m].p(v,b),R(d[m],1)):(d[m]=id(v),d[m].c(),R(d[m],1),d[m].m(o,null))}for(ke(),m=h.length;m<d.length;m+=1)_(m);Se()}},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)B(d[b]);c=!1},d(p){p&&I(e),ft(d,p)}}}function $c(n){let e,t,i=n[84].label&&xc(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=xc(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function xc(n){let e,t,i,l=n[28](n[84])+"",r,a,o,c,h,d,_,p,b,m,v,C,y,P,A;o=new $i({props:{node:n[84]}});let T=n[84].externalLink&&n[84].externalLink.url&&ed(),V=n[84].badgeCounter&&td(n);function E(...F){return n[63](n[84],...F)}function U(...F){return n[64](n[84],...F)}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),h=z(),T&&T.c(),d=z(),V&&V.c(),C=z(),f(i,"class",c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(t,"href",_=n[31](n[84])),f(t,"class",p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(t,"tabindex","0"),f(t,"role",b=n[23]?void 0:"button"),f(t,"data-testid",m=ue.getTestId(n[84])),f(t,"title",v=n[33](n[84],n[28](n[84]))),f(e,"class","fd-nested-list__item")},m(F,D){L(F,e,D),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(t,h),T&&T.m(t,null),w(t,d),V&&V.m(t,null),w(e,C),y=!0,P||(A=[ne(t,"click",E),ne(t,"keyup",function(){pn(n[23]?void 0:U)&&(n[23]?void 0:U).apply(this,arguments)})],P=!0)},p(F,D){n=F,(!y||D[0]&8192)&&l!==(l=n[28](n[84])+"")&&Le(r,l);const Z={};D[0]&8192&&(Z.node=n[84]),o.$set(Z),(!y||D[0]&8192&&c!==(c="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(i,"class",c),n[84].externalLink&&n[84].externalLink.url?T||(T=ed(),T.c(),T.m(t,d)):T&&(T.d(1),T=null),n[84].badgeCounter?V?(V.p(n,D),D[0]&8192&&R(V,1)):(V=td(n),V.c(),R(V,1),V.m(t,null)):V&&(ke(),B(V,1,1,()=>{V=null}),Se()),(!y||D[0]&8192&&_!==(_=n[31](n[84])))&&f(t,"href",_),(!y||D[0]&8320&&p!==(p="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(t,"class",p),(!y||D[0]&8388608&&b!==(b=n[23]?void 0:"button"))&&f(t,"role",b),(!y||D[0]&8192&&m!==(m=ue.getTestId(n[84])))&&f(t,"data-testid",m),(!y||D[0]&8192&&v!==(v=n[33](n[84],n[28](n[84]))))&&f(t,"title",v)},i(F){y||(R(o.$$.fragment,F),R(V),y=!0)},o(F){B(o.$$.fragment,F),B(V),y=!1},d(F){F&&I(e),Oe(o),T&&T.d(),V&&V.d(),P=!1,Qe(A)}}}function ed(n){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,i){L(t,e,i)},d(t){t&&I(e)}}}function td(n){let e,t;return e=new wi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function id(n){let e,t,i=!n[84].hideFromNav&&$c(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=$c(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function nd(n){let e,t,i=n[84].label&&ld(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=ld(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function ld(n){let e,t,i,l,r=n[28](n[84])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A,T;function V(Q,de){return Q[84].icon?Xk:Zk}let E=V(n),U=E(n);c=new $i({props:{node:n[84]}});let F=n[84].externalLink&&n[84].externalLink.url&&rd(),D=n[84].badgeCounter&&ad(n);function Z(...Q){return n[56](n[84],...Q)}function j(...Q){return n[57](n[84],...Q)}return{c(){e=S("li"),t=S("a"),U.c(),i=z(),l=S("span"),a=Te(r),o=z(),Me(c.$$.fragment),d=z(),F&&F.c(),_=z(),D&&D.c(),y=z(),f(l,"class",h="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(t,"href",p=n[31](n[84])),f(t,"title",b=n[33](n[84],n[28](n[84]))),f(t,"class",m="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(t,"tabindex","0"),f(t,"role",v=n[23]?void 0:"button"),f(t,"data-testid",C=ue.getTestId(n[84])),f(e,"class","fd-nested-list__item")},m(Q,de){L(Q,e,de),w(e,t),U.m(t,null),w(t,i),w(t,l),w(l,a),w(l,o),Ve(c,l,null),w(t,d),F&&F.m(t,null),w(t,_),D&&D.m(t,null),w(e,y),P=!0,A||(T=[ne(t,"click",Z),ne(t,"keyup",function(){pn(n[23]?void 0:j)&&(n[23]?void 0:j).apply(this,arguments)})],A=!0)},p(Q,de){n=Q,E===(E=V(n))&&U?U.p(n,de):(U.d(1),U=E(n),U&&(U.c(),U.m(t,i))),(!P||de[0]&8192)&&r!==(r=n[28](n[84])+"")&&Le(a,r);const te={};de[0]&8192&&(te.node=n[84]),c.$set(te),(!P||de[0]&8192&&h!==(h="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(l,"class",h),n[84].externalLink&&n[84].externalLink.url?F||(F=rd(),F.c(),F.m(t,_)):F&&(F.d(1),F=null),n[84].badgeCounter?D?(D.p(n,de),de[0]&8192&&R(D,1)):(D=ad(n),D.c(),R(D,1),D.m(t,null)):D&&(ke(),B(D,1,1,()=>{D=null}),Se()),(!P||de[0]&8192&&p!==(p=n[31](n[84])))&&f(t,"href",p),(!P||de[0]&8192&&b!==(b=n[33](n[84],n[28](n[84]))))&&f(t,"title",b),(!P||de[0]&8320&&m!==(m="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(t,"class",m),(!P||de[0]&8388608&&v!==(v=n[23]?void 0:"button"))&&f(t,"role",v),(!P||de[0]&8192&&C!==(C=ue.getTestId(n[84])))&&f(t,"data-testid",C)},i(Q){P||(R(c.$$.fragment,Q),R(D),P=!0)},o(Q){B(c.$$.fragment,Q),B(D),P=!1},d(Q){Q&&I(e),U.d(),Oe(c),F&&F.d(),D&&D.d(),A=!1,Qe(T)}}}function Zk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+(n[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&64&&t!==(t="fd-nested-list__icon sap-icon "+(i[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(i){i&&I(e)}}}function Xk(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[84].icon)),e?xk:$k}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function $k(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[84].icon)||f(t,"src",i),f(t,"alt",l=n[84].altText?n[84].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[84].icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[84].altText?r[84].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function xk(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-nested-list__icon sap-icon "+n[29](n[84].icon)+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-nested-list__icon sap-icon "+i[29](i[84].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function rd(n){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,i){L(t,e,i)},d(t){t&&I(e)}}}function ad(n){let e,t;return e=new wi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function sd(n){let e,t,i=!n[84].hideFromNav&&nd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=nd(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function od(n){let e,t,i,l,r,a;const o=[Bk,Uk],c=[];function h(d,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(d[80]==="undefined"||d[80].startsWith(d[14]))),e?0:(t==null&&(t=d[81].filter(pS).length>0),t?1:-1)}return~(i=h(n,[-1,-1,-1,-1]))&&(l=c[i]=o[i](n)),{c(){l&&l.c(),r=Ce()},m(d,_){~i&&c[i].m(d,_),L(d,r,_),a=!0},p(d,_){let p=i;i=h(d,_),i===p?~i&&c[i].p(d,_):(l&&(ke(),B(c[p],1,1,()=>{c[p]=null}),Se()),~i?(l=c[i],l?l.p(d,_):(l=c[i]=o[i](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~i&&c[i].d(d),d&&I(r)}}}function ud(n){let e,t,i,l=(n[2]?n[2]:"")+"",r,a,o=n[3]&&fd(n);return{c(){e=S("div"),t=S("span"),i=S("span"),r=Te(l),a=z(),o&&o.c(),f(i,"class","lui-side-nav__footer--text fd-has-type-minus-1 svelte-4pigtp"),f(i,"data-testid","lui-side-nav__footer--text"),f(t,"class","lui-side-nav__footer svelte-4pigtp"),f(t,"data-testid","lui-side-nav__footer"),f(e,"class","fd-side-nav__utility svelte-4pigtp")},m(c,h){L(c,e,h),w(e,t),w(t,i),w(i,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=fd(c),o.c(),o.m(t,null)):o&&(o.d(1),o=null)},d(c){c&&I(e),o&&o.d()}}}function fd(n){let e;function t(r,a){return r[4]=="button"?tS:eS}let i=t(n),l=i(n);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){i===(i=t(r))&&l?l.p(r,a):(l.d(1),l=i(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function eS(n){let e,t,i,l;return{c(){e=S("i"),f(e,"class",t="lui-side-nav__footer--icon "+(n[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-4pigtp"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",n[11]),f(e,"tabindex","0")},m(r,a){L(r,e,a),i||(l=[ne(e,"click",n[69]),ne(e,"keydown",n[70])],i=!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-4pigtp")&&f(e,"class",t),a[0]&2048&&f(e,"title",r[11])},d(r){r&&I(e),i=!1,Qe(l)}}}function tS(n){let e,t,i,l,r;return{c(){e=S("button"),t=S("i"),f(t,"class",i="lui-side-nav__footer--icon "+(n[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-4pigtp"),f(e,"data-testid","semiCollapsibleButton"),f(e,"title",n[11]),f(e,"tabindex","0"),f(e,"class","fd-button fd-button--transparent fd-button--cozy lui-semi-btn svelte-4pigtp")},m(a,o){L(a,e,o),w(e,t),l||(r=ne(e,"click",n[68]),l=!0)},p(a,o){o[0]&64&&i!==(i="lui-side-nav__footer--icon "+(a[6]?"sap-icon--open-command-field":"sap-icon--close-command-field")+" svelte-4pigtp")&&f(t,"class",i),o[0]&2048&&f(e,"title",a[11])},d(a){a&&I(e),l=!1,r()}}}function cd(n){let e,t,i,l,r,a,o=n[25](n[12].label)+"",c,h,d,_=n[12].icon&&dd(n),p=n[12].showUpLink&&gd(n);return{c(){e=S("div"),t=S("ul"),i=S("li"),l=S("a"),_&&_.c(),r=z(),a=S("span"),c=Te(o),h=z(),p&&p.c(),f(a,"class","fd-nested-list__title svelte-4pigtp"),f(l,"class","fd-nested-list__link svelte-4pigtp"),f(l,"title",d=n[33](n[12],n[25](n[12].label))),f(i,"class","fd-nested-list__item"),f(t,"class","fd-nested-list svelte-4pigtp"),f(e,"class","lui-nav-title svelte-4pigtp")},m(b,m){L(b,e,m),w(e,t),w(t,i),w(i,l),_&&_.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?_?_.p(b,m):(_=dd(b),_.c(),_.m(l,r)):_&&(_.d(1),_=null),m[0]&33558528&&o!==(o=b[25](b[12].label)+"")&&Le(c,o),b[12].showUpLink?p?p.p(b,m):(p=gd(b),p.c(),p.m(l,null)):p&&(p.d(1),p=null),m[0]&33558528&&d!==(d=b[33](b[12],b[25](b[12].label)))&&f(l,"title",d)},d(b){b&&I(e),_&&_.d(),p&&p.d()}}}function dd(n){let e,t;function i(a,o){return o[0]&4096&&(e=null),e==null&&(e=!!a[30](a[12].icon)),e?nS:iS}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function iS(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[12].icon)||f(t,"src",i),f(t,"alt",l=n[12].altText?n[12].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-nested-list__icon sap-icon svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&4096&&!Ze(t.src,i=r[12].icon)&&f(t,"src",i),a[0]&4096&&l!==(l=r[12].altText?r[12].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function nS(n){let e,t;return{c(){e=S("i"),f(e,"class",t="lui-header-icon fd-nested-list__icon sap-icon "+n[29](n[12].icon)+" svelte-4pigtp"),f(e,"role","presentation")},m(i,l){L(i,e,l)},p(i,l){l[0]&4096&&t!==(t="lui-header-icon fd-nested-list__icon sap-icon "+i[29](i[12].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function gd(n){let e,t,i,l;return{c(){e=S("i"),f(e,"class","lui-nav-up fd-nested-list__icon sap-icon sap-icon--navigation-up-arrow svelte-4pigtp"),f(e,"role","presentation"),f(e,"title",t=n[25]("luigi.navigation.up"))},m(r,a){L(r,e,a),i||(l=ne(e,"click",Pt(n[19])),i=!0)},p(r,a){a[0]&33554432&&t!==(t=r[25]("luigi.navigation.up"))&&f(e,"title",t)},d(r){r&&I(e),i=!1,l()}}}function hd(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m=n[13],v=[];for(let y=0;y<m.length;y+=1)v[y]=Ad(Rc(n,m,y));const C=y=>B(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();i=z(),l=S("li"),r=z(),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=z(),d=S("div"),d.innerHTML='<div class="fd-navigation__list-wrapper"><ul class="lui-moreItems svelte-4pigtp"></ul></div>',f(l,"class","lui-spacer svelte-4pigtp"),f(l,"role","presentation"),f(l,"aria-hidden","true"),f(c,"class","fd-navigation__link svelte-4pigtp"),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-4pigtp"),f(d,"aria-hidden","false"),f(a,"class","fd-navigation__list-item fd-navigation__list-item--overflow svelte-4pigtp"),f(a,"aria-hidden","true"),f(t,"class","fd-navigation__list"),f(t,"role","tree"),f(t,"tabindex","-1"),f(e,"class","fd-navigation__container fd-navigation__container--top")},m(y,P){L(y,e,P),w(e,t);for(let A=0;A<v.length;A+=1)v[A].m(t,null);w(t,i),w(t,l),w(t,r),w(t,a),w(a,o),w(o,c),w(a,h),w(a,d),n[55](e),_=!0,p||(b=ne(c,"click",n[54]),p=!0)},p(y,P){if(P[0]&1922164672|P[1]&135){m=y[13];let A;for(A=0;A<m.length;A+=1){const T=Rc(y,m,A);v[A]?(v[A].p(T,P),R(v[A],1)):(v[A]=Ad(T),v[A].c(),R(v[A],1),v[A].m(t,i))}for(ke(),A=m.length;A<v.length;A+=1)C(A);Se()}},i(y){if(!_){for(let P=0;P<m.length;P+=1)R(v[P]);_=!0}},o(y){v=v.filter(Boolean);for(let P=0;P<v.length;P+=1)B(v[P]);_=!1},d(y){y&&I(e),ft(v,y),n[55](null),p=!1,b()}}}function lS(n){let e,t,i,l,r,a,o=n[25](n[80])+"",c,h,d,_,p,b,m,v,C,y,P,A,T,V,E;function U(de,te){return te[0]&8192&&(l=null),l==null&&(l=!!de[30](de[81].metaInfo.icon)),l?sS:aS}let F=U(n,[-1,-1,-1,-1]),D=F(n);function Z(){return n[48](n[81])}function j(...de){return n[49](n[81],...de)}let Q=(!n[6]||n[81].metaInfo&&n[81].metaInfo.label===n[8])&&_d(n);return{c(){e=S("li"),t=S("div"),i=S("a"),D.c(),r=z(),a=S("span"),c=Te(o),h=z(),d=S("span"),_=z(),p=S("span"),y=z(),Q&&Q.c(),f(a,"class","fd-navigation__text"),f(d,"class","fd-navigation__selection-indicator"),f(d,"role","presentation"),f(d,"aria-hidden","true"),f(d,"aria-label","selection indicator"),f(p,"class","fd-navigation__has-children-indicator"),f(p,"role","presentation"),f(p,"aria-hidden","true"),f(p,"aria-label","has children indicator, expanded"),f(i,"class","fd-navigation__link svelte-4pigtp"),f(i,"role","button"),f(i,"tabindex","-1"),f(t,"class",b="fd-navigation__item "+(n[6]?"fd-popover__control":"")),f(t,"role","treeitem"),f(t,"title",m=n[33](n[81],n[25](n[80]))),f(t,"aria-expanded",v=n[6]?n[81].metaInfo&&n[81].metaInfo.label===n[8]:ai(n[81],n[9])),f(t,"aria-selected",C=n[6]&&n[81].indexOf(n[7])>=0),f(e,"class",P="fd-navigation__list-item "+(n[6]?"fd-popover":"")+" lui-nav-entry svelte-4pigtp"),f(e,"aria-hidden","true"),f(e,"data-testid",A=n[32](n[81].metaInfo,n[80]))},m(de,te){L(de,e,te),w(e,t),w(t,i),D.m(i,null),w(i,r),w(i,a),w(a,c),w(i,h),w(i,d),w(i,_),w(i,p),w(e,y),Q&&Q.m(e,null),T=!0,V||(E=[ne(i,"click",Pt(Z)),ne(t,"click",Vt(j))],V=!0)},p(de,te){n=de,F===(F=U(n,te))&&D?D.p(n,te):(D.d(1),D=F(n),D&&(D.c(),D.m(i,r))),(!T||te[0]&33562624)&&o!==(o=n[25](n[80])+"")&&Le(c,o),(!T||te[0]&64&&b!==(b="fd-navigation__item "+(n[6]?"fd-popover__control":"")))&&f(t,"class",b),(!T||te[0]&33562624&&m!==(m=n[33](n[81],n[25](n[80]))))&&f(t,"title",m),(!T||te[0]&9024&&v!==(v=n[6]?n[81].metaInfo&&n[81].metaInfo.label===n[8]:ai(n[81],n[9])))&&f(t,"aria-expanded",v),(!T||te[0]&8384&&C!==(C=n[6]&&n[81].indexOf(n[7])>=0))&&f(t,"aria-selected",C),!n[6]||n[81].metaInfo&&n[81].metaInfo.label===n[8]?Q?(Q.p(n,te),te[0]&8512&&R(Q,1)):(Q=_d(n),Q.c(),R(Q,1),Q.m(e,null)):Q&&(ke(),B(Q,1,1,()=>{Q=null}),Se()),(!T||te[0]&64&&P!==(P="fd-navigation__list-item "+(n[6]?"fd-popover":"")+" lui-nav-entry svelte-4pigtp"))&&f(e,"class",P),(!T||te[0]&8192&&A!==(A=n[32](n[81].metaInfo,n[80])))&&f(e,"data-testid",A)},i(de){T||(R(Q),T=!0)},o(de){B(Q),T=!1},d(de){de&&I(e),D.d(),Q&&Q.d(),V=!1,Qe(E)}}}function rS(n){let e,t,i=n[81],l=[];for(let a=0;a<i.length;a+=1)l[a]=Ld(Vc(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1887477952|o[1]&133){i=a[81];let c;for(c=0;c<i.length;c+=1){const h=Vc(a,i,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ld(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&I(e)}}}function aS(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[81].metaInfo.icon)||f(t,"src",i),f(t,"alt",l=n[81].metaInfo.altText?n[81].metaInfo.altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-navigation__icon svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[81].metaInfo.icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[81].metaInfo.altText?r[81].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function sS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+n[29](n[81].metaInfo.icon)+" "+(n[6]&&!n[81].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(i,l){L(i,e,l)},p(i,l){l[0]&8256&&t!==(t="fd-navigation__icon "+i[29](i[81].metaInfo.icon)+" "+(i[6]&&!i[81].metaInfo.icon?"sap-icon--rhombus-milestone-2":"")+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function _d(n){let e,t,i,l,r,a,o,c=n[6]&&pd(n),h=n[81],d=[];for(let p=0;p<h.length;p+=1)d[p]=yd(Dc(n,h,p));const _=p=>B(d[p],1,1,()=>{d[p]=null});return{c(){e=S("div"),t=S("div"),c&&c.c(),i=z(),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 "+(n[6]?"fd-popover__wrapper":"")),f(t,"aria-hidden","true"),f(e,"class",a="fd-navigation__list-container "+(n[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-4pigtp")},m(p,b){L(p,e,b),w(e,t),c&&c.m(t,null),w(t,i),w(t,l);for(let m=0;m<d.length;m+=1)d[m].m(l,null);o=!0},p(p,b){if(p[6]?c?c.p(p,b):(c=pd(p),c.c(),c.m(t,i)):c&&(c.d(1),c=null),b[0]&276865152|b[1]&133){h=p[81];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]=yd(v),d[m].c(),R(d[m],1),d[m].m(l,null))}for(ke(),m=h.length;m<d.length;m+=1)_(m);Se()}(!o||b[0]&64&&r!==(r="fd-navigation__list-wrapper "+(p[6]?"fd-popover__wrapper":"")))&&f(t,"class",r),(!o||b[0]&64&&a!==(a="fd-navigation__list-container "+(p[6]?"fd-popover__body fd-popover__body--after fd-popover__body--arrow-left":"")+" svelte-4pigtp"))&&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)B(d[b]);o=!1},d(p){p&&I(e),c&&c.d(),ft(d,p)}}}function pd(n){let e,t,i,l,r=n[25](n[80])+"",a,o,c,h,d,_=n[10]&&n[81].metaInfo.icon&&md(n);return{c(){e=S("div"),t=S("a"),_&&_.c(),i=z(),l=S("span"),a=Te(r),o=z(),c=S("span"),f(l,"class","fd-navigation__text"),f(c,"class","fd-navigation__selection-indicator"),f(t,"class","fd-navigation__link svelte-4pigtp"),f(t,"role","button"),f(t,"tabindex","0"),f(e,"class","fd-navigation__item fd-navigation__item--title svelte-4pigtp"),f(e,"aria-level","1"),f(e,"role","treeitem"),f(e,"aria-expanded","true"),f(e,"aria-selected","false"),f(e,"title",h=n[33](n[81],n[25](n[80]))),f(e,"data-testid",d=n[32](n[81].metaInfo,n[80]))},m(p,b){L(p,e,b),w(e,t),_&&_.m(t,null),w(t,i),w(t,l),w(l,a),w(t,o),w(t,c)},p(p,b){p[10]&&p[81].metaInfo.icon?_?_.p(p,b):(_=md(p),_.c(),_.m(t,i)):_&&(_.d(1),_=null),b[0]&33562624&&r!==(r=p[25](p[80])+"")&&Le(a,r),b[0]&33562624&&h!==(h=p[33](p[81],p[25](p[80])))&&f(e,"title",h),b[0]&8192&&d!==(d=p[32](p[81].metaInfo,p[80]))&&f(e,"data-testid",d)},d(p){p&&I(e),_&&_.d()}}}function md(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[81].metaInfo.icon)),e?uS:oS}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function oS(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[81].metaInfo.icon)||f(t,"src",i),f(t,"alt",l=n[81].metaInfo.altText?n[81].metaInfo.altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-navigation__icon svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[81].metaInfo.icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[81].metaInfo.altText?r[81].metaInfo.altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function uS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon "+n[29](n[81].metaInfo.icon)+" svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-navigation__icon "+i[29](i[81].metaInfo.icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function bd(n){let e,t,i=n[84].label&&vd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=vd(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function vd(n){let e,t,i,l,r=n[28](n[84])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A,T,V,E=n[28](n[84])+"",U,F,D,Z,j,Q,de,te,G,Y,X,_e,ie,oe;c=new $i({props:{node:n[84]}});let ve=n[84].externalLink&&n[84].externalLink.url&&wd(),re=n[84].badgeCounter&&kd(n);function Ee(...Fe){return n[50](n[84],...Fe)}function We(...Fe){return n[51](n[84],...Fe)}D=new $i({props:{node:n[84]}});let W=n[84].externalLink&&n[84].externalLink.url&&Sd(),se=n[84].badgeCounter&&Cd(n);function Ie(...Fe){return n[52](n[84],...Fe)}function nt(...Fe){return n[53](n[84],...Fe)}return{c(){e=S("li"),t=S("div"),i=S("a"),l=S("span"),a=Te(r),o=z(),Me(c.$$.fragment),d=z(),_=S("span"),p=z(),ve&&ve.c(),b=z(),re&&re.c(),P=z(),A=S("li"),T=S("a"),V=S("span"),U=Te(E),F=z(),Me(D.$$.fragment),j=z(),W&&W.c(),Q=z(),se&&se.c(),f(l,"class",h="fd-navigation__text badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(_,"class","fd-navigation__selection-indicator"),f(_,"role","presentation"),f(_,"aria-hidden","true"),f(_,"aria-label","selection indicator"),f(i,"class","fd-navigation__link svelte-4pigtp"),f(i,"tabindex","-1"),f(i,"href",m=n[31](n[84])),f(t,"class","fd-navigation__item fd-navigation__item--child"),f(t,"aria-level","3"),f(t,"role","treeitem"),f(t,"title",v=n[33](n[84],n[28](n[84]))),f(t,"aria-expanded","false"),f(t,"aria-selected",C=n[84]===n[7]),f(t,"data-testid",y=ue.getTestId(n[84])),f(e,"class","fd-navigation__list-item"),f(e,"aria-hidden","true"),f(V,"class",Z="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(T,"href",de=n[31](n[84])),f(T,"class",te="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"),f(T,"role",G=n[23]?void 0:"button"),f(T,"tabindex","0"),f(T,"data-testid",Y=ue.getTestId(n[84])),f(T,"title",X=n[33](n[84],n[28](n[84]))),Li(A,"display","none"),f(A,"class","fd-nested-list__item"),f(A,"aria-labelledby","collapsible_listnode_"+n[83])},m(Fe,pe){L(Fe,e,pe),w(e,t),w(t,i),w(i,l),w(l,a),w(l,o),Ve(c,l,null),w(i,d),w(i,_),w(i,p),ve&&ve.m(i,null),w(i,b),re&&re.m(i,null),L(Fe,P,pe),L(Fe,A,pe),w(A,T),w(T,V),w(V,U),w(V,F),Ve(D,V,null),w(T,j),W&&W.m(T,null),w(T,Q),se&&se.m(T,null),_e=!0,ie||(oe=[ne(i,"click",Ee),ne(i,"keyup",function(){pn(n[23]?void 0:We)&&(n[23]?void 0:We).apply(this,arguments)}),ne(T,"click",Ie),ne(T,"keyup",function(){pn(n[23]?void 0:nt)&&(n[23]?void 0:nt).apply(this,arguments)})],ie=!0)},p(Fe,pe){n=Fe,(!_e||pe[0]&8192)&&r!==(r=n[28](n[84])+"")&&Le(a,r);const Ge={};pe[0]&8192&&(Ge.node=n[84]),c.$set(Ge),(!_e||pe[0]&8192&&h!==(h="fd-navigation__text badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(l,"class",h),n[84].externalLink&&n[84].externalLink.url?ve||(ve=wd(),ve.c(),ve.m(i,b)):ve&&(ve.d(1),ve=null),n[84].badgeCounter?re?(re.p(n,pe),pe[0]&8192&&R(re,1)):(re=kd(n),re.c(),R(re,1),re.m(i,null)):re&&(ke(),B(re,1,1,()=>{re=null}),Se()),(!_e||pe[0]&8192&&m!==(m=n[31](n[84])))&&f(i,"href",m),(!_e||pe[0]&8192&&v!==(v=n[33](n[84],n[28](n[84]))))&&f(t,"title",v),(!_e||pe[0]&8320&&C!==(C=n[84]===n[7]))&&f(t,"aria-selected",C),(!_e||pe[0]&8192&&y!==(y=ue.getTestId(n[84])))&&f(t,"data-testid",y),(!_e||pe[0]&8192)&&E!==(E=n[28](n[84])+"")&&Le(U,E);const rt={};pe[0]&8192&&(rt.node=n[84]),D.$set(rt),(!_e||pe[0]&8192&&Z!==(Z="fd-nested-list__title badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(V,"class",Z),n[84].externalLink&&n[84].externalLink.url?W||(W=Sd(),W.c(),W.m(T,Q)):W&&(W.d(1),W=null),n[84].badgeCounter?se?(se.p(n,pe),pe[0]&8192&&R(se,1)):(se=Cd(n),se.c(),R(se,1),se.m(T,null)):se&&(ke(),B(se,1,1,()=>{se=null}),Se()),(!_e||pe[0]&8192&&de!==(de=n[31](n[84])))&&f(T,"href",de),(!_e||pe[0]&8320&&te!==(te="fd-nested-list__link "+(n[84]===n[7]?"is-selected":"")+" svelte-4pigtp"))&&f(T,"class",te),(!_e||pe[0]&8388608&&G!==(G=n[23]?void 0:"button"))&&f(T,"role",G),(!_e||pe[0]&8192&&Y!==(Y=ue.getTestId(n[84])))&&f(T,"data-testid",Y),(!_e||pe[0]&8192&&X!==(X=n[33](n[84],n[28](n[84]))))&&f(T,"title",X)},i(Fe){_e||(R(c.$$.fragment,Fe),R(re),R(D.$$.fragment,Fe),R(se),_e=!0)},o(Fe){B(c.$$.fragment,Fe),B(re),B(D.$$.fragment,Fe),B(se),_e=!1},d(Fe){Fe&&I(e),Oe(c),ve&&ve.d(),re&&re.d(),Fe&&I(P),Fe&&I(A),Oe(D),W&&W.d(),se&&se.d(),ie=!1,Qe(oe)}}}function wd(n){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,i){L(t,e,i)},d(t){t&&I(e)}}}function kd(n){let e,t;return e=new wi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Sd(n){let e;return{c(){e=S("i"),f(e,"class","sap-icon--action")},m(t,i){L(t,e,i)},d(t){t&&I(e)}}}function Cd(n){let e,t;return e=new wi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function yd(n){let e,t,i=!n[84].hideFromNav&&bd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=bd(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Pd(n){let e,t,i=n[84].label&&Nd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].label?i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Nd(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Nd(n){let e,t,i,l,r,a=n[28](n[84])+"",o,c,h,d,_,p,b,m,v,C,y,P,A,T,V,E,U;function F(G,Y){return G[84].icon?cS:fS}let D=F(n),Z=D(n);h=new $i({props:{node:n[84]}});let j=n[84].externalLink&&n[84].externalLink.url&&Id(),Q=n[84].badgeCounter&&Td(n);function de(...G){return n[46](n[84],...G)}function te(...G){return n[47](n[84],...G)}return{c(){e=S("li"),t=S("div"),i=S("a"),Z.c(),l=z(),r=S("span"),o=Te(a),c=z(),Me(h.$$.fragment),_=z(),j&&j.c(),p=z(),Q&&Q.c(),b=z(),m=S("span"),f(r,"class",d="fd-navigation__text lui-hideOnHover-show badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"),f(m,"class","fd-navigation__selection-indicator"),f(m,"role","presentation"),f(m,"aria-hidden","true"),f(m,"aria-label","selection indicator"),f(i,"class",v="fd-navigation__link "+(n[84]===n[7]?"is-selected":"")+" lui-hideOnHover svelte-4pigtp"),f(i,"tabindex","-1"),f(i,"href",C=n[31](n[84])),f(i,"title",y=n[33](n[84],n[28](n[84]))),f(i,"role",P=n[23]?void 0:"button"),f(i,"data-testid",A=ue.getTestId(n[84])),f(t,"class","fd-navigation__item"),f(t,"aria-level","2"),f(t,"role","treeitem"),f(t,"aria-selected",T=n[84]===n[7]),f(t,"aria-expanded","false"),f(e,"class","fd-navigation__list-item lui-nav-entry"),f(e,"aria-hidden","true")},m(G,Y){L(G,e,Y),w(e,t),w(t,i),Z.m(i,null),w(i,l),w(i,r),w(r,o),w(r,c),Ve(h,r,null),w(i,_),j&&j.m(i,null),w(i,p),Q&&Q.m(i,null),w(i,b),w(i,m),V=!0,E||(U=[ne(i,"click",de),ne(i,"keyup",function(){pn(n[23]?void 0:te)&&(n[23]?void 0:te).apply(this,arguments)})],E=!0)},p(G,Y){n=G,D===(D=F(n))&&Z?Z.p(n,Y):(Z.d(1),Z=D(n),Z&&(Z.c(),Z.m(i,l))),(!V||Y[0]&8192)&&a!==(a=n[28](n[84])+"")&&Le(o,a);const X={};Y[0]&8192&&(X.node=n[84]),h.$set(X),(!V||Y[0]&8192&&d!==(d="fd-navigation__text lui-hideOnHover-show badge-align-"+(n[84].statusBadge&&n[84].statusBadge.align==="right"?"right":"left")+" svelte-4pigtp"))&&f(r,"class",d),n[84].externalLink&&n[84].externalLink.url?j||(j=Id(),j.c(),j.m(i,p)):j&&(j.d(1),j=null),n[84].badgeCounter?Q?(Q.p(n,Y),Y[0]&8192&&R(Q,1)):(Q=Td(n),Q.c(),R(Q,1),Q.m(i,b)):Q&&(ke(),B(Q,1,1,()=>{Q=null}),Se()),(!V||Y[0]&8320&&v!==(v="fd-navigation__link "+(n[84]===n[7]?"is-selected":"")+" lui-hideOnHover svelte-4pigtp"))&&f(i,"class",v),(!V||Y[0]&8192&&C!==(C=n[31](n[84])))&&f(i,"href",C),(!V||Y[0]&8192&&y!==(y=n[33](n[84],n[28](n[84]))))&&f(i,"title",y),(!V||Y[0]&8388608&&P!==(P=n[23]?void 0:"button"))&&f(i,"role",P),(!V||Y[0]&8192&&A!==(A=ue.getTestId(n[84])))&&f(i,"data-testid",A),(!V||Y[0]&8320&&T!==(T=n[84]===n[7]))&&f(t,"aria-selected",T)},i(G){V||(R(h.$$.fragment,G),R(Q),V=!0)},o(G){B(h.$$.fragment,G),B(Q),V=!1},d(G){G&&I(e),Z.d(),Oe(h),j&&j.d(),Q&&Q.d(),E=!1,Qe(U)}}}function fS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+(n[6]?"sap-icon--rhombus-milestone-2":"")),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(i,l){L(i,e,l)},p(i,l){l[0]&64&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+(i[6]?"sap-icon--rhombus-milestone-2":""))&&f(e,"class",t)},d(i){i&&I(e)}}}function cS(n){let e,t;function i(a,o){return o[0]&8192&&(e=null),e==null&&(e=!!a[30](a[84].icon)),e?gS:dS}let l=i(n,[-1,-1,-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function dS(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[84].icon)||f(t,"src",i),f(t,"alt",l=n[84].altText?n[84].altText:""),f(t,"class","svelte-4pigtp"),f(e,"class","fd-navigation__icon lui-hideOnHover-show svelte-4pigtp")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[84].icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[84].altText?r[84].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function gS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-navigation__icon lui-hideOnHover-show "+n[29](n[84].icon)+" svelte-4pigtp"),f(e,"role","presentation"),f(e,"aria-hidden","true")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-navigation__icon lui-hideOnHover-show "+i[29](i[84].icon)+" svelte-4pigtp")&&f(e,"class",t)},d(i){i&&I(e)}}}function Id(n){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,i){L(t,e,i)},d(t){t&&I(e)}}}function Td(n){let e,t;return e=new wi({props:{node:n[84]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&8192&&(r.node=i[84]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Ld(n){let e,t,i=!n[84].hideFromNav&&Pd(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[84].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&8192&&R(i,1)):(i=Pd(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Ad(n){let e,t,i,l,r,a;const o=[rS,lS],c=[];function h(d,_){return _[0]&24576&&(e=null),_[0]&8192&&(t=null),e==null&&(e=!!(d[80]==="undefined"||d[80].startsWith(d[14]))),e?0:(t==null&&(t=d[81].filter(_S).length>0),t?1:-1)}return~(i=h(n,[-1,-1,-1,-1]))&&(l=c[i]=o[i](n)),{c(){l&&l.c(),r=Ce()},m(d,_){~i&&c[i].m(d,_),L(d,r,_),a=!0},p(d,_){let p=i;i=h(d,_),i===p?~i&&c[i].p(d,_):(l&&(ke(),B(c[p],1,1,()=>{c[p]=null}),Se()),~i?(l=c[i],l?l.p(d,_):(l=c[i]=o[i](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~i&&c[i].d(d),d&&I(r)}}}function hS(n){let e,t,i,l,r,a;const o=[Ok,Vk],c=[];function h(d,_){return d[27]?0:1}return e=h(n),t=c[e]=o[e](n),{c(){t.c(),i=Ce()},m(d,_){c[e].m(d,_),L(d,i,_),l=!0,r||(a=[ne(xa,"resize",n[17]),ne(xa,"click",n[21]),ne(xa,"blur",n[21]),ne(xa,"keydown",n[34])],r=!0)},p(d,_){t.p(d,_)},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&I(i),r=!1,Qe(a)}}}function ai(n,e){return e&&e.indexOf(n.metaInfo.categoryUid)>=0}function Do(n){const e=n.closest(".lui-nav-entry");e.style.setProperty("--lui_popover_offset","0px"),setTimeout(()=>{const i=e.querySelector(".fd-popover__body").getBoundingClientRect();i.top+i.height>window.innerHeight&&e.style.setProperty("--lui_popover_offset",i.top+i.height-window.innerHeight+"px")})}const _S=n=>!n.hideFromNav&&n.label,pS=n=>!n.hideFromNav&&n.label;function mS(n,e,t){let i;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:A,navParentNode:U}),set:async $=>{$&&(Object.getOwnPropertyNames($).forEach(async Pe=>{if(Pe==="pathData")t(5,p=$.pathData);else if(Pe==="context")F=$.context;else if(Pe==="children")t(0,a=$.children);else if(Pe==="selectedNode")t(7,C=$.selectedNode);else if(Pe==="hasCategoriesWithIcon")t(10,A=$.hasCategoriesWithIcon);else if(Pe==="navParent"){t(12,E=void 0);let et=$.navParent;if(t(42,U=et),et&&et.navHeader&&le.requestExperimentalFeature("navHeader",!0)){let dt=et.navHeader,St=et;if(dt==="inherit"){for(St=et.parent;St&&St.navHeader==="inherit";)St=St.parent;dt=St?St.navHeader:void 0}if(dt instanceof Function){t(12,E={});let $t=dt(ue.stripNode(et),ue.stripNode(St),F);$t instanceof Promise?$t.then(Di=>{t(12,E=Di)}):t(12,E=$t)}else if(dt==="auto")t(12,E={label:et.label,icon:et.icon});else if(dt&&dt.useTitleResolver&&St.titleResolver){St.titleResolver.prerenderFallback?t(12,E={...dt,label:St.titleResolver.fallbackTitle||"",icon:St.titleResolver.fallbackIcon}):t(12,E=dt);const $t=we.mapPathToNode(it.getCurrentPath(),St);Rt.extractDataFromPath($t).then(Di=>{const Si=we.substituteDynamicParamsInObject(Object.assign({},Di.pathData.context,St.context),Di.pathData.pathParams);ue.fetchNodeTitleData(St,Si).then(Vi=>{t(12,E={...dt,...Vi})}).catch(Vi=>{console.error("Error while retrieving title, fallback to node label"),t(12,E={...dt,label:et.label,icon:et.icon})})})}else t(12,E=await Ee(dt,St))}}}),t(41,T=ue.getSideNavAccordionMode(C)))}},r=Wt();let{children:a}=e,{hideNavComponent:o}=e,{footerText:c}=e,{semiCollapsible:h}=e,{semiCollapsibleButton:d}=e,{semiCollapsibleButtonStyle:_}=e,{pathData:p}=e,{pathParams:b}=e,{virtualGroupPrefix:m=ue.virtualGroupPrefix}=e,{isSemiCollapsed:v}=e,{selectedNode:C}=e,{selectedCategory:y=null}=e,{expandedCategories:P}=e,{hasCategoriesWithIcon:A}=e,{sideNavAccordionMode:T}=e,{burgerTooltip:V}=e,{navHeader:E}=e,{navParentNode:U}=e,F,D,Z,j=pt("store"),Q=pt("getTranslation");bn(n,Q,$=>t(25,i=$));let de=!1,te=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1),G;const Y=$=>ue.getNodeLabel($),X=async()=>{const $=l.get(),Pe=await Rt.getLeftNavData({...$},$);Pe&&(l.set(Pe),D=p,window.LEFTNAVDATA=Pe.children)};Qt(()=>{t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible"),t(4,_=ae.getConfigValue("settings.semiCollapsibleButtonStyle")),t(23,de=ae.getConfigValue("navigation.addNavHrefs")),t(1,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(22,Z=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ue.loadExpandedCategories()),ui.doOnStoreChange(j,()=>{t(2,c=ae.getConfigValue("settings.sideNavFooterText"))},["settings.footer"]),ui.doOnStoreChange(j,()=>{X()},["navigation.viewgroupdata"]);let $=gn.initial();t(6,v=$.isSemiCollapsed),t(40,h=$.semiCollapsible),gn.onValueChanged(Pe=>{t(6,v=Pe.isSemiCollapsed)}),Ai.addEventListener("message",Pe=>{Pe.data.msg==="luigi.navigation.update-badge-counters"&&X()})}),resetNavEntries=()=>{if(G){const $=G.querySelectorAll(".lui-moreItems > .lui-nav-entry"),Pe=G.querySelector(".fd-navigation__list"),et=G.querySelector(".fd-navigation__list > .lui-spacer");$==null||$.forEach(dt=>{Pe.insertBefore(dt,et)}),G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="none"}},calculateNavEntries=()=>{const $=G.querySelector(".fd-navigation__list > .lui-spacer"),Pe=G.querySelector(".lui-moreItems"),et=G.querySelectorAll(".fd-navigation__list > .lui-nav-entry");if($.clientHeight===0&&et.length>1){G.querySelector(".fd-navigation__list > .fd-navigation__list-item--overflow").style.display="flex";for(let dt=et.length-1;dt>0&&(lastNode=et[dt-1],Pe.insertBefore(et[dt],Pe.firstChild),!($.clientHeight>0));dt--);}},jr(()=>{if(!window.Luigi.__btpNavTopCntRszObs){let $;window.Luigi.__btpNavTopCntRszObs=new ResizeObserver((Pe,et)=>{$&&clearTimeout($),v&&($=setTimeout(()=>{resetNavEntries(),calculateNavEntries()},100))})}window.Luigi.__btpNavTopCntRszObs.disconnect(),G&&v?window.Luigi.__btpNavTopCntRszObs.observe(G):resetNavEntries()}),zi(()=>{(!D||D!=p)&&X(),t(22,Z=ae.getConfigBooleanValue("settings.sideNavCompactMode")),t(9,P=ue.loadExpandedCategories()),t(3,d=ae.getConfigValue("settings.responsiveNavigation")==="semiCollapsible")});let{sortedChildrenEntries:_e}=e;function ie($){return ue.renderIconClassName($)}function oe($){return ue.isOpenUIiconName($)}function ve($){return we.getNodeHref($,b)}function re($,Pe){return $&&$.testId?$.testId:ue.prepareForTests(Pe||$.label)}async function Ee($,Pe){const et=we.mapPathToNode(it.getCurrentPath(),Pe),St=(await Rt.extractDataFromPath(et)).pathData.pathParams;return we.substituteDynamicParamsInObject($,St)}function We($,Pe){return ue.generateTooltipText($,Pe)}function W($){r("handleClick",{node:$})}function se($,Pe){if(rt(),gn.getCollapsed()){let et,dt=document.getElementsByClassName("fd-app__sidebar")[0];if($.metaInfo&&$.metaInfo.label?et=$.metaInfo.label:et=$.category&&$.category.label||$.category,dt&&!dt.classList.contains("isBlocked")&&(dt.className+=" isBlocked"),et===y){t(8,y=gn.closePopupMenu(y));return}t(8,y=et),dt?Ie(Pe):te&&Do(Pe)}}function Ie($){const Pe=$.closest(".fd-nested-list__item"),et=Pe.offsetTop,dt=Un.getShellbar().offsetHeight;let St;Un.isCustomLuigiContainer()?St=Un.getCustomLuigiContainer().clientHeight:St=window.innerHeight,setTimeout(()=>{const $t=Pe.getElementsByClassName("lui-flyout-sublist")[0],Di=$.closest(".lui-fd-side-nav-wrapper").scrollTop,Si=et+dt-Di,Vi=St-et-Pe.offsetHeight+Di-dt;Si+$t.offsetHeight>=St?($t.style.bottom=Vi+"px",$t.className+=" has-bottom-position"):$t.style.top=Si-dt+"px"})}function nt(){if(h){let $=gn.onResize(y);t(6,v=$.isSemiCollapsed),t(8,y=$.selectedCategory)}}function Fe($){if($.code==="ArrowRight"){const et=Ae.getCurrentMicrofrontendIframe();et&&et.contentWindow&&et.contentWindow.focus()}}function pe($){let Pe=U?U.parent:void 0;for(;Pe;){if(Pe.pathSegment&&Pe.pathSegment.trim().indexOf(":")!==0){r("handleClick",{node:Pe});return}Pe=Pe.parent}console.warn('Could not resolve "up"-node, redirecting to root'),Y_.navigate("/")}function Ge($,Pe){gn.getCollapsed()||t(9,P=ue.storeExpandedState($.metaInfo.categoryUid,Pe,T))}function rt(){G&&G.querySelector(".fd-navigation__item.lui-nav-more").setAttribute("aria-expanded",!1)}function Gt(){t(8,y=gn.closePopupMenu(y)),rt()}function vt($){$&&$.code==="Escape"&&Gt()}function Dt(){t(6,v=gn.buttonClicked()),document.getElementsByClassName("fd-tabs").length>0&&r("resizeTabNav",{}),gl()}function Ei($){const Pe=$.code;(Pe==="Enter"||Pe==="Space")&&Dt()}function Kt($,Pe){($.code==="Enter"||$==="Space")&&se(Pe,$.currentTarget)}function jt($,Pe){$.keyCode===mn&&ue.handleNavAnchorClickedWithoutMetaKey($)&&W(Pe)}function gl(){if(!ue.getBurgerTooltipConfig())return;const[$,Pe]=ue.getBurgerTooltipConfig(),et=document.body.classList.contains("lui-semiCollapsible");$&&Pe&&et&&t(11,V=document.body.classList.contains("semiCollapsed")?$:Pe)}function It($,Pe){return ai($,Pe)?$.metaInfo.titleCollapseButton?i($.metaInfo.titleCollapseButton):void 0:$.metaInfo.titleExpandButton?i($.metaInfo.titleExpandButton):void 0}const Zt=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},Ri=($,Pe)=>jt(Pe,$),xi=$=>Ge($,!ai($,P)),Hn=($,Pe)=>se($,Pe.currentTarget),ni=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},pi=($,Pe)=>jt(Pe,$),qi=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},zt=($,Pe)=>jt(Pe,$),ki=$=>{const Pe=$.target.parentElement;Pe.getAttribute("aria-expanded")==="true"?Pe.setAttribute("aria-expanded","false"):(Gt(),Pe.setAttribute("aria-expanded","true")),$.stopPropagation()};function vn($){Xe[$?"unshift":"push"](()=>{G=$,t(24,G)})}const wn=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},fi=($,Pe)=>jt(Pe,$),kn=$=>Ge($,!ai($,P)),Sn=$=>Ge($,!ai($,P)),Cn=($,Pe)=>Kt(Pe,$),yn=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},Pn=($,Pe)=>jt(Pe,$),hl=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},_l=($,Pe)=>jt(Pe,$),pl=$=>se($,event.currentTarget),Nn=($,Pe)=>{ue.handleNavAnchorClickedWithoutMetaKey(Pe)&&W($)},Wn=($,Pe)=>jt(Pe,$),zn=$=>Dt(),on=$=>Dt(),ml=$=>Ei($);return n.$$set=$=>{"children"in $&&t(0,a=$.children),"hideNavComponent"in $&&t(1,o=$.hideNavComponent),"footerText"in $&&t(2,c=$.footerText),"semiCollapsible"in $&&t(40,h=$.semiCollapsible),"semiCollapsibleButton"in $&&t(3,d=$.semiCollapsibleButton),"semiCollapsibleButtonStyle"in $&&t(4,_=$.semiCollapsibleButtonStyle),"pathData"in $&&t(5,p=$.pathData),"pathParams"in $&&t(43,b=$.pathParams),"virtualGroupPrefix"in $&&t(14,m=$.virtualGroupPrefix),"isSemiCollapsed"in $&&t(6,v=$.isSemiCollapsed),"selectedNode"in $&&t(7,C=$.selectedNode),"selectedCategory"in $&&t(8,y=$.selectedCategory),"expandedCategories"in $&&t(9,P=$.expandedCategories),"hasCategoriesWithIcon"in $&&t(10,A=$.hasCategoriesWithIcon),"sideNavAccordionMode"in $&&t(41,T=$.sideNavAccordionMode),"burgerTooltip"in $&&t(11,V=$.burgerTooltip),"navHeader"in $&&t(12,E=$.navHeader),"navParentNode"in $&&t(42,U=$.navParentNode),"sortedChildrenEntries"in $&&t(13,_e=$.sortedChildrenEntries)},n.$$.update=()=>{if(n.$$.dirty[0]&1&&a){const $=Object.entries(a);$.sort((Pe,et)=>Pe[1].metaInfo.order-et[1].metaInfo.order),t(13,_e=$)}},[a,o,c,d,_,p,v,C,y,P,A,V,E,_e,m,W,se,nt,Fe,pe,Ge,Gt,Z,de,G,i,Q,te,Y,ie,oe,ve,re,We,vt,Dt,Ei,Kt,jt,It,h,T,U,b,Ie,Do,Zt,Ri,xi,Hn,ni,pi,qi,zt,ki,vn,wn,fi,kn,Sn,Cn,yn,Pn,hl,_l,pl,Nn,Wn,zn,on,ml]}class x_ extends Et{constructor(e){super(),At(this,e,mS,hS,Nt,{children:0,hideNavComponent:1,footerText:2,semiCollapsible:40,semiCollapsibleButton:3,semiCollapsibleButtonStyle:4,pathData:5,pathParams:43,virtualGroupPrefix:14,isSemiCollapsed:6,selectedNode:7,selectedCategory:8,expandedCategories:9,hasCategoriesWithIcon:10,sideNavAccordionMode:41,burgerTooltip:11,navHeader:12,navParentNode:42,sortedChildrenEntries:13,handleClick:15,handleIconClick:16,calculateFlyoutPosition:44,calculateBTPNavFlyoutPosition:45,onResize:17,handleKey:18,handleUp:19,setExpandedState:20,closePopupMenu:21},null,[-1,-1,-1,-1])}get handleClick(){return this.$$.ctx[15]}get handleIconClick(){return this.$$.ctx[16]}get calculateFlyoutPosition(){return this.$$.ctx[44]}get calculateBTPNavFlyoutPosition(){return Do}get onResize(){return this.$$.ctx[17]}get handleKey(){return this.$$.ctx[18]}get handleUp(){return this.$$.ctx[19]}get setExpandedState(){return this.$$.ctx[20]}get closePopupMenu(){return this.$$.ctx[21]}}const bS=n=>{ui.doOnStoreChange(n.store,()=>{const e=ae.getConfigValue("navigation.appSwitcher");return e&&(n.set({appSwitcherItems:e.items}),n.set({showMainAppEntry:e.showMainAppEntry}),n.set({itemRenderer:e.itemRenderer})),n.set({hasApps:n.get().showMainAppEntry||n.get().appSwitcherItems&&n.get().appSwitcherItems.length>0}),ae.getConfigValueAsync("settings.header").then(t=>{if(t&&(n.set({defaultTitle:t.title||""}),n.set({defaultSubTitle:t.subTitle||""})),ep(n),!t)return;const i=!!t.logo;if(n.set({hasLogo:i}),setTimeout(()=>{i&&n.get().logo&&(n.get().logo.src=t.logo,t.altText&&(n.get().logo.alt=t.altText))}),t.favicon){!t.favicon.split("?")[0].endsWith(".ico")&&!t.favicon.startsWith("data:image")&&console.warn("Favicon is not an .ico filetype and might get displayed wrong.");const r=Object.assign(document.createElement("link"),{type:"image/x-icon",rel:"shortcut icon",href:t.favicon}),a=document.getElementsByTagName("head")[0];for(const o of a.childNodes)o.rel==="shortcut icon"&&o.remove();a.appendChild(r)}})},["settings.header"])},vS=(n,e,t)=>!!(n===e||e.startsWith(":")&&t&&t[e.substr(1)]===n),ep=n=>{const e=n.get().appSwitcherItems,t=n.get().pathData,i=n.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,_)=>{h&&(_+1>=t.length||!t[_+1].pathSegment||!vS(d,t[_+1].pathSegment,i))&&(h=!1)}),h&&(l=c),h}),n.set({selectedItem:l});const r=l&&l.title?l.title:n.get().defaultTitle,a=Yr.getDocumentTitle()||r;n.set({title:r}),document.title=bt.getTranslation(a);const o=l?l.subTitle||"":n.get().defaultSubTitle;n.set({subTitle:o})};function Ed(n,e,t){const i=n.slice();return i[43]=e[t],i[45]=t,i}function Rd(n,e,t){const i=n.slice();return i[43]=e[t],i}function wS(n){let e,t,i,l,r=n[1]&&Dd(n);return{c(){e=S("span"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(n[1]?"":"fd-shellbar__logo--image-replaced")+" "+(n[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",n[2]),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),i||(l=ne(e,"click",n[29]),i=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Dd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&I(e),r&&r.d(),i=!1,l()}}}function kS(n){let e,t,i,l,r=n[1]&&Vd(n);return{c(){e=S("a"),r&&r.c(),f(e,"class",t="fd-shellbar__logo "+(n[1]?"":"fd-shellbar__logo--image-replaced")+" "+(n[1]?"lui-customlogo":"")+" svelte-bbvnsa"),f(e,"aria-label",n[2]),f(e,"href","/"),f(e,"role","button"),f(e,"tabindex","0")},m(a,o){L(a,e,o),r&&r.m(e,null),i||(l=ne(e,"click",n[27]),i=!0)},p(a,o){a[1]?r?r.p(a,o):(r=Vd(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o[0]&2&&t!==(t="fd-shellbar__logo "+(a[1]?"":"fd-shellbar__logo--image-replaced")+" "+(a[1]?"lui-customlogo":"")+" svelte-bbvnsa")&&f(e,"class",t),o[0]&4&&f(e,"aria-label",a[2])},d(a){a&&I(e),r&&r.d(),i=!1,l()}}}function Dd(n){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",n[2]),f(e,"class","svelte-bbvnsa")},m(t,i){L(t,e,i),n[28](e)},p(t,i){i[0]&4&&f(e,"alt",t[2])},d(t){t&&I(e),n[28](null)}}}function Vd(n){let e;return{c(){e=S("img"),f(e,"data-testid","luigi-topnav-logo"),f(e,"alt",n[2]),f(e,"class","svelte-bbvnsa")},m(t,i){L(t,e,i),n[26](e)},p(t,i){i[0]&4&&f(e,"alt",t[2])},d(t){t&&I(e),n[26](null)}}}function Od(n){let e,t;function i(o,c){return o[3]?SS:CS}let l=i(n),r=l(n),a=n[10]&&Kd(n);return{c(){r.c(),e=z(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=i(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[10]?a?a.p(o,c):(a=Kd(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(o){r.d(o),o&&I(e),a&&a.d(o),o&&I(t)}}}function SS(n){let e,t,i,l,r,a,o,c,h,d;function _(C,y){return C[12]?PS:yS}let p=_(n),b=p(n),m=n[4]&&n[5]&&Wd(n),v=n[7]&&n[7].length>0&&zd(n);return{c(){e=S("div"),t=S("div"),b.c(),i=z(),l=S("div"),r=S("nav"),a=S("ul"),m&&m.c(),o=z(),v&&v.c(),f(t,"class","fd-popover__control"),f(a,"class","fd-menu__list fd-menu__list--no-shadow"),f(r,"class","fd-menu"),f(l,"class","fd-popover__body fd-popover__body--left"),f(l,"aria-hidden",c=!n[11].appSwitcherPopover),f(l,"id","appSwitcherPopover"),f(e,"class","fd-popover")},m(C,y){L(C,e,y),w(e,t),b.m(t,null),w(e,i),w(e,l),w(l,r),w(r,a),m&&m.m(a,null),w(a,o),v&&v.m(a,null),n[36](a),h||(d=ne(t,"click",Vt(ES)),h=!0)},p(C,y){p===(p=_(C))&&b?b.p(C,y):(b.d(1),b=p(C),b&&(b.c(),b.m(t,null))),C[4]&&C[5]?m?m.p(C,y):(m=Wd(C),m.c(),m.m(a,o)):m&&(m.d(1),m=null),C[7]&&C[7].length>0?v?v.p(C,y):(v=zd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null),y[0]&2048&&c!==(c=!C[11].appSwitcherPopover)&&f(l,"aria-hidden",c)},d(C){C&&I(e),b.d(),m&&m.d(),v&&v.d(),n[36](null),h=!1,d()}}}function CS(n){let e;function t(r,a){return r[12]?LS:TS}let i=t(n),l=i(n);return{c(){l.c(),e=Ce()},m(r,a){l.m(r,a),L(r,e,a)},p(r,a){i===(i=t(r))&&l?l.p(r,a):(l.d(1),l=i(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){l.d(r),r&&I(e)}}}function yS(n){let e,t,i=n[17](n[2])+"",l,r,a,o,c,h;return{c(){e=S("button"),t=S("span"),l=Te(i),r=z(),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=n[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ne(e,"click",Vt(n[34])),c=!0)},p(d,_){_[0]&131076&&i!==(i=d[17](d[2])+"")&&Le(l,i),_[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,h()}}}function PS(n){let e,t,i,l=n[7]&&n[7].length===1&&Md(n),r=n[7]&&n[7].length>1&&Fd(n),a=n[7].length>1&&!n[5]&&Hd(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=z(),a&&a.c(),i=Ce()},m(o,c){l&&l.m(o,c),L(o,e,c),r&&r.m(o,c),L(o,t,c),a&&a.m(o,c),L(o,i,c)},p(o,c){o[7]&&o[7].length===1?l?l.p(o,c):(l=Md(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[7]&&o[7].length>1?r?r.p(o,c):(r=Fd(o),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),o[7].length>1&&!o[5]?a?a.p(o,c):(a=Hd(o),a.c(),a.m(i.parentNode,i)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&I(e),r&&r.d(o),o&&I(t),a&&a.d(o),o&&I(i)}}}function Md(n){let e,t,i=n[17](n[7][0].title)+"",l,r;return{c(){e=S("a"),t=S("span"),l=Te(i),f(e,"href",r=n[22](n[7][0])),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa")},m(a,o){L(a,e,o),w(e,t),w(t,l)},p(a,o){o[0]&131200&&i!==(i=a[17](a[7][0].title)+"")&&Le(l,i),o[0]&128&&r!==(r=a[22](a[7][0]))&&f(e,"href",r)},d(a){a&&I(e)}}}function Fd(n){let e,t=n[7],i=[];for(let l=0;l<t.length;l+=1)i[l]=Bd(Rd(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=Ce()},m(l,r){for(let a=0;a<i.length;a+=1)i[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&6458020){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Rd(l,t,a);i[a]?i[a].p(o,r):(i[a]=Bd(o),i[a].c(),i[a].m(e.parentNode,e))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){ft(i,l),l&&I(e)}}}function Ud(n){let e,t,i=n[17](n[2])+"",l,r,a,o,c,h,d,_;return{c(){e=S("a"),t=S("span"),l=Te(i),r=z(),a=S("i"),o=z(),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=n[22](n[43])),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-app-switch"),f(e,"aria-haspopup","true"),f(e,"aria-expanded",h=n[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(p,b){L(p,e,b),w(e,t),w(t,l),w(e,r),w(e,a),w(e,o),d||(_=ne(e,"click",Pt(n[32])),d=!0)},p(p,b){b[0]&131076&&i!==(i=p[17](p[2])+"")&&Le(l,i),b[0]&128&&c!==(c=p[22](p[43]))&&f(e,"href",c),b[0]&2048&&h!==(h=p[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",h)},d(p){p&&I(e),d=!1,_()}}}function Bd(n){let e=n[43]===n[5]&&n[21](n[43],n[9]),t,i=e&&Ud(n);return{c(){i&&i.c(),t=Ce()},m(l,r){i&&i.m(l,r),L(l,t,r)},p(l,r){r[0]&672&&(e=l[43]===l[5]&&l[21](l[43],l[9])),e?i?i.p(l,r):(i=Ud(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(l){i&&i.d(l),l&&I(t)}}}function Hd(n){let e,t,i=n[17](n[2])+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Te(i),r=z(),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=n[11].appSwitcherPopover||!1),f(e,"data-testid","app-switcher")},m(d,_){L(d,e,_),w(e,t),w(t,l),w(e,r),w(e,a),c||(h=ne(e,"click",Pt(n[33])),c=!0)},p(d,_){_[0]&131076&&i!==(i=d[17](d[2])+"")&&Le(l,i),_[0]&2048&&o!==(o=d[11].appSwitcherPopover||!1)&&f(e,"aria-expanded",o)},d(d){d&&I(e),c=!1,h()}}}function Wd(n){let e,t,i,l=n[17](n[6])+"",r,a,o,c;return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),f(i,"class","fd-menu__title"),f(t,"href","/"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"data-testid",a=n[20](n[6])),f(e,"class","fd-menu__item")},m(h,d){L(h,e,d),w(e,t),w(t,i),w(i,r),o||(c=ne(t,"click",Pt(n[14])),o=!0)},p(h,d){d[0]&131136&&l!==(l=h[17](h[6])+"")&&Le(r,l),d[0]&64&&a!==(a=h[20](h[6]))&&f(t,"data-testid",a)},d(h){h&&I(e),o=!1,c()}}}function zd(n){let e,t=n[7],i=[];for(let l=0;l<t.length;l+=1)i[l]=Gd(Ed(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=Ce()},m(l,r){for(let a=0;a<i.length;a+=1)i[a].m(l,r);L(l,e,r)},p(l,r){if(r[0]&8074144){t=l[7];let a;for(a=0;a<t.length;a+=1){const o=Ed(l,t,a);i[a]?i[a].p(o,r):(i[a]=Gd(o),i[a].c(),i[a].m(e.parentNode,e))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){ft(i,l),l&&I(e)}}}function NS(n){let e,t,i,l=n[17](n[43].title)+"",r,a,o,c,h,d;function _(...p){return n[35](n[43],...p)}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),c=z(),f(i,"class","fd-menu__title"),f(t,"role","button"),f(t,"class","fd-menu__link"),f(t,"href",a=n[12]?n[22](n[43],n[9]):void 0),f(t,"data-testid",o=n[20](n[43])),f(e,"class","fd-menu__item")},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(e,c),h||(d=ne(t,"click",_),h=!0)},p(p,b){n=p,b[0]&131200&&l!==(l=n[17](n[43].title)+"")&&Le(r,l),b[0]&4736&&a!==(a=n[12]?n[22](n[43],n[9]):void 0)&&f(t,"href",a),b[0]&128&&o!==(o=n[20](n[43]))&&f(t,"data-testid",o)},d(p){p&&I(e),h=!1,d()}}}function IS(n){let e,t=n[16]&&qd(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[16]?t?t.p(i,l):(t=qd(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&I(e)}}}function qd(n){let e,t,i=n[19](n[43],n[16],n[45])+"",l;return{c(){e=S("li"),t=new gr(!1),l=z(),t.a=l,f(e,"class","fd-menu__item"),f(e,"tabindex","0")},m(r,a){L(r,e,a),t.m(i,e),w(e,l)},p(r,a){a[0]&65664&&i!==(i=r[19](r[43],r[16],r[45])+"")&&t.p(i)},d(r){r&&I(e)}}}function Gd(n){let e,t,i;function l(o,c){if(c[0]&256&&(e=null),c[0]&672&&(t=null),e==null&&(e=!!le.isFunction(o[8])),e)return IS;if(t==null&&(t=!!(o[43]!==o[5]&&o[21](o[43],o[9]))),t)return NS}let r=l(n,[-1,-1]),a=r&&r(n);return{c(){a&&a.c(),i=Ce()},m(o,c){a&&a.m(o,c),L(o,i,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(i.parentNode,i)))},d(o){a&&a.d(o),o&&I(i)}}}function TS(n){let e,t,i=n[17](n[2])+"",l,r,a;return{c(){e=S("span"),t=S("span"),l=Te(i),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ne(e,"click",n[31]),r=!0)},p(o,c){c[0]&131076&&i!==(i=o[17](o[2])+"")&&Le(l,i)},d(o){o&&I(e),r=!1,a()}}}function LS(n){let e,t,i=n[17](n[2])+"",l,r,a;return{c(){e=S("a"),t=S("span"),l=Te(i),f(e,"class","fd-shellbar__title lui-shellbar-single-app-title svelte-bbvnsa"),f(e,"data-testid","luigi-topnav-title"),f(e,"href","/")},m(o,c){L(o,e,c),w(e,t),w(t,l),r||(a=ne(e,"click",n[30]),r=!0)},p(o,c){c[0]&131076&&i!==(i=o[17](o[2])+"")&&Le(l,i)},d(o){o&&I(e),r=!1,a()}}}function Kd(n){let e,t=n[17](n[10])+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-shellbar__subtitle svelte-bbvnsa")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r[0]&132096&&t!==(t=l[17](l[10])+"")&&Le(i,t)},d(l){l&&I(e)}}}function AS(n){let e,t;function i(o,c){return o[12]?kS:wS}let l=i(n),r=l(n),a=n[2]&&Od(n);return{c(){r.c(),e=z(),a&&a.c(),t=Ce()},m(o,c){r.m(o,c),L(o,e,c),a&&a.m(o,c),L(o,t,c)},p(o,c){l===(l=i(o))&&r?r.p(o,c):(r.d(1),r=l(o),r&&(r.c(),r.m(e.parentNode,e))),o[2]?a?a.p(o,c):(a=Od(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:He,o:He,d(o){r.d(o),o&&I(e),a&&a.d(o),o&&I(t)}}}const ES=()=>{};function RS(n,e,t){let i;const l=Wt();let{logo:r}=e,{hasLogo:a}=e,{title:o}=e,{hasApps:c}=e,{dropDownStates:h={}}=e,{showMainAppEntry:d}=e,{selectedItem:_}=e,{defaultTitle:p}=e,{appSwitcherItems:b}=e,{itemRenderer:m}=e,{pathParams:v}=e,{subTitle:C}=e,{defaultSubTitle:y}=e,{pathData:P}=e,{addNavHrefForAnchor:A}=e,T,V,E=pt("getUnsavedChangesModalPromise"),U=pt("getTranslation");bn(n,U,pe=>t(17,i=pe));let F=pt("store");const D={closeDropDown:()=>{G("appSwitcherPopover")}},Z=()=>({get:()=>({pathData:P,pathParams:v,appSwitcherItems:b,itemRenderer:m,selectedItem:_,defaultTitle:p,title:o,subTitle:C,defaultSubTitle:y,showMainAppEntry:d,hasApps:c,hasLogo:a,logo:r}),set:pe=>{pe&&Object.getOwnPropertyNames(pe).forEach(Ge=>{Ge==="pathData"?t(24,P=pe.pathData):Ge==="appSwitcherItems"?t(7,b=pe.appSwitcherItems):Ge==="itemRenderer"?t(8,m=pe.itemRenderer):Ge==="pathParams"?t(9,v=pe.pathParams):Ge==="selectedItem"?t(5,_=pe.selectedItem):Ge==="title"?t(2,o=pe.title):Ge==="defaultSubTitle"?t(23,y=pe.defaultSubTitle):Ge==="subTitle"?t(10,C=pe.subTitle):Ge==="defaultTitle"?t(6,p=pe.defaultTitle):Ge==="subTitle"?t(10,C=pe.subTitle):Ge==="showMainAppEntry"?t(4,d=pe.showMainAppEntry):Ge==="hasApps"?t(3,c=pe.hasApps):Ge==="hasLogo"&&t(1,a=pe.hasLogo)})},store:F});Qt(()=>{bS(Z())}),zi(()=>{(!V||V!=P)&&(ep(Z()),V=P)});function j(pe,Ge,rt){return setTimeout(()=>{Ge&&m(pe,Ge.children[rt],D)}),""}function Q(pe){E().then(()=>{it.navigateTo(we.applyPathParams(pe,v))},()=>{})}function de(){E().then(()=>{it.navigateTo("/")},()=>{})}function te(pe){l("handleClick",{node:pe}),G("appSwitcherPopover")}function G(pe){l("toggleDropdownState",{name:pe})}function Y(pe){return pe.testId?pe.testId:ue.prepareForTests(pe.title||pe)}function X(pe,Ge){if(pe.link){const rt=we.applyPathParams(pe.link,Ge);if(rt.indexOf(":")!==0&&rt.indexOf("/:")===-1)return!0}return!1}function _e(pe){return we.getNodeHref(pe)}function ie(pe){Xe[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const oe=pe=>{ue.handleNavAnchorClickedWithoutMetaKey(pe)&&Q("/")};function ve(pe){Xe[pe?"unshift":"push"](()=>{r=pe,t(0,r)})}const re=()=>Q("/"),Ee=pe=>{ue.handleNavAnchorClickedWithoutMetaKey(pe)&&Q("/")},We=()=>Q("/"),W=()=>G("appSwitcherPopover"),se=()=>G("appSwitcherPopover"),Ie=()=>G("appSwitcherPopover"),nt=(pe,Ge)=>{ue.handleNavAnchorClickedWithoutMetaKey(Ge)&&Q(pe.link)};function Fe(pe){Xe[pe?"unshift":"push"](()=>{T=pe,t(16,T)})}return n.$$set=pe=>{"logo"in pe&&t(0,r=pe.logo),"hasLogo"in pe&&t(1,a=pe.hasLogo),"title"in pe&&t(2,o=pe.title),"hasApps"in pe&&t(3,c=pe.hasApps),"dropDownStates"in pe&&t(11,h=pe.dropDownStates),"showMainAppEntry"in pe&&t(4,d=pe.showMainAppEntry),"selectedItem"in pe&&t(5,_=pe.selectedItem),"defaultTitle"in pe&&t(6,p=pe.defaultTitle),"appSwitcherItems"in pe&&t(7,b=pe.appSwitcherItems),"itemRenderer"in pe&&t(8,m=pe.itemRenderer),"pathParams"in pe&&t(9,v=pe.pathParams),"subTitle"in pe&&t(10,C=pe.subTitle),"defaultSubTitle"in pe&&t(23,y=pe.defaultSubTitle),"pathData"in pe&&t(24,P=pe.pathData),"addNavHrefForAnchor"in pe&&t(12,A=pe.addNavHrefForAnchor)},[r,a,o,c,d,_,p,b,m,v,C,h,A,Q,de,G,T,i,U,j,Y,X,_e,y,P,te,ie,oe,ve,re,Ee,We,W,se,Ie,nt,Fe]}class DS extends Et{constructor(e){super(),At(this,e,RS,AS,Nt,{logo:0,hasLogo:1,title:2,hasApps:3,dropDownStates:11,showMainAppEntry:4,selectedItem:5,defaultTitle:6,appSwitcherItems:7,itemRenderer:8,pathParams:9,subTitle:10,defaultSubTitle:23,pathData:24,addNavHrefForAnchor:12,goTo:13,goToRoot:14,handleClick:25,toggleDropdownState:15},null,[-1,-1])}get goTo(){return this.$$.ctx[13]}get goToRoot(){return this.$$.ctx[14]}get handleClick(){return this.$$.ctx[25]}get toggleDropdownState(){return this.$$.ctx[15]}}function jd(n,e,t){const i=n.slice();return i[34]=e[t],i}function Jd(n){let e,t,i,l,r,a,o=n[0]&&Yd(n),c=(n[10]||n[11])&&tg(n);return{c(){e=S("div"),o&&o.c(),t=z(),i=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(i,"class","fd-popover__body-footer")},m(h,d){L(h,e,d),o&&o.m(e,null),L(h,t,d),L(h,i,d),w(i,l),w(l,r),w(r,a),c&&c.m(a,null)},p(h,d){h[0]?o?o.p(h,d):(o=Yd(h),o.c(),o.m(e,null)):o&&(o.d(1),o=null),h[10]||h[11]?c?c.p(h,d):(c=tg(h),c.c(),c.m(a,null)):c&&(c.d(1),c=null)},d(h){h&&I(e),o&&o.d(),h&&I(t),h&&I(i),c&&c.d()}}}function Yd(n){let e,t,i,l,r,a,o;function c(C,y){return C[7].picture?OS:VS}let h=c(n),d=h(n),_=n[7].name&&Qd(n),p=n[7].description&&Zd(n),b=n[9].items,m=[];for(let C=0;C<b.length;C+=1)m[C]=$d(jd(n,b,C));let v=n[12]&&xd(n);return{c(){e=S("div"),d.c(),t=z(),i=S("div"),_&&_.c(),l=z(),p&&p.c(),r=z(),a=S("ul");for(let C=0;C<m.length;C+=1)m[C].c();o=z(),v&&v.c(),f(e,"class","fd-user-menu__header"),f(i,"class","fd-user-menu__subheader"),f(a,"class","fd-list fd-list--compact fd-list--navigation fd-list--navigation-indication fd-list--no-border")},m(C,y){L(C,e,y),d.m(e,null),L(C,t,y),L(C,i,y),_&&_.m(i,null),w(i,l),p&&p.m(i,null),L(C,r,y),L(C,a,y);for(let P=0;P<m.length;P+=1)m[P].m(a,null);w(a,o),v&&v.m(a,null)},p(C,y){if(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?_?_.p(C,y):(_=Qd(C),_.c(),_.m(i,l)):_&&(_.d(1),_=null),C[7].description?p?p.p(C,y):(p=Zd(C),p.c(),p.m(i,null)):p&&(p.d(1),p=null),y[0]&991884){b=C[9].items;let P;for(P=0;P<b.length;P+=1){const A=jd(C,b,P);m[P]?m[P].p(A,y):(m[P]=$d(A),m[P].c(),m[P].m(a,o))}for(;P<m.length;P+=1)m[P].d(1);m.length=b.length}C[12]?v?v.p(C,y):(v=xd(C),v.c(),v.m(a,null)):v&&(v.d(1),v=null)},d(C){C&&I(e),d.d(),C&&I(t),C&&I(i),_&&_.d(),p&&p.d(),C&&I(r),C&&I(a),ft(m,C),v&&v.d()}}}function VS(n){let e,t=(n[7].initials?n[7].initials:"")+"",i;return{c(){e=S("span"),i=Te(t),f(e,"class","fd-avatar fd-avatar--xl fd-avatar--circle fd-avatar--thumbnail fd-user-menu__avatar"),f(e,"aria-label","Avatar")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r[0]&128&&t!==(t=(l[7].initials?l[7].initials:"")+"")&&Le(i,t)},d(l){l&&I(e)}}}function OS(n){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"),Li(e,"background-image","url('"+n[7].picture+"')")},m(t,i){L(t,e,i)},p(t,i){i[0]&128&&Li(e,"background-image","url('"+t[7].picture+"')")},d(t){t&&I(e)}}}function Qd(n){let e,t=n[7].name+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-user-menu__user-name svelte-ydef8m"),f(e,"id","username"),f(e,"data-testid","luigi-topnav-profile-username")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r[0]&128&&t!==(t=l[7].name+"")&&Le(i,t)},d(l){l&&I(e)}}}function Zd(n){let e,t=n[7].description+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-user-menu__user-role svelte-ydef8m"),f(e,"data-testid","luigi-topnav-profile-description")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r[0]&128&&t!==(t=l[7].description+"")&&Le(i,t)},d(l){l&&I(e)}}}function Xd(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?FS:MS}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function MS(n){let e,t;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Li(e,"background-image","url('"+n[7].icon+"')"),f(e,"alt",t=n[34].altText?n[34].altText:"")},m(i,l){L(i,e,l)},p(i,l){l[0]&128&&Li(e,"background-image","url('"+i[7].icon+"')"),l[0]&512&&t!==(t=i[34].altText?i[34].altText:"")&&f(e,"alt",t)},d(i){i&&I(e)}}}function FS(n){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+n[16](n[34].icon)+" svelte-ydef8m")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-list__icon "+i[16](i[34].icon)+" svelte-ydef8m")&&f(e,"class",t)},d(i){i&&I(e)}}}function $d(n){let e,t,i,l,r=n[13](n[34].label)+"",a,o,c,h,d,_=n[34].icon&&Xd(n);function p(){return n[24](n[34])}return{c(){e=S("li"),t=S("a"),_&&_.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=n[2]?n[19](n[34]):void 0),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link"),f(e,"data-testid",c=n[18](n[34]))},m(b,m){L(b,e,m),w(e,t),_&&_.m(t,null),w(t,i),w(t,l),w(l,a),h||(d=[ne(t,"click",n[23]),ne(e,"click",p)],h=!0)},p(b,m){n=b,n[34].icon?_?_.p(n,m):(_=Xd(n),_.c(),_.m(t,i)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=n[13](n[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=n[2]?n[19](n[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=n[18](n[34]))&&f(e,"data-testid",c)},d(b){b&&I(e),_&&_.d(),h=!1,Qe(d)}}}function xd(n){let e,t,i,l,r=n[13](n[9].settings.label)+"",a,o,c,h=n[9].settings.icon&&eg(n);return{c(){e=S("li"),t=S("a"),h&&h.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-list__title svelte-ydef8m"),f(t,"tabindex","0"),f(t,"class","fd-list__link"),f(t,"title","User Settings"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-list__item fd-list__item--link lui-anchor-node")},m(d,_){L(d,e,_),w(e,t),h&&h.m(t,null),w(t,i),w(t,l),w(l,a),o||(c=[ne(e,"click",Pt(n[5])),ne(e,"keyup",n[25])],o=!0)},p(d,_){d[9].settings.icon?h?h.p(d,_):(h=eg(d),h.c(),h.m(t,i)):h&&(h.d(1),h=null),_[0]&8704&&r!==(r=d[13](d[9].settings.label)+"")&&Le(a,r)},d(d){d&&I(e),h&&h.d(),o=!1,Qe(c)}}}function eg(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?BS:US}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function US(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-ydef8m"),Ze(e.src,t=n[9].settings.icon)||f(e,"src",t),f(e,"alt",i=n[9].settings.altText?n[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&i!==(i=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function BS(n){let e,t;return{c(){e=S("i"),f(e,"role","presentation"),f(e,"class",t="fd-list__icon "+n[16](n[9].settings.icon)+" svelte-ydef8m")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-list__icon "+i[16](i[9].settings.icon)+" svelte-ydef8m")&&f(e,"class",t)},d(i){i&&I(e)}}}function tg(n){let e,t,i=(n[8]||!n[10]&&n[11])&&ig(n),l=n[10]&&!n[8]&&ng(n);return{c(){i&&i.c(),e=z(),l&&l.c(),t=Ce()},m(r,a){i&&i.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?i?i.p(r,a):(i=ig(r),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null),r[10]&&!r[8]?l?l.p(r,a):(l=ng(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){i&&i.d(r),r&&I(e),l&&l.d(r),r&&I(t)}}}function ig(n){let e,t,i=n[13](n[9].logout.label)+"",l,r,a,o;return{c(){e=S("div"),t=S("button"),l=Te(i),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=n[18](n[9].logout))},m(c,h){L(c,e,h),w(e,t),w(t,l),a||(o=ne(t,"click",n[4]),a=!0)},p(c,h){h[0]&8704&&i!==(i=c[13](c[9].logout.label)+"")&&Le(l,i),h[0]&512&&r!==(r=c[18](c[9].logout))&&f(e,"data-testid",r)},d(c){c&&I(e),a=!1,o()}}}function ng(n){let e,t,i,l,r;return{c(){e=S("button"),e.textContent="Login",t=z(),i=S("button"),i.textContent="Login",f(e,"class","fd-button fd-button--transparent fd-button--compact"),f(e,"tabindex","0"),f(e,"data-testid","login-btn"),f(i,"class","fd-button fd-button--transparent fd-button--compact"),f(i,"tabindex","0"),f(i,"data-testid","login-btn")},m(a,o){L(a,e,o),L(a,t,o),L(a,i,o),l||(r=[ne(e,"click",n[15]),ne(i,"click",n[15])],l=!0)},p:He,d(a){a&&I(e),a&&I(t),a&&I(i),l=!1,Qe(r)}}}function HS(n){let e,t=!n[1]&&Jd(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[1]?t&&(t.d(1),t=null):t?t.p(i,l):(t=Jd(i),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(i){t&&t.d(i),i&&I(e)}}}function WS(n,e,t){let i;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,_,p,b,m,v=pt("store"),C=pt("getTranslation");bn(n,C,ie=>t(13,i=ie));let y=pt("getUnsavedChangesModalPromise"),P=pt("openViewInModal");Qt(async()=>{hn.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),F(),si.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),si.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function A(){si.startAuthorization()}function T(ie){return ue.renderIconClassName(ie)}function V(ie){return ue.isOpenUIiconName(ie.icon)}function E(ie){return ie.testId?ie.testId:ue.prepareForTests(ie.label)}function U(ie){return we.getNodeHref(ie)}function F(){b||(ui.doOnStoreChange(v,async()=>{const ie=await ae.getConfigValueAsync("navigation.profile.logout"),oe=await ae.getConfigValueAsync("userSettings"),ve=oe||await ae.getConfigValueAsync("settings.userSettings"),re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(ve){const Ee=ve.userSettingsProfileMenuEntry;re.settings={...fl.userSettingsProfileMenuEntry,...Ee}}re.logout={...fl.logout,...ie},t(11,_=!!ie),m=!1,si.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,si.setProfileLogoutFn(ie.customLogoutFn)),t(9,h=re),t(12,p=!!ve)},["navigation.profile"]),b=!0)}async function D(){const ie=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(si.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function Z(ie){y().then(()=>{if(ie.openNodeInModal){const oe=we.buildRoute(ie,`${ie.link}`);P(oe,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else it.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function j(){y().then(()=>{d?de():_&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Yr.openUserSettings(),l("toggleDropdownState")}function de(){si.logout()}function te({keyCode:ie}){(ie===mn||ie===Kr)&&document.querySelector(".lui-anchor-node>.fd-list__link").click()}let{showUserInfo:G}=e;const Y=ie=>{ue.handleNavAnchorClickedWithoutMetaKey(ie)},X=ie=>Z(ie),_e=ie=>te(ie);return n.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,a=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,G=ie.showUserInfo)},n.$$.update=()=>{n.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,Z,j,Q,te,o,c,h,d,_,p,i,C,A,T,V,E,U,F,D,de,Y,X,_e]}class zS extends Et{constructor(e){super(),At(this,e,WS,HS,Nt,{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 lg(n,e,t){const i=n.slice();return i[34]=e[t],i}function rg(n){let e,t,i,l,r,a=n[0]&&ag(n),o=n[9].items,c=[];for(let _=0;_<o.length;_+=1)c[_]=og(lg(n,o,_));let h=n[12]&&ug(n),d=(n[10]||n[11])&&cg(n);return{c(){e=S("nav"),t=S("ul"),a&&a.c(),i=z();for(let _=0;_<c.length;_+=1)c[_].c();l=z(),h&&h.c(),r=z(),d&&d.c(),f(t,"class","fd-menu__list fd-menu__list--no-shadow"),f(e,"class","fd-menu lui-profile-simple-menu svelte-1msqoo3")},m(_,p){L(_,e,p),w(e,t),a&&a.m(t,null),w(t,i);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(_,p){if(_[0]?a?a.p(_,p):(a=ag(_),a.c(),a.m(t,i)):a&&(a.d(1),a=null),p[0]&991756){o=_[9].items;let b;for(b=0;b<o.length;b+=1){const m=lg(_,o,b);c[b]?c[b].p(m,p):(c[b]=og(m),c[b].c(),c[b].m(t,l))}for(;b<c.length;b+=1)c[b].d(1);c.length=o.length}_[12]?h?h.p(_,p):(h=ug(_),h.c(),h.m(t,r)):h&&(h.d(1),h=null),_[10]||_[11]?d?d.p(_,p):(d=cg(_),d.c(),d.m(t,null)):d&&(d.d(1),d=null)},d(_){_&&I(e),a&&a.d(),ft(c,_),h&&h.d(),d&&d.d()}}}function ag(n){let e,t,i=(n[7].name?n[7].name:n[7].email)+"",l;return{c(){e=S("li"),t=S("span"),l=Te(i),f(t,"aria-label","Username"),f(t,"id","username"),f(t,"class","lui-username fd-has-type-1 svelte-1msqoo3"),f(t,"data-testid","luigi-topnav-profile-username"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),w(t,l)},p(r,a){a[0]&128&&i!==(i=(r[7].name?r[7].name:r[7].email)+"")&&Le(l,i)},d(r){r&&I(e)}}}function sg(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[34])),e?GS:qS}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function qS(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=n[34].icon)||f(e,"src",t),f(e,"alt",i=n[34].altText?n[34].altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(e.src,t=l[34].icon)&&f(e,"src",t),r[0]&512&&i!==(i=l[34].altText?l[34].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function GS(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon "+n[16](n[34].icon)+" svelte-1msqoo3")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-top-nav__icon "+i[16](i[34].icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(i){i&&I(e)}}}function og(n){let e,t,i,l,r=n[13](n[34].label)+"",a,o,c,h,d,_=n[34].icon&&sg(n);function p(){return n[24](n[34])}return{c(){e=S("li"),t=S("a"),_&&_.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-topnav-profile-item"),f(t,"href",o=n[2]?n[19](n[34]):void 0),f(e,"class","fd-menu__item"),f(e,"data-testid",c=n[18](n[34]))},m(b,m){L(b,e,m),w(e,t),_&&_.m(t,null),w(t,i),w(t,l),w(l,a),h||(d=[ne(t,"click",n[23]),ne(e,"click",p)],h=!0)},p(b,m){n=b,n[34].icon?_?_.p(n,m):(_=sg(n),_.c(),_.m(t,i)):_&&(_.d(1),_=null),m[0]&8704&&r!==(r=n[13](n[34].label)+"")&&Le(a,r),m[0]&516&&o!==(o=n[2]?n[19](n[34]):void 0)&&f(t,"href",o),m[0]&512&&c!==(c=n[18](n[34]))&&f(e,"data-testid",c)},d(b){b&&I(e),_&&_.d(),h=!1,Qe(d)}}}function ug(n){let e,t,i,l,r=n[13](n[9].settings.label)+"",a,o,c,h,d=n[9].settings.icon&&fg(n);return{c(){e=S("li"),t=S("a"),d&&d.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"tabindex","0"),f(t,"title","User Settings"),f(t,"class","fd-menu__link"),f(t,"data-testid","settings-link"),f(e,"tabindex","-1"),f(e,"class","fd-menu__item lui-anchor-node"),f(e,"data-testid",o=n[18](n[9].settings))},m(_,p){L(_,e,p),w(e,t),d&&d.m(t,null),w(t,i),w(t,l),w(l,a),c||(h=[ne(e,"click",Pt(n[5])),ne(e,"keyup",n[25])],c=!0)},p(_,p){_[9].settings.icon?d?d.p(_,p):(d=fg(_),d.c(),d.m(t,i)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=_[13](_[9].settings.label)+"")&&Le(a,r),p[0]&512&&o!==(o=_[18](_[9].settings))&&f(e,"data-testid",o)},d(_){_&&I(e),d&&d.d(),c=!1,Qe(h)}}}function fg(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].settings)),e?jS:KS}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function KS(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=n[9].settings.icon)||f(e,"src",t),f(e,"alt",i=n[9].settings.altText?n[9].settings.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(e.src,t=l[9].settings.icon)&&f(e,"src",t),r[0]&512&&i!==(i=l[9].settings.altText?l[9].settings.altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function jS(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+n[16](n[9].settings.icon)+" svelte-1msqoo3")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-top-nav__icon "+i[16](i[9].settings.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(i){i&&I(e)}}}function cg(n){let e,t,i=(n[8]||!n[10]&&n[11])&&dg(n),l=n[10]&&!n[8]&&hg(n);return{c(){i&&i.c(),e=z(),l&&l.c(),t=Ce()},m(r,a){i&&i.m(r,a),L(r,e,a),l&&l.m(r,a),L(r,t,a)},p(r,a){r[8]||!r[10]&&r[11]?i?i.p(r,a):(i=dg(r),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null),r[10]&&!r[8]?l?l.p(r,a):(l=hg(r),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(r){i&&i.d(r),r&&I(e),l&&l.d(r),r&&I(t)}}}function dg(n){let e,t,i,l,r=n[13](n[9].logout.label)+"",a,o,c,h,d=n[9].logout.icon&&gg(n);return{c(){e=S("li"),t=S("button"),d&&d.c(),i=z(),l=S("span"),a=Te(r),f(l,"class","fd-menu__title"),f(t,"title","Logout"),f(t,"class","fd-menu__link lui-logout-btn svelte-1msqoo3"),f(t,"data-testid","logout-btn"),f(e,"class","fd-menu__item svelte-1msqoo3"),f(e,"data-testid",o=n[18](n[9].logout))},m(_,p){L(_,e,p),w(e,t),d&&d.m(t,null),w(t,i),w(t,l),w(l,a),c||(h=ne(e,"click",n[4]),c=!0)},p(_,p){_[9].logout.icon?d?d.p(_,p):(d=gg(_),d.c(),d.m(t,i)):d&&(d.d(1),d=null),p[0]&8704&&r!==(r=_[13](_[9].logout.label)+"")&&Le(a,r),p[0]&512&&o!==(o=_[18](_[9].logout))&&f(e,"data-testid",o)},d(_){_&&I(e),d&&d.d(),c=!1,h()}}}function gg(n){let e,t;function i(a,o){return o[0]&512&&(e=null),e==null&&(e=!!a[17](a[9].logout)),e?YS:JS}let l=i(n,[-1,-1]),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function JS(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-1msqoo3"),Ze(e.src,t=n[9].logout.icon)||f(e,"src",t),f(e,"alt",i=n[9].logout.altText?n[9].logout.altText:"")},m(l,r){L(l,e,r)},p(l,r){r[0]&512&&!Ze(e.src,t=l[9].logout.icon)&&f(e,"src",t),r[0]&512&&i!==(i=l[9].logout.altText?l[9].logout.altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function YS(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon "+n[16](n[9].logout.icon)+" svelte-1msqoo3")},m(i,l){L(i,e,l)},p(i,l){l[0]&512&&t!==(t="fd-top-nav__icon "+i[16](i[9].logout.icon)+" svelte-1msqoo3")&&f(e,"class",t)},d(i){i&&I(e)}}}function hg(n){let e,t,i;return{c(){e=S("li"),e.innerHTML='<a aria-label="Login" class="fd-menu__link" data-testid="login-btn"><span class="fd-menu__title">Login</span></a>',f(e,"class","fd-menu__item")},m(l,r){L(l,e,r),t||(i=ne(e,"click",n[15]),t=!0)},p:He,d(l){l&&I(e),t=!1,i()}}}function QS(n){let e,t=!n[1]&&rg(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[1]?t&&(t.d(1),t=null):t?t.p(i,l):(t=rg(i),t.c(),t.m(e.parentNode,e))},i:He,o:He,d(i){t&&t.d(i),i&&I(e)}}}function ZS(n,e,t){let i;const l=Wt();let{isHidden:r=!1}=e,{addNavHrefForAnchor:a}=e,o,c,h={logout:{},items:[],settings:{}},d,_,p,b,m,v=pt("store"),C=pt("getTranslation");bn(n,C,ie=>t(13,i=ie));let y=pt("getUnsavedChangesModalPromise"),P=pt("openViewInModal");Qt(async()=>{hn.isAuthorizationEnabled()?t(10,d=!0):(t(10,d=!1),D()),F(),si.getLoggedInStore().subscribe(ie=>{t(8,c=ie)}),si.getUserInfoStore().subscribe(ie=>{t(7,o=ie),l("userInfoUpdated",o)})});function A(){si.startAuthorization()}function T(ie){return ue.renderIconClassName(ie)}function V(ie){return ue.isOpenUIiconName(ie.icon)}function E(ie){return ie.testId?ie.testId:ue.prepareForTests(ie.label)}function U(ie){return we.getNodeHref(ie)}function F(){b||(ui.doOnStoreChange(v,async()=>{const ie=await ae.getConfigValueAsync("navigation.profile.logout"),oe=await ae.getConfigValueAsync("userSettings"),ve=oe||await ae.getConfigValueAsync("settings.userSettings");t(12,p=!!ve);const re={items:await ae.getConfigValueAsync("navigation.profile.items")||[]};if(p){const Ee=ve.userSettingsProfileMenuEntry;re.settings={...fl.userSettingsProfileMenuEntry,...Ee}}re.logout={...fl.logout,...ie},t(11,_=!!ie),m=!1,si.setProfileLogoutFn(null),ie&&le.isFunction(ie.customLogoutFn)&&(m=!0,si.setProfileLogoutFn(ie.customLogoutFn)),t(9,h=re)},["navigation.profile"]),b=!0)}async function D(){const ie=await ae.getConfigValueAsync("navigation.profile.staticUserInfoFn");ie&&(si.setUserInfo(o),t(7,o=ie),l("userInfoUpdated",o))}function Z(ie){y().then(()=>{if(ie.openNodeInModal){const oe=we.buildRoute(ie,`${ie.link}`);P(oe,ie.openNodeInModal===!0?{}:ie.openNodeInModal)}else it.navigateToLink(ie)},()=>{}),l("toggleDropdownState")}function j(){y().then(()=>{d?de():_&&m?h.logout.customLogoutFn():console.error("No IDP provider or profile.customLogoutFn is defined.")},()=>{})}function Q(){Yr.openUserSettings(),l("toggleDropdownState")}function de(){si.logout()}function te({keyCode:ie}){(ie===mn||ie===Kr)&&document.querySelector(".lui-anchor-node>.fd-menu__link").click()}let{showUserInfo:G}=e;const Y=ie=>{ue.handleNavAnchorClickedWithoutMetaKey(ie)},X=ie=>Z(ie),_e=ie=>te(ie);return n.$$set=ie=>{"isHidden"in ie&&t(1,r=ie.isHidden),"addNavHrefForAnchor"in ie&&t(2,a=ie.addNavHrefForAnchor),"showUserInfo"in ie&&t(0,G=ie.showUserInfo)},n.$$.update=()=>{n.$$.dirty[0]&128&&t(0,G=!!(o&&(o.name||o.email)))},[G,r,a,Z,j,Q,te,o,c,h,d,_,p,i,C,A,T,V,E,U,F,D,de,Y,X,_e]}class tp extends Et{constructor(e){super(),At(this,e,ZS,QS,Nt,{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 _g(n,e,t){const i=n.slice();return i[11]=e[t],i}function pg(n){let e,t,i=n[1],l=[];for(let a=0;a<i.length;a+=1)l[a]=vg(_g(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&254){i=a[1];let c;for(c=0;c<i.length;c+=1){const h=_g(a,i,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=vg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&I(e)}}}function mg(n){let e,t,i,l,r,a,o,c,h=n[3](n[11])+"",d,_,p=n[4](n[11]),b,m,v,C,y,P;function A(F,D){return D&6&&(i=null),i==null&&(i=!!F[2](F[11])),i?$S:XS}let T=A(n,-1),V=T(n);r=new wi({props:{node:n[11]}});let E=p&&bg(n);function U(){return n[9](n[11])}return{c(){e=S("li"),t=S("div"),V.c(),l=z(),Me(r.$$.fragment),a=z(),o=S("div"),c=S("div"),d=Te(h),_=z(),E&&E.c(),b=z(),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 "+(n[5]=="true"?"y-has-no-subtitle":"")+" "+(n[11].selected?"selected":"")+" svelte-t09cq9"),f(e,"data-e2e","mobile-topnav-item"),f(e,"data-testid",v=ue.getTestId(n[11]))},m(F,D){L(F,e,D),w(e,t),V.m(t,null),w(t,l),Ve(r,t,null),w(e,a),w(e,o),w(o,c),w(c,d),w(o,_),E&&E.m(o,null),w(e,b),C=!0,y||(P=ne(e,"click",U),y=!0)},p(F,D){n=F,T===(T=A(n,D))&&V?V.p(n,D):(V.d(1),V=T(n),V&&(V.c(),V.m(t,l)));const Z={};D&2&&(Z.node=n[11]),r.$set(Z),(!C||D&10)&&h!==(h=n[3](n[11])+"")&&Le(d,h),D&18&&(p=n[4](n[11])),p?E?E.p(n,D):(E=bg(n),E.c(),E.m(o,null)):E&&(E.d(1),E=null),(!C||D&34&&m!==(m="fd-product-switch__item "+(n[5]=="true"?"y-has-no-subtitle":"")+" "+(n[11].selected?"selected":"")+" svelte-t09cq9"))&&f(e,"class",m),(!C||D&2&&v!==(v=ue.getTestId(n[11])))&&f(e,"data-testid",v)},i(F){C||(R(r.$$.fragment,F),C=!0)},o(F){B(r.$$.fragment,F),C=!1},d(F){F&&I(e),V.d(),Oe(r),E&&E.d(),y=!1,P()}}}function XS(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[11].icon)||f(e,"src",t),f(e,"alt",i=n[11].altText?n[11].altText:""),f(e,"class","svelte-t09cq9")},m(l,r){L(l,e,r)},p(l,r){r&2&&!Ze(e.src,t=l[11].icon)&&f(e,"src",t),r&2&&i!==(i=l[11].altText?l[11].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function $S(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[11].icon&&n[2](n[11])?n[7](n[11].icon):"")+" svelte-t09cq9")},m(i,l){L(i,e,l)},p(i,l){l&6&&t!==(t="sap-icon "+(i[11].icon&&i[2](i[11])?i[7](i[11].icon):"")+" svelte-t09cq9")&&f(e,"class",t)},d(i){i&&I(e)}}}function bg(n){let e,t=n[4](n[11])+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r&18&&t!==(t=l[4](l[11])+"")&&Le(i,t)},d(l){l&&I(e)}}}function vg(n){let e,t,i=n[11].label&&mg(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[11].label?i?(i.p(l,r),r&2&&R(i,1)):(i=mg(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function xS(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A,T=n[1]&&pg(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("div"),a=S("h2"),o=Te(n[0]),c=z(),h=S("div"),d=S("div"),_=S("ul"),T&&T.c(),p=z(),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(i,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"class","fd-product-switch__list"),f(d,"class","fd-product-switch__body fd-product-switch__body--mobile svelte-t09cq9"),f(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){L(V,e,E),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),w(a,o),w(t,c),w(t,h),w(h,d),w(d,_),T&&T.m(_,null),w(t,p),w(t,b),w(b,m),w(m,v),w(v,C),y=!0,P||(A=[ne(C,"click",n[8]),ne(e,"click",Vt(eC))],P=!0)},p(V,[E]){(!y||E&1)&&Le(o,V[0]),V[1]?T?(T.p(V,E),E&2&&R(T,1)):(T=pg(V),T.c(),R(T,1),T.m(_,null)):T&&(ke(),B(T,1,1,()=>{T=null}),Se())},i(V){y||(R(T),y=!0)},o(V){B(T),y=!1},d(V){V&&I(e),T&&T.d(),P=!1,Qe(A)}}}const eC=()=>{};function tC(n,e,t){const i=Wt();let{label:l}=e,{nodes:r}=e,{hasOpenUIicon:a}=e,{getNodeLabel:o}=e,{getNodeSubtitle:c}=e,{noSubTitle:h}=e;function d(m){return ue.renderIconClassName(m)}function _(m){i("listClick",m)}function p(m){Rl.call(this,n,m)}const b=m=>_(m);return n.$$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,_,d,p,b]}class ip extends Et{constructor(e){super(),At(this,e,tC,xS,Nt,{label:0,nodes:1,hasOpenUIicon:2,getNodeLabel:3,getNodeSubtitle:4,noSubTitle:5,onActionClick:6})}get onActionClick(){return this.$$.ctx[6]}}const{window:iC}=dl;function wg(n,e,t){const i=n.slice();return i[7]=e[t],i}function kg(n){let e,t,i,l=n[0]&&Sg(n);return{c(){e=S("nav"),t=S("ul"),l&&l.c(),f(t,"class","fd-menu__list fd-menu__list--top fd-menu__list--no-shadow"),f(e,"class","fd-menu")},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null),i=!0},p(r,a){r[0]?l?(l.p(r,a),a&1&&R(l,1)):(l=Sg(r),l.c(),R(l,1),l.m(t,null)):l&&(ke(),B(l,1,1,()=>{l=null}),Se())},i(r){i||(R(l),i=!0)},o(r){B(l),i=!1},d(r){r&&I(e),l&&l.d()}}}function Sg(n){let e,t,i=n[0],l=[];for(let a=0;a<i.length;a+=1)l[a]=yg(wg(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o&7693){i=a[0];let c;for(c=0;c<i.length;c+=1){const h=wg(a,i,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=yg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&I(e)}}}function Cg(n){let e,t,i,l,r,a,o,c,h=n[11](n[7])+"",d,_,p,b,m,v,C;function y(V,E){return E&1&&(l=null),l==null&&(l=!!(V[7].icon&&V[9](V[7]))),l?lC:nC}let P=y(n,-1),A=P(n);a=new wi({props:{node:n[7]}});function T(){return n[14](n[7])}return{c(){e=S("li"),t=S("a"),i=S("span"),A.c(),r=z(),Me(a.$$.fragment),o=z(),c=S("span"),d=Te(h),p=z(),f(i,"class","fd-top-nav__icon svelte-1811tf3"),f(c,"class","fd-menu__title"),f(t,"href",_=n[2]?n[12](n[7]):void 0),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",b=ue.getTestId(n[7]))},m(V,E){L(V,e,E),w(e,t),w(t,i),A.m(i,null),w(i,r),Ve(a,i,null),w(t,o),w(t,c),w(c,d),w(e,p),m=!0,v||(C=[ne(t,"click",n[13]),ne(e,"click",T)],v=!0)},p(V,E){n=V,P===(P=y(n,E))&&A?A.p(n,E):(A.d(1),A=P(n),A&&(A.c(),A.m(i,r)));const U={};E&1&&(U.node=n[7]),a.$set(U),(!m||E&1)&&h!==(h=n[11](n[7])+"")&&Le(d,h),(!m||E&5&&_!==(_=n[2]?n[12](n[7]):void 0))&&f(t,"href",_),(!m||E&1&&b!==(b=ue.getTestId(n[7])))&&f(e,"data-testid",b)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){B(a.$$.fragment,V),m=!1},d(V){V&&I(e),A.d(),Oe(a),v=!1,Qe(C)}}}function nC(n){let e,t,i;return{c(){e=S("img"),f(e,"class","sap-icon svelte-1811tf3"),Ze(e.src,t=n[7].icon)||f(e,"src",t),f(e,"alt",i=n[7].altText?n[7].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[7].icon)&&f(e,"src",t),r&1&&i!==(i=l[7].altText?l[7].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function lC(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+n[10](n[7].icon))},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="sap-icon "+i[10](i[7].icon))&&f(e,"class",t)},d(i){i&&I(e)}}}function yg(n){let e,t,i=n[7].label&&Cg(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[7].label?i?(i.p(l,r),r&1&&R(i,1)):(i=Cg(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Pg(n){let e,t;return e=new ip({props:{nodes:n[7].children,label:n[11](n[7]),hasOpenUIicon:n[9],getNodeLabel:n[11],getNodeSubtitle:n[8],noSubTitle:"true"}}),e.$on("click",n[5]),e.$on("listClick",n[4]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l&128&&(r.nodes=i[7].children),l&128&&(r.label=i[11](i[7])),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function rC(n){let e,t,i,l,r,a=!n[1]&&kg(n),o=n[1]&&Pg(n);return{c(){a&&a.c(),e=z(),o&&o.c(),t=Ce()},m(c,h){a&&a.m(c,h),L(c,e,h),o&&o.m(c,h),L(c,t,h),i=!0,l||(r=ne(iC,"resize",os),l=!0)},p(c,[h]){c[1]?a&&(ke(),B(a,1,1,()=>{a=null}),Se()):a?(a.p(c,h),h&2&&R(a,1)):(a=kg(c),a.c(),R(a,1),a.m(e.parentNode,e)),c[1]?o?(o.p(c,h),h&2&&R(o,1)):(o=Pg(c),o.c(),R(o,1),o.m(t.parentNode,t)):o&&(ke(),B(o,1,1,()=>{o=null}),Se())},i(c){i||(R(a),R(o),i=!0)},o(c){B(a),B(o),i=!1},d(c){a&&a.d(c),c&&I(e),o&&o.d(c),c&&I(t),l=!1,r()}}}function os(){let n=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${n}px`)}function aC(n,e,t){const i=Wt();let{isMobile:l}=e,{children:r}=e,{node:a}=e,o,c=pt("getUnsavedChangesModalPromise"),h=pt("openViewInModal"),{addNavHrefForAnchor:d}=e;const _=()=>{},p=()=>({get:()=>({pathParams:o}),set:E=>{}});Qt(async()=>{os()}),zi(async()=>{r||t(0,r=await Rt.getChildren(a)),t(0,r)});function b(E){c().then(()=>{if(E.openNodeInModal){const U=we.buildRoute(E,`/${E.pathSegment}`);h(U,E.openNodeInModal===!0?{}:E.openNodeInModal)}else it.handleRouteClick(E,p())},()=>{}),v()}function m(E){b(E.detail)}function v(){i("close")}function C(E){return ue.isOpenUIiconName(E.icon)}function y(E){return ue.renderIconClassName(E)}function P(E){return bt.getTranslation(E.label)}function A(E){return we.getNodeHref(E,o)}const T=E=>{ue.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>b(E);return n.$$set=E=>{"isMobile"in E&&t(1,l=E.isMobile),"children"in E&&t(0,r=E.children),"node"in E&&t(7,a=E.node),"addNavHrefForAnchor"in E&&t(2,d=E.addNavHrefForAnchor)},[r,l,d,b,m,v,os,a,_,C,y,P,A,T,V]}class np extends Et{constructor(e){super(),At(this,e,aC,rC,Nt,{isMobile:1,children:0,node:7,addNavHrefForAnchor:2,onActionClick:3,onActionClickExternal:4,closeSubNav:5,setViewportHeightVariable:6})}get onActionClick(){return this.$$.ctx[3]}get onActionClickExternal(){return this.$$.ctx[4]}get closeSubNav(){return this.$$.ctx[5]}get setViewportHeightVariable(){return os}}const _i={_fallbackLabels:new Map,resetFallbackLabelCache(){this._fallbackLabels.clear()},getPreparedParentNodePath(n){return(!n.parentNodePath||!n.parentNodePath.startsWith("/"))&&console.error("Luigi Config Error: navigation.contextSwitcher.parentNodePath must be defined as an absolute path."),n.parentNodePath?le.addTrailingSlash(n.parentNodePath):n.parentNodePath},generateSwitcherNav(n,e){const t=this.getPreparedParentNodePath(n);return e.map(i=>({label:i.label,link:(t||"/")+i.pathValue,id:i.pathValue,testId:i.testId,customRendererCategory:i.customRendererCategory}))},getNodePathFromCurrentPath(n,e){const t=le.addLeadingSlash(it.getCurrentPath()),i=le.addLeadingSlash(e.link);return t.startsWith(i)?n.link+le.addLeadingSlash(t.substring(i.length)):n.link},getOptionById(n,e){return n.find(t=>t.id===e)},getLabelFromOptions(n,e){const t=n.find(i=>i.id===e);return t&&t.label},isContextSwitcherDetailsView(n,e){const t=le.normalizePath(n),i=le.normalizePath(e);return!!(e&&t&&typeof t=="string"&&t.startsWith(i)&&t!==i)},async getFallbackLabel(n,e){if(!n)return e;const t=ae.getConfigBooleanValue("navigation.contextSwitcher.useFallbackLabelCache"),i=_i._fallbackLabels;if(t&&i.has(e))return i.get(e);const l=await n(e);return t&&i.set(e,l),l},getSelectedId(n,e,t){if(n=le.normalizePath(n),t=le.normalizePath(t),!!_i.isContextSwitcherDetailsView(n,t))return n.replace(t,"").split("/")[0].split("?")[0]},async getSelectedOption(n,e,t){let i;const l=this.getSelectedId(n,e,t);return l&&e&&(i=_i.getOptionById(e,l)),i},async getSelectedLabel(n,e,t,i){const l=this.getSelectedId(n,e,t);if(!l)return;const r=await this.getSelectedOption(n,e,t);return(r?r.label:void 0)||await _i.getFallbackLabel(i,l)},async getSelectedNode(n,e,t){if(!this.getSelectedId(n,e,t))return;let l=await this.getSelectedOption(n,e,t);return l?l.link:void 0},async fetchOptions(n=[]){const e=ae.getConfigValue("navigation.contextSwitcher");if(!e.lazyloadOptions&&n.length)return n;const t=await ae.getConfigValueAsync("navigation.contextSwitcher.options");return await _i.generateSwitcherNav(e,t)}};function Ng(n,e,t){const i=n.slice();return i[20]=e[t],i}function Ig(n,e,t){const i=n.slice();return i[20]=e[t],i}function Tg(n,e,t){const i=n.slice();return i[20]=e[t],i}function Lg(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=Eg(Tg(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-menu__list fd-menu__list--top svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[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=Tg(l,t,a);i[a]?i[a].p(o,r):(i[a]=Eg(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&I(e),ft(i,l)}}}function Ag(n){let e,t,i,l=n[13](n[20].label)+"",r,a,o,c,h,d;function _(){return n[14](n[20])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),o=z(),f(i,"class","fd-menu__title"),f(t,"href",a=n[8](n[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=ue.getTestId(n[20]))},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(e,o),h||(d=[ne(t,"click",Pt(gC)),ne(e,"click",_)],h=!0)},p(p,b){n=p,b&8193&&l!==(l=n[13](n[20].label)+"")&&Le(r,l),b&257&&a!==(a=n[8](n[20]))&&f(t,"href",a),b&1&&c!==(c=ue.getTestId(n[20]))&&f(e,"data-testid",c)},d(p){p&&I(e),h=!1,Qe(d)}}}function Eg(n){let e=n[20].position==="top"||!["top","bottom"].includes(n[20].position),t,i=e&&Ag(n);return{c(){i&&i.c(),t=Ce()},m(l,r){i&&i.m(l,r),L(l,t,r)},p(l,r){r&1&&(e=l[20].position==="top"||!["top","bottom"].includes(l[20].position)),e?i?i.p(l,r):(i=Ag(l),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(l){i&&i.d(l),l&&I(t)}}}function Rg(n){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,i){L(t,e,i)},d(t){t&&T(e)}}}function Dg(n){let e,t=n[3],i=[];for(let l=0;l<t.length;l+=1)i[l]=Vg(Ig(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=Ce()},m(l,r){for(let a=0;a<i.length;a+=1)i[a].m(l,r);L(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Ig(l,t,a);i[a]?i[a].p(o,r):(i[a]=Vg(o),i[a].c(),i[a].m(e.parentNode,e))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){ft(i,l),l&&T(e)}}}function sC(n){return{c:He,m:He,p:He,d:He}}function oC(n){let e,t,i,l,r;function a(d,h){return d[2]?fC:uC}let o=a(n),c=o(n);function _(){return n[16](n[20])}return{c(){e=S("li"),c.c(),i=z(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=ue.getTestId(n[20]))},m(d,h){L(d,e,h),c.m(e,null),L(d,i,h),l||(r=ne(e,"click",_),l=!0)},p(d,h){n=d,o===(o=a(n))&&c?c.p(n,h):(c.d(1),c=o(n),c&&(c.c(),c.m(e,null))),h&8&&t!==(t=ue.getTestId(n[20]))&&f(e,"data-testid",t)},d(d){d&&T(e),c.d(),d&&T(i),l=!1,r()}}}function uC(n){let e,t,i=n[25]+"",l,r,a,o,c,_;return{c(){e=S("a"),t=S("span"),l=Te(i),f(t,"class","fd-menu__title"),f(e,"href",r=n[8](n[20])),f(e,"class",a="fd-menu__link "+(n[25]===n[4]?"is-selected":"")),f(e,"title",o=n[25])},m(d,h){L(d,e,h),w(e,t),w(t,l),c||(_=ne(e,"click",n[15]),c=!0)},p(d,h){h&138&&i!==(i=d[25]+"")&&Le(l,i),h&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),h&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),h&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&T(e),c=!1,_()}}}function fC(n){let e,t=n[2](n[20],n[25]===n[4])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&T(i),l&&e.d()}}}function cC(n){return{c:He,m:He,p:He,d:He}}function Vg(n){let e,t,i={ctx:n,current:null,token:null,hasCatch:!1,pending:cC,then:oC,catch:sC,value:25};return ns(t=n[7](n[20].label,n[1].fallbackLabelResolver,n[20].id),i),{c(){e=Ce(),i.block.c()},m(l,r){L(l,e,r),i.block.m(l,i.anchor=r),i.mount=()=>e.parentNode,i.anchor=e},p(l,r){n=l,i.ctx=n,r&138&&t!==(t=n[7](n[20].label,n[1].fallbackLabelResolver,n[20].id))&&ns(t,i)||U_(i,n,r)},d(l){l&&T(e),i.block.d(l),i.token=null,i=null}}}function Og(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=Fg(Ng(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[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=Ng(l,t,a);i[a]?i[a].p(o,r):(i[a]=Fg(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&T(e),ft(i,l)}}}function Mg(n){let e,t,i,l=n[13](n[20].label)+"",r,a,o,c,_,d;function h(){return n[18](n[20])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),o=z(),f(i,"class","fd-menu__title"),f(t,"href",a=n[8](n[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=ue.getTestId(n[20]))},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(e,o),_||(d=[ne(t,"click",n[17]),ne(e,"click",h)],_=!0)},p(p,b){n=p,b&8193&&l!==(l=n[13](n[20].label)+"")&&Le(r,l),b&257&&a!==(a=n[8](n[20]))&&f(t,"href",a),b&1&&c!==(c=ue.getTestId(n[20]))&&f(e,"data-testid",c)},d(p){p&&T(e),_=!1,Qe(d)}}}function Fg(n){let e,t=n[20].position==="bottom"&&Mg(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[20].position==="bottom"?t?t.p(i,l):(t=Mg(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&T(e)}}}function dC(n){let e,t,i,l,r,a,o=n[0]&&n[0].length&&Lg(n),c=n[3]&&n[3].length===0&&n[10]&&Rg(),_=n[3]&&n[3].length&&Dg(n),d=n[0]&&n[0].length&&Og(n);return{c(){e=S("nav"),o&&o.c(),t=z(),i=S("ul"),c&&c.c(),l=z(),_&&_.c(),r=z(),d&&d.c(),f(i,"class","fd-menu__list"),f(i,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(n[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(h,p){L(h,e,p),o&&o.m(e,null),w(e,t),w(e,i),c&&c.m(i,null),w(i,l),_&&_.m(i,null),w(e,r),d&&d.m(e,null)},p(h,[p]){h[0]&&h[0].length?o?o.p(h,p):(o=Lg(h),o.c(),o.m(e,t)):o&&(o.d(1),o=null),h[3]&&h[3].length===0&&h[10]?c||(c=Rg(),c.c(),c.m(i,l)):c&&(c.d(1),c=null),h[3]&&h[3].length?_?_.p(h,p):(_=Dg(h),_.c(),_.m(i,null)):_&&(_.d(1),_=null),h[0]&&h[0].length?d?d.p(h,p):(d=Og(h),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(h[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:He,o:He,d(h){h&&T(e),o&&o.d(),c&&c.d(),_&&_.d(),d&&d.d()}}}const gC=()=>{};function hC(n,e,t){let i,l=He,r=()=>(l(),l=Oo(v,E=>t(13,i=E)),v);n.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:_=[]}=e,{selectedLabel:d}=e,{selectedOption:h}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Ht();function P(E){y("onActionClick",{node:E})}function I(E,Y){y("goToOption",{option:E,selectedOption:Y})}const A=E=>P(E),D=E=>{ue.handleNavAnchorClickedWithoutMetaKey(E)},V=E=>I(E,h),F=E=>{ue.handleNavAnchorClickedWithoutMetaKey(E)},U=E=>P(E);return n.$$set=E=>{"actions"in E&&t(0,a=E.actions),"config"in E&&t(1,o=E.config),"customOptionsRenderer"in E&&t(2,c=E.customOptionsRenderer),"options"in E&&t(3,_=E.options),"selectedLabel"in E&&t(4,d=E.selectedLabel),"selectedOption"in E&&t(5,h=E.selectedOption),"isMobile"in E&&t(6,p=E.isMobile),"getNodeName"in E&&t(7,b=E.getNodeName),"getRouteLink"in E&&t(8,m=E.getRouteLink),"getTranslation"in E&&r(t(9,v=E.getTranslation)),"isContextSwitcherDropdownShown"in E&&t(10,C=E.isContextSwitcherDropdownShown)},[a,o,c,_,d,h,p,b,m,v,C,P,I,i,A,D,V,F,U]}class lp extends Et{constructor(e){super(),At(this,e,hC,dC,Nt,{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 Ug(n){let e,t,i,l=!n[9]&&Bg(n),r=n[9]&&n[8].contextSwitcherPopover&&n[15]&&Hg(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),i=!0},p(a,o){a[9]?l&&(ke(),B(l,1,1,()=>{l=null}),Se()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Bg(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=Hg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){i||(R(l),R(r),i=!0)},o(a){B(l),B(r),i=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function Bg(n){let e,t,i,l,r,a,o,c,_,d;function h(m,v){return m[10]&&m[2]!==m[5].defaultLabel?pC:_C}let p=h(n),b=p(n);return a=new lp({props:{actions:n[0],config:n[5],customOptionsRenderer:n[6],options:n[1],selectedLabel:n[4],selectedOption:n[2],getNodeName:n[18],getRouteLink:n[19],getTranslation:n[17],isMobile:n[9],isContextSwitcherDropdownShown:n[14]}}),a.$on("onActionClick",n[11]),a.$on("goToOption",n[12]),{c(){e=S("div"),t=S("div"),i=S("div"),b.c(),l=z(),r=S("div"),Me(a.$$.fragment),f(i,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!n[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,i),b.m(i,null),w(t,l),w(t,r),Ve(a,r,null),c=!0,_||(d=ne(i,"click",Vt(NC)),_=!0)},p(m,v){p===(p=h(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(i,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){B(a.$$.fragment,m),c=!1},d(m){m&&T(e),b.d(),Oe(a),_=!1,d()}}}function _C(n){let e,t,i,l,r,a;function o(d,h){return d[2]&&d[7]?bC:mC}let c=o(n),_=c(n);return{c(){e=S("button"),_.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=n[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",i=n[4]?n[4]:n[5].defaultLabel),f(e,"aria-disabled",l=!n[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,h){L(d,e,h),_.m(e,null),r||(a=ne(e,"click",n[29]),r=!0)},p(d,h){c===(c=o(d))&&_?_.p(d,h):(_.d(1),_=c(d),_&&(_.c(),_.m(e,null))),h[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),h[0]&48&&i!==(i=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",i),h[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&T(e),_.d(),r=!1,a()}}}function pC(n){let e,t,i,l,r,a,o;function c(h,p){return h[2]&&h[7]?SC:kC}let _=c(n),d=_(n);return{c(){e=S("a"),d.c(),f(e,"href",t=n[2]?n[19](n[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",i=n[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=n[4]?n[4]:n[5].defaultLabel),f(e,"aria-disabled",r=!n[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(h,p){L(h,e,p),d.m(e,null),a||(o=ne(e,"click",Pt(n[28])),a=!0)},p(h,p){_===(_=c(h))&&d?d.p(h,p):(d.d(1),d=_(h),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=h[2]?h[19](h[2]):void 0)&&f(e,"href",t),p[0]&256&&i!==(i=h[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",i),p[0]&48&&l!==(l=h[4]?h[4]:h[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!h[15])&&f(e,"aria-disabled",r)},d(h){h&&T(e),d.d(),a=!1,o()}}}function mC(n){let e,t;function i(a,o){return a[4]?vC:wC}let l=i(n),r=l(n);return{c(){r.c(),e=z(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(e),a&&T(t)}}}function bC(n){let e,t=n[7](n[2])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&T(i),l&&e.d()}}}function vC(n){let e;return{c(){e=Te(n[4])},m(t,i){L(t,e,i)},p(t,i){i[0]&16&&Le(e,t[4])},d(t){t&&T(e)}}}function wC(n){let e=n[16](n[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(i,l){L(i,t,l)},p(i,l){l[0]&65568&&e!==(e=i[16](i[5].defaultLabel)+"")&&Le(t,e)},d(i){i&&T(t)}}}function kC(n){let e,t;function i(a,o){return a[4]?CC:yC}let l=i(n),r=l(n);return{c(){r.c(),e=z(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(e),a&&T(t)}}}function SC(n){let e,t=n[7](n[2])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&T(i),l&&e.d()}}}function CC(n){let e;return{c(){e=Te(n[4])},m(t,i){L(t,e,i)},p(t,i){i[0]&16&&Le(e,t[4])},d(t){t&&T(e)}}}function yC(n){let e=n[16](n[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(i,l){L(i,t,l)},p(i,l){l[0]&65568&&e!==(e=i[16](i[5].defaultLabel)+"")&&Le(t,e)},d(i){i&&T(t)}}}function Hg(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v,C,y,P,I=!n[4]&&Wg(n),A=n[4]&&zg(n);return d=new lp({props:{actions:n[0],config:n[5],customOptionsRenderer:n[6],options:n[1],selectedLabel:n[4],selectedOption:n[2],getNodeName:n[18],getRouteLink:n[19],getTranslation:n[17],isMobile:n[9],isContextSwitcherDropdownShown:n[14]}}),d.$on("onActionClick",n[11]),d.$on("goToOption",n[12]),{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("div"),a=S("h2"),I&&I.c(),o=z(),A&&A.c(),c=z(),_=S("div"),Me(d.$$.fragment),h=z(),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(i,"class","fd-dialog__header fd-bar fd-bar--header"),f(_,"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(D,V){L(D,e,V),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),A&&A.m(a,null),w(t,c),w(t,_),Ve(d,_,null),w(t,h),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ne(v,"click",n[13]),ne(e,"click",Vt(IC))],y=!0)},p(D,V){D[4]?I&&(I.d(1),I=null):I?I.p(D,V):(I=Wg(D),I.c(),I.m(a,o)),D[4]?A?A.p(D,V):(A=zg(D),A.c(),A.m(a,null)):A&&(A.d(1),A=null);const F={};V[0]&1&&(F.actions=D[0]),V[0]&32&&(F.config=D[5]),V[0]&64&&(F.customOptionsRenderer=D[6]),V[0]&2&&(F.options=D[1]),V[0]&16&&(F.selectedLabel=D[4]),V[0]&4&&(F.selectedOption=D[2]),V[0]&512&&(F.isMobile=D[9]),V[0]&16384&&(F.isContextSwitcherDropdownShown=D[14]),d.$set(F)},i(D){C||(R(d.$$.fragment,D),C=!0)},o(D){B(d.$$.fragment,D),C=!1},d(D){D&&T(e),I&&I.d(),A&&A.d(),Oe(d),y=!1,Qe(P)}}}function Wg(n){let e=n[16](n[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(i,l){L(i,t,l)},p(i,l){l[0]&65568&&e!==(e=i[16](i[5].defaultLabel)+"")&&Le(t,e)},d(i){i&&T(t)}}}function zg(n){let e;return{c(){e=Te(n[4])},m(t,i){L(t,e,i)},p(t,i){i[0]&16&&Le(e,t[4])},d(t){t&&T(e)}}}function PC(n){let e,t,i=n[3]&&Ug(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?i?(i.p(l,r),r[0]&8&&R(i,1)):(i=Ug(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}const NC=()=>{},IC=()=>{};function TC(n,e,t){let i,l;const r=Ht();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:_={}}=e,{actions:d=[]}=e,{options:h=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:A}=e,D,V=pt("getUnsavedChangesModalPromise"),F=pt("store"),U=pt("getTranslation");bn(n,U,re=>t(16,l=re));let E=!1,{addNavHrefForAnchor:Y}=e,j;Yt(async()=>{oi.doOnStoreChange(F,async()=>{const re=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=le.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=le.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,_=re),t(1,h=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ee=it.getCurrentPath();t(20,m=re.fallbackLabelResolver),hi.resetFallbackLabelCache(),re.lazyloadOptions||await te(),hi.isContextSwitcherDetailsView(Ee,re.parentNodePath)&&await G(Ee)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(re=>G(re)),Ai.addEventListener("message",re=>{Ae.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,h=null),te())}),t(21,A=_.defaultLabel)}),zi(()=>{E!==I&&(E=I,te()),t(14,j=o.contextSwitcherPopover||!1)});function Z(re,Ee,We){return re?Promise.resolve(re):hi.getFallbackLabel(Ee,We)}function de(re){return we.getNodeHref(re,v)}async function te(){t(1,h=await hi.fetchOptions(h));const re=_||{},Ee=re.parentNodePath,We=re.fallbackLabelResolver,W=it.getCurrentPath();t(2,b=await hi.getSelectedOption(W,h,Ee)),t(4,c=await hi.getSelectedLabel(W,h,Ee,We)),await hi.getSelectedNode(W,h,Ee),D=re.preserveSubPathOnSwitch}async function G(re){const Ee=_||{},We=Ee.parentNodePath,W=Ee.fallbackLabelResolver;t(2,b=await hi.getSelectedOption(re,h,We)),t(4,c=await hi.getSelectedLabel(re,h,We,W)),await hi.getSelectedNode(re,h,We)}async function Q(re){let Ee=re.detail.node;Ee.clickHandler&&!await Ee.clickHandler(Ee)||(setTimeout(()=>{X(Ee.link)}),P&&r("toggleDropdownState"))}function X(re){V().then(()=>{it.navigateTo(re)},()=>{})}function _e(re){let Ee=re.detail.option,We=re.detail.selectedOption;V().then(()=>{D&&We?it.navigateTo(hi.getNodePathFromCurrentPath(Ee,We)):it.navigateTo(Ee.link),P&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&te()}const oe=()=>{i&&ie()},ve=()=>{i&&ie()};return n.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,a=re.contextSwitcherEnabled),"dropDownStates"in re&&t(8,o=re.dropDownStates),"selectedLabel"in re&&t(4,c=re.selectedLabel),"config"in re&&t(5,_=re.config),"actions"in re&&t(0,d=re.actions),"options"in re&&t(1,h=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,I=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,A=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,Y=re.addNavHrefForAnchor)},n.$$.update=()=>{n.$$.dirty[0]&134217735&&t(15,i=p||d&&d.length>0||h&&h.length>1||!b)},[d,h,b,a,c,_,C,y,o,P,Y,Q,_e,ie,j,i,l,U,Z,de,m,A,v,I,te,G,X,p,oe,ve]}class rp extends Et{constructor(e){super(),At(this,e,TC,PC,Nt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:LC}=dl;function qg(n,e,t){const i=n.slice();return i[22]=e[t],i}function Gg(n){let e,t,i,l=!n[2]&&Kg(n),r=n[2]&&n[3].productSwitcherPopover&&Zg(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),i=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=Kg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=Zg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){i||(R(r),i=!0)},o(a){B(r),i=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function Kg(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v,C,y;function P(F,U){return U&2&&(a=null),a==null&&(a=!!F[11](F[1])),a?EC:AC}let I=P(n,-1),A=I(n),D=n[0],V=[];for(let F=0;F<D.length;F+=1)V[F]=Qg(qg(n,D,F));return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("button"),A.c(),d=z(),h=S("div"),p=S("div"),b=S("ul");for(let F=0;F<V.length;F+=1)V[F].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=n[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=n[1].label),f(r,"data-testid",_=n[14](n[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Xi(n[9])+" svelte-156h3yc"),f(h,"class","fd-popover__body fd-popover__body--right"),f(h,"aria-hidden",v=!n[3].productSwitcherPopover),f(h,"id","productSwitcherPopover"),f(i,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(F,U){L(F,e,U),w(e,t),w(t,i),w(i,l),w(l,r),A.m(r,null),w(i,d),w(i,h),w(h,p),w(p,b);for(let E=0;E<V.length;E+=1)V[E].m(b,null);C||(y=[ne(r,"click",Vt(n[7])),ne(l,"click",Vt(BC))],C=!0)},p(F,U){if(I===(I=P(F,U))&&A?A.p(F,U):(A.d(1),A=I(F),A&&(A.c(),A.m(r,null))),U&8&&o!==(o=F[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),U&2&&c!==(c=F[1].label)&&f(r,"title",c),U&2&&_!==(_=F[14](F[1]))&&f(r,"data-testid",_),U&64561){D=F[0];let E;for(E=0;E<D.length;E+=1){const Y=qg(F,D,E);V[E]?V[E].p(Y,U):(V[E]=Qg(Y),V[E].c(),V[E].m(b,null))}for(;E<V.length;E+=1)V[E].d(1);V.length=D.length}U&512&&m!==(m=Xi(F[9])+" svelte-156h3yc")&&f(p,"class",m),U&8&&v!==(v=!F[3].productSwitcherPopover)&&f(h,"aria-hidden",v)},d(F){F&&T(e),A.d(),ft(V,F),C=!1,Qe(y)}}}function AC(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[1].icon)||f(e,"src",t),f(e,"alt",i=n[1].altText?n[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!Ze(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&i!==(i=l[1].altText?l[1].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function EC(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+n[10](n[1].icon))},m(i,l){L(i,e,l)},p(i,l){l&2&&t!==(t="sap-icon "+i[10](i[1].icon))&&f(e,"class",t)},d(i){i&&T(e)}}}function jg(n){let e,t,i,l,r,a;function o(h,p){return h[4]?DC:RC}let c=o(n),_=c(n);function d(){return n[17](n[22])}return{c(){e=S("li"),_.c(),t=z(),f(e,"class",i="fd-product-switch__item "+(n[22].selected?"selected":"")),f(e,"data-testid",l=n[14](n[22]))},m(h,p){L(h,e,p),_.m(e,null),w(e,t),r||(a=ne(e,"click",d),r=!0)},p(h,p){n=h,c===(c=o(n))&&_?_.p(n,p):(_.d(1),_=c(n),_&&(_.c(),_.m(e,t))),p&1&&i!==(i="fd-product-switch__item "+(n[22].selected?"selected":""))&&f(e,"class",i),p&1&&l!==(l=n[14](n[22]))&&f(e,"data-testid",l)},d(h){h&&T(e),_.d(),r=!1,a()}}}function RC(n){let e,t,i,l,r,a=n[12](n[22])+"",o,c,_=n[13](n[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?OC:VC}let h=d(n,-1),p=h(n),b=_&&Jg(n);return{c(){e=S("div"),p.c(),i=z(),l=S("div"),r=S("div"),o=Te(a),c=z(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,i,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){h===(h=d(m,v))&&p?p.p(m,v):(p.d(1),p=h(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(_=m[13](m[22])),_?b?b.p(m,v):(b=Jg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&T(e),p.d(),m&&T(i),m&&T(l),b&&b.d()}}}function DC(n){let e,t,i,l,r,a,o=n[12](n[22])+"",c,_,d=n[13](n[22]),h,p,b;function m(P,I){return I&1&&(i=null),i==null&&(i=!!P[11](P[22])),i?FC:MC}let v=m(n,-1),C=v(n),y=d&&Yg(n);return{c(){e=S("a"),t=S("div"),C.c(),l=z(),r=S("div"),a=S("div"),c=Te(o),_=z(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",h=n[15](n[22])),f(e,"class","fd-menu__link")},m(P,I){L(P,e,I),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,_),y&&y.m(r,null),p||(b=ne(e,"click",n[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=Yg(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&h!==(h=P[15](P[22]))&&f(e,"href",h)},d(P){P&&T(e),C.d(),y&&y.d(),p=!1,b()}}}function VC(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[22].icon)||f(e,"src",t),f(e,"alt",i=n[22].altText?n[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&i!==(i=l[22].altText?l[22].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function OC(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(i){i&&T(e)}}}function Jg(n){let e,t=n[13](n[22])+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(i,t)},d(l){l&&T(e)}}}function MC(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[22].icon)||f(e,"src",t),f(e,"alt",i=n[22].altText?n[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&i!==(i=l[22].altText?l[22].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function FC(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(i){i&&T(e)}}}function Yg(n){let e,t=n[13](n[22])+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(i,t)},d(l){l&&T(e)}}}function Qg(n){let e,t=n[22].label&&jg(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[22].label?t?t.p(i,l):(t=jg(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&T(e)}}}function Zg(n){let e,t;return e=new ip({props:{nodes:n[0],label:n[1].label,hasOpenUIicon:n[11],getNodeLabel:n[12],getNodeSubtitle:n[13]}}),e.$on("click",n[7]),e.$on("listClick",n[6]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l&1&&(r.nodes=i[0]),l&2&&(r.label=i[1].label),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function UC(n){let e=n[0]&&n[0].length&&Object.keys(n[0][0]).length,t,i,l,r,a=e&&Gg(n);return{c(){a&&a.c(),t=Ce()},m(o,c){a&&a.m(o,c),L(o,t,c),i=!0,l||(r=ne(LC,"resize",us),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=Gg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),B(a,1,1,()=>{a=null}),Se())},i(o){i||(R(a),i=!0)},o(o){B(a),i=!1},d(o){a&&a.d(o),o&&T(t),l=!1,r()}}}function us(){let n=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${n}px`)}const BC=()=>{};function HC(n,e,t){const i=Ht();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=pt("store"),_=pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:h}=e;Yt(async()=>{oi.doOnStoreChange(c,async()=>{t(1,a=ue.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),I()),us()},["navigation.productSwitcher"])});function p(U){_().then(()=>{it.navigateToLink(U)},()=>{}),m()}function b(U){p(U.detail)}function m(){i("toggleDropdownState")}function v(U){return ue.renderIconClassName(U)}function C(U){return ue.isOpenUIiconName(U.icon)}function y(U){return bt.getTranslation(U.label)}function P(U){return bt.getTranslation(U.subTitle)}function I(){ue.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function A(U){return U.testId?U.testId:ue.prepareForTests(U.label)}function D(U){return we.getNodeHref(U)}const V=U=>{ue.handleNavAnchorClickedWithoutMetaKey(U)},F=U=>p(U);return n.$$set=U=>{"productSwitcherItems"in U&&t(0,l=U.productSwitcherItems),"isMobile"in U&&t(2,r=U.isMobile),"config"in U&&t(1,a=U.config),"dropDownStates"in U&&t(3,o=U.dropDownStates),"addNavHrefForAnchor"in U&&t(4,h=U.addNavHrefForAnchor)},[l,a,r,o,h,p,b,m,us,d,v,C,y,P,A,D,V,F]}class ap extends Et{constructor(e){super(),At(this,e,HC,UC,Nt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return us}}function Xg(n,e,t){const i=n.slice();return i[30]=e[t],i[32]=t,i}function WC(n){let e,t,i;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){L(l,e,r),n[18](e),e.focus(),t||(i=ne(e,"keyup",n[17]),t=!0)},p:He,d(l){l&&T(e),n[18](null),t=!1,i()}}}function zC(n){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,i){L(t,e,i),e.focus()},p:He,d(t){t&&T(e)}}}function qC(n){let e;return{c(){e=S("div")},m(t,i){L(t,e,i),n[22](e)},p:He,d(t){t&&T(e),n[22](null)}}}function GC(n){let e,t,i,l=n[5]&&$g(n);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",i=!n[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=$g(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&i!==(i=!r[0])&&f(e,"aria-hidden",i)},d(r){r&&T(e),l&&l.d()}}}function $g(n){let e,t=n[5],i=[];for(let l=0;l<t.length;l+=1)i[l]=xg(Xg(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null);n[21](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=Xg(l,t,a);i[a]?i[a].p(o,r):(i[a]=xg(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&T(e),ft(i,l),n[21](null)}}}function KC(n){let e,t=n[10](n[30],n[3],n[32])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&T(i),l&&e.d()}}}function jC(n){let e,t,i,l=n[30].label+"",r,a,o,c=n[30].description+"",_,d,h;return{c(){e=S("a"),t=S("div"),i=S("div"),r=Te(l),a=z(),o=S("div"),_=Te(c),f(i,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(t,a),w(t,o),w(o,_),d||(h=ne(e,"click",Pt(YC)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[30].label+"")&&Le(r,l),b[0]&32&&c!==(c=p[30].description+"")&&Le(_,c)},d(p){p&&T(e),d=!1,h()}}}function xg(n){let e,t,i,l;function r(d,h){return d[9]?KC:jC}let a=r(n),o=a(n);function c(...d){return n[19](n[30],...d)}function _(...d){return n[20](n[30],...d)}return{c(){e=S("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+n[32]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,h){L(d,e,h),o.m(e,null),w(e,t),i||(l=[ne(e,"click",c),ne(e,"keyup",_)],i=!0)},p(d,h){n=d,a===(a=r(n))&&o?o.p(n,h):(o.d(1),o=a(n),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),i=!1,Qe(l)}}}function JC(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v,C,y;function P(U,E){return U[7]&&U[7].disableInputHandlers?zC:WC}let I=P(n),A=I(n);function D(U,E){return U[8]?qC:GC}let V=D(n),F=V(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),A.c(),r=z(),a=S("div"),o=z(),F.c(),d=z(),h=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(i,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(i,"aria-hidden",c=!n[4]),f(i,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",_="fd-shellbar__action "+(n[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!n[4]),f(b,"data-testid","luigi-search-btn-desktop"),f(h,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(U,E){L(U,e,E),w(e,t),w(t,i),w(i,l),A.m(l,null),w(l,r),w(l,a),w(i,o),F.m(i,null),L(U,d,E),L(U,h,E),w(h,p),w(p,b),w(b,m),C||(y=[ne(window,"click",n[11]),ne(window,"blur",n[11]),ne(i,"click",Vt(QC)),ne(b,"click",n[6]),ne(p,"click",Vt(ZC))],C=!0)},p(U,E){I===(I=P(U))&&A?A.p(U,E):(A.d(1),A=I(U),A&&(A.c(),A.m(l,r))),V===(V=D(U))&&F?F.p(U,E):(F.d(1),F=V(U),F&&(F.c(),F.m(i,null))),E[0]&16&&c!==(c=!U[4])&&f(i,"aria-hidden",c),E[0]&16&&_!==(_="fd-shellbar__action "+(U[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",_),E[0]&16&&v!==(v=!U[4])&&f(b,"aria-expanded",v)},i:He,o:He,d(U){U&&T(e),A.d(),F.d(),U&&T(d),U&&T(h),C=!1,Qe(y)}}}const YC=()=>{},QC=()=>{},ZC=()=>{};function XC(n,e,t){let{isSearchFieldVisible:i}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:_}=e;const d=Ht(),h={fireItemSelected:X=>{p.searchProvider.onSearchResultItemSelected(X)}};let p={},b,m;Yt(async()=>{t(7,p=_);let X=a;const _e=C(p.searchProvider);_e&&(X.placeholder=_e),v()}),zi(()=>{t(7,p=_),v()});function v(){p.searchProvider&&(t(8,b=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function C(X){if(!X||!X.inputPlaceholder)return;const _e=bt.getCurrentLocale();if(le.isFunction(X.inputPlaceholder))return X.inputPlaceholder();if(typeof X.inputPlaceholder=="string"){const ie=bt.getTranslation(X.inputPlaceholder);return ie&&ie.trim().length>0?ie:X.inputPlaceholder}if(typeof X.inputPlaceholder=="object")return X.inputPlaceholder[_e]}function y(X,_e,ie){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(X,_e.children[ie],h)}),""}function P(){d("closeSearchResult")}function I({keyCode:X}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&X===mn?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&X===_n?p.searchProvider.onEscape():X===Bn?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function A(X){let _e=c.children;if(_e)for(let ie=0;ie<_e.length;ie++){let{childNodes:oe,nextSibling:ve,previousSibling:re}=_e[ie],Ee;if(oe[0].getAttribute("aria-selected")==="true"){X===Bn&&(Ee=ve!==null?ve:_e[0]),X===Vl&&(Ee=re!==null?re:_e[_e.length-1]),oe[0].setAttribute("aria-selected","false"),Ee.childNodes[0].setAttribute("aria-selected","true"),Ee.focus();break}}}function D(){let X=c.children;if(X)for(let _e=0;_e<X.length;_e++){let ie=X[_e];ie.childNodes[0].getAttribute("aria-selected")==="true"&&ie.childNodes[0].setAttribute("aria-selected","false")}}function V(X){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(X):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===_n&&p.searchProvider.onEscape()}function F(X,{keyCode:_e}){_e===mn&&p.searchProvider.onSearchResultItemSelected(X),_e===Vl||_e===Bn?A(_e):le.isFunction(p.searchProvider.onEscape)&&_e===_n&&(D(),setTimeout(()=>{a.focus()}),p.searchProvider.onEscape())}function U(X){let _e=X.pathObject;_e.externalLink?it.navigateToLink(_e):d("handleSearchNavigation",{node:_e})}function E(){a&&a.focus()}function Y(){if(i?t(0,r=!1):setTimeout(()=>{E()}),d("toggleSearch",{isSearchFieldVisible:i,inputElem:a,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const X=i===void 0?!0:!i;p.searchProvider.toggleSearch(a,X)}}const j=X=>I(X);function Z(X){Xe[X?"unshift":"push"](()=>{a=X,t(1,a)})}const de=(X,_e)=>V(X),te=(X,_e)=>F(X,_e);function G(X){Xe[X?"unshift":"push"](()=>{c=X,t(3,c)})}function Q(X){Xe[X?"unshift":"push"](()=>{o=X,t(2,o)})}return n.$$set=X=>{"isSearchFieldVisible"in X&&t(4,i=X.isSearchFieldVisible),"searchResult"in X&&t(5,l=X.searchResult),"displaySearchResult"in X&&t(0,r=X.displaySearchResult),"inputElem"in X&&t(1,a=X.inputElem),"luigiCustomSearchRenderer__slot"in X&&t(2,o=X.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in X&&t(3,c=X.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in X&&t(15,_=X.globalSearchConfig)},[r,a,o,c,i,l,Y,p,b,m,y,P,I,V,F,_,U,j,Z,de,te,G,Q]}class $C extends Et{constructor(e){super(),At(this,e,XC,JC,Nt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function eh(n,e,t){const i=n.slice();return i[39]=e[t],i[41]=t,i}function xC(n){let e,t,i,l,r,a,o,c,_,d,h;return{c(){e=S("input"),t=z(),i=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=z(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=z(),_=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(i,"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(_,"class","fd-shellbar__search-field-helper")},m(p,b){L(p,e,b),n[24](e),L(p,t,b),L(p,i,b),w(i,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(p,_,b),d||(h=[ne(e,"keyup",n[23]),ne(e,"input",n[25]),ne(l,"click",n[18]),ne(o,"click",n[16])],d=!0)},p:He,d(p){p&&T(e),n[24](null),p&&T(t),p&&T(i),p&&T(r),p&&T(a),p&&T(c),p&&T(_),d=!1,Qe(h)}}}function e4(n){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,i){L(t,e,i)},p:He,d(t){t&&T(e)}}}function t4(n){let e;return{c(){e=S("div")},m(t,i){L(t,e,i),n[29](e)},p:He,d(t){t&&T(e),n[29](null)}}}function i4(n){let e,t,i,l=n[4]&&th(n);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",i=!n[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=th(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&i!==(i=!r[0])&&f(e,"aria-hidden",i)},d(r){r&&T(e),l&&l.d()}}}function th(n){let e,t=n[4],i=[];for(let l=0;l<t.length;l+=1)i[l]=ih(eh(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null);n[28](e)},p(l,r){if(r[0]&1582104){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=eh(l,t,a);i[a]?i[a].p(o,r):(i[a]=ih(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&T(e),ft(i,l),n[28](null)}}}function n4(n){let e,t=n[13](n[39],n[3],n[41])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&T(i),l&&e.d()}}}function l4(n){let e,t,i,l=n[39].label+"",r,a,o,c=n[39].description+"",_,d,h;return{c(){e=S("a"),t=S("div"),i=S("div"),r=Te(l),a=z(),o=S("div"),_=Te(c),f(i,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(t,a),w(t,o),w(o,_),d||(h=ne(e,"click",Pt(a4)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[39].label+"")&&Le(r,l),b[0]&16&&c!==(c=p[39].description+"")&&Le(_,c)},d(p){p&&T(e),d=!1,h()}}}function ih(n){let e,t,i,l;function r(d,h){return d[10]?n4:l4}let a=r(n),o=a(n);function c(...d){return n[26](n[39],...d)}function _(...d){return n[27](n[39],...d)}return{c(){e=S("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+n[41]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,h){L(d,e,h),o.m(e,null),w(e,t),i||(l=[ne(e,"click",c),ne(e,"keyup",_)],i=!0)},p(d,h){n=d,a===(a=r(n))&&o?o.p(n,h):(o.d(1),o=a(n),o&&(o.c(),o.m(e,t)))},d(d){d&&T(e),o.d(),i=!1,Qe(l)}}}function nh(n){let e,t,i,l,r,a,o;return{c(){e=S("div"),t=S("div"),i=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(i,"class","fd-button fd-button--transparent fd-shellbar__button"),f(i,"aria-haspopup","true"),f(i,"aria-expanded",r=!n[5]),f(i,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-qeg9jv")},m(c,_){L(c,e,_),w(e,t),w(t,i),w(i,l),a||(o=[ne(i,"click",n[6]),ne(t,"click",Vt(o4))],a=!0)},p(c,_){_[0]&32&&r!==(r=!c[5])&&f(i,"aria-expanded",r)},d(c){c&&T(e),a=!1,Qe(o)}}}function lh(n){let e,t,i=n[11](n[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Te(i),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!n[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(n[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(_,d){L(_,e,d),w(e,t),w(t,l),o||(c=ne(t,"click",Vt(n[30])),o=!0)},p(_,d){d[0]&2176&&i!==(i=_[11](_[7])+"")&&Le(l,i),d[0]&32&&r!==(r=!_[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(_[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(_){_&&T(e),o=!1,c()}}}function r4(n){let e,t,i,l,r,a,o,c,_,d,h,p;function b(D,V){return D[8]&&D[8].disableInputHandlers?e4:xC}let m=b(n),v=m(n);function C(D,V){return D[9]?t4:i4}let y=C(n),P=y(n),I=!n[5]&&nh(n),A=n[5]&&lh(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),v.c(),r=z(),P.c(),c=z(),I&&I.c(),_=z(),A&&A.c(),d=Ce(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(i,"class","luigi-search fd-shellbar__group"),f(i,"aria-hidden",a=!n[5]),f(i,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(n[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(D,V){L(D,e,V),w(e,t),w(t,i),w(i,l),v.m(l,null),w(i,r),P.m(i,null),L(D,c,V),I&&I.m(D,V),L(D,_,V),A&&A.m(D,V),L(D,d,V),h||(p=[ne(window,"click",n[14]),ne(window,"blur",n[14]),ne(i,"click",Vt(s4))],h=!0)},p(D,V){m===(m=b(D))&&v?v.p(D,V):(v.d(1),v=m(D),v&&(v.c(),v.m(l,null))),y===(y=C(D))&&P?P.p(D,V):(P.d(1),P=y(D),P&&(P.c(),P.m(i,null))),V[0]&32&&a!==(a=!D[5])&&f(i,"aria-hidden",a),V[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(D[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),D[5]?I&&(I.d(1),I=null):I?I.p(D,V):(I=nh(D),I.c(),I.m(_.parentNode,_)),D[5]?A?A.p(D,V):(A=lh(D),A.c(),A.m(d.parentNode,d)):A&&(A.d(1),A=null)},i:He,o:He,d(D){D&&T(e),v.d(),P.d(),D&&T(c),I&&I.d(D),D&&T(_),A&&A.d(D),D&&T(d),h=!1,Qe(p)}}}const a4=()=>{},s4=()=>{},o4=()=>{};function u4(n,e,t){let i,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:_}=e;const d=Ht(),h={fireItemSelected:W=>{m.searchProvider.onSearchResultItemSelected(W)}};let p=fl.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,m={},v,C,y=pt("getTranslation");bn(n,y,W=>t(11,i=W)),Yt(async()=>{t(8,m=_),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let W=a;const se=I(m.searchProvider);se&&(W.placeholder=se),P(),Gf.handleVisibilityGlobalSearch();const Ie=document.querySelector(".lui-global-search");Ie&&new ResizeObserver(Fe=>{Gf.handleVisibilityGlobalSearch()}).observe(Ie)}),zi(()=>{t(8,m=_),P(),U()});function P(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,C=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function I(W){if(!W||!W.inputPlaceholder)return;const se=bt.getCurrentLocale();if(le.isFunction(W.inputPlaceholder))return W.inputPlaceholder();if(typeof W.inputPlaceholder=="string"){const Ie=bt.getTranslation(W.inputPlaceholder);return Ie&&Ie.trim().length>0?Ie:W.inputPlaceholder}if(typeof W.inputPlaceholder=="object")return W.inputPlaceholder[se]}function A(W,se,Ie){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(W,se.children[Ie],h)}),""}function D(){d("closeSearchResult")}function V({keyCode:W}){m?le.isFunction(m.searchProvider.onEnter)&&W===mn?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&W===_n?m.searchProvider.onEscape():W===Bn?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function F(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function U(){a&&a.value}function E(){t(1,a.value="",a),D()}function Y(W){let se=c.children;if(se)for(let Ie=0;Ie<se.length;Ie++){let{childNodes:nt,nextSibling:Fe,previousSibling:pe}=se[Ie],Ge;if(nt[0].getAttribute("aria-selected")==="true"){W===Bn&&(Ge=Fe!==null?Fe:se[0]),W===Vl&&(Ge=pe!==null?pe:se[se.length-1]),nt[0].setAttribute("aria-selected","false"),Ge.childNodes[0].setAttribute("aria-selected","true"),Ge.focus();break}}}function j(){let W=c.children;if(W)for(let se=0;se<W.length;se++){let Ie=W[se];Ie.childNodes[0].getAttribute("aria-selected")==="true"&&Ie.childNodes[0].setAttribute("aria-selected","false")}}function Z(W){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(W):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===_n&&m.searchProvider.onEscape()}function de(W,{keyCode:se}){se===mn&&m.searchProvider.onSearchResultItemSelected(W),se===Vl||se===Bn?Y(se):le.isFunction(m.searchProvider.onEscape)&&se===_n&&(j(),setTimeout(()=>{a.focus()}),m.searchProvider.onEscape())}function te(W){let se=W.pathObject;se.externalLink?it.navigateToLink(se):d("handleSearchNavigation",{node:se})}function G(){a&&a.focus()}function Q(){if(b?t(0,r=!1):setTimeout(()=>{G()}),d("toggleSearch",{isSearchFieldVisible:b,inputElem:a,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const W=b===void 0?!0:!b;m.searchProvider.toggleSearch(a,W)}}const X=W=>V(W);function _e(W){Xe[W?"unshift":"push"](()=>{a=W,t(1,a)})}const ie=()=>U(),oe=(W,se)=>Z(W),ve=(W,se)=>de(W,se);function re(W){Xe[W?"unshift":"push"](()=>{c=W,t(3,c)})}function Ee(W){Xe[W?"unshift":"push"](()=>{o=W,t(2,o)})}const We=()=>Q();return n.$$set=W=>{"searchResult"in W&&t(4,l=W.searchResult),"displaySearchResult"in W&&t(0,r=W.displaySearchResult),"inputElem"in W&&t(1,a=W.inputElem),"luigiCustomSearchRenderer__slot"in W&&t(2,o=W.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in W&&t(3,c=W.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in W&&t(21,_=W.globalSearchConfig),"isSearchFieldVisible"in W&&t(5,b=W.isSearchFieldVisible)},[r,a,o,c,l,b,Q,p,m,v,C,i,y,A,D,V,F,U,E,Z,de,_,te,X,_e,ie,oe,ve,re,Ee,We]}class f4 extends Et{constructor(e){super(),At(this,e,u4,r4,Nt,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:21,isSearchFieldVisible:5,onActionClick:22,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[22]}get toggleSearch(){return this.$$.ctx[6]}}function rh(n){let e,t;function i(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?d4:c4}let l=i(n,-1),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function c4(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),Ze(e.src,t=n[0].icon)||f(e,"src",t),f(e,"alt",i=n[0].altText?n[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&i!==(i=l[0].altText?l[0].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function d4(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))&&f(e,"class",t)},d(i){i&&T(e)}}}function ah(n){let e,t=n[3](n[0])+"",i,l,r,a;return r=new $i({props:{node:n[0]}}),{c(){e=S("span"),i=Te(t),l=z(),Me(r.$$.fragment)},m(o,c){L(o,e,c),w(e,i),w(e,l),Ve(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(i,t);const _={};c&1&&(_.node=o[0]),r.$set(_)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){B(r.$$.fragment,o),a=!1},d(o){o&&T(e),Oe(r)}}}function g4(n){let e,t,i,l=n[0].icon&&rh(n),r=(!n[0].icon||n[0].showLabel)&&ah(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),i=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=rh(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=ah(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){i||(R(r),i=!0)},o(a){B(r),i=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function h4(n,e,t){let{node:i}=e;function l(o){return ue.isOpenUIiconName(o.icon)}function r(o){return ue.renderIconClassName(o)}function a(o){return ue.getNodeLabel(o)}return n.$$set=o=>{"node"in o&&t(0,i=o.node)},[i,l,r,a]}class Uo extends Et{constructor(e){super(),At(this,e,h4,g4,Nt,{node:0})}}const{Boolean:sp,window:sh}=dl;function oh(n,e,t){const i=n.slice();return i[106]=e[t],i[108]=t,i}function uh(n,e,t){const i=n.slice();return i[106]=e[t],i[109]=e,i[108]=t,i}function _4(n){let e,t;return e=new tp({props:{isHidden:!0,addNavHrefForAnchor:n[27]}}),e.$on("toggleDropdownState",n[98]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=i[27]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function p4(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m=(n[3]==="simple"||n[3]==="simpleMobileOnly"||n[3]==="Fiori3")&&fh(n);function v(V){n[56](V)}let C={pathData:n[29],pathParams:n[30],addNavHrefForAnchor:n[27]};n[6]!==void 0&&(C.dropDownStates=n[6]),l=new DS({props:C}),Xe.push(()=>_t(l,"dropDownStates",v,n[6])),l.$on("toggleDropdownState",n[38]),l.$on("handleClick",n[36]);let y=n[18]&&n[19]&&ch(n),P=(!n[0]||n[1])&&dh(n),I=(n[18]||n[7]&&n[29].length>0)&&hh(n),A=(n[0]||n[16])&&Ah(n),D=n[12]&&Eh(n);return{c(){e=S("div"),t=S("div"),m&&m.c(),i=z(),Me(l.$$.fragment),a=z(),y&&y.c(),o=z(),c=S("div"),P&&P.c(),_=z(),I&&I.c(),d=z(),A&&A.c(),h=z(),D&&D.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 "+(n[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(n[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(V,F){L(V,e,F),w(e,t),m&&m.m(t,null),w(t,i),Ve(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,_),I&&I.m(c,null),w(c,d),A&&A.m(c,null),w(c,h),D&&D.m(c,null),b=!0},p(V,F){V[3]==="simple"||V[3]==="simpleMobileOnly"||V[3]==="Fiori3"?m?m.p(V,F):(m=fh(V),m.c(),m.m(t,i)):m&&(m.d(1),m=null);const U={};F[0]&536870912&&(U.pathData=V[29]),F[0]&1073741824&&(U.pathParams=V[30]),F[0]&134217728&&(U.addNavHrefForAnchor=V[27]),!r&&F[0]&64&&(r=!0,U.dropDownStates=V[6],ht(()=>r=!1)),l.$set(U),V[18]&&V[19]?y?(y.p(V,F),F[0]&786432&&R(y,1)):(y=ch(V),y.c(),R(y,1),y.m(e,o)):y&&(ke(),B(y,1,1,()=>{y=null}),Se()),!V[0]||V[1]?P?(P.p(V,F),F[0]&3&&R(P,1)):(P=dh(V),P.c(),R(P,1),P.m(c,_)):P&&(ke(),B(P,1,1,()=>{P=null}),Se()),V[18]||V[7]&&V[29].length>0?I?(I.p(V,F),F[0]&537133184&&R(I,1)):(I=hh(V),I.c(),R(I,1),I.m(c,d)):I&&(ke(),B(I,1,1,()=>{I=null}),Se()),V[0]||V[16]?A?(A.p(V,F),F[0]&65537&&R(A,1)):(A=Ah(V),A.c(),R(A,1),A.m(c,h)):A&&(ke(),B(A,1,1,()=>{A=null}),Se()),V[12]?D?(D.p(V,F),F[0]&4096&&R(D,1)):(D=Eh(V),D.c(),R(D,1),D.m(c,null)):D&&(ke(),B(D,1,1,()=>{D=null}),Se()),(!b||F[0]&67108868&&p!==(p="fd-shellbar "+(V[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(V[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(V){b||(R(l.$$.fragment,V),R(y),R(P),R(I),R(A),R(D),b=!0)},o(V){B(l.$$.fragment,V),B(y),B(P),B(I),B(A),B(D),b=!1},d(V){V&&T(e),m&&m.d(),Oe(l),y&&y.d(),P&&P.d(),I&&I.d(),A&&A.d(),D&&D.d()}}}function fh(n){let e,t,i,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",n[25])},m(r,a){L(r,e,a),w(e,t),i||(l=ne(e,"click",n[51]),i=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&T(e),i=!1,l()}}}function ch(n){let e,t,i,l,r,a,o,c;function _(v){n[57](v)}function d(v){n[58](v)}function h(v){n[59](v)}function p(v){n[60](v)}function b(v){n[61](v)}let m={globalSearchConfig:n[18]};return n[20]!==void 0&&(m.isSearchFieldVisible=n[20]),n[24]!==void 0&&(m.searchResult=n[24]),n[23]!==void 0&&(m.displaySearchResult=n[23]),n[21]!==void 0&&(m.inputElem=n[21]),n[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=n[22]),t=new f4({props:m}),Xe.push(()=>_t(t,"isSearchFieldVisible",_,n[20])),Xe.push(()=>_t(t,"searchResult",d,n[24])),Xe.push(()=>_t(t,"displaySearchResult",h,n[23])),Xe.push(()=>_t(t,"inputElem",p,n[21])),Xe.push(()=>_t(t,"luigiCustomSearchRenderer__slot",b,n[22])),t.$on("toggleSearch",n[62]),t.$on("handleSearchNavigation",n[63]),t.$on("closeSearchResult",n[64]),{c(){e=S("div"),Me(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Ve(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!i&&C[0]&1048576&&(i=!0,y.isSearchFieldVisible=v[20],ht(()=>i=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],ht(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],ht(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],ht(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],ht(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&T(e),Oe(t)}}}function dh(n){let e,t,i,l,r=n[18]&&!n[19]&&gh(n);function a(c){n[73](c)}let o={isMobile:!1,addNavHrefForAnchor:n[27]};return n[6]!==void 0&&(o.dropDownStates=n[6]),t=new rp({props:o}),Xe.push(()=>_t(t,"dropDownStates",a,n[6])),t.$on("toggleDropdownState",n[74]),{c(){r&&r.c(),e=z(),Me(t.$$.fragment)},m(c,_){r&&r.m(c,_),L(c,e,_),Ve(t,c,_),l=!0},p(c,_){c[18]&&!c[19]?r?(r.p(c,_),_[0]&786432&&R(r,1)):(r=gh(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),B(r,1,1,()=>{r=null}),Se());const d={};_[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!i&&_[0]&64&&(i=!0,d.dropDownStates=c[6],ht(()=>i=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){B(r),B(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&T(e),Oe(t,c)}}}function gh(n){let e,t,i,l,r,a,o;function c(m){n[65](m)}function _(m){n[66](m)}function d(m){n[67](m)}function h(m){n[68](m)}function p(m){n[69](m)}let b={globalSearchConfig:n[18]};return n[20]!==void 0&&(b.isSearchFieldVisible=n[20]),n[24]!==void 0&&(b.searchResult=n[24]),n[23]!==void 0&&(b.displaySearchResult=n[23]),n[21]!==void 0&&(b.inputElem=n[21]),n[22]!==void 0&&(b.luigiCustomSearchRenderer__slot=n[22]),e=new $C({props:b}),Xe.push(()=>_t(e,"isSearchFieldVisible",c,n[20])),Xe.push(()=>_t(e,"searchResult",_,n[24])),Xe.push(()=>_t(e,"displaySearchResult",d,n[23])),Xe.push(()=>_t(e,"inputElem",h,n[21])),Xe.push(()=>_t(e,"luigiCustomSearchRenderer__slot",p,n[22])),e.$on("toggleSearch",n[70]),e.$on("handleSearchNavigation",n[71]),e.$on("closeSearchResult",n[72]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],ht(()=>t=!1)),!i&&v[0]&16777216&&(i=!0,C.searchResult=m[24],ht(()=>i=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],ht(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],ht(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.luigiCustomSearchRenderer__slot=m[22],ht(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){B(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function hh(n){let e,t,i,l=n[7]&&n[29].length>0&&_h(n),r=(n[9]-n[10]>0||n[12]||n[45]||n[18])&&vh(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),i=!0},p(a,o){a[7]&&a[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=_h(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ke(),B(l,1,1,()=>{l=null}),Se()),a[9]-a[10]>0||a[12]||a[45]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&16384&&R(r,1)):(r=vh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){i||(R(l),R(r),i=!0)},o(a){B(l),B(r),i=!1},d(a){l&&l.d(a),a&&T(e),r&&r.d(a),a&&T(t)}}}function _h(n){let e,t,i=n[7],l=[];for(let a=0;a<i.length;a+=1)l[a]=bh(uh(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1207960032|o[1]&917584){i=a[7];let c;for(c=0;c<i.length;c+=1){const _=uh(a,i,c);l[c]?(l[c].p(_,o),R(l[c],1)):(l[c]=bh(_),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(sp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&T(e)}}}function ph(n){let e,t,i,l;const r=[b4,m4],a=[];function o(c,_){return c[106].isCat?0:1}return e=o(n),t=a[e]=r[e](n),{c(){t.c(),i=Ce()},m(c,_){a[e].m(c,_),L(c,i,_),l=!0},p(c,_){let d=e;e=o(c),e===d?a[e].p(c,_):(ke(),B(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,_):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(i.parentNode,i))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&T(i)}}}function m4(n){let e,t,i,l,r;const a=[w4,v4],o=[];function c(_,d){return _[27]?0:1}return t=c(n),i=o[t]=a[t](n),{c(){e=S("div"),i.c(),l=z(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(_,d){L(_,e,d),o[t].m(e,null),w(e,l),r=!0},p(_,d){let h=t;t=c(_),t===h?o[t].p(_,d):(ke(),B(o[h],1,1,()=>{o[h]=null}),Se(),i=o[t],i?i.p(_,d):(i=o[t]=a[t](_),i.c()),R(i,1),i.m(e,l))},i(_){r||(R(i),r=!0)},o(_){B(i),r=!1},d(_){_&&T(e),o[t].d()}}}function b4(n){let e=n[106].visibleChildren.filter(Rh).length>0,t,i,l=e&&mh(n);return{c(){l&&l.c(),t=Ce()},m(r,a){l&&l.m(r,a),L(r,t,a),i=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(Rh).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=mh(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ke(),B(l,1,1,()=>{l=null}),Se())},i(r){i||(R(l),i=!0)},o(r){B(l),i=!1},d(r){l&&l.d(r),r&&T(t)}}}function v4(n){let e,t,i,l,r,a,o,c,_,d,h;function p(v){n[79](v,n[106],n[109],n[108])}let b={};n[106]!==void 0&&(b.node=n[106]),t=new Uo({props:b}),Xe.push(()=>_t(t,"node",p,n[106])),r=new vi({props:{node:n[106]}});function m(){return n[80](n[106])}return{c(){e=S("button"),Me(t.$$.fragment),l=z(),Me(r.$$.fragment),f(e,"title",a=n[50](n[106],n[48](n[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=ue.getTestId(n[106]))},m(v,C){L(v,e,C),Ve(t,e,null),w(e,l),Ve(r,e,null),_=!0,d||(h=ne(e,"click",m),d=!0)},p(v,C){n=v;const y={};!i&&C[0]&128&&(i=!0,y.node=n[106],ht(()=>i=!1)),t.$set(y);const P={};C[0]&128&&(P.node=n[106]),r.$set(P),(!_||C[0]&128&&a!==(a=n[50](n[106],n[48](n[106]))))&&f(e,"title",a),(!_||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!_||C[0]&128&&c!==(c=ue.getTestId(n[106])))&&f(e,"data-testid",c)},i(v){_||(R(t.$$.fragment,v),R(r.$$.fragment,v),_=!0)},o(v){B(t.$$.fragment,v),B(r.$$.fragment,v),_=!1},d(v){v&&T(e),Oe(t),Oe(r),d=!1,h()}}}function w4(n){let e,t,i,l,r,a,o,c,_,d,h,p;function b(C){n[77](C,n[106],n[109],n[108])}let m={};n[106]!==void 0&&(m.node=n[106]),t=new Uo({props:m}),Xe.push(()=>_t(t,"node",b,n[106])),r=new vi({props:{node:n[106]}});function v(...C){return n[78](n[106],...C)}return{c(){e=S("a"),Me(t.$$.fragment),l=z(),Me(r.$$.fragment),f(e,"href",a=n[49](n[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=n[50](n[106],n[48](n[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",_=ue.getTestId(n[106]))},m(C,y){L(C,e,y),Ve(t,e,null),w(e,l),Ve(r,e,null),d=!0,h||(p=ne(e,"click",v),h=!0)},p(C,y){n=C;const P={};!i&&y[0]&128&&(i=!0,P.node=n[106],ht(()=>i=!1)),t.$set(P);const I={};y[0]&128&&(I.node=n[106]),r.$set(I),(!d||y[0]&128&&a!==(a=n[49](n[106])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=n[50](n[106],n[48](n[106]))))&&f(e,"title",c),(!d||y[0]&128&&_!==(_=ue.getTestId(n[106])))&&f(e,"data-testid",_)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){B(t.$$.fragment,C),B(r.$$.fragment,C),d=!1},d(C){C&&T(e),Oe(t),Oe(r),h=!1,p()}}}function mh(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v,C,y,P,I,A;function D(U){n[75](U,n[106],n[109],n[108])}let V={};n[106]!==void 0&&(V.node=n[106]),r=new Uo({props:V}),Xe.push(()=>_t(r,"node",D,n[106])),c=new vi({props:{node:n[106]}});function F(){return n[76](n[108])}return v=new np({props:{node:n[106],isMobile:!1,pathParams:n[30],addNavHrefForAnchor:n[27]}}),{c(){e=S("div"),t=S("div"),i=S("div"),l=S("button"),Me(r.$$.fragment),o=z(),Me(c.$$.fragment),b=z(),m=S("div"),Me(v.$$.fragment),y=z(),f(l,"title",_=n[50](n[106],n[48](n[106]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+n[108]),f(l,"aria-expanded",h=n[6][`dropDownPopover-${n[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=ue.getTestId(n[106])),f(i,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!n[6][`dropDownPopover-${n[108]}`]),f(m,"id","dropDownPopover-"+n[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(U,E){L(U,e,E),w(e,t),w(t,i),w(i,l),Ve(r,l,null),w(l,o),Ve(c,l,null),w(t,b),w(t,m),Ve(v,m,null),w(e,y),P=!0,I||(A=[ne(l,"click",F),ne(i,"click",Vt(O4))],I=!0)},p(U,E){n=U;const Y={};!a&&E[0]&128&&(a=!0,Y.node=n[106],ht(()=>a=!1)),r.$set(Y);const j={};E[0]&128&&(j.node=n[106]),c.$set(j),(!P||E[0]&128&&_!==(_=n[50](n[106],n[48](n[106]))))&&f(l,"title",_),(!P||E[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||E[0]&64&&h!==(h=n[6][`dropDownPopover-${n[108]}`]||!1))&&f(l,"aria-expanded",h),(!P||E[0]&128&&p!==(p=ue.getTestId(n[106])))&&f(l,"data-testid",p);const Z={};E[0]&128&&(Z.node=n[106]),E[0]&1073741824&&(Z.pathParams=n[30]),E[0]&134217728&&(Z.addNavHrefForAnchor=n[27]),v.$set(Z),(!P||E[0]&64&&C!==(C=!n[6][`dropDownPopover-${n[108]}`]))&&f(m,"aria-hidden",C)},i(U){P||(R(r.$$.fragment,U),R(c.$$.fragment,U),R(v.$$.fragment,U),P=!0)},o(U){B(r.$$.fragment,U),B(c.$$.fragment,U),B(v.$$.fragment,U),P=!1},d(U){U&&T(e),Oe(r),Oe(c),Oe(v),I=!1,Qe(A)}}}function bh(n){let e,t,i=!(n[106].hideFromNav||n[5]&&n[106].globalNav)&&ph(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&160&&R(i,1)):(i=ph(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function vh(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v,C,y,P,I,A,D,V,F,U;_=new vi({props:{node:n[11],special:"true"}});let E=n[18]&&!n[19]&&wh(n),Y=n[45]&&(!n[0]||n[1])&&kh(n),j=n[7]&&Sh(n),Z=n[12]&&Nh(n),de=n[12]&&Ih(n),te=n[14]&&Th(n),G=(!n[0]||n[1])&&Lh(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=z(),Me(_.$$.fragment),h=z(),p=S("div"),b=S("nav"),m=S("ul"),E&&E.c(),v=z(),Y&&Y.c(),C=z(),j&&j.c(),y=z(),Z&&Z.c(),I=z(),de&&de.c(),A=z(),te&&te.c(),D=z(),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=n[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=!n[6].overflowPopover),f(p,"id","overflowPopover"),f(i,"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(Q,X){L(Q,e,X),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),w(a,o),w(a,c),Ve(_,a,null),w(i,h),w(i,p),w(p,b),w(b,m),E&&E.m(m,null),w(m,v),Y&&Y.m(m,null),w(m,C),j&&j.m(m,null),w(m,y),Z&&Z.m(m,null),w(i,I),de&&de.m(i,null),w(i,A),te&&te.m(i,null),w(i,D),G&&G.m(i,null),V=!0,F||(U=[ne(a,"click",n[81]),ne(l,"click",Vt(M4))],F=!0)},p(Q,X){const _e={};X[0]&2048&&(_e.node=Q[11]),_.$set(_e),(!V||X[0]&64&&d!==(d=Q[6].overflowPopover||!1))&&f(a,"aria-expanded",d),Q[18]&&!Q[19]?E?E.p(Q,X):(E=wh(Q),E.c(),E.m(m,v)):E&&(E.d(1),E=null),Q[45]&&(!Q[0]||Q[1])?Y?Y.p(Q,X):(Y=kh(Q),Y.c(),Y.m(m,C)):Y&&(Y.d(1),Y=null),Q[7]?j?(j.p(Q,X),X[0]&128&&R(j,1)):(j=Sh(Q),j.c(),R(j,1),j.m(m,y)):j&&(ke(),B(j,1,1,()=>{j=null}),Se()),Q[12]?Z?Z.p(Q,X):(Z=Nh(Q),Z.c(),Z.m(m,null)):Z&&(Z.d(1),Z=null),(!V||X[0]&64&&P!==(P=!Q[6].overflowPopover))&&f(p,"aria-hidden",P),Q[12]?de?(de.p(Q,X),X[0]&4096&&R(de,1)):(de=Ih(Q),de.c(),R(de,1),de.m(i,A)):de&&(ke(),B(de,1,1,()=>{de=null}),Se()),Q[14]?te?(te.p(Q,X),X[0]&16384&&R(te,1)):(te=Th(Q),te.c(),R(te,1),te.m(i,D)):te&&(ke(),B(te,1,1,()=>{te=null}),Se()),!Q[0]||Q[1]?G?(G.p(Q,X),X[0]&3&&R(G,1)):(G=Lh(Q),G.c(),R(G,1),G.m(i,null)):G&&(ke(),B(G,1,1,()=>{G=null}),Se())},i(Q){V||(R(_.$$.fragment,Q),R(j),R(de),R(te),R(G),V=!0)},o(Q){B(_.$$.fragment,Q),B(j),B(de),B(te),B(G),V=!1},d(Q){Q&&T(e),Oe(_),E&&E.d(),Y&&Y.d(),j&&j.d(),Z&&Z.d(),de&&de.d(),te&&te.d(),G&&G.d(),F=!1,Qe(U)}}}function wh(n){let e,t,i,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
|
|
58
|
-
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),i||(l=ne(t,"click",Vt(n[82])),i=!0)},p:He,d(r){r&&T(e),i=!1,l()}}}function kh(n){let e,t,i,l,r,a,o=(n[43]?n[43]:n[44])+"",c,_,d;return{c(){e=S("li"),t=S("a"),i=S("i"),r=z(),a=S("span"),c=Te(o),f(i,"class",l="sap-icon fd-top-nav__icon "+(n[45].icon&&n[47](n[45])?n[46](n[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(h,p){L(h,e,p),w(e,t),w(t,i),w(t,r),w(t,a),w(a,c),_||(d=ne(t,"click",Vt(n[32])),_=!0)},p(h,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(h[45].icon&&h[47](h[45])?h[46](h[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(i,"class",l),p[1]&12288&&o!==(o=(h[43]?h[43]:h[44])+"")&&Le(c,o)},d(h){h&&T(e),_=!1,d()}}}function Sh(n){let e,t,i=n[7],l=[];for(let a=0;a<i.length;a+=1)l[a]=Ph(oh(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&1015828){i=a[7];let c;for(c=0;c<i.length;c+=1){const _=oh(a,i,c);l[c]?(l[c].p(_,o),R(l[c],1)):(l[c]=Ph(_),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(sp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&T(e)}}}function Ch(n){let e,t,i,l,r;const a=[S4,k4],o=[];function c(_,d){return d[0]&128&&(e=null),_[106].isCat?(e==null&&(e=_[106].visibleChildren.filter(V4).length>0),e?1:-1):0}return~(t=c(n,[-1,-1,-1,-1]))&&(i=o[t]=a[t](n)),{c(){i&&i.c(),l=Ce()},m(_,d){~t&&o[t].m(_,d),L(_,l,d),r=!0},p(_,d){let h=t;t=c(_,d),t===h?~t&&o[t].p(_,d):(i&&(ke(),B(o[h],1,1,()=>{o[h]=null}),Se()),~t?(i=o[t],i?i.p(_,d):(i=o[t]=a[t](_),i.c()),R(i,1),i.m(l.parentNode,l)):i=null)},i(_){r||(R(i),r=!0)},o(_){B(i),r=!1},d(_){~t&&o[t].d(_),_&&T(l)}}}function k4(n){let e,t,i,l,r,a,o,c,_=n[48](n[106])+"",d,h,p,b,m,v,C;function y(D,V){return V[0]&128&&(l=null),l==null&&(l=!!D[47](D[106])),l?y4:C4}let P=y(n,[-1,-1,-1,-1]),I=P(n);a=new vi({props:{node:n[106]}});function A(){return n[84](n[106])}return{c(){e=S("li"),t=S("a"),i=S("span"),I.c(),r=z(),Me(a.$$.fragment),o=z(),c=S("span"),d=Te(_),b=z(),f(i,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",h=n[49](n[106])),f(t,"title",p=n[50](n[106],n[48](n[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(D,V){L(D,e,V),w(e,t),w(t,i),I.m(i,null),w(i,r),Ve(a,i,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ne(t,"click",Pt(A)),v=!0)},p(D,V){n=D,P===(P=y(n,V))&&I?I.p(n,V):(I.d(1),I=P(n),I&&(I.c(),I.m(i,r)));const F={};V[0]&128&&(F.node=n[106]),a.$set(F),(!m||V[0]&128)&&_!==(_=n[48](n[106])+"")&&Le(d,_),(!m||V[0]&128&&h!==(h=n[49](n[106])))&&f(t,"href",h),(!m||V[0]&128&&p!==(p=n[50](n[106],n[48](n[106]))))&&f(t,"title",p)},i(D){m||(R(a.$$.fragment,D),m=!0)},o(D){B(a.$$.fragment,D),m=!1},d(D){D&&T(e),I.d(),Oe(a),v=!1,C()}}}function S4(n){let e,t,i,l=!n[47](n[106]),r,a,o,c,_,d=n[48](n[106])+"",h,p,b,m,v,C,y,P,I=l&&yh(n);a=new vi({props:{node:n[106]}});function A(){return n[83](n[106])}return{c(){e=S("li"),t=S("a"),i=S("span"),I&&I.c(),r=z(),Me(a.$$.fragment),c=z(),_=S("span"),h=Te(d),v=z(),f(i,"class",o="fd-top-nav__icon sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7"),f(_,"class","fd-menu__title"),f(t,"href",p=n[49](n[106])),f(t,"class",b="fd-menu__link "+(n[106]===n[8]?"is-selected":"")),f(t,"data-testid",m=ue.getTestId(n[106])+"-mobile"),f(e,"class","fd-menu__item")},m(D,V){L(D,e,V),w(e,t),w(t,i),I&&I.m(i,null),w(i,r),Ve(a,i,null),w(t,c),w(t,_),w(_,h),w(e,v),C=!0,y||(P=ne(t,"click",Pt(A)),y=!0)},p(D,V){n=D,V[0]&128&&(l=!n[47](n[106])),l?I?I.p(n,V):(I=yh(n),I.c(),I.m(i,r)):I&&(I.d(1),I=null);const F={};V[0]&128&&(F.node=n[106]),a.$set(F),(!C||V[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7"))&&f(i,"class",o),(!C||V[0]&128)&&d!==(d=n[48](n[106])+"")&&Le(h,d),(!C||V[0]&128&&p!==(p=n[49](n[106])))&&f(t,"href",p),(!C||V[0]&384&&b!==(b="fd-menu__link "+(n[106]===n[8]?"is-selected":"")))&&f(t,"class",b),(!C||V[0]&128&&m!==(m=ue.getTestId(n[106])+"-mobile"))&&f(t,"data-testid",m)},i(D){C||(R(a.$$.fragment,D),C=!0)},o(D){B(a.$$.fragment,D),C=!1},d(D){D&&T(e),I&&I.d(),Oe(a),y=!1,P()}}}function C4(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[106].icon)||f(e,"src",t),f(e,"alt",i=n[106].altText?n[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!Ze(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&i!==(i=l[106].altText?l[106].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function y4(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")},m(i,l){L(i,e,l)},p(i,l){l[0]&128&&t!==(t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(i){i&&T(e)}}}function yh(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[106].icon)||f(e,"src",t),f(e,"alt",i=n[106].altText?n[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!Ze(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&i!==(i=l[106].altText?l[106].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function Ph(n){let e,t,i=!(n[106].hideFromNav||n[5]&&n[106].globalNav)&&Ch(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&160&&R(i,1)):(i=Ch(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Nh(n){let e,t,i,l,r,a=n[13].label+"",o,c,_;function d(b,m){return m[0]&8192&&(i=null),i==null&&(i=!!(b[47](b[13])||!b[13].icon)),i?N4:P4}let h=d(n,[-1,-1,-1,-1]),p=h(n);return{c(){e=S("li"),t=S("a"),p.c(),l=z(),r=S("span"),o=Te(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(_=ne(t,"click",Vt(n[31])),c=!0)},p(b,m){h===(h=d(b,m))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&T(e),p.d(),c=!1,_()}}}function P4(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[13].icon)||f(t,"src",i),f(t,"alt",l=n[13].altText?n[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[13].icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&T(e)}}}function N4(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-p1ljc7")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(i){i&&T(e)}}}function Ih(n){let e,t,i;function l(a){n[85](a)}let r={isMobile:!0};return n[6]!==void 0&&(r.dropDownStates=n[6]),e=new ap({props:r}),Xe.push(()=>_t(e,"dropDownStates",l,n[6])),e.$on("toggleDropdownState",n[86]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),i=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ht(()=>t=!1)),e.$set(c)},i(a){i||(R(e.$$.fragment,a),i=!0)},o(a){B(e.$$.fragment,a),i=!1},d(a){Oe(e,a)}}}function Th(n){let e,t;return e=new np({props:{node:n[15],isMobile:!0,pathParams:n[30]}}),e.$on("close",n[34]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&32768&&(r.node=i[15]),l[0]&1073741824&&(r.pathParams=i[30]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Lh(n){let e,t,i,l,r;function a(d){n[87](d)}function o(d){n[88](d)}function c(d){n[89](d)}let _={isMobile:!0,contextSwitcherToggle:n[42]};return n[6]!==void 0&&(_.dropDownStates=n[6]),n[43]!==void 0&&(_.selectedLabel=n[43]),n[44]!==void 0&&(_.defaultLabel=n[44]),e=new rp({props:_}),Xe.push(()=>_t(e,"dropDownStates",a,n[6])),Xe.push(()=>_t(e,"selectedLabel",o,n[43])),Xe.push(()=>_t(e,"defaultLabel",c,n[44])),e.$on("toggleDropdownState",n[90]),{c(){Me(e.$$.fragment)},m(d,h){Ve(e,d,h),r=!0},p(d,h){const p={};h[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&h[0]&64&&(t=!0,p.dropDownStates=d[6],ht(()=>t=!1)),!i&&h[1]&4096&&(i=!0,p.selectedLabel=d[43],ht(()=>i=!1)),!l&&h[1]&8192&&(l=!0,p.defaultLabel=d[44],ht(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){B(e.$$.fragment,d),r=!1},d(d){Oe(e,d)}}}function Ah(n){let e,t,i,l,r;const a=[T4,I4],o=[];function c(_,d){return d[0]&16&&(t=null),t==null&&(t=!!(_[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return i=c(n,[-1,-1,-1,-1]),l=o[i]=a[i](n),{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(_,d){L(_,e,d),o[i].m(e,null),r=!0},p(_,d){let h=i;i=c(_,d),i===h?o[i].p(_,d):(ke(),B(o[h],1,1,()=>{o[h]=null}),Se(),l=o[i],l?l.p(_,d):(l=o[i]=a[i](_),l.c()),R(l,1),l.m(e,null))},i(_){r||(R(l),r=!0)},o(_){B(l),r=!1},d(_){_&&T(e),o[i].d()}}}function I4(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v;function C(I,A){return I[17].picture?A4:L4}let y=C(n),P=y(n);return h=new tp({props:{addNavHrefForAnchor:n[27]}}),h.$on("toggleDropdownState",n[95]),h.$on("userInfoUpdated",n[41]),{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("button"),P.c(),_=z(),d=S("div"),Me(h.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(r,"aria-expanded",a=n[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=n[17].name?n[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=n[17].picture?"fd-shellbar__button--user-menu":""),f(i,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!n[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-p1ljc7")},m(I,A){L(I,e,A),w(e,t),w(t,i),w(i,l),w(l,r),P.m(r,null),w(t,_),w(t,d),Ve(h,d,null),b=!0,m||(v=[ne(r,"click",n[94]),ne(i,"click",Vt(U4))],m=!0)},p(I,A){y===(y=C(I))&&P?P.p(I,A):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||A[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||A[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||A[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const D={};A[0]&134217728&&(D.addNavHrefForAnchor=I[27]),h.$set(D),(!b||A[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(h.$$.fragment,I),b=!0)},o(I){B(h.$$.fragment,I),b=!1},d(I){I&&T(e),P.d(),Oe(h),m=!1,Qe(v)}}}function T4(n){let e,t,i,l,r,a,o,c,_;function d(b,m){return b[17].picture?R4:E4}let h=d(n),p=h(n);return r=new zS({props:{addNavHrefForAnchor:n[27]}}),r.$on("toggleDropdownState",n[93]),r.$on("userInfoUpdated",n[41]),{c(){e=S("div"),t=S("div"),p.c(),i=z(),l=S("div"),Me(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!n[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,i),w(e,l),Ve(r,l,null),o=!0,c||(_=ne(t,"click",Vt(F4)),c=!0)},p(b,m){h===(h=d(b))&&p?p.p(b,m):(p.d(1),p=h(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){B(r.$$.fragment,b),o=!1},d(b){b&&T(e),p.d(),Oe(r),c=!1,_()}}}function L4(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(i,l){L(i,e,l)},p(i,l){l[0]&131072&&t!==(t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(i){i&&T(e)}}}function A4(n){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Li(e,"background-image","url('"+n[17].picture+"')")},m(t,i){L(t,e,i)},p(t,i){i[0]&131072&&Li(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&T(e)}}}function E4(n){let e,t=(n[17].initials?n[17].initials:"")+"",i,l,r,a;return{c(){e=S("button"),i=Te(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=n[17].name?n[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,i),r||(a=ne(e,"click",n[92]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Le(i,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&T(e),r=!1,a()}}}function R4(n){let e,t,i,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=n[17].name?n[17].name:void 0),f(e,"tabindex","0"),Li(e,"background-image","url('"+n[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),i||(l=ne(e,"click",n[91]),i=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&Li(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&T(e),i=!1,l()}}}function Eh(n){let e,t,i;function l(a){n[96](a)}let r={isMobile:!1,addNavHrefForAnchor:n[27]};return n[6]!==void 0&&(r.dropDownStates=n[6]),e=new ap({props:r}),Xe.push(()=>_t(e,"dropDownStates",l,n[6])),e.$on("toggleDropdownState",n[97]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),i=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ht(()=>t=!1)),e.$set(c)},i(a){i||(R(e.$$.fragment,a),i=!0)},o(a){B(e.$$.fragment,a),i=!1},d(a){Oe(e,a)}}}function D4(n){let e,t,i,l,r,a;const o=[p4,_4],c=[];function _(d,h){return d[28]?0:1}return e=_(n),t=c[e]=o[e](n),{c(){t.c(),i=Ce()},m(d,h){c[e].m(d,h),L(d,i,h),l=!0,r||(a=[ne(sh,"click",n[40]),ne(sh,"blur",n[40])],r=!0)},p(d,h){let p=e;e=_(d),e===p?c[e].p(d,h):(ke(),B(c[p],1,1,()=>{c[p]=null}),Se(),t=c[e],t?t.p(d,h):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(i.parentNode,i))},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&T(i),r=!1,Qe(a)}}}const V4=n=>!n.hideFromNav&&n.label,Rh=n=>!n.hideFromNav&&n.label,O4=()=>{},M4=()=>{},F4=()=>{},U4=()=>{};function B4(n,e,t){const i=Ht();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:_}=e,{showGlobalNav:d}=e,{pathData:h}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:I}=e,{isProductSwitcherAvailable:A}=e,{productSwitcherConfig:D}=e,{openMobileDropDown:V}=e,{nodeForMobile:F}=e,{profileItemsAvailable:U}=e,{userInfo:E={}}=e,{globalSearchConfig:Y}=e,{isGlobalSearchCentered:j}=e,{isSearchFieldVisible:Z}=e,{inputElem:de}=e,{luigiCustomSearchRenderer__slot:te}=e,{displaySearchResult:G}=e,{searchResult:Q}=e,{burgerTooltip:X}=e,{responsiveShellbarPadding:_e}=e,ie=pt("store"),oe=!1,ve,re,Ee=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:We=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const W=async()=>{if(h&&0<h.length){const J=await ue.generateTopNavNodes(h);t(7,v=J.children),t(8,C=J.selectedNode),t(9,y=J.visibleNodeCount),t(11,I=J.totalBadgeNode),t(10,P=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=h}},se=()=>{t(1,a=ul.isLoggedIn())};Yt(()=>{oi.doOnStoreChange(ie,()=>{t(0,l=hn.isAuthorizationEnabled()),t(16,U=ae.getConfigValue("navigation.profile")),t(52,r=!ae.getConfigValue("auth.disableAutoLogin")),t(12,A=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,_=ae.getConfigValue("settings.profileType")),t(26,_e=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,D=ue.getProductSwitcherConfig()),t(18,Y=ae.getConfigValue("globalSearch")),t(19,j=Y&&Y.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,We=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Ee=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),oi.doOnStoreChange(ie,()=>{W()},["navigation.viewgroupdata"]),Ai.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&W()})}),zi(()=>{(!p||p!=h)&&W(),se()});let{showTopNav:Ie}=e;function nt(J){return ue.renderIconClassName(J)}function Fe(J){return ue.isOpenUIiconName(J.icon)}const pe=J=>ue.getNodeLabel(J);function Ge(J){return we.getNodeHref(J,b)}function rt(J,Tt){return ue.generateTooltipText(J,Tt)}function qt(){It("productSwitcherPopover")}function vt(){t(42,oe=!oe),It("contextSwitcherPopover")}function Dt(J){t(14,V=!0),t(15,F=J)}function Ei(){t(14,V=!1)}function Gt(J){i("handleClick",{node:J})}function Kt(J){i("handleSearchNavigation",{node:J})}function gl(J){Gt(J.detail.node)}function It(J){const Tt=m||{},fi=!Tt[J];Hn(),Ei(),Tt[J]=fi,t(6,m=Tt)}function Qt(J){It(J.detail.name)}function Ri(){de&&de.focus()}function xi(){Z||setTimeout(()=>{Ri()}),i("toggleSearch",{isSearchFieldVisible:Z,inputElem:de,luigiCustomSearchRenderer__slot:te})}function Hn(){const J=m||{},Tt=Object.keys(J);Tt&&Tt.length>0&&Tt.forEach(fi=>{J[fi]=!1,t(6,m=J)})}function ii(){c==="simple"||c==="simpleMobileOnly"?qi():Wt(),_i()}function _i(){if(!ue.getBurgerTooltipConfig())return;const[J,Tt]=ue.getBurgerTooltipConfig();J&&Tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,X=document.body.classList.contains("lui-leftNavToggle")?J:Tt),document.body.classList.contains("lui-semiCollapsible")&&t(25,X=document.body.classList.contains("semiCollapsed")?J:Tt))}function qi(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&i("resizeTabNav",{})}function Wt(){gn.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&i("resizeTabNav",{})}function wi(J){const Tt=J.detail;t(17,E=Tt||{})}function vn(J){m=J,t(6,m)}function wn(J){Z=J,t(20,Z)}function ui(J){Q=J,t(24,Q)}function kn(J){G=J,t(23,G)}function Sn(J){de=J,t(21,de)}function Cn(J){te=J,t(22,te)}function yn(J){Rl.call(this,n,J)}function Pn(J){Rl.call(this,n,J)}function hl(J){Rl.call(this,n,J)}function _l(J){Z=J,t(20,Z)}function pl(J){Q=J,t(24,Q)}function Nn(J){G=J,t(23,G)}function Wn(J){de=J,t(21,de)}function zn(J){te=J,t(22,te)}function on(J){Rl.call(this,n,J)}function ml(J){Rl.call(this,n,J)}function $(J){Rl.call(this,n,J)}function Pe(J){m=J,t(6,m)}const et=()=>It("contextSwitcherPopover");function dt(J,Tt,fi,en){fi[en]=J,t(7,v)}const St=J=>It(`dropDownPopover-${J}`);function Xt(J,Tt,fi,en){fi[en]=J,t(7,v)}const Di=(J,Tt)=>{ue.handleNavAnchorClickedWithoutMetaKey(Tt)&&Gt(J)};function ki(J,Tt,fi,en){fi[en]=J,t(7,v)}const Vi=J=>Gt(J),bl=()=>It("overflowPopover"),qn=()=>{xi(),It("overflowPopover")},Ml=J=>Gt(J),Fl=J=>Dt(J);function Ul(J){m=J,t(6,m)}const hr=()=>It("productSwitcherPopover");function Si(J){m=J,t(6,m)}function Gn(J){ve=J,t(43,ve)}function vl(J){re=J,t(44,re)}const Bl=()=>It("contextSwitcherPopover"),_r=()=>It("profilePopover"),Kn=()=>It("profilePopover"),wl=()=>It("profilePopover"),kl=()=>It("profilePopover"),un=()=>It("profilePopover");function Hl(J){m=J,t(6,m)}const In=()=>It("productSwitcherPopover"),pr=()=>It("profilePopover");return n.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(52,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,a=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,c=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,_=J.profileTypeSettings),"showGlobalNav"in J&&t(5,d=J.showGlobalNav),"pathData"in J&&t(29,h=J.pathData),"pathParams"in J&&t(30,b=J.pathParams),"dropDownStates"in J&&t(6,m=J.dropDownStates),"children"in J&&t(7,v=J.children),"selectedNode"in J&&t(8,C=J.selectedNode),"visibleNodeCount"in J&&t(9,y=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,P=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,I=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,A=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,D=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,V=J.openMobileDropDown),"nodeForMobile"in J&&t(15,F=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,U=J.profileItemsAvailable),"userInfo"in J&&t(17,E=J.userInfo),"globalSearchConfig"in J&&t(18,Y=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,j=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,Z=J.isSearchFieldVisible),"inputElem"in J&&t(21,de=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,te=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,G=J.displaySearchResult),"searchResult"in J&&t(24,Q=J.searchResult),"burgerTooltip"in J&&t(25,X=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(26,_e=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(27,We=J.addNavHrefForAnchor),"showTopNav"in J&&t(28,Ie=J.showTopNav)},n.$$.update=()=>{n.$$.dirty[0]&3|n.$$.dirty[1]&2097152&&t(28,Ie=l&&(!r||a)||!l)},[l,a,o,c,_,d,m,v,C,y,P,I,A,D,V,F,U,E,Y,j,Z,de,te,G,Q,X,_e,We,Ie,h,b,qt,vt,Dt,Ei,Gt,gl,It,Qt,xi,Hn,wi,oe,ve,re,Ee,nt,Fe,pe,Ge,rt,ii,r,Kt,qi,Wt,vn,wn,ui,kn,Sn,Cn,yn,Pn,hl,_l,pl,Nn,Wn,zn,on,ml,$,Pe,et,dt,St,Xt,Di,ki,Vi,bl,qn,Ml,Fl,Ul,hr,Si,Gn,vl,Bl,_r,Kn,wl,kl,un,Hl,In,pr]}class op extends Et{constructor(e){super(),At(this,e,B4,D4,Nt,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function Dh(n){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,i){L(t,e,i)},d(t){t&&T(e)}}}function H4(n){let e,t=n[0]&&Dh();return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,[l]){i[0]?t||(t=Dh(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(i){t&&t.d(i),i&&T(e)}}}function W4(n,e,t){let{node:i}=e;async function l(){var o,c;const r=we.mapPathToNode(it.getCurrentPath(),i),a=await Rt.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||i.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return Yt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(i.webcomponent&&i.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");ur.renderWebComponent(i.viewUrl,a,r,i),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),n.$$set=r=>{"node"in r&&t(0,i=r.node)},[i]}class z4 extends Et{constructor(e){super(),At(this,e,W4,H4,Nt,{node:0})}}const{window:To}=dl;function Vh(n,e,t){const i=n.slice();return i[39]=e[t][0],i[40]=e[t][1],i[42]=t,i}function Oh(n,e,t){const i=n.slice();return i[43]=e[t],i}function Mh(n,e,t){const i=n.slice();return i[43]=e[t],i[45]=t,i}function Fh(n,e,t){const i=n.slice();return i[39]=e[t][0],i[40]=e[t][1],i[42]=t,i}function Uh(n,e,t){const i=n.slice();return i[43]=e[t],i}function Bh(n,e,t){const i=n.slice();return i[43]=e[t],i[45]=t,i}function Hh(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m,v,C,y,P=n[11].parent&&n[11].parent.tabNav&&n[11].parent.tabNav.showAsTabHeader&&Wh(n),I=Object.entries(n[0]),A=[];for(let E=0;E<I.length;E+=1)A[E]=Yh(Fh(n,I,E));const D=E=>B(A[E],1,1,()=>{A[E]=null});let V=Object.entries(n[0]),F=[];for(let E=0;E<V.length;E+=1)F[E]=$h(Vh(n,V,E));const U=E=>B(F[E],1,1,()=>{F[E]=null});return{c(){e=S("div"),P&&P.c(),t=z(),i=S("nav"),l=S("div"),r=S("div");for(let E=0;E<A.length;E+=1)A[E].c();a=z(),o=S("div"),c=S("span"),_=S("div"),d=S("a"),d.innerHTML=`<span class="label fd-tabs__tag svelte-1ioiggc">More</span>
|
|
59
|
-
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-1ioiggc"></span>`,h=z(),p=S("div"),b=S("ul");for(let E=0;E<F.length;E+=1)F[E].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-1ioiggc"),f(l,"class","tabsContainerWrapper svelte-1ioiggc"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-1ioiggc"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1ioiggc"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-1ioiggc"),f(p,"aria-hidden",m=!n[4]),f(_,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-1ioiggc"),f(o,"class","luigi-tabsMoreButton svelte-1ioiggc"),f(i,"class","fd-tabs fd-tabs--l svelte-1ioiggc"),f(i,"role","tablist"),f(e,"class","lui-tabs svelte-1ioiggc"),f(e,"id","tabsContainer")},m(E,Y){L(E,e,Y),P&&P.m(e,null),w(e,t),w(e,i),w(i,l),w(l,r);for(let j=0;j<A.length;j+=1)A[j].m(r,null);w(i,a),w(i,o),w(o,c),w(c,_),w(_,d),w(_,h),w(_,p),w(p,b);for(let j=0;j<F.length;j+=1)F[j].m(b,null);v=!0,C||(y=[ne(d,"click",Pt(n[10])),ne(c,"click",Z4),ne(i,"toggleDropdownState",n[26])],C=!0)},p(E,Y){if(E[11].parent&&E[11].parent.tabNav&&E[11].parent.tabNav.showAsTabHeader?P?(P.p(E,Y),Y[0]&2048&&R(P,1)):(P=Wh(E),P.c(),R(P,1),P.m(e,t)):P&&(ke(),B(P,1,1,()=>{P=null}),Se()),Y[0]&53485){I=Object.entries(E[0]);let j;for(j=0;j<I.length;j+=1){const Z=Fh(E,I,j);A[j]?(A[j].p(Z,Y),R(A[j],1)):(A[j]=Yh(Z),A[j].c(),R(A[j],1),A[j].m(r,null))}for(ke(),j=I.length;j<A.length;j+=1)D(j);Se()}if(Y[0]&53485){V=Object.entries(E[0]);let j;for(j=0;j<V.length;j+=1){const Z=Vh(E,V,j);F[j]?(F[j].p(Z,Y),R(F[j],1)):(F[j]=$h(Z),F[j].c(),R(F[j],1),F[j].m(b,null))}for(ke(),j=V.length;j<F.length;j+=1)U(j);Se()}(!v||Y[0]&16&&m!==(m=!E[4]))&&f(p,"aria-hidden",m)},i(E){if(!v){R(P);for(let Y=0;Y<I.length;Y+=1)R(A[Y]);for(let Y=0;Y<V.length;Y+=1)R(F[Y]);v=!0}},o(E){B(P),A=A.filter(Boolean);for(let Y=0;Y<A.length;Y+=1)B(A[Y]);F=F.filter(Boolean);for(let Y=0;Y<F.length;Y+=1)B(F[Y]);v=!1},d(E){E&&T(e),P&&P.d(),ft(A,E),ft(F,E),C=!1,Qe(y)}}}function Wh(n){let e,t;return e=new z4({props:{node:n[11].parent}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&2048&&(r.node=i[11].parent),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function q4(n){let e,t,i,l,r,a=n[12](n[39])+"",o,c,_,d,h,p,b,m,v,C,y,P,I,A;function D(){return n[20](n[39])}let V=n[40],F=[];for(let E=0;E<V.length;E+=1)F[E]=Gh(Uh(n,V,E));const U=E=>B(F[E],1,1,()=>{F[E]=null});return{c(){e=S("span"),t=S("div"),i=S("div"),l=S("a"),r=S("span"),o=Te(a),c=z(),_=S("span"),h=z(),p=S("div"),b=S("nav"),m=S("ul");for(let E=0;E<F.length;E+=1)F[E].c();C=z(),f(r,"class","label fd-tabs__tag svelte-1ioiggc"),f(_,"class","sap-icon--dropdown luigi-icon--dropdown svelte-1ioiggc"),f(l,"class","fd-tabs__link has-child svelte-1ioiggc"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=or(n[39],n[2])),f(i,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow svelte-1ioiggc"),f(p,"aria-hidden",v=!n[3][n[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-1ioiggc"),f(e,"uid",n[42]+"-0"),f(e,"isselected",y=or(n[39],n[2]))},m(E,Y){L(E,e,Y),w(e,t),w(t,i),w(i,l),w(l,r),w(r,o),w(l,c),w(l,_),w(t,h),w(t,p),w(p,b),w(b,m);for(let j=0;j<F.length;j+=1)F[j].m(m,null);w(e,C),P=!0,I||(A=[ne(l,"click",Pt(D)),ne(e,"click",Q4)],I=!0)},p(E,Y){if(n=E,(!P||Y[0]&4097)&&a!==(a=n[12](n[39])+"")&&Le(o,a),(!P||Y[0]&5&&d!==(d=or(n[39],n[2])))&&f(l,"aria-selected",d),Y[0]&49221){V=n[40];let j;for(j=0;j<V.length;j+=1){const Z=Uh(n,V,j);F[j]?(F[j].p(Z,Y),R(F[j],1)):(F[j]=Gh(Z),F[j].c(),R(F[j],1),F[j].m(m,null))}for(ke(),j=V.length;j<F.length;j+=1)U(j);Se()}(!P||Y[0]&9&&v!==(v=!n[3][n[39]]))&&f(p,"aria-hidden",v),(!P||Y[0]&5&&y!==(y=or(n[39],n[2])))&&f(e,"isselected",y)},i(E){if(!P){for(let Y=0;Y<V.length;Y+=1)R(F[Y]);P=!0}},o(E){F=F.filter(Boolean);for(let Y=0;Y<F.length;Y+=1)B(F[Y]);P=!1},d(E){E&&T(e),ft(F,E),I=!1,Qe(A)}}}function G4(n){let e,t,i=n[40],l=[];for(let a=0;a<i.length;a+=1)l[a]=Jh(Bh(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){i=a[40];let c;for(c=0;c<i.length;c+=1){const _=Bh(a,i,c);l[c]?(l[c].p(_,o),R(l[c],1)):(l[c]=Jh(_),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&T(e)}}}function zh(n){let e,t,i=n[43].label&&qh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?i?(i.p(l,r),r[0]&1&&R(i,1)):(i=qh(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function qh(n){let e,t,i,l=n[14](n[43])+"",r,a,o,c,_,d,h,p,b,m;o=new $i({props:{node:n[43]}});function v(){return n[21](n[43])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),h=z(),f(i,"class","fd-menu__title"),f(t,"href",c=n[15](n[43])),f(t,"class","fd-menu__link"),f(t,"data-testid",_=ue.getTestId(n[43])),f(t,"aria-selected",d=n[43]===n[2]),f(e,"class","fd-menu__item")},m(C,y){L(C,e,y),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){n=C,(!p||y[0]&1)&&l!==(l=n[14](n[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=n[43]),o.$set(P),(!p||y[0]&1&&c!==(c=n[15](n[43])))&&f(t,"href",c),(!p||y[0]&1&&_!==(_=ue.getTestId(n[43])))&&f(t,"data-testid",_),(!p||y[0]&5&&d!==(d=n[43]===n[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){B(o.$$.fragment,C),p=!1},d(C){C&&T(e),Oe(o),b=!1,m()}}}function Gh(n){let e,t,i=!n[43].hideFromNav&&zh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&1&&R(i,1)):(i=zh(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Kh(n){let e,t,i=n[43].label&&jh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?i?(i.p(l,r),r[0]&1&&R(i,1)):(i=jh(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function jh(n){let e,t,i,l=n[14](n[43])+"",r,a,o,c,_,d,h,p,b,m,v,C;o=new $i({props:{node:n[43]}});function y(){return n[19](n[43])}return{c(){e=S("span"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),h=z(),f(i,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=n[15](n[43])),f(t,"role","tab"),f(t,"data-testid",_=ue.getTestId(n[43])),f(t,"aria-selected",d=n[43]===n[2]),f(e,"class",p="fd-tabs__item "+(n[43]===n[2]?"is-selected":"")+" svelte-1ioiggc"),f(e,"uid",n[42]+"-"+n[45]),f(e,"isselected",b=n[43]===n[2])},m(P,I){L(P,e,I),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(e,h),m=!0,v||(C=ne(t,"click",Pt(y)),v=!0)},p(P,I){n=P,(!m||I[0]&1)&&l!==(l=n[14](n[43])+"")&&Le(r,l);const A={};I[0]&1&&(A.node=n[43]),o.$set(A),(!m||I[0]&1&&c!==(c=n[15](n[43])))&&f(t,"href",c),(!m||I[0]&1&&_!==(_=ue.getTestId(n[43])))&&f(t,"data-testid",_),(!m||I[0]&5&&d!==(d=n[43]===n[2]))&&f(t,"aria-selected",d),(!m||I[0]&5&&p!==(p="fd-tabs__item "+(n[43]===n[2]?"is-selected":"")+" svelte-1ioiggc"))&&f(e,"class",p),(!m||I[0]&5&&b!==(b=n[43]===n[2]))&&f(e,"isselected",b)},i(P){m||(R(o.$$.fragment,P),m=!0)},o(P){B(o.$$.fragment,P),m=!1},d(P){P&&T(e),Oe(o),v=!1,C()}}}function Jh(n){let e,t,i=!n[43].hideFromNav&&Kh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&1&&R(i,1)):(i=Kh(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Yh(n){let e,t,i,l,r,a;const o=[G4,q4],c=[];function _(d,h){return h[0]&33&&(e=null),h[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(Y4).length>0),t?1:-1)}return~(i=_(n,[-1,-1]))&&(l=c[i]=o[i](n)),{c(){l&&l.c(),r=Ce()},m(d,h){~i&&c[i].m(d,h),L(d,r,h),a=!0},p(d,h){let p=i;i=_(d,h),i===p?~i&&c[i].p(d,h):(l&&(ke(),B(c[p],1,1,()=>{c[p]=null}),Se()),~i?(l=c[i],l?l.p(d,h):(l=c[i]=o[i](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~i&&c[i].d(d),d&&T(r)}}}function K4(n){let e,t,i,l,r=n[12](n[39])+"",a,o,c,_,d,h,p,b,m,v,C,y,P,I,A;function D(){return n[23](n[39],n[42])}function V(){return n[24](n[39],n[42])}let F=n[40],U=[];for(let Y=0;Y<F.length;Y+=1)U[Y]=Zh(Oh(n,F,Y));const E=Y=>B(U[Y],1,1,()=>{U[Y]=null});return{c(){e=S("li"),t=S("div"),i=S("a"),l=S("span"),a=Te(r),_=z(),d=S("button"),h=S("i"),m=z(),v=S("ul");for(let Y=0;Y<U.length;Y+=1)U[Y].c();y=z(),f(l,"class","fd-nested-list__title svelte-1ioiggc"),f(i,"href","javascript:void(null)"),f(i,"tabindex","-1"),f(i,"class","fd-nested-list__link"),f(i,"id","tabnav_list_level1_"+n[42]),f(i,"aria-haspopup","true"),f(i,"aria-expanded",o=n[3][n[39]+n[42]]),f(i,"aria-selected",c=or(n[39],n[2])),f(h,"class",p=n[3][n[39]+n[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(h,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=n[3][n[39]+n[42]]),f(t,"class","fd-nested-list__content has-child svelte-1ioiggc"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!n[3][n[39]+n[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",n[42]+"-0")},m(Y,j){L(Y,e,j),w(e,t),w(t,i),w(i,l),w(l,a),w(t,_),w(t,d),w(d,h),w(e,m),w(e,v);for(let Z=0;Z<U.length;Z+=1)U[Z].m(v,null);w(e,y),P=!0,I||(A=[ne(i,"click",Pt(D)),ne(d,"click",Pt(V))],I=!0)},p(Y,j){if(n=Y,(!P||j[0]&4097)&&r!==(r=n[12](n[39])+"")&&Le(a,r),(!P||j[0]&9&&o!==(o=n[3][n[39]+n[42]]))&&f(i,"aria-expanded",o),(!P||j[0]&5&&c!==(c=or(n[39],n[2])))&&f(i,"aria-selected",c),(!P||j[0]&9&&p!==(p=n[3][n[39]+n[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(h,"class",p),(!P||j[0]&9&&b!==(b=n[3][n[39]+n[42]]))&&f(d,"aria-expanded",b),j[0]&49221){F=n[40];let Z;for(Z=0;Z<F.length;Z+=1){const de=Oh(n,F,Z);U[Z]?(U[Z].p(de,j),R(U[Z],1)):(U[Z]=Zh(de),U[Z].c(),R(U[Z],1),U[Z].m(v,null))}for(ke(),Z=F.length;Z<U.length;Z+=1)E(Z);Se()}(!P||j[0]&9&&C!==(C=!n[3][n[39]+n[42]]))&&f(v,"aria-hidden",C)},i(Y){if(!P){for(let j=0;j<F.length;j+=1)R(U[j]);P=!0}},o(Y){U=U.filter(Boolean);for(let j=0;j<U.length;j+=1)B(U[j]);P=!1},d(Y){Y&&T(e),ft(U,Y),I=!1,Qe(A)}}}function j4(n){let e,t,i=n[40],l=[];for(let a=0;a<i.length;a+=1)l[a]=Xh(Mh(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){i=a[40];let c;for(c=0;c<i.length;c+=1){const _=Mh(a,i,c);l[c]?(l[c].p(_,o),R(l[c],1)):(l[c]=Xh(_),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&T(e)}}}function Qh(n){let e,t,i,l=n[14](n[43])+"",r,a,o,c,_,d,h,p,b,m;o=new $i({props:{node:n[43]}});function v(){return n[25](n[43])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),h=z(),f(i,"class","fd-nested-list__title svelte-1ioiggc"),f(t,"class","fd-nested-list__link"),f(t,"href",c=n[15](n[43])),f(t,"data-testid",_=ue.getTestId(n[43])),f(t,"aria-selected",d=n[43]===n[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+n[42])},m(C,y){L(C,e,y),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){n=C,(!p||y[0]&1)&&l!==(l=n[14](n[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=n[43]),o.$set(P),(!p||y[0]&1&&c!==(c=n[15](n[43])))&&f(t,"href",c),(!p||y[0]&1&&_!==(_=ue.getTestId(n[43])))&&f(t,"data-testid",_),(!p||y[0]&5&&d!==(d=n[43]===n[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){B(o.$$.fragment,C),p=!1},d(C){C&&T(e),Oe(o),b=!1,m()}}}function Zh(n){let e,t,i=n[43].label&&Qh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?i?(i.p(l,r),r[0]&1&&R(i,1)):(i=Qh(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function Xh(n){let e,t,i,l=n[14](n[43])+"",r,a,o,c,_,d,h,p,b,m;o=new $i({props:{node:n[43]}});function v(){return n[22](n[43])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),h=z(),f(i,"class","fd-nested-list__title svelte-1ioiggc"),f(t,"href",c=n[15](n[43])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",_=ue.getTestId(n[43])),f(t,"aria-selected",d=n[43]===n[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",n[42]+"-"+n[45])},m(C,y){L(C,e,y),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(e,h),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){n=C,(!p||y[0]&1)&&l!==(l=n[14](n[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=n[43]),o.$set(P),(!p||y[0]&1&&c!==(c=n[15](n[43])))&&f(t,"href",c),(!p||y[0]&1&&_!==(_=ue.getTestId(n[43])))&&f(t,"data-testid",_),(!p||y[0]&5&&d!==(d=n[43]===n[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){B(o.$$.fragment,C),p=!1},d(C){C&&T(e),Oe(o),b=!1,m()}}}function $h(n){let e,t,i,l,r;const a=[j4,K4],o=[];function c(_,d){return d[0]&33&&(e=null),e==null&&(e=_[39]==="undefined"||_[39].indexOf(_[5])===0),e?0:1}return t=c(n,[-1,-1]),i=o[t]=a[t](n),{c(){i.c(),l=Ce()},m(_,d){o[t].m(_,d),L(_,l,d),r=!0},p(_,d){let h=t;t=c(_,d),t===h?o[t].p(_,d):(ke(),B(o[h],1,1,()=>{o[h]=null}),Se(),i=o[t],i?i.p(_,d):(i=o[t]=a[t](_),i.c()),R(i,1),i.m(l.parentNode,l))},i(_){r||(R(i),r=!0)},o(_){B(i),r=!1},d(_){o[t].d(_),_&&T(l)}}}function J4(n){let e,t,i,l,r=n[0]&&n[1].length>0&&(n[1][0].topNav===!1||n[1].length>1)&&Hh(n);return{c(){r&&r.c(),e=Ce()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,i||(l=[ne(To,"click",n[8]),ne(To,"blur",n[8]),ne(To,"resize",n[9])],i=!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=Hh(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){t||(R(r),t=!0)},o(a){B(r),t=!1},d(a){r&&r.d(a),a&&T(e),i=!1,Qe(l)}}}function or(n,e){return e&&e.category&&(e.category===n||e.category.label===n)}const Y4=n=>!n.hideFromNav&&n.label,Q4=n=>n.stopPropagation(),Z4=n=>n.stopPropagation();function X4(n,e,t){let i,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:_=ue.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:h}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:m}=e,v,C=pt("getTranslation");bn(n,C,W=>t(12,i=W));let y=pt("store"),P;const I={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:_,selectedNode:d,selectedNodeForTabNav:h,dropDownStates:p,isMoreBtnExpanded:b}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(se=>{se==="pathData"?t(1,r=W.pathData):se==="context"?context=W.context:se==="children"?t(0,l=W.children):se==="selectedNode"?t(11,d=W.selectedNode):se==="selectedNodeForTabNav"&&t(2,h=W.selectedNodeForTabNav)})}},A=Ht();function D(W){return ue.getNodeLabel(W)}const V=async()=>{const W=I.get(),se=await Rt.getTabNavData({...W},W);se&&(I.set({...se}),o=r,window.LEFTNAVDATA=se.groupedChildren,setTimeout(F))},F=()=>{U();let W=document.getElementsByClassName("luigi-tabsContainer")[0],se=document.getElementsByClassName("luigi-tabsMoreButton")[0],Ie=document.getElementsByClassName("luigi__more")[0],nt,Fe=0,pe=!1,Ge,rt;Ie&&Ie.setAttribute("aria-selected","false"),W&&(nt=W.offsetWidth,[...W.children].forEach(vt=>{Ge=vt.currentStyle||window.getComputedStyle(vt),rt=parseFloat(Ge.marginLeft)+parseFloat(Ge.marginRight),Fe+=vt.offsetWidth+rt;let Dt=vt.getAttribute("uid");Fe>=nt?(vt.classList.add("hide_element"),vt.getAttribute("isSelected")==="true"&&Ie.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Dt+'"]').classList.remove("hide_element"),pe=!0):document.querySelector('li[uid="'+Dt+'"]').classList.add("hide_element")}),pe?se.classList.remove("hide_element"):se.classList.add("hide_element"))},U=()=>{let W=document.getElementsByClassName("luigi-tabsContainer")[0];W!==void 0&&[...W.children].forEach(Ie=>{Ie.classList.remove("hide_element")})},E=()=>{P=new ResizeObserver(W=>{for(const se of W)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",se.contentRect.height+"px")}),setTimeout(()=>{const W=document.querySelector("#tabsContainer.lui-tabs");W&&P.observe(W)})},Y=()=>{P&&P.disconnect()};Yt(()=>{t(16,c=ae.getConfigBooleanValue("settings.hideNavigation")),E(),oi.doOnStoreChange(y,()=>{V()},["navigation.viewgroupdata"])}),Jr(()=>{Y(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zi(()=>{(!o||o!=r)&&V(),(v===void 0||v!==m)&&(v=m,V())}),jr(()=>{Y(),P?setTimeout(()=>{const W=document.querySelector("#tabsContainer.lui-tabs");W&&P.observe(W)}):E()});function j(W){return we.getNodeHref(W,a)}function Z(W){te(),A("handleClick",{node:W})}function de(W){let se={};p[W]||(se[W]=!0),t(3,p=se)}function te(){t(3,p={}),t(4,b=!1)}function G(){U(),F()}function Q(){t(4,b=!b)}const X=W=>Z(W),_e=W=>de(W),ie=W=>Z(W),oe=W=>Z(W),ve=(W,se)=>de(W+se),re=(W,se)=>de(W+se),Ee=W=>Z(W),We=W=>de(W.name);return n.$$set=W=>{"children"in W&&t(0,l=W.children),"pathData"in W&&t(1,r=W.pathData),"pathParams"in W&&t(17,a=W.pathParams),"hideNavComponent"in W&&t(16,c=W.hideNavComponent),"virtualGroupPrefix"in W&&t(5,_=W.virtualGroupPrefix),"selectedNodeForTabNav"in W&&t(2,h=W.selectedNodeForTabNav),"dropDownStates"in W&&t(3,p=W.dropDownStates),"isMoreBtnExpanded"in W&&t(4,b=W.isMoreBtnExpanded),"resizeTabNavToggle"in W&&t(18,m=W.resizeTabNavToggle)},[l,r,h,p,b,_,Z,de,te,G,Q,d,i,C,D,j,c,a,m,X,_e,ie,oe,ve,re,Ee,We]}class up extends Et{constructor(e){super(),At(this,e,X4,J4,Nt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function xh(n,e,t){const i=n.slice();return i[23]=e[t],i[25]=t,i}function e_(n,e,t){const i=n.slice();return i[23]=e[t],i[25]=t,i}function t_(n){let e,t,i,l,r,a=n[0]&&n[3].length>0&&i_(n),o=n[0]&&n[3].length>0&&a_(n);return{c(){e=S("div"),t=S("nav"),i=S("div"),a&&a.c(),l=z(),r=S("div"),o&&o.c(),f(i,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-u7mfvs"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-u7mfvs"),f(e,"class","lui-globalnav svelte-u7mfvs")},m(c,_){L(c,e,_),w(e,t),w(t,i),a&&a.m(i,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,_){c[0]&&c[3].length>0?a?a.p(c,_):(a=i_(c),a.c(),a.m(i,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>0?o?o.p(c,_):(o=a_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&T(e),a&&a.d(),o&&o.d()}}}function i_(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=r_(e_(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=e_(l,t,a);i[a]?i[a].p(o,r):(i[a]=r_(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&T(e),ft(i,l)}}}function n_(n){let e,t,i,l,r,a=n[11](n[23])+"",o,c,_,d,h,p,b,m,v,C,y=n[23].icon&&l_(n);function P(...I){return n[17](n[23],...I)}return{c(){e=S("li"),t=S("a"),i=S("div"),y&&y.c(),l=z(),r=S("div"),o=Te(a),c=z(),_=S("div"),p=z(),f(r,"class","lui-text svelte-u7mfvs"),f(_,"class","lui-indicator svelte-u7mfvs"),f(i,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=n[6]?n[12](n[23]):void 0),f(t,"title",h=n[7](n[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(n[23]===n[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=ue.getTestId(n[23]))},m(I,A){L(I,e,A),w(e,t),w(t,i),y&&y.m(i,null),w(i,l),w(i,r),w(r,o),w(i,c),w(i,_),w(e,p),v||(C=ne(t,"click",P),v=!0)},p(I,A){n=I,n[23].icon?y?y.p(n,A):(y=l_(n),y.c(),y.m(i,l)):y&&(y.d(1),y=null),A&1&&a!==(a=n[11](n[23])+"")&&Le(o,a),A&65&&d!==(d=n[6]?n[12](n[23]):void 0)&&f(t,"href",d),A&129&&h!==(h=n[7](n[23].label))&&f(t,"title",h),A&3&&b!==(b="fd-nested-list__item "+(n[23]===n[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),A&1&&m!==(m=ue.getTestId(n[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function l_(n){let e,t;function i(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?x4:$4}let l=i(n,-1),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function $4(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Ze(e.src,t=n[23].icon)||f(e,"src",t),f(e,"alt",i=n[23].altText?n[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&i!==(i=l[23].altText?l[23].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function x4(n){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(i){i&&T(e)}}}function r_(n){let e,t=n[23].globalNav===!0&&!n[23].separator&&n_(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[23].globalNav===!0&&!i[23].separator?t?t.p(i,l):(t=n_(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&T(e)}}}function a_(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=u_(xh(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[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=xh(l,t,a);i[a]?i[a].p(o,r):(i[a]=u_(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&T(e),ft(i,l)}}}function s_(n){let e,t,i,l,r,a=n[11](n[23])+"",o,c,_,d,h,p,b,m,v,C,y=n[23].icon&&o_(n);function P(){return n[18](n[23])}return{c(){e=S("li"),t=S("a"),i=S("div"),y&&y.c(),l=z(),r=S("div"),o=Te(a),c=z(),_=S("div"),p=z(),f(r,"class","lui-text svelte-u7mfvs"),f(_,"class","lui-indicator svelte-u7mfvs"),f(i,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=n[6]?n[12](n[23]):void 0),f(t,"title",h=n[7](n[23].label)),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(n[23]===n[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=ue.getTestId(n[23]))},m(I,A){L(I,e,A),w(e,t),w(t,i),y&&y.m(i,null),w(i,l),w(i,r),w(r,o),w(i,c),w(i,_),w(e,p),v||(C=ne(i,"click",Pt(P)),v=!0)},p(I,A){n=I,n[23].icon?y?y.p(n,A):(y=o_(n),y.c(),y.m(i,l)):y&&(y.d(1),y=null),A&1&&a!==(a=n[11](n[23])+"")&&Le(o,a),A&65&&d!==(d=n[6]?n[12](n[23]):void 0)&&f(t,"href",d),A&129&&h!==(h=n[7](n[23].label))&&f(t,"title",h),A&3&&b!==(b="fd-nested-list__item "+(n[23]===n[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),A&1&&m!==(m=ue.getTestId(n[23]))&&f(e,"data-testid",m)},d(I){I&&T(e),y&&y.d(),v=!1,C()}}}function o_(n){let e,t;function i(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?t3:e3}let l=i(n,-1),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(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&&T(t)}}}function e3(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Ze(e.src,t=n[23].icon)||f(e,"src",t),f(e,"alt",i=n[23].altText?n[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&i!==(i=l[23].altText?l[23].altText:"")&&f(e,"alt",i)},d(l){l&&T(e)}}}function t3(n){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(i){i&&T(e)}}}function u_(n){let e,t=n[23].globalNav==="bottom"&&!n[23].separator&&s_(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[23].globalNav==="bottom"&&!i[23].separator?t?t.p(i,l):(t=s_(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&T(e)}}}function i3(n){let e,t,i,l=n[2]&&t_(n);return{c(){l&&l.c(),e=Ce()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(i=[ne(window,"click",fs),ne(window,"blur",fs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=t_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:He,o:He,d(r){l&&l.d(r),r&&T(e),t=!1,Qe(i)}}}function fs(){}function n3(n,e,t){let i;const l=Ht();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:_}=e,d=pt("store"),h=pt("getTranslation");bn(n,h,E=>t(7,i=E));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const E=await ue.generateTopNavNodes(r);t(0,c=E.children),t(1,_=E.selectedNode),a=r}};Yt(()=>{oi.doOnStoreChange(d,()=>{t(13,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(14,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!(ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zi(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(E){return ue.renderIconClassName(E)}function P(E){return ue.isOpenUIiconName(E.icon)}function I(E){return bt.getTranslation(E.label)}function A(E){return we.getNodeHref(E,o)}function D(E){l("handleClick",{node:E})}function V(E){D(E.detail.node)}const F=(E,Y)=>{ue.handleNavAnchorClickedWithoutMetaKey(Y)&&D(E)},U=E=>D(E);return n.$$set=E=>{"pathData"in E&&t(3,r=E.pathData),"pathParams"in E&&t(15,o=E.pathParams),"children"in E&&t(0,c=E.children),"selectedNode"in E&&t(1,_=E.selectedNode),"showGlobalNav"in E&&t(2,p=E.showGlobalNav),"hideNavComponent"in E&&t(13,b=E.hideNavComponent),"responsiveNavSetting"in E&&t(14,m=E.responsiveNavSetting)},[c,_,p,r,D,fs,v,i,h,y,P,I,A,b,m,o,V,F,U]}class l3 extends Et{constructor(e){super(),At(this,e,n3,i3,Nt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return fs}}function r3(n){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,i){L(t,e,i),n[4](e)},p:He,i:He,o:He,d(t){t&&T(e),n[4](null)}}}function a3(n,e,t){const i=Ht();let{pathData:l}=e,r,a={},o,c=pt("store"),{showBreadcrumb:_}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},h=v=>{v.last||b(v.node)};Yt(()=>{oi.doOnStoreChange(c,()=>{},["navigation"])}),zi(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=ae.getConfigValue("navigation.breadcrumbs");if(t(1,_=!!v),_&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,_=!1):C.showBreadcrumbs===!0&&t(1,_=!0)}),_)if(ae.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=it.getCurrentPath();for(let I=y;I<l.length;I++){const A=l[I],D=we.mapPathToNode(P,A);if(a[D])C.push(a[D]);else if(A.label||A.pathSegment||A.titleResolver)if(document.body.classList.add("lui-breadcrumb"),A.titleResolver)C.push({label:A.titleResolver.prerenderFallback&&A.titleResolver.fallbackTitle?bt.getTranslation(A.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:A,route:D,pending:!0});else{const V=await p(A);V&&C.push({label:V,node:A,route:D})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,h),C=[];for(let I=y;I<l.length;I++){const A=l[I],D=we.mapPathToNode(P,A);if(A.titleResolver){const F=await Rt.extractDataFromPath(D),U=we.substituteDynamicParamsInObject(Object.assign({},F.pathData.context,A.context),F.pathData.pathParams);try{const E=await ue.fetchNodeTitleData(A,U);C.push({label:E.label,node:A,route:D});continue}catch{}}const V=await p(A);V&&C.push({label:V,node:A,route:D})}P===it.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,h)):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 bt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=we.mapPathToNode(it.getCurrentPath(),v),y=await Rt.extractDataFromPath(C);return we.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){i("handleClick",{node:v})}function m(v){Xe[v?"unshift":"push"](()=>{o=v,t(0,o)})}return n.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,_=v.showBreadcrumb)},[o,_,l,b,m]}class fp extends Et{constructor(e){super(),At(this,e,a3,r3,Nt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Vo="not_checked";Ai.addEventListener("message",function(n){n.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Vo="disabled"):n.data==="luigi.tpcEnabled"&&(Vo="enabled")},!1);function s3(){return Vo}const{Boolean:o3,window:f_}=dl;function c_(n,e,t){const i=n.slice();return i[153]=e[t],i[155]=t,i}function d_(n){let e,t;return e=new ek({props:{alertQueue:n[25]}}),e.$on("alertDismiss",n[36]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&33554432&&(r.alertQueue=i[25]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function g_(n){let e,t;function i(){return n[69](n[155])}function l(...a){return n[70](n[155],...a)}function r(...a){return n[71](n[155],...a)}return e=new Z_({props:{settings:n[153].mfModal.settings,nodepath:n[153].mfModal.nodepath,modalIndex:n[155],disableBackdrop:n[12]}}),e.$on("close",i),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),t=!0},p(a,o){n=a;const c={};o[0]&134217728&&(c.settings=n[153].mfModal.settings),o[0]&134217728&&(c.nodepath=n[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=n[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){B(e.$$.fragment,a),t=!1},d(a){Oe(e,a)}}}function h_(n){let e,t,i=n[153].mfModal.displayed&&g_(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[153].mfModal.displayed?i?(i.p(l,r),r[0]&134217728&&R(i,1)):(i=g_(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&T(e)}}}function __(n){let e,t;return e=new Z_({props:{settings:n[28].settings,nodepath:n[28].nodepath,$$slots:{default:[u3]},$$scope:{ctx:n}}}),e.$on("close",n[44]),e.$on("drawerState",n[43]),e.$on("iframeCreated",n[41]),e.$on("wcCreated",n[42]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&268435456&&(r.settings=i[28].settings),l[0]&268435456&&(r.nodepath=i[28].nodepath),l[0]&4096|l[5]&2&&(r.$$scope={dirty:l,ctx:i}),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function u3(n){let e,t;return e=new Ol({props:{area:"drawer",disable:n[12]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&4096&&(r.disable=i[12]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function p_(n){let e,t;return e=new rk({props:{settings:n[26].settings}}),e.$on("modalConfirm",n[72]),e.$on("modalDismiss",n[73]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&67108864&&(r.settings=i[26].settings),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function m_(n){let e,t,i;function l(a){n[74](a)}let r={userSettingGroups:n[17].userSettingGroups};return n[5]!==void 0&&(r.storedUserSettings=n[5]),e=new kk({props:r}),Xe.push(()=>_t(e,"storedUserSettings",l,n[5])),e.$on("close",n[9]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),i=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],ht(()=>t=!1)),e.$set(c)},i(a){i||(R(e.$$.fragment,a),i=!0)},o(a){B(e.$$.fragment,a),i=!1},d(a){Oe(e,a)}}}function f3(n){let e,t,i,l,r,a,o,c;e=new Ol({props:{disable:n[12],$$slots:{default:[d3]},$$scope:{ctx:n}}});let _=n[10]&&v_(),d=!n[24]&&w_(n),h=!n[20]&&k_(n),p=!(n[20]||n[21])&&C_(n),b=n[15]&&!n[20]&&y_(n);return{c(){Me(e.$$.fragment),t=z(),_&&_.c(),i=z(),d&&d.c(),l=z(),h&&h.c(),r=z(),p&&p.c(),a=z(),b&&b.c(),o=Ce()},m(m,v){Ve(e,m,v),L(m,t,v),_&&_.m(m,v),L(m,i,v),d&&d.m(m,v),L(m,l,v),h&&h.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?_||(_=v_(),_.c(),_.m(i.parentNode,i)):_&&(_.d(1),_=null),m[24]?d&&(ke(),B(d,1,1,()=>{d=null}),Se()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=w_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?h&&(ke(),B(h,1,1,()=>{h=null}),Se()):h?(h.p(m,v),v[0]&1048576&&R(h,1)):(h=k_(m),h.c(),R(h,1),h.m(r.parentNode,r)),m[20]||m[21]?p&&(ke(),B(p,1,1,()=>{p=null}),Se()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=C_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=y_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ke(),B(b,1,1,()=>{b=null}),Se())},i(m){c||(R(e.$$.fragment,m),R(d),R(h),R(p),R(b),c=!0)},o(m){B(e.$$.fragment,m),B(d),B(h),B(p),B(b),c=!1},d(m){Oe(e,m),m&&T(t),_&&_.d(m),m&&T(i),d&&d.d(m),m&&T(l),h&&h.d(m),m&&T(r),p&&p.d(m),m&&T(a),b&&b.d(m),m&&T(o)}}}function c3(n){let e,t,i,l,r,a,o,c,_,d,h,p,b,m=!n[24]&&P_(n),v=!(n[20]||n[21])&&N_(n),C=n[19]&&I_(n);h=new Ol({props:{disable:n[12],$$slots:{default:[g3]},$$scope:{ctx:n}}});let y=n[10]&&A_();return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),m&&m.c(),r=z(),a=S("div"),v&&v.c(),o=z(),c=S("div"),C&&C.c(),_=z(),d=S("div"),Me(h.$$.fragment),p=z(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(i,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1omtujb"),f(c,"class","fd-tool-layout__content-container svelte-1omtujb"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1omtujb"),f(e,"class","lui-core-layout svelte-1omtujb")},m(P,I){L(P,e,I),w(e,t),w(t,i),w(i,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,_),w(c,d),Ve(h,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,I){P[24]?m&&(ke(),B(m,1,1,()=>{m=null}),Se()):m?(m.p(P,I),I[0]&16777216&&R(m,1)):(m=P_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(ke(),B(v,1,1,()=>{v=null}),Se()):v?(v.p(P,I),I[0]&3145728&&R(v,1)):(v=N_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,I),I[0]&524288&&R(C,1)):(C=I_(P),C.c(),R(C,1),C.m(c,_)):C&&(ke(),B(C,1,1,()=>{C=null}),Se());const A={};I[0]&4096&&(A.disable=P[12]),I[0]&1177600|I[5]&2&&(A.$$scope={dirty:I,ctx:P}),h.$set(A),P[10]?y||(y=A_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(h.$$.fragment,P),b=!0)},o(P){B(m),B(v),B(C),B(h.$$.fragment,P),b=!1},d(P){P&&T(e),m&&m.d(),v&&v.d(),C&&C.d(),Oe(h),y&&y.d()}}}function b_(n){let e,t;return e=new $_({props:{splitViewSettings:n[11].settings,collapsed:n[11].collapsed,nodepath:n[11].nodepath,disableBackdrop:n[12]}}),e.$on("iframeCreated",n[32]),e.$on("statusChanged",n[33]),e.$on("wcCreated",n[34]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&2048&&(r.splitViewSettings=i[11].settings),l[0]&2048&&(r.collapsed=i[11].collapsed),l[0]&2048&&(r.nodepath=i[11].nodepath),l[0]&4096&&(r.disableBackdrop=i[12]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function d3(n){let e,t,i,l,r,a,o,c,_;t=new Ol({props:{area:"main",disable:n[12]}});let d=n[11].displayed&&b_(n);return{c(){e=S("div"),Me(t.$$.fragment),i=z(),l=S("div"),r=z(),d&&d.c(),a=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),f(e,"tabindex","0"),Ti(e,"lui-split-view",n[11].displayed),Ti(e,"lui-collapsed",n[11].collapsed)},m(h,p){L(h,e,p),Ve(t,e,null),w(e,i),w(e,l),L(h,r,p),d&&d.m(h,p),L(h,a,p),o=!0,c||(_=F_(n[45].call(null,e)),c=!0)},p(h,p){const b={};p[0]&4096&&(b.disable=h[12]),t.$set(b),(!o||p[0]&2048)&&Ti(e,"lui-split-view",h[11].displayed),(!o||p[0]&2048)&&Ti(e,"lui-collapsed",h[11].collapsed),h[11].displayed?d?(d.p(h,p),p[0]&2048&&R(d,1)):(d=b_(h),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ke(),B(d,1,1,()=>{d=null}),Se())},i(h){o||(R(t.$$.fragment,h),R(d),o=!0)},o(h){B(t.$$.fragment,h),B(d),o=!1},d(h){h&&T(e),Oe(t),h&&T(r),d&&d.d(h),h&&T(a),c=!1,_()}}}function v_(n){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,i){L(t,e,i)},d(t){t&&I(e)}}}function Dg(n){let e,t=n[3],i=[];for(let l=0;l<t.length;l+=1)i[l]=Vg(Ig(n,t,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();e=Ce()},m(l,r){for(let a=0;a<i.length;a+=1)i[a].m(l,r);L(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Ig(l,t,a);i[a]?i[a].p(o,r):(i[a]=Vg(o),i[a].c(),i[a].m(e.parentNode,e))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){ft(i,l),l&&I(e)}}}function sC(n){return{c:He,m:He,p:He,d:He}}function oC(n){let e,t,i,l,r;function a(d,_){return d[2]?fC:uC}let o=a(n),c=o(n);function h(){return n[16](n[20])}return{c(){e=S("li"),c.c(),i=z(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=ue.getTestId(n[20]))},m(d,_){L(d,e,_),c.m(e,null),L(d,i,_),l||(r=ne(e,"click",h),l=!0)},p(d,_){n=d,o===(o=a(n))&&c?c.p(n,_):(c.d(1),c=o(n),c&&(c.c(),c.m(e,null))),_&8&&t!==(t=ue.getTestId(n[20]))&&f(e,"data-testid",t)},d(d){d&&I(e),c.d(),d&&I(i),l=!1,r()}}}function uC(n){let e,t,i=n[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Te(i),f(t,"class","fd-menu__title"),f(e,"href",r=n[8](n[20])),f(e,"class",a="fd-menu__link "+(n[25]===n[4]?"is-selected":"")),f(e,"title",o=n[25])},m(d,_){L(d,e,_),w(e,t),w(t,l),c||(h=ne(e,"click",n[15]),c=!0)},p(d,_){_&138&&i!==(i=d[25]+"")&&Le(l,i),_&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),_&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),_&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&I(e),c=!1,h()}}}function fC(n){let e,t=n[2](n[20],n[25]===n[4])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&I(i),l&&e.d()}}}function cC(n){return{c:He,m:He,p:He,d:He}}function Vg(n){let e,t,i={ctx:n,current:null,token:null,hasCatch:!1,pending:cC,then:oC,catch:sC,value:25};return ns(t=n[7](n[20].label,n[1].fallbackLabelResolver,n[20].id),i),{c(){e=Ce(),i.block.c()},m(l,r){L(l,e,r),i.block.m(l,i.anchor=r),i.mount=()=>e.parentNode,i.anchor=e},p(l,r){n=l,i.ctx=n,r&138&&t!==(t=n[7](n[20].label,n[1].fallbackLabelResolver,n[20].id))&&ns(t,i)||U_(i,n,r)},d(l){l&&I(e),i.block.d(l),i.token=null,i=null}}}function Og(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=Fg(Ng(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[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=Ng(l,t,a);i[a]?i[a].p(o,r):(i[a]=Fg(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&I(e),ft(i,l)}}}function Mg(n){let e,t,i,l=n[13](n[20].label)+"",r,a,o,c,h,d;function _(){return n[18](n[20])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),o=z(),f(i,"class","fd-menu__title"),f(t,"href",a=n[8](n[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=ue.getTestId(n[20]))},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(e,o),h||(d=[ne(t,"click",n[17]),ne(e,"click",_)],h=!0)},p(p,b){n=p,b&8193&&l!==(l=n[13](n[20].label)+"")&&Le(r,l),b&257&&a!==(a=n[8](n[20]))&&f(t,"href",a),b&1&&c!==(c=ue.getTestId(n[20]))&&f(e,"data-testid",c)},d(p){p&&I(e),h=!1,Qe(d)}}}function Fg(n){let e,t=n[20].position==="bottom"&&Mg(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[20].position==="bottom"?t?t.p(i,l):(t=Mg(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&I(e)}}}function dC(n){let e,t,i,l,r,a,o=n[0]&&n[0].length&&Lg(n),c=n[3]&&n[3].length===0&&n[10]&&Rg(),h=n[3]&&n[3].length&&Dg(n),d=n[0]&&n[0].length&&Og(n);return{c(){e=S("nav"),o&&o.c(),t=z(),i=S("ul"),c&&c.c(),l=z(),h&&h.c(),r=z(),d&&d.c(),f(i,"class","fd-menu__list"),f(i,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(n[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(_,p){L(_,e,p),o&&o.m(e,null),w(e,t),w(e,i),c&&c.m(i,null),w(i,l),h&&h.m(i,null),w(e,r),d&&d.m(e,null)},p(_,[p]){_[0]&&_[0].length?o?o.p(_,p):(o=Lg(_),o.c(),o.m(e,t)):o&&(o.d(1),o=null),_[3]&&_[3].length===0&&_[10]?c||(c=Rg(),c.c(),c.m(i,l)):c&&(c.d(1),c=null),_[3]&&_[3].length?h?h.p(_,p):(h=Dg(_),h.c(),h.m(i,null)):h&&(h.d(1),h=null),_[0]&&_[0].length?d?d.p(_,p):(d=Og(_),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(_[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:He,o:He,d(_){_&&I(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const gC=()=>{};function hC(n,e,t){let i,l=He,r=()=>(l(),l=Oo(v,D=>t(13,i=D)),v);n.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:_}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Wt();function P(D){y("onActionClick",{node:D})}function A(D,Z){y("goToOption",{option:D,selectedOption:Z})}const T=D=>P(D),V=D=>{ue.handleNavAnchorClickedWithoutMetaKey(D)},E=D=>A(D,_),U=D=>{ue.handleNavAnchorClickedWithoutMetaKey(D)},F=D=>P(D);return n.$$set=D=>{"actions"in D&&t(0,a=D.actions),"config"in D&&t(1,o=D.config),"customOptionsRenderer"in D&&t(2,c=D.customOptionsRenderer),"options"in D&&t(3,h=D.options),"selectedLabel"in D&&t(4,d=D.selectedLabel),"selectedOption"in D&&t(5,_=D.selectedOption),"isMobile"in D&&t(6,p=D.isMobile),"getNodeName"in D&&t(7,b=D.getNodeName),"getRouteLink"in D&&t(8,m=D.getRouteLink),"getTranslation"in D&&r(t(9,v=D.getTranslation)),"isContextSwitcherDropdownShown"in D&&t(10,C=D.isContextSwitcherDropdownShown)},[a,o,c,h,d,_,p,b,m,v,C,P,A,i,T,V,E,U,F]}class lp extends Et{constructor(e){super(),At(this,e,hC,dC,Nt,{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 Ug(n){let e,t,i,l=!n[9]&&Bg(n),r=n[9]&&n[8].contextSwitcherPopover&&n[15]&&Hg(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),i=!0},p(a,o){a[9]?l&&(ke(),B(l,1,1,()=>{l=null}),Se()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Bg(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=Hg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){i||(R(l),R(r),i=!0)},o(a){B(l),B(r),i=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function Bg(n){let e,t,i,l,r,a,o,c,h,d;function _(m,v){return m[10]&&m[2]!==m[5].defaultLabel?pC:_C}let p=_(n),b=p(n);return a=new lp({props:{actions:n[0],config:n[5],customOptionsRenderer:n[6],options:n[1],selectedLabel:n[4],selectedOption:n[2],getNodeName:n[18],getRouteLink:n[19],getTranslation:n[17],isMobile:n[9],isContextSwitcherDropdownShown:n[14]}}),a.$on("onActionClick",n[11]),a.$on("goToOption",n[12]),{c(){e=S("div"),t=S("div"),i=S("div"),b.c(),l=z(),r=S("div"),Me(a.$$.fragment),f(i,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!n[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){L(m,e,v),w(e,t),w(t,i),b.m(i,null),w(t,l),w(t,r),Ve(a,r,null),c=!0,h||(d=ne(i,"click",Vt(NC)),h=!0)},p(m,v){p===(p=_(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(i,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){B(a.$$.fragment,m),c=!1},d(m){m&&I(e),b.d(),Oe(a),h=!1,d()}}}function _C(n){let e,t,i,l,r,a;function o(d,_){return d[2]&&d[7]?bC:mC}let c=o(n),h=c(n);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=n[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",i=n[4]?n[4]:n[5].defaultLabel),f(e,"aria-disabled",l=!n[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,_){L(d,e,_),h.m(e,null),r||(a=ne(e,"click",n[29]),r=!0)},p(d,_){c===(c=o(d))&&h?h.p(d,_):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),_[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),_[0]&48&&i!==(i=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",i),_[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&I(e),h.d(),r=!1,a()}}}function pC(n){let e,t,i,l,r,a,o;function c(_,p){return _[2]&&_[7]?SC:kC}let h=c(n),d=h(n);return{c(){e=S("a"),d.c(),f(e,"href",t=n[2]?n[19](n[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",i=n[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=n[4]?n[4]:n[5].defaultLabel),f(e,"aria-disabled",r=!n[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(_,p){L(_,e,p),d.m(e,null),a||(o=ne(e,"click",Pt(n[28])),a=!0)},p(_,p){h===(h=c(_))&&d?d.p(_,p):(d.d(1),d=h(_),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=_[2]?_[19](_[2]):void 0)&&f(e,"href",t),p[0]&256&&i!==(i=_[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",i),p[0]&48&&l!==(l=_[4]?_[4]:_[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!_[15])&&f(e,"aria-disabled",r)},d(_){_&&I(e),d.d(),a=!1,o()}}}function mC(n){let e,t;function i(a,o){return a[4]?vC:wC}let l=i(n),r=l(n);return{c(){r.c(),e=z(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=i(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&I(e),a&&I(t)}}}function bC(n){let e,t=n[7](n[2])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&I(i),l&&e.d()}}}function vC(n){let e;return{c(){e=Te(n[4])},m(t,i){L(t,e,i)},p(t,i){i[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function wC(n){let e=n[16](n[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(i,l){L(i,t,l)},p(i,l){l[0]&65568&&e!==(e=i[16](i[5].defaultLabel)+"")&&Le(t,e)},d(i){i&&I(t)}}}function kC(n){let e,t;function i(a,o){return a[4]?CC:yC}let l=i(n),r=l(n);return{c(){r.c(),e=z(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),L(a,e,o),L(a,t,o)},p(a,o){l===(l=i(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&I(e),a&&I(t)}}}function SC(n){let e,t=n[7](n[2])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&I(i),l&&e.d()}}}function CC(n){let e;return{c(){e=Te(n[4])},m(t,i){L(t,e,i)},p(t,i){i[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function yC(n){let e=n[16](n[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(i,l){L(i,t,l)},p(i,l){l[0]&65568&&e!==(e=i[16](i[5].defaultLabel)+"")&&Le(t,e)},d(i){i&&I(t)}}}function Hg(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A=!n[4]&&Wg(n),T=n[4]&&zg(n);return d=new lp({props:{actions:n[0],config:n[5],customOptionsRenderer:n[6],options:n[1],selectedLabel:n[4],selectedOption:n[2],getNodeName:n[18],getRouteLink:n[19],getTranslation:n[17],isMobile:n[9],isContextSwitcherDropdownShown:n[14]}}),d.$on("onActionClick",n[11]),d.$on("goToOption",n[12]),{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("div"),a=S("h2"),A&&A.c(),o=z(),T&&T.c(),c=z(),h=S("div"),Me(d.$$.fragment),_=z(),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(i,"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){L(V,e,E),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),A&&A.m(a,null),w(a,o),T&&T.m(a,null),w(t,c),w(t,h),Ve(d,h,null),w(t,_),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ne(v,"click",n[13]),ne(e,"click",Vt(IC))],y=!0)},p(V,E){V[4]?A&&(A.d(1),A=null):A?A.p(V,E):(A=Wg(V),A.c(),A.m(a,o)),V[4]?T?T.p(V,E):(T=zg(V),T.c(),T.m(a,null)):T&&(T.d(1),T=null);const U={};E[0]&1&&(U.actions=V[0]),E[0]&32&&(U.config=V[5]),E[0]&64&&(U.customOptionsRenderer=V[6]),E[0]&2&&(U.options=V[1]),E[0]&16&&(U.selectedLabel=V[4]),E[0]&4&&(U.selectedOption=V[2]),E[0]&512&&(U.isMobile=V[9]),E[0]&16384&&(U.isContextSwitcherDropdownShown=V[14]),d.$set(U)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){B(d.$$.fragment,V),C=!1},d(V){V&&I(e),A&&A.d(),T&&T.d(),Oe(d),y=!1,Qe(P)}}}function Wg(n){let e=n[16](n[5].defaultLabel)+"",t;return{c(){t=Te(e)},m(i,l){L(i,t,l)},p(i,l){l[0]&65568&&e!==(e=i[16](i[5].defaultLabel)+"")&&Le(t,e)},d(i){i&&I(t)}}}function zg(n){let e;return{c(){e=Te(n[4])},m(t,i){L(t,e,i)},p(t,i){i[0]&16&&Le(e,t[4])},d(t){t&&I(e)}}}function PC(n){let e,t,i=n[3]&&Ug(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[3]?i?(i.p(l,r),r[0]&8&&R(i,1)):(i=Ug(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}const NC=()=>{},IC=()=>{};function TC(n,e,t){let i,l;const r=Wt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:_=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:A=!1}=e,{defaultLabel:T}=e,V,E=pt("getUnsavedChangesModalPromise"),U=pt("store"),F=pt("getTranslation");bn(n,F,re=>t(16,l=re));let D=!1,{addNavHrefForAnchor:Z}=e,j;Qt(async()=>{ui.doOnStoreChange(U,async()=>{const re=ae.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!re),!!a&&(t(6,C=le.isFunction(re.customOptionsRenderer)?re.customOptionsRenderer:void 0),t(7,y=le.isFunction(re.customSelectedOptionRenderer)?re.customSelectedOptionRenderer:void 0),t(5,h=re),t(1,_=void 0),re)){t(27,p=re.alwaysShowDropdown!==!1),t(0,d=await ae.getConfigValueAsync("navigation.contextSwitcher.actions"));const Ee=it.getCurrentPath();t(20,m=re.fallbackLabelResolver),_i.resetFallbackLabelCache(),re.lazyloadOptions||await te(),_i.isContextSwitcherDetailsView(Ee,re.parentNodePath)&&await G(Ee)}},["navigation.contextSwitcher"]),we.addRouteChangeListener(re=>G(re)),Ai.addEventListener("message",re=>{Ae.getValidMessageSource(re)&&re.data&&re.data.msg==="luigi.refresh-context-switcher"&&(t(1,_=null),te())}),t(21,T=h.defaultLabel)}),zi(()=>{D!==A&&(D=A,te()),t(14,j=o.contextSwitcherPopover||!1)});function Q(re,Ee,We){return re?Promise.resolve(re):_i.getFallbackLabel(Ee,We)}function de(re){return we.getNodeHref(re,v)}async function te(){t(1,_=await _i.fetchOptions(_));const re=h||{},Ee=re.parentNodePath,We=re.fallbackLabelResolver,W=it.getCurrentPath();t(2,b=await _i.getSelectedOption(W,_,Ee)),t(4,c=await _i.getSelectedLabel(W,_,Ee,We)),await _i.getSelectedNode(W,_,Ee),V=re.preserveSubPathOnSwitch}async function G(re){const Ee=h||{},We=Ee.parentNodePath,W=Ee.fallbackLabelResolver;t(2,b=await _i.getSelectedOption(re,_,We)),t(4,c=await _i.getSelectedLabel(re,_,We,W)),await _i.getSelectedNode(re,_,We)}async function Y(re){let Ee=re.detail.node;Ee.clickHandler&&!await Ee.clickHandler(Ee)||(setTimeout(()=>{X(Ee.link)}),P&&r("toggleDropdownState"))}function X(re){E().then(()=>{it.navigateTo(re)},()=>{})}function _e(re){let Ee=re.detail.option,We=re.detail.selectedOption;E().then(()=>{V&&We?it.navigateTo(_i.getNodePathFromCurrentPath(Ee,We)):it.navigateTo(Ee.link),P&&r("toggleDropdownState")},()=>{})}function ie(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&te()}const oe=()=>{i&&ie()},ve=()=>{i&&ie()};return n.$$set=re=>{"contextSwitcherEnabled"in re&&t(3,a=re.contextSwitcherEnabled),"dropDownStates"in re&&t(8,o=re.dropDownStates),"selectedLabel"in re&&t(4,c=re.selectedLabel),"config"in re&&t(5,h=re.config),"actions"in re&&t(0,d=re.actions),"options"in re&&t(1,_=re.options),"selectedOption"in re&&t(2,b=re.selectedOption),"fallbackLabelResolver"in re&&t(20,m=re.fallbackLabelResolver),"pathParams"in re&&t(22,v=re.pathParams),"customOptionsRenderer"in re&&t(6,C=re.customOptionsRenderer),"customSelectedOptionRenderer"in re&&t(7,y=re.customSelectedOptionRenderer),"isMobile"in re&&t(9,P=re.isMobile),"contextSwitcherToggle"in re&&t(23,A=re.contextSwitcherToggle),"defaultLabel"in re&&t(21,T=re.defaultLabel),"addNavHrefForAnchor"in re&&t(10,Z=re.addNavHrefForAnchor)},n.$$.update=()=>{n.$$.dirty[0]&134217735&&t(15,i=p||d&&d.length>0||_&&_.length>1||!b)},[d,_,b,a,c,h,C,y,o,P,Z,Y,_e,ie,j,i,l,F,Q,de,m,T,v,A,te,G,X,p,oe,ve]}class rp extends Et{constructor(e){super(),At(this,e,TC,PC,Nt,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:LC}=dl;function qg(n,e,t){const i=n.slice();return i[22]=e[t],i}function Gg(n){let e,t,i,l=!n[2]&&Kg(n),r=n[2]&&n[3].productSwitcherPopover&&Zg(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),i=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=Kg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=Zg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){i||(R(r),i=!0)},o(a){B(r),i=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function Kg(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v,C,y;function P(U,F){return F&2&&(a=null),a==null&&(a=!!U[11](U[1])),a?EC:AC}let A=P(n,-1),T=A(n),V=n[0],E=[];for(let U=0;U<V.length;U+=1)E[U]=Qg(qg(n,V,U));return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("button"),T.c(),d=z(),_=S("div"),p=S("div"),b=S("ul");for(let U=0;U<E.length;U+=1)E[U].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=n[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=n[1].label),f(r,"data-testid",h=n[14](n[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Xi(n[9])+" svelte-156h3yc"),f(_,"class","fd-popover__body fd-popover__body--right"),f(_,"aria-hidden",v=!n[3].productSwitcherPopover),f(_,"id","productSwitcherPopover"),f(i,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(U,F){L(U,e,F),w(e,t),w(t,i),w(i,l),w(l,r),T.m(r,null),w(i,d),w(i,_),w(_,p),w(p,b);for(let D=0;D<E.length;D+=1)E[D].m(b,null);C||(y=[ne(r,"click",Vt(n[7])),ne(l,"click",Vt(BC))],C=!0)},p(U,F){if(A===(A=P(U,F))&&T?T.p(U,F):(T.d(1),T=A(U),T&&(T.c(),T.m(r,null))),F&8&&o!==(o=U[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),F&2&&c!==(c=U[1].label)&&f(r,"title",c),F&2&&h!==(h=U[14](U[1]))&&f(r,"data-testid",h),F&64561){V=U[0];let D;for(D=0;D<V.length;D+=1){const Z=qg(U,V,D);E[D]?E[D].p(Z,F):(E[D]=Qg(Z),E[D].c(),E[D].m(b,null))}for(;D<E.length;D+=1)E[D].d(1);E.length=V.length}F&512&&m!==(m=Xi(U[9])+" svelte-156h3yc")&&f(p,"class",m),F&8&&v!==(v=!U[3].productSwitcherPopover)&&f(_,"aria-hidden",v)},d(U){U&&I(e),T.d(),ft(E,U),C=!1,Qe(y)}}}function AC(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[1].icon)||f(e,"src",t),f(e,"alt",i=n[1].altText?n[1].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&2&&!Ze(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&i!==(i=l[1].altText?l[1].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function EC(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+n[10](n[1].icon))},m(i,l){L(i,e,l)},p(i,l){l&2&&t!==(t="sap-icon "+i[10](i[1].icon))&&f(e,"class",t)},d(i){i&&I(e)}}}function jg(n){let e,t,i,l,r,a;function o(_,p){return _[4]?DC:RC}let c=o(n),h=c(n);function d(){return n[17](n[22])}return{c(){e=S("li"),h.c(),t=z(),f(e,"class",i="fd-product-switch__item "+(n[22].selected?"selected":"")),f(e,"data-testid",l=n[14](n[22]))},m(_,p){L(_,e,p),h.m(e,null),w(e,t),r||(a=ne(e,"click",d),r=!0)},p(_,p){n=_,c===(c=o(n))&&h?h.p(n,p):(h.d(1),h=c(n),h&&(h.c(),h.m(e,t))),p&1&&i!==(i="fd-product-switch__item "+(n[22].selected?"selected":""))&&f(e,"class",i),p&1&&l!==(l=n[14](n[22]))&&f(e,"data-testid",l)},d(_){_&&I(e),h.d(),r=!1,a()}}}function RC(n){let e,t,i,l,r,a=n[12](n[22])+"",o,c,h=n[13](n[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?OC:VC}let _=d(n,-1),p=_(n),b=h&&Jg(n);return{c(){e=S("div"),p.c(),i=z(),l=S("div"),r=S("div"),o=Te(a),c=z(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){L(m,e,v),p.m(e,null),L(m,i,v),L(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){_===(_=d(m,v))&&p?p.p(m,v):(p.d(1),p=_(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=Jg(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&I(e),p.d(),m&&I(i),m&&I(l),b&&b.d()}}}function DC(n){let e,t,i,l,r,a,o=n[12](n[22])+"",c,h,d=n[13](n[22]),_,p,b;function m(P,A){return A&1&&(i=null),i==null&&(i=!!P[11](P[22])),i?FC:MC}let v=m(n,-1),C=v(n),y=d&&Yg(n);return{c(){e=S("a"),t=S("div"),C.c(),l=z(),r=S("div"),a=S("div"),c=Te(o),h=z(),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",_=n[15](n[22])),f(e,"class","fd-menu__link")},m(P,A){L(P,e,A),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=ne(e,"click",n[16]),p=!0)},p(P,A){v===(v=m(P,A))&&C?C.p(P,A):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),A&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),A&1&&(d=P[13](P[22])),d?y?y.p(P,A):(y=Yg(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),A&1&&_!==(_=P[15](P[22]))&&f(e,"href",_)},d(P){P&&I(e),C.d(),y&&y.d(),p=!1,b()}}}function VC(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[22].icon)||f(e,"src",t),f(e,"alt",i=n[22].altText?n[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&i!==(i=l[22].altText?l[22].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function OC(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(i){i&&I(e)}}}function Jg(n){let e,t=n[13](n[22])+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(i,t)},d(l){l&&I(e)}}}function MC(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[22].icon)||f(e,"src",t),f(e,"alt",i=n[22].altText?n[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&i!==(i=l[22].altText?l[22].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function FC(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(i){i&&I(e)}}}function Yg(n){let e,t=n[13](n[22])+"",i;return{c(){e=S("div"),i=Te(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){L(l,e,r),w(e,i)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(i,t)},d(l){l&&I(e)}}}function Qg(n){let e,t=n[22].label&&jg(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[22].label?t?t.p(i,l):(t=jg(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&I(e)}}}function Zg(n){let e,t;return e=new ip({props:{nodes:n[0],label:n[1].label,hasOpenUIicon:n[11],getNodeLabel:n[12],getNodeSubtitle:n[13]}}),e.$on("click",n[7]),e.$on("listClick",n[6]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l&1&&(r.nodes=i[0]),l&2&&(r.label=i[1].label),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function UC(n){let e=n[0]&&n[0].length&&Object.keys(n[0][0]).length,t,i,l,r,a=e&&Gg(n);return{c(){a&&a.c(),t=Ce()},m(o,c){a&&a.m(o,c),L(o,t,c),i=!0,l||(r=ne(LC,"resize",us),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=Gg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ke(),B(a,1,1,()=>{a=null}),Se())},i(o){i||(R(a),i=!0)},o(o){B(a),i=!1},d(o){a&&a.d(o),o&&I(t),l=!1,r()}}}function us(){let n=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${n}px`)}const BC=()=>{};function HC(n,e,t){const i=Wt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=pt("store"),h=pt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:_}=e;Qt(async()=>{ui.doOnStoreChange(c,async()=>{t(1,a=ue.getProductSwitcherConfig()),a&&(t(0,l=await ae.getConfigValueAsync("navigation.productSwitcher.items")),A()),us()},["navigation.productSwitcher"])});function p(F){h().then(()=>{it.navigateToLink(F)},()=>{}),m()}function b(F){p(F.detail)}function m(){i("toggleDropdownState")}function v(F){return ue.renderIconClassName(F)}function C(F){return ue.isOpenUIiconName(F.icon)}function y(F){return bt.getTranslation(F.label)}function P(F){return bt.getTranslation(F.subTitle)}function A(){ue.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function T(F){return F.testId?F.testId:ue.prepareForTests(F.label)}function V(F){return we.getNodeHref(F)}const E=F=>{ue.handleNavAnchorClickedWithoutMetaKey(F)},U=F=>p(F);return n.$$set=F=>{"productSwitcherItems"in F&&t(0,l=F.productSwitcherItems),"isMobile"in F&&t(2,r=F.isMobile),"config"in F&&t(1,a=F.config),"dropDownStates"in F&&t(3,o=F.dropDownStates),"addNavHrefForAnchor"in F&&t(4,_=F.addNavHrefForAnchor)},[l,a,r,o,_,p,b,m,us,d,v,C,y,P,T,V,E,U]}class ap extends Et{constructor(e){super(),At(this,e,HC,UC,Nt,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return us}}function Xg(n,e,t){const i=n.slice();return i[30]=e[t],i[32]=t,i}function WC(n){let e,t,i;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){L(l,e,r),n[18](e),e.focus(),t||(i=ne(e,"keyup",n[17]),t=!0)},p:He,d(l){l&&I(e),n[18](null),t=!1,i()}}}function zC(n){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,i){L(t,e,i),e.focus()},p:He,d(t){t&&I(e)}}}function qC(n){let e;return{c(){e=S("div")},m(t,i){L(t,e,i),n[22](e)},p:He,d(t){t&&I(e),n[22](null)}}}function GC(n){let e,t,i,l=n[5]&&$g(n);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",i=!n[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[5]?l?l.p(r,a):(l=$g(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&i!==(i=!r[0])&&f(e,"aria-hidden",i)},d(r){r&&I(e),l&&l.d()}}}function $g(n){let e,t=n[5],i=[];for(let l=0;l<t.length;l+=1)i[l]=xg(Xg(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null);n[21](e)},p(l,r){if(r[0]&26152){t=l[5];let a;for(a=0;a<t.length;a+=1){const o=Xg(l,t,a);i[a]?i[a].p(o,r):(i[a]=xg(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&I(e),ft(i,l),n[21](null)}}}function KC(n){let e,t=n[10](n[30],n[3],n[32])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r[0]&40&&t!==(t=l[10](l[30],l[3],l[32])+"")&&e.p(t)},d(l){l&&I(i),l&&e.d()}}}function jC(n){let e,t,i,l=n[30].label+"",r,a,o,c=n[30].description+"",h,d,_;return{c(){e=S("a"),t=S("div"),i=S("div"),r=Te(l),a=z(),o=S("div"),h=Te(c),f(i,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(t,a),w(t,o),w(o,h),d||(_=ne(e,"click",Pt(YC)),d=!0)},p(p,b){b[0]&32&&l!==(l=p[30].label+"")&&Le(r,l),b[0]&32&&c!==(c=p[30].description+"")&&Le(h,c)},d(p){p&&I(e),d=!1,_()}}}function xg(n){let e,t,i,l;function r(d,_){return d[9]?KC:jC}let a=r(n),o=a(n);function c(...d){return n[19](n[30],...d)}function h(...d){return n[20](n[30],...d)}return{c(){e=S("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+n[32]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),i||(l=[ne(e,"click",c),ne(e,"keyup",h)],i=!0)},p(d,_){n=d,a===(a=r(n))&&o?o.p(n,_):(o.d(1),o=a(n),o&&(o.c(),o.m(e,t)))},d(d){d&&I(e),o.d(),i=!1,Qe(l)}}}function JC(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v,C,y;function P(F,D){return F[7]&&F[7].disableInputHandlers?zC:WC}let A=P(n),T=A(n);function V(F,D){return F[8]?qC:GC}let E=V(n),U=E(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),T.c(),r=z(),a=S("div"),o=z(),U.c(),d=z(),_=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(i,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(i,"aria-hidden",c=!n[4]),f(i,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(n[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!n[4]),f(b,"data-testid","luigi-search-btn-desktop"),f(_,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(F,D){L(F,e,D),w(e,t),w(t,i),w(i,l),T.m(l,null),w(l,r),w(l,a),w(i,o),U.m(i,null),L(F,d,D),L(F,_,D),w(_,p),w(p,b),w(b,m),C||(y=[ne(window,"click",n[11]),ne(window,"blur",n[11]),ne(i,"click",Vt(QC)),ne(b,"click",n[6]),ne(p,"click",Vt(ZC))],C=!0)},p(F,D){A===(A=P(F))&&T?T.p(F,D):(T.d(1),T=A(F),T&&(T.c(),T.m(l,r))),E===(E=V(F))&&U?U.p(F,D):(U.d(1),U=E(F),U&&(U.c(),U.m(i,null))),D[0]&16&&c!==(c=!F[4])&&f(i,"aria-hidden",c),D[0]&16&&h!==(h="fd-shellbar__action "+(F[4]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),D[0]&16&&v!==(v=!F[4])&&f(b,"aria-expanded",v)},i:He,o:He,d(F){F&&I(e),T.d(),U.d(),F&&I(d),F&&I(_),C=!1,Qe(y)}}}const YC=()=>{},QC=()=>{},ZC=()=>{};function XC(n,e,t){let{isSearchFieldVisible:i}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:h}=e;const d=Wt(),_={fireItemSelected:X=>{p.searchProvider.onSearchResultItemSelected(X)}};let p={},b,m;Qt(async()=>{t(7,p=h);let X=a;const _e=C(p.searchProvider);_e&&(X.placeholder=_e),v()}),zi(()=>{t(7,p=h),v()});function v(){p.searchProvider&&(t(8,b=le.isFunction(p.searchProvider.customSearchResultRenderer)),t(9,m=le.isFunction(p.searchProvider.customSearchResultItemRenderer)))}function C(X){if(!X||!X.inputPlaceholder)return;const _e=bt.getCurrentLocale();if(le.isFunction(X.inputPlaceholder))return X.inputPlaceholder();if(typeof X.inputPlaceholder=="string"){const ie=bt.getTranslation(X.inputPlaceholder);return ie&&ie.trim().length>0?ie:X.inputPlaceholder}if(typeof X.inputPlaceholder=="object")return X.inputPlaceholder[_e]}function y(X,_e,ie){return setTimeout(()=>{p.searchProvider.customSearchResultItemRenderer(X,_e.children[ie],_)}),""}function P(){d("closeSearchResult")}function A({keyCode:X}){p&&p.searchProvider?le.isFunction(p.searchProvider.onEnter)&&X===mn?p.searchProvider.onEnter():le.isFunction(p.searchProvider.onEscape)&&X===_n?p.searchProvider.onEscape():X===Bn?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(p.searchProvider.onInput)&&p.searchProvider.onInput():console.warn("GlobalSearch is not available.")}function T(X){let _e=c.children;if(_e)for(let ie=0;ie<_e.length;ie++){let{childNodes:oe,nextSibling:ve,previousSibling:re}=_e[ie],Ee;if(oe[0].getAttribute("aria-selected")==="true"){X===Bn&&(Ee=ve!==null?ve:_e[0]),X===Vl&&(Ee=re!==null?re:_e[_e.length-1]),oe[0].setAttribute("aria-selected","false"),Ee.childNodes[0].setAttribute("aria-selected","true"),Ee.focus();break}}}function V(){let X=c.children;if(X)for(let _e=0;_e<X.length;_e++){let ie=X[_e];ie.childNodes[0].getAttribute("aria-selected")==="true"&&ie.childNodes[0].setAttribute("aria-selected","false")}}function E(X){p&&le.isFunction(p.searchProvider.onSearchResultItemSelected)?p.searchProvider.onSearchResultItemSelected(X):le.isFunction(p.searchProvider.onEscape)&&event.keyCode===_n&&p.searchProvider.onEscape()}function U(X,{keyCode:_e}){_e===mn&&p.searchProvider.onSearchResultItemSelected(X),_e===Vl||_e===Bn?T(_e):le.isFunction(p.searchProvider.onEscape)&&_e===_n&&(V(),setTimeout(()=>{a.focus()}),p.searchProvider.onEscape())}function F(X){let _e=X.pathObject;_e.externalLink?it.navigateToLink(_e):d("handleSearchNavigation",{node:_e})}function D(){a&&a.focus()}function Z(){if(i?t(0,r=!1):setTimeout(()=>{D()}),d("toggleSearch",{isSearchFieldVisible:i,inputElem:a,luigiCustomSearchRenderer__slot:o}),p&&p.searchProvider&&le.isFunction(p.searchProvider.toggleSearch)){const X=i===void 0?!0:!i;p.searchProvider.toggleSearch(a,X)}}const j=X=>A(X);function Q(X){Xe[X?"unshift":"push"](()=>{a=X,t(1,a)})}const de=(X,_e)=>E(X),te=(X,_e)=>U(X,_e);function G(X){Xe[X?"unshift":"push"](()=>{c=X,t(3,c)})}function Y(X){Xe[X?"unshift":"push"](()=>{o=X,t(2,o)})}return n.$$set=X=>{"isSearchFieldVisible"in X&&t(4,i=X.isSearchFieldVisible),"searchResult"in X&&t(5,l=X.searchResult),"displaySearchResult"in X&&t(0,r=X.displaySearchResult),"inputElem"in X&&t(1,a=X.inputElem),"luigiCustomSearchRenderer__slot"in X&&t(2,o=X.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in X&&t(3,c=X.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in X&&t(15,h=X.globalSearchConfig)},[r,a,o,c,i,l,Z,p,b,m,y,P,A,E,U,h,F,j,Q,de,te,G,Y]}class $C extends Et{constructor(e){super(),At(this,e,XC,JC,Nt,{isSearchFieldVisible:4,searchResult:5,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:15,onActionClick:16,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[16]}get toggleSearch(){return this.$$.ctx[6]}}function eh(n,e,t){const i=n.slice();return i[39]=e[t],i[41]=t,i}function xC(n){let e,t,i,l,r,a,o,c,h,d,_;return{c(){e=S("input"),t=z(),i=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=z(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=z(),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(i,"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){L(p,e,b),n[24](e),L(p,t,b),L(p,i,b),w(i,l),L(p,r,b),L(p,a,b),w(a,o),L(p,c,b),L(p,h,b),d||(_=[ne(e,"keyup",n[23]),ne(e,"input",n[25]),ne(l,"click",n[18]),ne(o,"click",n[16])],d=!0)},p:He,d(p){p&&I(e),n[24](null),p&&I(t),p&&I(i),p&&I(r),p&&I(a),p&&I(c),p&&I(h),d=!1,Qe(_)}}}function e4(n){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,i){L(t,e,i)},p:He,d(t){t&&I(e)}}}function t4(n){let e;return{c(){e=S("div")},m(t,i){L(t,e,i),n[29](e)},p:He,d(t){t&&I(e),n[29](null)}}}function i4(n){let e,t,i,l=n[4]&&th(n);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",i=!n[0])},m(r,a){L(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=th(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&1&&i!==(i=!r[0])&&f(e,"aria-hidden",i)},d(r){r&&I(e),l&&l.d()}}}function th(n){let e,t=n[4],i=[];for(let l=0;l<t.length;l+=1)i[l]=ih(eh(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null);n[28](e)},p(l,r){if(r[0]&1582104){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=eh(l,t,a);i[a]?i[a].p(o,r):(i[a]=ih(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&I(e),ft(i,l),n[28](null)}}}function n4(n){let e,t=n[13](n[39],n[3],n[41])+"",i;return{c(){e=new gr(!1),i=Ce(),e.a=i},m(l,r){e.m(t,l,r),L(l,i,r)},p(l,r){r[0]&24&&t!==(t=l[13](l[39],l[3],l[41])+"")&&e.p(t)},d(l){l&&I(i),l&&e.d()}}}function l4(n){let e,t,i,l=n[39].label+"",r,a,o,c=n[39].description+"",h,d,_;return{c(){e=S("a"),t=S("div"),i=S("div"),r=Te(l),a=z(),o=S("div"),h=Te(c),f(i,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){L(p,e,b),w(e,t),w(t,i),w(i,r),w(t,a),w(t,o),w(o,h),d||(_=ne(e,"click",Pt(a4)),d=!0)},p(p,b){b[0]&16&&l!==(l=p[39].label+"")&&Le(r,l),b[0]&16&&c!==(c=p[39].description+"")&&Le(h,c)},d(p){p&&I(e),d=!1,_()}}}function ih(n){let e,t,i,l;function r(d,_){return d[10]?n4:l4}let a=r(n),o=a(n);function c(...d){return n[26](n[39],...d)}function h(...d){return n[27](n[39],...d)}return{c(){e=S("li"),o.c(),t=z(),f(e,"class","fd-menu__item luigi-search-result-item__"+n[41]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,_){L(d,e,_),o.m(e,null),w(e,t),i||(l=[ne(e,"click",c),ne(e,"keyup",h)],i=!0)},p(d,_){n=d,a===(a=r(n))&&o?o.p(n,_):(o.d(1),o=a(n),o&&(o.c(),o.m(e,t)))},d(d){d&&I(e),o.d(),i=!1,Qe(l)}}}function nh(n){let e,t,i,l,r,a,o;return{c(){e=S("div"),t=S("div"),i=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(i,"class","fd-button fd-button--transparent fd-shellbar__button"),f(i,"aria-haspopup","true"),f(i,"aria-expanded",r=!n[5]),f(i,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-qeg9jv")},m(c,h){L(c,e,h),w(e,t),w(t,i),w(i,l),a||(o=[ne(i,"click",n[6]),ne(t,"click",Vt(o4))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(i,"aria-expanded",r)},d(c){c&&I(e),a=!1,Qe(o)}}}function lh(n){let e,t,i=n[11](n[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Te(i),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!n[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(n[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(h,d){L(h,e,d),w(e,t),w(t,l),o||(c=ne(t,"click",Vt(n[30])),o=!0)},p(h,d){d[0]&2176&&i!==(i=h[11](h[7])+"")&&Le(l,i),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&&I(e),o=!1,c()}}}function r4(n){let e,t,i,l,r,a,o,c,h,d,_,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?e4:xC}let m=b(n),v=m(n);function C(V,E){return V[9]?t4:i4}let y=C(n),P=y(n),A=!n[5]&&nh(n),T=n[5]&&lh(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),v.c(),r=z(),P.c(),c=z(),A&&A.c(),h=z(),T&&T.c(),d=Ce(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(i,"class","luigi-search fd-shellbar__group"),f(i,"aria-hidden",a=!n[5]),f(i,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(n[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,E){L(V,e,E),w(e,t),w(t,i),w(i,l),v.m(l,null),w(i,r),P.m(i,null),L(V,c,E),A&&A.m(V,E),L(V,h,E),T&&T.m(V,E),L(V,d,E),_||(p=[ne(window,"click",n[14]),ne(window,"blur",n[14]),ne(i,"click",Vt(s4))],_=!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(i,null))),E[0]&32&&a!==(a=!V[5])&&f(i,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?A&&(A.d(1),A=null):A?A.p(V,E):(A=nh(V),A.c(),A.m(h.parentNode,h)),V[5]?T?T.p(V,E):(T=lh(V),T.c(),T.m(d.parentNode,d)):T&&(T.d(1),T=null)},i:He,o:He,d(V){V&&I(e),v.d(),P.d(),V&&I(c),A&&A.d(V),V&&I(h),T&&T.d(V),V&&I(d),_=!1,Qe(p)}}}const a4=()=>{},s4=()=>{},o4=()=>{};function u4(n,e,t){let i,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{luigiCustomSearchRenderer__slot:o}=e,{luigiCustomSearchItemRenderer__slotContainer:c}=e,{globalSearchConfig:h}=e;const d=Wt(),_={fireItemSelected:W=>{m.searchProvider.onSearchResultItemSelected(W)}};let p=fl.globalSearchCenteredCancelButton,{isSearchFieldVisible:b}=e,m={},v,C,y=pt("getTranslation");bn(n,y,W=>t(11,i=W)),Qt(async()=>{t(8,m=h),t(7,p=m.globalSearchCenteredCancelButton?m.globalSearchCenteredCancelButton:p);let W=a;const se=A(m.searchProvider);se&&(W.placeholder=se),P(),Gf.handleVisibilityGlobalSearch();const Ie=document.querySelector(".lui-global-search");Ie&&new ResizeObserver(Fe=>{Gf.handleVisibilityGlobalSearch()}).observe(Ie)}),zi(()=>{t(8,m=h),P(),F()});function P(){t(9,v=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultRenderer)),t(10,C=m.searchProvider&&le.isFunction(m.searchProvider.customSearchResultItemRenderer))}function A(W){if(!W||!W.inputPlaceholder)return;const se=bt.getCurrentLocale();if(le.isFunction(W.inputPlaceholder))return W.inputPlaceholder();if(typeof W.inputPlaceholder=="string"){const Ie=bt.getTranslation(W.inputPlaceholder);return Ie&&Ie.trim().length>0?Ie:W.inputPlaceholder}if(typeof W.inputPlaceholder=="object")return W.inputPlaceholder[se]}function T(W,se,Ie){return setTimeout(()=>{m.searchProvider.customSearchResultItemRenderer(W,se.children[Ie],_)}),""}function V(){d("closeSearchResult")}function E({keyCode:W}){m?le.isFunction(m.searchProvider.onEnter)&&W===mn?m.searchProvider.onEnter():le.isFunction(m.searchProvider.onEscape)&&W===_n?m.searchProvider.onEscape():W===Bn?r&&(document.querySelector(".luigi-search-result-item__0").childNodes[0].setAttribute("aria-selected","true"),document.querySelector(".luigi-search-result-item__0").focus()):le.isFunction(m.searchProvider.onInput)&&m.searchProvider.onInput():console.warn("GlobalSearchCentered is not available.")}function U(){m&&le.isFunction(m.searchProvider.onSearchBtnClick)&&m.searchProvider.onSearchBtnClick()}function F(){a&&a.value}function D(){t(1,a.value="",a),V()}function Z(W){let se=c.children;if(se)for(let Ie=0;Ie<se.length;Ie++){let{childNodes:nt,nextSibling:Fe,previousSibling:pe}=se[Ie],Ge;if(nt[0].getAttribute("aria-selected")==="true"){W===Bn&&(Ge=Fe!==null?Fe:se[0]),W===Vl&&(Ge=pe!==null?pe:se[se.length-1]),nt[0].setAttribute("aria-selected","false"),Ge.childNodes[0].setAttribute("aria-selected","true"),Ge.focus();break}}}function j(){let W=c.children;if(W)for(let se=0;se<W.length;se++){let Ie=W[se];Ie.childNodes[0].getAttribute("aria-selected")==="true"&&Ie.childNodes[0].setAttribute("aria-selected","false")}}function Q(W){m&&le.isFunction(m.searchProvider.onSearchResultItemSelected)?m.searchProvider.onSearchResultItemSelected(W):le.isFunction(m.searchProvider.onEscape)&&event.keyCode===_n&&m.searchProvider.onEscape()}function de(W,{keyCode:se}){se===mn&&m.searchProvider.onSearchResultItemSelected(W),se===Vl||se===Bn?Z(se):le.isFunction(m.searchProvider.onEscape)&&se===_n&&(j(),setTimeout(()=>{a.focus()}),m.searchProvider.onEscape())}function te(W){let se=W.pathObject;se.externalLink?it.navigateToLink(se):d("handleSearchNavigation",{node:se})}function G(){a&&a.focus()}function Y(){if(b?t(0,r=!1):setTimeout(()=>{G()}),d("toggleSearch",{isSearchFieldVisible:b,inputElem:a,luigiCustomSearchRenderer__slot:o}),le.isFunction(m.searchProvider.toggleSearch)){const W=b===void 0?!0:!b;m.searchProvider.toggleSearch(a,W)}}const X=W=>E(W);function _e(W){Xe[W?"unshift":"push"](()=>{a=W,t(1,a)})}const ie=()=>F(),oe=(W,se)=>Q(W),ve=(W,se)=>de(W,se);function re(W){Xe[W?"unshift":"push"](()=>{c=W,t(3,c)})}function Ee(W){Xe[W?"unshift":"push"](()=>{o=W,t(2,o)})}const We=()=>Y();return n.$$set=W=>{"searchResult"in W&&t(4,l=W.searchResult),"displaySearchResult"in W&&t(0,r=W.displaySearchResult),"inputElem"in W&&t(1,a=W.inputElem),"luigiCustomSearchRenderer__slot"in W&&t(2,o=W.luigiCustomSearchRenderer__slot),"luigiCustomSearchItemRenderer__slotContainer"in W&&t(3,c=W.luigiCustomSearchItemRenderer__slotContainer),"globalSearchConfig"in W&&t(21,h=W.globalSearchConfig),"isSearchFieldVisible"in W&&t(5,b=W.isSearchFieldVisible)},[r,a,o,c,l,b,Y,p,m,v,C,i,y,T,V,E,U,F,D,Q,de,h,te,X,_e,ie,oe,ve,re,Ee,We]}class f4 extends Et{constructor(e){super(),At(this,e,u4,r4,Nt,{searchResult:4,displaySearchResult:0,inputElem:1,luigiCustomSearchRenderer__slot:2,luigiCustomSearchItemRenderer__slotContainer:3,globalSearchConfig:21,isSearchFieldVisible:5,onActionClick:22,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[22]}get toggleSearch(){return this.$$.ctx[6]}}function rh(n){let e,t;function i(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?d4:c4}let l=i(n,-1),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function c4(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),Ze(e.src,t=n[0].icon)||f(e,"src",t),f(e,"alt",i=n[0].altText?n[0].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&i!==(i=l[0].altText?l[0].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function d4(n){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))&&f(e,"class",t)},d(i){i&&I(e)}}}function ah(n){let e,t=n[3](n[0])+"",i,l,r,a;return r=new $i({props:{node:n[0]}}),{c(){e=S("span"),i=Te(t),l=z(),Me(r.$$.fragment)},m(o,c){L(o,e,c),w(e,i),w(e,l),Ve(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(i,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){B(r.$$.fragment,o),a=!1},d(o){o&&I(e),Oe(r)}}}function g4(n){let e,t,i,l=n[0].icon&&rh(n),r=(!n[0].icon||n[0].showLabel)&&ah(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),i=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=rh(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=ah(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){i||(R(r),i=!0)},o(a){B(r),i=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function h4(n,e,t){let{node:i}=e;function l(o){return ue.isOpenUIiconName(o.icon)}function r(o){return ue.renderIconClassName(o)}function a(o){return ue.getNodeLabel(o)}return n.$$set=o=>{"node"in o&&t(0,i=o.node)},[i,l,r,a]}class Uo extends Et{constructor(e){super(),At(this,e,h4,g4,Nt,{node:0})}}const{Boolean:sp,window:sh}=dl;function oh(n,e,t){const i=n.slice();return i[106]=e[t],i[108]=t,i}function uh(n,e,t){const i=n.slice();return i[106]=e[t],i[109]=e,i[108]=t,i}function _4(n){let e,t;return e=new tp({props:{isHidden:!0,addNavHrefForAnchor:n[27]}}),e.$on("toggleDropdownState",n[98]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=i[27]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function p4(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m=(n[3]==="simple"||n[3]==="simpleMobileOnly"||n[3]==="Fiori3")&&fh(n);function v(E){n[56](E)}let C={pathData:n[29],pathParams:n[30],addNavHrefForAnchor:n[27]};n[6]!==void 0&&(C.dropDownStates=n[6]),l=new DS({props:C}),Xe.push(()=>_t(l,"dropDownStates",v,n[6])),l.$on("toggleDropdownState",n[38]),l.$on("handleClick",n[36]);let y=n[18]&&n[19]&&ch(n),P=(!n[0]||n[1])&&dh(n),A=(n[18]||n[7]&&n[29].length>0)&&hh(n),T=(n[0]||n[16])&&Ah(n),V=n[12]&&Eh(n);return{c(){e=S("div"),t=S("div"),m&&m.c(),i=z(),Me(l.$$.fragment),a=z(),y&&y.c(),o=z(),c=S("div"),P&&P.c(),h=z(),A&&A.c(),d=z(),T&&T.c(),_=z(),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 "+(n[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(n[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(E,U){L(E,e,U),w(e,t),m&&m.m(t,null),w(t,i),Ve(l,t,null),w(e,a),y&&y.m(e,null),w(e,o),w(e,c),P&&P.m(c,null),w(c,h),A&&A.m(c,null),w(c,d),T&&T.m(c,null),w(c,_),V&&V.m(c,null),b=!0},p(E,U){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,U):(m=fh(E),m.c(),m.m(t,i)):m&&(m.d(1),m=null);const F={};U[0]&536870912&&(F.pathData=E[29]),U[0]&1073741824&&(F.pathParams=E[30]),U[0]&134217728&&(F.addNavHrefForAnchor=E[27]),!r&&U[0]&64&&(r=!0,F.dropDownStates=E[6],ht(()=>r=!1)),l.$set(F),E[18]&&E[19]?y?(y.p(E,U),U[0]&786432&&R(y,1)):(y=ch(E),y.c(),R(y,1),y.m(e,o)):y&&(ke(),B(y,1,1,()=>{y=null}),Se()),!E[0]||E[1]?P?(P.p(E,U),U[0]&3&&R(P,1)):(P=dh(E),P.c(),R(P,1),P.m(c,h)):P&&(ke(),B(P,1,1,()=>{P=null}),Se()),E[18]||E[7]&&E[29].length>0?A?(A.p(E,U),U[0]&537133184&&R(A,1)):(A=hh(E),A.c(),R(A,1),A.m(c,d)):A&&(ke(),B(A,1,1,()=>{A=null}),Se()),E[0]||E[16]?T?(T.p(E,U),U[0]&65537&&R(T,1)):(T=Ah(E),T.c(),R(T,1),T.m(c,_)):T&&(ke(),B(T,1,1,()=>{T=null}),Se()),E[12]?V?(V.p(E,U),U[0]&4096&&R(V,1)):(V=Eh(E),V.c(),R(V,1),V.m(c,null)):V&&(ke(),B(V,1,1,()=>{V=null}),Se()),(!b||U[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(A),R(T),R(V),b=!0)},o(E){B(l.$$.fragment,E),B(y),B(P),B(A),B(T),B(V),b=!1},d(E){E&&I(e),m&&m.d(),Oe(l),y&&y.d(),P&&P.d(),A&&A.d(),T&&T.d(),V&&V.d()}}}function fh(n){let e,t,i,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",n[25])},m(r,a){L(r,e,a),w(e,t),i||(l=ne(e,"click",n[51]),i=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&I(e),i=!1,l()}}}function ch(n){let e,t,i,l,r,a,o,c;function h(v){n[57](v)}function d(v){n[58](v)}function _(v){n[59](v)}function p(v){n[60](v)}function b(v){n[61](v)}let m={globalSearchConfig:n[18]};return n[20]!==void 0&&(m.isSearchFieldVisible=n[20]),n[24]!==void 0&&(m.searchResult=n[24]),n[23]!==void 0&&(m.displaySearchResult=n[23]),n[21]!==void 0&&(m.inputElem=n[21]),n[22]!==void 0&&(m.luigiCustomSearchRenderer__slot=n[22]),t=new f4({props:m}),Xe.push(()=>_t(t,"isSearchFieldVisible",h,n[20])),Xe.push(()=>_t(t,"searchResult",d,n[24])),Xe.push(()=>_t(t,"displaySearchResult",_,n[23])),Xe.push(()=>_t(t,"inputElem",p,n[21])),Xe.push(()=>_t(t,"luigiCustomSearchRenderer__slot",b,n[22])),t.$on("toggleSearch",n[62]),t.$on("handleSearchNavigation",n[63]),t.$on("closeSearchResult",n[64]),{c(){e=S("div"),Me(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){L(v,e,C),Ve(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!i&&C[0]&1048576&&(i=!0,y.isSearchFieldVisible=v[20],ht(()=>i=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],ht(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],ht(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],ht(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.luigiCustomSearchRenderer__slot=v[22],ht(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){B(t.$$.fragment,v),c=!1},d(v){v&&I(e),Oe(t)}}}function dh(n){let e,t,i,l,r=n[18]&&!n[19]&&gh(n);function a(c){n[73](c)}let o={isMobile:!1,addNavHrefForAnchor:n[27]};return n[6]!==void 0&&(o.dropDownStates=n[6]),t=new rp({props:o}),Xe.push(()=>_t(t,"dropDownStates",a,n[6])),t.$on("toggleDropdownState",n[74]),{c(){r&&r.c(),e=z(),Me(t.$$.fragment)},m(c,h){r&&r.m(c,h),L(c,e,h),Ve(t,c,h),l=!0},p(c,h){c[18]&&!c[19]?r?(r.p(c,h),h[0]&786432&&R(r,1)):(r=gh(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),B(r,1,1,()=>{r=null}),Se());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!i&&h[0]&64&&(i=!0,d.dropDownStates=c[6],ht(()=>i=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){B(r),B(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&I(e),Oe(t,c)}}}function gh(n){let e,t,i,l,r,a,o;function c(m){n[65](m)}function h(m){n[66](m)}function d(m){n[67](m)}function _(m){n[68](m)}function p(m){n[69](m)}let b={globalSearchConfig:n[18]};return n[20]!==void 0&&(b.isSearchFieldVisible=n[20]),n[24]!==void 0&&(b.searchResult=n[24]),n[23]!==void 0&&(b.displaySearchResult=n[23]),n[21]!==void 0&&(b.inputElem=n[21]),n[22]!==void 0&&(b.luigiCustomSearchRenderer__slot=n[22]),e=new $C({props:b}),Xe.push(()=>_t(e,"isSearchFieldVisible",c,n[20])),Xe.push(()=>_t(e,"searchResult",h,n[24])),Xe.push(()=>_t(e,"displaySearchResult",d,n[23])),Xe.push(()=>_t(e,"inputElem",_,n[21])),Xe.push(()=>_t(e,"luigiCustomSearchRenderer__slot",p,n[22])),e.$on("toggleSearch",n[70]),e.$on("handleSearchNavigation",n[71]),e.$on("closeSearchResult",n[72]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&262144&&(C.globalSearchConfig=m[18]),!t&&v[0]&1048576&&(t=!0,C.isSearchFieldVisible=m[20],ht(()=>t=!1)),!i&&v[0]&16777216&&(i=!0,C.searchResult=m[24],ht(()=>i=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],ht(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],ht(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.luigiCustomSearchRenderer__slot=m[22],ht(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){B(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function hh(n){let e,t,i,l=n[7]&&n[29].length>0&&_h(n),r=(n[9]-n[10]>0||n[12]||n[45]||n[18])&&vh(n);return{c(){l&&l.c(),e=z(),r&&r.c(),t=Ce()},m(a,o){l&&l.m(a,o),L(a,e,o),r&&r.m(a,o),L(a,t,o),i=!0},p(a,o){a[7]&&a[29].length>0?l?(l.p(a,o),o[0]&536871040&&R(l,1)):(l=_h(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ke(),B(l,1,1,()=>{l=null}),Se()),a[9]-a[10]>0||a[12]||a[45]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&16384&&R(r,1)):(r=vh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){i||(R(l),R(r),i=!0)},o(a){B(l),B(r),i=!1},d(a){l&&l.d(a),a&&I(e),r&&r.d(a),a&&I(t)}}}function _h(n){let e,t,i=n[7],l=[];for(let a=0;a<i.length;a+=1)l[a]=bh(uh(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&1207960032|o[1]&917584){i=a[7];let c;for(c=0;c<i.length;c+=1){const h=uh(a,i,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=bh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(sp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&I(e)}}}function ph(n){let e,t,i,l;const r=[b4,m4],a=[];function o(c,h){return c[106].isCat?0:1}return e=o(n),t=a[e]=r[e](n),{c(){t.c(),i=Ce()},m(c,h){a[e].m(c,h),L(c,i,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ke(),B(a[d],1,1,()=>{a[d]=null}),Se(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(i.parentNode,i))},i(c){l||(R(t),l=!0)},o(c){B(t),l=!1},d(c){a[e].d(c),c&&I(i)}}}function m4(n){let e,t,i,l,r;const a=[w4,v4],o=[];function c(h,d){return h[27]?0:1}return t=c(n),i=o[t]=a[t](n),{c(){e=S("div"),i.c(),l=z(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){L(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let _=t;t=c(h),t===_?o[t].p(h,d):(ke(),B(o[_],1,1,()=>{o[_]=null}),Se(),i=o[t],i?i.p(h,d):(i=o[t]=a[t](h),i.c()),R(i,1),i.m(e,l))},i(h){r||(R(i),r=!0)},o(h){B(i),r=!1},d(h){h&&I(e),o[t].d()}}}function b4(n){let e=n[106].visibleChildren.filter(Rh).length>0,t,i,l=e&&mh(n);return{c(){l&&l.c(),t=Ce()},m(r,a){l&&l.m(r,a),L(r,t,a),i=!0},p(r,a){a[0]&128&&(e=r[106].visibleChildren.filter(Rh).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=mh(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ke(),B(l,1,1,()=>{l=null}),Se())},i(r){i||(R(l),i=!0)},o(r){B(l),i=!1},d(r){l&&l.d(r),r&&I(t)}}}function v4(n){let e,t,i,l,r,a,o,c,h,d,_;function p(v){n[79](v,n[106],n[109],n[108])}let b={};n[106]!==void 0&&(b.node=n[106]),t=new Uo({props:b}),Xe.push(()=>_t(t,"node",p,n[106])),r=new wi({props:{node:n[106]}});function m(){return n[80](n[106])}return{c(){e=S("button"),Me(t.$$.fragment),l=z(),Me(r.$$.fragment),f(e,"title",a=n[50](n[106],n[48](n[106]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=ue.getTestId(n[106]))},m(v,C){L(v,e,C),Ve(t,e,null),w(e,l),Ve(r,e,null),h=!0,d||(_=ne(e,"click",m),d=!0)},p(v,C){n=v;const y={};!i&&C[0]&128&&(i=!0,y.node=n[106],ht(()=>i=!1)),t.$set(y);const P={};C[0]&128&&(P.node=n[106]),r.$set(P),(!h||C[0]&128&&a!==(a=n[50](n[106],n[48](n[106]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=ue.getTestId(n[106])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){B(t.$$.fragment,v),B(r.$$.fragment,v),h=!1},d(v){v&&I(e),Oe(t),Oe(r),d=!1,_()}}}function w4(n){let e,t,i,l,r,a,o,c,h,d,_,p;function b(C){n[77](C,n[106],n[109],n[108])}let m={};n[106]!==void 0&&(m.node=n[106]),t=new Uo({props:m}),Xe.push(()=>_t(t,"node",b,n[106])),r=new wi({props:{node:n[106]}});function v(...C){return n[78](n[106],...C)}return{c(){e=S("a"),Me(t.$$.fragment),l=z(),Me(r.$$.fragment),f(e,"href",a=n[49](n[106])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=n[50](n[106],n[48](n[106]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=ue.getTestId(n[106]))},m(C,y){L(C,e,y),Ve(t,e,null),w(e,l),Ve(r,e,null),d=!0,_||(p=ne(e,"click",v),_=!0)},p(C,y){n=C;const P={};!i&&y[0]&128&&(i=!0,P.node=n[106],ht(()=>i=!1)),t.$set(P);const A={};y[0]&128&&(A.node=n[106]),r.$set(A),(!d||y[0]&128&&a!==(a=n[49](n[106])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=n[50](n[106],n[48](n[106]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=ue.getTestId(n[106])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){B(t.$$.fragment,C),B(r.$$.fragment,C),d=!1},d(C){C&&I(e),Oe(t),Oe(r),_=!1,p()}}}function mh(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A,T;function V(F){n[75](F,n[106],n[109],n[108])}let E={};n[106]!==void 0&&(E.node=n[106]),r=new Uo({props:E}),Xe.push(()=>_t(r,"node",V,n[106])),c=new wi({props:{node:n[106]}});function U(){return n[76](n[108])}return v=new np({props:{node:n[106],isMobile:!1,pathParams:n[30],addNavHrefForAnchor:n[27]}}),{c(){e=S("div"),t=S("div"),i=S("div"),l=S("button"),Me(r.$$.fragment),o=z(),Me(c.$$.fragment),b=z(),m=S("div"),Me(v.$$.fragment),y=z(),f(l,"title",h=n[50](n[106],n[48](n[106]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+n[108]),f(l,"aria-expanded",_=n[6][`dropDownPopover-${n[108]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=ue.getTestId(n[106])),f(i,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!n[6][`dropDownPopover-${n[108]}`]),f(m,"id","dropDownPopover-"+n[108]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(F,D){L(F,e,D),w(e,t),w(t,i),w(i,l),Ve(r,l,null),w(l,o),Ve(c,l,null),w(t,b),w(t,m),Ve(v,m,null),w(e,y),P=!0,A||(T=[ne(l,"click",U),ne(i,"click",Vt(O4))],A=!0)},p(F,D){n=F;const Z={};!a&&D[0]&128&&(a=!0,Z.node=n[106],ht(()=>a=!1)),r.$set(Z);const j={};D[0]&128&&(j.node=n[106]),c.$set(j),(!P||D[0]&128&&h!==(h=n[50](n[106],n[48](n[106]))))&&f(l,"title",h),(!P||D[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(n[106]===n[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||D[0]&64&&_!==(_=n[6][`dropDownPopover-${n[108]}`]||!1))&&f(l,"aria-expanded",_),(!P||D[0]&128&&p!==(p=ue.getTestId(n[106])))&&f(l,"data-testid",p);const Q={};D[0]&128&&(Q.node=n[106]),D[0]&1073741824&&(Q.pathParams=n[30]),D[0]&134217728&&(Q.addNavHrefForAnchor=n[27]),v.$set(Q),(!P||D[0]&64&&C!==(C=!n[6][`dropDownPopover-${n[108]}`]))&&f(m,"aria-hidden",C)},i(F){P||(R(r.$$.fragment,F),R(c.$$.fragment,F),R(v.$$.fragment,F),P=!0)},o(F){B(r.$$.fragment,F),B(c.$$.fragment,F),B(v.$$.fragment,F),P=!1},d(F){F&&I(e),Oe(r),Oe(c),Oe(v),A=!1,Qe(T)}}}function bh(n){let e,t,i=!(n[106].hideFromNav||n[5]&&n[106].globalNav)&&ph(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&160&&R(i,1)):(i=ph(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function vh(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P,A,T,V,E,U,F;h=new wi({props:{node:n[11],special:"true"}});let D=n[18]&&!n[19]&&wh(n),Z=n[45]&&(!n[0]||n[1])&&kh(n),j=n[7]&&Sh(n),Q=n[12]&&Nh(n),de=n[12]&&Ih(n),te=n[14]&&Th(n),G=(!n[0]||n[1])&&Lh(n);return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=z(),Me(h.$$.fragment),_=z(),p=S("div"),b=S("nav"),m=S("ul"),D&&D.c(),v=z(),Z&&Z.c(),C=z(),j&&j.c(),y=z(),Q&&Q.c(),A=z(),de&&de.c(),T=z(),te&&te.c(),V=z(),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=n[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=!n[6].overflowPopover),f(p,"id","overflowPopover"),f(i,"class","fd-popover fd-popover--right svelte-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(Y,X){L(Y,e,X),w(e,t),w(t,i),w(i,l),w(l,r),w(r,a),w(a,o),w(a,c),Ve(h,a,null),w(i,_),w(i,p),w(p,b),w(b,m),D&&D.m(m,null),w(m,v),Z&&Z.m(m,null),w(m,C),j&&j.m(m,null),w(m,y),Q&&Q.m(m,null),w(i,A),de&&de.m(i,null),w(i,T),te&&te.m(i,null),w(i,V),G&&G.m(i,null),E=!0,U||(F=[ne(a,"click",n[81]),ne(l,"click",Vt(M4))],U=!0)},p(Y,X){const _e={};X[0]&2048&&(_e.node=Y[11]),h.$set(_e),(!E||X[0]&64&&d!==(d=Y[6].overflowPopover||!1))&&f(a,"aria-expanded",d),Y[18]&&!Y[19]?D?D.p(Y,X):(D=wh(Y),D.c(),D.m(m,v)):D&&(D.d(1),D=null),Y[45]&&(!Y[0]||Y[1])?Z?Z.p(Y,X):(Z=kh(Y),Z.c(),Z.m(m,C)):Z&&(Z.d(1),Z=null),Y[7]?j?(j.p(Y,X),X[0]&128&&R(j,1)):(j=Sh(Y),j.c(),R(j,1),j.m(m,y)):j&&(ke(),B(j,1,1,()=>{j=null}),Se()),Y[12]?Q?Q.p(Y,X):(Q=Nh(Y),Q.c(),Q.m(m,null)):Q&&(Q.d(1),Q=null),(!E||X[0]&64&&P!==(P=!Y[6].overflowPopover))&&f(p,"aria-hidden",P),Y[12]?de?(de.p(Y,X),X[0]&4096&&R(de,1)):(de=Ih(Y),de.c(),R(de,1),de.m(i,T)):de&&(ke(),B(de,1,1,()=>{de=null}),Se()),Y[14]?te?(te.p(Y,X),X[0]&16384&&R(te,1)):(te=Th(Y),te.c(),R(te,1),te.m(i,V)):te&&(ke(),B(te,1,1,()=>{te=null}),Se()),!Y[0]||Y[1]?G?(G.p(Y,X),X[0]&3&&R(G,1)):(G=Lh(Y),G.c(),R(G,1),G.m(i,null)):G&&(ke(),B(G,1,1,()=>{G=null}),Se())},i(Y){E||(R(h.$$.fragment,Y),R(j),R(de),R(te),R(G),E=!0)},o(Y){B(h.$$.fragment,Y),B(j),B(de),B(te),B(G),E=!1},d(Y){Y&&I(e),Oe(h),D&&D.d(),Z&&Z.d(),j&&j.d(),Q&&Q.d(),de&&de.d(),te&&te.d(),G&&G.d(),U=!1,Qe(F)}}}function wh(n){let e,t,i,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
|
|
58
|
+
<span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){L(r,e,a),w(e,t),i||(l=ne(t,"click",Vt(n[82])),i=!0)},p:He,d(r){r&&I(e),i=!1,l()}}}function kh(n){let e,t,i,l,r,a,o=(n[43]?n[43]:n[44])+"",c,h,d;return{c(){e=S("li"),t=S("a"),i=S("i"),r=z(),a=S("span"),c=Te(o),f(i,"class",l="sap-icon fd-top-nav__icon "+(n[45].icon&&n[47](n[45])?n[46](n[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(_,p){L(_,e,p),w(e,t),w(t,i),w(t,r),w(t,a),w(a,c),h||(d=ne(t,"click",Vt(n[32])),h=!0)},p(_,p){p[1]&16384&&l!==(l="sap-icon fd-top-nav__icon "+(_[45].icon&&_[47](_[45])?_[46](_[45].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(i,"class",l),p[1]&12288&&o!==(o=(_[43]?_[43]:_[44])+"")&&Le(c,o)},d(_){_&&I(e),h=!1,d()}}}function Sh(n){let e,t,i=n[7],l=[];for(let a=0;a<i.length;a+=1)l[a]=Ph(oh(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&1015828){i=a[7];let c;for(c=0;c<i.length;c+=1){const h=oh(a,i,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Ph(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(sp);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&I(e)}}}function Ch(n){let e,t,i,l,r;const a=[S4,k4],o=[];function c(h,d){return d[0]&128&&(e=null),h[106].isCat?(e==null&&(e=h[106].visibleChildren.filter(V4).length>0),e?1:-1):0}return~(t=c(n,[-1,-1,-1,-1]))&&(i=o[t]=a[t](n)),{c(){i&&i.c(),l=Ce()},m(h,d){~t&&o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let _=t;t=c(h,d),t===_?~t&&o[t].p(h,d):(i&&(ke(),B(o[_],1,1,()=>{o[_]=null}),Se()),~t?(i=o[t],i?i.p(h,d):(i=o[t]=a[t](h),i.c()),R(i,1),i.m(l.parentNode,l)):i=null)},i(h){r||(R(i),r=!0)},o(h){B(i),r=!1},d(h){~t&&o[t].d(h),h&&I(l)}}}function k4(n){let e,t,i,l,r,a,o,c,h=n[48](n[106])+"",d,_,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[47](V[106])),l?y4:C4}let P=y(n,[-1,-1,-1,-1]),A=P(n);a=new wi({props:{node:n[106]}});function T(){return n[84](n[106])}return{c(){e=S("li"),t=S("a"),i=S("span"),A.c(),r=z(),Me(a.$$.fragment),o=z(),c=S("span"),d=Te(h),b=z(),f(i,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",_=n[49](n[106])),f(t,"title",p=n[50](n[106],n[48](n[106]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,i),A.m(i,null),w(i,r),Ve(a,i,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ne(t,"click",Pt(T)),v=!0)},p(V,E){n=V,P===(P=y(n,E))&&A?A.p(n,E):(A.d(1),A=P(n),A&&(A.c(),A.m(i,r)));const U={};E[0]&128&&(U.node=n[106]),a.$set(U),(!m||E[0]&128)&&h!==(h=n[48](n[106])+"")&&Le(d,h),(!m||E[0]&128&&_!==(_=n[49](n[106])))&&f(t,"href",_),(!m||E[0]&128&&p!==(p=n[50](n[106],n[48](n[106]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){B(a.$$.fragment,V),m=!1},d(V){V&&I(e),A.d(),Oe(a),v=!1,C()}}}function S4(n){let e,t,i,l=!n[47](n[106]),r,a,o,c,h,d=n[48](n[106])+"",_,p,b,m,v,C,y,P,A=l&&yh(n);a=new wi({props:{node:n[106]}});function T(){return n[83](n[106])}return{c(){e=S("li"),t=S("a"),i=S("span"),A&&A.c(),r=z(),Me(a.$$.fragment),c=z(),h=S("span"),_=Te(d),v=z(),f(i,"class",o="fd-top-nav__icon sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7"),f(h,"class","fd-menu__title"),f(t,"href",p=n[49](n[106])),f(t,"class",b="fd-menu__link "+(n[106]===n[8]?"is-selected":"")),f(t,"data-testid",m=ue.getTestId(n[106])+"-mobile"),f(e,"class","fd-menu__item")},m(V,E){L(V,e,E),w(e,t),w(t,i),A&&A.m(i,null),w(i,r),Ve(a,i,null),w(t,c),w(t,h),w(h,_),w(e,v),C=!0,y||(P=ne(t,"click",Pt(T)),y=!0)},p(V,E){n=V,E[0]&128&&(l=!n[47](n[106])),l?A?A.p(n,E):(A=yh(n),A.c(),A.m(i,r)):A&&(A.d(1),A=null);const U={};E[0]&128&&(U.node=n[106]),a.$set(U),(!C||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7"))&&f(i,"class",o),(!C||E[0]&128)&&d!==(d=n[48](n[106])+"")&&Le(_,d),(!C||E[0]&128&&p!==(p=n[49](n[106])))&&f(t,"href",p),(!C||E[0]&384&&b!==(b="fd-menu__link "+(n[106]===n[8]?"is-selected":"")))&&f(t,"class",b),(!C||E[0]&128&&m!==(m=ue.getTestId(n[106])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){B(a.$$.fragment,V),C=!1},d(V){V&&I(e),A&&A.d(),Oe(a),y=!1,P()}}}function C4(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[106].icon)||f(e,"src",t),f(e,"alt",i=n[106].altText?n[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!Ze(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&i!==(i=l[106].altText?l[106].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function y4(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[106].icon&&n[47](n[106])?n[46](n[106].icon):"")+" svelte-p1ljc7")},m(i,l){L(i,e,l)},p(i,l){l[0]&128&&t!==(t="sap-icon "+(i[106].icon&&i[47](i[106])?i[46](i[106].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(i){i&&I(e)}}}function yh(n){let e,t,i;return{c(){e=S("img"),Ze(e.src,t=n[106].icon)||f(e,"src",t),f(e,"alt",i=n[106].altText?n[106].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){L(l,e,r)},p(l,r){r[0]&128&&!Ze(e.src,t=l[106].icon)&&f(e,"src",t),r[0]&128&&i!==(i=l[106].altText?l[106].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function Ph(n){let e,t,i=!(n[106].hideFromNav||n[5]&&n[106].globalNav)&&Ch(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[106].hideFromNav||l[5]&&l[106].globalNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&160&&R(i,1)):(i=Ch(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Nh(n){let e,t,i,l,r,a=n[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(i=null),i==null&&(i=!!(b[47](b[13])||!b[13].icon)),i?N4:P4}let _=d(n,[-1,-1,-1,-1]),p=_(n);return{c(){e=S("li"),t=S("a"),p.c(),l=z(),r=S("span"),o=Te(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ne(t,"click",Vt(n[31])),c=!0)},p(b,m){_===(_=d(b,m))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&I(e),p.d(),c=!1,h()}}}function P4(n){let e,t,i,l;return{c(){e=S("span"),t=S("img"),Ze(t.src,i=n[13].icon)||f(t,"src",i),f(t,"alt",l=n[13].altText?n[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){L(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!Ze(t.src,i=r[13].icon)&&f(t,"src",i),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&I(e)}}}function N4(n){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+n[46](n[13].icon||"grid")+" svelte-p1ljc7")},m(i,l){L(i,e,l)},p(i,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+i[46](i[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(i){i&&I(e)}}}function Ih(n){let e,t,i;function l(a){n[85](a)}let r={isMobile:!0};return n[6]!==void 0&&(r.dropDownStates=n[6]),e=new ap({props:r}),Xe.push(()=>_t(e,"dropDownStates",l,n[6])),e.$on("toggleDropdownState",n[86]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),i=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ht(()=>t=!1)),e.$set(c)},i(a){i||(R(e.$$.fragment,a),i=!0)},o(a){B(e.$$.fragment,a),i=!1},d(a){Oe(e,a)}}}function Th(n){let e,t;return e=new np({props:{node:n[15],isMobile:!0,pathParams:n[30]}}),e.$on("close",n[34]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&32768&&(r.node=i[15]),l[0]&1073741824&&(r.pathParams=i[30]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function Lh(n){let e,t,i,l,r;function a(d){n[87](d)}function o(d){n[88](d)}function c(d){n[89](d)}let h={isMobile:!0,contextSwitcherToggle:n[42]};return n[6]!==void 0&&(h.dropDownStates=n[6]),n[43]!==void 0&&(h.selectedLabel=n[43]),n[44]!==void 0&&(h.defaultLabel=n[44]),e=new rp({props:h}),Xe.push(()=>_t(e,"dropDownStates",a,n[6])),Xe.push(()=>_t(e,"selectedLabel",o,n[43])),Xe.push(()=>_t(e,"defaultLabel",c,n[44])),e.$on("toggleDropdownState",n[90]),{c(){Me(e.$$.fragment)},m(d,_){Ve(e,d,_),r=!0},p(d,_){const p={};_[1]&2048&&(p.contextSwitcherToggle=d[42]),!t&&_[0]&64&&(t=!0,p.dropDownStates=d[6],ht(()=>t=!1)),!i&&_[1]&4096&&(i=!0,p.selectedLabel=d[43],ht(()=>i=!1)),!l&&_[1]&8192&&(l=!0,p.defaultLabel=d[44],ht(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){B(e.$$.fragment,d),r=!1},d(d){Oe(e,d)}}}function Ah(n){let e,t,i,l,r;const a=[T4,I4],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 i=c(n,[-1,-1,-1,-1]),l=o[i]=a[i](n),{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){L(h,e,d),o[i].m(e,null),r=!0},p(h,d){let _=i;i=c(h,d),i===_?o[i].p(h,d):(ke(),B(o[_],1,1,()=>{o[_]=null}),Se(),l=o[i],l?l.p(h,d):(l=o[i]=a[i](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){B(l),r=!1},d(h){h&&I(e),o[i].d()}}}function I4(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v;function C(A,T){return A[17].picture?A4:L4}let y=C(n),P=y(n);return _=new tp({props:{addNavHrefForAnchor:n[27]}}),_.$on("toggleDropdownState",n[95]),_.$on("userInfoUpdated",n[41]),{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),r=S("button"),P.c(),h=z(),d=S("div"),Me(_.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(r,"aria-expanded",a=n[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=n[17].name?n[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=n[17].picture?"fd-shellbar__button--user-menu":""),f(i,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!n[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-p1ljc7")},m(A,T){L(A,e,T),w(e,t),w(t,i),w(i,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Ve(_,d,null),b=!0,m||(v=[ne(r,"click",n[94]),ne(i,"click",Vt(U4))],m=!0)},p(A,T){y===(y=C(A))&&P?P.p(A,T):(P.d(1),P=y(A),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&a!==(a=A[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||T[0]&131072&&o!==(o=A[17].name?A[17].name:void 0))&&f(r,"title",o),(!b||T[0]&131072&&c!==(c=A[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};T[0]&134217728&&(V.addNavHrefForAnchor=A[27]),_.$set(V),(!b||T[0]&64&&p!==(p=!A[6].profilePopover))&&f(d,"aria-hidden",p)},i(A){b||(R(_.$$.fragment,A),b=!0)},o(A){B(_.$$.fragment,A),b=!1},d(A){A&&I(e),P.d(),Oe(_),m=!1,Qe(v)}}}function T4(n){let e,t,i,l,r,a,o,c,h;function d(b,m){return b[17].picture?R4:E4}let _=d(n),p=_(n);return r=new zS({props:{addNavHrefForAnchor:n[27]}}),r.$on("toggleDropdownState",n[93]),r.$on("userInfoUpdated",n[41]),{c(){e=S("div"),t=S("div"),p.c(),i=z(),l=S("div"),Me(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!n[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){L(b,e,m),w(e,t),p.m(t,null),w(e,i),w(e,l),Ve(r,l,null),o=!0,c||(h=ne(t,"click",Vt(F4)),c=!0)},p(b,m){_===(_=d(b))&&p?p.p(b,m):(p.d(1),p=_(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){B(r.$$.fragment,b),o=!1},d(b){b&&I(e),p.d(),Oe(r),c=!1,h()}}}function L4(n){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(i,l){L(i,e,l)},p(i,l){l[0]&131072&&t!==(t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(i){i&&I(e)}}}function A4(n){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),Li(e,"background-image","url('"+n[17].picture+"')")},m(t,i){L(t,e,i)},p(t,i){i[0]&131072&&Li(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&I(e)}}}function E4(n){let e,t=(n[17].initials?n[17].initials:"")+"",i,l,r,a;return{c(){e=S("button"),i=Te(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=n[17].name?n[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){L(o,e,c),w(e,i),r||(a=ne(e,"click",n[92]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Le(i,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&I(e),r=!1,a()}}}function R4(n){let e,t,i,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=n[17].name?n[17].name:void 0),f(e,"tabindex","0"),Li(e,"background-image","url('"+n[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){L(r,e,a),i||(l=ne(e,"click",n[91]),i=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&Li(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&I(e),i=!1,l()}}}function Eh(n){let e,t,i;function l(a){n[96](a)}let r={isMobile:!1,addNavHrefForAnchor:n[27]};return n[6]!==void 0&&(r.dropDownStates=n[6]),e=new ap({props:r}),Xe.push(()=>_t(e,"dropDownStates",l,n[6])),e.$on("toggleDropdownState",n[97]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),i=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],ht(()=>t=!1)),e.$set(c)},i(a){i||(R(e.$$.fragment,a),i=!0)},o(a){B(e.$$.fragment,a),i=!1},d(a){Oe(e,a)}}}function D4(n){let e,t,i,l,r,a;const o=[p4,_4],c=[];function h(d,_){return d[28]?0:1}return e=h(n),t=c[e]=o[e](n),{c(){t.c(),i=Ce()},m(d,_){c[e].m(d,_),L(d,i,_),l=!0,r||(a=[ne(sh,"click",n[40]),ne(sh,"blur",n[40])],r=!0)},p(d,_){let p=e;e=h(d),e===p?c[e].p(d,_):(ke(),B(c[p],1,1,()=>{c[p]=null}),Se(),t=c[e],t?t.p(d,_):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(i.parentNode,i))},i(d){l||(R(t),l=!0)},o(d){B(t),l=!1},d(d){c[e].d(d),d&&I(i),r=!1,Qe(a)}}}const V4=n=>!n.hideFromNav&&n.label,Rh=n=>!n.hideFromNav&&n.label,O4=()=>{},M4=()=>{},F4=()=>{},U4=()=>{};function B4(n,e,t){const i=Wt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideNavComponent:o}=e,{responsiveNavSetting:c}=e,{profileTypeSettings:h}=e,{showGlobalNav:d}=e,{pathData:_}=e,p,{pathParams:b}=e,{dropDownStates:m={}}=e,{children:v}=e,{selectedNode:C}=e,{visibleNodeCount:y}=e,{globalNavNodeCount:P}=e,{totalBadgeNode:A}=e,{isProductSwitcherAvailable:T}=e,{productSwitcherConfig:V}=e,{openMobileDropDown:E}=e,{nodeForMobile:U}=e,{profileItemsAvailable:F}=e,{userInfo:D={}}=e,{globalSearchConfig:Z}=e,{isGlobalSearchCentered:j}=e,{isSearchFieldVisible:Q}=e,{inputElem:de}=e,{luigiCustomSearchRenderer__slot:te}=e,{displaySearchResult:G}=e,{searchResult:Y}=e,{burgerTooltip:X}=e,{responsiveShellbarPadding:_e}=e,ie=pt("store"),oe=!1,ve,re,Ee=ae.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:We=ae.getConfigBooleanValue("navigation.addNavHrefs")}=e;const W=async()=>{if(_&&0<_.length){const J=await ue.generateTopNavNodes(_);t(7,v=J.children),t(8,C=J.selectedNode),t(9,y=J.visibleNodeCount),t(11,A=J.totalBadgeNode),t(10,P=J.globalNavNodeCount),window.TOPNAVDATA=J.children,p=_}},se=()=>{t(1,a=ul.isLoggedIn())};Qt(()=>{ui.doOnStoreChange(ie,()=>{t(0,l=hn.isAuthorizationEnabled()),t(16,F=ae.getConfigValue("navigation.profile")),t(52,r=!ae.getConfigValue("auth.disableAutoLogin")),t(12,T=ae.getConfigValue("navigation.productSwitcher")),t(2,o=ae.getConfigBooleanValue("settings.hideNavigation")),t(3,c=ae.getConfigValue("settings.responsiveNavigation")),t(4,h=ae.getConfigValue("settings.profileType")),t(26,_e=ae.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,V=ue.getProductSwitcherConfig()),t(18,Z=ae.getConfigValue("globalSearch")),t(19,j=Z&&Z.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,d=ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,We=ae.getConfigBooleanValue("navigation.addNavHrefs")),t(45,Ee=ae.getConfigValue("navigation.contextSwitcher"))},["navigation"]),ui.doOnStoreChange(ie,()=>{W()},["navigation.viewgroupdata"]),Ai.addEventListener("message",J=>{J.data.msg==="luigi.navigation.update-badge-counters"&&W()})}),zi(()=>{(!p||p!=_)&&W(),se()});let{showTopNav:Ie}=e;function nt(J){return ue.renderIconClassName(J)}function Fe(J){return ue.isOpenUIiconName(J.icon)}const pe=J=>ue.getNodeLabel(J);function Ge(J){return we.getNodeHref(J,b)}function rt(J,Tt){return ue.generateTooltipText(J,Tt)}function Gt(){It("productSwitcherPopover")}function vt(){t(42,oe=!oe),It("contextSwitcherPopover")}function Dt(J){t(14,E=!0),t(15,U=J)}function Ei(){t(14,E=!1)}function Kt(J){i("handleClick",{node:J})}function jt(J){i("handleSearchNavigation",{node:J})}function gl(J){Kt(J.detail.node)}function It(J){const Tt=m||{},ci=!Tt[J];Hn(),Ei(),Tt[J]=ci,t(6,m=Tt)}function Zt(J){It(J.detail.name)}function Ri(){de&&de.focus()}function xi(){Q||setTimeout(()=>{Ri()}),i("toggleSearch",{isSearchFieldVisible:Q,inputElem:de,luigiCustomSearchRenderer__slot:te})}function Hn(){const J=m||{},Tt=Object.keys(J);Tt&&Tt.length>0&&Tt.forEach(ci=>{J[ci]=!1,t(6,m=J)})}function ni(){c==="simple"||c==="simpleMobileOnly"?qi():zt(),pi()}function pi(){if(!ue.getBurgerTooltipConfig())return;const[J,Tt]=ue.getBurgerTooltipConfig();J&&Tt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,X=document.body.classList.contains("lui-leftNavToggle")?J:Tt),document.body.classList.contains("lui-semiCollapsible")&&t(25,X=document.body.classList.contains("semiCollapsed")?J:Tt))}function qi(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("fd-tabs").length>0&&i("resizeTabNav",{})}function zt(){gn.buttonClicked(),document.getElementsByClassName("fd-tabs").length>0&&i("resizeTabNav",{})}function ki(J){const Tt=J.detail;t(17,D=Tt||{})}function vn(J){m=J,t(6,m)}function wn(J){Q=J,t(20,Q)}function fi(J){Y=J,t(24,Y)}function kn(J){G=J,t(23,G)}function Sn(J){de=J,t(21,de)}function Cn(J){te=J,t(22,te)}function yn(J){Rl.call(this,n,J)}function Pn(J){Rl.call(this,n,J)}function hl(J){Rl.call(this,n,J)}function _l(J){Q=J,t(20,Q)}function pl(J){Y=J,t(24,Y)}function Nn(J){G=J,t(23,G)}function Wn(J){de=J,t(21,de)}function zn(J){te=J,t(22,te)}function on(J){Rl.call(this,n,J)}function ml(J){Rl.call(this,n,J)}function $(J){Rl.call(this,n,J)}function Pe(J){m=J,t(6,m)}const et=()=>It("contextSwitcherPopover");function dt(J,Tt,ci,en){ci[en]=J,t(7,v)}const St=J=>It(`dropDownPopover-${J}`);function $t(J,Tt,ci,en){ci[en]=J,t(7,v)}const Di=(J,Tt)=>{ue.handleNavAnchorClickedWithoutMetaKey(Tt)&&Kt(J)};function Si(J,Tt,ci,en){ci[en]=J,t(7,v)}const Vi=J=>Kt(J),bl=()=>It("overflowPopover"),qn=()=>{xi(),It("overflowPopover")},Ml=J=>Kt(J),Fl=J=>Dt(J);function Ul(J){m=J,t(6,m)}const hr=()=>It("productSwitcherPopover");function Ci(J){m=J,t(6,m)}function Gn(J){ve=J,t(43,ve)}function vl(J){re=J,t(44,re)}const Bl=()=>It("contextSwitcherPopover"),_r=()=>It("profilePopover"),Kn=()=>It("profilePopover"),wl=()=>It("profilePopover"),kl=()=>It("profilePopover"),un=()=>It("profilePopover");function Hl(J){m=J,t(6,m)}const In=()=>It("productSwitcherPopover"),pr=()=>It("profilePopover");return n.$$set=J=>{"authorizationEnabled"in J&&t(0,l=J.authorizationEnabled),"autologinEnabled"in J&&t(52,r=J.autologinEnabled),"isLoggedIn"in J&&t(1,a=J.isLoggedIn),"hideNavComponent"in J&&t(2,o=J.hideNavComponent),"responsiveNavSetting"in J&&t(3,c=J.responsiveNavSetting),"profileTypeSettings"in J&&t(4,h=J.profileTypeSettings),"showGlobalNav"in J&&t(5,d=J.showGlobalNav),"pathData"in J&&t(29,_=J.pathData),"pathParams"in J&&t(30,b=J.pathParams),"dropDownStates"in J&&t(6,m=J.dropDownStates),"children"in J&&t(7,v=J.children),"selectedNode"in J&&t(8,C=J.selectedNode),"visibleNodeCount"in J&&t(9,y=J.visibleNodeCount),"globalNavNodeCount"in J&&t(10,P=J.globalNavNodeCount),"totalBadgeNode"in J&&t(11,A=J.totalBadgeNode),"isProductSwitcherAvailable"in J&&t(12,T=J.isProductSwitcherAvailable),"productSwitcherConfig"in J&&t(13,V=J.productSwitcherConfig),"openMobileDropDown"in J&&t(14,E=J.openMobileDropDown),"nodeForMobile"in J&&t(15,U=J.nodeForMobile),"profileItemsAvailable"in J&&t(16,F=J.profileItemsAvailable),"userInfo"in J&&t(17,D=J.userInfo),"globalSearchConfig"in J&&t(18,Z=J.globalSearchConfig),"isGlobalSearchCentered"in J&&t(19,j=J.isGlobalSearchCentered),"isSearchFieldVisible"in J&&t(20,Q=J.isSearchFieldVisible),"inputElem"in J&&t(21,de=J.inputElem),"luigiCustomSearchRenderer__slot"in J&&t(22,te=J.luigiCustomSearchRenderer__slot),"displaySearchResult"in J&&t(23,G=J.displaySearchResult),"searchResult"in J&&t(24,Y=J.searchResult),"burgerTooltip"in J&&t(25,X=J.burgerTooltip),"responsiveShellbarPadding"in J&&t(26,_e=J.responsiveShellbarPadding),"addNavHrefForAnchor"in J&&t(27,We=J.addNavHrefForAnchor),"showTopNav"in J&&t(28,Ie=J.showTopNav)},n.$$.update=()=>{n.$$.dirty[0]&3|n.$$.dirty[1]&2097152&&t(28,Ie=l&&(!r||a)||!l)},[l,a,o,c,h,d,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de,te,G,Y,X,_e,We,Ie,_,b,Gt,vt,Dt,Ei,Kt,gl,It,Zt,xi,Hn,ki,oe,ve,re,Ee,nt,Fe,pe,Ge,rt,ni,r,jt,qi,zt,vn,wn,fi,kn,Sn,Cn,yn,Pn,hl,_l,pl,Nn,Wn,zn,on,ml,$,Pe,et,dt,St,$t,Di,Si,Vi,bl,qn,Ml,Fl,Ul,hr,Ci,Gn,vl,Bl,_r,Kn,wl,kl,un,Hl,In,pr]}class op extends Et{constructor(e){super(),At(this,e,B4,D4,Nt,{authorizationEnabled:0,autologinEnabled:52,isLoggedIn:1,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:29,pathParams:30,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,luigiCustomSearchRenderer__slot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:31,openMobileContextSwitcher:32,openMobileTopNavDropDown:33,closeMobileTopNavDropDown:34,handleClick:35,handleSearchNavigation:53,handleClickExternal:36,toggleDropdownState:37,toggleDropdownStateExternal:38,toggleSearch:39,closeAllDropdowns:40,simpleNav:54,semicollapsedNav:55,userInfoUpdate:41},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[31]}get openMobileContextSwitcher(){return this.$$.ctx[32]}get openMobileTopNavDropDown(){return this.$$.ctx[33]}get closeMobileTopNavDropDown(){return this.$$.ctx[34]}get handleClick(){return this.$$.ctx[35]}get handleSearchNavigation(){return this.$$.ctx[53]}get handleClickExternal(){return this.$$.ctx[36]}get toggleDropdownState(){return this.$$.ctx[37]}get toggleDropdownStateExternal(){return this.$$.ctx[38]}get toggleSearch(){return this.$$.ctx[39]}get closeAllDropdowns(){return this.$$.ctx[40]}get simpleNav(){return this.$$.ctx[54]}get semicollapsedNav(){return this.$$.ctx[55]}get userInfoUpdate(){return this.$$.ctx[41]}}function Dh(n){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,i){L(t,e,i)},d(t){t&&I(e)}}}function H4(n){let e,t=n[0]&&Dh();return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,[l]){i[0]?t||(t=Dh(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:He,o:He,d(i){t&&t.d(i),i&&I(e)}}}function W4(n,e,t){let{node:i}=e;async function l(){var o,c;const r=we.mapPathToNode(it.getCurrentPath(),i),a=await Rt.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||i.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return Qt(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(i.webcomponent&&i.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");ur.renderWebComponent(i.viewUrl,a,r,i),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)})}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),n.$$set=r=>{"node"in r&&t(0,i=r.node)},[i]}class z4 extends Et{constructor(e){super(),At(this,e,W4,H4,Nt,{node:0})}}const{window:To}=dl;function Vh(n,e,t){const i=n.slice();return i[39]=e[t][0],i[40]=e[t][1],i[42]=t,i}function Oh(n,e,t){const i=n.slice();return i[43]=e[t],i}function Mh(n,e,t){const i=n.slice();return i[43]=e[t],i[45]=t,i}function Fh(n,e,t){const i=n.slice();return i[39]=e[t][0],i[40]=e[t][1],i[42]=t,i}function Uh(n,e,t){const i=n.slice();return i[43]=e[t],i}function Bh(n,e,t){const i=n.slice();return i[43]=e[t],i[45]=t,i}function Hh(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m,v,C,y,P=n[11].parent&&n[11].parent.tabNav&&n[11].parent.tabNav.showAsTabHeader&&Wh(n),A=Object.entries(n[0]),T=[];for(let D=0;D<A.length;D+=1)T[D]=Yh(Fh(n,A,D));const V=D=>B(T[D],1,1,()=>{T[D]=null});let E=Object.entries(n[0]),U=[];for(let D=0;D<E.length;D+=1)U[D]=$h(Vh(n,E,D));const F=D=>B(U[D],1,1,()=>{U[D]=null});return{c(){e=S("div"),P&&P.c(),t=z(),i=S("nav"),l=S("div"),r=S("div");for(let D=0;D<T.length;D+=1)T[D].c();a=z(),o=S("div"),c=S("span"),h=S("div"),d=S("a"),d.innerHTML=`<span class="label fd-tabs__tag svelte-1ioiggc">More</span>
|
|
59
|
+
<span class="sap-icon--dropdown luigi-icon--dropdown svelte-1ioiggc"></span>`,_=z(),p=S("div"),b=S("ul");for(let D=0;D<U.length;D+=1)U[D].c();f(r,"class","tabsContainer luigi-tabsContainer svelte-1ioiggc"),f(l,"class","tabsContainerWrapper svelte-1ioiggc"),f(d,"class","fd-tabs__link fd-popover__control has-child luigi__more svelte-1ioiggc"),f(d,"aria-expanded","false"),f(d,"role","tab"),f(b,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1ioiggc"),f(p,"class","fd-popover__body fd-popover__body--right fd-popover__body--no-arrow svelte-1ioiggc"),f(p,"aria-hidden",m=!n[4]),f(h,"class","fd-popover fd-popover--right"),f(c,"class","fd-tabs__item svelte-1ioiggc"),f(o,"class","luigi-tabsMoreButton svelte-1ioiggc"),f(i,"class","fd-tabs fd-tabs--l svelte-1ioiggc"),f(i,"role","tablist"),f(e,"class","lui-tabs svelte-1ioiggc"),f(e,"id","tabsContainer")},m(D,Z){L(D,e,Z),P&&P.m(e,null),w(e,t),w(e,i),w(i,l),w(l,r);for(let j=0;j<T.length;j+=1)T[j].m(r,null);w(i,a),w(i,o),w(o,c),w(c,h),w(h,d),w(h,_),w(h,p),w(p,b);for(let j=0;j<U.length;j+=1)U[j].m(b,null);v=!0,C||(y=[ne(d,"click",Pt(n[10])),ne(c,"click",Z4),ne(i,"toggleDropdownState",n[26])],C=!0)},p(D,Z){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?P?(P.p(D,Z),Z[0]&2048&&R(P,1)):(P=Wh(D),P.c(),R(P,1),P.m(e,t)):P&&(ke(),B(P,1,1,()=>{P=null}),Se()),Z[0]&53485){A=Object.entries(D[0]);let j;for(j=0;j<A.length;j+=1){const Q=Fh(D,A,j);T[j]?(T[j].p(Q,Z),R(T[j],1)):(T[j]=Yh(Q),T[j].c(),R(T[j],1),T[j].m(r,null))}for(ke(),j=A.length;j<T.length;j+=1)V(j);Se()}if(Z[0]&53485){E=Object.entries(D[0]);let j;for(j=0;j<E.length;j+=1){const Q=Vh(D,E,j);U[j]?(U[j].p(Q,Z),R(U[j],1)):(U[j]=$h(Q),U[j].c(),R(U[j],1),U[j].m(b,null))}for(ke(),j=E.length;j<U.length;j+=1)F(j);Se()}(!v||Z[0]&16&&m!==(m=!D[4]))&&f(p,"aria-hidden",m)},i(D){if(!v){R(P);for(let Z=0;Z<A.length;Z+=1)R(T[Z]);for(let Z=0;Z<E.length;Z+=1)R(U[Z]);v=!0}},o(D){B(P),T=T.filter(Boolean);for(let Z=0;Z<T.length;Z+=1)B(T[Z]);U=U.filter(Boolean);for(let Z=0;Z<U.length;Z+=1)B(U[Z]);v=!1},d(D){D&&I(e),P&&P.d(),ft(T,D),ft(U,D),C=!1,Qe(y)}}}function Wh(n){let e,t;return e=new z4({props:{node:n[11].parent}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&2048&&(r.node=i[11].parent),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function q4(n){let e,t,i,l,r,a=n[12](n[39])+"",o,c,h,d,_,p,b,m,v,C,y,P,A,T;function V(){return n[20](n[39])}let E=n[40],U=[];for(let D=0;D<E.length;D+=1)U[D]=Gh(Uh(n,E,D));const F=D=>B(U[D],1,1,()=>{U[D]=null});return{c(){e=S("span"),t=S("div"),i=S("div"),l=S("a"),r=S("span"),o=Te(a),c=z(),h=S("span"),_=z(),p=S("div"),b=S("nav"),m=S("ul");for(let D=0;D<U.length;D+=1)U[D].c();C=z(),f(r,"class","label fd-tabs__tag svelte-1ioiggc"),f(h,"class","sap-icon--dropdown luigi-icon--dropdown svelte-1ioiggc"),f(l,"class","fd-tabs__link has-child svelte-1ioiggc"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",d=or(n[39],n[2])),f(i,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--no-arrow svelte-1ioiggc"),f(p,"aria-hidden",v=!n[3][n[39]]),f(t,"class","fd-popover"),f(e,"class","fd-tabs__item svelte-1ioiggc"),f(e,"uid",n[42]+"-0"),f(e,"isselected",y=or(n[39],n[2]))},m(D,Z){L(D,e,Z),w(e,t),w(t,i),w(i,l),w(l,r),w(r,o),w(l,c),w(l,h),w(t,_),w(t,p),w(p,b),w(b,m);for(let j=0;j<U.length;j+=1)U[j].m(m,null);w(e,C),P=!0,A||(T=[ne(l,"click",Pt(V)),ne(e,"click",Q4)],A=!0)},p(D,Z){if(n=D,(!P||Z[0]&4097)&&a!==(a=n[12](n[39])+"")&&Le(o,a),(!P||Z[0]&5&&d!==(d=or(n[39],n[2])))&&f(l,"aria-selected",d),Z[0]&49221){E=n[40];let j;for(j=0;j<E.length;j+=1){const Q=Uh(n,E,j);U[j]?(U[j].p(Q,Z),R(U[j],1)):(U[j]=Gh(Q),U[j].c(),R(U[j],1),U[j].m(m,null))}for(ke(),j=E.length;j<U.length;j+=1)F(j);Se()}(!P||Z[0]&9&&v!==(v=!n[3][n[39]]))&&f(p,"aria-hidden",v),(!P||Z[0]&5&&y!==(y=or(n[39],n[2])))&&f(e,"isselected",y)},i(D){if(!P){for(let Z=0;Z<E.length;Z+=1)R(U[Z]);P=!0}},o(D){U=U.filter(Boolean);for(let Z=0;Z<U.length;Z+=1)B(U[Z]);P=!1},d(D){D&&I(e),ft(U,D),A=!1,Qe(T)}}}function G4(n){let e,t,i=n[40],l=[];for(let a=0;a<i.length;a+=1)l[a]=Jh(Bh(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){i=a[40];let c;for(c=0;c<i.length;c+=1){const h=Bh(a,i,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Jh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&I(e)}}}function zh(n){let e,t,i=n[43].label&&qh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?i?(i.p(l,r),r[0]&1&&R(i,1)):(i=qh(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function qh(n){let e,t,i,l=n[14](n[43])+"",r,a,o,c,h,d,_,p,b,m;o=new $i({props:{node:n[43]}});function v(){return n[21](n[43])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),_=z(),f(i,"class","fd-menu__title"),f(t,"href",c=n[15](n[43])),f(t,"class","fd-menu__link"),f(t,"data-testid",h=ue.getTestId(n[43])),f(t,"aria-selected",d=n[43]===n[2]),f(e,"class","fd-menu__item")},m(C,y){L(C,e,y),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(e,_),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){n=C,(!p||y[0]&1)&&l!==(l=n[14](n[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=n[43]),o.$set(P),(!p||y[0]&1&&c!==(c=n[15](n[43])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=ue.getTestId(n[43])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=n[43]===n[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){B(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function Gh(n){let e,t,i=!n[43].hideFromNav&&zh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&1&&R(i,1)):(i=zh(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Kh(n){let e,t,i=n[43].label&&jh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?i?(i.p(l,r),r[0]&1&&R(i,1)):(i=jh(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function jh(n){let e,t,i,l=n[14](n[43])+"",r,a,o,c,h,d,_,p,b,m,v,C;o=new $i({props:{node:n[43]}});function y(){return n[19](n[43])}return{c(){e=S("span"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),_=z(),f(i,"class","fd-tabs__tag"),f(t,"class","fd-tabs__link"),f(t,"href",c=n[15](n[43])),f(t,"role","tab"),f(t,"data-testid",h=ue.getTestId(n[43])),f(t,"aria-selected",d=n[43]===n[2]),f(e,"class",p="fd-tabs__item "+(n[43]===n[2]?"is-selected":"")+" svelte-1ioiggc"),f(e,"uid",n[42]+"-"+n[45]),f(e,"isselected",b=n[43]===n[2])},m(P,A){L(P,e,A),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(e,_),m=!0,v||(C=ne(t,"click",Pt(y)),v=!0)},p(P,A){n=P,(!m||A[0]&1)&&l!==(l=n[14](n[43])+"")&&Le(r,l);const T={};A[0]&1&&(T.node=n[43]),o.$set(T),(!m||A[0]&1&&c!==(c=n[15](n[43])))&&f(t,"href",c),(!m||A[0]&1&&h!==(h=ue.getTestId(n[43])))&&f(t,"data-testid",h),(!m||A[0]&5&&d!==(d=n[43]===n[2]))&&f(t,"aria-selected",d),(!m||A[0]&5&&p!==(p="fd-tabs__item "+(n[43]===n[2]?"is-selected":"")+" svelte-1ioiggc"))&&f(e,"class",p),(!m||A[0]&5&&b!==(b=n[43]===n[2]))&&f(e,"isselected",b)},i(P){m||(R(o.$$.fragment,P),m=!0)},o(P){B(o.$$.fragment,P),m=!1},d(P){P&&I(e),Oe(o),v=!1,C()}}}function Jh(n){let e,t,i=!n[43].hideFromNav&&Kh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].hideFromNav?i&&(ke(),B(i,1,1,()=>{i=null}),Se()):i?(i.p(l,r),r[0]&1&&R(i,1)):(i=Kh(l),i.c(),R(i,1),i.m(e.parentNode,e))},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Yh(n){let e,t,i,l,r,a;const o=[G4,q4],c=[];function h(d,_){return _[0]&33&&(e=null),_[0]&1&&(t=null),e==null&&(e=d[39]==="undefined"||d[39].indexOf(d[5])===0),e?0:(t==null&&(t=d[40].filter(Y4).length>0),t?1:-1)}return~(i=h(n,[-1,-1]))&&(l=c[i]=o[i](n)),{c(){l&&l.c(),r=Ce()},m(d,_){~i&&c[i].m(d,_),L(d,r,_),a=!0},p(d,_){let p=i;i=h(d,_),i===p?~i&&c[i].p(d,_):(l&&(ke(),B(c[p],1,1,()=>{c[p]=null}),Se()),~i?(l=c[i],l?l.p(d,_):(l=c[i]=o[i](d),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(d){a||(R(l),a=!0)},o(d){B(l),a=!1},d(d){~i&&c[i].d(d),d&&I(r)}}}function K4(n){let e,t,i,l,r=n[12](n[39])+"",a,o,c,h,d,_,p,b,m,v,C,y,P,A,T;function V(){return n[23](n[39],n[42])}function E(){return n[24](n[39],n[42])}let U=n[40],F=[];for(let Z=0;Z<U.length;Z+=1)F[Z]=Zh(Oh(n,U,Z));const D=Z=>B(F[Z],1,1,()=>{F[Z]=null});return{c(){e=S("li"),t=S("div"),i=S("a"),l=S("span"),a=Te(r),h=z(),d=S("button"),_=S("i"),m=z(),v=S("ul");for(let Z=0;Z<F.length;Z+=1)F[Z].c();y=z(),f(l,"class","fd-nested-list__title svelte-1ioiggc"),f(i,"href","javascript:void(null)"),f(i,"tabindex","-1"),f(i,"class","fd-nested-list__link"),f(i,"id","tabnav_list_level1_"+n[42]),f(i,"aria-haspopup","true"),f(i,"aria-expanded",o=n[3][n[39]+n[42]]),f(i,"aria-selected",c=or(n[39],n[2])),f(_,"class",p=n[3][n[39]+n[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(_,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=n[3][n[39]+n[42]]),f(t,"class","fd-nested-list__content has-child svelte-1ioiggc"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!n[3][n[39]+n[42]]),f(e,"class","fd-nested-list__item"),f(e,"uid",n[42]+"-0")},m(Z,j){L(Z,e,j),w(e,t),w(t,i),w(i,l),w(l,a),w(t,h),w(t,d),w(d,_),w(e,m),w(e,v);for(let Q=0;Q<F.length;Q+=1)F[Q].m(v,null);w(e,y),P=!0,A||(T=[ne(i,"click",Pt(V)),ne(d,"click",Pt(E))],A=!0)},p(Z,j){if(n=Z,(!P||j[0]&4097)&&r!==(r=n[12](n[39])+"")&&Le(a,r),(!P||j[0]&9&&o!==(o=n[3][n[39]+n[42]]))&&f(i,"aria-expanded",o),(!P||j[0]&5&&c!==(c=or(n[39],n[2])))&&f(i,"aria-selected",c),(!P||j[0]&9&&p!==(p=n[3][n[39]+n[42]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(_,"class",p),(!P||j[0]&9&&b!==(b=n[3][n[39]+n[42]]))&&f(d,"aria-expanded",b),j[0]&49221){U=n[40];let Q;for(Q=0;Q<U.length;Q+=1){const de=Oh(n,U,Q);F[Q]?(F[Q].p(de,j),R(F[Q],1)):(F[Q]=Zh(de),F[Q].c(),R(F[Q],1),F[Q].m(v,null))}for(ke(),Q=U.length;Q<F.length;Q+=1)D(Q);Se()}(!P||j[0]&9&&C!==(C=!n[3][n[39]+n[42]]))&&f(v,"aria-hidden",C)},i(Z){if(!P){for(let j=0;j<U.length;j+=1)R(F[j]);P=!0}},o(Z){F=F.filter(Boolean);for(let j=0;j<F.length;j+=1)B(F[j]);P=!1},d(Z){Z&&I(e),ft(F,Z),A=!1,Qe(T)}}}function j4(n){let e,t,i=n[40],l=[];for(let a=0;a<i.length;a+=1)l[a]=Xh(Mh(n,i,a));const r=a=>B(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=Ce()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);L(a,e,o),t=!0},p(a,o){if(o[0]&49221){i=a[40];let c;for(c=0;c<i.length;c+=1){const h=Mh(a,i,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Xh(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ke(),c=i.length;c<l.length;c+=1)r(c);Se()}},i(a){if(!t){for(let o=0;o<i.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)B(l[o]);t=!1},d(a){ft(l,a),a&&I(e)}}}function Qh(n){let e,t,i,l=n[14](n[43])+"",r,a,o,c,h,d,_,p,b,m;o=new $i({props:{node:n[43]}});function v(){return n[25](n[43])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),_=z(),f(i,"class","fd-nested-list__title svelte-1ioiggc"),f(t,"class","fd-nested-list__link"),f(t,"href",c=n[15](n[43])),f(t,"data-testid",h=ue.getTestId(n[43])),f(t,"aria-selected",d=n[43]===n[2]),f(e,"class","fd-nested-list__item"),f(e,"aria-labelledby","tabnav_list_level1_"+n[42])},m(C,y){L(C,e,y),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(e,_),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){n=C,(!p||y[0]&1)&&l!==(l=n[14](n[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=n[43]),o.$set(P),(!p||y[0]&1&&c!==(c=n[15](n[43])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=ue.getTestId(n[43])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=n[43]===n[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){B(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function Zh(n){let e,t,i=n[43].label&&Qh(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[43].label?i?(i.p(l,r),r[0]&1&&R(i,1)):(i=Qh(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function Xh(n){let e,t,i,l=n[14](n[43])+"",r,a,o,c,h,d,_,p,b,m;o=new $i({props:{node:n[43]}});function v(){return n[22](n[43])}return{c(){e=S("li"),t=S("a"),i=S("span"),r=Te(l),a=z(),Me(o.$$.fragment),_=z(),f(i,"class","fd-nested-list__title svelte-1ioiggc"),f(t,"href",c=n[15](n[43])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=ue.getTestId(n[43])),f(t,"aria-selected",d=n[43]===n[2]),f(e,"class","fd-nested-list__item"),f(e,"uid",n[42]+"-"+n[45])},m(C,y){L(C,e,y),w(e,t),w(t,i),w(i,r),w(i,a),Ve(o,i,null),w(e,_),p=!0,b||(m=ne(t,"click",Pt(v)),b=!0)},p(C,y){n=C,(!p||y[0]&1)&&l!==(l=n[14](n[43])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=n[43]),o.$set(P),(!p||y[0]&1&&c!==(c=n[15](n[43])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=ue.getTestId(n[43])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=n[43]===n[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){B(o.$$.fragment,C),p=!1},d(C){C&&I(e),Oe(o),b=!1,m()}}}function $h(n){let e,t,i,l,r;const a=[j4,K4],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[39]==="undefined"||h[39].indexOf(h[5])===0),e?0:1}return t=c(n,[-1,-1]),i=o[t]=a[t](n),{c(){i.c(),l=Ce()},m(h,d){o[t].m(h,d),L(h,l,d),r=!0},p(h,d){let _=t;t=c(h,d),t===_?o[t].p(h,d):(ke(),B(o[_],1,1,()=>{o[_]=null}),Se(),i=o[t],i?i.p(h,d):(i=o[t]=a[t](h),i.c()),R(i,1),i.m(l.parentNode,l))},i(h){r||(R(i),r=!0)},o(h){B(i),r=!1},d(h){o[t].d(h),h&&I(l)}}}function J4(n){let e,t,i,l,r=n[0]&&n[1].length>0&&(n[1][0].topNav===!1||n[1].length>1)&&Hh(n);return{c(){r&&r.c(),e=Ce()},m(a,o){r&&r.m(a,o),L(a,e,o),t=!0,i||(l=[ne(To,"click",n[8]),ne(To,"blur",n[8]),ne(To,"resize",n[9])],i=!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=Hh(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){t||(R(r),t=!0)},o(a){B(r),t=!1},d(a){r&&r.d(a),a&&I(e),i=!1,Qe(l)}}}function or(n,e){return e&&e.category&&(e.category===n||e.category.label===n)}const Y4=n=>!n.hideFromNav&&n.label,Q4=n=>n.stopPropagation(),Z4=n=>n.stopPropagation();function X4(n,e,t){let i,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,o,{hideNavComponent:c}=e,{virtualGroupPrefix:h=ue.virtualGroupPrefix}=e,d,{selectedNodeForTabNav:_}=e,{dropDownStates:p={}}=e,{isMoreBtnExpanded:b=!1}=e,{resizeTabNavToggle:m}=e,v,C=pt("getTranslation");bn(n,C,W=>t(12,i=W));let y=pt("store"),P;const A={get:()=>({children:l,pathData:r,hideNavComponent:c,virtualGroupPrefix:h,selectedNode:d,selectedNodeForTabNav:_,dropDownStates:p,isMoreBtnExpanded:b}),set:W=>{W&&Object.getOwnPropertyNames(W).forEach(se=>{se==="pathData"?t(1,r=W.pathData):se==="context"?context=W.context:se==="children"?t(0,l=W.children):se==="selectedNode"?t(11,d=W.selectedNode):se==="selectedNodeForTabNav"&&t(2,_=W.selectedNodeForTabNav)})}},T=Wt();function V(W){return ue.getNodeLabel(W)}const E=async()=>{const W=A.get(),se=await Rt.getTabNavData({...W},W);se&&(A.set({...se}),o=r,window.LEFTNAVDATA=se.groupedChildren,setTimeout(U))},U=()=>{F();let W=document.getElementsByClassName("luigi-tabsContainer")[0],se=document.getElementsByClassName("luigi-tabsMoreButton")[0],Ie=document.getElementsByClassName("luigi__more")[0],nt,Fe=0,pe=!1,Ge,rt;Ie&&Ie.setAttribute("aria-selected","false"),W&&(nt=W.offsetWidth,[...W.children].forEach(vt=>{Ge=vt.currentStyle||window.getComputedStyle(vt),rt=parseFloat(Ge.marginLeft)+parseFloat(Ge.marginRight),Fe+=vt.offsetWidth+rt;let Dt=vt.getAttribute("uid");Fe>=nt?(vt.classList.add("hide_element"),vt.getAttribute("isSelected")==="true"&&Ie.setAttribute("aria-selected","true"),document.querySelector('li[uid="'+Dt+'"]').classList.remove("hide_element"),pe=!0):document.querySelector('li[uid="'+Dt+'"]').classList.add("hide_element")}),pe?se.classList.remove("hide_element"):se.classList.add("hide_element"))},F=()=>{let W=document.getElementsByClassName("luigi-tabsContainer")[0];W!==void 0&&[...W.children].forEach(Ie=>{Ie.classList.remove("hide_element")})},D=()=>{P=new ResizeObserver(W=>{for(const se of W)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",se.contentRect.height+"px")}),setTimeout(()=>{const W=document.querySelector("#tabsContainer.lui-tabs");W&&P.observe(W)})},Z=()=>{P&&P.disconnect()};Qt(()=>{t(16,c=ae.getConfigBooleanValue("settings.hideNavigation")),D(),ui.doOnStoreChange(y,()=>{E()},["navigation.viewgroupdata"])}),Jr(()=>{Z(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zi(()=>{(!o||o!=r)&&E(),(v===void 0||v!==m)&&(v=m,E())}),jr(()=>{Z(),P?setTimeout(()=>{const W=document.querySelector("#tabsContainer.lui-tabs");W&&P.observe(W)}):D()});function j(W){return we.getNodeHref(W,a)}function Q(W){te(),T("handleClick",{node:W})}function de(W){let se={};p[W]||(se[W]=!0),t(3,p=se)}function te(){t(3,p={}),t(4,b=!1)}function G(){F(),U()}function Y(){t(4,b=!b)}const X=W=>Q(W),_e=W=>de(W),ie=W=>Q(W),oe=W=>Q(W),ve=(W,se)=>de(W+se),re=(W,se)=>de(W+se),Ee=W=>Q(W),We=W=>de(W.name);return n.$$set=W=>{"children"in W&&t(0,l=W.children),"pathData"in W&&t(1,r=W.pathData),"pathParams"in W&&t(17,a=W.pathParams),"hideNavComponent"in W&&t(16,c=W.hideNavComponent),"virtualGroupPrefix"in W&&t(5,h=W.virtualGroupPrefix),"selectedNodeForTabNav"in W&&t(2,_=W.selectedNodeForTabNav),"dropDownStates"in W&&t(3,p=W.dropDownStates),"isMoreBtnExpanded"in W&&t(4,b=W.isMoreBtnExpanded),"resizeTabNavToggle"in W&&t(18,m=W.resizeTabNavToggle)},[l,r,_,p,b,h,Q,de,te,G,Y,d,i,C,V,j,c,a,m,X,_e,ie,oe,ve,re,Ee,We]}class up extends Et{constructor(e){super(),At(this,e,X4,J4,Nt,{children:0,pathData:1,pathParams:17,hideNavComponent:16,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:18,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function xh(n,e,t){const i=n.slice();return i[23]=e[t],i[25]=t,i}function e_(n,e,t){const i=n.slice();return i[23]=e[t],i[25]=t,i}function t_(n){let e,t,i,l,r,a=n[0]&&n[3].length>0&&i_(n),o=n[0]&&n[3].length>0&&a_(n);return{c(){e=S("div"),t=S("nav"),i=S("div"),a&&a.c(),l=z(),r=S("div"),o&&o.c(),f(i,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-u7mfvs"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-u7mfvs"),f(e,"class","lui-globalnav svelte-u7mfvs")},m(c,h){L(c,e,h),w(e,t),w(t,i),a&&a.m(i,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=i_(c),a.c(),a.m(i,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>0?o?o.p(c,h):(o=a_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&I(e),a&&a.d(),o&&o.d()}}}function i_(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=r_(e_(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=e_(l,t,a);i[a]?i[a].p(o,r):(i[a]=r_(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&I(e),ft(i,l)}}}function n_(n){let e,t,i,l,r,a=n[11](n[23])+"",o,c,h,d,_,p,b,m,v,C,y=n[23].icon&&l_(n);function P(...A){return n[17](n[23],...A)}return{c(){e=S("li"),t=S("a"),i=S("div"),y&&y.c(),l=z(),r=S("div"),o=Te(a),c=z(),h=S("div"),p=z(),f(r,"class","lui-text svelte-u7mfvs"),f(h,"class","lui-indicator svelte-u7mfvs"),f(i,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=n[6]?n[12](n[23]):void 0),f(t,"title",_=n[7](n[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(n[23]===n[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=ue.getTestId(n[23]))},m(A,T){L(A,e,T),w(e,t),w(t,i),y&&y.m(i,null),w(i,l),w(i,r),w(r,o),w(i,c),w(i,h),w(e,p),v||(C=ne(t,"click",P),v=!0)},p(A,T){n=A,n[23].icon?y?y.p(n,T):(y=l_(n),y.c(),y.m(i,l)):y&&(y.d(1),y=null),T&1&&a!==(a=n[11](n[23])+"")&&Le(o,a),T&65&&d!==(d=n[6]?n[12](n[23]):void 0)&&f(t,"href",d),T&129&&_!==(_=n[7](n[23].label))&&f(t,"title",_),T&3&&b!==(b="fd-nested-list__item "+(n[23]===n[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),T&1&&m!==(m=ue.getTestId(n[23]))&&f(e,"data-testid",m)},d(A){A&&I(e),y&&y.d(),v=!1,C()}}}function l_(n){let e,t;function i(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?x4:$4}let l=i(n,-1),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function $4(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Ze(e.src,t=n[23].icon)||f(e,"src",t),f(e,"alt",i=n[23].altText?n[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&i!==(i=l[23].altText?l[23].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function x4(n){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(i){i&&I(e)}}}function r_(n){let e,t=n[23].globalNav===!0&&!n[23].separator&&n_(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[23].globalNav===!0&&!i[23].separator?t?t.p(i,l):(t=n_(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&I(e)}}}function a_(n){let e,t=n[0],i=[];for(let l=0;l<t.length;l+=1)i[l]=u_(xh(n,t,l));return{c(){e=S("ul");for(let l=0;l<i.length;l+=1)i[l].c();f(e,"class","fd-nested-list svelte-u7mfvs")},m(l,r){L(l,e,r);for(let a=0;a<i.length;a+=1)i[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=xh(l,t,a);i[a]?i[a].p(o,r):(i[a]=u_(o),i[a].c(),i[a].m(e,null))}for(;a<i.length;a+=1)i[a].d(1);i.length=t.length}},d(l){l&&I(e),ft(i,l)}}}function s_(n){let e,t,i,l,r,a=n[11](n[23])+"",o,c,h,d,_,p,b,m,v,C,y=n[23].icon&&o_(n);function P(){return n[18](n[23])}return{c(){e=S("li"),t=S("a"),i=S("div"),y&&y.c(),l=z(),r=S("div"),o=Te(a),c=z(),h=S("div"),p=z(),f(r,"class","lui-text svelte-u7mfvs"),f(h,"class","lui-indicator svelte-u7mfvs"),f(i,"class","lui-fd-nested-list__content svelte-u7mfvs"),f(t,"href",d=n[6]?n[12](n[23]):void 0),f(t,"title",_=n[7](n[23].label)),f(t,"class","svelte-u7mfvs"),f(e,"class",b="fd-nested-list__item "+(n[23]===n[1]?"is-selected":"")+" svelte-u7mfvs"),f(e,"data-testid",m=ue.getTestId(n[23]))},m(A,T){L(A,e,T),w(e,t),w(t,i),y&&y.m(i,null),w(i,l),w(i,r),w(r,o),w(i,c),w(i,h),w(e,p),v||(C=ne(i,"click",Pt(P)),v=!0)},p(A,T){n=A,n[23].icon?y?y.p(n,T):(y=o_(n),y.c(),y.m(i,l)):y&&(y.d(1),y=null),T&1&&a!==(a=n[11](n[23])+"")&&Le(o,a),T&65&&d!==(d=n[6]?n[12](n[23]):void 0)&&f(t,"href",d),T&129&&_!==(_=n[7](n[23].label))&&f(t,"title",_),T&3&&b!==(b="fd-nested-list__item "+(n[23]===n[1]?"is-selected":"")+" svelte-u7mfvs")&&f(e,"class",b),T&1&&m!==(m=ue.getTestId(n[23]))&&f(e,"data-testid",m)},d(A){A&&I(e),y&&y.d(),v=!1,C()}}}function o_(n){let e,t;function i(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?t3:e3}let l=i(n,-1),r=l(n);return{c(){r.c(),t=Ce()},m(a,o){r.m(a,o),L(a,t,o)},p(a,o){l===(l=i(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&I(t)}}}function e3(n){let e,t,i;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-u7mfvs"),Ze(e.src,t=n[23].icon)||f(e,"src",t),f(e,"alt",i=n[23].altText?n[23].altText:"")},m(l,r){L(l,e,r)},p(l,r){r&1&&!Ze(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&i!==(i=l[23].altText?l[23].altText:"")&&f(e,"alt",i)},d(l){l&&I(e)}}}function t3(n){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-u7mfvs")},m(i,l){L(i,e,l)},p(i,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-u7mfvs")&&f(e,"class",t)},d(i){i&&I(e)}}}function u_(n){let e,t=n[23].globalNav==="bottom"&&!n[23].separator&&s_(n);return{c(){t&&t.c(),e=Ce()},m(i,l){t&&t.m(i,l),L(i,e,l)},p(i,l){i[23].globalNav==="bottom"&&!i[23].separator?t?t.p(i,l):(t=s_(i),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(i){t&&t.d(i),i&&I(e)}}}function i3(n){let e,t,i,l=n[2]&&t_(n);return{c(){l&&l.c(),e=Ce()},m(r,a){l&&l.m(r,a),L(r,e,a),t||(i=[ne(window,"click",fs),ne(window,"blur",fs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=t_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:He,o:He,d(r){l&&l.d(r),r&&I(e),t=!1,Qe(i)}}}function fs(){}function n3(n,e,t){let i;const l=Wt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=pt("store"),_=pt("getTranslation");bn(n,_,D=>t(7,i=D));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=ae.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const D=await ue.generateTopNavNodes(r);t(0,c=D.children),t(1,h=D.selectedNode),a=r}};Qt(()=>{ui.doOnStoreChange(d,()=>{t(13,b=ae.getConfigBooleanValue("settings.hideNavigation")),t(14,m=ae.getConfigValue("settings.responsiveNavigation")),t(2,p=!(ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&ae.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zi(()=>{(!a||a!=r)&&C(),t(6,v=ae.getConfigBooleanValue("navigation.addNavHrefs"))});function y(D){return ue.renderIconClassName(D)}function P(D){return ue.isOpenUIiconName(D.icon)}function A(D){return bt.getTranslation(D.label)}function T(D){return we.getNodeHref(D,o)}function V(D){l("handleClick",{node:D})}function E(D){V(D.detail.node)}const U=(D,Z)=>{ue.handleNavAnchorClickedWithoutMetaKey(Z)&&V(D)},F=D=>V(D);return n.$$set=D=>{"pathData"in D&&t(3,r=D.pathData),"pathParams"in D&&t(15,o=D.pathParams),"children"in D&&t(0,c=D.children),"selectedNode"in D&&t(1,h=D.selectedNode),"showGlobalNav"in D&&t(2,p=D.showGlobalNav),"hideNavComponent"in D&&t(13,b=D.hideNavComponent),"responsiveNavSetting"in D&&t(14,m=D.responsiveNavSetting)},[c,h,p,r,V,fs,v,i,_,y,P,A,T,b,m,o,E,U,F]}class l3 extends Et{constructor(e){super(),At(this,e,n3,i3,Nt,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return fs}}function r3(n){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,i){L(t,e,i),n[4](e)},p:He,i:He,o:He,d(t){t&&I(e),n[4](null)}}}function a3(n,e,t){const i=Wt();let{pathData:l}=e,r,a={},o,c=pt("store"),{showBreadcrumb:h}=e;ae.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},_=v=>{v.last||b(v.node)};Qt(()=>{ui.doOnStoreChange(c,()=>{},["navigation"])}),zi(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=ae.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(ae.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=it.getCurrentPath();for(let A=y;A<l.length;A++){const T=l[A],V=we.mapPathToNode(P,T);if(a[V])C.push(a[V]);else if(T.label||T.pathSegment||T.titleResolver)if(document.body.classList.add("lui-breadcrumb"),T.titleResolver)C.push({label:T.titleResolver.prerenderFallback&&T.titleResolver.fallbackTitle?bt.getTranslation(T.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:T,route:V,pending:!0});else{const E=await p(T);E&&C.push({label:E,node:T,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,_),C=[];for(let A=y;A<l.length;A++){const T=l[A],V=we.mapPathToNode(P,T);if(T.titleResolver){const U=await Rt.extractDataFromPath(V),F=we.substituteDynamicParamsInObject(Object.assign({},U.pathData.context,T.context),U.pathData.pathParams);try{const D=await ue.fetchNodeTitleData(T,F);C.push({label:D.label,node:T,route:V});continue}catch{}}const E=await p(T);E&&C.push({label:E,node:T,route:V})}P===it.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,_)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(A=>{a[A.route]=A}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return bt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=we.mapPathToNode(it.getCurrentPath(),v),y=await Rt.extractDataFromPath(C);return we.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){i("handleClick",{node:v})}function m(v){Xe[v?"unshift":"push"](()=>{o=v,t(0,o)})}return n.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class fp extends Et{constructor(e){super(),At(this,e,a3,r3,Nt,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Vo="not_checked";Ai.addEventListener("message",function(n){n.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Vo="disabled"):n.data==="luigi.tpcEnabled"&&(Vo="enabled")},!1);function s3(){return Vo}const{Boolean:o3,window:f_}=dl;function c_(n,e,t){const i=n.slice();return i[153]=e[t],i[155]=t,i}function d_(n){let e,t;return e=new ek({props:{alertQueue:n[25]}}),e.$on("alertDismiss",n[36]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&33554432&&(r.alertQueue=i[25]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function g_(n){let e,t;function i(){return n[69](n[155])}function l(...a){return n[70](n[155],...a)}function r(...a){return n[71](n[155],...a)}return e=new Z_({props:{settings:n[153].mfModal.settings,nodepath:n[153].mfModal.nodepath,modalIndex:n[155],disableBackdrop:n[12]}}),e.$on("close",i),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),t=!0},p(a,o){n=a;const c={};o[0]&134217728&&(c.settings=n[153].mfModal.settings),o[0]&134217728&&(c.nodepath=n[153].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=n[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){B(e.$$.fragment,a),t=!1},d(a){Oe(e,a)}}}function h_(n){let e,t,i=n[153].mfModal.displayed&&g_(n);return{c(){i&&i.c(),e=Ce()},m(l,r){i&&i.m(l,r),L(l,e,r),t=!0},p(l,r){l[153].mfModal.displayed?i?(i.p(l,r),r[0]&134217728&&R(i,1)):(i=g_(l),i.c(),R(i,1),i.m(e.parentNode,e)):i&&(ke(),B(i,1,1,()=>{i=null}),Se())},i(l){t||(R(i),t=!0)},o(l){B(i),t=!1},d(l){i&&i.d(l),l&&I(e)}}}function __(n){let e,t;return e=new Z_({props:{settings:n[28].settings,nodepath:n[28].nodepath,$$slots:{default:[u3]},$$scope:{ctx:n}}}),e.$on("close",n[44]),e.$on("drawerState",n[43]),e.$on("iframeCreated",n[41]),e.$on("wcCreated",n[42]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&268435456&&(r.settings=i[28].settings),l[0]&268435456&&(r.nodepath=i[28].nodepath),l[0]&4096|l[5]&2&&(r.$$scope={dirty:l,ctx:i}),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function u3(n){let e,t;return e=new Ol({props:{area:"drawer",disable:n[12]}}),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&4096&&(r.disable=i[12]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function p_(n){let e,t;return e=new rk({props:{settings:n[26].settings}}),e.$on("modalConfirm",n[72]),e.$on("modalDismiss",n[73]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&67108864&&(r.settings=i[26].settings),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function m_(n){let e,t,i;function l(a){n[74](a)}let r={userSettingGroups:n[17].userSettingGroups};return n[5]!==void 0&&(r.storedUserSettings=n[5]),e=new kk({props:r}),Xe.push(()=>_t(e,"storedUserSettings",l,n[5])),e.$on("close",n[9]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),i=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],ht(()=>t=!1)),e.$set(c)},i(a){i||(R(e.$$.fragment,a),i=!0)},o(a){B(e.$$.fragment,a),i=!1},d(a){Oe(e,a)}}}function f3(n){let e,t,i,l,r,a,o,c;e=new Ol({props:{disable:n[12],$$slots:{default:[d3]},$$scope:{ctx:n}}});let h=n[10]&&v_(),d=!n[24]&&w_(n),_=!n[20]&&k_(n),p=!(n[20]||n[21])&&C_(n),b=n[15]&&!n[20]&&y_(n);return{c(){Me(e.$$.fragment),t=z(),h&&h.c(),i=z(),d&&d.c(),l=z(),_&&_.c(),r=z(),p&&p.c(),a=z(),b&&b.c(),o=Ce()},m(m,v){Ve(e,m,v),L(m,t,v),h&&h.m(m,v),L(m,i,v),d&&d.m(m,v),L(m,l,v),_&&_.m(m,v),L(m,r,v),p&&p.m(m,v),L(m,a,v),b&&b.m(m,v),L(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&2&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?h||(h=v_(),h.c(),h.m(i.parentNode,i)):h&&(h.d(1),h=null),m[24]?d&&(ke(),B(d,1,1,()=>{d=null}),Se()):d?(d.p(m,v),v[0]&16777216&&R(d,1)):(d=w_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?_&&(ke(),B(_,1,1,()=>{_=null}),Se()):_?(_.p(m,v),v[0]&1048576&&R(_,1)):(_=k_(m),_.c(),R(_,1),_.m(r.parentNode,r)),m[20]||m[21]?p&&(ke(),B(p,1,1,()=>{p=null}),Se()):p?(p.p(m,v),v[0]&3145728&&R(p,1)):(p=C_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=y_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ke(),B(b,1,1,()=>{b=null}),Se())},i(m){c||(R(e.$$.fragment,m),R(d),R(_),R(p),R(b),c=!0)},o(m){B(e.$$.fragment,m),B(d),B(_),B(p),B(b),c=!1},d(m){Oe(e,m),m&&I(t),h&&h.d(m),m&&I(i),d&&d.d(m),m&&I(l),_&&_.d(m),m&&I(r),p&&p.d(m),m&&I(a),b&&b.d(m),m&&I(o)}}}function c3(n){let e,t,i,l,r,a,o,c,h,d,_,p,b,m=!n[24]&&P_(n),v=!(n[20]||n[21])&&N_(n),C=n[19]&&I_(n);_=new Ol({props:{disable:n[12],$$slots:{default:[g3]},$$scope:{ctx:n}}});let y=n[10]&&A_();return{c(){e=S("div"),t=S("div"),i=S("div"),l=S("div"),m&&m.c(),r=z(),a=S("div"),v&&v.c(),o=z(),c=S("div"),C&&C.c(),h=z(),d=S("div"),Me(_.$$.fragment),p=z(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(i,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1omtujb"),f(c,"class","fd-tool-layout__content-container svelte-1omtujb"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1omtujb"),f(e,"class","lui-core-layout svelte-1omtujb")},m(P,A){L(P,e,A),w(e,t),w(t,i),w(i,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),Ve(_,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,A){P[24]?m&&(ke(),B(m,1,1,()=>{m=null}),Se()):m?(m.p(P,A),A[0]&16777216&&R(m,1)):(m=P_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[21]?v&&(ke(),B(v,1,1,()=>{v=null}),Se()):v?(v.p(P,A),A[0]&3145728&&R(v,1)):(v=N_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,A),A[0]&524288&&R(C,1)):(C=I_(P),C.c(),R(C,1),C.m(c,h)):C&&(ke(),B(C,1,1,()=>{C=null}),Se());const T={};A[0]&4096&&(T.disable=P[12]),A[0]&1177600|A[5]&2&&(T.$$scope={dirty:A,ctx:P}),_.$set(T),P[10]?y||(y=A_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(_.$$.fragment,P),b=!0)},o(P){B(m),B(v),B(C),B(_.$$.fragment,P),b=!1},d(P){P&&I(e),m&&m.d(),v&&v.d(),C&&C.d(),Oe(_),y&&y.d()}}}function b_(n){let e,t;return e=new $_({props:{splitViewSettings:n[11].settings,collapsed:n[11].collapsed,nodepath:n[11].nodepath,disableBackdrop:n[12]}}),e.$on("iframeCreated",n[32]),e.$on("statusChanged",n[33]),e.$on("wcCreated",n[34]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&2048&&(r.splitViewSettings=i[11].settings),l[0]&2048&&(r.collapsed=i[11].collapsed),l[0]&2048&&(r.nodepath=i[11].nodepath),l[0]&4096&&(r.disableBackdrop=i[12]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function d3(n){let e,t,i,l,r,a,o,c,h;t=new Ol({props:{area:"main",disable:n[12]}});let d=n[11].displayed&&b_(n);return{c(){e=S("div"),Me(t.$$.fragment),i=z(),l=S("div"),r=z(),d&&d.c(),a=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),f(e,"tabindex","0"),Ht(e,"lui-split-view",n[11].displayed),Ht(e,"lui-collapsed",n[11].collapsed)},m(_,p){L(_,e,p),Ve(t,e,null),w(e,i),w(e,l),L(_,r,p),d&&d.m(_,p),L(_,a,p),o=!0,c||(h=F_(n[45].call(null,e)),c=!0)},p(_,p){const b={};p[0]&4096&&(b.disable=_[12]),t.$set(b),(!o||p[0]&2048)&&Ht(e,"lui-split-view",_[11].displayed),(!o||p[0]&2048)&&Ht(e,"lui-collapsed",_[11].collapsed),_[11].displayed?d?(d.p(_,p),p[0]&2048&&R(d,1)):(d=b_(_),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ke(),B(d,1,1,()=>{d=null}),Se())},i(_){o||(R(t.$$.fragment,_),R(d),o=!0)},o(_){B(t.$$.fragment,_),B(d),o=!1},d(_){_&&I(e),Oe(t),_&&I(r),d&&d.d(_),_&&I(a),c=!1,h()}}}function v_(n){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
60
60
|
<div class="fd-busy-indicator__circle"></div>
|
|
61
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,i){L(t,e,i)},d(t){t&&
|
|
61
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,i){L(t,e,i)},d(t){t&&I(e)}}}function w_(n){let e,t,i,l,r,a,o;function c(m){n[80](m)}function h(m){n[81](m)}function d(m){n[82](m)}function _(m){n[83](m)}function p(m){n[84](m)}let b={pathData:n[14],pathParams:n[13],burgerTooltip:n[18]};return n[0]!==void 0&&(b.isSearchFieldVisible=n[0]),n[3]!==void 0&&(b.displaySearchResult=n[3]),n[4]!==void 0&&(b.searchResult=n[4]),n[1]!==void 0&&(b.inputElem=n[1]),n[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=n[2]),e=new op({props:b}),Xe.push(()=>_t(e,"isSearchFieldVisible",c,n[0])),Xe.push(()=>_t(e,"displaySearchResult",h,n[3])),Xe.push(()=>_t(e,"searchResult",d,n[4])),Xe.push(()=>_t(e,"inputElem",_,n[1])),Xe.push(()=>_t(e,"luigiCustomSearchRenderer__slot",p,n[2])),e.$on("handleClick",n[30]),e.$on("resizeTabNav",n[31]),e.$on("toggleSearch",n[6]),e.$on("closeSearchResult",n[7]),e.$on("handleSearchNavigation",n[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(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],ht(()=>t=!1)),!i&&v[0]&8&&(i=!0,C.displaySearchResult=m[3],ht(()=>i=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],ht(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],ht(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],ht(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){B(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function k_(n){let e,t,i,l;e=new l3({props:{pathData:n[14],pathParams:n[13]}}),e.$on("handleClick",n[30]);let r=n[19]&&S_(n);return{c(){Me(e.$$.fragment),t=z(),r&&r.c(),i=Ce()},m(a,o){Ve(e,a,o),L(a,t,o),r&&r.m(a,o),L(a,i,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=S_(a),r.c(),R(r,1),r.m(i.parentNode,i)):r&&(ke(),B(r,1,1,()=>{r=null}),Se())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){B(e.$$.fragment,a),B(r),l=!1},d(a){Oe(e,a),a&&I(t),r&&r.d(a),a&&I(i)}}}function S_(n){let e,t;return e=new fp({props:{pathData:n[14],pathParams:n[13]}}),e.$on("handleClick",n[30]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&16384&&(r.pathData=i[14]),l[0]&8192&&(r.pathParams=i[13]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function C_(n){let e,t;return e=new x_({props:{pathData:n[14],pathParams:n[13],burgerTooltip:n[18]}}),e.$on("handleClick",n[30]),e.$on("resizeTabNav",n[31]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&16384&&(r.pathData=i[14]),l[0]&8192&&(r.pathParams=i[13]),l[0]&262144&&(r.burgerTooltip=i[18]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function y_(n){let e,t;return e=new up({props:{pathData:n[14],pathParams:n[13],resizeTabNavToggle:n[16]}}),e.$on("handleClick",n[30]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&16384&&(r.pathData=i[14]),l[0]&8192&&(r.pathParams=i[13]),l[0]&65536&&(r.resizeTabNavToggle=i[16]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function P_(n){let e,t,i,l,r,a,o;function c(m){n[75](m)}function h(m){n[76](m)}function d(m){n[77](m)}function _(m){n[78](m)}function p(m){n[79](m)}let b={pathData:n[14],pathParams:n[13],burgerTooltip:n[18]};return n[0]!==void 0&&(b.isSearchFieldVisible=n[0]),n[3]!==void 0&&(b.displaySearchResult=n[3]),n[4]!==void 0&&(b.searchResult=n[4]),n[1]!==void 0&&(b.inputElem=n[1]),n[2]!==void 0&&(b.luigiCustomSearchRenderer__slot=n[2]),e=new op({props:b}),Xe.push(()=>_t(e,"isSearchFieldVisible",c,n[0])),Xe.push(()=>_t(e,"displaySearchResult",h,n[3])),Xe.push(()=>_t(e,"searchResult",d,n[4])),Xe.push(()=>_t(e,"inputElem",_,n[1])),Xe.push(()=>_t(e,"luigiCustomSearchRenderer__slot",p,n[2])),e.$on("handleClick",n[30]),e.$on("resizeTabNav",n[31]),e.$on("toggleSearch",n[6]),e.$on("closeSearchResult",n[7]),e.$on("handleSearchNavigation",n[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(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],ht(()=>t=!1)),!i&&v[0]&8&&(i=!0,C.displaySearchResult=m[3],ht(()=>i=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],ht(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],ht(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.luigiCustomSearchRenderer__slot=m[2],ht(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){B(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function N_(n){let e,t,i,l;return i=new x_({props:{pathData:n[14],pathParams:n[13],burgerTooltip:n[18]}}),i.$on("handleClick",n[30]),i.$on("resizeTabNav",n[31]),{c(){e=S("div"),t=S("div"),Me(i.$$.fragment),f(t,"class","lui-box svelte-1omtujb"),f(e,"class","fd-tool-layout__navigation-container svelte-1omtujb")},m(r,a){L(r,e,a),w(e,t),Ve(i,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]),i.$set(o)},i(r){l||(R(i.$$.fragment,r),l=!0)},o(r){B(i.$$.fragment,r),l=!1},d(r){r&&I(e),Oe(i)}}}function I_(n){let e,t;return e=new fp({props:{pathData:n[14],pathParams:n[13]}}),e.$on("handleClick",n[30]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&16384&&(r.pathData=i[14]),l[0]&8192&&(r.pathParams=i[13]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function T_(n){let e,t;return e=new up({props:{pathData:n[14],pathParams:n[13],resizeTabNavToggle:n[16]}}),e.$on("handleClick",n[30]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&16384&&(r.pathData=i[14]),l[0]&8192&&(r.pathParams=i[13]),l[0]&65536&&(r.resizeTabNavToggle=i[16]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function L_(n){let e,t;return e=new $_({props:{splitViewSettings:n[11].settings,collapsed:n[11].collapsed,nodepath:n[11].nodepath,disableBackdrop:n[12]}}),e.$on("iframeCreated",n[32]),e.$on("statusChanged",n[33]),e.$on("wcCreated",n[34]),{c(){Me(e.$$.fragment)},m(i,l){Ve(e,i,l),t=!0},p(i,l){const r={};l[0]&2048&&(r.splitViewSettings=i[11].settings),l[0]&2048&&(r.collapsed=i[11].collapsed),l[0]&2048&&(r.nodepath=i[11].nodepath),l[0]&4096&&(r.disableBackdrop=i[12]),e.$set(r)},i(i){t||(R(e.$$.fragment,i),t=!0)},o(i){B(e.$$.fragment,i),t=!1},d(i){Oe(e,i)}}}function g3(n){let e,t,i,l,r,a,o,c,h,d;t=new Ol({props:{area:"main",disable:n[12]}});let _=n[15]&&!n[20]&&T_(n),p=n[11].displayed&&L_(n);return{c(){e=S("div"),Me(t.$$.fragment),i=z(),l=S("div"),r=z(),_&&_.c(),a=z(),p&&p.c(),o=Ce(),f(l,"class","wcContainer svelte-1omtujb"),f(e,"class","fd-page iframeContainer svelte-1omtujb"),f(e,"tabindex","0"),Ht(e,"lui-split-view",n[11].displayed),Ht(e,"lui-collapsed",n[11].collapsed)},m(b,m){L(b,e,m),Ve(t,e,null),w(e,i),w(e,l),L(b,r,m),_&&_.m(b,m),L(b,a,m),p&&p.m(b,m),L(b,o,m),c=!0,h||(d=F_(n[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)&&Ht(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&Ht(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?_?(_.p(b,m),m[0]&1081344&&R(_,1)):(_=T_(b),_.c(),R(_,1),_.m(a.parentNode,a)):_&&(ke(),B(_,1,1,()=>{_=null}),Se()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=L_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ke(),B(p,1,1,()=>{p=null}),Se())},i(b){c||(R(t.$$.fragment,b),R(_),R(p),c=!0)},o(b){B(t.$$.fragment,b),B(_),B(p),c=!1},d(b){b&&I(e),Oe(t),b&&I(r),_&&_.d(b),b&&I(a),p&&p.d(b),b&&I(o),h=!1,d()}}}function A_(n){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
|
|
62
62
|
<div class="fd-busy-indicator__circle"></div>
|
|
63
|
-
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,i){L(t,e,i)},d(t){t&&T(e)}}}function h3(n){let e,t,i,l,r,a,o,c,_,d,h,p,b=n[25]&&n[25].length&&d_(n),m=n[27],v=[];for(let F=0;F<m.length;F+=1)v[F]=h_(c_(n,m,F));const C=F=>B(v[F],1,1,()=>{v[F]=null});let y=n[28].displayed&&n[28].settings.isDrawer&&__(n),P=n[26].displayed&&p_(n),I=n[17].displayed&&m_(n);const A=[c3,f3],D=[];function V(F,U){return F[29]?0:1}return o=V(n),c=D[o]=A[o](n),{c(){e=S("div"),b&&b.c(),t=z();for(let F=0;F<v.length;F+=1)v[F].c();i=z(),y&&y.c(),l=z(),P&&P.c(),r=z(),I&&I.c(),a=z(),c.c(),f(e,"id","app"),f(e,"class",_=(n[20]?"no-nav":"")+" "+(n[21]?"no-side-nav":"")+" "+(n[24]?"no-top-nav":"")+" "+(n[22]?"no-animation":"")+" svelte-1omtujb"),f(e,"configversion",n[23])},m(F,U){L(F,e,U),b&&b.m(e,null),w(e,t);for(let E=0;E<v.length;E+=1)v[E].m(e,null);w(e,i),y&&y.m(e,null),w(e,l),P&&P.m(e,null),w(e,r),I&&I.m(e,null),w(e,a),D[o].m(e,null),d=!0,h||(p=[ne(f_,"resize",n[35]),ne(f_,"keydown",n[46])],h=!0)},p(F,U){if(F[25]&&F[25].length?b?(b.p(F,U),U[0]&33554432&&R(b,1)):(b=d_(F),b.c(),R(b,1),b.m(e,t)):b&&(ke(),B(b,1,1,()=>{b=null}),Se()),U[0]&134221824|U[1]&896){m=F[27];let E;for(E=0;E<m.length;E+=1){const Y=c_(F,m,E);v[E]?(v[E].p(Y,U),R(v[E],1)):(v[E]=h_(Y),v[E].c(),R(v[E],1),v[E].m(e,i))}for(ke(),E=m.length;E<v.length;E+=1)C(E);Se()}F[28].displayed&&F[28].settings.isDrawer?y?(y.p(F,U),U[0]&268435456&&R(y,1)):(y=__(F),y.c(),R(y,1),y.m(e,l)):y&&(ke(),B(y,1,1,()=>{y=null}),Se()),F[26].displayed?P?(P.p(F,U),U[0]&67108864&&R(P,1)):(P=p_(F),P.c(),R(P,1),P.m(e,r)):P&&(ke(),B(P,1,1,()=>{P=null}),Se()),F[17].displayed?I?(I.p(F,U),U[0]&131072&&R(I,1)):(I=m_(F),I.c(),R(I,1),I.m(e,a)):I&&(ke(),B(I,1,1,()=>{I=null}),Se()),c.p(F,U),(!d||U[0]&24117248&&_!==(_=(F[20]?"no-nav":"")+" "+(F[21]?"no-side-nav":"")+" "+(F[24]?"no-top-nav":"")+" "+(F[22]?"no-animation":"")+" svelte-1omtujb"))&&f(e,"class",_),(!d||U[0]&8388608)&&f(e,"configversion",F[23])},i(F){if(!d){R(b);for(let U=0;U<m.length;U+=1)R(v[U]);R(y),R(P),R(I),R(c),d=!0}},o(F){B(b),v=v.filter(o3);for(let U=0;U<v.length;U+=1)B(v[U]);B(y),B(P),B(I),B(c),d=!1},d(F){F&&T(e),b&&b.d(),ft(v,F),y&&y.d(),P&&P.d(),I&&I.d(),D[o].d(),h=!1,Qe(p)}}}function _3(n,e,t){const i=Ht();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,_,d=!1,h,p,b,m,v,C,y,P,I,A,D,V,F,U,E,Y,j,Z,de,te=!0,G=!1,Q,X,_e,ie=[],oe={isDirty:!1,persistUrl:null},ve,re,Ee=!1,We,W,se={},Ie,nt,Fe,pe=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ge}=e,{inputElem:rt}=e,{luigiCustomSearchRenderer__slot:qt}=e,{displaySearchResult:vt}=e,{searchResult:Dt}=e,{storedUserSettings:Ei}=e;const Gt=async H=>{const ce=H.iframe.luigi,De=ce.currentNode&&ce.currentNode.userSettingsGroup,qe=await ae.readUserSettings(),Ue=De&&typeof qe=="object"&&qe!==null,ge=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ie.length,clientPermissions:ce.nextViewUrl?ce.nextClientPermissions:ce.clientPermissions,userSettings:Ue?qe[De]:null,anchor:ol.getAnchor(),cssVariables:await Ro.getCSSVariables()});return Ae.specialIframeTypes.map(Ne=>Ne.iframeConfigKey).forEach(Ne=>{ge[Ne]=H[Ne]||!1}),ge},Kt=async(H,ce={})=>{if(!H.iframe){console.debug("iframe does not exist, not able to send context.");return}const De={msg:"luigi.init",context:JSON.stringify(Object.assign({},H.context||A,ce)),nodeParams:JSON.stringify(Object.assign({},H.nodeParams||D)),pathParams:JSON.stringify(Object.assign({},H.pathParams||V)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(H.iframe.luigi.currentNode))),internal:JSON.stringify(await Gt(H)),authData:ul.getStoredAuthData()};H.iframe.luigi._lastUpdatedMessage=De,Ae.sendMessageToIframe(H.iframe,De)},gl=H=>{const ce={msg:"luigi.auth.tokenIssued",authData:H};Ae.broadcastMessageToAllIframes(ce)},It=(H,ce)=>{if(H.params.preserveView||H.params.viewgroup){const De=wi(H.params),qe=it.getNodePath(U,F);ie.push({path:ce.iframe.luigi&&ce.iframe.luigi.pathParams?le.replaceVars(qe,ce.iframe.luigi.pathParams,":",!1):qe,nextPath:De.startsWith("/")?De:"/"+De,context:A}),ce.iframe.pv="pv"}},Qt=(H,ce,De,qe)=>{let Ue=wi(H.params,De,qe);const{preventHistoryEntry:ge,preserveQueryParams:Ne,preventContextUpdate:mt}=H.params,Ot={keepBrowserHistory:!ge,navSync:te,preventContextUpdate:mt};return Ue=le.addLeadingSlash(Ue),Ue=Ne?we.composeSearchParamsToRoute(Ue):Ue,It(H,ce),it.navigateTo(Ue,Ot)},Ri=H=>H.split("?")[0],xi=(H,ce)=>{if(H.length===0)return!1;const De=ce.startsWith("/")?ce:`/${ce}`,qe=[...H].pop();return[Ri(qe.path),Ri(qe.nextPath)].includes(Ri(De))},Hn=H=>{oe&&oe.dirtySet&&(H?oe.dirtySet.delete(H):oe.dirtySet.clear())},ii=H=>new Promise((ce,De)=>{Hl(H)?In().then(()=>{Hn(),ce()},()=>{De()}):ce()}),_i=()=>({get:()=>({unsavedChanges:oe,hideNav:ki,viewUrl:E,nodeParams:D,viewGroup:Y,urlParamsRaw:F,currentNode:U,navigationPath:X,context:A,pathParams:V,hideSideNav:Vi,isolateView:j,pageErrorHandler:Z,previousNodeValues:de,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:G,goBackContext:Q,isNavigationSyncEnabled:te}),set:H=>{H&&(t(22,bl=!1),Object.getOwnPropertyNames(H).forEach(ce=>{ce==="hideNav"?t(20,ki=H.hideNav):ce==="viewUrl"?E=H.viewUrl:ce==="nodeParams"?D=H.nodeParams:ce==="viewGroup"?Y=H.viewGroup:ce==="urlParamsRaw"?F=H.urlParamsRaw:ce==="currentNode"?U=H.currentNode:ce==="navigationPath"?t(14,X=H.navigationPath):ce==="context"?A=H.context:ce==="pathParams"?t(13,V=H.pathParams):ce==="hideSideNav"?(Vi!=H.hideSideNav&&(t(22,bl=!0),setTimeout(()=>{const De=document.querySelector("#app");De&&De.classList.remove("no-animation")})),t(21,Vi=H.hideSideNav)):ce==="isolateView"?j=H.isolateView:ce==="pageErrorHandler"?Z=H.pageErrorHandler:ce==="previousNodeValues"?de=H.previousNodeValues:ce==="mfSplitView"?t(11,o=H.mfSplitView):ce==="splitViewValues"?c=H.splitViewValues:ce==="splitViewIframe"?C=H.splitViewIframe:ce=="splitViewWC"?P=H.splitViewWC:ce==="showLoadingIndicator"?H.showLoadingIndicator===!0?Fe=setTimeout(()=>{t(10,a=!0)},250):(t(10,a=!1),clearTimeout(Fe)):ce==="tabNav"?t(15,re=H.tabNav):ce==="isNavigateBack"?G=H.isNavigateBack:ce==="goBackContext"?Q=H.goBackContext:ce==="isNavigationSyncEnabled"&&(te=H.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Hl,getUnsavedChangesModalPromise:ii,showUnsavedChangesModal:In,showAlert:vl,prepareInternalData:Gt,dispatch:i}),qi=(H,ce)=>{oi.doOnStoreChange(l,()=>{const De=document.querySelector(".wcContainer");De&&(De.configChangedRequest=!0),Wi.deleteCache();const qe=it.getCurrentPath();it.handleRouteChange(qe,_i(),H,ce)},["navigation.nodes"]),we.addRouteChangeListener((De,qe)=>{const{withoutSync:Ue,preventContextUpdate:ge}=qe||{};xi(ie,De)||(ie=[],an.removeInactiveIframes(H));for(let mt=J.length;mt--;)jn(mt);Yr.removeBackdrop(),on(),it.handleRouteChange(De,_i(),H,ce,Ue,ge)})},Wt=(H,ce)=>le.replaceVars(it.getNodePath(H),ce,":",!1),wi=(H,ce,De)=>{const qe=ce||U,Ue=De||V;let ge=X;if(ce){let mt=ce.parent;for(ge=[ce];mt;)ge.push(mt),mt=mt.parent;ge=[...ge].reverse()}let Ne=H.link;if(H.fromVirtualTreeRoot){const mt=[...ge].reverse().find(Ot=>Ot.virtualTree);if(!mt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ne=it.concatenatePath(Wt(mt,Ue),H.link)}else if(H.fromParent)Ne=it.concatenatePath(Wt(qe.parent,Ue),H.link);else if(H.fromClosestContext){const mt=[...ge].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);Ne=it.concatenatePath(Wt(mt,Ue),H.link)}else if(H.fromContext){const mt=H.fromContext,Ot=[...ge].reverse().find(Sr=>mt===Sr.navigationContext);Ne=it.concatenatePath(Wt(Ot,Ue),H.link)}else H.intent?Ne=we.getIntentPath(H.link):H.relative&&(Ne=it.concatenatePath(Wt(qe,Ue),H.link));return H.nodeParams&&Object.keys(H.nodeParams).length>0&&(Ne+=Ne.includes("?")?"&":"?",Object.entries(H.nodeParams).forEach((mt,Ot)=>{Ne+=encodeURIComponent(we.getContentViewParamPrefix()+mt[0])+"="+encodeURIComponent(mt[1])+(Ot<Object.keys(H.nodeParams).length-1?"&":"")})),Ne},vn=H=>{const ce=H.detail.node;ii().then(()=>{if(Ul(),ce.openNodeInModal){const De=we.buildRoute(ce,`/${ce.pathSegment}`);fi(De,ce.openNodeInModal===!0?{}:ce.openNodeInModal)}else if(ce.drawer){const De=we.buildRoute(ce,`/${ce.pathSegment}`);ce.drawer.isDrawer=!0,Qr(De,ce.drawer)}else _i().set({isNavigationSyncEnabled:!0}),it.handleRouteClick(ce,_i())},()=>{})},wn=()=>{t(16,Ee=!Ee)};Br("handleNavigation",Qt);const ui=H=>H?!0:(console.warn("No search provider defined."),!1),kn=()=>{ui(W)&&t(0,Ge=!1)},Sn=()=>{ui(W)&&rt&&(t(0,Ge=!0),rt.focus())},Cn=()=>{ui(W)&&rt&&(t(1,rt.value="",rt),Nn())},yn=()=>{t(0,Ge=!Ge),S2.clearSearchField()},Pn=()=>{if(ui(W)&&rt)return rt.value},hl=H=>{ui(W)&&rt&&(t(1,rt.value=H,rt),le.isFunction(W.onInput)?W.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=H=>{ui(W)&&rt&&t(1,rt.placeholder=H,rt)},pl=H=>{if(ui(W))if(H&&H.length>0)if(le.isFunction(W.customSearchResultRenderer)){let ce={fireItemSelected:De=>{W.onSearchResultItemSelected(De)}};W.customSearchResultRenderer(H,qt,ce)}else t(3,vt=!0),t(4,Dt=H);else console.warn("Search result array is empty.")},Nn=()=>{if(ui(W)&&(t(3,vt=!1),t(4,Dt=[]),qt))for(;qt.lastElementChild;)qt.removeChild(qt.lastElementChild)},Wn=H=>{let ce=H.detail.node,De={params:{link:ce.link,nodeParams:ce.params}};Qt(De)},zn=(H,ce)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ot.getDefaultData().mfSplitView),ot.open(_i(),H,ce)},on=()=>{ot.close(_i())},ml=()=>{ot.collapse(_i()),t(11,o.collapsed=!0,o)},$=()=>{ot.expand(_i()),t(11,o.collapsed=!1,o)},Pe=()=>o.displayed?o.collapsed:!1,et=()=>o.displayed?!o.collapsed:!1,dt=()=>o.displayed,St=H=>{C=H.detail.splitViewIframe,y=H.detail.splitViewIframeData,t(11,o.collapsed=H.detail.collapsed,o)},Xt=H=>{H.detail.displayed!==void 0&&t(11,o.displayed=H.detail.displayed,o),H.detail.collapsed!==void 0&&t(11,o.collapsed=H.detail.collapsed,o)},Di=H=>{P=H.detail.splitViewWC,H.detail.splitViewWCData,t(11,o.collapsed=H.detail.collapsed,o)};let ki,Vi,bl,qn,Ml,Fl;const Ul=()=>{document.body.classList.remove("lui-leftNavToggle")},hr=()=>{Jn();const H=window.innerWidth>=ti.desktopMinWidth&&qn<ti.desktopMinWidth,ce=window.innerWidth<ti.desktopMinWidth&&qn>=ti.desktopMinWidth;(H||ce)&&Ul(),qn=window.innerWidth};let Si=[];const Gn=(H,ce)=>{if(!(!H||!(H.length>0)))return H.filter(De=>De.settings.id===ce)[0]},vl=(H,ce=!1)=>{const De=ae.getConfigValue("settings.customAlertHandler");if(le.isFunction(De)){const Ue=De(H,ce);if(Ue!==!1)return Ue}const qe=Si;return H.id||(H.id=le.getRandomId()),H.id&&qe&&Gn(qe,H.id)?(console.error(`The alert with id '${H.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(H.closeAfter&&setTimeout(()=>{Gn(Si,H.id)&&Bl(H.id)},H.closeAfter),new Promise((Ue,ge)=>{t(25,Si=[...qe||[],{displayed:!0,settings:H,openFromClient:ce,promise:{resolve:Ue}}])}))},Bl=(H,ce)=>{const De=Gn(Si,H);if(!De){console.error("An unexisting alert has been dismissed.",Si,H);return}if(t(25,Si=Si.filter(qe=>qe.settings.id!==H)),De.openFromClient){const qe=an.getActiveIframe(_e),Ue={msg:"luigi.ux.alert.hide",id:H,dismissKey:ce};Ae.sendMessageToIframe(qe,Ue)}else De.promise&&De.promise.resolve(ce||H)},_r=H=>{Bl(H.detail.id,H.detail.dismissKey)};let Kn;const wl=()=>{t(26,Kn={displayed:!1,content:{},openFromClient:!1,promise:null})};wl();const kl=(H,ce=!1,De)=>new Promise((qe,Ue)=>{t(26,Kn={displayed:!0,settings:H,openFromClient:ce,promise:{resolve:qe,reject:Ue},targetIframe:De})}),un=H=>{const{promise:ce,openFromClient:De,targetIframe:qe}=Kn;if(wl(),H?ce.resolve():ce.reject(),De&&qe){const Ue={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:H}};Ae.sendMessageToIframe(qe,Ue)}},Hl=H=>{if(oe.dirtySet){if(H)return oe.dirtySet.has(H);if(oe.dirtySet.size>0)return!0}return!1},In=()=>kl({header:bt.getTranslation("luigi.unsavedChangesAlert.header"),body:bt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:bt.getTranslation("luigi.button.dismiss"),buttonConfirm:bt.getTranslation("luigi.button.confirm")}),pr=()=>oe.dirtySet?oe.dirtySet.size>0:oe.isDirty;Br("getUnsavedChangesModalPromise",ii);let J=[];const Tt=H=>{if(typeof H>"u"){t(27,J=[]);return}t(27,J=J.filter((ce,De)=>H!==De))};Tt();const fi=async(H,ce)=>{if(await ue.shouldPreventNavigationForPath(H))return;const De={mfModal:{displayed:!0,nodepath:H,settings:ce}};t(27,J=[...J,De]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&J.length===1&&it.appendModalDataToUrl(H,ce)},en=(H,ce)=>{t(27,J[ce].modalIframe=H.detail.modalIframe,J),t(27,J[ce].modalIframeData=H.detail.modalIframeData,J)},mr=(H,ce)=>{t(27,J[ce].modalWC=H.detail.modalWC,J),t(27,J[ce].modalWCData=H.detail.modalWCData,J)},jn=(H,ce,De)=>{const qe=(Ne,mt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&J.length===1&&it.removeModalDataFromUrl(mt),Tt(Ne)},Ue=J[H],ge=le.getRemotePromise(Ue.mfModal.settings.onClosePromiseId);Ue&&Ue.modalIframe?ii(Ue.modalIframe.contentWindow).then(()=>{qe(H,ce),ge&&ge.doResolve(De)},()=>{}):Ue&&Ue.modalWC&&(qe(H,ce),ge&&ge.doResolve(De))};Br("openViewInModal",fi);let Zt={};const Wl=()=>{t(28,Zt.displayed=!1,Zt),t(28,Zt.nodepath=void 0,Zt),t(28,Zt.settings={},Zt),t(12,h=!1)};Wl();const Qr=async(H,ce)=>{await ue.shouldPreventNavigationForPath(H)||(t(28,Zt.displayed=!0,Zt),t(28,Zt.nodepath=H,Zt),t(28,Zt.settings=ce,Zt),Zt.settings&&Zt.settings.backdrop&&t(12,h=!0))},Zr=()=>window.innerWidth>=ti.desktopMinWidth&&Zt.displayed&&Zt.settings&&!Zt.settings.overlap,Jn=(H=!1)=>{if(!Zr())return;const ce=document.querySelector(".iframeModalCtn._drawer");if(!ce)return;const De=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(H)De.forEach(qe=>{qe==null||qe.style.removeProperty("width")});else{const{width:qe}=getComputedStyle(ce);De.forEach(Ue=>{Xr(Ue,qe)})}},Xr=(H,ce)=>{H&&!H.style.getPropertyValue("width").includes("calc(")&&H.style.setProperty("width",`calc(${H.clientWidth}px - ${ce})`)},br=H=>{p=H.detail.modalIframe,b=H.detail.modalIframeData,Jn()},cs=H=>{m=H.detail.modalWC,H.detail.modalWCData,Jn()},$r=H=>{d=H.detail.activeDrawer},Yn=H=>{if(H&&H.detail&&H.detail.activeDrawer!==void 0&&(d=H.detail.activeDrawer),!d||H&&H.detail&&H.detail.type!=="modal")try{p?ii(p.contentWindow).then(()=>{Wl()},()=>{}):m&&ii().then(()=>{Wl()},()=>{}),Jn(!0)}catch(ce){console.log(ce)}},xr=()=>{const H=sr.processUserSettingGroups();Array.isArray(H)&&H.length>0?(t(17,se.userSettingGroups=[...H],se),t(17,se.displayed=!0,se)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(17,se.displayed=!1,se)},ea=async H=>{if(await ue.shouldPreventNavigationForPath(H))return;ae.getConfigValue("routing.useHashRouting")&&(H="#"+H),window.open(H,"_blank","noopener,noreferrer")},ta=H=>{let ce=X;if(U){let Ue=U.parent;for(ce=[U];Ue;)ce.push(Ue),Ue=Ue.parent;ce=[...ce].reverse()}let De=H.link,qe=Wt(U,V);if(H.fromVirtualTreeRoot){const Ue=[...ce].reverse().find(Ne=>Ne.virtualTree);if(!Ue){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const ge=Wt(Ue,V);De=qe.split(ge).join("")}else if(H.fromParent){const Ue=Wt(U.parent,V);De=qe.split(Ue).join("")}else if(H.fromClosestContext){const Ue=[...ce].reverse().find(Ne=>Ne.navigationContext&&Ne.navigationContext.length>0),ge=Wt(Ue,V);De=qe.split(ge).join("")}else if(H.fromContext){const Ue=H.fromContext,ge=[...ce].reverse().find(mt=>Ue===mt.navigationContext),Ne=Wt(ge,V);De=qe.split(Ne).join("")}else De=qe;return De};function vr(H){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const ce=ae.getConfigValue("navigation.defaults.isolateView"),De=ae.getConfigValue("navigation.defaults.pageErrorHandler"),qe=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ue={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ce,defaultPageErrorHandler:De};bt.addCurrentLocaleChangeListener(ge=>{const Ne={msg:"luigi.current-locale-changed",currentLocale:ge};Ae.broadcastMessageToAllIframes(Ne)}),Ai.addEventListener("popstate",async ge=>{const Ne=Si;if(!Ne||!(Ne.length>0))return;const mt=Ne.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(25,Si=mt)}),Ai.addEventListener("message",async ge=>{const Ne=Ae.getValidMessageSource(ge),mt=J[J.length-1],Ot=mt&&mt.modalIframe,Sr=mt&&mt.modalIframeData,Zn={modalIframe:Ot,modalIframeData:Sr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:_,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!Ne)return;Ne._ready=!0;const Cr=Ae.getSpecialIframeMessageSource(ge,Zn),Xn=Cr&&Cr.length>0,ql=ae.getConfigValue("communication.skipEventsWhenInactive");if(ql&&ql.length>0&&!Xn&&Ne.contentWindow!==window&&!le.isElementVisible(Ne)&&ql.includes(ge.data.msg)){console.debug(`EVENT '${ge.data.msg}' from inactive iframe -> SKIPPED`);return}if(ge.data.msg==="custom"){const Ke=ae.getConfigValue("communication.customMessagesListeners")||{},$e=rs.convertCustomMessageInternalToUser(ge.data),yt=Ke[$e.id],Mt="luigi.updateUserSettings";if(se&&$e.id===Mt){yt&&console.warn(`The key "${Mt}" is not allowed to use for custom messages.`);return}if(typeof yt=="function"){const Ci=Un.getMicrofrontends().find(Oi=>Ae.isMessageSource(ge,Oi.container));yt($e,Ci,le.removeInternalProperties(Ne.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${$e.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(ge.data.msg==="luigi.init.ok"&&(Ne.luigi.initOk=!0),ge.data.msg==="luigi.navigate.ok"&&(Ne.luigi.viewUrl=Ne.luigi.nextViewUrl,Ne.luigi.nextViewUrl="",Ne.luigi.clientPermissions=Ne.luigi.nextClientPermissions,delete Ne.luigi.nextClientPermissions,Ue.navigateOk=!0,ar.preload()),ge.data.msg==="luigi.get-context"){if(Ne.luigi.clientVersion=ge.data.clientVersion,Ne.luigi.initOk=!1,Xn)Cr.forEach(async Ke=>{let $e=Zn[Ke.dataKey].context;const yt={...Ue,iframe:Zn[Ke.iframeKey],context:$e,pathParams:Zn[Ke.dataKey].pathParams,nodeParams:Zn[Ke.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Zn[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await Kt(yt,{})});else if(Ue.iframe&&Ae.isMessageSource(ge,Ue.iframe))await Kt(Ue,{}),(!U||!U.loadingIndicator||U.loadingIndicator.hideAutomatically!==!1)&&na(),ar.preload();else if(Ne.luigi.preloading)await Kt({iframe:Ne,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=sr.findActiveCustomUserSettingsIframe(ge.source);if(Ke){let $e=Ke.getAttribute("userSettingsGroup"),yt={context:{userSettingsData:Ei[$e]},iframe:Ke};await Kt(yt)}}ar.viewGroupLoaded(Ne)}if(ge.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),ge.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Fe),t(10,a=!1)),ge.data.msg==="luigi.navigation.open"){G=!1;const Ke=window.location.href,$e=Xn?Ne.luigi.currentNode:void 0,yt=Xn?Ne.luigi.pathParams:void 0,Mt=ge.data.params,{intent:Ci,newTab:Oi,modal:ni,splitView:Gl,drawer:Sl,withoutSync:ks}=Mt;let Kl=Oi||ni||Gl||Sl;const ca=()=>{const Ut=le.getRemotePromise(ge.data.remotePromiseId);Ut&&Ut.doResolve()},Cl=()=>{const Ut=le.getRemotePromise(ge.data.remotePromiseId);Ut&&Ut.doReject()},$t=Ut=>{!Ut||Ke!==window.location.href?ca():Cl()};ge.source!==window&&!Ci&&Mt.link&&(Mt.link=Mt.link.split("?")[0]);let ci=wi(ge.data.params,$e,yt);if(Kl=Kl||Ci&&ci.external,!Kl)ii().then(()=>{te=!ge.data.params.withoutSync,Qt(ge.data,Ue,$e,yt).then(()=>{$t(!0)}).catch(()=>{Cl()}),J.forEach((Ut,Ss)=>{jn(Ss)}),on(),Yn(),te=!0}).catch(()=>{Cl()});else{if(Ci&&ci.external){it.navigateToExternalLink({url:ci.url,sameWindow:!ci.openInNewTab});return}if(ci=le.addLeadingSlash(ci),Oi){await ea(ci),$t();return}const Ut=await zl(ci);if(ci=await we.handlePageNotFoundAndRetrieveRedirectPath(_i(),ci,Ut),!ci){Cl();return}_e=H,ni!==void 0?(!ni.keepPrevious&&Tt(),await fi(ci,ni===!0?{}:ni),$t()):Gl!==void 0?(await zn(ci,Gl),$t()):Sl!==void 0&&(Wl(),Sl.isDrawer=!0,await Qr(ci,Sl),$t())}}if(ge.data.msg==="luigi.navigation.back"){const Ke=J[J.length-1],$e=J.length>1&&J[J.length-2],yt=ge.data.goBackContext&&JSON.parse(ge.data.goBackContext);if(Ae.isMessageSource(ge,Ke&&Ke.modalIframe)){jn(J.length-1,!0,yt);let Mt=Ue;if($e&&$e.modalIframeData&&$e.modalIframe){const Ci=$e,Oi=Ci.modalIframeData;Mt={pathParams:Oi.pathParams,context:Oi.context,iframe:Ci.modalIframe}}Mt.iframe&&await Kt(Mt,{goBackContext:yt})}else Ae.isMessageSource(ge,C)?(on(),Ue.iframe&&await Kt(Ue,{goBackContext:yt})):Ae.isMessageSource(ge,p)?(d&&(d=!d),Yn(),Ue.iframe&&await Kt(Ue,{goBackContext:yt})):ie&&ie.length>0?ii().then(()=>{an.setActiveIframeToPrevious(H);const Mt=ie.pop();Ue.iframe=an.getActiveIframe(H),G=!0,ie=ie,Q=yt,Qt({params:{link:Mt.path}},Ue)},()=>{}):(yt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(ge.data.msg==="luigi.navigation.currentRoute"){const Ke=ge.data.data,yt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Ke),correlationId:Ke.id}};Ae.sendMessageToIframe(Ne,yt)}if(ge.data.msg==="luigi.auth.tokenIssued"&&gl(ge.data.authData),ge.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Xn){const Ke=le.addLeadingSlash(wi(ge.data.params,Ne.luigi.currentNode,Ne.luigi.pathParams));it.updateModalDataInUrl(Ke,ge.data.params.modal,ge.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(ge.data.msg==="luigi.navigation.pathExists"){const Ke=Ne.luigi.currentNode,$e=Ne.luigi.pathParams,yt=ge.data.data,Mt=wi(yt,Ke,$e),Ci=Mt?await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Mt):!1,Oi={msg:"luigi.navigation.pathExists.answer",data:{correlationId:yt.id,pathExists:Ci?Ci.isExistingRoute:!1}};Ae.sendMessageToIframe(Ne,Oi)}if(ge.data.msg==="luigi.set-page-dirty"){if(!oe.dirtySet){const Ke=new Set;Ke.add(ge.source),oe={dirtySet:Ke}}oe.persistUrl=window.location.href,ge.data.dirty?oe.dirtySet.add(ge.source):oe.dirtySet.delete(ge.source)}if(ge.data.msg==="luigi.ux.confirmationModal.show"){const Ke=ge.data.data.settings;_e=H,wl(),kl(Ke,!0,Ne).catch(()=>{})}if(ge.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=ge.data.data;if(!Ke.text&&!le.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}_e=H,vl(Ke,!0).catch(()=>{})}if(ge.data.msg==="luigi.ux.set-current-locale")if(Ne.luigi.clientPermissions&&Ne.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ke}=ge.data.data;Ke&&bt.setCurrentLocale(Ke)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(We&&!We.thirdPartyCookieScriptLocation&&ge.data.msg==="luigi.third-party-cookie"&&ge.data.tpc==="disabled"&&ia(),ge.data.msg==="storage"&&Q2.process(Ne.luigi.id,ge.origin,ge.data.data.id,ge.data.data.operation,ge.data.data.params),ge.data.msg==="luigi-runtime-error-handling"){let Ke=Ne.luigi.currentNode;Ke&&Ke.runTimeErrorHandler&&le.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(ge.data.errorObj,Ke):qe&&le.isFunction(qe.errorFn)&&qe.errorFn(ge.data.errorObj,Ke)}if(ge.data.msg==="luigi.addSearchParams")if(Ne.luigi.currentNode.clientPermissions&&Ne.luigi.currentNode.clientPermissions.urlParameters){const{data:Ke,keepBrowserHistory:$e}=ge.data;we.addSearchParamsFromClient(Ne.luigi.currentNode,Ke,$e)}else console.warn("No client permissions to add url parameter for this node.");if(ge.data.msg==="luigi.addNodeParams"){if(Xn)return;const{data:Ke,keepBrowserHistory:$e}=ge.data;ol.addNodeParams(Ke,$e)}if(ge.data.msg==="luigi.setAnchor"){const{anchor:Ke}=ge.data;ol.setAnchor(Ke)}if(ge.data.msg==="luigi.setVGData"){const Ke=ge.data,$e=ue.findViewGroup(Ne.luigi.currentNode);if($e){const yt=ue.getViewGroupSettings($e);yt._liveCustomData=Ke.data,ae.configChanged("navigation.viewgroupdata")}}}),qi(H,Ue)}Br("store",l),Br("getTranslation",r);const ia=H=>{We&&We.thirdPartyCookieErrorHandling&&le.isFunction(We.thirdPartyCookieErrorHandling)&&We.thirdPartyCookieErrorHandling()};function na(){const H=document.querySelector(".spinnerContainer.appSpinner");H&&H.classList.contains("fade-out")?(H.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Fe),t(10,a=!1)},250)):clearTimeout(Fe)}const zl=async H=>{const ce={link:H,relative:H[0]!=="/",intent:we.hasIntent(H)},De=wi(ce),qe=De?await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),De):!1;return qe?qe.isExistingRoute:!1},wr=()=>J.length>0||ie.length!==0;Yt(()=>{if(Ro._init(),W=ae.getConfigValue("globalSearch.searchProvider"),ve=ae.getConfigValue("settings.responsiveNavigation"),qn=window.innerWidth,ve==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ue.getBurgerTooltipConfig()){const[H,ce]=ue.getBurgerTooltipConfig();H&&ce&&t(18,Ie=document.body.classList.contains("lui-leftNavToggle")?H:ce)}}else if(ve==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ue.getBurgerTooltipConfig()){const[H,ce]=ue.getBurgerTooltipConfig();if(H&&ce){const De=JSON.parse(localStorage.getItem(ue.COL_NAV_KEY));t(18,Ie=De?H:ce)}}document.body.classList.add("lui-semiCollapsible")}We=ae.getConfigValue("settings.thirdPartyCookieCheck"),We&&We.thirdPartyCookieScriptLocation&&setTimeout(()=>{let H=document.createElement("iframe");H.width="0px",H.height="0px",H.src=We.thirdPartyCookieScriptLocation,document.body.appendChild(H),H.onload=function(){setTimeout(()=>{s3()==="disabled"&&ia()}),document.body.removeChild(H)}})}),jr(()=>{Jn()}),zi(()=>{t(19,nt=ae.getConfigValue("navigation.breadcrumbs")),W=ae.getConfigValue("globalSearch.searchProvider"),t(23,Ml=ae.getConfigValue("tag")),t(24,Fl=ae.getConfigValue("settings.header.disabled"))});const Qn=H=>{H.keyCode===_n&&J&&J.length>0&&jn(J.length-1)},la=H=>jn(H,!0),ra=(H,ce)=>en(ce,H),gs=(H,ce)=>mr(ce,H),aa=()=>un(!0),sa=()=>un(!1);function oa(H){Ei=H,t(5,Ei)}function ua(H){Ge=H,t(0,Ge)}function hs(H){vt=H,t(3,vt)}function _s(H){Dt=H,t(4,Dt)}function ps(H){rt=H,t(1,rt)}function fa(H){qt=H,t(2,qt)}function ms(H){Ge=H,t(0,Ge)}function bs(H){vt=H,t(3,vt)}function vs(H){Dt=H,t(4,Dt)}function ws(H){rt=H,t(1,rt)}function kr(H){qt=H,t(2,qt)}return n.$$set=H=>{"store"in H&&t(47,l=H.store),"getTranslation"in H&&t(48,r=H.getTranslation),"isSearchFieldVisible"in H&&t(0,Ge=H.isSearchFieldVisible),"inputElem"in H&&t(1,rt=H.inputElem),"luigiCustomSearchRenderer__slot"in H&&t(2,qt=H.luigiCustomSearchRenderer__slot),"displaySearchResult"in H&&t(3,vt=H.displaySearchResult),"searchResult"in H&&t(4,Dt=H.searchResult),"storedUserSettings"in H&&t(5,Ei=H.storedUserSettings)},[Ge,rt,qt,vt,Dt,Ei,yn,Nn,Wn,ds,a,o,h,V,X,re,Ee,se,Ie,nt,ki,Vi,bl,Ml,Fl,Si,Kn,J,Zt,pe,vn,wn,St,Xt,Di,hr,_r,un,en,mr,jn,br,cs,$r,Yn,vr,Qn,l,r,kn,Sn,Cn,Pn,hl,_l,pl,zn,on,ml,$,Pe,et,dt,vl,kl,pr,xr,zl,wr,la,ra,gs,aa,sa,oa,ua,hs,_s,ps,fa,ms,bs,vs,ws,kr]}class p3 extends Et{constructor(e){super(),At(this,e,_3,h3,Nt,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:6,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:7,handleSearchNavigation:8,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:9,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[9]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const m3=()=>{const{subscribe:n,update:e,reset:t}=fr({}),i={};return{subscribe:n,update:e,reset:t,subscribeToScope:(l,r)=>{let a=i[r];a||(a=new Set,i[r]=a),a.add(l)},fire:(l,r)=>{let a=i[l];a&&[...a].forEach(o=>{o(r)})}}},cp=m3(),b3=_2((n,e,t)=>bt.getTranslation(n,e,t));Luigi._store=cp;const v3=()=>new Promise(n=>{bt._init(),ai.init().then(()=>{setTimeout(()=>{let e;Un.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new p3({target:Un.getLuigiContainer(),props:{store:cp,getTranslation:b3}}),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(),n()})})});ae.setConfigCallbacks(v3);
|
|
63
|
+
<div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1omtujb"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,i){L(t,e,i)},d(t){t&&I(e)}}}function h3(n){let e,t,i,l,r,a,o,c,h,d,_,p=n[25]&&n[25].length&&d_(n),b=n[27],m=[];for(let E=0;E<b.length;E+=1)m[E]=h_(c_(n,b,E));const v=E=>B(m[E],1,1,()=>{m[E]=null});let C=n[28].displayed&&n[28].settings.isDrawer&&__(n),y=n[26].displayed&&p_(n),P=n[17].displayed&&m_(n);const A=[c3,f3],T=[];function V(E,U){return E[29]?0:1}return o=V(n),c=T[o]=A[o](n),{c(){e=S("div"),p&&p.c(),t=z();for(let E=0;E<m.length;E+=1)m[E].c();i=z(),C&&C.c(),l=z(),y&&y.c(),r=z(),P&&P.c(),a=z(),c.c(),f(e,"id","app"),f(e,"configversion",n[23]),f(e,"class","svelte-1omtujb"),Ht(e,"no-nav",n[20]),Ht(e,"no-side-nav",n[21]),Ht(e,"no-top-nav",n[24]),Ht(e,"no-animation",n[22]),Ht(e,"btp-layout",n[29])},m(E,U){L(E,e,U),p&&p.m(e,null),w(e,t);for(let F=0;F<m.length;F+=1)m[F].m(e,null);w(e,i),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||(_=[ne(f_,"resize",n[35]),ne(f_,"keydown",n[46])],d=!0)},p(E,U){if(E[25]&&E[25].length?p?(p.p(E,U),U[0]&33554432&&R(p,1)):(p=d_(E),p.c(),R(p,1),p.m(e,t)):p&&(ke(),B(p,1,1,()=>{p=null}),Se()),U[0]&134221824|U[1]&896){b=E[27];let F;for(F=0;F<b.length;F+=1){const D=c_(E,b,F);m[F]?(m[F].p(D,U),R(m[F],1)):(m[F]=h_(D),m[F].c(),R(m[F],1),m[F].m(e,i))}for(ke(),F=b.length;F<m.length;F+=1)v(F);Se()}E[28].displayed&&E[28].settings.isDrawer?C?(C.p(E,U),U[0]&268435456&&R(C,1)):(C=__(E),C.c(),R(C,1),C.m(e,l)):C&&(ke(),B(C,1,1,()=>{C=null}),Se()),E[26].displayed?y?(y.p(E,U),U[0]&67108864&&R(y,1)):(y=p_(E),y.c(),R(y,1),y.m(e,r)):y&&(ke(),B(y,1,1,()=>{y=null}),Se()),E[17].displayed?P?(P.p(E,U),U[0]&131072&&R(P,1)):(P=m_(E),P.c(),R(P,1),P.m(e,a)):P&&(ke(),B(P,1,1,()=>{P=null}),Se()),c.p(E,U),(!h||U[0]&8388608)&&f(e,"configversion",E[23]),(!h||U[0]&1048576)&&Ht(e,"no-nav",E[20]),(!h||U[0]&2097152)&&Ht(e,"no-side-nav",E[21]),(!h||U[0]&16777216)&&Ht(e,"no-top-nav",E[24]),(!h||U[0]&4194304)&&Ht(e,"no-animation",E[22])},i(E){if(!h){R(p);for(let U=0;U<b.length;U+=1)R(m[U]);R(C),R(y),R(P),R(c),h=!0}},o(E){B(p),m=m.filter(o3);for(let U=0;U<m.length;U+=1)B(m[U]);B(C),B(y),B(P),B(c),h=!1},d(E){E&&I(e),p&&p.d(),ft(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Qe(_)}}}function _3(n,e,t){const i=Wt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,_,p,b,m,v,C,y,P,A,T,V,E,U,F,D,Z,j,Q,de,te=!0,G=!1,Y,X,_e,ie=[],oe={isDirty:!1,persistUrl:null},ve,re,Ee=!1,We,W,se={},Ie,nt,Fe,pe=ae.getConfigBooleanValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ge}=e,{inputElem:rt}=e,{luigiCustomSearchRenderer__slot:Gt}=e,{displaySearchResult:vt}=e,{searchResult:Dt}=e,{storedUserSettings:Ei}=e;const Kt=async H=>{const ce=H.iframe.luigi,De=ce.currentNode&&ce.currentNode.userSettingsGroup,qe=await ae.readUserSettings(),Ue=De&&typeof qe=="object"&&qe!==null,ge=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ie.length,clientPermissions:ce.nextViewUrl?ce.nextClientPermissions:ce.clientPermissions,userSettings:Ue?qe[De]:null,anchor:ol.getAnchor(),cssVariables:await Ro.getCSSVariables()});return Ae.specialIframeTypes.map(Ne=>Ne.iframeConfigKey).forEach(Ne=>{ge[Ne]=H[Ne]||!1}),ge},jt=async(H,ce={})=>{if(!H.iframe){console.debug("iframe does not exist, not able to send context.");return}const De={msg:"luigi.init",context:JSON.stringify(Object.assign({},H.context||T,ce)),nodeParams:JSON.stringify(Object.assign({},H.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},H.pathParams||E)),searchParams:JSON.stringify(Object.assign({},we.prepareSearchParamsForClient(H.iframe.luigi.currentNode))),internal:JSON.stringify(await Kt(H)),authData:ul.getStoredAuthData()};H.iframe.luigi._lastUpdatedMessage=De,Ae.sendMessageToIframe(H.iframe,De)},gl=H=>{const ce={msg:"luigi.auth.tokenIssued",authData:H};Ae.broadcastMessageToAllIframes(ce)},It=(H,ce)=>{if(H.params.preserveView||H.params.viewgroup){const De=ki(H.params),qe=it.getNodePath(F,U);ie.push({path:ce.iframe.luigi&&ce.iframe.luigi.pathParams?le.replaceVars(qe,ce.iframe.luigi.pathParams,":",!1):qe,nextPath:De.startsWith("/")?De:"/"+De,context:T}),ce.iframe.pv="pv"}},Zt=(H,ce,De,qe)=>{let Ue=ki(H.params,De,qe);const{preventHistoryEntry:ge,preserveQueryParams:Ne,preventContextUpdate:mt}=H.params,Ot={keepBrowserHistory:!ge,navSync:te,preventContextUpdate:mt};return Ue=le.addLeadingSlash(Ue),Ue=Ne?we.composeSearchParamsToRoute(Ue):Ue,It(H,ce),it.navigateTo(Ue,Ot)},Ri=H=>H.split("?")[0],xi=(H,ce)=>{if(H.length===0)return!1;const De=ce.startsWith("/")?ce:`/${ce}`,qe=[...H].pop();return[Ri(qe.path),Ri(qe.nextPath)].includes(Ri(De))},Hn=H=>{oe&&oe.dirtySet&&(H?oe.dirtySet.delete(H):oe.dirtySet.clear())},ni=H=>new Promise((ce,De)=>{Hl(H)?In().then(()=>{Hn(),ce()},()=>{De()}):ce()}),pi=()=>({get:()=>({unsavedChanges:oe,hideNav:Si,viewUrl:D,nodeParams:V,viewGroup:Z,urlParamsRaw:U,currentNode:F,navigationPath:X,context:T,pathParams:E,hideSideNav:Vi,isolateView:j,pageErrorHandler:Q,previousNodeValues:de,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:re,isNavigateBack:G,goBackContext:Y,isNavigationSyncEnabled:te}),set:H=>{H&&(t(22,bl=!1),Object.getOwnPropertyNames(H).forEach(ce=>{ce==="hideNav"?t(20,Si=H.hideNav):ce==="viewUrl"?D=H.viewUrl:ce==="nodeParams"?V=H.nodeParams:ce==="viewGroup"?Z=H.viewGroup:ce==="urlParamsRaw"?U=H.urlParamsRaw:ce==="currentNode"?F=H.currentNode:ce==="navigationPath"?t(14,X=H.navigationPath):ce==="context"?T=H.context:ce==="pathParams"?t(13,E=H.pathParams):ce==="hideSideNav"?(Vi!=H.hideSideNav&&(t(22,bl=!0),setTimeout(()=>{const De=document.querySelector("#app");De&&De.classList.remove("no-animation")})),t(21,Vi=H.hideSideNav)):ce==="isolateView"?j=H.isolateView:ce==="pageErrorHandler"?Q=H.pageErrorHandler:ce==="previousNodeValues"?de=H.previousNodeValues:ce==="mfSplitView"?t(11,o=H.mfSplitView):ce==="splitViewValues"?c=H.splitViewValues:ce==="splitViewIframe"?C=H.splitViewIframe:ce=="splitViewWC"?P=H.splitViewWC:ce==="showLoadingIndicator"?H.showLoadingIndicator===!0?Fe=setTimeout(()=>{t(10,a=!0)},250):(t(10,a=!1),clearTimeout(Fe)):ce==="tabNav"?t(15,re=H.tabNav):ce==="isNavigateBack"?G=H.isNavigateBack:ce==="goBackContext"?Y=H.goBackContext:ce==="isNavigationSyncEnabled"&&(te=H.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Hl,getUnsavedChangesModalPromise:ni,showUnsavedChangesModal:In,showAlert:vl,prepareInternalData:Kt,dispatch:i}),qi=(H,ce)=>{ui.doOnStoreChange(l,()=>{const De=document.querySelector(".wcContainer");De&&(De.configChangedRequest=!0),Wi.deleteCache();const qe=it.getCurrentPath();it.handleRouteChange(qe,pi(),H,ce)},["navigation.nodes"]),we.addRouteChangeListener((De,qe)=>{const{withoutSync:Ue,preventContextUpdate:ge}=qe||{};xi(ie,De)||(ie=[],an.removeInactiveIframes(H));for(let mt=J.length;mt--;)jn(mt);Yr.removeBackdrop(),on(),it.handleRouteChange(De,pi(),H,ce,Ue,ge)})},zt=(H,ce)=>le.replaceVars(it.getNodePath(H),ce,":",!1),ki=(H,ce,De)=>{const qe=ce||F,Ue=De||E;let ge=X;if(ce){let mt=ce.parent;for(ge=[ce];mt;)ge.push(mt),mt=mt.parent;ge=[...ge].reverse()}let Ne=H.link;if(H.fromVirtualTreeRoot){const mt=[...ge].reverse().find(Ot=>Ot.virtualTree);if(!mt){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ne=it.concatenatePath(zt(mt,Ue),H.link)}else if(H.fromParent)Ne=it.concatenatePath(zt(qe.parent,Ue),H.link);else if(H.fromClosestContext){const mt=[...ge].reverse().find(Ot=>Ot.navigationContext&&Ot.navigationContext.length>0);Ne=it.concatenatePath(zt(mt,Ue),H.link)}else if(H.fromContext){const mt=H.fromContext,Ot=[...ge].reverse().find(Sr=>mt===Sr.navigationContext);Ne=it.concatenatePath(zt(Ot,Ue),H.link)}else H.intent?Ne=we.getIntentPath(H.link):H.relative&&(Ne=it.concatenatePath(zt(qe,Ue),H.link));return H.nodeParams&&Object.keys(H.nodeParams).length>0&&(Ne+=Ne.includes("?")?"&":"?",Object.entries(H.nodeParams).forEach((mt,Ot)=>{Ne+=encodeURIComponent(we.getContentViewParamPrefix()+mt[0])+"="+encodeURIComponent(mt[1])+(Ot<Object.keys(H.nodeParams).length-1?"&":"")})),Ne},vn=H=>{const ce=H.detail.node;ni().then(()=>{if(Ul(),ce.openNodeInModal){const De=we.buildRoute(ce,`/${ce.pathSegment}`);ci(De,ce.openNodeInModal===!0?{}:ce.openNodeInModal)}else if(ce.drawer){const De=we.buildRoute(ce,`/${ce.pathSegment}`);ce.drawer.isDrawer=!0,Qr(De,ce.drawer)}else pi().set({isNavigationSyncEnabled:!0}),it.handleRouteClick(ce,pi())},()=>{})},wn=()=>{t(16,Ee=!Ee)};Br("handleNavigation",Zt);const fi=H=>H?!0:(console.warn("No search provider defined."),!1),kn=()=>{fi(W)&&t(0,Ge=!1)},Sn=()=>{fi(W)&&rt&&(t(0,Ge=!0),rt.focus())},Cn=()=>{fi(W)&&rt&&(t(1,rt.value="",rt),Nn())},yn=()=>{t(0,Ge=!Ge),S2.clearSearchField()},Pn=()=>{if(fi(W)&&rt)return rt.value},hl=H=>{fi(W)&&rt&&(t(1,rt.value=H,rt),le.isFunction(W.onInput)?W.onInput():console.error("onInput is not a function. Please check the global search configuration."))},_l=H=>{fi(W)&&rt&&t(1,rt.placeholder=H,rt)},pl=H=>{if(fi(W))if(H&&H.length>0)if(le.isFunction(W.customSearchResultRenderer)){let ce={fireItemSelected:De=>{W.onSearchResultItemSelected(De)}};W.customSearchResultRenderer(H,Gt,ce)}else t(3,vt=!0),t(4,Dt=H);else console.warn("Search result array is empty.")},Nn=()=>{if(fi(W)&&(t(3,vt=!1),t(4,Dt=[]),Gt))for(;Gt.lastElementChild;)Gt.removeChild(Gt.lastElementChild)},Wn=H=>{let ce=H.detail.node,De={params:{link:ce.link,nodeParams:ce.params}};Zt(De)},zn=(H,ce)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ot.getDefaultData().mfSplitView),ot.open(pi(),H,ce)},on=()=>{ot.close(pi())},ml=()=>{ot.collapse(pi()),t(11,o.collapsed=!0,o)},$=()=>{ot.expand(pi()),t(11,o.collapsed=!1,o)},Pe=()=>o.displayed?o.collapsed:!1,et=()=>o.displayed?!o.collapsed:!1,dt=()=>o.displayed,St=H=>{C=H.detail.splitViewIframe,y=H.detail.splitViewIframeData,t(11,o.collapsed=H.detail.collapsed,o)},$t=H=>{H.detail.displayed!==void 0&&t(11,o.displayed=H.detail.displayed,o),H.detail.collapsed!==void 0&&t(11,o.collapsed=H.detail.collapsed,o)},Di=H=>{P=H.detail.splitViewWC,H.detail.splitViewWCData,t(11,o.collapsed=H.detail.collapsed,o)};let Si,Vi,bl,qn,Ml,Fl;const Ul=()=>{document.body.classList.remove("lui-leftNavToggle")},hr=()=>{Jn();const H=window.innerWidth>=ii.desktopMinWidth&&qn<ii.desktopMinWidth,ce=window.innerWidth<ii.desktopMinWidth&&qn>=ii.desktopMinWidth;(H||ce)&&Ul(),qn=window.innerWidth};let Ci=[];const Gn=(H,ce)=>{if(!(!H||!(H.length>0)))return H.filter(De=>De.settings.id===ce)[0]},vl=(H,ce=!1)=>{const De=ae.getConfigValue("settings.customAlertHandler");if(le.isFunction(De)){const Ue=De(H,ce);if(Ue!==!1)return Ue}const qe=Ci;return H.id||(H.id=le.getRandomId()),H.id&&qe&&Gn(qe,H.id)?(console.error(`The alert with id '${H.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(H.closeAfter&&setTimeout(()=>{Gn(Ci,H.id)&&Bl(H.id)},H.closeAfter),new Promise((Ue,ge)=>{t(25,Ci=[...qe||[],{displayed:!0,settings:H,openFromClient:ce,promise:{resolve:Ue}}])}))},Bl=(H,ce)=>{const De=Gn(Ci,H);if(!De){console.error("An unexisting alert has been dismissed.",Ci,H);return}if(t(25,Ci=Ci.filter(qe=>qe.settings.id!==H)),De.openFromClient){const qe=an.getActiveIframe(_e),Ue={msg:"luigi.ux.alert.hide",id:H,dismissKey:ce};Ae.sendMessageToIframe(qe,Ue)}else De.promise&&De.promise.resolve(ce||H)},_r=H=>{Bl(H.detail.id,H.detail.dismissKey)};let Kn;const wl=()=>{t(26,Kn={displayed:!1,content:{},openFromClient:!1,promise:null})};wl();const kl=(H,ce=!1,De)=>new Promise((qe,Ue)=>{t(26,Kn={displayed:!0,settings:H,openFromClient:ce,promise:{resolve:qe,reject:Ue},targetIframe:De})}),un=H=>{const{promise:ce,openFromClient:De,targetIframe:qe}=Kn;if(wl(),H?ce.resolve():ce.reject(),De&&qe){const Ue={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:H}};Ae.sendMessageToIframe(qe,Ue)}},Hl=H=>{if(oe.dirtySet){if(H)return oe.dirtySet.has(H);if(oe.dirtySet.size>0)return!0}return!1},In=()=>kl({header:bt.getTranslation("luigi.unsavedChangesAlert.header"),body:bt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:bt.getTranslation("luigi.button.dismiss"),buttonConfirm:bt.getTranslation("luigi.button.confirm")}),pr=()=>oe.dirtySet?oe.dirtySet.size>0:oe.isDirty;Br("getUnsavedChangesModalPromise",ni);let J=[];const Tt=H=>{if(typeof H>"u"){t(27,J=[]);return}t(27,J=J.filter((ce,De)=>H!==De))};Tt();const ci=async(H,ce)=>{if(await ue.shouldPreventNavigationForPath(H))return;const De={mfModal:{displayed:!0,nodepath:H,settings:ce}};t(27,J=[...J,De]),ae.getConfigBooleanValue("routing.showModalPathInUrl")&&J.length===1&&it.appendModalDataToUrl(H,ce)},en=(H,ce)=>{t(27,J[ce].modalIframe=H.detail.modalIframe,J),t(27,J[ce].modalIframeData=H.detail.modalIframeData,J)},mr=(H,ce)=>{t(27,J[ce].modalWC=H.detail.modalWC,J),t(27,J[ce].modalWCData=H.detail.modalWCData,J)},jn=(H,ce,De)=>{const qe=(Ne,mt)=>{ae.getConfigBooleanValue("routing.showModalPathInUrl")&&J.length===1&&it.removeModalDataFromUrl(mt),Tt(Ne)},Ue=J[H],ge=le.getRemotePromise(Ue.mfModal.settings.onClosePromiseId);Ue&&Ue.modalIframe?ni(Ue.modalIframe.contentWindow).then(()=>{qe(H,ce),ge&&ge.doResolve(De)},()=>{}):Ue&&Ue.modalWC&&(qe(H,ce),ge&&ge.doResolve(De))};Br("openViewInModal",ci);let Xt={};const Wl=()=>{t(28,Xt.displayed=!1,Xt),t(28,Xt.nodepath=void 0,Xt),t(28,Xt.settings={},Xt),t(12,_=!1)};Wl();const Qr=async(H,ce)=>{await ue.shouldPreventNavigationForPath(H)||(t(28,Xt.displayed=!0,Xt),t(28,Xt.nodepath=H,Xt),t(28,Xt.settings=ce,Xt),Xt.settings&&Xt.settings.backdrop&&t(12,_=!0))},Zr=()=>window.innerWidth>=ii.desktopMinWidth&&Xt.displayed&&Xt.settings&&!Xt.settings.overlap,Jn=(H=!1)=>{if(!Zr())return;const ce=document.querySelector(".iframeModalCtn._drawer");if(!ce)return;const De=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(H)De.forEach(qe=>{qe==null||qe.style.removeProperty("width")});else{const{width:qe}=getComputedStyle(ce);De.forEach(Ue=>{Xr(Ue,qe)})}},Xr=(H,ce)=>{H&&!H.style.getPropertyValue("width").includes("calc(")&&H.style.setProperty("width",`calc(${H.clientWidth}px - ${ce})`)},br=H=>{p=H.detail.modalIframe,b=H.detail.modalIframeData,Jn()},cs=H=>{m=H.detail.modalWC,H.detail.modalWCData,Jn()},$r=H=>{d=H.detail.activeDrawer},Yn=H=>{if(H&&H.detail&&H.detail.activeDrawer!==void 0&&(d=H.detail.activeDrawer),!d||H&&H.detail&&H.detail.type!=="modal")try{p?ni(p.contentWindow).then(()=>{Wl()},()=>{}):m&&ni().then(()=>{Wl()},()=>{}),Jn(!0)}catch(ce){console.log(ce)}},xr=()=>{const H=sr.processUserSettingGroups();Array.isArray(H)&&H.length>0?(t(17,se.userSettingGroups=[...H],se),t(17,se.displayed=!0,se)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},ds=()=>{t(17,se.displayed=!1,se)},ea=async H=>{if(await ue.shouldPreventNavigationForPath(H))return;ae.getConfigValue("routing.useHashRouting")&&(H="#"+H),window.open(H,"_blank","noopener,noreferrer")},ta=H=>{let ce=X;if(F){let Ue=F.parent;for(ce=[F];Ue;)ce.push(Ue),Ue=Ue.parent;ce=[...ce].reverse()}let De=H.link,qe=zt(F,E);if(H.fromVirtualTreeRoot){const Ue=[...ce].reverse().find(Ne=>Ne.virtualTree);if(!Ue){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const ge=zt(Ue,E);De=qe.split(ge).join("")}else if(H.fromParent){const Ue=zt(F.parent,E);De=qe.split(Ue).join("")}else if(H.fromClosestContext){const Ue=[...ce].reverse().find(Ne=>Ne.navigationContext&&Ne.navigationContext.length>0),ge=zt(Ue,E);De=qe.split(ge).join("")}else if(H.fromContext){const Ue=H.fromContext,ge=[...ce].reverse().find(mt=>Ue===mt.navigationContext),Ne=zt(ge,E);De=qe.split(Ne).join("")}else De=qe;return De};function vr(H){sessionStorage.removeItem("historyState"),ar.shouldPreload=!0,ar.preload(!0),ar.shouldPreload=!1;const ce=ae.getConfigValue("navigation.defaults.isolateView"),De=ae.getConfigValue("navigation.defaults.pageErrorHandler"),qe=ae.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ue={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ce,defaultPageErrorHandler:De};bt.addCurrentLocaleChangeListener(ge=>{const Ne={msg:"luigi.current-locale-changed",currentLocale:ge};Ae.broadcastMessageToAllIframes(Ne)}),Ai.addEventListener("popstate",async ge=>{const Ne=Ci;if(!Ne||!(Ne.length>0))return;const mt=Ne.map(Ot=>{if(Ot&&!Ot.openFromClient&&typeof Ot.settings.ttl=="number"){if(Ot.settings.ttl===0)return null;Ot.settings.ttl--}return Ot}).filter(Ot=>Ot);t(25,Ci=mt)}),Ai.addEventListener("message",async ge=>{const Ne=Ae.getValidMessageSource(ge),mt=J[J.length-1],Ot=mt&&mt.modalIframe,Sr=mt&&mt.modalIframeData,Zn={modalIframe:Ot,modalIframeData:Sr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:A};if(!Ne)return;Ne._ready=!0;const Cr=Ae.getSpecialIframeMessageSource(ge,Zn),Xn=Cr&&Cr.length>0,ql=ae.getConfigValue("communication.skipEventsWhenInactive");if(ql&&ql.length>0&&!Xn&&Ne.contentWindow!==window&&!le.isElementVisible(Ne)&&ql.includes(ge.data.msg)){console.debug(`EVENT '${ge.data.msg}' from inactive iframe -> SKIPPED`);return}if(ge.data.msg==="custom"){const Ke=ae.getConfigValue("communication.customMessagesListeners")||{},$e=rs.convertCustomMessageInternalToUser(ge.data),yt=Ke[$e.id],Mt="luigi.updateUserSettings";if(se&&$e.id===Mt){yt&&console.warn(`The key "${Mt}" is not allowed to use for custom messages.`);return}if(typeof yt=="function"){const yi=Un.getMicrofrontends().find(Oi=>Ae.isMessageSource(ge,Oi.container));yt($e,yi,le.removeInternalProperties(Ne.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${$e.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(ge.data.msg==="luigi.init.ok"&&(Ne.luigi.initOk=!0),ge.data.msg==="luigi.navigate.ok"&&(Ne.luigi.viewUrl=Ne.luigi.nextViewUrl,Ne.luigi.nextViewUrl="",Ne.luigi.clientPermissions=Ne.luigi.nextClientPermissions,delete Ne.luigi.nextClientPermissions,Ue.navigateOk=!0,ar.preload()),ge.data.msg==="luigi.get-context"){if(Ne.luigi.clientVersion=ge.data.clientVersion,Ne.luigi.initOk=!1,Xn)Cr.forEach(async Ke=>{let $e=Zn[Ke.dataKey].context;const yt={...Ue,iframe:Zn[Ke.iframeKey],context:$e,pathParams:Zn[Ke.dataKey].pathParams,nodeParams:Zn[Ke.dataKey].nodeParams,searchParams:we.prepareSearchParamsForClient(Zn[Ke.iframeKey].luigi.currentNode),modal:Ke.iframeKey.startsWith("modal"),drawer:Ke.iframeKey.startsWith("drawer"),splitView:Ke.iframeKey.startsWith("splitView")};await jt(yt,{})});else if(Ue.iframe&&Ae.isMessageSource(ge,Ue.iframe))await jt(Ue,{}),(!F||!F.loadingIndicator||F.loadingIndicator.hideAutomatically!==!1)&&na(),ar.preload();else if(Ne.luigi.preloading)await jt({iframe:Ne,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Ke=sr.findActiveCustomUserSettingsIframe(ge.source);if(Ke){let $e=Ke.getAttribute("userSettingsGroup"),yt={context:{userSettingsData:Ei[$e]},iframe:Ke};await jt(yt)}}ar.viewGroupLoaded(Ne)}if(ge.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),ge.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(Fe),t(10,a=!1)),ge.data.msg==="luigi.navigation.open"){G=!1;const Ke=window.location.href,$e=Xn?Ne.luigi.currentNode:void 0,yt=Xn?Ne.luigi.pathParams:void 0,Mt=ge.data.params,{intent:yi,newTab:Oi,modal:li,splitView:Gl,drawer:Sl,withoutSync:ks}=Mt;let Kl=Oi||li||Gl||Sl;const ca=()=>{const Ut=le.getRemotePromise(ge.data.remotePromiseId);Ut&&Ut.doResolve()},Cl=()=>{const Ut=le.getRemotePromise(ge.data.remotePromiseId);Ut&&Ut.doReject()},xt=Ut=>{!Ut||Ke!==window.location.href?ca():Cl()};ge.source!==window&&!yi&&Mt.link&&(Mt.link=Mt.link.split("?")[0]);let di=ki(ge.data.params,$e,yt);if(Kl=Kl||yi&&di.external,!Kl)ni().then(()=>{te=!ge.data.params.withoutSync,Zt(ge.data,Ue,$e,yt).then(()=>{xt(!0)}).catch(()=>{Cl()}),J.forEach((Ut,Ss)=>{jn(Ss)}),on(),Yn(),te=!0}).catch(()=>{Cl()});else{if(yi&&di.external){it.navigateToExternalLink({url:di.url,sameWindow:!di.openInNewTab});return}if(di=le.addLeadingSlash(di),Oi){await ea(di),xt();return}const Ut=await zl(di);if(di=await we.handlePageNotFoundAndRetrieveRedirectPath(pi(),di,Ut),!di){Cl();return}_e=H,li!==void 0?(!li.keepPrevious&&Tt(),await ci(di,li===!0?{}:li),xt()):Gl!==void 0?(await zn(di,Gl),xt()):Sl!==void 0&&(Wl(),Sl.isDrawer=!0,await Qr(di,Sl),xt())}}if(ge.data.msg==="luigi.navigation.back"){const Ke=J[J.length-1],$e=J.length>1&&J[J.length-2],yt=ge.data.goBackContext&&JSON.parse(ge.data.goBackContext);if(Ae.isMessageSource(ge,Ke&&Ke.modalIframe)){jn(J.length-1,!0,yt);let Mt=Ue;if($e&&$e.modalIframeData&&$e.modalIframe){const yi=$e,Oi=yi.modalIframeData;Mt={pathParams:Oi.pathParams,context:Oi.context,iframe:yi.modalIframe}}Mt.iframe&&await jt(Mt,{goBackContext:yt})}else Ae.isMessageSource(ge,C)?(on(),Ue.iframe&&await jt(Ue,{goBackContext:yt})):Ae.isMessageSource(ge,p)?(d&&(d=!d),Yn(),Ue.iframe&&await jt(Ue,{goBackContext:yt})):ie&&ie.length>0?ni().then(()=>{an.setActiveIframeToPrevious(H);const Mt=ie.pop();Ue.iframe=an.getActiveIframe(H),G=!0,ie=ie,Y=yt,Zt({params:{link:Mt.path}},Ue)},()=>{}):(yt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(ge.data.msg==="luigi.navigation.currentRoute"){const Ke=ge.data.data,yt={msg:"luigi.navigation.currentRoute.answer",data:{route:ta(Ke),correlationId:Ke.id}};Ae.sendMessageToIframe(Ne,yt)}if(ge.data.msg==="luigi.auth.tokenIssued"&&gl(ge.data.authData),ge.data.msg==="luigi.navigation.updateModalDataPath"){if(!ae.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Xn){const Ke=le.addLeadingSlash(ki(ge.data.params,Ne.luigi.currentNode,Ne.luigi.pathParams));it.updateModalDataInUrl(Ke,ge.data.params.modal,ge.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(ge.data.msg==="luigi.navigation.pathExists"){const Ke=Ne.luigi.currentNode,$e=Ne.luigi.pathParams,yt=ge.data.data,Mt=ki(yt,Ke,$e),yi=Mt?await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),Mt):!1,Oi={msg:"luigi.navigation.pathExists.answer",data:{correlationId:yt.id,pathExists:yi?yi.isExistingRoute:!1}};Ae.sendMessageToIframe(Ne,Oi)}if(ge.data.msg==="luigi.set-page-dirty"){if(!oe.dirtySet){const Ke=new Set;Ke.add(ge.source),oe={dirtySet:Ke}}oe.persistUrl=window.location.href,ge.data.dirty?oe.dirtySet.add(ge.source):oe.dirtySet.delete(ge.source)}if(ge.data.msg==="luigi.ux.confirmationModal.show"){const Ke=ge.data.data.settings;_e=H,wl(),kl(Ke,!0,Ne).catch(()=>{})}if(ge.data.msg==="luigi.ux.alert.show"){const{settings:Ke}=ge.data.data;if(!Ke.text&&!le.isFunction(ae.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}_e=H,vl(Ke,!0).catch(()=>{})}if(ge.data.msg==="luigi.ux.set-current-locale")if(Ne.luigi.clientPermissions&&Ne.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Ke}=ge.data.data;Ke&&bt.setCurrentLocale(Ke)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(We&&!We.thirdPartyCookieScriptLocation&&ge.data.msg==="luigi.third-party-cookie"&&ge.data.tpc==="disabled"&&ia(),ge.data.msg==="storage"&&Q2.process(Ne.luigi.id,ge.origin,ge.data.data.id,ge.data.data.operation,ge.data.data.params),ge.data.msg==="luigi-runtime-error-handling"){let Ke=Ne.luigi.currentNode;Ke&&Ke.runTimeErrorHandler&&le.isFunction(Ke.runTimeErrorHandler.errorFn)?Ke.runTimeErrorHandler.errorFn(ge.data.errorObj,Ke):qe&&le.isFunction(qe.errorFn)&&qe.errorFn(ge.data.errorObj,Ke)}if(ge.data.msg==="luigi.addSearchParams")if(Ne.luigi.currentNode.clientPermissions&&Ne.luigi.currentNode.clientPermissions.urlParameters){const{data:Ke,keepBrowserHistory:$e}=ge.data;we.addSearchParamsFromClient(Ne.luigi.currentNode,Ke,$e)}else console.warn("No client permissions to add url parameter for this node.");if(ge.data.msg==="luigi.addNodeParams"){if(Xn)return;const{data:Ke,keepBrowserHistory:$e}=ge.data;ol.addNodeParams(Ke,$e)}if(ge.data.msg==="luigi.setAnchor"){const{anchor:Ke}=ge.data;ol.setAnchor(Ke)}if(ge.data.msg==="luigi.setVGData"){const Ke=ge.data,$e=ue.findViewGroup(Ne.luigi.currentNode);if($e){const yt=ue.getViewGroupSettings($e);yt._liveCustomData=Ke.data,ae.configChanged("navigation.viewgroupdata")}}}),qi(H,Ue)}Br("store",l),Br("getTranslation",r);const ia=H=>{We&&We.thirdPartyCookieErrorHandling&&le.isFunction(We.thirdPartyCookieErrorHandling)&&We.thirdPartyCookieErrorHandling()};function na(){const H=document.querySelector(".spinnerContainer.appSpinner");H&&H.classList.contains("fade-out")?(H.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(Fe),t(10,a=!1)},250)):clearTimeout(Fe)}const zl=async H=>{const ce={link:H,relative:H[0]!=="/",intent:we.hasIntent(H)},De=ki(ce),qe=De?await Rt.getNavigationPath(ae.getConfigValueAsync("navigation.nodes"),De):!1;return qe?qe.isExistingRoute:!1},wr=()=>J.length>0||ie.length!==0;Qt(()=>{if(Ro._init(),W=ae.getConfigValue("globalSearch.searchProvider"),ve=ae.getConfigValue("settings.responsiveNavigation"),qn=window.innerWidth,ve==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),ue.getBurgerTooltipConfig()){const[H,ce]=ue.getBurgerTooltipConfig();H&&ce&&t(18,Ie=document.body.classList.contains("lui-leftNavToggle")?H:ce)}}else if(ve==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(ue.getBurgerTooltipConfig()){const[H,ce]=ue.getBurgerTooltipConfig();if(H&&ce){const De=JSON.parse(localStorage.getItem(ue.COL_NAV_KEY));t(18,Ie=De?H:ce)}}document.body.classList.add("lui-semiCollapsible")}We=ae.getConfigValue("settings.thirdPartyCookieCheck"),We&&We.thirdPartyCookieScriptLocation&&setTimeout(()=>{let H=document.createElement("iframe");H.width="0px",H.height="0px",H.src=We.thirdPartyCookieScriptLocation,document.body.appendChild(H),H.onload=function(){setTimeout(()=>{s3()==="disabled"&&ia()}),document.body.removeChild(H)}})}),jr(()=>{Jn()}),zi(()=>{t(19,nt=ae.getConfigValue("navigation.breadcrumbs")),W=ae.getConfigValue("globalSearch.searchProvider"),t(23,Ml=ae.getConfigValue("tag")),t(24,Fl=ae.getConfigValue("settings.header.disabled"))});const Qn=H=>{H.keyCode===_n&&J&&J.length>0&&jn(J.length-1)},la=H=>jn(H,!0),ra=(H,ce)=>en(ce,H),gs=(H,ce)=>mr(ce,H),aa=()=>un(!0),sa=()=>un(!1);function oa(H){Ei=H,t(5,Ei)}function ua(H){Ge=H,t(0,Ge)}function hs(H){vt=H,t(3,vt)}function _s(H){Dt=H,t(4,Dt)}function ps(H){rt=H,t(1,rt)}function fa(H){Gt=H,t(2,Gt)}function ms(H){Ge=H,t(0,Ge)}function bs(H){vt=H,t(3,vt)}function vs(H){Dt=H,t(4,Dt)}function ws(H){rt=H,t(1,rt)}function kr(H){Gt=H,t(2,Gt)}return n.$$set=H=>{"store"in H&&t(47,l=H.store),"getTranslation"in H&&t(48,r=H.getTranslation),"isSearchFieldVisible"in H&&t(0,Ge=H.isSearchFieldVisible),"inputElem"in H&&t(1,rt=H.inputElem),"luigiCustomSearchRenderer__slot"in H&&t(2,Gt=H.luigiCustomSearchRenderer__slot),"displaySearchResult"in H&&t(3,vt=H.displaySearchResult),"searchResult"in H&&t(4,Dt=H.searchResult),"storedUserSettings"in H&&t(5,Ei=H.storedUserSettings)},[Ge,rt,Gt,vt,Dt,Ei,yn,Nn,Wn,ds,a,o,_,E,X,re,Ee,se,Ie,nt,Si,Vi,bl,Ml,Fl,Ci,Kn,J,Xt,pe,vn,wn,St,$t,Di,hr,_r,un,en,mr,jn,br,cs,$r,Yn,vr,Qn,l,r,kn,Sn,Cn,Pn,hl,_l,pl,zn,on,ml,$,Pe,et,dt,vl,kl,pr,xr,zl,wr,la,ra,gs,aa,sa,oa,ua,hs,_s,ps,fa,ms,bs,vs,ws,kr]}class p3 extends Et{constructor(e){super(),At(this,e,_3,h3,Nt,{store:47,getTranslation:48,isSearchFieldVisible:0,inputElem:1,luigiCustomSearchRenderer__slot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:49,openSearchField:50,clearSearchField:51,toggleSearch:6,getGlobalSearchString:52,setGlobalSearchString:53,setSearchInputPlaceholder:54,showSearchResult:55,closeSearchResult:7,handleSearchNavigation:8,openSplitView:56,closeSplitView:57,collapseSplitView:58,expandSplitView:59,isSplitViewCollapsed:60,isSplitViewExpanded:61,existsSplitView:62,showAlert:63,showModal:64,getDirtyStatus:65,openUserSettings:66,closeUserSettings:9,pathExists:67,hasBack:68},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[49]}get openSearchField(){return this.$$.ctx[50]}get clearSearchField(){return this.$$.ctx[51]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[52]}get setGlobalSearchString(){return this.$$.ctx[53]}get setSearchInputPlaceholder(){return this.$$.ctx[54]}get showSearchResult(){return this.$$.ctx[55]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[56]}get closeSplitView(){return this.$$.ctx[57]}get collapseSplitView(){return this.$$.ctx[58]}get expandSplitView(){return this.$$.ctx[59]}get isSplitViewCollapsed(){return this.$$.ctx[60]}get isSplitViewExpanded(){return this.$$.ctx[61]}get existsSplitView(){return this.$$.ctx[62]}get showAlert(){return this.$$.ctx[63]}get showModal(){return this.$$.ctx[64]}get getDirtyStatus(){return this.$$.ctx[65]}get openUserSettings(){return this.$$.ctx[66]}get closeUserSettings(){return this.$$.ctx[9]}get pathExists(){return this.$$.ctx[67]}get hasBack(){return this.$$.ctx[68]}}const m3=()=>{const{subscribe:n,update:e,reset:t}=fr({}),i={};return{subscribe:n,update:e,reset:t,subscribeToScope:(l,r)=>{let a=i[r];a||(a=new Set,i[r]=a),a.add(l)},fire:(l,r)=>{let a=i[l];a&&[...a].forEach(o=>{o(r)})}}},cp=m3(),b3=_2((n,e,t)=>bt.getTranslation(n,e,t));Luigi._store=cp;const v3=()=>new Promise(n=>{bt._init(),si.init().then(()=>{setTimeout(()=>{let e;Un.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new p3({target:Un.getLuigiContainer(),props:{store:cp,getTranslation:b3}}),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(),n()})})});ae.setConfigCallbacks(v3);
|
|
64
64
|
//# sourceMappingURL=luigi.js.map
|