@everymatrix/casino-footer-v2 1.12.0 → 1.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-footer-v2.js +50 -50
- package/dist/casino-footer-v2.js.map +1 -1
- package/package.json +2 -2
- package/src/CasinoFooterV2.svelte +4 -4
- package/src/translations.js +47 -65
package/dist/casino-footer-v2.js
CHANGED
@@ -27,23 +27,23 @@ function M(e){(function(){if(!a)throw new Error("Function called outside compone
|
|
27
27
|
// 3. During afterUpdate, any updated components will NOT have their afterUpdate
|
28
28
|
// callback called a second time; the seen_callbacks set, outside the flush()
|
29
29
|
// function, guarantees this behavior.
|
30
|
-
const
|
30
|
+
const C=new Set;let B=0;// Do *not* move this inside the flush() function
|
31
31
|
function N(){
|
32
32
|
// Do not reenter flush while dirty components are updated, as this can
|
33
33
|
// result in an infinite loop. Instead, let the inner flush handle it.
|
34
34
|
// Reentrancy is ok afterwards for bindings etc.
|
35
|
-
if(0!==
|
35
|
+
if(0!==B)return;const e=a;do{
|
36
36
|
// first, call beforeUpdate functions
|
37
37
|
// and update components
|
38
|
-
try{for(;
|
38
|
+
try{for(;B<F.length;){const e=F[B];B++,D(e),R(e.$$)}}catch(e){
|
39
39
|
// reset dirty state to not end up in a deadlocked state and then rethrow
|
40
|
-
throw F.length=0,
|
40
|
+
throw F.length=0,B=0,e}for(D(null),F.length=0,B=0;I.length;)I.pop()();
|
41
41
|
// then, once components are updated, call
|
42
42
|
// afterUpdate functions. This may cause
|
43
43
|
// subsequent updates...
|
44
|
-
for(let e=0;e<$.length;e+=1){const t=$[e];
|
44
|
+
for(let e=0;e<$.length;e+=1){const t=$[e];C.has(t)||(
|
45
45
|
// ...so guard against infinite loops
|
46
|
-
|
46
|
+
C.add(t),t())}$.length=0}while(F.length);for(;A.length;)A.pop()();P=!1,C.clear(),D(e)}function R(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(H)}}
|
47
47
|
/**
|
48
48
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
49
49
|
*/const Y=new Set;const U="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function G(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];$.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),$=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
|
@@ -123,7 +123,7 @@ var pe=self.fetch.bind(self),me=function(e,t){return me=Object.setPrototypeOf||{
|
|
123
123
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
124
124
|
PERFORMANCE OF THIS SOFTWARE.
|
125
125
|
***************************************************************************** */
|
126
|
-
/* global Reflect, Promise */function ge(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ye(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)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 be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function _e(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function ve(e){return"function"==typeof e}function we(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ke=we((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ee(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Te=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=ye(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(ve(l))try{l()}catch(e){i=e instanceof ke?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ye(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Le(d)}catch(e){i=null!=i?i:[],e instanceof ke?i=_e(_e([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new ke(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Le(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Se=Te.EMPTY;function xe(e){return e instanceof Te||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function Le(e){ve(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Me={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Me.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],be(n))):setTimeout.apply(void 0,_e([e,t],be(n)))},clearTimeout:function(e){var t=Me.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Fe(){}var Ie=null;function $e(e){if(De.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,i=n.error;if(Ie=null,r)throw i}}else e()}var Ae=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,xe(t)&&t.add(n)):n.destination=Ne,n}return ge(t,e),t.create=function(e,t,n){return new Be(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},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(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Te),Oe=Function.prototype.bind;function Pe(e,t){return Oe.call(e,t)}var He=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ce(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ce(e)}else Ce(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ce(e)}},e}(),Be=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;ve(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&De.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Pe(t.next,o),error:t.error&&Pe(t.error,o),complete:t.complete&&Pe(t.complete,o)}):i=t;return s.destination=new He(i),s}return ge(t,e),t}(Ae);function Ce(e){var t;t=e,Me.setTimeout((function(){throw t}))}var Ne={closed:!0,next:Fe,error:function(e){throw e},complete:Fe},Re="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var Ue=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof Ae||function(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}(r)&&xe(r)?e:new Be(e,t,n);return $e((function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Ge(t))((function(t,r){var i=new Be({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Re]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ye:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Ge(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Ge(e){var t;return null!==(t=null!=e?e:De.Promise)&&void 0!==t?t:Promise}var je=we((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ge(t,e),t.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;$e((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ye(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;$e((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;$e((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?Se:(this.currentObservers=null,o.push(e),new Te((function(){t.currentObservers=null,Ee(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Ue;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ue),We=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ge(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Se},t}(Ve),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ge(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(Ve);let Xe=[],Ke={};
|
126
|
+
/* global Reflect, Promise */function ge(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ye(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)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 be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function _e(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function ve(e){return"function"==typeof e}function we(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var ke=we((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ee(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Te=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=ye(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(ve(l))try{l()}catch(e){i=e instanceof ke?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ye(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Le(d)}catch(e){i=null!=i?i:[],e instanceof ke?i=_e(_e([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new ke(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Le(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Se=Te.EMPTY;function xe(e){return e instanceof Te||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function Le(e){ve(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Me={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Me.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],be(n))):setTimeout.apply(void 0,_e([e,t],be(n)))},clearTimeout:function(e){var t=Me.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Fe(){}var Ie=null;function $e(e){if(De.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,i=n.error;if(Ie=null,r)throw i}}else e()}var Ae=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,xe(t)&&t.add(n)):n.destination=Ne,n}return ge(t,e),t.create=function(e,t,n){return new Ce(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},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(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Te),Oe=Function.prototype.bind;function Pe(e,t){return Oe.call(e,t)}var He=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Be(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Be(e)}else Be(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Be(e)}},e}(),Ce=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;ve(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&De.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Pe(t.next,o),error:t.error&&Pe(t.error,o),complete:t.complete&&Pe(t.complete,o)}):i=t;return s.destination=new He(i),s}return ge(t,e),t}(Ae);function Be(e){var t;t=e,Me.setTimeout((function(){throw t}))}var Ne={closed:!0,next:Fe,error:function(e){throw e},complete:Fe},Re="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var Ue=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,o=(r=e)&&r instanceof Ae||function(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}(r)&&xe(r)?e:new Ce(e,t,n);return $e((function(){var e=i,t=e.operator,n=e.source;o.add(t?t.call(o,n):n?i._subscribe(o):i._trySubscribe(o))})),o},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=Ge(t))((function(t,r){var i=new Ce({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Re]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ye:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Ge(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function Ge(e){var t;return null!==(t=null!=e?e:De.Promise)&&void 0!==t?t:Promise}var je=we((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ge(t,e),t.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;$e((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ye(t.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(e)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;$e((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;$e((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?Se:(this.currentObservers=null,o.push(e),new Te((function(){t.currentObservers=null,Ee(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new Ue;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ue),We=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ge(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Se},t}(Ve),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ge(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,o=(i?1:2)*t;if(t<1/0&&o<r.length&&r.splice(0,r.length-o),!i){for(var s=n.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(Ve);let Xe=[],Ke={};
|
127
127
|
/**
|
128
128
|
* @name topic
|
129
129
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
@@ -307,12 +307,12 @@ throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `
|
|
307
307
|
// @generated from regex-gen.ts
|
308
308
|
var Ft=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Pt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace($t,(function(e,n,r){
|
309
309
|
// @@@ case
|
310
|
-
return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Ht(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function
|
310
|
+
return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Ht(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ct(e){
|
311
311
|
// Engineering
|
312
|
-
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function
|
312
|
+
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bt(e){var t=Ht(e);return t||{}}
|
313
313
|
/**
|
314
314
|
* https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
|
315
|
-
*/function Nt(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=pt(pt(pt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return pt(pt({},e),
|
315
|
+
*/function Nt(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=pt(pt(pt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return pt(pt({},e),Bt(t))}),{}));continue;case"engineering":t=pt(pt(pt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return pt(pt({},e),Bt(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
|
316
316
|
// https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
|
317
317
|
case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;
|
318
318
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
@@ -328,7 +328,7 @@ return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDi
|
|
328
328
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
|
329
329
|
"w"===o?t=pt(pt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=pt(pt({},t),Pt(o)))}
|
330
330
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
|
331
|
-
else if($t.test(i.stem))t=pt(pt({},t),Pt(i.stem));else{var s=Ht(i.stem);s&&(t=pt(pt({},t),s));var a=
|
331
|
+
else if($t.test(i.stem))t=pt(pt({},t),Pt(i.stem));else{var s=Ht(i.stem);s&&(t=pt(pt({},t),s));var a=Ct(i.stem);a&&(t=pt(pt({},t),a))}}return t}
|
332
332
|
// @generated from time-data-gen.ts
|
333
333
|
// prettier-ignore
|
334
334
|
var Rt,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
|
@@ -631,12 +631,12 @@ this.formats=On(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.
|
|
631
631
|
// Default format options used as the prototype of the `formats` provided to the
|
632
632
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
633
633
|
// and Intl.DateTimeFormat instances.
|
634
|
-
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),
|
634
|
+
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),Cn=Hn;
|
635
635
|
/*
|
636
636
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
637
637
|
Copyrights licensed under the New BSD License.
|
638
638
|
See the accompanying LICENSE file for terms.
|
639
|
-
*/const
|
639
|
+
*/const Bn={},Nn=(e,t,n)=>n?(t in Bn||(Bn[t]={}),e in Bn[t]||(Bn[t][e]=n),n):n,Rn=(e,t)=>{if(null==t)return;if(t in Bn&&e in Bn[t])return Bn[t][e];const n=rr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Nn(e,t,i)}};let Yn;const Un=Je({});function Gn(e){return e in Yn}function jn(e,t){if(!Gn(e))return null;const n=function(e){return Yn[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Vn(e,...t){delete Bn[e],Un.update((n=>(n[e]=lt.all([n[e]||{},...t]),n)))}Qe([Un],(([e])=>Object.keys(e))),Un.subscribe((e=>Yn=e));const Wn={};function zn(e){return Wn[e]}function Zn(e){return null!=e&&rr(e).some((e=>{var t;return null===(t=zn(e))||void 0===t?void 0:t.size}))}const Xn={};function Kn(e){if(!Zn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return rr(e).map((e=>{const t=zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Vn(e,...t)))}(e,t)))).then((()=>{if(Zn(e))return Kn(e);delete Xn[e]})),Xn[e]}const qn={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Jn(){return qn}const Qn=Je(!1);let er;const tr=Je(null);function nr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function rr(e,t=Jn().fallbackLocale){const n=nr(e);return t?[...new Set([...n,...nr(t)])]:n}function ir(){return null!=er?er:void 0}tr.subscribe((e=>{er=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const or={...tr,set:e=>{if(e&&function(e){if(null==e)return;const t=rr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Gn(n))return n}}(e)&&Zn(e)){const{loadingDelay:t}=Jn();let n;return"undefined"!=typeof window&&null!=ir()&&t?n=window.setTimeout((()=>Qn.set(!0)),t):Qn.set(!0),Kn(e).then((()=>{tr.set(e)})).finally((()=>{clearTimeout(n),Qn.set(!1)}))}return tr.set(e)}},sr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},ar=(e,t)=>{const{formats:n}=Jn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},lr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=ar("number",t)),new Intl.NumberFormat(e,n)})),cr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=ar("date",t):0===Object.keys(n).length&&(n=ar("date","short")),new Intl.DateTimeFormat(e,n)})),ur=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=ar("time",t):0===Object.keys(n).length&&(n=ar("time","short")),new Intl.DateTimeFormat(e,n)})),hr=sr(((e,t=ir())=>new Cn(e,t,Jn().formats,{ignoreTag:Jn().ignoreTag}))),dr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=ir(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Rn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(o=null!==(i=null===(r=(n=Jn()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return u;let h=u;try{h=hr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},fr=(e,t)=>(({locale:e=ir(),...t}={})=>ur({locale:e,...t}))(t).format(e),pr=(e,t)=>(({locale:e=ir(),...t}={})=>cr({locale:e,...t}))(t).format(e),mr=(e,t)=>(({locale:e=ir(),...t}={})=>lr({locale:e,...t}))(t).format(e),gr=(e,t=ir())=>Rn(e,t),yr=Qe([or,Un],(()=>dr));Qe([or],(()=>fr)),Qe([or],(()=>pr)),Qe([or],(()=>mr)),Qe([or,Un],(()=>gr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Xe.indexOf(e)){let n=new Ze(t);Ke[e]=n,Xe.push(e)}return Ke[e]}};
|
640
640
|
/**
|
641
641
|
* @name isMobile
|
642
642
|
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
@@ -683,15 +683,15 @@ function $r(e){let t,n,r,i,o,s,a,c,u,h,m=/*helperlinktitle*/e[11]&&Hr(e);return{
|
|
683
683
|
// (85:26)
|
684
684
|
function Ar(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*vendorimage*/e[7])||k(r,"src",i),k(r,"title",o=/*vendortitle*/e[8]||/*vendorurl*/e[6]),k(n,"class",s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*vendorurl*/e[6]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*vendorurl*/+e[6]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem GameVendorItem"),k(t,"part","FooterItem GameVendorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*vendorimage*/128&t[0]&&!l(r.src,i=/*vendorimage*/e[7])&&k(r,"src",i),/*vendortitle, vendorurl*/320&t[0]&&o!==(o=/*vendortitle*/e[8]||/*vendorurl*/e[6])&&k(r,"title",o),/*vendorurl*/64&t[0]&&s!==(s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*vendorurl*/64&t[0]&&a!==(a=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*linktype, vendorurl, baseurl, lang*/6815808&t[0]&&c!==(c=/*linktype*/e[19]?/*vendorurl*/e[6]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*vendorurl*/+e[6])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
|
685
685
|
// (73:27)
|
686
|
-
function Or(e){let t,n,r,i,o,s,a,c,u,h=/*paymenttitle*/e[5]&&
|
686
|
+
function Or(e){let t,n,r,i,o,s,a,c,u,h=/*paymenttitle*/e[5]&&Cr(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*paymentimage*/e[4])||k(r,"src",i),k(r,"title",o=/*paymenttitle*/e[5]||/*paymenturl*/e[3]),k(n,"class",a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*paymenturl*/e[3]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*paymenturl*/+e[3]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem PaymentItem"),k(t,"part","FooterItem PaymentItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),h&&h.m(n,null)},p(e,t){/*paymentimage*/16&t[0]&&!l(r.src,i=/*paymentimage*/e[4])&&k(r,"src",i),/*paymenttitle, paymenturl*/40&t[0]&&o!==(o=/*paymenttitle*/e[5]||/*paymenturl*/e[3])&&k(r,"title",o),/*paymenttitle*/e[5]?h?h.p(e,t):(h=Cr(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*paymenttitle, paymenturl*/40&t[0]&&a!==(a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*paymenttitle, paymenturl*/40&t[0]&&c!==(c=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, paymenturl, baseurl, lang*/6815752&t[0]&&u!==(u=/*linktype*/e[19]?/*paymenturl*/e[3]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*paymenturl*/+e[3])&&k(n,"href",u),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t),h&&h.d()}}}
|
687
687
|
// (61:4) {#if sponsorimage}
|
688
|
-
function Pr(e){let t,n,r,i,o,s,a,c,u,h=/*sponsortitle*/e[2]&&
|
688
|
+
function Pr(e){let t,n,r,i,o,s,a,c,u,h=/*sponsortitle*/e[2]&&Br(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sponsorimage*/e[1])||k(r,"src",i),k(r,"title",o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0]),k(n,"class",a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*sponsorurl*/e[0]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sponsorurl*/+e[0]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem SponsorItem"),k(t,"part","FooterItem SponsorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),h&&h.m(n,null)},p(e,t){/*sponsorimage*/2&t[0]&&!l(r.src,i=/*sponsorimage*/e[1])&&k(r,"src",i),/*sponsortitle, sponsorurl*/5&t[0]&&o!==(o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0])&&k(r,"title",o),/*sponsortitle*/e[2]?h?h.p(e,t):(h=Br(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*sponsortitle, sponsorurl*/5&t[0]&&a!==(a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*sponsortitle, sponsorurl*/5&t[0]&&c!==(c=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, sponsorurl, baseurl, lang*/6815745&t[0]&&u!==(u=/*linktype*/e[19]?/*sponsorurl*/e[0]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sponsorurl*/+e[0])&&k(n,"href",u),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t),h&&h.d()}}}
|
689
689
|
// (101:10) {#if helperlinktitle}
|
690
690
|
function Hr(e){let t,n;return{c(){t=g("p"),n=b(/*helperlinktitle*/e[11]),k(t,"class","HelperTitle"),k(t,"part","HelperTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helperlinktitle*/2048&t[0]&&T(n,/*helperlinktitle*/e[11])},d(e){e&&p(t)}}}
|
691
691
|
// (80:10) {#if paymenttitle}
|
692
|
-
function
|
692
|
+
function Cr(e){let t,n;return{c(){t=g("p"),n=b(/*paymenttitle*/e[5]),k(t,"class","PaymentTitle"),k(t,"part","PaymentTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymenttitle*/32&t[0]&&T(n,/*paymenttitle*/e[5])},d(e){e&&p(t)}}}
|
693
693
|
// (68:10) {#if sponsortitle}
|
694
|
-
function
|
694
|
+
function Br(e){let t,n;return{c(){t=g("p"),n=b(/*sponsortitle*/e[2]),k(t,"class","SponsorTitle"),k(t,"part","SponsorTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsortitle*/4&t[0]&&T(n,/*sponsortitle*/e[2])},d(e){e&&p(t)}}}function Nr(t){let n;let r=function(e,t){/*device*/
|
695
695
|
return"PC"==e[24]?vr:_r}(t),i=r(t);return{c(){n=g("div"),i.c(),this.c=e,k(n,"class","ThumbnailContainer"),k(n,"part","ThumbnailContainer")},m(e,r){f(e,n,r),i.m(n,null),
|
696
696
|
/*div_binding*/t[34](n)},p(e,t){i.p(e,t)},i:e,o:e,d(e){e&&p(n),i.d(),
|
697
697
|
/*div_binding*/t[34](null)}}}function Rr(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:c=""}=t,{vendorurl:u=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{target:k="_self"}=t,{linktype:E="false"}=t,{displaycolumn:T=""}=t,{baseurl:S=""}=t,{lang:x=""}=t,{clientstyling:L=""}=t,{clientstylingurl:D=""}=t,M=window.navigator.userAgent,F=br(M);const $=(e,t)=>{t?
|
@@ -729,10 +729,10 @@ return e[0]&&/*footersponsors*/e[12].length?Jr:/*paymentflag*/e[1]&&/*footerpaym
|
|
729
729
|
/*div_binding*/,t[21](n)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(n,null)))},i:e,o:e,d(e){e&&p(n),o&&o.d()
|
730
730
|
/*div_binding*/,t[21](null)}}}function si(e,t,n){let r,{sponsorflag:i=""}=t,{paymentflag:o=""}=t,{vendorflag:s=""}=t,{helperflag:a=""}=t,{licenseflag:l=""}=t,{socialflag:c=""}=t,{target:u=""}=t,{displaycolumn:h=""}=t,{category:d=""}=t,{baseurl:f=""}=t,{lang:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{footertype:y=""}=t,b=[],_=[],v=[],w=[],k=[],E=[];const T=e=>{e.data&&"FooterData"===e.data.type&&(n(12,b=e.data.sponsorsRepeater),n(13,_=e.data.paymentMethodsRepeater),n(14,v=e.data.gameVendorsRepeater),n(15,w=e.data.helpLinksRepeater),n(16,k=e.data.licensesRepeater),n(17,E=e.data.socialLinksRepeater),d&&n(15,w=w.filter((e=>e.key==d))),
|
731
731
|
// casino-footer-v2 uses a different structure for the CMS data for the helper links
|
732
|
-
"footersecondary"===y&&n(15,w=w[0].value))};return M((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}))),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,c=e.socialflag),"target"in e&&n(18,u=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/2560&e.$$.dirty[0]&&m&&r&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/3072&e.$$.dirty[0]&&g&&r&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,h,f,p,m,g,r,b,_,v,w,k,E,u,d,y,function(e){I[e?"unshift":"push"]((()=>{r=e,n(11,r)}))}]}!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Rr,Nr,o,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:26,clientstylingurl:27},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),N()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),N()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),N()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),N()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),N()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),N()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),N()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),N()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),N()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),N()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),N()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),N()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),N()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),N()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),N()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),N()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),N()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),N()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}});function ai(e,t){Vn(e,t)}!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},si,oi,o,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),N()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),N()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),N()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),N()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),N()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),N()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),N()}});const li={en:{
|
733
|
-
/* ../panic-button/src/PanicButton.svelte generated by Svelte v3.58.0 */function ci(t){let n,r,i,o,s,a=/*customtext*/(t[0]||/*$_*/t[5]("
|
732
|
+
"footersecondary"===y&&n(15,w=w[0].value))};return M((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}))),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,c=e.socialflag),"target"in e&&n(18,u=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/2560&e.$$.dirty[0]&&m&&r&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/3072&e.$$.dirty[0]&&g&&r&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,h,f,p,m,g,r,b,_,v,w,k,E,u,d,y,function(e){I[e?"unshift":"push"]((()=>{r=e,n(11,r)}))}]}!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Rr,Nr,o,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:26,clientstylingurl:27},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),N()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),N()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),N()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),N()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),N()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),N()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),N()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),N()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),N()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),N()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),N()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),N()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),N()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),N()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),N()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),N()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),N()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),N()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}});function ai(e,t){Vn(e,t)}!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},si,oi,o,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),N()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),N()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),N()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),N()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),N()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),N()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),N()}});const li={en:{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"},"zh-hk":{panicButtonString:"长按3秒24小时即时锁定"},fr:{panicButtonString:"Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"},ro:{panicButtonString:"Tine apasat 3 secunde pentru a lua o pauza de 24h"},es:{panicButtonString:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},de:{panicButtonString:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},hr:{panicButtonString:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"},sl:{panicButtonString:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{panicButtonString:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}};
|
733
|
+
/* ../panic-button/src/PanicButton.svelte generated by Svelte v3.58.0 */function ci(t){let n,r,i,o,s,a=/*customtext*/(t[0]||/*$_*/t[5]("panicButtonString"))+"";return{c(){n=g("div"),r=g("div"),i=g("button"),o=b(a),this.c=e,k(i,"class","PanicButton "+("PC"!==br(/*userAgent*/t[6])?"PanicButtonMobile":"")),k(i,"part","PanicButton "+("PC"!==br(/*userAgent*/t[6])?"PanicButtonMobile":"")),x(i,"PanicButtonAnimation",/*panicLoading*/t[4]),k(r,"class","PanicSection "+("PC"!==br(/*userAgent*/t[6])?"PanicSectionMobile":"")),k(r,"part","PanicSection "+("PC"!==br(/*userAgent*/t[6])?"PanicSectionMobile":"")),k(n,"class",s=/*alternativestyling*/"true"==t[1]?"PanicButtonV2":"")},m(e,s){f(e,n,s),d(n,r),d(r,i),d(i,o),
|
734
734
|
/*button_binding*/t[11](i),
|
735
|
-
/*div1_binding*/t[12](n)},p(e,[t]){/*customtext, $_*/33&t&&a!==(a=/*customtext*/(e[0]||/*$_*/e[5]("
|
735
|
+
/*div1_binding*/t[12](n)},p(e,[t]){/*customtext, $_*/33&t&&a!==(a=/*customtext*/(e[0]||/*$_*/e[5]("panicButtonString"))+"")&&T(o,a),/*panicLoading*/16&t&&x(i,"PanicButtonAnimation",/*panicLoading*/e[4]),/*alternativestyling*/2&t&&s!==(s=/*alternativestyling*/"true"==e[1]?"PanicButtonV2":"")&&k(n,"class",s)},i:e,o:e,d(e){e&&p(n)
|
736
736
|
/*button_binding*/,t[11](null),
|
737
737
|
/*div1_binding*/t[12](null)}}}function ui(e,t,n){let r;u(e,yr,(e=>n(5,r=e)));let i,o,s,{lang:a="en"}=t,{customtext:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{alternativestyling:d=""}=t,{translationurl:f=""}=t,p=!1,m=0,g=window.navigator.userAgent;Object.keys(li).forEach((e=>{ai(e,li[e])}));const y=()=>{m=0,n(4,p=!0),s=setInterval((()=>{m++,m>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s),
|
738
738
|
//Analytics event
|
@@ -762,14 +762,14 @@ function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
|
|
762
762
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
763
763
|
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(e,t){var n,r=f({},e);for(n in t)a(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)a(e,n)&&!a(t,n)&&s(e[n])&&(
|
764
764
|
// make sure changes to properties don't modify parent config
|
765
|
-
r[n]=f({},r[n]));return r}function $(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r}function P(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,
|
765
|
+
r[n]=f({},r[n]));return r}function $(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r}function P(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},N={};
|
766
766
|
// token: 'M'
|
767
767
|
// padded: ['MM', 2]
|
768
768
|
// ordinal: 'Mo'
|
769
769
|
// callback: function () { this.month() + 1 }
|
770
770
|
function R(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(N[e]=i),t&&(N[t[0]]=function(){return P(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(H);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=M(r[i])?r[i].call(t,e):r[i];return o}}
|
771
771
|
// format date using native date object
|
772
|
-
function G(e,t){return e.isValid()?(t=j(t,e.localeData()),
|
772
|
+
function G(e,t){return e.isValid()?(t=j(t,e.localeData()),B[t]=B[t]||U(t),B[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;n>=0&&C.test(e);)e=e.replace(C,r),C.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(H).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",K=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function se(e,t){oe[e]=t}function ae(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:oe[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function he(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
|
773
773
|
// MOMENTS
|
774
774
|
function me(e){return M(this[e=re(e)])?this[e]():this}function ge(e,t){if("object"==typeof e){var n,r=ae(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(M(this[e=re(e)]))return this[e](t);return this}var ye,be=/\d/,// 0 - 9
|
775
775
|
_e=/\d\d/,// 00 - 99
|
@@ -789,9 +789,9 @@ $e=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
|
789
789
|
Ae=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
790
790
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
791
791
|
// includes scottish gaelic two word and hyphenated months
|
792
|
-
Oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Pe(e,t,n){ye[e]=M(t)?t:function(e,r){return e&&n?n:t}}function He(e,t){return a(ye,e)?ye[e](t._strict,t._locale):new RegExp(
|
792
|
+
Oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Pe(e,t,n){ye[e]=M(t)?t:function(e,r){return e&&n?n:t}}function He(e,t){return a(ye,e)?ye[e](t._strict,t._locale):new RegExp(Ce(e))}
|
793
793
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
794
|
-
function
|
794
|
+
function Ce(e){return Be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ne={};function Re(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)Ne[e[n]]=i}function Ye(e,t){Re(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&a(Ne,e)&&Ne[e](t,n._a,n,e)}var Ge,je=0,Ve=1,We=2,ze=3,Ze=4,Xe=5,Ke=6,qe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
|
795
795
|
// FORMATTING
|
796
796
|
Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
797
797
|
// I know
|
@@ -826,7 +826,7 @@ if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.
|
|
826
826
|
n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));
|
827
827
|
// Sorting makes sure if one month (or abbr) is a prefix of another it
|
828
828
|
// will match the longer piece.
|
829
|
-
for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=
|
829
|
+
for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Be(r[t]),i[t]=Be(i[t]);for(t=0;t<24;t++)o[t]=Be(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}
|
830
830
|
// FORMATTING
|
831
831
|
// HELPERS
|
832
832
|
function gt(e){return le(e)?366:365}
|
@@ -881,7 +881,7 @@ se("day",11),se("weekday",11),se("isoWeekday",11),
|
|
881
881
|
// PARSING
|
882
882
|
Pe("d",Ee),Pe("e",Ee),Pe("E",Ee),Pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ye(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
|
883
883
|
// if we didn't get a weekday name, mark the date as invalid
|
884
|
-
null!=i?t.d=i:g(n).invalidWeekday=e})),Ye(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ht="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
884
|
+
null!=i?t.d=i:g(n).invalidWeekday=e})),Ye(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ht="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ct=Oe,Bt=Oe,Nt=Oe;function Rt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?At(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?At(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?At(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
|
885
885
|
// test the regex
|
886
886
|
if(
|
887
887
|
// make the regex if we don't have it already
|
@@ -891,9 +891,9 @@ function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
|
|
891
891
|
// behaves the same as moment#day except
|
892
892
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
893
893
|
// as a setter, sunday should belong to the previous week.
|
894
|
-
if(null!=e){var t=$t(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=
|
894
|
+
if(null!=e){var t=$t(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ct),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Bt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],c=[];for(t=0;t<7;t++)
|
895
895
|
// make the regex if we don't have it already
|
896
|
-
n=p([2e3,1]).day(t),r=
|
896
|
+
n=p([2e3,1]).day(t),r=Be(this.weekdaysMin(n,"")),i=Be(this.weekdaysShort(n,"")),o=Be(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),c.push(r),c.push(i),c.push(o);
|
897
897
|
// Sorting makes sure if one weekday (or abbr) is a prefix of another it
|
898
898
|
// will match the longer piece.
|
899
899
|
s.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}
|
@@ -979,11 +979,11 @@ return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
|
979
979
|
// date and time from ref 2822 format
|
980
980
|
function Hn(e){var t,n=Dn.exec(An(e._i));if(n){if(t=In(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=Pn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
981
981
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
982
|
-
function
|
982
|
+
function Cn(e){var t=Ln.exec(e._i);null===t?(Fn(e),!1===e._isValid&&(delete e._isValid,Hn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
983
983
|
// Final attempt, use Input Fallback
|
984
984
|
r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
|
985
985
|
// Pick the first defined of two or three arguments.
|
986
|
-
function
|
986
|
+
function Bn(e,t,n){return null!=e?e:null!=t?t:n}function Nn(e){
|
987
987
|
// hooks is actually the exported moment object
|
988
988
|
var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}
|
989
989
|
// convert an array to a date.
|
@@ -1000,7 +1000,7 @@ for(r=Nn(e),
|
|
1000
1000
|
//compute day of the year from weeks and weekdays
|
1001
1001
|
e._w&&null==e._a[We]&&null==e._a[Ve]&&Yn(e),
|
1002
1002
|
//if the day of the year is set, figure out what it is
|
1003
|
-
null!=e._dayOfYear&&(o=
|
1003
|
+
null!=e._dayOfYear&&(o=Bn(e._a[je],r[je]),(e._dayOfYear>gt(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=vt(o,0,e._dayOfYear),e._a[Ve]=n.getUTCMonth(),e._a[We]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];
|
1004
1004
|
// Zero out whatever was not defaulted, including time
|
1005
1005
|
for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
|
1006
1006
|
// Check for 24:00:00.000
|
@@ -1014,9 +1014,9 @@ e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function Yn(e){var
|
|
1014
1014
|
// how we interpret now (local, utc, fixed offset). So create
|
1015
1015
|
// a now version of current config (take local/utc/offset flags, and
|
1016
1016
|
// create now).
|
1017
|
-
n=
|
1017
|
+
n=Bn(t.GG,e._a[je],Et(Kn(),1,4).year),r=Bn(t.W,1),((i=Bn(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,c=Et(Kn(),o,s),n=Bn(t.gg,e._a[je],c.year),
|
1018
1018
|
// Default to current week.
|
1019
|
-
r=
|
1019
|
+
r=Bn(t.w,c.week),null!=t.d?((
|
1020
1020
|
// weekday -- low day numbers are considered next week
|
1021
1021
|
i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
|
1022
1022
|
// local weekday -- counting starts from beginning of week
|
@@ -1049,7 +1049,7 @@ o+=g(t).charsLeftOver,
|
|
1049
1049
|
//or tokens
|
1050
1050
|
o+=10*g(t).unusedTokens.length,g(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));f(e,n||t)}function Vn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Rn(e)}}function Wn(e){var t=new k(wn(zn(e)));return t._nextDay&&(
|
1051
1051
|
// Adding is smart enough around DST
|
1052
|
-
t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new k(wn(t)):(h(t)?e._d=t:o(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?
|
1052
|
+
t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new k(wn(t)):(h(t)?e._d=t:o(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Cn(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Rn(e)):s(t)?Vn(e):u(t)?
|
1053
1053
|
// from milliseconds
|
1054
1054
|
e._d=new Date(t):r.createFromInputFallback(e)}function Xn(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),
|
1055
1055
|
// object construction must be done this way.
|
@@ -1128,11 +1128,11 @@ return(isNaN(n)?0:n)*t}function Ir(e,t){var n={};return n.months=t.month()-e.mon
|
|
1128
1128
|
// TODO: remove 'name' arg after deprecation is removed
|
1129
1129
|
function Ar(e,t){return function(n,r){var i;
|
1130
1130
|
//invert the arguments, but complain about it
|
1131
|
-
return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Or(this,Mr(n,r),e),this}}function Or(e,t,n,i){var o=t._milliseconds,s=cr(t._days),a=cr(t._months);e.isValid()&&(i=null==i||i,a&&ut(e,de(e,"Month")+a*n),s&&pe(e,"Date",de(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Mr.fn=ar.prototype,Mr.invalid=sr;var Pr=Ar(1,"add"),Hr=Ar(-1,"subtract");function
|
1131
|
+
return null===r||isNaN(+r)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Or(this,Mr(n,r),e),this}}function Or(e,t,n,i){var o=t._milliseconds,s=cr(t._days),a=cr(t._months);e.isValid()&&(i=null==i||i,a&&ut(e,de(e,"Month")+a*n),s&&pe(e,"Date",de(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Mr.fn=ar.prototype,Mr.invalid=sr;var Pr=Ar(1,"add"),Hr=Ar(-1,"subtract");function Cr(e){return"string"==typeof e||e instanceof String}
|
1132
1132
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
1133
|
-
function
|
1133
|
+
function Br(e){return E(e)||h(e)||Cr(e)||u(e)||Rr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=s(e)&&!l(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=o.length;for(t=0;t<c;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Rr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Cr(e)})).length),t&&n}function Yr(e){var t,n,r=s(e)&&!l(e),i=!1,o=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<o.length;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gr(e,t){
|
1134
1134
|
// Support for single parameter, formats only overload to the calendar function
|
1135
|
-
1===arguments.length&&(arguments[0]?
|
1135
|
+
1===arguments.length&&(arguments[0]?Br(arguments[0])?(e=arguments[0],t=void 0):Yr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
|
1136
1136
|
// We want to compare the start of today, vs this.
|
1137
1137
|
// Getting start-of-today depends on whether we're local/utc/offset or not.
|
1138
1138
|
var n=e||Kn(),i=pr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(M(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,Kn(n)))}function jr(){return new k(this)}function Vr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Wr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zr(e,t,n,r){var i=E(e)?e:Kn(e),o=E(t)?t:Kn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Zr(e,t){var n,r=E(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Jr(this,r)/12;break;case"month":o=Jr(this,r);break;case"quarter":o=Jr(this,r)/3;break;case"second":o=(this-r)/1e3;break;// 1000
|
@@ -1181,7 +1181,7 @@ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e]
|
|
1181
1181
|
// truncate time
|
1182
1182
|
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Pi(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,
|
1183
1183
|
// truncate time
|
1184
|
-
i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Hi(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function
|
1184
|
+
i=this.clone().startOf("day").valueOf(),o[e].since<=i&&i<=o[e].until||o[e].until<=i&&i<=o[e].since)return(this.year()-r(o[e].since).year())*n+o[e].offset;return this.year()}function Hi(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function Ci(e){return a(this,"_erasAbbrRegex")||Gi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bi(e){return a(this,"_erasNarrowRegex")||Gi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(e,t){return t.erasAbbrRegex(e)}function Ri(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Me}function Gi(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Be(s[e].name)),n.push(Be(s[e].abbr)),i.push(Be(s[e].narrow)),o.push(Be(s[e].name)),o.push(Be(s[e].abbr)),o.push(Be(s[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}
|
1185
1185
|
// FORMATTING
|
1186
1186
|
function ji(e,t){R(0,[e,e.length],0,t)}
|
1187
1187
|
// MOMENTS
|
@@ -1263,7 +1263,7 @@ R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){r
|
|
1263
1263
|
// (true, 5)
|
1264
1264
|
// (true, fmt, 5)
|
1265
1265
|
// (true, fmt)
|
1266
|
-
function yo(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function bo(e,t){return go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=O,po.longDateFormat=W,po.invalidDate=Z,po.ordinal=q,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=F,po.eras=Mi,po.erasParse=Fi,po.erasConvertYear=Ii,po.erasAbbrRegex=
|
1266
|
+
function yo(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function bo(e,t){return go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=O,po.longDateFormat=W,po.invalidDate=Z,po.ordinal=q,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=F,po.eras=Mi,po.erasParse=Fi,po.erasConvertYear=Ii,po.erasAbbrRegex=Ci,po.erasNameRegex=Hi,po.erasNarrowRegex=Bi,po.months=st,po.monthsShort=at,po.monthsParse=ct,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=St,po.firstDayOfYear=Dt,po.firstDayOfWeek=Lt,po.weekdays=Rt,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=Kt,po.isPM=nn,po.meridiem=sn,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
1267
1267
|
// Side effect imports
|
1268
1268
|
r.lang=S("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",_n);var Eo=Math.abs;function To(){var e=this._data;return this._milliseconds=Eo(this._milliseconds),this._days=Eo(this._days),this._months=Eo(this._months),e.milliseconds=Eo(e.milliseconds),e.seconds=Eo(e.seconds),e.minutes=Eo(e.minutes),e.hours=Eo(e.hours),e.months=Eo(e.months),e.years=Eo(e.years),this}function So(e,t,n,r){var i=Mr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
1269
1269
|
// supports only 2.0-style add(1, 's') or add(duration)
|
@@ -1290,7 +1290,7 @@ t=this._days+Math.round(Io(this._months)),e){case"week":return t/7+r/6048e5;case
|
|
1290
1290
|
// Math.floor prevents floating point math errors here
|
1291
1291
|
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
|
1292
1292
|
// TODO: Use this.as('ms')?
|
1293
|
-
function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Oo(e){return function(){return this.as(e)}}var Po=Oo("ms"),Ho=Oo("s"),
|
1293
|
+
function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Oo(e){return function(){return this.as(e)}}var Po=Oo("ms"),Ho=Oo("s"),Co=Oo("m"),Bo=Oo("h"),No=Oo("d"),Ro=Oo("w"),Yo=Oo("M"),Uo=Oo("Q"),Go=Oo("y");function jo(){return Mr(this)}function Vo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Wo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Wo("milliseconds"),Zo=Wo("seconds"),Xo=Wo("minutes"),Ko=Wo("hours"),qo=Wo("days"),Jo=Wo("months"),Qo=Wo("years");function es(){return ce(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
|
1294
1294
|
s:45,// seconds to minute
|
1295
1295
|
m:45,// minutes to hour
|
1296
1296
|
h:22,// hours to day
|
@@ -1316,7 +1316,7 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
|
|
1316
1316
|
// 12 months -> 1 year
|
1317
1317
|
n=ce(u/12),u%=12,
|
1318
1318
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
1319
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=cs(this._months)!==cs(h)?"-":"",s=cs(this._days)!==cs(h)?"-":"",a=cs(this._milliseconds)!==cs(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=ar.prototype;return hs.isValid=or,hs.abs=To,hs.add=xo,hs.subtract=Lo,hs.as=$o,hs.asMilliseconds=Po,hs.asSeconds=Ho,hs.asMinutes=
|
1319
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=cs(this._months)!==cs(h)?"-":"",s=cs(this._days)!==cs(h)?"-":"",a=cs(this._milliseconds)!==cs(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=ar.prototype;return hs.isValid=or,hs.abs=To,hs.add=xo,hs.subtract=Lo,hs.as=$o,hs.asMilliseconds=Po,hs.asSeconds=Ho,hs.asMinutes=Co,hs.asHours=Bo,hs.asDays=No,hs.asWeeks=Ro,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=Ao,hs._bubble=Mo,hs.clone=jo,hs.get=Vo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=Ko,hs.days=qo,hs.weeks=es,hs.months=Jo,hs.years=Qo,hs.humanize=as,hs.toISOString=us,hs.toString=us,hs.toJSON=us,hs.locale=ai,hs.localeData=ci,hs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),hs.lang=li,
|
1320
1320
|
// FORMATTING
|
1321
1321
|
R("X",0,0,"unix"),R("x",0,0,"valueOf"),
|
1322
1322
|
// PARSING
|
@@ -1332,13 +1332,13 @@ TIME:"HH:mm",// <input type="time" />
|
|
1332
1332
|
TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
|
1333
1333
|
TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
|
1334
1334
|
WEEK:"GGGG-[W]WW",// <input type="week" />
|
1335
|
-
MONTH:"YYYY-MM"},r}()}));function di(e,t){Vn(e,t)}const fi={en:{
|
1335
|
+
MONTH:"YYYY-MM"},r}()}));function di(e,t){Vn(e,t)}const fi={en:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},de:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},fr:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},ro:{timeText:"Ora",sessionTimer:"online de",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},es:{timeText:"Hora",sessionTimer:"tiempo sesión",panicButton:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},pt:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},hr:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"},sl:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}},{document:pi}=U;
|
1336
1336
|
/* src/CasinoFooterV2.svelte generated by Svelte v3.58.0 */function mi(e,t,n){const r=e.slice();return r[81]=t[n],r}function gi(e,t,n){const r=e.slice();return r[84]=t[n],r}function yi(e,t,n){const r=e.slice();return r[87]=t[n],r}
|
1337
1337
|
// (293:2) {#if headScript}
|
1338
1338
|
function bi(e){let t,n;return{c(){t=g("script"),l(t.src,n=/*licenseScriptSrc*/e[23])||k(t,"src",n)},m(e,n){f(e,t,n)},p(e,r){/*licenseScriptSrc*/8388608&r[0]&&!l(t.src,n=/*licenseScriptSrc*/e[23])&&k(t,"src",n)},d(e){e&&p(t)}}}
|
1339
1339
|
// (303:2) {:else}
|
1340
|
-
function _i(e){let t,n,r,i,o,s,a,l,c,u,h,m,y=/*helpLinksRepeater*/e[13]&&ki(e),b=/*gameVendorsRepeater*/e[8]&&Si(e),v=/*paymentMethodsRepeater*/e[10]&&Li(e),w=/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]&&Mi(e),E=/*licensesRepeater*/e[15]&&Fi(e),T=/*sponsorsRepeater*/e[12]&&Ai(e),S=/*socialLinksRepeater*/e[17]&&Hi(e),x=/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]&&
|
1341
|
-
/*div2_binding*/,e[56](t)},p(e,t){/*helpLinksRepeater*/e[13]?y?y.p(e,t):(y=ki(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn, panicbuttonenabled*/33554440&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[8]?b?b.p(e,t):(b=Si(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[10]?v?v.p(e,t):(v=Li(e),v.c(),v.m(o,a)):v&&(v.d(1),v=null),/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]?w?w.p(e,t):(w=Mi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[15]?E?E.p(e,t):(E=Fi(e),E.c(),E.m(o,c)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[12]?T?T.p(e,t):(T=Ai(e),T.c(),T.m(o,u)):T&&(T.d(1),T=null),/*socialLinksRepeater*/e[17]?S?S.p(e,t):(S=Hi(e),S.c(),S.m(o,h)):S&&(S.d(1),S=null),/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]?x?x.p(e,t):(x=
|
1340
|
+
function _i(e){let t,n,r,i,o,s,a,l,c,u,h,m,y=/*helpLinksRepeater*/e[13]&&ki(e),b=/*gameVendorsRepeater*/e[8]&&Si(e),v=/*paymentMethodsRepeater*/e[10]&&Li(e),w=/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]&&Mi(e),E=/*licensesRepeater*/e[15]&&Fi(e),T=/*sponsorsRepeater*/e[12]&&Ai(e),S=/*socialLinksRepeater*/e[17]&&Hi(e),x=/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]&&Bi(e),L=/*copyright*/e[18]&&Yi(e);return{c(){t=g("div"),n=g("div"),y&&y.c(),i=_(),o=g("div"),b&&b.c(),s=_(),v&&v.c(),a=_(),w&&w.c(),l=_(),E&&E.c(),c=_(),T&&T.c(),u=_(),S&&S.c(),h=_(),x&&x.c(),m=_(),L&&L.c(),k(n,"class",r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":"")),k(o,"class","FooterGrid"),k(t,"class","Footer")},m(r,p){f(r,t,p),d(t,n),y&&y.m(n,null),d(t,i),d(t,o),b&&b.m(o,null),d(o,s),v&&v.m(o,null),d(o,a),w&&w.m(o,null),d(o,l),E&&E.m(o,null),d(o,c),T&&T.m(o,null),d(o,u),S&&S.m(o,null),d(o,h),x&&x.m(o,null),d(o,m),L&&L.m(o,null)
|
1341
|
+
/*div2_binding*/,e[56](t)},p(e,t){/*helpLinksRepeater*/e[13]?y?y.p(e,t):(y=ki(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn, panicbuttonenabled*/33554440&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[8]?b?b.p(e,t):(b=Si(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[10]?v?v.p(e,t):(v=Li(e),v.c(),v.m(o,a)):v&&(v.d(1),v=null),/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]?w?w.p(e,t):(w=Mi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[15]?E?E.p(e,t):(E=Fi(e),E.c(),E.m(o,c)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[12]?T?T.p(e,t):(T=Ai(e),T.c(),T.m(o,u)):T&&(T.d(1),T=null),/*socialLinksRepeater*/e[17]?S?S.p(e,t):(S=Hi(e),S.c(),S.m(o,h)):S&&(S.d(1),S=null),/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]?x?x.p(e,t):(x=Bi(e),x.c(),x.m(o,m)):x&&(x.d(1),x=null),/*copyright*/e[18]?L?L.p(e,t):(L=Yi(e),L.c(),L.m(o,null)):L&&(L.d(1),L=null)},d(n){n&&p(t),y&&y.d(),b&&b.d(),v&&v.d(),w&&w.d(),E&&E.d(),T&&T.d(),S&&S.d(),x&&x.d(),L&&L.d()
|
1342
1342
|
/*div2_binding*/,e[56](null)}}}
|
1343
1343
|
// (301:2) {#if isLoading}
|
1344
1344
|
function vi(t){let n;return{c(){n=g("p"),n.textContent="Loading ...",k(n,"class","SearchLoading")},m(e,t){f(e,n,t)},p:e,d(e){e&&p(n)}}}
|
@@ -1373,11 +1373,11 @@ function Oi(e){let t,n,r,i=/*sponsorsLinksTitle*/e[11]&&Pi(e);return{c(){t=g("di
|
|
1373
1373
|
// (406:12) {#if sponsorsLinksTitle}
|
1374
1374
|
function Pi(e){let t,n;return{c(){t=g("p"),n=b(/*sponsorsLinksTitle*/e[11]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsorsLinksTitle*/2048&t[0]&&T(n,/*sponsorsLinksTitle*/e[11])},d(e){e&&p(t)}}}
|
1375
1375
|
// (423:8) {#if socialLinksRepeater}
|
1376
|
-
function Hi(e){let t,n,r,i=/*socialLinksTitle*/e[16]&&
|
1376
|
+
function Hi(e){let t,n,r,i=/*socialLinksTitle*/e[16]&&Ci(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"socialflag","1"),E(r,"clientstyling",/*clientstyling*/e[0]),E(r,"baseurl",/*baseurl*/e[4]),E(r,"lang",/*lang*/e[1]),E(r,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*socialLinksTitle*/e[16]?i?i.p(e,o):(i=Ci(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(r,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&o[0]&&E(r,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(r,"lang",/*lang*/e[1])},d(e){e&&p(t),i&&i.d()}}}
|
1377
1377
|
// (425:12) {#if socialLinksTitle}
|
1378
|
-
function
|
1378
|
+
function Ci(e){let t,n;return{c(){t=g("p"),n=b(/*socialLinksTitle*/e[16]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*socialLinksTitle*/65536&t[0]&&T(n,/*socialLinksTitle*/e[16])},d(e){e&&p(t)}}}
|
1379
1379
|
// (440:6) {#if (languageselectorenabled==="true" && languagePackLoaded && selectedLanguage)}
|
1380
|
-
function
|
1380
|
+
function Bi(e){let t,n,i,o,s,a,c,u,h,v,E,x,L,D,M,F,I,$=/*languagesArray*/e[27],A=[];for(let t=0;t<$.length;t+=1)A[t]=Ni(gi(e,$,t));let O=/*languages*/e[5],P=[];for(let t=0;t<O.length;t+=1)P[t]=Ri(mi(e,O,t));return{c(){t=g("div"),n=g("div"),i=g("select");for(let e=0;e<A.length;e+=1)A[e].c();o=_(),s=g("div"),a=g("div"),c=g("ul");for(let e=0;e<P.length;e+=1)P[e].c();u=_(),h=g("button"),v=g("img"),x=b(/*languageDisplayName*/e[29]),L=_(),D=y("svg"),M=y("path"),k(i,"class","Item ItemLanguage"),/*selectedLanguage*/void 0===e[26]&&H((()=>/*select_change_handler*/e[53].call(i))),k(c,"id","LanguageList"),k(a,"class","LanguageDrawer hidden"),k(v,"class","LanguageFlag"),l(v.src,E=/*currentLanguageFlag*/e[30])||k(v,"src",E),k(M,"opacity","0.4"),k(M,"d","M0.94 0L4.00067 3.05467L7.06 0L8 0.940667L4.00067 4.94133L0 0.940667L0.94 0Z"),k(M,"fill","black"),k(D,"width","8"),k(D,"height","5"),k(D,"viewBox","0 0 8 5"),k(D,"fill","none"),k(D,"xmlns","http://www.w3.org/2000/svg"),k(h,"class","DrawerButton"),h.value=/*selectedLanguage*/e[26],k(s,"class","LanguageSelectorOverlay"),k(n,"class","LanguageSelectorContainer"),k(t,"class","GridRow")},m(r,l){f(r,t,l),d(t,n),d(n,i);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(i,null);S(i,/*selectedLanguage*/e[26],!0),d(n,o),d(n,s),d(s,a),d(a,c);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(c,null);
|
1381
1381
|
/*div0_binding*/e[55](a),d(s,u),d(s,h),d(h,v),d(h,x),d(h,L),d(h,D),d(D,M),F||(I=[w(i,"change",/*select_change_handler*/e[53]),w(i,"change",/*change_handler*/e[54]),w(h,"click",/*toggleLanguageDrawer*/e[36])],F=!0)},p(e,t){if(/*languagesArray*/134217728&t[0]){let n;for($=/*languagesArray*/e[27],n=0;n<$.length;n+=1){const r=gi(e,$,n);A[n]?A[n].p(r,t):(A[n]=Ni(r),A[n].c(),A[n].m(i,null))}for(;n<A.length;n+=1)A[n].d(1);A.length=$.length}if(/*selectedLanguage, languagesArray*/201326592&t[0]&&S(i,/*selectedLanguage*/e[26]),/*languages*/32&t[0]|/*overlayOptionTrigger*/64&t[1]){let n;for(O=/*languages*/e[5],n=0;n<O.length;n+=1){const r=mi(e,O,n);P[n]?P[n].p(r,t):(P[n]=Ri(r),P[n].c(),P[n].m(c,null))}for(;n<P.length;n+=1)P[n].d(1);P.length=O.length}/*currentLanguageFlag*/1073741824&t[0]&&!l(v.src,E=/*currentLanguageFlag*/e[30])&&k(v,"src",E),/*languageDisplayName*/536870912&t[0]&&T(x,/*languageDisplayName*/e[29]),/*selectedLanguage, languagesArray*/201326592&t[0]&&(h.value=/*selectedLanguage*/e[26])},d(n){n&&p(t),m(A,n),m(P,n),
|
1382
1382
|
/*div0_binding*/e[55](null),F=!1,r(I)}}}
|
1383
1383
|
// (445:14) {#each languagesArray as operatorLanguage}
|
@@ -1386,13 +1386,13 @@ function Ni(e){let t,n,r,i=/*operatorLanguage*/e[84]+"";return{c(){t=g("option")
|
|
1386
1386
|
function Ri(e){let t,n,r,i,o,s,a,c,u,h=/*language*/e[81].name+"";return{c(){t=g("li"),n=g("img"),i=g("a"),o=g("span"),s=b(h),k(n,"class","LanguageFlag"),l(n.src,r=/*language*/e[81].flag_icon_editable)||k(n,"src",r),k(i,"href","javascript:void(0)"),k(t,"class","OverlayLanguageOption"),k(t,"data-lang",a=/*language*/e[81].code)},m(r,a){f(r,t,a),d(t,n),d(t,i),d(i,o),d(o,s),c||(u=w(t,"click",/*overlayOptionTrigger*/e[37]),c=!0)},p(e,i){/*languages*/32&i[0]&&!l(n.src,r=/*language*/e[81].flag_icon_editable)&&k(n,"src",r),/*languages*/32&i[0]&&h!==(h=/*language*/e[81].name+"")&&T(s,h),/*languages*/32&i[0]&&a!==(a=/*language*/e[81].code)&&k(t,"data-lang",a)},d(e){e&&p(t),c=!1,u()}}}
|
1387
1387
|
// (470:6) {#if copyright}
|
1388
1388
|
function Yi(e){let t,n,r,o;return{c(){t=g("div"),k(t,"class","CopyrightAreaRights CopyrightArea")},m(i,s){f(i,t,s),r||(o=h(n=/*setContent*/e[34].call(null,t,/*copyright*/e[18])),r=!0)},p(e,t){n&&i(n.update)&&/*copyright*/262144&t[0]&&n.update.call(null,/*copyright*/e[18])},d(e){e&&p(t),r=!1,o()}}}function Ui(t){let n,r,i,o=/*headScript*/t[22]&&bi(t);function s(e,t){/*hasErrors*/
|
1389
|
-
return e[20]?wi:/*isLoading*/e[21]?vi:_i}let a=s(t),l=a(t);return{c(){o&&o.c(),n=v(),r=_(),l.c(),i=v(),this.c=e},m(e,t){o&&o.m(pi.head,null),d(pi.head,n),f(e,r,t),l.m(e,t),f(e,i,t)},p(e,t){/*headScript*/e[22]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(i.parentNode,i)))},i:e,o:e,d(e){o&&o.d(e),p(n),e&&p(r),l.d(e),e&&p(i)}}}function Gi(e,t,n){let r;u(e,yr,(e=>n(68,r=e)));let i,o,s,a,l,c,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{translationurl:y=""}=t,{clockenabled:b=""}=t,{clocksecondsenabled:_=""}=t,{clockcustomformat:v=""}=t,{clocktext:w="Time:"}=t,{languageselectorenabled:k="true"}=t,{languageslist:E="en, ro"}=t,{languagedisplaytype:T="name"}=t,{session:S=""}=t,{userid:x=""}=t,{userendpoint:L=""}=t,{panicbuttonenabled:D="true"}=t,{sessiontimerenabled:F="true"}=t,{grouplink:$="true"}=t,{baseurl:A=""}=t,O=window.navigator.userAgent,P=(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)))(O),H="",
|
1389
|
+
return e[20]?wi:/*isLoading*/e[21]?vi:_i}let a=s(t),l=a(t);return{c(){o&&o.c(),n=v(),r=_(),l.c(),i=v(),this.c=e},m(e,t){o&&o.m(pi.head,null),d(pi.head,n),f(e,r,t),l.m(e,t),f(e,i,t)},p(e,t){/*headScript*/e[22]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(i.parentNode,i)))},i:e,o:e,d(e){o&&o.d(e),p(n),e&&p(r),l.d(e),e&&p(i)}}}function Gi(e,t,n){let r;u(e,yr,(e=>n(68,r=e)));let i,o,s,a,l,c,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{translationurl:y=""}=t,{clockenabled:b=""}=t,{clocksecondsenabled:_=""}=t,{clockcustomformat:v=""}=t,{clocktext:w="Time:"}=t,{languageselectorenabled:k="true"}=t,{languageslist:E="en, ro"}=t,{languagedisplaytype:T="name"}=t,{session:S=""}=t,{userid:x=""}=t,{userendpoint:L=""}=t,{panicbuttonenabled:D="true"}=t,{sessiontimerenabled:F="true"}=t,{grouplink:$="true"}=t,{baseurl:A=""}=t,O=window.navigator.userAgent,P=(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)))(O),H="",C=[],B="",N=[],R="",Y=[],U="",G=[],j="",V=[],W="",z=[],Z="",X="",K=!1,q=!1,J=!1,Q="",ee="",te=!1,ne="hr",re=[],ie=[],oe="",se="",ae=!1,le="",ce=document.createElement("p"),ue=document.createElement("p");!function({withLocale:e,translations:t}){or.subscribe((n=>{null==n&&(Un.set(t),or.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
1390
1390
|
/*dictionary.set(translations);
|
1391
1391
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(fi).forEach((e=>{di(e,fi[e])}));let he=r("casinoFooter.panicButton");const de=()=>{(function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),pe(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))})(L,S).then((e=>{e.Guid,e.UserID,n(25,te=!0),fe(e)}),(e=>{n(25,te=!1),console.error("Error while checking the session - ",e)}))},fe=e=>{
|
1392
1392
|
// using Date instead of moment because they recommend in their docs to stop using it for new projects
|
1393
|
-
const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);c=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),le=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,ce.innerHTML=` ${r("
|
1393
|
+
const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);c=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),le=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,ce.innerHTML=` ${r("sessionTimer")} ${le}`,i+=1e3}),1e3)},me=()=>{const e="false"!=v?v:`hh:mm${"true"===_?":ss":""} (UTC Z)`;o=hi().format(e),ue.innerHTML=` ${w} ${o}`},ge=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:ne},window.location.href)},ye=()=>{let e=!1;re.forEach(((t,r)=>{if(t.code==ne.toLowerCase()){let r="";switch(e=!0,n(30,se=t.flag_icon_editable),T){case"name":r=t.name;break;case"translatedName":r=t.translated_name;break;default:r=t.code}n(29,oe=r)}})),e||n(29,oe=ne)},be=()=>{var e;e=f,or.set(e),n(32,he=r("casinoFooter.panicButton"))};M((()=>()=>{clearInterval(l),clearInterval(c)}));return e.$$set=e=>{"endpoint"in e&&n(38,d=e.endpoint),"lang"in e&&n(1,f=e.lang),"env"in e&&n(39,p=e.env),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(40,g=e.clientstylingurl),"translationurl"in e&&n(41,y=e.translationurl),"clockenabled"in e&&n(42,b=e.clockenabled),"clocksecondsenabled"in e&&n(43,_=e.clocksecondsenabled),"clockcustomformat"in e&&n(44,v=e.clockcustomformat),"clocktext"in e&&n(45,w=e.clocktext),"languageselectorenabled"in e&&n(2,k=e.languageselectorenabled),"languageslist"in e&&n(46,E=e.languageslist),"languagedisplaytype"in e&&n(47,T=e.languagedisplaytype),"session"in e&&n(48,S=e.session),"userid"in e&&n(49,x=e.userid),"userendpoint"in e&&n(50,L=e.userendpoint),"panicbuttonenabled"in e&&n(3,D=e.panicbuttonenabled),"sessiontimerenabled"in e&&n(51,F=e.sessiontimerenabled),"grouplink"in e&&n(52,$=e.grouplink),"baseurl"in e&&n(4,A=e.baseurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&f&&be(),/*languageslist*/32768&e.$$.dirty[1]&&E&&(n(27,ie=E.replace(/ /g,"").split(",")),n(27,ie=ie.map((e=>e.toUpperCase())))),/*session, userid, userendpoint*/917504&e.$$.dirty[1]&&S&&x&&L&&de(),/*lang*/2&e.$$.dirty[0]|/*endpoint, env*/384&e.$$.dirty[1]&&d&&f&&p&&(()=>{let e=new URL(`${d}/${f}/footer-raw-data`),t=br(O);e.searchParams.append("env",p),t&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),"true"==$&&e.searchParams.append("helpLinks_groupby","helpLinkCategory"),n(21,q=!0),fetch(e.href).then((e=>e.json())).then((e=>{let t,r,o;n(21,q=!1),i=e,n(7,({gameVendorsLinksTitle:H,gameVendorsRepeater:C,paymentLinksTitle:B,paymentMethodsRepeater:N,sponsorsLinksTitle:R,sponsorsRepeater:Y,helpLinksTitle:U,helpLinksRepeater:G,licensesLinksTitle:j,licensesRepeater:V,socialLinksTitle:W,socialLinksRepeater:z,copyright:Z,licenseDesc:X,licenseHeadScriptSrc:t,licenseScriptBody:r,licenseEvent:o,language:re}=i),H,n(8,C),n(9,B),n(10,N),n(11,R),n(12,Y),n(13,G),n(14,j),n(15,V),n(16,W),n(17,z),n(18,Z),n(19,X),n(5,re)),re&&(n(31,ae=!0),ye()),(null==t?void 0:t.length)>0&&(n(22,J=!0),n(23,Q=t)),(null==r?void 0:r.length)>0&&n(24,ee=r),window.postMessage({type:o},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:C,paymentMethodsRepeater:N,sponsorsRepeater:Y,helpLinksRepeater:G,licensesRepeater:V,socialLinksRepeater:z},window.location.href)})).catch((e=>{n(20,K=!0),n(21,q=!1),console.error(e)}))})(),/*translationurl*/1024&e.$$.dirty[1]&&y&&fetch(y).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{di(t,e[t])}))})).catch((e=>{console.log(e)})),/*clockenabled, clocksecondsenabled, clockcustomformat*/14336&e.$$.dirty[1]&&"false"!==b&&_&&v&&me(),/*clockenabled, clocksecondsenabled*/6144&e.$$.dirty[1]&&"false"!==b&&_&&(s="true"==_?1e3:6e4)&&(l=setInterval((()=>{me()}),s)),/*lang, languages*/34&e.$$.dirty[0]&&f&&n(26,ne=f)&&re&&re.length>0&&ye(),/*clientstyling, customStylingContainer*/65&e.$$.dirty[0]&&m&&h&&(()=>{let e=document.createElement("style");e.innerHTML=m,h.appendChild(e)})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstylingurl*/512&e.$$.dirty[1]&&g&&h&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,
|
1394
1394
|
// after the first call is made for the custom styling file, save the css inside clientstyling in order to avoid multiple fetches inside subwidgets
|
1395
|
-
n(0,m=m?m+e:e),setTimeout((()=>{h.appendChild(t)}),1)}))})()},[m,f,k,D,A,re,h,H,B,
|
1395
|
+
n(0,m=m?m+e:e),setTimeout((()=>{h.appendChild(t)}),1)}))})()},[m,f,k,D,A,re,h,H,C,B,N,R,Y,G,j,V,W,z,Z,X,K,q,J,Q,ee,te,ne,ie,a,oe,se,ae,he,P,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n),
|
1396
1396
|
//Add clock
|
1397
1397
|
"true"===b&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ue),
|
1398
1398
|
//Add session timer
|