@telia-ace/widget-runtime-flamingo 1.1.115-rc.6 → 1.1.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{index-C4YLyWNb.js → index-BezgZo_3.js} +29 -29
- package/{index-B1Q3-FOo.mjs → index-Cw8NCTNJ.mjs} +495 -491
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
- package/{render-DLEyw4or.js → render-DI802BBI.js} +9 -9
- package/{render-eH_r3UNl.mjs → render-hJFIawxF.mjs} +29 -29
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Mt = (i, t, e, ...s) => {
|
|
2
2
|
const n = `[${i.get("$environment").name || "webprovisions"}] ${e}`;
|
|
3
3
|
switch (t) {
|
|
4
4
|
case "info":
|
|
@@ -11,16 +11,16 @@ const Nt = (i, t, e, ...s) => {
|
|
|
11
11
|
console.error(n, ...s);
|
|
12
12
|
break;
|
|
13
13
|
}
|
|
14
|
-
},
|
|
14
|
+
}, Be = (i) => {
|
|
15
15
|
const t = i.container || i;
|
|
16
16
|
return {
|
|
17
|
-
info: (e, ...s) =>
|
|
18
|
-
warn: (e, ...s) =>
|
|
19
|
-
error: (e, ...s) =>
|
|
17
|
+
info: (e, ...s) => Mt(t, "info", e, ...s),
|
|
18
|
+
warn: (e, ...s) => Mt(t, "warning", e, ...s),
|
|
19
|
+
error: (e, ...s) => Mt(t, "error", e, ...s)
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
var
|
|
23
|
-
const
|
|
22
|
+
var X = /* @__PURE__ */ ((i) => (i.Implementation = "implementation", i.Widget = "widget", i))(X || {}), N = /* @__PURE__ */ ((i) => (i.Pre = "pre", i.Post = "post", i))(N || {});
|
|
23
|
+
const We = (i, t, e, s) => {
|
|
24
24
|
try {
|
|
25
25
|
const n = new t(e, s);
|
|
26
26
|
return {
|
|
@@ -44,23 +44,23 @@ const Be = (i, t, e, s) => {
|
|
|
44
44
|
throw n;
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
function
|
|
47
|
+
function re(i, t) {
|
|
48
48
|
return typeof i > "u" ? t : i;
|
|
49
49
|
}
|
|
50
|
-
let
|
|
50
|
+
let qe = class {
|
|
51
51
|
constructor(t = {}) {
|
|
52
52
|
this.part = t;
|
|
53
53
|
}
|
|
54
54
|
createCommand(t, e, s) {
|
|
55
55
|
let n;
|
|
56
56
|
typeof e == "function" ? n = {
|
|
57
|
-
scope:
|
|
57
|
+
scope: X.Widget,
|
|
58
58
|
stage: N.Post,
|
|
59
59
|
defaultArgs: void 0,
|
|
60
60
|
handlerResolver: e
|
|
61
61
|
} : n = {
|
|
62
|
-
scope:
|
|
63
|
-
stage:
|
|
62
|
+
scope: re(e.scope, X.Widget),
|
|
63
|
+
stage: re(e.stage, N.Post),
|
|
64
64
|
defaultArgs: e.defaultArgs,
|
|
65
65
|
handlerResolver: s
|
|
66
66
|
};
|
|
@@ -75,13 +75,13 @@ let We = class {
|
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
const xe = (i) => {
|
|
78
|
-
const t = new
|
|
78
|
+
const t = new qe({});
|
|
79
79
|
return i(t), t.get();
|
|
80
80
|
};
|
|
81
81
|
xe((i) => {
|
|
82
82
|
i.createCommand(
|
|
83
83
|
"types.register",
|
|
84
|
-
{ scope:
|
|
84
|
+
{ scope: X.Implementation, stage: N.Pre },
|
|
85
85
|
(t) => (e, s) => {
|
|
86
86
|
t.container.get("$types")[e] = s;
|
|
87
87
|
}
|
|
@@ -116,7 +116,7 @@ xe((i) => {
|
|
|
116
116
|
a
|
|
117
117
|
) : s;
|
|
118
118
|
try {
|
|
119
|
-
const p =
|
|
119
|
+
const p = We(
|
|
120
120
|
o,
|
|
121
121
|
a,
|
|
122
122
|
r,
|
|
@@ -124,7 +124,7 @@ xe((i) => {
|
|
|
124
124
|
);
|
|
125
125
|
r.get("$plugins").push(p), l && p.invoke("initialize", null);
|
|
126
126
|
} catch (p) {
|
|
127
|
-
|
|
127
|
+
Be(t).warn("Error when initializing plugin", p);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
t.container.get("$instance") ? c(!0) : t.events.subscribeOnce("widget:instance-created", () => c(!1));
|
|
@@ -157,34 +157,34 @@ xe((i) => {
|
|
|
157
157
|
}
|
|
158
158
|
);
|
|
159
159
|
});
|
|
160
|
-
function
|
|
160
|
+
function Je(i) {
|
|
161
161
|
const t = {};
|
|
162
162
|
return [].filter.call(i.attributes, (e) => /^data-/.test(e.name)).map((e) => e.name).forEach((e) => t[e.substr(5)] = i.getAttribute(e)), t;
|
|
163
163
|
}
|
|
164
|
-
const
|
|
165
|
-
const s =
|
|
164
|
+
const Fe = (i, t, e) => {
|
|
165
|
+
const s = Je(i);
|
|
166
166
|
e({
|
|
167
167
|
sourceDOMElement: i,
|
|
168
168
|
eventType: t,
|
|
169
169
|
data: s
|
|
170
170
|
});
|
|
171
171
|
};
|
|
172
|
-
function
|
|
172
|
+
function oe(i, t, e) {
|
|
173
173
|
i.forEach((s) => {
|
|
174
|
-
s.dataset.attached !== "true" && (
|
|
174
|
+
s.dataset.attached !== "true" && (Fe(s, t, e), s.dataset.monitored = "true");
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ke(i, t, e) {
|
|
178
178
|
const s = i.container.get("bootstrapping.monitor");
|
|
179
179
|
s && s.events.subscribe("bootstrap:trigger-elements-updated", (r, o) => {
|
|
180
|
-
|
|
180
|
+
oe(
|
|
181
181
|
o.triggerElements,
|
|
182
182
|
t,
|
|
183
183
|
e
|
|
184
184
|
);
|
|
185
185
|
});
|
|
186
186
|
const n = i.container.get("triggerElements");
|
|
187
|
-
n &&
|
|
187
|
+
n && oe(
|
|
188
188
|
n,
|
|
189
189
|
t,
|
|
190
190
|
e
|
|
@@ -193,7 +193,7 @@ function Fe(i, t, e) {
|
|
|
193
193
|
xe((i) => {
|
|
194
194
|
i.createCommand(
|
|
195
195
|
"ready",
|
|
196
|
-
{ scope:
|
|
196
|
+
{ scope: X.Implementation, stage: N.Pre },
|
|
197
197
|
(t) => (e) => {
|
|
198
198
|
const { container: s } = t, n = s.owner;
|
|
199
199
|
s.get("bootstrapping").ready ? e(n) : n.events.subscribeOnce("bootstrap:ready", () => {
|
|
@@ -202,7 +202,7 @@ xe((i) => {
|
|
|
202
202
|
}
|
|
203
203
|
);
|
|
204
204
|
});
|
|
205
|
-
const
|
|
205
|
+
const Dt = (i, t, e, ...s) => {
|
|
206
206
|
const n = `[${i.get("$environment").name || "webprovisions"}] ${e}`;
|
|
207
207
|
switch (t) {
|
|
208
208
|
case "info":
|
|
@@ -215,16 +215,16 @@ const Mt = (i, t, e, ...s) => {
|
|
|
215
215
|
console.error(n, ...s);
|
|
216
216
|
break;
|
|
217
217
|
}
|
|
218
|
-
},
|
|
218
|
+
}, Ge = (i) => {
|
|
219
219
|
const t = i.container || i;
|
|
220
220
|
return {
|
|
221
|
-
info: (e, ...s) =>
|
|
222
|
-
warn: (e, ...s) =>
|
|
223
|
-
error: (e, ...s) =>
|
|
221
|
+
info: (e, ...s) => Dt(t, "info", e, ...s),
|
|
222
|
+
warn: (e, ...s) => Dt(t, "warning", e, ...s),
|
|
223
|
+
error: (e, ...s) => Dt(t, "error", e, ...s)
|
|
224
224
|
};
|
|
225
225
|
};
|
|
226
|
-
var
|
|
227
|
-
const
|
|
226
|
+
var yt = /* @__PURE__ */ ((i) => (i.Implementation = "implementation", i.Widget = "widget", i))(yt || {}), R = /* @__PURE__ */ ((i) => (i.Pre = "pre", i.Post = "post", i))(R || {});
|
|
227
|
+
const Ye = (i, t, e, s) => {
|
|
228
228
|
try {
|
|
229
229
|
const n = new t(e, s);
|
|
230
230
|
return {
|
|
@@ -248,23 +248,23 @@ const Ge = (i, t, e, s) => {
|
|
|
248
248
|
throw n;
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
|
-
function
|
|
251
|
+
function ae(i, t) {
|
|
252
252
|
return typeof i > "u" ? t : i;
|
|
253
253
|
}
|
|
254
|
-
class
|
|
254
|
+
class Ze {
|
|
255
255
|
constructor(t = {}) {
|
|
256
256
|
this.part = t;
|
|
257
257
|
}
|
|
258
258
|
createCommand(t, e, s) {
|
|
259
259
|
let n;
|
|
260
260
|
typeof e == "function" ? n = {
|
|
261
|
-
scope:
|
|
261
|
+
scope: yt.Widget,
|
|
262
262
|
stage: R.Post,
|
|
263
263
|
defaultArgs: void 0,
|
|
264
264
|
handlerResolver: e
|
|
265
265
|
} : n = {
|
|
266
|
-
scope:
|
|
267
|
-
stage:
|
|
266
|
+
scope: ae(e.scope, yt.Widget),
|
|
267
|
+
stage: ae(e.stage, R.Post),
|
|
268
268
|
defaultArgs: e.defaultArgs,
|
|
269
269
|
handlerResolver: s
|
|
270
270
|
};
|
|
@@ -278,14 +278,14 @@ class Ye {
|
|
|
278
278
|
return this.part;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
|
-
const
|
|
282
|
-
const t = new
|
|
281
|
+
const Ft = (i) => {
|
|
282
|
+
const t = new Ze({});
|
|
283
283
|
return i(t), t.get();
|
|
284
284
|
};
|
|
285
|
-
|
|
285
|
+
Ft((i) => {
|
|
286
286
|
i.createCommand(
|
|
287
287
|
"types.register",
|
|
288
|
-
{ scope:
|
|
288
|
+
{ scope: yt.Implementation, stage: R.Pre },
|
|
289
289
|
(t) => (e, s) => {
|
|
290
290
|
t.container.get("$types")[e] = s;
|
|
291
291
|
}
|
|
@@ -320,7 +320,7 @@ Jt((i) => {
|
|
|
320
320
|
a
|
|
321
321
|
) : s;
|
|
322
322
|
try {
|
|
323
|
-
const p =
|
|
323
|
+
const p = Ye(
|
|
324
324
|
o,
|
|
325
325
|
a,
|
|
326
326
|
r,
|
|
@@ -328,7 +328,7 @@ Jt((i) => {
|
|
|
328
328
|
);
|
|
329
329
|
r.get("$plugins").push(p), l && p.invoke("initialize", null);
|
|
330
330
|
} catch (p) {
|
|
331
|
-
|
|
331
|
+
Ge(t).warn("Error when initializing plugin", p);
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
334
|
t.container.get("$instance") ? c(!0) : t.events.subscribeOnce("widget:instance-created", () => c(!1));
|
|
@@ -361,8 +361,8 @@ Jt((i) => {
|
|
|
361
361
|
}
|
|
362
362
|
);
|
|
363
363
|
});
|
|
364
|
-
var
|
|
365
|
-
class
|
|
364
|
+
var Ee = /* @__PURE__ */ ((i) => (i.Activating = "activating", i.Loading = "loading", i.Activated = "activated", i.Deactivating = "deactivating", i.Deactivated = "deactivated", i))(Ee || {});
|
|
365
|
+
class Qe {
|
|
366
366
|
/**
|
|
367
367
|
* Creates a new `Widget` instance.
|
|
368
368
|
* @param container The `Container` instance to base the widget upon.
|
|
@@ -373,29 +373,29 @@ class Ze {
|
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
const
|
|
376
|
+
const At = (i, t, ...e) => typeof t == "string" ? i(`[humany] ${t}`, ...e) : i(t, ...e), G = class {
|
|
377
377
|
constructor() {
|
|
378
|
-
this.keys = [], this.log = (t, ...e) => this.lookup(t, () =>
|
|
378
|
+
this.keys = [], this.log = (t, ...e) => this.lookup(t, () => G.log(...e)), this.warn = (t, ...e) => this.lookup(t, () => G.warn(...e)), this.error = (t, ...e) => this.lookup(t, () => G.error(...e)), this.info = (t, ...e) => this.lookup(t, () => G.info(...e));
|
|
379
379
|
}
|
|
380
380
|
lookup(t, e) {
|
|
381
381
|
this.keys.indexOf(t) === -1 && (this.keys.push(t), e());
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
|
-
let v =
|
|
385
|
-
v.log = (...i) =>
|
|
386
|
-
v.warn = (...i) =>
|
|
387
|
-
v.error = (...i) =>
|
|
388
|
-
v.info = (...i) =>
|
|
389
|
-
const
|
|
384
|
+
let v = G;
|
|
385
|
+
v.log = (...i) => At(console.log, ...i);
|
|
386
|
+
v.warn = (...i) => At(console.warn, ...i);
|
|
387
|
+
v.error = (...i) => At(console.error, ...i);
|
|
388
|
+
v.info = (...i) => At(console.info, ...i);
|
|
389
|
+
const Ce = (i) => {
|
|
390
390
|
let t = {}, e, s;
|
|
391
391
|
if (typeof i != "object" || i === null)
|
|
392
392
|
return i;
|
|
393
393
|
t = Array.isArray(i) ? [] : {};
|
|
394
394
|
for (s in i)
|
|
395
|
-
e = i[s], t[s] = typeof e == "object" && e !== null ?
|
|
395
|
+
e = i[s], t[s] = typeof e == "object" && e !== null ? Ce(e) : e;
|
|
396
396
|
return t;
|
|
397
397
|
};
|
|
398
|
-
function
|
|
398
|
+
function ce(i) {
|
|
399
399
|
let t = 0;
|
|
400
400
|
if (i.length === 0)
|
|
401
401
|
return t.toString();
|
|
@@ -405,7 +405,7 @@ function ae(i) {
|
|
|
405
405
|
}
|
|
406
406
|
return t.toString();
|
|
407
407
|
}
|
|
408
|
-
let
|
|
408
|
+
let Xe = class {
|
|
409
409
|
constructor(t, e) {
|
|
410
410
|
this.lockWarningTime = t, this.lockErrorTime = e, this.tasks = [], this.current = Promise.resolve(), this.next = this.next.bind(this);
|
|
411
411
|
}
|
|
@@ -435,16 +435,16 @@ let Qe = class {
|
|
|
435
435
|
});
|
|
436
436
|
}
|
|
437
437
|
};
|
|
438
|
-
const
|
|
439
|
-
function
|
|
440
|
-
return
|
|
441
|
-
const o =
|
|
438
|
+
const ht = /* @__PURE__ */ new WeakMap();
|
|
439
|
+
function x(i, t = 5e3, e = 1e3) {
|
|
440
|
+
return ht.has(i) || ht.set(i, new Xe(t, e)), (s) => new Promise((n, r) => {
|
|
441
|
+
const o = ht.get(i);
|
|
442
442
|
o.add(s, n, r, () => {
|
|
443
|
-
o.tasks.length ||
|
|
443
|
+
o.tasks.length || ht.delete(i);
|
|
444
444
|
});
|
|
445
445
|
});
|
|
446
446
|
}
|
|
447
|
-
const
|
|
447
|
+
const ts = (i, t) => {
|
|
448
448
|
const e = () => t.querySelectorAll("[data-loading=true]").length > 0, s = /* @__PURE__ */ (() => {
|
|
449
449
|
let n = !1;
|
|
450
450
|
return () => {
|
|
@@ -464,7 +464,7 @@ const Xe = (i, t) => {
|
|
|
464
464
|
childList: !0,
|
|
465
465
|
subtree: !0
|
|
466
466
|
});
|
|
467
|
-
},
|
|
467
|
+
}, es = (i, t) => {
|
|
468
468
|
i.get("$widget").container.getAsync("components").then((e) => {
|
|
469
469
|
e.events.subscribeOnce(
|
|
470
470
|
"components:component-model-initialized",
|
|
@@ -482,7 +482,7 @@ const Xe = (i, t) => {
|
|
|
482
482
|
const d = l.getAttribute && l.getAttribute("data-name");
|
|
483
483
|
return d && s.indexOf(d) > -1 && c.push(d), c;
|
|
484
484
|
}, []);
|
|
485
|
-
s = s.filter((c) => h.indexOf(c) === -1), !n && s.length === 0 && (n = !0,
|
|
485
|
+
s = s.filter((c) => h.indexOf(c) === -1), !n && s.length === 0 && (n = !0, ts(i, t), o.disconnect());
|
|
486
486
|
}
|
|
487
487
|
});
|
|
488
488
|
}).observe(t, {
|
|
@@ -497,10 +497,10 @@ const Xe = (i, t) => {
|
|
|
497
497
|
);
|
|
498
498
|
});
|
|
499
499
|
}, O = () => Math.floor((1 + Math.random()) * 65536).toString(16).substring(1);
|
|
500
|
-
function
|
|
500
|
+
function nt() {
|
|
501
501
|
return O() + O() + "-" + O() + "-" + O() + "-" + O() + "-" + O() + O() + O();
|
|
502
502
|
}
|
|
503
|
-
class
|
|
503
|
+
class ss {
|
|
504
504
|
constructor(t) {
|
|
505
505
|
const { events: e } = t.get("$widget");
|
|
506
506
|
this.events = e.createChild(this);
|
|
@@ -519,7 +519,7 @@ class es {
|
|
|
519
519
|
);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
const
|
|
522
|
+
const Oe = (i) => {
|
|
523
523
|
const t = [];
|
|
524
524
|
return [
|
|
525
525
|
(e, s) => {
|
|
@@ -532,7 +532,7 @@ const Ce = (i) => {
|
|
|
532
532
|
}
|
|
533
533
|
];
|
|
534
534
|
};
|
|
535
|
-
let
|
|
535
|
+
let q = class {
|
|
536
536
|
constructor(t, e = []) {
|
|
537
537
|
this.platform = t, this.rules = e;
|
|
538
538
|
}
|
|
@@ -546,16 +546,16 @@ let W = class {
|
|
|
546
546
|
return this.rules.push({ id: t }), this;
|
|
547
547
|
}
|
|
548
548
|
select() {
|
|
549
|
-
return new
|
|
549
|
+
return new is(this.platform, this);
|
|
550
550
|
}
|
|
551
|
-
},
|
|
551
|
+
}, Kt = class {
|
|
552
552
|
constructor(t, e, s) {
|
|
553
553
|
this.platform = t, this.node = e, this.actions = new xt(
|
|
554
554
|
t,
|
|
555
|
-
new
|
|
555
|
+
new q(t).withId(e.id),
|
|
556
556
|
s
|
|
557
557
|
);
|
|
558
|
-
const [n, r] =
|
|
558
|
+
const [n, r] = Oe(
|
|
559
559
|
this.platform.events
|
|
560
560
|
);
|
|
561
561
|
this.subscribe = n, this.unsubscribe = r;
|
|
@@ -586,7 +586,7 @@ let W = class {
|
|
|
586
586
|
this.unsubscribe(), this.actions.dispose();
|
|
587
587
|
}
|
|
588
588
|
};
|
|
589
|
-
class
|
|
589
|
+
class is {
|
|
590
590
|
constructor(t, e, s = !0) {
|
|
591
591
|
this.platform = t, this.target = e, this.clearOnDispose = s, this.removes = [], this.actions = new xt(this.platform, this.target);
|
|
592
592
|
}
|
|
@@ -626,7 +626,7 @@ class ss {
|
|
|
626
626
|
}), this.actions.dispose();
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
|
-
const
|
|
629
|
+
const ns = (i, t, e) => {
|
|
630
630
|
const s = i.concat(), n = (r, o, a) => {
|
|
631
631
|
let h = !0;
|
|
632
632
|
if (s.length) {
|
|
@@ -680,12 +680,12 @@ let xt = class {
|
|
|
680
680
|
)).map((c) => c.fn);
|
|
681
681
|
return Promise.all(
|
|
682
682
|
a.map((c) => {
|
|
683
|
-
const l = new
|
|
683
|
+
const l = new Kt(
|
|
684
684
|
this.platform,
|
|
685
685
|
c,
|
|
686
686
|
this.ns
|
|
687
687
|
);
|
|
688
|
-
return
|
|
688
|
+
return ns(h, e, l).then(
|
|
689
689
|
(d) => {
|
|
690
690
|
const { data: u = {}, options: p, cancelled: g } = d;
|
|
691
691
|
return Promise.resolve(
|
|
@@ -721,7 +721,7 @@ let xt = class {
|
|
|
721
721
|
this.subscriptions.forEach((t) => t());
|
|
722
722
|
}
|
|
723
723
|
};
|
|
724
|
-
|
|
724
|
+
Ft((i) => {
|
|
725
725
|
i.createCommand("components", (t) => (e) => {
|
|
726
726
|
t.events.subscribeOnce(
|
|
727
727
|
"components:platform-created",
|
|
@@ -733,9 +733,9 @@ Jt((i) => {
|
|
|
733
733
|
);
|
|
734
734
|
});
|
|
735
735
|
});
|
|
736
|
-
let
|
|
736
|
+
let Wt = class {
|
|
737
737
|
constructor(t, e) {
|
|
738
|
-
this.events = t, this.tags = [], this.children = {}, this.changesets = [], this.mountCount = 0, this.id =
|
|
738
|
+
this.events = t, this.tags = [], this.children = {}, this.changesets = [], this.mountCount = 0, this.id = nt(), this.type = e, this.attributes = {
|
|
739
739
|
context: {},
|
|
740
740
|
properties: {},
|
|
741
741
|
layout: {},
|
|
@@ -824,59 +824,59 @@ let Bt = class {
|
|
|
824
824
|
}), delete t.parent;
|
|
825
825
|
}
|
|
826
826
|
};
|
|
827
|
-
const
|
|
827
|
+
const Se = (i, t, e) => {
|
|
828
828
|
for (let s = 0, n = i.length; s < n && e(i[s]) !== !0; s++) {
|
|
829
829
|
const r = t[i[s].id] || "default", o = i[s].getChildren(r);
|
|
830
|
-
|
|
830
|
+
Se(o, t, e);
|
|
831
831
|
}
|
|
832
|
-
},
|
|
832
|
+
}, Et = (i, t, e) => {
|
|
833
833
|
if (e(i) !== !0) {
|
|
834
834
|
const s = t[i.id] || "default", n = i.children[s];
|
|
835
|
-
|
|
835
|
+
Se(n, t, e);
|
|
836
836
|
}
|
|
837
|
-
},
|
|
837
|
+
}, pt = (i, t) => {
|
|
838
838
|
const e = [];
|
|
839
|
-
return
|
|
839
|
+
return Et(i, t, (s) => {
|
|
840
840
|
e.push(s);
|
|
841
841
|
}), e;
|
|
842
|
-
},
|
|
842
|
+
}, Pe = (i, t, e) => {
|
|
843
843
|
let s;
|
|
844
|
-
return
|
|
844
|
+
return Et(i, t, (n) => {
|
|
845
845
|
if (e(n))
|
|
846
846
|
return s = n, !0;
|
|
847
847
|
}), s;
|
|
848
848
|
};
|
|
849
|
-
let
|
|
849
|
+
let rs = class {
|
|
850
850
|
constructor(t, e, s) {
|
|
851
851
|
this.root = t, this.switches = e, this.all = [], this.visible = [], this.detached = [], s.subscribe(
|
|
852
852
|
"components:node-appended",
|
|
853
853
|
(n, r) => {
|
|
854
|
-
this.all.push(r.node), this.visible =
|
|
854
|
+
this.all.push(r.node), this.visible = pt(t, e);
|
|
855
855
|
}
|
|
856
856
|
), s.subscribe(
|
|
857
857
|
"components:node-removed",
|
|
858
858
|
(n, r) => {
|
|
859
859
|
let o = this.all.indexOf(r.node);
|
|
860
|
-
o > -1 && this.all.splice(o, 1), o = this.visible.indexOf(r.node), o > -1 && this.visible.splice(o, 1), this.visible =
|
|
860
|
+
o > -1 && this.all.splice(o, 1), o = this.visible.indexOf(r.node), o > -1 && this.visible.splice(o, 1), this.visible = pt(t, e);
|
|
861
861
|
}
|
|
862
862
|
), s.subscribe(
|
|
863
863
|
"components:node-switched",
|
|
864
864
|
(n, r) => {
|
|
865
|
-
this.visible =
|
|
865
|
+
this.visible = pt(t, e);
|
|
866
866
|
}
|
|
867
867
|
);
|
|
868
868
|
}
|
|
869
869
|
query(t = {}) {
|
|
870
870
|
const e = [];
|
|
871
|
-
return
|
|
871
|
+
return Et(this.root, this.switches, (s) => {
|
|
872
872
|
Object.keys(t).every((n) => t[n] === s[n]) && e.push(s);
|
|
873
873
|
}), e;
|
|
874
874
|
}
|
|
875
875
|
get(t) {
|
|
876
|
-
return
|
|
876
|
+
return Pe(this.root, this.switches, (e) => e.id === t) || this.detached.find((e) => e.id === t);
|
|
877
877
|
}
|
|
878
878
|
};
|
|
879
|
-
class
|
|
879
|
+
class os {
|
|
880
880
|
constructor() {
|
|
881
881
|
this.handlers = /* @__PURE__ */ new Map();
|
|
882
882
|
}
|
|
@@ -887,61 +887,61 @@ class rs {
|
|
|
887
887
|
return this.handlers.get(t);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
const
|
|
890
|
+
const as = (i) => {
|
|
891
891
|
let t = i, e = 0;
|
|
892
892
|
for (; t.parent; )
|
|
893
893
|
e = e + 1, t = t.parent;
|
|
894
894
|
return e;
|
|
895
|
-
},
|
|
896
|
-
([t, e]) => [
|
|
897
|
-
).sort(([t], [e]) => t - e).map(([, t, e]) => [t, e]),
|
|
895
|
+
}, cs = (i) => i.map(
|
|
896
|
+
([t, e]) => [as(t), t, e]
|
|
897
|
+
).sort(([t], [e]) => t - e).map(([, t, e]) => [t, e]), Lt = (i) => i instanceof Date ? !1 : i && typeof i == "object" && !Array.isArray(i), E = (i, ...t) => {
|
|
898
898
|
if (!t.length)
|
|
899
899
|
return i;
|
|
900
900
|
const e = t.shift();
|
|
901
|
-
if (
|
|
901
|
+
if (Lt(i) && Lt(e))
|
|
902
902
|
for (const s in e)
|
|
903
|
-
|
|
903
|
+
Lt(e[s]) ? (i[s] || Object.assign(i, { [s]: {} }), E(i[s], e[s])) : Object.assign(i, { [s]: e[s] });
|
|
904
904
|
return E(i, ...t);
|
|
905
|
-
},
|
|
905
|
+
}, hs = (i, t) => !i || i === "all" ? !0 : i.some((e) => t.indexOf(e) > -1), ls = (i, t) => {
|
|
906
906
|
let e = [], s = [], n;
|
|
907
907
|
const r = () => {
|
|
908
908
|
process.env.NODE_ENV !== "production" && console.time("state-processor.flush");
|
|
909
|
-
const a = /* @__PURE__ */ new Map(), h =
|
|
909
|
+
const a = /* @__PURE__ */ new Map(), h = cs(
|
|
910
910
|
e.map((l, d) => [l, s[d]])
|
|
911
911
|
), c = (l, d) => {
|
|
912
912
|
var u;
|
|
913
|
-
const p = a.get(l) || {}, g = d.context && !p.context, b = d.properties && !p.properties,
|
|
913
|
+
const p = a.get(l) || {}, g = d.context && !p.context, b = d.properties && !p.properties, A = d.layout && !p.layout;
|
|
914
914
|
a.set(l, {
|
|
915
915
|
context: p.context || g,
|
|
916
916
|
properties: p.properties || b,
|
|
917
|
-
layout: p.layout ||
|
|
918
|
-
}), b && (l.attributes.properties = {}),
|
|
917
|
+
layout: p.layout || A
|
|
918
|
+
}), b && (l.attributes.properties = {}), A && (l.attributes.layout = {}), g && (l.attributes.context = E(
|
|
919
919
|
{},
|
|
920
920
|
(u = l.parent) == null ? void 0 : u.attributes.context
|
|
921
921
|
));
|
|
922
|
-
const
|
|
922
|
+
const ct = [], Pt = [], kt = [];
|
|
923
923
|
if (l.changesets.forEach((w) => {
|
|
924
|
-
const [$,
|
|
925
|
-
|
|
924
|
+
const [$, Nt] = w;
|
|
925
|
+
hs(Nt.breakpoints, i.breakpoints) && (b && (typeof $.properties == "function" ? ct.push(
|
|
926
926
|
$.properties
|
|
927
|
-
) : E(l.attributes.properties, $.properties)),
|
|
927
|
+
) : E(l.attributes.properties, $.properties)), A && (typeof $.layout == "function" ? Pt.push($.layout) : E(l.attributes.layout, $.layout)), g && (typeof $.context == "function" ? kt.push(
|
|
928
928
|
$.context
|
|
929
929
|
) : E(l.attributes.context, $.context)));
|
|
930
|
-
}),
|
|
930
|
+
}), ct.forEach((w) => {
|
|
931
931
|
E(
|
|
932
932
|
l.attributes.properties,
|
|
933
933
|
w(l.attributes.properties)
|
|
934
934
|
);
|
|
935
|
-
}), St.forEach((w) => {
|
|
936
|
-
E(l.attributes.layout, w(l.attributes.layout));
|
|
937
935
|
}), Pt.forEach((w) => {
|
|
936
|
+
E(l.attributes.layout, w(l.attributes.layout));
|
|
937
|
+
}), kt.forEach((w) => {
|
|
938
938
|
E(l.attributes.context, w(l.attributes.context));
|
|
939
939
|
}), g || d.recursive) {
|
|
940
940
|
const w = i.getBranch(l), $ = d.recursive ? d : {
|
|
941
941
|
context: !!g
|
|
942
942
|
};
|
|
943
|
-
l.getChildren(w).forEach((
|
|
944
|
-
c(
|
|
943
|
+
l.getChildren(w).forEach((Nt) => {
|
|
944
|
+
c(Nt, $);
|
|
945
945
|
});
|
|
946
946
|
}
|
|
947
947
|
};
|
|
@@ -960,12 +960,12 @@ const os = (i) => {
|
|
|
960
960
|
return e.push(a), s.push(h), o();
|
|
961
961
|
};
|
|
962
962
|
};
|
|
963
|
-
class
|
|
963
|
+
class rt {
|
|
964
964
|
constructor(t, e = {}) {
|
|
965
|
-
this.providers = e, this.breakpoints = [], this.actionsState = { handlers: [], watchers: [] }, this.switches = {}, this.changesets = [], this.subscriptions = [], this.customComponentHandler = new
|
|
966
|
-
const s = new
|
|
967
|
-
s.name = `root-${t.name}`, this.nodes = new
|
|
968
|
-
const n = this.processNode =
|
|
965
|
+
this.providers = e, this.breakpoints = [], this.actionsState = { handlers: [], watchers: [] }, this.switches = {}, this.changesets = [], this.subscriptions = [], this.customComponentHandler = new os(), this.events = t.events.createChild(this);
|
|
966
|
+
const s = new Wt(this.events, "root");
|
|
967
|
+
s.name = `root-${t.name}`, this.nodes = new rs(s, this.switches, this.events);
|
|
968
|
+
const n = this.processNode = ls(
|
|
969
969
|
this,
|
|
970
970
|
(r) => {
|
|
971
971
|
const o = Array.from(r.keys());
|
|
@@ -1085,11 +1085,11 @@ class nt {
|
|
|
1085
1085
|
* @param type Type of node.
|
|
1086
1086
|
*/
|
|
1087
1087
|
createNode(t, e = {}) {
|
|
1088
|
-
const s = new
|
|
1088
|
+
const s = new Wt(this.events, t);
|
|
1089
1089
|
return e.detached && this.nodes.detached.push(s), s;
|
|
1090
1090
|
}
|
|
1091
1091
|
components() {
|
|
1092
|
-
return new
|
|
1092
|
+
return new q(this);
|
|
1093
1093
|
}
|
|
1094
1094
|
actions(t, e) {
|
|
1095
1095
|
return new xt(this, t, e);
|
|
@@ -1101,7 +1101,7 @@ class nt {
|
|
|
1101
1101
|
attributes: n,
|
|
1102
1102
|
options: r = {},
|
|
1103
1103
|
removable: o
|
|
1104
|
-
} = t, a = t.key ||
|
|
1104
|
+
} = t, a = t.key || nt(), h = { changeset: [n, r], target: s, removes: [] };
|
|
1105
1105
|
if (e) {
|
|
1106
1106
|
const c = this.providers[e];
|
|
1107
1107
|
c.write(a, s, n, r), h.removes.push(() => {
|
|
@@ -1136,7 +1136,7 @@ class nt {
|
|
|
1136
1136
|
this.subscriptions.forEach((t) => t());
|
|
1137
1137
|
}
|
|
1138
1138
|
}
|
|
1139
|
-
const
|
|
1139
|
+
const ds = (i) => {
|
|
1140
1140
|
if (Array.isArray(i)) {
|
|
1141
1141
|
const [t, ...e] = i;
|
|
1142
1142
|
return {
|
|
@@ -1148,14 +1148,14 @@ const ls = (i) => {
|
|
|
1148
1148
|
definitionId: i,
|
|
1149
1149
|
overrides: []
|
|
1150
1150
|
};
|
|
1151
|
-
},
|
|
1151
|
+
}, vt = (i, t, e, s, n, r) => {
|
|
1152
1152
|
e.forEach((o) => {
|
|
1153
|
-
const a =
|
|
1153
|
+
const a = ds(o), h = s[a.definitionId];
|
|
1154
1154
|
if (a.definitionId === "view") {
|
|
1155
1155
|
const c = i.createNode("view");
|
|
1156
1156
|
c.name = "view", Object.keys(n).forEach((l) => {
|
|
1157
1157
|
const d = n[l];
|
|
1158
|
-
|
|
1158
|
+
vt(
|
|
1159
1159
|
i,
|
|
1160
1160
|
c,
|
|
1161
1161
|
[d.entry],
|
|
@@ -1194,7 +1194,7 @@ const ls = (i) => {
|
|
|
1194
1194
|
l.name = a.definitionId, l.tags = c.tags || [], c.properties && l.writeProperties(c.properties), c.context && l.writeContext(c.context), c.layout && l.writeLayout(c.layout), t.appendChild(l, r), a.overrides.forEach((d) => {
|
|
1195
1195
|
const u = { breakpoints: d.breakpoints };
|
|
1196
1196
|
d.properties && l.writeProperties(d.properties, u), d.context && l.writeContext(d.context, u), d.layout && l.writeLayout(d.layout, u);
|
|
1197
|
-
}), c.children &&
|
|
1197
|
+
}), c.children && vt(
|
|
1198
1198
|
i,
|
|
1199
1199
|
l,
|
|
1200
1200
|
c.children,
|
|
@@ -1203,7 +1203,7 @@ const ls = (i) => {
|
|
|
1203
1203
|
);
|
|
1204
1204
|
}
|
|
1205
1205
|
});
|
|
1206
|
-
},
|
|
1206
|
+
}, ke = (i, t) => {
|
|
1207
1207
|
const { entry: e, components: s, breakpoints: n, views: r } = t, o = [];
|
|
1208
1208
|
return Object.keys(n).forEach((a) => {
|
|
1209
1209
|
const h = n[a], c = window.matchMedia(h);
|
|
@@ -1212,24 +1212,24 @@ const ls = (i) => {
|
|
|
1212
1212
|
d.matches ? i.addBreakpoint(a) : i.removeBreakpoint(a);
|
|
1213
1213
|
};
|
|
1214
1214
|
c.addListener(l), o.push(() => c.removeListener(l));
|
|
1215
|
-
}),
|
|
1215
|
+
}), vt(i, i.nodes.root, [e], s, r), () => o.forEach((a) => {
|
|
1216
1216
|
a();
|
|
1217
1217
|
});
|
|
1218
|
-
},
|
|
1218
|
+
}, qt = (i, t) => ({
|
|
1219
1219
|
id: i.id,
|
|
1220
1220
|
type: i.type,
|
|
1221
1221
|
name: i.name,
|
|
1222
1222
|
branch: t || "default"
|
|
1223
|
-
}),
|
|
1223
|
+
}), Ne = (i, t, e, s = nt(), n = {}) => i.getAsync("components").then((r) => {
|
|
1224
1224
|
let o;
|
|
1225
1225
|
if (typeof t == "string") {
|
|
1226
|
-
const c = new
|
|
1226
|
+
const c = new q(r);
|
|
1227
1227
|
c.ofType(t), o = c;
|
|
1228
1228
|
} else
|
|
1229
1229
|
o = t;
|
|
1230
1230
|
const a = {}, h = (c) => {
|
|
1231
1231
|
const l = a[c.id];
|
|
1232
|
-
return l ? Promise.resolve(l.controller) :
|
|
1232
|
+
return l ? Promise.resolve(l.controller) : rt.getInstance(i).then((d) => new Kt(d, c, s));
|
|
1233
1233
|
};
|
|
1234
1234
|
r.events.subscribe(
|
|
1235
1235
|
"components:node-enter",
|
|
@@ -1251,7 +1251,7 @@ const ls = (i) => {
|
|
|
1251
1251
|
}
|
|
1252
1252
|
);
|
|
1253
1253
|
});
|
|
1254
|
-
class
|
|
1254
|
+
class us {
|
|
1255
1255
|
constructor(t) {
|
|
1256
1256
|
this.aliases = /* @__PURE__ */ new Map(), this.components = /* @__PURE__ */ new Map(), this.logger = new v();
|
|
1257
1257
|
const { events: e } = t.get("$widget");
|
|
@@ -1287,32 +1287,32 @@ class ds {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
var _ = /* @__PURE__ */ ((i) => (i.open = "open", i.closed = "closed", i.hidden = "hidden", i))(_ || {});
|
|
1290
|
-
const
|
|
1290
|
+
const Gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1291
1291
|
__proto__: null,
|
|
1292
|
-
ActionResolver:
|
|
1292
|
+
ActionResolver: ss,
|
|
1293
1293
|
ActionsController: xt,
|
|
1294
|
-
ComponentNode:
|
|
1295
|
-
ComponentNodeController:
|
|
1296
|
-
ComponentPlatform:
|
|
1297
|
-
ComponentQuery:
|
|
1298
|
-
ComponentResolver:
|
|
1294
|
+
ComponentNode: Wt,
|
|
1295
|
+
ComponentNodeController: Kt,
|
|
1296
|
+
ComponentPlatform: rt,
|
|
1297
|
+
ComponentQuery: q,
|
|
1298
|
+
ComponentResolver: us,
|
|
1299
1299
|
WidgetRenderState: _,
|
|
1300
|
-
asDescriptor:
|
|
1301
|
-
createChildren:
|
|
1302
|
-
createComponentModel:
|
|
1303
|
-
createEventSubscriber:
|
|
1304
|
-
extendComponent:
|
|
1305
|
-
findComponent:
|
|
1306
|
-
findVisibleComponents:
|
|
1307
|
-
traverseComponents:
|
|
1300
|
+
asDescriptor: qt,
|
|
1301
|
+
createChildren: vt,
|
|
1302
|
+
createComponentModel: ke,
|
|
1303
|
+
createEventSubscriber: Oe,
|
|
1304
|
+
extendComponent: Ne,
|
|
1305
|
+
findComponent: Pe,
|
|
1306
|
+
findVisibleComponents: pt,
|
|
1307
|
+
traverseComponents: Et
|
|
1308
1308
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1309
|
-
var f = /* @__PURE__ */ ((i) => (i.Cookie = "cookie", i.Local = "local", i.Session = "session", i))(f || {}),
|
|
1310
|
-
const S = (i, t, e, s = {}) =>
|
|
1309
|
+
var f = /* @__PURE__ */ ((i) => (i.Cookie = "cookie", i.Local = "local", i.Session = "session", i))(f || {}), J = /* @__PURE__ */ ((i) => (i.Tenant = "tenant", i.Implementation = "implementation", i.Widget = "widget", i))(J || {}), m = /* @__PURE__ */ ((i) => (i.Necessary = "necessary", i.Functional = "functional", i.Analytical = "analytical", i.Marketing = "marketing", i))(m || {});
|
|
1310
|
+
const S = (i, t, e, s = {}) => he(i, e).then((n) => (process.env.NODE_ENV !== "production" && n && v.warn(
|
|
1311
1311
|
`createStorageWriter: Attempted to create storage writer using unallowed category.
|
|
1312
1312
|
Key: ${t}
|
|
1313
1313
|
Category: ${JSON.stringify(e)}
|
|
1314
1314
|
Options: ${JSON.stringify(s)}`
|
|
1315
|
-
), (r) => (
|
|
1315
|
+
), (r) => (Qt(i), he(i, e).then((o) => {
|
|
1316
1316
|
if (o) {
|
|
1317
1317
|
process.env.NODE_ENV !== "production" && v.warn(
|
|
1318
1318
|
`storageWriter: Attempted to write to storage using unallowed category.
|
|
@@ -1324,27 +1324,27 @@ const S = (i, t, e, s = {}) => ce(i, e).then((n) => (process.env.NODE_ENV !== "p
|
|
|
1324
1324
|
return;
|
|
1325
1325
|
}
|
|
1326
1326
|
const {
|
|
1327
|
-
scope: a =
|
|
1327
|
+
scope: a = J.Widget,
|
|
1328
1328
|
medium: h = f.Session,
|
|
1329
1329
|
duration: c
|
|
1330
|
-
} = s, l =
|
|
1331
|
-
return l[a][t] =
|
|
1332
|
-
})))), C = (i, t, e = f.Session) => (
|
|
1330
|
+
} = s, l = gs();
|
|
1331
|
+
return l[a][t] = Zt(r, e, c), h === f.Cookie ? vs(i, l) : ws(i, h, l);
|
|
1332
|
+
})))), C = (i, t, e = f.Session) => (Qt(i), typeof t > "u" ? (process.env.NODE_ENV !== "production" && v.warn(
|
|
1333
1333
|
"readStorage: Undefined key passed when reading storage. ",
|
|
1334
1334
|
t,
|
|
1335
1335
|
e
|
|
1336
|
-
), Promise.resolve(void 0)) : e === f.Cookie ?
|
|
1337
|
-
(s) =>
|
|
1338
|
-
)),
|
|
1336
|
+
), Promise.resolve(void 0)) : e === f.Cookie ? ys(i).then((s) => wt(s, t)) : bs(i, e).then(
|
|
1337
|
+
(s) => wt(s, t)
|
|
1338
|
+
)), B = (i) => !!Object.entries(i).filter(([t, e]) => typeof e < "u").length, It = (i) => Object.entries(i).filter(([t, e]) => typeof e < "u").forEach(([t, { value: e }]) => {
|
|
1339
1339
|
typeof e > "u" && delete i[t];
|
|
1340
|
-
}),
|
|
1340
|
+
}), Me = (i, t) => {
|
|
1341
1341
|
const e = {
|
|
1342
1342
|
tenant: { ...i.tenant, ...t.tenant },
|
|
1343
1343
|
implementation: { ...i.implementation, ...t.implementation },
|
|
1344
1344
|
widget: { ...i.widget, ...t.widget }
|
|
1345
1345
|
};
|
|
1346
|
-
return
|
|
1347
|
-
},
|
|
1346
|
+
return It(e.tenant), It(e.implementation), It(e.widget), e;
|
|
1347
|
+
}, ps = (i) => Object.entries(i).reduce(
|
|
1348
1348
|
(t, e) => {
|
|
1349
1349
|
const [s, n] = e;
|
|
1350
1350
|
return Object.entries(n).forEach((r) => {
|
|
@@ -1353,105 +1353,105 @@ const S = (i, t, e, s = {}) => ce(i, e).then((n) => (process.env.NODE_ENV !== "p
|
|
|
1353
1353
|
}), t;
|
|
1354
1354
|
},
|
|
1355
1355
|
[]
|
|
1356
|
-
).slice().sort((t, e) => new Date(e).valueOf() - new Date(t).valueOf()).shift() ||
|
|
1356
|
+
).slice().sort((t, e) => new Date(e).valueOf() - new Date(t).valueOf()).shift() || Ot(), Ct = (i) => {
|
|
1357
1357
|
const {
|
|
1358
1358
|
name: t,
|
|
1359
1359
|
implementation: { name: e, tenant: s }
|
|
1360
1360
|
} = i.get("$widget");
|
|
1361
1361
|
return [
|
|
1362
1362
|
`humany_${s}`,
|
|
1363
|
-
`humany_${
|
|
1364
|
-
`humany_${
|
|
1363
|
+
`humany_${ce(s + e)}`,
|
|
1364
|
+
`humany_${ce(s + e + t)}`
|
|
1365
1365
|
];
|
|
1366
|
-
},
|
|
1366
|
+
}, Rt = (i) => {
|
|
1367
1367
|
const t = new RegExp(`(?:^|;)\\s?${i}=(.*?)(?:;|$)`, "i"), e = document.cookie.match(t);
|
|
1368
1368
|
return e && e[1] && JSON.parse(e[1]) || void 0;
|
|
1369
|
-
},
|
|
1369
|
+
}, Tt = (i, t, e) => {
|
|
1370
1370
|
const s = `${i}=${JSON.stringify(t).trim()}`, n = `expires=${new Date(e).toUTCString()}`, r = "path=/", o = "SameSite=None;Secure";
|
|
1371
1371
|
return document.cookie = `${s}; ${n}; ${r}; ${o}`;
|
|
1372
|
-
},
|
|
1373
|
-
const [t, e, s] =
|
|
1372
|
+
}, Yt = (i) => {
|
|
1373
|
+
const [t, e, s] = Ct(i), n = Rt(t) || {}, r = Rt(e) || {}, o = Rt(s) || {};
|
|
1374
1374
|
return {
|
|
1375
1375
|
tenant: n,
|
|
1376
1376
|
implementation: r,
|
|
1377
1377
|
widget: o
|
|
1378
1378
|
};
|
|
1379
|
-
},
|
|
1380
|
-
const e =
|
|
1381
|
-
|
|
1379
|
+
}, De = (i, t) => {
|
|
1380
|
+
const e = Yt(i), s = Me(e, t), [n, r, o] = Ct(i), { tenant: a, implementation: h, widget: c } = s, l = ps(t), d = Ot({ days: -1 });
|
|
1381
|
+
Tt(
|
|
1382
1382
|
n,
|
|
1383
1383
|
a,
|
|
1384
|
-
|
|
1385
|
-
),
|
|
1384
|
+
B(a) ? l : d
|
|
1385
|
+
), Tt(
|
|
1386
1386
|
r,
|
|
1387
1387
|
h,
|
|
1388
|
-
|
|
1389
|
-
),
|
|
1388
|
+
B(h) ? l : d
|
|
1389
|
+
), Tt(
|
|
1390
1390
|
o,
|
|
1391
1391
|
c,
|
|
1392
|
-
|
|
1392
|
+
B(c) ? l : d
|
|
1393
1393
|
);
|
|
1394
|
-
},
|
|
1395
|
-
const [e, s, n] =
|
|
1394
|
+
}, bt = (i, t) => {
|
|
1395
|
+
const [e, s, n] = Ct(i), r = t.getItem(e) || "{}", o = t.getItem(s) || "{}", a = t.getItem(n) || "{}";
|
|
1396
1396
|
return {
|
|
1397
1397
|
tenant: JSON.parse(r),
|
|
1398
1398
|
implementation: JSON.parse(o),
|
|
1399
1399
|
widget: JSON.parse(a)
|
|
1400
1400
|
};
|
|
1401
|
-
},
|
|
1402
|
-
const s =
|
|
1403
|
-
|
|
1401
|
+
}, Jt = (i, t, e) => {
|
|
1402
|
+
const s = bt(i, t), n = Me(s, e), [r, o, a] = Ct(i), { tenant: h, implementation: c, widget: l } = n;
|
|
1403
|
+
B(h) ? t.setItem(r, JSON.stringify(h)) : t.removeItem(r), B(c) ? t.setItem(
|
|
1404
1404
|
o,
|
|
1405
1405
|
JSON.stringify(c)
|
|
1406
|
-
) : t.removeItem(o),
|
|
1406
|
+
) : t.removeItem(o), B(l) ? t.setItem(a, JSON.stringify(l)) : t.removeItem(a);
|
|
1407
1407
|
const { events: d } = i.get("$widget");
|
|
1408
1408
|
d.dispatch("storage:changed", {});
|
|
1409
|
-
},
|
|
1409
|
+
}, gs = () => ({
|
|
1410
1410
|
tenant: {},
|
|
1411
1411
|
implementation: {},
|
|
1412
1412
|
widget: {}
|
|
1413
|
-
}),
|
|
1413
|
+
}), ms = (i) => i ? !!i && /* @__PURE__ */ new Date() > new Date(i) : !1, wt = (i, t) => {
|
|
1414
1414
|
const e = i.widget[t] || i.implementation[t] || i.tenant[t];
|
|
1415
1415
|
return e == null ? void 0 : e.value;
|
|
1416
|
-
},
|
|
1416
|
+
}, Zt = (i, t, e) => e ? {
|
|
1417
1417
|
value: i,
|
|
1418
1418
|
category: t,
|
|
1419
|
-
expiration: typeof e == "object" ?
|
|
1419
|
+
expiration: typeof e == "object" ? Ot(e) : e
|
|
1420
1420
|
} : {
|
|
1421
1421
|
value: i,
|
|
1422
1422
|
category: t
|
|
1423
|
-
},
|
|
1424
|
-
const e =
|
|
1423
|
+
}, gt = (i, t) => {
|
|
1424
|
+
const e = Ce(i);
|
|
1425
1425
|
return Object.entries(e).forEach(([s, n]) => {
|
|
1426
1426
|
Object.entries(n).forEach(([r, o]) => {
|
|
1427
1427
|
const { expiration: a, category: h } = o;
|
|
1428
|
-
(
|
|
1428
|
+
(ms(a) || fs(t, h)) && (n[r] = Zt(void 0, h, a));
|
|
1429
1429
|
});
|
|
1430
1430
|
}), e;
|
|
1431
|
-
},
|
|
1431
|
+
}, he = (i, t) => C(
|
|
1432
1432
|
i,
|
|
1433
1433
|
"storagePolicy",
|
|
1434
1434
|
f.Cookie
|
|
1435
1435
|
).then(
|
|
1436
1436
|
(e = [m.Necessary]) => !!t && e.indexOf(t) === -1
|
|
1437
|
-
),
|
|
1438
|
-
const t =
|
|
1437
|
+
), fs = (i = [m.Necessary], t) => !!t && i.indexOf(t) === -1, Qt = (i) => {
|
|
1438
|
+
const t = Yt(i), e = bt(i, window.localStorage), s = bt(i, sessionStorage), n = wt(t, "storagePolicy"), [r, o, a] = [
|
|
1439
1439
|
t,
|
|
1440
1440
|
e,
|
|
1441
1441
|
s
|
|
1442
|
-
].map((h) =>
|
|
1443
|
-
|
|
1444
|
-
},
|
|
1442
|
+
].map((h) => gt(h, n));
|
|
1443
|
+
De(i, r), Jt(i, window.localStorage, o), Jt(i, window.sessionStorage, a);
|
|
1444
|
+
}, Ot = (i = { days: 30 }) => {
|
|
1445
1445
|
const { days: t = 0, hours: e = 0, minutes: s = 0, seconds: n = 0 } = i, r = /* @__PURE__ */ new Date();
|
|
1446
1446
|
return r.setTime(r.getTime() + e * 60 * 60 * 1e3), r.setTime(r.getTime() + t * 24 * 60 * 60 * 1e3), r.setTime(r.getTime() + s * 60 * 1e3), r.setTime(r.getTime() + n * 1e3), r.toISOString();
|
|
1447
|
-
},
|
|
1447
|
+
}, ys = (i) => x(document)(() => Yt(i)), vs = (i, t) => x(document)(() => De(i, t)), bs = (i, t) => {
|
|
1448
1448
|
const e = t === f.Local ? window.localStorage : window.sessionStorage;
|
|
1449
|
-
return
|
|
1450
|
-
},
|
|
1449
|
+
return x(e)(() => bt(i, e));
|
|
1450
|
+
}, ws = (i, t, e) => {
|
|
1451
1451
|
const s = t === f.Local ? window.localStorage : window.sessionStorage;
|
|
1452
|
-
return
|
|
1452
|
+
return x(s)(() => Jt(i, s, e));
|
|
1453
1453
|
};
|
|
1454
|
-
let
|
|
1454
|
+
let mt = class {
|
|
1455
1455
|
constructor() {
|
|
1456
1456
|
this.memory = {
|
|
1457
1457
|
tenant: {},
|
|
@@ -1460,14 +1460,14 @@ let gt = class {
|
|
|
1460
1460
|
};
|
|
1461
1461
|
}
|
|
1462
1462
|
async setItem(t, e, s = {}) {
|
|
1463
|
-
return
|
|
1464
|
-
const n =
|
|
1463
|
+
return x(this)(() => {
|
|
1464
|
+
const n = gt(this.memory, [
|
|
1465
1465
|
m.Necessary
|
|
1466
|
-
]), { scope: r =
|
|
1467
|
-
n[r][t] =
|
|
1466
|
+
]), { scope: r = J.Tenant, expiration: o } = s;
|
|
1467
|
+
n[r][t] = Zt(
|
|
1468
1468
|
e,
|
|
1469
1469
|
m.Necessary,
|
|
1470
|
-
(o == null ? void 0 : o.toISOString()) ||
|
|
1470
|
+
(o == null ? void 0 : o.toISOString()) || Ot()
|
|
1471
1471
|
), this.memory = n, process.env.NODE_ENV !== "production" && v.warn(
|
|
1472
1472
|
`StorageProvider: StorageProvider is deprecated, use createStorageWriter and readStorage instead, value stored temporarily in memory.
|
|
1473
1473
|
Key: ${t}
|
|
@@ -1478,8 +1478,8 @@ let gt = class {
|
|
|
1478
1478
|
});
|
|
1479
1479
|
}
|
|
1480
1480
|
async getItem(t) {
|
|
1481
|
-
return
|
|
1482
|
-
const e =
|
|
1481
|
+
return x(this)(() => {
|
|
1482
|
+
const e = gt(this.memory, [
|
|
1483
1483
|
m.Necessary
|
|
1484
1484
|
]);
|
|
1485
1485
|
process.env.NODE_ENV !== "production" && v.warn(
|
|
@@ -1487,13 +1487,13 @@ let gt = class {
|
|
|
1487
1487
|
Key: ${t}
|
|
1488
1488
|
Memory: ${JSON.stringify(e)}`
|
|
1489
1489
|
);
|
|
1490
|
-
const s =
|
|
1490
|
+
const s = wt(e, t);
|
|
1491
1491
|
return this.memory = e, s;
|
|
1492
1492
|
});
|
|
1493
1493
|
}
|
|
1494
1494
|
async removeItem(t) {
|
|
1495
|
-
return
|
|
1496
|
-
const e =
|
|
1495
|
+
return x(this)(() => {
|
|
1496
|
+
const e = gt(this.memory, [
|
|
1497
1497
|
m.Necessary
|
|
1498
1498
|
]);
|
|
1499
1499
|
delete e.tenant[t], delete e.implementation[t], delete e.widget[t], this.memory = e, process.env.NODE_ENV !== "production" && v.warn(
|
|
@@ -1506,12 +1506,12 @@ let gt = class {
|
|
|
1506
1506
|
async clear() {
|
|
1507
1507
|
return Promise.resolve();
|
|
1508
1508
|
}
|
|
1509
|
-
},
|
|
1509
|
+
}, $s = class {
|
|
1510
1510
|
constructor() {
|
|
1511
|
-
this.cookies = new
|
|
1511
|
+
this.cookies = new mt(), this.session = new mt(), this.local = new mt();
|
|
1512
1512
|
}
|
|
1513
1513
|
};
|
|
1514
|
-
|
|
1514
|
+
Ft((i) => {
|
|
1515
1515
|
i.createCommand(
|
|
1516
1516
|
"storage",
|
|
1517
1517
|
(t) => (e = {}) => {
|
|
@@ -1548,26 +1548,26 @@ Jt((i) => {
|
|
|
1548
1548
|
m.Necessary,
|
|
1549
1549
|
{
|
|
1550
1550
|
medium: f.Cookie,
|
|
1551
|
-
scope:
|
|
1551
|
+
scope: J.Tenant,
|
|
1552
1552
|
duration: { days: 365 }
|
|
1553
1553
|
}
|
|
1554
1554
|
).then((r) => r(n)).then(() => {
|
|
1555
|
-
|
|
1555
|
+
Qt(t.container), t.events.dispatch("storage:policy-changed", n);
|
|
1556
1556
|
});
|
|
1557
1557
|
}
|
|
1558
1558
|
}
|
|
1559
1559
|
);
|
|
1560
1560
|
});
|
|
1561
|
-
const
|
|
1561
|
+
const _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1562
1562
|
__proto__: null,
|
|
1563
1563
|
StorageCategory: m,
|
|
1564
1564
|
StorageMedium: f,
|
|
1565
|
-
StorageProvider:
|
|
1566
|
-
StorageScope:
|
|
1567
|
-
StorageService:
|
|
1565
|
+
StorageProvider: $s,
|
|
1566
|
+
StorageScope: J,
|
|
1567
|
+
StorageService: mt,
|
|
1568
1568
|
createStorageWriter: S,
|
|
1569
1569
|
readStorage: C
|
|
1570
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1570
|
+
}, Symbol.toStringTag, { value: "Module" })), As = (i) => {
|
|
1571
1571
|
const t = (n, r) => {
|
|
1572
1572
|
n && (r ? n.classList.add("ace-tabbing") : n.classList.remove("ace-tabbing"));
|
|
1573
1573
|
}, e = (n) => {
|
|
@@ -1587,19 +1587,19 @@ function xs(i, t) {
|
|
|
1587
1587
|
ariaLabel: n = "",
|
|
1588
1588
|
tooltip: r = ""
|
|
1589
1589
|
} = t;
|
|
1590
|
-
return i.classList.add("ace-widget-trigger"), i.classList.add(`ace-widget_${e}`), s.length && i.classList.add("trigger-has-text"), n.length && !i.getAttribute("aria-label") && i.setAttribute("aria-label", n), n.length && !i.getAttribute("tabindex") && i.setAttribute("tabindex", "0"), r.length && !i.getAttribute("title") && i.setAttribute("title", r),
|
|
1590
|
+
return i.classList.add("ace-widget-trigger"), i.classList.add(`ace-widget_${e}`), s.length && i.classList.add("trigger-has-text"), n.length && !i.getAttribute("aria-label") && i.setAttribute("aria-label", n), n.length && !i.getAttribute("tabindex") && i.setAttribute("tabindex", "0"), r.length && !i.getAttribute("title") && i.setAttribute("title", r), As(i);
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1592
|
+
function Es(i, t) {
|
|
1593
1593
|
i instanceof HTMLElement ? (t && i.setAttribute("title", t), i.classList.remove("ace-trigger-active"), i.classList.remove("ace-trigger-loading")) : i instanceof Array && i.forEach((e) => {
|
|
1594
1594
|
t && e.setAttribute("title", t), e.classList.remove("ace-trigger-active"), e.classList.remove("ace-trigger-loading");
|
|
1595
1595
|
});
|
|
1596
1596
|
}
|
|
1597
|
-
function
|
|
1597
|
+
function Cs(i) {
|
|
1598
1598
|
i instanceof HTMLElement ? (i.classList.remove("ace-trigger-active"), i.classList.add("ace-trigger-loading")) : i instanceof Array && i.forEach((t) => {
|
|
1599
1599
|
t.classList.remove("ace-trigger-active"), t.classList.add("ace-trigger-loading");
|
|
1600
1600
|
});
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function Le(i, t) {
|
|
1603
1603
|
i instanceof HTMLElement ? (t && i.setAttribute("title", t), i.classList.add("ace-trigger-active"), i.classList.remove("ace-trigger-loading")) : i instanceof Array && i.forEach((e) => {
|
|
1604
1604
|
t && e.setAttribute("title", t), e.classList.add("ace-trigger-active"), e.classList.remove("ace-trigger-loading");
|
|
1605
1605
|
});
|
|
@@ -1609,18 +1609,18 @@ function De(i, t) {
|
|
|
1609
1609
|
* Copyright 2019 Google LLC
|
|
1610
1610
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1611
1611
|
*/
|
|
1612
|
-
const
|
|
1613
|
-
let
|
|
1612
|
+
const ft = globalThis, Xt = ft.ShadowRoot && (ft.ShadyCSS === void 0 || ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, te = Symbol(), le = /* @__PURE__ */ new WeakMap();
|
|
1613
|
+
let Ie = class {
|
|
1614
1614
|
constructor(t, e, s) {
|
|
1615
|
-
if (this._$cssResult$ = !0, s !==
|
|
1615
|
+
if (this._$cssResult$ = !0, s !== te) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1616
1616
|
this.cssText = t, this.t = e;
|
|
1617
1617
|
}
|
|
1618
1618
|
get styleSheet() {
|
|
1619
1619
|
let t = this.o;
|
|
1620
1620
|
const e = this.t;
|
|
1621
|
-
if (
|
|
1621
|
+
if (Xt && t === void 0) {
|
|
1622
1622
|
const s = e !== void 0 && e.length === 1;
|
|
1623
|
-
s && (t =
|
|
1623
|
+
s && (t = le.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && le.set(e, t));
|
|
1624
1624
|
}
|
|
1625
1625
|
return t;
|
|
1626
1626
|
}
|
|
@@ -1628,33 +1628,33 @@ let Le = class {
|
|
|
1628
1628
|
return this.cssText;
|
|
1629
1629
|
}
|
|
1630
1630
|
};
|
|
1631
|
-
const
|
|
1631
|
+
const Os = (i) => new Ie(typeof i == "string" ? i : i + "", void 0, te), Re = (i, ...t) => {
|
|
1632
1632
|
const e = i.length === 1 ? i[0] : t.reduce((s, n, r) => s + ((o) => {
|
|
1633
1633
|
if (o._$cssResult$ === !0) return o.cssText;
|
|
1634
1634
|
if (typeof o == "number") return o;
|
|
1635
1635
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
1636
1636
|
})(n) + i[r + 1], i[0]);
|
|
1637
|
-
return new
|
|
1638
|
-
},
|
|
1639
|
-
if (
|
|
1637
|
+
return new Ie(e, i, te);
|
|
1638
|
+
}, Ss = (i, t) => {
|
|
1639
|
+
if (Xt) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
1640
1640
|
else for (const e of t) {
|
|
1641
|
-
const s = document.createElement("style"), n =
|
|
1641
|
+
const s = document.createElement("style"), n = ft.litNonce;
|
|
1642
1642
|
n !== void 0 && s.setAttribute("nonce", n), s.textContent = e.cssText, i.appendChild(s);
|
|
1643
1643
|
}
|
|
1644
|
-
},
|
|
1644
|
+
}, de = Xt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
|
|
1645
1645
|
let e = "";
|
|
1646
1646
|
for (const s of t.cssRules) e += s.cssText;
|
|
1647
|
-
return
|
|
1647
|
+
return Os(e);
|
|
1648
1648
|
})(i) : i;
|
|
1649
1649
|
/**
|
|
1650
1650
|
* @license
|
|
1651
1651
|
* Copyright 2017 Google LLC
|
|
1652
1652
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1653
1653
|
*/
|
|
1654
|
-
const { is:
|
|
1654
|
+
const { is: Ps, defineProperty: ks, getOwnPropertyDescriptor: Ns, getOwnPropertyNames: Ms, getOwnPropertySymbols: Ds, getPrototypeOf: Ls } = Object, M = globalThis, ue = M.trustedTypes, Is = ue ? ue.emptyScript : "", jt = M.reactiveElementPolyfillSupport, Y = (i, t) => i, $t = { toAttribute(i, t) {
|
|
1655
1655
|
switch (t) {
|
|
1656
1656
|
case Boolean:
|
|
1657
|
-
i = i ?
|
|
1657
|
+
i = i ? Is : null;
|
|
1658
1658
|
break;
|
|
1659
1659
|
case Object:
|
|
1660
1660
|
case Array:
|
|
@@ -1679,46 +1679,44 @@ const { is: Ss, defineProperty: Ps, getOwnPropertyDescriptor: ks, getOwnProperty
|
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
1681
|
return e;
|
|
1682
|
-
} },
|
|
1682
|
+
} }, ee = (i, t) => !Ps(i, t), pe = { attribute: !0, type: String, converter: $t, reflect: !1, useDefault: !1, hasChanged: ee };
|
|
1683
1683
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), M.litPropertyMetadata ?? (M.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1684
|
-
class
|
|
1684
|
+
let z = class extends HTMLElement {
|
|
1685
1685
|
static addInitializer(t) {
|
|
1686
1686
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
1687
1687
|
}
|
|
1688
1688
|
static get observedAttributes() {
|
|
1689
1689
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
1690
1690
|
}
|
|
1691
|
-
static createProperty(t, e =
|
|
1692
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
1691
|
+
static createProperty(t, e = pe) {
|
|
1692
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
1693
1693
|
const s = Symbol(), n = this.getPropertyDescriptor(t, s, e);
|
|
1694
|
-
n !== void 0 &&
|
|
1694
|
+
n !== void 0 && ks(this.prototype, t, n);
|
|
1695
1695
|
}
|
|
1696
1696
|
}
|
|
1697
1697
|
static getPropertyDescriptor(t, e, s) {
|
|
1698
|
-
const { get: n, set: r } =
|
|
1698
|
+
const { get: n, set: r } = Ns(this.prototype, t) ?? { get() {
|
|
1699
1699
|
return this[e];
|
|
1700
1700
|
}, set(o) {
|
|
1701
1701
|
this[e] = o;
|
|
1702
1702
|
} };
|
|
1703
|
-
return { get() {
|
|
1704
|
-
return n == null ? void 0 : n.call(this);
|
|
1705
|
-
}, set(o) {
|
|
1703
|
+
return { get: n, set(o) {
|
|
1706
1704
|
const a = n == null ? void 0 : n.call(this);
|
|
1707
|
-
r.call(this, o), this.requestUpdate(t, a, s);
|
|
1705
|
+
r == null || r.call(this, o), this.requestUpdate(t, a, s);
|
|
1708
1706
|
}, configurable: !0, enumerable: !0 };
|
|
1709
1707
|
}
|
|
1710
1708
|
static getPropertyOptions(t) {
|
|
1711
|
-
return this.elementProperties.get(t) ??
|
|
1709
|
+
return this.elementProperties.get(t) ?? pe;
|
|
1712
1710
|
}
|
|
1713
1711
|
static _$Ei() {
|
|
1714
|
-
if (this.hasOwnProperty(
|
|
1715
|
-
const t =
|
|
1712
|
+
if (this.hasOwnProperty(Y("elementProperties"))) return;
|
|
1713
|
+
const t = Ls(this);
|
|
1716
1714
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1717
1715
|
}
|
|
1718
1716
|
static finalize() {
|
|
1719
|
-
if (this.hasOwnProperty(
|
|
1720
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
1721
|
-
const e = this.properties, s = [...
|
|
1717
|
+
if (this.hasOwnProperty(Y("finalized"))) return;
|
|
1718
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Y("properties"))) {
|
|
1719
|
+
const e = this.properties, s = [...Ms(e), ...Ds(e)];
|
|
1722
1720
|
for (const n of s) this.createProperty(n, e[n]);
|
|
1723
1721
|
}
|
|
1724
1722
|
const t = this[Symbol.metadata];
|
|
@@ -1737,8 +1735,8 @@ class H extends HTMLElement {
|
|
|
1737
1735
|
const e = [];
|
|
1738
1736
|
if (Array.isArray(t)) {
|
|
1739
1737
|
const s = new Set(t.flat(1 / 0).reverse());
|
|
1740
|
-
for (const n of s) e.unshift(
|
|
1741
|
-
} else t !== void 0 && e.push(
|
|
1738
|
+
for (const n of s) e.unshift(de(n));
|
|
1739
|
+
} else t !== void 0 && e.push(de(t));
|
|
1742
1740
|
return e;
|
|
1743
1741
|
}
|
|
1744
1742
|
static _$Eu(t, e) {
|
|
@@ -1767,7 +1765,7 @@ class H extends HTMLElement {
|
|
|
1767
1765
|
}
|
|
1768
1766
|
createRenderRoot() {
|
|
1769
1767
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
1770
|
-
return
|
|
1768
|
+
return Ss(t, this.constructor.elementStyles), t;
|
|
1771
1769
|
}
|
|
1772
1770
|
connectedCallback() {
|
|
1773
1771
|
var t;
|
|
@@ -1788,33 +1786,35 @@ class H extends HTMLElement {
|
|
|
1788
1786
|
attributeChangedCallback(t, e, s) {
|
|
1789
1787
|
this._$AK(t, s);
|
|
1790
1788
|
}
|
|
1791
|
-
_$
|
|
1789
|
+
_$ET(t, e) {
|
|
1792
1790
|
var r;
|
|
1793
1791
|
const s = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, s);
|
|
1794
1792
|
if (n !== void 0 && s.reflect === !0) {
|
|
1795
|
-
const o = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter :
|
|
1793
|
+
const o = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : $t).toAttribute(e, s.type);
|
|
1796
1794
|
this._$Em = t, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
|
|
1797
1795
|
}
|
|
1798
1796
|
}
|
|
1799
1797
|
_$AK(t, e) {
|
|
1800
|
-
var r;
|
|
1798
|
+
var r, o;
|
|
1801
1799
|
const s = this.constructor, n = s._$Eh.get(t);
|
|
1802
1800
|
if (n !== void 0 && this._$Em !== n) {
|
|
1803
|
-
const
|
|
1804
|
-
this._$Em = n, this[n] =
|
|
1801
|
+
const a = s.getPropertyOptions(n), h = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter : $t;
|
|
1802
|
+
this._$Em = n, this[n] = h.fromAttribute(e, a.type) ?? ((o = this._$Ej) == null ? void 0 : o.get(n)) ?? null, this._$Em = null;
|
|
1805
1803
|
}
|
|
1806
1804
|
}
|
|
1807
1805
|
requestUpdate(t, e, s) {
|
|
1806
|
+
var n;
|
|
1808
1807
|
if (t !== void 0) {
|
|
1809
|
-
|
|
1810
|
-
|
|
1808
|
+
const r = this.constructor, o = this[t];
|
|
1809
|
+
if (s ?? (s = r.getPropertyOptions(t)), !((s.hasChanged ?? ee)(o, e) || s.useDefault && s.reflect && o === ((n = this._$Ej) == null ? void 0 : n.get(t)) && !this.hasAttribute(r._$Eu(t, s)))) return;
|
|
1810
|
+
this.C(t, e, s);
|
|
1811
1811
|
}
|
|
1812
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
1812
|
+
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
1813
1813
|
}
|
|
1814
|
-
|
|
1815
|
-
this._$AL.has(t) || this._$AL.set(t, e),
|
|
1814
|
+
C(t, e, { useDefault: s, reflect: n, wrapped: r }, o) {
|
|
1815
|
+
s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, o ?? e ?? this[t]), r !== !0 || o !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), n === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
|
1816
1816
|
}
|
|
1817
|
-
async _$
|
|
1817
|
+
async _$EP() {
|
|
1818
1818
|
this.isUpdatePending = !0;
|
|
1819
1819
|
try {
|
|
1820
1820
|
await this._$ES;
|
|
@@ -1836,7 +1836,10 @@ class H extends HTMLElement {
|
|
|
1836
1836
|
this._$Ep = void 0;
|
|
1837
1837
|
}
|
|
1838
1838
|
const n = this.constructor.elementProperties;
|
|
1839
|
-
if (n.size > 0) for (const [r, o] of n)
|
|
1839
|
+
if (n.size > 0) for (const [r, o] of n) {
|
|
1840
|
+
const { wrapped: a } = o, h = this[r];
|
|
1841
|
+
a !== !0 || this._$AL.has(r) || h === void 0 || this.C(r, void 0, o, h);
|
|
1842
|
+
}
|
|
1840
1843
|
}
|
|
1841
1844
|
let t = !1;
|
|
1842
1845
|
const e = this._$AL;
|
|
@@ -1844,9 +1847,9 @@ class H extends HTMLElement {
|
|
|
1844
1847
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((n) => {
|
|
1845
1848
|
var r;
|
|
1846
1849
|
return (r = n.hostUpdate) == null ? void 0 : r.call(n);
|
|
1847
|
-
}), this.update(e)) : this._$
|
|
1850
|
+
}), this.update(e)) : this._$EM();
|
|
1848
1851
|
} catch (n) {
|
|
1849
|
-
throw t = !1, this._$
|
|
1852
|
+
throw t = !1, this._$EM(), n;
|
|
1850
1853
|
}
|
|
1851
1854
|
t && this._$AE(e);
|
|
1852
1855
|
}
|
|
@@ -1859,7 +1862,7 @@ class H extends HTMLElement {
|
|
|
1859
1862
|
return (n = s.hostUpdated) == null ? void 0 : n.call(s);
|
|
1860
1863
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
1861
1864
|
}
|
|
1862
|
-
_$
|
|
1865
|
+
_$EM() {
|
|
1863
1866
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
1864
1867
|
}
|
|
1865
1868
|
get updateComplete() {
|
|
@@ -1872,63 +1875,63 @@ class H extends HTMLElement {
|
|
|
1872
1875
|
return !0;
|
|
1873
1876
|
}
|
|
1874
1877
|
update(t) {
|
|
1875
|
-
this._$
|
|
1878
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
|
|
1876
1879
|
}
|
|
1877
1880
|
updated(t) {
|
|
1878
1881
|
}
|
|
1879
1882
|
firstUpdated(t) {
|
|
1880
1883
|
}
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1884
|
+
};
|
|
1885
|
+
z.elementStyles = [], z.shadowRootOptions = { mode: "open" }, z[Y("elementProperties")] = /* @__PURE__ */ new Map(), z[Y("finalized")] = /* @__PURE__ */ new Map(), jt == null || jt({ ReactiveElement: z }), (M.reactiveElementVersions ?? (M.reactiveElementVersions = [])).push("2.1.0");
|
|
1883
1886
|
/**
|
|
1884
1887
|
* @license
|
|
1885
1888
|
* Copyright 2017 Google LLC
|
|
1886
1889
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1887
1890
|
*/
|
|
1888
|
-
const
|
|
1889
|
-
\f\r]`,
|
|
1890
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1891
|
-
function
|
|
1892
|
-
if (!
|
|
1893
|
-
return
|
|
1891
|
+
const Z = globalThis, _t = Z.trustedTypes, ge = _t ? _t.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Te = "$lit$", P = `lit$${Math.random().toFixed(9).slice(2)}$`, je = "?" + P, Rs = `<${je}>`, V = document, tt = () => V.createComment(""), et = (i) => i === null || typeof i != "object" && typeof i != "function", se = Array.isArray, Ts = (i) => se(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Ut = `[
|
|
1892
|
+
\f\r]`, F = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, me = /-->/g, fe = />/g, L = RegExp(`>|${Ut}(?:([^\\s"'>=/]+)(${Ut}*=${Ut}*(?:[^
|
|
1893
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ye = /'/g, ve = /"/g, Ue = /^(?:script|style|textarea|title)$/i, js = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), lt = js(1), H = Symbol.for("lit-noChange"), y = Symbol.for("lit-nothing"), be = /* @__PURE__ */ new WeakMap(), T = V.createTreeWalker(V, 129);
|
|
1894
|
+
function Ve(i, t) {
|
|
1895
|
+
if (!se(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1896
|
+
return ge !== void 0 ? ge.createHTML(t) : t;
|
|
1894
1897
|
}
|
|
1895
1898
|
const Us = (i, t) => {
|
|
1896
1899
|
const e = i.length - 1, s = [];
|
|
1897
|
-
let n, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o =
|
|
1900
|
+
let n, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = F;
|
|
1898
1901
|
for (let a = 0; a < e; a++) {
|
|
1899
1902
|
const h = i[a];
|
|
1900
1903
|
let c, l, d = -1, u = 0;
|
|
1901
|
-
for (; u < h.length && (o.lastIndex = u, l = o.exec(h), l !== null); ) u = o.lastIndex, o ===
|
|
1904
|
+
for (; u < h.length && (o.lastIndex = u, l = o.exec(h), l !== null); ) u = o.lastIndex, o === F ? l[1] === "!--" ? o = me : l[1] !== void 0 ? o = fe : l[2] !== void 0 ? (Ue.test(l[2]) && (n = RegExp("</" + l[2], "g")), o = L) : l[3] !== void 0 && (o = L) : o === L ? l[0] === ">" ? (o = n ?? F, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, c = l[1], o = l[3] === void 0 ? L : l[3] === '"' ? ve : ye) : o === ve || o === ye ? o = L : o === me || o === fe ? o = F : (o = L, n = void 0);
|
|
1902
1905
|
const p = o === L && i[a + 1].startsWith("/>") ? " " : "";
|
|
1903
|
-
r += o ===
|
|
1906
|
+
r += o === F ? h + Rs : d >= 0 ? (s.push(c), h.slice(0, d) + Te + h.slice(d) + P + p) : h + P + (d === -2 ? a : p);
|
|
1904
1907
|
}
|
|
1905
|
-
return [
|
|
1908
|
+
return [Ve(i, r + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
1906
1909
|
};
|
|
1907
|
-
class
|
|
1910
|
+
class st {
|
|
1908
1911
|
constructor({ strings: t, _$litType$: e }, s) {
|
|
1909
1912
|
let n;
|
|
1910
1913
|
this.parts = [];
|
|
1911
1914
|
let r = 0, o = 0;
|
|
1912
1915
|
const a = t.length - 1, h = this.parts, [c, l] = Us(t, e);
|
|
1913
|
-
if (this.el =
|
|
1916
|
+
if (this.el = st.createElement(c, s), T.currentNode = this.el.content, e === 2 || e === 3) {
|
|
1914
1917
|
const d = this.el.content.firstChild;
|
|
1915
1918
|
d.replaceWith(...d.childNodes);
|
|
1916
1919
|
}
|
|
1917
1920
|
for (; (n = T.nextNode()) !== null && h.length < a; ) {
|
|
1918
1921
|
if (n.nodeType === 1) {
|
|
1919
|
-
if (n.hasAttributes()) for (const d of n.getAttributeNames()) if (d.endsWith(
|
|
1922
|
+
if (n.hasAttributes()) for (const d of n.getAttributeNames()) if (d.endsWith(Te)) {
|
|
1920
1923
|
const u = l[o++], p = n.getAttribute(d).split(P), g = /([.?@])?(.*)/.exec(u);
|
|
1921
|
-
h.push({ type: 1, index: r, name: g[2], strings: p, ctor: g[1] === "." ?
|
|
1924
|
+
h.push({ type: 1, index: r, name: g[2], strings: p, ctor: g[1] === "." ? Hs : g[1] === "?" ? zs : g[1] === "@" ? Bs : St }), n.removeAttribute(d);
|
|
1922
1925
|
} else d.startsWith(P) && (h.push({ type: 6, index: r }), n.removeAttribute(d));
|
|
1923
1926
|
if (Ue.test(n.tagName)) {
|
|
1924
1927
|
const d = n.textContent.split(P), u = d.length - 1;
|
|
1925
1928
|
if (u > 0) {
|
|
1926
|
-
n.textContent =
|
|
1927
|
-
for (let p = 0; p < u; p++) n.append(d[p],
|
|
1928
|
-
n.append(d[u],
|
|
1929
|
+
n.textContent = _t ? _t.emptyScript : "";
|
|
1930
|
+
for (let p = 0; p < u; p++) n.append(d[p], tt()), T.nextNode(), h.push({ type: 2, index: ++r });
|
|
1931
|
+
n.append(d[u], tt());
|
|
1929
1932
|
}
|
|
1930
1933
|
}
|
|
1931
|
-
} else if (n.nodeType === 8) if (n.data ===
|
|
1934
|
+
} else if (n.nodeType === 8) if (n.data === je) h.push({ type: 2, index: r });
|
|
1932
1935
|
else {
|
|
1933
1936
|
let d = -1;
|
|
1934
1937
|
for (; (d = n.data.indexOf(P, d + 1)) !== -1; ) h.push({ type: 7, index: r }), d += P.length - 1;
|
|
@@ -1937,18 +1940,18 @@ class et {
|
|
|
1937
1940
|
}
|
|
1938
1941
|
}
|
|
1939
1942
|
static createElement(t, e) {
|
|
1940
|
-
const s =
|
|
1943
|
+
const s = V.createElement("template");
|
|
1941
1944
|
return s.innerHTML = t, s;
|
|
1942
1945
|
}
|
|
1943
1946
|
}
|
|
1944
|
-
function
|
|
1947
|
+
function W(i, t, e = i, s) {
|
|
1945
1948
|
var o, a;
|
|
1946
|
-
if (t ===
|
|
1949
|
+
if (t === H) return t;
|
|
1947
1950
|
let n = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
|
|
1948
|
-
const r =
|
|
1949
|
-
return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(i), n._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t =
|
|
1951
|
+
const r = et(t) ? void 0 : t._$litDirective$;
|
|
1952
|
+
return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(i), n._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t = W(i, n._$AS(i, t.values), n, s)), t;
|
|
1950
1953
|
}
|
|
1951
|
-
class
|
|
1954
|
+
class Vs {
|
|
1952
1955
|
constructor(t, e) {
|
|
1953
1956
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
1954
1957
|
}
|
|
@@ -1959,24 +1962,24 @@ class js {
|
|
|
1959
1962
|
return this._$AM._$AU;
|
|
1960
1963
|
}
|
|
1961
1964
|
u(t) {
|
|
1962
|
-
const { el: { content: e }, parts: s } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ??
|
|
1965
|
+
const { el: { content: e }, parts: s } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? V).importNode(e, !0);
|
|
1963
1966
|
T.currentNode = n;
|
|
1964
1967
|
let r = T.nextNode(), o = 0, a = 0, h = s[0];
|
|
1965
1968
|
for (; h !== void 0; ) {
|
|
1966
1969
|
if (o === h.index) {
|
|
1967
1970
|
let c;
|
|
1968
|
-
h.type === 2 ? c = new
|
|
1971
|
+
h.type === 2 ? c = new ot(r, r.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(r, h.name, h.strings, this, t) : h.type === 6 && (c = new Ws(r, this, t)), this._$AV.push(c), h = s[++a];
|
|
1969
1972
|
}
|
|
1970
1973
|
o !== (h == null ? void 0 : h.index) && (r = T.nextNode(), o++);
|
|
1971
1974
|
}
|
|
1972
|
-
return T.currentNode =
|
|
1975
|
+
return T.currentNode = V, n;
|
|
1973
1976
|
}
|
|
1974
1977
|
p(t) {
|
|
1975
1978
|
let e = 0;
|
|
1976
1979
|
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
1977
1980
|
}
|
|
1978
1981
|
}
|
|
1979
|
-
class
|
|
1982
|
+
class ot {
|
|
1980
1983
|
get _$AU() {
|
|
1981
1984
|
var t;
|
|
1982
1985
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -1996,7 +1999,7 @@ class rt {
|
|
|
1996
1999
|
return this._$AB;
|
|
1997
2000
|
}
|
|
1998
2001
|
_$AI(t, e = this) {
|
|
1999
|
-
t =
|
|
2002
|
+
t = W(this, t, e), et(t) ? t === y || t == null || t === "" ? (this._$AH !== y && this._$AR(), this._$AH = y) : t !== this._$AH && t !== H && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ts(t) ? this.k(t) : this._(t);
|
|
2000
2003
|
}
|
|
2001
2004
|
O(t) {
|
|
2002
2005
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -2005,26 +2008,26 @@ class rt {
|
|
|
2005
2008
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
2006
2009
|
}
|
|
2007
2010
|
_(t) {
|
|
2008
|
-
this._$AH !== y &&
|
|
2011
|
+
this._$AH !== y && et(this._$AH) ? this._$AA.nextSibling.data = t : this.T(V.createTextNode(t)), this._$AH = t;
|
|
2009
2012
|
}
|
|
2010
2013
|
$(t) {
|
|
2011
2014
|
var r;
|
|
2012
|
-
const { values: e, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el =
|
|
2015
|
+
const { values: e, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = st.createElement(Ve(s.h, s.h[0]), this.options)), s);
|
|
2013
2016
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === n) this._$AH.p(e);
|
|
2014
2017
|
else {
|
|
2015
|
-
const o = new
|
|
2018
|
+
const o = new Vs(n, this), a = o.u(this.options);
|
|
2016
2019
|
o.p(e), this.T(a), this._$AH = o;
|
|
2017
2020
|
}
|
|
2018
2021
|
}
|
|
2019
2022
|
_$AC(t) {
|
|
2020
|
-
let e =
|
|
2021
|
-
return e === void 0 &&
|
|
2023
|
+
let e = be.get(t.strings);
|
|
2024
|
+
return e === void 0 && be.set(t.strings, e = new st(t)), e;
|
|
2022
2025
|
}
|
|
2023
2026
|
k(t) {
|
|
2024
|
-
|
|
2027
|
+
se(this._$AH) || (this._$AH = [], this._$AR());
|
|
2025
2028
|
const e = this._$AH;
|
|
2026
2029
|
let s, n = 0;
|
|
2027
|
-
for (const r of t) n === e.length ? e.push(s = new
|
|
2030
|
+
for (const r of t) n === e.length ? e.push(s = new ot(this.O(tt()), this.O(tt()), this, this.options)) : s = e[n], s._$AI(r), n++;
|
|
2028
2031
|
n < e.length && (this._$AR(s && s._$AB.nextSibling, n), e.length = n);
|
|
2029
2032
|
}
|
|
2030
2033
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -2039,7 +2042,7 @@ class rt {
|
|
|
2039
2042
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
2040
2043
|
}
|
|
2041
2044
|
}
|
|
2042
|
-
class
|
|
2045
|
+
class St {
|
|
2043
2046
|
get tagName() {
|
|
2044
2047
|
return this.element.tagName;
|
|
2045
2048
|
}
|
|
@@ -2052,11 +2055,11 @@ class Ot {
|
|
|
2052
2055
|
_$AI(t, e = this, s, n) {
|
|
2053
2056
|
const r = this.strings;
|
|
2054
2057
|
let o = !1;
|
|
2055
|
-
if (r === void 0) t =
|
|
2058
|
+
if (r === void 0) t = W(this, t, e, 0), o = !et(t) || t !== this._$AH && t !== H, o && (this._$AH = t);
|
|
2056
2059
|
else {
|
|
2057
2060
|
const a = t;
|
|
2058
2061
|
let h, c;
|
|
2059
|
-
for (t = r[0], h = 0; h < r.length - 1; h++) c =
|
|
2062
|
+
for (t = r[0], h = 0; h < r.length - 1; h++) c = W(this, a[s + h], e, h), c === H && (c = this._$AH[h]), o || (o = !et(c) || c !== this._$AH[h]), c === y ? t = y : t !== y && (t += (c ?? "") + r[h + 1]), this._$AH[h] = c;
|
|
2060
2063
|
}
|
|
2061
2064
|
o && !n && this.j(t);
|
|
2062
2065
|
}
|
|
@@ -2064,7 +2067,7 @@ class Ot {
|
|
|
2064
2067
|
t === y ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
2065
2068
|
}
|
|
2066
2069
|
}
|
|
2067
|
-
class
|
|
2070
|
+
class Hs extends St {
|
|
2068
2071
|
constructor() {
|
|
2069
2072
|
super(...arguments), this.type = 3;
|
|
2070
2073
|
}
|
|
@@ -2072,7 +2075,7 @@ class Vs extends Ot {
|
|
|
2072
2075
|
this.element[this.name] = t === y ? void 0 : t;
|
|
2073
2076
|
}
|
|
2074
2077
|
}
|
|
2075
|
-
class
|
|
2078
|
+
class zs extends St {
|
|
2076
2079
|
constructor() {
|
|
2077
2080
|
super(...arguments), this.type = 4;
|
|
2078
2081
|
}
|
|
@@ -2080,12 +2083,12 @@ class Hs extends Ot {
|
|
|
2080
2083
|
this.element.toggleAttribute(this.name, !!t && t !== y);
|
|
2081
2084
|
}
|
|
2082
2085
|
}
|
|
2083
|
-
class
|
|
2086
|
+
class Bs extends St {
|
|
2084
2087
|
constructor(t, e, s, n, r) {
|
|
2085
2088
|
super(t, e, s, n, r), this.type = 5;
|
|
2086
2089
|
}
|
|
2087
2090
|
_$AI(t, e = this) {
|
|
2088
|
-
if ((t =
|
|
2091
|
+
if ((t = W(this, t, e, 0) ?? y) === H) return;
|
|
2089
2092
|
const s = this._$AH, n = t === y && s !== y || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== y && (s === y || n);
|
|
2090
2093
|
n && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
2091
2094
|
}
|
|
@@ -2094,7 +2097,7 @@ class zs extends Ot {
|
|
|
2094
2097
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
2095
2098
|
}
|
|
2096
2099
|
}
|
|
2097
|
-
class
|
|
2100
|
+
class Ws {
|
|
2098
2101
|
constructor(t, e, s) {
|
|
2099
2102
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
|
2100
2103
|
}
|
|
@@ -2102,17 +2105,17 @@ class Bs {
|
|
|
2102
2105
|
return this._$AM._$AU;
|
|
2103
2106
|
}
|
|
2104
2107
|
_$AI(t) {
|
|
2105
|
-
|
|
2108
|
+
W(this, t);
|
|
2106
2109
|
}
|
|
2107
2110
|
}
|
|
2108
|
-
const
|
|
2109
|
-
|
|
2110
|
-
const
|
|
2111
|
+
const Vt = Z.litHtmlPolyfillSupport;
|
|
2112
|
+
Vt == null || Vt(st, ot), (Z.litHtmlVersions ?? (Z.litHtmlVersions = [])).push("3.3.0");
|
|
2113
|
+
const qs = (i, t, e) => {
|
|
2111
2114
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
2112
2115
|
let n = s._$litPart$;
|
|
2113
2116
|
if (n === void 0) {
|
|
2114
2117
|
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
2115
|
-
s._$litPart$ = n = new
|
|
2118
|
+
s._$litPart$ = n = new ot(t.insertBefore(tt(), r), r, void 0, e ?? {});
|
|
2116
2119
|
}
|
|
2117
2120
|
return n._$AI(i), n;
|
|
2118
2121
|
};
|
|
@@ -2121,7 +2124,8 @@ const Ws = (i, t, e) => {
|
|
|
2121
2124
|
* Copyright 2017 Google LLC
|
|
2122
2125
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2123
2126
|
*/
|
|
2124
|
-
|
|
2127
|
+
const U = globalThis;
|
|
2128
|
+
let Q = class extends z {
|
|
2125
2129
|
constructor() {
|
|
2126
2130
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
2127
2131
|
}
|
|
@@ -2132,7 +2136,7 @@ let Z = class extends H {
|
|
|
2132
2136
|
}
|
|
2133
2137
|
update(t) {
|
|
2134
2138
|
const e = this.render();
|
|
2135
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
2139
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = qs(e, this.renderRoot, this.renderOptions);
|
|
2136
2140
|
}
|
|
2137
2141
|
connectedCallback() {
|
|
2138
2142
|
var t;
|
|
@@ -2143,29 +2147,29 @@ let Z = class extends H {
|
|
|
2143
2147
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
2144
2148
|
}
|
|
2145
2149
|
render() {
|
|
2146
|
-
return
|
|
2150
|
+
return H;
|
|
2147
2151
|
}
|
|
2148
2152
|
};
|
|
2149
|
-
var
|
|
2150
|
-
|
|
2151
|
-
const
|
|
2152
|
-
|
|
2153
|
-
(
|
|
2153
|
+
var Ae;
|
|
2154
|
+
Q._$litElement$ = !0, Q.finalized = !0, (Ae = U.litElementHydrateSupport) == null || Ae.call(U, { LitElement: Q });
|
|
2155
|
+
const Ht = U.litElementPolyfillSupport;
|
|
2156
|
+
Ht == null || Ht({ LitElement: Q });
|
|
2157
|
+
(U.litElementVersions ?? (U.litElementVersions = [])).push("4.2.0");
|
|
2154
2158
|
/**
|
|
2155
2159
|
* @license
|
|
2156
2160
|
* Copyright 2017 Google LLC
|
|
2157
2161
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2158
2162
|
*/
|
|
2159
|
-
const
|
|
2163
|
+
const Js = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: ee }, Fs = (i = Js, t, e) => {
|
|
2160
2164
|
const { kind: s, metadata: n } = e;
|
|
2161
2165
|
let r = globalThis.litPropertyMetadata.get(n);
|
|
2162
|
-
if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(e.name, i), s === "accessor") {
|
|
2166
|
+
if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), s === "setter" && ((i = Object.create(i)).wrapped = !0), r.set(e.name, i), s === "accessor") {
|
|
2163
2167
|
const { name: o } = e;
|
|
2164
2168
|
return { set(a) {
|
|
2165
2169
|
const h = t.get.call(this);
|
|
2166
2170
|
t.set.call(this, a), this.requestUpdate(o, h, i);
|
|
2167
2171
|
}, init(a) {
|
|
2168
|
-
return a !== void 0 && this.
|
|
2172
|
+
return a !== void 0 && this.C(o, void 0, i, a), a;
|
|
2169
2173
|
} };
|
|
2170
2174
|
}
|
|
2171
2175
|
if (s === "setter") {
|
|
@@ -2177,10 +2181,10 @@ const qs = { attribute: !0, type: String, converter: wt, reflect: !1, hasChanged
|
|
|
2177
2181
|
}
|
|
2178
2182
|
throw Error("Unsupported decorator location: " + s);
|
|
2179
2183
|
};
|
|
2180
|
-
function
|
|
2181
|
-
return (t, e) => typeof e == "object" ?
|
|
2184
|
+
function it(i) {
|
|
2185
|
+
return (t, e) => typeof e == "object" ? Fs(i, t, e) : ((s, n, r) => {
|
|
2182
2186
|
const o = n.hasOwnProperty(r);
|
|
2183
|
-
return n.constructor.createProperty(r,
|
|
2187
|
+
return n.constructor.createProperty(r, s), o ? Object.getOwnPropertyDescriptor(n, r) : void 0;
|
|
2184
2188
|
})(i, t, e);
|
|
2185
2189
|
}
|
|
2186
2190
|
/**
|
|
@@ -2189,15 +2193,15 @@ function st(i) {
|
|
|
2189
2193
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2190
2194
|
*/
|
|
2191
2195
|
function k(i) {
|
|
2192
|
-
return
|
|
2196
|
+
return it({ ...i, state: !0, attribute: !1 });
|
|
2193
2197
|
}
|
|
2194
2198
|
/**
|
|
2195
2199
|
* @license
|
|
2196
2200
|
* Copyright 2017 Google LLC
|
|
2197
2201
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2198
2202
|
*/
|
|
2199
|
-
const
|
|
2200
|
-
let
|
|
2203
|
+
const Ks = { ATTRIBUTE: 1, CHILD: 2 }, Gs = (i) => (...t) => ({ _$litDirective$: i, values: t });
|
|
2204
|
+
let Ys = class {
|
|
2201
2205
|
constructor(t) {
|
|
2202
2206
|
}
|
|
2203
2207
|
get _$AU() {
|
|
@@ -2218,10 +2222,10 @@ let Gs = class {
|
|
|
2218
2222
|
* Copyright 2018 Google LLC
|
|
2219
2223
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2220
2224
|
*/
|
|
2221
|
-
const
|
|
2225
|
+
const Zs = Gs(class extends Ys {
|
|
2222
2226
|
constructor(i) {
|
|
2223
2227
|
var t;
|
|
2224
|
-
if (super(i), i.type !==
|
|
2228
|
+
if (super(i), i.type !== Ks.ATTRIBUTE || i.name !== "class" || ((t = i.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
2225
2229
|
}
|
|
2226
2230
|
render(i) {
|
|
2227
2231
|
return " " + Object.keys(i).filter((t) => i[t]).join(" ") + " ";
|
|
@@ -2239,28 +2243,28 @@ const Ys = Ks(class extends Gs {
|
|
|
2239
2243
|
const o = !!t[r];
|
|
2240
2244
|
o === this.st.has(r) || (n = this.nt) != null && n.has(r) || (o ? (e.add(r), this.st.add(r)) : (e.remove(r), this.st.delete(r)));
|
|
2241
2245
|
}
|
|
2242
|
-
return
|
|
2246
|
+
return H;
|
|
2243
2247
|
}
|
|
2244
|
-
}),
|
|
2248
|
+
}), dt = (i, t, e) => {
|
|
2245
2249
|
i && e.style.setProperty(t, i);
|
|
2246
|
-
},
|
|
2250
|
+
}, Qs = (i, t) => {
|
|
2247
2251
|
var e, s, n, r;
|
|
2248
|
-
|
|
2252
|
+
dt((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), dt(
|
|
2249
2253
|
(s = i.colors) == null ? void 0 : s.textOnPrimaryBackground,
|
|
2250
2254
|
"--text-on-primary-background",
|
|
2251
2255
|
t
|
|
2252
|
-
),
|
|
2256
|
+
), dt((n = i.colors) == null ? void 0 : n.secondaryBackground, "--secondary-background", t), dt(
|
|
2253
2257
|
(r = i.colors) == null ? void 0 : r.textOnSecondaryBackground,
|
|
2254
2258
|
"--text-on-secondary-background",
|
|
2255
2259
|
t
|
|
2256
2260
|
);
|
|
2257
2261
|
};
|
|
2258
|
-
var
|
|
2262
|
+
var Xs = Object.defineProperty, at = (i, t, e, s) => {
|
|
2259
2263
|
for (var n = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
2260
2264
|
(o = i[r]) && (n = o(t, e, n) || n);
|
|
2261
|
-
return n &&
|
|
2265
|
+
return n && Xs(t, e, n), n;
|
|
2262
2266
|
};
|
|
2263
|
-
const
|
|
2267
|
+
const ne = class ne extends Q {
|
|
2264
2268
|
constructor() {
|
|
2265
2269
|
super(...arguments), this.active = !1, this.loaded = !1;
|
|
2266
2270
|
}
|
|
@@ -2273,7 +2277,7 @@ const ie = class ie extends Z {
|
|
|
2273
2277
|
_applyBranding() {
|
|
2274
2278
|
var e;
|
|
2275
2279
|
const t = ((e = this.container) == null ? void 0 : e.get("$settings")) ?? {};
|
|
2276
|
-
t != null && t.branding &&
|
|
2280
|
+
t != null && t.branding && Qs(t.branding, this);
|
|
2277
2281
|
}
|
|
2278
2282
|
async _renderSymbol(t) {
|
|
2279
2283
|
const e = async (s) => await import("./index-KiHHCiS_.mjs").then(
|
|
@@ -2284,16 +2288,16 @@ const ie = class ie extends Z {
|
|
|
2284
2288
|
switch (s) {
|
|
2285
2289
|
case "Telia": {
|
|
2286
2290
|
const r = await e(n);
|
|
2287
|
-
return r ?
|
|
2291
|
+
return r ? lt`<telia-icon
|
|
2288
2292
|
class="trigger-icon"
|
|
2289
2293
|
svg=${r.svg}
|
|
2290
2294
|
size="lg"
|
|
2291
2295
|
></telia-icon>` : y;
|
|
2292
2296
|
}
|
|
2293
2297
|
case "FontAwesome":
|
|
2294
|
-
return
|
|
2298
|
+
return lt`<i class="trigger-fa-icon fa fa-${n}"></i>`;
|
|
2295
2299
|
case "Uri":
|
|
2296
|
-
return
|
|
2300
|
+
return lt`<i
|
|
2297
2301
|
class="trigger-custom-icon"
|
|
2298
2302
|
style="background: url(${n}) no-repeat center center;background-size: contain;"
|
|
2299
2303
|
></i>`;
|
|
@@ -2303,8 +2307,8 @@ const ie = class ie extends Z {
|
|
|
2303
2307
|
}
|
|
2304
2308
|
}
|
|
2305
2309
|
render() {
|
|
2306
|
-
return
|
|
2307
|
-
class=${
|
|
2310
|
+
return lt`<button
|
|
2311
|
+
class=${Zs({
|
|
2308
2312
|
trigger: !0,
|
|
2309
2313
|
active: this.active,
|
|
2310
2314
|
rendered: this.loaded
|
|
@@ -2342,8 +2346,8 @@ const ie = class ie extends Z {
|
|
|
2342
2346
|
</button>`;
|
|
2343
2347
|
}
|
|
2344
2348
|
};
|
|
2345
|
-
|
|
2346
|
-
|
|
2349
|
+
ne.styles = [
|
|
2350
|
+
Re`
|
|
2347
2351
|
:host {
|
|
2348
2352
|
--voca-rem-multiplier: 0.625;
|
|
2349
2353
|
display: block;
|
|
@@ -2413,29 +2417,29 @@ ie.styles = [
|
|
|
2413
2417
|
}
|
|
2414
2418
|
`
|
|
2415
2419
|
];
|
|
2416
|
-
let D =
|
|
2417
|
-
|
|
2418
|
-
|
|
2420
|
+
let D = ne;
|
|
2421
|
+
at([
|
|
2422
|
+
it({ attribute: !1 })
|
|
2419
2423
|
], D.prototype, "symbol");
|
|
2420
|
-
|
|
2421
|
-
|
|
2424
|
+
at([
|
|
2425
|
+
it({ attribute: !1 })
|
|
2422
2426
|
], D.prototype, "container");
|
|
2423
|
-
|
|
2427
|
+
at([
|
|
2424
2428
|
k()
|
|
2425
2429
|
], D.prototype, "active");
|
|
2426
|
-
|
|
2430
|
+
at([
|
|
2427
2431
|
k()
|
|
2428
2432
|
], D.prototype, "loaded");
|
|
2429
|
-
|
|
2433
|
+
at([
|
|
2430
2434
|
k()
|
|
2431
2435
|
], D.prototype, "icon");
|
|
2432
|
-
var
|
|
2433
|
-
const
|
|
2436
|
+
var j = /* @__PURE__ */ ((i) => (i.Inline = "inline", i.Link = "link", i.Badge = "badge", i.Unsupported = "unsupported", i))(j || {});
|
|
2437
|
+
const ti = (i, t) => i && t ? "both" : i ? "widgetDOM" : t ? "triggerDOM" : "none", He = (i) => i ? typeof i == "boolean" && i ? "link" : typeof i == "object" && !Array.isArray(i) ? "badge" : "unsupported" : "inline", ei = async (i, t, e, s, n, r = !1) => {
|
|
2434
2438
|
var l, d;
|
|
2435
|
-
const o =
|
|
2439
|
+
const o = ti(
|
|
2436
2440
|
e,
|
|
2437
2441
|
s
|
|
2438
|
-
), a =
|
|
2442
|
+
), a = He(n), h = {
|
|
2439
2443
|
widgetDOMElement: e ? e.cloneNode(!0) : void 0,
|
|
2440
2444
|
triggerDOMElement: s ? s.cloneNode(!0) : void 0
|
|
2441
2445
|
}, c = {
|
|
@@ -2484,8 +2488,8 @@ const Xs = (i, t) => i && t ? "both" : i ? "widgetDOM" : t ? "triggerDOM" : "non
|
|
|
2484
2488
|
}
|
|
2485
2489
|
}
|
|
2486
2490
|
return c;
|
|
2487
|
-
},
|
|
2488
|
-
class
|
|
2491
|
+
}, si = "modals";
|
|
2492
|
+
class ii {
|
|
2489
2493
|
constructor(t, e) {
|
|
2490
2494
|
this.options = e, this.unsubscribe = [], this.container = t.createChild(this), this.container.register("widgetDOMElement", this.options.widgetDOMElement), this.container.register(
|
|
2491
2495
|
"triggerDOMElement",
|
|
@@ -2504,16 +2508,16 @@ class si {
|
|
|
2504
2508
|
*/
|
|
2505
2509
|
render() {
|
|
2506
2510
|
const { widgetDOMElement: t, triggerDOMElement: e } = this.options, s = this.container.get("$widget");
|
|
2507
|
-
return t.getAttribute("data-rendered") === "true" ? Promise.resolve() : (e && this.options.triggerType ===
|
|
2508
|
-
if (t.setAttribute("data-rendered", "true"), e && this.options.triggerType ===
|
|
2511
|
+
return t.getAttribute("data-rendered") === "true" ? Promise.resolve() : (e && this.options.triggerType === j.Badge && Cs(e), import("./render-hJFIawxF.mjs").then((n) => n.default(this.container, t)).then(() => {
|
|
2512
|
+
if (t.setAttribute("data-rendered", "true"), e && this.options.triggerType === j.Badge) {
|
|
2509
2513
|
const r = this.options.triggerOptions.openTooltip;
|
|
2510
|
-
|
|
2514
|
+
Le(e, r);
|
|
2511
2515
|
}
|
|
2512
|
-
|
|
2516
|
+
es(this.container, t);
|
|
2513
2517
|
const n = this.container.get("$environment").widgets.all();
|
|
2514
2518
|
C(
|
|
2515
2519
|
this.container,
|
|
2516
|
-
|
|
2520
|
+
si,
|
|
2517
2521
|
f.Session
|
|
2518
2522
|
).then((r) => {
|
|
2519
2523
|
r && r.forEach((o) => {
|
|
@@ -2553,44 +2557,44 @@ class si {
|
|
|
2553
2557
|
}), (r = e.parentNode) == null || r.removeChild(e), (o = t == null ? void 0 : t.parentNode) == null || o.removeChild(t);
|
|
2554
2558
|
}
|
|
2555
2559
|
}
|
|
2556
|
-
const
|
|
2560
|
+
const ut = "changesets", ni = (i) => {
|
|
2557
2561
|
const t = { tags: i.tags };
|
|
2558
2562
|
return i.context && typeof i.context != "function" && (t.context = i.context), i.properties && typeof i.properties != "function" && (t.properties = i.properties), i.layout && typeof i.layout != "function" && (t.layout = i.layout), t;
|
|
2559
2563
|
};
|
|
2560
|
-
class
|
|
2564
|
+
class ie {
|
|
2561
2565
|
constructor(t, e) {
|
|
2562
2566
|
this.container = t, this.storageWriter = e;
|
|
2563
2567
|
}
|
|
2564
2568
|
static create(t) {
|
|
2565
2569
|
return S(
|
|
2566
2570
|
t,
|
|
2567
|
-
|
|
2571
|
+
ut,
|
|
2568
2572
|
m.Necessary,
|
|
2569
2573
|
{
|
|
2570
2574
|
medium: f.Local
|
|
2571
2575
|
}
|
|
2572
2576
|
).then(
|
|
2573
|
-
(e) => new
|
|
2577
|
+
(e) => new ie(t, e)
|
|
2574
2578
|
);
|
|
2575
2579
|
}
|
|
2576
2580
|
write(t, e, s, n) {
|
|
2577
|
-
return
|
|
2581
|
+
return x(this)(() => C(
|
|
2578
2582
|
this.container,
|
|
2579
|
-
|
|
2583
|
+
ut,
|
|
2580
2584
|
f.Local
|
|
2581
2585
|
).then((r = {}) => {
|
|
2582
2586
|
const { keys: o = [], items: a = {} } = r, h = o.indexOf(t);
|
|
2583
2587
|
return h > -1 && o.splice(h, 1), o.push(t), a[t] = {
|
|
2584
2588
|
options: n,
|
|
2585
|
-
attributes:
|
|
2589
|
+
attributes: ni(s),
|
|
2586
2590
|
rules: e.rules
|
|
2587
2591
|
}, this.storageWriter({ keys: o, items: a });
|
|
2588
2592
|
}));
|
|
2589
2593
|
}
|
|
2590
2594
|
remove(t) {
|
|
2591
|
-
return
|
|
2595
|
+
return x(this)(() => C(
|
|
2592
2596
|
this.container,
|
|
2593
|
-
|
|
2597
|
+
ut,
|
|
2594
2598
|
f.Local
|
|
2595
2599
|
).then((e = {}) => {
|
|
2596
2600
|
const { keys: s = [], items: n = {} } = e, r = s.indexOf(t);
|
|
@@ -2599,9 +2603,9 @@ class se {
|
|
|
2599
2603
|
}));
|
|
2600
2604
|
}
|
|
2601
2605
|
load(t) {
|
|
2602
|
-
return
|
|
2606
|
+
return x(this)(() => C(
|
|
2603
2607
|
this.container,
|
|
2604
|
-
|
|
2608
|
+
ut,
|
|
2605
2609
|
f.Local
|
|
2606
2610
|
).then((e = {}) => {
|
|
2607
2611
|
const { keys: s = [], items: n = {} } = e;
|
|
@@ -2612,28 +2616,28 @@ class se {
|
|
|
2612
2616
|
t.write({
|
|
2613
2617
|
attributes: h,
|
|
2614
2618
|
options: c,
|
|
2615
|
-
target: new
|
|
2619
|
+
target: new q(t, a)
|
|
2616
2620
|
});
|
|
2617
2621
|
}
|
|
2618
2622
|
});
|
|
2619
2623
|
}));
|
|
2620
2624
|
}
|
|
2621
2625
|
}
|
|
2622
|
-
const
|
|
2626
|
+
const ri = (i) => {
|
|
2623
2627
|
const { container: t } = i;
|
|
2624
|
-
return
|
|
2628
|
+
return ie.create(t).then(
|
|
2625
2629
|
(e) => {
|
|
2626
|
-
const s = t.get("$settings"), n = { localStorage: e }, r = new
|
|
2630
|
+
const s = t.get("$settings"), n = { localStorage: e }, r = new rt(i, n), o = ke(r, s);
|
|
2627
2631
|
return i.events.subscribe(
|
|
2628
2632
|
"widget:state-change",
|
|
2629
2633
|
(a, h) => {
|
|
2630
|
-
h.state ===
|
|
2634
|
+
h.state === Ee.Deactivating && o();
|
|
2631
2635
|
}
|
|
2632
2636
|
), r;
|
|
2633
2637
|
}
|
|
2634
2638
|
);
|
|
2635
|
-
},
|
|
2636
|
-
class
|
|
2639
|
+
}, oi = (i) => Promise.resolve().then(() => _s).then(({ StorageProvider: t }) => new t()), ai = (i) => Promise.resolve().then(() => Gt).then(({ ActionResolver: t }) => new t(i)), ci = (i) => Promise.resolve().then(() => Gt).then(({ ComponentResolver: t }) => new t(i)), hi = (i) => Promise.resolve().then(() => Gt).then(() => ri(i.get("$widget"))), zt = "$settings", Bt = "open", we = "activeStickyWidget";
|
|
2640
|
+
class Vi extends Qe {
|
|
2637
2641
|
constructor(t) {
|
|
2638
2642
|
super(t), this.outlets = /* @__PURE__ */ new Map(), this.activated = void 0, this.subs = [], this.handleBootstrapping = (e) => {
|
|
2639
2643
|
const s = {
|
|
@@ -2649,23 +2653,23 @@ class Ui extends Ze {
|
|
|
2649
2653
|
});
|
|
2650
2654
|
}, this.container.registerAsync(
|
|
2651
2655
|
"storage",
|
|
2652
|
-
() =>
|
|
2656
|
+
() => oi(this.container)
|
|
2653
2657
|
), this.container.registerFactory("settings", () => C(
|
|
2654
2658
|
this.container,
|
|
2655
|
-
|
|
2659
|
+
zt,
|
|
2656
2660
|
f.Local
|
|
2657
2661
|
).then((e = {}) => ({
|
|
2658
2662
|
...this.container.get("$settings"),
|
|
2659
2663
|
...e
|
|
2660
|
-
}))),
|
|
2664
|
+
}))), Ke(this, "load", this.handleBootstrapping), this.container.registerAsync(
|
|
2661
2665
|
"componentResolver",
|
|
2662
|
-
() =>
|
|
2666
|
+
() => ci(this.container)
|
|
2663
2667
|
), this.container.registerAsync(
|
|
2664
2668
|
"actionResolver",
|
|
2665
|
-
() =>
|
|
2669
|
+
() => ai(this.container)
|
|
2666
2670
|
), this.container.register("matchMedia", window.matchMedia), this.container.registerAsync(
|
|
2667
2671
|
"components",
|
|
2668
|
-
() =>
|
|
2672
|
+
() => hi(this.container)
|
|
2669
2673
|
);
|
|
2670
2674
|
}
|
|
2671
2675
|
initialize() {
|
|
@@ -2693,10 +2697,10 @@ class Ui extends Ze {
|
|
|
2693
2697
|
var u, p;
|
|
2694
2698
|
const {
|
|
2695
2699
|
widgetDOMElement: s,
|
|
2696
|
-
key: n =
|
|
2700
|
+
key: n = nt(),
|
|
2697
2701
|
triggerDOMElement: r,
|
|
2698
2702
|
withRenderState: o
|
|
2699
|
-
} = t, h =
|
|
2703
|
+
} = t, h = He(e) === j.Inline && ((r == null ? void 0 : r.childElementCount) || 0) > 0, c = await ei(
|
|
2700
2704
|
this.container,
|
|
2701
2705
|
this.widget.name,
|
|
2702
2706
|
s,
|
|
@@ -2706,32 +2710,32 @@ class Ui extends Ze {
|
|
|
2706
2710
|
);
|
|
2707
2711
|
this.outlets.size < 1 && !o && this.setRenderState("unset");
|
|
2708
2712
|
const l = () => {
|
|
2709
|
-
const g = () => b.querySelectorAll("[data-loading=true]").length === 0, [b] = this.widget.container.get("widgetDOMElements"),
|
|
2713
|
+
const g = () => b.querySelectorAll("[data-loading=true]").length === 0, [b] = this.widget.container.get("widgetDOMElements"), A = (kt, w) => {
|
|
2710
2714
|
g() && (c.callback && c.callback(), w.disconnect());
|
|
2711
|
-
},
|
|
2715
|
+
}, ct = {
|
|
2712
2716
|
attributes: !0,
|
|
2713
2717
|
subtree: !0,
|
|
2714
2718
|
childList: !0
|
|
2715
2719
|
};
|
|
2716
|
-
g() && c.callback && c.callback(), new MutationObserver(
|
|
2720
|
+
g() && c.callback && c.callback(), new MutationObserver(A).observe(b, ct);
|
|
2717
2721
|
};
|
|
2718
2722
|
h && this.widget.container.getAsync("dataClient").then(({ events: g }) => {
|
|
2719
2723
|
g.subscribe(
|
|
2720
2724
|
"data-client:fetched",
|
|
2721
|
-
(b,
|
|
2722
|
-
|
|
2725
|
+
(b, A) => {
|
|
2726
|
+
A.unresolvedQueries === 0 && l();
|
|
2723
2727
|
}
|
|
2724
2728
|
);
|
|
2725
2729
|
});
|
|
2726
2730
|
const d = this.getOrCreateViewOutlet(n, c);
|
|
2727
|
-
if (this.outlets.set(n, d), this.widget.events.dispatch("widget:attached", {}, { bubbles: !0 }), c.triggerType ===
|
|
2731
|
+
if (this.outlets.set(n, d), this.widget.events.dispatch("widget:attached", {}, { bubbles: !0 }), c.triggerType === j.Badge && e && ((u = c.triggerDOMElement) == null || u.setAttribute(
|
|
2728
2732
|
"aria-expanded",
|
|
2729
2733
|
"false"
|
|
2730
|
-
), d == null || d.renderBadge(e)), c.triggerType !==
|
|
2734
|
+
), d == null || d.renderBadge(e)), c.triggerType !== j.Inline && ((p = c.triggerDOMElement) == null || p.addEventListener(
|
|
2731
2735
|
"click",
|
|
2732
2736
|
(g) => {
|
|
2733
2737
|
g.preventDefault(), this.container.get("settings").then(({ trigger: b }) => {
|
|
2734
|
-
d.render().then(() => this.renderState()).then((
|
|
2738
|
+
d.render().then(() => this.renderState()).then((A) => b && b.action && b.action === "hide" ? A === _.open ? this.hide() : this.open() : A === _.open ? this.close() : this.open());
|
|
2735
2739
|
});
|
|
2736
2740
|
}
|
|
2737
2741
|
)), this.outlets.size > 1)
|
|
@@ -2740,7 +2744,7 @@ class Ui extends Ze {
|
|
|
2740
2744
|
});
|
|
2741
2745
|
if (o)
|
|
2742
2746
|
return o === "storage" ? this.renderState().then((g) => {
|
|
2743
|
-
if (c.triggerType ===
|
|
2747
|
+
if (c.triggerType === j.Inline) {
|
|
2744
2748
|
this.triggerStateIfApplicable("open");
|
|
2745
2749
|
return;
|
|
2746
2750
|
}
|
|
@@ -2778,7 +2782,7 @@ class Ui extends Ze {
|
|
|
2778
2782
|
}
|
|
2779
2783
|
}
|
|
2780
2784
|
getOrCreateViewOutlet(t, e) {
|
|
2781
|
-
return this.outlets.has(t) ? this.outlets.get(t) : new
|
|
2785
|
+
return this.outlets.has(t) ? this.outlets.get(t) : new ii(this.container, e);
|
|
2782
2786
|
}
|
|
2783
2787
|
render(t = {}) {
|
|
2784
2788
|
if (process.env.NODE_ENV !== "production" && console.warn(
|
|
@@ -2804,7 +2808,7 @@ class Ui extends Ze {
|
|
|
2804
2808
|
this.container.get("settings"),
|
|
2805
2809
|
S(
|
|
2806
2810
|
this.container,
|
|
2807
|
-
|
|
2811
|
+
zt,
|
|
2808
2812
|
m.Necessary,
|
|
2809
2813
|
{
|
|
2810
2814
|
medium: f.Local
|
|
@@ -2818,7 +2822,7 @@ class Ui extends Ze {
|
|
|
2818
2822
|
clearSettings() {
|
|
2819
2823
|
return S(
|
|
2820
2824
|
this.container,
|
|
2821
|
-
|
|
2825
|
+
zt,
|
|
2822
2826
|
m.Necessary,
|
|
2823
2827
|
{ medium: f.Local }
|
|
2824
2828
|
).then((t) => t()).then(() => this.container.get("settings")).then((t) => {
|
|
@@ -2833,7 +2837,7 @@ class Ui extends Ze {
|
|
|
2833
2837
|
renderState() {
|
|
2834
2838
|
return C(
|
|
2835
2839
|
this.container,
|
|
2836
|
-
|
|
2840
|
+
Bt,
|
|
2837
2841
|
f.Session
|
|
2838
2842
|
).then((e = _.closed) => e);
|
|
2839
2843
|
}
|
|
@@ -2883,7 +2887,7 @@ class Ui extends Ze {
|
|
|
2883
2887
|
return Promise.all([
|
|
2884
2888
|
S(
|
|
2885
2889
|
this.container,
|
|
2886
|
-
|
|
2890
|
+
Bt,
|
|
2887
2891
|
m.Necessary,
|
|
2888
2892
|
{
|
|
2889
2893
|
medium: f.Session
|
|
@@ -2891,7 +2895,7 @@ class Ui extends Ze {
|
|
|
2891
2895
|
),
|
|
2892
2896
|
S(
|
|
2893
2897
|
this.container,
|
|
2894
|
-
|
|
2898
|
+
Bt,
|
|
2895
2899
|
m.Necessary,
|
|
2896
2900
|
{
|
|
2897
2901
|
medium: f.Local,
|
|
@@ -2938,7 +2942,7 @@ class Ui extends Ze {
|
|
|
2938
2942
|
const {
|
|
2939
2943
|
options: { triggerDOMElement: s, triggerOptions: n }
|
|
2940
2944
|
} = e, { openTooltip: r, closedTooltip: o } = n || {};
|
|
2941
|
-
s && (t ?
|
|
2945
|
+
s && (t ? Le(s, r) : Es(s, o));
|
|
2942
2946
|
});
|
|
2943
2947
|
}
|
|
2944
2948
|
deactivate() {
|
|
@@ -2946,15 +2950,15 @@ class Ui extends Ze {
|
|
|
2946
2950
|
const t = [];
|
|
2947
2951
|
return this.outlets.forEach((e) => t.push(e.dispose())), C(
|
|
2948
2952
|
this.container,
|
|
2949
|
-
|
|
2953
|
+
we,
|
|
2950
2954
|
f.Local
|
|
2951
2955
|
).then((e) => e === this.widget.name ? S(
|
|
2952
2956
|
this.container,
|
|
2953
|
-
|
|
2957
|
+
we,
|
|
2954
2958
|
m.Necessary,
|
|
2955
2959
|
{
|
|
2956
2960
|
medium: f.Local,
|
|
2957
|
-
scope:
|
|
2961
|
+
scope: J.Implementation
|
|
2958
2962
|
}
|
|
2959
2963
|
).then((s) => s()).then(() => Promise.all(t)) : Promise.all(t));
|
|
2960
2964
|
}
|
|
@@ -2964,7 +2968,7 @@ class Ui extends Ze {
|
|
|
2964
2968
|
* Copyright 2021 Google LLC
|
|
2965
2969
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2966
2970
|
*/
|
|
2967
|
-
let
|
|
2971
|
+
let ze = class extends Event {
|
|
2968
2972
|
constructor(t, e, s, n) {
|
|
2969
2973
|
super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = e, this.callback = s, this.subscribe = n ?? !1;
|
|
2970
2974
|
}
|
|
@@ -2979,7 +2983,7 @@ let He = class extends Event {
|
|
|
2979
2983
|
* Copyright 2021 Google LLC
|
|
2980
2984
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2981
2985
|
*/
|
|
2982
|
-
let
|
|
2986
|
+
let $e = class {
|
|
2983
2987
|
constructor(t, e, s, n) {
|
|
2984
2988
|
if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (r, o) => {
|
|
2985
2989
|
this.unsubscribe && (this.unsubscribe !== o && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = r, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(r, o)), this.unsubscribe = o;
|
|
@@ -2996,7 +3000,7 @@ let we = class {
|
|
|
2996
3000
|
this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
|
|
2997
3001
|
}
|
|
2998
3002
|
dispatchRequest() {
|
|
2999
|
-
this.host.dispatchEvent(new
|
|
3003
|
+
this.host.dispatchEvent(new ze(this.context, this.host, this.t, this.subscribe));
|
|
3000
3004
|
}
|
|
3001
3005
|
};
|
|
3002
3006
|
/**
|
|
@@ -3004,7 +3008,7 @@ let we = class {
|
|
|
3004
3008
|
* Copyright 2021 Google LLC
|
|
3005
3009
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3006
3010
|
*/
|
|
3007
|
-
class
|
|
3011
|
+
class li {
|
|
3008
3012
|
get value() {
|
|
3009
3013
|
return this.o;
|
|
3010
3014
|
}
|
|
@@ -3037,12 +3041,12 @@ class hi {
|
|
|
3037
3041
|
* Copyright 2021 Google LLC
|
|
3038
3042
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3039
3043
|
*/
|
|
3040
|
-
class
|
|
3044
|
+
class di extends Event {
|
|
3041
3045
|
constructor(t, e) {
|
|
3042
3046
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = e;
|
|
3043
3047
|
}
|
|
3044
3048
|
}
|
|
3045
|
-
class
|
|
3049
|
+
class K extends li {
|
|
3046
3050
|
constructor(t, e, s) {
|
|
3047
3051
|
var n, r;
|
|
3048
3052
|
super(e.context !== void 0 ? e.initialValue : s), this.onContextRequest = (o) => {
|
|
@@ -3052,7 +3056,7 @@ class F extends hi {
|
|
|
3052
3056
|
}, this.onProviderRequest = (o) => {
|
|
3053
3057
|
if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
|
|
3054
3058
|
const a = /* @__PURE__ */ new Set();
|
|
3055
|
-
for (const [h, { consumerHost: c }] of this.subscriptions) a.has(h) || (a.add(h), c.dispatchEvent(new
|
|
3059
|
+
for (const [h, { consumerHost: c }] of this.subscriptions) a.has(h) || (a.add(h), c.dispatchEvent(new ze(this.context, c, h, !0)));
|
|
3056
3060
|
o.stopPropagation();
|
|
3057
3061
|
}, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (r = (n = this.host).addController) == null || r.call(n, this);
|
|
3058
3062
|
}
|
|
@@ -3060,7 +3064,7 @@ class F extends hi {
|
|
|
3060
3064
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
3061
3065
|
}
|
|
3062
3066
|
hostConnected() {
|
|
3063
|
-
this.host.dispatchEvent(new
|
|
3067
|
+
this.host.dispatchEvent(new di(this.context, this.host));
|
|
3064
3068
|
}
|
|
3065
3069
|
}
|
|
3066
3070
|
/**
|
|
@@ -3068,21 +3072,21 @@ class F extends hi {
|
|
|
3068
3072
|
* Copyright 2022 Google LLC
|
|
3069
3073
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3070
3074
|
*/
|
|
3071
|
-
function
|
|
3075
|
+
function ui({ context: i, subscribe: t }) {
|
|
3072
3076
|
return (e, s) => {
|
|
3073
3077
|
typeof s == "object" ? s.addInitializer(function() {
|
|
3074
|
-
new
|
|
3078
|
+
new $e(this, { context: i, callback: (n) => {
|
|
3075
3079
|
e.set.call(this, n);
|
|
3076
3080
|
}, subscribe: t });
|
|
3077
3081
|
}) : e.constructor.addInitializer((n) => {
|
|
3078
|
-
new
|
|
3082
|
+
new $e(n, { context: i, callback: (r) => {
|
|
3079
3083
|
n[s] = r;
|
|
3080
3084
|
}, subscribe: t });
|
|
3081
3085
|
});
|
|
3082
3086
|
};
|
|
3083
3087
|
}
|
|
3084
|
-
const
|
|
3085
|
-
class
|
|
3088
|
+
const pi = "children", gi = "descriptor", mi = "container", fi = "context", yi = "layout", vi = "properties";
|
|
3089
|
+
class bi {
|
|
3086
3090
|
constructor(t) {
|
|
3087
3091
|
(this.host = t).addController(this);
|
|
3088
3092
|
}
|
|
@@ -3099,18 +3103,18 @@ class vi {
|
|
|
3099
3103
|
async dispatch(t, e) {
|
|
3100
3104
|
if (!this._container || !this._descriptor)
|
|
3101
3105
|
return;
|
|
3102
|
-
const s = await
|
|
3106
|
+
const s = await rt.getInstance(
|
|
3103
3107
|
this._container
|
|
3104
|
-
), n = new
|
|
3108
|
+
), n = new q(s).withId(
|
|
3105
3109
|
this._descriptor.id
|
|
3106
3110
|
);
|
|
3107
3111
|
await s.actions(
|
|
3108
3112
|
n,
|
|
3109
|
-
this._descriptor.type ||
|
|
3113
|
+
this._descriptor.type || nt()
|
|
3110
3114
|
).dispatch(t, e);
|
|
3111
3115
|
}
|
|
3112
3116
|
}
|
|
3113
|
-
const
|
|
3117
|
+
const wi = async (i, t) => {
|
|
3114
3118
|
const e = i.properties().provider;
|
|
3115
3119
|
let s = {}, n = "";
|
|
3116
3120
|
Array.isArray(e) ? (n = e[0], s = e[1]) : n = e || "";
|
|
@@ -3120,14 +3124,14 @@ const bi = async (i, t) => {
|
|
|
3120
3124
|
if (!r)
|
|
3121
3125
|
throw new Error("No provider defined in ListComponent");
|
|
3122
3126
|
return r.applyComponentNodeSettings(i.node.id, s), { provider: r, settings: s };
|
|
3123
|
-
},
|
|
3124
|
-
const { provider: e, settings: s = {} } = await
|
|
3127
|
+
}, Bi = async (i, t) => {
|
|
3128
|
+
const { provider: e, settings: s = {} } = await wi(i, t);
|
|
3125
3129
|
return {
|
|
3126
3130
|
addResource: (n, r) => e.addResource(n, r),
|
|
3127
3131
|
getData: (n, r) => e.getData(n, r, s)
|
|
3128
3132
|
};
|
|
3129
3133
|
};
|
|
3130
|
-
class
|
|
3134
|
+
class $i {
|
|
3131
3135
|
constructor(t) {
|
|
3132
3136
|
this.container = t, this.resources = /* @__PURE__ */ new Map(), this.nodeConfiguration = /* @__PURE__ */ new Map();
|
|
3133
3137
|
}
|
|
@@ -3144,18 +3148,18 @@ class wi {
|
|
|
3144
3148
|
this.nodeConfiguration.set(t, e);
|
|
3145
3149
|
}
|
|
3146
3150
|
}
|
|
3147
|
-
const
|
|
3151
|
+
const _e = (i) => ({
|
|
3148
3152
|
title: i.Title,
|
|
3149
3153
|
id: i.Id.toString()
|
|
3150
3154
|
});
|
|
3151
|
-
class
|
|
3155
|
+
class _i extends $i {
|
|
3152
3156
|
constructor(t) {
|
|
3153
3157
|
super(t), this.addResource("item", {
|
|
3154
3158
|
query: async (e, s) => {
|
|
3155
3159
|
const n = e.itemId, r = "78aacc09-ae6f-5485-5ca3-9dacebb95825", o = t.get("$widget").name, a = s.projection || "", c = await (await fetch(
|
|
3156
3160
|
`${a}/guides/${n}?client=${r}&funnel=${o}&site=%2F%2Fdemo.humany.cc%2Fadmin%2Finterfaces&phrase=&connectionId=&p.LastGuideId=2857`
|
|
3157
3161
|
)).json();
|
|
3158
|
-
return c ?
|
|
3162
|
+
return c ? _e(c) : null;
|
|
3159
3163
|
}
|
|
3160
3164
|
}), this.addResource("items", {
|
|
3161
3165
|
query: async (e, s) => {
|
|
@@ -3163,43 +3167,43 @@ class $i extends wi {
|
|
|
3163
3167
|
`${o}/guides?client=${n}&funnel=${r}&site=&phrase=&skip=0&take=10&sorting.type=popularity&sorting.direction=descending`
|
|
3164
3168
|
)).json();
|
|
3165
3169
|
return {
|
|
3166
|
-
items: (d.Matches || []).map((u) =>
|
|
3170
|
+
items: (d.Matches || []).map((u) => _e(u)),
|
|
3167
3171
|
totalItems: (d == null ? void 0 : d.TotalMatches) || 0
|
|
3168
3172
|
};
|
|
3169
3173
|
}
|
|
3170
3174
|
});
|
|
3171
3175
|
}
|
|
3172
3176
|
}
|
|
3173
|
-
const
|
|
3174
|
-
i.registerAsync("guideProvider", () => new
|
|
3175
|
-
},
|
|
3176
|
-
}), t, n))),
|
|
3177
|
+
const Wi = async (i) => {
|
|
3178
|
+
i.registerAsync("guideProvider", () => new _i(i));
|
|
3179
|
+
}, qi = (i, t, e, s, n) => i.getAsync("componentResolver").then((r) => (r.registerComponent(t, e), Ne(i, t, s || (() => {
|
|
3180
|
+
}), t, n))), Ai = (i) => {
|
|
3177
3181
|
const t = {};
|
|
3178
3182
|
return Object.keys(i).forEach((e) => {
|
|
3179
3183
|
e.indexOf("css-") > -1 && (t[e] = i[e]);
|
|
3180
3184
|
}), t;
|
|
3181
3185
|
}, xi = (i, t) => {
|
|
3182
|
-
const e =
|
|
3186
|
+
const e = Ai(t);
|
|
3183
3187
|
Object.entries(e).forEach(([s, n]) => {
|
|
3184
3188
|
i.style.setProperty(s.replace("css-", ""), n);
|
|
3185
3189
|
});
|
|
3186
3190
|
};
|
|
3187
|
-
var
|
|
3191
|
+
var Ei = Object.defineProperty, I = (i, t, e, s) => {
|
|
3188
3192
|
for (var n = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
3189
3193
|
(o = i[r]) && (n = o(t, e, n) || n);
|
|
3190
|
-
return n &&
|
|
3194
|
+
return n && Ei(t, e, n), n;
|
|
3191
3195
|
};
|
|
3192
|
-
const
|
|
3196
|
+
const Ji = (i) => {
|
|
3193
3197
|
const e = class e extends i {
|
|
3194
3198
|
constructor() {
|
|
3195
|
-
super(...arguments), this.entry = "", this._descriptorProvider = new
|
|
3199
|
+
super(...arguments), this.entry = "", this._descriptorProvider = new K(
|
|
3196
3200
|
this,
|
|
3197
|
-
|
|
3201
|
+
gi,
|
|
3198
3202
|
void 0
|
|
3199
|
-
), this._childrenProvider = new
|
|
3203
|
+
), this._childrenProvider = new K(this, pi, []), this._propertiesProvider = new K(this, vi, {}), this._contextProvider = new K(this, fi, {}), this._layoutProvider = new K(this, yi, {}), this.actions = new bi(this), this.context = {}, this.layout = {}, this.properties = {};
|
|
3200
3204
|
}
|
|
3201
3205
|
connectedCallback() {
|
|
3202
|
-
super.connectedCallback(), this.container && (this.actions.setContainer(this.container),
|
|
3206
|
+
super.connectedCallback(), this.container && (this.actions.setContainer(this.container), rt.getInstance(this.container).then(
|
|
3203
3207
|
async (n) => {
|
|
3204
3208
|
var o, a;
|
|
3205
3209
|
const r = n.nodes.get(this.entry);
|
|
@@ -3221,8 +3225,8 @@ const Wi = (i) => {
|
|
|
3221
3225
|
}
|
|
3222
3226
|
);
|
|
3223
3227
|
const h = "default";
|
|
3224
|
-
this._unmountNode = r.mount(this.container), this._setDescriptor(
|
|
3225
|
-
const c = r.getChildren(h).map((u) =>
|
|
3228
|
+
this._unmountNode = r.mount(this.container), this._setDescriptor(qt(r, h)), this._setProperties(r.attributes.properties), this._setContext(r.attributes.context), this._setLayout(this.layout);
|
|
3229
|
+
const c = r.getChildren(h).map((u) => qt(u));
|
|
3226
3230
|
this._childrenProvider.setValue(c);
|
|
3227
3231
|
const l = await this.container.getAsync("componentResolver");
|
|
3228
3232
|
if (((o = this.descriptor) == null ? void 0 : o.type) === "area")
|
|
@@ -3261,7 +3265,7 @@ const Wi = (i) => {
|
|
|
3261
3265
|
};
|
|
3262
3266
|
e.styles = [
|
|
3263
3267
|
i.styles ?? [],
|
|
3264
|
-
|
|
3268
|
+
Re`
|
|
3265
3269
|
:host {
|
|
3266
3270
|
font-family: var(--font-family);
|
|
3267
3271
|
grid-column: span var(--width);
|
|
@@ -3277,10 +3281,10 @@ const Wi = (i) => {
|
|
|
3277
3281
|
];
|
|
3278
3282
|
let t = e;
|
|
3279
3283
|
return I([
|
|
3280
|
-
|
|
3281
|
-
|
|
3284
|
+
ui({ context: mi }),
|
|
3285
|
+
it({ attribute: !1 })
|
|
3282
3286
|
], t.prototype, "container"), I([
|
|
3283
|
-
|
|
3287
|
+
it()
|
|
3284
3288
|
], t.prototype, "entry"), I([
|
|
3285
3289
|
k()
|
|
3286
3290
|
], t.prototype, "descriptor"), I([
|
|
@@ -3294,32 +3298,32 @@ const Wi = (i) => {
|
|
|
3294
3298
|
], t.prototype, "properties"), t;
|
|
3295
3299
|
};
|
|
3296
3300
|
export {
|
|
3297
|
-
|
|
3298
|
-
|
|
3301
|
+
bi as A,
|
|
3302
|
+
$i as D,
|
|
3299
3303
|
y as E,
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3304
|
+
Wi as G,
|
|
3305
|
+
H as T,
|
|
3306
|
+
Ji as W,
|
|
3307
|
+
Q as a,
|
|
3308
|
+
K as b,
|
|
3309
|
+
mi as c,
|
|
3310
|
+
rt as d,
|
|
3311
|
+
Gs as e,
|
|
3312
|
+
Re as f,
|
|
3309
3313
|
xi as g,
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3314
|
+
Vi as h,
|
|
3315
|
+
Ys as i,
|
|
3316
|
+
pi as j,
|
|
3317
|
+
gi as k,
|
|
3318
|
+
fi as l,
|
|
3319
|
+
Qs as m,
|
|
3320
|
+
it as n,
|
|
3317
3321
|
_ as o,
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3322
|
+
yi as p,
|
|
3323
|
+
vi as q,
|
|
3324
|
+
k as r,
|
|
3325
|
+
Bi as s,
|
|
3326
|
+
Ks as t,
|
|
3327
|
+
qi as u,
|
|
3328
|
+
lt as x
|
|
3325
3329
|
};
|