@everymatrix/casino-calendar 1.41.0 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
  | Version | Release date | Impacted areas | Changes |
5
5
  | ------- | ------------ | ----------------------------- | --------------------------------------- |
6
+ | 1.42.0 | Thu Sep 19 2024 | casino-calendar | fix(EMFE-33094)(casino-calendar): center the items and increase z index |
6
7
  | 1.37.2 | Mon Aug 12 2024 | casino-calendar | fix(EMFE-31075)(casino-calendar): fix scroll vertically <br /> fix(EMFE-30869)(casino-calendar,casino-calendar0daily-details): treat some... <br /> fix(EMFE-29425)(casino-calendar): add customstyling <br /> chore(EMFE-27178)(casino-calendar): add env for casino calendar <br /> fix(EMFE-27178)(casino-calendar): add user roles segregation, device segregation, environment segregation and custom styling |
7
8
  | 1.33.2 | Tue Jun 11 2024 | casino-calendar | fix(EMFE-31075)(casino-calendar): fix scroll vertically |
8
9
  | 1.29.8 | Tue May 14 2024 | casino-calendar | fix(EMFE-30869)(casino-calendar,casino-calendar0daily-details): treat some... |
@@ -46,7 +46,7 @@ for(let t=0;t<H.length;t+=1){const e=H[t];O.has(e)||(
46
46
  O.add(e),e())}H.length=0}while(C.length);for(;S.length;)S.pop()();L=!1,O.clear(),x(t)}function R(t){if(null!==t.fragment){t.update(),n(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(I)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
- */const $=new Set;function D(t,e){const r=t.$$;null!==r.fragment&&(!function(t){const e=[],r=[];H.forEach((n=>-1===t.indexOf(n)?e.push(n):r.push(n))),r.forEach((t=>t())),H=e}(r.after_update),n(r.on_destroy),r.fragment&&r.fragment.d(e),
49
+ */const D=new Set;function $(t,e){const r=t.$$;null!==r.fragment&&(!function(t){const e=[],r=[];H.forEach((n=>-1===t.indexOf(n)?e.push(n):r.push(n))),r.forEach((t=>t())),H=e}(r.after_update),n(r.on_destroy),r.fragment&&r.fragment.d(e),
50
50
  // TODO null out other refs, including component.$$ (but need to
51
51
  // preserve final state?)
52
52
  r.on_destroy=r.fragment=null,r.ctx=[])}function F(t,e){-1===t.$$.dirty[0]&&(C.push(t),L||(L=!0,P.then(N)),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function k(o,a,l,c,u,d,p,f=[-1]){const y=s;x(o);const m=o.$$={fragment:null,ctx:[],
@@ -61,7 +61,7 @@ m.fragment=!!c&&c(m.ctx),a.target){if(a.hydrate){const t=function(t){return Arra
61
61
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
62
62
  m.fragment&&m.fragment.l(t),t.forEach(h)}else
63
63
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
64
- m.fragment&&m.fragment.c();a.intro&&((b=o.$$.fragment)&&b.i&&($.delete(b),b.i(v))),function(t,r,o,a){const{fragment:s,after_update:l}=t.$$;s&&s.m(r,o),a||
64
+ m.fragment&&m.fragment.c();a.intro&&((b=o.$$.fragment)&&b.i&&(D.delete(b),b.i(v))),function(t,r,o,a){const{fragment:s,after_update:l}=t.$$;s&&s.m(r,o),a||
65
65
  // onMount happens before the initial afterUpdate
66
66
  I((()=>{const r=t.$$.on_mount.map(e).filter(i);
67
67
  // if the component was destroyed immediately
@@ -74,7 +74,7 @@ n(r),t.$$.on_mount=[]})),l.forEach(I)}(o,a.target,a.anchor,a.customElement),N()}
74
74
  // @ts-ignore todo: improve typings
75
75
  for(const t in this.$$.slotted)
76
76
  // @ts-ignore todo: improve typings
77
- this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){D(this,1),this.$destroy=t}$on(e,r){
77
+ this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,r){this[t]=r}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){$(this,1),this.$destroy=t}$on(e,r){
78
78
  // TODO should this delegate to addEventListener?
79
79
  if(!i(r))return t;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(r),()=>{const t=n.indexOf(r);-1!==t&&n.splice(t,1)}}$set(t){var e;this.$$set&&(e=t,0!==Object.keys(e).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}})
80
80
  /* eslint-disable no-prototype-builtins */;var G="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
@@ -130,7 +130,7 @@ self.fetch.bind(self);
130
130
  PERFORMANCE OF THIS SOFTWARE.
131
131
  ***************************************************************************** */
132
132
  /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
133
- var dt=function(t,e){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},dt(t,e)};function pt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}dt(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function ft(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function mt(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function gt(t){return"function"==typeof t}function bt(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}"function"==typeof SuppressedError&&SuppressedError;var vt=bt((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Et(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var wt=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,e,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=ft(o),s=a.next();!s.done;s=a.next()){s.value.remove(this)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);var l=this.initialTeardown;if(gt(l))try{l()}catch(t){i=t instanceof vt?t.errors:[t]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ft(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{xt(d)}catch(t){i=null!=i?i:[],t instanceof vt?i=mt(mt([],yt(i)),yt(t.errors)):i.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(i)throw new vt(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)xt(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Et(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Et(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Tt=wt.EMPTY;function _t(t){return t instanceof wt||t&&"closed"in t&&gt(t.remove)&&gt(t.add)&&gt(t.unsubscribe)}function xt(t){gt(t)?t():t.unsubscribe()}var Bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ct={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=Ct.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,mt([t,e],yt(r))):setTimeout.apply(void 0,mt([t,e],yt(r)))},clearTimeout:function(t){var e=Ct.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function At(){}var Ht=null;function St(t){if(Bt.useDeprecatedSynchronousErrorHandling){var e=!Ht;if(e&&(Ht={errorThrown:!1,error:null}),t(),e){var r=Ht,n=r.errorThrown,i=r.error;if(Ht=null,n)throw i}}else t()}var Pt=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,_t(e)&&e.add(r)):r.destination=Rt,r}return pt(e,t),e.create=function(t,e,r){return new Mt(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(wt),Lt=Function.prototype.bind;function It(t,e){return Lt.call(t,e)}var Ot=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){Nt(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){Nt(t)}else Nt(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){Nt(t)}},t}(),Mt=function(t){function e(e,r,n){var i,o,a=t.call(this)||this;gt(e)||!e?i={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:a&&Bt.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},i={next:e.next&&It(e.next,o),error:e.error&&It(e.error,o),complete:e.complete&&It(e.complete,o)}):i=e;return a.destination=new Ot(i),a}return pt(e,t),e}(Pt);function Nt(t){var e;e=t,Ct.setTimeout((function(){throw e}))}var Rt={closed:!0,next:At,error:function(t){throw t},complete:At},$t="function"==typeof Symbol&&Symbol.observable||"@@observable";function Dt(t){return t}var Ft=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,i=this,o=(n=t)&&n instanceof Pt||function(t){return t&&gt(t.next)&&gt(t.error)&&gt(t.complete)}(n)&&_t(n)?t:new Mt(t,e,r);return St((function(){var t=i,e=t.operator,r=t.source;o.add(e?e.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=kt(e))((function(e,n){var i=new Mt({next:function(e){try{t(e)}catch(t){n(t),i.unsubscribe()}},error:n,complete:e});r.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[$t]=function(){return this},t.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Dt:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)})(this)},t.prototype.toPromise=function(t){var e=this;return new(t=kt(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function kt(t){var e;return null!==(e=null!=t?t:Bt.Promise)&&void 0!==e?e:Promise}var Ut=bt((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Gt=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return pt(e,t),e.prototype.lift=function(t){var e=new jt(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new Ut},e.prototype.next=function(t){var e=this;St((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=ft(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;St((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;St((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?Tt:(this.currentObservers=null,o.push(t),new wt((function(){e.currentObservers=null,Et(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,i=e.isStopped;r?t.error(n):i&&t.complete()},e.prototype.asObservable=function(){var t=new Ft;return t.source=this,t},e.create=function(t,e){return new jt(t,e)},e}(Ft),jt=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return pt(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:Tt},e}(Gt),zt={now:function(){return(zt.delegate||Date).now()},delegate:void 0},Vt=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=zt);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,r),i}return pt(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,a=r._timestampProvider,s=r._windowTime;n||(i.push(e),!o&&i.push(a.now()+s)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var a=r.now(),s=0,l=1;l<n.length&&n[l]<=a;l+=2)s=l;s&&n.splice(0,s+1)}},e}(Gt);let Xt=[],Kt={};
133
+ var dt=function(t,e){return dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},dt(t,e)};function pt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}dt(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function ft(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function mt(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function gt(t){return"function"==typeof t}function bt(t){var e=t((function(t){Error.call(t),t.stack=(new Error).stack}));return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}"function"==typeof SuppressedError&&SuppressedError;var vt=bt((function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(t,e){return e+1+") "+t.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}}));function Et(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}var wt=function(){function t(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var t,e,r,n,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var a=ft(o),s=a.next();!s.done;s=a.next()){s.value.remove(this)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else o.remove(this);var l=this.initialTeardown;if(gt(l))try{l()}catch(t){i=t instanceof vt?t.errors:[t]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ft(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{xt(d)}catch(t){i=null!=i?i:[],t instanceof vt?i=mt(mt([],yt(i)),yt(t.errors)):i.push(t)}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}if(i)throw new vt(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)xt(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(e)}},t.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},t.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},t.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Et(e,t)},t.prototype.remove=function(e){var r=this._finalizers;r&&Et(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Tt=wt.EMPTY;function _t(t){return t instanceof wt||t&&"closed"in t&&gt(t.remove)&&gt(t.add)&&gt(t.unsubscribe)}function xt(t){gt(t)?t():t.unsubscribe()}var Bt={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ct={setTimeout:function(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=Ct.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,mt([t,e],yt(r))):setTimeout.apply(void 0,mt([t,e],yt(r)))},clearTimeout:function(t){var e=Ct.delegate;return((null==e?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function At(){}var Ht=null;function St(t){if(Bt.useDeprecatedSynchronousErrorHandling){var e=!Ht;if(e&&(Ht={errorThrown:!1,error:null}),t(),e){var r=Ht,n=r.errorThrown,i=r.error;if(Ht=null,n)throw i}}else t()}var Pt=function(t){function e(e){var r=t.call(this)||this;return r.isStopped=!1,e?(r.destination=e,_t(e)&&e.add(r)):r.destination=Rt,r}return pt(e,t),e.create=function(t,e,r){return new Mt(t,e,r)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(wt),Lt=Function.prototype.bind;function It(t,e){return Lt.call(t,e)}var Ot=function(){function t(t){this.partialObserver=t}return t.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(t){Nt(t)}},t.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(t){Nt(t)}else Nt(t)},t.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(t){Nt(t)}},t}(),Mt=function(t){function e(e,r,n){var i,o,a=t.call(this)||this;gt(e)||!e?i={next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:a&&Bt.useDeprecatedNextContext?((o=Object.create(e)).unsubscribe=function(){return a.unsubscribe()},i={next:e.next&&It(e.next,o),error:e.error&&It(e.error,o),complete:e.complete&&It(e.complete,o)}):i=e;return a.destination=new Ot(i),a}return pt(e,t),e}(Pt);function Nt(t){var e;e=t,Ct.setTimeout((function(){throw e}))}var Rt={closed:!0,next:At,error:function(t){throw t},complete:At},Dt="function"==typeof Symbol&&Symbol.observable||"@@observable";function $t(t){return t}var Ft=function(){function t(t){t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n,i=this,o=(n=t)&&n instanceof Pt||function(t){return t&&gt(t.next)&&gt(t.error)&&gt(t.complete)}(n)&&_t(n)?t:new Mt(t,e,r);return St((function(){var t=i,e=t.operator,r=t.source;o.add(e?e.call(o,r):r?i._subscribe(o):i._trySubscribe(o))})),o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},t.prototype.forEach=function(t,e){var r=this;return new(e=kt(e))((function(e,n){var i=new Mt({next:function(e){try{t(e)}catch(t){n(t),i.unsubscribe()}},error:n,complete:e});r.subscribe(i)}))},t.prototype._subscribe=function(t){var e;return null===(e=this.source)||void 0===e?void 0:e.subscribe(t)},t.prototype[Dt]=function(){return this},t.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?$t:1===t.length?t[0]:function(e){return t.reduce((function(t,e){return e(t)}),e)})(this)},t.prototype.toPromise=function(t){var e=this;return new(t=kt(t))((function(t,r){var n;e.subscribe((function(t){return n=t}),(function(t){return r(t)}),(function(){return t(n)}))}))},t.create=function(e){return new t(e)},t}();function kt(t){var e;return null!==(e=null!=t?t:Bt.Promise)&&void 0!==e?e:Promise}var Ut=bt((function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Gt=function(t){function e(){var e=t.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return pt(e,t),e.prototype.lift=function(t){var e=new jt(this,this);return e.operator=t,e},e.prototype._throwIfClosed=function(){if(this.closed)throw new Ut},e.prototype.next=function(t){var e=this;St((function(){var r,n;if(e._throwIfClosed(),!e.isStopped){e.currentObservers||(e.currentObservers=Array.from(e.observers));try{for(var i=ft(e.currentObservers),o=i.next();!o.done;o=i.next()){o.value.next(t)}}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},e.prototype.error=function(t){var e=this;St((function(){if(e._throwIfClosed(),!e.isStopped){e.hasError=e.isStopped=!0,e.thrownError=t;for(var r=e.observers;r.length;)r.shift().error(t)}}))},e.prototype.complete=function(){var t=this;St((function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}}))},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(e){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var e=this,r=this,n=r.hasError,i=r.isStopped,o=r.observers;return n||i?Tt:(this.currentObservers=null,o.push(t),new wt((function(){e.currentObservers=null,Et(o,t)})))},e.prototype._checkFinalizedStatuses=function(t){var e=this,r=e.hasError,n=e.thrownError,i=e.isStopped;r?t.error(n):i&&t.complete()},e.prototype.asObservable=function(){var t=new Ft;return t.source=this,t},e.create=function(t,e){return new jt(t,e)},e}(Ft),jt=function(t){function e(e,r){var n=t.call(this)||this;return n.destination=e,n.source=r,n}return pt(e,t),e.prototype.next=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===r||r.call(e,t)},e.prototype.error=function(t){var e,r;null===(r=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===r||r.call(e,t)},e.prototype.complete=function(){var t,e;null===(e=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===e||e.call(t)},e.prototype._subscribe=function(t){var e,r;return null!==(r=null===(e=this.source)||void 0===e?void 0:e.subscribe(t))&&void 0!==r?r:Tt},e}(Gt),zt={now:function(){return(zt.delegate||Date).now()},delegate:void 0},Vt=function(t){function e(e,r,n){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===n&&(n=zt);var i=t.call(this)||this;return i._bufferSize=e,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,e),i._windowTime=Math.max(1,r),i}return pt(e,t),e.prototype.next=function(e){var r=this,n=r.isStopped,i=r._buffer,o=r._infiniteTimeWindow,a=r._timestampProvider,s=r._windowTime;n||(i.push(e),!o&&i.push(a.now()+s)),this._trimBuffer(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var e=this._innerSubscribe(t),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!t.closed;i+=r?1:2)t.next(n[i]);return this._checkFinalizedStatuses(t),e},e.prototype._trimBuffer=function(){var t=this,e=t._bufferSize,r=t._timestampProvider,n=t._buffer,i=t._infiniteTimeWindow,o=(i?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!i){for(var a=r.now(),s=0,l=1;l<n.length&&n[l]<=a;l+=2)s=l;s&&n.splice(0,s+1)}},e}(Gt);let Xt=[],Kt={};
134
134
  /**
135
135
  * @name topic
136
136
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -338,7 +338,7 @@ return"*"===n?e.minimumFractionDigits=r.length:i&&"#"===i[0]?e.maximumFractionDi
338
338
  else if(Se.test(i.stem))e=he(he({},e),Ie(i.stem));else{var a=Oe(i.stem);a&&(e=he(he({},e),a));var s=Me(i.stem);s&&(e=he(he({},e),s))}}return e}
339
339
  // @generated from time-data-gen.ts
340
340
  // prettier-ignore
341
- var $e,De={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
341
+ var De,$e={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
342
342
  /**
343
343
  * Returns the best matching date time pattern if a date time skeleton
344
344
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -359,7 +359,7 @@ t.hourCycles.length&&(
359
359
  // @ts-ignore
360
360
  e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
361
361
  // TODO: Once hourCycle is fully supported remove the following with data generation
362
- var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(De[r||""]||De[n||""]||De["".concat(n,"-001")]||De["001"])[0]}var ke=new RegExp("^".concat(xe.source,"*")),Ue=new RegExp("".concat(xe.source,"*$"));function Ge(t,e){return{start:t,end:e}}
362
+ var r,n=t.language;return"root"!==n&&(r=t.maximize().region),($e[r||""]||$e[n||""]||$e["".concat(n,"-001")]||$e["001"])[0]}var ke=new RegExp("^".concat(xe.source,"*")),Ue=new RegExp("".concat(xe.source,"*$"));function Ge(t,e){return{start:t,end:e}}
363
363
  // #region Ponyfills
364
364
  // Consolidate these variables up top for easier toggling during debugging
365
365
  var je=!!String.prototype.startsWith,ze=!!String.fromCodePoint,Ve=!!Object.fromEntries,Xe=!!String.prototype.codePointAt,Ke=!!String.prototype.trimStart,Ye=!!String.prototype.trimEnd,We=!!Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},Ze=!0;try{
@@ -369,7 +369,7 @@ var je=!!String.prototype.startsWith,ze=!!String.fromCodePoint,Ve=!!Object.fromE
369
369
  * Pattern_Syntax support: not supported
370
370
  * See https://github.com/formatjs/formatjs/issues/2822
371
371
  */
372
- Ze="a"===(null===($e=ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===$e?void 0:$e[0])}catch(t){Ze=!1}var qe,Je=je?// Native
372
+ Ze="a"===(null===(De=ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===De?void 0:De[0])}catch(t){Ze=!1}var qe,Je=je?// Native
373
373
  function(t,e,r){return t.startsWith(e,r)}:// For IE11
374
374
  function(t,e,r){return t.slice(r,r+e.length)===e},Qe=ze?String.fromCodePoint:// IE11
375
375
  function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r,n="",i=t.length,o=0;i>o;){if((r=t[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},tr=
@@ -639,7 +639,7 @@ this.formats=Sr(t.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.
639
639
  // Default format options used as the prototype of the `formats` provided to the
640
640
  // constructor. These are used when constructing the internal Intl.NumberFormat
641
641
  // and Intl.DateTimeFormat instances.
642
- t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const Ir={},Or=(t,e,r)=>r?(e in Ir||(Ir[e]={}),t in Ir[e]||(Ir[e][t]=r),r):r,Mr=(t,e)=>{if(null==e)return;if(e in Ir&&t in Ir[e])return Ir[e][t];const r=on(e);for(let n=0;n<r.length;n++){const i=Dr(r[n],t);if(i)return Or(t,e,i)}};let Nr;const Rr=Wt({});function $r(t){return t in Nr}function Dr(t,e){if(!$r(t))return null;const r=function(t){return Nr[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}Zt([Rr],(([t])=>Object.keys(t))),Rr.subscribe((t=>Nr=t));const Fr={};function kr(t){return Fr[t]}function Ur(t){return null!=t&&on(t).some((t=>{var e;return null==(e=kr(t))?void 0:e.size}))}function Gr(t,e){const r=Promise.all(e.map((e=>(function(t,e){Fr[t].delete(e),0===Fr[t].size&&delete Fr[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>function(t,...e){delete Ir[t],Rr.update((r=>(r[t]=oe.all([r[t]||{},...e]),r)))}(t,...e)))}const jr={};function zr(t){if(!Ur(t))return t in jr?jr[t]:Promise.resolve();const e=function(t){return on(t).map((t=>{const e=kr(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return jr[t]=Promise.all(e.map((([t,e])=>Gr(t,e)))).then((()=>{if(Ur(t))return zr(t);delete jr[t]})),jr[t]}const Vr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Xr(){return Vr}const Kr=Wt(!1);var Yr=Object.defineProperty,Wr=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,tn=(t,e,r)=>e in t?Yr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;let en;const rn=Wt(null);function nn(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function on(t,e=Xr().fallbackLocale){const r=nn(t);return e?[...new Set([...r,...nn(e)])]:r}function an(){return null!=en?en:void 0}rn.subscribe((t=>{en=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const sn=(ln=((t,e)=>{for(var r in e||(e={}))Jr.call(e,r)&&tn(t,r,e[r]);if(qr)for(var r of qr(e))Qr.call(e,r)&&tn(t,r,e[r]);return t})({},rn),Wr(ln,Zr({set:t=>{if(t&&function(t){if(null==t)return;const e=on(t);for(let t=0;t<e.length;t++){const r=e[t];if($r(r))return r}}(t)&&Ur(t)){const{loadingDelay:e}=Xr();let r;return"undefined"!=typeof window&&null!=an()&&e?r=window.setTimeout((()=>Kr.set(!0)),e):Kr.set(!0),zr(t).then((()=>{rn.set(t)})).finally((()=>{clearTimeout(r),Kr.set(!1)}))}return rn.set(t)}})));var ln;const cn=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}};var un=Object.defineProperty,hn=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,fn=(t,e,r)=>e in t?un(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,yn=(t,e)=>{for(var r in e||(e={}))dn.call(e,r)&&fn(t,r,e[r]);if(hn)for(var r of hn(e))pn.call(e,r)&&fn(t,r,e[r]);return t},mn=(t,e)=>{var r={};for(var n in t)dn.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&hn)for(var n of hn(t))e.indexOf(n)<0&&pn.call(t,n)&&(r[n]=t[n]);return r};const gn=(t,e)=>{const{formats:r}=Xr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},bn=cn((t=>{var e=t,{locale:r,format:n}=e,i=mn(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=gn("number",n)),new Intl.NumberFormat(r,i)})),vn=cn((t=>{var e=t,{locale:r,format:n}=e,i=mn(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=gn("date",n):0===Object.keys(i).length&&(i=gn("date","short")),new Intl.DateTimeFormat(r,i)})),En=cn((t=>{var e=t,{locale:r,format:n}=e,i=mn(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=gn("time",n):0===Object.keys(i).length&&(i=gn("time","short")),new Intl.DateTimeFormat(r,i)})),wn=cn((
642
+ t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const Ir={},Or=(t,e,r)=>r?(e in Ir||(Ir[e]={}),t in Ir[e]||(Ir[e][t]=r),r):r,Mr=(t,e)=>{if(null==e)return;if(e in Ir&&t in Ir[e])return Ir[e][t];const r=on(e);for(let n=0;n<r.length;n++){const i=$r(r[n],t);if(i)return Or(t,e,i)}};let Nr;const Rr=Wt({});function Dr(t){return t in Nr}function $r(t,e){if(!Dr(t))return null;const r=function(t){return Nr[t]||null}(t);return function(t,e){if(null==e)return;if(e in t)return t[e];const r=e.split(".");let n=t;for(let t=0;t<r.length;t++)if("object"==typeof n){if(t>0){const e=r.slice(t,r.length).join(".");if(e in n){n=n[e];break}}n=n[r[t]]}else n=void 0;return n}(r,e)}Zt([Rr],(([t])=>Object.keys(t))),Rr.subscribe((t=>Nr=t));const Fr={};function kr(t){return Fr[t]}function Ur(t){return null!=t&&on(t).some((t=>{var e;return null==(e=kr(t))?void 0:e.size}))}function Gr(t,e){const r=Promise.all(e.map((e=>(function(t,e){Fr[t].delete(e),0===Fr[t].size&&delete Fr[t]}(t,e),e().then((t=>t.default||t))))));return r.then((e=>function(t,...e){delete Ir[t],Rr.update((r=>(r[t]=oe.all([r[t]||{},...e]),r)))}(t,...e)))}const jr={};function zr(t){if(!Ur(t))return t in jr?jr[t]:Promise.resolve();const e=function(t){return on(t).map((t=>{const e=kr(t);return[t,e?[...e]:[]]})).filter((([,t])=>t.length>0))}(t);return jr[t]=Promise.all(e.map((([t,e])=>Gr(t,e)))).then((()=>{if(Ur(t))return zr(t);delete jr[t]})),jr[t]}const Vr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Xr(){return Vr}const Kr=Wt(!1);var Yr=Object.defineProperty,Wr=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,qr=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,Qr=Object.prototype.propertyIsEnumerable,tn=(t,e,r)=>e in t?Yr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;let en;const rn=Wt(null);function nn(t){return t.split("-").map(((t,e,r)=>r.slice(0,e+1).join("-"))).reverse()}function on(t,e=Xr().fallbackLocale){const r=nn(t);return e?[...new Set([...r,...nn(e)])]:r}function an(){return null!=en?en:void 0}rn.subscribe((t=>{en=null!=t?t:void 0,"undefined"!=typeof window&&null!=t&&document.documentElement.setAttribute("lang",t)}));const sn=(ln=((t,e)=>{for(var r in e||(e={}))Jr.call(e,r)&&tn(t,r,e[r]);if(qr)for(var r of qr(e))Qr.call(e,r)&&tn(t,r,e[r]);return t})({},rn),Wr(ln,Zr({set:t=>{if(t&&function(t){if(null==t)return;const e=on(t);for(let t=0;t<e.length;t++){const r=e[t];if(Dr(r))return r}}(t)&&Ur(t)){const{loadingDelay:e}=Xr();let r;return"undefined"!=typeof window&&null!=an()&&e?r=window.setTimeout((()=>Kr.set(!0)),e):Kr.set(!0),zr(t).then((()=>{rn.set(t)})).finally((()=>{clearTimeout(r),Kr.set(!1)}))}return rn.set(t)}})));var ln;const cn=t=>{const e=Object.create(null);return r=>{const n=JSON.stringify(r);return n in e?e[n]:e[n]=t(r)}};var un=Object.defineProperty,hn=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,pn=Object.prototype.propertyIsEnumerable,fn=(t,e,r)=>e in t?un(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,yn=(t,e)=>{for(var r in e||(e={}))dn.call(e,r)&&fn(t,r,e[r]);if(hn)for(var r of hn(e))pn.call(e,r)&&fn(t,r,e[r]);return t},mn=(t,e)=>{var r={};for(var n in t)dn.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&hn)for(var n of hn(t))e.indexOf(n)<0&&pn.call(t,n)&&(r[n]=t[n]);return r};const gn=(t,e)=>{const{formats:r}=Xr();if(t in r&&e in r[t])return r[t][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`)},bn=cn((t=>{var e=t,{locale:r,format:n}=e,i=mn(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=gn("number",n)),new Intl.NumberFormat(r,i)})),vn=cn((t=>{var e=t,{locale:r,format:n}=e,i=mn(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=gn("date",n):0===Object.keys(i).length&&(i=gn("date","short")),new Intl.DateTimeFormat(r,i)})),En=cn((t=>{var e=t,{locale:r,format:n}=e,i=mn(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=gn("time",n):0===Object.keys(i).length&&(i=gn("time","short")),new Intl.DateTimeFormat(r,i)})),wn=cn((
643
643
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
644
644
  (t,e=an())=>new Lr(t,e,Xr().formats,{ignoreTag:Xr().ignoreTag}))),Tn=(t,e={})=>{var r,n,i,o;let a=e;"object"==typeof t&&(a=t,t=a.id);const{values:s,locale:l=an(),default:c}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Mr(t,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(n=(r=Xr()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:t,defaultValue:c}))?i:c)?o:t;if(!s)return u;let h=u;try{h=wn(u,l).format(s)}catch(e){e instanceof Error&&console.warn(`[svelte-i18n] Message "${t}" has syntax error:`,e.message)}return h},_n=(t,e)=>((t={})=>{var e=t,{locale:r=an()}=e,n=mn(e,["locale"]);return En(yn({locale:r},n))})(e).format(t),xn=(t,e)=>((t={})=>{var e=t,{locale:r=an()}=e,n=mn(e,["locale"]);return vn(yn({locale:r},n))})(e).format(t),Bn=(t,e)=>((t={})=>{var e=t,{locale:r=an()}=e,n=mn(e,["locale"]);return bn(yn({locale:r},n))})(e).format(t),Cn=(t,e=an())=>Mr(t,e);Zt([sn,Rr],(()=>Tn)),Zt([sn],(()=>_n)),Zt([sn],(()=>xn)),Zt([sn],(()=>Bn)),Zt([sn,Rr],(()=>Cn)),window.emWidgets={topic:(t,e=0)=>{if(-1==Xt.indexOf(t)){let r=new Vt(e);Kt[t]=r,Xt.push(t)}return Kt[t]}};
645
645
  /**
@@ -658,7 +658,7 @@ const An=t=>!!(t.toLowerCase().match(/android/i)||t.toLowerCase().match(/blackbe
658
658
  /* ../casino-calendar-daily-details/src/CasinoCalendarDailyDetails.svelte generated by Svelte v3.59.2 */
659
659
  function Hn(t,e,r){const n=t.slice();return n[26]=e[r],n[27]=e,n[28]=r,n}function Sn(t,e,r){const n=t.slice();return n[29]=e[r],n[31]=r,n}
660
660
  // (105:4) {:else}
661
- function Pn(t){let e,r,n,i,o,a,s,l,f,v=/*dailyeventsDetails*/t[3],w=[];for(let e=0;e<v.length;e+=1)w[e]=$n(Hn(t,v,e));return{c(){e=p("div"),r=p("span"),r.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',n=m(),i=p("div"),o=y(/*dailyday*/t[1]),a=m();for(let t=0;t<w.length;t+=1)w[t].c();b(r,"class","ModalCloseBtn"),b(r,"role","button"),b(i,"class","CasinoCalendarDailyDay"),b(e,"class",s="CasinoCalendarDailyDetailsBackground "+(/*mobileView*/t[5]?"Mobile":""))},m(s,h){u(s,e,h),c(e,r),c(e,n),c(e,i),c(i,o),c(e,a);for(let t=0;t<w.length;t+=1)w[t]&&w[t].m(e,null);l||(f=g(r,"click",/*closeModal*/t[6]),l=!0)},p(t,r){if(/*dailyday*/2&r[0]&&E(o,/*dailyday*/t[1]),/*dailyeventsDetails, setActiveTab, handleDetailsArea, dailybuttontitle*/393&r[0]){let n;for(v=/*dailyeventsDetails*/t[3],n=0;n<v.length;n+=1){const i=Hn(t,v,n);w[n]?w[n].p(i,r):(w[n]=$n(i),w[n].c(),w[n].m(e,null))}for(;n<w.length;n+=1)w[n].d(1);w.length=v.length}/*mobileView*/32&r[0]&&s!==(s="CasinoCalendarDailyDetailsBackground "+(/*mobileView*/t[5]?"Mobile":""))&&b(e,"class",s)},d(t){t&&h(e),d(w,t),l=!1,f()}}}
661
+ function Pn(t){let e,r,n,i,o,a,s,l,f,v=/*dailyeventsDetails*/t[3],w=[];for(let e=0;e<v.length;e+=1)w[e]=Dn(Hn(t,v,e));return{c(){e=p("div"),r=p("span"),r.innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',n=m(),i=p("div"),o=y(/*dailyday*/t[1]),a=m();for(let t=0;t<w.length;t+=1)w[t].c();b(r,"class","ModalCloseBtn"),b(r,"role","button"),b(i,"class","CasinoCalendarDailyDay"),b(e,"class",s="CasinoCalendarDailyDetailsBackground "+(/*mobileView*/t[5]?"Mobile":""))},m(s,h){u(s,e,h),c(e,r),c(e,n),c(e,i),c(i,o),c(e,a);for(let t=0;t<w.length;t+=1)w[t]&&w[t].m(e,null);l||(f=g(r,"click",/*closeModal*/t[6]),l=!0)},p(t,r){if(/*dailyday*/2&r[0]&&E(o,/*dailyday*/t[1]),/*dailyeventsDetails, setActiveTab, handleDetailsArea, dailybuttontitle*/393&r[0]){let n;for(v=/*dailyeventsDetails*/t[3],n=0;n<v.length;n+=1){const i=Hn(t,v,n);w[n]?w[n].p(i,r):(w[n]=Dn(i),w[n].c(),w[n].m(e,null))}for(;n<w.length;n+=1)w[n].d(1);w.length=v.length}/*mobileView*/32&r[0]&&s!==(s="CasinoCalendarDailyDetailsBackground "+(/*mobileView*/t[5]?"Mobile":""))&&b(e,"class",s)},d(t){t&&h(e),d(w,t),l=!1,f()}}}
662
662
  // (103:4) {#if isLoading}
663
663
  function Ln(e){let r;return{c(){r=p("p"),r.textContent="Loading ...",b(r,"class","SearchLoading"),b(r,"part","SearchLoading")},m(t,e){u(t,r,e)},p:t,d(t){t&&h(r)}}}
664
664
  // (135:16) {:else}
@@ -673,9 +673,9 @@ return t[18](/*event*/t[26],/*i*/t[31],/*index*/t[28])}return{c(){e=p("div"),r=p
673
673
  // (166:16) {#if event.detailsExpanded}
674
674
  function Rn(t){let e,r,n=/*event*/t[26].details[/*event*/t[26].selectedTab].description+"";return{c(){e=p("div"),b(e,"class",r="DetailTabsDescription "+(/*event*/t[26].details[/*event*/t[26].selectedTab].expandedTab?"":"NotVisible"))},m(t,r){u(t,e,r),e.innerHTML=n},p(t,i){/*dailyeventsDetails*/8&i[0]&&n!==(n=/*event*/t[26].details[/*event*/t[26].selectedTab].description+"")&&(e.innerHTML=n),/*dailyeventsDetails*/8&i[0]&&r!==(r="DetailTabsDescription "+(/*event*/t[26].details[/*event*/t[26].selectedTab].expandedTab?"":"NotVisible"))&&b(e,"class",r)},d(t){t&&h(e)}}}
675
675
  // (113:8) {#each dailyeventsDetails as event, index}
676
- function $n(t){let e,r,n,i,o,a,s,d,f,y,v,E,w,_,x,B,C,A,H=/*event*/t[26].title+"",S=/*event*/t[26].description+"";function P(t,e){/*event*/
676
+ function Dn(t){let e,r,n,i,o,a,s,d,f,y,v,E,w,_,x,B,C,A,H=/*event*/t[26].title+"",S=/*event*/t[26].description+"";function P(t,e){/*event*/
677
677
  return 1==t[26].expandedInfo?On:In}let L=P(t),I=L(t);function O(){/*click_handler*/
678
- return t[17](/*event*/t[26],/*each_value*/t[27],/*index*/t[28])}let M=/*event*/1==t[26].expandedInfo&&Mn(t);return{c(){e=p("div"),r=p("div"),n=m(),i=p("div"),o=p("img"),d=m(),f=p("div"),y=m(),v=p("div"),E=p("button"),w=new T(!1),_=m(),I.c(),x=m(),M&&M.c(),B=m(),b(r,"class","CasinoCalendarDailyTitle"),b(o,"class","CasinoCalendarFitImage"),l(o.src,a=/*event*/t[26].image)||b(o,"src",a),b(o,"alt",s=/*event*/t[26].image),b(i,"class","CasinoCalendarImage"),b(f,"class","CasinoCalendarDailyDescription"),w.a=_,b(E,"class","MoreInfoButton"),b(v,"class","CasinoCalendarTabs"),b(e,"class","CasinoCalendarDailyDetailsParent")},m(a,s){u(a,e,s),c(e,r),r.innerHTML=H,c(e,n),c(e,i),c(i,o),c(e,d),c(e,f),f.innerHTML=S,c(e,y),c(e,v),c(v,E),w.m(/*dailybuttontitle*/t[0],E),c(E,_),I.m(E,null),c(v,x),M&&M.m(v,null),c(e,B),C||(A=g(E,"click",O),C=!0)},p(e,n){t=e,/*dailyeventsDetails*/8&n[0]&&H!==(H=/*event*/t[26].title+"")&&(r.innerHTML=H),/*dailyeventsDetails*/8&n[0]&&!l(o.src,a=/*event*/t[26].image)&&b(o,"src",a),/*dailyeventsDetails*/8&n[0]&&s!==(s=/*event*/t[26].image)&&b(o,"alt",s),/*dailyeventsDetails*/8&n[0]&&S!==(S=/*event*/t[26].description+"")&&(f.innerHTML=S),/*dailybuttontitle*/1&n[0]&&w.p(/*dailybuttontitle*/t[0]),L!==(L=P(t))&&(I.d(1),I=L(t),I&&(I.c(),I.m(E,null))),/*event*/1==t[26].expandedInfo?M?M.p(t,n):(M=Mn(t),M.c(),M.m(v,null)):M&&(M.d(1),M=null)},d(t){t&&h(e),I.d(),M&&M.d(),C=!1,A()}}}function Dn(e){let r;function n(t,e){/*isLoading*/
678
+ return t[17](/*event*/t[26],/*each_value*/t[27],/*index*/t[28])}let M=/*event*/1==t[26].expandedInfo&&Mn(t);return{c(){e=p("div"),r=p("div"),n=m(),i=p("div"),o=p("img"),d=m(),f=p("div"),y=m(),v=p("div"),E=p("button"),w=new T(!1),_=m(),I.c(),x=m(),M&&M.c(),B=m(),b(r,"class","CasinoCalendarDailyTitle"),b(o,"class","CasinoCalendarFitImage"),l(o.src,a=/*event*/t[26].image)||b(o,"src",a),b(o,"alt",s=/*event*/t[26].image),b(i,"class","CasinoCalendarImage"),b(f,"class","CasinoCalendarDailyDescription"),w.a=_,b(E,"class","MoreInfoButton"),b(v,"class","CasinoCalendarTabs"),b(e,"class","CasinoCalendarDailyDetailsParent")},m(a,s){u(a,e,s),c(e,r),r.innerHTML=H,c(e,n),c(e,i),c(i,o),c(e,d),c(e,f),f.innerHTML=S,c(e,y),c(e,v),c(v,E),w.m(/*dailybuttontitle*/t[0],E),c(E,_),I.m(E,null),c(v,x),M&&M.m(v,null),c(e,B),C||(A=g(E,"click",O),C=!0)},p(e,n){t=e,/*dailyeventsDetails*/8&n[0]&&H!==(H=/*event*/t[26].title+"")&&(r.innerHTML=H),/*dailyeventsDetails*/8&n[0]&&!l(o.src,a=/*event*/t[26].image)&&b(o,"src",a),/*dailyeventsDetails*/8&n[0]&&s!==(s=/*event*/t[26].image)&&b(o,"alt",s),/*dailyeventsDetails*/8&n[0]&&S!==(S=/*event*/t[26].description+"")&&(f.innerHTML=S),/*dailybuttontitle*/1&n[0]&&w.p(/*dailybuttontitle*/t[0]),L!==(L=P(t))&&(I.d(1),I=L(t),I&&(I.c(),I.m(E,null))),/*event*/1==t[26].expandedInfo?M?M.p(t,n):(M=Mn(t),M.c(),M.m(v,null)):M&&(M.d(1),M=null)},d(t){t&&h(e),I.d(),M&&M.d(),C=!1,A()}}}function $n(e){let r;function n(t,e){/*isLoading*/
679
679
  return t[4]?Ln:Pn}let i=n(e),o=i(e);return{c(){r=p("div"),o.c(),this.c=t},m(t,n){u(t,r,n),o.m(r,null),
680
680
  /*div_binding*/e[19](r)},p(t,e){i===(i=n(t))&&o?o.p(t,e):(o.d(1),o=i(t),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&h(r),o.d(),
681
681
  /*div_binding*/e[19](null)}}}function Fn(t,e,r){let n,{dailybackground:i=""}=e,{dailybuttontitle:o=""}=e,{dailyday:a=""}=e,{dailydescription:s="<p></p>"}=e,{dailyicon:l=""}=e,{dailytitle:c=""}=e,{lang:u="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:d=""}=e,{translationUrl:p=""}=e,f=[],y=!0,m=!1,g=window.navigator.userAgent;!function({withLocale:t,translations:e}){sn.subscribe((r=>{null==r&&(Rr.set(e),sn.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
@@ -685,29 +685,29 @@ return t[4]?Ln:Pn}let i=n(e),o=i(e);return{c(){r=p("div"),o.c(),this.c=t},m(t,n)
685
685
  "function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetDetails"})},w=(t,e,n)=>{r(3,f[n].selectedTab=e,f),t.details.forEach(((t,e)=>{f[n].selectedTab!=e?t.expandedTab=!1:t.expandedTab=!0}))};B((()=>(window.addEventListener("message",b,!1),An(g)&&r(5,m=!0),()=>{window.removeEventListener("message",b)})));return t.$$set=t=>{"dailybackground"in t&&r(9,i=t.dailybackground),"dailybuttontitle"in t&&r(0,o=t.dailybuttontitle),"dailyday"in t&&r(1,a=t.dailyday),"dailydescription"in t&&r(10,s=t.dailydescription),"dailyicon"in t&&r(11,l=t.dailyicon),"dailytitle"in t&&r(12,c=t.dailytitle),"lang"in t&&r(13,u=t.lang),"clientstyling"in t&&r(14,h=t.clientstyling),"clientstylingurl"in t&&r(15,d=t.clientstylingurl),"translationUrl"in t&&r(16,p=t.translationUrl)},t.$$.update=()=>{/*lang*/8192&t.$$.dirty[0]&&u&&v(),/*clientstyling, customStylingContainer*/16388&t.$$.dirty[0]&&h&&n&&(()=>{let t=document.createElement("style");t.innerHTML=h,n.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/32772&t.$$.dirty[0]&&d&&n&&(()=>{let t=new URL(d),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{n.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[o,a,n,f,y,m,()=>{window.postMessage({type:"ModalClosed"},window.location.href),f.forEach(((t,e)=>{t.detailsExpanded=0==e,t.expandedInfo=0==e,t.selectedTab=0}))},E,w,i,s,l,c,u,h,d,p,(t,e,n)=>{r(3,e[n].expandedInfo=!t.expandedInfo,f),E(n)},(t,e,r)=>{w(t,e,r)},function(t){A[t?"unshift":"push"]((()=>{n=t,r(2,n)}))}]}
686
686
  /* ../casino-calendar-daily-item/src/CasinoCalendarDailyItem.svelte generated by Svelte v3.59.2 */
687
687
  function kn(e){let r,n,i,o,a,s,d,f,v,T,_,x,B,C,A,H,S,P,L,I,O,M,N;return{c(){r=p("div"),n=p("div"),i=p("div"),o=p("div"),a=p("div"),a.innerHTML='<div class="RingLeft"></div> \n <div class="RingRight"></div>',s=m(),d=p("div"),f=p("div"),v=p("img"),_=m(),x=p("div"),B=y(/*dailyday*/e[2]),C=m(),A=p("div"),H=m(),S=p("div"),P=p("button"),L=y(/*dailybuttontitle*/e[3]),this.c=t,b(a,"class","CalendarBar"),l(v.src,T=/*dailyicon*/e[1])||b(v,"src",T),b(v,"alt",/*dailyicon*/e[1]),b(f,"class","CasinoCalendarDailyIcon"),b(x,"class","CasinoCalendarDailyTitle"),b(A,"class","CasinoCalendarDailyItemDescription"),b(P,"class","MoreInfoButton"),b(S,"class","CasinoCalendarDailyItemButton"),b(d,"class",I="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==/*index*/e[4]?"Tear":"")),w(d,"background-image","url('"+/*dailybackground*/e[0]+"')"),w(d,"background-size","cover"),w(d,"background-position","center"),w(d,"-webkit-background-size","cover"),w(d,"-moz-background-size","cover"),w(d,"-o-background-size","cover"),b(o,"class","CalendarCard"),b(i,"class","CasinoCalendarItems"),b(n,"class",O="Container "+(/*mobileView*/e[7]?"Mobile":""))},m(t,l){u(t,r,l),c(r,n),c(n,i),c(i,o),c(o,a),c(o,s),c(o,d),c(d,f),c(f,v),c(d,_),c(d,x),c(x,B),c(d,C),c(d,A),
688
- /*div5_binding*/e[14](A),c(d,H),c(d,S),c(S,P),c(P,L),
689
- /*div11_binding*/e[16](r),M||(N=g(P,"click",/*click_handler*/e[15]),M=!0)},p(t,[e]){/*dailyicon*/2&e&&!l(v.src,T=/*dailyicon*/t[1])&&b(v,"src",T),/*dailyicon*/2&e&&b(v,"alt",/*dailyicon*/t[1]),/*dailyday*/4&e&&E(B,/*dailyday*/t[2]),/*dailybuttontitle*/8&e&&E(L,/*dailybuttontitle*/t[3]),/*index*/16&e&&I!==(I="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==/*index*/t[4]?"Tear":""))&&b(d,"class",I),/*dailybackground*/1&e&&w(d,"background-image","url('"+/*dailybackground*/t[0]+"')"),/*mobileView*/128&e&&O!==(O="Container "+(/*mobileView*/t[7]?"Mobile":""))&&b(n,"class",O)},i:t,o:t,d(t){t&&h(r)
690
- /*div5_binding*/,e[14](null),
691
- /*div11_binding*/e[16](null),M=!1,N()}}}function Un(t,e,r){let n,i,{cmsendpoint:o=""}=e,{lang:a=""}=e,{dailybackground:s=""}=e,{dailyicon:l=""}=e,{dailyday:c=""}=e,{dailydescription:u="<p></p>"}=e,{dailybuttontitle:h=""}=e,{index:d="0"}=e,{clientstyling:p=""}=e,{clientstylingurl:f=""}=e;!function({withLocale:t,translations:e}){sn.subscribe((r=>{null==r&&(Rr.set(e),sn.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
688
+ /*div5_binding*/e[13](A),c(d,H),c(d,S),c(S,P),c(P,L),
689
+ /*div11_binding*/e[15](r),M||(N=g(P,"click",/*click_handler*/e[14]),M=!0)},p(t,[e]){/*dailyicon*/2&e&&!l(v.src,T=/*dailyicon*/t[1])&&b(v,"src",T),/*dailyicon*/2&e&&b(v,"alt",/*dailyicon*/t[1]),/*dailyday*/4&e&&E(B,/*dailyday*/t[2]),/*dailybuttontitle*/8&e&&E(L,/*dailybuttontitle*/t[3]),/*index*/16&e&&I!==(I="CasinoCalendarItemBackground CalendarPage "+("OpenCalendarModal"==/*index*/t[4]?"Tear":""))&&b(d,"class",I),/*dailybackground*/1&e&&w(d,"background-image","url('"+/*dailybackground*/t[0]+"')"),/*mobileView*/128&e&&O!==(O="Container "+(/*mobileView*/t[7]?"Mobile":""))&&b(n,"class",O)},i:t,o:t,d(t){t&&h(r)
690
+ /*div5_binding*/,e[13](null),
691
+ /*div11_binding*/e[15](null),M=!1,N()}}}function Un(t,e,r){let n,i,{lang:o=""}=e,{dailybackground:a=""}=e,{dailyicon:s=""}=e,{dailyday:l=""}=e,{dailydescription:c="<p></p>"}=e,{dailybuttontitle:u=""}=e,{index:h="0"}=e,{clientstyling:d=""}=e,{clientstylingurl:p=""}=e;!function({withLocale:t,translations:e}){sn.subscribe((r=>{null==r&&(Rr.set(e),sn.set(t))}));// maybe we will need this to make sure that the i18n is set up only once
692
692
  /*dictionary.set(translations);
693
- locale.set(_locale);*/}({withLocale:"en",translations:{}});let y=!1,m=window.navigator.userAgent;const g=()=>{window.postMessage({type:"OpenCalendar",index:d},window.location.href),
693
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});let f=!1,y=window.navigator.userAgent;const m=()=>{window.postMessage({type:"OpenCalendar",index:h},window.location.href),
694
694
  //Analytics event
695
- "function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};B((()=>{An(m)&&r(7,y=!0)}));return t.$$set=t=>{"cmsendpoint"in t&&r(9,o=t.cmsendpoint),"lang"in t&&r(10,a=t.lang),"dailybackground"in t&&r(0,s=t.dailybackground),"dailyicon"in t&&r(1,l=t.dailyicon),"dailyday"in t&&r(2,c=t.dailyday),"dailydescription"in t&&r(11,u=t.dailydescription),"dailybuttontitle"in t&&r(3,h=t.dailybuttontitle),"index"in t&&r(4,d=t.index),"clientstyling"in t&&r(12,p=t.clientstyling),"clientstylingurl"in t&&r(13,f=t.clientstylingurl)},t.$$.update=()=>{/*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/2063&t.$$.dirty&&l&&c&&u&&h&&s&&(()=>{
695
+ "function"==typeof gtag&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};B((()=>{An(y)&&r(7,f=!0)}));return t.$$set=t=>{"lang"in t&&r(9,o=t.lang),"dailybackground"in t&&r(0,a=t.dailybackground),"dailyicon"in t&&r(1,s=t.dailyicon),"dailyday"in t&&r(2,l=t.dailyday),"dailydescription"in t&&r(10,c=t.dailydescription),"dailybuttontitle"in t&&r(3,u=t.dailybuttontitle),"index"in t&&r(4,h=t.index),"clientstyling"in t&&r(11,d=t.clientstyling),"clientstylingurl"in t&&r(12,p=t.clientstylingurl)},t.$$.update=()=>{/*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/1039&t.$$.dirty&&s&&l&&c&&u&&a&&(()=>{
696
696
  // remove HTML tags
697
- let t=document.createElement("div");t.innerHTML=u,n&&n.append(t)})(),/*clientstyling, customStylingContainer*/4128&t.$$.dirty&&p&&i&&(()=>{let t=document.createElement("style");t.innerHTML=p,i.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/8224&t.$$.dirty&&f&&i&&(()=>{let t=new URL(f),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[s,l,c,h,d,i,n,y,g,o,a,u,p,f,function(t){A[t?"unshift":"push"]((()=>{n=t,r(6,n)}))},()=>g(),function(t){A[t?"unshift":"push"]((()=>{i=t,r(5,i)}))}]}!customElements.get("casino-calendar-daily-details")&&customElements.define("casino-calendar-daily-details",class extends U{constructor(t){super();const e=document.createElement("style");e.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{appearance:none;padding:8px 6px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}",this.shadowRoot.appendChild(e),k(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Fn,Dn,o,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(t){this.$$set({dailybackground:t}),N()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),N()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),N()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),N()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(t){this.$$set({dailyicon:t}),N()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(t){this.$$set({dailytitle:t}),N()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),N()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(t){this.$$set({translationUrl:t}),N()}});
697
+ let t=document.createElement("div");t.innerHTML=c,n&&n.append(t)})(),/*clientstyling, customStylingContainer*/2080&t.$$.dirty&&d&&i&&(()=>{let t=document.createElement("style");t.innerHTML=d,i.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/4128&t.$$.dirty&&p&&i&&(()=>{let t=new URL(p),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[a,s,l,u,h,i,n,f,m,o,c,d,p,function(t){A[t?"unshift":"push"]((()=>{n=t,r(6,n)}))},()=>m(),function(t){A[t?"unshift":"push"]((()=>{i=t,r(5,i)}))}]}!customElements.get("casino-calendar-daily-details")&&customElements.define("casino-calendar-daily-details",class extends U{constructor(t){super();const e=document.createElement("style");e.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}#CollapseMoreInfoButton{-moz-transition:height 0.5s;-ms-transition:height 0.5s;-o-transition:height 0.5s;-webkit-transition:height 0.5s;transition:height 0.5s;height:0;overflow:hidden}.MoreInfoButton{appearance:none;padding:8px 6px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}.IconDown{width:18px;height:18px;margin-left:10px;transform:rotate(0deg)}.IconUp{width:18px;height:18px;margin-left:10px;transform:rotate(180deg)}.CasinoCalendarDailyDetailsBackground{position:relative;display:flex;justify-content:flex-start;flex-direction:column;align-items:center;background:var(--emfe-w-color-white, #FFFFFF);width:500px;max-height:85vh;padding:20px;text-align:center;overflow-y:scroll;overflow-x:unset}.CasinoCalendarDailyDetailsParent{display:flex;justify-content:flex-start;align-items:center;flex-direction:column;max-width:376px}.CasinoCalendarDailyDay{padding:10px 0 40px 0;font-size:22px;text-transform:uppercase;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarDailyTitle{padding:15px 0 20px 0;font-size:18px;text-transform:capitalize;width:100%;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.CasinoCalendarImage{background:var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px 5px 0 0}.CasinoCalendarImage img{max-width:376px;max-height:250px;border-radius:5px 5px 0 0}.CasinoCalendarDailyDescription{width:100%;padding:25px 15px;font-size:14px;font-weight:600;color:var(--emfe-w-gray-300, #58586B);font-weight:400;border-radius:0;background:linear-gradient(180deg, var(--emfe-w-color-white, #FFFFFF) 55%, var(--emfe-w-color-gray-100, #E6E6E6));overflow-wrap:break-word}.ModalCloseBtn{position:absolute;top:10px;right:10px;display:flex;align-items:center;justify-content:center;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-casino-color-primary, #D0046C);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px}.ModalCloseBtn:hover{background:var(--emfe-w-color-gray-300, #58586B)}.DetailsTabsTitles{display:flex;flex-direction:row}.DetailTabsDescription{margin-top:15px}.CasinoCalendarTabs{width:100%;font-size:14px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;align-content:stretch;padding-bottom:40px;flex-direction:column}.CasinoCalendarFitImage{border-radius:5px}.NotVisible{display:none}.Header{display:flex;justify-content:center;justify-items:center;margin-bottom:4px;padding:0 10px}.HeaderButton{min-height:48px;margin:0;border:none;cursor:pointer;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-gray-150, #828282)}.SelectedTab{box-shadow:none;border-bottom:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.Mobile{max-height:70vh;margin-bottom:0;width:100%;padding:20px 0}",this.shadowRoot.appendChild(e),k(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Fn,$n,o,{dailybackground:9,dailybuttontitle:0,dailyday:1,dailydescription:10,dailyicon:11,dailytitle:12,lang:13,clientstyling:14,clientstylingurl:15,translationUrl:16},null,[-1,-1]),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["dailybackground","dailybuttontitle","dailyday","dailydescription","dailyicon","dailytitle","lang","clientstyling","clientstylingurl","translationUrl"]}get dailybackground(){return this.$$.ctx[9]}set dailybackground(t){this.$$set({dailybackground:t}),N()}get dailybuttontitle(){return this.$$.ctx[0]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),N()}get dailyday(){return this.$$.ctx[1]}set dailyday(t){this.$$set({dailyday:t}),N()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),N()}get dailyicon(){return this.$$.ctx[11]}set dailyicon(t){this.$$set({dailyicon:t}),N()}get dailytitle(){return this.$$.ctx[12]}set dailytitle(t){this.$$set({dailytitle:t}),N()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),N()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}get translationUrl(){return this.$$.ctx[16]}set translationUrl(t){this.$$set({translationUrl:t}),N()}});
698
698
  /* src/CasinoCalendar.svelte generated by Svelte v3.59.2 */
699
699
  function Gn(t,e,r){const n=t.slice();return n[21]=e[r],n[23]=r,n}
700
- // (105:6) {#if calendarCollections?.length}
700
+ // (106:6) {#if calendarCollections?.length}
701
701
  function jn(t){let e,r,n,i=/*calendarCollections*/t[4],o=[];for(let e=0;e<i.length;e+=1)o[e]=Xn(Gn(t,i,e));let a=/*calendarModalOpened*/1==t[9]&&Kn(t);return{c(){e=p("div");for(let t=0;t<o.length;t+=1)o[t].c();r=m(),a&&a.c(),b(e,"class",n="CasinoCalendarItem "+(/*mobileView*/t[8]?"Mobile":""))},m(t,n){u(t,e,n);for(let t=0;t<o.length;t+=1)o[t]&&o[t].m(e,null);c(e,r),a&&a.m(e,null)},p(t,s){if(/*calendarCollections, lang, clientstyling, clientstylingurl*/23&s){let n;for(i=/*calendarCollections*/t[4],n=0;n<i.length;n+=1){const a=Gn(t,i,n);o[n]?o[n].p(a,s):(o[n]=Xn(a),o[n].c(),o[n].m(e,r))}for(;n<o.length;n+=1)o[n].d(1);o.length=i.length}/*calendarModalOpened*/1==t[9]?a?a.p(t,s):(a=Kn(t),a.c(),a.m(e,null)):a&&(a.d(1),a=null),/*mobileView*/256&s&&n!==(n="CasinoCalendarItem "+(/*mobileView*/t[8]?"Mobile":""))&&b(e,"class",n)},d(t){t&&h(e),d(o,t),a&&a.d()}}}
702
- // (102:4) {#if isLoading}
702
+ // (103:4) {#if isLoading}
703
703
  function zn(e){let r;return{c(){r=p("div"),b(r,"class","LoadingSpinner"),b(r,"part","LoadingSpinner")},m(t,e){u(t,r,e)},p:t,d(t){t&&h(r)}}}
704
- // (99:2) {#if hasErrors}
704
+ // (100:2) {#if hasErrors}
705
705
  function Vn(e){let r;return{c(){r=p("p"),r.textContent="500 Error - Internal Server Error",b(r,"class","SearchLoading"),b(r,"part","SearchLoading")},m(t,e){u(t,r,e)},p:t,d(t){t&&h(r)}}}
706
- // (107:10) {#each calendarCollections as dailyCalendarData, index }
706
+ // (108:10) {#each calendarCollections as dailyCalendarData, index }
707
707
  function Xn(t){let e,r,n,i,o,a;return{c(){e=p("casino-calendar-daily-item"),v(e,"dailybackground",r=/*dailyCalendarData*/t[21].dailyBackground),v(e,"dailyicon",n=/*dailyCalendarData*/t[21].dailyIcon),v(e,"dailyday",i=/*dailyCalendarData*/t[21].dailyDay),v(e,"dailydescription",o=/*dailyCalendarData*/t[21].dailyDescription),v(e,"dailybuttontitle",a=/*dailyCalendarData*/t[21].dailyButtonTitle),v(e,"index",/*index*/t[23]),v(e,"lang",/*lang*/t[0]),v(e,"clientstyling",/*clientstyling*/t[1]),v(e,"clientstylingurl",/*clientstylingurl*/t[2])},m(t,r){u(t,e,r)},p(t,s){/*calendarCollections*/16&s&&r!==(r=/*dailyCalendarData*/t[21].dailyBackground)&&v(e,"dailybackground",r),/*calendarCollections*/16&s&&n!==(n=/*dailyCalendarData*/t[21].dailyIcon)&&v(e,"dailyicon",n),/*calendarCollections*/16&s&&i!==(i=/*dailyCalendarData*/t[21].dailyDay)&&v(e,"dailyday",i),/*calendarCollections*/16&s&&o!==(o=/*dailyCalendarData*/t[21].dailyDescription)&&v(e,"dailydescription",o),/*calendarCollections*/16&s&&a!==(a=/*dailyCalendarData*/t[21].dailyButtonTitle)&&v(e,"dailybuttontitle",a),/*lang*/1&s&&v(e,"lang",/*lang*/t[0]),/*clientstyling*/2&s&&v(e,"clientstyling",/*clientstyling*/t[1]),/*clientstylingurl*/4&s&&v(e,"clientstylingurl",/*clientstylingurl*/t[2])},d(t){t&&h(e)}}}
708
- // (121:10) {#if calendarModalOpened == true}
708
+ // (122:10) {#if calendarModalOpened == true}
709
709
  function Kn(t){let e,r,n,i,o,a,s,l;return{c(){e=p("div"),r=p("casino-calendar-daily-details"),v(r,"dailybackground",n=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyBackground),v(r,"dailybuttontitle",i=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyButtonTitle),v(r,"dailyday",o=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyDay),v(r,"dailydescription",a=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyDescription),v(r,"dailyicon",s=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyIcon),v(r,"dailytitle",l=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyTitle),v(r,"lang",/*lang*/t[0]),v(r,"clientstyling",/*clientstyling*/t[1]),v(r,"clientstylingurl",/*clientstylingurl*/t[2]),b(e,"class","CalendarDetailsWrapper")},m(t,n){u(t,e,n),c(e,r)},p(t,e){/*calendarCollections, selectedIndex*/48&e&&n!==(n=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyBackground)&&v(r,"dailybackground",n),/*calendarCollections, selectedIndex*/48&e&&i!==(i=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyButtonTitle)&&v(r,"dailybuttontitle",i),/*calendarCollections, selectedIndex*/48&e&&o!==(o=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyDay)&&v(r,"dailyday",o),/*calendarCollections, selectedIndex*/48&e&&a!==(a=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyDescription)&&v(r,"dailydescription",a),/*calendarCollections, selectedIndex*/48&e&&s!==(s=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyIcon)&&v(r,"dailyicon",s),/*calendarCollections, selectedIndex*/48&e&&l!==(l=/*calendarCollections*/t[4][/*selectedIndex*/t[5]].dailyTitle)&&v(r,"dailytitle",l),/*lang*/1&e&&v(r,"lang",/*lang*/t[0]),/*clientstyling*/2&e&&v(r,"clientstyling",/*clientstyling*/t[1]),/*clientstylingurl*/4&e&&v(r,"clientstylingurl",/*clientstylingurl*/t[2])},d(t){t&&h(e)}}}function Yn(e){let r;function n(t,e){/*hasErrors*/
710
710
  return t[7]?Vn:/*isLoading*/t[6]?zn:/*calendarCollections*/t[4]?.length?jn:void 0}let i=n(e),o=i&&i(e);return{c(){r=p("div"),o&&o.c(),this.c=t},m(t,n){u(t,r,n),o&&o.m(r,null)
711
711
  /*div_binding*/,e[13](r)},p(t,[e]){i===(i=n(t))&&o?o.p(t,e):(o&&o.d(1),o=i&&i(t),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&h(r),o&&o.d()
712
- /*div_binding*/,e[13](null)}}}function Wn(t,e,r){let n,i,{cmsendpoint:o=""}=e,{env:a=""}=e,{userroles:s=""}=e,{lang:l="en"}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,h=0,d=!0,p=!1,f=!1,y=window.navigator.userAgent,m=!1;const g=()=>{(()=>{r(6,d=!0);let t=new URL(`${o}/${l}/daily-calendar?env=${a}/`);t.searchParams.append("userRoles",s);let e=(t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(y);e&&("PC"===e?t.searchParams.append("device","dk"):"iPad"===e||"iPhone"===e?t.searchParams.append("device","ios"):t.searchParams.append("device","mtWeb")),fetch(t.href).then((t=>t.json())).then((t=>{r(4,i=t)})).catch((t=>{console.log(t),r(7,p=!0)})).finally((()=>{r(6,d=!1)}))})()},b=t=>{var e;t.data&&"OpenCalendar"==t.data.type&&(r(5,h=t.data.index),r(9,m=!0),window.postMessage({type:"ShowModal",selectedIndex:h,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null===(e=i[h])||void 0===e?void 0:e.dailyEvents})),t.data&&"ModalClosed"==t.data.type&&r(9,m=!1)};return B((()=>(window.addEventListener("message",b,!1),An(y)&&r(8,f=!0),()=>{window.removeEventListener("message",b)}))),t.$$set=t=>{"cmsendpoint"in t&&r(10,o=t.cmsendpoint),"env"in t&&r(11,a=t.env),"userroles"in t&&r(12,s=t.userroles),"lang"in t&&r(0,l=t.lang),"clientstyling"in t&&r(1,c=t.clientstyling),"clientstylingurl"in t&&r(2,u=t.clientstylingurl)},t.$$.update=()=>{/*cmsendpoint, lang, env, userroles*/7169&t.$$.dirty&&o&&l&&a&&s&&g(),/*clientstyling, customStylingContainer*/10&t.$$.dirty&&c&&n&&(()=>{let t=document.createElement("style");t.innerHTML=c,n.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/12&t.$$.dirty&&u&&n&&(()=>{let t=new URL(u),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{n.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[l,c,u,n,i,h,d,p,f,m,o,a,s,function(t){A[t?"unshift":"push"]((()=>{n=t,r(3,n)}))}]}!customElements.get("casino-calendar-daily-item")&&customElements.define("casino-calendar-daily-item",class extends U{constructor(t){super();const e=document.createElement("style");e.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}',this.shadowRoot.appendChild(e),k(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Un,kn,o,{cmsendpoint:9,lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,clientstyling:12,clientstylingurl:13},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["cmsendpoint","lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[9]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),N()}get lang(){return this.$$.ctx[10]}set lang(t){this.$$set({lang:t}),N()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(t){this.$$set({dailybackground:t}),N()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(t){this.$$set({dailyicon:t}),N()}get dailyday(){return this.$$.ctx[2]}set dailyday(t){this.$$set({dailyday:t}),N()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(t){this.$$set({dailydescription:t}),N()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),N()}get index(){return this.$$.ctx[4]}set index(t){this.$$set({index:t}),N()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}});class Zn extends U{constructor(t){super();const e=document.createElement("style");e.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(e),k(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Wn,Yn,o,{cmsendpoint:10,env:11,userroles:12,lang:0,clientstyling:1,clientstylingurl:2},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),N()}get env(){return this.$$.ctx[11]}set env(t){this.$$set({env:t}),N()}get userroles(){return this.$$.ctx[12]}set userroles(t){this.$$set({userroles:t}),N()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),N()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}}return!customElements.get("casino-calendar")&&customElements.define("casino-calendar",Zn),Zn}));
712
+ /*div_binding*/,e[13](null)}}}function Wn(t,e,r){let n,i,{cmsendpoint:o=""}=e,{env:a=""}=e,{userroles:s=""}=e,{lang:l="en"}=e,{clientstyling:c=""}=e,{clientstylingurl:u=""}=e,h=0,d=!0,p=!1,f=!1,y=window.navigator.userAgent,m=!1;const g=()=>{(()=>{r(6,d=!0);let t=new URL(`${o}/${l}/daily-calendar`);t.searchParams.append("userRoles",s),t.searchParams.append("env",a);let e=(t=>t.toLowerCase().match(/android/i)?"Android":t.toLowerCase().match(/iphone/i)?"iPhone":t.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC")(y);e&&("PC"===e?t.searchParams.append("device","dk"):"iPad"===e||"iPhone"===e?t.searchParams.append("device","ios"):t.searchParams.append("device","mtWeb")),fetch(t.href).then((t=>t.json())).then((t=>{r(4,i=t)})).catch((t=>{console.log(t),r(7,p=!0)})).finally((()=>{r(6,d=!1)}))})()},b=t=>{var e;t.data&&"OpenCalendar"==t.data.type&&(r(5,h=t.data.index),r(9,m=!0),window.postMessage({type:"ShowModal",selectedIndex:h,identifier:"Calendar"},window.location.href),window.postMessage({type:"DailyEventsData",data:null===(e=i[h])||void 0===e?void 0:e.dailyEvents})),t.data&&"ModalClosed"==t.data.type&&r(9,m=!1)};return B((()=>(window.addEventListener("message",b,!1),An(y)&&r(8,f=!0),()=>{window.removeEventListener("message",b)}))),t.$$set=t=>{"cmsendpoint"in t&&r(10,o=t.cmsendpoint),"env"in t&&r(11,a=t.env),"userroles"in t&&r(12,s=t.userroles),"lang"in t&&r(0,l=t.lang),"clientstyling"in t&&r(1,c=t.clientstyling),"clientstylingurl"in t&&r(2,u=t.clientstylingurl)},t.$$.update=()=>{/*cmsendpoint, lang, env, userroles*/7169&t.$$.dirty&&o&&l&&a&&s&&g(),/*clientstyling, customStylingContainer*/10&t.$$.dirty&&c&&n&&(()=>{let t=document.createElement("style");t.innerHTML=c,n.appendChild(t)})(),/*clientstylingurl, customStylingContainer*/12&t.$$.dirty&&u&&n&&(()=>{let t=new URL(u),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{n.appendChild(e)}),1),setTimeout((()=>{}),500)}))})()},[l,c,u,n,i,h,d,p,f,m,o,a,s,function(t){A[t?"unshift":"push"]((()=>{n=t,r(3,n)}))}]}!customElements.get("casino-calendar-daily-item")&&customElements.define("casino-calendar-daily-item",class extends U{constructor(t){super();const e=document.createElement("style");e.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emfe-w-color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emfe-w-color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}',this.shadowRoot.appendChild(e),k(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Un,kn,o,{lang:9,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:10,dailybuttontitle:3,index:4,clientstyling:11,clientstylingurl:12},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["lang","dailybackground","dailyicon","dailyday","dailydescription","dailybuttontitle","index","clientstyling","clientstylingurl"]}get lang(){return this.$$.ctx[9]}set lang(t){this.$$set({lang:t}),N()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(t){this.$$set({dailybackground:t}),N()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(t){this.$$set({dailyicon:t}),N()}get dailyday(){return this.$$.ctx[2]}set dailyday(t){this.$$set({dailyday:t}),N()}get dailydescription(){return this.$$.ctx[10]}set dailydescription(t){this.$$set({dailydescription:t}),N()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(t){this.$$set({dailybuttontitle:t}),N()}get index(){return this.$$.ctx[4]}set index(t){this.$$set({index:t}),N()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}});class Zn extends U{constructor(t){super();const e=document.createElement("style");e.textContent='.CasinoCalendarItem{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:999;top:0;left:0;background-color:var(--emfe-w-color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto\n }.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}',this.shadowRoot.appendChild(e),k(this,{target:this.shadowRoot,props:_(this.attributes),customElement:!0},Wn,Yn,o,{cmsendpoint:10,env:11,userroles:12,lang:0,clientstyling:1,clientstylingurl:2},null),t&&(t.target&&u(t.target,this,t.anchor),t.props&&(this.$set(t.props),N()))}static get observedAttributes(){return["cmsendpoint","env","userroles","lang","clientstyling","clientstylingurl"]}get cmsendpoint(){return this.$$.ctx[10]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),N()}get env(){return this.$$.ctx[11]}set env(t){this.$$set({env:t}),N()}get userroles(){return this.$$.ctx[12]}set userroles(t){this.$$set({userroles:t}),N()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),N()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),N()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),N()}}return!customElements.get("casino-calendar")&&customElements.define("casino-calendar",Zn),Zn}));
713
713
  //# sourceMappingURL=casino-calendar.js.map