@everymatrix/casino-wagering-bonuses-controller 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.
@@ -1,7 +1,8 @@
1
1
  function P() {
2
2
  }
3
3
  function v(t, e) {
4
- for (const n in e) t[n] = e[n];
4
+ for (const n in e)
5
+ t[n] = e[n];
5
6
  return (
6
7
  /** @type {T & S} */
7
8
  t
@@ -53,7 +54,8 @@ function rt(t, e, n) {
53
54
  }
54
55
  }
55
56
  function it(t) {
56
- if (!t) return document;
57
+ if (!t)
58
+ return document;
57
59
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
58
60
  return e && /** @type {ShadowRoot} */
59
61
  e.host ? (
@@ -178,7 +180,8 @@ function A(t) {
178
180
  F = t;
179
181
  }
180
182
  function ht() {
181
- if (!F) throw new Error("Function called outside component initialization");
183
+ if (!F)
184
+ throw new Error("Function called outside component initialization");
182
185
  return F;
183
186
  }
184
187
  function xt(t) {
@@ -209,7 +212,8 @@ function I() {
209
212
  } catch (e) {
210
213
  throw E.length = 0, k = 0, e;
211
214
  }
212
- for (A(null), E.length = 0, k = 0; G.length; ) G.pop()();
215
+ for (A(null), E.length = 0, k = 0; G.length; )
216
+ G.pop()();
213
217
  for (let e = 0; e < C.length; e += 1) {
214
218
  const n = C[e];
215
219
  R.has(n) || (R.add(n), n());
@@ -10,7 +10,7 @@ var q = (t, e, n) => e in t ? ot(t, e, { enumerable: !0, configurable: !0, writa
10
10
  ft.call(e, n) && q(t, n, e[n]);
11
11
  return t;
12
12
  }, Q = (t, e) => ct(t, ut(e));
13
- var h = (t, e, n) => q(t, typeof e != "symbol" ? e + "" : e, n);
13
+ var h = (t, e, n) => (q(t, typeof e != "symbol" ? e + "" : e, n), n);
14
14
  var X = (t, e, n) => new Promise((s, o) => {
15
15
  var r = (u) => {
16
16
  try {
@@ -30,7 +30,8 @@ var X = (t, e, n) => new Promise((s, o) => {
30
30
  function v() {
31
31
  }
32
32
  function O(t, e) {
33
- for (const n in e) t[n] = e[n];
33
+ for (const n in e)
34
+ t[n] = e[n];
34
35
  return (
35
36
  /** @type {T & S} */
36
37
  t
@@ -82,7 +83,8 @@ function _t(t, e, n) {
82
83
  }
83
84
  }
84
85
  function gt(t) {
85
- if (!t) return document;
86
+ if (!t)
87
+ return document;
86
88
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
87
89
  return e && /** @type {ShadowRoot} */
88
90
  e.host ? (
@@ -207,7 +209,8 @@ function F(t) {
207
209
  N = t;
208
210
  }
209
211
  function Pt() {
210
- if (!N) throw new Error("Function called outside component initialization");
212
+ if (!N)
213
+ throw new Error("Function called outside component initialization");
211
214
  return N;
212
215
  }
213
216
  function Yt(t) {
@@ -238,7 +241,8 @@ function T() {
238
241
  } catch (e) {
239
242
  throw C.length = 0, E = 0, e;
240
243
  }
241
- for (F(null), C.length = 0, E = 0; Z.length; ) Z.pop()();
244
+ for (F(null), C.length = 0, E = 0; Z.length; )
245
+ Z.pop()();
242
246
  for (let e = 0; e < P.length; e += 1) {
243
247
  const n = P[e];
244
248
  H.has(n) || (H.add(n), n());
@@ -0,0 +1 @@
1
+ "use strict";var he=Object.defineProperty,_e=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var X=Object.getOwnPropertySymbols;var pe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable;var H=(e,t,n)=>t in e?he(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Y=(e,t)=>{for(var n in t||(t={}))pe.call(t,n)&&H(e,n,t[n]);if(X)for(var n of X(t))be.call(t,n)&&H(e,n,t[n]);return e},Z=(e,t)=>_e(e,ge(t));var h=(e,t,n)=>(H(e,typeof t!="symbol"?t+"":t,n),n);var ee=(e,t,n)=>new Promise((s,o)=>{var r=l=>{try{u(n.next(l))}catch(f){o(f)}},c=l=>{try{u(n.throw(l))}catch(f){o(f)}},u=l=>l.done?s(l.value):Promise.resolve(l.value).then(r,c);u((n=n.apply(e,t)).next())});function k(){}function P(e,t){for(const n in t)e[n]=t[n];return e}function se(e){return e()}function te(){return Object.create(null)}function L(e){e.forEach(se)}function K(e){return typeof e=="function"}function re(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let T;function me(e,t){return e===t?!0:(T||(T=document.createElement("a")),T.href=t,e===T.href)}function ye(e){return Object.keys(e).length===0}function ie(e,...t){if(e==null){for(const s of t)s(void 0);return k}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function we(e,t,n){e.$$.on_destroy.push(ie(t,n))}const ke=["",!0,1,"true","contenteditable"];function y(e,t){e.appendChild(t)}function oe(e,t,n){const s=Ee(e);if(!s.getElementById(t)){const o=D("style");o.id=t,o.textContent=n,Ce(s,o)}}function Ee(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Ce(e,t){return y(e.head||e,t),t.sheet}function Q(e,t,n){e.insertBefore(t,n||null)}function W(e){e.parentNode&&e.parentNode.removeChild(e)}function Pe(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function D(e){return document.createElement(e)}function A(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function F(e){return document.createTextNode(e)}function ve(){return F(" ")}function Oe(){return F("")}function R(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function B(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}const je=["width","height"];function Ae(e,t){const n=Object.getOwnPropertyDescriptors(e.__proto__);for(const s in t)t[s]==null?e.removeAttribute(s):s==="style"?e.style.cssText=t[s]:s==="__value"?e.value=e[s]=t[s]:n[s]&&n[s].set&&je.indexOf(s)===-1?e[s]=t[s]:B(e,s,t[s])}function p(e,t){for(const n in t)B(e,n,t[n])}function Ne(e,t,n){const s=t.toLowerCase();s in e?e[s]=typeof e[s]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:B(e,t,n)}function Fe(e){return Array.from(e.childNodes)}function ce(e,t){t=""+t,e.data!==t&&(e.data=t)}function Me(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function le(e,t,n){~ke.indexOf(n)?Me(e,t):ce(e,t)}let q;function Se(){if(q===void 0){q=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(e){q=!0}}return q}function ze(e,t){getComputedStyle(e).position==="static"&&(e.style.position="relative");const s=D("iframe");s.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),s.setAttribute("aria-hidden","true"),s.tabIndex=-1;const o=Se();let r;return o?(s.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=R(window,"message",c=>{c.source===s.contentWindow&&t()})):(s.src="about:blank",s.onload=()=>{r=R(s.contentWindow,"resize",t),t()}),y(e,s),()=>{(o||r&&s.contentWindow)&&r(),W(s)}}function Le(e,t,n){e.classList.toggle(t,!!n)}function We(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let M;function N(e){M=e}function Be(){if(!M)throw new Error("Function called outside component initialization");return M}function Ie(e){Be().$$.on_mount.push(e)}const v=[],U=[];let j=[];const ne=[],Te=Promise.resolve();let G=!1;function qe(){G||(G=!0,Te.then(z))}function S(e){j.push(e)}const J=new Set;let C=0;function z(){if(C!==0)return;const e=M;do{try{for(;C<v.length;){const t=v[C];C++,N(t),xe(t.$$)}}catch(t){throw v.length=0,C=0,t}for(N(null),v.length=0,C=0;U.length;)U.pop()();for(let t=0;t<j.length;t+=1){const n=j[t];J.has(n)||(J.add(n),n())}j.length=0}while(v.length);for(;ne.length;)ne.pop()();G=!1,J.clear(),N(e)}function xe(e){if(e.fragment!==null){e.update(),L(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(S)}}function Re(e){const t=[],n=[];j.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),j=t}const De=new Set;function Ve(e,t){e&&e.i&&(De.delete(e),e.i(t))}function He(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function O(e,t){const n={},s={},o={$$scope:1};let r=e.length;for(;r--;){const c=e[r],u=t[r];if(u){for(const l in c)l in u||(s[l]=1);for(const l in u)o[l]||(n[l]=u[l],o[l]=1);e[r]=u}else for(const l in c)o[l]=1}for(const c in s)c in n||(n[c]=void 0);return n}function Je(e,t,n){const{fragment:s,after_update:o}=e.$$;s&&s.m(t,n),S(()=>{const r=e.$$.on_mount.map(se).filter(K);e.$$.on_destroy?e.$$.on_destroy.push(...r):L(r),e.$$.on_mount=[]}),o.forEach(S)}function Ue(e,t){const n=e.$$;n.fragment!==null&&(Re(n.after_update),L(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ge(e,t){e.$$.dirty[0]===-1&&(v.push(e),qe(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ue(e,t,n,s,o,r,c=null,u=[-1]){const l=M;N(e);const f=e.$$={fragment:null,ctx:[],props:r,update:k,not_equal:o,bound:te(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:te(),dirty:u,skip_bound:!1,root:t.target||l.$$.root};c&&c(f.root);let _=!1;if(f.ctx=n?n(e,t.props||{},(d,g,...$)=>{const w=$.length?$[0]:g;return f.ctx&&o(f.ctx[d],f.ctx[d]=w)&&(!f.skip_bound&&f.bound[d]&&f.bound[d](w),_&&Ge(e,d)),g}):[],f.update(),_=!0,L(f.before_update),f.fragment=s?s(f.ctx):!1,t.target){if(t.hydrate){const d=Fe(t.target);f.fragment&&f.fragment.l(d),d.forEach(W)}else f.fragment&&f.fragment.c();t.intro&&Ve(e.$$.fragment),Je(e,t.target,t.anchor),z()}N(l)}let fe;typeof HTMLElement=="function"&&(fe=class extends HTMLElement{constructor(t,n,s){super();h(this,"$$ctor");h(this,"$$s");h(this,"$$c");h(this,"$$cn",!1);h(this,"$$d",{});h(this,"$$r",!1);h(this,"$$p_d",{});h(this,"$$l",{});h(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 o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}connectedCallback(){return ee(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(r){return()=>{let c;return{c:function(){c=D("slot"),r!=="default"&&B(c,"name",r)},m:function(f,_){Q(f,c,_)},d:function(f){f&&W(c)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=We(this);for(const r of this.$$s)r in s&&(n[r]=[t(r)]);for(const r of this.attributes){const c=this.$$g_p(r.name);c in this.$$d||(this.$$d[c]=x(c,r.value,this.$$p_d,"toProp"))}for(const r in this.$$p_d)!(r in this.$$d)&&this[r]!==void 0&&(this.$$d[r]=this[r],delete this[r]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Z(Y({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const r in this.$$p_d)if(this.$$d[r]=this.$$c.$$.ctx[this.$$c.$$.props[r]],this.$$p_d[r].reflect){const c=x(r,this.$$d[r],this.$$p_d,"toAttribute");c==null?this.removeAttribute(this.$$p_d[r].attribute||r):this.setAttribute(this.$$p_d[r].attribute||r,c)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const r in this.$$l)for(const c of this.$$l[r]){const u=this.$$c.$on(r,c);this.$$l_u.set(c,u)}this.$$l={}}})}attributeChangedCallback(t,n,s){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=x(t,s,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$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 x(e,t,n,s){var r;const o=(r=n[e])==null?void 0:r.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(o){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(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function ae(e,t,n,s,o,r){let c=class extends fe{constructor(){super(e,n,o),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(l){var f;l=x(u,l,t),this.$$d[u]=l,(f=this.$$c)==null||f.$set({[u]:l})}})}),s.forEach(u=>{Object.defineProperty(c.prototype,u,{get(){var l;return(l=this.$$c)==null?void 0:l[u]}})}),e.element=c,c}class de{constructor(){h(this,"$$");h(this,"$$set")}$destroy(){Ue(this,1),this.$destroy=k}$on(t,n){if(!K(n))return k;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const o=s.indexOf(n);o!==-1&&s.splice(o,1)}}$set(t){this.$$set&&!ye(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ke="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ke);function Qe(e){oe(e,"svelte-1xvg6od","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ProgressText{fill:#FFFFFF;text-anchor:middle;dominant-baseline:middle;font-style:normal;font-weight:700;font-size:22.0351951033px}.ProgressTextMobile{font-size:5.1282051282vw}circle.ring{stroke:#F2F4F6;fill:transparent}circle.ring-progress{transition:0.35s stroke-dashoffset;stroke:#C4C4C4;transform:rotate(-90deg);transform-origin:50% 50%}circle.ring-progress.active{stroke:#00AEEF}circle.center{fill:#C4C4C4}circle.center.active{fill:#00AEEF}")}function Xe(e){let t,n,s,o,r,c,u,l,f;S(e[11]);let _=[{class:"ring",r:e[3],cx:e[9],cy:e[9],"stroke-width":`${e[5]}px`}],d={};for(let i=0;i<_.length;i+=1)d=P(d,_[i]);let g=[{class:`ring ring-progress ${e[1]===e[6].InProgress?"active":""}`,r:e[3],cx:e[9],cy:e[9],"stroke-width":`${e[5]}px`,"stroke-dasharray":`${e[8]} ${e[8]}`,"stroke-dashoffset":e[8]-Number(e[0])/100*e[8]}],$={};for(let i=0;i<g.length;i+=1)$=P($,g[i]);let w=[{class:`center ${e[1]===e[6].InProgress?"active":""}`,r:e[3]-e[5]/2-3,cx:e[9],cy:e[9]}],E={};for(let i=0;i<w.length;i+=1)E=P(E,w[i]);let a=[{x:e[9],y:e[9]},e[7]("ProgressText")],b={};for(let i=0;i<a.length;i+=1)b=P(b,a[i]);let V=[{width:e[4],height:e[4]}],I={};for(let i=0;i<V.length;i+=1)I=P(I,V[i]);return{c(){t=A("svg"),n=A("circle"),s=A("circle"),o=A("circle"),r=A("text"),c=F(e[0]),u=F("%"),p(n,d),p(s,$),p(o,E),p(r,b),p(t,I)},m(i,m){Q(i,t,m),y(t,n),y(t,s),y(t,o),y(t,r),y(r,c),y(r,u),l||(f=R(window,"resize",e[11]),l=!0)},p(i,[m]){p(n,d=O(_,[m&552&&{class:"ring",r:i[3],cx:i[9],cy:i[9],"stroke-width":`${i[5]}px`}])),p(s,$=O(g,[m&875&&{class:`ring ring-progress ${i[1]===i[6].InProgress?"active":""}`,r:i[3],cx:i[9],cy:i[9],"stroke-width":`${i[5]}px`,"stroke-dasharray":`${i[8]} ${i[8]}`,"stroke-dashoffset":i[8]-Number(i[0])/100*i[8]}])),p(o,E=O(w,[m&618&&{class:`center ${i[1]===i[6].InProgress?"active":""}`,r:i[3]-i[5]/2-3,cx:i[9],cy:i[9]}])),m&1&&le(c,i[0],b.contenteditable),p(r,b=O(a,[m&512&&{x:i[9],y:i[9]},m&128&&i[7]("ProgressText")])),p(t,I=O(V,[m&16&&{width:i[4],height:i[4]}]))},i:k,o:k,d(i){i&&W(t),l=!1,f()}}}function Ye(e,t,n){let s,o,r,c,u,l,f,{percent:_=""}=t,{status:d=""}=t;var g;(function(a){a.BeforeClaimed="BeforeClaimed",a.InProgress="active",a.ForfeitedOrCompleted="ForfeitedOrCompleted"})(g||(g={}));let $=200;const w=(a,b="")=>({part:a,class:[a,b].join(" ")});function E(){n(2,$=window.innerWidth)}return e.$$set=a=>{"percent"in a&&n(0,_=a.percent),"status"in a&&n(1,d=a.status)},e.$$.update=()=>{e.$$.dirty&4&&n(10,s=$<=576),e.$$.dirty&1028&&n(4,o=s?$/4:100),e.$$.dirty&16&&n(5,r=o/7.5),e.$$.dirty&48&&n(3,c=o/2-r/2),e.$$.dirty&16&&n(9,u=o/2),e.$$.dirty&8&&n(8,l=c*2*Math.PI),e.$$.dirty&1024&&n(7,f=(a,b="")=>w(`${a}${s?` ${a}Mobile`:""}`,b))},[_,d,$,c,o,r,g,f,l,u,s,E]}class $e extends de{constructor(t){super(),ue(this,t,Ye,Xe,re,{percent:0,status:1},Qe)}get percent(){return this.$$.ctx[0]}set percent(t){this.$$set({percent:t}),z()}get status(){return this.$$.ctx[1]}set status(t){this.$$set({status:t}),z()}}ae($e,{percent:{},status:{}},[],[],!0);const Ze=Object.freeze(Object.defineProperty({__proto__:null,default:$e},Symbol.toStringTag,{value:"Module"}));exports.CasinoWageringBonusProgress_ce=Ze;exports.SvelteComponent=de;exports.add_iframe_resize_listener=ze;exports.add_render_callback=S;exports.append=y;exports.append_styles=oe;exports.assign=P;exports.attr=B;exports.binding_callbacks=U;exports.component_subscribe=we;exports.create_custom_element=ae;exports.destroy_each=Pe;exports.detach=W;exports.element=D;exports.empty=Oe;exports.ensure_array_like=He;exports.flush=z;exports.get_spread_update=O;exports.init=ue;exports.insert=Q;exports.is_function=K;exports.listen=R;exports.noop=k;exports.onMount=Ie;exports.run_all=L;exports.safe_not_equal=re;exports.set_attributes=Ae;exports.set_custom_element_data=Ne;exports.set_data=ce;exports.set_data_maybe_contenteditable=le;exports.space=ve;exports.src_url_equal=me;exports.subscribe=ie;exports.text=F;exports.toggle_class=Le;
@@ -35,7 +35,7 @@ var Qe = (e, t, n) => new Promise((r, i) => {
35
35
  }, u = (f) => f.done ? r(f.value) : Promise.resolve(f.value).then(o, a);
36
36
  u((n = n.apply(e, t)).next());
37
37
  });
38
- import { c as an, S as sn, i as ln, s as Lt, f as Se, a as un, b as fn, e as pe, d as F, g as I, h as _, j as M, l as $e, k, n as Pe, m as P, o as ke, p as X, t as Y, q as E, r as ai, u as Be, v as xt, w as si, x as li, y as ui, z as ft, A as wr, B as qe, C as Oe, D as it, E as fi, F as yn, G as hi } from "./CasinoWageringBonusProgress-BPcqqTQq.js";
38
+ import { c as an, S as sn, i as ln, s as Lt, f as Se, a as un, b as fn, e as pe, d as F, g as I, h as _, j as M, l as $e, k, n as Pe, m as P, o as ke, p as X, t as Y, q as E, r as ai, u as Be, v as xt, w as si, x as li, y as ui, z as ft, A as wr, B as qe, C as Oe, D as it, E as fi, F as yn, G as hi } from "./CasinoWageringBonusProgress-D0dCeXp2.js";
39
39
  if (typeof window != "undefined") {
40
40
  let e = function(t) {
41
41
  return function(...n) {
@@ -48,7 +48,7 @@ if (typeof window != "undefined") {
48
48
  }
49
49
  };
50
50
  };
51
- customElements.define = e(customElements.define), import("./CasinoWageringBonusProgress-BPcqqTQq.js").then((t) => t.H).then(({ default: t }) => {
51
+ customElements.define = e(customElements.define), import("./CasinoWageringBonusProgress-D0dCeXp2.js").then((t) => t.H).then(({ default: t }) => {
52
52
  !customElements.get("casino-wagering-bonus-progress") && customElements.define("casino-wagering-bonus-progress", t.element);
53
53
  });
54
54
  }
@@ -743,7 +743,8 @@ const ze = (e) => window.postMessage(e, window.location.href), Ti = (e) => (n) =
743
743
  if (r)
744
744
  try {
745
745
  const i = JSON.parse(r);
746
- if (!i) return;
746
+ if (!i)
747
+ return;
747
748
  Object.keys(e).map((o) => {
748
749
  if (i.messageType == o) {
749
750
  const a = i, { messageType: u } = a, f = gt(a, ["messageType"]);
@@ -946,7 +947,8 @@ const ze = (e) => window.postMessage(e, window.location.href), Ti = (e) => (n) =
946
947
  }))
947
948
  ), Ii = (e, t, n, r, i) => {
948
949
  const o = n.filter((s) => Hi(s));
949
- if (!o.length) return;
950
+ if (!o.length)
951
+ return;
950
952
  const a = {
951
953
  walletFilter: Ai(o, i),
952
954
  XSessionId: t,
@@ -1100,7 +1102,8 @@ const ze = (e) => window.postMessage(e, window.location.href), Ti = (e) => (n) =
1100
1102
  t.push(Te({}, i));
1101
1103
  }), t;
1102
1104
  }, An = (e, t) => {
1103
- if (!e.wageringProgress) return;
1105
+ if (!e.wageringProgress)
1106
+ return;
1104
1107
  const { currency: n, currentLevelIncrement: r, gap: i, currentLevel: o } = e.wageringProgress, a = Br(n), u = t[o - 1];
1105
1108
  return {
1106
1109
  currencySymbol: a,
@@ -1111,13 +1114,15 @@ const ze = (e) => window.postMessage(e, window.location.href), Ti = (e) => (n) =
1111
1114
  currentLevel: o
1112
1115
  };
1113
1116
  }, In = (e) => {
1114
- if (!e.wageringProgress) return 0;
1117
+ if (!e.wageringProgress)
1118
+ return 0;
1115
1119
  const { currentLevelIncrement: t, gap: n } = e.wageringProgress;
1116
1120
  return (t - n).toFixed(2);
1117
1121
  }, Hn = (e) => Cr(e.status, {
1118
1122
  completed: () => "100",
1119
1123
  current: () => {
1120
- if (!e.wageringProgress) return "0";
1124
+ if (!e.wageringProgress)
1125
+ return "0";
1121
1126
  const { currentLevelIncrement: t, gap: n } = e.wageringProgress, r = Number(di(t, n));
1122
1127
  return String(Math.ceil(r / t * 100));
1123
1128
  }
@@ -1129,10 +1134,11 @@ const ze = (e) => window.postMessage(e, window.location.href), Ti = (e) => (n) =
1129
1134
  textWithLength: `${t.length}/${t.length}`
1130
1135
  }),
1131
1136
  current: () => {
1132
- if (!e.wageringProgress) return {
1133
- current: "0",
1134
- textWithLength: `0/${n}`
1135
- };
1137
+ if (!e.wageringProgress)
1138
+ return {
1139
+ current: "0",
1140
+ textWithLength: `0/${n}`
1141
+ };
1136
1142
  const { currentLevel: r } = e.wageringProgress;
1137
1143
  return {
1138
1144
  text: r,
@@ -1141,7 +1147,8 @@ const ze = (e) => window.postMessage(e, window.location.href), Ti = (e) => (n) =
1141
1147
  }
1142
1148
  });
1143
1149
  }, Rn = (e, t, n, r) => {
1144
- if (!e) return;
1150
+ if (!e)
1151
+ return;
1145
1152
  const i = Tr(e);
1146
1153
  i < 0 ? n() : (r(pi(e)), i < t && setTimeout(() => {
1147
1154
  ze({ type: "OnWageringBonusExpired" });
@@ -1296,11 +1303,26 @@ at.all = function(t, n) {
1296
1303
  };
1297
1304
  var zi = at, Ji = zi;
1298
1305
  const qi = /* @__PURE__ */ Ei(Ji);
1306
+ /*! *****************************************************************************
1307
+ Copyright (c) Microsoft Corporation.
1308
+
1309
+ Permission to use, copy, modify, and/or distribute this software for any
1310
+ purpose with or without fee is hereby granted.
1311
+
1312
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1313
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1314
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1315
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1316
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1317
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1318
+ PERFORMANCE OF THIS SOFTWARE.
1319
+ ***************************************************************************** */
1299
1320
  var Kt = function(e, t) {
1300
1321
  return Kt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1301
1322
  n.__proto__ = r;
1302
1323
  } || function(n, r) {
1303
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
1324
+ for (var i in r)
1325
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
1304
1326
  }, Kt(e, t);
1305
1327
  };
1306
1328
  function Pt(e, t) {
@@ -1316,23 +1338,26 @@ var K = function() {
1316
1338
  return K = Object.assign || function(t) {
1317
1339
  for (var n, r = 1, i = arguments.length; r < i; r++) {
1318
1340
  n = arguments[r];
1319
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1341
+ for (var o in n)
1342
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1320
1343
  }
1321
1344
  return t;
1322
1345
  }, K.apply(this, arguments);
1323
1346
  };
1324
1347
  function Ki(e, t) {
1325
1348
  var n = {};
1326
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
1349
+ for (var r in e)
1350
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
1327
1351
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
1328
1352
  for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
1329
1353
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
1330
1354
  return n;
1331
1355
  }
1332
1356
  function Gt(e, t, n) {
1333
- if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
1334
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
1335
- return e.concat(o || Array.prototype.slice.call(t));
1357
+ if (arguments.length === 2)
1358
+ for (var r = 0, i = t.length, o; r < i; r++)
1359
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
1360
+ return e.concat(o || t);
1336
1361
  }
1337
1362
  function jt(e, t) {
1338
1363
  var n = t && t.cache ? t.cache : no, r = t && t.serializer ? t.serializer : to, i = t && t.strategy ? t.strategy : Qi;
@@ -3158,7 +3183,8 @@ function po(e, t) {
3158
3183
  n += f;
3159
3184
  for (; a-- > 0; )
3160
3185
  n = s + n;
3161
- } else i === "J" ? n += "H" : n += i;
3186
+ } else
3187
+ i === "J" ? n += "H" : n += i;
3162
3188
  }
3163
3189
  return n;
3164
3190
  }
@@ -3761,7 +3787,8 @@ function nn(e) {
3761
3787
  if (delete t.location, Nr(t) || Or(t))
3762
3788
  for (var n in t.options)
3763
3789
  delete t.options[n].location, nn(t.options[n].value);
3764
- else Lr(t) && Fr(t.style) || (Mr(t) || Pr(t)) && Yt(t.style) ? delete t.style.location : Dr(t) && nn(t.children);
3790
+ else
3791
+ Lr(t) && Fr(t.style) || (Mr(t) || Pr(t)) && Yt(t.style) ? delete t.style.location : Dr(t) && nn(t.children);
3765
3792
  });
3766
3793
  }
3767
3794
  function Mo(e, t) {
@@ -5781,7 +5808,8 @@ function Ra(e, t, n) {
5781
5808
  }
5782
5809
  d && (n(1, y = Ri(d.levels)), ne());
5783
5810
  }, fe = () => Qe(this, null, function* () {
5784
- if (!m) return;
5811
+ if (!m)
5812
+ return;
5785
5813
  ze({
5786
5814
  type: "OnWageringBonusJoinRequest",
5787
5815
  bonusID: d.bonusID
@@ -5962,7 +5990,7 @@ if (typeof window != "undefined") {
5962
5990
  }
5963
5991
  };
5964
5992
  };
5965
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-Dkv-KBrh.js").then(({ default: t }) => {
5993
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DIp20cAk.js").then(({ default: t }) => {
5966
5994
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
5967
5995
  });
5968
5996
  }
@@ -6450,7 +6478,8 @@ function Va(e, t, n) {
6450
6478
  WageringProgressUpdate: (w) => {
6451
6479
  n(7, N = N.map((S) => {
6452
6480
  let x = w == null ? void 0 : w.items[S.bonusWalletID];
6453
- if (!x) return S;
6481
+ if (!x)
6482
+ return S;
6454
6483
  const { maxIdObj: Z, maxId: de } = xi(x);
6455
6484
  let { status: Ee, level: B, levelIncrement: ee, gap: we } = Z;
6456
6485
  j[S.id] = de;
@@ -6475,7 +6504,8 @@ function Va(e, t, n) {
6475
6504
  });
6476
6505
  w.success ? (n(7, N = w.items || w.bonuses), Ut(G, fe), c === bt.active && he()) : n(9, W = w.errorMessage);
6477
6506
  } catch (w) {
6478
- if (w.name == "AbortError") return;
6507
+ if (w.name == "AbortError")
6508
+ return;
6479
6509
  console.error(w);
6480
6510
  }
6481
6511
  }), he = () => {
@@ -1,4 +1,4 @@
1
- import { c as en, S as tn, i as nn, s as xt, f as we, a as rn, b as on, e as pe, d as k, g as I, h as _, j as L, l as Ke, k as U, n as Le, m as M, o as De, p as z, t as Q, q as E, r as qr, u as Te, v as wt, w as Kr, x as Yr, y as Qr, z as st, A as pr, B as Ze, C as Ne, D as tt, E as $r, F as cn, G as ei } from "./CasinoWageringBonusProgress-DKxgNPxa.js";
1
+ import { c as en, S as tn, i as nn, s as xt, f as we, a as rn, b as on, e as pe, d as k, g as I, h as _, j as L, l as Ke, k as U, n as Le, m as M, o as De, p as z, t as Q, q as E, r as qr, u as Te, v as wt, w as Kr, x as Yr, y as Qr, z as st, A as pr, B as Ze, C as Ne, D as tt, E as $r, F as cn, G as ei } from "./CasinoWageringBonusProgress-CMEfrdSP.js";
2
2
  if (typeof window < "u") {
3
3
  let e = function(t) {
4
4
  return function(...n) {
@@ -11,7 +11,7 @@ if (typeof window < "u") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = e(customElements.define), import("./CasinoWageringBonusProgress-DKxgNPxa.js").then((t) => t.H).then(({ default: t }) => {
14
+ customElements.define = e(customElements.define), import("./CasinoWageringBonusProgress-CMEfrdSP.js").then((t) => t.H).then(({ default: t }) => {
15
15
  !customElements.get("casino-wagering-bonus-progress") && customElements.define("casino-wagering-bonus-progress", t.element);
16
16
  });
17
17
  }
@@ -707,7 +707,8 @@ const Ve = (e) => window.postMessage(e, window.location.href), ci = (e) => (n) =
707
707
  if (r)
708
708
  try {
709
709
  const i = JSON.parse(r);
710
- if (!i) return;
710
+ if (!i)
711
+ return;
711
712
  Object.keys(e).map((o) => {
712
713
  if (i.messageType == o) {
713
714
  const { messageType: a, ...u } = i;
@@ -910,7 +911,8 @@ const Ve = (e) => window.postMessage(e, window.location.href), ci = (e) => (n) =
910
911
  }))
911
912
  ), bi = (e, t, n, r, i) => {
912
913
  const o = n.filter((s) => _i(s));
913
- if (!o.length) return;
914
+ if (!o.length)
915
+ return;
914
916
  const a = {
915
917
  walletFilter: vi(o, i),
916
918
  XSessionId: t,
@@ -1067,7 +1069,8 @@ const Ve = (e) => window.postMessage(e, window.location.href), ci = (e) => (n) =
1067
1069
  });
1068
1070
  }), t;
1069
1071
  }, yn = (e, t) => {
1070
- if (!e.wageringProgress) return;
1072
+ if (!e.wageringProgress)
1073
+ return;
1071
1074
  const { currency: n, currentLevelIncrement: r, gap: i, currentLevel: o } = e.wageringProgress, a = vr(n), u = t[o - 1];
1072
1075
  return {
1073
1076
  currencySymbol: a,
@@ -1078,13 +1081,15 @@ const Ve = (e) => window.postMessage(e, window.location.href), ci = (e) => (n) =
1078
1081
  currentLevel: o
1079
1082
  };
1080
1083
  }, En = (e) => {
1081
- if (!e.wageringProgress) return 0;
1084
+ if (!e.wageringProgress)
1085
+ return 0;
1082
1086
  const { currentLevelIncrement: t, gap: n } = e.wageringProgress;
1083
1087
  return (t - n).toFixed(2);
1084
1088
  }, wn = (e) => br(e.status, {
1085
1089
  completed: () => "100",
1086
1090
  current: () => {
1087
- if (!e.wageringProgress) return "0";
1091
+ if (!e.wageringProgress)
1092
+ return "0";
1088
1093
  const { currentLevelIncrement: t, gap: n } = e.wageringProgress, r = Number(ni(t, n));
1089
1094
  return String(Math.ceil(r / t * 100));
1090
1095
  }
@@ -1096,10 +1101,11 @@ const Ve = (e) => window.postMessage(e, window.location.href), ci = (e) => (n) =
1096
1101
  textWithLength: `${t.length}/${t.length}`
1097
1102
  }),
1098
1103
  current: () => {
1099
- if (!e.wageringProgress) return {
1100
- current: "0",
1101
- textWithLength: `0/${n}`
1102
- };
1104
+ if (!e.wageringProgress)
1105
+ return {
1106
+ current: "0",
1107
+ textWithLength: `0/${n}`
1108
+ };
1103
1109
  const { currentLevel: r } = e.wageringProgress;
1104
1110
  return {
1105
1111
  text: r,
@@ -1108,7 +1114,8 @@ const Ve = (e) => window.postMessage(e, window.location.href), ci = (e) => (n) =
1108
1114
  }
1109
1115
  });
1110
1116
  }, Tn = (e, t, n, r) => {
1111
- if (!e) return;
1117
+ if (!e)
1118
+ return;
1112
1119
  const i = mr(e);
1113
1120
  i < 0 ? n() : (r(ri(e)), i < t && setTimeout(() => {
1114
1121
  Ve({ type: "OnWageringBonusExpired" });
@@ -1263,11 +1270,26 @@ rt.all = function(t, n) {
1263
1270
  };
1264
1271
  var Oi = rt, Di = Oi;
1265
1272
  const Fi = /* @__PURE__ */ fi(Di);
1273
+ /*! *****************************************************************************
1274
+ Copyright (c) Microsoft Corporation.
1275
+
1276
+ Permission to use, copy, modify, and/or distribute this software for any
1277
+ purpose with or without fee is hereby granted.
1278
+
1279
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1280
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1281
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1282
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1283
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1284
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1285
+ PERFORMANCE OF THIS SOFTWARE.
1286
+ ***************************************************************************** */
1266
1287
  var Xt = function(e, t) {
1267
1288
  return Xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
1268
1289
  n.__proto__ = r;
1269
1290
  } || function(n, r) {
1270
- for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
1291
+ for (var i in r)
1292
+ Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
1271
1293
  }, Xt(e, t);
1272
1294
  };
1273
1295
  function It(e, t) {
@@ -1283,23 +1305,26 @@ var Y = function() {
1283
1305
  return Y = Object.assign || function(t) {
1284
1306
  for (var n, r = 1, i = arguments.length; r < i; r++) {
1285
1307
  n = arguments[r];
1286
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1308
+ for (var o in n)
1309
+ Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
1287
1310
  }
1288
1311
  return t;
1289
1312
  }, Y.apply(this, arguments);
1290
1313
  };
1291
1314
  function ki(e, t) {
1292
1315
  var n = {};
1293
- for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
1316
+ for (var r in e)
1317
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
1294
1318
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
1295
1319
  for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
1296
1320
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
1297
1321
  return n;
1298
1322
  }
1299
1323
  function Ot(e, t, n) {
1300
- if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
1301
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
1302
- return e.concat(o || Array.prototype.slice.call(t));
1324
+ if (arguments.length === 2)
1325
+ for (var r = 0, i = t.length, o; r < i; r++)
1326
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
1327
+ return e.concat(o || t);
1303
1328
  }
1304
1329
  function Dt(e, t) {
1305
1330
  var n = t && t.cache ? t.cache : Xi, r = t && t.serializer ? t.serializer : Vi, i = t && t.strategy ? t.strategy : Gi;
@@ -3125,7 +3150,8 @@ function no(e, t) {
3125
3150
  n += f;
3126
3151
  for (; a-- > 0; )
3127
3152
  n = s + n;
3128
- } else i === "J" ? n += "H" : n += i;
3153
+ } else
3154
+ i === "J" ? n += "H" : n += i;
3129
3155
  }
3130
3156
  return n;
3131
3157
  }
@@ -3728,7 +3754,8 @@ function Yt(e) {
3728
3754
  if (delete t.location, xr(t) || Ar(t))
3729
3755
  for (var n in t.options)
3730
3756
  delete t.options[n].location, Yt(t.options[n].value);
3731
- else Sr(t) && Hr(t.style) || (Br(t) || Cr(t)) && Zt(t.style) ? delete t.style.location : Ir(t) && Yt(t.children);
3757
+ else
3758
+ Sr(t) && Hr(t.style) || (Br(t) || Cr(t)) && Zt(t.style) ? delete t.style.location : Ir(t) && Yt(t.children);
3732
3759
  });
3733
3760
  }
3734
3761
  function wo(e, t) {
@@ -5739,7 +5766,8 @@ function ya(e, t, n) {
5739
5766
  }
5740
5767
  p && (n(1, y = yi(p.levels)), ne());
5741
5768
  }, se = async () => {
5742
- if (!d) return;
5769
+ if (!d)
5770
+ return;
5743
5771
  Ve({
5744
5772
  type: "OnWageringBonusJoinRequest",
5745
5773
  bonusID: p.bonusID
@@ -5920,7 +5948,7 @@ if (typeof window < "u") {
5920
5948
  }
5921
5949
  };
5922
5950
  };
5923
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-CJTyxg5w.js").then(({ default: t }) => {
5951
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-BrUofBqW.js").then(({ default: t }) => {
5924
5952
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
5925
5953
  });
5926
5954
  }
@@ -6408,7 +6436,8 @@ function Ma(e, t, n) {
6408
6436
  WageringProgressUpdate: (w) => {
6409
6437
  n(7, P = P.map((S) => {
6410
6438
  let x = w?.items[S.bonusWalletID];
6411
- if (!x) return S;
6439
+ if (!x)
6440
+ return S;
6412
6441
  const { maxIdObj: J, maxId: de } = gi(x);
6413
6442
  let { status: C, level: j, levelIncrement: oe, gap: Me } = J;
6414
6443
  V[S.id] = de;
@@ -6435,7 +6464,8 @@ function Ma(e, t, n) {
6435
6464
  });
6436
6465
  w.success ? (n(7, P = w.items || w.bonuses), Nt(W, se), c === pt.active && he()) : n(9, X = w.errorMessage);
6437
6466
  } catch (w) {
6438
- if (w.name == "AbortError") return;
6467
+ if (w.name == "AbortError")
6468
+ return;
6439
6469
  console.error(w);
6440
6470
  }
6441
6471
  }, he = () => {