@everymatrix/casino-wagering-bonuses-controller 1.54.4 → 1.54.8
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/components/{CasinoWageringBonusProgress-DKxgNPxa.js → CasinoWageringBonusProgress-DLNAzcaH.js} +13 -13
- package/components/CasinoWageringBonusProgress-DRtlhC-y.cjs +1 -0
- package/components/CasinoWageringBonusProgress-Do7NSL_h.js +915 -0
- package/components/{CasinoWageringBonusesController-C-jZYSOq.js → CasinoWageringBonusesController-BdjYCVhW.js} +533 -537
- package/components/CasinoWageringBonusesController-DePtBuQZ.cjs +10 -0
- package/components/CasinoWageringBonusesController-uO_spnZO.js +6632 -0
- package/components/{GeneralAnimationLoading-CJTyxg5w.js → GeneralAnimationLoading-BH7_Pqpq.js} +8 -8
- package/components/GeneralAnimationLoading-CwEu8O3N.js +75 -0
- package/components/GeneralAnimationLoading-DK4e3qMy.cjs +1 -0
- package/es2015/casino-wagering-bonuses-controller.cjs +1 -0
- package/es2015/casino-wagering-bonuses-controller.js +16 -0
- package/esnext/casino-wagering-bonuses-controller.js +1 -1
- package/package.json +1 -1
|
@@ -841,8 +841,8 @@ const Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
841
841
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
842
842
|
export {
|
|
843
843
|
St as A,
|
|
844
|
-
|
|
845
|
-
|
|
844
|
+
ut as B,
|
|
845
|
+
x as C,
|
|
846
846
|
It as D,
|
|
847
847
|
Tt as E,
|
|
848
848
|
Wt as F,
|
|
@@ -855,21 +855,21 @@ export {
|
|
|
855
855
|
v as d,
|
|
856
856
|
Dt as e,
|
|
857
857
|
I as f,
|
|
858
|
-
|
|
859
|
-
|
|
858
|
+
W as g,
|
|
859
|
+
zt as h,
|
|
860
860
|
Ct as i,
|
|
861
|
-
|
|
861
|
+
Bt as j,
|
|
862
862
|
j as k,
|
|
863
|
-
|
|
864
|
-
|
|
863
|
+
X as l,
|
|
864
|
+
q as m,
|
|
865
865
|
P as n,
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
866
|
+
V as o,
|
|
867
|
+
Nt as p,
|
|
868
|
+
at as q,
|
|
869
|
+
y as r,
|
|
870
870
|
tt as s,
|
|
871
|
-
|
|
872
|
-
|
|
871
|
+
Lt as t,
|
|
872
|
+
M as u,
|
|
873
873
|
xt as v,
|
|
874
874
|
nt as w,
|
|
875
875
|
T as x,
|
|
@@ -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);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;
|