New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@luigi-project/container

Package Overview
Dependencies
Maintainers
0
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luigi-project/container - npm Package Compare versions

Comparing version 1.5.0-dev.202501101354 to 1.5.0-dev.202501101405

2

bundle.js

@@ -1,2 +0,2 @@

"undefined"!=typeof window&&(window.__svelte||={v:new Set}).v.add("5");const e="[!",t={},n=Symbol(),r=Symbol("filename"),i=["touchstart","touchmove"];var o=Array.isArray,s=Array.from,a=Object.keys,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyDescriptors,d=Object.prototype,h=Array.prototype,f=Object.getPrototypeOf;const p=32,m=64,g=256,E=512,_=1024,v=2048,T=4096,S=8192,C=16384,w=65536,R=1<<20,b=Symbol("$state"),A=Symbol("legacy props"),y=Symbol("");function I(e){return e===this.v}function O(e){return t=e,n=this.v,!(t!=t?n==n:t!==n||null!==t&&"object"==typeof t||"function"==typeof t);var t,n}function $(e,t,n){throw new Error("https://svelte.dev/e/bind_invalid_export")}function N(e,t,n){throw new Error("https://svelte.dev/e/bind_not_bindable")}function U(e,t){return{f:0,v:e,reactions:null,equals:I,version:0}}function L(e){return function(e){null!==Be&&2&Be.f&&(null===Fe?Fe=[e]:Fe.push(e));return e}(U(e))}function D(e,t=!1){const n=U(e);return t||(n.equals=O),n}function P(e,t){return null!==Be&&18&Be.f&&(null===Fe||!Fe.includes(e))&&function(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}(),function(e,t){e.equals(t)||(e.v=t,e.version=tt(),x(e,v),null!==Ve&&Ve.f&_&&!(Ve.f&p)&&(null!==Xe&&Xe.includes(e)?(_t(Ve,v),ht(Ve)):null===ze?function(e){ze=e}([e]):ze.push(e)));return t}(e,t)}function x(e,t){var n=e.reactions;if(null!==n)for(var r=n.length,i=0;i<r;i++){var o=n[i],s=o.f;s&v||(_t(o,t),1280&s&&(2&s?x(o,T):ht(o)))}}function k(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Q(e){console.warn("https://svelte.dev/e/state_proxy_equality_mismatch")}let M,H=!1;function W(e){H=e}function G(e){if(null===e)throw k(),t;return M=e}function j(){return G(se(M))}const B={},q=/at (?:.+ \()?(.+):(\d+):(\d+)\)?$/,V=/@(.+):(\d+):(\d+)$/;function K(){const e=(new Error).stack;if(!e)return null;const t=[];for(const n of e.split("\n")){let e=q.exec(n)??V.exec(n);e&&t.push({file:e[1],line:+e[2],column:+e[3]})}return t}function F(){const e=K()?.[2];e&&(B[e.file]??=[]).push({start:e,end:null,component:null})}function X(e){const t=K()?.[2];if(t){const n=B[t.file],r=n[n.length-1];r.end=t,r.component=e}}function J(e,t=null,r){if("object"!=typeof e||null===e||b in e)return e;const i=f(e);if(i!==d&&i!==h)return e;var s,a=new Map,l=o(e),c=U(0);return l&&a.set("length",U(e.length)),new Proxy(e,{defineProperty(e,t,n){"value"in n&&!1!==n.configurable&&!1!==n.enumerable&&!1!==n.writable||function(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var r=a.get(t);return void 0===r?(r=U(n.value),a.set(t,r)):P(r,J(n.value,s)),!0},deleteProperty(e,t){var r=a.get(t);if(void 0===r)t in e&&a.set(t,U(n));else{if(l&&"string"==typeof t){var i=a.get("length"),o=Number(t);Number.isInteger(o)&&o<i.v&&P(i,o)}P(r,n),z(c)}return!0},get(t,r,i){if(r===b)return e;var o=a.get(r),l=r in t;if(void 0!==o||l&&!u(t,r)?.writable||(o=U(J(l?t[r]:n,s)),a.set(r,o)),void 0!==o){var c=mt(o);return c===n?void 0:c}return Reflect.get(t,r,i)},getOwnPropertyDescriptor(e,t){var r=Reflect.getOwnPropertyDescriptor(e,t);if(r&&"value"in r){var i=a.get(t);i&&(r.value=mt(i))}else if(void 0===r){var o=a.get(t),s=o?.v;if(void 0!==o&&s!==n)return{enumerable:!0,configurable:!0,value:s,writable:!0}}return r},has(e,t){if(t===b)return!0;var r=a.get(t),i=void 0!==r&&r.v!==n||Reflect.has(e,t);if((void 0!==r||null!==Ve&&(!i||u(e,t)?.writable))&&(void 0===r&&(r=U(i?J(e[t],s):n),a.set(t,r)),mt(r)===n))return!1;return i},set(e,t,r,i){var o=a.get(t),d=t in e;if(l&&"length"===t)for(var h=r;h<o.v;h+=1){var f=a.get(h+"");void 0!==f?P(f,n):h in e&&(f=U(n),a.set(h+"",f))}void 0===o?d&&!u(e,t)?.writable||(P(o=U(void 0),J(r,s)),a.set(t,o)):(d=o.v!==n,P(o,J(r,s)));var p=Reflect.getOwnPropertyDescriptor(e,t);if(p?.set&&p.set.call(i,r),!d){if(l&&"string"==typeof t){var m=a.get("length"),g=Number(t);Number.isInteger(g)&&g>=m.v&&P(m,g+1)}z(c)}return!0},ownKeys(e){mt(c);var t=Reflect.ownKeys(e).filter((e=>{var t=a.get(e);return void 0===t||t.v!==n}));for(var[r,i]of a)i.v===n||r in e||t.push(r);return t},setPrototypeOf(){!function(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}()}})}function z(e,t=1){P(e,e.v+t)}function Z(e){return null!==e&&"object"==typeof e&&b in e?e[b]:e}function Y(e,t,n=!0){try{e===t!=(Z(e)===Z(t))&&Q()}catch{}return e===t===n}var ee,te,ne;function re(){if(void 0===ee){ee=window;var e=Element.prototype,t=Node.prototype;te=u(t,"firstChild").get,ne=u(t,"nextSibling").get,e.__click=void 0,e.__className="",e.__attributes=null,e.__styles=null,e.__e=void 0,Text.prototype.__t=void 0}}function ie(e=""){return document.createTextNode(e)}function oe(e){return te.call(e)}function se(e){return ne.call(e)}function ae(e,t){if(!H){var n=oe(e);return n instanceof Comment&&""===n.data?se(n):n}return M}function le(e){var t=e.children;if(null!==t){e.children=null;for(var n=0;n<t.length;n+=1){var r=t[n];2&r.f?de(r):Ce(r)}}}function ue(e){var t,n=Ve;Ke(function(e){for(var t=e.parent;null!==t;){if(!(2&t.f))return t;t=t.parent}return null}(e));try{le(e),t=it(e)}finally{Ke(n)}return t}function ce(e){var t=ue(e);_t(e,(Ye||e.f&g)&&null!==e.deps?T:_),e.equals(t)||(e.v=t,e.version=tt())}function de(e){le(e),st(e,0),_t(e,C),e.v=e.children=e.deps=e.ctx=e.reactions=null}function he(e){null===Ve&&null===Be&&function(){throw new Error("https://svelte.dev/e/effect_orphan")}(),null!==Be&&Be.f&g&&function(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}(),Me&&function(){throw new Error("https://svelte.dev/e/effect_in_teardown")}()}function fe(e,t,n,r=!0){var i=!!(e&m),o=Ve,s={ctx:et,deps:null,deriveds:null,nodes_start:null,nodes_end:null,f:e|v,first:null,fn:t,last:null,next:null,parent:i?null:o,prev:null,teardown:null,transitions:null,version:0};if(n){var a=Qe;try{He(!0),at(s),s.f|=32768}catch(e){throw Ce(s),e}finally{He(a)}}else null!==t&&ht(s);if(!(n&&null===s.deps&&null===s.first&&null===s.nodes_start&&null===s.teardown&&!(s.f&R))&&!i&&r&&(null!==o&&function(e,t){var n=t.last;null===n?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}(s,o),null!==Be&&2&Be.f)){var l=Be;(l.children??=[]).push(s)}return s}function pe(e){return fe(4,e,!1)}function me(e){return fe(8,e,!0)}function ge(e){return Ee(e)}function Ee(e,t=0){return fe(24|t,e,!0)}function _e(e,t=!0){return fe(40,e,!0,t)}function ve(e){var t=e.teardown;if(null!==t){const e=Me,n=Be;We(!0),qe(null);try{t.call(null)}finally{We(e),qe(n)}}}function Te(e){var t=e.deriveds;if(null!==t){e.deriveds=null;for(var n=0;n<t.length;n+=1)de(t[n])}}function Se(e,t=!1){var n=e.first;for(e.first=e.last=null;null!==n;){var r=n.next;Ce(n,t),n=r}}function Ce(e,t=!0){var n=!1;if((t||524288&e.f)&&null!==e.nodes_start){for(var r=e.nodes_start,i=e.nodes_end;null!==r;){var o=r===i?null:se(r);r.remove(),r=o}n=!0}Se(e,t&&!n),Te(e),st(e,0),_t(e,C);var s=e.transitions;if(null!==s)for(const e of s)e.stop();ve(e);var a=e.parent;null!==a&&null!==a.first&&we(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function we(e){var t=e.parent,n=e.prev,r=e.next;null!==n&&(n.next=r),null!==r&&(r.prev=n),null!==t&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Re(e,t){var n=[];be(e,n,!0),function(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}(n,(()=>{Ce(e),t&&t()}))}function be(e,t,n){if(!(e.f&S)){if(e.f^=S,null!==e.transitions)for(const r of e.transitions)(r.is_global||n)&&t.push(r);for(var r=e.first;null!==r;){var i=r.next;be(r,t,!!(!!(r.f&w)||!!(r.f&p))&&n),r=i}}}function Ae(e){ye(e,!0)}function ye(e,t){if(e.f&S){nt(e)&&at(e),e.f^=S;for(var n=e.first;null!==n;){var r=n.next;ye(n,!!(!!(n.f&w)||!!(n.f&p))&&t),n=r}if(null!==e.transitions)for(const n of e.transitions)(n.is_global||t)&&n.in()}}let Ie=!1,Oe=[];function $e(){Ie=!1;const e=Oe.slice();Oe=[],function(e){for(var t=0;t<e.length;t++)e[t]()}(e)}function Ne(e){Ie||(Ie=!0,queueMicrotask($e)),Oe.push(e)}function Ue(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}const Le=0;let De=!1,Pe=Le,xe=!1,ke=null,Qe=!1,Me=!1;function He(e){Qe=e}function We(e){Me=e}let Ge=[],je=0,Be=null;function qe(e){Be=e}let Ve=null;function Ke(e){Ve=e}let Fe=null;let Xe=null,Je=0,ze=null;let Ze=1,Ye=!1,et=null;function tt(){return++Ze}function nt(e){var t=e.f;if(t&v)return!0;if(t&T){var n=e.deps,r=!!(t&g);if(null!==n){var i;if(t&E){for(i=0;i<n.length;i++)(n[i].reactions??=[]).push(e);e.f^=E}for(i=0;i<n.length;i++){var o=n[i];if(nt(o)&&ce(o),!r||null===Ve||Ye||o?.reactions?.includes(e)||(o.reactions??=[]).push(e),o.version>e.version)return!0}}r&&(null===Ve||Ye)||_t(e,_)}return!1}function rt(e,t,n,r){if(De){if(null===n&&(De=!1),function(e){return!(e.f&C||null!==e.parent&&128&e.parent.f)}(t))throw e}else null!==n&&(De=!0),function(e,t){for(var n=t;null!==n;){if(128&n.f)try{return void n.fn(e)}catch{n.f^=128}n=n.parent}throw De=!1,e}(e,t)}function it(e){var t=Xe,n=Je,r=ze,i=Be,o=Ye,s=Fe,a=et,l=e.f;Xe=null,Je=0,ze=null,Be=96&l?null:e,Ye=!Qe&&!!(l&g),Fe=null,et=e.ctx;try{var u=(0,e.fn)(),c=e.deps;if(null!==Xe){var d;if(st(e,Je),null!==c&&Je>0)for(c.length=Je+Xe.length,d=0;d<Xe.length;d++)c[Je+d]=Xe[d];else e.deps=c=Xe;if(!Ye)for(d=Je;d<c.length;d++)(c[d].reactions??=[]).push(e)}else null!==c&&Je<c.length&&(st(e,Je),c.length=Je);return u}finally{Xe=t,Je=n,ze=r,Be=i,Ye=o,Fe=s,et=a}}function ot(e,t){let n=t.reactions;if(null!==n){var r=n.indexOf(e);if(-1!==r){var i=n.length-1;0===i?n=t.reactions=null:(n[r]=n[i],n.pop())}}null===n&&2&t.f&&(null===Xe||!Xe.includes(t))&&(_t(t,T),768&t.f||(t.f^=E),st(t,0))}function st(e,t){var n=e.deps;if(null!==n)for(var r=t;r<n.length;r++)ot(e,n[r])}function at(e){var t=e.f;if(!(t&C)){_t(e,_);var n=Ve,r=et;Ve=e;try{16&t?function(e){for(var t=e.first;null!==t;){var n=t.next;t.f&p||Ce(t),t=n}}(e):Se(e),Te(e),ve(e);var i=it(e);e.teardown="function"==typeof i?i:null,e.version=Ze}catch(t){rt(t,e,n,r||e.ctx)}finally{Ve=n}}}function lt(){if(je>1e3){je=0;try{!function(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}()}catch(e){if(null===ke)throw e;rt(e,ke,null)}}je++}function ut(e){var t=e.length;if(0!==t){lt();var n=Qe;Qe=!0;try{for(var r=0;r<t;r++){var i=e[r];i.f&_||(i.f^=_);var o=[];ft(i,o),ct(o)}}finally{Qe=n}}}function ct(e){var t=e.length;if(0!==t)for(var n=0;n<t;n++){var r=e[n];if(!(24576&r.f))try{nt(r)&&(at(r),null===r.deps&&null===r.first&&null===r.nodes_start&&(null===r.teardown?we(r):r.fn=null))}catch(e){rt(e,r,null,r.ctx)}}}function dt(){if(xe=!1,je>1001)return;const e=Ge;Ge=[],ut(e),xe||(je=0,ke=null)}function ht(e){Pe===Le&&(xe||(xe=!0,queueMicrotask(dt))),ke=e;for(var t=e;null!==t.parent;){var n=(t=t.parent).f;if(96&n){if(!(n&_))return;t.f^=_}}Ge.push(t)}function ft(e,t){var n=e.first,r=[];e:for(;null!==n;){var i=n.f,o=!!(i&p),s=o&&!!(i&_),a=n.next;if(!(s||i&S))if(8&i){if(o)n.f^=_;else try{nt(n)&&at(n)}catch(e){rt(e,n,null,n.ctx)}var l=n.first;if(null!==l){n=l;continue}}else 4&i&&r.push(n);if(null===a){let t=n.parent;for(;null!==t;){if(e===t)break e;var u=t.next;if(null!==u){n=u;continue e}t=t.parent}}n=a}for(var c=0;c<r.length;c++)l=r[c],t.push(l),ft(l,t)}function pt(e){var t=Pe,n=Ge;try{lt();const t=[];Pe=1,Ge=t,xe=!1,ut(n);var r=e?.();return Ie&&$e(),(Ge.length>0||t.length>0)&&pt(),je=0,ke=null,r}finally{Pe=t,Ge=n}}function mt(e){var t=e.f,n=!!(2&t);if(n&&t&C){var r=ue(e);return de(e),r}if(null!==Be){null!==Fe&&Fe.includes(e)&&function(){throw new Error("https://svelte.dev/e/state_unsafe_local_read")}();var i=Be.deps;null===Xe&&null!==i&&i[Je]===e?Je++:null===Xe?Xe=[e]:Xe.push(e),null!==ze&&null!==Ve&&Ve.f&_&&!(Ve.f&p)&&ze.includes(e)&&(_t(Ve,v),ht(Ve))}else if(n&&null===e.deps)for(var o=e,s=o.parent,a=o;null!==s;){if(!(2&s.f)){var l=s;l.deriveds?.includes(a)||(l.deriveds??=[]).push(a);break}a=s,s=s.parent}return n&&nt(o=e)&&ce(o),e.v}function gt(e){const t=Be;try{return Be=null,e()}finally{Be=t}}const Et=-7169;function _t(e,t){e.f=e.f&Et|t}function vt(e,t=!1,n){et={p:et,c:null,e:null,m:!1,s:e,x:null,l:null}}function Tt(e){const t=et;if(null!==t){void 0!==e&&(t.x=e);const s=t.e;if(null!==s){var n=Ve,r=Be;t.e=null;try{for(var i=0;i<s.length;i++){var o=s[i];Ke(o.effect),qe(o.reaction),pe(o.fn)}}finally{Ke(n),qe(r)}}et=t.p,t.m=!0}return e||{}}function St(e,t,n){return(...r)=>{const i=e(...r);return wt(H?i:11===i.nodeType?i.firstChild:i,t,n),i}}function Ct(e,t,n){e.__svelte_meta={loc:{file:t,line:n[0],column:n[1]}},n[2]&&wt(e.firstChild,t,n[2])}function wt(t,n,r){for(var i=0,o=0;t&&i<r.length;){if(H&&8===t.nodeType){var s=t;"["===s.data||s.data===e?o+=1:"]"===s.data[0]&&(o-=1)}0===o&&1===t.nodeType&&Ct(t,n,r[i++]),t=t.nextSibling}}const Rt=new Set,bt=new Set;function At(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target,a=0,u=e.__root;if(u){var c=i.indexOf(u);if(-1!==c&&(t===document||t===window))return void(e.__root=t);var d=i.indexOf(t);if(-1===d)return;c<=d&&(a=c)}if((s=i[a]||e.target)!==t){l(e,"currentTarget",{configurable:!0,get:()=>s||n});var h=Be,f=Ve;qe(null),Ke(null);try{for(var p,m=[];null!==s;){var g=s.assignedSlot||s.parentNode||s.host||null;try{var E=s["__"+r];if(void 0!==E&&!s.disabled)if(o(E)){var[_,...v]=E;_.apply(s,[e,...v])}else E.call(s,e)}catch(e){p?m.push(e):p=e}if(e.cancelBubble||g===t||null===g)break;s=g}if(p){for(let e of m)queueMicrotask((()=>{throw e}));throw p}}finally{e.__root=t,delete e.currentTarget,qe(h),Ke(f)}}}function yt(e,t){var n=Ve;null===n.nodes_start&&(n.nodes_start=e,n.nodes_end=t)}function It(e,t){var n,r=!!(1&t),i=!!(2&t),o=!e.startsWith("<!>");return()=>{if(H)return yt(M,null),M;var t,s;void 0===n&&(t=o?e:"<!>"+e,(s=document.createElement("template")).innerHTML=t,n=s.content,r||(n=oe(n)));var a=i?document.importNode(n,!0):n.cloneNode(!0);r?yt(oe(a),a.lastChild):yt(a,a);return a}}function Ot(e,t){if(H)return Ve.nodes_end=M,void j();null!==e&&e.before(t)}function $t(e,t){return Lt(e,t)}function Nt(e,n){re(),n.intro=n.intro??!1;const r=n.target,i=H,o=M;try{for(var s=oe(r);s&&(8!==s.nodeType||"["!==s.data);)s=se(s);if(!s)throw t;W(!0),G(s),j();const i=Lt(e,{...n,anchor:s});if(null===M||8!==M.nodeType||"]"!==M.data)throw k(),t;return W(!1),i}catch(i){if(i===t)return!1===n.recover&&function(){throw new Error("https://svelte.dev/e/hydration_failed")}(),re(),r.textContent="",W(!1),$t(e,n);throw i}finally{W(i),G(o)}}const Ut=new Map;function Lt(e,{target:t,anchor:n,props:r={},events:o,context:a,intro:l=!0}){re();var u=new Set,c=e=>{for(var n=0;n<e.length;n++){var r=e[n];if(!u.has(r)){u.add(r);var o=(a=r,i.includes(a));t.addEventListener(r,At,{passive:o});var s=Ut.get(r);void 0===s?(document.addEventListener(r,At,{passive:o}),Ut.set(r,1)):Ut.set(r,s+1)}}var a};c(s(Rt)),bt.add(c);var d=void 0,h=function(e){const t=fe(m,e,!0);return(e={})=>new Promise((n=>{e.outro?Re(t,(()=>{Ce(t),n(void 0)})):(Ce(t),n(void 0))}))}((()=>{var i=n??t.appendChild(ie());return _e((()=>{a&&(vt({}),et.c=a);o&&(r.$$events=o),H&&yt(i,null),d=e(i,r)||{},H&&(Ve.nodes_end=M),a&&Tt()})),()=>{for(var e of u){t.removeEventListener(e,At);var r=Ut.get(e);0==--r?(document.removeEventListener(e,At),Ut.delete(e)):Ut.set(e,r)}bt.delete(c),i!==n&&i.parentNode?.removeChild(i)}}));return Dt.set(d,h),d}let Dt=new WeakMap;function Pt(e){e&&function(){throw new Error("https://svelte.dev/e/component_api_invalid_new")}(e[r],e.name)}function xt(){const e=et?.function;function t(t){!function(){const e=K()?.slice(4);if(!e)return null;for(let t=0;t<e.length;t++){const n=e[t],r=B[n.file];if(r)for(const e of r){if(null==e.end)return null;if(e.start.line<n.line&&e.end.line>n.line)return e.component}else if(0===t)return null}}();!function(){throw new Error("https://svelte.dev/e/component_api_changed")}(0,0,e[r])}return{$destroy:()=>t(),$on:()=>t(),$set:()=>t()}}function kt(t,r,i=!1){H&&j();var o=t,s=null,a=null,l=n,u=!1;const c=(e,t=!0)=>{u=!0,d(t,e)},d=(t,n)=>{if(l===(l=t))return;let r=!1;if(H){const t=o.data===e;!!l===t&&(o=function(){for(var t=0,n=M;;){if(8===n.nodeType){var r=n.data;if("]"===r){if(0===t)return n;t-=1}else"["!==r&&r!==e||(t+=1)}var i=se(n);n.remove(),n=i}}(),G(o),W(!1),r=!0)}l?(s?Ae(s):n&&(s=_e((()=>n(o)))),a&&Re(a,(()=>{a=null}))):(a?Ae(a):n&&(a=_e((()=>n(o)))),s&&Re(s,(()=>{s=null}))),r&&W(!0)};Ee((()=>{u=!1,r(c),u||d(null,null)}),i?w:0),H&&(o=M)}function Qt(e,t,n,r){var i=e.__attributes??={};H&&(i[t]=e.getAttribute(t),"src"===t||"srcset"===t||"href"===t&&"LINK"===e.nodeName)||i[t]!==(i[t]=n)&&("style"===t&&"__styles"in e&&(e.__styles={}),"loading"===t&&(e[y]=n),null==n?e.removeAttribute(t):"string"!=typeof n&&function(e){var t,n=Mt.get(e.nodeName);if(n)return n;Mt.set(e.nodeName,n=[]);var r=e,i=Element.prototype;for(;i!==r;){for(var o in t=c(r))t[o].set&&n.push(o);r=f(r)}return n}(e).includes(t)?e[t]=n:e.setAttribute(t,n))}var Mt=new Map;function Ht(e,t){return e===t||e?.[b]===t}function Wt(e={},t,n,r){return pe((()=>{var r,i;return me((()=>{r=i,i=[],gt((()=>{e!==n(...i)&&(t(e,...i),r&&Ht(n(...r),e)&&t(null,...r))}))})),()=>{Ne((()=>{i&&Ht(n(...i),e)&&t(null,...i)}))}})),e}function Gt(e){null===et&&Ue(),function(e){if(he(),!(null!==Ve&&Ve.f&p&&null!==et)||et.m)return pe(e);var t=et;(t.e??=[]).push({fn:e,effect:Ve,reaction:Be})}((()=>{const t=gt(e);if("function"==typeof t)return t}))}let jt,Bt=!1;function qt(e){var t=Bt;try{return Bt=!1,[e(),Bt]}finally{Bt=t}}function Vt(e,t,n,r){var i,o=!!(1&n),s=!!(8&n),a=!!(16&n),l=!1;s?[i,l]=qt((()=>e[t])):i=e[t];var c,d=b in e||A in e,h=u(e,t)?.set??(d&&s&&t in e?n=>e[t]=n:void 0),f=r,p=!0,m=!1,E=()=>(m=!0,p&&(p=!1,f=a?gt(r):r),f);if(void 0===i&&void 0!==r&&(h&&function(){throw new Error("https://svelte.dev/e/props_invalid_value")}(),i=E(),h&&h(i)),c=()=>{var n=e[t];return void 0===n?E():(p=!0,m=!1,n)},!(4&n))return c;if(h){var _=e.$$legacy;return function(e,t){return arguments.length>0?((!t||_||l)&&h(t?c():e),e):c()}}var v=!1,T=D(i),S=function(e){for(var t=Ve,n=Ve;null!==t&&!(96&t.f);)t=t.parent;try{return Ke(t),e()}finally{Ke(n)}}((()=>function(e){var t=2050;null===Ve?t|=g:Ve.f|=R;var n=null!==Be&&2&Be.f?Be:null;const r={children:null,ctx:et,deps:null,equals:I,f:t,fn:e,reactions:null,v:null,version:0,parent:n??Ve};return null!==n&&(n.children??=[]).push(r),r}((()=>{var e=c(),t=mt(T);return v?(v=!1,t):T.v=e}))));return o||(S.equals=O),function(e,t){if(arguments.length>0){const n=t?mt(S):s?J(e):e;return S.equals(n)||(v=!0,P(T,n),m&&void 0!==f&&(f=n),gt((()=>mt(S)))),e}return mt(S)}}function Kt(e,t,n,i){for(const s in e){var o=u(e,s)?.set;i.name,o&&(n.includes(s)&&$(i[r]),t.includes(s)||N(0,i[r]))}}function Ft(e,t,n,r,i){var o=!1;me((()=>{if(!o){var[e,r]=qt(t);if(!r){var i=n(),s=!1,a=me((()=>{s||e[i]}));s=!0,null===a.deps&&(console.warn("https://svelte.dev/e/binding_property_non_reactive"),o=!0)}}}))}class Xt{#e;#t;constructor(e){var t=new Map,n=(e,n)=>{var r=D(n);return t.set(e,r),r};const r=new Proxy({...e.props||{},$$events:{}},{get:(e,r)=>mt(t.get(r)??n(r,Reflect.get(e,r))),has:(e,r)=>r===A||(mt(t.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r)),set:(e,r,i)=>(P(t.get(r)??n(r,i),i),Reflect.set(e,r,i))});this.#t=(e.hydrate?Nt:$t)(e.component,{target:e.target,anchor:e.anchor,props:r,context:e.context,intro:e.intro??!1,recover:e.recover}),e?.props?.$$host&&!1!==e.sync||pt(),this.#e=r.$$events;for(const e of Object.keys(this.#t))"$set"!==e&&"$destroy"!==e&&"$on"!==e&&l(this,e,{get(){return this.#t[e]},set(t){this.#t[e]=t},enumerable:!0});this.#t.$set=e=>{Object.assign(r,e)},this.#t.$destroy=()=>{!function(e,t){const n=Dt.get(e);n?(Dt.delete(e),n(t)):Promise.resolve()}(this.#t)}}$set(e){this.#t.$set(e)}$on(e,t){this.#e[e]=this.#e[e]||[];const n=(...e)=>t.call(this,...e);return this.#e[e].push(n),()=>{this.#e[e]=this.#e[e].filter((e=>e!==n))}}$destroy(){this.#t.$destroy()}}function Jt(e,t,n,r){const i=n[e]?.type;if(t="Boolean"===i&&"boolean"!=typeof t?null!=t:t,!r||!n[e])return t;if("toAttribute"===r)switch(i){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return null==t?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}function zt(e,t,n,r,i,o){let s=class extends jt{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return a(t).map((e=>(t[e].attribute||e).toLowerCase()))}};return a(t).forEach((e=>{l(s.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(n){n=Jt(e,n,t),this.$$d[e]=n;var r=this.$$c;if(r){var i=u(r,e)?.get;i?r[e]=n:r.$set({[e]:n})}}})})),r.forEach((e=>{l(s.prototype,e,{get(){return this.$$c?.[e]}})})),o&&(s=o(s)),e.element=s,s}var Zt,Yt;"function"==typeof HTMLElement&&(jt=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;$$me;constructor(e,t,n){super(),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const n=this.$$c.$on(e,t);this.$$l_u.set(t,n)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function t(e){return t=>{const n=document.createElement("slot");"default"!==e&&(n.name=e),Ot(t,n)}}const n={},r=function(e){const t={};return e.childNodes.forEach((e=>{t[e.slot||"default"]=!0})),t}(this);for(const i of this.$$s)i in r&&("default"!==i||this.$$d.children?n[i]=t(i):(this.$$d.children=t(i),n.default=!0));for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=Jt(s,o.value,this.$$p_d,"toProp"))}for(const l in this.$$p_d)l in this.$$d||void 0===this[l]||(this.$$d[l]=this[l],delete this[l]);this.$$c=(e={component:this.$$ctor,target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$host:this}},new Xt(e)),this.$$me=function(e){const t=fe(m,e,!0);return()=>{Ce(t)}}((()=>{me((()=>{this.$$r=!0;for(const e of a(this.$$c)){if(!this.$$p_d[e]?.reflect)continue;this.$$d[e]=this.$$c[e];const t=Jt(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1}))}));for(const u in this.$$l)for(const c of this.$$l[u]){const d=this.$$c.$on(u,c);this.$$l_u.set(c,d)}this.$$l={}}var e}attributeChangedCallback(e,t,n){this.$$r||(e=this.$$g_p(e),this.$$d[e]=Jt(e,n,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$me(),this.$$c=void 0)}))}$$g_p(e){return a(this.$$p_d).find((t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e))||e}}),function(e){e.CUSTOM_MESSAGE="custom",e.GET_CONTEXT="luigi.get-context",e.SEND_CONTEXT_HANDSHAKE="luigi.init",e.CONTEXT_RECEIVED="luigi.init.ok",e.NAVIGATION_REQUEST="luigi.navigation.open",e.ALERT_REQUEST="luigi.ux.alert.show",e.ALERT_CLOSED="luigi.ux.alert.hide",e.INITIALIZED="luigi.init.ok",e.ADD_SEARCH_PARAMS_REQUEST="luigi.addSearchParams",e.ADD_NODE_PARAMS_REQUEST="luigi.addNodeParams",e.SHOW_CONFIRMATION_MODAL_REQUEST="luigi.ux.confirmationModal.show",e.SHOW_LOADING_INDICATOR_REQUEST="luigi.show-loading-indicator",e.HIDE_LOADING_INDICATOR_REQUEST="luigi.hide-loading-indicator",e.SET_CURRENT_LOCALE_REQUEST="luigi.ux.set-current-locale",e.LOCAL_STORAGE_SET_REQUEST="storage",e.RUNTIME_ERROR_HANDLING_REQUEST="luigi-runtime-error-handling",e.SET_ANCHOR_LINK_REQUEST="luigi.setAnchor",e.SET_THIRD_PARTY_COOKIES_REQUEST="luigi.third-party-cookie",e.BACK_NAVIGATION_REQUEST="luigi.navigation.back",e.GET_CURRENT_ROUTE_REQUEST="luigi.navigation.currentRoute",e.SEND_CONTEXT_OBJECT="luigi.navigate",e.NAVIGATION_COMPLETED_REPORT="luigi.navigate.ok",e.UPDATE_MODAL_PATH_DATA_REQUEST="luigi.navigation.updateModalDataPath",e.CHECK_PATH_EXISTS_REQUEST="luigi.navigation.pathExists",e.SET_DIRTY_STATUS_REQUEST="luigi.set-page-dirty",e.AUTH_SET_TOKEN="luigi.auth.tokenIssued"}(Zt||(Zt={})),function(e){e.CUSTOM_MESSAGE="custom-message",e.GET_CONTEXT_REQUEST="get-context-request",e.NAVIGATION_REQUEST="navigation-request",e.ALERT_REQUEST="show-alert-request",e.ALERT_CLOSED="close-alert-request",e.INITIALIZED="initialized",e.ADD_SEARCH_PARAMS_REQUEST="add-search-params-request",e.ADD_NODE_PARAMS_REQUEST="add-node-params-request",e.SHOW_CONFIRMATION_MODAL_REQUEST="show-confirmation-modal-request",e.SHOW_LOADING_INDICATOR_REQUEST="show-loading-indicator-request",e.HIDE_LOADING_INDICATOR_REQUEST="hide-loading-indicator-request",e.SET_CURRENT_LOCALE_REQUEST="set-current-locale-request",e.LOCAL_STORAGE_SET_REQUEST="set-storage-request",e.RUNTIME_ERROR_HANDLING_REQUEST="runtime-error-handling-request",e.SET_ANCHOR_LINK_REQUEST="set-anchor-request",e.SET_THIRD_PARTY_COOKIES_REQUEST="set-third-party-cookies-request",e.BACK_NAVIGATION_REQUEST="navigate-back-request",e.GET_CURRENT_ROUTE_REQUEST="get-current-route-request",e.NAVIGATION_COMPLETED_REPORT="report-navigation-completed-request",e.UPDATE_MODAL_PATH_DATA_REQUEST="update-modal-path-data-request",e.CHECK_PATH_EXISTS_REQUEST="check-path-exists-request",e.SET_DIRTY_STATUS_REQUEST="set-dirty-status-request",e.SET_VIEW_GROUP_DATA_REQUEST="set-viewgroup-data-request",e.SET_DOCUMENT_TITLE_REQUEST="set-document-title-request",e.OPEN_USER_SETTINGS_REQUEST="open-user-settings-request",e.CLOSE_USER_SETTINGS_REQUEST="close-user-settings-request",e.COLLAPSE_LEFT_NAV_REQUEST="collapse-leftnav-request",e.UPDATE_TOP_NAVIGATION_REQUEST="update-top-navigation-request",e.PATH_EXISTS_REQUEST="path-exists-request",e.GO_BACK_REQUEST="go-back-request",e.HAS_BACK_REQUEST="has-back-request",e.REMOVE_BACKDROP_REQUEST="remove-backdrop-request"}(Yt||(Yt={}));const en=new class{isFunction(e){return e&&"[object Function]"==={}.toString.call(e)}isObject(e){return!(!e||"object"!=typeof e||Array.isArray(e))}checkWebcomponentValue(e){return"string"==typeof e?JSON.parse(e):"boolean"==typeof e||"object"==typeof e?e:(console.warn("Webcomponent value has a wrong type."),!1)}resolveContext(e){return e?"string"==typeof e?JSON.parse(e):e:{}}};class tn{isVisible(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}sendCustomMessageToIframe(e,t,n){const r=n||"custom";if(e.iframe.contentWindow){const n=new URL(e.iframe.src);"custom"===r?e.iframe.contentWindow.postMessage({msg:r,data:t},n.origin):e.iframe.contentWindow.postMessage({msg:r,...t},n.origin)}else console.error("Message target could not be resolved")}dispatch(e,t,n,r,i){const o=new CustomEvent(e,{detail:n});r&&en.isFunction(r)&&i&&(o[i]=e=>{r(e)}),t.dispatchEvent(o)}getTargetContainer(e){let t;return globalThis.__luigi_container_manager.container.forEach((n=>{n.iframeHandle?.iframe&&n.iframeHandle.iframe.contentWindow===e.source&&(t=n)})),t}getContainerManager(){return globalThis.__luigi_container_manager||(globalThis.__luigi_container_manager={container:[],messageListener:e=>{const t=this.getTargetContainer(e),n=t?.iframeHandle?.iframe?.contentWindow;if(n&&n===e.source){switch(e.data.msg){case Zt.CUSTOM_MESSAGE:{const n=e.data.data,r=n.id;delete n.id,this.dispatch(Yt.CUSTOM_MESSAGE,t,{id:r,_metaData:{},data:n})}break;case Zt.GET_CONTEXT:n.postMessage({msg:Zt.SEND_CONTEXT_HANDSHAKE,context:t.context||{},internal:{thirdPartyCookieCheck:{disabled:"true"===t.skipCookieCheck}},authData:t.authData||{}},e.origin);break;case Zt.NAVIGATION_REQUEST:this.dispatch(Yt.NAVIGATION_REQUEST,t,e.data.params);break;case Zt.ALERT_REQUEST:this.dispatch(Yt.ALERT_REQUEST,t,e);break;case Zt.INITIALIZED:this.dispatch(Yt.INITIALIZED,t,e.data.params);break;case Zt.ADD_SEARCH_PARAMS_REQUEST:this.dispatch(Yt.ADD_SEARCH_PARAMS_REQUEST,t,{data:e.data.data,keepBrowserHistory:e.data.keepBrowserHistory});break;case Zt.ADD_NODE_PARAMS_REQUEST:this.dispatch(Yt.ADD_NODE_PARAMS_REQUEST,t,{data:e.data.data,keepBrowserHistory:e.data.keepBrowserHistory});break;case Zt.SHOW_CONFIRMATION_MODAL_REQUEST:this.dispatch(Yt.SHOW_CONFIRMATION_MODAL_REQUEST,t,e.data.data);break;case Zt.SHOW_LOADING_INDICATOR_REQUEST:this.dispatch(Yt.SHOW_LOADING_INDICATOR_REQUEST,t,e);break;case Zt.HIDE_LOADING_INDICATOR_REQUEST:this.dispatch(Yt.HIDE_LOADING_INDICATOR_REQUEST,t,e);break;case Zt.SET_CURRENT_LOCALE_REQUEST:this.dispatch(Yt.SET_CURRENT_LOCALE_REQUEST,t,e);break;case Zt.LOCAL_STORAGE_SET_REQUEST:this.dispatch(Yt.LOCAL_STORAGE_SET_REQUEST,t,e);break;case Zt.RUNTIME_ERROR_HANDLING_REQUEST:this.dispatch(Yt.RUNTIME_ERROR_HANDLING_REQUEST,t,e);break;case Zt.SET_ANCHOR_LINK_REQUEST:this.dispatch(Yt.SET_ANCHOR_LINK_REQUEST,t,e);break;case Zt.SET_THIRD_PARTY_COOKIES_REQUEST:this.dispatch(Yt.SET_THIRD_PARTY_COOKIES_REQUEST,t,e);break;case Zt.BACK_NAVIGATION_REQUEST:this.dispatch(Yt.BACK_NAVIGATION_REQUEST,t,e);break;case Zt.GET_CURRENT_ROUTE_REQUEST:this.dispatch(Yt.GET_CURRENT_ROUTE_REQUEST,t,e);break;case Zt.NAVIGATION_COMPLETED_REPORT:this.dispatch(Yt.NAVIGATION_COMPLETED_REPORT,t,e);break;case Zt.UPDATE_MODAL_PATH_DATA_REQUEST:this.dispatch(Yt.UPDATE_MODAL_PATH_DATA_REQUEST,t,e);break;case Zt.CHECK_PATH_EXISTS_REQUEST:this.dispatch(Yt.CHECK_PATH_EXISTS_REQUEST,t,e);break;case Zt.SET_DIRTY_STATUS_REQUEST:this.dispatch(Yt.SET_DIRTY_STATUS_REQUEST,t,e)}}}},window.addEventListener("message",globalThis.__luigi_container_manager.messageListener)),globalThis.__luigi_container_manager}registerContainer(e){this.getContainerManager().container.push(e)}}const nn=new tn;const rn=new class{constructor(){this.updateContext=(e,t,n)=>{if(n){const r=t||{};nn.sendCustomMessageToIframe(n,{context:e,internal:r,withoutSync:!0},Zt.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update context on inexisting iframe")},this.updateViewUrl=(e,t,n,r)=>{if(r){const i=n||{};nn.sendCustomMessageToIframe(r,{context:t,internal:i,withoutSync:!1,viewUrl:e},Zt.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update route on inexisting iframe")},this.updateAuthData=(e,t)=>{e&&t?nn.sendCustomMessageToIframe(e,{authData:t},Zt.AUTH_SET_TOKEN):console.warn("Attempting to update auth data on inexisting iframe or authData")},this.sendCustomMessage=(e,t,n,r,i)=>{if(n&&t._luigi_mfe_webcomponent)nn.dispatch(e,t._luigi_mfe_webcomponent,i||{});else{const t={...i};t.id&&console.warn('Property "id" is reserved and can not be used in custom message data'),t.id=e,nn.sendCustomMessageToIframe(r,t)}}}closeAlert(e,t,n){nn.sendCustomMessageToIframe(n,{id:e,dismissKey:t},Zt.ALERT_CLOSED)}};class on{constructor(e){e?(this.rendererObject=e,this.config=e.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(e){return document.createElement("div")}attachCompoundItem(e,t){e.appendChild(t)}}class sn extends on{constructor(e){super(e||{use:{}}),e&&e.use&&e.use.extends&&(this.superRenderer=ln({use:e.use.extends,config:e.config}))}createCompoundContainer(){return"function"==typeof this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(e){return"function"==typeof this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(e,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(e):super.createCompoundItemContainer(e)}attachCompoundItem(e,t){"function"==typeof this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(e,t,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(e,t):super.attachCompoundItem(e,t)}}class an extends on{createCompoundContainer(){const e="__lui_compound_"+(new Date).getTime(),t=document.createElement("div");let n="";return t.classList.add(e),this.config.layouts&&this.config.layouts.forEach((t=>{if(t.minWidth||t.maxWidth){let r="@media only screen ";null!=t.minWidth&&(r+=`and (min-width: ${t.minWidth}px) `),null!=t.maxWidth&&(r+=`and (max-width: ${t.maxWidth}px) `),r+=`{\n .${e} {\n grid-template-columns: ${t.columns||"auto"};\n grid-template-rows: ${t.rows||"auto"};\n grid-gap: ${t.gap||"0"};\n }\n }\n `,n+=r}})),t.innerHTML=`\n <style scoped>\n .${e} {\n display: grid;\n grid-template-columns: ${this.config.columns||"auto"};\n grid-template-rows: ${this.config.rows||"auto"};\n grid-gap: ${this.config.gap||"0"};\n min-height: ${this.config.minHeight||"auto"};\n }\n ${n}\n </style>\n `,t}createCompoundItemContainer(e){const t=e||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${t.row||"auto"}; grid-column: ${t.column||"auto"}`),n.classList.add("lui-compoundItemCnt"),n}}const ln=e=>{const t=e.use;return t?"grid"===t?new an(e):t.createCompoundContainer||t.createCompoundItemContainer||t.attachCompoundItem?new sn(e):new on(e):new on(e)},un=(e,t,n,r)=>{t?.eventListeners&&t.eventListeners.forEach((t=>{const i=t.source+"."+t.name,o=e[i],s={wcElementId:n,wcElement:r,action:t.action,converter:t.dataConverter};o?o.push(s):e[i]=[s]}))};function cn(e){return String(e).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/")}class dn{constructor(){this.containerService=new tn}dynamicImport(e){return Object.freeze(import(/* webpackIgnore: true */e))}processViewUrl(e,t){return e}attachWC(e,t,n,r,i,o,s){if(n&&n.contains(t)){const a=document.createElement(e);o&&a.setAttribute("nodeId",o),a.setAttribute("lui_web_component","true"),this.initWC(a,e,n,i,r,o,s),n.replaceChild(a,t),n._luigi_node&&(n._luigi_mfe_webcomponent=a),n.dispatchEvent(new Event("wc_ready"))}}dispatchLuigiEvent(e,t,n){this.containerService.dispatch(e,this.thisComponent,t,n)}createClientAPI(e,t,n,r,i){return{linkManager:()=>{let e=null,t=!1,n=!1,r=!1,i={};const o={navigate:(o,s={})=>{const a={fromContext:e,fromClosestContext:t,fromVirtualTreeRoot:n,fromParent:r,nodeParams:i,...s};this.dispatchLuigiEvent(Yt.NAVIGATION_REQUEST,{link:o,...a})},navigateToIntent:(e,t={})=>{let n="#?intent=";if(n+=e,t&&Object.keys(t)?.length){const e=Object.entries(t);if(e.length>0){n+="?";for(const[t,r]of e)n+=t+"="+r+"&";n=n.slice(0,-1)}}o.navigate(n)},fromClosestContext:()=>(t=!0,o),fromContext:t=>(e=t,o),fromVirtualTreeRoot:()=>(n=!0,o),fromParent:()=>(r=!0,o),getCurrentRoute:()=>{const o={fromContext:e,fromClosestContext:t,fromVirtualTreeRoot:n,fromParent:r,nodeParams:i};return new Promise(((e,t)=>{this.containerService.dispatch(Yt.GET_CURRENT_ROUTE_REQUEST,this.thisComponent,{...o},(n=>{n?e(n):t("No current route received.")}),"callback")}))},withParams:e=>(i=e,o),updateTopNavigation:()=>{this.dispatchLuigiEvent(Yt.UPDATE_TOP_NAVIGATION_REQUEST,{})},pathExists:()=>new Promise(((e,t)=>{this.containerService.dispatch(Yt.PATH_EXISTS_REQUEST,this.thisComponent,{},(n=>{n?e(!0):t(!1)}),"callback")})),openAsDrawer:(e,t={})=>{o.navigate(e,{drawer:t})},openAsModal:(e,t={})=>{o.navigate(e,{modal:t})},openAsSplitView:(e,t={})=>{o.navigate(e,{splitView:t})},goBack:e=>{this.dispatchLuigiEvent(Yt.GO_BACK_REQUEST,e)},hasBack:()=>!1};return o},uxManager:()=>({showAlert:e=>{this.dispatchLuigiEvent(Yt.ALERT_REQUEST,e)},showConfirmationModal:e=>new Promise(((t,n)=>{this.containerService.dispatch(Yt.SHOW_CONFIRMATION_MODAL_REQUEST,this.thisComponent,e,(e=>{e?t(e):n(new Error("No data"))}),"callback")})),getCurrentTheme:()=>this.thisComponent.theme,closeUserSettings:()=>{this.dispatchLuigiEvent(Yt.CLOSE_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},openUserSettings:()=>{this.dispatchLuigiEvent(Yt.OPEN_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},collapseLeftSideNav:()=>{this.dispatchLuigiEvent(Yt.COLLAPSE_LEFT_NAV_REQUEST,{})},getDirtyStatus:()=>this.thisComponent.dirtyStatus||!1,getDocumentTitle:()=>this.thisComponent.documentTitle,setDocumentTitle:e=>{this.dispatchLuigiEvent(Yt.SET_DOCUMENT_TITLE_REQUEST,e)},removeBackdrop:()=>{this.dispatchLuigiEvent(Yt.REMOVE_BACKDROP_REQUEST,{})},hideAppLoadingIndicator:()=>{this.dispatchLuigiEvent(Yt.HIDE_LOADING_INDICATOR_REQUEST,{})}}),getCurrentLocale:()=>this.thisComponent.locale,getActiveFeatureToggles:()=>this.thisComponent.activeFeatureToggleList||[],publishEvent:i=>{e&&e.eventBus&&e.eventBus.onPublishEvent(i,t,n);const o={id:i.type,_metaData:{nodeId:t,wc_id:n,src:r},data:i.detail};this.dispatchLuigiEvent(Yt.CUSTOM_MESSAGE,o)},luigiClientInit:()=>{this.dispatchLuigiEvent(Yt.INITIALIZED,{})},addNodeParams:(e,t)=>{i||this.dispatchLuigiEvent(Yt.ADD_NODE_PARAMS_REQUEST,{params:e,keepBrowserHistory:t})},getNodeParams:e=>{return i?{}:e?(t=this.thisComponent.nodeParams,Object.entries(t).reduce(((e,t)=>(e[cn(t[0])]=cn(t[1]),e)),{})):this.thisComponent.nodeParams||{};var t},setAnchor:e=>{i||this.dispatchLuigiEvent(Yt.SET_ANCHOR_LINK_REQUEST,e)},getAnchor:()=>this.thisComponent.anchor||"",getCoreSearchParams:()=>this.thisComponent.searchParams||{},getPathParams:()=>this.thisComponent.pathParams||{},getClientPermissions:()=>this.thisComponent.clientPermissions||{},getUserSettings:()=>this.thisComponent.userSettings||{},setViewGroupData:e=>{this.dispatchLuigiEvent(Yt.SET_VIEW_GROUP_DATA_REQUEST,e)}}}initWC(e,t,n,r,i,o,s){const a=this.createClientAPI(n,o,t,e,s);if(e.__postProcess){const t=new URL(document.baseURI).origin===new URL(r,document.baseURI).origin?new URL("./",new URL(r,document.baseURI)):new URL("./",r);e.__postProcess(i,a,t.origin+t.pathname)}else e.context=i,e.LuigiClient=a}generateWCId(e){let t="";const n=new URL(e,encodeURI(location.href)).href;for(let e=0;e<n.length;e++)t+=n.charCodeAt(e).toString(16);return"luigi-wc-"+t}registerWCFromUrl(e,t){const n=this.processViewUrl(e);return new Promise(((e,r)=>{if(this.checkWCUrl(n))this.dynamicImport(n).then((n=>{try{if(!window.customElements.get(t)){let e=n.default;if(!HTMLElement.isPrototypeOf(e)){const t=Object.keys(n);for(let r=0;r<t.length&&(e=n[t[r]],!HTMLElement.isPrototypeOf(e));r++);}window.customElements.define(t,e)}e(1)}catch(e){r(e)}})).catch((e=>{r(e)}));else{r(`Error: View URL '${n}' not allowed to be included`)}}))}includeSelfRegisteredWCFromUrl(e,t,n){if(this.checkWCUrl(t)){this.containerService.getContainerManager()._registerWebcomponent||(this.containerService.getContainerManager()._registerWebcomponent=(e,t)=>{window.customElements.define(this.generateWCId(e),t)}),window.Luigi||(window.Luigi={},window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(e,t)=>{this.containerService.getContainerManager()._registerWebcomponent(e,t)}));const r=document.createElement("script");r.setAttribute("src",t),"module"===e?.webcomponent?.type&&r.setAttribute("type","module"),r.setAttribute("defer","true"),r.addEventListener("load",(()=>{n()})),document.body.appendChild(r)}else console.warn(`View URL '${t}' not allowed to be included`)}checkWCUrl(e){return!0}renderWebComponent(e,t,n,r,i,o){const s=this.processViewUrl(e,{context:n}),a=r?.webcomponent?.tagName||this.generateWCId(s),l=document.createElement("div");t.appendChild(l),t._luigi_node=r,window.customElements.get(a)?this.attachWC(a,l,t,n,s,i||"",o):window.luigiWCFn?window.luigiWCFn(s,a,l,(()=>{this.attachWC(a,l,t,n,s,i||"",o)})):r?.webcomponent?.selfRegistered?this.includeSelfRegisteredWCFromUrl(r,s,(()=>{this.attachWC(a,l,t,n,s,i||"",o)})):this.registerWCFromUrl(s,a).then((()=>{this.attachWC(a,l,t,n,s,i||"",o)})).catch((e=>{console.warn("ERROR =>",e),this.containerService.dispatch(Yt.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,e)}))}createCompoundContainerAsync(e,t,n){return new Promise(((r,i)=>{if(e.viewUrl)try{const i=n?.webcomponent?.tagName||this.generateWCId(e.viewUrl);n?.webcomponent?.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,e.viewUrl,(()=>{const n=document.createElement(i);n.setAttribute("lui_web_component","true"),this.initWC(n,i,n,e.viewUrl||"",t,"_root"),r(n)})):this.registerWCFromUrl(e.viewUrl,i).then((()=>{const n=document.createElement(i);n.setAttribute("lui_web_component","true"),this.initWC(n,i,n,e.viewUrl||"",t,"_root"),r(n)})).catch((e=>{console.warn("Error: ",e),this.containerService.dispatch(Yt.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,e)}))}catch(e){i(e)}else r(e.createCompoundContainer())}))}renderWebComponentCompound(e,t,n){let r;return e.webcomponent&&e.viewUrl?(r=new on,r.viewUrl=this.processViewUrl(e.viewUrl,{context:n}),r.createCompoundItemContainer=e=>{const t=document.createElement("div");return e?.slot&&t.setAttribute("slot",e.slot),t}):e.compound?.renderer&&(r=ln(e.compound.renderer)),r=r||new on,new Promise((i=>{this.createCompoundContainerAsync(r,n,e).then((o=>{t._luigi_mfe_webcomponent=o,t._luigi_node=e;const s={};o.eventBus={listeners:s,onPublishEvent:(e,t,n)=>{const r=s[t+"."+e.type]||[];r.push(...s["*."+e.type]||[]),r.forEach((t=>{const n=t.wcElement||o.querySelector("[nodeId="+t.wcElementId+"]");n?n.dispatchEvent(new CustomEvent(t.action,{detail:t.converter?t.converter(e.detail):e.detail})):console.debug("Could not find event target",t)}))}},e.compound?.children?.forEach(((e,t)=>{const i={...n,...e.context},a=r.createCompoundItemContainer(e.layoutConfig);a.eventBus=o.eventBus,r.attachCompoundItem(o,a);const l=e.id||"gen_"+t;this.renderWebComponent(e.viewUrl,a,i,e,l,!0),un(s,e,l)})),t.appendChild(o),un(s,e.compound,"_root",o),i(o)})).catch((e=>{console.warn("Error: ",e),this.containerService.dispatch(Yt.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,e)}))}))}}F(),pn[r]="src/LuigiContainer.svelte";var hn=St(It("<style>main.lui-isolated,\n .lui-isolated iframe {\n width: 100%;\n height: 100%;\n border: none;\n }\n\n main.lui-isolated {\n line-height: 0;\n }</style> <iframe></iframe>",1),pn[r],[[244,6],[256,6]]),fn=St(It("<main><!></main>"),pn[r],[[241,0]]);function pn(e,n){Pt(new.target),vt(n,!0),Kt(n,["context"],[],pn);let r,i=Vt(n,"activeFeatureToggleList",7),o=Vt(n,"allowRules",7),s=Vt(n,"anchor",7),a=Vt(n,"authData",7),l=Vt(n,"clientPermissions",7),u=Vt(n,"context",15),c=Vt(n,"deferInit",7),d=Vt(n,"dirtyStatus",7),h=Vt(n,"documentTitle",7),f=Vt(n,"hasBack",7),p=Vt(n,"label",7),m=Vt(n,"locale",7),g=Vt(n,"noShadow",7),E=Vt(n,"nodeParams",7),_=Vt(n,"pathParams",7),v=Vt(n,"sandboxRules",7),T=Vt(n,"searchParams",7),S=Vt(n,"skipCookieCheck",7),C=Vt(n,"skipInitCheck",7),w=Vt(n,"theme",7),R=Vt(n,"userSettings",7),b=Vt(n,"viewurl",7),A=Vt(n,"webcomponent",7),y=L(!1);const I=L(J({})),O=new dn,$=e=>{if(mt(y))return;e.sendCustomMessage=(t,n)=>{rn.sendCustomMessage(t,e.getNoShadow()?e:r,!!A(),mt(I),n)},e.updateContext=(t,n)=>{u(JSON.stringify(t)),A()?(e.getNoShadow()?e:r)._luigi_mfe_webcomponent.context=t:rn.updateContext(t,n,mt(I))},e.closeAlert=(e,t)=>{rn.closeAlert(e,t,mt(I))},nn.registerContainer(e),O.thisComponent=e;const t=en.resolveContext(u());if(e.updateViewUrl=(e,t)=>{e?.length&&rn.updateViewUrl(e,en.resolveContext(u()),t,mt(I))},A()&&function(e,t,n=!0){return e==t!=(Z(e)==Z(t))&&Q(),e==t===n}(A(),"false",!1)){if(e.getNoShadow())e.innerHTML="";else{r.innerHTML="";e.attachShadow({mode:"open"}).append(r)}const n=en.checkWebcomponentValue(A());O.renderWebComponent(b(),e.getNoShadow()?e:r,t,Y(typeof n,"object")?{webcomponent:n}:{})}else if(!e.getNoShadow()){e.innerHTML="";e.attachShadow({mode:"open"}).append(r)}C()?(e.initialized=!0,setTimeout((()=>{O.dispatchLuigiEvent(Yt.INITIALIZED,{})}))):A()&&(e.getNoShadow()?e:r).addEventListener("wc_ready",(()=>{(e.getNoShadow()?e:r)._luigi_mfe_webcomponent?.deferLuigiClientWCInit||(e.initialized=!0,O.dispatchLuigiEvent(Yt.INITIALIZED,{}))})),P(y,!0),e.containerInitialized=!0};var N;Gt((async()=>{const e=r.parentNode;e.iframeHandle=mt(I),e.init=()=>{$(e)},c()||$(e)})),N=async()=>{},null===et&&Ue(),Gt((()=>()=>gt(N)));var U=fn(),D=function(e){if(!H)return oe(e);var t=oe(M);return null===t&&(t=M.appendChild(ie())),G(t),t}(U),x=e=>{var t=function(){if(H)return yt(M,null),M;var e=document.createDocumentFragment(),t=document.createComment(""),n=ie();return e.append(t,n),yt(t,n),e}(),n=ae(t),r=e=>{var t=hn(),n=function(e,t=1,n=!1){let r=H?M:e;for(var i;t--;)i=r,r=se(r);if(!H)return r;var o=r?.nodeType;if(n&&3!==o){var s=ie();return null===r?i?.after(s):r.before(s),G(s),s}return G(r),r}(ae(t),2);ge((()=>Qt(n,"allow",(e=>{if(!e)return;const t=e;return t.forEach(((n,r)=>{t[r]=n+(-1!=n.indexOf(";")?"":";"),t[r]=e[r].replaceAll('"',"'")})),t.join(" ")})(o())))),ge((()=>Qt(n,"sandbox",v()?v().join(" "):void 0))),Ft(0,(()=>mt(I)),(()=>"iframe")),Wt(n,(e=>mt(I).iframe=e),(()=>mt(I)?.iframe)),ge((()=>{Qt(n,"src",b()),Qt(n,"title",p())})),Ot(e,t)};kt(n,(e=>{A()&&!Y(A(),"false")||e(r)})),Ot(e,t)};return kt(D,(e=>{mt(y)&&e(x)})),function(e){if(H){if(null!==se(M))throw k(),t;M=e}}(U),Wt(U,(e=>r=e),(()=>r)),ge((()=>{return e=U,t=A()?void 0:"lui-isolated",n=e.__className,r=function(e){return null==e?"":e}(t),void(H&&e.className===r?e.__className=r:(n!==r||H&&e.className!==r)&&(null==t?e.removeAttribute("class"):e.className=r,e.__className=r));var e,t,n,r})),Ot(e,U),Tt({get activeFeatureToggleList(){return i()},set activeFeatureToggleList(e){i(e),pt()},get allowRules(){return o()},set allowRules(e){o(e),pt()},get anchor(){return s()},set anchor(e){s(e),pt()},get authData(){return a()},set authData(e){a(e),pt()},get clientPermissions(){return l()},set clientPermissions(e){l(e),pt()},get context(){return u()},set context(e){u(e),pt()},get deferInit(){return c()},set deferInit(e){c(e),pt()},get dirtyStatus(){return d()},set dirtyStatus(e){d(e),pt()},get documentTitle(){return h()},set documentTitle(e){h(e),pt()},get hasBack(){return f()},set hasBack(e){f(e),pt()},get label(){return p()},set label(e){p(e),pt()},get locale(){return m()},set locale(e){m(e),pt()},get noShadow(){return g()},set noShadow(e){g(e),pt()},get nodeParams(){return E()},set nodeParams(e){E(e),pt()},get pathParams(){return _()},set pathParams(e){_(e),pt()},get sandboxRules(){return v()},set sandboxRules(e){v(e),pt()},get searchParams(){return T()},set searchParams(e){T(e),pt()},get skipCookieCheck(){return S()},set skipCookieCheck(e){S(e),pt()},get skipInitCheck(){return C()},set skipInitCheck(e){C(e),pt()},get theme(){return w()},set theme(e){w(e),pt()},get userSettings(){return R()},set userSettings(e){R(e),pt()},get viewurl(){return b()},set viewurl(e){b(e),pt()},get webcomponent(){return A()},set webcomponent(e){A(e),pt()},...xt()})}X(pn),zt(pn,{activeFeatureToggleList:{attribute:"active-feature-toggle-list",type:"Array"},allowRules:{attribute:"allow-rules",type:"Array"},anchor:{attribute:"anchor",type:"String"},authData:{attribute:"auth-data",type:"Object"},clientPermissions:{attribute:"client-permissions",type:"Object"},context:{attribute:"context",reflect:!0,type:"String"},deferInit:{attribute:"defer-init",type:"Boolean"},dirtyStatus:{attribute:"dirty-status",type:"Boolean"},documentTitle:{attribute:"document-title",type:"String"},hasBack:{attribute:"has-back",type:"Boolean"},label:{attribute:"label",type:"String"},locale:{attribute:"locale",type:"String"},noShadow:{attribute:"no-shadow",type:"Boolean"},nodeParams:{attribute:"node-params",type:"Object"},pathParams:{attribute:"path-params",type:"Object"},sandboxRules:{attribute:"sandbox-rules",type:"Array"},searchParams:{attribute:"search-params",type:"Object"},skipCookieCheck:{attribute:"skip-cookie-check",type:"String"},skipInitCheck:{attribute:"skip-init-check",type:"Boolean"},theme:{attribute:"theme",type:"String"},userSettings:{attribute:"user-settings",type:"Object"},viewurl:{attribute:"viewurl",type:"String"},webcomponent:{attribute:"webcomponent",type:"String"}},[],[],!1,(e=>{let t=e=>()=>console.warn(e+" can't be called on luigi-container before its micro frontend is attached to the DOM.");return class extends e{sendCustomMessage=t("sendCustomMessage");updateContext=t("updateContext");updateViewUrl=t("updateViewUrl");closeAlert=t("closeAlert");attributeChangedCallback(e,t,n){this.containerInitialized&&("context"===e&&t!==n&&this.updateContext(JSON.parse(n)),"auth-data"===e&&rn.updateAuthData(this.iframeHandle,JSON.parse(n)))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}})),F(),En[r]="src/LuigiCompoundContainer.svelte";var mn=St(It('<main class="svelte-7j5yk6"></main>'),En[r],[[212,0]]);const gn={hash:"svelte-7j5yk6",code:"\n main.svelte-7j5yk6 {\n width: 100%;\n height: 100%;\n border: none;\n }\n"};function En(e,t){Pt(new.target),vt(t,!0),function(e,t){Ne((()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const e=document.createElement("style");e.id=t.hash,e.textContent=t.code,r.appendChild(e)}}))}(e,gn),Kt(t,["context","deferInit"],[],En);let n,r,i=Vt(t,"activeFeatureToggleList",7),o=Vt(t,"anchor",7),s=Vt(t,"clientPermissions",7),a=Vt(t,"compoundConfig",7),l=Vt(t,"context",15),u=Vt(t,"deferInit",15),c=Vt(t,"dirtyStatus",7),d=Vt(t,"documentTitle",7),h=Vt(t,"hasBack",7),f=Vt(t,"locale",7),p=Vt(t,"noShadow",7),m=Vt(t,"nodeParams",7),g=Vt(t,"pathParams",7),E=Vt(t,"searchParams",7),_=Vt(t,"skipInitCheck",7),v=Vt(t,"theme",7),T=Vt(t,"userSettings",7),S=Vt(t,"viewurl",7),C=Vt(t,"webcomponent",7),w=L(!1);const R=new tn,b=new dn,A=e=>{if(!a()||mt(w))return;e.updateContext=(t,r)=>{const i=e.getNoShadow()?e:n;i._luigi_mfe_webcomponent.context=t,l(JSON.stringify(t));const o=i._luigi_mfe_webcomponent;if(o){const e=o.querySelectorAll("[lui_web_component]");e?.forEach((e=>{const n=e.context||{};e.context=Object.assign(n,t)}))}};const t=en.resolveContext(l());u(!1);const i={compound:a(),viewUrl:S(),webcomponent:en.checkWebcomponentValue(C())||!0};if(e.getNoShadow())e.innerHTML="";else{n.innerHTML="";e.attachShadow({mode:"open"}).append(n)}b.renderWebComponentCompound(i,e.getNoShadow()?e:n,t).then((t=>{r=t,_()||!i.viewUrl?(e.initialized=!0,setTimeout((()=>{b.dispatchLuigiEvent(Yt.INITIALIZED,{})}))):r.LuigiClient&&!r.deferLuigiClientWCInit&&(e.initialized=!0,b.dispatchLuigiEvent(Yt.INITIALIZED,{}))})),P(w,!0),e.containerInitialized=!0};Gt((async()=>{const e=Y(n.getRootNode(),document)?n.parentNode:n.getRootNode().host;e.init=()=>{A(e)},u()||A(e),R.registerContainer(e),b.thisComponent=e}));var y=mn();return Wt(y,(e=>n=e),(()=>n)),Ot(e,y),Tt({get activeFeatureToggleList(){return i()},set activeFeatureToggleList(e){i(e),pt()},get anchor(){return o()},set anchor(e){o(e),pt()},get clientPermissions(){return s()},set clientPermissions(e){s(e),pt()},get compoundConfig(){return a()},set compoundConfig(e){a(e),pt()},get context(){return l()},set context(e){l(e),pt()},get deferInit(){return u()},set deferInit(e){u(e),pt()},get dirtyStatus(){return c()},set dirtyStatus(e){c(e),pt()},get documentTitle(){return d()},set documentTitle(e){d(e),pt()},get hasBack(){return h()},set hasBack(e){h(e),pt()},get locale(){return f()},set locale(e){f(e),pt()},get noShadow(){return p()},set noShadow(e){p(e),pt()},get nodeParams(){return m()},set nodeParams(e){m(e),pt()},get pathParams(){return g()},set pathParams(e){g(e),pt()},get searchParams(){return E()},set searchParams(e){E(e),pt()},get skipInitCheck(){return _()},set skipInitCheck(e){_(e),pt()},get theme(){return v()},set theme(e){v(e),pt()},get userSettings(){return T()},set userSettings(e){T(e),pt()},get viewurl(){return S()},set viewurl(e){S(e),pt()},get webcomponent(){return C()},set webcomponent(e){C(e),pt()},...xt()})}X(En),zt(En,{activeFeatureToggleList:{attribute:"active-feature-toggle-list",type:"Array"},anchor:{attribute:"anchor",type:"String"},clientPermissions:{attribute:"client-permissions",type:"Object"},compoundConfig:{attribute:"compound-config",type:"Object"},context:{attribute:"context",reflect:!0,type:"String"},deferInit:{attribute:"defer-init",type:"Boolean"},dirtyStatus:{attribute:"dirty-status",type:"Boolean"},documentTitle:{attribute:"document-title",type:"String"},hasBack:{attribute:"has-back",type:"Boolean"},locale:{attribute:"locale",type:"String"},noShadow:{attribute:"no-shadow",type:"Boolean"},nodeParams:{attribute:"node-params",type:"Object"},pathParams:{attribute:"path-params",type:"Object"},searchParams:{attribute:"search-params",type:"Object"},skipInitCheck:{attribute:"skip-init-check",type:"Boolean"},theme:{attribute:"theme",type:"String"},userSettings:{attribute:"user-settings",type:"Object"},viewurl:{attribute:"viewurl",type:"String"},webcomponent:{attribute:"webcomponent",type:"String"}},[],[],!1,(e=>class extends e{updateContext=(e=>()=>console.warn(e+" can't be called on luigi-container before its micro frontend is attached to the DOM."))("updateContext");attributeChangedCallback(e,t,n){this.containerInitialized&&"context"===e&&t!==n&&this.updateContext(JSON.parse(n))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}));var _n=Yt;customElements.get("luigi-container")||customElements.define("luigi-container",pn.element),customElements.get("luigi-compound-container")||customElements.define("luigi-compound-container",En.element);export{En as LuigiCompoundContainer,pn as LuigiContainer,_n as default};
function t(){}function e(t){return t()}function n(){return Object.create(null)}function i(t){t.forEach(e)}function s(t){return"function"==typeof t}function o(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}let r,a;function c(t,e){return t===e||(r||(r=document.createElement("a")),r.href=e,t===r.href)}function u(t,e,n){const i=function(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;if(e&&e.host)return e;return t.ownerDocument}(t);if(!i.getElementById(e)){const t=d("style");t.id=e,t.textContent=n,function(t,e){(function(t,e){t.appendChild(e)})(t.head||t,e),e.sheet}(i,t)}}function l(t,e,n){t.insertBefore(e,n||null)}function h(t){t.parentNode&&t.parentNode.removeChild(t)}function d(t){return document.createElement(t)}function m(t){return document.createTextNode(t)}function p(t,e,n){null==n?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function E(t){a=t}function g(){if(!a)throw new Error("Function called outside component initialization");return a}function _(t){g().$$.on_mount.push(t)}const $=[],T=[];let f=[];const S=[],C=Promise.resolve();let R=!1;function w(t){f.push(t)}const b=new Set;let A=0;function I(){if(0!==A)return;const t=a;do{try{for(;A<$.length;){const t=$[A];A++,E(t),O(t.$$)}}catch(t){throw $.length=0,A=0,t}for(E(null),$.length=0,A=0;T.length;)T.pop()();for(let t=0;t<f.length;t+=1){const e=f[t];b.has(e)||(b.add(e),e())}f.length=0}while($.length);for(;S.length;)S.pop()();R=!1,b.clear(),E(t)}function O(t){if(null!==t.fragment){t.update(),i(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(w)}}const U=new Set;function N(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];f.forEach((i=>-1===t.indexOf(i)?e.push(i):n.push(i))),n.forEach((t=>t())),f=e}(n.after_update),i(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function v(t,e){-1===t.$$.dirty[0]&&($.push(t),R||(R=!0,C.then(I)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function y(o,r,c,u,l,d,m=null,p=[-1]){const g=a;E(o);const _=o.$$={fragment:null,ctx:[],props:d,update:t,not_equal:l,bound:n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(r.context||(g?g.$$.context:[])),callbacks:n(),dirty:p,skip_bound:!1,root:r.target||g.$$.root};m&&m(_.root);let $=!1;if(_.ctx=c?c(o,r.props||{},((t,e,...n)=>{const i=n.length?n[0]:e;return _.ctx&&l(_.ctx[t],_.ctx[t]=i)&&(!_.skip_bound&&_.bound[t]&&_.bound[t](i),$&&v(o,t)),e})):[],_.update(),$=!0,i(_.before_update),_.fragment=!!u&&u(_.ctx),r.target){if(r.hydrate){const t=function(t){return Array.from(t.childNodes)}(r.target);_.fragment&&_.fragment.l(t),t.forEach(h)}else _.fragment&&_.fragment.c();r.intro&&((T=o.$$.fragment)&&T.i&&(U.delete(T),T.i(f))),function(t,n,o){const{fragment:r,after_update:a}=t.$$;r&&r.m(n,o),w((()=>{const n=t.$$.on_mount.map(e).filter(s);t.$$.on_destroy?t.$$.on_destroy.push(...n):i(n),t.$$.on_mount=[]})),a.forEach(w)}(o,r.target,r.anchor),I()}var T,f;E(g)}let L;function x(t,e,n,i){const s=n[t]?.type;if(e="Boolean"===s&&"boolean"!=typeof e?null!=e:e,!i||!n[t])return e;if("toAttribute"===i)switch(s){case"Object":case"Array":return null==e?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return null==e?null:e;default:return e}else switch(s){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":default:return e;case"Number":return null!=e?+e:e}}function k(t,e,n,i,s,o){let r=class extends L{constructor(){super(t,n,s),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map((t=>(e[t].attribute||t).toLowerCase()))}};return Object.keys(e).forEach((t=>{Object.defineProperty(r.prototype,t,{get(){return this.$$c&&t in this.$$c?this.$$c[t]:this.$$d[t]},set(n){n=x(t,n,e),this.$$d[t]=n,this.$$c?.$set({[t]:n})}})})),i.forEach((t=>{Object.defineProperty(r.prototype,t,{get(){return this.$$c?.[t]}})})),o&&(r=o(r)),t.element=r,r}"function"==typeof HTMLElement&&(L=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(t,e,n){super(),this.$$ctor=t,this.$$s=e,n&&this.attachShadow({mode:"open"})}addEventListener(t,e,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(e),this.$$c){const n=this.$$c.$on(t,e);this.$$l_u.set(e,n)}super.addEventListener(t,e,n)}removeEventListener(t,e,n){if(super.removeEventListener(t,e,n),this.$$c){const t=this.$$l_u.get(e);t&&(t(),this.$$l_u.delete(e))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){if(await Promise.resolve(),!this.$$cn||this.$$c)return;function t(t){return()=>{let e;return{c:function(){e=d("slot"),"default"!==t&&p(e,"name",t)},m:function(t,n){l(t,e,n)},d:function(t){t&&h(e)}}}}const e={},n=function(t){const e={};return t.childNodes.forEach((t=>{e[t.slot||"default"]=!0})),e}(this);for(const s of this.$$s)s in n&&(e[s]=[t(s)]);for(const o of this.attributes){const r=this.$$g_p(o.name);r in this.$$d||(this.$$d[r]=x(r,o.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)a in this.$$d||void 0===this[a]||(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:e,$$scope:{ctx:[]}}});const i=()=>{this.$$r=!0;for(const t in this.$$p_d)if(this.$$d[t]=this.$$c.$$.ctx[this.$$c.$$.props[t]],this.$$p_d[t].reflect){const e=x(t,this.$$d[t],this.$$p_d,"toAttribute");null==e?this.removeAttribute(this.$$p_d[t].attribute||t):this.setAttribute(this.$$p_d[t].attribute||t,e)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const c in this.$$l)for(const u of this.$$l[c]){const m=this.$$c.$on(c,u);this.$$l_u.set(u,m)}this.$$l={}}}attributeChangedCallback(t,e,n){this.$$r||(t=this.$$g_p(t),this.$$d[t]=x(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(t){return Object.keys(this.$$p_d).find((e=>this.$$p_d[e].attribute===t||!this.$$p_d[e].attribute&&e.toLowerCase()===t))||t}});class P{$$=void 0;$$set=void 0;$destroy(){N(this,1),this.$destroy=t}$on(e,n){if(!s(n))return t;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const t=i.indexOf(n);-1!==t&&i.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}var D,Q;"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4"),function(t){t.CUSTOM_MESSAGE="custom",t.GET_CONTEXT="luigi.get-context",t.SEND_CONTEXT_HANDSHAKE="luigi.init",t.CONTEXT_RECEIVED="luigi.init.ok",t.NAVIGATION_REQUEST="luigi.navigation.open",t.ALERT_REQUEST="luigi.ux.alert.show",t.ALERT_CLOSED="luigi.ux.alert.hide",t.INITIALIZED="luigi.init.ok",t.ADD_SEARCH_PARAMS_REQUEST="luigi.addSearchParams",t.ADD_NODE_PARAMS_REQUEST="luigi.addNodeParams",t.SHOW_CONFIRMATION_MODAL_REQUEST="luigi.ux.confirmationModal.show",t.SHOW_LOADING_INDICATOR_REQUEST="luigi.show-loading-indicator",t.HIDE_LOADING_INDICATOR_REQUEST="luigi.hide-loading-indicator",t.SET_CURRENT_LOCALE_REQUEST="luigi.ux.set-current-locale",t.LOCAL_STORAGE_SET_REQUEST="storage",t.RUNTIME_ERROR_HANDLING_REQUEST="luigi-runtime-error-handling",t.SET_ANCHOR_LINK_REQUEST="luigi.setAnchor",t.SET_THIRD_PARTY_COOKIES_REQUEST="luigi.third-party-cookie",t.BACK_NAVIGATION_REQUEST="luigi.navigation.back",t.GET_CURRENT_ROUTE_REQUEST="luigi.navigation.currentRoute",t.SEND_CONTEXT_OBJECT="luigi.navigate",t.NAVIGATION_COMPLETED_REPORT="luigi.navigate.ok",t.UPDATE_MODAL_PATH_DATA_REQUEST="luigi.navigation.updateModalDataPath",t.CHECK_PATH_EXISTS_REQUEST="luigi.navigation.pathExists",t.SET_DIRTY_STATUS_REQUEST="luigi.set-page-dirty",t.AUTH_SET_TOKEN="luigi.auth.tokenIssued"}(D||(D={})),function(t){t.CUSTOM_MESSAGE="custom-message",t.GET_CONTEXT_REQUEST="get-context-request",t.NAVIGATION_REQUEST="navigation-request",t.ALERT_REQUEST="show-alert-request",t.ALERT_CLOSED="close-alert-request",t.INITIALIZED="initialized",t.ADD_SEARCH_PARAMS_REQUEST="add-search-params-request",t.ADD_NODE_PARAMS_REQUEST="add-node-params-request",t.SHOW_CONFIRMATION_MODAL_REQUEST="show-confirmation-modal-request",t.SHOW_LOADING_INDICATOR_REQUEST="show-loading-indicator-request",t.HIDE_LOADING_INDICATOR_REQUEST="hide-loading-indicator-request",t.SET_CURRENT_LOCALE_REQUEST="set-current-locale-request",t.LOCAL_STORAGE_SET_REQUEST="set-storage-request",t.RUNTIME_ERROR_HANDLING_REQUEST="runtime-error-handling-request",t.SET_ANCHOR_LINK_REQUEST="set-anchor-request",t.SET_THIRD_PARTY_COOKIES_REQUEST="set-third-party-cookies-request",t.BACK_NAVIGATION_REQUEST="navigate-back-request",t.GET_CURRENT_ROUTE_REQUEST="get-current-route-request",t.NAVIGATION_COMPLETED_REPORT="report-navigation-completed-request",t.UPDATE_MODAL_PATH_DATA_REQUEST="update-modal-path-data-request",t.CHECK_PATH_EXISTS_REQUEST="check-path-exists-request",t.SET_DIRTY_STATUS_REQUEST="set-dirty-status-request",t.SET_VIEW_GROUP_DATA_REQUEST="set-viewgroup-data-request",t.SET_DOCUMENT_TITLE_REQUEST="set-document-title-request",t.OPEN_USER_SETTINGS_REQUEST="open-user-settings-request",t.CLOSE_USER_SETTINGS_REQUEST="close-user-settings-request",t.COLLAPSE_LEFT_NAV_REQUEST="collapse-leftnav-request",t.UPDATE_TOP_NAVIGATION_REQUEST="update-top-navigation-request",t.PATH_EXISTS_REQUEST="path-exists-request",t.GO_BACK_REQUEST="go-back-request",t.HAS_BACK_REQUEST="has-back-request",t.REMOVE_BACKDROP_REQUEST="remove-backdrop-request"}(Q||(Q={}));const M=new class{isFunction(t){return t&&"[object Function]"==={}.toString.call(t)}isObject(t){return!(!t||"object"!=typeof t||Array.isArray(t))}checkWebcomponentValue(t){return"string"==typeof t?JSON.parse(t):"boolean"==typeof t||"object"==typeof t?t:void console.warn("Webcomponent value has a wrong type.")}resolveContext(t){return t?"string"==typeof t?JSON.parse(t):t:{}}};class H{isVisible(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}sendCustomMessageToIframe(t,e,n){const i=n||"custom";if(t.iframe.contentWindow){const n=new URL(t.iframe.src);"custom"===i?t.iframe.contentWindow.postMessage({msg:i,data:e},n.origin):t.iframe.contentWindow.postMessage({msg:i,...e},n.origin)}else console.error("Message target could not be resolved")}dispatch(t,e,n,i,s){const o=new CustomEvent(t,{detail:n});i&&M.isFunction(i)&&s&&(o[s]=t=>{i(t)}),e.dispatchEvent(o)}getTargetContainer(t){let e;return globalThis.__luigi_container_manager.container.forEach((n=>{n.iframeHandle?.iframe&&n.iframeHandle.iframe.contentWindow===t.source&&(e=n)})),e}getContainerManager(){return globalThis.__luigi_container_manager||(globalThis.__luigi_container_manager={container:[],messageListener:t=>{const e=this.getTargetContainer(t),n=e?.iframeHandle?.iframe?.contentWindow;if(n&&n===t.source){switch(t.data.msg){case D.CUSTOM_MESSAGE:{const n=t.data.data,i=n.id;delete n.id,this.dispatch(Q.CUSTOM_MESSAGE,e,{id:i,_metaData:{},data:n})}break;case D.GET_CONTEXT:n.postMessage({msg:D.SEND_CONTEXT_HANDSHAKE,context:e.context||{},internal:{thirdPartyCookieCheck:{disabled:"true"===e.skipCookieCheck}},authData:e.authData||{}},t.origin);break;case D.NAVIGATION_REQUEST:this.dispatch(Q.NAVIGATION_REQUEST,e,t.data.params);break;case D.ALERT_REQUEST:this.dispatch(Q.ALERT_REQUEST,e,t);break;case D.INITIALIZED:this.dispatch(Q.INITIALIZED,e,t.data.params);break;case D.ADD_SEARCH_PARAMS_REQUEST:this.dispatch(Q.ADD_SEARCH_PARAMS_REQUEST,e,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case D.ADD_NODE_PARAMS_REQUEST:this.dispatch(Q.ADD_NODE_PARAMS_REQUEST,e,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case D.SHOW_CONFIRMATION_MODAL_REQUEST:this.dispatch(Q.SHOW_CONFIRMATION_MODAL_REQUEST,e,t.data.data);break;case D.SHOW_LOADING_INDICATOR_REQUEST:this.dispatch(Q.SHOW_LOADING_INDICATOR_REQUEST,e,t);break;case D.HIDE_LOADING_INDICATOR_REQUEST:this.dispatch(Q.HIDE_LOADING_INDICATOR_REQUEST,e,t);break;case D.SET_CURRENT_LOCALE_REQUEST:this.dispatch(Q.SET_CURRENT_LOCALE_REQUEST,e,t);break;case D.LOCAL_STORAGE_SET_REQUEST:this.dispatch(Q.LOCAL_STORAGE_SET_REQUEST,e,t);break;case D.RUNTIME_ERROR_HANDLING_REQUEST:this.dispatch(Q.RUNTIME_ERROR_HANDLING_REQUEST,e,t);break;case D.SET_ANCHOR_LINK_REQUEST:this.dispatch(Q.SET_ANCHOR_LINK_REQUEST,e,t);break;case D.SET_THIRD_PARTY_COOKIES_REQUEST:this.dispatch(Q.SET_THIRD_PARTY_COOKIES_REQUEST,e,t);break;case D.BACK_NAVIGATION_REQUEST:this.dispatch(Q.BACK_NAVIGATION_REQUEST,e,t);break;case D.GET_CURRENT_ROUTE_REQUEST:this.dispatch(Q.GET_CURRENT_ROUTE_REQUEST,e,t);break;case D.NAVIGATION_COMPLETED_REPORT:this.dispatch(Q.NAVIGATION_COMPLETED_REPORT,e,t);break;case D.UPDATE_MODAL_PATH_DATA_REQUEST:this.dispatch(Q.UPDATE_MODAL_PATH_DATA_REQUEST,e,t);break;case D.CHECK_PATH_EXISTS_REQUEST:this.dispatch(Q.CHECK_PATH_EXISTS_REQUEST,e,t);break;case D.SET_DIRTY_STATUS_REQUEST:this.dispatch(Q.SET_DIRTY_STATUS_REQUEST,e,t)}}}},window.addEventListener("message",globalThis.__luigi_container_manager.messageListener)),globalThis.__luigi_container_manager}registerContainer(t){this.getContainerManager().container.push(t)}}const W=new H;const G=new class{constructor(){this.updateContext=(t,e,n)=>{if(n){const i=e||{};W.sendCustomMessageToIframe(n,{context:t,internal:i,withoutSync:!0},D.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update context on inexisting iframe")},this.updateViewUrl=(t,e,n,i)=>{if(i){const s=n||{};W.sendCustomMessageToIframe(i,{context:e,internal:s,withoutSync:!1,viewUrl:t},D.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update route on inexisting iframe")},this.updateAuthData=(t,e)=>{t&&e?W.sendCustomMessageToIframe(t,{authData:e},D.AUTH_SET_TOKEN):console.warn("Attempting to update auth data on inexisting iframe or authData")},this.sendCustomMessage=(t,e,n,i,s)=>{if(n&&e._luigi_mfe_webcomponent)W.dispatch(t,e._luigi_mfe_webcomponent,s);else{const e={...s};e.id&&console.warn('Property "id" is reserved and can not be used in custom message data'),e.id=t,W.sendCustomMessageToIframe(i,e)}}}closeAlert(t,e,n){W.sendCustomMessageToIframe(n,{id:t,dismissKey:e},D.ALERT_CLOSED)}},B=t=>{if(!t)return;const e=t;return e.forEach(((n,i)=>{e[i]=n+(-1!=n.indexOf(";")?"":";"),e[i]=t[i].replaceAll('"',"'")})),e.join(" ")};class j{constructor(t){t?(this.rendererObject=t,this.config=t.config||{}):this.config={}}createCompoundContainer(){return document.createElement("div")}createCompoundItemContainer(t){return document.createElement("div")}attachCompoundItem(t,e){t.appendChild(e)}}class V extends j{constructor(t){super(t||{use:{}}),t&&t.use&&t.use.extends&&(this.superRenderer=q({use:t.use.extends,config:t.config}))}createCompoundContainer(){return this.rendererObject.use.createCompoundContainer?this.rendererObject.use.createCompoundContainer(this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundContainer():super.createCompoundContainer()}createCompoundItemContainer(t){return this.rendererObject.use.createCompoundItemContainer?this.rendererObject.use.createCompoundItemContainer(t,this.config,this.superRenderer):this.superRenderer?this.superRenderer.createCompoundItemContainer(t):super.createCompoundItemContainer(t)}attachCompoundItem(t,e){this.rendererObject.use.attachCompoundItem?this.rendererObject.use.attachCompoundItem(t,e,this.superRenderer):this.superRenderer?this.superRenderer.attachCompoundItem(t,e):super.attachCompoundItem(t,e)}}class F extends j{createCompoundContainer(){const t="__lui_compound_"+(new Date).getTime(),e=document.createElement("div");e.classList.add(t);let n="";return this.config.layouts&&this.config.layouts.forEach((e=>{if(e.minWidth||e.maxWidth){let i="@media only screen ";null!=e.minWidth&&(i+=`and (min-width: ${e.minWidth}px) `),null!=e.maxWidth&&(i+=`and (max-width: ${e.maxWidth}px) `),i+=`{\n .${t} {\n grid-template-columns: ${e.columns||"auto"};\n grid-template-rows: ${e.rows||"auto"};\n grid-gap: ${e.gap||"0"};\n }\n }\n `,n+=i}})),e.innerHTML=`\n <style scoped>\n .${t} {\n display: grid;\n grid-template-columns: ${this.config.columns||"auto"};\n grid-template-rows: ${this.config.rows||"auto"};\n grid-gap: ${this.config.gap||"0"};\n min-height: ${this.config.minHeight||"auto"};\n }\n ${n}\n </style>\n `,e}createCompoundItemContainer(t){const e=t||{},n=document.createElement("div");return n.setAttribute("style",`grid-row: ${e.row||"auto"}; grid-column: ${e.column||"auto"}`),n.classList.add("lui-compoundItemCnt"),n}}const q=t=>{const e=t.use;return e?"grid"===e?new F(t):e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem?new V(t):new j(t):new j(t)},K=(t,e,n,i)=>{e?.eventListeners&&e.eventListeners.forEach((e=>{const s=e.source+"."+e.name,o=t[s],r={wcElementId:n,wcElement:i,action:e.action,converter:e.dataConverter};o?o.push(r):t[s]=[r]}))};function X(t){return String(t).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/")}class z{constructor(){this.containerService=new H}dynamicImport(t){return Object.freeze(import(/* webpackIgnore: true */t))}processViewUrl(t,e){return t}attachWC(t,e,n,i,s,o,r){if(n&&n.contains(e)){const a=document.createElement(t);o&&a.setAttribute("nodeId",o),a.setAttribute("lui_web_component","true"),this.initWC(a,t,n,s,i,o,r),n.replaceChild(a,e),n._luigi_node&&(n._luigi_mfe_webcomponent=a),n.dispatchEvent(new Event("wc_ready"))}}dispatchLuigiEvent(t,e,n){this.containerService.dispatch(t,this.thisComponent,e,n)}createClientAPI(t,e,n,i,s){return{linkManager:()=>{let t=null,e=!1,n=!1,i=!1,s={};const o={navigate:(o,r={})=>{const a={fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:n,fromParent:i,nodeParams:s,...r};this.dispatchLuigiEvent(Q.NAVIGATION_REQUEST,{link:o,...a})},navigateToIntent:(t,e={})=>{let n="#?intent=";if(n+=t,e&&Object.keys(e)?.length){const t=Object.entries(e);if(t.length>0){n+="?";for(const[e,i]of t)n+=e+"="+i+"&";n=n.slice(0,-1)}}o.navigate(n)},fromClosestContext:()=>(e=!0,o),fromContext:e=>(t=e,o),fromVirtualTreeRoot:()=>(n=!0,o),fromParent:()=>(i=!0,o),getCurrentRoute:()=>{const o={fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:n,fromParent:i,nodeParams:s};return new Promise(((t,e)=>{this.containerService.dispatch(Q.GET_CURRENT_ROUTE_REQUEST,this.thisComponent,{...o},(n=>{n?t(n):e("No current route received.")}),"callback")}))},withParams:t=>(s=t,o),updateTopNavigation:()=>{this.dispatchLuigiEvent(Q.UPDATE_TOP_NAVIGATION_REQUEST,{})},pathExists:()=>new Promise(((t,e)=>{this.containerService.dispatch(Q.PATH_EXISTS_REQUEST,this.thisComponent,{},(n=>{n?t(!0):e(!1)}),"callback")})),openAsDrawer:(t,e={})=>{o.navigate(t,{drawer:e})},openAsModal:(t,e={})=>{o.navigate(t,{modal:e})},openAsSplitView:(t,e={})=>{o.navigate(t,{splitView:e})},goBack:t=>{this.dispatchLuigiEvent(Q.GO_BACK_REQUEST,t)},hasBack:()=>!1};return o},uxManager:()=>({showAlert:t=>{this.dispatchLuigiEvent(Q.ALERT_REQUEST,t)},showConfirmationModal:t=>new Promise(((e,n)=>{this.containerService.dispatch(Q.SHOW_CONFIRMATION_MODAL_REQUEST,this.thisComponent,t,(t=>{t?e(t):n(new Error("No data"))}),"callback")})),getCurrentTheme:()=>this.thisComponent.theme,closeUserSettings:()=>{this.dispatchLuigiEvent(Q.CLOSE_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},openUserSettings:()=>{this.dispatchLuigiEvent(Q.OPEN_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},collapseLeftSideNav:()=>{this.dispatchLuigiEvent(Q.COLLAPSE_LEFT_NAV_REQUEST,{})},getDirtyStatus:()=>this.thisComponent.dirtyStatus||!1,getDocumentTitle:()=>this.thisComponent.documentTitle,setDocumentTitle:t=>{this.dispatchLuigiEvent(Q.SET_DOCUMENT_TITLE_REQUEST,t)},removeBackdrop:()=>{this.dispatchLuigiEvent(Q.REMOVE_BACKDROP_REQUEST,{})},hideAppLoadingIndicator:()=>{this.dispatchLuigiEvent(Q.HIDE_LOADING_INDICATOR_REQUEST,{})}}),getCurrentLocale:()=>this.thisComponent.locale,getActiveFeatureToggles:()=>this.thisComponent.activeFeatureToggleList||[],publishEvent:s=>{t&&t.eventBus&&t.eventBus.onPublishEvent(s,e,n);const o={id:s.type,_metaData:{nodeId:e,wc_id:n,src:i},data:s.detail};this.dispatchLuigiEvent(Q.CUSTOM_MESSAGE,o)},luigiClientInit:()=>{this.dispatchLuigiEvent(Q.INITIALIZED,{})},addNodeParams:(t,e)=>{s||this.dispatchLuigiEvent(Q.ADD_NODE_PARAMS_REQUEST,{params:t,keepBrowserHistory:e})},getNodeParams:t=>{return s?{}:t?(e=this.thisComponent.nodeParams,Object.entries(e).reduce(((t,e)=>(t[X(e[0])]=X(e[1]),t)),{})):this.thisComponent.nodeParams||{};var e},setAnchor:t=>{s||this.dispatchLuigiEvent(Q.SET_ANCHOR_LINK_REQUEST,t)},getAnchor:()=>this.thisComponent.anchor||"",getCoreSearchParams:()=>this.thisComponent.searchParams||{},getPathParams:()=>this.thisComponent.pathParams||{},getClientPermissions:()=>this.thisComponent.clientPermissions||{},getUserSettings:()=>this.thisComponent.userSettings||{},setViewGroupData:t=>{this.dispatchLuigiEvent(Q.SET_VIEW_GROUP_DATA_REQUEST,t)}}}initWC(t,e,n,i,s,o,r){const a=this.createClientAPI(n,o,e,t,r);if(t.__postProcess){const e=new URL(document.baseURI).origin===new URL(i,document.baseURI).origin?new URL("./",new URL(i,document.baseURI)):new URL("./",i);t.__postProcess(s,a,e.origin+e.pathname)}else t.context=s,t.LuigiClient=a}generateWCId(t){let e="";const n=new URL(t,encodeURI(location.href)).href;for(let t=0;t<n.length;t++)e+=n.charCodeAt(t).toString(16);return"luigi-wc-"+e}registerWCFromUrl(t,e){const n=this.processViewUrl(t);return new Promise(((t,i)=>{if(this.checkWCUrl(n))this.dynamicImport(n).then((n=>{try{if(!window.customElements.get(e)){let t=n.default;if(!HTMLElement.isPrototypeOf(t)){const e=Object.keys(n);for(let i=0;i<e.length&&(t=n[e[i]],!HTMLElement.isPrototypeOf(t));i++);}window.customElements.define(e,t)}t(1)}catch(t){i(t)}})).catch((t=>{i(t)}));else{i(`Error: View URL '${n}' not allowed to be included`)}}))}includeSelfRegisteredWCFromUrl(t,e,n){if(this.checkWCUrl(e)){this.containerService.getContainerManager()._registerWebcomponent||(this.containerService.getContainerManager()._registerWebcomponent=(t,e)=>{window.customElements.define(this.generateWCId(t),e)}),window.Luigi||(window.Luigi={},window.Luigi._registerWebcomponent||(window.Luigi._registerWebcomponent=(t,e)=>{this.containerService.getContainerManager()._registerWebcomponent(t,e)}));const i=document.createElement("script");i.setAttribute("src",e),"module"===t.webcomponent.type&&i.setAttribute("type","module"),i.setAttribute("defer","true"),i.addEventListener("load",(()=>{n()})),document.body.appendChild(i)}else console.warn(`View URL '${e}' not allowed to be included`)}checkWCUrl(t){return!0}renderWebComponent(t,e,n,i,s,o){const r=this.processViewUrl(t,{context:n}),a=i?.webcomponent?.tagName||this.generateWCId(r),c=document.createElement("div");e.appendChild(c),e._luigi_node=i,window.customElements.get(a)?this.attachWC(a,c,e,n,r,s,o):window.luigiWCFn?window.luigiWCFn(r,a,c,(()=>{this.attachWC(a,c,e,n,r,s,o)})):i?.webcomponent?.selfRegistered?this.includeSelfRegisteredWCFromUrl(i,r,(()=>{this.attachWC(a,c,e,n,r,s,o)})):this.registerWCFromUrl(r,a).then((()=>{this.attachWC(a,c,e,n,r,s,o)})).catch((t=>{console.warn("ERROR =>",t),this.containerService.dispatch(Q.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}createCompoundContainerAsync(t,e,n){return new Promise(((i,s)=>{if(t.viewUrl)try{const s=n?.webcomponent?.tagName||this.generateWCId(t.viewUrl);n?.webcomponent?.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,t.viewUrl,(()=>{const n=document.createElement(s);n.setAttribute("lui_web_component","true"),this.initWC(n,s,n,t.viewUrl,e,"_root"),i(n)})):this.registerWCFromUrl(t.viewUrl,s).then((()=>{const n=document.createElement(s);n.setAttribute("lui_web_component","true"),this.initWC(n,s,n,t.viewUrl,e,"_root"),i(n)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(Q.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}catch(t){s(t)}else i(t.createCompoundContainer())}))}renderWebComponentCompound(t,e,n){let i;return t.webcomponent&&t.viewUrl?(i=new j,i.viewUrl=this.processViewUrl(t.viewUrl,{context:n}),i.createCompoundItemContainer=t=>{const e=document.createElement("div");return t?.slot&&e.setAttribute("slot",t.slot),e}):t.compound?.renderer&&(i=q(t.compound.renderer)),i=i||new j,new Promise((s=>{this.createCompoundContainerAsync(i,n,t).then((o=>{e._luigi_mfe_webcomponent=o,e._luigi_node=t;const r={};o.eventBus={listeners:r,onPublishEvent:(t,e,n)=>{const i=r[e+"."+t.type]||[];i.push(...r["*."+t.type]||[]),i.forEach((e=>{const n=e.wcElement||o.querySelector("[nodeId="+e.wcElementId+"]");n?n.dispatchEvent(new CustomEvent(e.action,{detail:e.converter?e.converter(t.detail):t.detail})):console.debug("Could not find event target",e)}))}},t.compound?.children?.forEach(((t,e)=>{const s={...n,...t.context},a=i.createCompoundItemContainer(t.layoutConfig);a.eventBus=o.eventBus,i.attachCompoundItem(o,a);const c=t.id||"gen_"+e;this.renderWebComponent(t.viewUrl,a,s,t,c,!0),K(r,t,c)})),e.appendChild(o),K(r,t.compound,"_root",o),s(o)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(Q.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}))}}function J(t){let e,n=(!t[4]||"false"===t[4])&&Z(t);return{c(){n&&n.c(),e=m("")},m(t,i){n&&n.m(t,i),l(t,e,i)},p(t,i){t[4]&&"false"!==t[4]?n&&(n.d(1),n=null):n?n.p(t,i):(n=Z(t),n.c(),n.m(e.parentNode,e))},d(t){t&&h(e),n&&n.d(t)}}}function Z(t){let e,n,i,s,o,r;return{c(){e=d("style"),e.textContent="main.lui-isolated,\n .lui-isolated iframe {\n width: 100%;\n height: 100%;\n border: none;\n }\n\n main.lui-isolated {\n line-height: 0;\n }",n=m(" "),i=d("iframe"),c(i.src,s=t[3])||p(i,"src",s),p(i,"title",t[1]),p(i,"allow",o=B(t[0])),p(i,"sandbox",r=t[2]?t[2].join(" "):void 0)},m(s,o){l(s,e,o),l(s,n,o),l(s,i,o),t[27](i)},p(t,e){8&e&&!c(i.src,s=t[3])&&p(i,"src",s),2&e&&p(i,"title",t[1]),1&e&&o!==(o=B(t[0]))&&p(i,"allow",o),4&e&&r!==(r=t[2]?t[2].join(" "):void 0)&&p(i,"sandbox",r)},d(s){s&&(h(e),h(n),h(i)),t[27](null)}}}function Y(e){let n,i,s=e[7]&&J(e);return{c(){n=d("main"),s&&s.c(),p(n,"class",i=e[4]?void 0:"lui-isolated")},m(t,i){l(t,n,i),s&&s.m(n,null),e[28](n)},p(t,[e]){t[7]?s?s.p(t,e):(s=J(t),s.c(),s.m(n,null)):s&&(s.d(1),s=null),16&e&&i!==(i=t[4]?void 0:"lui-isolated")&&p(n,"class",i)},i:t,o:t,d(t){t&&h(n),s&&s.d(),e[28](null)}}}function tt(t,e,n){let{activeFeatureToggleList:i}=e,{allowRules:s}=e,{anchor:o}=e,{authData:r}=e,{clientPermissions:a}=e,{context:c}=e,{deferInit:u}=e,{dirtyStatus:l}=e,{documentTitle:h}=e,{hasBack:d}=e,{label:m}=e,{locale:p}=e,{noShadow:E}=e,{nodeParams:$}=e,{pathParams:f}=e,{sandboxRules:S}=e,{searchParams:C}=e,{skipCookieCheck:R}=e,{skipInitCheck:w}=e,{theme:b}=e,{userSettings:A}=e,{viewurl:I}=e,{webcomponent:O}=e;const U={};let N,v=!1;const y=new z,L=t=>{if(!v){t.sendCustomMessage=(e,n)=>{G.sendCustomMessage(e,t.getNoShadow()?t:N,!!O,U,n)},t.updateContext=(e,i)=>{n(8,c=e),O?(t.getNoShadow()?t:N)._luigi_mfe_webcomponent.context=e:G.updateContext(e,i,U)},t.closeAlert=(t,e)=>{G.closeAlert(t,e,U)},W.registerContainer(t),y.thisComponent=t;const e=M.resolveContext(c);if(t.updateViewUrl=(t,e)=>{t?.length&&G.updateViewUrl(t,M.resolveContext(c),e,U)},O&&"false"!=O){if(t.getNoShadow())t.innerHTML="";else{n(6,N.innerHTML="",N);t.attachShadow({mode:"open"}).append(N)}const i=M.checkWebcomponentValue(O);y.renderWebComponent(I,t.getNoShadow()?t:N,e,"object"==typeof i?{webcomponent:i}:{})}else if(!t.getNoShadow()){t.innerHTML="";t.attachShadow({mode:"open"}).append(N)}w?(t.initialized=!0,setTimeout((()=>{y.dispatchLuigiEvent(Q.INITIALIZED,{})}))):O&&(t.getNoShadow()?t:N).addEventListener("wc_ready",(()=>{(t.getNoShadow()?t:N)._luigi_mfe_webcomponent?.deferLuigiClientWCInit||(t.initialized=!0,y.dispatchLuigiEvent(Q.INITIALIZED,{}))})),n(7,v=!0),t.containerInitialized=!0}};var x;return _((async()=>{const t=N.parentNode;t.iframeHandle=U,t.init=()=>{L(t)},u||L(t)})),x=async()=>{},g().$$.on_destroy.push(x),t.$$set=t=>{"activeFeatureToggleList"in t&&n(9,i=t.activeFeatureToggleList),"allowRules"in t&&n(0,s=t.allowRules),"anchor"in t&&n(10,o=t.anchor),"authData"in t&&n(11,r=t.authData),"clientPermissions"in t&&n(12,a=t.clientPermissions),"context"in t&&n(8,c=t.context),"deferInit"in t&&n(13,u=t.deferInit),"dirtyStatus"in t&&n(14,l=t.dirtyStatus),"documentTitle"in t&&n(15,h=t.documentTitle),"hasBack"in t&&n(16,d=t.hasBack),"label"in t&&n(1,m=t.label),"locale"in t&&n(17,p=t.locale),"noShadow"in t&&n(18,E=t.noShadow),"nodeParams"in t&&n(19,$=t.nodeParams),"pathParams"in t&&n(20,f=t.pathParams),"sandboxRules"in t&&n(2,S=t.sandboxRules),"searchParams"in t&&n(21,C=t.searchParams),"skipCookieCheck"in t&&n(22,R=t.skipCookieCheck),"skipInitCheck"in t&&n(23,w=t.skipInitCheck),"theme"in t&&n(24,b=t.theme),"userSettings"in t&&n(25,A=t.userSettings),"viewurl"in t&&n(3,I=t.viewurl),"webcomponent"in t&&n(4,O=t.webcomponent)},[s,m,S,I,O,U,N,v,c,i,o,r,a,u,l,h,d,p,E,$,f,C,R,w,b,A,()=>i&&s&&o&&r&&a&&l&&h&&d&&p&&E&&$&&f&&S&&C&&R&&w&&b&&A,function(t){T[t?"unshift":"push"]((()=>{U.iframe=t,n(5,U)}))},function(t){T[t?"unshift":"push"]((()=>{N=t,n(6,N)}))}]}class et extends P{constructor(t){super(),y(this,t,tt,Y,o,{activeFeatureToggleList:9,allowRules:0,anchor:10,authData:11,clientPermissions:12,context:8,deferInit:13,dirtyStatus:14,documentTitle:15,hasBack:16,label:1,locale:17,noShadow:18,nodeParams:19,pathParams:20,sandboxRules:2,searchParams:21,skipCookieCheck:22,skipInitCheck:23,theme:24,userSettings:25,viewurl:3,webcomponent:4,unwarn:26})}get activeFeatureToggleList(){return this.$$.ctx[9]}set activeFeatureToggleList(t){this.$$set({activeFeatureToggleList:t}),I()}get allowRules(){return this.$$.ctx[0]}set allowRules(t){this.$$set({allowRules:t}),I()}get anchor(){return this.$$.ctx[10]}set anchor(t){this.$$set({anchor:t}),I()}get authData(){return this.$$.ctx[11]}set authData(t){this.$$set({authData:t}),I()}get clientPermissions(){return this.$$.ctx[12]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get context(){return this.$$.ctx[8]}set context(t){this.$$set({context:t}),I()}get deferInit(){return this.$$.ctx[13]}set deferInit(t){this.$$set({deferInit:t}),I()}get dirtyStatus(){return this.$$.ctx[14]}set dirtyStatus(t){this.$$set({dirtyStatus:t}),I()}get documentTitle(){return this.$$.ctx[15]}set documentTitle(t){this.$$set({documentTitle:t}),I()}get hasBack(){return this.$$.ctx[16]}set hasBack(t){this.$$set({hasBack:t}),I()}get label(){return this.$$.ctx[1]}set label(t){this.$$set({label:t}),I()}get locale(){return this.$$.ctx[17]}set locale(t){this.$$set({locale:t}),I()}get noShadow(){return this.$$.ctx[18]}set noShadow(t){this.$$set({noShadow:t}),I()}get nodeParams(){return this.$$.ctx[19]}set nodeParams(t){this.$$set({nodeParams:t}),I()}get pathParams(){return this.$$.ctx[20]}set pathParams(t){this.$$set({pathParams:t}),I()}get sandboxRules(){return this.$$.ctx[2]}set sandboxRules(t){this.$$set({sandboxRules:t}),I()}get searchParams(){return this.$$.ctx[21]}set searchParams(t){this.$$set({searchParams:t}),I()}get skipCookieCheck(){return this.$$.ctx[22]}set skipCookieCheck(t){this.$$set({skipCookieCheck:t}),I()}get skipInitCheck(){return this.$$.ctx[23]}set skipInitCheck(t){this.$$set({skipInitCheck:t}),I()}get theme(){return this.$$.ctx[24]}set theme(t){this.$$set({theme:t}),I()}get userSettings(){return this.$$.ctx[25]}set userSettings(t){this.$$set({userSettings:t}),I()}get viewurl(){return this.$$.ctx[3]}set viewurl(t){this.$$set({viewurl:t}),I()}get webcomponent(){return this.$$.ctx[4]}set webcomponent(t){this.$$set({webcomponent:t}),I()}get unwarn(){return this.$$.ctx[26]}}function nt(t){u(t,"svelte-1buc46y","main.svelte-1buc46y{width:100%;height:100%;border:none}")}function it(e){let n;return{c(){n=d("main"),p(n,"class","svelte-1buc46y")},m(t,i){l(t,n,i),e[21](n)},p:t,i:t,o:t,d(t){t&&h(n),e[21](null)}}}function st(t,e,n){let i,s,{activeFeatureToggleList:o}=e,{anchor:r}=e,{clientPermissions:a}=e,{compoundConfig:c}=e,{context:u}=e,{deferInit:l}=e,{dirtyStatus:h}=e,{documentTitle:d}=e,{hasBack:m}=e,{locale:p}=e,{noShadow:E}=e,{nodeParams:g}=e,{pathParams:$}=e,{searchParams:f}=e,{skipInitCheck:S}=e,{theme:C}=e,{userSettings:R}=e,{viewurl:w}=e,{webcomponent:b}=e,A=!1;const I=new H,O=new z,U=t=>{if(!c||A)return;t.updateContext=(e,s)=>{const o=t.getNoShadow()?t:i;o._luigi_mfe_webcomponent.context=e,n(1,u=e);const r=o._luigi_mfe_webcomponent;if(r){const t=r.querySelectorAll("[lui_web_component]");t?.forEach((t=>{const n=t.context||{};t.context=Object.assign(n,e)}))}};const e=M.resolveContext(u);n(2,l=!1);const o={compound:c,viewUrl:w,webcomponent:M.checkWebcomponentValue(b)||!0};if(t.getNoShadow())t.innerHTML="";else{n(0,i.innerHTML="",i);t.attachShadow({mode:"open"}).append(i)}O.renderWebComponentCompound(o,t.getNoShadow()?t:i,e).then((e=>{s=e,S||!o.viewUrl?(t.initialized=!0,setTimeout((()=>{O.dispatchLuigiEvent(Q.INITIALIZED,{})}))):s.LuigiClient&&!s.deferLuigiClientWCInit&&(t.initialized=!0,O.dispatchLuigiEvent(Q.INITIALIZED,{}))})),A=!0,t.containerInitialized=!0};return _((async()=>{const t=i.getRootNode()===document?i.parentNode:i.getRootNode().host;t.init=()=>{U(t)},l||U(t),I.registerContainer(t),O.thisComponent=t})),t.$$set=t=>{"activeFeatureToggleList"in t&&n(3,o=t.activeFeatureToggleList),"anchor"in t&&n(4,r=t.anchor),"clientPermissions"in t&&n(5,a=t.clientPermissions),"compoundConfig"in t&&n(6,c=t.compoundConfig),"context"in t&&n(1,u=t.context),"deferInit"in t&&n(2,l=t.deferInit),"dirtyStatus"in t&&n(7,h=t.dirtyStatus),"documentTitle"in t&&n(8,d=t.documentTitle),"hasBack"in t&&n(9,m=t.hasBack),"locale"in t&&n(10,p=t.locale),"noShadow"in t&&n(11,E=t.noShadow),"nodeParams"in t&&n(12,g=t.nodeParams),"pathParams"in t&&n(13,$=t.pathParams),"searchParams"in t&&n(14,f=t.searchParams),"skipInitCheck"in t&&n(15,S=t.skipInitCheck),"theme"in t&&n(16,C=t.theme),"userSettings"in t&&n(17,R=t.userSettings),"viewurl"in t&&n(18,w=t.viewurl),"webcomponent"in t&&n(19,b=t.webcomponent)},[i,u,l,o,r,a,c,h,d,m,p,E,g,$,f,S,C,R,w,b,()=>o&&r&&a&&h&&d&&m&&p&&E&&g&&$&&f&&S&&C&&R,function(t){T[t?"unshift":"push"]((()=>{i=t,n(0,i)}))}]}k(et,{activeFeatureToggleList:{type:"Array",reflect:!1,attribute:"active-feature-toggle-list"},allowRules:{type:"Array",reflect:!1,attribute:"allow-rules"},anchor:{type:"String",reflect:!1,attribute:"anchor"},authData:{type:"Object",reflect:!1,attribute:"auth-data"},clientPermissions:{type:"Object",reflect:!1,attribute:"client-permissions"},context:{type:"String",reflect:!1,attribute:"context"},deferInit:{type:"Boolean",attribute:"defer-init"},dirtyStatus:{type:"Boolean",reflect:!1,attribute:"dirty-status"},documentTitle:{type:"String",reflect:!1,attribute:"document-title"},hasBack:{type:"Boolean",reflect:!1,attribute:"has-back"},label:{type:"String",reflect:!1,attribute:"label"},locale:{type:"String",reflect:!1,attribute:"locale"},noShadow:{type:"Boolean",attribute:"no-shadow"},nodeParams:{type:"Object",reflect:!1,attribute:"node-params"},pathParams:{type:"Object",reflect:!1,attribute:"path-params"},sandboxRules:{type:"Array",reflect:!1,attribute:"sandbox-rules"},searchParams:{type:"Object",reflect:!1,attribute:"search-params"},skipCookieCheck:{type:"String",reflect:!1,attribute:"skip-cookie-check"},skipInitCheck:{type:"Boolean",reflect:!1,attribute:"skip-init-check"},theme:{type:"String",reflect:!1,attribute:"theme"},userSettings:{type:"Object",reflect:!1,attribute:"user-settings"},viewurl:{type:"String",reflect:!1,attribute:"viewurl"},webcomponent:{type:"String",reflect:!1,attribute:"webcomponent"}},[],["unwarn"],!1,(t=>{let e=t=>()=>console.warn(t+" can't be called on luigi-container before its micro frontend is attached to the DOM.");return class extends t{sendCustomMessage=e("sendCustomMessage");updateContext=e("updateContext");updateViewUrl=e("updateViewUrl");closeAlert=e("closeAlert");attributeChangedCallback(t,e,n){this.containerInitialized&&("context"===t&&this.updateContext(JSON.parse(n)),"auth-data"===t&&G.updateAuthData(this.iframeHandle,JSON.parse(n)))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}}));class ot extends P{constructor(t){super(),y(this,t,st,it,o,{activeFeatureToggleList:3,anchor:4,clientPermissions:5,compoundConfig:6,context:1,deferInit:2,dirtyStatus:7,documentTitle:8,hasBack:9,locale:10,noShadow:11,nodeParams:12,pathParams:13,searchParams:14,skipInitCheck:15,theme:16,userSettings:17,viewurl:18,webcomponent:19,unwarn:20},nt)}get activeFeatureToggleList(){return this.$$.ctx[3]}set activeFeatureToggleList(t){this.$$set({activeFeatureToggleList:t}),I()}get anchor(){return this.$$.ctx[4]}set anchor(t){this.$$set({anchor:t}),I()}get clientPermissions(){return this.$$.ctx[5]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get compoundConfig(){return this.$$.ctx[6]}set compoundConfig(t){this.$$set({compoundConfig:t}),I()}get context(){return this.$$.ctx[1]}set context(t){this.$$set({context:t}),I()}get deferInit(){return this.$$.ctx[2]}set deferInit(t){this.$$set({deferInit:t}),I()}get dirtyStatus(){return this.$$.ctx[7]}set dirtyStatus(t){this.$$set({dirtyStatus:t}),I()}get documentTitle(){return this.$$.ctx[8]}set documentTitle(t){this.$$set({documentTitle:t}),I()}get hasBack(){return this.$$.ctx[9]}set hasBack(t){this.$$set({hasBack:t}),I()}get locale(){return this.$$.ctx[10]}set locale(t){this.$$set({locale:t}),I()}get noShadow(){return this.$$.ctx[11]}set noShadow(t){this.$$set({noShadow:t}),I()}get nodeParams(){return this.$$.ctx[12]}set nodeParams(t){this.$$set({nodeParams:t}),I()}get pathParams(){return this.$$.ctx[13]}set pathParams(t){this.$$set({pathParams:t}),I()}get searchParams(){return this.$$.ctx[14]}set searchParams(t){this.$$set({searchParams:t}),I()}get skipInitCheck(){return this.$$.ctx[15]}set skipInitCheck(t){this.$$set({skipInitCheck:t}),I()}get theme(){return this.$$.ctx[16]}set theme(t){this.$$set({theme:t}),I()}get userSettings(){return this.$$.ctx[17]}set userSettings(t){this.$$set({userSettings:t}),I()}get viewurl(){return this.$$.ctx[18]}set viewurl(t){this.$$set({viewurl:t}),I()}get webcomponent(){return this.$$.ctx[19]}set webcomponent(t){this.$$set({webcomponent:t}),I()}get unwarn(){return this.$$.ctx[20]}}k(ot,{activeFeatureToggleList:{type:"Array",reflect:!1,attribute:"active-feature-toggle-list"},anchor:{type:"String",reflect:!1,attribute:"anchor"},clientPermissions:{type:"Object",reflect:!1,attribute:"client-permissions"},compoundConfig:{type:"Object",reflect:!1,attribute:"compound-config"},context:{type:"String",reflect:!1,attribute:"context"},deferInit:{type:"Boolean",attribute:"defer-init"},dirtyStatus:{type:"Boolean",reflect:!1,attribute:"dirty-status"},documentTitle:{type:"String",reflect:!1,attribute:"document-title"},hasBack:{type:"Boolean",reflect:!1,attribute:"has-back"},locale:{type:"String",reflect:!1,attribute:"locale"},noShadow:{type:"Boolean",attribute:"no-shadow",reflect:!1},nodeParams:{type:"Object",reflect:!1,attribute:"node-params"},pathParams:{type:"Object",reflect:!1,attribute:"path-params"},searchParams:{type:"Object",reflect:!1,attribute:"search-params"},skipInitCheck:{type:"Boolean",reflect:!1,attribute:"skip-init-check"},theme:{type:"String",reflect:!1,attribute:"theme"},userSettings:{type:"Object",reflect:!1,attribute:"user-settings"},viewurl:{type:"String",reflect:!1,attribute:"viewurl"},webcomponent:{type:"String",reflect:!1,attribute:"webcomponent"}},[],["unwarn"],!1,(t=>class extends t{updateContext=(t=>()=>console.warn(t+" can't be called on luigi-container before its micro frontend is attached to the DOM."))("updateContext");attributeChangedCallback(t,e,n){this.containerInitialized&&"context"===t&&this.updateContext(JSON.parse(n))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}));var rt=Q;customElements.get("luigi-container")||customElements.define("luigi-container",et.element),customElements.get("luigi-compound-container")||customElements.define("luigi-compound-container",ot.element);export{ot as LuigiCompoundContainer,et as LuigiContainer,rt as default};
//# sourceMappingURL=bundle.js.map

@@ -23,3 +23,3 @@ {

],
"version": "1.5.0-dev.202501101354"
"version": "1.5.0-dev.202501101405"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc