UNPKG

coral-quick-chat

Version:
1 lines 154 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["vue-quick-chat"]=e(require("vue")):t["vue-quick-chat"]=e(t.Vue)}("undefined"!=typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"014b":function(t,e,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),a=n("63b6"),s=n("9138"),u=n("ebfd").KEY,c=n("294c"),l=n("dbdb"),f=n("45f2"),d=n("62a0"),h=n("5168"),m=n("ccb9"),p=n("6718"),y=n("47ee"),v=n("9003"),g=n("e4ae"),b=n("f772"),w=n("241e"),O=n("36c3"),S=n("1bc3"),_=n("aebd"),x=n("a159"),k=n("0395"),T=n("bf0b"),C=n("9aa9"),M=n("d9f6"),j=n("c3a1"),I=T.f,E=M.f,N=k.f,L=r.Symbol,P=r.JSON,D=P&&P.stringify,A="prototype",V=h("_hidden"),F=h("toPrimitive"),z={}.propertyIsEnumerable,q=l("symbol-registry"),Z=l("symbols"),R=l("op-symbols"),$=Object[A],H="function"==typeof L&&!!C.f,G=r.QObject,U=!G||!G[A]||!G[A].findChild,B=o&&c((function(){return 7!=x(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=I($,e);r&&delete $[e],E(t,e,n),r&&t!==$&&E($,e,r)}:E,W=function(t){var e=Z[t]=x(L[A]);return e._k=t,e},J=H&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},Y=function(t,e,n){return t===$&&Y(R,e,n),g(t),e=S(e,!0),g(n),i(Z,e)?(n.enumerable?(i(t,V)&&t[V][e]&&(t[V][e]=!1),n=x(n,{enumerable:_(0,!1)})):(i(t,V)||E(t,V,_(1,{})),t[V][e]=!0),B(t,e,n)):E(t,e,n)},K=function(t,e){g(t);for(var n,r=y(e=O(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},Q=function(t){var e=z.call(this,t=S(t,!0));return!(this===$&&i(Z,t)&&!i(R,t))&&(!(e||!i(this,t)||!i(Z,t)||i(this,V)&&this[V][t])||e)},X=function(t,e){if(t=O(t),e=S(e,!0),t!==$||!i(Z,e)||i(R,e)){var n=I(t,e);return!n||!i(Z,e)||i(t,V)&&t[V][e]||(n.enumerable=!0),n}},tt=function(t){for(var e,n=N(O(t)),r=[],o=0;n.length>o;)i(Z,e=n[o++])||e==V||e==u||r.push(e);return r},et=function(t){for(var e,n=t===$,r=N(n?R:O(t)),o=[],a=0;r.length>a;)!i(Z,e=r[a++])||n&&!i($,e)||o.push(Z[e]);return o};H||(s((L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===$&&e.call(R,n),i(this,V)&&i(this[V],t)&&(this[V][t]=!1),B(this,t,_(1,n))};return o&&U&&B($,t,{configurable:!0,set:e}),W(t)})[A],"toString",(function(){return this._k})),T.f=X,M.f=Y,n("6abf").f=k.f=tt,n("355d").f=Q,C.f=et,o&&!n("b8e3")&&s($,"propertyIsEnumerable",Q,!0),m.f=function(t){return W(h(t))}),a(a.G+a.W+a.F*!H,{Symbol:L});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)h(nt[rt++]);for(var it=j(h.store),ot=0;it.length>ot;)p(it[ot++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return i(q,t+="")?q[t]:q[t]=L(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in q)if(q[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!H,"Object",{create:function(t,e){return void 0===e?x(t):K(x(t),e)},defineProperty:Y,defineProperties:K,getOwnPropertyDescriptor:X,getOwnPropertyNames:tt,getOwnPropertySymbols:et});var at=c((function(){C.f(1)}));a(a.S+a.F*at,"Object",{getOwnPropertySymbols:function(t){return C.f(w(t))}}),P&&a(a.S+a.F*(!H||c((function(){var t=L();return"[null]"!=D([t])||"{}"!=D({a:t})||"{}"!=D(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!J(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),r[1]=e,D.apply(P,r)}}),L[A][F]||n("35e8")(L[A],F,L[A].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),u=n("41a0"),c=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),h="keys",m="values",p=function(){return this};t.exports=function(t,e,n,y,v,g,b){u(n,e,y);var w,O,S,_=function(t){if(!d&&t in C)return C[t];switch(t){case h:case m:return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",k=v==m,T=!1,C=t.prototype,M=C[f]||C["@@iterator"]||v&&C[v],j=M||_(v),I=v?k?_("entries"):j:void 0,E="Array"==e&&C.entries||M;if(E&&((S=l(E.call(new t)))!==Object.prototype&&S.next&&(c(S,x,!0),r||"function"==typeof S[f]||a(S,f,p))),k&&M&&M.name!==m&&(T=!0,j=function(){return M.call(this)}),r&&!b||!d&&!T&&C[f]||a(C,f,j),s[e]=j,s[x]=p,v)if(w={values:k?j:_(m),keys:g?j:_(h),entries:I},b)for(O in w)O in C||o(C,O,w[O]);else i(i.P+i.F*(d||T),e,w);return w}},"0395":function(t,e,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},"0526":function(t,e,n){},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},1173:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),u=n("c69a"),c=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},1315:function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function u(){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(t){return!1}}function c(t,e,n){return(c=u()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&s(i,n.prototype),i}).apply(null,arguments)}function l(t){var e="function"==typeof Map?new Map:void 0;return(l=function(t){if(null===t||!function(t){return-1!==Function.toString.call(t).indexOf("[native code]")}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,a(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,t)})(t)}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function d(t){var e=0;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}(t)))return function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}};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(e=t[Symbol.iterator]()).next.bind(e)}Object.defineProperty(e,"__esModule",{value:!0});var h=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(l(Error)),m=function(t){function e(e){return t.call(this,"Invalid DateTime: "+e.toMessage())||this}return o(e,t),e}(h),p=function(t){function e(e){return t.call(this,"Invalid Interval: "+e.toMessage())||this}return o(e,t),e}(h),y=function(t){function e(e){return t.call(this,"Invalid Duration: "+e.toMessage())||this}return o(e,t),e}(h),v=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(h),g=function(t){function e(e){return t.call(this,"Invalid unit "+e)||this}return o(e,t),e}(h),b=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(h),w=function(t){function e(){return t.call(this,"Zone is an abstract class")||this}return o(e,t),e}(h),O="numeric",S="short",_="long",x={year:O,month:O,day:O},k={year:O,month:S,day:O},T={year:O,month:_,day:O},C={year:O,month:_,day:O,weekday:_},M={hour:O,minute:O},j={hour:O,minute:O,second:O},I={hour:O,minute:O,second:O,timeZoneName:S},E={hour:O,minute:O,second:O,timeZoneName:_},N={hour:O,minute:O,hour12:!1},L={hour:O,minute:O,second:O,hour12:!1},P={hour:O,minute:O,second:O,hour12:!1,timeZoneName:S},D={hour:O,minute:O,second:O,hour12:!1,timeZoneName:_},A={year:O,month:O,day:O,hour:O,minute:O},V={year:O,month:O,day:O,hour:O,minute:O,second:O},F={year:O,month:S,day:O,hour:O,minute:O},z={year:O,month:S,day:O,hour:O,minute:O,second:O},q={year:O,month:S,day:O,weekday:S,hour:O,minute:O},Z={year:O,month:_,day:O,hour:O,minute:O,timeZoneName:S},R={year:O,month:_,day:O,hour:O,minute:O,second:O,timeZoneName:S},$={year:O,month:_,day:O,weekday:_,hour:O,minute:O,timeZoneName:_},H={year:O,month:_,day:O,weekday:_,hour:O,minute:O,second:O,timeZoneName:_};function G(t){return void 0===t}function U(t){return"number"==typeof t}function B(t){return"number"==typeof t&&t%1==0}function W(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(t){return!1}}function J(){return!G(Intl.DateTimeFormat.prototype.formatToParts)}function Y(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function K(t,e,n){if(0!==t.length)return t.reduce((function(t,r){var i=[e(r),r];return t&&n(t[0],i[0])===t[0]?t:i}),null)[1]}function Q(t,e){return e.reduce((function(e,n){return e[n]=t[n],e}),{})}function X(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function tt(t,e,n){return B(t)&&t>=e&&t<=n}function et(t,e){return void 0===e&&(e=2),t.toString().length<e?("0".repeat(e)+t).slice(-e):t.toString()}function nt(t){return G(t)||null===t||""===t?void 0:parseInt(t,10)}function rt(t){if(!G(t)&&null!==t&&""!==t){var e=1e3*parseFloat("0."+t);return Math.floor(e)}}function it(t,e,n){void 0===n&&(n=!1);var r=Math.pow(10,e);return(n?Math.trunc:Math.round)(t*r)/r}function ot(t){return t%4==0&&(t%100!=0||t%400==0)}function at(t){return ot(t)?366:365}function st(t,e){var n=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===n?ot(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function ut(t){var e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e)).setUTCFullYear(e.getUTCFullYear()-1900),+e}function ct(t){var e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,n=t-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===e||3===r?53:52}function lt(t){return t>99?t:t>60?1900+t:2e3+t}function ft(t,e,n,r){void 0===r&&(r=null);var i=new Date(t),o={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);var a=Object.assign({timeZoneName:e},o),s=W();if(s&&J()){var u=new Intl.DateTimeFormat(n,a).formatToParts(i).find((function(t){return"timezonename"===t.type.toLowerCase()}));return u?u.value:null}if(s){var c=new Intl.DateTimeFormat(n,o).format(i);return new Intl.DateTimeFormat(n,a).format(i).substring(c.length).replace(/^[, \u200e]+/,"")}return null}function dt(t,e){var n=parseInt(t,10);Number.isNaN(n)&&(n=0);var r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function ht(t){var e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new b("Invalid unit value "+t);return e}function mt(t,e,n){var r={};for(var i in t)if(X(t,i)){if(n.indexOf(i)>=0)continue;var o=t[i];if(null==o)continue;r[e(i)]=ht(o)}return r}function pt(t,e){var n=Math.trunc(t/60),r=Math.abs(t%60),i=n>=0&&!Object.is(n,-0)?"+":"-",o=""+i+Math.abs(n);switch(e){case"short":return""+i+et(Math.abs(n),2)+":"+et(r,2);case"narrow":return r>0?o+":"+r:o;case"techie":return""+i+et(Math.abs(n),2)+et(r,2);default:throw new RangeError("Value format "+e+" is out of range for property format")}}function yt(t){return Q(t,["hour","minute","second","millisecond"])}var vt=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function gt(t){return JSON.stringify(t,Object.keys(t).sort())}var bt=["January","February","March","April","May","June","July","August","September","October","November","December"],wt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ot=["J","F","M","A","M","J","J","A","S","O","N","D"];function St(t){switch(t){case"narrow":return Ot;case"short":return wt;case"long":return bt;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 _t=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xt=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],kt=["M","T","W","T","F","S","S"];function Tt(t){switch(t){case"narrow":return kt;case"short":return xt;case"long":return _t;case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Ct=["AM","PM"],Mt=["Before Christ","Anno Domini"],jt=["BC","AD"],It=["B","A"];function Et(t){switch(t){case"narrow":return It;case"short":return jt;case"long":return Mt;default:return null}}function Nt(t,e){for(var n,r="",i=d(t);!(n=i()).done;){var o=n.value;o.literal?r+=o.val:r+=e(o.val)}return r}var Lt={D:x,DD:k,DDD:T,DDDD:C,t:M,tt:j,ttt:I,tttt:E,T:N,TT:L,TTT:P,TTTT:D,f:A,ff:F,fff:Z,ffff:$,F:V,FF:z,FFF:R,FFFF:H},Pt=function(){function t(t,e){this.opts=e,this.loc=t,this.systemLoc=null}t.create=function(e,n){return void 0===n&&(n={}),new t(e,n)},t.parseFormat=function(t){for(var e=null,n="",r=!1,i=[],o=0;o<t.length;o++){var a=t.charAt(o);"'"===a?(n.length>0&&i.push({literal:r,val:n}),e=null,n="",r=!r):r||a===e?n+=a:(n.length>0&&i.push({literal:!1,val:n}),n=a,e=a)}return n.length>0&&i.push({literal:r,val:n}),i},t.macroTokenToFormatOpts=function(t){return Lt[t]};var e=t.prototype;return e.formatWithSystemDefault=function(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,Object.assign({},this.opts,e)).format()},e.formatDateTime=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).format()},e.formatDateTimeParts=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).formatToParts()},e.resolvedOptions=function(t,e){return void 0===e&&(e={}),this.loc.dtFormatter(t,Object.assign({},this.opts,e)).resolvedOptions()},e.num=function(t,e){if(void 0===e&&(e=0),this.opts.forceSimple)return et(t,e);var n=Object.assign({},this.opts);return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)},e.formatDateTimeFromString=function(e,n){var r=this,i="en"===this.loc.listingMode(),o=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&J(),a=function(t,n){return r.loc.extract(e,t,n)},s=function(t){return e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):""},u=function(){return i?function(t){return Ct[t.hour<12?0:1]}(e):a({hour:"numeric",hour12:!0},"dayperiod")},c=function(t,n){return i?function(t,e){return St(e)[t.month-1]}(e,t):a(n?{month:t}:{month:t,day:"numeric"},"month")},l=function(t,n){return i?function(t,e){return Tt(e)[t.weekday-1]}(e,t):a(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday")},f=function(n){var i=t.macroTokenToFormatOpts(n);return i?r.formatWithSystemDefault(e,i):n},d=function(t){return i?function(t,e){return Et(e)[t.year<0?0:1]}(e,t):a({era:t},"era")};return Nt(t.parseFormat(n),(function(t){switch(t){case"S":return r.num(e.millisecond);case"u":case"SSS":return r.num(e.millisecond,3);case"s":return r.num(e.second);case"ss":return r.num(e.second,2);case"m":return r.num(e.minute);case"mm":return r.num(e.minute,2);case"h":return r.num(e.hour%12==0?12:e.hour%12);case"hh":return r.num(e.hour%12==0?12:e.hour%12,2);case"H":return r.num(e.hour);case"HH":return r.num(e.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 e.zone.offsetName(e.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:r.loc.locale});case"z":return e.zoneName;case"a":return u();case"d":return o?a({day:"numeric"},"day"):r.num(e.day);case"dd":return o?a({day:"2-digit"},"day"):r.num(e.day,2);case"c":return r.num(e.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return r.num(e.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return o?a({month:"numeric",day:"numeric"},"month"):r.num(e.month);case"LL":return o?a({month:"2-digit",day:"numeric"},"month"):r.num(e.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return o?a({month:"numeric"},"month"):r.num(e.month);case"MM":return o?a({month:"2-digit"},"month"):r.num(e.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return o?a({year:"numeric"},"year"):r.num(e.year);case"yy":return o?a({year:"2-digit"},"year"):r.num(e.year.toString().slice(-2),2);case"yyyy":return o?a({year:"numeric"},"year"):r.num(e.year,4);case"yyyyyy":return o?a({year:"numeric"},"year"):r.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(e.weekYear.toString().slice(-2),2);case"kkkk":return r.num(e.weekYear,4);case"W":return r.num(e.weekNumber);case"WW":return r.num(e.weekNumber,2);case"o":return r.num(e.ordinal);case"ooo":return r.num(e.ordinal,3);case"q":return r.num(e.quarter);case"qq":return r.num(e.quarter,2);case"X":return r.num(Math.floor(e.ts/1e3));case"x":return r.num(e.ts);default:return f(t)}}))},e.formatDurationFromString=function(e,n){var r=this,i=function(t){switch(t[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}},o=t.parseFormat(n),a=o.reduce((function(t,e){var n=e.literal,r=e.val;return n?t:t.concat(r)}),[]);return Nt(o,function(t){return function(e){var n=i(e);return n?r.num(t.get(n),e.length):e}}(e.shiftTo.apply(e,a.map(i).filter((function(t){return t})))))},t}(),Dt=function(){function t(t,e){this.reason=t,this.explanation=e}return t.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},t}(),At=function(){function t(){}var e=t.prototype;return e.offsetName=function(t,e){throw new w},e.formatOffset=function(t,e){throw new w},e.offset=function(t){throw new w},e.equals=function(t){throw new w},i(t,[{key:"type",get:function(){throw new w}},{key:"name",get:function(){throw new w}},{key:"universal",get:function(){throw new w}},{key:"isValid",get:function(){throw new w}}]),t}(),Vt=null,Ft=function(t){function e(){return t.apply(this,arguments)||this}o(e,t);var n=e.prototype;return n.offsetName=function(t,e){return ft(t,e.format,e.locale)},n.formatOffset=function(t,e){return pt(this.offset(t),e)},n.offset=function(t){return-new Date(t).getTimezoneOffset()},n.equals=function(t){return"local"===t.type},i(e,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return W()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Vt&&(Vt=new e),Vt}}]),e}(At),zt=RegExp("^"+vt.source+"$"),qt={};var Zt={year:0,month:1,day:2,hour:3,minute:4,second:5};var Rt={},$t=function(t){function e(n){var r;return(r=t.call(this)||this).zoneName=n,r.valid=e.isValidZone(n),r}o(e,t),e.create=function(t){return Rt[t]||(Rt[t]=new e(t)),Rt[t]},e.resetCache=function(){Rt={},qt={}},e.isValidSpecifier=function(t){return!(!t||!t.match(zt))},e.isValidZone=function(t){try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}},e.parseGMTOffset=function(t){if(t){var e=t.match(/^Etc\/GMT([+-]\d{1,2})$/i);if(e)return-60*parseInt(e[1])}return null};var n=e.prototype;return n.offsetName=function(t,e){return ft(t,e.format,e.locale,this.name)},n.formatOffset=function(t,e){return pt(this.offset(t),e)},n.offset=function(t){var e=new Date(t),n=function(t){return qt[t]||(qt[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),qt[t]}(this.name),r=n.formatToParts?function(t,e){for(var n=t.formatToParts(e),r=[],i=0;i<n.length;i++){var o=n[i],a=o.type,s=o.value,u=Zt[a];G(u)||(r[u]=parseInt(s,10))}return r}(n,e):function(t,e){var n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],o=r[2];return[r[3],i,o,r[4],r[5],r[6]]}(n,e),i=r[0],o=r[1],a=r[2],s=r[3],u=+e,c=u%1e3;return(ut({year:i,month:o,day:a,hour:24===s?0:s,minute:r[4],second:r[5],millisecond:0})-(u-=c>=0?c:1e3+c))/6e4},n.equals=function(t){return"iana"===t.type&&t.name===this.name},i(e,[{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}}]),e}(At),Ht=null,Gt=function(t){function e(e){var n;return(n=t.call(this)||this).fixed=e,n}o(e,t),e.instance=function(t){return 0===t?e.utcInstance:new e(t)},e.parseSpecifier=function(t){if(t){var n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new e(dt(n[1],n[2]))}return null},i(e,null,[{key:"utcInstance",get:function(){return null===Ht&&(Ht=new e(0)),Ht}}]);var n=e.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(t,e){return pt(this.fixed,e)},n.offset=function(){return this.fixed},n.equals=function(t){return"fixed"===t.type&&t.fixed===this.fixed},i(e,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+pt(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),e}(At),Ut=function(t){function e(e){var n;return(n=t.call(this)||this).zoneName=e,n}o(e,t);var n=e.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},i(e,[{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}}]),e}(At);function Bt(t,e){var n;if(G(t)||null===t)return e;if(t instanceof At)return t;if(function(t){return"string"==typeof t}(t)){var r=t.toLowerCase();return"local"===r?e:"utc"===r||"gmt"===r?Gt.utcInstance:null!=(n=$t.parseGMTOffset(t))?Gt.instance(n):$t.isValidSpecifier(r)?$t.create(t):Gt.parseSpecifier(r)||new Ut(t)}return U(t)?Gt.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new Ut(t)}var Wt=function(){return Date.now()},Jt=null,Yt=null,Kt=null,Qt=null,Xt=!1,te=function(){function t(){}return t.resetCaches=function(){fe.resetCache(),$t.resetCache()},i(t,null,[{key:"now",get:function(){return Wt},set:function(t){Wt=t}},{key:"defaultZoneName",get:function(){return t.defaultZone.name},set:function(t){Jt=t?Bt(t):null}},{key:"defaultZone",get:function(){return Jt||Ft.instance}},{key:"defaultLocale",get:function(){return Yt},set:function(t){Yt=t}},{key:"defaultNumberingSystem",get:function(){return Kt},set:function(t){Kt=t}},{key:"defaultOutputCalendar",get:function(){return Qt},set:function(t){Qt=t}},{key:"throwOnInvalid",get:function(){return Xt},set:function(t){Xt=t}}]),t}(),ee={};function ne(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=ee[n];return r||(r=new Intl.DateTimeFormat(t,e),ee[n]=r),r}var re={};var ie={};function oe(t,e){void 0===e&&(e={});var n=e,r=(n.base,function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(n,["base"])),i=JSON.stringify([t,r]),o=ie[i];return o||(o=new Intl.RelativeTimeFormat(t,e),ie[i]=o),o}var ae=null;function se(t,e,n,r,i){var o=t.listingMode(n);return"error"===o?null:"en"===o?r(e):i(e)}var ue=function(){function t(t,e,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!e&&W()){var r={useGrouping:!1};n.padTo>0&&(r.minimumIntegerDigits=n.padTo),this.inf=function(t,e){void 0===e&&(e={});var n=JSON.stringify([t,e]),r=re[n];return r||(r=new Intl.NumberFormat(t,e),re[n]=r),r}(t,r)}}return t.prototype.format=function(t){if(this.inf){var e=this.floor?Math.floor(t):t;return this.inf.format(e)}return et(this.floor?Math.floor(t):it(t,3),this.padTo)},t}(),ce=function(){function t(t,e,n){var r;if(this.opts=n,this.hasIntl=W(),t.zone.universal&&this.hasIntl?(r="UTC",n.timeZoneName?this.dt=t:this.dt=0===t.offset?t:lr.fromMillis(t.ts+60*t.offset*1e3)):"local"===t.zone.type?this.dt=t:(this.dt=t,r=t.zone.name),this.hasIntl){var i=Object.assign({},this.opts);r&&(i.timeZone=r),this.dtf=ne(e,i)}}var e=t.prototype;return e.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var t=function(t){var e="EEEE, LLLL d, yyyy, h:mm a";switch(gt(Q(t,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case gt(x):return"M/d/yyyy";case gt(k):return"LLL d, yyyy";case gt(T):return"LLLL d, yyyy";case gt(C):return"EEEE, LLLL d, yyyy";case gt(M):return"h:mm a";case gt(j):return"h:mm:ss a";case gt(I):case gt(E):return"h:mm a";case gt(N):return"HH:mm";case gt(L):return"HH:mm:ss";case gt(P):case gt(D):return"HH:mm";case gt(A):return"M/d/yyyy, h:mm a";case gt(F):return"LLL d, yyyy, h:mm a";case gt(Z):return"LLLL d, yyyy, h:mm a";case gt($):return e;case gt(V):return"M/d/yyyy, h:mm:ss a";case gt(z):return"LLL d, yyyy, h:mm:ss a";case gt(q):return"EEE, d LLL yyyy, h:mm a";case gt(R):return"LLLL d, yyyy, h:mm:ss a";case gt(H):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return e}}(this.opts),e=fe.create("en-US");return Pt.create(e).formatDateTimeFromString(this.dt,t)},e.formatToParts=function(){return this.hasIntl&&J()?this.dtf.formatToParts(this.dt.toJSDate()):[]},e.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},t}(),le=function(){function t(t,e,n){this.opts=Object.assign({style:"long"},n),!e&&Y()&&(this.rtf=oe(t,n))}var e=t.prototype;return e.format=function(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,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."]},o=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&o){var a="days"===t;switch(e){case 1:return a?"tomorrow":"next "+i[t][0];case-1:return a?"yesterday":"last "+i[t][0];case 0:return a?"today":"this "+i[t][0]}}var s=Object.is(e,-0)||e<0,u=Math.abs(e),c=1===u,l=i[t],f=r?c?l[1]:l[2]||l[1]:c?i[t][0]:t;return s?u+" "+f+" ago":"in "+u+" "+f}(e,t,this.opts.numeric,"long"!==this.opts.style)},e.formatToParts=function(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]},t}(),fe=function(){function t(t,e,n,r){var i=function(t){var e=t.indexOf("-u-");if(-1===e)return[t];var n,r=t.substring(0,e);try{n=ne(t).resolvedOptions()}catch(t){n=ne(r).resolvedOptions()}var i=n;return[r,i.numberingSystem,i.calendar]}(t),o=i[0],a=i[1],s=i[2];this.locale=o,this.numberingSystem=e||a||null,this.outputCalendar=n||s||null,this.intl=function(t,e,n){return W()?n||e?(t+="-u",n&&(t+="-ca-"+n),e&&(t+="-nu-"+e),t):t:[]}(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}t.fromOpts=function(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)},t.create=function(e,n,r,i){void 0===i&&(i=!1);var o=e||te.defaultLocale;return new t(o||(i?"en-US":function(){if(ae)return ae;if(W()){var t=(new Intl.DateTimeFormat).resolvedOptions().locale;return ae=t&&"und"!==t?t:"en-US"}return ae="en-US"}()),n||te.defaultNumberingSystem,r||te.defaultOutputCalendar,o)},t.resetCache=function(){ae=null,ee={},re={},ie={}},t.fromObject=function(e){var n=void 0===e?{}:e,r=n.locale,i=n.numberingSystem,o=n.outputCalendar;return t.create(r,i,o)};var e=t.prototype;return e.listingMode=function(t){void 0===t&&(t=!0);var e=W()&&J(),n=this.isEnglish(),r=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e||n&&r||t?!e||n&&r?"en":"intl":"error"},e.clone=function(e){return e&&0!==Object.getOwnPropertyNames(e).length?t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this},e.redefaultToEN=function(t){return void 0===t&&(t={}),this.clone(Object.assign({},t,{defaultToEN:!0}))},e.redefaultToSystem=function(t){return void 0===t&&(t={}),this.clone(Object.assign({},t,{defaultToEN:!1}))},e.months=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),se(this,t,n,St,(function(){var n=e?{month:t,day:"numeric"}:{month:t},i=e?"format":"standalone";return r.monthsCache[i][t]||(r.monthsCache[i][t]=function(t){for(var e=[],n=1;n<=12;n++){var r=lr.utc(2016,n,1);e.push(t(r))}return e}((function(t){return r.extract(t,n,"month")}))),r.monthsCache[i][t]}))},e.weekdays=function(t,e,n){var r=this;return void 0===e&&(e=!1),void 0===n&&(n=!0),se(this,t,n,Tt,(function(){var n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=e?"format":"standalone";return r.weekdaysCache[i][t]||(r.weekdaysCache[i][t]=function(t){for(var e=[],n=1;n<=7;n++){var r=lr.utc(2016,11,13+n);e.push(t(r))}return e}((function(t){return r.extract(t,n,"weekday")}))),r.weekdaysCache[i][t]}))},e.meridiems=function(t){var e=this;return void 0===t&&(t=!0),se(this,void 0,t,(function(){return Ct}),(function(){if(!e.meridiemCache){var t={hour:"numeric",hour12:!0};e.meridiemCache=[lr.utc(2016,11,13,9),lr.utc(2016,11,13,19)].map((function(n){return e.extract(n,t,"dayperiod")}))}return e.meridiemCache}))},e.eras=function(t,e){var n=this;return void 0===e&&(e=!0),se(this,t,e,Et,(function(){var e={era:t};return n.eraCache[t]||(n.eraCache[t]=[lr.utc(-40,1,1),lr.utc(2017,1,1)].map((function(t){return n.extract(t,e,"era")}))),n.eraCache[t]}))},e.extract=function(t,e,n){var r=this.dtFormatter(t,e).formatToParts().find((function(t){return t.type.toLowerCase()===n}));return r?r.value:null},e.numberFormatter=function(t){return void 0===t&&(t={}),new ue(this.intl,t.forceSimple||this.fastNumbers,t)},e.dtFormatter=function(t,e){return void 0===e&&(e={}),new ce(t,this.intl,e)},e.relFormatter=function(t){return void 0===t&&(t={}),new le(this.intl,this.isEnglish(),t)},e.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||W()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},e.equals=function(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar},i(t,[{key:"fastNumbers",get:function(){return null==this.fastNumbersCached&&(this.fastNumbersCached=function(t){return(!t.numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||W()&&"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)}(this)),this.fastNumbersCached}}]),t}();function de(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return t+e.source}),"");return RegExp("^"+r+"$")}function he(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(e,n){var r=e[0],i=e[1],o=e[2],a=n(t,o),s=a[0],u=a[1],c=a[2];return[Object.assign(r,s),i||u,c]}),[{},null,1]).slice(0,2)}}function me(t){if(null==t)return[null,null];for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i],s=a[0],u=a[1],c=s.exec(t);if(c)return u(c)}return[null,null]}function pe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r,i={};for(r=0;r<e.length;r++)i[e[r]]=nt(t[n+r]);return[i,null,n+r]}}var ye=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ve=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,9}))?)?)?/,ge=RegExp(""+ve.source+ye.source+"?"),be=RegExp("(?:T"+ge.source+")?"),we=pe("weekYear","weekNumber","weekDay"),Oe=pe("year","ordinal"),Se=RegExp(ve.source+" ?(?:"+ye.source+"|("+vt.source+"))?"),_e=RegExp("(?: "+Se.source+")?");function xe(t,e,n){var r=t[e];return G(r)?n:nt(r)}function ke(t,e){return[{year:xe(t,e),month:xe(t,e+1,1),day:xe(t,e+2,1)},null,e+3]}function Te(t,e){return[{hour:xe(t,e,0),minute:xe(t,e+1,0),second:xe(t,e+2,0),millisecond:rt(t[e+3])},null,e+4]}function Ce(t,e){var n=!t[e]&&!t[e+1],r=dt(t[e+1],t[e+2]);return[{},n?null:Gt.instance(r),e+3]}function Me(t,e){return[{},t[e]?$t.create(t[e]):null,e+1]}var je=/^-?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,9})(?:[.,](-?\d{1,9}))?S)?)?)$/;function Ie(t){var e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],u=t[7],c=t[8],l="-"===e[0],f=function(t){return t&&l?-t:t};return[{years:f(nt(n)),months:f(nt(r)),weeks:f(nt(i)),days:f(nt(o)),hours:f(nt(a)),minutes:f(nt(s)),seconds:f(nt(u)),milliseconds:f(rt(c))}]}var Ee={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ne(t,e,n,r,i,o,a){var s={year:2===e.length?lt(nt(e)):nt(e),month:wt.indexOf(n)+1,day:nt(r),hour:nt(i),minute:nt(o)};return a&&(s.second=nt(a)),t&&(s.weekday=t.length>3?_t.indexOf(t)+1:xt.indexOf(t)+1),s}var Le=/^(?:(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 Pe(t){var e,n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],s=t[6],u=t[7],c=t[8],l=t[9],f=t[10],d=t[11],h=Ne(n,o,i,r,a,s,u);return e=c?Ee[c]:l?0:dt(f,d),[h,new Gt(e)]}var De=/^(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$/,Ae=/^(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$/,Ve=/^(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 Fe(t){var e=t[1],n=t[2],r=t[3];return[Ne(e,t[4],r,n,t[5],t[6],t[7]),Gt.utcInstance]}function ze(t){var e=t[1],n=t[2],r=t[3],i=t[4],o=t[5],a=t[6];return[Ne(e,t[7],n,r,i,o,a),Gt.utcInstance]}var qe=de(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,be),Ze=de(/(\d{4})-?W(\d\d)(?:-?(\d))?/,be),Re=de(/(\d{4})-?(\d{3})/,be),$e=de(ge),He=he(ke,Te,Ce),Ge=he(we,Te,Ce),Ue=he(Oe,Te),Be=he(Te,Ce);var We=de(/(\d{4})-(\d\d)-(\d\d)/,_e),Je=de(Se),Ye=he(ke,Te,Ce,Me),Ke=he(Te,Ce,Me);var Qe={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}},Xe=Object.assign({years:{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,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},Qe),tn=365.2425,en=30.436875,nn=Object.assign({years:{months:12,weeks:tn/7,days:tn,hours:24*tn,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:tn/28,days:tn/4,hours:24*tn/4,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:en/7,days:en,hours:24*en,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Qe),rn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],on=rn.slice(0).reverse();function an(t,e,n){void 0===n&&(n=!1);var r={values:n?e.values:Object.assign({},t.values,e.values||{}),loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy};return new cn(r)}function sn(t,e,n,r,i){var o=t[i][n],a=e[n]/o,s=!(Math.sign(a)===Math.sign(r[i]))&&0!==r[i]&&Math.abs(a)<=1?function(t){return t<0?Math.floor(t):Math.ceil(t)}(a):Math.trunc(a);r[i]+=s,e[n]-=s*o}function un(t,e){on.reduce((function(n,r){return G(e[r])?n:(n&&sn(t,e,n,e,r),r)}),null)}var cn=function(){function t(t){var e="longterm"===t.conversionAccuracy||!1;this.values=t.values,this.loc=t.loc||fe.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=e?nn:Xe,this.isLuxonDuration=!0}t.fromMillis=function(e,n){return t.fromObject(Object.assign({milliseconds:e},n))},t.fromObject=function(e){if(null==e||"object"!=typeof e)throw new b("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new t({values:mt(e,t.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:fe.fromObject(e),conversionAccuracy:e.conversionAccuracy})},t.fromISO=function(e,n){var r=function(t){return me(t,[je,Ie])}(e)[0];if(r){var i=Object.assign(r,n);return t.fromObject(i)}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new b("need to specify a reason the Duration is invalid");var r=e instanceof Dt?e:new Dt(e,n);if(te.throwOnInvalid)throw new y(r);return new t({invalid:r})},t.normalizeUnit=function(t){var e={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"}[t?t.toLowerCase():t];if(!e)throw new g(t);return e},t.isDuration=function(t){return t&&t.isLuxonDuration||!1};var e=t.prototype;return e.toFormat=function(t,e){void 0===e&&(e={});var n=Object.assign({},e,{floor:!1!==e.round&&!1!==e.floor});return this.isValid?Pt.create(this.loc,n).formatDurationFromString(this,t):"Invalid Duration"},e.toObject=function(t){if(void 0===t&&(t={}),!this.isValid)return{};var e=Object.assign({},this.values);return t.includeConfig&&(e.conversionAccuracy=this.conversionAccuracy,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e},e.toISO=function(){if(!this.isValid)return null;var t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=it(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t},e.toJSON=function(){return this.toISO()},e.toString=function(){return this.toISO()},e.valueOf=function(){return this.as("milliseconds")},e.plus=function(t){if(!this.isValid)return this;for(var e,n=ln(t),r={},i=d(rn);!(e=i()).done;){var o=e.value;(X(n.values,o)||X(this.values,o))&&(r[o]=n.get(o)+this.get(o))}return an(this,{values:r},!0)},e.minus=function(t){if(!this.isValid)return this;var e=ln(t);return this.plus(e.negate())},e.mapUnits=function(t){if(!this.isValid)return this;for(var e={},n=0,r=Object.keys(this.values);n<r.length;n++){var i=r[n];e[i]=ht(t(this.values[i],i))}return an(this,{values:e},!0)},e.get=function(e){return this[t.normalizeUnit(e)]},e.set=function(e){return this.isValid?an(this,{values:Object.assign(this.values,mt(e,t.normalizeUnit,[]))}):this},e.reconfigure=function(t){var e=void 0===t?{}:t,n=e.locale,r=e.numberingSystem,i=e.conversionAccuracy,o={loc:this.loc.clone({locale:n,numberingSystem:r})};return i&&(o.conversionAccuracy=i),an(this,o)},e.as=function(t){return this.isValid?this.shiftTo(t).get(t):NaN},e.normalize=function(){if(!this.isValid)return this;var t=this.toObject();return un(this.matrix,t),an(this,{values:t},!0)},e.shiftTo=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(e){return t.normalizeUnit(e)}));var i,o={},a={},s=this.toObject();un(this.matrix,s);for(var u,c=d(rn);!(u=c()).done;){var l=u.value;if(n.indexOf(l)>=0){i=l;var f=0;for(var h in a)f+=this.matrix[h][l]*a[h],a[h]=0;U(s[l])&&(f+=s[l]);var m=Math.trunc(f);for(var p in o[l]=m,a[l]=f-m,s)rn.indexOf(p)>rn.indexOf(l)&&sn(this.matrix,s,p,o,l)}else U(s[l])&&(a[l]=s[l])}for(var y in a)0!==a[y]&&(o[i]+=y===i?a[y]:a[y]/this.matrix[i][y]);return an(this,{values:o},!0).normalize()},e.negate=function(){if(!this.isValid)return this;for(var t={},e=0,n=Object.keys(this.values);e<n.length;e++){var r=n[e];t[r]=-this.values[r]}return an(this,{values:t},!0)},e.equals=function(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(var e,n=d(rn);!(e=n()).done;){var r=e.value;if(this.values[r]!==t.values[r])return!1}return!0},i(t,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}();function ln(t){if(U(t))return cn.fromMillis(t);if(cn.isDuration(t))return t;if("object"==typeof t)return cn.fromObject(t);throw new b("Unknown duration argument "+t+" of type "+typeof t)}var fn="Invalid Interval";var dn=function(){function t(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}t.invalid=function(e,n){if(void 0===n&&(n=null),!e)throw new b("need to specify a reason the Interval is invalid");var r=e instanceof Dt?e:new Dt(e,n);if(te.throwOnInvalid)throw new p(r);return new t({invalid:r})},t.fromDateTimes=function(e,n){var r=fr(e),i=fr(n),o=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dn.invalid("end before start","The end of an interval must be after its start, but you had start="+t.toISO()+" and end="+e.toISO()):null:dn.invalid("missing or invalid end"):dn.invalid("missing or invalid start")}(r,i);return null==o?new t({start:r,end:i}):o},t.after=function(e,n){var r=ln(n),i=fr(e);return t.fromDateTimes(i,i.plus(r))},t.before=function(e,n){var r=ln(n),i=fr(e);return t.fromDateTimes(i.minus(r),i)},t.fromISO=function(e,n){var r=(e||"").split("/",2),i=r[0],o=r[1];if(i&&o){var a=lr.fromISO(i,n),s=lr.fromISO(o,n);if(a.isValid&&s.isValid)return t.fromDateTimes(a,s);if(a.isValid){var u=cn.fromISO(o,n);if(u.isValid)return t.after(a,u)}else if(s.isValid){var c=cn.fromISO(i,n);if(c.isValid)return t.before(s,c)}}return t.invalid("unparsable",'the input "'+e+"\" can't be parsed as ISO 8601")},t.isInterval=function(t){return t&&t.isLuxonInterval||!1};var e=t.prototype;return e.length=function(t){return void 0===t&&(t="milliseconds"),this.isValid?this.toDuration.apply(this,[t]).get(t):NaN},e.count=function(t){if(void 0===t&&(t="milliseconds"),!this.isValid)return NaN;var e=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(e,t).get(t))+1},e.hasSame=function(t){return!!this.isValid&&this.e.minus(1).hasSame(this.s,t)},e.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},e.isAfter=function(t){return!!this.isValid&&this.s>t},e.isBefore=function(t){return!!this.isValid&&this.e<=t},e.contains=function(t){return!!this.isValid&&this.s<=t&&this.e>t},e.set=function(e){var n=void 0===e?{}:e,r=n.start,i=n.end;return this.isValid?t.fromDateTimes(r||this.s,i||this.e):this},e.splitAt=function(){var e=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];for(var o=r.map(fr).filter((function(t){return e.contains(t)})).sort(),a=[],s=this.s,u=0;s<this.e;){var c=o[u]||this.e,l=+c>+this.e?this.e:c;a.push(t.fromDateTimes(s,l)),s=l,u+=1}return a},e.splitBy=function(e){var n=ln(e);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,i,o=this.s,a=[];o<this.e;)i=+(r=o.plus(n))>+this.e?this.e:r,a.push(t.fromDateTimes(o,i)),o=i;return a},e.divideEqually=function(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]},e.overlaps=function(t){return this.e>t.s&&this.s<t.e},e.abutsStart=function(t){return!!this.isValid&&+this.e==+t.s},e.abutsEnd=function(t){return!!this.isValid&&+t.e==+this.s},e.engulfs=function(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e},e.equals=function(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)},e.intersection=function(e){if(!this.isValid)return this;var n=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return n>r?null:t.fromDateTimes(n,r)},e.union=function(e){if(!this.isValid)return this;var n=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return t.fromDateTimes(n,r)},t.merge=function(t){var e=t.sort((function(t,e){return t.s-e.s})).reduce((function(t,e){var n=t[0],r=t[1];return r?r.overlaps(e)||r.abutsStart(e)?[n,r.union(e)]:[n.concat([r]),e]:[n,e]}),[[],null]),n=e[0],r=e[1];return r&&n.push(r),n},t.xor=function(e){for(var n,r,i=null,o=0,a=[],s=e.map((function(t){return[{time:t.s,type:"s"},{time:t.e,type:"e"}]})),u=d((n=Array.prototype).concat.apply(n,s).sort((function(t,e){return t.time-e.time})));!(r=u()).done;){var c=r.value;1===(o+="s"===c.type?1:-1)?i=c.time:(i&&+i!=+c.time&&a.push(t.fromDateTimes(i,c.time)),i=null)}return t.merge(a)},e.difference=function(){for(var e=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.xor([this].concat(r)).map((function(t){return e.intersection(t)})).filter((function(t){return t&&!t.isEmpty()}))},e.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":fn},e.toISO=function(t){return this.isValid?this.s.toISO(t)+"/"+this.e.toISO(t):fn},e.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():fn},e.toISOTime=function(t){return this.isValid?this.s.toISOTime(t)+"/"+this.e.toISOTime(t):fn},e.toFormat=function(t,e){var n=(void 0===e?{}:e).separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(t)+r+this.e.toFormat(t):fn},e.toDuration=function(t,e){return this.isValid?this.e.diff(this.s,t,e):cn.invalid(this.invalidReason)},e.mapEndpoints=function(e){return t.fromDateTimes(e(this.s),e(this.e))},i(t,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),t}(),hn=function(){function t(){}return t.hasDST=function(t){void 0===t&&(t=te.defaultZone);var e=lr.local().setZone(t).set({month:12});return!t.universal&&e.offset!==e.set({month:6}).offset},t.isValidIANAZone=function(t){return $t.isValidSpecifier(t)&&$t.isValidZone(t)},t.normalizeZone=function(t){return Bt(t,te.defaultZone)},t.months=function(t,e){void 0===t&&(t="long");var n=void 0===e?{}:e,r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o,s=n.outputCalendar,u=vo