@luigi-project/core 2.16.1-dev.20241020823 → 2.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/luigi.js CHANGED
@@ -56,9 +56,9 @@ function print() { __p += __j.call(arguments, '') }
56
56
  <div class="fd-busy-indicator__circle"></div>
57
57
  <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","lui-contextswitcher-indicator")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function zh(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=Gh(Fh(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ke()},m(l,r){for(let a=0;a<n.length;a+=1)n[a].m(l,r);A(l,e,r)},p(l,r){if(r&4542){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=Fh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Gh(o),n[a].c(),n[a].m(e.parentNode,e))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){ft(n,l),l&&L(e)}}}function kC(i){return{c:We,m:We,p:We,d:We}}function SC(i){let e,t,n,l,r;function a(d,g){return d[2]?yC:CC}let o=a(i),c=o(i);function h(){return i[16](i[20])}return{c(){e=S("li"),c.c(),n=W(),f(e,"class","fd-menu__item"),f(e,"data-testid",t=re.getTestId(i[20]))},m(d,g){A(d,e,g),c.m(e,null),A(d,n,g),l||(r=ee(e,"click",h),l=!0)},p(d,g){i=d,o===(o=a(i))&&c?c.p(i,g):(c.d(1),c=o(i),c&&(c.c(),c.m(e,null))),g&8&&t!==(t=re.getTestId(i[20]))&&f(e,"data-testid",t)},d(d){d&&L(e),c.d(),d&&L(n),l=!1,r()}}}function CC(i){let e,t,n=i[25]+"",l,r,a,o,c,h;return{c(){e=S("a"),t=S("span"),l=Ne(n),f(t,"class","fd-menu__title"),f(e,"href",r=i[8](i[20])),f(e,"class",a="fd-menu__link "+(i[25]===i[4]?"is-selected":"")),f(e,"title",o=i[25])},m(d,g){A(d,e,g),w(e,t),w(t,l),c||(h=ee(e,"click",i[15]),c=!0)},p(d,g){g&138&&n!==(n=d[25]+"")&&Le(l,n),g&264&&r!==(r=d[8](d[20]))&&f(e,"href",r),g&154&&a!==(a="fd-menu__link "+(d[25]===d[4]?"is-selected":""))&&f(e,"class",a),g&138&&o!==(o=d[25])&&f(e,"title",o)},d(d){d&&L(e),c=!1,h()}}}function yC(i){let e,t=i[2](i[20],i[25]===i[4])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&158&&t!==(t=l[2](l[20],l[25]===l[4])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function PC(i){return{c:We,m:We,p:We,d:We}}function Gh(i){let e,t,n={ctx:i,current:null,token:null,hasCatch:!1,pending:PC,then:SC,catch:kC,value:25};return ls(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id),n),{c(){e=ke(),n.block.c()},m(l,r){A(l,e,r),n.block.m(l,n.anchor=r),n.mount=()=>e.parentNode,n.anchor=e},p(l,r){i=l,n.ctx=i,r&138&&t!==(t=i[7](i[20].label,i[1].fallbackLabelResolver,i[20].id))&&ls(t,n)||J_(n,i,r)},d(l){l&&L(e),n.block.d(l),n.token=null,n=null}}}function Kh(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=Jh(Mh(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--bottom svelte-3pems2")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&10497){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=Mh(l,t,a);n[a]?n[a].p(o,r):(n[a]=Jh(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function jh(i){let e,t,n,l=i[13](i[20].label)+"",r,a,o,c,h,d;function g(){return i[18](i[20])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),o=W(),f(n,"class","fd-menu__title"),f(t,"href",a=i[8](i[20])),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item"),f(e,"data-testid",c=re.getTestId(i[20]))},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,o),h||(d=[ee(t,"click",i[17]),ee(e,"click",g)],h=!0)},p(p,b){i=p,b&8193&&l!==(l=i[13](i[20].label)+"")&&Le(r,l),b&257&&a!==(a=i[8](i[20]))&&f(t,"href",a),b&1&&c!==(c=re.getTestId(i[20]))&&f(e,"data-testid",c)},d(p){p&&L(e),h=!1,Je(d)}}}function Jh(i){let e,t=i[20].position==="bottom"&&jh(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[20].position==="bottom"?t?t.p(n,l):(t=jh(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function IC(i){let e,t,n,l,r,a,o=i[0]&&i[0].length&&Bh(i),c=i[3]&&i[3].length===0&&i[10]&&qh(),h=i[3]&&i[3].length&&zh(i),d=i[0]&&i[0].length&&Kh(i);return{c(){e=S("nav"),o&&o.c(),t=W(),n=S("ul"),c&&c.c(),l=W(),h&&h.c(),r=W(),d&&d.c(),f(n,"class","fd-menu__list"),f(n,"id","context_menu_middle"),f(e,"class",a="fd-menu lui-ctx-switch-nav "+(i[6]?"fd-menu--mobile":"")+" svelte-3pems2")},m(g,p){A(g,e,p),o&&o.m(e,null),w(e,t),w(e,n),c&&c.m(n,null),w(n,l),h&&h.m(n,null),w(e,r),d&&d.m(e,null)},p(g,[p]){g[0]&&g[0].length?o?o.p(g,p):(o=Bh(g),o.c(),o.m(e,t)):o&&(o.d(1),o=null),g[3]&&g[3].length===0&&g[10]?c||(c=qh(),c.c(),c.m(n,l)):c&&(c.d(1),c=null),g[3]&&g[3].length?h?h.p(g,p):(h=zh(g),h.c(),h.m(n,null)):h&&(h.d(1),h=null),g[0]&&g[0].length?d?d.p(g,p):(d=Kh(g),d.c(),d.m(e,null)):d&&(d.d(1),d=null),p&64&&a!==(a="fd-menu lui-ctx-switch-nav "+(g[6]?"fd-menu--mobile":"")+" svelte-3pems2")&&f(e,"class",a)},i:We,o:We,d(g){g&&L(e),o&&o.d(),c&&c.d(),h&&h.d(),d&&d.d()}}}const NC=()=>{};function TC(i,e,t){let n,l=We,r=()=>(l(),l=qo(v,O=>t(13,n=O)),v);i.$$.on_destroy.push(()=>l());let{actions:a=[]}=e,{config:o={}}=e,{customOptionsRenderer:c}=e,{options:h=[]}=e,{selectedLabel:d}=e,{selectedOption:g}=e,{isMobile:p}=e,{getNodeName:b}=e,{getRouteLink:m}=e,{getTranslation:v}=e;r();let{isContextSwitcherDropdownShown:C}=e;const y=Jt();function P(O){y("onActionClick",{node:O})}function I(O,z){y("goToOption",{option:O,selectedOption:z})}const T=O=>P(O),V=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},E=O=>I(O,g),H=O=>{re.handleNavAnchorClickedWithoutMetaKey(O)},D=O=>P(O);return i.$$set=O=>{"actions"in O&&t(0,a=O.actions),"config"in O&&t(1,o=O.config),"customOptionsRenderer"in O&&t(2,c=O.customOptionsRenderer),"options"in O&&t(3,h=O.options),"selectedLabel"in O&&t(4,d=O.selectedLabel),"selectedOption"in O&&t(5,g=O.selectedOption),"isMobile"in O&&t(6,p=O.isMobile),"getNodeName"in O&&t(7,b=O.getNodeName),"getRouteLink"in O&&t(8,m=O.getRouteLink),"getTranslation"in O&&r(t(9,v=O.getTranslation)),"isContextSwitcherDropdownShown"in O&&t(10,C=O.isContextSwitcherDropdownShown)},[a,o,c,h,d,g,p,b,m,v,C,P,I,n,T,V,E,H,D]}class gp extends Vt{constructor(e){super(),Dt(this,e,TC,IC,Et,{actions:0,config:1,customOptionsRenderer:2,options:3,selectedLabel:4,selectedOption:5,isMobile:6,getNodeName:7,getRouteLink:8,getTranslation:9,isContextSwitcherDropdownShown:10,onActionClick:11,goToOption:12})}get onActionClick(){return this.$$.ctx[11]}get goToOption(){return this.$$.ctx[12]}}function Yh(i){let e,t,n,l=!i[9]&&Qh(i),r=i[9]&&i[8].contextSwitcherPopover&&i[15]&&Zh(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[9]?l&&(ve(),U(l,1,1,()=>{l=null}),we()):l?(l.p(a,o),o[0]&512&&R(l,1)):(l=Qh(a),l.c(),R(l,1),l.m(e.parentNode,e)),a[9]&&a[8].contextSwitcherPopover&&a[15]?r?(r.p(a,o),o[0]&33536&&R(r,1)):(r=Zh(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Qh(i){let e,t,n,l,r,a,o,c,h,d;function g(m,v){return m[10]&&m[2]!==m[5].defaultLabel?AC:LC}let p=g(i),b=p(i);return a=new gp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),a.$on("onActionClick",i[11]),a.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),b.c(),l=W(),r=S("div"),Me(a.$$.fragment),f(n,"class","fd-popover__control"),f(r,"class","fd-popover__body fd-popover__body--right svelte-1k9bqh4"),f(r,"aria-hidden",o=!i[8].contextSwitcherPopover),f(r,"id","contextSwitcherPopover"),f(r,"data-testid","luigi-contextswitcher-popover"),f(t,"class","fd-popover fd-popover--right svelte-1k9bqh4"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(m,v){A(m,e,v),w(e,t),w(t,n),b.m(n,null),w(t,l),w(t,r),Ve(a,r,null),c=!0,h||(d=ee(n,"click",Bt(HC)),h=!0)},p(m,v){p===(p=g(m))&&b?b.p(m,v):(b.d(1),b=p(m),b&&(b.c(),b.m(n,null)));const C={};v[0]&1&&(C.actions=m[0]),v[0]&32&&(C.config=m[5]),v[0]&64&&(C.customOptionsRenderer=m[6]),v[0]&2&&(C.options=m[1]),v[0]&16&&(C.selectedLabel=m[4]),v[0]&4&&(C.selectedOption=m[2]),v[0]&512&&(C.isMobile=m[9]),v[0]&16384&&(C.isContextSwitcherDropdownShown=m[14]),a.$set(C),(!c||v[0]&256&&o!==(o=!m[8].contextSwitcherPopover))&&f(r,"aria-hidden",o)},i(m){c||(R(a.$$.fragment,m),c=!0)},o(m){U(a.$$.fragment,m),c=!1},d(m){m&&L(e),b.d(),Oe(a),h=!1,d()}}}function LC(i){let e,t,n,l,r,a;function o(d,g){return d[2]&&d[7]?RC:EC}let c=o(i),h=c(i);return{c(){e=S("button"),h.c(),f(e,"class","fd-button fd-button--transparent fd-button--menu fd-shellbar__button fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",t=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",n=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",l=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(d,g){A(d,e,g),h.m(e,null),r||(a=ee(e,"click",i[29]),r=!0)},p(d,g){c===(c=o(d))&&h?h.p(d,g):(h.d(1),h=c(d),h&&(h.c(),h.m(e,null))),g[0]&256&&t!==(t=d[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",t),g[0]&48&&n!==(n=d[4]?d[4]:d[5].defaultLabel)&&f(e,"title",n),g[0]&32768&&l!==(l=!d[15])&&f(e,"aria-disabled",l)},d(d){d&&L(e),h.d(),r=!1,a()}}}function AC(i){let e,t,n,l,r,a,o;function c(g,p){return g[2]&&g[7]?MC:OC}let h=c(i),d=h(i);return{c(){e=S("a"),d.c(),f(e,"href",t=i[2]?i[19](i[2]):void 0),f(e,"class","fd-button fd-button--transparent fd-shellbar__button fd-button--menu fd-shellbar__button--menu lui-ctx-switch-menu svelte-1k9bqh4"),f(e,"aria-expanded",n=i[8].contextSwitcherPopover||!1),f(e,"aria-haspopup","true"),f(e,"title",l=i[4]?i[4]:i[5].defaultLabel),f(e,"aria-disabled",r=!i[15]),f(e,"data-testid","luigi-contextswitcher-button")},m(g,p){A(g,e,p),d.m(e,null),a||(o=ee(e,"click",mt(i[28])),a=!0)},p(g,p){h===(h=c(g))&&d?d.p(g,p):(d.d(1),d=h(g),d&&(d.c(),d.m(e,null))),p[0]&4&&t!==(t=g[2]?g[19](g[2]):void 0)&&f(e,"href",t),p[0]&256&&n!==(n=g[8].contextSwitcherPopover||!1)&&f(e,"aria-expanded",n),p[0]&48&&l!==(l=g[4]?g[4]:g[5].defaultLabel)&&f(e,"title",l),p[0]&32768&&r!==(r=!g[15])&&f(e,"aria-disabled",r)},d(g){g&&L(e),d.d(),a=!1,o()}}}function EC(i){let e,t;function n(a,o){return a[4]?DC:VC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&L(e),a&&L(t)}}}function RC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function DC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function VC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function OC(i){let e,t;function n(a,o){return a[4]?FC:UC}let l=n(i),r=l(i);return{c(){r.c(),e=W(),t=S("i"),f(t,"class","sap-icon--megamenu fd-shellbar__button--icon")},m(a,o){r.m(a,o),A(a,e,o),A(a,t,o)},p(a,o){l===(l=n(a))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(e.parentNode,e)))},d(a){r.d(a),a&&L(e),a&&L(t)}}}function MC(i){let e,t=i[7](i[2])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&132&&t!==(t=l[7](l[2])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function FC(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function UC(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function Zh(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I=!i[4]&&Xh(i),T=i[4]&&$h(i);return d=new gp({props:{actions:i[0],config:i[5],customOptionsRenderer:i[6],options:i[1],selectedLabel:i[4],selectedOption:i[2],getNodeName:i[18],getRouteLink:i[19],getTranslation:i[17],isMobile:i[9],isContextSwitcherDropdownShown:i[14]}}),d.$on("onActionClick",i[11]),d.$on("goToOption",i[12]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("h2"),I&&I.c(),o=W(),T&&T.c(),c=W(),h=S("div"),Me(d.$$.fragment),g=W(),p=S("footer"),b=S("div"),m=S("div"),v=S("button"),v.textContent="Cancel",f(a,"class","fd-title fd-title--h5"),f(a,"id","dialog-title-3"),f(r,"class","fd-bar__element"),f(l,"class","fd-bar__left"),f(n,"class","fd-dialog__header fd-bar fd-bar--header"),f(h,"class","fd-dialog__body fd-dialog__body--no-vertical-padding"),f(v,"class","fd-button fd-button--light fd-dialog__decisive-button"),f(v,"data-testid","mobile-topnav-close"),f(m,"class","fd-bar__element"),f(b,"class","fd-bar__right"),f(p,"class","fd-dialog__footer fd-bar fd-bar--cosy fd-bar--footer"),f(t,"class","fd-dialog__content fd-dialog__content--mobile"),f(t,"role","dialog"),f(t,"aria-modal","true"),f(t,"aria-labelledby","dialog-title-3"),f(e,"class","fd-dialog fd-dialog--active")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),I&&I.m(a,null),w(a,o),T&&T.m(a,null),w(t,c),w(t,h),Ve(d,h,null),w(t,g),w(t,p),w(p,b),w(b,m),w(m,v),C=!0,y||(P=[ee(v,"click",i[13]),ee(e,"click",Bt(WC))],y=!0)},p(V,E){V[4]?I&&(I.d(1),I=null):I?I.p(V,E):(I=Xh(V),I.c(),I.m(a,o)),V[4]?T?T.p(V,E):(T=$h(V),T.c(),T.m(a,null)):T&&(T.d(1),T=null);const H={};E[0]&1&&(H.actions=V[0]),E[0]&32&&(H.config=V[5]),E[0]&64&&(H.customOptionsRenderer=V[6]),E[0]&2&&(H.options=V[1]),E[0]&16&&(H.selectedLabel=V[4]),E[0]&4&&(H.selectedOption=V[2]),E[0]&512&&(H.isMobile=V[9]),E[0]&16384&&(H.isContextSwitcherDropdownShown=V[14]),d.$set(H)},i(V){C||(R(d.$$.fragment,V),C=!0)},o(V){U(d.$$.fragment,V),C=!1},d(V){V&&L(e),I&&I.d(),T&&T.d(),Oe(d),y=!1,Je(P)}}}function Xh(i){let e=i[16](i[5].defaultLabel)+"",t;return{c(){t=Ne(e)},m(n,l){A(n,t,l)},p(n,l){l[0]&65568&&e!==(e=n[16](n[5].defaultLabel)+"")&&Le(t,e)},d(n){n&&L(t)}}}function $h(i){let e;return{c(){e=Ne(i[4])},m(t,n){A(t,e,n)},p(t,n){n[0]&16&&Le(e,t[4])},d(t){t&&L(e)}}}function BC(i){let e,t,n=i[3]&&Yh(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[3]?n?(n.p(l,r),r[0]&8&&R(n,1)):(n=Yh(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}const HC=()=>{},WC=()=>{};function qC(i,e,t){let n,l;const r=Jt();let{contextSwitcherEnabled:a=!1}=e,{dropDownStates:o={}}=e,{selectedLabel:c=null}=e,{config:h={}}=e,{actions:d=[]}=e,{options:g=null}=e,p=!0,{selectedOption:b}=e,{fallbackLabelResolver:m=null}=e,{pathParams:v}=e,{customOptionsRenderer:C}=e,{customSelectedOptionRenderer:y}=e,{isMobile:P}=e,{contextSwitcherToggle:I=!1}=e,{defaultLabel:T}=e,V,E=kt("getUnsavedChangesModalPromise"),H=kt("store"),D=kt("getTranslation");vi(i,D,ie=>t(16,l=ie));let O=!1,{addNavHrefForAnchor:z}=e,Q;nn(async()=>{pn.doOnStoreChange(H,async()=>{const ie=te.getConfigValue("navigation.contextSwitcher");if(t(3,a=!!ie),!!a&&(t(6,C=le.isFunction(ie.customOptionsRenderer)?ie.customOptionsRenderer:void 0),t(7,y=le.isFunction(ie.customSelectedOptionRenderer)?ie.customSelectedOptionRenderer:void 0),t(5,h=ie),t(1,g=void 0),ie)){t(27,p=ie.alwaysShowDropdown!==!1),t(0,d=await te.getConfigValueAsync("navigation.contextSwitcher.actions"));const Re=at.getCurrentPath();t(20,m=ie.fallbackLabelResolver),kn.resetFallbackLabelCache(),ie.lazyloadOptions||await Z(),kn.isContextSwitcherDetailsView(Re,ie.parentNodePath)&&await G(Re)}},["navigation.contextSwitcher"]),me.addRouteChangeListener(ie=>G(ie)),Mn.addEventListener("message",ie=>{Ae.getValidMessageSource(ie)&&ie.data&&ie.data.msg==="luigi.refresh-context-switcher"&&(t(1,g=null),Z())}),t(21,T=h.defaultLabel)}),zn(()=>{O!==I&&(O=I,Z()),t(14,Q=o.contextSwitcherPopover||!1)});function X(ie,Re,ze){return ie?Promise.resolve(ie):kn.getFallbackLabel(Re,ze)}function ce(ie){return me.getNodeHref(ie,v)}async function Z(){t(1,g=await kn.fetchOptions(g));const ie=h||{},Re=ie.parentNodePath,ze=ie.fallbackLabelResolver,Ce=at.getCurrentPath();t(2,b=await kn.getSelectedOption(Ce,g,Re)),t(4,c=await kn.getSelectedLabel(Ce,g,Re,ze)),await kn.getSelectedNode(Ce,g,Re),V=ie.preserveSubPathOnSwitch}async function G(ie){const Re=h||{},ze=Re.parentNodePath,Ce=Re.fallbackLabelResolver;t(2,b=await kn.getSelectedOption(ie,g,ze)),t(4,c=await kn.getSelectedLabel(ie,g,ze,Ce)),await kn.getSelectedNode(ie,g,ze)}async function j(ie){let Re=ie.detail.node;Re.clickHandler&&!await Re.clickHandler(Re)||(setTimeout(()=>{ae(Re.link)}),P&&r("toggleDropdownState"))}function ae(ie){E().then(()=>{at.navigateTo(ie)},()=>{})}function fe(ie){let Re=ie.detail.option,ze=ie.detail.selectedOption;E().then(()=>{V&&ze?at.navigateTo(kn.getNodePathFromCurrentPath(Re,ze)):at.navigateTo(Re.link),P&&r("toggleDropdownState")},()=>{})}function ne(){r("toggleDropdownState"),JSON.parse((o||{}).contextSwitcherPopover)&&Z()}const se=()=>{n&&ne()},Se=()=>{n&&ne()};return i.$$set=ie=>{"contextSwitcherEnabled"in ie&&t(3,a=ie.contextSwitcherEnabled),"dropDownStates"in ie&&t(8,o=ie.dropDownStates),"selectedLabel"in ie&&t(4,c=ie.selectedLabel),"config"in ie&&t(5,h=ie.config),"actions"in ie&&t(0,d=ie.actions),"options"in ie&&t(1,g=ie.options),"selectedOption"in ie&&t(2,b=ie.selectedOption),"fallbackLabelResolver"in ie&&t(20,m=ie.fallbackLabelResolver),"pathParams"in ie&&t(22,v=ie.pathParams),"customOptionsRenderer"in ie&&t(6,C=ie.customOptionsRenderer),"customSelectedOptionRenderer"in ie&&t(7,y=ie.customSelectedOptionRenderer),"isMobile"in ie&&t(9,P=ie.isMobile),"contextSwitcherToggle"in ie&&t(23,I=ie.contextSwitcherToggle),"defaultLabel"in ie&&t(21,T=ie.defaultLabel),"addNavHrefForAnchor"in ie&&t(10,z=ie.addNavHrefForAnchor)},i.$$.update=()=>{i.$$.dirty[0]&134217735&&t(15,n=p||d&&d.length>0||g&&g.length>1||!b)},[d,g,b,a,c,h,C,y,o,P,z,j,fe,ne,Q,n,l,D,X,ce,m,T,v,I,Z,G,ae,p,se,Se]}class _p extends Vt{constructor(e){super(),Dt(this,e,qC,BC,Et,{contextSwitcherEnabled:3,dropDownStates:8,selectedLabel:4,config:5,actions:0,options:1,selectedOption:2,fallbackLabelResolver:20,pathParams:22,customOptionsRenderer:6,customSelectedOptionRenderer:7,isMobile:9,contextSwitcherToggle:23,defaultLabel:21,addNavHrefForAnchor:10,fetchOptions:24,setSelectedContext:25,onActionClick:11,goToPath:26,goToOption:12,toggleDropdownState:13},null,[-1,-1])}get fetchOptions(){return this.$$.ctx[24]}get setSelectedContext(){return this.$$.ctx[25]}get onActionClick(){return this.$$.ctx[11]}get goToPath(){return this.$$.ctx[26]}get goToOption(){return this.$$.ctx[12]}get toggleDropdownState(){return this.$$.ctx[13]}}const{window:zC}=_l;function xh(i,e,t){const n=i.slice();return n[22]=e[t],n}function eg(i){let e,t,n,l=!i[2]&&tg(i),r=i[2]&&i[3].productSwitcherPopover&&ag(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[2]?l&&(l.d(1),l=null):l?l.p(a,o):(l=tg(a),l.c(),l.m(e.parentNode,e)),a[2]&&a[3].productSwitcherPopover?r?(r.p(a,o),o&12&&R(r,1)):(r=ag(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function tg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(H,D){return D&2&&(a=null),a==null&&(a=!!H[11](H[1])),a?KC:GC}let I=P(i,-1),T=I(i),V=i[0],E=[];for(let H=0;H<V.length;H+=1)E[H]=rg(xh(i,V,H));return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),T.c(),d=W(),g=S("div"),p=S("div"),b=S("ul");for(let H=0;H<E.length;H+=1)E[H].c();f(r,"class","fd-button fd-button--transparent fd-shellbar__button fd-product-switch__control"),f(r,"aria-expanded",o=i[3].productSwitcherPopover||!1),f(r,"aria-haspopup","true"),f(r,"title",c=i[1].label),f(r,"data-testid",h=i[14](i[1])),f(l,"class","fd-popover__control"),f(b,"class","fd-product-switch__list"),f(p,"class",m=Xn(i[9])+" svelte-156h3yc"),f(g,"class","fd-popover__body fd-popover__body--right"),f(g,"aria-hidden",v=!i[3].productSwitcherPopover),f(g,"id","productSwitcherPopover"),f(n,"class","fd-popover fd-popover--right"),f(t,"class","fd-product-switch"),f(e,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(H,D){A(H,e,D),w(e,t),w(t,n),w(n,l),w(l,r),T.m(r,null),w(n,d),w(n,g),w(g,p),w(p,b);for(let O=0;O<E.length;O+=1)E[O].m(b,null);C||(y=[ee(r,"click",Bt(i[7])),ee(l,"click",Bt(xC))],C=!0)},p(H,D){if(I===(I=P(H,D))&&T?T.p(H,D):(T.d(1),T=I(H),T&&(T.c(),T.m(r,null))),D&8&&o!==(o=H[3].productSwitcherPopover||!1)&&f(r,"aria-expanded",o),D&2&&c!==(c=H[1].label)&&f(r,"title",c),D&2&&h!==(h=H[14](H[1]))&&f(r,"data-testid",h),D&64561){V=H[0];let O;for(O=0;O<V.length;O+=1){const z=xh(H,V,O);E[O]?E[O].p(z,D):(E[O]=rg(z),E[O].c(),E[O].m(b,null))}for(;O<E.length;O+=1)E[O].d(1);E.length=V.length}D&512&&m!==(m=Xn(H[9])+" svelte-156h3yc")&&f(p,"class",m),D&8&&v!==(v=!H[3].productSwitcherPopover)&&f(g,"aria-hidden",v)},d(H){H&&L(e),T.d(),ft(E,H),C=!1,Je(y)}}}function GC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[1].icon)||f(e,"src",t),f(e,"alt",n=i[1].altText?i[1].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&2&&!$e(e.src,t=l[1].icon)&&f(e,"src",t),r&2&&n!==(n=l[1].altText?l[1].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function KC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+i[10](i[1].icon))},m(n,l){A(n,e,l)},p(n,l){l&2&&t!==(t="sap-icon "+n[10](n[1].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function ng(i){let e,t,n,l,r,a;function o(g,p){return g[4]?JC:jC}let c=o(i),h=c(i);function d(){return i[17](i[22])}return{c(){e=S("li"),h.c(),t=W(),f(e,"class",n="fd-product-switch__item "+(i[22].selected?"selected":"")),f(e,"data-testid",l=i[14](i[22]))},m(g,p){A(g,e,p),h.m(e,null),w(e,t),r||(a=ee(e,"click",d),r=!0)},p(g,p){i=g,c===(c=o(i))&&h?h.p(i,p):(h.d(1),h=c(i),h&&(h.c(),h.m(e,t))),p&1&&n!==(n="fd-product-switch__item "+(i[22].selected?"selected":""))&&f(e,"class",n),p&1&&l!==(l=i[14](i[22]))&&f(e,"data-testid",l)},d(g){g&&L(e),h.d(),r=!1,a()}}}function jC(i){let e,t,n,l,r,a=i[12](i[22])+"",o,c,h=i[13](i[22]);function d(m,v){return v&1&&(t=null),t==null&&(t=!!m[11](m[22])),t?QC:YC}let g=d(i,-1),p=g(i),b=h&&ig(i);return{c(){e=S("div"),p.c(),n=W(),l=S("div"),r=S("div"),o=Ne(a),c=W(),b&&b.c(),f(e,"class","lui-product-switch__icon svelte-156h3yc"),f(r,"class","fd-product-switch__title"),f(l,"class","fd-product-switch__text")},m(m,v){A(m,e,v),p.m(e,null),A(m,n,v),A(m,l,v),w(l,r),w(r,o),w(l,c),b&&b.m(l,null)},p(m,v){g===(g=d(m,v))&&p?p.p(m,v):(p.d(1),p=g(m),p&&(p.c(),p.m(e,null))),v&1&&a!==(a=m[12](m[22])+"")&&Le(o,a),v&1&&(h=m[13](m[22])),h?b?b.p(m,v):(b=ig(m),b.c(),b.m(l,null)):b&&(b.d(1),b=null)},d(m){m&&L(e),p.d(),m&&L(n),m&&L(l),b&&b.d()}}}function JC(i){let e,t,n,l,r,a,o=i[12](i[22])+"",c,h,d=i[13](i[22]),g,p,b;function m(P,I){return I&1&&(n=null),n==null&&(n=!!P[11](P[22])),n?XC:ZC}let v=m(i,-1),C=v(i),y=d&&lg(i);return{c(){e=S("a"),t=S("div"),C.c(),l=W(),r=S("div"),a=S("div"),c=Ne(o),h=W(),y&&y.c(),f(t,"class","lui-product-switch__icon svelte-156h3yc"),f(a,"class","fd-product-switch__title"),f(r,"class","fd-product-switch__text"),f(e,"href",g=i[15](i[22])),f(e,"class","fd-menu__link")},m(P,I){A(P,e,I),w(e,t),C.m(t,null),w(e,l),w(e,r),w(r,a),w(a,c),w(r,h),y&&y.m(r,null),p||(b=ee(e,"click",i[16]),p=!0)},p(P,I){v===(v=m(P,I))&&C?C.p(P,I):(C.d(1),C=v(P),C&&(C.c(),C.m(t,null))),I&1&&o!==(o=P[12](P[22])+"")&&Le(c,o),I&1&&(d=P[13](P[22])),d?y?y.p(P,I):(y=lg(P),y.c(),y.m(r,null)):y&&(y.d(1),y=null),I&1&&g!==(g=P[15](P[22]))&&f(e,"href",g)},d(P){P&&L(e),C.d(),y&&y.d(),p=!1,b()}}}function YC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function QC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function ig(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function ZC(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[22].icon)||f(e,"src",t),f(e,"alt",n=i[22].altText?i[22].altText:""),f(e,"class","svelte-156h3yc")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[22].icon)&&f(e,"src",t),r&1&&n!==(n=l[22].altText?l[22].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function XC(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[22].icon&&i[11](i[22])?i[10](i[22].icon):"")+" svelte-156h3yc")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="sap-icon "+(n[22].icon&&n[11](n[22])?n[10](n[22].icon):"")+" svelte-156h3yc")&&f(e,"class",t)},d(n){n&&L(e)}}}function lg(i){let e,t=i[13](i[22])+"",n;return{c(){e=S("div"),n=Ne(t),f(e,"class","fd-product-switch__subtitle")},m(l,r){A(l,e,r),w(e,n)},p(l,r){r&1&&t!==(t=l[13](l[22])+"")&&Le(n,t)},d(l){l&&L(e)}}}function rg(i){let e,t=i[22].label&&ng(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[22].label?t?t.p(n,l):(t=ng(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function ag(i){let e,t;return e=new dp({props:{nodes:i[0],label:i[1].label,hasOpenUIicon:i[11],getNodeLabel:i[12],getNodeSubtitle:i[13]}}),e.$on("click",i[7]),e.$on("listClick",i[6]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.nodes=n[0]),l&2&&(r.label=n[1].label),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function $C(i){let e=i[0]&&i[0].length&&Object.keys(i[0][0]).length,t,n,l,r,a=e&&eg(i);return{c(){a&&a.c(),t=ke()},m(o,c){a&&a.m(o,c),A(o,t,c),n=!0,l||(r=ee(zC,"resize",fs),l=!0)},p(o,[c]){c&1&&(e=o[0]&&o[0].length&&Object.keys(o[0][0]).length),e?a?(a.p(o,c),c&1&&R(a,1)):(a=eg(o),a.c(),R(a,1),a.m(t.parentNode,t)):a&&(ve(),U(a,1,1,()=>{a=null}),we())},i(o){n||(R(a),n=!0)},o(o){U(a),n=!1},d(o){a&&a.d(o),o&&L(t),l=!1,r()}}}function fs(){let i=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",`${i}px`)}const xC=()=>{};function e3(i,e,t){const n=Jt();let{productSwitcherItems:l}=e,{isMobile:r}=e,{config:a}=e,{dropDownStates:o}=e,c=kt("store"),h=kt("getUnsavedChangesModalPromise"),d,{addNavHrefForAnchor:g}=e;nn(async()=>{pn.doOnStoreChange(c,async()=>{t(1,a=re.getProductSwitcherConfig()),a&&(t(0,l=await te.getConfigValueAsync("navigation.productSwitcher.items")),I()),fs()},["navigation.productSwitcher"])});function p(D){h().then(()=>{at.navigateToLink(D)},()=>{}),m()}function b(D){p(D.detail)}function m(){n("toggleDropdownState")}function v(D){return re.renderIconClassName(D)}function C(D){return re.isOpenUIiconName(D.icon)}function y(D){return Tt.getTranslation(D.label)}function P(D){return Tt.getTranslation(D.subTitle)}function I(){re.getProductSwitcherColumnsNumber()===3?t(9,d="fd-product-switch__body fd-product-switch__body--col-3"):t(9,d="fd-product-switch__body")}function T(D){return D.testId?D.testId:re.prepareForTests(D.label)}function V(D){return me.getNodeHref(D)}const E=D=>{re.handleNavAnchorClickedWithoutMetaKey(D)},H=D=>p(D);return i.$$set=D=>{"productSwitcherItems"in D&&t(0,l=D.productSwitcherItems),"isMobile"in D&&t(2,r=D.isMobile),"config"in D&&t(1,a=D.config),"dropDownStates"in D&&t(3,o=D.dropDownStates),"addNavHrefForAnchor"in D&&t(4,g=D.addNavHrefForAnchor)},[l,a,r,o,g,p,b,m,fs,d,v,C,y,P,T,V,E,H]}class pp extends Vt{constructor(e){super(),Dt(this,e,e3,$C,Et,{productSwitcherItems:0,isMobile:2,config:1,dropDownStates:3,addNavHrefForAnchor:4,onActionClick:5,onActionClickExternal:6,toggleDropdownState:7,setViewportHeightVariable:8})}get onActionClick(){return this.$$.ctx[5]}get onActionClickExternal(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get setViewportHeightVariable(){return fs}}function sg(i,e,t){const n=i.slice();return n[21]=e[t],n[23]=t,n}function t3(i){let e,t,n;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(l,r){A(l,e,r),i[15](e),e.focus(),t||(n=ee(e,"keyup",i[14]),t=!0)},p:We,d(l){l&&L(e),i[15](null),t=!1,n()}}}function n3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input svelte-zbxrcf"),f(e,"data-testid","luigi-search-input__no-handlers"),e.autofocus=!0,f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')")},m(t,n){A(t,e,n),e.focus()},p:We,d(t){t&&L(e)}}}function i3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[19](e)},p:We,d(t){t&&L(e),i[19](null)}}}function l3(i){let e,t,n,l=i[4]&&og(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu svelte-zbxrcf"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-zbxrcf"),f(e,"aria-hidden",n=!i[5])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[4]?l?l.p(r,a):(l=og(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a&32&&n!==(n=!r[5])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function og(i){let e,t=i[4],n=[];for(let l=0;l<t.length;l+=1)n[l]=ug(sg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[18](e)},p(l,r){if(r&2324){t=l[4];let a;for(a=0;a<t.length;a+=1){const o=sg(l,t,a);n[a]?n[a].p(o,r):(n[a]=ug(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l),i[18](null)}}}function r3(i){let e,t=i[8].renderCustomSearchItem(i[21],i[2],i[23])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r&276&&t!==(t=l[8].renderCustomSearchItem(l[21],l[2],l[23])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function a3(i){let e,t,n,l=i[21].label+"",r,a,o,c=i[21].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title svelte-zbxrcf"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link svelte-zbxrcf")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(o3)),d=!0)},p(p,b){b&16&&l!==(l=p[21].label+"")&&Le(r,l),b&16&&c!==(c=p[21].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function ug(i){let e,t,n,l;function r(d,g){return d[8].isCustomSearchResultItemRenderer?r3:a3}let a=r(i),o=a(i);function c(...d){return i[16](i[21],...d)}function h(...d){return i[17](i[21],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[23]+" svelte-zbxrcf"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Je(l)}}}function s3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y;function P(D,O){return D[7]&&D[7].disableInputHandlers?n3:t3}let I=P(i),T=I(i);function V(D,O){return D[8].isCustomSearchRenderer?i3:l3}let E=V(i),H=E(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),T.c(),r=W(),a=S("div"),o=W(),H.c(),d=W(),g=S("div"),p=S("div"),b=S("button"),m=S("i"),f(a,"class","fd-shellbar__search-field-helper"),f(l,"class","fd-input-group fd-shellbar__input-group fd-shellbar__search-field"),f(n,"class","fd-popover__control luigi-search svelte-zbxrcf"),f(n,"aria-hidden",c=!i[3]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-zbxrcf"),f(e,"class",h="fd-shellbar__action "+(i[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf"),f(m,"class","sap-icon sap-icon--search"),f(b,"class","fd-button fd-button--transparent fd-shellbar__button"),f(b,"aria-haspopup","true"),f(b,"aria-expanded",v=!i[3]),f(b,"data-testid","luigi-search-btn-desktop"),f(g,"class","fd-shellbar__action fd-shellbar__action--desktop")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),T.m(l,null),w(l,r),w(l,a),w(n,o),H.m(n,null),A(D,d,O),A(D,g,O),w(g,p),w(p,b),w(b,m),C||(y=[ee(window,"click",i[9]),ee(window,"blur",i[9]),ee(n,"click",Bt(u3)),ee(b,"click",i[6]),ee(p,"click",Bt(f3))],C=!0)},p(D,[O]){I===(I=P(D))&&T?T.p(D,O):(T.d(1),T=I(D),T&&(T.c(),T.m(l,r))),E===(E=V(D))&&H?H.p(D,O):(H.d(1),H=E(D),H&&(H.c(),H.m(n,null))),O&8&&c!==(c=!D[3])&&f(n,"aria-hidden",c),O&8&&h!==(h="fd-shellbar__action "+(D[3]?"luigi-search-shell__mobile":"")+" svelte-zbxrcf")&&f(e,"class",h),O&8&&v!==(v=!D[3])&&f(b,"aria-expanded",v)},i:We,o:We,d(D){D&&L(e),T.d(),H.d(),D&&L(d),D&&L(g),C=!1,Je(y)}}}const o3=()=>{},u3=()=>{},f3=()=>{};function c3(i,e,t){let{isSearchFieldVisible:n}=e,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Jt();let g={},p;nn(async()=>{p.setSearchPlaceholder(a),p.getCustomRenderer()}),zn(()=>{t(7,g=h),p||t(8,p=new rp(g,d)),p.getCustomRenderer()});function b(){p.closeSearchResult()}function m(D){p.onKeyUp(D,r)}function v(D,O){p.handleKeydown(D,O,a,c)}function C(D){p.onActionClick(D)}function y(){p.toggleSearch(n,r,a,o)}const P=D=>m(D);function I(D){je[D?"unshift":"push"](()=>{a=D,t(0,a)})}const T=(D,O)=>p.onSearchResultItemSelected(D,O),V=(D,O)=>v(D,O);function E(D){je[D?"unshift":"push"](()=>{c=D,t(2,c)})}function H(D){je[D?"unshift":"push"](()=>{o=D,t(1,o)})}return i.$$set=D=>{"isSearchFieldVisible"in D&&t(3,n=D.isSearchFieldVisible),"searchResult"in D&&t(4,l=D.searchResult),"displaySearchResult"in D&&t(5,r=D.displaySearchResult),"inputElem"in D&&t(0,a=D.inputElem),"customSearchItemRendererSlot"in D&&t(1,o=D.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in D&&t(2,c=D.customSearchItemRendererSlotContainer),"globalSearchConfig"in D&&t(12,h=D.globalSearchConfig)},[a,o,c,n,l,r,y,g,p,b,m,v,h,C,P,I,T,V,E,H]}class d3 extends Vt{constructor(e){super(),Dt(this,e,c3,s3,Et,{isSearchFieldVisible:3,searchResult:4,displaySearchResult:5,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:12,onActionClick:13,toggleSearch:6})}get onActionClick(){return this.$$.ctx[13]}get toggleSearch(){return this.$$.ctx[6]}}function fg(i,e,t){const n=i.slice();return n[32]=e[t],n[34]=t,n}function h3(i){let e,t,n,l,r,a,o,c,h,d,g;return{c(){e=S("input"),t=W(),n=S("div"),l=S("button"),l.innerHTML='<i class="sap-icon--decline"></i>',r=W(),a=S("div"),o=S("button"),o.innerHTML='<i class="sap-icon--search"></i>',c=W(),h=S("div"),f(e,"type","text"),f(e,"class","fd-input fd-shellbar__search-field-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input"),f(e,"data-testid","luigi-search-input"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," "),f(l,"aria-label","button-search"),f(l,"class","fd-shellbar__button fd-button fd-button--transparent"),f(n,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-cancel fd-input-group__addon--button svelte-qeg9jv"),f(o,"aria-label","button-search"),f(o,"class","fd-shellbar__button fd-button fd-button--transparent"),f(a,"class","fd-input-group__addon fd-shellbar__search-field-addon fd-shellbar__search-submit fd-input-group__addon--button svelte-qeg9jv"),f(h,"class","fd-shellbar__search-field-helper")},m(p,b){A(p,e,b),i[23](e),A(p,t,b),A(p,n,b),w(n,l),A(p,r,b),A(p,a,b),w(a,o),A(p,c,b),A(p,h,b),d||(g=[ee(e,"keyup",i[22]),ee(e,"input",i[24]),ee(l,"click",i[17]),ee(o,"click",i[15])],d=!0)},p:We,d(p){p&&L(e),i[23](null),p&&L(t),p&&L(n),p&&L(r),p&&L(a),p&&L(c),p&&L(h),d=!1,Je(g)}}}function g3(i){let e;return{c(){e=S("input"),f(e,"type","text"),f(e,"class","fd-input fd-input-group__input fd-shellbar__input-group-input luigi-search__input fd-shellbar__search-field-input"),f(e,"data-testid","luigi-search-input__no-handlers"),f(e,"onfocus","event.target.parentNode.classList.add('is-focus')"),f(e,"onblur","event.target.parentNode.classList.remove('is-focus')"),f(e,"placeholder"," ")},m(t,n){A(t,e,n)},p:We,d(t){t&&L(e)}}}function _3(i){let e;return{c(){e=S("div")},m(t,n){A(t,e,n),i[28](e)},p:We,d(t){t&&L(e),i[28](null)}}}function p3(i){let e,t,n,l=i[3]&&cg(i);return{c(){e=S("div"),t=S("nav"),l&&l.c(),f(t,"class","fd-menu"),f(e,"class","fd-popover__body fd-popover__body--right luigi-search-popover__body svelte-qeg9jv"),f(e,"aria-hidden",n=!i[4])},m(r,a){A(r,e,a),w(e,t),l&&l.m(t,null)},p(r,a){r[3]?l?l.p(r,a):(l=cg(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),a[0]&16&&n!==(n=!r[4])&&f(e,"aria-hidden",n)},d(r){r&&L(e),l&&l.d()}}}function cg(i){let e,t=i[3],n=[];for(let l=0;l<t.length;l+=1)n[l]=dg(fg(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-menu__list fd-menu__list--top")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null);i[27](e)},p(l,r){if(r[0]&791052){t=l[3];let a;for(a=0;a<t.length;a+=1){const o=fg(l,t,a);n[a]?n[a].p(o,r):(n[a]=dg(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l),i[27](null)}}}function m3(i){let e,t=i[12](i[32],i[2],i[34])+"",n;return{c(){e=new mr(!1),n=ke(),e.a=n},m(l,r){e.m(t,l,r),A(l,n,r)},p(l,r){r[0]&12&&t!==(t=l[12](l[32],l[2],l[34])+"")&&e.p(t)},d(l){l&&L(n),l&&e.d()}}}function b3(i){let e,t,n,l=i[32].label+"",r,a,o,c=i[32].description+"",h,d,g;return{c(){e=S("a"),t=S("div"),n=S("div"),r=Ne(l),a=W(),o=S("div"),h=Ne(c),f(n,"class","fd-product-switch__title"),f(o,"class","fd-product-switch__subtitle"),f(t,"class","fd-product-switch__text"),f(e,"class","fd-menu__link")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(t,a),w(t,o),w(o,h),d||(g=ee(e,"click",mt(w3)),d=!0)},p(p,b){b[0]&8&&l!==(l=p[32].label+"")&&Le(r,l),b[0]&8&&c!==(c=p[32].description+"")&&Le(h,c)},d(p){p&&L(e),d=!1,g()}}}function dg(i){let e,t,n,l;function r(d,g){return d[9].isCustomSearchResultItemRenderer?m3:b3}let a=r(i),o=a(i);function c(...d){return i[25](i[32],...d)}function h(...d){return i[26](i[32],...d)}return{c(){e=S("li"),o.c(),t=W(),f(e,"class","fd-menu__item luigi-search-result-item__"+i[34]+" svelte-qeg9jv"),f(e,"tabindex","0")},m(d,g){A(d,e,g),o.m(e,null),w(e,t),n||(l=[ee(e,"click",c),ee(e,"keyup",h)],n=!0)},p(d,g){i=d,a===(a=r(i))&&o?o.p(i,g):(o.d(1),o=a(i),o&&(o.c(),o.m(e,t)))},d(d){d&&L(e),o.d(),n=!1,Je(l)}}}function hg(i){let e,t,n,l,r,a,o;return{c(){e=S("div"),t=S("div"),n=S("button"),l=S("i"),f(l,"class","sap-icon sap-icon--search"),f(n,"class","fd-button fd-button--transparent fd-shellbar__button"),f(n,"aria-haspopup","true"),f(n,"aria-expanded",r=!i[5]),f(n,"data-testid","luigi-search-btn-desktop"),f(t,"class","fd-shellbar__group"),f(e,"class","lui-global-search-btn svelte-qeg9jv")},m(c,h){A(c,e,h),w(e,t),w(t,n),w(n,l),a||(o=[ee(n,"click",i[6]),ee(t,"click",Bt(S3))],a=!0)},p(c,h){h[0]&32&&r!==(r=!c[5])&&f(n,"aria-expanded",r)},d(c){c&&L(e),a=!1,Je(o)}}}function gg(i){let e,t,n=i[10](i[7])+"",l,r,a,o,c;return{c(){e=S("div"),t=S("button"),l=Ne(n),f(t,"class","fd-button fd-button--transparent fd-shellbar__button svelte-qeg9jv"),f(t,"aria-haspopup","true"),f(t,"aria-expanded",r=!i[5]),f(t,"data-testid","luigi-search-cancel-btn"),f(e,"class",a="fd-shellbar__group lui-global-search-cancel-btn "+(i[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")},m(h,d){A(h,e,d),w(e,t),w(t,l),o||(c=ee(t,"click",Bt(i[29])),o=!0)},p(h,d){d[0]&1152&&n!==(n=h[10](h[7])+"")&&Le(l,n),d[0]&32&&r!==(r=!h[5])&&f(t,"aria-expanded",r),d[0]&32&&a!==(a="fd-shellbar__group lui-global-search-cancel-btn "+(h[5]?"lui-global-search-cancel-btn--active":"")+" svelte-qeg9jv")&&f(e,"class",a)},d(h){h&&L(e),o=!1,c()}}}function v3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(V,E){return V[8]&&V[8].disableInputHandlers?g3:h3}let m=b(i),v=m(i);function C(V,E){return V[9].isCustomSearchRenderer?_3:p3}let y=C(i),P=y(i),I=!i[5]&&hg(i),T=i[5]&&gg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),v.c(),r=W(),P.c(),c=W(),I&&I.c(),h=W(),T&&T.c(),d=ke(),f(l,"class","fd-input-group fd-shellbar__input-group luigi-search-input-ctn fd-shellbar__search-field svelte-qeg9jv"),f(n,"class","luigi-search fd-shellbar__group"),f(n,"aria-hidden",a=!i[5]),f(n,"aria-haspopup","true"),f(t,"class","fd-popover svelte-qeg9jv"),f(e,"class",o="fd-shellbar__action lui-global-search-input "+(i[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")},m(V,E){A(V,e,E),w(e,t),w(t,n),w(n,l),v.m(l,null),w(n,r),P.m(n,null),A(V,c,E),I&&I.m(V,E),A(V,h,E),T&&T.m(V,E),A(V,d,E),g||(p=[ee(window,"click",i[13]),ee(window,"blur",i[13]),ee(n,"click",Bt(k3))],g=!0)},p(V,E){m===(m=b(V))&&v?v.p(V,E):(v.d(1),v=m(V),v&&(v.c(),v.m(l,null))),y===(y=C(V))&&P?P.p(V,E):(P.d(1),P=y(V),P&&(P.c(),P.m(n,null))),E[0]&32&&a!==(a=!V[5])&&f(n,"aria-hidden",a),E[0]&32&&o!==(o="fd-shellbar__action lui-global-search-input "+(V[5]?"lui-global-search-mobile--active":"")+" svelte-qeg9jv")&&f(e,"class",o),V[5]?I&&(I.d(1),I=null):I?I.p(V,E):(I=hg(V),I.c(),I.m(h.parentNode,h)),V[5]?T?T.p(V,E):(T=gg(V),T.c(),T.m(d.parentNode,d)):T&&(T.d(1),T=null)},i:We,o:We,d(V){V&&L(e),v.d(),P.d(),V&&L(c),I&&I.d(V),V&&L(h),T&&T.d(V),V&&L(d),g=!1,Je(p)}}}const w3=()=>{},k3=()=>{},S3=()=>{};function C3(i,e,t){let n,{searchResult:l=[]}=e,{displaySearchResult:r}=e,{inputElem:a}=e,{customSearchItemRendererSlot:o}=e,{customSearchItemRendererSlotContainer:c}=e,{globalSearchConfig:h}=e;const d=Jt();let g=dl.globalSearchCenteredCancelButton,{isSearchFieldVisible:p}=e,b={},m=kt("getTranslation");vi(i,m,fe=>t(10,n=fe));let v;nn(async()=>{t(8,b=h),t(7,g=b.globalSearchCenteredCancelButton?b.globalSearchCenteredCancelButton:g),v.setSearchPlaceholder(a),v.getCustomRenderer(),v.handleVisibilityGlobalSearch();const fe=document.querySelector(".lui-global-search");fe&&new ResizeObserver(()=>{v.handleVisibilityGlobalSearch()}).observe(fe)}),zn(()=>{t(8,b=h),v||t(9,v=new rp(b,d)),v.getCustomRenderer(),T()});function C(fe,ne,se){v.renderCustomSearchItem(fe,ne,se)}function y(){v.closeSearchResult()}function P(fe){v.onKeyUp(fe,r)}function I(){b&&le.isFunction(b.searchProvider.onSearchBtnClick)&&b.searchProvider.onSearchBtnClick()}function T(){a&&a.value}function V(){t(0,a.value="",a),y()}function E(fe){v.onSearchResultItemSelected(fe)}function H(fe,ne){v.handleKeydown(fe,ne,a,c)}function D(fe){v.onActionClick(fe)}function O(){v.toggleSearch(p,r,a,o)}const z=fe=>P(fe);function Q(fe){je[fe?"unshift":"push"](()=>{a=fe,t(0,a)})}const X=()=>T(),ce=(fe,ne)=>E(fe),Z=(fe,ne)=>H(fe,ne);function G(fe){je[fe?"unshift":"push"](()=>{c=fe,t(2,c)})}function j(fe){je[fe?"unshift":"push"](()=>{o=fe,t(1,o)})}const ae=()=>O();return i.$$set=fe=>{"searchResult"in fe&&t(3,l=fe.searchResult),"displaySearchResult"in fe&&t(4,r=fe.displaySearchResult),"inputElem"in fe&&t(0,a=fe.inputElem),"customSearchItemRendererSlot"in fe&&t(1,o=fe.customSearchItemRendererSlot),"customSearchItemRendererSlotContainer"in fe&&t(2,c=fe.customSearchItemRendererSlotContainer),"globalSearchConfig"in fe&&t(20,h=fe.globalSearchConfig),"isSearchFieldVisible"in fe&&t(5,p=fe.isSearchFieldVisible)},[a,o,c,l,r,p,O,g,b,v,n,m,C,y,P,I,T,V,E,H,h,D,z,Q,X,ce,Z,G,j,ae]}class y3 extends Vt{constructor(e){super(),Dt(this,e,C3,v3,Et,{searchResult:3,displaySearchResult:4,inputElem:0,customSearchItemRendererSlot:1,customSearchItemRendererSlotContainer:2,globalSearchConfig:20,isSearchFieldVisible:5,onActionClick:21,toggleSearch:6},null,[-1,-1])}get onActionClick(){return this.$$.ctx[21]}get toggleSearch(){return this.$$.ctx[6]}}function _g(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[1](a[0])),e?I3:P3}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function P3(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon sap-icon"),$e(e.src,t=i[0].icon)||f(e,"src",t),f(e,"alt",n=i[0].altText?i[0].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[0].icon)&&f(e,"src",t),r&1&&n!==(n=l[0].altText?l[0].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function I3(i){let e,t;return{c(){e=S("span"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[2](i[0].icon))},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="fd-top-nav__icon sap-icon "+n[2](n[0].icon))&&f(e,"class",t)},d(n){n&&L(e)}}}function pg(i){let e,t=i[3](i[0])+"",n,l,r,a;return r=new $n({props:{node:i[0]}}),{c(){e=S("span"),n=Ne(t),l=W(),Me(r.$$.fragment)},m(o,c){A(o,e,c),w(e,n),w(e,l),Ve(r,e,null),a=!0},p(o,c){(!a||c&1)&&t!==(t=o[3](o[0])+"")&&Le(n,t);const h={};c&1&&(h.node=o[0]),r.$set(h)},i(o){a||(R(r.$$.fragment,o),a=!0)},o(o){U(r.$$.fragment,o),a=!1},d(o){o&&L(e),Oe(r)}}}function N3(i){let e,t,n,l=i[0].icon&&_g(i),r=(!i[0].icon||i[0].showLabel)&&pg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,[o]){a[0].icon?l?l.p(a,o):(l=_g(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),!a[0].icon||a[0].showLabel?r?(r.p(a,o),o&1&&R(r,1)):(r=pg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(r),n=!0)},o(a){U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function T3(i,e,t){let{node:n}=e;function l(o){return re.isOpenUIiconName(o.icon)}function r(o){return re.renderIconClassName(o)}function a(o){return re.getNodeLabel(o)}return i.$$set=o=>{"node"in o&&t(0,n=o.node)},[n,l,r,a]}class Ko extends Vt{constructor(e){super(),Dt(this,e,T3,N3,Et,{node:0})}}const{Boolean:mp,window:mg}=_l;function bg(i,e,t){const n=i.slice();return n[107]=e[t],n[109]=t,n}function vg(i,e,t){const n=i.slice();return n[107]=e[t],n[110]=e,n[109]=t,n}function L3(i){let e,t;return e=new cp({props:{isHidden:!0,addNavHrefForAnchor:i[27]}}),e.$on("toggleDropdownState",i[99]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.addNavHrefForAnchor=n[27]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function A3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=(i[3]==="simple"||i[3]==="simpleMobileOnly"||i[3]==="Fiori3")&&wg(i);function v(E){i[57](E)}let C={pathData:i[30],pathParams:i[31],addNavHrefForAnchor:i[27]};i[6]!==void 0&&(C.dropDownStates=i[6]),l=new JS({props:C}),je.push(()=>wt(l,"dropDownStates",v,i[6])),l.$on("toggleDropdownState",i[39]),l.$on("handleClick",i[37]);let y=i[18]&&i[19]&&!i[29]&&kg(i),P=(!i[0]||i[1])&&Sg(i),I=(i[18]||i[7]&&i[30].length>0)&&yg(i),T=(i[0]||i[16])&&Hg(i),V=i[12]&&Wg(i);return{c(){e=S("div"),t=S("div"),m&&m.c(),n=W(),Me(l.$$.fragment),a=W(),y&&y.c(),o=W(),c=S("div"),P&&P.c(),h=W(),I&&I.c(),d=W(),T&&T.c(),g=W(),V&&V.c(),f(t,"class","fd-shellbar__group fd-shellbar__group--product"),f(c,"class","fd-shellbar__group fd-shellbar__group--actions lui-shellbar_group--actions"),f(e,"class",p="fd-shellbar "+(i[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(i[2]?"hideNavComponent":"")+" svelte-p1ljc7"),f(e,"tabindex","0")},m(E,H){A(E,e,H),w(e,t),m&&m.m(t,null),w(t,n),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),I&&I.m(c,null),w(c,d),T&&T.m(c,null),w(c,g),V&&V.m(c,null),b=!0},p(E,H){E[3]==="simple"||E[3]==="simpleMobileOnly"||E[3]==="Fiori3"?m?m.p(E,H):(m=wg(E),m.c(),m.m(t,n)):m&&(m.d(1),m=null);const D={};H[0]&1073741824&&(D.pathData=E[30]),H[1]&1&&(D.pathParams=E[31]),H[0]&134217728&&(D.addNavHrefForAnchor=E[27]),!r&&H[0]&64&&(r=!0,D.dropDownStates=E[6],vt(()=>r=!1)),l.$set(D),E[18]&&E[19]&&!E[29]?y?(y.p(E,H),H[0]&537657344&&R(y,1)):(y=kg(E),y.c(),R(y,1),y.m(e,o)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),!E[0]||E[1]?P?(P.p(E,H),H[0]&3&&R(P,1)):(P=Sg(E),P.c(),R(P,1),P.m(c,h)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),E[18]||E[7]&&E[30].length>0?I?(I.p(E,H),H[0]&1074004096&&R(I,1)):(I=yg(E),I.c(),R(I,1),I.m(c,d)):I&&(ve(),U(I,1,1,()=>{I=null}),we()),E[0]||E[16]?T?(T.p(E,H),H[0]&65537&&R(T,1)):(T=Hg(E),T.c(),R(T,1),T.m(c,g)):T&&(ve(),U(T,1,1,()=>{T=null}),we()),E[12]?V?(V.p(E,H),H[0]&4096&&R(V,1)):(V=Wg(E),V.c(),R(V,1),V.m(c,null)):V&&(ve(),U(V,1,1,()=>{V=null}),we()),(!b||H[0]&67108868&&p!==(p="fd-shellbar "+(E[26]?"fd-shellbar--responsive-paddings":"")+" lui-shellbar-wrapper "+(E[2]?"hideNavComponent":"")+" svelte-p1ljc7"))&&f(e,"class",p)},i(E){b||(R(l.$$.fragment,E),R(y),R(P),R(I),R(T),R(V),b=!0)},o(E){U(l.$$.fragment,E),U(y),U(P),U(I),U(T),U(V),b=!1},d(E){E&&L(e),m&&m.d(),Oe(l),y&&y.d(),P&&P.d(),I&&I.d(),T&&T.d(),V&&V.d()}}}function wg(i){let e,t,n,l;return{c(){e=S("button"),t=S("i"),f(t,"class","sap-icon sap-icon--menu2"),f(e,"class","fd-shellbar__button fd-button fd-button--transparent lui-burger svelte-p1ljc7"),f(e,"tabindex","0"),f(e,"title",i[25])},m(r,a){A(r,e,a),w(e,t),n||(l=ee(e,"click",i[52]),n=!0)},p(r,a){a[0]&33554432&&f(e,"title",r[25])},d(r){r&&L(e),n=!1,l()}}}function kg(i){let e,t,n,l,r,a,o,c;function h(v){i[58](v)}function d(v){i[59](v)}function g(v){i[60](v)}function p(v){i[61](v)}function b(v){i[62](v)}let m={globalSearchConfig:i[18]};return i[20]!==void 0&&(m.isSearchFieldVisible=i[20]),i[24]!==void 0&&(m.searchResult=i[24]),i[23]!==void 0&&(m.displaySearchResult=i[23]),i[21]!==void 0&&(m.inputElem=i[21]),i[22]!==void 0&&(m.customSearchItemRendererSlot=i[22]),t=new y3({props:m}),je.push(()=>wt(t,"isSearchFieldVisible",h,i[20])),je.push(()=>wt(t,"searchResult",d,i[24])),je.push(()=>wt(t,"displaySearchResult",g,i[23])),je.push(()=>wt(t,"inputElem",p,i[21])),je.push(()=>wt(t,"customSearchItemRendererSlot",b,i[22])),t.$on("toggleSearch",i[63]),t.$on("handleSearchNavigation",i[64]),t.$on("closeSearchResult",i[65]),{c(){e=S("div"),Me(t.$$.fragment),f(e,"class","lui-global-search")},m(v,C){A(v,e,C),Ve(t,e,null),c=!0},p(v,C){const y={};C[0]&262144&&(y.globalSearchConfig=v[18]),!n&&C[0]&1048576&&(n=!0,y.isSearchFieldVisible=v[20],vt(()=>n=!1)),!l&&C[0]&16777216&&(l=!0,y.searchResult=v[24],vt(()=>l=!1)),!r&&C[0]&8388608&&(r=!0,y.displaySearchResult=v[23],vt(()=>r=!1)),!a&&C[0]&2097152&&(a=!0,y.inputElem=v[21],vt(()=>a=!1)),!o&&C[0]&4194304&&(o=!0,y.customSearchItemRendererSlot=v[22],vt(()=>o=!1)),t.$set(y)},i(v){c||(R(t.$$.fragment,v),c=!0)},o(v){U(t.$$.fragment,v),c=!1},d(v){v&&L(e),Oe(t)}}}function Sg(i){let e,t,n,l,r=i[18]&&!i[19]&&!i[29]&&Cg(i);function a(c){i[74](c)}let o={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(o.dropDownStates=i[6]),t=new _p({props:o}),je.push(()=>wt(t,"dropDownStates",a,i[6])),t.$on("toggleDropdownState",i[75]),{c(){r&&r.c(),e=W(),Me(t.$$.fragment)},m(c,h){r&&r.m(c,h),A(c,e,h),Ve(t,c,h),l=!0},p(c,h){c[18]&&!c[19]&&!c[29]?r?(r.p(c,h),h[0]&537657344&&R(r,1)):(r=Cg(c),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we());const d={};h[0]&134217728&&(d.addNavHrefForAnchor=c[27]),!n&&h[0]&64&&(n=!0,d.dropDownStates=c[6],vt(()=>n=!1)),t.$set(d)},i(c){l||(R(r),R(t.$$.fragment,c),l=!0)},o(c){U(r),U(t.$$.fragment,c),l=!1},d(c){r&&r.d(c),c&&L(e),Oe(t,c)}}}function Cg(i){let e,t,n,l,r,a,o;function c(m){i[66](m)}function h(m){i[67](m)}function d(m){i[68](m)}function g(m){i[69](m)}function p(m){i[70](m)}let b={globalSearchConfig:i[18]};return i[20]!==void 0&&(b.isSearchFieldVisible=i[20]),i[24]!==void 0&&(b.searchResult=i[24]),i[23]!==void 0&&(b.displaySearchResult=i[23]),i[21]!==void 0&&(b.inputElem=i[21]),i[22]!==void 0&&(b.customSearchItemRendererSlot=i[22]),e=new d3({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[20])),je.push(()=>wt(e,"searchResult",h,i[24])),je.push(()=>wt(e,"displaySearchResult",d,i[23])),je.push(()=>wt(e,"inputElem",g,i[21])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[22])),e.$on("toggleSearch",i[71]),e.$on("handleSearchNavigation",i[72]),e.$on("closeSearchResult",i[73]),{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],vt(()=>t=!1)),!n&&v[0]&16777216&&(n=!0,C.searchResult=m[24],vt(()=>n=!1)),!l&&v[0]&8388608&&(l=!0,C.displaySearchResult=m[23],vt(()=>l=!1)),!r&&v[0]&2097152&&(r=!0,C.inputElem=m[21],vt(()=>r=!1)),!a&&v[0]&4194304&&(a=!0,C.customSearchItemRendererSlot=m[22],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function yg(i){let e,t,n,l=i[7]&&i[30].length>0&&Pg(i),r=(i[9]-i[10]>0||i[12]||i[46]||i[18])&&Lg(i);return{c(){l&&l.c(),e=W(),r&&r.c(),t=ke()},m(a,o){l&&l.m(a,o),A(a,e,o),r&&r.m(a,o),A(a,t,o),n=!0},p(a,o){a[7]&&a[30].length>0?l?(l.p(a,o),o[0]&1073741952&&R(l,1)):(l=Pg(a),l.c(),R(l,1),l.m(e.parentNode,e)):l&&(ve(),U(l,1,1,()=>{l=null}),we()),a[9]-a[10]>0||a[12]||a[46]||a[18]?r?(r.p(a,o),o[0]&267776|o[1]&32768&&R(r,1)):(r=Lg(a),r.c(),R(r,1),r.m(t.parentNode,t)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){n||(R(l),R(r),n=!0)},o(a){U(l),U(r),n=!1},d(a){l&&l.d(a),a&&L(e),r&&r.d(a),a&&L(t)}}}function Pg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Tg(vg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&134218208|o[1]&1835169){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=vg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Tg(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Ig(i){let e,t,n,l;const r=[R3,E3],a=[];function o(c,h){return c[107].isCat?0:1}return e=o(i),t=a[e]=r[e](i),{c(){t.c(),n=ke()},m(c,h){a[e].m(c,h),A(c,n,h),l=!0},p(c,h){let d=e;e=o(c),e===d?a[e].p(c,h):(ve(),U(a[d],1,1,()=>{a[d]=null}),we(),t=a[e],t?t.p(c,h):(t=a[e]=r[e](c),t.c()),R(t,1),t.m(n.parentNode,n))},i(c){l||(R(t),l=!0)},o(c){U(t),l=!1},d(c){a[e].d(c),c&&L(n)}}}function E3(i){let e,t,n,l,r;const a=[V3,D3],o=[];function c(h,d){return h[27]?0:1}return t=c(i),n=o[t]=a[t](i),{c(){e=S("div"),n.c(),l=W(),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(h,d){A(h,e,d),o[t].m(e,null),w(e,l),r=!0},p(h,d){let g=t;t=c(h),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(e,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){h&&L(e),o[t].d()}}}function R3(i){let e=i[107].visibleChildren.filter(qg).length>0,t,n,l=e&&Ng(i);return{c(){l&&l.c(),t=ke()},m(r,a){l&&l.m(r,a),A(r,t,a),n=!0},p(r,a){a[0]&128&&(e=r[107].visibleChildren.filter(qg).length>0),e?l?(l.p(r,a),a[0]&128&&R(l,1)):(l=Ng(r),l.c(),R(l,1),l.m(t.parentNode,t)):l&&(ve(),U(l,1,1,()=>{l=null}),we())},i(r){n||(R(l),n=!0)},o(r){U(l),n=!1},d(r){l&&l.d(r),r&&L(t)}}}function D3(i){let e,t,n,l,r,a,o,c,h,d,g;function p(v){i[80](v,i[107],i[110],i[109])}let b={};i[107]!==void 0&&(b.node=i[107]),t=new Ko({props:b}),je.push(()=>wt(t,"node",p,i[107])),r=new Tn({props:{node:i[107]}});function m(){return i[81](i[107])}return{c(){e=S("button"),Me(t.$$.fragment),l=W(),Me(r.$$.fragment),f(e,"title",a=i[51](i[107],i[49](i[107]))),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",c=re.getTestId(i[107]))},m(v,C){A(v,e,C),Ve(t,e,null),w(e,l),Ve(r,e,null),h=!0,d||(g=ee(e,"click",m),d=!0)},p(v,C){i=v;const y={};!n&&C[0]&128&&(n=!0,y.node=i[107],vt(()=>n=!1)),t.$set(y);const P={};C[0]&128&&(P.node=i[107]),r.$set(P),(!h||C[0]&128&&a!==(a=i[51](i[107],i[49](i[107]))))&&f(e,"title",a),(!h||C[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!h||C[0]&128&&c!==(c=re.getTestId(i[107])))&&f(e,"data-testid",c)},i(v){h||(R(t.$$.fragment,v),R(r.$$.fragment,v),h=!0)},o(v){U(t.$$.fragment,v),U(r.$$.fragment,v),h=!1},d(v){v&&L(e),Oe(t),Oe(r),d=!1,g()}}}function V3(i){let e,t,n,l,r,a,o,c,h,d,g,p;function b(C){i[78](C,i[107],i[110],i[109])}let m={};i[107]!==void 0&&(m.node=i[107]),t=new Ko({props:m}),je.push(()=>wt(t,"node",b,i[107])),r=new Tn({props:{node:i[107]}});function v(...C){return i[79](i[107],...C)}return{c(){e=S("a"),Me(t.$$.fragment),l=W(),Me(r.$$.fragment),f(e,"href",a=i[50](i[107])),f(e,"class",o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(e,"title",c=i[51](i[107],i[49](i[107]))),f(e,"aria-expanded","false"),f(e,"aria-haspopup","true"),f(e,"data-testid",h=re.getTestId(i[107]))},m(C,y){A(C,e,y),Ve(t,e,null),w(e,l),Ve(r,e,null),d=!0,g||(p=ee(e,"click",v),g=!0)},p(C,y){i=C;const P={};!n&&y[0]&128&&(n=!0,P.node=i[107],vt(()=>n=!1)),t.$set(P);const I={};y[0]&128&&(I.node=i[107]),r.$set(I),(!d||y[0]&128&&a!==(a=i[50](i[107])))&&f(e,"href",a),(!d||y[0]&384&&o!==(o="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(e,"class",o),(!d||y[0]&128&&c!==(c=i[51](i[107],i[49](i[107]))))&&f(e,"title",c),(!d||y[0]&128&&h!==(h=re.getTestId(i[107])))&&f(e,"data-testid",h)},i(C){d||(R(t.$$.fragment,C),R(r.$$.fragment,C),d=!0)},o(C){U(t.$$.fragment,C),U(r.$$.fragment,C),d=!1},d(C){C&&L(e),Oe(t),Oe(r),g=!1,p()}}}function Ng(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(D){i[76](D,i[107],i[110],i[109])}let E={};i[107]!==void 0&&(E.node=i[107]),r=new Ko({props:E}),je.push(()=>wt(r,"node",V,i[107])),c=new Tn({props:{node:i[107]}});function H(){return i[77](i[109])}return v=new hp({props:{node:i[107],isMobile:!1,pathParams:i[31],addNavHrefForAnchor:i[27]}}),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("button"),Me(r.$$.fragment),o=W(),Me(c.$$.fragment),b=W(),m=S("div"),Me(v.$$.fragment),y=W(),f(l,"title",h=i[51](i[107],i[49](i[107]))),f(l,"class",d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"),f(l,"aria-controls","dropDownPopover-"+i[109]),f(l,"aria-expanded",g=i[6][`dropDownPopover-${i[109]}`]||!1),f(l,"aria-haspopup","true"),f(l,"data-testid",p=re.getTestId(i[107])),f(n,"class","fd-popover__control"),f(m,"class","fd-popover__body fd-popover__body--right"),f(m,"aria-hidden",C=!i[6][`dropDownPopover-${i[109]}`]),f(m,"id","dropDownPopover-"+i[109]),f(t,"class","fd-popover fd-popover--right"),f(e,"class","fd-shellbar__action fd-shellbar__action--hide fd-shellbar__action--desktop")},m(D,O){A(D,e,O),w(e,t),w(t,n),w(n,l),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||(T=[ee(l,"click",H),ee(n,"click",Bt(Q3))],I=!0)},p(D,O){i=D;const z={};!a&&O[0]&128&&(a=!0,z.node=i[107],vt(()=>a=!1)),r.$set(z);const Q={};O[0]&128&&(Q.node=i[107]),c.$set(Q),(!P||O[0]&128&&h!==(h=i[51](i[107],i[49](i[107]))))&&f(l,"title",h),(!P||O[0]&384&&d!==(d="fd-shellbar__button fd-button fd-button--transparent "+(i[107]===i[8]?"is-selected":"")+" svelte-p1ljc7"))&&f(l,"class",d),(!P||O[0]&64&&g!==(g=i[6][`dropDownPopover-${i[109]}`]||!1))&&f(l,"aria-expanded",g),(!P||O[0]&128&&p!==(p=re.getTestId(i[107])))&&f(l,"data-testid",p);const X={};O[0]&128&&(X.node=i[107]),O[1]&1&&(X.pathParams=i[31]),O[0]&134217728&&(X.addNavHrefForAnchor=i[27]),v.$set(X),(!P||O[0]&64&&C!==(C=!i[6][`dropDownPopover-${i[109]}`]))&&f(m,"aria-hidden",C)},i(D){P||(R(r.$$.fragment,D),R(c.$$.fragment,D),R(v.$$.fragment,D),P=!0)},o(D){U(r.$$.fragment,D),U(c.$$.fragment,D),U(v.$$.fragment,D),P=!1},d(D){D&&L(e),Oe(r),Oe(c),Oe(v),I=!1,Je(T)}}}function Tg(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Ig(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Ig(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Lg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E,H,D;h=new Tn({props:{node:i[11],special:"true"}});let O=i[18]&&!i[19]&&!i[29]&&Ag(i),z=i[46]&&(!i[0]||i[1])&&Eg(i),Q=i[7]&&Rg(i),X=i[12]&&Mg(i),ce=i[12]&&Fg(i),Z=i[14]&&Ug(i),G=(!i[0]||i[1])&&Bg(i);return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("div"),a=S("button"),o=S("i"),c=W(),Me(h.$$.fragment),g=W(),p=S("div"),b=S("nav"),m=S("ul"),O&&O.c(),v=W(),z&&z.c(),C=W(),Q&&Q.c(),y=W(),X&&X.c(),I=W(),ce&&ce.c(),T=W(),Z&&Z.c(),V=W(),G&&G.c(),f(o,"class","sap-icon sap-icon--overflow"),f(a,"class","fd-shellbar__button fd-button fd-button--transparent svelte-p1ljc7"),f(a,"aria-controls","overflowPopover"),f(a,"aria-expanded",d=i[6].overflowPopover||!1),f(a,"aria-haspopup","true"),f(a,"data-testid","mobile-menu"),f(r,"class","fd-shellbar-collapse--control"),f(r,"aria-expanded","false"),f(r,"aria-haspopup","true"),f(r,"role","button"),f(l,"class","fd-popover__control"),f(m,"class","fd-menu__list fd-menu__list--no-shadow"),f(b,"class","fd-menu"),f(p,"class","fd-popover__body fd-popover__body--right"),f(p,"aria-hidden",P=!i[6].overflowPopover),f(p,"id","overflowPopover"),f(n,"class","fd-popover fd-popover--right svelte-p1ljc7"),f(t,"class","fd-shellbar-collapse"),f(e,"class","fd-shellbar__action fd-shellbar__action--mobile")},m(j,ae){A(j,e,ae),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,o),w(a,c),Ve(h,a,null),w(n,g),w(n,p),w(p,b),w(b,m),O&&O.m(m,null),w(m,v),z&&z.m(m,null),w(m,C),Q&&Q.m(m,null),w(m,y),X&&X.m(m,null),w(n,I),ce&&ce.m(n,null),w(n,T),Z&&Z.m(n,null),w(n,V),G&&G.m(n,null),E=!0,H||(D=[ee(a,"click",i[82]),ee(l,"click",Bt(Z3))],H=!0)},p(j,ae){const fe={};ae[0]&2048&&(fe.node=j[11]),h.$set(fe),(!E||ae[0]&64&&d!==(d=j[6].overflowPopover||!1))&&f(a,"aria-expanded",d),j[18]&&!j[19]&&!j[29]?O?O.p(j,ae):(O=Ag(j),O.c(),O.m(m,v)):O&&(O.d(1),O=null),j[46]&&(!j[0]||j[1])?z?z.p(j,ae):(z=Eg(j),z.c(),z.m(m,C)):z&&(z.d(1),z=null),j[7]?Q?(Q.p(j,ae),ae[0]&128&&R(Q,1)):(Q=Rg(j),Q.c(),R(Q,1),Q.m(m,y)):Q&&(ve(),U(Q,1,1,()=>{Q=null}),we()),j[12]?X?X.p(j,ae):(X=Mg(j),X.c(),X.m(m,null)):X&&(X.d(1),X=null),(!E||ae[0]&64&&P!==(P=!j[6].overflowPopover))&&f(p,"aria-hidden",P),j[12]?ce?(ce.p(j,ae),ae[0]&4096&&R(ce,1)):(ce=Fg(j),ce.c(),R(ce,1),ce.m(n,T)):ce&&(ve(),U(ce,1,1,()=>{ce=null}),we()),j[14]?Z?(Z.p(j,ae),ae[0]&16384&&R(Z,1)):(Z=Ug(j),Z.c(),R(Z,1),Z.m(n,V)):Z&&(ve(),U(Z,1,1,()=>{Z=null}),we()),!j[0]||j[1]?G?(G.p(j,ae),ae[0]&3&&R(G,1)):(G=Bg(j),G.c(),R(G,1),G.m(n,null)):G&&(ve(),U(G,1,1,()=>{G=null}),we())},i(j){E||(R(h.$$.fragment,j),R(Q),R(ce),R(Z),R(G),E=!0)},o(j){U(h.$$.fragment,j),U(Q),U(ce),U(Z),U(G),E=!1},d(j){j&&L(e),Oe(h),O&&O.d(),z&&z.d(),Q&&Q.d(),X&&X.d(),ce&&ce.d(),Z&&Z.d(),G&&G.d(),H=!1,Je(D)}}}function Ag(i){let e,t,n,l;return{c(){e=S("li"),t=S("a"),t.innerHTML=`<i class="sap-icon sap-icon--search fd-top-nav__icon svelte-p1ljc7"></i>
58
58
  <span class="fd-menu__title">Search</span>`,f(t,"class","fd-menu__link"),f(t,"data-testid","luigi-search-btn-mobile"),f(e,"class","fd-menu__item")},m(r,a){A(r,e,a),w(e,t),n||(l=ee(t,"click",Bt(i[83])),n=!0)},p:We,d(r){r&&L(e),n=!1,l()}}}function Eg(i){let e,t,n,l,r,a,o=(i[44]?i[44]:i[45])+"",c,h,d;return{c(){e=S("li"),t=S("a"),n=S("i"),r=W(),a=S("span"),c=Ne(o),f(n,"class",l="sap-icon fd-top-nav__icon "+(i[46].icon&&i[48](i[46])?i[47](i[46].icon):"sap-icon--switch-views")+" svelte-p1ljc7"),f(a,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(e,"class","fd-menu__item")},m(g,p){A(g,e,p),w(e,t),w(t,n),w(t,r),w(t,a),w(a,c),h||(d=ee(t,"click",Bt(i[33])),h=!0)},p(g,p){p[1]&32768&&l!==(l="sap-icon fd-top-nav__icon "+(g[46].icon&&g[48](g[46])?g[47](g[46].icon):"sap-icon--switch-views")+" svelte-p1ljc7")&&f(n,"class",l),p[1]&24576&&o!==(o=(g[44]?g[44]:g[45])+"")&&Le(c,o)},d(g){g&&L(e),h=!1,d()}}}function Rg(i){let e,t,n=i[7],l=[];for(let a=0;a<n.length;a+=1)l[a]=Og(bg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&416|o[1]&2031656){n=a[7];let c;for(c=0;c<n.length;c+=1){const h=bg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=Og(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(mp);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function Dg(i){let e,t,n,l,r;const a=[M3,O3],o=[];function c(h,d){return d[0]&128&&(e=null),h[107].isCat?(e==null&&(e=h[107].visibleChildren.filter(Y3).length>0),e?1:-1):0}return~(t=c(i,[-1,-1,-1,-1]))&&(n=o[t]=a[t](i)),{c(){n&&n.c(),l=ke()},m(h,d){~t&&o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?~t&&o[t].p(h,d):(n&&(ve(),U(o[g],1,1,()=>{o[g]=null}),we()),~t?(n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l)):n=null)},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){~t&&o[t].d(h),h&&L(l)}}}function O3(i){let e,t,n,l,r,a,o,c,h=i[49](i[107])+"",d,g,p,b,m,v,C;function y(V,E){return E[0]&128&&(l=null),l==null&&(l=!!V[48](V[107])),l?U3:F3}let P=y(i,[-1,-1,-1,-1]),I=P(i);a=new Tn({props:{node:i[107]}});function T(){return i[85](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),I.c(),r=W(),Me(a.$$.fragment),o=W(),c=S("span"),d=Ne(h),b=W(),f(n,"class","fd-top-nav__icon svelte-p1ljc7"),f(c,"class","fd-list__title"),f(t,"href",g=i[50](i[107])),f(t,"title",p=i[51](i[107],i[49](i[107]))),f(t,"class","fd-menu__link"),f(t,"data-e2e","mobile-topnav-dropdown-category"),f(e,"class","fd-menu__item")},m(V,E){A(V,e,E),w(e,t),w(t,n),I.m(n,null),w(n,r),Ve(a,n,null),w(t,o),w(t,c),w(c,d),w(e,b),m=!0,v||(C=ee(t,"click",mt(T)),v=!0)},p(V,E){i=V,P===(P=y(i,E))&&I?I.p(i,E):(I.d(1),I=P(i),I&&(I.c(),I.m(n,r)));const H={};E[0]&128&&(H.node=i[107]),a.$set(H),(!m||E[0]&128)&&h!==(h=i[49](i[107])+"")&&Le(d,h),(!m||E[0]&128&&g!==(g=i[50](i[107])))&&f(t,"href",g),(!m||E[0]&128&&p!==(p=i[51](i[107],i[49](i[107]))))&&f(t,"title",p)},i(V){m||(R(a.$$.fragment,V),m=!0)},o(V){U(a.$$.fragment,V),m=!1},d(V){V&&L(e),I.d(),Oe(a),v=!1,C()}}}function M3(i){let e,t,n,l=!i[48](i[107]),r,a,o,c,h,d=i[49](i[107])+"",g,p,b,m,v,C,y,P,I=l&&Vg(i);a=new Tn({props:{node:i[107]}});function T(){return i[84](i[107])}return{c(){e=S("li"),t=S("a"),n=S("span"),I&&I.c(),r=W(),Me(a.$$.fragment),c=W(),h=S("span"),g=Ne(d),v=W(),f(n,"class",o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"),f(h,"class","fd-menu__title"),f(t,"href",p=i[50](i[107])),f(t,"class",b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")),f(t,"data-testid",m=re.getTestId(i[107])+"-mobile"),f(e,"class","fd-menu__item")},m(V,E){A(V,e,E),w(e,t),w(t,n),I&&I.m(n,null),w(n,r),Ve(a,n,null),w(t,c),w(t,h),w(h,g),w(e,v),C=!0,y||(P=ee(t,"click",mt(T)),y=!0)},p(V,E){i=V,E[0]&128&&(l=!i[48](i[107])),l?I?I.p(i,E):(I=Vg(i),I.c(),I.m(n,r)):I&&(I.d(1),I=null);const H={};E[0]&128&&(H.node=i[107]),a.$set(H),(!C||E[0]&128&&o!==(o="fd-top-nav__icon sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7"))&&f(n,"class",o),(!C||E[0]&128)&&d!==(d=i[49](i[107])+"")&&Le(g,d),(!C||E[0]&128&&p!==(p=i[50](i[107])))&&f(t,"href",p),(!C||E[0]&384&&b!==(b="fd-menu__link "+(i[107]===i[8]?"is-selected":"")))&&f(t,"class",b),(!C||E[0]&128&&m!==(m=re.getTestId(i[107])+"-mobile"))&&f(t,"data-testid",m)},i(V){C||(R(a.$$.fragment,V),C=!0)},o(V){U(a.$$.fragment,V),C=!1},d(V){V&&L(e),I&&I.d(),Oe(a),y=!1,P()}}}function F3(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!$e(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function U3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[107].icon&&i[48](i[107])?i[47](i[107].icon):"")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&128&&t!==(t="sap-icon "+(n[107].icon&&n[48](n[107])?n[47](n[107].icon):"")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Vg(i){let e,t,n;return{c(){e=S("img"),$e(e.src,t=i[107].icon)||f(e,"src",t),f(e,"alt",n=i[107].altText?i[107].altText:""),f(e,"class","svelte-p1ljc7")},m(l,r){A(l,e,r)},p(l,r){r[0]&128&&!$e(e.src,t=l[107].icon)&&f(e,"src",t),r[0]&128&&n!==(n=l[107].altText?l[107].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function Og(i){let e,t,n=!(i[107].hideFromNav||i[5]&&i[107].globalNav)&&Dg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[107].hideFromNav||l[5]&&l[107].globalNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&160&&R(n,1)):(n=Dg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function Mg(i){let e,t,n,l,r,a=i[13].label+"",o,c,h;function d(b,m){return m[0]&8192&&(n=null),n==null&&(n=!!(b[48](b[13])||!b[13].icon)),n?H3:B3}let g=d(i,[-1,-1,-1,-1]),p=g(i);return{c(){e=S("li"),t=S("a"),p.c(),l=W(),r=S("span"),o=Ne(a),f(r,"class","fd-menu__title"),f(t,"class","fd-menu__link"),f(t,"data-testid","mobile-product-switcher"),f(e,"class","fd-menu__item")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(t,l),w(t,r),w(r,o),c||(h=ee(t,"click",Bt(i[32])),c=!0)},p(b,m){g===(g=d(b,m))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,l))),m[0]&8192&&a!==(a=b[13].label+"")&&Le(o,a)},d(b){b&&L(e),p.d(),c=!1,h()}}}function B3(i){let e,t,n,l;return{c(){e=S("span"),t=S("img"),$e(t.src,n=i[13].icon)||f(t,"src",n),f(t,"alt",l=i[13].altText?i[13].altText:""),f(t,"class","svelte-p1ljc7"),f(e,"class","fd-top-nav__icon sap-icon svelte-p1ljc7")},m(r,a){A(r,e,a),w(e,t)},p(r,a){a[0]&8192&&!$e(t.src,n=r[13].icon)&&f(t,"src",n),a[0]&8192&&l!==(l=r[13].altText?r[13].altText:"")&&f(t,"alt",l)},d(r){r&&L(e)}}}function H3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="fd-top-nav__icon sap-icon "+i[47](i[13].icon||"grid")+" svelte-p1ljc7")},m(n,l){A(n,e,l)},p(n,l){l[0]&8192&&t!==(t="fd-top-nav__icon sap-icon "+n[47](n[13].icon||"grid")+" svelte-p1ljc7")&&f(e,"class",t)},d(n){n&&L(e)}}}function Fg(i){let e,t,n;function l(a){i[86](a)}let r={isMobile:!0};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new pp({props:r}),je.push(()=>wt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[87]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function Ug(i){let e,t;return e=new hp({props:{node:i[15],isMobile:!0,pathParams:i[31]}}),e.$on("close",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&32768&&(r.node=n[15]),l[1]&1&&(r.pathParams=n[31]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function Bg(i){let e,t,n,l,r;function a(d){i[88](d)}function o(d){i[89](d)}function c(d){i[90](d)}let h={isMobile:!0,contextSwitcherToggle:i[43]};return i[6]!==void 0&&(h.dropDownStates=i[6]),i[44]!==void 0&&(h.selectedLabel=i[44]),i[45]!==void 0&&(h.defaultLabel=i[45]),e=new _p({props:h}),je.push(()=>wt(e,"dropDownStates",a,i[6])),je.push(()=>wt(e,"selectedLabel",o,i[44])),je.push(()=>wt(e,"defaultLabel",c,i[45])),e.$on("toggleDropdownState",i[91]),{c(){Me(e.$$.fragment)},m(d,g){Ve(e,d,g),r=!0},p(d,g){const p={};g[1]&4096&&(p.contextSwitcherToggle=d[43]),!t&&g[0]&64&&(t=!0,p.dropDownStates=d[6],vt(()=>t=!1)),!n&&g[1]&8192&&(n=!0,p.selectedLabel=d[44],vt(()=>n=!1)),!l&&g[1]&16384&&(l=!0,p.defaultLabel=d[45],vt(()=>l=!1)),e.$set(p)},i(d){r||(R(e.$$.fragment,d),r=!0)},o(d){U(e.$$.fragment,d),r=!1},d(d){Oe(e,d)}}}function Hg(i){let e,t,n,l,r;const a=[q3,W3],o=[];function c(h,d){return d[0]&16&&(t=null),t==null&&(t=!!(h[4]==="Fiori3"&&le.requestExperimentalFeature("profileMenuFiori3",!0))),t?0:1}return n=c(i,[-1,-1,-1,-1]),l=o[n]=a[n](i),{c(){e=S("div"),l.c(),f(e,"class","fd-shellbar__action fd-shellbar__action--show-always"),f(e,"data-testid","luigi-topnav-profile")},m(h,d){A(h,e,d),o[n].m(e,null),r=!0},p(h,d){let g=n;n=c(h,d),n===g?o[n].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),l=o[n],l?l.p(h,d):(l=o[n]=a[n](h),l.c()),R(l,1),l.m(e,null))},i(h){r||(R(l),r=!0)},o(h){U(l),r=!1},d(h){h&&L(e),o[n].d()}}}function W3(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v;function C(I,T){return I[17].picture?G3:z3}let y=C(i),P=y(i);return g=new cp({props:{addNavHrefForAnchor:i[27]}}),g.$on("toggleDropdownState",i[96]),g.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),r=S("button"),P.c(),h=W(),d=S("div"),Me(g.$$.fragment),f(r,"class","fd-button fd-button--transparent fd-shellbar__button svelte-p1ljc7"),f(r,"aria-expanded",a=i[6].profilePopover||!1),f(r,"aria-haspopup","true"),f(r,"aria-controls","profilePopover"),f(r,"title",o=i[17].name?i[17].name:void 0),f(r,"tabindex","0"),f(r,"data-testid","luigi-topnav-profile-btn"),f(l,"class",c=i[17].picture?"fd-shellbar__button--user-menu":""),f(n,"class","fd-popover__control"),f(d,"class","fd-popover__body fd-popover__body--right"),f(d,"aria-hidden",p=!i[6].profilePopover),f(d,"id","profilePopover"),f(t,"class","fd-popover"),f(e,"class","fd-user-menu svelte-p1ljc7")},m(I,T){A(I,e,T),w(e,t),w(t,n),w(n,l),w(l,r),P.m(r,null),w(t,h),w(t,d),Ve(g,d,null),b=!0,m||(v=[ee(r,"click",i[95]),ee(n,"click",Bt($3))],m=!0)},p(I,T){y===(y=C(I))&&P?P.p(I,T):(P.d(1),P=y(I),P&&(P.c(),P.m(r,null))),(!b||T[0]&64&&a!==(a=I[6].profilePopover||!1))&&f(r,"aria-expanded",a),(!b||T[0]&131072&&o!==(o=I[17].name?I[17].name:void 0))&&f(r,"title",o),(!b||T[0]&131072&&c!==(c=I[17].picture?"fd-shellbar__button--user-menu":""))&&f(l,"class",c);const V={};T[0]&134217728&&(V.addNavHrefForAnchor=I[27]),g.$set(V),(!b||T[0]&64&&p!==(p=!I[6].profilePopover))&&f(d,"aria-hidden",p)},i(I){b||(R(g.$$.fragment,I),b=!0)},o(I){U(g.$$.fragment,I),b=!1},d(I){I&&L(e),P.d(),Oe(g),m=!1,Je(v)}}}function q3(i){let e,t,n,l,r,a,o,c,h;function d(b,m){return b[17].picture?j3:K3}let g=d(i),p=g(i);return r=new nC({props:{addNavHrefForAnchor:i[27]}}),r.$on("toggleDropdownState",i[94]),r.$on("userInfoUpdated",i[42]),{c(){e=S("div"),t=S("div"),p.c(),n=W(),l=S("div"),Me(r.$$.fragment),f(t,"class","fd-popover__control"),f(l,"class","fd-popover__body fd-popover__body--right"),f(l,"aria-hidden",a=!i[6].profilePopover),f(l,"id","profilePopover"),f(e,"class","fd-popover fd-popover--right fd-user-menu svelte-p1ljc7")},m(b,m){A(b,e,m),w(e,t),p.m(t,null),w(e,n),w(e,l),Ve(r,l,null),o=!0,c||(h=ee(t,"click",Bt(X3)),c=!0)},p(b,m){g===(g=d(b))&&p?p.p(b,m):(p.d(1),p=g(b),p&&(p.c(),p.m(t,null)));const v={};m[0]&134217728&&(v.addNavHrefForAnchor=b[27]),r.$set(v),(!o||m[0]&64&&a!==(a=!b[6].profilePopover))&&f(l,"aria-hidden",a)},i(b){o||(R(r.$$.fragment,b),o=!0)},o(b){U(r.$$.fragment,b),o=!1},d(b){b&&L(e),p.d(),Oe(r),c=!1,h()}}}function z3(i){let e,t;return{c(){e=S("i"),f(e,"class",t="sap-icon "+(i[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))},m(n,l){A(n,e,l)},p(n,l){l[0]&131072&&t!==(t="sap-icon "+(n[17].picture?"fd-identifier fd-identifier--xs fd-identifier--circle":"sap-icon--customer"))&&f(e,"class",t)},d(n){n&&L(e)}}}function G3(i){let e;return{c(){e=S("span"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle svelte-p1ljc7"),On(e,"background-image","url('"+i[17].picture+"')")},m(t,n){A(t,e,n)},p(t,n){n[0]&131072&&On(e,"background-image","url('"+t[17].picture+"')")},d(t){t&&L(e)}}}function K3(i){let e,t=(i[17].initials?i[17].initials:"")+"",n,l,r,a;return{c(){e=S("button"),n=Ne(t),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",l=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),f(e,"data-testid","luigi-topnav-profile-initials")},m(o,c){A(o,e,c),w(e,n),r||(a=ee(e,"click",i[93]),r=!0)},p(o,c){c[0]&131072&&t!==(t=(o[17].initials?o[17].initials:"")+"")&&Le(n,t),c[0]&131072&&l!==(l=o[17].name?o[17].name:void 0)&&f(e,"title",l)},d(o){o&&L(e),r=!1,a()}}}function j3(i){let e,t,n,l;return{c(){e=S("button"),f(e,"class","fd-avatar fd-avatar--xs fd-avatar--circle fd-avatar--thumbnail svelte-p1ljc7"),f(e,"aria-controls","profilePopover"),f(e,"aria-expanded","true"),f(e,"aria-haspopup","true"),f(e,"title",t=i[17].name?i[17].name:void 0),f(e,"tabindex","0"),On(e,"background-image","url('"+i[17].picture+"')"),f(e,"data-testid","luigi-topnav-profile-btn")},m(r,a){A(r,e,a),n||(l=ee(e,"click",i[92]),n=!0)},p(r,a){a[0]&131072&&t!==(t=r[17].name?r[17].name:void 0)&&f(e,"title",t),a[0]&131072&&On(e,"background-image","url('"+r[17].picture+"')")},d(r){r&&L(e),n=!1,l()}}}function Wg(i){let e,t,n;function l(a){i[97](a)}let r={isMobile:!1,addNavHrefForAnchor:i[27]};return i[6]!==void 0&&(r.dropDownStates=i[6]),e=new pp({props:r}),je.push(()=>wt(e,"dropDownStates",l,i[6])),e.$on("toggleDropdownState",i[98]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};o[0]&134217728&&(c.addNavHrefForAnchor=a[27]),!t&&o[0]&64&&(t=!0,c.dropDownStates=a[6],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function J3(i){let e,t,n,l,r,a;const o=[A3,L3],c=[];function h(d,g){return d[28]?0:1}return e=h(i),t=c[e]=o[e](i),{c(){t.c(),n=ke()},m(d,g){c[e].m(d,g),A(d,n,g),l=!0,r||(a=[ee(mg,"click",i[41]),ee(mg,"blur",i[41])],r=!0)},p(d,g){let p=e;e=h(d),e===p?c[e].p(d,g):(ve(),U(c[p],1,1,()=>{c[p]=null}),we(),t=c[e],t?t.p(d,g):(t=c[e]=o[e](d),t.c()),R(t,1),t.m(n.parentNode,n))},i(d){l||(R(t),l=!0)},o(d){U(t),l=!1},d(d){c[e].d(d),d&&L(n),r=!1,Je(a)}}}const Y3=i=>!i.hideFromNav&&i.label,qg=i=>!i.hideFromNav&&i.label,Q3=()=>{},Z3=()=>{},X3=()=>{},$3=()=>{};function x3(i,e,t){const n=Jt();let{authorizationEnabled:l}=e,{autologinEnabled:r}=e,{isLoggedIn:a=!1}=e,{hideSearchComponent:o}=e,{hideNavComponent:c}=e,{responsiveNavSetting:h}=e,{profileTypeSettings:d}=e,{showGlobalNav:g}=e,{pathData:p}=e,b,{pathParams:m}=e,{dropDownStates:v={}}=e,{children:C}=e,{selectedNode:y}=e,{visibleNodeCount:P}=e,{globalNavNodeCount:I}=e,{totalBadgeNode:T}=e,{isProductSwitcherAvailable:V}=e,{productSwitcherConfig:E}=e,{openMobileDropDown:H}=e,{nodeForMobile:D}=e,{profileItemsAvailable:O}=e,{userInfo:z={}}=e,{globalSearchConfig:Q}=e,{isGlobalSearchCentered:X}=e,{isSearchFieldVisible:ce}=e,{inputElem:Z}=e,{customSearchItemRendererSlot:G}=e,{displaySearchResult:j}=e,{searchResult:ae}=e,{burgerTooltip:fe}=e,{responsiveShellbarPadding:ne}=e,se=kt("store"),Se=!1,ie,Re,ze=te.getConfigValue("navigation.contextSwitcher"),{addNavHrefForAnchor:Ce=te.getConfigBooleanValue("navigation.addNavHrefs")}=e;const Pe=async()=>{if(p&&0<p.length){const Y=await re.generateTopNavNodes(p);t(7,C=Y.children),t(8,y=Y.selectedNode),t(9,P=Y.visibleNodeCount),t(11,T=Y.totalBadgeNode),t(10,I=Y.globalNavNodeCount),window.TOPNAVDATA=Y.children,b=p}},Fe=()=>{t(1,a=fl.isLoggedIn())};nn(()=>{pn.doOnStoreChange(se,()=>{t(0,l=mi.isAuthorizationEnabled()),t(16,O=te.getConfigValue("navigation.profile")),t(53,r=!te.getConfigValue("auth.disableAutoLogin")),t(12,V=te.getConfigValue("navigation.productSwitcher")),t(2,c=te.getConfigBooleanValue("settings.hideNavigation")),t(3,h=te.getConfigValue("settings.responsiveNavigation")),t(4,d=te.getConfigValue("settings.profileType")),t(26,ne=te.getConfigValue("settings.header.responsiveShellbarPaddings")),t(13,E=re.getProductSwitcherConfig()),t(18,Q=te.getConfigValue("globalSearch")),t(19,X=Q&&Q.searchFieldCentered&&le.requestExperimentalFeature("globalSearchCentered",!0)),t(5,g=te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),t(27,Ce=te.getConfigBooleanValue("navigation.addNavHrefs")),t(46,ze=te.getConfigValue("navigation.contextSwitcher"))},["navigation"]),pn.doOnStoreChange(se,()=>{Pe()},["navigation.viewgroupdata"]),Mn.addEventListener("message",Y=>{Y.data.msg==="luigi.navigation.update-badge-counters"&&Pe()})}),zn(()=>{(!b||b!=p)&&Pe(),Fe()});let{showTopNav:ct}=e;function qe(Y){return re.renderIconClassName(Y)}function dt(Y){return re.isOpenUIiconName(Y.icon)}const Ft=Y=>re.getNodeLabel(Y);function de(Y){return me.getNodeHref(Y,m)}function xe(Y,Rt){return re.generateTooltipText(Y,Rt)}function St(){tt("productSwitcherPopover")}function ln(){t(43,Se=!Se),tt("contextSwitcherPopover")}function Ln(Y){t(14,H=!0),t(15,D=Y)}function an(){t(14,H=!1)}function Ht(Y){n("handleClick",{node:Y})}function Te(Y){n("handleSearchNavigation",{node:Y})}function rt(Y){Ht(Y.detail.node)}function tt(Y){const Rt=v||{},bn=!Rt[Y];Lt(),an(),Rt[Y]=bn,t(6,v=Rt)}function Yt(Y){tt(Y.detail.name)}function Qt(){Z&&Z.focus()}function An(){ce||setTimeout(()=>{Qt()}),n("toggleSearch",{isSearchFieldVisible:ce,inputElem:Z,customSearchItemRendererSlot:G})}function Lt(){const Y=v||{},Rt=Object.keys(Y);Rt&&Rt.length>0&&Rt.forEach(bn=>{Y[bn]=!1,t(6,v=Y)})}function gn(){h==="simple"||h==="simpleMobileOnly"?Gt():Sn(),xn()}function xn(){if(!re.getBurgerTooltipConfig())return;const[Y,Rt]=re.getBurgerTooltipConfig();Y&&Rt&&(document.body.classList.contains("lui-simpleSlideInNav")&&t(25,fe=document.body.classList.contains("lui-leftNavToggle")?Y:Rt),document.body.classList.contains("lui-semiCollapsible")&&t(25,fe=document.body.classList.contains("semiCollapsed")?Y:Rt))}function Gt(){document.body.classList.toggle("lui-leftNavToggle"),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function Sn(){pi.buttonClicked(),document.getElementsByClassName("luigi-tabsContainerHeader").length>0&&n("resizeTabNav",{})}function wi(Y){const Rt=Y.detail;t(17,z=Rt||{})}function ki(Y){v=Y,t(6,v)}function mn(Y){ce=Y,t(20,ce)}function Si(Y){ae=Y,t(24,ae)}function Ci(Y){j=Y,t(23,j)}function yi(Y){Z=Y,t(21,Z)}function Pi(Y){G=Y,t(22,G)}function Ii(Y){Ul.call(this,i,Y)}function pl(Y){Ul.call(this,i,Y)}function ml(Y){Ul.call(this,i,Y)}function bl(Y){ce=Y,t(20,ce)}function Ni(Y){ae=Y,t(24,ae)}function Gi(Y){j=Y,t(23,j)}function Ki(Y){Z=Y,t(21,Z)}function oi(Y){G=Y,t(22,G)}function vl(Y){Ul.call(this,i,Y)}function wl(Y){Ul.call(this,i,Y)}function ji(Y){Ul.call(this,i,Y)}function kl(Y){v=Y,t(6,v)}const Sl=()=>tt("contextSwitcherPopover");function Cl(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const Ti=Y=>tt(`dropDownPopover-${Y}`);function yl(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const ei=(Y,Rt)=>{re.handleNavAnchorClickedWithoutMetaKey(Rt)&&Ht(Y)};function Li(Y,Rt,bn,ti){bn[ti]=Y,t(7,C)}const ui=Y=>Ht(Y),Ai=()=>tt("overflowPopover"),fi=()=>{An(),tt("overflowPopover")},K=Y=>Ht(Y),be=Y=>Ln(Y);function Xe(Y){v=Y,t(6,v)}const nt=()=>tt("productSwitcherPopover");function it(Y){v=Y,t(6,v)}function bt(Y){ie=Y,t(44,ie)}function Wt(Y){Re=Y,t(45,Re)}const Zt=()=>tt("contextSwitcherPopover"),ci=()=>tt("profilePopover"),Ji=()=>tt("profilePopover"),Pl=()=>tt("profilePopover"),di=()=>tt("profilePopover"),Il=()=>tt("profilePopover");function Ei(Y){v=Y,t(6,v)}const ql=()=>tt("productSwitcherPopover"),br=()=>tt("profilePopover");return i.$$set=Y=>{"authorizationEnabled"in Y&&t(0,l=Y.authorizationEnabled),"autologinEnabled"in Y&&t(53,r=Y.autologinEnabled),"isLoggedIn"in Y&&t(1,a=Y.isLoggedIn),"hideSearchComponent"in Y&&t(29,o=Y.hideSearchComponent),"hideNavComponent"in Y&&t(2,c=Y.hideNavComponent),"responsiveNavSetting"in Y&&t(3,h=Y.responsiveNavSetting),"profileTypeSettings"in Y&&t(4,d=Y.profileTypeSettings),"showGlobalNav"in Y&&t(5,g=Y.showGlobalNav),"pathData"in Y&&t(30,p=Y.pathData),"pathParams"in Y&&t(31,m=Y.pathParams),"dropDownStates"in Y&&t(6,v=Y.dropDownStates),"children"in Y&&t(7,C=Y.children),"selectedNode"in Y&&t(8,y=Y.selectedNode),"visibleNodeCount"in Y&&t(9,P=Y.visibleNodeCount),"globalNavNodeCount"in Y&&t(10,I=Y.globalNavNodeCount),"totalBadgeNode"in Y&&t(11,T=Y.totalBadgeNode),"isProductSwitcherAvailable"in Y&&t(12,V=Y.isProductSwitcherAvailable),"productSwitcherConfig"in Y&&t(13,E=Y.productSwitcherConfig),"openMobileDropDown"in Y&&t(14,H=Y.openMobileDropDown),"nodeForMobile"in Y&&t(15,D=Y.nodeForMobile),"profileItemsAvailable"in Y&&t(16,O=Y.profileItemsAvailable),"userInfo"in Y&&t(17,z=Y.userInfo),"globalSearchConfig"in Y&&t(18,Q=Y.globalSearchConfig),"isGlobalSearchCentered"in Y&&t(19,X=Y.isGlobalSearchCentered),"isSearchFieldVisible"in Y&&t(20,ce=Y.isSearchFieldVisible),"inputElem"in Y&&t(21,Z=Y.inputElem),"customSearchItemRendererSlot"in Y&&t(22,G=Y.customSearchItemRendererSlot),"displaySearchResult"in Y&&t(23,j=Y.displaySearchResult),"searchResult"in Y&&t(24,ae=Y.searchResult),"burgerTooltip"in Y&&t(25,fe=Y.burgerTooltip),"responsiveShellbarPadding"in Y&&t(26,ne=Y.responsiveShellbarPadding),"addNavHrefForAnchor"in Y&&t(27,Ce=Y.addNavHrefForAnchor),"showTopNav"in Y&&t(28,ct=Y.showTopNav)},i.$$.update=()=>{i.$$.dirty[0]&3|i.$$.dirty[1]&4194304&&t(28,ct=l&&(!r||a)||!l)},[l,a,c,h,d,g,v,C,y,P,I,T,V,E,H,D,O,z,Q,X,ce,Z,G,j,ae,fe,ne,Ce,ct,o,p,m,St,ln,Ln,an,Ht,rt,tt,Yt,An,Lt,wi,Se,ie,Re,ze,qe,dt,Ft,de,xe,gn,r,Te,Gt,Sn,ki,mn,Si,Ci,yi,Pi,Ii,pl,ml,bl,Ni,Gi,Ki,oi,vl,wl,ji,kl,Sl,Cl,Ti,yl,ei,Li,ui,Ai,fi,K,be,Xe,nt,it,bt,Wt,Zt,ci,Ji,Pl,di,Il,Ei,ql,br]}class bp extends Vt{constructor(e){super(),Dt(this,e,x3,J3,Et,{authorizationEnabled:0,autologinEnabled:53,isLoggedIn:1,hideSearchComponent:29,hideNavComponent:2,responsiveNavSetting:3,profileTypeSettings:4,showGlobalNav:5,pathData:30,pathParams:31,dropDownStates:6,children:7,selectedNode:8,visibleNodeCount:9,globalNavNodeCount:10,totalBadgeNode:11,isProductSwitcherAvailable:12,productSwitcherConfig:13,openMobileDropDown:14,nodeForMobile:15,profileItemsAvailable:16,userInfo:17,globalSearchConfig:18,isGlobalSearchCentered:19,isSearchFieldVisible:20,inputElem:21,customSearchItemRendererSlot:22,displaySearchResult:23,searchResult:24,burgerTooltip:25,responsiveShellbarPadding:26,addNavHrefForAnchor:27,showTopNav:28,openMobileProductSwitcher:32,openMobileContextSwitcher:33,openMobileTopNavDropDown:34,closeMobileTopNavDropDown:35,handleClick:36,handleSearchNavigation:54,handleClickExternal:37,toggleDropdownState:38,toggleDropdownStateExternal:39,toggleSearch:40,closeAllDropdowns:41,simpleNav:55,semicollapsedNav:56,userInfoUpdate:42},null,[-1,-1,-1,-1])}get openMobileProductSwitcher(){return this.$$.ctx[32]}get openMobileContextSwitcher(){return this.$$.ctx[33]}get openMobileTopNavDropDown(){return this.$$.ctx[34]}get closeMobileTopNavDropDown(){return this.$$.ctx[35]}get handleClick(){return this.$$.ctx[36]}get handleSearchNavigation(){return this.$$.ctx[54]}get handleClickExternal(){return this.$$.ctx[37]}get toggleDropdownState(){return this.$$.ctx[38]}get toggleDropdownStateExternal(){return this.$$.ctx[39]}get toggleSearch(){return this.$$.ctx[40]}get closeAllDropdowns(){return this.$$.ctx[41]}get simpleNav(){return this.$$.ctx[55]}get semicollapsedNav(){return this.$$.ctx[56]}get userInfoUpdate(){return this.$$.ctx[42]}}function zg(i){let e;return{c(){e=S("div"),f(e,"class","lui-tab-header")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function e9(i){let e,t=i[0]&&zg();return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,[l]){n[0]?t||(t=zg(),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:We,o:We,d(n){t&&t.d(n),n&&L(e)}}}function t9(i,e,t){let{node:n}=e;async function l(){var o,c;const r=me.mapPathToNode(at.getCurrentPath(),n),a=await Ut.extractDataFromPath(r);return{context:((o=a==null?void 0:a.pathData)==null?void 0:o.context)||n.context,pathParams:((c=a.pathData)==null?void 0:c.pathParams)||{},clientPermissions:a.nodeObject.clientPermissions||{}}}return nn(()=>{document.querySelector(".lui-tab-header").innerHTML="",setTimeout(async()=>{if(n.webcomponent&&n.tabNav.showAsTabHeader){const r=await l(),a=document.querySelector(".lui-tab-header");dr.renderWebComponent(n.viewUrl,a,r,n),a.addEventListener("lui_ctx_update",async()=>{const o=document.querySelector(".lui-tab-header [lui_web_component]");o&&(o.context=r.context)}),document.querySelector(".iframeContainerTabNav").classList.add("lui-tab-header__active")}else console.warn("Horizontal navigation custom header microfrontend requires a webcomponent type node and tabNav.showAsTabHeader property set.")})}),i.$$set=r=>{"node"in r&&t(0,n=r.node)},[n]}class n9 extends Vt{constructor(e){super(),Dt(this,e,t9,e9,Et,{node:0})}}const{window:Vo}=_l;function Gg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Kg(i,e,t){const n=i.slice();return n[57]=e[t],n}function jg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Jg(i,e,t){const n=i.slice();return n[53]=e[t][0],n[54]=e[t][1],n[56]=t,n}function Yg(i,e,t){const n=i.slice();return n[57]=e[t],n}function Qg(i,e,t){const n=i.slice();return n[57]=e[t],n}function i9(i){const e=i.slice(),t=vp(e[54]);return e[67]=t,e}function Zg(i,e,t){const n=i.slice();return n[57]=e[t],n[59]=t,n}function Oo(i){const e=i.slice(),t=e[57]===e[2];return e[64]=t,e}function l9(i){const e=i.slice(),t=`${e[56]}-0`;e[65]=t;const n=`lui-${e[65]}-popover`;return e[66]=n,e}function Xg(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m,v,C,y=i[11].parent&&i[11].parent.tabNav&&i[11].parent.tabNav.showAsTabHeader&&$g(i),P=Object.entries(i[0]),I=[];for(let D=0;D<P.length;D+=1)I[D]=s_(Jg(i,P,D));const T=D=>U(I[D],1,1,()=>{I[D]=null});let V=Object.entries(i[0]),E=[];for(let D=0;D<V.length;D+=1)E[D]=c_(Gg(i,V,D));const H=D=>U(E[D],1,1,()=>{E[D]=null});return{c(){e=S("div"),y&&y.c(),t=W(),n=S("nav"),l=S("div");for(let D=0;D<I.length;D+=1)I[D].c();r=W(),a=S("span"),o=S("div"),c=S("div"),h=S("button"),h.innerHTML=`<span class="label fd-icon-tab-bar__overflow-text">More</span>
59
- <span class="sap-icon--slim-arrow-down"></span>`,d=W(),g=S("div"),p=S("ul");for(let D=0;D<E.length;D+=1)E[D].c();f(h,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(D,O){A(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let z=0;z<I.length;z+=1)I[z].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let z=0;z<E.length;z+=1)E[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",mt(i[10])),ee(a,"click",b9),ee(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=$g(D),y.c(),R(y,1),y.m(e,t)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),O[0]&3866829){P=Object.entries(D[0]);let z;for(z=0;z<P.length;z+=1){const Q=Jg(D,P,z);I[z]?(I[z].p(Q,O),R(I[z],1)):(I[z]=s_(Q),I[z].c(),R(I[z],1),I[z].m(l,r))}for(ve(),z=P.length;z<I.length;z+=1)T(z);we()}if(O[0]&1704173){V=Object.entries(D[0]);let z;for(z=0;z<V.length;z+=1){const Q=Gg(D,V,z);E[z]?(E[z].p(Q,O),R(E[z],1)):(E[z]=c_(Q),E[z].c(),R(E[z],1),E[z].m(p,null))}for(ve(),z=V.length;z<E.length;z+=1)H(z);we()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(I[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),I=I.filter(Boolean);for(let O=0;O<I.length;O+=1)U(I[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&L(e),y&&y.d(),ft(I,D),i[31](null),ft(E,D),i[36](null),i[37](null),i[39](null),v=!1,Je(C)}}}function $g(i){let e,t;return e=new n9({props:{node:i[11].parent}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function r9(i){let e,t,n,l,r;const a=[o9,s9],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!h9(d[54])),e?0:1}function h(d,g){return g===0?i9(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=ke()},m(d,g){o[t].m(d,g),A(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(ve(),U(o[p],1,1,()=>{o[p]=null}),we(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){o[t].d(d),d&&L(l)}}}function a9(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=a_(Zg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=Zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=a_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function s9(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V;function E(){return i[29](i[53])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=t_(Yg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ne(o),h=W(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=S("div"),m=S("ul");for(let z=0;z<D.length;z+=1)D[z].c();y=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",g=cl(i[53],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=cl(i[53],i[2]))},m(z,Q){A(z,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let X=0;X<D.length;X+=1)D[X].m(m,null);w(e,y),I=!0,T||(V=[ee(l,"click",mt(E)),ee(e,"click",m9)],T=!0)},p(z,Q){if(i=z,(!I||Q[0]&131073)&&o!==(o=i[17](i[53])+"")&&Le(c,o),(!I||Q[0]&5&&g!==(g=cl(i[53],i[2])))&&f(l,"aria-selected",g),Q[0]&1572933){H=i[54];let X;for(X=0;X<H.length;X+=1){const ce=Yg(i,H,X);D[X]?(D[X].p(ce,Q),R(D[X],1)):(D[X]=t_(ce),D[X].c(),R(D[X],1),D[X].m(m,null))}for(ve(),X=H.length;X<D.length;X+=1)O(X);we()}(!I||Q[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!I||Q[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!I||Q[0]&5&&P!==(P=cl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!I){for(let Q=0;Q<H.length;Q+=1)R(D[Q]);I=!0}},o(z){D=D.filter(Boolean);for(let Q=0;Q<D.length;Q+=1)U(D[Q]);I=!1},d(z){z&&L(e),ft(D,z),T=!1,Je(V)}}}function o9(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=i[54],z=[];for(let Q=0;Q<O.length;Q+=1)z[Q]=i_(Qg(i,O,Q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),c=W(),h=S("div"),d=S("div"),g=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let Q=0;Q<z.length;Q+=1)z[Q].c();T=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=cl(i[53],i[2])),f(t,"href",o=i[20](i[67])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",I=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Q,X){A(Q,e,X),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<z.length;ce+=1)z[ce].m(y,null);w(e,T),V||(E=[ee(t,"click",mt(H)),ee(p,"click",mt(D)),ee(e,"click",p9)],V=!0)},p(Q,X){if(i=Q,X[0]&131073&&l!==(l=i[17](i[53])+"")&&Le(r,l),X[0]&5&&a!==(a=cl(i[53],i[2]))&&f(t,"aria-selected",a),X[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),X[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),X[0]&1572933){O=i[54];let ce;for(ce=0;ce<O.length;ce+=1){const Z=Qg(i,O,ce);z[ce]?z[ce].p(Z,X):(z[ce]=i_(Z),z[ce].c(),z[ce].m(y,null))}for(;ce<z.length;ce+=1)z[ce].d(1);z.length=O.length}X[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),X[0]&9&&I!==(I=!i[3][i[53]])&&f(C,"aria-hidden",I)},i:We,o:We,d(Q){Q&&L(e),ft(z,Q),V=!1,Je(E)}}}function xg(i){let e,t,n=i[57].label&&e_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=e_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function e_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(o),b=!1,m()}}}function t_(i){let e,t,n=!i[57].hideFromNav&&xg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[20](i[57])),f(t,"aria-selected",o=i[57]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",mt(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Le(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),h=!1,d()}}}function i_(i){let e,t=!i[57].hideFromNav&&i[57].label&&n_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=n_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function l_(i){let e,t,n=i[57].label&&r_(Oo(i));return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Oo(l),r),r[0]&1&&R(n,1)):(n=r_(Oo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function r_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new $n({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),b=!0,m||(v=ee(t,"click",mt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const I={};P[0]&1&&(I.node=i[57]),o.$set(I),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&L(e),Oe(o),m=!1,v()}}}function a_(i){let e,t,n=!i[57].hideFromNav&&l_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=l_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function s_(i){let e,t,n,l,r,a;const o=[a9,r9],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!d9(g[54])),t?1:-1)}function d(g,p){return p===1?l9(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=ke()},m(g,p){~n&&c[n].m(g,p),A(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(ve(),U(c[b],1,1,()=>{c[b]=null}),we()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){~n&&c[n].d(g),g&&L(r)}}}function u9(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=u_(Kg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=W(),d=S("button"),g=S("i"),m=W(),v=S("ul");for(let z=0;z<D.length;z+=1)D[z].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=cl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[53]+i[56]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(z,Q){A(z,e,Q),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let X=0;X<D.length;X+=1)D[X].m(v,null);w(e,y),P=!0,I||(T=[ee(n,"click",mt(V)),ee(d,"click",mt(E))],I=!0)},p(z,Q){if(i=z,(!P||Q[0]&131073)&&r!==(r=i[17](i[53])+"")&&Le(a,r),(!P||Q[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Q[0]&5&&c!==(c=cl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Q[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Q[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Q[0]&1572933){H=i[54];let X;for(X=0;X<H.length;X+=1){const ce=Kg(i,H,X);D[X]?(D[X].p(ce,Q),R(D[X],1)):(D[X]=u_(ce),D[X].c(),R(D[X],1),D[X].m(v,null))}for(ve(),X=H.length;X<D.length;X+=1)O(X);we()}(!P||Q[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Q=0;Q<H.length;Q+=1)R(D[Q]);P=!0}},o(z){D=D.filter(Boolean);for(let Q=0;Q<D.length;Q+=1)U(D[Q]);P=!1},d(z){z&&L(e),ft(D,z),I=!1,Je(T)}}}function f9(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=f_(jg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=jg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=f_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function o_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(o),b=!1,m()}}}function u_(i){let e,t,n=i[57].label&&o_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=o_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(o),b=!1,m()}}}function c_(i){let e,t,n,l,r;const a=[f9,u9],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ke()},m(h,d){o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){o[t].d(h),h&&L(l)}}}function c9(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Xg(i);return{c(){r&&r.c(),e=ke()},m(a,o){r&&r.m(a,o),A(a,e,o),t=!0,n||(l=[ee(Vo,"click",i[8]),ee(Vo,"blur",i[8]),ee(Vo,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=Xg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){r&&r.d(a),a&&L(e),n=!1,Je(l)}}}function cl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function d9(i){return i.some(e=>!e.hideFromNav&&e.label)}function vp(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function h9(i){return!!vp(i)}function g9(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function _9(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),g9(e)||e.classList.add("fd-popover__body--right")})}const p9=i=>i.stopPropagation(),m9=i=>i.stopPropagation(),b9=i=>i.stopPropagation();function v9(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=re.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=kt("getTranslation");vi(i,C,Te=>t(17,n=Te));let y=kt("store"),P,I,T,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(rt=>{rt==="pathData"?t(1,r=Te.pathData):rt==="context"?context=Te.context:rt==="children"?t(0,l=Te.children):rt==="selectedNode"?t(11,b=Te.selectedNode):rt==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Jt();function z(Te){return re.getNodeLabel(Te)}const Q=async()=>{const Te=D.get(),rt=await Ut.getTabNavData({...Te},Te);rt&&(D.set({...rt}),m=r,window.LEFTNAVDATA=rt.groupedChildren,setTimeout(X))},X=()=>{if(ce(),T&&V&&E){E.classList.remove("is-active");const Te=getComputedStyle(T),rt=T.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let tt=0,Yt=!1;[...T.children].forEach(Qt=>{const An=Qt.getAttribute("uid");if(!An)return;const Lt=getComputedStyle(Qt),gn=parseFloat(Lt.marginLeft)+parseFloat(Lt.marginRight);tt+=Qt.offsetWidth+gn,tt>=rt?(Qt.classList.add("hide_element"),Qt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+An+'"]').classList.remove("hide_element"),Yt=!0):document.querySelector('li[uid="'+An+'"]').classList.add("hide_element")}),Yt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{T!==void 0&&[...T.children].forEach(rt=>{rt.classList.remove("hide_element")})},Z=()=>{P=new ResizeObserver(Te=>{for(const rt of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",rt.contentRect.height+"px");H&&_9()}),setTimeout(()=>{I&&P.observe(I)})},G=()=>{P&&P.disconnect()};nn(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Z(),pn.doOnStoreChange(y,()=>{Q()},["navigation.viewgroupdata"])}),Xr(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!m||m!=r)&&Q(),(v===void 0||v!==p)&&(v=p,Q())}),Zr(()=>{G(),P?setTimeout(()=>{I&&P.observe(I)}):Z()});function j(Te){return me.getNodeHref(Te,a)}function ae(Te){ne(),O("handleClick",{node:Te})}function fe(Te){let rt={};d[Te]||(rt[Te]=!0),t(3,d=rt)}function ne(){t(3,d={}),t(4,g=!1)}function se(){ce(),X()}function Se(){t(4,g=!g)}function ie(Te,rt){const tt=Te==="undefined",Yt=Te.indexOf(c)===0;if(tt||Yt||Re(rt))return!0}function Re(Te){const rt=Te.find(Qt=>le.isObject(Qt.category));if(!rt)return;const tt=rt.category.label||rt.category.id;return Te.filter(Qt=>Qt.category===tt&&Qt.hideFromNav===!0).length===1}const ze=Te=>ae(Te),Ce=Te=>ae(Te),Pe=Te=>fe(Te),Fe=Te=>ae(Te),ct=Te=>fe(Te),qe=Te=>ae(Te);function dt(Te){je[Te?"unshift":"push"](()=>{E=Te,t(15,E)})}const Ft=Te=>ae(Te),de=(Te,rt)=>fe(Te+rt),xe=(Te,rt)=>fe(Te+rt),St=Te=>ae(Te);function ln(Te){je[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function Ln(Te){je[Te?"unshift":"push"](()=>{T=Te,t(13,T)})}const an=Te=>fe(Te.name);function Ht(Te){je[Te?"unshift":"push"](()=>{I=Te,t(12,I)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,ae,fe,ne,se,Se,b,I,T,V,E,H,n,C,z,j,ie,o,a,p,ze,Ce,Pe,Fe,ct,qe,dt,Ft,de,xe,St,ln,Ln,an,Ht]}class wp extends Vt{constructor(e){super(),Dt(this,e,v9,c9,Et,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function d_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function h_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function g_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&__(i),o=i[0]&&i[3].length>=0&&v_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=W(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){A(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=__(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=v_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),a&&a.d(),o&&o.d()}}}function __(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=b_(h_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=h_(l,t,a);n[a]?n[a].p(o,r):(n[a]=b_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function p_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&m_(i);function P(...I){return i[17](i[23],...I)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,T){A(I,e,T),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=ee(t,"click",P),v=!0)},p(I,T){i=I,i[23].icon?y?y.p(i,T):(y=m_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),T&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),T&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),T&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),T&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&L(e),y&&y.d(),v=!1,C()}}}function m_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?k9:w9}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function w9(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),$e(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function k9(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function b_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&p_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=p_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function v_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=S_(d_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=d_(l,t,a);n[a]?n[a].p(o,r):(n[a]=S_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function w_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&k_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,T){A(I,e,T),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=ee(n,"click",mt(P)),v=!0)},p(I,T){i=I,i[23].icon?y?y.p(i,T):(y=k_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),T&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),T&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),T&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),T&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&L(e),y&&y.d(),v=!1,C()}}}function k_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?C9:S9}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function S9(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),$e(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function C9(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function S_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&w_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=w_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function y9(i){let e,t,n,l=i[2]&&g_(i);return{c(){l&&l.c(),e=ke()},m(r,a){l&&l.m(r,a),A(r,e,a),t||(n=[ee(window,"click",cs),ee(window,"blur",cs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=g_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:We,o:We,d(r){l&&l.d(r),r&&L(e),t=!1,Je(n)}}}function cs(){}function P9(i,e,t){let n;const l=Jt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=kt("store"),g=kt("getTranslation");vi(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await re.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};nn(()=>{pn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return re.renderIconClassName(O)}function P(O){return re.isOpenUIiconName(O.icon)}function I(O){return Tt.getTranslation(O.label)}function T(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,z)=>{re.handleNavAnchorClickedWithoutMetaKey(z)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,cs,v,n,g,y,P,I,T,b,m,o,E,H,D]}class I9 extends Vt{constructor(e){super(),Dt(this,e,P9,y9,Et,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return cs}}function N9(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){A(t,e,n),i[4](e)},p:We,i:We,o:We,d(t){t&&L(e),i[4](null)}}}function T9(i,e,t){const n=Jt();let{pathData:l}=e,r,a={},o,c=kt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};nn(()=>{pn.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=at.getCurrentPath();for(let I=y;I<l.length;I++){const T=l[I],V=me.mapPathToNode(P,T);if(a[V])C.push(a[V]);else if(T.label||T.pathSegment||T.titleResolver)if(document.body.classList.add("lui-breadcrumb"),T.titleResolver)C.push({label:T.titleResolver.prerenderFallback&&T.titleResolver.fallbackTitle?Tt.getTranslation(T.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:T,route:V,pending:!0});else{const E=await p(T);E&&C.push({label:E,node:T,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let I=y;I<l.length;I++){const T=l[I],V=me.mapPathToNode(P,T);if(T.titleResolver){const H=await Ut.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,T.context),H.pathData.pathParams);try{const O=await re.fetchNodeTitleData(T,D);C.push({label:O.label,node:T,route:V});continue}catch{}}const E=await p(T);E&&C.push({label:E,node:T,route:V})}P===at.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(I=>{a[I.route]=I}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return Tt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(at.getCurrentPath(),v),y=await Ut.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){je[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class kp extends Vt{constructor(e){super(),Dt(this,e,T9,N9,Et,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Wo="not_checked";Mn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Wo="disabled"):i.data==="luigi.tpcEnabled"&&(Wo="enabled")},!1);function L9(){return Wo}const{Boolean:A9,window:C_}=_l;function y_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function P_(i){let e,t;return e=new d2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function I_(i){let e,t;function n(){return i[71](i[156])}function l(...a){return i[72](i[156],...a)}function r(...a){return i[73](i[156],...a)}return e=new ap({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Oe(e,a)}}}function N_(i){let e,t,n=i[154].mfModal.displayed&&I_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=I_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function T_(i){let e,t;return e=new ap({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[E9]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&4096|l[5]&4&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function E9(i){let e,t;return e=new Wl({props:{area:"drawer",disable:i[12]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function L_(i){let e,t;return e=new _2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function A_(i){let e,t,n;function l(a){i[76](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new E2({props:r}),je.push(()=>wt(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function R9(i){let e,t,n,l,r,a,o,c;e=new Wl({props:{disable:i[12],$$slots:{default:[V9]},$$scope:{ctx:i}}});let h=i[10]&&R_(),d=!i[25]&&D_(i),g=!i[20]&&V_(i),p=!(i[20]||i[22])&&M_(i),b=i[15]&&!i[20]&&F_(i);return{c(){Me(e.$$.fragment),t=W(),h&&h.c(),n=W(),d&&d.c(),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=ke()},m(m,v){Ve(e,m,v),A(m,t,v),h&&h.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),g&&g.m(m,v),A(m,r,v),p&&p.m(m,v),A(m,a,v),b&&b.m(m,v),A(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?h||(h=R_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[25]?d&&(ve(),U(d,1,1,()=>{d=null}),we()):d?(d.p(m,v),v[0]&33554432&&R(d,1)):(d=D_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?g&&(ve(),U(g,1,1,()=>{g=null}),we()):g?(g.p(m,v),v[0]&1048576&&R(g,1)):(g=V_(m),g.c(),R(g,1),g.m(r.parentNode,r)),m[20]||m[22]?p&&(ve(),U(p,1,1,()=>{p=null}),we()):p?(p.p(m,v),v[0]&5242880&&R(p,1)):(p=M_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=F_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ve(),U(b,1,1,()=>{b=null}),we())},i(m){c||(R(e.$$.fragment,m),R(d),R(g),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(g),U(p),U(b),c=!1},d(m){Oe(e,m),m&&L(t),h&&h.d(m),m&&L(n),d&&d.d(m),m&&L(l),g&&g.d(m),m&&L(r),p&&p.d(m),m&&L(a),b&&b.d(m),m&&L(o)}}}function D9(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=!i[25]&&U_(i),v=!(i[20]||i[22])&&B_(i),C=i[19]&&H_(i);g=new Wl({props:{disable:i[12],$$slots:{default:[O9]},$$scope:{ctx:i}}});let y=i[10]&&z_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=W(),a=S("div"),v&&v.c(),o=W(),c=S("div"),C&&C.c(),h=W(),d=S("div"),Me(g.$$.fragment),p=W(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-1dwxj5w"),f(c,"class","fd-tool-layout__content-container svelte-1dwxj5w"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-1dwxj5w"),f(e,"class","lui-core-layout svelte-1dwxj5w")},m(P,I){A(P,e,I),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),C&&C.m(c,null),w(c,h),w(c,d),Ve(g,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,I){P[25]?m&&(ve(),U(m,1,1,()=>{m=null}),we()):m?(m.p(P,I),I[0]&33554432&&R(m,1)):(m=U_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[22]?v&&(ve(),U(v,1,1,()=>{v=null}),we()):v?(v.p(P,I),I[0]&5242880&&R(v,1)):(v=B_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,I),I[0]&524288&&R(C,1)):(C=H_(P),C.c(),R(C,1),C.m(c,h)):C&&(ve(),U(C,1,1,()=>{C=null}),we());const T={};I[0]&4096&&(T.disable=P[12]),I[0]&1177600|I[5]&4&&(T.$$scope={dirty:I,ctx:P}),g.$set(T),P[10]?y||(y=z_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(g.$$.fragment,P),b=!0)},o(P){U(m),U(v),U(C),U(g.$$.fragment,P),b=!1},d(P){P&&L(e),m&&m.d(),v&&v.d(),C&&C.d(),Oe(g),y&&y.d()}}}function E_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function V9(i){let e,t,n,l,r,a,o,c,h;t=new Wl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&E_(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=ke(),f(l,"class","wcContainer svelte-1dwxj5w"),f(e,"class","fd-page iframeContainer svelte-1dwxj5w"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(g,p){A(g,e,p),Ve(t,e,null),w(e,n),w(e,l),A(g,r,p),d&&d.m(g,p),A(g,a,p),o=!0,c||(h=j_(i[46].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&jt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&jt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=E_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ve(),U(d,1,1,()=>{d=null}),we())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&L(e),Oe(t),g&&L(r),d&&d.d(g),g&&L(a),c=!1,h()}}}function R_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
59
+ <span class="sap-icon--slim-arrow-down"></span>`,d=W(),g=S("div"),p=S("ul");for(let D=0;D<E.length;D+=1)E[D].c();f(h,"class","fd-icon-tab-bar__overflow"),f(c,"class","fd-popover__control has-child luigi__more"),f(c,"aria-expanded","false"),f(c,"role","tab"),f(p,"class","fd-nested-list fd-nested-list--compact fd-nested-list--text-only svelte-1qtca7j"),f(g,"class","fd-popover__body fd-popover__body--no-arrow fd-popover__body--right fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(g,"aria-hidden",b=!i[4]),f(o,"class","fd-popover"),f(a,"class","luigi-tabsMoreButton fd-icon-tab-bar__item fd-icon-tab-bar__item--overflow svelte-1qtca7j"),f(l,"class","tabsContainerHeader luigi-tabsContainerHeader fd-icon-tab-bar__header svelte-1qtca7j"),f(l,"role","tablist"),f(n,"class","fd-icon-tab-bar fd-icon-tab-bar--lg"),f(n,"role","tablist"),f(e,"id","tabsContainer"),f(e,"class","svelte-1qtca7j")},m(D,O){A(D,e,O),y&&y.m(e,null),w(e,t),w(e,n),w(n,l);for(let z=0;z<I.length;z+=1)I[z].m(l,null);w(l,r),w(l,a),w(a,o),w(o,c),w(c,h),i[31](h),w(o,d),w(o,g),w(g,p);for(let z=0;z<E.length;z+=1)E[z].m(p,null);i[36](a),i[37](l),i[39](e),m=!0,v||(C=[ee(h,"click",mt(i[10])),ee(a,"click",b9),ee(n,"toggleDropdownState",i[38])],v=!0)},p(D,O){if(D[11].parent&&D[11].parent.tabNav&&D[11].parent.tabNav.showAsTabHeader?y?(y.p(D,O),O[0]&2048&&R(y,1)):(y=$g(D),y.c(),R(y,1),y.m(e,t)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),O[0]&3866829){P=Object.entries(D[0]);let z;for(z=0;z<P.length;z+=1){const Q=Jg(D,P,z);I[z]?(I[z].p(Q,O),R(I[z],1)):(I[z]=s_(Q),I[z].c(),R(I[z],1),I[z].m(l,r))}for(ve(),z=P.length;z<I.length;z+=1)T(z);we()}if(O[0]&1704173){V=Object.entries(D[0]);let z;for(z=0;z<V.length;z+=1){const Q=Gg(D,V,z);E[z]?(E[z].p(Q,O),R(E[z],1)):(E[z]=c_(Q),E[z].c(),R(E[z],1),E[z].m(p,null))}for(ve(),z=V.length;z<E.length;z+=1)H(z);we()}(!m||O[0]&16&&b!==(b=!D[4]))&&f(g,"aria-hidden",b)},i(D){if(!m){R(y);for(let O=0;O<P.length;O+=1)R(I[O]);for(let O=0;O<V.length;O+=1)R(E[O]);m=!0}},o(D){U(y),I=I.filter(Boolean);for(let O=0;O<I.length;O+=1)U(I[O]);E=E.filter(Boolean);for(let O=0;O<E.length;O+=1)U(E[O]);m=!1},d(D){D&&L(e),y&&y.d(),ft(I,D),i[31](null),ft(E,D),i[36](null),i[37](null),i[39](null),v=!1,Je(C)}}}function $g(i){let e,t;return e=new n9({props:{node:i[11].parent}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.node=n[11].parent),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function r9(i){let e,t,n,l,r;const a=[o9,s9],o=[];function c(d,g){return g[0]&1&&(e=null),e==null&&(e=!!h9(d[54])),e?0:1}function h(d,g){return g===0?i9(d):d}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](h(i,t)),{c(){n.c(),l=ke()},m(d,g){o[t].m(d,g),A(d,l,g),r=!0},p(d,g){let p=t;t=c(d,g),t===p?o[t].p(h(d,t),g):(ve(),U(o[p],1,1,()=>{o[p]=null}),we(),n=o[t],n?n.p(h(d,t),g):(n=o[t]=a[t](h(d,t)),n.c()),R(n,1),n.m(l.parentNode,l))},i(d){r||(R(n),r=!0)},o(d){U(n),r=!1},d(d){o[t].d(d),d&&L(l)}}}function a9(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=a_(Zg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=Zg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=a_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function s9(i){let e,t,n,l,r,a,o=i[17](i[53])+"",c,h,d,g,p,b,m,v,C,y,P,I,T,V;function E(){return i[29](i[53])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=t_(Yg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("span"),t=S("div"),n=S("div"),l=S("a"),r=S("div"),a=S("span"),c=Ne(o),h=W(),d=S("span"),d.innerHTML='<i class="sap-icon--slim-arrow-down" role="presentation"></i>',p=W(),b=S("div"),m=S("ul");for(let z=0;z<D.length;z+=1)D[z].c();y=W(),f(a,"class","fd-icon-tab-bar__tag"),f(d,"class","fd-icon-tab-bar__arrow"),f(r,"class","fd-icon-tab-bar__tab-container"),f(l,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(l,"aria-expanded","false"),f(l,"role","tab"),f(l,"aria-selected",g=cl(i[53],i[2])),f(n,"class","fd-popover__control"),f(m,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(b,"class",v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(b,"aria-hidden",C=!i[3][i[53]]),f(t,"class","fd-popover"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--single-click"),f(e,"uid",i[65]),f(e,"isselected",P=cl(i[53],i[2]))},m(z,Q){A(z,e,Q),w(e,t),w(t,n),w(n,l),w(l,r),w(r,a),w(a,c),w(r,h),w(r,d),w(t,p),w(t,b),w(b,m);for(let X=0;X<D.length;X+=1)D[X].m(m,null);w(e,y),I=!0,T||(V=[ee(l,"click",mt(E)),ee(e,"click",m9)],T=!0)},p(z,Q){if(i=z,(!I||Q[0]&131073)&&o!==(o=i[17](i[53])+"")&&Le(c,o),(!I||Q[0]&5&&g!==(g=cl(i[53],i[2])))&&f(l,"aria-selected",g),Q[0]&1572933){H=i[54];let X;for(X=0;X<H.length;X+=1){const ce=Yg(i,H,X);D[X]?(D[X].p(ce,Q),R(D[X],1)):(D[X]=t_(ce),D[X].c(),R(D[X],1),D[X].m(m,null))}for(ve(),X=H.length;X<D.length;X+=1)O(X);we()}(!I||Q[0]&65536&&v!==(v="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"))&&f(b,"class",v),(!I||Q[0]&9&&C!==(C=!i[3][i[53]]))&&f(b,"aria-hidden",C),(!I||Q[0]&5&&P!==(P=cl(i[53],i[2])))&&f(e,"isselected",P)},i(z){if(!I){for(let Q=0;Q<H.length;Q+=1)R(D[Q]);I=!0}},o(z){D=D.filter(Boolean);for(let Q=0;Q<D.length;Q+=1)U(D[Q]);I=!1},d(z){z&&L(e),ft(D,z),T=!1,Je(V)}}}function o9(i){let e,t,n,l=i[17](i[53])+"",r,a,o,c,h,d,g,p,b,m,v,C,y,P,I,T,V,E;function H(){return i[26](i[67])}function D(){return i[27](i[53])}let O=i[54],z=[];for(let Q=0;Q<O.length;Q+=1)z[Q]=i_(Qg(i,O,Q));return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),c=W(),h=S("div"),d=S("div"),g=S("div"),p=S("button"),b=S("i"),v=W(),C=S("div"),y=S("ul");for(let Q=0;Q<z.length;Q+=1)z[Q].c();T=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"tabindex","0"),f(t,"aria-selected",a=cl(i[53],i[2])),f(t,"href",o=i[20](i[67])),f(b,"class","sap-icon--slim-arrow-down"),f(p,"class","fd-button fd-button--transparent fd-icon-tab-bar__button"),f(p,"aria-controls",i[66]),f(p,"aria-expanded",m=!!i[3][i[53]]),f(p,"aria-haspopup","true"),f(p,"aria-label","open menu button"),f(g,"class","fd-icon-tab-bar__button-container"),f(d,"class","fd-popover__control"),f(y,"class","fd-list fd-list--navigation fd-list--no-border fd-icon-tab-bar__list"),f(C,"class",P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j"),f(C,"aria-hidden",I=!i[3][i[53]]),f(C,"id",i[66]),f(h,"class","fd-popover fd-icon-tab-bar__popover"),f(e,"uid",i[65]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item fd-icon-tab-bar__item--multi-click")},m(Q,X){A(Q,e,X),w(e,t),w(t,n),w(n,r),w(e,c),w(e,h),w(h,d),w(d,g),w(g,p),w(p,b),w(h,v),w(h,C),w(C,y);for(let ce=0;ce<z.length;ce+=1)z[ce].m(y,null);w(e,T),V||(E=[ee(t,"click",mt(H)),ee(p,"click",mt(D)),ee(e,"click",p9)],V=!0)},p(Q,X){if(i=Q,X[0]&131073&&l!==(l=i[17](i[53])+"")&&Le(r,l),X[0]&5&&a!==(a=cl(i[53],i[2]))&&f(t,"aria-selected",a),X[0]&1&&o!==(o=i[20](i[67]))&&f(t,"href",o),X[0]&9&&m!==(m=!!i[3][i[53]])&&f(p,"aria-expanded",m),X[0]&1572933){O=i[54];let ce;for(ce=0;ce<O.length;ce+=1){const Z=Qg(i,O,ce);z[ce]?z[ce].p(Z,X):(z[ce]=i_(Z),z[ce].c(),z[ce].m(y,null))}for(;ce<z.length;ce+=1)z[ce].d(1);z.length=O.length}X[0]&65536&&P!==(P="fd-popover__body fd-popover__body--no-arrow "+(i[16]?"":"fd-popover__body--right")+" fd-icon-tab-bar__popover-body svelte-1qtca7j")&&f(C,"class",P),X[0]&9&&I!==(I=!i[3][i[53]])&&f(C,"aria-hidden",I)},i:We,o:We,d(Q){Q&&L(e),ft(z,Q),V=!1,Je(E)}}}function xg(i){let e,t,n=i[57].label&&e_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=e_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function e_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[30](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-list__title"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(o),b=!1,m()}}}function t_(i){let e,t,n=!i[57].hideFromNav&&xg(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=xg(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function n_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d;function g(){return i[28](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),c=W(),f(n,"class","fd-list__title"),f(t,"tabindex","0"),f(t,"class","fd-list__link fd-icon-tab-bar__list-link"),f(t,"href",a=i[20](i[57])),f(t,"aria-selected",o=i[57]===i[2]),f(e,"tabindex","-1"),f(e,"aria-level","1"),f(e,"class","fd-list__item fd-list__item--link fd-icon-tab-bar__list-item")},m(p,b){A(p,e,b),w(e,t),w(t,n),w(n,r),w(e,c),h||(d=ee(t,"click",mt(g)),h=!0)},p(p,b){i=p,b[0]&1&&l!==(l=i[19](i[57])+"")&&Le(r,l),b[0]&1&&a!==(a=i[20](i[57]))&&f(t,"href",a),b[0]&5&&o!==(o=i[57]===i[2])&&f(t,"aria-selected",o)},d(p){p&&L(e),h=!1,d()}}}function i_(i){let e,t=!i[57].hideFromNav&&i[57].label&&n_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){!n[57].hideFromNav&&n[57].label?t?t.p(n,l):(t=n_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function l_(i){let e,t,n=i[57].label&&r_(Oo(i));return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(Oo(l),r),r[0]&1&&R(n,1)):(n=r_(Oo(l)),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function r_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m,v;o=new $n({props:{node:i[57]}});function C(){return i[25](i[57])}return{c(){e=S("span"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-icon-tab-bar__tag"),f(t,"role","tab"),f(t,"class","fd-icon-tab-bar__tab svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[64]),f(e,"role","presentation"),f(e,"class","fd-icon-tab-bar__item"),f(e,"uid",i[56]+"-"+i[59]),f(e,"isselected",p=i[64])},m(y,P){A(y,e,P),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),b=!0,m||(v=ee(t,"click",mt(C)),m=!0)},p(y,P){i=y,(!b||P[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const I={};P[0]&1&&(I.node=i[57]),o.$set(I),(!b||P[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!b||P[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!b||P[0]&5&&d!==(d=i[64]))&&f(t,"aria-selected",d),(!b||P[0]&5&&p!==(p=i[64]))&&f(e,"isselected",p)},i(y){b||(R(o.$$.fragment,y),b=!0)},o(y){U(o.$$.fragment,y),b=!1},d(y){y&&L(e),Oe(o),m=!1,v()}}}function a_(i){let e,t,n=!i[57].hideFromNav&&l_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].hideFromNav?n&&(ve(),U(n,1,1,()=>{n=null}),we()):n?(n.p(l,r),r[0]&1&&R(n,1)):(n=l_(l),n.c(),R(n,1),n.m(e.parentNode,e))},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function s_(i){let e,t,n,l,r,a;const o=[a9,r9],c=[];function h(g,p){return p[0]&1&&(e=null),p[0]&1&&(t=null),e==null&&(e=!!g[21](g[53],g[54])),e?0:(t==null&&(t=!!d9(g[54])),t?1:-1)}function d(g,p){return p===1?l9(g):g}return~(n=h(i,[-1,-1,-1]))&&(l=c[n]=o[n](d(i,n))),{c(){l&&l.c(),r=ke()},m(g,p){~n&&c[n].m(g,p),A(g,r,p),a=!0},p(g,p){let b=n;n=h(g,p),n===b?~n&&c[n].p(d(g,n),p):(l&&(ve(),U(c[b],1,1,()=>{c[b]=null}),we()),~n?(l=c[n],l?l.p(d(g,n),p):(l=c[n]=o[n](d(g,n)),l.c()),R(l,1),l.m(r.parentNode,r)):l=null)},i(g){a||(R(l),a=!0)},o(g){U(l),a=!1},d(g){~n&&c[n].d(g),g&&L(r)}}}function u9(i){let e,t,n,l,r=i[17](i[53])+"",a,o,c,h,d,g,p,b,m,v,C,y,P,I,T;function V(){return i[33](i[53],i[56])}function E(){return i[34](i[53],i[56])}let H=i[54],D=[];for(let z=0;z<H.length;z+=1)D[z]=u_(Kg(i,H,z));const O=z=>U(D[z],1,1,()=>{D[z]=null});return{c(){e=S("li"),t=S("div"),n=S("a"),l=S("span"),a=Ne(r),h=W(),d=S("button"),g=S("i"),m=W(),v=S("ul");for(let z=0;z<D.length;z+=1)D[z].c();y=W(),f(l,"class","fd-nested-list__title svelte-1qtca7j"),f(n,"href","javascript:void(null)"),f(n,"tabindex","-1"),f(n,"class","fd-nested-list__link svelte-1qtca7j"),f(n,"id","tabnav_list_level1_"+i[56]),f(n,"aria-haspopup","true"),f(n,"aria-expanded",o=i[3][i[53]+i[56]]),f(n,"aria-selected",c=cl(i[53],i[2])),f(g,"class",p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"),f(g,"role","presentation"),f(d,"class","fd-button fd-nested-list__button"),f(d,"href","#"),f(d,"tabindex","-1"),f(d,"aria-label","Expand submenu"),f(d,"aria-haspopup","true"),f(d,"aria-expanded",b=i[3][i[53]+i[56]]),f(t,"class","fd-nested-list__content has-child svelte-1qtca7j"),f(t,"tabindex","0"),f(v,"class","fd-nested-list level-2"),f(v,"aria-hidden",C=!i[3][i[53]+i[56]]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-0")},m(z,Q){A(z,e,Q),w(e,t),w(t,n),w(n,l),w(l,a),w(t,h),w(t,d),w(d,g),w(e,m),w(e,v);for(let X=0;X<D.length;X+=1)D[X].m(v,null);w(e,y),P=!0,I||(T=[ee(n,"click",mt(V)),ee(d,"click",mt(E))],I=!0)},p(z,Q){if(i=z,(!P||Q[0]&131073)&&r!==(r=i[17](i[53])+"")&&Le(a,r),(!P||Q[0]&9&&o!==(o=i[3][i[53]+i[56]]))&&f(n,"aria-expanded",o),(!P||Q[0]&5&&c!==(c=cl(i[53],i[2])))&&f(n,"aria-selected",c),(!P||Q[0]&9&&p!==(p=i[3][i[53]+i[56]]?"sap-icon--navigation-down-arrow":"sap-icon--navigation-right-arrow"))&&f(g,"class",p),(!P||Q[0]&9&&b!==(b=i[3][i[53]+i[56]]))&&f(d,"aria-expanded",b),Q[0]&1572933){H=i[54];let X;for(X=0;X<H.length;X+=1){const ce=Kg(i,H,X);D[X]?(D[X].p(ce,Q),R(D[X],1)):(D[X]=u_(ce),D[X].c(),R(D[X],1),D[X].m(v,null))}for(ve(),X=H.length;X<D.length;X+=1)O(X);we()}(!P||Q[0]&9&&C!==(C=!i[3][i[53]+i[56]]))&&f(v,"aria-hidden",C)},i(z){if(!P){for(let Q=0;Q<H.length;Q+=1)R(D[Q]);P=!0}},o(z){D=D.filter(Boolean);for(let Q=0;Q<D.length;Q+=1)U(D[Q]);P=!1},d(z){z&&L(e),ft(D,z),I=!1,Je(T)}}}function f9(i){let e,t,n=i[54],l=[];for(let a=0;a<n.length;a+=1)l[a]=f_(jg(i,n,a));const r=a=>U(l[a],1,1,()=>{l[a]=null});return{c(){for(let a=0;a<l.length;a+=1)l[a].c();e=ke()},m(a,o){for(let c=0;c<l.length;c+=1)l[c].m(a,o);A(a,e,o),t=!0},p(a,o){if(o[0]&1572933){n=a[54];let c;for(c=0;c<n.length;c+=1){const h=jg(a,n,c);l[c]?(l[c].p(h,o),R(l[c],1)):(l[c]=f_(h),l[c].c(),R(l[c],1),l[c].m(e.parentNode,e))}for(ve(),c=n.length;c<l.length;c+=1)r(c);we()}},i(a){if(!t){for(let o=0;o<n.length;o+=1)R(l[o]);t=!0}},o(a){l=l.filter(Boolean);for(let o=0;o<l.length;o+=1)U(l[o]);t=!1},d(a){ft(l,a),a&&L(e)}}}function o_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[35](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"class","fd-nested-list__link"),f(t,"href",c=i[20](i[57])),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"aria-labelledby","tabnav_list_level1_"+i[56])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(o),b=!1,m()}}}function u_(i){let e,t,n=i[57].label&&o_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[57].label?n?(n.p(l,r),r[0]&1&&R(n,1)):(n=o_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function f_(i){let e,t,n,l=i[19](i[57])+"",r,a,o,c,h,d,g,p,b,m;o=new $n({props:{node:i[57]}});function v(){return i[32](i[57])}return{c(){e=S("li"),t=S("a"),n=S("span"),r=Ne(l),a=W(),Me(o.$$.fragment),g=W(),f(n,"class","fd-nested-list__title svelte-1qtca7j"),f(t,"href",c=i[20](i[57])),f(t,"class","fd-nested-list__link"),f(t,"data-testid",h=re.getTestId(i[57])),f(t,"aria-selected",d=i[57]===i[2]),f(e,"class","fd-nested-list__item svelte-1qtca7j"),f(e,"uid",i[56]+"-"+i[59])},m(C,y){A(C,e,y),w(e,t),w(t,n),w(n,r),w(n,a),Ve(o,n,null),w(e,g),p=!0,b||(m=ee(t,"click",mt(v)),b=!0)},p(C,y){i=C,(!p||y[0]&1)&&l!==(l=i[19](i[57])+"")&&Le(r,l);const P={};y[0]&1&&(P.node=i[57]),o.$set(P),(!p||y[0]&1&&c!==(c=i[20](i[57])))&&f(t,"href",c),(!p||y[0]&1&&h!==(h=re.getTestId(i[57])))&&f(t,"data-testid",h),(!p||y[0]&5&&d!==(d=i[57]===i[2]))&&f(t,"aria-selected",d)},i(C){p||(R(o.$$.fragment,C),p=!0)},o(C){U(o.$$.fragment,C),p=!1},d(C){C&&L(e),Oe(o),b=!1,m()}}}function c_(i){let e,t,n,l,r;const a=[f9,u9],o=[];function c(h,d){return d[0]&33&&(e=null),e==null&&(e=h[53]==="undefined"||h[53].indexOf(h[5])===0),e?0:1}return t=c(i,[-1,-1,-1]),n=o[t]=a[t](i),{c(){n.c(),l=ke()},m(h,d){o[t].m(h,d),A(h,l,d),r=!0},p(h,d){let g=t;t=c(h,d),t===g?o[t].p(h,d):(ve(),U(o[g],1,1,()=>{o[g]=null}),we(),n=o[t],n?n.p(h,d):(n=o[t]=a[t](h),n.c()),R(n,1),n.m(l.parentNode,l))},i(h){r||(R(n),r=!0)},o(h){U(n),r=!1},d(h){o[t].d(h),h&&L(l)}}}function c9(i){let e,t,n,l,r=i[0]&&i[1].length>0&&(i[1][0].topNav===!1||i[1].length>1)&&Xg(i);return{c(){r&&r.c(),e=ke()},m(a,o){r&&r.m(a,o),A(a,e,o),t=!0,n||(l=[ee(Vo,"click",i[8]),ee(Vo,"blur",i[8]),ee(Vo,"resize",i[9])],n=!0)},p(a,o){a[0]&&a[1].length>0&&(a[1][0].topNav===!1||a[1].length>1)?r?(r.p(a,o),o[0]&3&&R(r,1)):(r=Xg(a),r.c(),R(r,1),r.m(e.parentNode,e)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){t||(R(r),t=!0)},o(a){U(r),t=!1},d(a){r&&r.d(a),a&&L(e),n=!1,Je(l)}}}function cl(i,e){return e&&e.category&&(e.category===i||e.category.label===i)}function d9(i){return i.some(e=>!e.hideFromNav&&e.label)}function vp(i){const e=i.find(n=>{var l;return(l=n.category)==null?void 0:l.navigateOnClick});if(!e)return;const t=e.category.navigateOnClick;return t===!0?e:i.find(n=>n.pathSegment===t)}function h9(i){return!!vp(i)}function g9(i){if(!i)return;const e=i.getBoundingClientRect(),t=window.innerWidth||document.documentElement.clientWidth;return e.left+e.width<=t}function _9(){document.querySelectorAll(".luigi-tabsContainerHeader .fd-icon-tab-bar__item--single-click .fd-popover__body").forEach(e=>{e.classList.remove("fd-popover__body--right"),g9(e)||e.classList.add("fd-popover__body--right")})}const p9=i=>i.stopPropagation(),m9=i=>i.stopPropagation(),b9=i=>i.stopPropagation();function v9(i,e,t){let n,{children:l}=e,{pathData:r}=e,{pathParams:a}=e,{hideNavComponent:o}=e,{virtualGroupPrefix:c=re.virtualGroupPrefix}=e,{selectedNodeForTabNav:h}=e,{dropDownStates:d={}}=e,{isMoreBtnExpanded:g=!1}=e,{resizeTabNavToggle:p}=e,b,m,v,C=kt("getTranslation");vi(i,C,Te=>t(17,n=Te));let y=kt("store"),P,I,T,V,E,H;const D={get:()=>({children:l,pathData:r,hideNavComponent:o,virtualGroupPrefix:c,selectedNode:b,selectedNodeForTabNav:h,dropDownStates:d,isMoreBtnExpanded:g}),set:Te=>{Te&&Object.getOwnPropertyNames(Te).forEach(rt=>{rt==="pathData"?t(1,r=Te.pathData):rt==="context"?context=Te.context:rt==="children"?t(0,l=Te.children):rt==="selectedNode"?t(11,b=Te.selectedNode):rt==="selectedNodeForTabNav"&&t(2,h=Te.selectedNodeForTabNav)})}},O=Jt();function z(Te){return re.getNodeLabel(Te)}const Q=async()=>{const Te=D.get(),rt=await Ut.getTabNavData({...Te},Te);rt&&(D.set({...rt}),m=r,window.LEFTNAVDATA=rt.groupedChildren,setTimeout(X))},X=()=>{if(ce(),T&&V&&E){E.classList.remove("is-active");const Te=getComputedStyle(T),rt=T.offsetWidth-V.offsetWidth-parseFloat(Te.paddingLeft)-parseFloat(Te.paddingRight);let tt=0,Yt=!1;[...T.children].forEach(Qt=>{const An=Qt.getAttribute("uid");if(!An)return;const Lt=getComputedStyle(Qt),gn=parseFloat(Lt.marginLeft)+parseFloat(Lt.marginRight);tt+=Qt.offsetWidth+gn,tt>=rt?(Qt.classList.add("hide_element"),Qt.getAttribute("isSelected")==="true"&&E.classList.add("is-active"),document.querySelector('li[uid="'+An+'"]').classList.remove("hide_element"),Yt=!0):document.querySelector('li[uid="'+An+'"]').classList.add("hide_element")}),Yt?V.classList.remove("hide_element"):V.classList.add("hide_element")}},ce=()=>{T!==void 0&&[...T.children].forEach(rt=>{rt.classList.remove("hide_element")})},Z=()=>{P=new ResizeObserver(Te=>{for(const rt of Te)document.documentElement.style.setProperty("--luigi__horizontal-nav--live-height",rt.contentRect.height+"px");H&&_9()}),setTimeout(()=>{I&&P.observe(I)})},G=()=>{P&&P.disconnect()};nn(()=>{t(22,o=te.getConfigBooleanValue("settings.hideNavigation")),t(16,H=te.getConfigBooleanValue("settings.btpToolLayout")&&te.getConfigBooleanValue("settings.experimental.btpToolLayout")),Z(),pn.doOnStoreChange(y,()=>{Q()},["navigation.viewgroupdata"])}),Xr(()=>{G(),document.documentElement.style.removeProperty("--luigi__horizontal-nav--live-height")}),zn(()=>{(!m||m!=r)&&Q(),(v===void 0||v!==p)&&(v=p,Q())}),Zr(()=>{G(),P?setTimeout(()=>{I&&P.observe(I)}):Z()});function j(Te){return me.getNodeHref(Te,a)}function ae(Te){ne(),O("handleClick",{node:Te})}function fe(Te){let rt={};d[Te]||(rt[Te]=!0),t(3,d=rt)}function ne(){t(3,d={}),t(4,g=!1)}function se(){ce(),X()}function Se(){t(4,g=!g)}function ie(Te,rt){const tt=Te==="undefined",Yt=Te.indexOf(c)===0;if(tt||Yt||Re(rt))return!0}function Re(Te){const rt=Te.find(Qt=>le.isObject(Qt.category));if(!rt)return;const tt=rt.category.label||rt.category.id;return Te.filter(Qt=>Qt.category===tt&&Qt.hideFromNav===!0).length===1}const ze=Te=>ae(Te),Ce=Te=>ae(Te),Pe=Te=>fe(Te),Fe=Te=>ae(Te),ct=Te=>fe(Te),qe=Te=>ae(Te);function dt(Te){je[Te?"unshift":"push"](()=>{E=Te,t(15,E)})}const Ft=Te=>ae(Te),de=(Te,rt)=>fe(Te+rt),xe=(Te,rt)=>fe(Te+rt),St=Te=>ae(Te);function ln(Te){je[Te?"unshift":"push"](()=>{V=Te,t(14,V)})}function Ln(Te){je[Te?"unshift":"push"](()=>{T=Te,t(13,T)})}const an=Te=>fe(Te.name);function Ht(Te){je[Te?"unshift":"push"](()=>{I=Te,t(12,I)})}return i.$$set=Te=>{"children"in Te&&t(0,l=Te.children),"pathData"in Te&&t(1,r=Te.pathData),"pathParams"in Te&&t(23,a=Te.pathParams),"hideNavComponent"in Te&&t(22,o=Te.hideNavComponent),"virtualGroupPrefix"in Te&&t(5,c=Te.virtualGroupPrefix),"selectedNodeForTabNav"in Te&&t(2,h=Te.selectedNodeForTabNav),"dropDownStates"in Te&&t(3,d=Te.dropDownStates),"isMoreBtnExpanded"in Te&&t(4,g=Te.isMoreBtnExpanded),"resizeTabNavToggle"in Te&&t(24,p=Te.resizeTabNavToggle)},[l,r,h,d,g,c,ae,fe,ne,se,Se,b,I,T,V,E,H,n,C,z,j,ie,o,a,p,ze,Ce,Pe,Fe,ct,qe,dt,Ft,de,xe,St,ln,Ln,an,Ht]}class wp extends Vt{constructor(e){super(),Dt(this,e,v9,c9,Et,{children:0,pathData:1,pathParams:23,hideNavComponent:22,virtualGroupPrefix:5,selectedNodeForTabNav:2,dropDownStates:3,isMoreBtnExpanded:4,resizeTabNavToggle:24,handleClick:6,toggleDropdownState:7,closeAllDropdowns:8,onResize:9,toggleMoreBtn:10},null,[-1,-1,-1])}get handleClick(){return this.$$.ctx[6]}get toggleDropdownState(){return this.$$.ctx[7]}get closeAllDropdowns(){return this.$$.ctx[8]}get onResize(){return this.$$.ctx[9]}get toggleMoreBtn(){return this.$$.ctx[10]}}function d_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function h_(i,e,t){const n=i.slice();return n[23]=e[t],n[25]=t,n}function g_(i){let e,t,n,l,r,a=i[0]&&i[3].length>=0&&__(i),o=i[0]&&i[3].length>=0&&v_(i);return{c(){e=S("div"),t=S("nav"),n=S("div"),a&&a.c(),l=W(),r=S("div"),o&&o.c(),f(n,"class","fd-side-nav__main-navigation"),f(r,"class","fd-side-nav__utility svelte-fn8cef"),f(r,"aria-label","Utility Menu"),f(t,"class","fd-side-nav fd-side-nav--condensed svelte-fn8cef"),f(e,"class","lui-globalnav svelte-fn8cef")},m(c,h){A(c,e,h),w(e,t),w(t,n),a&&a.m(n,null),w(t,l),w(t,r),o&&o.m(r,null)},p(c,h){c[0]&&c[3].length>=0?a?a.p(c,h):(a=__(c),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c[0]&&c[3].length>=0?o?o.p(c,h):(o=v_(c),o.c(),o.m(r,null)):o&&(o.d(1),o=null)},d(c){c&&L(e),a&&a.d(),o&&o.d()}}}function __(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=b_(h_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=h_(l,t,a);n[a]?n[a].p(o,r):(n[a]=b_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function p_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&m_(i);function P(...I){return i[17](i[23],...I)}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"role","button"),f(t,"tabindex","0"),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,T){A(I,e,T),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=ee(t,"click",P),v=!0)},p(I,T){i=I,i[23].icon?y?y.p(i,T):(y=m_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),T&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),T&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),T&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),T&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&L(e),y&&y.d(),v=!1,C()}}}function m_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?k9:w9}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function w9(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),$e(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function k9(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function b_(i){let e,t=i[23].globalNav===!0&&!i[23].separator&&p_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav===!0&&!n[23].separator?t?t.p(n,l):(t=p_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function v_(i){let e,t=i[0],n=[];for(let l=0;l<t.length;l+=1)n[l]=S_(d_(i,t,l));return{c(){e=S("ul");for(let l=0;l<n.length;l+=1)n[l].c();f(e,"class","fd-nested-list svelte-fn8cef")},m(l,r){A(l,e,r);for(let a=0;a<n.length;a+=1)n[a].m(e,null)},p(l,r){if(r&7891){t=l[0];let a;for(a=0;a<t.length;a+=1){const o=d_(l,t,a);n[a]?n[a].p(o,r):(n[a]=S_(o),n[a].c(),n[a].m(e,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=t.length}},d(l){l&&L(e),ft(n,l)}}}function w_(i){let e,t,n,l,r,a=i[11](i[23])+"",o,c,h,d,g,p,b,m,v,C,y=i[23].icon&&k_(i);function P(){return i[18](i[23])}return{c(){e=S("li"),t=S("a"),n=S("div"),y&&y.c(),l=W(),r=S("div"),o=Ne(a),c=W(),h=S("div"),p=W(),f(r,"class","lui-text svelte-fn8cef"),f(h,"class","lui-indicator svelte-fn8cef"),f(n,"class","lui-fd-nested-list__content svelte-fn8cef"),f(t,"href",d=i[6]?i[12](i[23]):void 0),f(t,"title",g=i[7](i[23].label)),f(t,"class","svelte-fn8cef"),f(e,"class",b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef"),f(e,"data-testid",m=re.getTestId(i[23]))},m(I,T){A(I,e,T),w(e,t),w(t,n),y&&y.m(n,null),w(n,l),w(n,r),w(r,o),w(n,c),w(n,h),w(e,p),v||(C=ee(n,"click",mt(P)),v=!0)},p(I,T){i=I,i[23].icon?y?y.p(i,T):(y=k_(i),y.c(),y.m(n,l)):y&&(y.d(1),y=null),T&1&&a!==(a=i[11](i[23])+"")&&Le(o,a),T&65&&d!==(d=i[6]?i[12](i[23]):void 0)&&f(t,"href",d),T&129&&g!==(g=i[7](i[23].label))&&f(t,"title",g),T&3&&b!==(b="fd-nested-list__item "+(i[23]===i[1]?"is-selected":"")+" svelte-fn8cef")&&f(e,"class",b),T&1&&m!==(m=re.getTestId(i[23]))&&f(e,"data-testid",m)},d(I){I&&L(e),y&&y.d(),v=!1,C()}}}function k_(i){let e,t;function n(a,o){return o&1&&(e=null),e==null&&(e=!!a[10](a[23])),e?C9:S9}let l=n(i,-1),r=l(i);return{c(){r.c(),t=ke()},m(a,o){r.m(a,o),A(a,t,o)},p(a,o){l===(l=n(a,o))&&r?r.p(a,o):(r.d(1),r=l(a),r&&(r.c(),r.m(t.parentNode,t)))},d(a){r.d(a),a&&L(t)}}}function S9(i){let e,t,n;return{c(){e=S("img"),f(e,"class","fd-top-nav__icon nav-icon svelte-fn8cef"),$e(e.src,t=i[23].icon)||f(e,"src",t),f(e,"alt",n=i[23].altText?i[23].altText:"")},m(l,r){A(l,e,r)},p(l,r){r&1&&!$e(e.src,t=l[23].icon)&&f(e,"src",t),r&1&&n!==(n=l[23].altText?l[23].altText:"")&&f(e,"alt",n)},d(l){l&&L(e)}}}function C9(i){let e,t;return{c(){e=S("span"),f(e,"class",t="lui-text fd-top-nav__icon "+i[9](i[23].icon)+" svelte-fn8cef")},m(n,l){A(n,e,l)},p(n,l){l&1&&t!==(t="lui-text fd-top-nav__icon "+n[9](n[23].icon)+" svelte-fn8cef")&&f(e,"class",t)},d(n){n&&L(e)}}}function S_(i){let e,t=i[23].globalNav==="bottom"&&!i[23].separator&&w_(i);return{c(){t&&t.c(),e=ke()},m(n,l){t&&t.m(n,l),A(n,e,l)},p(n,l){n[23].globalNav==="bottom"&&!n[23].separator?t?t.p(n,l):(t=w_(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){t&&t.d(n),n&&L(e)}}}function y9(i){let e,t,n,l=i[2]&&g_(i);return{c(){l&&l.c(),e=ke()},m(r,a){l&&l.m(r,a),A(r,e,a),t||(n=[ee(window,"click",cs),ee(window,"blur",cs)],t=!0)},p(r,[a]){r[2]?l?l.p(r,a):(l=g_(r),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null)},i:We,o:We,d(r){l&&l.d(r),r&&L(e),t=!1,Je(n)}}}function cs(){}function P9(i,e,t){let n;const l=Jt();let{pathData:r}=e,a,{pathParams:o}=e,{children:c}=e,{selectedNode:h}=e,d=kt("store"),g=kt("getTranslation");vi(i,g,O=>t(7,n=O));let{showGlobalNav:p}=e,{hideNavComponent:b}=e,{responsiveNavSetting:m}=e,v=te.getConfigBooleanValue("navigation.addNavHrefs");const C=async()=>{if(r&&0<r.length){const O=await re.generateTopNavNodes(r);t(0,c=O.children),t(1,h=O.selectedNode),a=r}};nn(()=>{pn.doOnStoreChange(d,()=>{t(13,b=te.getConfigBooleanValue("settings.hideNavigation")),t(14,m=te.getConfigValue("settings.responsiveNavigation")),t(2,p=!(te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!1))&&te.getConfigBooleanValue("settings.globalSideNavigation")&&le.requestExperimentalFeature("globalNav",!0)),document.body.classList.toggle("lui-global-nav-visible",p)},["navigation"])}),zn(()=>{(!a||a!=r)&&C(),t(6,v=te.getConfigBooleanValue("navigation.addNavHrefs"))});function y(O){return re.renderIconClassName(O)}function P(O){return re.isOpenUIiconName(O.icon)}function I(O){return Tt.getTranslation(O.label)}function T(O){return me.getNodeHref(O,o)}function V(O){l("handleClick",{node:O})}function E(O){V(O.detail.node)}const H=(O,z)=>{re.handleNavAnchorClickedWithoutMetaKey(z)&&V(O)},D=O=>V(O);return i.$$set=O=>{"pathData"in O&&t(3,r=O.pathData),"pathParams"in O&&t(15,o=O.pathParams),"children"in O&&t(0,c=O.children),"selectedNode"in O&&t(1,h=O.selectedNode),"showGlobalNav"in O&&t(2,p=O.showGlobalNav),"hideNavComponent"in O&&t(13,b=O.hideNavComponent),"responsiveNavSetting"in O&&t(14,m=O.responsiveNavSetting)},[c,h,p,r,V,cs,v,n,g,y,P,I,T,b,m,o,E,H,D]}class I9 extends Vt{constructor(e){super(),Dt(this,e,P9,y9,Et,{pathData:3,pathParams:15,children:0,selectedNode:1,showGlobalNav:2,hideNavComponent:13,responsiveNavSetting:14,handleClick:4,handleClickExternal:16,closeAllDropdowns:5})}get handleClick(){return this.$$.ctx[4]}get handleClickExternal(){return this.$$.ctx[16]}get closeAllDropdowns(){return cs}}function N9(i){let e;return{c(){e=S("div"),f(e,"class","lui-breadcrumb-container svelte-18w4n0e")},m(t,n){A(t,e,n),i[4](e)},p:We,i:We,o:We,d(t){t&&L(e),i[4](null)}}}function T9(i,e,t){const n=Jt();let{pathData:l}=e,r,a={},o,c=kt("store"),{showBreadcrumb:h}=e;te.getConfigBooleanValue("navigation.addNavHrefs");const d=async()=>{l&&0<l.length&&(r=l)},g=v=>{v.last||b(v.node)};nn(()=>{pn.doOnStoreChange(c,()=>{},["navigation"])}),zn(async()=>{if(l&&(!r||r!=l)){if(d(),l.length===0)return;const v=te.getConfigValue("navigation.breadcrumbs");if(t(1,h=!!v),h&&l.forEach(C=>{C.showBreadcrumbs===!1?t(1,h=!1):C.showBreadcrumbs===!0&&t(1,h=!0)}),h)if(te.getConfigBooleanValue("navigation.addNavHrefs"),v.renderer){let C=[];const y=v.omitRoot?2:1,P=at.getCurrentPath();for(let I=y;I<l.length;I++){const T=l[I],V=me.mapPathToNode(P,T);if(a[V])C.push(a[V]);else if(T.label||T.pathSegment||T.titleResolver)if(document.body.classList.add("lui-breadcrumb"),T.titleResolver)C.push({label:T.titleResolver.prerenderFallback&&T.titleResolver.fallbackTitle?Tt.getTranslation(T.titleResolver.fallbackTitle):v.pendingItemLabel||"",node:T,route:V,pending:!0});else{const E=await p(T);E&&C.push({label:E,node:T,route:V})}}v.clearBeforeRender&&t(0,o.innerHTML="",o),v.renderer(o,C,g),C=[];for(let I=y;I<l.length;I++){const T=l[I],V=me.mapPathToNode(P,T);if(T.titleResolver){const H=await Ut.extractDataFromPath(V),D=me.substituteDynamicParamsInObject(Object.assign({},H.pathData.context,T.context),H.pathData.pathParams);try{const O=await re.fetchNodeTitleData(T,D);C.push({label:O.label,node:T,route:V});continue}catch{}}const E=await p(T);E&&C.push({label:E,node:T,route:V})}P===at.getCurrentPath()&&(v.clearBeforeRender&&t(0,o.innerHTML="",o),C.length>1?(C[C.length-1].last=!0,document.body.classList.add("lui-breadcrumb"),v.renderer(o,C,g)):v.autoHide&&document.body.classList.remove("lui-breadcrumb"),a={},C.map(I=>{a[I.route]=I}))}else document.body.classList.remove("lui-breadcrumb"),console.warn("No breadcrumb container renderer specified");else t(0,o.innerHTML="",o),document.body.classList.remove("lui-breadcrumb")}});async function p(v){if(v.label&&!v._virtualTree)return Tt.getTranslation(v.label)||v.label;if(v.pathSegment&&v.pathSegment.indexOf(":")===0){const C=me.mapPathToNode(at.getCurrentPath(),v),y=await Ut.extractDataFromPath(C);return me.getDynamicNodeValue(v,y.pathData.pathParams)}return v.pathSegment?v.pathSegment:""}function b(v){n("handleClick",{node:v})}function m(v){je[v?"unshift":"push"](()=>{o=v,t(0,o)})}return i.$$set=v=>{"pathData"in v&&t(2,l=v.pathData),"showBreadcrumb"in v&&t(1,h=v.showBreadcrumb)},[o,h,l,b,m]}class kp extends Vt{constructor(e){super(),Dt(this,e,T9,N9,Et,{pathData:2,showBreadcrumb:1,handleClick:3})}get handleClick(){return this.$$.ctx[3]}}let Wo="not_checked";Mn.addEventListener("message",function(i){i.data==="luigi.tpcDisabled"?(console.warn("Third party cookies are not supported! Silent token renewal might not work!"),Wo="disabled"):i.data==="luigi.tpcEnabled"&&(Wo="enabled")},!1);function L9(){return Wo}const{Boolean:A9,window:C_}=_l;function y_(i,e,t){const n=i.slice();return n[154]=e[t],n[156]=t,n}function P_(i){let e,t;return e=new d2({props:{alertQueue:i[26]}}),e.$on("alertDismiss",i[37]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&67108864&&(r.alertQueue=n[26]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function I_(i){let e,t;function n(){return i[71](i[156])}function l(...a){return i[72](i[156],...a)}function r(...a){return i[73](i[156],...a)}return e=new ap({props:{settings:i[154].mfModal.settings,nodepath:i[154].mfModal.nodepath,modalIndex:i[156],disableBackdrop:i[12]}}),e.$on("close",n),e.$on("iframeCreated",l),e.$on("wcCreated",r),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),t=!0},p(a,o){i=a;const c={};o[0]&268435456&&(c.settings=i[154].mfModal.settings),o[0]&268435456&&(c.nodepath=i[154].mfModal.nodepath),o[0]&4096&&(c.disableBackdrop=i[12]),e.$set(c)},i(a){t||(R(e.$$.fragment,a),t=!0)},o(a){U(e.$$.fragment,a),t=!1},d(a){Oe(e,a)}}}function N_(i){let e,t,n=i[154].mfModal.displayed&&I_(i);return{c(){n&&n.c(),e=ke()},m(l,r){n&&n.m(l,r),A(l,e,r),t=!0},p(l,r){l[154].mfModal.displayed?n?(n.p(l,r),r[0]&268435456&&R(n,1)):(n=I_(l),n.c(),R(n,1),n.m(e.parentNode,e)):n&&(ve(),U(n,1,1,()=>{n=null}),we())},i(l){t||(R(n),t=!0)},o(l){U(n),t=!1},d(l){n&&n.d(l),l&&L(e)}}}function T_(i){let e,t;return e=new ap({props:{settings:i[29].settings,nodepath:i[29].nodepath,$$slots:{default:[E9]},$$scope:{ctx:i}}}),e.$on("close",i[45]),e.$on("drawerState",i[44]),e.$on("iframeCreated",i[42]),e.$on("wcCreated",i[43]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.settings=n[29].settings),l[0]&536870912&&(r.nodepath=n[29].nodepath),l[0]&4096|l[5]&4&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function E9(i){let e,t;return e=new Wl({props:{area:"drawer",disable:i[12]}}),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.disable=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function L_(i){let e,t;return e=new _2({props:{settings:i[27].settings}}),e.$on("modalConfirm",i[74]),e.$on("modalDismiss",i[75]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&134217728&&(r.settings=n[27].settings),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function A_(i){let e,t,n;function l(a){i[76](a)}let r={userSettingGroups:i[17].userSettingGroups};return i[5]!==void 0&&(r.storedUserSettings=i[5]),e=new E2({props:r}),je.push(()=>wt(e,"storedUserSettings",l,i[5])),e.$on("close",i[9]),{c(){Me(e.$$.fragment)},m(a,o){Ve(e,a,o),n=!0},p(a,o){const c={};o[0]&131072&&(c.userSettingGroups=a[17].userSettingGroups),!t&&o[0]&32&&(t=!0,c.storedUserSettings=a[5],vt(()=>t=!1)),e.$set(c)},i(a){n||(R(e.$$.fragment,a),n=!0)},o(a){U(e.$$.fragment,a),n=!1},d(a){Oe(e,a)}}}function R9(i){let e,t,n,l,r,a,o,c;e=new Wl({props:{disable:i[12],$$slots:{default:[V9]},$$scope:{ctx:i}}});let h=i[10]&&R_(),d=!i[25]&&D_(i),g=!i[20]&&V_(i),p=!(i[20]||i[22])&&M_(i),b=i[15]&&!i[20]&&F_(i);return{c(){Me(e.$$.fragment),t=W(),h&&h.c(),n=W(),d&&d.c(),l=W(),g&&g.c(),r=W(),p&&p.c(),a=W(),b&&b.c(),o=ke()},m(m,v){Ve(e,m,v),A(m,t,v),h&&h.m(m,v),A(m,n,v),d&&d.m(m,v),A(m,l,v),g&&g.m(m,v),A(m,r,v),p&&p.m(m,v),A(m,a,v),b&&b.m(m,v),A(m,o,v),c=!0},p(m,v){const C={};v[0]&4096&&(C.disable=m[12]),v[0]&6144|v[5]&4&&(C.$$scope={dirty:v,ctx:m}),e.$set(C),m[10]?h||(h=R_(),h.c(),h.m(n.parentNode,n)):h&&(h.d(1),h=null),m[25]?d&&(ve(),U(d,1,1,()=>{d=null}),we()):d?(d.p(m,v),v[0]&33554432&&R(d,1)):(d=D_(m),d.c(),R(d,1),d.m(l.parentNode,l)),m[20]?g&&(ve(),U(g,1,1,()=>{g=null}),we()):g?(g.p(m,v),v[0]&1048576&&R(g,1)):(g=V_(m),g.c(),R(g,1),g.m(r.parentNode,r)),m[20]||m[22]?p&&(ve(),U(p,1,1,()=>{p=null}),we()):p?(p.p(m,v),v[0]&5242880&&R(p,1)):(p=M_(m),p.c(),R(p,1),p.m(a.parentNode,a)),m[15]&&!m[20]?b?(b.p(m,v),v[0]&1081344&&R(b,1)):(b=F_(m),b.c(),R(b,1),b.m(o.parentNode,o)):b&&(ve(),U(b,1,1,()=>{b=null}),we())},i(m){c||(R(e.$$.fragment,m),R(d),R(g),R(p),R(b),c=!0)},o(m){U(e.$$.fragment,m),U(d),U(g),U(p),U(b),c=!1},d(m){Oe(e,m),m&&L(t),h&&h.d(m),m&&L(n),d&&d.d(m),m&&L(l),g&&g.d(m),m&&L(r),p&&p.d(m),m&&L(a),b&&b.d(m),m&&L(o)}}}function D9(i){let e,t,n,l,r,a,o,c,h,d,g,p,b,m=!i[25]&&U_(i),v=!(i[20]||i[22])&&B_(i),C=i[19]&&H_(i);g=new Wl({props:{disable:i[12],$$slots:{default:[O9]},$$scope:{ctx:i}}});let y=i[10]&&z_();return{c(){e=S("div"),t=S("div"),n=S("div"),l=S("div"),m&&m.c(),r=W(),a=S("div"),v&&v.c(),o=W(),c=S("div"),C&&C.c(),h=W(),d=S("div"),Me(g.$$.fragment),p=W(),y&&y.c(),f(l,"class","fd-tool-layout__header-container"),f(n,"class","fd-tool-layout__container"),f(d,"class","lui-box svelte-qmtge1"),f(c,"class","fd-tool-layout__content-container svelte-qmtge1"),f(a,"class","fd-tool-layout__container lui-main-content"),f(t,"class","fd-tool-layout fd-tool-layout--sticky svelte-qmtge1"),f(e,"class","lui-core-layout svelte-qmtge1")},m(P,I){A(P,e,I),w(e,t),w(t,n),w(n,l),m&&m.m(l,null),w(t,r),w(t,a),v&&v.m(a,null),w(a,o),w(a,c),C&&C.m(c,null),w(c,h),w(c,d),Ve(g,d,null),w(d,p),y&&y.m(d,null),b=!0},p(P,I){P[25]?m&&(ve(),U(m,1,1,()=>{m=null}),we()):m?(m.p(P,I),I[0]&33554432&&R(m,1)):(m=U_(P),m.c(),R(m,1),m.m(l,null)),P[20]||P[22]?v&&(ve(),U(v,1,1,()=>{v=null}),we()):v?(v.p(P,I),I[0]&5242880&&R(v,1)):(v=B_(P),v.c(),R(v,1),v.m(a,o)),P[19]?C?(C.p(P,I),I[0]&524288&&R(C,1)):(C=H_(P),C.c(),R(C,1),C.m(c,h)):C&&(ve(),U(C,1,1,()=>{C=null}),we());const T={};I[0]&4096&&(T.disable=P[12]),I[0]&1177600|I[5]&4&&(T.$$scope={dirty:I,ctx:P}),g.$set(T),P[10]?y||(y=z_(),y.c(),y.m(d,null)):y&&(y.d(1),y=null)},i(P){b||(R(m),R(v),R(C),R(g.$$.fragment,P),b=!0)},o(P){U(m),U(v),U(C),U(g.$$.fragment,P),b=!1},d(P){P&&L(e),m&&m.d(),v&&v.d(),C&&C.d(),Oe(g),y&&y.d()}}}function E_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function V9(i){let e,t,n,l,r,a,o,c,h;t=new Wl({props:{area:"main",disable:i[12]}});let d=i[11].displayed&&E_(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=W(),d&&d.c(),a=ke(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(g,p){A(g,e,p),Ve(t,e,null),w(e,n),w(e,l),A(g,r,p),d&&d.m(g,p),A(g,a,p),o=!0,c||(h=j_(i[46].call(null,e)),c=!0)},p(g,p){const b={};p[0]&4096&&(b.disable=g[12]),t.$set(b),(!o||p[0]&2048)&&jt(e,"lui-split-view",g[11].displayed),(!o||p[0]&2048)&&jt(e,"lui-collapsed",g[11].collapsed),g[11].displayed?d?(d.p(g,p),p[0]&2048&&R(d,1)):(d=E_(g),d.c(),R(d,1),d.m(a.parentNode,a)):d&&(ve(),U(d,1,1,()=>{d=null}),we())},i(g){o||(R(t.$$.fragment,g),R(d),o=!0)},o(g){U(t.$$.fragment,g),U(d),o=!1},d(g){g&&L(e),Oe(t),g&&L(r),d&&d.d(g),g&&L(a),c=!1,h()}}}function R_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
60
60
  <div class="fd-busy-indicator__circle"></div>
61
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1dwxj5w"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function D_(i){let e,t,n,l,r,a,o;function c(m){i[82](m)}function h(m){i[83](m)}function d(m){i[84](m)}function g(m){i[85](m)}function p(m){i[86](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),je.push(()=>wt(e,"displaySearchResult",h,i[3])),je.push(()=>wt(e,"searchResult",d,i[4])),je.push(()=>wt(e,"inputElem",g,i[1])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function V_(i){let e,t,n,l;e=new I9({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&O_(i);return{c(){Me(e.$$.fragment),t=W(),r&&r.c(),n=ke()},m(a,o){Ve(e,a,o),A(a,t,o),r&&r.m(a,o),A(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=O_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){Oe(e,a),a&&L(t),r&&r.d(a),a&&L(n)}}}function O_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function M_(i){let e,t;return e=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function F_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function U_(i){let e,t,n,l,r,a,o;function c(m){i[77](m)}function h(m){i[78](m)}function d(m){i[79](m)}function g(m){i[80](m)}function p(m){i[81](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),je.push(()=>wt(e,"displaySearchResult",h,i[3])),je.push(()=>wt(e,"searchResult",d,i[4])),je.push(()=>wt(e,"inputElem",g,i[1])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function B_(i){let e,t,n,l;return n=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Me(n.$$.fragment),f(t,"class","lui-box svelte-1dwxj5w"),f(e,"class","fd-tool-layout__navigation-container svelte-1dwxj5w")},m(r,a){A(r,e,a),w(e,t),Ve(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&L(e),Oe(n)}}}function H_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function W_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function q_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function O9(i){let e,t,n,l,r,a,o,c,h,d;t=new Wl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&W_(i),p=i[11].displayed&&q_(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=ke(),f(l,"class","wcContainer svelte-1dwxj5w"),f(e,"class","fd-page iframeContainer svelte-1dwxj5w"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(b,m){A(b,e,m),Ve(t,e,null),w(e,n),w(e,l),A(b,r,m),g&&g.m(b,m),A(b,a,m),p&&p.m(b,m),A(b,o,m),c=!0,h||(d=j_(i[46].call(null,e)),h=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&jt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&jt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=W_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(ve(),U(g,1,1,()=>{g=null}),we()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=q_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ve(),U(p,1,1,()=>{p=null}),we())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&L(e),Oe(t),b&&L(r),g&&g.d(b),b&&L(a),p&&p.d(b),b&&L(o),h=!1,d()}}}function z_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
61
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function D_(i){let e,t,n,l,r,a,o;function c(m){i[82](m)}function h(m){i[83](m)}function d(m){i[84](m)}function g(m){i[85](m)}function p(m){i[86](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),je.push(()=>wt(e,"displaySearchResult",h,i[3])),je.push(()=>wt(e,"searchResult",d,i[4])),je.push(()=>wt(e,"inputElem",g,i[1])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function V_(i){let e,t,n,l;e=new I9({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]);let r=i[19]&&O_(i);return{c(){Me(e.$$.fragment),t=W(),r&&r.c(),n=ke()},m(a,o){Ve(e,a,o),A(a,t,o),r&&r.m(a,o),A(a,n,o),l=!0},p(a,o){const c={};o[0]&16384&&(c.pathData=a[14]),o[0]&8192&&(c.pathParams=a[13]),e.$set(c),a[19]?r?(r.p(a,o),o[0]&524288&&R(r,1)):(r=O_(a),r.c(),R(r,1),r.m(n.parentNode,n)):r&&(ve(),U(r,1,1,()=>{r=null}),we())},i(a){l||(R(e.$$.fragment,a),R(r),l=!0)},o(a){U(e.$$.fragment,a),U(r),l=!1},d(a){Oe(e,a),a&&L(t),r&&r.d(a),a&&L(n)}}}function O_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function M_(i){let e,t;return e=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&262144&&(r.burgerTooltip=n[18]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function F_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function U_(i){let e,t,n,l,r,a,o;function c(m){i[77](m)}function h(m){i[78](m)}function d(m){i[79](m)}function g(m){i[80](m)}function p(m){i[81](m)}let b={hideSearchComponent:i[21],pathData:i[14],pathParams:i[13],burgerTooltip:i[18]};return i[0]!==void 0&&(b.isSearchFieldVisible=i[0]),i[3]!==void 0&&(b.displaySearchResult=i[3]),i[4]!==void 0&&(b.searchResult=i[4]),i[1]!==void 0&&(b.inputElem=i[1]),i[2]!==void 0&&(b.customSearchItemRendererSlot=i[2]),e=new bp({props:b}),je.push(()=>wt(e,"isSearchFieldVisible",c,i[0])),je.push(()=>wt(e,"displaySearchResult",h,i[3])),je.push(()=>wt(e,"searchResult",d,i[4])),je.push(()=>wt(e,"inputElem",g,i[1])),je.push(()=>wt(e,"customSearchItemRendererSlot",p,i[2])),e.$on("handleClick",i[31]),e.$on("resizeTabNav",i[32]),e.$on("toggleSearch",i[6]),e.$on("closeSearchResult",i[7]),e.$on("handleSearchNavigation",i[8]),{c(){Me(e.$$.fragment)},m(m,v){Ve(e,m,v),o=!0},p(m,v){const C={};v[0]&2097152&&(C.hideSearchComponent=m[21]),v[0]&16384&&(C.pathData=m[14]),v[0]&8192&&(C.pathParams=m[13]),v[0]&262144&&(C.burgerTooltip=m[18]),!t&&v[0]&1&&(t=!0,C.isSearchFieldVisible=m[0],vt(()=>t=!1)),!n&&v[0]&8&&(n=!0,C.displaySearchResult=m[3],vt(()=>n=!1)),!l&&v[0]&16&&(l=!0,C.searchResult=m[4],vt(()=>l=!1)),!r&&v[0]&2&&(r=!0,C.inputElem=m[1],vt(()=>r=!1)),!a&&v[0]&4&&(a=!0,C.customSearchItemRendererSlot=m[2],vt(()=>a=!1)),e.$set(C)},i(m){o||(R(e.$$.fragment,m),o=!0)},o(m){U(e.$$.fragment,m),o=!1},d(m){Oe(e,m)}}}function B_(i){let e,t,n,l;return n=new up({props:{pathData:i[14],pathParams:i[13],burgerTooltip:i[18]}}),n.$on("handleClick",i[31]),n.$on("resizeTabNav",i[32]),{c(){e=S("div"),t=S("div"),Me(n.$$.fragment),f(t,"class","lui-box svelte-qmtge1"),f(e,"class","fd-tool-layout__navigation-container svelte-qmtge1")},m(r,a){A(r,e,a),w(e,t),Ve(n,t,null),l=!0},p(r,a){const o={};a[0]&16384&&(o.pathData=r[14]),a[0]&8192&&(o.pathParams=r[13]),a[0]&262144&&(o.burgerTooltip=r[18]),n.$set(o)},i(r){l||(R(n.$$.fragment,r),l=!0)},o(r){U(n.$$.fragment,r),l=!1},d(r){r&&L(e),Oe(n)}}}function H_(i){let e,t;return e=new kp({props:{pathData:i[14],pathParams:i[13]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function W_(i){let e,t;return e=new wp({props:{pathData:i[14],pathParams:i[13],resizeTabNavToggle:i[16]}}),e.$on("handleClick",i[31]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.pathData=n[14]),l[0]&8192&&(r.pathParams=n[13]),l[0]&65536&&(r.resizeTabNavToggle=n[16]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function q_(i){let e,t;return e=new op({props:{splitViewSettings:i[11].settings,collapsed:i[11].collapsed,nodepath:i[11].nodepath,disableBackdrop:i[12]}}),e.$on("iframeCreated",i[33]),e.$on("statusChanged",i[34]),e.$on("wcCreated",i[35]),{c(){Me(e.$$.fragment)},m(n,l){Ve(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.splitViewSettings=n[11].settings),l[0]&2048&&(r.collapsed=n[11].collapsed),l[0]&2048&&(r.nodepath=n[11].nodepath),l[0]&4096&&(r.disableBackdrop=n[12]),e.$set(r)},i(n){t||(R(e.$$.fragment,n),t=!0)},o(n){U(e.$$.fragment,n),t=!1},d(n){Oe(e,n)}}}function O9(i){let e,t,n,l,r,a,o,c,h,d;t=new Wl({props:{area:"main",disable:i[12]}});let g=i[15]&&!i[20]&&W_(i),p=i[11].displayed&&q_(i);return{c(){e=S("div"),Me(t.$$.fragment),n=W(),l=S("div"),r=W(),g&&g.c(),a=W(),p&&p.c(),o=ke(),f(l,"class","wcContainer svelte-qmtge1"),f(e,"class","fd-page iframeContainer svelte-qmtge1"),f(e,"tabindex","0"),jt(e,"lui-split-view",i[11].displayed),jt(e,"lui-collapsed",i[11].collapsed)},m(b,m){A(b,e,m),Ve(t,e,null),w(e,n),w(e,l),A(b,r,m),g&&g.m(b,m),A(b,a,m),p&&p.m(b,m),A(b,o,m),c=!0,h||(d=j_(i[46].call(null,e)),h=!0)},p(b,m){const v={};m[0]&4096&&(v.disable=b[12]),t.$set(v),(!c||m[0]&2048)&&jt(e,"lui-split-view",b[11].displayed),(!c||m[0]&2048)&&jt(e,"lui-collapsed",b[11].collapsed),b[15]&&!b[20]?g?(g.p(b,m),m[0]&1081344&&R(g,1)):(g=W_(b),g.c(),R(g,1),g.m(a.parentNode,a)):g&&(ve(),U(g,1,1,()=>{g=null}),we()),b[11].displayed?p?(p.p(b,m),m[0]&2048&&R(p,1)):(p=q_(b),p.c(),R(p,1),p.m(o.parentNode,o)):p&&(ve(),U(p,1,1,()=>{p=null}),we())},i(b){c||(R(t.$$.fragment,b),R(g),R(p),c=!0)},o(b){U(t.$$.fragment,b),U(g),U(p),c=!1},d(b){b&&L(e),Oe(t),b&&L(r),g&&g.d(b),b&&L(a),p&&p.d(b),b&&L(o),h=!1,d()}}}function z_(i){let e;return{c(){e=S("div"),e.innerHTML=`<div class="fd-busy-indicator fd-busy-indicator--m" aria-hidden="false" aria-label="Loading" data-testid="luigi-loading-spinner"><div class="fd-busy-indicator__circle"></div>
62
62
  <div class="fd-busy-indicator__circle"></div>
63
- <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-1dwxj5w"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function M9(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&P_(i),b=i[28],m=[];for(let E=0;E<b.length;E+=1)m[E]=N_(y_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&T_(i),y=i[27].displayed&&L_(i),P=i[17].displayed&&A_(i);const I=[D9,R9],T=[];function V(E,H){return E[30]?0:1}return o=V(i),c=T[o]=I[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[24]),f(e,"class","svelte-1dwxj5w"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[22]),jt(e,"no-top-nav",i[25]),jt(e,"no-animation",i[23]),jt(e,"btp-layout",i[30])},m(E,H){A(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),T[o].m(e,null),h=!0,d||(g=[ee(C_,"resize",i[36]),ee(C_,"keydown",i[47])],d=!0)},p(E,H){if(E[26]&&E[26].length?p?(p.p(E,H),H[0]&67108864&&R(p,1)):(p=P_(E),p.c(),R(p,1),p.m(e,t)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),H[0]&268439552|H[1]&1792){b=E[28];let D;for(D=0;D<b.length;D+=1){const O=y_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=N_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(ve(),D=b.length;D<m.length;D+=1)v(D);we()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=T_(E),C.c(),R(C,1),C.m(e,l)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=L_(E),y.c(),R(y,1),y.m(e,r)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=A_(E),P.c(),R(P,1),P.m(e,a)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&jt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&jt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&jt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&jt(e,"no-animation",E[23])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(A9);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&L(e),p&&p.d(),ft(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Je(g)}}}function F9(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Q,X,ce,Z=!0,G=!1,j,ae,fe,ne=[],se={isDirty:!1,persistUrl:null},Se,ie,Re=!1,ze,Ce,Pe={},Fe,ct,qe,dt=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ft}=e,{inputElem:de}=e,{customSearchItemRendererSlot:xe}=e,{displaySearchResult:St}=e,{searchResult:ln}=e,{storedUserSettings:Ln}=e;const an=async B=>{const ue=B.iframe.luigi,Ee=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Ee&&typeof Ge=="object"&&Ge!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,userSettings:Ie?Ge[Ee]:null,anchor:ul.getAnchor(),cssVariables:await Bo.getCSSVariables()});return Ae.specialIframeTypes.map(Ue=>Ue.iframeConfigKey).forEach(Ue=>{he[Ue]=B[Ue]||!1}),he},Ht=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||T,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await an(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Ae.sendMessageToIframe(B.iframe,Ee)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ue)},rt=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Sn(B.params),Ge=at.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?le.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:T}),ue.iframe.pv="pv"}},tt=(B,ue,Ee,Ge)=>{let Ie=Sn(B.params,Ee,Ge);const{preventHistoryEntry:he,preserveQueryParams:Ue,preventContextUpdate:Ct}=B.params,qt={keepBrowserHistory:!he,navSync:Z,preventContextUpdate:Ct};return Ie=le.addLeadingSlash(Ie),Ie=Ue?me.composeSearchParamsToRoute(Ie):Ie,rt(B,ue),at.navigateTo(Ie,qt)},Yt=B=>B.split("?")[0],Qt=(B,ue)=>{if(B.length===0)return!1;const Ee=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Yt(Ge.path),Yt(Ge.nextPath)].includes(Yt(Ee))},An=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},Lt=B=>new Promise((ue,Ee)=>{Ei(B)?ql().then(()=>{An(),ue()},()=>{Ee()}):ue()}),gn=()=>({get:()=>({unsavedChanges:se,hideNav:ei,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:T,pathParams:E,hideGlobalSearch:Li,hideSideNav:ui,isolateView:Q,pageErrorHandler:X,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ie,isNavigateBack:G,goBackContext:j,isNavigationSyncEnabled:Z}),set:B=>{B&&(t(23,Ai=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ei=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,ae=B.navigationPath):ue==="context"?T=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideGlobalSearch"?t(21,Li=B.hideGlobalSearch):ue==="hideSideNav"?(ui!=B.hideSideNav&&(t(23,Ai=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,ui=B.hideSideNav)):ue==="isolateView"?Q=B.isolateView:ue==="pageErrorHandler"?X=B.pageErrorHandler:ue==="previousNodeValues"?ce=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(qe),qe=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(qe)):ue==="tabNav"?t(15,ie=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?j=B.goBackContext:ue==="isNavigationSyncEnabled"&&(Z=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ei,getUnsavedChangesModalPromise:Lt,showUnsavedChangesModal:ql,showAlert:Wt,prepareInternalData:an,dispatch:n}),xn=(B,ue)=>{pn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),qn.deleteCache();const Ge=at.getCurrentPath();at.handleRouteChange(Ge,gn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ee,Ge)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ge||{};Qt(ne,Ee)||(ne=[],ai.removeInactiveIframes(B));for(let Ct=Y.length;Ct--;)Yi(Ct);$r.removeBackdrop(),oi(),at.handleRouteChange(Ee,gn(),B,ue,Ie,he)})},Gt=(B,ue)=>le.replaceVars(at.getNodePath(B),ue,":",!1),Sn=(B,ue,Ee)=>{const Ge=ue||D,Ie=Ee||E;let he=ae;if(ue){let Ct=ue.parent;for(he=[ue];Ct;)he.push(Ct),Ct=Ct.parent;he=[...he].reverse()}let Ue=B.link;if(B.fromVirtualTreeRoot){const Ct=[...he].reverse().find(qt=>qt.virtualTree);if(!Ct){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromParent)Ue=at.concatenatePath(Gt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const Ct=[...he].reverse().find(qt=>qt.navigationContext&&qt.navigationContext.length>0);Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromContext){const Ct=B.fromContext,qt=[...he].reverse().find(yr=>Ct===yr.navigationContext);Ue=at.concatenatePath(Gt(qt,Ie),B.link)}else B.intent?Ue=me.getIntentPath(B.link):B.relative&&(Ue=at.concatenatePath(Gt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ue+=Ue.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Ct,qt)=>{Ue+=encodeURIComponent(me.getContentViewParamPrefix()+Ct[0])+"="+encodeURIComponent(Ct[1])+(qt<Object.keys(B.nodeParams).length-1?"&":"")})),Ue},wi=B=>{const ue=B.detail.node;Lt().then(()=>{if(Xe(),ue.openNodeInModal){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);bn(Ee,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,vr(Ee,ue.drawer)}else gn().set({isNavigationSyncEnabled:!0}),at.handleRouteClick(ue,gn())},()=>{})},ki=()=>{t(16,Re=!Re)};qr("handleNavigation",tt);const mn=B=>B?!0:(console.warn("No search provider defined."),!1),Si=()=>{mn(Ce)&&t(0,Ft=!1)},Ci=()=>{mn(Ce)&&de&&(t(0,Ft=!0),de.focus())},yi=()=>{mn(Ce)&&de&&(t(1,de.value="",de),Ni())},Pi=()=>{t(0,Ft=!Ft),Dk.clearSearchField()},Ii=()=>{if(mn(Ce)&&de)return de.value},pl=B=>{mn(Ce)&&de&&(t(1,de.value=B,de),le.isFunction(Ce.onInput)?Ce.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ml=B=>{mn(Ce)&&de&&t(1,de.placeholder=B,de)},bl=B=>{if(mn(Ce))if(B&&B.length>0)if(le.isFunction(Ce.customSearchResultRenderer)){let ue={fireItemSelected:Ee=>{Ce.onSearchResultItemSelected(Ee)}};Ce.customSearchResultRenderer(B,xe,ue)}else t(3,St=!0),t(4,ln=B);else console.warn("Search result array is empty.")},Ni=()=>{if(mn(Ce)&&(t(3,St=!1),t(4,ln=[]),xe))for(;xe.lastElementChild;)xe.removeChild(xe.lastElementChild)},Gi=B=>{let ue=B.detail.node,Ee={params:{link:ue.link,nodeParams:ue.params}};tt(Ee)},Ki=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ht.getDefaultData().mfSplitView),ht.open(gn(),B,ue)},oi=()=>{ht.close(gn())},vl=()=>{ht.collapse(gn()),t(11,o.collapsed=!0,o)},wl=()=>{ht.expand(gn()),t(11,o.collapsed=!1,o)},ji=()=>o.displayed?o.collapsed:!1,kl=()=>o.displayed?!o.collapsed:!1,Sl=()=>o.displayed,Cl=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ti=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},yl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ei,Li,ui,Ai,fi,K,be;const Xe=()=>{document.body.classList.remove("lui-leftNavToggle")},nt=()=>{Qi();const B=window.innerWidth>=fn.desktopMinWidth&&fi<fn.desktopMinWidth,ue=window.innerWidth<fn.desktopMinWidth&&fi>=fn.desktopMinWidth;(B||ue)&&Xe(),fi=window.innerWidth};let it=[];const bt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===ue)[0]},Wt=(B,ue=!1)=>{const Ee=te.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Ie=Ee(B,ue);if(Ie!==!1)return Ie}const Ge=it;return B.id||(B.id=le.getRandomId()),B.id&&Ge&&bt(Ge,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{bt(it,B.id)&&Zt(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,it=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},Zt=(B,ue)=>{const Ee=bt(it,B);if(!Ee){console.error("An unexisting alert has been dismissed.",it,B);return}if(t(26,it=it.filter(Ge=>Ge.settings.id!==B)),Ee.openFromClient){const Ge=ai.getActiveIframe(fe),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ae.sendMessageToIframe(Ge,Ie)}else Ee.promise&&Ee.promise.resolve(ue||B)},ci=B=>{Zt(B.detail.id,B.detail.dismissKey)};let Ji;const Pl=()=>{t(27,Ji={displayed:!1,content:{},openFromClient:!1,promise:null})};Pl();const di=(B,ue=!1,Ee)=>new Promise((Ge,Ie)=>{t(27,Ji={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Ee})}),Il=B=>{const{promise:ue,openFromClient:Ee,targetIframe:Ge}=Ji;if(Pl(),B?ue.resolve():ue.reject(),Ee&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(Ge,Ie)}},Ei=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},ql=()=>di({header:Tt.getTranslation("luigi.unsavedChangesAlert.header"),body:Tt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")}),br=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;qr("getUnsavedChangesModalPromise",Lt);let Y=[];const Rt=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,Y=[]);return}let Ee;if(t(28,Y=Y.filter((Ie,he)=>(B===he&&(Ee=Ie),B!==he))),(Ge=Ee==null?void 0:Ee.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ae.sendMessageToIframe(Ee.mfModal.openerIframe,Ie)}};Rt();const bn=async(B,ue,Ee)=>{if(await re.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Ee}};t(28,Y=[...Y,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.appendModalDataToUrl(B,ue)},ti=(B,ue)=>{t(28,Y[ue].modalIframe=B.detail.modalIframe,Y),t(28,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},xr=(B,ue)=>{t(28,Y[ue].modalWC=B.detail.modalWC,Y),t(28,Y[ue].modalWCData=B.detail.modalWCData,Y)},Yi=(B,ue,Ee)=>{const Ge=(Ue,Ct)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.removeModalDataFromUrl(Ct),Rt(Ue,Ee)},Ie=Y[B],he=le.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Lt(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),he&&he.doResolve(Ee)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),he&&he.doResolve(Ee))};qr("openViewInModal",bn);let rn={};const zl=()=>{t(29,rn.displayed=!1,rn),t(29,rn.nodepath=void 0,rn),t(29,rn.settings={},rn),t(12,g=!1)};zl();const vr=async(B,ue)=>{await re.shouldPreventNavigationForPath(B)||(t(29,rn.displayed=!0,rn),t(29,rn.nodepath=B,rn),t(29,rn.settings=ue,rn),rn.settings&&rn.settings.backdrop&&t(12,g=!0))},ea=()=>window.innerWidth>=fn.desktopMinWidth&&rn.displayed&&rn.settings&&!rn.settings.overlap,Qi=(B=!1)=>{if(!ea())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Ee.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(ue);Ee.forEach(Ie=>{wr(Ie,Ge)})}},wr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},ps=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Qi()},ta=B=>{m=B.detail.modalWC,B.detail.modalWCData,Qi()},Gl=B=>{d=B.detail.activeDrawer},Kl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?Lt(p.contentWindow).then(()=>{zl()},()=>{}):m&&Lt().then(()=>{zl()},()=>{}),Qi(!0)}catch(ue){console.log(ue)}},ms=()=>{const B=cr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Pe.userSettingGroups=[...B],Pe),t(17,Pe.displayed=!0,Pe)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},na=()=>{t(17,Pe.displayed=!1,Pe)},ia=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},jl=B=>{let ue=ae;if(D){let Ie=D.parent;for(ue=[D];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Ee=B.link,Ge=Gt(D,E);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(Ue=>Ue.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromParent){const Ie=Gt(D.parent,E);Ee=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(Ue=>Ue.navigationContext&&Ue.navigationContext.length>0),he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(Ct=>Ie===Ct.navigationContext),Ue=Gt(he,E);Ee=Ge.split(Ue).join("")}else Ee=Ge;return Ee};function bs(B){sessionStorage.removeItem("historyState"),fr.shouldPreload=!0,fr.preload(!0),fr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Ee=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ee};Tt.addCurrentLocaleChangeListener(he=>{const Ue={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Ue)}),Mn.addEventListener("popstate",async he=>{const Ue=it;if(!Ue||!(Ue.length>0))return;const Ct=Ue.map(qt=>{if(qt&&!qt.openFromClient&&typeof qt.settings.ttl=="number"){if(qt.settings.ttl===0)return null;qt.settings.ttl--}return qt}).filter(qt=>qt);t(26,it=Ct)}),Mn.addEventListener("message",async he=>{const Ue=Ae.getValidMessageSource(he),Ct=Y[Y.length-1],qt=Ct&&Ct.modalIframe,yr=Ct&&Ct.modalIframeData,Xi={modalIframe:qt,modalIframeData:yr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!Ue)return;Ue._ready=!0;const Pr=Ae.getSpecialIframeMessageSource(he,Xi),Ri=Pr&&Pr.length>0,Ir=te.getConfigValue("communication.skipEventsWhenInactive");if(Ir&&Ir.length>0&&!Ri&&Ue.contentWindow!==window&&!le.isElementVisible(Ue)&&Ir.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Be=te.getConfigValue("communication.customMessagesListeners")||{},It=as.convertCustomMessageInternalToUser(he.data),yt=Be[It.id],sn="luigi.updateUserSettings";if(Pe&&It.id===sn){yt&&console.warn(`The key "${sn}" is not allowed to use for custom messages.`);return}if(typeof yt=="function"){const Cn=zi.getMicrofrontends().find(Xt=>Ae.isMessageSource(he,Xt.container));yt(It,Cn,le.removeInternalProperties(Ue.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ue.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ue.luigi.viewUrl=Ue.luigi.nextViewUrl,Ue.luigi.nextViewUrl="",Ue.luigi.clientPermissions=Ue.luigi.nextClientPermissions,delete Ue.luigi.nextClientPermissions,Ie.navigateOk=!0,fr.preload()),he.data.msg==="luigi.get-context"){if(Ue.luigi.clientVersion=he.data.clientVersion,Ue.luigi.initOk=!1,Ri)Pr.forEach(async Be=>{let It=Xi[Be.dataKey].context;const yt={...Ie,iframe:Xi[Be.iframeKey],context:It,pathParams:Xi[Be.dataKey].pathParams,nodeParams:Xi[Be.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Xi[Be.iframeKey].luigi.currentNode),modal:Be.iframeKey.startsWith("modal"),drawer:Be.iframeKey.startsWith("drawer"),splitView:Be.iframeKey.startsWith("splitView")};await Ht(yt,{})});else if(Ie.iframe&&Ae.isMessageSource(he,Ie.iframe))await Ht(Ie,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Sr(),fr.preload();else if(Ue.luigi.preloading)await Ht({iframe:Ue,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Be=cr.findActiveCustomUserSettingsIframe(he.source);if(Be){let It=Be.getAttribute("userSettingsGroup"),yt={context:{userSettingsData:Ln[It]},iframe:Be};await Ht(yt)}}fr.viewGroupLoaded(Ue)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(qe),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const Be=window.location.href,It=Ri?Ue.luigi.currentNode:void 0,yt=Ri?Ue.luigi.pathParams:void 0,sn=he.data.params,{intent:Cn,newTab:Xt,modal:$i,splitView:Yl,drawer:Nl,withoutSync:Ts}=sn;let Ql=Xt||$i||Yl||Nl;const ca=()=>{const Gn=le.getRemotePromise(he.data.remotePromiseId);Gn&&Gn.doResolve()},cn=()=>{const Gn=le.getRemotePromise(he.data.remotePromiseId);Gn&&Gn.doReject()},Tl=Gn=>{!Gn||Be!==window.location.href?ca():cn()};he.source!==window&&!Cn&&sn.link&&(sn.link=sn.link.split("?")[0]);let Ot=Sn(he.data.params,It,yt);if(Ql=Ql||Cn&&Ot.external,!Ql)Lt().then(()=>{Z=!he.data.params.withoutSync,tt(he.data,Ie,It,yt).then(()=>{Tl(!0)}).catch(()=>{cn()}),Y.forEach((Gn,da)=>{Yi(da)}),oi(),Kl(),Z=!0}).catch(()=>{cn()});else{if(Cn&&Ot.external){at.navigateToExternalLink({url:Ot.url,sameWindow:!Ot.openInNewTab});return}if(Ot=le.addLeadingSlash(Ot),Xt){await ia(Ot),Tl();return}const Gn=await Jl(Ot);if(Ot=await me.handlePageNotFoundAndRetrieveRedirectPath(gn(),Ot,Gn),!Ot){cn();return}fe=B,$i!==void 0?(!$i.keepPrevious&&Rt(),await bn(Ot,$i===!0?{}:$i,Ue),Tl()):Yl!==void 0?(await Ki(Ot,Yl),Tl()):Nl!==void 0&&(zl(),Nl.isDrawer=!0,await vr(Ot,Nl),Tl())}}if(he.data.msg==="luigi.navigation.back"){const Be=Y[Y.length-1],It=Y.length>1&&Y[Y.length-2],yt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,Be&&Be.modalIframe)){Yi(Y.length-1,!0,yt);let sn=Ie;if(It&&It.modalIframeData&&It.modalIframe){const Cn=It,Xt=Cn.modalIframeData;sn={pathParams:Xt.pathParams,context:Xt.context,iframe:Cn.modalIframe}}sn.iframe&&await Ht(sn,{goBackContext:yt})}else Ae.isMessageSource(he,C)?(oi(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):Ae.isMessageSource(he,p)?(d&&(d=!d),Kl(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):ne&&ne.length>0?Lt().then(()=>{ai.setActiveIframeToPrevious(B);const sn=ne.pop();Ie.iframe=ai.getActiveIframe(B),G=!0,ne=ne,j=yt,tt({params:{link:sn.path}},Ie)},()=>{}):(yt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Be=he.data.data,yt={msg:"luigi.navigation.currentRoute.answer",data:{route:jl(Be),correlationId:Be.id}};Ae.sendMessageToIframe(Ue,yt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ri){const Be=le.addLeadingSlash(Sn(he.data.params,Ue.luigi.currentNode,Ue.luigi.pathParams));at.updateModalDataInUrl(Be,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Be=Ue.luigi.currentNode,It=Ue.luigi.pathParams,yt=he.data.data,sn=Sn(yt,Be,It),Cn=sn?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),sn):!1,Xt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:yt.id,pathExists:Cn?Cn.isExistingRoute:!1}};Ae.sendMessageToIframe(Ue,Xt)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const Be=new Set;Be.add(he.source),se={dirtySet:Be}}se.persistUrl=window.location.href,he.data.dirty?se.dirtySet.add(he.source):se.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Be=he.data.data.settings;fe=B,Pl(),di(Be,!0,Ue).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Be}=he.data.data;if(!Be.text&&!le.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}fe=B,Wt(Be,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ue.luigi.clientPermissions&&Ue.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Be}=he.data.data;Be&&Tt.setCurrentLocale(Be)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ze&&!ze.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&kr(),he.data.msg==="storage"&&a2.process(Ue.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Be=Ue.luigi.currentNode;Be&&Be.runTimeErrorHandler&&le.isFunction(Be.runTimeErrorHandler.errorFn)?Be.runTimeErrorHandler.errorFn(he.data.errorObj,Be):Ge&&le.isFunction(Ge.errorFn)&&Ge.errorFn(he.data.errorObj,Be)}if(he.data.msg==="luigi.addSearchParams")if(Ue.luigi.currentNode.clientPermissions&&Ue.luigi.currentNode.clientPermissions.urlParameters){const{data:Be,keepBrowserHistory:It}=he.data;me.addSearchParamsFromClient(Ue.luigi.currentNode,Be,It)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Ri)return;const{data:Be,keepBrowserHistory:It}=he.data;ul.addNodeParams(Be,It)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Be}=he.data;ul.setAnchor(Be)}if(he.data.msg==="luigi.setVGData"){const Be=he.data,It=re.findViewGroup(Ue.luigi.currentNode);if(It){const yt=re.getViewGroupSettings(It);yt._liveCustomData=Be.data,te.configChanged("navigation.viewgroupdata")}}}),xn(B,Ie)}qr("store",l),qr("getTranslation",r);const kr=B=>{ze&&ze.thirdPartyCookieErrorHandling&&le.isFunction(ze.thirdPartyCookieErrorHandling)&&ze.thirdPartyCookieErrorHandling()};function Sr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(qe),t(10,a=!1)},250)):clearTimeout(qe)}const Jl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Sn(ue),Ge=Ee?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ee):!1;return Ge?Ge.isExistingRoute:!1},Zi=()=>Y.length>0||ne.length!==0;nn(()=>{if(Bo._init(),Ce=te.getConfigValue("globalSearch.searchProvider"),Se=te.getConfigValue("settings.responsiveNavigation"),fi=window.innerWidth,Se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();B&&ue&&t(18,Fe=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(Se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();if(B&&ue){const Ee=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,Fe=Ee?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ze=te.getConfigValue("settings.thirdPartyCookieCheck"),ze&&ze.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ze.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{L9()==="disabled"&&kr()}),document.body.removeChild(B)}})}),Zr(()=>{Qi()}),zn(()=>{t(19,ct=te.getConfigValue("navigation.breadcrumbs")),Ce=te.getConfigValue("globalSearch.searchProvider"),t(24,K=te.getConfigValue("tag")),t(25,be=te.getConfigValue("settings.header.disabled"))});const la=B=>{B.keyCode===Hl&&Y&&Y.length>0&&Yi(Y.length-1)},ra=B=>Yi(B,!0),vs=(B,ue)=>ti(ue,B),aa=(B,ue)=>xr(ue,B),sa=()=>Il(!0),oa=()=>Il(!1);function ua(B){Ln=B,t(5,Ln)}function ws(B){Ft=B,t(0,Ft)}function ks(B){St=B,t(3,St)}function Ss(B){ln=B,t(4,ln)}function fa(B){de=B,t(1,de)}function Cs(B){xe=B,t(2,xe)}function ys(B){Ft=B,t(0,Ft)}function Ps(B){St=B,t(3,St)}function Is(B){ln=B,t(4,ln)}function Cr(B){de=B,t(1,de)}function Ns(B){xe=B,t(2,xe)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ft=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,xe=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,St=B.displaySearchResult),"searchResult"in B&&t(4,ln=B.searchResult),"storedUserSettings"in B&&t(5,Ln=B.storedUserSettings)},[Ft,de,xe,St,ln,Ln,Pi,Ni,Gi,na,a,o,g,E,ae,ie,Re,Pe,Fe,ct,ei,Li,ui,Ai,K,be,it,Ji,Y,rn,dt,wi,ki,Cl,Ti,yl,nt,ci,Il,ti,xr,Yi,ps,ta,Gl,Kl,bs,la,l,r,Si,Ci,yi,Ii,pl,ml,bl,Ki,oi,vl,wl,ji,kl,Sl,Wt,di,br,ms,jl,Jl,Zi,ra,vs,aa,sa,oa,ua,ws,ks,Ss,fa,Cs,ys,Ps,Is,Cr,Ns]}class U9 extends Vt{constructor(e){super(),Dt(this,e,F9,M9,Et,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const B9=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Sp=B9(),H9=Ik((i,e,t)=>Tt.getTranslation(i,e,t));Luigi._store=Sp;const W9=()=>new Promise(i=>{Tt._init(),hn.init().then(()=>{setTimeout(()=>{let e;zi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new U9({target:zi.getLuigiContainer(),props:{store:Sp,getTranslation:H9}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(W9);
63
+ <div class="fd-busy-indicator__circle"></div></div>`,f(e,"class","fd-page spinnerContainer appSpinner fade-out svelte-qmtge1"),f(e,"aria-hidden","false"),f(e,"aria-label","Loading")},m(t,n){A(t,e,n)},d(t){t&&L(e)}}}function M9(i){let e,t,n,l,r,a,o,c,h,d,g,p=i[26]&&i[26].length&&P_(i),b=i[28],m=[];for(let E=0;E<b.length;E+=1)m[E]=N_(y_(i,b,E));const v=E=>U(m[E],1,1,()=>{m[E]=null});let C=i[29].displayed&&i[29].settings.isDrawer&&T_(i),y=i[27].displayed&&L_(i),P=i[17].displayed&&A_(i);const I=[D9,R9],T=[];function V(E,H){return E[30]?0:1}return o=V(i),c=T[o]=I[o](i),{c(){e=S("div"),p&&p.c(),t=W();for(let E=0;E<m.length;E+=1)m[E].c();n=W(),C&&C.c(),l=W(),y&&y.c(),r=W(),P&&P.c(),a=W(),c.c(),f(e,"id","app"),f(e,"configversion",i[24]),f(e,"class","svelte-qmtge1"),jt(e,"no-nav",i[20]),jt(e,"no-side-nav",i[22]),jt(e,"no-top-nav",i[25]),jt(e,"no-animation",i[23]),jt(e,"btp-layout",i[30])},m(E,H){A(E,e,H),p&&p.m(e,null),w(e,t);for(let D=0;D<m.length;D+=1)m[D].m(e,null);w(e,n),C&&C.m(e,null),w(e,l),y&&y.m(e,null),w(e,r),P&&P.m(e,null),w(e,a),T[o].m(e,null),h=!0,d||(g=[ee(C_,"resize",i[36]),ee(C_,"keydown",i[47])],d=!0)},p(E,H){if(E[26]&&E[26].length?p?(p.p(E,H),H[0]&67108864&&R(p,1)):(p=P_(E),p.c(),R(p,1),p.m(e,t)):p&&(ve(),U(p,1,1,()=>{p=null}),we()),H[0]&268439552|H[1]&1792){b=E[28];let D;for(D=0;D<b.length;D+=1){const O=y_(E,b,D);m[D]?(m[D].p(O,H),R(m[D],1)):(m[D]=N_(O),m[D].c(),R(m[D],1),m[D].m(e,n))}for(ve(),D=b.length;D<m.length;D+=1)v(D);we()}E[29].displayed&&E[29].settings.isDrawer?C?(C.p(E,H),H[0]&536870912&&R(C,1)):(C=T_(E),C.c(),R(C,1),C.m(e,l)):C&&(ve(),U(C,1,1,()=>{C=null}),we()),E[27].displayed?y?(y.p(E,H),H[0]&134217728&&R(y,1)):(y=L_(E),y.c(),R(y,1),y.m(e,r)):y&&(ve(),U(y,1,1,()=>{y=null}),we()),E[17].displayed?P?(P.p(E,H),H[0]&131072&&R(P,1)):(P=A_(E),P.c(),R(P,1),P.m(e,a)):P&&(ve(),U(P,1,1,()=>{P=null}),we()),c.p(E,H),(!h||H[0]&16777216)&&f(e,"configversion",E[24]),(!h||H[0]&1048576)&&jt(e,"no-nav",E[20]),(!h||H[0]&4194304)&&jt(e,"no-side-nav",E[22]),(!h||H[0]&33554432)&&jt(e,"no-top-nav",E[25]),(!h||H[0]&8388608)&&jt(e,"no-animation",E[23])},i(E){if(!h){R(p);for(let H=0;H<b.length;H+=1)R(m[H]);R(C),R(y),R(P),R(c),h=!0}},o(E){U(p),m=m.filter(A9);for(let H=0;H<m.length;H+=1)U(m[H]);U(C),U(y),U(P),U(c),h=!1},d(E){E&&L(e),p&&p.d(),ft(m,E),C&&C.d(),y&&y.d(),P&&P.d(),T[o].d(),d=!1,Je(g)}}}function F9(i,e,t){const n=Jt();let{store:l}=e,{getTranslation:r}=e,a=!1,o={displayed:!1},c,h,d=!1,g,p,b,m,v,C,y,P,I,T,V,E,H,D,O,z,Q,X,ce,Z=!0,G=!1,j,ae,fe,ne=[],se={isDirty:!1,persistUrl:null},Se,ie,Re=!1,ze,Ce,Pe={},Fe,ct,qe,dt=te.getConfigValue("settings.btpToolLayout")&&le.requestExperimentalFeature("btpToolLayout",!0),{isSearchFieldVisible:Ft}=e,{inputElem:de}=e,{customSearchItemRendererSlot:xe}=e,{displaySearchResult:St}=e,{searchResult:ln}=e,{storedUserSettings:Ln}=e;const an=async B=>{const ue=B.iframe.luigi,Ee=ue.currentNode&&ue.currentNode.userSettingsGroup,Ge=await te.readUserSettings(),Ie=Ee&&typeof Ge=="object"&&Ge!==null,he=Ae.applyCoreStateData({isNavigateBack:G,viewStackSize:ne.length,clientPermissions:ue.nextViewUrl?ue.nextClientPermissions:ue.clientPermissions,thirdPartyCookieCheck:await te.getConfigValue("settings.thirdPartyCookieCheck"),userSettings:Ie?Ge[Ee]:null,anchor:ul.getAnchor(),cssVariables:await Bo.getCSSVariables()});return Ae.specialIframeTypes.map(Ue=>Ue.iframeConfigKey).forEach(Ue=>{he[Ue]=B[Ue]||!1}),he},Ht=async(B,ue={})=>{if(!B.iframe){console.debug("iframe does not exist, not able to send context.");return}const Ee={msg:"luigi.init",context:JSON.stringify(Object.assign({},B.context||T,ue)),nodeParams:JSON.stringify(Object.assign({},B.nodeParams||V)),pathParams:JSON.stringify(Object.assign({},B.pathParams||E)),searchParams:JSON.stringify(Object.assign({},me.prepareSearchParamsForClient(B.iframe.luigi.currentNode))),internal:JSON.stringify(await an(B)),authData:fl.getStoredAuthData()};B.iframe.luigi._lastUpdatedMessage=Ee,Ae.sendMessageToIframe(B.iframe,Ee)},Te=B=>{const ue={msg:"luigi.auth.tokenIssued",authData:B};Ae.broadcastMessageToAllIframes(ue)},rt=(B,ue)=>{if(B.params.preserveView||B.params.viewgroup){const Ee=Sn(B.params),Ge=at.getNodePath(D,H);ne.push({path:ue.iframe.luigi&&ue.iframe.luigi.pathParams?le.replaceVars(Ge,ue.iframe.luigi.pathParams,":",!1):Ge,nextPath:Ee.startsWith("/")?Ee:"/"+Ee,context:T}),ue.iframe.pv="pv"}},tt=(B,ue,Ee,Ge)=>{let Ie=Sn(B.params,Ee,Ge);const{preventHistoryEntry:he,preserveQueryParams:Ue,preventContextUpdate:Ct}=B.params,qt={keepBrowserHistory:!he,navSync:Z,preventContextUpdate:Ct};return Ie=le.addLeadingSlash(Ie),Ie=Ue?me.composeSearchParamsToRoute(Ie):Ie,rt(B,ue),at.navigateTo(Ie,qt)},Yt=B=>B.split("?")[0],Qt=(B,ue)=>{if(B.length===0)return!1;const Ee=ue.startsWith("/")?ue:`/${ue}`,Ge=[...B].pop();return[Yt(Ge.path),Yt(Ge.nextPath)].includes(Yt(Ee))},An=B=>{se&&se.dirtySet&&(B?se.dirtySet.delete(B):se.dirtySet.clear())},Lt=B=>new Promise((ue,Ee)=>{Ei(B)?ql().then(()=>{An(),ue()},()=>{Ee()}):ue()}),gn=()=>({get:()=>({unsavedChanges:se,hideNav:ei,viewUrl:O,nodeParams:V,viewGroup:z,urlParamsRaw:H,currentNode:D,navigationPath:ae,context:T,pathParams:E,hideGlobalSearch:Li,hideSideNav:ui,isolateView:Q,pageErrorHandler:X,previousNodeValues:ce,mfSplitView:o,splitViewValues:c,splitViewIframe:C,splitViewWC:P,showLoadingIndicator:a,tabNav:ie,isNavigateBack:G,goBackContext:j,isNavigationSyncEnabled:Z}),set:B=>{B&&(t(23,Ai=!1),Object.getOwnPropertyNames(B).forEach(ue=>{ue==="hideNav"?t(20,ei=B.hideNav):ue==="viewUrl"?O=B.viewUrl:ue==="nodeParams"?V=B.nodeParams:ue==="viewGroup"?z=B.viewGroup:ue==="urlParamsRaw"?H=B.urlParamsRaw:ue==="currentNode"?D=B.currentNode:ue==="navigationPath"?t(14,ae=B.navigationPath):ue==="context"?T=B.context:ue==="pathParams"?t(13,E=B.pathParams):ue==="hideGlobalSearch"?t(21,Li=B.hideGlobalSearch):ue==="hideSideNav"?(ui!=B.hideSideNav&&(t(23,Ai=!0),setTimeout(()=>{const Ee=document.querySelector("#app");Ee&&Ee.classList.remove("no-animation")})),t(22,ui=B.hideSideNav)):ue==="isolateView"?Q=B.isolateView:ue==="pageErrorHandler"?X=B.pageErrorHandler:ue==="previousNodeValues"?ce=B.previousNodeValues:ue==="mfSplitView"?t(11,o=B.mfSplitView):ue==="splitViewValues"?c=B.splitViewValues:ue==="splitViewIframe"?C=B.splitViewIframe:ue=="splitViewWC"?P=B.splitViewWC:ue==="showLoadingIndicator"?B.showLoadingIndicator===!0?(clearTimeout(qe),qe=setTimeout(()=>{t(10,a=!0)},250)):(t(10,a=!1),clearTimeout(qe)):ue==="tabNav"?t(15,ie=B.tabNav):ue==="isNavigateBack"?G=B.isNavigateBack:ue==="goBackContext"?j=B.goBackContext:ue==="isNavigationSyncEnabled"&&(Z=B.isNavigationSyncEnabled)}))},shouldShowUnsavedChangesModal:Ei,getUnsavedChangesModalPromise:Lt,showUnsavedChangesModal:ql,showAlert:Wt,prepareInternalData:an,dispatch:n}),xn=(B,ue)=>{pn.doOnStoreChange(l,()=>{const Ee=document.querySelector(".wcContainer");Ee&&(Ee.configChangedRequest=!0),qn.deleteCache();const Ge=at.getCurrentPath();at.handleRouteChange(Ge,gn(),B,ue)},["navigation.nodes"]),me.addRouteChangeListener((Ee,Ge)=>{const{withoutSync:Ie,preventContextUpdate:he}=Ge||{};Qt(ne,Ee)||(ne=[],ai.removeInactiveIframes(B));for(let Ct=Y.length;Ct--;)Yi(Ct);$r.removeBackdrop(),oi(),at.handleRouteChange(Ee,gn(),B,ue,Ie,he)})},Gt=(B,ue)=>le.replaceVars(at.getNodePath(B),ue,":",!1),Sn=(B,ue,Ee)=>{const Ge=ue||D,Ie=Ee||E;let he=ae;if(ue){let Ct=ue.parent;for(he=[ue];Ct;)he.push(Ct),Ct=Ct.parent;he=[...he].reverse()}let Ue=B.link;if(B.fromVirtualTreeRoot){const Ct=[...he].reverse().find(qt=>qt.virtualTree);if(!Ct){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromParent)Ue=at.concatenatePath(Gt(Ge.parent,Ie),B.link);else if(B.fromClosestContext){const Ct=[...he].reverse().find(qt=>qt.navigationContext&&qt.navigationContext.length>0);Ue=at.concatenatePath(Gt(Ct,Ie),B.link)}else if(B.fromContext){const Ct=B.fromContext,qt=[...he].reverse().find(yr=>Ct===yr.navigationContext);Ue=at.concatenatePath(Gt(qt,Ie),B.link)}else B.intent?Ue=me.getIntentPath(B.link):B.relative&&(Ue=at.concatenatePath(Gt(Ge,Ie),B.link));return B.nodeParams&&Object.keys(B.nodeParams).length>0&&(Ue+=Ue.includes("?")?"&":"?",Object.entries(B.nodeParams).forEach((Ct,qt)=>{Ue+=encodeURIComponent(me.getContentViewParamPrefix()+Ct[0])+"="+encodeURIComponent(Ct[1])+(qt<Object.keys(B.nodeParams).length-1?"&":"")})),Ue},wi=B=>{const ue=B.detail.node;Lt().then(()=>{if(Xe(),ue.openNodeInModal){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);bn(Ee,ue.openNodeInModal===!0?{}:ue.openNodeInModal)}else if(ue.drawer){const Ee=me.buildRoute(ue,`/${ue.pathSegment}`);ue.drawer.isDrawer=!0,vr(Ee,ue.drawer)}else gn().set({isNavigationSyncEnabled:!0}),at.handleRouteClick(ue,gn())},()=>{})},ki=()=>{t(16,Re=!Re)};qr("handleNavigation",tt);const mn=B=>B?!0:(console.warn("No search provider defined."),!1),Si=()=>{mn(Ce)&&t(0,Ft=!1)},Ci=()=>{mn(Ce)&&de&&(t(0,Ft=!0),de.focus())},yi=()=>{mn(Ce)&&de&&(t(1,de.value="",de),Ni())},Pi=()=>{t(0,Ft=!Ft),Dk.clearSearchField()},Ii=()=>{if(mn(Ce)&&de)return de.value},pl=B=>{mn(Ce)&&de&&(t(1,de.value=B,de),le.isFunction(Ce.onInput)?Ce.onInput():console.error("onInput is not a function. Please check the global search configuration."))},ml=B=>{mn(Ce)&&de&&t(1,de.placeholder=B,de)},bl=B=>{if(mn(Ce))if(B&&B.length>0)if(le.isFunction(Ce.customSearchResultRenderer)){let ue={fireItemSelected:Ee=>{Ce.onSearchResultItemSelected(Ee)}};Ce.customSearchResultRenderer(B,xe,ue)}else t(3,St=!0),t(4,ln=B);else console.warn("Search result array is empty.")},Ni=()=>{if(mn(Ce)&&(t(3,St=!1),t(4,ln=[]),xe))for(;xe.lastElementChild;)xe.removeChild(xe.lastElementChild)},Gi=B=>{let ue=B.detail.node,Ee={params:{link:ue.link,nodeParams:ue.params}};tt(Ee)},Ki=(B,ue)=>{if(o.displayed){console.warn("Only one splitview can be opened at a time");return}t(11,o=ht.getDefaultData().mfSplitView),ht.open(gn(),B,ue)},oi=()=>{ht.close(gn())},vl=()=>{ht.collapse(gn()),t(11,o.collapsed=!0,o)},wl=()=>{ht.expand(gn()),t(11,o.collapsed=!1,o)},ji=()=>o.displayed?o.collapsed:!1,kl=()=>o.displayed?!o.collapsed:!1,Sl=()=>o.displayed,Cl=B=>{C=B.detail.splitViewIframe,y=B.detail.splitViewIframeData,t(11,o.collapsed=B.detail.collapsed,o)},Ti=B=>{B.detail.displayed!==void 0&&t(11,o.displayed=B.detail.displayed,o),B.detail.collapsed!==void 0&&t(11,o.collapsed=B.detail.collapsed,o)},yl=B=>{P=B.detail.splitViewWC,B.detail.splitViewWCData,t(11,o.collapsed=B.detail.collapsed,o)};let ei,Li,ui,Ai,fi,K,be;const Xe=()=>{document.body.classList.remove("lui-leftNavToggle")},nt=()=>{Qi();const B=window.innerWidth>=fn.desktopMinWidth&&fi<fn.desktopMinWidth,ue=window.innerWidth<fn.desktopMinWidth&&fi>=fn.desktopMinWidth;(B||ue)&&Xe(),fi=window.innerWidth};let it=[];const bt=(B,ue)=>{if(!(!B||!(B.length>0)))return B.filter(Ee=>Ee.settings.id===ue)[0]},Wt=(B,ue=!1)=>{const Ee=te.getConfigValue("settings.customAlertHandler");if(le.isFunction(Ee)){const Ie=Ee(B,ue);if(Ie!==!1)return Ie}const Ge=it;return B.id||(B.id=le.getRandomId()),B.id&&Ge&&bt(Ge,B.id)?(console.error(`The alert with id '${B.id}' already exists in a queue, therefore it won't be displayed `),Promise.reject()):(B.closeAfter&&setTimeout(()=>{bt(it,B.id)&&Zt(B.id)},B.closeAfter),new Promise((Ie,he)=>{t(26,it=[...Ge||[],{displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ie}}])}))},Zt=(B,ue)=>{const Ee=bt(it,B);if(!Ee){console.error("An unexisting alert has been dismissed.",it,B);return}if(t(26,it=it.filter(Ge=>Ge.settings.id!==B)),Ee.openFromClient){const Ge=ai.getActiveIframe(fe),Ie={msg:"luigi.ux.alert.hide",id:B,dismissKey:ue};Ae.sendMessageToIframe(Ge,Ie)}else Ee.promise&&Ee.promise.resolve(ue||B)},ci=B=>{Zt(B.detail.id,B.detail.dismissKey)};let Ji;const Pl=()=>{t(27,Ji={displayed:!1,content:{},openFromClient:!1,promise:null})};Pl();const di=(B,ue=!1,Ee)=>new Promise((Ge,Ie)=>{t(27,Ji={displayed:!0,settings:B,openFromClient:ue,promise:{resolve:Ge,reject:Ie},targetIframe:Ee})}),Il=B=>{const{promise:ue,openFromClient:Ee,targetIframe:Ge}=Ji;if(Pl(),B?ue.resolve():ue.reject(),Ee&&Ge){const Ie={msg:"luigi.ux.confirmationModal.hide",data:{confirmed:B}};Ae.sendMessageToIframe(Ge,Ie)}},Ei=B=>{if(se.dirtySet){if(B)return se.dirtySet.has(B);if(se.dirtySet.size>0)return!0}return!1},ql=()=>di({header:Tt.getTranslation("luigi.unsavedChangesAlert.header"),body:Tt.getTranslation("luigi.unsavedChangesAlert.body"),buttonDismiss:Tt.getTranslation("luigi.button.dismiss"),buttonConfirm:Tt.getTranslation("luigi.button.confirm")}),br=()=>se.dirtySet?se.dirtySet.size>0:se.isDirty;qr("getUnsavedChangesModalPromise",Lt);let Y=[];const Rt=(B,ue)=>{var Ge;if(typeof B>"u"){t(28,Y=[]);return}let Ee;if(t(28,Y=Y.filter((Ie,he)=>(B===he&&(Ee=Ie),B!==he))),(Ge=Ee==null?void 0:Ee.mfModal)!=null&&Ge.openerIframe){const Ie={msg:"luigi.navigation.modal.close",data:ue};Ae.sendMessageToIframe(Ee.mfModal.openerIframe,Ie)}};Rt();const bn=async(B,ue,Ee)=>{if(await re.shouldPreventNavigationForPath(B))return;const Ge={mfModal:{displayed:!0,nodepath:B,settings:ue,openerIframe:Ee}};t(28,Y=[...Y,Ge]),te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.appendModalDataToUrl(B,ue)},ti=(B,ue)=>{t(28,Y[ue].modalIframe=B.detail.modalIframe,Y),t(28,Y[ue].modalIframeData=B.detail.modalIframeData,Y)},xr=(B,ue)=>{t(28,Y[ue].modalWC=B.detail.modalWC,Y),t(28,Y[ue].modalWCData=B.detail.modalWCData,Y)},Yi=(B,ue,Ee)=>{const Ge=(Ue,Ct)=>{te.getConfigBooleanValue("routing.showModalPathInUrl")&&Y.length===1&&at.removeModalDataFromUrl(Ct),Rt(Ue,Ee)},Ie=Y[B],he=le.getRemotePromise(Ie.mfModal.settings.onClosePromiseId);Ie&&Ie.modalIframe?Lt(Ie.modalIframe.contentWindow).then(()=>{Ge(B,ue),he&&he.doResolve(Ee)},()=>{}):Ie&&Ie.modalWC&&(Ge(B,ue),he&&he.doResolve(Ee))};qr("openViewInModal",bn);let rn={};const zl=()=>{t(29,rn.displayed=!1,rn),t(29,rn.nodepath=void 0,rn),t(29,rn.settings={},rn),t(12,g=!1)};zl();const vr=async(B,ue)=>{await re.shouldPreventNavigationForPath(B)||(t(29,rn.displayed=!0,rn),t(29,rn.nodepath=B,rn),t(29,rn.settings=ue,rn),rn.settings&&rn.settings.backdrop&&t(12,g=!0))},ea=()=>window.innerWidth>=fn.desktopMinWidth&&rn.displayed&&rn.settings&&!rn.settings.overlap,Qi=(B=!1)=>{if(!ea())return;const ue=document.querySelector(".iframeModalCtn._drawer");if(!ue)return;const Ee=[document.querySelector("div.iframeContainer"),document.getElementById("splitViewContainer"),document.getElementById("splitViewDragger"),document.getElementById("splitViewDraggerBackdrop"),document.getElementById("tabsContainer")];if(B)Ee.forEach(Ge=>{Ge==null||Ge.style.removeProperty("width")});else{const{width:Ge}=getComputedStyle(ue);Ee.forEach(Ie=>{wr(Ie,Ge)})}},wr=(B,ue)=>{B&&!B.style.getPropertyValue("width").includes("calc(")&&B.style.setProperty("width",`calc(${B.clientWidth}px - ${ue})`)},ps=B=>{p=B.detail.modalIframe,b=B.detail.modalIframeData,Qi()},ta=B=>{m=B.detail.modalWC,B.detail.modalWCData,Qi()},Gl=B=>{d=B.detail.activeDrawer},Kl=B=>{if(B&&B.detail&&B.detail.activeDrawer!==void 0&&(d=B.detail.activeDrawer),!d||B&&B.detail&&B.detail.type!=="modal")try{p?Lt(p.contentWindow).then(()=>{zl()},()=>{}):m&&Lt().then(()=>{zl()},()=>{}),Qi(!0)}catch(ue){console.log(ue)}},ms=()=>{const B=cr.processUserSettingGroups();Array.isArray(B)&&B.length>0?(t(17,Pe.userSettingGroups=[...B],Pe),t(17,Pe.displayed=!0,Pe)):console.info("There are no user setting groups in the settings section of the luigi config defined.")},na=()=>{t(17,Pe.displayed=!1,Pe)},ia=async B=>{if(await re.shouldPreventNavigationForPath(B))return;te.getConfigValue("routing.useHashRouting")&&(B="#"+B),window.open(B,"_blank","noopener,noreferrer")},jl=B=>{let ue=ae;if(D){let Ie=D.parent;for(ue=[D];Ie;)ue.push(Ie),Ie=Ie.parent;ue=[...ue].reverse()}let Ee=B.link,Ge=Gt(D,E);if(B.fromVirtualTreeRoot){const Ie=[...ue].reverse().find(Ue=>Ue.virtualTree);if(!Ie){console.error("LuigiClient Error: fromVirtualTreeRoot() is not possible because you are not inside a Luigi virtualTree navigation node.");return}const he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromParent){const Ie=Gt(D.parent,E);Ee=Ge.split(Ie).join("")}else if(B.fromClosestContext){const Ie=[...ue].reverse().find(Ue=>Ue.navigationContext&&Ue.navigationContext.length>0),he=Gt(Ie,E);Ee=Ge.split(he).join("")}else if(B.fromContext){const Ie=B.fromContext,he=[...ue].reverse().find(Ct=>Ie===Ct.navigationContext),Ue=Gt(he,E);Ee=Ge.split(Ue).join("")}else Ee=Ge;return Ee};function bs(B){sessionStorage.removeItem("historyState"),fr.shouldPreload=!0,fr.preload(!0),fr.shouldPreload=!1;const ue=te.getConfigValue("navigation.defaults.isolateView"),Ee=te.getConfigValue("navigation.defaults.pageErrorHandler"),Ge=te.getConfigValue("navigation.defaults.runTimeErrorHandler"),Ie={iframe:null,navigateOk:null,builderCompatibilityMode:!!window.builderCompatibilityMode,isolateAllViews:ue,defaultPageErrorHandler:Ee};Tt.addCurrentLocaleChangeListener(he=>{const Ue={msg:"luigi.current-locale-changed",currentLocale:he};Ae.broadcastMessageToAllIframes(Ue)}),Mn.addEventListener("popstate",async he=>{const Ue=it;if(!Ue||!(Ue.length>0))return;const Ct=Ue.map(qt=>{if(qt&&!qt.openFromClient&&typeof qt.settings.ttl=="number"){if(qt.settings.ttl===0)return null;qt.settings.ttl--}return qt}).filter(qt=>qt);t(26,it=Ct)}),Mn.addEventListener("message",async he=>{const Ue=Ae.getValidMessageSource(he),Ct=Y[Y.length-1],qt=Ct&&Ct.modalIframe,yr=Ct&&Ct.modalIframeData,Xi={modalIframe:qt,modalIframeData:yr,drawerIframe:p,drawerIframeData:b,drawer:v,modal:h,splitViewIframe:C,splitViewIframeData:y,splitView:I};if(!Ue)return;Ue._ready=!0;const Pr=Ae.getSpecialIframeMessageSource(he,Xi),Ri=Pr&&Pr.length>0,Ir=te.getConfigValue("communication.skipEventsWhenInactive");if(Ir&&Ir.length>0&&!Ri&&Ue.contentWindow!==window&&!le.isElementVisible(Ue)&&Ir.includes(he.data.msg)){console.debug(`EVENT '${he.data.msg}' from inactive iframe -> SKIPPED`);return}if(he.data.msg==="custom"){const Be=te.getConfigValue("communication.customMessagesListeners")||{},It=as.convertCustomMessageInternalToUser(he.data),yt=Be[It.id],sn="luigi.updateUserSettings";if(Pe&&It.id===sn){yt&&console.warn(`The key "${sn}" is not allowed to use for custom messages.`);return}if(typeof yt=="function"){const Cn=zi.getMicrofrontends().find(Xt=>Ae.isMessageSource(he,Xt.container));yt(It,Cn,le.removeInternalProperties(Ue.luigi.currentNode))}else console.warn(`Warning: Custom message with id: '${It.id}' does not exist. Make sure you provided the same id as in the config file.`)}if(he.data.msg==="luigi.init.ok"&&(Ue.luigi.initOk=!0),he.data.msg==="luigi.navigate.ok"&&(Ue.luigi.viewUrl=Ue.luigi.nextViewUrl,Ue.luigi.nextViewUrl="",Ue.luigi.clientPermissions=Ue.luigi.nextClientPermissions,delete Ue.luigi.nextClientPermissions,Ie.navigateOk=!0,fr.preload()),he.data.msg==="luigi.get-context"){if(Ue.luigi.clientVersion=he.data.clientVersion,Ue.luigi.initOk=!1,Ri)Pr.forEach(async Be=>{let It=Xi[Be.dataKey].context;const yt={...Ie,iframe:Xi[Be.iframeKey],context:It,pathParams:Xi[Be.dataKey].pathParams,nodeParams:Xi[Be.dataKey].nodeParams,searchParams:me.prepareSearchParamsForClient(Xi[Be.iframeKey].luigi.currentNode),modal:Be.iframeKey.startsWith("modal"),drawer:Be.iframeKey.startsWith("drawer"),splitView:Be.iframeKey.startsWith("splitView")};await Ht(yt,{})});else if(Ie.iframe&&Ae.isMessageSource(he,Ie.iframe))await Ht(Ie,{}),(!D||!D.loadingIndicator||D.loadingIndicator.hideAutomatically!==!1)&&Sr(),fr.preload();else if(Ue.luigi.preloading)await Ht({iframe:Ue,context:{},nodeParams:{},pathParams:{},internal:{}},{});else{let Be=cr.findActiveCustomUserSettingsIframe(he.source);if(Be){let It=Be.getAttribute("userSettingsGroup"),yt={context:{userSettingsData:Ln[It]},iframe:Be};await Ht(yt)}}fr.viewGroupLoaded(Ue)}if(he.data.msg==="luigi.show-loading-indicator"&&t(10,a=!0),he.data.msg==="luigi.hide-loading-indicator"&&(clearTimeout(qe),t(10,a=!1)),he.data.msg==="luigi.navigation.open"){G=!1;const Be=window.location.href,It=Ri?Ue.luigi.currentNode:void 0,yt=Ri?Ue.luigi.pathParams:void 0,sn=he.data.params,{intent:Cn,newTab:Xt,modal:$i,splitView:Yl,drawer:Nl,withoutSync:Ts}=sn;let Ql=Xt||$i||Yl||Nl;const ca=()=>{const Gn=le.getRemotePromise(he.data.remotePromiseId);Gn&&Gn.doResolve()},cn=()=>{const Gn=le.getRemotePromise(he.data.remotePromiseId);Gn&&Gn.doReject()},Tl=Gn=>{!Gn||Be!==window.location.href?ca():cn()};he.source!==window&&!Cn&&sn.link&&(sn.link=sn.link.split("?")[0]);let Ot=Sn(he.data.params,It,yt);if(Ql=Ql||Cn&&Ot.external,!Ql)Lt().then(()=>{Z=!he.data.params.withoutSync,tt(he.data,Ie,It,yt).then(()=>{Tl(!0)}).catch(()=>{cn()}),Y.forEach((Gn,da)=>{Yi(da)}),oi(),Kl(),Z=!0}).catch(()=>{cn()});else{if(Cn&&Ot.external){at.navigateToExternalLink({url:Ot.url,sameWindow:!Ot.openInNewTab});return}if(Ot=le.addLeadingSlash(Ot),Xt){await ia(Ot),Tl();return}const Gn=await Jl(Ot);if(Ot=await me.handlePageNotFoundAndRetrieveRedirectPath(gn(),Ot,Gn),!Ot){cn();return}fe=B,$i!==void 0?(!$i.keepPrevious&&Rt(),await bn(Ot,$i===!0?{}:$i,Ue),Tl()):Yl!==void 0?(await Ki(Ot,Yl),Tl()):Nl!==void 0&&(zl(),Nl.isDrawer=!0,await vr(Ot,Nl),Tl())}}if(he.data.msg==="luigi.navigation.back"){const Be=Y[Y.length-1],It=Y.length>1&&Y[Y.length-2],yt=he.data.goBackContext&&JSON.parse(he.data.goBackContext);if(Ae.isMessageSource(he,Be&&Be.modalIframe)){Yi(Y.length-1,!0,yt);let sn=Ie;if(It&&It.modalIframeData&&It.modalIframe){const Cn=It,Xt=Cn.modalIframeData;sn={pathParams:Xt.pathParams,context:Xt.context,iframe:Cn.modalIframe}}sn.iframe&&await Ht(sn,{goBackContext:yt})}else Ae.isMessageSource(he,C)?(oi(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):Ae.isMessageSource(he,p)?(d&&(d=!d),Kl(),Ie.iframe&&await Ht(Ie,{goBackContext:yt})):ne&&ne.length>0?Lt().then(()=>{ai.setActiveIframeToPrevious(B);const sn=ne.pop();Ie.iframe=ai.getActiveIframe(B),G=!0,ne=ne,j=yt,tt({params:{link:sn.path}},Ie)},()=>{}):(yt&&console.warn("Warning: goBack() does not support goBackContext value. This is available only when using the Luigi preserveView feature."),window.history.back())}if(he.data.msg==="luigi.navigation.currentRoute"){const Be=he.data.data,yt={msg:"luigi.navigation.currentRoute.answer",data:{route:jl(Be),correlationId:Be.id}};Ae.sendMessageToIframe(Ue,yt)}if(he.data.msg==="luigi.auth.tokenIssued"&&Te(he.data.authData),he.data.msg==="luigi.navigation.updateModalDataPath"){if(!te.getConfigBooleanValue("routing.showModalPathInUrl"))return;if(Ri){const Be=le.addLeadingSlash(Sn(he.data.params,Ue.luigi.currentNode,Ue.luigi.pathParams));at.updateModalDataInUrl(Be,he.data.params.modal,he.data.params.history)}else console.warn("updateModalDataPath can only be called from modal, ignoring.")}if(he.data.msg==="luigi.navigation.pathExists"){const Be=Ue.luigi.currentNode,It=Ue.luigi.pathParams,yt=he.data.data,sn=Sn(yt,Be,It),Cn=sn?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),sn):!1,Xt={msg:"luigi.navigation.pathExists.answer",data:{correlationId:yt.id,pathExists:Cn?Cn.isExistingRoute:!1}};Ae.sendMessageToIframe(Ue,Xt)}if(he.data.msg==="luigi.set-page-dirty"){if(!se.dirtySet){const Be=new Set;Be.add(he.source),se={dirtySet:Be}}se.persistUrl=window.location.href,he.data.dirty?se.dirtySet.add(he.source):se.dirtySet.delete(he.source)}if(he.data.msg==="luigi.ux.confirmationModal.show"){const Be=he.data.data.settings;fe=B,Pl(),di(Be,!0,Ue).catch(()=>{})}if(he.data.msg==="luigi.ux.alert.show"){const{settings:Be}=he.data.data;if(!Be.text&&!le.isFunction(te.getConfigValue("settings.customAlertHandler"))){console.error("Luigi Client alert: 'text' field for alert is empty or not present, therefore alert will not be displayed");return}fe=B,Wt(Be,!0).catch(()=>{})}if(he.data.msg==="luigi.ux.set-current-locale")if(Ue.luigi.clientPermissions&&Ue.luigi.clientPermissions.changeCurrentLocale){const{currentLocale:Be}=he.data.data;Be&&Tt.setCurrentLocale(Be)}else console.error("Current local change from client declined because client permission changeCurrentLocale is not set for this view.");if(ze&&!ze.thirdPartyCookieScriptLocation&&he.data.msg==="luigi.third-party-cookie"&&he.data.tpc==="disabled"&&kr(),he.data.msg==="storage"&&a2.process(Ue.luigi.id,he.origin,he.data.data.id,he.data.data.operation,he.data.data.params),he.data.msg==="luigi-runtime-error-handling"){let Be=Ue.luigi.currentNode;Be&&Be.runTimeErrorHandler&&le.isFunction(Be.runTimeErrorHandler.errorFn)?Be.runTimeErrorHandler.errorFn(he.data.errorObj,Be):Ge&&le.isFunction(Ge.errorFn)&&Ge.errorFn(he.data.errorObj,Be)}if(he.data.msg==="luigi.addSearchParams")if(Ue.luigi.currentNode.clientPermissions&&Ue.luigi.currentNode.clientPermissions.urlParameters){const{data:Be,keepBrowserHistory:It}=he.data;me.addSearchParamsFromClient(Ue.luigi.currentNode,Be,It)}else console.warn("No client permissions to add url parameter for this node.");if(he.data.msg==="luigi.addNodeParams"){if(Ri)return;const{data:Be,keepBrowserHistory:It}=he.data;ul.addNodeParams(Be,It)}if(he.data.msg==="luigi.setAnchor"){const{anchor:Be}=he.data;ul.setAnchor(Be)}if(he.data.msg==="luigi.setVGData"){const Be=he.data,It=re.findViewGroup(Ue.luigi.currentNode);if(It){const yt=re.getViewGroupSettings(It);yt._liveCustomData=Be.data,te.configChanged("navigation.viewgroupdata")}}}),xn(B,Ie)}qr("store",l),qr("getTranslation",r);const kr=B=>{ze&&ze.thirdPartyCookieErrorHandling&&le.isFunction(ze.thirdPartyCookieErrorHandling)&&ze.thirdPartyCookieErrorHandling()};function Sr(){const B=document.querySelector(".spinnerContainer.appSpinner");B&&B.classList.contains("fade-out")?(B.classList.remove("fade-out"),setTimeout(()=>{clearTimeout(qe),t(10,a=!1)},250)):clearTimeout(qe)}const Jl=async B=>{const ue={link:B,relative:B[0]!=="/",intent:me.hasIntent(B)},Ee=Sn(ue),Ge=Ee?await Ut.getNavigationPath(te.getConfigValueAsync("navigation.nodes"),Ee):!1;return Ge?Ge.isExistingRoute:!1},Zi=()=>Y.length>0||ne.length!==0;nn(()=>{if(Bo._init(),Ce=te.getConfigValue("globalSearch.searchProvider"),Se=te.getConfigValue("settings.responsiveNavigation"),fi=window.innerWidth,Se==="simple"){if(document.body.classList.add("lui-simpleSlideInNav"),re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();B&&ue&&t(18,Fe=document.body.classList.contains("lui-leftNavToggle")?B:ue)}}else if(Se==="simpleMobileOnly")document.body.classList.add("lui-simpleSlideInNav","lui-mobileOnly");else{if(re.getBurgerTooltipConfig()){const[B,ue]=re.getBurgerTooltipConfig();if(B&&ue){const Ee=JSON.parse(localStorage.getItem(re.COL_NAV_KEY));t(18,Fe=Ee?B:ue)}}document.body.classList.add("lui-semiCollapsible")}ze=te.getConfigValue("settings.thirdPartyCookieCheck"),ze&&ze.thirdPartyCookieScriptLocation&&setTimeout(()=>{let B=document.createElement("iframe");B.width="0px",B.height="0px",B.src=ze.thirdPartyCookieScriptLocation,document.body.appendChild(B),B.onload=function(){setTimeout(()=>{L9()==="disabled"&&kr()}),document.body.removeChild(B)}})}),Zr(()=>{Qi()}),zn(()=>{t(19,ct=te.getConfigValue("navigation.breadcrumbs")),Ce=te.getConfigValue("globalSearch.searchProvider"),t(24,K=te.getConfigValue("tag")),t(25,be=te.getConfigValue("settings.header.disabled"))});const la=B=>{B.keyCode===Hl&&Y&&Y.length>0&&Yi(Y.length-1)},ra=B=>Yi(B,!0),vs=(B,ue)=>ti(ue,B),aa=(B,ue)=>xr(ue,B),sa=()=>Il(!0),oa=()=>Il(!1);function ua(B){Ln=B,t(5,Ln)}function ws(B){Ft=B,t(0,Ft)}function ks(B){St=B,t(3,St)}function Ss(B){ln=B,t(4,ln)}function fa(B){de=B,t(1,de)}function Cs(B){xe=B,t(2,xe)}function ys(B){Ft=B,t(0,Ft)}function Ps(B){St=B,t(3,St)}function Is(B){ln=B,t(4,ln)}function Cr(B){de=B,t(1,de)}function Ns(B){xe=B,t(2,xe)}return i.$$set=B=>{"store"in B&&t(48,l=B.store),"getTranslation"in B&&t(49,r=B.getTranslation),"isSearchFieldVisible"in B&&t(0,Ft=B.isSearchFieldVisible),"inputElem"in B&&t(1,de=B.inputElem),"customSearchItemRendererSlot"in B&&t(2,xe=B.customSearchItemRendererSlot),"displaySearchResult"in B&&t(3,St=B.displaySearchResult),"searchResult"in B&&t(4,ln=B.searchResult),"storedUserSettings"in B&&t(5,Ln=B.storedUserSettings)},[Ft,de,xe,St,ln,Ln,Pi,Ni,Gi,na,a,o,g,E,ae,ie,Re,Pe,Fe,ct,ei,Li,ui,Ai,K,be,it,Ji,Y,rn,dt,wi,ki,Cl,Ti,yl,nt,ci,Il,ti,xr,Yi,ps,ta,Gl,Kl,bs,la,l,r,Si,Ci,yi,Ii,pl,ml,bl,Ki,oi,vl,wl,ji,kl,Sl,Wt,di,br,ms,jl,Jl,Zi,ra,vs,aa,sa,oa,ua,ws,ks,Ss,fa,Cs,ys,Ps,Is,Cr,Ns]}class U9 extends Vt{constructor(e){super(),Dt(this,e,F9,M9,Et,{store:48,getTranslation:49,isSearchFieldVisible:0,inputElem:1,customSearchItemRendererSlot:2,displaySearchResult:3,searchResult:4,storedUserSettings:5,closeSearchField:50,openSearchField:51,clearSearchField:52,toggleSearch:6,getGlobalSearchString:53,setGlobalSearchString:54,setSearchInputPlaceholder:55,showSearchResult:56,closeSearchResult:7,handleSearchNavigation:8,openSplitView:57,closeSplitView:58,collapseSplitView:59,expandSplitView:60,isSplitViewCollapsed:61,isSplitViewExpanded:62,existsSplitView:63,showAlert:64,showModal:65,getDirtyStatus:66,openUserSettings:67,closeUserSettings:9,buildPathForGetCurrentRoute:68,pathExists:69,hasBack:70},null,[-1,-1,-1,-1,-1,-1])}get closeSearchField(){return this.$$.ctx[50]}get openSearchField(){return this.$$.ctx[51]}get clearSearchField(){return this.$$.ctx[52]}get toggleSearch(){return this.$$.ctx[6]}get getGlobalSearchString(){return this.$$.ctx[53]}get setGlobalSearchString(){return this.$$.ctx[54]}get setSearchInputPlaceholder(){return this.$$.ctx[55]}get showSearchResult(){return this.$$.ctx[56]}get closeSearchResult(){return this.$$.ctx[7]}get handleSearchNavigation(){return this.$$.ctx[8]}get openSplitView(){return this.$$.ctx[57]}get closeSplitView(){return this.$$.ctx[58]}get collapseSplitView(){return this.$$.ctx[59]}get expandSplitView(){return this.$$.ctx[60]}get isSplitViewCollapsed(){return this.$$.ctx[61]}get isSplitViewExpanded(){return this.$$.ctx[62]}get existsSplitView(){return this.$$.ctx[63]}get showAlert(){return this.$$.ctx[64]}get showModal(){return this.$$.ctx[65]}get getDirtyStatus(){return this.$$.ctx[66]}get openUserSettings(){return this.$$.ctx[67]}get closeUserSettings(){return this.$$.ctx[9]}get buildPathForGetCurrentRoute(){return this.$$.ctx[68]}get pathExists(){return this.$$.ctx[69]}get hasBack(){return this.$$.ctx[70]}}const B9=()=>{const{subscribe:i,update:e,reset:t}=gr({}),n={};let l=[];return{subscribe:r=>{l.push(i(r))},update:e,reset:t,subscribeToScope:(r,a)=>{let o=n[a];o||(o=new Set,n[a]=o),o.add(r)},fire:(r,a)=>{let o=n[r];o&&[...o].forEach(c=>{c(a)})},clear:()=>{l.forEach(r=>{r()}),l=[]}}},Sp=B9(),H9=Ik((i,e,t)=>Tt.getTranslation(i,e,t));Luigi._store=Sp;const W9=()=>new Promise(i=>{Tt._init(),hn.init().then(()=>{setTimeout(()=>{let e;zi.isCustomLuigiContainer()&&document.getElementsByTagName("html")[0].classList.add("luigi-app-in-custom-container"),e=new U9({target:zi.getLuigiContainer(),props:{store:Sp,getTranslation:H9}}),Luigi.showAlert=t=>e.showAlert(t),Luigi.showConfirmationModal=t=>e.showModal(t),Luigi.closeSearchField=()=>e.closeSearchField(),Luigi.openSearchField=()=>e.openSearchField(),Luigi.getGlobalSearchString=()=>e.getGlobalSearchString(),Luigi.setGlobalSearchString=t=>{e.setGlobalSearchString(t)},Luigi.showSearchResult=t=>e.showSearchResult(t),Luigi.closeSearchResult=()=>{e.closeSearchResult()},Luigi.clearSearchField=()=>{e.clearSearchField()},Luigi.splitView={splitViewHandle:{close:()=>e.closeSplitView(),collapse:()=>e.collapseSplitView(),expand:()=>e.expandSplitView(),isCollapsed:()=>e.isSplitViewCollapsed(),isExpanded:()=>e.isSplitViewExpanded(),exists:()=>e.existsSplitView()}},Luigi.pathExists=t=>e.pathExists(t),Luigi.hasBack=()=>e.hasBack(),Luigi.openUserSettings=()=>{e.openUserSettings()},Luigi.closeUserSettings=()=>{e.closeUserSettings()},Luigi.getDirtyStatus=()=>e.getDirtyStatus(),Luigi._app=e.$$,i()})})});te.setConfigCallbacks(W9);
64
64
  //# sourceMappingURL=luigi.js.map