@everymatrix/casino-engagement-suite-luckywheel-list 0.1.0 → 1.54.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.
Files changed (27) hide show
  1. package/dist/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.esm.js +1 -1
  2. package/dist/casino-engagement-suite-luckywheel-list/index.esm.js +1 -1
  3. package/dist/casino-engagement-suite-luckywheel-list/{p-d1ea0bae.entry.js → p-06b52e8a.entry.js} +1 -1
  4. package/dist/casino-engagement-suite-luckywheel-list/p-337bb4b1.js +1 -0
  5. package/dist/casino-engagement-suite-luckywheel-list/p-5d77f597.js +2 -0
  6. package/dist/cjs/{casino-engagement-suite-luckywheel-list-726f2e8f.js → casino-engagement-suite-luckywheel-list-7950e3a2.js} +518 -24
  7. package/dist/cjs/casino-engagement-suite-luckywheel-list.cjs.js +2 -2
  8. package/dist/cjs/casino-engagement-suite-luckywheel-list_2.cjs.entry.js +27 -9
  9. package/dist/cjs/{index-3815b8e0.js → index-24ab74aa.js} +166 -71
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/collection-manifest.json +1 -1
  13. package/dist/collection/components/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.js +50 -18
  14. package/dist/esm/{casino-engagement-suite-luckywheel-list-864bcb68.js → casino-engagement-suite-luckywheel-list-56360247.js} +543 -49
  15. package/dist/esm/casino-engagement-suite-luckywheel-list.js +3 -3
  16. package/dist/esm/casino-engagement-suite-luckywheel-list_2.entry.js +27 -9
  17. package/dist/esm/{index-68de30f0.js → index-0beffa82.js} +166 -71
  18. package/dist/esm/index.js +2 -2
  19. package/dist/esm/loader.js +2 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +2 -0
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +2 -0
  22. package/dist/types/components/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.d.ts +1 -1
  23. package/package.json +1 -1
  24. package/dist/casino-engagement-suite-luckywheel-list/p-c227cdc7.js +0 -2
  25. package/dist/casino-engagement-suite-luckywheel-list/p-f007d81f.js +0 -1
  26. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +0 -2
  27. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +0 -2
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-3815b8e0.js');
3
+ const index = require('./index-24ab74aa.js');
4
4
 
5
5
  const DEFAULT_LANGUAGE = 'en';
6
6
  const SUPPORTED_LANGUAGES = ['en'];
@@ -49,13 +49,491 @@ const getTranslations = (url) => {
49
49
  });
50
50
  };
51
51
 
52
- var GeneralAnimationLoadingCczQRHih = {};
53
-
54
- (function (exports) {
55
- var V=Object.defineProperty,z=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var x=(e,t,n)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t)=>{for(var n in t||(t={}))G.call(t,n)&&x(e,n,t[n]);if(N)for(var n of N(t))q.call(t,n)&&x(e,n,t[n]);return e},M=(e,t)=>z(e,F(t));var $=(e,t,n)=>x(e,typeof t!="symbol"?t+"":t,n);var T=(e,t,n)=>new Promise((s,l)=>{var i=o=>{try{u(n.next(o));}catch(r){l(r);}},c=o=>{try{u(n.throw(o));}catch(r){l(r);}},u=o=>o.done?s(o.value):Promise.resolve(o.value).then(i,c);u((n=n.apply(e,t)).next());});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function _(){}function H(e){return e()}function B(){return Object.create(null)}function b(e){e.forEach(H);}function I(e){return typeof e=="function"}function K(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function Q(e){return Object.keys(e).length===0}function W(e,t){e.appendChild(t);}function X(e,t,n){const s=Y(e);if(!s.getElementById(t)){const l=L("style");l.id=t,l.textContent=n,Z(s,l);}}function Y(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Z(e,t){return W(e.head||e,t),t.sheet}function U(e,t,n){e.insertBefore(t,n||null);}function C(e){e.parentNode&&e.parentNode.removeChild(e);}function L(e){return document.createElement(e)}function tt(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n);}function et(e){return Array.from(e.childNodes)}function nt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0;}),t}let j;function g(e){j=e;}const h=[],k=[];let p=[];const R=[],it=Promise.resolve();let v=!1;function st(){v||(v=!0,it.then(y));}function E(e){p.push(e);}const w=new Set;let a=0;function y(){if(a!==0)return;const e=j;do{try{for(;a<h.length;){const t=h[a];a++,g(t),rt(t.$$);}}catch(t){throw h.length=0,a=0,t}for(g(null),h.length=0,a=0;k.length;)k.pop()();for(let t=0;t<p.length;t+=1){const n=p[t];w.has(n)||(w.add(n),n());}p.length=0;}while(h.length);for(;R.length;)R.pop()();v=!1,w.clear(),g(e);}function rt(e){if(e.fragment!==null){e.update(),b(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(E);}}function lt(e){const t=[],n=[];p.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),p=t;}const ct=new Set;function ot(e,t){e&&e.i&&(ct.delete(e),e.i(t));}function ut(e,t,n){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,n),E(()=>{const i=e.$$.on_mount.map(H).filter(I);e.$$.on_destroy?e.$$.on_destroy.push(...i):b(i),e.$$.on_mount=[];}),l.forEach(E);}function dt(e,t){const n=e.$$;n.fragment!==null&&(lt(n.after_update),b(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[]);}function $t(e,t){e.$$.dirty[0]===-1&&(h.push(e),st(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31;}function ft(e,t,n,s,l,i,c=null,u=[-1]){const o=j;g(e);const r=e.$$={fragment:null,ctx:[],props:i,update:_,not_equal:l,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(o?o.$$.context:[])),callbacks:B(),dirty:u,skip_bound:!1,root:t.target||o.$$.root};c&&c(r.root);let f=!1;if(r.ctx=n?n(e,t.props||{},(d,O,...S)=>{const A=S.length?S[0]:O;return r.ctx&&l(r.ctx[d],r.ctx[d]=A)&&(!r.skip_bound&&r.bound[d]&&r.bound[d](A),f&&$t(e,d)),O}):[],r.update(),f=!0,b(r.before_update),r.fragment=s?s(r.ctx):!1,t.target){if(t.hydrate){const d=et(t.target);r.fragment&&r.fragment.l(d),d.forEach(C);}else r.fragment&&r.fragment.c();t.intro&&ot(e.$$.fragment),ut(e,t.target,t.anchor),y();}g(o);}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(t,n,s){super();$(this,"$$ctor");$(this,"$$s");$(this,"$$c");$(this,"$$cn",!1);$(this,"$$d",{});$(this,"$$r",!1);$(this,"$$p_d",{});$(this,"$$l",{});$(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"});}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const l=this.$$c.$on(t,n);this.$$l_u.set(n,l);}super.addEventListener(t,n,s);}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const l=this.$$l_u.get(n);l&&(l(),this.$$l_u.delete(n));}}connectedCallback(){return T(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return ()=>{let c;return {c:function(){c=L("slot"),i!=="default"&&tt(c,"name",i);},m:function(r,f){U(r,c,f);},d:function(r){r&&C(c);}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=nt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const c=this.$$g_p(i.name);c in this.$$d||(this.$$d[c]=m(c,i.value,this.$$p_d,"toProp"));}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:M(P({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const l=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const c=m(i,this.$$d[i],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,c);}this.$$r=!1;};this.$$c.$$.after_update.push(l),l();for(const i in this.$$l)for(const c of this.$$l[i]){const u=this.$$c.$on(i,c);this.$$l_u.set(c,u);}this.$$l={};}})}attributeChangedCallback(t,n,s){var l;this.$$r||(t=this.$$g_p(t),this.$$d[t]=m(t,s,this.$$p_d,"toProp"),(l=this.$$c)==null||l.$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(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function m(e,t,n,s){var i;const l=(i=n[e])==null?void 0:i.type;if(t=l==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(l){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(l){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function at(e,t,n,s,l,i){let c=class extends D{constructor(){super(e,n,l),this.$$p_d=t;}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(c.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(o){var r;o=m(u,o,t),this.$$d[u]=o,(r=this.$$c)==null||r.$set({[u]:o});}});}),s.forEach(u=>{Object.defineProperty(c.prototype,u,{get(){var o;return (o=this.$$c)==null?void 0:o[u]}});}),e.element=c,c}class ht{constructor(){$(this,"$$");$(this,"$$set");}$destroy(){dt(this,1),this.$destroy=_;}$on(t,n){if(!I(n))return _;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const l=s.indexOf(n);l!==-1&&s.splice(l,1);}}$set(t){this.$$set&&!Q(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1);}}const _t="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(_t);function pt(e){X(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");}function gt(e){let t;return {c(){t=L("div"),t.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';},m(n,s){U(n,t,s),e[3](t);},p:_,i:_,o:_,d(n){n&&C(t),e[3](null);}}}function mt(e,t,n){let{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,i;const c=()=>{let r=document.createElement("style");r.innerHTML=s,i.appendChild(r);},u=()=>{let r=new URL(l),f=document.createElement("style");fetch(r.href).then(d=>d.text()).then(d=>{f.innerHTML=d,setTimeout(()=>{i.appendChild(f);},1),setTimeout(()=>{},500);});};function o(r){k[r?"unshift":"push"](()=>{i=r,n(0,i);});}return e.$$set=r=>{"clientstyling"in r&&n(1,s=r.clientstyling),"clientstylingurl"in r&&n(2,l=r.clientstylingurl);},e.$$.update=()=>{e.$$.dirty&3&&s&&i&&c(),e.$$.dirty&5&&l&&i&&u();},[i,s,l,o]}class J extends ht{constructor(t){super(),ft(this,t,mt,gt,K,{clientstyling:1,clientstylingurl:2},pt);}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),y();}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),y();}}at(J,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=J;
56
- }(GeneralAnimationLoadingCczQRHih));
52
+ function a() {
53
+ }
54
+ function N(t) {
55
+ return t();
56
+ }
57
+ function A() {
58
+ return /* @__PURE__ */ Object.create(null);
59
+ }
60
+ function y(t) {
61
+ t.forEach(N);
62
+ }
63
+ function P(t) {
64
+ return typeof t == "function";
65
+ }
66
+ function B(t, e) {
67
+ return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
68
+ }
69
+ function R(t) {
70
+ return Object.keys(t).length === 0;
71
+ }
72
+ function H(t, e) {
73
+ t.appendChild(e);
74
+ }
75
+ function I(t, e, n) {
76
+ const s = U(t);
77
+ if (!s.getElementById(e)) {
78
+ const i = v("style");
79
+ i.id = e, i.textContent = n, D(s, i);
80
+ }
81
+ }
82
+ function U(t) {
83
+ if (!t) return document;
84
+ const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
85
+ return e && /** @type {ShadowRoot} */
86
+ e.host ? (
87
+ /** @type {ShadowRoot} */
88
+ e
89
+ ) : t.ownerDocument;
90
+ }
91
+ function D(t, e) {
92
+ return H(
93
+ /** @type {Document} */
94
+ t.head || t,
95
+ e
96
+ ), e.sheet;
97
+ }
98
+ function M(t, e, n) {
99
+ t.insertBefore(e, n || null);
100
+ }
101
+ function E(t) {
102
+ t.parentNode && t.parentNode.removeChild(t);
103
+ }
104
+ function v(t) {
105
+ return document.createElement(t);
106
+ }
107
+ function G(t, e, n) {
108
+ n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
109
+ }
110
+ function J(t) {
111
+ return Array.from(t.childNodes);
112
+ }
113
+ function V(t) {
114
+ const e = {};
115
+ return t.childNodes.forEach(
116
+ /** @param {Element} node */
117
+ (n) => {
118
+ e[n.slot || "default"] = !0;
119
+ }
120
+ ), e;
121
+ }
122
+ let C;
123
+ function p(t) {
124
+ C = t;
125
+ }
126
+ const f = [], x = [];
127
+ let h = [];
128
+ const S = [], z = /* @__PURE__ */ Promise.resolve();
129
+ let w = !1;
130
+ function F() {
131
+ w || (w = !0, z.then(m));
132
+ }
133
+ function k(t) {
134
+ h.push(t);
135
+ }
136
+ const b = /* @__PURE__ */ new Set();
137
+ let $ = 0;
138
+ function m() {
139
+ if ($ !== 0)
140
+ return;
141
+ const t = C;
142
+ do {
143
+ try {
144
+ for (; $ < f.length; ) {
145
+ const e = f[$];
146
+ $++, p(e), q(e.$$);
147
+ }
148
+ } catch (e) {
149
+ throw f.length = 0, $ = 0, e;
150
+ }
151
+ for (p(null), f.length = 0, $ = 0; x.length; ) x.pop()();
152
+ for (let e = 0; e < h.length; e += 1) {
153
+ const n = h[e];
154
+ b.has(n) || (b.add(n), n());
155
+ }
156
+ h.length = 0;
157
+ } while (f.length);
158
+ for (; S.length; )
159
+ S.pop()();
160
+ w = !1, b.clear(), p(t);
161
+ }
162
+ function q(t) {
163
+ if (t.fragment !== null) {
164
+ t.update(), y(t.before_update);
165
+ const e = t.dirty;
166
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
167
+ }
168
+ }
169
+ function K(t) {
170
+ const e = [], n = [];
171
+ h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
172
+ }
173
+ const Q = /* @__PURE__ */ new Set();
174
+ function W(t, e) {
175
+ t && t.i && (Q.delete(t), t.i(e));
176
+ }
177
+ function X(t, e, n) {
178
+ const { fragment: s, after_update: i } = t.$$;
179
+ s && s.m(e, n), k(() => {
180
+ const l = t.$$.on_mount.map(N).filter(P);
181
+ t.$$.on_destroy ? t.$$.on_destroy.push(...l) : y(l), t.$$.on_mount = [];
182
+ }), i.forEach(k);
183
+ }
184
+ function Y(t, e) {
185
+ const n = t.$$;
186
+ n.fragment !== null && (K(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
187
+ }
188
+ function Z(t, e) {
189
+ t.$$.dirty[0] === -1 && (f.push(t), F(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
190
+ }
191
+ function tt(t, e, n, s, i, l, u = null, c = [-1]) {
192
+ const o = C;
193
+ p(t);
194
+ const r = t.$$ = {
195
+ fragment: null,
196
+ ctx: [],
197
+ // state
198
+ props: l,
199
+ update: a,
200
+ not_equal: i,
201
+ bound: A(),
202
+ // lifecycle
203
+ on_mount: [],
204
+ on_destroy: [],
205
+ on_disconnect: [],
206
+ before_update: [],
207
+ after_update: [],
208
+ context: new Map(e.context || (o ? o.$$.context : [])),
209
+ // everything else
210
+ callbacks: A(),
211
+ dirty: c,
212
+ skip_bound: !1,
213
+ root: e.target || o.$$.root
214
+ };
215
+ u && u(r.root);
216
+ let _ = !1;
217
+ if (r.ctx = n(t, e.props || {}, (d, L, ...j) => {
218
+ const O = j.length ? j[0] : L;
219
+ return r.ctx && i(r.ctx[d], r.ctx[d] = O) && (!r.skip_bound && r.bound[d] && r.bound[d](O), _ && Z(t, d)), L;
220
+ }), r.update(), _ = !0, y(r.before_update), r.fragment = s(r.ctx), e.target) {
221
+ if (e.hydrate) {
222
+ const d = J(e.target);
223
+ r.fragment && r.fragment.l(d), d.forEach(E);
224
+ } else
225
+ r.fragment && r.fragment.c();
226
+ e.intro && W(t.$$.fragment), X(t, e.target, e.anchor), m();
227
+ }
228
+ p(o);
229
+ }
230
+ let T;
231
+ typeof HTMLElement == "function" && (T = class extends HTMLElement {
232
+ /** The Svelte component constructor */
233
+ $$ctor;
234
+ /** Slots */
235
+ $$s;
236
+ /** The Svelte component instance */
237
+ $$c;
238
+ /** Whether or not the custom element is connected */
239
+ $$cn = !1;
240
+ /** Component props data */
241
+ $$d = {};
242
+ /** `true` if currently in the process of reflecting component props back to attributes */
243
+ $$r = !1;
244
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
245
+ $$p_d = {};
246
+ /** @type {Record<string, Function[]>} Event listeners */
247
+ $$l = {};
248
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
249
+ $$l_u = /* @__PURE__ */ new Map();
250
+ constructor(t, e, n) {
251
+ super(), this.$$ctor = t, this.$$s = e, n && this.attachShadow({ mode: "open" });
252
+ }
253
+ addEventListener(t, e, n) {
254
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
255
+ const s = this.$$c.$on(t, e);
256
+ this.$$l_u.set(e, s);
257
+ }
258
+ super.addEventListener(t, e, n);
259
+ }
260
+ removeEventListener(t, e, n) {
261
+ if (super.removeEventListener(t, e, n), this.$$c) {
262
+ const s = this.$$l_u.get(e);
263
+ s && (s(), this.$$l_u.delete(e));
264
+ }
265
+ }
266
+ async connectedCallback() {
267
+ if (this.$$cn = !0, !this.$$c) {
268
+ let t = function(i) {
269
+ return () => {
270
+ let l;
271
+ return {
272
+ c: function() {
273
+ l = v("slot"), i !== "default" && G(l, "name", i);
274
+ },
275
+ /**
276
+ * @param {HTMLElement} target
277
+ * @param {HTMLElement} [anchor]
278
+ */
279
+ m: function(o, r) {
280
+ M(o, l, r);
281
+ },
282
+ d: function(o) {
283
+ o && E(l);
284
+ }
285
+ };
286
+ };
287
+ };
288
+ if (await Promise.resolve(), !this.$$cn || this.$$c)
289
+ return;
290
+ const e = {}, n = V(this);
291
+ for (const i of this.$$s)
292
+ i in n && (e[i] = [t(i)]);
293
+ for (const i of this.attributes) {
294
+ const l = this.$$g_p(i.name);
295
+ l in this.$$d || (this.$$d[l] = g(l, i.value, this.$$p_d, "toProp"));
296
+ }
297
+ for (const i in this.$$p_d)
298
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
299
+ this.$$c = new this.$$ctor({
300
+ target: this.shadowRoot || this,
301
+ props: {
302
+ ...this.$$d,
303
+ $$slots: e,
304
+ $$scope: {
305
+ ctx: []
306
+ }
307
+ }
308
+ });
309
+ const s = () => {
310
+ this.$$r = !0;
311
+ for (const i in this.$$p_d)
312
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
313
+ const l = g(
314
+ i,
315
+ this.$$d[i],
316
+ this.$$p_d,
317
+ "toAttribute"
318
+ );
319
+ l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
320
+ }
321
+ this.$$r = !1;
322
+ };
323
+ this.$$c.$$.after_update.push(s), s();
324
+ for (const i in this.$$l)
325
+ for (const l of this.$$l[i]) {
326
+ const u = this.$$c.$on(i, l);
327
+ this.$$l_u.set(l, u);
328
+ }
329
+ this.$$l = {};
330
+ }
331
+ }
332
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
333
+ // and setting attributes through setAttribute etc, this is helpful
334
+ attributeChangedCallback(t, e, n) {
335
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = g(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
336
+ }
337
+ disconnectedCallback() {
338
+ this.$$cn = !1, Promise.resolve().then(() => {
339
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
340
+ });
341
+ }
342
+ $$g_p(t) {
343
+ return Object.keys(this.$$p_d).find(
344
+ (e) => this.$$p_d[e].attribute === t || !this.$$p_d[e].attribute && e.toLowerCase() === t
345
+ ) || t;
346
+ }
347
+ });
348
+ function g(t, e, n, s) {
349
+ const i = n[t]?.type;
350
+ if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
351
+ return e;
352
+ if (s === "toAttribute")
353
+ switch (i) {
354
+ case "Object":
355
+ case "Array":
356
+ return e == null ? null : JSON.stringify(e);
357
+ case "Boolean":
358
+ return e ? "" : null;
359
+ case "Number":
360
+ return e ?? null;
361
+ default:
362
+ return e;
363
+ }
364
+ else
365
+ switch (i) {
366
+ case "Object":
367
+ case "Array":
368
+ return e && JSON.parse(e);
369
+ case "Boolean":
370
+ return e;
371
+ case "Number":
372
+ return e != null ? +e : e;
373
+ default:
374
+ return e;
375
+ }
376
+ }
377
+ function et(t, e, n, s, i, l) {
378
+ let u = class extends T {
379
+ constructor() {
380
+ super(t, n, i), this.$$p_d = e;
381
+ }
382
+ static get observedAttributes() {
383
+ return Object.keys(e).map(
384
+ (c) => (e[c].attribute || c).toLowerCase()
385
+ );
386
+ }
387
+ };
388
+ return Object.keys(e).forEach((c) => {
389
+ Object.defineProperty(u.prototype, c, {
390
+ get() {
391
+ return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
392
+ },
393
+ set(o) {
394
+ o = g(c, o, e), this.$$d[c] = o, this.$$c?.$set({ [c]: o });
395
+ }
396
+ });
397
+ }), s.forEach((c) => {
398
+ Object.defineProperty(u.prototype, c, {
399
+ get() {
400
+ return this.$$c?.[c];
401
+ }
402
+ });
403
+ }), t.element = /** @type {any} */
404
+ u, u;
405
+ }
406
+ class nt {
407
+ /**
408
+ * ### PRIVATE API
409
+ *
410
+ * Do not use, may change at any time
411
+ *
412
+ * @type {any}
413
+ */
414
+ $$ = void 0;
415
+ /**
416
+ * ### PRIVATE API
417
+ *
418
+ * Do not use, may change at any time
419
+ *
420
+ * @type {any}
421
+ */
422
+ $$set = void 0;
423
+ /** @returns {void} */
424
+ $destroy() {
425
+ Y(this, 1), this.$destroy = a;
426
+ }
427
+ /**
428
+ * @template {Extract<keyof Events, string>} K
429
+ * @param {K} type
430
+ * @param {((e: Events[K]) => void) | null | undefined} callback
431
+ * @returns {() => void}
432
+ */
433
+ $on(e, n) {
434
+ if (!P(n))
435
+ return a;
436
+ const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
437
+ return s.push(n), () => {
438
+ const i = s.indexOf(n);
439
+ i !== -1 && s.splice(i, 1);
440
+ };
441
+ }
442
+ /**
443
+ * @param {Partial<Props>} props
444
+ * @returns {void}
445
+ */
446
+ $set(e) {
447
+ this.$$set && !R(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
448
+ }
449
+ }
450
+ const it = "4";
451
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(it);
452
+ function st(t) {
453
+ I(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
454
+ }
455
+ function rt(t) {
456
+ let e;
457
+ return {
458
+ c() {
459
+ e = v("div"), e.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
460
+ },
461
+ m(n, s) {
462
+ M(n, e, s), t[3](e);
463
+ },
464
+ p: a,
465
+ i: a,
466
+ o: a,
467
+ d(n) {
468
+ n && E(e), t[3](null);
469
+ }
470
+ };
471
+ }
472
+ function lt(t, e, n) {
473
+ let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, l;
474
+ const u = () => {
475
+ let r = document.createElement("style");
476
+ r.innerHTML = s, l.appendChild(r);
477
+ }, c = () => {
478
+ let r = new URL(i), _ = document.createElement("style");
479
+ fetch(r.href).then((d) => d.text()).then((d) => {
480
+ _.innerHTML = d, setTimeout(
481
+ () => {
482
+ l.appendChild(_);
483
+ },
484
+ 1
485
+ ), setTimeout(
486
+ () => {
487
+ },
488
+ 500
489
+ );
490
+ });
491
+ };
492
+ function o(r) {
493
+ x[r ? "unshift" : "push"](() => {
494
+ l = r, n(0, l);
495
+ });
496
+ }
497
+ return t.$$set = (r) => {
498
+ "clientstyling" in r && n(1, s = r.clientstyling), "clientstylingurl" in r && n(2, i = r.clientstylingurl);
499
+ }, t.$$.update = () => {
500
+ t.$$.dirty & /*clientstyling, customStylingContainer*/
501
+ 3 && s && l && u(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
502
+ 5 && i && l && c();
503
+ }, [l, s, i, o];
504
+ }
505
+ class ct extends nt {
506
+ constructor(e) {
507
+ super(), tt(this, e, lt, rt, B, { clientstyling: 1, clientstylingurl: 2 }, st);
508
+ }
509
+ get clientstyling() {
510
+ return this.$$.ctx[1];
511
+ }
512
+ set clientstyling(e) {
513
+ this.$$set({ clientstyling: e }), m();
514
+ }
515
+ get clientstylingurl() {
516
+ return this.$$.ctx[2];
517
+ }
518
+ set clientstylingurl(e) {
519
+ this.$$set({ clientstylingurl: e }), m();
520
+ }
521
+ }
522
+ et(ct, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
57
523
 
58
- if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}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(()=>GeneralAnimationLoadingCczQRHih).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element);});}
524
+ function i(n) {
525
+ return function(...t) {
526
+ try {
527
+ return n.apply(this, t);
528
+ } catch (e) {
529
+ 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"))
530
+ return !1;
531
+ throw e;
532
+ }
533
+ };
534
+ }
535
+ customElements.define = i(customElements.define);
536
+ !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", ct.element);
59
537
 
60
538
  var LuckyWheelRewardType;
61
539
  (function (LuckyWheelRewardType) {
@@ -2314,6 +2792,39 @@ const CasinoEngagementSuiteLuckyWheelList = class {
2314
2792
  constructor(hostRef) {
2315
2793
  index.registerInstance(this, hostRef);
2316
2794
  this.close = index.createEvent(this, "close", 7);
2795
+ /**
2796
+ * Client custom styling via string
2797
+ */
2798
+ this.clientStyling = '';
2799
+ /**
2800
+ * Client custom styling via url
2801
+ */
2802
+ this.clientStylingUrl = '';
2803
+ /**
2804
+ * Language of the widget
2805
+ */
2806
+ this.language = 'en';
2807
+ /**
2808
+ * User's device type
2809
+ */
2810
+ this.device = 'Mobile';
2811
+ /**
2812
+ * List of lucky wheels
2813
+ */
2814
+ this.luckywheels = [];
2815
+ /**
2816
+ * Translations via URL
2817
+ */
2818
+ this.translationUrl = '';
2819
+ this.tooltip = false;
2820
+ this.timers = {};
2821
+ this.limitStylingAppends = false;
2822
+ this.activeTab = 1;
2823
+ this.historyLoading = false;
2824
+ this.luckywheelHistory = {};
2825
+ this.openedHistoryIds = [];
2826
+ this.historyLoaded = false;
2827
+ this.isLoading = false;
2317
2828
  this.setClientStyling = () => {
2318
2829
  let sheet = document.createElement('style');
2319
2830
  sheet.innerHTML = this.clientStyling;
@@ -2366,23 +2877,6 @@ const CasinoEngagementSuiteLuckyWheelList = class {
2366
2877
  }
2367
2878
  this.openedHistoryIds = [...this.openedHistoryIds];
2368
2879
  };
2369
- this.clientStyling = '';
2370
- this.clientStylingUrl = '';
2371
- this.language = 'en';
2372
- this.device = 'Mobile';
2373
- this.luckywheels = [];
2374
- this.endpoint = undefined;
2375
- this.session = undefined;
2376
- this.translationUrl = '';
2377
- this.tooltip = false;
2378
- this.timers = {};
2379
- this.limitStylingAppends = false;
2380
- this.activeTab = 1;
2381
- this.historyLoading = false;
2382
- this.luckywheelHistory = {};
2383
- this.openedHistoryIds = [];
2384
- this.historyLoaded = false;
2385
- this.isLoading = false;
2386
2880
  }
2387
2881
  handleEvent(e) {
2388
2882
  const { type } = e === null || e === void 0 ? void 0 : e.data;
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-3815b8e0.js');
5
+ const index = require('./index-24ab74aa.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.25.1 | 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('casino-engagement-suite-luckywheel-list.cjs.js', document.baseURI).href));
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const casinoEngagementSuiteLuckywheelList = require('./casino-engagement-suite-luckywheel-list-726f2e8f.js');
6
- const index = require('./index-3815b8e0.js');
5
+ const casinoEngagementSuiteLuckywheelList = require('./casino-engagement-suite-luckywheel-list-7950e3a2.js');
6
+ const index = require('./index-24ab74aa.js');
7
7
 
8
8
  const casinoEngagementSuiteProgressBarCss = ":host{display:block;font-family:inherit}:host(.Desktop) .ProgressBarPercent{font-size:var(--emw--font-size-small, 14px);line-height:14px}@keyframes indeterminate{0%{left:-200%;right:100%}60%{left:110%;right:-10%}to{left:110%;right:-10%}}.ProgressBarBackground{height:8px;background-color:var(--emw--color-gray-300, #666178);border-radius:var(--emw--border-radius-small, 4px);position:relative;overflow:hidden}.ProgressBarLine{position:absolute;left:0;top:0;bottom:0;border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));transition:width ease-out 0.3s}.ProgressBarLine.Indeterminate{animation:indeterminate 1s linear infinite}.ProgressBarInfo{margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.ProgressBarPercent{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 12px);line-height:12px}.HidePercent .ProgressBarPercent{display:none}.ProgressBar:not(.Disabled) .ProgressBarPercent{background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ProgressBar.Disabled .ProgressBarPercent{color:var(--emw--color-gray-300, #666178)}.ProgressBar.Disabled .ProgressBarLine{background:var(--emw--color-background-secondary, #474668)}";
9
9
  const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarCss;
@@ -11,6 +11,31 @@ const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarC
11
11
  const CasinoEngagementSuiteProgressBar = class {
12
12
  constructor(hostRef) {
13
13
  index.registerInstance(this, hostRef);
14
+ /**
15
+ * Value for the widget
16
+ */
17
+ this.value = 0;
18
+ /**
19
+ * Shows disabled styles
20
+ */
21
+ this.disabled = false;
22
+ /**
23
+ * Hide percent value
24
+ */
25
+ this.hidePercent = false;
26
+ /**
27
+ * Constantly animates
28
+ */
29
+ this.indeterminate = false;
30
+ /**
31
+ * Client custom styling via string
32
+ */
33
+ this.clientStyling = '';
34
+ /**
35
+ * Client custom styling via url
36
+ */
37
+ this.clientStylingUrl = '';
38
+ this.limitStylingAppends = false;
14
39
  this.setClientStyling = () => {
15
40
  let sheet = document.createElement('style');
16
41
  sheet.innerHTML = this.clientStyling;
@@ -29,13 +54,6 @@ const CasinoEngagementSuiteProgressBar = class {
29
54
  console.log('Error ', err);
30
55
  });
31
56
  };
32
- this.value = 0;
33
- this.disabled = false;
34
- this.hidePercent = false;
35
- this.indeterminate = false;
36
- this.clientStyling = '';
37
- this.clientStylingUrl = '';
38
- this.limitStylingAppends = false;
39
57
  }
40
58
  componentDidRender() {
41
59
  if (!this.limitStylingAppends && this.host) {