@everymatrix/user-actions 1.55.0 → 1.56.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.
- package/dist/cjs/{index-f085c6ba.js → index-04ccb420.js} +4 -29
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/user-actions.cjs.entry.js +1 -1
- package/dist/cjs/user-actions.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/esm/{index-e82c09e4.js → index-2b2bb7fc.js} +4 -29
- package/dist/esm/loader.js +2 -2
- package/dist/esm/user-actions.entry.js +1 -1
- package/dist/esm/user-actions.js +3 -3
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/dist/user-actions/p-8d46bf7a.js +2 -0
- package/dist/user-actions/{p-61c44598.entry.js → p-ac1b2491.entry.js} +1 -1
- package/dist/user-actions/user-actions.esm.js +1 -1
- package/package.json +1 -1
- package/dist/user-actions/p-e9d33070.js +0 -2
|
@@ -24,7 +24,7 @@ const NAMESPACE = 'user-actions';
|
|
|
24
24
|
const BUILD = /* user-actions */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: false, vdomClass: false, vdomFunctional: false, vdomKey: false, vdomListener: false, vdomPropOrAttr: false, vdomRef: false, vdomRender: false, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -288,31 +288,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
288
288
|
if (nonce != null) {
|
|
289
289
|
styleElm.setAttribute("nonce", nonce);
|
|
290
290
|
}
|
|
291
|
-
|
|
292
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
293
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
294
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
295
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
296
|
-
} else if ("host" in styleContainerNode) {
|
|
297
|
-
if (supportsConstructableStylesheets) {
|
|
298
|
-
const stylesheet = new CSSStyleSheet();
|
|
299
|
-
stylesheet.replaceSync(style);
|
|
300
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
301
|
-
} else {
|
|
302
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
303
|
-
if (existingStyleContainer) {
|
|
304
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
305
|
-
} else {
|
|
306
|
-
styleContainerNode.prepend(styleElm);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
} else {
|
|
310
|
-
styleContainerNode.append(styleElm);
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
314
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
315
|
-
}
|
|
291
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
316
292
|
}
|
|
317
293
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
318
294
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -335,7 +311,7 @@ var attachStyles = (hostRef) => {
|
|
|
335
311
|
const scopeId2 = addStyle(
|
|
336
312
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
337
313
|
cmpMeta);
|
|
338
|
-
if (flags & 10 /* needsScopedEncapsulation */
|
|
314
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
339
315
|
elm["s-sc"] = scopeId2;
|
|
340
316
|
elm.classList.add(scopeId2 + "-h");
|
|
341
317
|
}
|
|
@@ -551,8 +527,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
551
527
|
if (this.hasOwnProperty(propName)) {
|
|
552
528
|
newValue = this[propName];
|
|
553
529
|
delete this[propName];
|
|
554
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
555
|
-
this[propName] == newValue) {
|
|
530
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
556
531
|
return;
|
|
557
532
|
} else if (propName == null) {
|
|
558
533
|
const hostRef = getHostRef(this);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-04ccb420.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-04ccb420.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('user-actions.cjs.js', document.baseURI).href));
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'user-actions';
|
|
|
2
2
|
const BUILD = /* user-actions */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: false, vdomClass: false, vdomFunctional: false, vdomKey: false, vdomListener: false, vdomPropOrAttr: false, vdomRef: false, vdomRender: false, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -266,31 +266,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
266
266
|
if (nonce != null) {
|
|
267
267
|
styleElm.setAttribute("nonce", nonce);
|
|
268
268
|
}
|
|
269
|
-
|
|
270
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
271
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
272
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
273
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
274
|
-
} else if ("host" in styleContainerNode) {
|
|
275
|
-
if (supportsConstructableStylesheets) {
|
|
276
|
-
const stylesheet = new CSSStyleSheet();
|
|
277
|
-
stylesheet.replaceSync(style);
|
|
278
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
279
|
-
} else {
|
|
280
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
281
|
-
if (existingStyleContainer) {
|
|
282
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
283
|
-
} else {
|
|
284
|
-
styleContainerNode.prepend(styleElm);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
} else {
|
|
288
|
-
styleContainerNode.append(styleElm);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
292
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
293
|
-
}
|
|
269
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
294
270
|
}
|
|
295
271
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
296
272
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -313,7 +289,7 @@ var attachStyles = (hostRef) => {
|
|
|
313
289
|
const scopeId2 = addStyle(
|
|
314
290
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
315
291
|
cmpMeta);
|
|
316
|
-
if (flags & 10 /* needsScopedEncapsulation */
|
|
292
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
317
293
|
elm["s-sc"] = scopeId2;
|
|
318
294
|
elm.classList.add(scopeId2 + "-h");
|
|
319
295
|
}
|
|
@@ -529,8 +505,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
529
505
|
if (this.hasOwnProperty(propName)) {
|
|
530
506
|
newValue = this[propName];
|
|
531
507
|
delete this[propName];
|
|
532
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
533
|
-
this[propName] == newValue) {
|
|
508
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
534
509
|
return;
|
|
535
510
|
} else if (propName == null) {
|
|
536
511
|
const hostRef = getHostRef(this);
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-2b2bb7fc.js';
|
|
2
|
+
export { s as setNonce } from './index-2b2bb7fc.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
package/dist/esm/user-actions.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-2b2bb7fc.js';
|
|
2
|
+
export { s as setNonce } from './index-2b2bb7fc.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1015,8 +1015,6 @@ export declare namespace JSXBase {
|
|
|
1015
1015
|
autoPlay?: boolean;
|
|
1016
1016
|
autoplay?: boolean | string;
|
|
1017
1017
|
controls?: boolean;
|
|
1018
|
-
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1019
|
-
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1020
1018
|
crossOrigin?: string;
|
|
1021
1019
|
crossorigin?: string;
|
|
1022
1020
|
loop?: boolean;
|
|
@@ -1566,10 +1564,6 @@ export declare namespace JSXBase {
|
|
|
1566
1564
|
onSubmitCapture?: (event: Event) => void;
|
|
1567
1565
|
onInvalid?: (event: Event) => void;
|
|
1568
1566
|
onInvalidCapture?: (event: Event) => void;
|
|
1569
|
-
onBeforeToggle?: (event: Event) => void;
|
|
1570
|
-
onBeforeToggleCapture?: (event: Event) => void;
|
|
1571
|
-
onToggle?: (event: Event) => void;
|
|
1572
|
-
onToggleCapture?: (event: Event) => void;
|
|
1573
1567
|
onLoad?: (event: Event) => void;
|
|
1574
1568
|
onLoadCapture?: (event: Event) => void;
|
|
1575
1569
|
onError?: (event: Event) => void;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>e.set(n.t=t,n),r=(t,e)=>(0,console.error)(t,e),s=new Map,i=new Map,l="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},a=c.document||{head:{}},u={o:0,i:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},f=t=>Promise.resolve(t),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),m=!1,p=[],d=[],w=(t,e)=>n=>{t.push(n),m||(m=!0,e&&4&u.o?b(v):u.raf(v))},y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){r(t)}t.length=0},v=()=>{y(p),y(d),(m=p.length>0)&&u.raf(v)},b=t=>f().then(t),$=w(d,!0);function S(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>k,ok:()=>g,unwrap:()=>E,unwrapErr:()=>M});var g=t=>({isOk:!0,isErr:!1,value:t}),j=t=>({isOk:!1,isErr:!0,value:t});function k(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>g(t))):g(n)}if(t.isErr)return j(t.value);throw"should never get here"}var E=t=>{if(t.isOk)return t.value;throw t.value},M=t=>{if(t.isErr)return t.value;throw t.value},C=new WeakMap,O=t=>"sc-"+t.l,P=(t,e)=>{e&&!t.u&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.u=e)))},x=(t,e)=>{if(t.o|=16,!(4&t.o))return P(t,t.h),$((()=>T(t,e)));t.o|=512},T=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.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 e&&(t.o|=256,t.m&&(t.m.map((([t,e])=>F(n,t,e))),t.m=void 0),o=F(n,"componentWillLoad")),L(o,(()=>R(t,n,e)))},L=(t,e)=>N(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),N=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,R=async(t,e,n)=>{var o;const r=t.$hostElement$,s=r["s-rc"];n&&(t=>{const e=t.p,n=t.$hostElement$,o=e.o,r=((t,e)=>{var n;const o=O(e),r=i.get(o);if(t=11===t.nodeType?t:a,r)if("string"==typeof r){let s,i=C.get(t=t.head||t);if(i||C.set(t,i=new Set),!i.has(o)){{s=a.createElement("style"),s.innerHTML=r;const e=null!=(n=u.v)?n:S(a);null!=e&&s.setAttribute("nonce",e),t.insertBefore(s,t.querySelector("link"))}4&e.o&&(s.innerHTML+=l),i&&i.add(o)}}else t.adoptedStyleSheets.includes(r)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,r]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=r,n.classList.add(r+"-h"))})(t);U(t,e,r),s&&(s.map((t=>t())),r["s-rc"]=void 0);{const e=null!=(o=r["s-p"])?o:[],n=()=>W(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},U=(t,e,n)=>{try{e=e.render(),t.o&=-17,t.o|=2,1&t.p.o?n.shadowRoot.textContent=e:n.textContent=e}catch(e){r(e,t.$hostElement$)}return null},W=t=>{const e=t.$hostElement$,n=t.h;64&t.o||(t.o|=64,H(e),t.$(e),n||A()),t.u&&(t.u(),t.u=void 0),512&t.o&&b((()=>x(t,!1))),t.o&=-517},A=()=>{H(a.documentElement),b((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"user-actions"}});return t.dispatchEvent(e),e})(c)))},F=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){r(t)}},H=t=>t.classList.add("hydrated"),q=(t,e,o)=>{var r,s;const i=t.prototype;if(e.S){const l=Object.entries(null!=(r=e.S)?r:{});if(l.map((([t,[r]])=>{(31&r||2&o&&32&r)&&Object.defineProperty(i,t,{get(){return((t,e)=>n(this).j.get(e))(0,t)},set(o){((t,e,o,r)=>{const s=n(this);if(!s)throw Error(`Couldn't find host element for "${r.l}" 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 i=s.j.get(e),l=s.o,c=s.t;o=((t,e)=>null==t||(t=>"object"==(t=typeof t)||"function"===t)(t)?t:1&e?t+"":t)(o,r.S[e][0]),8&l&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o)||(s.j.set(e,o),c&&2==(18&l)&&x(s,!1))})(0,t,o,e)},configurable:!0,enumerable:!0})})),1&o){const o=new Map;i.attributeChangedCallback=function(t,r,s){u.jmp((()=>{var l;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==r){const n=o.t,i=null==(l=e.k)?void 0:l[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,r,t)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.k)?s:{}),...l.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},D=(t,o={})=>{var f;const m=[],p=o.exclude||[],d=c.customElements,w=a.head,y=w.querySelector("meta[charset]"),v=a.createElement("style"),b=[];let $,g=!0;Object.assign(u,o),u.i=new URL(o.resourcesUrl||"./",a.baseURI).href;let j=!1;if(t.map((t=>{t[1].map((o=>{const l={o:o[0],l:o[1],S:o[2],M:o[3]};4&l.o&&(j=!0),l.S=o[2],l.M=o[3];const c=l.l,a=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,p:n,j:new Map};o.C=new Promise((t=>o.$=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,l),1&l.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.l}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,G(this,t,l.M)),$&&(clearTimeout($),$=null),g?b.push(this):u.jmp((()=>(t=>{if(!(1&u.o)){const e=n(t),o=e.p,l=()=>{};if(1&e.o)G(t,e,o.M),(null==e?void 0:e.t)||(null==e?void 0:e.C)&&e.C.then((()=>{}));else{e.o|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){P(e,e.h=n);break}}o.S&&Object.entries(o.S).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.O){const t=(t=>{const e=t.l.replace(/-/g,"_"),n=t.O;if(!n)return;const o=s.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(s.set(n,t),t[e])),r)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.l}#${e.P}" was not found`);o.isProxied||(q(o,n,2),o.isProxied=!0);const i=()=>{};e.o|=8;try{new o(e)}catch(t){r(t)}e.o&=-9,i()}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=O(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);h&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.h,c=()=>x(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){u.jmp((()=>(async()=>{if(!(1&u.o)){const t=n(this);t.T&&(t.T.map((t=>t())),t.T=void 0),(null==t?void 0:t.t)||(null==t?void 0:t.C)&&t.C.then((()=>{}))}})()))}componentOnReady(){return n(this).C}};l.O=t[0],p.includes(c)||d.get(c)||(m.push(c),d.define(c,q(a,l,1)))}))})),m.length>0&&(j&&(v.textContent+=l),v.textContent+=m.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const t=null!=(f=u.v)?f:S(a);null!=t&&v.setAttribute("nonce",t),w.insertBefore(v,y?y.nextSibling:w.firstChild)}g=!1,b.length?b.map((t=>t.connectedCallback())):u.jmp((()=>$=setTimeout(A,30)))},G=(t,e,n)=>{n&&n.map((([n,o,r])=>{const s=_(t,n),i=V(e,r),l=z(n);u.ael(s,o,i,l),(e.T=e.T||[]).push((()=>u.rel(s,o,i,l)))}))},V=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.m=t.m||[]).push([e,n])}catch(t){r(t)}},_=(t,e)=>8&e?c:t,z=t=>({passive:!!(1&t),capture:!!(2&t)}),B=t=>u.v=t;export{D as b,f as p,o as r,B as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i}from"./p-
|
|
1
|
+
import{r as i}from"./p-8d46bf7a.js";const o={"verification-popup":{emit:"openKycVerificationModal",listen:"closeKycVerificationModal"},"get-temporary-account-consents":{emit:"openTemporaryConsentsModal",listen:"closeTemporaryConsentsModal"},"limits-popup":{emit:"openLugasPopup",listen:"closeLugasPopup"},"video-verification-popup":{emit:"openKycVerificationModal",listen:"closeKycVerificationModal"},"unverified-phone-number":{emit:"openSmsVerificationModal",listen:"closeSmsVerificationModal"},"expired-consents":{emit:"openExpiredConsentsModal",listen:"closeExpiredConsentsModal"}},e=class{constructor(e){i(this,e),this.emitCurrentActionEvent=()=>{window.postMessage({type:o[this.actionStack[0].action].emit})},this.shiftActionStack=()=>{this.actionStack=this.actionStack.slice(1)},this.endpoint=void 0,this.userid=void 0,this.actionStack=[]}handleEvent(i){var e,t;(null===(t=o[null===(e=this.actionStack[0])||void 0===e?void 0:e.action])||void 0===t?void 0:t.listen)===i.data.type&&(this.shiftActionStack(),this.actionStack.length>0&&this.emitCurrentActionEvent())}fetchUserActions(){const i=new URL(`${this.endpoint}/v1/player/${this.userid}/legislation/actions`);return fetch(i.href).then((i=>i.json())).then((i=>{this.actionStack=i.actions.filter((i=>o[i.action])),this.actionStack.length>0&&this.emitCurrentActionEvent()}))}componentWillLoad(){return this.fetchUserActions()}render(){}};e.style=":host{display:block}";export{e as user_actions}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as a,b as e}from"./p-8d46bf7a.js";export{s as setNonce}from"./p-8d46bf7a.js";import{g as t}from"./p-e1255160.js";(()=>{const s=import.meta.url,e={};return""!==s&&(e.resourcesUrl=new URL(".",s).href),a(e)})().then((async a=>(await t(),e([["p-ac1b2491",[[1,"user-actions",{endpoint:[1],userid:[1],actionStack:[32]},[[8,"message","handleEvent"]]]]]],a))));
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,l="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},a=c.document||{head:{}},u={o:0,i:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),h=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,p=[],d=[],y=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&u.o?b(v):u.raf(v))},w=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{w(p),w(d),(m=p.length>0)&&u.raf(v)},b=e=>f().then(e),$=y(d,!0);function S(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>E,map:()=>j,ok:()=>g,unwrap:()=>k,unwrapErr:()=>C});var g=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function j(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>g(e))):g(n)}if(e.isErr)return E(e.value);throw"should never get here"}var k=e=>{if(e.isOk)return e.value;throw e.value},C=e=>{if(e.isErr)return e.value;throw e.value},M=new WeakMap,O=e=>"sc-"+e.l,P=(e,t)=>{t&&!e.u&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.u=t)))},x=(e,t)=>{if(e.o|=16,!(4&e.o))return P(e,e.h),$((()=>A(e,t)));e.o|=512},A=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.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&&(e.o|=256,e.m&&(e.m.map((([e,t])=>U(n,e,t))),e.m=void 0),o=U(n,"componentWillLoad")),H(o,(()=>D(e,n,t)))},H=(e,t)=>T(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),T=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,D=async(e,t,n)=>{var o;const s=e.$hostElement$,r=s["s-rc"];n&&(e=>{const t=e.p,n=e.$hostElement$,o=t.o,s=((e,t)=>{var n;const o=O(t),s=i.get(o);if(e=11===e.nodeType?e:a,s)if("string"==typeof s){let r,i=M.get(e=e.head||e);if(i||M.set(e,i=new Set),!i.has(o)){{r=a.createElement("style"),r.innerHTML=s;const o=null!=(n=u.v)?n:S(a);if(null!=o&&r.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(r,n)}else if("host"in e)if(h){const t=new CSSStyleSheet;t.replaceSync(s),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=s+t.innerHTML:e.prepend(r)}else e.append(r);1&t.o&&"HEAD"!==e.nodeName&&e.insertBefore(r,null)}4&t.o&&(r.innerHTML+=l),i&&i.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(e);L(e,t,s),r&&(r.map((e=>e())),s["s-rc"]=void 0);{const t=null!=(o=s["s-p"])?o:[],n=()=>N(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},L=(e,t,n)=>{try{t=t.render(),e.o&=-17,e.o|=2,1&e.p.o?n.shadowRoot.textContent=t:n.textContent=t}catch(t){s(t,e.$hostElement$)}return null},N=e=>{const t=e.$hostElement$,n=e.h;64&e.o||(e.o|=64,W(t),e.$(t),n||R()),e.u&&(e.u(),e.u=void 0),512&e.o&&b((()=>x(e,!1))),e.o&=-517},R=()=>{W(a.documentElement),b((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"user-actions"}});return e.dispatchEvent(t),t})(c)))},U=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},W=e=>e.classList.add("hydrated"),F=(e,t,o)=>{var s,r;const i=e.prototype;if(t.S){const l=Object.entries(null!=(s=t.S)?s:{});if(l.map((([e,[s]])=>{(31&s||2&o&&32&s)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).j.get(t))(0,e)},set(o){((e,t,o,s)=>{const r=n(this);if(!r)throw Error(`Couldn't find host element for "${s.l}" 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 i=r.j.get(t),l=r.o,c=r.t;o=((e,t)=>null==e||(e=>"object"==(e=typeof e)||"function"===e)(e)?e:1&t?e+"":e)(o,s.S[t][0]),8&l&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o)||(r.j.set(t,o),c&&2==(18&l)&&x(r,!1))})(0,e,o,t)},configurable:!0,enumerable:!0})})),1&o){const o=new Map;i.attributeChangedCallback=function(e,s,r){u.jmp((()=>{var l;const c=o.get(e);if(this.hasOwnProperty(c))r=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==r)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&r!==s){const n=o.t,i=null==(l=t.k)?void 0:l[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,r,s,e)}))}return}}this[c]=(null!==r||"boolean"!=typeof this[c])&&r}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.k)?r:{}),...l.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},q=(e,o={})=>{var f;const m=[],p=o.exclude||[],d=c.customElements,y=a.head,w=y.querySelector("meta[charset]"),v=a.createElement("style"),b=[];let $,g=!0;Object.assign(u,o),u.i=new URL(o.resourcesUrl||"./",a.baseURI).href;let E=!1;if(e.map((e=>{e[1].map((o=>{const l={o:o[0],l:o[1],S:o[2],C:o[3]};4&l.o&&(E=!0),l.S=o[2],l.C=o[3];const c=l.l,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,p:n,j:new Map};o.M=new Promise((e=>o.$=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,l),1&l.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.l}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,G(this,e,l.C)),$&&(clearTimeout($),$=null),g?b.push(this):u.jmp((()=>(e=>{if(!(1&u.o)){const t=n(e),o=t.p,l=()=>{};if(1&t.o)G(e,t,o.C),(null==t?void 0:t.t)||(null==t?void 0:t.M)&&t.M.then((()=>{}));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){P(t,t.h=n);break}}o.S&&Object.entries(o.S).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.O){const e=(e=>{const t=e.l.replace(/-/g,"_"),n=e.O;if(!n)return;const o=r.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.l}#${t.P}" was not found`);o.isProxied||(F(o,n,2),o.isProxied=!0);const i=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,i()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=O(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);h&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.h,c=()=>x(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){u.jmp((()=>(async()=>{if(!(1&u.o)){const e=n(this);e.A&&(e.A.map((e=>e())),e.A=void 0),(null==e?void 0:e.t)||(null==e?void 0:e.M)&&e.M.then((()=>{}))}})()))}componentOnReady(){return n(this).M}};l.O=e[0],p.includes(c)||d.get(c)||(m.push(c),d.define(c,F(a,l,1)))}))})),m.length>0&&(E&&(v.textContent+=l),v.textContent+=m.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(f=u.v)?f:S(a);null!=e&&v.setAttribute("nonce",e),y.insertBefore(v,w?w.nextSibling:y.firstChild)}g=!1,b.length?b.map((e=>e.connectedCallback())):u.jmp((()=>$=setTimeout(R,30)))},G=(e,t,n)=>{n&&n.map((([n,o,s])=>{const r=_(e,n),i=V(t,s),l=z(n);u.ael(r,o,i,l),(t.A=t.A||[]).push((()=>u.rel(r,o,i,l)))}))},V=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.m=e.m||[]).push([t,n])}catch(e){s(e)}},_=(e,t)=>8&t?c:e,z=e=>({passive:!!(1&e),capture:!!(2&e)}),B=e=>u.v=e;export{q as b,f as p,o as r,B as s}
|