@everymatrix/player-panic-button 1.99.57 → 1.99.59
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/{PlayerPanicButton-wo6AxC_J.js → PlayerPanicButton-9Gh0vmnf.js} +31 -55
- package/components/{PlayerPanicButton-BpCSpXOH.cjs → PlayerPanicButton-D0WFk3ri.cjs} +1 -1
- package/components/{PlayerPanicButton-L4BSid6b.js → PlayerPanicButton-p90eVUMb.js} +30 -54
- package/es2015/player-panic-button.cjs +1 -1
- package/es2015/player-panic-button.js +1 -1
- package/esnext/player-panic-button.js +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ var we = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
br.call(t, r) && we(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, nt = (e, t) => pr(e, mr(t));
|
|
13
|
-
var T = (e, t, r) =>
|
|
13
|
+
var T = (e, t, r) => we(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
14
|
var it = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (u) => {
|
|
16
16
|
try {
|
|
@@ -70,8 +70,7 @@ function vr(e, t, r) {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
function Er(e) {
|
|
73
|
-
if (!e)
|
|
74
|
-
return document;
|
|
73
|
+
if (!e) return document;
|
|
75
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
76
75
|
return t && /** @type {ShadowRoot} */
|
|
77
76
|
t.host ? (
|
|
@@ -125,8 +124,7 @@ function q(e) {
|
|
|
125
124
|
K = e;
|
|
126
125
|
}
|
|
127
126
|
function Br() {
|
|
128
|
-
if (!K)
|
|
129
|
-
throw new Error("Function called outside component initialization");
|
|
127
|
+
if (!K) throw new Error("Function called outside component initialization");
|
|
130
128
|
return K;
|
|
131
129
|
}
|
|
132
130
|
function Hr(e) {
|
|
@@ -157,8 +155,7 @@ function A() {
|
|
|
157
155
|
} catch (t) {
|
|
158
156
|
throw G.length = 0, U = 0, t;
|
|
159
157
|
}
|
|
160
|
-
for (q(null), G.length = 0, U = 0; me.length; )
|
|
161
|
-
me.pop()();
|
|
158
|
+
for (q(null), G.length = 0, U = 0; me.length; ) me.pop()();
|
|
162
159
|
for (let t = 0; t < j.length; t += 1) {
|
|
163
160
|
const r = j[t];
|
|
164
161
|
Te.has(r) || (Te.add(r), r());
|
|
@@ -475,8 +472,7 @@ function Fr(e, t) {
|
|
|
475
472
|
}
|
|
476
473
|
}
|
|
477
474
|
function jr(e, t) {
|
|
478
|
-
if (!e || !t)
|
|
479
|
-
return;
|
|
475
|
+
if (!e || !t) return;
|
|
480
476
|
const r = new URL(t);
|
|
481
477
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
482
478
|
const i = document.createElement("style");
|
|
@@ -486,8 +482,7 @@ function jr(e, t) {
|
|
|
486
482
|
});
|
|
487
483
|
}
|
|
488
484
|
function kr(e, t, r, n = !1) {
|
|
489
|
-
if (!window.emMessageBus)
|
|
490
|
-
return;
|
|
485
|
+
if (!window.emMessageBus) return;
|
|
491
486
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
492
487
|
return r = Vr(e, t), r;
|
|
493
488
|
window[F] || (window[F] = {}), r = Xr(e, t);
|
|
@@ -508,8 +503,7 @@ function Vr(e, t) {
|
|
|
508
503
|
}
|
|
509
504
|
function Xr(e, t) {
|
|
510
505
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
511
|
-
if (!e)
|
|
512
|
-
return;
|
|
506
|
+
if (!e) return;
|
|
513
507
|
const n = e.getRootNode(), i = window[F];
|
|
514
508
|
let o = i[t] && i[t].sheet;
|
|
515
509
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
@@ -538,8 +532,7 @@ var Me = function(e, t) {
|
|
|
538
532
|
return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
539
533
|
r.__proto__ = n;
|
|
540
534
|
} || function(r, n) {
|
|
541
|
-
for (var i in n)
|
|
542
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
535
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
543
536
|
}, Me(e, t);
|
|
544
537
|
};
|
|
545
538
|
function ne(e, t) {
|
|
@@ -553,40 +546,34 @@ function ne(e, t) {
|
|
|
553
546
|
}
|
|
554
547
|
function $e(e) {
|
|
555
548
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
556
|
-
if (r)
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
}
|
|
563
|
-
};
|
|
549
|
+
if (r) return r.call(e);
|
|
550
|
+
if (e && typeof e.length == "number") return {
|
|
551
|
+
next: function() {
|
|
552
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
553
|
+
}
|
|
554
|
+
};
|
|
564
555
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
565
556
|
}
|
|
566
557
|
function Re(e, t) {
|
|
567
558
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
568
|
-
if (!r)
|
|
569
|
-
return e;
|
|
559
|
+
if (!r) return e;
|
|
570
560
|
var n = r.call(e), i, o = [], s;
|
|
571
561
|
try {
|
|
572
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
573
|
-
o.push(i.value);
|
|
562
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
574
563
|
} catch (a) {
|
|
575
564
|
s = { error: a };
|
|
576
565
|
} finally {
|
|
577
566
|
try {
|
|
578
567
|
i && !i.done && (r = n.return) && r.call(n);
|
|
579
568
|
} finally {
|
|
580
|
-
if (s)
|
|
581
|
-
throw s.error;
|
|
569
|
+
if (s) throw s.error;
|
|
582
570
|
}
|
|
583
571
|
}
|
|
584
572
|
return o;
|
|
585
573
|
}
|
|
586
574
|
function Ue(e, t, r) {
|
|
587
|
-
if (arguments.length === 2)
|
|
588
|
-
|
|
589
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
575
|
+
if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
576
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
590
577
|
return e.concat(o || t);
|
|
591
578
|
}
|
|
592
579
|
function O(e) {
|
|
@@ -635,8 +622,7 @@ var ye = function() {
|
|
|
635
622
|
try {
|
|
636
623
|
u && !u.done && (r = a.return) && r.call(a);
|
|
637
624
|
} finally {
|
|
638
|
-
if (t)
|
|
639
|
-
throw t.error;
|
|
625
|
+
if (t) throw t.error;
|
|
640
626
|
}
|
|
641
627
|
}
|
|
642
628
|
else
|
|
@@ -666,8 +652,7 @@ var ye = function() {
|
|
|
666
652
|
try {
|
|
667
653
|
d && !d.done && (i = f.return) && i.call(f);
|
|
668
654
|
} finally {
|
|
669
|
-
if (n)
|
|
670
|
-
throw n.error;
|
|
655
|
+
if (n) throw n.error;
|
|
671
656
|
}
|
|
672
657
|
}
|
|
673
658
|
}
|
|
@@ -934,8 +919,7 @@ var nn = Mt(function(e) {
|
|
|
934
919
|
try {
|
|
935
920
|
a && !a.done && (o = s.return) && o.call(s);
|
|
936
921
|
} finally {
|
|
937
|
-
if (i)
|
|
938
|
-
throw i.error;
|
|
922
|
+
if (i) throw i.error;
|
|
939
923
|
}
|
|
940
924
|
}
|
|
941
925
|
}
|
|
@@ -1180,8 +1164,7 @@ var Fe = function(e, t) {
|
|
|
1180
1164
|
return Fe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1181
1165
|
r.__proto__ = n;
|
|
1182
1166
|
} || function(r, n) {
|
|
1183
|
-
for (var i in n)
|
|
1184
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1167
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1185
1168
|
}, Fe(e, t);
|
|
1186
1169
|
};
|
|
1187
1170
|
function Ee(e, t) {
|
|
@@ -1197,25 +1180,22 @@ var H = function() {
|
|
|
1197
1180
|
return H = Object.assign || function(t) {
|
|
1198
1181
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1199
1182
|
r = arguments[n];
|
|
1200
|
-
for (var o in r)
|
|
1201
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1183
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1202
1184
|
}
|
|
1203
1185
|
return t;
|
|
1204
1186
|
}, H.apply(this, arguments);
|
|
1205
1187
|
};
|
|
1206
1188
|
function wn(e, t) {
|
|
1207
1189
|
var r = {};
|
|
1208
|
-
for (var n in e)
|
|
1209
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1190
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1210
1191
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1211
1192
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1212
1193
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1213
1194
|
return r;
|
|
1214
1195
|
}
|
|
1215
1196
|
function He(e, t, r) {
|
|
1216
|
-
if (r || arguments.length === 2)
|
|
1217
|
-
|
|
1218
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1197
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
1198
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1219
1199
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1220
1200
|
}
|
|
1221
1201
|
function Pe(e, t) {
|
|
@@ -1270,8 +1250,7 @@ var An = function() {
|
|
|
1270
1250
|
return de = Object.assign || function(t) {
|
|
1271
1251
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1272
1252
|
r = arguments[n];
|
|
1273
|
-
for (var o in r)
|
|
1274
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1253
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1275
1254
|
}
|
|
1276
1255
|
return t;
|
|
1277
1256
|
}, de.apply(this, arguments);
|
|
@@ -1417,8 +1396,7 @@ var E = function() {
|
|
|
1417
1396
|
return E = Object.assign || function(t) {
|
|
1418
1397
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1419
1398
|
r = arguments[n];
|
|
1420
|
-
for (var o in r)
|
|
1421
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1399
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1422
1400
|
}
|
|
1423
1401
|
return t;
|
|
1424
1402
|
}, E.apply(this, arguments);
|
|
@@ -3060,8 +3038,7 @@ function jn(e, t) {
|
|
|
3060
3038
|
r += u;
|
|
3061
3039
|
for (; s-- > 0; )
|
|
3062
3040
|
r = h + r;
|
|
3063
|
-
} else
|
|
3064
|
-
i === "J" ? r += "H" : r += i;
|
|
3041
|
+
} else i === "J" ? r += "H" : r += i;
|
|
3065
3042
|
}
|
|
3066
3043
|
return r;
|
|
3067
3044
|
}
|
|
@@ -3664,8 +3641,7 @@ function We(e) {
|
|
|
3664
3641
|
if (delete t.location, Wt(t) || Zt(t))
|
|
3665
3642
|
for (var r in t.options)
|
|
3666
3643
|
delete t.options[r].location, We(t.options[r].value);
|
|
3667
|
-
else
|
|
3668
|
-
Vt(t) && Jt(t.style) || (Xt(t) || zt(t)) && je(t.style) ? delete t.style.location : Qt(t) && We(t.children);
|
|
3644
|
+
else Vt(t) && Jt(t.style) || (Xt(t) || zt(t)) && je(t.style) ? delete t.style.location : Qt(t) && We(t.children);
|
|
3669
3645
|
});
|
|
3670
3646
|
}
|
|
3671
3647
|
function ai(e, t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var pr=Object.defineProperty,mr=Object.defineProperties;var dr=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var br=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable;var we=(e,t,r)=>t in e?pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,rt=(e,t)=>{for(var r in t||(t={}))br.call(t,r)&&we(e,r,t[r]);if(tt)for(var r of tt(t))gr.call(t,r)&&we(e,r,t[r]);return e},nt=(e,t)=>mr(e,dr(t));var T=(e,t,r)=>
|
|
1
|
+
"use strict";var pr=Object.defineProperty,mr=Object.defineProperties;var dr=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var br=Object.prototype.hasOwnProperty,gr=Object.prototype.propertyIsEnumerable;var we=(e,t,r)=>t in e?pr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,rt=(e,t)=>{for(var r in t||(t={}))br.call(t,r)&&we(e,r,t[r]);if(tt)for(var r of tt(t))gr.call(t,r)&&we(e,r,t[r]);return e},nt=(e,t)=>mr(e,dr(t));var T=(e,t,r)=>we(e,typeof t!="symbol"?t+"":t,r);var it=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{a(r.next(u))}catch(h){i(h)}},s=u=>{try{a(r.throw(u))}catch(h){i(h)}},a=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,s);a((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function B(){}function Ot(e){return e()}function ot(){return Object.create(null)}function re(e){e.forEach(Ot)}function Je(e){return typeof e=="function"}function It(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function yr(e){return Object.keys(e).length===0}function Nt(e,...t){if(e==null){for(const n of t)n(void 0);return B}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function vr(e,t,r){e.$$.on_destroy.push(Nt(t,r))}function he(e,t){e.appendChild(t)}function Er(e,t,r){const n=_r(e);if(!n.getElementById(t)){const i=Y("style");i.id=t,i.textContent=r,xr(n,i)}}function _r(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function xr(e,t){return he(e.head||e,t),t.sheet}function Lt(e,t,r){e.insertBefore(t,r||null)}function Ye(e){e.parentNode&&e.parentNode.removeChild(e)}function Y(e){return document.createElement(e)}function Sr(e){return document.createTextNode(e)}function M(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function wr(e){return Array.from(e.childNodes)}function Tr(e,t){t=""+t,e.data!==t&&(e.data=t)}function st(e,t,r){e.classList.toggle(t,!!r)}function Br(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let K;function q(e){K=e}function Hr(){if(!K)throw new Error("Function called outside component initialization");return K}function Pr(e){Hr().$$.on_mount.push(e)}const G=[],me=[];let j=[];const at=[],Ar=Promise.resolve();let Le=!1;function Or(){Le||(Le=!0,Ar.then(A))}function Ce(e){j.push(e)}const Te=new Set;let U=0;function A(){if(U!==0)return;const e=K;do{try{for(;U<G.length;){const t=G[U];U++,q(t),Ir(t.$$)}}catch(t){throw G.length=0,U=0,t}for(q(null),G.length=0,U=0;me.length;)me.pop()();for(let t=0;t<j.length;t+=1){const r=j[t];Te.has(r)||(Te.add(r),r())}j.length=0}while(G.length);for(;at.length;)at.pop()();Le=!1,Te.clear(),q(e)}function Ir(e){if(e.fragment!==null){e.update(),re(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ce)}}function Nr(e){const t=[],r=[];j.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),j=t}const Lr=new Set;function Cr(e,t){e&&e.i&&(Lr.delete(e),e.i(t))}function Mr(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Ce(()=>{const o=e.$$.on_mount.map(Ot).filter(Je);e.$$.on_destroy?e.$$.on_destroy.push(...o):re(o),e.$$.on_mount=[]}),i.forEach(Ce)}function $r(e,t){const r=e.$$;r.fragment!==null&&(Nr(r.after_update),re(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Rr(e,t){e.$$.dirty[0]===-1&&(G.push(e),Or(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ur(e,t,r,n,i,o,s=null,a=[-1]){const u=K;q(e);const h=e.$$={fragment:null,ctx:[],props:o,update:B,not_equal:i,bound:ot(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:ot(),dirty:a,skip_bound:!1,root:t.target||u.$$.root};s&&s(h.root);let l=!1;if(h.ctx=r?r(e,t.props||{},(c,f,...d)=>{const g=d.length?d[0]:f;return h.ctx&&i(h.ctx[c],h.ctx[c]=g)&&(!h.skip_bound&&h.bound[c]&&h.bound[c](g),l&&Rr(e,c)),f}):[],h.update(),l=!0,re(h.before_update),h.fragment=n?n(h.ctx):!1,t.target){if(t.hydrate){const c=wr(t.target);h.fragment&&h.fragment.l(c),c.forEach(Ye)}else h.fragment&&h.fragment.c();t.intro&&Cr(e.$$.fragment),Mr(e,t.target,t.anchor),A()}q(u)}let Ct;typeof HTMLElement=="function"&&(Ct=class extends HTMLElement{constructor(t,r,n){super();T(this,"$$ctor");T(this,"$$s");T(this,"$$c");T(this,"$$cn",!1);T(this,"$$d",{});T(this,"$$r",!1);T(this,"$$p_d",{});T(this,"$$l",{});T(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return it(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=Y("slot"),o!=="default"&&M(s,"name",o)},m:function(h,l){Lt(h,s,l)},d:function(h){h&&Ye(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Br(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=le(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:nt(rt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=le(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=le(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function le(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Dr(e,t,r,n,i,o){let s=class extends Ct{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(u){var h;u=le(a,u,t),this.$$d[a]=u,(h=this.$$c)==null||h.$set({[a]:u})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var u;return(u=this.$$c)==null?void 0:u[a]}})}),e.element=s,s}class Gr{constructor(){T(this,"$$");T(this,"$$set")}$destroy(){$r(this,1),this.$destroy=B}$on(t,r){if(!Je(r))return B;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!yr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Fr="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Fr);const F="__WIDGET_GLOBAL_STYLE_CACHE__";function jr(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function kr(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Vr(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Xr(e,t),r;window[F]||(window[F]={}),r=zr(e,t);const o=r.unsubscribe.bind(r),s=()=>{if(window[F][t]){const a=window[F][t];a.refCount>1?a.refCount=a.refCount-1:delete window[F][t]}o()};return r.unsubscribe=s,r}function Xr(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function zr(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[F];let o=i[t]&&i[t].sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),i[t]={sheet:o,refCount:1});const s=n.adoptedStyleSheets||[];s.includes(o)||(n.adoptedStyleSheets=[...s,o])})}/*! *****************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -41,8 +41,7 @@ function ur(e, t, r) {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
function hr(e) {
|
|
44
|
-
if (!e)
|
|
45
|
-
return document;
|
|
44
|
+
if (!e) return document;
|
|
46
45
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
47
46
|
return t && /** @type {ShadowRoot} */
|
|
48
47
|
t.host ? (
|
|
@@ -96,8 +95,7 @@ function Y(e) {
|
|
|
96
95
|
q = e;
|
|
97
96
|
}
|
|
98
97
|
function dr() {
|
|
99
|
-
if (!q)
|
|
100
|
-
throw new Error("Function called outside component initialization");
|
|
98
|
+
if (!q) throw new Error("Function called outside component initialization");
|
|
101
99
|
return q;
|
|
102
100
|
}
|
|
103
101
|
function br(e) {
|
|
@@ -128,8 +126,7 @@ function P() {
|
|
|
128
126
|
} catch (t) {
|
|
129
127
|
throw D.length = 0, R = 0, t;
|
|
130
128
|
}
|
|
131
|
-
for (Y(null), D.length = 0, R = 0; pe.length; )
|
|
132
|
-
pe.pop()();
|
|
129
|
+
for (Y(null), D.length = 0, R = 0; pe.length; ) pe.pop()();
|
|
133
130
|
for (let t = 0; t < F.length; t += 1) {
|
|
134
131
|
const r = F[t];
|
|
135
132
|
Se.has(r) || (Se.add(r), r());
|
|
@@ -438,8 +435,7 @@ function Or(e, t) {
|
|
|
438
435
|
}
|
|
439
436
|
}
|
|
440
437
|
function Ir(e, t) {
|
|
441
|
-
if (!e || !t)
|
|
442
|
-
return;
|
|
438
|
+
if (!e || !t) return;
|
|
443
439
|
const r = new URL(t);
|
|
444
440
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
445
441
|
const i = document.createElement("style");
|
|
@@ -449,8 +445,7 @@ function Ir(e, t) {
|
|
|
449
445
|
});
|
|
450
446
|
}
|
|
451
447
|
function Nr(e, t, r, n = !1) {
|
|
452
|
-
if (!window.emMessageBus)
|
|
453
|
-
return;
|
|
448
|
+
if (!window.emMessageBus) return;
|
|
454
449
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
455
450
|
return r = Lr(e, t), r;
|
|
456
451
|
window[G] || (window[G] = {}), r = Cr(e, t);
|
|
@@ -471,8 +466,7 @@ function Lr(e, t) {
|
|
|
471
466
|
}
|
|
472
467
|
function Cr(e, t) {
|
|
473
468
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
474
|
-
if (!e)
|
|
475
|
-
return;
|
|
469
|
+
if (!e) return;
|
|
476
470
|
const n = e.getRootNode(), i = window[G];
|
|
477
471
|
let o = i[t] && i[t].sheet;
|
|
478
472
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
@@ -501,8 +495,7 @@ var Le = function(e, t) {
|
|
|
501
495
|
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
502
496
|
r.__proto__ = n;
|
|
503
497
|
} || function(r, n) {
|
|
504
|
-
for (var i in n)
|
|
505
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
498
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
506
499
|
}, Le(e, t);
|
|
507
500
|
};
|
|
508
501
|
function re(e, t) {
|
|
@@ -516,40 +509,34 @@ function re(e, t) {
|
|
|
516
509
|
}
|
|
517
510
|
function Ce(e) {
|
|
518
511
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
519
|
-
if (r)
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
}
|
|
526
|
-
};
|
|
512
|
+
if (r) return r.call(e);
|
|
513
|
+
if (e && typeof e.length == "number") return {
|
|
514
|
+
next: function() {
|
|
515
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
516
|
+
}
|
|
517
|
+
};
|
|
527
518
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
528
519
|
}
|
|
529
520
|
function Me(e, t) {
|
|
530
521
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
531
|
-
if (!r)
|
|
532
|
-
return e;
|
|
522
|
+
if (!r) return e;
|
|
533
523
|
var n = r.call(e), i, o = [], s;
|
|
534
524
|
try {
|
|
535
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
536
|
-
o.push(i.value);
|
|
525
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
537
526
|
} catch (a) {
|
|
538
527
|
s = { error: a };
|
|
539
528
|
} finally {
|
|
540
529
|
try {
|
|
541
530
|
i && !i.done && (r = n.return) && r.call(n);
|
|
542
531
|
} finally {
|
|
543
|
-
if (s)
|
|
544
|
-
throw s.error;
|
|
532
|
+
if (s) throw s.error;
|
|
545
533
|
}
|
|
546
534
|
}
|
|
547
535
|
return o;
|
|
548
536
|
}
|
|
549
537
|
function $e(e, t, r) {
|
|
550
|
-
if (arguments.length === 2)
|
|
551
|
-
|
|
552
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
538
|
+
if (arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
539
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
553
540
|
return e.concat(o || t);
|
|
554
541
|
}
|
|
555
542
|
function A(e) {
|
|
@@ -598,8 +585,7 @@ var ge = function() {
|
|
|
598
585
|
try {
|
|
599
586
|
u && !u.done && (r = a.return) && r.call(a);
|
|
600
587
|
} finally {
|
|
601
|
-
if (t)
|
|
602
|
-
throw t.error;
|
|
588
|
+
if (t) throw t.error;
|
|
603
589
|
}
|
|
604
590
|
}
|
|
605
591
|
else
|
|
@@ -629,8 +615,7 @@ var ge = function() {
|
|
|
629
615
|
try {
|
|
630
616
|
d && !d.done && (i = f.return) && i.call(f);
|
|
631
617
|
} finally {
|
|
632
|
-
if (n)
|
|
633
|
-
throw n.error;
|
|
618
|
+
if (n) throw n.error;
|
|
634
619
|
}
|
|
635
620
|
}
|
|
636
621
|
}
|
|
@@ -897,8 +882,7 @@ var zr = At(function(e) {
|
|
|
897
882
|
try {
|
|
898
883
|
a && !a.done && (o = s.return) && o.call(s);
|
|
899
884
|
} finally {
|
|
900
|
-
if (i)
|
|
901
|
-
throw i.error;
|
|
885
|
+
if (i) throw i.error;
|
|
902
886
|
}
|
|
903
887
|
}
|
|
904
888
|
}
|
|
@@ -1143,8 +1127,7 @@ var De = function(e, t) {
|
|
|
1143
1127
|
return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1144
1128
|
r.__proto__ = n;
|
|
1145
1129
|
} || function(r, n) {
|
|
1146
|
-
for (var i in n)
|
|
1147
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1130
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1148
1131
|
}, De(e, t);
|
|
1149
1132
|
};
|
|
1150
1133
|
function ve(e, t) {
|
|
@@ -1160,25 +1143,22 @@ var T = function() {
|
|
|
1160
1143
|
return T = Object.assign || function(t) {
|
|
1161
1144
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1162
1145
|
r = arguments[n];
|
|
1163
|
-
for (var o in r)
|
|
1164
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1146
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1165
1147
|
}
|
|
1166
1148
|
return t;
|
|
1167
1149
|
}, T.apply(this, arguments);
|
|
1168
1150
|
};
|
|
1169
1151
|
function pn(e, t) {
|
|
1170
1152
|
var r = {};
|
|
1171
|
-
for (var n in e)
|
|
1172
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1153
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1173
1154
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1174
1155
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1175
1156
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1176
1157
|
return r;
|
|
1177
1158
|
}
|
|
1178
1159
|
function Be(e, t, r) {
|
|
1179
|
-
if (r || arguments.length === 2)
|
|
1180
|
-
|
|
1181
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1160
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
1161
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1182
1162
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1183
1163
|
}
|
|
1184
1164
|
function Te(e, t) {
|
|
@@ -1233,8 +1213,7 @@ var yn = function() {
|
|
|
1233
1213
|
return me = Object.assign || function(t) {
|
|
1234
1214
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1235
1215
|
r = arguments[n];
|
|
1236
|
-
for (var o in r)
|
|
1237
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1216
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1238
1217
|
}
|
|
1239
1218
|
return t;
|
|
1240
1219
|
}, me.apply(this, arguments);
|
|
@@ -1380,8 +1359,7 @@ var E = function() {
|
|
|
1380
1359
|
return E = Object.assign || function(t) {
|
|
1381
1360
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1382
1361
|
r = arguments[n];
|
|
1383
|
-
for (var o in r)
|
|
1384
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1362
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1385
1363
|
}
|
|
1386
1364
|
return t;
|
|
1387
1365
|
}, E.apply(this, arguments);
|
|
@@ -3023,8 +3001,7 @@ function In(e, t) {
|
|
|
3023
3001
|
r += u;
|
|
3024
3002
|
for (; s-- > 0; )
|
|
3025
3003
|
r = h + r;
|
|
3026
|
-
} else
|
|
3027
|
-
i === "J" ? r += "H" : r += i;
|
|
3004
|
+
} else i === "J" ? r += "H" : r += i;
|
|
3028
3005
|
}
|
|
3029
3006
|
return r;
|
|
3030
3007
|
}
|
|
@@ -3627,8 +3604,7 @@ function Xe(e) {
|
|
|
3627
3604
|
if (delete t.location, Ft(t) || jt(t))
|
|
3628
3605
|
for (var r in t.options)
|
|
3629
3606
|
delete t.options[r].location, Xe(t.options[r].value);
|
|
3630
|
-
else
|
|
3631
|
-
Ut(t) && Vt(t.style) || (Dt(t) || Gt(t)) && Ge(t.style) ? delete t.style.location : kt(t) && Xe(t.children);
|
|
3607
|
+
else Ut(t) && Vt(t.style) || (Dt(t) || Gt(t)) && Ge(t.style) ? delete t.style.location : kt(t) && Xe(t.children);
|
|
3632
3608
|
});
|
|
3633
3609
|
}
|
|
3634
3610
|
function Jn(e, t) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerPanicButton-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerPanicButton-D0WFk3ri.cjs")).then(({default:t})=>{!customElements.get("player-panic-button")&&customElements.define("player-panic-button",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerPanicButton-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerPanicButton-9Gh0vmnf.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-panic-button") && customElements.define("player-panic-button", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|