@everymatrix/casino-tournaments-controller 1.87.11 → 1.87.13

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.
Files changed (28) hide show
  1. package/components/{CasinoTournamentsController-NsQVs67e.js → CasinoTournamentsController-BLxMNjdf.js} +2 -2
  2. package/components/{CasinoTournamentsController-CipjvpY6.js → CasinoTournamentsController-CnAIq520.js} +2 -2
  3. package/components/{CasinoTournamentsController-gEd8u8ko.cjs → CasinoTournamentsController-DgQHHIEF.cjs} +1 -1
  4. package/components/{CasinoTournamentsFilterController-Bd_A-BQM.js → CasinoTournamentsFilterController-CQQlddU7.js} +1 -1
  5. package/components/{CasinoTournamentsFilterController-BPoUHLwo.js → CasinoTournamentsFilterController-DTU_2gg8.js} +1 -1
  6. package/components/{CasinoTournamentsFilterController-D-_CsUGX.cjs → CasinoTournamentsFilterController-DthxSaAP.cjs} +1 -1
  7. package/components/{CasinoTournamentsListController-DKxL22Ci.js → CasinoTournamentsListController-B44Sd_Xd.js} +2 -2
  8. package/components/{CasinoTournamentsListController-C-0ZQEEV.cjs → CasinoTournamentsListController-CTyy6QGc.cjs} +2 -2
  9. package/components/{CasinoTournamentsListController-Bi2pBr0L.js → CasinoTournamentsListController-D8Mce-Ba.js} +2 -2
  10. package/components/{CasinoTournamentsThumbnail-BzzfhzL3.js → CasinoTournamentsThumbnail-C8m2-yzp.js} +1 -1
  11. package/components/{CasinoTournamentsThumbnail-Bu2pPn1Q.js → CasinoTournamentsThumbnail-CvUCJuL_.js} +1 -1
  12. package/components/{CasinoTournamentsThumbnail-CTQs_UPH.cjs → CasinoTournamentsThumbnail-DrL4ipPE.cjs} +1 -1
  13. package/components/{CasinoTournamentsThumbnailController-DT-BI1B2.cjs → CasinoTournamentsThumbnailController-AwtNpbCC.cjs} +1 -1
  14. package/components/{CasinoTournamentsThumbnailController-CbX3jfT-.js → CasinoTournamentsThumbnailController-DOhlVFj-.js} +45 -45
  15. package/components/{CasinoTournamentsThumbnailController-CkbvUpT7.js → CasinoTournamentsThumbnailController-DRIgHZK4.js} +123 -123
  16. package/components/{CasinoTournamentsThumbnailDuration-DDYa95G7.js → CasinoTournamentsThumbnailDuration-B1oKgcSP.js} +1 -1
  17. package/components/{CasinoTournamentsThumbnailDuration-DcSdGvzP.js → CasinoTournamentsThumbnailDuration-BBDiU1hp.js} +1 -1
  18. package/components/{CasinoTournamentsThumbnailDuration-DnRAg_yZ.cjs → CasinoTournamentsThumbnailDuration-D8Fw1T6T.cjs} +1 -1
  19. package/components/{CasinoTournamentsThumbnailGamesSlider-C3jSJhQN.cjs → CasinoTournamentsThumbnailGamesSlider-BwHrytSr.cjs} +1 -1
  20. package/components/{CasinoTournamentsThumbnailGamesSlider-DP4Ku_ma.js → CasinoTournamentsThumbnailGamesSlider-CCZ61DSI.js} +1 -1
  21. package/components/{CasinoTournamentsThumbnailGamesSlider-Bi_Nusjs.js → CasinoTournamentsThumbnailGamesSlider-DyDWiEwW.js} +1 -1
  22. package/components/{CasinoTournamentsThumbnailPrizes-BXD-S3T9.cjs → CasinoTournamentsThumbnailPrizes-BUXbwFNF.cjs} +1 -1
  23. package/components/{CasinoTournamentsThumbnailPrizes-D74MWKsI.js → CasinoTournamentsThumbnailPrizes-CJpsQ6IH.js} +1 -1
  24. package/components/{CasinoTournamentsThumbnailPrizes-DFyzMChk.js → CasinoTournamentsThumbnailPrizes-Om5Riw3x.js} +1 -1
  25. package/es2015/casino-tournaments-controller.cjs +1 -1
  26. package/es2015/casino-tournaments-controller.js +1 -1
  27. package/esnext/casino-tournaments-controller.js +1 -1
  28. package/package.json +1 -1
@@ -4853,7 +4853,7 @@ if (typeof window < "u") {
4853
4853
  }
4854
4854
  };
4855
4855
  };
4856
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-Bd_A-BQM.js").then(({ default: t }) => {
4856
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-CQQlddU7.js").then(({ default: t }) => {
4857
4857
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4858
4858
  });
4859
4859
  }
@@ -4869,7 +4869,7 @@ if (typeof window < "u") {
4869
4869
  }
4870
4870
  };
4871
4871
  };
4872
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-DKxL22Ci.js").then(({ default: t }) => {
4872
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-B44Sd_Xd.js").then(({ default: t }) => {
4873
4873
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4874
4874
  });
4875
4875
  }
@@ -4890,7 +4890,7 @@ if (typeof window != "undefined") {
4890
4890
  }
4891
4891
  };
4892
4892
  };
4893
- customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-BPoUHLwo.js").then(({ default: t }) => {
4893
+ customElements.define = e(customElements.define), import("./CasinoTournamentsFilterController-DTU_2gg8.js").then(({ default: t }) => {
4894
4894
  !customElements.get("casino-tournaments-filter-controller") && customElements.define("casino-tournaments-filter-controller", t.element);
4895
4895
  });
4896
4896
  }
@@ -4906,7 +4906,7 @@ if (typeof window != "undefined") {
4906
4906
  }
4907
4907
  };
4908
4908
  };
4909
- customElements.define = e(customElements.define), import("./CasinoTournamentsListController-Bi2pBr0L.js").then(({ default: t }) => {
4909
+ customElements.define = e(customElements.define), import("./CasinoTournamentsListController-D8Mce-Ba.js").then(({ default: t }) => {
4910
4910
  !customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", t.element);
4911
4911
  });
4912
4912
  }
@@ -21,7 +21,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
21
21
  * https://github.com/Yaffle/EventSource/
22
22
  */(function(e,t){(function(r){var n=r.setTimeout,i=r.clearTimeout,o=r.XMLHttpRequest,s=r.XDomainRequest,a=r.ActiveXObject,h=r.EventSource,u=r.document,c=r.Promise,d=r.fetch,m=r.Response,E=r.TextDecoder,C=r.TextEncoder,H=r.AbortController;if(typeof window!="undefined"&&typeof u!="undefined"&&!("readyState"in u)&&u.body==null&&(u.readyState="loading",window.addEventListener("load",function(l){u.readyState="complete"},!1)),o==null&&a!=null&&(o=function(){return new a("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(l){function b(){}return b.prototype=l,new b}),Date.now||(Date.now=function(){return new Date().getTime()}),H==null){var te=d;d=function(l,b){var g=b.signal;return te(l,{headers:b.headers,credentials:b.credentials,cache:b.cache}).then(function(p){var y=p.body.getReader();return g._reader=y,g._aborted&&g._reader.cancel(),{status:p.status,statusText:p.statusText,headers:p.headers,body:{getReader:function(){return y}}}})},H=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function de(){this.bitsNeeded=0,this.codePoint=0}de.prototype.decode=function(l){function b(P,I,_){if(_===1)return P>=128>>I&&P<<I<=2047;if(_===2)return P>=2048>>I&&P<<I<=55295||P>=57344>>I&&P<<I<=65535;if(_===3)return P>=65536>>I&&P<<I<=1114111;throw new Error}function g(P,I){if(P===6*1)return I>>6>15?3:I>31?2:1;if(P===6*2)return I>15?3:2;if(P===6*3)return 3;throw new Error}for(var p=65533,y="",v=this.bitsNeeded,w=this.codePoint,N=0;N<l.length;N+=1){var S=l[N];v!==0&&(S<128||S>191||!b(w<<6|S&63,v-6,g(v,w)))&&(v=0,w=p,y+=String.fromCharCode(w)),v===0?(S>=0&&S<=127?(v=0,w=S):S>=192&&S<=223?(v=6*1,w=S&31):S>=224&&S<=239?(v=6*2,w=S&15):S>=240&&S<=247?(v=6*3,w=S&7):(v=0,w=p),v!==0&&!b(w,v,g(v,w))&&(v=0,w=p)):(v-=6,w=w<<6|S&63),v===0&&(w<=65535?y+=String.fromCharCode(w):(y+=String.fromCharCode(55296+(w-65535-1>>10)),y+=String.fromCharCode(56320+(w-65535-1&1023))))}return this.bitsNeeded=v,this.codePoint=w,y};var ie=function(){try{return new E().decode(new C().encode("test"),{stream:!0})==="test"}catch(l){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+l)}return!1};(E==null||C==null||!ie())&&(E=de);var L=function(){};function k(l){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=L,this.onload=L,this.onerror=L,this.onreadystatechange=L,this._contentType="",this._xhr=l,this._sendTimeout=0,this._abort=L}k.prototype.open=function(l,b){this._abort(!0);var g=this,p=this._xhr,y=1,v=0;this._abort=function(_){g._sendTimeout!==0&&(i(g._sendTimeout),g._sendTimeout=0),(y===1||y===2||y===3)&&(y=4,p.onload=L,p.onerror=L,p.onabort=L,p.onprogress=L,p.onreadystatechange=L,p.abort(),v!==0&&(i(v),v=0),_||(g.readyState=4,g.onabort(null),g.onreadystatechange())),y=0};var w=function(){if(y===1){var _=0,f="",O=void 0;if("contentType"in p)_=200,f="OK",O=p.contentType;else try{_=p.status,f=p.statusText,O=p.getResponseHeader("Content-Type")}catch(D){_=0,f="",O=void 0}_!==0&&(y=2,g.readyState=2,g.status=_,g.statusText=f,g._contentType=O,g.onreadystatechange())}},N=function(){if(w(),y===2||y===3){y=3;var _="";try{_=p.responseText}catch(f){}g.readyState=3,g.responseText=_,g.onprogress()}},S=function(_,f){if((f==null||f.preventDefault==null)&&(f={preventDefault:L}),N(),y===1||y===2||y===3){if(y=4,v!==0&&(i(v),v=0),g.readyState=4,_==="load")g.onload(f);else if(_==="error")g.onerror(f);else if(_==="abort")g.onabort(f);else throw new TypeError;g.onreadystatechange()}},P=function(_){p!=null&&(p.readyState===4?(!("onload"in p)||!("onerror"in p)||!("onabort"in p))&&S(p.responseText===""?"error":"load",_):p.readyState===3?"onprogress"in p||N():p.readyState===2&&w())},I=function(){v=n(function(){I()},500),p.readyState===3&&N()};"onload"in p&&(p.onload=function(_){S("load",_)}),"onerror"in p&&(p.onerror=function(_){S("error",_)}),"onabort"in p&&(p.onabort=function(_){S("abort",_)}),"onprogress"in p&&(p.onprogress=N),"onreadystatechange"in p&&(p.onreadystatechange=function(_){P(_)}),("contentType"in p||!("ontimeout"in o.prototype))&&(b+=(b.indexOf("?")===-1?"?":"&")+"padding=true"),p.open(l,b,!0),"readyState"in p&&(v=n(function(){I()},0))},k.prototype.abort=function(){this._abort(!1)},k.prototype.getResponseHeader=function(l){return this._contentType},k.prototype.setRequestHeader=function(l,b){var g=this._xhr;"setRequestHeader"in g&&g.setRequestHeader(l,b)},k.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},k.prototype.send=function(){if((!("ontimeout"in o.prototype)||!("sendAsBinary"in o.prototype)&&!("mozAnon"in o.prototype))&&u!=null&&u.readyState!=null&&u.readyState!=="complete"){var l=this;l._sendTimeout=n(function(){l._sendTimeout=0,l.send()},4);return}var b=this._xhr;"withCredentials"in b&&(b.withCredentials=this.withCredentials);try{b.send(void 0)}catch(g){throw g}};function J(l){return l.replace(/[A-Z]/g,function(b){return String.fromCharCode(b.charCodeAt(0)+32)})}function he(l){for(var b=Object.create(null),g=l.split(`\r
23
23
  `),p=0;p<g.length;p+=1){var y=g[p],v=y.split(": "),w=v.shift(),N=v.join(": ");b[J(w)]=N}this._map=b}he.prototype.get=function(l){return this._map[J(l)]},o!=null&&o.HEADERS_RECEIVED==null&&(o.HEADERS_RECEIVED=2);function ge(){}ge.prototype.open=function(l,b,g,p,y,v,w){l.open("GET",y);var N=0;l.onprogress=function(){var P=l.responseText,I=P.slice(N);N+=I.length,g(I)},l.onerror=function(P){P.preventDefault(),p(new Error("NetworkError"))},l.onload=function(){p(null)},l.onabort=function(){p(null)},l.onreadystatechange=function(){if(l.readyState===o.HEADERS_RECEIVED){var P=l.status,I=l.statusText,_=l.getResponseHeader("Content-Type"),f=l.getAllResponseHeaders();b(P,I,_,new he(f))}},l.withCredentials=v;for(var S in w)Object.prototype.hasOwnProperty.call(w,S)&&l.setRequestHeader(S,w[S]);return l.send(),l};function De(l){this._headers=l}De.prototype.get=function(l){return this._headers.get(l)};function Fe(){}Fe.prototype.open=function(l,b,g,p,y,v,w){var N=null,S=new H,P=S.signal,I=new E;return d(y,{headers:w,credentials:v?"include":"same-origin",signal:P,cache:"no-store"}).then(function(_){return N=_.body.getReader(),b(_.status,_.statusText,_.headers.get("Content-Type"),new De(_.headers)),new c(function(f,O){var D=function(){N.read().then(function(B){if(B.done)f(void 0);else{var V=I.decode(B.value,{stream:!0});g(V),D()}}).catch(function(B){O(B)})};D()})}).catch(function(_){if(_.name!=="AbortError")return _}).then(function(_){p(_)}),{abort:function(){N!=null&&N.cancel(),S.abort()}}};function _e(){this._listeners=Object.create(null)}function Ue(l){n(function(){throw l},0)}_e.prototype.dispatchEvent=function(l){l.target=this;var b=this._listeners[l.type];if(b!=null)for(var g=b.length,p=0;p<g;p+=1){var y=b[p];try{typeof y.handleEvent=="function"?y.handleEvent(l):y.call(this,l)}catch(v){Ue(v)}}},_e.prototype.addEventListener=function(l,b){l=String(l);var g=this._listeners,p=g[l];p==null&&(p=[],g[l]=p);for(var y=!1,v=0;v<p.length;v+=1)p[v]===b&&(y=!0);y||p.push(b)},_e.prototype.removeEventListener=function(l,b){l=String(l);var g=this._listeners,p=g[l];if(p!=null){for(var y=[],v=0;v<p.length;v+=1)p[v]!==b&&y.push(p[v]);y.length===0?delete g[l]:g[l]=y}};function pe(l){this.type=l,this.target=void 0}function ve(l,b){pe.call(this,l),this.data=b.data,this.lastEventId=b.lastEventId}ve.prototype=Object.create(pe.prototype);function tt(l,b){pe.call(this,l),this.status=b.status,this.statusText=b.statusText,this.headers=b.headers}tt.prototype=Object.create(pe.prototype);function Ge(l,b){pe.call(this,l),this.error=b.error}Ge.prototype=Object.create(pe.prototype);var je=-1,fe=0,me=1,Q=2,Ee=-1,oe=0,se=1,Be=2,Ce=3,pt=/^text\/event\-stream(;.*)?$/i,be=1e3,rt=18e6,$e=function(l,b){var g=l==null?b:parseInt(l,10);return g!==g&&(g=b),nt(g)},nt=function(l){return Math.min(Math.max(l,be),rt)},He=function(l,b,g){try{typeof b=="function"&&b.call(l,g)}catch(p){Ue(p)}};function re(l,b){_e.call(this),b=b||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,Ut(this,l,b)}function Ft(){return o!=null&&"withCredentials"in o.prototype||s==null?new o:new s}var it=d!=null&&m!=null&&"body"in m.prototype;function Ut(l,b,g){b=String(b);var p=!!g.withCredentials,y=g.lastEventIdQueryParameterName||"lastEventId",v=nt(1e3),w=$e(g.heartbeatTimeout,45e3),N="",S=v,P=!1,I=0,_=g.headers||{},f=g.Transport,O=it&&f==null?void 0:new k(f!=null?new f:Ft()),D=f!=null&&typeof f!="string"?new f:O==null?new Fe:new ge,B=void 0,V=0,W=je,Pe="",ot="",G="",bt="",Y=oe,Gt=0,Ie=0,$n=function(X,j,ae,ue){if(W===fe)if(X===200&&ae!=null&&pt.test(ae)){W=me,P=Date.now(),S=v,l.readyState=me;var K=new tt("open",{status:X,statusText:j,headers:ue});l.dispatchEvent(K),He(l,l.onopen,K)}else{var z="";X!==200?(j&&(j=j.replace(/\s+/g," ")),z="EventSource's response has a status "+X+" "+j+" that is not 200. Aborting the connection."):z="EventSource's response has a Content-Type specifying an unsupported type: "+(ae==null?"-":ae.replace(/\s+/g," "))+". Aborting the connection.",jt();var K=new tt("error",{status:X,statusText:j,headers:ue});l.dispatchEvent(K),He(l,l.onerror,K),console.error(z)}},kn=function(X){if(W===me){for(var j=-1,ae=0;ae<X.length;ae+=1){var ue=X.charCodeAt(ae);(ue===10||ue===13)&&(j=ae)}var K=(j!==-1?bt:"")+X.slice(0,j+1);bt=(j===-1?bt:"")+X.slice(j+1),X!==""&&(P=Date.now(),I+=X.length);for(var z=0;z<K.length;z+=1){var ue=K.charCodeAt(z);if(Y===Ee&&ue===10)Y=oe;else if(Y===Ee&&(Y=oe),ue===13||ue===10){if(Y!==oe){Y===se&&(Ie=z+1);var xe=K.slice(Gt,Ie-1),we=K.slice(Ie+(Ie<z&&K.charCodeAt(Ie)===32?1:0),z);xe==="data"?(Pe+=`
24
- `,Pe+=we):xe==="id"?ot=we:xe==="event"?G=we:xe==="retry"?(v=$e(we,v),S=v):xe==="heartbeatTimeout"&&(w=$e(we,w),V!==0&&(i(V),V=n(function(){st()},w)))}if(Y===oe){if(Pe!==""){N=ot,G===""&&(G="message");var ke=new ve(G,{data:Pe.slice(1),lastEventId:ot});if(l.dispatchEvent(ke),G==="open"?He(l,l.onopen,ke):G==="message"?He(l,l.onmessage,ke):G==="error"&&He(l,l.onerror,ke),W===Q)return}Pe="",G=""}Y=ue===13?Ee:oe}else Y===oe&&(Gt=z,Y=se),Y===se?ue===58&&(Ie=z+1,Y=Be):Y===Be&&(Y=Ce)}}},yr=function(X){if(W===me||W===fe){W=je,V!==0&&(i(V),V=0),V=n(function(){st()},S),S=nt(Math.min(v*16,S*2)),l.readyState=fe;var j=new Ge("error",{error:X});l.dispatchEvent(j),He(l,l.onerror,j),X!=null&&console.error(X)}},jt=function(){W=Q,B!=null&&(B.abort(),B=void 0),V!==0&&(i(V),V=0),l.readyState=Q},st=function(){if(V=0,W!==je){if(!P&&B!=null)yr(new Error("No activity within "+w+" milliseconds. "+(W===fe?"No response received.":I+" chars received.")+" Reconnecting.")),B!=null&&(B.abort(),B=void 0);else{var X=Math.max((P||Date.now())+w-Date.now(),1);P=!1,V=n(function(){st()},X)}return}P=!1,I=0,V=n(function(){st()},w),W=fe,Pe="",G="",ot=N,bt="",Gt=0,Ie=0,Y=oe;var j=b;if(b.slice(0,5)!=="data:"&&b.slice(0,5)!=="blob:"&&N!==""){var ae=b.indexOf("?");j=ae===-1?b:b.slice(0,ae+1)+b.slice(ae+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(we,ke){return ke===y?"":we}),j+=(b.indexOf("?")===-1?"?":"&")+y+"="+encodeURIComponent(N)}var ue=l.withCredentials,K={};K.Accept="text/event-stream";var z=l.headers;if(z!=null)for(var xe in z)Object.prototype.hasOwnProperty.call(z,xe)&&(K[xe]=z[xe]);try{B=D.open(O,$n,kn,yr,j,ue,K)}catch(we){throw jt(),we}};l.url=b,l.readyState=fe,l.withCredentials=p,l.headers=_,l._close=jt,st()}re.prototype=Object.create(_e.prototype),re.prototype.CONNECTING=fe,re.prototype.OPEN=me,re.prototype.CLOSED=Q,re.prototype.close=function(){this._close()},re.CONNECTING=fe,re.OPEN=me,re.CLOSED=Q,re.prototype.withCredentials=void 0;var mt=h;o!=null&&(h==null||!("withCredentials"in h.prototype))&&(mt=re),function(l){{var b=l(t);b!==void 0&&(e.exports=b)}}(function(l){l.EventSourcePolyfill=re,l.NativeEventSource=h,l.EventSource=mt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:Mi:globalThis)})(pr,pr.exports);var Ts=pr.exports;function Fn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Un(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Gn(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsFilterController-D-_CsUGX.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-filter-controller")&&customElements.define("casino-tournaments-filter-controller",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsListController-C-0ZQEEV.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-list-controller")&&customElements.define("casino-tournaments-list-controller",t.element)})}const Wr=e=>e.length>0&&e!="false";function As(e){Kr(e,"svelte-v0e19m","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}")}function Hs(e){let t,r,n,i,o,s,a=e[21]&&qr(e);function h(m,E){return m[22]==0?Bs:Os}let u=h(e),c=u(e),d=!e[23]&&Zr(e);return{c(){t=$("div"),r=$("div"),n=$("div"),a&&a.c(),i=Tt(),o=$("div"),c.c(),s=Tt(),d&&d.c(),F(n,"class","FirstRow"),F(n,"part","FirstRow"),F(o,"class","SecondRow"),F(o,"part","SecondRow"),F(r,"class","Tournaments"),F(r,"part","Tournaments"),F(t,"class","TournamentsWrapper"),F(t,"part","TournamentsWrapper")},m(m,E){ne(m,t,E),q(t,r),q(r,n),a&&a.m(n,null),q(r,i),q(r,o),c.m(o,null),q(r,s),d&&d.m(r,null)},p(m,E){m[21]?a?a.p(m,E):(a=qr(m),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u===(u=h(m))&&c?c.p(m,E):(c.d(1),c=u(m),c&&(c.c(),c.m(o,null))),m[23]?d&&(d.d(1),d=null):d?d.p(m,E):(d=Zr(m),d.c(),d.m(r,null))},d(m){m&&Z(t),a&&a.d(),c.d(),d&&d.d()}}}function Ps(e){let t,r=e[24]("500")+"",n,i,o,s;return{c(){t=$("p"),n=Te(r),i=Tt(),o=$("p"),s=Te(e[19])},m(a,h){ne(a,t,h),q(t,n),ne(a,i,h),ne(a,o,h),q(o,s)},p(a,h){h[0]&16777216&&r!==(r=a[24]("500")+"")&&Ne(n,r),h[0]&524288&&Ne(s,a[19])},d(a){a&&(Z(t),Z(i),Z(o))}}}function qr(e){let t;return{c(){t=$("casino-tournaments-filter-controller"),x(t,"clientstyling",e[13]),x(t,"clientstylingurl",e[14]),x(t,"translationurl",e[4]),x(t,"mbsource",e[15]),x(t,"filters",Ms),x(t,"activefilters",e[6]),x(t,"exportparts","FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem")},m(r,n){ne(r,t,n)},p(r,n){n[0]&8192&&x(t,"clientstyling",r[13]),n[0]&16384&&x(t,"clientstylingurl",r[14]),n[0]&16&&x(t,"translationurl",r[4]),n[0]&32768&&x(t,"mbsource",r[15]),n[0]&64&&x(t,"activefilters",r[6])},d(r){r&&Z(t)}}}function Os(e){let t;return{c(){t=$("casino-tournaments-list-controller"),x(t,"clientstyling",e[13]),x(t,"clientstylingurl",e[14]),x(t,"translationurl",e[4]),x(t,"userid",e[1]),x(t,"numberoftournaments",e[5]),x(t,"loginurl",e[9]),x(t,"loginevent",e[7]),x(t,"registerurl",e[10]),x(t,"registerevent",e[8]),x(t,"lang",e[3]),x(t,"currency",e[11]),x(t,"keepbrowsercontext",e[12]),x(t,"mbsource",e[15]),x(t,"session",e[0]),x(t,"endpoint",e[2]),x(t,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
24
+ `,Pe+=we):xe==="id"?ot=we:xe==="event"?G=we:xe==="retry"?(v=$e(we,v),S=v):xe==="heartbeatTimeout"&&(w=$e(we,w),V!==0&&(i(V),V=n(function(){st()},w)))}if(Y===oe){if(Pe!==""){N=ot,G===""&&(G="message");var ke=new ve(G,{data:Pe.slice(1),lastEventId:ot});if(l.dispatchEvent(ke),G==="open"?He(l,l.onopen,ke):G==="message"?He(l,l.onmessage,ke):G==="error"&&He(l,l.onerror,ke),W===Q)return}Pe="",G=""}Y=ue===13?Ee:oe}else Y===oe&&(Gt=z,Y=se),Y===se?ue===58&&(Ie=z+1,Y=Be):Y===Be&&(Y=Ce)}}},yr=function(X){if(W===me||W===fe){W=je,V!==0&&(i(V),V=0),V=n(function(){st()},S),S=nt(Math.min(v*16,S*2)),l.readyState=fe;var j=new Ge("error",{error:X});l.dispatchEvent(j),He(l,l.onerror,j),X!=null&&console.error(X)}},jt=function(){W=Q,B!=null&&(B.abort(),B=void 0),V!==0&&(i(V),V=0),l.readyState=Q},st=function(){if(V=0,W!==je){if(!P&&B!=null)yr(new Error("No activity within "+w+" milliseconds. "+(W===fe?"No response received.":I+" chars received.")+" Reconnecting.")),B!=null&&(B.abort(),B=void 0);else{var X=Math.max((P||Date.now())+w-Date.now(),1);P=!1,V=n(function(){st()},X)}return}P=!1,I=0,V=n(function(){st()},w),W=fe,Pe="",G="",ot=N,bt="",Gt=0,Ie=0,Y=oe;var j=b;if(b.slice(0,5)!=="data:"&&b.slice(0,5)!=="blob:"&&N!==""){var ae=b.indexOf("?");j=ae===-1?b:b.slice(0,ae+1)+b.slice(ae+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(we,ke){return ke===y?"":we}),j+=(b.indexOf("?")===-1?"?":"&")+y+"="+encodeURIComponent(N)}var ue=l.withCredentials,K={};K.Accept="text/event-stream";var z=l.headers;if(z!=null)for(var xe in z)Object.prototype.hasOwnProperty.call(z,xe)&&(K[xe]=z[xe]);try{B=D.open(O,$n,kn,yr,j,ue,K)}catch(we){throw jt(),we}};l.url=b,l.readyState=fe,l.withCredentials=p,l.headers=_,l._close=jt,st()}re.prototype=Object.create(_e.prototype),re.prototype.CONNECTING=fe,re.prototype.OPEN=me,re.prototype.CLOSED=Q,re.prototype.close=function(){this._close()},re.CONNECTING=fe,re.OPEN=me,re.CLOSED=Q,re.prototype.withCredentials=void 0;var mt=h;o!=null&&(h==null||!("withCredentials"in h.prototype))&&(mt=re),function(l){{var b=l(t);b!==void 0&&(e.exports=b)}}(function(l){l.EventSourcePolyfill=re,l.NativeEventSource=h,l.EventSource=mt})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:Mi:globalThis)})(pr,pr.exports);var Ts=pr.exports;function Fn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Un(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Gn(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsFilterController-DthxSaAP.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-filter-controller")&&customElements.define("casino-tournaments-filter-controller",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsListController-CTyy6QGc.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-list-controller")&&customElements.define("casino-tournaments-list-controller",t.element)})}const Wr=e=>e.length>0&&e!="false";function As(e){Kr(e,"svelte-v0e19m","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ShowMoreButton{background:var(--emw--color-contrast, #07072A);font-size:18px;width:280px;height:60px;text-align:center;color:var(--emw--color-green, #48952a);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;margin-bottom:20px;cursor:pointer}.ShowMoreButton:hover{opacity:0.7}.TournamentsWrapper{min-height:100vh;background:var(--emw--color-contrast, #07072A);overflow-x:hidden}.Tournaments{color:var(--emw--color-white, #FFFFFF);display:flex;flex-direction:column;position:relative;margin:0 auto;max-width:1300px;padding:24px 0}@media screen and (max-width: 1300px){.Tournaments{padding:24px 2.4%}}.Tournaments .FirstRow{width:100%;margin:0 auto}.Tournaments .SecondRow{margin:0 auto;width:100%}.Tournaments .ThirdRow{display:flex;flex-direction:column;justify-content:center}.Tournaments .ThirdRow .CenterButton{padding-top:20px;width:100%;display:flex;justify-content:center}")}function Hs(e){let t,r,n,i,o,s,a=e[21]&&qr(e);function h(m,E){return m[22]==0?Bs:Os}let u=h(e),c=u(e),d=!e[23]&&Zr(e);return{c(){t=$("div"),r=$("div"),n=$("div"),a&&a.c(),i=Tt(),o=$("div"),c.c(),s=Tt(),d&&d.c(),F(n,"class","FirstRow"),F(n,"part","FirstRow"),F(o,"class","SecondRow"),F(o,"part","SecondRow"),F(r,"class","Tournaments"),F(r,"part","Tournaments"),F(t,"class","TournamentsWrapper"),F(t,"part","TournamentsWrapper")},m(m,E){ne(m,t,E),q(t,r),q(r,n),a&&a.m(n,null),q(r,i),q(r,o),c.m(o,null),q(r,s),d&&d.m(r,null)},p(m,E){m[21]?a?a.p(m,E):(a=qr(m),a.c(),a.m(n,null)):a&&(a.d(1),a=null),u===(u=h(m))&&c?c.p(m,E):(c.d(1),c=u(m),c&&(c.c(),c.m(o,null))),m[23]?d&&(d.d(1),d=null):d?d.p(m,E):(d=Zr(m),d.c(),d.m(r,null))},d(m){m&&Z(t),a&&a.d(),c.d(),d&&d.d()}}}function Ps(e){let t,r=e[24]("500")+"",n,i,o,s;return{c(){t=$("p"),n=Te(r),i=Tt(),o=$("p"),s=Te(e[19])},m(a,h){ne(a,t,h),q(t,n),ne(a,i,h),ne(a,o,h),q(o,s)},p(a,h){h[0]&16777216&&r!==(r=a[24]("500")+"")&&Ne(n,r),h[0]&524288&&Ne(s,a[19])},d(a){a&&(Z(t),Z(i),Z(o))}}}function qr(e){let t;return{c(){t=$("casino-tournaments-filter-controller"),x(t,"clientstyling",e[13]),x(t,"clientstylingurl",e[14]),x(t,"translationurl",e[4]),x(t,"mbsource",e[15]),x(t,"filters",Ms),x(t,"activefilters",e[6]),x(t,"exportparts","FiltersController, MobileClass, Non-MobileClass/empty, Active, FilterButton, bi, bi-check, FiltersList, FiltersTitle, FiltersItem")},m(r,n){ne(r,t,n)},p(r,n){n[0]&8192&&x(t,"clientstyling",r[13]),n[0]&16384&&x(t,"clientstylingurl",r[14]),n[0]&16&&x(t,"translationurl",r[4]),n[0]&32768&&x(t,"mbsource",r[15]),n[0]&64&&x(t,"activefilters",r[6])},d(r){r&&Z(t)}}}function Os(e){let t;return{c(){t=$("casino-tournaments-list-controller"),x(t,"clientstyling",e[13]),x(t,"clientstylingurl",e[14]),x(t,"translationurl",e[4]),x(t,"userid",e[1]),x(t,"numberoftournaments",e[5]),x(t,"loginurl",e[9]),x(t,"loginevent",e[7]),x(t,"registerurl",e[10]),x(t,"registerevent",e[8]),x(t,"lang",e[3]),x(t,"currency",e[11]),x(t,"keepbrowsercontext",e[12]),x(t,"mbsource",e[15]),x(t,"session",e[0]),x(t,"endpoint",e[2]),x(t,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
25
25
  TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
26
26
  TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
27
27
  TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonSpan, JoinButtonSvg, JoinButtonSvgA, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, TournamentList, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper`)},m(r,n){ne(r,t,n)},p(r,n){n[0]&8192&&x(t,"clientstyling",r[13]),n[0]&16384&&x(t,"clientstylingurl",r[14]),n[0]&16&&x(t,"translationurl",r[4]),n[0]&2&&x(t,"userid",r[1]),n[0]&32&&x(t,"numberoftournaments",r[5]),n[0]&512&&x(t,"loginurl",r[9]),n[0]&128&&x(t,"loginevent",r[7]),n[0]&1024&&x(t,"registerurl",r[10]),n[0]&256&&x(t,"registerevent",r[8]),n[0]&8&&x(t,"lang",r[3]),n[0]&2048&&x(t,"currency",r[11]),n[0]&4096&&x(t,"keepbrowsercontext",r[12]),n[0]&32768&&x(t,"mbsource",r[15]),n[0]&1&&x(t,"session",r[0]),n[0]&4&&x(t,"endpoint",r[2])},d(r){r&&Z(t)}}}function Bs(e){let t;function r(o,s){return o[20]?Ls:o[18]?Is:Cs}let n=r(e),i=n(e);return{c(){i.c(),t=en()},m(o,s){i.m(o,s),ne(o,t,s)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&Z(t),i.d(o)}}}function Cs(e){let t,r=e[24]("noTournaments")+"",n;return{c(){t=$("p"),n=Te(r),F(t,"class","NoTournaments"),F(t,"part","NoTournaments")},m(i,o){ne(i,t,o),q(t,n)},p(i,o){o[0]&16777216&&r!==(r=i[24]("noTournaments")+"")&&Ne(n,r)},d(i){i&&Z(t)}}}function Is(e){let t,r=e[24]("fetchError")+"",n;return{c(){t=$("p"),n=Te(r),F(t,"class","FetchErrorMessage")},m(i,o){ne(i,t,o),q(t,n)},p(i,o){o[0]&16777216&&r!==(r=i[24]("fetchError")+"")&&Ne(n,r)},d(i){i&&Z(t)}}}function Ls(e){let t,r=e[24]("loading")+"",n;return{c(){t=$("p"),n=Te(r),F(t,"class","LoadingMessage"),F(t,"part","LoadingMessage")},m(i,o){ne(i,t,o),q(t,n)},p(i,o){o[0]&16777216&&r!==(r=i[24]("loading")+"")&&Ne(n,r)},d(i){i&&Z(t)}}}function Zr(e){let t,r,n,i=e[24]("showMore")+"",o,s,a;return{c(){t=$("div"),r=$("div"),n=$("button"),o=Te(i),F(n,"class","ShowMoreButton"),F(n,"part","ShowMoreButton"),F(n,"title","Show More"),F(r,"class","CenterButton"),F(r,"part","CenterButton"),F(t,"class","ThirdRow"),F(t,"part","ThirdRow")},m(h,u){ne(h,t,u),q(t,r),q(r,n),q(n,o),s||(a=At(n,"click",e[34]),s=!0)},p(h,u){u[0]&16777216&&i!==(i=h[24]("showMore")+"")&&Ne(o,i)},d(h){h&&Z(t),s=!1,a()}}}function Ns(e){let t;function r(o,s){return o[17]?Ps:Hs}let n=r(e),i=n(e);return{c(){t=$("div"),i.c()},m(o,s){ne(o,t,s),i.m(t,null),e[35](t)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t,null)))},i:le,o:le,d(o){o&&Z(t),i.d(),e[35](null)}}}let Ms="All,Scheduled,Ongoing,Finished";function Rs(e,t,r){let n;Yr(e,Rn,f=>r(24,n=f));let{session:i=""}=t,{userid:o=""}=t,{endpoint:s=""}=t,{lang:a="en"}=t,{translationurl:h=""}=t,{numberoftournaments:u="6"}=t,{showmorestep:c="2"}=t,{filters:d="All"}=t,{loginevent:m=""}=t,{registerevent:E=""}=t,{loginurl:C=""}=t,{registerurl:H=""}=t,{currency:te="EUR"}=t,{keepbrowsercontext:de="false"}=t,{sorttype:ie=""}=t,{sortorder:L=""}=t,{starttimeafter:k=""}=t,{showanonymoustournaments:J="true"}=t,{clientstyling:he=""}=t,{clientstylingurl:ge=""}=t,{delaybeforeload:De=1e3}=t,Fe=!1,_e=!1,Ue="",pe=!1,ve="",tt=window.navigator.userAgent,Ge=!0,je=!1,fe=!1,{mbsource:me}=t,Q,Ee=0,oe=!1,se=6,Be=!0,Ce=[],pt,be,rt=!1,$e;Ss({withLocale:"en",translations:{}});const nt=()=>{fetch(h).then(O=>O.json()).then(O=>{$e=O,Object.keys(O).forEach(D=>{Qt(D,O[D])})}).catch(O=>{console.log(O)})},He=f=>{f&&Object.keys(f).forEach(O=>{Qt(O,f[O])})};Object.keys(zr).forEach(f=>{Qt(f,zr[f])});const re=f=>{f.data&&f.data.type==="UserSessionID"&&(pe=!0,r(32,ve=f.data.session),f.data.userid,it(s,0,se)),f.data&&f.data.type==="TournamentsFiltersSelected"&&(Ce=f.data.filters,it(s,0,se)),f.data&&f.data.type==="TournamentThumbnailMounted"&&He($e)},Ft=f=>f=="Scheduled"?"Unstarted":f=="Ongoing"?"Running":"Closing|Closed",it=(f,O,D)=>Le(this,null,function*(){r(20,Ge=!0),r(22,Ee=0);const B=yield l(f,O,D);B===null?r(18,_e=!0):setTimeout(()=>window.postMessage({type:"TournamentList",tournamentList:B.items},window.location.href),50),r(20,Ge=!1)}),Ut=(f,O,D)=>Le(this,null,function*(){const B=yield l(f,O,D);B===null?r(18,_e=!0):window.postMessage({type:"TournamentListShowMore",tournamentList:B.items},window.location.href)}),mt=()=>{const f=new Date;return k?f.setDate(f.getDate()-Number(k)):f.setMonth(f.getMonth()-1),f.toISOString().substring(0,10)},l=(f,O,D)=>Le(this,null,function*(){const B=new URL(`${f}/v1/tournaments`),V=new Headers;B.searchParams.append("pagination",`offset=${O},limit=${D}`),B.searchParams.append("sortField","StartTime"),B.searchParams.append("sortOrder",L||"desc"),B.searchParams.append("language",a),B.searchParams.append("platform",Dn(tt));const W={StartTimeAfter:mt()};!Wr(i)&&J==="false"&&(W.tags="no-role-set"),Ce.length>0&&Ce[0]!="All"&&(W.state=Ce.map(G=>Ft(G)).join("|"));const Pe=Object.keys(W).map(G=>`${G}=${W[G]}`).join(",");return B.searchParams.append("filter",Pe),ie&&B.searchParams.append("sortType",ie),pe&&V.append("X-SessionID",ve),fetch(B,{method:"GET",headers:V,cache:"no-cache"}).then(G=>G.ok?G.json():null).then(G=>G===null?null:(pt=B.searchParams.toString(),r(22,Ee=G.total),se>=Ee?r(23,Be=!0):r(23,Be=!1),fe||g(),G))}),b=f=>{if(f.type!="message")return;let O=f.data;if(O)try{let D=JSON.parse(O);if(!D||!D.item)return;let B=D.item;D.messageType=="TournamentUpdate"&&window.postMessage({type:"UpdateTournamentView",tournamentData:B},window.location.href),D.messageType=="TournamentRemove"&&window.postMessage({type:"TournamentList",tournamentList:D.items},window.location.href)}catch(D){console.error(D)}},g=()=>{fe=!0,setTimeout(()=>{fe=!1},1e3),be&&(be.removeEventListener("message",b),be.close());let f=`${s}/v1/tournaments/updates?${pt}`;be=new Ts.EventSourcePolyfill(f,{headers:{accept:"text/event-stream","X-SessionId":i}}),typeof be!="undefined"&&be.addEventListener("message",b)},p=()=>Le(this,null,function*(){let f=se;const O=parseInt(c,10);se+=O,window.postMessage({type:"TournamentsPagination",offset:0,limit:se},window.location.href),yield Ut(s,f,O),se>=Ee&&r(23,Be=!0)}),y=()=>(s||(r(19,Ue="Endpoint is missing! Please provide a valid endpointURL."),r(17,Fe=!0),console.error(Ue)),Fe),v=()=>{if(!oe)return!1;y()||(se=parseInt(u,10),Xr(a),it(s,0,se))},w=()=>{Xr(a)},N=()=>{Ce=d.split(","),r(21,je=!0)},S=()=>{Wr(i)?(pe=!0,r(32,ve=i)):(pe=!1,r(32,ve=""))},P=()=>Le(this,null,function*(){rt||(rt=!0,yield v(),rt=!1)});tn(()=>(setTimeout(()=>{r(33,oe=!0)},De),window.addEventListener("message",re,!1),()=>{window.removeEventListener("message",re),be&&(be.removeEventListener("message",b),be.close())}));const I=()=>p();function _(f){Ht[f?"unshift":"push"](()=>{Q=f,r(16,Q)})}return e.$$set=f=>{"session"in f&&r(0,i=f.session),"userid"in f&&r(1,o=f.userid),"endpoint"in f&&r(2,s=f.endpoint),"lang"in f&&r(3,a=f.lang),"translationurl"in f&&r(4,h=f.translationurl),"numberoftournaments"in f&&r(5,u=f.numberoftournaments),"showmorestep"in f&&r(26,c=f.showmorestep),"filters"in f&&r(6,d=f.filters),"loginevent"in f&&r(7,m=f.loginevent),"registerevent"in f&&r(8,E=f.registerevent),"loginurl"in f&&r(9,C=f.loginurl),"registerurl"in f&&r(10,H=f.registerurl),"currency"in f&&r(11,te=f.currency),"keepbrowsercontext"in f&&r(12,de=f.keepbrowsercontext),"sorttype"in f&&r(27,ie=f.sorttype),"sortorder"in f&&r(28,L=f.sortorder),"starttimeafter"in f&&r(29,k=f.starttimeafter),"showanonymoustournaments"in f&&r(30,J=f.showanonymoustournaments),"clientstyling"in f&&r(13,he=f.clientstyling),"clientstylingurl"in f&&r(14,ge=f.clientstylingurl),"delaybeforeload"in f&&r(31,De=f.delaybeforeload),"mbsource"in f&&r(15,me=f.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&2,e.$$.dirty[0]&64&&d&&N(),e.$$.dirty[0]&8&&a&&w(),e.$$.dirty[0]&16&&h&&nt(),e.$$.dirty[1]&4&&oe&&v(),e.$$.dirty[0]&1&&(i===""||i)&&S(),e.$$.dirty[1]&2&&(ve===""||ve)&&P(),e.$$.dirty[0]&1140850732&&s&&u&&c&&a&&J&&P(),e.$$.dirty[0]&73728&&he&&Q&&Fn(Q,he),e.$$.dirty[0]&81920&&ge&&Q&&Un(Q,ge),e.$$.dirty[0]&98304&&me&&Q&&Gn(Q,`${me}.Style`)},[i,o,s,a,h,u,d,m,E,C,H,te,de,he,ge,me,Q,Fe,_e,Ue,Ge,je,Ee,Be,n,p,c,ie,L,k,J,De,ve,oe,I,_]}class jn extends sn{constructor(t){super(),rn(this,t,Rs,Ns,mr,{session:0,userid:1,endpoint:2,lang:3,translationurl:4,numberoftournaments:5,showmorestep:26,filters:6,loginevent:7,registerevent:8,loginurl:9,registerurl:10,currency:11,keepbrowsercontext:12,sorttype:27,sortorder:28,starttimeafter:29,showanonymoustournaments:30,clientstyling:13,clientstylingurl:14,delaybeforeload:31,mbsource:15},As,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),M()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),M()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),M()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),M()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),M()}get numberoftournaments(){return this.$$.ctx[5]}set numberoftournaments(t){this.$$set({numberoftournaments:t}),M()}get showmorestep(){return this.$$.ctx[26]}set showmorestep(t){this.$$set({showmorestep:t}),M()}get filters(){return this.$$.ctx[6]}set filters(t){this.$$set({filters:t}),M()}get loginevent(){return this.$$.ctx[7]}set loginevent(t){this.$$set({loginevent:t}),M()}get registerevent(){return this.$$.ctx[8]}set registerevent(t){this.$$set({registerevent:t}),M()}get loginurl(){return this.$$.ctx[9]}set loginurl(t){this.$$set({loginurl:t}),M()}get registerurl(){return this.$$.ctx[10]}set registerurl(t){this.$$set({registerurl:t}),M()}get currency(){return this.$$.ctx[11]}set currency(t){this.$$set({currency:t}),M()}get keepbrowsercontext(){return this.$$.ctx[12]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),M()}get sorttype(){return this.$$.ctx[27]}set sorttype(t){this.$$set({sorttype:t}),M()}get sortorder(){return this.$$.ctx[28]}set sortorder(t){this.$$set({sortorder:t}),M()}get starttimeafter(){return this.$$.ctx[29]}set starttimeafter(t){this.$$set({starttimeafter:t}),M()}get showanonymoustournaments(){return this.$$.ctx[30]}set showanonymoustournaments(t){this.$$set({showanonymoustournaments:t}),M()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),M()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),M()}get delaybeforeload(){return this.$$.ctx[31]}set delaybeforeload(t){this.$$set({delaybeforeload:t}),M()}get mbsource(){return this.$$.ctx[15]}set mbsource(t){this.$$set({mbsource:t}),M()}}on(jn,{session:{},userid:{},endpoint:{},lang:{},translationurl:{},numberoftournaments:{},showmorestep:{},filters:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},keepbrowsercontext:{},sorttype:{},sortorder:{},starttimeafter:{},showanonymoustournaments:{},clientstyling:{},clientstylingurl:{},delaybeforeload:{},mbsource:{}},[],[],!0);const Ds=Object.freeze(Object.defineProperty({__proto__:null,default:jn},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=Me;exports.$format=Rn;exports.$locale=Ae;exports.CasinoTournamentsController_ce=Ds;exports.SvelteComponent=sn;exports.action_destroyer=Qn;exports.addMessages=gr;exports.add_iframe_resize_listener=oi;exports.add_render_callback=Pt;exports.append=q;exports.append_styles=Kr;exports.attr=F;exports.binding_callbacks=Ht;exports.component_subscribe=Yr;exports.create_custom_element=on;exports.destroy_each=ei;exports.detach=Z;exports.element=$;exports.empty=en;exports.ensure_array_like=mi;exports.flush=M;exports.getDevice=Dn;exports.init=rn;exports.insert=ne;exports.isMobile=ws;exports.is_function=ct;exports.listen=At;exports.noop=le;exports.onMount=tn;exports.run_all=Ye;exports.safe_not_equal=mr;exports.setClientStyling=Fn;exports.setClientStylingURL=Un;exports.setStreamStyling=Gn;exports.set_custom_element_data=x;exports.set_data=Ne;exports.set_style=ni;exports.space=Tt;exports.src_url_equal=Zn;exports.svg_element=ti;exports.text=Te;exports.toggle_class=si;
@@ -1,4 +1,4 @@
1
- import { a as W, S as X, i as Y, f as N, s as x, c as $, b as ee, n as L, d as k, e as A, g as S, h as f, j as _, k as le, o as te, l as I, m as ie, p as B, q as F, t as E, r as z, u as ne, v as se, w as P, $ as oe, x as re, y as ae, z as ue } from "./CasinoTournamentsController-NsQVs67e.js";
1
+ import { a as W, S as X, i as Y, f as N, s as x, c as $, b as ee, n as L, d as k, e as A, g as S, h as f, j as _, k as le, o as te, l as I, m as ie, p as B, q as F, t as E, r as z, u as ne, v as se, w as P, $ as oe, x as re, y as ae, z as ue } from "./CasinoTournamentsController-BLxMNjdf.js";
2
2
  function U(e, l) {
3
3
  W(e, l);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { a as W, S as X, i as Y, s as x, f as N, b as $, n as L, d as k, c as A, e as S, g as f, h as _, j as ee, o as le, k as I, l as te, m as B, p as F, t as E, q as z, r as ie, u as ne, v as P, w as se, x as oe, y as re, z as ae, $ as ue } from "./CasinoTournamentsController-CipjvpY6.js";
1
+ import { a as W, S as X, i as Y, s as x, f as N, b as $, n as L, d as k, c as A, e as S, g as f, h as _, j as ee, o as le, k as I, l as te, m as B, p as F, t as E, q as z, r as ie, u as ne, v as P, w as se, x as oe, y as re, z as ae, $ as ue } from "./CasinoTournamentsController-CnAIq520.js";
2
2
  function U(e, l) {
3
3
  W(e, l);
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-gEd8u8ko.cjs");function T(t,l){e.addMessages(t,l)}const A={en:{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"},hr:{tournaments:"Turniri",all:"Svi",scheduled:"Planirani",ongoing:"U tijeku",finished:"Završeni"},"zh-hk":{tournaments:"錦標賽",all:"全部",scheduled:"預定的",ongoing:"進行中",finished:"完成的"},fr:{tournaments:"Tournois",all:"Tous",scheduled:"Programmé",ongoing:"En cours",finished:"Fini"},ro:{tournaments:"Turnee",all:"Toate",scheduled:"Programate",ongoing:"În curs",finished:"Finalizat"},tr:{tournaments:"Turnuvalar",all:"Hepsi",scheduled:"Planlanmış",ongoing:"Devam ediyor",finished:"Tamamlanmış"},el:{tournaments:"Τουρνουά",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα"},es:{tournaments:"Torneos",all:"Todos",scheduled:"Programado",ongoing:"En vivo",finished:"Finalizado"},hu:{tournaments:"Versenyek",all:"Mind",scheduled:"Ütemezés",ongoing:"Folyamatban",finished:"Befejezett"},pt:{tournaments:"Torneios",all:"Tudo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado"},"en-us":{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"}};function U(t){e.append_styles(t,"svelte-f5g69n","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}")}function S(t,l,i){const n=t.slice();return n[21]=l[i],n[23]=i,n}function N(t){let l,i,n=t[4]("tournaments")+"",s,y,F,_,g=e.ensure_array_like(t[1]),u=[];for(let o=0;o<g.length;o+=1)u[o]=L(S(t,g,o));return{c(){l=e.element("ul"),i=e.element("li"),s=e.text(n),y=e.text(":"),F=e.space(),_=e.element("ul");for(let o=0;o<u.length;o+=1)u[o].c();e.attr(i,"class","FiltersTitle "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"part","FiltersTitle "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"class","FiltersList "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"part","FiltersList "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))},m(o,m){e.insert(o,l,m),e.append(l,i),e.append(i,s),e.append(i,y),e.append(l,F),e.append(l,_);for(let c=0;c<u.length;c+=1)u[c]&&u[c].m(_,null)},p(o,m){if(m&16&&n!==(n=o[4]("tournaments")+"")&&e.set_data(s,n),m&126){g=e.ensure_array_like(o[1]);let c;for(c=0;c<g.length;c+=1){const r=S(o,g,c);u[c]?u[c].p(r,m):(u[c]=L(r),u[c].c(),u[c].m(_,null))}for(;c<u.length;c+=1)u[c].d(1);u.length=g.length}},d(o){o&&e.detach(l),e.destroy_each(u,o)}}}function E(t){let l,i;return{c(){l=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"d","M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","16"),e.attr(l,"height","16"),e.attr(l,"fill","currentColor"),e.attr(l,"class","bi bi-check"),e.attr(l,"part","bi bi-check"),e.attr(l,"viewBox","0 0 16 16")},m(n,s){e.insert(n,l,s),e.append(l,i)},d(n){n&&e.detach(l)}}}function O(t){let l=t[4]("scheduled")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("scheduled")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function z(t){let l=t[4]("ongoing")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("ongoing")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function B(t){let l=t[4]("finished")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("finished")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function j(t){let l=t[4]("all")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("all")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function L(t){let l,i,n,s,y,F,_,g,u,o,m,c,r=(t[2][t[23]]==1||t[3]&&t[23]==0)&&E(),f=t[21]=="Scheduled"&&O(t),h=t[21]=="Ongoing"&&z(t),b=t[21]=="Finished"&&B(t),d=t[21]=="All"&&j(t);function k(){return t[13](t[21],t[23])}return{c(){l=e.element("li"),i=e.element("button"),r&&r.c(),n=e.space(),s=e.element("div"),f&&f.c(),y=e.space(),h&&h.c(),F=e.space(),b&&b.c(),_=e.space(),d&&d.c(),o=e.space(),e.attr(s,"class","FilterButton "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(s,"part","FilterButton "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"class",g=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"part",u=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"class","FiltersItem"),e.attr(l,"part","FiltersItem")},m(v,M){e.insert(v,l,M),e.append(l,i),r&&r.m(i,null),e.append(i,n),e.append(i,s),f&&f.m(s,null),e.append(s,y),h&&h.m(s,null),e.append(s,F),b&&b.m(s,null),e.append(s,_),d&&d.m(s,null),e.append(l,o),m||(c=e.listen(l,"click",k),m=!0)},p(v,M){t=v,t[2][t[23]]==1||t[3]&&t[23]==0?r||(r=E(),r.c(),r.m(i,n)):r&&(r.d(1),r=null),t[21]=="Scheduled"?f?f.p(t,M):(f=O(t),f.c(),f.m(s,y)):f&&(f.d(1),f=null),t[21]=="Ongoing"?h?h.p(t,M):(h=z(t),h.c(),h.m(s,F)):h&&(h.d(1),h=null),t[21]=="Finished"?b?b.p(t,M):(b=B(t),b.c(),b.m(s,_)):b&&(b.d(1),b=null),t[21]=="All"?d?d.p(t,M):(d=j(t),d.c(),d.m(s,null)):d&&(d.d(1),d=null),M&12&&g!==(g=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(i,"class",g),M&12&&u!==(u=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(i,"part",u)},d(v){v&&e.detach(l),r&&r.d(),f&&f.d(),h&&h.d(),b&&b.d(),d&&d.d(),m=!1,c()}}}function q(t){let l,i=t[1].length>0&&N(t);return{c(){l=e.element("div"),i&&i.c(),e.attr(l,"class","FiltersController "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"part","FiltersController "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))},m(n,s){e.insert(n,l,s),i&&i.m(l,null),t[14](l)},p(n,[s]){n[1].length>0?i?i.p(n,s):(i=N(n),i.c(),i.m(l,null)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(n){n&&e.detach(l),i&&i.d(),t[14](null)}}}function R(t,l,i){let n;e.component_subscribe(t,e.$format,a=>i(4,n=a));let{filters:s=""}=l,{activefilters:y=""}=l,{translationurl:F=""}=l,{clientstyling:_=""}=l,{clientstylingurl:g=""}=l,{mbsource:u}=l,o,m=[],c=0,r=new Array(100),f=!0,h=window.navigator.userAgent;const b=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(C=>{T(C,p[C])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(a=>{T(a,A[a])});const d=(a,p)=>{if(p==0)i(3,f=!0),i(2,r=new Array(c)),window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else if(i(3,f=!1),r[p]==1?(i(2,r[p]=0,r),r.indexOf(1)==-1&&i(3,f=!0)):i(2,r[p]=1,r),r.indexOf(1)==-1)window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else{let C=[];for(let w=0;w<m.length;w++)r[w]==1&&C.push(m[w]);window.postMessage({type:"TournamentsFiltersSelected",filters:C},window.location.href)}},k=()=>{i(1,m=s.split(",")),c=m.length},v=()=>{let a=y.split(",");i(2,r=new Array(c)),a.indexOf("All")!=-1?i(3,f=!0):(i(3,f=!1),a.forEach(p=>{let C=m.indexOf(p);C>0&&i(2,r[C]=1,r)}))};e.onMount(()=>()=>{});const M=(a,p)=>d(a,p);function I(a){e.binding_callbacks[a?"unshift":"push"](()=>{o=a,i(0,o)})}return t.$$set=a=>{"filters"in a&&i(7,s=a.filters),"activefilters"in a&&i(8,y=a.activefilters),"translationurl"in a&&i(9,F=a.translationurl),"clientstyling"in a&&i(10,_=a.clientstyling),"clientstylingurl"in a&&i(11,g=a.clientstylingurl),"mbsource"in a&&i(12,u=a.mbsource)},t.$$.update=()=>{t.$$.dirty&512&&F&&b(),t.$$.dirty&128&&s&&k(),t.$$.dirty&256&&y&&v(),t.$$.dirty&1025&&_&&o&&e.setClientStyling(o,_),t.$$.dirty&2049&&g&&o&&e.setClientStylingURL(o,g),t.$$.dirty&4097&&u&&o&&e.setStreamStyling(o,`${u}.Style`)},[o,m,r,f,n,h,d,s,y,F,_,g,u,M,I]}class P extends e.SvelteComponent{constructor(l){super(),e.init(this,l,R,q,e.safe_not_equal,{filters:7,activefilters:8,translationurl:9,clientstyling:10,clientstylingurl:11,mbsource:12},U)}get filters(){return this.$$.ctx[7]}set filters(l){this.$$set({filters:l}),e.flush()}get activefilters(){return this.$$.ctx[8]}set activefilters(l){this.$$set({activefilters:l}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(l){this.$$set({translationurl:l}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(l){this.$$set({clientstyling:l}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(l){this.$$set({clientstylingurl:l}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(l){this.$$set({mbsource:l}),e.flush()}}e.create_custom_element(P,{filters:{},activefilters:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsController-DgQHHIEF.cjs");function T(t,l){e.addMessages(t,l)}const A={en:{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"},hr:{tournaments:"Turniri",all:"Svi",scheduled:"Planirani",ongoing:"U tijeku",finished:"Završeni"},"zh-hk":{tournaments:"錦標賽",all:"全部",scheduled:"預定的",ongoing:"進行中",finished:"完成的"},fr:{tournaments:"Tournois",all:"Tous",scheduled:"Programmé",ongoing:"En cours",finished:"Fini"},ro:{tournaments:"Turnee",all:"Toate",scheduled:"Programate",ongoing:"În curs",finished:"Finalizat"},tr:{tournaments:"Turnuvalar",all:"Hepsi",scheduled:"Planlanmış",ongoing:"Devam ediyor",finished:"Tamamlanmış"},el:{tournaments:"Τουρνουά",all:"Όλα",scheduled:"Προγραμματισμένα",ongoing:"Τρέχοντα",finished:"Ολοκληρωμένα"},es:{tournaments:"Torneos",all:"Todos",scheduled:"Programado",ongoing:"En vivo",finished:"Finalizado"},hu:{tournaments:"Versenyek",all:"Mind",scheduled:"Ütemezés",ongoing:"Folyamatban",finished:"Befejezett"},pt:{tournaments:"Torneios",all:"Tudo",scheduled:"Agendado",ongoing:"Em progresso",finished:"Finalizado"},"en-us":{tournaments:"Tournaments",all:"All",scheduled:"Scheduled",ongoing:"Ongoing",finished:"Finished"}};function U(t){e.append_styles(t,"svelte-f5g69n","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}ul{display:flex;gap:10px;overflow-x:auto;min-height:max-content}ul.MobileClass{padding-top:21px}li:first-child{position:relative;padding:0;margin:0;font-size:14px;text-align:center;letter-spacing:0px;color:var(--emw--color-white, #FFFFFF);opacity:1}.FiltersList.MobileClass{flex-direction:column}.FiltersTitle{width:min-content;display:flex;align-items:center}button{display:flex;align-items:center;background-color:transparent;justify-content:center;padding:10px;height:40px;border:1px solid var(--emw--color-white, #FFFFFF);min-width:40px;text-align:center;color:var(--emw--color-white, #FFFFFF)}button.MobileClass{height:30px}button:hover{background-color:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);cursor:pointer}.FiltersController{color:var(--emw--color-white, #FFFFFF);display:flex;justify-content:flex-end;margin-bottom:20px}.FiltersController.MobileClass{justify-content:flex-start;margin-bottom:10px}.FiltersController .FilterButton{font-size:14px;letter-spacing:0px;opacity:1;text-transform:uppercase}.FiltersController .FilterButton.MobileClass{font-size:10px}.FiltersController .Active{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}.FiltersController .Active:hover{background-color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}")}function S(t,l,i){const n=t.slice();return n[21]=l[i],n[23]=i,n}function N(t){let l,i,n=t[4]("tournaments")+"",s,y,F,_,g=e.ensure_array_like(t[1]),u=[];for(let o=0;o<g.length;o+=1)u[o]=L(S(t,g,o));return{c(){l=e.element("ul"),i=e.element("li"),s=e.text(n),y=e.text(":"),F=e.space(),_=e.element("ul");for(let o=0;o<u.length;o+=1)u[o].c();e.attr(i,"class","FiltersTitle "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"part","FiltersTitle "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"class","FiltersList "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"part","FiltersList "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))},m(o,m){e.insert(o,l,m),e.append(l,i),e.append(i,s),e.append(i,y),e.append(l,F),e.append(l,_);for(let c=0;c<u.length;c+=1)u[c]&&u[c].m(_,null)},p(o,m){if(m&16&&n!==(n=o[4]("tournaments")+"")&&e.set_data(s,n),m&126){g=e.ensure_array_like(o[1]);let c;for(c=0;c<g.length;c+=1){const r=S(o,g,c);u[c]?u[c].p(r,m):(u[c]=L(r),u[c].c(),u[c].m(_,null))}for(;c<u.length;c+=1)u[c].d(1);u.length=g.length}},d(o){o&&e.detach(l),e.destroy_each(u,o)}}}function E(t){let l,i;return{c(){l=e.svg_element("svg"),i=e.svg_element("path"),e.attr(i,"d","M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","16"),e.attr(l,"height","16"),e.attr(l,"fill","currentColor"),e.attr(l,"class","bi bi-check"),e.attr(l,"part","bi bi-check"),e.attr(l,"viewBox","0 0 16 16")},m(n,s){e.insert(n,l,s),e.append(l,i)},d(n){n&&e.detach(l)}}}function O(t){let l=t[4]("scheduled")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("scheduled")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function z(t){let l=t[4]("ongoing")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("ongoing")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function B(t){let l=t[4]("finished")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("finished")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function j(t){let l=t[4]("all")+"",i;return{c(){i=e.text(l)},m(n,s){e.insert(n,i,s)},p(n,s){s&16&&l!==(l=n[4]("all")+"")&&e.set_data(i,l)},d(n){n&&e.detach(i)}}}function L(t){let l,i,n,s,y,F,_,g,u,o,m,c,r=(t[2][t[23]]==1||t[3]&&t[23]==0)&&E(),f=t[21]=="Scheduled"&&O(t),h=t[21]=="Ongoing"&&z(t),b=t[21]=="Finished"&&B(t),d=t[21]=="All"&&j(t);function k(){return t[13](t[21],t[23])}return{c(){l=e.element("li"),i=e.element("button"),r&&r.c(),n=e.space(),s=e.element("div"),f&&f.c(),y=e.space(),h&&h.c(),F=e.space(),b&&b.c(),_=e.space(),d&&d.c(),o=e.space(),e.attr(s,"class","FilterButton "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(s,"part","FilterButton "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"class",g=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(i,"part",u=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"class","FiltersItem"),e.attr(l,"part","FiltersItem")},m(v,M){e.insert(v,l,M),e.append(l,i),r&&r.m(i,null),e.append(i,n),e.append(i,s),f&&f.m(s,null),e.append(s,y),h&&h.m(s,null),e.append(s,F),b&&b.m(s,null),e.append(s,_),d&&d.m(s,null),e.append(l,o),m||(c=e.listen(l,"click",k),m=!0)},p(v,M){t=v,t[2][t[23]]==1||t[3]&&t[23]==0?r||(r=E(),r.c(),r.m(i,n)):r&&(r.d(1),r=null),t[21]=="Scheduled"?f?f.p(t,M):(f=O(t),f.c(),f.m(s,y)):f&&(f.d(1),f=null),t[21]=="Ongoing"?h?h.p(t,M):(h=z(t),h.c(),h.m(s,F)):h&&(h.d(1),h=null),t[21]=="Finished"?b?b.p(t,M):(b=B(t),b.c(),b.m(s,_)):b&&(b.d(1),b=null),t[21]=="All"?d?d.p(t,M):(d=j(t),d.c(),d.m(s,null)):d&&(d.d(1),d=null),M&12&&g!==(g=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(i,"class",g),M&12&&u!==(u=(t[2][t[23]]==1||t[3]&&t[23]==0?"Active":"")+" "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))&&e.attr(i,"part",u)},d(v){v&&e.detach(l),r&&r.d(),f&&f.d(),h&&h.d(),b&&b.d(),d&&d.d(),m=!1,c()}}}function q(t){let l,i=t[1].length>0&&N(t);return{c(){l=e.element("div"),i&&i.c(),e.attr(l,"class","FiltersController "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty")),e.attr(l,"part","FiltersController "+(e.isMobile(t[5])?"MobileClass":"Non-MobileClass/empty"))},m(n,s){e.insert(n,l,s),i&&i.m(l,null),t[14](l)},p(n,[s]){n[1].length>0?i?i.p(n,s):(i=N(n),i.c(),i.m(l,null)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(n){n&&e.detach(l),i&&i.d(),t[14](null)}}}function R(t,l,i){let n;e.component_subscribe(t,e.$format,a=>i(4,n=a));let{filters:s=""}=l,{activefilters:y=""}=l,{translationurl:F=""}=l,{clientstyling:_=""}=l,{clientstylingurl:g=""}=l,{mbsource:u}=l,o,m=[],c=0,r=new Array(100),f=!0,h=window.navigator.userAgent;const b=()=>{fetch(F).then(p=>p.json()).then(p=>{Object.keys(p).forEach(C=>{T(C,p[C])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(a=>{T(a,A[a])});const d=(a,p)=>{if(p==0)i(3,f=!0),i(2,r=new Array(c)),window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else if(i(3,f=!1),r[p]==1?(i(2,r[p]=0,r),r.indexOf(1)==-1&&i(3,f=!0)):i(2,r[p]=1,r),r.indexOf(1)==-1)window.postMessage({type:"TournamentsFiltersSelected",filters:["All"]},window.location.href);else{let C=[];for(let w=0;w<m.length;w++)r[w]==1&&C.push(m[w]);window.postMessage({type:"TournamentsFiltersSelected",filters:C},window.location.href)}},k=()=>{i(1,m=s.split(",")),c=m.length},v=()=>{let a=y.split(",");i(2,r=new Array(c)),a.indexOf("All")!=-1?i(3,f=!0):(i(3,f=!1),a.forEach(p=>{let C=m.indexOf(p);C>0&&i(2,r[C]=1,r)}))};e.onMount(()=>()=>{});const M=(a,p)=>d(a,p);function I(a){e.binding_callbacks[a?"unshift":"push"](()=>{o=a,i(0,o)})}return t.$$set=a=>{"filters"in a&&i(7,s=a.filters),"activefilters"in a&&i(8,y=a.activefilters),"translationurl"in a&&i(9,F=a.translationurl),"clientstyling"in a&&i(10,_=a.clientstyling),"clientstylingurl"in a&&i(11,g=a.clientstylingurl),"mbsource"in a&&i(12,u=a.mbsource)},t.$$.update=()=>{t.$$.dirty&512&&F&&b(),t.$$.dirty&128&&s&&k(),t.$$.dirty&256&&y&&v(),t.$$.dirty&1025&&_&&o&&e.setClientStyling(o,_),t.$$.dirty&2049&&g&&o&&e.setClientStylingURL(o,g),t.$$.dirty&4097&&u&&o&&e.setStreamStyling(o,`${u}.Style`)},[o,m,r,f,n,h,d,s,y,F,_,g,u,M,I]}class P extends e.SvelteComponent{constructor(l){super(),e.init(this,l,R,q,e.safe_not_equal,{filters:7,activefilters:8,translationurl:9,clientstyling:10,clientstylingurl:11,mbsource:12},U)}get filters(){return this.$$.ctx[7]}set filters(l){this.$$set({filters:l}),e.flush()}get activefilters(){return this.$$.ctx[8]}set activefilters(l){this.$$set({activefilters:l}),e.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(l){this.$$set({translationurl:l}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(l){this.$$set({clientstyling:l}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(l){this.$$set({clientstylingurl:l}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(l){this.$$set({mbsource:l}),e.flush()}}e.create_custom_element(P,{filters:{},activefilters:{},translationurl:{},clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=P;
@@ -1,4 +1,4 @@
1
- import { a as Xs, S as Ks, i as $s, s as er, f as P, b as tr, n as Gt, d as Ze, e as qe, g as St, h as Vt, k as sr, o as rr, l as jt, m as nr, A as ir, u as ar, B as _, p as or, q as lr, t as ur, x as dr, y as hr, z as fr, c as cr, $ as mr } from "./CasinoTournamentsController-NsQVs67e.js";
1
+ import { a as Xs, S as Ks, i as $s, s as er, f as P, b as tr, n as Gt, d as Ze, e as qe, g as St, h as Vt, k as sr, o as rr, l as jt, m as nr, A as ir, u as ar, B as _, p as or, q as lr, t as ur, x as dr, y as hr, z as fr, c as cr, $ as mr } from "./CasinoTournamentsController-BLxMNjdf.js";
2
2
  function _r(e) {
3
3
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -2573,7 +2573,7 @@ if (typeof window < "u") {
2573
2573
  }
2574
2574
  };
2575
2575
  };
2576
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-CkbvUpT7.js").then(
2576
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-DRIgHZK4.js").then(
2577
2577
  ({ default: t }) => {
2578
2578
  !customElements.get("casino-tournaments-thumbnail-controller") && customElements.define(
2579
2579
  "casino-tournaments-thumbnail-controller",
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./CasinoTournamentsController-gEd8u8ko.cjs");function zs(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./CasinoTournamentsController-DgQHHIEF.cjs");function zs(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
2
  //! version : 2.29.4
3
3
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
4
  //! license : MIT
@@ -7,7 +7,7 @@ var Jt;function d(){return Jt.apply(null,arguments)}function Zs(e){Jt=e}function
7
7
  [`+a+"] ";for(i in arguments[0])w(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[a];r.push(n)}Xt(e+`
8
8
  Arguments: `+Array.prototype.slice.call(r).join("")+`
9
9
  `+new Error().stack),s=!1}return t.apply(this,arguments)},t)}var Ut={};function Kt(e,t){d.deprecationHandler!=null&&d.deprecationHandler(e,t),Ut[e]||(Xt(t),Ut[e]=!0)}d.suppressDeprecationWarnings=!1;d.deprecationHandler=null;function B(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function qs(e){var t,s;for(s in e)w(e,s)&&(t=e[s],B(t)?this[s]=t:this["_"+s]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function dt(e,t){var s=re({},e),r;for(r in t)w(t,r)&&(ue(e[r])&&ue(t[r])?(s[r]={},re(s[r],e[r]),re(s[r],t[r])):t[r]!=null?s[r]=t[r]:delete s[r]);for(r in e)w(e,r)&&!w(t,r)&&ue(e[r])&&(s[r]=re({},s[r]));return s}function St(e){e!=null&&this.set(e)}var ht;Object.keys?ht=Object.keys:ht=function(e){var t,s=[];for(t in e)w(e,t)&&s.push(t);return s};var Js={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Qs(e,t,s){var r=this._calendar[e]||this._calendar.sameElse;return B(r)?r.call(t,s):r}function z(e,t,s){var r=""+Math.abs(e),n=t-r.length,a=e>=0;return(a?s?"+":"":"-")+Math.pow(10,Math.max(0,n)).toString().substr(1)+r}var kt=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ce=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,it={},_e={};function f(e,t,s,r){var n=r;typeof r=="string"&&(n=function(){return this[r]()}),e&&(_e[e]=n),t&&(_e[t[0]]=function(){return z(n.apply(this,arguments),t[1],t[2])}),s&&(_e[s]=function(){return this.localeData().ordinal(n.apply(this,arguments),e)})}function Xs(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Ks(e){var t=e.match(kt),s,r;for(s=0,r=t.length;s<r;s++)_e[t[s]]?t[s]=_e[t[s]]:t[s]=Xs(t[s]);return function(n){var a="",i;for(i=0;i<r;i++)a+=B(t[i])?t[i].call(n,e):t[i];return a}}function Ie(e,t){return e.isValid()?(t=$t(t,e.localeData()),it[t]=it[t]||Ks(t),it[t](e)):e.localeData().invalidDate()}function $t(e,t){var s=5;function r(n){return t.longDateFormat(n)||n}for(Ce.lastIndex=0;s>=0&&Ce.test(e);)e=e.replace(Ce,r),Ce.lastIndex=0,s-=1;return e}var $s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function er(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(kt).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var tr="Invalid date";function sr(){return this._invalidDate}var rr="%d",nr=/\d{1,2}/;function ar(e){return this._ordinal.replace("%d",e)}var ir={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function or(e,t,s,r){var n=this._relativeTime[s];return B(n)?n(e,t,s,r):n.replace(/%d/i,e)}function lr(e,t){var s=this._relativeTime[e>0?"future":"past"];return B(s)?s(t):s.replace(/%s/i,t)}var De={};function x(e,t){var s=e.toLowerCase();De[s]=De[s+"s"]=De[t]=e}function I(e){return typeof e=="string"?De[e]||De[e.toLowerCase()]:void 0}function Mt(e){var t={},s,r;for(r in e)w(e,r)&&(s=I(r),s&&(t[s]=e[r]));return t}var es={};function P(e,t){es[e]=t}function ur(e){var t=[],s;for(s in e)w(e,s)&&t.push({unit:s,priority:es[s]});return t.sort(function(r,n){return r.priority-n.priority}),t}function Be(e){return e%4===0&&e%100!==0||e%400===0}function C(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function y(e){var t=+e,s=0;return t!==0&&isFinite(t)&&(s=C(t)),s}function we(e,t){return function(s){return s!=null?(ts(this,e,s),d.updateOffset(this,t),this):Ae(this,e)}}function Ae(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ts(e,t,s){e.isValid()&&!isNaN(s)&&(t==="FullYear"&&Be(e.year())&&e.month()===1&&e.date()===29?(s=y(s),e._d["set"+(e._isUTC?"UTC":"")+t](s,e.month(),$e(s,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](s))}function dr(e){return e=I(e),B(this[e])?this[e]():this}function hr(e,t){if(typeof e=="object"){e=Mt(e);var s=ur(e),r,n=s.length;for(r=0;r<n;r++)this[s[r].unit](e[s[r].unit])}else if(e=I(e),B(this[e]))return this[e](t);return this}var ss=/\d/,W=/\d\d/,rs=/\d{3}/,Dt=/\d{4}/,qe=/[+-]?\d{6}/,v=/\d\d?/,ns=/\d\d\d\d?/,as=/\d\d\d\d\d\d?/,Je=/\d{1,3}/,vt=/\d{1,4}/,Qe=/[+-]?\d{1,6}/,Se=/\d+/,Xe=/[+-]?\d+/,fr=/Z|[+-]\d\d:?\d\d/gi,Ke=/Z|[+-]\d\d(?::?\d\d)?/gi,cr=/[+-]?\d+(\.\d{1,3})?/,xe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,He;He={};function h(e,t,s){He[e]=B(t)?t:function(r,n){return r&&s?s:t}}function mr(e,t){return w(He,e)?He[e](t._strict,t._locale):new RegExp(_r(e))}function _r(e){return R(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,s,r,n,a){return s||r||n||a}))}function R(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ft={};function M(e,t){var s,r=t,n;for(typeof e=="string"&&(e=[e]),ee(t)&&(r=function(a,i){i[t]=y(a)}),n=e.length,s=0;s<n;s++)ft[e[s]]=r}function Pe(e,t){M(e,function(s,r,n,a){n._w=n._w||{},t(s,n._w,n,a)})}function yr(e,t,s){t!=null&&w(ft,e)&&ft[e](t,s._a,s,e)}var b=0,X=1,j=2,O=3,A=4,K=5,le=6,gr=7,wr=8;function Sr(e,t){return(e%t+t)%t}var Y;Array.prototype.indexOf?Y=Array.prototype.indexOf:Y=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function $e(e,t){if(isNaN(e)||isNaN(t))return NaN;var s=Sr(t,12);return e+=(t-s)/12,s===1?Be(e)?29:28:31-s%7%2}f("M",["MM",2],"Mo",function(){return this.month()+1});f("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});f("MMMM",0,0,function(e){return this.localeData().months(this,e)});x("month","M");P("month",8);h("M",v);h("MM",v,W);h("MMM",function(e,t){return t.monthsShortRegex(e)});h("MMMM",function(e,t){return t.monthsRegex(e)});M(["M","MM"],function(e,t){t[X]=y(e)-1});M(["MMM","MMMM"],function(e,t,s,r){var n=s._locale.monthsParse(e,r,s._strict);n!=null?t[X]=n:_(s).invalidMonth=e});var kr="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),is="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),os=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Mr=xe,Dr=xe;function vr(e,t){return e?H(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||os).test(t)?"format":"standalone"][e.month()]:H(this._months)?this._months:this._months.standalone}function pr(e,t){return e?H(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[os.test(t)?"format":"standalone"][e.month()]:H(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Yr(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=Z([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return s?t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null):(n=Y.call(this._longMonthsParse,i),n!==-1?n:null):t==="MMM"?(n=Y.call(this._shortMonthsParse,i),n!==-1?n:(n=Y.call(this._longMonthsParse,i),n!==-1?n:null)):(n=Y.call(this._longMonthsParse,i),n!==-1?n:(n=Y.call(this._shortMonthsParse,i),n!==-1?n:null))}function Or(e,t,s){var r,n,a;if(this._monthsParseExact)return Yr.call(this,e,t,s);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(n=Z([2e3,r]),s&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(n,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(n,"").replace(".","")+"$","i")),!s&&!this._monthsParse[r]&&(a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="MMMM"&&this._longMonthsParse[r].test(e))return r;if(s&&t==="MMM"&&this._shortMonthsParse[r].test(e))return r;if(!s&&this._monthsParse[r].test(e))return r}}function ls(e,t){var s;if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),!ee(t))return e}return s=Math.min(e.date(),$e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,s),e}function us(e){return e!=null?(ls(this,e),d.updateOffset(this,!0),this):Ae(this,"Month")}function Tr(){return $e(this.year(),this.month())}function br(e){return this._monthsParseExact?(w(this,"_monthsRegex")||ds.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(w(this,"_monthsShortRegex")||(this._monthsShortRegex=Mr),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function xr(e){return this._monthsParseExact?(w(this,"_monthsRegex")||ds.call(this),e?this._monthsStrictRegex:this._monthsRegex):(w(this,"_monthsRegex")||(this._monthsRegex=Dr),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ds(){function e(i,u){return u.length-i.length}var t=[],s=[],r=[],n,a;for(n=0;n<12;n++)a=Z([2e3,n]),t.push(this.monthsShort(a,"")),s.push(this.months(a,"")),r.push(this.months(a,"")),r.push(this.monthsShort(a,""));for(t.sort(e),s.sort(e),r.sort(e),n=0;n<12;n++)t[n]=R(t[n]),s[n]=R(s[n]);for(n=0;n<24;n++)r[n]=R(r[n]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}f("Y",0,0,function(){var e=this.year();return e<=9999?z(e,4):"+"+e});f(0,["YY",2],0,function(){return this.year()%100});f(0,["YYYY",4],0,"year");f(0,["YYYYY",5],0,"year");f(0,["YYYYYY",6,!0],0,"year");x("year","y");P("year",1);h("Y",Xe);h("YY",v,W);h("YYYY",vt,Dt);h("YYYYY",Qe,qe);h("YYYYYY",Qe,qe);M(["YYYYY","YYYYYY"],b);M("YYYY",function(e,t){t[b]=e.length===2?d.parseTwoDigitYear(e):y(e)});M("YY",function(e,t){t[b]=d.parseTwoDigitYear(e)});M("Y",function(e,t){t[b]=parseInt(e,10)});function ve(e){return Be(e)?366:365}d.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var hs=we("FullYear",!0);function Pr(){return Be(this.year())}function Nr(e,t,s,r,n,a,i){var u;return e<100&&e>=0?(u=new Date(e+400,t,s,r,n,a,i),isFinite(u.getFullYear())&&u.setFullYear(e)):u=new Date(e,t,s,r,n,a,i),u}function pe(e){var t,s;return e<100&&e>=0?(s=Array.prototype.slice.call(arguments),s[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ge(e,t,s){var r=7+t-s,n=(7+pe(e,0,r).getUTCDay()-t)%7;return-n+r-1}function fs(e,t,s,r,n){var a=(7+s-r)%7,i=Ge(e,r,n),u=1+7*(t-1)+a+i,m,k;return u<=0?(m=e-1,k=ve(m)+u):u>ve(e)?(m=e+1,k=u-ve(e)):(m=e,k=u),{year:m,dayOfYear:k}}function Ye(e,t,s){var r=Ge(e.year(),t,s),n=Math.floor((e.dayOfYear()-r-1)/7)+1,a,i;return n<1?(i=e.year()-1,a=n+$(i,t,s)):n>$(e.year(),t,s)?(a=n-$(e.year(),t,s),i=e.year()+1):(i=e.year(),a=n),{week:a,year:i}}function $(e,t,s){var r=Ge(e,t,s),n=Ge(e+1,t,s);return(ve(e)-r+n)/7}f("w",["ww",2],"wo","week");f("W",["WW",2],"Wo","isoWeek");x("week","w");x("isoWeek","W");P("week",5);P("isoWeek",5);h("w",v);h("ww",v,W);h("W",v);h("WW",v,W);Pe(["w","ww","W","WW"],function(e,t,s,r){t[r.substr(0,1)]=y(e)});function Rr(e){return Ye(e,this._week.dow,this._week.doy).week}var Wr={dow:0,doy:6};function Fr(){return this._week.dow}function Cr(){return this._week.doy}function Lr(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ir(e){var t=Ye(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}f("d",0,"do","day");f("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});f("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});f("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});f("e",0,0,"weekday");f("E",0,0,"isoWeekday");x("day","d");x("weekday","e");x("isoWeekday","E");P("day",11);P("weekday",11);P("isoWeekday",11);h("d",v);h("e",v);h("E",v);h("dd",function(e,t){return t.weekdaysMinRegex(e)});h("ddd",function(e,t){return t.weekdaysShortRegex(e)});h("dddd",function(e,t){return t.weekdaysRegex(e)});Pe(["dd","ddd","dddd"],function(e,t,s,r){var n=s._locale.weekdaysParse(e,r,s._strict);n!=null?t.d=n:_(s).invalidWeekday=e});Pe(["d","e","E"],function(e,t,s,r){t[r]=y(e)});function Er(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Ur(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Ar="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),cs="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Hr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Gr=xe,Vr=xe,jr=xe;function zr(e,t){var s=H(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?pt(s,this._week.dow):e?s[e.day()]:s}function Zr(e){return e===!0?pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Br(e){return e===!0?pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function qr(e,t,s){var r,n,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=Z([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return s?t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1?n:null):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null):(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null):t==="dddd"?(n=Y.call(this._weekdaysParse,i),n!==-1||(n=Y.call(this._shortWeekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):t==="ddd"?(n=Y.call(this._shortWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._minWeekdaysParse,i),n!==-1?n:null)):(n=Y.call(this._minWeekdaysParse,i),n!==-1||(n=Y.call(this._weekdaysParse,i),n!==-1)?n:(n=Y.call(this._shortWeekdaysParse,i),n!==-1?n:null))}function Jr(e,t,s){var r,n,a;if(this._weekdaysParseExact)return qr.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(n=Z([2e3,1]).day(r),s&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(n,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(n,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(n,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),s&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(s&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(s&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!s&&this._weekdaysParse[r].test(e))return r}}function Qr(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=Er(e,this.localeData()),this.add(e-t,"d")):t}function Xr(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Kr(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Ur(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function $r(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(w(this,"_weekdaysRegex")||(this._weekdaysRegex=Gr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function en(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(w(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Vr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function tn(e){return this._weekdaysParseExact?(w(this,"_weekdaysRegex")||Yt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(w(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=jr),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Yt(){function e(T,F){return F.length-T.length}var t=[],s=[],r=[],n=[],a,i,u,m,k;for(a=0;a<7;a++)i=Z([2e3,1]).day(a),u=R(this.weekdaysMin(i,"")),m=R(this.weekdaysShort(i,"")),k=R(this.weekdays(i,"")),t.push(u),s.push(m),r.push(k),n.push(u),n.push(m),n.push(k);t.sort(e),s.sort(e),r.sort(e),n.sort(e),this._weekdaysRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ot(){return this.hours()%12||12}function sn(){return this.hours()||24}f("H",["HH",2],0,"hour");f("h",["hh",2],0,Ot);f("k",["kk",2],0,sn);f("hmm",0,0,function(){return""+Ot.apply(this)+z(this.minutes(),2)});f("hmmss",0,0,function(){return""+Ot.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)});f("Hmm",0,0,function(){return""+this.hours()+z(this.minutes(),2)});f("Hmmss",0,0,function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)});function ms(e,t){f(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ms("a",!0);ms("A",!1);x("hour","h");P("hour",13);function _s(e,t){return t._meridiemParse}h("a",_s);h("A",_s);h("H",v);h("h",v);h("k",v);h("HH",v,W);h("hh",v,W);h("kk",v,W);h("hmm",ns);h("hmmss",as);h("Hmm",ns);h("Hmmss",as);M(["H","HH"],O);M(["k","kk"],function(e,t,s){var r=y(e);t[O]=r===24?0:r});M(["a","A"],function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e});M(["h","hh"],function(e,t,s){t[O]=y(e),_(s).bigHour=!0});M("hmm",function(e,t,s){var r=e.length-2;t[O]=y(e.substr(0,r)),t[A]=y(e.substr(r)),_(s).bigHour=!0});M("hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[O]=y(e.substr(0,r)),t[A]=y(e.substr(r,2)),t[K]=y(e.substr(n)),_(s).bigHour=!0});M("Hmm",function(e,t,s){var r=e.length-2;t[O]=y(e.substr(0,r)),t[A]=y(e.substr(r))});M("Hmmss",function(e,t,s){var r=e.length-4,n=e.length-2;t[O]=y(e.substr(0,r)),t[A]=y(e.substr(r,2)),t[K]=y(e.substr(n))});function rn(e){return(e+"").toLowerCase().charAt(0)==="p"}var nn=/[ap]\.?m?\.?/i,an=we("Hours",!0);function on(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var ys={calendar:Js,longDateFormat:$s,invalidDate:tr,ordinal:rr,dayOfMonthOrdinalParse:nr,relativeTime:ir,months:kr,monthsShort:is,week:Wr,weekdays:Ar,weekdaysMin:Hr,weekdaysShort:cs,meridiemParse:nn},p={},ke={},Oe;function ln(e,t){var s,r=Math.min(e.length,t.length);for(s=0;s<r;s+=1)if(e[s]!==t[s])return s;return r}function At(e){return e&&e.toLowerCase().replace("_","-")}function un(e){for(var t=0,s,r,n,a;t<e.length;){for(a=At(e[t]).split("-"),s=a.length,r=At(e[t+1]),r=r?r.split("-"):null;s>0;){if(n=et(a.slice(0,s).join("-")),n)return n;if(r&&r.length>=s&&ln(a,r)>=s-1)break;s--}t++}return Oe}function dn(e){return e.match("^[^/\\\\]*$")!=null}function et(e){var t=null,s;if(p[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&dn(e))try{t=Oe._abbr,s=zs,s("./locale/"+e),ae(t)}catch(r){p[e]=null}return p[e]}function ae(e,t){var s;return e&&(N(t)?s=te(e):s=Tt(e,t),s?Oe=s:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Oe._abbr}function Tt(e,t){if(t!==null){var s,r=ys;if(t.abbr=e,p[e]!=null)Kt("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=p[e]._config;else if(t.parentLocale!=null)if(p[t.parentLocale]!=null)r=p[t.parentLocale]._config;else if(s=et(t.parentLocale),s!=null)r=s._config;else return ke[t.parentLocale]||(ke[t.parentLocale]=[]),ke[t.parentLocale].push({name:e,config:t}),null;return p[e]=new St(dt(r,t)),ke[e]&&ke[e].forEach(function(n){Tt(n.name,n.config)}),ae(e),p[e]}else return delete p[e],null}function hn(e,t){if(t!=null){var s,r,n=ys;p[e]!=null&&p[e].parentLocale!=null?p[e].set(dt(p[e]._config,t)):(r=et(e),r!=null&&(n=r._config),t=dt(n,t),r==null&&(t.abbr=e),s=new St(t),s.parentLocale=p[e],p[e]=s),ae(e)}else p[e]!=null&&(p[e].parentLocale!=null?(p[e]=p[e].parentLocale,e===ae()&&ae(e)):p[e]!=null&&delete p[e]);return p[e]}function te(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Oe;if(!H(e)){if(t=et(e),t)return t;e=[e]}return un(e)}function fn(){return ht(p)}function bt(e){var t,s=e._a;return s&&_(e).overflow===-2&&(t=s[X]<0||s[X]>11?X:s[j]<1||s[j]>$e(s[b],s[X])?j:s[O]<0||s[O]>24||s[O]===24&&(s[A]!==0||s[K]!==0||s[le]!==0)?O:s[A]<0||s[A]>59?A:s[K]<0||s[K]>59?K:s[le]<0||s[le]>999?le:-1,_(e)._overflowDayOfYear&&(t<b||t>j)&&(t=j),_(e)._overflowWeeks&&t===-1&&(t=gr),_(e)._overflowWeekday&&t===-1&&(t=wr),_(e).overflow=t),e}var cn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,mn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_n=/Z|[+-]\d\d(?::?\d\d)?/,Le=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ot=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],yn=/^\/?Date\((-?\d+)/i,gn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,wn={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function gs(e){var t,s,r=e._i,n=cn.exec(r)||mn.exec(r),a,i,u,m,k=Le.length,T=ot.length;if(n){for(_(e).iso=!0,t=0,s=k;t<s;t++)if(Le[t][1].exec(n[1])){i=Le[t][0],a=Le[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(n[3]){for(t=0,s=T;t<s;t++)if(ot[t][1].exec(n[3])){u=(n[2]||" ")+ot[t][0];break}if(u==null){e._isValid=!1;return}}if(!a&&u!=null){e._isValid=!1;return}if(n[4])if(_n.exec(n[4]))m="Z";else{e._isValid=!1;return}e._f=i+(u||"")+(m||""),Pt(e)}else e._isValid=!1}function Sn(e,t,s,r,n,a){var i=[kn(e),is.indexOf(t),parseInt(s,10),parseInt(r,10),parseInt(n,10)];return a&&i.push(parseInt(a,10)),i}function kn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Dn(e,t,s){if(e){var r=cs.indexOf(e),n=new Date(t[0],t[1],t[2]).getDay();if(r!==n)return _(s).weekdayMismatch=!0,s._isValid=!1,!1}return!0}function vn(e,t,s){if(e)return wn[e];if(t)return 0;var r=parseInt(s,10),n=r%100,a=(r-n)/100;return a*60+n}function ws(e){var t=gn.exec(Mn(e._i)),s;if(t){if(s=Sn(t[4],t[3],t[2],t[5],t[6],t[7]),!Dn(t[1],s,e))return;e._a=s,e._tzm=vn(t[8],t[9],t[10]),e._d=pe.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}function pn(e){var t=yn.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(gs(e),e._isValid===!1)delete e._isValid;else return;if(ws(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:d.createFromInputFallback(e)}d.createFromInputFallback=L("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function ce(e,t,s){return e!=null?e:t!=null?t:s}function Yn(e){var t=new Date(d.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function xt(e){var t,s,r=[],n,a,i;if(!e._d){for(n=Yn(e),e._w&&e._a[j]==null&&e._a[X]==null&&On(e),e._dayOfYear!=null&&(i=ce(e._a[b],n[b]),(e._dayOfYear>ve(i)||e._dayOfYear===0)&&(_(e)._overflowDayOfYear=!0),s=pe(i,0,e._dayOfYear),e._a[X]=s.getUTCMonth(),e._a[j]=s.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[O]===24&&e._a[A]===0&&e._a[K]===0&&e._a[le]===0&&(e._nextDay=!0,e._a[O]=0),e._d=(e._useUTC?pe:Nr).apply(null,r),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[O]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==a&&(_(e).weekdayMismatch=!0)}}function On(e){var t,s,r,n,a,i,u,m,k;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(a=1,i=4,s=ce(t.GG,e._a[b],Ye(D(),1,4).year),r=ce(t.W,1),n=ce(t.E,1),(n<1||n>7)&&(m=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,k=Ye(D(),a,i),s=ce(t.gg,e._a[b],k.year),r=ce(t.w,k.week),t.d!=null?(n=t.d,(n<0||n>6)&&(m=!0)):t.e!=null?(n=t.e+a,(t.e<0||t.e>6)&&(m=!0)):n=a),r<1||r>$(s,a,i)?_(e)._overflowWeeks=!0:m!=null?_(e)._overflowWeekday=!0:(u=fs(s,r,n,a,i),e._a[b]=u.year,e._dayOfYear=u.dayOfYear)}d.ISO_8601=function(){};d.RFC_2822=function(){};function Pt(e){if(e._f===d.ISO_8601){gs(e);return}if(e._f===d.RFC_2822){ws(e);return}e._a=[],_(e).empty=!0;var t=""+e._i,s,r,n,a,i,u=t.length,m=0,k,T;for(n=$t(e._f,e._locale).match(kt)||[],T=n.length,s=0;s<T;s++)a=n[s],r=(t.match(mr(a,e))||[])[0],r&&(i=t.substr(0,t.indexOf(r)),i.length>0&&_(e).unusedInput.push(i),t=t.slice(t.indexOf(r)+r.length),m+=r.length),_e[a]?(r?_(e).empty=!1:_(e).unusedTokens.push(a),yr(a,r,e)):e._strict&&!r&&_(e).unusedTokens.push(a);_(e).charsLeftOver=u-m,t.length>0&&_(e).unusedInput.push(t),e._a[O]<=12&&_(e).bigHour===!0&&e._a[O]>0&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[O]=Tn(e._locale,e._a[O],e._meridiem),k=_(e).era,k!==null&&(e._a[b]=e._locale.erasConvertYear(k,e._a[b])),xt(e),bt(e)}function Tn(e,t,s){var r;return s==null?t:e.meridiemHour!=null?e.meridiemHour(t,s):(e.isPM!=null&&(r=e.isPM(s),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function bn(e){var t,s,r,n,a,i,u=!1,m=e._f.length;if(m===0){_(e).invalidFormat=!0,e._d=new Date(NaN);return}for(n=0;n<m;n++)a=0,i=!1,t=wt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[n],Pt(t),gt(t)&&(i=!0),a+=_(t).charsLeftOver,a+=_(t).unusedTokens.length*10,_(t).score=a,u?a<r&&(r=a,s=t):(r==null||a<r||i)&&(r=a,s=t,i&&(u=!0));re(e,s||t)}function xn(e){if(!e._d){var t=Mt(e._i),s=t.day===void 0?t.date:t.day;e._a=Qt([t.year,t.month,s,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),xt(e)}}function Pn(e){var t=new be(bt(Ss(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ss(e){var t=e._i,s=e._f;return e._locale=e._locale||te(e._l),t===null||s===void 0&&t===""?Ze({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),G(t)?new be(bt(t)):(Te(t)?e._d=t:H(s)?bn(e):s?Pt(e):Nn(e),gt(e)||(e._d=null),e))}function Nn(e){var t=e._i;N(t)?e._d=new Date(d.now()):Te(t)?e._d=new Date(t.valueOf()):typeof t=="string"?pn(e):H(t)?(e._a=Qt(t.slice(0),function(s){return parseInt(s,10)}),xt(e)):ue(t)?xn(e):ee(t)?e._d=new Date(t):d.createFromInputFallback(e)}function ks(e,t,s,r,n){var a={};return(t===!0||t===!1)&&(r=t,t=void 0),(s===!0||s===!1)&&(r=s,s=void 0),(ue(e)&&yt(e)||H(e)&&e.length===0)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=n,a._l=s,a._i=e,a._f=t,a._strict=r,Pn(a)}function D(e,t,s,r){return ks(e,t,s,r,!1)}var Rn=L("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ze()}),Wn=L("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=D.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ze()});function Ms(e,t){var s,r;if(t.length===1&&H(t[0])&&(t=t[0]),!t.length)return D();for(s=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](s))&&(s=t[r]);return s}function Fn(){var e=[].slice.call(arguments,0);return Ms("isBefore",e)}function Cn(){var e=[].slice.call(arguments,0);return Ms("isAfter",e)}var Ln=function(){return Date.now?Date.now():+new Date},Me=["year","quarter","month","week","day","hour","minute","second","millisecond"];function In(e){var t,s=!1,r,n=Me.length;for(t in e)if(w(e,t)&&!(Y.call(Me,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<n;++r)if(e[Me[r]]){if(s)return!1;parseFloat(e[Me[r]])!==y(e[Me[r]])&&(s=!0)}return!0}function En(){return this._isValid}function Un(){return V(NaN)}function tt(e){var t=Mt(e),s=t.year||0,r=t.quarter||0,n=t.month||0,a=t.week||t.isoWeek||0,i=t.day||0,u=t.hour||0,m=t.minute||0,k=t.second||0,T=t.millisecond||0;this._isValid=In(t),this._milliseconds=+T+k*1e3+m*6e4+u*1e3*60*60,this._days=+i+a*7,this._months=+n+r*3+s*12,this._data={},this._locale=te(),this._bubble()}function Ee(e){return e instanceof tt}function ct(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function An(e,t,s){var r=Math.min(e.length,t.length),n=Math.abs(e.length-t.length),a=0,i;for(i=0;i<r;i++)y(e[i])!==y(t[i])&&a++;return a+n}function Ds(e,t){f(e,0,0,function(){var s=this.utcOffset(),r="+";return s<0&&(s=-s,r="-"),r+z(~~(s/60),2)+t+z(~~s%60,2)})}Ds("Z",":");Ds("ZZ","");h("Z",Ke);h("ZZ",Ke);M(["Z","ZZ"],function(e,t,s){s._useUTC=!0,s._tzm=Nt(Ke,e)});var Hn=/([\+\-]|\d\d)/gi;function Nt(e,t){var s=(t||"").match(e),r,n,a;return s===null?null:(r=s[s.length-1]||[],n=(r+"").match(Hn)||["-",0,0],a=+(n[1]*60)+y(n[2]),a===0?0:n[0]==="+"?a:-a)}function Rt(e,t){var s,r;return t._isUTC?(s=t.clone(),r=(G(e)||Te(e)?e.valueOf():D(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+r),d.updateOffset(s,!1),s):D(e).local()}function mt(e){return-Math.round(e._d.getTimezoneOffset())}d.updateOffset=function(){};function Gn(e,t,s){var r=this._offset||0,n;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Nt(Ke,e),e===null)return this}else Math.abs(e)<16&&!s&&(e=e*60);return!this._isUTC&&t&&(n=mt(this)),this._offset=e,this._isUTC=!0,n!=null&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?Ys(this,V(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:mt(this)}function Vn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function jn(e){return this.utcOffset(0,e)}function zn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mt(this),"m")),this}function Zn(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Nt(fr,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Bn(e){return this.isValid()?(e=e?D(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function qn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Jn(){if(!N(this._isDSTShifted))return this._isDSTShifted;var e={},t;return wt(e,this),e=Ss(e),e._a?(t=e._isUTC?Z(e._a):D(e._a),this._isDSTShifted=this.isValid()&&An(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Qn(){return this.isValid()?!this._isUTC:!1}function Xn(){return this.isValid()?this._isUTC:!1}function vs(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Kn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$n=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function V(e,t){var s=e,r=null,n,a,i;return Ee(e)?s={ms:e._milliseconds,d:e._days,M:e._months}:ee(e)||!isNaN(+e)?(s={},t?s[t]=+e:s.milliseconds=+e):(r=Kn.exec(e))?(n=r[1]==="-"?-1:1,s={y:0,d:y(r[j])*n,h:y(r[O])*n,m:y(r[A])*n,s:y(r[K])*n,ms:y(ct(r[le]*1e3))*n}):(r=$n.exec(e))?(n=r[1]==="-"?-1:1,s={y:oe(r[2],n),M:oe(r[3],n),w:oe(r[4],n),d:oe(r[5],n),h:oe(r[6],n),m:oe(r[7],n),s:oe(r[8],n)}):s==null?s={}:typeof s=="object"&&("from"in s||"to"in s)&&(i=ea(D(s.from),D(s.to)),s={},s.ms=i.milliseconds,s.M=i.months),a=new tt(s),Ee(e)&&w(e,"_locale")&&(a._locale=e._locale),Ee(e)&&w(e,"_isValid")&&(a._isValid=e._isValid),a}V.fn=tt.prototype;V.invalid=Un;function oe(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function Ht(e,t){var s={};return s.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function ea(e,t){var s;return e.isValid()&&t.isValid()?(t=Rt(t,e),e.isBefore(t)?s=Ht(e,t):(s=Ht(t,e),s.milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function ps(e,t){return function(s,r){var n,a;return r!==null&&!isNaN(+r)&&(Kt(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=s,s=r,r=a),n=V(s,r),Ys(this,n,e),this}}function Ys(e,t,s,r){var n=t._milliseconds,a=ct(t._days),i=ct(t._months);e.isValid()&&(r=r==null?!0:r,i&&ls(e,Ae(e,"Month")+i*s),a&&ts(e,"Date",Ae(e,"Date")+a*s),n&&e._d.setTime(e._d.valueOf()+n*s),r&&d.updateOffset(e,a||i))}var ta=ps(1,"add"),sa=ps(-1,"subtract");function Os(e){return typeof e=="string"||e instanceof String}function ra(e){return G(e)||Te(e)||Os(e)||ee(e)||aa(e)||na(e)||e===null||e===void 0}function na(e){var t=ue(e)&&!yt(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],n,a,i=r.length;for(n=0;n<i;n+=1)a=r[n],s=s||w(e,a);return t&&s}function aa(e){var t=H(e),s=!1;return t&&(s=e.filter(function(r){return!ee(r)&&Os(e)}).length===0),t&&s}function ia(e){var t=ue(e)&&!yt(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],n,a;for(n=0;n<r.length;n+=1)a=r[n],s=s||w(e,a);return t&&s}function oa(e,t){var s=e.diff(t,"days",!0);return s<-6?"sameElse":s<-1?"lastWeek":s<0?"lastDay":s<1?"sameDay":s<2?"nextDay":s<7?"nextWeek":"sameElse"}function la(e,t){arguments.length===1&&(arguments[0]?ra(arguments[0])?(e=arguments[0],t=void 0):ia(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var s=e||D(),r=Rt(s,this).startOf("day"),n=d.calendarFormat(this,r)||"sameElse",a=t&&(B(t[n])?t[n].call(this,s):t[n]);return this.format(a||this.localeData().calendar(n,this,D(s)))}function ua(){return new be(this)}function da(e,t){var s=G(e)?e:D(e);return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()>s.valueOf():s.valueOf()<this.clone().startOf(t).valueOf()):!1}function ha(e,t){var s=G(e)?e:D(e);return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()<s.valueOf():this.clone().endOf(t).valueOf()<s.valueOf()):!1}function fa(e,t,s,r){var n=G(e)?e:D(e),a=G(t)?t:D(t);return this.isValid()&&n.isValid()&&a.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(n,s):!this.isBefore(n,s))&&(r[1]===")"?this.isBefore(a,s):!this.isAfter(a,s))):!1}function ca(e,t){var s=G(e)?e:D(e),r;return this.isValid()&&s.isValid()?(t=I(t)||"millisecond",t==="millisecond"?this.valueOf()===s.valueOf():(r=s.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function ma(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function _a(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ya(e,t,s){var r,n,a;if(!this.isValid())return NaN;if(r=Rt(e,this),!r.isValid())return NaN;switch(n=(r.utcOffset()-this.utcOffset())*6e4,t=I(t),t){case"year":a=Ue(this,r)/12;break;case"month":a=Ue(this,r);break;case"quarter":a=Ue(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-n)/864e5;break;case"week":a=(this-r-n)/6048e5;break;default:a=this-r}return s?a:C(a)}function Ue(e,t){if(e.date()<t.date())return-Ue(t,e);var s=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(s,"months"),n,a;return t-r<0?(n=e.clone().add(s-1,"months"),a=(t-r)/(r-n)):(n=e.clone().add(s+1,"months"),a=(t-r)/(n-r)),-(s+a)||0}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ga(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function wa(e){if(!this.isValid())return null;var t=e!==!0,s=t?this.clone().utc():this;return s.year()<0||s.year()>9999?Ie(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):B(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Ie(s,"Z")):Ie(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Sa(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",s,r,n,a;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),s="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]',this.format(s+r+n+a)}function ka(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=Ie(this,e);return this.localeData().postformat(t)}function Ma(e,t){return this.isValid()&&(G(e)&&e.isValid()||D(e).isValid())?V({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Da(e){return this.from(D(),e)}function va(e,t){return this.isValid()&&(G(e)&&e.isValid()||D(e).isValid())?V({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pa(e){return this.to(D(),e)}function Ts(e){var t;return e===void 0?this._locale._abbr:(t=te(e),t!=null&&(this._locale=t),this)}var bs=L("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function xs(){return this._locale}var Ve=1e3,ye=60*Ve,je=60*ye,Ps=(365*400+97)*24*je;function ge(e,t){return(e%t+t)%t}function Ns(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-Ps:new Date(e,t,s).valueOf()}function Rs(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-Ps:Date.UTC(e,t,s)}function Ya(e){var t,s;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Rs:Ns,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=ge(t+(this._isUTC?0:this.utcOffset()*ye),je);break;case"minute":t=this._d.valueOf(),t-=ge(t,ye);break;case"second":t=this._d.valueOf(),t-=ge(t,Ve);break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Oa(e){var t,s;if(e=I(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(s=this._isUTC?Rs:Ns,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=je-ge(t+(this._isUTC?0:this.utcOffset()*ye),je)-1;break;case"minute":t=this._d.valueOf(),t+=ye-ge(t,ye)-1;break;case"second":t=this._d.valueOf(),t+=Ve-ge(t,Ve)-1;break}return this._d.setTime(t),d.updateOffset(this,!0),this}function Ta(){return this._d.valueOf()-(this._offset||0)*6e4}function ba(){return Math.floor(this.valueOf()/1e3)}function xa(){return new Date(this.valueOf())}function Pa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Na(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ra(){return this.isValid()?this.toISOString():null}function Wa(){return gt(this)}function Fa(){return re({},_(this))}function Ca(){return _(this).overflow}function La(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}f("N",0,0,"eraAbbr");f("NN",0,0,"eraAbbr");f("NNN",0,0,"eraAbbr");f("NNNN",0,0,"eraName");f("NNNNN",0,0,"eraNarrow");f("y",["y",1],"yo","eraYear");f("y",["yy",2],0,"eraYear");f("y",["yyy",3],0,"eraYear");f("y",["yyyy",4],0,"eraYear");h("N",Wt);h("NN",Wt);h("NNN",Wt);h("NNNN",Ba);h("NNNNN",qa);M(["N","NN","NNN","NNNN","NNNNN"],function(e,t,s,r){var n=s._locale.erasParse(e,r,s._strict);n?_(s).era=n:_(s).invalidEra=e});h("y",Se);h("yy",Se);h("yyy",Se);h("yyyy",Se);h("yo",Ja);M(["y","yy","yyy","yyyy"],b);M(["yo"],function(e,t,s,r){var n;s._locale._eraYearOrdinalRegex&&(n=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[b]=s._locale.eraYearOrdinalParse(e,n):t[b]=parseInt(e,10)});function Ia(e,t){var s,r,n,a=this._eras||te("en")._eras;for(s=0,r=a.length;s<r;++s){switch(typeof a[s].since){case"string":n=d(a[s].since).startOf("day"),a[s].since=n.valueOf();break}switch(typeof a[s].until){case"undefined":a[s].until=1/0;break;case"string":n=d(a[s].until).startOf("day").valueOf(),a[s].until=n.valueOf();break}}return a}function Ea(e,t,s){var r,n,a=this.eras(),i,u,m;for(e=e.toUpperCase(),r=0,n=a.length;r<n;++r)if(i=a[r].name.toUpperCase(),u=a[r].abbr.toUpperCase(),m=a[r].narrow.toUpperCase(),s)switch(t){case"N":case"NN":case"NNN":if(u===e)return a[r];break;case"NNNN":if(i===e)return a[r];break;case"NNNNN":if(m===e)return a[r];break}else if([i,u,m].indexOf(e)>=0)return a[r]}function Ua(e,t){var s=e.since<=e.until?1:-1;return t===void 0?d(e.since).year():d(e.since).year()+(t-e.offset)*s}function Aa(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].name;return""}function Ha(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].narrow;return""}function Ga(){var e,t,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return r[e].abbr;return""}function Va(){var e,t,s,r,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e)if(s=n[e].since<=n[e].until?1:-1,r=this.clone().startOf("day").valueOf(),n[e].since<=r&&r<=n[e].until||n[e].until<=r&&r<=n[e].since)return(this.year()-d(n[e].since).year())*s+n[e].offset;return this.year()}function ja(e){return w(this,"_erasNameRegex")||Ft.call(this),e?this._erasNameRegex:this._erasRegex}function za(e){return w(this,"_erasAbbrRegex")||Ft.call(this),e?this._erasAbbrRegex:this._erasRegex}function Za(e){return w(this,"_erasNarrowRegex")||Ft.call(this),e?this._erasNarrowRegex:this._erasRegex}function Wt(e,t){return t.erasAbbrRegex(e)}function Ba(e,t){return t.erasNameRegex(e)}function qa(e,t){return t.erasNarrowRegex(e)}function Ja(e,t){return t._eraYearOrdinalRegex||Se}function Ft(){var e=[],t=[],s=[],r=[],n,a,i=this.eras();for(n=0,a=i.length;n<a;++n)t.push(R(i[n].name)),e.push(R(i[n].abbr)),s.push(R(i[n].narrow)),r.push(R(i[n].name)),r.push(R(i[n].abbr)),r.push(R(i[n].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}f(0,["gg",2],0,function(){return this.weekYear()%100});f(0,["GG",2],0,function(){return this.isoWeekYear()%100});function st(e,t){f(0,[e,e.length],0,t)}st("gggg","weekYear");st("ggggg","weekYear");st("GGGG","isoWeekYear");st("GGGGG","isoWeekYear");x("weekYear","gg");x("isoWeekYear","GG");P("weekYear",1);P("isoWeekYear",1);h("G",Xe);h("g",Xe);h("GG",v,W);h("gg",v,W);h("GGGG",vt,Dt);h("gggg",vt,Dt);h("GGGGG",Qe,qe);h("ggggg",Qe,qe);Pe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,s,r){t[r.substr(0,2)]=y(e)});Pe(["gg","GG"],function(e,t,s,r){t[r]=d.parseTwoDigitYear(e)});function Qa(e){return Ws.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Xa(e){return Ws.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ka(){return $(this.year(),1,4)}function $a(){return $(this.isoWeekYear(),1,4)}function ei(){var e=this.localeData()._week;return $(this.year(),e.dow,e.doy)}function ti(){var e=this.localeData()._week;return $(this.weekYear(),e.dow,e.doy)}function Ws(e,t,s,r,n){var a;return e==null?Ye(this,r,n).year:(a=$(e,r,n),t>a&&(t=a),si.call(this,e,t,s,r,n))}function si(e,t,s,r,n){var a=fs(e,t,s,r,n),i=pe(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}f("Q",0,"Qo","quarter");x("quarter","Q");P("quarter",7);h("Q",ss);M("Q",function(e,t){t[X]=(y(e)-1)*3});function ri(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}f("D",["DD",2],"Do","date");x("date","D");P("date",9);h("D",v);h("DD",v,W);h("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});M(["D","DD"],j);M("Do",function(e,t){t[j]=y(e.match(v)[0])});var Fs=we("Date",!0);f("DDD",["DDDD",3],"DDDo","dayOfYear");x("dayOfYear","DDD");P("dayOfYear",4);h("DDD",Je);h("DDDD",rs);M(["DDD","DDDD"],function(e,t,s){s._dayOfYear=y(e)});function ni(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}f("m",["mm",2],0,"minute");x("minute","m");P("minute",14);h("m",v);h("mm",v,W);M(["m","mm"],A);var ai=we("Minutes",!1);f("s",["ss",2],0,"second");x("second","s");P("second",15);h("s",v);h("ss",v,W);M(["s","ss"],K);var ii=we("Seconds",!1);f("S",0,0,function(){return~~(this.millisecond()/100)});f(0,["SS",2],0,function(){return~~(this.millisecond()/10)});f(0,["SSS",3],0,"millisecond");f(0,["SSSS",4],0,function(){return this.millisecond()*10});f(0,["SSSSS",5],0,function(){return this.millisecond()*100});f(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});f(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});f(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});f(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});x("millisecond","ms");P("millisecond",16);h("S",Je,ss);h("SS",Je,W);h("SSS",Je,rs);var ne,Cs;for(ne="SSSS";ne.length<=9;ne+="S")h(ne,Se);function oi(e,t){t[le]=y(("0."+e)*1e3)}for(ne="S";ne.length<=9;ne+="S")M(ne,oi);Cs=we("Milliseconds",!1);f("z",0,0,"zoneAbbr");f("zz",0,0,"zoneName");function li(){return this._isUTC?"UTC":""}function ui(){return this._isUTC?"Coordinated Universal Time":""}var o=be.prototype;o.add=ta;o.calendar=la;o.clone=ua;o.diff=ya;o.endOf=Oa;o.format=ka;o.from=Ma;o.fromNow=Da;o.to=va;o.toNow=pa;o.get=dr;o.invalidAt=Ca;o.isAfter=da;o.isBefore=ha;o.isBetween=fa;o.isSame=ca;o.isSameOrAfter=ma;o.isSameOrBefore=_a;o.isValid=Wa;o.lang=bs;o.locale=Ts;o.localeData=xs;o.max=Wn;o.min=Rn;o.parsingFlags=Fa;o.set=hr;o.startOf=Ya;o.subtract=sa;o.toArray=Pa;o.toObject=Na;o.toDate=xa;o.toISOString=wa;o.inspect=Sa;typeof Symbol!="undefined"&&Symbol.for!=null&&(o[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});o.toJSON=Ra;o.toString=ga;o.unix=ba;o.valueOf=Ta;o.creationData=La;o.eraName=Aa;o.eraNarrow=Ha;o.eraAbbr=Ga;o.eraYear=Va;o.year=hs;o.isLeapYear=Pr;o.weekYear=Qa;o.isoWeekYear=Xa;o.quarter=o.quarters=ri;o.month=us;o.daysInMonth=Tr;o.week=o.weeks=Lr;o.isoWeek=o.isoWeeks=Ir;o.weeksInYear=ei;o.weeksInWeekYear=ti;o.isoWeeksInYear=Ka;o.isoWeeksInISOWeekYear=$a;o.date=Fs;o.day=o.days=Qr;o.weekday=Xr;o.isoWeekday=Kr;o.dayOfYear=ni;o.hour=o.hours=an;o.minute=o.minutes=ai;o.second=o.seconds=ii;o.millisecond=o.milliseconds=Cs;o.utcOffset=Gn;o.utc=jn;o.local=zn;o.parseZone=Zn;o.hasAlignedHourOffset=Bn;o.isDST=qn;o.isLocal=Qn;o.isUtcOffset=Xn;o.isUtc=vs;o.isUTC=vs;o.zoneAbbr=li;o.zoneName=ui;o.dates=L("dates accessor is deprecated. Use date instead.",Fs);o.months=L("months accessor is deprecated. Use month instead",us);o.years=L("years accessor is deprecated. Use year instead",hs);o.zone=L("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Vn);o.isDSTShifted=L("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Jn);function di(e){return D(e*1e3)}function hi(){return D.apply(null,arguments).parseZone()}function Ls(e){return e}var S=St.prototype;S.calendar=Qs;S.longDateFormat=er;S.invalidDate=sr;S.ordinal=ar;S.preparse=Ls;S.postformat=Ls;S.relativeTime=or;S.pastFuture=lr;S.set=qs;S.eras=Ia;S.erasParse=Ea;S.erasConvertYear=Ua;S.erasAbbrRegex=za;S.erasNameRegex=ja;S.erasNarrowRegex=Za;S.months=vr;S.monthsShort=pr;S.monthsParse=Or;S.monthsRegex=xr;S.monthsShortRegex=br;S.week=Rr;S.firstDayOfYear=Cr;S.firstDayOfWeek=Fr;S.weekdays=zr;S.weekdaysMin=Br;S.weekdaysShort=Zr;S.weekdaysParse=Jr;S.weekdaysRegex=$r;S.weekdaysShortRegex=en;S.weekdaysMinRegex=tn;S.isPM=rn;S.meridiem=on;function ze(e,t,s,r){var n=te(),a=Z().set(r,t);return n[s](a,e)}function Is(e,t,s){if(ee(e)&&(t=e,e=void 0),e=e||"",t!=null)return ze(e,t,s,"month");var r,n=[];for(r=0;r<12;r++)n[r]=ze(e,r,s,"month");return n}function Ct(e,t,s,r){typeof e=="boolean"?(ee(t)&&(s=t,t=void 0),t=t||""):(t=e,s=t,e=!1,ee(t)&&(s=t,t=void 0),t=t||"");var n=te(),a=e?n._week.dow:0,i,u=[];if(s!=null)return ze(t,(s+a)%7,r,"day");for(i=0;i<7;i++)u[i]=ze(t,(i+a)%7,r,"day");return u}function fi(e,t){return Is(e,t,"months")}function ci(e,t){return Is(e,t,"monthsShort")}function mi(e,t,s){return Ct(e,t,s,"weekdays")}function _i(e,t,s){return Ct(e,t,s,"weekdaysShort")}function yi(e,t,s){return Ct(e,t,s,"weekdaysMin")}ae("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,s=y(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+s}});d.lang=L("moment.lang is deprecated. Use moment.locale instead.",ae);d.langData=L("moment.langData is deprecated. Use moment.localeData instead.",te);var J=Math.abs;function gi(){var e=this._data;return this._milliseconds=J(this._milliseconds),this._days=J(this._days),this._months=J(this._months),e.milliseconds=J(e.milliseconds),e.seconds=J(e.seconds),e.minutes=J(e.minutes),e.hours=J(e.hours),e.months=J(e.months),e.years=J(e.years),this}function Es(e,t,s,r){var n=V(t,s);return e._milliseconds+=r*n._milliseconds,e._days+=r*n._days,e._months+=r*n._months,e._bubble()}function wi(e,t){return Es(this,e,t,1)}function Si(e,t){return Es(this,e,t,-1)}function Gt(e){return e<0?Math.floor(e):Math.ceil(e)}function ki(){var e=this._milliseconds,t=this._days,s=this._months,r=this._data,n,a,i,u,m;return e>=0&&t>=0&&s>=0||e<=0&&t<=0&&s<=0||(e+=Gt(_t(s)+t)*864e5,t=0,s=0),r.milliseconds=e%1e3,n=C(e/1e3),r.seconds=n%60,a=C(n/60),r.minutes=a%60,i=C(a/60),r.hours=i%24,t+=C(i/24),m=C(Us(t)),s+=m,t-=Gt(_t(m)),u=C(s/12),s%=12,r.days=t,r.months=s,r.years=u,this}function Us(e){return e*4800/146097}function _t(e){return e*146097/4800}function Mi(e){if(!this.isValid())return NaN;var t,s,r=this._milliseconds;if(e=I(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,s=this._months+Us(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(_t(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Di(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+y(this._months/12)*31536e6:NaN}function se(e){return function(){return this.as(e)}}var vi=se("ms"),pi=se("s"),Yi=se("m"),Oi=se("h"),Ti=se("d"),bi=se("w"),xi=se("M"),Pi=se("Q"),Ni=se("y");function Ri(){return V(this)}function Wi(e){return e=I(e),this.isValid()?this[e+"s"]():NaN}function de(e){return function(){return this.isValid()?this._data[e]:NaN}}var Fi=de("milliseconds"),Ci=de("seconds"),Li=de("minutes"),Ii=de("hours"),Ei=de("days"),Ui=de("months"),Ai=de("years");function Hi(){return C(this.days()/7)}var Q=Math.round,me={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Gi(e,t,s,r,n){return n.relativeTime(t||1,!!s,e,r)}function Vi(e,t,s,r){var n=V(e).abs(),a=Q(n.as("s")),i=Q(n.as("m")),u=Q(n.as("h")),m=Q(n.as("d")),k=Q(n.as("M")),T=Q(n.as("w")),F=Q(n.as("y")),E=a<=s.ss&&["s",a]||a<s.s&&["ss",a]||i<=1&&["m"]||i<s.m&&["mm",i]||u<=1&&["h"]||u<s.h&&["hh",u]||m<=1&&["d"]||m<s.d&&["dd",m];return s.w!=null&&(E=E||T<=1&&["w"]||T<s.w&&["ww",T]),E=E||k<=1&&["M"]||k<s.M&&["MM",k]||F<=1&&["y"]||["yy",F],E[2]=t,E[3]=+e>0,E[4]=r,Gi.apply(null,E)}function ji(e){return e===void 0?Q:typeof e=="function"?(Q=e,!0):!1}function zi(e,t){return me[e]===void 0?!1:t===void 0?me[e]:(me[e]=t,e==="s"&&(me.ss=t-1),!0)}function Zi(e,t){if(!this.isValid())return this.localeData().invalidDate();var s=!1,r=me,n,a;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(s=e),typeof t=="object"&&(r=Object.assign({},me,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),n=this.localeData(),a=Vi(this,!s,r,n),s&&(a=n.pastFuture(+this,a)),n.postformat(a)}var lt=Math.abs;function fe(e){return(e>0)-(e<0)||+e}function rt(){if(!this.isValid())return this.localeData().invalidDate();var e=lt(this._milliseconds)/1e3,t=lt(this._days),s=lt(this._months),r,n,a,i,u=this.asSeconds(),m,k,T,F;return u?(r=C(e/60),n=C(r/60),e%=60,r%=60,a=C(s/12),s%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",m=u<0?"-":"",k=fe(this._months)!==fe(u)?"-":"",T=fe(this._days)!==fe(u)?"-":"",F=fe(this._milliseconds)!==fe(u)?"-":"",m+"P"+(a?k+a+"Y":"")+(s?k+s+"M":"")+(t?T+t+"D":"")+(n||r||e?"T":"")+(n?F+n+"H":"")+(r?F+r+"M":"")+(e?F+i+"S":"")):"P0D"}var g=tt.prototype;g.isValid=En;g.abs=gi;g.add=wi;g.subtract=Si;g.as=Mi;g.asMilliseconds=vi;g.asSeconds=pi;g.asMinutes=Yi;g.asHours=Oi;g.asDays=Ti;g.asWeeks=bi;g.asMonths=xi;g.asQuarters=Pi;g.asYears=Ni;g.valueOf=Di;g._bubble=ki;g.clone=Ri;g.get=Wi;g.milliseconds=Fi;g.seconds=Ci;g.minutes=Li;g.hours=Ii;g.days=Ei;g.weeks=Hi;g.months=Ui;g.years=Ai;g.humanize=Zi;g.toISOString=rt;g.toString=rt;g.toJSON=rt;g.locale=Ts;g.localeData=xs;g.toIsoString=L("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",rt);g.lang=bs;f("X",0,0,"unix");f("x",0,0,"valueOf");h("x",Xe);h("X",cr);M("X",function(e,t,s){s._d=new Date(parseFloat(e)*1e3)});M("x",function(e,t,s){s._d=new Date(y(e))});//! moment.js
10
- d.version="2.29.4";Zs(D);d.fn=o;d.min=Fn;d.max=Cn;d.now=Ln;d.utc=Z;d.unix=di;d.months=fi;d.isDate=Te;d.locale=ae;d.invalid=Ze;d.duration=V;d.isMoment=G;d.weekdays=mi;d.parseZone=hi;d.localeData=te;d.isDuration=Ee;d.monthsShort=ci;d.weekdaysMin=yi;d.defineLocale=Tt;d.updateLocale=hn;d.locales=fn;d.weekdaysShort=_i;d.normalizeUnits=I;d.relativeTimeRounding=ji;d.relativeTimeThreshold=zi;d.calendarFormat=oa;d.prototype=o;d.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function Vt(e,t){l.addMessages(e,t)}const jt={en:{nothing:"Nothing to show here."},hr:{nothing:"Nema ničega za prikazati ovdje."},"zh-hk":{nothing:"這裡沒有什麼可顯示的。"},fr:{nothing:"Rien à montrer ici."},ro:{nothing:"Niciun turneu disponibil aici."},tr:{nothing:"Burada gösterilecek bir şey yok."},el:{nothing:"Δεν υπάρχει τίποτα εδώ."},es:{nothing:"Nada que mostrar aquí."},hu:{nothing:"Nincs megjelenítendő adat."},pt:{nothing:"Nada para mostrar aqui."},"en-us":{nothing:"Nothing to show here."}};if(typeof window!="undefined"){let e=function(t){return function(...s){try{return t.apply(this,s)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailController-DT-BI1B2.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",t.element)})}function Bi(e){l.append_styles(e,"svelte-gkejaq","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentList{width:100%;display:grid;grid-template-columns:repeat(auto-fit, minmax(min(380px, 100%), 1fr));grid-auto-flow:dense;gap:25px}")}function zt(e,t,s){const r=e.slice();return r[28]=t[s],r[30]=s,r}function Zt(e){let t,s=l.ensure_array_like(e[16]),r=[];for(let a=0;a<s.length;a+=1)r[a]=qt(zt(e,s,a));let n=null;return s.length||(n=Bt(e)),{c(){for(let a=0;a<r.length;a+=1)r[a].c();t=l.empty(),n&&n.c()},m(a,i){for(let u=0;u<r.length;u+=1)r[u]&&r[u].m(a,i);l.insert(a,t,i),n&&n.m(a,i)},p(a,i){if(i&212991){s=l.ensure_array_like(a[16]);let u;for(u=0;u<s.length;u+=1){const m=zt(a,s,u);r[u]?r[u].p(m,i):(r[u]=qt(m),r[u].c(),r[u].m(t.parentNode,t))}for(;u<r.length;u+=1)r[u].d(1);r.length=s.length,!s.length&&n?n.p(a,i):s.length?n&&(n.d(1),n=null):(n=Bt(a),n.c(),n.m(t.parentNode,t))}},d(a){a&&l.detach(t),l.destroy_each(r,a),n&&n.d(a)}}}function Bt(e){let t,s=e[17]("nothing")+"",r;return{c(){t=l.element("p"),r=l.text(s)},m(n,a){l.insert(n,t,a),l.append(t,r)},p(n,a){a&131072&&s!==(s=n[17]("nothing")+"")&&l.set_data(r,s)},d(n){n&&l.detach(t)}}}function qt(e){let t,s,r,n;return{c(){t=l.element("casino-tournaments-thumbnail-controller"),l.set_custom_element_data(t,"touridx",e[30]+1),l.set_custom_element_data(t,"userid",e[1]),l.set_custom_element_data(t,"showdetails","true"),l.set_custom_element_data(t,"showslider","false"),l.set_custom_element_data(t,"tournamenturl",s=e[28].href),l.set_custom_element_data(t,"maxwidth",r=e[16].length<=2),l.set_custom_element_data(t,"loginurl",e[5]),l.set_custom_element_data(t,"loginevent",e[3]),l.set_custom_element_data(t,"registerurl",e[6]),l.set_custom_element_data(t,"tournamentinfo",n=e[28]),l.set_custom_element_data(t,"registerevent",e[4]),l.set_custom_element_data(t,"detailsevent",Ji),l.set_custom_element_data(t,"clientstyling",e[10]),l.set_custom_element_data(t,"clientstylingurl",e[11]),l.set_custom_element_data(t,"translationurl",e[12]),l.set_custom_element_data(t,"lang",e[8]),l.set_custom_element_data(t,"currency",e[7]),l.set_custom_element_data(t,"keepbrowsercontext",e[9]),l.set_custom_element_data(t,"mbsource",e[13]),l.set_custom_element_data(t,"session",e[0]),l.set_custom_element_data(t,"endpoint",e[2]),l.set_custom_element_data(t,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
10
+ d.version="2.29.4";Zs(D);d.fn=o;d.min=Fn;d.max=Cn;d.now=Ln;d.utc=Z;d.unix=di;d.months=fi;d.isDate=Te;d.locale=ae;d.invalid=Ze;d.duration=V;d.isMoment=G;d.weekdays=mi;d.parseZone=hi;d.localeData=te;d.isDuration=Ee;d.monthsShort=ci;d.weekdaysMin=yi;d.defineLocale=Tt;d.updateLocale=hn;d.locales=fn;d.weekdaysShort=_i;d.normalizeUnits=I;d.relativeTimeRounding=ji;d.relativeTimeThreshold=zi;d.calendarFormat=oa;d.prototype=o;d.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function Vt(e,t){l.addMessages(e,t)}const jt={en:{nothing:"Nothing to show here."},hr:{nothing:"Nema ničega za prikazati ovdje."},"zh-hk":{nothing:"這裡沒有什麼可顯示的。"},fr:{nothing:"Rien à montrer ici."},ro:{nothing:"Niciun turneu disponibil aici."},tr:{nothing:"Burada gösterilecek bir şey yok."},el:{nothing:"Δεν υπάρχει τίποτα εδώ."},es:{nothing:"Nada que mostrar aquí."},hu:{nothing:"Nincs megjelenítendő adat."},pt:{nothing:"Nada para mostrar aqui."},"en-us":{nothing:"Nothing to show here."}};if(typeof window!="undefined"){let e=function(t){return function(...s){try{return t.apply(this,s)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoTournamentsThumbnailController-AwtNpbCC.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-thumbnail-controller")&&customElements.define("casino-tournaments-thumbnail-controller",t.element)})}function Bi(e){l.append_styles(e,"svelte-gkejaq","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.TournamentList{width:100%;display:grid;grid-template-columns:repeat(auto-fit, minmax(min(380px, 100%), 1fr));grid-auto-flow:dense;gap:25px}")}function zt(e,t,s){const r=e.slice();return r[28]=t[s],r[30]=s,r}function Zt(e){let t,s=l.ensure_array_like(e[16]),r=[];for(let a=0;a<s.length;a+=1)r[a]=qt(zt(e,s,a));let n=null;return s.length||(n=Bt(e)),{c(){for(let a=0;a<r.length;a+=1)r[a].c();t=l.empty(),n&&n.c()},m(a,i){for(let u=0;u<r.length;u+=1)r[u]&&r[u].m(a,i);l.insert(a,t,i),n&&n.m(a,i)},p(a,i){if(i&212991){s=l.ensure_array_like(a[16]);let u;for(u=0;u<s.length;u+=1){const m=zt(a,s,u);r[u]?r[u].p(m,i):(r[u]=qt(m),r[u].c(),r[u].m(t.parentNode,t))}for(;u<r.length;u+=1)r[u].d(1);r.length=s.length,!s.length&&n?n.p(a,i):s.length?n&&(n.d(1),n=null):(n=Bt(a),n.c(),n.m(t.parentNode,t))}},d(a){a&&l.detach(t),l.destroy_each(r,a),n&&n.d(a)}}}function Bt(e){let t,s=e[17]("nothing")+"",r;return{c(){t=l.element("p"),r=l.text(s)},m(n,a){l.insert(n,t,a),l.append(t,r)},p(n,a){a&131072&&s!==(s=n[17]("nothing")+"")&&l.set_data(r,s)},d(n){n&&l.detach(t)}}}function qt(e){let t,s,r,n;return{c(){t=l.element("casino-tournaments-thumbnail-controller"),l.set_custom_element_data(t,"touridx",e[30]+1),l.set_custom_element_data(t,"userid",e[1]),l.set_custom_element_data(t,"showdetails","true"),l.set_custom_element_data(t,"showslider","false"),l.set_custom_element_data(t,"tournamenturl",s=e[28].href),l.set_custom_element_data(t,"maxwidth",r=e[16].length<=2),l.set_custom_element_data(t,"loginurl",e[5]),l.set_custom_element_data(t,"loginevent",e[3]),l.set_custom_element_data(t,"registerurl",e[6]),l.set_custom_element_data(t,"tournamentinfo",n=e[28]),l.set_custom_element_data(t,"registerevent",e[4]),l.set_custom_element_data(t,"detailsevent",Ji),l.set_custom_element_data(t,"clientstyling",e[10]),l.set_custom_element_data(t,"clientstylingurl",e[11]),l.set_custom_element_data(t,"translationurl",e[12]),l.set_custom_element_data(t,"lang",e[8]),l.set_custom_element_data(t,"currency",e[7]),l.set_custom_element_data(t,"keepbrowsercontext",e[9]),l.set_custom_element_data(t,"mbsource",e[13]),l.set_custom_element_data(t,"session",e[0]),l.set_custom_element_data(t,"endpoint",e[2]),l.set_custom_element_data(t,"exportparts",`Thumbnail, Status, Enrolled, CardImg, CardImgFinished, Details, Title, Date, ScoreCriteria, ScoreCriteriaP, ScoreCriteriaSpan, Games, GamesP, GamesAnchor, TournamentPrizes, TournamentPrizesSvg, a, TournamentPrizesSvgA, PrizesTitle, Prizes, Prize, PrizeText, PrizeRank,
11
11
  TournamentDuration, TournamentDates, StartDate, EndDate, ProgressBar, ProgressBarFillEnd, Finished, ProgressBarFillStarting, Remaining, ProgressBarFill,
12
12
  TournamentsGamesSlider, SliderNavButton, items, item, PlayNowButton, itemHover, SliderNavButton
13
13
  TournamentCard, CardMaxWidth, CardFullSize, elementToFadeOut, elementToFadeIn, ph-item, ph-col-12, ph-picture, ph-row, ph-col-6, big, ph-col-4, empty, ph-col-8, TournamentButtons, LoginButton, RegisterButton, DetailsButton, EnrolledButton, JoinButton, JoinButtonSpan, JoinButtonSvg, JoinButtonSvgA, JoinButtonFullSize, spinner, DetailsLargeButton, ErrorText, StatusUnstarted, StatusRunning, StatusClosed, StatusClosing, TournamentPrizesIconSection, TournamentPrizesIconWrapper`)},m(a,i){l.insert(a,t,i)},p(a,i){i&2&&l.set_custom_element_data(t,"userid",a[1]),i&65536&&s!==(s=a[28].href)&&l.set_custom_element_data(t,"tournamenturl",s),i&65536&&r!==(r=a[16].length<=2)&&l.set_custom_element_data(t,"maxwidth",r),i&32&&l.set_custom_element_data(t,"loginurl",a[5]),i&8&&l.set_custom_element_data(t,"loginevent",a[3]),i&64&&l.set_custom_element_data(t,"registerurl",a[6]),i&65536&&n!==(n=a[28])&&l.set_custom_element_data(t,"tournamentinfo",n),i&16&&l.set_custom_element_data(t,"registerevent",a[4]),i&1024&&l.set_custom_element_data(t,"clientstyling",a[10]),i&2048&&l.set_custom_element_data(t,"clientstylingurl",a[11]),i&4096&&l.set_custom_element_data(t,"translationurl",a[12]),i&256&&l.set_custom_element_data(t,"lang",a[8]),i&128&&l.set_custom_element_data(t,"currency",a[7]),i&512&&l.set_custom_element_data(t,"keepbrowsercontext",a[9]),i&8192&&l.set_custom_element_data(t,"mbsource",a[13]),i&1&&l.set_custom_element_data(t,"session",a[0]),i&4&&l.set_custom_element_data(t,"endpoint",a[2])},d(a){a&&l.detach(t)}}}function qi(e){let t,s=!e[15]&&Zt(e);return{c(){t=l.element("div"),s&&s.c(),l.attr(t,"class","TournamentList"),l.attr(t,"part","TournamentList")},m(r,n){l.insert(r,t,n),s&&s.m(t,null),e[18](t)},p(r,[n]){r[15]?s&&(s.d(1),s=null):s?s.p(r,n):(s=Zt(r),s.c(),s.m(t,null))},i:l.noop,o:l.noop,d(r){r&&l.detach(t),s&&s.d(),e[18](null)}}}let Ji="TournamentDetailsClicked";function Qi(e,t,s){let r;l.component_subscribe(e,l.$format,c=>s(17,r=c));let{session:n=""}=t,{userid:a=""}=t,{endpoint:i=""}=t,{loginevent:u=""}=t,{registerevent:m=""}=t,{loginurl:k=""}=t,{registerurl:T=""}=t,{currency:F=""}=t,{lang:E="en"}=t,{keepbrowsercontext:Lt="false"}=t,{clientstyling:Ne=""}=t,{clientstylingurl:Re=""}=t,{translationurl:We=""}=t,{mbsource:Fe}=t,q,nt=!1;d();let U="";const Hs=()=>{fetch(We).then(ie=>ie.json()).then(ie=>{Object.keys(ie).forEach(he=>{Vt(he,ie[he])})}).catch(ie=>{console.log(ie)})};Object.keys(jt).forEach(c=>{Vt(c,jt[c])});const It=c=>{if(c.data&&c.data.type=="TournamentList"&&(s(16,U=[]),s(15,nt=!0),s(16,U=c.data.tournamentList),setTimeout(()=>{s(15,nt=!1)},10)),c.data&&c.data.type=="TournamentListShowMore"&&s(16,U=[...U,...c.data.tournamentList]),c.data.type=="UpdateTournamentView"){if(!U)return;U.filter(he=>he.id==c.data.tournamentData.id).length==0&&(U.pop(),s(16,U=[c.data.tournamentData,...U]),setTimeout(()=>{U.forEach((he,js)=>{window.postMessage({type:`UpdateSingleTournament_${js+1}`,tournamentData:he},window.location.href)})},100))}c.data&&c.data.type=="UserSessionID"&&c.data.session},Gs=()=>{n.length>0&&n!="false"};l.onMount(()=>(window.addEventListener("message",It,!0),()=>{window.removeEventListener("message",It,!0)}));function Vs(c){l.binding_callbacks[c?"unshift":"push"](()=>{q=c,s(14,q)})}return e.$$set=c=>{"session"in c&&s(0,n=c.session),"userid"in c&&s(1,a=c.userid),"endpoint"in c&&s(2,i=c.endpoint),"loginevent"in c&&s(3,u=c.loginevent),"registerevent"in c&&s(4,m=c.registerevent),"loginurl"in c&&s(5,k=c.loginurl),"registerurl"in c&&s(6,T=c.registerurl),"currency"in c&&s(7,F=c.currency),"lang"in c&&s(8,E=c.lang),"keepbrowsercontext"in c&&s(9,Lt=c.keepbrowsercontext),"clientstyling"in c&&s(10,Ne=c.clientstyling),"clientstylingurl"in c&&s(11,Re=c.clientstylingurl),"translationurl"in c&&s(12,We=c.translationurl),"mbsource"in c&&s(13,Fe=c.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&We&&Hs(),e.$$.dirty&1&&n&&Gs(),e.$$.dirty&2,e.$$.dirty&17408&&Ne&&q&&l.setClientStyling(q,Ne),e.$$.dirty&18432&&Re&&q&&l.setClientStylingURL(q,Re),e.$$.dirty&24576&&Fe&&q&&l.setStreamStyling(q,`${Fe}.Style`)},[n,a,i,u,m,k,T,F,E,Lt,Ne,Re,We,Fe,q,nt,U,r,Vs]}class As extends l.SvelteComponent{constructor(t){super(),l.init(this,t,Qi,qi,l.safe_not_equal,{session:0,userid:1,endpoint:2,loginevent:3,registerevent:4,loginurl:5,registerurl:6,currency:7,lang:8,keepbrowsercontext:9,clientstyling:10,clientstylingurl:11,translationurl:12,mbsource:13},Bi)}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),l.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),l.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),l.flush()}get loginevent(){return this.$$.ctx[3]}set loginevent(t){this.$$set({loginevent:t}),l.flush()}get registerevent(){return this.$$.ctx[4]}set registerevent(t){this.$$set({registerevent:t}),l.flush()}get loginurl(){return this.$$.ctx[5]}set loginurl(t){this.$$set({loginurl:t}),l.flush()}get registerurl(){return this.$$.ctx[6]}set registerurl(t){this.$$set({registerurl:t}),l.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),l.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),l.flush()}get keepbrowsercontext(){return this.$$.ctx[9]}set keepbrowsercontext(t){this.$$set({keepbrowsercontext:t}),l.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),l.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),l.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),l.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(t){this.$$set({mbsource:t}),l.flush()}}l.create_custom_element(As,{session:{},userid:{},endpoint:{},loginevent:{},registerevent:{},loginurl:{},registerurl:{},currency:{},lang:{},keepbrowsercontext:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=As;
@@ -1,4 +1,4 @@
1
- import { a as Xs, S as Ks, i as $s, s as er, f as P, b as tr, n as Gt, d as Ze, c as qe, e as St, g as Vt, j as sr, o as rr, k as jt, l as nr, A as ir, r as ar, B as _, m as or, p as lr, t as ur, w as dr, x as hr, y as fr, z as cr, $ as mr } from "./CasinoTournamentsController-CipjvpY6.js";
1
+ import { a as Xs, S as Ks, i as $s, s as er, f as P, b as tr, n as Gt, d as Ze, c as qe, e as St, g as Vt, j as sr, o as rr, k as jt, l as nr, A as ir, r as ar, B as _, m as or, p as lr, t as ur, w as dr, x as hr, y as fr, z as cr, $ as mr } from "./CasinoTournamentsController-CnAIq520.js";
2
2
  function _r(e) {
3
3
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -2573,7 +2573,7 @@ if (typeof window != "undefined") {
2573
2573
  }
2574
2574
  };
2575
2575
  };
2576
- customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-CbX3jfT-.js").then(
2576
+ customElements.define = e(customElements.define), import("./CasinoTournamentsThumbnailController-DOhlVFj-.js").then(
2577
2577
  ({ default: t }) => {
2578
2578
  !customElements.get("casino-tournaments-thumbnail-controller") && customElements.define(
2579
2579
  "casino-tournaments-thumbnail-controller",
@@ -1,4 +1,4 @@
1
- import { C as ee, D as ce, a as ge, S as be, i as fe, s as he, f as h, b as pe, n as ae, d as C, g as m, c as _, p as c, e as p, q as I, j as ke, o as ye, E as ie, m as F, u as $, F as Z, t as v, r as Se, A as Ce, G as te, B as V, H as _e, w as Ae, x as ve, y as Te, z as we, $ as Me } from "./CasinoTournamentsController-CipjvpY6.js";
1
+ import { C as ee, D as ce, a as ge, S as be, i as fe, s as he, f as h, b as pe, n as ae, d as C, g as m, c as _, p as c, e as p, q as I, j as ke, o as ye, E as ie, m as F, u as $, F as Z, t as v, r as Se, A as Ce, G as te, B as V, H as _e, w as Ae, x as ve, y as Te, z as we, $ as Me } from "./CasinoTournamentsController-CnAIq520.js";
2
2
  import "../stencil/ui-skeleton-Yn79cPkz.js";
3
3
  import "../stencil/ui-image-O0NdjWCu.js";
4
4
  function Je({ withLocale: i, translations: e }) {
@@ -1,4 +1,4 @@
1
- import { C as ee, D as ce, a as ge, S as be, i as fe, s as he, f as h, b as pe, n as ae, d as C, h as m, e as _, q as c, g as p, r as I, k as ke, o as ye, E as ie, p as F, v as $, F as Z, t as v, u as Se, A as Ce, G as te, B as V, H as _e, x as Ae, y as ve, z as Te, c as we, $ as Me } from "./CasinoTournamentsController-NsQVs67e.js";
1
+ import { C as ee, D as ce, a as ge, S as be, i as fe, s as he, f as h, b as pe, n as ae, d as C, h as m, e as _, q as c, g as p, r as I, k as ke, o as ye, E as ie, p as F, v as $, F as Z, t as v, u as Se, A as Ce, G as te, B as V, H as _e, x as Ae, y as ve, z as Te, c as we, $ as Me } from "./CasinoTournamentsController-BLxMNjdf.js";
2
2
  import "../stencil/ui-skeleton-i9jZ615T.js";
3
3
  import "../stencil/ui-image-Cs_BBOYl.js";
4
4
  function Je({ withLocale: i, translations: e }) {