@everymatrix/player-panic-button 1.88.5 → 1.88.7

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.
@@ -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)=>(we(e,typeof t!="symbol"?t+"":t,r),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=>{var a;if(!e)return;const n=e.getRootNode(),i=window[F];let o=(a=i[t])==null?void 0:a.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])})}/*! *****************************************************************************
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),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
@@ -474,7 +474,7 @@ function Cr(e, t) {
474
474
  if (!e)
475
475
  return;
476
476
  const n = e.getRootNode(), i = window[G];
477
- let o = i[t]?.sheet;
477
+ let o = i[t] && i[t].sheet;
478
478
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
479
479
  sheet: o,
480
480
  refCount: 1
@@ -508,11 +508,10 @@ function Vr(e, t) {
508
508
  }
509
509
  function Xr(e, t) {
510
510
  return window.emMessageBus.subscribe(t, (r) => {
511
- var a;
512
511
  if (!e)
513
512
  return;
514
513
  const n = e.getRootNode(), i = window[F];
515
- let o = (a = i[t]) == null ? void 0 : a.sheet;
514
+ let o = i[t] && i[t].sheet;
516
515
  o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
517
516
  sheet: o,
518
517
  refCount: 1
@@ -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-D84uQH3i.cjs")).then(({default:t})=>{!customElements.get("player-panic-button")&&customElements.define("player-panic-button",t.element)})}
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-BpCSpXOH.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-DgGAFxFx.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerPanicButton-wo6AxC_J.js").then(({ default: t }) => {
14
14
  !customElements.get("player-panic-button") && customElements.define("player-panic-button", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PlayerPanicButton-CcRWqzit.js";
1
+ import { P as s } from "../components/PlayerPanicButton-L4BSid6b.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-panic-button",
3
- "version": "1.88.5",
3
+ "version": "1.88.7",
4
4
  "type": "module",
5
5
  "main": "es2015/player-panic-button.cjs",
6
6
  "module": "esnext/player-panic-button.js",