@everymatrix/casino-tournaments-controller 1.77.0 → 1.77.1
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/components/{CasinoTournamentsController-syrFuaCg.cjs → CasinoTournamentsController-BP4GZVtU.cjs} +1 -1
- package/components/{CasinoTournamentsController-DPBvC805.js → CasinoTournamentsController-BeFfFxE9.js} +2 -2
- package/components/{CasinoTournamentsController-ChOW6ccm.js → CasinoTournamentsController-LRYFaR-t.js} +2 -2
- package/components/{CasinoTournamentsFilterController-B4IK6kO4.js → CasinoTournamentsFilterController-BsEC-oQo.js} +1 -1
- package/components/{CasinoTournamentsFilterController-hbXylZbn.cjs → CasinoTournamentsFilterController-DXK0XSxa.cjs} +1 -1
- package/components/{CasinoTournamentsFilterController-BdZtyVyv.js → CasinoTournamentsFilterController-DXxuTK6U.js} +1 -1
- package/components/{CasinoTournamentsListController-LZqGZ-yw.cjs → CasinoTournamentsListController-BNEV4LWf.cjs} +2 -2
- package/components/{CasinoTournamentsListController-B6SgXL9J.js → CasinoTournamentsListController-C0LGjwkY.js} +2 -2
- package/components/{CasinoTournamentsListController-JsUoJiKi.js → CasinoTournamentsListController-CfUssFi-.js} +2 -2
- package/components/{CasinoTournamentsThumbnail-B7cPkosm.js → CasinoTournamentsThumbnail-B9JEdetg.js} +2 -2
- package/components/{CasinoTournamentsThumbnail-CHfIBIsP.cjs → CasinoTournamentsThumbnail-CsQHQ8xG.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-Cl3gWoOp.js → CasinoTournamentsThumbnail-DaaNoGx-.js} +2 -2
- package/components/{CasinoTournamentsThumbnailController-C5xjvgBY.js → CasinoTournamentsThumbnailController-Cwhxc5Ya.js} +5 -5
- package/components/{CasinoTournamentsThumbnailController-BT6j-mHE.cjs → CasinoTournamentsThumbnailController-D42lQnRg.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-DqRQOqRr.js → CasinoTournamentsThumbnailController-DrFp803W.js} +5 -5
- package/components/{CasinoTournamentsThumbnailDuration-mg9f3RX3.cjs → CasinoTournamentsThumbnailDuration-B313qJLe.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-SEBshw9h.js → CasinoTournamentsThumbnailDuration-B4xI8aqp.js} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-BS-F_f-7.js → CasinoTournamentsThumbnailDuration-CFiANZ67.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-Bw1-8EcJ.js → CasinoTournamentsThumbnailGamesSlider-CscM2Myg.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-NFOr25Av.js → CasinoTournamentsThumbnailGamesSlider-DETtvQAK.js} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-D0RoWUyP.cjs → CasinoTournamentsThumbnailGamesSlider-DthTO66j.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-BwrPSi4T.js → CasinoTournamentsThumbnailPrizes-BC1gIfM9.js} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-DJWlBzJG.cjs → CasinoTournamentsThumbnailPrizes-CvNiFAlR.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-ELkQhcv0.js → CasinoTournamentsThumbnailPrizes-DRNNbLKj.js} +1 -1
- package/es2015/casino-tournaments-controller.cjs +1 -1
- package/es2015/casino-tournaments-controller.js +1 -1
- package/esnext/casino-tournaments-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-242ac81a-BqeIndhr.js +554 -0
- package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
- package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
- package/stencil/ui-image-2ff23cd5-BHGIWJop.cjs +1 -0
- package/stencil/ui-image-2ff23cd5-D0rXudCW.js +86 -0
- package/stencil/ui-image-2ff23cd5-DCLQ0SIO.js +86 -0
- package/stencil/ui-image-CGQNKTif.js +7 -0
- package/stencil/ui-image-CYCsgzdt.cjs +1 -0
- package/stencil/ui-image-D4MrqmCW.js +25 -0
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-B21W_djK.js} +2 -2
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-CLk629jW.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-VgK3B8gQ.js} +2 -2
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
- package/stencil/ui-image-Bk8cIvcH.cjs +0 -1
- package/stencil/ui-image-CXqPvnQ2.js +0 -7
- package/stencil/ui-image-DgbODkuX.js +0 -25
- package/stencil/ui-image-b7b48fe5-ByRuJtdE.js +0 -39
- package/stencil/ui-image-b7b48fe5-D6iig_uN.js +0 -39
- package/stencil/ui-image-b7b48fe5-DG83WzAo.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-BP4GZVtU.cjs");function _(l,t){e.addMessages(l,t)}const y={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function k(l){e.append_styles(l,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function P(l,t,n){const i=l.slice();return i[12]=t[n],i[14]=n,i}function b(l){let t,n=e.ensure_array_like(l[1]),i=[];for(let r=0;r<n.length;r+=1)i[r]=w(P(l,n,r));let a=null;return n.length||(a=v(l)),{c(){t=e.element("div");for(let r=0;r<i.length;r+=1)i[r].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(r,c){e.insert(r,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(r,c){if(c&6){n=e.ensure_array_like(r[1]);let s;for(s=0;s<n.length;s+=1){const d=P(r,n,s);i[s]?i[s].p(d,c):(i[s]=w(d),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(r,c):n.length?a&&(a.d(1),a=null):(a=v(r),a.c(),a.m(t,null))}},d(r){r&&e.detach(t),e.destroy_each(i,r),a&&a.d()}}}function v(l){let t,n=l[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,r){e.insert(a,t,r),e.append(t,i)},p(a,r){r&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function w(l){let t,n,i,a=(l[12].count>1?`${l[12].rank}~${l[12].rank+l[12].count-1}`:l[12].rank)+"",r,c,s=l[2]("place")+"",d,p,u=l[12].name+"",f,g;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),r=e.text(a),c=e.space(),d=e.text(s),p=e.text(": "),f=e.text(u),g=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+l[14]),e.attr(t,"part","Prize Prize"+l[14])},m(m,o){e.insert(m,t,o),e.append(t,n),e.append(n,i),e.append(i,r),e.append(n,c),e.append(n,d),e.append(n,p),e.append(n,f),e.append(t,g)},p(m,o){o&2&&a!==(a=(m[12].count>1?`${m[12].rank}~${m[12].rank+m[12].count-1}`:m[12].rank)+"")&&e.set_data(r,a),o&4&&s!==(s=m[2]("place")+"")&&e.set_data(d,s),o&2&&u!==(u=m[12].name+"")&&e.set_data(f,u)},d(m){m&&e.detach(t)}}}function S(l){let t,n,i,a,r,c=l[2]("prizes")+"",s,d,p=l[1]&&b(l);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),r=e.element("p"),s=e.text(c),d=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(r,"class","PrizesTitle"),e.attr(r,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(u,f){e.insert(u,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,r),e.append(r,s),e.append(t,d),p&&p.m(t,null),l[8](t)},p(u,[f]){f&4&&c!==(c=u[2]("prizes")+"")&&e.set_data(s,c),u[1]?p?p.p(u,f):(p=b(u),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),p&&p.d(),l[8](null)}}}function F(l,t,n){let i;e.component_subscribe(l,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,{mbsource:d}=t,p,u;const f=()=>{fetch(s).then(h=>h.json()).then(h=>{Object.keys(h).forEach(z=>{_(z,h[z])})}).catch(h=>{console.log(h)})};Object.keys(y).forEach(o=>{_(o,y[o])});const g=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,u=o.data.prizes)};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function m(o){e.binding_callbacks[o?"unshift":"push"](()=>{p=o,n(0,p)})}return l.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,r=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl),"mbsource"in o&&n(7,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty&17&&r&&p&&e.setClientStyling(p,r),l.$$.dirty&33&&c&&p&&e.setClientStylingURL(p,c),l.$$.dirty&129&&d&&p&&e.setStreamStyling(p,`${d}.Style`),l.$$.dirty&64&&s&&f()},[p,u,i,a,r,c,s,d,m]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,S,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6,mbsource:7},k)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(T,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as L, S as C, i as Z, s as j, f as _, b as I, n as F, d as w, m as b, c as T, p as d, e as g, q as v, t as y, g as p, j as B, o as R, k as S, l as O, r as q, w as U, x as V, y as W, z as D, $ as G } from "./CasinoTournamentsController-
|
|
1
|
+
import { a as L, S as C, i as Z, s as j, f as _, b as I, n as F, d as w, m as b, c as T, p as d, e as g, q as v, t as y, g as p, j as B, o as R, k as S, l as O, r as q, w as U, x as V, y as W, z as D, $ as G } from "./CasinoTournamentsController-BeFfFxE9.js";
|
|
2
2
|
function N(r, e) {
|
|
3
3
|
L(r, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsController-BP4GZVtU.cjs")).then(e=>e.CasinoTournamentsController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-controller")&&customElements.define("casino-tournaments-controller",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsController-BeFfFxE9.js").then((e) => e.N).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-controller") && customElements.define("casino-tournaments-controller", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,554 @@
|
|
|
1
|
+
var P = (e, t, n) => new Promise((s, r) => {
|
|
2
|
+
var a = ($) => {
|
|
3
|
+
try {
|
|
4
|
+
i(n.next($));
|
|
5
|
+
} catch (c) {
|
|
6
|
+
r(c);
|
|
7
|
+
}
|
|
8
|
+
}, l = ($) => {
|
|
9
|
+
try {
|
|
10
|
+
i(n.throw($));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
r(c);
|
|
13
|
+
}
|
|
14
|
+
}, i = ($) => $.done ? s($.value) : Promise.resolve($.value).then(a, l);
|
|
15
|
+
i((n = n.apply(e, t)).next());
|
|
16
|
+
});
|
|
17
|
+
const ue = "ui-image", de = (
|
|
18
|
+
/* ui-image */
|
|
19
|
+
{ hydratedSelectorName: "hydrated" }
|
|
20
|
+
);
|
|
21
|
+
var ve = Object.defineProperty, ge = (e, t) => {
|
|
22
|
+
for (var n in t)
|
|
23
|
+
ve(e, n, { get: t[n], enumerable: !0 });
|
|
24
|
+
}, U = /* @__PURE__ */ new WeakMap(), b = (e) => U.get(e), Ve = (e, t) => U.set(t.$lazyInstance$ = e, t), he = (e, t) => {
|
|
25
|
+
const n = {
|
|
26
|
+
$flags$: 0,
|
|
27
|
+
$hostElement$: e,
|
|
28
|
+
$cmpMeta$: t,
|
|
29
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
30
|
+
};
|
|
31
|
+
return n.$onReadyPromise$ = new Promise((s) => n.$onReadyResolve$ = s), e["s-p"] = [], e["s-rc"] = [], U.set(e, n);
|
|
32
|
+
}, pe = (e, t) => t in e, E = (e, t) => (0, console.error)(e, t), j = /* @__PURE__ */ new Map(), me = (e, t, n) => {
|
|
33
|
+
const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
|
|
34
|
+
if (!r)
|
|
35
|
+
return;
|
|
36
|
+
const a = j.get(r);
|
|
37
|
+
if (a)
|
|
38
|
+
return a[s];
|
|
39
|
+
{
|
|
40
|
+
const l = (i) => (j.set(r, i), i[s]);
|
|
41
|
+
switch (r) {
|
|
42
|
+
case "ui-image_2":
|
|
43
|
+
return import(
|
|
44
|
+
/* webpackMode: "lazy" */
|
|
45
|
+
"./ui-image_2-VgK3B8gQ.js"
|
|
46
|
+
).then(l, E);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return import(
|
|
50
|
+
/* @vite-ignore */
|
|
51
|
+
/* webpackInclude: /\.entry\.js$/ */
|
|
52
|
+
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
53
|
+
/* webpackMode: "lazy" */
|
|
54
|
+
`./${r}.entry.js`
|
|
55
|
+
).then((l) => (j.set(r, l), l[s]), E);
|
|
56
|
+
}, _ = /* @__PURE__ */ new Map(), ye = "{visibility:hidden}.hydrated{visibility:inherit}", Q = "slot-fb{display:contents}slot-fb[hidden]{display:none}", B = typeof window != "undefined" ? window : {}, y = B.document || { head: {} }, h = {
|
|
57
|
+
$flags$: 0,
|
|
58
|
+
$resourcesUrl$: "",
|
|
59
|
+
jmp: (e) => e(),
|
|
60
|
+
raf: (e) => requestAnimationFrame(e),
|
|
61
|
+
ael: (e, t, n, s) => e.addEventListener(t, n, s),
|
|
62
|
+
rel: (e, t, n, s) => e.removeEventListener(t, n, s),
|
|
63
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
64
|
+
}, Se = (e) => Promise.resolve(e), be = /* @__PURE__ */ (() => {
|
|
65
|
+
try {
|
|
66
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
|
|
67
|
+
} catch (e) {
|
|
68
|
+
}
|
|
69
|
+
return !1;
|
|
70
|
+
})(), O = !1, F = [], X = [], Ee = (e, t) => (n) => {
|
|
71
|
+
e.push(n), O || (O = !0, h.$flags$ & 4 ? q(I) : h.raf(I));
|
|
72
|
+
}, M = (e) => {
|
|
73
|
+
for (let t = 0; t < e.length; t++)
|
|
74
|
+
try {
|
|
75
|
+
e[t](performance.now());
|
|
76
|
+
} catch (n) {
|
|
77
|
+
E(n);
|
|
78
|
+
}
|
|
79
|
+
e.length = 0;
|
|
80
|
+
}, I = () => {
|
|
81
|
+
M(F), M(X), (O = F.length > 0) && h.raf(I);
|
|
82
|
+
}, q = (e) => Se().then(e), ke = /* @__PURE__ */ Ee(X), W = {}, C = (e) => (e = typeof e, e === "object" || e === "function");
|
|
83
|
+
function Z(e) {
|
|
84
|
+
var t, n, s;
|
|
85
|
+
return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
|
|
86
|
+
}
|
|
87
|
+
var xe = {};
|
|
88
|
+
ge(xe, {
|
|
89
|
+
err: () => R,
|
|
90
|
+
map: () => Pe,
|
|
91
|
+
ok: () => H,
|
|
92
|
+
unwrap: () => Ae,
|
|
93
|
+
unwrapErr: () => Te
|
|
94
|
+
});
|
|
95
|
+
var H = (e) => ({
|
|
96
|
+
isOk: !0,
|
|
97
|
+
isErr: !1,
|
|
98
|
+
value: e
|
|
99
|
+
}), R = (e) => ({
|
|
100
|
+
isOk: !1,
|
|
101
|
+
isErr: !0,
|
|
102
|
+
value: e
|
|
103
|
+
});
|
|
104
|
+
function Pe(e, t) {
|
|
105
|
+
if (e.isOk) {
|
|
106
|
+
const n = t(e.value);
|
|
107
|
+
return n instanceof Promise ? n.then((s) => H(s)) : H(n);
|
|
108
|
+
}
|
|
109
|
+
if (e.isErr) {
|
|
110
|
+
const n = e.value;
|
|
111
|
+
return R(n);
|
|
112
|
+
}
|
|
113
|
+
throw "should never get here";
|
|
114
|
+
}
|
|
115
|
+
var Ae = (e) => {
|
|
116
|
+
if (e.isOk)
|
|
117
|
+
return e.value;
|
|
118
|
+
throw e.value;
|
|
119
|
+
}, Te = (e) => {
|
|
120
|
+
if (e.isErr)
|
|
121
|
+
return e.value;
|
|
122
|
+
throw e.value;
|
|
123
|
+
}, S = (e, t = "") => () => {
|
|
124
|
+
}, _e = (e, t) => () => {
|
|
125
|
+
}, we = (e, t, ...n) => {
|
|
126
|
+
let s = null, r = null, a = !1, l = !1;
|
|
127
|
+
const i = [], $ = (o) => {
|
|
128
|
+
for (let f = 0; f < o.length; f++)
|
|
129
|
+
s = o[f], Array.isArray(s) ? $(s) : s != null && typeof s != "boolean" && ((a = typeof e != "function" && !C(s)) && (s = String(s)), a && l ? i[i.length - 1].$text$ += s : i.push(a ? z(null, s) : s), l = a);
|
|
130
|
+
};
|
|
131
|
+
if ($(n), t) {
|
|
132
|
+
t.key && (r = t.key);
|
|
133
|
+
{
|
|
134
|
+
const o = t.className || t.class;
|
|
135
|
+
o && (t.class = typeof o != "object" ? o : Object.keys(o).filter((f) => o[f]).join(" "));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const c = z(e, null);
|
|
139
|
+
return c.$attrs$ = t, i.length > 0 && (c.$children$ = i), c.$key$ = r, c;
|
|
140
|
+
}, z = (e, t) => {
|
|
141
|
+
const n = {
|
|
142
|
+
$flags$: 0,
|
|
143
|
+
$tag$: e,
|
|
144
|
+
$text$: t,
|
|
145
|
+
$elm$: null,
|
|
146
|
+
$children$: null
|
|
147
|
+
};
|
|
148
|
+
return n.$attrs$ = null, n.$key$ = null, n;
|
|
149
|
+
}, Le = {}, je = (e) => e && e.$tag$ === Le, Oe = (e, t) => e != null && !C(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, et = (e) => b(e).$hostElement$, Ie = (e, t, n) => {
|
|
150
|
+
const s = h.ce(t, n);
|
|
151
|
+
return e.dispatchEvent(s), s;
|
|
152
|
+
}, Y = /* @__PURE__ */ new WeakMap(), He = (e, t, n) => {
|
|
153
|
+
let s = _.get(e);
|
|
154
|
+
be && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, _.set(e, s);
|
|
155
|
+
}, ze = (e, t, n) => {
|
|
156
|
+
var s;
|
|
157
|
+
const r = V(t), a = _.get(r);
|
|
158
|
+
if (e = e.nodeType === 11 ? e : y, a)
|
|
159
|
+
if (typeof a == "string") {
|
|
160
|
+
e = e.head || e;
|
|
161
|
+
let l = Y.get(e), i;
|
|
162
|
+
if (l || Y.set(e, l = /* @__PURE__ */ new Set()), !l.has(r)) {
|
|
163
|
+
{
|
|
164
|
+
i = y.createElement("style"), i.innerHTML = a;
|
|
165
|
+
const $ = (s = h.$nonce$) != null ? s : Z(y);
|
|
166
|
+
$ != null && i.setAttribute("nonce", $), e.insertBefore(i, e.querySelector("link"));
|
|
167
|
+
}
|
|
168
|
+
t.$flags$ & 4 && (i.innerHTML += Q), l && l.add(r);
|
|
169
|
+
}
|
|
170
|
+
} else
|
|
171
|
+
e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
|
|
172
|
+
return r;
|
|
173
|
+
}, Ue = (e) => {
|
|
174
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
|
|
175
|
+
ze(
|
|
176
|
+
n.getRootNode(),
|
|
177
|
+
t
|
|
178
|
+
), s();
|
|
179
|
+
}, V = (e, t) => "sc-" + e.$tagName$, G = (e, t, n, s, r, a) => {
|
|
180
|
+
if (n !== s) {
|
|
181
|
+
let l = pe(e, t);
|
|
182
|
+
if (t.toLowerCase(), t === "class") {
|
|
183
|
+
const i = e.classList, $ = J(n), c = J(s);
|
|
184
|
+
i.remove(...$.filter((o) => o && !c.includes(o))), i.add(...c.filter((o) => o && !$.includes(o)));
|
|
185
|
+
} else if (t === "style") {
|
|
186
|
+
for (const i in n)
|
|
187
|
+
(!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
|
|
188
|
+
for (const i in s)
|
|
189
|
+
(!n || s[i] !== n[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
|
|
190
|
+
} else if (t !== "key")
|
|
191
|
+
if (t === "ref")
|
|
192
|
+
s && s(e);
|
|
193
|
+
else {
|
|
194
|
+
const i = C(s);
|
|
195
|
+
if ((l || i && s !== null) && !r)
|
|
196
|
+
try {
|
|
197
|
+
if (e.tagName.includes("-"))
|
|
198
|
+
e[t] = s;
|
|
199
|
+
else {
|
|
200
|
+
const $ = s == null ? "" : s;
|
|
201
|
+
t === "list" ? l = !1 : (n == null || e[t] != $) && (e[t] = $);
|
|
202
|
+
}
|
|
203
|
+
} catch ($) {
|
|
204
|
+
}
|
|
205
|
+
s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}, Be = /\s/, J = (e) => e ? e.split(Be) : [], ee = (e, t, n) => {
|
|
209
|
+
const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || W, a = t.$attrs$ || W;
|
|
210
|
+
for (const l of K(Object.keys(r)))
|
|
211
|
+
l in a || G(s, l, r[l], void 0, n, t.$flags$);
|
|
212
|
+
for (const l of K(Object.keys(a)))
|
|
213
|
+
G(s, l, r[l], a[l], n, t.$flags$);
|
|
214
|
+
};
|
|
215
|
+
function K(e) {
|
|
216
|
+
return e.includes("ref") ? (
|
|
217
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
218
|
+
[...e.filter((t) => t !== "ref"), "ref"]
|
|
219
|
+
) : (
|
|
220
|
+
// no need to sort, return the original array
|
|
221
|
+
e
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
var te, se = !1, w = (e, t, n, s) => {
|
|
225
|
+
const r = t.$children$[n];
|
|
226
|
+
let a = 0, l, i;
|
|
227
|
+
if (r.$text$ !== null)
|
|
228
|
+
l = r.$elm$ = y.createTextNode(r.$text$);
|
|
229
|
+
else if (l = r.$elm$ = y.createElement(
|
|
230
|
+
r.$tag$
|
|
231
|
+
), ee(null, r, se), r.$children$)
|
|
232
|
+
for (a = 0; a < r.$children$.length; ++a)
|
|
233
|
+
i = w(e, r, a), i && l.appendChild(i);
|
|
234
|
+
return l["s-hn"] = te, l;
|
|
235
|
+
}, ne = (e, t, n, s, r, a) => {
|
|
236
|
+
let l = e, i;
|
|
237
|
+
for (; r <= a; ++r)
|
|
238
|
+
s[r] && (i = w(null, n, r), i && (s[r].$elm$ = i, T(l, i, t)));
|
|
239
|
+
}, re = (e, t, n) => {
|
|
240
|
+
for (let s = t; s <= n; ++s) {
|
|
241
|
+
const r = e[s];
|
|
242
|
+
if (r) {
|
|
243
|
+
const a = r.$elm$;
|
|
244
|
+
le(r), a && a.remove();
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}, qe = (e, t, n, s, r = !1) => {
|
|
248
|
+
let a = 0, l = 0, i = 0, $ = 0, c = t.length - 1, o = t[0], f = t[c], u = s.length - 1, d = s[0], v = s[u], g, p;
|
|
249
|
+
for (; a <= c && l <= u; )
|
|
250
|
+
if (o == null)
|
|
251
|
+
o = t[++a];
|
|
252
|
+
else if (f == null)
|
|
253
|
+
f = t[--c];
|
|
254
|
+
else if (d == null)
|
|
255
|
+
d = s[++l];
|
|
256
|
+
else if (v == null)
|
|
257
|
+
v = s[--u];
|
|
258
|
+
else if (A(o, d, r))
|
|
259
|
+
k(o, d, r), o = t[++a], d = s[++l];
|
|
260
|
+
else if (A(f, v, r))
|
|
261
|
+
k(f, v, r), f = t[--c], v = s[--u];
|
|
262
|
+
else if (A(o, v, r))
|
|
263
|
+
k(o, v, r), T(e, o.$elm$, f.$elm$.nextSibling), o = t[++a], v = s[--u];
|
|
264
|
+
else if (A(f, d, r))
|
|
265
|
+
k(f, d, r), T(e, f.$elm$, o.$elm$), f = t[--c], d = s[++l];
|
|
266
|
+
else {
|
|
267
|
+
for (i = -1, $ = a; $ <= c; ++$)
|
|
268
|
+
if (t[$] && t[$].$key$ !== null && t[$].$key$ === d.$key$) {
|
|
269
|
+
i = $;
|
|
270
|
+
break;
|
|
271
|
+
}
|
|
272
|
+
i >= 0 ? (p = t[i], p.$tag$ !== d.$tag$ ? g = w(t && t[l], n, i) : (k(p, d, r), t[i] = void 0, g = p.$elm$), d = s[++l]) : (g = w(t && t[l], n, l), d = s[++l]), g && T(o.$elm$.parentNode, g, o.$elm$);
|
|
273
|
+
}
|
|
274
|
+
a > c ? ne(
|
|
275
|
+
e,
|
|
276
|
+
s[u + 1] == null ? null : s[u + 1].$elm$,
|
|
277
|
+
n,
|
|
278
|
+
s,
|
|
279
|
+
l,
|
|
280
|
+
u
|
|
281
|
+
) : l > u && re(t, a, c);
|
|
282
|
+
}, A = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? !0 : e.$key$ === t.$key$ : !1, k = (e, t, n = !1) => {
|
|
283
|
+
const s = t.$elm$ = e.$elm$, r = e.$children$, a = t.$children$, l = t.$text$;
|
|
284
|
+
l === null ? (ee(e, t, se), r !== null && a !== null ? qe(s, r, t, a, n) : a !== null ? (e.$text$ !== null && (s.textContent = ""), ne(s, null, t, a, 0, a.length - 1)) : r !== null && re(r, 0, r.length - 1)) : e.$text$ !== l && (s.data = l);
|
|
285
|
+
}, le = (e) => {
|
|
286
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(le);
|
|
287
|
+
}, T = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Ce = (e, t, n = !1) => {
|
|
288
|
+
const s = e.$hostElement$, r = e.$vnode$ || z(null, null), a = je(t) ? t : we(null, null, t);
|
|
289
|
+
if (te = s.tagName, n && a.$attrs$)
|
|
290
|
+
for (const l of Object.keys(a.$attrs$))
|
|
291
|
+
s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
|
|
292
|
+
a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = r.$elm$ = s, k(r, a, n);
|
|
293
|
+
}, ae = (e, t) => {
|
|
294
|
+
t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((n) => e.$onRenderResolve$ = n));
|
|
295
|
+
}, D = (e, t) => {
|
|
296
|
+
if (e.$flags$ |= 16, e.$flags$ & 4) {
|
|
297
|
+
e.$flags$ |= 512;
|
|
298
|
+
return;
|
|
299
|
+
}
|
|
300
|
+
return ae(e, e.$ancestorComponent$), ke(() => De(e, t));
|
|
301
|
+
}, De = (e, t) => {
|
|
302
|
+
const n = e.$hostElement$, s = S("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
303
|
+
if (!r)
|
|
304
|
+
throw new Error(
|
|
305
|
+
`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`
|
|
306
|
+
);
|
|
307
|
+
let a;
|
|
308
|
+
return s(), Fe(a, () => We(e, r, t));
|
|
309
|
+
}, Fe = (e, t) => Me(e) ? e.then(t).catch((n) => {
|
|
310
|
+
console.error(n), t();
|
|
311
|
+
}) : t(), Me = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", We = (e, t, n) => P(void 0, null, function* () {
|
|
312
|
+
var s;
|
|
313
|
+
const r = e.$hostElement$, a = S("update", e.$cmpMeta$.$tagName$), l = r["s-rc"];
|
|
314
|
+
n && Ue(e);
|
|
315
|
+
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
316
|
+
Ye(e, t, r, n), l && (l.map(($) => $()), r["s-rc"] = void 0), i(), a();
|
|
317
|
+
{
|
|
318
|
+
const $ = (s = r["s-p"]) != null ? s : [], c = () => Ge(e);
|
|
319
|
+
$.length === 0 ? c() : (Promise.all($).then(c), e.$flags$ |= 4, $.length = 0);
|
|
320
|
+
}
|
|
321
|
+
}), Ye = (e, t, n, s) => {
|
|
322
|
+
try {
|
|
323
|
+
t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ce(e, t, s);
|
|
324
|
+
} catch (r) {
|
|
325
|
+
E(r, e.$hostElement$);
|
|
326
|
+
}
|
|
327
|
+
return null;
|
|
328
|
+
}, Ge = (e) => {
|
|
329
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = S("postUpdate", t), r = e.$lazyInstance$, a = e.$ancestorComponent$;
|
|
330
|
+
e.$flags$ & 64 ? s() : (e.$flags$ |= 64, oe(n), $e(r, "componentDidLoad"), s(), e.$onReadyResolve$(n), a || ie()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && q(() => D(e, !1)), e.$flags$ &= -517;
|
|
331
|
+
}, ie = (e) => {
|
|
332
|
+
oe(y.documentElement), q(() => Ie(B, "appload", { detail: { namespace: ue } }));
|
|
333
|
+
}, $e = (e, t, n) => {
|
|
334
|
+
if (e && e[t])
|
|
335
|
+
try {
|
|
336
|
+
return e[t](n);
|
|
337
|
+
} catch (s) {
|
|
338
|
+
E(s);
|
|
339
|
+
}
|
|
340
|
+
}, oe = (e) => {
|
|
341
|
+
var t;
|
|
342
|
+
return e.classList.add((t = de.hydratedSelectorName) != null ? t : "hydrated");
|
|
343
|
+
}, Je = (e, t) => b(e).$instanceValues$.get(t), Ke = (e, t, n, s) => {
|
|
344
|
+
const r = b(e);
|
|
345
|
+
if (!r)
|
|
346
|
+
throw new Error(
|
|
347
|
+
`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
|
|
348
|
+
);
|
|
349
|
+
const a = r.$hostElement$, l = r.$instanceValues$.get(t), i = r.$flags$, $ = r.$lazyInstance$;
|
|
350
|
+
n = Oe(n, s.$members$[t][0]);
|
|
351
|
+
const c = Number.isNaN(l) && Number.isNaN(n), o = n !== l && !c;
|
|
352
|
+
if ((!(i & 8) || l === void 0) && o && (r.$instanceValues$.set(t, n), $)) {
|
|
353
|
+
if (s.$watchers$ && i & 128) {
|
|
354
|
+
const f = s.$watchers$[t];
|
|
355
|
+
f && f.map((u) => {
|
|
356
|
+
try {
|
|
357
|
+
$[u](n, l, t);
|
|
358
|
+
} catch (d) {
|
|
359
|
+
E(d, a);
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
(i & 18) === 2 && D(r, !1);
|
|
364
|
+
}
|
|
365
|
+
}, ce = (e, t, n) => {
|
|
366
|
+
var s, r;
|
|
367
|
+
const a = e.prototype;
|
|
368
|
+
if (t.$members$ || t.$watchers$ || e.watchers) {
|
|
369
|
+
e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
|
|
370
|
+
const l = Object.entries((s = t.$members$) != null ? s : {});
|
|
371
|
+
if (l.map(([i, [$]]) => {
|
|
372
|
+
($ & 31 || n & 2 && $ & 32) && Object.defineProperty(a, i, {
|
|
373
|
+
get() {
|
|
374
|
+
return Je(this, i);
|
|
375
|
+
},
|
|
376
|
+
set(c) {
|
|
377
|
+
Ke(this, i, c, t);
|
|
378
|
+
},
|
|
379
|
+
configurable: !0,
|
|
380
|
+
enumerable: !0
|
|
381
|
+
});
|
|
382
|
+
}), n & 1) {
|
|
383
|
+
const i = /* @__PURE__ */ new Map();
|
|
384
|
+
a.attributeChangedCallback = function($, c, o) {
|
|
385
|
+
h.jmp(() => {
|
|
386
|
+
var f;
|
|
387
|
+
const u = i.get($);
|
|
388
|
+
if (this.hasOwnProperty(u))
|
|
389
|
+
o = this[u], delete this[u];
|
|
390
|
+
else {
|
|
391
|
+
if (a.hasOwnProperty(u) && typeof this[u] == "number" && this[u] == o)
|
|
392
|
+
return;
|
|
393
|
+
if (u == null) {
|
|
394
|
+
const d = b(this), v = d == null ? void 0 : d.$flags$;
|
|
395
|
+
if (v && !(v & 8) && v & 128 && o !== c) {
|
|
396
|
+
const g = d.$lazyInstance$, p = (f = t.$watchers$) == null ? void 0 : f[$];
|
|
397
|
+
p == null || p.forEach((m) => {
|
|
398
|
+
g[m] != null && g[m].call(g, o, c, $);
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
return;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
this[u] = o === null && typeof this[u] == "boolean" ? !1 : o;
|
|
405
|
+
});
|
|
406
|
+
}, e.observedAttributes = Array.from(
|
|
407
|
+
/* @__PURE__ */ new Set([
|
|
408
|
+
...Object.keys((r = t.$watchers$) != null ? r : {}),
|
|
409
|
+
...l.filter(
|
|
410
|
+
([$, c]) => c[0] & 15
|
|
411
|
+
/* HasAttribute */
|
|
412
|
+
).map(([$, c]) => {
|
|
413
|
+
const o = c[1] || $;
|
|
414
|
+
return i.set(o, $), o;
|
|
415
|
+
})
|
|
416
|
+
])
|
|
417
|
+
);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
return e;
|
|
421
|
+
}, Ne = (e, t, n, s) => P(void 0, null, function* () {
|
|
422
|
+
let r;
|
|
423
|
+
if (!(t.$flags$ & 32)) {
|
|
424
|
+
if (t.$flags$ |= 32, n.$lazyBundleId$) {
|
|
425
|
+
const $ = me(n);
|
|
426
|
+
if ($ && "then" in $) {
|
|
427
|
+
const o = _e();
|
|
428
|
+
r = yield $, o();
|
|
429
|
+
} else
|
|
430
|
+
r = $;
|
|
431
|
+
if (!r)
|
|
432
|
+
throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
|
|
433
|
+
r.isProxied || (n.$watchers$ = r.watchers, ce(
|
|
434
|
+
r,
|
|
435
|
+
n,
|
|
436
|
+
2
|
|
437
|
+
/* proxyState */
|
|
438
|
+
), r.isProxied = !0);
|
|
439
|
+
const c = S("createInstance", n.$tagName$);
|
|
440
|
+
t.$flags$ |= 8;
|
|
441
|
+
try {
|
|
442
|
+
new r(t);
|
|
443
|
+
} catch (o) {
|
|
444
|
+
E(o);
|
|
445
|
+
}
|
|
446
|
+
t.$flags$ &= -9, t.$flags$ |= 128, c();
|
|
447
|
+
} else {
|
|
448
|
+
r = e.constructor;
|
|
449
|
+
const $ = e.localName;
|
|
450
|
+
customElements.whenDefined($).then(
|
|
451
|
+
() => t.$flags$ |= 128
|
|
452
|
+
/* isWatchReady */
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
if (r && r.style) {
|
|
456
|
+
let $;
|
|
457
|
+
typeof r.style == "string" && ($ = r.style);
|
|
458
|
+
const c = V(n);
|
|
459
|
+
if (!_.has(c)) {
|
|
460
|
+
const o = S("registerStyles", n.$tagName$);
|
|
461
|
+
He(c, $, !!(n.$flags$ & 1)), o();
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
const a = t.$ancestorComponent$, l = () => D(t, !0);
|
|
466
|
+
a && a["s-rc"] ? a["s-rc"].push(l) : l();
|
|
467
|
+
}), Qe = (e) => {
|
|
468
|
+
}, Xe = (e) => {
|
|
469
|
+
if (!(h.$flags$ & 1)) {
|
|
470
|
+
const t = b(e), n = t.$cmpMeta$, s = S("connectedCallback", n.$tagName$);
|
|
471
|
+
if (t.$flags$ & 1)
|
|
472
|
+
t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Qe());
|
|
473
|
+
else {
|
|
474
|
+
t.$flags$ |= 1;
|
|
475
|
+
{
|
|
476
|
+
let r = e;
|
|
477
|
+
for (; r = r.parentNode || r.host; )
|
|
478
|
+
if (r["s-p"]) {
|
|
479
|
+
ae(t, t.$ancestorComponent$ = r);
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
n.$members$ && Object.entries(n.$members$).map(([r, [a]]) => {
|
|
484
|
+
if (a & 31 && e.hasOwnProperty(r)) {
|
|
485
|
+
const l = e[r];
|
|
486
|
+
delete e[r], e[r] = l;
|
|
487
|
+
}
|
|
488
|
+
}), Ne(e, t, n);
|
|
489
|
+
}
|
|
490
|
+
s();
|
|
491
|
+
}
|
|
492
|
+
}, N = (e) => {
|
|
493
|
+
$e(e, "disconnectedCallback");
|
|
494
|
+
}, Ze = (e) => P(void 0, null, function* () {
|
|
495
|
+
if (!(h.$flags$ & 1)) {
|
|
496
|
+
const t = b(e);
|
|
497
|
+
t != null && t.$lazyInstance$ ? N(t.$lazyInstance$) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => N(t.$lazyInstance$));
|
|
498
|
+
}
|
|
499
|
+
}), tt = (e, t = {}) => {
|
|
500
|
+
var n;
|
|
501
|
+
const s = S(), r = [], a = t.exclude || [], l = B.customElements, i = y.head, $ = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ y.createElement("style"), o = [];
|
|
502
|
+
let f, u = !0;
|
|
503
|
+
Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", y.baseURI).href;
|
|
504
|
+
let d = !1;
|
|
505
|
+
if (e.map((v) => {
|
|
506
|
+
v[1].map((g) => {
|
|
507
|
+
var p;
|
|
508
|
+
const m = {
|
|
509
|
+
$flags$: g[0],
|
|
510
|
+
$tagName$: g[1],
|
|
511
|
+
$members$: g[2],
|
|
512
|
+
$listeners$: g[3]
|
|
513
|
+
};
|
|
514
|
+
m.$flags$ & 4 && (d = !0), m.$members$ = g[2], m.$watchers$ = (p = g[4]) != null ? p : {};
|
|
515
|
+
const x = m.$tagName$, fe = class extends HTMLElement {
|
|
516
|
+
// StencilLazyHost
|
|
517
|
+
constructor(L) {
|
|
518
|
+
super(L), this.hasRegisteredEventListeners = !1, L = this, he(L, m);
|
|
519
|
+
}
|
|
520
|
+
connectedCallback() {
|
|
521
|
+
b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), u ? o.push(this) : h.jmp(() => Xe(this));
|
|
522
|
+
}
|
|
523
|
+
disconnectedCallback() {
|
|
524
|
+
h.jmp(() => Ze(this));
|
|
525
|
+
}
|
|
526
|
+
componentOnReady() {
|
|
527
|
+
return b(this).$onReadyPromise$;
|
|
528
|
+
}
|
|
529
|
+
};
|
|
530
|
+
m.$lazyBundleId$ = v[0], !a.includes(x) && !l.get(x) && (r.push(x), l.define(
|
|
531
|
+
x,
|
|
532
|
+
ce(
|
|
533
|
+
fe,
|
|
534
|
+
m,
|
|
535
|
+
1
|
|
536
|
+
/* isElementConstructor */
|
|
537
|
+
)
|
|
538
|
+
));
|
|
539
|
+
});
|
|
540
|
+
}), r.length > 0 && (d && (c.textContent += Q), c.textContent += r.sort() + ye, c.innerHTML.length)) {
|
|
541
|
+
c.setAttribute("data-styles", "");
|
|
542
|
+
const v = (n = h.$nonce$) != null ? n : Z(y);
|
|
543
|
+
v != null && c.setAttribute("nonce", v), i.insertBefore(c, $ ? $.nextSibling : i.firstChild);
|
|
544
|
+
}
|
|
545
|
+
u = !1, o.length ? o.map((v) => v.connectedCallback()) : h.jmp(() => f = setTimeout(ie, 30)), s();
|
|
546
|
+
};
|
|
547
|
+
export {
|
|
548
|
+
Le as H,
|
|
549
|
+
tt as b,
|
|
550
|
+
et as g,
|
|
551
|
+
we as h,
|
|
552
|
+
Se as p,
|
|
553
|
+
Ve as r
|
|
554
|
+
};
|