@everymatrix/player-account-controller 1.47.0 → 1.47.2

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.
@@ -0,0 +1 @@
1
+ "use strict";var be=Object.defineProperty;var X=Object.getOwnPropertySymbols;var ke=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var Q=(e,t,s)=>t in e?be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Y=(e,t)=>{for(var s in t||(t={}))ke.call(t,s)&&Q(e,s,t[s]);if(X)for(var s of X(t))we.call(t,s)&&Q(e,s,t[s]);return e};var L=(e,t,s)=>new Promise((r,n)=>{var o=l=>{try{i(s.next(l))}catch(c){n(c)}},a=l=>{try{i(s.throw(l))}catch(c){n(c)}},i=l=>l.done?r(l.value):Promise.resolve(l.value).then(o,a);i((s=s.apply(e,t)).next())});const xe="player-kyc-verification",_={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!1,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var Te=Object.defineProperty,Le=(e,t)=>{for(var s in t)Te(e,s,{get:t[s],enumerable:!0})},z=new WeakMap,b=e=>z.get(e),Pe=(e,t)=>z.set(t.$lazyInstance$=e,t),Ae=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],z.set(e,s)},J=(e,t)=>t in e,k=(e,t)=>(0,console.error)(e,t),D=new Map,Ce=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const o=D.get(n);if(o)return o[r];{const a=i=>(D.set(n,i),i[r]);switch(n){case"player-kyc-verification":return Promise.resolve().then(()=>require("./player-kyc-verification-3V5MFDaD.cjs")).then(a,k)}}return import(`./${n}.entry.js`).then(a=>(D.set(n,a),a[r]),k)},j=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ae="slot-fb{display:contents}slot-fb[hidden]{display:none}",U=typeof window!="undefined"?window:{},m=U.document||{head:{}},u={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},le=e=>Promise.resolve(e),je=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),I=!1,K=[],oe=[],Oe=(e,t)=>s=>{e.push(s),I||(I=!0,u.$flags$&4?B(R):u.raf(R))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){k(s)}e.length=0},R=()=>{Z(K),Z(oe),(I=K.length>0)&&u.raf(R)},B=e=>le().then(e),Ue=Oe(oe),V={},De="http://www.w3.org/2000/svg",Ie="http://www.w3.org/1999/xhtml",Re=e=>e!=null,q=e=>(e=typeof e,e==="object"||e==="function");function ie(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var Fe={};Le(Fe,{err:()=>ce,map:()=>He,ok:()=>F,unwrap:()=>ze,unwrapErr:()=>Be});var F=e=>({isOk:!0,isErr:!1,value:e}),ce=e=>({isOk:!1,isErr:!0,value:e});function He(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>F(r)):F(s)}if(e.isErr){const s=e.value;return ce(s)}throw"should never get here"}var ze=e=>{if(e.isOk)return e.value;throw e.value},Be=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},qe=(e,t)=>()=>{},W=(e,t,...s)=>{let r=null,n=!1,o=!1;const a=[],i=c=>{for(let $=0;$<c.length;$++)r=c[$],Array.isArray(r)?i(r):r!=null&&typeof r!="boolean"&&((n=typeof e!="function"&&!q(r))&&(r=String(r)),n&&o?a[a.length-1].$text$+=r:a.push(n?O(null,r):r),o=n)};if(i(s),t){const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter($=>c[$]).join(" "))}if(typeof e=="function")return e(t===null?{}:t,a,Ne);const l=O(e,null);return l.$attrs$=t,a.length>0&&(l.$children$=a),l},O=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s},We={},Me=e=>e&&e.$tag$===We,Ne={forEach:(e,t)=>e.map(ee).forEach(t),map:(e,t)=>e.map(ee).map(t).map(Ge)},ee=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),Ge=e=>{if(typeof e.vtag=="function"){const s=Y({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),W(e.vtag,s,...e.vchildren||[])}const t=O(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Xe=(e,t)=>e!=null&&!q(e)&&t&1?String(e):e,Qe=(e,t,s)=>{const r=u.ce(t,s);return e.dispatchEvent(r),r},te=new WeakMap,Ye=(e,t,s)=>{let r=j.get(e);je&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,j.set(e,r)},Je=(e,t,s)=>{var r;const n=$e(t),o=j.get(n);if(e=e.nodeType===11?e:m,o)if(typeof o=="string"){e=e.head||e;let a=te.get(e),i;if(a||te.set(e,a=new Set),!a.has(n)){{i=m.createElement("style"),i.innerHTML=o;const l=(r=u.$nonce$)!=null?r:ie(m);l!=null&&i.setAttribute("nonce",l),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=ae),a&&a.add(n)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return n},Ke=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=t.$flags$,n=S("attachStyles",t.$tagName$),o=Je(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);r&10&&r&2&&(s["s-sc"]=o,s.classList.add(o+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,se=(e,t,s,r,n,o)=>{if(s!==r){let a=J(e,t),i=t.toLowerCase();if(t==="class"){const l=e.classList,c=re(s),$=re(r);l.remove(...c.filter(f=>f&&!$.includes(f))),l.add(...$.filter(f=>f&&!c.includes(f)))}else if(t==="style"){for(const l in s)(!r||r[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in r)(!s||r[l]!==s[l])&&(l.includes("-")?e.style.setProperty(l,r[l]):e.style[l]=r[l])}else if(t==="ref")r&&r(e);else if(!a&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):J(U,i)?t=i.slice(2):t=i[2]+t.slice(3),s||r){const l=t.endsWith(fe);t=t.replace(Ve,""),s&&u.rel(e,t,s,l),r&&u.ael(e,t,r,l)}}else{const l=q(r);if((a||l&&r!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=r;else{const c=r==null?"":r;t==="list"?a=!1:(s==null||e[t]!=c)&&(e[t]=c)}}catch(c){}r==null||r===!1?(r!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!a||o&4||n)&&!l&&(r=r===!0?"":r,e.setAttribute(t,r))}}},Ze=/\s/,re=e=>e?e.split(Ze):[],fe="Capture",Ve=new RegExp(fe+"$"),de=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||V,o=t.$attrs$||V;for(const a of ne(Object.keys(n)))a in o||se(r,a,n[a],void 0,s,t.$flags$);for(const a of ne(Object.keys(o)))se(r,a,n[a],o[a],s,t.$flags$)};function ne(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,ue=!1,v=!1,N=(e,t,s,r)=>{const n=t.$children$[s];let o=0,a,i;if(n.$text$!==null)a=n.$elm$=m.createTextNode(n.$text$);else{if(v||(v=n.$tag$==="svg"),a=n.$elm$=m.createElementNS(v?De:Ie,!ue&&_.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),v&&n.$tag$==="foreignObject"&&(v=!1),de(null,n,v),!!a.getRootNode().querySelector("body")&&_.scoped&&Re(A)&&a["s-si"]!==A&&a.classList.add(a["s-si"]=A),n.$children$)for(o=0;o<n.$children$.length;++o)i=N(e,n,o),i&&a.appendChild(i);n.$tag$==="svg"?v=!1:a.tagName==="foreignObject"&&(v=!0)}return a["s-hn"]=M,a},ve=(e,t,s,r,n,o)=>{let a=e,i;for(a.shadowRoot&&a.tagName===M&&(a=a.shadowRoot);n<=o;++n)r[n]&&(i=N(null,s,n),i&&(r[n].$elm$=i,C(a,i,t)))},pe=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const o=n.$elm$;he(n),o&&o.remove()}}},et=(e,t,s,r,n=!1)=>{let o=0,a=0,i=t.length-1,l=t[0],c=t[i],$=r.length-1,f=r[0],d=r[$],p;for(;o<=i&&a<=$;)l==null?l=t[++o]:c==null?c=t[--i]:f==null?f=r[++a]:d==null?d=r[--$]:P(l,f,n)?(x(l,f,n),l=t[++o],f=r[++a]):P(c,d,n)?(x(c,d,n),c=t[--i],d=r[--$]):P(l,d,n)?(x(l,d,n),C(e,l.$elm$,c.$elm$.nextSibling),l=t[++o],d=r[--$]):P(c,f,n)?(x(c,f,n),C(e,c.$elm$,l.$elm$),c=t[--i],f=r[++a]):(p=N(t&&t[a],s,a),f=r[++a],p&&C(l.$elm$.parentNode,p,l.$elm$));o>i?ve(e,r[$+1]==null?null:r[$+1].$elm$,s,r,a,$):a>$&&pe(t,o,i)},P=(e,t,s=!1)=>e.$tag$===t.$tag$,x=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,o=t.$children$,a=t.$tag$,i=t.$text$;i===null?(v=a==="svg"?!0:a==="foreignObject"?!1:v,de(e,t,v),n!==null&&o!==null?et(r,n,t,o,s):o!==null?(e.$text$!==null&&(r.textContent=""),ve(r,null,t,o,0,o.length-1)):!s&&_.updatable&&n!==null&&pe(n,0,n.length-1),v&&a==="svg"&&(v=!1)):e.$text$!==i&&(r.data=i)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},C=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),tt=(e,t,s=!1)=>{const r=e.$hostElement$,n=e.$cmpMeta$,o=e.$vnode$||O(null,null),a=Me(t)?t:W(null,null,t);if(M=r.tagName,s&&a.$attrs$)for(const i of Object.keys(a.$attrs$))r.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(a.$attrs$[i]=r[i]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=o.$elm$=r.shadowRoot||r,A=r["s-sc"],ue=(n.$flags$&1)!==0,x(o,a,s)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},G=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ue(()=>st(e,t))},st=(e,t)=>{const s=e.$hostElement$,r=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${s.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`);let o;return t&&(o=H(n,"componentWillLoad")),r(),rt(o,()=>at(e,n,t))},rt=(e,t)=>nt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",at=(e,t,s)=>L(exports,null,function*(){var r;const n=e.$hostElement$,o=S("update",e.$cmpMeta$.$tagName$),a=n["s-rc"];s&&Ke(e);const i=S("render",e.$cmpMeta$.$tagName$);lt(e,t,n,s),a&&(a.map(l=>l()),n["s-rc"]=void 0),i(),o();{const l=(r=n["s-p"])!=null?r:[],c=()=>ot(e);l.length===0?c():(Promise.all(l).then(c),e.$flags$|=4,l.length=0)}}),lt=(e,t,s,r)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,tt(e,t,r)}catch(n){k(n,e.$hostElement$)}return null},ot=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=S("postUpdate",t),n=e.$lazyInstance$,o=e.$ancestorComponent$;H(n,"componentDidRender"),e.$flags$&64?r():(e.$flags$|=64,me(s),H(n,"componentDidLoad"),r(),e.$onReadyResolve$(s),o||ye()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&B(()=>G(e,!1)),e.$flags$&=-517},ye=e=>{me(m.documentElement),B(()=>Qe(U,"appload",{detail:{namespace:xe}}))},H=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(r){k(r)}},me=e=>{var t;return e.classList.add((t=_.hydratedSelectorName)!=null?t:"hydrated")},it=(e,t)=>b(e).$instanceValues$.get(t),ct=(e,t,s,r)=>{const n=b(e);if(!n)throw new Error(`Couldn't find host element for "${r.$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).`);const o=n.$hostElement$,a=n.$instanceValues$.get(t),i=n.$flags$,l=n.$lazyInstance$;s=Xe(s,r.$members$[t][0]);const c=Number.isNaN(a)&&Number.isNaN(s),$=s!==a&&!c;if((!(i&8)||a===void 0)&&$&&(n.$instanceValues$.set(t,s),l)){if(r.$watchers$&&i&128){const f=r.$watchers$[t];f&&f.map(d=>{try{l[d](s,a,t)}catch(p){k(p,o)}})}(i&18)===2&&G(n,!1)}},Se=(e,t,s)=>{var r,n;const o=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((r=t.$members$)!=null?r:{});if(a.map(([i,[l]])=>{(l&31||s&2&&l&32)&&Object.defineProperty(o,i,{get(){return it(this,i)},set(c){ct(this,i,c,t)},configurable:!0,enumerable:!0})}),s&1){const i=new Map;o.attributeChangedCallback=function(l,c,$){u.jmp(()=>{var f;const d=i.get(l);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(o.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const p=b(this),g=p==null?void 0:p.$flags$;if(g&&!(g&8)&&g&128&&$!==c){const y=p.$lazyInstance$,w=(f=t.$watchers$)==null?void 0:f[l];w==null||w.forEach(h=>{y[h]!=null&&y[h].call(y,$,c,l)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...a.filter(([l,c])=>c[0]&15).map(([l,c])=>{const $=c[1]||l;return i.set($,l),$})]))}}return e},$t=(e,t,s,r)=>L(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const l=Ce(s);if(l&&"then"in l){const $=qe();n=yield l,$()}else n=l;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,Se(n,s,2),n.isProxied=!0);const c=S("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c()}else{n=e.constructor;const l=e.localName;customElements.whenDefined(l).then(()=>t.$flags$|=128)}if(n&&n.style){let l;typeof n.style=="string"&&(l=n.style);const c=$e(s);if(!j.has(c)){const $=S("registerStyles",s.$tagName$);Ye(c,l,!!(s.$flags$&1)),$()}}}const o=t.$ancestorComponent$,a=()=>G(t,!0);o&&o["s-rc"]?o["s-rc"].push(a):a()}),ft=e=>{},dt=e=>{if(!(u.$flags$&1)){const t=b(e),s=t.$cmpMeta$,r=S("connectedCallback",s.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ft());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[o]])=>{if(o&31&&e.hasOwnProperty(n)){const a=e[n];delete e[n],e[n]=a}}),$t(e,t,s)}r()}},ut=e=>{},vt=e=>L(exports,null,function*(){if(!(u.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ut())}}),pt=(e,t={})=>{var s;const r=S(),n=[],o=t.exclude||[],a=U.customElements,i=m.head,l=i.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let f,d=!0;Object.assign(u,t),u.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let p=!1;if(e.map(g=>{g[1].map(y=>{var w;const h={$flags$:y[0],$tagName$:y[1],$members$:y[2],$listeners$:y[3]};h.$flags$&4&&(p=!0),h.$members$=y[2],h.$watchers$=(w=y[4])!=null?w:{};const T=h.$tagName$,Ee=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Ae(E,h),h.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):u.jmp(()=>dt(this))}disconnectedCallback(){u.jmp(()=>vt(this))}componentOnReady(){return b(this).$onReadyPromise$}};h.$lazyBundleId$=g[0],!o.includes(T)&&!a.get(T)&&(n.push(T),a.define(T,Se(Ee,h,1)))})}),n.length>0&&(p&&(c.textContent+=ae),c.textContent+=n.sort()+_e,c.innerHTML.length)){c.setAttribute("data-styles","");const g=(s=u.$nonce$)!=null?s:ie(m);g!=null&&c.setAttribute("nonce",g),i.insertBefore(c,l?l.nextSibling:i.firstChild)}d=!1,$.length?$.map(g=>g.connectedCallback()):u.jmp(()=>f=setTimeout(ye,30)),r()},ht=(e,t)=>t;exports.Fragment=ht;exports.bootstrapLazy=pt;exports.h=W;exports.promiseResolve=le;exports.registerInstance=Pe;
@@ -0,0 +1,584 @@
1
+ var Ee = Object.defineProperty;
2
+ var G = Object.getOwnPropertySymbols;
3
+ var be = Object.prototype.hasOwnProperty, ke = Object.prototype.propertyIsEnumerable;
4
+ var X = (e, t, s) => t in e ? Ee(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, Q = (e, t) => {
5
+ for (var s in t || (t = {}))
6
+ be.call(t, s) && X(e, s, t[s]);
7
+ if (G)
8
+ for (var s of G(t))
9
+ ke.call(t, s) && X(e, s, t[s]);
10
+ return e;
11
+ };
12
+ var L = (e, t, s) => new Promise((r, n) => {
13
+ var o = (l) => {
14
+ try {
15
+ i(s.next(l));
16
+ } catch (c) {
17
+ n(c);
18
+ }
19
+ }, a = (l) => {
20
+ try {
21
+ i(s.throw(l));
22
+ } catch (c) {
23
+ n(c);
24
+ }
25
+ }, i = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, a);
26
+ i((s = s.apply(e, t)).next());
27
+ });
28
+ const we = "player-kyc-verification", _ = (
29
+ /* player-kyc-verification */
30
+ { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !1, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !1, element: !1, event: !1, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !1, hostListenerTarget: !1, hostListenerTargetBody: !1, hostListenerTargetDocument: !1, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !1, propMutable: !1, propNumber: !1, propString: !0, reflect: !1, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !0, vdomKey: !1, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !0, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
31
+ );
32
+ var xe = Object.defineProperty, Te = (e, t) => {
33
+ for (var s in t)
34
+ xe(e, s, { get: t[s], enumerable: !0 });
35
+ }, B = /* @__PURE__ */ new WeakMap(), b = (e) => B.get(e), pt = (e, t) => B.set(t.$lazyInstance$ = e, t), Le = (e, t) => {
36
+ const s = {
37
+ $flags$: 0,
38
+ $hostElement$: e,
39
+ $cmpMeta$: t,
40
+ $instanceValues$: /* @__PURE__ */ new Map()
41
+ };
42
+ return s.$onReadyPromise$ = new Promise((r) => s.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], B.set(e, s);
43
+ }, Y = (e, t) => t in e, k = (e, t) => (0, console.error)(e, t), D = /* @__PURE__ */ new Map(), Pe = (e, t, s) => {
44
+ const r = e.$tagName$.replace(/-/g, "_"), n = e.$lazyBundleId$;
45
+ if (!n)
46
+ return;
47
+ const o = D.get(n);
48
+ if (o)
49
+ return o[r];
50
+ {
51
+ const a = (i) => (D.set(n, i), i[r]);
52
+ switch (n) {
53
+ case "player-kyc-verification":
54
+ return import(
55
+ /* webpackMode: "lazy" */
56
+ "./player-kyc-verification-CZYvrNVs.js"
57
+ ).then(a, k);
58
+ }
59
+ }
60
+ return import(
61
+ /* @vite-ignore */
62
+ /* webpackInclude: /\.entry\.js$/ */
63
+ /* webpackExclude: /\.system\.entry\.js$/ */
64
+ /* webpackMode: "lazy" */
65
+ `./${n}.entry.js`
66
+ ).then((a) => (D.set(n, a), a[r]), k);
67
+ }, j = /* @__PURE__ */ new Map(), Ae = "{visibility:hidden}.hydrated{visibility:inherit}", ne = "slot-fb{display:contents}slot-fb[hidden]{display:none}", U = typeof window != "undefined" ? window : {}, m = U.document || { head: {} }, u = {
68
+ $flags$: 0,
69
+ $resourcesUrl$: "",
70
+ jmp: (e) => e(),
71
+ raf: (e) => requestAnimationFrame(e),
72
+ ael: (e, t, s, r) => e.addEventListener(t, s, r),
73
+ rel: (e, t, s, r) => e.removeEventListener(t, s, r),
74
+ ce: (e, t) => new CustomEvent(e, t)
75
+ }, Ce = (e) => Promise.resolve(e), _e = /* @__PURE__ */ (() => {
76
+ try {
77
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
78
+ } catch (e) {
79
+ }
80
+ return !1;
81
+ })(), I = !1, J = [], ae = [], je = (e, t) => (s) => {
82
+ e.push(s), I || (I = !0, u.$flags$ & 4 ? z(R) : u.raf(R));
83
+ }, K = (e) => {
84
+ for (let t = 0; t < e.length; t++)
85
+ try {
86
+ e[t](performance.now());
87
+ } catch (s) {
88
+ k(s);
89
+ }
90
+ e.length = 0;
91
+ }, R = () => {
92
+ K(J), K(ae), (I = J.length > 0) && u.raf(R);
93
+ }, z = (e) => Ce().then(e), Oe = /* @__PURE__ */ je(ae), Z = {}, Ue = "http://www.w3.org/2000/svg", De = "http://www.w3.org/1999/xhtml", Ie = (e) => e != null, W = (e) => (e = typeof e, e === "object" || e === "function");
94
+ function le(e) {
95
+ var t, s, r;
96
+ return (r = (s = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : s.getAttribute("content")) != null ? r : void 0;
97
+ }
98
+ var Re = {};
99
+ Te(Re, {
100
+ err: () => oe,
101
+ map: () => Fe,
102
+ ok: () => F,
103
+ unwrap: () => He,
104
+ unwrapErr: () => Be
105
+ });
106
+ var F = (e) => ({
107
+ isOk: !0,
108
+ isErr: !1,
109
+ value: e
110
+ }), oe = (e) => ({
111
+ isOk: !1,
112
+ isErr: !0,
113
+ value: e
114
+ });
115
+ function Fe(e, t) {
116
+ if (e.isOk) {
117
+ const s = t(e.value);
118
+ return s instanceof Promise ? s.then((r) => F(r)) : F(s);
119
+ }
120
+ if (e.isErr) {
121
+ const s = e.value;
122
+ return oe(s);
123
+ }
124
+ throw "should never get here";
125
+ }
126
+ var He = (e) => {
127
+ if (e.isOk)
128
+ return e.value;
129
+ throw e.value;
130
+ }, Be = (e) => {
131
+ if (e.isErr)
132
+ return e.value;
133
+ throw e.value;
134
+ }, S = (e, t = "") => () => {
135
+ }, ze = (e, t) => () => {
136
+ }, ie = (e, t, ...s) => {
137
+ let r = null, n = !1, o = !1;
138
+ const a = [], i = (c) => {
139
+ for (let $ = 0; $ < c.length; $++)
140
+ r = c[$], Array.isArray(r) ? i(r) : r != null && typeof r != "boolean" && ((n = typeof e != "function" && !W(r)) && (r = String(r)), n && o ? a[a.length - 1].$text$ += r : a.push(n ? O(null, r) : r), o = n);
141
+ };
142
+ if (i(s), t) {
143
+ const c = t.className || t.class;
144
+ c && (t.class = typeof c != "object" ? c : Object.keys(c).filter(($) => c[$]).join(" "));
145
+ }
146
+ if (typeof e == "function")
147
+ return e(
148
+ t === null ? {} : t,
149
+ a,
150
+ Me
151
+ );
152
+ const l = O(e, null);
153
+ return l.$attrs$ = t, a.length > 0 && (l.$children$ = a), l;
154
+ }, O = (e, t) => {
155
+ const s = {
156
+ $flags$: 0,
157
+ $tag$: e,
158
+ $text$: t,
159
+ $elm$: null,
160
+ $children$: null
161
+ };
162
+ return s.$attrs$ = null, s;
163
+ }, We = {}, qe = (e) => e && e.$tag$ === We, Me = {
164
+ forEach: (e, t) => e.map(V).forEach(t),
165
+ map: (e, t) => e.map(V).map(t).map(Ne)
166
+ }, V = (e) => ({
167
+ vattrs: e.$attrs$,
168
+ vchildren: e.$children$,
169
+ vkey: e.$key$,
170
+ vname: e.$name$,
171
+ vtag: e.$tag$,
172
+ vtext: e.$text$
173
+ }), Ne = (e) => {
174
+ if (typeof e.vtag == "function") {
175
+ const s = Q({}, e.vattrs);
176
+ return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), ie(e.vtag, s, ...e.vchildren || []);
177
+ }
178
+ const t = O(e.vtag, e.vtext);
179
+ return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
180
+ }, Ge = (e, t) => e != null && !W(e) && t & 1 ? String(e) : e, Xe = (e, t, s) => {
181
+ const r = u.ce(t, s);
182
+ return e.dispatchEvent(r), r;
183
+ }, ee = /* @__PURE__ */ new WeakMap(), Qe = (e, t, s) => {
184
+ let r = j.get(e);
185
+ _e && s ? (r = r || new CSSStyleSheet(), typeof r == "string" ? r = t : r.replaceSync(t)) : r = t, j.set(e, r);
186
+ }, Ye = (e, t, s) => {
187
+ var r;
188
+ const n = ce(t), o = j.get(n);
189
+ if (e = e.nodeType === 11 ? e : m, o)
190
+ if (typeof o == "string") {
191
+ e = e.head || e;
192
+ let a = ee.get(e), i;
193
+ if (a || ee.set(e, a = /* @__PURE__ */ new Set()), !a.has(n)) {
194
+ {
195
+ i = m.createElement("style"), i.innerHTML = o;
196
+ const l = (r = u.$nonce$) != null ? r : le(m);
197
+ l != null && i.setAttribute("nonce", l), /**
198
+ * we render a scoped component
199
+ */
200
+ (!(t.$flags$ & 1) || /**
201
+ * we are using shadow dom and render the style tag within the shadowRoot
202
+ */
203
+ t.$flags$ & 1 && e.nodeName !== "HEAD") && e.insertBefore(i, e.querySelector("link"));
204
+ }
205
+ t.$flags$ & 4 && (i.innerHTML += ne), a && a.add(n);
206
+ }
207
+ } else e.adoptedStyleSheets.includes(o) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, o]);
208
+ return n;
209
+ }, Je = (e) => {
210
+ const t = e.$cmpMeta$, s = e.$hostElement$, r = t.$flags$, n = S("attachStyles", t.$tagName$), o = Ye(
211
+ s.shadowRoot ? s.shadowRoot : s.getRootNode(),
212
+ t
213
+ );
214
+ r & 10 && r & 2 && (s["s-sc"] = o, s.classList.add(o + "-h")), n();
215
+ }, ce = (e, t) => "sc-" + e.$tagName$, te = (e, t, s, r, n, o) => {
216
+ if (s !== r) {
217
+ let a = Y(e, t), i = t.toLowerCase();
218
+ if (t === "class") {
219
+ const l = e.classList, c = se(s), $ = se(r);
220
+ l.remove(...c.filter((f) => f && !$.includes(f))), l.add(...$.filter((f) => f && !c.includes(f)));
221
+ } else if (t === "style") {
222
+ for (const l in s)
223
+ (!r || r[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
224
+ for (const l in r)
225
+ (!s || r[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, r[l]) : e.style[l] = r[l]);
226
+ } else if (t === "ref")
227
+ r && r(e);
228
+ else if (!a && t[0] === "o" && t[1] === "n") {
229
+ if (t[2] === "-" ? t = t.slice(3) : Y(U, i) ? t = i.slice(2) : t = i[2] + t.slice(3), s || r) {
230
+ const l = t.endsWith($e);
231
+ t = t.replace(Ze, ""), s && u.rel(e, t, s, l), r && u.ael(e, t, r, l);
232
+ }
233
+ } else {
234
+ const l = W(r);
235
+ if ((a || l && r !== null) && !n)
236
+ try {
237
+ if (e.tagName.includes("-"))
238
+ e[t] = r;
239
+ else {
240
+ const c = r == null ? "" : r;
241
+ t === "list" ? a = !1 : (s == null || e[t] != c) && (e[t] = c);
242
+ }
243
+ } catch (c) {
244
+ }
245
+ r == null || r === !1 ? (r !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!a || o & 4 || n) && !l && (r = r === !0 ? "" : r, e.setAttribute(t, r));
246
+ }
247
+ }
248
+ }, Ke = /\s/, se = (e) => e ? e.split(Ke) : [], $e = "Capture", Ze = new RegExp($e + "$"), fe = (e, t, s) => {
249
+ const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, n = e && e.$attrs$ || Z, o = t.$attrs$ || Z;
250
+ for (const a of re(Object.keys(n)))
251
+ a in o || te(r, a, n[a], void 0, s, t.$flags$);
252
+ for (const a of re(Object.keys(o)))
253
+ te(r, a, n[a], o[a], s, t.$flags$);
254
+ };
255
+ function re(e) {
256
+ return e.includes("ref") ? (
257
+ // we need to sort these to ensure that `'ref'` is the last attr
258
+ [...e.filter((t) => t !== "ref"), "ref"]
259
+ ) : (
260
+ // no need to sort, return the original array
261
+ e
262
+ );
263
+ }
264
+ var A, q, de = !1, v = !1, M = (e, t, s, r) => {
265
+ const n = t.$children$[s];
266
+ let o = 0, a, i;
267
+ if (n.$text$ !== null)
268
+ a = n.$elm$ = m.createTextNode(n.$text$);
269
+ else {
270
+ if (v || (v = n.$tag$ === "svg"), a = n.$elm$ = m.createElementNS(
271
+ v ? Ue : De,
272
+ !de && _.slotRelocation && n.$flags$ & 2 ? "slot-fb" : n.$tag$
273
+ ), v && n.$tag$ === "foreignObject" && (v = !1), fe(null, n, v), !!a.getRootNode().querySelector("body") && _.scoped && Ie(A) && a["s-si"] !== A && a.classList.add(a["s-si"] = A), n.$children$)
274
+ for (o = 0; o < n.$children$.length; ++o)
275
+ i = M(e, n, o), i && a.appendChild(i);
276
+ n.$tag$ === "svg" ? v = !1 : a.tagName === "foreignObject" && (v = !0);
277
+ }
278
+ return a["s-hn"] = q, a;
279
+ }, ue = (e, t, s, r, n, o) => {
280
+ let a = e, i;
281
+ for (a.shadowRoot && a.tagName === q && (a = a.shadowRoot); n <= o; ++n)
282
+ r[n] && (i = M(null, s, n), i && (r[n].$elm$ = i, C(a, i, t)));
283
+ }, ve = (e, t, s) => {
284
+ for (let r = t; r <= s; ++r) {
285
+ const n = e[r];
286
+ if (n) {
287
+ const o = n.$elm$;
288
+ pe(n), o && o.remove();
289
+ }
290
+ }
291
+ }, Ve = (e, t, s, r, n = !1) => {
292
+ let o = 0, a = 0, i = t.length - 1, l = t[0], c = t[i], $ = r.length - 1, f = r[0], d = r[$], p;
293
+ for (; o <= i && a <= $; )
294
+ l == null ? l = t[++o] : c == null ? c = t[--i] : f == null ? f = r[++a] : d == null ? d = r[--$] : P(l, f, n) ? (x(l, f, n), l = t[++o], f = r[++a]) : P(c, d, n) ? (x(c, d, n), c = t[--i], d = r[--$]) : P(l, d, n) ? (x(l, d, n), C(e, l.$elm$, c.$elm$.nextSibling), l = t[++o], d = r[--$]) : P(c, f, n) ? (x(c, f, n), C(e, c.$elm$, l.$elm$), c = t[--i], f = r[++a]) : (p = M(t && t[a], s, a), f = r[++a], p && C(l.$elm$.parentNode, p, l.$elm$));
295
+ o > i ? ue(
296
+ e,
297
+ r[$ + 1] == null ? null : r[$ + 1].$elm$,
298
+ s,
299
+ r,
300
+ a,
301
+ $
302
+ ) : a > $ && ve(t, o, i);
303
+ }, P = (e, t, s = !1) => e.$tag$ === t.$tag$, x = (e, t, s = !1) => {
304
+ const r = t.$elm$ = e.$elm$, n = e.$children$, o = t.$children$, a = t.$tag$, i = t.$text$;
305
+ i === null ? (v = a === "svg" ? !0 : a === "foreignObject" ? !1 : v, fe(e, t, v), n !== null && o !== null ? Ve(r, n, t, o, s) : o !== null ? (e.$text$ !== null && (r.textContent = ""), ue(r, null, t, o, 0, o.length - 1)) : (
306
+ // don't do this on initial render as it can cause non-hydrated content to be removed
307
+ !s && _.updatable && n !== null && ve(n, 0, n.length - 1)
308
+ ), v && a === "svg" && (v = !1)) : e.$text$ !== i && (r.data = i);
309
+ }, pe = (e) => {
310
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(pe);
311
+ }, C = (e, t, s) => e == null ? void 0 : e.insertBefore(t, s), et = (e, t, s = !1) => {
312
+ const r = e.$hostElement$, n = e.$cmpMeta$, o = e.$vnode$ || O(null, null), a = qe(t) ? t : ie(null, null, t);
313
+ if (q = r.tagName, s && a.$attrs$)
314
+ for (const i of Object.keys(a.$attrs$))
315
+ r.hasAttribute(i) && !["key", "ref", "style", "class"].includes(i) && (a.$attrs$[i] = r[i]);
316
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = o.$elm$ = r.shadowRoot || r, A = r["s-sc"], de = (n.$flags$ & 1) !== 0, x(o, a, s);
317
+ }, he = (e, t) => {
318
+ t && !e.$onRenderResolve$ && t["s-p"] && t["s-p"].push(new Promise((s) => e.$onRenderResolve$ = s));
319
+ }, N = (e, t) => {
320
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
321
+ e.$flags$ |= 512;
322
+ return;
323
+ }
324
+ return he(e, e.$ancestorComponent$), Oe(() => tt(e, t));
325
+ }, tt = (e, t) => {
326
+ const s = e.$hostElement$, r = S("scheduleUpdate", e.$cmpMeta$.$tagName$), n = e.$lazyInstance$;
327
+ if (!n)
328
+ throw new Error(
329
+ `Can't render component <${s.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`
330
+ );
331
+ let o;
332
+ return t && (o = H(n, "componentWillLoad")), r(), st(o, () => nt(e, n, t));
333
+ }, st = (e, t) => rt(e) ? e.then(t).catch((s) => {
334
+ console.error(s), t();
335
+ }) : t(), rt = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", nt = (e, t, s) => L(void 0, null, function* () {
336
+ var r;
337
+ const n = e.$hostElement$, o = S("update", e.$cmpMeta$.$tagName$), a = n["s-rc"];
338
+ s && Je(e);
339
+ const i = S("render", e.$cmpMeta$.$tagName$);
340
+ at(e, t, n, s), a && (a.map((l) => l()), n["s-rc"] = void 0), i(), o();
341
+ {
342
+ const l = (r = n["s-p"]) != null ? r : [], c = () => lt(e);
343
+ l.length === 0 ? c() : (Promise.all(l).then(c), e.$flags$ |= 4, l.length = 0);
344
+ }
345
+ }), at = (e, t, s, r) => {
346
+ try {
347
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, et(e, t, r);
348
+ } catch (n) {
349
+ k(n, e.$hostElement$);
350
+ }
351
+ return null;
352
+ }, lt = (e) => {
353
+ const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, r = S("postUpdate", t), n = e.$lazyInstance$, o = e.$ancestorComponent$;
354
+ H(n, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, ye(s), H(n, "componentDidLoad"), r(), e.$onReadyResolve$(s), o || ge()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && z(() => N(e, !1)), e.$flags$ &= -517;
355
+ }, ge = (e) => {
356
+ ye(m.documentElement), z(() => Xe(U, "appload", { detail: { namespace: we } }));
357
+ }, H = (e, t, s) => {
358
+ if (e && e[t])
359
+ try {
360
+ return e[t](s);
361
+ } catch (r) {
362
+ k(r);
363
+ }
364
+ }, ye = (e) => {
365
+ var t;
366
+ return e.classList.add((t = _.hydratedSelectorName) != null ? t : "hydrated");
367
+ }, ot = (e, t) => b(e).$instanceValues$.get(t), it = (e, t, s, r) => {
368
+ const n = b(e);
369
+ if (!n)
370
+ throw new Error(
371
+ `Couldn't find host element for "${r.$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).`
372
+ );
373
+ const o = n.$hostElement$, a = n.$instanceValues$.get(t), i = n.$flags$, l = n.$lazyInstance$;
374
+ s = Ge(s, r.$members$[t][0]);
375
+ const c = Number.isNaN(a) && Number.isNaN(s), $ = s !== a && !c;
376
+ if ((!(i & 8) || a === void 0) && $ && (n.$instanceValues$.set(t, s), l)) {
377
+ if (r.$watchers$ && i & 128) {
378
+ const f = r.$watchers$[t];
379
+ f && f.map((d) => {
380
+ try {
381
+ l[d](s, a, t);
382
+ } catch (p) {
383
+ k(p, o);
384
+ }
385
+ });
386
+ }
387
+ (i & 18) === 2 && N(n, !1);
388
+ }
389
+ }, me = (e, t, s) => {
390
+ var r, n;
391
+ const o = e.prototype;
392
+ if (t.$members$ || t.$watchers$ || e.watchers) {
393
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
394
+ const a = Object.entries((r = t.$members$) != null ? r : {});
395
+ if (a.map(([i, [l]]) => {
396
+ (l & 31 || s & 2 && l & 32) && Object.defineProperty(o, i, {
397
+ get() {
398
+ return ot(this, i);
399
+ },
400
+ set(c) {
401
+ it(this, i, c, t);
402
+ },
403
+ configurable: !0,
404
+ enumerable: !0
405
+ });
406
+ }), s & 1) {
407
+ const i = /* @__PURE__ */ new Map();
408
+ o.attributeChangedCallback = function(l, c, $) {
409
+ u.jmp(() => {
410
+ var f;
411
+ const d = i.get(l);
412
+ if (this.hasOwnProperty(d))
413
+ $ = this[d], delete this[d];
414
+ else {
415
+ if (o.hasOwnProperty(d) && typeof this[d] == "number" && // cast type to number to avoid TS compiler issues
416
+ this[d] == $)
417
+ return;
418
+ if (d == null) {
419
+ const p = b(this), g = p == null ? void 0 : p.$flags$;
420
+ if (g && !(g & 8) && g & 128 && $ !== c) {
421
+ const y = p.$lazyInstance$, w = (f = t.$watchers$) == null ? void 0 : f[l];
422
+ w == null || w.forEach((h) => {
423
+ y[h] != null && y[h].call(y, $, c, l);
424
+ });
425
+ }
426
+ return;
427
+ }
428
+ }
429
+ this[d] = $ === null && typeof this[d] == "boolean" ? !1 : $;
430
+ });
431
+ }, e.observedAttributes = Array.from(
432
+ /* @__PURE__ */ new Set([
433
+ ...Object.keys((n = t.$watchers$) != null ? n : {}),
434
+ ...a.filter(
435
+ ([l, c]) => c[0] & 15
436
+ /* HasAttribute */
437
+ ).map(([l, c]) => {
438
+ const $ = c[1] || l;
439
+ return i.set($, l), $;
440
+ })
441
+ ])
442
+ );
443
+ }
444
+ }
445
+ return e;
446
+ }, ct = (e, t, s, r) => L(void 0, null, function* () {
447
+ let n;
448
+ if (!(t.$flags$ & 32)) {
449
+ if (t.$flags$ |= 32, s.$lazyBundleId$) {
450
+ const l = Pe(s);
451
+ if (l && "then" in l) {
452
+ const $ = ze();
453
+ n = yield l, $();
454
+ } else
455
+ n = l;
456
+ if (!n)
457
+ throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);
458
+ n.isProxied || (s.$watchers$ = n.watchers, me(
459
+ n,
460
+ s,
461
+ 2
462
+ /* proxyState */
463
+ ), n.isProxied = !0);
464
+ const c = S("createInstance", s.$tagName$);
465
+ t.$flags$ |= 8;
466
+ try {
467
+ new n(t);
468
+ } catch ($) {
469
+ k($);
470
+ }
471
+ t.$flags$ &= -9, t.$flags$ |= 128, c();
472
+ } else {
473
+ n = e.constructor;
474
+ const l = e.localName;
475
+ customElements.whenDefined(l).then(
476
+ () => t.$flags$ |= 128
477
+ /* isWatchReady */
478
+ );
479
+ }
480
+ if (n && n.style) {
481
+ let l;
482
+ typeof n.style == "string" && (l = n.style);
483
+ const c = ce(s);
484
+ if (!j.has(c)) {
485
+ const $ = S("registerStyles", s.$tagName$);
486
+ Qe(c, l, !!(s.$flags$ & 1)), $();
487
+ }
488
+ }
489
+ }
490
+ const o = t.$ancestorComponent$, a = () => N(t, !0);
491
+ o && o["s-rc"] ? o["s-rc"].push(a) : a();
492
+ }), $t = (e) => {
493
+ }, ft = (e) => {
494
+ if (!(u.$flags$ & 1)) {
495
+ const t = b(e), s = t.$cmpMeta$, r = S("connectedCallback", s.$tagName$);
496
+ if (t.$flags$ & 1)
497
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => $t());
498
+ else {
499
+ t.$flags$ |= 1;
500
+ {
501
+ let n = e;
502
+ for (; n = n.parentNode || n.host; )
503
+ if (n["s-p"]) {
504
+ he(t, t.$ancestorComponent$ = n);
505
+ break;
506
+ }
507
+ }
508
+ s.$members$ && Object.entries(s.$members$).map(([n, [o]]) => {
509
+ if (o & 31 && e.hasOwnProperty(n)) {
510
+ const a = e[n];
511
+ delete e[n], e[n] = a;
512
+ }
513
+ }), ct(e, t, s);
514
+ }
515
+ r();
516
+ }
517
+ }, dt = (e) => {
518
+ }, ut = (e) => L(void 0, null, function* () {
519
+ if (!(u.$flags$ & 1)) {
520
+ const t = b(e);
521
+ t != null && t.$lazyInstance$ || t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => dt());
522
+ }
523
+ }), ht = (e, t = {}) => {
524
+ var s;
525
+ const r = S(), n = [], o = t.exclude || [], a = U.customElements, i = m.head, l = /* @__PURE__ */ i.querySelector("meta[charset]"), c = /* @__PURE__ */ m.createElement("style"), $ = [];
526
+ let f, d = !0;
527
+ Object.assign(u, t), u.$resourcesUrl$ = new URL(t.resourcesUrl || "./", m.baseURI).href;
528
+ let p = !1;
529
+ if (e.map((g) => {
530
+ g[1].map((y) => {
531
+ var w;
532
+ const h = {
533
+ $flags$: y[0],
534
+ $tagName$: y[1],
535
+ $members$: y[2],
536
+ $listeners$: y[3]
537
+ };
538
+ h.$flags$ & 4 && (p = !0), h.$members$ = y[2], h.$watchers$ = (w = y[4]) != null ? w : {};
539
+ const T = h.$tagName$, Se = class extends HTMLElement {
540
+ // StencilLazyHost
541
+ constructor(E) {
542
+ if (super(E), this.hasRegisteredEventListeners = !1, E = this, Le(E, h), h.$flags$ & 1) {
543
+ if (!E.shadowRoot)
544
+ E.attachShadow({ mode: "open" });
545
+ else if (E.shadowRoot.mode !== "open")
546
+ throw new Error(
547
+ `Unable to re-use existing shadow root for ${h.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
548
+ );
549
+ }
550
+ }
551
+ connectedCallback() {
552
+ b(this), this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0), f && (clearTimeout(f), f = null), d ? $.push(this) : u.jmp(() => ft(this));
553
+ }
554
+ disconnectedCallback() {
555
+ u.jmp(() => ut(this));
556
+ }
557
+ componentOnReady() {
558
+ return b(this).$onReadyPromise$;
559
+ }
560
+ };
561
+ h.$lazyBundleId$ = g[0], !o.includes(T) && !a.get(T) && (n.push(T), a.define(
562
+ T,
563
+ me(
564
+ Se,
565
+ h,
566
+ 1
567
+ /* isElementConstructor */
568
+ )
569
+ ));
570
+ });
571
+ }), n.length > 0 && (p && (c.textContent += ne), c.textContent += n.sort() + Ae, c.innerHTML.length)) {
572
+ c.setAttribute("data-styles", "");
573
+ const g = (s = u.$nonce$) != null ? s : le(m);
574
+ g != null && c.setAttribute("nonce", g), i.insertBefore(c, l ? l.nextSibling : i.firstChild);
575
+ }
576
+ d = !1, $.length ? $.map((g) => g.connectedCallback()) : u.jmp(() => f = setTimeout(ge, 30)), r();
577
+ }, gt = (e, t) => t;
578
+ export {
579
+ gt as F,
580
+ ht as b,
581
+ ie as h,
582
+ Ce as p,
583
+ pt as r
584
+ };