@everymatrix/bonus-powerups-ingame-detail 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail-5c496211.js +11 -0
- package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.esm.js +1 -1
- package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail_5.entry.js +1 -1
- package/dist/bonus-powerups-ingame-detail/index.esm.js +1 -1
- package/dist/cjs/{bonus-powerups-ingame-detail-239d2313.js → bonus-powerups-ingame-detail-890cdb8d.js} +27 -9
- package/dist/cjs/bonus-powerups-ingame-detail.cjs.js +1 -1
- package/dist/cjs/bonus-powerups-ingame-detail_5.cjs.entry.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.css +3 -2
- package/dist/collection/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.js +47 -14
- package/dist/collection/utils/constants.js +1 -1
- package/dist/collection/utils/locale.utils.js +2 -0
- package/dist/esm/{bonus-powerups-ingame-detail-837465ac.js → bonus-powerups-ingame-detail-5c496211.js} +27 -9
- package/dist/esm/bonus-powerups-ingame-detail.js +1 -1
- package/dist/esm/bonus-powerups-ingame-detail_5.entry.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/bonus-powerups-ingame-detail/.stencil/libs/common/src/types/casino/powerups.d.ts +3 -2
- package/dist/types/components/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail.d.ts +3 -2
- package/dist/types/components.d.ts +6 -4
- package/package.json +1 -1
- package/dist/bonus-powerups-ingame-detail/bonus-powerups-ingame-detail-837465ac.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",endsIn:"Ends in",days:"Days",xp:"XP",coins:"Coins",minutes:"min",rounds:"rounds",round:"round",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,usedNumberOfRounds,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)"},v='<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';"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;var p={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 I=/(\[[^\[]*\])|(\\)?([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,H=/(\[[^\[]*\])|(\\)?(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(I);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(H.lastIndex=0;i>=0&&H.test(t);)t=t.replace(H,e),H.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 It="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ht="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:It,monthsShort:Ht,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||""),Hn(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]),Ht.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 In(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 Hn(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(I)||[]).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])),In(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],Hn(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?Hn(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)})),In(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)})),In(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 Ii(t,n,i,e){var r=gn(),s=f().set(e,n);return r[i](s,t)}function Hi(t,n,i){if(h(t)&&(n=t,t=void 0),t=t||"",null!=n)return Ii(t,n,i,"month");var e,r=[];for(e=0;e<12;e++)r[e]=Ii(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 Ii(n,(i+o)%7,e,"day");for(r=0;r<7;r++)a[r]=Ii(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(I).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 Hi(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 Hi(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}()}(p);const g=p.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 w,y;function D(){return w.apply(null,arguments)}function Y(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function M(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function b(t,n){return Object.prototype.hasOwnProperty.call(t,n)}function S(t){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(t).length;var n;for(n in t)if(b(t,n))return!1;return!0}function N(t){return void 0===t}function k(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function x(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 T(t,n){for(var i in n)b(n,i)&&(t[i]=n[i]);return b(n,"toString")&&(t.toString=n.toString),b(n,"valueOf")&&(t.valueOf=n.valueOf),t}function G(t,n,i,e){return Vn(t,n,i,e,!0).utc()}function I(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=I(t),i=y.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 _(t){var n=G(NaN);return null!=t?T(I(n),t):I(n).userInvalidated=!0,n}y=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 W=D.momentProperties=[],E=!1;function L(t,n){var i,e,r,s=W.length;if(N(n._isAMomentObject)||(t._isAMomentObject=n._isAMomentObject),N(n._i)||(t._i=n._i),N(n._f)||(t._f=n._f),N(n._l)||(t._l=n._l),N(n._strict)||(t._strict=n._strict),N(n._tzm)||(t._tzm=n._tzm),N(n._isUTC)||(t._isUTC=n._isUTC),N(n._offset)||(t._offset=n._offset),N(n._pf)||(t._pf=I(n)),N(n._locale)||(t._locale=n._locale),s>0)for(i=0;i<s;i++)N(r=n[e=W[i]])||(t[e]=r);return t}function A(t){L(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===E&&(E=!0,D.updateOffset(this),E=!1)}function U(t){return t instanceof A||null!=t&&null!=t._isAMomentObject}function P(t){!1===D.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function F(t,n){var i=!0;return T((function(){if(null!=D.deprecationHandler&&D.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])b(arguments[0],s)&&(e+=s+": "+arguments[0][s]+", ");e=e.slice(0,-2)}else e=arguments[r];o.push(e)}P(t+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),i=!1}return n.apply(this,arguments)}),n)}var R,j={};function O(t,n){null!=D.deprecationHandler&&D.deprecationHandler(t,n),j[t]||(P(n),j[t]=!0)}function Z(t){return"undefined"!=typeof Function&&t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function B(t,n){var i,e=T({},t);for(i in n)b(n,i)&&(M(t[i])&&M(n[i])?(e[i]={},T(e[i],t[i]),T(e[i],n[i])):null!=n[i]?e[i]=n[i]:delete e[i]);for(i in t)b(t,i)&&!b(n,i)&&M(t[i])&&(e[i]=T({},e[i]));return e}function $(t){null!=t&&this.set(t)}function z(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}D.suppressDeprecationWarnings=!1,D.deprecationHandler=null,R=Object.keys?Object.keys:function(t){var n,i=[];for(n in t)b(t,n)&&i.push(n);return i};var q=/(\[[^\[]*\])|(\\)?([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,J=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},Q={};function X(t,n,i,e){var r=e;"string"==typeof e&&(r=function(){return this[e]()}),t&&(Q[t]=r),n&&(Q[n[0]]=function(){return z(r.apply(this,arguments),n[1],n[2])}),i&&(Q[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function K(t,n){return t.isValid()?(n=tt(n,t.localeData()),V[n]=V[n]||function(t){var n,i,e,r=t.match(q);for(n=0,i=r.length;n<i;n++)r[n]=Q[r[n]]?Q[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+=Z(r[e])?r[e].call(n,t):r[e];return s}}(n),V[n](t)):t.localeData().invalidDate()}function tt(t,n){var i=5;function e(t){return n.longDateFormat(t)||t}for(J.lastIndex=0;i>=0&&J.test(t);)t=t.replace(J,e),J.lastIndex=0,i-=1;return t}var nt={};function it(t,n){var i=t.toLowerCase();nt[i]=nt[i+"s"]=nt[n]=t}function et(t){return"string"==typeof t?nt[t]||nt[t.toLowerCase()]:void 0}function rt(t){var n,i,e={};for(i in t)b(t,i)&&(n=et(i))&&(e[n]=t[i]);return e}var st={};function ot(t,n){st[t]=n}function at(t){return t%4==0&&t%100!=0||t%400==0}function ut(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function ht(t){var n=+t,i=0;return 0!==n&&isFinite(n)&&(i=ut(n)),i}function dt(t,n){return function(i){return null!=i?(lt(this,t,i),D.updateOffset(this,n),this):ct(this,t)}}function ct(t,n){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+n]():NaN}function lt(t,n,i){t.isValid()&&!isNaN(i)&&("FullYear"===n&&at(t.year())&&1===t.month()&&29===t.date()?(i=ht(i),t._d["set"+(t._isUTC?"UTC":"")+n](i,t.month(),zt(i,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+n](i))}var ft,mt=/\d/,vt=/\d\d/,pt=/\d{3}/,gt=/\d{4}/,wt=/[+-]?\d{6}/,yt=/\d\d?/,Dt=/\d\d\d\d?/,Yt=/\d\d\d\d\d\d?/,Mt=/\d{1,3}/,bt=/\d{1,4}/,St=/[+-]?\d{1,6}/,Nt=/\d+/,kt=/[+-]?\d+/,xt=/Z|[+-]\d\d:?\d\d/gi,Ct=/Z|[+-]\d\d(?::?\d\d)?/gi,Tt=/[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 Gt(t,n,i){ft[t]=Z(n)?n:function(t){return t&&i?i:n}}function It(t,n){return b(ft,t)?ft[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,"\\$&")}ft={};var _t={};function Wt(t,n){var i,e,r=n;for("string"==typeof t&&(t=[t]),k(n)&&(r=function(t,i){i[n]=ht(t)}),e=t.length,i=0;i<e;i++)_t[t[i]]=r}function Et(t,n){Wt(t,(function(t,i,e,r){e._w=e._w||{},n(t,e._w,e,r)}))}function Lt(t,n,i){null!=n&&b(_t,t)&&_t[t](n,i._a,i,t)}var At,Ut=0,Pt=1,Ft=2,Rt=3,jt=4,Ot=5,Zt=6,Bt=7,$t=8;function zt(t,n){if(isNaN(t)||isNaN(n))return NaN;var i=(n%12+12)%12;return t+=(n-i)/12,1===i?at(t)?29:28:31-i%7%2}At=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},X("M",["MM",2],"Mo",(function(){return this.month()+1})),X("MMM",0,0,(function(t){return this.localeData().monthsShort(this,t)})),X("MMMM",0,0,(function(t){return this.localeData().months(this,t)})),it("month","M"),ot("month",8),Gt("M",yt),Gt("MM",yt,vt),Gt("MMM",(function(t,n){return n.monthsShortRegex(t)})),Gt("MMMM",(function(t,n){return n.monthsRegex(t)})),Wt(["M","MM"],(function(t,n){n[Pt]=ht(t)-1})),Wt(["MMM","MMMM"],(function(t,n,i,e){var r=i._locale.monthsParse(t,e,i._strict);null!=r?n[Pt]=r:I(i).invalidMonth=t}));var qt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Jt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Vt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Qt=Tt,Xt=Tt;function Kt(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=G([2e3,e]),this._shortMonthsParse[e]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[e]=this.months(s,"").toLocaleLowerCase();return i?"MMM"===n?-1!==(r=At.call(this._shortMonthsParse,o))?r:null:-1!==(r=At.call(this._longMonthsParse,o))?r:null:"MMM"===n?-1!==(r=At.call(this._shortMonthsParse,o))||-1!==(r=At.call(this._longMonthsParse,o))?r:null:-1!==(r=At.call(this._longMonthsParse,o))||-1!==(r=At.call(this._shortMonthsParse,o))?r:null}function tn(t,n){var i;if(!t.isValid())return t;if("string"==typeof n)if(/^\d+$/.test(n))n=ht(n);else if(!k(n=t.localeData().monthsParse(n)))return t;return i=Math.min(t.date(),zt(t.year(),n)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](n,i),t}function nn(t){return null!=t?(tn(this,t),D.updateOffset(this,!0),this):ct(this,"Month")}function en(){function t(t,n){return n.length-t.length}var n,i,e=[],r=[],s=[];for(n=0;n<12;n++)i=G([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 rn(t){return at(t)?366:365}X("Y",0,0,(function(){var t=this.year();return t<=9999?z(t,4):"+"+t})),X(0,["YY",2],0,(function(){return this.year()%100})),X(0,["YYYY",4],0,"year"),X(0,["YYYYY",5],0,"year"),X(0,["YYYYYY",6,!0],0,"year"),it("year","y"),ot("year",1),Gt("Y",kt),Gt("YY",yt,vt),Gt("YYYY",bt,gt),Gt("YYYYY",St,wt),Gt("YYYYYY",St,wt),Wt(["YYYYY","YYYYYY"],Ut),Wt("YYYY",(function(t,n){n[Ut]=2===t.length?D.parseTwoDigitYear(t):ht(t)})),Wt("YY",(function(t,n){n[Ut]=D.parseTwoDigitYear(t)})),Wt("Y",(function(t,n){n[Ut]=parseInt(t,10)})),D.parseTwoDigitYear=function(t){return ht(t)+(ht(t)>68?1900:2e3)};var sn=dt("FullYear",!0);function on(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 an(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 un(t,n,i){var e=7+n-i;return-(7+an(t,0,e).getUTCDay()-n)%7+e-1}function hn(t,n,i,e,r){var s,o,a=1+7*(n-1)+(7+i-e)%7+un(t,e,r);return a<=0?o=rn(s=t-1)+a:a>rn(t)?(s=t+1,o=a-rn(t)):(s=t,o=a),{year:s,dayOfYear:o}}function dn(t,n,i){var e,r,s=un(t.year(),n,i),o=Math.floor((t.dayOfYear()-s-1)/7)+1;return o<1?e=o+cn(r=t.year()-1,n,i):o>cn(t.year(),n,i)?(e=o-cn(t.year(),n,i),r=t.year()+1):(r=t.year(),e=o),{week:e,year:r}}function cn(t,n,i){var e=un(t,n,i),r=un(t+1,n,i);return(rn(t)-e+r)/7}function ln(t,n){return t.slice(n,7).concat(t.slice(0,n))}X("w",["ww",2],"wo","week"),X("W",["WW",2],"Wo","isoWeek"),it("week","w"),it("isoWeek","W"),ot("week",5),ot("isoWeek",5),Gt("w",yt),Gt("ww",yt,vt),Gt("W",yt),Gt("WW",yt,vt),Et(["w","ww","W","WW"],(function(t,n,i,e){n[e.substr(0,1)]=ht(t)})),X("d",0,"do","day"),X("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),X("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),X("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),X("e",0,0,"weekday"),X("E",0,0,"isoWeekday"),it("day","d"),it("weekday","e"),it("isoWeekday","E"),ot("day",11),ot("weekday",11),ot("isoWeekday",11),Gt("d",yt),Gt("e",yt),Gt("E",yt),Gt("dd",(function(t,n){return n.weekdaysMinRegex(t)})),Gt("ddd",(function(t,n){return n.weekdaysShortRegex(t)})),Gt("dddd",(function(t,n){return n.weekdaysRegex(t)})),Et(["dd","ddd","dddd"],(function(t,n,i,e){var r=i._locale.weekdaysParse(t,e,i._strict);null!=r?n.d=r:I(i).invalidWeekday=t})),Et(["d","e","E"],(function(t,n,i,e){n[e]=ht(t)}));var fn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),mn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vn="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),pn=Tt,gn=Tt,wn=Tt;function yn(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=G([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=At.call(this._weekdaysParse,o))?r:null:"ddd"===n?-1!==(r=At.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=At.call(this._minWeekdaysParse,o))?r:null:"dddd"===n?-1!==(r=At.call(this._weekdaysParse,o))||-1!==(r=At.call(this._shortWeekdaysParse,o))||-1!==(r=At.call(this._minWeekdaysParse,o))?r:null:"ddd"===n?-1!==(r=At.call(this._shortWeekdaysParse,o))||-1!==(r=At.call(this._weekdaysParse,o))||-1!==(r=At.call(this._minWeekdaysParse,o))?r:null:-1!==(r=At.call(this._minWeekdaysParse,o))||-1!==(r=At.call(this._weekdaysParse,o))||-1!==(r=At.call(this._shortWeekdaysParse,o))?r:null}function Dn(){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=G([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 Yn(){return this.hours()%12||12}function Mn(t,n){X(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function bn(t,n){return n._meridiemParse}X("H",["HH",2],0,"hour"),X("h",["hh",2],0,Yn),X("k",["kk",2],0,(function(){return this.hours()||24})),X("hmm",0,0,(function(){return""+Yn.apply(this)+z(this.minutes(),2)})),X("hmmss",0,0,(function(){return""+Yn.apply(this)+z(this.minutes(),2)+z(this.seconds(),2)})),X("Hmm",0,0,(function(){return""+this.hours()+z(this.minutes(),2)})),X("Hmmss",0,0,(function(){return""+this.hours()+z(this.minutes(),2)+z(this.seconds(),2)})),Mn("a",!0),Mn("A",!1),it("hour","h"),ot("hour",13),Gt("a",bn),Gt("A",bn),Gt("H",yt),Gt("h",yt),Gt("k",yt),Gt("HH",yt,vt),Gt("hh",yt,vt),Gt("kk",yt,vt),Gt("hmm",Dt),Gt("hmmss",Yt),Gt("Hmm",Dt),Gt("Hmmss",Yt),Wt(["H","HH"],Rt),Wt(["k","kk"],(function(t,n){var i=ht(t);n[Rt]=24===i?0:i})),Wt(["a","A"],(function(t,n,i){i._isPm=i._locale.isPM(t),i._meridiem=t})),Wt(["h","hh"],(function(t,n,i){n[Rt]=ht(t),I(i).bigHour=!0})),Wt("hmm",(function(t,n,i){var e=t.length-2;n[Rt]=ht(t.substr(0,e)),n[jt]=ht(t.substr(e)),I(i).bigHour=!0})),Wt("hmmss",(function(t,n,i){var e=t.length-4,r=t.length-2;n[Rt]=ht(t.substr(0,e)),n[jt]=ht(t.substr(e,2)),n[Ot]=ht(t.substr(r)),I(i).bigHour=!0})),Wt("Hmm",(function(t,n){var i=t.length-2;n[Rt]=ht(t.substr(0,i)),n[jt]=ht(t.substr(i))})),Wt("Hmmss",(function(t,n){var i=t.length-4,e=t.length-2;n[Rt]=ht(t.substr(0,i)),n[jt]=ht(t.substr(i,2)),n[Ot]=ht(t.substr(e))}));var Sn,Nn=dt("Hours",!0),kn={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:qt,monthsShort:Jt,week:{dow:0,doy:6},weekdays:fn,weekdaysMin:vn,weekdaysShort:mn,meridiemParse:/[ap]\.?m?\.?/i},xn={},Cn={};function Tn(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 Gn(t){return t?t.toLowerCase().replace("_","-"):t}function In(t){var n=null;if(void 0===xn[t]&&"undefined"!=typeof module&&module&&module.exports&&function(t){return null!=t.match("^[^/\\\\]*$")}(t))try{n=Sn._abbr,require("./locale/"+t),Hn(n)}catch(n){xn[t]=null}return xn[t]}function Hn(t,n){var i;return t&&((i=N(n)?Wn(t):_n(t,n))?Sn=i:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Sn._abbr}function _n(t,n){if(null!==n){var i,e=kn;if(n.abbr=t,null!=xn[t])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),e=xn[t]._config;else if(null!=n.parentLocale)if(null!=xn[n.parentLocale])e=xn[n.parentLocale]._config;else{if(null==(i=In(n.parentLocale)))return Cn[n.parentLocale]||(Cn[n.parentLocale]=[]),Cn[n.parentLocale].push({name:t,config:n}),null;e=i._config}return xn[t]=new $(B(e,n)),Cn[t]&&Cn[t].forEach((function(t){_n(t.name,t.config)})),Hn(t),xn[t]}return delete xn[t],null}function Wn(t){var n;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Sn;if(!Y(t)){if(n=In(t))return n;t=[t]}return function(t){for(var n,i,e,r,s=0;s<t.length;){for(n=(r=Gn(t[s]).split("-")).length,i=(i=Gn(t[s+1]))?i.split("-"):null;n>0;){if(e=In(r.slice(0,n).join("-")))return e;if(i&&i.length>=n&&Tn(r,i)>=n-1)break;n--}s++}return Sn}(t)}function En(t){var n,i=t._a;return i&&-2===I(t).overflow&&(n=i[Pt]<0||i[Pt]>11?Pt:i[Ft]<1||i[Ft]>zt(i[Ut],i[Pt])?Ft:i[Rt]<0||i[Rt]>24||24===i[Rt]&&(0!==i[jt]||0!==i[Ot]||0!==i[Zt])?Rt:i[jt]<0||i[jt]>59?jt:i[Ot]<0||i[Ot]>59?Ot:i[Zt]<0||i[Zt]>999?Zt:-1,I(t)._overflowDayOfYear&&(n<Ut||n>Ft)&&(n=Ft),I(t)._overflowWeeks&&-1===n&&(n=Bt),I(t)._overflowWeekday&&-1===n&&(n=$t),I(t).overflow=n),t}var 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=/^\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)?)?$/,Un=/Z|[+-]\d\d(?::?\d\d)?/,Pn=[["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]],Fn=[["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/]],Rn=/^\/?Date\((-?\d+)/i,jn=/^(?:(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}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(t){var n,i,e,r,s,o,a=t._i,u=Ln.exec(a)||An.exec(a),h=Pn.length,d=Fn.length;if(u){for(I(t).iso=!0,n=0,i=h;n<i;n++)if(Pn[n][1].exec(u[1])){r=Pn[n][0],e=!1!==Pn[n][2];break}if(null==r)return void(t._isValid=!1);if(u[3]){for(n=0,i=d;n<i;n++)if(Fn[n][1].exec(u[3])){s=(u[2]||" ")+Fn[n][0];break}if(null==s)return void(t._isValid=!1)}if(!e&&null!=s)return void(t._isValid=!1);if(u[4]){if(!Un.exec(u[4]))return void(t._isValid=!1);o="Z"}t._f=r+(s||"")+(o||""),qn(t)}else t._isValid=!1}function Bn(t){var n,i,e,r,s,o,a,u,h,d=jn.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),Jt.indexOf(i),parseInt(e,10),parseInt(r,10),parseInt(s,10)],o&&a.push(parseInt(o,10)),!function(t,n,i){return!t||mn.indexOf(t)===new Date(n[0],n[1],n[2]).getDay()||(I(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 On[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=an.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),I(t).rfc2822=!0}else t._isValid=!1}function $n(t,n,i){return null!=t?t:null!=n?n:i}function zn(t){var n,i,e,r,s,o=[];if(!t._d){for(e=function(t){var n=new Date(D.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}(t),t._w&&null==t._a[Ft]&&null==t._a[Pt]&&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=$n(n.GG,t._a[Ut],dn(Qn(),1,4).year),e=$n(n.W,1),((r=$n(n.E,1))<1||r>7)&&(u=!0)):(s=t._locale._week.dow,o=t._locale._week.doy,h=dn(Qn(),s,o),i=$n(n.gg,t._a[Ut],h.year),e=$n(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>cn(i,s,o)?I(t)._overflowWeeks=!0:null!=u?I(t)._overflowWeekday=!0:(a=hn(i,e,r,s,o),t._a[Ut]=a.year,t._dayOfYear=a.dayOfYear)}(t),null!=t._dayOfYear&&(s=$n(t._a[Ut],e[Ut]),(t._dayOfYear>rn(s)||0===t._dayOfYear)&&(I(t)._overflowDayOfYear=!0),i=an(s,0,t._dayOfYear),t._a[Pt]=i.getUTCMonth(),t._a[Ft]=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[Rt]&&0===t._a[jt]&&0===t._a[Ot]&&0===t._a[Zt]&&(t._nextDay=!0,t._a[Rt]=0),t._d=(t._useUTC?an:on).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[Rt]=24),t._w&&void 0!==t._w.d&&t._w.d!==r&&(I(t).weekdayMismatch=!0)}}function qn(t){if(t._f!==D.ISO_8601)if(t._f!==D.RFC_2822){t._a=[],I(t).empty=!0;var n,i,e,r,s,o,a,u=""+t._i,h=u.length,d=0;for(a=(e=tt(t._f,t._locale).match(q)||[]).length,n=0;n<a;n++)(i=(u.match(It(r=e[n],t))||[])[0])&&((s=u.substr(0,u.indexOf(i))).length>0&&I(t).unusedInput.push(s),u=u.slice(u.indexOf(i)+i.length),d+=i.length),Q[r]?(i?I(t).empty=!1:I(t).unusedTokens.push(r),Lt(r,i,t)):t._strict&&!i&&I(t).unusedTokens.push(r);I(t).charsLeftOver=h-d,u.length>0&&I(t).unusedInput.push(u),t._a[Rt]<=12&&!0===I(t).bigHour&&t._a[Rt]>0&&(I(t).bigHour=void 0),I(t).parsedDateParts=t._a.slice(0),I(t).meridiem=t._meridiem,t._a[Rt]=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[Rt],t._meridiem),null!==(o=I(t).era)&&(t._a[Ut]=t._locale.erasConvertYear(o,t._a[Ut])),zn(t),En(t)}else Bn(t);else Zn(t)}function Jn(t){var n=t._i,i=t._f;return t._locale=t._locale||Wn(t._l),null===n||void 0===i&&""===n?_({nullInput:!0}):("string"==typeof n&&(t._i=n=t._locale.preparse(n)),U(n)?new A(En(n)):(x(n)?t._d=n:Y(i)?function(t){var n,i,e,r,s,o,a=!1,u=t._f.length;if(0===u)return I(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;r<u;r++)s=0,o=!1,n=L({},t),null!=t._useUTC&&(n._useUTC=t._useUTC),n._f=t._f[r],qn(n),H(n)&&(o=!0),s+=I(n).charsLeftOver,s+=10*I(n).unusedTokens.length,I(n).score=s,a?s<e&&(e=s,i=n):(null==e||s<e||o)&&(e=s,i=n,o&&(a=!0));T(t,i||n)}(t):i?qn(t):function(t){var n=t._i;N(n)?t._d=new Date(D.now()):x(n)?t._d=new Date(n.valueOf()):"string"==typeof n?function(t){var n=Rn.exec(t._i);null===n?(Zn(t),!1===t._isValid&&(delete t._isValid,Bn(t),!1===t._isValid&&(delete t._isValid,t._strict?t._isValid=!1:D.createFromInputFallback(t)))):t._d=new Date(+n[1])}(t):Y(n)?(t._a=C(n.slice(0),(function(t){return parseInt(t,10)})),zn(t)):M(n)?function(t){if(!t._d){var n=rt(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)})),zn(t)}}(t):k(n)?t._d=new Date(n):D.createFromInputFallback(t)}(t),H(t)||(t._d=null),t))}function Vn(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),(M(t)&&S(t)||Y(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 A(En(Jn(o))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Qn(t,n,i,e){return Vn(t,n,i,e,!1)}D.createFromInputFallback=F("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":""))})),D.ISO_8601=function(){},D.RFC_2822=function(){};var Xn=F("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Qn.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:_()})),Kn=F("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var t=Qn.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:_()}));function ti(t,n){var i,e;if(1===n.length&&Y(n[0])&&(n=n[0]),!n.length)return Qn();for(i=n[0],e=1;e<n.length;++e)n[e].isValid()&&!n[e][t](i)||(i=n[e]);return i}var ni=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ii(t){var n=rt(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=ni.length;for(n in t)if(b(t,n)&&(-1===At.call(ni,n)||null!=t[n]&&isNaN(t[n])))return!1;for(i=0;i<r;++i)if(t[ni[i]]){if(e)return!1;parseFloat(t[ni[i]])!==ht(t[ni[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=Wn(),this._bubble()}function ei(t){return t instanceof ii}function ri(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function si(t,n){X(t,0,0,(function(){var t=this.utcOffset(),i="+";return t<0&&(t=-t,i="-"),i+z(~~(t/60),2)+n+z(~~t%60,2)}))}si("Z",":"),si("ZZ",""),Gt("Z",Ct),Gt("ZZ",Ct),Wt(["Z","ZZ"],(function(t,n,i){i._useUTC=!0,i._tzm=ai(Ct,t)}));var oi=/([\+\-]|\d\d)/gi;function ai(t,n){var i,e,r=(n||"").match(t);return null===r?null:0===(e=60*(i=((r[r.length-1]||[])+"").match(oi)||["-",0,0])[1]+ht(i[2]))?0:"+"===i[0]?e:-e}function ui(t,n){var i,e;return n._isUTC?(i=n.clone(),e=(U(t)||x(t)?t.valueOf():Qn(t).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+e),D.updateOffset(i,!1),i):Qn(t).local()}function hi(t){return-Math.round(t._d.getTimezoneOffset())}function di(){return!!this.isValid()&&this._isUTC&&0===this._offset}D.updateOffset=function(){};var ci=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,li=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function fi(t,n){var i,e,r,s,o,a,u=t,h=null;return ei(t)?u={ms:t._milliseconds,d:t._days,M:t._months}:k(t)||!isNaN(+t)?(u={},n?u[n]=+t:u.milliseconds=+t):(h=ci.exec(t))?(i="-"===h[1]?-1:1,u={y:0,d:ht(h[Ft])*i,h:ht(h[Rt])*i,m:ht(h[jt])*i,s:ht(h[Ot])*i,ms:ht(ri(1e3*h[Zt]))*i}):(h=li.exec(t))?u={y:mi(h[2],i="-"===h[1]?-1:1),M:mi(h[3],i),w:mi(h[4],i),d:mi(h[5],i),h:mi(h[6],i),m:mi(h[7],i),s:mi(h[8],i)}:null==u?u={}:"object"==typeof u&&("from"in u||"to"in u)&&(s=Qn(u.from),o=Qn(u.to),r=s.isValid()&&o.isValid()?(o=ui(o,s),s.isBefore(o)?a=vi(s,o):((a=vi(o,s)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0},(u={}).ms=r.milliseconds,u.M=r.months),e=new ii(u),ei(t)&&b(t,"_locale")&&(e._locale=t._locale),ei(t)&&b(t,"_isValid")&&(e._isValid=t._isValid),e}function mi(t,n){var i=t&&parseFloat(t.replace(",","."));return(isNaN(i)?0:i)*n}function vi(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 pi(t,n){return function(i,e){var r;return null===e||isNaN(+e)||(O(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),gi(this,fi(i,e),t),this}}function gi(t,n,i,e){var r=n._milliseconds,s=ri(n._days),o=ri(n._months);t.isValid()&&(e=null==e||e,o&&tn(t,ct(t,"Month")+o*i),s&<(t,"Date",ct(t,"Date")+s*i),r&&t._d.setTime(t._d.valueOf()+r*i),e&&D.updateOffset(t,s||o))}fi.fn=ii.prototype,fi.invalid=function(){return fi(NaN)};var wi=pi(1,"add"),yi=pi(-1,"subtract");function Di(t){return"string"==typeof t||t instanceof String}function Yi(t,n){if(t.date()<n.date())return-Yi(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 Mi(t){var n;return void 0===t?this._locale._abbr:(null!=(n=Wn(t))&&(this._locale=n),this)}D.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",D.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var bi=F("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 Si(){return this._locale}var Ni=1e3,ki=6e4,xi=36e5,Ci=126227808e5;function Ti(t,n){return(t%n+n)%n}function Gi(t,n,i){return t<100&&t>=0?new Date(t+400,n,i)-Ci:new Date(t,n,i).valueOf()}function Ii(t,n,i){return t<100&&t>=0?Date.UTC(t+400,n,i)-Ci:Date.UTC(t,n,i)}function Hi(t,n){return n.erasAbbrRegex(t)}function _i(){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 Wi(t,n){X(0,[t,t.length],0,n)}function Ei(t,n,i,e,r){var s;return null==t?dn(this,e,r).year:(n>(s=cn(t,e,r))&&(n=s),Li.call(this,t,n,i,e,r))}function Li(t,n,i,e,r){var s=hn(t,n,i,e,r),o=an(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}X("N",0,0,"eraAbbr"),X("NN",0,0,"eraAbbr"),X("NNN",0,0,"eraAbbr"),X("NNNN",0,0,"eraName"),X("NNNNN",0,0,"eraNarrow"),X("y",["y",1],"yo","eraYear"),X("y",["yy",2],0,"eraYear"),X("y",["yyy",3],0,"eraYear"),X("y",["yyyy",4],0,"eraYear"),Gt("N",Hi),Gt("NN",Hi),Gt("NNN",Hi),Gt("NNNN",(function(t,n){return n.erasNameRegex(t)})),Gt("NNNNN",(function(t,n){return n.erasNarrowRegex(t)})),Wt(["N","NN","NNN","NNNN","NNNNN"],(function(t,n,i,e){var r=i._locale.erasParse(t,e,i._strict);r?I(i).era=r:I(i).invalidEra=t})),Gt("y",Nt),Gt("yy",Nt),Gt("yyy",Nt),Gt("yyyy",Nt),Gt("yo",(function(t,n){return n._eraYearOrdinalRegex||Nt})),Wt(["y","yy","yyy","yyyy"],Ut),Wt(["yo"],(function(t,n,i){var e;i._locale._eraYearOrdinalRegex&&(e=t.match(i._locale._eraYearOrdinalRegex)),n[Ut]=i._locale.eraYearOrdinalParse?i._locale.eraYearOrdinalParse(t,e):parseInt(t,10)})),X(0,["gg",2],0,(function(){return this.weekYear()%100})),X(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Wi("gggg","weekYear"),Wi("ggggg","weekYear"),Wi("GGGG","isoWeekYear"),Wi("GGGGG","isoWeekYear"),it("weekYear","gg"),it("isoWeekYear","GG"),ot("weekYear",1),ot("isoWeekYear",1),Gt("G",kt),Gt("g",kt),Gt("GG",yt,vt),Gt("gg",yt,vt),Gt("GGGG",bt,gt),Gt("gggg",bt,gt),Gt("GGGGG",St,wt),Gt("ggggg",St,wt),Et(["gggg","ggggg","GGGG","GGGGG"],(function(t,n,i,e){n[e.substr(0,2)]=ht(t)})),Et(["gg","GG"],(function(t,n,i,e){n[e]=D.parseTwoDigitYear(t)})),X("Q",0,"Qo","quarter"),it("quarter","Q"),ot("quarter",7),Gt("Q",mt),Wt("Q",(function(t,n){n[Pt]=3*(ht(t)-1)})),X("D",["DD",2],"Do","date"),it("date","D"),ot("date",9),Gt("D",yt),Gt("DD",yt,vt),Gt("Do",(function(t,n){return t?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),Wt(["D","DD"],Ft),Wt("Do",(function(t,n){n[Ft]=ht(t.match(yt)[0])}));var Ai=dt("Date",!0);X("DDD",["DDDD",3],"DDDo","dayOfYear"),it("dayOfYear","DDD"),ot("dayOfYear",4),Gt("DDD",Mt),Gt("DDDD",pt),Wt(["DDD","DDDD"],(function(t,n,i){i._dayOfYear=ht(t)})),X("m",["mm",2],0,"minute"),it("minute","m"),ot("minute",14),Gt("m",yt),Gt("mm",yt,vt),Wt(["m","mm"],jt);var Ui=dt("Minutes",!1);X("s",["ss",2],0,"second"),it("second","s"),ot("second",15),Gt("s",yt),Gt("ss",yt,vt),Wt(["s","ss"],Ot);var Pi,Fi,Ri=dt("Seconds",!1);for(X("S",0,0,(function(){return~~(this.millisecond()/100)})),X(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),X(0,["SSS",3],0,"millisecond"),X(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),X(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),X(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),X(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),X(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),X(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),it("millisecond","ms"),ot("millisecond",16),Gt("S",Mt,mt),Gt("SS",Mt,vt),Gt("SSS",Mt,pt),Pi="SSSS";Pi.length<=9;Pi+="S")Gt(Pi,Nt);function ji(t,n){n[Zt]=ht(1e3*("0."+t))}for(Pi="S";Pi.length<=9;Pi+="S")Wt(Pi,ji);Fi=dt("Milliseconds",!1),X("z",0,0,"zoneAbbr"),X("zz",0,0,"zoneName");var Oi=A.prototype;function Zi(t){return t}Oi.add=wi,Oi.calendar=function(t,n){var i;1===arguments.length&&(arguments[0]?U(i=arguments[0])||x(i)||Di(i)||k(i)||function(t){var n=Y(t),i=!1;return n&&(i=0===t.filter((function(n){return!k(n)&&Di(t)})).length),n&&i}(i)||function(t){var n,i=M(t)&&!S(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||b(t,r[n]);return i&&e}(i)||null==i?(t=arguments[0],n=void 0):function(t){var n,i=M(t)&&!S(t),e=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<r.length;n+=1)e=e||b(t,r[n]);return i&&e}(arguments[0])&&(n=arguments[0],t=void 0):(t=void 0,n=void 0));var e=t||Qn(),r=ui(e,this).startOf("day"),s=D.calendarFormat(this,r)||"sameElse",o=n&&(Z(n[s])?n[s].call(this,e):n[s]);return this.format(o||this.localeData().calendar(s,this,Qn(e)))},Oi.clone=function(){return new A(this)},Oi.diff=function(t,n,i){var e,r,s;if(!this.isValid())return NaN;if(!(e=ui(t,this)).isValid())return NaN;switch(r=6e4*(e.utcOffset()-this.utcOffset()),n=et(n)){case"year":s=Yi(this,e)/12;break;case"month":s=Yi(this,e);break;case"quarter":s=Yi(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:ut(s)},Oi.endOf=function(t){var n,i;if(void 0===(t=et(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Ii:Gi,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+=xi-Ti(n+(this._isUTC?0:this.utcOffset()*ki),xi)-1;break;case"minute":n=this._d.valueOf(),n+=ki-Ti(n,ki)-1;break;case"second":n=this._d.valueOf(),n+=Ni-Ti(n,Ni)-1}return this._d.setTime(n),D.updateOffset(this,!0),this},Oi.format=function(t){t||(t=this.isUtc()?D.defaultFormatUtc:D.defaultFormat);var n=K(this,t);return this.localeData().postformat(n)},Oi.from=function(t,n){return this.isValid()&&(U(t)&&t.isValid()||Qn(t).isValid())?fi({to:this,from:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Oi.fromNow=function(t){return this.from(Qn(),t)},Oi.to=function(t,n){return this.isValid()&&(U(t)&&t.isValid()||Qn(t).isValid())?fi({from:this,to:t}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()},Oi.toNow=function(t){return this.to(Qn(),t)},Oi.get=function(t){return Z(this[t=et(t)])?this[t]():this},Oi.invalidAt=function(){return I(this).overflow},Oi.isAfter=function(t,n){var i=U(t)?t:Qn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=et(n)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(n).valueOf())},Oi.isBefore=function(t,n){var i=U(t)?t:Qn(t);return!(!this.isValid()||!i.isValid())&&("millisecond"===(n=et(n)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(n).valueOf()<i.valueOf())},Oi.isBetween=function(t,n,i,e){var r=U(t)?t:Qn(t),s=U(n)?n:Qn(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))},Oi.isSame=function(t,n){var i,e=U(t)?t:Qn(t);return!(!this.isValid()||!e.isValid())&&("millisecond"===(n=et(n)||"millisecond")?this.valueOf()===e.valueOf():(i=e.valueOf(),this.clone().startOf(n).valueOf()<=i&&i<=this.clone().endOf(n).valueOf()))},Oi.isSameOrAfter=function(t,n){return this.isSame(t,n)||this.isAfter(t,n)},Oi.isSameOrBefore=function(t,n){return this.isSame(t,n)||this.isBefore(t,n)},Oi.isValid=function(){return H(this)},Oi.lang=bi,Oi.locale=Mi,Oi.localeData=Si,Oi.max=Kn,Oi.min=Xn,Oi.parsingFlags=function(){return T({},I(this))},Oi.set=function(t,n){if("object"==typeof t){var i,e=function(t){var n,i=[];for(n in t)b(t,n)&&i.push({unit:n,priority:st[n]});return i.sort((function(t,n){return t.priority-n.priority})),i}(t=rt(t)),r=e.length;for(i=0;i<r;i++)this[e[i].unit](t[e[i].unit])}else if(Z(this[t=et(t)]))return this[t](n);return this},Oi.startOf=function(t){var n,i;if(void 0===(t=et(t))||"millisecond"===t||!this.isValid())return this;switch(i=this._isUTC?Ii:Gi,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-=Ti(n+(this._isUTC?0:this.utcOffset()*ki),xi);break;case"minute":n=this._d.valueOf(),n-=Ti(n,ki);break;case"second":n=this._d.valueOf(),n-=Ti(n,Ni)}return this._d.setTime(n),D.updateOffset(this,!0),this},Oi.subtract=yi,Oi.toArray=function(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]},Oi.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()}},Oi.toDate=function(){return new Date(this.valueOf())},Oi.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?K(i,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Z(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",K(i,"Z")):K(i,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Oi.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&&(Oi[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Oi.toJSON=function(){return this.isValid()?this.toISOString():null},Oi.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Oi.unix=function(){return Math.floor(this.valueOf()/1e3)},Oi.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Oi.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Oi.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""},Oi.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""},Oi.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""},Oi.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()-D(r[t].since).year())*i+r[t].offset;return this.year()},Oi.year=sn,Oi.isLeapYear=function(){return at(this.year())},Oi.weekYear=function(t){return Ei.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Oi.isoWeekYear=function(t){return Ei.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},Oi.quarter=Oi.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},Oi.month=nn,Oi.daysInMonth=function(){return zt(this.year(),this.month())},Oi.week=Oi.weeks=function(t){var n=this.localeData().week(this);return null==t?n:this.add(7*(t-n),"d")},Oi.isoWeek=Oi.isoWeeks=function(t){var n=dn(this,1,4).week;return null==t?n:this.add(7*(t-n),"d")},Oi.weeksInYear=function(){var t=this.localeData()._week;return cn(this.year(),t.dow,t.doy)},Oi.weeksInWeekYear=function(){var t=this.localeData()._week;return cn(this.weekYear(),t.dow,t.doy)},Oi.isoWeeksInYear=function(){return cn(this.year(),1,4)},Oi.isoWeeksInISOWeekYear=function(){return cn(this.isoWeekYear(),1,4)},Oi.date=Ai,Oi.day=Oi.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},Oi.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")},Oi.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},Oi.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")},Oi.hour=Oi.hours=Nn,Oi.minute=Oi.minutes=Ui,Oi.second=Oi.seconds=Ri,Oi.millisecond=Oi.milliseconds=Fi,Oi.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=ai(Ct,t)))return this}else Math.abs(t)<16&&!i&&(t*=60);return!this._isUTC&&n&&(e=hi(this)),this._offset=t,this._isUTC=!0,null!=e&&this.add(e,"m"),r!==t&&(!n||this._changeInProgress?gi(this,fi(t-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,D.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:hi(this)},Oi.utc=function(t){return this.utcOffset(0,t)},Oi.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(hi(this),"m")),this},Oi.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=ai(xt,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},Oi.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Qn(t).utcOffset():0,(this.utcOffset()-t)%60==0)},Oi.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Oi.isLocal=function(){return!!this.isValid()&&!this._isUTC},Oi.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Oi.isUtc=di,Oi.isUTC=di,Oi.zoneAbbr=function(){return this._isUTC?"UTC":""},Oi.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Oi.dates=F("dates accessor is deprecated. Use date instead.",Ai),Oi.months=F("months accessor is deprecated. Use month instead",nn),Oi.years=F("years accessor is deprecated. Use year instead",sn),Oi.zone=F("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()})),Oi.isDSTShifted=F("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!N(this._isDSTShifted))return this._isDSTShifted;var t,n={};return L(n,this),(n=Jn(n))._a?(t=n._isUTC?G(n._a):Qn(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++)ht(t[i])!==ht(n[i])&&s++;return s+r}(n._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var Bi=$.prototype;function $i(t,n,i,e){var r=Wn(),s=G().set(e,n);return r[i](s,t)}function zi(t,n,i){if(k(t)&&(n=t,t=void 0),t=t||"",null!=n)return $i(t,n,i,"month");var e,r=[];for(e=0;e<12;e++)r[e]=$i(t,e,i,"month");return r}function qi(t,n,i,e){"boolean"==typeof t?(k(n)&&(i=n,n=void 0),n=n||""):(i=n=t,t=!1,k(n)&&(i=n,n=void 0),n=n||"");var r,s=Wn(),o=t?s._week.dow:0,a=[];if(null!=i)return $i(n,(i+o)%7,e,"day");for(r=0;r<7;r++)a[r]=$i(n,(r+o)%7,e,"day");return a}Bi.calendar=function(t,n,i){var e=this._calendar[t]||this._calendar.sameElse;return Z(e)?e.call(n,i):e},Bi.longDateFormat=function(t){var n=this._longDateFormat[t],i=this._longDateFormat[t.toUpperCase()];return n||!i?n:(this._longDateFormat[t]=i.match(q).map((function(t){return"MMMM"===t||"MM"===t||"DD"===t||"dddd"===t?t.slice(1):t})).join(""),this._longDateFormat[t])},Bi.invalidDate=function(){return this._invalidDate},Bi.ordinal=function(t){return this._ordinal.replace("%d",t)},Bi.preparse=Zi,Bi.postformat=Zi,Bi.relativeTime=function(t,n,i,e){var r=this._relativeTime[i];return Z(r)?r(t,n,i,e):r.replace(/%d/i,t)},Bi.pastFuture=function(t,n){var i=this._relativeTime[t>0?"future":"past"];return Z(i)?i(n):i.replace(/%s/i,n)},Bi.set=function(t){var n,i;for(i in t)b(t,i)&&(Z(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)},Bi.eras=function(){var t,n,i,e=this._eras||Wn("en")._eras;for(t=0,n=e.length;t<n;++t)switch("string"==typeof e[t].since&&(i=D(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=D(e[t].until).startOf("day").valueOf(),e[t].until=i.valueOf()}return e},Bi.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]},Bi.erasConvertYear=function(t,n){var i=t.since<=t.until?1:-1;return void 0===n?D(t.since).year():D(t.since).year()+(n-t.offset)*i},Bi.erasAbbrRegex=function(t){return b(this,"_erasAbbrRegex")||_i.call(this),t?this._erasAbbrRegex:this._erasRegex},Bi.erasNameRegex=function(t){return b(this,"_erasNameRegex")||_i.call(this),t?this._erasNameRegex:this._erasRegex},Bi.erasNarrowRegex=function(t){return b(this,"_erasNarrowRegex")||_i.call(this),t?this._erasNarrowRegex:this._erasRegex},Bi.months=function(t,n){return t?Y(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Vt).test(n)?"format":"standalone"][t.month()]:Y(this._months)?this._months:this._months.standalone},Bi.monthsShort=function(t,n){return t?Y(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Vt.test(n)?"format":"standalone"][t.month()]:Y(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},Bi.monthsParse=function(t,n,i){var e,r,s;if(this._monthsParseExact)return Kt.call(this,t,n,i);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),e=0;e<12;e++){if(r=G([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}},Bi.monthsRegex=function(t){return this._monthsParseExact?(b(this,"_monthsRegex")||en.call(this),t?this._monthsStrictRegex:this._monthsRegex):(b(this,"_monthsRegex")||(this._monthsRegex=Xt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},Bi.monthsShortRegex=function(t){return this._monthsParseExact?(b(this,"_monthsRegex")||en.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(b(this,"_monthsShortRegex")||(this._monthsShortRegex=Qt),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},Bi.week=function(t){return dn(t,this._week.dow,this._week.doy).week},Bi.firstDayOfYear=function(){return this._week.doy},Bi.firstDayOfWeek=function(){return this._week.dow},Bi.weekdays=function(t,n){var i=Y(this._weekdays)?this._weekdays:this._weekdays[t&&!0!==t&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===t?ln(i,this._week.dow):t?i[t.day()]:i},Bi.weekdaysMin=function(t){return!0===t?ln(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin},Bi.weekdaysShort=function(t){return!0===t?ln(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort},Bi.weekdaysParse=function(t,n,i){var e,r,s;if(this._weekdaysParseExact)return yn.call(this,t,n,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),e=0;e<7;e++){if(r=G([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}},Bi.weekdaysRegex=function(t){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||Dn.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(b(this,"_weekdaysRegex")||(this._weekdaysRegex=pn),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},Bi.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||Dn.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(b(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=gn),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},Bi.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(b(this,"_weekdaysRegex")||Dn.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(b(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=wn),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},Bi.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},Bi.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===ht(t%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),D.lang=F("moment.lang is deprecated. Use moment.locale instead.",Hn),D.langData=F("moment.langData is deprecated. Use moment.localeData instead.",Wn);var Ji=Math.abs;function Vi(t,n,i,e){var r=fi(n,i);return t._milliseconds+=e*r._milliseconds,t._days+=e*r._days,t._months+=e*r._months,t._bubble()}function Qi(t){return t<0?Math.floor(t):Math.ceil(t)}function Xi(t){return 4800*t/146097}function Ki(t){return 146097*t/4800}function te(t){return function(){return this.as(t)}}var ne=te("ms"),ie=te("s"),ee=te("m"),re=te("h"),se=te("d"),oe=te("w"),ae=te("M"),ue=te("Q"),he=te("y");function de(t){return function(){return this.isValid()?this._data[t]:NaN}}var ce=de("milliseconds"),le=de("seconds"),fe=de("minutes"),me=de("hours"),ve=de("days"),pe=de("months"),ge=de("years"),we=Math.round,ye={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function De(t,n,i,e,r){return r.relativeTime(n||1,!!i,t,e)}var Ye=Math.abs;function Me(t){return(t>0)-(t<0)||+t}function be(){if(!this.isValid())return this.localeData().invalidDate();var t,n,i,e,r,s,o,a,u=Ye(this._milliseconds)/1e3,h=Ye(this._days),d=Ye(this._months),c=this.asSeconds();return c?(t=ut(u/60),n=ut(t/60),u%=60,t%=60,i=ut(d/12),d%=12,e=u?u.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",s=Me(this._months)!==Me(c)?"-":"",o=Me(this._days)!==Me(c)?"-":"",a=Me(this._milliseconds)!==Me(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 Se=ii.prototype;Se.isValid=function(){return this._isValid},Se.abs=function(){var t=this._data;return this._milliseconds=Ji(this._milliseconds),this._days=Ji(this._days),this._months=Ji(this._months),t.milliseconds=Ji(t.milliseconds),t.seconds=Ji(t.seconds),t.minutes=Ji(t.minutes),t.hours=Ji(t.hours),t.months=Ji(t.months),t.years=Ji(t.years),this},Se.add=function(t,n){return Vi(this,t,n,1)},Se.subtract=function(t,n){return Vi(this,t,n,-1)},Se.as=function(t){if(!this.isValid())return NaN;var n,i,e=this._milliseconds;if("month"===(t=et(t))||"quarter"===t||"year"===t)switch(i=this._months+Xi(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(Ki(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)}},Se.asMilliseconds=ne,Se.asSeconds=ie,Se.asMinutes=ee,Se.asHours=re,Se.asDays=se,Se.asWeeks=oe,Se.asMonths=ae,Se.asQuarters=ue,Se.asYears=he,Se.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ht(this._months/12):NaN},Se._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*Qi(Ki(a)+o),o=0,a=0),u.milliseconds=s%1e3,t=ut(s/1e3),u.seconds=t%60,n=ut(t/60),u.minutes=n%60,i=ut(n/60),u.hours=i%24,o+=ut(i/24),a+=r=ut(Xi(o)),o-=Qi(Ki(r)),e=ut(a/12),a%=12,u.days=o,u.months=a,u.years=e,this},Se.clone=function(){return fi(this)},Se.get=function(t){return t=et(t),this.isValid()?this[t+"s"]():NaN},Se.milliseconds=ce,Se.seconds=le,Se.minutes=fe,Se.hours=me,Se.days=ve,Se.weeks=function(){return ut(this.days()/7)},Se.months=pe,Se.years=ge,Se.humanize=function(t,n){if(!this.isValid())return this.localeData().invalidDate();var i,e,r=!1,s=ye;return"object"==typeof t&&(n=t,t=!1),"boolean"==typeof t&&(r=t),"object"==typeof n&&(s=Object.assign({},ye,n),null!=n.s&&null==n.ss&&(s.ss=n.s-1)),e=function(t,n,i,e){var r=fi(t).abs(),s=we(r.as("s")),o=we(r.as("m")),a=we(r.as("h")),u=we(r.as("d")),h=we(r.as("M")),d=we(r.as("w")),c=we(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,De.apply(null,l)}(this,!r,s,i=this.localeData()),r&&(e=i.pastFuture(+this,e)),i.postformat(e)},Se.toISOString=be,Se.toString=be,Se.toJSON=be,Se.locale=Mi,Se.localeData=Si,Se.toIsoString=F("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",be),Se.lang=bi,X("X",0,0,"unix"),X("x",0,0,"valueOf"),Gt("x",kt),Gt("X",/[+-]?\d+(\.\d{1,3})?/),Wt("X",(function(t,n,i){i._d=new Date(1e3*parseFloat(t))})),Wt("x",(function(t,n,i){i._d=new Date(ht(t))})),
|
|
10
|
+
//! moment.js
|
|
11
|
+
D.version="2.29.4",w=Qn,D.fn=Oi,D.min=function(){return ti("isBefore",[].slice.call(arguments,0))},D.max=function(){return ti("isAfter",[].slice.call(arguments,0))},D.now=function(){return Date.now?Date.now():+new Date},D.utc=G,D.unix=function(t){return Qn(1e3*t)},D.months=function(t,n){return zi(t,n,"months")},D.isDate=x,D.locale=Hn,D.invalid=_,D.duration=fi,D.isMoment=U,D.weekdays=function(t,n,i){return qi(t,n,i,"weekdays")},D.parseZone=function(){return Qn.apply(null,arguments).parseZone()},D.localeData=Wn,D.isDuration=ei,D.monthsShort=function(t,n){return zi(t,n,"monthsShort")},D.weekdaysMin=function(t,n,i){return qi(t,n,i,"weekdaysMin")},D.defineLocale=_n,D.updateLocale=function(t,n){if(null!=n){var i,e,r=kn;null!=xn[t]&&null!=xn[t].parentLocale?xn[t].set(B(xn[t]._config,n)):(null!=(e=In(t))&&(r=e._config),n=B(r,n),null==e&&(n.abbr=t),(i=new $(n)).parentLocale=xn[t],xn[t]=i),Hn(t)}else null!=xn[t]&&(null!=xn[t].parentLocale?(xn[t]=xn[t].parentLocale,t===Hn()&&Hn(t)):null!=xn[t]&&delete xn[t]);return xn[t]},D.locales=function(){return R(xn)},D.weekdaysShort=function(t,n,i){return qi(t,n,i,"weekdaysShort")},D.normalizeUnits=et,D.relativeTimeRounding=function(t){return void 0===t?we:"function"==typeof t&&(we=t,!0)},D.relativeTimeThreshold=function(t,n){return void 0!==ye[t]&&(void 0===n?ye[t]:(ye[t]=n,"s"===t&&(ye.ss=n-1),!0))},D.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"},D.prototype=Oi,D.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Ne=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.isValidForGame=void 0,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.pid&&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.isPowering||this.isLoading||!this.isValidForGame||(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:D(new Date).format("YYYY-MM-DD HH:mm:ssZ")}):console.error(r.errorMessage)}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,e;return i("div",{key:"83a99e0f31359f1e8b9eca2317637287fbbc4faa",class:`IngamePowerUpDetailContainer ${this.isPowering?"Powering":"UnPowering"}\n ${this.isValidForGame?"ValidForGame":"NotValidForGame"} Status_${null===(t=this.powerUp)||void 0===t?void 0:t.status} `,ref:t=>this.stylingContainer=t},i("div",{key:"20c8f2b9bc5282bab8804bd8e70ee09e2c75eed0",class:"MainContainer "+(this.showConfirmModal?"Hidden":"")},i("div",{key:"05de37d9eedaa858574a28c223579945669b6b8b",class:"TopBar"},i("div",{key:"57eaaf457656c274fe05984db12d2b28239410c5",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:"0ecb5691b4dac56cd6064b3b664e366839a4eef5",class:"Title"}," ",(null===(n=this.powerUp)||void 0===n?void 0:n.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"},i("span",null," ",this.powerUp.boostingPeriod["timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":"numberOfRounds"]),i("span",null," ",h("timePeriod"===this.powerUp.boostingPeriod.mode?"minutes":this.powerUp.boostingPeriod.numberOfRounds>1?"rounds":"round")))),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(this.powerUp.status===l.ACTIVATED?"endsIn":"endDate",this.language)," "),i("div",{class:"Value"},this.powerUp.status===l.ACTIVATED&&this.powerUp.boostingPeriod.mode===c.NUMBER_OF_ROUNDS?i("div",{class:"LeftRounds"},i("span",null,this.powerUp.boostingPeriod.numberOfRounds-this.powerUp.usedNumberOfRounds," "),i("span",null," ",h(this.powerUp.boostingPeriod.numberOfRounds-this.powerUp.usedNumberOfRounds>1?"rounds":"round",this.language))):i("time-count-detail",{pid:this.powerUp.id,"expire-time":(e=this.powerUp,e.activatedAt&&e.status==l.ACTIVATED?g(e.activatedAt).add(e.boostingPeriod.minutes,"minute").format("YYYY-MM-DDTHH:mm:ssZ"):e.expireTime),lang:this.language}))))),i("div",{class:"TermsUrl"},i("div",{class:"Label"},this.powerUp.termsUrl?[i("a",{href:this.powerUp.termsUrl,target:"_blank"},h("termsAndConditions",this.language)),i("div",{class:"GoToOpenIcon",innerHTML:v})]:i("div",null,h("termsAndConditions",this.language),i("div",{class:"GoToOpenIcon",innerHTML:v}))),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:"7dda448c4bba6ee76f1c3728bf4a370f57f58ef4",class:"BottomBar FlexRow "+(this.showConfirmModal?"Hidden":"")},i("div",{key:"d386cbb7bdb8d37830b57c382f3196863d9f694b",class:"ActiveTips"}," ",h(this.isPowering?"poweringTooltip":"activateTips",this.language)," "),this.powerUp&&(this.powerUp.status===l.ACTIVE||this.powerUp.status===l.ACTIVATING)&&i("div",{key:"dfa5efae78ea96303e03864108dd41425edbd9aa",class:`ActiveBtn CircleLinearBorder ${this.isPowering||!this.isValidForGame?"Disabled":""} ${this.powerUp.status===l.ACTIVATING?"Activating":""}`,onClick:this.onActivateBtnClick.bind(this,this.powerUp)},i("div",{key:"f79da1bf8aca716d46051e77e3627e78ecd5b5aa",class:"content"}," ",h("activate",this.language)))),this.showConfirmModal&&i("active-confirm-modal",{key:"f792795c65272228486119e627af1639cf0c0e17","is-open":!0,pid:this.pid,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"]}}};Ne.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,.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label a{color:#00B541;display:flex;justify-content:center;text-decoration:underline}.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label .GoToOpenIcon,.IngamePowerUpDetailContainer .DetailInfo .TermsUrl .Label a .GoToOpenIcon{margin-left:10px;display:inline}.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{Ne as B,D as h,h as t}
|
|
@@ -1 +1 @@
|
|
|
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:[
|
|
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:[514],powerupId:[513,"powerup-id"],isPowering:[516,"is-powering"],isValidForGame:[516,"is-valid-for-game"],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-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
|
+
import{h as e,t}from"./bonus-powerups-ingame-detail-5c496211.js";export{B as bonus_powerups_ingame_detail}from"./bonus-powerups-ingame-detail-5c496211.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 +1 @@
|
|
|
1
|
-
export{B as BonusPowerupsIngameDetail}from"./bonus-powerups-ingame-detail-
|
|
1
|
+
export{B as BonusPowerupsIngameDetail}from"./bonus-powerups-ingame-detail-5c496211.js";import"./index-b0d6c89f.js";
|