vue-multiple-calendar
Version:
Calendar component based on Vue.js
1 lines • 300 kB
JavaScript
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["FunctionalCalendar"]=t():e["FunctionalCalendar"]=t()})("undefined"!==typeof self?self:this,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"00fd":function(e,t,n){var r=n("9e69"),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=r?r.toStringTag:void 0;function c(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var i=o.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=c},"014b":function(e,t,n){"use strict";var r=n("e53d"),i=n("07e3"),a=n("8e60"),o=n("63b6"),s=n("9138"),c=n("ebfd").KEY,u=n("294c"),f=n("dbdb"),l=n("45f2"),d=n("62a0"),h=n("5168"),p=n("ccb9"),v=n("6718"),m=n("47ee"),y=n("9003"),g=n("e4ae"),b=n("f772"),w=n("241e"),k=n("36c3"),x=n("1bc3"),D=n("aebd"),C=n("a159"),_=n("0395"),O=n("bf0b"),S=n("9aa9"),T=n("d9f6"),M=n("c3a1"),E=O.f,j=T.f,N=_.f,R=r.Symbol,I=r.JSON,F=I&&I.stringify,L="prototype",P=h("_hidden"),A=h("toPrimitive"),$={}.propertyIsEnumerable,z=f("symbol-registry"),V=f("symbols"),H=f("op-symbols"),Y=Object[L],W="function"==typeof R&&!!S.f,q=r.QObject,B=!q||!q[L]||!q[L].findChild,Z=a&&u((function(){return 7!=C(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=E(Y,t);r&&delete Y[t],j(e,t,n),r&&e!==Y&&j(Y,t,r)}:j,U=function(e){var t=V[e]=C(R[L]);return t._k=e,t},G=W&&"symbol"==typeof R.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof R},J=function(e,t,n){return e===Y&&J(H,t,n),g(e),t=x(t,!0),g(n),i(V,t)?(n.enumerable?(i(e,P)&&e[P][t]&&(e[P][t]=!1),n=C(n,{enumerable:D(0,!1)})):(i(e,P)||j(e,P,D(1,{})),e[P][t]=!0),Z(e,t,n)):j(e,t,n)},K=function(e,t){g(e);var n,r=m(t=k(t)),i=0,a=r.length;while(a>i)J(e,n=r[i++],t[n]);return e},X=function(e,t){return void 0===t?C(e):K(C(e),t)},Q=function(e){var t=$.call(this,e=x(e,!0));return!(this===Y&&i(V,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(V,e)||i(this,P)&&this[P][e])||t)},ee=function(e,t){if(e=k(e),t=x(t,!0),e!==Y||!i(V,t)||i(H,t)){var n=E(e,t);return!n||!i(V,t)||i(e,P)&&e[P][t]||(n.enumerable=!0),n}},te=function(e){var t,n=N(k(e)),r=[],a=0;while(n.length>a)i(V,t=n[a++])||t==P||t==c||r.push(t);return r},ne=function(e){var t,n=e===Y,r=N(n?H:k(e)),a=[],o=0;while(r.length>o)!i(V,t=r[o++])||n&&!i(Y,t)||a.push(V[t]);return a};W||(R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===Y&&t.call(H,n),i(this,P)&&i(this[P],e)&&(this[P][e]=!1),Z(this,e,D(1,n))};return a&&B&&Z(Y,e,{configurable:!0,set:t}),U(e)},s(R[L],"toString",(function(){return this._k})),O.f=ee,T.f=J,n("6abf").f=_.f=te,n("355d").f=Q,S.f=ne,a&&!n("b8e3")&&s(Y,"propertyIsEnumerable",Q,!0),p.f=function(e){return U(h(e))}),o(o.G+o.W+o.F*!W,{Symbol:R});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)h(re[ie++]);for(var ae=M(h.store),oe=0;ae.length>oe;)v(ae[oe++]);o(o.S+o.F*!W,"Symbol",{for:function(e){return i(z,e+="")?z[e]:z[e]=R(e)},keyFor:function(e){if(!G(e))throw TypeError(e+" is not a symbol!");for(var t in z)if(z[t]===e)return t},useSetter:function(){B=!0},useSimple:function(){B=!1}}),o(o.S+o.F*!W,"Object",{create:X,defineProperty:J,defineProperties:K,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){S.f(1)}));o(o.S+o.F*se,"Object",{getOwnPropertySymbols:function(e){return S.f(w(e))}}),I&&o(o.S+o.F*(!W||u((function(){var e=R();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=t=r[1],(b(t)||void 0!==e)&&!G(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!G(t))return t}),r[1]=t,F.apply(I,r)}}),R[L][A]||n("35e8")(R[L],A,R[L].valueOf),l(R,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},"01f9":function(e,t,n){"use strict";var r=n("2d00"),i=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),f=n("38fd"),l=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",v="values",m=function(){return this};e.exports=function(e,t,n,y,g,b,w){c(n,t,y);var k,x,D,C=function(e){if(!d&&e in T)return T[e];switch(e){case p:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",O=g==v,S=!1,T=e.prototype,M=T[l]||T[h]||g&&T[g],E=M||C(g),j=g?O?C("entries"):E:void 0,N="Array"==t&&T.entries||M;if(N&&(D=f(N.call(new e)),D!==Object.prototype&&D.next&&(u(D,_,!0),r||"function"==typeof D[l]||o(D,l,m))),O&&M&&M.name!==v&&(S=!0,E=function(){return M.call(this)}),r&&!w||!d&&!S&&T[l]||o(T,l,E),s[t]=E,s[_]=m,g)if(k={values:O?E:C(v),keys:b?E:C(p),entries:j},w)for(x in k)x in T||a(T,x,k[x]);else i(i.P+i.F*(d||S),t,k);return k}},"02c4":function(e,t,n){"use strict";n("0d62")},"02f4":function(e,t,n){var r=n("4588"),i=n("be13");e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(a=s.charCodeAt(c),a<55296||a>56319||c+1===u||(o=s.charCodeAt(c+1))<56320||o>57343?e?s.charAt(c):a:e?s.slice(c,c+2):o-56320+(a-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"0395":function(e,t,n){var r=n("36c3"),i=n("6abf").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return o.slice()}};e.exports.f=function(e){return o&&"[object Window]"==a.call(e)?s(e):i(r(e))}},"03dd":function(e,t,n){var r=n("eac5"),i=n("57a5"),a=Object.prototype,o=a.hasOwnProperty;function s(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=s},"07c7":function(e,t){function n(){return!1}e.exports=n},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"087d":function(e,t){function n(e,t){var n=-1,r=t.length,i=e.length;while(++n<r)e[i+n]=t[n];return e}e.exports=n},"0a49":function(e,t,n){var r=n("9b43"),i=n("626a"),a=n("4bf8"),o=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,f=4==e,l=6==e,d=5==e||l,h=t||s;return function(t,s,p){for(var v,m,y=a(t),g=i(y),b=r(s,p,3),w=o(g.length),k=0,x=n?h(t,w):c?h(t,0):void 0;w>k;k++)if((d||k in g)&&(v=g[k],m=b(v,k,y),e))if(n)x[k]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return k;case 2:x.push(v)}else if(f)return!1;return l?-1:u||f?f:x}}},"0ab8":function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,".tooltip{display:block!important;z-index:10000}.tooltip .tooltip-inner{background:#000;color:#fff;border-radius:16px;padding:5px 10px 4px}.tooltip .tooltip-arrow{width:0;height:0;border-style:solid;position:absolute;margin:5px;border-color:#000;z-index:1}.tooltip[x-placement^=top]{margin-bottom:5px}.tooltip[x-placement^=top] .tooltip-arrow{border-width:5px 5px 0 5px;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^=bottom]{margin-top:5px}.tooltip[x-placement^=bottom] .tooltip-arrow{border-width:0 5px 5px 5px;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^=right]{margin-left:5px}.tooltip[x-placement^=right] .tooltip-arrow{border-width:5px 5px 5px 0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip[x-placement^=left]{margin-right:5px}.tooltip[x-placement^=left] .tooltip-arrow{border-width:5px 0 5px 5px;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip[aria-hidden=true]{visibility:hidden;opacity:0;-webkit-transition:opacity .15s,visibility .15s;transition:opacity .15s,visibility .15s}.tooltip[aria-hidden=false]{visibility:visible;opacity:1;-webkit-transition:opacity .15s;transition:opacity .15s}.tooltip.info .tooltip-inner{background:rgba(0,68,153,.9);color:#fff;padding:24px;border-radius:5px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,.1);box-shadow:0 5px 30px rgba(0,0,0,.1)}.tooltip.info .tooltip-arrow{border-color:rgba(0,68,153,.9)}.tooltip.popover .popover-inner{background:#f9f9f9;color:#000;padding:24px;border-radius:5px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,.1);box-shadow:0 5px 30px rgba(0,0,0,.1)}.tooltip.popover .popover-arrow{border-color:#f9f9f9}",""])},"0b07":function(e,t,n){var r=n("34ac"),i=n("3698");function a(e,t){var n=i(e,t);return r(n)?n:void 0}e.exports=a},"0bfb":function(e,t,n){"use strict";var r=n("cb7c");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d24":function(e,t,n){(function(e){var r=n("2b3e"),i=n("07c7"),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,f=u||i;e.exports=f}).call(this,n("62e4")(e))},"0d58":function(e,t,n){var r=n("ce10"),i=n("e11e");e.exports=Object.keys||function(e){return r(e,i)}},"0d62":function(e,t,n){var r=n("3a9e");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=n("499e").default;i("bf27fce6",r,!0,{sourceMap:!1,shadowMode:!1})},"0fc9":function(e,t,n){var r=n("3a38"),i=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):a(e,t)}},"100e":function(e,t,n){var r=n("cd9d"),i=n("2286"),a=n("c1c9");function o(e,t){return a(i(e,t,r),e+"")}e.exports=o},1169:function(e,t,n){var r=n("2d95");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"11e9":function(e,t,n){var r=n("52a7"),i=n("4630"),a=n("6821"),o=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?u:function(e,t){if(e=a(e),t=o(t,!0),c)try{return u(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},1290:function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},1310:function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},1315:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function c(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,n){return u=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=Function.bind.apply(e,r),a=new i;return n&&s(a,n.prototype),a},u.apply(null,arguments)}function f(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function l(e){var t="function"===typeof Map?new Map:void 0;return l=function(e){if(null===e||!f(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return u(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,e)},l(e)}function d(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function h(e,t){if(e){if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e){var t=0;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=h(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return t=e[Symbol.iterator](),t.next.bind(t)}Object.defineProperty(t,"__esModule",{value:!0});var m=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(l(Error)),y=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return a(t,e),t}(m),g=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return a(t,e),t}(m),b=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return a(t,e),t}(m),w=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(m),k=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return a(t,e),t}(m),x=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(m),D=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return a(t,e),t}(m),C="numeric",_="short",O="long",S={year:C,month:C,day:C},T={year:C,month:_,day:C},M={year:C,month:_,day:C,weekday:_},E={year:C,month:O,day:C},j={year:C,month:O,day:C,weekday:O},N={hour:C,minute:C},R={hour:C,minute:C,second:C},I={hour:C,minute:C,second:C,timeZoneName:_},F={hour:C,minute:C,second:C,timeZoneName:O},L={hour:C,minute:C,hour12:!1},P={hour:C,minute:C,second:C,hour12:!1},A={hour:C,minute:C,second:C,hour12:!1,timeZoneName:_},$={hour:C,minute:C,second:C,hour12:!1,timeZoneName:O},z={year:C,month:C,day:C,hour:C,minute:C},V={year:C,month:C,day:C,hour:C,minute:C,second:C},H={year:C,month:_,day:C,hour:C,minute:C},Y={year:C,month:_,day:C,hour:C,minute:C,second:C},W={year:C,month:_,day:C,weekday:_,hour:C,minute:C},q={year:C,month:O,day:C,hour:C,minute:C,timeZoneName:_},B={year:C,month:O,day:C,hour:C,minute:C,second:C,timeZoneName:_},Z={year:C,month:O,day:C,weekday:O,hour:C,minute:C,timeZoneName:O},U={year:C,month:O,day:C,weekday:O,hour:C,minute:C,second:C,timeZoneName:O};function G(e){return"undefined"===typeof e}function J(e){return"number"===typeof e}function K(e){return"number"===typeof e&&e%1===0}function X(e){return"string"===typeof e}function Q(e){return"[object Date]"===Object.prototype.toString.call(e)}function ee(){try{return"undefined"!==typeof Intl&&Intl.DateTimeFormat}catch(e){return!1}}function te(){return!G(Intl.DateTimeFormat.prototype.formatToParts)}function ne(){try{return"undefined"!==typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function re(e){return Array.isArray(e)?e:[e]}function ie(e,t,n){if(0!==e.length)return e.reduce((function(e,r){var i=[t(r),r];return e&&n(e[0],i[0])===e[0]?e:i}),null)[1]}function ae(e,t){return t.reduce((function(t,n){return t[n]=e[n],t}),{})}function oe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function se(e,t,n){return K(e)&&e>=t&&e<=n}function ce(e,t){return e-t*Math.floor(e/t)}function ue(e,t){void 0===t&&(t=2);var n,r=e<0?"-":"",i=r?-1*e:e;return n=i.toString().length<t?("0".repeat(t)+i).slice(-t):i.toString(),""+r+n}function fe(e){return G(e)||null===e||""===e?void 0:parseInt(e,10)}function le(e){if(!G(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function de(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t),i=n?Math.trunc:Math.round;return i(e*r)/r}function he(e){return e%4===0&&(e%100!==0||e%400===0)}function pe(e){return he(e)?366:365}function ve(e,t){var n=ce(t-1,12)+1,r=e+(t-n)/12;return 2===n?he(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function me(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(t.getUTCFullYear()-1900)),+t}function ye(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function ge(e){return e>99?e:e>60?1900+e:2e3+e}function be(e,t,n,r){void 0===r&&(r=null);var i=new Date(e),a={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(a.timeZone=r);var o=Object.assign({timeZoneName:t},a),s=ee();if(s&&te()){var c=new Intl.DateTimeFormat(n,o).formatToParts(i).find((function(e){return"timezonename"===e.type.toLowerCase()}));return c?c.value:null}if(s){var u=new Intl.DateTimeFormat(n,a).format(i),f=new Intl.DateTimeFormat(n,o).format(i),l=f.substring(u.length),d=l.replace(/^[, \u200e]+/,"");return d}return null}function we(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0,i=n<0||Object.is(n,-0)?-r:r;return 60*n+i}function ke(e){var t=Number(e);if("boolean"===typeof e||""===e||Number.isNaN(t))throw new x("Invalid unit value "+e);return t}function xe(e,t,n){var r={};for(var i in e)if(oe(e,i)){if(n.indexOf(i)>=0)continue;var a=e[i];if(void 0===a||null===a)continue;r[t(i)]=ke(a)}return r}function De(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return""+i+ue(n,2)+":"+ue(r,2);case"narrow":return""+i+n+(r>0?":"+r:"");case"techie":return""+i+ue(n,2)+ue(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function Ce(e){return ae(e,["hour","minute","second","millisecond"])}var _e=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function Oe(e){return JSON.stringify(e,Object.keys(e).sort())}var Se=["January","February","March","April","May","June","July","August","September","October","November","December"],Te=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Me=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ee(e){switch(e){case"narrow":return[].concat(Me);case"short":return[].concat(Te);case"long":return[].concat(Se);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var je=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ne=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Re=["M","T","W","T","F","S","S"];function Ie(e){switch(e){case"narrow":return[].concat(Re);case"short":return[].concat(Ne);case"long":return[].concat(je);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Fe=["AM","PM"],Le=["Before Christ","Anno Domini"],Pe=["BC","AD"],Ae=["B","A"];function $e(e){switch(e){case"narrow":return[].concat(Ae);case"short":return[].concat(Pe);case"long":return[].concat(Le);default:return null}}function ze(e){return Fe[e.hour<12?0:1]}function Ve(e,t){return Ie(t)[e.weekday-1]}function He(e,t){return Ee(t)[e.month-1]}function Ye(e,t){return $e(t)[e.year<0?0:1]}function We(e,t,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&a){var o="days"===e;switch(t){case 1:return o?"tomorrow":"next "+i[e][0];case-1:return o?"yesterday":"last "+i[e][0];case 0:return o?"today":"this "+i[e][0]}}var s=Object.is(t,-0)||t<0,c=Math.abs(t),u=1===c,f=i[e],l=r?u?f[1]:f[2]||f[1]:u?i[e][0]:e;return s?c+" "+l+" ago":"in "+c+" "+l}function qe(e){var t=ae(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]),n=Oe(t),r="EEEE, LLLL d, yyyy, h:mm a";switch(n){case Oe(S):return"M/d/yyyy";case Oe(T):return"LLL d, yyyy";case Oe(M):return"EEE, LLL d, yyyy";case Oe(E):return"LLLL d, yyyy";case Oe(j):return"EEEE, LLLL d, yyyy";case Oe(N):return"h:mm a";case Oe(R):return"h:mm:ss a";case Oe(I):return"h:mm a";case Oe(F):return"h:mm a";case Oe(L):return"HH:mm";case Oe(P):return"HH:mm:ss";case Oe(A):return"HH:mm";case Oe($):return"HH:mm";case Oe(z):return"M/d/yyyy, h:mm a";case Oe(H):return"LLL d, yyyy, h:mm a";case Oe(q):return"LLLL d, yyyy, h:mm a";case Oe(Z):return r;case Oe(V):return"M/d/yyyy, h:mm:ss a";case Oe(Y):return"LLL d, yyyy, h:mm:ss a";case Oe(W):return"EEE, d LLL yyyy, h:mm a";case Oe(B):return"LLLL d, yyyy, h:mm:ss a";case Oe(U):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return r}}function Be(e,t){for(var n,r="",i=v(e);!(n=i()).done;){var a=n.value;a.literal?r+=a.val:r+=t(a.val)}return r}var Ze={D:S,DD:T,DDD:E,DDDD:j,t:N,tt:R,ttt:I,tttt:F,T:L,TT:P,TTT:A,TTTT:$,f:z,ff:H,fff:q,ffff:Z,F:V,FF:Y,FFF:B,FFFF:U},Ue=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",r=!1,i=[],a=0;a<e.length;a++){var o=e.charAt(a);"'"===o?(n.length>0&&i.push({literal:r,val:n}),t=null,n="",r=!r):r||o===t?n+=o:(n.length>0&&i.push({literal:!1,val:n}),n=o,t=o)}return n.length>0&&i.push({literal:r,val:n}),i},e.macroTokenToFormatOpts=function(e){return Ze[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());var n=this.systemLoc.dtFormatter(e,Object.assign({},this.opts,t));return n.format()},t.formatDateTime=function(e,t){void 0===t&&(t={});var n=this.loc.dtFormatter(e,Object.assign({},this.opts,t));return n.format()},t.formatDateTimeParts=function(e,t){void 0===t&&(t={});var n=this.loc.dtFormatter(e,Object.assign({},this.opts,t));return n.formatToParts()},t.resolvedOptions=function(e,t){void 0===t&&(t={});var n=this.loc.dtFormatter(e,Object.assign({},this.opts,t));return n.resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ue(e,t);var n=Object.assign({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var r=this,i="en"===this.loc.listingMode(),a=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&te(),o=function(e,n){return r.loc.extract(t,e,n)},s=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},c=function(){return i?ze(t):o({hour:"numeric",hour12:!0},"dayperiod")},u=function(e,n){return i?He(t,e):o(n?{month:e}:{month:e,day:"numeric"},"month")},f=function(e,n){return i?Ve(t,e):o(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},l=function(n){var i=e.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(t,i):n},d=function(e){return i?Ye(t,e):o({era:e},"era")},h=function(e){switch(e){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12===0?12:t.hour%12);case"hh":return r.num(t.hour%12===0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return s({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:r.loc.locale});case"z":return t.zoneName;case"a":return c();case"d":return a?o({day:"numeric"},"day"):r.num(t.day);case"dd":return a?o({day:"2-digit"},"day"):r.num(t.day,2);case"c":return r.num(t.weekday);case"ccc":return f("short",!0);case"cccc":return f("long",!0);case"ccccc":return f("narrow",!0);case"E":return r.num(t.weekday);case"EEE":return f("short",!1);case"EEEE":return f("long",!1);case"EEEEE":return f("narrow",!1);case"L":return a?o({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return a?o({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return a?o({month:"numeric"},"month"):r.num(t.month);case"MM":return a?o({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return a?o({year:"numeric"},"year"):r.num(t.year);case"yy":return a?o({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return a?o({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return a?o({year:"numeric"},"year"):r.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);case"X":return r.num(Math.floor(t.ts/1e3));case"x":return r.num(t.ts);default:return l(e)}};return Be(e.parseFormat(n),h)},t.formatDurationFromString=function(t,n){var r=this,i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},a=function(e){return function(t){var n=i(t);return n?r.num(e.get(n),t.length):t}},o=e.parseFormat(n),s=o.reduce((function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)}),[]),c=t.shiftTo.apply(t,s.map(i).filter((function(e){return e})));return Be(o,a(c))},e}(),Ge=function(){function e(e,t){this.reason=e,this.explanation=t}var t=e.prototype;return t.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Je=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new D},t.formatOffset=function(e,t){throw new D},t.offset=function(e){throw new D},t.equals=function(e){throw new D},i(e,[{key:"type",get:function(){throw new D}},{key:"name",get:function(){throw new D}},{key:"universal",get:function(){throw new D}},{key:"isValid",get:function(){throw new D}}]),e}(),Ke=null,Xe=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var n=t.prototype;return n.offsetName=function(e,t){var n=t.format,r=t.locale;return be(e,n,r)},n.formatOffset=function(e,t){return De(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"local"===e.type},i(t,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return ee()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Ke&&(Ke=new t),Ke}}]),t}(Je),Qe=RegExp("^"+_e.source+"$"),et={};function tt(e){return et[e]||(et[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),et[e]}var nt={year:0,month:1,day:2,hour:3,minute:4,second:5};function rt(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],a=r[2],o=r[3],s=r[4],c=r[5],u=r[6];return[o,i,a,s,c,u]}function it(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var a=n[i],o=a.type,s=a.value,c=nt[o];G(c)||(r[c]=parseInt(s,10))}return r}var at={},ot=function(e){function t(n){var r;return r=e.call(this)||this,r.zoneName=n,r.valid=t.isValidZone(n),r}a(t,e),t.create=function(e){return at[e]||(at[e]=new t(e)),at[e]},t.resetCache=function(){at={},et={}},t.isValidSpecifier=function(e){return!(!e||!e.match(Qe))},t.isValidZone=function(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(t){return!1}},t.parseGMTOffset=function(e){if(e){var t=e.match(/^Etc\/GMT(0|[+-]\d{1,2})$/i);if(t)return-60*parseInt(t[1])}return null};var n=t.prototype;return n.offsetName=function(e,t){var n=t.format,r=t.locale;return be(e,n,r,this.name)},n.formatOffset=function(e,t){return De(this.offset(e),t)},n.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var n=tt(this.name),r=n.formatToParts?it(n,t):rt(n,t),i=r[0],a=r[1],o=r[2],s=r[3],c=r[4],u=r[5],f=24===s?0:s,l=me({year:i,month:a,day:o,hour:f,minute:c,second:u,millisecond:0}),d=+t,h=d%1e3;return d-=h>=0?h:1e3+h,(l-d)/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},i(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Je),st=null,ct=function(e){function t(t){var n;return n=e.call(this)||this,n.fixed=t,n}a(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(we(n[1],n[2]))}return null},i(t,null,[{key:"utcInstance",get:function(){return null===st&&(st=new t(0)),st}}]);var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return De(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},i(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+De(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),t}(Je),ut=function(e){function t(t){var n;return n=e.call(this)||this,n.zoneName=t,n}a(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},i(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Je);function ft(e,t){var n;if(G(e)||null===e)return t;if(e instanceof Je)return e;if(X(e)){var r=e.toLowerCase();return"local"===r?t:"utc"===r||"gmt"===r?ct.utcInstance:null!=(n=ot.parseGMTOffset(e))?ct.instance(n):ot.isValidSpecifier(r)?ot.create(e):ct.parseSpecifier(r)||new ut(e)}return J(e)?ct.instance(e):"object"===typeof e&&e.offset&&"number"===typeof e.offset?e:new ut(e)}var lt=function(){return Date.now()},dt=null,ht=null,pt=null,vt=null,mt=!1,yt=function(){function e(){}return e.resetCaches=function(){Ft.resetCache(),ot.resetCache()},i(e,null,[{key:"now",get:function(){return lt},set:function(e){lt=e}},{key:"defaultZoneName",get:function(){return e.defaultZone.name},set:function(e){dt=e?ft(e):null}},{key:"defaultZone",get:function(){return dt||Xe.instance}},{key:"defaultLocale",get:function(){return ht},set:function(e){ht=e}},{key:"defaultNumberingSystem",get:function(){return pt},set:function(e){pt=e}},{key:"defaultOutputCalendar",get:function(){return vt},set:function(e){vt=e}},{key:"throwOnInvalid",get:function(){return mt},set:function(e){mt=e}}]),e}(),gt={};function bt(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=gt[n];return r||(r=new Intl.DateTimeFormat(e,t),gt[n]=r),r}var wt={};function kt(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=wt[n];return r||(r=new Intl.NumberFormat(e,t),wt[n]=r),r}var xt={};function Dt(e,t){void 0===t&&(t={});var n=t,r=(n.base,d(n,["base"])),i=JSON.stringify([e,r]),a=xt[i];return a||(a=new Intl.RelativeTimeFormat(e,t),xt[i]=a),a}var Ct=null;function _t(){if(Ct)return Ct;if(ee()){var e=(new Intl.DateTimeFormat).resolvedOptions().locale;return Ct=e&&"und"!==e?e:"en-US",Ct}return Ct="en-US",Ct}function Ot(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,r=e.substring(0,t);try{n=bt(e).resolvedOptions()}catch(s){n=bt(r).resolvedOptions()}var i=n,a=i.numberingSystem,o=i.calendar;return[r,a,o]}function St(e,t,n){return ee()?n||t?(e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e:[]}function Tt(e){for(var t=[],n=1;n<=12;n++){var r=di.utc(2016,n,1);t.push(e(r))}return t}function Mt(e){for(var t=[],n=1;n<=7;n++){var r=di.utc(2016,11,13+n);t.push(e(r))}return t}function Et(e,t,n,r,i){var a=e.listingMode(n);return"error"===a?null:"en"===a?r(t):i(t)}function jt(e){return(!e.numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||ee()&&"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)}var Nt=function(){function e(e,t,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!t&&ee()){var r={useGrouping:!1};n.padTo>0&&(r.minimumIntegerDigits=n.padTo),this.inf=kt(e,r)}}var t=e.prototype;return t.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}var n=this.floor?Math.floor(e):de(e,3);return ue(n,this.padTo)},e}(),Rt=function(){function e(e,t,n){var r;if(this.opts=n,this.hasIntl=ee(),e.zone.universal&&this.hasIntl){var i=e.offset/60*-1,a=i>=0?"Etc/GMT+"+i:"Etc/GMT"+i,o=ot.isValidZone(a);0!==e.offset&&o?(r=a,this.dt=e):(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:di.fromMillis(e.ts+60*e.offset*1e3))}else"local"===e.zone.type?this.dt=e:(this.dt=e,r=e.zone.name);if(this.hasIntl){var s=Object.assign({},this.opts);r&&(s.timeZone=r),this.dtf=bt(t,s)}}var t=e.prototype;return t.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var e=qe(this.opts),t=Ft.create("en-US");return Ue.create(t).formatDateTimeFromString(this.dt,e)},t.formatToParts=function(){return this.hasIntl&&te()?this.dtf.formatToParts(this.dt.toJSDate()):[]},t.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},e}(),It=function(){function e(e,t,n){this.opts=Object.assign({style:"long"},n),!t&&ne()&&(this.rtf=Dt(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):We(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),Ft=function(){function e(e,t,n,r){var i=Ot(e),a=i[0],o=i[1],s=i[2];this.locale=a,this.numberingSystem=t||o||null,this.outputCalendar=n||s||null,this.intl=St(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,r,i){void 0===i&&(i=!1);var a=t||yt.defaultLocale,o=a||(i?"en-US":_t()),s=n||yt.defaultNumberingSystem,c=r||yt.defaultOutputCalendar;return new e(o,s,c,a)},e.resetCache=function(){Ct=null,gt={},wt={},xt={}},e.fromObject=function(t){var n=void 0===t?{}:t,r=n.locale,i=n.numberingSystem,a=n.outputCalendar;return e.create(r,i,a)};var t=e.prototype;return t.listingMode=function(e){void 0===e&&(e=!0);var t=ee(),n=t&&te(),r=this.isEnglish(),i=(null===this.numberingSystem||"latn"===this.numberingSystem)&&(null===this.outputCalendar||"gregory"===this.outputCalendar);return n||r&&i||e?!n||r&&i?"en":"intl":"error"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!1}))},t.months=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),Et(this,e,n,Ee,(function(){var n=t?{month:e,day:"numeric"}:{month:e},i=t?"format":"standalone";return r.monthsCache[i][e]||(r.monthsCache[i][e]=Tt((function(e){return r.extract(e,n,"month")}))),r.monthsCache[i][e]}))},t.weekdays=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),Et(this,e,n,Ie,(function(){var n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=t?"format":"standalone";return r.weekdaysCache[i][e]||(r.weekdaysCache[i][e]=Mt((function(e){return r.extract(e,n,"weekday")}))),r.weekdaysCache[i][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),Et(this,void 0,e,(function(){return Fe}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hour12:!0};t.meridiemCache=[di.utc(2016,11,13,9),di.utc(2016,11,13,19)].map((function(n){return t.extract(n,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var n=this;return void 0===t&&(t=!0),Et(this,e,t,$e,(function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[di.utc(-40,1,1),di.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))),n.eraCache[e]}))},t.extract=function(e,t,n){var r=this.dtFormatter(e,t),i=r.formatToParts(),a=i.find((function(e){return e.type.toLowerCase()===n}));return a?a.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new Nt(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new Rt(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new It(this.intl,this.isEnglish(),e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||ee()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},i(e,[{key:"fastNumbers",get:function(){return null==this.fastNumbersCached&&(this.fastNumbersCached=jt(this)),this.fastNumbersCached}}]),e}();function Lt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+r+"$")}function Pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(t,n){var r=t[0],i=t[1],a=t[2],o=n(e,a),s=o[0],c=o[1],u=o[2];return[Object.assign(r,s),i||c,u]}),[{},null,1]).slice(0,2)}}function At(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,a=n;i<a.length;i++){var o=a[i],s=o[0],c=o[1],u=s.exec(e);if(u)return c(u)}return[null,null]}function $t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r,i={};for(r=0;r<t.length;r++)i[t[r]]=fe(e[n+r]);return[i,null,n+r]}}var zt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Vt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ht=RegExp(""+Vt.source+zt.source+"?"),Yt=RegExp("(?:T"+Ht.source+")?"),Wt=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,qt=/(\d{4})-?W(\d\d)(?:-?(\d))?/,Bt=/(\d{4})-?(\d{3})/,Zt=$t("weekYear","weekNumber","weekDay"),Ut=$t("year","ordinal"),Gt=/(\d{4})-(\d\d)-(\d\d)/,Jt=RegExp(Vt.source+" ?(?:"+zt.source+"|("+_e.source+"))?"),Kt=RegExp("(?: "+Jt.source+")?");function Xt(e,t,n){var r=e[t];return G(r)?n:fe(r)}function Qt(e,t){var n={year:Xt(e,t),month:Xt(e,t+1,1),day:Xt(e,t+2,1)};return[n,null,t+3]}function en(e,t){var n={hours:Xt(e,t,0),minutes:Xt(e,t+1,0),seconds:Xt(e,t+2,0),milliseconds:le(e[t+3])};return[n,null,t+4]}function tn(e,t){var n=!e[t]&&!e[t+1],r=we(e[t+1],e[t+2]),i=n?null:ct.instance(r);return[{},i,t+3]}function nn(e,t){var n=e[t]?ot.create(e[t]):null;return[{},n,t+1]}var rn=RegExp("^T?"+Vt.source+"$"),an=/^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function on(e){var t=e[0],n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],u=e[8],f="-"===t[0],l=c&&"-"===c[0],d=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&f)?-e:e};return[{years:d(fe(n)),months:d(fe(r)),weeks:d(fe(i)),days:d(fe(a)),hours:d(fe(o)),minutes:d(fe(s)),seconds:d(fe(c),"-0"===c),milliseconds:d(le(u),l)}]}var sn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function cn(e,t,n,r,i,a,o){var s={year:2===t.length?ge(fe(t)):fe(t),month:Te.indexOf(n)+1,day:fe(r),hour:fe(i),minute:fe(a)};return o&&(s.second=fe(o)),e&&(s.weekday=e.length>3?je.indexOf(e)+1:Ne.indexOf(e)+1),s}var un=/^(?:(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\d)(\d\d)))$/;function fn(e){var t,n=e[1],r=e[2],i=e[3],a=e[4],o=e[5],s=e[6],c=e[7],u=e[8],f=e[9],l=e[10],d=e[11],h=cn(n,a,i,r,o,s,c);return t=u?sn[u]:f?0:we(l,d),[h,new ct(t)]}function ln(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var dn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,hn=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,pn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function vn(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=e[5],o=e[6],s=e[7],c=cn(t,i,r,n,a,o,s);return[c,ct.utcInstance]}function mn(e){var t=e[1],n=e[2],r=e[3],i=e[4],a=e[5],o=e[6],s=e[7],c=cn(t,s,n,r,i,a,o);return[c,ct.utcInstance]}var yn=Lt(Wt,Yt),gn=Lt(qt,Yt),bn=Lt(Bt,Yt),wn=Lt(Ht),kn=Pt(Qt,en,tn),xn=Pt(Zt,en,tn),Dn=Pt(Ut,en,tn),Cn=Pt(en,tn);function _n(e){return At(e,[yn,kn],[gn,xn],[bn,Dn],[wn,Cn])}function On(e){return At(ln(e),[un,fn])}function Sn(e){return At(e,[dn,vn],[hn,vn],[pn,mn])}function Tn(e){return At(e,[an,on])}var Mn=Pt(en);function En(e){return At(e,[rn,Mn])}var jn=Lt(Gt,Kt),Nn=Lt(Jt),Rn=Pt(Qt,en,tn,nn),In=Pt(en,tn,nn);function Fn(e){return At(e,[jn,Rn],[Nn,In])}var Ln="Invalid Duration",Pn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},An=Object.assign({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},Pn),$n=365.2425,zn=30.436875,Vn=Object.assign({years:{quarters:4,months:12,weeks:$n/7,days:$n,hours:24*$n,minutes:24*$n*60,seconds:24*$n*60*60,milliseconds:24*$n*60*60*1e3},quarters:{months:3,weeks:$n/28,days:$n/4,hours:24*$n/4,minutes:24*$n*60/4,seconds:24*$n*60*60/4,milliseconds:24*$n*60*60*1e3/4},months:{weeks:zn/7,days:zn,hours:24*zn,minutes:24*zn*60,seconds:24*zn*60*60,milliseconds:24*zn*60*60*1e3}},Pn),Hn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Yn=Hn.slice(0).reverse();function Wn(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:Object.assign({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new Un(r)}function qn(e){return e<0?Math.floor(e):Math.ceil(e)}function Bn(e,t,n,r,i){var a=e[i][n],o=t[n]/a,s=Math.sign(o)===Math.sign(r[i]),c=!s&&0!==r[i]&&Math.abs(o)<=1?qn(o):Math.trunc(o);r[i]+=c,t[n]-=c*a}function Zn(e,t){Yn.reduce((function(n,r){return G(t[r])?n:(n&&Bn(e,t,n,t,r),r)}),null)}var Un=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||Ft.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?Vn:An,this.isLuxonDuration=!0}e.fromMillis=function(t,n){return e.fromObject(Object.assign({milliseconds:t},n))},e.fromObject=function(t){if(null==t||"object"!==typeof t)throw new x("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:xe(t,e.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:Ft.fromObject(t),conversionAccuracy:t.conversionAccuracy})},e.fromISO=function(t,n){var r=Tn(t),i=r[0];if(i){var a=Object.assign(i,n);return e.fromObject(a)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,n){var r=En(t),i=r[0];if(i){var a=Object.assign(i,n);return e.fromObject(a)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new x("need to specify a reason the Duration is invalid");var r=t instanceof Ge?t:new Ge(t,n);if(yt.throwOnInvalid)throw new b(r);return new e({invalid:r})},e.normalizeUnit=function(e){var t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new k(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var n=Object.assign({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?Ue.create(this.loc,n).formatDurationFromString(this,e):Ln},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.values);return e.includeConfig&&(t.conversionAccuracy=this.conversionAccuracy,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=de(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var i=n.toFormat(r);return e.includePrefix&&(i="T"+i),i},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(e){if(!this.isValid)return this;for(var t,n=Gn(e),r={},i=v(Hn);!(t=i()).done;){var a=t.value;(oe(n.values,a)||oe(this.values,a))&&(r[a]=n.get(a)+this.get(a))}return Wn(this,{values:r},!0)},t.minus=function(e){if(!this.isValid)return this;var t=Gn(e);return this.plus(t.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];t[i]=ke(e(this.values[i],i))}return Wn(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){if(!this.isValid)return this;var n=Object.assign(this.values,xe(t,e.normalizeUnit,[]));return Wn(this,{values:n})},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,i=t.conversionAccuracy,a=this.loc.clone({locale:n,numberingSystem:r}),o={loc:a};return i&&(o.conversionAccuracy=i),Wn(this,o)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return Zn(this.matrix,e),Wn(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(t){return e.normalizeUnit(t)}));for(var i,a,o={},s={},c=this.toObject(),u=v(Hn);!(a=u()).done;){var f=a.value;if(n.indexOf(f)>=0){i=f;var l=0;for(var d in s)l+=this.matrix[d][f]*s[d],s[d]=0;J(c[f])&&(l+=c[f]);var h=Math.trunc(l);for(var p in o[f]=h,s[f]=l-h,c)Hn.indexOf(p)>Hn.indexOf(f)&&Bn(this.matrix,c,p,o,f)}else J(c[f])&&(s[f]=c[f])}for(var m in s)0!==s[m]&&(o[i]+=m===i?s[m]:s[m]/this.matrix[i][m]);return Wn(this,{values:o},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=-this.values[r]}return Wn(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.lo