@everymatrix/bonus-powerups-ingame-detail 0.0.24 → 0.0.26

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 (26) hide show
  1. package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail-837465ac.js +11 -0
  2. package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.esm.js +1 -1
  3. package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail_5.entry.js +1 -1
  4. package/dist/bonus-powerups-ingame-detail/{index-334a1114.js → index-b0d6c89f.js} +1 -1
  5. package/dist/bonus-powerups-ingame-detail/index.esm.js +1 -1
  6. package/dist/cjs/{bonus-powerups-ingame-detail-33f5b380.js → bonus-powerups-ingame-detail-239d2313.js} +37 -20
  7. package/dist/cjs/bonus-powerups-ingame-detail.cjs.js +2 -2
  8. package/dist/cjs/bonus-powerups-ingame-detail_5.cjs.entry.js +5 -5
  9. package/dist/cjs/{index-956ad213.js → index-9c70a387.js} +6 -2
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/collection/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.css +15 -3
  13. package/dist/collection/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.js +38 -19
  14. package/dist/collection/components/smart-loader/smart-loader.js +1 -1
  15. package/dist/collection/components/time-count/time-count.js +2 -2
  16. package/dist/collection/utils/locale.utils.js +5 -0
  17. package/dist/esm/{bonus-powerups-ingame-detail-78a50d3f.js → bonus-powerups-ingame-detail-837465ac.js} +37 -20
  18. package/dist/esm/bonus-powerups-ingame-detail.js +3 -3
  19. package/dist/esm/bonus-powerups-ingame-detail_5.entry.js +6 -6
  20. package/dist/esm/{index-334a1114.js → index-b0d6c89f.js} +6 -2
  21. package/dist/esm/index.js +2 -2
  22. package/dist/esm/loader.js +3 -3
  23. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-detail/.stencil/libs/common/src/types/casino/powerups.d.ts +1 -0
  24. package/dist/types/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.d.ts +3 -0
  25. package/package.json +1 -1
  26. package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail-78a50d3f.js +0 -11
@@ -0,0 +1,11 @@
1
+ import{r as t,c as n,h as i}from"./index-b0d6c89f.js";const e="__WIDGET_GLOBAL_STYLE_CACHE__";function r(t,n){if(t){const i=document.createElement("style");i.innerHTML=n,t.appendChild(i)}}function s(t,n){if(!t||!n)return;const i=new URL(n);fetch(i.href).then((t=>t.text())).then((n=>{const i=document.createElement("style");i.innerHTML=n,t&&t.appendChild(i)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}function o(t,n,i,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return i=function(t,n){const i=document.createElement("style");return window.emMessageBus.subscribe(n,(n=>{t&&(i.innerHTML=n,t.appendChild(i))}))}(t,n),i;window[e]||(window[e]={}),i=function(t,n){return window.emMessageBus.subscribe(n,(i=>{if(!t)return;const r=t.getRootNode(),s=window[e];let o=s[n]&&s[n].sheet;o?s[n].refCount=s[n].refCount+1:(o=new CSSStyleSheet,o.replaceSync(i),s[n]={sheet:o,refCount:1});const a=r.adoptedStyleSheets||[];a.includes(o)||(r.adoptedStyleSheets=[...a,o])}))}(t,n);const s=i.unsubscribe.bind(i);return i.unsubscribe=()=>{if(window[e][n]){const t=window[e][n];t.refCount>1?t.refCount=t.refCount-1:delete window[e][n]}s()},i}const a={en:{playNow:"Play Now",history:"History",available:"Available",duration:"Duration",multiplier:"Multiplier",endDate:"End date",days:"Days",xp:"XP",coins:"Coins",minutes:"min",rounds:"rounds",termsAndConditions:"Terms & Conditions ",playResponsibly:"Terms & Conditions apply. 18+. Play responsibly.",seeAll:"See All",games:"Games",poweringTooltip:"Power-up is currently unavailable as you have already activated other power-up.",activateTips:"In case of activation the countdown starts immediately.",activate:"Activate"}},u=t=>new Promise((n=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((n=>{a[n]||(a[n]={});for(let i in t[n])a[n][i]=t[n][i]})),n(!0)}))})),h=(t,n,i)=>{let e=a[void 0!==n&&n in a?n:"en"][t];if(void 0!==i)for(const[t,n]of Object.entries(i.values)){const i=new RegExp(`{${t}}`,"g");e=e.replace(i,n)}return e};var d,c,l;!function(t){t.COINS="coins",t.XP="xp"}(d||(d={})),function(t){t.TIME_PERIOD="timePeriod",t.NUMBER_OF_ROUNDS="numberOfRounds"}(c||(c={})),function(t){t[t.ACTIVE=0]="ACTIVE",t[t.ACTIVATED=1]="ACTIVATED",t[t.EXPIRED=2]="EXPIRED",t[t.CONSUMED=3]="CONSUMED",t[t.DISABLED=4]="DISABLED",t[t.ENABLED=6]="ENABLED",t[t.ACTIVATING=999]="ACTIVATING"}(l||(l={}));const f={expand:"games",fields:"id,powerUpID,displayName,termsUrl,description,status,multiplier,boostingPeriod,currentTime,activatedAt,expireTime,games(id,gameId,name,slug,thumbnail)",status:`${l.ACTIVE},${l.ACTIVATED}`},m={expand:"games",fields:"id,powerUpID,games(id,gameId,slug,name,thumbnail)"};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var v={exports:{}};!function(t){t.exports=function(){var n,i;function e(){return n.apply(null,arguments)}function r(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function s(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function o(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function a(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(o(t,n))return!1;return!0}function u(t){return void 0===t}function h(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function d(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,n){var i,e=[],r=t.length;for(i=0;i<r;++i)e.push(n(t[i],i));return e}function l(t,n){for(var i in n)o(n,i)&&(t[i]=n[i]);return o(n,"toString")&&(t.toString=n.toString),o(n,"valueOf")&&(t.valueOf=n.valueOf),t}function f(t,n,i,e){return Wn(t,n,i,e,!0).utc()}function m(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function v(t){if(null==t._isValid){var n=m(t),e=i.call(n.parsedDateParts,(function(t){return null!=t})),r=!isNaN(t._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&e);if(t._strict&&(r=r&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return r;t._isValid=r}return t._isValid}function p(t){var n=f(NaN);return null!=t?l(m(n),t):m(n).userInvalidated=!0,n}i=Array.prototype.some?Array.prototype.some:function(t){var n,i=Object(this),e=i.length>>>0;for(n=0;n<e;n++)if(n in i&&t.call(this,i[n],n,i))return!0;return!1};var g=e.momentProperties=[],w=!1;function y(t,n){var i,e,r,s=g.length;if(u(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),u(n._i)||(t._i=n._i),u(n._f)||(t._f=n._f),u(n._l)||(t._l=n._l),u(n._strict)||(t._strict=n._strict),u(n._tzm)||(t._tzm=n._tzm),u(n._isUTC)||(t._isUTC=n._isUTC),u(n._offset)||(t._offset=n._offset),u(n._pf)||(t._pf=m(n)),u(n._locale)||(t._locale=n._locale),s>0)for(i=0;i<s;i++)u(r=n[e=g[i]])||(t[e]=r);return t}function D(t){y(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===w&&(w=!0,e.updateOffset(this),w=!1)}function Y(t){return t instanceof D||null!=t&&null!=t._isAMomentObject}function M(t){!1===e.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function b(t,n){var i=!0;return l((function(){if(null!=e.deprecationHandler&&e.deprecationHandler(null,t),i){var r,s,a,u=[],h=arguments.length;for(s=0;s<h;s++){if(r="","object"==typeof arguments[s]){for(a in r+="\n["+s+"] ",arguments[0])o(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[s];u.push(r)}M(t+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)}),n)}var S,N={};function k(t,n){null!=e.deprecationHandler&&e.deprecationHandler(t,n),N[t]||(M(n),N[t]=!0)}function x(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function C(t,n){var i,e=l({},t);for(i in n)o(n,i)&&(s(t[i])&&s(n[i])?(e[i]={},l(e[i],t[i]),l(e[i],n[i])):null!=n[i]?e[i]=n[i]:delete e[i]);for(i in t)o(t,i)&&!o(n,i)&&s(t[i])&&(e[i]=l({},e[i]));return e}function T(t){null!=t&&this.set(t)}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null,S=Object.keys?Object.keys:function(t){var n,i=[];for(n in t)o(t,n)&&i.push(n);return i};function G(t,n,i){var e=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,n-e.length)).toString().substr(1)+e}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,_={},W={};function E(t,n,i,e){var r=e;"string"==typeof e&&(r=function(){return this[e]()}),t&&(W[t]=r),n&&(W[n[0]]=function(){return G(r.apply(this,arguments),n[1],n[2])}),i&&(W[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function L(t,n){return t.isValid()?(n=A(n,t.localeData()),_[n]=_[n]||function(t){var n,i,e,r=t.match(H);for(n=0,i=r.length;n<i;n++)r[n]=W[r[n]]?W[r[n]]:(e=r[n]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(n){var e,s="";for(e=0;e<i;e++)s+=x(r[e])?r[e].call(n,t):r[e];return s}}(n),_[n](t)):t.localeData().invalidDate()}function A(t,n){var i=5;function e(t){return n.longDateFormat(t)||t}for(I.lastIndex=0;i>=0&&I.test(t);)t=t.replace(I,e),I.lastIndex=0,i-=1;return t}var U={};function P(t,n){var i=t.toLowerCase();U[i]=U[i+"s"]=U[n]=t}function F(t){return"string"==typeof t?U[t]||U[t.toLowerCase()]:void 0}function R(t){var n,i,e={};for(i in t)o(t,i)&&(n=F(i))&&(e[n]=t[i]);return e}var j={};function O(t,n){j[t]=n}function Z(t){return t%4==0&&t%100!=0||t%400==0}function B(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function $(t){var n=+t,i=0;return 0!==n&&isFinite(n)&&(i=B(n)),i}function z(t,n){return function(i){return null!=i?(J(this,t,i),e.updateOffset(this,n),this):q(this,t)}}function q(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function J(t,n,i){t.isValid()&&!isNaN(i)&&("FullYear"===n&&Z(t.year())&&1===t.month()&&29===t.date()?(i=$(i),t._d["set"+(t._isUTC?"UTC":"")+n](i,t.month(),Gt(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](i))}var V,Q=/\d/,X=/\d\d/,K=/\d{3}/,tt=/\d{4}/,nt=/[+-]?\d{6}/,it=/\d\d?/,et=/\d\d\d\d?/,rt=/\d\d\d\d\d\d?/,st=/\d{1,3}/,ot=/\d{1,4}/,at=/[+-]?\d{1,6}/,ut=/\d+/,ht=/[+-]?\d+/,dt=/Z|[+-]\d\d:?\d\d/gi,ct=/Z|[+-]\d\d(?::?\d\d)?/gi,lt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function ft(t,n,i){V[t]=x(n)?n:function(t){return t&&i?i:n}}function mt(t,n){return o(V,t)?V[t](n._strict,n._locale):new RegExp(vt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,i,e,r){return n||i||e||r}))))}function vt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}V={};var pt={};function gt(t,n){var i,e,r=n;for("string"==typeof t&&(t=[t]),h(n)&&(r=function(t,i){i[n]=$(t)}),e=t.length,i=0;i<e;i++)pt[t[i]]=r}function wt(t,n){gt(t,(function(t,i,e,r){e._w=e._w||{},n(t,e._w,e,r)}))}function yt(t,n,i){null!=n&&o(pt,t)&&pt[t](n,i._a,i,t)}var Dt,Yt=0,Mt=1,bt=2,St=3,Nt=4,kt=5,xt=6,Ct=7,Tt=8;function Gt(t,n){if(isNaN(t)||isNaN(n))return NaN;var i,e=(n%(i=12)+i)%i;return t+=(n-e)/12,1===e?Z(t)?29:28:31-e%7%2}Dt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n<this.length;++n)if(this[n]===t)return n;return-1},E("M",["MM",2],"Mo",(function(){return this.month()+1})),E("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),E("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),P("month","M"),O("month",8),ft("M",it),ft("MM",it,X),ft("MMM",(function(t,n){return n.monthsShortRegex(t)})),ft("MMMM",(function(t,n){return n.monthsRegex(t)})),gt(["M","MM"],(function(t,n){n[Mt]=$(t)-1})),gt(["MMM","MMMM"],(function(t,n,i,e){var r=i._locale.monthsParse(t,e,i._strict);null!=r?n[Mt]=r:m(i).invalidMonth=t}));var Ht="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),It="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),_t=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Wt=lt,Et=lt;function Lt(t,n,i){var e,r,s,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],e=0;e<12;++e)s=f([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===n?-1!==(r=Dt.call(this._shortMonthsParse,o))?r:null:-1!==(r=Dt.call(this._longMonthsParse,o))?r:null:"MMM"===n?-1!==(r=Dt.call(this._shortMonthsParse,o))||-1!==(r=Dt.call(this._longMonthsParse,o))?r:null:-1!==(r=Dt.call(this._longMonthsParse,o))||-1!==(r=Dt.call(this._shortMonthsParse,o))?r:null}function At(t,n){var i;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=$(n);else if(!h(n=t.localeData().monthsParse(n)))return t;return i=Math.min(t.date(),Gt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,i),t}function Ut(t){return null!=t?(At(this,t),e.updateOffset(this,!0),this):q(this,"Month")}function Pt(){function t(t,n){return n.length-t.length}var n,i,e=[],r=[],s=[];for(n=0;n<12;n++)i=f([2e3,n]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),s.sort(t),n=0;n<12;n++)e[n]=vt(e[n]),r[n]=vt(r[n]);for(n=0;n<24;n++)s[n]=vt(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Ft(t){return Z(t)?366:365}E("Y",0,0,(function(){var t=this.year();return t<=9999?G(t,4):"+"+t})),E(0,["YY",2],0,(function(){return this.year()%100})),E(0,["YYYY",4],0,"year"),E(0,["YYYYY",5],0,"year"),E(0,["YYYYYY",6,!0],0,"year"),P("year","y"),O("year",1),ft("Y",ht),ft("YY",it,X),ft("YYYY",ot,tt),ft("YYYYY",at,nt),ft("YYYYYY",at,nt),gt(["YYYYY","YYYYYY"],Yt),gt("YYYY",(function(t,n){n[Yt]=2===t.length?e.parseTwoDigitYear(t):$(t)})),gt("YY",(function(t,n){n[Yt]=e.parseTwoDigitYear(t)})),gt("Y",(function(t,n){n[Yt]=parseInt(t,10)})),e.parseTwoDigitYear=function(t){return $(t)+($(t)>68?1900:2e3)};var Rt=z("FullYear",!0);function jt(t,n,i,e,r,s,o){var a;return t<100&&t>=0?(a=new Date(t+400,n,i,e,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,n,i,e,r,s,o),a}function Ot(t){var n,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,i)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function Zt(t,n,i){var e=7+n-i;return-(7+Ot(t,0,e).getUTCDay()-n)%7+e-1}function Bt(t,n,i,e,r){var s,o,a=1+7*(n-1)+(7+i-e)%7+Zt(t,e,r);return a<=0?o=Ft(s=t-1)+a:a>Ft(t)?(s=t+1,o=a-Ft(t)):(s=t,o=a),{year:s,dayOfYear:o}}function $t(t,n,i){var e,r,s=Zt(t.year(),n,i),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?e=o+zt(r=t.year()-1,n,i):o>zt(t.year(),n,i)?(e=o-zt(t.year(),n,i),r=t.year()+1):(r=t.year(),e=o),{week:e,year:r}}function zt(t,n,i){var e=Zt(t,n,i),r=Zt(t+1,n,i);return(Ft(t)-e+r)/7}E("w",["ww",2],"wo","week"),E("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),O("week",5),O("isoWeek",5),ft("w",it),ft("ww",it,X),ft("W",it),ft("WW",it,X),wt(["w","ww","W","WW"],(function(t,n,i,e){n[e.substr(0,1)]=$(t)}));function qt(t,n){return t.slice(n,7).concat(t.slice(0,n))}E("d",0,"do","day"),E("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),E("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),E("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),E("e",0,0,"weekday"),E("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),O("day",11),O("weekday",11),O("isoWeekday",11),ft("d",it),ft("e",it),ft("E",it),ft("dd",(function(t,n){return n.weekdaysMinRegex(t)})),ft("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),ft("dddd",(function(t,n){return n.weekdaysRegex(t)})),wt(["dd","ddd","dddd"],(function(t,n,i,e){var r=i._locale.weekdaysParse(t,e,i._strict);null!=r?n.d=r:m(i).invalidWeekday=t})),wt(["d","e","E"],(function(t,n,i,e){n[e]=$(t)}));var Jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Vt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xt=lt,Kt=lt,tn=lt;function nn(t,n,i){var e,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e)s=f([2e3,1]).day(e),this._minWeekdaysParse[e]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===n?-1!==(r=Dt.call(this._weekdaysParse,o))?r:null:"ddd"===n?-1!==(r=Dt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=Dt.call(this._minWeekdaysParse,o))?r:null:"dddd"===n?-1!==(r=Dt.call(this._weekdaysParse,o))||-1!==(r=Dt.call(this._shortWeekdaysParse,o))||-1!==(r=Dt.call(this._minWeekdaysParse,o))?r:null:"ddd"===n?-1!==(r=Dt.call(this._shortWeekdaysParse,o))||-1!==(r=Dt.call(this._weekdaysParse,o))||-1!==(r=Dt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=Dt.call(this._minWeekdaysParse,o))||-1!==(r=Dt.call(this._weekdaysParse,o))||-1!==(r=Dt.call(this._shortWeekdaysParse,o))?r:null}function en(){function t(t,n){return n.length-t.length}var n,i,e,r,s,o=[],a=[],u=[],h=[];for(n=0;n<7;n++)i=f([2e3,1]).day(n),e=vt(this.weekdaysMin(i,"")),r=vt(this.weekdaysShort(i,"")),s=vt(this.weekdays(i,"")),o.push(e),a.push(r),u.push(s),h.push(e),h.push(r),h.push(s);o.sort(t),a.sort(t),u.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function rn(){return this.hours()%12||12}function sn(t,n){E(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function on(t,n){return n._meridiemParse}E("H",["HH",2],0,"hour"),E("h",["hh",2],0,rn),E("k",["kk",2],0,(function(){return this.hours()||24})),E("hmm",0,0,(function(){return""+rn.apply(this)+G(this.minutes(),2)})),E("hmmss",0,0,(function(){return""+rn.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)})),E("Hmm",0,0,(function(){return""+this.hours()+G(this.minutes(),2)})),E("Hmmss",0,0,(function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)})),sn("a",!0),sn("A",!1),P("hour","h"),O("hour",13),ft("a",on),ft("A",on),ft("H",it),ft("h",it),ft("k",it),ft("HH",it,X),ft("hh",it,X),ft("kk",it,X),ft("hmm",et),ft("hmmss",rt),ft("Hmm",et),ft("Hmmss",rt),gt(["H","HH"],St),gt(["k","kk"],(function(t,n){var i=$(t);n[St]=24===i?0:i})),gt(["a","A"],(function(t,n,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),gt(["h","hh"],(function(t,n,i){n[St]=$(t),m(i).bigHour=!0})),gt("hmm",(function(t,n,i){var e=t.length-2;n[St]=$(t.substr(0,e)),n[Nt]=$(t.substr(e)),m(i).bigHour=!0})),gt("hmmss",(function(t,n,i){var e=t.length-4,r=t.length-2;n[St]=$(t.substr(0,e)),n[Nt]=$(t.substr(e,2)),n[kt]=$(t.substr(r)),m(i).bigHour=!0})),gt("Hmm",(function(t,n){var i=t.length-2;n[St]=$(t.substr(0,i)),n[Nt]=$(t.substr(i))})),gt("Hmmss",(function(t,n){var i=t.length-4,e=t.length-2;n[St]=$(t.substr(0,i)),n[Nt]=$(t.substr(i,2)),n[kt]=$(t.substr(e))}));var an=z("Hours",!0);var un,hn={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Ht,monthsShort:It,week:{dow:0,doy:6},weekdays:Jt,weekdaysMin:Qt,weekdaysShort:Vt,meridiemParse:/[ap]\.?m?\.?/i},dn={},cn={};function ln(t,n){var i,e=Math.min(t.length,n.length);for(i=0;i<e;i+=1)if(t[i]!==n[i])return i;return e}function fn(t){return t?t.toLowerCase().replace("_","-"):t}function mn(n){var i=null;if(void 0===dn[n]&&t&&t.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(n))try{i=un._abbr,function(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}("./locale/"+n),vn(i)}catch(t){dn[n]=null}return dn[n]}function vn(t,n){var i;return t&&((i=u(n)?gn(t):pn(t,n))?un=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),un._abbr}function pn(t,n){if(null!==n){var i,e=hn;if(n.abbr=t,null!=dn[t])k("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."),e=dn[t]._config;else if(null!=n.parentLocale)if(null!=dn[n.parentLocale])e=dn[n.parentLocale]._config;else{if(null==(i=mn(n.parentLocale)))return cn[n.parentLocale]||(cn[n.parentLocale]=[]),cn[n.parentLocale].push({name:t,config:n}),null;e=i._config}return dn[t]=new T(C(e,n)),cn[t]&&cn[t].forEach((function(t){pn(t.name,t.config)})),vn(t),dn[t]}return delete dn[t],null}function gn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return un;if(!r(t)){if(n=mn(t))return n;t=[t]}return function(t){for(var n,i,e,r,s=0;s<t.length;){for(n=(r=fn(t[s]).split("-")).length,i=(i=fn(t[s+1]))?i.split("-"):null;n>0;){if(e=mn(r.slice(0,n).join("-")))return e;if(i&&i.length>=n&&ln(r,i)>=n-1)break;n--}s++}return un}(t)}function wn(t){var n,i=t._a;return i&&-2===m(t).overflow&&(n=i[Mt]<0||i[Mt]>11?Mt:i[bt]<1||i[bt]>Gt(i[Yt],i[Mt])?bt:i[St]<0||i[St]>24||24===i[St]&&(0!==i[Nt]||0!==i[kt]||0!==i[xt])?St:i[Nt]<0||i[Nt]>59?Nt:i[kt]<0||i[kt]>59?kt:i[xt]<0||i[xt]>999?xt:-1,m(t)._overflowDayOfYear&&(n<Yt||n>bt)&&(n=bt),m(t)._overflowWeeks&&-1===n&&(n=Ct),m(t)._overflowWeekday&&-1===n&&(n=Tt),m(t).overflow=n),t}var yn=/^\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)?)?$/,Dn=/^\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)?)?$/,Yn=/Z|[+-]\d\d(?::?\d\d)?/,Mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],bn=[["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/]],Sn=/^\/?Date\((-?\d+)/i,Nn=/^(?:(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}))$/,kn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xn(t){var n,i,e,r,s,o,a=t._i,u=yn.exec(a)||Dn.exec(a),h=Mn.length,d=bn.length;if(u){for(m(t).iso=!0,n=0,i=h;n<i;n++)if(Mn[n][1].exec(u[1])){r=Mn[n][0],e=!1!==Mn[n][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(n=0,i=d;n<i;n++)if(bn[n][1].exec(u[3])){s=(u[2]||" ")+bn[n][0];break}if(null==s)return void(t._isValid=!1)}if(!e&&null!=s)return void(t._isValid=!1);if(u[4]){if(!Yn.exec(u[4]))return void(t._isValid=!1);o="Z"}t._f=r+(s||"")+(o||""),In(t)}else t._isValid=!1}function Cn(t){var n=parseInt(t,10);return n<=49?2e3+n:n<=999?1900+n:n}function Tn(t){var n,i,e,r,s,o,a,u=Nn.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(u){if(i=u[3],e=u[2],r=u[5],s=u[6],o=u[7],a=[Cn(u[4]),It.indexOf(i),parseInt(e,10),parseInt(r,10),parseInt(s,10)],o&&a.push(parseInt(o,10)),!function(t,n,i){return!t||Vt.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(m(i).weekdayMismatch=!0,i._isValid=!1,!1)}(u[1],n=a,t))return;t._a=n,t._tzm=function(t,n,i){if(t)return kn[t];if(n)return 0;var e=parseInt(i,10),r=e%100;return(e-r)/100*60+r}(u[8],u[9],u[10]),t._d=Ot.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),m(t).rfc2822=!0}else t._isValid=!1}function Gn(t,n,i){return null!=t?t:null!=n?n:i}function Hn(t){var n,i,r,s,o,a=[];if(!t._d){for(r=function(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[bt]&&null==t._a[Mt]&&function(t){var n,i,e,r,s,o,a,u,h;null!=(n=t._w).GG||null!=n.W||null!=n.E?(s=1,o=4,i=Gn(n.GG,t._a[Yt],$t(En(),1,4).year),e=Gn(n.W,1),((r=Gn(n.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,o=t._locale._week.doy,h=$t(En(),s,o),i=Gn(n.gg,t._a[Yt],h.year),e=Gn(n.w,h.week),null!=n.d?((r=n.d)<0||r>6)&&(u=!0):null!=n.e?(r=n.e+s,(n.e<0||n.e>6)&&(u=!0)):r=s),e<1||e>zt(i,s,o)?m(t)._overflowWeeks=!0:null!=u?m(t)._overflowWeekday=!0:(a=Bt(i,e,r,s,o),t._a[Yt]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(o=Gn(t._a[Yt],r[Yt]),(t._dayOfYear>Ft(o)||0===t._dayOfYear)&&(m(t)._overflowDayOfYear=!0),i=Ot(o,0,t._dayOfYear),t._a[Mt]=i.getUTCMonth(),t._a[bt]=i.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=a[n]=r[n];for(;n<7;n++)t._a[n]=a[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[St]&&0===t._a[Nt]&&0===t._a[kt]&&0===t._a[xt]&&(t._nextDay=!0,t._a[St]=0),t._d=(t._useUTC?Ot:jt).apply(null,a),s=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[St]=24),t._w&&void 0!==t._w.d&&t._w.d!==s&&(m(t).weekdayMismatch=!0)}}function In(t){if(t._f!==e.ISO_8601)if(t._f!==e.RFC_2822){t._a=[],m(t).empty=!0;var n,i,r,s,o,a,u,h=""+t._i,d=h.length,c=0;for(u=(r=A(t._f,t._locale).match(H)||[]).length,n=0;n<u;n++)(i=(h.match(mt(s=r[n],t))||[])[0])&&((o=h.substr(0,h.indexOf(i))).length>0&&m(t).unusedInput.push(o),h=h.slice(h.indexOf(i)+i.length),c+=i.length),W[s]?(i?m(t).empty=!1:m(t).unusedTokens.push(s),yt(s,i,t)):t._strict&&!i&&m(t).unusedTokens.push(s);m(t).charsLeftOver=d-c,h.length>0&&m(t).unusedInput.push(h),t._a[St]<=12&&!0===m(t).bigHour&&t._a[St]>0&&(m(t).bigHour=void 0),m(t).parsedDateParts=t._a.slice(0),m(t).meridiem=t._meridiem,t._a[St]=function(t,n,i){var e;return null==i?n:null!=t.meridiemHour?t.meridiemHour(n,i):null!=t.isPM?((e=t.isPM(i))&&n<12&&(n+=12),e||12!==n||(n=0),n):n}(t._locale,t._a[St],t._meridiem),null!==(a=m(t).era)&&(t._a[Yt]=t._locale.erasConvertYear(a,t._a[Yt])),Hn(t),wn(t)}else Tn(t);else xn(t)}function _n(t){var n=t._i,i=t._f;return t._locale=t._locale||gn(t._l),null===n||void 0===i&&""===n?p({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),Y(n)?new D(wn(n)):(d(n)?t._d=n:r(i)?function(t){var n,i,e,r,s,o,a=!1,u=t._f.length;if(0===u)return m(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,o=!1,n=y({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],In(n),v(n)&&(o=!0),s+=m(n).charsLeftOver,s+=10*m(n).unusedTokens.length,m(n).score=s,a?s<e&&(e=s,i=n):(null==e||s<e||o)&&(e=s,i=n,o&&(a=!0));l(t,i||n)}(t):i?In(t):function(t){var n=t._i;u(n)?t._d=new Date(e.now()):d(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=Sn.exec(t._i);null===n?(xn(t),!1===t._isValid&&(delete t._isValid,Tn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:e.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):r(n)?(t._a=c(n.slice(0),(function(t){return parseInt(t,10)})),Hn(t)):s(n)?function(t){if(!t._d){var n=R(t._i);t._a=c([n.year,n.month,void 0===n.day?n.date:n.day,n.hour,n.minute,n.second,n.millisecond],(function(t){return t&&parseInt(t,10)})),Hn(t)}}(t):h(n)?t._d=new Date(n):e.createFromInputFallback(t)}(t),v(t)||(t._d=null),t))}function Wn(t,n,i,e,o){var u,h={};return!0!==n&&!1!==n||(e=n,n=void 0),!0!==i&&!1!==i||(e=i,i=void 0),(s(t)&&a(t)||r(t)&&0===t.length)&&(t=void 0),h._isAMomentObject=!0,h._useUTC=h._isUTC=o,h._l=i,h._i=t,h._f=n,h._strict=e,(u=new D(wn(_n(h))))._nextDay&&(u.add(1,"d"),u._nextDay=void 0),u}function En(t,n,i,e){return Wn(t,n,i,e,!1)}e.createFromInputFallback=b("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),e.ISO_8601=function(){},e.RFC_2822=function(){};var Ln=b("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=En.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:p()})),An=b("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=En.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:p()}));function Un(t,n){var i,e;if(1===n.length&&r(n[0])&&(n=n[0]),!n.length)return En();for(i=n[0],e=1;e<n.length;++e)n[e].isValid()&&!n[e][t](i)||(i=n[e]);return i}var Pn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Fn(t){var n=R(t),i=n.year||0,e=n.quarter||0,r=n.month||0,s=n.week||n.isoWeek||0,a=n.day||0,u=n.hour||0,h=n.minute||0,d=n.second||0,c=n.millisecond||0;this._isValid=function(t){var n,i,e=!1,r=Pn.length;for(n in t)if(o(t,n)&&(-1===Dt.call(Pn,n)||null!=t[n]&&isNaN(t[n])))return!1;for(i=0;i<r;++i)if(t[Pn[i]]){if(e)return!1;parseFloat(t[Pn[i]])!==$(t[Pn[i]])&&(e=!0)}return!0}(n),this._milliseconds=+c+1e3*d+6e4*h+1e3*u*60*60,this._days=+a+7*s,this._months=+r+3*e+12*i,this._data={},this._locale=gn(),this._bubble()}function Rn(t){return t instanceof Fn}function jn(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function On(t,n){E(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+G(~~(t/60),2)+n+G(~~t%60,2)}))}On("Z",":"),On("ZZ",""),ft("Z",ct),ft("ZZ",ct),gt(["Z","ZZ"],(function(t,n,i){i._useUTC=!0,i._tzm=Bn(ct,t)}));var Zn=/([\+\-]|\d\d)/gi;function Bn(t,n){var i,e,r=(n||"").match(t);return null===r?null:0===(e=60*(i=((r[r.length-1]||[])+"").match(Zn)||["-",0,0])[1]+$(i[2]))?0:"+"===i[0]?e:-e}function $n(t,n){var i,r;return n._isUTC?(i=n.clone(),r=(Y(t)||d(t)?t.valueOf():En(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),e.updateOffset(i,!1),i):En(t).local()}function zn(t){return-Math.round(t._d.getTimezoneOffset())}function qn(){return!!this.isValid()&&this._isUTC&&0===this._offset}e.updateOffset=function(){};var Jn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Qn(t,n){var i,e,r,s,a,u,d=t,c=null;return Rn(t)?d={ms:t._milliseconds,d:t._days,M:t._months}:h(t)||!isNaN(+t)?(d={},n?d[n]=+t:d.milliseconds=+t):(c=Jn.exec(t))?(i="-"===c[1]?-1:1,d={y:0,d:$(c[bt])*i,h:$(c[St])*i,m:$(c[Nt])*i,s:$(c[kt])*i,ms:$(jn(1e3*c[xt]))*i}):(c=Vn.exec(t))?d={y:Xn(c[2],i="-"===c[1]?-1:1),M:Xn(c[3],i),w:Xn(c[4],i),d:Xn(c[5],i),h:Xn(c[6],i),m:Xn(c[7],i),s:Xn(c[8],i)}:null==d?d={}:"object"==typeof d&&("from"in d||"to"in d)&&(s=En(d.from),a=En(d.to),r=s.isValid()&&a.isValid()?(a=$n(a,s),s.isBefore(a)?u=Kn(s,a):((u=Kn(a,s)).milliseconds=-u.milliseconds,u.months=-u.months),u):{milliseconds:0,months:0},(d={}).ms=r.milliseconds,d.M=r.months),e=new Fn(d),Rn(t)&&o(t,"_locale")&&(e._locale=t._locale),Rn(t)&&o(t,"_isValid")&&(e._isValid=t._isValid),e}function Xn(t,n){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*n}function Kn(t,n){var i={};return i.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(i.months,"M").isAfter(n)&&--i.months,i.milliseconds=+n-+t.clone().add(i.months,"M"),i}function ti(t,n){return function(i,e){var r;return null===e||isNaN(+e)||(k(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=e,e=r),ni(this,Qn(i,e),t),this}}function ni(t,n,i,r){var s=n._milliseconds,o=jn(n._days),a=jn(n._months);t.isValid()&&(r=null==r||r,a&&At(t,q(t,"Month")+a*i),o&&J(t,"Date",q(t,"Date")+o*i),s&&t._d.setTime(t._d.valueOf()+s*i),r&&e.updateOffset(t,o||a))}Qn.fn=Fn.prototype,Qn.invalid=function(){return Qn(NaN)};var ii=ti(1,"add"),ei=ti(-1,"subtract");function ri(t){return"string"==typeof t||t instanceof String}function si(t){return Y(t)||d(t)||ri(t)||h(t)||function(t){var n=r(t),i=!1;return n&&(i=0===t.filter((function(n){return!h(n)&&ri(t)})).length),n&&i}(t)||function(t){var n,i=s(t)&&!a(t),e=!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"],u=r.length;for(n=0;n<u;n+=1)e=e||o(t,r[n]);return i&&e}(t)||null==t}function oi(t,n){if(t.date()<n.date())return-oi(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),e=t.clone().add(i,"months");return-(i+(n-e<0?(n-e)/(e-t.clone().add(i-1,"months")):(n-e)/(t.clone().add(i+1,"months")-e)))||0}function ai(t){var n;return void 0===t?this._locale._abbr:(null!=(n=gn(t))&&(this._locale=n),this)}e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ui=b("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function hi(){return this._locale}var di=1e3,ci=6e4,li=36e5,fi=126227808e5;function mi(t,n){return(t%n+n)%n}function vi(t,n,i){return t<100&&t>=0?new Date(t+400,n,i)-fi:new Date(t,n,i).valueOf()}function pi(t,n,i){return t<100&&t>=0?Date.UTC(t+400,n,i)-fi:Date.UTC(t,n,i)}function gi(t,n){return n.erasAbbrRegex(t)}function wi(){var t,n,i=[],e=[],r=[],s=[],o=this.eras();for(t=0,n=o.length;t<n;++t)e.push(vt(o[t].name)),i.push(vt(o[t].abbr)),r.push(vt(o[t].narrow)),s.push(vt(o[t].name)),s.push(vt(o[t].abbr)),s.push(vt(o[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function yi(t,n){E(0,[t,t.length],0,n)}function Di(t,n,i,e,r){var s;return null==t?$t(this,e,r).year:(n>(s=zt(t,e,r))&&(n=s),Yi.call(this,t,n,i,e,r))}function Yi(t,n,i,e,r){var s=Bt(t,n,i,e,r),o=Ot(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}E("N",0,0,"eraAbbr"),E("NN",0,0,"eraAbbr"),E("NNN",0,0,"eraAbbr"),E("NNNN",0,0,"eraName"),E("NNNNN",0,0,"eraNarrow"),E("y",["y",1],"yo","eraYear"),E("y",["yy",2],0,"eraYear"),E("y",["yyy",3],0,"eraYear"),E("y",["yyyy",4],0,"eraYear"),ft("N",gi),ft("NN",gi),ft("NNN",gi),ft("NNNN",(function(t,n){return n.erasNameRegex(t)})),ft("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),gt(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,i,e){var r=i._locale.erasParse(t,e,i._strict);r?m(i).era=r:m(i).invalidEra=t})),ft("y",ut),ft("yy",ut),ft("yyy",ut),ft("yyyy",ut),ft("yo",(function(t,n){return n._eraYearOrdinalRegex||ut})),gt(["y","yy","yyy","yyyy"],Yt),gt(["yo"],(function(t,n,i){var e;i._locale._eraYearOrdinalRegex&&(e=t.match(i._locale._eraYearOrdinalRegex)),n[Yt]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,e):parseInt(t,10)})),E(0,["gg",2],0,(function(){return this.weekYear()%100})),E(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),yi("gggg","weekYear"),yi("ggggg","weekYear"),yi("GGGG","isoWeekYear"),yi("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),O("weekYear",1),O("isoWeekYear",1),ft("G",ht),ft("g",ht),ft("GG",it,X),ft("gg",it,X),ft("GGGG",ot,tt),ft("gggg",ot,tt),ft("GGGGG",at,nt),ft("ggggg",at,nt),wt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,i,e){n[e.substr(0,2)]=$(t)})),wt(["gg","GG"],(function(t,n,i,r){n[r]=e.parseTwoDigitYear(t)})),E("Q",0,"Qo","quarter"),P("quarter","Q"),O("quarter",7),ft("Q",Q),gt("Q",(function(t,n){n[Mt]=3*($(t)-1)})),E("D",["DD",2],"Do","date"),P("date","D"),O("date",9),ft("D",it),ft("DD",it,X),ft("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),gt(["D","DD"],bt),gt("Do",(function(t,n){n[bt]=$(t.match(it)[0])}));var Mi=z("Date",!0);E("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),O("dayOfYear",4),ft("DDD",st),ft("DDDD",K),gt(["DDD","DDDD"],(function(t,n,i){i._dayOfYear=$(t)})),E("m",["mm",2],0,"minute"),P("minute","m"),O("minute",14),ft("m",it),ft("mm",it,X),gt(["m","mm"],Nt);var bi=z("Minutes",!1);E("s",["ss",2],0,"second"),P("second","s"),O("second",15),ft("s",it),ft("ss",it,X),gt(["s","ss"],kt);var Si,Ni,ki=z("Seconds",!1);for(E("S",0,0,(function(){return~~(this.millisecond()/100)})),E(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),E(0,["SSS",3],0,"millisecond"),E(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),E(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),E(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),E(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),E(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),E(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),P("millisecond","ms"),O("millisecond",16),ft("S",st,Q),ft("SS",st,X),ft("SSS",st,K),Si="SSSS";Si.length<=9;Si+="S")ft(Si,ut);function xi(t,n){n[xt]=$(1e3*("0."+t))}for(Si="S";Si.length<=9;Si+="S")gt(Si,xi);Ni=z("Milliseconds",!1),E("z",0,0,"zoneAbbr"),E("zz",0,0,"zoneName");var Ci=D.prototype;function Ti(t){return t}Ci.add=ii,Ci.calendar=function(t,n){1===arguments.length&&(arguments[0]?si(arguments[0])?(t=arguments[0],n=void 0):function(t){var n,i=s(t)&&!a(t),e=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<r.length;n+=1)e=e||o(t,r[n]);return i&&e}(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var i=t||En(),r=$n(i,this).startOf("day"),u=e.calendarFormat(this,r)||"sameElse",h=n&&(x(n[u])?n[u].call(this,i):n[u]);return this.format(h||this.localeData().calendar(u,this,En(i)))},Ci.clone=function(){return new D(this)},Ci.diff=function(t,n,i){var e,r,s;if(!this.isValid())return NaN;if(!(e=$n(t,this)).isValid())return NaN;switch(r=6e4*(e.utcOffset()-this.utcOffset()),n=F(n)){case"year":s=oi(this,e)/12;break;case"month":s=oi(this,e);break;case"quarter":s=oi(this,e)/3;break;case"second":s=(this-e)/1e3;break;case"minute":s=(this-e)/6e4;break;case"hour":s=(this-e)/36e5;break;case"day":s=(this-e-r)/864e5;break;case"week":s=(this-e-r)/6048e5;break;default:s=this-e}return i?s:B(s)},Ci.endOf=function(t){var n,i;if(void 0===(t=F(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?pi:vi,t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=li-mi(n+(this._isUTC?0:this.utcOffset()*ci),li)-1;break;case"minute":n=this._d.valueOf(),n+=ci-mi(n,ci)-1;break;case"second":n=this._d.valueOf(),n+=di-mi(n,di)-1}return this._d.setTime(n),e.updateOffset(this,!0),this},Ci.format=function(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=L(this,t);return this.localeData().postformat(n)},Ci.from=function(t,n){return this.isValid()&&(Y(t)&&t.isValid()||En(t).isValid())?Qn({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Ci.fromNow=function(t){return this.from(En(),t)},Ci.to=function(t,n){return this.isValid()&&(Y(t)&&t.isValid()||En(t).isValid())?Qn({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Ci.toNow=function(t){return this.to(En(),t)},Ci.get=function(t){return x(this[t=F(t)])?this[t]():this},Ci.invalidAt=function(){return m(this).overflow},Ci.isAfter=function(t,n){var i=Y(t)?t:En(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=F(n)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(n).valueOf())},Ci.isBefore=function(t,n){var i=Y(t)?t:En(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=F(n)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(n).valueOf()<i.valueOf())},Ci.isBetween=function(t,n,i,e){var r=Y(t)?t:En(t),s=Y(n)?n:En(n);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(e=e||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===e[1]?this.isBefore(s,i):!this.isAfter(s,i))},Ci.isSame=function(t,n){var i,e=Y(t)?t:En(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=F(n)||"millisecond")?this.valueOf()===e.valueOf():(i=e.valueOf(),this.clone().startOf(n).valueOf()<=i&&i<=this.clone().endOf(n).valueOf()))},Ci.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},Ci.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},Ci.isValid=function(){return v(this)},Ci.lang=ui,Ci.locale=ai,Ci.localeData=hi,Ci.max=An,Ci.min=Ln,Ci.parsingFlags=function(){return l({},m(this))},Ci.set=function(t,n){if("object"==typeof t){var i,e=function(t){var n,i=[];for(n in t)o(t,n)&&i.push({unit:n,priority:j[n]});return i.sort((function(t,n){return t.priority-n.priority})),i}(t=R(t)),r=e.length;for(i=0;i<r;i++)this[e[i].unit](t[e[i].unit])}else if(x(this[t=F(t)]))return this[t](n);return this},Ci.startOf=function(t){var n,i;if(void 0===(t=F(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?pi:vi,t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=mi(n+(this._isUTC?0:this.utcOffset()*ci),li);break;case"minute":n=this._d.valueOf(),n-=mi(n,ci);break;case"second":n=this._d.valueOf(),n-=mi(n,di)}return this._d.setTime(n),e.updateOffset(this,!0),this},Ci.subtract=ei,Ci.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Ci.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},Ci.toDate=function(){return new Date(this.valueOf())},Ci.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,i=n?this.clone().utc():this;return i.year()<0||i.year()>9999?L(i,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",L(i,"Z")):L(i,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ci.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,i="moment",e="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),t="["+i+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(Ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Ci.toJSON=function(){return this.isValid()?this.toISOString():null},Ci.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ci.unix=function(){return Math.floor(this.valueOf()/1e3)},Ci.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ci.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ci.eraName=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].name;if(e[t].until<=i&&i<=e[t].since)return e[t].name}return""},Ci.eraNarrow=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].narrow;if(e[t].until<=i&&i<=e[t].since)return e[t].narrow}return""},Ci.eraAbbr=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].abbr;if(e[t].until<=i&&i<=e[t].since)return e[t].abbr}return""},Ci.eraYear=function(){var t,n,i,r,s=this.localeData().eras();for(t=0,n=s.length;t<n;++t)if(i=s[t].since<=s[t].until?1:-1,r=this.clone().startOf("day").valueOf(),s[t].since<=r&&r<=s[t].until||s[t].until<=r&&r<=s[t].since)return(this.year()-e(s[t].since).year())*i+s[t].offset;return this.year()},Ci.year=Rt,Ci.isLeapYear=function(){return Z(this.year())},Ci.weekYear=function(t){return Di.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ci.isoWeekYear=function(t){return Di.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Ci.quarter=Ci.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Ci.month=Ut,Ci.daysInMonth=function(){return Gt(this.year(),this.month())},Ci.week=Ci.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},Ci.isoWeek=Ci.isoWeeks=function(t){var n=$t(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},Ci.weeksInYear=function(){var t=this.localeData()._week;return zt(this.year(),t.dow,t.doy)},Ci.weeksInWeekYear=function(){var t=this.localeData()._week;return zt(this.weekYear(),t.dow,t.doy)},Ci.isoWeeksInYear=function(){return zt(this.year(),1,4)},Ci.isoWeeksInISOWeekYear=function(){return zt(this.isoWeekYear(),1,4)},Ci.date=Mi,Ci.day=Ci.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,n){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-n,"d")):n},Ci.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,"d")},Ci.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=function(t,n){return"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},Ci.dayOfYear=function(t){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?n:this.add(t-n,"d")},Ci.hour=Ci.hours=an,Ci.minute=Ci.minutes=bi,Ci.second=Ci.seconds=ki,Ci.millisecond=Ci.milliseconds=Ni,Ci.utcOffset=function(t,n,i){var r,s=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Bn(ct,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(r=zn(this)),this._offset=t,this._isUTC=!0,null!=r&&this.add(r,"m"),s!==t&&(!n||this._changeInProgress?ni(this,Qn(t-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?s:zn(this)},Ci.utc=function(t){return this.utcOffset(0,t)},Ci.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(zn(this),"m")),this},Ci.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Bn(dt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Ci.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?En(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Ci.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ci.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ci.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ci.isUtc=qn,Ci.isUTC=qn,Ci.zoneAbbr=function(){return this._isUTC?"UTC":""},Ci.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ci.dates=b("dates accessor is deprecated. Use date instead.",Mi),Ci.months=b("months accessor is deprecated. Use month instead",Ut),Ci.years=b("years accessor is deprecated. Use year instead",Rt),Ci.zone=b("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,n){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()})),Ci.isDSTShifted=b("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var t,n={};return y(n,this),(n=_n(n))._a?(t=n._isUTC?f(n._a):En(n._a),this._isDSTShifted=this.isValid()&&function(t,n,i){var e,r=Math.min(t.length,n.length),s=Math.abs(t.length-n.length),o=0;for(e=0;e<r;e++)(i&&t[e]!==n[e]||!i&&$(t[e])!==$(n[e]))&&o++;return o+s}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Gi=T.prototype;function Hi(t,n,i,e){var r=gn(),s=f().set(e,n);return r[i](s,t)}function Ii(t,n,i){if(h(t)&&(n=t,t=void 0),t=t||"",null!=n)return Hi(t,n,i,"month");var e,r=[];for(e=0;e<12;e++)r[e]=Hi(t,e,i,"month");return r}function _i(t,n,i,e){"boolean"==typeof t?(h(n)&&(i=n,n=void 0),n=n||""):(i=n=t,t=!1,h(n)&&(i=n,n=void 0),n=n||"");var r,s=gn(),o=t?s._week.dow:0,a=[];if(null!=i)return Hi(n,(i+o)%7,e,"day");for(r=0;r<7;r++)a[r]=Hi(n,(r+o)%7,e,"day");return a}Gi.calendar=function(t,n,i){var e=this._calendar[t]||this._calendar.sameElse;return x(e)?e.call(n,i):e},Gi.longDateFormat=function(t){var n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.match(H).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Gi.invalidDate=function(){return this._invalidDate},Gi.ordinal=function(t){return this._ordinal.replace("%d",t)},Gi.preparse=Ti,Gi.postformat=Ti,Gi.relativeTime=function(t,n,i,e){var r=this._relativeTime[i];return x(r)?r(t,n,i,e):r.replace(/%d/i,t)},Gi.pastFuture=function(t,n){var i=this._relativeTime[t>0?"future":"past"];return x(i)?i(n):i.replace(/%s/i,n)},Gi.set=function(t){var n,i;for(i in t)o(t,i)&&(x(n=t[i])?this[i]=n:this["_"+i]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Gi.eras=function(){var t,n,i,r=this._eras||gn("en")._eras;for(t=0,n=r.length;t<n;++t)switch("string"==typeof r[t].since&&(i=e(r[t].since).startOf("day"),r[t].since=i.valueOf()),typeof r[t].until){case"undefined":r[t].until=1/0;break;case"string":i=e(r[t].until).startOf("day").valueOf(),r[t].until=i.valueOf()}return r},Gi.erasParse=function(t,n,i){var e,r,s,o,a,u=this.eras();for(t=t.toUpperCase(),e=0,r=u.length;e<r;++e)if(s=u[e].name.toUpperCase(),o=u[e].abbr.toUpperCase(),a=u[e].narrow.toUpperCase(),i)switch(n){case"N":case"NN":case"NNN":if(o===t)return u[e];break;case"NNNN":if(s===t)return u[e];break;case"NNNNN":if(a===t)return u[e]}else if([s,o,a].indexOf(t)>=0)return u[e]},Gi.erasConvertYear=function(t,n){var i=t.since<=t.until?1:-1;return void 0===n?e(t.since).year():e(t.since).year()+(n-t.offset)*i},Gi.erasAbbrRegex=function(t){return o(this,"_erasAbbrRegex")||wi.call(this),t?this._erasAbbrRegex:this._erasRegex},Gi.erasNameRegex=function(t){return o(this,"_erasNameRegex")||wi.call(this),t?this._erasNameRegex:this._erasRegex},Gi.erasNarrowRegex=function(t){return o(this,"_erasNarrowRegex")||wi.call(this),t?this._erasNarrowRegex:this._erasRegex},Gi.months=function(t,n){return t?r(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||_t).test(n)?"format":"standalone"][t.month()]:r(this._months)?this._months:this._months.standalone},Gi.monthsShort=function(t,n){return t?r(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[_t.test(n)?"format":"standalone"][t.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Gi.monthsParse=function(t,n,i){var e,r,s;if(this._monthsParseExact)return Lt.call(this,t,n,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(r=f([2e3,e]),i&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[e]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[e]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===n&&this._longMonthsParse[e].test(t))return e;if(i&&"MMM"===n&&this._shortMonthsParse[e].test(t))return e;if(!i&&this._monthsParse[e].test(t))return e}},Gi.monthsRegex=function(t){return this._monthsParseExact?(o(this,"_monthsRegex")||Pt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Gi.monthsShortRegex=function(t){return this._monthsParseExact?(o(this,"_monthsRegex")||Pt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=Wt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Gi.week=function(t){return $t(t,this._week.dow,this._week.doy).week},Gi.firstDayOfYear=function(){return this._week.doy},Gi.firstDayOfWeek=function(){return this._week.dow},Gi.weekdays=function(t,n){var i=r(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?qt(i,this._week.dow):t?i[t.day()]:i},Gi.weekdaysMin=function(t){return!0===t?qt(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Gi.weekdaysShort=function(t){return!0===t?qt(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Gi.weekdaysParse=function(t,n,i){var e,r,s;if(this._weekdaysParseExact)return nn.call(this,t,n,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(r=f([2e3,1]).day(e),i&&!this._fullWeekdaysParse[e]&&(this._fullWeekdaysParse[e]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[e]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[e]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[e]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[e]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===n&&this._fullWeekdaysParse[e].test(t))return e;if(i&&"ddd"===n&&this._shortWeekdaysParse[e].test(t))return e;if(i&&"dd"===n&&this._minWeekdaysParse[e].test(t))return e;if(!i&&this._weekdaysParse[e].test(t))return e}},Gi.weekdaysRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Xt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Gi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Kt),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Gi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||en.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=tn),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Gi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Gi.meridiem=function(t,n,i){return t>11?i?"pm":"PM":i?"am":"AM"},vn("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(t){var n=t%10;return t+(1===$(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),e.lang=b("moment.lang is deprecated. Use moment.locale instead.",vn),e.langData=b("moment.langData is deprecated. Use moment.localeData instead.",gn);var Wi=Math.abs;function Ei(t,n,i,e){var r=Qn(n,i);return t._milliseconds+=e*r._milliseconds,t._days+=e*r._days,t._months+=e*r._months,t._bubble()}function Li(t){return t<0?Math.floor(t):Math.ceil(t)}function Ai(t){return 4800*t/146097}function Ui(t){return 146097*t/4800}function Pi(t){return function(){return this.as(t)}}var Fi=Pi("ms"),Ri=Pi("s"),ji=Pi("m"),Oi=Pi("h"),Zi=Pi("d"),Bi=Pi("w"),$i=Pi("M"),zi=Pi("Q"),qi=Pi("y");function Ji(t){return function(){return this.isValid()?this._data[t]:NaN}}var Vi=Ji("milliseconds"),Qi=Ji("seconds"),Xi=Ji("minutes"),Ki=Ji("hours"),te=Ji("days"),ne=Ji("months"),ie=Ji("years");var ee=Math.round,re={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function se(t,n,i,e,r){return r.relativeTime(n||1,!!i,t,e)}var oe=Math.abs;function ae(t){return(t>0)-(t<0)||+t}function ue(){if(!this.isValid())return this.localeData().invalidDate();var t,n,i,e,r,s,o,a,u=oe(this._milliseconds)/1e3,h=oe(this._days),d=oe(this._months),c=this.asSeconds();return c?(t=B(u/60),n=B(t/60),u%=60,t%=60,i=B(d/12),d%=12,e=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=ae(this._months)!==ae(c)?"-":"",o=ae(this._days)!==ae(c)?"-":"",a=ae(this._milliseconds)!==ae(c)?"-":"",r+"P"+(i?s+i+"Y":"")+(d?s+d+"M":"")+(h?o+h+"D":"")+(n||t||u?"T":"")+(n?a+n+"H":"")+(t?a+t+"M":"")+(u?a+e+"S":"")):"P0D"}var he=Fn.prototype;return he.isValid=function(){return this._isValid},he.abs=function(){var t=this._data;return this._milliseconds=Wi(this._milliseconds),this._days=Wi(this._days),this._months=Wi(this._months),t.milliseconds=Wi(t.milliseconds),t.seconds=Wi(t.seconds),t.minutes=Wi(t.minutes),t.hours=Wi(t.hours),t.months=Wi(t.months),t.years=Wi(t.years),this},he.add=function(t,n){return Ei(this,t,n,1)},he.subtract=function(t,n){return Ei(this,t,n,-1)},he.as=function(t){if(!this.isValid())return NaN;var n,i,e=this._milliseconds;if("month"===(t=F(t))||"quarter"===t||"year"===t)switch(i=this._months+Ai(n=this._days+e/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(n=this._days+Math.round(Ui(this._months)),t){case"week":return n/7+e/6048e5;case"day":return n+e/864e5;case"hour":return 24*n+e/36e5;case"minute":return 1440*n+e/6e4;case"second":return 86400*n+e/1e3;case"millisecond":return Math.floor(864e5*n)+e;default:throw new Error("Unknown unit "+t)}},he.asMilliseconds=Fi,he.asSeconds=Ri,he.asMinutes=ji,he.asHours=Oi,he.asDays=Zi,he.asWeeks=Bi,he.asMonths=$i,he.asQuarters=zi,he.asYears=qi,he.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN},he._bubble=function(){var t,n,i,e,r,s=this._milliseconds,o=this._days,a=this._months,u=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Li(Ui(a)+o),o=0,a=0),u.milliseconds=s%1e3,t=B(s/1e3),u.seconds=t%60,n=B(t/60),u.minutes=n%60,i=B(n/60),u.hours=i%24,o+=B(i/24),a+=r=B(Ai(o)),o-=Li(Ui(r)),e=B(a/12),a%=12,u.days=o,u.months=a,u.years=e,this},he.clone=function(){return Qn(this)},he.get=function(t){return t=F(t),this.isValid()?this[t+"s"]():NaN},he.milliseconds=Vi,he.seconds=Qi,he.minutes=Xi,he.hours=Ki,he.days=te,he.weeks=function(){return B(this.days()/7)},he.months=ne,he.years=ie,he.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var i,e,r=!1,s=re;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},re,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),e=function(t,n,i,e){var r=Qn(t).abs(),s=ee(r.as("s")),o=ee(r.as("m")),a=ee(r.as("h")),u=ee(r.as("d")),h=ee(r.as("M")),d=ee(r.as("w")),c=ee(r.as("y")),l=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||o<=1&&["m"]||o<i.m&&["mm",o]||a<=1&&["h"]||a<i.h&&["hh",a]||u<=1&&["d"]||u<i.d&&["dd",u];return null!=i.w&&(l=l||d<=1&&["w"]||d<i.w&&["ww",d]),(l=l||h<=1&&["M"]||h<i.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=n,l[3]=+t>0,l[4]=e,se.apply(null,l)}(this,!r,s,i=this.localeData()),r&&(e=i.pastFuture(+this,e)),i.postformat(e)},he.toISOString=ue,he.toString=ue,he.toJSON=ue,he.locale=ai,he.localeData=hi,he.toIsoString=b("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ue),he.lang=ui,E("X",0,0,"unix"),E("x",0,0,"valueOf"),ft("x",ht),ft("X",/[+-]?\d+(\.\d{1,3})?/),gt("X",(function(t,n,i){i._d=new Date(1e3*parseFloat(t))})),gt("x",(function(t,n,i){i._d=new Date($(t))})),
2
+ //! moment.js
3
+ e.version="2.29.4",n=En,e.fn=Ci,e.min=function(){return Un("isBefore",[].slice.call(arguments,0))},e.max=function(){return Un("isAfter",[].slice.call(arguments,0))},e.now=function(){return Date.now?Date.now():+new Date},e.utc=f,e.unix=function(t){return En(1e3*t)},e.months=function(t,n){return Ii(t,n,"months")},e.isDate=d,e.locale=vn,e.invalid=p,e.duration=Qn,e.isMoment=Y,e.weekdays=function(t,n,i){return _i(t,n,i,"weekdays")},e.parseZone=function(){return En.apply(null,arguments).parseZone()},e.localeData=gn,e.isDuration=Rn,e.monthsShort=function(t,n){return Ii(t,n,"monthsShort")},e.weekdaysMin=function(t,n,i){return _i(t,n,i,"weekdaysMin")},e.defineLocale=pn,e.updateLocale=function(t,n){if(null!=n){var i,e,r=hn;null!=dn[t]&&null!=dn[t].parentLocale?dn[t].set(C(dn[t]._config,n)):(null!=(e=mn(t))&&(r=e._config),n=C(r,n),null==e&&(n.abbr=t),(i=new T(n)).parentLocale=dn[t],dn[t]=i),vn(t)}else null!=dn[t]&&(null!=dn[t].parentLocale?(dn[t]=dn[t].parentLocale,t===vn()&&vn(t)):null!=dn[t]&&delete dn[t]);return dn[t]},e.locales=function(){return S(dn)},e.weekdaysShort=function(t,n,i){return _i(t,n,i,"weekdaysShort")},e.normalizeUnits=F,e.relativeTimeRounding=function(t){return void 0===t?ee:"function"==typeof t&&(ee=t,!0)},e.relativeTimeThreshold=function(t,n){return void 0!==re[t]&&(void 0===n?re[t]:(re[t]=n,"s"===t&&(re.ss=n-1),!0))},e.calendarFormat=function(t,n){var i=t.diff(n,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},e.prototype=Ci,e.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"},e}()}(v);const p=v.exports;
4
+ //! moment.js
5
+ //! version : 2.29.4
6
+ //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
7
+ //! license : MIT
8
+ //! momentjs.com
9
+ var g,w;function y(){return g.apply(null,arguments)}function D(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function Y(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function M(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function b(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(M(t,n))return!1;return!0}function S(t){return void 0===t}function N(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function k(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function x(t,n){var i,e=[],r=t.length;for(i=0;i<r;++i)e.push(n(t[i],i));return e}function C(t,n){for(var i in n)M(n,i)&&(t[i]=n[i]);return M(n,"toString")&&(t.toString=n.toString),M(n,"valueOf")&&(t.valueOf=n.valueOf),t}function T(t,n,i,e){return Jn(t,n,i,e,!0).utc()}function G(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),t._pf}function H(t){if(null==t._isValid){var n=G(t),i=w.call(n.parsedDateParts,(function(t){return null!=t})),e=!isNaN(t._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&i);if(t._strict&&(e=e&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return e;t._isValid=e}return t._isValid}function I(t){var n=T(NaN);return null!=t?C(G(n),t):G(n).userInvalidated=!0,n}w=Array.prototype.some?Array.prototype.some:function(t){var n,i=Object(this),e=i.length>>>0;for(n=0;n<e;n++)if(n in i&&t.call(this,i[n],n,i))return!0;return!1};var _=y.momentProperties=[],W=!1;function E(t,n){var i,e,r,s=_.length;if(S(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),S(n._i)||(t._i=n._i),S(n._f)||(t._f=n._f),S(n._l)||(t._l=n._l),S(n._strict)||(t._strict=n._strict),S(n._tzm)||(t._tzm=n._tzm),S(n._isUTC)||(t._isUTC=n._isUTC),S(n._offset)||(t._offset=n._offset),S(n._pf)||(t._pf=G(n)),S(n._locale)||(t._locale=n._locale),s>0)for(i=0;i<s;i++)S(r=n[e=_[i]])||(t[e]=r);return t}function L(t){E(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===W&&(W=!0,y.updateOffset(this),W=!1)}function A(t){return t instanceof L||null!=t&&null!=t._isAMomentObject}function U(t){!1===y.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function P(t,n){var i=!0;return C((function(){if(null!=y.deprecationHandler&&y.deprecationHandler(null,t),i){var e,r,s,o=[],a=arguments.length;for(r=0;r<a;r++){if(e="","object"==typeof arguments[r]){for(s in e+="\n["+r+"] ",arguments[0])M(arguments[0],s)&&(e+=s+": "+arguments[0][s]+", ");e=e.slice(0,-2)}else e=arguments[r];o.push(e)}U(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)}),n)}var F,R={};function j(t,n){null!=y.deprecationHandler&&y.deprecationHandler(t,n),R[t]||(U(n),R[t]=!0)}function O(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function Z(t,n){var i,e=C({},t);for(i in n)M(n,i)&&(Y(t[i])&&Y(n[i])?(e[i]={},C(e[i],t[i]),C(e[i],n[i])):null!=n[i]?e[i]=n[i]:delete e[i]);for(i in t)M(t,i)&&!M(n,i)&&Y(t[i])&&(e[i]=C({},e[i]));return e}function B(t){null!=t&&this.set(t)}function $(t,n,i){var e=""+Math.abs(t);return(t>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,n-e.length)).toString().substr(1)+e}y.suppressDeprecationWarnings=!1,y.deprecationHandler=null,F=Object.keys?Object.keys:function(t){var n,i=[];for(n in t)M(t,n)&&i.push(n);return i};var z=/(\[[^\[]*\])|(\\)?([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,q=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,J={},V={};function Q(t,n,i,e){var r=e;"string"==typeof e&&(r=function(){return this[e]()}),t&&(V[t]=r),n&&(V[n[0]]=function(){return $(r.apply(this,arguments),n[1],n[2])}),i&&(V[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function X(t,n){return t.isValid()?(n=K(n,t.localeData()),J[n]=J[n]||function(t){var n,i,e,r=t.match(z);for(n=0,i=r.length;n<i;n++)r[n]=V[r[n]]?V[r[n]]:(e=r[n]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(n){var e,s="";for(e=0;e<i;e++)s+=O(r[e])?r[e].call(n,t):r[e];return s}}(n),J[n](t)):t.localeData().invalidDate()}function K(t,n){var i=5;function e(t){return n.longDateFormat(t)||t}for(q.lastIndex=0;i>=0&&q.test(t);)t=t.replace(q,e),q.lastIndex=0,i-=1;return t}var tt={};function nt(t,n){var i=t.toLowerCase();tt[i]=tt[i+"s"]=tt[n]=t}function it(t){return"string"==typeof t?tt[t]||tt[t.toLowerCase()]:void 0}function et(t){var n,i,e={};for(i in t)M(t,i)&&(n=it(i))&&(e[n]=t[i]);return e}var rt={};function st(t,n){rt[t]=n}function ot(t){return t%4==0&&t%100!=0||t%400==0}function at(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ut(t){var n=+t,i=0;return 0!==n&&isFinite(n)&&(i=at(n)),i}function ht(t,n){return function(i){return null!=i?(ct(this,t,i),y.updateOffset(this,n),this):dt(this,t)}}function dt(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function ct(t,n,i){t.isValid()&&!isNaN(i)&&("FullYear"===n&&ot(t.year())&&1===t.month()&&29===t.date()?(i=ut(i),t._d["set"+(t._isUTC?"UTC":"")+n](i,t.month(),$t(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](i))}var lt,ft=/\d/,mt=/\d\d/,vt=/\d{3}/,pt=/\d{4}/,gt=/[+-]?\d{6}/,wt=/\d\d?/,yt=/\d\d\d\d?/,Dt=/\d\d\d\d\d\d?/,Yt=/\d{1,3}/,Mt=/\d{1,4}/,bt=/[+-]?\d{1,6}/,St=/\d+/,Nt=/[+-]?\d+/,kt=/Z|[+-]\d\d:?\d\d/gi,xt=/Z|[+-]\d\d(?::?\d\d)?/gi,Ct=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Tt(t,n,i){lt[t]=O(n)?n:function(t){return t&&i?i:n}}function Gt(t,n){return M(lt,t)?lt[t](n._strict,n._locale):new RegExp(Ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,n,i,e,r){return n||i||e||r}))))}function Ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}lt={};var It={};function _t(t,n){var i,e,r=n;for("string"==typeof t&&(t=[t]),N(n)&&(r=function(t,i){i[n]=ut(t)}),e=t.length,i=0;i<e;i++)It[t[i]]=r}function Wt(t,n){_t(t,(function(t,i,e,r){e._w=e._w||{},n(t,e._w,e,r)}))}function Et(t,n,i){null!=n&&M(It,t)&&It[t](n,i._a,i,t)}var Lt,At=0,Ut=1,Pt=2,Ft=3,Rt=4,jt=5,Ot=6,Zt=7,Bt=8;function $t(t,n){if(isNaN(t)||isNaN(n))return NaN;var i=(n%12+12)%12;return t+=(n-i)/12,1===i?ot(t)?29:28:31-i%7%2}Lt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var n;for(n=0;n<this.length;++n)if(this[n]===t)return n;return-1},Q("M",["MM",2],"Mo",(function(){return this.month()+1})),Q("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),Q("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),nt("month","M"),st("month",8),Tt("M",wt),Tt("MM",wt,mt),Tt("MMM",(function(t,n){return n.monthsShortRegex(t)})),Tt("MMMM",(function(t,n){return n.monthsRegex(t)})),_t(["M","MM"],(function(t,n){n[Ut]=ut(t)-1})),_t(["MMM","MMMM"],(function(t,n,i,e){var r=i._locale.monthsParse(t,e,i._strict);null!=r?n[Ut]=r:G(i).invalidMonth=t}));var zt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Jt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Vt=Ct,Qt=Ct;function Xt(t,n,i){var e,r,s,o=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],e=0;e<12;++e)s=T([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===n?-1!==(r=Lt.call(this._shortMonthsParse,o))?r:null:-1!==(r=Lt.call(this._longMonthsParse,o))?r:null:"MMM"===n?-1!==(r=Lt.call(this._shortMonthsParse,o))||-1!==(r=Lt.call(this._longMonthsParse,o))?r:null:-1!==(r=Lt.call(this._longMonthsParse,o))||-1!==(r=Lt.call(this._shortMonthsParse,o))?r:null}function Kt(t,n){var i;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=ut(n);else if(!N(n=t.localeData().monthsParse(n)))return t;return i=Math.min(t.date(),$t(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,i),t}function tn(t){return null!=t?(Kt(this,t),y.updateOffset(this,!0),this):dt(this,"Month")}function nn(){function t(t,n){return n.length-t.length}var n,i,e=[],r=[],s=[];for(n=0;n<12;n++)i=T([2e3,n]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),s.push(this.months(i,"")),s.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),s.sort(t),n=0;n<12;n++)e[n]=Ht(e[n]),r[n]=Ht(r[n]);for(n=0;n<24;n++)s[n]=Ht(s[n]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function en(t){return ot(t)?366:365}Q("Y",0,0,(function(){var t=this.year();return t<=9999?$(t,4):"+"+t})),Q(0,["YY",2],0,(function(){return this.year()%100})),Q(0,["YYYY",4],0,"year"),Q(0,["YYYYY",5],0,"year"),Q(0,["YYYYYY",6,!0],0,"year"),nt("year","y"),st("year",1),Tt("Y",Nt),Tt("YY",wt,mt),Tt("YYYY",Mt,pt),Tt("YYYYY",bt,gt),Tt("YYYYYY",bt,gt),_t(["YYYYY","YYYYYY"],At),_t("YYYY",(function(t,n){n[At]=2===t.length?y.parseTwoDigitYear(t):ut(t)})),_t("YY",(function(t,n){n[At]=y.parseTwoDigitYear(t)})),_t("Y",(function(t,n){n[At]=parseInt(t,10)})),y.parseTwoDigitYear=function(t){return ut(t)+(ut(t)>68?1900:2e3)};var rn=ht("FullYear",!0);function sn(t,n,i,e,r,s,o){var a;return t<100&&t>=0?(a=new Date(t+400,n,i,e,r,s,o),isFinite(a.getFullYear())&&a.setFullYear(t)):a=new Date(t,n,i,e,r,s,o),a}function on(t){var n,i;return t<100&&t>=0?((i=Array.prototype.slice.call(arguments))[0]=t+400,n=new Date(Date.UTC.apply(null,i)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(t)):n=new Date(Date.UTC.apply(null,arguments)),n}function an(t,n,i){var e=7+n-i;return-(7+on(t,0,e).getUTCDay()-n)%7+e-1}function un(t,n,i,e,r){var s,o,a=1+7*(n-1)+(7+i-e)%7+an(t,e,r);return a<=0?o=en(s=t-1)+a:a>en(t)?(s=t+1,o=a-en(t)):(s=t,o=a),{year:s,dayOfYear:o}}function hn(t,n,i){var e,r,s=an(t.year(),n,i),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?e=o+dn(r=t.year()-1,n,i):o>dn(t.year(),n,i)?(e=o-dn(t.year(),n,i),r=t.year()+1):(r=t.year(),e=o),{week:e,year:r}}function dn(t,n,i){var e=an(t,n,i),r=an(t+1,n,i);return(en(t)-e+r)/7}function cn(t,n){return t.slice(n,7).concat(t.slice(0,n))}Q("w",["ww",2],"wo","week"),Q("W",["WW",2],"Wo","isoWeek"),nt("week","w"),nt("isoWeek","W"),st("week",5),st("isoWeek",5),Tt("w",wt),Tt("ww",wt,mt),Tt("W",wt),Tt("WW",wt,mt),Wt(["w","ww","W","WW"],(function(t,n,i,e){n[e.substr(0,1)]=ut(t)})),Q("d",0,"do","day"),Q("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),Q("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),Q("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),Q("e",0,0,"weekday"),Q("E",0,0,"isoWeekday"),nt("day","d"),nt("weekday","e"),nt("isoWeekday","E"),st("day",11),st("weekday",11),st("isoWeekday",11),Tt("d",wt),Tt("e",wt),Tt("E",wt),Tt("dd",(function(t,n){return n.weekdaysMinRegex(t)})),Tt("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),Tt("dddd",(function(t,n){return n.weekdaysRegex(t)})),Wt(["dd","ddd","dddd"],(function(t,n,i,e){var r=i._locale.weekdaysParse(t,e,i._strict);null!=r?n.d=r:G(i).invalidWeekday=t})),Wt(["d","e","E"],(function(t,n,i,e){n[e]=ut(t)}));var ln="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),fn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),mn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),vn=Ct,pn=Ct,gn=Ct;function wn(t,n,i){var e,r,s,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],e=0;e<7;++e)s=T([2e3,1]).day(e),this._minWeekdaysParse[e]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[e]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[e]=this.weekdays(s,"").toLocaleLowerCase();return i?"dddd"===n?-1!==(r=Lt.call(this._weekdaysParse,o))?r:null:"ddd"===n?-1!==(r=Lt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=Lt.call(this._minWeekdaysParse,o))?r:null:"dddd"===n?-1!==(r=Lt.call(this._weekdaysParse,o))||-1!==(r=Lt.call(this._shortWeekdaysParse,o))||-1!==(r=Lt.call(this._minWeekdaysParse,o))?r:null:"ddd"===n?-1!==(r=Lt.call(this._shortWeekdaysParse,o))||-1!==(r=Lt.call(this._weekdaysParse,o))||-1!==(r=Lt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=Lt.call(this._minWeekdaysParse,o))||-1!==(r=Lt.call(this._weekdaysParse,o))||-1!==(r=Lt.call(this._shortWeekdaysParse,o))?r:null}function yn(){function t(t,n){return n.length-t.length}var n,i,e,r,s,o=[],a=[],u=[],h=[];for(n=0;n<7;n++)i=T([2e3,1]).day(n),e=Ht(this.weekdaysMin(i,"")),r=Ht(this.weekdaysShort(i,"")),s=Ht(this.weekdays(i,"")),o.push(e),a.push(r),u.push(s),h.push(e),h.push(r),h.push(s);o.sort(t),a.sort(t),u.sort(t),h.sort(t),this._weekdaysRegex=new RegExp("^("+h.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Dn(){return this.hours()%12||12}function Yn(t,n){Q(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function Mn(t,n){return n._meridiemParse}Q("H",["HH",2],0,"hour"),Q("h",["hh",2],0,Dn),Q("k",["kk",2],0,(function(){return this.hours()||24})),Q("hmm",0,0,(function(){return""+Dn.apply(this)+$(this.minutes(),2)})),Q("hmmss",0,0,(function(){return""+Dn.apply(this)+$(this.minutes(),2)+$(this.seconds(),2)})),Q("Hmm",0,0,(function(){return""+this.hours()+$(this.minutes(),2)})),Q("Hmmss",0,0,(function(){return""+this.hours()+$(this.minutes(),2)+$(this.seconds(),2)})),Yn("a",!0),Yn("A",!1),nt("hour","h"),st("hour",13),Tt("a",Mn),Tt("A",Mn),Tt("H",wt),Tt("h",wt),Tt("k",wt),Tt("HH",wt,mt),Tt("hh",wt,mt),Tt("kk",wt,mt),Tt("hmm",yt),Tt("hmmss",Dt),Tt("Hmm",yt),Tt("Hmmss",Dt),_t(["H","HH"],Ft),_t(["k","kk"],(function(t,n){var i=ut(t);n[Ft]=24===i?0:i})),_t(["a","A"],(function(t,n,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),_t(["h","hh"],(function(t,n,i){n[Ft]=ut(t),G(i).bigHour=!0})),_t("hmm",(function(t,n,i){var e=t.length-2;n[Ft]=ut(t.substr(0,e)),n[Rt]=ut(t.substr(e)),G(i).bigHour=!0})),_t("hmmss",(function(t,n,i){var e=t.length-4,r=t.length-2;n[Ft]=ut(t.substr(0,e)),n[Rt]=ut(t.substr(e,2)),n[jt]=ut(t.substr(r)),G(i).bigHour=!0})),_t("Hmm",(function(t,n){var i=t.length-2;n[Ft]=ut(t.substr(0,i)),n[Rt]=ut(t.substr(i))})),_t("Hmmss",(function(t,n){var i=t.length-4,e=t.length-2;n[Ft]=ut(t.substr(0,i)),n[Rt]=ut(t.substr(i,2)),n[jt]=ut(t.substr(e))}));var bn,Sn=ht("Hours",!0),Nn={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:zt,monthsShort:qt,week:{dow:0,doy:6},weekdays:ln,weekdaysMin:mn,weekdaysShort:fn,meridiemParse:/[ap]\.?m?\.?/i},kn={},xn={};function Cn(t,n){var i,e=Math.min(t.length,n.length);for(i=0;i<e;i+=1)if(t[i]!==n[i])return i;return e}function Tn(t){return t?t.toLowerCase().replace("_","-"):t}function Gn(t){var n=null;if(void 0===kn[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{n=bn._abbr,require("./locale/"+t),Hn(n)}catch(n){kn[t]=null}return kn[t]}function Hn(t,n){var i;return t&&((i=S(n)?_n(t):In(t,n))?bn=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),bn._abbr}function In(t,n){if(null!==n){var i,e=Nn;if(n.abbr=t,null!=kn[t])j("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."),e=kn[t]._config;else if(null!=n.parentLocale)if(null!=kn[n.parentLocale])e=kn[n.parentLocale]._config;else{if(null==(i=Gn(n.parentLocale)))return xn[n.parentLocale]||(xn[n.parentLocale]=[]),xn[n.parentLocale].push({name:t,config:n}),null;e=i._config}return kn[t]=new B(Z(e,n)),xn[t]&&xn[t].forEach((function(t){In(t.name,t.config)})),Hn(t),kn[t]}return delete kn[t],null}function _n(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return bn;if(!D(t)){if(n=Gn(t))return n;t=[t]}return function(t){for(var n,i,e,r,s=0;s<t.length;){for(n=(r=Tn(t[s]).split("-")).length,i=(i=Tn(t[s+1]))?i.split("-"):null;n>0;){if(e=Gn(r.slice(0,n).join("-")))return e;if(i&&i.length>=n&&Cn(r,i)>=n-1)break;n--}s++}return bn}(t)}function Wn(t){var n,i=t._a;return i&&-2===G(t).overflow&&(n=i[Ut]<0||i[Ut]>11?Ut:i[Pt]<1||i[Pt]>$t(i[At],i[Ut])?Pt:i[Ft]<0||i[Ft]>24||24===i[Ft]&&(0!==i[Rt]||0!==i[jt]||0!==i[Ot])?Ft:i[Rt]<0||i[Rt]>59?Rt:i[jt]<0||i[jt]>59?jt:i[Ot]<0||i[Ot]>999?Ot:-1,G(t)._overflowDayOfYear&&(n<At||n>Pt)&&(n=Pt),G(t)._overflowWeeks&&-1===n&&(n=Zt),G(t)._overflowWeekday&&-1===n&&(n=Bt),G(t).overflow=n),t}var En=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ln=/^\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)?)?$/,An=/Z|[+-]\d\d(?::?\d\d)?/,Un=[["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]],Pn=[["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/]],Fn=/^\/?Date\((-?\d+)/i,Rn=/^(?:(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}))$/,jn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function On(t){var n,i,e,r,s,o,a=t._i,u=En.exec(a)||Ln.exec(a),h=Un.length,d=Pn.length;if(u){for(G(t).iso=!0,n=0,i=h;n<i;n++)if(Un[n][1].exec(u[1])){r=Un[n][0],e=!1!==Un[n][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(n=0,i=d;n<i;n++)if(Pn[n][1].exec(u[3])){s=(u[2]||" ")+Pn[n][0];break}if(null==s)return void(t._isValid=!1)}if(!e&&null!=s)return void(t._isValid=!1);if(u[4]){if(!An.exec(u[4]))return void(t._isValid=!1);o="Z"}t._f=r+(s||"")+(o||""),zn(t)}else t._isValid=!1}function Zn(t){var n,i,e,r,s,o,a,u,h,d=Rn.exec(t._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(i=d[3],e=d[2],r=d[5],s=d[6],o=d[7],a=[(u=d[4],h=parseInt(u,10),h<=49?2e3+h:h<=999?1900+h:h),qt.indexOf(i),parseInt(e,10),parseInt(r,10),parseInt(s,10)],o&&a.push(parseInt(o,10)),!function(t,n,i){return!t||fn.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(G(i).weekdayMismatch=!0,i._isValid=!1,!1)}(d[1],n=a,t))return;t._a=n,t._tzm=function(t,n,i){if(t)return jn[t];if(n)return 0;var e=parseInt(i,10),r=e%100;return(e-r)/100*60+r}(d[8],d[9],d[10]),t._d=on.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),G(t).rfc2822=!0}else t._isValid=!1}function Bn(t,n,i){return null!=t?t:null!=n?n:i}function $n(t){var n,i,e,r,s,o=[];if(!t._d){for(e=function(t){var n=new Date(y.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[Pt]&&null==t._a[Ut]&&function(t){var n,i,e,r,s,o,a,u,h;null!=(n=t._w).GG||null!=n.W||null!=n.E?(s=1,o=4,i=Bn(n.GG,t._a[At],hn(Vn(),1,4).year),e=Bn(n.W,1),((r=Bn(n.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,o=t._locale._week.doy,h=hn(Vn(),s,o),i=Bn(n.gg,t._a[At],h.year),e=Bn(n.w,h.week),null!=n.d?((r=n.d)<0||r>6)&&(u=!0):null!=n.e?(r=n.e+s,(n.e<0||n.e>6)&&(u=!0)):r=s),e<1||e>dn(i,s,o)?G(t)._overflowWeeks=!0:null!=u?G(t)._overflowWeekday=!0:(a=un(i,e,r,s,o),t._a[At]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(s=Bn(t._a[At],e[At]),(t._dayOfYear>en(s)||0===t._dayOfYear)&&(G(t)._overflowDayOfYear=!0),i=on(s,0,t._dayOfYear),t._a[Ut]=i.getUTCMonth(),t._a[Pt]=i.getUTCDate()),n=0;n<3&&null==t._a[n];++n)t._a[n]=o[n]=e[n];for(;n<7;n++)t._a[n]=o[n]=null==t._a[n]?2===n?1:0:t._a[n];24===t._a[Ft]&&0===t._a[Rt]&&0===t._a[jt]&&0===t._a[Ot]&&(t._nextDay=!0,t._a[Ft]=0),t._d=(t._useUTC?on:sn).apply(null,o),r=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[Ft]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(G(t).weekdayMismatch=!0)}}function zn(t){if(t._f!==y.ISO_8601)if(t._f!==y.RFC_2822){t._a=[],G(t).empty=!0;var n,i,e,r,s,o,a,u=""+t._i,h=u.length,d=0;for(a=(e=K(t._f,t._locale).match(z)||[]).length,n=0;n<a;n++)(i=(u.match(Gt(r=e[n],t))||[])[0])&&((s=u.substr(0,u.indexOf(i))).length>0&&G(t).unusedInput.push(s),u=u.slice(u.indexOf(i)+i.length),d+=i.length),V[r]?(i?G(t).empty=!1:G(t).unusedTokens.push(r),Et(r,i,t)):t._strict&&!i&&G(t).unusedTokens.push(r);G(t).charsLeftOver=h-d,u.length>0&&G(t).unusedInput.push(u),t._a[Ft]<=12&&!0===G(t).bigHour&&t._a[Ft]>0&&(G(t).bigHour=void 0),G(t).parsedDateParts=t._a.slice(0),G(t).meridiem=t._meridiem,t._a[Ft]=function(t,n,i){var e;return null==i?n:null!=t.meridiemHour?t.meridiemHour(n,i):null!=t.isPM?((e=t.isPM(i))&&n<12&&(n+=12),e||12!==n||(n=0),n):n}(t._locale,t._a[Ft],t._meridiem),null!==(o=G(t).era)&&(t._a[At]=t._locale.erasConvertYear(o,t._a[At])),$n(t),Wn(t)}else Zn(t);else On(t)}function qn(t){var n=t._i,i=t._f;return t._locale=t._locale||_n(t._l),null===n||void 0===i&&""===n?I({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),A(n)?new L(Wn(n)):(k(n)?t._d=n:D(i)?function(t){var n,i,e,r,s,o,a=!1,u=t._f.length;if(0===u)return G(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,o=!1,n=E({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],zn(n),H(n)&&(o=!0),s+=G(n).charsLeftOver,s+=10*G(n).unusedTokens.length,G(n).score=s,a?s<e&&(e=s,i=n):(null==e||s<e||o)&&(e=s,i=n,o&&(a=!0));C(t,i||n)}(t):i?zn(t):function(t){var n=t._i;S(n)?t._d=new Date(y.now()):k(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=Fn.exec(t._i);null===n?(On(t),!1===t._isValid&&(delete t._isValid,Zn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:y.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):D(n)?(t._a=x(n.slice(0),(function(t){return parseInt(t,10)})),$n(t)):Y(n)?function(t){if(!t._d){var n=et(t._i);t._a=x([n.year,n.month,void 0===n.day?n.date:n.day,n.hour,n.minute,n.second,n.millisecond],(function(t){return t&&parseInt(t,10)})),$n(t)}}(t):N(n)?t._d=new Date(n):y.createFromInputFallback(t)}(t),H(t)||(t._d=null),t))}function Jn(t,n,i,e,r){var s,o={};return!0!==n&&!1!==n||(e=n,n=void 0),!0!==i&&!1!==i||(e=i,i=void 0),(Y(t)&&b(t)||D(t)&&0===t.length)&&(t=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=t,o._f=n,o._strict=e,(s=new L(Wn(qn(o))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Vn(t,n,i,e){return Jn(t,n,i,e,!1)}y.createFromInputFallback=P("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(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))})),y.ISO_8601=function(){},y.RFC_2822=function(){};var Qn=P("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Vn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:I()})),Xn=P("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Vn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:I()}));function Kn(t,n){var i,e;if(1===n.length&&D(n[0])&&(n=n[0]),!n.length)return Vn();for(i=n[0],e=1;e<n.length;++e)n[e].isValid()&&!n[e][t](i)||(i=n[e]);return i}var ti=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ni(t){var n=et(t),i=n.year||0,e=n.quarter||0,r=n.month||0,s=n.week||n.isoWeek||0,o=n.day||0,a=n.hour||0,u=n.minute||0,h=n.second||0,d=n.millisecond||0;this._isValid=function(t){var n,i,e=!1,r=ti.length;for(n in t)if(M(t,n)&&(-1===Lt.call(ti,n)||null!=t[n]&&isNaN(t[n])))return!1;for(i=0;i<r;++i)if(t[ti[i]]){if(e)return!1;parseFloat(t[ti[i]])!==ut(t[ti[i]])&&(e=!0)}return!0}(n),this._milliseconds=+d+1e3*h+6e4*u+1e3*a*60*60,this._days=+o+7*s,this._months=+r+3*e+12*i,this._data={},this._locale=_n(),this._bubble()}function ii(t){return t instanceof ni}function ei(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function ri(t,n){Q(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+$(~~(t/60),2)+n+$(~~t%60,2)}))}ri("Z",":"),ri("ZZ",""),Tt("Z",xt),Tt("ZZ",xt),_t(["Z","ZZ"],(function(t,n,i){i._useUTC=!0,i._tzm=oi(xt,t)}));var si=/([\+\-]|\d\d)/gi;function oi(t,n){var i,e,r=(n||"").match(t);return null===r?null:0===(e=60*(i=((r[r.length-1]||[])+"").match(si)||["-",0,0])[1]+ut(i[2]))?0:"+"===i[0]?e:-e}function ai(t,n){var i,e;return n._isUTC?(i=n.clone(),e=(A(t)||k(t)?t.valueOf():Vn(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+e),y.updateOffset(i,!1),i):Vn(t).local()}function ui(t){return-Math.round(t._d.getTimezoneOffset())}function hi(){return!!this.isValid()&&this._isUTC&&0===this._offset}y.updateOffset=function(){};var di=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ci=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function li(t,n){var i,e,r,s,o,a,u=t,h=null;return ii(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:N(t)||!isNaN(+t)?(u={},n?u[n]=+t:u.milliseconds=+t):(h=di.exec(t))?(i="-"===h[1]?-1:1,u={y:0,d:ut(h[Pt])*i,h:ut(h[Ft])*i,m:ut(h[Rt])*i,s:ut(h[jt])*i,ms:ut(ei(1e3*h[Ot]))*i}):(h=ci.exec(t))?u={y:fi(h[2],i="-"===h[1]?-1:1),M:fi(h[3],i),w:fi(h[4],i),d:fi(h[5],i),h:fi(h[6],i),m:fi(h[7],i),s:fi(h[8],i)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=Vn(u.from),o=Vn(u.to),r=s.isValid()&&o.isValid()?(o=ai(o,s),s.isBefore(o)?a=mi(s,o):((a=mi(o,s)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),e=new ni(u),ii(t)&&M(t,"_locale")&&(e._locale=t._locale),ii(t)&&M(t,"_isValid")&&(e._isValid=t._isValid),e}function fi(t,n){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*n}function mi(t,n){var i={};return i.months=n.month()-t.month()+12*(n.year()-t.year()),t.clone().add(i.months,"M").isAfter(n)&&--i.months,i.milliseconds=+n-+t.clone().add(i.months,"M"),i}function vi(t,n){return function(i,e){var r;return null===e||isNaN(+e)||(j(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=i,i=e,e=r),pi(this,li(i,e),t),this}}function pi(t,n,i,e){var r=n._milliseconds,s=ei(n._days),o=ei(n._months);t.isValid()&&(e=null==e||e,o&&Kt(t,dt(t,"Month")+o*i),s&&ct(t,"Date",dt(t,"Date")+s*i),r&&t._d.setTime(t._d.valueOf()+r*i),e&&y.updateOffset(t,s||o))}li.fn=ni.prototype,li.invalid=function(){return li(NaN)};var gi=vi(1,"add"),wi=vi(-1,"subtract");function yi(t){return"string"==typeof t||t instanceof String}function Di(t,n){if(t.date()<n.date())return-Di(n,t);var i=12*(n.year()-t.year())+(n.month()-t.month()),e=t.clone().add(i,"months");return-(i+(n-e<0?(n-e)/(e-t.clone().add(i-1,"months")):(n-e)/(t.clone().add(i+1,"months")-e)))||0}function Yi(t){var n;return void 0===t?this._locale._abbr:(null!=(n=_n(t))&&(this._locale=n),this)}y.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",y.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Mi=P("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(t){return void 0===t?this.localeData():this.locale(t)}));function bi(){return this._locale}var Si=1e3,Ni=6e4,ki=36e5,xi=126227808e5;function Ci(t,n){return(t%n+n)%n}function Ti(t,n,i){return t<100&&t>=0?new Date(t+400,n,i)-xi:new Date(t,n,i).valueOf()}function Gi(t,n,i){return t<100&&t>=0?Date.UTC(t+400,n,i)-xi:Date.UTC(t,n,i)}function Hi(t,n){return n.erasAbbrRegex(t)}function Ii(){var t,n,i=[],e=[],r=[],s=[],o=this.eras();for(t=0,n=o.length;t<n;++t)e.push(Ht(o[t].name)),i.push(Ht(o[t].abbr)),r.push(Ht(o[t].narrow)),s.push(Ht(o[t].name)),s.push(Ht(o[t].abbr)),s.push(Ht(o[t].narrow));this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function _i(t,n){Q(0,[t,t.length],0,n)}function Wi(t,n,i,e,r){var s;return null==t?hn(this,e,r).year:(n>(s=dn(t,e,r))&&(n=s),Ei.call(this,t,n,i,e,r))}function Ei(t,n,i,e,r){var s=un(t,n,i,e,r),o=on(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Q("N",0,0,"eraAbbr"),Q("NN",0,0,"eraAbbr"),Q("NNN",0,0,"eraAbbr"),Q("NNNN",0,0,"eraName"),Q("NNNNN",0,0,"eraNarrow"),Q("y",["y",1],"yo","eraYear"),Q("y",["yy",2],0,"eraYear"),Q("y",["yyy",3],0,"eraYear"),Q("y",["yyyy",4],0,"eraYear"),Tt("N",Hi),Tt("NN",Hi),Tt("NNN",Hi),Tt("NNNN",(function(t,n){return n.erasNameRegex(t)})),Tt("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),_t(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,i,e){var r=i._locale.erasParse(t,e,i._strict);r?G(i).era=r:G(i).invalidEra=t})),Tt("y",St),Tt("yy",St),Tt("yyy",St),Tt("yyyy",St),Tt("yo",(function(t,n){return n._eraYearOrdinalRegex||St})),_t(["y","yy","yyy","yyyy"],At),_t(["yo"],(function(t,n,i){var e;i._locale._eraYearOrdinalRegex&&(e=t.match(i._locale._eraYearOrdinalRegex)),n[At]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,e):parseInt(t,10)})),Q(0,["gg",2],0,(function(){return this.weekYear()%100})),Q(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),_i("gggg","weekYear"),_i("ggggg","weekYear"),_i("GGGG","isoWeekYear"),_i("GGGGG","isoWeekYear"),nt("weekYear","gg"),nt("isoWeekYear","GG"),st("weekYear",1),st("isoWeekYear",1),Tt("G",Nt),Tt("g",Nt),Tt("GG",wt,mt),Tt("gg",wt,mt),Tt("GGGG",Mt,pt),Tt("gggg",Mt,pt),Tt("GGGGG",bt,gt),Tt("ggggg",bt,gt),Wt(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,i,e){n[e.substr(0,2)]=ut(t)})),Wt(["gg","GG"],(function(t,n,i,e){n[e]=y.parseTwoDigitYear(t)})),Q("Q",0,"Qo","quarter"),nt("quarter","Q"),st("quarter",7),Tt("Q",ft),_t("Q",(function(t,n){n[Ut]=3*(ut(t)-1)})),Q("D",["DD",2],"Do","date"),nt("date","D"),st("date",9),Tt("D",wt),Tt("DD",wt,mt),Tt("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),_t(["D","DD"],Pt),_t("Do",(function(t,n){n[Pt]=ut(t.match(wt)[0])}));var Li=ht("Date",!0);Q("DDD",["DDDD",3],"DDDo","dayOfYear"),nt("dayOfYear","DDD"),st("dayOfYear",4),Tt("DDD",Yt),Tt("DDDD",vt),_t(["DDD","DDDD"],(function(t,n,i){i._dayOfYear=ut(t)})),Q("m",["mm",2],0,"minute"),nt("minute","m"),st("minute",14),Tt("m",wt),Tt("mm",wt,mt),_t(["m","mm"],Rt);var Ai=ht("Minutes",!1);Q("s",["ss",2],0,"second"),nt("second","s"),st("second",15),Tt("s",wt),Tt("ss",wt,mt),_t(["s","ss"],jt);var Ui,Pi,Fi=ht("Seconds",!1);for(Q("S",0,0,(function(){return~~(this.millisecond()/100)})),Q(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Q(0,["SSS",3],0,"millisecond"),Q(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Q(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Q(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Q(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Q(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Q(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),nt("millisecond","ms"),st("millisecond",16),Tt("S",Yt,ft),Tt("SS",Yt,mt),Tt("SSS",Yt,vt),Ui="SSSS";Ui.length<=9;Ui+="S")Tt(Ui,St);function Ri(t,n){n[Ot]=ut(1e3*("0."+t))}for(Ui="S";Ui.length<=9;Ui+="S")_t(Ui,Ri);Pi=ht("Milliseconds",!1),Q("z",0,0,"zoneAbbr"),Q("zz",0,0,"zoneName");var ji=L.prototype;function Oi(t){return t}ji.add=gi,ji.calendar=function(t,n){var i;1===arguments.length&&(arguments[0]?A(i=arguments[0])||k(i)||yi(i)||N(i)||function(t){var n=D(t),i=!1;return n&&(i=0===t.filter((function(n){return!N(n)&&yi(t)})).length),n&&i}(i)||function(t){var n,i=Y(t)&&!b(t),e=!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"],s=r.length;for(n=0;n<s;n+=1)e=e||M(t,r[n]);return i&&e}(i)||null==i?(t=arguments[0],n=void 0):function(t){var n,i=Y(t)&&!b(t),e=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<r.length;n+=1)e=e||M(t,r[n]);return i&&e}(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var e=t||Vn(),r=ai(e,this).startOf("day"),s=y.calendarFormat(this,r)||"sameElse",o=n&&(O(n[s])?n[s].call(this,e):n[s]);return this.format(o||this.localeData().calendar(s,this,Vn(e)))},ji.clone=function(){return new L(this)},ji.diff=function(t,n,i){var e,r,s;if(!this.isValid())return NaN;if(!(e=ai(t,this)).isValid())return NaN;switch(r=6e4*(e.utcOffset()-this.utcOffset()),n=it(n)){case"year":s=Di(this,e)/12;break;case"month":s=Di(this,e);break;case"quarter":s=Di(this,e)/3;break;case"second":s=(this-e)/1e3;break;case"minute":s=(this-e)/6e4;break;case"hour":s=(this-e)/36e5;break;case"day":s=(this-e-r)/864e5;break;case"week":s=(this-e-r)/6048e5;break;default:s=this-e}return i?s:at(s)},ji.endOf=function(t){var n,i;if(void 0===(t=it(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Gi:Ti,t){case"year":n=i(this.year()+1,0,1)-1;break;case"quarter":n=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=i(this.year(),this.month()+1,1)-1;break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=ki-Ci(n+(this._isUTC?0:this.utcOffset()*Ni),ki)-1;break;case"minute":n=this._d.valueOf(),n+=Ni-Ci(n,Ni)-1;break;case"second":n=this._d.valueOf(),n+=Si-Ci(n,Si)-1}return this._d.setTime(n),y.updateOffset(this,!0),this},ji.format=function(t){t||(t=this.isUtc()?y.defaultFormatUtc:y.defaultFormat);var n=X(this,t);return this.localeData().postformat(n)},ji.from=function(t,n){return this.isValid()&&(A(t)&&t.isValid()||Vn(t).isValid())?li({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},ji.fromNow=function(t){return this.from(Vn(),t)},ji.to=function(t,n){return this.isValid()&&(A(t)&&t.isValid()||Vn(t).isValid())?li({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},ji.toNow=function(t){return this.to(Vn(),t)},ji.get=function(t){return O(this[t=it(t)])?this[t]():this},ji.invalidAt=function(){return G(this).overflow},ji.isAfter=function(t,n){var i=A(t)?t:Vn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=it(n)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(n).valueOf())},ji.isBefore=function(t,n){var i=A(t)?t:Vn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=it(n)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(n).valueOf()<i.valueOf())},ji.isBetween=function(t,n,i,e){var r=A(t)?t:Vn(t),s=A(n)?n:Vn(n);return!!(this.isValid()&&r.isValid()&&s.isValid())&&("("===(e=e||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===e[1]?this.isBefore(s,i):!this.isAfter(s,i))},ji.isSame=function(t,n){var i,e=A(t)?t:Vn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=it(n)||"millisecond")?this.valueOf()===e.valueOf():(i=e.valueOf(),this.clone().startOf(n).valueOf()<=i&&i<=this.clone().endOf(n).valueOf()))},ji.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},ji.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},ji.isValid=function(){return H(this)},ji.lang=Mi,ji.locale=Yi,ji.localeData=bi,ji.max=Xn,ji.min=Qn,ji.parsingFlags=function(){return C({},G(this))},ji.set=function(t,n){if("object"==typeof t){var i,e=function(t){var n,i=[];for(n in t)M(t,n)&&i.push({unit:n,priority:rt[n]});return i.sort((function(t,n){return t.priority-n.priority})),i}(t=et(t)),r=e.length;for(i=0;i<r;i++)this[e[i].unit](t[e[i].unit])}else if(O(this[t=it(t)]))return this[t](n);return this},ji.startOf=function(t){var n,i;if(void 0===(t=it(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Gi:Ti,t){case"year":n=i(this.year(),0,1);break;case"quarter":n=i(this.year(),this.month()-this.month()%3,1);break;case"month":n=i(this.year(),this.month(),1);break;case"week":n=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=i(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=Ci(n+(this._isUTC?0:this.utcOffset()*Ni),ki);break;case"minute":n=this._d.valueOf(),n-=Ci(n,Ni);break;case"second":n=this._d.valueOf(),n-=Ci(n,Si)}return this._d.setTime(n),y.updateOffset(this,!0),this},ji.subtract=wi,ji.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},ji.toObject=function(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}},ji.toDate=function(){return new Date(this.valueOf())},ji.toISOString=function(t){if(!this.isValid())return null;var n=!0!==t,i=n?this.clone().utc():this;return i.year()<0||i.year()>9999?X(i,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):O(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",X(i,"Z")):X(i,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ji.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t,n,i="moment",e="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z"),t="["+i+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+n+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ji[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ji.toJSON=function(){return this.isValid()?this.toISOString():null},ji.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ji.unix=function(){return Math.floor(this.valueOf()/1e3)},ji.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ji.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ji.eraName=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].name;if(e[t].until<=i&&i<=e[t].since)return e[t].name}return""},ji.eraNarrow=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].narrow;if(e[t].until<=i&&i<=e[t].since)return e[t].narrow}return""},ji.eraAbbr=function(){var t,n,i,e=this.localeData().eras();for(t=0,n=e.length;t<n;++t){if(i=this.clone().startOf("day").valueOf(),e[t].since<=i&&i<=e[t].until)return e[t].abbr;if(e[t].until<=i&&i<=e[t].since)return e[t].abbr}return""},ji.eraYear=function(){var t,n,i,e,r=this.localeData().eras();for(t=0,n=r.length;t<n;++t)if(i=r[t].since<=r[t].until?1:-1,e=this.clone().startOf("day").valueOf(),r[t].since<=e&&e<=r[t].until||r[t].until<=e&&e<=r[t].since)return(this.year()-y(r[t].since).year())*i+r[t].offset;return this.year()},ji.year=rn,ji.isLeapYear=function(){return ot(this.year())},ji.weekYear=function(t){return Wi.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ji.isoWeekYear=function(t){return Wi.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},ji.quarter=ji.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},ji.month=tn,ji.daysInMonth=function(){return $t(this.year(),this.month())},ji.week=ji.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},ji.isoWeek=ji.isoWeeks=function(t){var n=hn(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},ji.weeksInYear=function(){var t=this.localeData()._week;return dn(this.year(),t.dow,t.doy)},ji.weeksInWeekYear=function(){var t=this.localeData()._week;return dn(this.weekYear(),t.dow,t.doy)},ji.isoWeeksInYear=function(){return dn(this.year(),1,4)},ji.isoWeeksInISOWeekYear=function(){return dn(this.isoWeekYear(),1,4)},ji.date=Li,ji.day=ji.days=function(t){if(!this.isValid())return null!=t?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,n){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-n,"d")):n},ji.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==t?n:this.add(t-n,"d")},ji.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var n=function(t,n){return"string"==typeof t?n.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7},ji.dayOfYear=function(t){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?n:this.add(t-n,"d")},ji.hour=ji.hours=Sn,ji.minute=ji.minutes=Ai,ji.second=ji.seconds=Fi,ji.millisecond=ji.milliseconds=Pi,ji.utcOffset=function(t,n,i){var e,r=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=oi(xt,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(e=ui(this)),this._offset=t,this._isUTC=!0,null!=e&&this.add(e,"m"),r!==t&&(!n||this._changeInProgress?pi(this,li(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,y.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:ui(this)},ji.utc=function(t){return this.utcOffset(0,t)},ji.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(ui(this),"m")),this},ji.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=oi(kt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},ji.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Vn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},ji.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ji.isLocal=function(){return!!this.isValid()&&!this._isUTC},ji.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ji.isUtc=hi,ji.isUTC=hi,ji.zoneAbbr=function(){return this._isUTC?"UTC":""},ji.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ji.dates=P("dates accessor is deprecated. Use date instead.",Li),ji.months=P("months accessor is deprecated. Use month instead",tn),ji.years=P("years accessor is deprecated. Use year instead",rn),ji.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,n){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,n),this):-this.utcOffset()})),ji.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!S(this._isDSTShifted))return this._isDSTShifted;var t,n={};return E(n,this),(n=qn(n))._a?(t=n._isUTC?T(n._a):Vn(n._a),this._isDSTShifted=this.isValid()&&function(t,n){var i,e=Math.min(t.length,n.length),r=Math.abs(t.length-n.length),s=0;for(i=0;i<e;i++)ut(t[i])!==ut(n[i])&&s++;return s+r}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Zi=B.prototype;function Bi(t,n,i,e){var r=_n(),s=T().set(e,n);return r[i](s,t)}function $i(t,n,i){if(N(t)&&(n=t,t=void 0),t=t||"",null!=n)return Bi(t,n,i,"month");var e,r=[];for(e=0;e<12;e++)r[e]=Bi(t,e,i,"month");return r}function zi(t,n,i,e){"boolean"==typeof t?(N(n)&&(i=n,n=void 0),n=n||""):(i=n=t,t=!1,N(n)&&(i=n,n=void 0),n=n||"");var r,s=_n(),o=t?s._week.dow:0,a=[];if(null!=i)return Bi(n,(i+o)%7,e,"day");for(r=0;r<7;r++)a[r]=Bi(n,(r+o)%7,e,"day");return a}Zi.calendar=function(t,n,i){var e=this._calendar[t]||this._calendar.sameElse;return O(e)?e.call(n,i):e},Zi.longDateFormat=function(t){var n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.match(z).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Zi.invalidDate=function(){return this._invalidDate},Zi.ordinal=function(t){return this._ordinal.replace("%d",t)},Zi.preparse=Oi,Zi.postformat=Oi,Zi.relativeTime=function(t,n,i,e){var r=this._relativeTime[i];return O(r)?r(t,n,i,e):r.replace(/%d/i,t)},Zi.pastFuture=function(t,n){var i=this._relativeTime[t>0?"future":"past"];return O(i)?i(n):i.replace(/%s/i,n)},Zi.set=function(t){var n,i;for(i in t)M(t,i)&&(O(n=t[i])?this[i]=n:this["_"+i]=n);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},Zi.eras=function(){var t,n,i,e=this._eras||_n("en")._eras;for(t=0,n=e.length;t<n;++t)switch("string"==typeof e[t].since&&(i=y(e[t].since).startOf("day"),e[t].since=i.valueOf()),typeof e[t].until){case"undefined":e[t].until=1/0;break;case"string":i=y(e[t].until).startOf("day").valueOf(),e[t].until=i.valueOf()}return e},Zi.erasParse=function(t,n,i){var e,r,s,o,a,u=this.eras();for(t=t.toUpperCase(),e=0,r=u.length;e<r;++e)if(s=u[e].name.toUpperCase(),o=u[e].abbr.toUpperCase(),a=u[e].narrow.toUpperCase(),i)switch(n){case"N":case"NN":case"NNN":if(o===t)return u[e];break;case"NNNN":if(s===t)return u[e];break;case"NNNNN":if(a===t)return u[e]}else if([s,o,a].indexOf(t)>=0)return u[e]},Zi.erasConvertYear=function(t,n){var i=t.since<=t.until?1:-1;return void 0===n?y(t.since).year():y(t.since).year()+(n-t.offset)*i},Zi.erasAbbrRegex=function(t){return M(this,"_erasAbbrRegex")||Ii.call(this),t?this._erasAbbrRegex:this._erasRegex},Zi.erasNameRegex=function(t){return M(this,"_erasNameRegex")||Ii.call(this),t?this._erasNameRegex:this._erasRegex},Zi.erasNarrowRegex=function(t){return M(this,"_erasNarrowRegex")||Ii.call(this),t?this._erasNarrowRegex:this._erasRegex},Zi.months=function(t,n){return t?D(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Jt).test(n)?"format":"standalone"][t.month()]:D(this._months)?this._months:this._months.standalone},Zi.monthsShort=function(t,n){return t?D(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Jt.test(n)?"format":"standalone"][t.month()]:D(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Zi.monthsParse=function(t,n,i){var e,r,s;if(this._monthsParseExact)return Xt.call(this,t,n,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(r=T([2e3,e]),i&&!this._longMonthsParse[e]&&(this._longMonthsParse[e]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[e]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),i||this._monthsParse[e]||(s="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[e]=new RegExp(s.replace(".",""),"i")),i&&"MMMM"===n&&this._longMonthsParse[e].test(t))return e;if(i&&"MMM"===n&&this._shortMonthsParse[e].test(t))return e;if(!i&&this._monthsParse[e].test(t))return e}},Zi.monthsRegex=function(t){return this._monthsParseExact?(M(this,"_monthsRegex")||nn.call(this),t?this._monthsStrictRegex:this._monthsRegex):(M(this,"_monthsRegex")||(this._monthsRegex=Qt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Zi.monthsShortRegex=function(t){return this._monthsParseExact?(M(this,"_monthsRegex")||nn.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(M(this,"_monthsShortRegex")||(this._monthsShortRegex=Vt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Zi.week=function(t){return hn(t,this._week.dow,this._week.doy).week},Zi.firstDayOfYear=function(){return this._week.doy},Zi.firstDayOfWeek=function(){return this._week.dow},Zi.weekdays=function(t,n){var i=D(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?cn(i,this._week.dow):t?i[t.day()]:i},Zi.weekdaysMin=function(t){return!0===t?cn(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Zi.weekdaysShort=function(t){return!0===t?cn(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Zi.weekdaysParse=function(t,n,i){var e,r,s;if(this._weekdaysParseExact)return wn.call(this,t,n,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(r=T([2e3,1]).day(e),i&&!this._fullWeekdaysParse[e]&&(this._fullWeekdaysParse[e]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[e]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[e]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[e]||(s="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[e]=new RegExp(s.replace(".",""),"i")),i&&"dddd"===n&&this._fullWeekdaysParse[e].test(t))return e;if(i&&"ddd"===n&&this._shortWeekdaysParse[e].test(t))return e;if(i&&"dd"===n&&this._minWeekdaysParse[e].test(t))return e;if(!i&&this._weekdaysParse[e].test(t))return e}},Zi.weekdaysRegex=function(t){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||yn.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(M(this,"_weekdaysRegex")||(this._weekdaysRegex=vn),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Zi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||yn.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(M(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=pn),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Zi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(M(this,"_weekdaysRegex")||yn.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(M(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=gn),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Zi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Zi.meridiem=function(t,n,i){return t>11?i?"pm":"PM":i?"am":"AM"},Hn("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(t){var n=t%10;return t+(1===ut(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),y.lang=P("moment.lang is deprecated. Use moment.locale instead.",Hn),y.langData=P("moment.langData is deprecated. Use moment.localeData instead.",_n);var qi=Math.abs;function Ji(t,n,i,e){var r=li(n,i);return t._milliseconds+=e*r._milliseconds,t._days+=e*r._days,t._months+=e*r._months,t._bubble()}function Vi(t){return t<0?Math.floor(t):Math.ceil(t)}function Qi(t){return 4800*t/146097}function Xi(t){return 146097*t/4800}function Ki(t){return function(){return this.as(t)}}var te=Ki("ms"),ne=Ki("s"),ie=Ki("m"),ee=Ki("h"),re=Ki("d"),se=Ki("w"),oe=Ki("M"),ae=Ki("Q"),ue=Ki("y");function he(t){return function(){return this.isValid()?this._data[t]:NaN}}var de=he("milliseconds"),ce=he("seconds"),le=he("minutes"),fe=he("hours"),me=he("days"),ve=he("months"),pe=he("years"),ge=Math.round,we={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ye(t,n,i,e,r){return r.relativeTime(n||1,!!i,t,e)}var De=Math.abs;function Ye(t){return(t>0)-(t<0)||+t}function Me(){if(!this.isValid())return this.localeData().invalidDate();var t,n,i,e,r,s,o,a,u=De(this._milliseconds)/1e3,h=De(this._days),d=De(this._months),c=this.asSeconds();return c?(t=at(u/60),n=at(t/60),u%=60,t%=60,i=at(d/12),d%=12,e=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=Ye(this._months)!==Ye(c)?"-":"",o=Ye(this._days)!==Ye(c)?"-":"",a=Ye(this._milliseconds)!==Ye(c)?"-":"",r+"P"+(i?s+i+"Y":"")+(d?s+d+"M":"")+(h?o+h+"D":"")+(n||t||u?"T":"")+(n?a+n+"H":"")+(t?a+t+"M":"")+(u?a+e+"S":"")):"P0D"}var be=ni.prototype;be.isValid=function(){return this._isValid},be.abs=function(){var t=this._data;return this._milliseconds=qi(this._milliseconds),this._days=qi(this._days),this._months=qi(this._months),t.milliseconds=qi(t.milliseconds),t.seconds=qi(t.seconds),t.minutes=qi(t.minutes),t.hours=qi(t.hours),t.months=qi(t.months),t.years=qi(t.years),this},be.add=function(t,n){return Ji(this,t,n,1)},be.subtract=function(t,n){return Ji(this,t,n,-1)},be.as=function(t){if(!this.isValid())return NaN;var n,i,e=this._milliseconds;if("month"===(t=it(t))||"quarter"===t||"year"===t)switch(i=this._months+Qi(n=this._days+e/864e5),t){case"month":return i;case"quarter":return i/3;case"year":return i/12}else switch(n=this._days+Math.round(Xi(this._months)),t){case"week":return n/7+e/6048e5;case"day":return n+e/864e5;case"hour":return 24*n+e/36e5;case"minute":return 1440*n+e/6e4;case"second":return 86400*n+e/1e3;case"millisecond":return Math.floor(864e5*n)+e;default:throw new Error("Unknown unit "+t)}},be.asMilliseconds=te,be.asSeconds=ne,be.asMinutes=ie,be.asHours=ee,be.asDays=re,be.asWeeks=se,be.asMonths=oe,be.asQuarters=ae,be.asYears=ue,be.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ut(this._months/12):NaN},be._bubble=function(){var t,n,i,e,r,s=this._milliseconds,o=this._days,a=this._months,u=this._data;return s>=0&&o>=0&&a>=0||s<=0&&o<=0&&a<=0||(s+=864e5*Vi(Xi(a)+o),o=0,a=0),u.milliseconds=s%1e3,t=at(s/1e3),u.seconds=t%60,n=at(t/60),u.minutes=n%60,i=at(n/60),u.hours=i%24,o+=at(i/24),a+=r=at(Qi(o)),o-=Vi(Xi(r)),e=at(a/12),a%=12,u.days=o,u.months=a,u.years=e,this},be.clone=function(){return li(this)},be.get=function(t){return t=it(t),this.isValid()?this[t+"s"]():NaN},be.milliseconds=de,be.seconds=ce,be.minutes=le,be.hours=fe,be.days=me,be.weeks=function(){return at(this.days()/7)},be.months=ve,be.years=pe,be.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var i,e,r=!1,s=we;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},we,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),e=function(t,n,i,e){var r=li(t).abs(),s=ge(r.as("s")),o=ge(r.as("m")),a=ge(r.as("h")),u=ge(r.as("d")),h=ge(r.as("M")),d=ge(r.as("w")),c=ge(r.as("y")),l=s<=i.ss&&["s",s]||s<i.s&&["ss",s]||o<=1&&["m"]||o<i.m&&["mm",o]||a<=1&&["h"]||a<i.h&&["hh",a]||u<=1&&["d"]||u<i.d&&["dd",u];return null!=i.w&&(l=l||d<=1&&["w"]||d<i.w&&["ww",d]),(l=l||h<=1&&["M"]||h<i.M&&["MM",h]||c<=1&&["y"]||["yy",c])[2]=n,l[3]=+t>0,l[4]=e,ye.apply(null,l)}(this,!r,s,i=this.localeData()),r&&(e=i.pastFuture(+this,e)),i.postformat(e)},be.toISOString=Me,be.toString=Me,be.toJSON=Me,be.locale=Yi,be.localeData=bi,be.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Me),be.lang=Mi,Q("X",0,0,"unix"),Q("x",0,0,"valueOf"),Tt("x",Nt),Tt("X",/[+-]?\d+(\.\d{1,3})?/),_t("X",(function(t,n,i){i._d=new Date(1e3*parseFloat(t))})),_t("x",(function(t,n,i){i._d=new Date(ut(t))})),
10
+ //! moment.js
11
+ y.version="2.29.4",g=Vn,y.fn=ji,y.min=function(){return Kn("isBefore",[].slice.call(arguments,0))},y.max=function(){return Kn("isAfter",[].slice.call(arguments,0))},y.now=function(){return Date.now?Date.now():+new Date},y.utc=T,y.unix=function(t){return Vn(1e3*t)},y.months=function(t,n){return $i(t,n,"months")},y.isDate=k,y.locale=Hn,y.invalid=I,y.duration=li,y.isMoment=A,y.weekdays=function(t,n,i){return zi(t,n,i,"weekdays")},y.parseZone=function(){return Vn.apply(null,arguments).parseZone()},y.localeData=_n,y.isDuration=ii,y.monthsShort=function(t,n){return $i(t,n,"monthsShort")},y.weekdaysMin=function(t,n,i){return zi(t,n,i,"weekdaysMin")},y.defineLocale=In,y.updateLocale=function(t,n){if(null!=n){var i,e,r=Nn;null!=kn[t]&&null!=kn[t].parentLocale?kn[t].set(Z(kn[t]._config,n)):(null!=(e=Gn(t))&&(r=e._config),n=Z(r,n),null==e&&(n.abbr=t),(i=new B(n)).parentLocale=kn[t],kn[t]=i),Hn(t)}else null!=kn[t]&&(null!=kn[t].parentLocale?(kn[t]=kn[t].parentLocale,t===Hn()&&Hn(t)):null!=kn[t]&&delete kn[t]);return kn[t]},y.locales=function(){return F(kn)},y.weekdaysShort=function(t,n,i){return zi(t,n,i,"weekdaysShort")},y.normalizeUnits=it,y.relativeTimeRounding=function(t){return void 0===t?ge:"function"==typeof t&&(ge=t,!0)},y.relativeTimeThreshold=function(t,n){return void 0!==we[t]&&(void 0===n?we[t]:(we[t]=n,"s"===t&&(we.ss=n-1),!0))},y.calendarFormat=function(t,n){var i=t.diff(n,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"},y.prototype=ji,y.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"};const Se=class{constructor(i){t(this,i),this.showMoreGamesEvent=n(this,"showMoreGames",7),this.backFromPowerupDetailEvent=n(this,"backFromPowerupDetail",7),this.mbSource=void 0,this.clientStyling=void 0,this.clientStylingUrl=void 0,this.translationUrl=void 0,this.language="en",this.endpoint=void 0,this.session=void 0,this.pid=void 0,this.powerupId=void 0,this.isPowering=!1,this.powerUp=null,this.powerUpGames=void 0,this.isLoading=!0,this.isLoadingGames=!0,this.limit=20,this.showConfirmModal=!1}showPowerupDetailsHandler(t){this.pid=t.detail.id}activePowerupHandler(t){this.showConfirmModal=!1,t.detail.id===this.powerupId&&this.activePowerUp(this.powerUp)}async loadPowerUpById(){if(this.endpoint&&this.session){this.isLoading=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const t=new URL(`${this.endpoint}/v1/elevate/powerups`),n={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};t.searchParams.append("filter",`id=${this.pid}`),Object.entries(f).forEach((([n,i])=>{t.searchParams.append(n,i)}));const i=await fetch(t.href,n);if(!i.ok)throw new Error(`HTTP error! status: ${i.status}`);const{data:e}=await i.json();e.length&&(this.powerUp=e[0],this.powerUpGames=this.powerUp.games,this.powerupId=this.powerUp.powerUpID),this.loadGamesByPID()}catch(t){console.error("Failed to load Power-ups:",t),4003===t.errorCode&&window.postMessage({type:t.errorMessage})}finally{this.isLoading=!1}}}async loadGamesByPID(){var t,n,i,e,r,s;if(this.endpoint&&this.session&&this.powerupId){this.isLoadingGames=!0,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const r=new URL(`${this.endpoint}/v1/elevate/powerups/available?pagination=games(limit=20,offset=${(null===(n=null===(t=this.powerUpGames)||void 0===t?void 0:t.items)||void 0===n?void 0:n.length)||0})`),s={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"GET",signal:this.abortController.signal};r.searchParams.append("filter",`id=${this.powerupId}`),Object.entries(m).forEach((([t,n])=>{r.searchParams.append(t,n)})),r.searchParams.append("language",this.language);const o=await fetch(r,s);if(!o.ok)throw new Error(`HTTP error! status: ${o.status}`);const a=await o.json();this.powerUpGames=Object.assign(Object.assign({},this.powerUpGames),{items:[...(null===(i=this.powerUpGames)||void 0===i?void 0:i.items)||[],...(null===(e=a.games)||void 0===e?void 0:e.items)||[]]})}catch(t){"AbortError"!==t.name&&console.error("Failed to load more games:",t)}finally{(null===(s=null===(r=this.abortController)||void 0===r?void 0:r.signal)||void 0===s?void 0:s.aborted)||(this.isLoadingGames=!1)}}}onActivateBtnClick(){this.showConfirmModal=!0}async activePowerUp(t){if(this.endpoint&&this.session&&t.status!==l.ACTIVATING&&!this.isPowering){this.isLoading=!0,t.status=l.ACTIVATING,this.abortController&&this.abortController.abort(),this.abortController=new AbortController;try{const n=new URL(`${this.endpoint}/v1/elevate/activatepowerup`);let i={headers:{"Content-Type":"application/json","x-SessionId":this.session},method:"PUT",signal:this.abortController.signal,body:JSON.stringify({powerUpId:t.id})};const e=await fetch(n.href,i);if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);const r=await e.json();(null==r?void 0:r.success)&&(this.powerUp=Object.assign(Object.assign({},t),{status:l.ACTIVATED,activatedAt:y(new Date).format("YYYY-MM-DD HH:mm:ssZ")}))}catch(t){console.error(t)}finally{this.abortController.signal.aborted||(this.isLoading=!1)}}}onGameClick(t){window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:t.slug}})}showMoreGames(){this.showMoreGamesEvent.emit(this.powerUp.id)}backTo(){this.backFromPowerupDetailEvent.emit()}render(){var t,n;return i("div",{key:"6ded191f093754c7b0079134d32234040d626300",class:"IngamePowerUpDetailContainer",ref:t=>this.stylingContainer=t},i("div",{key:"04935313541793a9edf68eebdba34a9a68a9ac4a",class:"MainContainer "+(this.showConfirmModal?"Hidden":"")},i("div",{key:"903b0dfdb023bbb6c997fc8f8cca6420a65abf20",class:"TopBar"},i("div",{key:"61b7e673f68326b5ed576cb65ca2cbb20b2d32ec",onClick:this.backTo.bind(this),class:"ReturnIcon CircleLinearBorder",innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14"\n fill="none" xmlns="http://www.w3.org/2000/svg">\n <g clip-path="url(#clip0_4119_5439)">\n <path d="M11.1533 12.8332C11.8242 11.9932 12.25 10.9315 12.25 9.759C12.25 6.959 9.7475 4.6665 6.69667 4.6665H1.75"\n stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10" stroke-linecap="round"\n stroke-linejoin="round" />\n <path d="M5.25 1.16699L1.75 4.66699L5.25 8.16699" stroke="currentColor" stroke-width="0.952264" stroke-miterlimit="10"\n stroke-linecap="round" stroke-linejoin="round" />\n </g>\n <defs>\n <clipPath id="clip0_4119_5439">\n <rect width="14" height="14" fill="white" />\n </clipPath>\n </defs>\n</svg>\n'}),i("div",{key:"c1e5706ab811b8879afe2f543a1af2d6a2d026c6",class:"Title"}," ",(null===(t=this.powerUp)||void 0===t?void 0:t.powerUpName)||""," ")),this.isLoading?i("div",{class:"Loading"},i("smart-loader",null)):null==this.powerUp?i("div",{class:"NoData"},"No data found "):i("div",{class:"DetailInfo"},i("div",{class:"Description"},this.powerUp.description),i("div",{class:"MultiplierContainer Card CircleLinearBorder"},i("div",{class:"FlexRow CircleInner"},i("div",{class:"Duration"},i("div",{class:"Label"}," ",h("duration",this.language)," "),i("div",{class:"Value"},this.powerUp.boostingPeriod["timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":"numberOfRounds"],h("timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":"rounds"))),i("div",{class:"Multiplier"},i("div",{class:"Label"}," ",h("multiplier",this.language)," "),i("div",{class:"Value"},this.powerUp.multiplier.coefficient,"x ",h("coins"===this.powerUp.multiplier.mode?"coins":"xp"))),i("div",{class:"ExpireTime"},i("div",{class:"Label"}," ",h("endDate",this.language)," "),i("div",{class:"Value"},i("time-count-detail",{pid:this.powerUp.id,"expire-time":(n=this.powerUp,n.activatedAt&&n.status==l.ACTIVATED?p(n.activatedAt).add(n.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):n.expireTime),lang:this.language}))))),i("div",{class:"TermsUrl"},i("div",{class:"Label"},i("div",null," ",h("termsAndConditions",this.language)," "),i("div",{class:"GoToOpenIcon",innerHTML:'<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M2.87935 2.15646e-07L4 4.54064e-07C4.27614 4.54064e-07 4.5 0.223858 4.5 0.5C4.5 0.776143 4.27614 1 4 1H2.9C2.47171 1 2.18056 1.00039 1.95552 1.01878C1.73631 1.03669 1.62421 1.06915 1.54601 1.10899C1.35785 1.20487 1.20487 1.35785 1.10899 1.54601C1.06915 1.62421 1.03669 1.73631 1.01878 1.95552C1.00039 2.18056 1 2.47171 1 2.9V7.1C1 7.52829 1.00039 7.81944 1.01878 8.04448C1.03669 8.26369 1.06915 8.37579 1.10899 8.45399C1.20487 8.64215 1.35785 8.79513 1.54601 8.89101C1.62421 8.93085 1.73631 8.96331 1.95552 8.98122C2.18056 8.99961 2.47171 9 2.9 9H7.1C7.52829 9 7.81944 8.99961 8.04448 8.98122C8.26369 8.96331 8.37579 8.93085 8.45399 8.89101C8.64215 8.79513 8.79513 8.64215 8.89101 8.45399C8.93085 8.37579 8.96331 8.26369 8.98122 8.04448C8.99961 7.81944 9 7.52829 9 7.1V6C9 5.72386 9.22386 5.5 9.5 5.5C9.77614 5.5 10 5.72386 10 6V7.12066C10 7.52314 10 7.85532 9.9779 8.12591C9.95494 8.40696 9.90566 8.66531 9.78201 8.90798C9.59027 9.28431 9.28431 9.59027 8.90798 9.78201C8.66531 9.90566 8.40696 9.95494 8.12591 9.9779C7.85532 10 7.52314 10 7.12066 10H2.87934C2.47686 10 2.14468 10 1.87409 9.9779C1.59304 9.95494 1.33469 9.90566 1.09202 9.78201C0.715696 9.59027 0.409734 9.28431 0.217988 8.90798C0.094342 8.66531 0.0450599 8.40696 0.0220973 8.12591C-1.14068e-05 7.85532 -6.16205e-06 7.52314 2.15646e-07 7.12065V2.87935C-6.16205e-06 2.47687 -1.14068e-05 2.14469 0.0220973 1.87409C0.0450599 1.59304 0.094342 1.33469 0.217987 1.09202C0.409734 0.715695 0.715695 0.409734 1.09202 0.217987C1.33469 0.094342 1.59304 0.0450599 1.87409 0.0220973C2.14469 -1.14068e-05 2.47687 -6.16205e-06 2.87935 2.15646e-07ZM5.99999 0.500005C5.99999 0.223863 6.22385 5.22244e-06 6.49999 5.22244e-06H9.49999C9.77613 5.22244e-06 9.99999 0.223863 9.99999 0.500005L9.99999 3.5C9.99999 3.77615 9.77613 4 9.49999 4.00001C9.22385 4.00001 8.99999 3.77615 8.99999 3.50001L8.99999 1.70711L5.35355 5.35355C5.15829 5.54882 4.84171 5.54882 4.64645 5.35355C4.45119 5.15829 4.45118 4.84171 4.64645 4.64645L8.29288 1.00001H6.49999C6.22385 1.00001 5.99999 0.776148 5.99999 0.500005Z" fill="#00B541"/>\n</svg>\n'})),i("div",{class:"TextContent"},h("playResponsibly",this.language))),i("div",{class:"GamesWrapper Card CircleLinearBorder"},i("div",{class:"CircleInner"},i("div",{class:"FlexRow GamesHeader"},i("div",{class:"RowLeft"},i("div",{class:"GamesTitle"}," ",h("games",this.language)," "),i("div",{class:"GamesTotal TextContent"},"( ",this.powerUp.games.total," )")),i("div",{class:"RowRight",onClick:this.showMoreGames.bind(this)},i("div",{class:"TextContent"},h("seeAll",this.language)),i("div",{class:"DetailIcon"},i("div",{innerHTML:'<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M2.33398 2.3335L7.00065 7.00016L2.33398 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M7 2.3335L11.6667 7.00016L7 11.6668" stroke="white" stroke-width="0.952264" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n'})))),i("div",{class:"Games FlexRow"},i("div",{class:"Container"},this.powerUp.games.total&&this.powerUp.games.items.map((t=>i("div",{class:"Game"},i("ui-image",{src:t.thumbnail,onClick:this.onGameClick.bind(this,t)}),i("div",{class:"GameMask",onClick:this.onGameClick.bind(this,t)},i("div",{class:"GameStartBtn"},i("div",{class:"PlayIcon"}),i("span",null,h("playNow",this.language))))))))))))),this.powerUp&&this.powerUp.status!=l.ACTIVATED&&i("div",{key:"44470ba5515ded6757d1192d6b975d0ef2c2c62a",class:"BottomBar FlexRow "+(this.showConfirmModal?"Hidden":"")},i("div",{key:"87df12c59d2ac851be2e4ab9db92ce14981414c9",class:"ActiveTips"}," ",h(this.isPowering?"poweringTooltip":"activateTips",this.language)," "),this.powerUp&&(this.powerUp.status===l.ACTIVE||this.powerUp.status===l.ACTIVATING)&&i("div",{key:"42dfd1b3fae99671ac5eab9ca779febb1d129281",class:`ActiveBtn CircleLinearBorder ${this.isPowering?"Disabled":""} ${this.powerUp.status===l.ACTIVATING?"Activating":""}`,onClick:this.onActivateBtnClick.bind(this,this.powerUp)},i("div",{key:"e1eeb4580e78e74d400836b1865d7557f2b21b2c",class:"content"}," ",h("activate",this.language)))),this.showConfirmModal&&i("active-confirm-modal",{key:"24ac5ba87b6c21f45cbe86820568e630476ebc46","is-open":this.showConfirmModal,"powerup-id":this.powerupId,language:this.language}))}handleClientStylingChange(t,n){t!=n&&r(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(t,n){t!=n&&s(this.stylingContainer,this.clientStylingUrl)}handleMbSourceChange(t,n){t!=n&&o(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription)}componentDidLoad(){this.stylingContainer&&(this.mbSource&&o(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription),this.clientStyling&&r(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&s(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleNewTranslations(){u(this.translationUrl)}async componentWillLoad(){this.translationUrl&&await u(this.translationUrl),this.loadPowerUpById()}static get watchers(){return{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}}};Se.style=':host{display:block;height:100%}.IngamePowerUpDetailContainer{gap:5px;display:flex;padding:var(--emw--ingame-power-container-padding, 8px);height:100%;justify-content:space-between;flex-direction:column}.IngamePowerUpDetailContainer .Hidden{opacity:0 !important;transition:opacity 0.5s ease-in-out}.IngamePowerUpDetailContainer .CircleLinearBorder{position:relative;width:26px;height:26px;border-radius:20px;background:none;overflow:hidden;border:1.5px solid transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.IngamePowerUpDetailContainer .CircleLinearBorder svg{border-radius:20px;padding:4.5px;background:var(--emw--ingame-color-powerup-bg, rgba(9, 9, 9, 0.8980392157));z-index:1}.IngamePowerUpDetailContainer .CircleLinearBorder::before{content:"";position:absolute;top:-1.5px;left:-1.5px;right:-1.5px;bottom:-1.5px;z-index:-1;border-radius:21.5px;background:linear-gradient(0deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667)), var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.0666666667))), linear-gradient(35.22deg, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0)), var(--emw--ingame-color-white30, rgba(255, 255, 255, 0.5490196078)) 89.19%)}.IngamePowerUpDetailContainer .FlexRow{display:flex;flex-direction:row;width:100%}.IngamePowerUpDetailContainer .FlexRow .RowLeft,.IngamePowerUpDetailContainer .FlexRow .RowRight{display:flex;flex-direction:row;align-items:center}.IngamePowerUpDetailContainer .NoData,.IngamePowerUpDetailContainer .Loading{padding:15px}.IngamePowerUpDetailContainer .MainContainer{padding:15px;opacity:1}.IngamePowerUpDetailContainer .MainContainer.Hidden{opacity:0}.IngamePowerUpDetailContainer .TopBar{display:flex;align-items:center;padding:0}.IngamePowerUpDetailContainer .TopBar .ReturnIcon{width:26px;height:26px;display:flex;border-radius:20px;padding:0;backdrop-filter:blur(13.7647px);justify-content:center;align-items:center}.IngamePowerUpDetailContainer .TopBar .ReturnIcon svg{color:var(--emw--ingame-color-white60, #f0f0f0)}.IngamePowerUpDetailContainer .TopBar .Title{font-weight:600;font-size:1.2rem;line-height:100%;text-align:center;vertical-align:middle;flex:1;color:var(--emw--ingame-color-neutural-95, #EDEFF2);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.IngamePowerUpDetailContainer .DetailInfo .Description,.IngamePowerUpDetailContainer .DetailInfo .TextContent{font-weight:400;font-size:0.9rem;line-height:1.1rem;vertical-align:middle;color:var(--emw--ingame-color-white70, rgba(255, 255, 255, 0.6980392157))}.IngamePowerUpDetailContainer .DetailInfo .Card{margin-top:20px;width:100%;height:74px;color:var(--emw--ingame-color-black40, rgba(9, 9, 9, 0.5019607843));backdrop-filter:blur(22.9411773682px);display:flex;flex-direction:row;align-content:space-around;text-align:center}.IngamePowerUpDetailContainer .DetailInfo .Card .Label{color:var(--emw--ingame-color-neutural-95, #C9CACB)}.IngamePowerUpDetailContainer .DetailInfo .Card .Value{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .CircleLinearBorder::before{background:linear-gradient(0deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.1568627451)), var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.07))), linear-gradient(358deg, var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.15)) 33.61%, var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.11)) 89.19%);top:-1px;left:-1px;right:-1px;bottom:-1px;border-radius:21px}.IngamePowerUpDetailContainer .DetailInfo .CircleInner{background-color:var(--emw--ingame-color-neutural, rgba(9, 9, 9, 0.5019607843));width:calc(100% - 31px);border-radius:19px;z-index:1;padding:15px;height:calc(100% - 32px);align-items:center;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl{height:80px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label{color:#00B541;display:flex;justify-content:center;text-decoration:underline}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label .GoToOpenIcon{margin-left:10px}.IngamePowerUpDetailContainer .DetailInfo .Card.MultiplierContainer{width:100%}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper{height:126px;flex-direction:column;display:flex;justify-content:space-evenly}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader{justify-content:space-between}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowLeft{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .GamesTitle{color:var(--emw--ingame-color-text, #fff);line-height:150%;letter-spacing:0.9px;font-weight:600}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight{gap:5px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .GamesHeader .RowRight .DetailIcon{height:23px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Games{width:100%;overflow:Hidden}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Container{width:fit-content;display:flex}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game{height:60px;width:85px;margin:10px;position:relative}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask{display:none;transition:display;transition-duration:0.2s;opacity:0;position:absolute;width:70%;height:100%;font-size:0.85rem;color:var(--emw--ingame-color-text, #fff)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn{width:80px;height:22px;border-radius:8px;opacity:1;padding:4px 5px;background:linear-gradient(180deg, var(--emw--color-powup-green, #24B24E) 0%, var(--emw--color-powup-light-green, #18CE51) 100%);border:1px solid var(--emw--ingame-color-white, #FFFFFF);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game .GameMask .GameStartBtn .PlayIcon{background-image:url(\'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 11 11" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C3.01472 1 1 3.01472 1 5.5C1 7.98528 3.01472 10 5.5 10C7.98528 10 10 7.98528 10 5.5C10 3.01472 7.98528 1 5.5 1ZM0 5.5C0 2.46243 2.46243 0 5.5 0C8.53757 0 11 2.46243 11 5.5C11 8.53757 8.53757 11 5.5 11C2.46243 11 0 8.53757 0 5.5ZM5.12255 3.21652C5.12728 3.21956 5.13199 3.22259 5.13668 3.22561L7.49698 4.74294C7.50129 4.74571 7.50562 4.74849 7.50998 4.75129C7.58551 4.79982 7.66805 4.85285 7.73381 4.90413C7.80355 4.95852 7.91363 5.05446 7.97854 5.20809C8.0574 5.39471 8.0574 5.60529 7.97854 5.79191C7.91363 5.94554 7.80355 6.04148 7.73381 6.09587C7.66805 6.14715 7.58551 6.20018 7.50998 6.24871C7.50562 6.25151 7.50129 6.25429 7.49698 6.25706L5.13668 7.77439C5.13199 7.77741 5.12727 7.78045 5.12255 7.78348C5.03469 7.84 4.9423 7.89941 4.86094 7.94176C4.77909 7.98436 4.63056 8.05332 4.44657 8.04018C4.22957 8.02468 4.02999 7.91572 3.89961 7.74157C3.78907 7.59391 3.76675 7.43167 3.75832 7.33979C3.74995 7.24844 3.74997 7.1386 3.75 7.03414C3.75 7.02852 3.75 7.02292 3.75 7.01733V3.98267C3.75 3.97708 3.75 3.97148 3.75 3.96586C3.74997 3.8614 3.74995 3.75156 3.75832 3.66021C3.76675 3.56833 3.78907 3.40609 3.89961 3.25843C4.02999 3.08428 4.22957 2.97532 4.44657 2.95982C4.63056 2.94668 4.77909 3.01564 4.86094 3.05824C4.94231 3.10059 5.03469 3.16001 5.12255 3.21652ZM4.75 4.16583V6.83417L6.82537 5.5L4.75 4.16583Z" fill="white"/> <path d="M4.75 6.83417V4.16583L6.82537 5.5L4.75 6.83417Z" fill="white"/></svg>\');height:16px;width:16px;background-repeat:no-repeat;background-size:contain}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover img{opacity:0.4;filter:blur(1.5px)}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask{mix-blend-mode:screen;background-color:var(--emw--color-powup-green, #24B24E);display:flex;justify-content:center;align-items:center;position:absolute;width:100%;opacity:1;left:0;height:100%;top:0;border-radius:8px}.IngamePowerUpDetailContainer .DetailInfo .GamesWrapper .Game:hover .GameMask .GameStartBtn{opacity:1}.IngamePowerUpDetailContainer .ActiveBtn{color:var(--emw--ingame-color-black, #090909);position:relative;background:none;overflow:hidden;min-width:88px;height:36px;font-weight:bold;gap:10px;border-radius:20px;animation-duration:0ms}.IngamePowerUpDetailContainer .ActiveBtn.Disabled .content{background-color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2));color:var(--emw--ingame-color-white20, rgba(255, 255, 255, 0.2))}.IngamePowerUpDetailContainer .ActiveBtn.Disabled:hover,.IngamePowerUpDetailContainer .ActiveBtn.Disabled:before{box-shadow:none;background:none}.IngamePowerUpDetailContainer .ActiveBtn:hover{box-shadow:0px 0px 3px 5px var(--emw--ingame-color-white10, rgba(255, 255, 255, 0.1019607843))}.IngamePowerUpDetailContainer .ActiveBtn::before{content:"";position:absolute;top:-1px;left:-1px;right:-1px;bottom:-1px;z-index:1;border-radius:18px;background:linear-gradient(to top right, var(--emw--ingame-color-powerup-brightgreen, #00FA5A), var(--emw--ingame-color-powerup-brightblue, rgba(50, 237, 221, 0.8901960784)))}.IngamePowerUpDetailContainer .ActiveBtn .content{line-height:1.6;background:var(--emw--ingame-color-powerup-brightgreen, #00FA5A);border-radius:18px;padding:1px;height:calc(100% - 4px);width:calc(100% - 4px);text-align:center;align-items:center;display:flex;justify-content:center;z-index:1}.IngamePowerUpDetailContainer .BottomBar{width:calc(100% - 30px);height:60px;opacity:1;gap:8px;padding:15px;background:rgba(9, 9, 9, 0.8);border-top:2px solid;border-image-source:linear-gradient(89.94deg, var(--emw--ingame-color-powerup-primary2, #003E5C) 0.05%, var(--emw--ingame-color-powerup-primary1, #113B21) 87.69%);backdrop-filter:blur(32.1176490784px);border-image-slice:1;align-items:center;border-radius:0 0 20px 20px}.IngamePowerUpDetailContainer .BottomBar.Hidden{opacity:0}';export{Se as B,y as h,h as t}
@@ -1 +1 @@
1
- import{p as e,b as i}from"./index-334a1114.js";export{s as setNonce}from"./index-334a1114.js";import{g as t}from"./app-globals-0f993ce5.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((async e=>(await t(),i([["bonus-powerups-ingame-detail_5",[[1,"bonus-powerups-ingame-detail",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],pid:[513],powerupId:[514,"powerup-id"],isPowering:[516,"is-powering"],powerUp:[32],powerUpGames:[32],isLoading:[32],isLoadingGames:[32],limit:[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"]],{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"smart-loader"],[0,"time-count-detail",{expireTime:[1,"expire-time"],language:[1],pid:[520],displayTime:[32],isExpireInDay1:[32],timeLeft:[32]},null,{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e))));
1
+ import{p as e,b as i}from"./index-b0d6c89f.js";export{s as setNonce}from"./index-b0d6c89f.js";import{g as t}from"./app-globals-0f993ce5.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((async e=>(await t(),i([["bonus-powerups-ingame-detail_5",[[1,"bonus-powerups-ingame-detail",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],language:[513],endpoint:[513],session:[513],pid:[513],powerupId:[514,"powerup-id"],isPowering:[516,"is-powering"],powerUp:[32],powerUpGames:[32],isLoading:[32],isLoadingGames:[32],limit:[32],showConfirmModal:[32]},[[0,"showPowerupDetails","showPowerupDetailsHandler"],[16,"activePowerupEvent","activePowerupHandler"]],{session:["loadPowerUpById"],endpoint:["loadPowerUpById"],language:["loadPowerUpById"],pid:["loadPowerUpById"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],mbSource:["handleMbSourceChange"],translationUrl:["handleNewTranslations"]}],[0,"ui-image",{src:[1],width:[1],height:[1],alt:[1],styles:[8],detectDistance:[1,"detect-distance"],imgLoaded:[32],shouldLoad:[32]},null,{src:["handleSrc"]}],[0,"smart-loader"],[0,"time-count-detail",{expireTime:[1,"expire-time"],language:[1],pid:[520],displayTime:[32],isExpireInDay1:[32],timeLeft:[32]},null,{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e))));
@@ -1 +1 @@
1
- import{h as e,t}from"./bonus-powerups-ingame-detail-78a50d3f.js";export{B as bonus_powerups_ingame_detail}from"./bonus-powerups-ingame-detail-78a50d3f.js";import{r as i,h as s,c as n,H as a,g as r}from"./index-334a1114.js";const o=class{constructor(e){i(this,e)}render(){return s("div",{key:"b7d81127872a349887c76133eb8a7bcd3ab8d29e",class:"smart-loader"},s("div",{key:"21dfb7d7fe1fd3e0660603bc2d2464e057328228",class:"smart-item"}),s("div",{key:"fa22f3e3e5283b27fe3256669a0d67a2f85e135a",class:"smart-item"}),s("div",{key:"9fc3be4eb58ccebfa1803b12bf526e4cd2c9e013",class:"smart-item"}))}};o.style="@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:#00FA5A;border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";const l=class{constructor(e){i(this,e),this.timeCountDownEvent=n(this,"powerupTimeCountDown",7),this.expireTime=void 0,this.language="en",this.pid=void 0,this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}timeLeftChanged(){this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:this.timeLeft,pid:this.pid})}updateDisplayTime(){const i=e(),s=e(this.expireTime);if(!s.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const n=e.duration(s.diff(i));if(this.isExpireInDay1=!0,this.timeLeft=n.asMinutes(),n.asMilliseconds()<=0)return this.displayTime="00:00:00",clearInterval(this.timer),void this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:0,pid:this.pid});const a=Math.floor(n.asHours());if(a>=48)this.displayTime=`${Math.floor(n.asDays())} ${t("days",this.language)}`;else if(a>=24)this.displayTime="1 day";else{const e=a,t=n.minutes(),i=n.seconds();this.displayTime=[e,t,i].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&s("span",{key:"832c9d6dce83414d8d0fac874c2dfd7c0d0742bd",class:"Label"},t("expiresIn",this.language)," "),s("span",{key:"3f68f1ddc0f710cded68ba52305f44fc95603e1d",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}}},h=class{constructor(e){i(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=e.target.__uxComponent;t&&(t.shouldLoad=!0,t.handleSrc()),window.EMUxObserver.unobserve(e.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return s(a,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&s("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),s("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return r(this)}static get watchers(){return{src:["handleSrc"]}}};h.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";const c=class{constructor(e){i(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return 0===e?0:`${e}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return s("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return s("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map(((e,t)=>s("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")}))))}renderRectangle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`\n :host {\n --emw-skeleton-logo-width: ${this.stylingValue.width};\n --emw-skeleton-logo-height: ${this.stylingValue.height};\n --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"image":e=`\n :host {\n --emw-skeleton-image-width: ${this.stylingValue.width};\n --emw-skeleton-image-height: ${this.stylingValue.height};\n --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"title":e=`\n :host {\n --emw-skeleton-title-width: ${this.stylingValue.width};\n --emw-skeleton-title-height: ${this.stylingValue.height};\n --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"text":e=`\n :host {\n --emw-skeleton-text-width: ${this.stylingValue.width};\n --emw-skeleton-text-height: ${this.stylingValue.height};\n --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"rectangle":e=`\n :host {\n --emw-skeleton-rectangle-width: ${this.stylingValue.width};\n --emw-skeleton-rectangle-height: ${this.stylingValue.height};\n --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"circle":e=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:e=""}return s(a,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},s("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};c.style=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";export{o as smart_loader,l as time_count_detail,h as ui_image,c as ui_skeleton}
1
+ import{h as e,t}from"./bonus-powerups-ingame-detail-837465ac.js";export{B as bonus_powerups_ingame_detail}from"./bonus-powerups-ingame-detail-837465ac.js";import{r as i,h as s,c as n,H as a,g as r}from"./index-b0d6c89f.js";const o=class{constructor(e){i(this,e)}render(){return s("div",{key:"a83aa98cb8a07943ed48b66af6478e8edcf84e83",class:"smart-loader"},s("div",{key:"a2192fc53e7436de4e46e9eb9141cad569b1ecb4",class:"smart-item"}),s("div",{key:"f71c8489a78652840bc39f60b5e445af1d4c676f",class:"smart-item"}),s("div",{key:"db246a12ef00b6ed9fb504ec68a21cf582a4636d",class:"smart-item"}))}};o.style="@keyframes smart-animate1{0%{opacity:0.15;transform:translateX(0px)}35%{opacity:1;transform:translateX(36px)}75%{opacity:1;transform:translateX(0px)}100%{opacity:0.15;transform:translateX(0px)}}@keyframes smart-animate2{0%{opacity:1}35%{opacity:0.15}75%{opacity:0.5}100%{opacity:1}}@keyframes smart-animate3{0%{opacity:0.5;transform:translateX(0px)}35%{opacity:0.15;transform:translateX(-36px)}75%{opacity:0.15;transform:translateX(0px)}100%{opacity:0.5;transform:translateX(0px)}}.smart-loader{margin:50px auto;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100px;gap:10px}.smart-loader .smart-item{width:3px;height:20px;opacity:0.15;animation-delay:200ms;animation-duration:1000ms;animation-timing-function:ease-out;animation-fill-mode:forwards;padding:1px;margin:5px 0;background:#00FA5A;border-radius:4px;animation-iteration-count:infinite;animation-direction:normal}.smart-loader .smart-item:nth-child(1){animation-name:smart-animate1}.smart-loader .smart-item:nth-child(2){animation-name:smart-animate2;height:36px}.smart-loader .smart-item:nth-child(3){animation-name:smart-animate3}";const l=class{constructor(e){i(this,e),this.timeCountDownEvent=n(this,"powerupTimeCountDown",7),this.expireTime=void 0,this.language="en",this.pid=void 0,this.displayTime=void 0,this.isExpireInDay1=!1,this.timeLeft=void 0}componentWillLoad(){this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}disconnectedCallback(){clearInterval(this.timer)}startTimeChanged(){clearInterval(this.timer),this.timer=setInterval((()=>this.updateDisplayTime()),1e3),this.updateDisplayTime()}timeLeftChanged(){this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:this.timeLeft,pid:this.pid})}updateDisplayTime(){const i=e(),s=e(this.expireTime);if(!s.isValid())return this.displayTime="Invalid date",void clearInterval(this.timer);const n=e.duration(s.diff(i));if(this.isExpireInDay1=!0,this.timeLeft=n.asMinutes(),n.asMilliseconds()<=0)return this.displayTime="00:00:00",clearInterval(this.timer),void this.timeCountDownEvent.emit({type:"powerupTimeCountDown",timeLeft:0,pid:this.pid});const a=Math.floor(n.asHours());if(a>=48)this.displayTime=`${Math.floor(n.asDays())} ${t("days",this.language)}`;else if(a>=24)this.displayTime="1 day";else{const e=a,t=n.minutes(),i=n.seconds();this.displayTime=[e,t,i].map((e=>String(e).padStart(2,"0"))).join(":")}}render(){return[this.isExpireInDay1&&s("span",{key:"ea6c84c65bcf2df9f2b59d332cbb9f7b29c51c9c",class:"Label"},t("expiresIn",this.language)," "),s("span",{key:"675b6b81aa1388fe1d9d6231931e5fa32c0a998e",class:"TimeCountDown"},this.displayTime)]}static get watchers(){return{expireTime:["startTimeChanged"],timeLeft:["timeLeftChanged"]}}},h=class{constructor(e){i(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.alt=void 0,this.styles=void 0,this.detectDistance="200px",this.imgLoaded=!1,this.shouldLoad=!1}handleSrc(){if(!this.shouldLoad)return;const e=new Image;e.onload=()=>{this.image&&(this.image.src=this.src,this.imgLoaded=!0,e.onload=null)},e.src=this.src}componentDidLoad(){"IntersectionObserver"in window?(this.el.__uxComponent=this,window.EMUxObserver||(window.EMUxObserver=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const t=e.target.__uxComponent;t&&(t.shouldLoad=!0,t.handleSrc()),window.EMUxObserver.unobserve(e.target)}}))}),{rootMargin:this.detectDistance})),window.EMUxObserver.observe(this.el)):(this.shouldLoad=!0,this.handleSrc())}render(){return s(a,{key:"f506ba73852f257ad80bf59ca177d2065a5f365e",class:"HostContainer"},!this.imgLoaded&&s("ui-skeleton",{key:"564ebfab701f827ddc2debccb7615926dbc9e876",class:"UiContainer",structure:"image",width:"100%",height:"100%"}),s("img",{key:"2188ca4494c10587f064acc5459ffc468948f497",ref:e=>this.image=e,src:this.shouldLoad?this.src:void 0,onLoad:()=>this.imgLoaded=!0,style:this.styles,class:"UiContainer "+(this.imgLoaded?"Visible":"Hidden"),alt:this.alt,width:this.width,height:this.height,loading:"lazy"}))}get el(){return r(this)}static get watchers(){return{src:["handleSrc"]}}};h.style=".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}";const c=class{constructor(e){i(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return 0===e?0:`${e}px`;case"undefined":default:return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return s("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return s("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map(((e,t)=>s("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")}))))}renderRectangle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return s("div",{class:"SkeletonContainer"},s("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`\n :host {\n --emw-skeleton-logo-width: ${this.stylingValue.width};\n --emw-skeleton-logo-height: ${this.stylingValue.height};\n --emw-skeleton-logo-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-logo-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"image":e=`\n :host {\n --emw-skeleton-image-width: ${this.stylingValue.width};\n --emw-skeleton-image-height: ${this.stylingValue.height};\n --emw-skeleton-image-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-image-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"title":e=`\n :host {\n --emw-skeleton-title-width: ${this.stylingValue.width};\n --emw-skeleton-title-height: ${this.stylingValue.height};\n --emw-skeleton-title-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-title-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"text":e=`\n :host {\n --emw-skeleton-text-width: ${this.stylingValue.width};\n --emw-skeleton-text-height: ${this.stylingValue.height};\n --emw-skeleton-text-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-text-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"rectangle":e=`\n :host {\n --emw-skeleton-rectangle-width: ${this.stylingValue.width};\n --emw-skeleton-rectangle-height: ${this.stylingValue.height};\n --emw-skeleton-rectangle-border-radius: ${this.stylingValue.borderRadius};\n --emw-skeleton-rectangle-margin-bottom: ${this.stylingValue.marginBottom};\n --emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};\n --emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};\n --emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};\n }\n `;break;case"circle":e=`\n :host {\n --emw-skeleton-circle-size: ${this.stylingValue.size};\n }\n `;break;default:e=""}return s(a,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},s("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};c.style=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}";export{o as smart_loader,l as time_count_detail,h as ui_image,c as ui_skeleton}
@@ -1,2 +1,2 @@
1
1
  var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,m=[],y=[],$=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&f.l?w(v):f.raf(v))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{b(m),b(y),(d=m.length>0)&&f.raf(v)},w=e=>h().then(e),g=$(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>P,unwrapErr:()=>L});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x,P=e=>{if(e.isOk)return e.value;throw e.value},L=e=>{if(e.isErr)return e.value;throw e.value},R=(e,t,...n)=>{let l=null,o=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&i?r[r.length-1].i+=l:r.push(s?T(null,l):l),i=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=T(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=o,u},T=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),A={},F=e=>n(e).$hostElement$,H=(e,t,n)=>{const l=F(e);return{emit:e=>N(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},N=(e,t,n)=>{const l=f.ce(t,n);return e.dispatchEvent(l),l},U=new WeakMap,W=e=>"sc-"+e.v,D=(e,t,n,l,s,i)=>{if(n!==l){let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=G(n),s=G(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&i||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(V);t=t.replace(_,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},q=/\s/,G=e=>e?e.split(q):[],V="Capture",_=RegExp(V+"$"),z=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of B(Object.keys(o)))e in s||D(l,e,o[e],void 0,n,t.l);for(const e of B(Object.keys(s)))D(l,e,o[e],s[e],n,t.l)};function B(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var I=!1,J=(e,t,n)=>{const l=t.h[n];let o,s,i=0;if(null!==l.i)o=l.$=a.createTextNode(l.i);else if(o=l.$=a.createElement(l.m),z(null,l,I),null!=M&&o["s-si"]!==M&&o.classList.add(o["s-si"]=M),l.h)for(i=0;i<l.h.length;++i)s=J(e,l,i),s&&o.appendChild(s);return o["s-hn"]=x,o},K=(e,t,n,l,o,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===x&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=J(null,n,o),i&&(l[o].$=i,ee(r,i,t)))},Q=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;Z(t),e&&e.remove()}}},X=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),Y=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,i=t.i;null===i?(z(e,t,I),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=l.length-1,m=l[0],y=l[d];for(;r<=f&&c<=d;)if(null==h)h=t[++r];else if(null==p)p=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--d];else if(X(h,m,o))Y(h,m,o),h=t[++r],m=l[++c];else if(X(p,y,o))Y(p,y,o),p=t[--f],y=l[--d];else if(X(h,y,o))Y(h,y,o),ee(e,h.$,p.$.nextSibling),h=t[++r],y=l[--d];else if(X(p,m,o))Y(p,m,o),ee(e,p.$,h.$),p=t[--f],m=l[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(i=t[u],i.m!==m.m?s=J(t&&t[c],n,u):(Y(i,m,o),t[u]=void 0,s=i.$),m=l[++c]):(s=J(t&&t[c],n,c),m=l[++c]),s&&ee(h.$.parentNode,s,h.$)}r>f?K(e,null==l[d+1]?null:l[d+1].$,n,l,c,d):c>d&&Q(t,r,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),K(l,null,t,s,0,s.length-1)):null!==o&&Q(o,0,o.length-1)):e.i!==i&&(l.data=i)},Z=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(Z)},ee=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),te=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},ne=(e,t)=>{if(e.l|=16,!(4&e.l))return te(e,e.j),g((()=>le(e,t)));e.l|=512},le=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.k&&(e.k.map((([e,t])=>ae(n,e,t))),e.k=void 0),l=ae(n,"componentWillLoad")),oe(l,(()=>ie(e,n,t)))},oe=(e,t)=>se(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),se=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ie=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=W(t),o=r.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,i=U.get(e=e.head||e);if(i||U.set(e,i=new Set),!i.has(l)){{s=a.createElement("style"),s.innerHTML=o;const t=null!=(n=f.C)?n:k(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);re(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>ce(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},re=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,s=e.M||T(null,null),i=(e=>e&&e.m===A)(t)?t:R(null,null,t);if(x=l.tagName,o.P&&(i.u=i.u||{},o.P.map((([e,t])=>i.u[t]=l[e]))),n&&i.u)for(const e of Object.keys(i.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=l[e]);i.m=null,i.l|=4,e.M=i,i.$=s.$=l.shadowRoot||l,M=l["s-sc"],Y(s,i,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},ce=e=>{const t=e.$hostElement$,n=e.t,l=e.j;64&e.l||(e.l|=64,fe(t),ae(n,"componentDidLoad"),e.L(t),l||ue()),e.S&&(e.S(),e.S=void 0),512&e.l&&w((()=>ne(e,!1))),e.l&=-517},ue=()=>{fe(a.documentElement),w((()=>N(u,"appload",{detail:{namespace:"bonus-powerups-ingame-detail"}})))},ae=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},fe=e=>e.classList.add("hydrated"),he=(e,t,l)=>{var o,i;const r=e.prototype;if(t.R||t.T||e.watchers){e.watchers&&!t.T&&(t.T=e.watchers);const c=Object.entries(null!=(o=t.R)?o:{});if(c.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).A.get(t))(0,e)},set(l){((e,t,l,o)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.A.get(t),u=i.l,a=i.t;if(l=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.R[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(i.A.set(t,l),a)){if(o.T&&128&u){const e=o.T[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,r)}}))}2==(18&u)&&ne(i,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.T)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.T)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.P)||o.push([e,s])),s}))]))}}return e},pe=e=>{ae(e,"disconnectedCallback")},de=(e,l={})=>{var o;const h=[],d=l.exclude||[],m=u.customElements,y=a.head,$=y.querySelector("meta[charset]"),b=a.createElement("style"),v=[];let w,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],v:l[1],R:l[2],F:l[3]};4&c.l&&(S=!0),c.R=l[2],c.F=l[3],c.P=[],c.T=null!=(o=l[4])?o:{};const u=c.v,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,A:new Map};l.H=new Promise((e=>l.L=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,me(this,e,c.F)),w&&(clearTimeout(w),w=null),g?v.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.O,o=()=>{};if(1&t.l)me(e,t,l.F),(null==t?void 0:t.t)||(null==t?void 0:t.H)&&t.H.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){te(t,t.j=n);break}}l.R&&Object.entries(l.R).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.N){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.N;if(!n)return;const l=i.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.U}" was not found`);l.isProxied||(n.T=l.watchers,he(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=W(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>ne(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);e.W&&(e.W.map((e=>e())),e.W=void 0),(null==e?void 0:e.t)?pe(e.t):(null==e?void 0:e.H)&&e.H.then((()=>pe(e.t)))}})()))}componentOnReady(){return n(this).H}};c.N=e[0],d.includes(u)||m.get(u)||(h.push(u),m.define(u,he(a,c,1)))}))})),h.length>0&&(S&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const e=null!=(o=f.C)?o:k(a);null!=e&&b.setAttribute("nonce",e),y.insertBefore(b,$?$.nextSibling:y.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>w=setTimeout(ue,30)))},me=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=e,i=ye(t,o),r=$e(n);f.ael(s,l,i,r),(t.W=t.W||[]).push((()=>f.rel(s,l,i,r)))}))},ye=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.k=e.k||[]).push([t,n])}catch(e){s(e)}},$e=e=>({passive:!!(1&e),capture:!!(2&e)}),be=e=>f.C=e;export{A as H,de as b,H as c,F as g,R as h,h as p,l as r,be as s}
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.U}" was not found`);l.isProxied||(n.T=l.watchers,he(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=W(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>ne(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);e.W&&(e.W.map((e=>e())),e.W=void 0),(null==e?void 0:e.t)?pe(e.t):(null==e?void 0:e.H)&&e.H.then((()=>pe(e.t)))}})()))}componentOnReady(){return n(this).H}};c.N=e[0],d.includes(u)||m.get(u)||(h.push(u),m.define(u,he(a,c,1)))}))})),h.length>0&&(S&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const e=null!=(o=f.C)?o:k(a);null!=e&&b.setAttribute("nonce",e),y.insertBefore(b,$?$.nextSibling:y.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>w=setTimeout(ue,30)))},me=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=$e(e,n),i=ye(t,o),r=be(n);f.ael(s,l,i,r),(t.W=t.W||[]).push((()=>f.rel(s,l,i,r)))}))},ye=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.k=e.k||[]).push([t,n])}catch(e){s(e)}},$e=(e,t)=>16&t?a.body:e,be=e=>({passive:!!(1&e),capture:!!(2&e)}),ve=e=>f.C=e;export{A as H,de as b,H as c,F as g,R as h,h as p,l as r,ve as s}
@@ -1 +1 @@
1
- export{B as BonusPowerupsIngameDetail}from"./bonus-powerups-ingame-detail-78a50d3f.js";import"./index-334a1114.js";
1
+ export{B as BonusPowerupsIngameDetail}from"./bonus-powerups-ingame-detail-837465ac.js";import"./index-b0d6c89f.js";