@everymatrix/lottery-program-wof 1.77.14 → 1.77.16

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.
@@ -5807,7 +5807,7 @@ const Ws = (e) => new Promise((t, i) => {
5807
5807
  return e;
5808
5808
  };
5809
5809
  /*!
5810
- * decimal.js v10.5.0
5810
+ * decimal.js v10.6.0
5811
5811
  * An arbitrary-precision Decimal type for JavaScript.
5812
5812
  * https://github.com/MikeMcl/decimal.js
5813
5813
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
@@ -16,7 +16,7 @@ PERFORMANCE OF THIS SOFTWARE.
16
16
  ***************************************************************************** */var d2=function(e,t){return d2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,r){i.__proto__=r}||function(i,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(i[n]=r[n])},d2(e,t)};function st(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");d2(e,t);function i(){this.constructor=e}e.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}function g2(e){var t=typeof Symbol=="function"&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p2(e,t){var i=typeof Symbol=="function"&&e[Symbol.iterator];if(!i)return e;var r=i.call(e),n,o=[],s;try{for(;(t===void 0||t-- >0)&&!(n=r.next()).done;)o.push(n.value)}catch(l){s={error:l}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(s)throw s.error}}return o}function m2(e,t,i){if(arguments.length===2)for(var r=0,n=t.length,o;r<n;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||t)}function t0(e){return typeof e=="function"}function _r(e){var t=function(r){Error.call(r),r.stack=new Error().stack},i=e(t);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var $t=_r(function(e){return function(i){e(this),this.message=i?i.length+` errors occurred during unsubscription:
17
17
  `+i.map(function(r,n){return n+1+") "+r.toString()}).join(`
18
18
  `):"",this.name="UnsubscriptionError",this.errors=i}});function A2(e,t){if(e){var i=e.indexOf(t);0<=i&&e.splice(i,1)}}var Gt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,i,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var l=g2(s),a=l.next();!a.done;a=l.next()){var c=a.value;c.remove(this)}}catch(p){t={error:p}}finally{try{a&&!a.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}else s.remove(this);var u=this.initialTeardown;if(t0(u))try{u()}catch(p){o=p instanceof $t?p.errors:[p]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var f=g2(h),d=f.next();!d.done;d=f.next()){var g=d.value;try{ei(g)}catch(p){o=o!=null?o:[],p instanceof $t?o=m2(m2([],p2(o)),p2(p.errors)):o.push(p)}}}catch(p){r={error:p}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}}if(o)throw new $t(o)}},e.prototype.add=function(t){var i;if(t&&t!==this)if(this.closed)ei(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(t)}},e.prototype._hasParent=function(t){var i=this._parentage;return i===t||Array.isArray(i)&&i.includes(t)},e.prototype._addParent=function(t){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(t),i):i?[i,t]:t},e.prototype._removeParent=function(t){var i=this._parentage;i===t?this._parentage=null:Array.isArray(i)&&A2(i,t)},e.prototype.remove=function(t){var i=this._finalizers;i&&A2(i,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Yr=Gt.EMPTY;function Wr(e){return e instanceof Gt||e&&"closed"in e&&t0(e.remove)&&t0(e.add)&&t0(e.unsubscribe)}function ei(e){t0(e)?e():e.unsubscribe()}var Ss={Promise:void 0},Ms={setTimeout:function(e,t){for(var i=[],r=2;r<arguments.length;r++)i[r-2]=arguments[r];return setTimeout.apply(void 0,m2([e,t],p2(i)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Is(e){Ms.setTimeout(function(){throw e})}function ti(){}function Ct(e){e()}var Xr=function(e){st(t,e);function t(i){var r=e.call(this)||this;return r.isStopped=!1,i?(r.destination=i,Wr(i)&&i.add(r)):r.destination=Ts,r}return t.create=function(i,r,n){return new b2(i,r,n)},t.prototype.next=function(i){this.isStopped||this._next(i)},t.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(i){this.destination.next(i)},t.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Gt),Ps=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var i=this.partialObserver;if(i.next)try{i.next(t)}catch(r){gt(r)}},e.prototype.error=function(t){var i=this.partialObserver;if(i.error)try{i.error(t)}catch(r){gt(r)}else gt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(i){gt(i)}},e}(),b2=function(e){st(t,e);function t(i,r,n){var o=e.call(this)||this,s;return t0(i)||!i?s={next:i!=null?i:void 0,error:r!=null?r:void 0,complete:n!=null?n:void 0}:s=i,o.destination=new Ps(s),o}return t}(Xr);function gt(e){Is(e)}function Fs(e){throw e}var Ts={closed:!0,next:ti,error:Fs,complete:ti},Ls=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Os(e){return e}function Hs(e){return e.length===0?Os:e.length===1?e[0]:function(i){return e.reduce(function(r,n){return n(r)},i)}}var ii=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(t,i,r){var n=this,o=Ns(t)?t:new b2(t,i,r);return Ct(function(){var s=n,l=s.operator,a=s.source;o.add(l?l.call(o,a):a?n._subscribe(o):n._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(i){t.error(i)}},e.prototype.forEach=function(t,i){var r=this;return i=ri(i),new i(function(n,o){var s=new b2({next:function(l){try{t(l)}catch(a){o(a),s.unsubscribe()}},error:o,complete:n});r.subscribe(s)})},e.prototype._subscribe=function(t){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(t)},e.prototype[Ls]=function(){return this},e.prototype.pipe=function(){for(var t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return Hs(t)(this)},e.prototype.toPromise=function(t){var i=this;return t=ri(t),new t(function(r,n){var o;i.subscribe(function(s){return o=s},function(s){return n(s)},function(){return r(o)})})},e.create=function(t){return new e(t)},e}();function ri(e){var t;return(t=e!=null?e:Ss.Promise)!==null&&t!==void 0?t:Promise}function Ds(e){return e&&t0(e.next)&&t0(e.error)&&t0(e.complete)}function Ns(e){return e&&e instanceof Xr||Ds(e)&&Wr(e)}var Rs=_r(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Kr=function(e){st(t,e);function t(){var i=e.call(this)||this;return i.closed=!1,i.currentObservers=null,i.observers=[],i.isStopped=!1,i.hasError=!1,i.thrownError=null,i}return t.prototype.lift=function(i){var r=new ni(this,this);return r.operator=i,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new Rs},t.prototype.next=function(i){var r=this;Ct(function(){var n,o;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var s=g2(r.currentObservers),l=s.next();!l.done;l=s.next()){var a=l.value;a.next(i)}}catch(c){n={error:c}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}}})},t.prototype.error=function(i){var r=this;Ct(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=i;for(var n=r.observers;n.length;)n.shift().error(i)}})},t.prototype.complete=function(){var i=this;Ct(function(){if(i._throwIfClosed(),!i.isStopped){i.isStopped=!0;for(var r=i.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var i;return((i=this.observers)===null||i===void 0?void 0:i.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(i){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,i)},t.prototype._subscribe=function(i){return this._throwIfClosed(),this._checkFinalizedStatuses(i),this._innerSubscribe(i)},t.prototype._innerSubscribe=function(i){var r=this,n=this,o=n.hasError,s=n.isStopped,l=n.observers;return o||s?Yr:(this.currentObservers=null,l.push(i),new Gt(function(){r.currentObservers=null,A2(l,i)}))},t.prototype._checkFinalizedStatuses=function(i){var r=this,n=r.hasError,o=r.thrownError,s=r.isStopped;n?i.error(o):s&&i.complete()},t.prototype.asObservable=function(){var i=new ii;return i.source=this,i},t.create=function(i,r){return new ni(i,r)},t}(ii),ni=function(e){st(t,e);function t(i,r){var n=e.call(this)||this;return n.destination=i,n.source=r,n}return t.prototype.next=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.next)===null||n===void 0||n.call(r,i)},t.prototype.error=function(i){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.error)===null||n===void 0||n.call(r,i)},t.prototype.complete=function(){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.complete)===null||r===void 0||r.call(i)},t.prototype._subscribe=function(i){var r,n;return(n=(r=this.source)===null||r===void 0?void 0:r.subscribe(i))!==null&&n!==void 0?n:Yr},t}(Kr),Vr={now:function(){return(Vr.delegate||Date).now()},delegate:void 0},Qs=function(e){st(t,e);function t(i,r,n){i===void 0&&(i=1/0),r===void 0&&(r=1/0),n===void 0&&(n=Vr);var o=e.call(this)||this;return o._bufferSize=i,o._windowTime=r,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,i),o._windowTime=Math.max(1,r),o}return t.prototype.next=function(i){var r=this,n=r.isStopped,o=r._buffer,s=r._infiniteTimeWindow,l=r._timestampProvider,a=r._windowTime;n||(o.push(i),!s&&o.push(l.now()+a)),this._trimBuffer(),e.prototype.next.call(this,i)},t.prototype._subscribe=function(i){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(i),n=this,o=n._infiniteTimeWindow,s=n._buffer,l=s.slice(),a=0;a<l.length&&!i.closed;a+=o?1:2)i.next(l[a]);return this._checkFinalizedStatuses(i),r},t.prototype._trimBuffer=function(){var i=this,r=i._bufferSize,n=i._timestampProvider,o=i._buffer,s=i._infiniteTimeWindow,l=(s?1:2)*r;if(r<1/0&&l<o.length&&o.splice(0,o.length-l),!s){for(var a=n.now(),c=0,u=1;u<o.length&&o[u]<=a;u+=2)c=u;c&&o.splice(0,c+1)}},t}(Kr);const oi=[],si={},Gs=(e,t=0)=>{if(oi.indexOf(e)==-1){const i=new Qs(t);si[e]=i,oi.push(e)}return si[e]};window.emWidgets={topic:Gs};const lt=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function zs(e){v0(e,"svelte-tt4sxe",":host{position:absolute;width:100%}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GiftImage{height:100px}.ErrorCode{color:#b50000;margin-top:10px;font-size:14px;font-weight:500}.MessagePanel{position:fixed;left:50%;transform:translateX(-50%);z-index:300;background:var(--emw--color-gray-transparency-30, rgba(13, 27, 29, 0.9215686275));bottom:0;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;box-sizing:border-box;padding:40px 80px;align-content:center}.MessagePanel .MessagePanelInner{color:var(--emw--color-primary, #d3ffed);display:flex;flex-direction:column;align-items:center;gap:40px;text-align:center}.MessagePanel .MessagePanelInner .MessageTitle{margin:0;color:var(--emw--color-primary, #d3ffed);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--size-medium-2x-minus, 40px);line-height:46px}.MessagePanel .MessagePanelInner .MessageText{margin:0;color:var(--emw--color-primary-variant, #a9ccbe);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-large, 20px);line-height:28px;max-width:295px}.MessagePanel .MessagePanelInner .MessagePanelButton{margin-top:60px;transition:300ms;cursor:pointer;width:280px;height:60px;top:32px;left:103px;padding:10px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c);opacity:0;-webkit-animation:fadeIn 500ms ease 1s forwards;animation:fadeIn 500ms ease 1s forwards}.mobile{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile.MessagePanel .MessagePanelInner{gap:22px}.mobile.MessagePanel .MessagePanelInner .MessagePanelButton{margin-top:78px;width:220px;font-size:var(--emw--font-size-medium, 16px);height:48px}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}")}function li(e){let t,i,r,n,o,s,l,a,c=!["init-failed","show-next","NoNext"].includes(e[5]),u=(e[5]==="normal"||e[5]==="init-failed"||e[5]==="timeout")&&ai(e),h=e[5]==="show-next"&&ci(e),f=e[5]==="NoNext"&&ui(e),d=e[5]==="gift"&&fi(e),g=e[5]==="nogift"&&hi(e),p=e[13][e[2]]&&di(e),B=c&&gi(e);return{c(){t=y("div"),i=y("div"),u&&u.c(),r=N(),h&&h.c(),n=N(),f&&f.c(),o=N(),d&&d.c(),s=N(),g&&g.c(),l=N(),p&&p.c(),a=N(),B&&B.c(),w(i,"class","MessagePanelInner"),w(t,"class","MessagePanel "+(e[11]?"mobile":""))},m(b,k){F(b,t,k),m(t,i),u&&u.m(i,null),m(i,r),h&&h.m(i,null),m(i,n),f&&f.m(i,null),m(i,o),d&&d.m(i,null),m(i,s),g&&g.m(i,null),m(i,l),p&&p.m(i,null),m(i,a),B&&B.m(i,null),e[22](t)},p(b,k){b[5]==="normal"||b[5]==="init-failed"||b[5]==="timeout"?u?u.p(b,k):(u=ai(b),u.c(),u.m(i,r)):u&&(u.d(1),u=null),b[5]==="show-next"?h?h.p(b,k):(h=ci(b),h.c(),h.m(i,n)):h&&(h.d(1),h=null),b[5]==="NoNext"?f?f.p(b,k):(f=ui(b),f.c(),f.m(i,o)):f&&(f.d(1),f=null),b[5]==="gift"?d?d.p(b,k):(d=fi(b),d.c(),d.m(i,s)):d&&(d.d(1),d=null),b[5]==="nogift"?g?g.p(b,k):(g=hi(b),g.c(),g.m(i,l)):g&&(g.d(1),g=null),b[13][b[2]]?p?p.p(b,k):(p=di(b),p.c(),p.m(i,a)):p&&(p.d(1),p=null),k[0]&32&&(c=!["init-failed","show-next","NoNext"].includes(b[5])),c?B?B.p(b,k):(B=gi(b),B.c(),B.m(i,null)):B&&(B.d(1),B=null)},d(b){b&&I(t),u&&u.d(),h&&h.d(),f&&f.d(),d&&d.d(),g&&g.d(),p&&p.d(),B&&B.d(),e[22](null)}}}function ai(e){let t,i,r,n=e[10](`wof.${e[2]}`)+"",o;return{c(){t=y("p"),t.innerHTML=`<img src="${On}" alt="" class="GiftImage"/>`,i=N(),r=y("p"),o=V(n)},m(s,l){F(s,t,l),F(s,i,l),F(s,r,l),m(r,o)},p(s,l){l[0]&1028&&n!==(n=s[10](`wof.${s[2]}`)+"")&&ie(o,n)},d(s){s&&(I(t),I(i),I(r))}}}function ci(e){let t,i=e[10]("wof.ShowNext",{values:{startTime:e[9],name:e[0]}})+"";return{c(){t=y("p")},m(r,n){F(r,t,n),t.innerHTML=i},p(r,n){n[0]&1537&&i!==(i=r[10]("wof.ShowNext",{values:{startTime:r[9],name:r[0]}})+"")&&(t.innerHTML=i)},d(r){r&&I(t)}}}function ui(e){let t,i=e[10]("wof.NoNext")+"";return{c(){t=y("p")},m(r,n){F(r,t,n),t.innerHTML=i,e[21](t)},p(r,n){n[0]&1024&&i!==(i=r[10]("wof.NoNext")+"")&&(t.innerHTML=i)},d(r){r&&I(t),e[21](null)}}}function fi(e){let t,i,r,n,o,s=e[10]("wof.Congratulation")+"",l,a;function c(f,d){return f[2].prizeText?js:Us}let u=c(e),h=u(e);return{c(){t=y("p"),i=y("img"),n=N(),o=y("p"),l=N(),a=y("p"),h.c(),u0(i.src,r=e[8])||w(i,"src",r),w(i,"alt",""),w(i,"class","GiftImage"),w(o,"class","MessageTitle"),w(a,"class","MessageText")},m(f,d){F(f,t,d),m(t,i),F(f,n,d),F(f,o,d),o.innerHTML=s,F(f,l,d),F(f,a,d),h.m(a,null)},p(f,d){d[0]&256&&!u0(i.src,r=f[8])&&w(i,"src",r),d[0]&1024&&s!==(s=f[10]("wof.Congratulation")+"")&&(o.innerHTML=s),u===(u=c(f))&&h?h.p(f,d):(h.d(1),h=u(f),h&&(h.c(),h.m(a,null)))},d(f){f&&(I(t),I(n),I(o),I(l),I(a)),h.d()}}}function Us(e){let t,i=e[10]("wof.Success",{values:{prize:e[2].prize}})+"",r;return{c(){t=new S2(!1),r=_e(),t.a=r},m(n,o){t.m(i,n,o),F(n,r,o)},p(n,o){o[0]&1028&&i!==(i=n[10]("wof.Success",{values:{prize:n[2].prize}})+"")&&t.p(i)},d(n){n&&(I(r),t.d())}}}function js(e){let t,i=e[2].prizeText+"",r;return{c(){t=new S2(!1),r=_e(),t.a=r},m(n,o){t.m(i,n,o),F(n,r,o)},p(n,o){o[0]&4&&i!==(i=n[2].prizeText+"")&&t.p(i)},d(n){n&&(I(r),t.d())}}}function hi(e){let t,i,r,n,o,s,l,a=e[10]("wof.NoPrize")+"",c;function u(d,g){return d[2].prizeText?Zs:Js}let h=u(e),f=h(e);return{c(){t=y("p"),i=y("img"),n=N(),o=y("p"),f.c(),s=N(),l=y("p"),c=V(a),u0(i.src,r=e[7])||w(i,"src",r),w(i,"alt",""),w(i,"class","GiftImage"),w(o,"class","MessageTitle")},m(d,g){F(d,t,g),m(t,i),F(d,n,g),F(d,o,g),f.m(o,null),F(d,s,g),F(d,l,g),m(l,c)},p(d,g){g[0]&128&&!u0(i.src,r=d[7])&&w(i,"src",r),h===(h=u(d))&&f?f.p(d,g):(f.d(1),f=h(d),f&&(f.c(),f.m(o,null))),g[0]&1024&&a!==(a=d[10]("wof.NoPrize")+"")&&ie(c,a)},d(d){d&&(I(t),I(n),I(o),I(s),I(l)),f.d()}}}function Js(e){let t=e[10]("wof.NoPrizeTitle")+"",i;return{c(){i=V(t)},m(r,n){F(r,i,n)},p(r,n){n[0]&1024&&t!==(t=r[10]("wof.NoPrizeTitle")+"")&&ie(i,t)},d(r){r&&I(i)}}}function Zs(e){let t=e[2].prizeText+"",i;return{c(){i=V(t)},m(r,n){F(r,i,n)},p(r,n){n[0]&4&&t!==(t=r[2].prizeText+"")&&ie(i,t)},d(r){r&&I(i)}}}function di(e){let t,i,r=e[13][e[2]]+"",n;return{c(){t=y("p"),i=V("Errorcode: "),n=V(r),w(t,"class","ErrorCode")},m(o,s){F(o,t,s),m(t,i),m(t,n)},p(o,s){s[0]&4&&r!==(r=o[13][o[2]]+"")&&ie(n,r)},d(o){o&&I(t)}}}function gi(e){let t,i,r,n;function o(a,c){return a[5]==="nogift"?Ys:_s}let s=o(e),l=s(e);return{c(){t=y("div"),i=y("button"),l.c(),w(i,"class","MessagePanelButton")},m(a,c){F(a,t,c),m(t,i),l.m(i,null),r||(n=Ye(i,"click",e[12]),r=!0)},p(a,c){s===(s=o(a))&&l?l.p(a,c):(l.d(1),l=s(a),l&&(l.c(),l.m(i,null)))},d(a){a&&I(t),l.d(),r=!1,n()}}}function _s(e){let t=e[10]("wof.OK")+"",i;return{c(){i=V(t)},m(r,n){F(r,i,n)},p(r,n){n[0]&1024&&t!==(t=r[10]("wof.OK")+"")&&ie(i,t)},d(r){r&&I(i)}}}function Ys(e){let t=e[10]("wof.Continue")+"",i;return{c(){i=V(t)},m(r,n){F(r,i,n)},p(r,n){n[0]&1024&&t!==(t=r[10]("wof.Continue")+"")&&ie(i,t)},d(r){r&&I(i)}}}function Ws(e){let t,i=e[4]&&e[6]&&li(e);return{c(){i&&i.c(),t=_e()},m(r,n){i&&i.m(r,n),F(r,t,n)},p(r,n){r[4]&&r[6]?i?i.p(r,n):(i=li(r),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:we,o:we,d(r){r&&I(t),i&&i.d(r)}}}function Xs(e,t,i){let r,n,o,s;U0(e,_0,P=>i(10,s=P));let{r:l=0}=t,{size:a=0}=t,{id:c=void 0}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{mbsource:f=""}=t,{giftimagesrc:d=""}=t,{name:g=""}=t,p,B=!1,b="",k,E=!1,Q=window.navigator.userAgent,O=lt(Q);ot({"wof-private-options-ready":P=>{P.id===c&&i(6,E=!0)},"wof-private-message-open":P=>{P.id===c&&(i(5,b=P.mode),i(2,k=P.modeValue),i(4,B=!0))}});const G=P=>Ee(ye(de({},P),{id:c})),M=()=>{switch(b){case"timeout":i(4,B=!1),G({type:"wof-private-message-retry"});break;default:i(4,B=!1),G({type:"wof-private-message-close"});break}},Y=P=>{const se=new Date(P);return[[se.toLocaleString("en-us",{year:"numeric"}),se.toLocaleString("en-us",{month:"2-digit"}),se.toLocaleString("en-us",{day:"2-digit"})].join("-"),se.toLocaleString("en-GB",{hour:"numeric",minute:"numeric",second:"numeric"})].join(" ")},J={ErrorNetwork:"N0001",ErrorJSON:"N0002",Retry:"N0003",Timeout:"N0004"},z=()=>{new ResizeObserver(se=>{se.map($=>{$.target===p&&$.target.clientHeight/2})}).observe(p)};g0(()=>{});const Z=()=>Ee({type:"OnTCClicked",WofProgramID:c});let x;const D=()=>{x.querySelector("a").addEventListener("click",Z)};function W(P){je[P?"unshift":"push"](()=>{x=P,i(3,x)})}function _(P){je[P?"unshift":"push"](()=>{p=P,i(1,p)})}return e.$$set=P=>{"r"in P&&i(15,l=P.r),"size"in P&&i(16,a=P.size),"id"in P&&i(17,c=P.id),"clientstyling"in P&&i(14,u=P.clientstyling),"clientstylingurl"in P&&i(18,h=P.clientstylingurl),"mbsource"in P&&i(19,f=P.mbsource),"giftimagesrc"in P&&i(20,d=P.giftimagesrc),"name"in P&&i(0,g=P.name)},e.$$.update=()=>{e.$$.dirty[0]&262146&&h&&p&&E0(h,P=>i(14,u=P)),e.$$.dirty[0]&16386&&u&&p&&k0(p,u),e.$$.dirty[0]&524290&&f&&p&&S0(p,`${f}.Style`),e.$$.dirty[0]&2&&p&&z(),e.$$.dirty[0]&32768,e.$$.dirty[0]&4&&i(9,r=(k==null?void 0:k.startTime)&&Y(k==null?void 0:k.startTime)),e.$$.dirty[0]&1048580&&i(8,n=(k==null?void 0:k.prizeSrc)||d||Tn),e.$$.dirty[0]&4&&i(7,o=(k==null?void 0:k.image)||Ln),e.$$.dirty[0]&8&&x&&D()},[g,p,k,x,B,b,E,o,n,r,s,O,M,J,u,l,a,c,h,f,d,W,_]}class Ks extends B0{constructor(t){super(),y0(this,t,Xs,Ws,d0,{r:15,size:16,id:17,clientstyling:14,clientstylingurl:18,mbsource:19,giftimagesrc:20,name:0},zs,[-1,-1])}get r(){return this.$$.ctx[15]}set r(t){this.$$set({r:t}),L()}get size(){return this.$$.ctx[16]}set size(t){this.$$set({size:t}),L()}get id(){return this.$$.ctx[17]}set id(t){this.$$set({id:t}),L()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),L()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),L()}get mbsource(){return this.$$.ctx[19]}set mbsource(t){this.$$set({mbsource:t}),L()}get giftimagesrc(){return this.$$.ctx[20]}set giftimagesrc(t){this.$$set({giftimagesrc:t}),L()}get name(){return this.$$.ctx[0]}set name(t){this.$$set({name:t}),L()}}customElements.define("lottery-program-wof-private-message-panel",C0(Ks,{r:{},size:{},id:{},clientstyling:{},clientstylingurl:{},mbsource:{},giftimagesrc:{},name:{}},[],[],!0));var Be=(e=>(e.Arrow="Arrow",e.Partition="Partition",e))(Be||{}),A0=(e=>(e.DownFromTop="DownFromTop",e.UpFromCenter="UpFromCenter",e.DownFromCenter="DownFromCenter",e.UpFromBottom="UpFromBottom",e))(A0||{}),$e=(e=>(e.remainingTimes="remainingTimes",e.lotteries="lotteries",e.outcome="outcome",e.draw="draw",e))($e||{}),w0=(e=>(e.en="en",e.fr="fr",e.de="de",e.tr="tr",e))(w0||{}),c0=(e=>(e.Play="Play",e.History="History",e.Rules="Rules",e))(c0||{}),w2=(e=>(e[e.clockwise=1]="clockwise",e[e.anticlockwise=-1]="anticlockwise",e[e.outward=0]="outward",e))(w2||{});function Vs(e){v0(e,"svelte-14h7q41",":host{width:100%}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TabBar.mobile{margin:20px 0}.TabBar.mobile .TabList{border-bottom:1px solid var(--emw--color-secondary, #729787)}.TabBar.mobile .TabItem{font-size:var(--emw--font-size-x-small, 12px);line-height:15px}.TabBar.mobile .TabItem.active{border-bottom:1px solid}.TabBar{margin:28px 0}.TabBar .TabList{display:flex;position:relative;border-bottom:2px solid var(--emw--color-secondary, #729787)}.TabBar .TabItem{padding:8px 10px;font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-gray-300, #729787);cursor:pointer;flex-grow:1;text-align:center;background:transparent;border:none;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.TabBar .TabItem.active{color:var(--emw--color-typography, #fff);border-image-source:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);border-image-slice:1;margin-bottom:-1px;border-bottom:2px solid}")}function pi(e,t,i){const r=e.slice();return r[15]=t[i],r}const qs=e=>({}),mi=e=>({}),$s=e=>({}),Ai=e=>({}),e3=e=>({}),bi=e=>({});function wi(e,t,i){const r=e.slice();return r[15]=t[i],r[19]=i,r}function vi(e){let t,i,r=ue(Object.keys(c0)),n=[];for(let o=0;o<r.length;o+=1)n[o]=yi(wi(e,r,o));return{c(){t=y("section"),i=y("ul");for(let o=0;o<n.length;o+=1)n[o].c();w(i,"class","TabList"),w(t,"class","TabBar "+(e[4]?"mobile":""))},m(o,s){F(o,t,s),m(t,i);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(i,null);e[12](t)},p(o,s){if(s&44){r=ue(Object.keys(c0));let l;for(l=0;l<r.length;l+=1){const a=wi(o,r,l);n[l]?n[l].p(a,s):(n[l]=yi(a),n[l].c(),n[l].m(i,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=r.length}},d(o){o&&I(t),Ne(n,o),e[12](null)}}}function yi(e){let t,i,r=e[3](`wof.${e[15]}`)+"",n,o,s,l;function a(){return e[11](e[15])}return{c(){t=y("li"),i=y("span"),n=V(r),o=N(),w(t,"class","TabItem"),Ue(t,"active",e[15]===e[2])},m(c,u){F(c,t,u),m(t,i),m(i,n),m(t,o),s||(l=Ye(t,"click",a),s=!0)},p(c,u){e=c,u&8&&r!==(r=e[3](`wof.${e[15]}`)+"")&&ie(n,r),u&4&&Ue(t,"active",e[15]===e[2])},d(c){c&&I(t),s=!1,l()}}}function Ci(e){let t,i,r,n;const o=[r3,i3,t3],s=[];function l(a,c){return a[15]==="Play"?0:a[15]==="History"?1:a[15]==="Rules"?2:-1}return~(t=l(e))&&(i=s[t]=o[t](e)),{c(){i&&i.c(),r=_e()},m(a,c){~t&&s[t].m(a,c),F(a,r,c),n=!0},p(a,c){i&&i.p(a,c)},i(a){n||(Je(i),n=!0)},o(a){r0(i),n=!1},d(a){a&&I(r),~t&&s[t].d(a)}}}function t3(e){let t;const i=e[10]["tab-Rules"],r=Ft(i,e,e[9],mi);return{c(){r&&r.c()},m(n,o){r&&r.m(n,o),t=!0},p(n,o){r&&r.p&&(!t||o&512)&&Lt(r,i,n,n[9],t?Tt(i,n[9],o,qs):Ot(n[9]),mi)},i(n){t||(Je(r,n),t=!0)},o(n){r0(r,n),t=!1},d(n){r&&r.d(n)}}}function i3(e){let t;const i=e[10]["tab-History"],r=Ft(i,e,e[9],Ai);return{c(){r&&r.c()},m(n,o){r&&r.m(n,o),t=!0},p(n,o){r&&r.p&&(!t||o&512)&&Lt(r,i,n,n[9],t?Tt(i,n[9],o,$s):Ot(n[9]),Ai)},i(n){t||(Je(r,n),t=!0)},o(n){r0(r,n),t=!1},d(n){r&&r.d(n)}}}function r3(e){let t;const i=e[10]["tab-Play"],r=Ft(i,e,e[9],bi);return{c(){r&&r.c()},m(n,o){r&&r.m(n,o),t=!0},p(n,o){r&&r.p&&(!t||o&512)&&Lt(r,i,n,n[9],t?Tt(i,n[9],o,e3):Ot(n[9]),bi)},i(n){t||(Je(r,n),t=!0)},o(n){r0(r,n),t=!1},d(n){r&&r.d(n)}}}function Bi(e){let t,i,r=e[2]===e[15]&&Ci(e);return{c(){r&&r.c(),t=_e()},m(n,o){r&&r.m(n,o),F(n,t,o),i=!0},p(n,o){n[2]===n[15]?r?(r.p(n,o),o&4&&Je(r,1)):(r=Ci(n),r.c(),Je(r,1),r.m(t.parentNode,t)):r&&(br(),r0(r,1,1,()=>{r=null}),wr())},i(n){i||(Je(r),i=!0)},o(n){r0(r),i=!1},d(n){n&&I(t),r&&r.d(n)}}}function n3(e){let t,i,r,n=e[0]==="true"&&vi(e),o=ue(Object.keys(c0)),s=[];for(let a=0;a<o.length;a+=1)s[a]=Bi(pi(e,o,a));const l=a=>r0(s[a],1,1,()=>{s[a]=null});return{c(){n&&n.c(),t=N();for(let a=0;a<s.length;a+=1)s[a].c();i=_e()},m(a,c){n&&n.m(a,c),F(a,t,c);for(let u=0;u<s.length;u+=1)s[u]&&s[u].m(a,c);F(a,i,c),r=!0},p(a,[c]){if(a[0]==="true"?n?n.p(a,c):(n=vi(a),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),c&516){o=ue(Object.keys(c0));let u;for(u=0;u<o.length;u+=1){const h=pi(a,o,u);s[u]?(s[u].p(h,c),Je(s[u],1)):(s[u]=Bi(h),s[u].c(),Je(s[u],1),s[u].m(i.parentNode,i))}for(br(),u=o.length;u<s.length;u+=1)l(u);wr()}},i(a){if(!r){for(let c=0;c<o.length;c+=1)Je(s[c]);r=!0}},o(a){s=s.filter(Boolean);for(let c=0;c<s.length;c+=1)r0(s[c]);r=!1},d(a){a&&(I(t),I(i)),n&&n.d(a),Ne(s,a)}}}function o3(e,t,i){let r;U0(e,_0,b=>i(3,r=b));let{$$slots:n={},$$scope:o}=t,{clientstyling:s=""}=t,{clientstylingurl:l=""}=t,{mbsource:a=""}=t,{isshowhistory:c="true"}=t,u,h=window.navigator.userAgent,f=lt(h),d=c0.Play;const g=b=>{b===c0.History&&Ee({type:"wof-private-message-outcomes"}),b===c0.Play&&Ee({type:"wof-private-bonuses-fetcher"}),i(2,d=b)};g0(()=>{});const p=b=>g(b);function B(b){je[b?"unshift":"push"](()=>{u=b,i(1,u)})}return e.$$set=b=>{"clientstyling"in b&&i(6,s=b.clientstyling),"clientstylingurl"in b&&i(7,l=b.clientstylingurl),"mbsource"in b&&i(8,a=b.mbsource),"isshowhistory"in b&&i(0,c=b.isshowhistory),"$$scope"in b&&i(9,o=b.$$scope)},e.$$.update=()=>{e.$$.dirty&130&&l&&u&&E0(l,b=>i(6,s=b)),e.$$.dirty&66&&s&&u&&k0(u,s),e.$$.dirty&258&&a&&u&&S0(u,`${a}.Style`)},[c,u,d,r,f,g,s,l,a,o,n,p,B]}class s3 extends B0{constructor(t){super(),y0(this,t,o3,n3,d0,{clientstyling:6,clientstylingurl:7,mbsource:8,isshowhistory:0},Vs)}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),L()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),L()}get mbsource(){return this.$$.ctx[8]}set mbsource(t){this.$$set({mbsource:t}),L()}get isshowhistory(){return this.$$.ctx[0]}set isshowhistory(t){this.$$set({isshowhistory:t}),L()}}customElements.define("lottery-program-wof-private-tabs",C0(s3,{clientstyling:{},clientstylingurl:{},mbsource:{},isshowhistory:{}},["tab-Play","tab-History","tab-Rules"],[],!0));const l3=180/Math.PI%360,a3=e=>e*l3,c3=e=>2*Math.PI/e,xi=(e,t)=>{const i=a3(c3(t));return e*i};var i0=(e=>(e.ActiveTickets="ActiveTickets",e.ImplicitTickets="ImplicitTickets",e.RemainingTimes="RemainingTimes",e))(i0||{});const u3=e=>new Promise((t,i)=>{let r=document.createElementNS("http://www.w3.org/2000/svg","image");r.onload=()=>t(r),r.onerror=()=>t(r),r.href.baseVal=e}),f3=e=>e.split(/(?=[A-Z])/).map(t=>t.toLocaleLowerCase()).join("-"),e2=(e,t)=>{Object.keys(t).map(i=>{e.setAttribute(f3(i),t[i])})},pt=e=>Object.keys(e).map(t=>e[t]),h3=e=>ge(exports,null,function*(){const{path:t,params:i={},options:r={}}=e,n=new URL(t);return Object.keys(i).map(o=>{n.searchParams.append(o,i[o])}),yield qr(n,r)}),qr=(i,...r)=>ge(exports,[i,...r],function*(e,t={}){try{const o=yield(yield fetch(e,t)).text();return JSON.parse(o)}catch(n){return n.message}}),v2=()=>{var e=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);return e};/*!
19
- * decimal.js v10.5.0
19
+ * decimal.js v10.6.0
20
20
  * An arbitrary-precision Decimal type for JavaScript.
21
21
  * https://github.com/MikeMcl/decimal.js
22
22
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
@@ -5853,7 +5853,7 @@ const c3 = (e) => new Promise((t, i) => {
5853
5853
  return e;
5854
5854
  };
5855
5855
  /*!
5856
- * decimal.js v10.5.0
5856
+ * decimal.js v10.6.0
5857
5857
  * An arbitrary-precision Decimal type for JavaScript.
5858
5858
  * https://github.com/MikeMcl/decimal.js
5859
5859
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){const n=t=>function(...s){try{return t.apply(this,s)}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(()=>require("../components/LotteryProgramWof-CHzS0d_N.cjs")).then(({default:t})=>{!customElements.get("lottery-program-wof")&&customElements.define("lottery-program-wof",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){const n=t=>function(...s){try{return t.apply(this,s)}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(()=>require("../components/LotteryProgramWof-DPJEaB5Z.cjs")).then(({default:t})=>{!customElements.get("lottery-program-wof")&&customElements.define("lottery-program-wof",t.element)})}
@@ -8,7 +8,7 @@ if (typeof window != "undefined") {
8
8
  throw e;
9
9
  }
10
10
  };
11
- customElements.define = n(customElements.define), import("../components/LotteryProgramWof-Bddv5mRZ.js").then(({ default: t }) => {
11
+ customElements.define = n(customElements.define), import("../components/LotteryProgramWof-OdUofZgC.js").then(({ default: t }) => {
12
12
  !customElements.get("lottery-program-wof") && customElements.define("lottery-program-wof", t.element);
13
13
  });
14
14
  }
@@ -1,4 +1,4 @@
1
- import { L as n } from "../components/LotteryProgramWof-ChmWV-c1.js";
1
+ import { L as n } from "../components/LotteryProgramWof-C02X2lPN.js";
2
2
  function s(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/lottery-program-wof",
3
- "version": "1.77.14",
3
+ "version": "1.77.16",
4
4
  "type": "module",
5
5
  "main": "es2015/lottery-program-wof.cjs",
6
6
  "module": "esnext/lottery-program-wof.js",