@luigi-project/container 1.3.0-dev.20241160030 → 1.3.0-dev.20241181428

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,9 +7,6 @@ export declare interface WebComponentSettings {
7
7
  export default class LuigiCompoundContainer extends HTMLElement {
8
8
  /**
9
9
  * The URL used for the renderer.
10
- *
11
- * @example <luigi-container viewurl="/index.html"></luigi-container>
12
- * @example myContainer.viewurl = "/index.html"
13
10
  */
14
11
  viewurl: string;
15
12
 
@@ -17,19 +14,13 @@ export default class LuigiCompoundContainer extends HTMLElement {
17
14
  * The configuration for the compound microfrontend.
18
15
  * Take a look at the [compound parameter](https://docs.luigi-project.io/docs/navigation-parameters-reference/?section=compound) for details.
19
16
  * @since 1.0.0
20
- *
21
- * @example renderer = { use: 'grid', config: { columns: '1fr 1fr 1fr 2fr', layouts: [{maxWidth: 600, columns: '1fr', gap: 0, ...}]}};
22
- * children = [{ viewUrl: '/main.js', context: { label: 'WC', ...}, layoutConfig: {column: '1 / -1', ...}, eventListeners: [{ source: 'input1', ...}}]}];
23
- * myContainer.compoundConfig = { renderer, children };
17
+ *
24
18
  */
25
19
  compoundConfig: Object;
26
20
 
27
21
  /**
28
22
  * If set to true defers from initializing the microfronted automatically. In that case init() can be used.
29
23
  * @since 1.0.0
30
- *
31
- * @example <luigi-container viewurl="/index.html" defer-init></luigi-container>
32
- * @example myContainer.deferInit = true
33
24
  */
34
25
  deferInit: boolean;
35
26
 
@@ -37,90 +28,60 @@ export default class LuigiCompoundContainer extends HTMLElement {
37
28
  *
38
29
  * The locale to be passed to the compound micro frontend.
39
30
  * @since NEXT_RELEASE_CONTAINER
40
- *
41
- * @example <luigi-container locale="en_us"></luigi-container>
42
- * @example myContainer.locale = "en_us"
43
31
  */
44
32
  locale: string;
45
33
 
46
34
  /**
47
35
  * The parameters to be passed to the compound micro frontend. Will not be passed to the compound children.
48
36
  * @since 1.0.0
49
- *
50
- * @example <luigi-container viewurl="/index.html" node-params='{"node":"param"}'></luigi-container>
51
- * @example myContainer.nodeParams = {foo: bar}
52
37
  */
53
38
  nodeParams: Object;
54
39
 
55
40
  /**
56
41
  * If set to true, the Luigi compound container webcomponent will not use the shadow DOM for rendering.
57
42
  * @since 1.2.0
58
- *
59
- * @example <luigi-container viewurl="/index.html" no-shadow></luigi-container>
60
- * @example myContainer.noShadow = true
61
43
  */
62
44
  noShadow: boolean;
63
45
 
64
46
  /**
65
47
  * The search parameters to be passed to the compound micro frontend.
66
48
  * @since 1.0.0
67
- *
68
- * @example <luigi-container viewurl="/index.html" search-params='{"search":"param"}'></luigi-container>
69
- * @example myContainer.searchParams = {foo: bar}
70
49
  */
71
50
  searchParams: Object;
72
51
 
73
52
  /**
74
53
  * The path parameters to be passed to the compound micro frontend.
75
54
  * @since 1.0.0
76
- *
77
- * @example <luigi-container viewurl="/index.html" path-params='{"path":"param"}'></luigi-container>
78
- * @example myContainer.pathParams = {foo: "bar"}
79
55
  */
80
56
  pathParams: Object;
81
57
 
82
58
  /**
83
59
  * The stringified context to be passed to the compound microfrontend.
84
60
  * @since 1.0.0
85
- *
86
- * @example <luigi-container viewUrl="/index.html" context='{"label": "Dashboard"}'></luigi-container>
87
- * @example myContainer.context = {label: "Dashboard"}
88
61
  */
89
62
  context: string;
90
63
 
91
64
  /**
92
65
  * The clientPermissions to be passed to the compound micro frontend.
93
66
  * @since 1.0.0
94
- *
95
- * @example <luigi-container viewurl="/index.html" client-permissions='{"permission": "adminGroup"}'></luigi-container>
96
- * @example myContainer.clientPermissions = {permission: "adminGroup"}
97
67
  */
98
68
  clientPermissions: Object;
99
69
 
100
70
  /**
101
71
  * The user settings to be passed to the compound micro frontend.
102
72
  * @since 1.0.0
103
- *
104
- * @example <luigi-container viewurl="/index.html" user-settings='{"language": "de", "theme":"sap_horizon"}'></luigi-container>
105
- * @example myContainer.userSettings = {language: 'de', theme: 'sap_horizon'}
106
73
  */
107
74
  userSettings: Object;
108
75
 
109
76
  /**
110
77
  * The anchor value to be passed to the compound micro frontend.
111
78
  * @since 1.0.0
112
- *
113
- * @example <luigi-container viewurl="/index.html" anchor='#foo'></luigi-container>
114
- * @example myContainer.anchor = '#foo'
115
79
  */
116
80
  anchor: string;
117
81
 
118
82
  /**
119
83
  * The document title value to be passed to the compound micro frontend.
120
84
  * @since 1.2.0
121
- *
122
- * @example <luigi-container viewurl="/index.html" document-title='Luigi App'></luigi-container>
123
- * @example myContainer.documentTitle = 'Luigi App'
124
85
  */
125
86
  documentTitle: string;
126
87
 
@@ -128,19 +89,13 @@ export default class LuigiCompoundContainer extends HTMLElement {
128
89
  * The hasBack value to be passed to the compound micro frontend.
129
90
  * It indicates that there is one or more preserved views. Useful when you need to show a back button.
130
91
  * @since 1.2.0
131
- *
132
- * @example <luigi-container viewurl="/index.html" has-back></luigi-container>
133
- * @example myContainer.hasBack = true
134
92
  */
135
- hasBack: boolean;
93
+ hasBack: string;
136
94
 
137
95
  /**
138
96
  * The dirty status value to be passed to the compound micro frontend.
139
97
  * It's used to indicate that there are unsaved changes when navigating away.
140
98
  * @since 1.2.0
141
- *
142
- * @example <luigi-container viewurl="/index.html" dirty-status></luigi-container>
143
- * @example myContainer.dirtyStatus = true
144
99
  */
145
100
  dirtyStatus: boolean;
146
101
 
@@ -152,38 +107,24 @@ export default class LuigiCompoundContainer extends HTMLElement {
152
107
  * @param {string} WebComponentSettings.tagName: tag name where web component is added to DOM.
153
108
  * @param {string} string must be a stringified JSON object from type `WebComponentSettings`.
154
109
  * @since 1.0.0
155
- *
156
- * @example <luigi-container webcomponent="{ type: 'module', selfRegistered: true, tagName: 'my-webcomponent'}"></luigi-container>
157
- * @example myContainer.webcomponent = { type: 'module', selfRegistered: true, tagName: 'my-webcomponent'}
158
110
  */
159
111
  webcomponent: boolean | WebComponentSettings | string;
160
112
 
161
113
  /**
162
114
  * If set to true, skips handshake and ready event is fired immediately.
163
115
  * @since NEXT_RELEASE_CONTAINER
164
- *
165
- * @example <luigi-container viewurl="/index.html" skipInitCheck></luigi-container>
166
- * @example myContainer.skipInitCheck = true
167
116
  */
168
117
  skipInitCheck: boolean;
169
118
 
170
119
  /**
171
120
  * The list of active feature toggles to be passed to the compound microfrontend.
172
121
  * @since NEXT_RELEASE_CONTAINER
173
- *
174
- *
175
- * @example <luigi-container viewUrl="/index.html" active-feature-toggle-list='["enable-foo", "allow-bar"]'></luigi-container>
176
- * @example myContainer.activeFeatureToggleList = ["enable-foo", "allow-bar"]
177
122
  */
178
123
  activeFeatureToggleList: string[];
179
124
 
180
125
  /**
181
126
  * The theme to be passed to the compound microfrontend.
182
127
  * @since NEXT_RELEASE_CONTAINER
183
- *
184
- *
185
- * @example <luigi-container viewUrl="/index.html" theme='sap_horizon'></luigi-container>
186
- * @example myContainer.theme = 'sap_horizon'
187
128
  */
188
129
  theme: string;
189
130
 
@@ -8,37 +8,24 @@ export default class LuigiContainer extends HTMLElement {
8
8
  /**
9
9
  * The URL of the microfrontend to be rendered
10
10
  * @since 1.0.0
11
- *
12
- * @example <luigi-container viewurl="/index.html"></luigi-container>
13
- * @example myContainer.viewurl = "/index.html"
14
11
  */
15
12
  viewurl: string;
16
13
 
17
14
  /**
18
15
  * If set to true defers from initializing the microfronted automatically. In that case init() can be used
19
16
  * @since 1.0.0
20
- *
21
- * @example <luigi-container viewurl="/index.html" defer-init></luigi-container>
22
- * @example myContainer.deferInit = true
23
17
  */
24
18
  deferInit: boolean;
25
19
 
26
20
  /**
27
21
  * The stringified context object to be passed to the microfrontend
28
22
  * @since 1.0.0
29
- *
30
- *
31
- * @example <luigi-container viewUrl="/index.html" context='{"label": "Dashboard"}'></luigi-container>
32
- * @example myContainer.context = {label: "Dashboard"}
33
23
  */
34
24
  context: string;
35
25
 
36
26
  /**
37
27
  * Label information for the microfrontend
38
28
  * @since 1.0.0
39
- *
40
- * @example <luigi-container viewUrl="/index.html" label="Dashboard"></luigi-container>
41
- * @example myContainer.label = "Dashboard"
42
29
  */
43
30
  label: string;
44
31
 
@@ -63,123 +50,79 @@ export default class LuigiContainer extends HTMLElement {
63
50
  * The advantage of this line of code is: you don't have to specify a tag name, thus avoiding the duplication of self-defined tag names.
64
51
  * </br>
65
52
  * @since 1.0.0
66
- * @example <luigi-container webcomponent="{ type: 'module', selfRegistered: true, tagName: 'my-webcomponent'}"></luigi-container>
67
- * @example myContainer.webcomponent = { type: 'module', selfRegistered: true, tagName: 'my-webcomponent'}
68
53
  */
69
54
  webcomponent: boolean | WebComponentSettings | string;
70
55
 
71
56
  /**
72
57
  * The locale to be passed to the web-component-based micro frontend
73
58
  * @since 1.0.0
74
- *
75
- * @example <luigi-container locale="en_us"></luigi-container>
76
- * @example myContainer.locale = "en_us"
77
59
  */
78
60
  locale: string;
79
61
 
80
62
  /**
81
63
  * The theme to be passed to the web-component-based micro frontend
82
64
  * @since 1.0.0
83
- *
84
- * @example <luigi-container viewurl="/index.html" theme='sap_horizon'></luigi-container>
85
- * @example myContainer.theme = 'sap_horizon'
86
65
  */
87
66
  theme: string;
88
67
 
89
68
  /**
90
69
  * The list of active feature toggles to be passed to the web-component-based micro frontend
91
70
  * @since 1.0.0
92
- *
93
- * @example myContainer.activeFeatureToggleList = ["enable-foo", "allow-bar"]
94
- * @example <luigi-container viewurl="/index.html" active-feature-toggle-list='["enable-foo", "allow-bar"]'></luigi-container>
95
71
  */
96
72
  activeFeatureToggleList: string[];
97
73
 
98
- /**
99
- * If set to true, skips third party cookie check
100
- * @since NEXT_RELEASE_CONTAINER
101
- *
102
- * @example <luigi-container viewurl="/index.html" skipCookieCheck></luigi-container>
103
- * @example myContainer.skipCookieCheck = true
104
- */
105
- skipCookieCheck: boolean;
106
-
107
74
  /**
108
75
  * If set to true, skips handshake and ready event is fired immediately
109
76
  * @since 1.0.0
110
- * TODO: https://developer.mozilla.org/en-US/docs/Glossary/Boolean/HTML says booleans should not use "true"/"false", find a consistent style for our docs.
111
- * @example <luigi-container viewurl="/index.html" skipInitCheck></luigi-container>
112
- * @example myContainer.skipInitCheck = true
113
77
  */
114
78
  skipInitCheck: boolean;
115
79
 
116
80
  /**
117
81
  * The parameters to be passed to the web-component-based micro frontend.
118
82
  * @since 1.0.0
119
- *
120
- * @example <luigi-container viewurl="/index.html" node-params='{"node":"param"}'></luigi-container>
121
- * @example myContainer.nodeParams = {foo: bar}
122
83
  */
123
84
  nodeParams: Object;
124
85
 
125
86
  /**
126
87
  * If set to true, the Luigi container webcomponent will not use the shadow DOM for rendering.
127
88
  * @since 1.2.0
128
- *
129
- * @example <luigi-container viewurl="/index.html" no-shadow></luigi-container>
130
- * @example myContainer.noShadow = true
131
89
  */
132
90
  noShadow: boolean;
133
91
 
134
92
  /**
135
93
  * The search parameters to be passed to the web-component-based micro frontend.
136
94
  * @since 1.0.0
137
- *
138
- * @example <luigi-container viewurl="/index.html" search-params='{"search":"param"}'></luigi-container>
139
- * @example myContainer.searchParams = {foo: bar}
140
95
  */
141
96
  searchParams: Object;
142
97
 
143
98
  /**
144
99
  * The path parameters to be passed to the web-component-based micro frontend.
145
100
  * @since 1.0.0
146
- *
147
- * @example <luigi-container viewurl="/index.html" path-params='{"path":"param"}'></luigi-container>
148
- * @example myContainer.pathParams = {foo: "bar"}
149
101
  */
150
102
  pathParams: Object;
151
103
 
152
104
  /**
153
105
  * The clientPermissions to be passed to the web-component-based micro frontend.
154
106
  * @since 1.0.0
155
- *
156
- * @example <luigi-container viewurl="/index.html" client-permissions='{"permission": "adminGroup"}'></luigi-container>
157
- * @example myContainer.clientPermissions = {permission: "adminGroup"}
158
107
  */
159
108
  clientPermissions: Object;
160
109
 
161
110
  /**
162
111
  * The user settings to be passed to the web-component-based micro frontend
163
112
  * @since 1.0.0
164
- *
165
- * @example <luigi-container viewurl="/index.html" user-settings='{"language": "de", "theme":"sap_horizon"}'></luigi-container>
166
- * @example myContainer.userSettings = {language: 'de', theme: 'sap_horizon'}
167
113
  */
168
114
  userSettings: Object;
169
115
 
170
116
  /**
171
117
  * The anchor value to be passed to the web-component-based micro frontend.
172
118
  * @since 1.0.0
173
- *
174
- * @example <luigi-container viewurl="/index.html" anchor='#foo'></luigi-container>
175
- * @example myContainer.anchor = '#foo'
176
119
  */
177
120
  anchor: string;
178
121
 
179
122
  /**
180
123
  * The list of rules for the content in the iframe, managed by the HTML `allow` attribute.
181
124
  * You can use one or more rules by adding them to the array, for example allowRules: ["microphone", "camera"].
182
- * @example <luigi-container viewurl="/index.html" allow-rules='["microphone", "camera"]'></luigi-container>
125
+ * @example <luigi-container viewUrl="/index.html" allow-rules='["microphone", "camera"]'></luigi-container>
183
126
  * @example containerElement.allowRules = ['microphone', 'camera']
184
127
  * @since 1.2.0
185
128
  */
@@ -188,7 +131,7 @@ export default class LuigiContainer extends HTMLElement {
188
131
  /**
189
132
  * The list of rules for the content in the iframe, managed by the HTML `sandbox` attribute.
190
133
  * You can use one or more rules by adding them to the array, for example sandboxRules: ["allow-scripts", "allow-same-origin"].
191
- * @example <luigi-container viewurl="/index.html" sandbox-rules='["allow-scripts", "allow-same-origin"]'></luigi-container>
134
+ * @example <luigi-container viewUrl="/index.html" sandbox-rules='["allow-scripts", "allow-same-origin"]'></luigi-container>
192
135
  * @example containerElement.sandboxRules = ['allow-modals', 'allow-popups']
193
136
  * @since 1.2.0
194
137
  */
@@ -197,9 +140,6 @@ export default class LuigiContainer extends HTMLElement {
197
140
  /**
198
141
  * The document title value to be passed to the web-component-based micro frontend.
199
142
  * @since 1.2.0
200
- *
201
- * @example <luigi-container viewurl="/index.html" document-title='Luigi App'></luigi-container>
202
- * @example myContainer.documentTitle = 'Luigi App'
203
143
  */
204
144
  documentTitle: string;
205
145
 
@@ -207,19 +147,13 @@ export default class LuigiContainer extends HTMLElement {
207
147
  * The hasBack value to be passed to the web-component-based micro frontend.
208
148
  * It indicates that there is one or more preserved views. Useful when you need to show a back button.
209
149
  * @since 1.2.0
210
- *
211
- * @example <luigi-container viewurl="/index.html" has-back></luigi-container>
212
- * @example myContainer.hasBack = true
213
150
  */
214
- hasBack: boolean;
151
+ hasBack: string;
215
152
 
216
153
  /**
217
154
  * The dirty status value to be passed to the web-component-based micro frontend.
218
155
  * It's used to indicate that there are unsaved changes when navigating away.
219
156
  * @since 1.2.0
220
- *
221
- * @example <luigi-container viewurl="/index.html" dirty-status></luigi-container>
222
- * @example myContainer.dirtyStatus = true
223
157
  */
224
158
  dirtyStatus: boolean;
225
159
 
package/bundle.js CHANGED
@@ -1,2 +1,2 @@
1
- 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 S=[];const f=[],C=Promise.resolve();let R=!1;function b(t){S.push(t)}const w=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),v(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<S.length;t+=1){const e=S[t];w.has(e)||(w.add(e),e())}S.length=0}while($.length);for(;f.length;)f.pop()();R=!1,w.clear(),E(t)}function v(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(b)}}const O=new Set;function U(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];S.forEach((i=>-1===t.indexOf(i)?e.push(i):n.push(i))),n.forEach((t=>t())),S=e}(n.after_update),i(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function N(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 L(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),$&&N(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&&(O.delete(T),T.i(S))),function(t,n,o){const{fragment:r,after_update:a}=t.$$;r&&r.m(n,o),b((()=>{const n=t.$$.on_mount.map(e).filter(s);t.$$.on_destroy?t.$$.on_destroy.push(...n):i(n),t.$$.on_mount=[]})),a.forEach(b)}(o,r.target,r.anchor),I()}var T,S;E(g)}let y;function k(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 x(t,e,n,i,s,o){let r=class extends y{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=k(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&&(y=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)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]=k(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=k(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]=k(t,n,this.$$p_d,"toProp"),this.$$c?.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{this.$$cn||(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(){U(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-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"}(D||(D={})),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"}(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(Object.assign({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=>{var i;(null===(i=n.iframeHandle)||void 0===i?void 0:i.iframe)&&n.iframeHandle.iframe.contentWindow===t.source&&(e=n)})),e}getContainerManager(){return globalThis.__luigi_container_manager||(globalThis.__luigi_container_manager={container:[],messageListener:t=>{var e,n;const i=this.getTargetContainer(t),s=null===(n=null===(e=null==i?void 0:i.iframeHandle)||void 0===e?void 0:e.iframe)||void 0===n?void 0:n.contentWindow;if(s&&s===t.source){switch(t.data.msg){case Q.CUSTOM_MESSAGE:{const e=t.data.data,n=e.id;delete e.id,this.dispatch(D.CUSTOM_MESSAGE,i,{id:n,_metaData:{},data:e})}break;case Q.GET_CONTEXT:s.postMessage({msg:Q.SEND_CONTEXT_HANDSHAKE,context:i.context||{},internal:{thirdPartyCookieCheck:{disabled:"true"===i.skipCookieCheck}},authData:i.authData||{}},t.origin);break;case Q.NAVIGATION_REQUEST:this.dispatch(D.NAVIGATION_REQUEST,i,t.data.params);break;case Q.ALERT_REQUEST:this.dispatch(D.ALERT_REQUEST,i,t);break;case Q.INITIALIZED:this.dispatch(D.INITIALIZED,i,t.data.params);break;case Q.ADD_SEARCH_PARAMS_REQUEST:this.dispatch(D.ADD_SEARCH_PARAMS_REQUEST,i,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case Q.ADD_NODE_PARAMS_REQUEST:this.dispatch(D.ADD_NODE_PARAMS_REQUEST,i,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case Q.SHOW_CONFIRMATION_MODAL_REQUEST:this.dispatch(D.SHOW_CONFIRMATION_MODAL_REQUEST,i,t.data.data);break;case Q.SHOW_LOADING_INDICATOR_REQUEST:this.dispatch(D.SHOW_LOADING_INDICATOR_REQUEST,i,t);break;case Q.HIDE_LOADING_INDICATOR_REQUEST:this.dispatch(D.HIDE_LOADING_INDICATOR_REQUEST,i,t);break;case Q.SET_CURRENT_LOCALE_REQUEST:this.dispatch(D.SET_CURRENT_LOCALE_REQUEST,i,t);break;case Q.LOCAL_STORAGE_SET_REQUEST:this.dispatch(D.LOCAL_STORAGE_SET_REQUEST,i,t);break;case Q.RUNTIME_ERROR_HANDLING_REQUEST:this.dispatch(D.RUNTIME_ERROR_HANDLING_REQUEST,i,t);break;case Q.SET_ANCHOR_LINK_REQUEST:this.dispatch(D.SET_ANCHOR_LINK_REQUEST,i,t);break;case Q.SET_THIRD_PARTY_COOKIES_REQUEST:this.dispatch(D.SET_THIRD_PARTY_COOKIES_REQUEST,i,t);break;case Q.BACK_NAVIGATION_REQUEST:this.dispatch(D.BACK_NAVIGATION_REQUEST,i,t);break;case Q.GET_CURRENT_ROUTE_REQUEST:this.dispatch(D.GET_CURRENT_ROUTE_REQUEST,i,t);break;case Q.NAVIGATION_COMPLETED_REPORT:this.dispatch(D.NAVIGATION_COMPLETED_REPORT,i,t);break;case Q.UPDATE_MODAL_PATH_DATA_REQUEST:this.dispatch(D.UPDATE_MODAL_PATH_DATA_REQUEST,i,t);break;case Q.CHECK_PATH_EXISTS_REQUEST:this.dispatch(D.CHECK_PATH_EXISTS_REQUEST,i,t);break;case Q.SET_DIRTY_STATUS_REQUEST:this.dispatch(D.SET_DIRTY_STATUS_REQUEST,i,t)}}}},window.addEventListener("message",globalThis.__luigi_container_manager.messageListener)),globalThis.__luigi_container_manager}registerContainer(t){this.getContainerManager().container.push(t)}}const W=new H;class G{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 B extends G{constructor(t){super(t||{use:{}}),t&&t.use&&t.use.extends&&(this.superRenderer=V({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 j extends G{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 V=t=>{const e=t.use;return e?"grid"===e?new j(t):e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem?new B(t):new G(t):new G(t)},F=(t,e,n,i)=>{(null==e?void 0: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 q(t){return String(t).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/")}class K{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=Object.assign({fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:n,fromParent:i,nodeParams:s},r);this.dispatchLuigiEvent(D.NAVIGATION_REQUEST,Object.assign({link:o},a))},navigateToIntent:(t,e={})=>{var n;let i="#?intent=";if(i+=t,e&&(null===(n=Object.keys(e))||void 0===n?void 0:n.length)){const t=Object.entries(e);if(t.length>0){i+="?";for(const[e,n]of t)i+=e+"="+n+"&";i=i.slice(0,-1)}}o.navigate(i)},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(D.GET_CURRENT_ROUTE_REQUEST,this.thisComponent,Object.assign({},o),(n=>{n?t(n):e("No current route received.")}),"callback")}))},withParams:t=>(s=t,o),updateTopNavigation:()=>{this.dispatchLuigiEvent(D.UPDATE_TOP_NAVIGATION_REQUEST,{})},pathExists:()=>new Promise(((t,e)=>{this.containerService.dispatch(D.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(D.GO_BACK_REQUEST,t)},hasBack:()=>!1};return o},uxManager:()=>({showAlert:t=>{this.dispatchLuigiEvent(D.ALERT_REQUEST,t)},showConfirmationModal:t=>new Promise(((e,n)=>{this.containerService.dispatch(D.SHOW_CONFIRMATION_MODAL_REQUEST,this.thisComponent,t,(t=>{t?e(t):n(new Error("No data"))}),"callback")})),getCurrentTheme:()=>this.thisComponent.theme,closeUserSettings:()=>{this.dispatchLuigiEvent(D.CLOSE_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},openUserSettings:()=>{this.dispatchLuigiEvent(D.OPEN_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},collapseLeftSideNav:()=>{this.dispatchLuigiEvent(D.COLLAPSE_LEFT_NAV_REQUEST,{})},getDirtyStatus:()=>this.thisComponent.dirtyStatus||!1,getDocumentTitle:()=>this.thisComponent.documentTitle,setDocumentTitle:t=>{this.dispatchLuigiEvent(D.SET_DOCUMENT_TITLE_REQUEST,t)},removeBackdrop:()=>{this.dispatchLuigiEvent(D.REMOVE_BACKDROP_REQUEST,{})},hideAppLoadingIndicator:()=>{this.dispatchLuigiEvent(D.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(D.CUSTOM_MESSAGE,o)},luigiClientInit:()=>{this.dispatchLuigiEvent(D.INITIALIZED,{})},addNodeParams:(t,e)=>{s||this.dispatchLuigiEvent(D.ADD_NODE_PARAMS_REQUEST,{params:t,keepBrowserHistory:e})},getNodeParams:t=>{return s?{}:t?(e=this.thisComponent.nodeParams,Object.entries(e).reduce(((t,e)=>(t[q(e[0])]=q(e[1]),t)),{})):this.thisComponent.nodeParams||{};var e},setAnchor:t=>{s||this.dispatchLuigiEvent(D.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(D.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){var r;const a=this.processViewUrl(t,{context:n}),c=(null===(r=null==i?void 0:i.webcomponent)||void 0===r?void 0:r.tagName)||this.generateWCId(a),u=document.createElement("div");e.appendChild(u),e._luigi_node=i,window.customElements.get(c)?this.attachWC(c,u,e,n,a,s,o):window.luigiWCFn?window.luigiWCFn(a,c,u,(()=>{this.attachWC(c,u,e,n,a,s,o)})):i.webcomponent&&i.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(i,a,(()=>{this.attachWC(c,u,e,n,a,s,o)})):this.registerWCFromUrl(a,c).then((()=>{this.attachWC(c,u,e,n,a,s,o)})).catch((t=>{console.warn("ERROR =>",t),this.containerService.dispatch(D.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}createCompoundContainerAsync(t,e,n){return new Promise(((i,s)=>{var o;if(t.viewUrl)try{const s=(null===(o=null==n?void 0:n.webcomponent)||void 0===o?void 0:o.tagName)||this.generateWCId(t.viewUrl);n.webcomponent&&n.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,t.viewUrl,(()=>{const n=document.createElement(s);n.setAttribute("lui_web_component",!0),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",!0),this.initWC(n,s,n,t.viewUrl,e,"_root"),i(n)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(D.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}catch(t){s(t)}else i(t.createCompoundContainer())}))}renderWebComponentCompound(t,e,n){var i;let s;return t.webcomponent&&t.viewUrl?(s=new G,s.viewUrl=this.processViewUrl(t.viewUrl,{context:n}),s.createCompoundItemContainer=t=>{const e=document.createElement("div");return t&&t.slot&&e.setAttribute("slot",t.slot),e}):(null===(i=t.compound)||void 0===i?void 0:i.renderer)&&(s=V(t.compound.renderer)),s=s||new G,new Promise((i=>{this.createCompoundContainerAsync(s,n,t).then((o=>{var r;e._luigi_mfe_webcomponent=o,e._luigi_node=t;const a={};o.eventBus={listeners:a,onPublishEvent:(t,e,n)=>{const i=a[e+"."+t.type]||[];i.push(...a["*."+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)}))}},null===(r=t.compound)||void 0===r||r.children.forEach(((t,e)=>{const i=Object.assign(Object.assign({},n),t.context),r=s.createCompoundItemContainer(t.layoutConfig);r.eventBus=o.eventBus,s.attachCompoundItem(o,r);const c=t.id||"gen_"+e;this.renderWebComponent(t.viewUrl,r,i,t,c,!0),F(a,t,c)})),e.appendChild(o),F(a,t.compound,"_root",o),i(o)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(D.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}))}}const X=new class{constructor(){this.updateContext=(t,e,n)=>{if(n){const i=e||{};W.sendCustomMessageToIframe(n,{context:t,internal:i,withoutSync:!0},Q.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update context on inexisting iframe")},this.updateAuthData=(t,e)=>{t&&e?W.sendCustomMessageToIframe(t,{authData:e},Q.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=Object.assign({},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},Q.ALERT_CLOSED)}},z=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(" ")};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=z(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=z(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:S}=e,{sandboxRules:f}=e,{searchParams:C}=e,{skipCookieCheck:R}=e,{skipInitCheck:b}=e,{theme:w}=e,{userSettings:A}=e,{viewurl:I}=e,{webcomponent:v}=e;const O={};let U,N=!1;const L=new K,y=t=>{if(!N){t.sendCustomMessage=(e,n)=>{X.sendCustomMessage(e,t.getNoShadow()?t:U,!!v,O,n)},t.updateContext=(e,n)=>{v?(t.getNoShadow()?t:U)._luigi_mfe_webcomponent.context=e:X.updateContext(e,n,O)},t.closeAlert=(t,e)=>{X.closeAlert(t,e,O)},W.registerContainer(t),L.thisComponent=t;const e=M.resolveContext(c);if(v&&"false"!=v){if(t.getNoShadow())t.innerHTML="";else{n(6,U.innerHTML="",U);t.attachShadow({mode:"open"}).append(U)}const i=M.checkWebcomponentValue(v);L.renderWebComponent(I,t.getNoShadow()?t:U,e,"object"==typeof i?{webcomponent:i}:{})}else if(!t.getNoShadow()){t.innerHTML="";t.attachShadow({mode:"open"}).append(U)}b?(t.initialized=!0,setTimeout((()=>{L.dispatchLuigiEvent(D.INITIALIZED,{})}))):v&&(t.getNoShadow()?t:U).addEventListener("wc_ready",(()=>{var e;(null===(e=(t.getNoShadow()?t:U)._luigi_mfe_webcomponent)||void 0===e?void 0:e.deferLuigiClientWCInit)||(t.initialized=!0,L.dispatchLuigiEvent(D.INITIALIZED,{}))})),n(7,N=!0),t.containerInitialized=!0}};var k;return _((async()=>{const t=U.parentNode;t.iframeHandle=O,t.init=()=>{y(t)},u||y(t)})),k=async()=>{},g().$$.on_destroy.push(k),t.$$set=t=>{"activeFeatureToggleList"in t&&n(8,i=t.activeFeatureToggleList),"allowRules"in t&&n(0,s=t.allowRules),"anchor"in t&&n(9,o=t.anchor),"authData"in t&&n(10,r=t.authData),"clientPermissions"in t&&n(11,a=t.clientPermissions),"context"in t&&n(12,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,S=t.pathParams),"sandboxRules"in t&&n(2,f=t.sandboxRules),"searchParams"in t&&n(21,C=t.searchParams),"skipCookieCheck"in t&&n(22,R=t.skipCookieCheck),"skipInitCheck"in t&&n(23,b=t.skipInitCheck),"theme"in t&&n(24,w=t.theme),"userSettings"in t&&n(25,A=t.userSettings),"viewurl"in t&&n(3,I=t.viewurl),"webcomponent"in t&&n(4,v=t.webcomponent)},[s,m,f,I,v,O,U,N,i,o,r,a,c,u,l,h,d,p,E,$,S,C,R,b,w,A,()=>i&&s&&o&&r&&a&&l&&h&&d&&p&&E&&$&&S&&f&&C&&R&&b&&w&&A,function(t){T[t?"unshift":"push"]((()=>{O.iframe=t,n(5,O)}))},function(t){T[t?"unshift":"push"]((()=>{U=t,n(6,U)}))}]}class et extends P{constructor(t){super(),L(this,t,tt,Y,o,{activeFeatureToggleList:8,allowRules:0,anchor:9,authData:10,clientPermissions:11,context:12,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[8]}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[9]}set anchor(t){this.$$set({anchor:t}),I()}get authData(){return this.$$.ctx[10]}set authData(t){this.$$set({authData:t}),I()}get clientPermissions(){return this.$$.ctx[11]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get context(){return this.$$.ctx[12]}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:S}=e,{skipInitCheck:f}=e,{theme:C}=e,{userSettings:R}=e,{viewurl:b}=e,{webcomponent:w}=e,A=!1;const I=new H,v=new K,O=t=>{if(!c||A)return;t.updateContext=(e,n)=>{const s=t.getNoShadow()?t:i;s._luigi_mfe_webcomponent.context=e;const o=s._luigi_mfe_webcomponent;if(o){const t=o.querySelectorAll("[lui_web_component]");null==t||t.forEach((t=>{const n=t.context||{};t.context=Object.assign(n,e)}))}};const e=M.resolveContext(u);n(1,l=!1);const o={compound:c,viewUrl:b,webcomponent:M.checkWebcomponentValue(w)||!0};if(t.getNoShadow())t.innerHTML="";else{n(0,i.innerHTML="",i);t.attachShadow({mode:"open"}).append(i)}v.renderWebComponentCompound(o,t.getNoShadow()?t:i,e).then((e=>{s=e,f||!o.viewUrl?(t.initialized=!0,setTimeout((()=>{v.dispatchLuigiEvent(D.INITIALIZED,{})}))):s.LuigiClient&&!s.deferLuigiClientWCInit&&(t.initialized=!0,v.dispatchLuigiEvent(D.INITIALIZED,{}))})),A=!0,t.containerInitialized=!0};return _((async()=>{const t=i.getRootNode()===document?i.parentNode:i.getRootNode().host;t.init=()=>{O(t)},l||O(t),I.registerContainer(t),v.thisComponent=t})),t.$$set=t=>{"activeFeatureToggleList"in t&&n(2,o=t.activeFeatureToggleList),"anchor"in t&&n(3,r=t.anchor),"clientPermissions"in t&&n(4,a=t.clientPermissions),"compoundConfig"in t&&n(5,c=t.compoundConfig),"context"in t&&n(6,u=t.context),"deferInit"in t&&n(1,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,S=t.searchParams),"skipInitCheck"in t&&n(15,f=t.skipInitCheck),"theme"in t&&n(16,C=t.theme),"userSettings"in t&&n(17,R=t.userSettings),"viewurl"in t&&n(18,b=t.viewurl),"webcomponent"in t&&n(19,w=t.webcomponent)},[i,l,o,r,a,c,u,h,d,m,p,E,g,$,S,f,C,R,b,w,()=>o&&r&&a&&h&&d&&m&&p&&E&&g&&$&&S&&f&&C&&R,function(t){T[t?"unshift":"push"]((()=>{i=t,n(0,i)}))}]}x(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");closeAlert=e("closeAlert");attributeChangedCallback(t,e,n){this.containerInitialized&&("context"===t&&this.updateContext(JSON.parse(n)),"auth-data"===t&&X.updateAuthData(this.iframeHandle,JSON.parse(n)))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}}));class ot extends P{constructor(t){super(),L(this,t,st,it,o,{activeFeatureToggleList:2,anchor:3,clientPermissions:4,compoundConfig:5,context:6,deferInit:1,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[2]}set activeFeatureToggleList(t){this.$$set({activeFeatureToggleList:t}),I()}get anchor(){return this.$$.ctx[3]}set anchor(t){this.$$set({anchor:t}),I()}get clientPermissions(){return this.$$.ctx[4]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get compoundConfig(){return this.$$.ctx[5]}set compoundConfig(t){this.$$set({compoundConfig:t}),I()}get context(){return this.$$.ctx[6]}set context(t){this.$$set({context:t}),I()}get deferInit(){return this.$$.ctx[1]}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]}}x(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:{}},[],["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=D;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};
1
+ 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 S=[];const f=[],C=Promise.resolve();let R=!1;function b(t){S.push(t)}const w=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),v(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<S.length;t+=1){const e=S[t];w.has(e)||(w.add(e),e())}S.length=0}while($.length);for(;f.length;)f.pop()();R=!1,w.clear(),E(t)}function v(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(b)}}const O=new Set;function U(t,e){const n=t.$$;null!==n.fragment&&(!function(t){const e=[],n=[];S.forEach((i=>-1===t.indexOf(i)?e.push(i):n.push(i))),n.forEach((t=>t())),S=e}(n.after_update),i(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function N(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 L(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),$&&N(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&&(O.delete(T),T.i(S))),function(t,n,o){const{fragment:r,after_update:a}=t.$$;r&&r.m(n,o),b((()=>{const n=t.$$.on_mount.map(e).filter(s);t.$$.on_destroy?t.$$.on_destroy.push(...n):i(n),t.$$.on_mount=[]})),a.forEach(b)}(o,r.target,r.anchor),I()}var T,S;E(g)}let y;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 P(t,e,n,i,s,o){let r=class extends y{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&&(y=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)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.$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 D{$$=void 0;$$set=void 0;$destroy(){U(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 k,Q;"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4"),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"}(k||(k={})),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"}(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(Object.assign({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=>{var i;(null===(i=n.iframeHandle)||void 0===i?void 0:i.iframe)&&n.iframeHandle.iframe.contentWindow===t.source&&(e=n)})),e}getContainerManager(){return globalThis.__luigi_container_manager||(globalThis.__luigi_container_manager={container:[],messageListener:t=>{var e,n;const i=this.getTargetContainer(t),s=null===(n=null===(e=null==i?void 0:i.iframeHandle)||void 0===e?void 0:e.iframe)||void 0===n?void 0:n.contentWindow;if(s&&s===t.source){switch(t.data.msg){case Q.CUSTOM_MESSAGE:{const e=t.data.data,n=e.id;delete e.id,this.dispatch(k.CUSTOM_MESSAGE,i,{id:n,_metaData:{},data:e})}break;case Q.GET_CONTEXT:s.postMessage({msg:Q.SEND_CONTEXT_HANDSHAKE,context:i.context||{},authData:i.authData||{}},t.origin);break;case Q.NAVIGATION_REQUEST:this.dispatch(k.NAVIGATION_REQUEST,i,t.data.params);break;case Q.ALERT_REQUEST:this.dispatch(k.ALERT_REQUEST,i,t);break;case Q.INITIALIZED:this.dispatch(k.INITIALIZED,i,t.data.params);break;case Q.ADD_SEARCH_PARAMS_REQUEST:this.dispatch(k.ADD_SEARCH_PARAMS_REQUEST,i,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case Q.ADD_NODE_PARAMS_REQUEST:this.dispatch(k.ADD_NODE_PARAMS_REQUEST,i,{data:t.data.data,keepBrowserHistory:t.data.keepBrowserHistory});break;case Q.SHOW_CONFIRMATION_MODAL_REQUEST:this.dispatch(k.SHOW_CONFIRMATION_MODAL_REQUEST,i,t.data.data);break;case Q.SHOW_LOADING_INDICATOR_REQUEST:this.dispatch(k.SHOW_LOADING_INDICATOR_REQUEST,i,t);break;case Q.HIDE_LOADING_INDICATOR_REQUEST:this.dispatch(k.HIDE_LOADING_INDICATOR_REQUEST,i,t);break;case Q.SET_CURRENT_LOCALE_REQUEST:this.dispatch(k.SET_CURRENT_LOCALE_REQUEST,i,t);break;case Q.LOCAL_STORAGE_SET_REQUEST:this.dispatch(k.LOCAL_STORAGE_SET_REQUEST,i,t);break;case Q.RUNTIME_ERROR_HANDLING_REQUEST:this.dispatch(k.RUNTIME_ERROR_HANDLING_REQUEST,i,t);break;case Q.SET_ANCHOR_LINK_REQUEST:this.dispatch(k.SET_ANCHOR_LINK_REQUEST,i,t);break;case Q.SET_THIRD_PARTY_COOKIES_REQUEST:this.dispatch(k.SET_THIRD_PARTY_COOKIES_REQUEST,i,t);break;case Q.BACK_NAVIGATION_REQUEST:this.dispatch(k.BACK_NAVIGATION_REQUEST,i,t);break;case Q.GET_CURRENT_ROUTE_REQUEST:this.dispatch(k.GET_CURRENT_ROUTE_REQUEST,i,t);break;case Q.NAVIGATION_COMPLETED_REPORT:this.dispatch(k.NAVIGATION_COMPLETED_REPORT,i,t);break;case Q.UPDATE_MODAL_PATH_DATA_REQUEST:this.dispatch(k.UPDATE_MODAL_PATH_DATA_REQUEST,i,t);break;case Q.CHECK_PATH_EXISTS_REQUEST:this.dispatch(k.CHECK_PATH_EXISTS_REQUEST,i,t);break;case Q.SET_DIRTY_STATUS_REQUEST:this.dispatch(k.SET_DIRTY_STATUS_REQUEST,i,t)}}}},window.addEventListener("message",globalThis.__luigi_container_manager.messageListener)),globalThis.__luigi_container_manager}registerContainer(t){this.getContainerManager().container.push(t)}}const W=new H;class G{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 B extends G{constructor(t){super(t||{use:{}}),t&&t.use&&t.use.extends&&(this.superRenderer=V({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 j extends G{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 V=t=>{const e=t.use;return e?"grid"===e?new j(t):e.createCompoundContainer||e.createCompoundItemContainer||e.attachCompoundItem?new B(t):new G(t):new G(t)},F=(t,e,n,i)=>{(null==e?void 0: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 q(t){return String(t).replaceAll("&lt;","<").replaceAll("&gt;",">").replaceAll("&quot;",'"').replaceAll("&#39;","'").replaceAll("&sol;","/")}class K{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=Object.assign({fromContext:t,fromClosestContext:e,fromVirtualTreeRoot:n,fromParent:i,nodeParams:s},r);this.dispatchLuigiEvent(k.NAVIGATION_REQUEST,Object.assign({link:o},a))},navigateToIntent:(t,e={})=>{var n;let i="#?intent=";if(i+=t,e&&(null===(n=Object.keys(e))||void 0===n?void 0:n.length)){const t=Object.entries(e);if(t.length>0){i+="?";for(const[e,n]of t)i+=e+"="+n+"&";i=i.slice(0,-1)}}o.navigate(i)},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(k.GET_CURRENT_ROUTE_REQUEST,this.thisComponent,Object.assign({},o),(n=>{n?t(n):e("No current route received.")}),"callback")}))},withParams:t=>(s=t,o),updateTopNavigation:()=>{this.dispatchLuigiEvent(k.UPDATE_TOP_NAVIGATION_REQUEST,{})},pathExists:()=>new Promise(((t,e)=>{this.containerService.dispatch(k.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(k.GO_BACK_REQUEST,t)},hasBack:()=>!1};return o},uxManager:()=>({showAlert:t=>{this.dispatchLuigiEvent(k.ALERT_REQUEST,t)},showConfirmationModal:t=>new Promise(((e,n)=>{this.containerService.dispatch(k.SHOW_CONFIRMATION_MODAL_REQUEST,this.thisComponent,t,(t=>{t?e(t):n(new Error("No data"))}),"callback")})),getCurrentTheme:()=>this.thisComponent.theme,closeUserSettings:()=>{this.dispatchLuigiEvent(k.CLOSE_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},openUserSettings:()=>{this.dispatchLuigiEvent(k.OPEN_USER_SETTINGS_REQUEST,this.thisComponent.userSettings)},collapseLeftSideNav:()=>{this.dispatchLuigiEvent(k.COLLAPSE_LEFT_NAV_REQUEST,{})},getDirtyStatus:()=>this.thisComponent.dirtyStatus||!1,getDocumentTitle:()=>this.thisComponent.documentTitle,setDocumentTitle:t=>{this.dispatchLuigiEvent(k.SET_DOCUMENT_TITLE_REQUEST,t)},removeBackdrop:()=>{this.dispatchLuigiEvent(k.REMOVE_BACKDROP_REQUEST,{})},hideAppLoadingIndicator:()=>{this.dispatchLuigiEvent(k.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(k.CUSTOM_MESSAGE,o)},luigiClientInit:()=>{this.dispatchLuigiEvent(k.INITIALIZED,{})},addNodeParams:(t,e)=>{s||this.dispatchLuigiEvent(k.ADD_NODE_PARAMS_REQUEST,{params:t,keepBrowserHistory:e})},getNodeParams:t=>{return s?{}:t?(e=this.thisComponent.nodeParams,Object.entries(e).reduce(((t,e)=>(t[q(e[0])]=q(e[1]),t)),{})):this.thisComponent.nodeParams||{};var e},setAnchor:t=>{s||this.dispatchLuigiEvent(k.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(k.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){var r;const a=this.processViewUrl(t,{context:n}),c=(null===(r=null==i?void 0:i.webcomponent)||void 0===r?void 0:r.tagName)||this.generateWCId(a),u=document.createElement("div");e.appendChild(u),e._luigi_node=i,window.customElements.get(c)?this.attachWC(c,u,e,n,a,s,o):window.luigiWCFn?window.luigiWCFn(a,c,u,(()=>{this.attachWC(c,u,e,n,a,s,o)})):i.webcomponent&&i.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(i,a,(()=>{this.attachWC(c,u,e,n,a,s,o)})):this.registerWCFromUrl(a,c).then((()=>{this.attachWC(c,u,e,n,a,s,o)})).catch((t=>{console.warn("ERROR =>",t),this.containerService.dispatch(k.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}createCompoundContainerAsync(t,e,n){return new Promise(((i,s)=>{var o;if(t.viewUrl)try{const s=(null===(o=null==n?void 0:n.webcomponent)||void 0===o?void 0:o.tagName)||this.generateWCId(t.viewUrl);n.webcomponent&&n.webcomponent.selfRegistered?this.includeSelfRegisteredWCFromUrl(n,t.viewUrl,(()=>{const n=document.createElement(s);n.setAttribute("lui_web_component",!0),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",!0),this.initWC(n,s,n,t.viewUrl,e,"_root"),i(n)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(k.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}catch(t){s(t)}else i(t.createCompoundContainer())}))}renderWebComponentCompound(t,e,n){var i;let s;return t.webcomponent&&t.viewUrl?(s=new G,s.viewUrl=this.processViewUrl(t.viewUrl,{context:n}),s.createCompoundItemContainer=t=>{const e=document.createElement("div");return t&&t.slot&&e.setAttribute("slot",t.slot),e}):(null===(i=t.compound)||void 0===i?void 0:i.renderer)&&(s=V(t.compound.renderer)),s=s||new G,new Promise((i=>{this.createCompoundContainerAsync(s,n,t).then((o=>{var r;e._luigi_mfe_webcomponent=o,e._luigi_node=t;const a={};o.eventBus={listeners:a,onPublishEvent:(t,e,n)=>{const i=a[e+"."+t.type]||[];i.push(...a["*."+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)}))}},null===(r=t.compound)||void 0===r||r.children.forEach(((t,e)=>{const i=Object.assign(Object.assign({},n),t.context),r=s.createCompoundItemContainer(t.layoutConfig);r.eventBus=o.eventBus,s.attachCompoundItem(o,r);const c=t.id||"gen_"+e;this.renderWebComponent(t.viewUrl,r,i,t,c,!0),F(a,t,c)})),e.appendChild(o),F(a,t.compound,"_root",o),i(o)})).catch((t=>{console.warn("Error: ",t),this.containerService.dispatch(k.RUNTIME_ERROR_HANDLING_REQUEST,this.thisComponent,t)}))}))}}const X=new class{constructor(){this.updateContext=(t,e,n)=>{if(n){const i=e||{};W.sendCustomMessageToIframe(n,{context:t,internal:i,withoutSync:!0},Q.SEND_CONTEXT_OBJECT)}else console.warn("Attempting to update context on inexisting iframe")},this.updateAuthData=(t,e)=>{t&&e?W.sendCustomMessageToIframe(t,{authData:e},Q.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=Object.assign({},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},Q.ALERT_CLOSED)}},z=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(" ")};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=z(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[26](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=z(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[26](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[27](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[27](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:S}=e,{sandboxRules:f}=e,{searchParams:C}=e,{skipInitCheck:R}=e,{theme:b}=e,{userSettings:w}=e,{viewurl:A}=e,{webcomponent:I}=e;const v={};let O,U=!1;const N=new K,L=t=>{if(!U){t.sendCustomMessage=(e,n)=>{X.sendCustomMessage(e,t.getNoShadow()?t:O,!!I,v,n)},t.updateContext=(e,n)=>{I?(t.getNoShadow()?t:O)._luigi_mfe_webcomponent.context=e:X.updateContext(e,n,v)},t.closeAlert=(t,e)=>{X.closeAlert(t,e,v)},W.registerContainer(t),N.thisComponent=t;const e=M.resolveContext(c);if(I&&"false"!=I){if(t.getNoShadow())t.innerHTML="";else{n(6,O.innerHTML="",O);t.attachShadow({mode:"open"}).append(O)}const i=M.checkWebcomponentValue(I);N.renderWebComponent(A,t.getNoShadow()?t:O,e,"object"==typeof i?{webcomponent:i}:{})}else if(!t.getNoShadow()){t.innerHTML="";t.attachShadow({mode:"open"}).append(O)}R?(t.initialized=!0,setTimeout((()=>{N.dispatchLuigiEvent(k.INITIALIZED,{})}))):I&&(t.getNoShadow()?t:O).addEventListener("wc_ready",(()=>{var e;(null===(e=(t.getNoShadow()?t:O)._luigi_mfe_webcomponent)||void 0===e?void 0:e.deferLuigiClientWCInit)||(t.initialized=!0,N.dispatchLuigiEvent(k.INITIALIZED,{}))})),n(7,U=!0),t.containerInitialized=!0}};var y;return _((async()=>{const t=O.parentNode;t.iframeHandle=v,t.init=()=>{L(t)},u||L(t)})),y=async()=>{},g().$$.on_destroy.push(y),t.$$set=t=>{"activeFeatureToggleList"in t&&n(8,i=t.activeFeatureToggleList),"allowRules"in t&&n(0,s=t.allowRules),"anchor"in t&&n(9,o=t.anchor),"authData"in t&&n(10,r=t.authData),"clientPermissions"in t&&n(11,a=t.clientPermissions),"context"in t&&n(12,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,S=t.pathParams),"sandboxRules"in t&&n(2,f=t.sandboxRules),"searchParams"in t&&n(21,C=t.searchParams),"skipInitCheck"in t&&n(22,R=t.skipInitCheck),"theme"in t&&n(23,b=t.theme),"userSettings"in t&&n(24,w=t.userSettings),"viewurl"in t&&n(3,A=t.viewurl),"webcomponent"in t&&n(4,I=t.webcomponent)},[s,m,f,A,I,v,O,U,i,o,r,a,c,u,l,h,d,p,E,$,S,C,R,b,w,()=>i&&s&&o&&r&&a&&l&&h&&d&&p&&E&&$&&S&&f&&C&&R&&b&&w,function(t){T[t?"unshift":"push"]((()=>{v.iframe=t,n(5,v)}))},function(t){T[t?"unshift":"push"]((()=>{O=t,n(6,O)}))}]}class et extends D{constructor(t){super(),L(this,t,tt,Y,o,{activeFeatureToggleList:8,allowRules:0,anchor:9,authData:10,clientPermissions:11,context:12,deferInit:13,dirtyStatus:14,documentTitle:15,hasBack:16,label:1,locale:17,noShadow:18,nodeParams:19,pathParams:20,sandboxRules:2,searchParams:21,skipInitCheck:22,theme:23,userSettings:24,viewurl:3,webcomponent:4,unwarn:25})}get activeFeatureToggleList(){return this.$$.ctx[8]}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[9]}set anchor(t){this.$$set({anchor:t}),I()}get authData(){return this.$$.ctx[10]}set authData(t){this.$$set({authData:t}),I()}get clientPermissions(){return this.$$.ctx[11]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get context(){return this.$$.ctx[12]}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 skipInitCheck(){return this.$$.ctx[22]}set skipInitCheck(t){this.$$set({skipInitCheck:t}),I()}get theme(){return this.$$.ctx[23]}set theme(t){this.$$set({theme:t}),I()}get userSettings(){return this.$$.ctx[24]}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[25]}}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:S}=e,{skipInitCheck:f}=e,{theme:C}=e,{userSettings:R}=e,{viewurl:b}=e,{webcomponent:w}=e,A=!1;const I=new H,v=new K,O=t=>{if(!c||A)return;t.updateContext=(e,n)=>{const s=t.getNoShadow()?t:i;s._luigi_mfe_webcomponent.context=e;const o=s._luigi_mfe_webcomponent;if(o){const t=o.querySelectorAll("[lui_web_component]");null==t||t.forEach((t=>{const n=t.context||{};t.context=Object.assign(n,e)}))}};const e=M.resolveContext(u);n(1,l=!1);const o={compound:c,viewUrl:b,webcomponent:M.checkWebcomponentValue(w)||!0};if(t.getNoShadow())t.innerHTML="";else{n(0,i.innerHTML="",i);t.attachShadow({mode:"open"}).append(i)}v.renderWebComponentCompound(o,t.getNoShadow()?t:i,e).then((e=>{s=e,f||!o.viewUrl?(t.initialized=!0,setTimeout((()=>{v.dispatchLuigiEvent(k.INITIALIZED,{})}))):s.LuigiClient&&!s.deferLuigiClientWCInit&&(t.initialized=!0,v.dispatchLuigiEvent(k.INITIALIZED,{}))})),A=!0,t.containerInitialized=!0};return _((async()=>{const t=i.getRootNode()===document?i.parentNode:i.getRootNode().host;t.init=()=>{O(t)},l||O(t),I.registerContainer(t),v.thisComponent=t})),t.$$set=t=>{"activeFeatureToggleList"in t&&n(2,o=t.activeFeatureToggleList),"anchor"in t&&n(3,r=t.anchor),"clientPermissions"in t&&n(4,a=t.clientPermissions),"compoundConfig"in t&&n(5,c=t.compoundConfig),"context"in t&&n(6,u=t.context),"deferInit"in t&&n(1,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,S=t.searchParams),"skipInitCheck"in t&&n(15,f=t.skipInitCheck),"theme"in t&&n(16,C=t.theme),"userSettings"in t&&n(17,R=t.userSettings),"viewurl"in t&&n(18,b=t.viewurl),"webcomponent"in t&&n(19,w=t.webcomponent)},[i,l,o,r,a,c,u,h,d,m,p,E,g,$,S,f,C,R,b,w,()=>o&&r&&a&&h&&d&&m&&p&&E&&g&&$&&S&&f&&C&&R,function(t){T[t?"unshift":"push"]((()=>{i=t,n(0,i)}))}]}P(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"},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");closeAlert=e("closeAlert");attributeChangedCallback(t,e,n){this.containerInitialized&&("context"===t&&this.updateContext(JSON.parse(n)),"auth-data"===t&&X.updateAuthData(this.iframeHandle,JSON.parse(n)))}getNoShadow(){return this.hasAttribute("no-shadow")||this.noShadow}}}));class ot extends D{constructor(t){super(),L(this,t,st,it,o,{activeFeatureToggleList:2,anchor:3,clientPermissions:4,compoundConfig:5,context:6,deferInit:1,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[2]}set activeFeatureToggleList(t){this.$$set({activeFeatureToggleList:t}),I()}get anchor(){return this.$$.ctx[3]}set anchor(t){this.$$set({anchor:t}),I()}get clientPermissions(){return this.$$.ctx[4]}set clientPermissions(t){this.$$set({clientPermissions:t}),I()}get compoundConfig(){return this.$$.ctx[5]}set compoundConfig(t){this.$$set({compoundConfig:t}),I()}get context(){return this.$$.ctx[6]}set context(t){this.$$set({context:t}),I()}get deferInit(){return this.$$.ctx[1]}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]}}P(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:{}},[],["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=k;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};
2
2
  //# sourceMappingURL=bundle.js.map