@everymatrix/casino-integrated-game-page 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(){}function i(e){return e()}function o(){return Object.create(null)}function s(e){e.forEach(i)}function a(e){return"function"==typeof e}function u(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let l,h;function c(e,t){return l||(l=document.createElement("a")),l.href=t,e===l.href}function f(e,...t){if(null==e)return r;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function d(e,t){e.appendChild(t)}function p(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode.removeChild(e)}function g(e){return document.createElement(e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function _(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function b(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function E(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function S(e,t,n){e.classList[n?"add":"remove"](t)}function T(e){const t={};for(const n of e)t[n.name]=n.value;return t}function M(e){h=e}function k(e){(function(){if(!h)throw new Error("Function called outside component initialization");return h})().$$.on_mount.push(e)}const
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(){}function i(e){return e()}function o(){return Object.create(null)}function s(e){e.forEach(i)}function a(e){return"function"==typeof e}function u(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let l,h;function c(e,t){return l||(l=document.createElement("a")),l.href=t,e===l.href}function f(e,...t){if(null==e)return r;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function d(e,t){e.appendChild(t)}function p(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode.removeChild(e)}function g(e){return document.createElement(e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function _(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function b(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function E(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function S(e,t,n){e.classList[n?"add":"remove"](t)}function T(e){const t={};for(const n of e)t[n.name]=n.value;return t}function M(e){h=e}function k(e){(function(){if(!h)throw new Error("Function called outside component initialization");return h})().$$.on_mount.push(e)}const P=[],O=[],D=[],x=[],B=Promise.resolve();let H=!1;function A(e){D.push(e)}
|
|
2
2
|
// flush() calls callbacks in this order:
|
|
3
3
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
4
4
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -21,13 +21,13 @@ const N=new Set;let L=0;// Do *not* move this inside the flush() function
|
|
|
21
21
|
function C(){const e=h;do{
|
|
22
22
|
// first, call beforeUpdate functions
|
|
23
23
|
// and update components
|
|
24
|
-
for(;L<
|
|
24
|
+
for(;L<P.length;){const e=P[L];L++,M(e),I(e.$$)}for(M(null),P.length=0,L=0;O.length;)O.pop()();
|
|
25
25
|
// then, once components are updated, call
|
|
26
26
|
// afterUpdate functions. This may cause
|
|
27
27
|
// subsequent updates...
|
|
28
28
|
for(let e=0;e<D.length;e+=1){const t=D[e];N.has(t)||(
|
|
29
29
|
// ...so guard against infinite loops
|
|
30
|
-
N.add(t),t())}D.length=0}while(
|
|
30
|
+
N.add(t),t())}D.length=0}while(P.length);for(;x.length;)x.pop()();H=!1,N.clear(),M(e)}function I(e){if(null!==e.fragment){e.update(),s(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}const R=new Set;function F(e,t){-1===e.$$.dirty[0]&&(P.push(e),H||(H=!0,B.then(C)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Y(e,t,n,u,l,c,f,d=[-1]){const p=h;M(e);const g=e.$$={fragment:null,ctx:null,
|
|
31
31
|
// state
|
|
32
32
|
props:c,update:r,not_equal:l,bound:o(),
|
|
33
33
|
// lifecycle
|
|
@@ -100,7 +100,7 @@ var de=self.fetch.bind(self),pe=function(e,t){return pe=Object.setPrototypeOf||{
|
|
|
100
100
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
101
101
|
PERFORMANCE OF THIS SOFTWARE.
|
|
102
102
|
***************************************************************************** */
|
|
103
|
-
/* global Reflect, Promise */function me(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}pe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ge(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 ye(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 ve(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 _e(e){return"function"==typeof e}function be(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 we=be((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 Se=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=ge(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 u=this.initialTeardown;if(_e(u))try{u()}catch(e){i=e instanceof we?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var h=ge(l),c=h.next();!c.done;c=h.next()){var f=c.value;try{ke(f)}catch(e){i=null!=i?i:[],e instanceof we?i=ve(ve([],ye(i)),ye(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}}if(i)throw new we(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)ke(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}(),Te=Se.EMPTY;function Me(e){return e instanceof Se||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function ke(e){_e(e)?e():e.unsubscribe()}var Oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Pe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Pe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,ve([e,t],ye(n))):setTimeout.apply(void 0,ve([e,t],ye(n)))},clearTimeout:function(e){var t=Pe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function De(){}var xe=null;function Be(e){if(Oe.useDeprecatedSynchronousErrorHandling){var t=!xe;if(t&&(xe={errorThrown:!1,error:null}),e(),t){var n=xe,r=n.errorThrown,i=n.error;if(xe=null,r)throw i}}else e()}var He=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Me(t)&&t.add(n)):n.destination=Re,n}return me(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}(Se),Ae=Function.prototype.bind;function Ne(e,t){return Ae.call(e,t)}var Le=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){Ie(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ie(e)}else Ie(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ie(e)}},e}(),Ce=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Oe.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Ne(t.next,o),error:t.error&&Ne(t.error,o),complete:t.complete&&Ne(t.complete,o)}):i=t;return s.destination=new Le(i),s}return me(t,e),t}(He);function Ie(e){var t;t=e,Pe.setTimeout((function(){throw t}))}var Re={closed:!0,next:De,error:function(e){throw e},complete:De},Fe="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}function Ue(e){return 0===e.length?Ye:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var Ge=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 He||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Me(r)?e:new Ce(e,t,n);return Be((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=$e(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[Fe]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ue(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=$e(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 $e(e){var t;return null!==(t=null!=e?e:Oe.Promise)&&void 0!==t?t:Promise}var je=be((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),We=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 me(t,e),t.prototype.lift=function(e){var t=new Ve(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;Be((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ge(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;Be((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;Be((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?Te:(this.currentObservers=null,o.push(e),new Se((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 Ge;return e.source=this,e},t.create=function(e,t){return new Ve(e,t)},t}(Ge),Ve=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return me(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:Te},t}(We),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 me(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,u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}},t}(We);let Xe=[],qe={};
|
|
103
|
+
/* global Reflect, Promise */function me(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}pe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ge(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 ye(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 ve(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 _e(e){return"function"==typeof e}function be(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 we=be((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 Se=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=ge(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 u=this.initialTeardown;if(_e(u))try{u()}catch(e){i=e instanceof we?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var h=ge(l),c=h.next();!c.done;c=h.next()){var f=c.value;try{ke(f)}catch(e){i=null!=i?i:[],e instanceof we?i=ve(ve([],ye(i)),ye(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}}if(i)throw new we(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)ke(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}(),Te=Se.EMPTY;function Me(e){return e instanceof Se||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function ke(e){_e(e)?e():e.unsubscribe()}var Pe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Oe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Oe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,ve([e,t],ye(n))):setTimeout.apply(void 0,ve([e,t],ye(n)))},clearTimeout:function(e){var t=Oe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function De(){}var xe=null;function Be(e){if(Pe.useDeprecatedSynchronousErrorHandling){var t=!xe;if(t&&(xe={errorThrown:!1,error:null}),e(),t){var n=xe,r=n.errorThrown,i=n.error;if(xe=null,r)throw i}}else e()}var He=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Me(t)&&t.add(n)):n.destination=Re,n}return me(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}(Se),Ae=Function.prototype.bind;function Ne(e,t){return Ae.call(e,t)}var Le=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){Ie(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ie(e)}else Ie(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ie(e)}},e}(),Ce=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Pe.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Ne(t.next,o),error:t.error&&Ne(t.error,o),complete:t.complete&&Ne(t.complete,o)}):i=t;return s.destination=new Le(i),s}return me(t,e),t}(He);function Ie(e){var t;t=e,Oe.setTimeout((function(){throw t}))}var Re={closed:!0,next:De,error:function(e){throw e},complete:De},Fe="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}function Ue(e){return 0===e.length?Ye:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var Ge=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 He||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Me(r)?e:new Ce(e,t,n);return Be((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=$e(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[Fe]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ue(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=$e(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 $e(e){var t;return null!==(t=null!=e?e:Pe.Promise)&&void 0!==t?t:Promise}var je=be((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),We=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 me(t,e),t.prototype.lift=function(e){var t=new Ve(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;Be((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ge(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;Be((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;Be((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?Te:(this.currentObservers=null,o.push(e),new Se((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 Ge;return e.source=this,e},t.create=function(e,t){return new Ve(e,t)},t}(Ge),Ve=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return me(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:Te},t}(We),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 me(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,u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}},t}(We);let Xe=[],qe={};
|
|
104
104
|
/**
|
|
105
105
|
* @name topic
|
|
106
106
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
|
@@ -232,7 +232,7 @@ e[e.pound=7]="pound",
|
|
|
232
232
|
/**
|
|
233
233
|
* XML-like tag
|
|
234
234
|
*/
|
|
235
|
-
e[e.tag=8]="tag"}(ft||(ft={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(dt||(dt={}));var
|
|
235
|
+
e[e.tag=8]="tag"}(ft||(ft={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(dt||(dt={}));var Pt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ot=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
236
236
|
/**
|
|
237
237
|
* https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
|
|
238
238
|
* Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
|
|
@@ -244,7 +244,7 @@ e[e.tag=8]="tag"}(ft||(ft={})),function(e){e[e.number=0]="number",e[e.dateTime=1
|
|
|
244
244
|
* @public
|
|
245
245
|
* @param skeleton skeleton string
|
|
246
246
|
*/
|
|
247
|
-
function Dt(e){var t={};return e.replace(
|
|
247
|
+
function Dt(e){var t={};return e.replace(Ot,(function(e){var n=e.length;switch(e[0]){
|
|
248
248
|
// Era
|
|
249
249
|
case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
|
|
250
250
|
// Year
|
|
@@ -325,7 +325,7 @@ e.hourCycles.length&&(
|
|
|
325
325
|
// @ts-ignore
|
|
326
326
|
t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
|
|
327
327
|
// TODO: Once hourCycle is fully supported remove the following with data generation
|
|
328
|
-
var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ut[n||""]||Ut[r||""]||Ut["".concat(r,"-001")]||Ut["001"])[0]}var $t=new RegExp("^".concat(
|
|
328
|
+
var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ut[n||""]||Ut[r||""]||Ut["".concat(r,"-001")]||Ut["001"])[0]}var $t=new RegExp("^".concat(Pt.source,"*")),jt=new RegExp("".concat(Pt.source,"*$"));function Wt(e,t){return{start:e,end:t}}
|
|
329
329
|
// #region Ponyfills
|
|
330
330
|
// Consolidate these variables up top for easier toggling during debugging
|
|
331
331
|
var Vt=!!String.prototype.startsWith,zt=!!String.fromCodePoint,Zt=!!Object.fromEntries,Xt=!!String.prototype.codePointAt,qt=!!String.prototype.trimStart,Kt=!!String.prototype.trimEnd,Jt=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qt=!0;try{
|
|
@@ -567,33 +567,33 @@ e.MISSING_VALUE="MISSING_VALUE",
|
|
|
567
567
|
// When value supplied is invalid
|
|
568
568
|
e.INVALID_VALUE="INVALID_VALUE",
|
|
569
569
|
// When we need specific Intl API but it's not available
|
|
570
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var On
|
|
570
|
+
e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var Pn,On=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Dn=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Tn.INVALID_VALUE,i)||this}return ht(t,e),t}(On),xn=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Tn.INVALID_VALUE,r)||this}return ht(t,e),t}(On),Bn=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Tn.MISSING_VALUE,n)||this}return ht(t,e),t}(On);function Hn(e){return"function"==typeof e}
|
|
571
571
|
// TODO(skeleton): add skeleton support
|
|
572
572
|
function An(e,t,n,r,i,o,
|
|
573
573
|
// For debugging
|
|
574
574
|
s){
|
|
575
575
|
// Hot path for straight simple msg translations
|
|
576
|
-
if(1===e.length&>(e[0]))return[{type:
|
|
576
|
+
if(1===e.length&>(e[0]))return[{type:Pn.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var h=l[u];
|
|
577
577
|
// Exit early for string parts.
|
|
578
|
-
if(gt(h))a.push({type:
|
|
578
|
+
if(gt(h))a.push({type:Pn.literal,value:h.value});else
|
|
579
579
|
// TODO: should this part be literal type?
|
|
580
580
|
// Replace `#` in plural rules with the actual numeric value.
|
|
581
|
-
if(St(h))"number"==typeof o&&a.push({type:
|
|
581
|
+
if(St(h))"number"==typeof o&&a.push({type:Pn.literal,value:n.getNumberFormat(t).format(o)});else{var c=h.value;
|
|
582
582
|
// Enforce that all required values are provided by the caller.
|
|
583
|
-
if(!i||!(c in i))throw new Bn(c,s);var f=i[c];if(yt(h))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),a.push({type:"string"==typeof f?
|
|
583
|
+
if(!i||!(c in i))throw new Bn(c,s);var f=i[c];if(yt(h))f&&"string"!=typeof f&&"number"!=typeof f||(f="string"==typeof f||"number"==typeof f?String(f):""),a.push({type:"string"==typeof f?Pn.literal:Pn.object,value:f});else
|
|
584
584
|
// Recursively format plural and select parts' option — which can be a
|
|
585
585
|
// nested pattern structure. The choosing of the option to use is
|
|
586
586
|
// abstracted-by and delegated-to the part helper object.
|
|
587
|
-
if(_t(h)){var d="string"==typeof h.style?r.date[h.style]:kt(h.style)?h.style.parsedOptions:void 0;a.push({type:
|
|
587
|
+
if(_t(h)){var d="string"==typeof h.style?r.date[h.style]:kt(h.style)?h.style.parsedOptions:void 0;a.push({type:Pn.literal,value:n.getDateTimeFormat(t,d).format(f)})}else if(bt(h)){d="string"==typeof h.style?r.time[h.style]:kt(h.style)?h.style.parsedOptions:r.time.medium;a.push({type:Pn.literal,value:n.getDateTimeFormat(t,d).format(f)})}else if(vt(h)){(d="string"==typeof h.style?r.number[h.style]:Mt(h.style)?h.style.parsedOptions:void 0)&&d.scale&&(f*=d.scale||1),a.push({type:Pn.literal,value:n.getNumberFormat(t,d).format(f)})}else{if(Tt(h)){var p=h.children,m=h.value,g=i[m];if(!Hn(g))throw new xn(m,"function",s);var y=g(An(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?Pn.literal:Pn.object,value:e}})))}if(wt(h)){if(!(v=h.options[f]||h.options.other))throw new Dn(h.value,f,Object.keys(h.options),s);a.push.apply(a,An(v.value,t,n,r,i))}else if(Et(h)){var v;if(!(v=h.options["=".concat(f)])){if(!Intl.PluralRules)throw new On('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tn.MISSING_INTL_API,s);var _=n.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));v=h.options[_]||h.options.other}if(!v)throw new Dn(h.value,f,Object.keys(h.options),s);a.push.apply(a,An(v.value,t,n,r,i,f-(h.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===Pn.literal&&t.type===Pn.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
|
|
588
588
|
/*
|
|
589
589
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
590
590
|
Copyrights licensed under the New BSD License.
|
|
591
591
|
See the accompanying LICENSE file for terms.
|
|
592
592
|
*/
|
|
593
593
|
// -- MessageFormat --------------------------------------------------------
|
|
594
|
-
function Nn(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?pt(pt(pt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=pt(pt({},i[t]),o[t]||{}),e}),{})):i),n}),pt({},e)):e}function Ln(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(
|
|
594
|
+
function Nn(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?pt(pt(pt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=pt(pt({},i[t]),o[t]||{}),e}),{})):i),n}),pt({},e)):e}function Ln(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Pn||(Pn={}));var Cn=/** @class */function(){function e(t,n,r,i){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
|
|
595
595
|
// Hot path for straight simple msg translations
|
|
596
|
-
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===
|
|
596
|
+
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Pn.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return An(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
|
|
597
597
|
// Defined first because it's used to build the format pattern.
|
|
598
598
|
this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
599
599
|
// Parse string messages into an AST.
|
|
@@ -655,7 +655,7 @@ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n
|
|
|
655
655
|
function E(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
|
|
656
656
|
// Prevent infinite loop in case updateOffset creates new moment
|
|
657
657
|
// objects.
|
|
658
|
-
!1===b&&(b=!0,r.updateOffset(this),b=!1)}function S(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function T(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,u=[],l=arguments.length;for(o=0;o<l;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}T(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,
|
|
658
|
+
!1===b&&(b=!0,r.updateOffset(this),b=!1)}function S(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function T(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var n=!0;return d((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,u=[],l=arguments.length;for(o=0;o<l;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];u.push(i)}T(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,P={};function O(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),P[e]||(T(t),P[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function x(e){var t,n;for(n in e)a(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
|
|
659
659
|
// Lenient ordinal parsing accepts just a number in addition to
|
|
660
660
|
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
|
|
661
661
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
@@ -679,8 +679,8 @@ Se=/\d\d?/,// 0 - 99
|
|
|
679
679
|
Te=/\d\d\d\d?/,// 999 - 9999
|
|
680
680
|
Me=/\d\d\d\d\d\d?/,// 99999 - 999999
|
|
681
681
|
ke=/\d{1,3}/,// 0 - 999
|
|
682
|
-
|
|
683
|
-
|
|
682
|
+
Pe=/\d{1,4}/,// 0 - 9999
|
|
683
|
+
Oe=/[+-]?\d{1,6}/,// -999999 - 999999
|
|
684
684
|
De=/\d+/,// 0 - inf
|
|
685
685
|
xe=/[+-]?\d+/,// -inf - inf
|
|
686
686
|
Be=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
|
|
@@ -736,7 +736,7 @@ ne("year","y"),
|
|
|
736
736
|
// PRIORITIES
|
|
737
737
|
se("year",1),
|
|
738
738
|
// PARSING
|
|
739
|
-
Le("Y",xe),Le("YY",Se,_e),Le("YYYY",
|
|
739
|
+
Le("Y",xe),Le("YY",Se,_e),Le("YYYY",Pe,we),Le("YYYYY",Oe,Ee),Le("YYYYYY",Oe,Ee),Ye(["YYYYY","YYYYYY"],je),Ye("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):he(e)})),Ye("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),Ye("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};
|
|
740
740
|
// MOMENTS
|
|
741
741
|
var yt=ce("FullYear",!0);function vt(){return ue(this.year())}function _t(e,t,n,r,i,o,s){
|
|
742
742
|
// can't just apply() to create a date:
|
|
@@ -765,7 +765,7 @@ ne("week","w"),ne("isoWeek","W"),
|
|
|
765
765
|
se("week",5),se("isoWeek",5),
|
|
766
766
|
// PARSING
|
|
767
767
|
Le("w",Se),Le("ww",Se,_e),Le("W",Se),Le("WW",Se,_e),Ue(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=he(e)}));var kt={dow:0,// Sunday is the first day of the week.
|
|
768
|
-
doy:6};function
|
|
768
|
+
doy:6};function Pt(){return this._week.dow}function Ot(){return this._week.doy}
|
|
769
769
|
// MOMENTS
|
|
770
770
|
function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function xt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
|
|
771
771
|
// FORMATTING
|
|
@@ -837,7 +837,7 @@ function gn(e,t){var n;return e&&((n=l(t)?_n(e):yn(e,t))?
|
|
|
837
837
|
// moment.duration._locale = moment._locale = data;
|
|
838
838
|
an=n:"undefined"!=typeof console&&console.warn&&
|
|
839
839
|
//warn user if arguments are passed but the locale could not be set
|
|
840
|
-
console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=ln[e])
|
|
840
|
+
console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=ln[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return hn[t.parentLocale]||(hn[t.parentLocale]=[]),hn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new H(B(r,t)),hn[e]&&hn[e].forEach((function(e){yn(e.name,e.config)})),
|
|
841
841
|
// backwards compat for now: also set the locale
|
|
842
842
|
// make sure we set the locale AFTER all child locales have been
|
|
843
843
|
// created, so we won't end up with the child locale set.
|
|
@@ -864,9 +864,9 @@ t=mn(e))return t;e=[e]}return dn(e)}function bn(){return k(ln)}function wn(e){va
|
|
|
864
864
|
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
|
865
865
|
var En=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Tn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],
|
|
866
866
|
// iso time formats and regexes
|
|
867
|
-
kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],
|
|
867
|
+
kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Pn=/^\/?Date\((-?\d+)/i,
|
|
868
868
|
// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
|
|
869
|
-
|
|
869
|
+
On=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
|
|
870
870
|
// date from iso format
|
|
871
871
|
function xn(e){var t,n,r,i,o,s,a=e._i,u=En.exec(a)||Sn.exec(a),l=Mn.length,h=kn.length;if(u){for(g(e).iso=!0,t=0,n=l;t<n;t++)if(Mn[t][1].exec(u[1])){i=Mn[t][0],r=!1!==Mn[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=h;t<n;t++)if(kn[t][1].exec(u[3])){
|
|
872
872
|
// match[2] should be 'T' or space
|
|
@@ -876,9 +876,9 @@ return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s
|
|
|
876
876
|
// the only allowed military tz is Z
|
|
877
877
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
|
878
878
|
// date and time from ref 2822 format
|
|
879
|
-
function Cn(e){var t,n=
|
|
879
|
+
function Cn(e){var t,n=On.exec(An(e._i));if(n){if(t=Bn(n[4],n[3],n[2],n[5],n[6],n[7]),!Nn(n[1],t,e))return;e._a=t,e._tzm=Ln(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
|
880
880
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
|
881
|
-
function In(e){var t=
|
|
881
|
+
function In(e){var t=Pn.exec(e._i);null===t?(xn(e),!1===e._isValid&&(delete e._isValid,Cn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
|
882
882
|
// Final attempt, use Input Fallback
|
|
883
883
|
r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
|
|
884
884
|
// Pick the first defined of two or three arguments.
|
|
@@ -1009,13 +1009,13 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
|
1009
1009
|
// there is no such time in the given timezone.
|
|
1010
1010
|
function gr(e,t,n){var i,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=dr(He,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Nr(this,Dr(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:mr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function _r(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=dr(Be,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Er(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&hr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tr(){return!!this.isValid()&&!this._isUTC}function Mr(){return!!this.isValid()&&this._isUTC}function kr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
|
1011
1011
|
// ASP.NET json date format regex
|
|
1012
|
-
r.updateOffset=function(){};var
|
|
1012
|
+
r.updateOffset=function(){};var Pr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
|
1013
1013
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
|
1014
1014
|
// somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
|
|
1015
1015
|
// and further modified to allow for strings containing both week and day
|
|
1016
|
-
|
|
1016
|
+
Or=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Dr(e,t){var n,r,i,o=e,
|
|
1017
1017
|
// matching against regexp is expensive, do it on demand
|
|
1018
|
-
s=null;return ur(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=
|
|
1018
|
+
s=null;return ur(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Pr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:he(s[Ve])*n,h:he(s[ze])*n,m:he(s[Ze])*n,s:he(s[Xe])*n,ms:he(lr(1e3*s[qe]))*n}):(s=Or.exec(e))?(n="-"===s[1]?-1:1,o={y:xr(s[2],n),M:xr(s[3],n),w:xr(s[4],n),d:xr(s[5],n),h:xr(s[6],n),m:xr(s[7],n),s:xr(s[8],n)}):null==o?
|
|
1019
1019
|
// checks for null or undefined
|
|
1020
1020
|
o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Hr(qn(o.from),qn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new ar(o),ur(e)&&a(e,"_locale")&&(r._locale=e._locale),ur(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function xr(e,t){
|
|
1021
1021
|
// We'd normally use ~~inp for this, but unfortunately it also
|
|
@@ -1027,7 +1027,7 @@ return(isNaN(n)?0:n)*t}function Br(e,t){var n={};return n.months=t.month()-e.mon
|
|
|
1027
1027
|
// TODO: remove 'name' arg after deprecation is removed
|
|
1028
1028
|
function Ar(e,t){return function(n,r){var i;
|
|
1029
1029
|
//invert the arguments, but complain about it
|
|
1030
|
-
return null===r||isNaN(+r)||(
|
|
1030
|
+
return null===r||isNaN(+r)||(O(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),Nr(this,Dr(n,r),e),this}}function Nr(e,t,n,i){var o=t._milliseconds,s=lr(t._days),a=lr(t._months);e.isValid()&&(i=null==i||i,a&&ht(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))}Dr.fn=ar.prototype,Dr.invalid=sr;var Lr=Ar(1,"add"),Cr=Ar(-1,"subtract");function Ir(e){return"string"==typeof e||e instanceof String}
|
|
1031
1031
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
|
1032
1032
|
function Rr(e){return S(e)||c(e)||Ir(e)||h(e)||Yr(e)||Fr(e)||null==e}function Fr(e){var t,n,r=s(e)&&!u(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"],l=o.length;for(t=0;t<l;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Yr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!h(t)&&Ir(e)})).length),t&&n}function Ur(e){var t,n,r=s(e)&&!u(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 Gr(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 $r(e,t){
|
|
1033
1033
|
// Support for single parameter, formats only overload to the calendar function
|
|
@@ -1068,7 +1068,7 @@ return e<100&&e>=0?new Date(e+400,t,n)-di:new Date(e,t,n).valueOf()}function gi(
|
|
|
1068
1068
|
// Date.UTC remaps years 0-99 to 1900-1999
|
|
1069
1069
|
return e<100&&e>=0?Date.UTC(e+400,t,n)-di:Date.UTC(e,t,n)}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*ci),fi);break;case"minute":t=this._d.valueOf(),t-=pi(t,ci);break;case"second":t=this._d.valueOf(),t-=pi(t,hi)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=fi-pi(t+(this._isUTC?0:this.utcOffset()*ci),fi)-1;break;case"minute":t=this._d.valueOf(),t+=ci-pi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=hi-pi(t,hi)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function Ei(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ti(){
|
|
1070
1070
|
// new Date(NaN).toJSON() === null
|
|
1071
|
-
return this.isValid()?this.toISOString():null}function Mi(){return y(this)}function ki(){return d({},g(this))}function
|
|
1071
|
+
return this.isValid()?this.toISOString():null}function Mi(){return y(this)}function ki(){return d({},g(this))}function Pi(){return g(this).overflow}function Oi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Di(e,t){var n,i,o,s=this._eras||_n("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
|
|
1072
1072
|
// truncate time
|
|
1073
1073
|
o=r(s[n].since).startOf("day"),s[n].since=o.valueOf()),typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":
|
|
1074
1074
|
// truncate time
|
|
@@ -1095,7 +1095,7 @@ ne("weekYear","gg"),ne("isoWeekYear","GG"),
|
|
|
1095
1095
|
// PRIORITY
|
|
1096
1096
|
se("weekYear",1),se("isoWeekYear",1),
|
|
1097
1097
|
// PARSING
|
|
1098
|
-
Le("G",xe),Le("g",xe),Le("GG",Se,_e),Le("gg",Se,_e),Le("GGGG",
|
|
1098
|
+
Le("G",xe),Le("g",xe),Le("GG",Se,_e),Le("gg",Se,_e),Le("GGGG",Pe,we),Le("gggg",Pe,we),Le("GGGGG",Oe,Ee),Le("ggggg",Oe,Ee),Ue(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=he(e)})),Ue(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),
|
|
1099
1099
|
// ALIASES
|
|
1100
1100
|
ne("quarter","Q"),
|
|
1101
1101
|
// PRIORITY
|
|
@@ -1153,7 +1153,7 @@ Le("S",ke,ve),Le("SS",ke,_e),Le("SSS",ke,be),ro="SSSS";ro.length<=9;ro+="S")Le(r
|
|
|
1153
1153
|
// MOMENTS
|
|
1154
1154
|
function ao(){return this._isUTC?"UTC":""}function uo(){return this._isUTC?"Coordinated Universal Time":""}io=ce("Milliseconds",!1),
|
|
1155
1155
|
// FORMATTING
|
|
1156
|
-
Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var lo=E.prototype;function ho(e){return qn(1e3*e)}function co(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}lo.add=Lr,lo.calendar=$r,lo.clone=jr,lo.diff=Kr,lo.endOf=vi,lo.format=ni,lo.from=ri,lo.fromNow=ii,lo.to=oi,lo.toNow=si,lo.get=me,lo.invalidAt=
|
|
1156
|
+
Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var lo=E.prototype;function ho(e){return qn(1e3*e)}function co(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}lo.add=Lr,lo.calendar=$r,lo.clone=jr,lo.diff=Kr,lo.endOf=vi,lo.format=ni,lo.from=ri,lo.fromNow=ii,lo.to=oi,lo.toNow=si,lo.get=me,lo.invalidAt=Pi,lo.isAfter=Wr,lo.isBefore=Vr,lo.isBetween=zr,lo.isSame=Zr,lo.isSameOrAfter=Xr,lo.isSameOrBefore=qr,lo.isValid=Mi,lo.lang=ui,lo.locale=ai,lo.localeData=li,lo.max=Jn,lo.min=Kn,lo.parsingFlags=ki,lo.set=ge,lo.startOf=yi,lo.subtract=Cr,lo.toArray=Ei,lo.toObject=Si,lo.toDate=wi,lo.toISOString=ei,lo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=Ti,lo.toString=Qr,lo.unix=bi,lo.valueOf=_i,lo.creationData=Oi,lo.eraName=Hi,lo.eraNarrow=Ai,lo.eraAbbr=Ni,lo.eraYear=Li,lo.year=yt,lo.isLeapYear=vt,lo.weekYear=Wi,lo.isoWeekYear=Vi,lo.quarter=lo.quarters=Qi,lo.month=ct,lo.daysInMonth=ft,lo.week=lo.weeks=Dt,lo.isoWeek=lo.isoWeeks=xt,lo.weeksInYear=Xi,lo.weeksInWeekYear=qi,lo.isoWeeksInYear=zi,lo.isoWeeksInISOWeekYear=Zi,lo.date=eo,lo.day=lo.days=Wt,lo.weekday=Vt,lo.isoWeekday=zt,lo.dayOfYear=to,lo.hour=lo.hours=on,lo.minute=lo.minutes=no,lo.second=lo.seconds=oo,lo.millisecond=lo.milliseconds=io,lo.utcOffset=gr,lo.utc=vr,lo.local=_r,lo.parseZone=br,lo.hasAlignedHourOffset=wr,lo.isDST=Er,lo.isLocal=Tr,lo.isUtcOffset=Mr,lo.isUtc=kr,lo.isUTC=kr,lo.zoneAbbr=ao,lo.zoneName=uo,lo.dates=M("dates accessor is deprecated. Use date instead.",eo),lo.months=M("months accessor is deprecated. Use month instead",ct),lo.years=M("years accessor is deprecated. Use year instead",yt),lo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),lo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var po=H.prototype;function mo(e,t,n,r){var i=_n(),o=p().set(r,t);return i[n](o,e)}function go(e,t,n){if(h(e)&&(t=e,e=void 0),e=e||"",null!=t)return mo(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mo(e,r,n,"month");return i}
|
|
1157
1157
|
// ()
|
|
1158
1158
|
// (5)
|
|
1159
1159
|
// (fmt, 5)
|
|
@@ -1162,21 +1162,21 @@ Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var lo=E.prototype;function ho(e){r
|
|
|
1162
1162
|
// (true, 5)
|
|
1163
1163
|
// (true, fmt, 5)
|
|
1164
1164
|
// (true, fmt)
|
|
1165
|
-
function yo(e,t,n,r){"boolean"==typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,h(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 vo(e,t){return go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function bo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function Eo(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=N,po.longDateFormat=V,po.invalidDate=Z,po.ordinal=K,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=x,po.eras=Di,po.erasParse=xi,po.erasConvertYear=Bi,po.erasAbbrRegex=Ii,po.erasNameRegex=Ci,po.erasNarrowRegex=Ri,po.months=st,po.monthsShort=at,po.monthsParse=lt,po.monthsRegex=pt,po.monthsShortRegex=dt,po.week=Mt,po.firstDayOfYear=
|
|
1165
|
+
function yo(e,t,n,r){"boolean"==typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,h(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 vo(e,t){return go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function bo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function Eo(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=N,po.longDateFormat=V,po.invalidDate=Z,po.ordinal=K,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=x,po.eras=Di,po.erasParse=xi,po.erasConvertYear=Bi,po.erasAbbrRegex=Ii,po.erasNameRegex=Ci,po.erasNarrowRegex=Ri,po.months=st,po.monthsShort=at,po.monthsParse=lt,po.monthsRegex=pt,po.monthsShortRegex=dt,po.week=Mt,po.firstDayOfYear=Ot,po.firstDayOfWeek=Pt,po.weekdays=Yt,po.weekdaysMin=Gt,po.weekdaysShort=Ut,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=qt,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===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
|
1166
1166
|
// Side effect imports
|
|
1167
1167
|
r.lang=M("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",_n);var So=Math.abs;function To(){var e=this._data;return this._milliseconds=So(this._milliseconds),this._days=So(this._days),this._months=So(this._months),e.milliseconds=So(e.milliseconds),e.seconds=So(e.seconds),e.minutes=So(e.minutes),e.hours=So(e.hours),e.months=So(e.months),e.years=So(e.years),this}function Mo(e,t,n,r){var i=Dr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
|
1168
1168
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
1169
1169
|
function ko(e,t){return Mo(this,e,t,1)}
|
|
1170
1170
|
// supports only 2.0-style subtract(1, 's') or subtract(duration)
|
|
1171
|
-
function
|
|
1171
|
+
function Po(e,t){return Mo(this,e,t,-1)}function Oo(e){return e<0?Math.floor(e):Math.ceil(e)}function Do(){var e,t,n,r,i,o=this._milliseconds,s=this._days,a=this._months,u=this._data;
|
|
1172
1172
|
// if we have a mix of positive and negative values, bubble down first
|
|
1173
1173
|
// check: https://github.com/moment/moment/issues/2166
|
|
1174
|
-
return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*
|
|
1174
|
+
return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Oo(Bo(a)+s),s=0,a=0),
|
|
1175
1175
|
// The following code bubbles up values, see the tests for
|
|
1176
1176
|
// examples of what that means.
|
|
1177
1177
|
u.milliseconds=o%1e3,e=le(o/1e3),u.seconds=e%60,t=le(e/60),u.minutes=t%60,n=le(t/60),u.hours=n%24,s+=le(n/24),a+=
|
|
1178
1178
|
// convert days to months
|
|
1179
|
-
i=le(xo(s)),s-=
|
|
1179
|
+
i=le(xo(s)),s-=Oo(Bo(i)),
|
|
1180
1180
|
// 12 months -> 1 year
|
|
1181
1181
|
r=le(a/12),a%=12,u.days=s,u.months=a,u.years=r,this}function xo(e){
|
|
1182
1182
|
// 400 years have 146097 days (taking into account leap year rules)
|
|
@@ -1215,7 +1215,7 @@ e=le(u/60),t=le(e/60),u%=60,e%=60,
|
|
|
1215
1215
|
// 12 months -> 1 year
|
|
1216
1216
|
n=le(h/12),h%=12,
|
|
1217
1217
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
|
1218
|
-
r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",o=ls(this._months)!==ls(c)?"-":"",s=ls(this._days)!==ls(c)?"-":"",a=ls(this._milliseconds)!==ls(c)?"-":"",i+"P"+(n?o+n+"Y":"")+(h?o+h+"M":"")+(l?s+l+"D":"")+(t||e||u?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(u?a+r+"S":"")):"P0D"}var cs=ar.prototype;return cs.isValid=or,cs.abs=To,cs.add=ko,cs.subtract=
|
|
1218
|
+
r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",o=ls(this._months)!==ls(c)?"-":"",s=ls(this._days)!==ls(c)?"-":"",a=ls(this._milliseconds)!==ls(c)?"-":"",i+"P"+(n?o+n+"Y":"")+(h?o+h+"M":"")+(l?s+l+"D":"")+(t||e||u?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(u?a+r+"S":"")):"P0D"}var cs=ar.prototype;return cs.isValid=or,cs.abs=To,cs.add=ko,cs.subtract=Po,cs.as=Ho,cs.asMilliseconds=Lo,cs.asSeconds=Co,cs.asMinutes=Io,cs.asHours=Ro,cs.asDays=Fo,cs.asWeeks=Yo,cs.asMonths=Uo,cs.asQuarters=Go,cs.asYears=$o,cs.valueOf=Ao,cs._bubble=Do,cs.clone=jo,cs.get=Wo,cs.milliseconds=zo,cs.seconds=Zo,cs.minutes=Xo,cs.hours=qo,cs.days=Ko,cs.weeks=es,cs.months=Jo,cs.years=Qo,cs.humanize=as,cs.toISOString=hs,cs.toString=hs,cs.toJSON=hs,cs.locale=ai,cs.localeData=li,cs.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hs),cs.lang=ui,
|
|
1219
1219
|
// FORMATTING
|
|
1220
1220
|
Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),
|
|
1221
1221
|
// PARSING
|
|
@@ -1234,77 +1234,83 @@ WEEK:"GGGG-[W]WW",// <input type="week" />
|
|
|
1234
1234
|
MONTH:"YYYY-MM"},r}()}));
|
|
1235
1235
|
/* src/CasinoIntegratedGamePage.svelte generated by Svelte v3.48.0 */
|
|
1236
1236
|
function Tr(e){let t;function n(e,t){/*isLoggedIn*/
|
|
1237
|
-
return e[
|
|
1237
|
+
return e[6]?Or:/*funMode*/e[11]?Pr:void 0}let r=n(e),i=r&&r(e);return{c(){t=g("div"),i&&i.c(),b(t,"class","CasinoIntegratedGamePage"),b(t,"part","CasinoIntegratedGamePage")},m(n,r){p(n,t,r),i&&i.m(t,null)
|
|
1238
1238
|
/*div_binding*/,e[65](t)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(n){n&&m(t),i&&i.d()
|
|
1239
1239
|
/*div_binding*/,e[65](null)}}}
|
|
1240
|
-
// (
|
|
1240
|
+
// (340:2) {#if hasErrors}
|
|
1241
1241
|
function Mr(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Server Error.",b(t,"class","SearchLoading"),b(t,"part","SearchLoading")},m(e,n){p(e,t,n)},p:r,d(e){e&&m(t)}}}
|
|
1242
|
-
// (
|
|
1242
|
+
// (337:0) {#if isLoading}
|
|
1243
1243
|
function kr(e){let t;return{c(){t=g("p"),t.textContent="Loading, please wait ...",b(t,"class","SearchLoading"),b(t,"part","SearchLoading")},m(e,n){p(e,t,n)},p:r,d(e){e&&m(t)}}}
|
|
1244
|
-
// (
|
|
1245
|
-
function
|
|
1246
|
-
return e[
|
|
1244
|
+
// (379:8) {#if funMode}
|
|
1245
|
+
function Pr(e){let t,n,r,i,o,a,u,l,h,f,T,M,k,P,O,D,x,B,H,A,N,L,C,I,R,F=/*$_*/e[22]("gamePage.signIn")+"",Y=/*$_*/e[22]("gamePage.register")+"";function U(e,t){/*isFullscreen*/
|
|
1246
|
+
return e[17]?xr:Dr}let G=U(e),$=G(e),j=/*gamebanneractive*/"true"==e[1]&&!/*isFullscreen*/e[17]&&Br();return{c(){t=g("div"),n=g("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',r=v(),i=g("p"),o=g("span"),a=y(/*time*/e[4]),u=v(),l=g("div"),h=v(),f=g("div"),T=g("div"),M=g("iframe"),P=v(),O=g("div"),D=g("div"),x=g("button"),B=y(F),H=v(),A=g("button"),N=y(Y),L=v(),$.c(),C=v(),j&&j.c(),b(n,"class","backButton"),b(n,"part","backButton"),b(i,"class","Time"),b(i,"part","Time"),b(t,"class","GamePageIntegratedTopSection"),b(t,"part","GamePageIntegratedTopSection"),b(M,"title","Games"),b(M,"class","GamesContainer"),b(M,"part","GamesContainer"),b(M,"aria-hidden","false"),c(M.src,k=/*game*/e[10].launchUrl)||b(M,"src",k),b(x,"class","LoginButton"),b(x,"part","LoginButton"),b(A,"class","RegisterButton"),b(A,"part","RegisterButton"),b(D,"class","ButtonsContainer ButtonsContainerFunMode"),b(D,"part","ButtonsContainer ButtonsContainerFunMode"),b(O,"class","BottomGame"),b(O,"part","BottomGame"),b(T,"id","IframeGame"),b(T,"part","IframeGame"),E(T,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),E(T,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),E(T,"max-width",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].width?Math.floor(/*game*/e[10].width)+"px":"1280px"),E(T,"max-height",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),b(f,"id","IframeContainer"),b(f,"part","IframeContainer"),S(f,"FullsScreenLayout",/*isFullscreen*/e[17])},m(s,c){p(s,t,c),d(t,n),d(t,r),d(t,i),d(i,o),d(o,a),
|
|
1247
1247
|
/*p_binding_1*/e[56](i),d(t,u),d(t,l),p(s,h,c),p(s,f,c),d(f,T),d(T,M),
|
|
1248
|
-
/*iframe_1_binding_1*/e[57](M),d(T,
|
|
1249
|
-
/*div3_binding_1*/e[62](
|
|
1248
|
+
/*iframe_1_binding_1*/e[57](M),d(T,P),d(T,O),d(O,D),d(D,x),d(x,B),d(D,H),d(D,A),d(A,N),d(O,L),$.m(O,null),
|
|
1249
|
+
/*div3_binding_1*/e[62](O),
|
|
1250
1250
|
/*div4_binding*/e[63](T),d(f,C),j&&j.m(f,null)
|
|
1251
|
-
/*div5_binding*/,e[64](f),I||(R=[_(n,"click",/*click_handler_4*/e[55]),_(x,"click",/*click_handler_5*/e[58]),_(A,"click",/*click_handler_6*/e[59])],I=!0)},p(e,t){/*time*/
|
|
1251
|
+
/*div5_binding*/,e[64](f),I||(R=[_(n,"click",/*click_handler_4*/e[55]),_(x,"click",/*click_handler_5*/e[58]),_(A,"click",/*click_handler_6*/e[59])],I=!0)},p(e,t){/*time*/16&t[0]&&w(a,/*time*/e[4]),/*game*/1024&t[0]&&!c(M.src,k=/*game*/e[10].launchUrl)&&b(M,"src",k),/*$_*/4194304&t[0]&&F!==(F=/*$_*/e[22]("gamePage.signIn")+"")&&w(B,F),/*$_*/4194304&t[0]&&Y!==(Y=/*$_*/e[22]("gamePage.register")+"")&&w(N,Y),G===(G=U(e))&&$?$.p(e,t):($.d(1),$=G(e),$&&($.c(),$.m(O,null))),/*isFullscreen, definitiveIframeWidth*/393216&t[0]&&E(T,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),/*isFullscreen, definitiveIframeHeight*/655360&t[0]&&E(T,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),/*isFullscreen, isModal, game*/136192&t[0]&&E(T,"max-width",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].width?Math.floor(/*game*/e[10].width)+"px":"1280px"),/*isFullscreen, isModal, game*/136192&t[0]&&E(T,"max-height",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[1]||/*isFullscreen*/e[17]?j&&(j.d(1),j=null):j||(j=Br(),j.c(),j.m(f,null)),/*isFullscreen*/131072&t[0]&&S(f,"FullsScreenLayout",/*isFullscreen*/e[17])},d(n){n&&m(t)
|
|
1252
1252
|
/*p_binding_1*/,e[56](null),n&&m(h),n&&m(f)
|
|
1253
1253
|
/*iframe_1_binding_1*/,e[57](null),$.d(),
|
|
1254
1254
|
/*div3_binding_1*/e[62](null),
|
|
1255
1255
|
/*div4_binding*/e[63](null),j&&j.d()
|
|
1256
1256
|
/*div5_binding*/,e[64](null),I=!1,s(R)}}}
|
|
1257
|
-
// (
|
|
1258
|
-
function
|
|
1259
|
-
return e[
|
|
1257
|
+
// (344:6) {#if isLoggedIn}
|
|
1258
|
+
function Or(e){let t,n,r,i,o,a,u,l,h,f,T,M,k,P,O,D,x,B,H,A,N,L,C=/*$_*/e[22]("gamePage.deposit")+"",I=/*haspanicbutton*/"true"===e[0]&&Hr(e);function R(e,t){/*isFullscreen*/
|
|
1259
|
+
return e[17]?Nr:Ar}let F=R(e),Y=F(e),U=/*gamebanneractive*/"true"==e[1]&&!/*isFullscreen*/e[17]&&Lr();return{c(){t=g("div"),n=g("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',r=v(),i=g("p"),o=g("span"),a=y(/*time*/e[4]),u=v(),l=g("button"),h=y(C),f=v(),T=g("div"),M=g("div"),k=g("iframe"),x=v(),B=g("div"),I&&I.c(),H=v(),Y.c(),A=v(),U&&U.c(),b(n,"class","backButton"),b(n,"part","backButton"),b(i,"class","Time"),b(i,"part","Time"),b(l,"class","DepositButton"),b(l,"part","DepositButton"),b(t,"class","GamePageIntegratedTopSection"),b(t,"part","GamePageIntegratedTopSection"),b(k,"title","Games"),b(k,"id","IframeGame"),b(k,"class","GamesContainer"),b(k,"part","GamesContainer"),b(k,"aria-hidden","false"),c(k.src,P=/*game*/e[10].launchUrl)||b(k,"src",P),b(k,"width",O=/*gameContainerWidth*/e[14]+"px"),b(k,"height",D=/*gameContainerHeight*/e[15]+"px"),b(B,"class","BottomGame BottomGameLoggedin"),b(B,"part","BottomGame BottomGameLoggedin"),b(M,"id","IframeGame"),b(M,"part","IframeGame"),E(M,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),E(M,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),E(M,"max-width",/*isFullscreen*/e[17]?"none":/*game*/e[10].width?/*game*/e[10].width+"px":"1280px"),E(M,"max-height",/*isFullscreen*/e[17]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),b(T,"id","IframeContainer"),b(T,"part","IframeContainer"),S(T,"FullsScreenLayout",/*isFullscreen*/e[17])},m(s,c){p(s,t,c),d(t,n),d(t,r),d(t,i),d(i,o),d(o,a),
|
|
1260
1260
|
/*p_binding*/e[46](i),d(t,u),d(t,l),d(l,h),p(s,f,c),p(s,T,c),d(T,M),d(M,k),
|
|
1261
1261
|
/*iframe_1_binding*/e[48](k),d(M,x),d(M,B),I&&I.m(B,null),d(B,H),Y.m(B,null),
|
|
1262
1262
|
/*div1_binding*/e[52](B),
|
|
1263
1263
|
/*div2_binding*/e[53](M),d(T,A),U&&U.m(T,null)
|
|
1264
|
-
/*div3_binding*/,e[54](T),N||(L=[_(n,"click",/*click_handler*/e[45]),_(l,"click",/*click_handler_1*/e[47])],N=!0)},p(e,t){/*time*/
|
|
1264
|
+
/*div3_binding*/,e[54](T),N||(L=[_(n,"click",/*click_handler*/e[45]),_(l,"click",/*click_handler_1*/e[47])],N=!0)},p(e,t){/*time*/16&t[0]&&w(a,/*time*/e[4]),/*$_*/4194304&t[0]&&C!==(C=/*$_*/e[22]("gamePage.deposit")+"")&&w(h,C),/*game*/1024&t[0]&&!c(k.src,P=/*game*/e[10].launchUrl)&&b(k,"src",P),/*gameContainerWidth*/16384&t[0]&&O!==(O=/*gameContainerWidth*/e[14]+"px")&&b(k,"width",O),/*gameContainerHeight*/32768&t[0]&&D!==(D=/*gameContainerHeight*/e[15]+"px")&&b(k,"height",D),/*haspanicbutton*/"true"===e[0]?I?I.p(e,t):(I=Hr(e),I.c(),I.m(B,H)):I&&(I.d(1),I=null),F===(F=R(e))&&Y?Y.p(e,t):(Y.d(1),Y=F(e),Y&&(Y.c(),Y.m(B,null))),/*isFullscreen, definitiveIframeWidth*/393216&t[0]&&E(M,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),/*isFullscreen, definitiveIframeHeight*/655360&t[0]&&E(M,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),/*isFullscreen, game*/132096&t[0]&&E(M,"max-width",/*isFullscreen*/e[17]?"none":/*game*/e[10].width?/*game*/e[10].width+"px":"1280px"),/*isFullscreen, game*/132096&t[0]&&E(M,"max-height",/*isFullscreen*/e[17]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[1]||/*isFullscreen*/e[17]?U&&(U.d(1),U=null):U||(U=Lr(),U.c(),U.m(T,null)),/*isFullscreen*/131072&t[0]&&S(T,"FullsScreenLayout",/*isFullscreen*/e[17])},d(n){n&&m(t)
|
|
1265
1265
|
/*p_binding*/,e[46](null),n&&m(f),n&&m(T)
|
|
1266
1266
|
/*iframe_1_binding*/,e[48](null),I&&I.d(),Y.d(),
|
|
1267
1267
|
/*div1_binding*/e[52](null),
|
|
1268
1268
|
/*div2_binding*/e[53](null),U&&U.d()
|
|
1269
1269
|
/*div3_binding*/,e[54](null),N=!1,s(L)}}}
|
|
1270
|
-
// (
|
|
1270
|
+
// (399:16) {:else}
|
|
1271
1271
|
function Dr(e){let t,n,i;return{c(){t=g("button"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',b(t,"class","FullscreenButton"),b(t,"part","FullscreenButton")},m(r,o){p(r,t,o),n||(i=_(t,"click",/*click_handler_8*/e[61]),n=!0)},p:r,d(e){e&&m(t),n=!1,i()}}}
|
|
1272
|
-
// (
|
|
1272
|
+
// (395:16) {#if isFullscreen}
|
|
1273
1273
|
function xr(e){let t,n,i;return{c(){t=g("button"),t.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',b(t,"class","FullscreenButton"),b(t,"part","FullscreenButton")},m(r,o){p(r,t,o),n||(i=_(t,"click",/*click_handler_7*/e[60]),n=!0)},p:r,d(e){e&&m(t),n=!1,i()}}}
|
|
1274
|
-
// (
|
|
1274
|
+
// (406:12) {#if gamebanneractive == 'true' && !isFullscreen}
|
|
1275
1275
|
function Br(e){let t;return{c(){t=g("div"),t.innerHTML="<h3>Your banner here</h3>",b(t,"class","BannerSection"),b(t,"part","BannerSection")},m(e,n){p(e,t,n)},d(e){e&&m(t)}}}
|
|
1276
|
-
// (
|
|
1277
|
-
function Hr(e){let t,n,r,i,o,s=/*$_*/e[22]("gamePage.breakButton")+"";return{c(){t=g("div"),n=g("button"),r=y(s),b(n,"class",i="PanicButton "+("PC"!==_r(/*userAgent*/e[23])?"PanicButtonMobile":"")),b(n,"part",o="PanicButton "+("PC"!==_r(/*userAgent*/e[23])?"PanicButtonMobile":"")),S(n,"PanicButtonAnimation",/*panicLoading*/e[
|
|
1278
|
-
/*button_binding*/e[49](n)},p(e,t){/*$_*/4194304&t[0]&&s!==(s=/*$_*/e[22]("gamePage.breakButton")+"")&&w(r,s),/*panicLoading*/
|
|
1276
|
+
// (356:14) {#if haspanicbutton === "true"}
|
|
1277
|
+
function Hr(e){let t,n,r,i,o,s=/*$_*/e[22]("gamePage.breakButton")+"";return{c(){t=g("div"),n=g("button"),r=y(s),b(n,"class",i="PanicButton "+("PC"!==_r(/*userAgent*/e[23])?"PanicButtonMobile":"")),b(n,"part",o="PanicButton "+("PC"!==_r(/*userAgent*/e[23])?"PanicButtonMobile":"")),S(n,"PanicButtonAnimation",/*panicLoading*/e[9]),b(t,"class","PanicSection"),b(t,"part","PanicSection")},m(i,o){p(i,t,o),d(t,n),d(n,r),
|
|
1278
|
+
/*button_binding*/e[49](n)},p(e,t){/*$_*/4194304&t[0]&&s!==(s=/*$_*/e[22]("gamePage.breakButton")+"")&&w(r,s),/*panicLoading*/512&t[0]&&S(n,"PanicButtonAnimation",/*panicLoading*/e[9])},d(n){n&&m(t)
|
|
1279
1279
|
/*button_binding*/,e[49](null)}}}
|
|
1280
|
-
// (
|
|
1280
|
+
// (365:14) {:else}
|
|
1281
1281
|
function Ar(e){let t,n,i;return{c(){t=g("button"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',b(t,"class","FullscreenButton"),b(t,"part","FullscreenButton")},m(r,o){p(r,t,o),n||(i=_(t,"click",/*click_handler_3*/e[51]),n=!0)},p:r,d(e){e&&m(t),n=!1,i()}}}
|
|
1282
|
-
// (
|
|
1282
|
+
// (361:14) {#if isFullscreen}
|
|
1283
1283
|
function Nr(e){let t,n,i;return{c(){t=g("button"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',b(t,"class","FullscreenButton"),b(t,"part","FullscreenButton")},m(r,o){p(r,t,o),n||(i=_(t,"click",/*click_handler_2*/e[50]),n=!0)},p:r,d(e){e&&m(t),n=!1,i()}}}
|
|
1284
|
-
// (
|
|
1284
|
+
// (372:10) {#if gamebanneractive == 'true' && !isFullscreen}
|
|
1285
1285
|
function Lr(e){let t;return{c(){t=g("div"),t.innerHTML="<h3>Your banner here</h3>",b(t,"class","BannerSection"),b(t,"part","BannerSection")},m(e,n){p(e,t,n)},d(e){e&&m(t)}}}function Cr(e){let t;function n(e,t){/*isLoading*/
|
|
1286
|
-
return e[
|
|
1286
|
+
return e[8]?kr:/*hasErrors*/e[7]?Mr:Tr}let i=n(e),o=i(e);return{c(){o.c(),t=y(""),this.c=r},m(e,n){o.m(e,n),p(e,t,n)},p(e,r){i===(i=n(e))&&o?o.p(e,r):(o.d(1),o=i(e),o&&(o.c(),o.m(t.parentNode,t)))},i:r,o:r,d(e){o.d(e),e&&m(t)}}}function Ir(e,t,n){let r;var i,o;i=vr,o=e=>n(22,r=e),e.$$.on_destroy.push(f(i,o));let s,a,u,l,h,c,d,p,m,g,y,v,_,b,w,E,S,{endpoint:T=""}=t,{lang:M=""}=t,{session:P=""}=t,{userid:D=""}=t,{clientstyling:x=""}=t,{clientstylingurl:B=""}=t,{loginurl:H=""}=t,{registerurl:A=""}=t,{depositurl:N=""}=t,{loginevent:L=""}=t,{registerevent:C=""}=t,{depositevent:I=""}=t,{clockformat:R=""}=t,{haspanicbutton:F="false"}=t,{playforfun:Y="true"}=t,{checksession:U="true"}=t,{gamebanneractive:G="false"}=t,{gameid:$=""}=t,j=!1,W=!1,V=!0,z=!1,Z=0,X=!1,q=!1,K=!0,J=!1,Q=window.navigator.userAgent;!function({withLocale:e,translations:t}){sr.subscribe((n=>{null==n&&(Gn.set(t),sr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1287
1287
|
/*dictionary.set(translations);
|
|
1288
1288
|
locale.set(_locale);*/}({withLocale:"en",translations:{}}),Object.keys(br).forEach((e=>{!function(e,t){Wn(e,t)}(e,br[e])}));
|
|
1289
1289
|
// @TODO game typescript model type
|
|
1290
|
-
const ee=(e,t)=>{let r=new URL(`${T}/casino/games/${e}`);r.searchParams.append("language",M),r.searchParams.append("expand","vendor"),n(
|
|
1290
|
+
const ee=(e,t)=>{let r=new URL(`${T}/casino/games/${e}`);r.searchParams.append("language",M),r.searchParams.append("expand","vendor"),n(12,K=t||!1),fetch(r.href).then((e=>e.json())).then((e=>{n(10,c=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",M),
|
|
1291
1291
|
// @TODO wtf? session check or go home
|
|
1292
1292
|
// Maybe we should check if the session is valid, somehow?
|
|
1293
|
-
u&&u.length>0&&(n(
|
|
1293
|
+
u&&u.length>0&&(n(6,j=!0),t.searchParams.append("_sid",u),t.searchParams.append("funMode","false")),e.launchUrl=t,w.scrollIntoView(),e})(e[0])),c.launchUrl&&(X=!0,n(11,q="true"==Y&&c.hasFunMode),"true"==Y&&c.hasAnonymousFunMode)}),(e=>{console.error("There was an error",e),n(7,W=!0)})).then((()=>{d&&(ne(),K||te())}))},te=()=>{n(18,_=c.width),n(19,b=c.height),y=c.width,v=c.height},ne=()=>{let e=getComputedStyle(d),t=getComputedStyle(g);n(14,p=parseInt(e.width.slice(0,-2))),n(15,m=parseInt(e.height.slice(0,-2)));const r=c.width/(c.height+100);y=parseInt(t.width),v=parseInt(t.height),
|
|
1294
1294
|
// resize logic for maintaining game ratio when resizing
|
|
1295
|
-
p/r>m-E.clientHeight-S.clientHeight?(v=m-E.clientHeight-S.clientHeight,y=m*r):(y=p,v=p/r),n(
|
|
1295
|
+
p/r>m-E.clientHeight-S.clientHeight?(v=m-E.clientHeight-S.clientHeight,y=m*r):(y=p,v=p/r),n(18,_=y?Math.floor(y)+"px":"1280px"),n(19,b=v?Math.floor(v)+"px":"720px")},re=()=>{
|
|
1296
1296
|
// sent to modal component a flag (detailsObtained) by witch to determine if a game is open
|
|
1297
1297
|
window.postMessage({type:"GameStateOnResize",detailsObtained:X},window.location.href),
|
|
1298
1298
|
// make sure that a game is open before trying to get the element properties
|
|
1299
1299
|
X&&d&&"PC"==_r(Q)&&ne()},ie=()=>{L&&(window.postMessage({type:L,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),H&&(
|
|
1300
1300
|
// @ts-ignore
|
|
1301
|
-
window.location=H)
|
|
1301
|
+
window.location=H),
|
|
1302
|
+
//Analytics event
|
|
1303
|
+
"function"==typeof gtag&>ag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},oe=()=>{C&&(window.postMessage({type:C,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),A&&(
|
|
1302
1304
|
// @ts-ignore
|
|
1303
|
-
window.location=A)
|
|
1305
|
+
window.location=A),
|
|
1306
|
+
//Analytics event
|
|
1307
|
+
"function"==typeof gtag&>ag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},se=()=>{I&&(window.postMessage({type:I},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),
|
|
1308
|
+
//Analytics event
|
|
1309
|
+
"function"==typeof gtag&>ag("event","GoToDeposit",{context:"IntegratedGamePage"})),N&&(
|
|
1304
1310
|
// @ts-ignore
|
|
1305
|
-
window.location=N)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!J||ue()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const ue=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(J?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),n(
|
|
1311
|
+
window.location=N)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!J||ue()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const ue=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(J?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),n(17,J=!1)):(d.requestFullscreen?d.requestFullscreen():d.webkitRequestFullscreen?d.webkitRequestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.msRequestFullscreen&&d.msRequestFullscreen(),n(17,J=!0)))},le=setInterval((()=>{n(4,s=R?Sr().format(R):Sr().format("LTS"))}),100),he=()=>{var e;e=M,sr.set(e),(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)})(Q),n(8,V=!1)},ce=()=>{"true"==U?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),de(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(T,P).then((e=>{u=e.Guid,e.UserID,n(6,j=!0)}),(e=>{n(6,j=!1),console.error("err on session",e)})):u=P},fe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},pe=e=>{Z=0,h=setInterval((()=>{Z+=1,n(9,z=!0),Z>=3&&clearInterval(h)}),1e3)},me=e=>{Z<3&&n(9,z=!1),clearInterval(h)};k((()=>(window.addEventListener("resize",re,!1),Er.isNative(Q),()=>{n(9,z=!1),null==l||l.removeEventListener("mousedown",pe),null==l||l.removeEventListener("touchstart",pe),
|
|
1306
1312
|
// on mouseup stop interval count
|
|
1307
|
-
null==l||l.removeEventListener("mouseup",me),null==l||l.removeEventListener("touchend",me),window.removeEventListener("resize",re),clearInterval(le)})));return e.$$set=e=>{"endpoint"in e&&n(29,T=e.endpoint),"lang"in e&&n(30,M=e.lang),"session"in e&&n(31,
|
|
1313
|
+
null==l||l.removeEventListener("mouseup",me),null==l||l.removeEventListener("touchend",me),window.removeEventListener("resize",re),clearInterval(le)})));return e.$$set=e=>{"endpoint"in e&&n(29,T=e.endpoint),"lang"in e&&n(30,M=e.lang),"session"in e&&n(31,P=e.session),"userid"in e&&n(32,D=e.userid),"clientstyling"in e&&n(33,x=e.clientstyling),"clientstylingurl"in e&&n(34,B=e.clientstylingurl),"loginurl"in e&&n(35,H=e.loginurl),"registerurl"in e&&n(36,A=e.registerurl),"depositurl"in e&&n(37,N=e.depositurl),"loginevent"in e&&n(38,L=e.loginevent),"registerevent"in e&&n(39,C=e.registerevent),"depositevent"in e&&n(40,I=e.depositevent),"clockformat"in e&&n(41,R=e.clockformat),"haspanicbutton"in e&&n(0,F=e.haspanicbutton),"playforfun"in e&&n(42,Y=e.playforfun),"checksession"in e&&n(43,U=e.checksession),"gamebanneractive"in e&&n(1,G=e.gamebanneractive),"gameid"in e&&n(44,$=e.gameid)},e.$$.update=()=>{/*lang*/1073741824&e.$$.dirty[0]&&M&&he(),/*endpoint, lang*/1610612736&e.$$.dirty[0]|/*gameid*/8192&e.$$.dirty[1]&&T&&$&&M&&ee($),/*endpoint*/536870912&e.$$.dirty[0]|/*session, userid*/3&e.$$.dirty[1]&&P&&D&&T&&ce(),/*customStylingContainer*/8&e.$$.dirty[0]|/*clientstyling*/4&e.$$.dirty[1]&&x&&w&&(()=>{let e=document.createElement("style");e.innerHTML=x,w.appendChild(e)})(),/*customStylingContainer*/8&e.$$.dirty[0]|/*clientstylingurl*/8&e.$$.dirty[1]&&B&&w&&(()=>{let e=document.createElement("style");if(B){let t=new URL(B);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{w.appendChild(e)}),1)}))}})(),/*panicButton*/4&e.$$.dirty[0]&&l&&(null==l||l.addEventListener("mousedown",pe,!1),null==l||l.addEventListener("touchstart",pe,!1),
|
|
1308
1314
|
// on mouseup stop interval count
|
|
1309
|
-
null==l||l.addEventListener("mouseup",me,!1),null==l||l.addEventListener("touchend",me,!1))},[F,G,l,s,a,j,W,V,z,c,q,K,d,p,m,g,J,_,b,
|
|
1315
|
+
null==l||l.addEventListener("mouseup",me,!1),null==l||l.addEventListener("touchend",me,!1))},[F,G,l,w,s,a,j,W,V,z,c,q,K,d,p,m,g,J,_,b,E,S,r,Q,ie,oe,se,ue,fe,T,M,P,D,x,B,H,A,N,L,C,I,R,Y,U,$,()=>fe(),function(e){O[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},()=>se(),function(e){O[e?"unshift":"push"]((()=>{a=e,n(5,a)}))},function(e){O[e?"unshift":"push"]((()=>{l=e,n(2,l)}))},()=>ue(),()=>ue(),function(e){O[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){O[e?"unshift":"push"]((()=>{g=e,n(16,g)}))},function(e){O[e?"unshift":"push"]((()=>{d=e,n(13,d)}))},()=>fe(),function(e){O[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},function(e){O[e?"unshift":"push"]((()=>{a=e,n(5,a)}))},()=>ie(),()=>oe(),()=>ue(),()=>ue(),function(e){O[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){O[e?"unshift":"push"]((()=>{g=e,n(16,g)}))},function(e){O[e?"unshift":"push"]((()=>{d=e,n(13,d)}))},function(e){O[e?"unshift":"push"]((()=>{w=e,n(3,w)}))}]}class Rr extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Ir,Cr,u,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),C()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),C()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),C()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),C()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),C()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),C()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),C()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),C()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),C()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),C()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),C()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),C()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),C()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),C()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),C()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),C()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),C()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),C()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),C()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",Rr),Rr}));
|
|
1310
1316
|
//# sourceMappingURL=casino-integrated-game-page.js.map
|